@takaro/apiclient 0.0.0-dev.cb9985c → 0.0.0-dev.ce27140
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 +554 -279
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +4946 -4734
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +15 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +17 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +1 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +4 -3
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/generated.manifest.json +27 -0
- package/openapi.json +27938 -0
- package/package.json +1 -1
- package/src/generated/api.ts +1005 -560
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +22 -4
- package/src/lib/client.ts +5 -4
- package/src/main.ts +1 -1
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 {boolean}
|
|
2282
|
+
* @memberof DomainCreateInputDTO
|
|
2283
|
+
*/
|
|
2284
|
+
skipBuiltinSeeding?: boolean;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {string}
|
|
2288
|
+
* @memberof DomainCreateInputDTO
|
|
2289
|
+
*/
|
|
2290
|
+
serverRegistrationToken?: string;
|
|
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 = {
|
|
@@ -3105,19 +3153,19 @@ export interface ErrorOutput {
|
|
|
3105
3153
|
* @type {string}
|
|
3106
3154
|
* @memberof ErrorOutput
|
|
3107
3155
|
*/
|
|
3108
|
-
code
|
|
3156
|
+
code?: string;
|
|
3109
3157
|
/**
|
|
3110
3158
|
*
|
|
3111
3159
|
* @type {string}
|
|
3112
3160
|
* @memberof ErrorOutput
|
|
3113
3161
|
*/
|
|
3114
|
-
message
|
|
3162
|
+
message?: string;
|
|
3115
3163
|
/**
|
|
3116
3164
|
*
|
|
3117
3165
|
* @type {string}
|
|
3118
3166
|
* @memberof ErrorOutput
|
|
3119
3167
|
*/
|
|
3120
|
-
details
|
|
3168
|
+
details?: string;
|
|
3121
3169
|
}
|
|
3122
3170
|
/**
|
|
3123
3171
|
*
|
|
@@ -3130,7 +3178,7 @@ export interface EventChatMessage {
|
|
|
3130
3178
|
* @type {IGamePlayer}
|
|
3131
3179
|
* @memberof EventChatMessage
|
|
3132
3180
|
*/
|
|
3133
|
-
player
|
|
3181
|
+
player?: IGamePlayer;
|
|
3134
3182
|
/**
|
|
3135
3183
|
*
|
|
3136
3184
|
* @type {string}
|
|
@@ -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
|
*
|
|
@@ -8280,7 +8326,7 @@ export interface MetadataOutput {
|
|
|
8280
8326
|
* @type {ErrorOutput}
|
|
8281
8327
|
* @memberof MetadataOutput
|
|
8282
8328
|
*/
|
|
8283
|
-
error
|
|
8329
|
+
error?: ErrorOutput;
|
|
8284
8330
|
/**
|
|
8285
8331
|
*
|
|
8286
8332
|
* @type {number}
|
|
@@ -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
|
|
@@ -12559,7 +12618,7 @@ export interface RedirectQs {
|
|
|
12559
12618
|
* @type {string}
|
|
12560
12619
|
* @memberof RedirectQs
|
|
12561
12620
|
*/
|
|
12562
|
-
redirect
|
|
12621
|
+
redirect?: string;
|
|
12563
12622
|
}
|
|
12564
12623
|
/**
|
|
12565
12624
|
*
|
|
@@ -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,49 @@ 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 {string}
|
|
16351
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16352
|
+
*/
|
|
16353
|
+
inviteLinkId: string;
|
|
16354
|
+
/**
|
|
16355
|
+
*
|
|
16356
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16357
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16358
|
+
*/
|
|
16359
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16360
|
+
/**
|
|
16361
|
+
*
|
|
16362
|
+
* @type {number}
|
|
16363
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16364
|
+
*/
|
|
16365
|
+
maxUses: number;
|
|
16366
|
+
/**
|
|
16367
|
+
*
|
|
16368
|
+
* @type {Array<string>}
|
|
16369
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16370
|
+
*/
|
|
16371
|
+
roleIds: Array<string>;
|
|
16372
|
+
/**
|
|
16373
|
+
*
|
|
16374
|
+
* @type {boolean}
|
|
16375
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16376
|
+
*/
|
|
16377
|
+
staffOrigin: boolean;
|
|
16378
|
+
/**
|
|
16379
|
+
*
|
|
16380
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16381
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16382
|
+
*/
|
|
16383
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16384
|
+
}
|
|
16283
16385
|
/**
|
|
16284
16386
|
*
|
|
16285
16387
|
* @export
|
|
@@ -17569,6 +17671,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
17569
17671
|
*/
|
|
17570
17672
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17571
17673
|
}
|
|
17674
|
+
/**
|
|
17675
|
+
*
|
|
17676
|
+
* @export
|
|
17677
|
+
* @interface UserCountOutputDTO
|
|
17678
|
+
*/
|
|
17679
|
+
export interface UserCountOutputDTO {
|
|
17680
|
+
/**
|
|
17681
|
+
*
|
|
17682
|
+
* @type {number}
|
|
17683
|
+
* @memberof UserCountOutputDTO
|
|
17684
|
+
*/
|
|
17685
|
+
count: number;
|
|
17686
|
+
}
|
|
17687
|
+
/**
|
|
17688
|
+
*
|
|
17689
|
+
* @export
|
|
17690
|
+
* @interface UserCountOutputDTOAPI
|
|
17691
|
+
*/
|
|
17692
|
+
export interface UserCountOutputDTOAPI {
|
|
17693
|
+
/**
|
|
17694
|
+
*
|
|
17695
|
+
* @type {UserCountOutputDTO}
|
|
17696
|
+
* @memberof UserCountOutputDTOAPI
|
|
17697
|
+
*/
|
|
17698
|
+
data: UserCountOutputDTO;
|
|
17699
|
+
/**
|
|
17700
|
+
*
|
|
17701
|
+
* @type {MetadataOutput}
|
|
17702
|
+
* @memberof UserCountOutputDTOAPI
|
|
17703
|
+
*/
|
|
17704
|
+
meta: MetadataOutput;
|
|
17705
|
+
}
|
|
17572
17706
|
/**
|
|
17573
17707
|
*
|
|
17574
17708
|
* @export
|
|
@@ -17606,6 +17740,37 @@ export interface UserCreateInputDTO {
|
|
|
17606
17740
|
*/
|
|
17607
17741
|
isDashboardUser?: boolean;
|
|
17608
17742
|
}
|
|
17743
|
+
/**
|
|
17744
|
+
*
|
|
17745
|
+
* @export
|
|
17746
|
+
* @interface UserCreateInviteDTO
|
|
17747
|
+
*/
|
|
17748
|
+
export interface UserCreateInviteDTO {
|
|
17749
|
+
/**
|
|
17750
|
+
*
|
|
17751
|
+
* @type {string}
|
|
17752
|
+
* @memberof UserCreateInviteDTO
|
|
17753
|
+
*/
|
|
17754
|
+
name: string;
|
|
17755
|
+
/**
|
|
17756
|
+
*
|
|
17757
|
+
* @type {string}
|
|
17758
|
+
* @memberof UserCreateInviteDTO
|
|
17759
|
+
*/
|
|
17760
|
+
email: string;
|
|
17761
|
+
/**
|
|
17762
|
+
*
|
|
17763
|
+
* @type {string}
|
|
17764
|
+
* @memberof UserCreateInviteDTO
|
|
17765
|
+
*/
|
|
17766
|
+
idpId?: string;
|
|
17767
|
+
/**
|
|
17768
|
+
*
|
|
17769
|
+
* @type {boolean}
|
|
17770
|
+
* @memberof UserCreateInviteDTO
|
|
17771
|
+
*/
|
|
17772
|
+
isDashboardUser?: boolean;
|
|
17773
|
+
}
|
|
17609
17774
|
/**
|
|
17610
17775
|
*
|
|
17611
17776
|
* @export
|
|
@@ -17709,37 +17874,43 @@ export interface UserOutputDTO {
|
|
|
17709
17874
|
* @type {PlayerOutputWithRolesDTO}
|
|
17710
17875
|
* @memberof UserOutputDTO
|
|
17711
17876
|
*/
|
|
17712
|
-
player
|
|
17877
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17713
17878
|
/**
|
|
17714
17879
|
*
|
|
17715
17880
|
* @type {boolean}
|
|
17716
17881
|
* @memberof UserOutputDTO
|
|
17717
17882
|
*/
|
|
17718
17883
|
isDashboardUser: boolean;
|
|
17884
|
+
/**
|
|
17885
|
+
*
|
|
17886
|
+
* @type {boolean}
|
|
17887
|
+
* @memberof UserOutputDTO
|
|
17888
|
+
*/
|
|
17889
|
+
isSupportAccount: boolean;
|
|
17719
17890
|
/**
|
|
17720
17891
|
*
|
|
17721
17892
|
* @type {string}
|
|
17722
17893
|
* @memberof UserOutputDTO
|
|
17723
17894
|
*/
|
|
17724
|
-
|
|
17895
|
+
inviteLinkId?: string;
|
|
17725
17896
|
/**
|
|
17726
17897
|
*
|
|
17727
|
-
* @type {
|
|
17898
|
+
* @type {string}
|
|
17728
17899
|
* @memberof UserOutputDTO
|
|
17729
17900
|
*/
|
|
17730
|
-
|
|
17901
|
+
id: string;
|
|
17731
17902
|
/**
|
|
17732
17903
|
*
|
|
17733
17904
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17734
17905
|
* @memberof UserOutputDTO
|
|
17735
17906
|
*/
|
|
17736
|
-
|
|
17907
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17737
17908
|
/**
|
|
17738
17909
|
*
|
|
17739
|
-
* @type {
|
|
17910
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17740
17911
|
* @memberof UserOutputDTO
|
|
17741
17912
|
*/
|
|
17742
|
-
|
|
17913
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17743
17914
|
}
|
|
17744
17915
|
/**
|
|
17745
17916
|
*
|
|
@@ -17831,13 +18002,19 @@ export interface UserOutputWithRolesDTO {
|
|
|
17831
18002
|
* @type {PlayerOutputWithRolesDTO}
|
|
17832
18003
|
* @memberof UserOutputWithRolesDTO
|
|
17833
18004
|
*/
|
|
17834
|
-
player
|
|
18005
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17835
18006
|
/**
|
|
17836
18007
|
*
|
|
17837
18008
|
* @type {boolean}
|
|
17838
18009
|
* @memberof UserOutputWithRolesDTO
|
|
17839
18010
|
*/
|
|
17840
18011
|
isDashboardUser: boolean;
|
|
18012
|
+
/**
|
|
18013
|
+
*
|
|
18014
|
+
* @type {boolean}
|
|
18015
|
+
* @memberof UserOutputWithRolesDTO
|
|
18016
|
+
*/
|
|
18017
|
+
isSupportAccount: boolean;
|
|
17841
18018
|
/**
|
|
17842
18019
|
*
|
|
17843
18020
|
* @type {string}
|
|
@@ -19069,7 +19246,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19069
19246
|
};
|
|
19070
19247
|
},
|
|
19071
19248
|
/**
|
|
19072
|
-
* Normalized 0-1 scores across
|
|
19249
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19073
19250
|
* @summary Get module health scores
|
|
19074
19251
|
* @param {string} [startDate]
|
|
19075
19252
|
* @param {string} [endDate]
|
|
@@ -20256,7 +20433,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20256
20433
|
},
|
|
20257
20434
|
/**
|
|
20258
20435
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20259
|
-
* @summary Get top modules by
|
|
20436
|
+
* @summary Get top modules by execution volume
|
|
20260
20437
|
* @param {string} [startDate]
|
|
20261
20438
|
* @param {string} [endDate]
|
|
20262
20439
|
* @param {string} [gameServerId]
|
|
@@ -20790,7 +20967,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20790
20967
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20791
20968
|
},
|
|
20792
20969
|
/**
|
|
20793
|
-
* Normalized 0-1 scores across
|
|
20970
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20794
20971
|
* @summary Get module health scores
|
|
20795
20972
|
* @param {string} [startDate]
|
|
20796
20973
|
* @param {string} [endDate]
|
|
@@ -21542,7 +21719,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
21542
21719
|
},
|
|
21543
21720
|
/**
|
|
21544
21721
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21545
|
-
* @summary Get top modules by
|
|
21722
|
+
* @summary Get top modules by execution volume
|
|
21546
21723
|
* @param {string} [startDate]
|
|
21547
21724
|
* @param {string} [endDate]
|
|
21548
21725
|
* @param {string} [gameServerId]
|
|
@@ -21864,7 +22041,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21864
22041
|
.then((request) => request(axios, basePath));
|
|
21865
22042
|
},
|
|
21866
22043
|
/**
|
|
21867
|
-
* Normalized 0-1 scores across
|
|
22044
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21868
22045
|
* @summary Get module health scores
|
|
21869
22046
|
* @param {string} [startDate]
|
|
21870
22047
|
* @param {string} [endDate]
|
|
@@ -22308,7 +22485,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
22308
22485
|
},
|
|
22309
22486
|
/**
|
|
22310
22487
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22311
|
-
* @summary Get top modules by
|
|
22488
|
+
* @summary Get top modules by execution volume
|
|
22312
22489
|
* @param {string} [startDate]
|
|
22313
22490
|
* @param {string} [endDate]
|
|
22314
22491
|
* @param {string} [gameServerId]
|
|
@@ -22627,7 +22804,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22627
22804
|
}
|
|
22628
22805
|
|
|
22629
22806
|
/**
|
|
22630
|
-
* Normalized 0-1 scores across
|
|
22807
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
22631
22808
|
* @summary Get module health scores
|
|
22632
22809
|
* @param {string} [startDate]
|
|
22633
22810
|
* @param {string} [endDate]
|
|
@@ -23113,7 +23290,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
23113
23290
|
|
|
23114
23291
|
/**
|
|
23115
23292
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
23116
|
-
* @summary Get top modules by
|
|
23293
|
+
* @summary Get top modules by execution volume
|
|
23117
23294
|
* @param {string} [startDate]
|
|
23118
23295
|
* @param {string} [endDate]
|
|
23119
23296
|
* @param {string} [gameServerId]
|
|
@@ -26360,6 +26537,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26360
26537
|
options: localVarRequestOptions,
|
|
26361
26538
|
};
|
|
26362
26539
|
},
|
|
26540
|
+
/**
|
|
26541
|
+
* 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`
|
|
26542
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26543
|
+
* @param {string} id
|
|
26544
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26545
|
+
* @param {*} [options] Override http request option.
|
|
26546
|
+
* @throws {RequiredError}
|
|
26547
|
+
*/
|
|
26548
|
+
domainControllerCreateInviteLink: async (
|
|
26549
|
+
id: string,
|
|
26550
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26551
|
+
options: RawAxiosRequestConfig = {},
|
|
26552
|
+
): Promise<RequestArgs> => {
|
|
26553
|
+
// verify required parameter 'id' is not null or undefined
|
|
26554
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26555
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26558
|
+
let baseOptions;
|
|
26559
|
+
if (configuration) {
|
|
26560
|
+
baseOptions = configuration.baseOptions;
|
|
26561
|
+
}
|
|
26562
|
+
|
|
26563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26564
|
+
const localVarHeaderParameter = {} as any;
|
|
26565
|
+
const localVarQueryParameter = {} as any;
|
|
26566
|
+
|
|
26567
|
+
// authentication adminAuth required
|
|
26568
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26569
|
+
|
|
26570
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26571
|
+
|
|
26572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26574
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26575
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26576
|
+
inviteLinkCreateInputDTO,
|
|
26577
|
+
localVarRequestOptions,
|
|
26578
|
+
configuration,
|
|
26579
|
+
);
|
|
26580
|
+
|
|
26581
|
+
return {
|
|
26582
|
+
url: toPathString(localVarUrlObj),
|
|
26583
|
+
options: localVarRequestOptions,
|
|
26584
|
+
};
|
|
26585
|
+
},
|
|
26363
26586
|
/**
|
|
26364
26587
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26365
26588
|
* @summary Get one
|
|
@@ -26632,6 +26855,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
26632
26855
|
configuration,
|
|
26633
26856
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
26634
26857
|
},
|
|
26858
|
+
/**
|
|
26859
|
+
* 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`
|
|
26860
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26861
|
+
* @param {string} id
|
|
26862
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26863
|
+
* @param {*} [options] Override http request option.
|
|
26864
|
+
* @throws {RequiredError}
|
|
26865
|
+
*/
|
|
26866
|
+
async domainControllerCreateInviteLink(
|
|
26867
|
+
id: string,
|
|
26868
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26869
|
+
options?: RawAxiosRequestConfig,
|
|
26870
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
26871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
26872
|
+
id,
|
|
26873
|
+
inviteLinkCreateInputDTO,
|
|
26874
|
+
options,
|
|
26875
|
+
);
|
|
26876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26877
|
+
const localVarOperationServerBasePath =
|
|
26878
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
26879
|
+
return (axios, basePath) =>
|
|
26880
|
+
createRequestFunction(
|
|
26881
|
+
localVarAxiosArgs,
|
|
26882
|
+
globalAxios,
|
|
26883
|
+
BASE_PATH,
|
|
26884
|
+
configuration,
|
|
26885
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
26886
|
+
},
|
|
26635
26887
|
/**
|
|
26636
26888
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26637
26889
|
* @summary Get one
|
|
@@ -26806,6 +27058,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
26806
27058
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
26807
27059
|
.then((request) => request(axios, basePath));
|
|
26808
27060
|
},
|
|
27061
|
+
/**
|
|
27062
|
+
* 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`
|
|
27063
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27064
|
+
* @param {string} id
|
|
27065
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27066
|
+
* @param {*} [options] Override http request option.
|
|
27067
|
+
* @throws {RequiredError}
|
|
27068
|
+
*/
|
|
27069
|
+
domainControllerCreateInviteLink(
|
|
27070
|
+
id: string,
|
|
27071
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27072
|
+
options?: RawAxiosRequestConfig,
|
|
27073
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27074
|
+
return localVarFp
|
|
27075
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27076
|
+
.then((request) => request(axios, basePath));
|
|
27077
|
+
},
|
|
26809
27078
|
/**
|
|
26810
27079
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26811
27080
|
* @summary Get one
|
|
@@ -26911,6 +27180,25 @@ export class DomainApi extends BaseAPI {
|
|
|
26911
27180
|
.then((request) => request(this.axios, this.basePath));
|
|
26912
27181
|
}
|
|
26913
27182
|
|
|
27183
|
+
/**
|
|
27184
|
+
* 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`
|
|
27185
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27186
|
+
* @param {string} id
|
|
27187
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27188
|
+
* @param {*} [options] Override http request option.
|
|
27189
|
+
* @throws {RequiredError}
|
|
27190
|
+
* @memberof DomainApi
|
|
27191
|
+
*/
|
|
27192
|
+
public domainControllerCreateInviteLink(
|
|
27193
|
+
id: string,
|
|
27194
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27195
|
+
options?: RawAxiosRequestConfig,
|
|
27196
|
+
) {
|
|
27197
|
+
return DomainApiFp(this.configuration)
|
|
27198
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27200
|
+
}
|
|
27201
|
+
|
|
26914
27202
|
/**
|
|
26915
27203
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26916
27204
|
* @summary Get one
|
|
@@ -27871,16 +28159,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
27871
28159
|
/**
|
|
27872
28160
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27873
28161
|
* @summary Auth discord
|
|
27874
|
-
* @param {string} redirect
|
|
28162
|
+
* @param {string} [redirect]
|
|
27875
28163
|
* @param {*} [options] Override http request option.
|
|
27876
28164
|
* @throws {RequiredError}
|
|
27877
28165
|
*/
|
|
27878
28166
|
externalAuthControllerAuthDiscord: async (
|
|
27879
|
-
redirect
|
|
28167
|
+
redirect?: string,
|
|
27880
28168
|
options: RawAxiosRequestConfig = {},
|
|
27881
28169
|
): Promise<RequestArgs> => {
|
|
27882
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
27883
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
27884
28170
|
const localVarPath = `/auth/discord`;
|
|
27885
28171
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27886
28172
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -27947,12 +28233,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
27947
28233
|
/**
|
|
27948
28234
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27949
28235
|
* @summary Auth discord
|
|
27950
|
-
* @param {string} redirect
|
|
28236
|
+
* @param {string} [redirect]
|
|
27951
28237
|
* @param {*} [options] Override http request option.
|
|
27952
28238
|
* @throws {RequiredError}
|
|
27953
28239
|
*/
|
|
27954
28240
|
async externalAuthControllerAuthDiscord(
|
|
27955
|
-
redirect
|
|
28241
|
+
redirect?: string,
|
|
27956
28242
|
options?: RawAxiosRequestConfig,
|
|
27957
28243
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27958
28244
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -28006,11 +28292,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
28006
28292
|
/**
|
|
28007
28293
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28008
28294
|
* @summary Auth discord
|
|
28009
|
-
* @param {string} redirect
|
|
28295
|
+
* @param {string} [redirect]
|
|
28010
28296
|
* @param {*} [options] Override http request option.
|
|
28011
28297
|
* @throws {RequiredError}
|
|
28012
28298
|
*/
|
|
28013
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28299
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28014
28300
|
return localVarFp
|
|
28015
28301
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28016
28302
|
.then((request) => request(axios, basePath));
|
|
@@ -28037,12 +28323,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
28037
28323
|
/**
|
|
28038
28324
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28039
28325
|
* @summary Auth discord
|
|
28040
|
-
* @param {string} redirect
|
|
28326
|
+
* @param {string} [redirect]
|
|
28041
28327
|
* @param {*} [options] Override http request option.
|
|
28042
28328
|
* @throws {RequiredError}
|
|
28043
28329
|
* @memberof ExternalAuthApi
|
|
28044
28330
|
*/
|
|
28045
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28331
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
28046
28332
|
return ExternalAuthApiFp(this.configuration)
|
|
28047
28333
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28048
28334
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -31744,6 +32030,488 @@ export class HookApi extends BaseAPI {
|
|
|
31744
32030
|
}
|
|
31745
32031
|
}
|
|
31746
32032
|
|
|
32033
|
+
/**
|
|
32034
|
+
* InviteLinkApi - axios parameter creator
|
|
32035
|
+
* @export
|
|
32036
|
+
*/
|
|
32037
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32038
|
+
return {
|
|
32039
|
+
/**
|
|
32040
|
+
* 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`
|
|
32041
|
+
* @summary Create invite link
|
|
32042
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32043
|
+
* @param {*} [options] Override http request option.
|
|
32044
|
+
* @throws {RequiredError}
|
|
32045
|
+
*/
|
|
32046
|
+
inviteLinkControllerCreate: async (
|
|
32047
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32048
|
+
options: RawAxiosRequestConfig = {},
|
|
32049
|
+
): Promise<RequestArgs> => {
|
|
32050
|
+
const localVarPath = `/invite-link`;
|
|
32051
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32052
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32053
|
+
let baseOptions;
|
|
32054
|
+
if (configuration) {
|
|
32055
|
+
baseOptions = configuration.baseOptions;
|
|
32056
|
+
}
|
|
32057
|
+
|
|
32058
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32059
|
+
const localVarHeaderParameter = {} as any;
|
|
32060
|
+
const localVarQueryParameter = {} as any;
|
|
32061
|
+
|
|
32062
|
+
// authentication domainAuth required
|
|
32063
|
+
|
|
32064
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32065
|
+
|
|
32066
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32068
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32069
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32070
|
+
inviteLinkCreateInputDTO,
|
|
32071
|
+
localVarRequestOptions,
|
|
32072
|
+
configuration,
|
|
32073
|
+
);
|
|
32074
|
+
|
|
32075
|
+
return {
|
|
32076
|
+
url: toPathString(localVarUrlObj),
|
|
32077
|
+
options: localVarRequestOptions,
|
|
32078
|
+
};
|
|
32079
|
+
},
|
|
32080
|
+
/**
|
|
32081
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32082
|
+
* @summary Preview
|
|
32083
|
+
* @param {string} token
|
|
32084
|
+
* @param {*} [options] Override http request option.
|
|
32085
|
+
* @throws {RequiredError}
|
|
32086
|
+
*/
|
|
32087
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32088
|
+
// verify required parameter 'token' is not null or undefined
|
|
32089
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32090
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32091
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32093
|
+
let baseOptions;
|
|
32094
|
+
if (configuration) {
|
|
32095
|
+
baseOptions = configuration.baseOptions;
|
|
32096
|
+
}
|
|
32097
|
+
|
|
32098
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32099
|
+
const localVarHeaderParameter = {} as any;
|
|
32100
|
+
const localVarQueryParameter = {} as any;
|
|
32101
|
+
|
|
32102
|
+
// authentication domainAuth required
|
|
32103
|
+
|
|
32104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32107
|
+
|
|
32108
|
+
return {
|
|
32109
|
+
url: toPathString(localVarUrlObj),
|
|
32110
|
+
options: localVarRequestOptions,
|
|
32111
|
+
};
|
|
32112
|
+
},
|
|
32113
|
+
/**
|
|
32114
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32115
|
+
* @summary Redeem
|
|
32116
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32117
|
+
* @param {*} [options] Override http request option.
|
|
32118
|
+
* @throws {RequiredError}
|
|
32119
|
+
*/
|
|
32120
|
+
inviteLinkControllerRedeem: async (
|
|
32121
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32122
|
+
options: RawAxiosRequestConfig = {},
|
|
32123
|
+
): Promise<RequestArgs> => {
|
|
32124
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32127
|
+
let baseOptions;
|
|
32128
|
+
if (configuration) {
|
|
32129
|
+
baseOptions = configuration.baseOptions;
|
|
32130
|
+
}
|
|
32131
|
+
|
|
32132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32133
|
+
const localVarHeaderParameter = {} as any;
|
|
32134
|
+
const localVarQueryParameter = {} as any;
|
|
32135
|
+
|
|
32136
|
+
// authentication domainAuth required
|
|
32137
|
+
|
|
32138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32139
|
+
|
|
32140
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32142
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32144
|
+
|
|
32145
|
+
return {
|
|
32146
|
+
url: toPathString(localVarUrlObj),
|
|
32147
|
+
options: localVarRequestOptions,
|
|
32148
|
+
};
|
|
32149
|
+
},
|
|
32150
|
+
/**
|
|
32151
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32152
|
+
* @summary Revoke
|
|
32153
|
+
* @param {string} id
|
|
32154
|
+
* @param {*} [options] Override http request option.
|
|
32155
|
+
* @throws {RequiredError}
|
|
32156
|
+
*/
|
|
32157
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32158
|
+
// verify required parameter 'id' is not null or undefined
|
|
32159
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32160
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32163
|
+
let baseOptions;
|
|
32164
|
+
if (configuration) {
|
|
32165
|
+
baseOptions = configuration.baseOptions;
|
|
32166
|
+
}
|
|
32167
|
+
|
|
32168
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32169
|
+
const localVarHeaderParameter = {} as any;
|
|
32170
|
+
const localVarQueryParameter = {} as any;
|
|
32171
|
+
|
|
32172
|
+
// authentication domainAuth required
|
|
32173
|
+
|
|
32174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32176
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32177
|
+
|
|
32178
|
+
return {
|
|
32179
|
+
url: toPathString(localVarUrlObj),
|
|
32180
|
+
options: localVarRequestOptions,
|
|
32181
|
+
};
|
|
32182
|
+
},
|
|
32183
|
+
/**
|
|
32184
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32185
|
+
* @summary Search
|
|
32186
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32187
|
+
* @param {*} [options] Override http request option.
|
|
32188
|
+
* @throws {RequiredError}
|
|
32189
|
+
*/
|
|
32190
|
+
inviteLinkControllerSearch: async (
|
|
32191
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32192
|
+
options: RawAxiosRequestConfig = {},
|
|
32193
|
+
): Promise<RequestArgs> => {
|
|
32194
|
+
const localVarPath = `/invite-link/search`;
|
|
32195
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32196
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32197
|
+
let baseOptions;
|
|
32198
|
+
if (configuration) {
|
|
32199
|
+
baseOptions = configuration.baseOptions;
|
|
32200
|
+
}
|
|
32201
|
+
|
|
32202
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32203
|
+
const localVarHeaderParameter = {} as any;
|
|
32204
|
+
const localVarQueryParameter = {} as any;
|
|
32205
|
+
|
|
32206
|
+
// authentication domainAuth required
|
|
32207
|
+
|
|
32208
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32209
|
+
|
|
32210
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32211
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32212
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32213
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32214
|
+
inviteLinkSearchInputDTO,
|
|
32215
|
+
localVarRequestOptions,
|
|
32216
|
+
configuration,
|
|
32217
|
+
);
|
|
32218
|
+
|
|
32219
|
+
return {
|
|
32220
|
+
url: toPathString(localVarUrlObj),
|
|
32221
|
+
options: localVarRequestOptions,
|
|
32222
|
+
};
|
|
32223
|
+
},
|
|
32224
|
+
};
|
|
32225
|
+
};
|
|
32226
|
+
|
|
32227
|
+
/**
|
|
32228
|
+
* InviteLinkApi - functional programming interface
|
|
32229
|
+
* @export
|
|
32230
|
+
*/
|
|
32231
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32232
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
32233
|
+
return {
|
|
32234
|
+
/**
|
|
32235
|
+
* 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`
|
|
32236
|
+
* @summary Create invite link
|
|
32237
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32238
|
+
* @param {*} [options] Override http request option.
|
|
32239
|
+
* @throws {RequiredError}
|
|
32240
|
+
*/
|
|
32241
|
+
async inviteLinkControllerCreate(
|
|
32242
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32243
|
+
options?: RawAxiosRequestConfig,
|
|
32244
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32246
|
+
inviteLinkCreateInputDTO,
|
|
32247
|
+
options,
|
|
32248
|
+
);
|
|
32249
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32250
|
+
const localVarOperationServerBasePath =
|
|
32251
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
32252
|
+
return (axios, basePath) =>
|
|
32253
|
+
createRequestFunction(
|
|
32254
|
+
localVarAxiosArgs,
|
|
32255
|
+
globalAxios,
|
|
32256
|
+
BASE_PATH,
|
|
32257
|
+
configuration,
|
|
32258
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32259
|
+
},
|
|
32260
|
+
/**
|
|
32261
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32262
|
+
* @summary Preview
|
|
32263
|
+
* @param {string} token
|
|
32264
|
+
* @param {*} [options] Override http request option.
|
|
32265
|
+
* @throws {RequiredError}
|
|
32266
|
+
*/
|
|
32267
|
+
async inviteLinkControllerPreview(
|
|
32268
|
+
token: string,
|
|
32269
|
+
options?: RawAxiosRequestConfig,
|
|
32270
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
32272
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32273
|
+
const localVarOperationServerBasePath =
|
|
32274
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
32275
|
+
return (axios, basePath) =>
|
|
32276
|
+
createRequestFunction(
|
|
32277
|
+
localVarAxiosArgs,
|
|
32278
|
+
globalAxios,
|
|
32279
|
+
BASE_PATH,
|
|
32280
|
+
configuration,
|
|
32281
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32282
|
+
},
|
|
32283
|
+
/**
|
|
32284
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32285
|
+
* @summary Redeem
|
|
32286
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32287
|
+
* @param {*} [options] Override http request option.
|
|
32288
|
+
* @throws {RequiredError}
|
|
32289
|
+
*/
|
|
32290
|
+
async inviteLinkControllerRedeem(
|
|
32291
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32292
|
+
options?: RawAxiosRequestConfig,
|
|
32293
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
32295
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32296
|
+
const localVarOperationServerBasePath =
|
|
32297
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
32298
|
+
return (axios, basePath) =>
|
|
32299
|
+
createRequestFunction(
|
|
32300
|
+
localVarAxiosArgs,
|
|
32301
|
+
globalAxios,
|
|
32302
|
+
BASE_PATH,
|
|
32303
|
+
configuration,
|
|
32304
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32305
|
+
},
|
|
32306
|
+
/**
|
|
32307
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32308
|
+
* @summary Revoke
|
|
32309
|
+
* @param {string} id
|
|
32310
|
+
* @param {*} [options] Override http request option.
|
|
32311
|
+
* @throws {RequiredError}
|
|
32312
|
+
*/
|
|
32313
|
+
async inviteLinkControllerRevoke(
|
|
32314
|
+
id: string,
|
|
32315
|
+
options?: RawAxiosRequestConfig,
|
|
32316
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
32317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
32318
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32319
|
+
const localVarOperationServerBasePath =
|
|
32320
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
32321
|
+
return (axios, basePath) =>
|
|
32322
|
+
createRequestFunction(
|
|
32323
|
+
localVarAxiosArgs,
|
|
32324
|
+
globalAxios,
|
|
32325
|
+
BASE_PATH,
|
|
32326
|
+
configuration,
|
|
32327
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32328
|
+
},
|
|
32329
|
+
/**
|
|
32330
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32331
|
+
* @summary Search
|
|
32332
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32333
|
+
* @param {*} [options] Override http request option.
|
|
32334
|
+
* @throws {RequiredError}
|
|
32335
|
+
*/
|
|
32336
|
+
async inviteLinkControllerSearch(
|
|
32337
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32338
|
+
options?: RawAxiosRequestConfig,
|
|
32339
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32341
|
+
inviteLinkSearchInputDTO,
|
|
32342
|
+
options,
|
|
32343
|
+
);
|
|
32344
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32345
|
+
const localVarOperationServerBasePath =
|
|
32346
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32347
|
+
return (axios, basePath) =>
|
|
32348
|
+
createRequestFunction(
|
|
32349
|
+
localVarAxiosArgs,
|
|
32350
|
+
globalAxios,
|
|
32351
|
+
BASE_PATH,
|
|
32352
|
+
configuration,
|
|
32353
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32354
|
+
},
|
|
32355
|
+
};
|
|
32356
|
+
};
|
|
32357
|
+
|
|
32358
|
+
/**
|
|
32359
|
+
* InviteLinkApi - factory interface
|
|
32360
|
+
* @export
|
|
32361
|
+
*/
|
|
32362
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32363
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
32364
|
+
return {
|
|
32365
|
+
/**
|
|
32366
|
+
* 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`
|
|
32367
|
+
* @summary Create invite link
|
|
32368
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32369
|
+
* @param {*} [options] Override http request option.
|
|
32370
|
+
* @throws {RequiredError}
|
|
32371
|
+
*/
|
|
32372
|
+
inviteLinkControllerCreate(
|
|
32373
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32374
|
+
options?: RawAxiosRequestConfig,
|
|
32375
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
32376
|
+
return localVarFp
|
|
32377
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32378
|
+
.then((request) => request(axios, basePath));
|
|
32379
|
+
},
|
|
32380
|
+
/**
|
|
32381
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32382
|
+
* @summary Preview
|
|
32383
|
+
* @param {string} token
|
|
32384
|
+
* @param {*} [options] Override http request option.
|
|
32385
|
+
* @throws {RequiredError}
|
|
32386
|
+
*/
|
|
32387
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32388
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
32389
|
+
},
|
|
32390
|
+
/**
|
|
32391
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32392
|
+
* @summary Redeem
|
|
32393
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32394
|
+
* @param {*} [options] Override http request option.
|
|
32395
|
+
* @throws {RequiredError}
|
|
32396
|
+
*/
|
|
32397
|
+
inviteLinkControllerRedeem(
|
|
32398
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32399
|
+
options?: RawAxiosRequestConfig,
|
|
32400
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32401
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
32402
|
+
},
|
|
32403
|
+
/**
|
|
32404
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32405
|
+
* @summary Revoke
|
|
32406
|
+
* @param {string} id
|
|
32407
|
+
* @param {*} [options] Override http request option.
|
|
32408
|
+
* @throws {RequiredError}
|
|
32409
|
+
*/
|
|
32410
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32411
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
32412
|
+
},
|
|
32413
|
+
/**
|
|
32414
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32415
|
+
* @summary Search
|
|
32416
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32417
|
+
* @param {*} [options] Override http request option.
|
|
32418
|
+
* @throws {RequiredError}
|
|
32419
|
+
*/
|
|
32420
|
+
inviteLinkControllerSearch(
|
|
32421
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32422
|
+
options?: RawAxiosRequestConfig,
|
|
32423
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32424
|
+
return localVarFp
|
|
32425
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32426
|
+
.then((request) => request(axios, basePath));
|
|
32427
|
+
},
|
|
32428
|
+
};
|
|
32429
|
+
};
|
|
32430
|
+
|
|
32431
|
+
/**
|
|
32432
|
+
* InviteLinkApi - object-oriented interface
|
|
32433
|
+
* @export
|
|
32434
|
+
* @class InviteLinkApi
|
|
32435
|
+
* @extends {BaseAPI}
|
|
32436
|
+
*/
|
|
32437
|
+
export class InviteLinkApi extends BaseAPI {
|
|
32438
|
+
/**
|
|
32439
|
+
* 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`
|
|
32440
|
+
* @summary Create invite link
|
|
32441
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32442
|
+
* @param {*} [options] Override http request option.
|
|
32443
|
+
* @throws {RequiredError}
|
|
32444
|
+
* @memberof InviteLinkApi
|
|
32445
|
+
*/
|
|
32446
|
+
public inviteLinkControllerCreate(
|
|
32447
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32448
|
+
options?: RawAxiosRequestConfig,
|
|
32449
|
+
) {
|
|
32450
|
+
return InviteLinkApiFp(this.configuration)
|
|
32451
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32452
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32453
|
+
}
|
|
32454
|
+
|
|
32455
|
+
/**
|
|
32456
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32457
|
+
* @summary Preview
|
|
32458
|
+
* @param {string} token
|
|
32459
|
+
* @param {*} [options] Override http request option.
|
|
32460
|
+
* @throws {RequiredError}
|
|
32461
|
+
* @memberof InviteLinkApi
|
|
32462
|
+
*/
|
|
32463
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32464
|
+
return InviteLinkApiFp(this.configuration)
|
|
32465
|
+
.inviteLinkControllerPreview(token, options)
|
|
32466
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32467
|
+
}
|
|
32468
|
+
|
|
32469
|
+
/**
|
|
32470
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32471
|
+
* @summary Redeem
|
|
32472
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32473
|
+
* @param {*} [options] Override http request option.
|
|
32474
|
+
* @throws {RequiredError}
|
|
32475
|
+
* @memberof InviteLinkApi
|
|
32476
|
+
*/
|
|
32477
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32478
|
+
return InviteLinkApiFp(this.configuration)
|
|
32479
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
32480
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32481
|
+
}
|
|
32482
|
+
|
|
32483
|
+
/**
|
|
32484
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32485
|
+
* @summary Revoke
|
|
32486
|
+
* @param {string} id
|
|
32487
|
+
* @param {*} [options] Override http request option.
|
|
32488
|
+
* @throws {RequiredError}
|
|
32489
|
+
* @memberof InviteLinkApi
|
|
32490
|
+
*/
|
|
32491
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32492
|
+
return InviteLinkApiFp(this.configuration)
|
|
32493
|
+
.inviteLinkControllerRevoke(id, options)
|
|
32494
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32495
|
+
}
|
|
32496
|
+
|
|
32497
|
+
/**
|
|
32498
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32499
|
+
* @summary Search
|
|
32500
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32501
|
+
* @param {*} [options] Override http request option.
|
|
32502
|
+
* @throws {RequiredError}
|
|
32503
|
+
* @memberof InviteLinkApi
|
|
32504
|
+
*/
|
|
32505
|
+
public inviteLinkControllerSearch(
|
|
32506
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32507
|
+
options?: RawAxiosRequestConfig,
|
|
32508
|
+
) {
|
|
32509
|
+
return InviteLinkApiFp(this.configuration)
|
|
32510
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32511
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32512
|
+
}
|
|
32513
|
+
}
|
|
32514
|
+
|
|
31747
32515
|
/**
|
|
31748
32516
|
* ItemApi - axios parameter creator
|
|
31749
32517
|
* @export
|
|
@@ -31982,6 +32750,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
31982
32750
|
options: localVarRequestOptions,
|
|
31983
32751
|
};
|
|
31984
32752
|
},
|
|
32753
|
+
/**
|
|
32754
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
32755
|
+
* @summary Get liveness
|
|
32756
|
+
* @param {*} [options] Override http request option.
|
|
32757
|
+
* @throws {RequiredError}
|
|
32758
|
+
*/
|
|
32759
|
+
metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32760
|
+
const localVarPath = `/livez`;
|
|
32761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32763
|
+
let baseOptions;
|
|
32764
|
+
if (configuration) {
|
|
32765
|
+
baseOptions = configuration.baseOptions;
|
|
32766
|
+
}
|
|
32767
|
+
|
|
32768
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32769
|
+
const localVarHeaderParameter = {} as any;
|
|
32770
|
+
const localVarQueryParameter = {} as any;
|
|
32771
|
+
|
|
32772
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32774
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32775
|
+
|
|
32776
|
+
return {
|
|
32777
|
+
url: toPathString(localVarUrlObj),
|
|
32778
|
+
options: localVarRequestOptions,
|
|
32779
|
+
};
|
|
32780
|
+
},
|
|
31985
32781
|
/**
|
|
31986
32782
|
* <br> OperationId: `MetaGetMetrics`
|
|
31987
32783
|
* @summary Get metrics
|
|
@@ -32153,6 +32949,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
32153
32949
|
configuration,
|
|
32154
32950
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
32155
32951
|
},
|
|
32952
|
+
/**
|
|
32953
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
32954
|
+
* @summary Get liveness
|
|
32955
|
+
* @param {*} [options] Override http request option.
|
|
32956
|
+
* @throws {RequiredError}
|
|
32957
|
+
*/
|
|
32958
|
+
async metaGetLiveness(
|
|
32959
|
+
options?: RawAxiosRequestConfig,
|
|
32960
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
|
|
32961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
32962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32963
|
+
const localVarOperationServerBasePath =
|
|
32964
|
+
operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
32965
|
+
return (axios, basePath) =>
|
|
32966
|
+
createRequestFunction(
|
|
32967
|
+
localVarAxiosArgs,
|
|
32968
|
+
globalAxios,
|
|
32969
|
+
BASE_PATH,
|
|
32970
|
+
configuration,
|
|
32971
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32972
|
+
},
|
|
32156
32973
|
/**
|
|
32157
32974
|
* <br> OperationId: `MetaGetMetrics`
|
|
32158
32975
|
* @summary Get metrics
|
|
@@ -32277,6 +33094,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
32277
33094
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
32278
33095
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
32279
33096
|
},
|
|
33097
|
+
/**
|
|
33098
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33099
|
+
* @summary Get liveness
|
|
33100
|
+
* @param {*} [options] Override http request option.
|
|
33101
|
+
* @throws {RequiredError}
|
|
33102
|
+
*/
|
|
33103
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
33104
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
33105
|
+
},
|
|
32280
33106
|
/**
|
|
32281
33107
|
* <br> OperationId: `MetaGetMetrics`
|
|
32282
33108
|
* @summary Get metrics
|
|
@@ -32345,6 +33171,19 @@ export class MetaApi extends BaseAPI {
|
|
|
32345
33171
|
.then((request) => request(this.axios, this.basePath));
|
|
32346
33172
|
}
|
|
32347
33173
|
|
|
33174
|
+
/**
|
|
33175
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33176
|
+
* @summary Get liveness
|
|
33177
|
+
* @param {*} [options] Override http request option.
|
|
33178
|
+
* @throws {RequiredError}
|
|
33179
|
+
* @memberof MetaApi
|
|
33180
|
+
*/
|
|
33181
|
+
public metaGetLiveness(options?: RawAxiosRequestConfig) {
|
|
33182
|
+
return MetaApiFp(this.configuration)
|
|
33183
|
+
.metaGetLiveness(options)
|
|
33184
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33185
|
+
}
|
|
33186
|
+
|
|
32348
33187
|
/**
|
|
32349
33188
|
* <br> OperationId: `MetaGetMetrics`
|
|
32350
33189
|
* @summary Get metrics
|
|
@@ -41047,6 +41886,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41047
41886
|
options: localVarRequestOptions,
|
|
41048
41887
|
};
|
|
41049
41888
|
},
|
|
41889
|
+
/**
|
|
41890
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41891
|
+
* @summary Count billable dashboard users
|
|
41892
|
+
* @param {*} [options] Override http request option.
|
|
41893
|
+
* @throws {RequiredError}
|
|
41894
|
+
*/
|
|
41895
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41896
|
+
const localVarPath = `/user/count`;
|
|
41897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41898
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41899
|
+
let baseOptions;
|
|
41900
|
+
if (configuration) {
|
|
41901
|
+
baseOptions = configuration.baseOptions;
|
|
41902
|
+
}
|
|
41903
|
+
|
|
41904
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41905
|
+
const localVarHeaderParameter = {} as any;
|
|
41906
|
+
const localVarQueryParameter = {} as any;
|
|
41907
|
+
|
|
41908
|
+
// authentication domainAuth required
|
|
41909
|
+
|
|
41910
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41911
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41912
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41913
|
+
|
|
41914
|
+
return {
|
|
41915
|
+
url: toPathString(localVarUrlObj),
|
|
41916
|
+
options: localVarRequestOptions,
|
|
41917
|
+
};
|
|
41918
|
+
},
|
|
41050
41919
|
/**
|
|
41051
41920
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41052
41921
|
* @summary Create
|
|
@@ -41152,6 +42021,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41152
42021
|
* @summary Invite
|
|
41153
42022
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41154
42023
|
* @param {*} [options] Override http request option.
|
|
42024
|
+
* @deprecated
|
|
41155
42025
|
* @throws {RequiredError}
|
|
41156
42026
|
*/
|
|
41157
42027
|
userControllerInvite: async (
|
|
@@ -41553,6 +42423,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41553
42423
|
configuration,
|
|
41554
42424
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41555
42425
|
},
|
|
42426
|
+
/**
|
|
42427
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42428
|
+
* @summary Count billable dashboard users
|
|
42429
|
+
* @param {*} [options] Override http request option.
|
|
42430
|
+
* @throws {RequiredError}
|
|
42431
|
+
*/
|
|
42432
|
+
async userControllerCountBillableDashboardUsers(
|
|
42433
|
+
options?: RawAxiosRequestConfig,
|
|
42434
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
42435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
42436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42437
|
+
const localVarOperationServerBasePath =
|
|
42438
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
42439
|
+
return (axios, basePath) =>
|
|
42440
|
+
createRequestFunction(
|
|
42441
|
+
localVarAxiosArgs,
|
|
42442
|
+
globalAxios,
|
|
42443
|
+
BASE_PATH,
|
|
42444
|
+
configuration,
|
|
42445
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42446
|
+
},
|
|
41556
42447
|
/**
|
|
41557
42448
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41558
42449
|
* @summary Create
|
|
@@ -41625,6 +42516,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41625
42516
|
* @summary Invite
|
|
41626
42517
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41627
42518
|
* @param {*} [options] Override http request option.
|
|
42519
|
+
* @deprecated
|
|
41628
42520
|
* @throws {RequiredError}
|
|
41629
42521
|
*/
|
|
41630
42522
|
async userControllerInvite(
|
|
@@ -41882,6 +42774,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41882
42774
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
41883
42775
|
.then((request) => request(axios, basePath));
|
|
41884
42776
|
},
|
|
42777
|
+
/**
|
|
42778
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42779
|
+
* @summary Count billable dashboard users
|
|
42780
|
+
* @param {*} [options] Override http request option.
|
|
42781
|
+
* @throws {RequiredError}
|
|
42782
|
+
*/
|
|
42783
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42784
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42785
|
+
},
|
|
41885
42786
|
/**
|
|
41886
42787
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41887
42788
|
* @summary Create
|
|
@@ -41919,6 +42820,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41919
42820
|
* @summary Invite
|
|
41920
42821
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41921
42822
|
* @param {*} [options] Override http request option.
|
|
42823
|
+
* @deprecated
|
|
41922
42824
|
* @throws {RequiredError}
|
|
41923
42825
|
*/
|
|
41924
42826
|
userControllerInvite(
|
|
@@ -42060,6 +42962,19 @@ export class UserApi extends BaseAPI {
|
|
|
42060
42962
|
.then((request) => request(this.axios, this.basePath));
|
|
42061
42963
|
}
|
|
42062
42964
|
|
|
42965
|
+
/**
|
|
42966
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42967
|
+
* @summary Count billable dashboard users
|
|
42968
|
+
* @param {*} [options] Override http request option.
|
|
42969
|
+
* @throws {RequiredError}
|
|
42970
|
+
* @memberof UserApi
|
|
42971
|
+
*/
|
|
42972
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42973
|
+
return UserApiFp(this.configuration)
|
|
42974
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42975
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42976
|
+
}
|
|
42977
|
+
|
|
42063
42978
|
/**
|
|
42064
42979
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
42065
42980
|
* @summary Create
|
|
@@ -42106,6 +43021,7 @@ export class UserApi extends BaseAPI {
|
|
|
42106
43021
|
* @summary Invite
|
|
42107
43022
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
42108
43023
|
* @param {*} [options] Override http request option.
|
|
43024
|
+
* @deprecated
|
|
42109
43025
|
* @throws {RequiredError}
|
|
42110
43026
|
* @memberof UserApi
|
|
42111
43027
|
*/
|
|
@@ -42728,474 +43644,3 @@ export class VariableApi extends BaseAPI {
|
|
|
42728
43644
|
.then((request) => request(this.axios, this.basePath));
|
|
42729
43645
|
}
|
|
42730
43646
|
}
|
|
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
|
-
}
|