@connectedxm/admin-sdk 7.0.7 → 7.0.8
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/README.md +2 -2
- package/api.ts +26 -26
- package/dist/api.d.ts +12 -12
- package/dist/api.js +22 -22
- package/dist/esm/api.d.ts +12 -12
- package/dist/esm/api.js +22 -22
- package/docs/ThreadsAccountsApi.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1215,9 +1215,9 @@ Class | Method | HTTP request | Description
|
|
|
1215
1215
|
*ThreadsApi* | [**getThread**](docs/ThreadsApi.md#getthread) | **GET** /threads/{threadId} | Get Thread
|
|
1216
1216
|
*ThreadsApi* | [**getThreads**](docs/ThreadsApi.md#getthreads) | **GET** /threads | Get Threads
|
|
1217
1217
|
*ThreadsApi* | [**updateThread**](docs/ThreadsApi.md#updatethread) | **PUT** /threads/{threadId} | Update Thread
|
|
1218
|
-
*ThreadsAccountsApi* | [**deleteThreadAccount**](docs/ThreadsAccountsApi.md#deletethreadaccount) | **DELETE** /threads/{threadId}/accounts/{
|
|
1218
|
+
*ThreadsAccountsApi* | [**deleteThreadAccount**](docs/ThreadsAccountsApi.md#deletethreadaccount) | **DELETE** /threads/{threadId}/accounts/{threadAccountId} | Delete Thread Account
|
|
1219
1219
|
*ThreadsAccountsApi* | [**getThreadAccounts**](docs/ThreadsAccountsApi.md#getthreadaccounts) | **GET** /threads/{threadId}/accounts | Get Thread Accounts
|
|
1220
|
-
*ThreadsAccountsApi* | [**updateThreadAccount**](docs/ThreadsAccountsApi.md#updatethreadaccount) | **PUT** /threads/{threadId}/accounts/{
|
|
1220
|
+
*ThreadsAccountsApi* | [**updateThreadAccount**](docs/ThreadsAccountsApi.md#updatethreadaccount) | **PUT** /threads/{threadId}/accounts/{threadAccountId} | Update Thread Account
|
|
1221
1221
|
*ThreadsMessagesApi* | [**createThreadMessage**](docs/ThreadsMessagesApi.md#createthreadmessage) | **POST** /threads/{threadId}/messages | Create Thread Message
|
|
1222
1222
|
*ThreadsMessagesApi* | [**deleteThreadMessage**](docs/ThreadsMessagesApi.md#deletethreadmessage) | **DELETE** /threads/{threadId}/messages/{messageId} | Delete Thread Message
|
|
1223
1223
|
*ThreadsMessagesApi* | [**getThreadMessage**](docs/ThreadsMessagesApi.md#getthreadmessage) | **GET** /threads/{threadId}/messages/{messageId} | Get Thread Message
|
package/api.ts
CHANGED
|
@@ -146062,18 +146062,18 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration?: Con
|
|
|
146062
146062
|
* Delete Thread Account endpoint
|
|
146063
146063
|
* @summary Delete Thread Account
|
|
146064
146064
|
* @param {string} threadId The thread identifier
|
|
146065
|
-
* @param {string}
|
|
146065
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
146066
146066
|
* @param {*} [options] Override http request option.
|
|
146067
146067
|
* @throws {RequiredError}
|
|
146068
146068
|
*/
|
|
146069
|
-
deleteThreadAccount: async (threadId: string,
|
|
146069
|
+
deleteThreadAccount: async (threadId: string, threadAccountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146070
146070
|
// verify required parameter 'threadId' is not null or undefined
|
|
146071
146071
|
assertParamExists('deleteThreadAccount', 'threadId', threadId)
|
|
146072
|
-
// verify required parameter '
|
|
146073
|
-
assertParamExists('deleteThreadAccount', '
|
|
146074
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
146072
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
146073
|
+
assertParamExists('deleteThreadAccount', 'threadAccountId', threadAccountId)
|
|
146074
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
146075
146075
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
146076
|
-
.replace(`{${"
|
|
146076
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
146077
146077
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146078
146078
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146079
146079
|
let baseOptions;
|
|
@@ -146166,21 +146166,21 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration?: Con
|
|
|
146166
146166
|
* Update Thread Account endpoint
|
|
146167
146167
|
* @summary Update Thread Account
|
|
146168
146168
|
* @param {string} threadId The thread identifier
|
|
146169
|
-
* @param {string}
|
|
146169
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
146170
146170
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
146171
146171
|
* @param {*} [options] Override http request option.
|
|
146172
146172
|
* @throws {RequiredError}
|
|
146173
146173
|
*/
|
|
146174
|
-
updateThreadAccount: async (threadId: string,
|
|
146174
|
+
updateThreadAccount: async (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146175
146175
|
// verify required parameter 'threadId' is not null or undefined
|
|
146176
146176
|
assertParamExists('updateThreadAccount', 'threadId', threadId)
|
|
146177
|
-
// verify required parameter '
|
|
146178
|
-
assertParamExists('updateThreadAccount', '
|
|
146177
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
146178
|
+
assertParamExists('updateThreadAccount', 'threadAccountId', threadAccountId)
|
|
146179
146179
|
// verify required parameter 'threadAccountUpdateInputs' is not null or undefined
|
|
146180
146180
|
assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs)
|
|
146181
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
146181
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
146182
146182
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
146183
|
-
.replace(`{${"
|
|
146183
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
146184
146184
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146185
146185
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146186
146186
|
let baseOptions;
|
|
@@ -146224,12 +146224,12 @@ export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
|
|
|
146224
146224
|
* Delete Thread Account endpoint
|
|
146225
146225
|
* @summary Delete Thread Account
|
|
146226
146226
|
* @param {string} threadId The thread identifier
|
|
146227
|
-
* @param {string}
|
|
146227
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
146228
146228
|
* @param {*} [options] Override http request option.
|
|
146229
146229
|
* @throws {RequiredError}
|
|
146230
146230
|
*/
|
|
146231
|
-
async deleteThreadAccount(threadId: string,
|
|
146232
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadAccount(threadId,
|
|
146231
|
+
async deleteThreadAccount(threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
146232
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadAccount(threadId, threadAccountId, options);
|
|
146233
146233
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146234
146234
|
const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']?.[localVarOperationServerIndex]?.url;
|
|
146235
146235
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -146255,13 +146255,13 @@ export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
|
|
|
146255
146255
|
* Update Thread Account endpoint
|
|
146256
146256
|
* @summary Update Thread Account
|
|
146257
146257
|
* @param {string} threadId The thread identifier
|
|
146258
|
-
* @param {string}
|
|
146258
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
146259
146259
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
146260
146260
|
* @param {*} [options] Override http request option.
|
|
146261
146261
|
* @throws {RequiredError}
|
|
146262
146262
|
*/
|
|
146263
|
-
async updateThreadAccount(threadId: string,
|
|
146264
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadAccount(threadId,
|
|
146263
|
+
async updateThreadAccount(threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>> {
|
|
146264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadAccount(threadId, threadAccountId, threadAccountUpdateInputs, options);
|
|
146265
146265
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146266
146266
|
const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.updateThreadAccount']?.[localVarOperationServerIndex]?.url;
|
|
146267
146267
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -146283,7 +146283,7 @@ export const ThreadsAccountsApiFactory = function (configuration?: Configuration
|
|
|
146283
146283
|
* @throws {RequiredError}
|
|
146284
146284
|
*/
|
|
146285
146285
|
deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
146286
|
-
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
146286
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(axios, basePath));
|
|
146287
146287
|
},
|
|
146288
146288
|
/**
|
|
146289
146289
|
* Get Thread Accounts endpoint
|
|
@@ -146303,7 +146303,7 @@ export const ThreadsAccountsApiFactory = function (configuration?: Configuration
|
|
|
146303
146303
|
* @throws {RequiredError}
|
|
146304
146304
|
*/
|
|
146305
146305
|
updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateThreadAccount200Response> {
|
|
146306
|
-
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
146306
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
146307
146307
|
},
|
|
146308
146308
|
};
|
|
146309
146309
|
};
|
|
@@ -146318,9 +146318,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
|
|
|
146318
146318
|
readonly threadId: string
|
|
146319
146319
|
|
|
146320
146320
|
/**
|
|
146321
|
-
* The
|
|
146321
|
+
* The threadAccount identifier
|
|
146322
146322
|
*/
|
|
146323
|
-
readonly
|
|
146323
|
+
readonly threadAccountId: string
|
|
146324
146324
|
}
|
|
146325
146325
|
|
|
146326
146326
|
/**
|
|
@@ -146363,9 +146363,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
|
|
|
146363
146363
|
readonly threadId: string
|
|
146364
146364
|
|
|
146365
146365
|
/**
|
|
146366
|
-
* The
|
|
146366
|
+
* The threadAccount identifier
|
|
146367
146367
|
*/
|
|
146368
|
-
readonly
|
|
146368
|
+
readonly threadAccountId: string
|
|
146369
146369
|
|
|
146370
146370
|
readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs
|
|
146371
146371
|
}
|
|
@@ -146382,7 +146382,7 @@ export class ThreadsAccountsApi extends BaseAPI {
|
|
|
146382
146382
|
* @throws {RequiredError}
|
|
146383
146383
|
*/
|
|
146384
146384
|
public deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig) {
|
|
146385
|
-
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
146385
|
+
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
146386
146386
|
}
|
|
146387
146387
|
|
|
146388
146388
|
/**
|
|
@@ -146404,7 +146404,7 @@ export class ThreadsAccountsApi extends BaseAPI {
|
|
|
146404
146404
|
* @throws {RequiredError}
|
|
146405
146405
|
*/
|
|
146406
146406
|
public updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig) {
|
|
146407
|
-
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
146407
|
+
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
146408
146408
|
}
|
|
146409
146409
|
}
|
|
146410
146410
|
|
package/dist/api.d.ts
CHANGED
|
@@ -79306,11 +79306,11 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
|
|
|
79306
79306
|
* Delete Thread Account endpoint
|
|
79307
79307
|
* @summary Delete Thread Account
|
|
79308
79308
|
* @param {string} threadId The thread identifier
|
|
79309
|
-
* @param {string}
|
|
79309
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79310
79310
|
* @param {*} [options] Override http request option.
|
|
79311
79311
|
* @throws {RequiredError}
|
|
79312
79312
|
*/
|
|
79313
|
-
deleteThreadAccount: (threadId: string,
|
|
79313
|
+
deleteThreadAccount: (threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79314
79314
|
/**
|
|
79315
79315
|
* Get Thread Accounts endpoint
|
|
79316
79316
|
* @summary Get Thread Accounts
|
|
@@ -79327,12 +79327,12 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
|
|
|
79327
79327
|
* Update Thread Account endpoint
|
|
79328
79328
|
* @summary Update Thread Account
|
|
79329
79329
|
* @param {string} threadId The thread identifier
|
|
79330
|
-
* @param {string}
|
|
79330
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79331
79331
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
79332
79332
|
* @param {*} [options] Override http request option.
|
|
79333
79333
|
* @throws {RequiredError}
|
|
79334
79334
|
*/
|
|
79335
|
-
updateThreadAccount: (threadId: string,
|
|
79335
|
+
updateThreadAccount: (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79336
79336
|
};
|
|
79337
79337
|
/**
|
|
79338
79338
|
* ThreadsAccountsApi - functional programming interface
|
|
@@ -79342,11 +79342,11 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
|
|
|
79342
79342
|
* Delete Thread Account endpoint
|
|
79343
79343
|
* @summary Delete Thread Account
|
|
79344
79344
|
* @param {string} threadId The thread identifier
|
|
79345
|
-
* @param {string}
|
|
79345
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79346
79346
|
* @param {*} [options] Override http request option.
|
|
79347
79347
|
* @throws {RequiredError}
|
|
79348
79348
|
*/
|
|
79349
|
-
deleteThreadAccount(threadId: string,
|
|
79349
|
+
deleteThreadAccount(threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
79350
79350
|
/**
|
|
79351
79351
|
* Get Thread Accounts endpoint
|
|
79352
79352
|
* @summary Get Thread Accounts
|
|
@@ -79363,12 +79363,12 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
|
|
|
79363
79363
|
* Update Thread Account endpoint
|
|
79364
79364
|
* @summary Update Thread Account
|
|
79365
79365
|
* @param {string} threadId The thread identifier
|
|
79366
|
-
* @param {string}
|
|
79366
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79367
79367
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
79368
79368
|
* @param {*} [options] Override http request option.
|
|
79369
79369
|
* @throws {RequiredError}
|
|
79370
79370
|
*/
|
|
79371
|
-
updateThreadAccount(threadId: string,
|
|
79371
|
+
updateThreadAccount(threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
|
|
79372
79372
|
};
|
|
79373
79373
|
/**
|
|
79374
79374
|
* ThreadsAccountsApi - factory interface
|
|
@@ -79408,9 +79408,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
|
|
|
79408
79408
|
*/
|
|
79409
79409
|
readonly threadId: string;
|
|
79410
79410
|
/**
|
|
79411
|
-
* The
|
|
79411
|
+
* The threadAccount identifier
|
|
79412
79412
|
*/
|
|
79413
|
-
readonly
|
|
79413
|
+
readonly threadAccountId: string;
|
|
79414
79414
|
}
|
|
79415
79415
|
/**
|
|
79416
79416
|
* Request parameters for getThreadAccounts operation in ThreadsAccountsApi.
|
|
@@ -79446,9 +79446,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
|
|
|
79446
79446
|
*/
|
|
79447
79447
|
readonly threadId: string;
|
|
79448
79448
|
/**
|
|
79449
|
-
* The
|
|
79449
|
+
* The threadAccount identifier
|
|
79450
79450
|
*/
|
|
79451
|
-
readonly
|
|
79451
|
+
readonly threadAccountId: string;
|
|
79452
79452
|
readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs;
|
|
79453
79453
|
}
|
|
79454
79454
|
/**
|
package/dist/api.js
CHANGED
|
@@ -104058,18 +104058,18 @@ const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
104058
104058
|
* Delete Thread Account endpoint
|
|
104059
104059
|
* @summary Delete Thread Account
|
|
104060
104060
|
* @param {string} threadId The thread identifier
|
|
104061
|
-
* @param {string}
|
|
104061
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
104062
104062
|
* @param {*} [options] Override http request option.
|
|
104063
104063
|
* @throws {RequiredError}
|
|
104064
104064
|
*/
|
|
104065
|
-
deleteThreadAccount: (threadId_1,
|
|
104065
|
+
deleteThreadAccount: (threadId_1, threadAccountId_1, ...args_1) => __awaiter(this, [threadId_1, threadAccountId_1, ...args_1], void 0, function* (threadId, threadAccountId, options = {}) {
|
|
104066
104066
|
// verify required parameter 'threadId' is not null or undefined
|
|
104067
104067
|
(0, common_1.assertParamExists)('deleteThreadAccount', 'threadId', threadId);
|
|
104068
|
-
// verify required parameter '
|
|
104069
|
-
(0, common_1.assertParamExists)('deleteThreadAccount', '
|
|
104070
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
104068
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
104069
|
+
(0, common_1.assertParamExists)('deleteThreadAccount', 'threadAccountId', threadAccountId);
|
|
104070
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
104071
104071
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
104072
|
-
.replace(`{${"
|
|
104072
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
104073
104073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104074
104074
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
104075
104075
|
let baseOptions;
|
|
@@ -104146,21 +104146,21 @@ const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
104146
104146
|
* Update Thread Account endpoint
|
|
104147
104147
|
* @summary Update Thread Account
|
|
104148
104148
|
* @param {string} threadId The thread identifier
|
|
104149
|
-
* @param {string}
|
|
104149
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
104150
104150
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
104151
104151
|
* @param {*} [options] Override http request option.
|
|
104152
104152
|
* @throws {RequiredError}
|
|
104153
104153
|
*/
|
|
104154
|
-
updateThreadAccount: (threadId_1,
|
|
104154
|
+
updateThreadAccount: (threadId_1, threadAccountId_1, threadAccountUpdateInputs_1, ...args_1) => __awaiter(this, [threadId_1, threadAccountId_1, threadAccountUpdateInputs_1, ...args_1], void 0, function* (threadId, threadAccountId, threadAccountUpdateInputs, options = {}) {
|
|
104155
104155
|
// verify required parameter 'threadId' is not null or undefined
|
|
104156
104156
|
(0, common_1.assertParamExists)('updateThreadAccount', 'threadId', threadId);
|
|
104157
|
-
// verify required parameter '
|
|
104158
|
-
(0, common_1.assertParamExists)('updateThreadAccount', '
|
|
104157
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
104158
|
+
(0, common_1.assertParamExists)('updateThreadAccount', 'threadAccountId', threadAccountId);
|
|
104159
104159
|
// verify required parameter 'threadAccountUpdateInputs' is not null or undefined
|
|
104160
104160
|
(0, common_1.assertParamExists)('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs);
|
|
104161
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
104161
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
104162
104162
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
104163
|
-
.replace(`{${"
|
|
104163
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
104164
104164
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104165
104165
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
104166
104166
|
let baseOptions;
|
|
@@ -104198,14 +104198,14 @@ const ThreadsAccountsApiFp = function (configuration) {
|
|
|
104198
104198
|
* Delete Thread Account endpoint
|
|
104199
104199
|
* @summary Delete Thread Account
|
|
104200
104200
|
* @param {string} threadId The thread identifier
|
|
104201
|
-
* @param {string}
|
|
104201
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
104202
104202
|
* @param {*} [options] Override http request option.
|
|
104203
104203
|
* @throws {RequiredError}
|
|
104204
104204
|
*/
|
|
104205
|
-
deleteThreadAccount(threadId,
|
|
104205
|
+
deleteThreadAccount(threadId, threadAccountId, options) {
|
|
104206
104206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104207
104207
|
var _a, _b, _c;
|
|
104208
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId,
|
|
104208
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId, threadAccountId, options);
|
|
104209
104209
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104210
104210
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ThreadsAccountsApi.deleteThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104211
104211
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -104235,15 +104235,15 @@ const ThreadsAccountsApiFp = function (configuration) {
|
|
|
104235
104235
|
* Update Thread Account endpoint
|
|
104236
104236
|
* @summary Update Thread Account
|
|
104237
104237
|
* @param {string} threadId The thread identifier
|
|
104238
|
-
* @param {string}
|
|
104238
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
104239
104239
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
104240
104240
|
* @param {*} [options] Override http request option.
|
|
104241
104241
|
* @throws {RequiredError}
|
|
104242
104242
|
*/
|
|
104243
|
-
updateThreadAccount(threadId,
|
|
104243
|
+
updateThreadAccount(threadId, threadAccountId, threadAccountUpdateInputs, options) {
|
|
104244
104244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104245
104245
|
var _a, _b, _c;
|
|
104246
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId,
|
|
104246
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId, threadAccountId, threadAccountUpdateInputs, options);
|
|
104247
104247
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104248
104248
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ThreadsAccountsApi.updateThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104249
104249
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -104266,7 +104266,7 @@ const ThreadsAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
104266
104266
|
* @throws {RequiredError}
|
|
104267
104267
|
*/
|
|
104268
104268
|
deleteThreadAccount(requestParameters, options) {
|
|
104269
|
-
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
104269
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(axios, basePath));
|
|
104270
104270
|
},
|
|
104271
104271
|
/**
|
|
104272
104272
|
* Get Thread Accounts endpoint
|
|
@@ -104286,7 +104286,7 @@ const ThreadsAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
104286
104286
|
* @throws {RequiredError}
|
|
104287
104287
|
*/
|
|
104288
104288
|
updateThreadAccount(requestParameters, options) {
|
|
104289
|
-
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
104289
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
104290
104290
|
},
|
|
104291
104291
|
};
|
|
104292
104292
|
};
|
|
@@ -104303,7 +104303,7 @@ class ThreadsAccountsApi extends base_1.BaseAPI {
|
|
|
104303
104303
|
* @throws {RequiredError}
|
|
104304
104304
|
*/
|
|
104305
104305
|
deleteThreadAccount(requestParameters, options) {
|
|
104306
|
-
return (0, exports.ThreadsAccountsApiFp)(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
104306
|
+
return (0, exports.ThreadsAccountsApiFp)(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
104307
104307
|
}
|
|
104308
104308
|
/**
|
|
104309
104309
|
* Get Thread Accounts endpoint
|
|
@@ -104323,7 +104323,7 @@ class ThreadsAccountsApi extends base_1.BaseAPI {
|
|
|
104323
104323
|
* @throws {RequiredError}
|
|
104324
104324
|
*/
|
|
104325
104325
|
updateThreadAccount(requestParameters, options) {
|
|
104326
|
-
return (0, exports.ThreadsAccountsApiFp)(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
104326
|
+
return (0, exports.ThreadsAccountsApiFp)(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
104327
104327
|
}
|
|
104328
104328
|
}
|
|
104329
104329
|
exports.ThreadsAccountsApi = ThreadsAccountsApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -79306,11 +79306,11 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
|
|
|
79306
79306
|
* Delete Thread Account endpoint
|
|
79307
79307
|
* @summary Delete Thread Account
|
|
79308
79308
|
* @param {string} threadId The thread identifier
|
|
79309
|
-
* @param {string}
|
|
79309
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79310
79310
|
* @param {*} [options] Override http request option.
|
|
79311
79311
|
* @throws {RequiredError}
|
|
79312
79312
|
*/
|
|
79313
|
-
deleteThreadAccount: (threadId: string,
|
|
79313
|
+
deleteThreadAccount: (threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79314
79314
|
/**
|
|
79315
79315
|
* Get Thread Accounts endpoint
|
|
79316
79316
|
* @summary Get Thread Accounts
|
|
@@ -79327,12 +79327,12 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
|
|
|
79327
79327
|
* Update Thread Account endpoint
|
|
79328
79328
|
* @summary Update Thread Account
|
|
79329
79329
|
* @param {string} threadId The thread identifier
|
|
79330
|
-
* @param {string}
|
|
79330
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79331
79331
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
79332
79332
|
* @param {*} [options] Override http request option.
|
|
79333
79333
|
* @throws {RequiredError}
|
|
79334
79334
|
*/
|
|
79335
|
-
updateThreadAccount: (threadId: string,
|
|
79335
|
+
updateThreadAccount: (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79336
79336
|
};
|
|
79337
79337
|
/**
|
|
79338
79338
|
* ThreadsAccountsApi - functional programming interface
|
|
@@ -79342,11 +79342,11 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
|
|
|
79342
79342
|
* Delete Thread Account endpoint
|
|
79343
79343
|
* @summary Delete Thread Account
|
|
79344
79344
|
* @param {string} threadId The thread identifier
|
|
79345
|
-
* @param {string}
|
|
79345
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79346
79346
|
* @param {*} [options] Override http request option.
|
|
79347
79347
|
* @throws {RequiredError}
|
|
79348
79348
|
*/
|
|
79349
|
-
deleteThreadAccount(threadId: string,
|
|
79349
|
+
deleteThreadAccount(threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
|
|
79350
79350
|
/**
|
|
79351
79351
|
* Get Thread Accounts endpoint
|
|
79352
79352
|
* @summary Get Thread Accounts
|
|
@@ -79363,12 +79363,12 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
|
|
|
79363
79363
|
* Update Thread Account endpoint
|
|
79364
79364
|
* @summary Update Thread Account
|
|
79365
79365
|
* @param {string} threadId The thread identifier
|
|
79366
|
-
* @param {string}
|
|
79366
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
79367
79367
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
79368
79368
|
* @param {*} [options] Override http request option.
|
|
79369
79369
|
* @throws {RequiredError}
|
|
79370
79370
|
*/
|
|
79371
|
-
updateThreadAccount(threadId: string,
|
|
79371
|
+
updateThreadAccount(threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
|
|
79372
79372
|
};
|
|
79373
79373
|
/**
|
|
79374
79374
|
* ThreadsAccountsApi - factory interface
|
|
@@ -79408,9 +79408,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
|
|
|
79408
79408
|
*/
|
|
79409
79409
|
readonly threadId: string;
|
|
79410
79410
|
/**
|
|
79411
|
-
* The
|
|
79411
|
+
* The threadAccount identifier
|
|
79412
79412
|
*/
|
|
79413
|
-
readonly
|
|
79413
|
+
readonly threadAccountId: string;
|
|
79414
79414
|
}
|
|
79415
79415
|
/**
|
|
79416
79416
|
* Request parameters for getThreadAccounts operation in ThreadsAccountsApi.
|
|
@@ -79446,9 +79446,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
|
|
|
79446
79446
|
*/
|
|
79447
79447
|
readonly threadId: string;
|
|
79448
79448
|
/**
|
|
79449
|
-
* The
|
|
79449
|
+
* The threadAccount identifier
|
|
79450
79450
|
*/
|
|
79451
|
-
readonly
|
|
79451
|
+
readonly threadAccountId: string;
|
|
79452
79452
|
readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs;
|
|
79453
79453
|
}
|
|
79454
79454
|
/**
|
package/dist/esm/api.js
CHANGED
|
@@ -103289,18 +103289,18 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
103289
103289
|
* Delete Thread Account endpoint
|
|
103290
103290
|
* @summary Delete Thread Account
|
|
103291
103291
|
* @param {string} threadId The thread identifier
|
|
103292
|
-
* @param {string}
|
|
103292
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
103293
103293
|
* @param {*} [options] Override http request option.
|
|
103294
103294
|
* @throws {RequiredError}
|
|
103295
103295
|
*/
|
|
103296
|
-
deleteThreadAccount: (threadId_1,
|
|
103296
|
+
deleteThreadAccount: (threadId_1, threadAccountId_1, ...args_1) => __awaiter(this, [threadId_1, threadAccountId_1, ...args_1], void 0, function* (threadId, threadAccountId, options = {}) {
|
|
103297
103297
|
// verify required parameter 'threadId' is not null or undefined
|
|
103298
103298
|
assertParamExists('deleteThreadAccount', 'threadId', threadId);
|
|
103299
|
-
// verify required parameter '
|
|
103300
|
-
assertParamExists('deleteThreadAccount', '
|
|
103301
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
103299
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
103300
|
+
assertParamExists('deleteThreadAccount', 'threadAccountId', threadAccountId);
|
|
103301
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
103302
103302
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
103303
|
-
.replace(`{${"
|
|
103303
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
103304
103304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103305
103305
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103306
103306
|
let baseOptions;
|
|
@@ -103377,21 +103377,21 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
103377
103377
|
* Update Thread Account endpoint
|
|
103378
103378
|
* @summary Update Thread Account
|
|
103379
103379
|
* @param {string} threadId The thread identifier
|
|
103380
|
-
* @param {string}
|
|
103380
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
103381
103381
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
103382
103382
|
* @param {*} [options] Override http request option.
|
|
103383
103383
|
* @throws {RequiredError}
|
|
103384
103384
|
*/
|
|
103385
|
-
updateThreadAccount: (threadId_1,
|
|
103385
|
+
updateThreadAccount: (threadId_1, threadAccountId_1, threadAccountUpdateInputs_1, ...args_1) => __awaiter(this, [threadId_1, threadAccountId_1, threadAccountUpdateInputs_1, ...args_1], void 0, function* (threadId, threadAccountId, threadAccountUpdateInputs, options = {}) {
|
|
103386
103386
|
// verify required parameter 'threadId' is not null or undefined
|
|
103387
103387
|
assertParamExists('updateThreadAccount', 'threadId', threadId);
|
|
103388
|
-
// verify required parameter '
|
|
103389
|
-
assertParamExists('updateThreadAccount', '
|
|
103388
|
+
// verify required parameter 'threadAccountId' is not null or undefined
|
|
103389
|
+
assertParamExists('updateThreadAccount', 'threadAccountId', threadAccountId);
|
|
103390
103390
|
// verify required parameter 'threadAccountUpdateInputs' is not null or undefined
|
|
103391
103391
|
assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs);
|
|
103392
|
-
const localVarPath = `/threads/{threadId}/accounts/{
|
|
103392
|
+
const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
|
|
103393
103393
|
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
103394
|
-
.replace(`{${"
|
|
103394
|
+
.replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
|
|
103395
103395
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103396
103396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103397
103397
|
let baseOptions;
|
|
@@ -103428,14 +103428,14 @@ export const ThreadsAccountsApiFp = function (configuration) {
|
|
|
103428
103428
|
* Delete Thread Account endpoint
|
|
103429
103429
|
* @summary Delete Thread Account
|
|
103430
103430
|
* @param {string} threadId The thread identifier
|
|
103431
|
-
* @param {string}
|
|
103431
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
103432
103432
|
* @param {*} [options] Override http request option.
|
|
103433
103433
|
* @throws {RequiredError}
|
|
103434
103434
|
*/
|
|
103435
|
-
deleteThreadAccount(threadId,
|
|
103435
|
+
deleteThreadAccount(threadId, threadAccountId, options) {
|
|
103436
103436
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103437
103437
|
var _a, _b, _c;
|
|
103438
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId,
|
|
103438
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId, threadAccountId, options);
|
|
103439
103439
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103440
103440
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103441
103441
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -103465,15 +103465,15 @@ export const ThreadsAccountsApiFp = function (configuration) {
|
|
|
103465
103465
|
* Update Thread Account endpoint
|
|
103466
103466
|
* @summary Update Thread Account
|
|
103467
103467
|
* @param {string} threadId The thread identifier
|
|
103468
|
-
* @param {string}
|
|
103468
|
+
* @param {string} threadAccountId The threadAccount identifier
|
|
103469
103469
|
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
103470
103470
|
* @param {*} [options] Override http request option.
|
|
103471
103471
|
* @throws {RequiredError}
|
|
103472
103472
|
*/
|
|
103473
|
-
updateThreadAccount(threadId,
|
|
103473
|
+
updateThreadAccount(threadId, threadAccountId, threadAccountUpdateInputs, options) {
|
|
103474
103474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103475
103475
|
var _a, _b, _c;
|
|
103476
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId,
|
|
103476
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId, threadAccountId, threadAccountUpdateInputs, options);
|
|
103477
103477
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103478
103478
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.updateThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103479
103479
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -103495,7 +103495,7 @@ export const ThreadsAccountsApiFactory = function (configuration, basePath, axio
|
|
|
103495
103495
|
* @throws {RequiredError}
|
|
103496
103496
|
*/
|
|
103497
103497
|
deleteThreadAccount(requestParameters, options) {
|
|
103498
|
-
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
103498
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(axios, basePath));
|
|
103499
103499
|
},
|
|
103500
103500
|
/**
|
|
103501
103501
|
* Get Thread Accounts endpoint
|
|
@@ -103515,7 +103515,7 @@ export const ThreadsAccountsApiFactory = function (configuration, basePath, axio
|
|
|
103515
103515
|
* @throws {RequiredError}
|
|
103516
103516
|
*/
|
|
103517
103517
|
updateThreadAccount(requestParameters, options) {
|
|
103518
|
-
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
103518
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
103519
103519
|
},
|
|
103520
103520
|
};
|
|
103521
103521
|
};
|
|
@@ -103531,7 +103531,7 @@ export class ThreadsAccountsApi extends BaseAPI {
|
|
|
103531
103531
|
* @throws {RequiredError}
|
|
103532
103532
|
*/
|
|
103533
103533
|
deleteThreadAccount(requestParameters, options) {
|
|
103534
|
-
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.
|
|
103534
|
+
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
103535
103535
|
}
|
|
103536
103536
|
/**
|
|
103537
103537
|
* Get Thread Accounts endpoint
|
|
@@ -103551,7 +103551,7 @@ export class ThreadsAccountsApi extends BaseAPI {
|
|
|
103551
103551
|
* @throws {RequiredError}
|
|
103552
103552
|
*/
|
|
103553
103553
|
updateThreadAccount(requestParameters, options) {
|
|
103554
|
-
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.
|
|
103554
|
+
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103555
103555
|
}
|
|
103556
103556
|
}
|
|
103557
103557
|
/**
|
|
@@ -4,9 +4,9 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteThreadAccount**](#deletethreadaccount) | **DELETE** /threads/{threadId}/accounts/{
|
|
7
|
+
|[**deleteThreadAccount**](#deletethreadaccount) | **DELETE** /threads/{threadId}/accounts/{threadAccountId} | Delete Thread Account|
|
|
8
8
|
|[**getThreadAccounts**](#getthreadaccounts) | **GET** /threads/{threadId}/accounts | Get Thread Accounts|
|
|
9
|
-
|[**updateThreadAccount**](#updatethreadaccount) | **PUT** /threads/{threadId}/accounts/{
|
|
9
|
+
|[**updateThreadAccount**](#updatethreadaccount) | **PUT** /threads/{threadId}/accounts/{threadAccountId} | Update Thread Account|
|
|
10
10
|
|
|
11
11
|
# **deleteThreadAccount**
|
|
12
12
|
> CreateAccountInvitations200Response deleteThreadAccount()
|
|
@@ -25,11 +25,11 @@ const configuration = new Configuration();
|
|
|
25
25
|
const apiInstance = new ThreadsAccountsApi(configuration);
|
|
26
26
|
|
|
27
27
|
let threadId: string; //The thread identifier (default to undefined)
|
|
28
|
-
let
|
|
28
|
+
let threadAccountId: string; //The threadAccount identifier (default to undefined)
|
|
29
29
|
|
|
30
30
|
const { status, data } = await apiInstance.deleteThreadAccount(
|
|
31
31
|
threadId,
|
|
32
|
-
|
|
32
|
+
threadAccountId
|
|
33
33
|
);
|
|
34
34
|
```
|
|
35
35
|
|
|
@@ -38,7 +38,7 @@ const { status, data } = await apiInstance.deleteThreadAccount(
|
|
|
38
38
|
|Name | Type | Description | Notes|
|
|
39
39
|
|------------- | ------------- | ------------- | -------------|
|
|
40
40
|
| **threadId** | [**string**] | The thread identifier | defaults to undefined|
|
|
41
|
-
| **
|
|
41
|
+
| **threadAccountId** | [**string**] | The threadAccount identifier | defaults to undefined|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
### Return type
|
|
@@ -143,12 +143,12 @@ const configuration = new Configuration();
|
|
|
143
143
|
const apiInstance = new ThreadsAccountsApi(configuration);
|
|
144
144
|
|
|
145
145
|
let threadId: string; //The thread identifier (default to undefined)
|
|
146
|
-
let
|
|
146
|
+
let threadAccountId: string; //The threadAccount identifier (default to undefined)
|
|
147
147
|
let threadAccountUpdateInputs: ThreadAccountUpdateInputs; //
|
|
148
148
|
|
|
149
149
|
const { status, data } = await apiInstance.updateThreadAccount(
|
|
150
150
|
threadId,
|
|
151
|
-
|
|
151
|
+
threadAccountId,
|
|
152
152
|
threadAccountUpdateInputs
|
|
153
153
|
);
|
|
154
154
|
```
|
|
@@ -159,7 +159,7 @@ const { status, data } = await apiInstance.updateThreadAccount(
|
|
|
159
159
|
|------------- | ------------- | ------------- | -------------|
|
|
160
160
|
| **threadAccountUpdateInputs** | **ThreadAccountUpdateInputs**| | |
|
|
161
161
|
| **threadId** | [**string**] | The thread identifier | defaults to undefined|
|
|
162
|
-
| **
|
|
162
|
+
| **threadAccountId** | [**string**] | The threadAccount identifier | defaults to undefined|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
### Return type
|