@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/api.ts
CHANGED
|
@@ -1241,6 +1241,7 @@ export interface BaseEventActivation {
|
|
|
1241
1241
|
'maxPoints': number;
|
|
1242
1242
|
'startAfter': string | null;
|
|
1243
1243
|
'type': EventActivationType;
|
|
1244
|
+
'rewardType': EventActivationRewardType;
|
|
1244
1245
|
'accessLevel': PassTypeAccessLevel;
|
|
1245
1246
|
'sortOrder': number;
|
|
1246
1247
|
'survey': BaseSurvey | null;
|
|
@@ -2527,45 +2528,19 @@ export interface BaseThread {
|
|
|
2527
2528
|
'subject': string;
|
|
2528
2529
|
'imageId': string | null;
|
|
2529
2530
|
'image': BaseImage | null;
|
|
2530
|
-
'type': ThreadType;
|
|
2531
2531
|
'lastMessageAt': string | null;
|
|
2532
2532
|
'lastMessage': string | null;
|
|
2533
2533
|
'createdAt': string;
|
|
2534
2534
|
}
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
export interface BaseThreadCircle {
|
|
2538
|
-
'id': string;
|
|
2539
|
-
'name': string;
|
|
2540
|
-
'createdAt': string;
|
|
2541
|
-
'updatedAt': string;
|
|
2542
|
-
'type': ThreadCircleType;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
export interface BaseThreadCircleAccount {
|
|
2547
|
-
'accountId': string;
|
|
2548
|
-
'role': ThreadCircleAccountRole;
|
|
2549
|
-
'account': BaseAccount;
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
export interface BaseThreadMember {
|
|
2554
|
-
'id': string;
|
|
2555
|
-
'accountId': string;
|
|
2556
|
-
'lastReadAt': string | null;
|
|
2557
|
-
'notifications': boolean;
|
|
2558
|
-
'account': BaseAccount;
|
|
2559
|
-
'blocked': boolean;
|
|
2560
|
-
}
|
|
2561
2535
|
export interface BaseThreadMessage {
|
|
2562
2536
|
'id': string;
|
|
2563
2537
|
'body': string;
|
|
2564
2538
|
'accountId': string | null;
|
|
2565
|
-
'
|
|
2539
|
+
'threadAccount': ThreadAccount | null;
|
|
2566
2540
|
'createdAt': string;
|
|
2567
2541
|
'editedAt': string | null;
|
|
2568
2542
|
'sentAt': string;
|
|
2543
|
+
'deletedAt'?: string | null;
|
|
2569
2544
|
}
|
|
2570
2545
|
export interface BaseThreadMessageEntity {
|
|
2571
2546
|
'type': string;
|
|
@@ -4408,26 +4383,6 @@ export enum CreateThread200ResponseStatusEnum {
|
|
|
4408
4383
|
Ok = 'ok'
|
|
4409
4384
|
}
|
|
4410
4385
|
|
|
4411
|
-
export interface CreateThreadCircle200Response {
|
|
4412
|
-
'status': CreateThreadCircle200ResponseStatusEnum;
|
|
4413
|
-
'message': string;
|
|
4414
|
-
'data': ThreadCircle;
|
|
4415
|
-
}
|
|
4416
|
-
|
|
4417
|
-
export enum CreateThreadCircle200ResponseStatusEnum {
|
|
4418
|
-
Ok = 'ok'
|
|
4419
|
-
}
|
|
4420
|
-
|
|
4421
|
-
export interface CreateThreadCircleAccount200Response {
|
|
4422
|
-
'status': CreateThreadCircleAccount200ResponseStatusEnum;
|
|
4423
|
-
'message': string;
|
|
4424
|
-
'data': ThreadCircleAccount;
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
export enum CreateThreadCircleAccount200ResponseStatusEnum {
|
|
4428
|
-
Ok = 'ok'
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
4386
|
export interface CreateThreadMessage200Response {
|
|
4432
4387
|
'status': CreateThreadMessage200ResponseStatusEnum;
|
|
4433
4388
|
'message': string;
|
|
@@ -4773,6 +4728,7 @@ export interface EventActivation {
|
|
|
4773
4728
|
'maxPoints': number;
|
|
4774
4729
|
'startAfter': string | null;
|
|
4775
4730
|
'type': EventActivationType;
|
|
4731
|
+
'rewardType': EventActivationRewardType;
|
|
4776
4732
|
'accessLevel': PassTypeAccessLevel;
|
|
4777
4733
|
'sortOrder': number;
|
|
4778
4734
|
'survey': BaseSurvey | null;
|
|
@@ -4808,6 +4764,7 @@ export interface EventActivationCreateInputs {
|
|
|
4808
4764
|
'maxPoints'?: AdvertisementCreateInputsWeight | null;
|
|
4809
4765
|
'startAfter'?: string | null;
|
|
4810
4766
|
'type'?: EventActivationType;
|
|
4767
|
+
'rewardType'?: EventActivationRewardType;
|
|
4811
4768
|
'protectionCode'?: AdvertisementCreateInputsWeight | null;
|
|
4812
4769
|
'email'?: boolean;
|
|
4813
4770
|
'push'?: boolean;
|
|
@@ -4819,6 +4776,13 @@ export interface EventActivationCreateInputs {
|
|
|
4819
4776
|
}
|
|
4820
4777
|
|
|
4821
4778
|
|
|
4779
|
+
|
|
4780
|
+
export enum EventActivationRewardType {
|
|
4781
|
+
Max = 'max',
|
|
4782
|
+
Input = 'input'
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4785
|
+
|
|
4822
4786
|
export interface EventActivationTranslation {
|
|
4823
4787
|
'locale': string;
|
|
4824
4788
|
'name': string;
|
|
@@ -4848,6 +4812,7 @@ export interface EventActivationUpdateInputs {
|
|
|
4848
4812
|
'maxPoints'?: AdvertisementCreateInputsWeight | null;
|
|
4849
4813
|
'startAfter'?: string | null;
|
|
4850
4814
|
'type'?: EventActivationType;
|
|
4815
|
+
'rewardType'?: EventActivationRewardType;
|
|
4851
4816
|
'protectionCode'?: AdvertisementCreateInputsWeight | null;
|
|
4852
4817
|
'accessLevel'?: PassTypeAccessLevel;
|
|
4853
4818
|
'continuousScanning'?: boolean;
|
|
@@ -9843,39 +9808,6 @@ export enum GetTaxLogs200ResponseStatusEnum {
|
|
|
9843
9808
|
Ok = 'ok'
|
|
9844
9809
|
}
|
|
9845
9810
|
|
|
9846
|
-
export interface GetThreadCircleAccounts200Response {
|
|
9847
|
-
'status': GetThreadCircleAccounts200ResponseStatusEnum;
|
|
9848
|
-
'message': string;
|
|
9849
|
-
'data': Array<ThreadCircleAccount>;
|
|
9850
|
-
'count'?: number;
|
|
9851
|
-
}
|
|
9852
|
-
|
|
9853
|
-
export enum GetThreadCircleAccounts200ResponseStatusEnum {
|
|
9854
|
-
Ok = 'ok'
|
|
9855
|
-
}
|
|
9856
|
-
|
|
9857
|
-
export interface GetThreadCircles200Response {
|
|
9858
|
-
'status': GetThreadCircles200ResponseStatusEnum;
|
|
9859
|
-
'message': string;
|
|
9860
|
-
'data': Array<ThreadCircle>;
|
|
9861
|
-
'count'?: number;
|
|
9862
|
-
}
|
|
9863
|
-
|
|
9864
|
-
export enum GetThreadCircles200ResponseStatusEnum {
|
|
9865
|
-
Ok = 'ok'
|
|
9866
|
-
}
|
|
9867
|
-
|
|
9868
|
-
export interface GetThreadMembers200Response {
|
|
9869
|
-
'status': GetThreadMembers200ResponseStatusEnum;
|
|
9870
|
-
'message': string;
|
|
9871
|
-
'data': Array<ThreadMember>;
|
|
9872
|
-
'count'?: number;
|
|
9873
|
-
}
|
|
9874
|
-
|
|
9875
|
-
export enum GetThreadMembers200ResponseStatusEnum {
|
|
9876
|
-
Ok = 'ok'
|
|
9877
|
-
}
|
|
9878
|
-
|
|
9879
9811
|
export interface GetThreadMessageFiles200Response {
|
|
9880
9812
|
'status': GetThreadMessageFiles200ResponseStatusEnum;
|
|
9881
9813
|
'message': string;
|
|
@@ -13667,119 +13599,45 @@ export interface Thread {
|
|
|
13667
13599
|
'subject': string;
|
|
13668
13600
|
'imageId': string | null;
|
|
13669
13601
|
'image': BaseImage | null;
|
|
13670
|
-
'type': ThreadType;
|
|
13671
13602
|
'lastMessageAt': string | null;
|
|
13672
13603
|
'lastMessage': string | null;
|
|
13673
13604
|
'createdAt': string;
|
|
13605
|
+
'accounts': Array<ThreadAccount>;
|
|
13606
|
+
'_count'?: ThreadAllOfCount;
|
|
13674
13607
|
}
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
export interface ThreadCircle {
|
|
13608
|
+
export interface ThreadAccount {
|
|
13678
13609
|
'id': string;
|
|
13679
|
-
'name': string;
|
|
13680
|
-
'createdAt': string;
|
|
13681
|
-
'updatedAt': string;
|
|
13682
|
-
'type': ThreadCircleType;
|
|
13683
|
-
}
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
export interface ThreadCircleAccount {
|
|
13687
|
-
'accountId': string;
|
|
13688
|
-
'role': ThreadCircleAccountRole;
|
|
13689
|
-
'account': BaseAccount;
|
|
13690
|
-
}
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
export interface ThreadCircleAccountCreateInputs {
|
|
13694
|
-
'accountId': string;
|
|
13695
|
-
'role': ThreadCircleAccountRole;
|
|
13696
|
-
}
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
export enum ThreadCircleAccountRole {
|
|
13701
|
-
Member = 'member',
|
|
13702
|
-
Manager = 'manager',
|
|
13703
|
-
Invited = 'invited'
|
|
13704
|
-
}
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
export interface ThreadCircleAccountUpdateInputs {
|
|
13708
|
-
'role'?: ThreadCircleAccountRole | null;
|
|
13709
|
-
}
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
export interface ThreadCircleCreateInputs {
|
|
13713
|
-
'name': string;
|
|
13714
|
-
}
|
|
13715
|
-
|
|
13716
|
-
export enum ThreadCircleType {
|
|
13717
|
-
Private = 'private',
|
|
13718
|
-
Direct = 'direct'
|
|
13719
|
-
}
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
export interface ThreadCircleUpdateInputs {
|
|
13723
|
-
'name'?: string | null;
|
|
13724
|
-
}
|
|
13725
|
-
export interface ThreadCreateInputs {
|
|
13726
|
-
'subject'?: string | null;
|
|
13727
|
-
'imageId'?: string | null;
|
|
13728
|
-
'groupId'?: string;
|
|
13729
|
-
'circleId'?: string;
|
|
13730
|
-
'eventId'?: string;
|
|
13731
|
-
}
|
|
13732
|
-
export interface ThreadInvitation {
|
|
13733
|
-
'id': string;
|
|
13734
|
-
'organizationId': string;
|
|
13735
13610
|
'threadId': string;
|
|
13736
|
-
'thread': BaseThread;
|
|
13737
|
-
'status': ThreadInvitationStatus;
|
|
13738
|
-
'role': ThreadMemberRole;
|
|
13739
|
-
'invitedById': string;
|
|
13740
|
-
'invitedBy': BaseAccount;
|
|
13741
|
-
'invitedId': string;
|
|
13742
|
-
'invited': BaseAccount;
|
|
13743
|
-
'createdAt': string;
|
|
13744
|
-
'updatedAt': string;
|
|
13745
|
-
}
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
export enum ThreadInvitationStatus {
|
|
13750
|
-
Invited = 'invited',
|
|
13751
|
-
Rejected = 'rejected'
|
|
13752
|
-
}
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
export interface ThreadMember {
|
|
13756
|
-
'id': string;
|
|
13757
13611
|
'accountId': string;
|
|
13612
|
+
'account': BaseAccount;
|
|
13758
13613
|
'lastReadAt': string | null;
|
|
13614
|
+
'typingAt': string | null;
|
|
13759
13615
|
'notifications': boolean;
|
|
13760
|
-
'account': BaseAccount;
|
|
13761
13616
|
'blocked': boolean;
|
|
13762
13617
|
'createdAt': string;
|
|
13763
13618
|
'updatedAt': string;
|
|
13764
13619
|
}
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
Member = 'member',
|
|
13768
|
-
Moderator = 'moderator'
|
|
13769
|
-
}
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
export interface ThreadMemberUpdateInputs {
|
|
13620
|
+
export interface ThreadAccountUpdateInputs {
|
|
13621
|
+
'notifications'?: boolean;
|
|
13773
13622
|
'blocked'?: boolean;
|
|
13774
13623
|
}
|
|
13624
|
+
export interface ThreadAllOfCount {
|
|
13625
|
+
'messages'?: number;
|
|
13626
|
+
}
|
|
13627
|
+
export interface ThreadCreateInputs {
|
|
13628
|
+
'accountIds': Array<string>;
|
|
13629
|
+
'subject'?: string | null;
|
|
13630
|
+
'imageId'?: string | null;
|
|
13631
|
+
}
|
|
13775
13632
|
export interface ThreadMessage {
|
|
13776
13633
|
'id': string;
|
|
13777
13634
|
'body': string;
|
|
13778
13635
|
'accountId': string | null;
|
|
13779
|
-
'
|
|
13636
|
+
'threadAccount': ThreadAccount | null;
|
|
13780
13637
|
'createdAt': string;
|
|
13781
13638
|
'editedAt': string | null;
|
|
13782
13639
|
'sentAt': string;
|
|
13640
|
+
'deletedAt'?: string | null;
|
|
13783
13641
|
'type': ThreadMessageType;
|
|
13784
13642
|
'reactions': Array<ThreadMessageReaction>;
|
|
13785
13643
|
'entities': Array<ThreadMessageEntity>;
|
|
@@ -13788,6 +13646,7 @@ export interface ThreadMessage {
|
|
|
13788
13646
|
'files': Array<BaseFile>;
|
|
13789
13647
|
'images': Array<BaseImage>;
|
|
13790
13648
|
'videos': Array<BaseVideo>;
|
|
13649
|
+
'reads'?: Array<ThreadMessageRead>;
|
|
13791
13650
|
}
|
|
13792
13651
|
|
|
13793
13652
|
|
|
@@ -13824,6 +13683,13 @@ export interface ThreadMessageReactionCreateInputs {
|
|
|
13824
13683
|
export interface ThreadMessageReactionUpdateInputs {
|
|
13825
13684
|
'emojiName'?: string;
|
|
13826
13685
|
}
|
|
13686
|
+
export interface ThreadMessageRead {
|
|
13687
|
+
'id': string;
|
|
13688
|
+
'threadId': string;
|
|
13689
|
+
'messageId': string;
|
|
13690
|
+
'accountId': string;
|
|
13691
|
+
'readAt': string;
|
|
13692
|
+
}
|
|
13827
13693
|
|
|
13828
13694
|
export enum ThreadMessageType {
|
|
13829
13695
|
User = 'user',
|
|
@@ -13836,15 +13702,6 @@ export interface ThreadMessageUpdateInputs {
|
|
|
13836
13702
|
'body': string;
|
|
13837
13703
|
'entities': Array<object>;
|
|
13838
13704
|
}
|
|
13839
|
-
|
|
13840
|
-
export enum ThreadType {
|
|
13841
|
-
Circle = 'circle',
|
|
13842
|
-
Group = 'group',
|
|
13843
|
-
Event = 'event',
|
|
13844
|
-
Stream = 'stream'
|
|
13845
|
-
}
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
13705
|
export interface ThreadUpdateInputs {
|
|
13849
13706
|
'subject'?: string | null;
|
|
13850
13707
|
'imageId'?: string | null;
|
|
@@ -14064,13 +13921,13 @@ export enum UpdateSeriesQuestionTranslation200ResponseStatusEnum {
|
|
|
14064
13921
|
Ok = 'ok'
|
|
14065
13922
|
}
|
|
14066
13923
|
|
|
14067
|
-
export interface
|
|
14068
|
-
'status':
|
|
13924
|
+
export interface UpdateThreadAccount200Response {
|
|
13925
|
+
'status': UpdateThreadAccount200ResponseStatusEnum;
|
|
14069
13926
|
'message': string;
|
|
14070
|
-
'data':
|
|
13927
|
+
'data': ThreadAccount;
|
|
14071
13928
|
}
|
|
14072
13929
|
|
|
14073
|
-
export enum
|
|
13930
|
+
export enum UpdateThreadAccount200ResponseStatusEnum {
|
|
14074
13931
|
Ok = 'ok'
|
|
14075
13932
|
}
|
|
14076
13933
|
|
|
@@ -38017,66 +37874,6 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
38017
37874
|
options: localVarRequestOptions,
|
|
38018
37875
|
};
|
|
38019
37876
|
},
|
|
38020
|
-
/**
|
|
38021
|
-
* Get Event Threads endpoint
|
|
38022
|
-
* @summary Get Event Threads
|
|
38023
|
-
* @param {string} eventId The event identifier
|
|
38024
|
-
* @param {number} [page] Page number
|
|
38025
|
-
* @param {number} [pageSize] Number of items per page
|
|
38026
|
-
* @param {string} [orderBy] Field to order by
|
|
38027
|
-
* @param {string} [search] Search query
|
|
38028
|
-
* @param {*} [options] Override http request option.
|
|
38029
|
-
* @throws {RequiredError}
|
|
38030
|
-
*/
|
|
38031
|
-
getEventThreads: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38032
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
38033
|
-
assertParamExists('getEventThreads', 'eventId', eventId)
|
|
38034
|
-
const localVarPath = `/events/{eventId}/threads`
|
|
38035
|
-
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
38036
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38037
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38038
|
-
let baseOptions;
|
|
38039
|
-
if (configuration) {
|
|
38040
|
-
baseOptions = configuration.baseOptions;
|
|
38041
|
-
}
|
|
38042
|
-
|
|
38043
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38044
|
-
const localVarHeaderParameter = {} as any;
|
|
38045
|
-
const localVarQueryParameter = {} as any;
|
|
38046
|
-
|
|
38047
|
-
// authentication ApiKeyAuth required
|
|
38048
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
38049
|
-
|
|
38050
|
-
// authentication OrganizationId required
|
|
38051
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
38052
|
-
|
|
38053
|
-
if (page !== undefined) {
|
|
38054
|
-
localVarQueryParameter['page'] = page;
|
|
38055
|
-
}
|
|
38056
|
-
|
|
38057
|
-
if (pageSize !== undefined) {
|
|
38058
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
38059
|
-
}
|
|
38060
|
-
|
|
38061
|
-
if (orderBy !== undefined) {
|
|
38062
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
38063
|
-
}
|
|
38064
|
-
|
|
38065
|
-
if (search !== undefined) {
|
|
38066
|
-
localVarQueryParameter['search'] = search;
|
|
38067
|
-
}
|
|
38068
|
-
|
|
38069
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38070
|
-
|
|
38071
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38072
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38073
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38074
|
-
|
|
38075
|
-
return {
|
|
38076
|
-
url: toPathString(localVarUrlObj),
|
|
38077
|
-
options: localVarRequestOptions,
|
|
38078
|
-
};
|
|
38079
|
-
},
|
|
38080
37877
|
/**
|
|
38081
37878
|
* Get Event Tiers endpoint
|
|
38082
37879
|
* @summary Get Event Tiers
|
|
@@ -38352,23 +38149,6 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
38352
38149
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventPayments']?.[localVarOperationServerIndex]?.url;
|
|
38353
38150
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38354
38151
|
},
|
|
38355
|
-
/**
|
|
38356
|
-
* Get Event Threads endpoint
|
|
38357
|
-
* @summary Get Event Threads
|
|
38358
|
-
* @param {string} eventId The event identifier
|
|
38359
|
-
* @param {number} [page] Page number
|
|
38360
|
-
* @param {number} [pageSize] Number of items per page
|
|
38361
|
-
* @param {string} [orderBy] Field to order by
|
|
38362
|
-
* @param {string} [search] Search query
|
|
38363
|
-
* @param {*} [options] Override http request option.
|
|
38364
|
-
* @throws {RequiredError}
|
|
38365
|
-
*/
|
|
38366
|
-
async getEventThreads(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>> {
|
|
38367
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventThreads(eventId, page, pageSize, orderBy, search, options);
|
|
38368
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38369
|
-
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEventThreads']?.[localVarOperationServerIndex]?.url;
|
|
38370
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38371
|
-
},
|
|
38372
38152
|
/**
|
|
38373
38153
|
* Get Event Tiers endpoint
|
|
38374
38154
|
* @summary Get Event Tiers
|
|
@@ -38503,16 +38283,6 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
38503
38283
|
getEventPayments(requestParameters: EventsApiGetEventPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response> {
|
|
38504
38284
|
return localVarFp.getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
38505
38285
|
},
|
|
38506
|
-
/**
|
|
38507
|
-
* Get Event Threads endpoint
|
|
38508
|
-
* @summary Get Event Threads
|
|
38509
|
-
* @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
|
|
38510
|
-
* @param {*} [options] Override http request option.
|
|
38511
|
-
* @throws {RequiredError}
|
|
38512
|
-
*/
|
|
38513
|
-
getEventThreads(requestParameters: EventsApiGetEventThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response> {
|
|
38514
|
-
return localVarFp.getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
38515
|
-
},
|
|
38516
38286
|
/**
|
|
38517
38287
|
* Get Event Tiers endpoint
|
|
38518
38288
|
* @summary Get Event Tiers
|
|
@@ -38675,36 +38445,6 @@ export interface EventsApiGetEventPaymentsRequest {
|
|
|
38675
38445
|
readonly search?: string
|
|
38676
38446
|
}
|
|
38677
38447
|
|
|
38678
|
-
/**
|
|
38679
|
-
* Request parameters for getEventThreads operation in EventsApi.
|
|
38680
|
-
*/
|
|
38681
|
-
export interface EventsApiGetEventThreadsRequest {
|
|
38682
|
-
/**
|
|
38683
|
-
* The event identifier
|
|
38684
|
-
*/
|
|
38685
|
-
readonly eventId: string
|
|
38686
|
-
|
|
38687
|
-
/**
|
|
38688
|
-
* Page number
|
|
38689
|
-
*/
|
|
38690
|
-
readonly page?: number
|
|
38691
|
-
|
|
38692
|
-
/**
|
|
38693
|
-
* Number of items per page
|
|
38694
|
-
*/
|
|
38695
|
-
readonly pageSize?: number
|
|
38696
|
-
|
|
38697
|
-
/**
|
|
38698
|
-
* Field to order by
|
|
38699
|
-
*/
|
|
38700
|
-
readonly orderBy?: string
|
|
38701
|
-
|
|
38702
|
-
/**
|
|
38703
|
-
* Search query
|
|
38704
|
-
*/
|
|
38705
|
-
readonly search?: string
|
|
38706
|
-
}
|
|
38707
|
-
|
|
38708
38448
|
/**
|
|
38709
38449
|
* Request parameters for getEventTiers operation in EventsApi.
|
|
38710
38450
|
*/
|
|
@@ -38854,17 +38594,6 @@ export class EventsApi extends BaseAPI {
|
|
|
38854
38594
|
return EventsApiFp(this.configuration).getEventPayments(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
38855
38595
|
}
|
|
38856
38596
|
|
|
38857
|
-
/**
|
|
38858
|
-
* Get Event Threads endpoint
|
|
38859
|
-
* @summary Get Event Threads
|
|
38860
|
-
* @param {EventsApiGetEventThreadsRequest} requestParameters Request parameters.
|
|
38861
|
-
* @param {*} [options] Override http request option.
|
|
38862
|
-
* @throws {RequiredError}
|
|
38863
|
-
*/
|
|
38864
|
-
public getEventThreads(requestParameters: EventsApiGetEventThreadsRequest, options?: RawAxiosRequestConfig) {
|
|
38865
|
-
return EventsApiFp(this.configuration).getEventThreads(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
38866
|
-
}
|
|
38867
|
-
|
|
38868
38597
|
/**
|
|
38869
38598
|
* Get Event Tiers endpoint
|
|
38870
38599
|
* @summary Get Event Tiers
|
|
@@ -40590,6 +40319,50 @@ export const EventsActivationsSessionsApiAxiosParamCreator = function (configura
|
|
|
40590
40319
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40591
40320
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40592
40321
|
|
|
40322
|
+
return {
|
|
40323
|
+
url: toPathString(localVarUrlObj),
|
|
40324
|
+
options: localVarRequestOptions,
|
|
40325
|
+
};
|
|
40326
|
+
},
|
|
40327
|
+
/**
|
|
40328
|
+
* Remove Event Activation Sessions endpoint
|
|
40329
|
+
* @summary Remove Event Activation Sessions
|
|
40330
|
+
* @param {string} eventId The event identifier
|
|
40331
|
+
* @param {string} activationId The activation identifier
|
|
40332
|
+
* @param {*} [options] Override http request option.
|
|
40333
|
+
* @throws {RequiredError}
|
|
40334
|
+
*/
|
|
40335
|
+
removeEventActivationSessions: async (eventId: string, activationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40336
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
40337
|
+
assertParamExists('removeEventActivationSessions', 'eventId', eventId)
|
|
40338
|
+
// verify required parameter 'activationId' is not null or undefined
|
|
40339
|
+
assertParamExists('removeEventActivationSessions', 'activationId', activationId)
|
|
40340
|
+
const localVarPath = `/events/{eventId}/activations/{activationId}/sessions`
|
|
40341
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
40342
|
+
.replace(`{${"activationId"}}`, encodeURIComponent(String(activationId)));
|
|
40343
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40345
|
+
let baseOptions;
|
|
40346
|
+
if (configuration) {
|
|
40347
|
+
baseOptions = configuration.baseOptions;
|
|
40348
|
+
}
|
|
40349
|
+
|
|
40350
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
40351
|
+
const localVarHeaderParameter = {} as any;
|
|
40352
|
+
const localVarQueryParameter = {} as any;
|
|
40353
|
+
|
|
40354
|
+
// authentication ApiKeyAuth required
|
|
40355
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
40356
|
+
|
|
40357
|
+
// authentication OrganizationId required
|
|
40358
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
40359
|
+
|
|
40360
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
40361
|
+
|
|
40362
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40364
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40365
|
+
|
|
40593
40366
|
return {
|
|
40594
40367
|
url: toPathString(localVarUrlObj),
|
|
40595
40368
|
options: localVarRequestOptions,
|
|
@@ -40634,6 +40407,20 @@ export const EventsActivationsSessionsApiFp = function(configuration?: Configura
|
|
|
40634
40407
|
const localVarOperationServerBasePath = operationServerMap['EventsActivationsSessionsApi.removeEventActivationSession']?.[localVarOperationServerIndex]?.url;
|
|
40635
40408
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40636
40409
|
},
|
|
40410
|
+
/**
|
|
40411
|
+
* Remove Event Activation Sessions endpoint
|
|
40412
|
+
* @summary Remove Event Activation Sessions
|
|
40413
|
+
* @param {string} eventId The event identifier
|
|
40414
|
+
* @param {string} activationId The activation identifier
|
|
40415
|
+
* @param {*} [options] Override http request option.
|
|
40416
|
+
* @throws {RequiredError}
|
|
40417
|
+
*/
|
|
40418
|
+
async removeEventActivationSessions(eventId: string, activationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventActivation200Response>> {
|
|
40419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventActivationSessions(eventId, activationId, options);
|
|
40420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40421
|
+
const localVarOperationServerBasePath = operationServerMap['EventsActivationsSessionsApi.removeEventActivationSessions']?.[localVarOperationServerIndex]?.url;
|
|
40422
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40423
|
+
},
|
|
40637
40424
|
}
|
|
40638
40425
|
};
|
|
40639
40426
|
|
|
@@ -40663,6 +40450,16 @@ export const EventsActivationsSessionsApiFactory = function (configuration?: Con
|
|
|
40663
40450
|
removeEventActivationSession(requestParameters: EventsActivationsSessionsApiRemoveEventActivationSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventActivation200Response> {
|
|
40664
40451
|
return localVarFp.removeEventActivationSession(requestParameters.eventId, requestParameters.activationId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
40665
40452
|
},
|
|
40453
|
+
/**
|
|
40454
|
+
* Remove Event Activation Sessions endpoint
|
|
40455
|
+
* @summary Remove Event Activation Sessions
|
|
40456
|
+
* @param {EventsActivationsSessionsApiRemoveEventActivationSessionsRequest} requestParameters Request parameters.
|
|
40457
|
+
* @param {*} [options] Override http request option.
|
|
40458
|
+
* @throws {RequiredError}
|
|
40459
|
+
*/
|
|
40460
|
+
removeEventActivationSessions(requestParameters: EventsActivationsSessionsApiRemoveEventActivationSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventActivation200Response> {
|
|
40461
|
+
return localVarFp.removeEventActivationSessions(requestParameters.eventId, requestParameters.activationId, options).then((request) => request(axios, basePath));
|
|
40462
|
+
},
|
|
40666
40463
|
};
|
|
40667
40464
|
};
|
|
40668
40465
|
|
|
@@ -40706,6 +40503,21 @@ export interface EventsActivationsSessionsApiRemoveEventActivationSessionRequest
|
|
|
40706
40503
|
readonly sessionId: string
|
|
40707
40504
|
}
|
|
40708
40505
|
|
|
40506
|
+
/**
|
|
40507
|
+
* Request parameters for removeEventActivationSessions operation in EventsActivationsSessionsApi.
|
|
40508
|
+
*/
|
|
40509
|
+
export interface EventsActivationsSessionsApiRemoveEventActivationSessionsRequest {
|
|
40510
|
+
/**
|
|
40511
|
+
* The event identifier
|
|
40512
|
+
*/
|
|
40513
|
+
readonly eventId: string
|
|
40514
|
+
|
|
40515
|
+
/**
|
|
40516
|
+
* The activation identifier
|
|
40517
|
+
*/
|
|
40518
|
+
readonly activationId: string
|
|
40519
|
+
}
|
|
40520
|
+
|
|
40709
40521
|
/**
|
|
40710
40522
|
* EventsActivationsSessionsApi - object-oriented interface
|
|
40711
40523
|
*/
|
|
@@ -40731,6 +40543,17 @@ export class EventsActivationsSessionsApi extends BaseAPI {
|
|
|
40731
40543
|
public removeEventActivationSession(requestParameters: EventsActivationsSessionsApiRemoveEventActivationSessionRequest, options?: RawAxiosRequestConfig) {
|
|
40732
40544
|
return EventsActivationsSessionsApiFp(this.configuration).removeEventActivationSession(requestParameters.eventId, requestParameters.activationId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
40733
40545
|
}
|
|
40546
|
+
|
|
40547
|
+
/**
|
|
40548
|
+
* Remove Event Activation Sessions endpoint
|
|
40549
|
+
* @summary Remove Event Activation Sessions
|
|
40550
|
+
* @param {EventsActivationsSessionsApiRemoveEventActivationSessionsRequest} requestParameters Request parameters.
|
|
40551
|
+
* @param {*} [options] Override http request option.
|
|
40552
|
+
* @throws {RequiredError}
|
|
40553
|
+
*/
|
|
40554
|
+
public removeEventActivationSessions(requestParameters: EventsActivationsSessionsApiRemoveEventActivationSessionsRequest, options?: RawAxiosRequestConfig) {
|
|
40555
|
+
return EventsActivationsSessionsApiFp(this.configuration).removeEventActivationSessions(requestParameters.eventId, requestParameters.activationId, options).then((request) => request(this.axios, this.basePath));
|
|
40556
|
+
}
|
|
40734
40557
|
}
|
|
40735
40558
|
|
|
40736
40559
|
|
|
@@ -102117,66 +101940,6 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
102117
101940
|
options: localVarRequestOptions,
|
|
102118
101941
|
};
|
|
102119
101942
|
},
|
|
102120
|
-
/**
|
|
102121
|
-
* Get Group Threads endpoint
|
|
102122
|
-
* @summary Get Group Threads
|
|
102123
|
-
* @param {string} groupId The group identifier
|
|
102124
|
-
* @param {number} [page] Page number
|
|
102125
|
-
* @param {number} [pageSize] Number of items per page
|
|
102126
|
-
* @param {string} [orderBy] Field to order by
|
|
102127
|
-
* @param {string} [search] Search query
|
|
102128
|
-
* @param {*} [options] Override http request option.
|
|
102129
|
-
* @throws {RequiredError}
|
|
102130
|
-
*/
|
|
102131
|
-
getGroupThreads: async (groupId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102132
|
-
// verify required parameter 'groupId' is not null or undefined
|
|
102133
|
-
assertParamExists('getGroupThreads', 'groupId', groupId)
|
|
102134
|
-
const localVarPath = `/groups/{groupId}/threads`
|
|
102135
|
-
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
102136
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102137
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102138
|
-
let baseOptions;
|
|
102139
|
-
if (configuration) {
|
|
102140
|
-
baseOptions = configuration.baseOptions;
|
|
102141
|
-
}
|
|
102142
|
-
|
|
102143
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
102144
|
-
const localVarHeaderParameter = {} as any;
|
|
102145
|
-
const localVarQueryParameter = {} as any;
|
|
102146
|
-
|
|
102147
|
-
// authentication ApiKeyAuth required
|
|
102148
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
102149
|
-
|
|
102150
|
-
// authentication OrganizationId required
|
|
102151
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
102152
|
-
|
|
102153
|
-
if (page !== undefined) {
|
|
102154
|
-
localVarQueryParameter['page'] = page;
|
|
102155
|
-
}
|
|
102156
|
-
|
|
102157
|
-
if (pageSize !== undefined) {
|
|
102158
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
102159
|
-
}
|
|
102160
|
-
|
|
102161
|
-
if (orderBy !== undefined) {
|
|
102162
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
102163
|
-
}
|
|
102164
|
-
|
|
102165
|
-
if (search !== undefined) {
|
|
102166
|
-
localVarQueryParameter['search'] = search;
|
|
102167
|
-
}
|
|
102168
|
-
|
|
102169
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
102170
|
-
|
|
102171
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102172
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102173
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
102174
|
-
|
|
102175
|
-
return {
|
|
102176
|
-
url: toPathString(localVarUrlObj),
|
|
102177
|
-
options: localVarRequestOptions,
|
|
102178
|
-
};
|
|
102179
|
-
},
|
|
102180
101943
|
/**
|
|
102181
101944
|
* Get Groups endpoint
|
|
102182
101945
|
* @summary Get Groups
|
|
@@ -102355,23 +102118,6 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
102355
102118
|
const localVarOperationServerBasePath = operationServerMap['GroupsApi.getGroupActivities']?.[localVarOperationServerIndex]?.url;
|
|
102356
102119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102357
102120
|
},
|
|
102358
|
-
/**
|
|
102359
|
-
* Get Group Threads endpoint
|
|
102360
|
-
* @summary Get Group Threads
|
|
102361
|
-
* @param {string} groupId The group identifier
|
|
102362
|
-
* @param {number} [page] Page number
|
|
102363
|
-
* @param {number} [pageSize] Number of items per page
|
|
102364
|
-
* @param {string} [orderBy] Field to order by
|
|
102365
|
-
* @param {string} [search] Search query
|
|
102366
|
-
* @param {*} [options] Override http request option.
|
|
102367
|
-
* @throws {RequiredError}
|
|
102368
|
-
*/
|
|
102369
|
-
async getGroupThreads(groupId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>> {
|
|
102370
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupThreads(groupId, page, pageSize, orderBy, search, options);
|
|
102371
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
102372
|
-
const localVarOperationServerBasePath = operationServerMap['GroupsApi.getGroupThreads']?.[localVarOperationServerIndex]?.url;
|
|
102373
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102374
|
-
},
|
|
102375
102121
|
/**
|
|
102376
102122
|
* Get Groups endpoint
|
|
102377
102123
|
* @summary Get Groups
|
|
@@ -102453,16 +102199,6 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
102453
102199
|
getGroupActivities(requestParameters: GroupsApiGetGroupActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response> {
|
|
102454
102200
|
return localVarFp.getGroupActivities(requestParameters.groupId, requestParameters.featured, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
102455
102201
|
},
|
|
102456
|
-
/**
|
|
102457
|
-
* Get Group Threads endpoint
|
|
102458
|
-
* @summary Get Group Threads
|
|
102459
|
-
* @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
|
|
102460
|
-
* @param {*} [options] Override http request option.
|
|
102461
|
-
* @throws {RequiredError}
|
|
102462
|
-
*/
|
|
102463
|
-
getGroupThreads(requestParameters: GroupsApiGetGroupThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response> {
|
|
102464
|
-
return localVarFp.getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
102465
|
-
},
|
|
102466
102202
|
/**
|
|
102467
102203
|
* Get Groups endpoint
|
|
102468
102204
|
* @summary Get Groups
|
|
@@ -102553,36 +102289,6 @@ export interface GroupsApiGetGroupActivitiesRequest {
|
|
|
102553
102289
|
readonly search?: string
|
|
102554
102290
|
}
|
|
102555
102291
|
|
|
102556
|
-
/**
|
|
102557
|
-
* Request parameters for getGroupThreads operation in GroupsApi.
|
|
102558
|
-
*/
|
|
102559
|
-
export interface GroupsApiGetGroupThreadsRequest {
|
|
102560
|
-
/**
|
|
102561
|
-
* The group identifier
|
|
102562
|
-
*/
|
|
102563
|
-
readonly groupId: string
|
|
102564
|
-
|
|
102565
|
-
/**
|
|
102566
|
-
* Page number
|
|
102567
|
-
*/
|
|
102568
|
-
readonly page?: number
|
|
102569
|
-
|
|
102570
|
-
/**
|
|
102571
|
-
* Number of items per page
|
|
102572
|
-
*/
|
|
102573
|
-
readonly pageSize?: number
|
|
102574
|
-
|
|
102575
|
-
/**
|
|
102576
|
-
* Field to order by
|
|
102577
|
-
*/
|
|
102578
|
-
readonly orderBy?: string
|
|
102579
|
-
|
|
102580
|
-
/**
|
|
102581
|
-
* Search query
|
|
102582
|
-
*/
|
|
102583
|
-
readonly search?: string
|
|
102584
|
-
}
|
|
102585
|
-
|
|
102586
102292
|
/**
|
|
102587
102293
|
* Request parameters for getGroups operation in GroupsApi.
|
|
102588
102294
|
*/
|
|
@@ -102678,17 +102384,6 @@ export class GroupsApi extends BaseAPI {
|
|
|
102678
102384
|
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));
|
|
102679
102385
|
}
|
|
102680
102386
|
|
|
102681
|
-
/**
|
|
102682
|
-
* Get Group Threads endpoint
|
|
102683
|
-
* @summary Get Group Threads
|
|
102684
|
-
* @param {GroupsApiGetGroupThreadsRequest} requestParameters Request parameters.
|
|
102685
|
-
* @param {*} [options] Override http request option.
|
|
102686
|
-
* @throws {RequiredError}
|
|
102687
|
-
*/
|
|
102688
|
-
public getGroupThreads(requestParameters: GroupsApiGetGroupThreadsRequest, options?: RawAxiosRequestConfig) {
|
|
102689
|
-
return GroupsApiFp(this.configuration).getGroupThreads(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
102690
|
-
}
|
|
102691
|
-
|
|
102692
102387
|
/**
|
|
102693
102388
|
* Get Groups endpoint
|
|
102694
102389
|
* @summary Get Groups
|
|
@@ -145959,7 +145654,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
145959
145654
|
/**
|
|
145960
145655
|
* Get Threads endpoint
|
|
145961
145656
|
* @summary Get Threads
|
|
145962
|
-
* @param {ThreadType} [type] Filter by type
|
|
145963
145657
|
* @param {number} [page] Page number
|
|
145964
145658
|
* @param {number} [pageSize] Number of items per page
|
|
145965
145659
|
* @param {string} [orderBy] Field to order by
|
|
@@ -145967,7 +145661,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
145967
145661
|
* @param {*} [options] Override http request option.
|
|
145968
145662
|
* @throws {RequiredError}
|
|
145969
145663
|
*/
|
|
145970
|
-
getThreads: async (
|
|
145664
|
+
getThreads: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145971
145665
|
const localVarPath = `/threads`;
|
|
145972
145666
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145973
145667
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -145986,10 +145680,6 @@ export const ThreadsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
145986
145680
|
// authentication OrganizationId required
|
|
145987
145681
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
145988
145682
|
|
|
145989
|
-
if (type !== undefined) {
|
|
145990
|
-
localVarQueryParameter['type'] = type;
|
|
145991
|
-
}
|
|
145992
|
-
|
|
145993
145683
|
if (page !== undefined) {
|
|
145994
145684
|
localVarQueryParameter['page'] = page;
|
|
145995
145685
|
}
|
|
@@ -146113,7 +145803,6 @@ export const ThreadsApiFp = function(configuration?: Configuration) {
|
|
|
146113
145803
|
/**
|
|
146114
145804
|
* Get Threads endpoint
|
|
146115
145805
|
* @summary Get Threads
|
|
146116
|
-
* @param {ThreadType} [type] Filter by type
|
|
146117
145806
|
* @param {number} [page] Page number
|
|
146118
145807
|
* @param {number} [pageSize] Number of items per page
|
|
146119
145808
|
* @param {string} [orderBy] Field to order by
|
|
@@ -146121,8 +145810,8 @@ export const ThreadsApiFp = function(configuration?: Configuration) {
|
|
|
146121
145810
|
* @param {*} [options] Override http request option.
|
|
146122
145811
|
* @throws {RequiredError}
|
|
146123
145812
|
*/
|
|
146124
|
-
async getThreads(
|
|
146125
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreads(
|
|
145813
|
+
async getThreads(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>> {
|
|
145814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreads(page, pageSize, orderBy, search, options);
|
|
146126
145815
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146127
145816
|
const localVarOperationServerBasePath = operationServerMap['ThreadsApi.getThreads']?.[localVarOperationServerIndex]?.url;
|
|
146128
145817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -146188,7 +145877,7 @@ export const ThreadsApiFactory = function (configuration?: Configuration, basePa
|
|
|
146188
145877
|
* @throws {RequiredError}
|
|
146189
145878
|
*/
|
|
146190
145879
|
getThreads(requestParameters: ThreadsApiGetThreadsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response> {
|
|
146191
|
-
return localVarFp.getThreads(requestParameters.
|
|
145880
|
+
return localVarFp.getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
146192
145881
|
},
|
|
146193
145882
|
/**
|
|
146194
145883
|
* Update Thread endpoint
|
|
@@ -146234,11 +145923,6 @@ export interface ThreadsApiGetThreadRequest {
|
|
|
146234
145923
|
* Request parameters for getThreads operation in ThreadsApi.
|
|
146235
145924
|
*/
|
|
146236
145925
|
export interface ThreadsApiGetThreadsRequest {
|
|
146237
|
-
/**
|
|
146238
|
-
* Filter by type
|
|
146239
|
-
*/
|
|
146240
|
-
readonly type?: ThreadType
|
|
146241
|
-
|
|
146242
145926
|
/**
|
|
146243
145927
|
* Page number
|
|
146244
145928
|
*/
|
|
@@ -146317,7 +146001,7 @@ export class ThreadsApi extends BaseAPI {
|
|
|
146317
146001
|
* @throws {RequiredError}
|
|
146318
146002
|
*/
|
|
146319
146003
|
public getThreads(requestParameters: ThreadsApiGetThreadsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
146320
|
-
return ThreadsApiFp(this.configuration).getThreads(requestParameters.
|
|
146004
|
+
return ThreadsApiFp(this.configuration).getThreads(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
146321
146005
|
}
|
|
146322
146006
|
|
|
146323
146007
|
/**
|
|
@@ -146335,63 +146019,26 @@ export class ThreadsApi extends BaseAPI {
|
|
|
146335
146019
|
|
|
146336
146020
|
|
|
146337
146021
|
/**
|
|
146338
|
-
*
|
|
146022
|
+
* ThreadsAccountsApi - axios parameter creator
|
|
146339
146023
|
*/
|
|
146340
|
-
export const
|
|
146024
|
+
export const ThreadsAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
146341
146025
|
return {
|
|
146342
146026
|
/**
|
|
146343
|
-
*
|
|
146344
|
-
* @summary
|
|
146345
|
-
* @param {
|
|
146346
|
-
* @param {
|
|
146347
|
-
* @throws {RequiredError}
|
|
146348
|
-
*/
|
|
146349
|
-
createThreadCircle: async (threadCircleCreateInputs: ThreadCircleCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146350
|
-
// verify required parameter 'threadCircleCreateInputs' is not null or undefined
|
|
146351
|
-
assertParamExists('createThreadCircle', 'threadCircleCreateInputs', threadCircleCreateInputs)
|
|
146352
|
-
const localVarPath = `/threads/circles`;
|
|
146353
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146354
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146355
|
-
let baseOptions;
|
|
146356
|
-
if (configuration) {
|
|
146357
|
-
baseOptions = configuration.baseOptions;
|
|
146358
|
-
}
|
|
146359
|
-
|
|
146360
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
146361
|
-
const localVarHeaderParameter = {} as any;
|
|
146362
|
-
const localVarQueryParameter = {} as any;
|
|
146363
|
-
|
|
146364
|
-
// authentication ApiKeyAuth required
|
|
146365
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
146366
|
-
|
|
146367
|
-
// authentication OrganizationId required
|
|
146368
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
146369
|
-
|
|
146370
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
146371
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
146372
|
-
|
|
146373
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
146374
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146375
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146376
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleCreateInputs, localVarRequestOptions, configuration)
|
|
146377
|
-
|
|
146378
|
-
return {
|
|
146379
|
-
url: toPathString(localVarUrlObj),
|
|
146380
|
-
options: localVarRequestOptions,
|
|
146381
|
-
};
|
|
146382
|
-
},
|
|
146383
|
-
/**
|
|
146384
|
-
* Delete Thread Circle endpoint
|
|
146385
|
-
* @summary Delete Thread Circle
|
|
146386
|
-
* @param {string} circleId The circle identifier
|
|
146027
|
+
* Delete Thread Account endpoint
|
|
146028
|
+
* @summary Delete Thread Account
|
|
146029
|
+
* @param {string} threadId The thread identifier
|
|
146030
|
+
* @param {string} accountId The account identifier
|
|
146387
146031
|
* @param {*} [options] Override http request option.
|
|
146388
146032
|
* @throws {RequiredError}
|
|
146389
146033
|
*/
|
|
146390
|
-
|
|
146391
|
-
// verify required parameter '
|
|
146392
|
-
assertParamExists('
|
|
146393
|
-
|
|
146394
|
-
|
|
146034
|
+
deleteThreadAccount: async (threadId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146035
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
146036
|
+
assertParamExists('deleteThreadAccount', 'threadId', threadId)
|
|
146037
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
146038
|
+
assertParamExists('deleteThreadAccount', 'accountId', accountId)
|
|
146039
|
+
const localVarPath = `/threads/{threadId}/accounts/{accountId}`
|
|
146040
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
146041
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
146395
146042
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146396
146043
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146397
146044
|
let baseOptions;
|
|
@@ -146421,109 +146068,9 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146421
146068
|
};
|
|
146422
146069
|
},
|
|
146423
146070
|
/**
|
|
146424
|
-
* Get Thread
|
|
146425
|
-
* @summary Get Thread
|
|
146426
|
-
* @param {string}
|
|
146427
|
-
* @param {*} [options] Override http request option.
|
|
146428
|
-
* @throws {RequiredError}
|
|
146429
|
-
*/
|
|
146430
|
-
getThreadCircle: async (circleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146431
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
146432
|
-
assertParamExists('getThreadCircle', 'circleId', circleId)
|
|
146433
|
-
const localVarPath = `/threads/circles/{circleId}`
|
|
146434
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
146435
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146436
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146437
|
-
let baseOptions;
|
|
146438
|
-
if (configuration) {
|
|
146439
|
-
baseOptions = configuration.baseOptions;
|
|
146440
|
-
}
|
|
146441
|
-
|
|
146442
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
146443
|
-
const localVarHeaderParameter = {} as any;
|
|
146444
|
-
const localVarQueryParameter = {} as any;
|
|
146445
|
-
|
|
146446
|
-
// authentication ApiKeyAuth required
|
|
146447
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
146448
|
-
|
|
146449
|
-
// authentication OrganizationId required
|
|
146450
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
146451
|
-
|
|
146452
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
146453
|
-
|
|
146454
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
146455
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146456
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146457
|
-
|
|
146458
|
-
return {
|
|
146459
|
-
url: toPathString(localVarUrlObj),
|
|
146460
|
-
options: localVarRequestOptions,
|
|
146461
|
-
};
|
|
146462
|
-
},
|
|
146463
|
-
/**
|
|
146464
|
-
* Get Thread Circle Threads endpoint
|
|
146465
|
-
* @summary Get Thread Circle Threads
|
|
146466
|
-
* @param {string} circleId The circle identifier
|
|
146467
|
-
* @param {number} [page] Page number
|
|
146468
|
-
* @param {number} [pageSize] Number of items per page
|
|
146469
|
-
* @param {string} [orderBy] Field to order by
|
|
146470
|
-
* @param {string} [search] Search query
|
|
146471
|
-
* @param {*} [options] Override http request option.
|
|
146472
|
-
* @throws {RequiredError}
|
|
146473
|
-
*/
|
|
146474
|
-
getThreadCircleThreads: async (circleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146475
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
146476
|
-
assertParamExists('getThreadCircleThreads', 'circleId', circleId)
|
|
146477
|
-
const localVarPath = `/threads/circles/{circleId}/threads`
|
|
146478
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
146479
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146480
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146481
|
-
let baseOptions;
|
|
146482
|
-
if (configuration) {
|
|
146483
|
-
baseOptions = configuration.baseOptions;
|
|
146484
|
-
}
|
|
146485
|
-
|
|
146486
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
146487
|
-
const localVarHeaderParameter = {} as any;
|
|
146488
|
-
const localVarQueryParameter = {} as any;
|
|
146489
|
-
|
|
146490
|
-
// authentication ApiKeyAuth required
|
|
146491
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
146492
|
-
|
|
146493
|
-
// authentication OrganizationId required
|
|
146494
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
146495
|
-
|
|
146496
|
-
if (page !== undefined) {
|
|
146497
|
-
localVarQueryParameter['page'] = page;
|
|
146498
|
-
}
|
|
146499
|
-
|
|
146500
|
-
if (pageSize !== undefined) {
|
|
146501
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
146502
|
-
}
|
|
146503
|
-
|
|
146504
|
-
if (orderBy !== undefined) {
|
|
146505
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
146506
|
-
}
|
|
146507
|
-
|
|
146508
|
-
if (search !== undefined) {
|
|
146509
|
-
localVarQueryParameter['search'] = search;
|
|
146510
|
-
}
|
|
146511
|
-
|
|
146512
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
146513
|
-
|
|
146514
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
146515
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146516
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146517
|
-
|
|
146518
|
-
return {
|
|
146519
|
-
url: toPathString(localVarUrlObj),
|
|
146520
|
-
options: localVarRequestOptions,
|
|
146521
|
-
};
|
|
146522
|
-
},
|
|
146523
|
-
/**
|
|
146524
|
-
* Get Thread Circles endpoint
|
|
146525
|
-
* @summary Get Thread Circles
|
|
146526
|
-
* @param {ThreadCircleType} type Filter by type
|
|
146071
|
+
* Get Thread Accounts endpoint
|
|
146072
|
+
* @summary Get Thread Accounts
|
|
146073
|
+
* @param {string} threadId The thread identifier
|
|
146527
146074
|
* @param {number} [page] Page number
|
|
146528
146075
|
* @param {number} [pageSize] Number of items per page
|
|
146529
146076
|
* @param {string} [orderBy] Field to order by
|
|
@@ -146531,10 +146078,11 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146531
146078
|
* @param {*} [options] Override http request option.
|
|
146532
146079
|
* @throws {RequiredError}
|
|
146533
146080
|
*/
|
|
146534
|
-
|
|
146535
|
-
// verify required parameter '
|
|
146536
|
-
assertParamExists('
|
|
146537
|
-
const localVarPath = `/threads/
|
|
146081
|
+
getThreadAccounts: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146082
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
146083
|
+
assertParamExists('getThreadAccounts', 'threadId', threadId)
|
|
146084
|
+
const localVarPath = `/threads/{threadId}/accounts`
|
|
146085
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
146538
146086
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146539
146087
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146540
146088
|
let baseOptions;
|
|
@@ -146552,10 +146100,6 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146552
146100
|
// authentication OrganizationId required
|
|
146553
146101
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
146554
146102
|
|
|
146555
|
-
if (type !== undefined) {
|
|
146556
|
-
localVarQueryParameter['type'] = type;
|
|
146557
|
-
}
|
|
146558
|
-
|
|
146559
146103
|
if (page !== undefined) {
|
|
146560
146104
|
localVarQueryParameter['page'] = page;
|
|
146561
146105
|
}
|
|
@@ -146584,20 +146128,24 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146584
146128
|
};
|
|
146585
146129
|
},
|
|
146586
146130
|
/**
|
|
146587
|
-
* Update Thread
|
|
146588
|
-
* @summary Update Thread
|
|
146589
|
-
* @param {string}
|
|
146590
|
-
* @param {
|
|
146131
|
+
* Update Thread Account endpoint
|
|
146132
|
+
* @summary Update Thread Account
|
|
146133
|
+
* @param {string} threadId The thread identifier
|
|
146134
|
+
* @param {string} accountId The account identifier
|
|
146135
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
146591
146136
|
* @param {*} [options] Override http request option.
|
|
146592
146137
|
* @throws {RequiredError}
|
|
146593
146138
|
*/
|
|
146594
|
-
|
|
146595
|
-
// verify required parameter '
|
|
146596
|
-
assertParamExists('
|
|
146597
|
-
// verify required parameter '
|
|
146598
|
-
assertParamExists('
|
|
146599
|
-
|
|
146600
|
-
|
|
146139
|
+
updateThreadAccount: async (threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146140
|
+
// verify required parameter 'threadId' is not null or undefined
|
|
146141
|
+
assertParamExists('updateThreadAccount', 'threadId', threadId)
|
|
146142
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
146143
|
+
assertParamExists('updateThreadAccount', 'accountId', accountId)
|
|
146144
|
+
// verify required parameter 'threadAccountUpdateInputs' is not null or undefined
|
|
146145
|
+
assertParamExists('updateThreadAccount', 'threadAccountUpdateInputs', threadAccountUpdateInputs)
|
|
146146
|
+
const localVarPath = `/threads/{threadId}/accounts/{accountId}`
|
|
146147
|
+
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
146148
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
146601
146149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146602
146150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146603
146151
|
let baseOptions;
|
|
@@ -146621,7 +146169,7 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146621
146169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
146622
146170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146623
146171
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
146624
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
146172
|
+
localVarRequestOptions.data = serializeDataIfNeeded(threadAccountUpdateInputs, localVarRequestOptions, configuration)
|
|
146625
146173
|
|
|
146626
146174
|
return {
|
|
146627
146175
|
url: toPathString(localVarUrlObj),
|
|
@@ -146632,1079 +146180,25 @@ export const ThreadsCirclesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
146632
146180
|
};
|
|
146633
146181
|
|
|
146634
146182
|
/**
|
|
146635
|
-
*
|
|
146183
|
+
* ThreadsAccountsApi - functional programming interface
|
|
146636
146184
|
*/
|
|
146637
|
-
export const
|
|
146638
|
-
const localVarAxiosParamCreator =
|
|
146185
|
+
export const ThreadsAccountsApiFp = function(configuration?: Configuration) {
|
|
146186
|
+
const localVarAxiosParamCreator = ThreadsAccountsApiAxiosParamCreator(configuration)
|
|
146639
146187
|
return {
|
|
146640
146188
|
/**
|
|
146641
|
-
*
|
|
146642
|
-
* @summary
|
|
146643
|
-
* @param {
|
|
146644
|
-
* @param {*} [options] Override http request option.
|
|
146645
|
-
* @throws {RequiredError}
|
|
146646
|
-
*/
|
|
146647
|
-
async createThreadCircle(threadCircleCreateInputs: ThreadCircleCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadCircle200Response>> {
|
|
146648
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createThreadCircle(threadCircleCreateInputs, options);
|
|
146649
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146650
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.createThreadCircle']?.[localVarOperationServerIndex]?.url;
|
|
146651
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146652
|
-
},
|
|
146653
|
-
/**
|
|
146654
|
-
* Delete Thread Circle endpoint
|
|
146655
|
-
* @summary Delete Thread Circle
|
|
146656
|
-
* @param {string} circleId The circle identifier
|
|
146657
|
-
* @param {*} [options] Override http request option.
|
|
146658
|
-
* @throws {RequiredError}
|
|
146659
|
-
*/
|
|
146660
|
-
async deleteThreadCircle(circleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
146661
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadCircle(circleId, options);
|
|
146662
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146663
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.deleteThreadCircle']?.[localVarOperationServerIndex]?.url;
|
|
146664
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146665
|
-
},
|
|
146666
|
-
/**
|
|
146667
|
-
* Get Thread Circle endpoint
|
|
146668
|
-
* @summary Get Thread Circle
|
|
146669
|
-
* @param {string} circleId The circle identifier
|
|
146670
|
-
* @param {*} [options] Override http request option.
|
|
146671
|
-
* @throws {RequiredError}
|
|
146672
|
-
*/
|
|
146673
|
-
async getThreadCircle(circleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadCircle200Response>> {
|
|
146674
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadCircle(circleId, options);
|
|
146675
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146676
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.getThreadCircle']?.[localVarOperationServerIndex]?.url;
|
|
146677
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146678
|
-
},
|
|
146679
|
-
/**
|
|
146680
|
-
* Get Thread Circle Threads endpoint
|
|
146681
|
-
* @summary Get Thread Circle Threads
|
|
146682
|
-
* @param {string} circleId The circle identifier
|
|
146683
|
-
* @param {number} [page] Page number
|
|
146684
|
-
* @param {number} [pageSize] Number of items per page
|
|
146685
|
-
* @param {string} [orderBy] Field to order by
|
|
146686
|
-
* @param {string} [search] Search query
|
|
146687
|
-
* @param {*} [options] Override http request option.
|
|
146688
|
-
* @throws {RequiredError}
|
|
146689
|
-
*/
|
|
146690
|
-
async getThreadCircleThreads(circleId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>> {
|
|
146691
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadCircleThreads(circleId, page, pageSize, orderBy, search, options);
|
|
146692
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146693
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.getThreadCircleThreads']?.[localVarOperationServerIndex]?.url;
|
|
146694
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146695
|
-
},
|
|
146696
|
-
/**
|
|
146697
|
-
* Get Thread Circles endpoint
|
|
146698
|
-
* @summary Get Thread Circles
|
|
146699
|
-
* @param {ThreadCircleType} type Filter by type
|
|
146700
|
-
* @param {number} [page] Page number
|
|
146701
|
-
* @param {number} [pageSize] Number of items per page
|
|
146702
|
-
* @param {string} [orderBy] Field to order by
|
|
146703
|
-
* @param {string} [search] Search query
|
|
146704
|
-
* @param {*} [options] Override http request option.
|
|
146705
|
-
* @throws {RequiredError}
|
|
146706
|
-
*/
|
|
146707
|
-
async getThreadCircles(type: ThreadCircleType, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadCircles200Response>> {
|
|
146708
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadCircles(type, page, pageSize, orderBy, search, options);
|
|
146709
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146710
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.getThreadCircles']?.[localVarOperationServerIndex]?.url;
|
|
146711
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146712
|
-
},
|
|
146713
|
-
/**
|
|
146714
|
-
* Update Thread Circle endpoint
|
|
146715
|
-
* @summary Update Thread Circle
|
|
146716
|
-
* @param {string} circleId The circle identifier
|
|
146717
|
-
* @param {ThreadCircleUpdateInputs} threadCircleUpdateInputs
|
|
146718
|
-
* @param {*} [options] Override http request option.
|
|
146719
|
-
* @throws {RequiredError}
|
|
146720
|
-
*/
|
|
146721
|
-
async updateThreadCircle(circleId: string, threadCircleUpdateInputs: ThreadCircleUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadCircle200Response>> {
|
|
146722
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadCircle(circleId, threadCircleUpdateInputs, options);
|
|
146723
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
146724
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesApi.updateThreadCircle']?.[localVarOperationServerIndex]?.url;
|
|
146725
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
146726
|
-
},
|
|
146727
|
-
}
|
|
146728
|
-
};
|
|
146729
|
-
|
|
146730
|
-
/**
|
|
146731
|
-
* ThreadsCirclesApi - factory interface
|
|
146732
|
-
*/
|
|
146733
|
-
export const ThreadsCirclesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
146734
|
-
const localVarFp = ThreadsCirclesApiFp(configuration)
|
|
146735
|
-
return {
|
|
146736
|
-
/**
|
|
146737
|
-
* Create Thread Circle endpoint
|
|
146738
|
-
* @summary Create Thread Circle
|
|
146739
|
-
* @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
|
|
146740
|
-
* @param {*} [options] Override http request option.
|
|
146741
|
-
* @throws {RequiredError}
|
|
146742
|
-
*/
|
|
146743
|
-
createThreadCircle(requestParameters: ThreadsCirclesApiCreateThreadCircleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircle200Response> {
|
|
146744
|
-
return localVarFp.createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(axios, basePath));
|
|
146745
|
-
},
|
|
146746
|
-
/**
|
|
146747
|
-
* Delete Thread Circle endpoint
|
|
146748
|
-
* @summary Delete Thread Circle
|
|
146749
|
-
* @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
|
|
146750
|
-
* @param {*} [options] Override http request option.
|
|
146751
|
-
* @throws {RequiredError}
|
|
146752
|
-
*/
|
|
146753
|
-
deleteThreadCircle(requestParameters: ThreadsCirclesApiDeleteThreadCircleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
146754
|
-
return localVarFp.deleteThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
|
|
146755
|
-
},
|
|
146756
|
-
/**
|
|
146757
|
-
* Get Thread Circle endpoint
|
|
146758
|
-
* @summary Get Thread Circle
|
|
146759
|
-
* @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
|
|
146760
|
-
* @param {*} [options] Override http request option.
|
|
146761
|
-
* @throws {RequiredError}
|
|
146762
|
-
*/
|
|
146763
|
-
getThreadCircle(requestParameters: ThreadsCirclesApiGetThreadCircleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircle200Response> {
|
|
146764
|
-
return localVarFp.getThreadCircle(requestParameters.circleId, options).then((request) => request(axios, basePath));
|
|
146765
|
-
},
|
|
146766
|
-
/**
|
|
146767
|
-
* Get Thread Circle Threads endpoint
|
|
146768
|
-
* @summary Get Thread Circle Threads
|
|
146769
|
-
* @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
|
|
146770
|
-
* @param {*} [options] Override http request option.
|
|
146771
|
-
* @throws {RequiredError}
|
|
146772
|
-
*/
|
|
146773
|
-
getThreadCircleThreads(requestParameters: ThreadsCirclesApiGetThreadCircleThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response> {
|
|
146774
|
-
return localVarFp.getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
146775
|
-
},
|
|
146776
|
-
/**
|
|
146777
|
-
* Get Thread Circles endpoint
|
|
146778
|
-
* @summary Get Thread Circles
|
|
146779
|
-
* @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
|
|
146780
|
-
* @param {*} [options] Override http request option.
|
|
146781
|
-
* @throws {RequiredError}
|
|
146782
|
-
*/
|
|
146783
|
-
getThreadCircles(requestParameters: ThreadsCirclesApiGetThreadCirclesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadCircles200Response> {
|
|
146784
|
-
return localVarFp.getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
146785
|
-
},
|
|
146786
|
-
/**
|
|
146787
|
-
* Update Thread Circle endpoint
|
|
146788
|
-
* @summary Update Thread Circle
|
|
146789
|
-
* @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
|
|
146790
|
-
* @param {*} [options] Override http request option.
|
|
146791
|
-
* @throws {RequiredError}
|
|
146792
|
-
*/
|
|
146793
|
-
updateThreadCircle(requestParameters: ThreadsCirclesApiUpdateThreadCircleRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircle200Response> {
|
|
146794
|
-
return localVarFp.updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(axios, basePath));
|
|
146795
|
-
},
|
|
146796
|
-
};
|
|
146797
|
-
};
|
|
146798
|
-
|
|
146799
|
-
/**
|
|
146800
|
-
* Request parameters for createThreadCircle operation in ThreadsCirclesApi.
|
|
146801
|
-
*/
|
|
146802
|
-
export interface ThreadsCirclesApiCreateThreadCircleRequest {
|
|
146803
|
-
readonly threadCircleCreateInputs: ThreadCircleCreateInputs
|
|
146804
|
-
}
|
|
146805
|
-
|
|
146806
|
-
/**
|
|
146807
|
-
* Request parameters for deleteThreadCircle operation in ThreadsCirclesApi.
|
|
146808
|
-
*/
|
|
146809
|
-
export interface ThreadsCirclesApiDeleteThreadCircleRequest {
|
|
146810
|
-
/**
|
|
146811
|
-
* The circle identifier
|
|
146812
|
-
*/
|
|
146813
|
-
readonly circleId: string
|
|
146814
|
-
}
|
|
146815
|
-
|
|
146816
|
-
/**
|
|
146817
|
-
* Request parameters for getThreadCircle operation in ThreadsCirclesApi.
|
|
146818
|
-
*/
|
|
146819
|
-
export interface ThreadsCirclesApiGetThreadCircleRequest {
|
|
146820
|
-
/**
|
|
146821
|
-
* The circle identifier
|
|
146822
|
-
*/
|
|
146823
|
-
readonly circleId: string
|
|
146824
|
-
}
|
|
146825
|
-
|
|
146826
|
-
/**
|
|
146827
|
-
* Request parameters for getThreadCircleThreads operation in ThreadsCirclesApi.
|
|
146828
|
-
*/
|
|
146829
|
-
export interface ThreadsCirclesApiGetThreadCircleThreadsRequest {
|
|
146830
|
-
/**
|
|
146831
|
-
* The circle identifier
|
|
146832
|
-
*/
|
|
146833
|
-
readonly circleId: string
|
|
146834
|
-
|
|
146835
|
-
/**
|
|
146836
|
-
* Page number
|
|
146837
|
-
*/
|
|
146838
|
-
readonly page?: number
|
|
146839
|
-
|
|
146840
|
-
/**
|
|
146841
|
-
* Number of items per page
|
|
146842
|
-
*/
|
|
146843
|
-
readonly pageSize?: number
|
|
146844
|
-
|
|
146845
|
-
/**
|
|
146846
|
-
* Field to order by
|
|
146847
|
-
*/
|
|
146848
|
-
readonly orderBy?: string
|
|
146849
|
-
|
|
146850
|
-
/**
|
|
146851
|
-
* Search query
|
|
146852
|
-
*/
|
|
146853
|
-
readonly search?: string
|
|
146854
|
-
}
|
|
146855
|
-
|
|
146856
|
-
/**
|
|
146857
|
-
* Request parameters for getThreadCircles operation in ThreadsCirclesApi.
|
|
146858
|
-
*/
|
|
146859
|
-
export interface ThreadsCirclesApiGetThreadCirclesRequest {
|
|
146860
|
-
/**
|
|
146861
|
-
* Filter by type
|
|
146862
|
-
*/
|
|
146863
|
-
readonly type: ThreadCircleType
|
|
146864
|
-
|
|
146865
|
-
/**
|
|
146866
|
-
* Page number
|
|
146867
|
-
*/
|
|
146868
|
-
readonly page?: number
|
|
146869
|
-
|
|
146870
|
-
/**
|
|
146871
|
-
* Number of items per page
|
|
146872
|
-
*/
|
|
146873
|
-
readonly pageSize?: number
|
|
146874
|
-
|
|
146875
|
-
/**
|
|
146876
|
-
* Field to order by
|
|
146877
|
-
*/
|
|
146878
|
-
readonly orderBy?: string
|
|
146879
|
-
|
|
146880
|
-
/**
|
|
146881
|
-
* Search query
|
|
146882
|
-
*/
|
|
146883
|
-
readonly search?: string
|
|
146884
|
-
}
|
|
146885
|
-
|
|
146886
|
-
/**
|
|
146887
|
-
* Request parameters for updateThreadCircle operation in ThreadsCirclesApi.
|
|
146888
|
-
*/
|
|
146889
|
-
export interface ThreadsCirclesApiUpdateThreadCircleRequest {
|
|
146890
|
-
/**
|
|
146891
|
-
* The circle identifier
|
|
146892
|
-
*/
|
|
146893
|
-
readonly circleId: string
|
|
146894
|
-
|
|
146895
|
-
readonly threadCircleUpdateInputs: ThreadCircleUpdateInputs
|
|
146896
|
-
}
|
|
146897
|
-
|
|
146898
|
-
/**
|
|
146899
|
-
* ThreadsCirclesApi - object-oriented interface
|
|
146900
|
-
*/
|
|
146901
|
-
export class ThreadsCirclesApi extends BaseAPI {
|
|
146902
|
-
/**
|
|
146903
|
-
* Create Thread Circle endpoint
|
|
146904
|
-
* @summary Create Thread Circle
|
|
146905
|
-
* @param {ThreadsCirclesApiCreateThreadCircleRequest} requestParameters Request parameters.
|
|
146906
|
-
* @param {*} [options] Override http request option.
|
|
146907
|
-
* @throws {RequiredError}
|
|
146908
|
-
*/
|
|
146909
|
-
public createThreadCircle(requestParameters: ThreadsCirclesApiCreateThreadCircleRequest, options?: RawAxiosRequestConfig) {
|
|
146910
|
-
return ThreadsCirclesApiFp(this.configuration).createThreadCircle(requestParameters.threadCircleCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
146911
|
-
}
|
|
146912
|
-
|
|
146913
|
-
/**
|
|
146914
|
-
* Delete Thread Circle endpoint
|
|
146915
|
-
* @summary Delete Thread Circle
|
|
146916
|
-
* @param {ThreadsCirclesApiDeleteThreadCircleRequest} requestParameters Request parameters.
|
|
146917
|
-
* @param {*} [options] Override http request option.
|
|
146918
|
-
* @throws {RequiredError}
|
|
146919
|
-
*/
|
|
146920
|
-
public deleteThreadCircle(requestParameters: ThreadsCirclesApiDeleteThreadCircleRequest, options?: RawAxiosRequestConfig) {
|
|
146921
|
-
return ThreadsCirclesApiFp(this.configuration).deleteThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
|
|
146922
|
-
}
|
|
146923
|
-
|
|
146924
|
-
/**
|
|
146925
|
-
* Get Thread Circle endpoint
|
|
146926
|
-
* @summary Get Thread Circle
|
|
146927
|
-
* @param {ThreadsCirclesApiGetThreadCircleRequest} requestParameters Request parameters.
|
|
146928
|
-
* @param {*} [options] Override http request option.
|
|
146929
|
-
* @throws {RequiredError}
|
|
146930
|
-
*/
|
|
146931
|
-
public getThreadCircle(requestParameters: ThreadsCirclesApiGetThreadCircleRequest, options?: RawAxiosRequestConfig) {
|
|
146932
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircle(requestParameters.circleId, options).then((request) => request(this.axios, this.basePath));
|
|
146933
|
-
}
|
|
146934
|
-
|
|
146935
|
-
/**
|
|
146936
|
-
* Get Thread Circle Threads endpoint
|
|
146937
|
-
* @summary Get Thread Circle Threads
|
|
146938
|
-
* @param {ThreadsCirclesApiGetThreadCircleThreadsRequest} requestParameters Request parameters.
|
|
146939
|
-
* @param {*} [options] Override http request option.
|
|
146940
|
-
* @throws {RequiredError}
|
|
146941
|
-
*/
|
|
146942
|
-
public getThreadCircleThreads(requestParameters: ThreadsCirclesApiGetThreadCircleThreadsRequest, options?: RawAxiosRequestConfig) {
|
|
146943
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircleThreads(requestParameters.circleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
146944
|
-
}
|
|
146945
|
-
|
|
146946
|
-
/**
|
|
146947
|
-
* Get Thread Circles endpoint
|
|
146948
|
-
* @summary Get Thread Circles
|
|
146949
|
-
* @param {ThreadsCirclesApiGetThreadCirclesRequest} requestParameters Request parameters.
|
|
146950
|
-
* @param {*} [options] Override http request option.
|
|
146951
|
-
* @throws {RequiredError}
|
|
146952
|
-
*/
|
|
146953
|
-
public getThreadCircles(requestParameters: ThreadsCirclesApiGetThreadCirclesRequest, options?: RawAxiosRequestConfig) {
|
|
146954
|
-
return ThreadsCirclesApiFp(this.configuration).getThreadCircles(requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
146955
|
-
}
|
|
146956
|
-
|
|
146957
|
-
/**
|
|
146958
|
-
* Update Thread Circle endpoint
|
|
146959
|
-
* @summary Update Thread Circle
|
|
146960
|
-
* @param {ThreadsCirclesApiUpdateThreadCircleRequest} requestParameters Request parameters.
|
|
146961
|
-
* @param {*} [options] Override http request option.
|
|
146962
|
-
* @throws {RequiredError}
|
|
146963
|
-
*/
|
|
146964
|
-
public updateThreadCircle(requestParameters: ThreadsCirclesApiUpdateThreadCircleRequest, options?: RawAxiosRequestConfig) {
|
|
146965
|
-
return ThreadsCirclesApiFp(this.configuration).updateThreadCircle(requestParameters.circleId, requestParameters.threadCircleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
146966
|
-
}
|
|
146967
|
-
}
|
|
146968
|
-
|
|
146969
|
-
|
|
146970
|
-
|
|
146971
|
-
/**
|
|
146972
|
-
* ThreadsCirclesAccountsApi - axios parameter creator
|
|
146973
|
-
*/
|
|
146974
|
-
export const ThreadsCirclesAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
146975
|
-
return {
|
|
146976
|
-
/**
|
|
146977
|
-
* Create Thread Circle Account endpoint
|
|
146978
|
-
* @summary Create Thread Circle Account
|
|
146979
|
-
* @param {string} circleId The circle identifier
|
|
146980
|
-
* @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
|
|
146981
|
-
* @param {*} [options] Override http request option.
|
|
146982
|
-
* @throws {RequiredError}
|
|
146983
|
-
*/
|
|
146984
|
-
createThreadCircleAccount: async (circleId: string, threadCircleAccountCreateInputs: ThreadCircleAccountCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146985
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
146986
|
-
assertParamExists('createThreadCircleAccount', 'circleId', circleId)
|
|
146987
|
-
// verify required parameter 'threadCircleAccountCreateInputs' is not null or undefined
|
|
146988
|
-
assertParamExists('createThreadCircleAccount', 'threadCircleAccountCreateInputs', threadCircleAccountCreateInputs)
|
|
146989
|
-
const localVarPath = `/threads/circles/{circleId}/accounts`
|
|
146990
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
146991
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146992
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146993
|
-
let baseOptions;
|
|
146994
|
-
if (configuration) {
|
|
146995
|
-
baseOptions = configuration.baseOptions;
|
|
146996
|
-
}
|
|
146997
|
-
|
|
146998
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
146999
|
-
const localVarHeaderParameter = {} as any;
|
|
147000
|
-
const localVarQueryParameter = {} as any;
|
|
147001
|
-
|
|
147002
|
-
// authentication ApiKeyAuth required
|
|
147003
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147004
|
-
|
|
147005
|
-
// authentication OrganizationId required
|
|
147006
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147007
|
-
|
|
147008
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
147009
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147010
|
-
|
|
147011
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147012
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147013
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147014
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleAccountCreateInputs, localVarRequestOptions, configuration)
|
|
147015
|
-
|
|
147016
|
-
return {
|
|
147017
|
-
url: toPathString(localVarUrlObj),
|
|
147018
|
-
options: localVarRequestOptions,
|
|
147019
|
-
};
|
|
147020
|
-
},
|
|
147021
|
-
/**
|
|
147022
|
-
* Delete Thread Circle Account endpoint
|
|
147023
|
-
* @summary Delete Thread Circle Account
|
|
147024
|
-
* @param {string} circleId The circle identifier
|
|
147025
|
-
* @param {string} accountId The account identifier
|
|
147026
|
-
* @param {*} [options] Override http request option.
|
|
147027
|
-
* @throws {RequiredError}
|
|
147028
|
-
*/
|
|
147029
|
-
deleteThreadCircleAccount: async (circleId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147030
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
147031
|
-
assertParamExists('deleteThreadCircleAccount', 'circleId', circleId)
|
|
147032
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
147033
|
-
assertParamExists('deleteThreadCircleAccount', 'accountId', accountId)
|
|
147034
|
-
const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
|
|
147035
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
|
|
147036
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
147037
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147038
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147039
|
-
let baseOptions;
|
|
147040
|
-
if (configuration) {
|
|
147041
|
-
baseOptions = configuration.baseOptions;
|
|
147042
|
-
}
|
|
147043
|
-
|
|
147044
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
147045
|
-
const localVarHeaderParameter = {} as any;
|
|
147046
|
-
const localVarQueryParameter = {} as any;
|
|
147047
|
-
|
|
147048
|
-
// authentication ApiKeyAuth required
|
|
147049
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147050
|
-
|
|
147051
|
-
// authentication OrganizationId required
|
|
147052
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147053
|
-
|
|
147054
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147055
|
-
|
|
147056
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147057
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147058
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147059
|
-
|
|
147060
|
-
return {
|
|
147061
|
-
url: toPathString(localVarUrlObj),
|
|
147062
|
-
options: localVarRequestOptions,
|
|
147063
|
-
};
|
|
147064
|
-
},
|
|
147065
|
-
/**
|
|
147066
|
-
* Get Thread Circle Account endpoint
|
|
147067
|
-
* @summary Get Thread Circle Account
|
|
147068
|
-
* @param {string} circleId The circle identifier
|
|
147069
|
-
* @param {string} accountId The account identifier
|
|
147070
|
-
* @param {*} [options] Override http request option.
|
|
147071
|
-
* @throws {RequiredError}
|
|
147072
|
-
*/
|
|
147073
|
-
getThreadCircleAccount: async (circleId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147074
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
147075
|
-
assertParamExists('getThreadCircleAccount', 'circleId', circleId)
|
|
147076
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
147077
|
-
assertParamExists('getThreadCircleAccount', 'accountId', accountId)
|
|
147078
|
-
const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
|
|
147079
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
|
|
147080
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
147081
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147082
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147083
|
-
let baseOptions;
|
|
147084
|
-
if (configuration) {
|
|
147085
|
-
baseOptions = configuration.baseOptions;
|
|
147086
|
-
}
|
|
147087
|
-
|
|
147088
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
147089
|
-
const localVarHeaderParameter = {} as any;
|
|
147090
|
-
const localVarQueryParameter = {} as any;
|
|
147091
|
-
|
|
147092
|
-
// authentication ApiKeyAuth required
|
|
147093
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147094
|
-
|
|
147095
|
-
// authentication OrganizationId required
|
|
147096
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147097
|
-
|
|
147098
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147099
|
-
|
|
147100
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147101
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147102
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147103
|
-
|
|
147104
|
-
return {
|
|
147105
|
-
url: toPathString(localVarUrlObj),
|
|
147106
|
-
options: localVarRequestOptions,
|
|
147107
|
-
};
|
|
147108
|
-
},
|
|
147109
|
-
/**
|
|
147110
|
-
* Get Thread Circle Accounts endpoint
|
|
147111
|
-
* @summary Get Thread Circle Accounts
|
|
147112
|
-
* @param {string} circleId The circle identifier
|
|
147113
|
-
* @param {ThreadCircleAccountRole} [role] Filter by role
|
|
147114
|
-
* @param {number} [page] Page number
|
|
147115
|
-
* @param {number} [pageSize] Number of items per page
|
|
147116
|
-
* @param {string} [orderBy] Field to order by
|
|
147117
|
-
* @param {string} [search] Search query
|
|
147118
|
-
* @param {*} [options] Override http request option.
|
|
147119
|
-
* @throws {RequiredError}
|
|
147120
|
-
*/
|
|
147121
|
-
getThreadCircleAccounts: async (circleId: string, role?: ThreadCircleAccountRole, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147122
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
147123
|
-
assertParamExists('getThreadCircleAccounts', 'circleId', circleId)
|
|
147124
|
-
const localVarPath = `/threads/circles/{circleId}/accounts`
|
|
147125
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)));
|
|
147126
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147127
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147128
|
-
let baseOptions;
|
|
147129
|
-
if (configuration) {
|
|
147130
|
-
baseOptions = configuration.baseOptions;
|
|
147131
|
-
}
|
|
147132
|
-
|
|
147133
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
147134
|
-
const localVarHeaderParameter = {} as any;
|
|
147135
|
-
const localVarQueryParameter = {} as any;
|
|
147136
|
-
|
|
147137
|
-
// authentication ApiKeyAuth required
|
|
147138
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147139
|
-
|
|
147140
|
-
// authentication OrganizationId required
|
|
147141
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147142
|
-
|
|
147143
|
-
if (role !== undefined) {
|
|
147144
|
-
localVarQueryParameter['role'] = role;
|
|
147145
|
-
}
|
|
147146
|
-
|
|
147147
|
-
if (page !== undefined) {
|
|
147148
|
-
localVarQueryParameter['page'] = page;
|
|
147149
|
-
}
|
|
147150
|
-
|
|
147151
|
-
if (pageSize !== undefined) {
|
|
147152
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
147153
|
-
}
|
|
147154
|
-
|
|
147155
|
-
if (orderBy !== undefined) {
|
|
147156
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
147157
|
-
}
|
|
147158
|
-
|
|
147159
|
-
if (search !== undefined) {
|
|
147160
|
-
localVarQueryParameter['search'] = search;
|
|
147161
|
-
}
|
|
147162
|
-
|
|
147163
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147164
|
-
|
|
147165
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147166
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147167
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147168
|
-
|
|
147169
|
-
return {
|
|
147170
|
-
url: toPathString(localVarUrlObj),
|
|
147171
|
-
options: localVarRequestOptions,
|
|
147172
|
-
};
|
|
147173
|
-
},
|
|
147174
|
-
/**
|
|
147175
|
-
* Update Thread Circle Account endpoint
|
|
147176
|
-
* @summary Update Thread Circle Account
|
|
147177
|
-
* @param {string} circleId The circle identifier
|
|
147178
|
-
* @param {string} accountId The account identifier
|
|
147179
|
-
* @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
|
|
147180
|
-
* @param {*} [options] Override http request option.
|
|
147181
|
-
* @throws {RequiredError}
|
|
147182
|
-
*/
|
|
147183
|
-
updateThreadCircleAccount: async (circleId: string, accountId: string, threadCircleAccountUpdateInputs: ThreadCircleAccountUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147184
|
-
// verify required parameter 'circleId' is not null or undefined
|
|
147185
|
-
assertParamExists('updateThreadCircleAccount', 'circleId', circleId)
|
|
147186
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
147187
|
-
assertParamExists('updateThreadCircleAccount', 'accountId', accountId)
|
|
147188
|
-
// verify required parameter 'threadCircleAccountUpdateInputs' is not null or undefined
|
|
147189
|
-
assertParamExists('updateThreadCircleAccount', 'threadCircleAccountUpdateInputs', threadCircleAccountUpdateInputs)
|
|
147190
|
-
const localVarPath = `/threads/circles/{circleId}/accounts/{accountId}`
|
|
147191
|
-
.replace(`{${"circleId"}}`, encodeURIComponent(String(circleId)))
|
|
147192
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
147193
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147194
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147195
|
-
let baseOptions;
|
|
147196
|
-
if (configuration) {
|
|
147197
|
-
baseOptions = configuration.baseOptions;
|
|
147198
|
-
}
|
|
147199
|
-
|
|
147200
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
147201
|
-
const localVarHeaderParameter = {} as any;
|
|
147202
|
-
const localVarQueryParameter = {} as any;
|
|
147203
|
-
|
|
147204
|
-
// authentication ApiKeyAuth required
|
|
147205
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147206
|
-
|
|
147207
|
-
// authentication OrganizationId required
|
|
147208
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147209
|
-
|
|
147210
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
147211
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147212
|
-
|
|
147213
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147214
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147215
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147216
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadCircleAccountUpdateInputs, localVarRequestOptions, configuration)
|
|
147217
|
-
|
|
147218
|
-
return {
|
|
147219
|
-
url: toPathString(localVarUrlObj),
|
|
147220
|
-
options: localVarRequestOptions,
|
|
147221
|
-
};
|
|
147222
|
-
},
|
|
147223
|
-
}
|
|
147224
|
-
};
|
|
147225
|
-
|
|
147226
|
-
/**
|
|
147227
|
-
* ThreadsCirclesAccountsApi - functional programming interface
|
|
147228
|
-
*/
|
|
147229
|
-
export const ThreadsCirclesAccountsApiFp = function(configuration?: Configuration) {
|
|
147230
|
-
const localVarAxiosParamCreator = ThreadsCirclesAccountsApiAxiosParamCreator(configuration)
|
|
147231
|
-
return {
|
|
147232
|
-
/**
|
|
147233
|
-
* Create Thread Circle Account endpoint
|
|
147234
|
-
* @summary Create Thread Circle Account
|
|
147235
|
-
* @param {string} circleId The circle identifier
|
|
147236
|
-
* @param {ThreadCircleAccountCreateInputs} threadCircleAccountCreateInputs
|
|
147237
|
-
* @param {*} [options] Override http request option.
|
|
147238
|
-
* @throws {RequiredError}
|
|
147239
|
-
*/
|
|
147240
|
-
async createThreadCircleAccount(circleId: string, threadCircleAccountCreateInputs: ThreadCircleAccountCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadCircleAccount200Response>> {
|
|
147241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createThreadCircleAccount(circleId, threadCircleAccountCreateInputs, options);
|
|
147242
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147243
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesAccountsApi.createThreadCircleAccount']?.[localVarOperationServerIndex]?.url;
|
|
147244
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147245
|
-
},
|
|
147246
|
-
/**
|
|
147247
|
-
* Delete Thread Circle Account endpoint
|
|
147248
|
-
* @summary Delete Thread Circle Account
|
|
147249
|
-
* @param {string} circleId The circle identifier
|
|
147250
|
-
* @param {string} accountId The account identifier
|
|
147251
|
-
* @param {*} [options] Override http request option.
|
|
147252
|
-
* @throws {RequiredError}
|
|
147253
|
-
*/
|
|
147254
|
-
async deleteThreadCircleAccount(circleId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
147255
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadCircleAccount(circleId, accountId, options);
|
|
147256
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147257
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesAccountsApi.deleteThreadCircleAccount']?.[localVarOperationServerIndex]?.url;
|
|
147258
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147259
|
-
},
|
|
147260
|
-
/**
|
|
147261
|
-
* Get Thread Circle Account endpoint
|
|
147262
|
-
* @summary Get Thread Circle Account
|
|
147263
|
-
* @param {string} circleId The circle identifier
|
|
146189
|
+
* Delete Thread Account endpoint
|
|
146190
|
+
* @summary Delete Thread Account
|
|
146191
|
+
* @param {string} threadId The thread identifier
|
|
147264
146192
|
* @param {string} accountId The account identifier
|
|
147265
146193
|
* @param {*} [options] Override http request option.
|
|
147266
146194
|
* @throws {RequiredError}
|
|
147267
146195
|
*/
|
|
147268
|
-
async
|
|
147269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
146196
|
+
async deleteThreadAccount(threadId: string, accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
|
|
146197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteThreadAccount(threadId, accountId, options);
|
|
147270
146198
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147271
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
146199
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.deleteThreadAccount']?.[localVarOperationServerIndex]?.url;
|
|
147272
146200
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147273
146201
|
},
|
|
147274
|
-
/**
|
|
147275
|
-
* Get Thread Circle Accounts endpoint
|
|
147276
|
-
* @summary Get Thread Circle Accounts
|
|
147277
|
-
* @param {string} circleId The circle identifier
|
|
147278
|
-
* @param {ThreadCircleAccountRole} [role] Filter by role
|
|
147279
|
-
* @param {number} [page] Page number
|
|
147280
|
-
* @param {number} [pageSize] Number of items per page
|
|
147281
|
-
* @param {string} [orderBy] Field to order by
|
|
147282
|
-
* @param {string} [search] Search query
|
|
147283
|
-
* @param {*} [options] Override http request option.
|
|
147284
|
-
* @throws {RequiredError}
|
|
147285
|
-
*/
|
|
147286
|
-
async getThreadCircleAccounts(circleId: string, role?: ThreadCircleAccountRole, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadCircleAccounts200Response>> {
|
|
147287
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadCircleAccounts(circleId, role, page, pageSize, orderBy, search, options);
|
|
147288
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147289
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesAccountsApi.getThreadCircleAccounts']?.[localVarOperationServerIndex]?.url;
|
|
147290
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147291
|
-
},
|
|
147292
|
-
/**
|
|
147293
|
-
* Update Thread Circle Account endpoint
|
|
147294
|
-
* @summary Update Thread Circle Account
|
|
147295
|
-
* @param {string} circleId The circle identifier
|
|
147296
|
-
* @param {string} accountId The account identifier
|
|
147297
|
-
* @param {ThreadCircleAccountUpdateInputs} threadCircleAccountUpdateInputs
|
|
147298
|
-
* @param {*} [options] Override http request option.
|
|
147299
|
-
* @throws {RequiredError}
|
|
147300
|
-
*/
|
|
147301
|
-
async updateThreadCircleAccount(circleId: string, accountId: string, threadCircleAccountUpdateInputs: ThreadCircleAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateThreadCircleAccount200Response>> {
|
|
147302
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadCircleAccount(circleId, accountId, threadCircleAccountUpdateInputs, options);
|
|
147303
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147304
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsCirclesAccountsApi.updateThreadCircleAccount']?.[localVarOperationServerIndex]?.url;
|
|
147305
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147306
|
-
},
|
|
147307
|
-
}
|
|
147308
|
-
};
|
|
147309
|
-
|
|
147310
|
-
/**
|
|
147311
|
-
* ThreadsCirclesAccountsApi - factory interface
|
|
147312
|
-
*/
|
|
147313
|
-
export const ThreadsCirclesAccountsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
147314
|
-
const localVarFp = ThreadsCirclesAccountsApiFp(configuration)
|
|
147315
|
-
return {
|
|
147316
|
-
/**
|
|
147317
|
-
* Create Thread Circle Account endpoint
|
|
147318
|
-
* @summary Create Thread Circle Account
|
|
147319
|
-
* @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147320
|
-
* @param {*} [options] Override http request option.
|
|
147321
|
-
* @throws {RequiredError}
|
|
147322
|
-
*/
|
|
147323
|
-
createThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircleAccount200Response> {
|
|
147324
|
-
return localVarFp.createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(axios, basePath));
|
|
147325
|
-
},
|
|
147326
|
-
/**
|
|
147327
|
-
* Delete Thread Circle Account endpoint
|
|
147328
|
-
* @summary Delete Thread Circle Account
|
|
147329
|
-
* @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147330
|
-
* @param {*} [options] Override http request option.
|
|
147331
|
-
* @throws {RequiredError}
|
|
147332
|
-
*/
|
|
147333
|
-
deleteThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
147334
|
-
return localVarFp.deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
147335
|
-
},
|
|
147336
|
-
/**
|
|
147337
|
-
* Get Thread Circle Account endpoint
|
|
147338
|
-
* @summary Get Thread Circle Account
|
|
147339
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147340
|
-
* @param {*} [options] Override http request option.
|
|
147341
|
-
* @throws {RequiredError}
|
|
147342
|
-
*/
|
|
147343
|
-
getThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiGetThreadCircleAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircleAccount200Response> {
|
|
147344
|
-
return localVarFp.getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
147345
|
-
},
|
|
147346
|
-
/**
|
|
147347
|
-
* Get Thread Circle Accounts endpoint
|
|
147348
|
-
* @summary Get Thread Circle Accounts
|
|
147349
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
|
|
147350
|
-
* @param {*} [options] Override http request option.
|
|
147351
|
-
* @throws {RequiredError}
|
|
147352
|
-
*/
|
|
147353
|
-
getThreadCircleAccounts(requestParameters: ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetThreadCircleAccounts200Response> {
|
|
147354
|
-
return localVarFp.getThreadCircleAccounts(requestParameters.circleId, requestParameters.role, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
147355
|
-
},
|
|
147356
|
-
/**
|
|
147357
|
-
* Update Thread Circle Account endpoint
|
|
147358
|
-
* @summary Update Thread Circle Account
|
|
147359
|
-
* @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147360
|
-
* @param {*} [options] Override http request option.
|
|
147361
|
-
* @throws {RequiredError}
|
|
147362
|
-
*/
|
|
147363
|
-
updateThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateThreadCircleAccount200Response> {
|
|
147364
|
-
return localVarFp.updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
147365
|
-
},
|
|
147366
|
-
};
|
|
147367
|
-
};
|
|
147368
|
-
|
|
147369
|
-
/**
|
|
147370
|
-
* Request parameters for createThreadCircleAccount operation in ThreadsCirclesAccountsApi.
|
|
147371
|
-
*/
|
|
147372
|
-
export interface ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest {
|
|
147373
|
-
/**
|
|
147374
|
-
* The circle identifier
|
|
147375
|
-
*/
|
|
147376
|
-
readonly circleId: string
|
|
147377
|
-
|
|
147378
|
-
readonly threadCircleAccountCreateInputs: ThreadCircleAccountCreateInputs
|
|
147379
|
-
}
|
|
147380
|
-
|
|
147381
|
-
/**
|
|
147382
|
-
* Request parameters for deleteThreadCircleAccount operation in ThreadsCirclesAccountsApi.
|
|
147383
|
-
*/
|
|
147384
|
-
export interface ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest {
|
|
147385
|
-
/**
|
|
147386
|
-
* The circle identifier
|
|
147387
|
-
*/
|
|
147388
|
-
readonly circleId: string
|
|
147389
|
-
|
|
147390
|
-
/**
|
|
147391
|
-
* The account identifier
|
|
147392
|
-
*/
|
|
147393
|
-
readonly accountId: string
|
|
147394
|
-
}
|
|
147395
|
-
|
|
147396
|
-
/**
|
|
147397
|
-
* Request parameters for getThreadCircleAccount operation in ThreadsCirclesAccountsApi.
|
|
147398
|
-
*/
|
|
147399
|
-
export interface ThreadsCirclesAccountsApiGetThreadCircleAccountRequest {
|
|
147400
|
-
/**
|
|
147401
|
-
* The circle identifier
|
|
147402
|
-
*/
|
|
147403
|
-
readonly circleId: string
|
|
147404
|
-
|
|
147405
|
-
/**
|
|
147406
|
-
* The account identifier
|
|
147407
|
-
*/
|
|
147408
|
-
readonly accountId: string
|
|
147409
|
-
}
|
|
147410
|
-
|
|
147411
|
-
/**
|
|
147412
|
-
* Request parameters for getThreadCircleAccounts operation in ThreadsCirclesAccountsApi.
|
|
147413
|
-
*/
|
|
147414
|
-
export interface ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest {
|
|
147415
|
-
/**
|
|
147416
|
-
* The circle identifier
|
|
147417
|
-
*/
|
|
147418
|
-
readonly circleId: string
|
|
147419
|
-
|
|
147420
|
-
/**
|
|
147421
|
-
* Filter by role
|
|
147422
|
-
*/
|
|
147423
|
-
readonly role?: ThreadCircleAccountRole
|
|
147424
|
-
|
|
147425
|
-
/**
|
|
147426
|
-
* Page number
|
|
147427
|
-
*/
|
|
147428
|
-
readonly page?: number
|
|
147429
|
-
|
|
147430
|
-
/**
|
|
147431
|
-
* Number of items per page
|
|
147432
|
-
*/
|
|
147433
|
-
readonly pageSize?: number
|
|
147434
|
-
|
|
147435
|
-
/**
|
|
147436
|
-
* Field to order by
|
|
147437
|
-
*/
|
|
147438
|
-
readonly orderBy?: string
|
|
147439
|
-
|
|
147440
|
-
/**
|
|
147441
|
-
* Search query
|
|
147442
|
-
*/
|
|
147443
|
-
readonly search?: string
|
|
147444
|
-
}
|
|
147445
|
-
|
|
147446
|
-
/**
|
|
147447
|
-
* Request parameters for updateThreadCircleAccount operation in ThreadsCirclesAccountsApi.
|
|
147448
|
-
*/
|
|
147449
|
-
export interface ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest {
|
|
147450
|
-
/**
|
|
147451
|
-
* The circle identifier
|
|
147452
|
-
*/
|
|
147453
|
-
readonly circleId: string
|
|
147454
|
-
|
|
147455
|
-
/**
|
|
147456
|
-
* The account identifier
|
|
147457
|
-
*/
|
|
147458
|
-
readonly accountId: string
|
|
147459
|
-
|
|
147460
|
-
readonly threadCircleAccountUpdateInputs: ThreadCircleAccountUpdateInputs
|
|
147461
|
-
}
|
|
147462
|
-
|
|
147463
|
-
/**
|
|
147464
|
-
* ThreadsCirclesAccountsApi - object-oriented interface
|
|
147465
|
-
*/
|
|
147466
|
-
export class ThreadsCirclesAccountsApi extends BaseAPI {
|
|
147467
|
-
/**
|
|
147468
|
-
* Create Thread Circle Account endpoint
|
|
147469
|
-
* @summary Create Thread Circle Account
|
|
147470
|
-
* @param {ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147471
|
-
* @param {*} [options] Override http request option.
|
|
147472
|
-
* @throws {RequiredError}
|
|
147473
|
-
*/
|
|
147474
|
-
public createThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiCreateThreadCircleAccountRequest, options?: RawAxiosRequestConfig) {
|
|
147475
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).createThreadCircleAccount(requestParameters.circleId, requestParameters.threadCircleAccountCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
147476
|
-
}
|
|
147477
|
-
|
|
147478
|
-
/**
|
|
147479
|
-
* Delete Thread Circle Account endpoint
|
|
147480
|
-
* @summary Delete Thread Circle Account
|
|
147481
|
-
* @param {ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147482
|
-
* @param {*} [options] Override http request option.
|
|
147483
|
-
* @throws {RequiredError}
|
|
147484
|
-
*/
|
|
147485
|
-
public deleteThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiDeleteThreadCircleAccountRequest, options?: RawAxiosRequestConfig) {
|
|
147486
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).deleteThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
147487
|
-
}
|
|
147488
|
-
|
|
147489
|
-
/**
|
|
147490
|
-
* Get Thread Circle Account endpoint
|
|
147491
|
-
* @summary Get Thread Circle Account
|
|
147492
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147493
|
-
* @param {*} [options] Override http request option.
|
|
147494
|
-
* @throws {RequiredError}
|
|
147495
|
-
*/
|
|
147496
|
-
public getThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiGetThreadCircleAccountRequest, options?: RawAxiosRequestConfig) {
|
|
147497
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).getThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
147498
|
-
}
|
|
147499
|
-
|
|
147500
|
-
/**
|
|
147501
|
-
* Get Thread Circle Accounts endpoint
|
|
147502
|
-
* @summary Get Thread Circle Accounts
|
|
147503
|
-
* @param {ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest} requestParameters Request parameters.
|
|
147504
|
-
* @param {*} [options] Override http request option.
|
|
147505
|
-
* @throws {RequiredError}
|
|
147506
|
-
*/
|
|
147507
|
-
public getThreadCircleAccounts(requestParameters: ThreadsCirclesAccountsApiGetThreadCircleAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
147508
|
-
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));
|
|
147509
|
-
}
|
|
147510
|
-
|
|
147511
|
-
/**
|
|
147512
|
-
* Update Thread Circle Account endpoint
|
|
147513
|
-
* @summary Update Thread Circle Account
|
|
147514
|
-
* @param {ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest} requestParameters Request parameters.
|
|
147515
|
-
* @param {*} [options] Override http request option.
|
|
147516
|
-
* @throws {RequiredError}
|
|
147517
|
-
*/
|
|
147518
|
-
public updateThreadCircleAccount(requestParameters: ThreadsCirclesAccountsApiUpdateThreadCircleAccountRequest, options?: RawAxiosRequestConfig) {
|
|
147519
|
-
return ThreadsCirclesAccountsApiFp(this.configuration).updateThreadCircleAccount(requestParameters.circleId, requestParameters.accountId, requestParameters.threadCircleAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
147520
|
-
}
|
|
147521
|
-
}
|
|
147522
|
-
|
|
147523
|
-
|
|
147524
|
-
|
|
147525
|
-
/**
|
|
147526
|
-
* ThreadsMembersApi - axios parameter creator
|
|
147527
|
-
*/
|
|
147528
|
-
export const ThreadsMembersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
147529
|
-
return {
|
|
147530
|
-
/**
|
|
147531
|
-
* Get Thread Accounts endpoint
|
|
147532
|
-
* @summary Get Thread Accounts
|
|
147533
|
-
* @param {string} threadId The thread identifier
|
|
147534
|
-
* @param {number} [page] Page number
|
|
147535
|
-
* @param {number} [pageSize] Number of items per page
|
|
147536
|
-
* @param {string} [orderBy] Field to order by
|
|
147537
|
-
* @param {string} [search] Search query
|
|
147538
|
-
* @param {*} [options] Override http request option.
|
|
147539
|
-
* @throws {RequiredError}
|
|
147540
|
-
*/
|
|
147541
|
-
getThreadAccounts: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147542
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
147543
|
-
assertParamExists('getThreadAccounts', 'threadId', threadId)
|
|
147544
|
-
const localVarPath = `/threads/{threadId}/accounts`
|
|
147545
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
147546
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147547
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147548
|
-
let baseOptions;
|
|
147549
|
-
if (configuration) {
|
|
147550
|
-
baseOptions = configuration.baseOptions;
|
|
147551
|
-
}
|
|
147552
|
-
|
|
147553
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
147554
|
-
const localVarHeaderParameter = {} as any;
|
|
147555
|
-
const localVarQueryParameter = {} as any;
|
|
147556
|
-
|
|
147557
|
-
// authentication ApiKeyAuth required
|
|
147558
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147559
|
-
|
|
147560
|
-
// authentication OrganizationId required
|
|
147561
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147562
|
-
|
|
147563
|
-
if (page !== undefined) {
|
|
147564
|
-
localVarQueryParameter['page'] = page;
|
|
147565
|
-
}
|
|
147566
|
-
|
|
147567
|
-
if (pageSize !== undefined) {
|
|
147568
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
147569
|
-
}
|
|
147570
|
-
|
|
147571
|
-
if (orderBy !== undefined) {
|
|
147572
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
147573
|
-
}
|
|
147574
|
-
|
|
147575
|
-
if (search !== undefined) {
|
|
147576
|
-
localVarQueryParameter['search'] = search;
|
|
147577
|
-
}
|
|
147578
|
-
|
|
147579
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147580
|
-
|
|
147581
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147582
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147583
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147584
|
-
|
|
147585
|
-
return {
|
|
147586
|
-
url: toPathString(localVarUrlObj),
|
|
147587
|
-
options: localVarRequestOptions,
|
|
147588
|
-
};
|
|
147589
|
-
},
|
|
147590
|
-
/**
|
|
147591
|
-
* Get Thread Members endpoint
|
|
147592
|
-
* @summary Get Thread Members
|
|
147593
|
-
* @param {string} threadId The thread identifier
|
|
147594
|
-
* @param {number} [page] Page number
|
|
147595
|
-
* @param {number} [pageSize] Number of items per page
|
|
147596
|
-
* @param {string} [orderBy] Field to order by
|
|
147597
|
-
* @param {string} [search] Search query
|
|
147598
|
-
* @param {*} [options] Override http request option.
|
|
147599
|
-
* @throws {RequiredError}
|
|
147600
|
-
*/
|
|
147601
|
-
getThreadMembers: async (threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147602
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
147603
|
-
assertParamExists('getThreadMembers', 'threadId', threadId)
|
|
147604
|
-
const localVarPath = `/threads/{threadId}/members`
|
|
147605
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)));
|
|
147606
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147607
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147608
|
-
let baseOptions;
|
|
147609
|
-
if (configuration) {
|
|
147610
|
-
baseOptions = configuration.baseOptions;
|
|
147611
|
-
}
|
|
147612
|
-
|
|
147613
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
147614
|
-
const localVarHeaderParameter = {} as any;
|
|
147615
|
-
const localVarQueryParameter = {} as any;
|
|
147616
|
-
|
|
147617
|
-
// authentication ApiKeyAuth required
|
|
147618
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147619
|
-
|
|
147620
|
-
// authentication OrganizationId required
|
|
147621
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147622
|
-
|
|
147623
|
-
if (page !== undefined) {
|
|
147624
|
-
localVarQueryParameter['page'] = page;
|
|
147625
|
-
}
|
|
147626
|
-
|
|
147627
|
-
if (pageSize !== undefined) {
|
|
147628
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
147629
|
-
}
|
|
147630
|
-
|
|
147631
|
-
if (orderBy !== undefined) {
|
|
147632
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
147633
|
-
}
|
|
147634
|
-
|
|
147635
|
-
if (search !== undefined) {
|
|
147636
|
-
localVarQueryParameter['search'] = search;
|
|
147637
|
-
}
|
|
147638
|
-
|
|
147639
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147640
|
-
|
|
147641
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147642
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147643
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147644
|
-
|
|
147645
|
-
return {
|
|
147646
|
-
url: toPathString(localVarUrlObj),
|
|
147647
|
-
options: localVarRequestOptions,
|
|
147648
|
-
};
|
|
147649
|
-
},
|
|
147650
|
-
/**
|
|
147651
|
-
* Update Thread Member endpoint
|
|
147652
|
-
* @summary Update Thread Member
|
|
147653
|
-
* @param {string} threadId The thread identifier
|
|
147654
|
-
* @param {string} accountId The account identifier
|
|
147655
|
-
* @param {ThreadMemberUpdateInputs} threadMemberUpdateInputs
|
|
147656
|
-
* @param {*} [options] Override http request option.
|
|
147657
|
-
* @throws {RequiredError}
|
|
147658
|
-
*/
|
|
147659
|
-
updateThreadMember: async (threadId: string, accountId: string, threadMemberUpdateInputs: ThreadMemberUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147660
|
-
// verify required parameter 'threadId' is not null or undefined
|
|
147661
|
-
assertParamExists('updateThreadMember', 'threadId', threadId)
|
|
147662
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
147663
|
-
assertParamExists('updateThreadMember', 'accountId', accountId)
|
|
147664
|
-
// verify required parameter 'threadMemberUpdateInputs' is not null or undefined
|
|
147665
|
-
assertParamExists('updateThreadMember', 'threadMemberUpdateInputs', threadMemberUpdateInputs)
|
|
147666
|
-
const localVarPath = `/threads/{threadId}/members/{accountId}`
|
|
147667
|
-
.replace(`{${"threadId"}}`, encodeURIComponent(String(threadId)))
|
|
147668
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
147669
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147670
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147671
|
-
let baseOptions;
|
|
147672
|
-
if (configuration) {
|
|
147673
|
-
baseOptions = configuration.baseOptions;
|
|
147674
|
-
}
|
|
147675
|
-
|
|
147676
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
147677
|
-
const localVarHeaderParameter = {} as any;
|
|
147678
|
-
const localVarQueryParameter = {} as any;
|
|
147679
|
-
|
|
147680
|
-
// authentication ApiKeyAuth required
|
|
147681
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
147682
|
-
|
|
147683
|
-
// authentication OrganizationId required
|
|
147684
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
147685
|
-
|
|
147686
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
147687
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147688
|
-
|
|
147689
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147690
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147691
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147692
|
-
localVarRequestOptions.data = serializeDataIfNeeded(threadMemberUpdateInputs, localVarRequestOptions, configuration)
|
|
147693
|
-
|
|
147694
|
-
return {
|
|
147695
|
-
url: toPathString(localVarUrlObj),
|
|
147696
|
-
options: localVarRequestOptions,
|
|
147697
|
-
};
|
|
147698
|
-
},
|
|
147699
|
-
}
|
|
147700
|
-
};
|
|
147701
|
-
|
|
147702
|
-
/**
|
|
147703
|
-
* ThreadsMembersApi - functional programming interface
|
|
147704
|
-
*/
|
|
147705
|
-
export const ThreadsMembersApiFp = function(configuration?: Configuration) {
|
|
147706
|
-
const localVarAxiosParamCreator = ThreadsMembersApiAxiosParamCreator(configuration)
|
|
147707
|
-
return {
|
|
147708
146202
|
/**
|
|
147709
146203
|
* Get Thread Accounts endpoint
|
|
147710
146204
|
* @summary Get Thread Accounts
|
|
@@ -147719,117 +146213,85 @@ export const ThreadsMembersApiFp = function(configuration?: Configuration) {
|
|
|
147719
146213
|
async getThreadAccounts(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
|
|
147720
146214
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadAccounts(threadId, page, pageSize, orderBy, search, options);
|
|
147721
146215
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147722
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
146216
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.getThreadAccounts']?.[localVarOperationServerIndex]?.url;
|
|
147723
146217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147724
146218
|
},
|
|
147725
146219
|
/**
|
|
147726
|
-
*
|
|
147727
|
-
* @summary
|
|
147728
|
-
* @param {string} threadId The thread identifier
|
|
147729
|
-
* @param {number} [page] Page number
|
|
147730
|
-
* @param {number} [pageSize] Number of items per page
|
|
147731
|
-
* @param {string} [orderBy] Field to order by
|
|
147732
|
-
* @param {string} [search] Search query
|
|
147733
|
-
* @param {*} [options] Override http request option.
|
|
147734
|
-
* @throws {RequiredError}
|
|
147735
|
-
*/
|
|
147736
|
-
async getThreadMembers(threadId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetThreadMembers200Response>> {
|
|
147737
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getThreadMembers(threadId, page, pageSize, orderBy, search, options);
|
|
147738
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147739
|
-
const localVarOperationServerBasePath = operationServerMap['ThreadsMembersApi.getThreadMembers']?.[localVarOperationServerIndex]?.url;
|
|
147740
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147741
|
-
},
|
|
147742
|
-
/**
|
|
147743
|
-
* Update Thread Member endpoint
|
|
147744
|
-
* @summary Update Thread Member
|
|
146220
|
+
* Update Thread Account endpoint
|
|
146221
|
+
* @summary Update Thread Account
|
|
147745
146222
|
* @param {string} threadId The thread identifier
|
|
147746
146223
|
* @param {string} accountId The account identifier
|
|
147747
|
-
* @param {
|
|
146224
|
+
* @param {ThreadAccountUpdateInputs} threadAccountUpdateInputs
|
|
147748
146225
|
* @param {*} [options] Override http request option.
|
|
147749
146226
|
* @throws {RequiredError}
|
|
147750
146227
|
*/
|
|
147751
|
-
async
|
|
147752
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
146228
|
+
async updateThreadAccount(threadId: string, accountId: string, threadAccountUpdateInputs: ThreadAccountUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateThreadAccount200Response>> {
|
|
146229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateThreadAccount(threadId, accountId, threadAccountUpdateInputs, options);
|
|
147753
146230
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
147754
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
146231
|
+
const localVarOperationServerBasePath = operationServerMap['ThreadsAccountsApi.updateThreadAccount']?.[localVarOperationServerIndex]?.url;
|
|
147755
146232
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
147756
146233
|
},
|
|
147757
146234
|
}
|
|
147758
146235
|
};
|
|
147759
146236
|
|
|
147760
146237
|
/**
|
|
147761
|
-
*
|
|
146238
|
+
* ThreadsAccountsApi - factory interface
|
|
147762
146239
|
*/
|
|
147763
|
-
export const
|
|
147764
|
-
const localVarFp =
|
|
146240
|
+
export const ThreadsAccountsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
146241
|
+
const localVarFp = ThreadsAccountsApiFp(configuration)
|
|
147765
146242
|
return {
|
|
147766
146243
|
/**
|
|
147767
|
-
*
|
|
147768
|
-
* @summary
|
|
147769
|
-
* @param {
|
|
146244
|
+
* Delete Thread Account endpoint
|
|
146245
|
+
* @summary Delete Thread Account
|
|
146246
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
147770
146247
|
* @param {*} [options] Override http request option.
|
|
147771
146248
|
* @throws {RequiredError}
|
|
147772
146249
|
*/
|
|
147773
|
-
|
|
147774
|
-
return localVarFp.
|
|
146250
|
+
deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
146251
|
+
return localVarFp.deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
147775
146252
|
},
|
|
147776
146253
|
/**
|
|
147777
|
-
* Get Thread
|
|
147778
|
-
* @summary Get Thread
|
|
147779
|
-
* @param {
|
|
146254
|
+
* Get Thread Accounts endpoint
|
|
146255
|
+
* @summary Get Thread Accounts
|
|
146256
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
147780
146257
|
* @param {*} [options] Override http request option.
|
|
147781
146258
|
* @throws {RequiredError}
|
|
147782
146259
|
*/
|
|
147783
|
-
|
|
147784
|
-
return localVarFp.
|
|
146260
|
+
getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
|
|
146261
|
+
return localVarFp.getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
147785
146262
|
},
|
|
147786
146263
|
/**
|
|
147787
|
-
* Update Thread
|
|
147788
|
-
* @summary Update Thread
|
|
147789
|
-
* @param {
|
|
146264
|
+
* Update Thread Account endpoint
|
|
146265
|
+
* @summary Update Thread Account
|
|
146266
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
147790
146267
|
* @param {*} [options] Override http request option.
|
|
147791
146268
|
* @throws {RequiredError}
|
|
147792
146269
|
*/
|
|
147793
|
-
|
|
147794
|
-
return localVarFp.
|
|
146270
|
+
updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateThreadAccount200Response> {
|
|
146271
|
+
return localVarFp.updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(axios, basePath));
|
|
147795
146272
|
},
|
|
147796
146273
|
};
|
|
147797
146274
|
};
|
|
147798
146275
|
|
|
147799
146276
|
/**
|
|
147800
|
-
* Request parameters for
|
|
146277
|
+
* Request parameters for deleteThreadAccount operation in ThreadsAccountsApi.
|
|
147801
146278
|
*/
|
|
147802
|
-
export interface
|
|
146279
|
+
export interface ThreadsAccountsApiDeleteThreadAccountRequest {
|
|
147803
146280
|
/**
|
|
147804
146281
|
* The thread identifier
|
|
147805
146282
|
*/
|
|
147806
146283
|
readonly threadId: string
|
|
147807
146284
|
|
|
147808
146285
|
/**
|
|
147809
|
-
*
|
|
147810
|
-
*/
|
|
147811
|
-
readonly page?: number
|
|
147812
|
-
|
|
147813
|
-
/**
|
|
147814
|
-
* Number of items per page
|
|
147815
|
-
*/
|
|
147816
|
-
readonly pageSize?: number
|
|
147817
|
-
|
|
147818
|
-
/**
|
|
147819
|
-
* Field to order by
|
|
147820
|
-
*/
|
|
147821
|
-
readonly orderBy?: string
|
|
147822
|
-
|
|
147823
|
-
/**
|
|
147824
|
-
* Search query
|
|
146286
|
+
* The account identifier
|
|
147825
146287
|
*/
|
|
147826
|
-
readonly
|
|
146288
|
+
readonly accountId: string
|
|
147827
146289
|
}
|
|
147828
146290
|
|
|
147829
146291
|
/**
|
|
147830
|
-
* Request parameters for
|
|
146292
|
+
* Request parameters for getThreadAccounts operation in ThreadsAccountsApi.
|
|
147831
146293
|
*/
|
|
147832
|
-
export interface
|
|
146294
|
+
export interface ThreadsAccountsApiGetThreadAccountsRequest {
|
|
147833
146295
|
/**
|
|
147834
146296
|
* The thread identifier
|
|
147835
146297
|
*/
|
|
@@ -147857,9 +146319,9 @@ export interface ThreadsMembersApiGetThreadMembersRequest {
|
|
|
147857
146319
|
}
|
|
147858
146320
|
|
|
147859
146321
|
/**
|
|
147860
|
-
* Request parameters for
|
|
146322
|
+
* Request parameters for updateThreadAccount operation in ThreadsAccountsApi.
|
|
147861
146323
|
*/
|
|
147862
|
-
export interface
|
|
146324
|
+
export interface ThreadsAccountsApiUpdateThreadAccountRequest {
|
|
147863
146325
|
/**
|
|
147864
146326
|
* The thread identifier
|
|
147865
146327
|
*/
|
|
@@ -147870,44 +146332,44 @@ export interface ThreadsMembersApiUpdateThreadMemberRequest {
|
|
|
147870
146332
|
*/
|
|
147871
146333
|
readonly accountId: string
|
|
147872
146334
|
|
|
147873
|
-
readonly
|
|
146335
|
+
readonly threadAccountUpdateInputs: ThreadAccountUpdateInputs
|
|
147874
146336
|
}
|
|
147875
146337
|
|
|
147876
146338
|
/**
|
|
147877
|
-
*
|
|
146339
|
+
* ThreadsAccountsApi - object-oriented interface
|
|
147878
146340
|
*/
|
|
147879
|
-
export class
|
|
146341
|
+
export class ThreadsAccountsApi extends BaseAPI {
|
|
147880
146342
|
/**
|
|
147881
|
-
*
|
|
147882
|
-
* @summary
|
|
147883
|
-
* @param {
|
|
146343
|
+
* Delete Thread Account endpoint
|
|
146344
|
+
* @summary Delete Thread Account
|
|
146345
|
+
* @param {ThreadsAccountsApiDeleteThreadAccountRequest} requestParameters Request parameters.
|
|
147884
146346
|
* @param {*} [options] Override http request option.
|
|
147885
146347
|
* @throws {RequiredError}
|
|
147886
146348
|
*/
|
|
147887
|
-
public
|
|
147888
|
-
return
|
|
146349
|
+
public deleteThreadAccount(requestParameters: ThreadsAccountsApiDeleteThreadAccountRequest, options?: RawAxiosRequestConfig) {
|
|
146350
|
+
return ThreadsAccountsApiFp(this.configuration).deleteThreadAccount(requestParameters.threadId, requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
147889
146351
|
}
|
|
147890
146352
|
|
|
147891
146353
|
/**
|
|
147892
|
-
* Get Thread
|
|
147893
|
-
* @summary Get Thread
|
|
147894
|
-
* @param {
|
|
146354
|
+
* Get Thread Accounts endpoint
|
|
146355
|
+
* @summary Get Thread Accounts
|
|
146356
|
+
* @param {ThreadsAccountsApiGetThreadAccountsRequest} requestParameters Request parameters.
|
|
147895
146357
|
* @param {*} [options] Override http request option.
|
|
147896
146358
|
* @throws {RequiredError}
|
|
147897
146359
|
*/
|
|
147898
|
-
public
|
|
147899
|
-
return
|
|
146360
|
+
public getThreadAccounts(requestParameters: ThreadsAccountsApiGetThreadAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
146361
|
+
return ThreadsAccountsApiFp(this.configuration).getThreadAccounts(requestParameters.threadId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
147900
146362
|
}
|
|
147901
146363
|
|
|
147902
146364
|
/**
|
|
147903
|
-
* Update Thread
|
|
147904
|
-
* @summary Update Thread
|
|
147905
|
-
* @param {
|
|
146365
|
+
* Update Thread Account endpoint
|
|
146366
|
+
* @summary Update Thread Account
|
|
146367
|
+
* @param {ThreadsAccountsApiUpdateThreadAccountRequest} requestParameters Request parameters.
|
|
147906
146368
|
* @param {*} [options] Override http request option.
|
|
147907
146369
|
* @throws {RequiredError}
|
|
147908
146370
|
*/
|
|
147909
|
-
public
|
|
147910
|
-
return
|
|
146371
|
+
public updateThreadAccount(requestParameters: ThreadsAccountsApiUpdateThreadAccountRequest, options?: RawAxiosRequestConfig) {
|
|
146372
|
+
return ThreadsAccountsApiFp(this.configuration).updateThreadAccount(requestParameters.threadId, requestParameters.accountId, requestParameters.threadAccountUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
147911
146373
|
}
|
|
147912
146374
|
}
|
|
147913
146375
|
|