@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,49 +1,49 @@
|
|
|
1
|
-
import { BasePaginate } from '..';
|
|
2
|
-
import { ProjectAccessPermission } from '../../../enum';
|
|
3
|
-
import { IProjectAccess } from '../../models/project-access.model';
|
|
4
|
-
import { IProjectApplicationAccess } from '../../models/project-application-access.model';
|
|
5
|
-
import { IResponse } from '../type-message/response';
|
|
6
|
-
export interface IGetProjectAccessData {
|
|
7
|
-
projectAccess: IProjectAccess | null;
|
|
8
|
-
permission: ProjectAccessPermission[];
|
|
9
|
-
}
|
|
10
|
-
export type IGetProjectAccessResponse = IResponse<IGetProjectAccessData>;
|
|
11
|
-
export type IPaginateUserAccessProjectAccessResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
12
|
-
export type IPaginateProjectAccessResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
13
|
-
export interface IListUserAccessProjectAccessData {
|
|
14
|
-
projectAccess: IProjectAccess[];
|
|
15
|
-
}
|
|
16
|
-
export type IListUserAccessProjectAccessResponse = IResponse<IListUserAccessProjectAccessData>;
|
|
17
|
-
export interface ICreateUserProjectAccessData {
|
|
18
|
-
projectAccess: IProjectAccess;
|
|
19
|
-
}
|
|
20
|
-
export type ICreateUserProjectAccessResponse = IResponse<ICreateUserProjectAccessData>;
|
|
21
|
-
export interface ICreateProjectAccessData {
|
|
22
|
-
projectAccess: IProjectAccess;
|
|
23
|
-
}
|
|
24
|
-
export type ICreateProjectAccessResponse = IResponse<ICreateProjectAccessData>;
|
|
25
|
-
export interface IDeleteProjectAccessData {
|
|
26
|
-
}
|
|
27
|
-
export type IDeleteProjectAccessResponse = IResponse<IDeleteProjectAccessData>;
|
|
28
|
-
export interface IUpdateProjectAccessData {
|
|
29
|
-
projectAccess: IProjectAccess;
|
|
30
|
-
}
|
|
31
|
-
export type IUpdateProjectAccessResponse = IResponse<IUpdateProjectAccessData>;
|
|
32
|
-
export interface IUpsertApplicationProjectAccessData {
|
|
33
|
-
projectApplicationAccess: IProjectApplicationAccess;
|
|
34
|
-
}
|
|
35
|
-
export type IUpsertApplicationProjectAccessResponse = IResponse<IUpsertApplicationProjectAccessData>;
|
|
36
|
-
export interface IDeleteApplicationProjectAccessData {
|
|
37
|
-
}
|
|
38
|
-
export type IDeleteApplicationProjectAccessResponse = IResponse<IDeleteApplicationProjectAccessData>;
|
|
39
|
-
export interface IResetApiKeyProjectAccessData {
|
|
40
|
-
projectAccess: IProjectAccess;
|
|
41
|
-
}
|
|
42
|
-
export type IResetApiKeyProjectAccessResponse = IResponse<IResetApiKeyProjectAccessData>;
|
|
43
|
-
export interface IConfirmUserProjectAccessData {
|
|
44
|
-
projectAccess: IProjectAccess;
|
|
45
|
-
}
|
|
46
|
-
export type IConfirmUserProjectAccessResponse = IResponse<IConfirmUserProjectAccessData>;
|
|
47
|
-
export interface IDeclineUserProjectAccessData {
|
|
48
|
-
}
|
|
49
|
-
export type IDeclineUserProjectAccessResponse = IResponse<IDeclineUserProjectAccessData>;
|
|
1
|
+
import { BasePaginate } from '..';
|
|
2
|
+
import { ProjectAccessPermission } from '../../../enum';
|
|
3
|
+
import { IProjectAccess } from '../../models/project-access.model';
|
|
4
|
+
import { IProjectApplicationAccess } from '../../models/project-application-access.model';
|
|
5
|
+
import { IResponse } from '../type-message/response';
|
|
6
|
+
export interface IGetProjectAccessData {
|
|
7
|
+
projectAccess: IProjectAccess | null;
|
|
8
|
+
permission: ProjectAccessPermission[];
|
|
9
|
+
}
|
|
10
|
+
export type IGetProjectAccessResponse = IResponse<IGetProjectAccessData>;
|
|
11
|
+
export type IPaginateUserAccessProjectAccessResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
12
|
+
export type IPaginateProjectAccessResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
13
|
+
export interface IListUserAccessProjectAccessData {
|
|
14
|
+
projectAccess: IProjectAccess[];
|
|
15
|
+
}
|
|
16
|
+
export type IListUserAccessProjectAccessResponse = IResponse<IListUserAccessProjectAccessData>;
|
|
17
|
+
export interface ICreateUserProjectAccessData {
|
|
18
|
+
projectAccess: IProjectAccess;
|
|
19
|
+
}
|
|
20
|
+
export type ICreateUserProjectAccessResponse = IResponse<ICreateUserProjectAccessData>;
|
|
21
|
+
export interface ICreateProjectAccessData {
|
|
22
|
+
projectAccess: IProjectAccess;
|
|
23
|
+
}
|
|
24
|
+
export type ICreateProjectAccessResponse = IResponse<ICreateProjectAccessData>;
|
|
25
|
+
export interface IDeleteProjectAccessData {
|
|
26
|
+
}
|
|
27
|
+
export type IDeleteProjectAccessResponse = IResponse<IDeleteProjectAccessData>;
|
|
28
|
+
export interface IUpdateProjectAccessData {
|
|
29
|
+
projectAccess: IProjectAccess;
|
|
30
|
+
}
|
|
31
|
+
export type IUpdateProjectAccessResponse = IResponse<IUpdateProjectAccessData>;
|
|
32
|
+
export interface IUpsertApplicationProjectAccessData {
|
|
33
|
+
projectApplicationAccess: IProjectApplicationAccess;
|
|
34
|
+
}
|
|
35
|
+
export type IUpsertApplicationProjectAccessResponse = IResponse<IUpsertApplicationProjectAccessData>;
|
|
36
|
+
export interface IDeleteApplicationProjectAccessData {
|
|
37
|
+
}
|
|
38
|
+
export type IDeleteApplicationProjectAccessResponse = IResponse<IDeleteApplicationProjectAccessData>;
|
|
39
|
+
export interface IResetApiKeyProjectAccessData {
|
|
40
|
+
projectAccess: IProjectAccess;
|
|
41
|
+
}
|
|
42
|
+
export type IResetApiKeyProjectAccessResponse = IResponse<IResetApiKeyProjectAccessData>;
|
|
43
|
+
export interface IConfirmUserProjectAccessData {
|
|
44
|
+
projectAccess: IProjectAccess;
|
|
45
|
+
}
|
|
46
|
+
export type IConfirmUserProjectAccessResponse = IResponse<IConfirmUserProjectAccessData>;
|
|
47
|
+
export interface IDeclineUserProjectAccessData {
|
|
48
|
+
}
|
|
49
|
+
export type IDeclineUserProjectAccessResponse = IResponse<IDeclineUserProjectAccessData>;
|
|
@@ -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,54 +1,54 @@
|
|
|
1
|
-
import { BasePaginate, ProjectWithoutApplication } from '..';
|
|
2
|
-
import { IProjectAccess } from '../../models/project-access.model';
|
|
3
|
-
import { IProject } from '../../models/project.model';
|
|
4
|
-
import { IResponse } from '../type-message/response';
|
|
5
|
-
export interface IGetProjectAdminData {
|
|
6
|
-
project: IProject;
|
|
7
|
-
}
|
|
8
|
-
export type IGetProjectAdminResponse = IResponse<IGetProjectAdminData>;
|
|
9
|
-
export interface IListProjectAdminData {
|
|
10
|
-
projects: ProjectWithoutApplication[];
|
|
11
|
-
sharedProjects: ProjectWithoutApplication[];
|
|
12
|
-
}
|
|
13
|
-
export type IListProjectAdminResponse = IResponse<IListProjectAdminData>;
|
|
14
|
-
export type IPaginateProjectAdminResponse = IResponse<BasePaginate<IProject>>;
|
|
15
|
-
export interface IDeleteProjectAdminData {
|
|
16
|
-
}
|
|
17
|
-
export type IDeleteProjectAdminResponse = IResponse<IDeleteProjectAdminData>;
|
|
18
|
-
export interface ICreateProjectAdminData {
|
|
19
|
-
project: IProject;
|
|
20
|
-
}
|
|
21
|
-
export type ICreateProjectAdminResponse = IResponse<ICreateProjectAdminData>;
|
|
22
|
-
export interface IUpdateProjectAdminData {
|
|
23
|
-
project: IProject;
|
|
24
|
-
}
|
|
25
|
-
export type IUpdateProjectAdminResponse = IResponse<IUpdateProjectAdminData>;
|
|
26
|
-
export interface ICreateUserAccessProjectAdminData {
|
|
27
|
-
projectAccess: IProjectAccess;
|
|
28
|
-
}
|
|
29
|
-
export type ICreateUserAccessProjectAdminResponse = IResponse<ICreateUserAccessProjectAdminData>;
|
|
30
|
-
export interface ICreateAccessProjectAdminData {
|
|
31
|
-
projectAccess: IProjectAccess;
|
|
32
|
-
}
|
|
33
|
-
export type ICreateAccessProjectAdminResponse = IResponse<ICreateAccessProjectAdminData>;
|
|
34
|
-
export interface IUpdateAccessProjectAdminData {
|
|
35
|
-
projectAccess: IProjectAccess;
|
|
36
|
-
}
|
|
37
|
-
export type IUpdateAccessProjectAdminResponse = IResponse<IUpdateAccessProjectAdminData>;
|
|
38
|
-
export interface IResetApiKeyAccessProjectAdminData {
|
|
39
|
-
projectAccess: IProjectAccess;
|
|
40
|
-
}
|
|
41
|
-
export type IResetApiKeyAccessProjectAdminResponse = IResponse<IResetApiKeyAccessProjectAdminData>;
|
|
42
|
-
export interface IDeleteAccessProjectAdminData {
|
|
43
|
-
}
|
|
44
|
-
export type IDeleteAccessProjectAdminResponse = IResponse<IDeleteAccessProjectAdminData>;
|
|
45
|
-
export interface IGetAccessProjectAdminData {
|
|
46
|
-
projectAccess: IProjectAccess;
|
|
47
|
-
}
|
|
48
|
-
export type IGetAccessProjectAdminResponse = IResponse<IGetAccessProjectAdminData>;
|
|
49
|
-
export type IPaginateAccessProjectAdminResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
50
|
-
export interface IComputeApplicationAccessProjectAdminData {
|
|
51
|
-
projectAccess: IProjectAccess[];
|
|
52
|
-
permission: number;
|
|
53
|
-
}
|
|
54
|
-
export type IComputeApplicationAccessProjectAdminResponse = IResponse<IComputeApplicationAccessProjectAdminData>;
|
|
1
|
+
import { BasePaginate, ProjectWithoutApplication } from '..';
|
|
2
|
+
import { IProjectAccess } from '../../models/project-access.model';
|
|
3
|
+
import { IProject } from '../../models/project.model';
|
|
4
|
+
import { IResponse } from '../type-message/response';
|
|
5
|
+
export interface IGetProjectAdminData {
|
|
6
|
+
project: IProject;
|
|
7
|
+
}
|
|
8
|
+
export type IGetProjectAdminResponse = IResponse<IGetProjectAdminData>;
|
|
9
|
+
export interface IListProjectAdminData {
|
|
10
|
+
projects: ProjectWithoutApplication[];
|
|
11
|
+
sharedProjects: ProjectWithoutApplication[];
|
|
12
|
+
}
|
|
13
|
+
export type IListProjectAdminResponse = IResponse<IListProjectAdminData>;
|
|
14
|
+
export type IPaginateProjectAdminResponse = IResponse<BasePaginate<IProject>>;
|
|
15
|
+
export interface IDeleteProjectAdminData {
|
|
16
|
+
}
|
|
17
|
+
export type IDeleteProjectAdminResponse = IResponse<IDeleteProjectAdminData>;
|
|
18
|
+
export interface ICreateProjectAdminData {
|
|
19
|
+
project: IProject;
|
|
20
|
+
}
|
|
21
|
+
export type ICreateProjectAdminResponse = IResponse<ICreateProjectAdminData>;
|
|
22
|
+
export interface IUpdateProjectAdminData {
|
|
23
|
+
project: IProject;
|
|
24
|
+
}
|
|
25
|
+
export type IUpdateProjectAdminResponse = IResponse<IUpdateProjectAdminData>;
|
|
26
|
+
export interface ICreateUserAccessProjectAdminData {
|
|
27
|
+
projectAccess: IProjectAccess;
|
|
28
|
+
}
|
|
29
|
+
export type ICreateUserAccessProjectAdminResponse = IResponse<ICreateUserAccessProjectAdminData>;
|
|
30
|
+
export interface ICreateAccessProjectAdminData {
|
|
31
|
+
projectAccess: IProjectAccess;
|
|
32
|
+
}
|
|
33
|
+
export type ICreateAccessProjectAdminResponse = IResponse<ICreateAccessProjectAdminData>;
|
|
34
|
+
export interface IUpdateAccessProjectAdminData {
|
|
35
|
+
projectAccess: IProjectAccess;
|
|
36
|
+
}
|
|
37
|
+
export type IUpdateAccessProjectAdminResponse = IResponse<IUpdateAccessProjectAdminData>;
|
|
38
|
+
export interface IResetApiKeyAccessProjectAdminData {
|
|
39
|
+
projectAccess: IProjectAccess;
|
|
40
|
+
}
|
|
41
|
+
export type IResetApiKeyAccessProjectAdminResponse = IResponse<IResetApiKeyAccessProjectAdminData>;
|
|
42
|
+
export interface IDeleteAccessProjectAdminData {
|
|
43
|
+
}
|
|
44
|
+
export type IDeleteAccessProjectAdminResponse = IResponse<IDeleteAccessProjectAdminData>;
|
|
45
|
+
export interface IGetAccessProjectAdminData {
|
|
46
|
+
projectAccess: IProjectAccess;
|
|
47
|
+
}
|
|
48
|
+
export type IGetAccessProjectAdminResponse = IResponse<IGetAccessProjectAdminData>;
|
|
49
|
+
export type IPaginateAccessProjectAdminResponse = IResponse<BasePaginate<IProjectAccess>>;
|
|
50
|
+
export interface IComputeApplicationAccessProjectAdminData {
|
|
51
|
+
projectAccess: IProjectAccess[];
|
|
52
|
+
permission: number;
|
|
53
|
+
}
|
|
54
|
+
export type IComputeApplicationAccessProjectAdminResponse = IResponse<IComputeApplicationAccessProjectAdminData>;
|
|
@@ -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,94 +1,94 @@
|
|
|
1
|
-
import { BasePaginate } from '..';
|
|
2
|
-
import { ProjectAccessPermission } from '../../../enum';
|
|
3
|
-
import { Overwrite } from '../../../utils';
|
|
4
|
-
import { IProjectAccess } from '../../models/project-access.model';
|
|
5
|
-
import { IProject } from '../../models/project.model';
|
|
6
|
-
import { IUserTransaction } from '../../models/user-transaction.model';
|
|
7
|
-
import { IResponse } from '../type-message/response';
|
|
8
|
-
export type ProjectWithoutApplication = Overwrite<IProject, {
|
|
9
|
-
application: {
|
|
10
|
-
id: string;
|
|
11
|
-
}[];
|
|
12
|
-
}>;
|
|
13
|
-
export interface IGetProjectData {
|
|
14
|
-
project: IProject;
|
|
15
|
-
projectAccess: IProjectAccess | null;
|
|
16
|
-
permission: ProjectAccessPermission[];
|
|
17
|
-
}
|
|
18
|
-
export type IGetProjectResponse = IResponse<IGetProjectData>;
|
|
19
|
-
export interface IGetMetricsProjectData {
|
|
20
|
-
monitor: {
|
|
21
|
-
logs: {
|
|
22
|
-
total: number;
|
|
23
|
-
applications: {
|
|
24
|
-
id: string;
|
|
25
|
-
total: number;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
endpoints: {
|
|
29
|
-
total: number;
|
|
30
|
-
applications: {
|
|
31
|
-
id: string;
|
|
32
|
-
total: number;
|
|
33
|
-
}[];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
storage: {
|
|
37
|
-
files: {
|
|
38
|
-
total: number;
|
|
39
|
-
totalOctet: number;
|
|
40
|
-
applications: {
|
|
41
|
-
id: string;
|
|
42
|
-
total: number;
|
|
43
|
-
totalOctet: number;
|
|
44
|
-
}[];
|
|
45
|
-
};
|
|
46
|
-
thumbnails: {
|
|
47
|
-
total: number;
|
|
48
|
-
totalOctet: number;
|
|
49
|
-
applications: {
|
|
50
|
-
id: string;
|
|
51
|
-
total: number;
|
|
52
|
-
totalOctet: number;
|
|
53
|
-
}[];
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
export type IGetMetricsProjectResponse = IResponse<IGetMetricsProjectData>;
|
|
58
|
-
export type IPaginateProjectResponse = IResponse<BasePaginate<IProject>>;
|
|
59
|
-
export type IPaginateTransactionProjectResponse = IResponse<BasePaginate<IUserTransaction>>;
|
|
60
|
-
export interface IListProjectData {
|
|
61
|
-
projects: ProjectWithoutApplication[];
|
|
62
|
-
sharedProjects: ProjectWithoutApplication[];
|
|
63
|
-
}
|
|
64
|
-
export type IListProjectResponse = IResponse<IListProjectData>;
|
|
65
|
-
export interface IDeleteProjectData {
|
|
66
|
-
}
|
|
67
|
-
export type IDeleteProjectResponse = IResponse<IDeleteProjectData>;
|
|
68
|
-
export interface ICreateProjectData {
|
|
69
|
-
project: IProject;
|
|
70
|
-
}
|
|
71
|
-
export type ICreateProjectResponse = IResponse<ICreateProjectData>;
|
|
72
|
-
export interface IUpdateProjectData {
|
|
73
|
-
project: IProject;
|
|
74
|
-
}
|
|
75
|
-
export type IUpdateProjectResponse = IResponse<IUpdateProjectData>;
|
|
76
|
-
export interface ILeaveProjectData {
|
|
77
|
-
}
|
|
78
|
-
export type ILeaveProjectResponse = IResponse<ILeaveProjectData>;
|
|
79
|
-
export interface ICreateSubscriptionProjectData {
|
|
80
|
-
project: IProject;
|
|
81
|
-
}
|
|
82
|
-
export type ICreateSubscriptionProjectResponse = IResponse<ICreateSubscriptionProjectData>;
|
|
83
|
-
export interface IRenewSubscriptionProjectData {
|
|
84
|
-
project: IProject;
|
|
85
|
-
}
|
|
86
|
-
export type IRenewSubscriptionProjectResponse = IResponse<IRenewSubscriptionProjectData>;
|
|
87
|
-
export interface IUpdateSubscriptionProjectData {
|
|
88
|
-
project: IProject;
|
|
89
|
-
}
|
|
90
|
-
export type IUpdateSubscriptionProjectResponse = IResponse<IUpdateSubscriptionProjectData>;
|
|
91
|
-
export interface ISetOwnershipProjectData {
|
|
92
|
-
project: IProject;
|
|
93
|
-
}
|
|
94
|
-
export type ISetOwnershipProjectResponse = IResponse<ISetOwnershipProjectData>;
|
|
1
|
+
import { BasePaginate } from '..';
|
|
2
|
+
import { ProjectAccessPermission } from '../../../enum';
|
|
3
|
+
import { Overwrite } from '../../../utils';
|
|
4
|
+
import { IProjectAccess } from '../../models/project-access.model';
|
|
5
|
+
import { IProject } from '../../models/project.model';
|
|
6
|
+
import { IUserTransaction } from '../../models/user-transaction.model';
|
|
7
|
+
import { IResponse } from '../type-message/response';
|
|
8
|
+
export type ProjectWithoutApplication = Overwrite<IProject, {
|
|
9
|
+
application: {
|
|
10
|
+
id: string;
|
|
11
|
+
}[];
|
|
12
|
+
}>;
|
|
13
|
+
export interface IGetProjectData {
|
|
14
|
+
project: IProject;
|
|
15
|
+
projectAccess: IProjectAccess | null;
|
|
16
|
+
permission: ProjectAccessPermission[];
|
|
17
|
+
}
|
|
18
|
+
export type IGetProjectResponse = IResponse<IGetProjectData>;
|
|
19
|
+
export interface IGetMetricsProjectData {
|
|
20
|
+
monitor: {
|
|
21
|
+
logs: {
|
|
22
|
+
total: number;
|
|
23
|
+
applications: {
|
|
24
|
+
id: string;
|
|
25
|
+
total: number;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
endpoints: {
|
|
29
|
+
total: number;
|
|
30
|
+
applications: {
|
|
31
|
+
id: string;
|
|
32
|
+
total: number;
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
storage: {
|
|
37
|
+
files: {
|
|
38
|
+
total: number;
|
|
39
|
+
totalOctet: number;
|
|
40
|
+
applications: {
|
|
41
|
+
id: string;
|
|
42
|
+
total: number;
|
|
43
|
+
totalOctet: number;
|
|
44
|
+
}[];
|
|
45
|
+
};
|
|
46
|
+
thumbnails: {
|
|
47
|
+
total: number;
|
|
48
|
+
totalOctet: number;
|
|
49
|
+
applications: {
|
|
50
|
+
id: string;
|
|
51
|
+
total: number;
|
|
52
|
+
totalOctet: number;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export type IGetMetricsProjectResponse = IResponse<IGetMetricsProjectData>;
|
|
58
|
+
export type IPaginateProjectResponse = IResponse<BasePaginate<IProject>>;
|
|
59
|
+
export type IPaginateTransactionProjectResponse = IResponse<BasePaginate<IUserTransaction>>;
|
|
60
|
+
export interface IListProjectData {
|
|
61
|
+
projects: ProjectWithoutApplication[];
|
|
62
|
+
sharedProjects: ProjectWithoutApplication[];
|
|
63
|
+
}
|
|
64
|
+
export type IListProjectResponse = IResponse<IListProjectData>;
|
|
65
|
+
export interface IDeleteProjectData {
|
|
66
|
+
}
|
|
67
|
+
export type IDeleteProjectResponse = IResponse<IDeleteProjectData>;
|
|
68
|
+
export interface ICreateProjectData {
|
|
69
|
+
project: IProject;
|
|
70
|
+
}
|
|
71
|
+
export type ICreateProjectResponse = IResponse<ICreateProjectData>;
|
|
72
|
+
export interface IUpdateProjectData {
|
|
73
|
+
project: IProject;
|
|
74
|
+
}
|
|
75
|
+
export type IUpdateProjectResponse = IResponse<IUpdateProjectData>;
|
|
76
|
+
export interface ILeaveProjectData {
|
|
77
|
+
}
|
|
78
|
+
export type ILeaveProjectResponse = IResponse<ILeaveProjectData>;
|
|
79
|
+
export interface ICreateSubscriptionProjectData {
|
|
80
|
+
project: IProject;
|
|
81
|
+
}
|
|
82
|
+
export type ICreateSubscriptionProjectResponse = IResponse<ICreateSubscriptionProjectData>;
|
|
83
|
+
export interface IRenewSubscriptionProjectData {
|
|
84
|
+
project: IProject;
|
|
85
|
+
}
|
|
86
|
+
export type IRenewSubscriptionProjectResponse = IResponse<IRenewSubscriptionProjectData>;
|
|
87
|
+
export interface IUpdateSubscriptionProjectData {
|
|
88
|
+
project: IProject;
|
|
89
|
+
}
|
|
90
|
+
export type IUpdateSubscriptionProjectResponse = IResponse<IUpdateSubscriptionProjectData>;
|
|
91
|
+
export interface ISetOwnershipProjectData {
|
|
92
|
+
project: IProject;
|
|
93
|
+
}
|
|
94
|
+
export type ISetOwnershipProjectResponse = IResponse<ISetOwnershipProjectData>;
|
|
@@ -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 { IUserCreditPurchase } from '../../models/user-credit-purchase.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetUserCreditPurchaseAdminData {
|
|
5
|
-
userCreditPurchase: IUserCreditPurchase;
|
|
6
|
-
}
|
|
7
|
-
export type IGetUserCreditPurchaseAdminResponse = IResponse<IGetUserCreditPurchaseAdminData>;
|
|
8
|
-
export type IPaginateUserCreditPurchaseAdminResponse = IResponse<BasePaginate<IUserCreditPurchase>>;
|
|
9
|
-
export interface ICreateUserCreditPurchaseAdminData {
|
|
10
|
-
userCreditPurchase: IUserCreditPurchase;
|
|
11
|
-
}
|
|
12
|
-
export type ICreateUserCreditPurchaseAdminResponse = IResponse<ICreateUserCreditPurchaseAdminData>;
|
|
13
|
-
export interface IUpdateUserCreditPurchaseAdminData {
|
|
14
|
-
userCreditPurchase: IUserCreditPurchase;
|
|
15
|
-
}
|
|
16
|
-
export type IUpdateUserCreditPurchaseAdminResponse = IResponse<IUpdateUserCreditPurchaseAdminData>;
|
|
17
|
-
export type IDeleteUserCreditPurchaseAdminData = Record<string, never>;
|
|
18
|
-
export type IDeleteUserCreditPurchaseAdminResponse = IResponse<IDeleteUserCreditPurchaseAdminData>;
|
|
19
|
-
export interface IRefundUserCreditPurchaseAdminData {
|
|
20
|
-
userCreditPurchase: IUserCreditPurchase;
|
|
21
|
-
}
|
|
22
|
-
export type IRefundUserCreditPurchaseAdminResponse = IResponse<IRefundUserCreditPurchaseAdminData>;
|
|
1
|
+
import { IUserCreditPurchase } from '../../models/user-credit-purchase.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetUserCreditPurchaseAdminData {
|
|
5
|
+
userCreditPurchase: IUserCreditPurchase;
|
|
6
|
+
}
|
|
7
|
+
export type IGetUserCreditPurchaseAdminResponse = IResponse<IGetUserCreditPurchaseAdminData>;
|
|
8
|
+
export type IPaginateUserCreditPurchaseAdminResponse = IResponse<BasePaginate<IUserCreditPurchase>>;
|
|
9
|
+
export interface ICreateUserCreditPurchaseAdminData {
|
|
10
|
+
userCreditPurchase: IUserCreditPurchase;
|
|
11
|
+
}
|
|
12
|
+
export type ICreateUserCreditPurchaseAdminResponse = IResponse<ICreateUserCreditPurchaseAdminData>;
|
|
13
|
+
export interface IUpdateUserCreditPurchaseAdminData {
|
|
14
|
+
userCreditPurchase: IUserCreditPurchase;
|
|
15
|
+
}
|
|
16
|
+
export type IUpdateUserCreditPurchaseAdminResponse = IResponse<IUpdateUserCreditPurchaseAdminData>;
|
|
17
|
+
export type IDeleteUserCreditPurchaseAdminData = Record<string, never>;
|
|
18
|
+
export type IDeleteUserCreditPurchaseAdminResponse = IResponse<IDeleteUserCreditPurchaseAdminData>;
|
|
19
|
+
export interface IRefundUserCreditPurchaseAdminData {
|
|
20
|
+
userCreditPurchase: IUserCreditPurchase;
|
|
21
|
+
}
|
|
22
|
+
export type IRefundUserCreditPurchaseAdminResponse = IResponse<IRefundUserCreditPurchaseAdminData>;
|
|
@@ -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 { IUserCreditPurchase } from '../../models/user-credit-purchase.model';
|
|
2
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
-
import { IResponse } from '../type-message/response';
|
|
4
|
-
export interface IGetUserCreditPurchaseData {
|
|
5
|
-
userCreditPurchase: IUserCreditPurchase;
|
|
6
|
-
}
|
|
7
|
-
export type IGetUserCreditPurchaseResponse = IResponse<IGetUserCreditPurchaseData>;
|
|
8
|
-
export type IPaginateUserCreditPurchaseResponse = IResponse<BasePaginate<IUserCreditPurchase>>;
|
|
1
|
+
import { IUserCreditPurchase } from '../../models/user-credit-purchase.model';
|
|
2
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
3
|
+
import { IResponse } from '../type-message/response';
|
|
4
|
+
export interface IGetUserCreditPurchaseData {
|
|
5
|
+
userCreditPurchase: IUserCreditPurchase;
|
|
6
|
+
}
|
|
7
|
+
export type IGetUserCreditPurchaseResponse = IResponse<IGetUserCreditPurchaseData>;
|
|
8
|
+
export type IPaginateUserCreditPurchaseResponse = IResponse<BasePaginate<IUserCreditPurchase>>;
|
|
@@ -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 { NotificationDTO } from '../../../utils';
|
|
2
|
-
import { IUserNotification } from '../../models/user-notification.model';
|
|
3
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
4
|
-
import { IResponse } from '../type-message/response';
|
|
5
|
-
export interface IGetUserNotificationAdminData {
|
|
6
|
-
notification: IUserNotification & NotificationDTO;
|
|
7
|
-
}
|
|
8
|
-
export type IGetUserNotificationAdminResponse = IResponse<IGetUserNotificationAdminData>;
|
|
9
|
-
export interface ICreateUserNotificationAdminData {
|
|
10
|
-
notification: (IUserNotification & NotificationDTO)[];
|
|
11
|
-
}
|
|
12
|
-
export type ICreateUserNotificationAdminResponse = IResponse<ICreateUserNotificationAdminData>;
|
|
13
|
-
export interface IUpdateUserNotificationAdminData {
|
|
14
|
-
notification: IUserNotification & NotificationDTO;
|
|
15
|
-
}
|
|
16
|
-
export type IUpdateUserNotificationAdminResponse = IResponse<IUpdateUserNotificationAdminData>;
|
|
17
|
-
export type IDeleteUserNotificationAdminData = Record<string, never>;
|
|
18
|
-
export type IDeleteUserNotificationAdminResponse = IResponse<IDeleteUserNotificationAdminData>;
|
|
19
|
-
export type IPaginateUserNotificationAdminResponse = IResponse<BasePaginate<IUserNotification & NotificationDTO>>;
|
|
1
|
+
import { NotificationDTO } from '../../../utils';
|
|
2
|
+
import { IUserNotification } from '../../models/user-notification.model';
|
|
3
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
4
|
+
import { IResponse } from '../type-message/response';
|
|
5
|
+
export interface IGetUserNotificationAdminData {
|
|
6
|
+
notification: IUserNotification & NotificationDTO;
|
|
7
|
+
}
|
|
8
|
+
export type IGetUserNotificationAdminResponse = IResponse<IGetUserNotificationAdminData>;
|
|
9
|
+
export interface ICreateUserNotificationAdminData {
|
|
10
|
+
notification: (IUserNotification & NotificationDTO)[];
|
|
11
|
+
}
|
|
12
|
+
export type ICreateUserNotificationAdminResponse = IResponse<ICreateUserNotificationAdminData>;
|
|
13
|
+
export interface IUpdateUserNotificationAdminData {
|
|
14
|
+
notification: IUserNotification & NotificationDTO;
|
|
15
|
+
}
|
|
16
|
+
export type IUpdateUserNotificationAdminResponse = IResponse<IUpdateUserNotificationAdminData>;
|
|
17
|
+
export type IDeleteUserNotificationAdminData = Record<string, never>;
|
|
18
|
+
export type IDeleteUserNotificationAdminResponse = IResponse<IDeleteUserNotificationAdminData>;
|
|
19
|
+
export type IPaginateUserNotificationAdminResponse = IResponse<BasePaginate<IUserNotification & NotificationDTO>>;
|
|
@@ -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 { NotificationDTO } from '../../../utils';
|
|
2
|
-
import { IUserNotification } from '../../models/user-notification.model';
|
|
3
|
-
import { BasePaginate } from '../type-message/base-paginate';
|
|
4
|
-
import { IResponse } from '../type-message/response';
|
|
5
|
-
export interface IGetUserNotificationData {
|
|
6
|
-
notification: IUserNotification & NotificationDTO;
|
|
7
|
-
}
|
|
8
|
-
export type IGetUserNotificationResponse = IResponse<IGetUserNotificationData>;
|
|
9
|
-
export interface IOpenUserNotificationData {
|
|
10
|
-
notification: IUserNotification & NotificationDTO;
|
|
11
|
-
}
|
|
12
|
-
export type IOpenUserNotificationResponse = IResponse<IOpenUserNotificationData>;
|
|
13
|
-
export type IPaginateUserNotificationResponse = IResponse<BasePaginate<IUserNotification & NotificationDTO>>;
|
|
1
|
+
import { NotificationDTO } from '../../../utils';
|
|
2
|
+
import { IUserNotification } from '../../models/user-notification.model';
|
|
3
|
+
import { BasePaginate } from '../type-message/base-paginate';
|
|
4
|
+
import { IResponse } from '../type-message/response';
|
|
5
|
+
export interface IGetUserNotificationData {
|
|
6
|
+
notification: IUserNotification & NotificationDTO;
|
|
7
|
+
}
|
|
8
|
+
export type IGetUserNotificationResponse = IResponse<IGetUserNotificationData>;
|
|
9
|
+
export interface IOpenUserNotificationData {
|
|
10
|
+
notification: IUserNotification & NotificationDTO;
|
|
11
|
+
}
|
|
12
|
+
export type IOpenUserNotificationResponse = IResponse<IOpenUserNotificationData>;
|
|
13
|
+
export type IPaginateUserNotificationResponse = IResponse<BasePaginate<IUserNotification & NotificationDTO>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|