@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,78 +1,78 @@
|
|
|
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 IGetProjectAccessParams extends core.ParamsDictionary {
|
|
5
|
-
projectId: string;
|
|
6
|
-
projectAccessId: string;
|
|
7
|
-
}
|
|
8
|
-
export type IPaginateUserAccessProjectAccessQuery = QueryPaginate;
|
|
9
|
-
export interface IPaginateProjectAccessParams extends core.ParamsDictionary {
|
|
10
|
-
projectId: string;
|
|
11
|
-
}
|
|
12
|
-
export type IPaginateProjectAccessQuery = {
|
|
13
|
-
onlyUserAccess?: boolean;
|
|
14
|
-
onlyApiKeyAccess?: boolean;
|
|
15
|
-
} & QueryPaginate;
|
|
16
|
-
export interface ICreateUserProjectAccessParams extends core.ParamsDictionary {
|
|
17
|
-
projectId: string;
|
|
18
|
-
userId: string;
|
|
19
|
-
}
|
|
20
|
-
export type ICreateUserProjectAccessBody = {
|
|
21
|
-
name: string;
|
|
22
|
-
description?: string | null;
|
|
23
|
-
permission: ProjectAccessPermission[];
|
|
24
|
-
projectApplicationAccess: {
|
|
25
|
-
applicationId: string;
|
|
26
|
-
permission: ProjectApplicationAccessPermission[];
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
export interface ICreateProjectAccessParams extends core.ParamsDictionary {
|
|
30
|
-
projectId: string;
|
|
31
|
-
}
|
|
32
|
-
export type ICreateProjectAccessBody = {
|
|
33
|
-
name: string;
|
|
34
|
-
description?: string | null;
|
|
35
|
-
permission: ProjectAccessPermission[];
|
|
36
|
-
projectApplicationAccess: {
|
|
37
|
-
applicationId: string;
|
|
38
|
-
permission: ProjectApplicationAccessPermission[];
|
|
39
|
-
}[];
|
|
40
|
-
};
|
|
41
|
-
export interface IUpdateProjectAccessParams extends core.ParamsDictionary {
|
|
42
|
-
projectId: string;
|
|
43
|
-
projectAccessId: string;
|
|
44
|
-
}
|
|
45
|
-
export type IUpdateProjectAccessBody = {
|
|
46
|
-
name?: string;
|
|
47
|
-
description?: string | null;
|
|
48
|
-
permission?: ProjectAccessPermission[];
|
|
49
|
-
};
|
|
50
|
-
export interface IUpsertApplicationProjectAccessParams extends core.ParamsDictionary {
|
|
51
|
-
projectId: string;
|
|
52
|
-
projectAccessId: string;
|
|
53
|
-
applicationId: string;
|
|
54
|
-
}
|
|
55
|
-
export type IUpsertApplicationProjectAccessBody = {
|
|
56
|
-
permission?: ProjectApplicationAccessPermission[];
|
|
57
|
-
};
|
|
58
|
-
export interface IDeleteApplicationProjectAccessParams extends core.ParamsDictionary {
|
|
59
|
-
projectId: string;
|
|
60
|
-
projectAccessId: string;
|
|
61
|
-
applicationId: string;
|
|
62
|
-
}
|
|
63
|
-
export interface IResetApiKeyProjectAccessParams extends core.ParamsDictionary {
|
|
64
|
-
projectId: string;
|
|
65
|
-
projectAccessId: string;
|
|
66
|
-
}
|
|
67
|
-
export interface IDeleteProjectAccessParams extends core.ParamsDictionary {
|
|
68
|
-
projectId: string;
|
|
69
|
-
projectAccessId: string;
|
|
70
|
-
}
|
|
71
|
-
export interface IConfirmUserProjectAccessParams extends core.ParamsDictionary {
|
|
72
|
-
projectId: string;
|
|
73
|
-
projectAccessId: string;
|
|
74
|
-
}
|
|
75
|
-
export interface IDeclineUserProjectAccessParams extends core.ParamsDictionary {
|
|
76
|
-
projectId: string;
|
|
77
|
-
projectAccessId: string;
|
|
78
|
-
}
|
|
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 IGetProjectAccessParams extends core.ParamsDictionary {
|
|
5
|
+
projectId: string;
|
|
6
|
+
projectAccessId: string;
|
|
7
|
+
}
|
|
8
|
+
export type IPaginateUserAccessProjectAccessQuery = QueryPaginate;
|
|
9
|
+
export interface IPaginateProjectAccessParams extends core.ParamsDictionary {
|
|
10
|
+
projectId: string;
|
|
11
|
+
}
|
|
12
|
+
export type IPaginateProjectAccessQuery = {
|
|
13
|
+
onlyUserAccess?: boolean;
|
|
14
|
+
onlyApiKeyAccess?: boolean;
|
|
15
|
+
} & QueryPaginate;
|
|
16
|
+
export interface ICreateUserProjectAccessParams extends core.ParamsDictionary {
|
|
17
|
+
projectId: string;
|
|
18
|
+
userId: string;
|
|
19
|
+
}
|
|
20
|
+
export type ICreateUserProjectAccessBody = {
|
|
21
|
+
name: string;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
permission: ProjectAccessPermission[];
|
|
24
|
+
projectApplicationAccess: {
|
|
25
|
+
applicationId: string;
|
|
26
|
+
permission: ProjectApplicationAccessPermission[];
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export interface ICreateProjectAccessParams extends core.ParamsDictionary {
|
|
30
|
+
projectId: string;
|
|
31
|
+
}
|
|
32
|
+
export type ICreateProjectAccessBody = {
|
|
33
|
+
name: string;
|
|
34
|
+
description?: string | null;
|
|
35
|
+
permission: ProjectAccessPermission[];
|
|
36
|
+
projectApplicationAccess: {
|
|
37
|
+
applicationId: string;
|
|
38
|
+
permission: ProjectApplicationAccessPermission[];
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
export interface IUpdateProjectAccessParams extends core.ParamsDictionary {
|
|
42
|
+
projectId: string;
|
|
43
|
+
projectAccessId: string;
|
|
44
|
+
}
|
|
45
|
+
export type IUpdateProjectAccessBody = {
|
|
46
|
+
name?: string;
|
|
47
|
+
description?: string | null;
|
|
48
|
+
permission?: ProjectAccessPermission[];
|
|
49
|
+
};
|
|
50
|
+
export interface IUpsertApplicationProjectAccessParams extends core.ParamsDictionary {
|
|
51
|
+
projectId: string;
|
|
52
|
+
projectAccessId: string;
|
|
53
|
+
applicationId: string;
|
|
54
|
+
}
|
|
55
|
+
export type IUpsertApplicationProjectAccessBody = {
|
|
56
|
+
permission?: ProjectApplicationAccessPermission[];
|
|
57
|
+
};
|
|
58
|
+
export interface IDeleteApplicationProjectAccessParams extends core.ParamsDictionary {
|
|
59
|
+
projectId: string;
|
|
60
|
+
projectAccessId: string;
|
|
61
|
+
applicationId: string;
|
|
62
|
+
}
|
|
63
|
+
export interface IResetApiKeyProjectAccessParams extends core.ParamsDictionary {
|
|
64
|
+
projectId: string;
|
|
65
|
+
projectAccessId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface IDeleteProjectAccessParams extends core.ParamsDictionary {
|
|
68
|
+
projectId: string;
|
|
69
|
+
projectAccessId: string;
|
|
70
|
+
}
|
|
71
|
+
export interface IConfirmUserProjectAccessParams extends core.ParamsDictionary {
|
|
72
|
+
projectId: string;
|
|
73
|
+
projectAccessId: string;
|
|
74
|
+
}
|
|
75
|
+
export interface IDeclineUserProjectAccessParams extends core.ParamsDictionary {
|
|
76
|
+
projectId: string;
|
|
77
|
+
projectAccessId: string;
|
|
78
|
+
}
|
|
@@ -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,32 +1,33 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
export interface IGetProjectAdminParams extends core.ParamsDictionary {
|
|
4
|
-
projectId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IListProjectAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
export type IPaginateProjectAdminQuery = {
|
|
10
|
-
name?: string;
|
|
11
|
-
userId?: string[];
|
|
12
|
-
} & QueryPaginate;
|
|
13
|
-
export type ICreateProjectAdminBody = {
|
|
14
|
-
name: string;
|
|
15
|
-
description?: string | null;
|
|
16
|
-
};
|
|
17
|
-
export interface ICreateProjectAdminParams extends core.ParamsDictionary {
|
|
18
|
-
userId: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IDeleteProjectAdminParams extends core.ParamsDictionary {
|
|
21
|
-
projectId: string;
|
|
22
|
-
}
|
|
23
|
-
export interface IDeleteProjectAdminQuery {
|
|
24
|
-
deleteSpotlightProject?: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
export interface IGetProjectAdminParams extends core.ParamsDictionary {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IListProjectAdminParams extends core.ParamsDictionary {
|
|
7
|
+
userId: string;
|
|
8
|
+
}
|
|
9
|
+
export type IPaginateProjectAdminQuery = {
|
|
10
|
+
name?: string;
|
|
11
|
+
userId?: string[];
|
|
12
|
+
} & QueryPaginate;
|
|
13
|
+
export type ICreateProjectAdminBody = {
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
};
|
|
17
|
+
export interface ICreateProjectAdminParams extends core.ParamsDictionary {
|
|
18
|
+
userId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IDeleteProjectAdminParams extends core.ParamsDictionary {
|
|
21
|
+
projectId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IDeleteProjectAdminQuery {
|
|
24
|
+
deleteSpotlightProject?: boolean;
|
|
25
|
+
deleteForm?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface IUpdateProjectAdminParams extends core.ParamsDictionary {
|
|
28
|
+
projectId: string;
|
|
29
|
+
}
|
|
30
|
+
export type IUpdateProjectAdminBody = {
|
|
31
|
+
name?: string;
|
|
32
|
+
description?: string | null;
|
|
33
|
+
};
|
|
@@ -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,60 +1,61 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { SubscriptionLevel, UserTransactionType } from '../../../enum';
|
|
4
|
-
export interface IGetProjectParams extends core.ParamsDictionary {
|
|
5
|
-
projectId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IGetMetricsProjectParams extends core.ParamsDictionary {
|
|
8
|
-
projectId: string;
|
|
9
|
-
}
|
|
10
|
-
export type IPaginateProjectQuery = {
|
|
11
|
-
name?: string;
|
|
12
|
-
} & QueryPaginate;
|
|
13
|
-
export interface IPaginateTransactionProjectParams extends core.ParamsDictionary {
|
|
14
|
-
projectId: string;
|
|
15
|
-
}
|
|
16
|
-
export type IPaginateTransactionProjectQuery = {
|
|
17
|
-
type?: UserTransactionType[];
|
|
18
|
-
} & QueryPaginate;
|
|
19
|
-
export type ICreateProjectBody = {
|
|
20
|
-
name: string;
|
|
21
|
-
description?: string | null;
|
|
22
|
-
};
|
|
23
|
-
export interface IDeleteProjectParams extends core.ParamsDictionary {
|
|
24
|
-
projectId: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IDeleteProjectQuery {
|
|
27
|
-
deleteSpotlightProject?: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { SubscriptionLevel, UserTransactionType } from '../../../enum';
|
|
4
|
+
export interface IGetProjectParams extends core.ParamsDictionary {
|
|
5
|
+
projectId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetMetricsProjectParams extends core.ParamsDictionary {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateProjectQuery = {
|
|
11
|
+
name?: string;
|
|
12
|
+
} & QueryPaginate;
|
|
13
|
+
export interface IPaginateTransactionProjectParams extends core.ParamsDictionary {
|
|
14
|
+
projectId: string;
|
|
15
|
+
}
|
|
16
|
+
export type IPaginateTransactionProjectQuery = {
|
|
17
|
+
type?: UserTransactionType[];
|
|
18
|
+
} & QueryPaginate;
|
|
19
|
+
export type ICreateProjectBody = {
|
|
20
|
+
name: string;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
};
|
|
23
|
+
export interface IDeleteProjectParams extends core.ParamsDictionary {
|
|
24
|
+
projectId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IDeleteProjectQuery {
|
|
27
|
+
deleteSpotlightProject?: boolean;
|
|
28
|
+
deleteForm?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface IUpdateProjectParams extends core.ParamsDictionary {
|
|
31
|
+
projectId: string;
|
|
32
|
+
}
|
|
33
|
+
export type IUpdateProjectBody = {
|
|
34
|
+
name?: string;
|
|
35
|
+
description?: string | null;
|
|
36
|
+
};
|
|
37
|
+
export interface ILeaveProjectParams extends core.ParamsDictionary {
|
|
38
|
+
projectId: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ICreateSubscriptionProjectParams extends core.ParamsDictionary {
|
|
41
|
+
projectId: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ICreateSubscriptionProjectBody {
|
|
44
|
+
level: SubscriptionLevel;
|
|
45
|
+
isAutoRenewEnabled: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface IUpdateSubscriptionProjectParams extends core.ParamsDictionary {
|
|
48
|
+
projectId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface IUpdateSubscriptionProjectBody {
|
|
51
|
+
isAutoRenewEnabled?: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface IRenewSubscriptionProjectParams extends core.ParamsDictionary {
|
|
54
|
+
projectId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ISetOwnershipProjectParams extends core.ParamsDictionary {
|
|
57
|
+
projectId: string;
|
|
58
|
+
}
|
|
59
|
+
export interface ISetOwnershipProjectBody {
|
|
60
|
+
userId: string;
|
|
61
|
+
}
|
|
@@ -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,43 +1,43 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '..';
|
|
3
|
-
import { UserCreditPurchaseCurrency, UserCreditPurchasePaymentMethod, UserCreditPurchasePlatform } from '../../../enum';
|
|
4
|
-
export type IPaginateUserCreditPurchaseAdminQuery = {
|
|
5
|
-
platform?: UserCreditPurchasePlatform[];
|
|
6
|
-
paymentMethod?: UserCreditPurchasePaymentMethod[];
|
|
7
|
-
currency?: UserCreditPurchaseCurrency[];
|
|
8
|
-
userId?: string[];
|
|
9
|
-
adminId?: string[];
|
|
10
|
-
} & QueryPaginate;
|
|
11
|
-
export interface IGetUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
12
|
-
userCreditPurchaseId: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ICreateUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
15
|
-
userId: string;
|
|
16
|
-
}
|
|
17
|
-
export interface ICreateUserCreditPurchaseAdminBody {
|
|
18
|
-
commentary?: string | null;
|
|
19
|
-
paymentMethod: UserCreditPurchasePaymentMethod;
|
|
20
|
-
platform: UserCreditPurchasePlatform;
|
|
21
|
-
currency: UserCreditPurchaseCurrency;
|
|
22
|
-
amount: number;
|
|
23
|
-
creditAmount: number;
|
|
24
|
-
externalId?: string | null;
|
|
25
|
-
}
|
|
26
|
-
export interface IUpdateUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
27
|
-
userCreditPurchaseId: string;
|
|
28
|
-
}
|
|
29
|
-
export interface IUpdateUserCreditPurchaseAdminBody {
|
|
30
|
-
commentary?: string | null;
|
|
31
|
-
paymentMethod?: UserCreditPurchasePaymentMethod;
|
|
32
|
-
platform?: UserCreditPurchasePlatform;
|
|
33
|
-
currency?: UserCreditPurchaseCurrency;
|
|
34
|
-
amount?: number;
|
|
35
|
-
creditAmount?: number;
|
|
36
|
-
externalId?: string | null;
|
|
37
|
-
}
|
|
38
|
-
export interface IDeleteUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
39
|
-
userCreditPurchaseId: string;
|
|
40
|
-
}
|
|
41
|
-
export interface IRefundUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
42
|
-
userCreditPurchaseId: string;
|
|
43
|
-
}
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
import { UserCreditPurchaseCurrency, UserCreditPurchasePaymentMethod, UserCreditPurchasePlatform } from '../../../enum';
|
|
4
|
+
export type IPaginateUserCreditPurchaseAdminQuery = {
|
|
5
|
+
platform?: UserCreditPurchasePlatform[];
|
|
6
|
+
paymentMethod?: UserCreditPurchasePaymentMethod[];
|
|
7
|
+
currency?: UserCreditPurchaseCurrency[];
|
|
8
|
+
userId?: string[];
|
|
9
|
+
adminId?: string[];
|
|
10
|
+
} & QueryPaginate;
|
|
11
|
+
export interface IGetUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
12
|
+
userCreditPurchaseId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ICreateUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
15
|
+
userId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ICreateUserCreditPurchaseAdminBody {
|
|
18
|
+
commentary?: string | null;
|
|
19
|
+
paymentMethod: UserCreditPurchasePaymentMethod;
|
|
20
|
+
platform: UserCreditPurchasePlatform;
|
|
21
|
+
currency: UserCreditPurchaseCurrency;
|
|
22
|
+
amount: number;
|
|
23
|
+
creditAmount: number;
|
|
24
|
+
externalId?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface IUpdateUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
27
|
+
userCreditPurchaseId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IUpdateUserCreditPurchaseAdminBody {
|
|
30
|
+
commentary?: string | null;
|
|
31
|
+
paymentMethod?: UserCreditPurchasePaymentMethod;
|
|
32
|
+
platform?: UserCreditPurchasePlatform;
|
|
33
|
+
currency?: UserCreditPurchaseCurrency;
|
|
34
|
+
amount?: number;
|
|
35
|
+
creditAmount?: number;
|
|
36
|
+
externalId?: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface IDeleteUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
39
|
+
userCreditPurchaseId: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IRefundUserCreditPurchaseAdminParams extends core.ParamsDictionary {
|
|
42
|
+
userCreditPurchaseId: string;
|
|
43
|
+
}
|
|
@@ -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 * as core from 'express-serve-static-core';
|
|
2
|
-
import { QueryPaginate } from '..';
|
|
3
|
-
import { UserCreditPurchaseCurrency, UserCreditPurchasePlatform } from '../../../enum';
|
|
4
|
-
export type IPaginateUserCreditPurchaseQuery = {
|
|
5
|
-
method?: UserCreditPurchasePlatform[];
|
|
6
|
-
currency?: UserCreditPurchaseCurrency[];
|
|
7
|
-
} & QueryPaginate;
|
|
8
|
-
export interface IGetUserCreditPurchaseParams extends core.ParamsDictionary {
|
|
9
|
-
creditPurchaseId: string;
|
|
10
|
-
}
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
import { UserCreditPurchaseCurrency, UserCreditPurchasePlatform } from '../../../enum';
|
|
4
|
+
export type IPaginateUserCreditPurchaseQuery = {
|
|
5
|
+
method?: UserCreditPurchasePlatform[];
|
|
6
|
+
currency?: UserCreditPurchaseCurrency[];
|
|
7
|
+
} & QueryPaginate;
|
|
8
|
+
export interface IGetUserCreditPurchaseParams extends core.ParamsDictionary {
|
|
9
|
+
creditPurchaseId: string;
|
|
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,27 +1,27 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { AbyssService, UserNotificationType } from '../../../enum';
|
|
3
|
-
import { NotificationDTO } from '../../../utils';
|
|
4
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
5
|
-
export interface IGetUserNotificationAdminParams extends core.ParamsDictionary {
|
|
6
|
-
userNotificationId: string;
|
|
7
|
-
}
|
|
8
|
-
export type IPaginateUserNotificationAdminQuery = {
|
|
9
|
-
type?: UserNotificationType[];
|
|
10
|
-
shouldGetOnlyNew?: boolean;
|
|
11
|
-
service?: AbyssService[];
|
|
12
|
-
userId?: string;
|
|
13
|
-
} & QueryPaginate;
|
|
14
|
-
export type ICreateUserNotificationAdminBody = ({
|
|
15
|
-
service: AbyssService;
|
|
16
|
-
userId: string;
|
|
17
|
-
type: UserNotificationType;
|
|
18
|
-
} & NotificationDTO)[];
|
|
19
|
-
export interface IDeleteUserNotificationAdminParams extends core.ParamsDictionary {
|
|
20
|
-
userNotificationId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IUpdateUserNotificationAdminParams extends core.ParamsDictionary {
|
|
23
|
-
userNotificationId: string;
|
|
24
|
-
}
|
|
25
|
-
export type IUpdateUserNotificationAdminBody = Partial<NotificationDTO> & {
|
|
26
|
-
type?: UserNotificationType;
|
|
27
|
-
};
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { AbyssService, UserNotificationType } from '../../../enum';
|
|
3
|
+
import { NotificationDTO } from '../../../utils';
|
|
4
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
5
|
+
export interface IGetUserNotificationAdminParams extends core.ParamsDictionary {
|
|
6
|
+
userNotificationId: string;
|
|
7
|
+
}
|
|
8
|
+
export type IPaginateUserNotificationAdminQuery = {
|
|
9
|
+
type?: UserNotificationType[];
|
|
10
|
+
shouldGetOnlyNew?: boolean;
|
|
11
|
+
service?: AbyssService[];
|
|
12
|
+
userId?: string;
|
|
13
|
+
} & QueryPaginate;
|
|
14
|
+
export type ICreateUserNotificationAdminBody = ({
|
|
15
|
+
service: AbyssService;
|
|
16
|
+
userId: string;
|
|
17
|
+
type: UserNotificationType;
|
|
18
|
+
} & NotificationDTO)[];
|
|
19
|
+
export interface IDeleteUserNotificationAdminParams extends core.ParamsDictionary {
|
|
20
|
+
userNotificationId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IUpdateUserNotificationAdminParams extends core.ParamsDictionary {
|
|
23
|
+
userNotificationId: string;
|
|
24
|
+
}
|
|
25
|
+
export type IUpdateUserNotificationAdminBody = Partial<NotificationDTO> & {
|
|
26
|
+
type?: UserNotificationType;
|
|
27
|
+
};
|
|
@@ -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,14 +1,14 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
|
-
import { AbyssService, UserNotificationType } from '../../../enum';
|
|
3
|
-
import { QueryPaginate } from '../type-message/base-paginate';
|
|
4
|
-
export interface IGetUserNotificationParams extends core.ParamsDictionary {
|
|
5
|
-
userNotificationId: string;
|
|
6
|
-
}
|
|
7
|
-
export type IPaginateUserNotificationQuery = {
|
|
8
|
-
type?: UserNotificationType[];
|
|
9
|
-
service?: AbyssService[];
|
|
10
|
-
shouldGetOnlyNew?: boolean;
|
|
11
|
-
} & QueryPaginate;
|
|
12
|
-
export interface IOpenUserNotificationParams extends core.ParamsDictionary {
|
|
13
|
-
userNotificationId: string;
|
|
14
|
-
}
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { AbyssService, UserNotificationType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
4
|
+
export interface IGetUserNotificationParams extends core.ParamsDictionary {
|
|
5
|
+
userNotificationId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IPaginateUserNotificationQuery = {
|
|
8
|
+
type?: UserNotificationType[];
|
|
9
|
+
service?: AbyssService[];
|
|
10
|
+
shouldGetOnlyNew?: boolean;
|
|
11
|
+
} & QueryPaginate;
|
|
12
|
+
export interface IOpenUserNotificationParams extends core.ParamsDictionary {
|
|
13
|
+
userNotificationId: string;
|
|
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 });
|