@connectedxm/admin-sdk 7.0.0 → 7.0.2

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.
@@ -1018,6 +1018,7 @@ docs/GetTaxIntegration200Response.md
1018
1018
  docs/GetTaxIntegrations200Response.md
1019
1019
  docs/GetTaxLog200Response.md
1020
1020
  docs/GetTaxLogs200Response.md
1021
+ docs/GetThreadAccounts200Response.md
1021
1022
  docs/GetThreadMessageFiles200Response.md
1022
1023
  docs/GetThreadMessageImages200Response.md
1023
1024
  docs/GetThreadMessageReactions200Response.md
@@ -1445,6 +1446,7 @@ docs/ThreadsMessagesFilesApi.md
1445
1446
  docs/ThreadsMessagesImagesApi.md
1446
1447
  docs/ThreadsMessagesReactionsApi.md
1447
1448
  docs/ThreadsMessagesVideosApi.md
1449
+ docs/ThreadsStorageApi.md
1448
1450
  docs/Tier.md
1449
1451
  docs/TierAllOfCount.md
1450
1452
  docs/TierCreateInputs.md
package/AdminApi.ts CHANGED
@@ -205,6 +205,7 @@ import {
205
205
  ThreadsMessagesImagesApi,
206
206
  ThreadsMessagesReactionsApi,
207
207
  ThreadsMessagesVideosApi,
208
+ ThreadsStorageApi,
208
209
  TiersApi,
209
210
  } from "./api";
210
211
 
