@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,7 +0,0 @@
|
|
|
1
|
-
import { ICreateUserApplicationWebhookBody, ICreateUserApplicationWebhookResponse, IDeleteUserApplicationWebhookParams, IGetUserApplicationWebhookParams, IGetUserApplicationWebhookResponse, IPaginateUserApplicationWebhookQuery, IPaginateUserApplicationWebhookResponse, IResetSecretUserApplicationWebhookParams, IResetSecretUserApplicationWebhookResponse, IUpdateUserApplicationWebhookBody, IUpdateUserApplicationWebhookParams, IUpdateUserApplicationWebhookResponse } from '..';
|
|
2
|
-
export declare const getUserApplicationWebhook: (params: IGetUserApplicationWebhookParams) => Promise<IGetUserApplicationWebhookResponse>;
|
|
3
|
-
export declare const deleteUserApplicationWebhook: (params: IDeleteUserApplicationWebhookParams) => Promise<IGetUserApplicationWebhookResponse>;
|
|
4
|
-
export declare const updateUserApplicationWebhook: (params: IUpdateUserApplicationWebhookParams, body: IUpdateUserApplicationWebhookBody) => Promise<IUpdateUserApplicationWebhookResponse>;
|
|
5
|
-
export declare const resetResetSecretUserApplicationWebhook: (params: IResetSecretUserApplicationWebhookParams) => Promise<IResetSecretUserApplicationWebhookResponse>;
|
|
6
|
-
export declare const createUserApplicationWebhook: (body: ICreateUserApplicationWebhookBody) => Promise<ICreateUserApplicationWebhookResponse>;
|
|
7
|
-
export declare const paginateUserApplicationWebhook: (query: IPaginateUserApplicationWebhookQuery) => Promise<IPaginateUserApplicationWebhookResponse>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateUserApplicationWebhook = exports.createUserApplicationWebhook = exports.resetResetSecretUserApplicationWebhook = exports.updateUserApplicationWebhook = exports.deleteUserApplicationWebhook = exports.getUserApplicationWebhook = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const getUserApplicationWebhook = async (params) => {
|
|
6
|
-
return (await __1.AbyssStorageCore.axios.get(`user/user-webhook/${params.userApplicationWebhookId}`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.getUserApplicationWebhook = getUserApplicationWebhook;
|
|
9
|
-
const deleteUserApplicationWebhook = async (params) => {
|
|
10
|
-
return (await __1.AbyssStorageCore.axios.delete(`user/user-webhook/${params.userApplicationWebhookId}`)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.deleteUserApplicationWebhook = deleteUserApplicationWebhook;
|
|
13
|
-
const updateUserApplicationWebhook = async (params, body) => {
|
|
14
|
-
return (await __1.AbyssStorageCore.axios.put(`user/user-webhook/${params.userApplicationWebhookId}`, body)).data;
|
|
15
|
-
};
|
|
16
|
-
exports.updateUserApplicationWebhook = updateUserApplicationWebhook;
|
|
17
|
-
const resetResetSecretUserApplicationWebhook = async (params) => {
|
|
18
|
-
return (await __1.AbyssStorageCore.axios.post(`user/user-webhook/${params.userApplicationWebhookId}/reset-secret`)).data;
|
|
19
|
-
};
|
|
20
|
-
exports.resetResetSecretUserApplicationWebhook = resetResetSecretUserApplicationWebhook;
|
|
21
|
-
const createUserApplicationWebhook = async (body) => {
|
|
22
|
-
return (await __1.AbyssStorageCore.axios.post(`user/user-webhook`, body)).data;
|
|
23
|
-
};
|
|
24
|
-
exports.createUserApplicationWebhook = createUserApplicationWebhook;
|
|
25
|
-
const paginateUserApplicationWebhook = async (query) => {
|
|
26
|
-
return (await __1.AbyssStorageCore.axios.get(`user/user-webhook/paginate`, { params: query })).data;
|
|
27
|
-
};
|
|
28
|
-
exports.paginateUserApplicationWebhook = paginateUserApplicationWebhook;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IGetUserAdminParams, IGetUserAdminResponse, IUpdateUserAdminParams, IUpdateUserAdminResponse, IUpdateUserAdminBody, IPaginateUserAdminResponse, IPaginateUserAdminQuery, IResetApiKeyUserAdminResponse, IResetApiKeyUserAdminParams } from '..';
|
|
2
|
-
export declare const getUserAdmin: (params: IGetUserAdminParams) => Promise<IGetUserAdminResponse>;
|
|
3
|
-
export declare const resetApiKeyUserAdmin: (params: IResetApiKeyUserAdminParams) => Promise<IResetApiKeyUserAdminResponse>;
|
|
4
|
-
export declare const paginateUserAdmin: (query: IPaginateUserAdminQuery) => Promise<IPaginateUserAdminResponse>;
|
|
5
|
-
export declare const updateUserAdmin: (params: IUpdateUserAdminParams, body: IUpdateUserAdminBody) => Promise<IUpdateUserAdminResponse>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateUserAdmin = exports.paginateUserAdmin = exports.resetApiKeyUserAdmin = exports.getUserAdmin = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const getUserAdmin = async (params) => {
|
|
6
|
-
return (await __1.AbyssStorageCore.axios.get(`user/admin/${params.userId}`))
|
|
7
|
-
.data;
|
|
8
|
-
};
|
|
9
|
-
exports.getUserAdmin = getUserAdmin;
|
|
10
|
-
const resetApiKeyUserAdmin = async (params) => {
|
|
11
|
-
return (await __1.AbyssStorageCore.axios.post(`user/admin/${params.userId}`)).data;
|
|
12
|
-
};
|
|
13
|
-
exports.resetApiKeyUserAdmin = resetApiKeyUserAdmin;
|
|
14
|
-
const paginateUserAdmin = async (query) => {
|
|
15
|
-
return (await __1.AbyssStorageCore.axios.get(`user/admin/paginate`, {
|
|
16
|
-
params: query,
|
|
17
|
-
})).data;
|
|
18
|
-
};
|
|
19
|
-
exports.paginateUserAdmin = paginateUserAdmin;
|
|
20
|
-
const updateUserAdmin = async (params, body) => {
|
|
21
|
-
return (await __1.AbyssStorageCore.axios.put(`user/admin/${params.userId}`, body)).data;
|
|
22
|
-
};
|
|
23
|
-
exports.updateUserAdmin = updateUserAdmin;
|
package/dist/api/user.api.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IMeUserResponse, IUpdateUserBody, IUpdateUserResponse, IResetApiKeyUserResponse } from '..';
|
|
2
|
-
export declare const meUser: () => Promise<IMeUserResponse>;
|
|
3
|
-
export declare const updateUser: (body: IUpdateUserBody) => Promise<IUpdateUserResponse>;
|
|
4
|
-
export declare const resetApiKeyUser: () => Promise<IResetApiKeyUserResponse>;
|
package/dist/api/user.api.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resetApiKeyUser = exports.updateUser = exports.meUser = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const meUser = async () => {
|
|
6
|
-
return (await __1.AbyssStorageCore.axios.get(`user/me`)).data;
|
|
7
|
-
};
|
|
8
|
-
exports.meUser = meUser;
|
|
9
|
-
const updateUser = async (body) => {
|
|
10
|
-
return (await __1.AbyssStorageCore.axios.put(`user/me`, body)).data;
|
|
11
|
-
};
|
|
12
|
-
exports.updateUser = updateUser;
|
|
13
|
-
const resetApiKeyUser = async () => {
|
|
14
|
-
return (await __1.AbyssStorageCore.axios.post(`user/me/reset-api-key`))
|
|
15
|
-
.data;
|
|
16
|
-
};
|
|
17
|
-
exports.resetApiKeyUser = resetApiKeyUser;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogType = void 0;
|
|
4
|
-
var LogType;
|
|
5
|
-
(function (LogType) {
|
|
6
|
-
LogType[LogType["API"] = 1] = "API";
|
|
7
|
-
LogType[LogType["SYSTEM_STARTUP"] = 4] = "SYSTEM_STARTUP";
|
|
8
|
-
LogType[LogType["STORAGE_SERVICE"] = 10] = "STORAGE_SERVICE";
|
|
9
|
-
LogType[LogType["OTHER"] = 100] = "OTHER";
|
|
10
|
-
})(LogType = exports.LogType || (exports.LogType = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
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 {};
|
package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
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;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
4
|
-
userApplicationWebhookId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IDeleteUserApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userApplicationWebhookId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IUpdateUserApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
10
|
-
userApplicationWebhookId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IUpdateUserApplicationWebhookAdminBody {
|
|
13
|
-
webhookUrl?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
isEnabled?: boolean;
|
|
16
|
-
description?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ICreateUserApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
19
|
-
userApplicationId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface ICreateUserApplicationWebhookAdminBody {
|
|
22
|
-
webhookUrl: string;
|
|
23
|
-
name: string;
|
|
24
|
-
isEnabled: boolean;
|
|
25
|
-
description?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface IResetSecretUserApplicationWebhookAdminParams extends core.ParamsDictionary {
|
|
28
|
-
userApplicationWebhookId: string;
|
|
29
|
-
}
|
|
30
|
-
export type IPaginateUserApplicationWebhookAdminQuery = {
|
|
31
|
-
userApplicationId?: string[];
|
|
32
|
-
name?: string;
|
|
33
|
-
} & QueryPaginate;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
import { WebhookType } from '../../../enum';
|
|
4
|
-
export interface IGetUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
5
|
-
userApplicationId: string;
|
|
6
|
-
userApplicationWebhookId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IDeleteUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
9
|
-
userApplicationId: string;
|
|
10
|
-
userApplicationWebhookId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IUpdateUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
13
|
-
userApplicationId: string;
|
|
14
|
-
userApplicationWebhookId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IUpdateUserApplicationWebhookBody {
|
|
17
|
-
webhookUrl?: string;
|
|
18
|
-
name?: string;
|
|
19
|
-
isEnabled?: boolean;
|
|
20
|
-
description?: string;
|
|
21
|
-
scopes?: WebhookType[];
|
|
22
|
-
}
|
|
23
|
-
export interface ICreateUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
24
|
-
userApplicationId: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ICreateUserApplicationWebhookBody {
|
|
27
|
-
webhookUrl: string;
|
|
28
|
-
name: string;
|
|
29
|
-
isEnabled: boolean;
|
|
30
|
-
description?: string;
|
|
31
|
-
scopes?: WebhookType[];
|
|
32
|
-
}
|
|
33
|
-
export interface IResetSecretUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
34
|
-
userApplicationId: string;
|
|
35
|
-
userApplicationWebhookId: string;
|
|
36
|
-
}
|
|
37
|
-
export interface IPaginateUserApplicationWebhookParams extends core.ParamsDictionary {
|
|
38
|
-
userApplicationId: string;
|
|
39
|
-
}
|
|
40
|
-
export type IPaginateUserApplicationWebhookQuery = {
|
|
41
|
-
name?: string;
|
|
42
|
-
scopes?: WebhookType[];
|
|
43
|
-
} & QueryPaginate;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserApplicationAdminParams extends core.ParamsDictionary {
|
|
4
|
-
userApplicationId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserApplicationAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userApplicationId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IGetMetricsUserApplicationAdminParams extends core.ParamsDictionary {
|
|
10
|
-
userApplicationId: string;
|
|
11
|
-
}
|
|
12
|
-
export type IPaginateUserApplicationAdminQuery = QueryPaginate;
|
|
13
|
-
export type ICreateUserApplicationAdminBody = {
|
|
14
|
-
externalUserApplicationId: string;
|
|
15
|
-
};
|
|
16
|
-
export interface IDeleteUserApplicationAdminParams extends core.ParamsDictionary {
|
|
17
|
-
userApplicationId: string;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserApplicationParams extends core.ParamsDictionary {
|
|
4
|
-
userApplicationId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserApplicationParams extends core.ParamsDictionary {
|
|
7
|
-
userApplicationId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IGetMetricsUserApplicationParams extends core.ParamsDictionary {
|
|
10
|
-
userApplicationId: string;
|
|
11
|
-
}
|
|
12
|
-
export type IPaginateUserApplicationQuery = QueryPaginate;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { QueryPaginate } from 'abyss_core';
|
|
2
|
-
import * as core from 'express-serve-static-core';
|
|
3
|
-
export interface IGetUserAdminParams extends core.ParamsDictionary {
|
|
4
|
-
userId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IResetApiKeyUserAdminParams extends core.ParamsDictionary {
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
export type IPaginateUserAdminQuery = {
|
|
10
|
-
alias?: string;
|
|
11
|
-
} & QueryPaginate;
|
|
12
|
-
export interface IUpdateUserAdminParams extends core.ParamsDictionary {
|
|
13
|
-
userId: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateUserAdminBody {
|
|
16
|
-
alias?: string;
|
|
17
|
-
isAdmin?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface IGetMetricsUserAdminParams extends core.ParamsDictionary {
|
|
20
|
-
userId: string;
|
|
21
|
-
}
|