diff --git a/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json
new file mode 100644
index 0000000..1e853a7
--- /dev/null
+++ b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json
@@ -0,0 +1,4 @@
+{
+ "title": "Bank Guarantee {{#eq event.status 'BANK_REVIEW' }}status change{{/eq}}{{#eq event.status 'BANK_APPROVED' }}approved{{/eq}}{{#eq event.status 'BANK_REJECTED' }}rejected{{/eq}}{{#eq event.status 'INTERNAL_REJECTED' }}rejected{{/eq}}{{#eq event.status 'ISSUED' }}issued{{/eq}}{{#eq event.status 'EXPIRED' }}expired{{/eq}}{{#eq event.status 'CANCELLED' }}cancelled{{/eq}}",
+ "body": "Hi {{{user.preferredName}}}, {{#eq event.status 'BANK_REVIEW'}}status for your Bank Guarantee {{event.bgReference}} has changed to bank review.{{/eq}}{{#eq event.status 'BANK_APPROVED'}}your Bank Guarantee {{event.bgReference}} is approved.{{/eq}}{{#eq event.status 'BANK_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected.{{/eq}}{{#eq event.status 'INTERNAL_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected during internal review.{{/eq}}{{#eq event.status 'ISSUED'}}your Bank Guarantee {{event.bgReference}} is issued.{{/eq}}{{#eq event.status 'EXPIRED'}}your Bank Guarantee {{event.bgReference}} has expired.{{/eq}}{{#eq event.status 'CANCELLED'}}your Bank Guarantee {{event.bgReference}} is cancelled.{{/eq}}"
+}
diff --git a/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json
new file mode 100644
index 0000000..ff75e9e
--- /dev/null
+++ b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json
@@ -0,0 +1,5 @@
+{
+ "level": "INFO",
+ "targetGroup": "USER",
+ "origin": "TradeFinance"
+}
diff --git a/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json
new file mode 100644
index 0000000..944a205
--- /dev/null
+++ b/collections/business/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json
@@ -0,0 +1,35 @@
+{
+ "eventClassName": "com.backbase.lending.tradefinance.bankguarantee.event.spec.v1.BankGuaranteeStatusUpdatedEvent",
+ "id": "bank-guarantee-status-updated",
+ "eventBusinessName": "Bank Guarantee Status Updated",
+ "recipientType": "internal",
+ "extractor": "#this['contributorsIds']",
+ "serviceAgreementExtractor": "#this['serviceAgreementId']",
+ "generalNotifications": [
+ {
+ "id": "bank-guarantee-status-updated",
+ "name": "Bank Guarantee Status Updated",
+ "userPreferenceEnabled": true,
+ "manageable": false,
+ "additionalFilterLogic": "{'BANK_REVIEW', 'BANK_APPROVED', 'BANK_REJECTED', 'INTERNAL_REJECTED', 'ISSUED', 'EXPIRED', 'CANCELLED'}.contains(#triggeredEvent['status'])",
+ "deliveryOptions": [
+ {
+ "channel": "in-app-notification",
+ "channelSettings": "/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json",
+ "isEnabledByDefault": true,
+ "isManageableByUser": false,
+ "routeInfo": {
+ "whereTo": "bank-guarantee-view",
+ "data": "{\"id\":\"{{event.bgId}}\"}"
+ },
+ "engagementTemplates": [
+ {
+ "path": "/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json",
+ "locale": "en_US"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json b/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json
new file mode 100644
index 0000000..fdda99b
--- /dev/null
+++ b/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json
@@ -0,0 +1,4 @@
+{
+ "title": "Bank Guarantee to approve",
+ "body": "Hi {{{user.preferredName}}}, you have a new Bank Guarantee of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
+}
diff --git a/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json b/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json
new file mode 100644
index 0000000..ff75e9e
--- /dev/null
+++ b/collections/business/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json
@@ -0,0 +1,5 @@
+{
+ "level": "INFO",
+ "targetGroup": "USER",
+ "origin": "TradeFinance"
+}
diff --git a/collections/business/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json b/collections/business/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
index bc17dd9..13005aa 100644
--- a/collections/business/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
+++ b/collections/business/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
@@ -195,6 +195,31 @@
]
}
]
+ },
+ {
+ "id": "bank-guarantee-to-approve",
+ "name": "Bank Guarantee To Approve",
+ "userPreferenceEnabled": true,
+ "manageable": false,
+ "additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Bank Guarantee' && #triggeredEvent['approval']['function'] == 'Bank Guarantee - Application'",
+ "deliveryOptions": [
+ {
+ "channel": "in-app-notification",
+ "channelSettings": "/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json",
+ "isEnabledByDefault": true,
+ "isManageableByUser": false,
+ "routeInfo": {
+ "whereTo": "bank-guarantee-approve-view",
+ "data": "{\"id\":\"{{event.approval.itemId}}\"}"
+ },
+ "engagementTemplates": [
+ {
+ "path": "/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json",
+ "locale": "en_US"
+ }
+ ]
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json
new file mode 100644
index 0000000..1e853a7
--- /dev/null
+++ b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json
@@ -0,0 +1,4 @@
+{
+ "title": "Bank Guarantee {{#eq event.status 'BANK_REVIEW' }}status change{{/eq}}{{#eq event.status 'BANK_APPROVED' }}approved{{/eq}}{{#eq event.status 'BANK_REJECTED' }}rejected{{/eq}}{{#eq event.status 'INTERNAL_REJECTED' }}rejected{{/eq}}{{#eq event.status 'ISSUED' }}issued{{/eq}}{{#eq event.status 'EXPIRED' }}expired{{/eq}}{{#eq event.status 'CANCELLED' }}cancelled{{/eq}}",
+ "body": "Hi {{{user.preferredName}}}, {{#eq event.status 'BANK_REVIEW'}}status for your Bank Guarantee {{event.bgReference}} has changed to bank review.{{/eq}}{{#eq event.status 'BANK_APPROVED'}}your Bank Guarantee {{event.bgReference}} is approved.{{/eq}}{{#eq event.status 'BANK_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected.{{/eq}}{{#eq event.status 'INTERNAL_REJECTED'}}your Bank Guarantee {{event.bgReference}} is rejected during internal review.{{/eq}}{{#eq event.status 'ISSUED'}}your Bank Guarantee {{event.bgReference}} is issued.{{/eq}}{{#eq event.status 'EXPIRED'}}your Bank Guarantee {{event.bgReference}} has expired.{{/eq}}{{#eq event.status 'CANCELLED'}}your Bank Guarantee {{event.bgReference}} is cancelled.{{/eq}}"
+}
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json
new file mode 100644
index 0000000..ff75e9e
--- /dev/null
+++ b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json
@@ -0,0 +1,5 @@
+{
+ "level": "INFO",
+ "targetGroup": "USER",
+ "origin": "TradeFinance"
+}
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json
new file mode 100644
index 0000000..944a205
--- /dev/null
+++ b/collections/oneruntime/general-notifications/event-general-notifications/bank-guarantee-status-updated/event-general-notifications.json
@@ -0,0 +1,35 @@
+{
+ "eventClassName": "com.backbase.lending.tradefinance.bankguarantee.event.spec.v1.BankGuaranteeStatusUpdatedEvent",
+ "id": "bank-guarantee-status-updated",
+ "eventBusinessName": "Bank Guarantee Status Updated",
+ "recipientType": "internal",
+ "extractor": "#this['contributorsIds']",
+ "serviceAgreementExtractor": "#this['serviceAgreementId']",
+ "generalNotifications": [
+ {
+ "id": "bank-guarantee-status-updated",
+ "name": "Bank Guarantee Status Updated",
+ "userPreferenceEnabled": true,
+ "manageable": false,
+ "additionalFilterLogic": "{'BANK_REVIEW', 'BANK_APPROVED', 'BANK_REJECTED', 'INTERNAL_REJECTED', 'ISSUED', 'EXPIRED', 'CANCELLED'}.contains(#triggeredEvent['status'])",
+ "deliveryOptions": [
+ {
+ "channel": "in-app-notification",
+ "channelSettings": "/bank-guarantee-status-updated/in-app-notification/in-app_channel-settings.json",
+ "isEnabledByDefault": true,
+ "isManageableByUser": false,
+ "routeInfo": {
+ "whereTo": "bank-guarantee-view",
+ "data": "{\"id\":\"{{event.bgId}}\"}"
+ },
+ "engagementTemplates": [
+ {
+ "path": "/bank-guarantee-status-updated/in-app-notification/en_US/engagement-template.json",
+ "locale": "en_US"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json
new file mode 100644
index 0000000..fdda99b
--- /dev/null
+++ b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json
@@ -0,0 +1,4 @@
+{
+ "title": "Bank Guarantee to approve",
+ "body": "Hi {{{user.preferredName}}}, you have a new Bank Guarantee of {{event.approval.amountDetails.currencyCode}} {{formatAmount event.approval.amountDetails.amount locale}} to approve."
+}
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json
new file mode 100644
index 0000000..ff75e9e
--- /dev/null
+++ b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json
@@ -0,0 +1,5 @@
+{
+ "level": "INFO",
+ "targetGroup": "USER",
+ "origin": "TradeFinance"
+}
diff --git a/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
index bc17dd9..13005aa 100644
--- a/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
+++ b/collections/oneruntime/general-notifications/event-general-notifications/pending-approval/event-general-notifications.json
@@ -195,6 +195,31 @@
]
}
]
+ },
+ {
+ "id": "bank-guarantee-to-approve",
+ "name": "Bank Guarantee To Approve",
+ "userPreferenceEnabled": true,
+ "manageable": false,
+ "additionalFilterLogic": "#triggeredEvent['approval']['resource'] == 'Bank Guarantee' && #triggeredEvent['approval']['function'] == 'Bank Guarantee - Application'",
+ "deliveryOptions": [
+ {
+ "channel": "in-app-notification",
+ "channelSettings": "/bank-guarantee-to-approve/in-app-notification/in-app_channel-settings.json",
+ "isEnabledByDefault": true,
+ "isManageableByUser": false,
+ "routeInfo": {
+ "whereTo": "bank-guarantee-approve-view",
+ "data": "{\"id\":\"{{event.approval.itemId}}\"}"
+ },
+ "engagementTemplates": [
+ {
+ "path": "/bank-guarantee-to-approve/in-app-notification/en_US/engagement-template.json",
+ "locale": "en_US"
+ }
+ ]
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 30c8cc1..4e41f77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
Backbase :: Engagement Data
- 2026.01
+ 2026.03-LTS
ecr.backbase.com/development
1.17.0
0.40.2