@takaro/apiclient 0.0.0-dev.d1df02e → 0.0.0-dev.d3b14aa
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/dist/generated/api.d.ts +462 -277
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +4894 -4738
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -0
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +13 -0
- package/dist/lib/baseClient.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +857 -542
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +16 -0
package/src/generated/api.ts
CHANGED
|
@@ -2264,6 +2264,30 @@ export interface DomainCreateInputDTO {
|
|
|
2264
2264
|
* @memberof DomainCreateInputDTO
|
|
2265
2265
|
*/
|
|
2266
2266
|
maxFunctionsInModule?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {number}
|
|
2270
|
+
* @memberof DomainCreateInputDTO
|
|
2271
|
+
*/
|
|
2272
|
+
maxCustomRoles?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {number}
|
|
2276
|
+
* @memberof DomainCreateInputDTO
|
|
2277
|
+
*/
|
|
2278
|
+
maxDiscordLinkedRoles?: number;
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @type {string}
|
|
2282
|
+
* @memberof DomainCreateInputDTO
|
|
2283
|
+
*/
|
|
2284
|
+
serverRegistrationToken?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {boolean}
|
|
2288
|
+
* @memberof DomainCreateInputDTO
|
|
2289
|
+
*/
|
|
2290
|
+
skipBuiltinSeeding?: boolean;
|
|
2267
2291
|
}
|
|
2268
2292
|
|
|
2269
2293
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2446,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2446
|
* @memberof DomainOutputDTO
|
|
2423
2447
|
*/
|
|
2424
2448
|
maxFunctionsInModule: number;
|
|
2449
|
+
/**
|
|
2450
|
+
*
|
|
2451
|
+
* @type {number}
|
|
2452
|
+
* @memberof DomainOutputDTO
|
|
2453
|
+
*/
|
|
2454
|
+
maxCustomRoles: number;
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof DomainOutputDTO
|
|
2459
|
+
*/
|
|
2460
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2461
|
/**
|
|
2426
2462
|
*
|
|
2427
2463
|
* @type {string}
|
|
@@ -2653,6 +2689,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2689
|
* @memberof DomainUpdateInputDTO
|
|
2654
2690
|
*/
|
|
2655
2691
|
maxFunctionsInModule?: number;
|
|
2692
|
+
/**
|
|
2693
|
+
*
|
|
2694
|
+
* @type {number}
|
|
2695
|
+
* @memberof DomainUpdateInputDTO
|
|
2696
|
+
*/
|
|
2697
|
+
maxCustomRoles?: number;
|
|
2698
|
+
/**
|
|
2699
|
+
*
|
|
2700
|
+
* @type {number}
|
|
2701
|
+
* @memberof DomainUpdateInputDTO
|
|
2702
|
+
*/
|
|
2703
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2704
|
}
|
|
2657
2705
|
|
|
2658
2706
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -3263,6 +3311,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
3263
3311
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3264
3312
|
EventRateLimited: 'event-rate-limited',
|
|
3265
3313
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3314
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3266
3315
|
PlayerConnected: 'player-connected',
|
|
3267
3316
|
PlayerDisconnected: 'player-disconnected',
|
|
3268
3317
|
ChatMessage: 'chat-message',
|
|
@@ -3481,6 +3530,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
3481
3530
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3482
3531
|
EventRateLimited: 'event-rate-limited',
|
|
3483
3532
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3533
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3484
3534
|
PlayerConnected: 'player-connected',
|
|
3485
3535
|
PlayerDisconnected: 'player-disconnected',
|
|
3486
3536
|
ChatMessage: 'chat-message',
|
|
@@ -3851,6 +3901,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3851
3901
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3852
3902
|
EventRateLimited: 'event-rate-limited',
|
|
3853
3903
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3904
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3854
3905
|
PlayerConnected: 'player-connected',
|
|
3855
3906
|
PlayerDisconnected: 'player-disconnected',
|
|
3856
3907
|
ChatMessage: 'chat-message',
|
|
@@ -3883,6 +3934,7 @@ export type EventOutputDTOMeta =
|
|
|
3883
3934
|
| TakaroEventGameserverDeleted
|
|
3884
3935
|
| TakaroEventGameserverUpdated
|
|
3885
3936
|
| TakaroEventHookExecuted
|
|
3937
|
+
| TakaroEventInviteLinkCreated
|
|
3886
3938
|
| TakaroEventModuleCreated
|
|
3887
3939
|
| TakaroEventModuleDeleted
|
|
3888
3940
|
| TakaroEventModuleInstalled
|
|
@@ -4090,6 +4142,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
4090
4142
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
4091
4143
|
EventRateLimited: 'event-rate-limited',
|
|
4092
4144
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
4145
|
+
InviteLinkCreated: 'invite-link-created',
|
|
4093
4146
|
PlayerConnected: 'player-connected',
|
|
4094
4147
|
PlayerDisconnected: 'player-disconnected',
|
|
4095
4148
|
ChatMessage: 'chat-message',
|
|
@@ -5584,6 +5637,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
5584
5637
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5585
5638
|
EventRateLimited: 'event-rate-limited',
|
|
5586
5639
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5640
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5587
5641
|
} as const;
|
|
5588
5642
|
|
|
5589
5643
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -5747,6 +5801,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
5747
5801
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5748
5802
|
EventRateLimited: 'event-rate-limited',
|
|
5749
5803
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5804
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5750
5805
|
} as const;
|
|
5751
5806
|
|
|
5752
5807
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -5855,6 +5910,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
5855
5910
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5856
5911
|
EventRateLimited: 'event-rate-limited',
|
|
5857
5912
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5913
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5858
5914
|
} as const;
|
|
5859
5915
|
|
|
5860
5916
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -6035,6 +6091,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
6035
6091
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6036
6092
|
EventRateLimited: 'event-rate-limited',
|
|
6037
6093
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6094
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6038
6095
|
} as const;
|
|
6039
6096
|
|
|
6040
6097
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -6125,6 +6182,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
6125
6182
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6126
6183
|
EventRateLimited: 'event-rate-limited',
|
|
6127
6184
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6185
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6128
6186
|
} as const;
|
|
6129
6187
|
|
|
6130
6188
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -6457,6 +6515,7 @@ export const IHookEventTypeEnum = {
|
|
|
6457
6515
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6458
6516
|
EventRateLimited: 'event-rate-limited',
|
|
6459
6517
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6518
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6460
6519
|
} as const;
|
|
6461
6520
|
|
|
6462
6521
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -6886,25 +6945,6 @@ export interface InviteCreateDTO {
|
|
|
6886
6945
|
*/
|
|
6887
6946
|
email: string;
|
|
6888
6947
|
}
|
|
6889
|
-
/**
|
|
6890
|
-
*
|
|
6891
|
-
* @export
|
|
6892
|
-
* @interface InviteOutputDTO
|
|
6893
|
-
*/
|
|
6894
|
-
export interface InviteOutputDTO {
|
|
6895
|
-
/**
|
|
6896
|
-
*
|
|
6897
|
-
* @type {string}
|
|
6898
|
-
* @memberof InviteOutputDTO
|
|
6899
|
-
*/
|
|
6900
|
-
botInvite: string;
|
|
6901
|
-
/**
|
|
6902
|
-
*
|
|
6903
|
-
* @type {string}
|
|
6904
|
-
* @memberof InviteOutputDTO
|
|
6905
|
-
*/
|
|
6906
|
-
devServer: string;
|
|
6907
|
-
}
|
|
6908
6948
|
/**
|
|
6909
6949
|
*
|
|
6910
6950
|
* @export
|
|
@@ -7048,27 +7088,28 @@ export interface InviteLinkCreateResultDTOAPI {
|
|
|
7048
7088
|
/**
|
|
7049
7089
|
*
|
|
7050
7090
|
* @export
|
|
7051
|
-
* @interface
|
|
7091
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7052
7092
|
*/
|
|
7053
|
-
export interface
|
|
7054
|
-
/**
|
|
7055
|
-
*
|
|
7056
|
-
* @type {string}
|
|
7057
|
-
* @memberof InviteLinkOutputDTO
|
|
7058
|
-
*/
|
|
7059
|
-
id: string;
|
|
7093
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7060
7094
|
/**
|
|
7061
7095
|
*
|
|
7062
|
-
* @type {
|
|
7063
|
-
* @memberof
|
|
7096
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7097
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7064
7098
|
*/
|
|
7065
|
-
|
|
7099
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7066
7100
|
/**
|
|
7067
7101
|
*
|
|
7068
|
-
* @type {
|
|
7069
|
-
* @memberof
|
|
7102
|
+
* @type {MetadataOutput}
|
|
7103
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7070
7104
|
*/
|
|
7071
|
-
|
|
7105
|
+
meta: MetadataOutput;
|
|
7106
|
+
}
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @export
|
|
7110
|
+
* @interface InviteLinkOutputDTO
|
|
7111
|
+
*/
|
|
7112
|
+
export interface InviteLinkOutputDTO {
|
|
7072
7113
|
/**
|
|
7073
7114
|
*
|
|
7074
7115
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -7117,6 +7158,24 @@ export interface InviteLinkOutputDTO {
|
|
|
7117
7158
|
* @memberof InviteLinkOutputDTO
|
|
7118
7159
|
*/
|
|
7119
7160
|
roles: Array<InviteLinkRoleDTO>;
|
|
7161
|
+
/**
|
|
7162
|
+
*
|
|
7163
|
+
* @type {string}
|
|
7164
|
+
* @memberof InviteLinkOutputDTO
|
|
7165
|
+
*/
|
|
7166
|
+
id: string;
|
|
7167
|
+
/**
|
|
7168
|
+
*
|
|
7169
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7170
|
+
* @memberof InviteLinkOutputDTO
|
|
7171
|
+
*/
|
|
7172
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7176
|
+
* @memberof InviteLinkOutputDTO
|
|
7177
|
+
*/
|
|
7178
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7120
7179
|
}
|
|
7121
7180
|
|
|
7122
7181
|
export const InviteLinkOutputDTOStatusEnum = {
|
|
@@ -7148,25 +7207,6 @@ export interface InviteLinkOutputDTOAPI {
|
|
|
7148
7207
|
*/
|
|
7149
7208
|
meta: MetadataOutput;
|
|
7150
7209
|
}
|
|
7151
|
-
/**
|
|
7152
|
-
*
|
|
7153
|
-
* @export
|
|
7154
|
-
* @interface InviteLinkOutputArrayDTOAPI
|
|
7155
|
-
*/
|
|
7156
|
-
export interface InviteLinkOutputArrayDTOAPI {
|
|
7157
|
-
/**
|
|
7158
|
-
*
|
|
7159
|
-
* @type {Array<InviteLinkOutputDTO>}
|
|
7160
|
-
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7161
|
-
*/
|
|
7162
|
-
data: Array<InviteLinkOutputDTO>;
|
|
7163
|
-
/**
|
|
7164
|
-
*
|
|
7165
|
-
* @type {MetadataOutput}
|
|
7166
|
-
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7167
|
-
*/
|
|
7168
|
-
meta: MetadataOutput;
|
|
7169
|
-
}
|
|
7170
7210
|
/**
|
|
7171
7211
|
*
|
|
7172
7212
|
* @export
|
|
@@ -7364,15 +7404,21 @@ export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
|
7364
7404
|
/**
|
|
7365
7405
|
*
|
|
7366
7406
|
* @export
|
|
7367
|
-
* @interface
|
|
7407
|
+
* @interface InviteOutputDTO
|
|
7368
7408
|
*/
|
|
7369
|
-
export interface
|
|
7409
|
+
export interface InviteOutputDTO {
|
|
7370
7410
|
/**
|
|
7371
7411
|
*
|
|
7372
7412
|
* @type {string}
|
|
7373
|
-
* @memberof
|
|
7413
|
+
* @memberof InviteOutputDTO
|
|
7374
7414
|
*/
|
|
7375
|
-
|
|
7415
|
+
botInvite: string;
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @type {string}
|
|
7419
|
+
* @memberof InviteOutputDTO
|
|
7420
|
+
*/
|
|
7421
|
+
devServer: string;
|
|
7376
7422
|
}
|
|
7377
7423
|
/**
|
|
7378
7424
|
*
|
|
@@ -12548,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
12548
12594
|
|
|
12549
12595
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
12550
12596
|
|
|
12597
|
+
/**
|
|
12598
|
+
*
|
|
12599
|
+
* @export
|
|
12600
|
+
* @interface RedeemInputDTO
|
|
12601
|
+
*/
|
|
12602
|
+
export interface RedeemInputDTO {
|
|
12603
|
+
/**
|
|
12604
|
+
*
|
|
12605
|
+
* @type {string}
|
|
12606
|
+
* @memberof RedeemInputDTO
|
|
12607
|
+
*/
|
|
12608
|
+
token: string;
|
|
12609
|
+
}
|
|
12551
12610
|
/**
|
|
12552
12611
|
*
|
|
12553
12612
|
* @export
|
|
@@ -13360,7 +13419,7 @@ export interface RoleUpdateInputDTO {
|
|
|
13360
13419
|
* @type {string}
|
|
13361
13420
|
* @memberof RoleUpdateInputDTO
|
|
13362
13421
|
*/
|
|
13363
|
-
linkedDiscordRoleId?: string;
|
|
13422
|
+
linkedDiscordRoleId?: string | null;
|
|
13364
13423
|
}
|
|
13365
13424
|
/**
|
|
13366
13425
|
*
|
|
@@ -16280,6 +16339,19 @@ export interface TakaroEventHookExecuted {
|
|
|
16280
16339
|
*/
|
|
16281
16340
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16282
16341
|
}
|
|
16342
|
+
/**
|
|
16343
|
+
*
|
|
16344
|
+
* @export
|
|
16345
|
+
* @interface TakaroEventInviteLinkCreated
|
|
16346
|
+
*/
|
|
16347
|
+
export interface TakaroEventInviteLinkCreated {
|
|
16348
|
+
/**
|
|
16349
|
+
*
|
|
16350
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16351
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16352
|
+
*/
|
|
16353
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16354
|
+
}
|
|
16283
16355
|
/**
|
|
16284
16356
|
*
|
|
16285
16357
|
* @export
|
|
@@ -17569,6 +17641,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
17569
17641
|
*/
|
|
17570
17642
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17571
17643
|
}
|
|
17644
|
+
/**
|
|
17645
|
+
*
|
|
17646
|
+
* @export
|
|
17647
|
+
* @interface UserCountOutputDTO
|
|
17648
|
+
*/
|
|
17649
|
+
export interface UserCountOutputDTO {
|
|
17650
|
+
/**
|
|
17651
|
+
*
|
|
17652
|
+
* @type {number}
|
|
17653
|
+
* @memberof UserCountOutputDTO
|
|
17654
|
+
*/
|
|
17655
|
+
count: number;
|
|
17656
|
+
}
|
|
17657
|
+
/**
|
|
17658
|
+
*
|
|
17659
|
+
* @export
|
|
17660
|
+
* @interface UserCountOutputDTOAPI
|
|
17661
|
+
*/
|
|
17662
|
+
export interface UserCountOutputDTOAPI {
|
|
17663
|
+
/**
|
|
17664
|
+
*
|
|
17665
|
+
* @type {UserCountOutputDTO}
|
|
17666
|
+
* @memberof UserCountOutputDTOAPI
|
|
17667
|
+
*/
|
|
17668
|
+
data: UserCountOutputDTO;
|
|
17669
|
+
/**
|
|
17670
|
+
*
|
|
17671
|
+
* @type {MetadataOutput}
|
|
17672
|
+
* @memberof UserCountOutputDTOAPI
|
|
17673
|
+
*/
|
|
17674
|
+
meta: MetadataOutput;
|
|
17675
|
+
}
|
|
17572
17676
|
/**
|
|
17573
17677
|
*
|
|
17574
17678
|
* @export
|
|
@@ -17716,30 +17820,36 @@ export interface UserOutputDTO {
|
|
|
17716
17820
|
* @memberof UserOutputDTO
|
|
17717
17821
|
*/
|
|
17718
17822
|
isDashboardUser: boolean;
|
|
17823
|
+
/**
|
|
17824
|
+
*
|
|
17825
|
+
* @type {boolean}
|
|
17826
|
+
* @memberof UserOutputDTO
|
|
17827
|
+
*/
|
|
17828
|
+
isSupportAccount: boolean;
|
|
17719
17829
|
/**
|
|
17720
17830
|
*
|
|
17721
17831
|
* @type {string}
|
|
17722
17832
|
* @memberof UserOutputDTO
|
|
17723
17833
|
*/
|
|
17724
|
-
|
|
17834
|
+
inviteLinkId?: string;
|
|
17725
17835
|
/**
|
|
17726
17836
|
*
|
|
17727
|
-
* @type {
|
|
17837
|
+
* @type {string}
|
|
17728
17838
|
* @memberof UserOutputDTO
|
|
17729
17839
|
*/
|
|
17730
|
-
|
|
17840
|
+
id: string;
|
|
17731
17841
|
/**
|
|
17732
17842
|
*
|
|
17733
17843
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17734
17844
|
* @memberof UserOutputDTO
|
|
17735
17845
|
*/
|
|
17736
|
-
|
|
17846
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17737
17847
|
/**
|
|
17738
17848
|
*
|
|
17739
|
-
* @type {
|
|
17849
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17740
17850
|
* @memberof UserOutputDTO
|
|
17741
17851
|
*/
|
|
17742
|
-
|
|
17852
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17743
17853
|
}
|
|
17744
17854
|
/**
|
|
17745
17855
|
*
|
|
@@ -17838,6 +17948,12 @@ export interface UserOutputWithRolesDTO {
|
|
|
17838
17948
|
* @memberof UserOutputWithRolesDTO
|
|
17839
17949
|
*/
|
|
17840
17950
|
isDashboardUser: boolean;
|
|
17951
|
+
/**
|
|
17952
|
+
*
|
|
17953
|
+
* @type {boolean}
|
|
17954
|
+
* @memberof UserOutputWithRolesDTO
|
|
17955
|
+
*/
|
|
17956
|
+
isSupportAccount: boolean;
|
|
17841
17957
|
/**
|
|
17842
17958
|
*
|
|
17843
17959
|
* @type {string}
|
|
@@ -19069,7 +19185,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19069
19185
|
};
|
|
19070
19186
|
},
|
|
19071
19187
|
/**
|
|
19072
|
-
* Normalized 0-1 scores across
|
|
19188
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19073
19189
|
* @summary Get module health scores
|
|
19074
19190
|
* @param {string} [startDate]
|
|
19075
19191
|
* @param {string} [endDate]
|
|
@@ -20256,7 +20372,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20256
20372
|
},
|
|
20257
20373
|
/**
|
|
20258
20374
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20259
|
-
* @summary Get top modules by
|
|
20375
|
+
* @summary Get top modules by execution volume
|
|
20260
20376
|
* @param {string} [startDate]
|
|
20261
20377
|
* @param {string} [endDate]
|
|
20262
20378
|
* @param {string} [gameServerId]
|
|
@@ -20790,7 +20906,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20790
20906
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20791
20907
|
},
|
|
20792
20908
|
/**
|
|
20793
|
-
* Normalized 0-1 scores across
|
|
20909
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20794
20910
|
* @summary Get module health scores
|
|
20795
20911
|
* @param {string} [startDate]
|
|
20796
20912
|
* @param {string} [endDate]
|
|
@@ -21542,7 +21658,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
21542
21658
|
},
|
|
21543
21659
|
/**
|
|
21544
21660
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21545
|
-
* @summary Get top modules by
|
|
21661
|
+
* @summary Get top modules by execution volume
|
|
21546
21662
|
* @param {string} [startDate]
|
|
21547
21663
|
* @param {string} [endDate]
|
|
21548
21664
|
* @param {string} [gameServerId]
|
|
@@ -21864,7 +21980,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21864
21980
|
.then((request) => request(axios, basePath));
|
|
21865
21981
|
},
|
|
21866
21982
|
/**
|
|
21867
|
-
* Normalized 0-1 scores across
|
|
21983
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21868
21984
|
* @summary Get module health scores
|
|
21869
21985
|
* @param {string} [startDate]
|
|
21870
21986
|
* @param {string} [endDate]
|
|
@@ -22308,7 +22424,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
22308
22424
|
},
|
|
22309
22425
|
/**
|
|
22310
22426
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22311
|
-
* @summary Get top modules by
|
|
22427
|
+
* @summary Get top modules by execution volume
|
|
22312
22428
|
* @param {string} [startDate]
|
|
22313
22429
|
* @param {string} [endDate]
|
|
22314
22430
|
* @param {string} [gameServerId]
|
|
@@ -22627,7 +22743,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22627
22743
|
}
|
|
22628
22744
|
|
|
22629
22745
|
/**
|
|
22630
|
-
* Normalized 0-1 scores across
|
|
22746
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
22631
22747
|
* @summary Get module health scores
|
|
22632
22748
|
* @param {string} [startDate]
|
|
22633
22749
|
* @param {string} [endDate]
|
|
@@ -23113,7 +23229,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
23113
23229
|
|
|
23114
23230
|
/**
|
|
23115
23231
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
23116
|
-
* @summary Get top modules by
|
|
23232
|
+
* @summary Get top modules by execution volume
|
|
23117
23233
|
* @param {string} [startDate]
|
|
23118
23234
|
* @param {string} [endDate]
|
|
23119
23235
|
* @param {string} [gameServerId]
|
|
@@ -26360,6 +26476,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26360
26476
|
options: localVarRequestOptions,
|
|
26361
26477
|
};
|
|
26362
26478
|
},
|
|
26479
|
+
/**
|
|
26480
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26481
|
+
* @summary Create admin invite link for a domain
|
|
26482
|
+
* @param {string} id
|
|
26483
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26484
|
+
* @param {*} [options] Override http request option.
|
|
26485
|
+
* @throws {RequiredError}
|
|
26486
|
+
*/
|
|
26487
|
+
domainControllerCreateInviteLink: async (
|
|
26488
|
+
id: string,
|
|
26489
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26490
|
+
options: RawAxiosRequestConfig = {},
|
|
26491
|
+
): Promise<RequestArgs> => {
|
|
26492
|
+
// verify required parameter 'id' is not null or undefined
|
|
26493
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26494
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26495
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26496
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26497
|
+
let baseOptions;
|
|
26498
|
+
if (configuration) {
|
|
26499
|
+
baseOptions = configuration.baseOptions;
|
|
26500
|
+
}
|
|
26501
|
+
|
|
26502
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26503
|
+
const localVarHeaderParameter = {} as any;
|
|
26504
|
+
const localVarQueryParameter = {} as any;
|
|
26505
|
+
|
|
26506
|
+
// authentication adminAuth required
|
|
26507
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26508
|
+
|
|
26509
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26510
|
+
|
|
26511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26513
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26514
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26515
|
+
inviteLinkCreateInputDTO,
|
|
26516
|
+
localVarRequestOptions,
|
|
26517
|
+
configuration,
|
|
26518
|
+
);
|
|
26519
|
+
|
|
26520
|
+
return {
|
|
26521
|
+
url: toPathString(localVarUrlObj),
|
|
26522
|
+
options: localVarRequestOptions,
|
|
26523
|
+
};
|
|
26524
|
+
},
|
|
26363
26525
|
/**
|
|
26364
26526
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26365
26527
|
* @summary Get one
|
|
@@ -26632,6 +26794,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
26632
26794
|
configuration,
|
|
26633
26795
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
26634
26796
|
},
|
|
26797
|
+
/**
|
|
26798
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26799
|
+
* @summary Create admin invite link for a domain
|
|
26800
|
+
* @param {string} id
|
|
26801
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26802
|
+
* @param {*} [options] Override http request option.
|
|
26803
|
+
* @throws {RequiredError}
|
|
26804
|
+
*/
|
|
26805
|
+
async domainControllerCreateInviteLink(
|
|
26806
|
+
id: string,
|
|
26807
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26808
|
+
options?: RawAxiosRequestConfig,
|
|
26809
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
26810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
26811
|
+
id,
|
|
26812
|
+
inviteLinkCreateInputDTO,
|
|
26813
|
+
options,
|
|
26814
|
+
);
|
|
26815
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26816
|
+
const localVarOperationServerBasePath =
|
|
26817
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
26818
|
+
return (axios, basePath) =>
|
|
26819
|
+
createRequestFunction(
|
|
26820
|
+
localVarAxiosArgs,
|
|
26821
|
+
globalAxios,
|
|
26822
|
+
BASE_PATH,
|
|
26823
|
+
configuration,
|
|
26824
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
26825
|
+
},
|
|
26635
26826
|
/**
|
|
26636
26827
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26637
26828
|
* @summary Get one
|
|
@@ -26806,6 +26997,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
26806
26997
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
26807
26998
|
.then((request) => request(axios, basePath));
|
|
26808
26999
|
},
|
|
27000
|
+
/**
|
|
27001
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27002
|
+
* @summary Create admin invite link for a domain
|
|
27003
|
+
* @param {string} id
|
|
27004
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27005
|
+
* @param {*} [options] Override http request option.
|
|
27006
|
+
* @throws {RequiredError}
|
|
27007
|
+
*/
|
|
27008
|
+
domainControllerCreateInviteLink(
|
|
27009
|
+
id: string,
|
|
27010
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27011
|
+
options?: RawAxiosRequestConfig,
|
|
27012
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27013
|
+
return localVarFp
|
|
27014
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27015
|
+
.then((request) => request(axios, basePath));
|
|
27016
|
+
},
|
|
26809
27017
|
/**
|
|
26810
27018
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26811
27019
|
* @summary Get one
|
|
@@ -26911,6 +27119,25 @@ export class DomainApi extends BaseAPI {
|
|
|
26911
27119
|
.then((request) => request(this.axios, this.basePath));
|
|
26912
27120
|
}
|
|
26913
27121
|
|
|
27122
|
+
/**
|
|
27123
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27124
|
+
* @summary Create admin invite link for a domain
|
|
27125
|
+
* @param {string} id
|
|
27126
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27127
|
+
* @param {*} [options] Override http request option.
|
|
27128
|
+
* @throws {RequiredError}
|
|
27129
|
+
* @memberof DomainApi
|
|
27130
|
+
*/
|
|
27131
|
+
public domainControllerCreateInviteLink(
|
|
27132
|
+
id: string,
|
|
27133
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27134
|
+
options?: RawAxiosRequestConfig,
|
|
27135
|
+
) {
|
|
27136
|
+
return DomainApiFp(this.configuration)
|
|
27137
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27138
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27139
|
+
}
|
|
27140
|
+
|
|
26914
27141
|
/**
|
|
26915
27142
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26916
27143
|
* @summary Get one
|
|
@@ -31744,6 +31971,488 @@ export class HookApi extends BaseAPI {
|
|
|
31744
31971
|
}
|
|
31745
31972
|
}
|
|
31746
31973
|
|
|
31974
|
+
/**
|
|
31975
|
+
* InviteLinkApi - axios parameter creator
|
|
31976
|
+
* @export
|
|
31977
|
+
*/
|
|
31978
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31979
|
+
return {
|
|
31980
|
+
/**
|
|
31981
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
31982
|
+
* @summary Create invite link
|
|
31983
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
31984
|
+
* @param {*} [options] Override http request option.
|
|
31985
|
+
* @throws {RequiredError}
|
|
31986
|
+
*/
|
|
31987
|
+
inviteLinkControllerCreate: async (
|
|
31988
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
31989
|
+
options: RawAxiosRequestConfig = {},
|
|
31990
|
+
): Promise<RequestArgs> => {
|
|
31991
|
+
const localVarPath = `/invite-link`;
|
|
31992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31994
|
+
let baseOptions;
|
|
31995
|
+
if (configuration) {
|
|
31996
|
+
baseOptions = configuration.baseOptions;
|
|
31997
|
+
}
|
|
31998
|
+
|
|
31999
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32000
|
+
const localVarHeaderParameter = {} as any;
|
|
32001
|
+
const localVarQueryParameter = {} as any;
|
|
32002
|
+
|
|
32003
|
+
// authentication domainAuth required
|
|
32004
|
+
|
|
32005
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32006
|
+
|
|
32007
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32009
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32010
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32011
|
+
inviteLinkCreateInputDTO,
|
|
32012
|
+
localVarRequestOptions,
|
|
32013
|
+
configuration,
|
|
32014
|
+
);
|
|
32015
|
+
|
|
32016
|
+
return {
|
|
32017
|
+
url: toPathString(localVarUrlObj),
|
|
32018
|
+
options: localVarRequestOptions,
|
|
32019
|
+
};
|
|
32020
|
+
},
|
|
32021
|
+
/**
|
|
32022
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32023
|
+
* @summary Preview
|
|
32024
|
+
* @param {string} token
|
|
32025
|
+
* @param {*} [options] Override http request option.
|
|
32026
|
+
* @throws {RequiredError}
|
|
32027
|
+
*/
|
|
32028
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32029
|
+
// verify required parameter 'token' is not null or undefined
|
|
32030
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32031
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32034
|
+
let baseOptions;
|
|
32035
|
+
if (configuration) {
|
|
32036
|
+
baseOptions = configuration.baseOptions;
|
|
32037
|
+
}
|
|
32038
|
+
|
|
32039
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32040
|
+
const localVarHeaderParameter = {} as any;
|
|
32041
|
+
const localVarQueryParameter = {} as any;
|
|
32042
|
+
|
|
32043
|
+
// authentication domainAuth required
|
|
32044
|
+
|
|
32045
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32046
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32047
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32048
|
+
|
|
32049
|
+
return {
|
|
32050
|
+
url: toPathString(localVarUrlObj),
|
|
32051
|
+
options: localVarRequestOptions,
|
|
32052
|
+
};
|
|
32053
|
+
},
|
|
32054
|
+
/**
|
|
32055
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32056
|
+
* @summary Redeem
|
|
32057
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32058
|
+
* @param {*} [options] Override http request option.
|
|
32059
|
+
* @throws {RequiredError}
|
|
32060
|
+
*/
|
|
32061
|
+
inviteLinkControllerRedeem: async (
|
|
32062
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32063
|
+
options: RawAxiosRequestConfig = {},
|
|
32064
|
+
): Promise<RequestArgs> => {
|
|
32065
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32068
|
+
let baseOptions;
|
|
32069
|
+
if (configuration) {
|
|
32070
|
+
baseOptions = configuration.baseOptions;
|
|
32071
|
+
}
|
|
32072
|
+
|
|
32073
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32074
|
+
const localVarHeaderParameter = {} as any;
|
|
32075
|
+
const localVarQueryParameter = {} as any;
|
|
32076
|
+
|
|
32077
|
+
// authentication domainAuth required
|
|
32078
|
+
|
|
32079
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32080
|
+
|
|
32081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32083
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32084
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32085
|
+
|
|
32086
|
+
return {
|
|
32087
|
+
url: toPathString(localVarUrlObj),
|
|
32088
|
+
options: localVarRequestOptions,
|
|
32089
|
+
};
|
|
32090
|
+
},
|
|
32091
|
+
/**
|
|
32092
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32093
|
+
* @summary Revoke
|
|
32094
|
+
* @param {string} id
|
|
32095
|
+
* @param {*} [options] Override http request option.
|
|
32096
|
+
* @throws {RequiredError}
|
|
32097
|
+
*/
|
|
32098
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32099
|
+
// verify required parameter 'id' is not null or undefined
|
|
32100
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32101
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32104
|
+
let baseOptions;
|
|
32105
|
+
if (configuration) {
|
|
32106
|
+
baseOptions = configuration.baseOptions;
|
|
32107
|
+
}
|
|
32108
|
+
|
|
32109
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32110
|
+
const localVarHeaderParameter = {} as any;
|
|
32111
|
+
const localVarQueryParameter = {} as any;
|
|
32112
|
+
|
|
32113
|
+
// authentication domainAuth required
|
|
32114
|
+
|
|
32115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32117
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32118
|
+
|
|
32119
|
+
return {
|
|
32120
|
+
url: toPathString(localVarUrlObj),
|
|
32121
|
+
options: localVarRequestOptions,
|
|
32122
|
+
};
|
|
32123
|
+
},
|
|
32124
|
+
/**
|
|
32125
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32126
|
+
* @summary Search
|
|
32127
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32128
|
+
* @param {*} [options] Override http request option.
|
|
32129
|
+
* @throws {RequiredError}
|
|
32130
|
+
*/
|
|
32131
|
+
inviteLinkControllerSearch: async (
|
|
32132
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32133
|
+
options: RawAxiosRequestConfig = {},
|
|
32134
|
+
): Promise<RequestArgs> => {
|
|
32135
|
+
const localVarPath = `/invite-link/search`;
|
|
32136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32138
|
+
let baseOptions;
|
|
32139
|
+
if (configuration) {
|
|
32140
|
+
baseOptions = configuration.baseOptions;
|
|
32141
|
+
}
|
|
32142
|
+
|
|
32143
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32144
|
+
const localVarHeaderParameter = {} as any;
|
|
32145
|
+
const localVarQueryParameter = {} as any;
|
|
32146
|
+
|
|
32147
|
+
// authentication domainAuth required
|
|
32148
|
+
|
|
32149
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32150
|
+
|
|
32151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32154
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32155
|
+
inviteLinkSearchInputDTO,
|
|
32156
|
+
localVarRequestOptions,
|
|
32157
|
+
configuration,
|
|
32158
|
+
);
|
|
32159
|
+
|
|
32160
|
+
return {
|
|
32161
|
+
url: toPathString(localVarUrlObj),
|
|
32162
|
+
options: localVarRequestOptions,
|
|
32163
|
+
};
|
|
32164
|
+
},
|
|
32165
|
+
};
|
|
32166
|
+
};
|
|
32167
|
+
|
|
32168
|
+
/**
|
|
32169
|
+
* InviteLinkApi - functional programming interface
|
|
32170
|
+
* @export
|
|
32171
|
+
*/
|
|
32172
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32173
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
32174
|
+
return {
|
|
32175
|
+
/**
|
|
32176
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32177
|
+
* @summary Create invite link
|
|
32178
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32179
|
+
* @param {*} [options] Override http request option.
|
|
32180
|
+
* @throws {RequiredError}
|
|
32181
|
+
*/
|
|
32182
|
+
async inviteLinkControllerCreate(
|
|
32183
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32184
|
+
options?: RawAxiosRequestConfig,
|
|
32185
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32187
|
+
inviteLinkCreateInputDTO,
|
|
32188
|
+
options,
|
|
32189
|
+
);
|
|
32190
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32191
|
+
const localVarOperationServerBasePath =
|
|
32192
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
32193
|
+
return (axios, basePath) =>
|
|
32194
|
+
createRequestFunction(
|
|
32195
|
+
localVarAxiosArgs,
|
|
32196
|
+
globalAxios,
|
|
32197
|
+
BASE_PATH,
|
|
32198
|
+
configuration,
|
|
32199
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32200
|
+
},
|
|
32201
|
+
/**
|
|
32202
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32203
|
+
* @summary Preview
|
|
32204
|
+
* @param {string} token
|
|
32205
|
+
* @param {*} [options] Override http request option.
|
|
32206
|
+
* @throws {RequiredError}
|
|
32207
|
+
*/
|
|
32208
|
+
async inviteLinkControllerPreview(
|
|
32209
|
+
token: string,
|
|
32210
|
+
options?: RawAxiosRequestConfig,
|
|
32211
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
32213
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32214
|
+
const localVarOperationServerBasePath =
|
|
32215
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
32216
|
+
return (axios, basePath) =>
|
|
32217
|
+
createRequestFunction(
|
|
32218
|
+
localVarAxiosArgs,
|
|
32219
|
+
globalAxios,
|
|
32220
|
+
BASE_PATH,
|
|
32221
|
+
configuration,
|
|
32222
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32223
|
+
},
|
|
32224
|
+
/**
|
|
32225
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32226
|
+
* @summary Redeem
|
|
32227
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32228
|
+
* @param {*} [options] Override http request option.
|
|
32229
|
+
* @throws {RequiredError}
|
|
32230
|
+
*/
|
|
32231
|
+
async inviteLinkControllerRedeem(
|
|
32232
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32233
|
+
options?: RawAxiosRequestConfig,
|
|
32234
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
32236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32237
|
+
const localVarOperationServerBasePath =
|
|
32238
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
32239
|
+
return (axios, basePath) =>
|
|
32240
|
+
createRequestFunction(
|
|
32241
|
+
localVarAxiosArgs,
|
|
32242
|
+
globalAxios,
|
|
32243
|
+
BASE_PATH,
|
|
32244
|
+
configuration,
|
|
32245
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32246
|
+
},
|
|
32247
|
+
/**
|
|
32248
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32249
|
+
* @summary Revoke
|
|
32250
|
+
* @param {string} id
|
|
32251
|
+
* @param {*} [options] Override http request option.
|
|
32252
|
+
* @throws {RequiredError}
|
|
32253
|
+
*/
|
|
32254
|
+
async inviteLinkControllerRevoke(
|
|
32255
|
+
id: string,
|
|
32256
|
+
options?: RawAxiosRequestConfig,
|
|
32257
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
32258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
32259
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32260
|
+
const localVarOperationServerBasePath =
|
|
32261
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
32262
|
+
return (axios, basePath) =>
|
|
32263
|
+
createRequestFunction(
|
|
32264
|
+
localVarAxiosArgs,
|
|
32265
|
+
globalAxios,
|
|
32266
|
+
BASE_PATH,
|
|
32267
|
+
configuration,
|
|
32268
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32269
|
+
},
|
|
32270
|
+
/**
|
|
32271
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32272
|
+
* @summary Search
|
|
32273
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32274
|
+
* @param {*} [options] Override http request option.
|
|
32275
|
+
* @throws {RequiredError}
|
|
32276
|
+
*/
|
|
32277
|
+
async inviteLinkControllerSearch(
|
|
32278
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32279
|
+
options?: RawAxiosRequestConfig,
|
|
32280
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32282
|
+
inviteLinkSearchInputDTO,
|
|
32283
|
+
options,
|
|
32284
|
+
);
|
|
32285
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32286
|
+
const localVarOperationServerBasePath =
|
|
32287
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32288
|
+
return (axios, basePath) =>
|
|
32289
|
+
createRequestFunction(
|
|
32290
|
+
localVarAxiosArgs,
|
|
32291
|
+
globalAxios,
|
|
32292
|
+
BASE_PATH,
|
|
32293
|
+
configuration,
|
|
32294
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32295
|
+
},
|
|
32296
|
+
};
|
|
32297
|
+
};
|
|
32298
|
+
|
|
32299
|
+
/**
|
|
32300
|
+
* InviteLinkApi - factory interface
|
|
32301
|
+
* @export
|
|
32302
|
+
*/
|
|
32303
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32304
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
32305
|
+
return {
|
|
32306
|
+
/**
|
|
32307
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32308
|
+
* @summary Create invite link
|
|
32309
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32310
|
+
* @param {*} [options] Override http request option.
|
|
32311
|
+
* @throws {RequiredError}
|
|
32312
|
+
*/
|
|
32313
|
+
inviteLinkControllerCreate(
|
|
32314
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32315
|
+
options?: RawAxiosRequestConfig,
|
|
32316
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
32317
|
+
return localVarFp
|
|
32318
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32319
|
+
.then((request) => request(axios, basePath));
|
|
32320
|
+
},
|
|
32321
|
+
/**
|
|
32322
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32323
|
+
* @summary Preview
|
|
32324
|
+
* @param {string} token
|
|
32325
|
+
* @param {*} [options] Override http request option.
|
|
32326
|
+
* @throws {RequiredError}
|
|
32327
|
+
*/
|
|
32328
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32329
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
32330
|
+
},
|
|
32331
|
+
/**
|
|
32332
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32333
|
+
* @summary Redeem
|
|
32334
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32335
|
+
* @param {*} [options] Override http request option.
|
|
32336
|
+
* @throws {RequiredError}
|
|
32337
|
+
*/
|
|
32338
|
+
inviteLinkControllerRedeem(
|
|
32339
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32340
|
+
options?: RawAxiosRequestConfig,
|
|
32341
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32342
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
32343
|
+
},
|
|
32344
|
+
/**
|
|
32345
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32346
|
+
* @summary Revoke
|
|
32347
|
+
* @param {string} id
|
|
32348
|
+
* @param {*} [options] Override http request option.
|
|
32349
|
+
* @throws {RequiredError}
|
|
32350
|
+
*/
|
|
32351
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32352
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
32353
|
+
},
|
|
32354
|
+
/**
|
|
32355
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32356
|
+
* @summary Search
|
|
32357
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32358
|
+
* @param {*} [options] Override http request option.
|
|
32359
|
+
* @throws {RequiredError}
|
|
32360
|
+
*/
|
|
32361
|
+
inviteLinkControllerSearch(
|
|
32362
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32363
|
+
options?: RawAxiosRequestConfig,
|
|
32364
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32365
|
+
return localVarFp
|
|
32366
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32367
|
+
.then((request) => request(axios, basePath));
|
|
32368
|
+
},
|
|
32369
|
+
};
|
|
32370
|
+
};
|
|
32371
|
+
|
|
32372
|
+
/**
|
|
32373
|
+
* InviteLinkApi - object-oriented interface
|
|
32374
|
+
* @export
|
|
32375
|
+
* @class InviteLinkApi
|
|
32376
|
+
* @extends {BaseAPI}
|
|
32377
|
+
*/
|
|
32378
|
+
export class InviteLinkApi extends BaseAPI {
|
|
32379
|
+
/**
|
|
32380
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32381
|
+
* @summary Create invite link
|
|
32382
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32383
|
+
* @param {*} [options] Override http request option.
|
|
32384
|
+
* @throws {RequiredError}
|
|
32385
|
+
* @memberof InviteLinkApi
|
|
32386
|
+
*/
|
|
32387
|
+
public inviteLinkControllerCreate(
|
|
32388
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32389
|
+
options?: RawAxiosRequestConfig,
|
|
32390
|
+
) {
|
|
32391
|
+
return InviteLinkApiFp(this.configuration)
|
|
32392
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32393
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32394
|
+
}
|
|
32395
|
+
|
|
32396
|
+
/**
|
|
32397
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32398
|
+
* @summary Preview
|
|
32399
|
+
* @param {string} token
|
|
32400
|
+
* @param {*} [options] Override http request option.
|
|
32401
|
+
* @throws {RequiredError}
|
|
32402
|
+
* @memberof InviteLinkApi
|
|
32403
|
+
*/
|
|
32404
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32405
|
+
return InviteLinkApiFp(this.configuration)
|
|
32406
|
+
.inviteLinkControllerPreview(token, options)
|
|
32407
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32408
|
+
}
|
|
32409
|
+
|
|
32410
|
+
/**
|
|
32411
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32412
|
+
* @summary Redeem
|
|
32413
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32414
|
+
* @param {*} [options] Override http request option.
|
|
32415
|
+
* @throws {RequiredError}
|
|
32416
|
+
* @memberof InviteLinkApi
|
|
32417
|
+
*/
|
|
32418
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32419
|
+
return InviteLinkApiFp(this.configuration)
|
|
32420
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
32421
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32422
|
+
}
|
|
32423
|
+
|
|
32424
|
+
/**
|
|
32425
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32426
|
+
* @summary Revoke
|
|
32427
|
+
* @param {string} id
|
|
32428
|
+
* @param {*} [options] Override http request option.
|
|
32429
|
+
* @throws {RequiredError}
|
|
32430
|
+
* @memberof InviteLinkApi
|
|
32431
|
+
*/
|
|
32432
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32433
|
+
return InviteLinkApiFp(this.configuration)
|
|
32434
|
+
.inviteLinkControllerRevoke(id, options)
|
|
32435
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32436
|
+
}
|
|
32437
|
+
|
|
32438
|
+
/**
|
|
32439
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32440
|
+
* @summary Search
|
|
32441
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32442
|
+
* @param {*} [options] Override http request option.
|
|
32443
|
+
* @throws {RequiredError}
|
|
32444
|
+
* @memberof InviteLinkApi
|
|
32445
|
+
*/
|
|
32446
|
+
public inviteLinkControllerSearch(
|
|
32447
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32448
|
+
options?: RawAxiosRequestConfig,
|
|
32449
|
+
) {
|
|
32450
|
+
return InviteLinkApiFp(this.configuration)
|
|
32451
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32452
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32453
|
+
}
|
|
32454
|
+
}
|
|
32455
|
+
|
|
31747
32456
|
/**
|
|
31748
32457
|
* ItemApi - axios parameter creator
|
|
31749
32458
|
* @export
|
|
@@ -41047,6 +41756,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41047
41756
|
options: localVarRequestOptions,
|
|
41048
41757
|
};
|
|
41049
41758
|
},
|
|
41759
|
+
/**
|
|
41760
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41761
|
+
* @summary Count billable dashboard users
|
|
41762
|
+
* @param {*} [options] Override http request option.
|
|
41763
|
+
* @throws {RequiredError}
|
|
41764
|
+
*/
|
|
41765
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41766
|
+
const localVarPath = `/user/count`;
|
|
41767
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41769
|
+
let baseOptions;
|
|
41770
|
+
if (configuration) {
|
|
41771
|
+
baseOptions = configuration.baseOptions;
|
|
41772
|
+
}
|
|
41773
|
+
|
|
41774
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41775
|
+
const localVarHeaderParameter = {} as any;
|
|
41776
|
+
const localVarQueryParameter = {} as any;
|
|
41777
|
+
|
|
41778
|
+
// authentication domainAuth required
|
|
41779
|
+
|
|
41780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41782
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41783
|
+
|
|
41784
|
+
return {
|
|
41785
|
+
url: toPathString(localVarUrlObj),
|
|
41786
|
+
options: localVarRequestOptions,
|
|
41787
|
+
};
|
|
41788
|
+
},
|
|
41050
41789
|
/**
|
|
41051
41790
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41052
41791
|
* @summary Create
|
|
@@ -41152,6 +41891,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41152
41891
|
* @summary Invite
|
|
41153
41892
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41154
41893
|
* @param {*} [options] Override http request option.
|
|
41894
|
+
* @deprecated
|
|
41155
41895
|
* @throws {RequiredError}
|
|
41156
41896
|
*/
|
|
41157
41897
|
userControllerInvite: async (
|
|
@@ -41553,6 +42293,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41553
42293
|
configuration,
|
|
41554
42294
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41555
42295
|
},
|
|
42296
|
+
/**
|
|
42297
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42298
|
+
* @summary Count billable dashboard users
|
|
42299
|
+
* @param {*} [options] Override http request option.
|
|
42300
|
+
* @throws {RequiredError}
|
|
42301
|
+
*/
|
|
42302
|
+
async userControllerCountBillableDashboardUsers(
|
|
42303
|
+
options?: RawAxiosRequestConfig,
|
|
42304
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
42305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
42306
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42307
|
+
const localVarOperationServerBasePath =
|
|
42308
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
42309
|
+
return (axios, basePath) =>
|
|
42310
|
+
createRequestFunction(
|
|
42311
|
+
localVarAxiosArgs,
|
|
42312
|
+
globalAxios,
|
|
42313
|
+
BASE_PATH,
|
|
42314
|
+
configuration,
|
|
42315
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42316
|
+
},
|
|
41556
42317
|
/**
|
|
41557
42318
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41558
42319
|
* @summary Create
|
|
@@ -41625,6 +42386,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41625
42386
|
* @summary Invite
|
|
41626
42387
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41627
42388
|
* @param {*} [options] Override http request option.
|
|
42389
|
+
* @deprecated
|
|
41628
42390
|
* @throws {RequiredError}
|
|
41629
42391
|
*/
|
|
41630
42392
|
async userControllerInvite(
|
|
@@ -41882,6 +42644,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41882
42644
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
41883
42645
|
.then((request) => request(axios, basePath));
|
|
41884
42646
|
},
|
|
42647
|
+
/**
|
|
42648
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42649
|
+
* @summary Count billable dashboard users
|
|
42650
|
+
* @param {*} [options] Override http request option.
|
|
42651
|
+
* @throws {RequiredError}
|
|
42652
|
+
*/
|
|
42653
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42654
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42655
|
+
},
|
|
41885
42656
|
/**
|
|
41886
42657
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41887
42658
|
* @summary Create
|
|
@@ -41919,6 +42690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41919
42690
|
* @summary Invite
|
|
41920
42691
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41921
42692
|
* @param {*} [options] Override http request option.
|
|
42693
|
+
* @deprecated
|
|
41922
42694
|
* @throws {RequiredError}
|
|
41923
42695
|
*/
|
|
41924
42696
|
userControllerInvite(
|
|
@@ -42060,6 +42832,19 @@ export class UserApi extends BaseAPI {
|
|
|
42060
42832
|
.then((request) => request(this.axios, this.basePath));
|
|
42061
42833
|
}
|
|
42062
42834
|
|
|
42835
|
+
/**
|
|
42836
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42837
|
+
* @summary Count billable dashboard users
|
|
42838
|
+
* @param {*} [options] Override http request option.
|
|
42839
|
+
* @throws {RequiredError}
|
|
42840
|
+
* @memberof UserApi
|
|
42841
|
+
*/
|
|
42842
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42843
|
+
return UserApiFp(this.configuration)
|
|
42844
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42845
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42846
|
+
}
|
|
42847
|
+
|
|
42063
42848
|
/**
|
|
42064
42849
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
42065
42850
|
* @summary Create
|
|
@@ -42106,6 +42891,7 @@ export class UserApi extends BaseAPI {
|
|
|
42106
42891
|
* @summary Invite
|
|
42107
42892
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
42108
42893
|
* @param {*} [options] Override http request option.
|
|
42894
|
+
* @deprecated
|
|
42109
42895
|
* @throws {RequiredError}
|
|
42110
42896
|
* @memberof UserApi
|
|
42111
42897
|
*/
|
|
@@ -42728,474 +43514,3 @@ export class VariableApi extends BaseAPI {
|
|
|
42728
43514
|
.then((request) => request(this.axios, this.basePath));
|
|
42729
43515
|
}
|
|
42730
43516
|
}
|
|
42731
|
-
|
|
42732
|
-
/**
|
|
42733
|
-
* InviteLinkApi - axios parameter creator
|
|
42734
|
-
* @export
|
|
42735
|
-
*/
|
|
42736
|
-
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42737
|
-
return {
|
|
42738
|
-
/**
|
|
42739
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42740
|
-
* @summary Create invite link
|
|
42741
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42742
|
-
* @param {*} [options] Override http request option.
|
|
42743
|
-
* @throws {RequiredError}
|
|
42744
|
-
*/
|
|
42745
|
-
inviteLinkControllerCreate: async (
|
|
42746
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42747
|
-
options: RawAxiosRequestConfig = {},
|
|
42748
|
-
): Promise<RequestArgs> => {
|
|
42749
|
-
const localVarPath = `/invite-link`;
|
|
42750
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42751
|
-
let baseOptions;
|
|
42752
|
-
if (configuration) {
|
|
42753
|
-
baseOptions = configuration.baseOptions;
|
|
42754
|
-
}
|
|
42755
|
-
|
|
42756
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42757
|
-
const localVarHeaderParameter = {} as any;
|
|
42758
|
-
const localVarQueryParameter = {} as any;
|
|
42759
|
-
|
|
42760
|
-
// authentication domainAuth required
|
|
42761
|
-
|
|
42762
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42763
|
-
|
|
42764
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42765
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42766
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42767
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42768
|
-
inviteLinkCreateInputDTO,
|
|
42769
|
-
localVarRequestOptions,
|
|
42770
|
-
configuration,
|
|
42771
|
-
);
|
|
42772
|
-
|
|
42773
|
-
return {
|
|
42774
|
-
url: toPathString(localVarUrlObj),
|
|
42775
|
-
options: localVarRequestOptions,
|
|
42776
|
-
};
|
|
42777
|
-
},
|
|
42778
|
-
/**
|
|
42779
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42780
|
-
* @summary Preview
|
|
42781
|
-
* @param {string} token
|
|
42782
|
-
* @param {*} [options] Override http request option.
|
|
42783
|
-
* @throws {RequiredError}
|
|
42784
|
-
*/
|
|
42785
|
-
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42786
|
-
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42787
|
-
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42788
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42789
|
-
let baseOptions;
|
|
42790
|
-
if (configuration) {
|
|
42791
|
-
baseOptions = configuration.baseOptions;
|
|
42792
|
-
}
|
|
42793
|
-
|
|
42794
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42795
|
-
const localVarHeaderParameter = {} as any;
|
|
42796
|
-
const localVarQueryParameter = {} as any;
|
|
42797
|
-
|
|
42798
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42799
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42800
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42801
|
-
|
|
42802
|
-
return {
|
|
42803
|
-
url: toPathString(localVarUrlObj),
|
|
42804
|
-
options: localVarRequestOptions,
|
|
42805
|
-
};
|
|
42806
|
-
},
|
|
42807
|
-
/**
|
|
42808
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42809
|
-
* @summary Redeem
|
|
42810
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42811
|
-
* @param {*} [options] Override http request option.
|
|
42812
|
-
* @throws {RequiredError}
|
|
42813
|
-
*/
|
|
42814
|
-
inviteLinkControllerRedeem: async (
|
|
42815
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
42816
|
-
options: RawAxiosRequestConfig = {},
|
|
42817
|
-
): Promise<RequestArgs> => {
|
|
42818
|
-
const localVarPath = `/invite-link/redeem`;
|
|
42819
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42820
|
-
let baseOptions;
|
|
42821
|
-
if (configuration) {
|
|
42822
|
-
baseOptions = configuration.baseOptions;
|
|
42823
|
-
}
|
|
42824
|
-
|
|
42825
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42826
|
-
const localVarHeaderParameter = {} as any;
|
|
42827
|
-
const localVarQueryParameter = {} as any;
|
|
42828
|
-
|
|
42829
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42830
|
-
|
|
42831
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42832
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42833
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42834
|
-
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42835
|
-
|
|
42836
|
-
return {
|
|
42837
|
-
url: toPathString(localVarUrlObj),
|
|
42838
|
-
options: localVarRequestOptions,
|
|
42839
|
-
};
|
|
42840
|
-
},
|
|
42841
|
-
/**
|
|
42842
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42843
|
-
* @summary Revoke
|
|
42844
|
-
* @param {string} id
|
|
42845
|
-
* @param {*} [options] Override http request option.
|
|
42846
|
-
* @throws {RequiredError}
|
|
42847
|
-
*/
|
|
42848
|
-
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42849
|
-
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42850
|
-
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42851
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42852
|
-
let baseOptions;
|
|
42853
|
-
if (configuration) {
|
|
42854
|
-
baseOptions = configuration.baseOptions;
|
|
42855
|
-
}
|
|
42856
|
-
|
|
42857
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42858
|
-
const localVarHeaderParameter = {} as any;
|
|
42859
|
-
const localVarQueryParameter = {} as any;
|
|
42860
|
-
|
|
42861
|
-
// authentication domainAuth required
|
|
42862
|
-
|
|
42863
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42864
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42865
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42866
|
-
|
|
42867
|
-
return {
|
|
42868
|
-
url: toPathString(localVarUrlObj),
|
|
42869
|
-
options: localVarRequestOptions,
|
|
42870
|
-
};
|
|
42871
|
-
},
|
|
42872
|
-
/**
|
|
42873
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42874
|
-
* @summary Search
|
|
42875
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42876
|
-
* @param {*} [options] Override http request option.
|
|
42877
|
-
* @throws {RequiredError}
|
|
42878
|
-
*/
|
|
42879
|
-
inviteLinkControllerSearch: async (
|
|
42880
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42881
|
-
options: RawAxiosRequestConfig = {},
|
|
42882
|
-
): Promise<RequestArgs> => {
|
|
42883
|
-
const localVarPath = `/invite-link/search`;
|
|
42884
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42885
|
-
let baseOptions;
|
|
42886
|
-
if (configuration) {
|
|
42887
|
-
baseOptions = configuration.baseOptions;
|
|
42888
|
-
}
|
|
42889
|
-
|
|
42890
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42891
|
-
const localVarHeaderParameter = {} as any;
|
|
42892
|
-
const localVarQueryParameter = {} as any;
|
|
42893
|
-
|
|
42894
|
-
// authentication domainAuth required
|
|
42895
|
-
|
|
42896
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42897
|
-
|
|
42898
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42899
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42900
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42901
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42902
|
-
inviteLinkSearchInputDTO,
|
|
42903
|
-
localVarRequestOptions,
|
|
42904
|
-
configuration,
|
|
42905
|
-
);
|
|
42906
|
-
|
|
42907
|
-
return {
|
|
42908
|
-
url: toPathString(localVarUrlObj),
|
|
42909
|
-
options: localVarRequestOptions,
|
|
42910
|
-
};
|
|
42911
|
-
},
|
|
42912
|
-
};
|
|
42913
|
-
};
|
|
42914
|
-
|
|
42915
|
-
/**
|
|
42916
|
-
* InviteLinkApi - functional programming interface
|
|
42917
|
-
* @export
|
|
42918
|
-
*/
|
|
42919
|
-
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
42920
|
-
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
42921
|
-
return {
|
|
42922
|
-
/**
|
|
42923
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42924
|
-
* @summary Create invite link
|
|
42925
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42926
|
-
* @param {*} [options] Override http request option.
|
|
42927
|
-
* @throws {RequiredError}
|
|
42928
|
-
*/
|
|
42929
|
-
async inviteLinkControllerCreate(
|
|
42930
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42931
|
-
options?: RawAxiosRequestConfig,
|
|
42932
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
42933
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
42934
|
-
inviteLinkCreateInputDTO,
|
|
42935
|
-
options,
|
|
42936
|
-
);
|
|
42937
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42938
|
-
const localVarOperationServerBasePath =
|
|
42939
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
42940
|
-
return (axios, basePath) =>
|
|
42941
|
-
createRequestFunction(
|
|
42942
|
-
localVarAxiosArgs,
|
|
42943
|
-
globalAxios,
|
|
42944
|
-
BASE_PATH,
|
|
42945
|
-
configuration,
|
|
42946
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
42947
|
-
},
|
|
42948
|
-
/**
|
|
42949
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42950
|
-
* @summary Preview
|
|
42951
|
-
* @param {string} token
|
|
42952
|
-
* @param {*} [options] Override http request option.
|
|
42953
|
-
* @throws {RequiredError}
|
|
42954
|
-
*/
|
|
42955
|
-
async inviteLinkControllerPreview(
|
|
42956
|
-
token: string,
|
|
42957
|
-
options?: RawAxiosRequestConfig,
|
|
42958
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
42959
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
42960
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42961
|
-
const localVarOperationServerBasePath =
|
|
42962
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
42963
|
-
return (axios, basePath) =>
|
|
42964
|
-
createRequestFunction(
|
|
42965
|
-
localVarAxiosArgs,
|
|
42966
|
-
globalAxios,
|
|
42967
|
-
BASE_PATH,
|
|
42968
|
-
configuration,
|
|
42969
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
42970
|
-
},
|
|
42971
|
-
/**
|
|
42972
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42973
|
-
* @summary Redeem
|
|
42974
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42975
|
-
* @param {*} [options] Override http request option.
|
|
42976
|
-
* @throws {RequiredError}
|
|
42977
|
-
*/
|
|
42978
|
-
async inviteLinkControllerRedeem(
|
|
42979
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
42980
|
-
options?: RawAxiosRequestConfig,
|
|
42981
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
42982
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
42983
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42984
|
-
const localVarOperationServerBasePath =
|
|
42985
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
42986
|
-
return (axios, basePath) =>
|
|
42987
|
-
createRequestFunction(
|
|
42988
|
-
localVarAxiosArgs,
|
|
42989
|
-
globalAxios,
|
|
42990
|
-
BASE_PATH,
|
|
42991
|
-
configuration,
|
|
42992
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
42993
|
-
},
|
|
42994
|
-
/**
|
|
42995
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42996
|
-
* @summary Revoke
|
|
42997
|
-
* @param {string} id
|
|
42998
|
-
* @param {*} [options] Override http request option.
|
|
42999
|
-
* @throws {RequiredError}
|
|
43000
|
-
*/
|
|
43001
|
-
async inviteLinkControllerRevoke(
|
|
43002
|
-
id: string,
|
|
43003
|
-
options?: RawAxiosRequestConfig,
|
|
43004
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43005
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43006
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43007
|
-
const localVarOperationServerBasePath =
|
|
43008
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43009
|
-
return (axios, basePath) =>
|
|
43010
|
-
createRequestFunction(
|
|
43011
|
-
localVarAxiosArgs,
|
|
43012
|
-
globalAxios,
|
|
43013
|
-
BASE_PATH,
|
|
43014
|
-
configuration,
|
|
43015
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43016
|
-
},
|
|
43017
|
-
/**
|
|
43018
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43019
|
-
* @summary Search
|
|
43020
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43021
|
-
* @param {*} [options] Override http request option.
|
|
43022
|
-
* @throws {RequiredError}
|
|
43023
|
-
*/
|
|
43024
|
-
async inviteLinkControllerSearch(
|
|
43025
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43026
|
-
options?: RawAxiosRequestConfig,
|
|
43027
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43028
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43029
|
-
inviteLinkSearchInputDTO,
|
|
43030
|
-
options,
|
|
43031
|
-
);
|
|
43032
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43033
|
-
const localVarOperationServerBasePath =
|
|
43034
|
-
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43035
|
-
return (axios, basePath) =>
|
|
43036
|
-
createRequestFunction(
|
|
43037
|
-
localVarAxiosArgs,
|
|
43038
|
-
globalAxios,
|
|
43039
|
-
BASE_PATH,
|
|
43040
|
-
configuration,
|
|
43041
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
43042
|
-
},
|
|
43043
|
-
};
|
|
43044
|
-
};
|
|
43045
|
-
|
|
43046
|
-
/**
|
|
43047
|
-
* InviteLinkApi - factory interface
|
|
43048
|
-
* @export
|
|
43049
|
-
*/
|
|
43050
|
-
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43051
|
-
const localVarFp = InviteLinkApiFp(configuration);
|
|
43052
|
-
return {
|
|
43053
|
-
/**
|
|
43054
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43055
|
-
* @summary Create invite link
|
|
43056
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43057
|
-
* @param {*} [options] Override http request option.
|
|
43058
|
-
* @throws {RequiredError}
|
|
43059
|
-
*/
|
|
43060
|
-
inviteLinkControllerCreate(
|
|
43061
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43062
|
-
options?: RawAxiosRequestConfig,
|
|
43063
|
-
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43064
|
-
return localVarFp
|
|
43065
|
-
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43066
|
-
.then((request) => request(axios, basePath));
|
|
43067
|
-
},
|
|
43068
|
-
/**
|
|
43069
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43070
|
-
* @summary Preview
|
|
43071
|
-
* @param {string} token
|
|
43072
|
-
* @param {*} [options] Override http request option.
|
|
43073
|
-
* @throws {RequiredError}
|
|
43074
|
-
*/
|
|
43075
|
-
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43076
|
-
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43077
|
-
},
|
|
43078
|
-
/**
|
|
43079
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43080
|
-
* @summary Redeem
|
|
43081
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43082
|
-
* @param {*} [options] Override http request option.
|
|
43083
|
-
* @throws {RequiredError}
|
|
43084
|
-
*/
|
|
43085
|
-
inviteLinkControllerRedeem(
|
|
43086
|
-
redeemInputDTO?: RedeemInputDTO,
|
|
43087
|
-
options?: RawAxiosRequestConfig,
|
|
43088
|
-
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43089
|
-
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43090
|
-
},
|
|
43091
|
-
/**
|
|
43092
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43093
|
-
* @summary Revoke
|
|
43094
|
-
* @param {string} id
|
|
43095
|
-
* @param {*} [options] Override http request option.
|
|
43096
|
-
* @throws {RequiredError}
|
|
43097
|
-
*/
|
|
43098
|
-
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43099
|
-
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43100
|
-
},
|
|
43101
|
-
/**
|
|
43102
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43103
|
-
* @summary Search
|
|
43104
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43105
|
-
* @param {*} [options] Override http request option.
|
|
43106
|
-
* @throws {RequiredError}
|
|
43107
|
-
*/
|
|
43108
|
-
inviteLinkControllerSearch(
|
|
43109
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43110
|
-
options?: RawAxiosRequestConfig,
|
|
43111
|
-
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43112
|
-
return localVarFp
|
|
43113
|
-
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43114
|
-
.then((request) => request(axios, basePath));
|
|
43115
|
-
},
|
|
43116
|
-
};
|
|
43117
|
-
};
|
|
43118
|
-
|
|
43119
|
-
/**
|
|
43120
|
-
* InviteLinkApi - object-oriented interface
|
|
43121
|
-
* @export
|
|
43122
|
-
* @class InviteLinkApi
|
|
43123
|
-
* @extends {BaseAPI}
|
|
43124
|
-
*/
|
|
43125
|
-
export class InviteLinkApi extends BaseAPI {
|
|
43126
|
-
/**
|
|
43127
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43128
|
-
* @summary Create invite link
|
|
43129
|
-
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43130
|
-
* @param {*} [options] Override http request option.
|
|
43131
|
-
* @throws {RequiredError}
|
|
43132
|
-
* @memberof InviteLinkApi
|
|
43133
|
-
*/
|
|
43134
|
-
public inviteLinkControllerCreate(
|
|
43135
|
-
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43136
|
-
options?: RawAxiosRequestConfig,
|
|
43137
|
-
) {
|
|
43138
|
-
return InviteLinkApiFp(this.configuration)
|
|
43139
|
-
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43140
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43141
|
-
}
|
|
43142
|
-
|
|
43143
|
-
/**
|
|
43144
|
-
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43145
|
-
* @summary Preview
|
|
43146
|
-
* @param {string} token
|
|
43147
|
-
* @param {*} [options] Override http request option.
|
|
43148
|
-
* @throws {RequiredError}
|
|
43149
|
-
* @memberof InviteLinkApi
|
|
43150
|
-
*/
|
|
43151
|
-
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43152
|
-
return InviteLinkApiFp(this.configuration)
|
|
43153
|
-
.inviteLinkControllerPreview(token, options)
|
|
43154
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43155
|
-
}
|
|
43156
|
-
|
|
43157
|
-
/**
|
|
43158
|
-
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43159
|
-
* @summary Redeem
|
|
43160
|
-
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43161
|
-
* @param {*} [options] Override http request option.
|
|
43162
|
-
* @throws {RequiredError}
|
|
43163
|
-
* @memberof InviteLinkApi
|
|
43164
|
-
*/
|
|
43165
|
-
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43166
|
-
return InviteLinkApiFp(this.configuration)
|
|
43167
|
-
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43168
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43169
|
-
}
|
|
43170
|
-
|
|
43171
|
-
/**
|
|
43172
|
-
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43173
|
-
* @summary Revoke
|
|
43174
|
-
* @param {string} id
|
|
43175
|
-
* @param {*} [options] Override http request option.
|
|
43176
|
-
* @throws {RequiredError}
|
|
43177
|
-
* @memberof InviteLinkApi
|
|
43178
|
-
*/
|
|
43179
|
-
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43180
|
-
return InviteLinkApiFp(this.configuration)
|
|
43181
|
-
.inviteLinkControllerRevoke(id, options)
|
|
43182
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43183
|
-
}
|
|
43184
|
-
|
|
43185
|
-
/**
|
|
43186
|
-
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43187
|
-
* @summary Search
|
|
43188
|
-
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43189
|
-
* @param {*} [options] Override http request option.
|
|
43190
|
-
* @throws {RequiredError}
|
|
43191
|
-
* @memberof InviteLinkApi
|
|
43192
|
-
*/
|
|
43193
|
-
public inviteLinkControllerSearch(
|
|
43194
|
-
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43195
|
-
options?: RawAxiosRequestConfig,
|
|
43196
|
-
) {
|
|
43197
|
-
return InviteLinkApiFp(this.configuration)
|
|
43198
|
-
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43199
|
-
.then((request) => request(this.axios, this.basePath));
|
|
43200
|
-
}
|
|
43201
|
-
}
|