@connectedxm/admin-sdk 6.33.0 → 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 +7 -26
- package/AdminApi.ts +3 -9
- package/README.md +10 -39
- package/api.ts +239 -1777
- package/dist/AdminApi.d.ts +2 -4
- package/dist/AdminApi.js +1 -3
- package/dist/api.d.ts +148 -951
- package/dist/api.js +204 -1308
- package/dist/esm/AdminApi.d.ts +2 -4
- package/dist/esm/AdminApi.js +2 -4
- package/dist/esm/api.d.ts +148 -951
- package/dist/esm/api.js +175 -1270
- package/docs/BaseEventActivation.md +2 -0
- package/docs/BaseThread.md +0 -2
- package/docs/BaseThreadMessage.md +4 -2
- package/docs/EventActivation.md +2 -0
- package/docs/EventActivationCreateInputs.md +2 -0
- package/docs/{ThreadCircleType.md → EventActivationRewardType.md} +3 -3
- package/docs/EventActivationUpdateInputs.md +2 -0
- package/docs/EventsActivationsSessionsApi.md +55 -0
- 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/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";
|
|
@@ -589,6 +581,11 @@ export var EmailReceiptStatus;
|
|
|
589
581
|
EmailReceiptStatus["Complaint"] = "complaint";
|
|
590
582
|
EmailReceiptStatus["Opened"] = "opened";
|
|
591
583
|
})(EmailReceiptStatus || (EmailReceiptStatus = {}));
|
|
584
|
+
export var EventActivationRewardType;
|
|
585
|
+
(function (EventActivationRewardType) {
|
|
586
|
+
EventActivationRewardType["Max"] = "max";
|
|
587
|
+
EventActivationRewardType["Input"] = "input";
|
|
588
|
+
})(EventActivationRewardType || (EventActivationRewardType = {}));
|
|
592
589
|
export var EventActivationType;
|
|
593
590
|
(function (EventActivationType) {
|
|
594
591
|
EventActivationType["Public"] = "public";
|
|
@@ -1866,18 +1863,6 @@ export var GetTaxLogs200ResponseStatusEnum;
|
|
|
1866
1863
|
(function (GetTaxLogs200ResponseStatusEnum) {
|
|
1867
1864
|
GetTaxLogs200ResponseStatusEnum["Ok"] = "ok";
|
|
1868
1865
|
})(GetTaxLogs200ResponseStatusEnum || (GetTaxLogs200ResponseStatusEnum = {}));
|
|
1869
|
-
export var GetThreadCircleAccounts200ResponseStatusEnum;
|
|
1870
|
-
(function (GetThreadCircleAccounts200ResponseStatusEnum) {
|
|
1871
|
-
GetThreadCircleAccounts200ResponseStatusEnum["Ok"] = "ok";
|
|
1872
|
-
})(GetThreadCircleAccounts200ResponseStatusEnum || (GetThreadCircleAccounts200ResponseStatusEnum = {}));
|
|
1873
|
-
export var GetThreadCircles200ResponseStatusEnum;
|
|
1874
|
-
(function (GetThreadCircles200ResponseStatusEnum) {
|
|
1875
|
-
GetThreadCircles200ResponseStatusEnum["Ok"] = "ok";
|
|
1876
|
-
})(GetThreadCircles200ResponseStatusEnum || (GetThreadCircles200ResponseStatusEnum = {}));
|
|
1877
|
-
export var GetThreadMembers200ResponseStatusEnum;
|
|
1878
|
-
(function (GetThreadMembers200ResponseStatusEnum) {
|
|
1879
|
-
GetThreadMembers200ResponseStatusEnum["Ok"] = "ok";
|
|
1880
|
-
})(GetThreadMembers200ResponseStatusEnum || (GetThreadMembers200ResponseStatusEnum = {}));
|
|
1881
1866
|
export var GetThreadMessageFiles200ResponseStatusEnum;
|
|
1882
1867
|
(function (GetThreadMessageFiles200ResponseStatusEnum) {
|
|
1883
1868
|
GetThreadMessageFiles200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2558,40 +2543,12 @@ export var TaxLocationType;
|
|
|
2558
2543
|
TaxLocationType["PointOfSale"] = "pointOfSale";
|
|
2559
2544
|
TaxLocationType["AccountAddress"] = "accountAddress";
|
|
2560
2545
|
})(TaxLocationType || (TaxLocationType = {}));
|
|
2561
|
-
export var ThreadCircleAccountRole;
|
|
2562
|
-
(function (ThreadCircleAccountRole) {
|
|
2563
|
-
ThreadCircleAccountRole["Member"] = "member";
|
|
2564
|
-
ThreadCircleAccountRole["Manager"] = "manager";
|
|
2565
|
-
ThreadCircleAccountRole["Invited"] = "invited";
|
|
2566
|
-
})(ThreadCircleAccountRole || (ThreadCircleAccountRole = {}));
|
|
2567
|
-
export var ThreadCircleType;
|
|
2568
|
-
(function (ThreadCircleType) {
|
|
2569
|
-
ThreadCircleType["Private"] = "private";
|
|
2570
|
-
ThreadCircleType["Direct"] = "direct";
|
|
2571
|
-
})(ThreadCircleType || (ThreadCircleType = {}));
|
|
2572
|
-
export var ThreadInvitationStatus;
|
|
2573
|
-
(function (ThreadInvitationStatus) {
|
|
2574
|
-
ThreadInvitationStatus["Invited"] = "invited";
|
|
2575
|
-
ThreadInvitationStatus["Rejected"] = "rejected";
|
|
2576
|
-
})(ThreadInvitationStatus || (ThreadInvitationStatus = {}));
|
|
2577
|
-
export var ThreadMemberRole;
|
|
2578
|
-
(function (ThreadMemberRole) {
|
|
2579
|
-
ThreadMemberRole["Member"] = "member";
|
|
2580
|
-
ThreadMemberRole["Moderator"] = "moderator";
|
|
2581
|
-
})(ThreadMemberRole || (ThreadMemberRole = {}));
|
|
2582
2546
|
export var ThreadMessageType;
|
|
2583
2547
|
(function (ThreadMessageType) {
|
|
2584
2548
|
ThreadMessageType["User"] = "user";
|
|
2585
2549
|
ThreadMessageType["Bot"] = "bot";
|
|
2586
2550
|
ThreadMessageType["System"] = "system";
|
|
2587
2551
|
})(ThreadMessageType || (ThreadMessageType = {}));
|
|
2588
|
-
export var ThreadType;
|
|
2589
|
-
(function (ThreadType) {
|
|
2590
|
-
ThreadType["Circle"] = "circle";
|
|
2591
|
-
ThreadType["Group"] = "group";
|
|
2592
|
-
ThreadType["Event"] = "event";
|
|
2593
|
-
ThreadType["Stream"] = "stream";
|
|
2594
|
-
})(ThreadType || (ThreadType = {}));
|
|
2595
2552
|
export var UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum;
|
|
2596
2553
|
(function (UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum) {
|
|
2597
2554
|
UpdateBookingSpaceQuestionChoiceTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2648,10 +2605,10 @@ export var UpdateSeriesQuestionTranslation200ResponseStatusEnum;
|
|
|
2648
2605
|
(function (UpdateSeriesQuestionTranslation200ResponseStatusEnum) {
|
|
2649
2606
|
UpdateSeriesQuestionTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
2650
2607
|
})(UpdateSeriesQuestionTranslation200ResponseStatusEnum || (UpdateSeriesQuestionTranslation200ResponseStatusEnum = {}));
|
|
2651
|
-
export var
|
|
2652
|
-
(function (
|
|
2653
|
-
|
|
2654
|
-
})(
|
|
2608
|
+
export var UpdateThreadAccount200ResponseStatusEnum;
|
|
2609
|
+
(function (UpdateThreadAccount200ResponseStatusEnum) {
|
|
2610
|
+
UpdateThreadAccount200ResponseStatusEnum["Ok"] = "ok";
|
|
2611
|
+
})(UpdateThreadAccount200ResponseStatusEnum || (UpdateThreadAccount200ResponseStatusEnum = {}));
|
|
2655
2612
|
export var UploadFile200ResponseStatusEnum;
|
|
2656
2613
|
(function (UploadFile200ResponseStatusEnum) {
|
|
2657
2614
|
UploadFile200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -20866,56 +20823,6 @@ export const EventsApiAxiosParamCreator = function (configuration) {
|
|
|
20866
20823
|
options: localVarRequestOptions,
|
|
20867
20824
|
};
|
|
20868
20825
|
}),
|
|
20869
|
-
/**
|
|
20870
|
-
* Get Event Threads endpoint
|
|
20871
|
-
* @summary Get Event Threads
|
|
20872
|
-
* @param {string} eventId The event identifier
|
|
20873
|
-
* @param {number} [page] Page number
|
|
20874
|
-
* @param {number} [pageSize] Number of items per page
|
|
20875
|
-
* @param {string} [orderBy] Field to order by
|
|
20876
|
-
* @param {string} [search] Search query
|
|
20877
|
-
* @param {*} [options] Override http request option.
|
|
20878
|
-
* @throws {RequiredError}
|
|
20879
|
-
*/
|
|
20880
|
-
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 = {}) {
|
|
20881
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
20882
|
-
assertParamExists('getEventThreads', 'eventId', eventId);
|
|
20883
|
-
const localVarPath = `/events/{eventId}/threads`
|
|
20884
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
20885
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20886
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20887
|
-
let baseOptions;
|
|
20888
|
-
if (configuration) {
|
|
20889
|
-
baseOptions = configuration.baseOptions;
|
|
20890
|
-
}
|
|
20891
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20892
|
-
const localVarHeaderParameter = {};
|
|
20893
|
-
const localVarQueryParameter = {};
|
|
20894
|
-
// authentication ApiKeyAuth required
|
|
20895
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
20896
|
-
// authentication OrganizationId required
|
|
20897
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
20898
|
-
if (page !== undefined) {
|
|
20899
|
-
localVarQueryParameter['page'] = page;
|
|
20900
|
-
}
|
|
20901
|
-
if (pageSize !== undefined) {
|
|
20902
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
20903
|
-
}
|
|
20904
|
-
if (orderBy !== undefined) {
|
|
20905
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
20906
|
-
}
|
|
20907
|
-
if (search !== undefined) {
|
|
20908
|
-
localVarQueryParameter['search'] = search;
|
|
20909
|
-
}
|
|
20910
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20911
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20912
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20913
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20914
|
-
return {
|
|
20915
|
-
url: toPathString(localVarUrlObj),
|
|
20916
|
-
options: localVarRequestOptions,
|
|
20917
|
-
};
|
|
20918
|
-
}),
|
|
20919
20826
|
/**
|
|
20920
20827
|
* Get Event Tiers endpoint
|
|
20921
20828
|
* @summary Get Event Tiers
|
|
@@ -21190,26 +21097,6 @@ export const EventsApiFp = function (configuration) {
|
|
|
21190
21097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21191
21098
|
});
|
|
21192
21099
|
},
|
|
21193
|
-
/**
|
|
21194
|
-
* Get Event Threads endpoint
|
|
21195
|
-
* @summary Get Event Threads
|
|
21196
|
-
* @param {string} eventId The event identifier
|
|
21197
|
-
* @param {number} [page] Page number
|
|
21198
|
-
* @param {number} [pageSize] Number of items per page
|
|
21199
|
-
* @param {string} [orderBy] Field to order by
|
|
21200
|
-
* @param {string} [search] Search query
|
|
21201
|
-
* @param {*} [options] Override http request option.
|
|
21202
|
-
* @throws {RequiredError}
|
|
21203
|
-
*/
|
|
21204
|
-
getEventThreads(eventId, page, pageSize, orderBy, search, options) {
|
|
21205
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21206
|
-
var _a, _b, _c;
|
|
21207
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventThreads(eventId, page, pageSize, orderBy, search, options);
|
|
21208
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21209
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.getEventThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21210
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21211
|
-
});
|
|
21212
|
-
},
|
|
21213
21100
|
/**
|
|
21214
21101
|
* Get Event Tiers endpoint
|
|
21215
21102
|
* @summary Get Event Tiers
|
|
@@ -21352,16 +21239,6 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
|
|
|
21352
21239
|
getEventPayments(requestParameters, options) {
|
|
21353
21240
|
return localVarFp.getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
21354
21241
|
},
|
|
21355
|
-
/**
|
|
21356
|
-
* Get Event Threads endpoint
|
|
21357
|
-
* @summary Get Event Threads
|
|
21358
|
-
* @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
|
|
21359
|
-
* @param {*} [options] Override http request option.
|
|
21360
|
-
* @throws {RequiredError}
|
|
21361
|
-
*/
|
|
21362
|
-
getEventThreads(requestParameters, options) {
|
|
21363
|
-
return localVarFp.getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
21364
|
-
},
|
|
21365
21242
|
/**
|
|
21366
21243
|
* Get Event Tiers endpoint
|
|
21367
21244
|
* @summary Get Event Tiers
|
|
@@ -21478,16 +21355,6 @@ export class EventsApi extends BaseAPI {
|
|
|
21478
21355
|
getEventPayments(requestParameters, options) {
|
|
21479
21356
|
return EventsApiFp(this.configuration).getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
21480
21357
|
}
|
|
21481
|
-
/**
|
|
21482
|
-
* Get Event Threads endpoint
|
|
21483
|
-
* @summary Get Event Threads
|
|
21484
|
-
* @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
|
|
21485
|
-
* @param {*} [options] Override http request option.
|
|
21486
|
-
* @throws {RequiredError}
|
|
21487
|
-
*/
|
|
21488
|
-
getEventThreads(requestParameters, options) {
|
|
21489
|
-
return EventsApiFp(this.configuration).getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
21490
|
-
}
|
|
21491
21358
|
/**
|
|
21492
21359
|
* Get Event Tiers endpoint
|
|
21493
21360
|
* @summary Get Event Tiers
|
|
@@ -22820,6 +22687,44 @@ export const EventsActivationsSessionsApiAxiosParamCreator = function (configura
|
|
|
22820
22687
|
options: localVarRequestOptions,
|
|
22821
22688
|
};
|
|
22822
22689
|
}),
|
|
22690
|
+
/**
|
|
22691
|
+
* Remove Event Activation Sessions endpoint
|
|
22692
|
+
* @summary Remove Event Activation Sessions
|
|
22693
|
+
* @param {string} eventId The event identifier
|
|
22694
|
+
* @param {string} activationId The activation identifier
|
|
22695
|
+
* @param {*} [options] Override http request option.
|
|
22696
|
+
* @throws {RequiredError}
|
|
22697
|
+
*/
|
|
22698
|
+
removeEventActivationSessions: (eventId_1, activationId_1, ...args_1) => __awaiter(this, [eventId_1, activationId_1, ...args_1], void 0, function* (eventId, activationId, options = {}) {
|
|
22699
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
22700
|
+
assertParamExists('removeEventActivationSessions', 'eventId', eventId);
|
|
22701
|
+
// verify required parameter 'activationId' is not null or undefined
|
|
22702
|
+
assertParamExists('removeEventActivationSessions', 'activationId', activationId);
|
|
22703
|
+
const localVarPath = `/events/{eventId}/activations/{activationId}/sessions`
|
|
22704
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
22705
|
+
.replace(`{${"activationId"}}`, encodeURIComponent(String(activationId)));
|
|
22706
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22708
|
+
let baseOptions;
|
|
22709
|
+
if (configuration) {
|
|
22710
|
+
baseOptions = configuration.baseOptions;
|
|
22711
|
+
}
|
|
22712
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
22713
|
+
const localVarHeaderParameter = {};
|
|
22714
|
+
const localVarQueryParameter = {};
|
|
22715
|
+
// authentication ApiKeyAuth required
|
|
22716
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
22717
|
+
// authentication OrganizationId required
|
|
22718
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
22719
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
22720
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22721
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22722
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22723
|
+
return {
|
|
22724
|
+
url: toPathString(localVarUrlObj),
|
|
22725
|
+
options: localVarRequestOptions,
|
|
22726
|
+
};
|
|
22727
|
+
}),
|
|
22823
22728
|
};
|
|
22824
22729
|
};
|
|
22825
22730
|
/**
|
|
@@ -22864,6 +22769,23 @@ export const EventsActivationsSessionsApiFp = function (configuration) {
|
|
|
22864
22769
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22865
22770
|
});
|
|
22866
22771
|
},
|
|
22772
|
+
/**
|
|
22773
|
+
* Remove Event Activation Sessions endpoint
|
|
22774
|
+
* @summary Remove Event Activation Sessions
|
|
22775
|
+
* @param {string} eventId The event identifier
|
|
22776
|
+
* @param {string} activationId The activation identifier
|
|
22777
|
+
* @param {*} [options] Override http request option.
|
|
22778
|
+
* @throws {RequiredError}
|
|
22779
|
+
*/
|
|
22780
|
+
removeEventActivationSessions(eventId, activationId, options) {
|
|
22781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22782
|
+
var _a, _b, _c;
|
|
22783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventActivationSessions(eventId, activationId, options);
|
|
22784
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
22785
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsActivationsSessionsApi.removeEventActivationSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
22786
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22787
|
+
});
|
|
22788
|
+
},
|
|
22867
22789
|
};
|
|
22868
22790
|
};
|
|
22869
22791
|
/**
|
|
@@ -22892,6 +22814,16 @@ export const EventsActivationsSessionsApiFactory = function (configuration, base
|
|
|
22892
22814
|
removeEventActivationSession(requestParameters, options) {
|
|
22893
22815
|
return localVarFp.removeEventActivationSession(requestParameters.eventId, requestParameters.activationId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
22894
22816
|
},
|
|
22817
|
+
/**
|
|
22818
|
+
* Remove Event Activation Sessions endpoint
|
|
22819
|
+
* @summary Remove Event Activation Sessions
|
|
22820
|
+
* @param {EventsActivationsSessionsApiRemoveEventActivationSessionsRequest} requestParameters Request parameters.
|
|
22821
|
+
* @param {*} [options] Override http request option.
|
|
22822
|
+
* @throws {RequiredError}
|
|
22823
|
+
*/
|
|
22824
|
+
removeEventActivationSessions(requestParameters, options) {
|
|
22825
|
+
return localVarFp.removeEventActivationSessions(requestParameters.eventId, requestParameters.activationId, options).then((request) => request(axios, basePath));
|
|
22826
|
+
},
|
|
22895
22827
|
};
|
|
22896
22828
|
};
|
|
22897
22829
|
/**
|
|
@@ -22918,6 +22850,16 @@ export class EventsActivationsSessionsApi extends BaseAPI {
|
|
|
22918
22850
|
removeEventActivationSession(requestParameters, options) {
|
|
22919
22851
|
return EventsActivationsSessionsApiFp(this.configuration).removeEventActivationSession(requestParameters.eventId, requestParameters.activationId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
22920
22852
|
}
|
|
22853
|
+
/**
|
|
22854
|
+
* Remove Event Activation Sessions endpoint
|
|
22855
|
+
* @summary Remove Event Activation Sessions
|
|
22856
|
+
* @param {EventsActivationsSessionsApiRemoveEventActivationSessionsRequest} requestParameters Request parameters.
|
|
22857
|
+
* @param {*} [options] Override http request option.
|
|
22858
|
+
* @throws {RequiredError}
|
|
22859
|
+
*/
|
|
22860
|
+
removeEventActivationSessions(requestParameters, options) {
|
|
22861
|
+
return EventsActivationsSessionsApiFp(this.configuration).removeEventActivationSessions(requestParameters.eventId, requestParameters.activationId, options).then((request) => request(this.axios, this.basePath));
|
|
22862
|
+
}
|
|
22921
22863
|
}
|
|
22922
22864
|
/**
|
|
22923
22865
|
* EventsActivationsTranslationsApi - axios parameter creator
|
|
@@ -68864,56 +68806,6 @@ export const GroupsApiAxiosParamCreator = function (configuration) {
|
|
|
68864
68806
|
options: localVarRequestOptions,
|
|
68865
68807
|
};
|
|
68866
68808
|
}),
|
|
68867
|
-
/**
|
|
68868
|
-
* Get Group Threads endpoint
|
|
68869
|
-
* @summary Get Group Threads
|
|
68870
|
-
* @param {string} groupId The group identifier
|
|
68871
|
-
* @param {number} [page] Page number
|
|
68872
|
-
* @param {number} [pageSize] Number of items per page
|
|
68873
|
-
* @param {string} [orderBy] Field to order by
|
|
68874
|
-
* @param {string} [search] Search query
|
|
68875
|
-
* @param {*} [options] Override http request option.
|
|
68876
|
-
* @throws {RequiredError}
|
|
68877
|
-
*/
|
|
68878
|
-
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 = {}) {
|
|
68879
|
-
// verify required parameter 'groupId' is not null or undefined
|
|
68880
|
-
assertParamExists('getGroupThreads', 'groupId', groupId);
|
|
68881
|
-
const localVarPath = `/groups/{groupId}/threads`
|
|
68882
|
-
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
68883
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68884
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68885
|
-
let baseOptions;
|
|
68886
|
-
if (configuration) {
|
|
68887
|
-
baseOptions = configuration.baseOptions;
|
|
68888
|
-
}
|
|
68889
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
68890
|
-
const localVarHeaderParameter = {};
|
|
68891
|
-
const localVarQueryParameter = {};
|
|
68892
|
-
// authentication ApiKeyAuth required
|
|
68893
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
68894
|
-
// authentication OrganizationId required
|
|
68895
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
68896
|
-
if (page !== undefined) {
|
|
68897
|
-
localVarQueryParameter['page'] = page;
|
|
68898
|
-
}
|
|
68899
|
-
if (pageSize !== undefined) {
|
|
68900
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
68901
|
-
}
|
|
68902
|
-
if (orderBy !== undefined) {
|
|
68903
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
68904
|
-
}
|
|
68905
|
-
if (search !== undefined) {
|
|
68906
|
-
localVarQueryParameter['search'] = search;
|
|
68907
|
-
}
|
|
68908
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68909
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68910
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68911
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68912
|
-
return {
|
|
68913
|
-
url: toPathString(localVarUrlObj),
|
|
68914
|
-
options: localVarRequestOptions,
|
|
68915
|
-
};
|
|
68916
|
-
}),
|
|
68917
68809
|
/**
|
|
68918
68810
|
* Get Groups endpoint
|
|
68919
68811
|
* @summary Get Groups
|
|
@@ -69085,26 +68977,6 @@ export const GroupsApiFp = function (configuration) {
|
|
|
69085
68977
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69086
68978
|
});
|
|
69087
68979
|
},
|
|
69088
|
-
/**
|
|
69089
|
-
* Get Group Threads endpoint
|
|
69090
|
-
* @summary Get Group Threads
|
|
69091
|
-
* @param {string} groupId The group identifier
|
|
69092
|
-
* @param {number} [page] Page number
|
|
69093
|
-
* @param {number} [pageSize] Number of items per page
|
|
69094
|
-
* @param {string} [orderBy] Field to order by
|
|
69095
|
-
* @param {string} [search] Search query
|
|
69096
|
-
* @param {*} [options] Override http request option.
|
|
69097
|
-
* @throws {RequiredError}
|
|
69098
|
-
*/
|
|
69099
|
-
getGroupThreads(groupId, page, pageSize, orderBy, search, options) {
|
|
69100
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
69101
|
-
var _a, _b, _c;
|
|
69102
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getGroupThreads(groupId, page, pageSize, orderBy, search, options);
|
|
69103
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69104
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['GroupsApi.getGroupThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
69105
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69106
|
-
});
|
|
69107
|
-
},
|
|
69108
68980
|
/**
|
|
69109
68981
|
* Get Groups endpoint
|
|
69110
68982
|
* @summary Get Groups
|
|
@@ -69191,16 +69063,6 @@ export const GroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
69191
69063
|
getGroupActivities(requestParameters, options) {
|
|
69192
69064
|
return localVarFp.getGroupActivities(requestParameters.groupId, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69193
69065
|
},
|
|
69194
|
-
/**
|
|
69195
|
-
* Get Group Threads endpoint
|
|
69196
|
-
* @summary Get Group Threads
|
|
69197
|
-
* @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
|
|
69198
|
-
* @param {*} [options] Override http request option.
|
|
69199
|
-
* @throws {RequiredError}
|
|
69200
|
-
*/
|
|
69201
|
-
getGroupThreads(requestParameters, options) {
|
|
69202
|
-
return localVarFp.getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69203
|
-
},
|
|
69204
69066
|
/**
|
|
69205
69067
|
* Get Groups endpoint
|
|
69206
69068
|
* @summary Get Groups
|
|
@@ -69267,16 +69129,6 @@ export class GroupsApi extends BaseAPI {
|
|
|
69267
69129
|
getGroupActivities(requestParameters, options) {
|
|
69268
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));
|
|
69269
69131
|
}
|
|
69270
|
-
/**
|
|
69271
|
-
* Get Group Threads endpoint
|
|
69272
|
-
* @summary Get Group Threads
|
|
69273
|
-
* @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
|
|
69274
|
-
* @param {*} [options] Override http request option.
|
|
69275
|
-
* @throws {RequiredError}
|
|
69276
|
-
*/
|
|
69277
|
-
getGroupThreads(requestParameters, options) {
|
|
69278
|
-
return GroupsApiFp(this.configuration).getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
69279
|
-
}
|
|
69280
69132
|
/**
|
|
69281
69133
|
* Get Groups endpoint
|
|
69282
69134
|
* @summary Get Groups
|
|
@@ -103124,7 +102976,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103124
102976
|
/**
|
|
103125
102977
|
* Get Threads endpoint
|
|
103126
102978
|
* @summary Get Threads
|
|
103127
|
-
* @param {ThreadType} [type] Filter by type
|
|
103128
102979
|
* @param {number} [page] Page number
|
|
103129
102980
|
* @param {number} [pageSize] Number of items per page
|
|
103130
102981
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103132,7 +102983,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103132
102983
|
* @param {*} [options] Override http request option.
|
|
103133
102984
|
* @throws {RequiredError}
|
|
103134
102985
|
*/
|
|
103135
|
-
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 = {}) {
|
|
103136
102987
|
const localVarPath = `/threads`;
|
|
103137
102988
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103138
102989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -103147,9 +102998,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
103147
102998
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103148
102999
|
// authentication OrganizationId required
|
|
103149
103000
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103150
|
-
if (type !== undefined) {
|
|
103151
|
-
localVarQueryParameter['type'] = type;
|
|
103152
|
-
}
|
|
103153
103001
|
if (page !== undefined) {
|
|
103154
103002
|
localVarQueryParameter['page'] = page;
|
|
103155
103003
|
}
|
|
@@ -103269,7 +103117,6 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
103269
103117
|
/**
|
|
103270
103118
|
* Get Threads endpoint
|
|
103271
103119
|
* @summary Get Threads
|
|
103272
|
-
* @param {ThreadType} [type] Filter by type
|
|
103273
103120
|
* @param {number} [page] Page number
|
|
103274
103121
|
* @param {number} [pageSize] Number of items per page
|
|
103275
103122
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103277,10 +103124,10 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
103277
103124
|
* @param {*} [options] Override http request option.
|
|
103278
103125
|
* @throws {RequiredError}
|
|
103279
103126
|
*/
|
|
103280
|
-
getThreads(
|
|
103127
|
+
getThreads(page, pageSize, orderBy, search, options) {
|
|
103281
103128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103282
103129
|
var _a, _b, _c;
|
|
103283
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(
|
|
103130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreads(page, pageSize, orderBy, search, options);
|
|
103284
103131
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103285
103132
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsApi.getThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103286
103133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -103349,7 +103196,7 @@ export const ThreadsApiFactory = function (configuration, basePath, axios) {
|
|
|
103349
103196
|
* @throws {RequiredError}
|
|
103350
103197
|
*/
|
|
103351
103198
|
getThreads(requestParameters = {}, options) {
|
|
103352
|
-
return localVarFp.getThreads(requestParameters.
|
|
103199
|
+
return localVarFp.getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103353
103200
|
},
|
|
103354
103201
|
/**
|
|
103355
103202
|
* Update Thread endpoint
|
|
@@ -103405,7 +103252,7 @@ export class ThreadsApi extends BaseAPI {
|
|
|
103405
103252
|
* @throws {RequiredError}
|
|
103406
103253
|
*/
|
|
103407
103254
|
getThreads(requestParameters = {}, options) {
|
|
103408
|
-
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));
|
|
103409
103256
|
}
|
|
103410
103257
|
/**
|
|
103411
103258
|
* Update Thread endpoint
|
|
@@ -103419,57 +103266,26 @@ export class ThreadsApi extends BaseAPI {
|
|
|
103419
103266
|
}
|
|
103420
103267
|
}
|
|
103421
103268
|
/**
|
|
103422
|
-
*
|
|
103269
|
+
* ThreadsAccountsApi - axios parameter creator
|
|
103423
103270
|
*/
|
|
103424
|
-
export const
|
|
103271
|
+
export const ThreadsAccountsApiAxiosParamCreator = function (configuration) {
|
|
103425
103272
|
return {
|
|
103426
103273
|
/**
|
|
103427
|
-
*
|
|
103428
|
-
* @summary
|
|
103429
|
-
* @param {
|
|
103430
|
-
* @param {
|
|
103431
|
-
* @throws {RequiredError}
|
|
103432
|
-
*/
|
|
103433
|
-
createThreadCircle: (threadCircleCreateInputs_1, ...args_1) => __awaiter(this, [threadCircleCreateInputs_1, ...args_1], void 0, function* (threadCircleCreateInputs, options = {}) {
|
|
103434
|
-
// verify required parameter 'threadCircleCreateInputs' is not null or undefined
|
|
103435
|
-
assertParamExists('createThreadCircle', 'threadCircleCreateInputs', threadCircleCreateInputs);
|
|
103436
|
-
const localVarPath = `/threads/circles`;
|
|
103437
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103438
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103439
|
-
let baseOptions;
|
|
103440
|
-
if (configuration) {
|
|
103441
|
-
baseOptions = configuration.baseOptions;
|
|
103442
|
-
}
|
|
103443
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
103444
|
-
const localVarHeaderParameter = {};
|
|
103445
|
-
const localVarQueryParameter = {};
|
|
103446
|
-
// authentication ApiKeyAuth required
|
|
103447
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103448
|
-
// authentication OrganizationId required
|
|
103449
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103450
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103451
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103452
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103453
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103454
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103455
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleCreateInputs, localVarRequestOptions, configuration);
|
|
103456
|
-
return {
|
|
103457
|
-
url: toPathString(localVarUrlObj),
|
|
103458
|
-
options: localVarRequestOptions,
|
|
103459
|
-
};
|
|
103460
|
-
}),
|
|
103461
|
-
/**
|
|
103462
|
-
* Delete Thread Circle endpoint
|
|
103463
|
-
* @summary Delete Thread Circle
|
|
103464
|
-
* @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
|
|
103465
103278
|
* @param {*} [options] Override http request option.
|
|
103466
103279
|
* @throws {RequiredError}
|
|
103467
103280
|
*/
|
|
103468
|
-
|
|
103469
|
-
// verify required parameter '
|
|
103470
|
-
assertParamExists('
|
|
103471
|
-
|
|
103472
|
-
|
|
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)));
|
|
103473
103289
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103474
103290
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103475
103291
|
let baseOptions;
|
|
@@ -103493,43 +103309,9 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103493
103309
|
};
|
|
103494
103310
|
}),
|
|
103495
103311
|
/**
|
|
103496
|
-
* Get Thread
|
|
103497
|
-
* @summary Get Thread
|
|
103498
|
-
* @param {string}
|
|
103499
|
-
* @param {*} [options] Override http request option.
|
|
103500
|
-
* @throws {RequiredError}
|
|
103501
|
-
*/
|
|
103502
|
-
getThreadCircle: (circleId_1, ...args_1) => __awaiter(this, [circleId_1, ...args_1], void 0, function* (circleId, options = {}) {
|
|
103503
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
103504
|
-
assertParamExists('getThreadCircle', 'circleId', circleId);
|
|
103505
|
-
const localVarPath = `/threads/circles/{circleId}`
|
|
103506
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
103507
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103508
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103509
|
-
let baseOptions;
|
|
103510
|
-
if (configuration) {
|
|
103511
|
-
baseOptions = configuration.baseOptions;
|
|
103512
|
-
}
|
|
103513
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
103514
|
-
const localVarHeaderParameter = {};
|
|
103515
|
-
const localVarQueryParameter = {};
|
|
103516
|
-
// authentication ApiKeyAuth required
|
|
103517
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103518
|
-
// authentication OrganizationId required
|
|
103519
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103520
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103521
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103522
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103523
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103524
|
-
return {
|
|
103525
|
-
url: toPathString(localVarUrlObj),
|
|
103526
|
-
options: localVarRequestOptions,
|
|
103527
|
-
};
|
|
103528
|
-
}),
|
|
103529
|
-
/**
|
|
103530
|
-
* Get Thread Circle Threads endpoint
|
|
103531
|
-
* @summary Get Thread Circle Threads
|
|
103532
|
-
* @param {string} circleId The circle identifier
|
|
103312
|
+
* Get Thread Accounts endpoint
|
|
103313
|
+
* @summary Get Thread Accounts
|
|
103314
|
+
* @param {string} threadId The thread identifier
|
|
103533
103315
|
* @param {number} [page] Page number
|
|
103534
103316
|
* @param {number} [pageSize] Number of items per page
|
|
103535
103317
|
* @param {string} [orderBy] Field to order by
|
|
@@ -103537,11 +103319,11 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103537
103319
|
* @param {*} [options] Override http request option.
|
|
103538
103320
|
* @throws {RequiredError}
|
|
103539
103321
|
*/
|
|
103540
|
-
|
|
103541
|
-
// verify required parameter '
|
|
103542
|
-
assertParamExists('
|
|
103543
|
-
const localVarPath = `/threads/
|
|
103544
|
-
.replace(`{${"
|
|
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)));
|
|
103545
103327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103546
103328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103547
103329
|
let baseOptions;
|
|
@@ -103577,536 +103359,23 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration) {
|
|
|
103577
103359
|
};
|
|
103578
103360
|
}),
|
|
103579
103361
|
/**
|
|
103580
|
-
*
|
|
103581
|
-
* @summary
|
|
103582
|
-
* @param {
|
|
103583
|
-
* @param {number} [page] Page number
|
|
103584
|
-
* @param {number} [pageSize] Number of items per page
|
|
103585
|
-
* @param {string} [orderBy] Field to order by
|
|
103586
|
-
* @param {string} [search] Search query
|
|
103587
|
-
* @param {*} [options] Override http request option.
|
|
103588
|
-
* @throws {RequiredError}
|
|
103589
|
-
*/
|
|
103590
|
-
getThreadCircles: (type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (type, page, pageSize, orderBy, search, options = {}) {
|
|
103591
|
-
// verify required parameter 'type' is not null or undefined
|
|
103592
|
-
assertParamExists('getThreadCircles', 'type', type);
|
|
103593
|
-
const localVarPath = `/threads/circles`;
|
|
103594
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103595
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103596
|
-
let baseOptions;
|
|
103597
|
-
if (configuration) {
|
|
103598
|
-
baseOptions = configuration.baseOptions;
|
|
103599
|
-
}
|
|
103600
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
103601
|
-
const localVarHeaderParameter = {};
|
|
103602
|
-
const localVarQueryParameter = {};
|
|
103603
|
-
// authentication ApiKeyAuth required
|
|
103604
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103605
|
-
// authentication OrganizationId required
|
|
103606
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103607
|
-
if (type !== undefined) {
|
|
103608
|
-
localVarQueryParameter['type'] = type;
|
|
103609
|
-
}
|
|
103610
|
-
if (page !== undefined) {
|
|
103611
|
-
localVarQueryParameter['page'] = page;
|
|
103612
|
-
}
|
|
103613
|
-
if (pageSize !== undefined) {
|
|
103614
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
103615
|
-
}
|
|
103616
|
-
if (orderBy !== undefined) {
|
|
103617
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
103618
|
-
}
|
|
103619
|
-
if (search !== undefined) {
|
|
103620
|
-
localVarQueryParameter['search'] = search;
|
|
103621
|
-
}
|
|
103622
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103623
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103624
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103625
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103626
|
-
return {
|
|
103627
|
-
url: toPathString(localVarUrlObj),
|
|
103628
|
-
options: localVarRequestOptions,
|
|
103629
|
-
};
|
|
103630
|
-
}),
|
|
103631
|
-
/**
|
|
103632
|
-
* Update Thread Circle endpoint
|
|
103633
|
-
* @summary Update Thread Circle
|
|
103634
|
-
* @param {string} circleId The circle identifier
|
|
103635
|
-
* @param {ThreadCircleUpdateInputs} threadCircleUpdateInputs
|
|
103636
|
-
* @param {*} [options] Override http request option.
|
|
103637
|
-
* @throws {RequiredError}
|
|
103638
|
-
*/
|
|
103639
|
-
updateThreadCircle: (circleId_1, threadCircleUpdateInputs_1, ...args_1) => __awaiter(this, [circleId_1, threadCircleUpdateInputs_1, ...args_1], void 0, function* (circleId, threadCircleUpdateInputs, options = {}) {
|
|
103640
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
103641
|
-
assertParamExists('updateThreadCircle', 'circleId', circleId);
|
|
103642
|
-
// verify required parameter 'threadCircleUpdateInputs' is not null or undefined
|
|
103643
|
-
assertParamExists('updateThreadCircle', 'threadCircleUpdateInputs', threadCircleUpdateInputs);
|
|
103644
|
-
const localVarPath = `/threads/circles/{circleId}`
|
|
103645
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
103646
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103647
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103648
|
-
let baseOptions;
|
|
103649
|
-
if (configuration) {
|
|
103650
|
-
baseOptions = configuration.baseOptions;
|
|
103651
|
-
}
|
|
103652
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
103653
|
-
const localVarHeaderParameter = {};
|
|
103654
|
-
const localVarQueryParameter = {};
|
|
103655
|
-
// authentication ApiKeyAuth required
|
|
103656
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103657
|
-
// authentication OrganizationId required
|
|
103658
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103659
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103660
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103661
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103662
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103663
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103664
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleUpdateInputs, localVarRequestOptions, configuration);
|
|
103665
|
-
return {
|
|
103666
|
-
url: toPathString(localVarUrlObj),
|
|
103667
|
-
options: localVarRequestOptions,
|
|
103668
|
-
};
|
|
103669
|
-
}),
|
|
103670
|
-
};
|
|
103671
|
-
};
|
|
103672
|
-
/**
|
|
103673
|
-
* ThreadsCirclesApi - functional programming interface
|
|
103674
|
-
*/
|
|
103675
|
-
export const ThreadsCirclesApiFp = function (configuration) {
|
|
103676
|
-
const localVarAxiosParamCreator = ThreadsCirclesApiAxiosParamCreator(configuration);
|
|
103677
|
-
return {
|
|
103678
|
-
/**
|
|
103679
|
-
* Create Thread Circle endpoint
|
|
103680
|
-
* @summary Create Thread Circle
|
|
103681
|
-
* @param {ThreadCircleCreateInputs} threadCircleCreateInputs
|
|
103682
|
-
* @param {*} [options] Override http request option.
|
|
103683
|
-
* @throws {RequiredError}
|
|
103684
|
-
*/
|
|
103685
|
-
createThreadCircle(threadCircleCreateInputs, options) {
|
|
103686
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103687
|
-
var _a, _b, _c;
|
|
103688
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createThreadCircle(threadCircleCreateInputs, options);
|
|
103689
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103690
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.createThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103692
|
-
});
|
|
103693
|
-
},
|
|
103694
|
-
/**
|
|
103695
|
-
* Delete Thread Circle endpoint
|
|
103696
|
-
* @summary Delete Thread Circle
|
|
103697
|
-
* @param {string} circleId The circle identifier
|
|
103698
|
-
* @param {*} [options] Override http request option.
|
|
103699
|
-
* @throws {RequiredError}
|
|
103700
|
-
*/
|
|
103701
|
-
deleteThreadCircle(circleId, options) {
|
|
103702
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103703
|
-
var _a, _b, _c;
|
|
103704
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadCircle(circleId, options);
|
|
103705
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103706
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.deleteThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103707
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103708
|
-
});
|
|
103709
|
-
},
|
|
103710
|
-
/**
|
|
103711
|
-
* Get Thread Circle endpoint
|
|
103712
|
-
* @summary Get Thread Circle
|
|
103713
|
-
* @param {string} circleId The circle identifier
|
|
103714
|
-
* @param {*} [options] Override http request option.
|
|
103715
|
-
* @throws {RequiredError}
|
|
103716
|
-
*/
|
|
103717
|
-
getThreadCircle(circleId, options) {
|
|
103718
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103719
|
-
var _a, _b, _c;
|
|
103720
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircle(circleId, options);
|
|
103721
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103722
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103723
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103724
|
-
});
|
|
103725
|
-
},
|
|
103726
|
-
/**
|
|
103727
|
-
* Get Thread Circle Threads endpoint
|
|
103728
|
-
* @summary Get Thread Circle Threads
|
|
103729
|
-
* @param {string} circleId The circle identifier
|
|
103730
|
-
* @param {number} [page] Page number
|
|
103731
|
-
* @param {number} [pageSize] Number of items per page
|
|
103732
|
-
* @param {string} [orderBy] Field to order by
|
|
103733
|
-
* @param {string} [search] Search query
|
|
103734
|
-
* @param {*} [options] Override http request option.
|
|
103735
|
-
* @throws {RequiredError}
|
|
103736
|
-
*/
|
|
103737
|
-
getThreadCircleThreads(circleId, page, pageSize, orderBy, search, options) {
|
|
103738
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103739
|
-
var _a, _b, _c;
|
|
103740
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleThreads(circleId, page, pageSize, orderBy, search, options);
|
|
103741
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103742
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircleThreads']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103743
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103744
|
-
});
|
|
103745
|
-
},
|
|
103746
|
-
/**
|
|
103747
|
-
* Get Thread Circles endpoint
|
|
103748
|
-
* @summary Get Thread Circles
|
|
103749
|
-
* @param {ThreadCircleType} type Filter by type
|
|
103750
|
-
* @param {number} [page] Page number
|
|
103751
|
-
* @param {number} [pageSize] Number of items per page
|
|
103752
|
-
* @param {string} [orderBy] Field to order by
|
|
103753
|
-
* @param {string} [search] Search query
|
|
103754
|
-
* @param {*} [options] Override http request option.
|
|
103755
|
-
* @throws {RequiredError}
|
|
103756
|
-
*/
|
|
103757
|
-
getThreadCircles(type, page, pageSize, orderBy, search, options) {
|
|
103758
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103759
|
-
var _a, _b, _c;
|
|
103760
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircles(type, page, pageSize, orderBy, search, options);
|
|
103761
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103762
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.getThreadCircles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103763
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103764
|
-
});
|
|
103765
|
-
},
|
|
103766
|
-
/**
|
|
103767
|
-
* Update Thread Circle endpoint
|
|
103768
|
-
* @summary Update Thread Circle
|
|
103769
|
-
* @param {string} circleId The circle identifier
|
|
103770
|
-
* @param {ThreadCircleUpdateInputs} threadCircleUpdateInputs
|
|
103771
|
-
* @param {*} [options] Override http request option.
|
|
103772
|
-
* @throws {RequiredError}
|
|
103773
|
-
*/
|
|
103774
|
-
updateThreadCircle(circleId, threadCircleUpdateInputs, options) {
|
|
103775
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
103776
|
-
var _a, _b, _c;
|
|
103777
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadCircle(circleId, threadCircleUpdateInputs, options);
|
|
103778
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103779
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesApi.updateThreadCircle']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
103780
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103781
|
-
});
|
|
103782
|
-
},
|
|
103783
|
-
};
|
|
103784
|
-
};
|
|
103785
|
-
/**
|
|
103786
|
-
* ThreadsCirclesApi - factory interface
|
|
103787
|
-
*/
|
|
103788
|
-
export const ThreadsCirclesApiFactory = function (configuration, basePath, axios) {
|
|
103789
|
-
const localVarFp = ThreadsCirclesApiFp(configuration);
|
|
103790
|
-
return {
|
|
103791
|
-
/**
|
|
103792
|
-
* Create Thread Circle endpoint
|
|
103793
|
-
* @summary Create Thread Circle
|
|
103794
|
-
* @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
|
|
103795
|
-
* @param {*} [options] Override http request option.
|
|
103796
|
-
* @throws {RequiredError}
|
|
103797
|
-
*/
|
|
103798
|
-
createThreadCircle(requestParameters, options) {
|
|
103799
|
-
return localVarFp.createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(axios, basePath));
|
|
103800
|
-
},
|
|
103801
|
-
/**
|
|
103802
|
-
* Delete Thread Circle endpoint
|
|
103803
|
-
* @summary Delete Thread Circle
|
|
103804
|
-
* @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
|
|
103805
|
-
* @param {*} [options] Override http request option.
|
|
103806
|
-
* @throws {RequiredError}
|
|
103807
|
-
*/
|
|
103808
|
-
deleteThreadCircle(requestParameters, options) {
|
|
103809
|
-
return localVarFp.deleteThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
|
|
103810
|
-
},
|
|
103811
|
-
/**
|
|
103812
|
-
* Get Thread Circle endpoint
|
|
103813
|
-
* @summary Get Thread Circle
|
|
103814
|
-
* @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
|
|
103815
|
-
* @param {*} [options] Override http request option.
|
|
103816
|
-
* @throws {RequiredError}
|
|
103817
|
-
*/
|
|
103818
|
-
getThreadCircle(requestParameters, options) {
|
|
103819
|
-
return localVarFp.getThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
|
|
103820
|
-
},
|
|
103821
|
-
/**
|
|
103822
|
-
* Get Thread Circle Threads endpoint
|
|
103823
|
-
* @summary Get Thread Circle Threads
|
|
103824
|
-
* @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
|
|
103825
|
-
* @param {*} [options] Override http request option.
|
|
103826
|
-
* @throws {RequiredError}
|
|
103827
|
-
*/
|
|
103828
|
-
getThreadCircleThreads(requestParameters, options) {
|
|
103829
|
-
return localVarFp.getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103830
|
-
},
|
|
103831
|
-
/**
|
|
103832
|
-
* Get Thread Circles endpoint
|
|
103833
|
-
* @summary Get Thread Circles
|
|
103834
|
-
* @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
|
|
103835
|
-
* @param {*} [options] Override http request option.
|
|
103836
|
-
* @throws {RequiredError}
|
|
103837
|
-
*/
|
|
103838
|
-
getThreadCircles(requestParameters, options) {
|
|
103839
|
-
return localVarFp.getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
103840
|
-
},
|
|
103841
|
-
/**
|
|
103842
|
-
* Update Thread Circle endpoint
|
|
103843
|
-
* @summary Update Thread Circle
|
|
103844
|
-
* @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
|
|
103845
|
-
* @param {*} [options] Override http request option.
|
|
103846
|
-
* @throws {RequiredError}
|
|
103847
|
-
*/
|
|
103848
|
-
updateThreadCircle(requestParameters, options) {
|
|
103849
|
-
return localVarFp.updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(axios, basePath));
|
|
103850
|
-
},
|
|
103851
|
-
};
|
|
103852
|
-
};
|
|
103853
|
-
/**
|
|
103854
|
-
* ThreadsCirclesApi - object-oriented interface
|
|
103855
|
-
*/
|
|
103856
|
-
export class ThreadsCirclesApi extends BaseAPI {
|
|
103857
|
-
/**
|
|
103858
|
-
* Create Thread Circle endpoint
|
|
103859
|
-
* @summary Create Thread Circle
|
|
103860
|
-
* @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
|
|
103861
|
-
* @param {*} [options] Override http request option.
|
|
103862
|
-
* @throws {RequiredError}
|
|
103863
|
-
*/
|
|
103864
|
-
createThreadCircle(requestParameters, options) {
|
|
103865
|
-
return ThreadsCirclesApiFp(this.configuration).createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103866
|
-
}
|
|
103867
|
-
/**
|
|
103868
|
-
* Delete Thread Circle endpoint
|
|
103869
|
-
* @summary Delete Thread Circle
|
|
103870
|
-
* @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
|
|
103871
|
-
* @param {*} [options] Override http request option.
|
|
103872
|
-
* @throws {RequiredError}
|
|
103873
|
-
*/
|
|
103874
|
-
deleteThreadCircle(requestParameters, options) {
|
|
103875
|
-
return ThreadsCirclesApiFp(this.configuration).deleteThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
|
|
103876
|
-
}
|
|
103877
|
-
/**
|
|
103878
|
-
* Get Thread Circle endpoint
|
|
103879
|
-
* @summary Get Thread Circle
|
|
103880
|
-
* @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
|
|
103881
|
-
* @param {*} [options] Override http request option.
|
|
103882
|
-
* @throws {RequiredError}
|
|
103883
|
-
*/
|
|
103884
|
-
getThreadCircle(requestParameters, options) {
|
|
103885
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
|
|
103886
|
-
}
|
|
103887
|
-
/**
|
|
103888
|
-
* Get Thread Circle Threads endpoint
|
|
103889
|
-
* @summary Get Thread Circle Threads
|
|
103890
|
-
* @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
|
|
103891
|
-
* @param {*} [options] Override http request option.
|
|
103892
|
-
* @throws {RequiredError}
|
|
103893
|
-
*/
|
|
103894
|
-
getThreadCircleThreads(requestParameters, options) {
|
|
103895
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103896
|
-
}
|
|
103897
|
-
/**
|
|
103898
|
-
* Get Thread Circles endpoint
|
|
103899
|
-
* @summary Get Thread Circles
|
|
103900
|
-
* @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
|
|
103901
|
-
* @param {*} [options] Override http request option.
|
|
103902
|
-
* @throws {RequiredError}
|
|
103903
|
-
*/
|
|
103904
|
-
getThreadCircles(requestParameters, options) {
|
|
103905
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
103906
|
-
}
|
|
103907
|
-
/**
|
|
103908
|
-
* Update Thread Circle endpoint
|
|
103909
|
-
* @summary Update Thread Circle
|
|
103910
|
-
* @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
|
|
103911
|
-
* @param {*} [options] Override http request option.
|
|
103912
|
-
* @throws {RequiredError}
|
|
103913
|
-
*/
|
|
103914
|
-
updateThreadCircle(requestParameters, options) {
|
|
103915
|
-
return ThreadsCirclesApiFp(this.configuration).updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
103916
|
-
}
|
|
103917
|
-
}
|
|
103918
|
-
/**
|
|
103919
|
-
* ThreadsCirclesAccountsApi - axios parameter creator
|
|
103920
|
-
*/
|
|
103921
|
-
export const ThreadsCirclesAccountsApiAxiosParamCreator = function (configuration) {
|
|
103922
|
-
return {
|
|
103923
|
-
/**
|
|
103924
|
-
* Create Thread Circle Account endpoint
|
|
103925
|
-
* @summary Create Thread Circle Account
|
|
103926
|
-
* @param {string} circleId The circle identifier
|
|
103927
|
-
* @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
|
|
103928
|
-
* @param {*} [options] Override http request option.
|
|
103929
|
-
* @throws {RequiredError}
|
|
103930
|
-
*/
|
|
103931
|
-
createThreadCircleAccount: (circleId_1, threadCircleAccountCreateInputs_1, ...args_1) => __awaiter(this, [circleId_1, threadCircleAccountCreateInputs_1, ...args_1], void 0, function* (circleId, threadCircleAccountCreateInputs, options = {}) {
|
|
103932
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
103933
|
-
assertParamExists('createThreadCircleAccount', 'circleId', circleId);
|
|
103934
|
-
// verify required parameter 'threadCircleAccountCreateInputs' is not null or undefined
|
|
103935
|
-
assertParamExists('createThreadCircleAccount', 'threadCircleAccountCreateInputs', threadCircleAccountCreateInputs);
|
|
103936
|
-
const localVarPath = `/threads/circles/{circleId}/accounts`
|
|
103937
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
103938
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103939
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103940
|
-
let baseOptions;
|
|
103941
|
-
if (configuration) {
|
|
103942
|
-
baseOptions = configuration.baseOptions;
|
|
103943
|
-
}
|
|
103944
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
103945
|
-
const localVarHeaderParameter = {};
|
|
103946
|
-
const localVarQueryParameter = {};
|
|
103947
|
-
// authentication ApiKeyAuth required
|
|
103948
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103949
|
-
// authentication OrganizationId required
|
|
103950
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103951
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103952
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103953
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103954
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103955
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103956
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleAccountCreateInputs, localVarRequestOptions, configuration);
|
|
103957
|
-
return {
|
|
103958
|
-
url: toPathString(localVarUrlObj),
|
|
103959
|
-
options: localVarRequestOptions,
|
|
103960
|
-
};
|
|
103961
|
-
}),
|
|
103962
|
-
/**
|
|
103963
|
-
* Delete Thread Circle Account endpoint
|
|
103964
|
-
* @summary Delete Thread Circle Account
|
|
103965
|
-
* @param {string} circleId The circle identifier
|
|
103966
|
-
* @param {string} accountId The account identifier
|
|
103967
|
-
* @param {*} [options] Override http request option.
|
|
103968
|
-
* @throws {RequiredError}
|
|
103969
|
-
*/
|
|
103970
|
-
deleteThreadCircleAccount: (circleId_1, accountId_1, ...args_1) => __awaiter(this, [circleId_1, accountId_1, ...args_1], void 0, function* (circleId, accountId, options = {}) {
|
|
103971
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
103972
|
-
assertParamExists('deleteThreadCircleAccount', 'circleId', circleId);
|
|
103973
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
103974
|
-
assertParamExists('deleteThreadCircleAccount', 'accountId', accountId);
|
|
103975
|
-
const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
|
|
103976
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
|
|
103977
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
103978
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103979
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103980
|
-
let baseOptions;
|
|
103981
|
-
if (configuration) {
|
|
103982
|
-
baseOptions = configuration.baseOptions;
|
|
103983
|
-
}
|
|
103984
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
103985
|
-
const localVarHeaderParameter = {};
|
|
103986
|
-
const localVarQueryParameter = {};
|
|
103987
|
-
// authentication ApiKeyAuth required
|
|
103988
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
103989
|
-
// authentication OrganizationId required
|
|
103990
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
103991
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
103992
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103993
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103994
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
103995
|
-
return {
|
|
103996
|
-
url: toPathString(localVarUrlObj),
|
|
103997
|
-
options: localVarRequestOptions,
|
|
103998
|
-
};
|
|
103999
|
-
}),
|
|
104000
|
-
/**
|
|
104001
|
-
* Get Thread Circle Account endpoint
|
|
104002
|
-
* @summary Get Thread Circle Account
|
|
104003
|
-
* @param {string} circleId The circle identifier
|
|
104004
|
-
* @param {string} accountId The account identifier
|
|
104005
|
-
* @param {*} [options] Override http request option.
|
|
104006
|
-
* @throws {RequiredError}
|
|
104007
|
-
*/
|
|
104008
|
-
getThreadCircleAccount: (circleId_1, accountId_1, ...args_1) => __awaiter(this, [circleId_1, accountId_1, ...args_1], void 0, function* (circleId, accountId, options = {}) {
|
|
104009
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
104010
|
-
assertParamExists('getThreadCircleAccount', 'circleId', circleId);
|
|
104011
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
104012
|
-
assertParamExists('getThreadCircleAccount', 'accountId', accountId);
|
|
104013
|
-
const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
|
|
104014
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
|
|
104015
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
104016
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104017
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104018
|
-
let baseOptions;
|
|
104019
|
-
if (configuration) {
|
|
104020
|
-
baseOptions = configuration.baseOptions;
|
|
104021
|
-
}
|
|
104022
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
104023
|
-
const localVarHeaderParameter = {};
|
|
104024
|
-
const localVarQueryParameter = {};
|
|
104025
|
-
// authentication ApiKeyAuth required
|
|
104026
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
104027
|
-
// authentication OrganizationId required
|
|
104028
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
104029
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104030
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104031
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104032
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104033
|
-
return {
|
|
104034
|
-
url: toPathString(localVarUrlObj),
|
|
104035
|
-
options: localVarRequestOptions,
|
|
104036
|
-
};
|
|
104037
|
-
}),
|
|
104038
|
-
/**
|
|
104039
|
-
* Get Thread Circle Accounts endpoint
|
|
104040
|
-
* @summary Get Thread Circle Accounts
|
|
104041
|
-
* @param {string} circleId The circle identifier
|
|
104042
|
-
* @param {ThreadCircleAccountRole} [role] Filter by role
|
|
104043
|
-
* @param {number} [page] Page number
|
|
104044
|
-
* @param {number} [pageSize] Number of items per page
|
|
104045
|
-
* @param {string} [orderBy] Field to order by
|
|
104046
|
-
* @param {string} [search] Search query
|
|
104047
|
-
* @param {*} [options] Override http request option.
|
|
104048
|
-
* @throws {RequiredError}
|
|
104049
|
-
*/
|
|
104050
|
-
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 = {}) {
|
|
104051
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
104052
|
-
assertParamExists('getThreadCircleAccounts', 'circleId', circleId);
|
|
104053
|
-
const localVarPath = `/threads/circles/{circleId}/accounts`
|
|
104054
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
104055
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104056
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104057
|
-
let baseOptions;
|
|
104058
|
-
if (configuration) {
|
|
104059
|
-
baseOptions = configuration.baseOptions;
|
|
104060
|
-
}
|
|
104061
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
104062
|
-
const localVarHeaderParameter = {};
|
|
104063
|
-
const localVarQueryParameter = {};
|
|
104064
|
-
// authentication ApiKeyAuth required
|
|
104065
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
104066
|
-
// authentication OrganizationId required
|
|
104067
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
104068
|
-
if (role !== undefined) {
|
|
104069
|
-
localVarQueryParameter['role'] = role;
|
|
104070
|
-
}
|
|
104071
|
-
if (page !== undefined) {
|
|
104072
|
-
localVarQueryParameter['page'] = page;
|
|
104073
|
-
}
|
|
104074
|
-
if (pageSize !== undefined) {
|
|
104075
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
104076
|
-
}
|
|
104077
|
-
if (orderBy !== undefined) {
|
|
104078
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
104079
|
-
}
|
|
104080
|
-
if (search !== undefined) {
|
|
104081
|
-
localVarQueryParameter['search'] = search;
|
|
104082
|
-
}
|
|
104083
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104084
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104085
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104086
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104087
|
-
return {
|
|
104088
|
-
url: toPathString(localVarUrlObj),
|
|
104089
|
-
options: localVarRequestOptions,
|
|
104090
|
-
};
|
|
104091
|
-
}),
|
|
104092
|
-
/**
|
|
104093
|
-
* Update Thread Circle Account endpoint
|
|
104094
|
-
* @summary Update Thread Circle Account
|
|
104095
|
-
* @param {string} circleId The circle identifier
|
|
103362
|
+
* Update Thread Account endpoint
|
|
103363
|
+
* @summary Update Thread Account
|
|
103364
|
+
* @param {string} threadId The thread identifier
|
|
104096
103365
|
* @param {string} accountId The account identifier
|
|
104097
|
-
* @param {
|
|
103366
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
104098
103367
|
* @param {*} [options] Override http request option.
|
|
104099
103368
|
* @throws {RequiredError}
|
|
104100
103369
|
*/
|
|
104101
|
-
|
|
104102
|
-
// verify required parameter '
|
|
104103
|
-
assertParamExists('
|
|
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);
|
|
104104
103373
|
// verify required parameter 'accountId' is not null or undefined
|
|
104105
|
-
assertParamExists('
|
|
104106
|
-
// verify required parameter '
|
|
104107
|
-
assertParamExists('
|
|
104108
|
-
const localVarPath = `/threads/
|
|
104109
|
-
.replace(`{${"
|
|
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)))
|
|
104110
103379
|
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
104111
103380
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104112
103381
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -104126,7 +103395,7 @@ export const ThreadsCirclesAccountsApiAxiosParamCreator = function (configuratio
|
|
|
104126
103395
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104127
103396
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104128
103397
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104129
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
103398
|
+
localVarRequestOptions.data = serializeDataIfNeeded(threadAccountUpdateInputs, localVarRequestOptions, configuration);
|
|
104130
103399
|
return {
|
|
104131
103400
|
url: toPathString(localVarUrlObj),
|
|
104132
103401
|
options: localVarRequestOptions,
|
|
@@ -104135,372 +103404,28 @@ export const ThreadsCirclesAccountsApiAxiosParamCreator = function (configuratio
|
|
|
104135
103404
|
};
|
|
104136
103405
|
};
|
|
104137
103406
|
/**
|
|
104138
|
-
*
|
|
103407
|
+
* ThreadsAccountsApi - functional programming interface
|
|
104139
103408
|
*/
|
|
104140
|
-
export const
|
|
104141
|
-
const localVarAxiosParamCreator =
|
|
103409
|
+
export const ThreadsAccountsApiFp = function (configuration) {
|
|
103410
|
+
const localVarAxiosParamCreator = ThreadsAccountsApiAxiosParamCreator(configuration);
|
|
104142
103411
|
return {
|
|
104143
103412
|
/**
|
|
104144
|
-
*
|
|
104145
|
-
* @summary
|
|
104146
|
-
* @param {string}
|
|
104147
|
-
* @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
|
|
104148
|
-
* @param {*} [options] Override http request option.
|
|
104149
|
-
* @throws {RequiredError}
|
|
104150
|
-
*/
|
|
104151
|
-
createThreadCircleAccount(circleId, threadCircleAccountCreateInputs, options) {
|
|
104152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104153
|
-
var _a, _b, _c;
|
|
104154
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createThreadCircleAccount(circleId, threadCircleAccountCreateInputs, options);
|
|
104155
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104156
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.createThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104157
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104158
|
-
});
|
|
104159
|
-
},
|
|
104160
|
-
/**
|
|
104161
|
-
* Delete Thread Circle Account endpoint
|
|
104162
|
-
* @summary Delete Thread Circle Account
|
|
104163
|
-
* @param {string} circleId The circle identifier
|
|
104164
|
-
* @param {string} accountId The account identifier
|
|
104165
|
-
* @param {*} [options] Override http request option.
|
|
104166
|
-
* @throws {RequiredError}
|
|
104167
|
-
*/
|
|
104168
|
-
deleteThreadCircleAccount(circleId, accountId, options) {
|
|
104169
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104170
|
-
var _a, _b, _c;
|
|
104171
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadCircleAccount(circleId, accountId, options);
|
|
104172
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104173
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.deleteThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104174
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104175
|
-
});
|
|
104176
|
-
},
|
|
104177
|
-
/**
|
|
104178
|
-
* Get Thread Circle Account endpoint
|
|
104179
|
-
* @summary Get Thread Circle Account
|
|
104180
|
-
* @param {string} circleId The circle identifier
|
|
104181
|
-
* @param {string} accountId The account identifier
|
|
104182
|
-
* @param {*} [options] Override http request option.
|
|
104183
|
-
* @throws {RequiredError}
|
|
104184
|
-
*/
|
|
104185
|
-
getThreadCircleAccount(circleId, accountId, options) {
|
|
104186
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104187
|
-
var _a, _b, _c;
|
|
104188
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleAccount(circleId, accountId, options);
|
|
104189
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104190
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.getThreadCircleAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104191
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104192
|
-
});
|
|
104193
|
-
},
|
|
104194
|
-
/**
|
|
104195
|
-
* Get Thread Circle Accounts endpoint
|
|
104196
|
-
* @summary Get Thread Circle Accounts
|
|
104197
|
-
* @param {string} circleId The circle identifier
|
|
104198
|
-
* @param {ThreadCircleAccountRole} [role] Filter by role
|
|
104199
|
-
* @param {number} [page] Page number
|
|
104200
|
-
* @param {number} [pageSize] Number of items per page
|
|
104201
|
-
* @param {string} [orderBy] Field to order by
|
|
104202
|
-
* @param {string} [search] Search query
|
|
104203
|
-
* @param {*} [options] Override http request option.
|
|
104204
|
-
* @throws {RequiredError}
|
|
104205
|
-
*/
|
|
104206
|
-
getThreadCircleAccounts(circleId, role, page, pageSize, orderBy, search, options) {
|
|
104207
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104208
|
-
var _a, _b, _c;
|
|
104209
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadCircleAccounts(circleId, role, page, pageSize, orderBy, search, options);
|
|
104210
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104211
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ThreadsCirclesAccountsApi.getThreadCircleAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104212
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104213
|
-
});
|
|
104214
|
-
},
|
|
104215
|
-
/**
|
|
104216
|
-
* Update Thread Circle Account endpoint
|
|
104217
|
-
* @summary Update Thread Circle Account
|
|
104218
|
-
* @param {string} circleId The circle identifier
|
|
103413
|
+
* Delete Thread Account endpoint
|
|
103414
|
+
* @summary Delete Thread Account
|
|
103415
|
+
* @param {string} threadId The thread identifier
|
|
104219
103416
|
* @param {string} accountId The account identifier
|
|
104220
|
-
* @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
|
|
104221
103417
|
* @param {*} [options] Override http request option.
|
|
104222
103418
|
* @throws {RequiredError}
|
|
104223
103419
|
*/
|
|
104224
|
-
|
|
103420
|
+
deleteThreadAccount(threadId, accountId, options) {
|
|
104225
103421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104226
103422
|
var _a, _b, _c;
|
|
104227
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
103423
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteThreadAccount(threadId, accountId, options);
|
|
104228
103424
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104229
|
-
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;
|
|
104230
103426
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104231
103427
|
});
|
|
104232
103428
|
},
|
|
104233
|
-
};
|
|
104234
|
-
};
|
|
104235
|
-
/**
|
|
104236
|
-
* ThreadsCirclesAccountsApi - factory interface
|
|
104237
|
-
*/
|
|
104238
|
-
export const ThreadsCirclesAccountsApiFactory = function (configuration, basePath, axios) {
|
|
104239
|
-
const localVarFp = ThreadsCirclesAccountsApiFp(configuration);
|
|
104240
|
-
return {
|
|
104241
|
-
/**
|
|
104242
|
-
* Create Thread Circle Account endpoint
|
|
104243
|
-
* @summary Create Thread Circle Account
|
|
104244
|
-
* @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104245
|
-
* @param {*} [options] Override http request option.
|
|
104246
|
-
* @throws {RequiredError}
|
|
104247
|
-
*/
|
|
104248
|
-
createThreadCircleAccount(requestParameters, options) {
|
|
104249
|
-
return localVarFp.createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(axios, basePath));
|
|
104250
|
-
},
|
|
104251
|
-
/**
|
|
104252
|
-
* Delete Thread Circle Account endpoint
|
|
104253
|
-
* @summary Delete Thread Circle Account
|
|
104254
|
-
* @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104255
|
-
* @param {*} [options] Override http request option.
|
|
104256
|
-
* @throws {RequiredError}
|
|
104257
|
-
*/
|
|
104258
|
-
deleteThreadCircleAccount(requestParameters, options) {
|
|
104259
|
-
return localVarFp.deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
104260
|
-
},
|
|
104261
|
-
/**
|
|
104262
|
-
* Get Thread Circle Account endpoint
|
|
104263
|
-
* @summary Get Thread Circle Account
|
|
104264
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104265
|
-
* @param {*} [options] Override http request option.
|
|
104266
|
-
* @throws {RequiredError}
|
|
104267
|
-
*/
|
|
104268
|
-
getThreadCircleAccount(requestParameters, options) {
|
|
104269
|
-
return localVarFp.getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
104270
|
-
},
|
|
104271
|
-
/**
|
|
104272
|
-
* Get Thread Circle Accounts endpoint
|
|
104273
|
-
* @summary Get Thread Circle Accounts
|
|
104274
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
|
|
104275
|
-
* @param {*} [options] Override http request option.
|
|
104276
|
-
* @throws {RequiredError}
|
|
104277
|
-
*/
|
|
104278
|
-
getThreadCircleAccounts(requestParameters, options) {
|
|
104279
|
-
return localVarFp.getThreadCircleAccounts(requestParameters.circleId, requestParameters.role, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
104280
|
-
},
|
|
104281
|
-
/**
|
|
104282
|
-
* Update Thread Circle Account endpoint
|
|
104283
|
-
* @summary Update Thread Circle Account
|
|
104284
|
-
* @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104285
|
-
* @param {*} [options] Override http request option.
|
|
104286
|
-
* @throws {RequiredError}
|
|
104287
|
-
*/
|
|
104288
|
-
updateThreadCircleAccount(requestParameters, options) {
|
|
104289
|
-
return localVarFp.updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
104290
|
-
},
|
|
104291
|
-
};
|
|
104292
|
-
};
|
|
104293
|
-
/**
|
|
104294
|
-
* ThreadsCirclesAccountsApi - object-oriented interface
|
|
104295
|
-
*/
|
|
104296
|
-
export class ThreadsCirclesAccountsApi extends BaseAPI {
|
|
104297
|
-
/**
|
|
104298
|
-
* Create Thread Circle Account endpoint
|
|
104299
|
-
* @summary Create Thread Circle Account
|
|
104300
|
-
* @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104301
|
-
* @param {*} [options] Override http request option.
|
|
104302
|
-
* @throws {RequiredError}
|
|
104303
|
-
*/
|
|
104304
|
-
createThreadCircleAccount(requestParameters, options) {
|
|
104305
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
104306
|
-
}
|
|
104307
|
-
/**
|
|
104308
|
-
* Delete Thread Circle Account endpoint
|
|
104309
|
-
* @summary Delete Thread Circle Account
|
|
104310
|
-
* @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104311
|
-
* @param {*} [options] Override http request option.
|
|
104312
|
-
* @throws {RequiredError}
|
|
104313
|
-
*/
|
|
104314
|
-
deleteThreadCircleAccount(requestParameters, options) {
|
|
104315
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
104316
|
-
}
|
|
104317
|
-
/**
|
|
104318
|
-
* Get Thread Circle Account endpoint
|
|
104319
|
-
* @summary Get Thread Circle Account
|
|
104320
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104321
|
-
* @param {*} [options] Override http request option.
|
|
104322
|
-
* @throws {RequiredError}
|
|
104323
|
-
*/
|
|
104324
|
-
getThreadCircleAccount(requestParameters, options) {
|
|
104325
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
104326
|
-
}
|
|
104327
|
-
/**
|
|
104328
|
-
* Get Thread Circle Accounts endpoint
|
|
104329
|
-
* @summary Get Thread Circle Accounts
|
|
104330
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
|
|
104331
|
-
* @param {*} [options] Override http request option.
|
|
104332
|
-
* @throws {RequiredError}
|
|
104333
|
-
*/
|
|
104334
|
-
getThreadCircleAccounts(requestParameters, options) {
|
|
104335
|
-
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));
|
|
104336
|
-
}
|
|
104337
|
-
/**
|
|
104338
|
-
* Update Thread Circle Account endpoint
|
|
104339
|
-
* @summary Update Thread Circle Account
|
|
104340
|
-
* @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
104341
|
-
* @param {*} [options] Override http request option.
|
|
104342
|
-
* @throws {RequiredError}
|
|
104343
|
-
*/
|
|
104344
|
-
updateThreadCircleAccount(requestParameters, options) {
|
|
104345
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
104346
|
-
}
|
|
104347
|
-
}
|
|
104348
|
-
/**
|
|
104349
|
-
* ThreadsMembersApi - axios parameter creator
|
|
104350
|
-
*/
|
|
104351
|
-
export const ThreadsMembersApiAxiosParamCreator = function (configuration) {
|
|
104352
|
-
return {
|
|
104353
|
-
/**
|
|
104354
|
-
* Get Thread Accounts endpoint
|
|
104355
|
-
* @summary Get Thread Accounts
|
|
104356
|
-
* @param {string} threadId The thread identifier
|
|
104357
|
-
* @param {number} [page] Page number
|
|
104358
|
-
* @param {number} [pageSize] Number of items per page
|
|
104359
|
-
* @param {string} [orderBy] Field to order by
|
|
104360
|
-
* @param {string} [search] Search query
|
|
104361
|
-
* @param {*} [options] Override http request option.
|
|
104362
|
-
* @throws {RequiredError}
|
|
104363
|
-
*/
|
|
104364
|
-
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 = {}) {
|
|
104365
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
104366
|
-
assertParamExists('getThreadAccounts', 'threadId', threadId);
|
|
104367
|
-
const localVarPath = `/threads/{threadId}/accounts`
|
|
104368
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
104369
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104370
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104371
|
-
let baseOptions;
|
|
104372
|
-
if (configuration) {
|
|
104373
|
-
baseOptions = configuration.baseOptions;
|
|
104374
|
-
}
|
|
104375
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
104376
|
-
const localVarHeaderParameter = {};
|
|
104377
|
-
const localVarQueryParameter = {};
|
|
104378
|
-
// authentication ApiKeyAuth required
|
|
104379
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
104380
|
-
// authentication OrganizationId required
|
|
104381
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
104382
|
-
if (page !== undefined) {
|
|
104383
|
-
localVarQueryParameter['page'] = page;
|
|
104384
|
-
}
|
|
104385
|
-
if (pageSize !== undefined) {
|
|
104386
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
104387
|
-
}
|
|
104388
|
-
if (orderBy !== undefined) {
|
|
104389
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
104390
|
-
}
|
|
104391
|
-
if (search !== undefined) {
|
|
104392
|
-
localVarQueryParameter['search'] = search;
|
|
104393
|
-
}
|
|
104394
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104395
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104396
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104397
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104398
|
-
return {
|
|
104399
|
-
url: toPathString(localVarUrlObj),
|
|
104400
|
-
options: localVarRequestOptions,
|
|
104401
|
-
};
|
|
104402
|
-
}),
|
|
104403
|
-
/**
|
|
104404
|
-
* Get Thread Members endpoint
|
|
104405
|
-
* @summary Get Thread Members
|
|
104406
|
-
* @param {string} threadId The thread identifier
|
|
104407
|
-
* @param {number} [page] Page number
|
|
104408
|
-
* @param {number} [pageSize] Number of items per page
|
|
104409
|
-
* @param {string} [orderBy] Field to order by
|
|
104410
|
-
* @param {string} [search] Search query
|
|
104411
|
-
* @param {*} [options] Override http request option.
|
|
104412
|
-
* @throws {RequiredError}
|
|
104413
|
-
*/
|
|
104414
|
-
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 = {}) {
|
|
104415
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
104416
|
-
assertParamExists('getThreadMembers', 'threadId', threadId);
|
|
104417
|
-
const localVarPath = `/threads/{threadId}/members`
|
|
104418
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
104419
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104420
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104421
|
-
let baseOptions;
|
|
104422
|
-
if (configuration) {
|
|
104423
|
-
baseOptions = configuration.baseOptions;
|
|
104424
|
-
}
|
|
104425
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
104426
|
-
const localVarHeaderParameter = {};
|
|
104427
|
-
const localVarQueryParameter = {};
|
|
104428
|
-
// authentication ApiKeyAuth required
|
|
104429
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
104430
|
-
// authentication OrganizationId required
|
|
104431
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
104432
|
-
if (page !== undefined) {
|
|
104433
|
-
localVarQueryParameter['page'] = page;
|
|
104434
|
-
}
|
|
104435
|
-
if (pageSize !== undefined) {
|
|
104436
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
104437
|
-
}
|
|
104438
|
-
if (orderBy !== undefined) {
|
|
104439
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
104440
|
-
}
|
|
104441
|
-
if (search !== undefined) {
|
|
104442
|
-
localVarQueryParameter['search'] = search;
|
|
104443
|
-
}
|
|
104444
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104445
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104446
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104447
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104448
|
-
return {
|
|
104449
|
-
url: toPathString(localVarUrlObj),
|
|
104450
|
-
options: localVarRequestOptions,
|
|
104451
|
-
};
|
|
104452
|
-
}),
|
|
104453
|
-
/**
|
|
104454
|
-
* Update Thread Member endpoint
|
|
104455
|
-
* @summary Update Thread Member
|
|
104456
|
-
* @param {string} threadId The thread identifier
|
|
104457
|
-
* @param {string} accountId The account identifier
|
|
104458
|
-
* @param {ThreadMemberUpdateInputs} threadMemberUpdateInputs
|
|
104459
|
-
* @param {*} [options] Override http request option.
|
|
104460
|
-
* @throws {RequiredError}
|
|
104461
|
-
*/
|
|
104462
|
-
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 = {}) {
|
|
104463
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
104464
|
-
assertParamExists('updateThreadMember', 'threadId', threadId);
|
|
104465
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
104466
|
-
assertParamExists('updateThreadMember', 'accountId', accountId);
|
|
104467
|
-
// verify required parameter 'threadMemberUpdateInputs' is not null or undefined
|
|
104468
|
-
assertParamExists('updateThreadMember', 'threadMemberUpdateInputs', threadMemberUpdateInputs);
|
|
104469
|
-
const localVarPath = `/threads/{threadId}/members/{accountId}`
|
|
104470
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
104471
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
104472
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104473
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104474
|
-
let baseOptions;
|
|
104475
|
-
if (configuration) {
|
|
104476
|
-
baseOptions = configuration.baseOptions;
|
|
104477
|
-
}
|
|
104478
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
104479
|
-
const localVarHeaderParameter = {};
|
|
104480
|
-
const localVarQueryParameter = {};
|
|
104481
|
-
// authentication ApiKeyAuth required
|
|
104482
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
104483
|
-
// authentication OrganizationId required
|
|
104484
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
104485
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104486
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
104487
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104488
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104489
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
104490
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadMemberUpdateInputs, localVarRequestOptions, configuration);
|
|
104491
|
-
return {
|
|
104492
|
-
url: toPathString(localVarUrlObj),
|
|
104493
|
-
options: localVarRequestOptions,
|
|
104494
|
-
};
|
|
104495
|
-
}),
|
|
104496
|
-
};
|
|
104497
|
-
};
|
|
104498
|
-
/**
|
|
104499
|
-
* ThreadsMembersApi - functional programming interface
|
|
104500
|
-
*/
|
|
104501
|
-
export const ThreadsMembersApiFp = function (configuration) {
|
|
104502
|
-
const localVarAxiosParamCreator = ThreadsMembersApiAxiosParamCreator(configuration);
|
|
104503
|
-
return {
|
|
104504
103429
|
/**
|
|
104505
103430
|
* Get Thread Accounts endpoint
|
|
104506
103431
|
* @summary Get Thread Accounts
|
|
@@ -104517,121 +103442,101 @@ export const ThreadsMembersApiFp = function (configuration) {
|
|
|
104517
103442
|
var _a, _b, _c;
|
|
104518
103443
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadAccounts(threadId, page, pageSize, orderBy, search, options);
|
|
104519
103444
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104520
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
104521
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104522
|
-
});
|
|
104523
|
-
},
|
|
104524
|
-
/**
|
|
104525
|
-
* Get Thread Members endpoint
|
|
104526
|
-
* @summary Get Thread Members
|
|
104527
|
-
* @param {string} threadId The thread identifier
|
|
104528
|
-
* @param {number} [page] Page number
|
|
104529
|
-
* @param {number} [pageSize] Number of items per page
|
|
104530
|
-
* @param {string} [orderBy] Field to order by
|
|
104531
|
-
* @param {string} [search] Search query
|
|
104532
|
-
* @param {*} [options] Override http request option.
|
|
104533
|
-
* @throws {RequiredError}
|
|
104534
|
-
*/
|
|
104535
|
-
getThreadMembers(threadId, page, pageSize, orderBy, search, options) {
|
|
104536
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104537
|
-
var _a, _b, _c;
|
|
104538
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadMembers(threadId, page, pageSize, orderBy, search, options);
|
|
104539
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104540
|
-
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;
|
|
104541
103446
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104542
103447
|
});
|
|
104543
103448
|
},
|
|
104544
103449
|
/**
|
|
104545
|
-
* Update Thread
|
|
104546
|
-
* @summary Update Thread
|
|
103450
|
+
* Update Thread Account endpoint
|
|
103451
|
+
* @summary Update Thread Account
|
|
104547
103452
|
* @param {string} threadId The thread identifier
|
|
104548
103453
|
* @param {string} accountId The account identifier
|
|
104549
|
-
* @param {
|
|
103454
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
104550
103455
|
* @param {*} [options] Override http request option.
|
|
104551
103456
|
* @throws {RequiredError}
|
|
104552
103457
|
*/
|
|
104553
|
-
|
|
103458
|
+
updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options) {
|
|
104554
103459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104555
103460
|
var _a, _b, _c;
|
|
104556
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
103461
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options);
|
|
104557
103462
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
104558
|
-
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;
|
|
104559
103464
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104560
103465
|
});
|
|
104561
103466
|
},
|
|
104562
103467
|
};
|
|
104563
103468
|
};
|
|
104564
103469
|
/**
|
|
104565
|
-
*
|
|
103470
|
+
* ThreadsAccountsApi - factory interface
|
|
104566
103471
|
*/
|
|
104567
|
-
export const
|
|
104568
|
-
const localVarFp =
|
|
103472
|
+
export const ThreadsAccountsApiFactory = function (configuration, basePath, axios) {
|
|
103473
|
+
const localVarFp = ThreadsAccountsApiFp(configuration);
|
|
104569
103474
|
return {
|
|
104570
103475
|
/**
|
|
104571
|
-
*
|
|
104572
|
-
* @summary
|
|
104573
|
-
* @param {
|
|
103476
|
+
* Delete Thread Account endpoint
|
|
103477
|
+
* @summary Delete Thread Account
|
|
103478
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
104574
103479
|
* @param {*} [options] Override http request option.
|
|
104575
103480
|
* @throws {RequiredError}
|
|
104576
103481
|
*/
|
|
104577
|
-
|
|
104578
|
-
return localVarFp.
|
|
103482
|
+
deleteThreadAccount(requestParameters, options) {
|
|
103483
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
104579
103484
|
},
|
|
104580
103485
|
/**
|
|
104581
|
-
* Get Thread
|
|
104582
|
-
* @summary Get Thread
|
|
104583
|
-
* @param {
|
|
103486
|
+
* Get Thread Accounts endpoint
|
|
103487
|
+
* @summary Get Thread Accounts
|
|
103488
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
104584
103489
|
* @param {*} [options] Override http request option.
|
|
104585
103490
|
* @throws {RequiredError}
|
|
104586
103491
|
*/
|
|
104587
|
-
|
|
104588
|
-
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));
|
|
104589
103494
|
},
|
|
104590
103495
|
/**
|
|
104591
|
-
* Update Thread
|
|
104592
|
-
* @summary Update Thread
|
|
104593
|
-
* @param {
|
|
103496
|
+
* Update Thread Account endpoint
|
|
103497
|
+
* @summary Update Thread Account
|
|
103498
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
104594
103499
|
* @param {*} [options] Override http request option.
|
|
104595
103500
|
* @throws {RequiredError}
|
|
104596
103501
|
*/
|
|
104597
|
-
|
|
104598
|
-
return localVarFp.
|
|
103502
|
+
updateThreadAccount(requestParameters, options) {
|
|
103503
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
104599
103504
|
},
|
|
104600
103505
|
};
|
|
104601
103506
|
};
|
|
104602
103507
|
/**
|
|
104603
|
-
*
|
|
103508
|
+
* ThreadsAccountsApi - object-oriented interface
|
|
104604
103509
|
*/
|
|
104605
|
-
export class
|
|
103510
|
+
export class ThreadsAccountsApi extends BaseAPI {
|
|
104606
103511
|
/**
|
|
104607
|
-
*
|
|
104608
|
-
* @summary
|
|
104609
|
-
* @param {
|
|
103512
|
+
* Delete Thread Account endpoint
|
|
103513
|
+
* @summary Delete Thread Account
|
|
103514
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
104610
103515
|
* @param {*} [options] Override http request option.
|
|
104611
103516
|
* @throws {RequiredError}
|
|
104612
103517
|
*/
|
|
104613
|
-
|
|
104614
|
-
return
|
|
103518
|
+
deleteThreadAccount(requestParameters, options) {
|
|
103519
|
+
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
104615
103520
|
}
|
|
104616
103521
|
/**
|
|
104617
|
-
* Get Thread
|
|
104618
|
-
* @summary Get Thread
|
|
104619
|
-
* @param {
|
|
103522
|
+
* Get Thread Accounts endpoint
|
|
103523
|
+
* @summary Get Thread Accounts
|
|
103524
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
104620
103525
|
* @param {*} [options] Override http request option.
|
|
104621
103526
|
* @throws {RequiredError}
|
|
104622
103527
|
*/
|
|
104623
|
-
|
|
104624
|
-
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));
|
|
104625
103530
|
}
|
|
104626
103531
|
/**
|
|
104627
|
-
* Update Thread
|
|
104628
|
-
* @summary Update Thread
|
|
104629
|
-
* @param {
|
|
103532
|
+
* Update Thread Account endpoint
|
|
103533
|
+
* @summary Update Thread Account
|
|
103534
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
104630
103535
|
* @param {*} [options] Override http request option.
|
|
104631
103536
|
* @throws {RequiredError}
|
|
104632
103537
|
*/
|
|
104633
|
-
|
|
104634
|
-
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));
|
|
104635
103540
|
}
|
|
104636
103541
|
}
|
|
104637
103542
|
/**
|