@connectedxm/admin-sdk 7.0.6 → 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 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/{accountId} | Delete Thread Account
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/{accountId} | Update Thread Account
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
@@ -2538,7 +2538,6 @@ export interface BaseThread {
2538
2538
  export interface BaseThreadMessage {
2539
2539
  'id': string;
2540
2540
  'body': string;
2541
- 'accountId': string;
2542
2541
  'threadAccount': ThreadAccount;
2543
2542
  'createdAt': string;
2544
2543
  'editedAt': string | null;
@@ -13650,7 +13649,6 @@ export interface ThreadCreateInputs {
13650
13649
  export interface ThreadMessage {
13651
13650
  'id': string;
13652
13651
  'body': string;
13653
- 'accountId': string;
13654
13652
  'threadAccount': ThreadAccount;
13655
13653
  'createdAt': string;
13656
13654
  'editedAt': string | null;
@@ -146064,18 +146062,18 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration?: Con
146064
146062
  * Delete Thread Account endpoint
146065
146063
  * @summary Delete Thread Account
146066
146064
  * @param {string} threadId The thread identifier
146067
- * @param {string} accountId The account identifier
146065
+ * @param {string} threadAccountId The threadAccount identifier
146068
146066
  * @param {*} [options] Override http request option.
146069
146067
  * @throws {RequiredError}
146070
146068
  */
146071
- deleteThreadAccount: async (threadId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
146069
+ deleteThreadAccount: async (threadId: string, threadAccountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
146072
146070
  // verify required parameter 'threadId' is not null or undefined
146073
146071
  assertParamExists('deleteThreadAccount', 'threadId', threadId)
146074
- // verify required parameter 'accountId' is not null or undefined
146075
- assertParamExists('deleteThreadAccount', 'accountId', accountId)
146076
- const localVarPath = `/threads/{threadId}/accounts/{accountId}`
146072
+ // verify required parameter 'threadAccountId' is not null or undefined
146073
+ assertParamExists('deleteThreadAccount', 'threadAccountId', threadAccountId)
146074
+ const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
146077
146075
  .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
146078
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
146076
+ .replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
146079
146077
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
146080
146078
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
146081
146079
  let baseOptions;
@@ -146168,21 +146166,21 @@ export const ThreadsAccountsApiAxiosParamCreator = function (configuration?: Con
146168
146166
  * Update Thread Account endpoint
146169
146167
  * @summary Update Thread Account
146170
146168
  * @param {string} threadId The thread identifier
146171
- * @param {string} accountId The account identifier
146169
+ * @param {string} threadAccountId The threadAccount identifier
146172
146170
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
146173
146171
  * @param {*} [options] Override http request option.
146174
146172
  * @throws {RequiredError}
146175
146173
  */
146176
- updateThreadAccount: async (threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
146174
+ updateThreadAccount: async (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
146177
146175
  // verify required parameter 'threadId' is not null or undefined
146178
146176
  assertParamExists('updateThreadAccount', 'threadId', threadId)
146179
- // verify required parameter 'accountId' is not null or undefined
146180
- assertParamExists('updateThreadAccount', 'accountId', accountId)
146177
+ // verify required parameter 'threadAccountId' is not null or undefined
146178
+ assertParamExists('updateThreadAccount', 'threadAccountId', threadAccountId)
146181
146179
  // verify required parameter 'threadAccountUpdateInputs' is not null or undefined
146182
146180
  assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs)
146183
- const localVarPath = `/threads/{threadId}/accounts/{accountId}`
146181
+ const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
146184
146182
  .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
146185
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
146183
+ .replace(`{${"threadAccountId"}}`, encodeURIComponent(String(threadAccountId)));
146186
146184
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
146187
146185
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
146188
146186
  let baseOptions;
@@ -146226,12 +146224,12 @@ export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
146226
146224
  * Delete Thread Account endpoint
146227
146225
  * @summary Delete Thread Account
146228
146226
  * @param {string} threadId The thread identifier
146229
- * @param {string} accountId The account identifier
146227
+ * @param {string} threadAccountId The threadAccount identifier
146230
146228
  * @param {*} [options] Override http request option.
146231
146229
  * @throws {RequiredError}
146232
146230
  */
146233
- async deleteThreadAccount(threadId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
146234
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadAccount(threadId, accountId, options);
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);
146235
146233
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
146236
146234
  const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']?.[localVarOperationServerIndex]?.url;
146237
146235
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -146257,13 +146255,13 @@ export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
146257
146255
  * Update Thread Account endpoint
146258
146256
  * @summary Update Thread Account
146259
146257
  * @param {string} threadId The thread identifier
146260
- * @param {string} accountId The account identifier
146258
+ * @param {string} threadAccountId The threadAccount identifier
146261
146259
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
146262
146260
  * @param {*} [options] Override http request option.
146263
146261
  * @throws {RequiredError}
146264
146262
  */
146265
- async updateThreadAccount(threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>> {
146266
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options);
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);
146267
146265
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
146268
146266
  const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.updateThreadAccount']?.[localVarOperationServerIndex]?.url;
146269
146267
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -146285,7 +146283,7 @@ export const ThreadsAccountsApiFactory = function (configuration?: Configuration
146285
146283
  * @throws {RequiredError}
146286
146284
  */
146287
146285
  deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
146288
- return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(axios, basePath));
146286
+ return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(axios, basePath));
146289
146287
  },
146290
146288
  /**
146291
146289
  * Get Thread Accounts endpoint
@@ -146305,7 +146303,7 @@ export const ThreadsAccountsApiFactory = function (configuration?: Configuration
146305
146303
  * @throws {RequiredError}
146306
146304
  */
146307
146305
  updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateThreadAccount200Response> {
146308
- return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
146306
+ return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
146309
146307
  },
146310
146308
  };
146311
146309
  };
@@ -146320,9 +146318,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
146320
146318
  readonly threadId: string
146321
146319
 
146322
146320
  /**
146323
- * The account identifier
146321
+ * The threadAccount identifier
146324
146322
  */
146325
- readonly accountId: string
146323
+ readonly threadAccountId: string
146326
146324
  }
146327
146325
 
146328
146326
  /**
@@ -146365,9 +146363,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
146365
146363
  readonly threadId: string
146366
146364
 
146367
146365
  /**
146368
- * The account identifier
146366
+ * The threadAccount identifier
146369
146367
  */
146370
- readonly accountId: string
146368
+ readonly threadAccountId: string
146371
146369
 
146372
146370
  readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs
146373
146371
  }
@@ -146384,7 +146382,7 @@ export class ThreadsAccountsApi extends BaseAPI {
146384
146382
  * @throws {RequiredError}
146385
146383
  */
146386
146384
  public deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig) {
146387
- return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
146385
+ return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, options).then((request) => request(this.axios, this.basePath));
146388
146386
  }
146389
146387
 
146390
146388
  /**
@@ -146406,7 +146404,7 @@ export class ThreadsAccountsApi extends BaseAPI {
146406
146404
  * @throws {RequiredError}
146407
146405
  */
146408
146406
  public updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig) {
146409
- return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
146407
+ return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.threadAccountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
146410
146408
  }