@@ -411,6 +412,7 @@ export class AdminApi {
411
412
  public readonly threadsMessagesImages: ThreadsMessagesImagesApi;
412
413
  public readonly threadsMessagesReactions: ThreadsMessagesReactionsApi;
413
414
  public readonly threadsMessagesVideos: ThreadsMessagesVideosApi;
415
+ public readonly threadsStorage: ThreadsStorageApi;
414
416
  public readonly tiers: TiersApi;
415
417
 
416
418
  constructor(config: AdminApiConfig) {
@@ -615,6 +617,7 @@ export class AdminApi {
615
617
  this.threadsMessagesImages = new ThreadsMessagesImagesApi(this.config);
616
618
  this.threadsMessagesReactions = new ThreadsMessagesReactionsApi(this.config);
617
619
  this.threadsMessagesVideos = new ThreadsMessagesVideosApi(this.config);
620
+ this.threadsStorage = new ThreadsStorageApi(this.config);
618
621
  this.tiers = new TiersApi(this.config);
619
622
  }
620
623
 
package/README.md CHANGED
@@ -1236,6 +1236,9 @@ Class | Method | HTTP request | Description
1236
1236
  *ThreadsMessagesVideosApi* | [**createThreadMessageVideo**](docs/ThreadsMessagesVideosApi.md#createthreadmessagevideo) | **POST** /threads/{threadId}/messages/{messageId}/videos/{videoId} | Create Thread Message Video
1237
1237
  *ThreadsMessagesVideosApi* | [**deleteThreadMessageVideo**](docs/ThreadsMessagesVideosApi.md#deletethreadmessagevideo) | **DELETE** /threads/{threadId}/messages/{messageId}/videos/{videoId} | Delete Thread Message Video
1238
1238
  *ThreadsMessagesVideosApi* | [**getThreadMessageVideos**](docs/ThreadsMessagesVideosApi.md#getthreadmessagevideos) | **GET** /threads/{threadId}/messages/{messageId}/videos | Get Thread Message Videos
1239
+ *ThreadsStorageApi* | [**getThreadStorageFiles**](docs/ThreadsStorageApi.md#getthreadstoragefiles) | **GET** /threads/{threadId}/storage/files | Get Thread Storage Files
1240
+ *ThreadsStorageApi* | [**getThreadStorageImages**](docs/ThreadsStorageApi.md#getthreadstorageimages) | **GET** /threads/{threadId}/storage/images | Get Thread Storage Images
1241
+ *ThreadsStorageApi* | [**getThreadStorageVideos**](docs/ThreadsStorageApi.md#getthreadstoragevideos) | **GET** /threads/{threadId}/storage/videos | Get Thread Storage Videos
1239
1242
  *TiersApi* | [**createTier**](docs/TiersApi.md#createtier) | **POST** /tiers | Create Tier
1240
1243
  *TiersApi* | [**deleteTier**](docs/TiersApi.md#deletetier) | **DELETE** /tiers/{tierId} | Delete Tier
1241
1244
  *TiersApi* | [**getTier**](docs/TiersApi.md#gettier) | **GET** /tiers/{tierId} | Get Tier
@@ -2153,6 +2156,7 @@ Class | Method | HTTP request | Description
2153
2156
  - [GetTaxIntegrations200Response](docs/GetTaxIntegrations200Response.md)
2154
2157
  - [GetTaxLog200Response](docs/GetTaxLog200Response.md)
2155
2158
  - [GetTaxLogs200Response](docs/GetTaxLogs200Response.md)
2159
+ - [GetThreadAccounts200Response](docs/GetThreadAccounts200Response.md)
2156
2160
  - [GetThreadMessageFiles200Response](docs/GetThreadMessageFiles200Response.md)
2157
2161
  - [GetThreadMessageImages200Response](docs/GetThreadMessageImages200Response.md)
2158
2162
  - [GetThreadMessageReactions200Response](docs/GetThreadMessageReactions200Response.md)
package/api.ts CHANGED
@@ -9808,6 +9808,17 @@ export enum GetTaxLogs200ResponseStatusEnum {
9808
9808
  Ok = 'ok'
9809
9809
  }
9810
9810
 
9811
+ export interface GetThreadAccounts200Response {
9812
+ 'status': GetThreadAccounts200ResponseStatusEnum;
9813
+ 'message': string;
9814
+ 'data': Array<ThreadAccount>;
9815
+ 'count'?: number;
9816
+ }
9817
+
9818
+ export enum GetThreadAccounts200ResponseStatusEnum {
9819
+ Ok = 'ok'
9820
+ }
9821
+
9811
9822
  export interface GetThreadMessageFiles200Response {
9812
9823
  'status': GetThreadMessageFiles200ResponseStatusEnum;
9813
9824
  'message': string;
@@ -146210,7 +146221,7 @@ export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
146210
146221
  * @param {*} [options] Override http request option.
146211
146222
  * @throws {RequiredError}
146212
146223
  */
146213
- async getThreadAccounts(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
146224
+ async getThreadAccounts(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadAccounts200Response>> {
146214
146225
  const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadAccounts(threadId, page, pageSize, orderBy, search, options);
146215
146226
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
146216
146227
  const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.getThreadAccounts']?.[localVarOperationServerIndex]?.url;
@@ -146257,7 +146268,7 @@ export const ThreadsAccountsApiFactory = function (configuration?: Configuration
146257
146268
  * @param {*} [options] Override http request option.
146258
146269
  * @throws {RequiredError}
146259
146270
  */
146260
- getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
146271
+ getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadAccounts200Response> {
146261
146272
  return localVarFp.getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
146262
146273
  },
146263
146274
  /**
@@ -148329,6 +148340,423 @@ export class ThreadsMessagesVideosApi extends BaseAPI {
148329
148340
 
148330
148341
 
148331
148342
 
148343
+ /**
148344
+ * ThreadsStorageApi - axios parameter creator
148345
+ */
148346
+ export const ThreadsStorageApiAxiosParamCreator = function (configuration?: Configuration) {
148347
+ return {
148348
+ /**
148349
+ * Get Thread Storage Files endpoint
148350
+ * @summary Get Thread Storage Files
148351
+ * @param {string} threadId The thread identifier
148352
+ * @param {number} [page] Page number
148353
+ * @param {number} [pageSize] Number of items per page
148354
+ * @param {string} [orderBy] Field to order by
148355
+ * @param {string} [search] Search query
148356
+ * @param {*} [options] Override http request option.
148357
+ * @throws {RequiredError}
148358
+ */
148359
+ getThreadStorageFiles: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
148360
+ // verify required parameter 'threadId' is not null or undefined
148361
+ assertParamExists('getThreadStorageFiles', 'threadId', threadId)
148362
+ const localVarPath = `/threads/{threadId}/storage/files`
148363
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
148364
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
148365
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
148366
+ let baseOptions;
148367
+ if (configuration) {
148368
+ baseOptions = configuration.baseOptions;
148369
+ }
148370
+
148371
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
148372
+ const localVarHeaderParameter = {} as any;
148373
+ const localVarQueryParameter = {} as any;
148374
+
148375
+ // authentication ApiKeyAuth required
148376
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
148377
+
148378
+ // authentication OrganizationId required
148379
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
148380
+
148381
+ if (page !== undefined) {
148382
+ localVarQueryParameter['page'] = page;
148383
+ }
148384
+
148385
+ if (pageSize !== undefined) {
148386
+ localVarQueryParameter['pageSize'] = pageSize;
148387
+ }
148388
+
148389
+ if (orderBy !== undefined) {
148390
+ localVarQueryParameter['orderBy'] = orderBy;
148391
+ }
148392
+
148393
+ if (search !== undefined) {
148394
+ localVarQueryParameter['search'] = search;
148395
+ }
148396
+
148397
+ localVarHeaderParameter['Accept'] = 'application/json';
148398
+
148399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
148400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148401
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148402
+
148403
+ return {
148404
+ url: toPathString(localVarUrlObj),
148405
+ options: localVarRequestOptions,
148406
+ };
148407
+ },
148408
+ /**
148409
+ * Get Thread Storage Images endpoint
148410
+ * @summary Get Thread Storage Images
148411
+ * @param {string} threadId The thread identifier
148412
+ * @param {number} [page] Page number
148413
+ * @param {number} [pageSize] Number of items per page
148414
+ * @param {string} [orderBy] Field to order by
148415
+ * @param {string} [search] Search query
148416
+ * @param {*} [options] Override http request option.
148417
+ * @throws {RequiredError}
148418
+ */
148419
+ getThreadStorageImages: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
148420
+ // verify required parameter 'threadId' is not null or undefined
148421
+ assertParamExists('getThreadStorageImages', 'threadId', threadId)
148422
+ const localVarPath = `/threads/{threadId}/storage/images`
148423
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
148424
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
148425
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
148426
+ let baseOptions;
148427
+ if (configuration) {
148428
+ baseOptions = configuration.baseOptions;
148429
+ }
148430
+
148431
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
148432
+ const localVarHeaderParameter = {} as any;
148433
+ const localVarQueryParameter = {} as any;
148434
+
148435
+ // authentication ApiKeyAuth required
148436
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
148437
+
148438
+ // authentication OrganizationId required
148439
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
148440
+
148441
+ if (page !== undefined) {
148442
+ localVarQueryParameter['page'] = page;
148443
+ }
148444
+
148445
+ if (pageSize !== undefined) {
148446
+ localVarQueryParameter['pageSize'] = pageSize;
148447
+ }
148448
+
148449
+ if (orderBy !== undefined) {
148450
+ localVarQueryParameter['orderBy'] = orderBy;
148451
+ }
148452
+
148453
+ if (search !== undefined) {
148454
+ localVarQueryParameter['search'] = search;
148455
+ }
148456
+
148457
+ localVarHeaderParameter['Accept'] = 'application/json';
148458
+
148459
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
148460
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148461
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148462
+
148463
+ return {
148464
+ url: toPathString(localVarUrlObj),
148465
+ options: localVarRequestOptions,
148466
+ };
148467
+ },
148468
+ /**
148469
+ * Get Thread Storage Videos endpoint
148470
+ * @summary Get Thread Storage Videos
148471
+ * @param {string} threadId The thread identifier
148472
+ * @param {number} [page] Page number
148473
+ * @param {number} [pageSize] Number of items per page
148474
+ * @param {string} [orderBy] Field to order by
148475
+ * @param {string} [search] Search query
148476
+ * @param {*} [options] Override http request option.
148477
+ * @throws {RequiredError}
148478
+ */
148479
+ getThreadStorageVideos: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
148480
+ // verify required parameter 'threadId' is not null or undefined
148481
+ assertParamExists('getThreadStorageVideos', 'threadId', threadId)
148482
+ const localVarPath = `/threads/{threadId}/storage/videos`
148483
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
148484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
148485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
148486
+ let baseOptions;
148487
+ if (configuration) {
148488
+ baseOptions = configuration.baseOptions;
148489
+ }
148490
+
148491
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
148492
+ const localVarHeaderParameter = {} as any;
148493
+ const localVarQueryParameter = {} as any;
148494
+
148495
+ // authentication ApiKeyAuth required
148496
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
148497
+
148498
+ // authentication OrganizationId required
148499
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
148500
+
148501
+ if (page !== undefined) {
148502
+ localVarQueryParameter['page'] = page;
148503
+ }
148504
+
148505
+ if (pageSize !== undefined) {
148506
+ localVarQueryParameter['pageSize'] = pageSize;
148507
+ }
148508
+
148509
+ if (orderBy !== undefined) {
148510
+ localVarQueryParameter['orderBy'] = orderBy;
148511
+ }
148512
+
148513
+ if (search !== undefined) {
148514
+ localVarQueryParameter['search'] = search;
148515
+ }
148516
+
148517
+ localVarHeaderParameter['Accept'] = 'application/json';
148518
+
148519
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
148520
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
148521
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
148522
+
148523
+ return {
148524
+ url: toPathString(localVarUrlObj),
148525
+ options: localVarRequestOptions,
148526
+ };
148527
+ },
148528
+ }
148529
+ };
148530
+
148531
+ /**
148532
+ * ThreadsStorageApi - functional programming interface
148533
+ */
148534
+ export const ThreadsStorageApiFp = function(configuration?: Configuration) {
148535
+ const localVarAxiosParamCreator = ThreadsStorageApiAxiosParamCreator(configuration)
148536
+ return {
148537
+ /**
148538
+ * Get Thread Storage Files endpoint
148539
+ * @summary Get Thread Storage Files
148540
+ * @param {string} threadId The thread identifier
148541
+ * @param {number} [page] Page number
148542
+ * @param {number} [pageSize] Number of items per page
148543
+ * @param {string} [orderBy] Field to order by
148544
+ * @param {string} [search] Search query
148545
+ * @param {*} [options] Override http request option.
148546
+ * @throws {RequiredError}
148547
+ */
148548
+ async getThreadStorageFiles(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFiles200Response>> {
148549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageFiles(threadId, page, pageSize, orderBy, search, options);
148550
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
148551
+ const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageFiles']?.[localVarOperationServerIndex]?.url;
148552
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
148553
+ },
148554
+ /**
148555
+ * Get Thread Storage Images endpoint
148556
+ * @summary Get Thread Storage Images
148557
+ * @param {string} threadId The thread identifier
148558
+ * @param {number} [page] Page number
148559
+ * @param {number} [pageSize] Number of items per page
148560
+ * @param {string} [orderBy] Field to order by
148561
+ * @param {string} [search] Search query
148562
+ * @param {*} [options] Override http request option.
148563
+ * @throws {RequiredError}
148564
+ */
148565
+ async getThreadStorageImages(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPageImages200Response>> {
148566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageImages(threadId, page, pageSize, orderBy, search, options);
148567
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
148568
+ const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageImages']?.[localVarOperationServerIndex]?.url;
148569
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
148570
+ },
148571
+ /**
148572
+ * Get Thread Storage Videos endpoint
148573
+ * @summary Get Thread Storage Videos
148574
+ * @param {string} threadId The thread identifier
148575
+ * @param {number} [page] Page number
148576
+ * @param {number} [pageSize] Number of items per page
148577
+ * @param {string} [orderBy] Field to order by
148578
+ * @param {string} [search] Search query
148579
+ * @param {*} [options] Override http request option.
148580
+ * @throws {RequiredError}
148581
+ */
148582
+ async getThreadStorageVideos(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamVideos200Response>> {
148583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageVideos(threadId, page, pageSize, orderBy, search, options);
148584
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
148585
+ const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageVideos']?.[localVarOperationServerIndex]?.url;
148586
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
148587
+ },
148588
+ }
148589
+ };
148590
+
148591
+ /**
148592
+ * ThreadsStorageApi - factory interface
148593
+ */
148594
+ export const ThreadsStorageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
148595
+ const localVarFp = ThreadsStorageApiFp(configuration)
148596
+ return {
148597
+ /**
148598
+ * Get Thread Storage Files endpoint
148599
+ * @summary Get Thread Storage Files
148600
+ * @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
148601
+ * @param {*} [options] Override http request option.
148602
+ * @throws {RequiredError}
148603
+ */
148604
+ getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFiles200Response> {
148605
+ return localVarFp.getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
148606
+ },
148607
+ /**
148608
+ * Get Thread Storage Images endpoint
148609
+ * @summary Get Thread Storage Images
148610
+ * @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
148611
+ * @param {*} [options] Override http request option.
148612
+ * @throws {RequiredError}
148613
+ */
148614
+ getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPageImages200Response> {
148615
+ return localVarFp.getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
148616
+ },
148617
+ /**
148618
+ * Get Thread Storage Videos endpoint
148619
+ * @summary Get Thread Storage Videos
148620
+ * @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
148621
+ * @param {*} [options] Override http request option.
148622
+ * @throws {RequiredError}
148623
+ */
148624
+ getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamVideos200Response> {
148625
+ return localVarFp.getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
148626
+ },
148627
+ };
148628
+ };
148629
+
148630
+ /**
148631
+ * Request parameters for getThreadStorageFiles operation in ThreadsStorageApi.
148632
+ */
148633
+ export interface ThreadsStorageApiGetThreadStorageFilesRequest {
148634
+ /**
148635
+ * The thread identifier
148636
+ */
148637
+ readonly threadId: string
148638
+
148639
+ /**
148640
+ * Page number
148641
+ */
148642
+ readonly page?: number
148643
+
148644
+ /**
148645
+ * Number of items per page
148646
+ */
148647
+ readonly pageSize?: number
148648
+
148649
+ /**
148650
+ * Field to order by
148651
+ */
148652
+ readonly orderBy?: string
148653
+
148654
+ /**
148655
+ * Search query
148656
+ */
148657
+ readonly search?: string
148658
+ }
148659
+
148660
+ /**
148661
+ * Request parameters for getThreadStorageImages operation in ThreadsStorageApi.
148662
+ */
148663
+ export interface ThreadsStorageApiGetThreadStorageImagesRequest {
148664
+ /**
148665
+ * The thread identifier
148666
+ */
148667
+ readonly threadId: string
148668
+
148669
+ /**
148670
+ * Page number
148671
+ */
148672
+ readonly page?: number
148673
+
148674
+ /**
148675
+ * Number of items per page
148676
+ */
148677
+ readonly pageSize?: number
148678
+
148679
+ /**
148680
+ * Field to order by
148681
+ */
148682
+ readonly orderBy?: string
148683
+
148684
+ /**
148685
+ * Search query
148686
+ */
148687
+ readonly search?: string
148688
+ }
148689
+
148690
+ /**
148691
+ * Request parameters for getThreadStorageVideos operation in ThreadsStorageApi.
148692
+ */
148693
+ export interface ThreadsStorageApiGetThreadStorageVideosRequest {
148694
+ /**
148695
+ * The thread identifier
148696
+ */
148697
+ readonly threadId: string
148698
+
148699
+ /**
148700
+ * Page number
148701
+ */
148702
+ readonly page?: number
148703
+
148704
+ /**
148705
+ * Number of items per page
148706
+ */
148707
+ readonly pageSize?: number
148708
+
148709
+ /**
148710
+ * Field to order by
148711
+ */
148712
+ readonly orderBy?: string
148713
+
148714
+ /**
148715
+ * Search query
148716
+ */
148717
+ readonly search?: string
148718
+ }
148719
+
148720
+ /**
148721
+ * ThreadsStorageApi - object-oriented interface
148722
+ */
148723
+ export class ThreadsStorageApi extends BaseAPI {
148724
+ /**
148725
+ * Get Thread Storage Files endpoint
148726
+ * @summary Get Thread Storage Files
148727
+ * @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
148728
+ * @param {*} [options] Override http request option.
148729
+ * @throws {RequiredError}
148730
+ */
148731
+ public getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig) {
148732
+ return ThreadsStorageApiFp(this.configuration).getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
148733
+ }
148734
+
148735
+ /**
148736
+ * Get Thread Storage Images endpoint
148737
+ * @summary Get Thread Storage Images
148738
+ * @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
148739
+ * @param {*} [options] Override http request option.
148740
+ * @throws {RequiredError}
148741
+ */
148742
+ public getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig) {
148743
+ return ThreadsStorageApiFp(this.configuration).getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
148744
+ }
148745
+
148746
+ /**
148747
+ * Get Thread Storage Videos endpoint
148748
+ * @summary Get Thread Storage Videos
148749
+ * @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
148750
+ * @param {*} [options] Override http request option.
148751
+ * @throws {RequiredError}
148752
+ */
148753
+ public getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig) {
148754
+ return ThreadsStorageApiFp(this.configuration).getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
148755
+ }
148756
+ }
148757
+
148758
+
148759
+
148332
148760
  /**
148333
148761
  * TiersApi - axios parameter creator
148334
148762
  */
@@ -9,7 +9,7 @@
9
9
  * const accounts = await adminApi.accounts.getAccounts();
10
10
  * const eventsPasses = await adminApi.eventsPasses.getEventPasses();
11
11
  */
12
- import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, TiersApi } from "./api";
12
+ import { AccountsApi, AccountsAddressesApi, AccountsFollowersApi, AccountsFollowingApi, AccountsGroupsApi, AccountsInterestsApi, AccountsInvitationsApi, AccountsLeadsApi, AccountsTiersApi, ActivitiesApi, ActivitiesScheduleApi, AdvertisementsApi, AnnouncementsApi, AnnouncementsScheduleApi, AnnouncementsTranslationsApi, ApiLogsApi, AuthSessionsApi, BenefitsApi, BenefitsTranslationsApi, BookingsApi, BookingsAvailabilitiesApi, BookingsBlackoutsApi, BookingsPlacesApi, BookingsPlacesTranslationsApi, BookingsQuestionsApi, BookingsQuestionsChoicesApi, BookingsQuestionsChoicesTranslationsApi, BookingsQuestionsTranslationsApi, BookingsSpacesApi, BookingsSpacesTranslationsApi, ChannelsApi, ChannelsTranslationsApi, DashboardsApi, DashboardsWidgetsApi, EmailReceiptsApi, EventsApi, EventsAccessApi, EventsActivationsApi, EventsActivationsSessionsApi, EventsActivationsTranslationsApi, EventsAddonsApi, EventsAddonsTranslationsApi, EventsAttendeesApi, EventsAttendeesPackagesApi, EventsAttendeesReservationsApi, EventsAttributesApi, EventsBenefitsApi, EventsBlocksApi, EventsBypassApi, EventsCohostsApi, EventsCouponsApi, EventsEmailsApi, EventsEmailsTranslationsApi, EventsFaqsApi, EventsFaqsTranslationsApi, EventsFollowupsApi, EventsFollowupsTranslationsApi, EventsMatchesApi, EventsMediaApi, EventsMediaTranslationsApi, EventsOnSiteApi, EventsPackagesApi, EventsPackagesPassesApi, EventsPackagesTranslationsApi, EventsPagesApi, EventsPagesTranslationsApi, EventsPassesApi, EventsPassesAccessesApi, EventsPassesAddonsApi, EventsPassesAttributesApi, EventsPassesFollowupsApi, EventsPassesResponsesApi, EventsPasstypesApi, EventsPasstypesPriceschedulesApi, EventsPasstypesRefundschedulesApi, EventsPasstypesTranslationsApi, EventsQuestionsApi, EventsQuestionsTranslationsApi, EventsRoomsApi, EventsRoomtypesApi, EventsRoomtypesTranslationsApi, EventsSectionsApi, EventsSectionsTranslationsApi, EventsSessionsApi, EventsSessionsAccessesApi, EventsSessionsLocationsApi, EventsSessionsLocationsTranslationsApi, EventsSessionsMatchesApi, EventsSessionsPricesApi, EventsSessionsQuestionsApi, EventsSessionsQuestionsTranslationsApi, EventsSessionsSectionsApi, EventsSessionsSectionsTranslationsApi, EventsSessionsTimesApi, EventsSessionsTimesTranslationsApi, EventsSessionsTranslationsApi, EventsSpeakersApi, EventsSpeakersTranslationsApi, EventsSponsorsApi, EventsSponsorshiplevelsApi, EventsSponsorshiplevelsTranslationsApi, EventsSponsorshipsApi, EventsSponsorshipsTranslationsApi, EventsTemplatesApi, EventsTracksApi, EventsTracksTranslationsApi, EventsTranslationsApi, FilesApi, GroupsApi, GroupsEventsApi, GroupsInterestsApi, GroupsInvitationsApi, GroupsMembersApi, GroupsModeratorsApi, GroupsRequestsApi, GroupsSponsorsApi, GroupsTranslationsApi, ImportsApi, InterestsApi, InvoicesApi, InvoicesLineitemsApi, LoginsApi, LoginsAccountsApi, MeetingsApi, MeetingsLinksApi, MeetingsLivestreamsApi, MeetingsParticipantsApi, MeetingsPresetsApi, MeetingsRecordingsApi, MeetingsSessionsApi, NotificationsApi, OrganizationApi, OrganizationAttributesApi, OrganizationDomainsApi, OrganizationIntegrationsApi, OrganizationModulesApi, OrganizationModulesCustomApi, OrganizationModulesCustomTranslationsApi, OrganizationModulesSettingsApi, OrganizationModulesSettingsTranslationsApi, OrganizationModulesTiersApi, OrganizationPaymentsApi, OrganizationSideeffectsApi, OrganizationTaxApi, OrganizationTeammembersApi, OrganizationUsersApi, OrganizationWebhooksApi, PaymentsApi, PreferencesApi, PushDevicesApi, ReportsApi, ReportsUsersApi, SearchlistsApi, SearchlistsValuesApi, SelfApi, SelfApikeysApi, SelfImagesApi, SeriesApi, SeriesQuestionsApi, SeriesQuestionsChoicesApi, SeriesQuestionsTranslationsApi, SeriesRegistrationsApi, SeriesTranslationsApi, SponsorsApi, SponsorsAccountsApi, SponsorsTranslationsApi, StorageFilesApi, StorageImagesApi, StorageVideosApi, StorageVideosCaptionsApi, StreamsApi, StreamsOutputsApi, StreamsSessionsApi, SupportApi, SupportMessagesApi, SupportNotesApi, SurveysApi, SurveysQuestionsApi, SurveysQuestionsTranslationsApi, SurveysSectionsApi, SurveysSectionsTranslationsApi, SurveysSessionsApi, SurveysSubmissionsApi, SurveysTranslationsApi, ThreadsApi, ThreadsAccountsApi, ThreadsMessagesApi, ThreadsMessagesFilesApi, ThreadsMessagesImagesApi, ThreadsMessagesReactionsApi, ThreadsMessagesVideosApi, ThreadsStorageApi, TiersApi } from "./api";
13
13
  export interface AdminApiConfig {
14
14
  /** Your API key for authentication */
15
15
  apiKey: string;
@@ -211,6 +211,7 @@ export declare class AdminApi {
211
211
  readonly threadsMessagesImages: ThreadsMessagesImagesApi;
212
212
  readonly threadsMessagesReactions: ThreadsMessagesReactionsApi;
213
213
  readonly threadsMessagesVideos: ThreadsMessagesVideosApi;
214
+ readonly threadsStorage: ThreadsStorageApi;
214
215
  readonly tiers: TiersApi;
215
216
  constructor(config: AdminApiConfig);
216
217
  /**
package/dist/AdminApi.js CHANGED
@@ -219,6 +219,7 @@ class AdminApi {
219
219
  this.threadsMessagesImages = new api_1.ThreadsMessagesImagesApi(this.config);
220
220
  this.threadsMessagesReactions = new api_1.ThreadsMessagesReactionsApi(this.config);
221
221
  this.threadsMessagesVideos = new api_1.ThreadsMessagesVideosApi(this.config);
222
+ this.threadsStorage = new api_1.ThreadsStorageApi(this.config);
222
223
  this.tiers = new api_1.TiersApi(this.config);
223
224
  }
224
225
  /**