@connectedxm/admin-sdk 7.2.9 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -3765,14 +3765,6 @@ export interface CreateGroupInvitations200Response {
3765
3765
  export declare enum CreateGroupInvitations200ResponseStatusEnum {
3766
3766
  Ok = "ok"
3767
3767
  }
3768
- export interface CreateImage200Response {
3769
- 'status': CreateImage200ResponseStatusEnum;
3770
- 'message': string;
3771
- 'data': Image;
3772
- }
3773
- export declare enum CreateImage200ResponseStatusEnum {
3774
- Ok = "ok"
3775
- }
3776
3768
  export interface CreateIntegration200Response {
3777
3769
  'status': CreateIntegration200ResponseStatusEnum;
3778
3770
  'message': string;
@@ -7807,6 +7799,14 @@ export interface GetGroups200Response {
7807
7799
  export declare enum GetGroups200ResponseStatusEnum {
7808
7800
  Ok = "ok"
7809
7801
  }
7802
+ export interface GetImage200Response {
7803
+ 'status': GetImage200ResponseStatusEnum;
7804
+ 'message': string;
7805
+ 'data': Image;
7806
+ }
7807
+ export declare enum GetImage200ResponseStatusEnum {
7808
+ Ok = "ok"
7809
+ }
7810
7810
  export interface GetImageUsage200Response {
7811
7811
  'status': GetImageUsage200ResponseStatusEnum;
7812
7812
  'message': string;
@@ -8899,11 +8899,14 @@ export interface Image {
8899
8899
  'moderation': ImageModerationLevel;
8900
8900
  'updatedAt': string;
8901
8901
  }
8902
- export interface ImageCreateInputs {
8903
- 'imageDataUri': string;
8904
- 'name': string;
8905
- 'description'?: string | null;
8902
+ export interface ImageDirectUpload {
8903
+ 'id': string;
8904
+ 'uploadURL': string;
8905
+ }
8906
+ export interface ImageDirectUploadInputs {
8906
8907
  'type': ImageType;
8908
+ 'name'?: string | null;
8909
+ 'description'?: string | null;
8907
8910
  }
8908
8911
  export declare enum ImageModerationLevel {
8909
8912
  Safe = "safe",
@@ -9531,8 +9534,8 @@ export declare enum MeetingSessionStatusEnum {
9531
9534
  Ended = "ENDED"
9532
9535
  }
9533
9536
  export interface MeetingSessionChatDownload {
9534
- 'chat_download_url': string;
9535
- 'chat_download_url_expiry': string;
9537
+ 'chat_download_url'?: string;
9538
+ 'chat_download_url_expiry'?: string;
9536
9539
  }
9537
9540
  export interface MeetingSessionParticipant {
9538
9541
  'id': string;
@@ -9629,13 +9632,13 @@ export interface MeetingSessionParticipantAllOfVideoStats {
9629
9632
  }
9630
9633
  export interface MeetingSessionSummaryDownload {
9631
9634
  'sessionId': string;
9632
- 'summary_download_url': string;
9633
- 'summary_download_url_expiry': string;
9635
+ 'summary_download_url'?: string;
9636
+ 'summary_download_url_expiry'?: string;
9634
9637
  }
9635
9638
  export interface MeetingSessionTranscriptDownload {
9636
9639
  'sessionId': string;
9637
- 'transcript_download_url': string;
9638
- 'transcript_download_url_expiry': string;
9640
+ 'transcript_download_url'?: string;
9641
+ 'transcript_download_url_expiry'?: string;
9639
9642
  }
9640
9643
  export declare enum MeetingType {
9641
9644
  GroupCall = "GROUP_CALL",
@@ -10798,6 +10801,14 @@ export declare enum ReportType {
10798
10801
  Revenue = "revenue",
10799
10802
  Series = "series"
10800
10803
  }
10804
+ export interface RequestImageDirectUpload200Response {
10805
+ 'status': RequestImageDirectUpload200ResponseStatusEnum;
10806
+ 'message': string;
10807
+ 'data': ImageDirectUpload;
10808
+ }
10809
+ export declare enum RequestImageDirectUpload200ResponseStatusEnum {
10810
+ Ok = "ok"
10811
+ }
10801
10812
  export interface Room {
10802
10813
  'id': string;
10803
10814
  'roomName': string;
@@ -73288,13 +73299,13 @@ export declare enum UploadFileSourceEnum {
73288
73299
  */
73289
73300
  export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configuration) => {
73290
73301
  /**
73291
- * Create Image endpoint
73292
- * @summary Create Image
73293
- * @param {ImageCreateInputs} imageCreateInputs
73302
+ * Confirm Image Upload endpoint
73303
+ * @summary Confirm Image Upload
73304
+ * @param {string} imageId The image identifier
73294
73305
  * @param {*} [options] Override http request option.
73295
73306
  * @throws {RequiredError}
73296
73307
  */
73297
- createImage: (imageCreateInputs: ImageCreateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73308
+ confirmImageUpload: (imageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73298
73309
  /**
73299
73310
  * Delete Image endpoint
73300
73311
  * @summary Delete Image
@@ -73339,6 +73350,14 @@ export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configu
73339
73350
  * @throws {RequiredError}
73340
73351
  */
73341
73352
  getImages: (type?: ImageType, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73353
+ /**
73354
+ * Request Image Direct Upload endpoint
73355
+ * @summary Request Image Direct Upload
73356
+ * @param {ImageDirectUploadInputs} imageDirectUploadInputs
73357
+ * @param {*} [options] Override http request option.
73358
+ * @throws {RequiredError}
73359
+ */
73360
+ requestImageDirectUpload: (imageDirectUploadInputs: ImageDirectUploadInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
73342
73361
  /**
73343
73362
  * Switch Image endpoint
73344
73363
  * @summary Switch Image
@@ -73363,13 +73382,13 @@ export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configu
73363
73382
  */
73364
73383
  export declare const StorageImagesApiFp: (configuration?: Configuration) => {
73365
73384
  /**
73366
- * Create Image endpoint
73367
- * @summary Create Image
73368
- * @param {ImageCreateInputs} imageCreateInputs
73385
+ * Confirm Image Upload endpoint
73386
+ * @summary Confirm Image Upload
73387
+ * @param {string} imageId The image identifier
73369
73388
  * @param {*} [options] Override http request option.
73370
73389
  * @throws {RequiredError}
73371
73390
  */
73372
- createImage(imageCreateInputs: ImageCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateImage200Response>>;
73391
+ confirmImageUpload(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
73373
73392
  /**
73374
73393
  * Delete Image endpoint
73375
73394
  * @summary Delete Image
@@ -73393,7 +73412,7 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
73393
73412
  * @param {*} [options] Override http request option.
73394
73413
  * @throws {RequiredError}
73395
73414
  */
73396
- getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateImage200Response>>;
73415
+ getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
73397
73416
  /**
73398
73417
  * Get Image Usage endpoint
73399
73418
  * @summary Get Image Usage
@@ -73414,6 +73433,14 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
73414
73433
  * @throws {RequiredError}
73415
73434
  */
73416
73435
  getImages(type?: ImageType, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImages200Response>>;
73436
+ /**
73437
+ * Request Image Direct Upload endpoint
73438
+ * @summary Request Image Direct Upload
73439
+ * @param {ImageDirectUploadInputs} imageDirectUploadInputs
73440
+ * @param {*} [options] Override http request option.
73441
+ * @throws {RequiredError}
73442
+ */
73443
+ requestImageDirectUpload(imageDirectUploadInputs: ImageDirectUploadInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestImageDirectUpload200Response>>;
73417
73444
  /**
73418
73445
  * Switch Image endpoint
73419
73446
  * @summary Switch Image
@@ -73422,7 +73449,7 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
73422
73449
  * @param {*} [options] Override http request option.
73423
73450
  * @throws {RequiredError}
73424
73451
  */
73425
- switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateImage200Response>>;
73452
+ switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
73426
73453
  /**
73427
73454
  * Update Image endpoint
73428
73455
  * @summary Update Image
@@ -73431,20 +73458,20 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
73431
73458
  * @param {*} [options] Override http request option.
73432
73459
  * @throws {RequiredError}
73433
73460
  */
73434
- updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateImage200Response>>;
73461
+ updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
73435
73462
  };
73436
73463
  /**
73437
73464
  * StorageImagesApi - factory interface
73438
73465
  */
73439
73466
  export declare const StorageImagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
73440
73467
  /**
73441
- * Create Image endpoint
73442
- * @summary Create Image
73443
- * @param {StorageImagesApiCreateImageRequest} requestParameters Request parameters.
73468
+ * Confirm Image Upload endpoint
73469
+ * @summary Confirm Image Upload
73470
+ * @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
73444
73471
  * @param {*} [options] Override http request option.
73445
73472
  * @throws {RequiredError}
73446
73473
  */
73447
- createImage(requestParameters: StorageImagesApiCreateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateImage200Response>;
73474
+ confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
73448
73475
  /**
73449
73476
  * Delete Image endpoint
73450
73477
  * @summary Delete Image
@@ -73468,7 +73495,7 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
73468
73495
  * @param {*} [options] Override http request option.
73469
73496
  * @throws {RequiredError}
73470
73497
  */
73471
- getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateImage200Response>;
73498
+ getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
73472
73499
  /**
73473
73500
  * Get Image Usage endpoint
73474
73501
  * @summary Get Image Usage
@@ -73485,6 +73512,14 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
73485
73512
  * @throws {RequiredError}
73486
73513
  */
73487
73514
  getImages(requestParameters?: StorageImagesApiGetImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImages200Response>;
73515
+ /**
73516
+ * Request Image Direct Upload endpoint
73517
+ * @summary Request Image Direct Upload
73518
+ * @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
73519
+ * @param {*} [options] Override http request option.
73520
+ * @throws {RequiredError}
73521
+ */
73522
+ requestImageDirectUpload(requestParameters: StorageImagesApiRequestImageDirectUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestImageDirectUpload200Response>;
73488
73523
  /**
73489
73524
  * Switch Image endpoint
73490
73525
  * @summary Switch Image
@@ -73492,7 +73527,7 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
73492
73527
  * @param {*} [options] Override http request option.
73493
73528
  * @throws {RequiredError}
73494
73529
  */
73495
- switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateImage200Response>;
73530
+ switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
73496
73531
  /**
73497
73532
  * Update Image endpoint
73498
73533
  * @summary Update Image
@@ -73500,13 +73535,16 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
73500
73535
  * @param {*} [options] Override http request option.
73501
73536
  * @throws {RequiredError}
73502
73537
  */
73503
- updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateImage200Response>;
73538
+ updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
73504
73539
  };
73505
73540
  /**
73506
- * Request parameters for createImage operation in StorageImagesApi.
73541
+ * Request parameters for confirmImageUpload operation in StorageImagesApi.
73507
73542
  */
73508
- export interface StorageImagesApiCreateImageRequest {
73509
- readonly imageCreateInputs: ImageCreateInputs;
73543
+ export interface StorageImagesApiConfirmImageUploadRequest {
73544
+ /**
73545
+ * The image identifier
73546
+ */
73547
+ readonly imageId: string;
73510
73548
  }
73511
73549
  /**
73512
73550
  * Request parameters for deleteImage operation in StorageImagesApi.
@@ -73566,6 +73604,12 @@ export interface StorageImagesApiGetImagesRequest {
73566
73604
  */
73567
73605
  readonly search?: string;
73568
73606
  }
73607
+ /**
73608
+ * Request parameters for requestImageDirectUpload operation in StorageImagesApi.
73609
+ */
73610
+ export interface StorageImagesApiRequestImageDirectUploadRequest {
73611
+ readonly imageDirectUploadInputs: ImageDirectUploadInputs;
73612
+ }
73569
73613
  /**
73570
73614
  * Request parameters for switchImage operation in StorageImagesApi.
73571
73615
  */
@@ -73594,13 +73638,13 @@ export interface StorageImagesApiUpdateImageRequest {
73594
73638
  */
73595
73639
  export declare class StorageImagesApi extends BaseAPI {
73596
73640
  /**
73597
- * Create Image endpoint
73598
- * @summary Create Image
73599
- * @param {StorageImagesApiCreateImageRequest} requestParameters Request parameters.
73641
+ * Confirm Image Upload endpoint
73642
+ * @summary Confirm Image Upload
73643
+ * @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
73600
73644
  * @param {*} [options] Override http request option.
73601
73645
  * @throws {RequiredError}
73602
73646
  */
73603
- createImage(requestParameters: StorageImagesApiCreateImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateImage200Response, any, {}>>;
73647
+ confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
73604
73648
  /**
73605
73649
  * Delete Image endpoint
73606
73650
  * @summary Delete Image
@@ -73624,7 +73668,7 @@ export declare class StorageImagesApi extends BaseAPI {
73624
73668
  * @param {*} [options] Override http request option.
73625
73669
  * @throws {RequiredError}
73626
73670
  */
73627
- getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateImage200Response, any, {}>>;
73671
+ getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
73628
73672
  /**
73629
73673
  * Get Image Usage endpoint
73630
73674
  * @summary Get Image Usage
@@ -73641,6 +73685,14 @@ export declare class StorageImagesApi extends BaseAPI {
73641
73685
  * @throws {RequiredError}
73642
73686
  */
73643
73687
  getImages(requestParameters?: StorageImagesApiGetImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImages200Response, any, {}>>;
73688
+ /**
73689
+ * Request Image Direct Upload endpoint
73690
+ * @summary Request Image Direct Upload
73691
+ * @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
73692
+ * @param {*} [options] Override http request option.
73693
+ * @throws {RequiredError}
73694
+ */
73695
+ requestImageDirectUpload(requestParameters: StorageImagesApiRequestImageDirectUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestImageDirectUpload200Response, any, {}>>;
73644
73696
  /**
73645
73697
  * Switch Image endpoint
73646
73698
  * @summary Switch Image
@@ -73648,7 +73700,7 @@ export declare class StorageImagesApi extends BaseAPI {
73648
73700
  * @param {*} [options] Override http request option.
73649
73701
  * @throws {RequiredError}
73650
73702
  */
73651
- switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateImage200Response, any, {}>>;
73703
+ switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
73652
73704
  /**
73653
73705
  * Update Image endpoint
73654
73706
  * @summary Update Image
@@ -73656,7 +73708,7 @@ export declare class StorageImagesApi extends BaseAPI {
73656
73708
  * @param {*} [options] Override http request option.
73657
73709
  * @throws {RequiredError}
73658
73710
  */
73659
- updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateImage200Response, any, {}>>;
73711
+ updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
73660
73712
  }
73661
73713
  /**
73662
73714
  * StorageVideosApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -416,10 +416,6 @@ export var CreateGroupInvitations200ResponseStatusEnum;
416
416
  (function (CreateGroupInvitations200ResponseStatusEnum) {
417
417
  CreateGroupInvitations200ResponseStatusEnum["Ok"] = "ok";
418
418
  })(CreateGroupInvitations200ResponseStatusEnum || (CreateGroupInvitations200ResponseStatusEnum = {}));
419
- export var CreateImage200ResponseStatusEnum;
420
- (function (CreateImage200ResponseStatusEnum) {
421
- CreateImage200ResponseStatusEnum["Ok"] = "ok";
422
- })(CreateImage200ResponseStatusEnum || (CreateImage200ResponseStatusEnum = {}));
423
419
  export var CreateIntegration200ResponseStatusEnum;
424
420
  (function (CreateIntegration200ResponseStatusEnum) {
425
421
  CreateIntegration200ResponseStatusEnum["Ok"] = "ok";
@@ -1456,6 +1452,10 @@ export var GetGroups200ResponseStatusEnum;
1456
1452
  (function (GetGroups200ResponseStatusEnum) {
1457
1453
  GetGroups200ResponseStatusEnum["Ok"] = "ok";
1458
1454
  })(GetGroups200ResponseStatusEnum || (GetGroups200ResponseStatusEnum = {}));
1455
+ export var GetImage200ResponseStatusEnum;
1456
+ (function (GetImage200ResponseStatusEnum) {
1457
+ GetImage200ResponseStatusEnum["Ok"] = "ok";
1458
+ })(GetImage200ResponseStatusEnum || (GetImage200ResponseStatusEnum = {}));
1459
1459
  export var GetImageUsage200ResponseStatusEnum;
1460
1460
  (function (GetImageUsage200ResponseStatusEnum) {
1461
1461
  GetImageUsage200ResponseStatusEnum["Ok"] = "ok";
@@ -2326,6 +2326,10 @@ export var ReportType;
2326
2326
  ReportType["Revenue"] = "revenue";
2327
2327
  ReportType["Series"] = "series";
2328
2328
  })(ReportType || (ReportType = {}));
2329
+ export var RequestImageDirectUpload200ResponseStatusEnum;
2330
+ (function (RequestImageDirectUpload200ResponseStatusEnum) {
2331
+ RequestImageDirectUpload200ResponseStatusEnum["Ok"] = "ok";
2332
+ })(RequestImageDirectUpload200ResponseStatusEnum || (RequestImageDirectUpload200ResponseStatusEnum = {}));
2329
2333
  export var RoundEventQuestionMatchTypeEnum;
2330
2334
  (function (RoundEventQuestionMatchTypeEnum) {
2331
2335
  RoundEventQuestionMatchTypeEnum["Include"] = "include";
@@ -94051,16 +94055,17 @@ export var UploadFileSourceEnum;
94051
94055
  export const StorageImagesApiAxiosParamCreator = function (configuration) {
94052
94056
  return {
94053
94057
  /**
94054
- * Create Image endpoint
94055
- * @summary Create Image
94056
- * @param {ImageCreateInputs} imageCreateInputs
94058
+ * Confirm Image Upload endpoint
94059
+ * @summary Confirm Image Upload
94060
+ * @param {string} imageId The image identifier
94057
94061
  * @param {*} [options] Override http request option.
94058
94062
  * @throws {RequiredError}
94059
94063
  */
94060
- createImage: (imageCreateInputs_1, ...args_1) => __awaiter(this, [imageCreateInputs_1, ...args_1], void 0, function* (imageCreateInputs, options = {}) {
94061
- // verify required parameter 'imageCreateInputs' is not null or undefined
94062
- assertParamExists('createImage', 'imageCreateInputs', imageCreateInputs);
94063
- const localVarPath = `/images`;
94064
+ confirmImageUpload: (imageId_1, ...args_1) => __awaiter(this, [imageId_1, ...args_1], void 0, function* (imageId, options = {}) {
94065
+ // verify required parameter 'imageId' is not null or undefined
94066
+ assertParamExists('confirmImageUpload', 'imageId', imageId);
94067
+ const localVarPath = `/images/{imageId}/confirm`
94068
+ .replace(`{${"imageId"}}`, encodeURIComponent(String(imageId)));
94064
94069
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
94065
94070
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
94066
94071
  let baseOptions;
@@ -94074,12 +94079,10 @@ export const StorageImagesApiAxiosParamCreator = function (configuration) {
94074
94079
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
94075
94080
  // authentication OrganizationId required
94076
94081
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
94077
- localVarHeaderParameter['Content-Type'] = 'application/json';
94078
94082
  localVarHeaderParameter['Accept'] = 'application/json';
94079
94083
  setSearchParams(localVarUrlObj, localVarQueryParameter);
94080
94084
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94081
94085
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94082
- localVarRequestOptions.data = serializeDataIfNeeded(imageCreateInputs, localVarRequestOptions, configuration);
94083
94086
  return {
94084
94087
  url: toPathString(localVarUrlObj),
94085
94088
  options: localVarRequestOptions,
@@ -94272,6 +94275,41 @@ export const StorageImagesApiAxiosParamCreator = function (configuration) {
94272
94275
  options: localVarRequestOptions,
94273
94276
  };
94274
94277
  }),
94278
+ /**
94279
+ * Request Image Direct Upload endpoint
94280
+ * @summary Request Image Direct Upload
94281
+ * @param {ImageDirectUploadInputs} imageDirectUploadInputs
94282
+ * @param {*} [options] Override http request option.
94283
+ * @throws {RequiredError}
94284
+ */
94285
+ requestImageDirectUpload: (imageDirectUploadInputs_1, ...args_1) => __awaiter(this, [imageDirectUploadInputs_1, ...args_1], void 0, function* (imageDirectUploadInputs, options = {}) {
94286
+ // verify required parameter 'imageDirectUploadInputs' is not null or undefined
94287
+ assertParamExists('requestImageDirectUpload', 'imageDirectUploadInputs', imageDirectUploadInputs);
94288
+ const localVarPath = `/images/direct-upload`;
94289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
94290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
94291
+ let baseOptions;
94292
+ if (configuration) {
94293
+ baseOptions = configuration.baseOptions;
94294
+ }
94295
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
94296
+ const localVarHeaderParameter = {};
94297
+ const localVarQueryParameter = {};
94298
+ // authentication ApiKeyAuth required
94299
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
94300
+ // authentication OrganizationId required
94301
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
94302
+ localVarHeaderParameter['Content-Type'] = 'application/json';
94303
+ localVarHeaderParameter['Accept'] = 'application/json';
94304
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
94305
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94306
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94307
+ localVarRequestOptions.data = serializeDataIfNeeded(imageDirectUploadInputs, localVarRequestOptions, configuration);
94308
+ return {
94309
+ url: toPathString(localVarUrlObj),
94310
+ options: localVarRequestOptions,
94311
+ };
94312
+ }),
94275
94313
  /**
94276
94314
  * Switch Image endpoint
94277
94315
  * @summary Switch Image
@@ -94362,18 +94400,18 @@ export const StorageImagesApiFp = function (configuration) {
94362
94400
  const localVarAxiosParamCreator = StorageImagesApiAxiosParamCreator(configuration);
94363
94401
  return {
94364
94402
  /**
94365
- * Create Image endpoint
94366
- * @summary Create Image
94367
- * @param {ImageCreateInputs} imageCreateInputs
94403
+ * Confirm Image Upload endpoint
94404
+ * @summary Confirm Image Upload
94405
+ * @param {string} imageId The image identifier
94368
94406
  * @param {*} [options] Override http request option.
94369
94407
  * @throws {RequiredError}
94370
94408
  */
94371
- createImage(imageCreateInputs, options) {
94409
+ confirmImageUpload(imageId, options) {
94372
94410
  return __awaiter(this, void 0, void 0, function* () {
94373
94411
  var _a, _b, _c;
94374
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createImage(imageCreateInputs, options);
94412
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmImageUpload(imageId, options);
94375
94413
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
94376
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageImagesApi.createImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
94414
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageImagesApi.confirmImageUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
94377
94415
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
94378
94416
  });
94379
94417
  },
@@ -94461,6 +94499,22 @@ export const StorageImagesApiFp = function (configuration) {
94461
94499
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
94462
94500
  });
94463
94501
  },
94502
+ /**
94503
+ * Request Image Direct Upload endpoint
94504
+ * @summary Request Image Direct Upload
94505
+ * @param {ImageDirectUploadInputs} imageDirectUploadInputs
94506
+ * @param {*} [options] Override http request option.
94507
+ * @throws {RequiredError}
94508
+ */
94509
+ requestImageDirectUpload(imageDirectUploadInputs, options) {
94510
+ return __awaiter(this, void 0, void 0, function* () {
94511
+ var _a, _b, _c;
94512
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.requestImageDirectUpload(imageDirectUploadInputs, options);
94513
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
94514
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageImagesApi.requestImageDirectUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
94515
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
94516
+ });
94517
+ },
94464
94518
  /**
94465
94519
  * Switch Image endpoint
94466
94520
  * @summary Switch Image
@@ -94504,14 +94558,14 @@ export const StorageImagesApiFactory = function (configuration, basePath, axios)
94504
94558
  const localVarFp = StorageImagesApiFp(configuration);
94505
94559
  return {
94506
94560
  /**
94507
- * Create Image endpoint
94508
- * @summary Create Image
94509
- * @param {StorageImagesApiCreateImageRequest} requestParameters Request parameters.
94561
+ * Confirm Image Upload endpoint
94562
+ * @summary Confirm Image Upload
94563
+ * @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
94510
94564
  * @param {*} [options] Override http request option.
94511
94565
  * @throws {RequiredError}
94512
94566
  */
94513
- createImage(requestParameters, options) {
94514
- return localVarFp.createImage(requestParameters.imageCreateInputs, options).then((request) => request(axios, basePath));
94567
+ confirmImageUpload(requestParameters, options) {
94568
+ return localVarFp.confirmImageUpload(requestParameters.imageId, options).then((request) => request(axios, basePath));
94515
94569
  },
94516
94570
  /**
94517
94571
  * Delete Image endpoint
@@ -94563,6 +94617,16 @@ export const StorageImagesApiFactory = function (configuration, basePath, axios)
94563
94617
  getImages(requestParameters = {}, options) {
94564
94618
  return localVarFp.getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
94565
94619
  },
94620
+ /**
94621
+ * Request Image Direct Upload endpoint
94622
+ * @summary Request Image Direct Upload
94623
+ * @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
94624
+ * @param {*} [options] Override http request option.
94625
+ * @throws {RequiredError}
94626
+ */
94627
+ requestImageDirectUpload(requestParameters, options) {
94628
+ return localVarFp.requestImageDirectUpload(requestParameters.imageDirectUploadInputs, options).then((request) => request(axios, basePath));
94629
+ },
94566
94630
  /**
94567
94631
  * Switch Image endpoint
94568
94632
  * @summary Switch Image
@@ -94590,14 +94654,14 @@ export const StorageImagesApiFactory = function (configuration, basePath, axios)
94590
94654
  */
94591
94655
  export class StorageImagesApi extends BaseAPI {
94592
94656
  /**
94593
- * Create Image endpoint
94594
- * @summary Create Image
94595
- * @param {StorageImagesApiCreateImageRequest} requestParameters Request parameters.
94657
+ * Confirm Image Upload endpoint
94658
+ * @summary Confirm Image Upload
94659
+ * @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
94596
94660
  * @param {*} [options] Override http request option.
94597
94661
  * @throws {RequiredError}
94598
94662
  */
94599
- createImage(requestParameters, options) {
94600
- return StorageImagesApiFp(this.configuration).createImage(requestParameters.imageCreateInputs, options).then((request) => request(this.axios, this.basePath));
94663
+ confirmImageUpload(requestParameters, options) {
94664
+ return StorageImagesApiFp(this.configuration).confirmImageUpload(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
94601
94665
  }
94602
94666
  /**
94603
94667
  * Delete Image endpoint
@@ -94649,6 +94713,16 @@ export class StorageImagesApi extends BaseAPI {
94649
94713
  getImages(requestParameters = {}, options) {
94650
94714
  return StorageImagesApiFp(this.configuration).getImages(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
94651
94715
  }
94716
+ /**
94717
+ * Request Image Direct Upload endpoint
94718
+ * @summary Request Image Direct Upload
94719
+ * @param {StorageImagesApiRequestImageDirectUploadRequest} requestParameters Request parameters.
94720
+ * @param {*} [options] Override http request option.
94721
+ * @throws {RequiredError}
94722
+ */
94723
+ requestImageDirectUpload(requestParameters, options) {
94724
+ return StorageImagesApiFp(this.configuration).requestImageDirectUpload(requestParameters.imageDirectUploadInputs, options).then((request) => request(this.axios, this.basePath));
94725
+ }
94652
94726
  /**
94653
94727
  * Switch Image endpoint
94654
94728
  * @summary Switch Image
@@ -1,4 +1,4 @@
1
- # CreateImage200Response
1
+ # GetImage200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { CreateImage200Response } from '@connectedxm/admin-sdk';
15
+ import { GetImage200Response } from '@connectedxm/admin-sdk';
16
16
 
17
- const instance: CreateImage200Response = {
17
+ const instance: GetImage200Response = {
18
18
  status,
19
19
  message,
20
20
  data,
@@ -0,0 +1,22 @@
1
+ # ImageDirectUpload
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **uploadURL** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ImageDirectUpload } from '@connectedxm/admin-sdk';
15
+
16
+ const instance: ImageDirectUpload = {
17
+ id,
18
+ uploadURL,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,25 +1,23 @@
1
- # ImageCreateInputs
1
+ # ImageDirectUploadInputs
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **imageDataUri** | **string** | | [default to undefined]
9
- **name** | **string** | | [default to undefined]
10
- **description** | **string** | | [optional] [default to undefined]
11
8
  **type** | [**ImageType**](ImageType.md) | | [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
12
11
 
13
12
  ## Example
14
13
 
15
14
  ```typescript
16
- import { ImageCreateInputs } from '@connectedxm/admin-sdk';
15
+ import { ImageDirectUploadInputs } from '@connectedxm/admin-sdk';
17
16
 
18
- const instance: ImageCreateInputs = {
19
- imageDataUri,
17
+ const instance: ImageDirectUploadInputs = {
18
+ type,
20
19
  name,
21
20
  description,
22
- type,
23
21
  };
24
22
  ```
25
23
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **chat_download_url** | **string** | | [default to undefined]
9
- **chat_download_url_expiry** | **string** | | [default to undefined]
8
+ **chat_download_url** | **string** | | [optional] [default to undefined]
9
+ **chat_download_url_expiry** | **string** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **sessionId** | **string** | | [default to undefined]
9
- **summary_download_url** | **string** | | [default to undefined]
10
- **summary_download_url_expiry** | **string** | | [default to undefined]
9
+ **summary_download_url** | **string** | | [optional] [default to undefined]
10
+ **summary_download_url_expiry** | **string** | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13