@takaro/apiclient 0.0.0-dev.3ac9e01 → 0.0.0-dev.3c1c88c
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 +917 -312
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +4907 -4552
- 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 +28249 -0
- package/package.json +1 -1
- package/src/generated/api.ts +1492 -580
- 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
|
@@ -780,6 +780,88 @@ export interface BoundingBoxSearchInputDTO {
|
|
|
780
780
|
*/
|
|
781
781
|
gameserverId: string;
|
|
782
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @export
|
|
786
|
+
* @interface BulkActionFailureDTO
|
|
787
|
+
*/
|
|
788
|
+
export interface BulkActionFailureDTO {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof BulkActionFailureDTO
|
|
793
|
+
*/
|
|
794
|
+
id: string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof BulkActionFailureDTO
|
|
799
|
+
*/
|
|
800
|
+
name: string;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof BulkActionFailureDTO
|
|
805
|
+
*/
|
|
806
|
+
reason: string;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @export
|
|
811
|
+
* @interface BulkActionResultDTO
|
|
812
|
+
*/
|
|
813
|
+
export interface BulkActionResultDTO {
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @type {number}
|
|
817
|
+
* @memberof BulkActionResultDTO
|
|
818
|
+
*/
|
|
819
|
+
succeeded: number;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @type {Array<BulkActionFailureDTO>}
|
|
823
|
+
* @memberof BulkActionResultDTO
|
|
824
|
+
*/
|
|
825
|
+
failed: Array<BulkActionFailureDTO>;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @export
|
|
830
|
+
* @interface BulkActionResultDTOAPI
|
|
831
|
+
*/
|
|
832
|
+
export interface BulkActionResultDTOAPI {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {BulkActionResultDTO}
|
|
836
|
+
* @memberof BulkActionResultDTOAPI
|
|
837
|
+
*/
|
|
838
|
+
data: BulkActionResultDTO;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {MetadataOutput}
|
|
842
|
+
* @memberof BulkActionResultDTOAPI
|
|
843
|
+
*/
|
|
844
|
+
meta: MetadataOutput;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @export
|
|
849
|
+
* @interface BulkTargetDTO
|
|
850
|
+
*/
|
|
851
|
+
export interface BulkTargetDTO {
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {Array<string>}
|
|
855
|
+
* @memberof BulkTargetDTO
|
|
856
|
+
*/
|
|
857
|
+
ids?: Array<string>;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {Array<string>}
|
|
861
|
+
* @memberof BulkTargetDTO
|
|
862
|
+
*/
|
|
863
|
+
excludedIds?: Array<string>;
|
|
864
|
+
}
|
|
783
865
|
/**
|
|
784
866
|
*
|
|
785
867
|
* @export
|
|
@@ -2264,6 +2346,30 @@ export interface DomainCreateInputDTO {
|
|
|
2264
2346
|
* @memberof DomainCreateInputDTO
|
|
2265
2347
|
*/
|
|
2266
2348
|
maxFunctionsInModule?: number;
|
|
2349
|
+
/**
|
|
2350
|
+
*
|
|
2351
|
+
* @type {number}
|
|
2352
|
+
* @memberof DomainCreateInputDTO
|
|
2353
|
+
*/
|
|
2354
|
+
maxCustomRoles?: number;
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @type {number}
|
|
2358
|
+
* @memberof DomainCreateInputDTO
|
|
2359
|
+
*/
|
|
2360
|
+
maxDiscordLinkedRoles?: number;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {boolean}
|
|
2364
|
+
* @memberof DomainCreateInputDTO
|
|
2365
|
+
*/
|
|
2366
|
+
skipBuiltinSeeding?: boolean;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {string}
|
|
2370
|
+
* @memberof DomainCreateInputDTO
|
|
2371
|
+
*/
|
|
2372
|
+
serverRegistrationToken?: string;
|
|
2267
2373
|
}
|
|
2268
2374
|
|
|
2269
2375
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2528,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2528
|
* @memberof DomainOutputDTO
|
|
2423
2529
|
*/
|
|
2424
2530
|
maxFunctionsInModule: number;
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {number}
|
|
2534
|
+
* @memberof DomainOutputDTO
|
|
2535
|
+
*/
|
|
2536
|
+
maxCustomRoles: number;
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @type {number}
|
|
2540
|
+
* @memberof DomainOutputDTO
|
|
2541
|
+
*/
|
|
2542
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2543
|
/**
|
|
2426
2544
|
*
|
|
2427
2545
|
* @type {string}
|
|
@@ -2653,6 +2771,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2771
|
* @memberof DomainUpdateInputDTO
|
|
2654
2772
|
*/
|
|
2655
2773
|
maxFunctionsInModule?: number;
|
|
2774
|
+
/**
|
|
2775
|
+
*
|
|
2776
|
+
* @type {number}
|
|
2777
|
+
* @memberof DomainUpdateInputDTO
|
|
2778
|
+
*/
|
|
2779
|
+
maxCustomRoles?: number;
|
|
2780
|
+
/**
|
|
2781
|
+
*
|
|
2782
|
+
* @type {number}
|
|
2783
|
+
* @memberof DomainUpdateInputDTO
|
|
2784
|
+
*/
|
|
2785
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2786
|
}
|
|
2657
2787
|
|
|
2658
2788
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -3105,19 +3235,19 @@ export interface ErrorOutput {
|
|
|
3105
3235
|
* @type {string}
|
|
3106
3236
|
* @memberof ErrorOutput
|
|
3107
3237
|
*/
|
|
3108
|
-
code
|
|
3238
|
+
code?: string;
|
|
3109
3239
|
/**
|
|
3110
3240
|
*
|
|
3111
3241
|
* @type {string}
|
|
3112
3242
|
* @memberof ErrorOutput
|
|
3113
3243
|
*/
|
|
3114
|
-
message
|
|
3244
|
+
message?: string;
|
|
3115
3245
|
/**
|
|
3116
3246
|
*
|
|
3117
3247
|
* @type {string}
|
|
3118
3248
|
* @memberof ErrorOutput
|
|
3119
3249
|
*/
|
|
3120
|
-
details
|
|
3250
|
+
details?: string;
|
|
3121
3251
|
}
|
|
3122
3252
|
/**
|
|
3123
3253
|
*
|
|
@@ -3130,7 +3260,7 @@ export interface EventChatMessage {
|
|
|
3130
3260
|
* @type {IGamePlayer}
|
|
3131
3261
|
* @memberof EventChatMessage
|
|
3132
3262
|
*/
|
|
3133
|
-
player
|
|
3263
|
+
player?: IGamePlayer;
|
|
3134
3264
|
/**
|
|
3135
3265
|
*
|
|
3136
3266
|
* @type {string}
|
|
@@ -3263,6 +3393,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
3263
3393
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3264
3394
|
EventRateLimited: 'event-rate-limited',
|
|
3265
3395
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3396
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3266
3397
|
PlayerConnected: 'player-connected',
|
|
3267
3398
|
PlayerDisconnected: 'player-disconnected',
|
|
3268
3399
|
ChatMessage: 'chat-message',
|
|
@@ -3481,6 +3612,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
3481
3612
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3482
3613
|
EventRateLimited: 'event-rate-limited',
|
|
3483
3614
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3615
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3484
3616
|
PlayerConnected: 'player-connected',
|
|
3485
3617
|
PlayerDisconnected: 'player-disconnected',
|
|
3486
3618
|
ChatMessage: 'chat-message',
|
|
@@ -3851,6 +3983,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3851
3983
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3852
3984
|
EventRateLimited: 'event-rate-limited',
|
|
3853
3985
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3986
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3854
3987
|
PlayerConnected: 'player-connected',
|
|
3855
3988
|
PlayerDisconnected: 'player-disconnected',
|
|
3856
3989
|
ChatMessage: 'chat-message',
|
|
@@ -3883,6 +4016,7 @@ export type EventOutputDTOMeta =
|
|
|
3883
4016
|
| TakaroEventGameserverDeleted
|
|
3884
4017
|
| TakaroEventGameserverUpdated
|
|
3885
4018
|
| TakaroEventHookExecuted
|
|
4019
|
+
| TakaroEventInviteLinkCreated
|
|
3886
4020
|
| TakaroEventModuleCreated
|
|
3887
4021
|
| TakaroEventModuleDeleted
|
|
3888
4022
|
| TakaroEventModuleInstalled
|
|
@@ -4090,6 +4224,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
4090
4224
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
4091
4225
|
EventRateLimited: 'event-rate-limited',
|
|
4092
4226
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
4227
|
+
InviteLinkCreated: 'invite-link-created',
|
|
4093
4228
|
PlayerConnected: 'player-connected',
|
|
4094
4229
|
PlayerDisconnected: 'player-disconnected',
|
|
4095
4230
|
ChatMessage: 'chat-message',
|
|
@@ -5584,6 +5719,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
5584
5719
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5585
5720
|
EventRateLimited: 'event-rate-limited',
|
|
5586
5721
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5722
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5587
5723
|
} as const;
|
|
5588
5724
|
|
|
5589
5725
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -5747,6 +5883,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
5747
5883
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5748
5884
|
EventRateLimited: 'event-rate-limited',
|
|
5749
5885
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5886
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5750
5887
|
} as const;
|
|
5751
5888
|
|
|
5752
5889
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -5855,6 +5992,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
5855
5992
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5856
5993
|
EventRateLimited: 'event-rate-limited',
|
|
5857
5994
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5995
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5858
5996
|
} as const;
|
|
5859
5997
|
|
|
5860
5998
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -6035,6 +6173,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
6035
6173
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6036
6174
|
EventRateLimited: 'event-rate-limited',
|
|
6037
6175
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6176
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6038
6177
|
} as const;
|
|
6039
6178
|
|
|
6040
6179
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -6125,6 +6264,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
6125
6264
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6126
6265
|
EventRateLimited: 'event-rate-limited',
|
|
6127
6266
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6267
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6128
6268
|
} as const;
|
|
6129
6269
|
|
|
6130
6270
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -6457,6 +6597,7 @@ export const IHookEventTypeEnum = {
|
|
|
6457
6597
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6458
6598
|
EventRateLimited: 'event-rate-limited',
|
|
6459
6599
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6600
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6460
6601
|
} as const;
|
|
6461
6602
|
|
|
6462
6603
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -6886,25 +7027,6 @@ export interface InviteCreateDTO {
|
|
|
6886
7027
|
*/
|
|
6887
7028
|
email: string;
|
|
6888
7029
|
}
|
|
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
7030
|
/**
|
|
6909
7031
|
*
|
|
6910
7032
|
* @export
|
|
@@ -7048,27 +7170,28 @@ export interface InviteLinkCreateResultDTOAPI {
|
|
|
7048
7170
|
/**
|
|
7049
7171
|
*
|
|
7050
7172
|
* @export
|
|
7051
|
-
* @interface
|
|
7173
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7052
7174
|
*/
|
|
7053
|
-
export interface
|
|
7054
|
-
/**
|
|
7055
|
-
*
|
|
7056
|
-
* @type {string}
|
|
7057
|
-
* @memberof InviteLinkOutputDTO
|
|
7058
|
-
*/
|
|
7059
|
-
id: string;
|
|
7175
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7060
7176
|
/**
|
|
7061
7177
|
*
|
|
7062
|
-
* @type {
|
|
7063
|
-
* @memberof
|
|
7178
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7179
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7064
7180
|
*/
|
|
7065
|
-
|
|
7181
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7066
7182
|
/**
|
|
7067
7183
|
*
|
|
7068
|
-
* @type {
|
|
7069
|
-
* @memberof
|
|
7184
|
+
* @type {MetadataOutput}
|
|
7185
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7070
7186
|
*/
|
|
7071
|
-
|
|
7187
|
+
meta: MetadataOutput;
|
|
7188
|
+
}
|
|
7189
|
+
/**
|
|
7190
|
+
*
|
|
7191
|
+
* @export
|
|
7192
|
+
* @interface InviteLinkOutputDTO
|
|
7193
|
+
*/
|
|
7194
|
+
export interface InviteLinkOutputDTO {
|
|
7072
7195
|
/**
|
|
7073
7196
|
*
|
|
7074
7197
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -7117,6 +7240,24 @@ export interface InviteLinkOutputDTO {
|
|
|
7117
7240
|
* @memberof InviteLinkOutputDTO
|
|
7118
7241
|
*/
|
|
7119
7242
|
roles: Array<InviteLinkRoleDTO>;
|
|
7243
|
+
/**
|
|
7244
|
+
*
|
|
7245
|
+
* @type {string}
|
|
7246
|
+
* @memberof InviteLinkOutputDTO
|
|
7247
|
+
*/
|
|
7248
|
+
id: string;
|
|
7249
|
+
/**
|
|
7250
|
+
*
|
|
7251
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7252
|
+
* @memberof InviteLinkOutputDTO
|
|
7253
|
+
*/
|
|
7254
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7255
|
+
/**
|
|
7256
|
+
*
|
|
7257
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7258
|
+
* @memberof InviteLinkOutputDTO
|
|
7259
|
+
*/
|
|
7260
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7120
7261
|
}
|
|
7121
7262
|
|
|
7122
7263
|
export const InviteLinkOutputDTOStatusEnum = {
|
|
@@ -7148,25 +7289,6 @@ export interface InviteLinkOutputDTOAPI {
|
|
|
7148
7289
|
*/
|
|
7149
7290
|
meta: MetadataOutput;
|
|
7150
7291
|
}
|
|
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
7292
|
/**
|
|
7171
7293
|
*
|
|
7172
7294
|
* @export
|
|
@@ -7364,15 +7486,21 @@ export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
|
7364
7486
|
/**
|
|
7365
7487
|
*
|
|
7366
7488
|
* @export
|
|
7367
|
-
* @interface
|
|
7489
|
+
* @interface InviteOutputDTO
|
|
7368
7490
|
*/
|
|
7369
|
-
export interface
|
|
7491
|
+
export interface InviteOutputDTO {
|
|
7370
7492
|
/**
|
|
7371
7493
|
*
|
|
7372
7494
|
* @type {string}
|
|
7373
|
-
* @memberof
|
|
7495
|
+
* @memberof InviteOutputDTO
|
|
7374
7496
|
*/
|
|
7375
|
-
|
|
7497
|
+
botInvite: string;
|
|
7498
|
+
/**
|
|
7499
|
+
*
|
|
7500
|
+
* @type {string}
|
|
7501
|
+
* @memberof InviteOutputDTO
|
|
7502
|
+
*/
|
|
7503
|
+
devServer: string;
|
|
7376
7504
|
}
|
|
7377
7505
|
/**
|
|
7378
7506
|
*
|
|
@@ -8280,7 +8408,7 @@ export interface MetadataOutput {
|
|
|
8280
8408
|
* @type {ErrorOutput}
|
|
8281
8409
|
* @memberof MetadataOutput
|
|
8282
8410
|
*/
|
|
8283
|
-
error
|
|
8411
|
+
error?: ErrorOutput;
|
|
8284
8412
|
/**
|
|
8285
8413
|
*
|
|
8286
8414
|
* @type {number}
|
|
@@ -10399,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10399
10527
|
* @type {Array<string>}
|
|
10400
10528
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10401
10529
|
*/
|
|
10402
|
-
playerIds
|
|
10530
|
+
playerIds?: Array<string>;
|
|
10531
|
+
/**
|
|
10532
|
+
*
|
|
10533
|
+
* @type {PlayerSearchInputDTO}
|
|
10534
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10535
|
+
*/
|
|
10536
|
+
query?: PlayerSearchInputDTO;
|
|
10403
10537
|
/**
|
|
10404
10538
|
*
|
|
10405
10539
|
* @type {string}
|
|
@@ -10412,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10412
10546
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10413
10547
|
*/
|
|
10414
10548
|
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
10549
|
+
/**
|
|
10550
|
+
*
|
|
10551
|
+
* @type {Array<string>}
|
|
10552
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10553
|
+
*/
|
|
10554
|
+
ids?: Array<string>;
|
|
10555
|
+
/**
|
|
10556
|
+
*
|
|
10557
|
+
* @type {Array<string>}
|
|
10558
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10559
|
+
*/
|
|
10560
|
+
excludedIds?: Array<string>;
|
|
10415
10561
|
}
|
|
10416
10562
|
/**
|
|
10417
10563
|
*
|
|
@@ -10487,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
|
|
|
10487
10633
|
* @type {Array<string>}
|
|
10488
10634
|
* @memberof PlayerBulkDeleteInputDTO
|
|
10489
10635
|
*/
|
|
10490
|
-
playerIds
|
|
10636
|
+
playerIds?: Array<string>;
|
|
10637
|
+
/**
|
|
10638
|
+
*
|
|
10639
|
+
* @type {PlayerSearchInputDTO}
|
|
10640
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10641
|
+
*/
|
|
10642
|
+
query?: PlayerSearchInputDTO;
|
|
10643
|
+
/**
|
|
10644
|
+
*
|
|
10645
|
+
* @type {Array<string>}
|
|
10646
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10647
|
+
*/
|
|
10648
|
+
ids?: Array<string>;
|
|
10649
|
+
/**
|
|
10650
|
+
*
|
|
10651
|
+
* @type {Array<string>}
|
|
10652
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10653
|
+
*/
|
|
10654
|
+
excludedIds?: Array<string>;
|
|
10491
10655
|
}
|
|
10492
10656
|
/**
|
|
10493
10657
|
*
|
|
@@ -11059,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
|
|
|
11059
11223
|
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11060
11224
|
*/
|
|
11061
11225
|
playtimeSeconds?: number;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {number}
|
|
11229
|
+
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11230
|
+
*/
|
|
11231
|
+
currency?: number;
|
|
11062
11232
|
/**
|
|
11063
11233
|
*
|
|
11064
11234
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -11986,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11986
12156
|
* @memberof PlayerSearchInputAllowedFilters
|
|
11987
12157
|
*/
|
|
11988
12158
|
roleId?: Array<string>;
|
|
12159
|
+
/**
|
|
12160
|
+
*
|
|
12161
|
+
* @type {Array<boolean>}
|
|
12162
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12163
|
+
*/
|
|
12164
|
+
online?: Array<boolean>;
|
|
12165
|
+
/**
|
|
12166
|
+
*
|
|
12167
|
+
* @type {Array<string>}
|
|
12168
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12169
|
+
*/
|
|
12170
|
+
roleAssignmentScope?: Array<PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum>;
|
|
12171
|
+
/**
|
|
12172
|
+
*
|
|
12173
|
+
* @type {Array<string>}
|
|
12174
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12175
|
+
*/
|
|
12176
|
+
roleAssignmentGameServerId?: Array<string>;
|
|
11989
12177
|
/**
|
|
11990
12178
|
*
|
|
11991
12179
|
* @type {Array<string>}
|
|
@@ -11993,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11993
12181
|
*/
|
|
11994
12182
|
id?: Array<string>;
|
|
11995
12183
|
}
|
|
12184
|
+
|
|
12185
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
12186
|
+
Global: 'global',
|
|
12187
|
+
GameServer: 'gameServer',
|
|
12188
|
+
} as const;
|
|
12189
|
+
|
|
12190
|
+
export type PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum =
|
|
12191
|
+
(typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum)[keyof typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum];
|
|
12192
|
+
|
|
11996
12193
|
/**
|
|
11997
12194
|
*
|
|
11998
12195
|
* @export
|
|
@@ -12244,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
|
|
|
12244
12441
|
* @type {Array<string>}
|
|
12245
12442
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12246
12443
|
*/
|
|
12247
|
-
playerIds
|
|
12444
|
+
playerIds?: Array<string>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @type {PlayerOnGameServerSearchInputDTO}
|
|
12448
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12449
|
+
*/
|
|
12450
|
+
query?: PlayerOnGameServerSearchInputDTO;
|
|
12248
12451
|
/**
|
|
12249
12452
|
*
|
|
12250
12453
|
* @type {number}
|
|
12251
12454
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12252
12455
|
*/
|
|
12253
12456
|
amount: number;
|
|
12457
|
+
/**
|
|
12458
|
+
*
|
|
12459
|
+
* @type {Array<string>}
|
|
12460
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12461
|
+
*/
|
|
12462
|
+
ids?: Array<string>;
|
|
12463
|
+
/**
|
|
12464
|
+
*
|
|
12465
|
+
* @type {Array<string>}
|
|
12466
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12467
|
+
*/
|
|
12468
|
+
excludedIds?: Array<string>;
|
|
12254
12469
|
}
|
|
12255
12470
|
/**
|
|
12256
12471
|
*
|
|
@@ -12548,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
12548
12763
|
|
|
12549
12764
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
12550
12765
|
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @export
|
|
12769
|
+
* @interface RedeemInputDTO
|
|
12770
|
+
*/
|
|
12771
|
+
export interface RedeemInputDTO {
|
|
12772
|
+
/**
|
|
12773
|
+
*
|
|
12774
|
+
* @type {string}
|
|
12775
|
+
* @memberof RedeemInputDTO
|
|
12776
|
+
*/
|
|
12777
|
+
token: string;
|
|
12778
|
+
}
|
|
12551
12779
|
/**
|
|
12552
12780
|
*
|
|
12553
12781
|
* @export
|
|
@@ -12559,7 +12787,7 @@ export interface RedirectQs {
|
|
|
12559
12787
|
* @type {string}
|
|
12560
12788
|
* @memberof RedirectQs
|
|
12561
12789
|
*/
|
|
12562
|
-
redirect
|
|
12790
|
+
redirect?: string;
|
|
12563
12791
|
}
|
|
12564
12792
|
/**
|
|
12565
12793
|
*
|
|
@@ -13360,7 +13588,7 @@ export interface RoleUpdateInputDTO {
|
|
|
13360
13588
|
* @type {string}
|
|
13361
13589
|
* @memberof RoleUpdateInputDTO
|
|
13362
13590
|
*/
|
|
13363
|
-
linkedDiscordRoleId?: string;
|
|
13591
|
+
linkedDiscordRoleId?: string | null;
|
|
13364
13592
|
}
|
|
13365
13593
|
/**
|
|
13366
13594
|
*
|
|
@@ -14101,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14101
14329
|
* @type {Array<string>}
|
|
14102
14330
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14103
14331
|
*/
|
|
14104
|
-
listingIds
|
|
14332
|
+
listingIds?: Array<string>;
|
|
14333
|
+
/**
|
|
14334
|
+
*
|
|
14335
|
+
* @type {ShopListingSearchInputDTO}
|
|
14336
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14337
|
+
*/
|
|
14338
|
+
query?: ShopListingSearchInputDTO;
|
|
14105
14339
|
/**
|
|
14106
14340
|
*
|
|
14107
14341
|
* @type {Array<string>}
|
|
@@ -14114,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14114
14348
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14115
14349
|
*/
|
|
14116
14350
|
removeCategoryIds?: Array<string>;
|
|
14351
|
+
/**
|
|
14352
|
+
*
|
|
14353
|
+
* @type {Array<string>}
|
|
14354
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14355
|
+
*/
|
|
14356
|
+
ids?: Array<string>;
|
|
14357
|
+
/**
|
|
14358
|
+
*
|
|
14359
|
+
* @type {Array<string>}
|
|
14360
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14361
|
+
*/
|
|
14362
|
+
excludedIds?: Array<string>;
|
|
14117
14363
|
}
|
|
14118
14364
|
/**
|
|
14119
14365
|
*
|
|
@@ -14728,6 +14974,60 @@ export interface ShopKpisDTOAPI {
|
|
|
14728
14974
|
*/
|
|
14729
14975
|
meta: MetadataOutput;
|
|
14730
14976
|
}
|
|
14977
|
+
/**
|
|
14978
|
+
*
|
|
14979
|
+
* @export
|
|
14980
|
+
* @interface ShopListingBulkInputDTO
|
|
14981
|
+
*/
|
|
14982
|
+
export interface ShopListingBulkInputDTO {
|
|
14983
|
+
/**
|
|
14984
|
+
*
|
|
14985
|
+
* @type {ShopListingBulkTargetDTO}
|
|
14986
|
+
* @memberof ShopListingBulkInputDTO
|
|
14987
|
+
*/
|
|
14988
|
+
target: ShopListingBulkTargetDTO;
|
|
14989
|
+
/**
|
|
14990
|
+
*
|
|
14991
|
+
* @type {string}
|
|
14992
|
+
* @memberof ShopListingBulkInputDTO
|
|
14993
|
+
*/
|
|
14994
|
+
action: ShopListingBulkInputDTOActionEnum;
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
14998
|
+
Delete: 'delete',
|
|
14999
|
+
Publish: 'publish',
|
|
15000
|
+
Unpublish: 'unpublish',
|
|
15001
|
+
} as const;
|
|
15002
|
+
|
|
15003
|
+
export type ShopListingBulkInputDTOActionEnum =
|
|
15004
|
+
(typeof ShopListingBulkInputDTOActionEnum)[keyof typeof ShopListingBulkInputDTOActionEnum];
|
|
15005
|
+
|
|
15006
|
+
/**
|
|
15007
|
+
*
|
|
15008
|
+
* @export
|
|
15009
|
+
* @interface ShopListingBulkTargetDTO
|
|
15010
|
+
*/
|
|
15011
|
+
export interface ShopListingBulkTargetDTO {
|
|
15012
|
+
/**
|
|
15013
|
+
*
|
|
15014
|
+
* @type {ShopListingSearchInputDTO}
|
|
15015
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15016
|
+
*/
|
|
15017
|
+
query?: ShopListingSearchInputDTO;
|
|
15018
|
+
/**
|
|
15019
|
+
*
|
|
15020
|
+
* @type {Array<string>}
|
|
15021
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15022
|
+
*/
|
|
15023
|
+
ids?: Array<string>;
|
|
15024
|
+
/**
|
|
15025
|
+
*
|
|
15026
|
+
* @type {Array<string>}
|
|
15027
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15028
|
+
*/
|
|
15029
|
+
excludedIds?: Array<string>;
|
|
15030
|
+
}
|
|
14731
15031
|
/**
|
|
14732
15032
|
*
|
|
14733
15033
|
* @export
|
|
@@ -16280,6 +16580,49 @@ export interface TakaroEventHookExecuted {
|
|
|
16280
16580
|
*/
|
|
16281
16581
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16282
16582
|
}
|
|
16583
|
+
/**
|
|
16584
|
+
*
|
|
16585
|
+
* @export
|
|
16586
|
+
* @interface TakaroEventInviteLinkCreated
|
|
16587
|
+
*/
|
|
16588
|
+
export interface TakaroEventInviteLinkCreated {
|
|
16589
|
+
/**
|
|
16590
|
+
*
|
|
16591
|
+
* @type {string}
|
|
16592
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16593
|
+
*/
|
|
16594
|
+
inviteLinkId: string;
|
|
16595
|
+
/**
|
|
16596
|
+
*
|
|
16597
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16598
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16599
|
+
*/
|
|
16600
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16601
|
+
/**
|
|
16602
|
+
*
|
|
16603
|
+
* @type {number}
|
|
16604
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16605
|
+
*/
|
|
16606
|
+
maxUses: number;
|
|
16607
|
+
/**
|
|
16608
|
+
*
|
|
16609
|
+
* @type {Array<string>}
|
|
16610
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16611
|
+
*/
|
|
16612
|
+
roleIds: Array<string>;
|
|
16613
|
+
/**
|
|
16614
|
+
*
|
|
16615
|
+
* @type {boolean}
|
|
16616
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16617
|
+
*/
|
|
16618
|
+
staffOrigin: boolean;
|
|
16619
|
+
/**
|
|
16620
|
+
*
|
|
16621
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16622
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16623
|
+
*/
|
|
16624
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16625
|
+
}
|
|
16283
16626
|
/**
|
|
16284
16627
|
*
|
|
16285
16628
|
* @export
|
|
@@ -17569,6 +17912,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
17569
17912
|
*/
|
|
17570
17913
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17571
17914
|
}
|
|
17915
|
+
/**
|
|
17916
|
+
*
|
|
17917
|
+
* @export
|
|
17918
|
+
* @interface UserCountOutputDTO
|
|
17919
|
+
*/
|
|
17920
|
+
export interface UserCountOutputDTO {
|
|
17921
|
+
/**
|
|
17922
|
+
*
|
|
17923
|
+
* @type {number}
|
|
17924
|
+
* @memberof UserCountOutputDTO
|
|
17925
|
+
*/
|
|
17926
|
+
count: number;
|
|
17927
|
+
}
|
|
17928
|
+
/**
|
|
17929
|
+
*
|
|
17930
|
+
* @export
|
|
17931
|
+
* @interface UserCountOutputDTOAPI
|
|
17932
|
+
*/
|
|
17933
|
+
export interface UserCountOutputDTOAPI {
|
|
17934
|
+
/**
|
|
17935
|
+
*
|
|
17936
|
+
* @type {UserCountOutputDTO}
|
|
17937
|
+
* @memberof UserCountOutputDTOAPI
|
|
17938
|
+
*/
|
|
17939
|
+
data: UserCountOutputDTO;
|
|
17940
|
+
/**
|
|
17941
|
+
*
|
|
17942
|
+
* @type {MetadataOutput}
|
|
17943
|
+
* @memberof UserCountOutputDTOAPI
|
|
17944
|
+
*/
|
|
17945
|
+
meta: MetadataOutput;
|
|
17946
|
+
}
|
|
17572
17947
|
/**
|
|
17573
17948
|
*
|
|
17574
17949
|
* @export
|
|
@@ -17606,6 +17981,37 @@ export interface UserCreateInputDTO {
|
|
|
17606
17981
|
*/
|
|
17607
17982
|
isDashboardUser?: boolean;
|
|
17608
17983
|
}
|
|
17984
|
+
/**
|
|
17985
|
+
*
|
|
17986
|
+
* @export
|
|
17987
|
+
* @interface UserCreateInviteDTO
|
|
17988
|
+
*/
|
|
17989
|
+
export interface UserCreateInviteDTO {
|
|
17990
|
+
/**
|
|
17991
|
+
*
|
|
17992
|
+
* @type {string}
|
|
17993
|
+
* @memberof UserCreateInviteDTO
|
|
17994
|
+
*/
|
|
17995
|
+
name: string;
|
|
17996
|
+
/**
|
|
17997
|
+
*
|
|
17998
|
+
* @type {string}
|
|
17999
|
+
* @memberof UserCreateInviteDTO
|
|
18000
|
+
*/
|
|
18001
|
+
email: string;
|
|
18002
|
+
/**
|
|
18003
|
+
*
|
|
18004
|
+
* @type {string}
|
|
18005
|
+
* @memberof UserCreateInviteDTO
|
|
18006
|
+
*/
|
|
18007
|
+
idpId?: string;
|
|
18008
|
+
/**
|
|
18009
|
+
*
|
|
18010
|
+
* @type {boolean}
|
|
18011
|
+
* @memberof UserCreateInviteDTO
|
|
18012
|
+
*/
|
|
18013
|
+
isDashboardUser?: boolean;
|
|
18014
|
+
}
|
|
17609
18015
|
/**
|
|
17610
18016
|
*
|
|
17611
18017
|
* @export
|
|
@@ -17709,37 +18115,43 @@ export interface UserOutputDTO {
|
|
|
17709
18115
|
* @type {PlayerOutputWithRolesDTO}
|
|
17710
18116
|
* @memberof UserOutputDTO
|
|
17711
18117
|
*/
|
|
17712
|
-
player
|
|
18118
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17713
18119
|
/**
|
|
17714
18120
|
*
|
|
17715
18121
|
* @type {boolean}
|
|
17716
18122
|
* @memberof UserOutputDTO
|
|
17717
18123
|
*/
|
|
17718
18124
|
isDashboardUser: boolean;
|
|
18125
|
+
/**
|
|
18126
|
+
*
|
|
18127
|
+
* @type {boolean}
|
|
18128
|
+
* @memberof UserOutputDTO
|
|
18129
|
+
*/
|
|
18130
|
+
isSupportAccount: boolean;
|
|
17719
18131
|
/**
|
|
17720
18132
|
*
|
|
17721
18133
|
* @type {string}
|
|
17722
18134
|
* @memberof UserOutputDTO
|
|
17723
18135
|
*/
|
|
17724
|
-
|
|
18136
|
+
inviteLinkId?: string;
|
|
17725
18137
|
/**
|
|
17726
18138
|
*
|
|
17727
|
-
* @type {
|
|
18139
|
+
* @type {string}
|
|
17728
18140
|
* @memberof UserOutputDTO
|
|
17729
18141
|
*/
|
|
17730
|
-
|
|
18142
|
+
id: string;
|
|
17731
18143
|
/**
|
|
17732
18144
|
*
|
|
17733
18145
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17734
18146
|
* @memberof UserOutputDTO
|
|
17735
18147
|
*/
|
|
17736
|
-
|
|
18148
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17737
18149
|
/**
|
|
17738
18150
|
*
|
|
17739
|
-
* @type {
|
|
18151
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
17740
18152
|
* @memberof UserOutputDTO
|
|
17741
18153
|
*/
|
|
17742
|
-
|
|
18154
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17743
18155
|
}
|
|
17744
18156
|
/**
|
|
17745
18157
|
*
|
|
@@ -17831,13 +18243,19 @@ export interface UserOutputWithRolesDTO {
|
|
|
17831
18243
|
* @type {PlayerOutputWithRolesDTO}
|
|
17832
18244
|
* @memberof UserOutputWithRolesDTO
|
|
17833
18245
|
*/
|
|
17834
|
-
player
|
|
18246
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17835
18247
|
/**
|
|
17836
18248
|
*
|
|
17837
18249
|
* @type {boolean}
|
|
17838
18250
|
* @memberof UserOutputWithRolesDTO
|
|
17839
18251
|
*/
|
|
17840
18252
|
isDashboardUser: boolean;
|
|
18253
|
+
/**
|
|
18254
|
+
*
|
|
18255
|
+
* @type {boolean}
|
|
18256
|
+
* @memberof UserOutputWithRolesDTO
|
|
18257
|
+
*/
|
|
18258
|
+
isSupportAccount: boolean;
|
|
17841
18259
|
/**
|
|
17842
18260
|
*
|
|
17843
18261
|
* @type {string}
|
|
@@ -18078,6 +18496,31 @@ export interface UserUpdateDTO {
|
|
|
18078
18496
|
*/
|
|
18079
18497
|
isDashboardUser?: boolean;
|
|
18080
18498
|
}
|
|
18499
|
+
/**
|
|
18500
|
+
*
|
|
18501
|
+
* @export
|
|
18502
|
+
* @interface VariableBulkDeleteInputDTO
|
|
18503
|
+
*/
|
|
18504
|
+
export interface VariableBulkDeleteInputDTO {
|
|
18505
|
+
/**
|
|
18506
|
+
*
|
|
18507
|
+
* @type {VariableSearchInputDTO}
|
|
18508
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18509
|
+
*/
|
|
18510
|
+
query?: VariableSearchInputDTO;
|
|
18511
|
+
/**
|
|
18512
|
+
*
|
|
18513
|
+
* @type {Array<string>}
|
|
18514
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18515
|
+
*/
|
|
18516
|
+
ids?: Array<string>;
|
|
18517
|
+
/**
|
|
18518
|
+
*
|
|
18519
|
+
* @type {Array<string>}
|
|
18520
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18521
|
+
*/
|
|
18522
|
+
excludedIds?: Array<string>;
|
|
18523
|
+
}
|
|
18081
18524
|
/**
|
|
18082
18525
|
*
|
|
18083
18526
|
* @export
|
|
@@ -18287,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
|
|
|
18287
18730
|
* @memberof VariableSearchInputAllowedSearch
|
|
18288
18731
|
*/
|
|
18289
18732
|
key?: Array<string>;
|
|
18733
|
+
/**
|
|
18734
|
+
*
|
|
18735
|
+
* @type {Array<string>}
|
|
18736
|
+
* @memberof VariableSearchInputAllowedSearch
|
|
18737
|
+
*/
|
|
18738
|
+
value?: Array<string>;
|
|
18290
18739
|
}
|
|
18291
18740
|
/**
|
|
18292
18741
|
*
|
|
@@ -19069,7 +19518,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19069
19518
|
};
|
|
19070
19519
|
},
|
|
19071
19520
|
/**
|
|
19072
|
-
* Normalized 0-1 scores across
|
|
19521
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19073
19522
|
* @summary Get module health scores
|
|
19074
19523
|
* @param {string} [startDate]
|
|
19075
19524
|
* @param {string} [endDate]
|
|
@@ -20256,7 +20705,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
20256
20705
|
},
|
|
20257
20706
|
/**
|
|
20258
20707
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20259
|
-
* @summary Get top modules by
|
|
20708
|
+
* @summary Get top modules by execution volume
|
|
20260
20709
|
* @param {string} [startDate]
|
|
20261
20710
|
* @param {string} [endDate]
|
|
20262
20711
|
* @param {string} [gameServerId]
|
|
@@ -20790,7 +21239,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20790
21239
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20791
21240
|
},
|
|
20792
21241
|
/**
|
|
20793
|
-
* Normalized 0-1 scores across
|
|
21242
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20794
21243
|
* @summary Get module health scores
|
|
20795
21244
|
* @param {string} [startDate]
|
|
20796
21245
|
* @param {string} [endDate]
|
|
@@ -21542,7 +21991,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
21542
21991
|
},
|
|
21543
21992
|
/**
|
|
21544
21993
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21545
|
-
* @summary Get top modules by
|
|
21994
|
+
* @summary Get top modules by execution volume
|
|
21546
21995
|
* @param {string} [startDate]
|
|
21547
21996
|
* @param {string} [endDate]
|
|
21548
21997
|
* @param {string} [gameServerId]
|
|
@@ -21864,7 +22313,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21864
22313
|
.then((request) => request(axios, basePath));
|
|
21865
22314
|
},
|
|
21866
22315
|
/**
|
|
21867
|
-
* Normalized 0-1 scores across
|
|
22316
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21868
22317
|
* @summary Get module health scores
|
|
21869
22318
|
* @param {string} [startDate]
|
|
21870
22319
|
* @param {string} [endDate]
|
|
@@ -22308,7 +22757,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
22308
22757
|
},
|
|
22309
22758
|
/**
|
|
22310
22759
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22311
|
-
* @summary Get top modules by
|
|
22760
|
+
* @summary Get top modules by execution volume
|
|
22312
22761
|
* @param {string} [startDate]
|
|
22313
22762
|
* @param {string} [endDate]
|
|
22314
22763
|
* @param {string} [gameServerId]
|
|
@@ -22627,7 +23076,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22627
23076
|
}
|
|
22628
23077
|
|
|
22629
23078
|
/**
|
|
22630
|
-
* Normalized 0-1 scores across
|
|
23079
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
22631
23080
|
* @summary Get module health scores
|
|
22632
23081
|
* @param {string} [startDate]
|
|
22633
23082
|
* @param {string} [endDate]
|
|
@@ -23113,7 +23562,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
23113
23562
|
|
|
23114
23563
|
/**
|
|
23115
23564
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
23116
|
-
* @summary Get top modules by
|
|
23565
|
+
* @summary Get top modules by execution volume
|
|
23117
23566
|
* @param {string} [startDate]
|
|
23118
23567
|
* @param {string} [endDate]
|
|
23119
23568
|
* @param {string} [gameServerId]
|
|
@@ -26360,6 +26809,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26360
26809
|
options: localVarRequestOptions,
|
|
26361
26810
|
};
|
|
26362
26811
|
},
|
|
26812
|
+
/**
|
|
26813
|
+
* 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`
|
|
26814
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26815
|
+
* @param {string} id
|
|
26816
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26817
|
+
* @param {*} [options] Override http request option.
|
|
26818
|
+
* @throws {RequiredError}
|
|
26819
|
+
*/
|
|
26820
|
+
domainControllerCreateInviteLink: async (
|
|
26821
|
+
id: string,
|
|
26822
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26823
|
+
options: RawAxiosRequestConfig = {},
|
|
26824
|
+
): Promise<RequestArgs> => {
|
|
26825
|
+
// verify required parameter 'id' is not null or undefined
|
|
26826
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26827
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26829
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26830
|
+
let baseOptions;
|
|
26831
|
+
if (configuration) {
|
|
26832
|
+
baseOptions = configuration.baseOptions;
|
|
26833
|
+
}
|
|
26834
|
+
|
|
26835
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26836
|
+
const localVarHeaderParameter = {} as any;
|
|
26837
|
+
const localVarQueryParameter = {} as any;
|
|
26838
|
+
|
|
26839
|
+
// authentication adminAuth required
|
|
26840
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26841
|
+
|
|
26842
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26843
|
+
|
|
26844
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26845
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26846
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26847
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26848
|
+
inviteLinkCreateInputDTO,
|
|
26849
|
+
localVarRequestOptions,
|
|
26850
|
+
configuration,
|
|
26851
|
+
);
|
|
26852
|
+
|
|
26853
|
+
return {
|
|
26854
|
+
url: toPathString(localVarUrlObj),
|
|
26855
|
+
options: localVarRequestOptions,
|
|
26856
|
+
};
|
|
26857
|
+
},
|
|
26363
26858
|
/**
|
|
26364
26859
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26365
26860
|
* @summary Get one
|
|
@@ -26632,6 +27127,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
26632
27127
|
configuration,
|
|
26633
27128
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
26634
27129
|
},
|
|
27130
|
+
/**
|
|
27131
|
+
* 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`
|
|
27132
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27133
|
+
* @param {string} id
|
|
27134
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27135
|
+
* @param {*} [options] Override http request option.
|
|
27136
|
+
* @throws {RequiredError}
|
|
27137
|
+
*/
|
|
27138
|
+
async domainControllerCreateInviteLink(
|
|
27139
|
+
id: string,
|
|
27140
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27141
|
+
options?: RawAxiosRequestConfig,
|
|
27142
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
27143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
27144
|
+
id,
|
|
27145
|
+
inviteLinkCreateInputDTO,
|
|
27146
|
+
options,
|
|
27147
|
+
);
|
|
27148
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27149
|
+
const localVarOperationServerBasePath =
|
|
27150
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
27151
|
+
return (axios, basePath) =>
|
|
27152
|
+
createRequestFunction(
|
|
27153
|
+
localVarAxiosArgs,
|
|
27154
|
+
globalAxios,
|
|
27155
|
+
BASE_PATH,
|
|
27156
|
+
configuration,
|
|
27157
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
27158
|
+
},
|
|
26635
27159
|
/**
|
|
26636
27160
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26637
27161
|
* @summary Get one
|
|
@@ -26806,6 +27330,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
26806
27330
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
26807
27331
|
.then((request) => request(axios, basePath));
|
|
26808
27332
|
},
|
|
27333
|
+
/**
|
|
27334
|
+
* 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`
|
|
27335
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27336
|
+
* @param {string} id
|
|
27337
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27338
|
+
* @param {*} [options] Override http request option.
|
|
27339
|
+
* @throws {RequiredError}
|
|
27340
|
+
*/
|
|
27341
|
+
domainControllerCreateInviteLink(
|
|
27342
|
+
id: string,
|
|
27343
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27344
|
+
options?: RawAxiosRequestConfig,
|
|
27345
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27346
|
+
return localVarFp
|
|
27347
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27348
|
+
.then((request) => request(axios, basePath));
|
|
27349
|
+
},
|
|
26809
27350
|
/**
|
|
26810
27351
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26811
27352
|
* @summary Get one
|
|
@@ -26911,6 +27452,25 @@ export class DomainApi extends BaseAPI {
|
|
|
26911
27452
|
.then((request) => request(this.axios, this.basePath));
|
|
26912
27453
|
}
|
|
26913
27454
|
|
|
27455
|
+
/**
|
|
27456
|
+
* 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`
|
|
27457
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27458
|
+
* @param {string} id
|
|
27459
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27460
|
+
* @param {*} [options] Override http request option.
|
|
27461
|
+
* @throws {RequiredError}
|
|
27462
|
+
* @memberof DomainApi
|
|
27463
|
+
*/
|
|
27464
|
+
public domainControllerCreateInviteLink(
|
|
27465
|
+
id: string,
|
|
27466
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27467
|
+
options?: RawAxiosRequestConfig,
|
|
27468
|
+
) {
|
|
27469
|
+
return DomainApiFp(this.configuration)
|
|
27470
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27471
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27472
|
+
}
|
|
27473
|
+
|
|
26914
27474
|
/**
|
|
26915
27475
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26916
27476
|
* @summary Get one
|
|
@@ -27871,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
27871
28431
|
/**
|
|
27872
28432
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27873
28433
|
* @summary Auth discord
|
|
27874
|
-
* @param {string} redirect
|
|
28434
|
+
* @param {string} [redirect]
|
|
27875
28435
|
* @param {*} [options] Override http request option.
|
|
27876
28436
|
* @throws {RequiredError}
|
|
27877
28437
|
*/
|
|
27878
28438
|
externalAuthControllerAuthDiscord: async (
|
|
27879
|
-
redirect
|
|
28439
|
+
redirect?: string,
|
|
27880
28440
|
options: RawAxiosRequestConfig = {},
|
|
27881
28441
|
): Promise<RequestArgs> => {
|
|
27882
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
27883
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
27884
28442
|
const localVarPath = `/auth/discord`;
|
|
27885
28443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27886
28444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -27947,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
27947
28505
|
/**
|
|
27948
28506
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27949
28507
|
* @summary Auth discord
|
|
27950
|
-
* @param {string} redirect
|
|
28508
|
+
* @param {string} [redirect]
|
|
27951
28509
|
* @param {*} [options] Override http request option.
|
|
27952
28510
|
* @throws {RequiredError}
|
|
27953
28511
|
*/
|
|
27954
28512
|
async externalAuthControllerAuthDiscord(
|
|
27955
|
-
redirect
|
|
28513
|
+
redirect?: string,
|
|
27956
28514
|
options?: RawAxiosRequestConfig,
|
|
27957
28515
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27958
28516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -28006,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
28006
28564
|
/**
|
|
28007
28565
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28008
28566
|
* @summary Auth discord
|
|
28009
|
-
* @param {string} redirect
|
|
28567
|
+
* @param {string} [redirect]
|
|
28010
28568
|
* @param {*} [options] Override http request option.
|
|
28011
28569
|
* @throws {RequiredError}
|
|
28012
28570
|
*/
|
|
28013
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28571
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
28014
28572
|
return localVarFp
|
|
28015
28573
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28016
28574
|
.then((request) => request(axios, basePath));
|
|
@@ -28037,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
28037
28595
|
/**
|
|
28038
28596
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
28039
28597
|
* @summary Auth discord
|
|
28040
|
-
* @param {string} redirect
|
|
28598
|
+
* @param {string} [redirect]
|
|
28041
28599
|
* @param {*} [options] Override http request option.
|
|
28042
28600
|
* @throws {RequiredError}
|
|
28043
28601
|
* @memberof ExternalAuthApi
|
|
28044
28602
|
*/
|
|
28045
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28603
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
28046
28604
|
return ExternalAuthApiFp(this.configuration)
|
|
28047
28605
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
28048
28606
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -31744,6 +32302,488 @@ export class HookApi extends BaseAPI {
|
|
|
31744
32302
|
}
|
|
31745
32303
|
}
|
|
31746
32304
|
|
|
32305
|
+
/**
|
|
32306
|
+
* InviteLinkApi - axios parameter creator
|
|
32307
|
+
* @export
|
|
32308
|
+
*/
|
|
32309
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32310
|
+
return {
|
|
32311
|
+
/**
|
|
32312
|
+
* 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`
|
|
32313
|
+
* @summary Create invite link
|
|
32314
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32315
|
+
* @param {*} [options] Override http request option.
|
|
32316
|
+
* @throws {RequiredError}
|
|
32317
|
+
*/
|
|
32318
|
+
inviteLinkControllerCreate: async (
|
|
32319
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32320
|
+
options: RawAxiosRequestConfig = {},
|
|
32321
|
+
): Promise<RequestArgs> => {
|
|
32322
|
+
const localVarPath = `/invite-link`;
|
|
32323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32324
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32325
|
+
let baseOptions;
|
|
32326
|
+
if (configuration) {
|
|
32327
|
+
baseOptions = configuration.baseOptions;
|
|
32328
|
+
}
|
|
32329
|
+
|
|
32330
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32331
|
+
const localVarHeaderParameter = {} as any;
|
|
32332
|
+
const localVarQueryParameter = {} as any;
|
|
32333
|
+
|
|
32334
|
+
// authentication domainAuth required
|
|
32335
|
+
|
|
32336
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32337
|
+
|
|
32338
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32340
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32341
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32342
|
+
inviteLinkCreateInputDTO,
|
|
32343
|
+
localVarRequestOptions,
|
|
32344
|
+
configuration,
|
|
32345
|
+
);
|
|
32346
|
+
|
|
32347
|
+
return {
|
|
32348
|
+
url: toPathString(localVarUrlObj),
|
|
32349
|
+
options: localVarRequestOptions,
|
|
32350
|
+
};
|
|
32351
|
+
},
|
|
32352
|
+
/**
|
|
32353
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32354
|
+
* @summary Preview
|
|
32355
|
+
* @param {string} token
|
|
32356
|
+
* @param {*} [options] Override http request option.
|
|
32357
|
+
* @throws {RequiredError}
|
|
32358
|
+
*/
|
|
32359
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32360
|
+
// verify required parameter 'token' is not null or undefined
|
|
32361
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32362
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32365
|
+
let baseOptions;
|
|
32366
|
+
if (configuration) {
|
|
32367
|
+
baseOptions = configuration.baseOptions;
|
|
32368
|
+
}
|
|
32369
|
+
|
|
32370
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32371
|
+
const localVarHeaderParameter = {} as any;
|
|
32372
|
+
const localVarQueryParameter = {} as any;
|
|
32373
|
+
|
|
32374
|
+
// authentication domainAuth required
|
|
32375
|
+
|
|
32376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32378
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32379
|
+
|
|
32380
|
+
return {
|
|
32381
|
+
url: toPathString(localVarUrlObj),
|
|
32382
|
+
options: localVarRequestOptions,
|
|
32383
|
+
};
|
|
32384
|
+
},
|
|
32385
|
+
/**
|
|
32386
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32387
|
+
* @summary Redeem
|
|
32388
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32389
|
+
* @param {*} [options] Override http request option.
|
|
32390
|
+
* @throws {RequiredError}
|
|
32391
|
+
*/
|
|
32392
|
+
inviteLinkControllerRedeem: async (
|
|
32393
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32394
|
+
options: RawAxiosRequestConfig = {},
|
|
32395
|
+
): Promise<RequestArgs> => {
|
|
32396
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32398
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32399
|
+
let baseOptions;
|
|
32400
|
+
if (configuration) {
|
|
32401
|
+
baseOptions = configuration.baseOptions;
|
|
32402
|
+
}
|
|
32403
|
+
|
|
32404
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32405
|
+
const localVarHeaderParameter = {} as any;
|
|
32406
|
+
const localVarQueryParameter = {} as any;
|
|
32407
|
+
|
|
32408
|
+
// authentication domainAuth required
|
|
32409
|
+
|
|
32410
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32411
|
+
|
|
32412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32414
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32415
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32416
|
+
|
|
32417
|
+
return {
|
|
32418
|
+
url: toPathString(localVarUrlObj),
|
|
32419
|
+
options: localVarRequestOptions,
|
|
32420
|
+
};
|
|
32421
|
+
},
|
|
32422
|
+
/**
|
|
32423
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32424
|
+
* @summary Revoke
|
|
32425
|
+
* @param {string} id
|
|
32426
|
+
* @param {*} [options] Override http request option.
|
|
32427
|
+
* @throws {RequiredError}
|
|
32428
|
+
*/
|
|
32429
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32430
|
+
// verify required parameter 'id' is not null or undefined
|
|
32431
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32432
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32433
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32434
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32435
|
+
let baseOptions;
|
|
32436
|
+
if (configuration) {
|
|
32437
|
+
baseOptions = configuration.baseOptions;
|
|
32438
|
+
}
|
|
32439
|
+
|
|
32440
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32441
|
+
const localVarHeaderParameter = {} as any;
|
|
32442
|
+
const localVarQueryParameter = {} as any;
|
|
32443
|
+
|
|
32444
|
+
// authentication domainAuth required
|
|
32445
|
+
|
|
32446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32448
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32449
|
+
|
|
32450
|
+
return {
|
|
32451
|
+
url: toPathString(localVarUrlObj),
|
|
32452
|
+
options: localVarRequestOptions,
|
|
32453
|
+
};
|
|
32454
|
+
},
|
|
32455
|
+
/**
|
|
32456
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32457
|
+
* @summary Search
|
|
32458
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32459
|
+
* @param {*} [options] Override http request option.
|
|
32460
|
+
* @throws {RequiredError}
|
|
32461
|
+
*/
|
|
32462
|
+
inviteLinkControllerSearch: async (
|
|
32463
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32464
|
+
options: RawAxiosRequestConfig = {},
|
|
32465
|
+
): Promise<RequestArgs> => {
|
|
32466
|
+
const localVarPath = `/invite-link/search`;
|
|
32467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32469
|
+
let baseOptions;
|
|
32470
|
+
if (configuration) {
|
|
32471
|
+
baseOptions = configuration.baseOptions;
|
|
32472
|
+
}
|
|
32473
|
+
|
|
32474
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32475
|
+
const localVarHeaderParameter = {} as any;
|
|
32476
|
+
const localVarQueryParameter = {} as any;
|
|
32477
|
+
|
|
32478
|
+
// authentication domainAuth required
|
|
32479
|
+
|
|
32480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32481
|
+
|
|
32482
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32483
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32484
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32485
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32486
|
+
inviteLinkSearchInputDTO,
|
|
32487
|
+
localVarRequestOptions,
|
|
32488
|
+
configuration,
|
|
32489
|
+
);
|
|
32490
|
+
|
|
32491
|
+
return {
|
|
32492
|
+
url: toPathString(localVarUrlObj),
|
|
32493
|
+
options: localVarRequestOptions,
|
|
32494
|
+
};
|
|
32495
|
+
},
|
|
32496
|
+
};
|
|
32497
|
+
};
|
|
32498
|
+
|
|
32499
|
+
/**
|
|
32500
|
+
* InviteLinkApi - functional programming interface
|
|
32501
|
+
* @export
|
|
32502
|
+
*/
|
|
32503
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32504
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
32505
|
+
return {
|
|
32506
|
+
/**
|
|
32507
|
+
* 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`
|
|
32508
|
+
* @summary Create invite link
|
|
32509
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32510
|
+
* @param {*} [options] Override http request option.
|
|
32511
|
+
* @throws {RequiredError}
|
|
32512
|
+
*/
|
|
32513
|
+
async inviteLinkControllerCreate(
|
|
32514
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32515
|
+
options?: RawAxiosRequestConfig,
|
|
32516
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32518
|
+
inviteLinkCreateInputDTO,
|
|
32519
|
+
options,
|
|
32520
|
+
);
|
|
32521
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32522
|
+
const localVarOperationServerBasePath =
|
|
32523
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
32524
|
+
return (axios, basePath) =>
|
|
32525
|
+
createRequestFunction(
|
|
32526
|
+
localVarAxiosArgs,
|
|
32527
|
+
globalAxios,
|
|
32528
|
+
BASE_PATH,
|
|
32529
|
+
configuration,
|
|
32530
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32531
|
+
},
|
|
32532
|
+
/**
|
|
32533
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32534
|
+
* @summary Preview
|
|
32535
|
+
* @param {string} token
|
|
32536
|
+
* @param {*} [options] Override http request option.
|
|
32537
|
+
* @throws {RequiredError}
|
|
32538
|
+
*/
|
|
32539
|
+
async inviteLinkControllerPreview(
|
|
32540
|
+
token: string,
|
|
32541
|
+
options?: RawAxiosRequestConfig,
|
|
32542
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
32544
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32545
|
+
const localVarOperationServerBasePath =
|
|
32546
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
32547
|
+
return (axios, basePath) =>
|
|
32548
|
+
createRequestFunction(
|
|
32549
|
+
localVarAxiosArgs,
|
|
32550
|
+
globalAxios,
|
|
32551
|
+
BASE_PATH,
|
|
32552
|
+
configuration,
|
|
32553
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32554
|
+
},
|
|
32555
|
+
/**
|
|
32556
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32557
|
+
* @summary Redeem
|
|
32558
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32559
|
+
* @param {*} [options] Override http request option.
|
|
32560
|
+
* @throws {RequiredError}
|
|
32561
|
+
*/
|
|
32562
|
+
async inviteLinkControllerRedeem(
|
|
32563
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32564
|
+
options?: RawAxiosRequestConfig,
|
|
32565
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
32567
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32568
|
+
const localVarOperationServerBasePath =
|
|
32569
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
32570
|
+
return (axios, basePath) =>
|
|
32571
|
+
createRequestFunction(
|
|
32572
|
+
localVarAxiosArgs,
|
|
32573
|
+
globalAxios,
|
|
32574
|
+
BASE_PATH,
|
|
32575
|
+
configuration,
|
|
32576
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32577
|
+
},
|
|
32578
|
+
/**
|
|
32579
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32580
|
+
* @summary Revoke
|
|
32581
|
+
* @param {string} id
|
|
32582
|
+
* @param {*} [options] Override http request option.
|
|
32583
|
+
* @throws {RequiredError}
|
|
32584
|
+
*/
|
|
32585
|
+
async inviteLinkControllerRevoke(
|
|
32586
|
+
id: string,
|
|
32587
|
+
options?: RawAxiosRequestConfig,
|
|
32588
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
32589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
32590
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32591
|
+
const localVarOperationServerBasePath =
|
|
32592
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
32593
|
+
return (axios, basePath) =>
|
|
32594
|
+
createRequestFunction(
|
|
32595
|
+
localVarAxiosArgs,
|
|
32596
|
+
globalAxios,
|
|
32597
|
+
BASE_PATH,
|
|
32598
|
+
configuration,
|
|
32599
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32600
|
+
},
|
|
32601
|
+
/**
|
|
32602
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32603
|
+
* @summary Search
|
|
32604
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32605
|
+
* @param {*} [options] Override http request option.
|
|
32606
|
+
* @throws {RequiredError}
|
|
32607
|
+
*/
|
|
32608
|
+
async inviteLinkControllerSearch(
|
|
32609
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32610
|
+
options?: RawAxiosRequestConfig,
|
|
32611
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32613
|
+
inviteLinkSearchInputDTO,
|
|
32614
|
+
options,
|
|
32615
|
+
);
|
|
32616
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32617
|
+
const localVarOperationServerBasePath =
|
|
32618
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32619
|
+
return (axios, basePath) =>
|
|
32620
|
+
createRequestFunction(
|
|
32621
|
+
localVarAxiosArgs,
|
|
32622
|
+
globalAxios,
|
|
32623
|
+
BASE_PATH,
|
|
32624
|
+
configuration,
|
|
32625
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32626
|
+
},
|
|
32627
|
+
};
|
|
32628
|
+
};
|
|
32629
|
+
|
|
32630
|
+
/**
|
|
32631
|
+
* InviteLinkApi - factory interface
|
|
32632
|
+
* @export
|
|
32633
|
+
*/
|
|
32634
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32635
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
32636
|
+
return {
|
|
32637
|
+
/**
|
|
32638
|
+
* 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`
|
|
32639
|
+
* @summary Create invite link
|
|
32640
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32641
|
+
* @param {*} [options] Override http request option.
|
|
32642
|
+
* @throws {RequiredError}
|
|
32643
|
+
*/
|
|
32644
|
+
inviteLinkControllerCreate(
|
|
32645
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32646
|
+
options?: RawAxiosRequestConfig,
|
|
32647
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
32648
|
+
return localVarFp
|
|
32649
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32650
|
+
.then((request) => request(axios, basePath));
|
|
32651
|
+
},
|
|
32652
|
+
/**
|
|
32653
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32654
|
+
* @summary Preview
|
|
32655
|
+
* @param {string} token
|
|
32656
|
+
* @param {*} [options] Override http request option.
|
|
32657
|
+
* @throws {RequiredError}
|
|
32658
|
+
*/
|
|
32659
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32660
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
32661
|
+
},
|
|
32662
|
+
/**
|
|
32663
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32664
|
+
* @summary Redeem
|
|
32665
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32666
|
+
* @param {*} [options] Override http request option.
|
|
32667
|
+
* @throws {RequiredError}
|
|
32668
|
+
*/
|
|
32669
|
+
inviteLinkControllerRedeem(
|
|
32670
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32671
|
+
options?: RawAxiosRequestConfig,
|
|
32672
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32673
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
32674
|
+
},
|
|
32675
|
+
/**
|
|
32676
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32677
|
+
* @summary Revoke
|
|
32678
|
+
* @param {string} id
|
|
32679
|
+
* @param {*} [options] Override http request option.
|
|
32680
|
+
* @throws {RequiredError}
|
|
32681
|
+
*/
|
|
32682
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32683
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
32684
|
+
},
|
|
32685
|
+
/**
|
|
32686
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32687
|
+
* @summary Search
|
|
32688
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32689
|
+
* @param {*} [options] Override http request option.
|
|
32690
|
+
* @throws {RequiredError}
|
|
32691
|
+
*/
|
|
32692
|
+
inviteLinkControllerSearch(
|
|
32693
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32694
|
+
options?: RawAxiosRequestConfig,
|
|
32695
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32696
|
+
return localVarFp
|
|
32697
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32698
|
+
.then((request) => request(axios, basePath));
|
|
32699
|
+
},
|
|
32700
|
+
};
|
|
32701
|
+
};
|
|
32702
|
+
|
|
32703
|
+
/**
|
|
32704
|
+
* InviteLinkApi - object-oriented interface
|
|
32705
|
+
* @export
|
|
32706
|
+
* @class InviteLinkApi
|
|
32707
|
+
* @extends {BaseAPI}
|
|
32708
|
+
*/
|
|
32709
|
+
export class InviteLinkApi extends BaseAPI {
|
|
32710
|
+
/**
|
|
32711
|
+
* 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`
|
|
32712
|
+
* @summary Create invite link
|
|
32713
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32714
|
+
* @param {*} [options] Override http request option.
|
|
32715
|
+
* @throws {RequiredError}
|
|
32716
|
+
* @memberof InviteLinkApi
|
|
32717
|
+
*/
|
|
32718
|
+
public inviteLinkControllerCreate(
|
|
32719
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32720
|
+
options?: RawAxiosRequestConfig,
|
|
32721
|
+
) {
|
|
32722
|
+
return InviteLinkApiFp(this.configuration)
|
|
32723
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32724
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32725
|
+
}
|
|
32726
|
+
|
|
32727
|
+
/**
|
|
32728
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32729
|
+
* @summary Preview
|
|
32730
|
+
* @param {string} token
|
|
32731
|
+
* @param {*} [options] Override http request option.
|
|
32732
|
+
* @throws {RequiredError}
|
|
32733
|
+
* @memberof InviteLinkApi
|
|
32734
|
+
*/
|
|
32735
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32736
|
+
return InviteLinkApiFp(this.configuration)
|
|
32737
|
+
.inviteLinkControllerPreview(token, options)
|
|
32738
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32739
|
+
}
|
|
32740
|
+
|
|
32741
|
+
/**
|
|
32742
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32743
|
+
* @summary Redeem
|
|
32744
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32745
|
+
* @param {*} [options] Override http request option.
|
|
32746
|
+
* @throws {RequiredError}
|
|
32747
|
+
* @memberof InviteLinkApi
|
|
32748
|
+
*/
|
|
32749
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32750
|
+
return InviteLinkApiFp(this.configuration)
|
|
32751
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
32752
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32753
|
+
}
|
|
32754
|
+
|
|
32755
|
+
/**
|
|
32756
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32757
|
+
* @summary Revoke
|
|
32758
|
+
* @param {string} id
|
|
32759
|
+
* @param {*} [options] Override http request option.
|
|
32760
|
+
* @throws {RequiredError}
|
|
32761
|
+
* @memberof InviteLinkApi
|
|
32762
|
+
*/
|
|
32763
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32764
|
+
return InviteLinkApiFp(this.configuration)
|
|
32765
|
+
.inviteLinkControllerRevoke(id, options)
|
|
32766
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32767
|
+
}
|
|
32768
|
+
|
|
32769
|
+
/**
|
|
32770
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32771
|
+
* @summary Search
|
|
32772
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32773
|
+
* @param {*} [options] Override http request option.
|
|
32774
|
+
* @throws {RequiredError}
|
|
32775
|
+
* @memberof InviteLinkApi
|
|
32776
|
+
*/
|
|
32777
|
+
public inviteLinkControllerSearch(
|
|
32778
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32779
|
+
options?: RawAxiosRequestConfig,
|
|
32780
|
+
) {
|
|
32781
|
+
return InviteLinkApiFp(this.configuration)
|
|
32782
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32783
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32784
|
+
}
|
|
32785
|
+
}
|
|
32786
|
+
|
|
31747
32787
|
/**
|
|
31748
32788
|
* ItemApi - axios parameter creator
|
|
31749
32789
|
* @export
|
|
@@ -31982,6 +33022,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
31982
33022
|
options: localVarRequestOptions,
|
|
31983
33023
|
};
|
|
31984
33024
|
},
|
|
33025
|
+
/**
|
|
33026
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33027
|
+
* @summary Get liveness
|
|
33028
|
+
* @param {*} [options] Override http request option.
|
|
33029
|
+
* @throws {RequiredError}
|
|
33030
|
+
*/
|
|
33031
|
+
metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33032
|
+
const localVarPath = `/livez`;
|
|
33033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33035
|
+
let baseOptions;
|
|
33036
|
+
if (configuration) {
|
|
33037
|
+
baseOptions = configuration.baseOptions;
|
|
33038
|
+
}
|
|
33039
|
+
|
|
33040
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33041
|
+
const localVarHeaderParameter = {} as any;
|
|
33042
|
+
const localVarQueryParameter = {} as any;
|
|
33043
|
+
|
|
33044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33046
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
33047
|
+
|
|
33048
|
+
return {
|
|
33049
|
+
url: toPathString(localVarUrlObj),
|
|
33050
|
+
options: localVarRequestOptions,
|
|
33051
|
+
};
|
|
33052
|
+
},
|
|
31985
33053
|
/**
|
|
31986
33054
|
* <br> OperationId: `MetaGetMetrics`
|
|
31987
33055
|
* @summary Get metrics
|
|
@@ -32153,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
32153
33221
|
configuration,
|
|
32154
33222
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
32155
33223
|
},
|
|
33224
|
+
/**
|
|
33225
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33226
|
+
* @summary Get liveness
|
|
33227
|
+
* @param {*} [options] Override http request option.
|
|
33228
|
+
* @throws {RequiredError}
|
|
33229
|
+
*/
|
|
33230
|
+
async metaGetLiveness(
|
|
33231
|
+
options?: RawAxiosRequestConfig,
|
|
33232
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
|
|
33233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
33234
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33235
|
+
const localVarOperationServerBasePath =
|
|
33236
|
+
operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
33237
|
+
return (axios, basePath) =>
|
|
33238
|
+
createRequestFunction(
|
|
33239
|
+
localVarAxiosArgs,
|
|
33240
|
+
globalAxios,
|
|
33241
|
+
BASE_PATH,
|
|
33242
|
+
configuration,
|
|
33243
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
33244
|
+
},
|
|
32156
33245
|
/**
|
|
32157
33246
|
* <br> OperationId: `MetaGetMetrics`
|
|
32158
33247
|
* @summary Get metrics
|
|
@@ -32277,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
32277
33366
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
32278
33367
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
32279
33368
|
},
|
|
33369
|
+
/**
|
|
33370
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33371
|
+
* @summary Get liveness
|
|
33372
|
+
* @param {*} [options] Override http request option.
|
|
33373
|
+
* @throws {RequiredError}
|
|
33374
|
+
*/
|
|
33375
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
33376
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
33377
|
+
},
|
|
32280
33378
|
/**
|
|
32281
33379
|
* <br> OperationId: `MetaGetMetrics`
|
|
32282
33380
|
* @summary Get metrics
|
|
@@ -32345,6 +33443,19 @@ export class MetaApi extends BaseAPI {
|
|
|
32345
33443
|
.then((request) => request(this.axios, this.basePath));
|
|
32346
33444
|
}
|
|
32347
33445
|
|
|
33446
|
+
/**
|
|
33447
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33448
|
+
* @summary Get liveness
|
|
33449
|
+
* @param {*} [options] Override http request option.
|
|
33450
|
+
* @throws {RequiredError}
|
|
33451
|
+
* @memberof MetaApi
|
|
33452
|
+
*/
|
|
33453
|
+
public metaGetLiveness(options?: RawAxiosRequestConfig) {
|
|
33454
|
+
return MetaApiFp(this.configuration)
|
|
33455
|
+
.metaGetLiveness(options)
|
|
33456
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33457
|
+
}
|
|
33458
|
+
|
|
32348
33459
|
/**
|
|
32349
33460
|
* <br> OperationId: `MetaGetMetrics`
|
|
32350
33461
|
* @summary Get metrics
|
|
@@ -34010,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34010
35121
|
};
|
|
34011
35122
|
},
|
|
34012
35123
|
/**
|
|
34013
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35124
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34014
35125
|
* @summary Bulk assign role
|
|
34015
35126
|
* @param {string} roleId
|
|
34016
35127
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34055,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34055
35166
|
};
|
|
34056
35167
|
},
|
|
34057
35168
|
/**
|
|
34058
|
-
* Bulk delete players by
|
|
35169
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34059
35170
|
* @summary Bulk delete
|
|
34060
35171
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34061
35172
|
* @param {*} [options] Override http request option.
|
|
@@ -34439,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
34439
35550
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34440
35551
|
},
|
|
34441
35552
|
/**
|
|
34442
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35553
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34443
35554
|
* @summary Bulk assign role
|
|
34444
35555
|
* @param {string} roleId
|
|
34445
35556
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34468,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
34468
35579
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34469
35580
|
},
|
|
34470
35581
|
/**
|
|
34471
|
-
* Bulk delete players by
|
|
35582
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34472
35583
|
* @summary Bulk delete
|
|
34473
35584
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34474
35585
|
* @param {*} [options] Override http request option.
|
|
@@ -34703,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
34703
35814
|
.then((request) => request(axios, basePath));
|
|
34704
35815
|
},
|
|
34705
35816
|
/**
|
|
34706
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35817
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34707
35818
|
* @summary Bulk assign role
|
|
34708
35819
|
* @param {string} roleId
|
|
34709
35820
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34720,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
34720
35831
|
.then((request) => request(axios, basePath));
|
|
34721
35832
|
},
|
|
34722
35833
|
/**
|
|
34723
|
-
* Bulk delete players by
|
|
35834
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34724
35835
|
* @summary Bulk delete
|
|
34725
35836
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34726
35837
|
* @param {*} [options] Override http request option.
|
|
@@ -34900,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34900
36011
|
}
|
|
34901
36012
|
|
|
34902
36013
|
/**
|
|
34903
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
36014
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
34904
36015
|
* @summary Bulk assign role
|
|
34905
36016
|
* @param {string} roleId
|
|
34906
36017
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34919,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34919
36030
|
}
|
|
34920
36031
|
|
|
34921
36032
|
/**
|
|
34922
|
-
* Bulk delete players by
|
|
36033
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
34923
36034
|
* @summary Bulk delete
|
|
34924
36035
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34925
36036
|
* @param {*} [options] Override http request option.
|
|
@@ -35070,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
35070
36181
|
};
|
|
35071
36182
|
},
|
|
35072
36183
|
/**
|
|
35073
|
-
* Bulk add currency to
|
|
36184
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35074
36185
|
* @summary Bulk add currency
|
|
35075
36186
|
* @param {string} gameServerId
|
|
35076
36187
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35489,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
35489
36600
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
35490
36601
|
},
|
|
35491
36602
|
/**
|
|
35492
|
-
* Bulk add currency to
|
|
36603
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35493
36604
|
* @summary Bulk add currency
|
|
35494
36605
|
* @param {string} gameServerId
|
|
35495
36606
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35776,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
35776
36887
|
.then((request) => request(axios, basePath));
|
|
35777
36888
|
},
|
|
35778
36889
|
/**
|
|
35779
|
-
* Bulk add currency to
|
|
36890
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35780
36891
|
* @summary Bulk add currency
|
|
35781
36892
|
* @param {string} gameServerId
|
|
35782
36893
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35960,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
35960
37071
|
}
|
|
35961
37072
|
|
|
35962
37073
|
/**
|
|
35963
|
-
* Bulk add currency to
|
|
37074
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
35964
37075
|
* @summary Bulk add currency
|
|
35965
37076
|
* @param {string} gameServerId
|
|
35966
37077
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -38300,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
38300
39411
|
export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38301
39412
|
return {
|
|
38302
39413
|
/**
|
|
38303
|
-
* Bulk assign categories to
|
|
39414
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38304
39415
|
* @summary Bulk assign
|
|
38305
39416
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38306
39417
|
* @param {*} [options] Override http request option.
|
|
@@ -38624,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
|
|
|
38624
39735
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
38625
39736
|
return {
|
|
38626
39737
|
/**
|
|
38627
|
-
* Bulk assign categories to
|
|
39738
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38628
39739
|
* @summary Bulk assign
|
|
38629
39740
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38630
39741
|
* @param {*} [options] Override http request option.
|
|
@@ -38845,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
38845
39956
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
38846
39957
|
return {
|
|
38847
39958
|
/**
|
|
38848
|
-
* Bulk assign categories to
|
|
39959
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38849
39960
|
* @summary Bulk assign
|
|
38850
39961
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38851
39962
|
* @param {*} [options] Override http request option.
|
|
@@ -38974,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
38974
40085
|
*/
|
|
38975
40086
|
export class ShopCategoryApi extends BaseAPI {
|
|
38976
40087
|
/**
|
|
38977
|
-
* Bulk assign categories to
|
|
40088
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
38978
40089
|
* @summary Bulk assign
|
|
38979
40090
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38980
40091
|
* @param {*} [options] Override http request option.
|
|
@@ -39109,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
39109
40220
|
*/
|
|
39110
40221
|
export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39111
40222
|
return {
|
|
40223
|
+
/**
|
|
40224
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40225
|
+
* @summary Bulk
|
|
40226
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40227
|
+
* @param {*} [options] Override http request option.
|
|
40228
|
+
* @throws {RequiredError}
|
|
40229
|
+
*/
|
|
40230
|
+
shopListingControllerBulk: async (
|
|
40231
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40232
|
+
options: RawAxiosRequestConfig = {},
|
|
40233
|
+
): Promise<RequestArgs> => {
|
|
40234
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
40235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40237
|
+
let baseOptions;
|
|
40238
|
+
if (configuration) {
|
|
40239
|
+
baseOptions = configuration.baseOptions;
|
|
40240
|
+
}
|
|
40241
|
+
|
|
40242
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
40243
|
+
const localVarHeaderParameter = {} as any;
|
|
40244
|
+
const localVarQueryParameter = {} as any;
|
|
40245
|
+
|
|
40246
|
+
// authentication domainAuth required
|
|
40247
|
+
|
|
40248
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40249
|
+
|
|
40250
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40251
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40252
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40253
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40254
|
+
shopListingBulkInputDTO,
|
|
40255
|
+
localVarRequestOptions,
|
|
40256
|
+
configuration,
|
|
40257
|
+
);
|
|
40258
|
+
|
|
40259
|
+
return {
|
|
40260
|
+
url: toPathString(localVarUrlObj),
|
|
40261
|
+
options: localVarRequestOptions,
|
|
40262
|
+
};
|
|
40263
|
+
},
|
|
39112
40264
|
/**
|
|
39113
40265
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39114
40266
|
* @summary Create
|
|
@@ -39334,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
39334
40486
|
export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
39335
40487
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
39336
40488
|
return {
|
|
40489
|
+
/**
|
|
40490
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40491
|
+
* @summary Bulk
|
|
40492
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40493
|
+
* @param {*} [options] Override http request option.
|
|
40494
|
+
* @throws {RequiredError}
|
|
40495
|
+
*/
|
|
40496
|
+
async shopListingControllerBulk(
|
|
40497
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40498
|
+
options?: RawAxiosRequestConfig,
|
|
40499
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
40500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(
|
|
40501
|
+
shopListingBulkInputDTO,
|
|
40502
|
+
options,
|
|
40503
|
+
);
|
|
40504
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40505
|
+
const localVarOperationServerBasePath =
|
|
40506
|
+
operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
40507
|
+
return (axios, basePath) =>
|
|
40508
|
+
createRequestFunction(
|
|
40509
|
+
localVarAxiosArgs,
|
|
40510
|
+
globalAxios,
|
|
40511
|
+
BASE_PATH,
|
|
40512
|
+
configuration,
|
|
40513
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40514
|
+
},
|
|
39337
40515
|
/**
|
|
39338
40516
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39339
40517
|
* @summary Create
|
|
@@ -39496,6 +40674,21 @@ export const ShopListingApiFactory = function (
|
|
|
39496
40674
|
) {
|
|
39497
40675
|
const localVarFp = ShopListingApiFp(configuration);
|
|
39498
40676
|
return {
|
|
40677
|
+
/**
|
|
40678
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40679
|
+
* @summary Bulk
|
|
40680
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40681
|
+
* @param {*} [options] Override http request option.
|
|
40682
|
+
* @throws {RequiredError}
|
|
40683
|
+
*/
|
|
40684
|
+
shopListingControllerBulk(
|
|
40685
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40686
|
+
options?: RawAxiosRequestConfig,
|
|
40687
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
40688
|
+
return localVarFp
|
|
40689
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40690
|
+
.then((request) => request(axios, basePath));
|
|
40691
|
+
},
|
|
39499
40692
|
/**
|
|
39500
40693
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39501
40694
|
* @summary Create
|
|
@@ -39582,6 +40775,20 @@ export const ShopListingApiFactory = function (
|
|
|
39582
40775
|
* @extends {BaseAPI}
|
|
39583
40776
|
*/
|
|
39584
40777
|
export class ShopListingApi extends BaseAPI {
|
|
40778
|
+
/**
|
|
40779
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40780
|
+
* @summary Bulk
|
|
40781
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40782
|
+
* @param {*} [options] Override http request option.
|
|
40783
|
+
* @throws {RequiredError}
|
|
40784
|
+
* @memberof ShopListingApi
|
|
40785
|
+
*/
|
|
40786
|
+
public shopListingControllerBulk(shopListingBulkInputDTO?: ShopListingBulkInputDTO, options?: RawAxiosRequestConfig) {
|
|
40787
|
+
return ShopListingApiFp(this.configuration)
|
|
40788
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40789
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40790
|
+
}
|
|
40791
|
+
|
|
39585
40792
|
/**
|
|
39586
40793
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39587
40794
|
* @summary Create
|
|
@@ -41047,6 +42254,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41047
42254
|
options: localVarRequestOptions,
|
|
41048
42255
|
};
|
|
41049
42256
|
},
|
|
42257
|
+
/**
|
|
42258
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42259
|
+
* @summary Count billable dashboard users
|
|
42260
|
+
* @param {*} [options] Override http request option.
|
|
42261
|
+
* @throws {RequiredError}
|
|
42262
|
+
*/
|
|
42263
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42264
|
+
const localVarPath = `/user/count`;
|
|
42265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42267
|
+
let baseOptions;
|
|
42268
|
+
if (configuration) {
|
|
42269
|
+
baseOptions = configuration.baseOptions;
|
|
42270
|
+
}
|
|
42271
|
+
|
|
42272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42273
|
+
const localVarHeaderParameter = {} as any;
|
|
42274
|
+
const localVarQueryParameter = {} as any;
|
|
42275
|
+
|
|
42276
|
+
// authentication domainAuth required
|
|
42277
|
+
|
|
42278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42280
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42281
|
+
|
|
42282
|
+
return {
|
|
42283
|
+
url: toPathString(localVarUrlObj),
|
|
42284
|
+
options: localVarRequestOptions,
|
|
42285
|
+
};
|
|
42286
|
+
},
|
|
41050
42287
|
/**
|
|
41051
42288
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41052
42289
|
* @summary Create
|
|
@@ -41152,6 +42389,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
41152
42389
|
* @summary Invite
|
|
41153
42390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41154
42391
|
* @param {*} [options] Override http request option.
|
|
42392
|
+
* @deprecated
|
|
41155
42393
|
* @throws {RequiredError}
|
|
41156
42394
|
*/
|
|
41157
42395
|
userControllerInvite: async (
|
|
@@ -41553,6 +42791,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41553
42791
|
configuration,
|
|
41554
42792
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41555
42793
|
},
|
|
42794
|
+
/**
|
|
42795
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42796
|
+
* @summary Count billable dashboard users
|
|
42797
|
+
* @param {*} [options] Override http request option.
|
|
42798
|
+
* @throws {RequiredError}
|
|
42799
|
+
*/
|
|
42800
|
+
async userControllerCountBillableDashboardUsers(
|
|
42801
|
+
options?: RawAxiosRequestConfig,
|
|
42802
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
42803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
42804
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42805
|
+
const localVarOperationServerBasePath =
|
|
42806
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
42807
|
+
return (axios, basePath) =>
|
|
42808
|
+
createRequestFunction(
|
|
42809
|
+
localVarAxiosArgs,
|
|
42810
|
+
globalAxios,
|
|
42811
|
+
BASE_PATH,
|
|
42812
|
+
configuration,
|
|
42813
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42814
|
+
},
|
|
41556
42815
|
/**
|
|
41557
42816
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41558
42817
|
* @summary Create
|
|
@@ -41625,6 +42884,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
41625
42884
|
* @summary Invite
|
|
41626
42885
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41627
42886
|
* @param {*} [options] Override http request option.
|
|
42887
|
+
* @deprecated
|
|
41628
42888
|
* @throws {RequiredError}
|
|
41629
42889
|
*/
|
|
41630
42890
|
async userControllerInvite(
|
|
@@ -41882,6 +43142,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41882
43142
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
41883
43143
|
.then((request) => request(axios, basePath));
|
|
41884
43144
|
},
|
|
43145
|
+
/**
|
|
43146
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
43147
|
+
* @summary Count billable dashboard users
|
|
43148
|
+
* @param {*} [options] Override http request option.
|
|
43149
|
+
* @throws {RequiredError}
|
|
43150
|
+
*/
|
|
43151
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
43152
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
43153
|
+
},
|
|
41885
43154
|
/**
|
|
41886
43155
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
41887
43156
|
* @summary Create
|
|
@@ -41919,6 +43188,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
41919
43188
|
* @summary Invite
|
|
41920
43189
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41921
43190
|
* @param {*} [options] Override http request option.
|
|
43191
|
+
* @deprecated
|
|
41922
43192
|
* @throws {RequiredError}
|
|
41923
43193
|
*/
|
|
41924
43194
|
userControllerInvite(
|
|
@@ -42060,6 +43330,19 @@ export class UserApi extends BaseAPI {
|
|
|
42060
43330
|
.then((request) => request(this.axios, this.basePath));
|
|
42061
43331
|
}
|
|
42062
43332
|
|
|
43333
|
+
/**
|
|
43334
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
43335
|
+
* @summary Count billable dashboard users
|
|
43336
|
+
* @param {*} [options] Override http request option.
|
|
43337
|
+
* @throws {RequiredError}
|
|
43338
|
+
* @memberof UserApi
|
|
43339
|
+
*/
|
|
43340
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
43341
|
+
return UserApiFp(this.configuration)
|
|
43342
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
43343
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43344
|
+
}
|
|
43345
|
+
|
|
42063
43346
|
/**
|
|
42064
43347
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
42065
43348
|
* @summary Create
|
|
@@ -42106,6 +43389,7 @@ export class UserApi extends BaseAPI {
|
|
|
42106
43389
|
* @summary Invite
|
|
42107
43390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
42108
43391
|
* @param {*} [options] Override http request option.
|
|
43392
|
+
* @deprecated
|
|
42109
43393
|
* @throws {RequiredError}
|
|
42110
43394
|
* @memberof UserApi
|
|
42111
43395
|
*/
|
|
@@ -42251,6 +43535,47 @@ export class UserApi extends BaseAPI {
|
|
|
42251
43535
|
*/
|
|
42252
43536
|
export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42253
43537
|
return {
|
|
43538
|
+
/**
|
|
43539
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43540
|
+
* @summary Bulk delete
|
|
43541
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43542
|
+
* @param {*} [options] Override http request option.
|
|
43543
|
+
* @throws {RequiredError}
|
|
43544
|
+
*/
|
|
43545
|
+
variableControllerBulkDelete: async (
|
|
43546
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43547
|
+
options: RawAxiosRequestConfig = {},
|
|
43548
|
+
): Promise<RequestArgs> => {
|
|
43549
|
+
const localVarPath = `/variables`;
|
|
43550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43551
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43552
|
+
let baseOptions;
|
|
43553
|
+
if (configuration) {
|
|
43554
|
+
baseOptions = configuration.baseOptions;
|
|
43555
|
+
}
|
|
43556
|
+
|
|
43557
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43558
|
+
const localVarHeaderParameter = {} as any;
|
|
43559
|
+
const localVarQueryParameter = {} as any;
|
|
43560
|
+
|
|
43561
|
+
// authentication domainAuth required
|
|
43562
|
+
|
|
43563
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43564
|
+
|
|
43565
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43566
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43567
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43568
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43569
|
+
variableBulkDeleteInputDTO,
|
|
43570
|
+
localVarRequestOptions,
|
|
43571
|
+
configuration,
|
|
43572
|
+
);
|
|
43573
|
+
|
|
43574
|
+
return {
|
|
43575
|
+
url: toPathString(localVarUrlObj),
|
|
43576
|
+
options: localVarRequestOptions,
|
|
43577
|
+
};
|
|
43578
|
+
},
|
|
42254
43579
|
/**
|
|
42255
43580
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42256
43581
|
* @summary Create
|
|
@@ -42446,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
42446
43771
|
export const VariableApiFp = function (configuration?: Configuration) {
|
|
42447
43772
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
42448
43773
|
return {
|
|
43774
|
+
/**
|
|
43775
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43776
|
+
* @summary Bulk delete
|
|
43777
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43778
|
+
* @param {*} [options] Override http request option.
|
|
43779
|
+
* @throws {RequiredError}
|
|
43780
|
+
*/
|
|
43781
|
+
async variableControllerBulkDelete(
|
|
43782
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43783
|
+
options?: RawAxiosRequestConfig,
|
|
43784
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
43785
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(
|
|
43786
|
+
variableBulkDeleteInputDTO,
|
|
43787
|
+
options,
|
|
43788
|
+
);
|
|
43789
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43790
|
+
const localVarOperationServerBasePath =
|
|
43791
|
+
operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
43792
|
+
return (axios, basePath) =>
|
|
43793
|
+
createRequestFunction(
|
|
43794
|
+
localVarAxiosArgs,
|
|
43795
|
+
globalAxios,
|
|
43796
|
+
BASE_PATH,
|
|
43797
|
+
configuration,
|
|
43798
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43799
|
+
},
|
|
42449
43800
|
/**
|
|
42450
43801
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42451
43802
|
* @summary Create
|
|
@@ -42580,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
|
|
|
42580
43931
|
export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
42581
43932
|
const localVarFp = VariableApiFp(configuration);
|
|
42582
43933
|
return {
|
|
43934
|
+
/**
|
|
43935
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43936
|
+
* @summary Bulk delete
|
|
43937
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43938
|
+
* @param {*} [options] Override http request option.
|
|
43939
|
+
* @throws {RequiredError}
|
|
43940
|
+
*/
|
|
43941
|
+
variableControllerBulkDelete(
|
|
43942
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43943
|
+
options?: RawAxiosRequestConfig,
|
|
43944
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
43945
|
+
return localVarFp
|
|
43946
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
43947
|
+
.then((request) => request(axios, basePath));
|
|
43948
|
+
},
|
|
42583
43949
|
/**
|
|
42584
43950
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42585
43951
|
* @summary Create
|
|
@@ -42657,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
|
|
|
42657
44023
|
* @extends {BaseAPI}
|
|
42658
44024
|
*/
|
|
42659
44025
|
export class VariableApi extends BaseAPI {
|
|
44026
|
+
/**
|
|
44027
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
44028
|
+
* @summary Bulk delete
|
|
44029
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
44030
|
+
* @param {*} [options] Override http request option.
|
|
44031
|
+
* @throws {RequiredError}
|
|
44032
|
+
* @memberof VariableApi
|
|
44033
|
+
*/
|
|
44034
|
+
public variableControllerBulkDelete(
|
|
44035
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
44036
|
+
options?: RawAxiosRequestConfig,
|
|
44037
|
+
) {
|
|
44038
|
+
return VariableApiFp(this.configuration)
|
|
44039
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
44040
|
+
.then((request) => request(this.axios, this.basePath));
|
|
44041
|
+
}
|
|
44042
|
+
|
|
42660
44043
|
/**
|
|
42661
44044
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
42662
44045
|
* @summary Create
|
|
@@ -42728,474 +44111,3 @@ export class VariableApi extends BaseAPI {
|
|
|
42728
44111
|
.then((request) => request(this.axios, this.basePath));
|
|
42729
44112
|
}
|
|
42730
44113
|
}
|
|
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
|
-
}
|