@abyss-project/main 1.0.10 → 1.0.12
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 +1 -1
- package/dist/api/application.admin.api.d.ts +8 -8
- package/dist/api/application.admin.api.js +35 -35
- package/dist/api/application.api.d.ts +7 -7
- package/dist/api/application.api.js +31 -31
- package/dist/api/auth.api.d.ts +10 -10
- package/dist/api/auth.api.js +57 -57
- package/dist/api/billing.api.d.ts +4 -4
- package/dist/api/billing.api.js +16 -16
- package/dist/api/gift-code.admin.api.d.ts +8 -8
- package/dist/api/gift-code.admin.api.js +34 -34
- package/dist/api/gift-code.api.d.ts +4 -4
- package/dist/api/gift-code.api.js +20 -20
- package/dist/api/index.d.ts +23 -23
- package/dist/api/index.js +39 -39
- package/dist/api/metrics.admin.api.d.ts +4 -4
- package/dist/api/metrics.admin.api.js +16 -16
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/api/newsletter.admin.api.d.ts +6 -6
- package/dist/api/newsletter.admin.api.js +25 -25
- package/dist/api/project-access.admin.api.d.ts +13 -13
- package/dist/api/project-access.admin.api.js +52 -52
- package/dist/api/project-access.api.d.ts +14 -14
- package/dist/api/project-access.api.js +59 -59
- package/dist/api/project.admin.api.d.ts +7 -7
- package/dist/api/project.admin.api.js +34 -34
- package/dist/api/project.api.d.ts +14 -14
- package/dist/api/project.api.js +62 -62
- package/dist/api/user-credit-purchase.admin.api.d.ts +7 -7
- package/dist/api/user-credit-purchase.admin.api.js +28 -28
- package/dist/api/user-credit-purchase.api.d.ts +3 -3
- package/dist/api/user-credit-purchase.api.js +14 -14
- package/dist/api/user-notification.admin.api.d.ts +5 -5
- package/dist/api/user-notification.admin.api.js +20 -20
- package/dist/api/user-notification.api.d.ts +4 -4
- package/dist/api/user-notification.api.js +18 -18
- package/dist/api/user-ticket.admin.api.d.ts +11 -11
- package/dist/api/user-ticket.admin.api.js +49 -49
- package/dist/api/user-ticket.api.d.ts +10 -10
- package/dist/api/user-ticket.api.js +45 -45
- package/dist/api/user-transaction.admin.api.d.ts +5 -5
- package/dist/api/user-transaction.admin.api.js +20 -20
- package/dist/api/user-transaction.api.d.ts +3 -3
- package/dist/api/user-transaction.api.js +14 -14
- package/dist/api/user.admin.api.d.ts +11 -11
- package/dist/api/user.admin.api.js +46 -46
- package/dist/api/user.api.d.ts +19 -19
- package/dist/api/user.api.js +84 -84
- package/dist/front/index.d.ts +1 -1
- package/dist/front/index.js +17 -17
- package/dist/front/redirection.d.ts +2 -2
- package/dist/front/redirection.js +5 -5
- package/dist/index.d.ts +21 -21
- package/dist/index.js +91 -91
- package/dist/translate/en.translate.d.ts +182 -182
- package/dist/translate/en.translate.js +186 -186
- package/dist/translate/fr.translate.d.ts +182 -182
- package/dist/translate/fr.translate.js +186 -186
- package/dist/translate/index.d.ts +2 -2
- package/dist/translate/index.js +18 -18
- package/dist/types/enum/abyss-service.enum.d.ts +12 -11
- package/dist/types/enum/abyss-service.enum.js +16 -15
- package/dist/types/enum/api-error.enum.d.ts +40 -39
- package/dist/types/enum/api-error.enum.js +45 -44
- package/dist/types/enum/billing-product.enum.d.ts +8 -8
- package/dist/types/enum/billing-product.enum.js +12 -12
- package/dist/types/enum/gift-code-type.enum.d.ts +3 -3
- package/dist/types/enum/gift-code-type.enum.js +7 -7
- package/dist/types/enum/index.d.ts +18 -18
- package/dist/types/enum/index.js +34 -34
- package/dist/types/enum/newsletter-type.enum.d.ts +4 -4
- package/dist/types/enum/newsletter-type.enum.js +8 -8
- package/dist/types/enum/oauth-account-type.enum.d.ts +3 -3
- package/dist/types/enum/oauth-account-type.enum.js +7 -7
- package/dist/types/enum/project-access-permission.enum.d.ts +13 -13
- package/dist/types/enum/project-access-permission.enum.js +17 -17
- package/dist/types/enum/project-application-access-permission.enum.d.ts +38 -38
- package/dist/types/enum/project-application-access-permission.enum.js +42 -42
- package/dist/types/enum/subscription-level.enum.d.ts +55 -55
- package/dist/types/enum/subscription-level.enum.js +128 -128
- package/dist/types/enum/token-type.enum.d.ts +5 -5
- package/dist/types/enum/token-type.enum.js +9 -9
- package/dist/types/enum/user-credit-purchase-currency.enum.d.ts +5 -5
- package/dist/types/enum/user-credit-purchase-currency.enum.js +9 -9
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +3 -3
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +7 -7
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +8 -8
- package/dist/types/enum/user-credit-purchase-platform.enum.js +12 -12
- package/dist/types/enum/user-language.enum.d.ts +4 -4
- package/dist/types/enum/user-language.enum.js +8 -8
- package/dist/types/enum/user-notification-content-type.enum.d.ts +286 -286
- package/dist/types/enum/user-notification-content-type.enum.js +51 -51
- package/dist/types/enum/user-notification-type.enum.d.ts +6 -6
- package/dist/types/enum/user-notification-type.enum.js +10 -10
- package/dist/types/enum/user-ticket-category.enum.d.ts +9 -9
- package/dist/types/enum/user-ticket-category.enum.js +13 -13
- package/dist/types/enum/user-transaction-type.enum.d.ts +14 -14
- package/dist/types/enum/user-transaction-type.enum.js +18 -18
- package/dist/types/index.d.ts +9 -9
- package/dist/types/index.js +21 -21
- package/dist/types/interface/api/index.d.ts +48 -48
- package/dist/types/interface/api/index.js +64 -64
- package/dist/types/interface/api/requests/application.admin.request.d.ts +36 -36
- package/dist/types/interface/api/requests/application.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application.request.d.ts +34 -34
- package/dist/types/interface/api/requests/application.request.js +2 -2
- package/dist/types/interface/api/requests/auth.request.d.ts +40 -40
- package/dist/types/interface/api/requests/auth.request.js +2 -2
- package/dist/types/interface/api/requests/billing.request.d.ts +9 -9
- package/dist/types/interface/api/requests/billing.request.js +2 -2
- package/dist/types/interface/api/requests/gift-code.admin.request.d.ts +53 -53
- package/dist/types/interface/api/requests/gift-code.admin.request.js +2 -2
- package/dist/types/interface/api/requests/gift-code.request.d.ts +12 -12
- package/dist/types/interface/api/requests/gift-code.request.js +2 -2
- package/dist/types/interface/api/requests/newsletter.admin.request.d.ts +21 -21
- package/dist/types/interface/api/requests/newsletter.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +80 -80
- package/dist/types/interface/api/requests/project-access.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-access.request.d.ts +78 -78
- package/dist/types/interface/api/requests/project-access.request.js +2 -2
- package/dist/types/interface/api/requests/project.admin.request.d.ts +33 -32
- package/dist/types/interface/api/requests/project.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project.request.d.ts +61 -60
- package/dist/types/interface/api/requests/project.request.js +2 -2
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +43 -43
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +10 -10
- package/dist/types/interface/api/requests/user-credit-purchase.request.js +2 -2
- package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +27 -27
- package/dist/types/interface/api/requests/user-notification.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user-notification.request.d.ts +14 -14
- package/dist/types/interface/api/requests/user-notification.request.js +2 -2
- package/dist/types/interface/api/requests/user-ticket.admin.request.d.ts +61 -61
- package/dist/types/interface/api/requests/user-ticket.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user-ticket.request.d.ts +50 -50
- package/dist/types/interface/api/requests/user-ticket.request.js +2 -2
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +31 -31
- package/dist/types/interface/api/requests/user-transaction.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +8 -8
- package/dist/types/interface/api/requests/user-transaction.request.js +2 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +53 -53
- package/dist/types/interface/api/requests/user.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user.request.d.ts +85 -85
- package/dist/types/interface/api/requests/user.request.js +2 -2
- package/dist/types/interface/api/responses/application.admin.response.d.ts +28 -28
- package/dist/types/interface/api/responses/application.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application.response.d.ts +25 -25
- package/dist/types/interface/api/responses/application.response.js +2 -2
- package/dist/types/interface/api/responses/auth.response.d.ts +42 -42
- package/dist/types/interface/api/responses/auth.response.js +2 -2
- package/dist/types/interface/api/responses/billing.response.d.ts +18 -18
- package/dist/types/interface/api/responses/billing.response.js +2 -2
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +25 -25
- package/dist/types/interface/api/responses/gift-code.admin.response.js +2 -2
- package/dist/types/interface/api/responses/gift-code.response.d.ts +12 -12
- package/dist/types/interface/api/responses/gift-code.response.js +2 -2
- package/dist/types/interface/api/responses/metrics.admin.response.d.ts +40 -40
- package/dist/types/interface/api/responses/metrics.admin.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/responses/newsletter.admin.response.d.ts +17 -17
- package/dist/types/interface/api/responses/newsletter.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +51 -51
- package/dist/types/interface/api/responses/project-access.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-access.response.d.ts +49 -49
- package/dist/types/interface/api/responses/project-access.response.js +2 -2
- package/dist/types/interface/api/responses/project.admin.response.d.ts +54 -54
- package/dist/types/interface/api/responses/project.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project.response.d.ts +94 -94
- package/dist/types/interface/api/responses/project.response.js +2 -2
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +22 -22
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +8 -8
- package/dist/types/interface/api/responses/user-credit-purchase.response.js +2 -2
- package/dist/types/interface/api/responses/user-notification.admin.response.d.ts +19 -19
- package/dist/types/interface/api/responses/user-notification.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user-notification.response.d.ts +13 -13
- package/dist/types/interface/api/responses/user-notification.response.js +2 -2
- package/dist/types/interface/api/responses/user-ticket.admin.response.d.ts +38 -38
- package/dist/types/interface/api/responses/user-ticket.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user-ticket.response.d.ts +34 -34
- package/dist/types/interface/api/responses/user-ticket.response.js +2 -2
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +13 -13
- package/dist/types/interface/api/responses/user-transaction.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +11 -11
- package/dist/types/interface/api/responses/user-transaction.response.js +2 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +45 -45
- package/dist/types/interface/api/responses/user.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.response.d.ts +85 -85
- package/dist/types/interface/api/responses/user.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/index.d.ts +21 -21
- package/dist/types/interface/index.js +37 -37
- package/dist/types/interface/models/application.model.d.ts +14 -14
- package/dist/types/interface/models/application.model.js +2 -2
- package/dist/types/interface/models/gift-code-activation.model.d.ts +13 -13
- package/dist/types/interface/models/gift-code-activation.model.js +2 -2
- package/dist/types/interface/models/gift-code.model.d.ts +18 -18
- package/dist/types/interface/models/gift-code.model.js +2 -2
- package/dist/types/interface/models/newsletter-history.model.d.ts +8 -8
- package/dist/types/interface/models/newsletter-history.model.js +2 -2
- package/dist/types/interface/models/newsletter-member.model.d.ts +7 -7
- package/dist/types/interface/models/newsletter-member.model.js +2 -2
- package/dist/types/interface/models/oauth-account.model.d.ts +17 -17
- package/dist/types/interface/models/oauth-account.model.js +2 -2
- package/dist/types/interface/models/project-access.model.d.ts +19 -19
- package/dist/types/interface/models/project-access.model.js +2 -2
- package/dist/types/interface/models/project-application-access.model.d.ts +13 -13
- package/dist/types/interface/models/project-application-access.model.js +2 -2
- package/dist/types/interface/models/project-authentication-session.model.d.ts +10 -10
- package/dist/types/interface/models/project-authentication-session.model.js +2 -2
- package/dist/types/interface/models/project-authentication.model.d.ts +10 -10
- package/dist/types/interface/models/project-authentication.model.js +2 -2
- package/dist/types/interface/models/project.model.d.ts +20 -20
- package/dist/types/interface/models/project.model.js +2 -2
- package/dist/types/interface/models/subscription.model.d.ts +16 -16
- package/dist/types/interface/models/subscription.model.js +2 -2
- package/dist/types/interface/models/token-history.model.d.ts +44 -44
- package/dist/types/interface/models/token-history.model.js +2 -2
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +22 -22
- package/dist/types/interface/models/user-credit-purchase.model.js +2 -2
- package/dist/types/interface/models/user-notification.model.d.ts +14 -14
- package/dist/types/interface/models/user-notification.model.js +2 -2
- package/dist/types/interface/models/user-ticket-message-attachment.model.d.ts +14 -14
- package/dist/types/interface/models/user-ticket-message-attachment.model.js +2 -2
- package/dist/types/interface/models/user-ticket-message.model.d.ts +14 -14
- package/dist/types/interface/models/user-ticket-message.model.js +2 -2
- package/dist/types/interface/models/user-ticket.model.d.ts +15 -15
- package/dist/types/interface/models/user-ticket.model.js +2 -2
- package/dist/types/interface/models/user-transaction.model.d.ts +19 -19
- package/dist/types/interface/models/user-transaction.model.js +2 -2
- package/dist/types/interface/models/user.model.d.ts +34 -34
- package/dist/types/interface/models/user.model.js +2 -2
- package/dist/types/models/index.d.ts +1 -1
- package/dist/types/models/index.js +17 -17
- package/dist/types/models/transfer.model.d.ts +36 -36
- package/dist/types/models/transfer.model.js +73 -73
- package/dist/types/session.d.ts +26 -26
- package/dist/types/session.js +2 -2
- package/dist/types/utils/billing.util.d.ts +2 -2
- package/dist/types/utils/billing.util.js +33 -33
- package/dist/types/utils/convert-query.util.d.ts +2 -2
- package/dist/types/utils/convert-query.util.js +2 -2
- package/dist/types/utils/index.d.ts +6 -6
- package/dist/types/utils/index.js +21 -21
- package/dist/types/utils/notifications.type-util.d.ts +8 -8
- package/dist/types/utils/notifications.type-util.js +2 -2
- package/dist/types/utils/overwrite.util.d.ts +9 -9
- package/dist/types/utils/overwrite.util.js +2 -2
- package/dist/types/utils/require-one.util.d.ts +6 -6
- package/dist/types/utils/require-one.util.js +2 -2
- package/dist/utils/array.utils.d.ts +1 -1
- package/dist/utils/array.utils.js +7 -7
- package/dist/utils/byte.utils.d.ts +2 -2
- package/dist/utils/byte.utils.js +71 -71
- package/dist/utils/duration.utils.d.ts +1 -1
- package/dist/utils/duration.utils.js +10 -10
- package/dist/utils/enum-to-array.utils.d.ts +2 -2
- package/dist/utils/enum-to-array.utils.js +14 -14
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/import.utils.d.ts +1 -1
- package/dist/utils/import.utils.js +7 -7
- package/dist/utils/index.d.ts +9 -9
- package/dist/utils/index.js +25 -25
- package/dist/utils/is-valid-object.utils.d.ts +1 -1
- package/dist/utils/is-valid-object.utils.js +12 -12
- package/dist/utils/notification.utils.d.ts +3 -3
- package/dist/utils/notification.utils.js +11 -11
- package/dist/utils/sleep.utils.d.ts +1 -1
- package/dist/utils/sleep.utils.js +9 -9
- package/dist/utils/subscription.utils.d.ts +6 -6
- package/dist/utils/subscription.utils.js +41 -41
- package/package.json +5 -5
- package/tsconfig.json +105 -105
|
@@ -1,37 +1,37 @@
|
|
|
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("./models/user.model"), exports);
|
|
18
|
-
__exportStar(require("./models/subscription.model"), exports);
|
|
19
|
-
__exportStar(require("./models/project.model"), exports);
|
|
20
|
-
__exportStar(require("./models/project-access.model"), exports);
|
|
21
|
-
__exportStar(require("./models/project-application-access.model"), exports);
|
|
22
|
-
__exportStar(require("./models/project-authentication.model"), exports);
|
|
23
|
-
__exportStar(require("./models/project-authentication-session.model"), exports);
|
|
24
|
-
__exportStar(require("./models/application.model"), exports);
|
|
25
|
-
__exportStar(require("./models/user-notification.model"), exports);
|
|
26
|
-
__exportStar(require("./models/user-transaction.model"), exports);
|
|
27
|
-
__exportStar(require("./models/user-ticket.model"), exports);
|
|
28
|
-
__exportStar(require("./models/user-ticket-message.model"), exports);
|
|
29
|
-
__exportStar(require("./models/user-ticket-message-attachment.model"), exports);
|
|
30
|
-
__exportStar(require("./models/oauth-account.model"), exports);
|
|
31
|
-
__exportStar(require("./models/token-history.model"), exports);
|
|
32
|
-
__exportStar(require("./models/newsletter-member.model"), exports);
|
|
33
|
-
__exportStar(require("./models/newsletter-history.model"), exports);
|
|
34
|
-
__exportStar(require("./models/gift-code.model"), exports);
|
|
35
|
-
__exportStar(require("./models/gift-code-activation.model"), exports);
|
|
36
|
-
__exportStar(require("./models/user-credit-purchase.model"), exports);
|
|
37
|
-
__exportStar(require("./api"), exports);
|
|
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("./models/user.model"), exports);
|
|
18
|
+
__exportStar(require("./models/subscription.model"), exports);
|
|
19
|
+
__exportStar(require("./models/project.model"), exports);
|
|
20
|
+
__exportStar(require("./models/project-access.model"), exports);
|
|
21
|
+
__exportStar(require("./models/project-application-access.model"), exports);
|
|
22
|
+
__exportStar(require("./models/project-authentication.model"), exports);
|
|
23
|
+
__exportStar(require("./models/project-authentication-session.model"), exports);
|
|
24
|
+
__exportStar(require("./models/application.model"), exports);
|
|
25
|
+
__exportStar(require("./models/user-notification.model"), exports);
|
|
26
|
+
__exportStar(require("./models/user-transaction.model"), exports);
|
|
27
|
+
__exportStar(require("./models/user-ticket.model"), exports);
|
|
28
|
+
__exportStar(require("./models/user-ticket-message.model"), exports);
|
|
29
|
+
__exportStar(require("./models/user-ticket-message-attachment.model"), exports);
|
|
30
|
+
__exportStar(require("./models/oauth-account.model"), exports);
|
|
31
|
+
__exportStar(require("./models/token-history.model"), exports);
|
|
32
|
+
__exportStar(require("./models/newsletter-member.model"), exports);
|
|
33
|
+
__exportStar(require("./models/newsletter-history.model"), exports);
|
|
34
|
+
__exportStar(require("./models/gift-code.model"), exports);
|
|
35
|
+
__exportStar(require("./models/gift-code-activation.model"), exports);
|
|
36
|
+
__exportStar(require("./models/user-credit-purchase.model"), exports);
|
|
37
|
+
__exportStar(require("./api"), exports);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AbyssService } from '../../enum';
|
|
2
|
-
import { IProjectApplicationAccess } from './project-application-access.model';
|
|
3
|
-
import { IProject } from './project.model';
|
|
4
|
-
export interface IApplication {
|
|
5
|
-
id?: string;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
enabledService: AbyssService[];
|
|
9
|
-
projectId: string;
|
|
10
|
-
updatedAt?: Date;
|
|
11
|
-
createdAt?: Date;
|
|
12
|
-
project?: IProject;
|
|
13
|
-
projectApplicationAccess?: IProjectApplicationAccess[];
|
|
14
|
-
}
|
|
1
|
+
import { AbyssService } from '../../enum';
|
|
2
|
+
import { IProjectApplicationAccess } from './project-application-access.model';
|
|
3
|
+
import { IProject } from './project.model';
|
|
4
|
+
export interface IApplication {
|
|
5
|
+
id?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
enabledService: AbyssService[];
|
|
9
|
+
projectId: string;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
createdAt?: Date;
|
|
12
|
+
project?: IProject;
|
|
13
|
+
projectApplicationAccess?: IProjectApplicationAccess[];
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IUser, IUserTransaction } from '..';
|
|
2
|
-
import { IGiftCode } from './gift-code.model';
|
|
3
|
-
export interface IGiftCodeActivation {
|
|
4
|
-
id?: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
giftCodeId: string;
|
|
7
|
-
userTransactionId: string | null;
|
|
8
|
-
updatedAt?: Date;
|
|
9
|
-
createdAt?: Date;
|
|
10
|
-
user?: IUser;
|
|
11
|
-
giftCode?: IGiftCode;
|
|
12
|
-
userTransaction?: IUserTransaction;
|
|
13
|
-
}
|
|
1
|
+
import { IUser, IUserTransaction } from '..';
|
|
2
|
+
import { IGiftCode } from './gift-code.model';
|
|
3
|
+
export interface IGiftCodeActivation {
|
|
4
|
+
id?: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
giftCodeId: string;
|
|
7
|
+
userTransactionId: string | null;
|
|
8
|
+
updatedAt?: Date;
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
user?: IUser;
|
|
11
|
+
giftCode?: IGiftCode;
|
|
12
|
+
userTransaction?: IUserTransaction;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { GiftCodeType } from '../../enum';
|
|
2
|
-
import { IGiftCodeActivation } from './gift-code-activation.model';
|
|
3
|
-
export interface IGiftCode {
|
|
4
|
-
id?: string;
|
|
5
|
-
code: string;
|
|
6
|
-
amount: number;
|
|
7
|
-
type: GiftCodeType;
|
|
8
|
-
startDate: Date | null;
|
|
9
|
-
endDate: Date | null;
|
|
10
|
-
isActivated: boolean;
|
|
11
|
-
maxUsage: number | null;
|
|
12
|
-
maxUsagePerUser: number | null;
|
|
13
|
-
activationIntervalInSecond: number | null;
|
|
14
|
-
description: string | null;
|
|
15
|
-
updatedAt?: Date;
|
|
16
|
-
createdAt?: Date;
|
|
17
|
-
giftCodeActivation?: IGiftCodeActivation[];
|
|
18
|
-
}
|
|
1
|
+
import { GiftCodeType } from '../../enum';
|
|
2
|
+
import { IGiftCodeActivation } from './gift-code-activation.model';
|
|
3
|
+
export interface IGiftCode {
|
|
4
|
+
id?: string;
|
|
5
|
+
code: string;
|
|
6
|
+
amount: number;
|
|
7
|
+
type: GiftCodeType;
|
|
8
|
+
startDate: Date | null;
|
|
9
|
+
endDate: Date | null;
|
|
10
|
+
isActivated: boolean;
|
|
11
|
+
maxUsage: number | null;
|
|
12
|
+
maxUsagePerUser: number | null;
|
|
13
|
+
activationIntervalInSecond: number | null;
|
|
14
|
+
description: string | null;
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
createdAt?: Date;
|
|
17
|
+
giftCodeActivation?: IGiftCodeActivation[];
|
|
18
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NewsletterType } from '../../enum';
|
|
2
|
-
export interface INewsletterHistory {
|
|
3
|
-
id?: string;
|
|
4
|
-
newsletterType: NewsletterType;
|
|
5
|
-
email: string;
|
|
6
|
-
updatedAt?: Date;
|
|
7
|
-
createdAt?: Date;
|
|
8
|
-
}
|
|
1
|
+
import { NewsletterType } from '../../enum';
|
|
2
|
+
export interface INewsletterHistory {
|
|
3
|
+
id?: string;
|
|
4
|
+
newsletterType: NewsletterType;
|
|
5
|
+
email: string;
|
|
6
|
+
updatedAt?: Date;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface INewsletterMember {
|
|
2
|
-
id?: string;
|
|
3
|
-
email: string;
|
|
4
|
-
updatedAt?: Date;
|
|
5
|
-
createdAt?: Date;
|
|
6
|
-
deletedAt?: Date | null;
|
|
7
|
-
}
|
|
1
|
+
export interface INewsletterMember {
|
|
2
|
+
id?: string;
|
|
3
|
+
email: string;
|
|
4
|
+
updatedAt?: Date;
|
|
5
|
+
createdAt?: Date;
|
|
6
|
+
deletedAt?: Date | null;
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IUser } from '..';
|
|
2
|
-
import { OAuthAccountType } from '../..';
|
|
3
|
-
export interface IOAuthAccount {
|
|
4
|
-
id?: string;
|
|
5
|
-
type: OAuthAccountType;
|
|
6
|
-
accountId: string;
|
|
7
|
-
username: string;
|
|
8
|
-
accessToken: string;
|
|
9
|
-
expiresIn: number;
|
|
10
|
-
refreshToken: string;
|
|
11
|
-
scope: string;
|
|
12
|
-
userId: string;
|
|
13
|
-
isValid?: boolean;
|
|
14
|
-
updatedAt?: Date;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
user?: IUser;
|
|
17
|
-
}
|
|
1
|
+
import { IUser } from '..';
|
|
2
|
+
import { OAuthAccountType } from '../..';
|
|
3
|
+
export interface IOAuthAccount {
|
|
4
|
+
id?: string;
|
|
5
|
+
type: OAuthAccountType;
|
|
6
|
+
accountId: string;
|
|
7
|
+
username: string;
|
|
8
|
+
accessToken: string;
|
|
9
|
+
expiresIn: number;
|
|
10
|
+
refreshToken: string;
|
|
11
|
+
scope: string;
|
|
12
|
+
userId: string;
|
|
13
|
+
isValid?: boolean;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
user?: IUser;
|
|
17
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ProjectAccessPermission } from '../../enum';
|
|
2
|
-
import { IProjectApplicationAccess } from './project-application-access.model';
|
|
3
|
-
import { IProject } from './project.model';
|
|
4
|
-
import { IUser } from './user.model';
|
|
5
|
-
export interface IProjectAccess {
|
|
6
|
-
id?: string;
|
|
7
|
-
permission: ProjectAccessPermission[];
|
|
8
|
-
apiKey: string | null;
|
|
9
|
-
userId: string | null;
|
|
10
|
-
projectId: string;
|
|
11
|
-
name: string;
|
|
12
|
-
description: string | null;
|
|
13
|
-
isConfirmed: boolean;
|
|
14
|
-
updatedAt?: Date;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
project?: IProject;
|
|
17
|
-
user?: IUser | null;
|
|
18
|
-
projectApplicationAccess?: IProjectApplicationAccess[];
|
|
19
|
-
}
|
|
1
|
+
import { ProjectAccessPermission } from '../../enum';
|
|
2
|
+
import { IProjectApplicationAccess } from './project-application-access.model';
|
|
3
|
+
import { IProject } from './project.model';
|
|
4
|
+
import { IUser } from './user.model';
|
|
5
|
+
export interface IProjectAccess {
|
|
6
|
+
id?: string;
|
|
7
|
+
permission: ProjectAccessPermission[];
|
|
8
|
+
apiKey: string | null;
|
|
9
|
+
userId: string | null;
|
|
10
|
+
projectId: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
isConfirmed: boolean;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
project?: IProject;
|
|
17
|
+
user?: IUser | null;
|
|
18
|
+
projectApplicationAccess?: IProjectApplicationAccess[];
|
|
19
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ProjectApplicationAccessPermission } from '../../enum';
|
|
2
|
-
import { IApplication } from './application.model';
|
|
3
|
-
import { IProjectAccess } from './project-access.model';
|
|
4
|
-
export interface IProjectApplicationAccess {
|
|
5
|
-
id?: string;
|
|
6
|
-
permission: ProjectApplicationAccessPermission[];
|
|
7
|
-
projectAccessId: string;
|
|
8
|
-
applicationId: string;
|
|
9
|
-
updatedAt?: Date;
|
|
10
|
-
createdAt?: Date;
|
|
11
|
-
projectAccess?: IProjectAccess;
|
|
12
|
-
application?: IApplication;
|
|
13
|
-
}
|
|
1
|
+
import { ProjectApplicationAccessPermission } from '../../enum';
|
|
2
|
+
import { IApplication } from './application.model';
|
|
3
|
+
import { IProjectAccess } from './project-access.model';
|
|
4
|
+
export interface IProjectApplicationAccess {
|
|
5
|
+
id?: string;
|
|
6
|
+
permission: ProjectApplicationAccessPermission[];
|
|
7
|
+
projectAccessId: string;
|
|
8
|
+
applicationId: string;
|
|
9
|
+
updatedAt?: Date;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
projectAccess?: IProjectAccess;
|
|
12
|
+
application?: IApplication;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IProjectAuthentication } from './project-authentication.model';
|
|
2
|
-
export interface IProjectAuthenticationSession {
|
|
3
|
-
id?: string;
|
|
4
|
-
token: string;
|
|
5
|
-
projectAuthenticationId: string;
|
|
6
|
-
expiredAt: Date;
|
|
7
|
-
updatedAt?: Date;
|
|
8
|
-
createdAt?: Date;
|
|
9
|
-
projectAuthentication?: IProjectAuthentication;
|
|
10
|
-
}
|
|
1
|
+
import { IProjectAuthentication } from './project-authentication.model';
|
|
2
|
+
export interface IProjectAuthenticationSession {
|
|
3
|
+
id?: string;
|
|
4
|
+
token: string;
|
|
5
|
+
projectAuthenticationId: string;
|
|
6
|
+
expiredAt: Date;
|
|
7
|
+
updatedAt?: Date;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
projectAuthentication?: IProjectAuthentication;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IProject } from './project.model';
|
|
2
|
-
export interface IProjectAuthentication {
|
|
3
|
-
id?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
secret: string;
|
|
6
|
-
projectId: string;
|
|
7
|
-
updatedAt?: Date;
|
|
8
|
-
createdAt?: Date;
|
|
9
|
-
project?: IProject;
|
|
10
|
-
}
|
|
1
|
+
import { IProject } from './project.model';
|
|
2
|
+
export interface IProjectAuthentication {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
secret: string;
|
|
6
|
+
projectId: string;
|
|
7
|
+
updatedAt?: Date;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
project?: IProject;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IUser } from './user.model';
|
|
2
|
-
import { IProjectAuthentication } from './project-authentication.model';
|
|
3
|
-
import { IProjectAccess } from './project-access.model';
|
|
4
|
-
import { IApplication } from './application.model';
|
|
5
|
-
import { ISubscription } from './subscription.model';
|
|
6
|
-
import { IUserTransaction } from './user-transaction.model';
|
|
7
|
-
export interface IProject {
|
|
8
|
-
id?: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string | null;
|
|
11
|
-
userId: string;
|
|
12
|
-
updatedAt?: Date;
|
|
13
|
-
createdAt?: Date;
|
|
14
|
-
user?: IUser;
|
|
15
|
-
projectAccess?: IProjectAccess[];
|
|
16
|
-
projectAuthentication?: IProjectAuthentication[];
|
|
17
|
-
application?: IApplication[];
|
|
18
|
-
subscription?: ISubscription | null;
|
|
19
|
-
userTransaction?: IUserTransaction[];
|
|
20
|
-
}
|
|
1
|
+
import { IUser } from './user.model';
|
|
2
|
+
import { IProjectAuthentication } from './project-authentication.model';
|
|
3
|
+
import { IProjectAccess } from './project-access.model';
|
|
4
|
+
import { IApplication } from './application.model';
|
|
5
|
+
import { ISubscription } from './subscription.model';
|
|
6
|
+
import { IUserTransaction } from './user-transaction.model';
|
|
7
|
+
export interface IProject {
|
|
8
|
+
id?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description: string | null;
|
|
11
|
+
userId: string;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
user?: IUser;
|
|
15
|
+
projectAccess?: IProjectAccess[];
|
|
16
|
+
projectAuthentication?: IProjectAuthentication[];
|
|
17
|
+
application?: IApplication[];
|
|
18
|
+
subscription?: ISubscription | null;
|
|
19
|
+
userTransaction?: IUserTransaction[];
|
|
20
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { SubscriptionLevel } from '../../enum';
|
|
2
|
-
import { IProject } from './project.model';
|
|
3
|
-
import { IUser } from './user.model';
|
|
4
|
-
export interface ISubscription {
|
|
5
|
-
id?: string;
|
|
6
|
-
level: SubscriptionLevel;
|
|
7
|
-
userId: string | null;
|
|
8
|
-
projectId: string | null;
|
|
9
|
-
isAutoRenewEnabled: boolean;
|
|
10
|
-
lastRenewDate: Date | null;
|
|
11
|
-
endDate: Date;
|
|
12
|
-
updatedAt?: Date;
|
|
13
|
-
createdAt?: Date;
|
|
14
|
-
project?: IProject | null;
|
|
15
|
-
user?: IUser | null;
|
|
16
|
-
}
|
|
1
|
+
import { SubscriptionLevel } from '../../enum';
|
|
2
|
+
import { IProject } from './project.model';
|
|
3
|
+
import { IUser } from './user.model';
|
|
4
|
+
export interface ISubscription {
|
|
5
|
+
id?: string;
|
|
6
|
+
level: SubscriptionLevel;
|
|
7
|
+
userId: string | null;
|
|
8
|
+
projectId: string | null;
|
|
9
|
+
isAutoRenewEnabled: boolean;
|
|
10
|
+
lastRenewDate: Date | null;
|
|
11
|
+
endDate: Date;
|
|
12
|
+
updatedAt?: Date;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
project?: IProject | null;
|
|
15
|
+
user?: IUser | null;
|
|
16
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { ProjectAccessPermission, ProjectApplicationAccessPermission, TokenType } from '../../enum';
|
|
2
|
-
export interface ITokenHistory {
|
|
3
|
-
id?: string;
|
|
4
|
-
token: string;
|
|
5
|
-
type: TokenType;
|
|
6
|
-
metadata: TokenHistoryMetadata | null;
|
|
7
|
-
updatedAt?: Date;
|
|
8
|
-
createdAt?: Date;
|
|
9
|
-
}
|
|
10
|
-
export type TokenHistoryMetadata = TokenHistoryMetadataUserInvitationInternal;
|
|
11
|
-
export type TokenHistoryMetadataUserInvitationInternal = {
|
|
12
|
-
projectInvitation?: TokenHistoryMetadataProject & TokenHistoryMetadataExtendsUserInvitation;
|
|
13
|
-
cloudInvitation?: TokenHistoryMetadataCloud & TokenHistoryMetadataExtendsUserInvitation;
|
|
14
|
-
eventInvitation?: TokenHistoryMetadataEvent & TokenHistoryMetadataExtendsUserInvitation;
|
|
15
|
-
};
|
|
16
|
-
export type TokenHistoryMetadataUserInvitation = {
|
|
17
|
-
projectInvitation?: TokenHistoryMetadataProject;
|
|
18
|
-
cloudInvitation?: TokenHistoryMetadataCloud;
|
|
19
|
-
eventInvitation?: TokenHistoryMetadataEvent;
|
|
20
|
-
};
|
|
21
|
-
export type TokenHistoryMetadataProject = {
|
|
22
|
-
projectId: string;
|
|
23
|
-
name: string;
|
|
24
|
-
description?: string | null;
|
|
25
|
-
permission: ProjectAccessPermission[];
|
|
26
|
-
projectApplicationAccess: {
|
|
27
|
-
permission: ProjectApplicationAccessPermission[];
|
|
28
|
-
applicationId: string;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
export type TokenHistoryMetadataCloud = {
|
|
32
|
-
cloudId: string;
|
|
33
|
-
name: string;
|
|
34
|
-
startDate?: Date | null;
|
|
35
|
-
endDate?: Date | null;
|
|
36
|
-
description?: string | null;
|
|
37
|
-
};
|
|
38
|
-
export type TokenHistoryMetadataEvent = {
|
|
39
|
-
eventId: string;
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
export type TokenHistoryMetadataExtendsUserInvitation = {
|
|
43
|
-
inviterId: string;
|
|
44
|
-
};
|
|
1
|
+
import { ProjectAccessPermission, ProjectApplicationAccessPermission, TokenType } from '../../enum';
|
|
2
|
+
export interface ITokenHistory {
|
|
3
|
+
id?: string;
|
|
4
|
+
token: string;
|
|
5
|
+
type: TokenType;
|
|
6
|
+
metadata: TokenHistoryMetadata | null;
|
|
7
|
+
updatedAt?: Date;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
}
|
|
10
|
+
export type TokenHistoryMetadata = TokenHistoryMetadataUserInvitationInternal;
|
|
11
|
+
export type TokenHistoryMetadataUserInvitationInternal = {
|
|
12
|
+
projectInvitation?: TokenHistoryMetadataProject & TokenHistoryMetadataExtendsUserInvitation;
|
|
13
|
+
cloudInvitation?: TokenHistoryMetadataCloud & TokenHistoryMetadataExtendsUserInvitation;
|
|
14
|
+
eventInvitation?: TokenHistoryMetadataEvent & TokenHistoryMetadataExtendsUserInvitation;
|
|
15
|
+
};
|
|
16
|
+
export type TokenHistoryMetadataUserInvitation = {
|
|
17
|
+
projectInvitation?: TokenHistoryMetadataProject;
|
|
18
|
+
cloudInvitation?: TokenHistoryMetadataCloud;
|
|
19
|
+
eventInvitation?: TokenHistoryMetadataEvent;
|
|
20
|
+
};
|
|
21
|
+
export type TokenHistoryMetadataProject = {
|
|
22
|
+
projectId: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description?: string | null;
|
|
25
|
+
permission: ProjectAccessPermission[];
|
|
26
|
+
projectApplicationAccess: {
|
|
27
|
+
permission: ProjectApplicationAccessPermission[];
|
|
28
|
+
applicationId: string;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
export type TokenHistoryMetadataCloud = {
|
|
32
|
+
cloudId: string;
|
|
33
|
+
name: string;
|
|
34
|
+
startDate?: Date | null;
|
|
35
|
+
endDate?: Date | null;
|
|
36
|
+
description?: string | null;
|
|
37
|
+
};
|
|
38
|
+
export type TokenHistoryMetadataEvent = {
|
|
39
|
+
eventId: string;
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
export type TokenHistoryMetadataExtendsUserInvitation = {
|
|
43
|
+
inviterId: string;
|
|
44
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { UserCreditPurchaseCurrency, UserCreditPurchasePaymentMethod, UserCreditPurchasePlatform } from '../../enum';
|
|
2
|
-
import { IUserTransaction } from './user-transaction.model';
|
|
3
|
-
import { IUser } from './user.model';
|
|
4
|
-
export interface IUserCreditPurchase {
|
|
5
|
-
id?: string;
|
|
6
|
-
commentary: string | null;
|
|
7
|
-
platform: UserCreditPurchasePlatform;
|
|
8
|
-
paymentMethod: UserCreditPurchasePaymentMethod;
|
|
9
|
-
currency: UserCreditPurchaseCurrency;
|
|
10
|
-
amount: number;
|
|
11
|
-
metadata: Record<string, unknown>;
|
|
12
|
-
adminId: string | null;
|
|
13
|
-
userId: string;
|
|
14
|
-
userTransactionId: string;
|
|
15
|
-
refundUserTransactionId: string;
|
|
16
|
-
updatedAt?: Date;
|
|
17
|
-
createdAt?: Date;
|
|
18
|
-
user?: IUser;
|
|
19
|
-
admin?: IUser;
|
|
20
|
-
userTransaction?: IUserTransaction;
|
|
21
|
-
refundUserTransaction?: IUserTransaction;
|
|
22
|
-
}
|
|
1
|
+
import { UserCreditPurchaseCurrency, UserCreditPurchasePaymentMethod, UserCreditPurchasePlatform } from '../../enum';
|
|
2
|
+
import { IUserTransaction } from './user-transaction.model';
|
|
3
|
+
import { IUser } from './user.model';
|
|
4
|
+
export interface IUserCreditPurchase {
|
|
5
|
+
id?: string;
|
|
6
|
+
commentary: string | null;
|
|
7
|
+
platform: UserCreditPurchasePlatform;
|
|
8
|
+
paymentMethod: UserCreditPurchasePaymentMethod;
|
|
9
|
+
currency: UserCreditPurchaseCurrency;
|
|
10
|
+
amount: number;
|
|
11
|
+
metadata: Record<string, unknown>;
|
|
12
|
+
adminId: string | null;
|
|
13
|
+
userId: string;
|
|
14
|
+
userTransactionId: string;
|
|
15
|
+
refundUserTransactionId: string;
|
|
16
|
+
updatedAt?: Date;
|
|
17
|
+
createdAt?: Date;
|
|
18
|
+
user?: IUser;
|
|
19
|
+
admin?: IUser;
|
|
20
|
+
userTransaction?: IUserTransaction;
|
|
21
|
+
refundUserTransaction?: IUserTransaction;
|
|
22
|
+
}
|