@connectedxm/admin-sdk 6.33.1 → 7.0.1

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +7 -26
  2. package/AdminApi.ts +3 -9
  3. package/README.md +9 -39
  4. package/api.ts +150 -1782
  5. package/dist/AdminApi.d.ts +2 -4
  6. package/dist/AdminApi.js +1 -3
  7. package/dist/api.d.ts +97 -946
  8. package/dist/api.js +131 -1311
  9. package/dist/esm/AdminApi.d.ts +2 -4
  10. package/dist/esm/AdminApi.js +2 -4
  11. package/dist/esm/api.d.ts +97 -946
  12. package/dist/esm/api.js +102 -1273
  13. package/docs/BaseThread.md +0 -2
  14. package/docs/BaseThreadMessage.md +4 -2
  15. package/docs/EventsApi.md +0 -64
  16. package/docs/{GetThreadCircles200Response.md → GetThreadAccounts200Response.md} +4 -4
  17. package/docs/GroupsApi.md +0 -64
  18. package/docs/Thread.md +4 -2
  19. package/docs/{ThreadMember.md → ThreadAccount.md} +9 -5
  20. package/docs/{ThreadMemberUpdateInputs.md → ThreadAccountUpdateInputs.md} +5 -3
  21. package/docs/{ThreadCircleCreateInputs.md → ThreadAllOfCount.md} +5 -5
  22. package/docs/ThreadCreateInputs.md +2 -6
  23. package/docs/ThreadMessage.md +6 -2
  24. package/docs/{BaseThreadMember.md → ThreadMessageRead.md} +9 -11
  25. package/docs/{ThreadsMembersApi.md → ThreadsAccountsApi.md} +31 -40
  26. package/docs/ThreadsApi.md +0 -3
  27. package/docs/{UpdateThreadMember200Response.md → UpdateThreadAccount200Response.md} +4 -4
  28. package/package.json +1 -1
  29. package/docs/BaseThreadCircle.md +0 -28
  30. package/docs/BaseThreadCircleAccount.md +0 -24
  31. package/docs/CreateThreadCircle200Response.md +0 -24
  32. package/docs/CreateThreadCircleAccount200Response.md +0 -24
  33. package/docs/GetThreadCircleAccounts200Response.md +0 -26
  34. package/docs/GetThreadMembers200Response.md +0 -26
  35. package/docs/ThreadCircle.md +0 -28
  36. package/docs/ThreadCircleAccount.md +0 -24
  37. package/docs/ThreadCircleAccountCreateInputs.md +0 -22
  38. package/docs/ThreadCircleAccountRole.md +0 -12
  39. package/docs/ThreadCircleAccountUpdateInputs.md +0 -20
  40. package/docs/ThreadCircleType.md +0 -10
  41. package/docs/ThreadCircleUpdateInputs.md +0 -20
  42. package/docs/ThreadInvitation.md +0 -42
  43. package/docs/ThreadInvitationStatus.md +0 -10
  44. package/docs/ThreadMemberRole.md +0 -10
  45. package/docs/ThreadType.md +0 -14
  46. package/docs/ThreadsCirclesAccountsApi.md +0 -299
  47. package/docs/ThreadsCirclesApi.md +0 -348
package/dist/esm/api.js CHANGED
@@ -532,14 +532,6 @@ export var CreateThread200ResponseStatusEnum;
532
532
  (function (CreateThread200ResponseStatusEnum) {
533
533
  CreateThread200ResponseStatusEnum["Ok"] = "ok";
534
534
  })(CreateThread200ResponseStatusEnum || (CreateThread200ResponseStatusEnum = {}));
535
- export var CreateThreadCircle200ResponseStatusEnum;
536
- (function (CreateThreadCircle200ResponseStatusEnum) {
537
- CreateThreadCircle200ResponseStatusEnum["Ok"] = "ok";
538
- })(CreateThreadCircle200ResponseStatusEnum || (CreateThreadCircle200ResponseStatusEnum = {}));
539
- export var CreateThreadCircleAccount200ResponseStatusEnum;
540
- (function (CreateThreadCircleAccount200ResponseStatusEnum) {
541
- CreateThreadCircleAccount200ResponseStatusEnum["Ok"] = "ok";
542
- })(CreateThreadCircleAccount200ResponseStatusEnum || (CreateThreadCircleAccount200ResponseStatusEnum = {}));
543
535
  export var CreateThreadMessage200ResponseStatusEnum;
