@abyss-project/storage 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +34 -0
- package/README.md +2 -0
- package/dist/api/abyss.admin.api.d.ts +2 -0
- package/dist/api/abyss.admin.api.js +8 -0
- package/dist/api/application-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/application-file-thumbnail.admin.api.js +36 -0
- package/dist/api/application-file-thumbnail.api.d.ts +15 -0
- package/dist/api/application-file-thumbnail.api.js +64 -0
- package/dist/api/application-file.admin.api.d.ts +22 -0
- package/dist/api/application-file.admin.api.js +88 -0
- package/dist/api/application-file.api.d.ts +40 -0
- package/dist/api/application-file.api.js +177 -0
- package/dist/api/application-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/application-webhook-history.admin.api.js +12 -0
- package/dist/api/application-webhook-history.api.d.ts +3 -0
- package/dist/api/application-webhook-history.api.js +12 -0
- package/dist/api/application-webhook.admin.api.d.ts +7 -0
- package/dist/api/application-webhook.admin.api.js +28 -0
- package/dist/api/application-webhook.api.d.ts +7 -0
- package/dist/api/application-webhook.api.js +28 -0
- package/dist/api/application.admin.api.d.ts +6 -0
- package/dist/api/application.admin.api.js +24 -0
- package/dist/api/application.api.d.ts +3 -0
- package/dist/api/application.api.js +12 -0
- package/dist/api/collection.api.d.ts +3 -0
- package/dist/api/collection.api.js +12 -0
- package/dist/api/generics/download.request.d.ts +2 -0
- package/dist/api/generics/download.request.js +10 -0
- package/dist/api/generics/index.d.ts +2 -0
- package/dist/api/generics/index.js +18 -0
- package/dist/api/generics/upload.request.d.ts +3 -0
- package/dist/api/generics/upload.request.js +10 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.js +31 -0
- package/dist/api/logger.admin.api.d.ts +3 -0
- package/dist/api/logger.admin.api.js +14 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/picture-collection.api.d.ts +2 -0
- package/dist/api/picture-collection.api.js +10 -0
- package/dist/api/storage.admin.api.d.ts +4 -0
- package/dist/api/storage.admin.api.js +16 -0
- package/dist/api/stream-media.admin.api.d.ts +7 -0
- package/dist/api/stream-media.admin.api.js +35 -0
- package/dist/api/stream-media.api.d.ts +4 -0
- package/dist/api/stream-media.api.js +18 -0
- package/dist/api/user-application-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/user-application-file-thumbnail.admin.api.js +36 -0
- package/dist/api/user-application-file-thumbnail.api.d.ts +10 -0
- package/dist/api/user-application-file-thumbnail.api.js +46 -0
- package/dist/api/user-application-file.admin.api.d.ts +15 -0
- package/dist/api/user-application-file.admin.api.js +62 -0
- package/dist/api/user-application-file.api.d.ts +31 -0
- package/dist/api/user-application-file.api.js +134 -0
- package/dist/api/user-application-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/user-application-webhook-history.admin.api.js +12 -0
- package/dist/api/user-application-webhook-history.api.d.ts +3 -0
- package/dist/api/user-application-webhook-history.api.js +12 -0
- package/dist/api/user-application-webhook.admin.api.d.ts +7 -0
- package/dist/api/user-application-webhook.admin.api.js +28 -0
- package/dist/api/user-application-webhook.api.d.ts +7 -0
- package/dist/api/user-application-webhook.api.js +28 -0
- package/dist/api/user-application.admin.api.d.ts +7 -0
- package/dist/api/user-application.admin.api.js +28 -0
- package/dist/api/user-application.api.d.ts +5 -0
- package/dist/api/user-application.api.js +20 -0
- package/dist/api/user-file-thumbnail.admin.api.d.ts +9 -0
- package/dist/api/user-file-thumbnail.admin.api.js +36 -0
- package/dist/api/user-file-thumbnail.api.d.ts +10 -0
- package/dist/api/user-file-thumbnail.api.js +46 -0
- package/dist/api/user-file.admin.api.d.ts +15 -0
- package/dist/api/user-file.admin.api.js +62 -0
- package/dist/api/user-file.api.d.ts +29 -0
- package/dist/api/user-file.api.js +137 -0
- package/dist/api/user-webhook-history.admin.api.d.ts +3 -0
- package/dist/api/user-webhook-history.admin.api.js +12 -0
- package/dist/api/user-webhook-history.api.d.ts +3 -0
- package/dist/api/user-webhook-history.api.js +12 -0
- package/dist/api/user-webhook.admin.api.d.ts +7 -0
- package/dist/api/user-webhook.admin.api.js +28 -0
- package/dist/api/user-webhook.api.d.ts +7 -0
- package/dist/api/user-webhook.api.js +28 -0
- package/dist/api/user.admin.api.d.ts +5 -0
- package/dist/api/user.admin.api.js +23 -0
- package/dist/api/user.api.d.ts +4 -0
- package/dist/api/user.api.js +17 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +89 -0
- package/dist/types/enum/algorithm.enum.d.ts +3 -0
- package/dist/types/enum/algorithm.enum.js +7 -0
- package/dist/types/enum/api-error.enum.d.ts +31 -0
- package/dist/types/enum/api-error.enum.js +36 -0
- package/dist/types/enum/checksum-algorithm.enum.d.ts +5 -0
- package/dist/types/enum/checksum-algorithm.enum.js +9 -0
- package/dist/types/enum/index.d.ts +9 -0
- package/dist/types/enum/index.js +25 -0
- package/dist/types/enum/log-type.enum.d.ts +6 -0
- package/dist/types/enum/log-type.enum.js +10 -0
- package/dist/types/enum/mime-type-thumbnail.enum.d.ts +15 -0
- package/dist/types/enum/mime-type-thumbnail.enum.js +20 -0
- package/dist/types/enum/picture-collection-source.enum.d.ts +3 -0
- package/dist/types/enum/picture-collection-source.enum.js +7 -0
- package/dist/types/enum/picture-collection-type.enum.d.ts +3 -0
- package/dist/types/enum/picture-collection-type.enum.js +7 -0
- package/dist/types/enum/pre-sign-url-type.enum.d.ts +5 -0
- package/dist/types/enum/pre-sign-url-type.enum.js +9 -0
- package/dist/types/enum/stream-media-type.enum.d.ts +4 -0
- package/dist/types/enum/stream-media-type.enum.js +8 -0
- package/dist/types/enum/webhook-type.enum.d.ts +5 -0
- package/dist/types/enum/webhook-type.enum.js +9 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +19 -0
- package/dist/types/interface/api/index.d.ts +32 -0
- package/dist/types/interface/api/index.js +48 -0
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +4 -0
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.d.ts +37 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.request.d.ts +56 -0
- package/dist/types/interface/api/requests/application-file-thumbnail.request.js +2 -0
- package/dist/types/interface/api/requests/application-file.admin.request.d.ts +144 -0
- package/dist/types/interface/api/requests/application-file.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-file.request.d.ts +228 -0
- package/dist/types/interface/api/requests/application-file.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +17 -0
- package/dist/types/interface/api/requests/application-webhook-history.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +33 -0
- package/dist/types/interface/api/requests/application-webhook.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +43 -0
- package/dist/types/interface/api/requests/application-webhook.request.js +2 -0
- package/dist/types/interface/api/requests/application.admin.request.d.ts +16 -0
- package/dist/types/interface/api/requests/application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/application.request.d.ts +7 -0
- package/dist/types/interface/api/requests/application.request.js +2 -0
- package/dist/types/interface/api/requests/collection.request.d.ts +10 -0
- package/dist/types/interface/api/requests/collection.request.js +2 -0
- package/dist/types/interface/api/requests/logger.admin.request.d.ts +10 -0
- package/dist/types/interface/api/requests/logger.admin.request.js +2 -0
- package/dist/types/interface/api/requests/picture-collection.request.d.ts +3 -0
- package/dist/types/interface/api/requests/picture-collection.request.js +2 -0
- package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/storage.admin.request.js +2 -0
- package/dist/types/interface/api/requests/stream-media.admin.request.d.ts +28 -0
- package/dist/types/interface/api/requests/stream-media.admin.request.js +2 -0
- package/dist/types/interface/api/requests/stream-media.request.d.ts +12 -0
- package/dist/types/interface/api/requests/stream-media.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.d.ts +50 -0
- package/dist/types/interface/api/requests/user-application-file-thumbnail.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file.admin.request.d.ts +90 -0
- package/dist/types/interface/api/requests/user-application-file.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-file.request.d.ts +141 -0
- package/dist/types/interface/api/requests/user-application-file.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.request.d.ts +17 -0
- package/dist/types/interface/api/requests/user-application-webhook-history.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.d.ts +33 -0
- package/dist/types/interface/api/requests/user-application-webhook.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application-webhook.request.d.ts +43 -0
- package/dist/types/interface/api/requests/user-application-webhook.request.js +2 -0
- package/dist/types/interface/api/requests/user-application.admin.request.d.ts +18 -0
- package/dist/types/interface/api/requests/user-application.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user-application.request.d.ts +12 -0
- package/dist/types/interface/api/requests/user-application.request.js +2 -0
- package/dist/types/interface/api/requests/user.admin.request.d.ts +21 -0
- package/dist/types/interface/api/requests/user.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +3 -0
- package/dist/types/interface/api/requests/user.request.js +2 -0
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -0
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.d.ts +30 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.response.d.ts +35 -0
- package/dist/types/interface/api/responses/application-file-thumbnail.response.js +2 -0
- package/dist/types/interface/api/responses/application-file.admin.response.d.ts +80 -0
- package/dist/types/interface/api/responses/application-file.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-file.response.d.ts +95 -0
- package/dist/types/interface/api/responses/application-file.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.d.ts +7 -0
- package/dist/types/interface/api/responses/application-webhook-history.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application-webhook.response.d.ts +21 -0
- package/dist/types/interface/api/responses/application-webhook.response.js +2 -0
- package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -0
- package/dist/types/interface/api/responses/application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/application.response.d.ts +14 -0
- package/dist/types/interface/api/responses/application.response.js +2 -0
- package/dist/types/interface/api/responses/collection.response.d.ts +43 -0
- package/dist/types/interface/api/responses/collection.response.js +2 -0
- package/dist/types/interface/api/responses/logger.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/logger.admin.response.js +2 -0
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -0
- package/dist/types/interface/api/responses/monitor.response.js +2 -0
- package/dist/types/interface/api/responses/picture-collection.response.d.ts +17 -0
- package/dist/types/interface/api/responses/picture-collection.response.js +2 -0
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +5 -0
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -0
- package/dist/types/interface/api/responses/stream-media.admin.response.d.ts +20 -0
- package/dist/types/interface/api/responses/stream-media.admin.response.js +2 -0
- package/dist/types/interface/api/responses/stream-media.response.d.ts +9 -0
- package/dist/types/interface/api/responses/stream-media.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.d.ts +30 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.d.ts +33 -0
- package/dist/types/interface/api/responses/user-application-file-thumbnail.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file.admin.response.d.ts +57 -0
- package/dist/types/interface/api/responses/user-application-file.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-file.response.d.ts +70 -0
- package/dist/types/interface/api/responses/user-application-file.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.response.d.ts +7 -0
- package/dist/types/interface/api/responses/user-application-webhook-history.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.d.ts +21 -0
- package/dist/types/interface/api/responses/user-application-webhook.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application-webhook.response.d.ts +21 -0
- package/dist/types/interface/api/responses/user-application-webhook.response.js +2 -0
- package/dist/types/interface/api/responses/user-application.admin.response.d.ts +25 -0
- package/dist/types/interface/api/responses/user-application.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user-application.response.d.ts +19 -0
- package/dist/types/interface/api/responses/user-application.response.js +2 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +15 -0
- package/dist/types/interface/api/responses/user.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user.response.d.ts +13 -0
- package/dist/types/interface/api/responses/user.response.js +2 -0
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -0
- package/dist/types/interface/api/type-message/api-error.js +2 -0
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -0
- package/dist/types/interface/api/type-message/base-order.js +2 -0
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
- package/dist/types/interface/api/type-message/base-paginate.js +2 -0
- package/dist/types/interface/api/type-message/response.d.ts +5 -0
- package/dist/types/interface/api/type-message/response.js +2 -0
- package/dist/types/interface/dto/archive.d.ts +34 -0
- package/dist/types/interface/dto/archive.js +2 -0
- package/dist/types/interface/dto/index.d.ts +3 -0
- package/dist/types/interface/dto/index.js +19 -0
- package/dist/types/interface/dto/metadata.d.ts +13 -0
- package/dist/types/interface/dto/metadata.js +2 -0
- package/dist/types/interface/dto/webhooks.d.ts +29 -0
- package/dist/types/interface/dto/webhooks.js +2 -0
- package/dist/types/interface/index.d.ts +9 -0
- package/dist/types/interface/index.js +25 -0
- package/dist/types/interface/models/application-file-thumbnail.model.d.ts +15 -0
- package/dist/types/interface/models/application-file-thumbnail.model.js +2 -0
- package/dist/types/interface/models/application-file.model.d.ts +28 -0
- package/dist/types/interface/models/application-file.model.js +2 -0
- package/dist/types/interface/models/application-webhook-history.model.d.ts +16 -0
- package/dist/types/interface/models/application-webhook-history.model.js +2 -0
- package/dist/types/interface/models/application-webhook.model.d.ts +17 -0
- package/dist/types/interface/models/application-webhook.model.js +2 -0
- package/dist/types/interface/models/application.model.d.ts +12 -0
- package/dist/types/interface/models/application.model.js +2 -0
- package/dist/types/interface/models/log-console.model.d.ts +17 -0
- package/dist/types/interface/models/log-console.model.js +2 -0
- package/dist/types/interface/models/log-endpoint.model.d.ts +22 -0
- package/dist/types/interface/models/log-endpoint.model.js +2 -0
- package/dist/types/interface/models/picture-collection.model.d.ts +17 -0
- package/dist/types/interface/models/picture-collection.model.js +2 -0
- package/dist/types/interface/models/pre-sign-url.model.d.ts +11 -0
- package/dist/types/interface/models/pre-sign-url.model.js +2 -0
- package/dist/types/interface/models/stream-media.model.d.ts +9 -0
- package/dist/types/interface/models/stream-media.model.js +2 -0
- package/dist/types/interface/models/user-application-file-thumbnail.model.d.ts +14 -0
- package/dist/types/interface/models/user-application-file-thumbnail.model.js +2 -0
- package/dist/types/interface/models/user-application-file.model.d.ts +20 -0
- package/dist/types/interface/models/user-application-file.model.js +2 -0
- package/dist/types/interface/models/user-application-webhook-history.model.d.ts +16 -0
- package/dist/types/interface/models/user-application-webhook-history.model.js +2 -0
- package/dist/types/interface/models/user-application-webhook.model.d.ts +17 -0
- package/dist/types/interface/models/user-application-webhook.model.js +2 -0
- package/dist/types/interface/models/user-application.model.d.ts +15 -0
- package/dist/types/interface/models/user-application.model.js +2 -0
- package/dist/types/interface/models/user.model.d.ts +8 -0
- package/dist/types/interface/models/user.model.js +2 -0
- package/dist/types/models/index.d.ts +1 -0
- package/dist/types/models/index.js +17 -0
- package/dist/types/models/transfer.model.d.ts +36 -0
- package/dist/types/models/transfer.model.js +73 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +17 -0
- package/package.json +50 -0
- package/tsconfig.json +105 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PictureCollectionType = void 0;
|
|
4
|
+
var PictureCollectionType;
|
|
5
|
+
(function (PictureCollectionType) {
|
|
6
|
+
PictureCollectionType["PHOTO"] = "PHOTO";
|
|
7
|
+
})(PictureCollectionType = exports.PictureCollectionType || (exports.PictureCollectionType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreSignUrlType = void 0;
|
|
4
|
+
var PreSignUrlType;
|
|
5
|
+
(function (PreSignUrlType) {
|
|
6
|
+
PreSignUrlType[PreSignUrlType["DOWNLOAD"] = 1] = "DOWNLOAD";
|
|
7
|
+
PreSignUrlType[PreSignUrlType["UPLOAD"] = 2] = "UPLOAD";
|
|
8
|
+
PreSignUrlType[PreSignUrlType["WRITE"] = 3] = "WRITE";
|
|
9
|
+
})(PreSignUrlType = exports.PreSignUrlType || (exports.PreSignUrlType = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamMediaType = void 0;
|
|
4
|
+
var StreamMediaType;
|
|
5
|
+
(function (StreamMediaType) {
|
|
6
|
+
StreamMediaType["HLS"] = "HLS";
|
|
7
|
+
StreamMediaType["DASH"] = "DASH";
|
|
8
|
+
})(StreamMediaType = exports.StreamMediaType || (exports.StreamMediaType = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhookType = void 0;
|
|
4
|
+
var WebhookType;
|
|
5
|
+
(function (WebhookType) {
|
|
6
|
+
WebhookType["UPLOAD"] = "UPLOAD";
|
|
7
|
+
WebhookType["WRITE"] = "WRITE";
|
|
8
|
+
WebhookType["DELETE"] = "DELETE";
|
|
9
|
+
})(WebhookType = exports.WebhookType || (exports.WebhookType = {}));
|
|
@@ -0,0 +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("./interface"), exports);
|
|
18
|
+
__exportStar(require("./enum"), exports);
|
|
19
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './type-message/api-error';
|
|
2
|
+
export * from './type-message/response';
|
|
3
|
+
export * from './type-message/base-order';
|
|
4
|
+
export * from './type-message/base-paginate';
|
|
5
|
+
export * from './requests/application.request';
|
|
6
|
+
export * from './requests/application.admin.request';
|
|
7
|
+
export * from './requests/application-file.admin.request';
|
|
8
|
+
export * from './requests/application-file.request';
|
|
9
|
+
export * from './requests/application-webhook.request';
|
|
10
|
+
export * from './requests/application-webhook.admin.request';
|
|
11
|
+
export * from './requests/application-webhook-history.admin.request';
|
|
12
|
+
export * from './requests/application-webhook-history.request';
|
|
13
|
+
export * from './requests/application-file-thumbnail.admin.request';
|
|
14
|
+
export * from './requests/application-file-thumbnail.request';
|
|
15
|
+
export * from './requests/stream-media.admin.request';
|
|
16
|
+
export * from './requests/stream-media.request';
|
|
17
|
+
export * from './requests/storage.admin.request';
|
|
18
|
+
export * from './requests/collection.request';
|
|
19
|
+
export * from './responses/application.response';
|
|
20
|
+
export * from './responses/application.admin.response';
|
|
21
|
+
export * from './responses/application-file.admin.response';
|
|
22
|
+
export * from './responses/application-file.response';
|
|
23
|
+
export * from './responses/application-webhook.response';
|
|
24
|
+
export * from './responses/application-webhook.admin.response';
|
|
25
|
+
export * from './responses/application-webhook-history.admin.response';
|
|
26
|
+
export * from './responses/application-webhook-history.response';
|
|
27
|
+
export * from './responses/application-file-thumbnail.admin.response';
|
|
28
|
+
export * from './responses/application-file-thumbnail.response';
|
|
29
|
+
export * from './responses/stream-media.admin.response';
|
|
30
|
+
export * from './responses/stream-media.response';
|
|
31
|
+
export * from './responses/monitor.response';
|
|
32
|
+
export * from './responses/collection.response';
|
|
@@ -0,0 +1,48 @@
|
|
|
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("./type-message/api-error"), exports);
|
|
18
|
+
__exportStar(require("./type-message/response"), exports);
|
|
19
|
+
__exportStar(require("./type-message/base-order"), exports);
|
|
20
|
+
__exportStar(require("./type-message/base-paginate"), exports);
|
|
21
|
+
__exportStar(require("./requests/application.request"), exports);
|
|
22
|
+
__exportStar(require("./requests/application.admin.request"), exports);
|
|
23
|
+
__exportStar(require("./requests/application-file.admin.request"), exports);
|
|
24
|
+
__exportStar(require("./requests/application-file.request"), exports);
|
|
25
|
+
__exportStar(require("./requests/application-webhook.request"), exports);
|
|
26
|
+
__exportStar(require("./requests/application-webhook.admin.request"), exports);
|
|
27
|
+
__exportStar(require("./requests/application-webhook-history.admin.request"), exports);
|
|
28
|
+
__exportStar(require("./requests/application-webhook-history.request"), exports);
|
|
29
|
+
__exportStar(require("./requests/application-file-thumbnail.admin.request"), exports);
|
|
30
|
+
__exportStar(require("./requests/application-file-thumbnail.request"), exports);
|
|
31
|
+
__exportStar(require("./requests/stream-media.admin.request"), exports);
|
|
32
|
+
__exportStar(require("./requests/stream-media.request"), exports);
|
|
33
|
+
__exportStar(require("./requests/storage.admin.request"), exports);
|
|
34
|
+
__exportStar(require("./requests/collection.request"), exports);
|
|
35
|
+
__exportStar(require("./responses/application.response"), exports);
|
|
36
|
+
__exportStar(require("./responses/application.admin.response"), exports);
|
|
37
|
+
__exportStar(require("./responses/application-file.admin.response"), exports);
|
|
38
|
+
__exportStar(require("./responses/application-file.response"), exports);
|
|
39
|
+
__exportStar(require("./responses/application-webhook.response"), exports);
|
|
40
|
+
__exportStar(require("./responses/application-webhook.admin.response"), exports);
|
|
41
|
+
__exportStar(require("./responses/application-webhook-history.admin.response"), exports);
|
|
42
|
+
__exportStar(require("./responses/application-webhook-history.response"), exports);
|
|
43
|
+
__exportStar(require("./responses/application-file-thumbnail.admin.response"), exports);
|
|
44
|
+
__exportStar(require("./responses/application-file-thumbnail.response"), exports);
|
|
45
|
+
__exportStar(require("./responses/stream-media.admin.response"), exports);
|
|
46
|
+
__exportStar(require("./responses/stream-media.response"), exports);
|
|
47
|
+
__exportStar(require("./responses/monitor.response"), exports);
|
|
48
|
+
__exportStar(require("./responses/collection.response"), exports);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
export interface IDeleteAllApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
3
|
+
applicationFileId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IGetApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
6
|
+
applicationFileThumbnailId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IListApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
9
|
+
applicationFileId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IGenerateApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
12
|
+
applicationFileId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IGenerateApplicationFileThumbnailAdminBody {
|
|
15
|
+
resolution?: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
};
|
|
19
|
+
name?: string;
|
|
20
|
+
customPublicAccessId?: string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface IRegenerateApplicationFileThumbnailAdminBody {
|
|
23
|
+
applicationFileThumbnailId: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface IRegeneratePublicAccessApplicationFileThumbnailAdminBody {
|
|
26
|
+
applicationFileThumbnailId: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface IDeleteApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
29
|
+
applicationFileThumbnailId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IUpdateApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
32
|
+
applicationFileThumbnailId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IUpdateApplicationFileThumbnailAdminBody {
|
|
35
|
+
name?: string;
|
|
36
|
+
customPublicAccessId?: string | null;
|
|
37
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
export interface IDeleteAllApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
applicationFileId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
7
|
+
applicationId: string;
|
|
8
|
+
applicationFileThumbnailId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IListApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
11
|
+
applicationId: string;
|
|
12
|
+
applicationFileId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IGenerateApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
15
|
+
applicationId: string;
|
|
16
|
+
applicationFileId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IGenerateApplicationFileThumbnailBody {
|
|
19
|
+
resolution?: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
};
|
|
23
|
+
name?: string;
|
|
24
|
+
customPublicAccessId?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface IRegenerateApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
27
|
+
applicationId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IRegenerateApplicationFileThumbnailBody {
|
|
30
|
+
applicationFileThumbnailId: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface IRegeneratePublicAccessApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
33
|
+
applicationId: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IRegeneratePublicAccessApplicationFileThumbnailBody {
|
|
36
|
+
applicationFileThumbnailId: string[];
|
|
37
|
+
}
|
|
38
|
+
export interface IDeleteApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
39
|
+
applicationId: string;
|
|
40
|
+
applicationFileThumbnailId: string;
|
|
41
|
+
}
|
|
42
|
+
export interface IUpdateApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
43
|
+
applicationId: string;
|
|
44
|
+
applicationFileThumbnailId: string;
|
|
45
|
+
}
|
|
46
|
+
export interface IUpdateApplicationFileThumbnailBody {
|
|
47
|
+
name?: string;
|
|
48
|
+
customPublicAccessId?: string | null;
|
|
49
|
+
}
|
|
50
|
+
export interface IDownloadApplicationFileThumbnailParams {
|
|
51
|
+
applicationFileThumbnailPublicAccessId: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ICustomPublicAccessIdDownloadApplicationFileThumbnailParams {
|
|
54
|
+
applicationId: string;
|
|
55
|
+
applicationFileThumbnailCustomPublicAccessId: string;
|
|
56
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { Algorithm, PreSignUrlType } from '../../../enum';
|
|
3
|
+
import { ArchiveElement, QueryPaginate, ThumbnailPreSignUrlApplicationFileBody } from '../..';
|
|
4
|
+
export interface IDeleteApplicationFileAdminParams extends core.ParamsDictionary {
|
|
5
|
+
applicationFileId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IDeleteMultipleApplicationFileAdminBody {
|
|
8
|
+
applicationFileIds: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface IDuplicateApplicationFileAdminParams extends core.ParamsDictionary {
|
|
11
|
+
applicationFileId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IDuplicateApplicationFileAdminBody {
|
|
14
|
+
name: string;
|
|
15
|
+
customPublicAccessId?: string | null;
|
|
16
|
+
applicationId?: string;
|
|
17
|
+
tag?: string[];
|
|
18
|
+
bucket?: string;
|
|
19
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
20
|
+
publicAccessPassword?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IDuplicateMultipleApplicationFileAdminBody {
|
|
23
|
+
applicationFile: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
customPublicAccessId?: string | null;
|
|
27
|
+
tag?: string[];
|
|
28
|
+
bucket?: string;
|
|
29
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
30
|
+
publicAccessPassword?: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
export interface IGetApplicationFileAdminParams extends core.ParamsDictionary {
|
|
34
|
+
applicationFileId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IUpdateApplicationFileAdminParams extends core.ParamsDictionary {
|
|
37
|
+
applicationFileId: string;
|
|
38
|
+
}
|
|
39
|
+
export interface IUpdateApplicationFileAdminBody {
|
|
40
|
+
name?: string;
|
|
41
|
+
tag?: string[];
|
|
42
|
+
bucket?: string;
|
|
43
|
+
customPublicAccessId?: string | null;
|
|
44
|
+
}
|
|
45
|
+
export interface IEncryptApplicationFileAdminParams extends core.ParamsDictionary {
|
|
46
|
+
applicationFileId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IEncryptApplicationFileAdminBody extends core.ParamsDictionary {
|
|
49
|
+
algorithm: Algorithm;
|
|
50
|
+
password: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IDecryptApplicationFileAdminParams extends core.ParamsDictionary {
|
|
53
|
+
applicationFileId: string;
|
|
54
|
+
}
|
|
55
|
+
export interface IDecryptApplicationFileAdminBody extends core.ParamsDictionary {
|
|
56
|
+
password: string;
|
|
57
|
+
}
|
|
58
|
+
export type IGetPreSignUrlApplicationFileAdminBody = {
|
|
59
|
+
type: PreSignUrlType.UPLOAD;
|
|
60
|
+
fileName?: string;
|
|
61
|
+
maxApplicationFileSizeInOctet?: number;
|
|
62
|
+
customPublicAccessId?: string | null;
|
|
63
|
+
applicationId: string;
|
|
64
|
+
tag?: string[];
|
|
65
|
+
bucket?: string;
|
|
66
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
67
|
+
} | {
|
|
68
|
+
type: PreSignUrlType.WRITE;
|
|
69
|
+
maxApplicationFileSizeInOctet?: number;
|
|
70
|
+
applicationFileId?: string;
|
|
71
|
+
applicationId: string;
|
|
72
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
73
|
+
} | {
|
|
74
|
+
type: PreSignUrlType.DOWNLOAD;
|
|
75
|
+
applicationFileId?: string;
|
|
76
|
+
applicationId: string;
|
|
77
|
+
};
|
|
78
|
+
export type IPaginateApplicationFileAdminQuery = {
|
|
79
|
+
name?: string;
|
|
80
|
+
applicationId?: string[];
|
|
81
|
+
partialId?: string;
|
|
82
|
+
partialPublicAccessId?: string;
|
|
83
|
+
tag?: string[];
|
|
84
|
+
bucket?: string | null;
|
|
85
|
+
} & QueryPaginate;
|
|
86
|
+
export type IListBucketApplicationFileAdminQuery = {
|
|
87
|
+
applicationId: string;
|
|
88
|
+
bucket?: string | null;
|
|
89
|
+
};
|
|
90
|
+
export type IResetPublicAccessApplicationFileAdminParams = {
|
|
91
|
+
applicationFileId: string;
|
|
92
|
+
};
|
|
93
|
+
export type IUnsetPublicAccessApplicationFileAdminParams = {
|
|
94
|
+
applicationFileId: string;
|
|
95
|
+
};
|
|
96
|
+
export interface IExtractArchiveApplicationFileAdminParams extends core.ParamsDictionary {
|
|
97
|
+
applicationFileId: string;
|
|
98
|
+
}
|
|
99
|
+
export interface IExtractArchiveApplicationFileAdminQuery {
|
|
100
|
+
should_delete_original_file?: boolean;
|
|
101
|
+
}
|
|
102
|
+
export interface ICompressArchiveApplicationFileAdminParams extends core.ParamsDictionary {
|
|
103
|
+
applicationId: string;
|
|
104
|
+
}
|
|
105
|
+
export interface ICompressArchiveApplicationFileAdminBody {
|
|
106
|
+
archive: ArchiveElement;
|
|
107
|
+
name: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ICompressArchiveApplicationFileAdminQuery {
|
|
110
|
+
should_delete_original_file?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface IDeleteBucketApplicationFileAdminBody {
|
|
113
|
+
applicationId: string;
|
|
114
|
+
bucket: string;
|
|
115
|
+
}
|
|
116
|
+
export interface IRenameBucketApplicationFileAdminBody {
|
|
117
|
+
applicationId: string;
|
|
118
|
+
bucket: string;
|
|
119
|
+
newBucket: string;
|
|
120
|
+
}
|
|
121
|
+
export interface IUpdateBucketApplicationFileAdminBody {
|
|
122
|
+
applicationId: string;
|
|
123
|
+
bucket: string;
|
|
124
|
+
applicationFileIds: string[];
|
|
125
|
+
}
|
|
126
|
+
export interface IExtractMetadataApplicationFileAdminParams extends core.ParamsDictionary {
|
|
127
|
+
applicationFileId: string;
|
|
128
|
+
}
|
|
129
|
+
export interface ISaveFreepikApplicationFileAdminParams extends core.ParamsDictionary {
|
|
130
|
+
applicationId: string;
|
|
131
|
+
resourceId: string;
|
|
132
|
+
}
|
|
133
|
+
export interface ISaveFreepikApplicationFileAdminBody {
|
|
134
|
+
name?: string;
|
|
135
|
+
shouldGeneratePublicAccess?: boolean;
|
|
136
|
+
customPublicAccessId?: string | null;
|
|
137
|
+
publicAccessPassword?: string;
|
|
138
|
+
tag?: string[];
|
|
139
|
+
bucket?: string;
|
|
140
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
141
|
+
}
|
|
142
|
+
export interface IOcrReceiptApplicationFileAdminParams extends core.ParamsDictionary {
|
|
143
|
+
applicationFileId: string;
|
|
144
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { Algorithm, PreSignUrlType } from '../../../enum';
|
|
3
|
+
import { ArchiveElement } from '../../dto';
|
|
4
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
5
|
+
export interface IUploadApplicationFileParams extends core.ParamsDictionary {
|
|
6
|
+
token: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IUploadApplicationFileQuery {
|
|
9
|
+
should_skip_await_webhook_delivery?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IDownloadApplicationFileParams extends core.ParamsDictionary {
|
|
12
|
+
token: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IDownloadWithPublicAccessIdApplicationFileParams extends core.ParamsDictionary {
|
|
15
|
+
publicAccessId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IWriteApplicationFileParams extends core.ParamsDictionary {
|
|
18
|
+
token: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IWriteApplicationFileQuery {
|
|
21
|
+
should_skip_await_webhook_delivery?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface IDeleteApplicationFileParams extends core.ParamsDictionary {
|
|
24
|
+
applicationId: string;
|
|
25
|
+
applicationFileId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IDeleteMultipleApplicationFileParams extends core.ParamsDictionary {
|
|
28
|
+
applicationId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IDeleteMultipleApplicationFileBody {
|
|
31
|
+
applicationFileIds: string[];
|
|
32
|
+
}
|
|
33
|
+
export interface IDuplicateApplicationFileParams extends core.ParamsDictionary {
|
|
34
|
+
applicationId: string;
|
|
35
|
+
applicationFileId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IDuplicateApplicationFileBody {
|
|
38
|
+
name: string;
|
|
39
|
+
tag?: string[];
|
|
40
|
+
bucket?: string;
|
|
41
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
42
|
+
customPublicAccessId?: string | null;
|
|
43
|
+
publicAccessPassword?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IDuplicateMultipleApplicationFileParams extends core.ParamsDictionary {
|
|
46
|
+
applicationId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IDuplicateMultipleApplicationFileBody {
|
|
49
|
+
applicationFile: {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
tag?: string[];
|
|
53
|
+
bucket?: string;
|
|
54
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
55
|
+
customPublicAccessId?: string | null;
|
|
56
|
+
publicAccessPassword?: string;
|
|
57
|
+
}[];
|
|
58
|
+
}
|
|
59
|
+
export interface IGetApplicationFileParams extends core.ParamsDictionary {
|
|
60
|
+
applicationId: string;
|
|
61
|
+
applicationFileId: string;
|
|
62
|
+
}
|
|
63
|
+
export interface IUpdateApplicationFileParams extends core.ParamsDictionary {
|
|
64
|
+
applicationId: string;
|
|
65
|
+
applicationFileId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface IUpdateApplicationFileBody {
|
|
68
|
+
name?: string;
|
|
69
|
+
customPublicAccessId?: string | null;
|
|
70
|
+
publicAccessPassword?: string | null;
|
|
71
|
+
tag?: string[];
|
|
72
|
+
bucket?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface IEncryptApplicationFileParams extends core.ParamsDictionary {
|
|
75
|
+
applicationId: string;
|
|
76
|
+
applicationFileId: string;
|
|
77
|
+
}
|
|
78
|
+
export interface IEncryptApplicationFileBody {
|
|
79
|
+
algorithm: Algorithm;
|
|
80
|
+
password: string;
|
|
81
|
+
}
|
|
82
|
+
export interface IDecryptApplicationFileParams extends core.ParamsDictionary {
|
|
83
|
+
applicationId: string;
|
|
84
|
+
applicationFileId: string;
|
|
85
|
+
}
|
|
86
|
+
export interface IDecryptApplicationFileBody {
|
|
87
|
+
password: string;
|
|
88
|
+
}
|
|
89
|
+
export interface ResolutionPreSignUrlApplicationFileBody {
|
|
90
|
+
x: number;
|
|
91
|
+
y: number;
|
|
92
|
+
}
|
|
93
|
+
export interface ThumbnailPreSignUrlApplicationFileBody {
|
|
94
|
+
shouldNotGenerate?: boolean;
|
|
95
|
+
resolution?: ResolutionPreSignUrlApplicationFileBody;
|
|
96
|
+
customPublicAccessId?: string | null;
|
|
97
|
+
}
|
|
98
|
+
export interface IGetPreSignUrlApplicationFileParams extends core.ParamsDictionary {
|
|
99
|
+
applicationId: string;
|
|
100
|
+
}
|
|
101
|
+
export type IUploadGetPreSignUrlApplicationFileBody = {
|
|
102
|
+
type: PreSignUrlType.UPLOAD;
|
|
103
|
+
throttleInOctet?: number;
|
|
104
|
+
fileName: string;
|
|
105
|
+
maxApplicationFileSizeInOctet?: number;
|
|
106
|
+
data?: Record<string, unknown>;
|
|
107
|
+
shouldGeneratePublicAccess?: boolean;
|
|
108
|
+
customPublicAccessId?: string | null;
|
|
109
|
+
publicAccessPassword?: string;
|
|
110
|
+
tag?: string[];
|
|
111
|
+
bucket?: string;
|
|
112
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
113
|
+
};
|
|
114
|
+
export type IWriteGetPreSignUrlApplicationFileBody = {
|
|
115
|
+
type: PreSignUrlType.WRITE;
|
|
116
|
+
throttleInOctet?: number;
|
|
117
|
+
maxApplicationFileSizeInOctet?: number;
|
|
118
|
+
applicationFileId: string;
|
|
119
|
+
data?: Record<string, unknown>;
|
|
120
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
121
|
+
};
|
|
122
|
+
export type IDownloadGetPreSignUrlApplicationFileBody = {
|
|
123
|
+
type: PreSignUrlType.DOWNLOAD;
|
|
124
|
+
throttleInOctet?: number;
|
|
125
|
+
applicationFileId?: string;
|
|
126
|
+
archive?: ArchiveElement;
|
|
127
|
+
data?: Record<string, unknown>;
|
|
128
|
+
};
|
|
129
|
+
export type IGetPreSignUrlApplicationFileBody = IUploadGetPreSignUrlApplicationFileBody | IWriteGetPreSignUrlApplicationFileBody | IDownloadGetPreSignUrlApplicationFileBody;
|
|
130
|
+
export type IPaginateApplicationFileParams = {
|
|
131
|
+
applicationId: string;
|
|
132
|
+
};
|
|
133
|
+
export type IPaginateApplicationFileQuery = {
|
|
134
|
+
name?: string;
|
|
135
|
+
partialId?: string;
|
|
136
|
+
partialPublicAccessId?: string;
|
|
137
|
+
tag?: string[];
|
|
138
|
+
bucket?: string | null;
|
|
139
|
+
customPublicAccessId?: string | null;
|
|
140
|
+
partialCustomPublicAccessId?: string;
|
|
141
|
+
} & QueryPaginate;
|
|
142
|
+
export type IListBucketApplicationFileParams = {
|
|
143
|
+
applicationId: string;
|
|
144
|
+
};
|
|
145
|
+
export type IListBucketApplicationFileQuery = {
|
|
146
|
+
bucket?: string | null;
|
|
147
|
+
};
|
|
148
|
+
export type IResetPublicAccessApplicationFileParams = {
|
|
149
|
+
applicationId: string;
|
|
150
|
+
applicationFileId: string;
|
|
151
|
+
};
|
|
152
|
+
export type IUnsetPublicAccessApplicationFileParams = {
|
|
153
|
+
applicationId: string;
|
|
154
|
+
applicationFileId: string;
|
|
155
|
+
};
|
|
156
|
+
export interface IExtractArchiveApplicationFileParams extends core.ParamsDictionary {
|
|
157
|
+
applicationId: string;
|
|
158
|
+
applicationFileId: string;
|
|
159
|
+
}
|
|
160
|
+
export interface IExtractArchiveApplicationFileQuery {
|
|
161
|
+
should_delete_original_file?: boolean;
|
|
162
|
+
}
|
|
163
|
+
export interface ICompressArchiveApplicationFileParams extends core.ParamsDictionary {
|
|
164
|
+
applicationId: string;
|
|
165
|
+
}
|
|
166
|
+
export interface ICompressArchiveApplicationFileBody {
|
|
167
|
+
archive: ArchiveElement;
|
|
168
|
+
name: string;
|
|
169
|
+
}
|
|
170
|
+
export interface ICompressArchiveApplicationFileQuery {
|
|
171
|
+
should_delete_original_file?: boolean;
|
|
172
|
+
}
|
|
173
|
+
export interface IDeleteBucketApplicationFileParams extends core.ParamsDictionary {
|
|
174
|
+
applicationId: string;
|
|
175
|
+
}
|
|
176
|
+
export interface IDeleteBucketApplicationFileBody {
|
|
177
|
+
bucket: string;
|
|
178
|
+
}
|
|
179
|
+
export interface IRenameBucketApplicationFileParams extends core.ParamsDictionary {
|
|
180
|
+
applicationId: string;
|
|
181
|
+
}
|
|
182
|
+
export interface IRenameBucketApplicationFileBody {
|
|
183
|
+
bucket: string;
|
|
184
|
+
newBucket: string;
|
|
185
|
+
}
|
|
186
|
+
export interface IUpdateBucketApplicationFileParams extends core.ParamsDictionary {
|
|
187
|
+
applicationId: string;
|
|
188
|
+
}
|
|
189
|
+
export interface IUpdateBucketApplicationFileBody {
|
|
190
|
+
bucket: string;
|
|
191
|
+
applicationFileIds: string[];
|
|
192
|
+
}
|
|
193
|
+
export interface ICustomPublicAccessDownloadIdApplicationFileParams extends core.ParamsDictionary {
|
|
194
|
+
applicationId: string;
|
|
195
|
+
applicationFileCustomPublicAccessId: string;
|
|
196
|
+
}
|
|
197
|
+
export interface IExtractMetadataApplicationFileParams extends core.ParamsDictionary {
|
|
198
|
+
applicationId: string;
|
|
199
|
+
applicationFileId: string;
|
|
200
|
+
}
|
|
201
|
+
export interface IUploadFromUrlApplicationFileParams extends core.ParamsDictionary {
|
|
202
|
+
applicationId: string;
|
|
203
|
+
}
|
|
204
|
+
export interface IUploadFromUrlApplicationFileBody {
|
|
205
|
+
name: string;
|
|
206
|
+
url: string;
|
|
207
|
+
shouldGeneratePublicAccess?: boolean;
|
|
208
|
+
customPublicAccessId?: string | null;
|
|
209
|
+
publicAccessPassword?: string;
|
|
210
|
+
tag?: string[];
|
|
211
|
+
bucket?: string;
|
|
212
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
213
|
+
maxSizeOctet?: number;
|
|
214
|
+
}
|
|
215
|
+
export interface ISaveFreepikApplicationFileParams extends core.ParamsDictionary {
|
|
216
|
+
applicationId: string;
|
|
217
|
+
resourceId: string;
|
|
218
|
+
}
|
|
219
|
+
export interface ISaveFreepikApplicationFileBody {
|
|
220
|
+
name?: string;
|
|
221
|
+
shouldGeneratePublicAccess?: boolean;
|
|
222
|
+
customPublicAccessId?: string | null;
|
|
223
|
+
publicAccessPassword?: string;
|
|
224
|
+
tag?: string[];
|
|
225
|
+
bucket?: string;
|
|
226
|
+
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
227
|
+
maxSizeOctet?: number;
|
|
228
|
+
}
|