@connectedxm/admin-sdk 7.2.9 → 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 +145 -48
- package/dist/api.d.ts +92 -40
- package/dist/api.js +126 -52
- package/dist/esm/api.d.ts +92 -40
- package/dist/esm/api.js +103 -29
- 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
|
@@ -4114,16 +4114,6 @@ export enum CreateGroupInvitations200ResponseStatusEnum {
|
|
|
4114
4114
|
Ok = 'ok'
|
|
4115
4115
|
}
|
|
4116
4116
|
|
|
4117
|
-
export interface CreateImage200Response {
|
|
4118
|
-
'status': CreateImage200ResponseStatusEnum;
|
|
4119
|
-
'message': string;
|
|
4120
|
-
'data': Image;
|
|
4121
|
-
}
|
|
4122
|
-
|
|
4123
|
-
export enum CreateImage200ResponseStatusEnum {
|
|
4124
|
-
Ok = 'ok'
|
|
4125
|
-
}
|
|
4126
|
-
|
|
4127
4117
|
export interface CreateIntegration200Response {
|
|
4128
4118
|
'status': CreateIntegration200ResponseStatusEnum;
|
|
4129
4119
|
'message': string;
|
|
@@ -8745,6 +8735,16 @@ export enum GetGroups200ResponseStatusEnum {
|
|
|
8745
8735
|
Ok = 'ok'
|
|
8746
8736
|
}
|
|
8747
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
|
+
|
|
8748
8748
|
export interface GetImageUsage200Response {
|
|
8749
8749
|
'status': GetImageUsage200ResponseStatusEnum;
|
|
8750
8750
|
'message': string;
|
|
@@ -10083,11 +10083,14 @@ export interface Image {
|
|
|
10083
10083
|
}
|
|
10084
10084
|
|
|
10085
10085
|
|
|
10086
|
-
export interface
|
|
10087
|
-
'
|
|
10088
|
-
'
|
|
10089
|
-
|
|
10086
|
+
export interface ImageDirectUpload {
|
|
10087
|
+
'id': string;
|
|
10088
|
+
'uploadURL': string;
|
|
10089
|
+
}
|
|
10090
|
+
export interface ImageDirectUploadInputs {
|
|
10090
10091
|
'type': ImageType;
|
|
10092
|
+
'name'?: string | null;
|
|
10093
|
+
'description'?: string | null;
|
|
10091
10094
|
}
|
|
10092
10095
|
|
|
10093
10096
|
|
|
@@ -12185,6 +12188,16 @@ export enum ReportType {
|
|
|
12185
12188
|
}
|
|
12186
12189
|
|
|
12187
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
|
+
|
|
12188
12201
|
export interface Room {
|
|
12189
12202
|
'id': string;
|
|
12190
12203
|
'roomName': string;
|
|
@@ -134082,16 +134095,17 @@ export enum UploadFileSourceEnum {
|
|
|
134082
134095
|
export const StorageImagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
134083
134096
|
return {
|
|
134084
134097
|
/**
|
|
134085
|
-
*
|
|
134086
|
-
* @summary
|
|
134087
|
-
* @param {
|
|
134098
|
+
* Confirm Image Upload endpoint
|
|
134099
|
+
* @summary Confirm Image Upload
|
|
134100
|
+
* @param {string} imageId The image identifier
|
|
134088
134101
|
* @param {*} [options] Override http request option.
|
|
134089
134102
|
* @throws {RequiredError}
|
|
134090
134103
|
*/
|
|
134091
|
-
|
|
134092
|
-
// verify required parameter '
|
|
134093
|
-
assertParamExists('
|
|
134094
|
-
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)));
|
|
134095
134109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134096
134110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
134097
134111
|
let baseOptions;
|
|
@@ -134109,13 +134123,11 @@ export const StorageImagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
134109
134123
|
// authentication OrganizationId required
|
|
134110
134124
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
134111
134125
|
|
|
134112
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
134113
134126
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
134114
134127
|
|
|
134115
134128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
134116
134129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134117
134130
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
134118
|
-
localVarRequestOptions.data = serializeDataIfNeeded(imageCreateInputs, localVarRequestOptions, configuration)
|
|
134119
134131
|
|
|
134120
134132
|
return {
|
|
134121
134133
|
url: toPathString(localVarUrlObj),
|
|
@@ -134344,6 +134356,47 @@ export const StorageImagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
134344
134356
|
options: localVarRequestOptions,
|
|
134345
134357
|
};
|
|
134346
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
|
+
},
|
|
134347
134400
|
/**
|
|
134348
134401
|
* Switch Image endpoint
|
|
134349
134402
|
* @summary Switch Image
|
|
@@ -134448,16 +134501,16 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134448
134501
|
const localVarAxiosParamCreator = StorageImagesApiAxiosParamCreator(configuration)
|
|
134449
134502
|
return {
|
|
134450
134503
|
/**
|
|
134451
|
-
*
|
|
134452
|
-
* @summary
|
|
134453
|
-
* @param {
|
|
134504
|
+
* Confirm Image Upload endpoint
|
|
134505
|
+
* @summary Confirm Image Upload
|
|
134506
|
+
* @param {string} imageId The image identifier
|
|
134454
134507
|
* @param {*} [options] Override http request option.
|
|
134455
134508
|
* @throws {RequiredError}
|
|
134456
134509
|
*/
|
|
134457
|
-
async
|
|
134458
|
-
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);
|
|
134459
134512
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134460
|
-
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.
|
|
134513
|
+
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.confirmImageUpload']?.[localVarOperationServerIndex]?.url;
|
|
134461
134514
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134462
134515
|
},
|
|
134463
134516
|
/**
|
|
@@ -134493,7 +134546,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134493
134546
|
* @param {*} [options] Override http request option.
|
|
134494
134547
|
* @throws {RequiredError}
|
|
134495
134548
|
*/
|
|
134496
|
-
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>> {
|
|
134497
134550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getImage(imageId, options);
|
|
134498
134551
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134499
134552
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.getImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134529,6 +134582,19 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134529
134582
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.getImages']?.[localVarOperationServerIndex]?.url;
|
|
134530
134583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
134531
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
|
+
},
|
|
134532
134598
|
/**
|
|
134533
134599
|
* Switch Image endpoint
|
|
134534
134600
|
* @summary Switch Image
|
|
@@ -134537,7 +134603,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134537
134603
|
* @param {*} [options] Override http request option.
|
|
134538
134604
|
* @throws {RequiredError}
|
|
134539
134605
|
*/
|
|
134540
|
-
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>> {
|
|
134541
134607
|
const localVarAxiosArgs = await localVarAxiosParamCreator.switchImage(imageId, image, options);
|
|
134542
134608
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134543
134609
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.switchImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134551,7 +134617,7 @@ export const StorageImagesApiFp = function(configuration?: Configuration) {
|
|
|
134551
134617
|
* @param {*} [options] Override http request option.
|
|
134552
134618
|
* @throws {RequiredError}
|
|
134553
134619
|
*/
|
|
134554
|
-
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>> {
|
|
134555
134621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateImage(imageId, imageUpdateInputs, options);
|
|
134556
134622
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
134557
134623
|
const localVarOperationServerBasePath = operationServerMap['StorageImagesApi.updateImage']?.[localVarOperationServerIndex]?.url;
|
|
@@ -134567,14 +134633,14 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134567
134633
|
const localVarFp = StorageImagesApiFp(configuration)
|
|
134568
134634
|
return {
|
|
134569
134635
|
/**
|
|
134570
|
-
*
|
|
134571
|
-
* @summary
|
|
134572
|
-
* @param {
|
|
134636
|
+
* Confirm Image Upload endpoint
|
|
134637
|
+
* @summary Confirm Image Upload
|
|
134638
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
134573
134639
|
* @param {*} [options] Override http request option.
|
|
134574
134640
|
* @throws {RequiredError}
|
|
134575
134641
|
*/
|
|
134576
|
-
|
|
134577
|
-
return localVarFp.
|
|
134642
|
+
confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134643
|
+
return localVarFp.confirmImageUpload(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
134578
134644
|
},
|
|
134579
134645
|
/**
|
|
134580
134646
|
* Delete Image endpoint
|
|
@@ -134603,7 +134669,7 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134603
134669
|
* @param {*} [options] Override http request option.
|
|
134604
134670
|
* @throws {RequiredError}
|
|
134605
134671
|
*/
|
|
134606
|
-
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134672
|
+
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134607
134673
|
return localVarFp.getImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
134608
134674
|
},
|
|
134609
134675
|
/**
|
|
@@ -134626,6 +134692,16 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134626
134692
|
getImages(requestParameters: StorageImagesApiGetImagesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetImages200Response> {
|
|
134627
134693
|
return localVarFp.getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
134628
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
|
+
},
|
|
134629
134705
|
/**
|
|
134630
134706
|
* Switch Image endpoint
|
|
134631
134707
|
* @summary Switch Image
|
|
@@ -134633,7 +134709,7 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134633
134709
|
* @param {*} [options] Override http request option.
|
|
134634
134710
|
* @throws {RequiredError}
|
|
134635
134711
|
*/
|
|
134636
|
-
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134712
|
+
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134637
134713
|
return localVarFp.switchImage(requestParameters.imageId, requestParameters.image, options).then((request) => request(axios, basePath));
|
|
134638
134714
|
},
|
|
134639
134715
|
/**
|
|
@@ -134643,17 +134719,20 @@ export const StorageImagesApiFactory = function (configuration?: Configuration,
|
|
|
134643
134719
|
* @param {*} [options] Override http request option.
|
|
134644
134720
|
* @throws {RequiredError}
|
|
134645
134721
|
*/
|
|
134646
|
-
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
134722
|
+
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response> {
|
|
134647
134723
|
return localVarFp.updateImage(requestParameters.imageId, requestParameters.imageUpdateInputs, options).then((request) => request(axios, basePath));
|
|
134648
134724
|
},
|
|
134649
134725
|
};
|
|
134650
134726
|
};
|
|
134651
134727
|
|
|
134652
134728
|
/**
|
|
134653
|
-
* Request parameters for
|
|
134729
|
+
* Request parameters for confirmImageUpload operation in StorageImagesApi.
|
|
134654
134730
|
*/
|
|
134655
|
-
export interface
|
|
134656
|
-
|
|
134731
|
+
export interface StorageImagesApiConfirmImageUploadRequest {
|
|
134732
|
+
/**
|
|
134733
|
+
* The image identifier
|
|
134734
|
+
*/
|
|
134735
|
+
readonly imageId: string
|
|
134657
134736
|
}
|
|
134658
134737
|
|
|
134659
134738
|
/**
|
|
@@ -134723,6 +134802,13 @@ export interface StorageImagesApiGetImagesRequest {
|
|
|
134723
134802
|
readonly search?: string
|
|
134724
134803
|
}
|
|
134725
134804
|
|
|
134805
|
+
/**
|
|
134806
|
+
* Request parameters for requestImageDirectUpload operation in StorageImagesApi.
|
|
134807
|
+
*/
|
|
134808
|
+
export interface StorageImagesApiRequestImageDirectUploadRequest {
|
|
134809
|
+
readonly imageDirectUploadInputs: ImageDirectUploadInputs
|
|
134810
|
+
}
|
|
134811
|
+
|
|
134726
134812
|
/**
|
|
134727
134813
|
* Request parameters for switchImage operation in StorageImagesApi.
|
|
134728
134814
|
*/
|
|
@@ -134755,14 +134841,14 @@ export interface StorageImagesApiUpdateImageRequest {
|
|
|
134755
134841
|
*/
|
|
134756
134842
|
export class StorageImagesApi extends BaseAPI {
|
|
134757
134843
|
/**
|
|
134758
|
-
*
|
|
134759
|
-
* @summary
|
|
134760
|
-
* @param {
|
|
134844
|
+
* Confirm Image Upload endpoint
|
|
134845
|
+
* @summary Confirm Image Upload
|
|
134846
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
134761
134847
|
* @param {*} [options] Override http request option.
|
|
134762
134848
|
* @throws {RequiredError}
|
|
134763
134849
|
*/
|
|
134764
|
-
public
|
|
134765
|
-
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));
|
|
134766
134852
|
}
|
|
134767
134853
|
|
|
134768
134854
|
/**
|
|
@@ -134820,6 +134906,17 @@ export class StorageImagesApi extends BaseAPI {
|
|
|
134820
134906
|
return StorageImagesApiFp(this.configuration).getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
134821
134907
|
}
|
|
134822
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
|
+
|
|
134823
134920
|
/**
|
|
134824
134921
|
* Switch Image endpoint
|
|
134825
134922
|
* @summary Switch Image
|