@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/dist/esm/api.d.ts
CHANGED
|
@@ -908,6 +908,7 @@ export interface BaseBookingSpace {
|
|
|
908
908
|
'name': string;
|
|
909
909
|
'slug': string;
|
|
910
910
|
'supply': number;
|
|
911
|
+
'bookingLimitPerAccount': number | null;
|
|
911
912
|
'slotDuration': number;
|
|
912
913
|
'price': number;
|
|
913
914
|
'description': string | null;
|
|
@@ -2622,6 +2623,7 @@ export interface BookingSpace {
|
|
|
2622
2623
|
'name': string;
|
|
2623
2624
|
'slug': string;
|
|
2624
2625
|
'supply': number;
|
|
2626
|
+
'bookingLimitPerAccount': number | null;
|
|
2625
2627
|
'slotDuration': number;
|
|
2626
2628
|
'price': number;
|
|
2627
2629
|
'description': string | null;
|
|
@@ -2683,6 +2685,7 @@ export interface BookingSpaceBlackoutUpdateInputs {
|
|
|
2683
2685
|
export interface BookingSpaceCreateInputs {
|
|
2684
2686
|
'name': string;
|
|
2685
2687
|
'supply': EventCreateInputsSplitPaymentPercentage;
|
|
2688
|
+
'bookingLimitPerAccount'?: AdvertisementCreateInputsWeight | null;
|
|
2686
2689
|
'slotDuration': EventCreateInputsSplitPaymentPercentage;
|
|
2687
2690
|
'price'?: EventCreateInputsSplitPaymentPercentage;
|
|
2688
2691
|
'description'?: string | null;
|
|
@@ -2865,6 +2868,7 @@ export interface BookingSpaceTranslationUpdateInputs {
|
|
|
2865
2868
|
export interface BookingSpaceUpdateInputs {
|
|
2866
2869
|
'name'?: string;
|
|
2867
2870
|
'supply'?: EventCreateInputsSplitPaymentPercentage;
|
|
2871
|
+
'bookingLimitPerAccount'?: AdvertisementCreateInputsWeight | null;
|
|
2868
2872
|
'price'?: EventCreateInputsSplitPaymentPercentage;
|
|
2869
2873
|
'description'?: string | null;
|
|
2870
2874
|
'imageId'?: string | null;
|
|
@@ -3761,14 +3765,6 @@ export interface CreateGroupInvitations200Response {
|
|
|
3761
3765
|
export declare enum CreateGroupInvitations200ResponseStatusEnum {
|
|
3762
3766
|
Ok = "ok"
|
|
3763
3767
|
}
|
|
3764
|
-
export interface CreateImage200Response {
|
|
3765
|
-
'status': CreateImage200ResponseStatusEnum;
|
|
3766
|
-
'message': string;
|
|
3767
|
-
'data': Image;
|
|
3768
|
-
}
|
|
3769
|
-
export declare enum CreateImage200ResponseStatusEnum {
|
|
3770
|
-
Ok = "ok"
|
|
3771
|
-
}
|
|
3772
3768
|
export interface CreateIntegration200Response {
|
|
3773
3769
|
'status': CreateIntegration200ResponseStatusEnum;
|
|
3774
3770
|
'message': string;
|
|
@@ -7803,6 +7799,14 @@ export interface GetGroups200Response {
|
|
|
7803
7799
|
export declare enum GetGroups200ResponseStatusEnum {
|
|
7804
7800
|
Ok = "ok"
|
|
7805
7801
|
}
|
|
7802
|
+
export interface GetImage200Response {
|
|
7803
|
+
'status': GetImage200ResponseStatusEnum;
|
|
7804
|
+
'message': string;
|
|
7805
|
+
'data': Image;
|
|
7806
|
+
}
|
|
7807
|
+
export declare enum GetImage200ResponseStatusEnum {
|
|
7808
|
+
Ok = "ok"
|
|
7809
|
+
}
|
|
7806
7810
|
export interface GetImageUsage200Response {
|
|
7807
7811
|
'status': GetImageUsage200ResponseStatusEnum;
|
|
7808
7812
|
'message': string;
|
|
@@ -8895,11 +8899,14 @@ export interface Image {
|
|
|
8895
8899
|
'moderation': ImageModerationLevel;
|
|
8896
8900
|
'updatedAt': string;
|
|
8897
8901
|
}
|
|
8898
|
-
export interface
|
|
8899
|
-
'
|
|
8900
|
-
'
|
|
8901
|
-
|
|
8902
|
+
export interface ImageDirectUpload {
|
|
8903
|
+
'id': string;
|
|
8904
|
+
'uploadURL': string;
|
|
8905
|
+
}
|
|
8906
|
+
export interface ImageDirectUploadInputs {
|
|
8902
8907
|
'type': ImageType;
|
|
8908
|
+
'name'?: string | null;
|
|
8909
|
+
'description'?: string | null;
|
|
8903
8910
|
}
|
|
8904
8911
|
export declare enum ImageModerationLevel {
|
|
8905
8912
|
Safe = "safe",
|
|
@@ -10794,6 +10801,14 @@ export declare enum ReportType {
|
|
|
10794
10801
|
Revenue = "revenue",
|
|
10795
10802
|
Series = "series"
|
|
10796
10803
|
}
|
|
10804
|
+
export interface RequestImageDirectUpload200Response {
|
|
10805
|
+
'status': RequestImageDirectUpload200ResponseStatusEnum;
|
|
10806
|
+
'message': string;
|
|
10807
|
+
'data': ImageDirectUpload;
|
|
10808
|
+
}
|
|
10809
|
+
export declare enum RequestImageDirectUpload200ResponseStatusEnum {
|
|
10810
|
+
Ok = "ok"
|
|
10811
|
+
}
|
|
10797
10812
|
export interface Room {
|
|
10798
10813
|
'id': string;
|
|
10799
10814
|
'roomName': string;
|
|
@@ -73284,13 +73299,13 @@ export declare enum UploadFileSourceEnum {
|
|
|
73284
73299
|
*/
|
|
73285
73300
|
export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
73286
73301
|
/**
|
|
73287
|
-
*
|
|
73288
|
-
* @summary
|
|
73289
|
-
* @param {
|
|
73302
|
+
* Confirm Image Upload endpoint
|
|
73303
|
+
* @summary Confirm Image Upload
|
|
73304
|
+
* @param {string} imageId The image identifier
|
|
73290
73305
|
* @param {*} [options] Override http request option.
|
|
73291
73306
|
* @throws {RequiredError}
|
|
73292
73307
|
*/
|
|
73293
|
-
|
|
73308
|
+
confirmImageUpload: (imageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73294
73309
|
/**
|
|
73295
73310
|
* Delete Image endpoint
|
|
73296
73311
|
* @summary Delete Image
|
|
@@ -73335,6 +73350,14 @@ export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
73335
73350
|
* @throws {RequiredError}
|
|
73336
73351
|
*/
|
|
73337
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>;
|
|
73338
73361
|
/**
|
|
73339
73362
|
* Switch Image endpoint
|
|
73340
73363
|
* @summary Switch Image
|
|
@@ -73359,13 +73382,13 @@ export declare const StorageImagesApiAxiosParamCreator: (configuration?: Configu
|
|
|
73359
73382
|
*/
|
|
73360
73383
|
export declare const StorageImagesApiFp: (configuration?: Configuration) => {
|
|
73361
73384
|
/**
|
|
73362
|
-
*
|
|
73363
|
-
* @summary
|
|
73364
|
-
* @param {
|
|
73385
|
+
* Confirm Image Upload endpoint
|
|
73386
|
+
* @summary Confirm Image Upload
|
|
73387
|
+
* @param {string} imageId The image identifier
|
|
73365
73388
|
* @param {*} [options] Override http request option.
|
|
73366
73389
|
* @throws {RequiredError}
|
|
73367
73390
|
*/
|
|
73368
|
-
|
|
73391
|
+
confirmImageUpload(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
|
|
73369
73392
|
/**
|
|
73370
73393
|
* Delete Image endpoint
|
|
73371
73394
|
* @summary Delete Image
|
|
@@ -73389,7 +73412,7 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
|
|
|
73389
73412
|
* @param {*} [options] Override http request option.
|
|
73390
73413
|
* @throws {RequiredError}
|
|
73391
73414
|
*/
|
|
73392
|
-
getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73415
|
+
getImage(imageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
|
|
73393
73416
|
/**
|
|
73394
73417
|
* Get Image Usage endpoint
|
|
73395
73418
|
* @summary Get Image Usage
|
|
@@ -73410,6 +73433,14 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
|
|
|
73410
73433
|
* @throws {RequiredError}
|
|
73411
73434
|
*/
|
|
73412
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>>;
|
|
73413
73444
|
/**
|
|
73414
73445
|
* Switch Image endpoint
|
|
73415
73446
|
* @summary Switch Image
|
|
@@ -73418,7 +73449,7 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
|
|
|
73418
73449
|
* @param {*} [options] Override http request option.
|
|
73419
73450
|
* @throws {RequiredError}
|
|
73420
73451
|
*/
|
|
73421
|
-
switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73452
|
+
switchImage(imageId: string, image: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
|
|
73422
73453
|
/**
|
|
73423
73454
|
* Update Image endpoint
|
|
73424
73455
|
* @summary Update Image
|
|
@@ -73427,20 +73458,20 @@ export declare const StorageImagesApiFp: (configuration?: Configuration) => {
|
|
|
73427
73458
|
* @param {*} [options] Override http request option.
|
|
73428
73459
|
* @throws {RequiredError}
|
|
73429
73460
|
*/
|
|
73430
|
-
updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73461
|
+
updateImage(imageId: string, imageUpdateInputs: ImageUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetImage200Response>>;
|
|
73431
73462
|
};
|
|
73432
73463
|
/**
|
|
73433
73464
|
* StorageImagesApi - factory interface
|
|
73434
73465
|
*/
|
|
73435
73466
|
export declare const StorageImagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
73436
73467
|
/**
|
|
73437
|
-
*
|
|
73438
|
-
* @summary
|
|
73439
|
-
* @param {
|
|
73468
|
+
* Confirm Image Upload endpoint
|
|
73469
|
+
* @summary Confirm Image Upload
|
|
73470
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
73440
73471
|
* @param {*} [options] Override http request option.
|
|
73441
73472
|
* @throws {RequiredError}
|
|
73442
73473
|
*/
|
|
73443
|
-
|
|
73474
|
+
confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
|
|
73444
73475
|
/**
|
|
73445
73476
|
* Delete Image endpoint
|
|
73446
73477
|
* @summary Delete Image
|
|
@@ -73464,7 +73495,7 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
|
|
|
73464
73495
|
* @param {*} [options] Override http request option.
|
|
73465
73496
|
* @throws {RequiredError}
|
|
73466
73497
|
*/
|
|
73467
|
-
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
73498
|
+
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
|
|
73468
73499
|
/**
|
|
73469
73500
|
* Get Image Usage endpoint
|
|
73470
73501
|
* @summary Get Image Usage
|
|
@@ -73481,6 +73512,14 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
|
|
|
73481
73512
|
* @throws {RequiredError}
|
|
73482
73513
|
*/
|
|
73483
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>;
|
|
73484
73523
|
/**
|
|
73485
73524
|
* Switch Image endpoint
|
|
73486
73525
|
* @summary Switch Image
|
|
@@ -73488,7 +73527,7 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
|
|
|
73488
73527
|
* @param {*} [options] Override http request option.
|
|
73489
73528
|
* @throws {RequiredError}
|
|
73490
73529
|
*/
|
|
73491
|
-
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
73530
|
+
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
|
|
73492
73531
|
/**
|
|
73493
73532
|
* Update Image endpoint
|
|
73494
73533
|
* @summary Update Image
|
|
@@ -73496,13 +73535,16 @@ export declare const StorageImagesApiFactory: (configuration?: Configuration, ba
|
|
|
73496
73535
|
* @param {*} [options] Override http request option.
|
|
73497
73536
|
* @throws {RequiredError}
|
|
73498
73537
|
*/
|
|
73499
|
-
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
73538
|
+
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetImage200Response>;
|
|
73500
73539
|
};
|
|
73501
73540
|
/**
|
|
73502
|
-
* Request parameters for
|
|
73541
|
+
* Request parameters for confirmImageUpload operation in StorageImagesApi.
|
|
73503
73542
|
*/
|
|
73504
|
-
export interface
|
|
73505
|
-
|
|
73543
|
+
export interface StorageImagesApiConfirmImageUploadRequest {
|
|
73544
|
+
/**
|
|
73545
|
+
* The image identifier
|
|
73546
|
+
*/
|
|
73547
|
+
readonly imageId: string;
|
|
73506
73548
|
}
|
|
73507
73549
|
/**
|
|
73508
73550
|
* Request parameters for deleteImage operation in StorageImagesApi.
|
|
@@ -73562,6 +73604,12 @@ export interface StorageImagesApiGetImagesRequest {
|
|
|
73562
73604
|
*/
|
|
73563
73605
|
readonly search?: string;
|
|
73564
73606
|
}
|
|
73607
|
+
/**
|
|
73608
|
+
* Request parameters for requestImageDirectUpload operation in StorageImagesApi.
|
|
73609
|
+
*/
|
|
73610
|
+
export interface StorageImagesApiRequestImageDirectUploadRequest {
|
|
73611
|
+
readonly imageDirectUploadInputs: ImageDirectUploadInputs;
|
|
73612
|
+
}
|
|
73565
73613
|
/**
|
|
73566
73614
|
* Request parameters for switchImage operation in StorageImagesApi.
|
|
73567
73615
|
*/
|
|
@@ -73590,13 +73638,13 @@ export interface StorageImagesApiUpdateImageRequest {
|
|
|
73590
73638
|
*/
|
|
73591
73639
|
export declare class StorageImagesApi extends BaseAPI {
|
|
73592
73640
|
/**
|
|
73593
|
-
*
|
|
73594
|
-
* @summary
|
|
73595
|
-
* @param {
|
|
73641
|
+
* Confirm Image Upload endpoint
|
|
73642
|
+
* @summary Confirm Image Upload
|
|
73643
|
+
* @param {StorageImagesApiConfirmImageUploadRequest} requestParameters Request parameters.
|
|
73596
73644
|
* @param {*} [options] Override http request option.
|
|
73597
73645
|
* @throws {RequiredError}
|
|
73598
73646
|
*/
|
|
73599
|
-
|
|
73647
|
+
confirmImageUpload(requestParameters: StorageImagesApiConfirmImageUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
|
|
73600
73648
|
/**
|
|
73601
73649
|
* Delete Image endpoint
|
|
73602
73650
|
* @summary Delete Image
|
|
@@ -73620,7 +73668,7 @@ export declare class StorageImagesApi extends BaseAPI {
|
|
|
73620
73668
|
* @param {*} [options] Override http request option.
|
|
73621
73669
|
* @throws {RequiredError}
|
|
73622
73670
|
*/
|
|
73623
|
-
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
73671
|
+
getImage(requestParameters: StorageImagesApiGetImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
|
|
73624
73672
|
/**
|
|
73625
73673
|
* Get Image Usage endpoint
|
|
73626
73674
|
* @summary Get Image Usage
|
|
@@ -73637,6 +73685,14 @@ export declare class StorageImagesApi extends BaseAPI {
|
|
|
73637
73685
|
* @throws {RequiredError}
|
|
73638
73686
|
*/
|
|
73639
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, {}>>;
|
|
73640
73696
|
/**
|
|
73641
73697
|
* Switch Image endpoint
|
|
73642
73698
|
* @summary Switch Image
|
|
@@ -73644,7 +73700,7 @@ export declare class StorageImagesApi extends BaseAPI {
|
|
|
73644
73700
|
* @param {*} [options] Override http request option.
|
|
73645
73701
|
* @throws {RequiredError}
|
|
73646
73702
|
*/
|
|
73647
|
-
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
73703
|
+
switchImage(requestParameters: StorageImagesApiSwitchImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
|
|
73648
73704
|
/**
|
|
73649
73705
|
* Update Image endpoint
|
|
73650
73706
|
* @summary Update Image
|
|
@@ -73652,7 +73708,7 @@ export declare class StorageImagesApi extends BaseAPI {
|
|
|
73652
73708
|
* @param {*} [options] Override http request option.
|
|
73653
73709
|
* @throws {RequiredError}
|
|
73654
73710
|
*/
|
|
73655
|
-
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
73711
|
+
updateImage(requestParameters: StorageImagesApiUpdateImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetImage200Response, any, {}>>;
|
|
73656
73712
|
}
|
|
73657
73713
|
/**
|
|
73658
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
|
-
*
|
|
94055
|
-
* @summary
|
|
94056
|
-
* @param {
|
|
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
|
-
|
|
94061
|
-
// verify required parameter '
|
|
94062
|
-
assertParamExists('
|
|
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
|
-
*
|
|
94366
|
-
* @summary
|
|
94367
|
-
* @param {
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
|
-
*
|
|
94508
|
-
* @summary
|
|
94509
|
-
* @param {
|
|
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
|
-
|
|
94514
|
-
return localVarFp.
|
|
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
|
-
*
|
|
94594
|
-
* @summary
|
|
94595
|
-
* @param {
|
|
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
|
-
|
|
94600
|
-
return StorageImagesApiFp(this.configuration).
|
|
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
|
package/docs/BaseBookingSpace.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**slug** | **string** | | [default to undefined]
|
|
11
11
|
**supply** | **number** | | [default to undefined]
|
|
12
|
+
**bookingLimitPerAccount** | **number** | | [default to undefined]
|
|
12
13
|
**slotDuration** | **number** | | [default to undefined]
|
|
13
14
|
**price** | **number** | | [default to undefined]
|
|
14
15
|
**description** | **string** | | [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: BaseBookingSpace = {
|
|
|
31
32
|
name,
|
|
32
33
|
slug,
|
|
33
34
|
supply,
|
|
35
|
+
bookingLimitPerAccount,
|
|
34
36
|
slotDuration,
|
|
35
37
|
price,
|
|
36
38
|
description,
|
package/docs/BookingSpace.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**slug** | **string** | | [default to undefined]
|
|
11
11
|
**supply** | **number** | | [default to undefined]
|
|
12
|
+
**bookingLimitPerAccount** | **number** | | [default to undefined]
|
|
12
13
|
**slotDuration** | **number** | | [default to undefined]
|
|
13
14
|
**price** | **number** | | [default to undefined]
|
|
14
15
|
**description** | **string** | | [default to undefined]
|
|
@@ -44,6 +45,7 @@ const instance: BookingSpace = {
|
|
|
44
45
|
name,
|
|
45
46
|
slug,
|
|
46
47
|
supply,
|
|
48
|
+
bookingLimitPerAccount,
|
|
47
49
|
slotDuration,
|
|
48
50
|
price,
|
|
49
51
|
description,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | | [default to undefined]
|
|
9
9
|
**supply** | [**EventCreateInputsSplitPaymentPercentage**](EventCreateInputsSplitPaymentPercentage.md) | | [default to undefined]
|
|
10
|
+
**bookingLimitPerAccount** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
|
|
10
11
|
**slotDuration** | [**EventCreateInputsSplitPaymentPercentage**](EventCreateInputsSplitPaymentPercentage.md) | | [default to undefined]
|
|
11
12
|
**price** | [**EventCreateInputsSplitPaymentPercentage**](EventCreateInputsSplitPaymentPercentage.md) | | [optional] [default to undefined]
|
|
12
13
|
**description** | **string** | | [optional] [default to undefined]
|
|
@@ -36,6 +37,7 @@ import { BookingSpaceCreateInputs } from '@connectedxm/admin-sdk';
|
|
|
36
37
|
const instance: BookingSpaceCreateInputs = {
|
|
37
38
|
name,
|
|
38
39
|
supply,
|
|
40
|
+
bookingLimitPerAccount,
|
|
39
41
|
slotDuration,
|
|
40
42
|
price,
|
|
41
43
|
description,
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**supply** | [**EventCreateInputsSplitPaymentPercentage**](EventCreateInputsSplitPaymentPercentage.md) | | [optional] [default to undefined]
|
|
10
|
+
**bookingLimitPerAccount** | [**AdvertisementCreateInputsWeight**](AdvertisementCreateInputsWeight.md) | | [optional] [default to undefined]
|
|
10
11
|
**price** | [**EventCreateInputsSplitPaymentPercentage**](EventCreateInputsSplitPaymentPercentage.md) | | [optional] [default to undefined]
|
|
11
12
|
**description** | **string** | | [optional] [default to undefined]
|
|
12
13
|
**imageId** | **string** | | [optional] [default to undefined]
|
|
@@ -35,6 +36,7 @@ import { BookingSpaceUpdateInputs } from '@connectedxm/admin-sdk';
|
|
|
35
36
|
const instance: BookingSpaceUpdateInputs = {
|
|
36
37
|
name,
|
|
37
38
|
supply,
|
|
39
|
+
bookingLimitPerAccount,
|
|
38
40
|
price,
|
|
39
41
|
description,
|
|
40
42
|
imageId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
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 {
|
|
15
|
+
import { GetImage200Response } from '@connectedxm/admin-sdk';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: GetImage200Response = {
|
|
18
18
|
status,
|
|
19
19
|
message,
|
|
20
20
|
data,
|