@takaro/apiclient 0.0.0-dev.9f02005 → 0.0.0-dev.a1e25ba
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 +2148 -150
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1962 -601
- 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 +3329 -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
|
|
@@ -7444,6 +8085,32 @@ export interface LoginOutputDTOAPI {
|
|
|
7444
8085
|
*/
|
|
7445
8086
|
meta: MetadataOutput;
|
|
7446
8087
|
}
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @export
|
|
8091
|
+
* @interface LoginQueryParams
|
|
8092
|
+
*/
|
|
8093
|
+
export interface LoginQueryParams {
|
|
8094
|
+
/**
|
|
8095
|
+
*
|
|
8096
|
+
* @type {string}
|
|
8097
|
+
* @memberof LoginQueryParams
|
|
8098
|
+
*/
|
|
8099
|
+
redirect?: string;
|
|
8100
|
+
}
|
|
8101
|
+
/**
|
|
8102
|
+
*
|
|
8103
|
+
* @export
|
|
8104
|
+
* @interface LogoutQueryParams
|
|
8105
|
+
*/
|
|
8106
|
+
export interface LogoutQueryParams {
|
|
8107
|
+
/**
|
|
8108
|
+
*
|
|
8109
|
+
* @type {string}
|
|
8110
|
+
* @memberof LogoutQueryParams
|
|
8111
|
+
*/
|
|
8112
|
+
redirect?: string;
|
|
8113
|
+
}
|
|
7447
8114
|
/**
|
|
7448
8115
|
*
|
|
7449
8116
|
* @export
|
|
@@ -7567,7 +8234,7 @@ export interface MeOutputDTO {
|
|
|
7567
8234
|
* @type {UserOutputWithRolesDTO}
|
|
7568
8235
|
* @memberof MeOutputDTO
|
|
7569
8236
|
*/
|
|
7570
|
-
user
|
|
8237
|
+
user?: UserOutputWithRolesDTO;
|
|
7571
8238
|
/**
|
|
7572
8239
|
*
|
|
7573
8240
|
* @type {Array<DomainOutputDTO>}
|
|
@@ -7579,7 +8246,7 @@ export interface MeOutputDTO {
|
|
|
7579
8246
|
* @type {string}
|
|
7580
8247
|
* @memberof MeOutputDTO
|
|
7581
8248
|
*/
|
|
7582
|
-
domain
|
|
8249
|
+
domain?: string;
|
|
7583
8250
|
/**
|
|
7584
8251
|
*
|
|
7585
8252
|
* @type {PlayerOutputWithRolesDTO}
|
|
@@ -7741,7 +8408,7 @@ export interface MetadataOutput {
|
|
|
7741
8408
|
* @type {ErrorOutput}
|
|
7742
8409
|
* @memberof MetadataOutput
|
|
7743
8410
|
*/
|
|
7744
|
-
error
|
|
8411
|
+
error?: ErrorOutput;
|
|
7745
8412
|
/**
|
|
7746
8413
|
*
|
|
7747
8414
|
* @type {number}
|
|
@@ -8073,6 +8740,98 @@ export interface ModuleInstallParamId {
|
|
|
8073
8740
|
*/
|
|
8074
8741
|
gameServerId: string;
|
|
8075
8742
|
}
|
|
8743
|
+
/**
|
|
8744
|
+
*
|
|
8745
|
+
* @export
|
|
8746
|
+
* @interface ModuleInstallationKpisDTO
|
|
8747
|
+
*/
|
|
8748
|
+
export interface ModuleInstallationKpisDTO {
|
|
8749
|
+
/**
|
|
8750
|
+
*
|
|
8751
|
+
* @type {number}
|
|
8752
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8753
|
+
*/
|
|
8754
|
+
runs: number;
|
|
8755
|
+
/**
|
|
8756
|
+
*
|
|
8757
|
+
* @type {number}
|
|
8758
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8759
|
+
*/
|
|
8760
|
+
failures: number;
|
|
8761
|
+
/**
|
|
8762
|
+
*
|
|
8763
|
+
* @type {number}
|
|
8764
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8765
|
+
*/
|
|
8766
|
+
successRate: number;
|
|
8767
|
+
}
|
|
8768
|
+
/**
|
|
8769
|
+
*
|
|
8770
|
+
* @export
|
|
8771
|
+
* @interface ModuleInstallationKpisDTOAPI
|
|
8772
|
+
*/
|
|
8773
|
+
export interface ModuleInstallationKpisDTOAPI {
|
|
8774
|
+
/**
|
|
8775
|
+
*
|
|
8776
|
+
* @type {ModuleInstallationKpisDTO}
|
|
8777
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8778
|
+
*/
|
|
8779
|
+
data: ModuleInstallationKpisDTO;
|
|
8780
|
+
/**
|
|
8781
|
+
*
|
|
8782
|
+
* @type {MetadataOutput}
|
|
8783
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8784
|
+
*/
|
|
8785
|
+
meta: MetadataOutput;
|
|
8786
|
+
}
|
|
8787
|
+
/**
|
|
8788
|
+
*
|
|
8789
|
+
* @export
|
|
8790
|
+
* @interface ModuleInstallationKpisQueryDTO
|
|
8791
|
+
*/
|
|
8792
|
+
export interface ModuleInstallationKpisQueryDTO {
|
|
8793
|
+
/**
|
|
8794
|
+
*
|
|
8795
|
+
* @type {string}
|
|
8796
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8797
|
+
*/
|
|
8798
|
+
startDate?: string;
|
|
8799
|
+
/**
|
|
8800
|
+
*
|
|
8801
|
+
* @type {string}
|
|
8802
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8803
|
+
*/
|
|
8804
|
+
endDate?: string;
|
|
8805
|
+
/**
|
|
8806
|
+
*
|
|
8807
|
+
* @type {string}
|
|
8808
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8809
|
+
*/
|
|
8810
|
+
gameServerId: string;
|
|
8811
|
+
/**
|
|
8812
|
+
*
|
|
8813
|
+
* @type {string}
|
|
8814
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8815
|
+
*/
|
|
8816
|
+
moduleId: string;
|
|
8817
|
+
/**
|
|
8818
|
+
*
|
|
8819
|
+
* @type {string}
|
|
8820
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8821
|
+
*/
|
|
8822
|
+
period?: ModuleInstallationKpisQueryDTOPeriodEnum;
|
|
8823
|
+
}
|
|
8824
|
+
|
|
8825
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
8826
|
+
_24h: '24h',
|
|
8827
|
+
_7d: '7d',
|
|
8828
|
+
_30d: '30d',
|
|
8829
|
+
_90d: '90d',
|
|
8830
|
+
} as const;
|
|
8831
|
+
|
|
8832
|
+
export type ModuleInstallationKpisQueryDTOPeriodEnum =
|
|
8833
|
+
(typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
|
|
8834
|
+
|
|
8076
8835
|
/**
|
|
8077
8836
|
*
|
|
8078
8837
|
* @export
|
|
@@ -9768,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
9768
10527
|
* @type {Array<string>}
|
|
9769
10528
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
9770
10529
|
*/
|
|
9771
|
-
playerIds
|
|
10530
|
+
playerIds?: Array<string>;
|
|
10531
|
+
/**
|
|
10532
|
+
*
|
|
10533
|
+
* @type {PlayerSearchInputDTO}
|
|
10534
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10535
|
+
*/
|
|
10536
|
+
query?: PlayerSearchInputDTO;
|
|
9772
10537
|
/**
|
|
9773
10538
|
*
|
|
9774
10539
|
* @type {string}
|
|
@@ -9781,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
9781
10546
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
9782
10547
|
*/
|
|
9783
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>;
|
|
9784
10561
|
}
|
|
9785
10562
|
/**
|
|
9786
10563
|
*
|
|
@@ -9856,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
|
|
|
9856
10633
|
* @type {Array<string>}
|
|
9857
10634
|
* @memberof PlayerBulkDeleteInputDTO
|
|
9858
10635
|
*/
|
|
9859
|
-
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>;
|
|
9860
10655
|
}
|
|
9861
10656
|
/**
|
|
9862
10657
|
*
|
|
@@ -10428,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
|
|
|
10428
11223
|
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
10429
11224
|
*/
|
|
10430
11225
|
playtimeSeconds?: number;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {number}
|
|
11229
|
+
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11230
|
+
*/
|
|
11231
|
+
currency?: number;
|
|
10431
11232
|
/**
|
|
10432
11233
|
*
|
|
10433
11234
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -11355,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11355
12156
|
* @memberof PlayerSearchInputAllowedFilters
|
|
11356
12157
|
*/
|
|
11357
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>;
|
|
11358
12177
|
/**
|
|
11359
12178
|
*
|
|
11360
12179
|
* @type {Array<string>}
|
|
@@ -11362,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
11362
12181
|
*/
|
|
11363
12182
|
id?: Array<string>;
|
|
11364
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
|
+
|
|
11365
12193
|
/**
|
|
11366
12194
|
*
|
|
11367
12195
|
* @export
|
|
@@ -11613,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
|
|
|
11613
12441
|
* @type {Array<string>}
|
|
11614
12442
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
11615
12443
|
*/
|
|
11616
|
-
playerIds
|
|
12444
|
+
playerIds?: Array<string>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @type {PlayerOnGameServerSearchInputDTO}
|
|
12448
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12449
|
+
*/
|
|
12450
|
+
query?: PlayerOnGameServerSearchInputDTO;
|
|
11617
12451
|
/**
|
|
11618
12452
|
*
|
|
11619
12453
|
* @type {number}
|
|
11620
12454
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
11621
12455
|
*/
|
|
11622
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>;
|
|
11623
12469
|
}
|
|
11624
12470
|
/**
|
|
11625
12471
|
*
|
|
@@ -11917,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
11917
12763
|
|
|
11918
12764
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
11919
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
|
+
}
|
|
11920
12779
|
/**
|
|
11921
12780
|
*
|
|
11922
12781
|
* @export
|
|
@@ -11928,7 +12787,7 @@ export interface RedirectQs {
|
|
|
11928
12787
|
* @type {string}
|
|
11929
12788
|
* @memberof RedirectQs
|
|
11930
12789
|
*/
|
|
11931
|
-
redirect
|
|
12790
|
+
redirect?: string;
|
|
11932
12791
|
}
|
|
11933
12792
|
/**
|
|
11934
12793
|
*
|
|
@@ -12729,7 +13588,7 @@ export interface RoleUpdateInputDTO {
|
|
|
12729
13588
|
* @type {string}
|
|
12730
13589
|
* @memberof RoleUpdateInputDTO
|
|
12731
13590
|
*/
|
|
12732
|
-
linkedDiscordRoleId?: string;
|
|
13591
|
+
linkedDiscordRoleId?: string | null;
|
|
12733
13592
|
}
|
|
12734
13593
|
/**
|
|
12735
13594
|
*
|
|
@@ -13470,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
13470
14329
|
* @type {Array<string>}
|
|
13471
14330
|
* @memberof ShopCategoryBulkAssignDTO
|
|
13472
14331
|
*/
|
|
13473
|
-
listingIds
|
|
14332
|
+
listingIds?: Array<string>;
|
|
14333
|
+
/**
|
|
14334
|
+
*
|
|
14335
|
+
* @type {ShopListingSearchInputDTO}
|
|
14336
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14337
|
+
*/
|
|
14338
|
+
query?: ShopListingSearchInputDTO;
|
|
13474
14339
|
/**
|
|
13475
14340
|
*
|
|
13476
14341
|
* @type {Array<string>}
|
|
@@ -13483,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
13483
14348
|
* @memberof ShopCategoryBulkAssignDTO
|
|
13484
14349
|
*/
|
|
13485
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>;
|
|
13486
14363
|
}
|
|
13487
14364
|
/**
|
|
13488
14365
|
*
|
|
@@ -13935,6 +14812,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13935
14812
|
*/
|
|
13936
14813
|
daysSinceLastSale?: number;
|
|
13937
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
|
+
}
|
|
13938
14834
|
/**
|
|
13939
14835
|
*
|
|
13940
14836
|
* @export
|
|
@@ -13960,6 +14856,44 @@ export interface ShopImportOptions {
|
|
|
13960
14856
|
*/
|
|
13961
14857
|
gameServerId: string;
|
|
13962
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
|
+
}
|
|
13963
14897
|
/**
|
|
13964
14898
|
*
|
|
13965
14899
|
* @export
|
|
@@ -14040,6 +14974,60 @@ export interface ShopKpisDTOAPI {
|
|
|
14040
14974
|
*/
|
|
14041
14975
|
meta: MetadataOutput;
|
|
14042
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
|
+
}
|
|
14043
15031
|
/**
|
|
14044
15032
|
*
|
|
14045
15033
|
* @export
|
|
@@ -15102,6 +16090,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
15102
16090
|
*/
|
|
15103
16091
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15104
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
|
+
}
|
|
15105
16262
|
/**
|
|
15106
16263
|
*
|
|
15107
16264
|
* @export
|
|
@@ -15423,6 +16580,49 @@ export interface TakaroEventHookExecuted {
|
|
|
15423
16580
|
*/
|
|
15424
16581
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15425
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
|
+
}
|
|
15426
16626
|
/**
|
|
15427
16627
|
*
|
|
15428
16628
|
* @export
|
|
@@ -16712,6 +17912,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16712
17912
|
*/
|
|
16713
17913
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16714
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
|
+
}
|
|
16715
17947
|
/**
|
|
16716
17948
|
*
|
|
16717
17949
|
* @export
|
|
@@ -16749,6 +17981,37 @@ export interface UserCreateInputDTO {
|
|
|
16749
17981
|
*/
|
|
16750
17982
|
isDashboardUser?: boolean;
|
|
16751
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
|
+
}
|
|
16752
18015
|
/**
|
|
16753
18016
|
*
|
|
16754
18017
|
* @export
|
|
@@ -16852,13 +18115,25 @@ export interface UserOutputDTO {
|
|
|
16852
18115
|
* @type {PlayerOutputWithRolesDTO}
|
|
16853
18116
|
* @memberof UserOutputDTO
|
|
16854
18117
|
*/
|
|
16855
|
-
player
|
|
18118
|
+
player?: PlayerOutputWithRolesDTO;
|
|
16856
18119
|
/**
|
|
16857
18120
|
*
|
|
16858
18121
|
* @type {boolean}
|
|
16859
18122
|
* @memberof UserOutputDTO
|
|
16860
18123
|
*/
|
|
16861
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;
|
|
16862
18137
|
/**
|
|
16863
18138
|
*
|
|
16864
18139
|
* @type {string}
|
|
@@ -16968,13 +18243,44 @@ export interface UserOutputWithRolesDTO {
|
|
|
16968
18243
|
* @type {PlayerOutputWithRolesDTO}
|
|
16969
18244
|
* @memberof UserOutputWithRolesDTO
|
|
16970
18245
|
*/
|
|
16971
|
-
player
|
|
18246
|
+
player?: PlayerOutputWithRolesDTO;
|
|
16972
18247
|
/**
|
|
16973
18248
|
*
|
|
16974
18249
|
* @type {boolean}
|
|
16975
18250
|
* @memberof UserOutputWithRolesDTO
|
|
16976
18251
|
*/
|
|
16977
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;
|
|
16978
18284
|
}
|
|
16979
18285
|
/**
|
|
16980
18286
|
*
|
|
@@ -17190,6 +18496,31 @@ export interface UserUpdateDTO {
|
|
|
17190
18496
|
*/
|
|
17191
18497
|
isDashboardUser?: boolean;
|
|
17192
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
|
+
}
|
|
17193
18524
|
/**
|
|
17194
18525
|
*
|
|
17195
18526
|
* @export
|
|
@@ -17399,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
|
|
|
17399
18730
|
* @memberof VariableSearchInputAllowedSearch
|
|
17400
18731
|
*/
|
|
17401
18732
|
key?: Array<string>;
|
|
18733
|
+
/**
|
|
18734
|
+
*
|
|
18735
|
+
* @type {Array<string>}
|
|
18736
|
+
* @memberof VariableSearchInputAllowedSearch
|
|
18737
|
+
*/
|
|
18738
|
+
value?: Array<string>;
|
|
17402
18739
|
}
|
|
17403
18740
|
/**
|
|
17404
18741
|
*
|
|
@@ -18181,7 +19518,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18181
19518
|
};
|
|
18182
19519
|
},
|
|
18183
19520
|
/**
|
|
18184
|
-
* 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`
|
|
18185
19522
|
* @summary Get module health scores
|
|
18186
19523
|
* @param {string} [startDate]
|
|
18187
19524
|
* @param {string} [endDate]
|
|
@@ -18236,6 +19573,72 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18236
19573
|
options: localVarRequestOptions,
|
|
18237
19574
|
};
|
|
18238
19575
|
},
|
|
19576
|
+
/**
|
|
19577
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
19578
|
+
* @summary Get per-installation module KPIs
|
|
19579
|
+
* @param {string} gameServerId
|
|
19580
|
+
* @param {string} moduleId
|
|
19581
|
+
* @param {string} [startDate]
|
|
19582
|
+
* @param {string} [endDate]
|
|
19583
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
19584
|
+
* @param {*} [options] Override http request option.
|
|
19585
|
+
* @throws {RequiredError}
|
|
19586
|
+
*/
|
|
19587
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19588
|
+
gameServerId: string,
|
|
19589
|
+
moduleId: string,
|
|
19590
|
+
startDate?: string,
|
|
19591
|
+
endDate?: string,
|
|
19592
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
19593
|
+
options: RawAxiosRequestConfig = {},
|
|
19594
|
+
): Promise<RequestArgs> => {
|
|
19595
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19596
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19597
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19598
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19599
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
19600
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19602
|
+
let baseOptions;
|
|
19603
|
+
if (configuration) {
|
|
19604
|
+
baseOptions = configuration.baseOptions;
|
|
19605
|
+
}
|
|
19606
|
+
|
|
19607
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19608
|
+
const localVarHeaderParameter = {} as any;
|
|
19609
|
+
const localVarQueryParameter = {} as any;
|
|
19610
|
+
|
|
19611
|
+
// authentication domainAuth required
|
|
19612
|
+
|
|
19613
|
+
if (startDate !== undefined) {
|
|
19614
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19615
|
+
}
|
|
19616
|
+
|
|
19617
|
+
if (endDate !== undefined) {
|
|
19618
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19619
|
+
}
|
|
19620
|
+
|
|
19621
|
+
if (gameServerId !== undefined) {
|
|
19622
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19623
|
+
}
|
|
19624
|
+
|
|
19625
|
+
if (moduleId !== undefined) {
|
|
19626
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
19627
|
+
}
|
|
19628
|
+
|
|
19629
|
+
if (period !== undefined) {
|
|
19630
|
+
localVarQueryParameter['period'] = period;
|
|
19631
|
+
}
|
|
19632
|
+
|
|
19633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19635
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19636
|
+
|
|
19637
|
+
return {
|
|
19638
|
+
url: toPathString(localVarUrlObj),
|
|
19639
|
+
options: localVarRequestOptions,
|
|
19640
|
+
};
|
|
19641
|
+
},
|
|
18239
19642
|
/**
|
|
18240
19643
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
18241
19644
|
* @summary Get module item failure aggregate
|
|
@@ -19302,7 +20705,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19302
20705
|
},
|
|
19303
20706
|
/**
|
|
19304
20707
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
19305
|
-
* @summary Get top modules by
|
|
20708
|
+
* @summary Get top modules by execution volume
|
|
19306
20709
|
* @param {string} [startDate]
|
|
19307
20710
|
* @param {string} [endDate]
|
|
19308
20711
|
* @param {string} [gameServerId]
|
|
@@ -19836,7 +21239,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19836
21239
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19837
21240
|
},
|
|
19838
21241
|
/**
|
|
19839
|
-
* 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`
|
|
19840
21243
|
* @summary Get module health scores
|
|
19841
21244
|
* @param {string} [startDate]
|
|
19842
21245
|
* @param {string} [endDate]
|
|
@@ -19870,6 +21273,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19870
21273
|
configuration,
|
|
19871
21274
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19872
21275
|
},
|
|
21276
|
+
/**
|
|
21277
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
21278
|
+
* @summary Get per-installation module KPIs
|
|
21279
|
+
* @param {string} gameServerId
|
|
21280
|
+
* @param {string} moduleId
|
|
21281
|
+
* @param {string} [startDate]
|
|
21282
|
+
* @param {string} [endDate]
|
|
21283
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21284
|
+
* @param {*} [options] Override http request option.
|
|
21285
|
+
* @throws {RequiredError}
|
|
21286
|
+
*/
|
|
21287
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
21288
|
+
gameServerId: string,
|
|
21289
|
+
moduleId: string,
|
|
21290
|
+
startDate?: string,
|
|
21291
|
+
endDate?: string,
|
|
21292
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21293
|
+
options?: RawAxiosRequestConfig,
|
|
21294
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
21295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
21296
|
+
gameServerId,
|
|
21297
|
+
moduleId,
|
|
21298
|
+
startDate,
|
|
21299
|
+
endDate,
|
|
21300
|
+
period,
|
|
21301
|
+
options,
|
|
21302
|
+
);
|
|
21303
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21304
|
+
const localVarOperationServerBasePath =
|
|
21305
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
21306
|
+
?.url;
|
|
21307
|
+
return (axios, basePath) =>
|
|
21308
|
+
createRequestFunction(
|
|
21309
|
+
localVarAxiosArgs,
|
|
21310
|
+
globalAxios,
|
|
21311
|
+
BASE_PATH,
|
|
21312
|
+
configuration,
|
|
21313
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
21314
|
+
},
|
|
19873
21315
|
/**
|
|
19874
21316
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19875
21317
|
* @summary Get module item failure aggregate
|
|
@@ -20549,7 +21991,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20549
21991
|
},
|
|
20550
21992
|
/**
|
|
20551
21993
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20552
|
-
* @summary Get top modules by
|
|
21994
|
+
* @summary Get top modules by execution volume
|
|
20553
21995
|
* @param {string} [startDate]
|
|
20554
21996
|
* @param {string} [endDate]
|
|
20555
21997
|
* @param {string} [gameServerId]
|
|
@@ -20871,7 +22313,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20871
22313
|
.then((request) => request(axios, basePath));
|
|
20872
22314
|
},
|
|
20873
22315
|
/**
|
|
20874
|
-
* 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`
|
|
20875
22317
|
* @summary Get module health scores
|
|
20876
22318
|
* @param {string} [startDate]
|
|
20877
22319
|
* @param {string} [endDate]
|
|
@@ -20891,6 +22333,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20891
22333
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20892
22334
|
.then((request) => request(axios, basePath));
|
|
20893
22335
|
},
|
|
22336
|
+
/**
|
|
22337
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
22338
|
+
* @summary Get per-installation module KPIs
|
|
22339
|
+
* @param {string} gameServerId
|
|
22340
|
+
* @param {string} moduleId
|
|
22341
|
+
* @param {string} [startDate]
|
|
22342
|
+
* @param {string} [endDate]
|
|
22343
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22344
|
+
* @param {*} [options] Override http request option.
|
|
22345
|
+
* @throws {RequiredError}
|
|
22346
|
+
*/
|
|
22347
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
22348
|
+
gameServerId: string,
|
|
22349
|
+
moduleId: string,
|
|
22350
|
+
startDate?: string,
|
|
22351
|
+
endDate?: string,
|
|
22352
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22353
|
+
options?: RawAxiosRequestConfig,
|
|
22354
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
22355
|
+
return localVarFp
|
|
22356
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22357
|
+
.then((request) => request(axios, basePath));
|
|
22358
|
+
},
|
|
20894
22359
|
/**
|
|
20895
22360
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
20896
22361
|
* @summary Get module item failure aggregate
|
|
@@ -21292,7 +22757,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21292
22757
|
},
|
|
21293
22758
|
/**
|
|
21294
22759
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21295
|
-
* @summary Get top modules by
|
|
22760
|
+
* @summary Get top modules by execution volume
|
|
21296
22761
|
* @param {string} [startDate]
|
|
21297
22762
|
* @param {string} [endDate]
|
|
21298
22763
|
* @param {string} [gameServerId]
|
|
@@ -21611,7 +23076,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21611
23076
|
}
|
|
21612
23077
|
|
|
21613
23078
|
/**
|
|
21614
|
-
* 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`
|
|
21615
23080
|
* @summary Get module health scores
|
|
21616
23081
|
* @param {string} [startDate]
|
|
21617
23082
|
* @param {string} [endDate]
|
|
@@ -21633,6 +23098,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21633
23098
|
.then((request) => request(this.axios, this.basePath));
|
|
21634
23099
|
}
|
|
21635
23100
|
|
|
23101
|
+
/**
|
|
23102
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
23103
|
+
* @summary Get per-installation module KPIs
|
|
23104
|
+
* @param {string} gameServerId
|
|
23105
|
+
* @param {string} moduleId
|
|
23106
|
+
* @param {string} [startDate]
|
|
23107
|
+
* @param {string} [endDate]
|
|
23108
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
23109
|
+
* @param {*} [options] Override http request option.
|
|
23110
|
+
* @throws {RequiredError}
|
|
23111
|
+
* @memberof AnalyticsApi
|
|
23112
|
+
*/
|
|
23113
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
23114
|
+
gameServerId: string,
|
|
23115
|
+
moduleId: string,
|
|
23116
|
+
startDate?: string,
|
|
23117
|
+
endDate?: string,
|
|
23118
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
23119
|
+
options?: RawAxiosRequestConfig,
|
|
23120
|
+
) {
|
|
23121
|
+
return AnalyticsApiFp(this.configuration)
|
|
23122
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
23123
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23124
|
+
}
|
|
23125
|
+
|
|
21636
23126
|
/**
|
|
21637
23127
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
21638
23128
|
* @summary Get module item failure aggregate
|
|
@@ -22072,7 +23562,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22072
23562
|
|
|
22073
23563
|
/**
|
|
22074
23564
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22075
|
-
* @summary Get top modules by
|
|
23565
|
+
* @summary Get top modules by execution volume
|
|
22076
23566
|
* @param {string} [startDate]
|
|
22077
23567
|
* @param {string} [endDate]
|
|
22078
23568
|
* @param {string} [gameServerId]
|
|
@@ -22252,6 +23742,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
22252
23742
|
/**
|
|
22253
23743
|
* @export
|
|
22254
23744
|
*/
|
|
23745
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23746
|
+
_24h: '24h',
|
|
23747
|
+
_7d: '7d',
|
|
23748
|
+
_30d: '30d',
|
|
23749
|
+
_90d: '90d',
|
|
23750
|
+
} as const;
|
|
23751
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23752
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23753
|
+
/**
|
|
23754
|
+
* @export
|
|
23755
|
+
*/
|
|
22255
23756
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
22256
23757
|
_24h: '24h',
|
|
22257
23758
|
_7d: '7d',
|
|
@@ -22481,6 +23982,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22481
23982
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22482
23983
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22483
23984
|
|
|
23985
|
+
/**
|
|
23986
|
+
* AuthApi - axios parameter creator
|
|
23987
|
+
* @export
|
|
23988
|
+
*/
|
|
23989
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23990
|
+
return {
|
|
23991
|
+
/**
|
|
23992
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23993
|
+
* @summary Account
|
|
23994
|
+
* @param {*} [options] Override http request option.
|
|
23995
|
+
* @throws {RequiredError}
|
|
23996
|
+
*/
|
|
23997
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23998
|
+
const localVarPath = `/auth/account`;
|
|
23999
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24000
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24001
|
+
let baseOptions;
|
|
24002
|
+
if (configuration) {
|
|
24003
|
+
baseOptions = configuration.baseOptions;
|
|
24004
|
+
}
|
|
24005
|
+
|
|
24006
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
24007
|
+
const localVarHeaderParameter = {} as any;
|
|
24008
|
+
const localVarQueryParameter = {} as any;
|
|
24009
|
+
|
|
24010
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24011
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24012
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24013
|
+
|
|
24014
|
+
return {
|
|
24015
|
+
url: toPathString(localVarUrlObj),
|
|
24016
|
+
options: localVarRequestOptions,
|
|
24017
|
+
};
|
|
24018
|
+
},
|
|
24019
|
+
/**
|
|
24020
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
24021
|
+
* @summary Callback
|
|
24022
|
+
* @param {*} [options] Override http request option.
|
|
24023
|
+
* @throws {RequiredError}
|
|
24024
|
+
*/
|
|
24025
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24026
|
+
const localVarPath = `/auth/callback`;
|
|
24027
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24028
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24029
|
+
let baseOptions;
|
|
24030
|
+
if (configuration) {
|
|
24031
|
+
baseOptions = configuration.baseOptions;
|
|
24032
|
+
}
|
|
24033
|
+
|
|
24034
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
24035
|
+
const localVarHeaderParameter = {} as any;
|
|
24036
|
+
const localVarQueryParameter = {} as any;
|
|
24037
|
+
|
|
24038
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24039
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24040
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24041
|
+
|
|
24042
|
+
return {
|
|
24043
|
+
url: toPathString(localVarUrlObj),
|
|
24044
|
+
options: localVarRequestOptions,
|
|
24045
|
+
};
|
|
24046
|
+
},
|
|
24047
|
+
/**
|
|
24048
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
24049
|
+
* @summary Login
|
|
24050
|
+
* @param {string} [redirect]
|
|
24051
|
+
* @param {*} [options] Override http request option.
|
|
24052
|
+
* @throws {RequiredError}
|
|
24053
|
+
*/
|
|
24054
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24055
|
+
const localVarPath = `/auth/login`;
|
|
24056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24058
|
+
let baseOptions;
|
|
24059
|
+
if (configuration) {
|
|
24060
|
+
baseOptions = configuration.baseOptions;
|
|
24061
|
+
}
|
|
24062
|
+
|
|
24063
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
24064
|
+
const localVarHeaderParameter = {} as any;
|
|
24065
|
+
const localVarQueryParameter = {} as any;
|
|
24066
|
+
|
|
24067
|
+
if (redirect !== undefined) {
|
|
24068
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
24069
|
+
}
|
|
24070
|
+
|
|
24071
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24072
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24073
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24074
|
+
|
|
24075
|
+
return {
|
|
24076
|
+
url: toPathString(localVarUrlObj),
|
|
24077
|
+
options: localVarRequestOptions,
|
|
24078
|
+
};
|
|
24079
|
+
},
|
|
24080
|
+
/**
|
|
24081
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
24082
|
+
* @summary Logout
|
|
24083
|
+
* @param {string} [redirect]
|
|
24084
|
+
* @param {*} [options] Override http request option.
|
|
24085
|
+
* @throws {RequiredError}
|
|
24086
|
+
*/
|
|
24087
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24088
|
+
const localVarPath = `/auth/logout`;
|
|
24089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24091
|
+
let baseOptions;
|
|
24092
|
+
if (configuration) {
|
|
24093
|
+
baseOptions = configuration.baseOptions;
|
|
24094
|
+
}
|
|
24095
|
+
|
|
24096
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
24097
|
+
const localVarHeaderParameter = {} as any;
|
|
24098
|
+
const localVarQueryParameter = {} as any;
|
|
24099
|
+
|
|
24100
|
+
if (redirect !== undefined) {
|
|
24101
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
24102
|
+
}
|
|
24103
|
+
|
|
24104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24107
|
+
|
|
24108
|
+
return {
|
|
24109
|
+
url: toPathString(localVarUrlObj),
|
|
24110
|
+
options: localVarRequestOptions,
|
|
24111
|
+
};
|
|
24112
|
+
},
|
|
24113
|
+
};
|
|
24114
|
+
};
|
|
24115
|
+
|
|
24116
|
+
/**
|
|
24117
|
+
* AuthApi - functional programming interface
|
|
24118
|
+
* @export
|
|
24119
|
+
*/
|
|
24120
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
24121
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
24122
|
+
return {
|
|
24123
|
+
/**
|
|
24124
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
24125
|
+
* @summary Account
|
|
24126
|
+
* @param {*} [options] Override http request option.
|
|
24127
|
+
* @throws {RequiredError}
|
|
24128
|
+
*/
|
|
24129
|
+
async authControllerAccount(
|
|
24130
|
+
options?: RawAxiosRequestConfig,
|
|
24131
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
24132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
24133
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24134
|
+
const localVarOperationServerBasePath =
|
|
24135
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
24136
|
+
return (axios, basePath) =>
|
|
24137
|
+
createRequestFunction(
|
|
24138
|
+
localVarAxiosArgs,
|
|
24139
|
+
globalAxios,
|
|
24140
|
+
BASE_PATH,
|
|
24141
|
+
configuration,
|
|
24142
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
24143
|
+
},
|
|
24144
|
+
/**
|
|
24145
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
24146
|
+
* @summary Callback
|
|
24147
|
+
* @param {*} [options] Override http request option.
|
|
24148
|
+
* @throws {RequiredError}
|
|
24149
|
+
*/
|
|
24150
|
+
async authControllerCallback(
|
|
24151
|
+
options?: RawAxiosRequestConfig,
|
|
24152
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
24153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
24154
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24155
|
+
const localVarOperationServerBasePath =
|
|
24156
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
24157
|
+
return (axios, basePath) =>
|
|
24158
|
+
createRequestFunction(
|
|
24159
|
+
localVarAxiosArgs,
|
|
24160
|
+
globalAxios,
|
|
24161
|
+
BASE_PATH,
|
|
24162
|
+
configuration,
|
|
24163
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
24164
|
+
},
|
|
24165
|
+
/**
|
|
24166
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
24167
|
+
* @summary Login
|
|
24168
|
+
* @param {string} [redirect]
|
|
24169
|
+
* @param {*} [options] Override http request option.
|
|
24170
|
+
* @throws {RequiredError}
|
|
24171
|
+
*/
|
|
24172
|
+
async authControllerLogin(
|
|
24173
|
+
redirect?: string,
|
|
24174
|
+
options?: RawAxiosRequestConfig,
|
|
24175
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
24176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
24177
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24178
|
+
const localVarOperationServerBasePath =
|
|
24179
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
24180
|
+
return (axios, basePath) =>
|
|
24181
|
+
createRequestFunction(
|
|
24182
|
+
localVarAxiosArgs,
|
|
24183
|
+
globalAxios,
|
|
24184
|
+
BASE_PATH,
|
|
24185
|
+
configuration,
|
|
24186
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
24187
|
+
},
|
|
24188
|
+
/**
|
|
24189
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
24190
|
+
* @summary Logout
|
|
24191
|
+
* @param {string} [redirect]
|
|
24192
|
+
* @param {*} [options] Override http request option.
|
|
24193
|
+
* @throws {RequiredError}
|
|
24194
|
+
*/
|
|
24195
|
+
async authControllerLogout(
|
|
24196
|
+
redirect?: string,
|
|
24197
|
+
options?: RawAxiosRequestConfig,
|
|
24198
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
24199
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
24200
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24201
|
+
const localVarOperationServerBasePath =
|
|
24202
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
24203
|
+
return (axios, basePath) =>
|
|
24204
|
+
createRequestFunction(
|
|
24205
|
+
localVarAxiosArgs,
|
|
24206
|
+
globalAxios,
|
|
24207
|
+
BASE_PATH,
|
|
24208
|
+
configuration,
|
|
24209
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
24210
|
+
},
|
|
24211
|
+
};
|
|
24212
|
+
};
|
|
24213
|
+
|
|
24214
|
+
/**
|
|
24215
|
+
* AuthApi - factory interface
|
|
24216
|
+
* @export
|
|
24217
|
+
*/
|
|
24218
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
24219
|
+
const localVarFp = AuthApiFp(configuration);
|
|
24220
|
+
return {
|
|
24221
|
+
/**
|
|
24222
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
24223
|
+
* @summary Account
|
|
24224
|
+
* @param {*} [options] Override http request option.
|
|
24225
|
+
* @throws {RequiredError}
|
|
24226
|
+
*/
|
|
24227
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24228
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
24229
|
+
},
|
|
24230
|
+
/**
|
|
24231
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
24232
|
+
* @summary Callback
|
|
24233
|
+
* @param {*} [options] Override http request option.
|
|
24234
|
+
* @throws {RequiredError}
|
|
24235
|
+
*/
|
|
24236
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24237
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
24238
|
+
},
|
|
24239
|
+
/**
|
|
24240
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
24241
|
+
* @summary Login
|
|
24242
|
+
* @param {string} [redirect]
|
|
24243
|
+
* @param {*} [options] Override http request option.
|
|
24244
|
+
* @throws {RequiredError}
|
|
24245
|
+
*/
|
|
24246
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24247
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
24248
|
+
},
|
|
24249
|
+
/**
|
|
24250
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
24251
|
+
* @summary Logout
|
|
24252
|
+
* @param {string} [redirect]
|
|
24253
|
+
* @param {*} [options] Override http request option.
|
|
24254
|
+
* @throws {RequiredError}
|
|
24255
|
+
*/
|
|
24256
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24257
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
24258
|
+
},
|
|
24259
|
+
};
|
|
24260
|
+
};
|
|
24261
|
+
|
|
24262
|
+
/**
|
|
24263
|
+
* AuthApi - object-oriented interface
|
|
24264
|
+
* @export
|
|
24265
|
+
* @class AuthApi
|
|
24266
|
+
* @extends {BaseAPI}
|
|
24267
|
+
*/
|
|
24268
|
+
export class AuthApi extends BaseAPI {
|
|
24269
|
+
/**
|
|
24270
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
24271
|
+
* @summary Account
|
|
24272
|
+
* @param {*} [options] Override http request option.
|
|
24273
|
+
* @throws {RequiredError}
|
|
24274
|
+
* @memberof AuthApi
|
|
24275
|
+
*/
|
|
24276
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
24277
|
+
return AuthApiFp(this.configuration)
|
|
24278
|
+
.authControllerAccount(options)
|
|
24279
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24280
|
+
}
|
|
24281
|
+
|
|
24282
|
+
/**
|
|
24283
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
24284
|
+
* @summary Callback
|
|
24285
|
+
* @param {*} [options] Override http request option.
|
|
24286
|
+
* @throws {RequiredError}
|
|
24287
|
+
* @memberof AuthApi
|
|
24288
|
+
*/
|
|
24289
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
24290
|
+
return AuthApiFp(this.configuration)
|
|
24291
|
+
.authControllerCallback(options)
|
|
24292
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24293
|
+
}
|
|
24294
|
+
|
|
24295
|
+
/**
|
|
24296
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
24297
|
+
* @summary Login
|
|
24298
|
+
* @param {string} [redirect]
|
|
24299
|
+
* @param {*} [options] Override http request option.
|
|
24300
|
+
* @throws {RequiredError}
|
|
24301
|
+
* @memberof AuthApi
|
|
24302
|
+
*/
|
|
24303
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
24304
|
+
return AuthApiFp(this.configuration)
|
|
24305
|
+
.authControllerLogin(redirect, options)
|
|
24306
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24307
|
+
}
|
|
24308
|
+
|
|
24309
|
+
/**
|
|
24310
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
24311
|
+
* @summary Logout
|
|
24312
|
+
* @param {string} [redirect]
|
|
24313
|
+
* @param {*} [options] Override http request option.
|
|
24314
|
+
* @throws {RequiredError}
|
|
24315
|
+
* @memberof AuthApi
|
|
24316
|
+
*/
|
|
24317
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
24318
|
+
return AuthApiFp(this.configuration)
|
|
24319
|
+
.authControllerLogout(redirect, options)
|
|
24320
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24321
|
+
}
|
|
24322
|
+
}
|
|
24323
|
+
|
|
22484
24324
|
/**
|
|
22485
24325
|
* CommandApi - axios parameter creator
|
|
22486
24326
|
* @export
|
|
@@ -24969,6 +26809,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
24969
26809
|
options: localVarRequestOptions,
|
|
24970
26810
|
};
|
|
24971
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
|
+
},
|
|
24972
26858
|
/**
|
|
24973
26859
|
* <br> OperationId: `DomainControllerGetOne`
|
|
24974
26860
|
* @summary Get one
|
|
@@ -25241,6 +27127,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
25241
27127
|
configuration,
|
|
25242
27128
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
25243
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
|
+
},
|
|
25244
27159
|
/**
|
|
25245
27160
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25246
27161
|
* @summary Get one
|
|
@@ -25415,6 +27330,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
25415
27330
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
25416
27331
|
.then((request) => request(axios, basePath));
|
|
25417
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
|
+
},
|
|
25418
27350
|
/**
|
|
25419
27351
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25420
27352
|
* @summary Get one
|
|
@@ -25520,6 +27452,25 @@ export class DomainApi extends BaseAPI {
|
|
|
25520
27452
|
.then((request) => request(this.axios, this.basePath));
|
|
25521
27453
|
}
|
|
25522
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
|
+
|
|
25523
27474
|
/**
|
|
25524
27475
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25525
27476
|
* @summary Get one
|
|
@@ -26480,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
26480
28431
|
/**
|
|
26481
28432
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26482
28433
|
* @summary Auth discord
|
|
26483
|
-
* @param {string} redirect
|
|
28434
|
+
* @param {string} [redirect]
|
|
26484
28435
|
* @param {*} [options] Override http request option.
|
|
26485
28436
|
* @throws {RequiredError}
|
|
26486
28437
|
*/
|
|
26487
28438
|
externalAuthControllerAuthDiscord: async (
|
|
26488
|
-
redirect
|
|
28439
|
+
redirect?: string,
|
|
26489
28440
|
options: RawAxiosRequestConfig = {},
|
|
26490
28441
|
): Promise<RequestArgs> => {
|
|
26491
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
26492
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
26493
28442
|
const localVarPath = `/auth/discord`;
|
|
26494
28443
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26495
28444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26556,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
26556
28505
|
/**
|
|
26557
28506
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26558
28507
|
* @summary Auth discord
|
|
26559
|
-
* @param {string} redirect
|
|
28508
|
+
* @param {string} [redirect]
|
|
26560
28509
|
* @param {*} [options] Override http request option.
|
|
26561
28510
|
* @throws {RequiredError}
|
|
26562
28511
|
*/
|
|
26563
28512
|
async externalAuthControllerAuthDiscord(
|
|
26564
|
-
redirect
|
|
28513
|
+
redirect?: string,
|
|
26565
28514
|
options?: RawAxiosRequestConfig,
|
|
26566
28515
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26567
28516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -26615,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
26615
28564
|
/**
|
|
26616
28565
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26617
28566
|
* @summary Auth discord
|
|
26618
|
-
* @param {string} redirect
|
|
28567
|
+
* @param {string} [redirect]
|
|
26619
28568
|
* @param {*} [options] Override http request option.
|
|
26620
28569
|
* @throws {RequiredError}
|
|
26621
28570
|
*/
|
|
26622
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28571
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26623
28572
|
return localVarFp
|
|
26624
28573
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
26625
28574
|
.then((request) => request(axios, basePath));
|
|
@@ -26646,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
26646
28595
|
/**
|
|
26647
28596
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26648
28597
|
* @summary Auth discord
|
|
26649
|
-
* @param {string} redirect
|
|
28598
|
+
* @param {string} [redirect]
|
|
26650
28599
|
* @param {*} [options] Override http request option.
|
|
26651
28600
|
* @throws {RequiredError}
|
|
26652
28601
|
* @memberof ExternalAuthApi
|
|
26653
28602
|
*/
|
|
26654
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28603
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
26655
28604
|
return ExternalAuthApiFp(this.configuration)
|
|
26656
28605
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
26657
28606
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -30353,6 +32302,488 @@ export class HookApi extends BaseAPI {
|
|
|
30353
32302
|
}
|
|
30354
32303
|
}
|
|
30355
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
|
+
|
|
30356
32787
|
/**
|
|
30357
32788
|
* ItemApi - axios parameter creator
|
|
30358
32789
|
* @export
|
|
@@ -30591,6 +33022,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30591
33022
|
options: localVarRequestOptions,
|
|
30592
33023
|
};
|
|
30593
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
|
+
},
|
|
30594
33053
|
/**
|
|
30595
33054
|
* <br> OperationId: `MetaGetMetrics`
|
|
30596
33055
|
* @summary Get metrics
|
|
@@ -30762,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
30762
33221
|
configuration,
|
|
30763
33222
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
30764
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
|
+
},
|
|
30765
33245
|
/**
|
|
30766
33246
|
* <br> OperationId: `MetaGetMetrics`
|
|
30767
33247
|
* @summary Get metrics
|
|
@@ -30886,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30886
33366
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
30887
33367
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
30888
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
|
+
},
|
|
30889
33378
|
/**
|
|
30890
33379
|
* <br> OperationId: `MetaGetMetrics`
|
|
30891
33380
|
* @summary Get metrics
|
|
@@ -30954,6 +33443,19 @@ export class MetaApi extends BaseAPI {
|
|
|
30954
33443
|
.then((request) => request(this.axios, this.basePath));
|
|
30955
33444
|
}
|
|
30956
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
|
+
|
|
30957
33459
|
/**
|
|
30958
33460
|
* <br> OperationId: `MetaGetMetrics`
|
|
30959
33461
|
* @summary Get metrics
|
|
@@ -32619,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
32619
35121
|
};
|
|
32620
35122
|
},
|
|
32621
35123
|
/**
|
|
32622
|
-
* 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`
|
|
32623
35125
|
* @summary Bulk assign role
|
|
32624
35126
|
* @param {string} roleId
|
|
32625
35127
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -32664,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
32664
35166
|
};
|
|
32665
35167
|
},
|
|
32666
35168
|
/**
|
|
32667
|
-
* 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`
|
|
32668
35170
|
* @summary Bulk delete
|
|
32669
35171
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
32670
35172
|
* @param {*} [options] Override http request option.
|
|
@@ -33048,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
33048
35550
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
33049
35551
|
},
|
|
33050
35552
|
/**
|
|
33051
|
-
* 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`
|
|
33052
35554
|
* @summary Bulk assign role
|
|
33053
35555
|
* @param {string} roleId
|
|
33054
35556
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33077,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
33077
35579
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
33078
35580
|
},
|
|
33079
35581
|
/**
|
|
33080
|
-
* 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`
|
|
33081
35583
|
* @summary Bulk delete
|
|
33082
35584
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33083
35585
|
* @param {*} [options] Override http request option.
|
|
@@ -33312,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
33312
35814
|
.then((request) => request(axios, basePath));
|
|
33313
35815
|
},
|
|
33314
35816
|
/**
|
|
33315
|
-
* 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`
|
|
33316
35818
|
* @summary Bulk assign role
|
|
33317
35819
|
* @param {string} roleId
|
|
33318
35820
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33329,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
33329
35831
|
.then((request) => request(axios, basePath));
|
|
33330
35832
|
},
|
|
33331
35833
|
/**
|
|
33332
|
-
* 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`
|
|
33333
35835
|
* @summary Bulk delete
|
|
33334
35836
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33335
35837
|
* @param {*} [options] Override http request option.
|
|
@@ -33509,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
33509
36011
|
}
|
|
33510
36012
|
|
|
33511
36013
|
/**
|
|
33512
|
-
* 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`
|
|
33513
36015
|
* @summary Bulk assign role
|
|
33514
36016
|
* @param {string} roleId
|
|
33515
36017
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -33528,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
33528
36030
|
}
|
|
33529
36031
|
|
|
33530
36032
|
/**
|
|
33531
|
-
* 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`
|
|
33532
36034
|
* @summary Bulk delete
|
|
33533
36035
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
33534
36036
|
* @param {*} [options] Override http request option.
|
|
@@ -33679,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
33679
36181
|
};
|
|
33680
36182
|
},
|
|
33681
36183
|
/**
|
|
33682
|
-
* 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`
|
|
33683
36185
|
* @summary Bulk add currency
|
|
33684
36186
|
* @param {string} gameServerId
|
|
33685
36187
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -34098,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
34098
36600
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
34099
36601
|
},
|
|
34100
36602
|
/**
|
|
34101
|
-
* 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`
|
|
34102
36604
|
* @summary Bulk add currency
|
|
34103
36605
|
* @param {string} gameServerId
|
|
34104
36606
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -34385,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
34385
36887
|
.then((request) => request(axios, basePath));
|
|
34386
36888
|
},
|
|
34387
36889
|
/**
|
|
34388
|
-
* 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`
|
|
34389
36891
|
* @summary Bulk add currency
|
|
34390
36892
|
* @param {string} gameServerId
|
|
34391
36893
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -34569,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
34569
37071
|
}
|
|
34570
37072
|
|
|
34571
37073
|
/**
|
|
34572
|
-
* 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`
|
|
34573
37075
|
* @summary Bulk add currency
|
|
34574
37076
|
* @param {string} gameServerId
|
|
34575
37077
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -36909,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
36909
39411
|
export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36910
39412
|
return {
|
|
36911
39413
|
/**
|
|
36912
|
-
* 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`
|
|
36913
39415
|
* @summary Bulk assign
|
|
36914
39416
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
36915
39417
|
* @param {*} [options] Override http request option.
|
|
@@ -37233,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
|
|
|
37233
39735
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
37234
39736
|
return {
|
|
37235
39737
|
/**
|
|
37236
|
-
* 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`
|
|
37237
39739
|
* @summary Bulk assign
|
|
37238
39740
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
37239
39741
|
* @param {*} [options] Override http request option.
|
|
@@ -37454,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
37454
39956
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
37455
39957
|
return {
|
|
37456
39958
|
/**
|
|
37457
|
-
* 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`
|
|
37458
39960
|
* @summary Bulk assign
|
|
37459
39961
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
37460
39962
|
* @param {*} [options] Override http request option.
|
|
@@ -37583,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
37583
40085
|
*/
|
|
37584
40086
|
export class ShopCategoryApi extends BaseAPI {
|
|
37585
40087
|
/**
|
|
37586
|
-
* 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`
|
|
37587
40089
|
* @summary Bulk assign
|
|
37588
40090
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
37589
40091
|
* @param {*} [options] Override http request option.
|
|
@@ -37718,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
37718
40220
|
*/
|
|
37719
40221
|
export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37720
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
|
+
},
|
|
37721
40264
|
/**
|
|
37722
40265
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
37723
40266
|
* @summary Create
|
|
@@ -37943,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
37943
40486
|
export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
37944
40487
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
37945
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
|
+
},
|
|
37946
40515
|
/**
|
|
37947
40516
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
37948
40517
|
* @summary Create
|
|
@@ -38023,7 +40592,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38023
40592
|
*/
|
|
38024
40593
|
async shopListingControllerImportListings(
|
|
38025
40594
|
options?: RawAxiosRequestConfig,
|
|
38026
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
40595
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38027
40596
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38028
40597
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38029
40598
|
const localVarOperationServerBasePath =
|
|
@@ -38105,6 +40674,21 @@ export const ShopListingApiFactory = function (
|
|
|
38105
40674
|
) {
|
|
38106
40675
|
const localVarFp = ShopListingApiFp(configuration);
|
|
38107
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
|
+
},
|
|
38108
40692
|
/**
|
|
38109
40693
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38110
40694
|
* @summary Create
|
|
@@ -38146,7 +40730,7 @@ export const ShopListingApiFactory = function (
|
|
|
38146
40730
|
* @param {*} [options] Override http request option.
|
|
38147
40731
|
* @throws {RequiredError}
|
|
38148
40732
|
*/
|
|
38149
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
40733
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38150
40734
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38151
40735
|
},
|
|
38152
40736
|
/**
|
|
@@ -38191,6 +40775,20 @@ export const ShopListingApiFactory = function (
|
|
|
38191
40775
|
* @extends {BaseAPI}
|
|
38192
40776
|
*/
|
|
38193
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
|
+
|
|
38194
40792
|
/**
|
|
38195
40793
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
38196
40794
|
* @summary Create
|
|
@@ -38426,17 +41024,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38426
41024
|
};
|
|
38427
41025
|
},
|
|
38428
41026
|
/**
|
|
38429
|
-
* 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`
|
|
38430
|
-
* @summary Search orders
|
|
38431
|
-
* @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
|
|
38432
41426
|
* @param {*} [options] Override http request option.
|
|
38433
41427
|
* @throws {RequiredError}
|
|
38434
41428
|
*/
|
|
38435
|
-
|
|
38436
|
-
|
|
41429
|
+
storefrontConfigControllerSetConfig: async (
|
|
41430
|
+
gameServerId: string,
|
|
41431
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38437
41432
|
options: RawAxiosRequestConfig = {},
|
|
38438
41433
|
): Promise<RequestArgs> => {
|
|
38439
|
-
|
|
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
|
+
);
|
|
38440
41440
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38441
41441
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38442
41442
|
let baseOptions;
|
|
@@ -38444,7 +41444,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38444
41444
|
baseOptions = configuration.baseOptions;
|
|
38445
41445
|
}
|
|
38446
41446
|
|
|
38447
|
-
const localVarRequestOptions = { method: '
|
|
41447
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38448
41448
|
const localVarHeaderParameter = {} as any;
|
|
38449
41449
|
const localVarQueryParameter = {} as any;
|
|
38450
41450
|
|
|
@@ -38456,7 +41456,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38456
41456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38457
41457
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
38458
41458
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
38459
|
-
|
|
41459
|
+
storefrontConfigUpsertBody,
|
|
38460
41460
|
localVarRequestOptions,
|
|
38461
41461
|
configuration,
|
|
38462
41462
|
);
|
|
@@ -38470,73 +41470,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38470
41470
|
};
|
|
38471
41471
|
|
|
38472
41472
|
/**
|
|
38473
|
-
*
|
|
41473
|
+
* StorefrontConfigApi - functional programming interface
|
|
38474
41474
|
* @export
|
|
38475
41475
|
*/
|
|
38476
|
-
export const
|
|
38477
|
-
const localVarAxiosParamCreator =
|
|
41476
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
41477
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
38478
41478
|
return {
|
|
38479
41479
|
/**
|
|
38480
|
-
*
|
|
38481
|
-
* @summary
|
|
38482
|
-
* @param {string}
|
|
38483
|
-
* @param {*} [options] Override http request option.
|
|
38484
|
-
* @throws {RequiredError}
|
|
38485
|
-
*/
|
|
38486
|
-
async shopOrderControllerCancel(
|
|
38487
|
-
id: string,
|
|
38488
|
-
options?: RawAxiosRequestConfig,
|
|
38489
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
38491
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38492
|
-
const localVarOperationServerBasePath =
|
|
38493
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
38494
|
-
return (axios, basePath) =>
|
|
38495
|
-
createRequestFunction(
|
|
38496
|
-
localVarAxiosArgs,
|
|
38497
|
-
globalAxios,
|
|
38498
|
-
BASE_PATH,
|
|
38499
|
-
configuration,
|
|
38500
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38501
|
-
},
|
|
38502
|
-
/**
|
|
38503
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38504
|
-
* @summary Claim an order
|
|
38505
|
-
* @param {string} id
|
|
38506
|
-
* @param {*} [options] Override http request option.
|
|
38507
|
-
* @throws {RequiredError}
|
|
38508
|
-
*/
|
|
38509
|
-
async shopOrderControllerClaim(
|
|
38510
|
-
id: string,
|
|
38511
|
-
options?: RawAxiosRequestConfig,
|
|
38512
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
38514
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38515
|
-
const localVarOperationServerBasePath =
|
|
38516
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
38517
|
-
return (axios, basePath) =>
|
|
38518
|
-
createRequestFunction(
|
|
38519
|
-
localVarAxiosArgs,
|
|
38520
|
-
globalAxios,
|
|
38521
|
-
BASE_PATH,
|
|
38522
|
-
configuration,
|
|
38523
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38524
|
-
},
|
|
38525
|
-
/**
|
|
38526
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38527
|
-
* @summary Create
|
|
38528
|
-
* @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
|
|
38529
41483
|
* @param {*} [options] Override http request option.
|
|
38530
41484
|
* @throws {RequiredError}
|
|
38531
41485
|
*/
|
|
38532
|
-
async
|
|
38533
|
-
|
|
41486
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
41487
|
+
gameServerId: string,
|
|
38534
41488
|
options?: RawAxiosRequestConfig,
|
|
38535
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41489
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41490
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
41491
|
+
gameServerId,
|
|
41492
|
+
options,
|
|
41493
|
+
);
|
|
38537
41494
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38538
41495
|
const localVarOperationServerBasePath =
|
|
38539
|
-
operationServerMap['
|
|
41496
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
41497
|
+
localVarOperationServerIndex
|
|
41498
|
+
]?.url;
|
|
38540
41499
|
return (axios, basePath) =>
|
|
38541
41500
|
createRequestFunction(
|
|
38542
41501
|
localVarAxiosArgs,
|
|
@@ -38546,20 +41505,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38546
41505
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38547
41506
|
},
|
|
38548
41507
|
/**
|
|
38549
|
-
*
|
|
38550
|
-
* @summary
|
|
38551
|
-
* @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
|
|
38552
41510
|
* @param {*} [options] Override http request option.
|
|
38553
41511
|
* @throws {RequiredError}
|
|
38554
41512
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
id: string,
|
|
41513
|
+
async storefrontConfigControllerListTemplates(
|
|
38557
41514
|
options?: RawAxiosRequestConfig,
|
|
38558
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41515
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
41516
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
38560
41517
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38561
41518
|
const localVarOperationServerBasePath =
|
|
38562
|
-
operationServerMap['
|
|
41519
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
41520
|
+
localVarOperationServerIndex
|
|
41521
|
+
]?.url;
|
|
38563
41522
|
return (axios, basePath) =>
|
|
38564
41523
|
createRequestFunction(
|
|
38565
41524
|
localVarAxiosArgs,
|
|
@@ -38569,23 +41528,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38569
41528
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38570
41529
|
},
|
|
38571
41530
|
/**
|
|
38572
|
-
*
|
|
38573
|
-
* @summary
|
|
38574
|
-
* @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
|
|
38575
41535
|
* @param {*} [options] Override http request option.
|
|
38576
41536
|
* @throws {RequiredError}
|
|
38577
41537
|
*/
|
|
38578
|
-
async
|
|
38579
|
-
|
|
41538
|
+
async storefrontConfigControllerSetConfig(
|
|
41539
|
+
gameServerId: string,
|
|
41540
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38580
41541
|
options?: RawAxiosRequestConfig,
|
|
38581
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38583
|
-
|
|
41542
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
41544
|
+
gameServerId,
|
|
41545
|
+
storefrontConfigUpsertBody,
|
|
38584
41546
|
options,
|
|
38585
41547
|
);
|
|
38586
41548
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38587
41549
|
const localVarOperationServerBasePath =
|
|
38588
|
-
operationServerMap['
|
|
41550
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
41551
|
+
?.url;
|
|
38589
41552
|
return (axios, basePath) =>
|
|
38590
41553
|
createRequestFunction(
|
|
38591
41554
|
localVarAxiosArgs,
|
|
@@ -38598,149 +41561,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38598
41561
|
};
|
|
38599
41562
|
|
|
38600
41563
|
/**
|
|
38601
|
-
*
|
|
41564
|
+
* StorefrontConfigApi - factory interface
|
|
38602
41565
|
* @export
|
|
38603
41566
|
*/
|
|
38604
|
-
export const
|
|
38605
|
-
|
|
41567
|
+
export const StorefrontConfigApiFactory = function (
|
|
41568
|
+
configuration?: Configuration,
|
|
41569
|
+
basePath?: string,
|
|
41570
|
+
axios?: AxiosInstance,
|
|
41571
|
+
) {
|
|
41572
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
38606
41573
|
return {
|
|
38607
41574
|
/**
|
|
38608
|
-
*
|
|
38609
|
-
* @summary
|
|
38610
|
-
* @param {string}
|
|
38611
|
-
* @param {*} [options] Override http request option.
|
|
38612
|
-
* @throws {RequiredError}
|
|
38613
|
-
*/
|
|
38614
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38615
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
38616
|
-
},
|
|
38617
|
-
/**
|
|
38618
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38619
|
-
* @summary Claim an order
|
|
38620
|
-
* @param {string} id
|
|
38621
|
-
* @param {*} [options] Override http request option.
|
|
38622
|
-
* @throws {RequiredError}
|
|
38623
|
-
*/
|
|
38624
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38625
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
38626
|
-
},
|
|
38627
|
-
/**
|
|
38628
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38629
|
-
* @summary Create
|
|
38630
|
-
* @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
|
|
38631
41578
|
* @param {*} [options] Override http request option.
|
|
38632
41579
|
* @throws {RequiredError}
|
|
38633
41580
|
*/
|
|
38634
|
-
|
|
38635
|
-
|
|
41581
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
41582
|
+
gameServerId: string,
|
|
38636
41583
|
options?: RawAxiosRequestConfig,
|
|
38637
|
-
): AxiosPromise<
|
|
41584
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38638
41585
|
return localVarFp
|
|
38639
|
-
.
|
|
41586
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38640
41587
|
.then((request) => request(axios, basePath));
|
|
38641
41588
|
},
|
|
38642
41589
|
/**
|
|
38643
|
-
*
|
|
38644
|
-
* @summary
|
|
38645
|
-
* @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
|
|
38646
41592
|
* @param {*} [options] Override http request option.
|
|
38647
41593
|
* @throws {RequiredError}
|
|
38648
41594
|
*/
|
|
38649
|
-
|
|
38650
|
-
|
|
41595
|
+
storefrontConfigControllerListTemplates(
|
|
41596
|
+
options?: RawAxiosRequestConfig,
|
|
41597
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
41598
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
38651
41599
|
},
|
|
38652
41600
|
/**
|
|
38653
|
-
*
|
|
38654
|
-
* @summary
|
|
38655
|
-
* @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
|
|
38656
41605
|
* @param {*} [options] Override http request option.
|
|
38657
41606
|
* @throws {RequiredError}
|
|
38658
41607
|
*/
|
|
38659
|
-
|
|
38660
|
-
|
|
41608
|
+
storefrontConfigControllerSetConfig(
|
|
41609
|
+
gameServerId: string,
|
|
41610
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38661
41611
|
options?: RawAxiosRequestConfig,
|
|
38662
|
-
): AxiosPromise<
|
|
41612
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38663
41613
|
return localVarFp
|
|
38664
|
-
.
|
|
41614
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38665
41615
|
.then((request) => request(axios, basePath));
|
|
38666
41616
|
},
|
|
38667
41617
|
};
|
|
38668
41618
|
};
|
|
38669
41619
|
|
|
38670
41620
|
/**
|
|
38671
|
-
*
|
|
41621
|
+
* StorefrontConfigApi - object-oriented interface
|
|
38672
41622
|
* @export
|
|
38673
|
-
* @class
|
|
41623
|
+
* @class StorefrontConfigApi
|
|
38674
41624
|
* @extends {BaseAPI}
|
|
38675
41625
|
*/
|
|
38676
|
-
export class
|
|
38677
|
-
/**
|
|
38678
|
-
* <br> OperationId: `ShopOrderControllerCancel`
|
|
38679
|
-
* @summary Cancel
|
|
38680
|
-
* @param {string} id
|
|
38681
|
-
* @param {*} [options] Override http request option.
|
|
38682
|
-
* @throws {RequiredError}
|
|
38683
|
-
* @memberof ShopOrderApi
|
|
38684
|
-
*/
|
|
38685
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
38686
|
-
return ShopOrderApiFp(this.configuration)
|
|
38687
|
-
.shopOrderControllerCancel(id, options)
|
|
38688
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38689
|
-
}
|
|
38690
|
-
|
|
38691
|
-
/**
|
|
38692
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38693
|
-
* @summary Claim an order
|
|
38694
|
-
* @param {string} id
|
|
38695
|
-
* @param {*} [options] Override http request option.
|
|
38696
|
-
* @throws {RequiredError}
|
|
38697
|
-
* @memberof ShopOrderApi
|
|
38698
|
-
*/
|
|
38699
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
38700
|
-
return ShopOrderApiFp(this.configuration)
|
|
38701
|
-
.shopOrderControllerClaim(id, options)
|
|
38702
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38703
|
-
}
|
|
38704
|
-
|
|
41626
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
38705
41627
|
/**
|
|
38706
|
-
*
|
|
38707
|
-
* @summary
|
|
38708
|
-
* @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
|
|
38709
41631
|
* @param {*} [options] Override http request option.
|
|
38710
41632
|
* @throws {RequiredError}
|
|
38711
|
-
* @memberof
|
|
41633
|
+
* @memberof StorefrontConfigApi
|
|
38712
41634
|
*/
|
|
38713
|
-
public
|
|
38714
|
-
return
|
|
38715
|
-
.
|
|
41635
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
41636
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41637
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38716
41638
|
.then((request) => request(this.axios, this.basePath));
|
|
38717
41639
|
}
|
|
38718
41640
|
|
|
38719
41641
|
/**
|
|
38720
|
-
*
|
|
38721
|
-
* @summary
|
|
38722
|
-
* @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
|
|
38723
41644
|
* @param {*} [options] Override http request option.
|
|
38724
41645
|
* @throws {RequiredError}
|
|
38725
|
-
* @memberof
|
|
41646
|
+
* @memberof StorefrontConfigApi
|
|
38726
41647
|
*/
|
|
38727
|
-
public
|
|
38728
|
-
return
|
|
38729
|
-
.
|
|
41648
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
41649
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41650
|
+
.storefrontConfigControllerListTemplates(options)
|
|
38730
41651
|
.then((request) => request(this.axios, this.basePath));
|
|
38731
41652
|
}
|
|
38732
41653
|
|
|
38733
41654
|
/**
|
|
38734
|
-
*
|
|
38735
|
-
* @summary
|
|
38736
|
-
* @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
|
|
38737
41659
|
* @param {*} [options] Override http request option.
|
|
38738
41660
|
* @throws {RequiredError}
|
|
38739
|
-
* @memberof
|
|
41661
|
+
* @memberof StorefrontConfigApi
|
|
38740
41662
|
*/
|
|
38741
|
-
public
|
|
38742
|
-
|
|
38743
|
-
|
|
41663
|
+
public storefrontConfigControllerSetConfig(
|
|
41664
|
+
gameServerId: string,
|
|
41665
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41666
|
+
options?: RawAxiosRequestConfig,
|
|
41667
|
+
) {
|
|
41668
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41669
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38744
41670
|
.then((request) => request(this.axios, this.basePath));
|
|
38745
41671
|
}
|
|
38746
41672
|
}
|
|
@@ -39328,6 +42254,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39328
42254
|
options: localVarRequestOptions,
|
|
39329
42255
|
};
|
|
39330
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
|
+
},
|
|
39331
42287
|
/**
|
|
39332
42288
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39333
42289
|
* @summary Create
|
|
@@ -39433,6 +42389,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39433
42389
|
* @summary Invite
|
|
39434
42390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39435
42391
|
* @param {*} [options] Override http request option.
|
|
42392
|
+
* @deprecated
|
|
39436
42393
|
* @throws {RequiredError}
|
|
39437
42394
|
*/
|
|
39438
42395
|
userControllerInvite: async (
|
|
@@ -39834,6 +42791,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39834
42791
|
configuration,
|
|
39835
42792
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39836
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
|
+
},
|
|
39837
42815
|
/**
|
|
39838
42816
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39839
42817
|
* @summary Create
|
|
@@ -39906,6 +42884,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39906
42884
|
* @summary Invite
|
|
39907
42885
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39908
42886
|
* @param {*} [options] Override http request option.
|
|
42887
|
+
* @deprecated
|
|
39909
42888
|
* @throws {RequiredError}
|
|
39910
42889
|
*/
|
|
39911
42890
|
async userControllerInvite(
|
|
@@ -40163,6 +43142,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40163
43142
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40164
43143
|
.then((request) => request(axios, basePath));
|
|
40165
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
|
+
},
|
|
40166
43154
|
/**
|
|
40167
43155
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40168
43156
|
* @summary Create
|
|
@@ -40200,6 +43188,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40200
43188
|
* @summary Invite
|
|
40201
43189
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40202
43190
|
* @param {*} [options] Override http request option.
|
|
43191
|
+
* @deprecated
|
|
40203
43192
|
* @throws {RequiredError}
|
|
40204
43193
|
*/
|
|
40205
43194
|
userControllerInvite(
|
|
@@ -40341,6 +43330,19 @@ export class UserApi extends BaseAPI {
|
|
|
40341
43330
|
.then((request) => request(this.axios, this.basePath));
|
|
40342
43331
|
}
|
|
40343
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
|
+
|
|
40344
43346
|
/**
|
|
40345
43347
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40346
43348
|
* @summary Create
|
|
@@ -40387,6 +43389,7 @@ export class UserApi extends BaseAPI {
|
|
|
40387
43389
|
* @summary Invite
|
|
40388
43390
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40389
43391
|
* @param {*} [options] Override http request option.
|
|
43392
|
+
* @deprecated
|
|
40390
43393
|
* @throws {RequiredError}
|
|
40391
43394
|
* @memberof UserApi
|
|
40392
43395
|
*/
|
|
@@ -40532,6 +43535,47 @@ export class UserApi extends BaseAPI {
|
|
|
40532
43535
|
*/
|
|
40533
43536
|
export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40534
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
|
+
},
|
|
40535
43579
|
/**
|
|
40536
43580
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
40537
43581
|
* @summary Create
|
|
@@ -40727,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
40727
43771
|
export const VariableApiFp = function (configuration?: Configuration) {
|
|
40728
43772
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
40729
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
|
+
},
|
|
40730
43800
|
/**
|
|
40731
43801
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
40732
43802
|
* @summary Create
|
|
@@ -40861,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
|
|
|
40861
43931
|
export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40862
43932
|
const localVarFp = VariableApiFp(configuration);
|
|
40863
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
|
+
},
|
|
40864
43949
|
/**
|
|
40865
43950
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
40866
43951
|
* @summary Create
|
|
@@ -40938,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
|
|
|
40938
44023
|
* @extends {BaseAPI}
|
|
40939
44024
|
*/
|
|
40940
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
|
+
|
|
40941
44043
|
/**
|
|
40942
44044
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
40943
44045
|
* @summary Create
|