@connectedxm/admin-sdk 7.0.1 → 7.0.3
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 +1 -0
- package/AdminApi.ts +3 -0
- package/README.md +3 -0
- package/api.ts +419 -1
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +217 -1
- package/dist/api.js +304 -1
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +217 -1
- package/dist/esm/api.js +299 -0
- package/docs/ThreadsStorageApi.md +199 -0
- package/docs/VideoSource.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1446,6 +1446,7 @@ docs/ThreadsMessagesFilesApi.md
|
|
|
1446
1446
|
docs/ThreadsMessagesImagesApi.md
|
|
1447
1447
|
docs/ThreadsMessagesReactionsApi.md
|
|
1448
1448
|
docs/ThreadsMessagesVideosApi.md
|
|
1449
|
+
docs/ThreadsStorageApi.md
|
|
1449
1450
|
docs/Tier.md
|
|
1450
1451
|
docs/TierAllOfCount.md
|
|
1451
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
|
package/api.ts
CHANGED
|
@@ -14070,7 +14070,8 @@ export enum VideoCaptionStatusEnum {
|
|
|
14070
14070
|
export enum VideoSource {
|
|
14071
14071
|
Admin = 'admin',
|
|
14072
14072
|
Activity = 'activity',
|
|
14073
|
-
Content = 'content'
|
|
14073
|
+
Content = 'content',
|
|
14074
|
+
Thread = 'thread'
|
|
14074
14075
|
}
|
|
14075
14076
|
|
|
14076
14077
|
|
|
@@ -148340,6 +148341,423 @@ export class ThreadsMessagesVideosApi extends BaseAPI {
|
|
|
148340
148341
|
|
|
148341
148342
|
|
|
148342
148343
|
|
|
148344
|
+
/**
|
|
148345
|
+
* ThreadsStorageApi - axios parameter creator
|
|
148346
|
+
*/
|
|
148347
|
+
export const ThreadsStorageApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
148348
|
+
return {
|
|
148349
|
+
/**
|
|
148350
|
+
* Get Thread Storage Files endpoint
|
|
148351
|
+
* @summary Get Thread Storage Files
|
|
148352
|
+
* @param {string} threadId The thread identifier
|
|
148353
|
+
* @param {number} [page] Page number
|
|
148354
|
+
* @param {number} [pageSize] Number of items per page
|
|
148355
|
+
* @param {string} [orderBy] Field to order by
|
|
148356
|
+
* @param {string} [search] Search query
|
|
148357
|
+
* @param {*} [options] Override http request option.
|
|
148358
|
+
* @throws {RequiredError}
|
|
148359
|
+
*/
|
|
148360
|
+
getThreadStorageFiles: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148361
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
148362
|
+
assertParamExists('getThreadStorageFiles', 'threadId', threadId)
|
|
148363
|
+
const localVarPath = `/threads/{threadId}/storage/files`
|
|
148364
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
148365
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148366
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148367
|
+
let baseOptions;
|
|
148368
|
+
if (configuration) {
|
|
148369
|
+
baseOptions = configuration.baseOptions;
|
|
148370
|
+
}
|
|
148371
|
+
|
|
148372
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
148373
|
+
const localVarHeaderParameter = {} as any;
|
|
148374
|
+
const localVarQueryParameter = {} as any;
|
|
148375
|
+
|
|
148376
|
+
// authentication ApiKeyAuth required
|
|
148377
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
148378
|
+
|
|
148379
|
+
// authentication OrganizationId required
|
|
148380
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
148381
|
+
|
|
148382
|
+
if (page !== undefined) {
|
|
148383
|
+
localVarQueryParameter['page'] = page;
|
|
148384
|
+
}
|
|
148385
|
+
|
|
148386
|
+
if (pageSize !== undefined) {
|
|
148387
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
148388
|
+
}
|
|
148389
|
+
|
|
148390
|
+
if (orderBy !== undefined) {
|
|
148391
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
148392
|
+
}
|
|
148393
|
+
|
|
148394
|
+
if (search !== undefined) {
|
|
148395
|
+
localVarQueryParameter['search'] = search;
|
|
148396
|
+
}
|
|
148397
|
+
|
|
148398
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
148399
|
+
|
|
148400
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148401
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148402
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
148403
|
+
|
|
148404
|
+
return {
|
|
148405
|
+
url: toPathString(localVarUrlObj),
|
|
148406
|
+
options: localVarRequestOptions,
|
|
148407
|
+
};
|
|
148408
|
+
},
|
|
148409
|
+
/**
|
|
148410
|
+
* Get Thread Storage Images endpoint
|
|
148411
|
+
* @summary Get Thread Storage Images
|
|
148412
|
+
* @param {string} threadId The thread identifier
|
|
148413
|
+
* @param {number} [page] Page number
|
|
148414
|
+
* @param {number} [pageSize] Number of items per page
|
|
148415
|
+
* @param {string} [orderBy] Field to order by
|
|
148416
|
+
* @param {string} [search] Search query
|
|
148417
|
+
* @param {*} [options] Override http request option.
|
|
148418
|
+
* @throws {RequiredError}
|
|
148419
|
+
*/
|
|
148420
|
+
getThreadStorageImages: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148421
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
148422
|
+
assertParamExists('getThreadStorageImages', 'threadId', threadId)
|
|
148423
|
+
const localVarPath = `/threads/{threadId}/storage/images`
|
|
148424
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
148425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148427
|
+
let baseOptions;
|
|
148428
|
+
if (configuration) {
|
|
148429
|
+
baseOptions = configuration.baseOptions;
|
|
148430
|
+
}
|
|
148431
|
+
|
|
148432
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
148433
|
+
const localVarHeaderParameter = {} as any;
|
|
148434
|
+
const localVarQueryParameter = {} as any;
|
|
148435
|
+
|
|
148436
|
+
// authentication ApiKeyAuth required
|
|
148437
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
148438
|
+
|
|
148439
|
+
// authentication OrganizationId required
|
|
148440
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
148441
|
+
|
|
148442
|
+
if (page !== undefined) {
|
|
148443
|
+
localVarQueryParameter['page'] = page;
|
|
148444
|
+
}
|
|
148445
|
+
|
|
148446
|
+
if (pageSize !== undefined) {
|
|
148447
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
148448
|
+
}
|
|
148449
|
+
|
|
148450
|
+
if (orderBy !== undefined) {
|
|
148451
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
148452
|
+
}
|
|
148453
|
+
|
|
148454
|
+
if (search !== undefined) {
|
|
148455
|
+
localVarQueryParameter['search'] = search;
|
|
148456
|
+
}
|
|
148457
|
+
|
|
148458
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
148459
|
+
|
|
148460
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148461
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148462
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
148463
|
+
|
|
148464
|
+
return {
|
|
148465
|
+
url: toPathString(localVarUrlObj),
|
|
148466
|
+
options: localVarRequestOptions,
|
|
148467
|
+
};
|
|
148468
|
+
},
|
|
148469
|
+
/**
|
|
148470
|
+
* Get Thread Storage Videos endpoint
|
|
148471
|
+
* @summary Get Thread Storage Videos
|
|
148472
|
+
* @param {string} threadId The thread identifier
|
|
148473
|
+
* @param {number} [page] Page number
|
|
148474
|
+
* @param {number} [pageSize] Number of items per page
|
|
148475
|
+
* @param {string} [orderBy] Field to order by
|
|
148476
|
+
* @param {string} [search] Search query
|
|
148477
|
+
* @param {*} [options] Override http request option.
|
|
148478
|
+
* @throws {RequiredError}
|
|
148479
|
+
*/
|
|
148480
|
+
getThreadStorageVideos: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148481
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
148482
|
+
assertParamExists('getThreadStorageVideos', 'threadId', threadId)
|
|
148483
|
+
const localVarPath = `/threads/{threadId}/storage/videos`
|
|
148484
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
148485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148487
|
+
let baseOptions;
|
|
148488
|
+
if (configuration) {
|
|
148489
|
+
baseOptions = configuration.baseOptions;
|
|
148490
|
+
}
|
|
148491
|
+
|
|
148492
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
148493
|
+
const localVarHeaderParameter = {} as any;
|
|
148494
|
+
const localVarQueryParameter = {} as any;
|
|
148495
|
+
|
|
148496
|
+
// authentication ApiKeyAuth required
|
|
148497
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
148498
|
+
|
|
148499
|
+
// authentication OrganizationId required
|
|
148500
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
148501
|
+
|
|
148502
|
+
if (page !== undefined) {
|
|
148503
|
+
localVarQueryParameter['page'] = page;
|
|
148504
|
+
}
|
|
148505
|
+
|
|
148506
|
+
if (pageSize !== undefined) {
|
|
148507
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
148508
|
+
}
|
|
148509
|
+
|
|
148510
|
+
if (orderBy !== undefined) {
|
|
148511
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
148512
|
+
}
|
|
148513
|
+
|
|
148514
|
+
if (search !== undefined) {
|
|
148515
|
+
localVarQueryParameter['search'] = search;
|
|
148516
|
+
}
|
|
148517
|
+
|
|
148518
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
148519
|
+
|
|
148520
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
148521
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148522
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
148523
|
+
|
|
148524
|
+
return {
|
|
148525
|
+
url: toPathString(localVarUrlObj),
|
|
148526
|
+
options: localVarRequestOptions,
|
|
148527
|
+
};
|
|
148528
|
+
},
|
|
148529
|
+
}
|
|
148530
|
+
};
|
|
148531
|
+
|
|
148532
|
+
/**
|
|
148533
|
+
* ThreadsStorageApi - functional programming interface
|
|
148534
|
+
*/
|
|
148535
|
+
export const ThreadsStorageApiFp = function(configuration?: Configuration) {
|
|
148536
|
+
const localVarAxiosParamCreator = ThreadsStorageApiAxiosParamCreator(configuration)
|
|
148537
|
+
return {
|
|
148538
|
+
/**
|
|
148539
|
+
* Get Thread Storage Files endpoint
|
|
148540
|
+
* @summary Get Thread Storage Files
|
|
148541
|
+
* @param {string} threadId The thread identifier
|
|
148542
|
+
* @param {number} [page] Page number
|
|
148543
|
+
* @param {number} [pageSize] Number of items per page
|
|
148544
|
+
* @param {string} [orderBy] Field to order by
|
|
148545
|
+
* @param {string} [search] Search query
|
|
148546
|
+
* @param {*} [options] Override http request option.
|
|
148547
|
+
* @throws {RequiredError}
|
|
148548
|
+
*/
|
|
148549
|
+
async getThreadStorageFiles(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFiles200Response>> {
|
|
148550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageFiles(threadId, page, pageSize, orderBy, search, options);
|
|
148551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
148552
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageFiles']?.[localVarOperationServerIndex]?.url;
|
|
148553
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
148554
|
+
},
|
|
148555
|
+
/**
|
|
148556
|
+
* Get Thread Storage Images endpoint
|
|
148557
|
+
* @summary Get Thread Storage Images
|
|
148558
|
+
* @param {string} threadId The thread identifier
|
|
148559
|
+
* @param {number} [page] Page number
|
|
148560
|
+
* @param {number} [pageSize] Number of items per page
|
|
148561
|
+
* @param {string} [orderBy] Field to order by
|
|
148562
|
+
* @param {string} [search] Search query
|
|
148563
|
+
* @param {*} [options] Override http request option.
|
|
148564
|
+
* @throws {RequiredError}
|
|
148565
|
+
*/
|
|
148566
|
+
async getThreadStorageImages(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPageImages200Response>> {
|
|
148567
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageImages(threadId, page, pageSize, orderBy, search, options);
|
|
148568
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
148569
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageImages']?.[localVarOperationServerIndex]?.url;
|
|
148570
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
148571
|
+
},
|
|
148572
|
+
/**
|
|
148573
|
+
* Get Thread Storage Videos endpoint
|
|
148574
|
+
* @summary Get Thread Storage Videos
|
|
148575
|
+
* @param {string} threadId The thread identifier
|
|
148576
|
+
* @param {number} [page] Page number
|
|
148577
|
+
* @param {number} [pageSize] Number of items per page
|
|
148578
|
+
* @param {string} [orderBy] Field to order by
|
|
148579
|
+
* @param {string} [search] Search query
|
|
148580
|
+
* @param {*} [options] Override http request option.
|
|
148581
|
+
* @throws {RequiredError}
|
|
148582
|
+
*/
|
|
148583
|
+
async getThreadStorageVideos(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamVideos200Response>> {
|
|
148584
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadStorageVideos(threadId, page, pageSize, orderBy, search, options);
|
|
148585
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
148586
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsStorageApi.getThreadStorageVideos']?.[localVarOperationServerIndex]?.url;
|
|
148587
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
148588
|
+
},
|
|
148589
|
+
}
|
|
148590
|
+
};
|
|
148591
|
+
|
|
148592
|
+
/**
|
|
148593
|
+
* ThreadsStorageApi - factory interface
|
|
148594
|
+
*/
|
|
148595
|
+
export const ThreadsStorageApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
148596
|
+
const localVarFp = ThreadsStorageApiFp(configuration)
|
|
148597
|
+
return {
|
|
148598
|
+
/**
|
|
148599
|
+
* Get Thread Storage Files endpoint
|
|
148600
|
+
* @summary Get Thread Storage Files
|
|
148601
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
148602
|
+
* @param {*} [options] Override http request option.
|
|
148603
|
+
* @throws {RequiredError}
|
|
148604
|
+
*/
|
|
148605
|
+
getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFiles200Response> {
|
|
148606
|
+
return localVarFp.getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
148607
|
+
},
|
|
148608
|
+
/**
|
|
148609
|
+
* Get Thread Storage Images endpoint
|
|
148610
|
+
* @summary Get Thread Storage Images
|
|
148611
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
148612
|
+
* @param {*} [options] Override http request option.
|
|
148613
|
+
* @throws {RequiredError}
|
|
148614
|
+
*/
|
|
148615
|
+
getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPageImages200Response> {
|
|
148616
|
+
return localVarFp.getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
148617
|
+
},
|
|
148618
|
+
/**
|
|
148619
|
+
* Get Thread Storage Videos endpoint
|
|
148620
|
+
* @summary Get Thread Storage Videos
|
|
148621
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
148622
|
+
* @param {*} [options] Override http request option.
|
|
148623
|
+
* @throws {RequiredError}
|
|
148624
|
+
*/
|
|
148625
|
+
getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamVideos200Response> {
|
|
148626
|
+
return localVarFp.getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
148627
|
+
},
|
|
148628
|
+
};
|
|
148629
|
+
};
|
|
148630
|
+
|
|
148631
|
+
/**
|
|
148632
|
+
* Request parameters for getThreadStorageFiles operation in ThreadsStorageApi.
|
|
148633
|
+
*/
|
|
148634
|
+
export interface ThreadsStorageApiGetThreadStorageFilesRequest {
|
|
148635
|
+
/**
|
|
148636
|
+
* The thread identifier
|
|
148637
|
+
*/
|
|
148638
|
+
readonly threadId: string
|
|
148639
|
+
|
|
148640
|
+
/**
|
|
148641
|
+
* Page number
|
|
148642
|
+
*/
|
|
148643
|
+
readonly page?: number
|
|
148644
|
+
|
|
148645
|
+
/**
|
|
148646
|
+
* Number of items per page
|
|
148647
|
+
*/
|
|
148648
|
+
readonly pageSize?: number
|
|
148649
|
+
|
|
148650
|
+
/**
|
|
148651
|
+
* Field to order by
|
|
148652
|
+
*/
|
|
148653
|
+
readonly orderBy?: string
|
|
148654
|
+
|
|
148655
|
+
/**
|
|
148656
|
+
* Search query
|
|
148657
|
+
*/
|
|
148658
|
+
readonly search?: string
|
|
148659
|
+
}
|
|
148660
|
+
|
|
148661
|
+
/**
|
|
148662
|
+
* Request parameters for getThreadStorageImages operation in ThreadsStorageApi.
|
|
148663
|
+
*/
|
|
148664
|
+
export interface ThreadsStorageApiGetThreadStorageImagesRequest {
|
|
148665
|
+
/**
|
|
148666
|
+
* The thread identifier
|
|
148667
|
+
*/
|
|
148668
|
+
readonly threadId: string
|
|
148669
|
+
|
|
148670
|
+
/**
|
|
148671
|
+
* Page number
|
|
148672
|
+
*/
|
|
148673
|
+
readonly page?: number
|
|
148674
|
+
|
|
148675
|
+
/**
|
|
148676
|
+
* Number of items per page
|
|
148677
|
+
*/
|
|
148678
|
+
readonly pageSize?: number
|
|
148679
|
+
|
|
148680
|
+
/**
|
|
148681
|
+
* Field to order by
|
|
148682
|
+
*/
|
|
148683
|
+
readonly orderBy?: string
|
|
148684
|
+
|
|
148685
|
+
/**
|
|
148686
|
+
* Search query
|
|
148687
|
+
*/
|
|
148688
|
+
readonly search?: string
|
|
148689
|
+
}
|
|
148690
|
+
|
|
148691
|
+
/**
|
|
148692
|
+
* Request parameters for getThreadStorageVideos operation in ThreadsStorageApi.
|
|
148693
|
+
*/
|
|
148694
|
+
export interface ThreadsStorageApiGetThreadStorageVideosRequest {
|
|
148695
|
+
/**
|
|
148696
|
+
* The thread identifier
|
|
148697
|
+
*/
|
|
148698
|
+
readonly threadId: string
|
|
148699
|
+
|
|
148700
|
+
/**
|
|
148701
|
+
* Page number
|
|
148702
|
+
*/
|
|
148703
|
+
readonly page?: number
|
|
148704
|
+
|
|
148705
|
+
/**
|
|
148706
|
+
* Number of items per page
|
|
148707
|
+
*/
|
|
148708
|
+
readonly pageSize?: number
|
|
148709
|
+
|
|
148710
|
+
/**
|
|
148711
|
+
* Field to order by
|
|
148712
|
+
*/
|
|
148713
|
+
readonly orderBy?: string
|
|
148714
|
+
|
|
148715
|
+
/**
|
|
148716
|
+
* Search query
|
|
148717
|
+
*/
|
|
148718
|
+
readonly search?: string
|
|
148719
|
+
}
|
|
148720
|
+
|
|
148721
|
+
/**
|
|
148722
|
+
* ThreadsStorageApi - object-oriented interface
|
|
148723
|
+
*/
|
|
148724
|
+
export class ThreadsStorageApi extends BaseAPI {
|
|
148725
|
+
/**
|
|
148726
|
+
* Get Thread Storage Files endpoint
|
|
148727
|
+
* @summary Get Thread Storage Files
|
|
148728
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
148729
|
+
* @param {*} [options] Override http request option.
|
|
148730
|
+
* @throws {RequiredError}
|
|
148731
|
+
*/
|
|
148732
|
+
public getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig) {
|
|
148733
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
148734
|
+
}
|
|
148735
|
+
|
|
148736
|
+
/**
|
|
148737
|
+
* Get Thread Storage Images endpoint
|
|
148738
|
+
* @summary Get Thread Storage Images
|
|
148739
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
148740
|
+
* @param {*} [options] Override http request option.
|
|
148741
|
+
* @throws {RequiredError}
|
|
148742
|
+
*/
|
|
148743
|
+
public getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig) {
|
|
148744
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
148745
|
+
}
|
|
148746
|
+
|
|
148747
|
+
/**
|
|
148748
|
+
* Get Thread Storage Videos endpoint
|
|
148749
|
+
* @summary Get Thread Storage Videos
|
|
148750
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
148751
|
+
* @param {*} [options] Override http request option.
|
|
148752
|
+
* @throws {RequiredError}
|
|
148753
|
+
*/
|
|
148754
|
+
public getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig) {
|
|
148755
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
148756
|
+
}
|
|
148757
|
+
}
|
|
148758
|
+
|
|
148759
|
+
|
|
148760
|
+
|
|
148343
148761
|
/**
|
|
148344
148762
|
* TiersApi - axios parameter creator
|
|
148345
148763
|
*/
|
package/dist/AdminApi.d.ts
CHANGED
|
@@ -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
|
/**
|