@abyss-project/storage 1.0.1 → 1.0.3
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/dist/api/application-file-thumbnail.admin.api.d.ts +9 -9
- package/dist/api/application-file-thumbnail.admin.api.js +36 -36
- package/dist/api/application-file-thumbnail.api.d.ts +15 -15
- package/dist/api/application-file-thumbnail.api.js +64 -64
- package/dist/api/application-file.admin.api.d.ts +22 -22
- package/dist/api/application-file.admin.api.js +88 -88
- package/dist/api/application-file.api.d.ts +41 -40
- package/dist/api/application-file.api.js +177 -177
- package/dist/api/application-store.admin.api.d.ts +6 -0
- package/dist/api/application-store.admin.api.js +24 -0
- package/dist/api/application-store.api.d.ts +6 -0
- package/dist/api/application-store.api.js +24 -0
- package/dist/api/application-store.public.api.d.ts +3 -0
- package/dist/api/application-store.public.api.js +12 -0
- package/dist/api/application-webhook-history.admin.api.d.ts +3 -3
- package/dist/api/application-webhook-history.admin.api.js +12 -12
- package/dist/api/application-webhook-history.api.d.ts +3 -3
- package/dist/api/application-webhook-history.api.js +12 -12
- package/dist/api/application-webhook.admin.api.d.ts +7 -7
- package/dist/api/application-webhook.admin.api.js +28 -28
- package/dist/api/application-webhook.api.d.ts +7 -7
- package/dist/api/application-webhook.api.js +28 -28
- package/dist/api/application.admin.api.d.ts +6 -6
- package/dist/api/application.admin.api.js +24 -24
- package/dist/api/application.api.d.ts +3 -3
- package/dist/api/application.api.js +12 -12
- package/dist/api/collection.api.d.ts +3 -3
- package/dist/api/collection.api.js +12 -12
- package/dist/api/generics/download.request.d.ts +2 -2
- package/dist/api/generics/download.request.js +10 -10
- package/dist/api/generics/index.d.ts +2 -2
- package/dist/api/generics/index.js +18 -18
- package/dist/api/generics/upload.request.d.ts +3 -3
- package/dist/api/generics/upload.request.js +10 -10
- package/dist/api/index.d.ts +18 -15
- package/dist/api/index.js +34 -31
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/api/storage.admin.api.d.ts +4 -4
- package/dist/api/storage.admin.api.js +16 -16
- package/dist/api/stream-media.admin.api.d.ts +7 -7
- package/dist/api/stream-media.admin.api.js +35 -35
- package/dist/api/stream-media.api.d.ts +4 -4
- package/dist/api/stream-media.api.js +18 -18
- package/dist/index.d.ts +21 -21
- package/dist/index.js +91 -89
- package/dist/types/enum/algorithm.enum.d.ts +3 -3
- package/dist/types/enum/algorithm.enum.js +7 -7
- package/dist/types/enum/api-error.enum.d.ts +31 -31
- package/dist/types/enum/api-error.enum.js +36 -36
- package/dist/types/enum/checksum-algorithm.enum.d.ts +5 -5
- package/dist/types/enum/checksum-algorithm.enum.js +9 -9
- package/dist/types/enum/index.d.ts +9 -9
- package/dist/types/enum/index.js +25 -25
- package/dist/types/enum/mime-type-thumbnail.enum.d.ts +15 -15
- package/dist/types/enum/mime-type-thumbnail.enum.js +20 -20
- package/dist/types/enum/picture-collection-source.enum.d.ts +3 -3
- package/dist/types/enum/picture-collection-source.enum.js +7 -7
- package/dist/types/enum/picture-collection-type.enum.d.ts +3 -3
- package/dist/types/enum/picture-collection-type.enum.js +7 -7
- package/dist/types/enum/pre-sign-url-type.enum.d.ts +5 -5
- package/dist/types/enum/pre-sign-url-type.enum.js +9 -9
- package/dist/types/enum/stream-media-type.enum.d.ts +4 -4
- package/dist/types/enum/stream-media-type.enum.js +8 -8
- package/dist/types/enum/webhook-type.enum.d.ts +5 -5
- package/dist/types/enum/webhook-type.enum.js +9 -9
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +19 -19
- package/dist/types/interface/api/index.d.ts +38 -32
- package/dist/types/interface/api/index.js +54 -48
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.d.ts +37 -37
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-file-thumbnail.request.d.ts +56 -56
- package/dist/types/interface/api/requests/application-file-thumbnail.request.js +2 -2
- package/dist/types/interface/api/requests/application-file.admin.request.d.ts +144 -144
- package/dist/types/interface/api/requests/application-file.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-file.request.d.ts +228 -228
- package/dist/types/interface/api/requests/application-file.request.js +2 -2
- package/dist/types/interface/api/requests/application-store.admin.request.d.ts +34 -0
- package/dist/types/interface/api/requests/{abyss.admin.request.js → application-store.admin.request.js} +2 -2
- package/dist/types/interface/api/requests/application-store.public.request.d.ts +8 -0
- package/dist/types/interface/api/requests/{logger.admin.request.js → application-store.public.request.js} +2 -2
- package/dist/types/interface/api/requests/application-store.request.d.ts +39 -0
- package/dist/types/interface/api/requests/{picture-collection.request.js → application-store.request.js} +2 -2
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +14 -14
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +17 -17
- package/dist/types/interface/api/requests/application-webhook-history.request.js +2 -2
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +33 -33
- package/dist/types/interface/api/requests/application-webhook.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +43 -43
- package/dist/types/interface/api/requests/application-webhook.request.js +2 -2
- package/dist/types/interface/api/requests/application.admin.request.d.ts +16 -16
- package/dist/types/interface/api/requests/application.admin.request.js +2 -2
- package/dist/types/interface/api/requests/application.request.d.ts +7 -7
- package/dist/types/interface/api/requests/application.request.js +2 -2
- package/dist/types/interface/api/requests/collection.request.d.ts +10 -10
- package/dist/types/interface/api/requests/collection.request.js +2 -2
- package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -3
- package/dist/types/interface/api/requests/storage.admin.request.js +2 -2
- package/dist/types/interface/api/requests/stream-media.admin.request.d.ts +28 -28
- package/dist/types/interface/api/requests/stream-media.admin.request.js +2 -2
- package/dist/types/interface/api/requests/stream-media.request.d.ts +12 -12
- package/dist/types/interface/api/requests/stream-media.request.js +2 -2
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.d.ts +30 -30
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-file-thumbnail.response.d.ts +36 -35
- package/dist/types/interface/api/responses/application-file-thumbnail.response.js +2 -2
- package/dist/types/interface/api/responses/application-file.admin.response.d.ts +80 -80
- package/dist/types/interface/api/responses/application-file.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-file.response.d.ts +96 -95
- package/dist/types/interface/api/responses/application-file.response.js +2 -2
- package/dist/types/interface/api/responses/application-store.admin.response.d.ts +17 -0
- package/dist/types/interface/api/{requests/user-application-file-thumbnail.admin.request.js → responses/application-store.admin.response.js} +2 -2
- package/dist/types/interface/api/responses/application-store.public.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-store.public.response.js +2 -0
- package/dist/types/interface/api/responses/application-store.response.d.ts +17 -0
- package/dist/types/interface/api/responses/application-store.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +7 -7
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +7 -7
- package/dist/types/interface/api/responses/application-webhook-history.response.js +2 -2
- package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +21 -21
- package/dist/types/interface/api/responses/application-webhook.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application-webhook.response.d.ts +21 -21
- package/dist/types/interface/api/responses/application-webhook.response.js +2 -2
- package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -33
- package/dist/types/interface/api/responses/application.admin.response.js +2 -2
- package/dist/types/interface/api/responses/application.response.d.ts +14 -14
- package/dist/types/interface/api/responses/application.response.js +2 -2
- package/dist/types/interface/api/responses/collection.response.d.ts +43 -43
- package/dist/types/interface/api/responses/collection.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/responses/stream-media.admin.response.d.ts +20 -20
- package/dist/types/interface/api/responses/stream-media.admin.response.js +2 -2
- package/dist/types/interface/api/responses/stream-media.response.d.ts +10 -9
- package/dist/types/interface/api/responses/stream-media.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/constants/application-store.constant.d.ts +1 -0
- package/dist/types/interface/constants/application-store.constant.js +4 -0
- package/dist/types/interface/constants/index.d.ts +1 -0
- package/dist/types/interface/constants/index.js +17 -0
- package/dist/types/interface/dto/archive.d.ts +34 -34
- package/dist/types/interface/dto/archive.js +2 -2
- package/dist/types/interface/dto/index.d.ts +3 -3
- package/dist/types/interface/dto/index.js +19 -19
- package/dist/types/interface/dto/metadata.d.ts +13 -13
- package/dist/types/interface/dto/metadata.js +2 -2
- package/dist/types/interface/dto/webhooks.d.ts +29 -29
- package/dist/types/interface/dto/webhooks.js +2 -2
- package/dist/types/interface/index.d.ts +11 -9
- package/dist/types/interface/index.js +27 -25
- package/dist/types/interface/models/application-file-thumbnail.model.d.ts +15 -15
- package/dist/types/interface/models/application-file-thumbnail.model.js +2 -2
- package/dist/types/interface/models/application-file.model.d.ts +28 -28
- package/dist/types/interface/models/application-file.model.js +2 -2
- package/dist/types/interface/models/application-store-entry.model.d.ts +14 -0
- package/dist/types/interface/models/application-store-entry.model.js +2 -0
- package/dist/types/interface/models/application-webhook-history.model.d.ts +16 -16
- package/dist/types/interface/models/application-webhook-history.model.js +2 -2
- package/dist/types/interface/models/application-webhook.model.d.ts +17 -17
- package/dist/types/interface/models/application-webhook.model.js +2 -2
- package/dist/types/interface/models/application.model.d.ts +14 -12
- package/dist/types/interface/models/application.model.js +2 -2
- package/dist/types/interface/models/pre-sign-url.model.d.ts +11 -11
- package/dist/types/interface/models/pre-sign-url.model.js +2 -2
- package/dist/types/interface/models/stream-media.model.d.ts +9 -9
- package/dist/types/interface/models/stream-media.model.js +2 -2
- package/dist/types/models/index.d.ts +1 -1
- package/dist/types/models/index.js +17 -17
- package/dist/types/models/transfer.model.d.ts +36 -36
- package/dist/types/models/transfer.model.js +73 -73
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +17 -17
- package/package.json +5 -5
- package/dist/api/abyss.admin.api.d.ts +0 -2
- package/dist/api/abyss.admin.api.js +0 -8
- package/dist/api/logger.admin.api.d.ts +0 -3
- package/dist/api/logger.admin.api.js +0 -14
- package/dist/api/picture-collection.api.d.ts +0 -2
- package/dist/api/picture-collection.api.js +0 -10
- package/dist/api/user-application-file-thumbnail.admin.api.d.ts +0 -9
- package/dist/api/user-application-file-thumbnail.admin.api.js +0 -36
- package/dist/api/user-application-file-thumbnail.api.d.ts +0 -10
- package/dist/api/user-application-file-thumbnail.api.js +0 -46
- package/dist/api/user-application-file.admin.api.d.ts +0 -15
- package/dist/api/user-application-file.admin.api.js +0 -62
- package/dist/api/user-application-file.api.d.ts +0 -31
- package/dist/api/user-application-file.api.js +0 -134
- package/dist/api/user-application-webhook-history.admin.api.d.ts +0 -3
- package/dist/api/user-application-webhook-history.admin.api.js +0 -12
- package/dist/api/user-application-webhook-history.api.d.ts +0 -3
- package/dist/api/user-application-webhook-history.api.js +0 -12
- package/dist/api/user-application-webhook.admin.api.d.ts +0 -7
- package/dist/api/user-application-webhook.admin.api.js +0 -28
- package/dist/api/user-application-webhook.api.d.ts +0 -7
- package/dist/api/user-application-webhook.api.js +0 -28
- package/dist/api/user-application.admin.api.d.ts +0 -7
- package/dist/api/user-application.admin.api.js +0 -28
- package/dist/api/user-application.api.d.ts +0 -5
- package/dist/api/user-application.api.js +0 -20
- package/dist/api/user-file-thumbnail.admin.api.d.ts +0 -9
- package/dist/api/user-file-thumbnail.admin.api.js +0 -36
- package/dist/api/user-file-thumbnail.api.d.ts +0 -10
- package/dist/api/user-file-thumbnail.api.js +0 -46
- package/dist/api/user-file.admin.api.d.ts +0 -15
- package/dist/api/user-file.admin.api.js +0 -62
- package/dist/api/user-file.api.d.ts +0 -29
- package/dist/api/user-file.api.js +0 -137
- package/dist/api/user-webhook-history.admin.api.d.ts +0 -3
- package/dist/api/user-webhook-history.admin.api.js +0 -12
- package/dist/api/user-webhook-history.api.d.ts +0 -3
- package/dist/api/user-webhook-history.api.js +0 -12
- package/dist/api/user-webhook.admin.api.d.ts +0 -7
- package/dist/api/user-webhook.admin.api.js +0 -28
- package/dist/api/user-webhook.api.d.ts +0 -7
- package/dist/api/user-webhook.api.js +0 -28
- package/dist/api/user.admin.api.d.ts +0 -5
- package/dist/api/user.admin.api.js +0 -23
- package/dist/api/user.api.d.ts +0 -4
- package/dist/api/user.api.js +0 -17
- package/dist/types/enum/log-type.enum.d.ts +0 -6
- package/dist/types/enum/log-type.enum.js +0 -10
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +0 -4
- package/dist/types/interface/api/requests/logger.admin.request.d.ts +0 -10
- package/dist/types/interface/api/requests/picture-collection.request.d.ts +0 -3
- package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.d.ts +0 -35
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.d.ts +0 -50
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-file.admin.request.d.ts +0 -90
- package/dist/types/interface/api/requests/user-application-file.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-file.request.d.ts +0 -141
- package/dist/types/interface/api/requests/user-application-file.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.d.ts +0 -14
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-webhook-history.request.d.ts +0 -17
- package/dist/types/interface/api/requests/user-application-webhook-history.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.d.ts +0 -33
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application-webhook.request.d.ts +0 -43
- package/dist/types/interface/api/requests/user-application-webhook.request.js +0 -2
- package/dist/types/interface/api/requests/user-application.admin.request.d.ts +0 -18
- package/dist/types/interface/api/requests/user-application.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user-application.request.d.ts +0 -12
- package/dist/types/interface/api/requests/user-application.request.js +0 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +0 -21
- package/dist/types/interface/api/requests/user.admin.request.js +0 -2
- package/dist/types/interface/api/requests/user.request.d.ts +0 -3
- package/dist/types/interface/api/requests/user.request.js +0 -2
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +0 -6
- package/dist/types/interface/api/responses/abyss.admin.response.js +0 -2
- package/dist/types/interface/api/responses/logger.admin.response.d.ts +0 -7
- package/dist/types/interface/api/responses/logger.admin.response.js +0 -2
- package/dist/types/interface/api/responses/picture-collection.response.d.ts +0 -17
- package/dist/types/interface/api/responses/picture-collection.response.js +0 -2
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +0 -5
- package/dist/types/interface/api/responses/storage.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.d.ts +0 -30
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.d.ts +0 -33
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-file.admin.response.d.ts +0 -57
- package/dist/types/interface/api/responses/user-application-file.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-file.response.d.ts +0 -70
- package/dist/types/interface/api/responses/user-application-file.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.d.ts +0 -7
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-webhook-history.response.d.ts +0 -7
- package/dist/types/interface/api/responses/user-application-webhook-history.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.d.ts +0 -21
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application-webhook.response.d.ts +0 -21
- package/dist/types/interface/api/responses/user-application-webhook.response.js +0 -2
- package/dist/types/interface/api/responses/user-application.admin.response.d.ts +0 -25
- package/dist/types/interface/api/responses/user-application.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user-application.response.d.ts +0 -19
- package/dist/types/interface/api/responses/user-application.response.js +0 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +0 -15
- package/dist/types/interface/api/responses/user.admin.response.js +0 -2
- package/dist/types/interface/api/responses/user.response.d.ts +0 -13
- package/dist/types/interface/api/responses/user.response.js +0 -2
- package/dist/types/interface/models/log-console.model.d.ts +0 -17
- package/dist/types/interface/models/log-console.model.js +0 -2
- package/dist/types/interface/models/log-endpoint.model.d.ts +0 -22
- package/dist/types/interface/models/log-endpoint.model.js +0 -2
- package/dist/types/interface/models/picture-collection.model.d.ts +0 -17
- package/dist/types/interface/models/picture-collection.model.js +0 -2
- package/dist/types/interface/models/user-application-file-thumbnail.model.d.ts +0 -14
- package/dist/types/interface/models/user-application-file-thumbnail.model.js +0 -2
- package/dist/types/interface/models/user-application-file.model.d.ts +0 -20
- package/dist/types/interface/models/user-application-file.model.js +0 -2
- package/dist/types/interface/models/user-application-webhook-history.model.d.ts +0 -16
- package/dist/types/interface/models/user-application-webhook-history.model.js +0 -2
- package/dist/types/interface/models/user-application-webhook.model.d.ts +0 -17
- package/dist/types/interface/models/user-application-webhook.model.js +0 -2
- package/dist/types/interface/models/user-application.model.d.ts +0 -15
- package/dist/types/interface/models/user-application.model.js +0 -2
- package/dist/types/interface/models/user.model.d.ts +0 -8
- package/dist/types/interface/models/user.model.js +0 -2
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { IResponse, IApplication, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetApplicationAdminData {
|
|
3
|
-
application: IApplication;
|
|
4
|
-
}
|
|
5
|
-
export type IGetApplicationAdminResponse = IResponse<IGetApplicationAdminData>;
|
|
6
|
-
export type IPaginateApplicationAdminResponse = IResponse<BasePaginate<IApplication>>;
|
|
7
|
-
export interface IGetMetricsApplicationAdminData {
|
|
8
|
-
files: {
|
|
9
|
-
total: number;
|
|
10
|
-
totalOctet: number;
|
|
11
|
-
applications: {
|
|
12
|
-
id: string;
|
|
13
|
-
total: number;
|
|
14
|
-
totalOctet: number;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
thumbnails: {
|
|
18
|
-
total: number;
|
|
19
|
-
totalOctet: number;
|
|
20
|
-
applications: {
|
|
21
|
-
id: string;
|
|
22
|
-
total: number;
|
|
23
|
-
totalOctet: number;
|
|
24
|
-
}[];
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export type IGetMetricsApplicationAdminResponse = IResponse<IGetMetricsApplicationAdminData>;
|
|
28
|
-
export interface ICreateApplicationAdminData {
|
|
29
|
-
application: IApplication;
|
|
30
|
-
}
|
|
31
|
-
export type ICreateApplicationAdminResponse = IResponse<ICreateApplicationAdminData>;
|
|
32
|
-
export type IDeleteApplicationAdminData = Record<string, never>;
|
|
33
|
-
export type IDeleteApplicationAdminResponse = IResponse<IDeleteApplicationAdminData>;
|
|
1
|
+
import { IResponse, IApplication, BasePaginate } from '../..';
|
|
2
|
+
export interface IGetApplicationAdminData {
|
|
3
|
+
application: IApplication;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationAdminResponse = IResponse<IGetApplicationAdminData>;
|
|
6
|
+
export type IPaginateApplicationAdminResponse = IResponse<BasePaginate<IApplication>>;
|
|
7
|
+
export interface IGetMetricsApplicationAdminData {
|
|
8
|
+
files: {
|
|
9
|
+
total: number;
|
|
10
|
+
totalOctet: number;
|
|
11
|
+
applications: {
|
|
12
|
+
id: string;
|
|
13
|
+
total: number;
|
|
14
|
+
totalOctet: number;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
thumbnails: {
|
|
18
|
+
total: number;
|
|
19
|
+
totalOctet: number;
|
|
20
|
+
applications: {
|
|
21
|
+
id: string;
|
|
22
|
+
total: number;
|
|
23
|
+
totalOctet: number;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type IGetMetricsApplicationAdminResponse = IResponse<IGetMetricsApplicationAdminData>;
|
|
28
|
+
export interface ICreateApplicationAdminData {
|
|
29
|
+
application: IApplication;
|
|
30
|
+
}
|
|
31
|
+
export type ICreateApplicationAdminResponse = IResponse<ICreateApplicationAdminData>;
|
|
32
|
+
export type IDeleteApplicationAdminData = Record<string, never>;
|
|
33
|
+
export type IDeleteApplicationAdminResponse = IResponse<IDeleteApplicationAdminData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IResponse, IApplication } from '../..';
|
|
2
|
-
export interface IGetApplicationData {
|
|
3
|
-
application: IApplication;
|
|
4
|
-
}
|
|
5
|
-
export type IGetApplicationResponse = IResponse<IGetApplicationData>;
|
|
6
|
-
export interface IGetMetricsApplicationData {
|
|
7
|
-
storage: {
|
|
8
|
-
current: number;
|
|
9
|
-
project: number;
|
|
10
|
-
};
|
|
11
|
-
totalApplicationFile: number;
|
|
12
|
-
preSignUrl: number;
|
|
13
|
-
}
|
|
14
|
-
export type IGetMetricsApplicationResponse = IResponse<IGetMetricsApplicationData>;
|
|
1
|
+
import { IResponse, IApplication } from '../..';
|
|
2
|
+
export interface IGetApplicationData {
|
|
3
|
+
application: IApplication;
|
|
4
|
+
}
|
|
5
|
+
export type IGetApplicationResponse = IResponse<IGetApplicationData>;
|
|
6
|
+
export interface IGetMetricsApplicationData {
|
|
7
|
+
storage: {
|
|
8
|
+
current: number;
|
|
9
|
+
project: number;
|
|
10
|
+
};
|
|
11
|
+
totalApplicationFile: number;
|
|
12
|
+
preSignUrl: number;
|
|
13
|
+
}
|
|
14
|
+
export type IGetMetricsApplicationResponse = IResponse<IGetMetricsApplicationData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { IResponse } from '../..';
|
|
2
|
-
export type FreepikSearchResult = {
|
|
3
|
-
items: {
|
|
4
|
-
hasPrompt: boolean;
|
|
5
|
-
isAIGenerated: boolean;
|
|
6
|
-
isEditableInWepik: boolean;
|
|
7
|
-
id: number;
|
|
8
|
-
name: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
url: string;
|
|
11
|
-
premium: boolean;
|
|
12
|
-
new: boolean;
|
|
13
|
-
type: string;
|
|
14
|
-
author: {
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
slug: string;
|
|
18
|
-
avatar: string;
|
|
19
|
-
assets: number;
|
|
20
|
-
};
|
|
21
|
-
preview: {
|
|
22
|
-
width: number;
|
|
23
|
-
height: number;
|
|
24
|
-
url: string;
|
|
25
|
-
};
|
|
26
|
-
pixel: string;
|
|
27
|
-
}[];
|
|
28
|
-
pagination: {
|
|
29
|
-
total: number;
|
|
30
|
-
lastPage: number;
|
|
31
|
-
currentPage: number;
|
|
32
|
-
perPage: number;
|
|
33
|
-
};
|
|
34
|
-
term: string;
|
|
35
|
-
track: string;
|
|
36
|
-
};
|
|
37
|
-
export type ISearchFreepikCollectionData = FreepikSearchResult;
|
|
38
|
-
export type ISearchFreepikCollectionResponse = IResponse<ISearchFreepikCollectionData>;
|
|
39
|
-
export type IGetDownloadUrlFreepikCollectionData = {
|
|
40
|
-
filename: string;
|
|
41
|
-
url: string;
|
|
42
|
-
};
|
|
43
|
-
export type IGetDownloadUrlFreepikCollectionResponse = IResponse<IGetDownloadUrlFreepikCollectionData>;
|
|
1
|
+
import { IResponse } from '../..';
|
|
2
|
+
export type FreepikSearchResult = {
|
|
3
|
+
items: {
|
|
4
|
+
hasPrompt: boolean;
|
|
5
|
+
isAIGenerated: boolean;
|
|
6
|
+
isEditableInWepik: boolean;
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
url: string;
|
|
11
|
+
premium: boolean;
|
|
12
|
+
new: boolean;
|
|
13
|
+
type: string;
|
|
14
|
+
author: {
|
|
15
|
+
id: number;
|
|
16
|
+
name: string;
|
|
17
|
+
slug: string;
|
|
18
|
+
avatar: string;
|
|
19
|
+
assets: number;
|
|
20
|
+
};
|
|
21
|
+
preview: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
url: string;
|
|
25
|
+
};
|
|
26
|
+
pixel: string;
|
|
27
|
+
}[];
|
|
28
|
+
pagination: {
|
|
29
|
+
total: number;
|
|
30
|
+
lastPage: number;
|
|
31
|
+
currentPage: number;
|
|
32
|
+
perPage: number;
|
|
33
|
+
};
|
|
34
|
+
term: string;
|
|
35
|
+
track: string;
|
|
36
|
+
};
|
|
37
|
+
export type ISearchFreepikCollectionData = FreepikSearchResult;
|
|
38
|
+
export type ISearchFreepikCollectionResponse = IResponse<ISearchFreepikCollectionData>;
|
|
39
|
+
export type IGetDownloadUrlFreepikCollectionData = {
|
|
40
|
+
filename: string;
|
|
41
|
+
url: string;
|
|
42
|
+
};
|
|
43
|
+
export type IGetDownloadUrlFreepikCollectionResponse = IResponse<IGetDownloadUrlFreepikCollectionData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IResponse } from '..';
|
|
2
|
-
export interface IUpMonitorData {
|
|
3
|
-
upTime: number;
|
|
4
|
-
processId: string;
|
|
5
|
-
requestId: string;
|
|
6
|
-
}
|
|
7
|
-
export type IUpMonitorResponse = IResponse<IUpMonitorData>;
|
|
1
|
+
import { IResponse } from '..';
|
|
2
|
+
export interface IUpMonitorData {
|
|
3
|
+
upTime: number;
|
|
4
|
+
processId: string;
|
|
5
|
+
requestId: string;
|
|
6
|
+
}
|
|
7
|
+
export type IUpMonitorResponse = IResponse<IUpMonitorData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { BasePaginate, IResponse, IStreamMedia } from '../..';
|
|
2
|
-
export type IPaginateStreamMediaAdminResponse = IResponse<BasePaginate<IStreamMedia>>;
|
|
3
|
-
export interface IGetStreamMediaAdminData {
|
|
4
|
-
streamMedia: IStreamMedia;
|
|
5
|
-
}
|
|
6
|
-
export type IGetStreamMediaAdminResponse = IResponse<IGetStreamMediaAdminData>;
|
|
7
|
-
export interface IUpdateStreamMediaAdminData {
|
|
8
|
-
streamMedia: IStreamMedia;
|
|
9
|
-
}
|
|
10
|
-
export type IUpdateStreamMediaAdminResponse = IResponse<IUpdateStreamMediaAdminData>;
|
|
11
|
-
export type IDeleteStreamMediaAdminData = Record<string, never>;
|
|
12
|
-
export type IDeleteStreamMediaAdminResponse = IResponse<IDeleteStreamMediaAdminData>;
|
|
13
|
-
export interface ITranscodeStreamMediaAdminData {
|
|
14
|
-
streamMedia: IStreamMedia;
|
|
15
|
-
}
|
|
16
|
-
export type ITranscodeStreamMediaAdminResponse = IResponse<ITranscodeStreamMediaAdminData>;
|
|
17
|
-
export interface IUploadStreamMediaAdminData {
|
|
18
|
-
streamMedia: IStreamMedia;
|
|
19
|
-
}
|
|
20
|
-
export type IUploadStreamMediaAdminResponse = IResponse<IUploadStreamMediaAdminData>;
|
|
1
|
+
import { BasePaginate, IResponse, IStreamMedia } from '../..';
|
|
2
|
+
export type IPaginateStreamMediaAdminResponse = IResponse<BasePaginate<IStreamMedia>>;
|
|
3
|
+
export interface IGetStreamMediaAdminData {
|
|
4
|
+
streamMedia: IStreamMedia;
|
|
5
|
+
}
|
|
6
|
+
export type IGetStreamMediaAdminResponse = IResponse<IGetStreamMediaAdminData>;
|
|
7
|
+
export interface IUpdateStreamMediaAdminData {
|
|
8
|
+
streamMedia: IStreamMedia;
|
|
9
|
+
}
|
|
10
|
+
export type IUpdateStreamMediaAdminResponse = IResponse<IUpdateStreamMediaAdminData>;
|
|
11
|
+
export type IDeleteStreamMediaAdminData = Record<string, never>;
|
|
12
|
+
export type IDeleteStreamMediaAdminResponse = IResponse<IDeleteStreamMediaAdminData>;
|
|
13
|
+
export interface ITranscodeStreamMediaAdminData {
|
|
14
|
+
streamMedia: IStreamMedia;
|
|
15
|
+
}
|
|
16
|
+
export type ITranscodeStreamMediaAdminResponse = IResponse<ITranscodeStreamMediaAdminData>;
|
|
17
|
+
export interface IUploadStreamMediaAdminData {
|
|
18
|
+
streamMedia: IStreamMedia;
|
|
19
|
+
}
|
|
20
|
+
export type IUploadStreamMediaAdminResponse = IResponse<IUploadStreamMediaAdminData>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { BasePaginate, IResponse, IStreamMedia } from '../..';
|
|
4
|
+
export type IPaginateStreamMediaResponse = IResponse<BasePaginate<IStreamMedia>>;
|
|
5
|
+
export interface IGetStreamMediaData {
|
|
6
|
+
streamMedia: IStreamMedia;
|
|
7
|
+
}
|
|
8
|
+
export type IGetStreamMediaResponse = IResponse<IGetStreamMediaData>;
|
|
9
|
+
export type IReadStreamMediaData = Buffer;
|
|
10
|
+
export type IReadStreamMediaResponse = IReadStreamMediaData;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Code, ErrorType } from '../../../enum';
|
|
2
|
-
export interface IApiError {
|
|
3
|
-
type: ErrorType;
|
|
4
|
-
code: Code;
|
|
5
|
-
message: string;
|
|
6
|
-
params?: string;
|
|
7
|
-
field?: string;
|
|
8
|
-
}
|
|
1
|
+
import { Code, ErrorType } from '../../../enum';
|
|
2
|
+
export interface IApiError {
|
|
3
|
+
type: ErrorType;
|
|
4
|
+
code: Code;
|
|
5
|
+
message: string;
|
|
6
|
+
params?: string;
|
|
7
|
+
field?: string;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface BaseOrder {
|
|
2
|
-
orderBy?: string;
|
|
3
|
-
descending?: boolean;
|
|
4
|
-
}
|
|
1
|
+
export interface BaseOrder {
|
|
2
|
+
orderBy?: string;
|
|
3
|
+
descending?: boolean;
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface BasePaginate<T> {
|
|
2
|
-
maxPages: number;
|
|
3
|
-
currentPage: number;
|
|
4
|
-
totalItems: number;
|
|
5
|
-
data: T[];
|
|
6
|
-
}
|
|
7
|
-
export interface QueryPaginate {
|
|
8
|
-
page?: number;
|
|
9
|
-
limit?: number;
|
|
10
|
-
}
|
|
1
|
+
export interface BasePaginate<T> {
|
|
2
|
+
maxPages: number;
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalItems: number;
|
|
5
|
+
data: T[];
|
|
6
|
+
}
|
|
7
|
+
export interface QueryPaginate {
|
|
8
|
+
page?: number;
|
|
9
|
+
limit?: number;
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiError } from './api-error';
|
|
2
|
-
export interface IResponse<T> {
|
|
3
|
-
data: T;
|
|
4
|
-
error?: IApiError | Error;
|
|
5
|
-
}
|
|
1
|
+
import { IApiError } from './api-error';
|
|
2
|
+
export interface IResponse<T> {
|
|
3
|
+
data: T;
|
|
4
|
+
error?: IApiError | Error;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const APPLICATION_STORE_MAX_LENGTH = 4096;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './application-store.constant';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./application-store.constant"), exports);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export type ArchiveFile = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
5
|
-
export type ArchiveFolder = {
|
|
6
|
-
name: string;
|
|
7
|
-
folders?: ArchiveFolder[];
|
|
8
|
-
files?: ArchiveFile[];
|
|
9
|
-
};
|
|
10
|
-
export type ArchiveElement = {
|
|
11
|
-
files?: ArchiveFile[];
|
|
12
|
-
folders?: ArchiveFolder[];
|
|
13
|
-
};
|
|
14
|
-
export type ArchiveFileWithSize = {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
size: number;
|
|
18
|
-
path: string;
|
|
19
|
-
thumbnail?: {
|
|
20
|
-
id: string;
|
|
21
|
-
publicAccessId: string;
|
|
22
|
-
};
|
|
23
|
-
mimeType: string | null;
|
|
24
|
-
checksum: string;
|
|
25
|
-
};
|
|
26
|
-
export type ArchiveFolderWithSize = {
|
|
27
|
-
name: string;
|
|
28
|
-
folders?: ArchiveFolderWithSize[];
|
|
29
|
-
files?: ArchiveFileWithSize[];
|
|
30
|
-
};
|
|
31
|
-
export type ArchiveElementWithSize = {
|
|
32
|
-
files?: ArchiveFileWithSize[];
|
|
33
|
-
folders?: ArchiveFolderWithSize[];
|
|
34
|
-
};
|
|
1
|
+
export type ArchiveFile = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
export type ArchiveFolder = {
|
|
6
|
+
name: string;
|
|
7
|
+
folders?: ArchiveFolder[];
|
|
8
|
+
files?: ArchiveFile[];
|
|
9
|
+
};
|
|
10
|
+
export type ArchiveElement = {
|
|
11
|
+
files?: ArchiveFile[];
|
|
12
|
+
folders?: ArchiveFolder[];
|
|
13
|
+
};
|
|
14
|
+
export type ArchiveFileWithSize = {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
size: number;
|
|
18
|
+
path: string;
|
|
19
|
+
thumbnail?: {
|
|
20
|
+
id: string;
|
|
21
|
+
publicAccessId: string;
|
|
22
|
+
};
|
|
23
|
+
mimeType: string | null;
|
|
24
|
+
checksum: string;
|
|
25
|
+
};
|
|
26
|
+
export type ArchiveFolderWithSize = {
|
|
27
|
+
name: string;
|
|
28
|
+
folders?: ArchiveFolderWithSize[];
|
|
29
|
+
files?: ArchiveFileWithSize[];
|
|
30
|
+
};
|
|
31
|
+
export type ArchiveElementWithSize = {
|
|
32
|
+
files?: ArchiveFileWithSize[];
|
|
33
|
+
folders?: ArchiveFolderWithSize[];
|
|
34
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './webhooks';
|
|
2
|
-
export * from './metadata';
|
|
3
|
-
export * from './archive';
|
|
1
|
+
export * from './webhooks';
|
|
2
|
+
export * from './metadata';
|
|
3
|
+
export * from './archive';
|
|
@@ -1,19 +1,19 @@
|
|
|
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("./webhooks"), exports);
|
|
18
|
-
__exportStar(require("./metadata"), exports);
|
|
19
|
-
__exportStar(require("./archive"), exports);
|
|
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("./webhooks"), exports);
|
|
18
|
+
__exportStar(require("./metadata"), exports);
|
|
19
|
+
__exportStar(require("./archive"), exports);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export type ApplicationFileMetadata = {
|
|
2
|
-
video?: {
|
|
3
|
-
width?: number | null;
|
|
4
|
-
height?: number | null;
|
|
5
|
-
format?: {
|
|
6
|
-
duration?: number | null;
|
|
7
|
-
size?: number | null;
|
|
8
|
-
bitRate?: number | null;
|
|
9
|
-
probeScore?: number | null;
|
|
10
|
-
creationTime?: Date | null;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
1
|
+
export type ApplicationFileMetadata = {
|
|
2
|
+
video?: {
|
|
3
|
+
width?: number | null;
|
|
4
|
+
height?: number | null;
|
|
5
|
+
format?: {
|
|
6
|
+
duration?: number | null;
|
|
7
|
+
size?: number | null;
|
|
8
|
+
bitRate?: number | null;
|
|
9
|
+
probeScore?: number | null;
|
|
10
|
+
creationTime?: Date | null;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { WebhookType } from '../../enum/webhook-type.enum';
|
|
2
|
-
import { IApplicationFileThumbnail } from '../models/application-file-thumbnail.model';
|
|
3
|
-
import { IApplicationFile } from '../models/application-file.model';
|
|
4
|
-
export type BaseWebhookBody = {
|
|
5
|
-
id: string;
|
|
6
|
-
groupId: string;
|
|
7
|
-
type: WebhookType;
|
|
8
|
-
webhookSecret: string;
|
|
9
|
-
applicationId: string;
|
|
10
|
-
data?: Record<string, unknown>;
|
|
11
|
-
};
|
|
12
|
-
export type UploadWebhook = BaseWebhookBody & {
|
|
13
|
-
type: WebhookType.UPLOAD;
|
|
14
|
-
preSignUrl: string;
|
|
15
|
-
applicationFile: IApplicationFile;
|
|
16
|
-
};
|
|
17
|
-
export type WriteWebhook = BaseWebhookBody & {
|
|
18
|
-
type: WebhookType.WRITE;
|
|
19
|
-
preSignUrl: string;
|
|
20
|
-
applicationFile: IApplicationFile;
|
|
21
|
-
};
|
|
22
|
-
export type DeleteWebhook = BaseWebhookBody & {
|
|
23
|
-
type: WebhookType.DELETE;
|
|
24
|
-
isIntegrityCheckDelete?: boolean;
|
|
25
|
-
} & ({
|
|
26
|
-
applicationFile: IApplicationFile;
|
|
27
|
-
} | {
|
|
28
|
-
applicationFileThumbnail: IApplicationFileThumbnail;
|
|
29
|
-
});
|
|
1
|
+
import { WebhookType } from '../../enum/webhook-type.enum';
|
|
2
|
+
import { IApplicationFileThumbnail } from '../models/application-file-thumbnail.model';
|
|
3
|
+
import { IApplicationFile } from '../models/application-file.model';
|
|
4
|
+
export type BaseWebhookBody = {
|
|
5
|
+
id: string;
|
|
6
|
+
groupId: string;
|
|
7
|
+
type: WebhookType;
|
|
8
|
+
webhookSecret: string;
|
|
9
|
+
applicationId: string;
|
|
10
|
+
data?: Record<string, unknown>;
|
|
11
|
+
};
|
|
12
|
+
export type UploadWebhook = BaseWebhookBody & {
|
|
13
|
+
type: WebhookType.UPLOAD;
|
|
14
|
+
preSignUrl: string;
|
|
15
|
+
applicationFile: IApplicationFile;
|
|
16
|
+
};
|
|
17
|
+
export type WriteWebhook = BaseWebhookBody & {
|
|
18
|
+
type: WebhookType.WRITE;
|
|
19
|
+
preSignUrl: string;
|
|
20
|
+
applicationFile: IApplicationFile;
|
|
21
|
+
};
|
|
22
|
+
export type DeleteWebhook = BaseWebhookBody & {
|
|
23
|
+
type: WebhookType.DELETE;
|
|
24
|
+
isIntegrityCheckDelete?: boolean;
|
|
25
|
+
} & ({
|
|
26
|
+
applicationFile: IApplicationFile;
|
|
27
|
+
} | {
|
|
28
|
+
applicationFileThumbnail: IApplicationFileThumbnail;
|
|
29
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|