@abyss-project/cloud 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api/abyss.admin.api.d.ts +2 -0
- package/dist/api/abyss.admin.api.js +8 -0
- package/dist/api/cloud-activity.admin.api.d.ts +3 -0
- package/dist/api/cloud-activity.admin.api.js +12 -0
- package/dist/api/cloud-activity.api.d.ts +3 -0
- package/dist/api/cloud-activity.api.js +12 -0
- package/dist/api/cloud-public-access.admin.api.d.ts +8 -0
- package/dist/api/cloud-public-access.admin.api.js +32 -0
- package/dist/api/cloud-public-access.api.d.ts +10 -0
- package/dist/api/cloud-public-access.api.js +40 -0
- package/dist/api/cloud-public-share.admin.api.d.ts +8 -0
- package/dist/api/cloud-public-share.admin.api.js +32 -0
- package/dist/api/cloud-public-share.api.d.ts +10 -0
- package/dist/api/cloud-public-share.api.js +40 -0
- package/dist/api/cloud-share.admin.api.d.ts +10 -0
- package/dist/api/cloud-share.admin.api.js +42 -0
- package/dist/api/cloud-share.api.d.ts +11 -0
- package/dist/api/cloud-share.api.js +46 -0
- package/dist/api/cloud-tag.api.d.ts +9 -0
- package/dist/api/cloud-tag.api.js +36 -0
- package/dist/api/cloud.admin.api.d.ts +9 -0
- package/dist/api/cloud.admin.api.js +39 -0
- package/dist/api/cloud.api.d.ts +9 -0
- package/dist/api/cloud.api.js +40 -0
- package/dist/api/config-profile.admin.api.d.ts +9 -0
- package/dist/api/config-profile.admin.api.js +36 -0
- package/dist/api/config.admin.api.d.ts +5 -0
- package/dist/api/config.admin.api.js +22 -0
- package/dist/api/file-version.api.d.ts +5 -0
- package/dist/api/file-version.api.js +20 -0
- package/dist/api/file.api.d.ts +16 -0
- package/dist/api/file.api.js +66 -0
- package/dist/api/folder.api.d.ts +10 -0
- package/dist/api/folder.api.js +40 -0
- package/dist/api/gallery.admin.api.d.ts +8 -0
- package/dist/api/gallery.admin.api.js +34 -0
- package/dist/api/gallery.api.d.ts +11 -0
- package/dist/api/gallery.api.js +47 -0
- package/dist/api/index.d.ts +21 -0
- package/dist/api/index.js +33 -0
- package/dist/api/invoice-article.admin.api.d.ts +6 -0
- package/dist/api/invoice-article.admin.api.js +24 -0
- package/dist/api/invoice-article.api.d.ts +3 -0
- package/dist/api/invoice-article.api.js +14 -0
- package/dist/api/invoice-promotion-code.admin.api.d.ts +6 -0
- package/dist/api/invoice-promotion-code.admin.api.js +24 -0
- package/dist/api/invoice-promotion-code.api.d.ts +2 -0
- package/dist/api/invoice-promotion-code.api.js +8 -0
- package/dist/api/invoice.admin.api.d.ts +4 -0
- package/dist/api/invoice.admin.api.js +18 -0
- package/dist/api/invoice.api.d.ts +4 -0
- package/dist/api/invoice.api.js +18 -0
- package/dist/api/logger.api.d.ts +3 -0
- package/dist/api/logger.api.js +14 -0
- package/dist/api/media-group-category.admin.api.d.ts +5 -0
- package/dist/api/media-group-category.admin.api.js +20 -0
- package/dist/api/media-group-category.api.d.ts +2 -0
- package/dist/api/media-group-category.api.js +8 -0
- package/dist/api/media-group.admin.api.d.ts +8 -0
- package/dist/api/media-group.admin.api.js +34 -0
- package/dist/api/media-group.api.d.ts +4 -0
- package/dist/api/media-group.api.js +20 -0
- package/dist/api/media-season.admin.api.d.ts +6 -0
- package/dist/api/media-season.admin.api.js +24 -0
- package/dist/api/media-season.api.d.ts +3 -0
- package/dist/api/media-season.api.js +12 -0
- package/dist/api/media.admin.api.d.ts +6 -0
- package/dist/api/media.admin.api.js +27 -0
- package/dist/api/media.api.d.ts +3 -0
- package/dist/api/media.api.js +14 -0
- package/dist/api/monitor.api.d.ts +2 -0
- package/dist/api/monitor.api.js +8 -0
- package/dist/api/storage.admin.api.d.ts +2 -0
- package/dist/api/storage.admin.api.js +8 -0
- package/dist/api/user.admin.api.d.ts +7 -0
- package/dist/api/user.admin.api.js +31 -0
- package/dist/api/user.api.d.ts +4 -0
- package/dist/api/user.api.js +16 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +84 -0
- package/dist/types/enum/api-error.enum.d.ts +34 -0
- package/dist/types/enum/api-error.enum.js +39 -0
- package/dist/types/enum/cloud-activity-action.enum.d.ts +97 -0
- package/dist/types/enum/cloud-activity-action.enum.js +28 -0
- package/dist/types/enum/cloud-public-access-type.enum.d.ts +3 -0
- package/dist/types/enum/cloud-public-access-type.enum.js +7 -0
- package/dist/types/enum/config-name.enum.d.ts +5 -0
- package/dist/types/enum/config-name.enum.js +9 -0
- package/dist/types/enum/index.d.ts +3 -0
- package/dist/types/enum/index.js +15 -0
- package/dist/types/enum/invoice-article-type.enum.d.ts +3 -0
- package/dist/types/enum/invoice-article-type.enum.js +7 -0
- package/dist/types/enum/log-type.enum.d.ts +10 -0
- package/dist/types/enum/log-type.enum.js +14 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +15 -0
- package/dist/types/interface/api/index.d.ts +44 -0
- package/dist/types/interface/api/index.js +56 -0
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +3 -0
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-activity.admin.request.d.ts +10 -0
- package/dist/types/interface/api/requests/cloud-activity.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-activity.request.d.ts +13 -0
- package/dist/types/interface/api/requests/cloud-activity.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-public-access.admin.request.d.ts +31 -0
- package/dist/types/interface/api/requests/cloud-public-access.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-public-access.request.d.ts +54 -0
- package/dist/types/interface/api/requests/cloud-public-access.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-public-share.admin.request.d.ts +36 -0
- package/dist/types/interface/api/requests/cloud-public-share.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-public-share.request.d.ts +50 -0
- package/dist/types/interface/api/requests/cloud-public-share.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-share.admin.request.d.ts +39 -0
- package/dist/types/interface/api/requests/cloud-share.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-share.request.d.ts +41 -0
- package/dist/types/interface/api/requests/cloud-share.request.js +2 -0
- package/dist/types/interface/api/requests/cloud-tag.request.d.ts +53 -0
- package/dist/types/interface/api/requests/cloud-tag.request.js +2 -0
- package/dist/types/interface/api/requests/cloud.admin.request.d.ts +38 -0
- package/dist/types/interface/api/requests/cloud.admin.request.js +2 -0
- package/dist/types/interface/api/requests/cloud.request.d.ts +30 -0
- package/dist/types/interface/api/requests/cloud.request.js +2 -0
- package/dist/types/interface/api/requests/config-profile.admin.request.d.ts +46 -0
- package/dist/types/interface/api/requests/config-profile.admin.request.js +2 -0
- package/dist/types/interface/api/requests/config.admin.request.d.ts +25 -0
- package/dist/types/interface/api/requests/config.admin.request.js +2 -0
- package/dist/types/interface/api/requests/file-version.request.d.ts +28 -0
- package/dist/types/interface/api/requests/file-version.request.js +2 -0
- package/dist/types/interface/api/requests/file.request.d.ts +97 -0
- package/dist/types/interface/api/requests/file.request.js +2 -0
- package/dist/types/interface/api/requests/folder.request.d.ts +62 -0
- package/dist/types/interface/api/requests/folder.request.js +2 -0
- package/dist/types/interface/api/requests/gallery.admin.request.d.ts +31 -0
- package/dist/types/interface/api/requests/gallery.admin.request.js +2 -0
- package/dist/types/interface/api/requests/gallery.request.d.ts +42 -0
- package/dist/types/interface/api/requests/gallery.request.js +2 -0
- package/dist/types/interface/api/requests/invoice-article.admin.request.d.ts +33 -0
- package/dist/types/interface/api/requests/invoice-article.admin.request.js +2 -0
- package/dist/types/interface/api/requests/invoice-article.request.d.ts +10 -0
- package/dist/types/interface/api/requests/invoice-article.request.js +2 -0
- package/dist/types/interface/api/requests/invoice-promotion-code.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/invoice-promotion-code.admin.request.js +2 -0
- package/dist/types/interface/api/requests/invoice-promotion-code.request.d.ts +4 -0
- package/dist/types/interface/api/requests/invoice-promotion-code.request.js +2 -0
- package/dist/types/interface/api/requests/invoice.admin.request.d.ts +15 -0
- package/dist/types/interface/api/requests/invoice.admin.request.js +2 -0
- package/dist/types/interface/api/requests/invoice.request.d.ts +13 -0
- package/dist/types/interface/api/requests/invoice.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/media-group-category.admin.request.d.ts +17 -0
- package/dist/types/interface/api/requests/media-group-category.admin.request.js +2 -0
- package/dist/types/interface/api/requests/media-group-category.request.d.ts +4 -0
- package/dist/types/interface/api/requests/media-group-category.request.js +2 -0
- package/dist/types/interface/api/requests/media-group.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/media-group.admin.request.js +2 -0
- package/dist/types/interface/api/requests/media-group.request.d.ts +21 -0
- package/dist/types/interface/api/requests/media-group.request.js +2 -0
- package/dist/types/interface/api/requests/media-season.admin.request.d.ts +31 -0
- package/dist/types/interface/api/requests/media-season.admin.request.js +2 -0
- package/dist/types/interface/api/requests/media-season.request.d.ts +12 -0
- package/dist/types/interface/api/requests/media-season.request.js +2 -0
- package/dist/types/interface/api/requests/media.admin.request.d.ts +35 -0
- package/dist/types/interface/api/requests/media.admin.request.js +2 -0
- package/dist/types/interface/api/requests/media.request.d.ts +10 -0
- package/dist/types/interface/api/requests/media.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/user.admin.request.d.ts +23 -0
- package/dist/types/interface/api/requests/user.admin.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +4 -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/cloud-activity.admin.response.d.ts +7 -0
- package/dist/types/interface/api/responses/cloud-activity.admin.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-activity.response.d.ts +7 -0
- package/dist/types/interface/api/responses/cloud-activity.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-public-access.admin.response.d.ts +26 -0
- package/dist/types/interface/api/responses/cloud-public-access.admin.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-public-access.response.d.ts +38 -0
- package/dist/types/interface/api/responses/cloud-public-access.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-public-share.admin.response.d.ts +27 -0
- package/dist/types/interface/api/responses/cloud-public-share.admin.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-public-share.response.d.ts +35 -0
- package/dist/types/interface/api/responses/cloud-public-share.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-share.admin.response.d.ts +31 -0
- package/dist/types/interface/api/responses/cloud-share.admin.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-share.response.d.ts +34 -0
- package/dist/types/interface/api/responses/cloud-share.response.js +2 -0
- package/dist/types/interface/api/responses/cloud-tag.response.d.ts +35 -0
- package/dist/types/interface/api/responses/cloud-tag.response.js +2 -0
- package/dist/types/interface/api/responses/cloud.admin.response.d.ts +34 -0
- package/dist/types/interface/api/responses/cloud.admin.response.js +2 -0
- package/dist/types/interface/api/responses/cloud.response.d.ts +34 -0
- package/dist/types/interface/api/responses/cloud.response.js +2 -0
- package/dist/types/interface/api/responses/config-profile.admin.response.d.ts +29 -0
- package/dist/types/interface/api/responses/config-profile.admin.response.js +2 -0
- package/dist/types/interface/api/responses/config.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/config.admin.response.js +2 -0
- package/dist/types/interface/api/responses/file-version.response.d.ts +14 -0
- package/dist/types/interface/api/responses/file-version.response.js +2 -0
- package/dist/types/interface/api/responses/file.response.d.ts +62 -0
- package/dist/types/interface/api/responses/file.response.js +2 -0
- package/dist/types/interface/api/responses/folder.response.d.ts +34 -0
- package/dist/types/interface/api/responses/folder.response.js +2 -0
- package/dist/types/interface/api/responses/gallery.admin.response.d.ts +29 -0
- package/dist/types/interface/api/responses/gallery.admin.response.js +2 -0
- package/dist/types/interface/api/responses/gallery.response.d.ts +49 -0
- package/dist/types/interface/api/responses/gallery.response.js +2 -0
- package/dist/types/interface/api/responses/invoice-article.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/invoice-article.admin.response.js +2 -0
- package/dist/types/interface/api/responses/invoice-article.response.d.ts +8 -0
- package/dist/types/interface/api/responses/invoice-article.response.js +2 -0
- package/dist/types/interface/api/responses/invoice-promotion-code.admin.response.d.ts +19 -0
- package/dist/types/interface/api/responses/invoice-promotion-code.admin.response.js +2 -0
- package/dist/types/interface/api/responses/invoice-promotion-code.response.d.ts +6 -0
- package/dist/types/interface/api/responses/invoice-promotion-code.response.js +2 -0
- package/dist/types/interface/api/responses/invoice.admin.response.d.ts +12 -0
- package/dist/types/interface/api/responses/invoice.admin.response.js +2 -0
- package/dist/types/interface/api/responses/invoice.response.d.ts +12 -0
- package/dist/types/interface/api/responses/invoice.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/media-group-category.admin.response.d.ts +14 -0
- package/dist/types/interface/api/responses/media-group-category.admin.response.js +2 -0
- package/dist/types/interface/api/responses/media-group-category.response.d.ts +3 -0
- package/dist/types/interface/api/responses/media-group-category.response.js +2 -0
- package/dist/types/interface/api/responses/media-group.admin.response.d.ts +26 -0
- package/dist/types/interface/api/responses/media-group.admin.response.js +2 -0
- package/dist/types/interface/api/responses/media-group.response.d.ts +10 -0
- package/dist/types/interface/api/responses/media-group.response.js +2 -0
- package/dist/types/interface/api/responses/media-season.admin.response.d.ts +18 -0
- package/dist/types/interface/api/responses/media-season.admin.response.js +2 -0
- package/dist/types/interface/api/responses/media-season.response.d.ts +18 -0
- package/dist/types/interface/api/responses/media-season.response.js +2 -0
- package/dist/types/interface/api/responses/media.admin.response.d.ts +18 -0
- package/dist/types/interface/api/responses/media.admin.response.js +2 -0
- package/dist/types/interface/api/responses/media.response.d.ts +8 -0
- package/dist/types/interface/api/responses/media.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/storage.admin.response.d.ts +3 -0
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -0
- package/dist/types/interface/api/responses/user.admin.response.d.ts +26 -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/index.d.ts +14 -0
- package/dist/types/interface/index.js +26 -0
- package/dist/types/interface/models/cloud-activity.dto.d.ts +14 -0
- package/dist/types/interface/models/cloud-activity.dto.js +2 -0
- package/dist/types/interface/models/cloud-public-access.dto.d.ts +16 -0
- package/dist/types/interface/models/cloud-public-access.dto.js +2 -0
- package/dist/types/interface/models/cloud-public-share.dto.d.ts +19 -0
- package/dist/types/interface/models/cloud-public-share.dto.js +2 -0
- package/dist/types/interface/models/cloud-share.dto.d.ts +15 -0
- package/dist/types/interface/models/cloud-share.dto.js +2 -0
- package/dist/types/interface/models/cloud-tag-third-party.dto.d.ts +12 -0
- package/dist/types/interface/models/cloud-tag-third-party.dto.js +2 -0
- package/dist/types/interface/models/cloud-tag.dto.d.ts +13 -0
- package/dist/types/interface/models/cloud-tag.dto.js +2 -0
- package/dist/types/interface/models/cloud.dto.d.ts +17 -0
- package/dist/types/interface/models/cloud.dto.js +2 -0
- package/dist/types/interface/models/config-profile.dto.d.ts +10 -0
- package/dist/types/interface/models/config-profile.dto.js +2 -0
- package/dist/types/interface/models/config.dto.d.ts +14 -0
- package/dist/types/interface/models/config.dto.js +2 -0
- package/dist/types/interface/models/file-version.dto.d.ts +14 -0
- package/dist/types/interface/models/file-version.dto.js +2 -0
- package/dist/types/interface/models/file.dto.d.ts +26 -0
- package/dist/types/interface/models/file.dto.js +2 -0
- package/dist/types/interface/models/folder.dto.d.ts +21 -0
- package/dist/types/interface/models/folder.dto.js +2 -0
- package/dist/types/interface/models/gallery-element.dto.d.ts +10 -0
- package/dist/types/interface/models/gallery-element.dto.js +2 -0
- package/dist/types/interface/models/gallery.dto.d.ts +13 -0
- package/dist/types/interface/models/gallery.dto.js +2 -0
- package/dist/types/interface/models/invoice-article.dto.d.ts +14 -0
- package/dist/types/interface/models/invoice-article.dto.js +2 -0
- package/dist/types/interface/models/invoice-promotion-code.dto.d.ts +14 -0
- package/dist/types/interface/models/invoice-promotion-code.dto.js +2 -0
- package/dist/types/interface/models/invoice.dto.d.ts +16 -0
- package/dist/types/interface/models/invoice.dto.js +2 -0
- package/dist/types/interface/models/log-console.dto.d.ts +16 -0
- package/dist/types/interface/models/log-console.dto.js +2 -0
- package/dist/types/interface/models/log-endpoint.dto.d.ts +22 -0
- package/dist/types/interface/models/log-endpoint.dto.js +2 -0
- package/dist/types/interface/models/media-group-category.dto.d.ts +8 -0
- package/dist/types/interface/models/media-group-category.dto.js +2 -0
- package/dist/types/interface/models/media-group-like.dto.d.ts +12 -0
- package/dist/types/interface/models/media-group-like.dto.js +2 -0
- package/dist/types/interface/models/media-group-media-group-category.dto.d.ts +10 -0
- package/dist/types/interface/models/media-group-media-group-category.dto.js +2 -0
- package/dist/types/interface/models/media-group.dto.d.ts +18 -0
- package/dist/types/interface/models/media-group.dto.js +2 -0
- package/dist/types/interface/models/media-season.dto.d.ts +12 -0
- package/dist/types/interface/models/media-season.dto.js +2 -0
- package/dist/types/interface/models/media.dto.d.ts +17 -0
- package/dist/types/interface/models/media.dto.js +2 -0
- package/dist/types/interface/models/public-share.dto.d.ts +17 -0
- package/dist/types/interface/models/public-share.dto.js +2 -0
- package/dist/types/interface/models/user-config-profile.dto.d.ts +12 -0
- package/dist/types/interface/models/user-config-profile.dto.js +2 -0
- package/dist/types/interface/models/user-media-track.dto.d.ts +16 -0
- package/dist/types/interface/models/user-media-track.dto.js +2 -0
- package/dist/types/interface/models/user-subscription.dto.d.ts +13 -0
- package/dist/types/interface/models/user-subscription.dto.js +2 -0
- package/dist/types/interface/models/user.dto.d.ts +12 -0
- package/dist/types/interface/models/user.dto.js +2 -0
- package/dist/types/others.d.ts +14 -0
- package/dist/types/others.js +2 -0
- package/dist/utils/clean.utils.d.ts +2 -0
- package/dist/utils/clean.utils.js +15 -0
- package/dist/utils/cloud.utils.d.ts +2 -0
- package/dist/utils/cloud.utils.js +11 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +15 -0
- package/package.json +58 -0
- package/tsconfig.json +105 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IUpdateFileVersionParams extends core.ParamsDictionary {
|
|
4
|
+
cloudId: string;
|
|
5
|
+
fileId: string;
|
|
6
|
+
fileVersionId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IUpdateFileVersionBody {
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IActivateFileVersionParams extends core.ParamsDictionary {
|
|
13
|
+
cloudId: string;
|
|
14
|
+
fileId: string;
|
|
15
|
+
fileVersionId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IDeleteFileVersionParams extends core.ParamsDictionary {
|
|
18
|
+
cloudId: string;
|
|
19
|
+
fileId: string;
|
|
20
|
+
fileVersionId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IPaginateFileVersionParams extends core.ParamsDictionary {
|
|
23
|
+
cloudId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare type IPaginateFileVersionQuery = {
|
|
26
|
+
name?: string;
|
|
27
|
+
fileId?: string[];
|
|
28
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { FileIdWithVersionId } from '../../../others';
|
|
3
|
+
import { QueryPaginate } from '..';
|
|
4
|
+
export interface ICreateFileParams extends core.ParamsDictionary {
|
|
5
|
+
cloudId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ICreateFileBody {
|
|
8
|
+
folderId: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IDeleteFileParams extends core.ParamsDictionary {
|
|
12
|
+
cloudId: string;
|
|
13
|
+
fileId: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type IDeleteFileQuery = {
|
|
16
|
+
force?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export interface IRestoreFileParams extends core.ParamsDictionary {
|
|
19
|
+
cloudId: string;
|
|
20
|
+
fileId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IGetFileParams extends core.ParamsDictionary {
|
|
23
|
+
cloudId: string;
|
|
24
|
+
fileId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IPaginateFileParams extends core.ParamsDictionary {
|
|
27
|
+
cloudId: string;
|
|
28
|
+
}
|
|
29
|
+
export declare type IPaginateFileQuery = QueryPaginate & {
|
|
30
|
+
name?: string;
|
|
31
|
+
deleted?: boolean;
|
|
32
|
+
};
|
|
33
|
+
export interface IUpdateFileParams extends core.ParamsDictionary {
|
|
34
|
+
cloudId: string;
|
|
35
|
+
fileId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IUpdateFileBody {
|
|
38
|
+
name?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
saveVersion?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface IRegenerateThumbnailFileParams extends core.ParamsDictionary {
|
|
43
|
+
cloudId: string;
|
|
44
|
+
fileId: string;
|
|
45
|
+
}
|
|
46
|
+
export interface IMoveFileParams extends core.ParamsDictionary {
|
|
47
|
+
cloudId: string;
|
|
48
|
+
fileId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface IMoveFileBody {
|
|
51
|
+
folderId: string | null;
|
|
52
|
+
}
|
|
53
|
+
export interface ICopyFileParams extends core.ParamsDictionary {
|
|
54
|
+
cloudId: string;
|
|
55
|
+
fileId: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ICopyFileBody {
|
|
58
|
+
folderId: string | null;
|
|
59
|
+
name: string;
|
|
60
|
+
}
|
|
61
|
+
export interface IUploadFileParams extends core.ParamsDictionary {
|
|
62
|
+
cloudId: string;
|
|
63
|
+
}
|
|
64
|
+
export declare type IUploadFileBody = {
|
|
65
|
+
folderId: string | null;
|
|
66
|
+
name: string;
|
|
67
|
+
size: number;
|
|
68
|
+
};
|
|
69
|
+
export interface IWriteFileParams extends core.ParamsDictionary {
|
|
70
|
+
cloudId: string;
|
|
71
|
+
fileId: string;
|
|
72
|
+
}
|
|
73
|
+
export declare type IWriteFileBody = {
|
|
74
|
+
size: number;
|
|
75
|
+
};
|
|
76
|
+
export interface IDownloadFileParams extends core.ParamsDictionary {
|
|
77
|
+
cloudId: string;
|
|
78
|
+
}
|
|
79
|
+
export declare type IDownloadFileBody = FileIdWithVersionId;
|
|
80
|
+
export interface IDecryptFileParams extends core.ParamsDictionary {
|
|
81
|
+
cloudId: string;
|
|
82
|
+
fileId: string;
|
|
83
|
+
}
|
|
84
|
+
export interface IDecryptFileBody {
|
|
85
|
+
encryptPassword: string;
|
|
86
|
+
}
|
|
87
|
+
export interface IEncryptFileParams extends core.ParamsDictionary {
|
|
88
|
+
cloudId: string;
|
|
89
|
+
fileId: string;
|
|
90
|
+
}
|
|
91
|
+
export interface IEncryptFileBody {
|
|
92
|
+
encryptPassword: string;
|
|
93
|
+
}
|
|
94
|
+
export interface IExtractFileParams extends core.ParamsDictionary {
|
|
95
|
+
cloudId: string;
|
|
96
|
+
fileId: string;
|
|
97
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface ICreateFolderParams extends core.ParamsDictionary {
|
|
4
|
+
cloudId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateFolderBody {
|
|
7
|
+
folderId: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IGetFolderParams extends core.ParamsDictionary {
|
|
12
|
+
cloudId: string;
|
|
13
|
+
folderId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IPaginateFolderParams extends core.ParamsDictionary {
|
|
16
|
+
cloudId: string;
|
|
17
|
+
}
|
|
18
|
+
export declare type IPaginateFolderQuery = {
|
|
19
|
+
name?: string;
|
|
20
|
+
deleted?: boolean;
|
|
21
|
+
} & QueryPaginate;
|
|
22
|
+
export interface IDeleteFolderParams extends core.ParamsDictionary {
|
|
23
|
+
cloudId: string;
|
|
24
|
+
folderId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IDeleteFolderQuery {
|
|
27
|
+
force?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface IRestoreFolderParams extends core.ParamsDictionary {
|
|
30
|
+
cloudId: string;
|
|
31
|
+
folderId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IUpdateFolderParams extends core.ParamsDictionary {
|
|
34
|
+
cloudId: string;
|
|
35
|
+
folderId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IUpdateFolderBody {
|
|
38
|
+
name?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface IMoveFolderParams extends core.ParamsDictionary {
|
|
42
|
+
cloudId: string;
|
|
43
|
+
folderId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IMoveFolderBody {
|
|
46
|
+
folderId: string | null;
|
|
47
|
+
}
|
|
48
|
+
export interface ICopyFolderParams extends core.ParamsDictionary {
|
|
49
|
+
cloudId: string;
|
|
50
|
+
folderId: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ICopyFolderBody {
|
|
53
|
+
folderId: string | null;
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
|
+
export interface IDownloadFolderParams extends core.ParamsDictionary {
|
|
57
|
+
cloudId: string;
|
|
58
|
+
}
|
|
59
|
+
export declare type IDownloadFolderBody = {
|
|
60
|
+
folderIds?: string[];
|
|
61
|
+
fileIds?: string[];
|
|
62
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IDeleteGalleryAdminParams extends core.ParamsDictionary {
|
|
4
|
+
galleryId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IUpdateGalleryAdminParams extends core.ParamsDictionary {
|
|
7
|
+
galleryId: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IUpdateGalleryAdminBody {
|
|
10
|
+
name?: string;
|
|
11
|
+
folderId?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export interface IGetGalleryAdminParams extends core.ParamsDictionary {
|
|
14
|
+
galleryId: string;
|
|
15
|
+
}
|
|
16
|
+
export declare type IPaginateGalleryAdminQuery = QueryPaginate;
|
|
17
|
+
export interface IResetPublicAccessGalleryAdminParams extends core.ParamsDictionary {
|
|
18
|
+
galleryId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IAddElementGalleryAdminParams extends core.ParamsDictionary {
|
|
21
|
+
galleryId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IAddElementGalleryAdminBody {
|
|
24
|
+
file: string[];
|
|
25
|
+
}
|
|
26
|
+
export interface IRemoveElementGalleryAdminParams extends core.ParamsDictionary {
|
|
27
|
+
galleryId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IRemoveElementGalleryAdminBody {
|
|
30
|
+
galleryElement: string[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface ICreateGalleryBody {
|
|
4
|
+
name: string;
|
|
5
|
+
folderId: string | null;
|
|
6
|
+
}
|
|
7
|
+
export interface IDeleteGalleryParams extends core.ParamsDictionary {
|
|
8
|
+
galleryId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IUpdateGalleryParams extends core.ParamsDictionary {
|
|
11
|
+
galleryId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IUpdateGalleryBody {
|
|
14
|
+
name?: string;
|
|
15
|
+
folderId?: string | null;
|
|
16
|
+
}
|
|
17
|
+
export interface IGetGalleryParams extends core.ParamsDictionary {
|
|
18
|
+
galleryId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IGetPublicGalleryParams extends core.ParamsDictionary {
|
|
21
|
+
token: string;
|
|
22
|
+
}
|
|
23
|
+
export interface IGetDownloadUrlGalleryParams extends core.ParamsDictionary {
|
|
24
|
+
token: string;
|
|
25
|
+
fileId: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type IPaginateGalleryQuery = QueryPaginate;
|
|
28
|
+
export interface IResetPublicAccessGalleryParams extends core.ParamsDictionary {
|
|
29
|
+
galleryId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface IAddElementGalleryParams extends core.ParamsDictionary {
|
|
32
|
+
galleryId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IAddElementGalleryBody {
|
|
35
|
+
file: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface IRemoveElementGalleryParams extends core.ParamsDictionary {
|
|
38
|
+
galleryId: string;
|
|
39
|
+
}
|
|
40
|
+
export interface IRemoveElementGalleryBody {
|
|
41
|
+
galleryElement: string[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { InvoiceArticleType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from 'abyss_core';
|
|
4
|
+
export declare type IPaginateInvoiceArticleAdminQuery = QueryPaginate & {
|
|
5
|
+
type?: InvoiceArticleType;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
name?: string;
|
|
8
|
+
};
|
|
9
|
+
export interface ICreateInvoiceArticleAdminBody {
|
|
10
|
+
name: string;
|
|
11
|
+
price: number;
|
|
12
|
+
amount: number;
|
|
13
|
+
type: InvoiceArticleType;
|
|
14
|
+
description?: string | null;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
configProfileId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IDeleteInvoiceArticleAdminParams extends core.ParamsDictionary {
|
|
19
|
+
invoiceArticleId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IUpdateInvoiceArticleAdminParams extends core.ParamsDictionary {
|
|
22
|
+
invoiceArticleId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateInvoiceArticleAdminBody {
|
|
25
|
+
name?: string;
|
|
26
|
+
price?: number;
|
|
27
|
+
amount?: number;
|
|
28
|
+
commentary?: string;
|
|
29
|
+
isDisabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface IGetInvoiceArticleAdminParams extends core.ParamsDictionary {
|
|
32
|
+
invoiceArticleId: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { InvoiceArticleType } from '../../../enum';
|
|
3
|
+
import { QueryPaginate } from 'abyss_core';
|
|
4
|
+
export declare type IPaginateInvoiceArticleQuery = QueryPaginate & {
|
|
5
|
+
type?: InvoiceArticleType;
|
|
6
|
+
name?: string;
|
|
7
|
+
};
|
|
8
|
+
export interface IGetInvoiceArticleParams extends core.ParamsDictionary {
|
|
9
|
+
invoiceArticleId: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export interface IGetInvoicePromotionCodeAdminParams extends core.ParamsDictionary {
|
|
4
|
+
invoicePromotionCodeId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type IPaginateInvoicePromotionCodeAdminQuery = QueryPaginate & {
|
|
7
|
+
value?: string;
|
|
8
|
+
amount?: number;
|
|
9
|
+
isActivated?: boolean;
|
|
10
|
+
maxUsage?: number;
|
|
11
|
+
};
|
|
12
|
+
export interface ICreateInvoicePromotionCodeAdminBody {
|
|
13
|
+
value: string;
|
|
14
|
+
amount: number;
|
|
15
|
+
startDate?: Date;
|
|
16
|
+
endDate?: Date | null;
|
|
17
|
+
isActivated?: boolean;
|
|
18
|
+
maxUsage?: number;
|
|
19
|
+
activationInterval?: number | null;
|
|
20
|
+
}
|
|
21
|
+
export interface IDeleteInvoicePromotionCodeAdminParams extends core.ParamsDictionary {
|
|
22
|
+
invoicePromotionCodeId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateInvoicePromotionCodeAdminParams extends core.ParamsDictionary {
|
|
25
|
+
invoicePromotionCodeId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IUpdateInvoicePromotionCodeAdminBody {
|
|
28
|
+
value?: string;
|
|
29
|
+
amount?: number;
|
|
30
|
+
startDate?: Date;
|
|
31
|
+
endDate?: Date | null;
|
|
32
|
+
isActivated?: boolean;
|
|
33
|
+
maxUsage?: number;
|
|
34
|
+
activationInterval?: number | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export declare type IPaginateInvoiceAdminQuery = QueryPaginate & {
|
|
4
|
+
userId?: string[];
|
|
5
|
+
invoicePromotionCode?: string[];
|
|
6
|
+
userTransactionId?: string;
|
|
7
|
+
};
|
|
8
|
+
export interface IGetInvoiceAdminParams extends core.ParamsDictionary {
|
|
9
|
+
invoiceId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ICreateInvoiceAdminBody {
|
|
12
|
+
userId: string;
|
|
13
|
+
invoiceArticleId: string;
|
|
14
|
+
invoicePromotionCode?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export declare type IPaginateInvoiceQuery = QueryPaginate & {
|
|
4
|
+
invoicePromotionCode?: string[];
|
|
5
|
+
userTransactionId?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface IGetInvoiceParams extends core.ParamsDictionary {
|
|
8
|
+
invoiceId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ICreateInvoiceBody {
|
|
11
|
+
invoiceArticleId: string;
|
|
12
|
+
invoicePromotionCode?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LogLevel, QueryPaginate } from 'abyss_core';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
import { LogType } from '../../..';
|
|
4
|
+
export interface IGetLogConsoleAdminParams extends core.ParamsDictionary {
|
|
5
|
+
logConsoleId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type IPaginateLoggerAdminQuery = QueryPaginate & {
|
|
8
|
+
level?: LogLevel;
|
|
9
|
+
type?: LogType;
|
|
10
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export declare type IPaginateMediaGroupCategoryAdminQuery = {
|
|
4
|
+
name?: string;
|
|
5
|
+
} & QueryPaginate;
|
|
6
|
+
export interface ICreateMediaGroupCategoryAdminBody {
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IDeleteMediaGroupCategoryAdminParams extends core.ParamsDictionary {
|
|
10
|
+
mediaGroupCategoryId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateMediaGroupCategoryAdminParams extends core.ParamsDictionary {
|
|
13
|
+
mediaGroupCategoryId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IUpdateMediaGroupCategoryAdminBody {
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { ListTypeListMediaGroup } from '../../../others';
|
|
3
|
+
import { QueryPaginate } from 'abyss_core';
|
|
4
|
+
export interface ICreateMediaGroupAdminBody {
|
|
5
|
+
name: string;
|
|
6
|
+
hasSeason: boolean;
|
|
7
|
+
thumbnailUrl: string | null;
|
|
8
|
+
mediaGroupCategoryId: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface IGetMediaGroupAdminParams extends core.ParamsDictionary {
|
|
11
|
+
mediaGroupId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type IPaginateMediaGroupAdminQuery = QueryPaginate & {
|
|
14
|
+
name?: string[];
|
|
15
|
+
categoryIds?: string[];
|
|
16
|
+
listType: ListTypeListMediaGroup;
|
|
17
|
+
};
|
|
18
|
+
export interface IDeleteMediaGroupAdminParams extends core.ParamsDictionary {
|
|
19
|
+
mediaGroupId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface IUpdateMediaGroupAdminParams extends core.ParamsDictionary {
|
|
22
|
+
mediaGroupId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateMediaGroupAdminBody {
|
|
25
|
+
name: string;
|
|
26
|
+
thumbnailUrl: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface IAddCategoryMediaGroupAdminParams extends core.ParamsDictionary {
|
|
29
|
+
mediaGroupCategoryId: string;
|
|
30
|
+
mediaGroupId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface IRemoveCategoryMediaGroupAdminParams extends core.ParamsDictionary {
|
|
33
|
+
mediaGroupCategoryId: string;
|
|
34
|
+
mediaGroupId: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { LikeMediaType, ListTypeListMediaGroup } from '../../../others';
|
|
3
|
+
import { QueryPaginate } from 'abyss_core';
|
|
4
|
+
export interface IGetMediaGroupParams extends core.ParamsDictionary {
|
|
5
|
+
mediaGroupId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetMediaGroupQuery {
|
|
8
|
+
withStatus: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare type IPaginateMediaGroupQuery = QueryPaginate & {
|
|
11
|
+
name?: string;
|
|
12
|
+
categoryIds?: string[];
|
|
13
|
+
listType: ListTypeListMediaGroup;
|
|
14
|
+
};
|
|
15
|
+
export interface ILikeMediaGroupParams extends core.ParamsDictionary {
|
|
16
|
+
mediaGroupId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ILikeMediaGroupBody {
|
|
19
|
+
type: LikeMediaType;
|
|
20
|
+
rate: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export interface ICreateMediaSeasonAdminParams extends core.ParamsDictionary {
|
|
4
|
+
mediaGroupId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateMediaSeasonAdminBody {
|
|
7
|
+
name: string;
|
|
8
|
+
step: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IDeleteMediaSeasonAdminParams extends core.ParamsDictionary {
|
|
11
|
+
mediaGroupId: string;
|
|
12
|
+
mediaSeasonId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IGetMediaSeasonAdminParams extends core.ParamsDictionary {
|
|
15
|
+
mediaGroupId: string;
|
|
16
|
+
mediaSeasonId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IPaginateMediaSeasonAdminParams extends core.ParamsDictionary {
|
|
19
|
+
mediaGroupId: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type IPaginateMediaSeasonAdminQuery = {
|
|
22
|
+
name?: string;
|
|
23
|
+
} & QueryPaginate;
|
|
24
|
+
export interface IUpdateMediaSeasonAdminParams extends core.ParamsDictionary {
|
|
25
|
+
mediaGroupId: string;
|
|
26
|
+
mediaSeasonId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface IUpdateMediaSeasonAdminBody {
|
|
29
|
+
name: string;
|
|
30
|
+
step: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export interface IGetMediaSeasonParams extends core.ParamsDictionary {
|
|
4
|
+
mediaGroupId: string;
|
|
5
|
+
mediaSeasonId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IPaginateMediaSeasonParams extends core.ParamsDictionary {
|
|
8
|
+
mediaGroupId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare type IPaginateMediaSeasonQuery = {
|
|
11
|
+
name?: string;
|
|
12
|
+
} & QueryPaginate;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as core from 'express-serve-static-core';
|
|
2
|
+
import { QueryPaginate } from 'abyss_core';
|
|
3
|
+
export interface ICreateMediaAdminParams extends core.ParamsDictionary {
|
|
4
|
+
mediaGroupId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateMediaAdminBody {
|
|
7
|
+
name: string;
|
|
8
|
+
step: number;
|
|
9
|
+
trackLength: number;
|
|
10
|
+
externalUrl: string;
|
|
11
|
+
mediaSeasonId?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export interface IDeleteMediaAdminParams extends core.ParamsDictionary {
|
|
14
|
+
mediaGroupId: string;
|
|
15
|
+
mediaId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IGetMediaAdminParams extends core.ParamsDictionary {
|
|
18
|
+
mediaGroupId: string;
|
|
19
|
+
mediaId: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type IPaginateMediaAdminQuery = {
|
|
22
|
+
mediaGroupId?: string[];
|
|
23
|
+
mediaSeasonId?: string[];
|
|
24
|
+
name?: string;
|
|
25
|
+
} & QueryPaginate;
|
|
26
|
+
export interface IUpdateMediaAdminParams extends core.ParamsDictionary {
|
|
27
|
+
mediaGroupId: string;
|
|
28
|
+
mediaId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface IUpdateMediaAdminBody {
|
|
31
|
+
name?: string;
|
|
32
|
+
step?: number;
|
|
33
|
+
trackLength?: number;
|
|
34
|
+
externalUrl?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QueryPaginate } from 'abyss_core';
|
|
2
|
+
import * as core from 'express-serve-static-core';
|
|
3
|
+
export interface IGetMediaParams extends core.ParamsDictionary {
|
|
4
|
+
mediaId: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type IPaginateMediaQuery = {
|
|
7
|
+
mediaGroupId?: string[];
|
|
8
|
+
mediaSeasonId?: string[];
|
|
9
|
+
name?: string;
|
|
10
|
+
} & QueryPaginate;
|