544
536
  (function (CreateThreadMessage200ResponseStatusEnum) {
545
537
  CreateThreadMessage200ResponseStatusEnum["Ok"] = "ok";
@@ -1871,18 +1863,10 @@ export var GetTaxLogs200ResponseStatusEnum;
1871
1863
  (function (GetTaxLogs200ResponseStatusEnum) {
1872
1864
  GetTaxLogs200ResponseStatusEnum["Ok"] = "ok";
1873
1865
  })(GetTaxLogs200ResponseStatusEnum || (GetTaxLogs200ResponseStatusEnum = {}));
1874
- export var GetThreadCircleAccounts200ResponseStatusEnum;
1875
- (function (GetThreadCircleAccounts200ResponseStatusEnum) {
1876
- GetThreadCircleAccounts200ResponseStatusEnum["Ok"] = "ok";
1877
- })(GetThreadCircleAccounts200ResponseStatusEnum || (GetThreadCircleAccounts200ResponseStatusEnum = {}));
1878
- export var GetThreadCircles200ResponseStatusEnum;
1879
- (function (GetThreadCircles200ResponseStatusEnum) {
1880
- GetThreadCircles200ResponseStatusEnum["Ok"] = "ok";
1881
- })(GetThreadCircles200ResponseStatusEnum || (GetThreadCircles200ResponseStatusEnum = {}));
1882
- export var GetThreadMembers200ResponseStatusEnum;
1883
- (function (GetThreadMembers200ResponseStatusEnum) {
1884
- GetThreadMembers200ResponseStatusEnum["Ok"] = "ok";
1885
- })(GetThreadMembers200ResponseStatusEnum || (GetThreadMembers200ResponseStatusEnum = {}));
1866
+ export var GetThreadAccounts200ResponseStatusEnum;
1867
+ (function (GetThreadAccounts200ResponseStatusEnum) {
1868
+ GetThreadAccounts200ResponseStatusEnum["Ok"] = "ok";
1869
+ })(GetThreadAccounts200ResponseStatusEnum || (GetThreadAccounts200ResponseStatusEnum = {}));
1886
1870
  export var GetThreadMessageFiles200ResponseStatusEnum;
1887
1871
  (function (GetThreadMessageFiles200ResponseStatusEnum) {
1888
1872
  GetThreadMessageFiles200ResponseStatusEnum["Ok"] = "ok";
@@ -2563,40 +2547,12 @@ export var TaxLocationType;
2563
2547
  TaxLocationType["PointOfSale"] = "pointOfSale";
2564
2548
  TaxLocationType["AccountAddress"] = "accountAddress";
2565
2549
  })(TaxLocationType || (TaxLocationType = {}));
2566
- export var ThreadCircleAccountRole;
2567
- (function (ThreadCircleAccountRole) {
2568
- ThreadCircleAccountRole["Member"] = "member";
2569
- ThreadCircleAccountRole["Manager"] = "manager";
2570
- ThreadCircleAccountRole["Invited"] = "invited";
2571
- })(ThreadCircleAccountRole || (ThreadCircleAccountRole = {}));
2572
- export var ThreadCircleType;
2573
- (function (ThreadCircleType) {
2574
- ThreadCircleType["Private"] = "private";
2575
- ThreadCircleType["Direct"] = "direct";
2576
- })(ThreadCircleType || (ThreadCircleType = {}));
2577
- export var ThreadInvitationStatus;
2578
- (function (ThreadInvitationStatus) {
2579
- ThreadInvitationStatus["Invited"] = "invited";
2580
- ThreadInvitationStatus["Rejected"] = "rejected";
2581
- })(ThreadInvitationStatus || (ThreadInvitationStatus = {}));
2582
- export var ThreadMemberRole;
2583
- (function (ThreadMemberRole) {
2584
- ThreadMemberRole["Member"] = "member";
2585
- ThreadMemberRole["Moderator"] = "moderator";
2586
- })(ThreadMemberRole || (ThreadMemberRole = {}));
2587
2550
  export var ThreadMessageType;
2588
2551
  (function (ThreadMessageType) {
2589
2552
  ThreadMessageType["User"] = "user";
2590
2553
  ThreadMessageType["Bot"] = "bot";
2591
2554
  ThreadMessageType["System"] = "system";
2592
2555
  })(ThreadMessageType || (ThreadMessageType = {}));
2593
- export var ThreadType;
2594
- (function (ThreadType) {
2595
- ThreadType["Circle"] = "circle";
2596
- ThreadType["Group"] = "group";
2597
- ThreadType["Event"] = "event";
2598
- ThreadType["Stream"] = "stream";
2599
- })(ThreadType || (ThreadType = {}));
2600
2556
  export var UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum;
2601
2557
  (function (UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum) {
2602
2558
  UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum["Ok"] = "ok";
@@ -2653,10 +2609,10 @@ export var UpdateSeriesQuestionTranslation200ResponseStatusEnum;
2653
2609
  (function (UpdateSeriesQuestionTranslation200ResponseStatusEnum) {
2654
2610
  UpdateSeriesQuestionTranslation200ResponseStatusEnum["Ok"] = "ok";
2655
2611
  })(UpdateSeriesQuestionTranslation200ResponseStatusEnum || (UpdateSeriesQuestionTranslation200ResponseStatusEnum = {}));
2656
- export var UpdateThreadMember200ResponseStatusEnum;
2657
- (function (UpdateThreadMember200ResponseStatusEnum) {
2658
- UpdateThreadMember200ResponseStatusEnum["Ok"] = "ok";
2659
- })(UpdateThreadMember200ResponseStatusEnum || (UpdateThreadMember200ResponseStatusEnum = {}));
2612
+ export var UpdateThreadAccount200ResponseStatusEnum;
2613
+ (function (UpdateThreadAccount200ResponseStatusEnum) {
2614
+ UpdateThreadAccount200ResponseStatusEnum["Ok"] = "ok";
2615
+ })(UpdateThreadAccount200ResponseStatusEnum || (UpdateThreadAccount200ResponseStatusEnum = {}));
2660
2616
  export var UploadFile200ResponseStatusEnum;
2661
2617
  (function (UploadFile200ResponseStatusEnum) {
2662
2618
  UploadFile200ResponseStatusEnum["Ok"] = "ok";
@@ -20871,56 +20827,6 @@ export const EventsApiAxiosParamCreator = function (configuration) {
20871
20827
  options: localVarRequestOptions,
20872
20828
  };
20873
20829
  }),
20874
- /**
20875
- * Get Event Threads endpoint
20876
- * @summary Get Event Threads
20877
- * @param {string} eventId The event identifier
20878
- * @param {number} [page] Page number
20879
- * @param {number} [pageSize] Number of items per page
20880
- * @param {string} [orderBy] Field to order by
20881
- * @param {string} [search] Search query
20882
- * @param {*} [options] Override http request option.
20883
- * @throws {RequiredError}
20884
- */
20885
- getEventThreads: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
20886
- // verify required parameter 'eventId' is not null or undefined
20887
- assertParamExists('getEventThreads', 'eventId', eventId);
20888
- const localVarPath = `/events/{eventId}/threads`
20889
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
20890
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
20891
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20892
- let baseOptions;
20893
- if (configuration) {
20894
- baseOptions = configuration.baseOptions;
20895
- }
20896
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20897
- const localVarHeaderParameter = {};
20898
- const localVarQueryParameter = {};
20899
- // authentication ApiKeyAuth required
20900
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
20901
- // authentication OrganizationId required
20902
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
20903
- if (page !== undefined) {
20904
- localVarQueryParameter['page'] = page;
20905
- }
20906
- if (pageSize !== undefined) {
20907
- localVarQueryParameter['pageSize'] = pageSize;
20908
- }
20909
- if (orderBy !== undefined) {
20910
- localVarQueryParameter['orderBy'] = orderBy;
20911
- }
20912
- if (search !== undefined) {
20913
- localVarQueryParameter['search'] = search;
20914
- }
20915
- localVarHeaderParameter['Accept'] = 'application/json';
20916
- setSearchParams(localVarUrlObj, localVarQueryParameter);
20917
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20918
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20919
- return {
20920
- url: toPathString(localVarUrlObj),
20921
- options: localVarRequestOptions,
20922
- };
20923
- }),
20924
20830
  /**
20925
20831
  * Get Event Tiers endpoint
20926
20832
  * @summary Get Event Tiers
@@ -21195,26 +21101,6 @@ export const EventsApiFp = function (configuration) {
21195
21101
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21196
21102
  });
21197
21103
  },
21198
- /**
21199
- * Get Event Threads endpoint
21200
- * @summary Get Event Threads
21201
- * @param {string} eventId The event identifier
21202
- * @param {number} [page] Page number
21203
- * @param {number} [pageSize] Number of items per page
21204
- * @param {string} [orderBy] Field to order by
21205
- * @param {string} [search] Search query
21206
- * @param {*} [options] Override http request option.
21207
- * @throws {RequiredError}
21208
- */
21209
- getEventThreads(eventId, page, pageSize, orderBy, search, options) {
21210
- return __awaiter(this, void 0, void 0, function* () {
21211
- var _a, _b, _c;
21212
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventThreads(eventId, page, pageSize, orderBy, search, options);
21213
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21214
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21215
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21216
- });
21217
- },
21218
21104
  /**
21219
21105
  * Get Event Tiers endpoint
21220
21106
  * @summary Get Event Tiers
@@ -21357,16 +21243,6 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
21357
21243
  getEventPayments(requestParameters, options) {
21358
21244
  return localVarFp.getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
21359
21245
  },
21360
- /**
21361
- * Get Event Threads endpoint
21362
- * @summary Get Event Threads
21363
- * @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
21364
- * @param {*} [options] Override http request option.
21365
- * @throws {RequiredError}
21366
- */
21367
- getEventThreads(requestParameters, options) {
21368
- return localVarFp.getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
21369
- },
21370
21246
  /**
21371
21247
  * Get Event Tiers endpoint
21372
21248
  * @summary Get Event Tiers
@@ -21483,16 +21359,6 @@ export class EventsApi extends BaseAPI {
21483
21359
  getEventPayments(requestParameters, options) {
21484
21360
  return EventsApiFp(this.configuration).getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
21485
21361
  }
21486
- /**
21487
- * Get Event Threads endpoint
21488
- * @summary Get Event Threads
21489
- * @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
21490
- * @param {*} [options] Override http request option.
21491
- * @throws {RequiredError}
21492
- */
21493
- getEventThreads(requestParameters, options) {
21494
- return EventsApiFp(this.configuration).getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
21495
- }
21496
21362
  /**
21497
21363
  * Get Event Tiers endpoint
21498
21364
  * @summary Get Event Tiers
@@ -68944,56 +68810,6 @@ export const GroupsApiAxiosParamCreator = function (configuration) {
68944
68810
  options: localVarRequestOptions,
68945
68811
  };
68946
68812
  }),
68947
- /**
68948
- * Get Group Threads endpoint
68949
- * @summary Get Group Threads
68950
- * @param {string} groupId The group identifier
68951
- * @param {number} [page] Page number
68952
- * @param {number} [pageSize] Number of items per page
68953
- * @param {string} [orderBy] Field to order by
68954
- * @param {string} [search] Search query
68955
- * @param {*} [options] Override http request option.
68956
- * @throws {RequiredError}
68957
- */
68958
- getGroupThreads: (groupId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [groupId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (groupId, page, pageSize, orderBy, search, options = {}) {
68959
- // verify required parameter 'groupId' is not null or undefined
68960
- assertParamExists('getGroupThreads', 'groupId', groupId);
68961
- const localVarPath = `/groups/{groupId}/threads`
68962
- .replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
68963
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
68964
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68965
- let baseOptions;
68966
- if (configuration) {
68967
- baseOptions = configuration.baseOptions;
68968
- }
68969
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
68970
- const localVarHeaderParameter = {};
68971
- const localVarQueryParameter = {};
68972
- // authentication ApiKeyAuth required
68973
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
68974
- // authentication OrganizationId required
68975
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
68976
- if (page !== undefined) {
68977
- localVarQueryParameter['page'] = page;
68978
- }
68979
- if (pageSize !== undefined) {
68980
- localVarQueryParameter['pageSize'] = pageSize;
68981
- }
68982
- if (orderBy !== undefined) {
68983
- localVarQueryParameter['orderBy'] = orderBy;
68984
- }
68985
- if (search !== undefined) {
68986
- localVarQueryParameter['search'] = search;
68987
- }
68988
- localVarHeaderParameter['Accept'] = 'application/json';
68989
- setSearchParams(localVarUrlObj, localVarQueryParameter);
68990
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68991
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
68992
- return {
68993
- url: toPathString(localVarUrlObj),
68994
- options: localVarRequestOptions,
68995
- };
68996
- }),
68997
68813
  /**
68998
68814
  * Get Groups endpoint
68999
68815
  * @summary Get Groups
@@ -69165,26 +68981,6 @@ export const GroupsApiFp = function (configuration) {
69165
68981
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69166
68982
  });
69167
68983
  },
69168
- /**
69169
- * Get Group Threads endpoint
69170
- * @summary Get Group Threads
69171
- * @param {string} groupId The group identifier
69172
- * @param {number} [page] Page number
69173
- * @param {number} [pageSize] Number of items per page
69174
- * @param {string} [orderBy] Field to order by
69175
- * @param {string} [search] Search query
69176
- * @param {*} [options] Override http request option.
69177
- * @throws {RequiredError}
69178
- */
69179
- getGroupThreads(groupId, page, pageSize, orderBy, search, options) {
69180
- return __awaiter(this, void 0, void 0, function* () {
69181
- var _a, _b, _c;
69182
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGroupThreads(groupId, page, pageSize, orderBy, search, options);
69183
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
69184
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['GroupsApi.getGroupThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
69185
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69186
- });
69187
- },
69188
68984
  /**
69189
68985
  * Get Groups endpoint
69190
68986
  * @summary Get Groups
@@ -69271,16 +69067,6 @@ export const GroupsApiFactory = function (configuration, basePath, axios) {
69271
69067
  getGroupActivities(requestParameters, options) {
69272
69068
  return localVarFp.getGroupActivities(requestParameters.groupId, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
69273
69069
  },
69274
- /**
69275
- * Get Group Threads endpoint
69276
- * @summary Get Group Threads
69277
- * @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
69278
- * @param {*} [options] Override http request option.
69279
- * @throws {RequiredError}
69280
- */
69281
- getGroupThreads(requestParameters, options) {
69282
- return localVarFp.getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
69283
- },
69284
69070
  /**
69285
69071
  * Get Groups endpoint
69286
69072
  * @summary Get Groups
@@ -69347,16 +69133,6 @@ export class GroupsApi extends BaseAPI {
69347
69133
  getGroupActivities(requestParameters, options) {
69348
69134
  return GroupsApiFp(this.configuration).getGroupActivities(requestParameters.groupId, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
69349
69135
  }
69350
- /**
69351
- * Get Group Threads endpoint
69352
- * @summary Get Group Threads
69353
- * @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
69354
- * @param {*} [options] Override http request option.
69355
- * @throws {RequiredError}
69356
- */
69357
- getGroupThreads(requestParameters, options) {
69358
- return GroupsApiFp(this.configuration).getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
69359
- }
69360
69136
  /**
69361
69137
  * Get Groups endpoint
69362
69138
  * @summary Get Groups
@@ -103204,7 +102980,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
103204
102980
  /**
103205
102981
  * Get Threads endpoint
103206
102982
  * @summary Get Threads
103207
- * @param {ThreadType} [type] Filter by type
103208
102983
  * @param {number} [page] Page number
103209
102984
  * @param {number} [pageSize] Number of items per page
103210
102985
  * @param {string} [orderBy] Field to order by
@@ -103212,7 +102987,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
103212
102987
  * @param {*} [options] Override http request option.
103213
102988
  * @throws {RequiredError}
103214
102989
  */
103215
- getThreads: (type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (type, page, pageSize, orderBy, search, options = {}) {
102990
+ getThreads: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
103216
102991
  const localVarPath = `/threads`;
103217
102992
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
103218
102993
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -103227,9 +103002,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
103227
103002
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
103228
103003
  // authentication OrganizationId required
103229
103004
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
103230
- if (type !== undefined) {
103231
- localVarQueryParameter['type'] = type;
103232
- }
103233
103005
  if (page !== undefined) {
103234
103006
  localVarQueryParameter['page'] = page;
103235
103007
  }
@@ -103349,7 +103121,6 @@ export const ThreadsApiFp = function (configuration) {
103349
103121
  /**
103350
103122
  * Get Threads endpoint
103351
103123
  * @summary Get Threads
103352
- * @param {ThreadType} [type] Filter by type
103353
103124
  * @param {number} [page] Page number
103354
103125
  * @param {number} [pageSize] Number of items per page
103355
103126
  * @param {string} [orderBy] Field to order by
@@ -103357,10 +103128,10 @@ export const ThreadsApiFp = function (configuration) {
103357
103128
  * @param {*} [options] Override http request option.
103358
103129
  * @throws {RequiredError}
103359
103130
  */
103360
- getThreads(type, page, pageSize, orderBy, search, options) {
103131
+ getThreads(page, pageSize, orderBy, search, options) {
103361
103132
  return __awaiter(this, void 0, void 0, function* () {
103362
103133
  var _a, _b, _c;
103363
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(type, page, pageSize, orderBy, search, options);
103134
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(page, pageSize, orderBy, search, options);
103364
103135
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103365
103136
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsApi.getThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103366
103137
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -103429,7 +103200,7 @@ export const ThreadsApiFactory = function (configuration, basePath, axios) {
103429
103200
  * @throws {RequiredError}
103430
103201
  */
103431
103202
  getThreads(requestParameters = {}, options) {
103432
- return localVarFp.getThreads(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103203
+ return localVarFp.getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103433
103204
  },
103434
103205
  /**
103435
103206
  * Update Thread endpoint
@@ -103485,7 +103256,7 @@ export class ThreadsApi extends BaseAPI {
103485
103256
  * @throws {RequiredError}
103486
103257
  */
103487
103258
  getThreads(requestParameters = {}, options) {
103488
- return ThreadsApiFp(this.configuration).getThreads(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103259
+ return ThreadsApiFp(this.configuration).getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103489
103260
  }
103490
103261
  /**
103491
103262
  * Update Thread endpoint
@@ -103499,57 +103270,26 @@ export class ThreadsApi extends BaseAPI {
103499
103270
  }
103500
103271
  }
103501
103272
  /**
103502
- * ThreadsCirclesApi - axios parameter creator
103273
+ * ThreadsAccountsApi - axios parameter creator
103503
103274
  */
103504
- export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103275
+ export const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
103505
103276
  return {
103506
103277
  /**
103507
- * Create Thread Circle endpoint
103508
- * @summary Create Thread Circle
103509
- * @param {ThreadCircleCreateInputs} threadCircleCreateInputs
103510
- * @param {*} [options] Override http request option.
103511
- * @throws {RequiredError}
103512
- */
103513
- createThreadCircle: (threadCircleCreateInputs_1, ...args_1) => __awaiter(this, [threadCircleCreateInputs_1, ...args_1], void 0, function* (threadCircleCreateInputs, options = {}) {
103514
- // verify required parameter 'threadCircleCreateInputs' is not null or undefined
103515
- assertParamExists('createThreadCircle', 'threadCircleCreateInputs', threadCircleCreateInputs);
103516
- const localVarPath = `/threads/circles`;
103517
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
103518
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103519
- let baseOptions;
103520
- if (configuration) {
103521
- baseOptions = configuration.baseOptions;
103522
- }
103523
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
103524
- const localVarHeaderParameter = {};
103525
- const localVarQueryParameter = {};
103526
- // authentication ApiKeyAuth required
103527
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
103528
- // authentication OrganizationId required
103529
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
103530
- localVarHeaderParameter['Content-Type'] = 'application/json';
103531
- localVarHeaderParameter['Accept'] = 'application/json';
103532
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103533
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103534
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
103535
- localVarRequestOptions.data = serializeDataIfNeeded(threadCircleCreateInputs, localVarRequestOptions, configuration);
103536
- return {
103537
- url: toPathString(localVarUrlObj),
103538
- options: localVarRequestOptions,
103539
- };
103540
- }),
103541
- /**
103542
- * Delete Thread Circle endpoint
103543
- * @summary Delete Thread Circle
103544
- * @param {string} circleId The circle identifier
103278
+ * Delete Thread Account endpoint
103279
+ * @summary Delete Thread Account
103280
+ * @param {string} threadId The thread identifier
103281
+ * @param {string} accountId The account identifier
103545
103282
  * @param {*} [options] Override http request option.
103546
103283
  * @throws {RequiredError}
103547
103284
  */
103548
- deleteThreadCircle: (circleId_1, ...args_1) => __awaiter(this, [circleId_1, ...args_1], void 0, function* (circleId, options = {}) {
103549
- // verify required parameter 'circleId' is not null or undefined
103550
- assertParamExists('deleteThreadCircle', 'circleId', circleId);
103551
- const localVarPath = `/threads/circles/{circleId}`
103552
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
103285
+ deleteThreadAccount: (threadId_1, accountId_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, ...args_1], void 0, function* (threadId, accountId, options = {}) {
103286
+ // verify required parameter 'threadId' is not null or undefined
103287
+ assertParamExists('deleteThreadAccount', 'threadId', threadId);
103288
+ // verify required parameter 'accountId' is not null or undefined
103289
+ assertParamExists('deleteThreadAccount', 'accountId', accountId);
103290
+ const localVarPath = `/threads/{threadId}/accounts/{accountId}`
103291
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
103292
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
103553
103293
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
103554
103294
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103555
103295
  let baseOptions;
@@ -103573,93 +103313,9 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103573
103313
  };
103574
103314
  }),
103575
103315
  /**
103576
- * Get Thread Circle endpoint
103577
- * @summary Get Thread Circle
103578
- * @param {string} circleId The circle identifier
103579
- * @param {*} [options] Override http request option.
103580
- * @throws {RequiredError}
103581
- */
103582
- getThreadCircle: (circleId_1, ...args_1) => __awaiter(this, [circleId_1, ...args_1], void 0, function* (circleId, options = {}) {
103583
- // verify required parameter 'circleId' is not null or undefined
103584
- assertParamExists('getThreadCircle', 'circleId', circleId);
103585
- const localVarPath = `/threads/circles/{circleId}`
103586
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
103587
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
103588
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103589
- let baseOptions;
103590
- if (configuration) {
103591
- baseOptions = configuration.baseOptions;
103592
- }
103593
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103594
- const localVarHeaderParameter = {};
103595
- const localVarQueryParameter = {};
103596
- // authentication ApiKeyAuth required
103597
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
103598
- // authentication OrganizationId required
103599
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
103600
- localVarHeaderParameter['Accept'] = 'application/json';
103601
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103602
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103603
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
103604
- return {
103605
- url: toPathString(localVarUrlObj),
103606
- options: localVarRequestOptions,
103607
- };
103608
- }),
103609
- /**
103610
- * Get Thread Circle Threads endpoint
103611
- * @summary Get Thread Circle Threads
103612
- * @param {string} circleId The circle identifier
103613
- * @param {number} [page] Page number
103614
- * @param {number} [pageSize] Number of items per page
103615
- * @param {string} [orderBy] Field to order by
103616
- * @param {string} [search] Search query
103617
- * @param {*} [options] Override http request option.
103618
- * @throws {RequiredError}
103619
- */
103620
- getThreadCircleThreads: (circleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [circleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (circleId, page, pageSize, orderBy, search, options = {}) {
103621
- // verify required parameter 'circleId' is not null or undefined
103622
- assertParamExists('getThreadCircleThreads', 'circleId', circleId);
103623
- const localVarPath = `/threads/circles/{circleId}/threads`
103624
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
103625
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
103626
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103627
- let baseOptions;
103628
- if (configuration) {
103629
- baseOptions = configuration.baseOptions;
103630
- }
103631
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
103632
- const localVarHeaderParameter = {};
103633
- const localVarQueryParameter = {};
103634
- // authentication ApiKeyAuth required
103635
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
103636
- // authentication OrganizationId required
103637
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
103638
- if (page !== undefined) {
103639
- localVarQueryParameter['page'] = page;
103640
- }
103641
- if (pageSize !== undefined) {
103642
- localVarQueryParameter['pageSize'] = pageSize;
103643
- }
103644
- if (orderBy !== undefined) {
103645
- localVarQueryParameter['orderBy'] = orderBy;
103646
- }
103647
- if (search !== undefined) {
103648
- localVarQueryParameter['search'] = search;
103649
- }
103650
- localVarHeaderParameter['Accept'] = 'application/json';
103651
- setSearchParams(localVarUrlObj, localVarQueryParameter);
103652
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103653
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
103654
- return {
103655
- url: toPathString(localVarUrlObj),
103656
- options: localVarRequestOptions,
103657
- };
103658
- }),
103659
- /**
103660
- * Get Thread Circles endpoint
103661
- * @summary Get Thread Circles
103662
- * @param {ThreadCircleType} type Filter by type
103316
+ * Get Thread Accounts endpoint
103317
+ * @summary Get Thread Accounts
103318
+ * @param {string} threadId The thread identifier
103663
103319
  * @param {number} [page] Page number
103664
103320
  * @param {number} [pageSize] Number of items per page
103665
103321
  * @param {string} [orderBy] Field to order by
@@ -103667,10 +103323,11 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103667
103323
  * @param {*} [options] Override http request option.
103668
103324
  * @throws {RequiredError}
103669
103325
  */
103670
- getThreadCircles: (type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (type, page, pageSize, orderBy, search, options = {}) {
103671
- // verify required parameter 'type' is not null or undefined
103672
- assertParamExists('getThreadCircles', 'type', type);
103673
- const localVarPath = `/threads/circles`;
103326
+ getThreadAccounts: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
103327
+ // verify required parameter 'threadId' is not null or undefined
103328
+ assertParamExists('getThreadAccounts', 'threadId', threadId);
103329
+ const localVarPath = `/threads/{threadId}/accounts`
103330
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
103674
103331
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
103675
103332
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103676
103333
  let baseOptions;
@@ -103684,9 +103341,6 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103684
103341
  yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
103685
103342
  // authentication OrganizationId required
103686
103343
  yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
103687
- if (type !== undefined) {
103688
- localVarQueryParameter['type'] = type;
103689
- }
103690
103344
  if (page !== undefined) {
103691
103345
  localVarQueryParameter['page'] = page;
103692
103346
  }
@@ -103709,20 +103363,24 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103709
103363
  };
103710
103364
  }),
103711
103365
  /**
103712
- * Update Thread Circle endpoint
103713
- * @summary Update Thread Circle
103714
- * @param {string} circleId The circle identifier
103715
- * @param {ThreadCircleUpdateInputs} threadCircleUpdateInputs
103366
+ * Update Thread Account endpoint
103367
+ * @summary Update Thread Account
103368
+ * @param {string} threadId The thread identifier
103369
+ * @param {string} accountId The account identifier
103370
+ * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
103716
103371
  * @param {*} [options] Override http request option.
103717
103372
  * @throws {RequiredError}
103718
103373
  */
103719
- updateThreadCircle: (circleId_1, threadCircleUpdateInputs_1, ...args_1) => __awaiter(this, [circleId_1, threadCircleUpdateInputs_1, ...args_1], void 0, function* (circleId, threadCircleUpdateInputs, options = {}) {
103720
- // verify required parameter 'circleId' is not null or undefined
103721
- assertParamExists('updateThreadCircle', 'circleId', circleId);
103722
- // verify required parameter 'threadCircleUpdateInputs' is not null or undefined
103723
- assertParamExists('updateThreadCircle', 'threadCircleUpdateInputs', threadCircleUpdateInputs);
103724
- const localVarPath = `/threads/circles/{circleId}`
103725
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
103374
+ 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 = {}) {
103375
+ // verify required parameter 'threadId' is not null or undefined
103376
+ assertParamExists('updateThreadAccount', 'threadId', threadId);
103377
+ // verify required parameter 'accountId' is not null or undefined
103378
+ assertParamExists('updateThreadAccount', 'accountId', accountId);
103379
+ // verify required parameter 'threadAccountUpdateInputs' is not null or undefined
103380
+ assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs);
103381
+ const localVarPath = `/threads/{threadId}/accounts/{accountId}`
103382
+ .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
103383
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
103726
103384
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
103727
103385
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103728
103386
  let baseOptions;
@@ -103741,7 +103399,7 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103741
103399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
103742
103400
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103743
103401
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
103744
- localVarRequestOptions.data = serializeDataIfNeeded(threadCircleUpdateInputs, localVarRequestOptions, configuration);
103402
+ localVarRequestOptions.data = serializeDataIfNeeded(threadAccountUpdateInputs, localVarRequestOptions, configuration);
103745
103403
  return {
103746
103404
  url: toPathString(localVarUrlObj),
103747
103405
  options: localVarRequestOptions,
@@ -103750,837 +103408,28 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
103750
103408
  };
103751
103409
  };
103752
103410
  /**
103753
- * ThreadsCirclesApi - functional programming interface
103411
+ * ThreadsAccountsApi - functional programming interface
103754
103412
  */
103755
- export const ThreadsCirclesApiFp = function (configuration) {
103756
- const localVarAxiosParamCreator = ThreadsCirclesApiAxiosParamCreator(configuration);
103413
+ export const ThreadsAccountsApiFp = function (configuration) {
103414
+ const localVarAxiosParamCreator = ThreadsAccountsApiAxiosParamCreator(configuration);
103757
103415
  return {
103758
103416
  /**
103759
- * Create Thread Circle endpoint
103760
- * @summary Create Thread Circle
103761
- * @param {ThreadCircleCreateInputs} threadCircleCreateInputs
103762
- * @param {*} [options] Override http request option.
103763
- * @throws {RequiredError}
103764
- */
103765
- createThreadCircle(threadCircleCreateInputs, options) {
103766
- return __awaiter(this, void 0, void 0, function* () {
103767
- var _a, _b, _c;
103768
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createThreadCircle(threadCircleCreateInputs, options);
103769
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103770
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.createThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103771
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103772
- });
103773
- },
103774
- /**
103775
- * Delete Thread Circle endpoint
103776
- * @summary Delete Thread Circle
103777
- * @param {string} circleId The circle identifier
103778
- * @param {*} [options] Override http request option.
103779
- * @throws {RequiredError}
103780
- */
103781
- deleteThreadCircle(circleId, options) {
103782
- return __awaiter(this, void 0, void 0, function* () {
103783
- var _a, _b, _c;
103784
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadCircle(circleId, options);
103785
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103786
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.deleteThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103787
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103788
- });
103789
- },
103790
- /**
103791
- * Get Thread Circle endpoint
103792
- * @summary Get Thread Circle
103793
- * @param {string} circleId The circle identifier
103794
- * @param {*} [options] Override http request option.
103795
- * @throws {RequiredError}
103796
- */
103797
- getThreadCircle(circleId, options) {
103798
- return __awaiter(this, void 0, void 0, function* () {
103799
- var _a, _b, _c;
103800
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircle(circleId, options);
103801
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103802
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103803
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103804
- });
103805
- },
103806
- /**
103807
- * Get Thread Circle Threads endpoint
103808
- * @summary Get Thread Circle Threads
103809
- * @param {string} circleId The circle identifier
103810
- * @param {number} [page] Page number
103811
- * @param {number} [pageSize] Number of items per page
103812
- * @param {string} [orderBy] Field to order by
103813
- * @param {string} [search] Search query
103814
- * @param {*} [options] Override http request option.
103815
- * @throws {RequiredError}
103816
- */
103817
- getThreadCircleThreads(circleId, page, pageSize, orderBy, search, options) {
103818
- return __awaiter(this, void 0, void 0, function* () {
103819
- var _a, _b, _c;
103820
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleThreads(circleId, page, pageSize, orderBy, search, options);
103821
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103822
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircleThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103823
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103824
- });
103825
- },
103826
- /**
103827
- * Get Thread Circles endpoint
103828
- * @summary Get Thread Circles
103829
- * @param {ThreadCircleType} type Filter by type
103830
- * @param {number} [page] Page number
103831
- * @param {number} [pageSize] Number of items per page
103832
- * @param {string} [orderBy] Field to order by
103833
- * @param {string} [search] Search query
103834
- * @param {*} [options] Override http request option.
103835
- * @throws {RequiredError}
103836
- */
103837
- getThreadCircles(type, page, pageSize, orderBy, search, options) {
103838
- return __awaiter(this, void 0, void 0, function* () {
103839
- var _a, _b, _c;
103840
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircles(type, page, pageSize, orderBy, search, options);
103841
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103842
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103843
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103844
- });
103845
- },
103846
- /**
103847
- * Update Thread Circle endpoint
103848
- * @summary Update Thread Circle
103849
- * @param {string} circleId The circle identifier
103850
- * @param {ThreadCircleUpdateInputs} threadCircleUpdateInputs
103851
- * @param {*} [options] Override http request option.
103852
- * @throws {RequiredError}
103853
- */
103854
- updateThreadCircle(circleId, threadCircleUpdateInputs, options) {
103855
- return __awaiter(this, void 0, void 0, function* () {
103856
- var _a, _b, _c;
103857
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadCircle(circleId, threadCircleUpdateInputs, options);
103858
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
103859
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.updateThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103860
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
103861
- });
103862
- },
103863
- };
103864
- };
103865
- /**
103866
- * ThreadsCirclesApi - factory interface
103867
- */
103868
- export const ThreadsCirclesApiFactory = function (configuration, basePath, axios) {
103869
- const localVarFp = ThreadsCirclesApiFp(configuration);
103870
- return {
103871
- /**
103872
- * Create Thread Circle endpoint
103873
- * @summary Create Thread Circle
103874
- * @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
103875
- * @param {*} [options] Override http request option.
103876
- * @throws {RequiredError}
103877
- */
103878
- createThreadCircle(requestParameters, options) {
103879
- return localVarFp.createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(axios, basePath));
103880
- },
103881
- /**
103882
- * Delete Thread Circle endpoint
103883
- * @summary Delete Thread Circle
103884
- * @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
103885
- * @param {*} [options] Override http request option.
103886
- * @throws {RequiredError}
103887
- */
103888
- deleteThreadCircle(requestParameters, options) {
103889
- return localVarFp.deleteThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
103890
- },
103891
- /**
103892
- * Get Thread Circle endpoint
103893
- * @summary Get Thread Circle
103894
- * @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
103895
- * @param {*} [options] Override http request option.
103896
- * @throws {RequiredError}
103897
- */
103898
- getThreadCircle(requestParameters, options) {
103899
- return localVarFp.getThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
103900
- },
103901
- /**
103902
- * Get Thread Circle Threads endpoint
103903
- * @summary Get Thread Circle Threads
103904
- * @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
103905
- * @param {*} [options] Override http request option.
103906
- * @throws {RequiredError}
103907
- */
103908
- getThreadCircleThreads(requestParameters, options) {
103909
- return localVarFp.getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103910
- },
103911
- /**
103912
- * Get Thread Circles endpoint
103913
- * @summary Get Thread Circles
103914
- * @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
103915
- * @param {*} [options] Override http request option.
103916
- * @throws {RequiredError}
103917
- */
103918
- getThreadCircles(requestParameters, options) {
103919
- return localVarFp.getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103920
- },
103921
- /**
103922
- * Update Thread Circle endpoint
103923
- * @summary Update Thread Circle
103924
- * @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
103925
- * @param {*} [options] Override http request option.
103926
- * @throws {RequiredError}
103927
- */
103928
- updateThreadCircle(requestParameters, options) {
103929
- return localVarFp.updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(axios, basePath));
103930
- },
103931
- };
103932
- };
103933
- /**
103934
- * ThreadsCirclesApi - object-oriented interface
103935
- */
103936
- export class ThreadsCirclesApi extends BaseAPI {
103937
- /**
103938
- * Create Thread Circle endpoint
103939
- * @summary Create Thread Circle
103940
- * @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
103941
- * @param {*} [options] Override http request option.
103942
- * @throws {RequiredError}
103943
- */
103944
- createThreadCircle(requestParameters, options) {
103945
- return ThreadsCirclesApiFp(this.configuration).createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(this.axios, this.basePath));
103946
- }
103947
- /**
103948
- * Delete Thread Circle endpoint
103949
- * @summary Delete Thread Circle
103950
- * @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
103951
- * @param {*} [options] Override http request option.
103952
- * @throws {RequiredError}
103953
- */
103954
- deleteThreadCircle(requestParameters, options) {
103955
- return ThreadsCirclesApiFp(this.configuration).deleteThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
103956
- }
103957
- /**
103958
- * Get Thread Circle endpoint
103959
- * @summary Get Thread Circle
103960
- * @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
103961
- * @param {*} [options] Override http request option.
103962
- * @throws {RequiredError}
103963
- */
103964
- getThreadCircle(requestParameters, options) {
103965
- return ThreadsCirclesApiFp(this.configuration).getThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
103966
- }
103967
- /**
103968
- * Get Thread Circle Threads endpoint
103969
- * @summary Get Thread Circle Threads
103970
- * @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
103971
- * @param {*} [options] Override http request option.
103972
- * @throws {RequiredError}
103973
- */
103974
- getThreadCircleThreads(requestParameters, options) {
103975
- return ThreadsCirclesApiFp(this.configuration).getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103976
- }
103977
- /**
103978
- * Get Thread Circles endpoint
103979
- * @summary Get Thread Circles
103980
- * @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
103981
- * @param {*} [options] Override http request option.
103982
- * @throws {RequiredError}
103983
- */
103984
- getThreadCircles(requestParameters, options) {
103985
- return ThreadsCirclesApiFp(this.configuration).getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103986
- }
103987
- /**
103988
- * Update Thread Circle endpoint
103989
- * @summary Update Thread Circle
103990
- * @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
103991
- * @param {*} [options] Override http request option.
103992
- * @throws {RequiredError}
103993
- */
103994
- updateThreadCircle(requestParameters, options) {
103995
- return ThreadsCirclesApiFp(this.configuration).updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
103996
- }
103997
- }
103998
- /**
103999
- * ThreadsCirclesAccountsApi - axios parameter creator
104000
- */
104001
- export const ThreadsCirclesAccountsApiAxiosParamCreator = function (configuration) {
104002
- return {
104003
- /**
104004
- * Create Thread Circle Account endpoint
104005
- * @summary Create Thread Circle Account
104006
- * @param {string} circleId The circle identifier
104007
- * @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
104008
- * @param {*} [options] Override http request option.
104009
- * @throws {RequiredError}
104010
- */
104011
- createThreadCircleAccount: (circleId_1, threadCircleAccountCreateInputs_1, ...args_1) => __awaiter(this, [circleId_1, threadCircleAccountCreateInputs_1, ...args_1], void 0, function* (circleId, threadCircleAccountCreateInputs, options = {}) {
104012
- // verify required parameter 'circleId' is not null or undefined
104013
- assertParamExists('createThreadCircleAccount', 'circleId', circleId);
104014
- // verify required parameter 'threadCircleAccountCreateInputs' is not null or undefined
104015
- assertParamExists('createThreadCircleAccount', 'threadCircleAccountCreateInputs', threadCircleAccountCreateInputs);
104016
- const localVarPath = `/threads/circles/{circleId}/accounts`
104017
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
104018
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104019
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104020
- let baseOptions;
104021
- if (configuration) {
104022
- baseOptions = configuration.baseOptions;
104023
- }
104024
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
104025
- const localVarHeaderParameter = {};
104026
- const localVarQueryParameter = {};
104027
- // authentication ApiKeyAuth required
104028
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104029
- // authentication OrganizationId required
104030
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104031
- localVarHeaderParameter['Content-Type'] = 'application/json';
104032
- localVarHeaderParameter['Accept'] = 'application/json';
104033
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104034
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104035
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104036
- localVarRequestOptions.data = serializeDataIfNeeded(threadCircleAccountCreateInputs, localVarRequestOptions, configuration);
104037
- return {
104038
- url: toPathString(localVarUrlObj),
104039
- options: localVarRequestOptions,
104040
- };
104041
- }),
104042
- /**
104043
- * Delete Thread Circle Account endpoint
104044
- * @summary Delete Thread Circle Account
104045
- * @param {string} circleId The circle identifier
104046
- * @param {string} accountId The account identifier
104047
- * @param {*} [options] Override http request option.
104048
- * @throws {RequiredError}
104049
- */
104050
- deleteThreadCircleAccount: (circleId_1, accountId_1, ...args_1) => __awaiter(this, [circleId_1, accountId_1, ...args_1], void 0, function* (circleId, accountId, options = {}) {
104051
- // verify required parameter 'circleId' is not null or undefined
104052
- assertParamExists('deleteThreadCircleAccount', 'circleId', circleId);
104053
- // verify required parameter 'accountId' is not null or undefined
104054
- assertParamExists('deleteThreadCircleAccount', 'accountId', accountId);
104055
- const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
104056
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
104057
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
104058
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104059
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104060
- let baseOptions;
104061
- if (configuration) {
104062
- baseOptions = configuration.baseOptions;
104063
- }
104064
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
104065
- const localVarHeaderParameter = {};
104066
- const localVarQueryParameter = {};
104067
- // authentication ApiKeyAuth required
104068
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104069
- // authentication OrganizationId required
104070
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104071
- localVarHeaderParameter['Accept'] = 'application/json';
104072
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104073
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104074
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104075
- return {
104076
- url: toPathString(localVarUrlObj),
104077
- options: localVarRequestOptions,
104078
- };
104079
- }),
104080
- /**
104081
- * Get Thread Circle Account endpoint
104082
- * @summary Get Thread Circle Account
104083
- * @param {string} circleId The circle identifier
104084
- * @param {string} accountId The account identifier
104085
- * @param {*} [options] Override http request option.
104086
- * @throws {RequiredError}
104087
- */
104088
- getThreadCircleAccount: (circleId_1, accountId_1, ...args_1) => __awaiter(this, [circleId_1, accountId_1, ...args_1], void 0, function* (circleId, accountId, options = {}) {
104089
- // verify required parameter 'circleId' is not null or undefined
104090
- assertParamExists('getThreadCircleAccount', 'circleId', circleId);
104091
- // verify required parameter 'accountId' is not null or undefined
104092
- assertParamExists('getThreadCircleAccount', 'accountId', accountId);
104093
- const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
104094
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
104095
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
104096
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104097
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104098
- let baseOptions;
104099
- if (configuration) {
104100
- baseOptions = configuration.baseOptions;
104101
- }
104102
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
104103
- const localVarHeaderParameter = {};
104104
- const localVarQueryParameter = {};
104105
- // authentication ApiKeyAuth required
104106
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104107
- // authentication OrganizationId required
104108
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104109
- localVarHeaderParameter['Accept'] = 'application/json';
104110
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104111
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104112
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104113
- return {
104114
- url: toPathString(localVarUrlObj),
104115
- options: localVarRequestOptions,
104116
- };
104117
- }),
104118
- /**
104119
- * Get Thread Circle Accounts endpoint
104120
- * @summary Get Thread Circle Accounts
104121
- * @param {string} circleId The circle identifier
104122
- * @param {ThreadCircleAccountRole} [role] Filter by role
104123
- * @param {number} [page] Page number
104124
- * @param {number} [pageSize] Number of items per page
104125
- * @param {string} [orderBy] Field to order by
104126
- * @param {string} [search] Search query
104127
- * @param {*} [options] Override http request option.
104128
- * @throws {RequiredError}
104129
- */
104130
- getThreadCircleAccounts: (circleId_1, role_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [circleId_1, role_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (circleId, role, page, pageSize, orderBy, search, options = {}) {
104131
- // verify required parameter 'circleId' is not null or undefined
104132
- assertParamExists('getThreadCircleAccounts', 'circleId', circleId);
104133
- const localVarPath = `/threads/circles/{circleId}/accounts`
104134
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
104135
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104136
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104137
- let baseOptions;
104138
- if (configuration) {
104139
- baseOptions = configuration.baseOptions;
104140
- }
104141
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
104142
- const localVarHeaderParameter = {};
104143
- const localVarQueryParameter = {};
104144
- // authentication ApiKeyAuth required
104145
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104146
- // authentication OrganizationId required
104147
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104148
- if (role !== undefined) {
104149
- localVarQueryParameter['role'] = role;
104150
- }
104151
- if (page !== undefined) {
104152
- localVarQueryParameter['page'] = page;
104153
- }
104154
- if (pageSize !== undefined) {
104155
- localVarQueryParameter['pageSize'] = pageSize;
104156
- }
104157
- if (orderBy !== undefined) {
104158
- localVarQueryParameter['orderBy'] = orderBy;
104159
- }
104160
- if (search !== undefined) {
104161
- localVarQueryParameter['search'] = search;
104162
- }
104163
- localVarHeaderParameter['Accept'] = 'application/json';
104164
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104165
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104166
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104167
- return {
104168
- url: toPathString(localVarUrlObj),
104169
- options: localVarRequestOptions,
104170
- };
104171
- }),
104172
- /**
104173
- * Update Thread Circle Account endpoint
104174
- * @summary Update Thread Circle Account
104175
- * @param {string} circleId The circle identifier
104176
- * @param {string} accountId The account identifier
104177
- * @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
104178
- * @param {*} [options] Override http request option.
104179
- * @throws {RequiredError}
104180
- */
104181
- updateThreadCircleAccount: (circleId_1, accountId_1, threadCircleAccountUpdateInputs_1, ...args_1) => __awaiter(this, [circleId_1, accountId_1, threadCircleAccountUpdateInputs_1, ...args_1], void 0, function* (circleId, accountId, threadCircleAccountUpdateInputs, options = {}) {
104182
- // verify required parameter 'circleId' is not null or undefined
104183
- assertParamExists('updateThreadCircleAccount', 'circleId', circleId);
104184
- // verify required parameter 'accountId' is not null or undefined
104185
- assertParamExists('updateThreadCircleAccount', 'accountId', accountId);
104186
- // verify required parameter 'threadCircleAccountUpdateInputs' is not null or undefined
104187
- assertParamExists('updateThreadCircleAccount', 'threadCircleAccountUpdateInputs', threadCircleAccountUpdateInputs);
104188
- const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
104189
- .replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
104190
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
104191
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104192
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104193
- let baseOptions;
104194
- if (configuration) {
104195
- baseOptions = configuration.baseOptions;
104196
- }
104197
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
104198
- const localVarHeaderParameter = {};
104199
- const localVarQueryParameter = {};
104200
- // authentication ApiKeyAuth required
104201
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104202
- // authentication OrganizationId required
104203
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104204
- localVarHeaderParameter['Content-Type'] = 'application/json';
104205
- localVarHeaderParameter['Accept'] = 'application/json';
104206
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104207
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104208
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104209
- localVarRequestOptions.data = serializeDataIfNeeded(threadCircleAccountUpdateInputs, localVarRequestOptions, configuration);
104210
- return {
104211
- url: toPathString(localVarUrlObj),
104212
- options: localVarRequestOptions,
104213
- };
104214
- }),
104215
- };
104216
- };
104217
- /**
104218
- * ThreadsCirclesAccountsApi - functional programming interface
104219
- */
104220
- export const ThreadsCirclesAccountsApiFp = function (configuration) {
104221
- const localVarAxiosParamCreator = ThreadsCirclesAccountsApiAxiosParamCreator(configuration);
104222
- return {
104223
- /**
104224
- * Create Thread Circle Account endpoint
104225
- * @summary Create Thread Circle Account
104226
- * @param {string} circleId The circle identifier
104227
- * @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
104228
- * @param {*} [options] Override http request option.
104229
- * @throws {RequiredError}
104230
- */
104231
- createThreadCircleAccount(circleId, threadCircleAccountCreateInputs, options) {
104232
- return __awaiter(this, void 0, void 0, function* () {
104233
- var _a, _b, _c;
104234
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createThreadCircleAccount(circleId, threadCircleAccountCreateInputs, options);
104235
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104236
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.createThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104237
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104238
- });
104239
- },
104240
- /**
104241
- * Delete Thread Circle Account endpoint
104242
- * @summary Delete Thread Circle Account
104243
- * @param {string} circleId The circle identifier
104244
- * @param {string} accountId The account identifier
104245
- * @param {*} [options] Override http request option.
104246
- * @throws {RequiredError}
104247
- */
104248
- deleteThreadCircleAccount(circleId, accountId, options) {
104249
- return __awaiter(this, void 0, void 0, function* () {
104250
- var _a, _b, _c;
104251
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadCircleAccount(circleId, accountId, options);
104252
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104253
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.deleteThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104254
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104255
- });
104256
- },
104257
- /**
104258
- * Get Thread Circle Account endpoint
104259
- * @summary Get Thread Circle Account
104260
- * @param {string} circleId The circle identifier
104261
- * @param {string} accountId The account identifier
104262
- * @param {*} [options] Override http request option.
104263
- * @throws {RequiredError}
104264
- */
104265
- getThreadCircleAccount(circleId, accountId, options) {
104266
- return __awaiter(this, void 0, void 0, function* () {
104267
- var _a, _b, _c;
104268
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleAccount(circleId, accountId, options);
104269
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104270
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.getThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104271
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104272
- });
104273
- },
104274
- /**
104275
- * Get Thread Circle Accounts endpoint
104276
- * @summary Get Thread Circle Accounts
104277
- * @param {string} circleId The circle identifier
104278
- * @param {ThreadCircleAccountRole} [role] Filter by role
104279
- * @param {number} [page] Page number
104280
- * @param {number} [pageSize] Number of items per page
104281
- * @param {string} [orderBy] Field to order by
104282
- * @param {string} [search] Search query
104283
- * @param {*} [options] Override http request option.
104284
- * @throws {RequiredError}
104285
- */
104286
- getThreadCircleAccounts(circleId, role, page, pageSize, orderBy, search, options) {
104287
- return __awaiter(this, void 0, void 0, function* () {
104288
- var _a, _b, _c;
104289
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleAccounts(circleId, role, page, pageSize, orderBy, search, options);
104290
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104291
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.getThreadCircleAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104292
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104293
- });
104294
- },
104295
- /**
104296
- * Update Thread Circle Account endpoint
104297
- * @summary Update Thread Circle Account
104298
- * @param {string} circleId The circle identifier
103417
+ * Delete Thread Account endpoint
103418
+ * @summary Delete Thread Account
103419
+ * @param {string} threadId The thread identifier
104299
103420
  * @param {string} accountId The account identifier
104300
- * @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
104301
103421
  * @param {*} [options] Override http request option.
104302
103422
  * @throws {RequiredError}
104303
103423
  */
104304
- updateThreadCircleAccount(circleId, accountId, threadCircleAccountUpdateInputs, options) {
103424
+ deleteThreadAccount(threadId, accountId, options) {
104305
103425
  return __awaiter(this, void 0, void 0, function* () {
104306
103426
  var _a, _b, _c;
104307
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadCircleAccount(circleId, accountId, threadCircleAccountUpdateInputs, options);
103427
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId, accountId, options);
104308
103428
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104309
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.updateThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103429
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104310
103430
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104311
103431
  });
104312
103432
  },
104313
- };
104314
- };
104315
- /**
104316
- * ThreadsCirclesAccountsApi - factory interface
104317
- */
104318
- export const ThreadsCirclesAccountsApiFactory = function (configuration, basePath, axios) {
104319
- const localVarFp = ThreadsCirclesAccountsApiFp(configuration);
104320
- return {
104321
- /**
104322
- * Create Thread Circle Account endpoint
104323
- * @summary Create Thread Circle Account
104324
- * @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
104325
- * @param {*} [options] Override http request option.
104326
- * @throws {RequiredError}
104327
- */
104328
- createThreadCircleAccount(requestParameters, options) {
104329
- return localVarFp.createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(axios, basePath));
104330
- },
104331
- /**
104332
- * Delete Thread Circle Account endpoint
104333
- * @summary Delete Thread Circle Account
104334
- * @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
104335
- * @param {*} [options] Override http request option.
104336
- * @throws {RequiredError}
104337
- */
104338
- deleteThreadCircleAccount(requestParameters, options) {
104339
- return localVarFp.deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
104340
- },
104341
- /**
104342
- * Get Thread Circle Account endpoint
104343
- * @summary Get Thread Circle Account
104344
- * @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
104345
- * @param {*} [options] Override http request option.
104346
- * @throws {RequiredError}
104347
- */
104348
- getThreadCircleAccount(requestParameters, options) {
104349
- return localVarFp.getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
104350
- },
104351
- /**
104352
- * Get Thread Circle Accounts endpoint
104353
- * @summary Get Thread Circle Accounts
104354
- * @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
104355
- * @param {*} [options] Override http request option.
104356
- * @throws {RequiredError}
104357
- */
104358
- getThreadCircleAccounts(requestParameters, options) {
104359
- return localVarFp.getThreadCircleAccounts(requestParameters.circleId, requestParameters.role, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
104360
- },
104361
- /**
104362
- * Update Thread Circle Account endpoint
104363
- * @summary Update Thread Circle Account
104364
- * @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
104365
- * @param {*} [options] Override http request option.
104366
- * @throws {RequiredError}
104367
- */
104368
- updateThreadCircleAccount(requestParameters, options) {
104369
- return localVarFp.updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(axios, basePath));
104370
- },
104371
- };
104372
- };
104373
- /**
104374
- * ThreadsCirclesAccountsApi - object-oriented interface
104375
- */
104376
- export class ThreadsCirclesAccountsApi extends BaseAPI {
104377
- /**
104378
- * Create Thread Circle Account endpoint
104379
- * @summary Create Thread Circle Account
104380
- * @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
104381
- * @param {*} [options] Override http request option.
104382
- * @throws {RequiredError}
104383
- */
104384
- createThreadCircleAccount(requestParameters, options) {
104385
- return ThreadsCirclesAccountsApiFp(this.configuration).createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(this.axios, this.basePath));
104386
- }
104387
- /**
104388
- * Delete Thread Circle Account endpoint
104389
- * @summary Delete Thread Circle Account
104390
- * @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
104391
- * @param {*} [options] Override http request option.
104392
- * @throws {RequiredError}
104393
- */
104394
- deleteThreadCircleAccount(requestParameters, options) {
104395
- return ThreadsCirclesAccountsApiFp(this.configuration).deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
104396
- }
104397
- /**
104398
- * Get Thread Circle Account endpoint
104399
- * @summary Get Thread Circle Account
104400
- * @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
104401
- * @param {*} [options] Override http request option.
104402
- * @throws {RequiredError}
104403
- */
104404
- getThreadCircleAccount(requestParameters, options) {
104405
- return ThreadsCirclesAccountsApiFp(this.configuration).getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
104406
- }
104407
- /**
104408
- * Get Thread Circle Accounts endpoint
104409
- * @summary Get Thread Circle Accounts
104410
- * @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
104411
- * @param {*} [options] Override http request option.
104412
- * @throws {RequiredError}
104413
- */
104414
- getThreadCircleAccounts(requestParameters, options) {
104415
- return ThreadsCirclesAccountsApiFp(this.configuration).getThreadCircleAccounts(requestParameters.circleId, requestParameters.role, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
104416
- }
104417
- /**
104418
- * Update Thread Circle Account endpoint
104419
- * @summary Update Thread Circle Account
104420
- * @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
104421
- * @param {*} [options] Override http request option.
104422
- * @throws {RequiredError}
104423
- */
104424
- updateThreadCircleAccount(requestParameters, options) {
104425
- return ThreadsCirclesAccountsApiFp(this.configuration).updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
104426
- }
104427
- }
104428
- /**
104429
- * ThreadsMembersApi - axios parameter creator
104430
- */
104431
- export const ThreadsMembersApiAxiosParamCreator = function (configuration) {
104432
- return {
104433
- /**
104434
- * Get Thread Accounts endpoint
104435
- * @summary Get Thread Accounts
104436
- * @param {string} threadId The thread identifier
104437
- * @param {number} [page] Page number
104438
- * @param {number} [pageSize] Number of items per page
104439
- * @param {string} [orderBy] Field to order by
104440
- * @param {string} [search] Search query
104441
- * @param {*} [options] Override http request option.
104442
- * @throws {RequiredError}
104443
- */
104444
- getThreadAccounts: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
104445
- // verify required parameter 'threadId' is not null or undefined
104446
- assertParamExists('getThreadAccounts', 'threadId', threadId);
104447
- const localVarPath = `/threads/{threadId}/accounts`
104448
- .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
104449
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104450
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104451
- let baseOptions;
104452
- if (configuration) {
104453
- baseOptions = configuration.baseOptions;
104454
- }
104455
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
104456
- const localVarHeaderParameter = {};
104457
- const localVarQueryParameter = {};
104458
- // authentication ApiKeyAuth required
104459
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104460
- // authentication OrganizationId required
104461
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104462
- if (page !== undefined) {
104463
- localVarQueryParameter['page'] = page;
104464
- }
104465
- if (pageSize !== undefined) {
104466
- localVarQueryParameter['pageSize'] = pageSize;
104467
- }
104468
- if (orderBy !== undefined) {
104469
- localVarQueryParameter['orderBy'] = orderBy;
104470
- }
104471
- if (search !== undefined) {
104472
- localVarQueryParameter['search'] = search;
104473
- }
104474
- localVarHeaderParameter['Accept'] = 'application/json';
104475
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104476
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104477
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104478
- return {
104479
- url: toPathString(localVarUrlObj),
104480
- options: localVarRequestOptions,
104481
- };
104482
- }),
104483
- /**
104484
- * Get Thread Members endpoint
104485
- * @summary Get Thread Members
104486
- * @param {string} threadId The thread identifier
104487
- * @param {number} [page] Page number
104488
- * @param {number} [pageSize] Number of items per page
104489
- * @param {string} [orderBy] Field to order by
104490
- * @param {string} [search] Search query
104491
- * @param {*} [options] Override http request option.
104492
- * @throws {RequiredError}
104493
- */
104494
- getThreadMembers: (threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [threadId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (threadId, page, pageSize, orderBy, search, options = {}) {
104495
- // verify required parameter 'threadId' is not null or undefined
104496
- assertParamExists('getThreadMembers', 'threadId', threadId);
104497
- const localVarPath = `/threads/{threadId}/members`
104498
- .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
104499
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104500
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104501
- let baseOptions;
104502
- if (configuration) {
104503
- baseOptions = configuration.baseOptions;
104504
- }
104505
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
104506
- const localVarHeaderParameter = {};
104507
- const localVarQueryParameter = {};
104508
- // authentication ApiKeyAuth required
104509
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104510
- // authentication OrganizationId required
104511
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104512
- if (page !== undefined) {
104513
- localVarQueryParameter['page'] = page;
104514
- }
104515
- if (pageSize !== undefined) {
104516
- localVarQueryParameter['pageSize'] = pageSize;
104517
- }
104518
- if (orderBy !== undefined) {
104519
- localVarQueryParameter['orderBy'] = orderBy;
104520
- }
104521
- if (search !== undefined) {
104522
- localVarQueryParameter['search'] = search;
104523
- }
104524
- localVarHeaderParameter['Accept'] = 'application/json';
104525
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104526
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104527
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104528
- return {
104529
- url: toPathString(localVarUrlObj),
104530
- options: localVarRequestOptions,
104531
- };
104532
- }),
104533
- /**
104534
- * Update Thread Member endpoint
104535
- * @summary Update Thread Member
104536
- * @param {string} threadId The thread identifier
104537
- * @param {string} accountId The account identifier
104538
- * @param {ThreadMemberUpdateInputs} threadMemberUpdateInputs
104539
- * @param {*} [options] Override http request option.
104540
- * @throws {RequiredError}
104541
- */
104542
- updateThreadMember: (threadId_1, accountId_1, threadMemberUpdateInputs_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, threadMemberUpdateInputs_1, ...args_1], void 0, function* (threadId, accountId, threadMemberUpdateInputs, options = {}) {
104543
- // verify required parameter 'threadId' is not null or undefined
104544
- assertParamExists('updateThreadMember', 'threadId', threadId);
104545
- // verify required parameter 'accountId' is not null or undefined
104546
- assertParamExists('updateThreadMember', 'accountId', accountId);
104547
- // verify required parameter 'threadMemberUpdateInputs' is not null or undefined
104548
- assertParamExists('updateThreadMember', 'threadMemberUpdateInputs', threadMemberUpdateInputs);
104549
- const localVarPath = `/threads/{threadId}/members/{accountId}`
104550
- .replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
104551
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
104552
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
104553
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104554
- let baseOptions;
104555
- if (configuration) {
104556
- baseOptions = configuration.baseOptions;
104557
- }
104558
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
104559
- const localVarHeaderParameter = {};
104560
- const localVarQueryParameter = {};
104561
- // authentication ApiKeyAuth required
104562
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
104563
- // authentication OrganizationId required
104564
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
104565
- localVarHeaderParameter['Content-Type'] = 'application/json';
104566
- localVarHeaderParameter['Accept'] = 'application/json';
104567
- setSearchParams(localVarUrlObj, localVarQueryParameter);
104568
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104569
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
104570
- localVarRequestOptions.data = serializeDataIfNeeded(threadMemberUpdateInputs, localVarRequestOptions, configuration);
104571
- return {
104572
- url: toPathString(localVarUrlObj),
104573
- options: localVarRequestOptions,
104574
- };
104575
- }),
104576
- };
104577
- };
104578
- /**
104579
- * ThreadsMembersApi - functional programming interface
104580
- */
104581
- export const ThreadsMembersApiFp = function (configuration) {
104582
- const localVarAxiosParamCreator = ThreadsMembersApiAxiosParamCreator(configuration);
104583
- return {
104584
103433
  /**
104585
103434
  * Get Thread Accounts endpoint
104586
103435
  * @summary Get Thread Accounts
@@ -104597,121 +103446,101 @@ export const ThreadsMembersApiFp = function (configuration) {
104597
103446
  var _a, _b, _c;
104598
103447
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadAccounts(threadId, page, pageSize, orderBy, search, options);
104599
103448
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104600
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsMembersApi.getThreadAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104601
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104602
- });
104603
- },
104604
- /**
104605
- * Get Thread Members endpoint
104606
- * @summary Get Thread Members
104607
- * @param {string} threadId The thread identifier
104608
- * @param {number} [page] Page number
104609
- * @param {number} [pageSize] Number of items per page
104610
- * @param {string} [orderBy] Field to order by
104611
- * @param {string} [search] Search query
104612
- * @param {*} [options] Override http request option.
104613
- * @throws {RequiredError}
104614
- */
104615
- getThreadMembers(threadId, page, pageSize, orderBy, search, options) {
104616
- return __awaiter(this, void 0, void 0, function* () {
104617
- var _a, _b, _c;
104618
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadMembers(threadId, page, pageSize, orderBy, search, options);
104619
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104620
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsMembersApi.getThreadMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103449
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.getThreadAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104621
103450
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104622
103451
  });
104623
103452
  },
104624
103453
  /**
104625
- * Update Thread Member endpoint
104626
- * @summary Update Thread Member
103454
+ * Update Thread Account endpoint
103455
+ * @summary Update Thread Account
104627
103456
  * @param {string} threadId The thread identifier
104628
103457
  * @param {string} accountId The account identifier
104629
- * @param {ThreadMemberUpdateInputs} threadMemberUpdateInputs
103458
+ * @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
104630
103459
  * @param {*} [options] Override http request option.
104631
103460
  * @throws {RequiredError}
104632
103461
  */
104633
- updateThreadMember(threadId, accountId, threadMemberUpdateInputs, options) {
103462
+ updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options) {
104634
103463
  return __awaiter(this, void 0, void 0, function* () {
104635
103464
  var _a, _b, _c;
104636
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadMember(threadId, accountId, threadMemberUpdateInputs, options);
103465
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options);
104637
103466
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
104638
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsMembersApi.updateThreadMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
103467
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.updateThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
104639
103468
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
104640
103469
  });
104641
103470
  },
104642
103471
  };
104643
103472
  };
104644
103473
  /**
104645
- * ThreadsMembersApi - factory interface
103474
+ * ThreadsAccountsApi - factory interface
104646
103475
  */
104647
- export const ThreadsMembersApiFactory = function (configuration, basePath, axios) {
104648
- const localVarFp = ThreadsMembersApiFp(configuration);
103476
+ export const ThreadsAccountsApiFactory = function (configuration, basePath, axios) {
103477
+ const localVarFp = ThreadsAccountsApiFp(configuration);
104649
103478
  return {
104650
103479
  /**
104651
- * Get Thread Accounts endpoint
104652
- * @summary Get Thread Accounts
104653
- * @param {ThreadsMembersApiGetThreadAccountsRequest} requestParameters Request parameters.
103480
+ * Delete Thread Account endpoint
103481
+ * @summary Delete Thread Account
103482
+ * @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
104654
103483
  * @param {*} [options] Override http request option.
104655
103484
  * @throws {RequiredError}
104656
103485
  */
104657
- getThreadAccounts(requestParameters, options) {
104658
- return localVarFp.getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103486
+ deleteThreadAccount(requestParameters, options) {
103487
+ return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(axios, basePath));
104659
103488
  },
104660
103489
  /**
104661
- * Get Thread Members endpoint
104662
- * @summary Get Thread Members
104663
- * @param {ThreadsMembersApiGetThreadMembersRequest} requestParameters Request parameters.
103490
+ * Get Thread Accounts endpoint
103491
+ * @summary Get Thread Accounts
103492
+ * @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
104664
103493
  * @param {*} [options] Override http request option.
104665
103494
  * @throws {RequiredError}
104666
103495
  */
104667
- getThreadMembers(requestParameters, options) {
104668
- return localVarFp.getThreadMembers(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
103496
+ getThreadAccounts(requestParameters, options) {
103497
+ return localVarFp.getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
104669
103498
  },
104670
103499
  /**
104671
- * Update Thread Member endpoint
104672
- * @summary Update Thread Member
104673
- * @param {ThreadsMembersApiUpdateThreadMemberRequest} requestParameters Request parameters.
103500
+ * Update Thread Account endpoint
103501
+ * @summary Update Thread Account
103502
+ * @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
104674
103503
  * @param {*} [options] Override http request option.
104675
103504
  * @throws {RequiredError}
104676
103505
  */
104677
- updateThreadMember(requestParameters, options) {
104678
- return localVarFp.updateThreadMember(requestParameters.threadId, requestParameters.accountId, requestParameters.threadMemberUpdateInputs, options).then((request) => request(axios, basePath));
103506
+ updateThreadAccount(requestParameters, options) {
103507
+ return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
104679
103508
  },
104680
103509
  };
104681
103510
  };
104682
103511
  /**
104683
- * ThreadsMembersApi - object-oriented interface
103512
+ * ThreadsAccountsApi - object-oriented interface
104684
103513
  */
104685
- export class ThreadsMembersApi extends BaseAPI {
103514
+ export class ThreadsAccountsApi extends BaseAPI {
104686
103515
  /**
104687
- * Get Thread Accounts endpoint
104688
- * @summary Get Thread Accounts
104689
- * @param {ThreadsMembersApiGetThreadAccountsRequest} requestParameters Request parameters.
103516
+ * Delete Thread Account endpoint
103517
+ * @summary Delete Thread Account
103518
+ * @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
104690
103519
  * @param {*} [options] Override http request option.
104691
103520
  * @throws {RequiredError}
104692
103521
  */
104693
- getThreadAccounts(requestParameters, options) {
104694
- return ThreadsMembersApiFp(this.configuration).getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103522
+ deleteThreadAccount(requestParameters, options) {
103523
+ return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
104695
103524
  }
104696
103525
  /**
104697
- * Get Thread Members endpoint
104698
- * @summary Get Thread Members
104699
- * @param {ThreadsMembersApiGetThreadMembersRequest} requestParameters Request parameters.
103526
+ * Get Thread Accounts endpoint
103527
+ * @summary Get Thread Accounts
103528
+ * @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
104700
103529
  * @param {*} [options] Override http request option.
104701
103530
  * @throws {RequiredError}
104702
103531
  */
104703
- getThreadMembers(requestParameters, options) {
104704
- return ThreadsMembersApiFp(this.configuration).getThreadMembers(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
103532
+ getThreadAccounts(requestParameters, options) {
103533
+ return ThreadsAccountsApiFp(this.configuration).getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
104705
103534
  }
104706
103535
  /**
104707
- * Update Thread Member endpoint
104708
- * @summary Update Thread Member
104709
- * @param {ThreadsMembersApiUpdateThreadMemberRequest} requestParameters Request parameters.
103536
+ * Update Thread Account endpoint
103537
+ * @summary Update Thread Account
103538
+ * @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
104710
103539
  * @param {*} [options] Override http request option.
104711
103540
  * @throws {RequiredError}
104712
103541
  */
104713
- updateThreadMember(requestParameters, options) {
104714
- return ThreadsMembersApiFp(this.configuration).updateThreadMember(requestParameters.threadId, requestParameters.accountId, requestParameters.threadMemberUpdateInputs, options).then((request) => request(this.axios, this.basePath));
103542
+ updateThreadAccount(requestParameters, options) {
103543
+ return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
104715
103544
  }
104716
103545
  }
104717
103546
  /**