@takaro/apiclient 0.0.0-dev.4533bd5 → 0.0.0-dev.469f15a
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 +1885 -210
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1051 -86
- 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 +3 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +10 -4
- 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 +2 -2
- package/src/generated/api.ts +2708 -227
- 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 +16 -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 = {
|
|
@@ -2664,6 +2794,50 @@ export const DomainUpdateInputDTOStateEnum = {
|
|
|
2664
2794
|
export type DomainUpdateInputDTOStateEnum =
|
|
2665
2795
|
(typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
|
|
2666
2796
|
|
|
2797
|
+
/**
|
|
2798
|
+
*
|
|
2799
|
+
* @export
|
|
2800
|
+
* @interface EffectiveStorefrontConfigDTO
|
|
2801
|
+
*/
|
|
2802
|
+
export interface EffectiveStorefrontConfigDTO {
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {string}
|
|
2806
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2807
|
+
*/
|
|
2808
|
+
templateId: string;
|
|
2809
|
+
/**
|
|
2810
|
+
*
|
|
2811
|
+
* @type {object}
|
|
2812
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2813
|
+
*/
|
|
2814
|
+
values: object;
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @type {object}
|
|
2818
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2819
|
+
*/
|
|
2820
|
+
schema: object;
|
|
2821
|
+
}
|
|
2822
|
+
/**
|
|
2823
|
+
*
|
|
2824
|
+
* @export
|
|
2825
|
+
* @interface EffectiveStorefrontConfigOutputDTOAPI
|
|
2826
|
+
*/
|
|
2827
|
+
export interface EffectiveStorefrontConfigOutputDTOAPI {
|
|
2828
|
+
/**
|
|
2829
|
+
*
|
|
2830
|
+
* @type {EffectiveStorefrontConfigDTO}
|
|
2831
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2832
|
+
*/
|
|
2833
|
+
data: EffectiveStorefrontConfigDTO;
|
|
2834
|
+
/**
|
|
2835
|
+
*
|
|
2836
|
+
* @type {MetadataOutput}
|
|
2837
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2838
|
+
*/
|
|
2839
|
+
meta: MetadataOutput;
|
|
2840
|
+
}
|
|
2667
2841
|
/**
|
|
2668
2842
|
*
|
|
2669
2843
|
* @export
|
|
@@ -3061,19 +3235,19 @@ export interface ErrorOutput {
|
|
|
3061
3235
|
* @type {string}
|
|
3062
3236
|
* @memberof ErrorOutput
|
|
3063
3237
|
*/
|
|
3064
|
-
code
|
|
3238
|
+
code?: string;
|
|
3065
3239
|
/**
|
|
3066
3240
|
*
|
|
3067
3241
|
* @type {string}
|
|
3068
3242
|
* @memberof ErrorOutput
|
|
3069
3243
|
*/
|
|
3070
|
-
message
|
|
3244
|
+
message?: string;
|
|
3071
3245
|
/**
|
|
3072
3246
|
*
|
|
3073
3247
|
* @type {string}
|
|
3074
3248
|
* @memberof ErrorOutput
|
|
3075
3249
|
*/
|
|
3076
|
-
details
|
|
3250
|
+
details?: string;
|
|
3077
3251
|
}
|
|
3078
3252
|
/**
|
|
3079
3253
|
*
|
|
@@ -3086,7 +3260,7 @@ export interface EventChatMessage {
|
|
|
3086
3260
|
* @type {IGamePlayer}
|
|
3087
3261
|
* @memberof EventChatMessage
|
|
3088
3262
|
*/
|
|
3089
|
-
player
|
|
3263
|
+
player?: IGamePlayer;
|
|
3090
3264
|
/**
|
|
3091
3265
|
*
|
|
3092
3266
|
* @type {string}
|
|
@@ -3219,6 +3393,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
3219
3393
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3220
3394
|
EventRateLimited: 'event-rate-limited',
|
|
3221
3395
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3396
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3222
3397
|
PlayerConnected: 'player-connected',
|
|
3223
3398
|
PlayerDisconnected: 'player-disconnected',
|
|
3224
3399
|
ChatMessage: 'chat-message',
|
|
@@ -3437,6 +3612,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
3437
3612
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3438
3613
|
EventRateLimited: 'event-rate-limited',
|
|
3439
3614
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3615
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3440
3616
|
PlayerConnected: 'player-connected',
|
|
3441
3617
|
PlayerDisconnected: 'player-disconnected',
|
|
3442
3618
|
ChatMessage: 'chat-message',
|
|
@@ -3807,6 +3983,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3807
3983
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3808
3984
|
EventRateLimited: 'event-rate-limited',
|
|
3809
3985
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3986
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3810
3987
|
PlayerConnected: 'player-connected',
|
|
3811
3988
|
PlayerDisconnected: 'player-disconnected',
|
|
3812
3989
|
ChatMessage: 'chat-message',
|
|
@@ -3839,6 +4016,7 @@ export type EventOutputDTOMeta =
|
|
|
3839
4016
|
| TakaroEventGameserverDeleted
|
|
3840
4017
|
| TakaroEventGameserverUpdated
|
|
3841
4018
|
| TakaroEventHookExecuted
|
|
4019
|
+
| TakaroEventInviteLinkCreated
|
|
3842
4020
|
| TakaroEventModuleCreated
|
|
3843
4021
|
| TakaroEventModuleDeleted
|
|
3844
4022
|
| TakaroEventModuleInstalled
|
|
@@ -4046,6 +4224,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
4046
4224
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
4047
4225
|
EventRateLimited: 'event-rate-limited',
|
|
4048
4226
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
4227
|
+
InviteLinkCreated: 'invite-link-created',
|
|
4049
4228
|
PlayerConnected: 'player-connected',
|
|
4050
4229
|
PlayerDisconnected: 'player-disconnected',
|
|
4051
4230
|
ChatMessage: 'chat-message',
|
|
@@ -5540,6 +5719,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
5540
5719
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5541
5720
|
EventRateLimited: 'event-rate-limited',
|
|
5542
5721
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5722
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5543
5723
|
} as const;
|
|
5544
5724
|
|
|
5545
5725
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -5703,6 +5883,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
5703
5883
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5704
5884
|
EventRateLimited: 'event-rate-limited',
|
|
5705
5885
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5886
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5706
5887
|
} as const;
|
|
5707
5888
|
|
|
5708
5889
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -5811,6 +5992,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
5811
5992
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5812
5993
|
EventRateLimited: 'event-rate-limited',
|
|
5813
5994
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5995
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5814
5996
|
} as const;
|
|
5815
5997
|
|
|
5816
5998
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -5991,6 +6173,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
5991
6173
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5992
6174
|
EventRateLimited: 'event-rate-limited',
|
|
5993
6175
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6176
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5994
6177
|
} as const;
|
|
5995
6178
|
|
|
5996
6179
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -6081,6 +6264,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
6081
6264
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6082
6265
|
EventRateLimited: 'event-rate-limited',
|
|
6083
6266
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6267
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6084
6268
|
} as const;
|
|
6085
6269
|
|
|
6086
6270
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -6413,6 +6597,7 @@ export const IHookEventTypeEnum = {
|
|
|
6413
6597
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6414
6598
|
EventRateLimited: 'event-rate-limited',
|
|
6415
6599
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6600
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6416
6601
|
} as const;
|
|
6417
6602
|
|
|
6418
6603
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -6842,6 +7027,462 @@ export interface InviteCreateDTO {
|
|
|
6842
7027
|
*/
|
|
6843
7028
|
email: string;
|
|
6844
7029
|
}
|
|
7030
|
+
/**
|
|
7031
|
+
*
|
|
7032
|
+
* @export
|
|
7033
|
+
* @interface InviteLinkCreateInputDTO
|
|
7034
|
+
*/
|
|
7035
|
+
export interface InviteLinkCreateInputDTO {
|
|
7036
|
+
/**
|
|
7037
|
+
*
|
|
7038
|
+
* @type {Array<string>}
|
|
7039
|
+
* @memberof InviteLinkCreateInputDTO
|
|
7040
|
+
*/
|
|
7041
|
+
roleIds?: Array<string>;
|
|
7042
|
+
/**
|
|
7043
|
+
*
|
|
7044
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7045
|
+
* @memberof InviteLinkCreateInputDTO
|
|
7046
|
+
*/
|
|
7047
|
+
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7048
|
+
/**
|
|
7049
|
+
*
|
|
7050
|
+
* @type {number}
|
|
7051
|
+
* @memberof InviteLinkCreateInputDTO
|
|
7052
|
+
*/
|
|
7053
|
+
maxUses?: number;
|
|
7054
|
+
}
|
|
7055
|
+
/**
|
|
7056
|
+
*
|
|
7057
|
+
* @export
|
|
7058
|
+
* @interface InviteLinkCreateResultDTO
|
|
7059
|
+
*/
|
|
7060
|
+
export interface InviteLinkCreateResultDTO {
|
|
7061
|
+
/**
|
|
7062
|
+
*
|
|
7063
|
+
* @type {string}
|
|
7064
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7065
|
+
*/
|
|
7066
|
+
inviteUrl: string;
|
|
7067
|
+
/**
|
|
7068
|
+
*
|
|
7069
|
+
* @type {string}
|
|
7070
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7071
|
+
*/
|
|
7072
|
+
token: string;
|
|
7073
|
+
/**
|
|
7074
|
+
*
|
|
7075
|
+
* @type {string}
|
|
7076
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7077
|
+
*/
|
|
7078
|
+
id: string;
|
|
7079
|
+
/**
|
|
7080
|
+
*
|
|
7081
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7082
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7083
|
+
*/
|
|
7084
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7085
|
+
/**
|
|
7086
|
+
*
|
|
7087
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7088
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7089
|
+
*/
|
|
7090
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7091
|
+
/**
|
|
7092
|
+
*
|
|
7093
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7094
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7095
|
+
*/
|
|
7096
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7097
|
+
/**
|
|
7098
|
+
*
|
|
7099
|
+
* @type {number}
|
|
7100
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7101
|
+
*/
|
|
7102
|
+
maxUses?: number;
|
|
7103
|
+
/**
|
|
7104
|
+
*
|
|
7105
|
+
* @type {number}
|
|
7106
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7107
|
+
*/
|
|
7108
|
+
uses: number;
|
|
7109
|
+
/**
|
|
7110
|
+
*
|
|
7111
|
+
* @type {number}
|
|
7112
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7113
|
+
*/
|
|
7114
|
+
remaining?: number;
|
|
7115
|
+
/**
|
|
7116
|
+
*
|
|
7117
|
+
* @type {string}
|
|
7118
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7119
|
+
*/
|
|
7120
|
+
status: InviteLinkCreateResultDTOStatusEnum;
|
|
7121
|
+
/**
|
|
7122
|
+
*
|
|
7123
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7124
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7125
|
+
*/
|
|
7126
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7127
|
+
/**
|
|
7128
|
+
*
|
|
7129
|
+
* @type {string}
|
|
7130
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7131
|
+
*/
|
|
7132
|
+
createdBy?: string;
|
|
7133
|
+
/**
|
|
7134
|
+
*
|
|
7135
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7136
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7137
|
+
*/
|
|
7138
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7139
|
+
}
|
|
7140
|
+
|
|
7141
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
7142
|
+
Active: 'ACTIVE',
|
|
7143
|
+
Revoked: 'REVOKED',
|
|
7144
|
+
Expired: 'EXPIRED',
|
|
7145
|
+
Depleted: 'DEPLETED',
|
|
7146
|
+
} as const;
|
|
7147
|
+
|
|
7148
|
+
export type InviteLinkCreateResultDTOStatusEnum =
|
|
7149
|
+
(typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
|
|
7150
|
+
|
|
7151
|
+
/**
|
|
7152
|
+
*
|
|
7153
|
+
* @export
|
|
7154
|
+
* @interface InviteLinkCreateResultDTOAPI
|
|
7155
|
+
*/
|
|
7156
|
+
export interface InviteLinkCreateResultDTOAPI {
|
|
7157
|
+
/**
|
|
7158
|
+
*
|
|
7159
|
+
* @type {InviteLinkCreateResultDTO}
|
|
7160
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7161
|
+
*/
|
|
7162
|
+
data: InviteLinkCreateResultDTO;
|
|
7163
|
+
/**
|
|
7164
|
+
*
|
|
7165
|
+
* @type {MetadataOutput}
|
|
7166
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7167
|
+
*/
|
|
7168
|
+
meta: MetadataOutput;
|
|
7169
|
+
}
|
|
7170
|
+
/**
|
|
7171
|
+
*
|
|
7172
|
+
* @export
|
|
7173
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7174
|
+
*/
|
|
7175
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7176
|
+
/**
|
|
7177
|
+
*
|
|
7178
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7179
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7180
|
+
*/
|
|
7181
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7182
|
+
/**
|
|
7183
|
+
*
|
|
7184
|
+
* @type {MetadataOutput}
|
|
7185
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7186
|
+
*/
|
|
7187
|
+
meta: MetadataOutput;
|
|
7188
|
+
}
|
|
7189
|
+
/**
|
|
7190
|
+
*
|
|
7191
|
+
* @export
|
|
7192
|
+
* @interface InviteLinkOutputDTO
|
|
7193
|
+
*/
|
|
7194
|
+
export interface InviteLinkOutputDTO {
|
|
7195
|
+
/**
|
|
7196
|
+
*
|
|
7197
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7198
|
+
* @memberof InviteLinkOutputDTO
|
|
7199
|
+
*/
|
|
7200
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7201
|
+
/**
|
|
7202
|
+
*
|
|
7203
|
+
* @type {number}
|
|
7204
|
+
* @memberof InviteLinkOutputDTO
|
|
7205
|
+
*/
|
|
7206
|
+
maxUses?: number;
|
|
7207
|
+
/**
|
|
7208
|
+
*
|
|
7209
|
+
* @type {number}
|
|
7210
|
+
* @memberof InviteLinkOutputDTO
|
|
7211
|
+
*/
|
|
7212
|
+
uses: number;
|
|
7213
|
+
/**
|
|
7214
|
+
*
|
|
7215
|
+
* @type {number}
|
|
7216
|
+
* @memberof InviteLinkOutputDTO
|
|
7217
|
+
*/
|
|
7218
|
+
remaining?: number;
|
|
7219
|
+
/**
|
|
7220
|
+
*
|
|
7221
|
+
* @type {string}
|
|
7222
|
+
* @memberof InviteLinkOutputDTO
|
|
7223
|
+
*/
|
|
7224
|
+
status: InviteLinkOutputDTOStatusEnum;
|
|
7225
|
+
/**
|
|
7226
|
+
*
|
|
7227
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7228
|
+
* @memberof InviteLinkOutputDTO
|
|
7229
|
+
*/
|
|
7230
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7231
|
+
/**
|
|
7232
|
+
*
|
|
7233
|
+
* @type {string}
|
|
7234
|
+
* @memberof InviteLinkOutputDTO
|
|
7235
|
+
*/
|
|
7236
|
+
createdBy?: string;
|
|
7237
|
+
/**
|
|
7238
|
+
*
|
|
7239
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7240
|
+
* @memberof InviteLinkOutputDTO
|
|
7241
|
+
*/
|
|
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;
|
|
7261
|
+
}
|
|
7262
|
+
|
|
7263
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
7264
|
+
Active: 'ACTIVE',
|
|
7265
|
+
Revoked: 'REVOKED',
|
|
7266
|
+
Expired: 'EXPIRED',
|
|
7267
|
+
Depleted: 'DEPLETED',
|
|
7268
|
+
} as const;
|
|
7269
|
+
|
|
7270
|
+
export type InviteLinkOutputDTOStatusEnum =
|
|
7271
|
+
(typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
|
|
7272
|
+
|
|
7273
|
+
/**
|
|
7274
|
+
*
|
|
7275
|
+
* @export
|
|
7276
|
+
* @interface InviteLinkOutputDTOAPI
|
|
7277
|
+
*/
|
|
7278
|
+
export interface InviteLinkOutputDTOAPI {
|
|
7279
|
+
/**
|
|
7280
|
+
*
|
|
7281
|
+
* @type {InviteLinkOutputDTO}
|
|
7282
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7283
|
+
*/
|
|
7284
|
+
data: InviteLinkOutputDTO;
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @type {MetadataOutput}
|
|
7288
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7289
|
+
*/
|
|
7290
|
+
meta: MetadataOutput;
|
|
7291
|
+
}
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @export
|
|
7295
|
+
* @interface InviteLinkPreviewDTO
|
|
7296
|
+
*/
|
|
7297
|
+
export interface InviteLinkPreviewDTO {
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @type {InviteLinkPreviewDomainDTO}
|
|
7301
|
+
* @memberof InviteLinkPreviewDTO
|
|
7302
|
+
*/
|
|
7303
|
+
domain: InviteLinkPreviewDomainDTO;
|
|
7304
|
+
/**
|
|
7305
|
+
*
|
|
7306
|
+
* @type {Array<InviteLinkPreviewRoleDTO>}
|
|
7307
|
+
* @memberof InviteLinkPreviewDTO
|
|
7308
|
+
*/
|
|
7309
|
+
roles: Array<InviteLinkPreviewRoleDTO>;
|
|
7310
|
+
/**
|
|
7311
|
+
*
|
|
7312
|
+
* @type {string}
|
|
7313
|
+
* @memberof InviteLinkPreviewDTO
|
|
7314
|
+
*/
|
|
7315
|
+
status: InviteLinkPreviewDTOStatusEnum;
|
|
7316
|
+
/**
|
|
7317
|
+
*
|
|
7318
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7319
|
+
* @memberof InviteLinkPreviewDTO
|
|
7320
|
+
*/
|
|
7321
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7322
|
+
/**
|
|
7323
|
+
*
|
|
7324
|
+
* @type {number}
|
|
7325
|
+
* @memberof InviteLinkPreviewDTO
|
|
7326
|
+
*/
|
|
7327
|
+
remaining?: number;
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
7331
|
+
Active: 'ACTIVE',
|
|
7332
|
+
Revoked: 'REVOKED',
|
|
7333
|
+
Expired: 'EXPIRED',
|
|
7334
|
+
Depleted: 'DEPLETED',
|
|
7335
|
+
} as const;
|
|
7336
|
+
|
|
7337
|
+
export type InviteLinkPreviewDTOStatusEnum =
|
|
7338
|
+
(typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
|
|
7339
|
+
|
|
7340
|
+
/**
|
|
7341
|
+
*
|
|
7342
|
+
* @export
|
|
7343
|
+
* @interface InviteLinkPreviewDTOAPI
|
|
7344
|
+
*/
|
|
7345
|
+
export interface InviteLinkPreviewDTOAPI {
|
|
7346
|
+
/**
|
|
7347
|
+
*
|
|
7348
|
+
* @type {InviteLinkPreviewDTO}
|
|
7349
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7350
|
+
*/
|
|
7351
|
+
data: InviteLinkPreviewDTO;
|
|
7352
|
+
/**
|
|
7353
|
+
*
|
|
7354
|
+
* @type {MetadataOutput}
|
|
7355
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7356
|
+
*/
|
|
7357
|
+
meta: MetadataOutput;
|
|
7358
|
+
}
|
|
7359
|
+
/**
|
|
7360
|
+
*
|
|
7361
|
+
* @export
|
|
7362
|
+
* @interface InviteLinkPreviewDomainDTO
|
|
7363
|
+
*/
|
|
7364
|
+
export interface InviteLinkPreviewDomainDTO {
|
|
7365
|
+
/**
|
|
7366
|
+
*
|
|
7367
|
+
* @type {string}
|
|
7368
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7369
|
+
*/
|
|
7370
|
+
id: string;
|
|
7371
|
+
/**
|
|
7372
|
+
*
|
|
7373
|
+
* @type {string}
|
|
7374
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7375
|
+
*/
|
|
7376
|
+
name: string;
|
|
7377
|
+
}
|
|
7378
|
+
/**
|
|
7379
|
+
*
|
|
7380
|
+
* @export
|
|
7381
|
+
* @interface InviteLinkPreviewRoleDTO
|
|
7382
|
+
*/
|
|
7383
|
+
export interface InviteLinkPreviewRoleDTO {
|
|
7384
|
+
/**
|
|
7385
|
+
*
|
|
7386
|
+
* @type {string}
|
|
7387
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7388
|
+
*/
|
|
7389
|
+
id: string;
|
|
7390
|
+
/**
|
|
7391
|
+
*
|
|
7392
|
+
* @type {string}
|
|
7393
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7394
|
+
*/
|
|
7395
|
+
name: string;
|
|
7396
|
+
}
|
|
7397
|
+
/**
|
|
7398
|
+
*
|
|
7399
|
+
* @export
|
|
7400
|
+
* @interface InviteLinkRoleDTO
|
|
7401
|
+
*/
|
|
7402
|
+
export interface InviteLinkRoleDTO {
|
|
7403
|
+
/**
|
|
7404
|
+
*
|
|
7405
|
+
* @type {string}
|
|
7406
|
+
* @memberof InviteLinkRoleDTO
|
|
7407
|
+
*/
|
|
7408
|
+
roleId: string;
|
|
7409
|
+
/**
|
|
7410
|
+
*
|
|
7411
|
+
* @type {string}
|
|
7412
|
+
* @memberof InviteLinkRoleDTO
|
|
7413
|
+
*/
|
|
7414
|
+
name: string;
|
|
7415
|
+
}
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @export
|
|
7419
|
+
* @interface InviteLinkSearchInputDTO
|
|
7420
|
+
*/
|
|
7421
|
+
export interface InviteLinkSearchInputDTO {
|
|
7422
|
+
/**
|
|
7423
|
+
*
|
|
7424
|
+
* @type {string}
|
|
7425
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7426
|
+
*/
|
|
7427
|
+
sortBy?: string;
|
|
7428
|
+
/**
|
|
7429
|
+
*
|
|
7430
|
+
* @type {any}
|
|
7431
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7432
|
+
*/
|
|
7433
|
+
filters?: any;
|
|
7434
|
+
/**
|
|
7435
|
+
*
|
|
7436
|
+
* @type {any}
|
|
7437
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7438
|
+
*/
|
|
7439
|
+
search?: any;
|
|
7440
|
+
/**
|
|
7441
|
+
*
|
|
7442
|
+
* @type {any}
|
|
7443
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7444
|
+
*/
|
|
7445
|
+
greaterThan?: any;
|
|
7446
|
+
/**
|
|
7447
|
+
*
|
|
7448
|
+
* @type {any}
|
|
7449
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7450
|
+
*/
|
|
7451
|
+
lessThan?: any;
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @type {number}
|
|
7455
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7456
|
+
*/
|
|
7457
|
+
page?: number;
|
|
7458
|
+
/**
|
|
7459
|
+
*
|
|
7460
|
+
* @type {number}
|
|
7461
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7462
|
+
*/
|
|
7463
|
+
limit?: number;
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @type {string}
|
|
7467
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7468
|
+
*/
|
|
7469
|
+
sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
|
|
7470
|
+
/**
|
|
7471
|
+
*
|
|
7472
|
+
* @type {Array<string>}
|
|
7473
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7474
|
+
*/
|
|
7475
|
+
extend?: Array<string>;
|
|
7476
|
+
}
|
|
7477
|
+
|
|
7478
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
7479
|
+
Asc: 'asc',
|
|
7480
|
+
Desc: 'desc',
|
|
7481
|
+
} as const;
|
|
7482
|
+
|
|
7483
|
+
export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
7484
|
+
(typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
|
|
7485
|
+
|
|
6845
7486
|
/**
|
|
6846
7487
|
*
|
|
6847
7488
|
* @export
|
|
@@ -7593,7 +8234,7 @@ export interface MeOutputDTO {
|
|
|
7593
8234
|
* @type {UserOutputWithRolesDTO}
|
|
7594
8235
|
* @memberof MeOutputDTO
|
|
7595
8236
|
*/
|
|
7596
|
-
user
|
|
8237
|
+
user?: UserOutputWithRolesDTO;
|
|
7597
8238
|
/**
|
|
7598
8239
|
*
|
|
7599
8240
|
* @type {Array<DomainOutputDTO>}
|
|
@@ -7605,7 +8246,7 @@ export interface MeOutputDTO {
|
|
|
7605
8246
|
* @type {string}
|
|
7606
8247
|
* @memberof MeOutputDTO
|
|
7607
8248
|
*/
|
|
7608
|
-
domain
|
|
8249
|
+
domain?: string;
|
|
7609
8250
|
/**
|
|
7610
8251
|
*
|
|
7611
8252
|
* @type {PlayerOutputWithRolesDTO}
|
|
@@ -7767,7 +8408,7 @@ export interface MetadataOutput {
|
|
|
7767
8408
|
* @type {ErrorOutput}
|
|
7768
8409
|
* @memberof MetadataOutput
|
|
7769
8410
|
*/
|
|
7770
|
-
error
|
|
8411
|
+
error?: ErrorOutput;
|
|
7771
8412
|
/**
|
|
7772
8413
|
*
|
|
7773
8414
|
* @type {number}
|
|
@@ -9886,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
9886
10527
|
* @type {Array<string>}
|
|
9887
10528
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
9888
10529
|
*/
|
|
9889
|
-
playerIds
|
|
10530
|
+
playerIds?: Array<string>;
|
|
10531
|
+
/**
|
|
10532
|
+
*
|
|
10533
|
+
* @type {PlayerSearchInputDTO}
|
|
10534
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10535
|
+
*/
|
|
10536
|
+
query?: PlayerSearchInputDTO;
|
|
9890
10537
|
/**
|
|
9891
10538
|
*
|
|
9892
10539
|
* @type {string}
|
|
@@ -9899,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
9899
10546
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
9900
10547
|
*/
|
|
9901
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>;
|
|
9902
10561
|
}
|
|
9903
10562
|
/**
|
|
9904
10563
|
*
|
|
@@ -9974,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
|
|
|
9974
10633
|
* @type {Array<string>}
|
|
9975
10634
|
* @memberof PlayerBulkDeleteInputDTO
|
|
9976
10635
|
*/
|
|
9977
|
-
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>;
|
|
9978
10655
|
}
|
|
9979
10656
|
/**
|
|
9980
10657
|
*
|
|
@@ -10546,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
|
|
|
10546
11223
|
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
10547
11224
|
*/
|
|
10548
11225
|
playtimeSeconds?: number;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {number}
|
|
11229
|
+
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11230
|
+
*/
|
|
11231
|
+
currency?: number;
|
|
10549
11232
|
/**
|
|
10550
11233
|
*
|
|
10551
11234
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -11473,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11473
12156
|
* @memberof PlayerSearchInputAllowedFilters
|
|
11474
12157
|
*/
|
|
11475
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>;
|
|
11476
12177
|
/**
|
|
11477
12178
|
*
|
|
11478
12179
|
* @type {Array<string>}
|
|
@@ -11480,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11480
12181
|
*/
|
|
11481
12182
|
id?: Array<string>;
|
|
11482
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
|
+
|
|
11483
12193
|
/**
|
|
11484
12194
|
*
|
|
11485
12195
|
* @export
|
|
@@ -11731,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
|
|
|
11731
12441
|
* @type {Array<string>}
|
|
11732
12442
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
11733
12443
|
*/
|
|
11734
|
-
playerIds
|
|
12444
|
+
playerIds?: Array<string>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @type {PlayerOnGameServerSearchInputDTO}
|
|
12448
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12449
|
+
*/
|
|
12450
|
+
query?: PlayerOnGameServerSearchInputDTO;
|
|
11735
12451
|
/**
|
|
11736
12452
|
*
|
|
11737
12453
|
* @type {number}
|
|
11738
12454
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
11739
12455
|
*/
|
|
11740
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>;
|
|
11741
12469
|
}
|
|
11742
12470
|
/**
|
|
11743
12471
|
*
|
|
@@ -12035,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
12035
12763
|
|
|
12036
12764
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
12037
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
|
+
}
|
|
12038
12779
|
/**
|
|
12039
12780
|
*
|
|
12040
12781
|
* @export
|
|
@@ -12046,7 +12787,7 @@ export interface RedirectQs {
|
|
|
12046
12787
|
* @type {string}
|
|
12047
12788
|
* @memberof RedirectQs
|
|
12048
12789
|
*/
|
|
12049
|
-
redirect
|
|
12790
|
+
redirect?: string;
|
|
12050
12791
|
}
|
|
12051
12792
|
/**
|
|
12052
12793
|
*
|
|
@@ -12847,7 +13588,7 @@ export interface RoleUpdateInputDTO {
|
|
|
12847
13588
|
* @type {string}
|
|
12848
13589
|
* @memberof RoleUpdateInputDTO
|
|
12849
13590
|
*/
|
|
12850
|
-
linkedDiscordRoleId?: string;
|
|
13591
|
+
linkedDiscordRoleId?: string | null;
|
|
12851
13592
|
}
|
|
12852
13593
|
/**
|
|
12853
13594
|
*
|
|
@@ -13588,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
13588
14329
|
* @type {Array<string>}
|
|
13589
14330
|
* @memberof ShopCategoryBulkAssignDTO
|
|
13590
14331
|
*/
|
|
13591
|
-
listingIds
|
|
14332
|
+
listingIds?: Array<string>;
|
|
14333
|
+
/**
|
|
14334
|
+
*
|
|
14335
|
+
* @type {ShopListingSearchInputDTO}
|
|
14336
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14337
|
+
*/
|
|
14338
|
+
query?: ShopListingSearchInputDTO;
|
|
13592
14339
|
/**
|
|
13593
14340
|
*
|
|
13594
14341
|
* @type {Array<string>}
|
|
@@ -13601,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
13601
14348
|
* @memberof ShopCategoryBulkAssignDTO
|
|
13602
14349
|
*/
|
|
13603
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>;
|
|
13604
14363
|
}
|
|
13605
14364
|
/**
|
|
13606
14365
|
*
|
|
@@ -14053,6 +14812,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
14053
14812
|
*/
|
|
14054
14813
|
daysSinceLastSale?: number;
|
|
14055
14814
|
}
|
|
14815
|
+
/**
|
|
14816
|
+
*
|
|
14817
|
+
* @export
|
|
14818
|
+
* @interface ShopImportFailureDTO
|
|
14819
|
+
*/
|
|
14820
|
+
export interface ShopImportFailureDTO {
|
|
14821
|
+
/**
|
|
14822
|
+
*
|
|
14823
|
+
* @type {string}
|
|
14824
|
+
* @memberof ShopImportFailureDTO
|
|
14825
|
+
*/
|
|
14826
|
+
name: string;
|
|
14827
|
+
/**
|
|
14828
|
+
*
|
|
14829
|
+
* @type {string}
|
|
14830
|
+
* @memberof ShopImportFailureDTO
|
|
14831
|
+
*/
|
|
14832
|
+
reason: string;
|
|
14833
|
+
}
|
|
14056
14834
|
/**
|
|
14057
14835
|
*
|
|
14058
14836
|
* @export
|
|
@@ -14078,6 +14856,44 @@ export interface ShopImportOptions {
|
|
|
14078
14856
|
*/
|
|
14079
14857
|
gameServerId: string;
|
|
14080
14858
|
}
|
|
14859
|
+
/**
|
|
14860
|
+
*
|
|
14861
|
+
* @export
|
|
14862
|
+
* @interface ShopImportResultDTO
|
|
14863
|
+
*/
|
|
14864
|
+
export interface ShopImportResultDTO {
|
|
14865
|
+
/**
|
|
14866
|
+
*
|
|
14867
|
+
* @type {number}
|
|
14868
|
+
* @memberof ShopImportResultDTO
|
|
14869
|
+
*/
|
|
14870
|
+
imported: number;
|
|
14871
|
+
/**
|
|
14872
|
+
*
|
|
14873
|
+
* @type {Array<ShopImportFailureDTO>}
|
|
14874
|
+
* @memberof ShopImportResultDTO
|
|
14875
|
+
*/
|
|
14876
|
+
failed: Array<ShopImportFailureDTO>;
|
|
14877
|
+
}
|
|
14878
|
+
/**
|
|
14879
|
+
*
|
|
14880
|
+
* @export
|
|
14881
|
+
* @interface ShopImportResultDTOAPI
|
|
14882
|
+
*/
|
|
14883
|
+
export interface ShopImportResultDTOAPI {
|
|
14884
|
+
/**
|
|
14885
|
+
*
|
|
14886
|
+
* @type {ShopImportResultDTO}
|
|
14887
|
+
* @memberof ShopImportResultDTOAPI
|
|
14888
|
+
*/
|
|
14889
|
+
data: ShopImportResultDTO;
|
|
14890
|
+
/**
|
|
14891
|
+
*
|
|
14892
|
+
* @type {MetadataOutput}
|
|
14893
|
+
* @memberof ShopImportResultDTOAPI
|
|
14894
|
+
*/
|
|
14895
|
+
meta: MetadataOutput;
|
|
14896
|
+
}
|
|
14081
14897
|
/**
|
|
14082
14898
|
*
|
|
14083
14899
|
* @export
|
|
@@ -14158,6 +14974,60 @@ export interface ShopKpisDTOAPI {
|
|
|
14158
14974
|
*/
|
|
14159
14975
|
meta: MetadataOutput;
|
|
14160
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
|
+
}
|
|
14161
15031
|
/**
|
|
14162
15032
|
*
|
|
14163
15033
|
* @export
|
|
@@ -15220,6 +16090,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
15220
16090
|
*/
|
|
15221
16091
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15222
16092
|
}
|
|
16093
|
+
/**
|
|
16094
|
+
*
|
|
16095
|
+
* @export
|
|
16096
|
+
* @interface StorefrontConfigCreateDTO
|
|
16097
|
+
*/
|
|
16098
|
+
export interface StorefrontConfigCreateDTO {
|
|
16099
|
+
/**
|
|
16100
|
+
*
|
|
16101
|
+
* @type {string}
|
|
16102
|
+
* @memberof StorefrontConfigCreateDTO
|
|
16103
|
+
*/
|
|
16104
|
+
gameServerId: string;
|
|
16105
|
+
/**
|
|
16106
|
+
*
|
|
16107
|
+
* @type {string}
|
|
16108
|
+
* @memberof StorefrontConfigCreateDTO
|
|
16109
|
+
*/
|
|
16110
|
+
templateId: string;
|
|
16111
|
+
/**
|
|
16112
|
+
*
|
|
16113
|
+
* @type {object}
|
|
16114
|
+
* @memberof StorefrontConfigCreateDTO
|
|
16115
|
+
*/
|
|
16116
|
+
values?: object;
|
|
16117
|
+
}
|
|
16118
|
+
/**
|
|
16119
|
+
*
|
|
16120
|
+
* @export
|
|
16121
|
+
* @interface StorefrontConfigOutputDTO
|
|
16122
|
+
*/
|
|
16123
|
+
export interface StorefrontConfigOutputDTO {
|
|
16124
|
+
/**
|
|
16125
|
+
*
|
|
16126
|
+
* @type {string}
|
|
16127
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16128
|
+
*/
|
|
16129
|
+
gameServerId: string;
|
|
16130
|
+
/**
|
|
16131
|
+
*
|
|
16132
|
+
* @type {string}
|
|
16133
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16134
|
+
*/
|
|
16135
|
+
templateId: string;
|
|
16136
|
+
/**
|
|
16137
|
+
*
|
|
16138
|
+
* @type {object}
|
|
16139
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16140
|
+
*/
|
|
16141
|
+
values: object;
|
|
16142
|
+
/**
|
|
16143
|
+
*
|
|
16144
|
+
* @type {string}
|
|
16145
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16146
|
+
*/
|
|
16147
|
+
id: string;
|
|
16148
|
+
/**
|
|
16149
|
+
*
|
|
16150
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16151
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16152
|
+
*/
|
|
16153
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16154
|
+
/**
|
|
16155
|
+
*
|
|
16156
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16157
|
+
* @memberof StorefrontConfigOutputDTO
|
|
16158
|
+
*/
|
|
16159
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16160
|
+
}
|
|
16161
|
+
/**
|
|
16162
|
+
*
|
|
16163
|
+
* @export
|
|
16164
|
+
* @interface StorefrontConfigUpdateDTO
|
|
16165
|
+
*/
|
|
16166
|
+
export interface StorefrontConfigUpdateDTO {
|
|
16167
|
+
/**
|
|
16168
|
+
*
|
|
16169
|
+
* @type {string}
|
|
16170
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
16171
|
+
*/
|
|
16172
|
+
templateId?: string;
|
|
16173
|
+
/**
|
|
16174
|
+
*
|
|
16175
|
+
* @type {object}
|
|
16176
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
16177
|
+
*/
|
|
16178
|
+
values?: object;
|
|
16179
|
+
}
|
|
16180
|
+
/**
|
|
16181
|
+
*
|
|
16182
|
+
* @export
|
|
16183
|
+
* @interface StorefrontConfigUpsertBody
|
|
16184
|
+
*/
|
|
16185
|
+
export interface StorefrontConfigUpsertBody {
|
|
16186
|
+
/**
|
|
16187
|
+
*
|
|
16188
|
+
* @type {string}
|
|
16189
|
+
* @memberof StorefrontConfigUpsertBody
|
|
16190
|
+
*/
|
|
16191
|
+
templateId: string;
|
|
16192
|
+
/**
|
|
16193
|
+
*
|
|
16194
|
+
* @type {object}
|
|
16195
|
+
* @memberof StorefrontConfigUpsertBody
|
|
16196
|
+
*/
|
|
16197
|
+
values: object;
|
|
16198
|
+
}
|
|
16199
|
+
/**
|
|
16200
|
+
*
|
|
16201
|
+
* @export
|
|
16202
|
+
* @interface StorefrontConfigUpsertDTO
|
|
16203
|
+
*/
|
|
16204
|
+
export interface StorefrontConfigUpsertDTO {
|
|
16205
|
+
/**
|
|
16206
|
+
*
|
|
16207
|
+
* @type {string}
|
|
16208
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
16209
|
+
*/
|
|
16210
|
+
templateId: string;
|
|
16211
|
+
/**
|
|
16212
|
+
*
|
|
16213
|
+
* @type {object}
|
|
16214
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
16215
|
+
*/
|
|
16216
|
+
values: object;
|
|
16217
|
+
}
|
|
16218
|
+
/**
|
|
16219
|
+
*
|
|
16220
|
+
* @export
|
|
16221
|
+
* @interface StorefrontTemplateDTO
|
|
16222
|
+
*/
|
|
16223
|
+
export interface StorefrontTemplateDTO {
|
|
16224
|
+
/**
|
|
16225
|
+
*
|
|
16226
|
+
* @type {string}
|
|
16227
|
+
* @memberof StorefrontTemplateDTO
|
|
16228
|
+
*/
|
|
16229
|
+
id: string;
|
|
16230
|
+
/**
|
|
16231
|
+
*
|
|
16232
|
+
* @type {string}
|
|
16233
|
+
* @memberof StorefrontTemplateDTO
|
|
16234
|
+
*/
|
|
16235
|
+
name: string;
|
|
16236
|
+
/**
|
|
16237
|
+
*
|
|
16238
|
+
* @type {object}
|
|
16239
|
+
* @memberof StorefrontTemplateDTO
|
|
16240
|
+
*/
|
|
16241
|
+
schema: object;
|
|
16242
|
+
}
|
|
16243
|
+
/**
|
|
16244
|
+
*
|
|
16245
|
+
* @export
|
|
16246
|
+
* @interface StorefrontTemplateOutputArrayDTOAPI
|
|
16247
|
+
*/
|
|
16248
|
+
export interface StorefrontTemplateOutputArrayDTOAPI {
|
|
16249
|
+
/**
|
|
16250
|
+
*
|
|
16251
|
+
* @type {Array<StorefrontTemplateDTO>}
|
|
16252
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
16253
|
+
*/
|
|
16254
|
+
data: Array<StorefrontTemplateDTO>;
|
|
16255
|
+
/**
|
|
16256
|
+
*
|
|
16257
|
+
* @type {MetadataOutput}
|
|
16258
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
16259
|
+
*/
|
|
16260
|
+
meta: MetadataOutput;
|
|
16261
|
+
}
|
|
15223
16262
|
/**
|
|
15224
16263
|
*
|
|
15225
16264
|
* @export
|
|
@@ -15541,6 +16580,49 @@ export interface TakaroEventHookExecuted {
|
|
|
15541
16580
|
*/
|
|
15542
16581
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15543
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
|
+
}
|
|
15544
16626
|
/**
|
|
15545
16627
|
*
|
|
15546
16628
|
* @export
|
|
@@ -16830,6 +17912,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16830
17912
|
*/
|
|
16831
17913
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16832
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
|
+
}
|
|
16833
17947
|
/**
|
|
16834
17948
|
*
|
|
16835
17949
|
* @export
|
|
@@ -16867,6 +17981,37 @@ export interface UserCreateInputDTO {
|
|
|
16867
17981
|
*/
|
|
16868
17982
|
isDashboardUser?: boolean;
|
|
16869
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
|
+
}
|
|
16870
18015
|
/**
|
|
16871
18016
|
*
|
|
16872
18017
|
* @export
|
|
@@ -16970,13 +18115,25 @@ export interface UserOutputDTO {
|
|
|
16970
18115
|
* @type {PlayerOutputWithRolesDTO}
|
|
16971
18116
|
* @memberof UserOutputDTO
|
|
16972
18117
|
*/
|
|
16973
|
-
player
|
|
18118
|
+
player?: PlayerOutputWithRolesDTO;
|
|
16974
18119
|
/**
|
|
16975
18120
|
*
|
|
16976
18121
|
* @type {boolean}
|
|
16977
18122
|
* @memberof UserOutputDTO
|
|
16978
18123
|
*/
|
|
16979
18124
|
isDashboardUser: boolean;
|
|
18125
|
+
/**
|
|
18126
|
+
*
|
|
18127
|
+
* @type {boolean}
|
|
18128
|
+
* @memberof UserOutputDTO
|
|
18129
|
+
*/
|
|
18130
|
+
isSupportAccount: boolean;
|
|
18131
|
+
/**
|
|
18132
|
+
*
|
|
18133
|
+
* @type {string}
|
|
18134
|
+
* @memberof UserOutputDTO
|
|
18135
|
+
*/
|
|
18136
|
+
inviteLinkId?: string;
|
|
16980
18137
|
/**
|
|
16981
18138
|
*
|
|
16982
18139
|
* @type {string}
|
|
@@ -17086,13 +18243,44 @@ export interface UserOutputWithRolesDTO {
|
|
|
17086
18243
|
* @type {PlayerOutputWithRolesDTO}
|
|
17087
18244
|
* @memberof UserOutputWithRolesDTO
|
|
17088
18245
|
*/
|
|
17089
|
-
player
|
|
18246
|
+
player?: PlayerOutputWithRolesDTO;
|
|
17090
18247
|
/**
|
|
17091
18248
|
*
|
|
17092
18249
|
* @type {boolean}
|
|
17093
18250
|
* @memberof UserOutputWithRolesDTO
|
|
17094
18251
|
*/
|
|
17095
18252
|
isDashboardUser: boolean;
|
|
18253
|
+
/**
|
|
18254
|
+
*
|
|
18255
|
+
* @type {boolean}
|
|
18256
|
+
* @memberof UserOutputWithRolesDTO
|
|
18257
|
+
*/
|
|
18258
|
+
isSupportAccount: boolean;
|
|
18259
|
+
/**
|
|
18260
|
+
*
|
|
18261
|
+
* @type {string}
|
|
18262
|
+
* @memberof UserOutputWithRolesDTO
|
|
18263
|
+
*/
|
|
18264
|
+
inviteLinkId?: string;
|
|
18265
|
+
}
|
|
18266
|
+
/**
|
|
18267
|
+
*
|
|
18268
|
+
* @export
|
|
18269
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
18270
|
+
*/
|
|
18271
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
18272
|
+
/**
|
|
18273
|
+
*
|
|
18274
|
+
* @type {UserOutputWithRolesDTO}
|
|
18275
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
18276
|
+
*/
|
|
18277
|
+
data: UserOutputWithRolesDTO;
|
|
18278
|
+
/**
|
|
18279
|
+
*
|
|
18280
|
+
* @type {MetadataOutput}
|
|
18281
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
18282
|
+
*/
|
|
18283
|
+
meta: MetadataOutput;
|
|
17096
18284
|
}
|
|
17097
18285
|
/**
|
|
17098
18286
|
*
|
|
@@ -17308,6 +18496,31 @@ export interface UserUpdateDTO {
|
|
|
17308
18496
|
*/
|
|
17309
18497
|
isDashboardUser?: boolean;
|
|
17310
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
|
+
}
|
|
17311
18524
|
/**
|
|
17312
18525
|
*
|
|
17313
18526
|
* @export
|
|
@@ -17517,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
|
|
|
17517
18730
|
* @memberof VariableSearchInputAllowedSearch
|
|
17518
18731
|
*/
|
|
17519
18732
|
key?: Array<string>;
|
|
18733
|
+
/**
|
|
18734
|
+
*
|
|
18735
|
+
* @type {Array<string>}
|
|
18736
|
+
* @memberof VariableSearchInputAllowedSearch
|
|
18737
|
+
*/
|
|
18738
|
+
value?: Array<string>;
|
|
17520
18739
|
}
|
|
17521
18740
|
/**
|
|
17522
18741
|
*
|
|
@@ -18299,7 +19518,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18299
19518
|
};
|
|
18300
19519
|
},
|
|
18301
19520
|
/**
|
|
18302
|
-
* 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`
|
|
18303
19522
|
* @summary Get module health scores
|
|
18304
19523
|
* @param {string} [startDate]
|
|
18305
19524
|
* @param {string} [endDate]
|
|
@@ -19486,7 +20705,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19486
20705
|
},
|
|
19487
20706
|
/**
|
|
19488
20707
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
19489
|
-
* @summary Get top modules by
|
|
20708
|
+
* @summary Get top modules by execution volume
|
|
19490
20709
|
* @param {string} [startDate]
|
|
19491
20710
|
* @param {string} [endDate]
|
|
19492
20711
|
* @param {string} [gameServerId]
|
|
@@ -20020,7 +21239,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20020
21239
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
20021
21240
|
},
|
|
20022
21241
|
/**
|
|
20023
|
-
* 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`
|
|
20024
21243
|
* @summary Get module health scores
|
|
20025
21244
|
* @param {string} [startDate]
|
|
20026
21245
|
* @param {string} [endDate]
|
|
@@ -20772,7 +21991,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20772
21991
|
},
|
|
20773
21992
|
/**
|
|
20774
21993
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20775
|
-
* @summary Get top modules by
|
|
21994
|
+
* @summary Get top modules by execution volume
|
|
20776
21995
|
* @param {string} [startDate]
|
|
20777
21996
|
* @param {string} [endDate]
|
|
20778
21997
|
* @param {string} [gameServerId]
|
|
@@ -21094,7 +22313,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21094
22313
|
.then((request) => request(axios, basePath));
|
|
21095
22314
|
},
|
|
21096
22315
|
/**
|
|
21097
|
-
* 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`
|
|
21098
22317
|
* @summary Get module health scores
|
|
21099
22318
|
* @param {string} [startDate]
|
|
21100
22319
|
* @param {string} [endDate]
|
|
@@ -21538,7 +22757,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21538
22757
|
},
|
|
21539
22758
|
/**
|
|
21540
22759
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21541
|
-
* @summary Get top modules by
|
|
22760
|
+
* @summary Get top modules by execution volume
|
|
21542
22761
|
* @param {string} [startDate]
|
|
21543
22762
|
* @param {string} [endDate]
|
|
21544
22763
|
* @param {string} [gameServerId]
|
|
@@ -21857,7 +23076,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21857
23076
|
}
|
|
21858
23077
|
|
|
21859
23078
|
/**
|
|
21860
|
-
* 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`
|
|
21861
23080
|
* @summary Get module health scores
|
|
21862
23081
|
* @param {string} [startDate]
|
|
21863
23082
|
* @param {string} [endDate]
|
|
@@ -22343,7 +23562,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22343
23562
|
|
|
22344
23563
|
/**
|
|
22345
23564
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22346
|
-
* @summary Get top modules by
|
|
23565
|
+
* @summary Get top modules by execution volume
|
|
22347
23566
|
* @param {string} [startDate]
|
|
22348
23567
|
* @param {string} [endDate]
|
|
22349
23568
|
* @param {string} [gameServerId]
|
|
@@ -25590,6 +26809,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
25590
26809
|
options: localVarRequestOptions,
|
|
25591
26810
|
};
|
|
25592
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
|
+
},
|
|
25593
26858
|
/**
|
|
25594
26859
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25595
26860
|
* @summary Get one
|
|
@@ -25862,6 +27127,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
25862
27127
|
configuration,
|
|
25863
27128
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
25864
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
|
+
},
|
|
25865
27159
|
/**
|
|
25866
27160
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25867
27161
|
* @summary Get one
|
|
@@ -26036,6 +27330,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
26036
27330
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
26037
27331
|
.then((request) => request(axios, basePath));
|
|
26038
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
|
+
},
|
|
26039
27350
|
/**
|
|
26040
27351
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26041
27352
|
* @summary Get one
|
|
@@ -26141,6 +27452,25 @@ export class DomainApi extends BaseAPI {
|
|
|
26141
27452
|
.then((request) => request(this.axios, this.basePath));
|
|
26142
27453
|
}
|
|
26143
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
|
+
|
|
26144
27474
|
/**
|
|
26145
27475
|
* <br> OperationId: `DomainControllerGetOne`
|
|
26146
27476
|
* @summary Get one
|
|
@@ -27101,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
27101
28431
|
/**
|
|
27102
28432
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27103
28433
|
* @summary Auth discord
|
|
27104
|
-
* @param {string} redirect
|
|
28434
|
+
* @param {string} [redirect]
|
|
27105
28435
|
* @param {*} [options] Override http request option.
|
|
27106
28436
|
* @throws {RequiredError}
|
|
27107
28437
|
*/
|
|
27108
28438
|
externalAuthControllerAuthDiscord: async (
|
|
27109
|
-
redirect
|
|
28439
|
+
redirect?: string,
|
|
27110
28440
|
options: RawAxiosRequestConfig = {},
|
|
27111
28441
|
): Promise<RequestArgs> => {
|
|
27112
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
27113
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
27114
28442
|
const localVarPath = `/auth/discord`;
|
|
27115
28443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27116
28444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -27177,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
27177
28505
|
/**
|
|
27178
28506
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27179
28507
|
* @summary Auth discord
|
|
27180
|
-
* @param {string} redirect
|
|
28508
|
+
* @param {string} [redirect]
|
|
27181
28509
|
* @param {*} [options] Override http request option.
|
|
27182
28510
|
* @throws {RequiredError}
|
|
27183
28511
|
*/
|
|
27184
28512
|
async externalAuthControllerAuthDiscord(
|
|
27185
|
-
redirect
|
|
28513
|
+
redirect?: string,
|
|
27186
28514
|
options?: RawAxiosRequestConfig,
|
|
27187
28515
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
27188
28516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -27236,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
27236
28564
|
/**
|
|
27237
28565
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27238
28566
|
* @summary Auth discord
|
|
27239
|
-
* @param {string} redirect
|
|
28567
|
+
* @param {string} [redirect]
|
|
27240
28568
|
* @param {*} [options] Override http request option.
|
|
27241
28569
|
* @throws {RequiredError}
|
|
27242
28570
|
*/
|
|
27243
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28571
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
27244
28572
|
return localVarFp
|
|
27245
28573
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
27246
28574
|
.then((request) => request(axios, basePath));
|
|
@@ -27267,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
27267
28595
|
/**
|
|
27268
28596
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
27269
28597
|
* @summary Auth discord
|
|
27270
|
-
* @param {string} redirect
|
|
28598
|
+
* @param {string} [redirect]
|
|
27271
28599
|
* @param {*} [options] Override http request option.
|
|
27272
28600
|
* @throws {RequiredError}
|
|
27273
28601
|
* @memberof ExternalAuthApi
|
|
27274
28602
|
*/
|
|
27275
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28603
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
27276
28604
|
return ExternalAuthApiFp(this.configuration)
|
|
27277
28605
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
27278
28606
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -30974,6 +32302,488 @@ export class HookApi extends BaseAPI {
|
|
|
30974
32302
|
}
|
|
30975
32303
|
}
|
|
30976
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
|
+
|
|
30977
32787
|
/**
|
|
30978
32788
|
* ItemApi - axios parameter creator
|
|
30979
32789
|
* @export
|
|
@@ -31212,6 +33022,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
31212
33022
|
options: localVarRequestOptions,
|
|
31213
33023
|
};
|
|
31214
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
|
+
},
|
|
31215
33053
|
/**
|
|
31216
33054
|
* <br> OperationId: `MetaGetMetrics`
|
|
31217
33055
|
* @summary Get metrics
|
|
@@ -31383,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
31383
33221
|
configuration,
|
|
31384
33222
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
31385
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
|
+
},
|
|
31386
33245
|
/**
|
|
31387
33246
|
* <br> OperationId: `MetaGetMetrics`
|
|
31388
33247
|
* @summary Get metrics
|
|
@@ -31507,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
31507
33366
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
31508
33367
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
31509
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
|
+
},
|
|
31510
33378
|
/**
|
|
31511
33379
|
* <br> OperationId: `MetaGetMetrics`
|
|
31512
33380
|
* @summary Get metrics
|
|
@@ -31575,6 +33443,19 @@ export class MetaApi extends BaseAPI {
|
|
|
31575
33443
|
.then((request) => request(this.axios, this.basePath));
|
|
31576
33444
|
}
|
|
31577
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
|
+
|
|
31578
33459
|
/**
|
|
31579
33460
|
* <br> OperationId: `MetaGetMetrics`
|
|
31580
33461
|
* @summary Get metrics
|
|
@@ -33240,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33240
35121
|
};
|
|
33241
35122
|
},
|
|
33242
35123
|
/**
|
|
33243
|
-
* 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`
|
|
33244
35125
|
* @summary Bulk assign role
|
|
33245
35126
|
* @param {string} roleId
|
|
33246
35127
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33285,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
33285
35166
|
};
|
|
33286
35167
|
},
|
|
33287
35168
|
/**
|
|
33288
|
-
* 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`
|
|
33289
35170
|
* @summary Bulk delete
|
|
33290
35171
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33291
35172
|
* @param {*} [options] Override http request option.
|
|
@@ -33669,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
33669
35550
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
33670
35551
|
},
|
|
33671
35552
|
/**
|
|
33672
|
-
* 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`
|
|
33673
35554
|
* @summary Bulk assign role
|
|
33674
35555
|
* @param {string} roleId
|
|
33675
35556
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33698,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
33698
35579
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
33699
35580
|
},
|
|
33700
35581
|
/**
|
|
33701
|
-
* 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`
|
|
33702
35583
|
* @summary Bulk delete
|
|
33703
35584
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33704
35585
|
* @param {*} [options] Override http request option.
|
|
@@ -33933,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
33933
35814
|
.then((request) => request(axios, basePath));
|
|
33934
35815
|
},
|
|
33935
35816
|
/**
|
|
33936
|
-
* 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`
|
|
33937
35818
|
* @summary Bulk assign role
|
|
33938
35819
|
* @param {string} roleId
|
|
33939
35820
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33950,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
33950
35831
|
.then((request) => request(axios, basePath));
|
|
33951
35832
|
},
|
|
33952
35833
|
/**
|
|
33953
|
-
* 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`
|
|
33954
35835
|
* @summary Bulk delete
|
|
33955
35836
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33956
35837
|
* @param {*} [options] Override http request option.
|
|
@@ -34130,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34130
36011
|
}
|
|
34131
36012
|
|
|
34132
36013
|
/**
|
|
34133
|
-
* 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`
|
|
34134
36015
|
* @summary Bulk assign role
|
|
34135
36016
|
* @param {string} roleId
|
|
34136
36017
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34149,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
34149
36030
|
}
|
|
34150
36031
|
|
|
34151
36032
|
/**
|
|
34152
|
-
* 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`
|
|
34153
36034
|
* @summary Bulk delete
|
|
34154
36035
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34155
36036
|
* @param {*} [options] Override http request option.
|
|
@@ -34300,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
34300
36181
|
};
|
|
34301
36182
|
},
|
|
34302
36183
|
/**
|
|
34303
|
-
* 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`
|
|
34304
36185
|
* @summary Bulk add currency
|
|
34305
36186
|
* @param {string} gameServerId
|
|
34306
36187
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -34719,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
34719
36600
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34720
36601
|
},
|
|
34721
36602
|
/**
|
|
34722
|
-
* 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`
|
|
34723
36604
|
* @summary Bulk add currency
|
|
34724
36605
|
* @param {string} gameServerId
|
|
34725
36606
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35006,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
35006
36887
|
.then((request) => request(axios, basePath));
|
|
35007
36888
|
},
|
|
35008
36889
|
/**
|
|
35009
|
-
* 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`
|
|
35010
36891
|
* @summary Bulk add currency
|
|
35011
36892
|
* @param {string} gameServerId
|
|
35012
36893
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -35190,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
35190
37071
|
}
|
|
35191
37072
|
|
|
35192
37073
|
/**
|
|
35193
|
-
* 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`
|
|
35194
37075
|
* @summary Bulk add currency
|
|
35195
37076
|
* @param {string} gameServerId
|
|
35196
37077
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -37530,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
37530
39411
|
export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37531
39412
|
return {
|
|
37532
39413
|
/**
|
|
37533
|
-
* 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`
|
|
37534
39415
|
* @summary Bulk assign
|
|
37535
39416
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
37536
39417
|
* @param {*} [options] Override http request option.
|
|
@@ -37854,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
|
|
|
37854
39735
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
37855
39736
|
return {
|
|
37856
39737
|
/**
|
|
37857
|
-
* 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`
|
|
37858
39739
|
* @summary Bulk assign
|
|
37859
39740
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
37860
39741
|
* @param {*} [options] Override http request option.
|
|
@@ -38075,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
38075
39956
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
38076
39957
|
return {
|
|
38077
39958
|
/**
|
|
38078
|
-
* 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`
|
|
38079
39960
|
* @summary Bulk assign
|
|
38080
39961
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38081
39962
|
* @param {*} [options] Override http request option.
|
|
@@ -38204,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
38204
40085
|
*/
|
|
38205
40086
|
export class ShopCategoryApi extends BaseAPI {
|
|
38206
40087
|
/**
|
|
38207
|
-
* 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`
|
|
38208
40089
|
* @summary Bulk assign
|
|
38209
40090
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
38210
40091
|
* @param {*} [options] Override http request option.
|
|
@@ -38339,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
38339
40220
|
*/
|
|
38340
40221
|
export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38341
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
|
+
},
|
|
38342
40264
|
/**
|
|
38343
40265
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38344
40266
|
* @summary Create
|
|
@@ -38564,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
38564
40486
|
export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
38565
40487
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
38566
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
|
+
},
|
|
38567
40515
|
/**
|
|
38568
40516
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38569
40517
|
* @summary Create
|
|
@@ -38644,7 +40592,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38644
40592
|
*/
|
|
38645
40593
|
async shopListingControllerImportListings(
|
|
38646
40594
|
options?: RawAxiosRequestConfig,
|
|
38647
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
40595
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38648
40596
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38649
40597
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38650
40598
|
const localVarOperationServerBasePath =
|
|
@@ -38726,6 +40674,21 @@ export const ShopListingApiFactory = function (
|
|
|
38726
40674
|
) {
|
|
38727
40675
|
const localVarFp = ShopListingApiFp(configuration);
|
|
38728
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
|
+
},
|
|
38729
40692
|
/**
|
|
38730
40693
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38731
40694
|
* @summary Create
|
|
@@ -38767,7 +40730,7 @@ export const ShopListingApiFactory = function (
|
|
|
38767
40730
|
* @param {*} [options] Override http request option.
|
|
38768
40731
|
* @throws {RequiredError}
|
|
38769
40732
|
*/
|
|
38770
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
40733
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38771
40734
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38772
40735
|
},
|
|
38773
40736
|
/**
|
|
@@ -38812,6 +40775,20 @@ export const ShopListingApiFactory = function (
|
|
|
38812
40775
|
* @extends {BaseAPI}
|
|
38813
40776
|
*/
|
|
38814
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
|
+
|
|
38815
40792
|
/**
|
|
38816
40793
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38817
40794
|
* @summary Create
|
|
@@ -39047,17 +41024,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39047
41024
|
};
|
|
39048
41025
|
},
|
|
39049
41026
|
/**
|
|
39050
|
-
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
39051
|
-
* @summary Search orders
|
|
39052
|
-
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
41027
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
41028
|
+
* @summary Search orders
|
|
41029
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
41030
|
+
* @param {*} [options] Override http request option.
|
|
41031
|
+
* @throws {RequiredError}
|
|
41032
|
+
*/
|
|
41033
|
+
shopOrderControllerSearch: async (
|
|
41034
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
41035
|
+
options: RawAxiosRequestConfig = {},
|
|
41036
|
+
): Promise<RequestArgs> => {
|
|
41037
|
+
const localVarPath = `/shop/order/search`;
|
|
41038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41039
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41040
|
+
let baseOptions;
|
|
41041
|
+
if (configuration) {
|
|
41042
|
+
baseOptions = configuration.baseOptions;
|
|
41043
|
+
}
|
|
41044
|
+
|
|
41045
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
41046
|
+
const localVarHeaderParameter = {} as any;
|
|
41047
|
+
const localVarQueryParameter = {} as any;
|
|
41048
|
+
|
|
41049
|
+
// authentication domainAuth required
|
|
41050
|
+
|
|
41051
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41052
|
+
|
|
41053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41055
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41056
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41057
|
+
shopOrderSearchInputDTO,
|
|
41058
|
+
localVarRequestOptions,
|
|
41059
|
+
configuration,
|
|
41060
|
+
);
|
|
41061
|
+
|
|
41062
|
+
return {
|
|
41063
|
+
url: toPathString(localVarUrlObj),
|
|
41064
|
+
options: localVarRequestOptions,
|
|
41065
|
+
};
|
|
41066
|
+
},
|
|
41067
|
+
};
|
|
41068
|
+
};
|
|
41069
|
+
|
|
41070
|
+
/**
|
|
41071
|
+
* ShopOrderApi - functional programming interface
|
|
41072
|
+
* @export
|
|
41073
|
+
*/
|
|
41074
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
41075
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
41076
|
+
return {
|
|
41077
|
+
/**
|
|
41078
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
41079
|
+
* @summary Cancel
|
|
41080
|
+
* @param {string} id
|
|
41081
|
+
* @param {*} [options] Override http request option.
|
|
41082
|
+
* @throws {RequiredError}
|
|
41083
|
+
*/
|
|
41084
|
+
async shopOrderControllerCancel(
|
|
41085
|
+
id: string,
|
|
41086
|
+
options?: RawAxiosRequestConfig,
|
|
41087
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
41088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
41089
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41090
|
+
const localVarOperationServerBasePath =
|
|
41091
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
41092
|
+
return (axios, basePath) =>
|
|
41093
|
+
createRequestFunction(
|
|
41094
|
+
localVarAxiosArgs,
|
|
41095
|
+
globalAxios,
|
|
41096
|
+
BASE_PATH,
|
|
41097
|
+
configuration,
|
|
41098
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41099
|
+
},
|
|
41100
|
+
/**
|
|
41101
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
41102
|
+
* @summary Claim an order
|
|
41103
|
+
* @param {string} id
|
|
41104
|
+
* @param {*} [options] Override http request option.
|
|
41105
|
+
* @throws {RequiredError}
|
|
41106
|
+
*/
|
|
41107
|
+
async shopOrderControllerClaim(
|
|
41108
|
+
id: string,
|
|
41109
|
+
options?: RawAxiosRequestConfig,
|
|
41110
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
41111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
41112
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41113
|
+
const localVarOperationServerBasePath =
|
|
41114
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
41115
|
+
return (axios, basePath) =>
|
|
41116
|
+
createRequestFunction(
|
|
41117
|
+
localVarAxiosArgs,
|
|
41118
|
+
globalAxios,
|
|
41119
|
+
BASE_PATH,
|
|
41120
|
+
configuration,
|
|
41121
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41122
|
+
},
|
|
41123
|
+
/**
|
|
41124
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
41125
|
+
* @summary Create
|
|
41126
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41127
|
+
* @param {*} [options] Override http request option.
|
|
41128
|
+
* @throws {RequiredError}
|
|
41129
|
+
*/
|
|
41130
|
+
async shopOrderControllerCreate(
|
|
41131
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
41132
|
+
options?: RawAxiosRequestConfig,
|
|
41133
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
41134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
41135
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41136
|
+
const localVarOperationServerBasePath =
|
|
41137
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
41138
|
+
return (axios, basePath) =>
|
|
41139
|
+
createRequestFunction(
|
|
41140
|
+
localVarAxiosArgs,
|
|
41141
|
+
globalAxios,
|
|
41142
|
+
BASE_PATH,
|
|
41143
|
+
configuration,
|
|
41144
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41145
|
+
},
|
|
41146
|
+
/**
|
|
41147
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
41148
|
+
* @summary Get order by ID
|
|
41149
|
+
* @param {string} id
|
|
41150
|
+
* @param {*} [options] Override http request option.
|
|
41151
|
+
* @throws {RequiredError}
|
|
41152
|
+
*/
|
|
41153
|
+
async shopOrderControllerGetOne(
|
|
41154
|
+
id: string,
|
|
41155
|
+
options?: RawAxiosRequestConfig,
|
|
41156
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
41157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
41158
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41159
|
+
const localVarOperationServerBasePath =
|
|
41160
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
41161
|
+
return (axios, basePath) =>
|
|
41162
|
+
createRequestFunction(
|
|
41163
|
+
localVarAxiosArgs,
|
|
41164
|
+
globalAxios,
|
|
41165
|
+
BASE_PATH,
|
|
41166
|
+
configuration,
|
|
41167
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41168
|
+
},
|
|
41169
|
+
/**
|
|
41170
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
41171
|
+
* @summary Search orders
|
|
41172
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
41173
|
+
* @param {*} [options] Override http request option.
|
|
41174
|
+
* @throws {RequiredError}
|
|
41175
|
+
*/
|
|
41176
|
+
async shopOrderControllerSearch(
|
|
41177
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
41178
|
+
options?: RawAxiosRequestConfig,
|
|
41179
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
41180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
41181
|
+
shopOrderSearchInputDTO,
|
|
41182
|
+
options,
|
|
41183
|
+
);
|
|
41184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41185
|
+
const localVarOperationServerBasePath =
|
|
41186
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
41187
|
+
return (axios, basePath) =>
|
|
41188
|
+
createRequestFunction(
|
|
41189
|
+
localVarAxiosArgs,
|
|
41190
|
+
globalAxios,
|
|
41191
|
+
BASE_PATH,
|
|
41192
|
+
configuration,
|
|
41193
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41194
|
+
},
|
|
41195
|
+
};
|
|
41196
|
+
};
|
|
41197
|
+
|
|
41198
|
+
/**
|
|
41199
|
+
* ShopOrderApi - factory interface
|
|
41200
|
+
* @export
|
|
41201
|
+
*/
|
|
41202
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
41203
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
41204
|
+
return {
|
|
41205
|
+
/**
|
|
41206
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
41207
|
+
* @summary Cancel
|
|
41208
|
+
* @param {string} id
|
|
41209
|
+
* @param {*} [options] Override http request option.
|
|
41210
|
+
* @throws {RequiredError}
|
|
41211
|
+
*/
|
|
41212
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
41213
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
41214
|
+
},
|
|
41215
|
+
/**
|
|
41216
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
41217
|
+
* @summary Claim an order
|
|
41218
|
+
* @param {string} id
|
|
41219
|
+
* @param {*} [options] Override http request option.
|
|
41220
|
+
* @throws {RequiredError}
|
|
41221
|
+
*/
|
|
41222
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
41223
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
41224
|
+
},
|
|
41225
|
+
/**
|
|
41226
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
41227
|
+
* @summary Create
|
|
41228
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41229
|
+
* @param {*} [options] Override http request option.
|
|
41230
|
+
* @throws {RequiredError}
|
|
41231
|
+
*/
|
|
41232
|
+
shopOrderControllerCreate(
|
|
41233
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
41234
|
+
options?: RawAxiosRequestConfig,
|
|
41235
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
41236
|
+
return localVarFp
|
|
41237
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
41238
|
+
.then((request) => request(axios, basePath));
|
|
41239
|
+
},
|
|
41240
|
+
/**
|
|
41241
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
41242
|
+
* @summary Get order by ID
|
|
41243
|
+
* @param {string} id
|
|
41244
|
+
* @param {*} [options] Override http request option.
|
|
41245
|
+
* @throws {RequiredError}
|
|
41246
|
+
*/
|
|
41247
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
41248
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
41249
|
+
},
|
|
41250
|
+
/**
|
|
41251
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
41252
|
+
* @summary Search orders
|
|
41253
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
41254
|
+
* @param {*} [options] Override http request option.
|
|
41255
|
+
* @throws {RequiredError}
|
|
41256
|
+
*/
|
|
41257
|
+
shopOrderControllerSearch(
|
|
41258
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
41259
|
+
options?: RawAxiosRequestConfig,
|
|
41260
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
41261
|
+
return localVarFp
|
|
41262
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
41263
|
+
.then((request) => request(axios, basePath));
|
|
41264
|
+
},
|
|
41265
|
+
};
|
|
41266
|
+
};
|
|
41267
|
+
|
|
41268
|
+
/**
|
|
41269
|
+
* ShopOrderApi - object-oriented interface
|
|
41270
|
+
* @export
|
|
41271
|
+
* @class ShopOrderApi
|
|
41272
|
+
* @extends {BaseAPI}
|
|
41273
|
+
*/
|
|
41274
|
+
export class ShopOrderApi extends BaseAPI {
|
|
41275
|
+
/**
|
|
41276
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
41277
|
+
* @summary Cancel
|
|
41278
|
+
* @param {string} id
|
|
41279
|
+
* @param {*} [options] Override http request option.
|
|
41280
|
+
* @throws {RequiredError}
|
|
41281
|
+
* @memberof ShopOrderApi
|
|
41282
|
+
*/
|
|
41283
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
41284
|
+
return ShopOrderApiFp(this.configuration)
|
|
41285
|
+
.shopOrderControllerCancel(id, options)
|
|
41286
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41287
|
+
}
|
|
41288
|
+
|
|
41289
|
+
/**
|
|
41290
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
41291
|
+
* @summary Claim an order
|
|
41292
|
+
* @param {string} id
|
|
41293
|
+
* @param {*} [options] Override http request option.
|
|
41294
|
+
* @throws {RequiredError}
|
|
41295
|
+
* @memberof ShopOrderApi
|
|
41296
|
+
*/
|
|
41297
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
41298
|
+
return ShopOrderApiFp(this.configuration)
|
|
41299
|
+
.shopOrderControllerClaim(id, options)
|
|
41300
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41301
|
+
}
|
|
41302
|
+
|
|
41303
|
+
/**
|
|
41304
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
41305
|
+
* @summary Create
|
|
41306
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41307
|
+
* @param {*} [options] Override http request option.
|
|
41308
|
+
* @throws {RequiredError}
|
|
41309
|
+
* @memberof ShopOrderApi
|
|
41310
|
+
*/
|
|
41311
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
41312
|
+
return ShopOrderApiFp(this.configuration)
|
|
41313
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
41314
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41315
|
+
}
|
|
41316
|
+
|
|
41317
|
+
/**
|
|
41318
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
41319
|
+
* @summary Get order by ID
|
|
41320
|
+
* @param {string} id
|
|
41321
|
+
* @param {*} [options] Override http request option.
|
|
41322
|
+
* @throws {RequiredError}
|
|
41323
|
+
* @memberof ShopOrderApi
|
|
41324
|
+
*/
|
|
41325
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
41326
|
+
return ShopOrderApiFp(this.configuration)
|
|
41327
|
+
.shopOrderControllerGetOne(id, options)
|
|
41328
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41329
|
+
}
|
|
41330
|
+
|
|
41331
|
+
/**
|
|
41332
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
41333
|
+
* @summary Search orders
|
|
41334
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
41335
|
+
* @param {*} [options] Override http request option.
|
|
41336
|
+
* @throws {RequiredError}
|
|
41337
|
+
* @memberof ShopOrderApi
|
|
41338
|
+
*/
|
|
41339
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
41340
|
+
return ShopOrderApiFp(this.configuration)
|
|
41341
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
41342
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41343
|
+
}
|
|
41344
|
+
}
|
|
41345
|
+
|
|
41346
|
+
/**
|
|
41347
|
+
* StorefrontConfigApi - axios parameter creator
|
|
41348
|
+
* @export
|
|
41349
|
+
*/
|
|
41350
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41351
|
+
return {
|
|
41352
|
+
/**
|
|
41353
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41354
|
+
* @summary Get effective config
|
|
41355
|
+
* @param {string} gameServerId
|
|
41356
|
+
* @param {*} [options] Override http request option.
|
|
41357
|
+
* @throws {RequiredError}
|
|
41358
|
+
*/
|
|
41359
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
41360
|
+
gameServerId: string,
|
|
41361
|
+
options: RawAxiosRequestConfig = {},
|
|
41362
|
+
): Promise<RequestArgs> => {
|
|
41363
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
41364
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
41365
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
41366
|
+
`{${'gameServerId'}}`,
|
|
41367
|
+
encodeURIComponent(String(gameServerId)),
|
|
41368
|
+
);
|
|
41369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41371
|
+
let baseOptions;
|
|
41372
|
+
if (configuration) {
|
|
41373
|
+
baseOptions = configuration.baseOptions;
|
|
41374
|
+
}
|
|
41375
|
+
|
|
41376
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41377
|
+
const localVarHeaderParameter = {} as any;
|
|
41378
|
+
const localVarQueryParameter = {} as any;
|
|
41379
|
+
|
|
41380
|
+
// authentication domainAuth required
|
|
41381
|
+
|
|
41382
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41383
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41384
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41385
|
+
|
|
41386
|
+
return {
|
|
41387
|
+
url: toPathString(localVarUrlObj),
|
|
41388
|
+
options: localVarRequestOptions,
|
|
41389
|
+
};
|
|
41390
|
+
},
|
|
41391
|
+
/**
|
|
41392
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41393
|
+
* @summary List templates
|
|
41394
|
+
* @param {*} [options] Override http request option.
|
|
41395
|
+
* @throws {RequiredError}
|
|
41396
|
+
*/
|
|
41397
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41398
|
+
const localVarPath = `/storefront/templates`;
|
|
41399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41401
|
+
let baseOptions;
|
|
41402
|
+
if (configuration) {
|
|
41403
|
+
baseOptions = configuration.baseOptions;
|
|
41404
|
+
}
|
|
41405
|
+
|
|
41406
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41407
|
+
const localVarHeaderParameter = {} as any;
|
|
41408
|
+
const localVarQueryParameter = {} as any;
|
|
41409
|
+
|
|
41410
|
+
// authentication domainAuth required
|
|
41411
|
+
|
|
41412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41414
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41415
|
+
|
|
41416
|
+
return {
|
|
41417
|
+
url: toPathString(localVarUrlObj),
|
|
41418
|
+
options: localVarRequestOptions,
|
|
41419
|
+
};
|
|
41420
|
+
},
|
|
41421
|
+
/**
|
|
41422
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
41423
|
+
* @summary Set config
|
|
41424
|
+
* @param {string} gameServerId
|
|
41425
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39053
41426
|
* @param {*} [options] Override http request option.
|
|
39054
41427
|
* @throws {RequiredError}
|
|
39055
41428
|
*/
|
|
39056
|
-
|
|
39057
|
-
|
|
41429
|
+
storefrontConfigControllerSetConfig: async (
|
|
41430
|
+
gameServerId: string,
|
|
41431
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39058
41432
|
options: RawAxiosRequestConfig = {},
|
|
39059
41433
|
): Promise<RequestArgs> => {
|
|
39060
|
-
|
|
41434
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
41435
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
41436
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
41437
|
+
`{${'gameServerId'}}`,
|
|
41438
|
+
encodeURIComponent(String(gameServerId)),
|
|
41439
|
+
);
|
|
39061
41440
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39062
41441
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39063
41442
|
let baseOptions;
|
|
@@ -39065,7 +41444,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39065
41444
|
baseOptions = configuration.baseOptions;
|
|
39066
41445
|
}
|
|
39067
41446
|
|
|
39068
|
-
const localVarRequestOptions = { method: '
|
|
41447
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
39069
41448
|
const localVarHeaderParameter = {} as any;
|
|
39070
41449
|
const localVarQueryParameter = {} as any;
|
|
39071
41450
|
|
|
@@ -39077,7 +41456,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39077
41456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39078
41457
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
39079
41458
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39080
|
-
|
|
41459
|
+
storefrontConfigUpsertBody,
|
|
39081
41460
|
localVarRequestOptions,
|
|
39082
41461
|
configuration,
|
|
39083
41462
|
);
|
|
@@ -39091,73 +41470,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39091
41470
|
};
|
|
39092
41471
|
|
|
39093
41472
|
/**
|
|
39094
|
-
*
|
|
41473
|
+
* StorefrontConfigApi - functional programming interface
|
|
39095
41474
|
* @export
|
|
39096
41475
|
*/
|
|
39097
|
-
export const
|
|
39098
|
-
const localVarAxiosParamCreator =
|
|
41476
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
41477
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
39099
41478
|
return {
|
|
39100
41479
|
/**
|
|
39101
|
-
*
|
|
39102
|
-
* @summary
|
|
39103
|
-
* @param {string}
|
|
39104
|
-
* @param {*} [options] Override http request option.
|
|
39105
|
-
* @throws {RequiredError}
|
|
39106
|
-
*/
|
|
39107
|
-
async shopOrderControllerCancel(
|
|
39108
|
-
id: string,
|
|
39109
|
-
options?: RawAxiosRequestConfig,
|
|
39110
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
39112
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39113
|
-
const localVarOperationServerBasePath =
|
|
39114
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
39115
|
-
return (axios, basePath) =>
|
|
39116
|
-
createRequestFunction(
|
|
39117
|
-
localVarAxiosArgs,
|
|
39118
|
-
globalAxios,
|
|
39119
|
-
BASE_PATH,
|
|
39120
|
-
configuration,
|
|
39121
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
39122
|
-
},
|
|
39123
|
-
/**
|
|
39124
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39125
|
-
* @summary Claim an order
|
|
39126
|
-
* @param {string} id
|
|
39127
|
-
* @param {*} [options] Override http request option.
|
|
39128
|
-
* @throws {RequiredError}
|
|
39129
|
-
*/
|
|
39130
|
-
async shopOrderControllerClaim(
|
|
39131
|
-
id: string,
|
|
39132
|
-
options?: RawAxiosRequestConfig,
|
|
39133
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
39135
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39136
|
-
const localVarOperationServerBasePath =
|
|
39137
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
39138
|
-
return (axios, basePath) =>
|
|
39139
|
-
createRequestFunction(
|
|
39140
|
-
localVarAxiosArgs,
|
|
39141
|
-
globalAxios,
|
|
39142
|
-
BASE_PATH,
|
|
39143
|
-
configuration,
|
|
39144
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
39145
|
-
},
|
|
39146
|
-
/**
|
|
39147
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
39148
|
-
* @summary Create
|
|
39149
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41480
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41481
|
+
* @summary Get effective config
|
|
41482
|
+
* @param {string} gameServerId
|
|
39150
41483
|
* @param {*} [options] Override http request option.
|
|
39151
41484
|
* @throws {RequiredError}
|
|
39152
41485
|
*/
|
|
39153
|
-
async
|
|
39154
|
-
|
|
41486
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
41487
|
+
gameServerId: string,
|
|
39155
41488
|
options?: RawAxiosRequestConfig,
|
|
39156
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39157
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41489
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41490
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
41491
|
+
gameServerId,
|
|
41492
|
+
options,
|
|
41493
|
+
);
|
|
39158
41494
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39159
41495
|
const localVarOperationServerBasePath =
|
|
39160
|
-
operationServerMap['
|
|
41496
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
41497
|
+
localVarOperationServerIndex
|
|
41498
|
+
]?.url;
|
|
39161
41499
|
return (axios, basePath) =>
|
|
39162
41500
|
createRequestFunction(
|
|
39163
41501
|
localVarAxiosArgs,
|
|
@@ -39167,20 +41505,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39167
41505
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39168
41506
|
},
|
|
39169
41507
|
/**
|
|
39170
|
-
*
|
|
39171
|
-
* @summary
|
|
39172
|
-
* @param {string} id
|
|
41508
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41509
|
+
* @summary List templates
|
|
39173
41510
|
* @param {*} [options] Override http request option.
|
|
39174
41511
|
* @throws {RequiredError}
|
|
39175
41512
|
*/
|
|
39176
|
-
async
|
|
39177
|
-
id: string,
|
|
41513
|
+
async storefrontConfigControllerListTemplates(
|
|
39178
41514
|
options?: RawAxiosRequestConfig,
|
|
39179
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39180
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41515
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
41516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
39181
41517
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39182
41518
|
const localVarOperationServerBasePath =
|
|
39183
|
-
operationServerMap['
|
|
41519
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
41520
|
+
localVarOperationServerIndex
|
|
41521
|
+
]?.url;
|
|
39184
41522
|
return (axios, basePath) =>
|
|
39185
41523
|
createRequestFunction(
|
|
39186
41524
|
localVarAxiosArgs,
|
|
@@ -39190,23 +41528,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39190
41528
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39191
41529
|
},
|
|
39192
41530
|
/**
|
|
39193
|
-
*
|
|
39194
|
-
* @summary
|
|
39195
|
-
* @param {
|
|
41531
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
41532
|
+
* @summary Set config
|
|
41533
|
+
* @param {string} gameServerId
|
|
41534
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39196
41535
|
* @param {*} [options] Override http request option.
|
|
39197
41536
|
* @throws {RequiredError}
|
|
39198
41537
|
*/
|
|
39199
|
-
async
|
|
39200
|
-
|
|
41538
|
+
async storefrontConfigControllerSetConfig(
|
|
41539
|
+
gameServerId: string,
|
|
41540
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39201
41541
|
options?: RawAxiosRequestConfig,
|
|
39202
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39203
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
39204
|
-
|
|
41542
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
41544
|
+
gameServerId,
|
|
41545
|
+
storefrontConfigUpsertBody,
|
|
39205
41546
|
options,
|
|
39206
41547
|
);
|
|
39207
41548
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39208
41549
|
const localVarOperationServerBasePath =
|
|
39209
|
-
operationServerMap['
|
|
41550
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
41551
|
+
?.url;
|
|
39210
41552
|
return (axios, basePath) =>
|
|
39211
41553
|
createRequestFunction(
|
|
39212
41554
|
localVarAxiosArgs,
|
|
@@ -39219,149 +41561,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39219
41561
|
};
|
|
39220
41562
|
|
|
39221
41563
|
/**
|
|
39222
|
-
*
|
|
41564
|
+
* StorefrontConfigApi - factory interface
|
|
39223
41565
|
* @export
|
|
39224
41566
|
*/
|
|
39225
|
-
export const
|
|
39226
|
-
|
|
41567
|
+
export const StorefrontConfigApiFactory = function (
|
|
41568
|
+
configuration?: Configuration,
|
|
41569
|
+
basePath?: string,
|
|
41570
|
+
axios?: AxiosInstance,
|
|
41571
|
+
) {
|
|
41572
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
39227
41573
|
return {
|
|
39228
41574
|
/**
|
|
39229
|
-
*
|
|
39230
|
-
* @summary
|
|
39231
|
-
* @param {string}
|
|
39232
|
-
* @param {*} [options] Override http request option.
|
|
39233
|
-
* @throws {RequiredError}
|
|
39234
|
-
*/
|
|
39235
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
39236
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
39237
|
-
},
|
|
39238
|
-
/**
|
|
39239
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39240
|
-
* @summary Claim an order
|
|
39241
|
-
* @param {string} id
|
|
39242
|
-
* @param {*} [options] Override http request option.
|
|
39243
|
-
* @throws {RequiredError}
|
|
39244
|
-
*/
|
|
39245
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
39246
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
39247
|
-
},
|
|
39248
|
-
/**
|
|
39249
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
39250
|
-
* @summary Create
|
|
39251
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41575
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41576
|
+
* @summary Get effective config
|
|
41577
|
+
* @param {string} gameServerId
|
|
39252
41578
|
* @param {*} [options] Override http request option.
|
|
39253
41579
|
* @throws {RequiredError}
|
|
39254
41580
|
*/
|
|
39255
|
-
|
|
39256
|
-
|
|
41581
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
41582
|
+
gameServerId: string,
|
|
39257
41583
|
options?: RawAxiosRequestConfig,
|
|
39258
|
-
): AxiosPromise<
|
|
41584
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
39259
41585
|
return localVarFp
|
|
39260
|
-
.
|
|
41586
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
39261
41587
|
.then((request) => request(axios, basePath));
|
|
39262
41588
|
},
|
|
39263
41589
|
/**
|
|
39264
|
-
*
|
|
39265
|
-
* @summary
|
|
39266
|
-
* @param {string} id
|
|
41590
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41591
|
+
* @summary List templates
|
|
39267
41592
|
* @param {*} [options] Override http request option.
|
|
39268
41593
|
* @throws {RequiredError}
|
|
39269
41594
|
*/
|
|
39270
|
-
|
|
39271
|
-
|
|
41595
|
+
storefrontConfigControllerListTemplates(
|
|
41596
|
+
options?: RawAxiosRequestConfig,
|
|
41597
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
41598
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
39272
41599
|
},
|
|
39273
41600
|
/**
|
|
39274
|
-
*
|
|
39275
|
-
* @summary
|
|
39276
|
-
* @param {
|
|
41601
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
41602
|
+
* @summary Set config
|
|
41603
|
+
* @param {string} gameServerId
|
|
41604
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39277
41605
|
* @param {*} [options] Override http request option.
|
|
39278
41606
|
* @throws {RequiredError}
|
|
39279
41607
|
*/
|
|
39280
|
-
|
|
39281
|
-
|
|
41608
|
+
storefrontConfigControllerSetConfig(
|
|
41609
|
+
gameServerId: string,
|
|
41610
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39282
41611
|
options?: RawAxiosRequestConfig,
|
|
39283
|
-
): AxiosPromise<
|
|
41612
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
39284
41613
|
return localVarFp
|
|
39285
|
-
.
|
|
41614
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
39286
41615
|
.then((request) => request(axios, basePath));
|
|
39287
41616
|
},
|
|
39288
41617
|
};
|
|
39289
41618
|
};
|
|
39290
41619
|
|
|
39291
41620
|
/**
|
|
39292
|
-
*
|
|
41621
|
+
* StorefrontConfigApi - object-oriented interface
|
|
39293
41622
|
* @export
|
|
39294
|
-
* @class
|
|
41623
|
+
* @class StorefrontConfigApi
|
|
39295
41624
|
* @extends {BaseAPI}
|
|
39296
41625
|
*/
|
|
39297
|
-
export class
|
|
39298
|
-
/**
|
|
39299
|
-
* <br> OperationId: `ShopOrderControllerCancel`
|
|
39300
|
-
* @summary Cancel
|
|
39301
|
-
* @param {string} id
|
|
39302
|
-
* @param {*} [options] Override http request option.
|
|
39303
|
-
* @throws {RequiredError}
|
|
39304
|
-
* @memberof ShopOrderApi
|
|
39305
|
-
*/
|
|
39306
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
39307
|
-
return ShopOrderApiFp(this.configuration)
|
|
39308
|
-
.shopOrderControllerCancel(id, options)
|
|
39309
|
-
.then((request) => request(this.axios, this.basePath));
|
|
39310
|
-
}
|
|
39311
|
-
|
|
39312
|
-
/**
|
|
39313
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39314
|
-
* @summary Claim an order
|
|
39315
|
-
* @param {string} id
|
|
39316
|
-
* @param {*} [options] Override http request option.
|
|
39317
|
-
* @throws {RequiredError}
|
|
39318
|
-
* @memberof ShopOrderApi
|
|
39319
|
-
*/
|
|
39320
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
39321
|
-
return ShopOrderApiFp(this.configuration)
|
|
39322
|
-
.shopOrderControllerClaim(id, options)
|
|
39323
|
-
.then((request) => request(this.axios, this.basePath));
|
|
39324
|
-
}
|
|
39325
|
-
|
|
41626
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
39326
41627
|
/**
|
|
39327
|
-
*
|
|
39328
|
-
* @summary
|
|
39329
|
-
* @param {
|
|
41628
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41629
|
+
* @summary Get effective config
|
|
41630
|
+
* @param {string} gameServerId
|
|
39330
41631
|
* @param {*} [options] Override http request option.
|
|
39331
41632
|
* @throws {RequiredError}
|
|
39332
|
-
* @memberof
|
|
41633
|
+
* @memberof StorefrontConfigApi
|
|
39333
41634
|
*/
|
|
39334
|
-
public
|
|
39335
|
-
return
|
|
39336
|
-
.
|
|
41635
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
41636
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41637
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
39337
41638
|
.then((request) => request(this.axios, this.basePath));
|
|
39338
41639
|
}
|
|
39339
41640
|
|
|
39340
41641
|
/**
|
|
39341
|
-
*
|
|
39342
|
-
* @summary
|
|
39343
|
-
* @param {string} id
|
|
41642
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41643
|
+
* @summary List templates
|
|
39344
41644
|
* @param {*} [options] Override http request option.
|
|
39345
41645
|
* @throws {RequiredError}
|
|
39346
|
-
* @memberof
|
|
41646
|
+
* @memberof StorefrontConfigApi
|
|
39347
41647
|
*/
|
|
39348
|
-
public
|
|
39349
|
-
return
|
|
39350
|
-
.
|
|
41648
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
41649
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41650
|
+
.storefrontConfigControllerListTemplates(options)
|
|
39351
41651
|
.then((request) => request(this.axios, this.basePath));
|
|
39352
41652
|
}
|
|
39353
41653
|
|
|
39354
41654
|
/**
|
|
39355
|
-
*
|
|
39356
|
-
* @summary
|
|
39357
|
-
* @param {
|
|
41655
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
41656
|
+
* @summary Set config
|
|
41657
|
+
* @param {string} gameServerId
|
|
41658
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39358
41659
|
* @param {*} [options] Override http request option.
|
|
39359
41660
|
* @throws {RequiredError}
|
|
39360
|
-
* @memberof
|
|
41661
|
+
* @memberof StorefrontConfigApi
|
|
39361
41662
|
*/
|
|
39362
|
-
public
|
|
39363
|
-
|
|
39364
|
-
|
|
41663
|
+
public storefrontConfigControllerSetConfig(
|
|
41664
|
+
gameServerId: string,
|
|
41665
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41666
|
+
options?: RawAxiosRequestConfig,
|
|
41667
|
+
) {
|
|
41668
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41669
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
39365
41670
|
.then((request) => request(this.axios, this.basePath));
|
|
39366
41671
|
}
|
|
39367
41672
|
}
|
|
@@ -39949,6 +42254,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39949
42254
|
options: localVarRequestOptions,
|
|
39950
42255
|
};
|
|
39951
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
|
+
},
|
|
39952
42287
|
/**
|
|
39953
42288
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39954
42289
|
* @summary Create
|
|
@@ -40054,6 +42389,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
40054
42389
|
* @summary Invite
|
|
40055
42390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40056
42391
|
* @param {*} [options] Override http request option.
|
|
42392
|
+
* @deprecated
|
|
40057
42393
|
* @throws {RequiredError}
|
|
40058
42394
|
*/
|
|
40059
42395
|
userControllerInvite: async (
|
|
@@ -40455,6 +42791,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
40455
42791
|
configuration,
|
|
40456
42792
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
40457
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
|
+
},
|
|
40458
42815
|
/**
|
|
40459
42816
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40460
42817
|
* @summary Create
|
|
@@ -40527,6 +42884,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
40527
42884
|
* @summary Invite
|
|
40528
42885
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40529
42886
|
* @param {*} [options] Override http request option.
|
|
42887
|
+
* @deprecated
|
|
40530
42888
|
* @throws {RequiredError}
|
|
40531
42889
|
*/
|
|
40532
42890
|
async userControllerInvite(
|
|
@@ -40784,6 +43142,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40784
43142
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40785
43143
|
.then((request) => request(axios, basePath));
|
|
40786
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
|
+
},
|
|
40787
43154
|
/**
|
|
40788
43155
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40789
43156
|
* @summary Create
|
|
@@ -40821,6 +43188,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40821
43188
|
* @summary Invite
|
|
40822
43189
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40823
43190
|
* @param {*} [options] Override http request option.
|
|
43191
|
+
* @deprecated
|
|
40824
43192
|
* @throws {RequiredError}
|
|
40825
43193
|
*/
|
|
40826
43194
|
userControllerInvite(
|
|
@@ -40962,6 +43330,19 @@ export class UserApi extends BaseAPI {
|
|
|
40962
43330
|
.then((request) => request(this.axios, this.basePath));
|
|
40963
43331
|
}
|
|
40964
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
|
+
|
|
40965
43346
|
/**
|
|
40966
43347
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40967
43348
|
* @summary Create
|
|
@@ -41008,6 +43389,7 @@ export class UserApi extends BaseAPI {
|
|
|
41008
43389
|
* @summary Invite
|
|
41009
43390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
41010
43391
|
* @param {*} [options] Override http request option.
|
|
43392
|
+
* @deprecated
|
|
41011
43393
|
* @throws {RequiredError}
|
|
41012
43394
|
* @memberof UserApi
|
|
41013
43395
|
*/
|
|
@@ -41153,6 +43535,47 @@ export class UserApi extends BaseAPI {
|
|
|
41153
43535
|
*/
|
|
41154
43536
|
export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41155
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
|
+
},
|
|
41156
43579
|
/**
|
|
41157
43580
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
41158
43581
|
* @summary Create
|
|
@@ -41348,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41348
43771
|
export const VariableApiFp = function (configuration?: Configuration) {
|
|
41349
43772
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
41350
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
|
+
},
|
|
41351
43800
|
/**
|
|
41352
43801
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
41353
43802
|
* @summary Create
|
|
@@ -41482,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
|
|
|
41482
43931
|
export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
41483
43932
|
const localVarFp = VariableApiFp(configuration);
|
|
41484
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
|
+
},
|
|
41485
43949
|
/**
|
|
41486
43950
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
41487
43951
|
* @summary Create
|
|
@@ -41559,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
|
|
|
41559
44023
|
* @extends {BaseAPI}
|
|
41560
44024
|
*/
|
|
41561
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
|
+
|
|
41562
44043
|
/**
|
|
41563
44044
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
41564
44045
|
* @summary Create
|