146411
146409
  }
146412
146410
 
package/dist/api.d.ts CHANGED
@@ -2356,7 +2356,6 @@ export interface BaseThread {
2356
2356
  export interface BaseThreadMessage {
2357
2357
  'id': string;
2358
2358
  'body': string;
2359
- 'accountId': string;
2360
2359
  'threadAccount': ThreadAccount;
2361
2360
  'createdAt': string;
2362
2361
  'editedAt': string | null;
@@ -12153,7 +12152,6 @@ export interface ThreadCreateInputs {
12153
12152
  export interface ThreadMessage {
12154
12153
  'id': string;
12155
12154
  'body': string;
12156
- 'accountId': string;
12157
12155
  'threadAccount': ThreadAccount;
12158
12156
  'createdAt': string;
12159
12157
  'editedAt': string | null;
@@ -79308,11 +79306,11 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
79308
79306
  * Delete Thread Account endpoint
79309
79307
  * @summary Delete Thread Account
79310
79308
  * @param {string} threadId The thread identifier
79311
- * @param {string} accountId The account identifier
79309
+ * @param {string} threadAccountId The threadAccount identifier
79312
79310
  * @param {*} [options] Override http request option.
79313
79311
  * @throws {RequiredError}
79314
79312
  */
79315
- deleteThreadAccount: (threadId: string, accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79313
+ deleteThreadAccount: (threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79316
79314
  /**
79317
79315
  * Get Thread Accounts endpoint
79318
79316
  * @summary Get Thread Accounts
@@ -79329,12 +79327,12 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
79329
79327
  * Update Thread Account endpoint
79330
79328
  * @summary Update Thread Account
79331
79329
  * @param {string} threadId The thread identifier
79332
- * @param {string} accountId The account identifier
79330
+ * @param {string} threadAccountId The threadAccount identifier
79333
79331
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
79334
79332
  * @param {*} [options] Override http request option.
79335
79333
  * @throws {RequiredError}
79336
79334
  */
79337
- updateThreadAccount: (threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79335
+ updateThreadAccount: (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79338
79336
  };
79339
79337
  /**
79340
79338
  * ThreadsAccountsApi - functional programming interface
@@ -79344,11 +79342,11 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
79344
79342
  * Delete Thread Account endpoint
79345
79343
  * @summary Delete Thread Account
79346
79344
  * @param {string} threadId The thread identifier
79347
- * @param {string} accountId The account identifier
79345
+ * @param {string} threadAccountId The threadAccount identifier
79348
79346
  * @param {*} [options] Override http request option.
79349
79347
  * @throws {RequiredError}
79350
79348
  */
79351
- deleteThreadAccount(threadId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
79349
+ deleteThreadAccount(threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
79352
79350
  /**
79353
79351
  * Get Thread Accounts endpoint
79354
79352
  * @summary Get Thread Accounts
@@ -79365,12 +79363,12 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
79365
79363
  * Update Thread Account endpoint
79366
79364
  * @summary Update Thread Account
79367
79365
  * @param {string} threadId The thread identifier
79368
- * @param {string} accountId The account identifier
79366
+ * @param {string} threadAccountId The threadAccount identifier
79369
79367
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
79370
79368
  * @param {*} [options] Override http request option.
79371
79369
  * @throws {RequiredError}
79372
79370
  */
79373
- updateThreadAccount(threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
79371
+ updateThreadAccount(threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
79374
79372
  };
79375
79373
  /**
79376
79374
  * ThreadsAccountsApi - factory interface
@@ -79410,9 +79408,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
79410
79408
  */
79411
79409
  readonly threadId: string;
79412
79410
  /**
79413
- * The account identifier
79411
+ * The threadAccount identifier
79414
79412
  */
79415
- readonly accountId: string;
79413
+ readonly threadAccountId: string;
79416
79414
  }
79417
79415
  /**
79418
79416
  * Request parameters for getThreadAccounts operation in ThreadsAccountsApi.
@@ -79448,9 +79446,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
79448
79446
  */
79449
79447
  readonly threadId: string;
79450
79448
  /**
79451
- * The account identifier
79449
+ * The threadAccount identifier
79452
79450
  */
79453
- readonly accountId: string;
79451
+ readonly threadAccountId: string;
79454
79452
  readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs;
79455
79453
  }
79456
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} accountId The account identifier
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, accountId_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, ...args_1], void 0, function* (threadId, accountId, options = {}) {
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 'accountId' is not null or undefined
104069
- (0, common_1.assertParamExists)('deleteThreadAccount', 'accountId', accountId);
104070
- const localVarPath = `/threads/{threadId}/accounts/{accountId}`
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(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
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} accountId The account identifier
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, accountId_1, threadAccountUpdateInputs_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, threadAccountUpdateInputs_1, ...args_1], void 0, function* (threadId, accountId, threadAccountUpdateInputs, options = {}) {
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 'accountId' is not null or undefined
104158
- (0, common_1.assertParamExists)('updateThreadAccount', 'accountId', accountId);
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/{accountId}`
104161
+ const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
104162
104162
  .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
104163
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
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} accountId The account identifier
104201
+ * @param {string} threadAccountId The threadAccount identifier
104202
104202
  * @param {*} [options] Override http request option.
104203
104203
  * @throws {RequiredError}
104204
104204
  */
104205
- deleteThreadAccount(threadId, accountId, options) {
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, accountId, options);
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} accountId The account identifier
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, accountId, threadAccountUpdateInputs, options) {
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, accountId, threadAccountUpdateInputs, options);
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.accountId, options).then((request) => request(axios, basePath));
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.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
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.accountId, options).then((request) => request(this.axios, this.basePath));
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.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
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
@@ -2356,7 +2356,6 @@ export interface BaseThread {
2356
2356
  export interface BaseThreadMessage {
2357
2357
  'id': string;
2358
2358
  'body': string;
2359
- 'accountId': string;
2360
2359
  'threadAccount': ThreadAccount;
2361
2360
  'createdAt': string;
2362
2361
  'editedAt': string | null;
@@ -12153,7 +12152,6 @@ export interface ThreadCreateInputs {
12153
12152
  export interface ThreadMessage {
12154
12153
  'id': string;
12155
12154
  'body': string;
12156
- 'accountId': string;
12157
12155
  'threadAccount': ThreadAccount;
12158
12156
  'createdAt': string;
12159
12157
  'editedAt': string | null;
@@ -79308,11 +79306,11 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
79308
79306
  * Delete Thread Account endpoint
79309
79307
  * @summary Delete Thread Account
79310
79308
  * @param {string} threadId The thread identifier
79311
- * @param {string} accountId The account identifier
79309
+ * @param {string} threadAccountId The threadAccount identifier
79312
79310
  * @param {*} [options] Override http request option.
79313
79311
  * @throws {RequiredError}
79314
79312
  */
79315
- deleteThreadAccount: (threadId: string, accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79313
+ deleteThreadAccount: (threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79316
79314
  /**
79317
79315
  * Get Thread Accounts endpoint
79318
79316
  * @summary Get Thread Accounts
@@ -79329,12 +79327,12 @@ export declare const ThreadsAccountsApiAxiosParamCreator: (configuration?: Confi
79329
79327
  * Update Thread Account endpoint
79330
79328
  * @summary Update Thread Account
79331
79329
  * @param {string} threadId The thread identifier
79332
- * @param {string} accountId The account identifier
79330
+ * @param {string} threadAccountId The threadAccount identifier
79333
79331
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
79334
79332
  * @param {*} [options] Override http request option.
79335
79333
  * @throws {RequiredError}
79336
79334
  */
79337
- updateThreadAccount: (threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79335
+ updateThreadAccount: (threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
79338
79336
  };
79339
79337
  /**
79340
79338
  * ThreadsAccountsApi - functional programming interface
@@ -79344,11 +79342,11 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
79344
79342
  * Delete Thread Account endpoint
79345
79343
  * @summary Delete Thread Account
79346
79344
  * @param {string} threadId The thread identifier
79347
- * @param {string} accountId The account identifier
79345
+ * @param {string} threadAccountId The threadAccount identifier
79348
79346
  * @param {*} [options] Override http request option.
79349
79347
  * @throws {RequiredError}
79350
79348
  */
79351
- deleteThreadAccount(threadId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
79349
+ deleteThreadAccount(threadId: string, threadAccountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
79352
79350
  /**
79353
79351
  * Get Thread Accounts endpoint
79354
79352
  * @summary Get Thread Accounts
@@ -79365,12 +79363,12 @@ export declare const ThreadsAccountsApiFp: (configuration?: Configuration) => {
79365
79363
  * Update Thread Account endpoint
79366
79364
  * @summary Update Thread Account
79367
79365
  * @param {string} threadId The thread identifier
79368
- * @param {string} accountId The account identifier
79366
+ * @param {string} threadAccountId The threadAccount identifier
79369
79367
  * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
79370
79368
  * @param {*} [options] Override http request option.
79371
79369
  * @throws {RequiredError}
79372
79370
  */
79373
- updateThreadAccount(threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
79371
+ updateThreadAccount(threadId: string, threadAccountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>>;
79374
79372
  };
79375
79373
  /**
79376
79374
  * ThreadsAccountsApi - factory interface
@@ -79410,9 +79408,9 @@ export interface ThreadsAccountsApiDeleteThreadAccountRequest {
79410
79408
  */
79411
79409
  readonly threadId: string;
79412
79410
  /**
79413
- * The account identifier
79411
+ * The threadAccount identifier
79414
79412
  */
79415
- readonly accountId: string;
79413
+ readonly threadAccountId: string;
79416
79414
  }
79417
79415
  /**
79418
79416
  * Request parameters for getThreadAccounts operation in ThreadsAccountsApi.
@@ -79448,9 +79446,9 @@ export interface ThreadsAccountsApiUpdateThreadAccountRequest {
79448
79446
  */
79449
79447
  readonly threadId: string;
79450
79448
  /**
79451
- * The account identifier
79449
+ * The threadAccount identifier
79452
79450
  */
79453
- readonly accountId: string;
79451
+ readonly threadAccountId: string;
79454
79452
  readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs;
79455
79453
  }
79456
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} accountId The account identifier
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, accountId_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, ...args_1], void 0, function* (threadId, accountId, options = {}) {
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 'accountId' is not null or undefined
103300
- assertParamExists('deleteThreadAccount', 'accountId', accountId);
103301
- const localVarPath = `/threads/{threadId}/accounts/{accountId}`
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(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
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} accountId The account identifier
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, accountId_1, threadAccountUpdateInputs_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, threadAccountUpdateInputs_1, ...args_1], void 0, function* (threadId, accountId, threadAccountUpdateInputs, options = {}) {
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 'accountId' is not null or undefined
103389
- assertParamExists('updateThreadAccount', 'accountId', accountId);
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/{accountId}`
103392
+ const localVarPath = `/threads/{threadId}/accounts/{threadAccountId}`
103393
103393
  .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
103394
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
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} accountId The account identifier
103431
+ * @param {string} threadAccountId The threadAccount identifier
103432
103432
  * @param {*} [options] Override http request option.
103433
103433
  * @throws {RequiredError}
103434
103434
  */
103435
- deleteThreadAccount(threadId, accountId, options) {
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, accountId, options);
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} accountId The account identifier
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, accountId, threadAccountUpdateInputs, options) {
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, accountId, threadAccountUpdateInputs, options);
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.accountId, options).then((request) => request(axios, basePath));
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.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
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.accountId, options).then((request) => request(this.axios, this.basePath));
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.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
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
  /**
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
9
  **body** | **string** | | [default to undefined]
10
- **accountId** | **string** | | [default to undefined]
11
10
  **threadAccount** | [**ThreadAccount**](ThreadAccount.md) | | [default to undefined]
12
11
  **createdAt** | **string** | | [default to undefined]
13
12
  **editedAt** | **string** | | [default to undefined]
@@ -22,7 +21,6 @@ import { BaseThreadMessage } from '@connectedxm/admin-sdk';
22
21
  const instance: BaseThreadMessage = {
23
22
  id,
24
23
  body,
25
- accountId,
26
24
  threadAccount,
27
25
  createdAt,
28
26
  editedAt,
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
9
  **body** | **string** | | [default to undefined]
10
- **accountId** | **string** | | [default to undefined]
11
10
  **threadAccount** | [**ThreadAccount**](ThreadAccount.md) | | [default to undefined]
12
11
  **createdAt** | **string** | | [default to undefined]
13
12
  **editedAt** | **string** | | [default to undefined]
@@ -31,7 +30,6 @@ import { ThreadMessage } from '@connectedxm/admin-sdk';
31
30
  const instance: ThreadMessage = {
32
31
  id,
33
32
  body,
34
- accountId,
35
33
  threadAccount,
36
34
  createdAt,
37
35
  editedAt,
@@ -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/{accountId} | Delete Thread Account|
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/{accountId} | Update Thread Account|
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 accountId: string; //The account identifier (default to undefined)
28
+ let threadAccountId: string; //The threadAccount identifier (default to undefined)
29
29
 
30
30
  const { status, data } = await apiInstance.deleteThreadAccount(
31
31
  threadId,
32
- accountId
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
- | **accountId** | [**string**] | The account identifier | defaults to undefined|
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 accountId: string; //The account identifier (default to undefined)
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
- accountId,
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
- | **accountId** | [**string**] | The account identifier | defaults to undefined|
162
+ | **threadAccountId** | [**string**] | The threadAccount identifier | defaults to undefined|
163
163
 
164
164
 
165
165
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "7.0.6",
3
+ "version": "7.0.8",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {