@connectedxm/admin-sdk 7.2.8 → 7.3.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/.openapi-generator/FILES +4 -2
- package/README.md +6 -3
- package/api.ts +149 -48
- package/dist/api.d.ts +96 -40
- package/dist/api.js +126 -52
- package/dist/esm/api.d.ts +96 -40
- package/dist/esm/api.js +103 -29
- package/docs/BaseBookingSpace.md +2 -0
- package/docs/BookingSpace.md +2 -0
- package/docs/BookingSpaceCreateInputs.md +2 -0
- package/docs/BookingSpaceUpdateInputs.md +2 -0
- package/docs/{CreateImage200Response.md → GetImage200Response.md} +3 -3
- package/docs/ImageDirectUpload.md +22 -0
- package/docs/{ImageCreateInputs.md → ImageDirectUploadInputs.md} +6 -8
- package/docs/RequestImageDirectUpload200Response.md +24 -0
- package/docs/StorageImagesApi.md +70 -18
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -402,7 +402,6 @@ docs/CreateEventSponsorshipLevel200Response.md
|
|
|
402
402
|
docs/CreateEventTrack200Response.md
|
|
403
403
|
docs/CreateGroup200Response.md
|
|
404
404
|
docs/CreateGroupInvitations200Response.md
|
|
405
|
-
docs/CreateImage200Response.md
|
|
406
405
|
docs/CreateIntegration200Response.md
|
|
407
406
|
docs/CreateInterest200Response.md
|
|
408
407
|
docs/CreateInvoice200Response.md
|
|
@@ -916,6 +915,7 @@ docs/GetGroupRequests200Response.md
|
|
|
916
915
|
docs/GetGroupTranslation200Response.md
|
|
917
916
|
docs/GetGroupTranslations200Response.md
|
|
918
917
|
docs/GetGroups200Response.md
|
|
918
|
+
docs/GetImage200Response.md
|
|
919
919
|
docs/GetImageUsage200Response.md
|
|
920
920
|
docs/GetImages200Response.md
|
|
921
921
|
docs/GetImport200Response.md
|
|
@@ -1051,7 +1051,8 @@ docs/GroupsRequestsApi.md
|
|
|
1051
1051
|
docs/GroupsSponsorsApi.md
|
|
1052
1052
|
docs/GroupsTranslationsApi.md
|
|
1053
1053
|
docs/Image.md
|
|
1054
|
-
docs/
|
|
1054
|
+
docs/ImageDirectUpload.md
|
|
1055
|
+
docs/ImageDirectUploadInputs.md
|
|
1055
1056
|
docs/ImageModerationLevel.md
|
|
1056
1057
|
docs/ImageType.md
|
|
1057
1058
|
docs/ImageUpdateInputs.md
|
|
@@ -1267,6 +1268,7 @@ docs/ReportFilters.md
|
|
|
1267
1268
|
docs/ReportType.md
|
|
1268
1269
|
docs/ReportsApi.md
|
|
1269
1270
|
docs/ReportsUsersApi.md
|
|
1271
|
+
docs/RequestImageDirectUpload200Response.md
|
|
1270
1272
|
docs/Room.md
|
|
1271
1273
|
docs/RoomCreateInputs.md
|
|
1272
1274
|
docs/RoomUpdateInputs.md
|
package/README.md
CHANGED
|
@@ -1107,12 +1107,13 @@ Class | Method | HTTP request | Description
|
|
|
1107
1107
|
*StorageFilesApi* | [**getFile**](docs/StorageFilesApi.md#getfile) | **GET** /files/{fileId} | Get File
|
|
1108
1108
|
*StorageFilesApi* | [**getFiles**](docs/StorageFilesApi.md#getfiles) | **GET** /files | Get Files
|
|
1109
1109
|
*StorageFilesApi* | [**uploadFile**](docs/StorageFilesApi.md#uploadfile) | **POST** /files | Upload File
|
|
1110
|
-
*StorageImagesApi* | [**
|
|
1110
|
+
*StorageImagesApi* | [**confirmImageUpload**](docs/StorageImagesApi.md#confirmimageupload) | **POST** /images/{imageId}/confirm | Confirm Image Upload
|
|
1111
1111
|
*StorageImagesApi* | [**deleteImage**](docs/StorageImagesApi.md#deleteimage) | **DELETE** /images/{imageId} | Delete Image
|
|
1112
1112
|
*StorageImagesApi* | [**deleteManyImages**](docs/StorageImagesApi.md#deletemanyimages) | **POST** /images/delete | Delete Many Images
|
|
1113
1113
|
*StorageImagesApi* | [**getImage**](docs/StorageImagesApi.md#getimage) | **GET** /images/{imageId} | Get Image
|
|
1114
1114
|
*StorageImagesApi* | [**getImageUsage**](docs/StorageImagesApi.md#getimageusage) | **GET** /images/{imageId}/usage | Get Image Usage
|
|
1115
1115
|
*StorageImagesApi* | [**getImages**](docs/StorageImagesApi.md#getimages) | **GET** /images | Get Images
|
|
1116
|
+
*StorageImagesApi* | [**requestImageDirectUpload**](docs/StorageImagesApi.md#requestimagedirectupload) | **POST** /images/direct-upload | Request Image Direct Upload
|
|
1116
1117
|
*StorageImagesApi* | [**switchImage**](docs/StorageImagesApi.md#switchimage) | **PUT** /images/{imageId}/switch | Switch Image
|
|
1117
1118
|
*StorageImagesApi* | [**updateImage**](docs/StorageImagesApi.md#updateimage) | **PUT** /images/{imageId} | Update Image
|
|
1118
1119
|
*StorageVideosApi* | [**deleteManyVideos**](docs/StorageVideosApi.md#deletemanyvideos) | **POST** /videos/delete | Delete Many Videos
|
|
@@ -1625,7 +1626,6 @@ Class | Method | HTTP request | Description
|
|
|
1625
1626
|
- [CreateEventTrack200Response](docs/CreateEventTrack200Response.md)
|
|
1626
1627
|
- [CreateGroup200Response](docs/CreateGroup200Response.md)
|
|
1627
1628
|
- [CreateGroupInvitations200Response](docs/CreateGroupInvitations200Response.md)
|
|
1628
|
-
- [CreateImage200Response](docs/CreateImage200Response.md)
|
|
1629
1629
|
- [CreateIntegration200Response](docs/CreateIntegration200Response.md)
|
|
1630
1630
|
- [CreateInterest200Response](docs/CreateInterest200Response.md)
|
|
1631
1631
|
- [CreateInvoice200Response](docs/CreateInvoice200Response.md)
|
|
@@ -2062,6 +2062,7 @@ Class | Method | HTTP request | Description
|
|
|
2062
2062
|
- [GetGroupTranslation200Response](docs/GetGroupTranslation200Response.md)
|
|
2063
2063
|
- [GetGroupTranslations200Response](docs/GetGroupTranslations200Response.md)
|
|
2064
2064
|
- [GetGroups200Response](docs/GetGroups200Response.md)
|
|
2065
|
+
- [GetImage200Response](docs/GetImage200Response.md)
|
|
2065
2066
|
- [GetImageUsage200Response](docs/GetImageUsage200Response.md)
|
|
2066
2067
|
- [GetImages200Response](docs/GetImages200Response.md)
|
|
2067
2068
|
- [GetImport200Response](docs/GetImport200Response.md)
|
|
@@ -2188,7 +2189,8 @@ Class | Method | HTTP request | Description
|
|
|
2188
2189
|
- [GroupTranslationUpdateInputs](docs/GroupTranslationUpdateInputs.md)
|
|
2189
2190
|
- [GroupUpdateInputs](docs/GroupUpdateInputs.md)
|
|
2190
2191
|
- [Image](docs/Image.md)
|
|
2191
|
-
- [
|
|
2192
|
+
- [ImageDirectUpload](docs/ImageDirectUpload.md)
|
|
2193
|
+
- [ImageDirectUploadInputs](docs/ImageDirectUploadInputs.md)
|
|
2192
2194
|
- [ImageModerationLevel](docs/ImageModerationLevel.md)
|
|
2193
2195
|
- [ImageType](docs/ImageType.md)
|
|
2194
2196
|
- [ImageUpdateInputs](docs/ImageUpdateInputs.md)
|
|
@@ -2370,6 +2372,7 @@ Class | Method | HTTP request | Description
|
|
|
2370
2372
|
- [ReorderSurveySectionQuestions200Response](docs/ReorderSurveySectionQuestions200Response.md)
|
|
2371
2373
|
- [ReportFilters](docs/ReportFilters.md)
|
|
2372
2374
|
- [ReportType](docs/ReportType.md)
|
|
2375
|
+
- [RequestImageDirectUpload200Response](docs/RequestImageDirectUpload200Response.md)
|
|
2373
2376
|
- [Room](docs/Room.md)
|
|
2374
2377
|
- [RoomCreateInputs](docs/RoomCreateInputs.md)
|
|
2375
2378
|
- [RoomUpdateInputs](docs/RoomUpdateInputs.md)
|
package/api.ts
CHANGED
|
@@ -1001,6 +1001,7 @@ export interface BaseBookingSpace {
|
|
|
1001
1001
|
'name': string;
|
|
1002
1002
|
'slug': string;
|
|
1003
1003
|
'supply': number;
|
|
1004
|
+
'bookingLimitPerAccount': number | null;
|
|
1004
1005
|
'slotDuration': number;
|
|
1005
1006
|
'price': number;
|
|
1006
1007
|
'description': string | null;
|
|
@@ -2812,6 +2813,7 @@ export interface BookingSpace {
|
|
|
2812
2813
|
'name': string;
|
|
2813
2814
|
'slug': string;
|
|
2814
2815
|
'supply': number;
|
|
2816
|
+
'bookingLimitPerAccount': number | null;
|
|
2815
2817
|
'slotDuration': number;
|
|
2816
2818
|
'price': number;
|
|
2817
2819
|
'description': string | null;
|
|
@@ -2877,6 +2879,7 @@ export interface BookingSpaceBlackoutUpdateInputs {
|
|
|
2877
2879
|
export interface BookingSpaceCreateInputs {
|
|
2878
2880
|
'name': string;
|
|
2879
2881
|
'supply': EventCreateInputsSplitPaymentPercentage;
|
|
2882
|
+
'bookingLimitPerAccount'?: AdvertisementCreateInputsWeight | null;
|
|
2880
2883
|
'slotDuration': EventCreateInputsSplitPaymentPercentage;
|
|
2881
2884
|
'price'?: EventCreateInputsSplitPaymentPercentage;
|
|
2882
2885
|
'description'?: string | null;
|
|
@@ -3071,6 +3074,7 @@ export interface BookingSpaceTranslationUpdateInputs {
|
|
|
3071
3074
|
export interface BookingSpaceUpdateInputs {
|
|
3072
3075
|
'name'?: string;
|
|
3073
3076
|
'supply'?: EventCreateInputsSplitPaymentPercentage;
|
|
3077
|
+
'bookingLimitPerAccount'?: AdvertisementCreateInputsWeight | null;
|
|
3074
3078
|
'price'?: EventCreateInputsSplitPaymentPercentage;
|
|
3075
3079
|
'description'?: string | null;
|
|
3076
3080
|
'imageId'?: string | null;
|
|
@@ -4110,16 +4114,6 @@ export enum CreateGroupInvitations200ResponseStatusEnum {
|
|
|
4110
4114
|
Ok = 'ok'
|
|
4111
4115
|
}
|
|
4112
4116
|
|
|
4113
|
-
export interface CreateImage200Response {
|
|
4114
|
-
'status': CreateImage200ResponseStatusEnum;
|
|
4115
|
-
'message': string;
|
|
4116
|
-
'data': Image;
|
|
4117
|
-
}
|
|
4118
|
-
|
|
4119
|
-
export enum CreateImage200ResponseStatusEnum {
|
|
4120
|
-
Ok = 'ok'
|
|
4121
|
-
}
|
|
4122
|
-
|
|
4123
4117
|
export interface CreateIntegration200Response {
|
|
4124
4118
|
'status': CreateIntegration200ResponseStatusEnum;
|
|
4125
4119
|
'message': string;
|
|
@@ -8741,6 +8735,16 @@ export enum GetGroups200ResponseStatusEnum {
|
|
|
8741
8735
|
Ok = 'ok'
|
|
8742
8736
|
}
|
|
8743
8737
|
|
|
8738
|
+
export interface GetImage200Response {
|
|
8739
|
+
'status': GetImage200ResponseStatusEnum;
|
|
8740
|
+
'message': string;
|
|
8741
|
+
'data': Image;
|
|
8742
|
+
}
|
|
8743
|
+
|
|
8744
|
+
export enum GetImage200ResponseStatusEnum {
|
|
8745
|
+
Ok = 'ok'
|
|
8746
|
+
}
|
|
8747
|
+
|
|
8744
8748
|
export interface GetImageUsage200Response {
|
|
8745
8749
|
'status': GetImageUsage200ResponseStatusEnum;
|
|
8746
8750
|
'message': string;
|
|
@@ -10079,11 +10083,14 @@ export interface Image {
|
|
|
10079
10083
|
}
|
|
10080
10084
|
|
|
10081
10085
|
|
|
10082
|
-
export interface
|
|
10083
|
-
'
|
|
10084
|
-
'
|
|
10085
|
-
|
|
10086
|
+
export interface ImageDirectUpload {
|
|
10087
|
+
'id': string;
|
|
10088
|
+
'uploadURL': string;
|
|
10089
|
+
}
|
|
10090
|
+
export interface ImageDirectUploadInputs {
|
|
10086
10091
|
'type': ImageType;
|
|
10092
|
+
'name'?: string | null;
|
|
10093
|
+
'description'?: string | null;
|
|
10087
10094
|
}
|
|
10088
10095
|
|
|
10089
10096
|
|
|
@@ -12181,6 +12188,16 @@ export enum ReportType {
|
|
|
12181
12188
|
}
|
|
12182
12189
|
|
|
12183
12190
|
|
|
12191
|
+
export interface RequestImageDirectUpload200Response {
|
|
12192
|
+
'status': RequestImageDirectUpload200ResponseStatusEnum;
|
|
12193
|
+
'message': string;
|
|
12194
|
+
'data': ImageDirectUpload;
|
|
12195
|
+
}
|
|
12196
|
+
|
|
12197
|
+
export enum RequestImageDirectUpload200ResponseStatusEnum {
|
|
12198
|
+
Ok = 'ok'
|
|
12199
|
+
}
|
|
12200
|
+
|
|
12184
12201
|
export interface Room {
|
|
12185
12202
|
'id': string;
|
|
12186
12203
|
'roomName': string;
|
|
@@ -134078,16 +134095,17 @@ export enum UploadFileSourceEnum {
|
|
|
134078
134095
|
export const StorageImagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
134079
134096
|
return {
|
|
134080
134097
|
/**
|
|
134081
|
-
*
|
|
134082
|
-
* @summary
|
|
134083
|
-
* @param {
|
|
134098
|
+
* Confirm Image Upload endpoint
|
|
134099
|
+
* @summary Confirm Image Upload
|
|
134100
|
+
* @param {string} imageId The image identifier
|
|
134084
134101
|
* @param {*} [options] Override http request option.
|
|
134085
134102
|
* @throws {RequiredError}
|
|
134086
134103
|
*/
|
|
134087
|
-
|
|
134088
|
-
// verify required parameter '
|
|
134089
|
-
assertParamExists('
|
|
134090
|
-
const localVarPath = `/images
|
|
134104
|
+
confirmImageUpload: async (imageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
134105
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
134106
|
+
assertParamExists('confirmImageUpload', 'imageId', imageId)
|
|
134107
|
+
const localVarPath = `/images/{imageId}/confirm`
|
|
134108
|
+
.replace(`{${"imageId"}}`, encodeURIComponent(String(imageId)));
|
|
134091
134109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134092
134110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134093
134111
|
let baseOptions;
|
|
@@ -134105,13 +134123,11 @@ export const StorageImagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
134105
134123
|
// authentication OrganizationId required
|
|
134106
134124
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
134107
134125
|
|
|
134108
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
134109
134126
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
134110
134127
|
|
|
134111
134128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
134112
134129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134113
134130
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
134114
|
-
localVarRequestOptions.data = serializeDataIfNeeded(imageCreateInputs, localVarRequestOptions, configuration)
|
|
134115
134131
|
|
|
134116
134132
|
return {
|
|
134117
134133
|
url: toPathString(localVarUrlObj),
|
|
@@ -134340,6 +134356,47 @@ export const StorageImagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
134340
134356
|
options: localVarRequestOptions,
|
|
134341
134357
|
};
|
|
134342
134358
|
},
|
|
134359
|
+
/**
|
|
134360
|
+
* Request Image Direct Upload endpoint
|
|
134361
|
+
* @summary Request Image Direct Upload
|
|
134362
|
+
* @param {ImageDirectUploadInputs} imageDirectUploadInputs
|
|
134363
|
+
* @param {*} [options] Override http request option.
|
|
134364
|
+
* @throws {RequiredError}
|
|
134365
|
+
*/
|
|
134366
|
+
requestImageDirectUpload: async (imageDirectUploadInputs: ImageDirectUploadInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
134367
|
+
// verify required parameter 'imageDirectUploadInputs' is not null or undefined
|
|
134368
|
+
assertParamExists('requestImageDirectUpload', 'imageDirectUploadInputs', imageDirectUploadInputs)
|
|
134369
|
+
const localVarPath = `/images/direct-upload`;
|
|
134370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134372
|
+
let baseOptions;
|
|
134373
|
+
if (configuration) {
|
|
134374
|
+
baseOptions = configuration.baseOptions;
|
|
134375
|
+
}
|
|
134376
|
+
|
|
134377
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
134378
|
+
const localVarHeaderParameter = {} as any;
|
|
134379
|
+
const localVarQueryParameter = {} as any;
|
|
134380
|
+
|
|
134381
|
+
// authentication ApiKeyAuth required
|
|
134382
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
134383
|
+
|
|
134384
|
+
// authentication OrganizationId required
|
|
134385
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
134386
|
+
|
|
134387
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
134388
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
134389
|
+
|
|
134390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
134391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134392
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
134393
|
+
localVarRequestOptions.data = serializeDataIfNeeded(imageDirectUploadInputs, localVarRequestOptions, configuration)
|
|
134394
|
+
|
|
134395
|
+
return {
|
|
134396
|
+
url: toPathString(localVarUrlObj),
|
|
134397
|
+
options: localVarRequestOptions,
|
|
134398
|
+
};
|
|
134399
|
+
},
|
|
134343
134400
|
/**
|
|
134344
134401
|
* Switch Image endpoint
|
|
134345
134402
|
* @summary Switch Image
|
|
@@ -134444,16 +134501,16 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134444
134501
|
const localVarAxiosParamCreator = StorageImagesApiAxiosParamCreator(configuration)
|
|
134445
134502
|
return {
|
|
134446
134503
|
/**
|
|
134447
|
-
*
|
|
134448
|
-
* @summary
|
|
134449
|
-
* @param {
|
|
134504
|
+
* Confirm Image Upload endpoint
|
|
134505
|
+
* @summary Confirm Image Upload
|
|
134506
|
+
* @param {string} imageId The image identifier
|
|
134450
134507
|
* @param {*} [options] Override http request option.
|
|
134451
134508
|
* @throws {RequiredError}
|
|
134452
134509
|
*/
|
|
134453
|
-
async
|
|
134454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
134510
|
+
async confirmImageUpload(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>> {
|
|
134511
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.confirmImageUpload(imageId, options);
|
|
134455
134512
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134456
|
-
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.
|
|
134513
|
+
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.confirmImageUpload']?.[localVarOperationServerIndex]?.url;
|
|
134457
134514
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134458
134515
|
},
|
|
134459
134516
|
/**
|
|
@@ -134489,7 +134546,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134489
134546
|
* @param {*} [options] Override http request option.
|
|
134490
134547
|
* @throws {RequiredError}
|
|
134491
134548
|
*/
|
|
134492
|
-
async getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
134549
|
+
async getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>> {
|
|
134493
134550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(imageId, options);
|
|
134494
134551
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134495
134552
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.getImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134525,6 +134582,19 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134525
134582
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.getImages']?.[localVarOperationServerIndex]?.url;
|
|
134526
134583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134527
134584
|
},
|
|
134585
|
+
/**
|
|
134586
|
+
* Request Image Direct Upload endpoint
|
|
134587
|
+
* @summary Request Image Direct Upload
|
|
134588
|
+
* @param {ImageDirectUploadInputs} imageDirectUploadInputs
|
|
134589
|
+
* @param {*} [options] Override http request option.
|
|
134590
|
+
* @throws {RequiredError}
|
|
134591
|
+
*/
|
|
134592
|
+
async requestImageDirectUpload(imageDirectUploadInputs: ImageDirectUploadInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestImageDirectUpload200Response>> {
|
|
134593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestImageDirectUpload(imageDirectUploadInputs, options);
|
|
134594
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134595
|
+
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.requestImageDirectUpload']?.[localVarOperationServerIndex]?.url;
|
|
134596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134597
|
+
},
|
|
134528
134598
|
/**
|
|
134529
134599
|
* Switch Image endpoint
|
|
134530
134600
|
* @summary Switch Image
|
|
@@ -134533,7 +134603,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134533
134603
|
* @param {*} [options] Override http request option.
|
|
134534
134604
|
* @throws {RequiredError}
|
|
134535
134605
|
*/
|
|
134536
|
-
async switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
134606
|
+
async switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>> {
|
|
134537
134607
|
const localVarAxiosArgs = await localVarAxiosParamCreator.switchImage(imageId, image, options);
|
|
134538
134608
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134539
134609
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.switchImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134547,7 +134617,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134547
134617
|
* @param {*} [options] Override http request option.
|
|
134548
134618
|
* @throws {RequiredError}
|
|
134549
134619
|
*/
|
|
134550
|
-
async updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
134620
|
+
async updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>> {
|
|
134551
134621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateImage(imageId, imageUpdateInputs, options);
|
|
134552
134622
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134553
134623
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.updateImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134563,14 +134633,14 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134563
134633
|
const localVarFp = StorageImagesApiFp(configuration)
|
|
134564
134634
|
return {
|
|
134565
134635
|
/**
|
|
134566
|
-
*
|
|
134567
|
-
* @summary
|
|
134568
|
-
* @param {
|
|
134636
|
+
* Confirm Image Upload endpoint
|
|
134637
|
+
* @summary Confirm Image Upload
|
|
134638
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
134569
134639
|
* @param {*} [options] Override http request option.
|
|
134570
134640
|
* @throws {RequiredError}
|
|
134571
134641
|
*/
|
|
134572
|
-
|
|
134573
|
-
return localVarFp.
|
|
134642
|
+
confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134643
|
+
return localVarFp.confirmImageUpload(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
134574
134644
|
},
|
|
134575
134645
|
/**
|
|
134576
134646
|
* Delete Image endpoint
|
|
@@ -134599,7 +134669,7 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134599
134669
|
* @param {*} [options] Override http request option.
|
|
134600
134670
|
* @throws {RequiredError}
|
|
134601
134671
|
*/
|
|
134602
|
-
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134672
|
+
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134603
134673
|
return localVarFp.getImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
134604
134674
|
},
|
|
134605
134675
|
/**
|
|
@@ -134622,6 +134692,16 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134622
134692
|
getImages(requestParameters: StorageImagesApiGetImagesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetImages200Response> {
|
|
134623
134693
|
return localVarFp.getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
134624
134694
|
},
|
|
134695
|
+
/**
|
|
134696
|
+
* Request Image Direct Upload endpoint
|
|
134697
|
+
* @summary Request Image Direct Upload
|
|
134698
|
+
* @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
|
|
134699
|
+
* @param {*} [options] Override http request option.
|
|
134700
|
+
* @throws {RequiredError}
|
|
134701
|
+
*/
|
|
134702
|
+
requestImageDirectUpload(requestParameters: StorageImagesApiRequestImageDirectUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestImageDirectUpload200Response> {
|
|
134703
|
+
return localVarFp.requestImageDirectUpload(requestParameters.imageDirectUploadInputs, options).then((request) => request(axios, basePath));
|
|
134704
|
+
},
|
|
134625
134705
|
/**
|
|
134626
134706
|
* Switch Image endpoint
|
|
134627
134707
|
* @summary Switch Image
|
|
@@ -134629,7 +134709,7 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134629
134709
|
* @param {*} [options] Override http request option.
|
|
134630
134710
|
* @throws {RequiredError}
|
|
134631
134711
|
*/
|
|
134632
|
-
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134712
|
+
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134633
134713
|
return localVarFp.switchImage(requestParameters.imageId, requestParameters.image, options).then((request) => request(axios, basePath));
|
|
134634
134714
|
},
|
|
134635
134715
|
/**
|
|
@@ -134639,17 +134719,20 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134639
134719
|
* @param {*} [options] Override http request option.
|
|
134640
134720
|
* @throws {RequiredError}
|
|
134641
134721
|
*/
|
|
134642
|
-
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134722
|
+
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134643
134723
|
return localVarFp.updateImage(requestParameters.imageId, requestParameters.imageUpdateInputs, options).then((request) => request(axios, basePath));
|
|
134644
134724
|
},
|
|
134645
134725
|
};
|
|
134646
134726
|
};
|
|
134647
134727
|
|
|
134648
134728
|
/**
|
|
134649
|
-
* Request parameters for
|
|
134729
|
+
* Request parameters for confirmImageUpload operation in StorageImagesApi.
|
|
134650
134730
|
*/
|
|
134651
|
-
export interface
|
|
134652
|
-
|
|
134731
|
+
export interface StorageImagesApiConfirmImageUploadRequest {
|
|
134732
|
+
/**
|
|
134733
|
+
* The image identifier
|
|
134734
|
+
*/
|
|
134735
|
+
readonly imageId: string
|
|
134653
134736
|
}
|
|
134654
134737
|
|
|
134655
134738
|
/**
|
|
@@ -134719,6 +134802,13 @@ export interface StorageImagesApiGetImagesRequest {
|
|
|
134719
134802
|
readonly search?: string
|
|
134720
134803
|
}
|
|
134721
134804
|
|
|
134805
|
+
/**
|
|
134806
|
+
* Request parameters for requestImageDirectUpload operation in StorageImagesApi.
|
|
134807
|
+
*/
|
|
134808
|
+
export interface StorageImagesApiRequestImageDirectUploadRequest {
|
|
134809
|
+
readonly imageDirectUploadInputs: ImageDirectUploadInputs
|
|
134810
|
+
}
|
|
134811
|
+
|
|
134722
134812
|
/**
|
|
134723
134813
|
* Request parameters for switchImage operation in StorageImagesApi.
|
|
134724
134814
|
*/
|
|
@@ -134751,14 +134841,14 @@ export interface StorageImagesApiUpdateImageRequest {
|
|
|
134751
134841
|
*/
|
|
134752
134842
|
export class StorageImagesApi extends BaseAPI {
|
|
134753
134843
|
/**
|
|
134754
|
-
*
|
|
134755
|
-
* @summary
|
|
134756
|
-
* @param {
|
|
134844
|
+
* Confirm Image Upload endpoint
|
|
134845
|
+
* @summary Confirm Image Upload
|
|
134846
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
134757
134847
|
* @param {*} [options] Override http request option.
|
|
134758
134848
|
* @throws {RequiredError}
|
|
134759
134849
|
*/
|
|
134760
|
-
public
|
|
134761
|
-
return StorageImagesApiFp(this.configuration).
|
|
134850
|
+
public confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig) {
|
|
134851
|
+
return StorageImagesApiFp(this.configuration).confirmImageUpload(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
134762
134852
|
}
|
|
134763
134853
|
|
|
134764
134854
|
/**
|
|
@@ -134816,6 +134906,17 @@ export class StorageImagesApi extends BaseAPI {
|
|
|
134816
134906
|
return StorageImagesApiFp(this.configuration).getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
134817
134907
|
}
|
|
134818
134908
|
|
|
134909
|
+
/**
|
|
134910
|
+
* Request Image Direct Upload endpoint
|
|
134911
|
+
* @summary Request Image Direct Upload
|
|
134912
|
+
* @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
|
|
134913
|
+
* @param {*} [options] Override http request option.
|
|
134914
|
+
* @throws {RequiredError}
|
|
134915
|
+
*/
|
|
134916
|
+
public requestImageDirectUpload(requestParameters: StorageImagesApiRequestImageDirectUploadRequest, options?: RawAxiosRequestConfig) {
|
|
134917
|
+
return StorageImagesApiFp(this.configuration).requestImageDirectUpload(requestParameters.imageDirectUploadInputs, options).then((request) => request(this.axios, this.basePath));
|
|
134918
|
+
}
|
|
134919
|
+
|
|
134819
134920
|
/**
|
|
134820
134921
|
* Switch Image endpoint
|
|
134821
134922
|
* @summary Switch Image
|