@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.
- package/.openapi-generator/FILES +2 -0
- package/AdminApi.ts +3 -0
- package/README.md +4 -0
- package/api.ts +430 -2
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +227 -3
- package/dist/api.js +325 -19
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +227 -3
- package/dist/esm/api.js +302 -0
- package/docs/GetThreadAccounts200Response.md +26 -0
- package/docs/ThreadsAccountsApi.md +2 -2
- package/docs/ThreadsStorageApi.md +199 -0
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -8670,6 +8670,15 @@ export interface GetTaxLogs200Response {
|
|
|
8670
8670
|
export declare enum GetTaxLogs200ResponseStatusEnum {
|
|
8671
8671
|
Ok = "ok"
|
|
8672
8672
|
}
|
|
8673
|
+
export interface GetThreadAccounts200Response {
|
|
8674
|
+
'status': GetThreadAccounts200ResponseStatusEnum;
|
|
8675
|
+
'message': string;
|
|
8676
|
+
'data': Array<ThreadAccount>;
|
|
8677
|
+
'count'?: number;
|
|
8678
|
+
}
|
|
8679
|
+
export declare enum GetThreadAccounts200ResponseStatusEnum {
|
|
8680
|
+
Ok = "ok"
|
|
8681
|
+
}
|
|
8673
8682
|
export interface GetThreadMessageFiles200Response {
|
|
8674
8683
|
'status': GetThreadMessageFiles200ResponseStatusEnum;
|
|
8675
8684
|
'message': string;
|
|
@@ -79337,7 +79346,7 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
|
|
|
79337
79346
|
* @param {*} [options] Override http request option.
|
|
79338
79347
|
* @throws {RequiredError}
|
|
79339
79348
|
*/
|
|
79340
|
-
getThreadAccounts(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
79349
|
+
getThreadAccounts(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadAccounts200Response>>;
|
|
79341
79350
|
/**
|
|
79342
79351
|
* Update Thread Account endpoint
|
|
79343
79352
|
* @summary Update Thread Account
|
|
@@ -79368,7 +79377,7 @@ export declare const ThreadsAccountsApiFactory: (configuration?: Configuration,
|
|
|
79368
79377
|
* @param {*} [options] Override http request option.
|
|
79369
79378
|
* @throws {RequiredError}
|
|
79370
79379
|
*/
|
|
79371
|
-
getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
79380
|
+
getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadAccounts200Response>;
|
|
79372
79381
|
/**
|
|
79373
79382
|
* Update Thread Account endpoint
|
|
79374
79383
|
* @summary Update Thread Account
|
|
@@ -79449,7 +79458,7 @@ export declare class ThreadsAccountsApi extends BaseAPI {
|
|
|
79449
79458
|
* @param {*} [options] Override http request option.
|
|
79450
79459
|
* @throws {RequiredError}
|
|
79451
79460
|
*/
|
|
79452
|
-
getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
79461
|
+
getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetThreadAccounts200Response, any, {}>>;
|
|
79453
79462
|
/**
|
|
79454
79463
|
* Update Thread Account endpoint
|
|
79455
79464
|
* @summary Update Thread Account
|
|
@@ -80453,6 +80462,221 @@ export declare class ThreadsMessagesVideosApi extends BaseAPI {
|
|
|
80453
80462
|
*/
|
|
80454
80463
|
getThreadMessageVideos(requestParameters: ThreadsMessagesVideosApiGetThreadMessageVideosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetThreadMessageVideos200Response, any, {}>>;
|
|
80455
80464
|
}
|
|
80465
|
+
/**
|
|
80466
|
+
* ThreadsStorageApi - axios parameter creator
|
|
80467
|
+
*/
|
|
80468
|
+
export declare const ThreadsStorageApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
80469
|
+
/**
|
|
80470
|
+
* Get Thread Storage Files endpoint
|
|
80471
|
+
* @summary Get Thread Storage Files
|
|
80472
|
+
* @param {string} threadId The thread identifier
|
|
80473
|
+
* @param {number} [page] Page number
|
|
80474
|
+
* @param {number} [pageSize] Number of items per page
|
|
80475
|
+
* @param {string} [orderBy] Field to order by
|
|
80476
|
+
* @param {string} [search] Search query
|
|
80477
|
+
* @param {*} [options] Override http request option.
|
|
80478
|
+
* @throws {RequiredError}
|
|
80479
|
+
*/
|
|
80480
|
+
getThreadStorageFiles: (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80481
|
+
/**
|
|
80482
|
+
* Get Thread Storage Images endpoint
|
|
80483
|
+
* @summary Get Thread Storage Images
|
|
80484
|
+
* @param {string} threadId The thread identifier
|
|
80485
|
+
* @param {number} [page] Page number
|
|
80486
|
+
* @param {number} [pageSize] Number of items per page
|
|
80487
|
+
* @param {string} [orderBy] Field to order by
|
|
80488
|
+
* @param {string} [search] Search query
|
|
80489
|
+
* @param {*} [options] Override http request option.
|
|
80490
|
+
* @throws {RequiredError}
|
|
80491
|
+
*/
|
|
80492
|
+
getThreadStorageImages: (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80493
|
+
/**
|
|
80494
|
+
* Get Thread Storage Videos endpoint
|
|
80495
|
+
* @summary Get Thread Storage Videos
|
|
80496
|
+
* @param {string} threadId The thread identifier
|
|
80497
|
+
* @param {number} [page] Page number
|
|
80498
|
+
* @param {number} [pageSize] Number of items per page
|
|
80499
|
+
* @param {string} [orderBy] Field to order by
|
|
80500
|
+
* @param {string} [search] Search query
|
|
80501
|
+
* @param {*} [options] Override http request option.
|
|
80502
|
+
* @throws {RequiredError}
|
|
80503
|
+
*/
|
|
80504
|
+
getThreadStorageVideos: (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
80505
|
+
};
|
|
80506
|
+
/**
|
|
80507
|
+
* ThreadsStorageApi - functional programming interface
|
|
80508
|
+
*/
|
|
80509
|
+
export declare const ThreadsStorageApiFp: (configuration?: Configuration) => {
|
|
80510
|
+
/**
|
|
80511
|
+
* Get Thread Storage Files endpoint
|
|
80512
|
+
* @summary Get Thread Storage Files
|
|
80513
|
+
* @param {string} threadId The thread identifier
|
|
80514
|
+
* @param {number} [page] Page number
|
|
80515
|
+
* @param {number} [pageSize] Number of items per page
|
|
80516
|
+
* @param {string} [orderBy] Field to order by
|
|
80517
|
+
* @param {string} [search] Search query
|
|
80518
|
+
* @param {*} [options] Override http request option.
|
|
80519
|
+
* @throws {RequiredError}
|
|
80520
|
+
*/
|
|
80521
|
+
getThreadStorageFiles(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFiles200Response>>;
|
|
80522
|
+
/**
|
|
80523
|
+
* Get Thread Storage Images endpoint
|
|
80524
|
+
* @summary Get Thread Storage Images
|
|
80525
|
+
* @param {string} threadId The thread identifier
|
|
80526
|
+
* @param {number} [page] Page number
|
|
80527
|
+
* @param {number} [pageSize] Number of items per page
|
|
80528
|
+
* @param {string} [orderBy] Field to order by
|
|
80529
|
+
* @param {string} [search] Search query
|
|
80530
|
+
* @param {*} [options] Override http request option.
|
|
80531
|
+
* @throws {RequiredError}
|
|
80532
|
+
*/
|
|
80533
|
+
getThreadStorageImages(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPageImages200Response>>;
|
|
80534
|
+
/**
|
|
80535
|
+
* Get Thread Storage Videos endpoint
|
|
80536
|
+
* @summary Get Thread Storage Videos
|
|
80537
|
+
* @param {string} threadId The thread identifier
|
|
80538
|
+
* @param {number} [page] Page number
|
|
80539
|
+
* @param {number} [pageSize] Number of items per page
|
|
80540
|
+
* @param {string} [orderBy] Field to order by
|
|
80541
|
+
* @param {string} [search] Search query
|
|
80542
|
+
* @param {*} [options] Override http request option.
|
|
80543
|
+
* @throws {RequiredError}
|
|
80544
|
+
*/
|
|
80545
|
+
getThreadStorageVideos(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamVideos200Response>>;
|
|
80546
|
+
};
|
|
80547
|
+
/**
|
|
80548
|
+
* ThreadsStorageApi - factory interface
|
|
80549
|
+
*/
|
|
80550
|
+
export declare const ThreadsStorageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
80551
|
+
/**
|
|
80552
|
+
* Get Thread Storage Files endpoint
|
|
80553
|
+
* @summary Get Thread Storage Files
|
|
80554
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
80555
|
+
* @param {*} [options] Override http request option.
|
|
80556
|
+
* @throws {RequiredError}
|
|
80557
|
+
*/
|
|
80558
|
+
getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFiles200Response>;
|
|
80559
|
+
/**
|
|
80560
|
+
* Get Thread Storage Images endpoint
|
|
80561
|
+
* @summary Get Thread Storage Images
|
|
80562
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
80563
|
+
* @param {*} [options] Override http request option.
|
|
80564
|
+
* @throws {RequiredError}
|
|
80565
|
+
*/
|
|
80566
|
+
getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPageImages200Response>;
|
|
80567
|
+
/**
|
|
80568
|
+
* Get Thread Storage Videos endpoint
|
|
80569
|
+
* @summary Get Thread Storage Videos
|
|
80570
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
80571
|
+
* @param {*} [options] Override http request option.
|
|
80572
|
+
* @throws {RequiredError}
|
|
80573
|
+
*/
|
|
80574
|
+
getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamVideos200Response>;
|
|
80575
|
+
};
|
|
80576
|
+
/**
|
|
80577
|
+
* Request parameters for getThreadStorageFiles operation in ThreadsStorageApi.
|
|
80578
|
+
*/
|
|
80579
|
+
export interface ThreadsStorageApiGetThreadStorageFilesRequest {
|
|
80580
|
+
/**
|
|
80581
|
+
* The thread identifier
|
|
80582
|
+
*/
|
|
80583
|
+
readonly threadId: string;
|
|
80584
|
+
/**
|
|
80585
|
+
* Page number
|
|
80586
|
+
*/
|
|
80587
|
+
readonly page?: number;
|
|
80588
|
+
/**
|
|
80589
|
+
* Number of items per page
|
|
80590
|
+
*/
|
|
80591
|
+
readonly pageSize?: number;
|
|
80592
|
+
/**
|
|
80593
|
+
* Field to order by
|
|
80594
|
+
*/
|
|
80595
|
+
readonly orderBy?: string;
|
|
80596
|
+
/**
|
|
80597
|
+
* Search query
|
|
80598
|
+
*/
|
|
80599
|
+
readonly search?: string;
|
|
80600
|
+
}
|
|
80601
|
+
/**
|
|
80602
|
+
* Request parameters for getThreadStorageImages operation in ThreadsStorageApi.
|
|
80603
|
+
*/
|
|
80604
|
+
export interface ThreadsStorageApiGetThreadStorageImagesRequest {
|
|
80605
|
+
/**
|
|
80606
|
+
* The thread identifier
|
|
80607
|
+
*/
|
|
80608
|
+
readonly threadId: string;
|
|
80609
|
+
/**
|
|
80610
|
+
* Page number
|
|
80611
|
+
*/
|
|
80612
|
+
readonly page?: number;
|
|
80613
|
+
/**
|
|
80614
|
+
* Number of items per page
|
|
80615
|
+
*/
|
|
80616
|
+
readonly pageSize?: number;
|
|
80617
|
+
/**
|
|
80618
|
+
* Field to order by
|
|
80619
|
+
*/
|
|
80620
|
+
readonly orderBy?: string;
|
|
80621
|
+
/**
|
|
80622
|
+
* Search query
|
|
80623
|
+
*/
|
|
80624
|
+
readonly search?: string;
|
|
80625
|
+
}
|
|
80626
|
+
/**
|
|
80627
|
+
* Request parameters for getThreadStorageVideos operation in ThreadsStorageApi.
|
|
80628
|
+
*/
|
|
80629
|
+
export interface ThreadsStorageApiGetThreadStorageVideosRequest {
|
|
80630
|
+
/**
|
|
80631
|
+
* The thread identifier
|
|
80632
|
+
*/
|
|
80633
|
+
readonly threadId: string;
|
|
80634
|
+
/**
|
|
80635
|
+
* Page number
|
|
80636
|
+
*/
|
|
80637
|
+
readonly page?: number;
|
|
80638
|
+
/**
|
|
80639
|
+
* Number of items per page
|
|
80640
|
+
*/
|
|
80641
|
+
readonly pageSize?: number;
|
|
80642
|
+
/**
|
|
80643
|
+
* Field to order by
|
|
80644
|
+
*/
|
|
80645
|
+
readonly orderBy?: string;
|
|
80646
|
+
/**
|
|
80647
|
+
* Search query
|
|
80648
|
+
*/
|
|
80649
|
+
readonly search?: string;
|
|
80650
|
+
}
|
|
80651
|
+
/**
|
|
80652
|
+
* ThreadsStorageApi - object-oriented interface
|
|
80653
|
+
*/
|
|
80654
|
+
export declare class ThreadsStorageApi extends BaseAPI {
|
|
80655
|
+
/**
|
|
80656
|
+
* Get Thread Storage Files endpoint
|
|
80657
|
+
* @summary Get Thread Storage Files
|
|
80658
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
80659
|
+
* @param {*} [options] Override http request option.
|
|
80660
|
+
* @throws {RequiredError}
|
|
80661
|
+
*/
|
|
80662
|
+
getThreadStorageFiles(requestParameters: ThreadsStorageApiGetThreadStorageFilesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFiles200Response, any, {}>>;
|
|
80663
|
+
/**
|
|
80664
|
+
* Get Thread Storage Images endpoint
|
|
80665
|
+
* @summary Get Thread Storage Images
|
|
80666
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
80667
|
+
* @param {*} [options] Override http request option.
|
|
80668
|
+
* @throws {RequiredError}
|
|
80669
|
+
*/
|
|
80670
|
+
getThreadStorageImages(requestParameters: ThreadsStorageApiGetThreadStorageImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventPageImages200Response, any, {}>>;
|
|
80671
|
+
/**
|
|
80672
|
+
* Get Thread Storage Videos endpoint
|
|
80673
|
+
* @summary Get Thread Storage Videos
|
|
80674
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
80675
|
+
* @param {*} [options] Override http request option.
|
|
80676
|
+
* @throws {RequiredError}
|
|
80677
|
+
*/
|
|
80678
|
+
getThreadStorageVideos(requestParameters: ThreadsStorageApiGetThreadStorageVideosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetStreamVideos200Response, any, {}>>;
|
|
80679
|
+
}
|
|
80456
80680
|
/**
|
|
80457
80681
|
* TiersApi - axios parameter creator
|
|
80458
80682
|
*/
|
package/dist/esm/api.js
CHANGED
|
@@ -1863,6 +1863,10 @@ export var GetTaxLogs200ResponseStatusEnum;
|
|
|
1863
1863
|
(function (GetTaxLogs200ResponseStatusEnum) {
|
|
1864
1864
|
GetTaxLogs200ResponseStatusEnum["Ok"] = "ok";
|
|
1865
1865
|
})(GetTaxLogs200ResponseStatusEnum || (GetTaxLogs200ResponseStatusEnum = {}));
|
|
1866
|
+
export var GetThreadAccounts200ResponseStatusEnum;
|
|
1867
|
+
(function (GetThreadAccounts200ResponseStatusEnum) {
|
|
1868
|
+
GetThreadAccounts200ResponseStatusEnum["Ok"] = "ok";
|
|
1869
|
+
})(GetThreadAccounts200ResponseStatusEnum || (GetThreadAccounts200ResponseStatusEnum = {}));
|
|
1866
1870
|
export var GetThreadMessageFiles200ResponseStatusEnum;
|
|
1867
1871
|
(function (GetThreadMessageFiles200ResponseStatusEnum) {
|
|
1868
1872
|
GetThreadMessageFiles200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -105084,6 +105088,304 @@ export class ThreadsMessagesVideosApi extends BaseAPI {
|
|
|
105084
105088
|
return ThreadsMessagesVideosApiFp(this.configuration).getThreadMessageVideos(requestParameters.threadId, requestParameters.messageId, options).then((request) => request(this.axios, this.basePath));
|
|
105085
105089
|
}
|
|
105086
105090
|
}
|
|
105091
|
+
/**
|
|
105092
|
+
* ThreadsStorageApi - axios parameter creator
|
|
105093
|
+
*/
|
|
105094
|
+
export const ThreadsStorageApiAxiosParamCreator = function (configuration) {
|
|
105095
|
+
return {
|
|
105096
|
+
/**
|
|
105097
|
+
* Get Thread Storage Files endpoint
|
|
105098
|
+
* @summary Get Thread Storage Files
|
|
105099
|
+
* @param {string} threadId The thread identifier
|
|
105100
|
+
* @param {number} [page] Page number
|
|
105101
|
+
* @param {number} [pageSize] Number of items per page
|
|
105102
|
+
* @param {string} [orderBy] Field to order by
|
|
105103
|
+
* @param {string} [search] Search query
|
|
105104
|
+
* @param {*} [options] Override http request option.
|
|
105105
|
+
* @throws {RequiredError}
|
|
105106
|
+
*/
|
|
105107
|
+
getThreadStorageFiles: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
|
|
105108
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
105109
|
+
assertParamExists('getThreadStorageFiles', 'threadId', threadId);
|
|
105110
|
+
const localVarPath = `/threads/{threadId}/storage/files`
|
|
105111
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
105112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105114
|
+
let baseOptions;
|
|
105115
|
+
if (configuration) {
|
|
105116
|
+
baseOptions = configuration.baseOptions;
|
|
105117
|
+
}
|
|
105118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
105119
|
+
const localVarHeaderParameter = {};
|
|
105120
|
+
const localVarQueryParameter = {};
|
|
105121
|
+
// authentication ApiKeyAuth required
|
|
105122
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
105123
|
+
// authentication OrganizationId required
|
|
105124
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
105125
|
+
if (page !== undefined) {
|
|
105126
|
+
localVarQueryParameter['page'] = page;
|
|
105127
|
+
}
|
|
105128
|
+
if (pageSize !== undefined) {
|
|
105129
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
105130
|
+
}
|
|
105131
|
+
if (orderBy !== undefined) {
|
|
105132
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
105133
|
+
}
|
|
105134
|
+
if (search !== undefined) {
|
|
105135
|
+
localVarQueryParameter['search'] = search;
|
|
105136
|
+
}
|
|
105137
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105140
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
105141
|
+
return {
|
|
105142
|
+
url: toPathString(localVarUrlObj),
|
|
105143
|
+
options: localVarRequestOptions,
|
|
105144
|
+
};
|
|
105145
|
+
}),
|
|
105146
|
+
/**
|
|
105147
|
+
* Get Thread Storage Images endpoint
|
|
105148
|
+
* @summary Get Thread Storage Images
|
|
105149
|
+
* @param {string} threadId The thread identifier
|
|
105150
|
+
* @param {number} [page] Page number
|
|
105151
|
+
* @param {number} [pageSize] Number of items per page
|
|
105152
|
+
* @param {string} [orderBy] Field to order by
|
|
105153
|
+
* @param {string} [search] Search query
|
|
105154
|
+
* @param {*} [options] Override http request option.
|
|
105155
|
+
* @throws {RequiredError}
|
|
105156
|
+
*/
|
|
105157
|
+
getThreadStorageImages: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
|
|
105158
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
105159
|
+
assertParamExists('getThreadStorageImages', 'threadId', threadId);
|
|
105160
|
+
const localVarPath = `/threads/{threadId}/storage/images`
|
|
105161
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
105162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105164
|
+
let baseOptions;
|
|
105165
|
+
if (configuration) {
|
|
105166
|
+
baseOptions = configuration.baseOptions;
|
|
105167
|
+
}
|
|
105168
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
105169
|
+
const localVarHeaderParameter = {};
|
|
105170
|
+
const localVarQueryParameter = {};
|
|
105171
|
+
// authentication ApiKeyAuth required
|
|
105172
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
105173
|
+
// authentication OrganizationId required
|
|
105174
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
105175
|
+
if (page !== undefined) {
|
|
105176
|
+
localVarQueryParameter['page'] = page;
|
|
105177
|
+
}
|
|
105178
|
+
if (pageSize !== undefined) {
|
|
105179
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
105180
|
+
}
|
|
105181
|
+
if (orderBy !== undefined) {
|
|
105182
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
105183
|
+
}
|
|
105184
|
+
if (search !== undefined) {
|
|
105185
|
+
localVarQueryParameter['search'] = search;
|
|
105186
|
+
}
|
|
105187
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105188
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105189
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105190
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
105191
|
+
return {
|
|
105192
|
+
url: toPathString(localVarUrlObj),
|
|
105193
|
+
options: localVarRequestOptions,
|
|
105194
|
+
};
|
|
105195
|
+
}),
|
|
105196
|
+
/**
|
|
105197
|
+
* Get Thread Storage Videos endpoint
|
|
105198
|
+
* @summary Get Thread Storage Videos
|
|
105199
|
+
* @param {string} threadId The thread identifier
|
|
105200
|
+
* @param {number} [page] Page number
|
|
105201
|
+
* @param {number} [pageSize] Number of items per page
|
|
105202
|
+
* @param {string} [orderBy] Field to order by
|
|
105203
|
+
* @param {string} [search] Search query
|
|
105204
|
+
* @param {*} [options] Override http request option.
|
|
105205
|
+
* @throws {RequiredError}
|
|
105206
|
+
*/
|
|
105207
|
+
getThreadStorageVideos: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
|
|
105208
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
105209
|
+
assertParamExists('getThreadStorageVideos', 'threadId', threadId);
|
|
105210
|
+
const localVarPath = `/threads/{threadId}/storage/videos`
|
|
105211
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
105212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105214
|
+
let baseOptions;
|
|
105215
|
+
if (configuration) {
|
|
105216
|
+
baseOptions = configuration.baseOptions;
|
|
105217
|
+
}
|
|
105218
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
105219
|
+
const localVarHeaderParameter = {};
|
|
105220
|
+
const localVarQueryParameter = {};
|
|
105221
|
+
// authentication ApiKeyAuth required
|
|
105222
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
105223
|
+
// authentication OrganizationId required
|
|
105224
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
105225
|
+
if (page !== undefined) {
|
|
105226
|
+
localVarQueryParameter['page'] = page;
|
|
105227
|
+
}
|
|
105228
|
+
if (pageSize !== undefined) {
|
|
105229
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
105230
|
+
}
|
|
105231
|
+
if (orderBy !== undefined) {
|
|
105232
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
105233
|
+
}
|
|
105234
|
+
if (search !== undefined) {
|
|
105235
|
+
localVarQueryParameter['search'] = search;
|
|
105236
|
+
}
|
|
105237
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105238
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105239
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105240
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
105241
|
+
return {
|
|
105242
|
+
url: toPathString(localVarUrlObj),
|
|
105243
|
+
options: localVarRequestOptions,
|
|
105244
|
+
};
|
|
105245
|
+
}),
|
|
105246
|
+
};
|
|
105247
|
+
};
|
|
105248
|
+
/**
|
|
105249
|
+
* ThreadsStorageApi - functional programming interface
|
|
105250
|
+
*/
|
|
105251
|
+
export const ThreadsStorageApiFp = function (configuration) {
|
|
105252
|
+
const localVarAxiosParamCreator = ThreadsStorageApiAxiosParamCreator(configuration);
|
|
105253
|
+
return {
|
|
105254
|
+
/**
|
|
105255
|
+
* Get Thread Storage Files endpoint
|
|
105256
|
+
* @summary Get Thread Storage Files
|
|
105257
|
+
* @param {string} threadId The thread identifier
|
|
105258
|
+
* @param {number} [page] Page number
|
|
105259
|
+
* @param {number} [pageSize] Number of items per page
|
|
105260
|
+
* @param {string} [orderBy] Field to order by
|
|
105261
|
+
* @param {string} [search] Search query
|
|
105262
|
+
* @param {*} [options] Override http request option.
|
|
105263
|
+
* @throws {RequiredError}
|
|
105264
|
+
*/
|
|
105265
|
+
getThreadStorageFiles(threadId, page, pageSize, orderBy, search, options) {
|
|
105266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105267
|
+
var _a, _b, _c;
|
|
105268
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadStorageFiles(threadId, page, pageSize, orderBy, search, options);
|
|
105269
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
105270
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsStorageApi.getThreadStorageFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
105271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105272
|
+
});
|
|
105273
|
+
},
|
|
105274
|
+
/**
|
|
105275
|
+
* Get Thread Storage Images endpoint
|
|
105276
|
+
* @summary Get Thread Storage Images
|
|
105277
|
+
* @param {string} threadId The thread identifier
|
|
105278
|
+
* @param {number} [page] Page number
|
|
105279
|
+
* @param {number} [pageSize] Number of items per page
|
|
105280
|
+
* @param {string} [orderBy] Field to order by
|
|
105281
|
+
* @param {string} [search] Search query
|
|
105282
|
+
* @param {*} [options] Override http request option.
|
|
105283
|
+
* @throws {RequiredError}
|
|
105284
|
+
*/
|
|
105285
|
+
getThreadStorageImages(threadId, page, pageSize, orderBy, search, options) {
|
|
105286
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105287
|
+
var _a, _b, _c;
|
|
105288
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadStorageImages(threadId, page, pageSize, orderBy, search, options);
|
|
105289
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
105290
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsStorageApi.getThreadStorageImages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
105291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105292
|
+
});
|
|
105293
|
+
},
|
|
105294
|
+
/**
|
|
105295
|
+
* Get Thread Storage Videos endpoint
|
|
105296
|
+
* @summary Get Thread Storage Videos
|
|
105297
|
+
* @param {string} threadId The thread identifier
|
|
105298
|
+
* @param {number} [page] Page number
|
|
105299
|
+
* @param {number} [pageSize] Number of items per page
|
|
105300
|
+
* @param {string} [orderBy] Field to order by
|
|
105301
|
+
* @param {string} [search] Search query
|
|
105302
|
+
* @param {*} [options] Override http request option.
|
|
105303
|
+
* @throws {RequiredError}
|
|
105304
|
+
*/
|
|
105305
|
+
getThreadStorageVideos(threadId, page, pageSize, orderBy, search, options) {
|
|
105306
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105307
|
+
var _a, _b, _c;
|
|
105308
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadStorageVideos(threadId, page, pageSize, orderBy, search, options);
|
|
105309
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
105310
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsStorageApi.getThreadStorageVideos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
105311
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105312
|
+
});
|
|
105313
|
+
},
|
|
105314
|
+
};
|
|
105315
|
+
};
|
|
105316
|
+
/**
|
|
105317
|
+
* ThreadsStorageApi - factory interface
|
|
105318
|
+
*/
|
|
105319
|
+
export const ThreadsStorageApiFactory = function (configuration, basePath, axios) {
|
|
105320
|
+
const localVarFp = ThreadsStorageApiFp(configuration);
|
|
105321
|
+
return {
|
|
105322
|
+
/**
|
|
105323
|
+
* Get Thread Storage Files endpoint
|
|
105324
|
+
* @summary Get Thread Storage Files
|
|
105325
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
105326
|
+
* @param {*} [options] Override http request option.
|
|
105327
|
+
* @throws {RequiredError}
|
|
105328
|
+
*/
|
|
105329
|
+
getThreadStorageFiles(requestParameters, options) {
|
|
105330
|
+
return localVarFp.getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
105331
|
+
},
|
|
105332
|
+
/**
|
|
105333
|
+
* Get Thread Storage Images endpoint
|
|
105334
|
+
* @summary Get Thread Storage Images
|
|
105335
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
105336
|
+
* @param {*} [options] Override http request option.
|
|
105337
|
+
* @throws {RequiredError}
|
|
105338
|
+
*/
|
|
105339
|
+
getThreadStorageImages(requestParameters, options) {
|
|
105340
|
+
return localVarFp.getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
105341
|
+
},
|
|
105342
|
+
/**
|
|
105343
|
+
* Get Thread Storage Videos endpoint
|
|
105344
|
+
* @summary Get Thread Storage Videos
|
|
105345
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
105346
|
+
* @param {*} [options] Override http request option.
|
|
105347
|
+
* @throws {RequiredError}
|
|
105348
|
+
*/
|
|
105349
|
+
getThreadStorageVideos(requestParameters, options) {
|
|
105350
|
+
return localVarFp.getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
105351
|
+
},
|
|
105352
|
+
};
|
|
105353
|
+
};
|
|
105354
|
+
/**
|
|
105355
|
+
* ThreadsStorageApi - object-oriented interface
|
|
105356
|
+
*/
|
|
105357
|
+
export class ThreadsStorageApi extends BaseAPI {
|
|
105358
|
+
/**
|
|
105359
|
+
* Get Thread Storage Files endpoint
|
|
105360
|
+
* @summary Get Thread Storage Files
|
|
105361
|
+
* @param {ThreadsStorageApiGetThreadStorageFilesRequest} requestParameters Request parameters.
|
|
105362
|
+
* @param {*} [options] Override http request option.
|
|
105363
|
+
* @throws {RequiredError}
|
|
105364
|
+
*/
|
|
105365
|
+
getThreadStorageFiles(requestParameters, options) {
|
|
105366
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageFiles(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
105367
|
+
}
|
|
105368
|
+
/**
|
|
105369
|
+
* Get Thread Storage Images endpoint
|
|
105370
|
+
* @summary Get Thread Storage Images
|
|
105371
|
+
* @param {ThreadsStorageApiGetThreadStorageImagesRequest} requestParameters Request parameters.
|
|
105372
|
+
* @param {*} [options] Override http request option.
|
|
105373
|
+
* @throws {RequiredError}
|
|
105374
|
+
*/
|
|
105375
|
+
getThreadStorageImages(requestParameters, options) {
|
|
105376
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageImages(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
105377
|
+
}
|
|
105378
|
+
/**
|
|
105379
|
+
* Get Thread Storage Videos endpoint
|
|
105380
|
+
* @summary Get Thread Storage Videos
|
|
105381
|
+
* @param {ThreadsStorageApiGetThreadStorageVideosRequest} requestParameters Request parameters.
|
|
105382
|
+
* @param {*} [options] Override http request option.
|
|
105383
|
+
* @throws {RequiredError}
|
|
105384
|
+
*/
|
|
105385
|
+
getThreadStorageVideos(requestParameters, options) {
|
|
105386
|
+
return ThreadsStorageApiFp(this.configuration).getThreadStorageVideos(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
105387
|
+
}
|
|
105388
|
+
}
|
|
105087
105389
|
/**
|
|
105088
105390
|
* TiersApi - axios parameter creator
|
|
105089
105391
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# GetThreadAccounts200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**data** | [**Array<ThreadAccount>**](ThreadAccount.md) | | [default to undefined]
|
|
11
|
+
**count** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GetThreadAccounts200Response } from '@connectedxm/admin-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: GetThreadAccounts200Response = {
|
|
19
|
+
status,
|
|
20
|
+
message,
|
|
21
|
+
data,
|
|
22
|
+
count,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -63,7 +63,7 @@ const { status, data } = await apiInstance.deleteThreadAccount(
|
|
|
63
63
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
64
|
|
|
65
65
|
# **getThreadAccounts**
|
|
66
|
-
>
|
|
66
|
+
> GetThreadAccounts200Response getThreadAccounts()
|
|
67
67
|
|
|
68
68
|
Get Thread Accounts endpoint
|
|
69
69
|
|
|
@@ -106,7 +106,7 @@ const { status, data } = await apiInstance.getThreadAccounts(
|
|
|
106
106
|
|
|
107
107
|
### Return type
|
|
108
108
|
|
|
109
|
-
**
|
|
109
|
+
**GetThreadAccounts200Response**
|
|
110
110
|
|
|
111
111
|
### Authorization
|
|
112
112
|
|