@connectedxm/admin-sdk 6.33.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -26
- package/AdminApi.ts +3 -9
- package/README.md +8 -39
- package/api.ts +146 -1789
- package/dist/AdminApi.d.ts +2 -4
- package/dist/AdminApi.js +1 -3
- package/dist/api.d.ts +93 -951
- package/dist/api.js +127 -1311
- package/dist/esm/AdminApi.d.ts +2 -4
- package/dist/esm/AdminApi.js +2 -4
- package/dist/esm/api.d.ts +93 -951
- package/dist/esm/api.js +98 -1273
- package/docs/BaseThread.md +0 -2
- package/docs/BaseThreadMessage.md +4 -2
- package/docs/EventsApi.md +0 -64
- package/docs/GroupsApi.md +0 -64
- package/docs/Thread.md +4 -2
- package/docs/{ThreadMember.md → ThreadAccount.md} +9 -5
- package/docs/{ThreadMemberUpdateInputs.md → ThreadAccountUpdateInputs.md} +5 -3
- package/docs/{ThreadCircleCreateInputs.md → ThreadAllOfCount.md} +5 -5
- package/docs/ThreadCreateInputs.md +2 -6
- package/docs/ThreadMessage.md +6 -2
- package/docs/{BaseThreadMember.md → ThreadMessageRead.md} +9 -11
- package/docs/{ThreadsMembersApi.md → ThreadsAccountsApi.md} +31 -40
- package/docs/ThreadsApi.md +0 -3
- package/docs/{UpdateThreadMember200Response.md → UpdateThreadAccount200Response.md} +4 -4
- package/package.json +1 -1
- package/docs/BaseThreadCircle.md +0 -28
- package/docs/BaseThreadCircleAccount.md +0 -24
- package/docs/CreateThreadCircle200Response.md +0 -24
- package/docs/CreateThreadCircleAccount200Response.md +0 -24
- package/docs/GetThreadCircleAccounts200Response.md +0 -26
- package/docs/GetThreadCircles200Response.md +0 -26
- package/docs/GetThreadMembers200Response.md +0 -26
- package/docs/ThreadCircle.md +0 -28
- package/docs/ThreadCircleAccount.md +0 -24
- package/docs/ThreadCircleAccountCreateInputs.md +0 -22
- package/docs/ThreadCircleAccountRole.md +0 -12
- package/docs/ThreadCircleAccountUpdateInputs.md +0 -20
- package/docs/ThreadCircleType.md +0 -10
- package/docs/ThreadCircleUpdateInputs.md +0 -20
- package/docs/ThreadInvitation.md +0 -42
- package/docs/ThreadInvitationStatus.md +0 -10
- package/docs/ThreadMemberRole.md +0 -10
- package/docs/ThreadType.md +0 -14
- package/docs/ThreadsCirclesAccountsApi.md +0 -299
- 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,6 @@ 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 = {}));
|
|
1886
1866
|
export var GetThreadMessageFiles200ResponseStatusEnum;
|
|
1887
1867
|
(function (GetThreadMessageFiles200ResponseStatusEnum) {
|
|
1888
1868
|
GetThreadMessageFiles200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2563,40 +2543,12 @@ export var TaxLocationType;
|
|
|
2563
2543
|
TaxLocationType["PointOfSale"] = "pointOfSale";
|
|
2564
2544
|
TaxLocationType["AccountAddress"] = "accountAddress";
|
|
2565
2545
|
})(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
2546
|
export var ThreadMessageType;
|
|
2588
2547
|
(function (ThreadMessageType) {
|
|
2589
2548
|
ThreadMessageType["User"] = "user";
|
|
2590
2549
|
ThreadMessageType["Bot"] = "bot";
|
|
2591
2550
|
ThreadMessageType["System"] = "system";
|
|
2592
2551
|
})(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
2552
|
export var UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum;
|
|
2601
2553
|
(function (UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum) {
|
|
2602
2554
|
UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2653,10 +2605,10 @@ export var UpdateSeriesQuestionTranslation200ResponseStatusEnum;
|
|
|
2653
2605
|
(function (UpdateSeriesQuestionTranslation200ResponseStatusEnum) {
|
|
2654
2606
|
UpdateSeriesQuestionTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
2655
2607
|
})(UpdateSeriesQuestionTranslation200ResponseStatusEnum || (UpdateSeriesQuestionTranslation200ResponseStatusEnum = {}));
|
|
2656
|
-
export var
|
|
2657
|
-
(function (
|
|
2658
|
-
|
|
2659
|
-
})(
|
|
2608
|
+
export var UpdateThreadAccount200ResponseStatusEnum;
|
|
2609
|
+
(function (UpdateThreadAccount200ResponseStatusEnum) {
|
|
2610
|
+
UpdateThreadAccount200ResponseStatusEnum["Ok"] = "ok";
|
|
2611
|
+
})(UpdateThreadAccount200ResponseStatusEnum || (UpdateThreadAccount200ResponseStatusEnum = {}));
|
|
2660
2612
|
export var UploadFile200ResponseStatusEnum;
|
|
2661
2613
|
(function (UploadFile200ResponseStatusEnum) {
|
|
2662
2614
|
UploadFile200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -20871,56 +20823,6 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
20871
20823
|
options: localVarRequestOptions,
|
|
20872
20824
|
};
|
|
20873
20825
|
}),
|
|
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
20826
|
/**
|
|
20925
20827
|
* Get Event Tiers endpoint
|
|
20926
20828
|
* @summary Get Event Tiers
|
|
@@ -21195,26 +21097,6 @@ export const EventsApiFp = function (configuration) {
|
|
|
21195
21097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21196
21098
|
});
|
|
21197
21099
|
},
|
|
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
21100
|
/**
|
|
21219
21101
|
* Get Event Tiers endpoint
|
|
21220
21102
|
* @summary Get Event Tiers
|
|
@@ -21357,16 +21239,6 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
21357
21239
|
getEventPayments(requestParameters, options) {
|
|
21358
21240
|
return localVarFp.getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
21359
21241
|
},
|
|
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
21242
|
/**
|
|
21371
21243
|
* Get Event Tiers endpoint
|
|
21372
21244
|
* @summary Get Event Tiers
|
|
@@ -21483,16 +21355,6 @@ export class EventsApi extends BaseAPI {
|
|
|
21483
21355
|
getEventPayments(requestParameters, options) {
|
|
21484
21356
|
return EventsApiFp(this.configuration).getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
21485
21357
|
}
|
|
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
21358
|
/**
|
|
21497
21359
|
* Get Event Tiers endpoint
|
|
21498
21360
|
* @summary Get Event Tiers
|
|
@@ -68944,56 +68806,6 @@ export const GroupsApiAxiosParamCreator = function (configuration) {
|
|
|
68944
68806
|
options: localVarRequestOptions,
|
|
68945
68807
|
};
|
|
68946
68808
|
}),
|
|
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
68809
|
/**
|
|
68998
68810
|
* Get Groups endpoint
|
|
68999
68811
|
* @summary Get Groups
|
|
@@ -69165,26 +68977,6 @@ export const GroupsApiFp = function (configuration) {
|
|
|
69165
68977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69166
68978
|
});
|
|
69167
68979
|
},
|
|
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
68980
|
/**
|
|
69189
68981
|
* Get Groups endpoint
|
|
69190
68982
|
* @summary Get Groups
|
|
@@ -69271,16 +69063,6 @@ export const GroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
69271
69063
|
getGroupActivities(requestParameters, options) {
|
|
69272
69064
|
return localVarFp.getGroupActivities(requestParameters.groupId, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69273
69065
|
},
|
|
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
69066
|
/**
|
|
69285
69067
|
* Get Groups endpoint
|
|
69286
69068
|
* @summary Get Groups
|
|
@@ -69347,16 +69129,6 @@ export class GroupsApi extends BaseAPI {
|
|
|
69347
69129
|
getGroupActivities(requestParameters, options) {
|
|
69348
69130
|
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
69131
|
}
|
|
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
69132
|
/**
|
|
69361
69133
|
* Get Groups endpoint
|
|
69362
69134
|
* @summary Get Groups
|
|
@@ -103204,7 +102976,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103204
102976
|
/**
|
|
103205
102977
|
* Get Threads endpoint
|
|
103206
102978
|
* @summary Get Threads
|
|
103207
|
-
* @param {ThreadType} [type] Filter by type
|
|
103208
102979
|
* @param {number} [page] Page number
|
|
103209
102980
|
* @param {number} [pageSize] Number of items per page
|
|
103210
102981
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103212,7 +102983,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103212
102983
|
* @param {*} [options] Override http request option.
|
|
103213
102984
|
* @throws {RequiredError}
|
|
103214
102985
|
*/
|
|
103215
|
-
getThreads: (
|
|
102986
|
+
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
102987
|
const localVarPath = `/threads`;
|
|
103217
102988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103218
102989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -103227,9 +102998,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103227
102998
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103228
102999
|
// authentication OrganizationId required
|
|
103229
103000
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103230
|
-
if (type !== undefined) {
|
|
103231
|
-
localVarQueryParameter['type'] = type;
|
|
103232
|
-
}
|
|
103233
103001
|
if (page !== undefined) {
|
|
103234
103002
|
localVarQueryParameter['page'] = page;
|
|
103235
103003
|
}
|
|
@@ -103349,7 +103117,6 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
103349
103117
|
/**
|
|
103350
103118
|
* Get Threads endpoint
|
|
103351
103119
|
* @summary Get Threads
|
|
103352
|
-
* @param {ThreadType} [type] Filter by type
|
|
103353
103120
|
* @param {number} [page] Page number
|
|
103354
103121
|
* @param {number} [pageSize] Number of items per page
|
|
103355
103122
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103357,10 +103124,10 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
103357
103124
|
* @param {*} [options] Override http request option.
|
|
103358
103125
|
* @throws {RequiredError}
|
|
103359
103126
|
*/
|
|
103360
|
-
getThreads(
|
|
103127
|
+
getThreads(page, pageSize, orderBy, search, options) {
|
|
103361
103128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103362
103129
|
var _a, _b, _c;
|
|
103363
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(
|
|
103130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(page, pageSize, orderBy, search, options);
|
|
103364
103131
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103365
103132
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsApi.getThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103366
103133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -103429,7 +103196,7 @@ export const ThreadsApiFactory = function (configuration, basePath, axios) {
|
|
|
103429
103196
|
* @throws {RequiredError}
|
|
103430
103197
|
*/
|
|
103431
103198
|
getThreads(requestParameters = {}, options) {
|
|
103432
|
-
return localVarFp.getThreads(requestParameters.
|
|
103199
|
+
return localVarFp.getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103433
103200
|
},
|
|
103434
103201
|
/**
|
|
103435
103202
|
* Update Thread endpoint
|
|
@@ -103485,7 +103252,7 @@ export class ThreadsApi extends BaseAPI {
|
|
|
103485
103252
|
* @throws {RequiredError}
|
|
103486
103253
|
*/
|
|
103487
103254
|
getThreads(requestParameters = {}, options) {
|
|
103488
|
-
return ThreadsApiFp(this.configuration).getThreads(requestParameters.
|
|
103255
|
+
return ThreadsApiFp(this.configuration).getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103489
103256
|
}
|
|
103490
103257
|
/**
|
|
103491
103258
|
* Update Thread endpoint
|
|
@@ -103499,57 +103266,26 @@ export class ThreadsApi extends BaseAPI {
|
|
|
103499
103266
|
}
|
|
103500
103267
|
}
|
|
103501
103268
|
/**
|
|
103502
|
-
*
|
|
103269
|
+
* ThreadsAccountsApi - axios parameter creator
|
|
103503
103270
|
*/
|
|
103504
|
-
export const
|
|
103271
|
+
export const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
103505
103272
|
return {
|
|
103506
103273
|
/**
|
|
103507
|
-
*
|
|
103508
|
-
* @summary
|
|
103509
|
-
* @param {
|
|
103510
|
-
* @param {
|
|
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
|
|
103274
|
+
* Delete Thread Account endpoint
|
|
103275
|
+
* @summary Delete Thread Account
|
|
103276
|
+
* @param {string} threadId The thread identifier
|
|
103277
|
+
* @param {string} accountId The account identifier
|
|
103545
103278
|
* @param {*} [options] Override http request option.
|
|
103546
103279
|
* @throws {RequiredError}
|
|
103547
103280
|
*/
|
|
103548
|
-
|
|
103549
|
-
// verify required parameter '
|
|
103550
|
-
assertParamExists('
|
|
103551
|
-
|
|
103552
|
-
|
|
103281
|
+
deleteThreadAccount: (threadId_1, accountId_1, ...args_1) => __awaiter(this, [threadId_1, accountId_1, ...args_1], void 0, function* (threadId, accountId, options = {}) {
|
|
103282
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
103283
|
+
assertParamExists('deleteThreadAccount', 'threadId', threadId);
|
|
103284
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
103285
|
+
assertParamExists('deleteThreadAccount', 'accountId', accountId);
|
|
103286
|
+
const localVarPath = `/threads/{threadId}/accounts/{accountId}`
|
|
103287
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
103288
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
103553
103289
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103554
103290
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103555
103291
|
let baseOptions;
|
|
@@ -103573,93 +103309,9 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103573
103309
|
};
|
|
103574
103310
|
}),
|
|
103575
103311
|
/**
|
|
103576
|
-
* Get Thread
|
|
103577
|
-
* @summary Get Thread
|
|
103578
|
-
* @param {string}
|
|
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
|
|
103312
|
+
* Get Thread Accounts endpoint
|
|
103313
|
+
* @summary Get Thread Accounts
|
|
103314
|
+
* @param {string} threadId The thread identifier
|
|
103663
103315
|
* @param {number} [page] Page number
|
|
103664
103316
|
* @param {number} [pageSize] Number of items per page
|
|
103665
103317
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103667,10 +103319,11 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103667
103319
|
* @param {*} [options] Override http request option.
|
|
103668
103320
|
* @throws {RequiredError}
|
|
103669
103321
|
*/
|
|
103670
|
-
|
|
103671
|
-
// verify required parameter '
|
|
103672
|
-
assertParamExists('
|
|
103673
|
-
const localVarPath = `/threads/
|
|
103322
|
+
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 = {}) {
|
|
103323
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
103324
|
+
assertParamExists('getThreadAccounts', 'threadId', threadId);
|
|
103325
|
+
const localVarPath = `/threads/{threadId}/accounts`
|
|
103326
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
103674
103327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103675
103328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103676
103329
|
let baseOptions;
|
|
@@ -103684,9 +103337,6 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103684
103337
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103685
103338
|
// authentication OrganizationId required
|
|
103686
103339
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103687
|
-
if (type !== undefined) {
|
|
103688
|
-
localVarQueryParameter['type'] = type;
|
|
103689
|
-
}
|
|
103690
103340
|
if (page !== undefined) {
|
|
103691
103341
|
localVarQueryParameter['page'] = page;
|
|
103692
103342
|
}
|
|
@@ -103709,20 +103359,24 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103709
103359
|
};
|
|
103710
103360
|
}),
|
|
103711
103361
|
/**
|
|
103712
|
-
* Update Thread
|
|
103713
|
-
* @summary Update Thread
|
|
103714
|
-
* @param {string}
|
|
103715
|
-
* @param {
|
|
103362
|
+
* Update Thread Account endpoint
|
|
103363
|
+
* @summary Update Thread Account
|
|
103364
|
+
* @param {string} threadId The thread identifier
|
|
103365
|
+
* @param {string} accountId The account identifier
|
|
103366
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
103716
103367
|
* @param {*} [options] Override http request option.
|
|
103717
103368
|
* @throws {RequiredError}
|
|
103718
103369
|
*/
|
|
103719
|
-
|
|
103720
|
-
// verify required parameter '
|
|
103721
|
-
assertParamExists('
|
|
103722
|
-
// verify required parameter '
|
|
103723
|
-
assertParamExists('
|
|
103724
|
-
|
|
103725
|
-
|
|
103370
|
+
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 = {}) {
|
|
103371
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
103372
|
+
assertParamExists('updateThreadAccount', 'threadId', threadId);
|
|
103373
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
103374
|
+
assertParamExists('updateThreadAccount', 'accountId', accountId);
|
|
103375
|
+
// verify required parameter 'threadAccountUpdateInputs' is not null or undefined
|
|
103376
|
+
assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs);
|
|
103377
|
+
const localVarPath = `/threads/{threadId}/accounts/{accountId}`
|
|
103378
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
103379
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
103726
103380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103727
103381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103728
103382
|
let baseOptions;
|
|
@@ -103741,7 +103395,7 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103741
103395
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103742
103396
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103743
103397
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103744
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
103398
|
+
localVarRequestOptions.data = serializeDataIfNeeded(threadAccountUpdateInputs, localVarRequestOptions, configuration);
|
|
103745
103399
|
return {
|
|
103746
103400
|
url: toPathString(localVarUrlObj),
|
|
103747
103401
|
options: localVarRequestOptions,
|
|
@@ -103750,837 +103404,28 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103750
103404
|
};
|
|
103751
103405
|
};
|
|
103752
103406
|
/**
|
|
103753
|
-
*
|
|
103407
|
+
* ThreadsAccountsApi - functional programming interface
|
|
103754
103408
|
*/
|
|
103755
|
-
export const
|
|
103756
|
-
const localVarAxiosParamCreator =
|
|
103409
|
+
export const ThreadsAccountsApiFp = function (configuration) {
|
|
103410
|
+
const localVarAxiosParamCreator = ThreadsAccountsApiAxiosParamCreator(configuration);
|
|
103757
103411
|
return {
|
|
103758
103412
|
/**
|
|
103759
|
-
*
|
|
103760
|
-
* @summary
|
|
103761
|
-
* @param {
|
|
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
|
|
103413
|
+
* Delete Thread Account endpoint
|
|
103414
|
+
* @summary Delete Thread Account
|
|
103415
|
+
* @param {string} threadId The thread identifier
|
|
104299
103416
|
* @param {string} accountId The account identifier
|
|
104300
|
-
* @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
|
|
104301
103417
|
* @param {*} [options] Override http request option.
|
|
104302
103418
|
* @throws {RequiredError}
|
|
104303
103419
|
*/
|
|
104304
|
-
|
|
103420
|
+
deleteThreadAccount(threadId, accountId, options) {
|
|
104305
103421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104306
103422
|
var _a, _b, _c;
|
|
104307
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
103423
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId, accountId, options);
|
|
104308
103424
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104309
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
103425
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104310
103426
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104311
103427
|
});
|
|
104312
103428
|
},
|
|
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
103429
|
/**
|
|
104585
103430
|
* Get Thread Accounts endpoint
|
|
104586
103431
|
* @summary Get Thread Accounts
|
|
@@ -104597,121 +103442,101 @@ export const ThreadsMembersApiFp = function (configuration) {
|
|
|
104597
103442
|
var _a, _b, _c;
|
|
104598
103443
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadAccounts(threadId, page, pageSize, orderBy, search, options);
|
|
104599
103444
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104600
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
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;
|
|
103445
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.getThreadAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104621
103446
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104622
103447
|
});
|
|
104623
103448
|
},
|
|
104624
103449
|
/**
|
|
104625
|
-
* Update Thread
|
|
104626
|
-
* @summary Update Thread
|
|
103450
|
+
* Update Thread Account endpoint
|
|
103451
|
+
* @summary Update Thread Account
|
|
104627
103452
|
* @param {string} threadId The thread identifier
|
|
104628
103453
|
* @param {string} accountId The account identifier
|
|
104629
|
-
* @param {
|
|
103454
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
104630
103455
|
* @param {*} [options] Override http request option.
|
|
104631
103456
|
* @throws {RequiredError}
|
|
104632
103457
|
*/
|
|
104633
|
-
|
|
103458
|
+
updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options) {
|
|
104634
103459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104635
103460
|
var _a, _b, _c;
|
|
104636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
103461
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options);
|
|
104637
103462
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104638
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
103463
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsAccountsApi.updateThreadAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104639
103464
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104640
103465
|
});
|
|
104641
103466
|
},
|
|
104642
103467
|
};
|
|
104643
103468
|
};
|
|
104644
103469
|
/**
|
|
104645
|
-
*
|
|
103470
|
+
* ThreadsAccountsApi - factory interface
|
|
104646
103471
|
*/
|
|
104647
|
-
export const
|
|
104648
|
-
const localVarFp =
|
|
103472
|
+
export const ThreadsAccountsApiFactory = function (configuration, basePath, axios) {
|
|
103473
|
+
const localVarFp = ThreadsAccountsApiFp(configuration);
|
|
104649
103474
|
return {
|
|
104650
103475
|
/**
|
|
104651
|
-
*
|
|
104652
|
-
* @summary
|
|
104653
|
-
* @param {
|
|
103476
|
+
* Delete Thread Account endpoint
|
|
103477
|
+
* @summary Delete Thread Account
|
|
103478
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
104654
103479
|
* @param {*} [options] Override http request option.
|
|
104655
103480
|
* @throws {RequiredError}
|
|
104656
103481
|
*/
|
|
104657
|
-
|
|
104658
|
-
return localVarFp.
|
|
103482
|
+
deleteThreadAccount(requestParameters, options) {
|
|
103483
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
104659
103484
|
},
|
|
104660
103485
|
/**
|
|
104661
|
-
* Get Thread
|
|
104662
|
-
* @summary Get Thread
|
|
104663
|
-
* @param {
|
|
103486
|
+
* Get Thread Accounts endpoint
|
|
103487
|
+
* @summary Get Thread Accounts
|
|
103488
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
104664
103489
|
* @param {*} [options] Override http request option.
|
|
104665
103490
|
* @throws {RequiredError}
|
|
104666
103491
|
*/
|
|
104667
|
-
|
|
104668
|
-
return localVarFp.
|
|
103492
|
+
getThreadAccounts(requestParameters, options) {
|
|
103493
|
+
return localVarFp.getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
104669
103494
|
},
|
|
104670
103495
|
/**
|
|
104671
|
-
* Update Thread
|
|
104672
|
-
* @summary Update Thread
|
|
104673
|
-
* @param {
|
|
103496
|
+
* Update Thread Account endpoint
|
|
103497
|
+
* @summary Update Thread Account
|
|
103498
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
104674
103499
|
* @param {*} [options] Override http request option.
|
|
104675
103500
|
* @throws {RequiredError}
|
|
104676
103501
|
*/
|
|
104677
|
-
|
|
104678
|
-
return localVarFp.
|
|
103502
|
+
updateThreadAccount(requestParameters, options) {
|
|
103503
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
104679
103504
|
},
|
|
104680
103505
|
};
|
|
104681
103506
|
};
|
|
104682
103507
|
/**
|
|
104683
|
-
*
|
|
103508
|
+
* ThreadsAccountsApi - object-oriented interface
|
|
104684
103509
|
*/
|
|
104685
|
-
export class
|
|
103510
|
+
export class ThreadsAccountsApi extends BaseAPI {
|
|
104686
103511
|
/**
|
|
104687
|
-
*
|
|
104688
|
-
* @summary
|
|
104689
|
-
* @param {
|
|
103512
|
+
* Delete Thread Account endpoint
|
|
103513
|
+
* @summary Delete Thread Account
|
|
103514
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
104690
103515
|
* @param {*} [options] Override http request option.
|
|
104691
103516
|
* @throws {RequiredError}
|
|
104692
103517
|
*/
|
|
104693
|
-
|
|
104694
|
-
return
|
|
103518
|
+
deleteThreadAccount(requestParameters, options) {
|
|
103519
|
+
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
104695
103520
|
}
|
|
104696
103521
|
/**
|
|
104697
|
-
* Get Thread
|
|
104698
|
-
* @summary Get Thread
|
|
104699
|
-
* @param {
|
|
103522
|
+
* Get Thread Accounts endpoint
|
|
103523
|
+
* @summary Get Thread Accounts
|
|
103524
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
104700
103525
|
* @param {*} [options] Override http request option.
|
|
104701
103526
|
* @throws {RequiredError}
|
|
104702
103527
|
*/
|
|
104703
|
-
|
|
104704
|
-
return
|
|
103528
|
+
getThreadAccounts(requestParameters, options) {
|
|
103529
|
+
return ThreadsAccountsApiFp(this.configuration).getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
104705
103530
|
}
|
|
104706
103531
|
/**
|
|
104707
|
-
* Update Thread
|
|
104708
|
-
* @summary Update Thread
|
|
104709
|
-
* @param {
|
|
103532
|
+
* Update Thread Account endpoint
|
|
103533
|
+
* @summary Update Thread Account
|
|
103534
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
104710
103535
|
* @param {*} [options] Override http request option.
|
|
104711
103536
|
* @throws {RequiredError}
|
|
104712
103537
|
*/
|
|
104713
|
-
|
|
104714
|
-
return
|
|
103538
|
+
updateThreadAccount(requestParameters, options) {
|
|
103539
|
+
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
104715
103540
|
}
|
|
104716
103541
|
}
|
|
104717
103542
|
/**
|