@abyss-project/main 1.0.9 → 1.0.11
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 -89
- 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 +39 -39
- package/dist/types/enum/api-error.enum.js +44 -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 +32 -32
- package/dist/types/interface/api/requests/project.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project.request.d.ts +60 -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,36 +1,36 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { AbyssService } from '../../../enum';
|
|
4
|
-
export interface IGetApplicationAdminParams extends core.ParamsDictionary {
|
|
5
|
-
applicationId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IGetProjectApplicationAdminParams extends core.ParamsDictionary {
|
|
8
|
-
applicationId: string;
|
|
9
|
-
}
|
|
10
|
-
export type IPaginateApplicationAdminQuery = {
|
|
11
|
-
projectId?: string[];
|
|
12
|
-
service?: AbyssService[];
|
|
13
|
-
} & QueryPaginate;
|
|
14
|
-
export interface ICreateApplicationAdminParams extends core.ParamsDictionary {
|
|
15
|
-
projectId: string;
|
|
16
|
-
}
|
|
17
|
-
export type ICreateApplicationAdminBody = {
|
|
18
|
-
name: string;
|
|
19
|
-
description?: string | null;
|
|
20
|
-
};
|
|
21
|
-
export interface IDeleteApplicationAdminParams extends core.ParamsDictionary {
|
|
22
|
-
applicationId: string;
|
|
23
|
-
}
|
|
24
|
-
export interface IUpdateApplicationAdminParams extends core.ParamsDictionary {
|
|
25
|
-
applicationId: string;
|
|
26
|
-
}
|
|
27
|
-
export type IUpdateApplicationAdminBody = {
|
|
28
|
-
name?: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
};
|
|
31
|
-
export interface IActivateServiceApplicationAdminParams extends core.ParamsDictionary {
|
|
32
|
-
applicationId: string;
|
|
33
|
-
}
|
|
34
|
-
export type IActivateServiceApplicationAdminBody = {
|
|
35
|
-
service: AbyssService;
|
|
36
|
-
};
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { AbyssService } from '../../../enum';
|
|
4
|
+
export interface IGetApplicationAdminParams extends core.ParamsDictionary {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetProjectApplicationAdminParams extends core.ParamsDictionary {
|
|
8
|
+
applicationId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateApplicationAdminQuery = {
|
|
11
|
+
projectId?: string[];
|
|
12
|
+
service?: AbyssService[];
|
|
13
|
+
} & QueryPaginate;
|
|
14
|
+
export interface ICreateApplicationAdminParams extends core.ParamsDictionary {
|
|
15
|
+
projectId: string;
|
|
16
|
+
}
|
|
17
|
+
export type ICreateApplicationAdminBody = {
|
|
18
|
+
name: string;
|
|
19
|
+
description?: string | null;
|
|
20
|
+
};
|
|
21
|
+
export interface IDeleteApplicationAdminParams extends core.ParamsDictionary {
|
|
22
|
+
applicationId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateApplicationAdminParams extends core.ParamsDictionary {
|
|
25
|
+
applicationId: string;
|
|
26
|
+
}
|
|
27
|
+
export type IUpdateApplicationAdminBody = {
|
|
28
|
+
name?: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
};
|
|
31
|
+
export interface IActivateServiceApplicationAdminParams extends core.ParamsDictionary {
|
|
32
|
+
applicationId: string;
|
|
33
|
+
}
|
|
34
|
+
export type IActivateServiceApplicationAdminBody = {
|
|
35
|
+
service: AbyssService;
|
|
36
|
+
};
|
|
@@ -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,34 +1,34 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { AbyssService } from '../../../enum';
|
|
3
|
-
export interface IGetApplicationParams extends core.ParamsDictionary {
|
|
4
|
-
applicationId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IListApplicationParams extends core.ParamsDictionary {
|
|
7
|
-
projectId: string;
|
|
8
|
-
}
|
|
9
|
-
export type IListApplicationQuery = {
|
|
10
|
-
service?: AbyssService[];
|
|
11
|
-
};
|
|
12
|
-
export interface ICreateApplicationParams extends core.ParamsDictionary {
|
|
13
|
-
projectId: string;
|
|
14
|
-
}
|
|
15
|
-
export type ICreateApplicationBody = {
|
|
16
|
-
name: string;
|
|
17
|
-
description?: string | null;
|
|
18
|
-
};
|
|
19
|
-
export interface IDeleteApplicationParams extends core.ParamsDictionary {
|
|
20
|
-
applicationId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IUpdateApplicationParams extends core.ParamsDictionary {
|
|
23
|
-
applicationId: string;
|
|
24
|
-
}
|
|
25
|
-
export type IUpdateApplicationBody = {
|
|
26
|
-
name?: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
};
|
|
29
|
-
export interface IActivateServiceApplicationParams extends core.ParamsDictionary {
|
|
30
|
-
applicationId: string;
|
|
31
|
-
}
|
|
32
|
-
export type IActivateServiceApplicationBody = {
|
|
33
|
-
service: AbyssService;
|
|
34
|
-
};
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { AbyssService } from '../../../enum';
|
|
3
|
+
export interface IGetApplicationParams extends core.ParamsDictionary {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IListApplicationParams extends core.ParamsDictionary {
|
|
7
|
+
projectId: string;
|
|
8
|
+
}
|
|
9
|
+
export type IListApplicationQuery = {
|
|
10
|
+
service?: AbyssService[];
|
|
11
|
+
};
|
|
12
|
+
export interface ICreateApplicationParams extends core.ParamsDictionary {
|
|
13
|
+
projectId: string;
|
|
14
|
+
}
|
|
15
|
+
export type ICreateApplicationBody = {
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
};
|
|
19
|
+
export interface IDeleteApplicationParams extends core.ParamsDictionary {
|
|
20
|
+
applicationId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IUpdateApplicationParams extends core.ParamsDictionary {
|
|
23
|
+
applicationId: string;
|
|
24
|
+
}
|
|
25
|
+
export type IUpdateApplicationBody = {
|
|
26
|
+
name?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
};
|
|
29
|
+
export interface IActivateServiceApplicationParams extends core.ParamsDictionary {
|
|
30
|
+
applicationId: string;
|
|
31
|
+
}
|
|
32
|
+
export type IActivateServiceApplicationBody = {
|
|
33
|
+
service: AbyssService;
|
|
34
|
+
};
|
|
@@ -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,40 +1,40 @@
|
|
|
1
|
-
import { AbyssService, UserLanguage } from '../../../enum';
|
|
2
|
-
import { OAuthAccountType } from '../../../enum/oauth-account-type.enum';
|
|
3
|
-
export interface ILoginAuthBody {
|
|
4
|
-
email: string;
|
|
5
|
-
password: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ISignupAuthBody {
|
|
8
|
-
email: string;
|
|
9
|
-
password: string;
|
|
10
|
-
alias?: string;
|
|
11
|
-
sponsorId?: string;
|
|
12
|
-
language?: UserLanguage;
|
|
13
|
-
invitationTokenId?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IOAuthAuthBody {
|
|
16
|
-
code: string;
|
|
17
|
-
type: OAuthAccountType;
|
|
18
|
-
sponsorId?: string;
|
|
19
|
-
invitationTokenId?: string;
|
|
20
|
-
language?: UserLanguage;
|
|
21
|
-
}
|
|
22
|
-
export interface ISendEmailVerificationAuthBody {
|
|
23
|
-
email: string;
|
|
24
|
-
password: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IVerifyEmailAuthQuery {
|
|
27
|
-
token: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ISendEmailResetPasswordAuthBody {
|
|
30
|
-
email: string;
|
|
31
|
-
}
|
|
32
|
-
export interface IResetPasswordAuthQuery {
|
|
33
|
-
token: string;
|
|
34
|
-
}
|
|
35
|
-
export interface IResetPasswordAuthBody {
|
|
36
|
-
password: string;
|
|
37
|
-
}
|
|
38
|
-
export interface IActivateServiceAuthQuery {
|
|
39
|
-
service: Omit<AbyssService, AbyssService.ABYSS | AbyssService.ABYSS_MONITOR | AbyssService.ABYSS_STORAGE>;
|
|
40
|
-
}
|
|
1
|
+
import { AbyssService, UserLanguage } from '../../../enum';
|
|
2
|
+
import { OAuthAccountType } from '../../../enum/oauth-account-type.enum';
|
|
3
|
+
export interface ILoginAuthBody {
|
|
4
|
+
email: string;
|
|
5
|
+
password: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ISignupAuthBody {
|
|
8
|
+
email: string;
|
|
9
|
+
password: string;
|
|
10
|
+
alias?: string;
|
|
11
|
+
sponsorId?: string;
|
|
12
|
+
language?: UserLanguage;
|
|
13
|
+
invitationTokenId?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IOAuthAuthBody {
|
|
16
|
+
code: string;
|
|
17
|
+
type: OAuthAccountType;
|
|
18
|
+
sponsorId?: string;
|
|
19
|
+
invitationTokenId?: string;
|
|
20
|
+
language?: UserLanguage;
|
|
21
|
+
}
|
|
22
|
+
export interface ISendEmailVerificationAuthBody {
|
|
23
|
+
email: string;
|
|
24
|
+
password: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IVerifyEmailAuthQuery {
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ISendEmailResetPasswordAuthBody {
|
|
30
|
+
email: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IResetPasswordAuthQuery {
|
|
33
|
+
token: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IResetPasswordAuthBody {
|
|
36
|
+
password: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IActivateServiceAuthQuery {
|
|
39
|
+
service: Omit<AbyssService, AbyssService.ABYSS | AbyssService.ABYSS_MONITOR | AbyssService.ABYSS_STORAGE>;
|
|
40
|
+
}
|
|
@@ -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,9 +1,9 @@
|
|
|
1
|
-
import { BillingProduct } from '../../../enum';
|
|
2
|
-
export interface IBuyCreditStripeBillingBody {
|
|
3
|
-
product: BillingProduct;
|
|
4
|
-
redirectUri?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IBuyCreditFreePickStripeBillingBody {
|
|
7
|
-
amount: number;
|
|
8
|
-
redirectUri?: string;
|
|
9
|
-
}
|
|
1
|
+
import { BillingProduct } from '../../../enum';
|
|
2
|
+
export interface IBuyCreditStripeBillingBody {
|
|
3
|
+
product: BillingProduct;
|
|
4
|
+
redirectUri?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IBuyCreditFreePickStripeBillingBody {
|
|
7
|
+
amount: number;
|
|
8
|
+
redirectUri?: string;
|
|
9
|
+
}
|
|
@@ -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,53 +1,53 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { GiftCodeType } from '../../../enum';
|
|
3
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
4
|
-
export type IPaginateGiftCodeAdminQuery = {
|
|
5
|
-
code?: string;
|
|
6
|
-
type?: GiftCodeType[];
|
|
7
|
-
isActivated?: boolean;
|
|
8
|
-
} & QueryPaginate;
|
|
9
|
-
export type IPaginateGiftCodeActivationAdminQuery = {
|
|
10
|
-
codeId?: string;
|
|
11
|
-
code?: string;
|
|
12
|
-
type?: GiftCodeType[];
|
|
13
|
-
userId?: string;
|
|
14
|
-
} & QueryPaginate;
|
|
15
|
-
export interface IGetGiftCodeAdminParams extends core.ParamsDictionary {
|
|
16
|
-
giftCodeId: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IUseGiftCodeAdminParams extends core.ParamsDictionary {
|
|
19
|
-
userId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface IUseGiftCodeAdminQuery {
|
|
22
|
-
code: string;
|
|
23
|
-
}
|
|
24
|
-
export type ICreateGiftCodeAdminBody = {
|
|
25
|
-
code: string;
|
|
26
|
-
amount: number;
|
|
27
|
-
type: GiftCodeType;
|
|
28
|
-
startDate: Date | null;
|
|
29
|
-
endDate: Date | null;
|
|
30
|
-
isActivated: boolean;
|
|
31
|
-
maxUsage: number | null;
|
|
32
|
-
maxUsagePerUser: number | null;
|
|
33
|
-
activationIntervalInSecond: number | null;
|
|
34
|
-
description?: string | null;
|
|
35
|
-
};
|
|
36
|
-
export interface IDeleteGiftCodeAdminParams extends core.ParamsDictionary {
|
|
37
|
-
giftCodeId: string;
|
|
38
|
-
}
|
|
39
|
-
export interface IUpdateGiftCodeAdminParams extends core.ParamsDictionary {
|
|
40
|
-
giftCodeId: string;
|
|
41
|
-
}
|
|
42
|
-
export type IUpdateGiftCodeAdminBody = {
|
|
43
|
-
code?: string;
|
|
44
|
-
amount?: number;
|
|
45
|
-
type?: GiftCodeType;
|
|
46
|
-
startDate?: Date | null;
|
|
47
|
-
endDate?: Date | null;
|
|
48
|
-
isActivated?: boolean;
|
|
49
|
-
maxUsage?: number | null;
|
|
50
|
-
maxUsagePerUser?: number | null;
|
|
51
|
-
activationIntervalInSecond?: number | null;
|
|
52
|
-
description?: string | null;
|
|
53
|
-
};
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { GiftCodeType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
4
|
+
export type IPaginateGiftCodeAdminQuery = {
|
|
5
|
+
code?: string;
|
|
6
|
+
type?: GiftCodeType[];
|
|
7
|
+
isActivated?: boolean;
|
|
8
|
+
} & QueryPaginate;
|
|
9
|
+
export type IPaginateGiftCodeActivationAdminQuery = {
|
|
10
|
+
codeId?: string;
|
|
11
|
+
code?: string;
|
|
12
|
+
type?: GiftCodeType[];
|
|
13
|
+
userId?: string;
|
|
14
|
+
} & QueryPaginate;
|
|
15
|
+
export interface IGetGiftCodeAdminParams extends core.ParamsDictionary {
|
|
16
|
+
giftCodeId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IUseGiftCodeAdminParams extends core.ParamsDictionary {
|
|
19
|
+
userId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IUseGiftCodeAdminQuery {
|
|
22
|
+
code: string;
|
|
23
|
+
}
|
|
24
|
+
export type ICreateGiftCodeAdminBody = {
|
|
25
|
+
code: string;
|
|
26
|
+
amount: number;
|
|
27
|
+
type: GiftCodeType;
|
|
28
|
+
startDate: Date | null;
|
|
29
|
+
endDate: Date | null;
|
|
30
|
+
isActivated: boolean;
|
|
31
|
+
maxUsage: number | null;
|
|
32
|
+
maxUsagePerUser: number | null;
|
|
33
|
+
activationIntervalInSecond: number | null;
|
|
34
|
+
description?: string | null;
|
|
35
|
+
};
|
|
36
|
+
export interface IDeleteGiftCodeAdminParams extends core.ParamsDictionary {
|
|
37
|
+
giftCodeId: string;
|
|
38
|
+
}
|
|
39
|
+
export interface IUpdateGiftCodeAdminParams extends core.ParamsDictionary {
|
|
40
|
+
giftCodeId: string;
|
|
41
|
+
}
|
|
42
|
+
export type IUpdateGiftCodeAdminBody = {
|
|
43
|
+
code?: string;
|
|
44
|
+
amount?: number;
|
|
45
|
+
type?: GiftCodeType;
|
|
46
|
+
startDate?: Date | null;
|
|
47
|
+
endDate?: Date | null;
|
|
48
|
+
isActivated?: boolean;
|
|
49
|
+
maxUsage?: number | null;
|
|
50
|
+
maxUsagePerUser?: number | null;
|
|
51
|
+
activationIntervalInSecond?: number | null;
|
|
52
|
+
description?: string | null;
|
|
53
|
+
};
|
|
@@ -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,12 +1,12 @@
|
|
|
1
|
-
import { GiftCodeType } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export interface ICheckGiftCodeQuery {
|
|
4
|
-
code: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IUseGiftCodeBody {
|
|
7
|
-
code: string;
|
|
8
|
-
}
|
|
9
|
-
export type IPaginateGiftCodeActivationQuery = {
|
|
10
|
-
code?: string;
|
|
11
|
-
type?: GiftCodeType[];
|
|
12
|
-
} & QueryPaginate;
|
|
1
|
+
import { GiftCodeType } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export interface ICheckGiftCodeQuery {
|
|
4
|
+
code: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IUseGiftCodeBody {
|
|
7
|
+
code: string;
|
|
8
|
+
}
|
|
9
|
+
export type IPaginateGiftCodeActivationQuery = {
|
|
10
|
+
code?: string;
|
|
11
|
+
type?: GiftCodeType[];
|
|
12
|
+
} & QueryPaginate;
|
|
@@ -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,21 +1,21 @@
|
|
|
1
|
-
import { NewsletterType } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export type IPaginateHistoryNewsletterAdminQuery = {
|
|
4
|
-
email?: string;
|
|
5
|
-
newsletterType?: NewsletterType[];
|
|
6
|
-
} & QueryPaginate;
|
|
7
|
-
export type IGetHistoryNewsletterAdminParams = {
|
|
8
|
-
newsletterHistoryId: string;
|
|
9
|
-
};
|
|
10
|
-
export type IPaginateMemberNewsletterAdminQuery = {
|
|
11
|
-
email?: string;
|
|
12
|
-
} & QueryPaginate;
|
|
13
|
-
export type IGetMemberNewsletterAdminParams = {
|
|
14
|
-
newsletterMemberId: string;
|
|
15
|
-
};
|
|
16
|
-
export type ISendNewsletterAdminBody = {
|
|
17
|
-
newsletterType: NewsletterType;
|
|
18
|
-
includeUsers: boolean;
|
|
19
|
-
includePublicNewsletter: boolean;
|
|
20
|
-
emails?: string[];
|
|
21
|
-
};
|
|
1
|
+
import { NewsletterType } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export type IPaginateHistoryNewsletterAdminQuery = {
|
|
4
|
+
email?: string;
|
|
5
|
+
newsletterType?: NewsletterType[];
|
|
6
|
+
} & QueryPaginate;
|
|
7
|
+
export type IGetHistoryNewsletterAdminParams = {
|
|
8
|
+
newsletterHistoryId: string;
|
|
9
|
+
};
|
|
10
|
+
export type IPaginateMemberNewsletterAdminQuery = {
|
|
11
|
+
email?: string;
|
|
12
|
+
} & QueryPaginate;
|
|
13
|
+
export type IGetMemberNewsletterAdminParams = {
|
|
14
|
+
newsletterMemberId: string;
|
|
15
|
+
};
|
|
16
|
+
export type ISendNewsletterAdminBody = {
|
|
17
|
+
newsletterType: NewsletterType;
|
|
18
|
+
includeUsers: boolean;
|
|
19
|
+
includePublicNewsletter: boolean;
|
|
20
|
+
emails?: string[];
|
|
21
|
+
};
|
|
@@ -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,80 +1,80 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { ProjectAccessPermission, ProjectApplicationAccessPermission } from '../../../enum';
|
|
4
|
-
export interface ICreateUserProjectAccessAdminParams extends core.ParamsDictionary {
|
|
5
|
-
projectId: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
}
|
|
8
|
-
export type ICreateUserProjectAccessAdminBody = {
|
|
9
|
-
name: string;
|
|
10
|
-
description?: string | null;
|
|
11
|
-
permission: ProjectAccessPermission[];
|
|
12
|
-
projectApplicationAccess: {
|
|
13
|
-
applicationId: string;
|
|
14
|
-
permission: ProjectApplicationAccessPermission[];
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
export interface ICreateProjectAccessAdminParams extends core.ParamsDictionary {
|
|
18
|
-
projectId: string;
|
|
19
|
-
}
|
|
20
|
-
export type ICreateProjectAccessAdminBody = {
|
|
21
|
-
name: string;
|
|
22
|
-
description?: string | null;
|
|
23
|
-
permission: ProjectAccessPermission[];
|
|
24
|
-
projectApplicationAccess: {
|
|
25
|
-
applicationId: string;
|
|
26
|
-
permission: ProjectApplicationAccessPermission[];
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
export interface IUpdateProjectAccessAdminParams extends core.ParamsDictionary {
|
|
30
|
-
projectAccessId: string;
|
|
31
|
-
}
|
|
32
|
-
export type IUpdateProjectAccessAdminBody = {
|
|
33
|
-
name?: string;
|
|
34
|
-
description?: string | null;
|
|
35
|
-
permission?: ProjectAccessPermission[];
|
|
36
|
-
};
|
|
37
|
-
export interface IUpsertApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
38
|
-
projectAccessId: string;
|
|
39
|
-
applicationId: string;
|
|
40
|
-
}
|
|
41
|
-
export type IUpsertApplicationProjectAccessAdminBody = {
|
|
42
|
-
permission?: ProjectApplicationAccessPermission[];
|
|
43
|
-
};
|
|
44
|
-
export interface IDeleteApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
45
|
-
projectAccessId: string;
|
|
46
|
-
applicationId: string;
|
|
47
|
-
}
|
|
48
|
-
export interface IResetApiKeyProjectAccessAdminParams extends core.ParamsDictionary {
|
|
49
|
-
projectAccessId: string;
|
|
50
|
-
}
|
|
51
|
-
export interface IDeleteProjectAccessAdminParams extends core.ParamsDictionary {
|
|
52
|
-
projectAccessId: string;
|
|
53
|
-
}
|
|
54
|
-
export interface IGetProjectAccessAdminParams extends core.ParamsDictionary {
|
|
55
|
-
projectAccessId: string;
|
|
56
|
-
}
|
|
57
|
-
export type IPaginateProjectAccessAdminQuery = {
|
|
58
|
-
userId?: string[];
|
|
59
|
-
projectId?: string[];
|
|
60
|
-
} & QueryPaginate;
|
|
61
|
-
export interface IComputeApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
62
|
-
applicationId: string;
|
|
63
|
-
}
|
|
64
|
-
export type IComputeApplicationProjectAccessAdminBody = {
|
|
65
|
-
apiKey: string;
|
|
66
|
-
} | {
|
|
67
|
-
userId: string;
|
|
68
|
-
};
|
|
69
|
-
export type IComputeNotificationAccessProjectAccessAdminBody = {
|
|
70
|
-
applicationId?: string;
|
|
71
|
-
projectId?: string;
|
|
72
|
-
};
|
|
73
|
-
export interface IComputeProjectAccessAdminParams extends core.ParamsDictionary {
|
|
74
|
-
projectId: string;
|
|
75
|
-
}
|
|
76
|
-
export type IComputeProjectAccessAdminBody = {
|
|
77
|
-
apiKey: string;
|
|
78
|
-
} | {
|
|
79
|
-
userId: string;
|
|
80
|
-
};
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { ProjectAccessPermission, ProjectApplicationAccessPermission } from '../../../enum';
|
|
4
|
+
export interface ICreateUserProjectAccessAdminParams extends core.ParamsDictionary {
|
|
5
|
+
projectId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
}
|
|
8
|
+
export type ICreateUserProjectAccessAdminBody = {
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
permission: ProjectAccessPermission[];
|
|
12
|
+
projectApplicationAccess: {
|
|
13
|
+
applicationId: string;
|
|
14
|
+
permission: ProjectApplicationAccessPermission[];
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export interface ICreateProjectAccessAdminParams extends core.ParamsDictionary {
|
|
18
|
+
projectId: string;
|
|
19
|
+
}
|
|
20
|
+
export type ICreateProjectAccessAdminBody = {
|
|
21
|
+
name: string;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
permission: ProjectAccessPermission[];
|
|
24
|
+
projectApplicationAccess: {
|
|
25
|
+
applicationId: string;
|
|
26
|
+
permission: ProjectApplicationAccessPermission[];
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export interface IUpdateProjectAccessAdminParams extends core.ParamsDictionary {
|
|
30
|
+
projectAccessId: string;
|
|
31
|
+
}
|
|
32
|
+
export type IUpdateProjectAccessAdminBody = {
|
|
33
|
+
name?: string;
|
|
34
|
+
description?: string | null;
|
|
35
|
+
permission?: ProjectAccessPermission[];
|
|
36
|
+
};
|
|
37
|
+
export interface IUpsertApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
38
|
+
projectAccessId: string;
|
|
39
|
+
applicationId: string;
|
|
40
|
+
}
|
|
41
|
+
export type IUpsertApplicationProjectAccessAdminBody = {
|
|
42
|
+
permission?: ProjectApplicationAccessPermission[];
|
|
43
|
+
};
|
|
44
|
+
export interface IDeleteApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
45
|
+
projectAccessId: string;
|
|
46
|
+
applicationId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IResetApiKeyProjectAccessAdminParams extends core.ParamsDictionary {
|
|
49
|
+
projectAccessId: string;
|
|
50
|
+
}
|
|
51
|
+
export interface IDeleteProjectAccessAdminParams extends core.ParamsDictionary {
|
|
52
|
+
projectAccessId: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IGetProjectAccessAdminParams extends core.ParamsDictionary {
|
|
55
|
+
projectAccessId: string;
|
|
56
|
+
}
|
|
57
|
+
export type IPaginateProjectAccessAdminQuery = {
|
|
58
|
+
userId?: string[];
|
|
59
|
+
projectId?: string[];
|
|
60
|
+
} & QueryPaginate;
|
|
61
|
+
export interface IComputeApplicationProjectAccessAdminParams extends core.ParamsDictionary {
|
|
62
|
+
applicationId: string;
|
|
63
|
+
}
|
|
64
|
+
export type IComputeApplicationProjectAccessAdminBody = {
|
|
65
|
+
apiKey: string;
|
|
66
|
+
} | {
|
|
67
|
+
userId: string;
|
|
68
|
+
};
|
|
69
|
+
export type IComputeNotificationAccessProjectAccessAdminBody = {
|
|
70
|
+
applicationId?: string;
|
|
71
|
+
projectId?: string;
|
|
72
|
+
};
|
|
73
|
+
export interface IComputeProjectAccessAdminParams extends core.ParamsDictionary {
|
|
74
|
+
projectId: string;
|
|
75
|
+
}
|
|
76
|
+
export type IComputeProjectAccessAdminBody = {
|
|
77
|
+
apiKey: string;
|
|
78
|
+
} | {
|
|
79
|
+
userId: string;
|
|
80
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|