@abyss-project/main 1.0.0
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/README.md +2 -0
- package/dist/api/application.admin.api.d.ts +8 -0
- package/dist/api/application.admin.api.js +35 -0
- package/dist/api/application.api.d.ts +7 -0
- package/dist/api/application.api.js +31 -0
- package/dist/api/auth.api.d.ts +10 -0
- package/dist/api/auth.api.js +57 -0
- package/dist/api/billing.api.d.ts +4 -0
- package/dist/api/billing.api.js +16 -0
- package/dist/api/gift-code.admin.api.d.ts +8 -0
- package/dist/api/gift-code.admin.api.js +34 -0
- package/dist/api/gift-code.api.d.ts +4 -0
- package/dist/api/gift-code.api.js +20 -0
- package/dist/api/index.d.ts +23 -0
- package/dist/api/index.js +39 -0
- package/dist/api/metrics.admin.api.d.ts +4 -0
- package/dist/api/metrics.admin.api.js +16 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/newsletter.admin.api.d.ts +6 -0
- package/dist/api/newsletter.admin.api.js +25 -0
- package/dist/api/project-access.admin.api.d.ts +12 -0
- package/dist/api/project-access.admin.api.js +48 -0
- package/dist/api/project-access.api.d.ts +14 -0
- package/dist/api/project-access.api.js +59 -0
- package/dist/api/project.admin.api.d.ts +6 -0
- package/dist/api/project.admin.api.js +28 -0
- package/dist/api/project.api.d.ts +14 -0
- package/dist/api/project.api.js +60 -0
- package/dist/api/user-credit-purchase.admin.api.d.ts +7 -0
- package/dist/api/user-credit-purchase.admin.api.js +28 -0
- package/dist/api/user-credit-purchase.api.d.ts +3 -0
- package/dist/api/user-credit-purchase.api.js +14 -0
- package/dist/api/user-notification.admin.api.d.ts +5 -0
- package/dist/api/user-notification.admin.api.js +20 -0
- package/dist/api/user-notification.api.d.ts +4 -0
- package/dist/api/user-notification.api.js +18 -0
- package/dist/api/user-ticket.admin.api.d.ts +11 -0
- package/dist/api/user-ticket.admin.api.js +49 -0
- package/dist/api/user-ticket.api.d.ts +10 -0
- package/dist/api/user-ticket.api.js +45 -0
- package/dist/api/user-transaction.admin.api.d.ts +5 -0
- package/dist/api/user-transaction.admin.api.js +20 -0
- package/dist/api/user-transaction.api.d.ts +3 -0
- package/dist/api/user-transaction.api.js +14 -0
- package/dist/api/user.admin.api.d.ts +10 -0
- package/dist/api/user.admin.api.js +41 -0
- package/dist/api/user.api.d.ts +19 -0
- package/dist/api/user.api.js +84 -0
- package/dist/front/index.d.ts +1 -0
- package/dist/front/index.js +17 -0
- package/dist/front/redirection.d.ts +2 -0
- package/dist/front/redirection.js +5 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +89 -0
- package/dist/translate/en.translate.d.ts +176 -0
- package/dist/translate/en.translate.js +180 -0
- package/dist/translate/fr.translate.d.ts +176 -0
- package/dist/translate/fr.translate.js +180 -0
- package/dist/translate/index.d.ts +2 -0
- package/dist/translate/index.js +18 -0
- package/dist/types/enum/abyss-service.enum.d.ts +10 -0
- package/dist/types/enum/abyss-service.enum.js +14 -0
- package/dist/types/enum/api-error.enum.d.ts +38 -0
- package/dist/types/enum/api-error.enum.js +43 -0
- package/dist/types/enum/billing-product.enum.d.ts +8 -0
- package/dist/types/enum/billing-product.enum.js +12 -0
- package/dist/types/enum/gift-code-type.enum.d.ts +3 -0
- package/dist/types/enum/gift-code-type.enum.js +7 -0
- package/dist/types/enum/index.d.ts +18 -0
- package/dist/types/enum/index.js +34 -0
- package/dist/types/enum/newsletter-type.enum.d.ts +3 -0
- package/dist/types/enum/newsletter-type.enum.js +7 -0
- package/dist/types/enum/oauth-account-type.enum.d.ts +3 -0
- package/dist/types/enum/oauth-account-type.enum.js +7 -0
- package/dist/types/enum/project-access-permission.enum.d.ts +13 -0
- package/dist/types/enum/project-access-permission.enum.js +17 -0
- package/dist/types/enum/project-application-access-permission.enum.d.ts +38 -0
- package/dist/types/enum/project-application-access-permission.enum.js +42 -0
- package/dist/types/enum/subscription-level.enum.d.ts +54 -0
- package/dist/types/enum/subscription-level.enum.js +125 -0
- package/dist/types/enum/token-type.enum.d.ts +5 -0
- package/dist/types/enum/token-type.enum.js +9 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.d.ts +5 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.js +9 -0
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +3 -0
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +7 -0
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +8 -0
- package/dist/types/enum/user-credit-purchase-platform.enum.js +12 -0
- package/dist/types/enum/user-language.enum.d.ts +4 -0
- package/dist/types/enum/user-language.enum.js +8 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +279 -0
- package/dist/types/enum/user-notification-content-type.enum.js +50 -0
- package/dist/types/enum/user-notification-type.enum.d.ts +6 -0
- package/dist/types/enum/user-notification-type.enum.js +10 -0
- package/dist/types/enum/user-ticket-category.enum.d.ts +9 -0
- package/dist/types/enum/user-ticket-category.enum.js +13 -0
- package/dist/types/enum/user-transaction-type.enum.d.ts +14 -0
- package/dist/types/enum/user-transaction-type.enum.js +18 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.js +21 -0
- package/dist/types/interface/api/index.d.ts +48 -0
- package/dist/types/interface/api/index.js +64 -0
- package/dist/types/interface/api/requests/application.admin.request.d.ts +36 -0
- package/dist/types/interface/api/requests/application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application.request.d.ts +35 -0
- package/dist/types/interface/api/requests/application.request.js +2 -0
- package/dist/types/interface/api/requests/auth.request.d.ts +40 -0
- package/dist/types/interface/api/requests/auth.request.js +2 -0
- package/dist/types/interface/api/requests/billing.request.d.ts +9 -0
- package/dist/types/interface/api/requests/billing.request.js +2 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.d.ts +53 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.js +2 -0
- package/dist/types/interface/api/requests/gift-code.request.d.ts +12 -0
- package/dist/types/interface/api/requests/gift-code.request.js +2 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.d.ts +21 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +72 -0
- package/dist/types/interface/api/requests/project-access.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project-access.request.d.ts +78 -0
- package/dist/types/interface/api/requests/project-access.request.js +2 -0
- package/dist/types/interface/api/requests/project.admin.request.d.ts +26 -0
- package/dist/types/interface/api/requests/project.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project.request.d.ts +57 -0
- package/dist/types/interface/api/requests/project.request.js +2 -0
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +43 -0
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +10 -0
- package/dist/types/interface/api/requests/user-credit-purchase.request.js +2 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +27 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-notification.request.d.ts +14 -0
- package/dist/types/interface/api/requests/user-notification.request.js +2 -0
- package/dist/types/interface/api/requests/user-ticket.admin.request.d.ts +61 -0
- package/dist/types/interface/api/requests/user-ticket.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-ticket.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user-ticket.request.js +2 -0
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +31 -0
- package/dist/types/interface/api/requests/user-transaction.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +8 -0
- package/dist/types/interface/api/requests/user-transaction.request.js +2 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +85 -0
- package/dist/types/interface/api/requests/user.request.js +2 -0
- package/dist/types/interface/api/responses/application.admin.response.d.ts +28 -0
- package/dist/types/interface/api/responses/application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application.response.d.ts +25 -0
- package/dist/types/interface/api/responses/application.response.js +2 -0
- package/dist/types/interface/api/responses/auth.response.d.ts +42 -0
- package/dist/types/interface/api/responses/auth.response.js +2 -0
- package/dist/types/interface/api/responses/billing.response.d.ts +18 -0
- package/dist/types/interface/api/responses/billing.response.js +2 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +25 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.js +2 -0
- package/dist/types/interface/api/responses/gift-code.response.d.ts +12 -0
- package/dist/types/interface/api/responses/gift-code.response.js +2 -0
- package/dist/types/interface/api/responses/metrics.admin.response.d.ts +40 -0
- package/dist/types/interface/api/responses/metrics.admin.response.js +2 -0
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -0
- package/dist/types/interface/api/responses/monitor.response.js +2 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.d.ts +17 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +46 -0
- package/dist/types/interface/api/responses/project-access.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project-access.response.d.ts +49 -0
- package/dist/types/interface/api/responses/project-access.response.js +2 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +49 -0
- package/dist/types/interface/api/responses/project.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project.response.d.ts +94 -0
- package/dist/types/interface/api/responses/project.response.js +2 -0
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +22 -0
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +8 -0
- package/dist/types/interface/api/responses/user-credit-purchase.response.js +2 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-notification.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user-notification.response.js +2 -0
- package/dist/types/interface/api/responses/user-ticket.admin.response.d.ts +38 -0
- package/dist/types/interface/api/responses/user-ticket.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-ticket.response.d.ts +34 -0
- package/dist/types/interface/api/responses/user-ticket.response.js +2 -0
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user-transaction.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +11 -0
- package/dist/types/interface/api/responses/user-transaction.response.js +2 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +33 -0
- package/dist/types/interface/api/responses/user.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user.response.d.ts +90 -0
- package/dist/types/interface/api/responses/user.response.js +2 -0
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -0
- package/dist/types/interface/api/type-message/api-error.js +2 -0
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -0
- package/dist/types/interface/api/type-message/base-order.js +2 -0
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
- package/dist/types/interface/api/type-message/base-paginate.js +2 -0
- package/dist/types/interface/api/type-message/response.d.ts +5 -0
- package/dist/types/interface/api/type-message/response.js +2 -0
- package/dist/types/interface/index.d.ts +21 -0
- package/dist/types/interface/index.js +37 -0
- package/dist/types/interface/models/application.model.d.ts +14 -0
- package/dist/types/interface/models/application.model.js +2 -0
- package/dist/types/interface/models/gift-code-activation.model.d.ts +13 -0
- package/dist/types/interface/models/gift-code-activation.model.js +2 -0
- package/dist/types/interface/models/gift-code.model.d.ts +18 -0
- package/dist/types/interface/models/gift-code.model.js +2 -0
- package/dist/types/interface/models/newsletter-history.model.d.ts +8 -0
- package/dist/types/interface/models/newsletter-history.model.js +2 -0
- package/dist/types/interface/models/newsletter-member.model.d.ts +7 -0
- package/dist/types/interface/models/newsletter-member.model.js +2 -0
- package/dist/types/interface/models/oauth-account.model.d.ts +17 -0
- package/dist/types/interface/models/oauth-account.model.js +2 -0
- package/dist/types/interface/models/project-access.model.d.ts +19 -0
- package/dist/types/interface/models/project-access.model.js +2 -0
- package/dist/types/interface/models/project-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/project-application-access.model.js +2 -0
- package/dist/types/interface/models/project-authentication-session.model.d.ts +10 -0
- package/dist/types/interface/models/project-authentication-session.model.js +2 -0
- package/dist/types/interface/models/project-authentication.model.d.ts +10 -0
- package/dist/types/interface/models/project-authentication.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +20 -0
- package/dist/types/interface/models/project.model.js +2 -0
- package/dist/types/interface/models/subscription.model.d.ts +16 -0
- package/dist/types/interface/models/subscription.model.js +2 -0
- package/dist/types/interface/models/token-history.model.d.ts +44 -0
- package/dist/types/interface/models/token-history.model.js +2 -0
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +22 -0
- package/dist/types/interface/models/user-credit-purchase.model.js +2 -0
- package/dist/types/interface/models/user-notification.model.d.ts +14 -0
- package/dist/types/interface/models/user-notification.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message-attachment.model.d.ts +14 -0
- package/dist/types/interface/models/user-ticket-message-attachment.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message.model.d.ts +14 -0
- package/dist/types/interface/models/user-ticket-message.model.js +2 -0
- package/dist/types/interface/models/user-ticket.model.d.ts +15 -0
- package/dist/types/interface/models/user-ticket.model.js +2 -0
- package/dist/types/interface/models/user-transaction.model.d.ts +19 -0
- package/dist/types/interface/models/user-transaction.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +34 -0
- package/dist/types/interface/models/user.model.js +2 -0
- package/dist/types/models/index.d.ts +1 -0
- package/dist/types/models/index.js +17 -0
- package/dist/types/models/transfer.model.d.ts +36 -0
- package/dist/types/models/transfer.model.js +73 -0
- package/dist/types/session.d.ts +26 -0
- package/dist/types/session.js +2 -0
- package/dist/types/utils/billing.util.d.ts +2 -0
- package/dist/types/utils/billing.util.js +33 -0
- package/dist/types/utils/convert-query.util.d.ts +2 -0
- package/dist/types/utils/convert-query.util.js +2 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/dist/types/utils/index.js +21 -0
- package/dist/types/utils/notifications.type-util.d.ts +8 -0
- package/dist/types/utils/notifications.type-util.js +2 -0
- package/dist/types/utils/overwrite.util.d.ts +9 -0
- package/dist/types/utils/overwrite.util.js +2 -0
- package/dist/types/utils/require-one.util.d.ts +6 -0
- package/dist/types/utils/require-one.util.js +2 -0
- package/dist/utils/array.utils.d.ts +1 -0
- package/dist/utils/array.utils.js +7 -0
- package/dist/utils/byte.utils.d.ts +2 -0
- package/dist/utils/byte.utils.js +71 -0
- package/dist/utils/duration.utils.d.ts +1 -0
- package/dist/utils/duration.utils.js +10 -0
- package/dist/utils/enum-to-array.utils.d.ts +2 -0
- package/dist/utils/enum-to-array.utils.js +14 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/import.utils.d.ts +1 -0
- package/dist/utils/import.utils.js +7 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/is-valid-object.utils.d.ts +1 -0
- package/dist/utils/is-valid-object.utils.js +12 -0
- package/dist/utils/notification.utils.d.ts +3 -0
- package/dist/utils/notification.utils.js +11 -0
- package/dist/utils/sleep.utils.d.ts +1 -0
- package/dist/utils/sleep.utils.js +9 -0
- package/dist/utils/subscription.utils.d.ts +6 -0
- package/dist/utils/subscription.utils.js +41 -0
- package/package.json +57 -0
- package/tsconfig.json +105 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.frTranslation = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
exports.frTranslation = {
|
|
6
|
+
notifications: {
|
|
7
|
+
[types_1.AbyssService.ABYSS]: {
|
|
8
|
+
[types_1.UserNotificationContentType.USER_CREDIT_PURCHASE]: {
|
|
9
|
+
title: 'Achat de crédit',
|
|
10
|
+
content: 'Votre compte a été crédité de {amount} crédits',
|
|
11
|
+
},
|
|
12
|
+
[types_1.UserNotificationContentType.USER_TICKET_RESPONSE]: {
|
|
13
|
+
title: 'Nouvelle réponse de ticket',
|
|
14
|
+
content: 'Vous avez reçu une réponse à votre ticket "{ticketTitle}"',
|
|
15
|
+
},
|
|
16
|
+
[types_1.UserNotificationContentType.INVITE_USER_PROJECT]: {
|
|
17
|
+
title: 'Nouvelle invitation de projet',
|
|
18
|
+
content: '{alias} vous a invité à rejoindre le projet "{projectName}"',
|
|
19
|
+
},
|
|
20
|
+
[types_1.UserNotificationContentType.PROJECT_SET_OWNERSHIP]: {
|
|
21
|
+
title: 'Transfert de projet',
|
|
22
|
+
content: '{alias} vous a nommé propriétaire du projet {projectName}',
|
|
23
|
+
},
|
|
24
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
|
|
25
|
+
title: "Le renouvellement automatique d'abonnement Abyss a échoué",
|
|
26
|
+
content: 'Votre abonnement {level} va expiré le {endDate} ({missingCredit} crédits manquants).',
|
|
27
|
+
},
|
|
28
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
|
|
29
|
+
title: "Désactivation du renouvellement automatique d'abonnement Abyss",
|
|
30
|
+
content: 'Le renouvellement automatique de votre abonnement {level} a été désactivé et expirera le {endDate}.',
|
|
31
|
+
},
|
|
32
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
|
|
33
|
+
title: "Activation du renouvellement automatique d'abonnement Abyss",
|
|
34
|
+
content: 'Le renouvellement automatique de votre abonnement {level} a été activé. Il sera automatiquement renouvellé avant le {endDate}.',
|
|
35
|
+
},
|
|
36
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION]: {
|
|
37
|
+
title: 'Votre abonnement {level} expire le {endDate}',
|
|
38
|
+
content: 'Il sera automatiquement renouvellé le {renewDate} et vous serez débité de {creditPrice} crédits',
|
|
39
|
+
},
|
|
40
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
|
|
41
|
+
title: 'Votre abonnement {level} expire le {endDate}',
|
|
42
|
+
content: "Vous n'avez pas configuré le renouvellement automatique. Vous pouvez dès maintenant renouveller l'abonnement manuellement.",
|
|
43
|
+
},
|
|
44
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_RENEW_SUCCESS]: {
|
|
45
|
+
title: 'Renouvellement de votre abonnement {level}',
|
|
46
|
+
content: 'Votre abonnement {level} a bien été renouvellé le {renewDate} et expirera le {newEndDate}. Vous avez été débité de {renewCreditPrice} crédits.',
|
|
47
|
+
},
|
|
48
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
|
|
49
|
+
title: 'Renouvellement automatique de votre abonnement {level}',
|
|
50
|
+
content: 'Votre abonnement {level} a bien été automatiquement renouvellé le {renewDate} et expirera le {newEndDate}. Vous avez été automatiquement débité de {renewCreditPrice} crédits.',
|
|
51
|
+
},
|
|
52
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_CREATE]: {
|
|
53
|
+
title: 'Nouvel abonnement {level}',
|
|
54
|
+
content: 'Un nouvel abonnement {level} a été ajouté à votre compte. Vous avez été débité de {creditPrice} crédits. Il sera automatiquement renouvellé.',
|
|
55
|
+
},
|
|
56
|
+
[types_1.UserNotificationContentType.USER_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
|
|
57
|
+
title: 'Nouvel abonnement {level}',
|
|
58
|
+
content: 'Un nouvel abonnement {level} a été ajouté à votre compte. Vous avez été débité de {creditPrice} crédits. Il ne sera pas automatiquement renouvellé.',
|
|
59
|
+
},
|
|
60
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_NO_FUNDS_AUTO_RENEW_DISABLED]: {
|
|
61
|
+
title: "Le renouvellement automatique d'abonnement de projet a échoué",
|
|
62
|
+
content: "L'abonnement {level} du projet {projectName} va expiré le {endDate} ({missingCredit} crédits manquants).",
|
|
63
|
+
},
|
|
64
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_DISABLED]: {
|
|
65
|
+
title: "Désactivation du renouvellement automatique d'abonnement de projet",
|
|
66
|
+
content: "Le renouvellement automatique de l'abonnement {level} du projet {projectName} a été désactivé et expirera le {endDate}",
|
|
67
|
+
},
|
|
68
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_ENABLED]: {
|
|
69
|
+
title: "Activation du renouvellement automatique d'abonnement de projet",
|
|
70
|
+
content: "Le renouvellement automatique de l'abonnement {level} du projet {projectName} a été activé. Il sera automatiquement renouvellé avant le {endDate}",
|
|
71
|
+
},
|
|
72
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION]: {
|
|
73
|
+
title: "L'abonnement {level} du projet {projectName} expire le {endDate}",
|
|
74
|
+
content: 'Il sera automatiquement renouvellé le {renewDate} et le propriétaire sera débité de {creditPrice} crédits',
|
|
75
|
+
},
|
|
76
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_EXPIRATION_WITHOUT_AUTO_RENEW]: {
|
|
77
|
+
title: "L'abonnement {level} du projet {projectName} expire le {endDate}",
|
|
78
|
+
content: "Vous n'avez pas configuré le renouvellement automatique. Vous pouvez dès maintenant renouveller l'abonnement manuellement.",
|
|
79
|
+
},
|
|
80
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_RENEW_SUCCESS]: {
|
|
81
|
+
title: "Renouvellement de l'abonnement {level} du projet {projectName}",
|
|
82
|
+
content: "L'abonnement {level} du projet {projectName} a bien été renouvellé le {renewDate} et expirera le {newEndDate}. L'utilisateur {usernameRenew} été débité de {renewCreditPrice} crédits.",
|
|
83
|
+
},
|
|
84
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_AUTO_RENEW_SUCCESS]: {
|
|
85
|
+
title: "Renouvellement automatique de l'abonnement {level} du projet {projectName}",
|
|
86
|
+
content: "L'abonnement {level} du projet {projectName} a bien été renouvellé automatiquement le {renewDate} et expirera le {newEndDate}. Le propriétaire été automatiquement débité de {renewCreditPrice} crédits.",
|
|
87
|
+
},
|
|
88
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE]: {
|
|
89
|
+
title: 'Nouvel abonnement {level} pour le projet {projectName}',
|
|
90
|
+
content: "Un nouvel abonnement {level} a été ajouté au projet {projectName}. L'utilisateur {usernameRenew} a été débité de {creditPrice} crédits. Il sera automatiquement renouvellé.",
|
|
91
|
+
},
|
|
92
|
+
[types_1.UserNotificationContentType.PROJECT_SUBSCRIPTION_CREATE_WITHOUT_AUTO_RENEW]: {
|
|
93
|
+
title: 'Nouvel abonnement {level} pour le projet {projectName}',
|
|
94
|
+
content: "Un nouvel abonnement {level} a été ajouté au projet {projectName}. L'utilisateur {usernameRenew} a été débite de {creditPrice} crédits. Il ne sera pas automatiquement renouvellé.",
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
[types_1.AbyssService.ABYSS_CLOUD]: {
|
|
98
|
+
[types_1.UserNotificationContentType.CREATE_CLOUD_SHARE]: {
|
|
99
|
+
title: 'Nouvel accès cloud',
|
|
100
|
+
content: '{alias} vous a partagé son Cloud "{cloudName}"',
|
|
101
|
+
},
|
|
102
|
+
[types_1.UserNotificationContentType.DELETE_CLOUD_SHARE]: {
|
|
103
|
+
title: 'Accès cloud supprimé',
|
|
104
|
+
content: '{alias} a supprimé le partage vers son Cloud "{cloudName}"',
|
|
105
|
+
},
|
|
106
|
+
[types_1.UserNotificationContentType.CREATE_CLOUD]: {
|
|
107
|
+
title: 'Nouveau cloud',
|
|
108
|
+
content: 'Vous avez créé un nouveau Cloud "{cloudName}"',
|
|
109
|
+
},
|
|
110
|
+
[types_1.UserNotificationContentType.DELETE_CLOUD]: {
|
|
111
|
+
title: 'Cloud supprimé',
|
|
112
|
+
content: 'Vous avez supprimé votre Cloud "{cloudName}"',
|
|
113
|
+
},
|
|
114
|
+
[types_1.UserNotificationContentType.ADMIN_CREATE_CLOUD]: {
|
|
115
|
+
title: 'Nouveau cloud',
|
|
116
|
+
content: 'Un administrateur a créé un nouveau Cloud "{cloudName}"',
|
|
117
|
+
},
|
|
118
|
+
[types_1.UserNotificationContentType.ADMIN_DELETE_CLOUD]: {
|
|
119
|
+
title: 'Cloud supprimé',
|
|
120
|
+
content: 'Un administrateur a supprimé le Cloud "{cloudName}"',
|
|
121
|
+
},
|
|
122
|
+
[types_1.UserNotificationContentType.JOIN_CLOUD_SHARE]: {
|
|
123
|
+
title: 'Partage Cloud',
|
|
124
|
+
content: `L'utlisateur {alias} a rejoint le Cloud "{cloudName}"`,
|
|
125
|
+
},
|
|
126
|
+
[types_1.UserNotificationContentType.DECLINE_CLOUD_SHARE]: {
|
|
127
|
+
title: 'Partage Cloud',
|
|
128
|
+
content: `L'utlisateur {alias} a refusé l'invitation au Cloud "{cloudName}"`,
|
|
129
|
+
},
|
|
130
|
+
[types_1.UserNotificationContentType.LEAVE_CLOUD_SHARE]: {
|
|
131
|
+
title: 'Partage Cloud',
|
|
132
|
+
content: `L'utlisateur {alias} a quitté le Cloud "{cloudName}"`,
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
[types_1.AbyssService.ABYSS_STORAGE]: {
|
|
136
|
+
[types_1.UserNotificationContentType.WEBHOOK_UNDELIVERABLE]: {
|
|
137
|
+
title: 'Echec de Webhook',
|
|
138
|
+
content: 'Une erreur est survenue sur le Webhook "{applicationWebhookName}" ({totalFailureInRow} échec(s) consécutifs)',
|
|
139
|
+
},
|
|
140
|
+
[types_1.UserNotificationContentType.WEBHOOK_UNDELIVERABLE_DISABLE]: {
|
|
141
|
+
title: 'Désactivation du Webhook',
|
|
142
|
+
content: "Le Webhook {applicationWebhookName} a été désactivé pour cause d'erreurs multiples",
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
[types_1.AbyssService.ABYSS_MONITOR]: {
|
|
146
|
+
[types_1.UserNotificationContentType.CRON_TASK_FAILED]: {
|
|
147
|
+
title: 'Echec de tâche planifiée',
|
|
148
|
+
content: 'Une erreur est survenue sur la tâche planifiée "{applicationCronTaskName}" ({totalFailureInRow} échec(s) consécutifs)',
|
|
149
|
+
},
|
|
150
|
+
[types_1.UserNotificationContentType.CRON_TASK_DISABLED]: {
|
|
151
|
+
title: 'Désactivation de tâche planifiée',
|
|
152
|
+
content: "La tâche {applicationCronTaskName} a été désactivé pour cause d'erreurs multiples",
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
[types_1.AbyssService.ABYSS_MEMORIES]: {
|
|
156
|
+
[types_1.UserNotificationContentType.INVITE_EVENT]: {
|
|
157
|
+
title: "Nouvel invitation d'événement",
|
|
158
|
+
content: "{user} vous a invité à rejoindre l'événement {eventName}",
|
|
159
|
+
},
|
|
160
|
+
[types_1.UserNotificationContentType.CHANGE_OWNER_EVENT]: {
|
|
161
|
+
title: "Transfert d'événement",
|
|
162
|
+
content: "{user} vous a transféré la propriété de l'événement {eventName}",
|
|
163
|
+
},
|
|
164
|
+
[types_1.UserNotificationContentType.CREATE_POLL_EVENT]: {
|
|
165
|
+
title: 'Nouveau sondage',
|
|
166
|
+
content: '{user} a créé un nouveau sondage dans {eventName}',
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
[types_1.AbyssService.ABYSS_BANKING]: {
|
|
170
|
+
[types_1.UserNotificationContentType.BANK_CONNECTION_SUCCESS]: {
|
|
171
|
+
title: 'Connexion bancaire réussie',
|
|
172
|
+
content: `La connexion avec la banque "{bankName}" est opérationnelle !`,
|
|
173
|
+
},
|
|
174
|
+
[types_1.UserNotificationContentType.BANK_CONNECTION_EXPIRE]: {
|
|
175
|
+
title: 'Connexion bancaire expirée',
|
|
176
|
+
content: `La connexion avec la banque "{bankName}" a expiré !`,
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./fr.translate"), exports);
|
|
18
|
+
__exportStar(require("./en.translate"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum AbyssService {
|
|
2
|
+
ABYSS = "ABYSS",
|
|
3
|
+
ABYSS_CLOUD = "ABYSS_CLOUD",
|
|
4
|
+
ABYSS_CRYPT = "ABYSS_CRYPT",
|
|
5
|
+
ABYSS_STORAGE = "ABYSS_STORAGE",
|
|
6
|
+
ABYSS_MONITOR = "ABYSS_MONITOR",
|
|
7
|
+
ABYSS_MEMORIES = "ABYSS_MEMORIES",
|
|
8
|
+
ABYSS_BANKING = "ABYSS_BANKING",
|
|
9
|
+
ABYSS_GAME_ODYSSEY = "ABYSS_GAME_ODYSSEY"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbyssService = void 0;
|
|
4
|
+
var AbyssService;
|
|
5
|
+
(function (AbyssService) {
|
|
6
|
+
AbyssService["ABYSS"] = "ABYSS";
|
|
7
|
+
AbyssService["ABYSS_CLOUD"] = "ABYSS_CLOUD";
|
|
8
|
+
AbyssService["ABYSS_CRYPT"] = "ABYSS_CRYPT";
|
|
9
|
+
AbyssService["ABYSS_STORAGE"] = "ABYSS_STORAGE";
|
|
10
|
+
AbyssService["ABYSS_MONITOR"] = "ABYSS_MONITOR";
|
|
11
|
+
AbyssService["ABYSS_MEMORIES"] = "ABYSS_MEMORIES";
|
|
12
|
+
AbyssService["ABYSS_BANKING"] = "ABYSS_BANKING";
|
|
13
|
+
AbyssService["ABYSS_GAME_ODYSSEY"] = "ABYSS_GAME_ODYSSEY";
|
|
14
|
+
})(AbyssService = exports.AbyssService || (exports.AbyssService = {}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare enum ErrorType {
|
|
2
|
+
apiError = "api_error",
|
|
3
|
+
authError = "authentication_error",
|
|
4
|
+
resourceError = "resource_error"
|
|
5
|
+
}
|
|
6
|
+
export declare enum Code {
|
|
7
|
+
tokenFailure = "token_authentication_failure",
|
|
8
|
+
authenticationFailure = "authentication_credentials_failure",
|
|
9
|
+
accessNotAllowed = "access_not_allowed",
|
|
10
|
+
notFound = "not_found",
|
|
11
|
+
validationError = "resource_validation_error",
|
|
12
|
+
constraintError = "resource_constraint_error",
|
|
13
|
+
internalServerError = "internal_server_error",
|
|
14
|
+
serviceUnavailable = "service_unavailable",
|
|
15
|
+
invalidData = "invalid_data",
|
|
16
|
+
notImplemented = "not_implemented",
|
|
17
|
+
invalidUser = "invalid_user",
|
|
18
|
+
emailAlreadyExisting = "email_already_existing",
|
|
19
|
+
emailNotVerified = "email_not_verified",
|
|
20
|
+
emailAlreadyVerified = "email_already_verified",
|
|
21
|
+
invalidTokenType = "invalid_token_type",
|
|
22
|
+
tokenExpired = "token_expired",
|
|
23
|
+
tokenAlreadyUsed = "token_already_used",
|
|
24
|
+
notEnoughCredit = "not_enough_credit",
|
|
25
|
+
applicationAlreadyHasProject = "application_already_has_project",
|
|
26
|
+
unableToAccessResourceWithApiKey = "unable_to_access_resource_with_api_key",
|
|
27
|
+
projectAccessCannotContainApiKey = "project_access_cannot_contain_api_key",
|
|
28
|
+
userAccessAlreadyExist = "user_access_already_exist",
|
|
29
|
+
userAccessAlreadyExistBecauseUserIsOwner = "user_access_already_exist_because_user_is_owner",
|
|
30
|
+
accessCannotBeConfirmed = "access_cannot_be_confirmed",
|
|
31
|
+
noApiKeyOrUserIdProvided = "no_api_key_or_user_id_provided",
|
|
32
|
+
projectCountLimitReached = "project_count_limit_reached",
|
|
33
|
+
subscriptionIsExpired = "subscription_is_expired",
|
|
34
|
+
notEnoughSpace = "not_enough_space",
|
|
35
|
+
fileNotExists = "file_no_exists",
|
|
36
|
+
fileTooBig = "file_too_big",
|
|
37
|
+
unsubscribeNewsletter = "unsubscribe_newsletter"
|
|
38
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Code = exports.ErrorType = void 0;
|
|
4
|
+
var ErrorType;
|
|
5
|
+
(function (ErrorType) {
|
|
6
|
+
ErrorType["apiError"] = "api_error";
|
|
7
|
+
ErrorType["authError"] = "authentication_error";
|
|
8
|
+
ErrorType["resourceError"] = "resource_error";
|
|
9
|
+
})(ErrorType = exports.ErrorType || (exports.ErrorType = {}));
|
|
10
|
+
var Code;
|
|
11
|
+
(function (Code) {
|
|
12
|
+
Code["tokenFailure"] = "token_authentication_failure";
|
|
13
|
+
Code["authenticationFailure"] = "authentication_credentials_failure";
|
|
14
|
+
Code["accessNotAllowed"] = "access_not_allowed";
|
|
15
|
+
Code["notFound"] = "not_found";
|
|
16
|
+
Code["validationError"] = "resource_validation_error";
|
|
17
|
+
Code["constraintError"] = "resource_constraint_error";
|
|
18
|
+
Code["internalServerError"] = "internal_server_error";
|
|
19
|
+
Code["serviceUnavailable"] = "service_unavailable";
|
|
20
|
+
Code["invalidData"] = "invalid_data";
|
|
21
|
+
Code["notImplemented"] = "not_implemented";
|
|
22
|
+
Code["invalidUser"] = "invalid_user";
|
|
23
|
+
Code["emailAlreadyExisting"] = "email_already_existing";
|
|
24
|
+
Code["emailNotVerified"] = "email_not_verified";
|
|
25
|
+
Code["emailAlreadyVerified"] = "email_already_verified";
|
|
26
|
+
Code["invalidTokenType"] = "invalid_token_type";
|
|
27
|
+
Code["tokenExpired"] = "token_expired";
|
|
28
|
+
Code["tokenAlreadyUsed"] = "token_already_used";
|
|
29
|
+
Code["notEnoughCredit"] = "not_enough_credit";
|
|
30
|
+
Code["applicationAlreadyHasProject"] = "application_already_has_project";
|
|
31
|
+
Code["unableToAccessResourceWithApiKey"] = "unable_to_access_resource_with_api_key";
|
|
32
|
+
Code["projectAccessCannotContainApiKey"] = "project_access_cannot_contain_api_key";
|
|
33
|
+
Code["userAccessAlreadyExist"] = "user_access_already_exist";
|
|
34
|
+
Code["userAccessAlreadyExistBecauseUserIsOwner"] = "user_access_already_exist_because_user_is_owner";
|
|
35
|
+
Code["accessCannotBeConfirmed"] = "access_cannot_be_confirmed";
|
|
36
|
+
Code["noApiKeyOrUserIdProvided"] = "no_api_key_or_user_id_provided";
|
|
37
|
+
Code["projectCountLimitReached"] = "project_count_limit_reached";
|
|
38
|
+
Code["subscriptionIsExpired"] = "subscription_is_expired";
|
|
39
|
+
Code["notEnoughSpace"] = "not_enough_space";
|
|
40
|
+
Code["fileNotExists"] = "file_no_exists";
|
|
41
|
+
Code["fileTooBig"] = "file_too_big";
|
|
42
|
+
Code["unsubscribeNewsletter"] = "unsubscribe_newsletter";
|
|
43
|
+
})(Code = exports.Code || (exports.Code = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingProduct = void 0;
|
|
4
|
+
var BillingProduct;
|
|
5
|
+
(function (BillingProduct) {
|
|
6
|
+
BillingProduct["CREDIT_1"] = "CREDIT_1";
|
|
7
|
+
BillingProduct["CREDIT_500"] = "CREDIT_500";
|
|
8
|
+
BillingProduct["CREDIT_1K"] = "CREDIT_1K";
|
|
9
|
+
BillingProduct["CREDIT_2K"] = "CREDIT_2K";
|
|
10
|
+
BillingProduct["CREDIT_5K"] = "CREDIT_5K";
|
|
11
|
+
BillingProduct["CREDIT_10K"] = "CREDIT_10K";
|
|
12
|
+
})(BillingProduct = exports.BillingProduct || (exports.BillingProduct = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GiftCodeType = void 0;
|
|
4
|
+
var GiftCodeType;
|
|
5
|
+
(function (GiftCodeType) {
|
|
6
|
+
GiftCodeType[GiftCodeType["CREDIT"] = 1] = "CREDIT";
|
|
7
|
+
})(GiftCodeType = exports.GiftCodeType || (exports.GiftCodeType = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './api-error.enum';
|
|
2
|
+
export * from './oauth-account-type.enum';
|
|
3
|
+
export * from './abyss-service.enum';
|
|
4
|
+
export * from './user-notification-type.enum';
|
|
5
|
+
export * from './user-notification-content-type.enum';
|
|
6
|
+
export * from './user-transaction-type.enum';
|
|
7
|
+
export * from './gift-code-type.enum';
|
|
8
|
+
export * from './user-credit-purchase-platform.enum';
|
|
9
|
+
export * from './user-credit-purchase-payment-method.enum';
|
|
10
|
+
export * from './user-credit-purchase-currency.enum';
|
|
11
|
+
export * from './token-type.enum';
|
|
12
|
+
export * from './user-language.enum';
|
|
13
|
+
export * from './user-ticket-category.enum';
|
|
14
|
+
export * from './project-access-permission.enum';
|
|
15
|
+
export * from './project-application-access-permission.enum';
|
|
16
|
+
export * from './billing-product.enum';
|
|
17
|
+
export * from './subscription-level.enum';
|
|
18
|
+
export * from './newsletter-type.enum';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api-error.enum"), exports);
|
|
18
|
+
__exportStar(require("./oauth-account-type.enum"), exports);
|
|
19
|
+
__exportStar(require("./abyss-service.enum"), exports);
|
|
20
|
+
__exportStar(require("./user-notification-type.enum"), exports);
|
|
21
|
+
__exportStar(require("./user-notification-content-type.enum"), exports);
|
|
22
|
+
__exportStar(require("./user-transaction-type.enum"), exports);
|
|
23
|
+
__exportStar(require("./gift-code-type.enum"), exports);
|
|
24
|
+
__exportStar(require("./user-credit-purchase-platform.enum"), exports);
|
|
25
|
+
__exportStar(require("./user-credit-purchase-payment-method.enum"), exports);
|
|
26
|
+
__exportStar(require("./user-credit-purchase-currency.enum"), exports);
|
|
27
|
+
__exportStar(require("./token-type.enum"), exports);
|
|
28
|
+
__exportStar(require("./user-language.enum"), exports);
|
|
29
|
+
__exportStar(require("./user-ticket-category.enum"), exports);
|
|
30
|
+
__exportStar(require("./project-access-permission.enum"), exports);
|
|
31
|
+
__exportStar(require("./project-application-access-permission.enum"), exports);
|
|
32
|
+
__exportStar(require("./billing-product.enum"), exports);
|
|
33
|
+
__exportStar(require("./subscription-level.enum"), exports);
|
|
34
|
+
__exportStar(require("./newsletter-type.enum"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NewsletterType = void 0;
|
|
4
|
+
var NewsletterType;
|
|
5
|
+
(function (NewsletterType) {
|
|
6
|
+
NewsletterType["ABYSS_BANKING_LAUNCH_ANNOUNCEMENT"] = "ABYSS_BANKING_LAUNCH_ANNOUNCEMENT";
|
|
7
|
+
})(NewsletterType = exports.NewsletterType || (exports.NewsletterType = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuthAccountType = void 0;
|
|
4
|
+
var OAuthAccountType;
|
|
5
|
+
(function (OAuthAccountType) {
|
|
6
|
+
OAuthAccountType[OAuthAccountType["DISCORD"] = 1] = "DISCORD";
|
|
7
|
+
})(OAuthAccountType = exports.OAuthAccountType || (exports.OAuthAccountType = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum ProjectAccessPermission {
|
|
2
|
+
FULL_ACCESS = "FULL_ACCESS",
|
|
3
|
+
PROJECT_UPDATE = "PROJECT_UPDATE",
|
|
4
|
+
PROJECT_NOTIFICATION = "PROJECT_NOTIFICATION",
|
|
5
|
+
PROJECT_ACCESS_READ = "PROJECT_ACCESS_READ",
|
|
6
|
+
PROJECT_ACCESS_CREATE = "PROJECT_ACCESS_CREATE",
|
|
7
|
+
PROJECT_ACCESS_DELETE = "PROJECT_ACCESS_DELETE",
|
|
8
|
+
PROJECT_ACCESS_UPDATE = "PROJECT_ACCESS_UPDATE",
|
|
9
|
+
PROJECT_ACCESS_RESET_API_KEY = "PROJECT_ACCESS_RESET_API_KEY",
|
|
10
|
+
APPLICATION_CREATE = "APPLICATION_CREATE",
|
|
11
|
+
APPLICATION_DELETE = "APPLICATION_DELETE",
|
|
12
|
+
APPLICATION_UPDATE = "APPLICATION_UPDATE"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjectAccessPermission = void 0;
|
|
4
|
+
var ProjectAccessPermission;
|
|
5
|
+
(function (ProjectAccessPermission) {
|
|
6
|
+
ProjectAccessPermission["FULL_ACCESS"] = "FULL_ACCESS";
|
|
7
|
+
ProjectAccessPermission["PROJECT_UPDATE"] = "PROJECT_UPDATE";
|
|
8
|
+
ProjectAccessPermission["PROJECT_NOTIFICATION"] = "PROJECT_NOTIFICATION";
|
|
9
|
+
ProjectAccessPermission["PROJECT_ACCESS_READ"] = "PROJECT_ACCESS_READ";
|
|
10
|
+
ProjectAccessPermission["PROJECT_ACCESS_CREATE"] = "PROJECT_ACCESS_CREATE";
|
|
11
|
+
ProjectAccessPermission["PROJECT_ACCESS_DELETE"] = "PROJECT_ACCESS_DELETE";
|
|
12
|
+
ProjectAccessPermission["PROJECT_ACCESS_UPDATE"] = "PROJECT_ACCESS_UPDATE";
|
|
13
|
+
ProjectAccessPermission["PROJECT_ACCESS_RESET_API_KEY"] = "PROJECT_ACCESS_RESET_API_KEY";
|
|
14
|
+
ProjectAccessPermission["APPLICATION_CREATE"] = "APPLICATION_CREATE";
|
|
15
|
+
ProjectAccessPermission["APPLICATION_DELETE"] = "APPLICATION_DELETE";
|
|
16
|
+
ProjectAccessPermission["APPLICATION_UPDATE"] = "APPLICATION_UPDATE";
|
|
17
|
+
})(ProjectAccessPermission = exports.ProjectAccessPermission || (exports.ProjectAccessPermission = {}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare enum ProjectApplicationAccessPermission {
|
|
2
|
+
FULL_ACCESS = "FULL_ACCESS",
|
|
3
|
+
MONITOR_FULL_ACCESS = "MONITOR_FULL_ACCESS",
|
|
4
|
+
MONITOR_READ = "MONITOR_READ",
|
|
5
|
+
MONITOR_RESET_SECRET_PUBLISH_TOKEN = "MONITOR_RESET_SECRET_PUBLISH_TOKEN",
|
|
6
|
+
MONITOR_LOG_READ = "MONITOR_LOG_READ",
|
|
7
|
+
MONITOR_STATS_READ = "MONITOR_STATS_READ",
|
|
8
|
+
MONITOR_CRON_TASK_READ = "MONITOR_CRON_TASK_READ",
|
|
9
|
+
MONITOR_CRON_TASK_UPDATE = "MONITOR_CRON_TASK_UPDATE",
|
|
10
|
+
MONITOR_CRON_TASK_DELETE = "MONITOR_CRON_TASK_DELETE",
|
|
11
|
+
MONITOR_CRON_TASK_CREATE = "MONITOR_CRON_TASK_CREATE",
|
|
12
|
+
MONITOR_CRON_TASK_REGENERATE_SECRET = "MONITOR_CRON_TASK_REGENERATE_SECRET",
|
|
13
|
+
MONITOR_CRON_TASK_TRIGGER = "MONITOR_CRON_TASK_TRIGGER",
|
|
14
|
+
MONITOR_STORE_READ = "MONITOR_STORE_READ",
|
|
15
|
+
MONITOR_STORE_UPDATE = "MONITOR_STORE_UPDATE",
|
|
16
|
+
MONITOR_STORE_DELETE = "MONITOR_STORE_DELETE",
|
|
17
|
+
MONITOR_STORE_CREATE = "MONITOR_STORE_CREATE",
|
|
18
|
+
STORAGE_FULL_ACCESS = "MONITOR_FULL_ACCESS",
|
|
19
|
+
STORAGE_READ = "STORAGE_READ",
|
|
20
|
+
STORAGE_FILE_READ = "STORAGE_FILE_READ",
|
|
21
|
+
STORAGE_FILE_DUPLICATE = "STORAGE_FILE_DUPLICATE",
|
|
22
|
+
STORAGE_FILE_PRE_SIGN_URL = "STORAGE_FILE_PRE_SIGN_URL",
|
|
23
|
+
STORAGE_FILE_CRYPT = "STORAGE_FILE_CRYPT",
|
|
24
|
+
STORAGE_FILE_DELETE = "STORAGE_FILE_DELETE",
|
|
25
|
+
STORAGE_FILE_UPDATE = "STORAGE_FILE_UPDATE",
|
|
26
|
+
STORAGE_FILE_ARCHIVE = "STORAGE_FILE_ARCHIVE",
|
|
27
|
+
STORAGE_FILE_PUBLIC_ACCESS = "STORAGE_FILE_PUBLIC_ACCESS",
|
|
28
|
+
STORAGE_FILE_THUMBNAIL_READ = "STORAGE_FILE_THUMBNAIL_READ",
|
|
29
|
+
STORAGE_FILE_THUMBNAIL_DELETE = "STORAGE_FILE_THUMBNAIL_DELETE",
|
|
30
|
+
STORAGE_FILE_THUMBNAIL_UPDATE = "STORAGE_FILE_THUMBNAIL_UPDATE",
|
|
31
|
+
STORAGE_FILE_THUMBNAIL_WRITE = "STORAGE_FILE_THUMBNAIL_WRITE",
|
|
32
|
+
STORAGE_WEBHOOK_READ = "STORAGE_WEBHOOK_READ",
|
|
33
|
+
STORAGE_WEBHOOK_CREATE = "STORAGE_WEBHOOK_CREATE",
|
|
34
|
+
STORAGE_WEBHOOK_DELETE = "STORAGE_WEBHOOK_DELETE",
|
|
35
|
+
STORAGE_WEBHOOK_UPDATE = "STORAGE_WEBHOOK_UPDATE",
|
|
36
|
+
STORAGE_WEBHOOK_RESET_SECRET = "STORAGE_WEBHOOK_RESET_SECRET",
|
|
37
|
+
STORAGE_WEBHOOK_HISTORY_READ = "STORAGE_WEBHOOK_HISTORY_READ"
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjectApplicationAccessPermission = void 0;
|
|
4
|
+
var ProjectApplicationAccessPermission;
|
|
5
|
+
(function (ProjectApplicationAccessPermission) {
|
|
6
|
+
ProjectApplicationAccessPermission["FULL_ACCESS"] = "FULL_ACCESS";
|
|
7
|
+
ProjectApplicationAccessPermission["MONITOR_FULL_ACCESS"] = "MONITOR_FULL_ACCESS";
|
|
8
|
+
ProjectApplicationAccessPermission["MONITOR_READ"] = "MONITOR_READ";
|
|
9
|
+
ProjectApplicationAccessPermission["MONITOR_RESET_SECRET_PUBLISH_TOKEN"] = "MONITOR_RESET_SECRET_PUBLISH_TOKEN";
|
|
10
|
+
ProjectApplicationAccessPermission["MONITOR_LOG_READ"] = "MONITOR_LOG_READ";
|
|
11
|
+
ProjectApplicationAccessPermission["MONITOR_STATS_READ"] = "MONITOR_STATS_READ";
|
|
12
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_READ"] = "MONITOR_CRON_TASK_READ";
|
|
13
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_UPDATE"] = "MONITOR_CRON_TASK_UPDATE";
|
|
14
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_DELETE"] = "MONITOR_CRON_TASK_DELETE";
|
|
15
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_CREATE"] = "MONITOR_CRON_TASK_CREATE";
|
|
16
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_REGENERATE_SECRET"] = "MONITOR_CRON_TASK_REGENERATE_SECRET";
|
|
17
|
+
ProjectApplicationAccessPermission["MONITOR_CRON_TASK_TRIGGER"] = "MONITOR_CRON_TASK_TRIGGER";
|
|
18
|
+
ProjectApplicationAccessPermission["MONITOR_STORE_READ"] = "MONITOR_STORE_READ";
|
|
19
|
+
ProjectApplicationAccessPermission["MONITOR_STORE_UPDATE"] = "MONITOR_STORE_UPDATE";
|
|
20
|
+
ProjectApplicationAccessPermission["MONITOR_STORE_DELETE"] = "MONITOR_STORE_DELETE";
|
|
21
|
+
ProjectApplicationAccessPermission["MONITOR_STORE_CREATE"] = "MONITOR_STORE_CREATE";
|
|
22
|
+
ProjectApplicationAccessPermission["STORAGE_FULL_ACCESS"] = "MONITOR_FULL_ACCESS";
|
|
23
|
+
ProjectApplicationAccessPermission["STORAGE_READ"] = "STORAGE_READ";
|
|
24
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_READ"] = "STORAGE_FILE_READ";
|
|
25
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_DUPLICATE"] = "STORAGE_FILE_DUPLICATE";
|
|
26
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_PRE_SIGN_URL"] = "STORAGE_FILE_PRE_SIGN_URL";
|
|
27
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_CRYPT"] = "STORAGE_FILE_CRYPT";
|
|
28
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_DELETE"] = "STORAGE_FILE_DELETE";
|
|
29
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_UPDATE"] = "STORAGE_FILE_UPDATE";
|
|
30
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_ARCHIVE"] = "STORAGE_FILE_ARCHIVE";
|
|
31
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_PUBLIC_ACCESS"] = "STORAGE_FILE_PUBLIC_ACCESS";
|
|
32
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_THUMBNAIL_READ"] = "STORAGE_FILE_THUMBNAIL_READ";
|
|
33
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_THUMBNAIL_DELETE"] = "STORAGE_FILE_THUMBNAIL_DELETE";
|
|
34
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_THUMBNAIL_UPDATE"] = "STORAGE_FILE_THUMBNAIL_UPDATE";
|
|
35
|
+
ProjectApplicationAccessPermission["STORAGE_FILE_THUMBNAIL_WRITE"] = "STORAGE_FILE_THUMBNAIL_WRITE";
|
|
36
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_READ"] = "STORAGE_WEBHOOK_READ";
|
|
37
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_CREATE"] = "STORAGE_WEBHOOK_CREATE";
|
|
38
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_DELETE"] = "STORAGE_WEBHOOK_DELETE";
|
|
39
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_UPDATE"] = "STORAGE_WEBHOOK_UPDATE";
|
|
40
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_RESET_SECRET"] = "STORAGE_WEBHOOK_RESET_SECRET";
|
|
41
|
+
ProjectApplicationAccessPermission["STORAGE_WEBHOOK_HISTORY_READ"] = "STORAGE_WEBHOOK_HISTORY_READ";
|
|
42
|
+
})(ProjectApplicationAccessPermission = exports.ProjectApplicationAccessPermission || (exports.ProjectApplicationAccessPermission = {}));
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { AbyssService } from './abyss-service.enum';
|
|
2
|
+
export declare enum SubscriptionLevel {
|
|
3
|
+
BASE = "BASE",
|
|
4
|
+
ADVANCED = "ADVANCED",
|
|
5
|
+
PREMIUM = "PREMIUM"
|
|
6
|
+
}
|
|
7
|
+
export declare enum UserSubscriptionPrice {
|
|
8
|
+
BASE = 0,
|
|
9
|
+
ADVANCED = 230,
|
|
10
|
+
PREMIUM = 620
|
|
11
|
+
}
|
|
12
|
+
export declare enum ProjectSubscriptionPrice {
|
|
13
|
+
BASE = 0,
|
|
14
|
+
ADVANCED = 430,
|
|
15
|
+
PREMIUM = 880
|
|
16
|
+
}
|
|
17
|
+
type UserConfigPerService = {
|
|
18
|
+
[AbyssService.ABYSS]: {
|
|
19
|
+
maxNumberOfProject: number;
|
|
20
|
+
};
|
|
21
|
+
[AbyssService.ABYSS_CLOUD]: {
|
|
22
|
+
maxNumberOfCloud: number;
|
|
23
|
+
maxStorageSizeGo: number;
|
|
24
|
+
maxCloudShare: number;
|
|
25
|
+
};
|
|
26
|
+
[AbyssService.ABYSS_CRYPT]: {
|
|
27
|
+
maxFileSizeMo: number;
|
|
28
|
+
};
|
|
29
|
+
[AbyssService.ABYSS_MEMORIES]: {
|
|
30
|
+
maxMemberPerEvent: number;
|
|
31
|
+
};
|
|
32
|
+
[AbyssService.ABYSS_BANKING]: {};
|
|
33
|
+
};
|
|
34
|
+
export type UserSubscriptionConfig = Record<SubscriptionLevel, UserConfigPerService>;
|
|
35
|
+
export declare const USER_SUBSCRIPTION_CONFIG: UserSubscriptionConfig;
|
|
36
|
+
type ProjectConfigPerService = {
|
|
37
|
+
[AbyssService.ABYSS_MONITOR]: {
|
|
38
|
+
maxCronTask: number;
|
|
39
|
+
logHistoryDays: number;
|
|
40
|
+
statsHistoryDays: number;
|
|
41
|
+
maxStoreEntry: number;
|
|
42
|
+
};
|
|
43
|
+
[AbyssService.ABYSS_STORAGE]: {
|
|
44
|
+
maxFileSizeMo: number;
|
|
45
|
+
maxStorageSizeGo: number;
|
|
46
|
+
maxThumbnailPerFile: number;
|
|
47
|
+
maxPreSignUrlPerHour: number;
|
|
48
|
+
freeFilePerDay: number;
|
|
49
|
+
creditPerFilePerDay: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export type ProjectSubscriptionConfig = Record<SubscriptionLevel, ProjectConfigPerService>;
|
|
53
|
+
export declare const PROJECT_SUBSCRIPTION_CONFIG: ProjectSubscriptionConfig;
|
|
54
|
+
export {};
|