@abyss-project/storage 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/.eslintrc.js +34 -0
- package/README.md +2 -0
- package/dist/api/abyss.admin.api.d.ts +2 -0
- package/dist/api/abyss.admin.api.js +8 -0
- package/dist/api/application-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/application-file-thumbnail.admin.api.js +36 -0
- package/dist/api/application-file-thumbnail.api.d.ts +15 -0
- package/dist/api/application-file-thumbnail.api.js +64 -0
- package/dist/api/application-file.admin.api.d.ts +22 -0
- package/dist/api/application-file.admin.api.js +88 -0
- package/dist/api/application-file.api.d.ts +40 -0
- package/dist/api/application-file.api.js +177 -0
- package/dist/api/application-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/application-webhook-history.admin.api.js +12 -0
- package/dist/api/application-webhook-history.api.d.ts +3 -0
- package/dist/api/application-webhook-history.api.js +12 -0
- package/dist/api/application-webhook.admin.api.d.ts +7 -0
- package/dist/api/application-webhook.admin.api.js +28 -0
- package/dist/api/application-webhook.api.d.ts +7 -0
- package/dist/api/application-webhook.api.js +28 -0
- package/dist/api/application.admin.api.d.ts +6 -0
- package/dist/api/application.admin.api.js +24 -0
- package/dist/api/application.api.d.ts +3 -0
- package/dist/api/application.api.js +12 -0
- package/dist/api/collection.api.d.ts +3 -0
- package/dist/api/collection.api.js +12 -0
- package/dist/api/generics/download.request.d.ts +2 -0
- package/dist/api/generics/download.request.js +10 -0
- package/dist/api/generics/index.d.ts +2 -0
- package/dist/api/generics/index.js +18 -0
- package/dist/api/generics/upload.request.d.ts +3 -0
- package/dist/api/generics/upload.request.js +10 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.js +31 -0
- package/dist/api/logger.admin.api.d.ts +3 -0
- package/dist/api/logger.admin.api.js +14 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/picture-collection.api.d.ts +2 -0
- package/dist/api/picture-collection.api.js +10 -0
- package/dist/api/storage.admin.api.d.ts +4 -0
- package/dist/api/storage.admin.api.js +16 -0
- package/dist/api/stream-media.admin.api.d.ts +7 -0
- package/dist/api/stream-media.admin.api.js +35 -0
- package/dist/api/stream-media.api.d.ts +4 -0
- package/dist/api/stream-media.api.js +18 -0
- package/dist/api/user-application-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/user-application-file-thumbnail.admin.api.js +36 -0
- package/dist/api/user-application-file-thumbnail.api.d.ts +10 -0
- package/dist/api/user-application-file-thumbnail.api.js +46 -0
- package/dist/api/user-application-file.admin.api.d.ts +15 -0
- package/dist/api/user-application-file.admin.api.js +62 -0
- package/dist/api/user-application-file.api.d.ts +31 -0
- package/dist/api/user-application-file.api.js +134 -0
- package/dist/api/user-application-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/user-application-webhook-history.admin.api.js +12 -0
- package/dist/api/user-application-webhook-history.api.d.ts +3 -0
- package/dist/api/user-application-webhook-history.api.js +12 -0
- package/dist/api/user-application-webhook.admin.api.d.ts +7 -0
- package/dist/api/user-application-webhook.admin.api.js +28 -0
- package/dist/api/user-application-webhook.api.d.ts +7 -0
- package/dist/api/user-application-webhook.api.js +28 -0
- package/dist/api/user-application.admin.api.d.ts +7 -0
- package/dist/api/user-application.admin.api.js +28 -0
- package/dist/api/user-application.api.d.ts +5 -0
- package/dist/api/user-application.api.js +20 -0
- package/dist/api/user-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/user-file-thumbnail.admin.api.js +36 -0
- package/dist/api/user-file-thumbnail.api.d.ts +10 -0
- package/dist/api/user-file-thumbnail.api.js +46 -0
- package/dist/api/user-file.admin.api.d.ts +15 -0
- package/dist/api/user-file.admin.api.js +62 -0
- package/dist/api/user-file.api.d.ts +29 -0
- package/dist/api/user-file.api.js +137 -0
- package/dist/api/user-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/user-webhook-history.admin.api.js +12 -0
- package/dist/api/user-webhook-history.api.d.ts +3 -0
- package/dist/api/user-webhook-history.api.js +12 -0
- package/dist/api/user-webhook.admin.api.d.ts +7 -0
- package/dist/api/user-webhook.admin.api.js +28 -0
- package/dist/api/user-webhook.api.d.ts +7 -0
- package/dist/api/user-webhook.api.js +28 -0
- package/dist/api/user.admin.api.d.ts +5 -0
- package/dist/api/user.admin.api.js +23 -0
- package/dist/api/user.api.d.ts +4 -0
- package/dist/api/user.api.js +17 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +89 -0
- package/dist/types/enum/algorithm.enum.d.ts +3 -0
- package/dist/types/enum/algorithm.enum.js +7 -0
- package/dist/types/enum/api-error.enum.d.ts +31 -0
- package/dist/types/enum/api-error.enum.js +36 -0
- package/dist/types/enum/checksum-algorithm.enum.d.ts +5 -0
- package/dist/types/enum/checksum-algorithm.enum.js +9 -0
- package/dist/types/enum/index.d.ts +9 -0
- package/dist/types/enum/index.js +25 -0
- package/dist/types/enum/log-type.enum.d.ts +6 -0
- package/dist/types/enum/log-type.enum.js +10 -0
- package/dist/types/enum/mime-type-thumbnail.enum.d.ts +15 -0
- package/dist/types/enum/mime-type-thumbnail.enum.js +20 -0
- package/dist/types/enum/picture-collection-source.enum.d.ts +3 -0
- package/dist/types/enum/picture-collection-source.enum.js +7 -0
- package/dist/types/enum/picture-collection-type.enum.d.ts +3 -0
- package/dist/types/enum/picture-collection-type.enum.js +7 -0
- package/dist/types/enum/pre-sign-url-type.enum.d.ts +5 -0
- package/dist/types/enum/pre-sign-url-type.enum.js +9 -0
- package/dist/types/enum/stream-media-type.enum.d.ts +4 -0
- package/dist/types/enum/stream-media-type.enum.js +8 -0
- package/dist/types/enum/webhook-type.enum.d.ts +5 -0
- package/dist/types/enum/webhook-type.enum.js +9 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +19 -0
- package/dist/types/interface/api/index.d.ts +32 -0
- package/dist/types/interface/api/index.js +48 -0
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +4 -0
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.d.ts +37 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.request.d.ts +56 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.request.js +2 -0
- package/dist/types/interface/api/requests/application-file.admin.request.d.ts +144 -0
- package/dist/types/interface/api/requests/application-file.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file.request.d.ts +228 -0
- package/dist/types/interface/api/requests/application-file.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +17 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +33 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +43 -0
- package/dist/types/interface/api/requests/application-webhook.request.js +2 -0
- package/dist/types/interface/api/requests/application.admin.request.d.ts +16 -0
- package/dist/types/interface/api/requests/application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application.request.d.ts +7 -0
- package/dist/types/interface/api/requests/application.request.js +2 -0
- package/dist/types/interface/api/requests/collection.request.d.ts +10 -0
- package/dist/types/interface/api/requests/collection.request.js +2 -0
- package/dist/types/interface/api/requests/logger.admin.request.d.ts +10 -0
- package/dist/types/interface/api/requests/logger.admin.request.js +2 -0
- package/dist/types/interface/api/requests/picture-collection.request.d.ts +3 -0
- package/dist/types/interface/api/requests/picture-collection.request.js +2 -0
- package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/storage.admin.request.js +2 -0
- package/dist/types/interface/api/requests/stream-media.admin.request.d.ts +28 -0
- package/dist/types/interface/api/requests/stream-media.admin.request.js +2 -0
- package/dist/types/interface/api/requests/stream-media.request.d.ts +12 -0
- package/dist/types/interface/api/requests/stream-media.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file.admin.request.d.ts +90 -0
- package/dist/types/interface/api/requests/user-application-file.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file.request.d.ts +141 -0
- package/dist/types/interface/api/requests/user-application-file.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.request.d.ts +17 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.d.ts +33 -0
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook.request.d.ts +43 -0
- package/dist/types/interface/api/requests/user-application-webhook.request.js +2 -0
- package/dist/types/interface/api/requests/user-application.admin.request.d.ts +18 -0
- package/dist/types/interface/api/requests/user-application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application.request.d.ts +12 -0
- package/dist/types/interface/api/requests/user-application.request.js +2 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +21 -0
- package/dist/types/interface/api/requests/user.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.request.js +2 -0
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.d.ts +30 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.response.d.ts +35 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.response.js +2 -0
- package/dist/types/interface/api/responses/application-file.admin.response.d.ts +80 -0
- package/dist/types/interface/api/responses/application-file.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file.response.d.ts +95 -0
- package/dist/types/interface/api/responses/application-file.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.response.js +2 -0
- package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -0
- package/dist/types/interface/api/responses/application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application.response.d.ts +14 -0
- package/dist/types/interface/api/responses/application.response.js +2 -0
- package/dist/types/interface/api/responses/collection.response.d.ts +43 -0
- package/dist/types/interface/api/responses/collection.response.js +2 -0
- package/dist/types/interface/api/responses/logger.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/logger.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/picture-collection.response.d.ts +17 -0
- package/dist/types/interface/api/responses/picture-collection.response.js +2 -0
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +5 -0
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -0
- package/dist/types/interface/api/responses/stream-media.admin.response.d.ts +20 -0
- package/dist/types/interface/api/responses/stream-media.admin.response.js +2 -0
- package/dist/types/interface/api/responses/stream-media.response.d.ts +9 -0
- package/dist/types/interface/api/responses/stream-media.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.d.ts +30 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.d.ts +33 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file.admin.response.d.ts +57 -0
- package/dist/types/interface/api/responses/user-application-file.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file.response.d.ts +70 -0
- package/dist/types/interface/api/responses/user-application-file.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.response.d.ts +7 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.d.ts +21 -0
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook.response.d.ts +21 -0
- package/dist/types/interface/api/responses/user-application-webhook.response.js +2 -0
- package/dist/types/interface/api/responses/user-application.admin.response.d.ts +25 -0
- package/dist/types/interface/api/responses/user-application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application.response.d.ts +19 -0
- package/dist/types/interface/api/responses/user-application.response.js +2 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +15 -0
- package/dist/types/interface/api/responses/user.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user.response.d.ts +13 -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/dto/archive.d.ts +34 -0
- package/dist/types/interface/dto/archive.js +2 -0
- package/dist/types/interface/dto/index.d.ts +3 -0
- package/dist/types/interface/dto/index.js +19 -0
- package/dist/types/interface/dto/metadata.d.ts +13 -0
- package/dist/types/interface/dto/metadata.js +2 -0
- package/dist/types/interface/dto/webhooks.d.ts +29 -0
- package/dist/types/interface/dto/webhooks.js +2 -0
- package/dist/types/interface/index.d.ts +9 -0
- package/dist/types/interface/index.js +25 -0
- package/dist/types/interface/models/application-file-thumbnail.model.d.ts +15 -0
- package/dist/types/interface/models/application-file-thumbnail.model.js +2 -0
- package/dist/types/interface/models/application-file.model.d.ts +28 -0
- package/dist/types/interface/models/application-file.model.js +2 -0
- package/dist/types/interface/models/application-webhook-history.model.d.ts +16 -0
- package/dist/types/interface/models/application-webhook-history.model.js +2 -0
- package/dist/types/interface/models/application-webhook.model.d.ts +17 -0
- package/dist/types/interface/models/application-webhook.model.js +2 -0
- package/dist/types/interface/models/application.model.d.ts +12 -0
- package/dist/types/interface/models/application.model.js +2 -0
- package/dist/types/interface/models/log-console.model.d.ts +17 -0
- package/dist/types/interface/models/log-console.model.js +2 -0
- package/dist/types/interface/models/log-endpoint.model.d.ts +22 -0
- package/dist/types/interface/models/log-endpoint.model.js +2 -0
- package/dist/types/interface/models/picture-collection.model.d.ts +17 -0
- package/dist/types/interface/models/picture-collection.model.js +2 -0
- package/dist/types/interface/models/pre-sign-url.model.d.ts +11 -0
- package/dist/types/interface/models/pre-sign-url.model.js +2 -0
- package/dist/types/interface/models/stream-media.model.d.ts +9 -0
- package/dist/types/interface/models/stream-media.model.js +2 -0
- package/dist/types/interface/models/user-application-file-thumbnail.model.d.ts +14 -0
- package/dist/types/interface/models/user-application-file-thumbnail.model.js +2 -0
- package/dist/types/interface/models/user-application-file.model.d.ts +20 -0
- package/dist/types/interface/models/user-application-file.model.js +2 -0
- package/dist/types/interface/models/user-application-webhook-history.model.d.ts +16 -0
- package/dist/types/interface/models/user-application-webhook-history.model.js +2 -0
- package/dist/types/interface/models/user-application-webhook.model.d.ts +17 -0
- package/dist/types/interface/models/user-application-webhook.model.js +2 -0
- package/dist/types/interface/models/user-application.model.d.ts +15 -0
- package/dist/types/interface/models/user-application.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +8 -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/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +17 -0
- package/package.json +50 -0
- package/tsconfig.json +105 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { WebhookType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '..';
|
|
4
|
+
export interface IGetApplicationWebhookHistoryAdminParams extends core.ParamsDictionary {
|
|
5
|
+
applicationWebhookHistoryId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IPaginateApplicationWebhookHistoryAdminQuery = {
|
|
8
|
+
responseCode?: number[];
|
|
9
|
+
applicationWebhookId?: string[];
|
|
10
|
+
applicationId?: string[];
|
|
11
|
+
webhookId?: string;
|
|
12
|
+
groupId?: string;
|
|
13
|
+
type?: WebhookType[];
|
|
14
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { WebhookType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '..';
|
|
4
|
+
export interface IGetApplicationWebhookHistoryParams extends core.ParamsDictionary {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
applicationWebhookHistoryId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IPaginateApplicationWebhookHistoryParams extends core.ParamsDictionary {
|
|
9
|
+
applicationId: string;
|
|
10
|
+
}
|
|
11
|
+
export type IPaginateApplicationWebhookHistoryQuery = {
|
|
12
|
+
responseCode?: number[];
|
|
13
|
+
applicationWebhookId?: string[];
|
|
14
|
+
webhookId?: string;
|
|
15
|
+
groupId?: string;
|
|
16
|
+
type?: WebhookType[];
|
|
17
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IGetApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
4
|
+
applicationWebhookId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IDeleteApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
7
|
+
applicationWebhookId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IUpdateApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
10
|
+
applicationWebhookId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateApplicationWebhookAdminBody {
|
|
13
|
+
webhookUrl?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
isEnabled?: boolean;
|
|
16
|
+
description?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ICreateApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
19
|
+
applicationId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ICreateApplicationWebhookAdminBody {
|
|
22
|
+
webhookUrl: string;
|
|
23
|
+
name: string;
|
|
24
|
+
isEnabled: boolean;
|
|
25
|
+
description?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IResetSecretApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
28
|
+
applicationWebhookId: string;
|
|
29
|
+
}
|
|
30
|
+
export type IPaginateApplicationWebhookAdminQuery = {
|
|
31
|
+
applicationId?: string[];
|
|
32
|
+
name?: string;
|
|
33
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { WebhookType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '..';
|
|
4
|
+
export interface IGetApplicationWebhookParams extends core.ParamsDictionary {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
applicationWebhookId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IDeleteApplicationWebhookParams extends core.ParamsDictionary {
|
|
9
|
+
applicationId: string;
|
|
10
|
+
applicationWebhookId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateApplicationWebhookParams extends core.ParamsDictionary {
|
|
13
|
+
applicationId: string;
|
|
14
|
+
applicationWebhookId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IUpdateApplicationWebhookBody {
|
|
17
|
+
webhookUrl?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
isEnabled?: boolean;
|
|
20
|
+
description?: string;
|
|
21
|
+
scopes?: WebhookType[];
|
|
22
|
+
}
|
|
23
|
+
export interface ICreateApplicationWebhookParams extends core.ParamsDictionary {
|
|
24
|
+
applicationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ICreateApplicationWebhookBody {
|
|
27
|
+
webhookUrl: string;
|
|
28
|
+
name: string;
|
|
29
|
+
isEnabled: boolean;
|
|
30
|
+
description?: string;
|
|
31
|
+
scopes?: WebhookType[];
|
|
32
|
+
}
|
|
33
|
+
export interface IResetSecretApplicationWebhookParams extends core.ParamsDictionary {
|
|
34
|
+
applicationId: string;
|
|
35
|
+
applicationWebhookId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IPaginateApplicationWebhookParams extends core.ParamsDictionary {
|
|
38
|
+
applicationId: string;
|
|
39
|
+
}
|
|
40
|
+
export type IPaginateApplicationWebhookQuery = {
|
|
41
|
+
name?: string;
|
|
42
|
+
scopes?: WebhookType[];
|
|
43
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IGetApplicationAdminParams extends core.ParamsDictionary {
|
|
4
|
+
applicationId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetMetricsApplicationAdminBody {
|
|
7
|
+
applicationId: string[];
|
|
8
|
+
}
|
|
9
|
+
export type IPaginateApplicationAdminQuery = QueryPaginate;
|
|
10
|
+
export type ICreateApplicationAdminBody = {
|
|
11
|
+
projectId: string;
|
|
12
|
+
externalApplicationId: string;
|
|
13
|
+
};
|
|
14
|
+
export interface IDeleteApplicationAdminParams extends core.ParamsDictionary {
|
|
15
|
+
applicationId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { PictureCollectionType } from '../../../enum';
|
|
3
|
+
export interface ISearchFreepikCollectionQuery {
|
|
4
|
+
search?: string;
|
|
5
|
+
type?: PictureCollectionType;
|
|
6
|
+
page?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface IGetDownloadUrlFreepikCollectionParams extends core.ParamsDictionary {
|
|
9
|
+
resourceId: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LogLevel, QueryPaginate } from 'abyss_core';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
import { LogType } from '../../..';
|
|
4
|
+
export interface IGetLogConsoleAdminParams extends core.ParamsDictionary {
|
|
5
|
+
logConsoleId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IPaginateLoggerAdminQuery = QueryPaginate & {
|
|
8
|
+
level?: LogLevel;
|
|
9
|
+
type?: LogType;
|
|
10
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { StreamMediaType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from '..';
|
|
4
|
+
export type IPaginateStreamMediaAdminQuery = {
|
|
5
|
+
name?: string;
|
|
6
|
+
type?: StreamMediaType[];
|
|
7
|
+
isTranscoded?: boolean;
|
|
8
|
+
} & QueryPaginate;
|
|
9
|
+
export interface IGetStreamMediaAdminParams extends core.ParamsDictionary {
|
|
10
|
+
streamMediaId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateStreamMediaAdminParams extends core.ParamsDictionary {
|
|
13
|
+
streamMediaId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IUpdateStreamMediaAdminBody {
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: StreamMediaType;
|
|
18
|
+
}
|
|
19
|
+
export interface IDeleteStreamMediaAdminParams extends core.ParamsDictionary {
|
|
20
|
+
streamMediaId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ITranscodeStreamMediaAdminParams extends core.ParamsDictionary {
|
|
23
|
+
streamMediaId: string;
|
|
24
|
+
}
|
|
25
|
+
export type IUploadStreamMediaAdminQuery = {
|
|
26
|
+
name: string;
|
|
27
|
+
type: StreamMediaType;
|
|
28
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export type IPaginateStreamMediaQuery = {
|
|
4
|
+
name?: string;
|
|
5
|
+
} & QueryPaginate;
|
|
6
|
+
export interface IGetStreamMediaParams extends core.ParamsDictionary {
|
|
7
|
+
streamMediaId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IReadStreamMediaParams extends core.ParamsDictionary {
|
|
10
|
+
streamMediaId: string;
|
|
11
|
+
element: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
export interface IDeleteAllUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
3
|
+
userApplicationFileId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
6
|
+
userApplicationFileThumbnailId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IListUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
9
|
+
userApplicationFileId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IGenerateUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
12
|
+
userApplicationFileId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IGenerateUserApplicationFileThumbnailAdminBody {
|
|
15
|
+
resolution?: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
};
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IRegenerateUserApplicationFileThumbnailAdminBody {
|
|
22
|
+
userApplicationFileThumbnailId: string[];
|
|
23
|
+
}
|
|
24
|
+
export interface IRegeneratePublicAccessUserApplicationFileThumbnailAdminBody {
|
|
25
|
+
userApplicationFileThumbnailId: string[];
|
|
26
|
+
}
|
|
27
|
+
export interface IDeleteUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
28
|
+
userApplicationFileThumbnailId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IUpdateUserApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
31
|
+
userApplicationFileThumbnailId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IUpdateUserApplicationFileThumbnailAdminBody {
|
|
34
|
+
name?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
export interface IDeleteAllUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
3
|
+
userApplicationId: string;
|
|
4
|
+
userApplicationFileId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
7
|
+
userApplicationId: string;
|
|
8
|
+
userApplicationFileThumbnailId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IListUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
11
|
+
userApplicationId: string;
|
|
12
|
+
userApplicationFileId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IGenerateUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
15
|
+
userApplicationId: string;
|
|
16
|
+
userApplicationFileId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IGenerateUserApplicationFileThumbnailBody {
|
|
19
|
+
resolution?: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
};
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IRegenerateUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
26
|
+
userApplicationId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface IRegenerateUserApplicationFileThumbnailBody {
|
|
29
|
+
userApplicationFileThumbnailId: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface IRegeneratePublicAccessUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
32
|
+
userApplicationId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IRegeneratePublicAccessUserApplicationFileThumbnailBody {
|
|
35
|
+
userApplicationFileThumbnailId: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface IDeleteUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
38
|
+
userApplicationId: string;
|
|
39
|
+
userApplicationFileThumbnailId: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IUpdateUserApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
42
|
+
userApplicationId: string;
|
|
43
|
+
userApplicationFileThumbnailId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IUpdateUserApplicationFileThumbnailBody {
|
|
46
|
+
name?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IDownloadUserApplicationFileThumbnailParams {
|
|
49
|
+
userApplicationFileThumbnailPublicAccessId: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
import { PreSignUrlType } from '../../../enum';
|
|
4
|
+
import { Algorithm } from 'abyss_crypt_core';
|
|
5
|
+
import { ArchiveElement } from '../..';
|
|
6
|
+
export interface IDeleteUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
7
|
+
userApplicationFileId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IDeleteMultipleUserApplicationFileAdminBody {
|
|
10
|
+
userApplicationFileIds: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface IDuplicateUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
13
|
+
userApplicationFileId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IDuplicateUserApplicationFileAdminBody {
|
|
16
|
+
name: string;
|
|
17
|
+
shouldNotGenerateThumbnail?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface IDuplicateMultipleUserApplicationFileAdminBody {
|
|
20
|
+
userApplicationFile: {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
shouldNotGenerateThumbnail?: boolean;
|
|
24
|
+
}[];
|
|
25
|
+
}
|
|
26
|
+
export interface IGetUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
27
|
+
userApplicationFileId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IUpdateUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
30
|
+
userApplicationFileId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IUpdateUserApplicationFileAdminBody {
|
|
33
|
+
name?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IEncryptUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
36
|
+
userApplicationFileId: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IEncryptUserApplicationFileAdminBody extends core.ParamsDictionary {
|
|
39
|
+
algorithm: Algorithm;
|
|
40
|
+
password: string;
|
|
41
|
+
}
|
|
42
|
+
export interface IDecryptUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
43
|
+
userApplicationFileId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IDecryptUserApplicationFileAdminBody extends core.ParamsDictionary {
|
|
46
|
+
password: string;
|
|
47
|
+
}
|
|
48
|
+
export type IGetPreSignUrlUserApplicationFileAdminBody = {
|
|
49
|
+
type: PreSignUrlType.UPLOAD;
|
|
50
|
+
fileName?: string;
|
|
51
|
+
maxUserApplicationFileSizeInOctet?: number;
|
|
52
|
+
userApplicationId: string;
|
|
53
|
+
} | {
|
|
54
|
+
type: PreSignUrlType.WRITE;
|
|
55
|
+
maxUserApplicationFileSizeInOctet?: number;
|
|
56
|
+
userApplicationFileId?: string;
|
|
57
|
+
userApplicationId: string;
|
|
58
|
+
} | {
|
|
59
|
+
type: PreSignUrlType.DOWNLOAD;
|
|
60
|
+
userApplicationFileId?: string;
|
|
61
|
+
userApplicationId: string;
|
|
62
|
+
};
|
|
63
|
+
export type IPaginateUserApplicationFileAdminQuery = {
|
|
64
|
+
name?: string;
|
|
65
|
+
userId?: string[];
|
|
66
|
+
partialId?: string;
|
|
67
|
+
partialPublicAccessId?: string;
|
|
68
|
+
} & QueryPaginate;
|
|
69
|
+
export type IResetPublicAccessUserApplicationFileAdminParams = {
|
|
70
|
+
userApplicationFileId: string;
|
|
71
|
+
};
|
|
72
|
+
export type IUnsetPublicAccessUserApplicationFileAdminParams = {
|
|
73
|
+
userApplicationFileId: string;
|
|
74
|
+
};
|
|
75
|
+
export interface IExtractArchiveUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
76
|
+
userApplicationFileId: string;
|
|
77
|
+
}
|
|
78
|
+
export interface IExtractArchiveUserApplicationFileAdminQuery {
|
|
79
|
+
should_delete_original_file?: boolean;
|
|
80
|
+
}
|
|
81
|
+
export interface ICompressArchiveUserApplicationFileAdminParams extends core.ParamsDictionary {
|
|
82
|
+
userApplicationId: string;
|
|
83
|
+
}
|
|
84
|
+
export interface ICompressArchiveUserApplicationFileAdminBody {
|
|
85
|
+
archive: ArchiveElement;
|
|
86
|
+
name: string;
|
|
87
|
+
}
|
|
88
|
+
export interface ICompressArchiveUserApplicationFileAdminQuery {
|
|
89
|
+
should_delete_original_file?: boolean;
|
|
90
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
import { PreSignUrlType } from '../../../enum';
|
|
4
|
+
import { Algorithm } from 'abyss_crypt_core';
|
|
5
|
+
import { ArchiveElement } from '../../dto';
|
|
6
|
+
export interface IUploadUserApplicationFileParams extends core.ParamsDictionary {
|
|
7
|
+
token: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IUploadUserApplicationFileQuery {
|
|
10
|
+
should_skip_await_webhook_delivery?: boolean;
|
|
11
|
+
should_not_generate_thumbnail?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface IDownloadUserApplicationFileParams extends core.ParamsDictionary {
|
|
14
|
+
token: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IDownloadWithPublicAccessIdUserApplicationFileParams extends core.ParamsDictionary {
|
|
17
|
+
publicAccessId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IWriteUserApplicationFileParams extends core.ParamsDictionary {
|
|
20
|
+
token: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IWriteUserApplicationFileQuery {
|
|
23
|
+
should_skip_await_webhook_delivery?: boolean;
|
|
24
|
+
should_not_generate_thumbnail?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface IDeleteUserApplicationFileParams extends core.ParamsDictionary {
|
|
27
|
+
userApplicationId: string;
|
|
28
|
+
userApplicationFileId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IDeleteMultipleUserApplicationFileParams extends core.ParamsDictionary {
|
|
31
|
+
userApplicationId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IDeleteMultipleUserApplicationFileBody {
|
|
34
|
+
userApplicationFileIds: string[];
|
|
35
|
+
}
|
|
36
|
+
export interface IDuplicateUserApplicationFileParams extends core.ParamsDictionary {
|
|
37
|
+
userApplicationId: string;
|
|
38
|
+
userApplicationFileId: string;
|
|
39
|
+
}
|
|
40
|
+
export interface IDuplicateUserApplicationFileBody {
|
|
41
|
+
name: string;
|
|
42
|
+
shouldNotGenerateThumbnail?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface IDuplicateMultipleUserApplicationFileParams extends core.ParamsDictionary {
|
|
45
|
+
userApplicationId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IDuplicateMultipleUserApplicationFileBody {
|
|
48
|
+
userApplicationFile: {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
shouldNotGenerateThumbnail?: boolean;
|
|
52
|
+
}[];
|
|
53
|
+
}
|
|
54
|
+
export interface IGetUserApplicationFileParams extends core.ParamsDictionary {
|
|
55
|
+
userApplicationId: string;
|
|
56
|
+
userApplicationFileId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface IUpdateUserApplicationFileParams extends core.ParamsDictionary {
|
|
59
|
+
userApplicationId: string;
|
|
60
|
+
userApplicationFileId: string;
|
|
61
|
+
}
|
|
62
|
+
export interface IUpdateUserApplicationFileBody {
|
|
63
|
+
name?: string;
|
|
64
|
+
publicAccessPassword?: string | null;
|
|
65
|
+
}
|
|
66
|
+
export interface IEncryptUserApplicationFileParams extends core.ParamsDictionary {
|
|
67
|
+
userApplicationId: string;
|
|
68
|
+
userApplicationFileId: string;
|
|
69
|
+
}
|
|
70
|
+
export interface IEncryptUserApplicationFileBody {
|
|
71
|
+
algorithm: Algorithm;
|
|
72
|
+
password: string;
|
|
73
|
+
}
|
|
74
|
+
export interface IDecryptUserApplicationFileParams extends core.ParamsDictionary {
|
|
75
|
+
userApplicationId: string;
|
|
76
|
+
userApplicationFileId: string;
|
|
77
|
+
}
|
|
78
|
+
export interface IDecryptUserApplicationFileBody {
|
|
79
|
+
password: string;
|
|
80
|
+
}
|
|
81
|
+
export interface IGetPreSignUrlUserApplicationFileParams extends core.ParamsDictionary {
|
|
82
|
+
userApplicationId: string;
|
|
83
|
+
}
|
|
84
|
+
type IUploadGetPreSignUrlUserApplicationFileBody = {
|
|
85
|
+
type: PreSignUrlType.UPLOAD;
|
|
86
|
+
throttleInOctet?: number;
|
|
87
|
+
fileName: string;
|
|
88
|
+
maxUserApplicationFileSizeInOctet?: number;
|
|
89
|
+
data?: Record<string, unknown>;
|
|
90
|
+
shouldGeneratePublicAccess?: boolean;
|
|
91
|
+
publicAccessPassword?: string;
|
|
92
|
+
};
|
|
93
|
+
type IWriteGetPreSignUrlUserApplicationFileBody = {
|
|
94
|
+
type: PreSignUrlType.WRITE;
|
|
95
|
+
throttleInOctet?: number;
|
|
96
|
+
maxUserApplicationFileSizeInOctet?: number;
|
|
97
|
+
userApplicationFileId: string;
|
|
98
|
+
data?: Record<string, unknown>;
|
|
99
|
+
};
|
|
100
|
+
type IDownloadGetPreSignUrlUserApplicationFileBody = {
|
|
101
|
+
type: PreSignUrlType.DOWNLOAD;
|
|
102
|
+
throttleInOctet?: number;
|
|
103
|
+
userApplicationFileId?: string;
|
|
104
|
+
archive?: ArchiveElement;
|
|
105
|
+
data?: Record<string, unknown>;
|
|
106
|
+
};
|
|
107
|
+
export type IGetPreSignUrlUserApplicationFileBody = IUploadGetPreSignUrlUserApplicationFileBody | IWriteGetPreSignUrlUserApplicationFileBody | IDownloadGetPreSignUrlUserApplicationFileBody;
|
|
108
|
+
export type IPaginateUserApplicationFileParams = {
|
|
109
|
+
userApplicationId: string;
|
|
110
|
+
};
|
|
111
|
+
export type IPaginateUserApplicationFileQuery = {
|
|
112
|
+
name?: string;
|
|
113
|
+
partialId?: string;
|
|
114
|
+
partialPublicAccessId?: string;
|
|
115
|
+
} & QueryPaginate;
|
|
116
|
+
export type IResetPublicAccessUserApplicationFileParams = {
|
|
117
|
+
userApplicationId: string;
|
|
118
|
+
userApplicationFileId: string;
|
|
119
|
+
};
|
|
120
|
+
export type IUnsetPublicAccessUserApplicationFileParams = {
|
|
121
|
+
userApplicationId: string;
|
|
122
|
+
userApplicationFileId: string;
|
|
123
|
+
};
|
|
124
|
+
export interface IExtractArchiveUserApplicationFileParams extends core.ParamsDictionary {
|
|
125
|
+
userApplicationId: string;
|
|
126
|
+
userApplicationFileId: string;
|
|
127
|
+
}
|
|
128
|
+
export interface IExtractArchiveUserApplicationFileQuery {
|
|
129
|
+
should_delete_original_file?: boolean;
|
|
130
|
+
}
|
|
131
|
+
export interface ICompressArchiveUserApplicationFileParams extends core.ParamsDictionary {
|
|
132
|
+
userApplicationId: string;
|
|
133
|
+
}
|
|
134
|
+
export interface ICompressArchiveUserApplicationFileBody {
|
|
135
|
+
archive: ArchiveElement;
|
|
136
|
+
name: string;
|
|
137
|
+
}
|
|
138
|
+
export interface ICompressArchiveUserApplicationFileQuery {
|
|
139
|
+
should_delete_original_file?: boolean;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QueryPaginate } from 'abyss_core';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
import { WebhookType } from '../../../enum';
|
|
4
|
+
export interface IGetUserApplicationWebhookHistoryAdminParams extends core.ParamsDictionary {
|
|
5
|
+
userApplicationWebhookHistoryId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IPaginateUserApplicationWebhookHistoryAdminQuery = {
|
|
8
|
+
responseCode?: number[];
|
|
9
|
+
userApplicationWebhookId?: string[];
|
|
10
|
+
userApplicationId?: string[];
|
|
11
|
+
webhookId?: string;
|
|
12
|
+
groupId?: string;
|
|
13
|
+
type?: WebhookType[];
|
|
14
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QueryPaginate } from 'abyss_core';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
import { WebhookType } from '../../../enum';
|
|
4
|
+
export interface IGetUserApplicationWebhookHistoryParams extends core.ParamsDictionary {
|
|
5
|
+
userApplicationId: string;
|
|
6
|
+
userApplicationWebhookHistoryId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IPaginateUserApplicationWebhookHistoryParams extends core.ParamsDictionary {
|
|
9
|
+
userApplicationId: string;
|
|
10
|
+
}
|
|
11
|
+
export type IPaginateUserApplicationWebhookHistoryQuery = {
|
|
12
|
+
responseCode?: number[];
|
|
13
|
+
userApplicationWebhookId?: string[];
|
|
14
|
+
webhookId?: string;
|
|
15
|
+
groupId?: string;
|
|
16
|
+
type?: WebhookType[];
|
|
17
|
+
} & QueryPaginate;
|