@abyss-project/main 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -178,5 +178,19 @@ export declare const enTranslation: {
178
178
  content: string;
179
179
  };
180
180
  };
181
+ ABYSS_FORM: {
182
+ FORM_SUBMISSION_COMPLETED: {
183
+ title: string;
184
+ content: string;
185
+ };
186
+ FORM_WEBHOOK_UNDELIVERABLE: {
187
+ title: string;
188
+ content: string;
189
+ };
190
+ FORM_WEBHOOK_UNDELIVERABLE_DISABLE: {
191
+ title: string;
192
+ content: string;
193
+ };
194
+ };
181
195
  };
182
196
  };
@@ -182,5 +182,19 @@ exports.enTranslation = {
182
182
  content: 'A new post has been published in the project "{projectName}"',
183
183
  },
184
184
  },
185
+ [types_1.AbyssService.ABYSS_FORM]: {
186
+ [types_1.UserNotificationContentType.FORM_SUBMISSION_COMPLETED]: {
187
+ title: 'New Form Submission',
188
+ content: 'A new submission has been made for form "{formTitle}"',
189
+ },
190
+ [types_1.UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE]: {
191
+ title: 'Webhook Failure',
192
+ content: 'An error occurred on the webhook "{formWebhookName}" of the form "{formTitle}" ({totalFailureInRow} consecutive failures)',
193
+ },
194
+ [types_1.UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE]: {
195
+ title: 'Webhook Disabled',
196
+ content: `The webhook {formWebhookName} of the form "{formTitle}" has been disabled due to multiple errors`,
197
+ },
198
+ },
185
199
  },
186
200
  };
@@ -178,5 +178,19 @@ export declare const frTranslation: {
178
178
  content: string;
179
179
  };
180
180
  };
181
+ ABYSS_FORM: {
182
+ FORM_SUBMISSION_COMPLETED: {
183
+ title: string;
184
+ content: string;
185
+ };
186
+ FORM_WEBHOOK_UNDELIVERABLE: {
187
+ title: string;
188
+ content: string;
189
+ };
190
+ FORM_WEBHOOK_UNDELIVERABLE_DISABLE: {
191
+ title: string;
192
+ content: string;
193
+ };
194
+ };
181
195
  };
182
196
  };
@@ -182,5 +182,19 @@ exports.frTranslation = {
182
182
  content: 'Un nouveau post a été publié dans le projet "{projectName}"',
183
183
  },
184
184
  },
185
+ [types_1.AbyssService.ABYSS_FORM]: {
186
+ [types_1.UserNotificationContentType.FORM_SUBMISSION_COMPLETED]: {
187
+ title: 'Nouvelle soumission de formulaire',
188
+ content: 'Une nouvelle soumission a été faite pour le formulaire "{formTitle}"',
189
+ },
190
+ [types_1.UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE]: {
191
+ title: 'Echec de Webhook',
192
+ content: 'Une erreur est survenue sur le Webhook "{formWebhookName}" du formulaire "{formTitle}" ({totalFailureInRow} échec(s) consécutifs)',
193
+ },
194
+ [types_1.UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE]: {
195
+ title: 'Désactivation du Webhook',
196
+ content: `Le Webhook {formWebhookName} du formulaire "{formTitle}" a été désactivé pour cause d'erreurs multiples`,
197
+ },
198
+ },
185
199
  },
186
200
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",