@abyss-project/main 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api/application.admin.api.d.ts +8 -0
- package/dist/api/application.admin.api.js +35 -0
- package/dist/api/application.api.d.ts +7 -0
- package/dist/api/application.api.js +31 -0
- package/dist/api/auth.api.d.ts +10 -0
- package/dist/api/auth.api.js +57 -0
- package/dist/api/billing.api.d.ts +4 -0
- package/dist/api/billing.api.js +16 -0
- package/dist/api/gift-code.admin.api.d.ts +8 -0
- package/dist/api/gift-code.admin.api.js +34 -0
- package/dist/api/gift-code.api.d.ts +4 -0
- package/dist/api/gift-code.api.js +20 -0
- package/dist/api/index.d.ts +23 -0
- package/dist/api/index.js +39 -0
- package/dist/api/metrics.admin.api.d.ts +4 -0
- package/dist/api/metrics.admin.api.js +16 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/newsletter.admin.api.d.ts +6 -0
- package/dist/api/newsletter.admin.api.js +25 -0
- package/dist/api/project-access.admin.api.d.ts +12 -0
- package/dist/api/project-access.admin.api.js +48 -0
- package/dist/api/project-access.api.d.ts +14 -0
- package/dist/api/project-access.api.js +59 -0
- package/dist/api/project.admin.api.d.ts +6 -0
- package/dist/api/project.admin.api.js +28 -0
- package/dist/api/project.api.d.ts +14 -0
- package/dist/api/project.api.js +60 -0
- package/dist/api/user-credit-purchase.admin.api.d.ts +7 -0
- package/dist/api/user-credit-purchase.admin.api.js +28 -0
- package/dist/api/user-credit-purchase.api.d.ts +3 -0
- package/dist/api/user-credit-purchase.api.js +14 -0
- package/dist/api/user-notification.admin.api.d.ts +5 -0
- package/dist/api/user-notification.admin.api.js +20 -0
- package/dist/api/user-notification.api.d.ts +4 -0
- package/dist/api/user-notification.api.js +18 -0
- package/dist/api/user-ticket.admin.api.d.ts +11 -0
- package/dist/api/user-ticket.admin.api.js +49 -0
- package/dist/api/user-ticket.api.d.ts +10 -0
- package/dist/api/user-ticket.api.js +45 -0
- package/dist/api/user-transaction.admin.api.d.ts +5 -0
- package/dist/api/user-transaction.admin.api.js +20 -0
- package/dist/api/user-transaction.api.d.ts +3 -0
- package/dist/api/user-transaction.api.js +14 -0
- package/dist/api/user.admin.api.d.ts +10 -0
- package/dist/api/user.admin.api.js +41 -0
- package/dist/api/user.api.d.ts +19 -0
- package/dist/api/user.api.js +84 -0
- package/dist/front/index.d.ts +1 -0
- package/dist/front/index.js +17 -0
- package/dist/front/redirection.d.ts +2 -0
- package/dist/front/redirection.js +5 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +89 -0
- package/dist/translate/en.translate.d.ts +176 -0
- package/dist/translate/en.translate.js +180 -0
- package/dist/translate/fr.translate.d.ts +176 -0
- package/dist/translate/fr.translate.js +180 -0
- package/dist/translate/index.d.ts +2 -0
- package/dist/translate/index.js +18 -0
- package/dist/types/enum/abyss-service.enum.d.ts +10 -0
- package/dist/types/enum/abyss-service.enum.js +14 -0
- package/dist/types/enum/api-error.enum.d.ts +38 -0
- package/dist/types/enum/api-error.enum.js +43 -0
- package/dist/types/enum/billing-product.enum.d.ts +8 -0
- package/dist/types/enum/billing-product.enum.js +12 -0
- package/dist/types/enum/gift-code-type.enum.d.ts +3 -0
- package/dist/types/enum/gift-code-type.enum.js +7 -0
- package/dist/types/enum/index.d.ts +18 -0
- package/dist/types/enum/index.js +34 -0
- package/dist/types/enum/newsletter-type.enum.d.ts +3 -0
- package/dist/types/enum/newsletter-type.enum.js +7 -0
- package/dist/types/enum/oauth-account-type.enum.d.ts +3 -0
- package/dist/types/enum/oauth-account-type.enum.js +7 -0
- package/dist/types/enum/project-access-permission.enum.d.ts +13 -0
- package/dist/types/enum/project-access-permission.enum.js +17 -0
- package/dist/types/enum/project-application-access-permission.enum.d.ts +38 -0
- package/dist/types/enum/project-application-access-permission.enum.js +42 -0
- package/dist/types/enum/subscription-level.enum.d.ts +54 -0
- package/dist/types/enum/subscription-level.enum.js +125 -0
- package/dist/types/enum/token-type.enum.d.ts +5 -0
- package/dist/types/enum/token-type.enum.js +9 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.d.ts +5 -0
- package/dist/types/enum/user-credit-purchase-currency.enum.js +9 -0
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +3 -0
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +7 -0
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +8 -0
- package/dist/types/enum/user-credit-purchase-platform.enum.js +12 -0
- package/dist/types/enum/user-language.enum.d.ts +4 -0
- package/dist/types/enum/user-language.enum.js +8 -0
- package/dist/types/enum/user-notification-content-type.enum.d.ts +279 -0
- package/dist/types/enum/user-notification-content-type.enum.js +50 -0
- package/dist/types/enum/user-notification-type.enum.d.ts +6 -0
- package/dist/types/enum/user-notification-type.enum.js +10 -0
- package/dist/types/enum/user-ticket-category.enum.d.ts +9 -0
- package/dist/types/enum/user-ticket-category.enum.js +13 -0
- package/dist/types/enum/user-transaction-type.enum.d.ts +14 -0
- package/dist/types/enum/user-transaction-type.enum.js +18 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.js +21 -0
- package/dist/types/interface/api/index.d.ts +48 -0
- package/dist/types/interface/api/index.js +64 -0
- package/dist/types/interface/api/requests/application.admin.request.d.ts +36 -0
- package/dist/types/interface/api/requests/application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application.request.d.ts +35 -0
- package/dist/types/interface/api/requests/application.request.js +2 -0
- package/dist/types/interface/api/requests/auth.request.d.ts +40 -0
- package/dist/types/interface/api/requests/auth.request.js +2 -0
- package/dist/types/interface/api/requests/billing.request.d.ts +9 -0
- package/dist/types/interface/api/requests/billing.request.js +2 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.d.ts +53 -0
- package/dist/types/interface/api/requests/gift-code.admin.request.js +2 -0
- package/dist/types/interface/api/requests/gift-code.request.d.ts +12 -0
- package/dist/types/interface/api/requests/gift-code.request.js +2 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.d.ts +21 -0
- package/dist/types/interface/api/requests/newsletter.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +72 -0
- package/dist/types/interface/api/requests/project-access.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project-access.request.d.ts +78 -0
- package/dist/types/interface/api/requests/project-access.request.js +2 -0
- package/dist/types/interface/api/requests/project.admin.request.d.ts +26 -0
- package/dist/types/interface/api/requests/project.admin.request.js +2 -0
- package/dist/types/interface/api/requests/project.request.d.ts +57 -0
- package/dist/types/interface/api/requests/project.request.js +2 -0
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +43 -0
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +10 -0
- package/dist/types/interface/api/requests/user-credit-purchase.request.js +2 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +27 -0
- package/dist/types/interface/api/requests/user-notification.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-notification.request.d.ts +14 -0
- package/dist/types/interface/api/requests/user-notification.request.js +2 -0
- package/dist/types/interface/api/requests/user-ticket.admin.request.d.ts +61 -0
- package/dist/types/interface/api/requests/user-ticket.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-ticket.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user-ticket.request.js +2 -0
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +31 -0
- package/dist/types/interface/api/requests/user-transaction.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +8 -0
- package/dist/types/interface/api/requests/user-transaction.request.js +2 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +85 -0
- package/dist/types/interface/api/requests/user.request.js +2 -0
- package/dist/types/interface/api/responses/application.admin.response.d.ts +28 -0
- package/dist/types/interface/api/responses/application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application.response.d.ts +25 -0
- package/dist/types/interface/api/responses/application.response.js +2 -0
- package/dist/types/interface/api/responses/auth.response.d.ts +42 -0
- package/dist/types/interface/api/responses/auth.response.js +2 -0
- package/dist/types/interface/api/responses/billing.response.d.ts +18 -0
- package/dist/types/interface/api/responses/billing.response.js +2 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +25 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.js +2 -0
- package/dist/types/interface/api/responses/gift-code.response.d.ts +12 -0
- package/dist/types/interface/api/responses/gift-code.response.js +2 -0
- package/dist/types/interface/api/responses/metrics.admin.response.d.ts +40 -0
- package/dist/types/interface/api/responses/metrics.admin.response.js +2 -0
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -0
- package/dist/types/interface/api/responses/monitor.response.js +2 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.d.ts +17 -0
- package/dist/types/interface/api/responses/newsletter.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +46 -0
- package/dist/types/interface/api/responses/project-access.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project-access.response.d.ts +49 -0
- package/dist/types/interface/api/responses/project-access.response.js +2 -0
- package/dist/types/interface/api/responses/project.admin.response.d.ts +49 -0
- package/dist/types/interface/api/responses/project.admin.response.js +2 -0
- package/dist/types/interface/api/responses/project.response.d.ts +94 -0
- package/dist/types/interface/api/responses/project.response.js +2 -0
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +22 -0
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +8 -0
- package/dist/types/interface/api/responses/user-credit-purchase.response.js +2 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/user-notification.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-notification.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user-notification.response.js +2 -0
- package/dist/types/interface/api/responses/user-ticket.admin.response.d.ts +38 -0
- package/dist/types/interface/api/responses/user-ticket.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-ticket.response.d.ts +34 -0
- package/dist/types/interface/api/responses/user-ticket.response.js +2 -0
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user-transaction.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +11 -0
- package/dist/types/interface/api/responses/user-transaction.response.js +2 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +33 -0
- package/dist/types/interface/api/responses/user.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user.response.d.ts +90 -0
- package/dist/types/interface/api/responses/user.response.js +2 -0
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -0
- package/dist/types/interface/api/type-message/api-error.js +2 -0
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -0
- package/dist/types/interface/api/type-message/base-order.js +2 -0
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
- package/dist/types/interface/api/type-message/base-paginate.js +2 -0
- package/dist/types/interface/api/type-message/response.d.ts +5 -0
- package/dist/types/interface/api/type-message/response.js +2 -0
- package/dist/types/interface/index.d.ts +21 -0
- package/dist/types/interface/index.js +37 -0
- package/dist/types/interface/models/application.model.d.ts +14 -0
- package/dist/types/interface/models/application.model.js +2 -0
- package/dist/types/interface/models/gift-code-activation.model.d.ts +13 -0
- package/dist/types/interface/models/gift-code-activation.model.js +2 -0
- package/dist/types/interface/models/gift-code.model.d.ts +18 -0
- package/dist/types/interface/models/gift-code.model.js +2 -0
- package/dist/types/interface/models/newsletter-history.model.d.ts +8 -0
- package/dist/types/interface/models/newsletter-history.model.js +2 -0
- package/dist/types/interface/models/newsletter-member.model.d.ts +7 -0
- package/dist/types/interface/models/newsletter-member.model.js +2 -0
- package/dist/types/interface/models/oauth-account.model.d.ts +17 -0
- package/dist/types/interface/models/oauth-account.model.js +2 -0
- package/dist/types/interface/models/project-access.model.d.ts +19 -0
- package/dist/types/interface/models/project-access.model.js +2 -0
- package/dist/types/interface/models/project-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/project-application-access.model.js +2 -0
- package/dist/types/interface/models/project-authentication-session.model.d.ts +10 -0
- package/dist/types/interface/models/project-authentication-session.model.js +2 -0
- package/dist/types/interface/models/project-authentication.model.d.ts +10 -0
- package/dist/types/interface/models/project-authentication.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +20 -0
- package/dist/types/interface/models/project.model.js +2 -0
- package/dist/types/interface/models/subscription.model.d.ts +16 -0
- package/dist/types/interface/models/subscription.model.js +2 -0
- package/dist/types/interface/models/token-history.model.d.ts +44 -0
- package/dist/types/interface/models/token-history.model.js +2 -0
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +22 -0
- package/dist/types/interface/models/user-credit-purchase.model.js +2 -0
- package/dist/types/interface/models/user-notification.model.d.ts +14 -0
- package/dist/types/interface/models/user-notification.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message-attachment.model.d.ts +14 -0
- package/dist/types/interface/models/user-ticket-message-attachment.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message.model.d.ts +14 -0
- package/dist/types/interface/models/user-ticket-message.model.js +2 -0
- package/dist/types/interface/models/user-ticket.model.d.ts +15 -0
- package/dist/types/interface/models/user-ticket.model.js +2 -0
- package/dist/types/interface/models/user-transaction.model.d.ts +19 -0
- package/dist/types/interface/models/user-transaction.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +34 -0
- package/dist/types/interface/models/user.model.js +2 -0
- package/dist/types/models/index.d.ts +1 -0
- package/dist/types/models/index.js +17 -0
- package/dist/types/models/transfer.model.d.ts +36 -0
- package/dist/types/models/transfer.model.js +73 -0
- package/dist/types/session.d.ts +26 -0
- package/dist/types/session.js +2 -0
- package/dist/types/utils/billing.util.d.ts +2 -0
- package/dist/types/utils/billing.util.js +33 -0
- package/dist/types/utils/convert-query.util.d.ts +2 -0
- package/dist/types/utils/convert-query.util.js +2 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/dist/types/utils/index.js +21 -0
- package/dist/types/utils/notifications.type-util.d.ts +8 -0
- package/dist/types/utils/notifications.type-util.js +2 -0
- package/dist/types/utils/overwrite.util.d.ts +9 -0
- package/dist/types/utils/overwrite.util.js +2 -0
- package/dist/types/utils/require-one.util.d.ts +6 -0
- package/dist/types/utils/require-one.util.js +2 -0
- package/dist/utils/array.utils.d.ts +1 -0
- package/dist/utils/array.utils.js +7 -0
- package/dist/utils/byte.utils.d.ts +2 -0
- package/dist/utils/byte.utils.js +71 -0
- package/dist/utils/duration.utils.d.ts +1 -0
- package/dist/utils/duration.utils.js +10 -0
- package/dist/utils/enum-to-array.utils.d.ts +2 -0
- package/dist/utils/enum-to-array.utils.js +14 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/import.utils.d.ts +1 -0
- package/dist/utils/import.utils.js +7 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/is-valid-object.utils.d.ts +1 -0
- package/dist/utils/is-valid-object.utils.js +12 -0
- package/dist/utils/notification.utils.d.ts +3 -0
- package/dist/utils/notification.utils.js +11 -0
- package/dist/utils/sleep.utils.d.ts +1 -0
- package/dist/utils/sleep.utils.js +9 -0
- package/dist/utils/subscription.utils.d.ts +6 -0
- package/dist/utils/subscription.utils.js +41 -0
- package/package.json +57 -0
- package/tsconfig.json +105 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IActivateServiceApplicationAdminBody, IActivateServiceApplicationAdminParams, IActivateServiceApplicationAdminResponse, ICreateApplicationAdminBody, ICreateApplicationAdminResponse, IDeleteApplicationAdminParams, IDeleteApplicationAdminResponse, IGetApplicationAdminParams, IGetApplicationAdminResponse, IGetProjectApplicationAdminParams, IGetProjectApplicationAdminResponse, IPaginateApplicationAdminQuery, IPaginateApplicationAdminResponse, IUpdateApplicationAdminBody, IUpdateApplicationAdminParams, IUpdateApplicationAdminResponse } from '../types';
|
|
2
|
+
export declare const getApplicationAdmin: (params: IGetApplicationAdminParams) => Promise<IGetApplicationAdminResponse>;
|
|
3
|
+
export declare const getProjectApplicationAdmin: (params: IGetProjectApplicationAdminParams) => Promise<IGetProjectApplicationAdminResponse>;
|
|
4
|
+
export declare const paginateApplicationAdmin: (query: IPaginateApplicationAdminQuery) => Promise<IPaginateApplicationAdminResponse>;
|
|
5
|
+
export declare const deleteApplicationAdmin: (params: IDeleteApplicationAdminParams) => Promise<IDeleteApplicationAdminResponse>;
|
|
6
|
+
export declare const updateApplicationAdmin: (params: IUpdateApplicationAdminParams, body: IUpdateApplicationAdminBody) => Promise<IUpdateApplicationAdminResponse>;
|
|
7
|
+
export declare const createApplicationAdmin: (body: ICreateApplicationAdminBody) => Promise<ICreateApplicationAdminResponse>;
|
|
8
|
+
export declare const activateServiceApplicationAdmin: (params: IActivateServiceApplicationAdminParams, body: IActivateServiceApplicationAdminBody) => Promise<IActivateServiceApplicationAdminResponse>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.activateServiceApplicationAdmin = exports.createApplicationAdmin = exports.updateApplicationAdmin = exports.deleteApplicationAdmin = exports.paginateApplicationAdmin = exports.getProjectApplicationAdmin = exports.getApplicationAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getApplicationAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`application/admin/${params.applicationId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getApplicationAdmin = getApplicationAdmin;
|
|
9
|
+
const getProjectApplicationAdmin = async (params) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`application/admin/${params.applicationId}/project`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.getProjectApplicationAdmin = getProjectApplicationAdmin;
|
|
13
|
+
const paginateApplicationAdmin = async (query) => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`application/admin/paginate`, {
|
|
15
|
+
params: query,
|
|
16
|
+
})).data;
|
|
17
|
+
};
|
|
18
|
+
exports.paginateApplicationAdmin = paginateApplicationAdmin;
|
|
19
|
+
const deleteApplicationAdmin = async (params) => {
|
|
20
|
+
return (await __1.AbyssCore.axios.delete(`application/admin/${params.applicationId}`)).data;
|
|
21
|
+
};
|
|
22
|
+
exports.deleteApplicationAdmin = deleteApplicationAdmin;
|
|
23
|
+
const updateApplicationAdmin = async (params, body) => {
|
|
24
|
+
return (await __1.AbyssCore.axios.put(`application/admin/${params.applicationId}`, body)).data;
|
|
25
|
+
};
|
|
26
|
+
exports.updateApplicationAdmin = updateApplicationAdmin;
|
|
27
|
+
const createApplicationAdmin = async (body) => {
|
|
28
|
+
return (await __1.AbyssCore.axios.post(`application/admin`, body))
|
|
29
|
+
.data;
|
|
30
|
+
};
|
|
31
|
+
exports.createApplicationAdmin = createApplicationAdmin;
|
|
32
|
+
const activateServiceApplicationAdmin = async (params, body) => {
|
|
33
|
+
return (await __1.AbyssCore.axios.post(`application/admin/${params.applicationId}/activate-service`, body)).data;
|
|
34
|
+
};
|
|
35
|
+
exports.activateServiceApplicationAdmin = activateServiceApplicationAdmin;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IActivateServiceApplicationBody, IActivateServiceApplicationParams, IActivateServiceApplicationResponse, ICreateApplicationBody, ICreateApplicationParams, ICreateApplicationResponse, IDeleteApplicationParams, IDeleteApplicationResponse, IGetApplicationParams, IGetApplicationResponse, IListApplicationParams, IListApplicationQuery, IListApplicationResponse, IUpdateApplicationBody, IUpdateApplicationParams, IUpdateApplicationResponse } from '../types';
|
|
2
|
+
export declare const getApplication: (params: IGetApplicationParams) => Promise<IGetApplicationResponse>;
|
|
3
|
+
export declare const listApplication: (params: IListApplicationParams, query: IListApplicationQuery) => Promise<IListApplicationResponse>;
|
|
4
|
+
export declare const deleteApplication: (params: IDeleteApplicationParams) => Promise<IDeleteApplicationResponse>;
|
|
5
|
+
export declare const updateApplication: (params: IUpdateApplicationParams, body: IUpdateApplicationBody) => Promise<IUpdateApplicationResponse>;
|
|
6
|
+
export declare const createApplication: (params: ICreateApplicationParams, body: ICreateApplicationBody) => Promise<ICreateApplicationResponse>;
|
|
7
|
+
export declare const activateServiceApplication: (params: IActivateServiceApplicationParams, body: IActivateServiceApplicationBody) => Promise<IActivateServiceApplicationResponse>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.activateServiceApplication = exports.createApplication = exports.updateApplication = exports.deleteApplication = exports.listApplication = exports.getApplication = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getApplication = async (params) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`application/${params.applicationId}`))
|
|
7
|
+
.data;
|
|
8
|
+
};
|
|
9
|
+
exports.getApplication = getApplication;
|
|
10
|
+
const listApplication = async (params, query) => {
|
|
11
|
+
return (await __1.AbyssCore.axios.get(`application/${params.projectId}/list`, {
|
|
12
|
+
params: query,
|
|
13
|
+
})).data;
|
|
14
|
+
};
|
|
15
|
+
exports.listApplication = listApplication;
|
|
16
|
+
const deleteApplication = async (params) => {
|
|
17
|
+
return (await __1.AbyssCore.axios.delete(`application/${params.applicationId}`)).data;
|
|
18
|
+
};
|
|
19
|
+
exports.deleteApplication = deleteApplication;
|
|
20
|
+
const updateApplication = async (params, body) => {
|
|
21
|
+
return (await __1.AbyssCore.axios.put(`application/${params.applicationId}`, body)).data;
|
|
22
|
+
};
|
|
23
|
+
exports.updateApplication = updateApplication;
|
|
24
|
+
const createApplication = async (params, body) => {
|
|
25
|
+
return (await __1.AbyssCore.axios.post(`application/${params.projectId}`, body)).data;
|
|
26
|
+
};
|
|
27
|
+
exports.createApplication = createApplication;
|
|
28
|
+
const activateServiceApplication = async (params, body) => {
|
|
29
|
+
return (await __1.AbyssCore.axios.post(`application/${params.applicationId}/activate-service`, body)).data;
|
|
30
|
+
};
|
|
31
|
+
exports.activateServiceApplication = activateServiceApplication;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ILoginAuthBody, ILoginAuthResponse, IRefreshAuthResponse, ISignupAuthBody, ISignupAuthResponse, IOAuthAuthBody, IOAuthAuthResponse, ISendEmailVerificationAuthBody, ISendEmailVerificationAuthResponse, IVerifyEmailAuthQuery, IVerifyEmailAuthResponse, ISendEmailResetPasswordAuthBody, ISendEmailResetPasswordAuthResponse, IResetPasswordAuthBody, IResetPasswordAuthQuery, IResetPasswordAuthResponse, IActivateServiceAuthQuery, IActivateServiceAuthResponse } from '../types';
|
|
2
|
+
export declare const login: (body: ILoginAuthBody) => Promise<ILoginAuthResponse>;
|
|
3
|
+
export declare const refresh: () => Promise<IRefreshAuthResponse>;
|
|
4
|
+
export declare const register: (body: ISignupAuthBody) => Promise<ISignupAuthResponse>;
|
|
5
|
+
export declare const oauth: (body: IOAuthAuthBody) => Promise<IOAuthAuthResponse>;
|
|
6
|
+
export declare const sendVerificationEmail: (body: ISendEmailVerificationAuthBody) => Promise<ISendEmailVerificationAuthResponse>;
|
|
7
|
+
export declare const verifyEmail: (query: IVerifyEmailAuthQuery) => Promise<IVerifyEmailAuthResponse>;
|
|
8
|
+
export declare const sendEmailResetPassword: (body: ISendEmailResetPasswordAuthBody) => Promise<ISendEmailResetPasswordAuthResponse>;
|
|
9
|
+
export declare const resetPassword: (body: IResetPasswordAuthBody, query: IResetPasswordAuthQuery) => Promise<IResetPasswordAuthResponse>;
|
|
10
|
+
export declare const activateService: (query: IActivateServiceAuthQuery) => Promise<IActivateServiceAuthResponse>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.activateService = exports.resetPassword = exports.sendEmailResetPassword = exports.verifyEmail = exports.sendVerificationEmail = exports.oauth = exports.register = exports.refresh = exports.login = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const login = async (body) => {
|
|
6
|
+
const response = await __1.AbyssCore.axios.post('auth/login', body);
|
|
7
|
+
if (response.data.error)
|
|
8
|
+
return response.data;
|
|
9
|
+
__1.AbyssCore.setConfig({ token: response.data.data.sid });
|
|
10
|
+
return response.data;
|
|
11
|
+
};
|
|
12
|
+
exports.login = login;
|
|
13
|
+
const refresh = async () => {
|
|
14
|
+
const response = await __1.AbyssCore.axios.post('auth/refresh');
|
|
15
|
+
if (response.data.error)
|
|
16
|
+
return response.data;
|
|
17
|
+
__1.AbyssCore.setConfig({ token: response.data.data.token });
|
|
18
|
+
return response.data;
|
|
19
|
+
};
|
|
20
|
+
exports.refresh = refresh;
|
|
21
|
+
const register = async (body) => {
|
|
22
|
+
const response = await __1.AbyssCore.axios.post('auth/signup', body);
|
|
23
|
+
if (response.data.error)
|
|
24
|
+
return response.data;
|
|
25
|
+
return response.data;
|
|
26
|
+
};
|
|
27
|
+
exports.register = register;
|
|
28
|
+
const oauth = async (body) => {
|
|
29
|
+
const response = await __1.AbyssCore.axios.post('auth/oauth', body);
|
|
30
|
+
if (response.data.error)
|
|
31
|
+
return response.data;
|
|
32
|
+
__1.AbyssCore.setConfig({ token: response.data.data.sid });
|
|
33
|
+
return response.data;
|
|
34
|
+
};
|
|
35
|
+
exports.oauth = oauth;
|
|
36
|
+
const sendVerificationEmail = async (body) => {
|
|
37
|
+
return (await __1.AbyssCore.axios.post('auth/send-verification-email', body)).data;
|
|
38
|
+
};
|
|
39
|
+
exports.sendVerificationEmail = sendVerificationEmail;
|
|
40
|
+
const verifyEmail = async (query) => {
|
|
41
|
+
return (await __1.AbyssCore.axios.post('auth/verify-email', {}, { params: query })).data;
|
|
42
|
+
};
|
|
43
|
+
exports.verifyEmail = verifyEmail;
|
|
44
|
+
const sendEmailResetPassword = async (body) => {
|
|
45
|
+
return (await __1.AbyssCore.axios.post('auth/send-reset-password', body)).data;
|
|
46
|
+
};
|
|
47
|
+
exports.sendEmailResetPassword = sendEmailResetPassword;
|
|
48
|
+
const resetPassword = async (body, query) => {
|
|
49
|
+
return (await __1.AbyssCore.axios.post('auth/reset-password', body, {
|
|
50
|
+
params: query,
|
|
51
|
+
})).data;
|
|
52
|
+
};
|
|
53
|
+
exports.resetPassword = resetPassword;
|
|
54
|
+
const activateService = async (query) => {
|
|
55
|
+
return (await __1.AbyssCore.axios.post('auth/activate-service', {}, { params: query })).data;
|
|
56
|
+
};
|
|
57
|
+
exports.activateService = activateService;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IBuyCreditFreePickStripeBillingBody, IBuyCreditFreePickStripeBillingResponse, IBuyCreditStripeBillingBody, IBuyCreditStripeBillingResponse, IListProductCreditBillingResponse } from '../types';
|
|
2
|
+
export declare const buyCreditStripeBilling: (body: IBuyCreditStripeBillingBody) => Promise<IBuyCreditStripeBillingResponse>;
|
|
3
|
+
export declare const buyCreditFreePickStripeBilling: (body: IBuyCreditFreePickStripeBillingBody) => Promise<IBuyCreditFreePickStripeBillingResponse>;
|
|
4
|
+
export declare const listProductCreditBilling: () => Promise<IListProductCreditBillingResponse>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listProductCreditBilling = exports.buyCreditFreePickStripeBilling = exports.buyCreditStripeBilling = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const buyCreditStripeBilling = async (body) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.post(`billing/buy/credit/stripe`, body)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.buyCreditStripeBilling = buyCreditStripeBilling;
|
|
9
|
+
const buyCreditFreePickStripeBilling = async (body) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.post(`billing/buy/credit-free-pick/stripe`, body)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.buyCreditFreePickStripeBilling = buyCreditFreePickStripeBilling;
|
|
13
|
+
const listProductCreditBilling = async () => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`billing/product/credit/list`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.listProductCreditBilling = listProductCreditBilling;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPaginateGiftCodeActivationAdminQuery, IPaginateGiftCodeActivationAdminResponse, IPaginateGiftCodeAdminQuery, IPaginateGiftCodeAdminResponse, IGetGiftCodeAdminParams, IGetGiftCodeAdminResponse, IUseGiftCodeAdminParams, IUseGiftCodeAdminQuery, IUseGiftCodeAdminResponse, ICreateGiftCodeAdminBody, ICreateGiftCodeAdminResponse, IDeleteGiftCodeAdminParams, IDeleteGiftCodeAdminResponse, IUpdateGiftCodeAdminParams, IUpdateGiftCodeAdminBody, IUpdateGiftCodeAdminResponse } from '../types';
|
|
2
|
+
export declare const paginateGiftCodeActivationAdmin: (query: IPaginateGiftCodeActivationAdminQuery) => Promise<IPaginateGiftCodeActivationAdminResponse>;
|
|
3
|
+
export declare const paginateGiftCodeAdmin: (query: IPaginateGiftCodeAdminQuery) => Promise<IPaginateGiftCodeAdminResponse>;
|
|
4
|
+
export declare const getGiftCodeAdmin: (params: IGetGiftCodeAdminParams) => Promise<IGetGiftCodeAdminResponse>;
|
|
5
|
+
export declare const useGiftCodeAdmin: (params: IUseGiftCodeAdminParams, query: IUseGiftCodeAdminQuery) => Promise<IUseGiftCodeAdminResponse>;
|
|
6
|
+
export declare const createGiftCodeAdmin: (body: ICreateGiftCodeAdminBody) => Promise<ICreateGiftCodeAdminResponse>;
|
|
7
|
+
export declare const deleteGiftCodeAdmin: (params: IDeleteGiftCodeAdminParams) => Promise<IDeleteGiftCodeAdminResponse>;
|
|
8
|
+
export declare const updateGiftCodeAdmin: (params: IUpdateGiftCodeAdminParams, body: IUpdateGiftCodeAdminBody) => Promise<IUpdateGiftCodeAdminResponse>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateGiftCodeAdmin = exports.deleteGiftCodeAdmin = exports.createGiftCodeAdmin = exports.useGiftCodeAdmin = exports.getGiftCodeAdmin = exports.paginateGiftCodeAdmin = exports.paginateGiftCodeActivationAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const paginateGiftCodeActivationAdmin = async (query) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`admin/gift-codes/activations/paginate`, { params: query })).data;
|
|
7
|
+
};
|
|
8
|
+
exports.paginateGiftCodeActivationAdmin = paginateGiftCodeActivationAdmin;
|
|
9
|
+
const paginateGiftCodeAdmin = async (query) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`admin/gift-codes/paginate`, {
|
|
11
|
+
params: query,
|
|
12
|
+
})).data;
|
|
13
|
+
};
|
|
14
|
+
exports.paginateGiftCodeAdmin = paginateGiftCodeAdmin;
|
|
15
|
+
const getGiftCodeAdmin = async (params) => {
|
|
16
|
+
return (await __1.AbyssCore.axios.get(`admin/gift-codes/${params.giftCodeId}`)).data;
|
|
17
|
+
};
|
|
18
|
+
exports.getGiftCodeAdmin = getGiftCodeAdmin;
|
|
19
|
+
const useGiftCodeAdmin = async (params, query) => {
|
|
20
|
+
return (await __1.AbyssCore.axios.post(`admin/gift-codes/user/${params.userId}/activate`, { params: query })).data;
|
|
21
|
+
};
|
|
22
|
+
exports.useGiftCodeAdmin = useGiftCodeAdmin;
|
|
23
|
+
const createGiftCodeAdmin = async (body) => {
|
|
24
|
+
return (await __1.AbyssCore.axios.post(`admin/gift-codes`, body)).data;
|
|
25
|
+
};
|
|
26
|
+
exports.createGiftCodeAdmin = createGiftCodeAdmin;
|
|
27
|
+
const deleteGiftCodeAdmin = async (params) => {
|
|
28
|
+
return (await __1.AbyssCore.axios.delete(`admin/gift-codes/${params.giftCodeId}`)).data;
|
|
29
|
+
};
|
|
30
|
+
exports.deleteGiftCodeAdmin = deleteGiftCodeAdmin;
|
|
31
|
+
const updateGiftCodeAdmin = async (params, body) => {
|
|
32
|
+
return (await __1.AbyssCore.axios.put(`admin/gift-codes/${params.giftCodeId}`, body)).data;
|
|
33
|
+
};
|
|
34
|
+
exports.updateGiftCodeAdmin = updateGiftCodeAdmin;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IPaginateGiftCodeActivationQuery, IPaginateGiftCodeActivationResponse, IUseGiftCodeBody, IUseGiftCodeResponse, ICheckGiftCodeQuery, ICheckGiftCodeResponse } from '../types';
|
|
2
|
+
export declare const paginateGiftCodeActivation: (query: IPaginateGiftCodeActivationQuery) => Promise<IPaginateGiftCodeActivationResponse>;
|
|
3
|
+
export declare const useGiftCode: (body: IUseGiftCodeBody) => Promise<IUseGiftCodeResponse>;
|
|
4
|
+
export declare const checkGiftCode: (query: ICheckGiftCodeQuery) => Promise<ICheckGiftCodeResponse>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.checkGiftCode = exports.useGiftCode = exports.paginateGiftCodeActivation = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const paginateGiftCodeActivation = async (query) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`/gift-codes/activations/paginate`, {
|
|
7
|
+
params: query,
|
|
8
|
+
})).data;
|
|
9
|
+
};
|
|
10
|
+
exports.paginateGiftCodeActivation = paginateGiftCodeActivation;
|
|
11
|
+
const useGiftCode = async (body) => {
|
|
12
|
+
return (await __1.AbyssCore.axios.post(`gift-codes/activate`, body)).data;
|
|
13
|
+
};
|
|
14
|
+
exports.useGiftCode = useGiftCode;
|
|
15
|
+
const checkGiftCode = async (query) => {
|
|
16
|
+
return (await __1.AbyssCore.axios.post(`/gift-codes/check`, {
|
|
17
|
+
params: query,
|
|
18
|
+
})).data;
|
|
19
|
+
};
|
|
20
|
+
exports.checkGiftCode = checkGiftCode;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './auth.api';
|
|
2
|
+
export * from './user.api';
|
|
3
|
+
export * from './user.admin.api';
|
|
4
|
+
export * from './user-notification.api';
|
|
5
|
+
export * from './user-notification.admin.api';
|
|
6
|
+
export * from './user-transaction.api';
|
|
7
|
+
export * from './user-transaction.admin.api';
|
|
8
|
+
export * from './gift-code.api';
|
|
9
|
+
export * from './gift-code.admin.api';
|
|
10
|
+
export * from './user-credit-purchase.admin.api';
|
|
11
|
+
export * from './user-credit-purchase.api';
|
|
12
|
+
export * from './metrics.admin.api';
|
|
13
|
+
export * from './monitor.api';
|
|
14
|
+
export * from './user-ticket.admin.api';
|
|
15
|
+
export * from './user-ticket.api';
|
|
16
|
+
export * from './application.admin.api';
|
|
17
|
+
export * from './application.api';
|
|
18
|
+
export * from './project.admin.api';
|
|
19
|
+
export * from './project.api';
|
|
20
|
+
export * from './project-access.admin.api';
|
|
21
|
+
export * from './project-access.api';
|
|
22
|
+
export * from './billing.api';
|
|
23
|
+
export * from './newsletter.admin.api';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth.api"), exports);
|
|
18
|
+
__exportStar(require("./user.api"), exports);
|
|
19
|
+
__exportStar(require("./user.admin.api"), exports);
|
|
20
|
+
__exportStar(require("./user-notification.api"), exports);
|
|
21
|
+
__exportStar(require("./user-notification.admin.api"), exports);
|
|
22
|
+
__exportStar(require("./user-transaction.api"), exports);
|
|
23
|
+
__exportStar(require("./user-transaction.admin.api"), exports);
|
|
24
|
+
__exportStar(require("./gift-code.api"), exports);
|
|
25
|
+
__exportStar(require("./gift-code.admin.api"), exports);
|
|
26
|
+
__exportStar(require("./user-credit-purchase.admin.api"), exports);
|
|
27
|
+
__exportStar(require("./user-credit-purchase.api"), exports);
|
|
28
|
+
__exportStar(require("./metrics.admin.api"), exports);
|
|
29
|
+
__exportStar(require("./monitor.api"), exports);
|
|
30
|
+
__exportStar(require("./user-ticket.admin.api"), exports);
|
|
31
|
+
__exportStar(require("./user-ticket.api"), exports);
|
|
32
|
+
__exportStar(require("./application.admin.api"), exports);
|
|
33
|
+
__exportStar(require("./application.api"), exports);
|
|
34
|
+
__exportStar(require("./project.admin.api"), exports);
|
|
35
|
+
__exportStar(require("./project.api"), exports);
|
|
36
|
+
__exportStar(require("./project-access.admin.api"), exports);
|
|
37
|
+
__exportStar(require("./project-access.api"), exports);
|
|
38
|
+
__exportStar(require("./billing.api"), exports);
|
|
39
|
+
__exportStar(require("./newsletter.admin.api"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IGetUserTransactionMetricsResponse, IGetUserCreditPurchaseMetricsResponse, IGetGiftCodeMetricsResponse } from '../types';
|
|
2
|
+
export declare const getUserTransactionMetricsAdmin: () => Promise<IGetUserTransactionMetricsResponse>;
|
|
3
|
+
export declare const getUserCreditPurchaseMetricsAdmin: () => Promise<IGetUserCreditPurchaseMetricsResponse>;
|
|
4
|
+
export declare const getGiftCodeMetricsAdmin: () => Promise<IGetGiftCodeMetricsResponse>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getGiftCodeMetricsAdmin = exports.getUserCreditPurchaseMetricsAdmin = exports.getUserTransactionMetricsAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getUserTransactionMetricsAdmin = async () => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`admin/metrics/user-transactions`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getUserTransactionMetricsAdmin = getUserTransactionMetricsAdmin;
|
|
9
|
+
const getUserCreditPurchaseMetricsAdmin = async () => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`admin/metrics/user-credit-purchases`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.getUserCreditPurchaseMetricsAdmin = getUserCreditPurchaseMetricsAdmin;
|
|
13
|
+
const getGiftCodeMetricsAdmin = async () => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`admin/metrics/gift-codes`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.getGiftCodeMetricsAdmin = getGiftCodeMetricsAdmin;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.upMonitor = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const upMonitor = async () => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`monitor/up`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.upMonitor = upMonitor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IGetHistoryNewsletterAdminParams, IGetHistoryNewsletterAdminResponse, IGetMemberNewsletterAdminParams, IGetMemberNewsletterAdminResponse, IPaginateHistoryNewsletterAdminQuery, IPaginateHistoryNewsletterAdminResponse, IPaginateMemberNewsletterAdminQuery, IPaginateMemberNewsletterAdminResponse, ISendNewsletterAdminBody, ISendNewsletterAdminResponse } from '../types';
|
|
2
|
+
export declare const paginateHistoryNewsletterAdmin: (query: IPaginateHistoryNewsletterAdminQuery) => Promise<IPaginateHistoryNewsletterAdminResponse>;
|
|
3
|
+
export declare const getHistoryNewsletterAdmin: (params: IGetHistoryNewsletterAdminParams) => Promise<IGetHistoryNewsletterAdminResponse>;
|
|
4
|
+
export declare const paginateMemberNewsletterAdmin: (query: IPaginateMemberNewsletterAdminQuery) => Promise<IPaginateMemberNewsletterAdminResponse>;
|
|
5
|
+
export declare const getMemberNewsletterAdmin: (params: IGetMemberNewsletterAdminParams) => Promise<IGetMemberNewsletterAdminResponse>;
|
|
6
|
+
export declare const sendNewsletterAdmin: (body: ISendNewsletterAdminBody) => Promise<ISendNewsletterAdminResponse>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendNewsletterAdmin = exports.getMemberNewsletterAdmin = exports.paginateMemberNewsletterAdmin = exports.getHistoryNewsletterAdmin = exports.paginateHistoryNewsletterAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const paginateHistoryNewsletterAdmin = async (query) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`newsletter/admin/history/paginate`, { params: query })).data;
|
|
7
|
+
};
|
|
8
|
+
exports.paginateHistoryNewsletterAdmin = paginateHistoryNewsletterAdmin;
|
|
9
|
+
const getHistoryNewsletterAdmin = async (params) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`newsletter/admin/history/${params.newsletterHistoryId}`)).data;
|
|
11
|
+
};
|
|
12
|
+
exports.getHistoryNewsletterAdmin = getHistoryNewsletterAdmin;
|
|
13
|
+
const paginateMemberNewsletterAdmin = async (query) => {
|
|
14
|
+
return (await __1.AbyssCore.axios.get(`newsletter/admin/member/paginate`, { params: query })).data;
|
|
15
|
+
};
|
|
16
|
+
exports.paginateMemberNewsletterAdmin = paginateMemberNewsletterAdmin;
|
|
17
|
+
const getMemberNewsletterAdmin = async (params) => {
|
|
18
|
+
return (await __1.AbyssCore.axios.get(`newsletter/admin/member/${params.newsletterMemberId}`)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.getMemberNewsletterAdmin = getMemberNewsletterAdmin;
|
|
21
|
+
const sendNewsletterAdmin = async (body) => {
|
|
22
|
+
return (await __1.AbyssCore.axios.post(`newsletter/admin/send`, body))
|
|
23
|
+
.data;
|
|
24
|
+
};
|
|
25
|
+
exports.sendNewsletterAdmin = sendNewsletterAdmin;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICreateProjectAccessAdminBody, ICreateProjectAccessAdminParams, ICreateProjectAccessAdminResponse, ICreateUserProjectAccessAdminResponse, ICreateUserProjectAccessAdminBody, ICreateUserProjectAccessAdminParams, IDeleteProjectAccessAdminParams, IDeleteProjectAccessAdminResponse, IGetProjectAccessAdminParams, IGetProjectAccessAdminResponse, IPaginateProjectAccessAdminQuery, IPaginateProjectAccessAdminResponse, IUpdateProjectAccessAdminBody, IUpdateProjectAccessAdminParams, IUpdateProjectAccessAdminResponse, IResetApiKeyProjectAccessAdminParams, IResetApiKeyProjectAccessAdminResponse, IComputeApplicationProjectAccessAdminParams, IComputeApplicationProjectAccessAdminBody, IComputeNotificationAccessProjectAccessAdminBody, IUpsertApplicationProjectAccessAdminParams, IUpsertApplicationProjectAccessAdminBody, IUpsertApplicationProjectAccessAdminResponse, IComputeApplicationProjectAccessAdminResponse, IComputeNotificationAccessProjectAccessAdminResponse, IDeleteApplicationProjectAccessAdminParams, IDeleteApplicationProjectAccessAdminResponse } from '../types';
|
|
2
|
+
export declare const getProjectAccessAdmin: (params: IGetProjectAccessAdminParams) => Promise<IGetProjectAccessAdminResponse>;
|
|
3
|
+
export declare const paginateProjectAccessAdmin: (query: IPaginateProjectAccessAdminQuery) => Promise<IPaginateProjectAccessAdminResponse>;
|
|
4
|
+
export declare const deleteProjectAccessAdmin: (params: IDeleteProjectAccessAdminParams) => Promise<IDeleteProjectAccessAdminResponse>;
|
|
5
|
+
export declare const updateProjectAccessAdmin: (params: IUpdateProjectAccessAdminParams, body: IUpdateProjectAccessAdminBody) => Promise<IUpdateProjectAccessAdminResponse>;
|
|
6
|
+
export declare const upsertApplicationProjectAccessAdmin: (params: IUpsertApplicationProjectAccessAdminParams, body: IUpsertApplicationProjectAccessAdminBody) => Promise<IUpsertApplicationProjectAccessAdminResponse>;
|
|
7
|
+
export declare const deleteApplicationProjectAccessAdmin: (params: IDeleteApplicationProjectAccessAdminParams) => Promise<IDeleteApplicationProjectAccessAdminResponse>;
|
|
8
|
+
export declare const createProjectAccessAdmin: (params: ICreateProjectAccessAdminParams, body: ICreateProjectAccessAdminBody) => Promise<ICreateProjectAccessAdminResponse>;
|
|
9
|
+
export declare const createUserProjectAccessAdmin: (params: ICreateUserProjectAccessAdminParams, body: ICreateUserProjectAccessAdminBody) => Promise<ICreateUserProjectAccessAdminResponse>;
|
|
10
|
+
export declare const resetApiKeyProjectAccessAdmin: (params: IResetApiKeyProjectAccessAdminParams) => Promise<IResetApiKeyProjectAccessAdminResponse>;
|
|
11
|
+
export declare const computeApplicationProjectAccessAdmin: (params: IComputeApplicationProjectAccessAdminParams, body: IComputeApplicationProjectAccessAdminBody) => Promise<IComputeApplicationProjectAccessAdminResponse>;
|
|
12
|
+
export declare const computeNotificationAccessProjectAccessAdmin: (body: IComputeNotificationAccessProjectAccessAdminBody) => Promise<IComputeNotificationAccessProjectAccessAdminResponse>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computeNotificationAccessProjectAccessAdmin = exports.computeApplicationProjectAccessAdmin = exports.resetApiKeyProjectAccessAdmin = exports.createUserProjectAccessAdmin = exports.createProjectAccessAdmin = exports.deleteApplicationProjectAccessAdmin = exports.upsertApplicationProjectAccessAdmin = exports.updateProjectAccessAdmin = exports.deleteProjectAccessAdmin = exports.paginateProjectAccessAdmin = exports.getProjectAccessAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getProjectAccessAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`project-access/admin/${params.projectAccessId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getProjectAccessAdmin = getProjectAccessAdmin;
|
|
9
|
+
const paginateProjectAccessAdmin = async (query) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`project-access/admin/paginate`, { params: query })).data;
|
|
11
|
+
};
|
|
12
|
+
exports.paginateProjectAccessAdmin = paginateProjectAccessAdmin;
|
|
13
|
+
const deleteProjectAccessAdmin = async (params) => {
|
|
14
|
+
return (await __1.AbyssCore.axios.delete(`project-access/admin/${params.projectAccessId}`)).data;
|
|
15
|
+
};
|
|
16
|
+
exports.deleteProjectAccessAdmin = deleteProjectAccessAdmin;
|
|
17
|
+
const updateProjectAccessAdmin = async (params, body) => {
|
|
18
|
+
return (await __1.AbyssCore.axios.put(`project-access/admin/${params.projectAccessId}`, body)).data;
|
|
19
|
+
};
|
|
20
|
+
exports.updateProjectAccessAdmin = updateProjectAccessAdmin;
|
|
21
|
+
const upsertApplicationProjectAccessAdmin = async (params, body) => {
|
|
22
|
+
return (await __1.AbyssCore.axios.put(`project-access/admin/${params.projectAccessId}/${params.applicationId}`, body)).data;
|
|
23
|
+
};
|
|
24
|
+
exports.upsertApplicationProjectAccessAdmin = upsertApplicationProjectAccessAdmin;
|
|
25
|
+
const deleteApplicationProjectAccessAdmin = async (params) => {
|
|
26
|
+
return (await __1.AbyssCore.axios.delete(`project-access/admin/${params.projectAccessId}/${params.applicationId}`)).data;
|
|
27
|
+
};
|
|
28
|
+
exports.deleteApplicationProjectAccessAdmin = deleteApplicationProjectAccessAdmin;
|
|
29
|
+
const createProjectAccessAdmin = async (params, body) => {
|
|
30
|
+
return (await __1.AbyssCore.axios.post(`project-access/admin/${params.projectId}`, body)).data;
|
|
31
|
+
};
|
|
32
|
+
exports.createProjectAccessAdmin = createProjectAccessAdmin;
|
|
33
|
+
const createUserProjectAccessAdmin = async (params, body) => {
|
|
34
|
+
return (await __1.AbyssCore.axios.post(`project-access/admin/${params.projectId}/user-access/${params.userId}`, body)).data;
|
|
35
|
+
};
|
|
36
|
+
exports.createUserProjectAccessAdmin = createUserProjectAccessAdmin;
|
|
37
|
+
const resetApiKeyProjectAccessAdmin = async (params) => {
|
|
38
|
+
return (await __1.AbyssCore.axios.post(`project-access/admin/${params.projectAccessId}/reset-api-key`)).data;
|
|
39
|
+
};
|
|
40
|
+
exports.resetApiKeyProjectAccessAdmin = resetApiKeyProjectAccessAdmin;
|
|
41
|
+
const computeApplicationProjectAccessAdmin = async (params, body) => {
|
|
42
|
+
return (await __1.AbyssCore.axios.post(`project-access/admin/compute-permission/application/${params.applicationId}/compute`, body)).data;
|
|
43
|
+
};
|
|
44
|
+
exports.computeApplicationProjectAccessAdmin = computeApplicationProjectAccessAdmin;
|
|
45
|
+
const computeNotificationAccessProjectAccessAdmin = async (body) => {
|
|
46
|
+
return (await __1.AbyssCore.axios.post(`project-access/admin/compute-permission/notification`, body)).data;
|
|
47
|
+
};
|
|
48
|
+
exports.computeNotificationAccessProjectAccessAdmin = computeNotificationAccessProjectAccessAdmin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICreateProjectAccessBody, ICreateProjectAccessParams, ICreateProjectAccessResponse, ICreateUserProjectAccessResponse, ICreateUserProjectAccessBody, ICreateUserProjectAccessParams, IDeleteProjectAccessParams, IDeleteProjectAccessResponse, IGetProjectAccessParams, IGetProjectAccessResponse, IPaginateProjectAccessParams, IPaginateProjectAccessQuery, IPaginateProjectAccessResponse, IUpdateProjectAccessBody, IUpdateProjectAccessParams, IUpdateProjectAccessResponse, IResetApiKeyProjectAccessParams, IResetApiKeyProjectAccessResponse, IConfirmUserProjectAccessParams, IConfirmUserProjectAccessResponse, IUpsertApplicationProjectAccessBody, IUpsertApplicationProjectAccessParams, IUpsertApplicationProjectAccessResponse, IPaginateUserAccessProjectAccessQuery, IListUserAccessProjectAccessResponse, IDeclineUserProjectAccessResponse, IDeclineUserProjectAccessParams, IDeleteApplicationProjectAccessParams, IDeleteApplicationProjectAccessResponse } from '../types';
|
|
2
|
+
export declare const getProjectAccess: (params: IGetProjectAccessParams) => Promise<IGetProjectAccessResponse>;
|
|
3
|
+
export declare const paginateUserAccessProjectAccess: (query: IPaginateUserAccessProjectAccessQuery) => Promise<IPaginateProjectAccessResponse>;
|
|
4
|
+
export declare const listUserAccessProjectAccess: () => Promise<IListUserAccessProjectAccessResponse>;
|
|
5
|
+
export declare const paginateProjectAccess: (params: IPaginateProjectAccessParams, query: IPaginateProjectAccessQuery) => Promise<IPaginateProjectAccessResponse>;
|
|
6
|
+
export declare const deleteProjectAccess: (params: IDeleteProjectAccessParams) => Promise<IDeleteProjectAccessResponse>;
|
|
7
|
+
export declare const updateProjectAccess: (params: IUpdateProjectAccessParams, body: IUpdateProjectAccessBody) => Promise<IUpdateProjectAccessResponse>;
|
|
8
|
+
export declare const upsertApplicationProjectAccess: (params: IUpsertApplicationProjectAccessParams, body: IUpsertApplicationProjectAccessBody) => Promise<IUpsertApplicationProjectAccessResponse>;
|
|
9
|
+
export declare const deleteApplicationProjectAccess: (params: IDeleteApplicationProjectAccessParams) => Promise<IDeleteApplicationProjectAccessResponse>;
|
|
10
|
+
export declare const createProjectAccess: (params: ICreateProjectAccessParams, body: ICreateProjectAccessBody) => Promise<ICreateProjectAccessResponse>;
|
|
11
|
+
export declare const createUserProjectAccess: (params: ICreateUserProjectAccessParams, body: ICreateUserProjectAccessBody) => Promise<ICreateUserProjectAccessResponse>;
|
|
12
|
+
export declare const resetApiKeyProjectAccess: (params: IResetApiKeyProjectAccessParams) => Promise<IResetApiKeyProjectAccessResponse>;
|
|
13
|
+
export declare const confirmUserProjectAccess: (params: IConfirmUserProjectAccessParams) => Promise<IConfirmUserProjectAccessResponse>;
|
|
14
|
+
export declare const declineUserProjectAccess: (params: IDeclineUserProjectAccessParams) => Promise<IDeclineUserProjectAccessResponse>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.declineUserProjectAccess = exports.confirmUserProjectAccess = exports.resetApiKeyProjectAccess = exports.createUserProjectAccess = exports.createProjectAccess = exports.deleteApplicationProjectAccess = exports.upsertApplicationProjectAccess = exports.updateProjectAccess = exports.deleteProjectAccess = exports.paginateProjectAccess = exports.listUserAccessProjectAccess = exports.paginateUserAccessProjectAccess = exports.getProjectAccess = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getProjectAccess = async (params) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`project-access/${params.projectId}/${params.projectAccessId}`)).data;
|
|
7
|
+
};
|
|
8
|
+
exports.getProjectAccess = getProjectAccess;
|
|
9
|
+
const paginateUserAccessProjectAccess = async (query) => {
|
|
10
|
+
return (await __1.AbyssCore.axios.get(`project-access/paginate`, {
|
|
11
|
+
params: query,
|
|
12
|
+
})).data;
|
|
13
|
+
};
|
|
14
|
+
exports.paginateUserAccessProjectAccess = paginateUserAccessProjectAccess;
|
|
15
|
+
const listUserAccessProjectAccess = async () => {
|
|
16
|
+
return (await __1.AbyssCore.axios.get(`project-access/list`))
|
|
17
|
+
.data;
|
|
18
|
+
};
|
|
19
|
+
exports.listUserAccessProjectAccess = listUserAccessProjectAccess;
|
|
20
|
+
const paginateProjectAccess = async (params, query) => {
|
|
21
|
+
return (await __1.AbyssCore.axios.get(`project-access/${params.projectId}/paginate`, { params: query })).data;
|
|
22
|
+
};
|
|
23
|
+
exports.paginateProjectAccess = paginateProjectAccess;
|
|
24
|
+
const deleteProjectAccess = async (params) => {
|
|
25
|
+
return (await __1.AbyssCore.axios.delete(`project-access/${params.projectId}/${params.projectAccessId}`)).data;
|
|
26
|
+
};
|
|
27
|
+
exports.deleteProjectAccess = deleteProjectAccess;
|
|
28
|
+
const updateProjectAccess = async (params, body) => {
|
|
29
|
+
return (await __1.AbyssCore.axios.put(`project-access/${params.projectId}/${params.projectAccessId}`, body)).data;
|
|
30
|
+
};
|
|
31
|
+
exports.updateProjectAccess = updateProjectAccess;
|
|
32
|
+
const upsertApplicationProjectAccess = async (params, body) => {
|
|
33
|
+
return (await __1.AbyssCore.axios.put(`project-access/${params.projectId}/${params.projectAccessId}/${params.applicationId}`, body)).data;
|
|
34
|
+
};
|
|
35
|
+
exports.upsertApplicationProjectAccess = upsertApplicationProjectAccess;
|
|
36
|
+
const deleteApplicationProjectAccess = async (params) => {
|
|
37
|
+
return (await __1.AbyssCore.axios.delete(`project-access/${params.projectId}/${params.projectAccessId}/${params.applicationId}`)).data;
|
|
38
|
+
};
|
|
39
|
+
exports.deleteApplicationProjectAccess = deleteApplicationProjectAccess;
|
|
40
|
+
const createProjectAccess = async (params, body) => {
|
|
41
|
+
return (await __1.AbyssCore.axios.post(`project-access/${params.projectId}`, body)).data;
|
|
42
|
+
};
|
|
43
|
+
exports.createProjectAccess = createProjectAccess;
|
|
44
|
+
const createUserProjectAccess = async (params, body) => {
|
|
45
|
+
return (await __1.AbyssCore.axios.post(`project-access/${params.projectId}/user-access/${params.userId}`, body)).data;
|
|
46
|
+
};
|
|
47
|
+
exports.createUserProjectAccess = createUserProjectAccess;
|
|
48
|
+
const resetApiKeyProjectAccess = async (params) => {
|
|
49
|
+
return (await __1.AbyssCore.axios.post(`project-access/${params.projectId}/reset-api-key`)).data;
|
|
50
|
+
};
|
|
51
|
+
exports.resetApiKeyProjectAccess = resetApiKeyProjectAccess;
|
|
52
|
+
const confirmUserProjectAccess = async (params) => {
|
|
53
|
+
return (await __1.AbyssCore.axios.post(`project-access/${params.projectId}/user-access/${params.projectAccessId}/confirm`)).data;
|
|
54
|
+
};
|
|
55
|
+
exports.confirmUserProjectAccess = confirmUserProjectAccess;
|
|
56
|
+
const declineUserProjectAccess = async (params) => {
|
|
57
|
+
return (await __1.AbyssCore.axios.post(`project-access/${params.projectId}/user-access/${params.projectAccessId}/decline`)).data;
|
|
58
|
+
};
|
|
59
|
+
exports.declineUserProjectAccess = declineUserProjectAccess;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ICreateProjectAdminBody, ICreateProjectAdminParams, ICreateProjectAdminResponse, IDeleteProjectAdminParams, IDeleteProjectAdminResponse, IGetProjectAdminParams, IGetProjectAdminResponse, IPaginateProjectAdminQuery, IPaginateProjectAdminResponse, IUpdateProjectAdminBody, IUpdateProjectAdminParams, IUpdateProjectAdminResponse } from '../types';
|
|
2
|
+
export declare const getProjectAdmin: (params: IGetProjectAdminParams) => Promise<IGetProjectAdminResponse>;
|
|
3
|
+
export declare const paginateProjectAdmin: (query: IPaginateProjectAdminQuery) => Promise<IPaginateProjectAdminResponse>;
|
|
4
|
+
export declare const deleteProjectAdmin: (params: IDeleteProjectAdminParams) => Promise<IDeleteProjectAdminResponse>;
|
|
5
|
+
export declare const updateProjectAdmin: (params: IUpdateProjectAdminParams, body: IUpdateProjectAdminBody) => Promise<IUpdateProjectAdminResponse>;
|
|
6
|
+
export declare const createProjectAdmin: (params: ICreateProjectAdminParams, body: ICreateProjectAdminBody) => Promise<ICreateProjectAdminResponse>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createProjectAdmin = exports.updateProjectAdmin = exports.deleteProjectAdmin = exports.paginateProjectAdmin = exports.getProjectAdmin = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const getProjectAdmin = async (params) => {
|
|
6
|
+
return (await __1.AbyssCore.axios.get(`project/admin/${params.projectId}`))
|
|
7
|
+
.data;
|
|
8
|
+
};
|
|
9
|
+
exports.getProjectAdmin = getProjectAdmin;
|
|
10
|
+
const paginateProjectAdmin = async (query) => {
|
|
11
|
+
return (await __1.AbyssCore.axios.get(`project/admin/paginate`, {
|
|
12
|
+
params: query,
|
|
13
|
+
})).data;
|
|
14
|
+
};
|
|
15
|
+
exports.paginateProjectAdmin = paginateProjectAdmin;
|
|
16
|
+
const deleteProjectAdmin = async (params) => {
|
|
17
|
+
return (await __1.AbyssCore.axios.delete(`project/admin/${params.projectId}`)).data;
|
|
18
|
+
};
|
|
19
|
+
exports.deleteProjectAdmin = deleteProjectAdmin;
|
|
20
|
+
const updateProjectAdmin = async (params, body) => {
|
|
21
|
+
return (await __1.AbyssCore.axios.put(`project/admin/${params.projectId}`, body)).data;
|
|
22
|
+
};
|
|
23
|
+
exports.updateProjectAdmin = updateProjectAdmin;
|
|
24
|
+
const createProjectAdmin = async (params, body) => {
|
|
25
|
+
return (await __1.AbyssCore.axios.post(`project/${params.userId}`, body))
|
|
26
|
+
.data;
|
|
27
|
+
};
|
|
28
|
+
exports.createProjectAdmin = createProjectAdmin;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICreateProjectBody, ICreateProjectResponse, ICreateSubscriptionProjectBody, ICreateSubscriptionProjectParams, ICreateSubscriptionProjectResponse, IDeleteProjectParams, IDeleteProjectResponse, IGetMetricsProjectParams, IGetMetricsProjectResponse, IGetProjectParams, IGetProjectResponse, ILeaveProjectParams, ILeaveProjectResponse, IListProjectResponse, IPaginateProjectQuery, IPaginateProjectResponse, IPaginateTransactionProjectParams, IPaginateTransactionProjectQuery, IPaginateTransactionProjectResponse, IRenewSubscriptionProjectParams, IRenewSubscriptionProjectResponse, ISetOwnershipProjectBody, ISetOwnershipProjectParams, ISetOwnershipProjectResponse, IUpdateProjectBody, IUpdateProjectParams, IUpdateProjectResponse, IUpdateSubscriptionProjectBody, IUpdateSubscriptionProjectParams, IUpdateSubscriptionProjectResponse } from '../types';
|
|
2
|
+
export declare const getProject: (params: IGetProjectParams) => Promise<IGetProjectResponse>;
|
|
3
|
+
export declare const getMetricsProject: (params: IGetMetricsProjectParams) => Promise<IGetMetricsProjectResponse>;
|
|
4
|
+
export declare const paginateProject: (query: IPaginateProjectQuery) => Promise<IPaginateProjectResponse>;
|
|
5
|
+
export declare const paginateTransactionProject: (params: IPaginateTransactionProjectParams, query: IPaginateTransactionProjectQuery) => Promise<IPaginateTransactionProjectResponse>;
|
|
6
|
+
export declare const listProject: () => Promise<IListProjectResponse>;
|
|
7
|
+
export declare const deleteProject: (params: IDeleteProjectParams) => Promise<IDeleteProjectResponse>;
|
|
8
|
+
export declare const updateProject: (params: IUpdateProjectParams, body: IUpdateProjectBody) => Promise<IUpdateProjectResponse>;
|
|
9
|
+
export declare const createProject: (body: ICreateProjectBody) => Promise<ICreateProjectResponse>;
|
|
10
|
+
export declare const leaveProject: (params: ILeaveProjectParams) => Promise<ILeaveProjectResponse>;
|
|
11
|
+
export declare const createSubscriptionProject: (params: ICreateSubscriptionProjectParams, body: ICreateSubscriptionProjectBody) => Promise<ICreateSubscriptionProjectResponse>;
|
|
12
|
+
export declare const renewSubscriptionProject: (params: IRenewSubscriptionProjectParams) => Promise<IRenewSubscriptionProjectResponse>;
|
|
13
|
+
export declare const updateSubscriptionProject: (params: IUpdateSubscriptionProjectParams, body: IUpdateSubscriptionProjectBody) => Promise<IUpdateSubscriptionProjectResponse>;
|
|
14
|
+
export declare const setOwnershipProject: (params: ISetOwnershipProjectParams, body: ISetOwnershipProjectBody) => Promise<ISetOwnershipProjectResponse>;
|