@abyss-project/main 1.0.20 → 1.0.21
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.
- package/dist/translate/en.translate.d.ts +8 -0
- package/dist/translate/en.translate.js +8 -0
- package/dist/translate/fr.translate.d.ts +8 -0
- package/dist/translate/fr.translate.js +8 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +14 -0
- package/dist/types/enum/user-notification-content-type.enum.js +3 -1
- package/package.json +1 -1
|
@@ -191,6 +191,14 @@ export declare const enTranslation: {
|
|
|
191
191
|
title: string;
|
|
192
192
|
content: string;
|
|
193
193
|
};
|
|
194
|
+
FORM_DAILY_SUBMISSION_LIMIT_REACHED: {
|
|
195
|
+
title: string;
|
|
196
|
+
content: string;
|
|
197
|
+
};
|
|
198
|
+
FORM_SUBMISSION_LIMIT_REACHED: {
|
|
199
|
+
title: string;
|
|
200
|
+
content: string;
|
|
201
|
+
};
|
|
194
202
|
};
|
|
195
203
|
};
|
|
196
204
|
};
|
|
@@ -195,6 +195,14 @@ exports.enTranslation = {
|
|
|
195
195
|
title: 'Webhook Disabled',
|
|
196
196
|
content: `The webhook {formWebhookName} of the form "{formTitle}" has been disabled due to multiple errors`,
|
|
197
197
|
},
|
|
198
|
+
[types_1.UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED]: {
|
|
199
|
+
title: 'Daily Submission Limit Reached',
|
|
200
|
+
content: 'The daily submission limit ({limitReachedCount}) for form "{formTitle}" has been reached',
|
|
201
|
+
},
|
|
202
|
+
[types_1.UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED]: {
|
|
203
|
+
title: 'Submission Limit Reached',
|
|
204
|
+
content: 'The submission limit ({limitReachedCount}) for form "{formTitle}" has been reached',
|
|
205
|
+
},
|
|
198
206
|
},
|
|
199
207
|
},
|
|
200
208
|
};
|
|
@@ -191,6 +191,14 @@ export declare const frTranslation: {
|
|
|
191
191
|
title: string;
|
|
192
192
|
content: string;
|
|
193
193
|
};
|
|
194
|
+
FORM_DAILY_SUBMISSION_LIMIT_REACHED: {
|
|
195
|
+
title: string;
|
|
196
|
+
content: string;
|
|
197
|
+
};
|
|
198
|
+
FORM_SUBMISSION_LIMIT_REACHED: {
|
|
199
|
+
title: string;
|
|
200
|
+
content: string;
|
|
201
|
+
};
|
|
194
202
|
};
|
|
195
203
|
};
|
|
196
204
|
};
|
|
@@ -195,6 +195,14 @@ exports.frTranslation = {
|
|
|
195
195
|
title: 'Désactivation du Webhook',
|
|
196
196
|
content: `Le Webhook {formWebhookName} du formulaire "{formTitle}" a été désactivé pour cause d'erreurs multiples`,
|
|
197
197
|
},
|
|
198
|
+
[types_1.UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED]: {
|
|
199
|
+
title: 'Limite de soumission quotidienne atteinte',
|
|
200
|
+
content: 'La limite de soumission quotidienne ({limitReachedCount}) pour le formulaire "{formTitle}" a été atteinte',
|
|
201
|
+
},
|
|
202
|
+
[types_1.UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED]: {
|
|
203
|
+
title: 'Limite de soumission atteinte',
|
|
204
|
+
content: 'La limite de soumission ({limitReachedCount}) pour le formulaire "{formTitle}" a été atteinte',
|
|
205
|
+
},
|
|
198
206
|
},
|
|
199
207
|
},
|
|
200
208
|
};
|
|
@@ -41,6 +41,8 @@ export declare enum UserNotificationContentType {
|
|
|
41
41
|
BANK_CONNECTION_SUCCESS = "bank-connection-success",
|
|
42
42
|
SPOTLIGHT_PROJECT_NEW_POST = "spotlight-project-new-post",
|
|
43
43
|
FORM_SUBMISSION_COMPLETED = "FORM_SUBMISSION_COMPLETED",
|
|
44
|
+
FORM_DAILY_SUBMISSION_LIMIT_REACHED = "FORM_DAILY_SUBMISSION_LIMIT_REACHED",
|
|
45
|
+
FORM_SUBMISSION_LIMIT_REACHED = "FORM_SUBMISSION_LIMIT_REACHED",
|
|
44
46
|
FORM_WEBHOOK_UNDELIVERABLE = "FORM_WEBHOOK_UNDELIVERABLE",
|
|
45
47
|
FORM_WEBHOOK_UNDELIVERABLE_DISABLE = "FORM_WEBHOOK_UNDELIVERABLE_DISABLE"
|
|
46
48
|
}
|
|
@@ -311,4 +313,16 @@ export declare class UserNotificationContentTypeData implements Record<UserNotif
|
|
|
311
313
|
formWebhookId: string;
|
|
312
314
|
formWebhookName: string;
|
|
313
315
|
};
|
|
316
|
+
[UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED]: {
|
|
317
|
+
projectId: string | null;
|
|
318
|
+
formId: string;
|
|
319
|
+
formTitle: string;
|
|
320
|
+
limitReachedCount: string;
|
|
321
|
+
};
|
|
322
|
+
[UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED]: {
|
|
323
|
+
projectId: string | null;
|
|
324
|
+
formId: string;
|
|
325
|
+
formTitle: string;
|
|
326
|
+
limitReachedCount: string;
|
|
327
|
+
};
|
|
314
328
|
}
|
|
@@ -45,10 +45,12 @@ var UserNotificationContentType;
|
|
|
45
45
|
UserNotificationContentType["BANK_CONNECTION_SUCCESS"] = "bank-connection-success";
|
|
46
46
|
UserNotificationContentType["SPOTLIGHT_PROJECT_NEW_POST"] = "spotlight-project-new-post";
|
|
47
47
|
UserNotificationContentType["FORM_SUBMISSION_COMPLETED"] = "FORM_SUBMISSION_COMPLETED";
|
|
48
|
+
UserNotificationContentType["FORM_DAILY_SUBMISSION_LIMIT_REACHED"] = "FORM_DAILY_SUBMISSION_LIMIT_REACHED";
|
|
49
|
+
UserNotificationContentType["FORM_SUBMISSION_LIMIT_REACHED"] = "FORM_SUBMISSION_LIMIT_REACHED";
|
|
48
50
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE"] = "FORM_WEBHOOK_UNDELIVERABLE";
|
|
49
51
|
UserNotificationContentType["FORM_WEBHOOK_UNDELIVERABLE_DISABLE"] = "FORM_WEBHOOK_UNDELIVERABLE_DISABLE";
|
|
50
52
|
})(UserNotificationContentType || (exports.UserNotificationContentType = UserNotificationContentType = {}));
|
|
51
53
|
class UserNotificationContentTypeData {
|
|
52
54
|
}
|
|
53
55
|
exports.UserNotificationContentTypeData = UserNotificationContentTypeData;
|
|
54
|
-
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE;
|
|
56
|
+
UserNotificationContentType.USER_CREDIT_PURCHASE, UserNotificationContentType.USER_TICKET_RESPONSE, UserNotificationContentType.INVITE_USER_PROJECT, UserNotificationContentType.PROJECT_SET_OWNERSHIP, UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION, UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW, UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS, UserNotificationContentType.USER_SUBSCRIPTION_CREATE, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE, UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW, UserNotificationContentType.CREATE_CLOUD_SHARE, UserNotificationContentType.DELETE_CLOUD_SHARE, UserNotificationContentType.CREATE_CLOUD, UserNotificationContentType.DELETE_CLOUD, UserNotificationContentType.ADMIN_CREATE_CLOUD, UserNotificationContentType.ADMIN_DELETE_CLOUD, UserNotificationContentType.JOIN_CLOUD_SHARE, UserNotificationContentType.DECLINE_CLOUD_SHARE, UserNotificationContentType.LEAVE_CLOUD_SHARE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE, UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.CRON_TASK_FAILED, UserNotificationContentType.CRON_TASK_DISABLED, UserNotificationContentType.INVITE_EVENT, UserNotificationContentType.CHANGE_OWNER_EVENT, UserNotificationContentType.CREATE_POLL_EVENT, UserNotificationContentType.BANK_CONNECTION_SUCCESS, UserNotificationContentType.BANK_CONNECTION_EXPIRE, UserNotificationContentType.SPOTLIGHT_PROJECT_NEW_POST, UserNotificationContentType.FORM_SUBMISSION_COMPLETED, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE, UserNotificationContentType.FORM_WEBHOOK_UNDELIVERABLE_DISABLE, UserNotificationContentType.FORM_DAILY_SUBMISSION_LIMIT_REACHED, UserNotificationContentType.FORM_SUBMISSION_LIMIT_REACHED;
|