@takaro/apiclient 0.0.0-dev.4f51172 → 0.0.0-dev.4fa2e36
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 +4375 -2202
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1876 -351
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -0
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +13 -0
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/api.ts +3720 -340
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +16 -0
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -2264,6 +2264,30 @@ export interface DomainCreateInputDTO {
|
|
|
2264
2264
|
* @memberof DomainCreateInputDTO
|
|
2265
2265
|
*/
|
|
2266
2266
|
maxFunctionsInModule?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {number}
|
|
2270
|
+
* @memberof DomainCreateInputDTO
|
|
2271
|
+
*/
|
|
2272
|
+
maxCustomRoles?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {number}
|
|
2276
|
+
* @memberof DomainCreateInputDTO
|
|
2277
|
+
*/
|
|
2278
|
+
maxDiscordLinkedRoles?: number;
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @type {string}
|
|
2282
|
+
* @memberof DomainCreateInputDTO
|
|
2283
|
+
*/
|
|
2284
|
+
serverRegistrationToken?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {boolean}
|
|
2288
|
+
* @memberof DomainCreateInputDTO
|
|
2289
|
+
*/
|
|
2290
|
+
skipBuiltinSeeding?: boolean;
|
|
2267
2291
|
}
|
|
2268
2292
|
|
|
2269
2293
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2446,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2446
|
* @memberof DomainOutputDTO
|
|
2423
2447
|
*/
|
|
2424
2448
|
maxFunctionsInModule: number;
|
|
2449
|
+
/**
|
|
2450
|
+
*
|
|
2451
|
+
* @type {number}
|
|
2452
|
+
* @memberof DomainOutputDTO
|
|
2453
|
+
*/
|
|
2454
|
+
maxCustomRoles: number;
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof DomainOutputDTO
|
|
2459
|
+
*/
|
|
2460
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2461
|
/**
|
|
2426
2462
|
*
|
|
2427
2463
|
* @type {string}
|
|
@@ -2653,6 +2689,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2689
|
* @memberof DomainUpdateInputDTO
|
|
2654
2690
|
*/
|
|
2655
2691
|
maxFunctionsInModule?: number;
|
|
2692
|
+
/**
|
|
2693
|
+
*
|
|
2694
|
+
* @type {number}
|
|
2695
|
+
* @memberof DomainUpdateInputDTO
|
|
2696
|
+
*/
|
|
2697
|
+
maxCustomRoles?: number;
|
|
2698
|
+
/**
|
|
2699
|
+
*
|
|
2700
|
+
* @type {number}
|
|
2701
|
+
* @memberof DomainUpdateInputDTO
|
|
2702
|
+
*/
|
|
2703
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2704
|
}
|
|
2657
2705
|
|
|
2658
2706
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -2664,6 +2712,50 @@ export const DomainUpdateInputDTOStateEnum = {
|
|
|
2664
2712
|
export type DomainUpdateInputDTOStateEnum =
|
|
2665
2713
|
(typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
|
|
2666
2714
|
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @export
|
|
2718
|
+
* @interface EffectiveStorefrontConfigDTO
|
|
2719
|
+
*/
|
|
2720
|
+
export interface EffectiveStorefrontConfigDTO {
|
|
2721
|
+
/**
|
|
2722
|
+
*
|
|
2723
|
+
* @type {string}
|
|
2724
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2725
|
+
*/
|
|
2726
|
+
templateId: string;
|
|
2727
|
+
/**
|
|
2728
|
+
*
|
|
2729
|
+
* @type {object}
|
|
2730
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2731
|
+
*/
|
|
2732
|
+
values: object;
|
|
2733
|
+
/**
|
|
2734
|
+
*
|
|
2735
|
+
* @type {object}
|
|
2736
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2737
|
+
*/
|
|
2738
|
+
schema: object;
|
|
2739
|
+
}
|
|
2740
|
+
/**
|
|
2741
|
+
*
|
|
2742
|
+
* @export
|
|
2743
|
+
* @interface EffectiveStorefrontConfigOutputDTOAPI
|
|
2744
|
+
*/
|
|
2745
|
+
export interface EffectiveStorefrontConfigOutputDTOAPI {
|
|
2746
|
+
/**
|
|
2747
|
+
*
|
|
2748
|
+
* @type {EffectiveStorefrontConfigDTO}
|
|
2749
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2750
|
+
*/
|
|
2751
|
+
data: EffectiveStorefrontConfigDTO;
|
|
2752
|
+
/**
|
|
2753
|
+
*
|
|
2754
|
+
* @type {MetadataOutput}
|
|
2755
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2756
|
+
*/
|
|
2757
|
+
meta: MetadataOutput;
|
|
2758
|
+
}
|
|
2667
2759
|
/**
|
|
2668
2760
|
*
|
|
2669
2761
|
* @export
|
|
@@ -3219,6 +3311,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
3219
3311
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3220
3312
|
EventRateLimited: 'event-rate-limited',
|
|
3221
3313
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3314
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3222
3315
|
PlayerConnected: 'player-connected',
|
|
3223
3316
|
PlayerDisconnected: 'player-disconnected',
|
|
3224
3317
|
ChatMessage: 'chat-message',
|
|
@@ -3437,6 +3530,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
|
|
|
3437
3530
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3438
3531
|
EventRateLimited: 'event-rate-limited',
|
|
3439
3532
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3533
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3440
3534
|
PlayerConnected: 'player-connected',
|
|
3441
3535
|
PlayerDisconnected: 'player-disconnected',
|
|
3442
3536
|
ChatMessage: 'chat-message',
|
|
@@ -3807,6 +3901,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3807
3901
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
3808
3902
|
EventRateLimited: 'event-rate-limited',
|
|
3809
3903
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
3904
|
+
InviteLinkCreated: 'invite-link-created',
|
|
3810
3905
|
PlayerConnected: 'player-connected',
|
|
3811
3906
|
PlayerDisconnected: 'player-disconnected',
|
|
3812
3907
|
ChatMessage: 'chat-message',
|
|
@@ -3839,6 +3934,7 @@ export type EventOutputDTOMeta =
|
|
|
3839
3934
|
| TakaroEventGameserverDeleted
|
|
3840
3935
|
| TakaroEventGameserverUpdated
|
|
3841
3936
|
| TakaroEventHookExecuted
|
|
3937
|
+
| TakaroEventInviteLinkCreated
|
|
3842
3938
|
| TakaroEventModuleCreated
|
|
3843
3939
|
| TakaroEventModuleDeleted
|
|
3844
3940
|
| TakaroEventModuleInstalled
|
|
@@ -4046,6 +4142,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
4046
4142
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
4047
4143
|
EventRateLimited: 'event-rate-limited',
|
|
4048
4144
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
4145
|
+
InviteLinkCreated: 'invite-link-created',
|
|
4049
4146
|
PlayerConnected: 'player-connected',
|
|
4050
4147
|
PlayerDisconnected: 'player-disconnected',
|
|
4051
4148
|
ChatMessage: 'chat-message',
|
|
@@ -5540,6 +5637,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
5540
5637
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5541
5638
|
EventRateLimited: 'event-rate-limited',
|
|
5542
5639
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5640
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5543
5641
|
} as const;
|
|
5544
5642
|
|
|
5545
5643
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -5703,6 +5801,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
5703
5801
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5704
5802
|
EventRateLimited: 'event-rate-limited',
|
|
5705
5803
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5804
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5706
5805
|
} as const;
|
|
5707
5806
|
|
|
5708
5807
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -5811,6 +5910,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
5811
5910
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5812
5911
|
EventRateLimited: 'event-rate-limited',
|
|
5813
5912
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
5913
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5814
5914
|
} as const;
|
|
5815
5915
|
|
|
5816
5916
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -5991,6 +6091,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
5991
6091
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
5992
6092
|
EventRateLimited: 'event-rate-limited',
|
|
5993
6093
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6094
|
+
InviteLinkCreated: 'invite-link-created',
|
|
5994
6095
|
} as const;
|
|
5995
6096
|
|
|
5996
6097
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -6081,6 +6182,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
6081
6182
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6082
6183
|
EventRateLimited: 'event-rate-limited',
|
|
6083
6184
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6185
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6084
6186
|
} as const;
|
|
6085
6187
|
|
|
6086
6188
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -6413,6 +6515,7 @@ export const IHookEventTypeEnum = {
|
|
|
6413
6515
|
PlayerInventoryChanged: 'player-inventory-changed',
|
|
6414
6516
|
EventRateLimited: 'event-rate-limited',
|
|
6415
6517
|
PlayerSyncSnapshot: 'player-sync-snapshot',
|
|
6518
|
+
InviteLinkCreated: 'invite-link-created',
|
|
6416
6519
|
} as const;
|
|
6417
6520
|
|
|
6418
6521
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -6842,6 +6945,462 @@ export interface InviteCreateDTO {
|
|
|
6842
6945
|
*/
|
|
6843
6946
|
email: string;
|
|
6844
6947
|
}
|
|
6948
|
+
/**
|
|
6949
|
+
*
|
|
6950
|
+
* @export
|
|
6951
|
+
* @interface InviteLinkCreateInputDTO
|
|
6952
|
+
*/
|
|
6953
|
+
export interface InviteLinkCreateInputDTO {
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @type {Array<string>}
|
|
6957
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6958
|
+
*/
|
|
6959
|
+
roleIds?: Array<string>;
|
|
6960
|
+
/**
|
|
6961
|
+
*
|
|
6962
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6963
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6964
|
+
*/
|
|
6965
|
+
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6966
|
+
/**
|
|
6967
|
+
*
|
|
6968
|
+
* @type {number}
|
|
6969
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6970
|
+
*/
|
|
6971
|
+
maxUses?: number;
|
|
6972
|
+
}
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @export
|
|
6976
|
+
* @interface InviteLinkCreateResultDTO
|
|
6977
|
+
*/
|
|
6978
|
+
export interface InviteLinkCreateResultDTO {
|
|
6979
|
+
/**
|
|
6980
|
+
*
|
|
6981
|
+
* @type {string}
|
|
6982
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6983
|
+
*/
|
|
6984
|
+
inviteUrl: string;
|
|
6985
|
+
/**
|
|
6986
|
+
*
|
|
6987
|
+
* @type {string}
|
|
6988
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6989
|
+
*/
|
|
6990
|
+
token: string;
|
|
6991
|
+
/**
|
|
6992
|
+
*
|
|
6993
|
+
* @type {string}
|
|
6994
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6995
|
+
*/
|
|
6996
|
+
id: string;
|
|
6997
|
+
/**
|
|
6998
|
+
*
|
|
6999
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7000
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7001
|
+
*/
|
|
7002
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7003
|
+
/**
|
|
7004
|
+
*
|
|
7005
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7006
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7007
|
+
*/
|
|
7008
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7009
|
+
/**
|
|
7010
|
+
*
|
|
7011
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7012
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7013
|
+
*/
|
|
7014
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7015
|
+
/**
|
|
7016
|
+
*
|
|
7017
|
+
* @type {number}
|
|
7018
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7019
|
+
*/
|
|
7020
|
+
maxUses?: number;
|
|
7021
|
+
/**
|
|
7022
|
+
*
|
|
7023
|
+
* @type {number}
|
|
7024
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7025
|
+
*/
|
|
7026
|
+
uses: number;
|
|
7027
|
+
/**
|
|
7028
|
+
*
|
|
7029
|
+
* @type {number}
|
|
7030
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7031
|
+
*/
|
|
7032
|
+
remaining?: number;
|
|
7033
|
+
/**
|
|
7034
|
+
*
|
|
7035
|
+
* @type {string}
|
|
7036
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7037
|
+
*/
|
|
7038
|
+
status: InviteLinkCreateResultDTOStatusEnum;
|
|
7039
|
+
/**
|
|
7040
|
+
*
|
|
7041
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7042
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7043
|
+
*/
|
|
7044
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7045
|
+
/**
|
|
7046
|
+
*
|
|
7047
|
+
* @type {string}
|
|
7048
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7049
|
+
*/
|
|
7050
|
+
createdBy?: string;
|
|
7051
|
+
/**
|
|
7052
|
+
*
|
|
7053
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7054
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7055
|
+
*/
|
|
7056
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7057
|
+
}
|
|
7058
|
+
|
|
7059
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
7060
|
+
Active: 'ACTIVE',
|
|
7061
|
+
Revoked: 'REVOKED',
|
|
7062
|
+
Expired: 'EXPIRED',
|
|
7063
|
+
Depleted: 'DEPLETED',
|
|
7064
|
+
} as const;
|
|
7065
|
+
|
|
7066
|
+
export type InviteLinkCreateResultDTOStatusEnum =
|
|
7067
|
+
(typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
|
|
7068
|
+
|
|
7069
|
+
/**
|
|
7070
|
+
*
|
|
7071
|
+
* @export
|
|
7072
|
+
* @interface InviteLinkCreateResultDTOAPI
|
|
7073
|
+
*/
|
|
7074
|
+
export interface InviteLinkCreateResultDTOAPI {
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @type {InviteLinkCreateResultDTO}
|
|
7078
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7079
|
+
*/
|
|
7080
|
+
data: InviteLinkCreateResultDTO;
|
|
7081
|
+
/**
|
|
7082
|
+
*
|
|
7083
|
+
* @type {MetadataOutput}
|
|
7084
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7085
|
+
*/
|
|
7086
|
+
meta: MetadataOutput;
|
|
7087
|
+
}
|
|
7088
|
+
/**
|
|
7089
|
+
*
|
|
7090
|
+
* @export
|
|
7091
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7092
|
+
*/
|
|
7093
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7094
|
+
/**
|
|
7095
|
+
*
|
|
7096
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7097
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7098
|
+
*/
|
|
7099
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7100
|
+
/**
|
|
7101
|
+
*
|
|
7102
|
+
* @type {MetadataOutput}
|
|
7103
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7104
|
+
*/
|
|
7105
|
+
meta: MetadataOutput;
|
|
7106
|
+
}
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @export
|
|
7110
|
+
* @interface InviteLinkOutputDTO
|
|
7111
|
+
*/
|
|
7112
|
+
export interface InviteLinkOutputDTO {
|
|
7113
|
+
/**
|
|
7114
|
+
*
|
|
7115
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7116
|
+
* @memberof InviteLinkOutputDTO
|
|
7117
|
+
*/
|
|
7118
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7119
|
+
/**
|
|
7120
|
+
*
|
|
7121
|
+
* @type {number}
|
|
7122
|
+
* @memberof InviteLinkOutputDTO
|
|
7123
|
+
*/
|
|
7124
|
+
maxUses?: number;
|
|
7125
|
+
/**
|
|
7126
|
+
*
|
|
7127
|
+
* @type {number}
|
|
7128
|
+
* @memberof InviteLinkOutputDTO
|
|
7129
|
+
*/
|
|
7130
|
+
uses: number;
|
|
7131
|
+
/**
|
|
7132
|
+
*
|
|
7133
|
+
* @type {number}
|
|
7134
|
+
* @memberof InviteLinkOutputDTO
|
|
7135
|
+
*/
|
|
7136
|
+
remaining?: number;
|
|
7137
|
+
/**
|
|
7138
|
+
*
|
|
7139
|
+
* @type {string}
|
|
7140
|
+
* @memberof InviteLinkOutputDTO
|
|
7141
|
+
*/
|
|
7142
|
+
status: InviteLinkOutputDTOStatusEnum;
|
|
7143
|
+
/**
|
|
7144
|
+
*
|
|
7145
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7146
|
+
* @memberof InviteLinkOutputDTO
|
|
7147
|
+
*/
|
|
7148
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7149
|
+
/**
|
|
7150
|
+
*
|
|
7151
|
+
* @type {string}
|
|
7152
|
+
* @memberof InviteLinkOutputDTO
|
|
7153
|
+
*/
|
|
7154
|
+
createdBy?: string;
|
|
7155
|
+
/**
|
|
7156
|
+
*
|
|
7157
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7158
|
+
* @memberof InviteLinkOutputDTO
|
|
7159
|
+
*/
|
|
7160
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7161
|
+
/**
|
|
7162
|
+
*
|
|
7163
|
+
* @type {string}
|
|
7164
|
+
* @memberof InviteLinkOutputDTO
|
|
7165
|
+
*/
|
|
7166
|
+
id: string;
|
|
7167
|
+
/**
|
|
7168
|
+
*
|
|
7169
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7170
|
+
* @memberof InviteLinkOutputDTO
|
|
7171
|
+
*/
|
|
7172
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7176
|
+
* @memberof InviteLinkOutputDTO
|
|
7177
|
+
*/
|
|
7178
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7179
|
+
}
|
|
7180
|
+
|
|
7181
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
7182
|
+
Active: 'ACTIVE',
|
|
7183
|
+
Revoked: 'REVOKED',
|
|
7184
|
+
Expired: 'EXPIRED',
|
|
7185
|
+
Depleted: 'DEPLETED',
|
|
7186
|
+
} as const;
|
|
7187
|
+
|
|
7188
|
+
export type InviteLinkOutputDTOStatusEnum =
|
|
7189
|
+
(typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
|
|
7190
|
+
|
|
7191
|
+
/**
|
|
7192
|
+
*
|
|
7193
|
+
* @export
|
|
7194
|
+
* @interface InviteLinkOutputDTOAPI
|
|
7195
|
+
*/
|
|
7196
|
+
export interface InviteLinkOutputDTOAPI {
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @type {InviteLinkOutputDTO}
|
|
7200
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7201
|
+
*/
|
|
7202
|
+
data: InviteLinkOutputDTO;
|
|
7203
|
+
/**
|
|
7204
|
+
*
|
|
7205
|
+
* @type {MetadataOutput}
|
|
7206
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7207
|
+
*/
|
|
7208
|
+
meta: MetadataOutput;
|
|
7209
|
+
}
|
|
7210
|
+
/**
|
|
7211
|
+
*
|
|
7212
|
+
* @export
|
|
7213
|
+
* @interface InviteLinkPreviewDTO
|
|
7214
|
+
*/
|
|
7215
|
+
export interface InviteLinkPreviewDTO {
|
|
7216
|
+
/**
|
|
7217
|
+
*
|
|
7218
|
+
* @type {InviteLinkPreviewDomainDTO}
|
|
7219
|
+
* @memberof InviteLinkPreviewDTO
|
|
7220
|
+
*/
|
|
7221
|
+
domain: InviteLinkPreviewDomainDTO;
|
|
7222
|
+
/**
|
|
7223
|
+
*
|
|
7224
|
+
* @type {Array<InviteLinkPreviewRoleDTO>}
|
|
7225
|
+
* @memberof InviteLinkPreviewDTO
|
|
7226
|
+
*/
|
|
7227
|
+
roles: Array<InviteLinkPreviewRoleDTO>;
|
|
7228
|
+
/**
|
|
7229
|
+
*
|
|
7230
|
+
* @type {string}
|
|
7231
|
+
* @memberof InviteLinkPreviewDTO
|
|
7232
|
+
*/
|
|
7233
|
+
status: InviteLinkPreviewDTOStatusEnum;
|
|
7234
|
+
/**
|
|
7235
|
+
*
|
|
7236
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7237
|
+
* @memberof InviteLinkPreviewDTO
|
|
7238
|
+
*/
|
|
7239
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7240
|
+
/**
|
|
7241
|
+
*
|
|
7242
|
+
* @type {number}
|
|
7243
|
+
* @memberof InviteLinkPreviewDTO
|
|
7244
|
+
*/
|
|
7245
|
+
remaining?: number;
|
|
7246
|
+
}
|
|
7247
|
+
|
|
7248
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
7249
|
+
Active: 'ACTIVE',
|
|
7250
|
+
Revoked: 'REVOKED',
|
|
7251
|
+
Expired: 'EXPIRED',
|
|
7252
|
+
Depleted: 'DEPLETED',
|
|
7253
|
+
} as const;
|
|
7254
|
+
|
|
7255
|
+
export type InviteLinkPreviewDTOStatusEnum =
|
|
7256
|
+
(typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
|
|
7257
|
+
|
|
7258
|
+
/**
|
|
7259
|
+
*
|
|
7260
|
+
* @export
|
|
7261
|
+
* @interface InviteLinkPreviewDTOAPI
|
|
7262
|
+
*/
|
|
7263
|
+
export interface InviteLinkPreviewDTOAPI {
|
|
7264
|
+
/**
|
|
7265
|
+
*
|
|
7266
|
+
* @type {InviteLinkPreviewDTO}
|
|
7267
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7268
|
+
*/
|
|
7269
|
+
data: InviteLinkPreviewDTO;
|
|
7270
|
+
/**
|
|
7271
|
+
*
|
|
7272
|
+
* @type {MetadataOutput}
|
|
7273
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7274
|
+
*/
|
|
7275
|
+
meta: MetadataOutput;
|
|
7276
|
+
}
|
|
7277
|
+
/**
|
|
7278
|
+
*
|
|
7279
|
+
* @export
|
|
7280
|
+
* @interface InviteLinkPreviewDomainDTO
|
|
7281
|
+
*/
|
|
7282
|
+
export interface InviteLinkPreviewDomainDTO {
|
|
7283
|
+
/**
|
|
7284
|
+
*
|
|
7285
|
+
* @type {string}
|
|
7286
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7287
|
+
*/
|
|
7288
|
+
id: string;
|
|
7289
|
+
/**
|
|
7290
|
+
*
|
|
7291
|
+
* @type {string}
|
|
7292
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7293
|
+
*/
|
|
7294
|
+
name: string;
|
|
7295
|
+
}
|
|
7296
|
+
/**
|
|
7297
|
+
*
|
|
7298
|
+
* @export
|
|
7299
|
+
* @interface InviteLinkPreviewRoleDTO
|
|
7300
|
+
*/
|
|
7301
|
+
export interface InviteLinkPreviewRoleDTO {
|
|
7302
|
+
/**
|
|
7303
|
+
*
|
|
7304
|
+
* @type {string}
|
|
7305
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7306
|
+
*/
|
|
7307
|
+
id: string;
|
|
7308
|
+
/**
|
|
7309
|
+
*
|
|
7310
|
+
* @type {string}
|
|
7311
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7312
|
+
*/
|
|
7313
|
+
name: string;
|
|
7314
|
+
}
|
|
7315
|
+
/**
|
|
7316
|
+
*
|
|
7317
|
+
* @export
|
|
7318
|
+
* @interface InviteLinkRoleDTO
|
|
7319
|
+
*/
|
|
7320
|
+
export interface InviteLinkRoleDTO {
|
|
7321
|
+
/**
|
|
7322
|
+
*
|
|
7323
|
+
* @type {string}
|
|
7324
|
+
* @memberof InviteLinkRoleDTO
|
|
7325
|
+
*/
|
|
7326
|
+
roleId: string;
|
|
7327
|
+
/**
|
|
7328
|
+
*
|
|
7329
|
+
* @type {string}
|
|
7330
|
+
* @memberof InviteLinkRoleDTO
|
|
7331
|
+
*/
|
|
7332
|
+
name: string;
|
|
7333
|
+
}
|
|
7334
|
+
/**
|
|
7335
|
+
*
|
|
7336
|
+
* @export
|
|
7337
|
+
* @interface InviteLinkSearchInputDTO
|
|
7338
|
+
*/
|
|
7339
|
+
export interface InviteLinkSearchInputDTO {
|
|
7340
|
+
/**
|
|
7341
|
+
*
|
|
7342
|
+
* @type {string}
|
|
7343
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7344
|
+
*/
|
|
7345
|
+
sortBy?: string;
|
|
7346
|
+
/**
|
|
7347
|
+
*
|
|
7348
|
+
* @type {any}
|
|
7349
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7350
|
+
*/
|
|
7351
|
+
filters?: any;
|
|
7352
|
+
/**
|
|
7353
|
+
*
|
|
7354
|
+
* @type {any}
|
|
7355
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7356
|
+
*/
|
|
7357
|
+
search?: any;
|
|
7358
|
+
/**
|
|
7359
|
+
*
|
|
7360
|
+
* @type {any}
|
|
7361
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7362
|
+
*/
|
|
7363
|
+
greaterThan?: any;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {any}
|
|
7367
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7368
|
+
*/
|
|
7369
|
+
lessThan?: any;
|
|
7370
|
+
/**
|
|
7371
|
+
*
|
|
7372
|
+
* @type {number}
|
|
7373
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7374
|
+
*/
|
|
7375
|
+
page?: number;
|
|
7376
|
+
/**
|
|
7377
|
+
*
|
|
7378
|
+
* @type {number}
|
|
7379
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7380
|
+
*/
|
|
7381
|
+
limit?: number;
|
|
7382
|
+
/**
|
|
7383
|
+
*
|
|
7384
|
+
* @type {string}
|
|
7385
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7386
|
+
*/
|
|
7387
|
+
sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
|
|
7388
|
+
/**
|
|
7389
|
+
*
|
|
7390
|
+
* @type {Array<string>}
|
|
7391
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7392
|
+
*/
|
|
7393
|
+
extend?: Array<string>;
|
|
7394
|
+
}
|
|
7395
|
+
|
|
7396
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
7397
|
+
Asc: 'asc',
|
|
7398
|
+
Desc: 'desc',
|
|
7399
|
+
} as const;
|
|
7400
|
+
|
|
7401
|
+
export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
7402
|
+
(typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
|
|
7403
|
+
|
|
6845
7404
|
/**
|
|
6846
7405
|
*
|
|
6847
7406
|
* @export
|
|
@@ -7444,6 +8003,32 @@ export interface LoginOutputDTOAPI {
|
|
|
7444
8003
|
*/
|
|
7445
8004
|
meta: MetadataOutput;
|
|
7446
8005
|
}
|
|
8006
|
+
/**
|
|
8007
|
+
*
|
|
8008
|
+
* @export
|
|
8009
|
+
* @interface LoginQueryParams
|
|
8010
|
+
*/
|
|
8011
|
+
export interface LoginQueryParams {
|
|
8012
|
+
/**
|
|
8013
|
+
*
|
|
8014
|
+
* @type {string}
|
|
8015
|
+
* @memberof LoginQueryParams
|
|
8016
|
+
*/
|
|
8017
|
+
redirect?: string;
|
|
8018
|
+
}
|
|
8019
|
+
/**
|
|
8020
|
+
*
|
|
8021
|
+
* @export
|
|
8022
|
+
* @interface LogoutQueryParams
|
|
8023
|
+
*/
|
|
8024
|
+
export interface LogoutQueryParams {
|
|
8025
|
+
/**
|
|
8026
|
+
*
|
|
8027
|
+
* @type {string}
|
|
8028
|
+
* @memberof LogoutQueryParams
|
|
8029
|
+
*/
|
|
8030
|
+
redirect?: string;
|
|
8031
|
+
}
|
|
7447
8032
|
/**
|
|
7448
8033
|
*
|
|
7449
8034
|
* @export
|
|
@@ -7567,7 +8152,7 @@ export interface MeOutputDTO {
|
|
|
7567
8152
|
* @type {UserOutputWithRolesDTO}
|
|
7568
8153
|
* @memberof MeOutputDTO
|
|
7569
8154
|
*/
|
|
7570
|
-
user
|
|
8155
|
+
user?: UserOutputWithRolesDTO;
|
|
7571
8156
|
/**
|
|
7572
8157
|
*
|
|
7573
8158
|
* @type {Array<DomainOutputDTO>}
|
|
@@ -7579,7 +8164,7 @@ export interface MeOutputDTO {
|
|
|
7579
8164
|
* @type {string}
|
|
7580
8165
|
* @memberof MeOutputDTO
|
|
7581
8166
|
*/
|
|
7582
|
-
domain
|
|
8167
|
+
domain?: string;
|
|
7583
8168
|
/**
|
|
7584
8169
|
*
|
|
7585
8170
|
* @type {PlayerOutputWithRolesDTO}
|
|
@@ -8073,6 +8658,98 @@ export interface ModuleInstallParamId {
|
|
|
8073
8658
|
*/
|
|
8074
8659
|
gameServerId: string;
|
|
8075
8660
|
}
|
|
8661
|
+
/**
|
|
8662
|
+
*
|
|
8663
|
+
* @export
|
|
8664
|
+
* @interface ModuleInstallationKpisDTO
|
|
8665
|
+
*/
|
|
8666
|
+
export interface ModuleInstallationKpisDTO {
|
|
8667
|
+
/**
|
|
8668
|
+
*
|
|
8669
|
+
* @type {number}
|
|
8670
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8671
|
+
*/
|
|
8672
|
+
runs: number;
|
|
8673
|
+
/**
|
|
8674
|
+
*
|
|
8675
|
+
* @type {number}
|
|
8676
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8677
|
+
*/
|
|
8678
|
+
failures: number;
|
|
8679
|
+
/**
|
|
8680
|
+
*
|
|
8681
|
+
* @type {number}
|
|
8682
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8683
|
+
*/
|
|
8684
|
+
successRate: number;
|
|
8685
|
+
}
|
|
8686
|
+
/**
|
|
8687
|
+
*
|
|
8688
|
+
* @export
|
|
8689
|
+
* @interface ModuleInstallationKpisDTOAPI
|
|
8690
|
+
*/
|
|
8691
|
+
export interface ModuleInstallationKpisDTOAPI {
|
|
8692
|
+
/**
|
|
8693
|
+
*
|
|
8694
|
+
* @type {ModuleInstallationKpisDTO}
|
|
8695
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8696
|
+
*/
|
|
8697
|
+
data: ModuleInstallationKpisDTO;
|
|
8698
|
+
/**
|
|
8699
|
+
*
|
|
8700
|
+
* @type {MetadataOutput}
|
|
8701
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8702
|
+
*/
|
|
8703
|
+
meta: MetadataOutput;
|
|
8704
|
+
}
|
|
8705
|
+
/**
|
|
8706
|
+
*
|
|
8707
|
+
* @export
|
|
8708
|
+
* @interface ModuleInstallationKpisQueryDTO
|
|
8709
|
+
*/
|
|
8710
|
+
export interface ModuleInstallationKpisQueryDTO {
|
|
8711
|
+
/**
|
|
8712
|
+
*
|
|
8713
|
+
* @type {string}
|
|
8714
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8715
|
+
*/
|
|
8716
|
+
startDate?: string;
|
|
8717
|
+
/**
|
|
8718
|
+
*
|
|
8719
|
+
* @type {string}
|
|
8720
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8721
|
+
*/
|
|
8722
|
+
endDate?: string;
|
|
8723
|
+
/**
|
|
8724
|
+
*
|
|
8725
|
+
* @type {string}
|
|
8726
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8727
|
+
*/
|
|
8728
|
+
gameServerId: string;
|
|
8729
|
+
/**
|
|
8730
|
+
*
|
|
8731
|
+
* @type {string}
|
|
8732
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8733
|
+
*/
|
|
8734
|
+
moduleId: string;
|
|
8735
|
+
/**
|
|
8736
|
+
*
|
|
8737
|
+
* @type {string}
|
|
8738
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8739
|
+
*/
|
|
8740
|
+
period?: ModuleInstallationKpisQueryDTOPeriodEnum;
|
|
8741
|
+
}
|
|
8742
|
+
|
|
8743
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
8744
|
+
_24h: '24h',
|
|
8745
|
+
_7d: '7d',
|
|
8746
|
+
_30d: '30d',
|
|
8747
|
+
_90d: '90d',
|
|
8748
|
+
} as const;
|
|
8749
|
+
|
|
8750
|
+
export type ModuleInstallationKpisQueryDTOPeriodEnum =
|
|
8751
|
+
(typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
|
|
8752
|
+
|
|
8076
8753
|
/**
|
|
8077
8754
|
*
|
|
8078
8755
|
* @export
|
|
@@ -8684,6 +9361,12 @@ export interface ModuleTransferVersionDTO {
|
|
|
8684
9361
|
* @memberof ModuleTransferVersionDTO
|
|
8685
9362
|
*/
|
|
8686
9363
|
uiSchema: string;
|
|
9364
|
+
/**
|
|
9365
|
+
*
|
|
9366
|
+
* @type {string}
|
|
9367
|
+
* @memberof ModuleTransferVersionDTO
|
|
9368
|
+
*/
|
|
9369
|
+
defaultSystemConfig?: string;
|
|
8687
9370
|
/**
|
|
8688
9371
|
*
|
|
8689
9372
|
* @type {Array<ICommand>}
|
|
@@ -8838,6 +9521,24 @@ export interface ModuleVersionOutputDTO {
|
|
|
8838
9521
|
* @memberof ModuleVersionOutputDTO
|
|
8839
9522
|
*/
|
|
8840
9523
|
moduleId: string;
|
|
9524
|
+
/**
|
|
9525
|
+
*
|
|
9526
|
+
* @type {string}
|
|
9527
|
+
* @memberof ModuleVersionOutputDTO
|
|
9528
|
+
*/
|
|
9529
|
+
registryId?: string;
|
|
9530
|
+
/**
|
|
9531
|
+
*
|
|
9532
|
+
* @type {string}
|
|
9533
|
+
* @memberof ModuleVersionOutputDTO
|
|
9534
|
+
*/
|
|
9535
|
+
sourceModuleName?: string;
|
|
9536
|
+
/**
|
|
9537
|
+
*
|
|
9538
|
+
* @type {string}
|
|
9539
|
+
* @memberof ModuleVersionOutputDTO
|
|
9540
|
+
*/
|
|
9541
|
+
sourceVersion?: string;
|
|
8841
9542
|
/**
|
|
8842
9543
|
*
|
|
8843
9544
|
* @type {Array<CronJobOutputDTO>}
|
|
@@ -11893,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
11893
12594
|
|
|
11894
12595
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
11895
12596
|
|
|
12597
|
+
/**
|
|
12598
|
+
*
|
|
12599
|
+
* @export
|
|
12600
|
+
* @interface RedeemInputDTO
|
|
12601
|
+
*/
|
|
12602
|
+
export interface RedeemInputDTO {
|
|
12603
|
+
/**
|
|
12604
|
+
*
|
|
12605
|
+
* @type {string}
|
|
12606
|
+
* @memberof RedeemInputDTO
|
|
12607
|
+
*/
|
|
12608
|
+
token: string;
|
|
12609
|
+
}
|
|
11896
12610
|
/**
|
|
11897
12611
|
*
|
|
11898
12612
|
* @export
|
|
@@ -11906,6 +12620,386 @@ export interface RedirectQs {
|
|
|
11906
12620
|
*/
|
|
11907
12621
|
redirect: string;
|
|
11908
12622
|
}
|
|
12623
|
+
/**
|
|
12624
|
+
*
|
|
12625
|
+
* @export
|
|
12626
|
+
* @interface RegistryCreateDTO
|
|
12627
|
+
*/
|
|
12628
|
+
export interface RegistryCreateDTO {
|
|
12629
|
+
/**
|
|
12630
|
+
*
|
|
12631
|
+
* @type {string}
|
|
12632
|
+
* @memberof RegistryCreateDTO
|
|
12633
|
+
*/
|
|
12634
|
+
url: string;
|
|
12635
|
+
/**
|
|
12636
|
+
*
|
|
12637
|
+
* @type {string}
|
|
12638
|
+
* @memberof RegistryCreateDTO
|
|
12639
|
+
*/
|
|
12640
|
+
name?: string;
|
|
12641
|
+
/**
|
|
12642
|
+
*
|
|
12643
|
+
* @type {string}
|
|
12644
|
+
* @memberof RegistryCreateDTO
|
|
12645
|
+
*/
|
|
12646
|
+
description?: string;
|
|
12647
|
+
}
|
|
12648
|
+
/**
|
|
12649
|
+
*
|
|
12650
|
+
* @export
|
|
12651
|
+
* @interface RegistryInstallBody
|
|
12652
|
+
*/
|
|
12653
|
+
export interface RegistryInstallBody {
|
|
12654
|
+
/**
|
|
12655
|
+
*
|
|
12656
|
+
* @type {string}
|
|
12657
|
+
* @memberof RegistryInstallBody
|
|
12658
|
+
*/
|
|
12659
|
+
moduleName: string;
|
|
12660
|
+
/**
|
|
12661
|
+
*
|
|
12662
|
+
* @type {string}
|
|
12663
|
+
* @memberof RegistryInstallBody
|
|
12664
|
+
*/
|
|
12665
|
+
version: string;
|
|
12666
|
+
}
|
|
12667
|
+
/**
|
|
12668
|
+
*
|
|
12669
|
+
* @export
|
|
12670
|
+
* @interface RegistryInstallInputDTO
|
|
12671
|
+
*/
|
|
12672
|
+
export interface RegistryInstallInputDTO {
|
|
12673
|
+
/**
|
|
12674
|
+
*
|
|
12675
|
+
* @type {string}
|
|
12676
|
+
* @memberof RegistryInstallInputDTO
|
|
12677
|
+
*/
|
|
12678
|
+
moduleName: string;
|
|
12679
|
+
/**
|
|
12680
|
+
*
|
|
12681
|
+
* @type {string}
|
|
12682
|
+
* @memberof RegistryInstallInputDTO
|
|
12683
|
+
*/
|
|
12684
|
+
version: string;
|
|
12685
|
+
}
|
|
12686
|
+
/**
|
|
12687
|
+
*
|
|
12688
|
+
* @export
|
|
12689
|
+
* @interface RegistryListOutputDTO
|
|
12690
|
+
*/
|
|
12691
|
+
export interface RegistryListOutputDTO {
|
|
12692
|
+
/**
|
|
12693
|
+
*
|
|
12694
|
+
* @type {string}
|
|
12695
|
+
* @memberof RegistryListOutputDTO
|
|
12696
|
+
*/
|
|
12697
|
+
url: string;
|
|
12698
|
+
/**
|
|
12699
|
+
*
|
|
12700
|
+
* @type {string}
|
|
12701
|
+
* @memberof RegistryListOutputDTO
|
|
12702
|
+
*/
|
|
12703
|
+
name: string;
|
|
12704
|
+
/**
|
|
12705
|
+
*
|
|
12706
|
+
* @type {string}
|
|
12707
|
+
* @memberof RegistryListOutputDTO
|
|
12708
|
+
*/
|
|
12709
|
+
description?: string;
|
|
12710
|
+
/**
|
|
12711
|
+
*
|
|
12712
|
+
* @type {Array<RegistryModuleVersionOutputDTO>}
|
|
12713
|
+
* @memberof RegistryListOutputDTO
|
|
12714
|
+
*/
|
|
12715
|
+
modules?: Array<RegistryModuleVersionOutputDTO>;
|
|
12716
|
+
/**
|
|
12717
|
+
*
|
|
12718
|
+
* @type {string}
|
|
12719
|
+
* @memberof RegistryListOutputDTO
|
|
12720
|
+
*/
|
|
12721
|
+
lastFetchError?: string;
|
|
12722
|
+
/**
|
|
12723
|
+
*
|
|
12724
|
+
* @type {string}
|
|
12725
|
+
* @memberof RegistryListOutputDTO
|
|
12726
|
+
*/
|
|
12727
|
+
id: string;
|
|
12728
|
+
/**
|
|
12729
|
+
*
|
|
12730
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12731
|
+
* @memberof RegistryListOutputDTO
|
|
12732
|
+
*/
|
|
12733
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12734
|
+
/**
|
|
12735
|
+
*
|
|
12736
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12737
|
+
* @memberof RegistryListOutputDTO
|
|
12738
|
+
*/
|
|
12739
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12740
|
+
}
|
|
12741
|
+
/**
|
|
12742
|
+
*
|
|
12743
|
+
* @export
|
|
12744
|
+
* @interface RegistryListOutputDTOAPI
|
|
12745
|
+
*/
|
|
12746
|
+
export interface RegistryListOutputDTOAPI {
|
|
12747
|
+
/**
|
|
12748
|
+
*
|
|
12749
|
+
* @type {Array<RegistryListOutputDTO>}
|
|
12750
|
+
* @memberof RegistryListOutputDTOAPI
|
|
12751
|
+
*/
|
|
12752
|
+
data: Array<RegistryListOutputDTO>;
|
|
12753
|
+
/**
|
|
12754
|
+
*
|
|
12755
|
+
* @type {MetadataOutput}
|
|
12756
|
+
* @memberof RegistryListOutputDTOAPI
|
|
12757
|
+
*/
|
|
12758
|
+
meta: MetadataOutput;
|
|
12759
|
+
}
|
|
12760
|
+
/**
|
|
12761
|
+
*
|
|
12762
|
+
* @export
|
|
12763
|
+
* @interface RegistryManifestDTO
|
|
12764
|
+
*/
|
|
12765
|
+
export interface RegistryManifestDTO {
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @type {string}
|
|
12769
|
+
* @memberof RegistryManifestDTO
|
|
12770
|
+
*/
|
|
12771
|
+
name: string;
|
|
12772
|
+
/**
|
|
12773
|
+
*
|
|
12774
|
+
* @type {string}
|
|
12775
|
+
* @memberof RegistryManifestDTO
|
|
12776
|
+
*/
|
|
12777
|
+
description?: string;
|
|
12778
|
+
/**
|
|
12779
|
+
*
|
|
12780
|
+
* @type {Array<RegistryManifestModuleDTO>}
|
|
12781
|
+
* @memberof RegistryManifestDTO
|
|
12782
|
+
*/
|
|
12783
|
+
modules: Array<RegistryManifestModuleDTO>;
|
|
12784
|
+
}
|
|
12785
|
+
/**
|
|
12786
|
+
*
|
|
12787
|
+
* @export
|
|
12788
|
+
* @interface RegistryManifestModuleDTO
|
|
12789
|
+
*/
|
|
12790
|
+
export interface RegistryManifestModuleDTO {
|
|
12791
|
+
/**
|
|
12792
|
+
*
|
|
12793
|
+
* @type {string}
|
|
12794
|
+
* @memberof RegistryManifestModuleDTO
|
|
12795
|
+
*/
|
|
12796
|
+
name: string;
|
|
12797
|
+
/**
|
|
12798
|
+
*
|
|
12799
|
+
* @type {string}
|
|
12800
|
+
* @memberof RegistryManifestModuleDTO
|
|
12801
|
+
*/
|
|
12802
|
+
latestVersion: string;
|
|
12803
|
+
/**
|
|
12804
|
+
*
|
|
12805
|
+
* @type {Array<string>}
|
|
12806
|
+
* @memberof RegistryManifestModuleDTO
|
|
12807
|
+
*/
|
|
12808
|
+
versions: Array<string>;
|
|
12809
|
+
/**
|
|
12810
|
+
*
|
|
12811
|
+
* @type {string}
|
|
12812
|
+
* @memberof RegistryManifestModuleDTO
|
|
12813
|
+
*/
|
|
12814
|
+
description?: string;
|
|
12815
|
+
}
|
|
12816
|
+
/**
|
|
12817
|
+
*
|
|
12818
|
+
* @export
|
|
12819
|
+
* @interface RegistryModuleVersionOutputDTO
|
|
12820
|
+
*/
|
|
12821
|
+
export interface RegistryModuleVersionOutputDTO {
|
|
12822
|
+
/**
|
|
12823
|
+
*
|
|
12824
|
+
* @type {string}
|
|
12825
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12826
|
+
*/
|
|
12827
|
+
name: string;
|
|
12828
|
+
/**
|
|
12829
|
+
*
|
|
12830
|
+
* @type {Array<string>}
|
|
12831
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12832
|
+
*/
|
|
12833
|
+
versions: Array<string>;
|
|
12834
|
+
/**
|
|
12835
|
+
*
|
|
12836
|
+
* @type {string}
|
|
12837
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12838
|
+
*/
|
|
12839
|
+
latestVersion: string;
|
|
12840
|
+
/**
|
|
12841
|
+
*
|
|
12842
|
+
* @type {string}
|
|
12843
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12844
|
+
*/
|
|
12845
|
+
description?: string;
|
|
12846
|
+
}
|
|
12847
|
+
/**
|
|
12848
|
+
*
|
|
12849
|
+
* @export
|
|
12850
|
+
* @interface RegistryOutputDTO
|
|
12851
|
+
*/
|
|
12852
|
+
export interface RegistryOutputDTO {
|
|
12853
|
+
/**
|
|
12854
|
+
*
|
|
12855
|
+
* @type {string}
|
|
12856
|
+
* @memberof RegistryOutputDTO
|
|
12857
|
+
*/
|
|
12858
|
+
url: string;
|
|
12859
|
+
/**
|
|
12860
|
+
*
|
|
12861
|
+
* @type {string}
|
|
12862
|
+
* @memberof RegistryOutputDTO
|
|
12863
|
+
*/
|
|
12864
|
+
name: string;
|
|
12865
|
+
/**
|
|
12866
|
+
*
|
|
12867
|
+
* @type {string}
|
|
12868
|
+
* @memberof RegistryOutputDTO
|
|
12869
|
+
*/
|
|
12870
|
+
description?: string;
|
|
12871
|
+
/**
|
|
12872
|
+
*
|
|
12873
|
+
* @type {string}
|
|
12874
|
+
* @memberof RegistryOutputDTO
|
|
12875
|
+
*/
|
|
12876
|
+
id: string;
|
|
12877
|
+
/**
|
|
12878
|
+
*
|
|
12879
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12880
|
+
* @memberof RegistryOutputDTO
|
|
12881
|
+
*/
|
|
12882
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12883
|
+
/**
|
|
12884
|
+
*
|
|
12885
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12886
|
+
* @memberof RegistryOutputDTO
|
|
12887
|
+
*/
|
|
12888
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12889
|
+
}
|
|
12890
|
+
/**
|
|
12891
|
+
*
|
|
12892
|
+
* @export
|
|
12893
|
+
* @interface RegistrySubscribeBody
|
|
12894
|
+
*/
|
|
12895
|
+
export interface RegistrySubscribeBody {
|
|
12896
|
+
/**
|
|
12897
|
+
*
|
|
12898
|
+
* @type {string}
|
|
12899
|
+
* @memberof RegistrySubscribeBody
|
|
12900
|
+
*/
|
|
12901
|
+
url: string;
|
|
12902
|
+
}
|
|
12903
|
+
/**
|
|
12904
|
+
*
|
|
12905
|
+
* @export
|
|
12906
|
+
* @interface RegistrySubscribeInputDTO
|
|
12907
|
+
*/
|
|
12908
|
+
export interface RegistrySubscribeInputDTO {
|
|
12909
|
+
/**
|
|
12910
|
+
*
|
|
12911
|
+
* @type {string}
|
|
12912
|
+
* @memberof RegistrySubscribeInputDTO
|
|
12913
|
+
*/
|
|
12914
|
+
url: string;
|
|
12915
|
+
}
|
|
12916
|
+
/**
|
|
12917
|
+
*
|
|
12918
|
+
* @export
|
|
12919
|
+
* @interface RegistryUpdateDTO
|
|
12920
|
+
*/
|
|
12921
|
+
export interface RegistryUpdateDTO {
|
|
12922
|
+
/**
|
|
12923
|
+
*
|
|
12924
|
+
* @type {string}
|
|
12925
|
+
* @memberof RegistryUpdateDTO
|
|
12926
|
+
*/
|
|
12927
|
+
name?: string;
|
|
12928
|
+
/**
|
|
12929
|
+
*
|
|
12930
|
+
* @type {string}
|
|
12931
|
+
* @memberof RegistryUpdateDTO
|
|
12932
|
+
*/
|
|
12933
|
+
description?: string;
|
|
12934
|
+
}
|
|
12935
|
+
/**
|
|
12936
|
+
*
|
|
12937
|
+
* @export
|
|
12938
|
+
* @interface RegistryWithManifestOutputDTO
|
|
12939
|
+
*/
|
|
12940
|
+
export interface RegistryWithManifestOutputDTO {
|
|
12941
|
+
/**
|
|
12942
|
+
*
|
|
12943
|
+
* @type {string}
|
|
12944
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12945
|
+
*/
|
|
12946
|
+
url: string;
|
|
12947
|
+
/**
|
|
12948
|
+
*
|
|
12949
|
+
* @type {string}
|
|
12950
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12951
|
+
*/
|
|
12952
|
+
name: string;
|
|
12953
|
+
/**
|
|
12954
|
+
*
|
|
12955
|
+
* @type {string}
|
|
12956
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12957
|
+
*/
|
|
12958
|
+
description?: string;
|
|
12959
|
+
/**
|
|
12960
|
+
*
|
|
12961
|
+
* @type {object}
|
|
12962
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12963
|
+
*/
|
|
12964
|
+
manifest?: object;
|
|
12965
|
+
/**
|
|
12966
|
+
*
|
|
12967
|
+
* @type {string}
|
|
12968
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12969
|
+
*/
|
|
12970
|
+
id: string;
|
|
12971
|
+
/**
|
|
12972
|
+
*
|
|
12973
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12974
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12975
|
+
*/
|
|
12976
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12977
|
+
/**
|
|
12978
|
+
*
|
|
12979
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12980
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12981
|
+
*/
|
|
12982
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12983
|
+
}
|
|
12984
|
+
/**
|
|
12985
|
+
*
|
|
12986
|
+
* @export
|
|
12987
|
+
* @interface RegistryWithManifestOutputDTOAPI
|
|
12988
|
+
*/
|
|
12989
|
+
export interface RegistryWithManifestOutputDTOAPI {
|
|
12990
|
+
/**
|
|
12991
|
+
*
|
|
12992
|
+
* @type {RegistryWithManifestOutputDTO}
|
|
12993
|
+
* @memberof RegistryWithManifestOutputDTOAPI
|
|
12994
|
+
*/
|
|
12995
|
+
data: RegistryWithManifestOutputDTO;
|
|
12996
|
+
/**
|
|
12997
|
+
*
|
|
12998
|
+
* @type {MetadataOutput}
|
|
12999
|
+
* @memberof RegistryWithManifestOutputDTOAPI
|
|
13000
|
+
*/
|
|
13001
|
+
meta: MetadataOutput;
|
|
13002
|
+
}
|
|
11909
13003
|
/**
|
|
11910
13004
|
*
|
|
11911
13005
|
* @export
|
|
@@ -12325,7 +13419,7 @@ export interface RoleUpdateInputDTO {
|
|
|
12325
13419
|
* @type {string}
|
|
12326
13420
|
* @memberof RoleUpdateInputDTO
|
|
12327
13421
|
*/
|
|
12328
|
-
linkedDiscordRoleId?: string;
|
|
13422
|
+
linkedDiscordRoleId?: string | null;
|
|
12329
13423
|
}
|
|
12330
13424
|
/**
|
|
12331
13425
|
*
|
|
@@ -13531,6 +14625,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13531
14625
|
*/
|
|
13532
14626
|
daysSinceLastSale?: number;
|
|
13533
14627
|
}
|
|
14628
|
+
/**
|
|
14629
|
+
*
|
|
14630
|
+
* @export
|
|
14631
|
+
* @interface ShopImportFailureDTO
|
|
14632
|
+
*/
|
|
14633
|
+
export interface ShopImportFailureDTO {
|
|
14634
|
+
/**
|
|
14635
|
+
*
|
|
14636
|
+
* @type {string}
|
|
14637
|
+
* @memberof ShopImportFailureDTO
|
|
14638
|
+
*/
|
|
14639
|
+
name: string;
|
|
14640
|
+
/**
|
|
14641
|
+
*
|
|
14642
|
+
* @type {string}
|
|
14643
|
+
* @memberof ShopImportFailureDTO
|
|
14644
|
+
*/
|
|
14645
|
+
reason: string;
|
|
14646
|
+
}
|
|
13534
14647
|
/**
|
|
13535
14648
|
*
|
|
13536
14649
|
* @export
|
|
@@ -13556,6 +14669,44 @@ export interface ShopImportOptions {
|
|
|
13556
14669
|
*/
|
|
13557
14670
|
gameServerId: string;
|
|
13558
14671
|
}
|
|
14672
|
+
/**
|
|
14673
|
+
*
|
|
14674
|
+
* @export
|
|
14675
|
+
* @interface ShopImportResultDTO
|
|
14676
|
+
*/
|
|
14677
|
+
export interface ShopImportResultDTO {
|
|
14678
|
+
/**
|
|
14679
|
+
*
|
|
14680
|
+
* @type {number}
|
|
14681
|
+
* @memberof ShopImportResultDTO
|
|
14682
|
+
*/
|
|
14683
|
+
imported: number;
|
|
14684
|
+
/**
|
|
14685
|
+
*
|
|
14686
|
+
* @type {Array<ShopImportFailureDTO>}
|
|
14687
|
+
* @memberof ShopImportResultDTO
|
|
14688
|
+
*/
|
|
14689
|
+
failed: Array<ShopImportFailureDTO>;
|
|
14690
|
+
}
|
|
14691
|
+
/**
|
|
14692
|
+
*
|
|
14693
|
+
* @export
|
|
14694
|
+
* @interface ShopImportResultDTOAPI
|
|
14695
|
+
*/
|
|
14696
|
+
export interface ShopImportResultDTOAPI {
|
|
14697
|
+
/**
|
|
14698
|
+
*
|
|
14699
|
+
* @type {ShopImportResultDTO}
|
|
14700
|
+
* @memberof ShopImportResultDTOAPI
|
|
14701
|
+
*/
|
|
14702
|
+
data: ShopImportResultDTO;
|
|
14703
|
+
/**
|
|
14704
|
+
*
|
|
14705
|
+
* @type {MetadataOutput}
|
|
14706
|
+
* @memberof ShopImportResultDTOAPI
|
|
14707
|
+
*/
|
|
14708
|
+
meta: MetadataOutput;
|
|
14709
|
+
}
|
|
13559
14710
|
/**
|
|
13560
14711
|
*
|
|
13561
14712
|
* @export
|
|
@@ -14698,6 +15849,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
14698
15849
|
*/
|
|
14699
15850
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
14700
15851
|
}
|
|
15852
|
+
/**
|
|
15853
|
+
*
|
|
15854
|
+
* @export
|
|
15855
|
+
* @interface StorefrontConfigCreateDTO
|
|
15856
|
+
*/
|
|
15857
|
+
export interface StorefrontConfigCreateDTO {
|
|
15858
|
+
/**
|
|
15859
|
+
*
|
|
15860
|
+
* @type {string}
|
|
15861
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15862
|
+
*/
|
|
15863
|
+
gameServerId: string;
|
|
15864
|
+
/**
|
|
15865
|
+
*
|
|
15866
|
+
* @type {string}
|
|
15867
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15868
|
+
*/
|
|
15869
|
+
templateId: string;
|
|
15870
|
+
/**
|
|
15871
|
+
*
|
|
15872
|
+
* @type {object}
|
|
15873
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15874
|
+
*/
|
|
15875
|
+
values?: object;
|
|
15876
|
+
}
|
|
15877
|
+
/**
|
|
15878
|
+
*
|
|
15879
|
+
* @export
|
|
15880
|
+
* @interface StorefrontConfigOutputDTO
|
|
15881
|
+
*/
|
|
15882
|
+
export interface StorefrontConfigOutputDTO {
|
|
15883
|
+
/**
|
|
15884
|
+
*
|
|
15885
|
+
* @type {string}
|
|
15886
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15887
|
+
*/
|
|
15888
|
+
gameServerId: string;
|
|
15889
|
+
/**
|
|
15890
|
+
*
|
|
15891
|
+
* @type {string}
|
|
15892
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15893
|
+
*/
|
|
15894
|
+
templateId: string;
|
|
15895
|
+
/**
|
|
15896
|
+
*
|
|
15897
|
+
* @type {object}
|
|
15898
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15899
|
+
*/
|
|
15900
|
+
values: object;
|
|
15901
|
+
/**
|
|
15902
|
+
*
|
|
15903
|
+
* @type {string}
|
|
15904
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15905
|
+
*/
|
|
15906
|
+
id: string;
|
|
15907
|
+
/**
|
|
15908
|
+
*
|
|
15909
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15910
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15911
|
+
*/
|
|
15912
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15913
|
+
/**
|
|
15914
|
+
*
|
|
15915
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15916
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15917
|
+
*/
|
|
15918
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15919
|
+
}
|
|
15920
|
+
/**
|
|
15921
|
+
*
|
|
15922
|
+
* @export
|
|
15923
|
+
* @interface StorefrontConfigUpdateDTO
|
|
15924
|
+
*/
|
|
15925
|
+
export interface StorefrontConfigUpdateDTO {
|
|
15926
|
+
/**
|
|
15927
|
+
*
|
|
15928
|
+
* @type {string}
|
|
15929
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
15930
|
+
*/
|
|
15931
|
+
templateId?: string;
|
|
15932
|
+
/**
|
|
15933
|
+
*
|
|
15934
|
+
* @type {object}
|
|
15935
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
15936
|
+
*/
|
|
15937
|
+
values?: object;
|
|
15938
|
+
}
|
|
15939
|
+
/**
|
|
15940
|
+
*
|
|
15941
|
+
* @export
|
|
15942
|
+
* @interface StorefrontConfigUpsertBody
|
|
15943
|
+
*/
|
|
15944
|
+
export interface StorefrontConfigUpsertBody {
|
|
15945
|
+
/**
|
|
15946
|
+
*
|
|
15947
|
+
* @type {string}
|
|
15948
|
+
* @memberof StorefrontConfigUpsertBody
|
|
15949
|
+
*/
|
|
15950
|
+
templateId: string;
|
|
15951
|
+
/**
|
|
15952
|
+
*
|
|
15953
|
+
* @type {object}
|
|
15954
|
+
* @memberof StorefrontConfigUpsertBody
|
|
15955
|
+
*/
|
|
15956
|
+
values: object;
|
|
15957
|
+
}
|
|
15958
|
+
/**
|
|
15959
|
+
*
|
|
15960
|
+
* @export
|
|
15961
|
+
* @interface StorefrontConfigUpsertDTO
|
|
15962
|
+
*/
|
|
15963
|
+
export interface StorefrontConfigUpsertDTO {
|
|
15964
|
+
/**
|
|
15965
|
+
*
|
|
15966
|
+
* @type {string}
|
|
15967
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
15968
|
+
*/
|
|
15969
|
+
templateId: string;
|
|
15970
|
+
/**
|
|
15971
|
+
*
|
|
15972
|
+
* @type {object}
|
|
15973
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
15974
|
+
*/
|
|
15975
|
+
values: object;
|
|
15976
|
+
}
|
|
15977
|
+
/**
|
|
15978
|
+
*
|
|
15979
|
+
* @export
|
|
15980
|
+
* @interface StorefrontTemplateDTO
|
|
15981
|
+
*/
|
|
15982
|
+
export interface StorefrontTemplateDTO {
|
|
15983
|
+
/**
|
|
15984
|
+
*
|
|
15985
|
+
* @type {string}
|
|
15986
|
+
* @memberof StorefrontTemplateDTO
|
|
15987
|
+
*/
|
|
15988
|
+
id: string;
|
|
15989
|
+
/**
|
|
15990
|
+
*
|
|
15991
|
+
* @type {string}
|
|
15992
|
+
* @memberof StorefrontTemplateDTO
|
|
15993
|
+
*/
|
|
15994
|
+
name: string;
|
|
15995
|
+
/**
|
|
15996
|
+
*
|
|
15997
|
+
* @type {object}
|
|
15998
|
+
* @memberof StorefrontTemplateDTO
|
|
15999
|
+
*/
|
|
16000
|
+
schema: object;
|
|
16001
|
+
}
|
|
16002
|
+
/**
|
|
16003
|
+
*
|
|
16004
|
+
* @export
|
|
16005
|
+
* @interface StorefrontTemplateOutputArrayDTOAPI
|
|
16006
|
+
*/
|
|
16007
|
+
export interface StorefrontTemplateOutputArrayDTOAPI {
|
|
16008
|
+
/**
|
|
16009
|
+
*
|
|
16010
|
+
* @type {Array<StorefrontTemplateDTO>}
|
|
16011
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
16012
|
+
*/
|
|
16013
|
+
data: Array<StorefrontTemplateDTO>;
|
|
16014
|
+
/**
|
|
16015
|
+
*
|
|
16016
|
+
* @type {MetadataOutput}
|
|
16017
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
16018
|
+
*/
|
|
16019
|
+
meta: MetadataOutput;
|
|
16020
|
+
}
|
|
14701
16021
|
/**
|
|
14702
16022
|
*
|
|
14703
16023
|
* @export
|
|
@@ -15019,6 +16339,19 @@ export interface TakaroEventHookExecuted {
|
|
|
15019
16339
|
*/
|
|
15020
16340
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15021
16341
|
}
|
|
16342
|
+
/**
|
|
16343
|
+
*
|
|
16344
|
+
* @export
|
|
16345
|
+
* @interface TakaroEventInviteLinkCreated
|
|
16346
|
+
*/
|
|
16347
|
+
export interface TakaroEventInviteLinkCreated {
|
|
16348
|
+
/**
|
|
16349
|
+
*
|
|
16350
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16351
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16352
|
+
*/
|
|
16353
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16354
|
+
}
|
|
15022
16355
|
/**
|
|
15023
16356
|
*
|
|
15024
16357
|
* @export
|
|
@@ -16308,6 +17641,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16308
17641
|
*/
|
|
16309
17642
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16310
17643
|
}
|
|
17644
|
+
/**
|
|
17645
|
+
*
|
|
17646
|
+
* @export
|
|
17647
|
+
* @interface UserCountOutputDTO
|
|
17648
|
+
*/
|
|
17649
|
+
export interface UserCountOutputDTO {
|
|
17650
|
+
/**
|
|
17651
|
+
*
|
|
17652
|
+
* @type {number}
|
|
17653
|
+
* @memberof UserCountOutputDTO
|
|
17654
|
+
*/
|
|
17655
|
+
count: number;
|
|
17656
|
+
}
|
|
17657
|
+
/**
|
|
17658
|
+
*
|
|
17659
|
+
* @export
|
|
17660
|
+
* @interface UserCountOutputDTOAPI
|
|
17661
|
+
*/
|
|
17662
|
+
export interface UserCountOutputDTOAPI {
|
|
17663
|
+
/**
|
|
17664
|
+
*
|
|
17665
|
+
* @type {UserCountOutputDTO}
|
|
17666
|
+
* @memberof UserCountOutputDTOAPI
|
|
17667
|
+
*/
|
|
17668
|
+
data: UserCountOutputDTO;
|
|
17669
|
+
/**
|
|
17670
|
+
*
|
|
17671
|
+
* @type {MetadataOutput}
|
|
17672
|
+
* @memberof UserCountOutputDTOAPI
|
|
17673
|
+
*/
|
|
17674
|
+
meta: MetadataOutput;
|
|
17675
|
+
}
|
|
16311
17676
|
/**
|
|
16312
17677
|
*
|
|
16313
17678
|
* @export
|
|
@@ -16455,6 +17820,18 @@ export interface UserOutputDTO {
|
|
|
16455
17820
|
* @memberof UserOutputDTO
|
|
16456
17821
|
*/
|
|
16457
17822
|
isDashboardUser: boolean;
|
|
17823
|
+
/**
|
|
17824
|
+
*
|
|
17825
|
+
* @type {boolean}
|
|
17826
|
+
* @memberof UserOutputDTO
|
|
17827
|
+
*/
|
|
17828
|
+
isSupportAccount: boolean;
|
|
17829
|
+
/**
|
|
17830
|
+
*
|
|
17831
|
+
* @type {string}
|
|
17832
|
+
* @memberof UserOutputDTO
|
|
17833
|
+
*/
|
|
17834
|
+
inviteLinkId?: string;
|
|
16458
17835
|
/**
|
|
16459
17836
|
*
|
|
16460
17837
|
* @type {string}
|
|
@@ -16571,6 +17948,37 @@ export interface UserOutputWithRolesDTO {
|
|
|
16571
17948
|
* @memberof UserOutputWithRolesDTO
|
|
16572
17949
|
*/
|
|
16573
17950
|
isDashboardUser: boolean;
|
|
17951
|
+
/**
|
|
17952
|
+
*
|
|
17953
|
+
* @type {boolean}
|
|
17954
|
+
* @memberof UserOutputWithRolesDTO
|
|
17955
|
+
*/
|
|
17956
|
+
isSupportAccount: boolean;
|
|
17957
|
+
/**
|
|
17958
|
+
*
|
|
17959
|
+
* @type {string}
|
|
17960
|
+
* @memberof UserOutputWithRolesDTO
|
|
17961
|
+
*/
|
|
17962
|
+
inviteLinkId?: string;
|
|
17963
|
+
}
|
|
17964
|
+
/**
|
|
17965
|
+
*
|
|
17966
|
+
* @export
|
|
17967
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17968
|
+
*/
|
|
17969
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17970
|
+
/**
|
|
17971
|
+
*
|
|
17972
|
+
* @type {UserOutputWithRolesDTO}
|
|
17973
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17974
|
+
*/
|
|
17975
|
+
data: UserOutputWithRolesDTO;
|
|
17976
|
+
/**
|
|
17977
|
+
*
|
|
17978
|
+
* @type {MetadataOutput}
|
|
17979
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17980
|
+
*/
|
|
17981
|
+
meta: MetadataOutput;
|
|
16574
17982
|
}
|
|
16575
17983
|
/**
|
|
16576
17984
|
*
|
|
@@ -17355,23 +18763,181 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17355
18763
|
};
|
|
17356
18764
|
},
|
|
17357
18765
|
/**
|
|
17358
|
-
* Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
|
|
17359
|
-
* @summary Get currency flow timeseries
|
|
17360
|
-
* @param {string} [startDate]
|
|
17361
|
-
* @param {string} [endDate]
|
|
17362
|
-
* @param {string} [gameServerId]
|
|
17363
|
-
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18766
|
+
* Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
|
|
18767
|
+
* @summary Get currency flow timeseries
|
|
18768
|
+
* @param {string} [startDate]
|
|
18769
|
+
* @param {string} [endDate]
|
|
18770
|
+
* @param {string} [gameServerId]
|
|
18771
|
+
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18772
|
+
* @param {*} [options] Override http request option.
|
|
18773
|
+
* @throws {RequiredError}
|
|
18774
|
+
*/
|
|
18775
|
+
analyticsControllerGetCurrencyFlow: async (
|
|
18776
|
+
startDate?: string,
|
|
18777
|
+
endDate?: string,
|
|
18778
|
+
gameServerId?: string,
|
|
18779
|
+
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
18780
|
+
options: RawAxiosRequestConfig = {},
|
|
18781
|
+
): Promise<RequestArgs> => {
|
|
18782
|
+
const localVarPath = `/analytics/players/currency-flow`;
|
|
18783
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18784
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18785
|
+
let baseOptions;
|
|
18786
|
+
if (configuration) {
|
|
18787
|
+
baseOptions = configuration.baseOptions;
|
|
18788
|
+
}
|
|
18789
|
+
|
|
18790
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18791
|
+
const localVarHeaderParameter = {} as any;
|
|
18792
|
+
const localVarQueryParameter = {} as any;
|
|
18793
|
+
|
|
18794
|
+
// authentication domainAuth required
|
|
18795
|
+
|
|
18796
|
+
if (startDate !== undefined) {
|
|
18797
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18798
|
+
}
|
|
18799
|
+
|
|
18800
|
+
if (endDate !== undefined) {
|
|
18801
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18802
|
+
}
|
|
18803
|
+
|
|
18804
|
+
if (gameServerId !== undefined) {
|
|
18805
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18806
|
+
}
|
|
18807
|
+
|
|
18808
|
+
if (period !== undefined) {
|
|
18809
|
+
localVarQueryParameter['period'] = period;
|
|
18810
|
+
}
|
|
18811
|
+
|
|
18812
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18813
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18814
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18815
|
+
|
|
18816
|
+
return {
|
|
18817
|
+
url: toPathString(localVarUrlObj),
|
|
18818
|
+
options: localVarRequestOptions,
|
|
18819
|
+
};
|
|
18820
|
+
},
|
|
18821
|
+
/**
|
|
18822
|
+
* Aggregate currency values from player-sync-snapshot events, bucketed by time. gameServerId is optional. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyTimeseries`
|
|
18823
|
+
* @summary Get currency in circulation timeseries
|
|
18824
|
+
* @param {string} [startDate]
|
|
18825
|
+
* @param {string} [endDate]
|
|
18826
|
+
* @param {string} [gameServerId]
|
|
18827
|
+
* @param {AnalyticsControllerGetCurrencyTimeseriesPeriodEnum} [period]
|
|
18828
|
+
* @param {*} [options] Override http request option.
|
|
18829
|
+
* @throws {RequiredError}
|
|
18830
|
+
*/
|
|
18831
|
+
analyticsControllerGetCurrencyTimeseries: async (
|
|
18832
|
+
startDate?: string,
|
|
18833
|
+
endDate?: string,
|
|
18834
|
+
gameServerId?: string,
|
|
18835
|
+
period?: AnalyticsControllerGetCurrencyTimeseriesPeriodEnum,
|
|
18836
|
+
options: RawAxiosRequestConfig = {},
|
|
18837
|
+
): Promise<RequestArgs> => {
|
|
18838
|
+
const localVarPath = `/analytics/gameserver/currency-timeseries`;
|
|
18839
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18840
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18841
|
+
let baseOptions;
|
|
18842
|
+
if (configuration) {
|
|
18843
|
+
baseOptions = configuration.baseOptions;
|
|
18844
|
+
}
|
|
18845
|
+
|
|
18846
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18847
|
+
const localVarHeaderParameter = {} as any;
|
|
18848
|
+
const localVarQueryParameter = {} as any;
|
|
18849
|
+
|
|
18850
|
+
// authentication domainAuth required
|
|
18851
|
+
|
|
18852
|
+
if (startDate !== undefined) {
|
|
18853
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18854
|
+
}
|
|
18855
|
+
|
|
18856
|
+
if (endDate !== undefined) {
|
|
18857
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18858
|
+
}
|
|
18859
|
+
|
|
18860
|
+
if (gameServerId !== undefined) {
|
|
18861
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18862
|
+
}
|
|
18863
|
+
|
|
18864
|
+
if (period !== undefined) {
|
|
18865
|
+
localVarQueryParameter['period'] = period;
|
|
18866
|
+
}
|
|
18867
|
+
|
|
18868
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18869
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18870
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18871
|
+
|
|
18872
|
+
return {
|
|
18873
|
+
url: toPathString(localVarUrlObj),
|
|
18874
|
+
options: localVarRequestOptions,
|
|
18875
|
+
};
|
|
18876
|
+
},
|
|
18877
|
+
/**
|
|
18878
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetDailyPlayerEvents`
|
|
18879
|
+
* @summary Get daily player event counts for calendar heatmap
|
|
18880
|
+
* @param {string} [startDate]
|
|
18881
|
+
* @param {string} [endDate]
|
|
18882
|
+
* @param {string} [gameServerId]
|
|
18883
|
+
* @param {AnalyticsControllerGetDailyPlayerEventsPeriodEnum} [period]
|
|
18884
|
+
* @param {*} [options] Override http request option.
|
|
18885
|
+
* @throws {RequiredError}
|
|
18886
|
+
*/
|
|
18887
|
+
analyticsControllerGetDailyPlayerEvents: async (
|
|
18888
|
+
startDate?: string,
|
|
18889
|
+
endDate?: string,
|
|
18890
|
+
gameServerId?: string,
|
|
18891
|
+
period?: AnalyticsControllerGetDailyPlayerEventsPeriodEnum,
|
|
18892
|
+
options: RawAxiosRequestConfig = {},
|
|
18893
|
+
): Promise<RequestArgs> => {
|
|
18894
|
+
const localVarPath = `/analytics/players/daily-events`;
|
|
18895
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18896
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18897
|
+
let baseOptions;
|
|
18898
|
+
if (configuration) {
|
|
18899
|
+
baseOptions = configuration.baseOptions;
|
|
18900
|
+
}
|
|
18901
|
+
|
|
18902
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18903
|
+
const localVarHeaderParameter = {} as any;
|
|
18904
|
+
const localVarQueryParameter = {} as any;
|
|
18905
|
+
|
|
18906
|
+
// authentication domainAuth required
|
|
18907
|
+
|
|
18908
|
+
if (startDate !== undefined) {
|
|
18909
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18910
|
+
}
|
|
18911
|
+
|
|
18912
|
+
if (endDate !== undefined) {
|
|
18913
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18914
|
+
}
|
|
18915
|
+
|
|
18916
|
+
if (gameServerId !== undefined) {
|
|
18917
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18918
|
+
}
|
|
18919
|
+
|
|
18920
|
+
if (period !== undefined) {
|
|
18921
|
+
localVarQueryParameter['period'] = period;
|
|
18922
|
+
}
|
|
18923
|
+
|
|
18924
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18925
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18926
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18927
|
+
|
|
18928
|
+
return {
|
|
18929
|
+
url: toPathString(localVarUrlObj),
|
|
18930
|
+
options: localVarRequestOptions,
|
|
18931
|
+
};
|
|
18932
|
+
},
|
|
18933
|
+
/**
|
|
18934
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEntityCounts`
|
|
18935
|
+
* @summary Get entity counts (game servers, players, users)
|
|
17364
18936
|
* @param {*} [options] Override http request option.
|
|
17365
18937
|
* @throws {RequiredError}
|
|
17366
18938
|
*/
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
endDate?: string,
|
|
17370
|
-
gameServerId?: string,
|
|
17371
|
-
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
17372
|
-
options: RawAxiosRequestConfig = {},
|
|
17373
|
-
): Promise<RequestArgs> => {
|
|
17374
|
-
const localVarPath = `/analytics/players/currency-flow`;
|
|
18939
|
+
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18940
|
+
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17375
18941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17376
18942
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17377
18943
|
let baseOptions;
|
|
@@ -17385,22 +18951,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17385
18951
|
|
|
17386
18952
|
// authentication domainAuth required
|
|
17387
18953
|
|
|
17388
|
-
if (startDate !== undefined) {
|
|
17389
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
17390
|
-
}
|
|
17391
|
-
|
|
17392
|
-
if (endDate !== undefined) {
|
|
17393
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
17394
|
-
}
|
|
17395
|
-
|
|
17396
|
-
if (gameServerId !== undefined) {
|
|
17397
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17398
|
-
}
|
|
17399
|
-
|
|
17400
|
-
if (period !== undefined) {
|
|
17401
|
-
localVarQueryParameter['period'] = period;
|
|
17402
|
-
}
|
|
17403
|
-
|
|
17404
18954
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17405
18955
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17406
18956
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -17411,23 +18961,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17411
18961
|
};
|
|
17412
18962
|
},
|
|
17413
18963
|
/**
|
|
17414
|
-
*
|
|
17415
|
-
* @summary Get
|
|
18964
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
18965
|
+
* @summary Get event volume time series
|
|
17416
18966
|
* @param {string} [startDate]
|
|
17417
18967
|
* @param {string} [endDate]
|
|
17418
18968
|
* @param {string} [gameServerId]
|
|
17419
|
-
* @param {
|
|
18969
|
+
* @param {AnalyticsControllerGetEventVolumePeriodEnum} [period]
|
|
17420
18970
|
* @param {*} [options] Override http request option.
|
|
17421
18971
|
* @throws {RequiredError}
|
|
17422
18972
|
*/
|
|
17423
|
-
|
|
18973
|
+
analyticsControllerGetEventVolume: async (
|
|
17424
18974
|
startDate?: string,
|
|
17425
18975
|
endDate?: string,
|
|
17426
18976
|
gameServerId?: string,
|
|
17427
|
-
period?:
|
|
18977
|
+
period?: AnalyticsControllerGetEventVolumePeriodEnum,
|
|
17428
18978
|
options: RawAxiosRequestConfig = {},
|
|
17429
18979
|
): Promise<RequestArgs> => {
|
|
17430
|
-
const localVarPath = `/analytics/
|
|
18980
|
+
const localVarPath = `/analytics/overview/event-volume`;
|
|
17431
18981
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17432
18982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17433
18983
|
let baseOptions;
|
|
@@ -17467,23 +19017,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17467
19017
|
};
|
|
17468
19018
|
},
|
|
17469
19019
|
/**
|
|
17470
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `
|
|
17471
|
-
* @summary Get
|
|
19020
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetHourlyActivePlayers`
|
|
19021
|
+
* @summary Get hourly active players time series
|
|
17472
19022
|
* @param {string} [startDate]
|
|
17473
19023
|
* @param {string} [endDate]
|
|
17474
19024
|
* @param {string} [gameServerId]
|
|
17475
|
-
* @param {
|
|
19025
|
+
* @param {AnalyticsControllerGetHourlyActivePlayersPeriodEnum} [period]
|
|
17476
19026
|
* @param {*} [options] Override http request option.
|
|
17477
19027
|
* @throws {RequiredError}
|
|
17478
19028
|
*/
|
|
17479
|
-
|
|
19029
|
+
analyticsControllerGetHourlyActivePlayers: async (
|
|
17480
19030
|
startDate?: string,
|
|
17481
19031
|
endDate?: string,
|
|
17482
19032
|
gameServerId?: string,
|
|
17483
|
-
period?:
|
|
19033
|
+
period?: AnalyticsControllerGetHourlyActivePlayersPeriodEnum,
|
|
17484
19034
|
options: RawAxiosRequestConfig = {},
|
|
17485
19035
|
): Promise<RequestArgs> => {
|
|
17486
|
-
const localVarPath = `/analytics/players/
|
|
19036
|
+
const localVarPath = `/analytics/players/hourly-active`;
|
|
17487
19037
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17488
19038
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17489
19039
|
let baseOptions;
|
|
@@ -17523,53 +19073,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17523
19073
|
};
|
|
17524
19074
|
},
|
|
17525
19075
|
/**
|
|
17526
|
-
*
|
|
17527
|
-
* @summary Get
|
|
17528
|
-
* @param {*} [options] Override http request option.
|
|
17529
|
-
* @throws {RequiredError}
|
|
17530
|
-
*/
|
|
17531
|
-
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17532
|
-
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17533
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17534
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17535
|
-
let baseOptions;
|
|
17536
|
-
if (configuration) {
|
|
17537
|
-
baseOptions = configuration.baseOptions;
|
|
17538
|
-
}
|
|
17539
|
-
|
|
17540
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17541
|
-
const localVarHeaderParameter = {} as any;
|
|
17542
|
-
const localVarQueryParameter = {} as any;
|
|
17543
|
-
|
|
17544
|
-
// authentication domainAuth required
|
|
17545
|
-
|
|
17546
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17547
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17548
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17549
|
-
|
|
17550
|
-
return {
|
|
17551
|
-
url: toPathString(localVarUrlObj),
|
|
17552
|
-
options: localVarRequestOptions,
|
|
17553
|
-
};
|
|
17554
|
-
},
|
|
17555
|
-
/**
|
|
17556
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
17557
|
-
* @summary Get event volume time series
|
|
19076
|
+
* Returns orders + revenue bucketed to match the selected period. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetHourlyOrderVolume`
|
|
19077
|
+
* @summary Get shop order volume + revenue over time
|
|
17558
19078
|
* @param {string} [startDate]
|
|
17559
19079
|
* @param {string} [endDate]
|
|
17560
19080
|
* @param {string} [gameServerId]
|
|
17561
|
-
* @param {
|
|
19081
|
+
* @param {AnalyticsControllerGetHourlyOrderVolumePeriodEnum} [period]
|
|
17562
19082
|
* @param {*} [options] Override http request option.
|
|
17563
19083
|
* @throws {RequiredError}
|
|
17564
19084
|
*/
|
|
17565
|
-
|
|
19085
|
+
analyticsControllerGetHourlyOrderVolume: async (
|
|
17566
19086
|
startDate?: string,
|
|
17567
19087
|
endDate?: string,
|
|
17568
19088
|
gameServerId?: string,
|
|
17569
|
-
period?:
|
|
19089
|
+
period?: AnalyticsControllerGetHourlyOrderVolumePeriodEnum,
|
|
17570
19090
|
options: RawAxiosRequestConfig = {},
|
|
17571
19091
|
): Promise<RequestArgs> => {
|
|
17572
|
-
const localVarPath = `/analytics/
|
|
19092
|
+
const localVarPath = `/analytics/shop/hourly-orders`;
|
|
17573
19093
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17574
19094
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17575
19095
|
let baseOptions;
|
|
@@ -17609,23 +19129,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17609
19129
|
};
|
|
17610
19130
|
},
|
|
17611
19131
|
/**
|
|
17612
|
-
*
|
|
17613
|
-
* @summary Get
|
|
19132
|
+
* Daily counts of player-banned and player-unbanned events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModerationTimeseries`
|
|
19133
|
+
* @summary Get moderation timeseries
|
|
17614
19134
|
* @param {string} [startDate]
|
|
17615
19135
|
* @param {string} [endDate]
|
|
17616
19136
|
* @param {string} [gameServerId]
|
|
17617
|
-
* @param {
|
|
19137
|
+
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
17618
19138
|
* @param {*} [options] Override http request option.
|
|
17619
19139
|
* @throws {RequiredError}
|
|
17620
19140
|
*/
|
|
17621
|
-
|
|
19141
|
+
analyticsControllerGetModerationTimeseries: async (
|
|
17622
19142
|
startDate?: string,
|
|
17623
19143
|
endDate?: string,
|
|
17624
19144
|
gameServerId?: string,
|
|
17625
|
-
period?:
|
|
19145
|
+
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
17626
19146
|
options: RawAxiosRequestConfig = {},
|
|
17627
19147
|
): Promise<RequestArgs> => {
|
|
17628
|
-
const localVarPath = `/analytics/players/
|
|
19148
|
+
const localVarPath = `/analytics/players/moderation`;
|
|
17629
19149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17630
19150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17631
19151
|
let baseOptions;
|
|
@@ -17665,23 +19185,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17665
19185
|
};
|
|
17666
19186
|
},
|
|
17667
19187
|
/**
|
|
17668
|
-
*
|
|
17669
|
-
* @summary Get
|
|
19188
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19189
|
+
* @summary Get module health scores
|
|
17670
19190
|
* @param {string} [startDate]
|
|
17671
19191
|
* @param {string} [endDate]
|
|
17672
19192
|
* @param {string} [gameServerId]
|
|
17673
|
-
* @param {
|
|
19193
|
+
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
17674
19194
|
* @param {*} [options] Override http request option.
|
|
17675
19195
|
* @throws {RequiredError}
|
|
17676
19196
|
*/
|
|
17677
|
-
|
|
19197
|
+
analyticsControllerGetModuleHealth: async (
|
|
17678
19198
|
startDate?: string,
|
|
17679
19199
|
endDate?: string,
|
|
17680
19200
|
gameServerId?: string,
|
|
17681
|
-
period?:
|
|
19201
|
+
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
17682
19202
|
options: RawAxiosRequestConfig = {},
|
|
17683
19203
|
): Promise<RequestArgs> => {
|
|
17684
|
-
const localVarPath = `/analytics/
|
|
19204
|
+
const localVarPath = `/analytics/modules/health`;
|
|
17685
19205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17686
19206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17687
19207
|
let baseOptions;
|
|
@@ -17721,23 +19241,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17721
19241
|
};
|
|
17722
19242
|
},
|
|
17723
19243
|
/**
|
|
17724
|
-
*
|
|
17725
|
-
* @summary Get
|
|
19244
|
+
* 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`
|
|
19245
|
+
* @summary Get per-installation module KPIs
|
|
19246
|
+
* @param {string} gameServerId
|
|
19247
|
+
* @param {string} moduleId
|
|
17726
19248
|
* @param {string} [startDate]
|
|
17727
19249
|
* @param {string} [endDate]
|
|
17728
|
-
* @param {
|
|
17729
|
-
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
19250
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
17730
19251
|
* @param {*} [options] Override http request option.
|
|
17731
19252
|
* @throws {RequiredError}
|
|
17732
19253
|
*/
|
|
17733
|
-
|
|
19254
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19255
|
+
gameServerId: string,
|
|
19256
|
+
moduleId: string,
|
|
17734
19257
|
startDate?: string,
|
|
17735
19258
|
endDate?: string,
|
|
17736
|
-
|
|
17737
|
-
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
19259
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
17738
19260
|
options: RawAxiosRequestConfig = {},
|
|
17739
19261
|
): Promise<RequestArgs> => {
|
|
17740
|
-
|
|
19262
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19263
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19264
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19265
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19266
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
17741
19267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17742
19268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17743
19269
|
let baseOptions;
|
|
@@ -17763,60 +19289,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17763
19289
|
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17764
19290
|
}
|
|
17765
19291
|
|
|
17766
|
-
if (
|
|
17767
|
-
localVarQueryParameter['
|
|
17768
|
-
}
|
|
17769
|
-
|
|
17770
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17771
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17772
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17773
|
-
|
|
17774
|
-
return {
|
|
17775
|
-
url: toPathString(localVarUrlObj),
|
|
17776
|
-
options: localVarRequestOptions,
|
|
17777
|
-
};
|
|
17778
|
-
},
|
|
17779
|
-
/**
|
|
17780
|
-
* Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
17781
|
-
* @summary Get module health scores
|
|
17782
|
-
* @param {string} [startDate]
|
|
17783
|
-
* @param {string} [endDate]
|
|
17784
|
-
* @param {string} [gameServerId]
|
|
17785
|
-
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
17786
|
-
* @param {*} [options] Override http request option.
|
|
17787
|
-
* @throws {RequiredError}
|
|
17788
|
-
*/
|
|
17789
|
-
analyticsControllerGetModuleHealth: async (
|
|
17790
|
-
startDate?: string,
|
|
17791
|
-
endDate?: string,
|
|
17792
|
-
gameServerId?: string,
|
|
17793
|
-
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
17794
|
-
options: RawAxiosRequestConfig = {},
|
|
17795
|
-
): Promise<RequestArgs> => {
|
|
17796
|
-
const localVarPath = `/analytics/modules/health`;
|
|
17797
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17798
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17799
|
-
let baseOptions;
|
|
17800
|
-
if (configuration) {
|
|
17801
|
-
baseOptions = configuration.baseOptions;
|
|
17802
|
-
}
|
|
17803
|
-
|
|
17804
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17805
|
-
const localVarHeaderParameter = {} as any;
|
|
17806
|
-
const localVarQueryParameter = {} as any;
|
|
17807
|
-
|
|
17808
|
-
// authentication domainAuth required
|
|
17809
|
-
|
|
17810
|
-
if (startDate !== undefined) {
|
|
17811
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
17812
|
-
}
|
|
17813
|
-
|
|
17814
|
-
if (endDate !== undefined) {
|
|
17815
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
17816
|
-
}
|
|
17817
|
-
|
|
17818
|
-
if (gameServerId !== undefined) {
|
|
17819
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19292
|
+
if (moduleId !== undefined) {
|
|
19293
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
17820
19294
|
}
|
|
17821
19295
|
|
|
17822
19296
|
if (period !== undefined) {
|
|
@@ -18898,7 +20372,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18898
20372
|
},
|
|
18899
20373
|
/**
|
|
18900
20374
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
18901
|
-
* @summary Get top modules by
|
|
20375
|
+
* @summary Get top modules by execution volume
|
|
18902
20376
|
* @param {string} [startDate]
|
|
18903
20377
|
* @param {string} [endDate]
|
|
18904
20378
|
* @param {string} [gameServerId]
|
|
@@ -19432,7 +20906,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19432
20906
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19433
20907
|
},
|
|
19434
20908
|
/**
|
|
19435
|
-
* Normalized 0-1 scores across
|
|
20909
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19436
20910
|
* @summary Get module health scores
|
|
19437
20911
|
* @param {string} [startDate]
|
|
19438
20912
|
* @param {string} [endDate]
|
|
@@ -19466,6 +20940,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19466
20940
|
configuration,
|
|
19467
20941
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19468
20942
|
},
|
|
20943
|
+
/**
|
|
20944
|
+
* 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`
|
|
20945
|
+
* @summary Get per-installation module KPIs
|
|
20946
|
+
* @param {string} gameServerId
|
|
20947
|
+
* @param {string} moduleId
|
|
20948
|
+
* @param {string} [startDate]
|
|
20949
|
+
* @param {string} [endDate]
|
|
20950
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20951
|
+
* @param {*} [options] Override http request option.
|
|
20952
|
+
* @throws {RequiredError}
|
|
20953
|
+
*/
|
|
20954
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20955
|
+
gameServerId: string,
|
|
20956
|
+
moduleId: string,
|
|
20957
|
+
startDate?: string,
|
|
20958
|
+
endDate?: string,
|
|
20959
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20960
|
+
options?: RawAxiosRequestConfig,
|
|
20961
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20962
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20963
|
+
gameServerId,
|
|
20964
|
+
moduleId,
|
|
20965
|
+
startDate,
|
|
20966
|
+
endDate,
|
|
20967
|
+
period,
|
|
20968
|
+
options,
|
|
20969
|
+
);
|
|
20970
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20971
|
+
const localVarOperationServerBasePath =
|
|
20972
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20973
|
+
?.url;
|
|
20974
|
+
return (axios, basePath) =>
|
|
20975
|
+
createRequestFunction(
|
|
20976
|
+
localVarAxiosArgs,
|
|
20977
|
+
globalAxios,
|
|
20978
|
+
BASE_PATH,
|
|
20979
|
+
configuration,
|
|
20980
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20981
|
+
},
|
|
19469
20982
|
/**
|
|
19470
20983
|
* 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`
|
|
19471
20984
|
* @summary Get module item failure aggregate
|
|
@@ -20145,7 +21658,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20145
21658
|
},
|
|
20146
21659
|
/**
|
|
20147
21660
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20148
|
-
* @summary Get top modules by
|
|
21661
|
+
* @summary Get top modules by execution volume
|
|
20149
21662
|
* @param {string} [startDate]
|
|
20150
21663
|
* @param {string} [endDate]
|
|
20151
21664
|
* @param {string} [gameServerId]
|
|
@@ -20467,7 +21980,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20467
21980
|
.then((request) => request(axios, basePath));
|
|
20468
21981
|
},
|
|
20469
21982
|
/**
|
|
20470
|
-
* Normalized 0-1 scores across
|
|
21983
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20471
21984
|
* @summary Get module health scores
|
|
20472
21985
|
* @param {string} [startDate]
|
|
20473
21986
|
* @param {string} [endDate]
|
|
@@ -20487,6 +22000,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20487
22000
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20488
22001
|
.then((request) => request(axios, basePath));
|
|
20489
22002
|
},
|
|
22003
|
+
/**
|
|
22004
|
+
* 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`
|
|
22005
|
+
* @summary Get per-installation module KPIs
|
|
22006
|
+
* @param {string} gameServerId
|
|
22007
|
+
* @param {string} moduleId
|
|
22008
|
+
* @param {string} [startDate]
|
|
22009
|
+
* @param {string} [endDate]
|
|
22010
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22011
|
+
* @param {*} [options] Override http request option.
|
|
22012
|
+
* @throws {RequiredError}
|
|
22013
|
+
*/
|
|
22014
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
22015
|
+
gameServerId: string,
|
|
22016
|
+
moduleId: string,
|
|
22017
|
+
startDate?: string,
|
|
22018
|
+
endDate?: string,
|
|
22019
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22020
|
+
options?: RawAxiosRequestConfig,
|
|
22021
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
22022
|
+
return localVarFp
|
|
22023
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22024
|
+
.then((request) => request(axios, basePath));
|
|
22025
|
+
},
|
|
20490
22026
|
/**
|
|
20491
22027
|
* 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`
|
|
20492
22028
|
* @summary Get module item failure aggregate
|
|
@@ -20888,7 +22424,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20888
22424
|
},
|
|
20889
22425
|
/**
|
|
20890
22426
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20891
|
-
* @summary Get top modules by
|
|
22427
|
+
* @summary Get top modules by execution volume
|
|
20892
22428
|
* @param {string} [startDate]
|
|
20893
22429
|
* @param {string} [endDate]
|
|
20894
22430
|
* @param {string} [gameServerId]
|
|
@@ -21207,7 +22743,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21207
22743
|
}
|
|
21208
22744
|
|
|
21209
22745
|
/**
|
|
21210
|
-
* Normalized 0-1 scores across
|
|
22746
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21211
22747
|
* @summary Get module health scores
|
|
21212
22748
|
* @param {string} [startDate]
|
|
21213
22749
|
* @param {string} [endDate]
|
|
@@ -21229,6 +22765,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21229
22765
|
.then((request) => request(this.axios, this.basePath));
|
|
21230
22766
|
}
|
|
21231
22767
|
|
|
22768
|
+
/**
|
|
22769
|
+
* 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`
|
|
22770
|
+
* @summary Get per-installation module KPIs
|
|
22771
|
+
* @param {string} gameServerId
|
|
22772
|
+
* @param {string} moduleId
|
|
22773
|
+
* @param {string} [startDate]
|
|
22774
|
+
* @param {string} [endDate]
|
|
22775
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22776
|
+
* @param {*} [options] Override http request option.
|
|
22777
|
+
* @throws {RequiredError}
|
|
22778
|
+
* @memberof AnalyticsApi
|
|
22779
|
+
*/
|
|
22780
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22781
|
+
gameServerId: string,
|
|
22782
|
+
moduleId: string,
|
|
22783
|
+
startDate?: string,
|
|
22784
|
+
endDate?: string,
|
|
22785
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22786
|
+
options?: RawAxiosRequestConfig,
|
|
22787
|
+
) {
|
|
22788
|
+
return AnalyticsApiFp(this.configuration)
|
|
22789
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22790
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22791
|
+
}
|
|
22792
|
+
|
|
21232
22793
|
/**
|
|
21233
22794
|
* 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`
|
|
21234
22795
|
* @summary Get module item failure aggregate
|
|
@@ -21668,7 +23229,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21668
23229
|
|
|
21669
23230
|
/**
|
|
21670
23231
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21671
|
-
* @summary Get top modules by
|
|
23232
|
+
* @summary Get top modules by execution volume
|
|
21672
23233
|
* @param {string} [startDate]
|
|
21673
23234
|
* @param {string} [endDate]
|
|
21674
23235
|
* @param {string} [gameServerId]
|
|
@@ -21848,6 +23409,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
21848
23409
|
/**
|
|
21849
23410
|
* @export
|
|
21850
23411
|
*/
|
|
23412
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23413
|
+
_24h: '24h',
|
|
23414
|
+
_7d: '7d',
|
|
23415
|
+
_30d: '30d',
|
|
23416
|
+
_90d: '90d',
|
|
23417
|
+
} as const;
|
|
23418
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23419
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23420
|
+
/**
|
|
23421
|
+
* @export
|
|
23422
|
+
*/
|
|
21851
23423
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
21852
23424
|
_24h: '24h',
|
|
21853
23425
|
_7d: '7d',
|
|
@@ -22077,6 +23649,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22077
23649
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22078
23650
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22079
23651
|
|
|
23652
|
+
/**
|
|
23653
|
+
* AuthApi - axios parameter creator
|
|
23654
|
+
* @export
|
|
23655
|
+
*/
|
|
23656
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23657
|
+
return {
|
|
23658
|
+
/**
|
|
23659
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23660
|
+
* @summary Account
|
|
23661
|
+
* @param {*} [options] Override http request option.
|
|
23662
|
+
* @throws {RequiredError}
|
|
23663
|
+
*/
|
|
23664
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23665
|
+
const localVarPath = `/auth/account`;
|
|
23666
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23667
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23668
|
+
let baseOptions;
|
|
23669
|
+
if (configuration) {
|
|
23670
|
+
baseOptions = configuration.baseOptions;
|
|
23671
|
+
}
|
|
23672
|
+
|
|
23673
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23674
|
+
const localVarHeaderParameter = {} as any;
|
|
23675
|
+
const localVarQueryParameter = {} as any;
|
|
23676
|
+
|
|
23677
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23678
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23679
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23680
|
+
|
|
23681
|
+
return {
|
|
23682
|
+
url: toPathString(localVarUrlObj),
|
|
23683
|
+
options: localVarRequestOptions,
|
|
23684
|
+
};
|
|
23685
|
+
},
|
|
23686
|
+
/**
|
|
23687
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23688
|
+
* @summary Callback
|
|
23689
|
+
* @param {*} [options] Override http request option.
|
|
23690
|
+
* @throws {RequiredError}
|
|
23691
|
+
*/
|
|
23692
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23693
|
+
const localVarPath = `/auth/callback`;
|
|
23694
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23696
|
+
let baseOptions;
|
|
23697
|
+
if (configuration) {
|
|
23698
|
+
baseOptions = configuration.baseOptions;
|
|
23699
|
+
}
|
|
23700
|
+
|
|
23701
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23702
|
+
const localVarHeaderParameter = {} as any;
|
|
23703
|
+
const localVarQueryParameter = {} as any;
|
|
23704
|
+
|
|
23705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23707
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23708
|
+
|
|
23709
|
+
return {
|
|
23710
|
+
url: toPathString(localVarUrlObj),
|
|
23711
|
+
options: localVarRequestOptions,
|
|
23712
|
+
};
|
|
23713
|
+
},
|
|
23714
|
+
/**
|
|
23715
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23716
|
+
* @summary Login
|
|
23717
|
+
* @param {string} [redirect]
|
|
23718
|
+
* @param {*} [options] Override http request option.
|
|
23719
|
+
* @throws {RequiredError}
|
|
23720
|
+
*/
|
|
23721
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23722
|
+
const localVarPath = `/auth/login`;
|
|
23723
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23724
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23725
|
+
let baseOptions;
|
|
23726
|
+
if (configuration) {
|
|
23727
|
+
baseOptions = configuration.baseOptions;
|
|
23728
|
+
}
|
|
23729
|
+
|
|
23730
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23731
|
+
const localVarHeaderParameter = {} as any;
|
|
23732
|
+
const localVarQueryParameter = {} as any;
|
|
23733
|
+
|
|
23734
|
+
if (redirect !== undefined) {
|
|
23735
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23736
|
+
}
|
|
23737
|
+
|
|
23738
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23740
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23741
|
+
|
|
23742
|
+
return {
|
|
23743
|
+
url: toPathString(localVarUrlObj),
|
|
23744
|
+
options: localVarRequestOptions,
|
|
23745
|
+
};
|
|
23746
|
+
},
|
|
23747
|
+
/**
|
|
23748
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23749
|
+
* @summary Logout
|
|
23750
|
+
* @param {string} [redirect]
|
|
23751
|
+
* @param {*} [options] Override http request option.
|
|
23752
|
+
* @throws {RequiredError}
|
|
23753
|
+
*/
|
|
23754
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23755
|
+
const localVarPath = `/auth/logout`;
|
|
23756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23758
|
+
let baseOptions;
|
|
23759
|
+
if (configuration) {
|
|
23760
|
+
baseOptions = configuration.baseOptions;
|
|
23761
|
+
}
|
|
23762
|
+
|
|
23763
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23764
|
+
const localVarHeaderParameter = {} as any;
|
|
23765
|
+
const localVarQueryParameter = {} as any;
|
|
23766
|
+
|
|
23767
|
+
if (redirect !== undefined) {
|
|
23768
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23769
|
+
}
|
|
23770
|
+
|
|
23771
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23772
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23773
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23774
|
+
|
|
23775
|
+
return {
|
|
23776
|
+
url: toPathString(localVarUrlObj),
|
|
23777
|
+
options: localVarRequestOptions,
|
|
23778
|
+
};
|
|
23779
|
+
},
|
|
23780
|
+
};
|
|
23781
|
+
};
|
|
23782
|
+
|
|
23783
|
+
/**
|
|
23784
|
+
* AuthApi - functional programming interface
|
|
23785
|
+
* @export
|
|
23786
|
+
*/
|
|
23787
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23788
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23789
|
+
return {
|
|
23790
|
+
/**
|
|
23791
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23792
|
+
* @summary Account
|
|
23793
|
+
* @param {*} [options] Override http request option.
|
|
23794
|
+
* @throws {RequiredError}
|
|
23795
|
+
*/
|
|
23796
|
+
async authControllerAccount(
|
|
23797
|
+
options?: RawAxiosRequestConfig,
|
|
23798
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23800
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23801
|
+
const localVarOperationServerBasePath =
|
|
23802
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23803
|
+
return (axios, basePath) =>
|
|
23804
|
+
createRequestFunction(
|
|
23805
|
+
localVarAxiosArgs,
|
|
23806
|
+
globalAxios,
|
|
23807
|
+
BASE_PATH,
|
|
23808
|
+
configuration,
|
|
23809
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23810
|
+
},
|
|
23811
|
+
/**
|
|
23812
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23813
|
+
* @summary Callback
|
|
23814
|
+
* @param {*} [options] Override http request option.
|
|
23815
|
+
* @throws {RequiredError}
|
|
23816
|
+
*/
|
|
23817
|
+
async authControllerCallback(
|
|
23818
|
+
options?: RawAxiosRequestConfig,
|
|
23819
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23821
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23822
|
+
const localVarOperationServerBasePath =
|
|
23823
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23824
|
+
return (axios, basePath) =>
|
|
23825
|
+
createRequestFunction(
|
|
23826
|
+
localVarAxiosArgs,
|
|
23827
|
+
globalAxios,
|
|
23828
|
+
BASE_PATH,
|
|
23829
|
+
configuration,
|
|
23830
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23831
|
+
},
|
|
23832
|
+
/**
|
|
23833
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23834
|
+
* @summary Login
|
|
23835
|
+
* @param {string} [redirect]
|
|
23836
|
+
* @param {*} [options] Override http request option.
|
|
23837
|
+
* @throws {RequiredError}
|
|
23838
|
+
*/
|
|
23839
|
+
async authControllerLogin(
|
|
23840
|
+
redirect?: string,
|
|
23841
|
+
options?: RawAxiosRequestConfig,
|
|
23842
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23844
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23845
|
+
const localVarOperationServerBasePath =
|
|
23846
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23847
|
+
return (axios, basePath) =>
|
|
23848
|
+
createRequestFunction(
|
|
23849
|
+
localVarAxiosArgs,
|
|
23850
|
+
globalAxios,
|
|
23851
|
+
BASE_PATH,
|
|
23852
|
+
configuration,
|
|
23853
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23854
|
+
},
|
|
23855
|
+
/**
|
|
23856
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23857
|
+
* @summary Logout
|
|
23858
|
+
* @param {string} [redirect]
|
|
23859
|
+
* @param {*} [options] Override http request option.
|
|
23860
|
+
* @throws {RequiredError}
|
|
23861
|
+
*/
|
|
23862
|
+
async authControllerLogout(
|
|
23863
|
+
redirect?: string,
|
|
23864
|
+
options?: RawAxiosRequestConfig,
|
|
23865
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23866
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23867
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23868
|
+
const localVarOperationServerBasePath =
|
|
23869
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23870
|
+
return (axios, basePath) =>
|
|
23871
|
+
createRequestFunction(
|
|
23872
|
+
localVarAxiosArgs,
|
|
23873
|
+
globalAxios,
|
|
23874
|
+
BASE_PATH,
|
|
23875
|
+
configuration,
|
|
23876
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23877
|
+
},
|
|
23878
|
+
};
|
|
23879
|
+
};
|
|
23880
|
+
|
|
23881
|
+
/**
|
|
23882
|
+
* AuthApi - factory interface
|
|
23883
|
+
* @export
|
|
23884
|
+
*/
|
|
23885
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23886
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23887
|
+
return {
|
|
23888
|
+
/**
|
|
23889
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23890
|
+
* @summary Account
|
|
23891
|
+
* @param {*} [options] Override http request option.
|
|
23892
|
+
* @throws {RequiredError}
|
|
23893
|
+
*/
|
|
23894
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23895
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23896
|
+
},
|
|
23897
|
+
/**
|
|
23898
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23899
|
+
* @summary Callback
|
|
23900
|
+
* @param {*} [options] Override http request option.
|
|
23901
|
+
* @throws {RequiredError}
|
|
23902
|
+
*/
|
|
23903
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23904
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23905
|
+
},
|
|
23906
|
+
/**
|
|
23907
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23908
|
+
* @summary Login
|
|
23909
|
+
* @param {string} [redirect]
|
|
23910
|
+
* @param {*} [options] Override http request option.
|
|
23911
|
+
* @throws {RequiredError}
|
|
23912
|
+
*/
|
|
23913
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23914
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23915
|
+
},
|
|
23916
|
+
/**
|
|
23917
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23918
|
+
* @summary Logout
|
|
23919
|
+
* @param {string} [redirect]
|
|
23920
|
+
* @param {*} [options] Override http request option.
|
|
23921
|
+
* @throws {RequiredError}
|
|
23922
|
+
*/
|
|
23923
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23924
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23925
|
+
},
|
|
23926
|
+
};
|
|
23927
|
+
};
|
|
23928
|
+
|
|
23929
|
+
/**
|
|
23930
|
+
* AuthApi - object-oriented interface
|
|
23931
|
+
* @export
|
|
23932
|
+
* @class AuthApi
|
|
23933
|
+
* @extends {BaseAPI}
|
|
23934
|
+
*/
|
|
23935
|
+
export class AuthApi extends BaseAPI {
|
|
23936
|
+
/**
|
|
23937
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23938
|
+
* @summary Account
|
|
23939
|
+
* @param {*} [options] Override http request option.
|
|
23940
|
+
* @throws {RequiredError}
|
|
23941
|
+
* @memberof AuthApi
|
|
23942
|
+
*/
|
|
23943
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23944
|
+
return AuthApiFp(this.configuration)
|
|
23945
|
+
.authControllerAccount(options)
|
|
23946
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23947
|
+
}
|
|
23948
|
+
|
|
23949
|
+
/**
|
|
23950
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23951
|
+
* @summary Callback
|
|
23952
|
+
* @param {*} [options] Override http request option.
|
|
23953
|
+
* @throws {RequiredError}
|
|
23954
|
+
* @memberof AuthApi
|
|
23955
|
+
*/
|
|
23956
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23957
|
+
return AuthApiFp(this.configuration)
|
|
23958
|
+
.authControllerCallback(options)
|
|
23959
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23960
|
+
}
|
|
23961
|
+
|
|
23962
|
+
/**
|
|
23963
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23964
|
+
* @summary Login
|
|
23965
|
+
* @param {string} [redirect]
|
|
23966
|
+
* @param {*} [options] Override http request option.
|
|
23967
|
+
* @throws {RequiredError}
|
|
23968
|
+
* @memberof AuthApi
|
|
23969
|
+
*/
|
|
23970
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23971
|
+
return AuthApiFp(this.configuration)
|
|
23972
|
+
.authControllerLogin(redirect, options)
|
|
23973
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23974
|
+
}
|
|
23975
|
+
|
|
23976
|
+
/**
|
|
23977
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23978
|
+
* @summary Logout
|
|
23979
|
+
* @param {string} [redirect]
|
|
23980
|
+
* @param {*} [options] Override http request option.
|
|
23981
|
+
* @throws {RequiredError}
|
|
23982
|
+
* @memberof AuthApi
|
|
23983
|
+
*/
|
|
23984
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23985
|
+
return AuthApiFp(this.configuration)
|
|
23986
|
+
.authControllerLogout(redirect, options)
|
|
23987
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23988
|
+
}
|
|
23989
|
+
}
|
|
23990
|
+
|
|
22080
23991
|
/**
|
|
22081
23992
|
* CommandApi - axios parameter creator
|
|
22082
23993
|
* @export
|
|
@@ -24565,6 +26476,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
24565
26476
|
options: localVarRequestOptions,
|
|
24566
26477
|
};
|
|
24567
26478
|
},
|
|
26479
|
+
/**
|
|
26480
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26481
|
+
* @summary Create admin invite link for a domain
|
|
26482
|
+
* @param {string} id
|
|
26483
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26484
|
+
* @param {*} [options] Override http request option.
|
|
26485
|
+
* @throws {RequiredError}
|
|
26486
|
+
*/
|
|
26487
|
+
domainControllerCreateInviteLink: async (
|
|
26488
|
+
id: string,
|
|
26489
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26490
|
+
options: RawAxiosRequestConfig = {},
|
|
26491
|
+
): Promise<RequestArgs> => {
|
|
26492
|
+
// verify required parameter 'id' is not null or undefined
|
|
26493
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26494
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26495
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26496
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26497
|
+
let baseOptions;
|
|
26498
|
+
if (configuration) {
|
|
26499
|
+
baseOptions = configuration.baseOptions;
|
|
26500
|
+
}
|
|
26501
|
+
|
|
26502
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26503
|
+
const localVarHeaderParameter = {} as any;
|
|
26504
|
+
const localVarQueryParameter = {} as any;
|
|
26505
|
+
|
|
26506
|
+
// authentication adminAuth required
|
|
26507
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26508
|
+
|
|
26509
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26510
|
+
|
|
26511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26513
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26514
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26515
|
+
inviteLinkCreateInputDTO,
|
|
26516
|
+
localVarRequestOptions,
|
|
26517
|
+
configuration,
|
|
26518
|
+
);
|
|
26519
|
+
|
|
26520
|
+
return {
|
|
26521
|
+
url: toPathString(localVarUrlObj),
|
|
26522
|
+
options: localVarRequestOptions,
|
|
26523
|
+
};
|
|
26524
|
+
},
|
|
24568
26525
|
/**
|
|
24569
26526
|
* <br> OperationId: `DomainControllerGetOne`
|
|
24570
26527
|
* @summary Get one
|
|
@@ -24837,6 +26794,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
24837
26794
|
configuration,
|
|
24838
26795
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
24839
26796
|
},
|
|
26797
|
+
/**
|
|
26798
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26799
|
+
* @summary Create admin invite link for a domain
|
|
26800
|
+
* @param {string} id
|
|
26801
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26802
|
+
* @param {*} [options] Override http request option.
|
|
26803
|
+
* @throws {RequiredError}
|
|
26804
|
+
*/
|
|
26805
|
+
async domainControllerCreateInviteLink(
|
|
26806
|
+
id: string,
|
|
26807
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26808
|
+
options?: RawAxiosRequestConfig,
|
|
26809
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
26810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
26811
|
+
id,
|
|
26812
|
+
inviteLinkCreateInputDTO,
|
|
26813
|
+
options,
|
|
26814
|
+
);
|
|
26815
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26816
|
+
const localVarOperationServerBasePath =
|
|
26817
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
26818
|
+
return (axios, basePath) =>
|
|
26819
|
+
createRequestFunction(
|
|
26820
|
+
localVarAxiosArgs,
|
|
26821
|
+
globalAxios,
|
|
26822
|
+
BASE_PATH,
|
|
26823
|
+
configuration,
|
|
26824
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
26825
|
+
},
|
|
24840
26826
|
/**
|
|
24841
26827
|
* <br> OperationId: `DomainControllerGetOne`
|
|
24842
26828
|
* @summary Get one
|
|
@@ -25011,6 +26997,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
25011
26997
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
25012
26998
|
.then((request) => request(axios, basePath));
|
|
25013
26999
|
},
|
|
27000
|
+
/**
|
|
27001
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27002
|
+
* @summary Create admin invite link for a domain
|
|
27003
|
+
* @param {string} id
|
|
27004
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27005
|
+
* @param {*} [options] Override http request option.
|
|
27006
|
+
* @throws {RequiredError}
|
|
27007
|
+
*/
|
|
27008
|
+
domainControllerCreateInviteLink(
|
|
27009
|
+
id: string,
|
|
27010
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27011
|
+
options?: RawAxiosRequestConfig,
|
|
27012
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27013
|
+
return localVarFp
|
|
27014
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27015
|
+
.then((request) => request(axios, basePath));
|
|
27016
|
+
},
|
|
25014
27017
|
/**
|
|
25015
27018
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25016
27019
|
* @summary Get one
|
|
@@ -25116,6 +27119,25 @@ export class DomainApi extends BaseAPI {
|
|
|
25116
27119
|
.then((request) => request(this.axios, this.basePath));
|
|
25117
27120
|
}
|
|
25118
27121
|
|
|
27122
|
+
/**
|
|
27123
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27124
|
+
* @summary Create admin invite link for a domain
|
|
27125
|
+
* @param {string} id
|
|
27126
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27127
|
+
* @param {*} [options] Override http request option.
|
|
27128
|
+
* @throws {RequiredError}
|
|
27129
|
+
* @memberof DomainApi
|
|
27130
|
+
*/
|
|
27131
|
+
public domainControllerCreateInviteLink(
|
|
27132
|
+
id: string,
|
|
27133
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27134
|
+
options?: RawAxiosRequestConfig,
|
|
27135
|
+
) {
|
|
27136
|
+
return DomainApiFp(this.configuration)
|
|
27137
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27138
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27139
|
+
}
|
|
27140
|
+
|
|
25119
27141
|
/**
|
|
25120
27142
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25121
27143
|
* @summary Get one
|
|
@@ -29949,6 +31971,488 @@ export class HookApi extends BaseAPI {
|
|
|
29949
31971
|
}
|
|
29950
31972
|
}
|
|
29951
31973
|
|
|
31974
|
+
/**
|
|
31975
|
+
* InviteLinkApi - axios parameter creator
|
|
31976
|
+
* @export
|
|
31977
|
+
*/
|
|
31978
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31979
|
+
return {
|
|
31980
|
+
/**
|
|
31981
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
31982
|
+
* @summary Create invite link
|
|
31983
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
31984
|
+
* @param {*} [options] Override http request option.
|
|
31985
|
+
* @throws {RequiredError}
|
|
31986
|
+
*/
|
|
31987
|
+
inviteLinkControllerCreate: async (
|
|
31988
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
31989
|
+
options: RawAxiosRequestConfig = {},
|
|
31990
|
+
): Promise<RequestArgs> => {
|
|
31991
|
+
const localVarPath = `/invite-link`;
|
|
31992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31994
|
+
let baseOptions;
|
|
31995
|
+
if (configuration) {
|
|
31996
|
+
baseOptions = configuration.baseOptions;
|
|
31997
|
+
}
|
|
31998
|
+
|
|
31999
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32000
|
+
const localVarHeaderParameter = {} as any;
|
|
32001
|
+
const localVarQueryParameter = {} as any;
|
|
32002
|
+
|
|
32003
|
+
// authentication domainAuth required
|
|
32004
|
+
|
|
32005
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32006
|
+
|
|
32007
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32008
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32009
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32010
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32011
|
+
inviteLinkCreateInputDTO,
|
|
32012
|
+
localVarRequestOptions,
|
|
32013
|
+
configuration,
|
|
32014
|
+
);
|
|
32015
|
+
|
|
32016
|
+
return {
|
|
32017
|
+
url: toPathString(localVarUrlObj),
|
|
32018
|
+
options: localVarRequestOptions,
|
|
32019
|
+
};
|
|
32020
|
+
},
|
|
32021
|
+
/**
|
|
32022
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32023
|
+
* @summary Preview
|
|
32024
|
+
* @param {string} token
|
|
32025
|
+
* @param {*} [options] Override http request option.
|
|
32026
|
+
* @throws {RequiredError}
|
|
32027
|
+
*/
|
|
32028
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32029
|
+
// verify required parameter 'token' is not null or undefined
|
|
32030
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32031
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32034
|
+
let baseOptions;
|
|
32035
|
+
if (configuration) {
|
|
32036
|
+
baseOptions = configuration.baseOptions;
|
|
32037
|
+
}
|
|
32038
|
+
|
|
32039
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32040
|
+
const localVarHeaderParameter = {} as any;
|
|
32041
|
+
const localVarQueryParameter = {} as any;
|
|
32042
|
+
|
|
32043
|
+
// authentication domainAuth required
|
|
32044
|
+
|
|
32045
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32046
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32047
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32048
|
+
|
|
32049
|
+
return {
|
|
32050
|
+
url: toPathString(localVarUrlObj),
|
|
32051
|
+
options: localVarRequestOptions,
|
|
32052
|
+
};
|
|
32053
|
+
},
|
|
32054
|
+
/**
|
|
32055
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32056
|
+
* @summary Redeem
|
|
32057
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32058
|
+
* @param {*} [options] Override http request option.
|
|
32059
|
+
* @throws {RequiredError}
|
|
32060
|
+
*/
|
|
32061
|
+
inviteLinkControllerRedeem: async (
|
|
32062
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32063
|
+
options: RawAxiosRequestConfig = {},
|
|
32064
|
+
): Promise<RequestArgs> => {
|
|
32065
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32068
|
+
let baseOptions;
|
|
32069
|
+
if (configuration) {
|
|
32070
|
+
baseOptions = configuration.baseOptions;
|
|
32071
|
+
}
|
|
32072
|
+
|
|
32073
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32074
|
+
const localVarHeaderParameter = {} as any;
|
|
32075
|
+
const localVarQueryParameter = {} as any;
|
|
32076
|
+
|
|
32077
|
+
// authentication domainAuth required
|
|
32078
|
+
|
|
32079
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32080
|
+
|
|
32081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32083
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32084
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32085
|
+
|
|
32086
|
+
return {
|
|
32087
|
+
url: toPathString(localVarUrlObj),
|
|
32088
|
+
options: localVarRequestOptions,
|
|
32089
|
+
};
|
|
32090
|
+
},
|
|
32091
|
+
/**
|
|
32092
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32093
|
+
* @summary Revoke
|
|
32094
|
+
* @param {string} id
|
|
32095
|
+
* @param {*} [options] Override http request option.
|
|
32096
|
+
* @throws {RequiredError}
|
|
32097
|
+
*/
|
|
32098
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32099
|
+
// verify required parameter 'id' is not null or undefined
|
|
32100
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32101
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32104
|
+
let baseOptions;
|
|
32105
|
+
if (configuration) {
|
|
32106
|
+
baseOptions = configuration.baseOptions;
|
|
32107
|
+
}
|
|
32108
|
+
|
|
32109
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32110
|
+
const localVarHeaderParameter = {} as any;
|
|
32111
|
+
const localVarQueryParameter = {} as any;
|
|
32112
|
+
|
|
32113
|
+
// authentication domainAuth required
|
|
32114
|
+
|
|
32115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32117
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32118
|
+
|
|
32119
|
+
return {
|
|
32120
|
+
url: toPathString(localVarUrlObj),
|
|
32121
|
+
options: localVarRequestOptions,
|
|
32122
|
+
};
|
|
32123
|
+
},
|
|
32124
|
+
/**
|
|
32125
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32126
|
+
* @summary Search
|
|
32127
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32128
|
+
* @param {*} [options] Override http request option.
|
|
32129
|
+
* @throws {RequiredError}
|
|
32130
|
+
*/
|
|
32131
|
+
inviteLinkControllerSearch: async (
|
|
32132
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32133
|
+
options: RawAxiosRequestConfig = {},
|
|
32134
|
+
): Promise<RequestArgs> => {
|
|
32135
|
+
const localVarPath = `/invite-link/search`;
|
|
32136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32138
|
+
let baseOptions;
|
|
32139
|
+
if (configuration) {
|
|
32140
|
+
baseOptions = configuration.baseOptions;
|
|
32141
|
+
}
|
|
32142
|
+
|
|
32143
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32144
|
+
const localVarHeaderParameter = {} as any;
|
|
32145
|
+
const localVarQueryParameter = {} as any;
|
|
32146
|
+
|
|
32147
|
+
// authentication domainAuth required
|
|
32148
|
+
|
|
32149
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32150
|
+
|
|
32151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32154
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32155
|
+
inviteLinkSearchInputDTO,
|
|
32156
|
+
localVarRequestOptions,
|
|
32157
|
+
configuration,
|
|
32158
|
+
);
|
|
32159
|
+
|
|
32160
|
+
return {
|
|
32161
|
+
url: toPathString(localVarUrlObj),
|
|
32162
|
+
options: localVarRequestOptions,
|
|
32163
|
+
};
|
|
32164
|
+
},
|
|
32165
|
+
};
|
|
32166
|
+
};
|
|
32167
|
+
|
|
32168
|
+
/**
|
|
32169
|
+
* InviteLinkApi - functional programming interface
|
|
32170
|
+
* @export
|
|
32171
|
+
*/
|
|
32172
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32173
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
32174
|
+
return {
|
|
32175
|
+
/**
|
|
32176
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32177
|
+
* @summary Create invite link
|
|
32178
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32179
|
+
* @param {*} [options] Override http request option.
|
|
32180
|
+
* @throws {RequiredError}
|
|
32181
|
+
*/
|
|
32182
|
+
async inviteLinkControllerCreate(
|
|
32183
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32184
|
+
options?: RawAxiosRequestConfig,
|
|
32185
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32187
|
+
inviteLinkCreateInputDTO,
|
|
32188
|
+
options,
|
|
32189
|
+
);
|
|
32190
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32191
|
+
const localVarOperationServerBasePath =
|
|
32192
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
32193
|
+
return (axios, basePath) =>
|
|
32194
|
+
createRequestFunction(
|
|
32195
|
+
localVarAxiosArgs,
|
|
32196
|
+
globalAxios,
|
|
32197
|
+
BASE_PATH,
|
|
32198
|
+
configuration,
|
|
32199
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32200
|
+
},
|
|
32201
|
+
/**
|
|
32202
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32203
|
+
* @summary Preview
|
|
32204
|
+
* @param {string} token
|
|
32205
|
+
* @param {*} [options] Override http request option.
|
|
32206
|
+
* @throws {RequiredError}
|
|
32207
|
+
*/
|
|
32208
|
+
async inviteLinkControllerPreview(
|
|
32209
|
+
token: string,
|
|
32210
|
+
options?: RawAxiosRequestConfig,
|
|
32211
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
32213
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32214
|
+
const localVarOperationServerBasePath =
|
|
32215
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
32216
|
+
return (axios, basePath) =>
|
|
32217
|
+
createRequestFunction(
|
|
32218
|
+
localVarAxiosArgs,
|
|
32219
|
+
globalAxios,
|
|
32220
|
+
BASE_PATH,
|
|
32221
|
+
configuration,
|
|
32222
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32223
|
+
},
|
|
32224
|
+
/**
|
|
32225
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32226
|
+
* @summary Redeem
|
|
32227
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32228
|
+
* @param {*} [options] Override http request option.
|
|
32229
|
+
* @throws {RequiredError}
|
|
32230
|
+
*/
|
|
32231
|
+
async inviteLinkControllerRedeem(
|
|
32232
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32233
|
+
options?: RawAxiosRequestConfig,
|
|
32234
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
32236
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32237
|
+
const localVarOperationServerBasePath =
|
|
32238
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
32239
|
+
return (axios, basePath) =>
|
|
32240
|
+
createRequestFunction(
|
|
32241
|
+
localVarAxiosArgs,
|
|
32242
|
+
globalAxios,
|
|
32243
|
+
BASE_PATH,
|
|
32244
|
+
configuration,
|
|
32245
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32246
|
+
},
|
|
32247
|
+
/**
|
|
32248
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32249
|
+
* @summary Revoke
|
|
32250
|
+
* @param {string} id
|
|
32251
|
+
* @param {*} [options] Override http request option.
|
|
32252
|
+
* @throws {RequiredError}
|
|
32253
|
+
*/
|
|
32254
|
+
async inviteLinkControllerRevoke(
|
|
32255
|
+
id: string,
|
|
32256
|
+
options?: RawAxiosRequestConfig,
|
|
32257
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
32258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
32259
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32260
|
+
const localVarOperationServerBasePath =
|
|
32261
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
32262
|
+
return (axios, basePath) =>
|
|
32263
|
+
createRequestFunction(
|
|
32264
|
+
localVarAxiosArgs,
|
|
32265
|
+
globalAxios,
|
|
32266
|
+
BASE_PATH,
|
|
32267
|
+
configuration,
|
|
32268
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32269
|
+
},
|
|
32270
|
+
/**
|
|
32271
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32272
|
+
* @summary Search
|
|
32273
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32274
|
+
* @param {*} [options] Override http request option.
|
|
32275
|
+
* @throws {RequiredError}
|
|
32276
|
+
*/
|
|
32277
|
+
async inviteLinkControllerSearch(
|
|
32278
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32279
|
+
options?: RawAxiosRequestConfig,
|
|
32280
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32282
|
+
inviteLinkSearchInputDTO,
|
|
32283
|
+
options,
|
|
32284
|
+
);
|
|
32285
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32286
|
+
const localVarOperationServerBasePath =
|
|
32287
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
32288
|
+
return (axios, basePath) =>
|
|
32289
|
+
createRequestFunction(
|
|
32290
|
+
localVarAxiosArgs,
|
|
32291
|
+
globalAxios,
|
|
32292
|
+
BASE_PATH,
|
|
32293
|
+
configuration,
|
|
32294
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32295
|
+
},
|
|
32296
|
+
};
|
|
32297
|
+
};
|
|
32298
|
+
|
|
32299
|
+
/**
|
|
32300
|
+
* InviteLinkApi - factory interface
|
|
32301
|
+
* @export
|
|
32302
|
+
*/
|
|
32303
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32304
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
32305
|
+
return {
|
|
32306
|
+
/**
|
|
32307
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32308
|
+
* @summary Create invite link
|
|
32309
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32310
|
+
* @param {*} [options] Override http request option.
|
|
32311
|
+
* @throws {RequiredError}
|
|
32312
|
+
*/
|
|
32313
|
+
inviteLinkControllerCreate(
|
|
32314
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32315
|
+
options?: RawAxiosRequestConfig,
|
|
32316
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
32317
|
+
return localVarFp
|
|
32318
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32319
|
+
.then((request) => request(axios, basePath));
|
|
32320
|
+
},
|
|
32321
|
+
/**
|
|
32322
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32323
|
+
* @summary Preview
|
|
32324
|
+
* @param {string} token
|
|
32325
|
+
* @param {*} [options] Override http request option.
|
|
32326
|
+
* @throws {RequiredError}
|
|
32327
|
+
*/
|
|
32328
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32329
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
32330
|
+
},
|
|
32331
|
+
/**
|
|
32332
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32333
|
+
* @summary Redeem
|
|
32334
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32335
|
+
* @param {*} [options] Override http request option.
|
|
32336
|
+
* @throws {RequiredError}
|
|
32337
|
+
*/
|
|
32338
|
+
inviteLinkControllerRedeem(
|
|
32339
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32340
|
+
options?: RawAxiosRequestConfig,
|
|
32341
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32342
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
32343
|
+
},
|
|
32344
|
+
/**
|
|
32345
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32346
|
+
* @summary Revoke
|
|
32347
|
+
* @param {string} id
|
|
32348
|
+
* @param {*} [options] Override http request option.
|
|
32349
|
+
* @throws {RequiredError}
|
|
32350
|
+
*/
|
|
32351
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32352
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
32353
|
+
},
|
|
32354
|
+
/**
|
|
32355
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32356
|
+
* @summary Search
|
|
32357
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32358
|
+
* @param {*} [options] Override http request option.
|
|
32359
|
+
* @throws {RequiredError}
|
|
32360
|
+
*/
|
|
32361
|
+
inviteLinkControllerSearch(
|
|
32362
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32363
|
+
options?: RawAxiosRequestConfig,
|
|
32364
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32365
|
+
return localVarFp
|
|
32366
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32367
|
+
.then((request) => request(axios, basePath));
|
|
32368
|
+
},
|
|
32369
|
+
};
|
|
32370
|
+
};
|
|
32371
|
+
|
|
32372
|
+
/**
|
|
32373
|
+
* InviteLinkApi - object-oriented interface
|
|
32374
|
+
* @export
|
|
32375
|
+
* @class InviteLinkApi
|
|
32376
|
+
* @extends {BaseAPI}
|
|
32377
|
+
*/
|
|
32378
|
+
export class InviteLinkApi extends BaseAPI {
|
|
32379
|
+
/**
|
|
32380
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32381
|
+
* @summary Create invite link
|
|
32382
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32383
|
+
* @param {*} [options] Override http request option.
|
|
32384
|
+
* @throws {RequiredError}
|
|
32385
|
+
* @memberof InviteLinkApi
|
|
32386
|
+
*/
|
|
32387
|
+
public inviteLinkControllerCreate(
|
|
32388
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32389
|
+
options?: RawAxiosRequestConfig,
|
|
32390
|
+
) {
|
|
32391
|
+
return InviteLinkApiFp(this.configuration)
|
|
32392
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
32393
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32394
|
+
}
|
|
32395
|
+
|
|
32396
|
+
/**
|
|
32397
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32398
|
+
* @summary Preview
|
|
32399
|
+
* @param {string} token
|
|
32400
|
+
* @param {*} [options] Override http request option.
|
|
32401
|
+
* @throws {RequiredError}
|
|
32402
|
+
* @memberof InviteLinkApi
|
|
32403
|
+
*/
|
|
32404
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32405
|
+
return InviteLinkApiFp(this.configuration)
|
|
32406
|
+
.inviteLinkControllerPreview(token, options)
|
|
32407
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32408
|
+
}
|
|
32409
|
+
|
|
32410
|
+
/**
|
|
32411
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32412
|
+
* @summary Redeem
|
|
32413
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32414
|
+
* @param {*} [options] Override http request option.
|
|
32415
|
+
* @throws {RequiredError}
|
|
32416
|
+
* @memberof InviteLinkApi
|
|
32417
|
+
*/
|
|
32418
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32419
|
+
return InviteLinkApiFp(this.configuration)
|
|
32420
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
32421
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32422
|
+
}
|
|
32423
|
+
|
|
32424
|
+
/**
|
|
32425
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32426
|
+
* @summary Revoke
|
|
32427
|
+
* @param {string} id
|
|
32428
|
+
* @param {*} [options] Override http request option.
|
|
32429
|
+
* @throws {RequiredError}
|
|
32430
|
+
* @memberof InviteLinkApi
|
|
32431
|
+
*/
|
|
32432
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32433
|
+
return InviteLinkApiFp(this.configuration)
|
|
32434
|
+
.inviteLinkControllerRevoke(id, options)
|
|
32435
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32436
|
+
}
|
|
32437
|
+
|
|
32438
|
+
/**
|
|
32439
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32440
|
+
* @summary Search
|
|
32441
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
32442
|
+
* @param {*} [options] Override http request option.
|
|
32443
|
+
* @throws {RequiredError}
|
|
32444
|
+
* @memberof InviteLinkApi
|
|
32445
|
+
*/
|
|
32446
|
+
public inviteLinkControllerSearch(
|
|
32447
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32448
|
+
options?: RawAxiosRequestConfig,
|
|
32449
|
+
) {
|
|
32450
|
+
return InviteLinkApiFp(this.configuration)
|
|
32451
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32452
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32453
|
+
}
|
|
32454
|
+
}
|
|
32455
|
+
|
|
29952
32456
|
/**
|
|
29953
32457
|
* ItemApi - axios parameter creator
|
|
29954
32458
|
* @export
|
|
@@ -34326,6 +36830,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
34326
36830
|
}
|
|
34327
36831
|
}
|
|
34328
36832
|
|
|
36833
|
+
/**
|
|
36834
|
+
* RegistryApi - axios parameter creator
|
|
36835
|
+
* @export
|
|
36836
|
+
*/
|
|
36837
|
+
export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36838
|
+
return {
|
|
36839
|
+
/**
|
|
36840
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36841
|
+
* @summary Install a module from a registry
|
|
36842
|
+
* @param {string} id
|
|
36843
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36844
|
+
* @param {*} [options] Override http request option.
|
|
36845
|
+
* @throws {RequiredError}
|
|
36846
|
+
*/
|
|
36847
|
+
registryControllerInstall: async (
|
|
36848
|
+
id: string,
|
|
36849
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36850
|
+
options: RawAxiosRequestConfig = {},
|
|
36851
|
+
): Promise<RequestArgs> => {
|
|
36852
|
+
// verify required parameter 'id' is not null or undefined
|
|
36853
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
36854
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36855
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36857
|
+
let baseOptions;
|
|
36858
|
+
if (configuration) {
|
|
36859
|
+
baseOptions = configuration.baseOptions;
|
|
36860
|
+
}
|
|
36861
|
+
|
|
36862
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36863
|
+
const localVarHeaderParameter = {} as any;
|
|
36864
|
+
const localVarQueryParameter = {} as any;
|
|
36865
|
+
|
|
36866
|
+
// authentication domainAuth required
|
|
36867
|
+
|
|
36868
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36869
|
+
|
|
36870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36872
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36873
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
36874
|
+
|
|
36875
|
+
return {
|
|
36876
|
+
url: toPathString(localVarUrlObj),
|
|
36877
|
+
options: localVarRequestOptions,
|
|
36878
|
+
};
|
|
36879
|
+
},
|
|
36880
|
+
/**
|
|
36881
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36882
|
+
* @summary List subscribed registries
|
|
36883
|
+
* @param {*} [options] Override http request option.
|
|
36884
|
+
* @throws {RequiredError}
|
|
36885
|
+
*/
|
|
36886
|
+
registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36887
|
+
const localVarPath = `/registry`;
|
|
36888
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36890
|
+
let baseOptions;
|
|
36891
|
+
if (configuration) {
|
|
36892
|
+
baseOptions = configuration.baseOptions;
|
|
36893
|
+
}
|
|
36894
|
+
|
|
36895
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
36896
|
+
const localVarHeaderParameter = {} as any;
|
|
36897
|
+
const localVarQueryParameter = {} as any;
|
|
36898
|
+
|
|
36899
|
+
// authentication domainAuth required
|
|
36900
|
+
|
|
36901
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36902
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36903
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36904
|
+
|
|
36905
|
+
return {
|
|
36906
|
+
url: toPathString(localVarUrlObj),
|
|
36907
|
+
options: localVarRequestOptions,
|
|
36908
|
+
};
|
|
36909
|
+
},
|
|
36910
|
+
/**
|
|
36911
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36912
|
+
* @summary Refresh registry manifest
|
|
36913
|
+
* @param {string} id
|
|
36914
|
+
* @param {*} [options] Override http request option.
|
|
36915
|
+
* @throws {RequiredError}
|
|
36916
|
+
*/
|
|
36917
|
+
registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36918
|
+
// verify required parameter 'id' is not null or undefined
|
|
36919
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
36920
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36922
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36923
|
+
let baseOptions;
|
|
36924
|
+
if (configuration) {
|
|
36925
|
+
baseOptions = configuration.baseOptions;
|
|
36926
|
+
}
|
|
36927
|
+
|
|
36928
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36929
|
+
const localVarHeaderParameter = {} as any;
|
|
36930
|
+
const localVarQueryParameter = {} as any;
|
|
36931
|
+
|
|
36932
|
+
// authentication domainAuth required
|
|
36933
|
+
|
|
36934
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36935
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36936
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36937
|
+
|
|
36938
|
+
return {
|
|
36939
|
+
url: toPathString(localVarUrlObj),
|
|
36940
|
+
options: localVarRequestOptions,
|
|
36941
|
+
};
|
|
36942
|
+
},
|
|
36943
|
+
/**
|
|
36944
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36945
|
+
* @summary Subscribe to a registry
|
|
36946
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36947
|
+
* @param {*} [options] Override http request option.
|
|
36948
|
+
* @throws {RequiredError}
|
|
36949
|
+
*/
|
|
36950
|
+
registryControllerSubscribe: async (
|
|
36951
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36952
|
+
options: RawAxiosRequestConfig = {},
|
|
36953
|
+
): Promise<RequestArgs> => {
|
|
36954
|
+
const localVarPath = `/registry`;
|
|
36955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36957
|
+
let baseOptions;
|
|
36958
|
+
if (configuration) {
|
|
36959
|
+
baseOptions = configuration.baseOptions;
|
|
36960
|
+
}
|
|
36961
|
+
|
|
36962
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36963
|
+
const localVarHeaderParameter = {} as any;
|
|
36964
|
+
const localVarQueryParameter = {} as any;
|
|
36965
|
+
|
|
36966
|
+
// authentication domainAuth required
|
|
36967
|
+
|
|
36968
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36969
|
+
|
|
36970
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36971
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36972
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36973
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
36974
|
+
|
|
36975
|
+
return {
|
|
36976
|
+
url: toPathString(localVarUrlObj),
|
|
36977
|
+
options: localVarRequestOptions,
|
|
36978
|
+
};
|
|
36979
|
+
},
|
|
36980
|
+
/**
|
|
36981
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36982
|
+
* @summary Unsubscribe from a registry
|
|
36983
|
+
* @param {string} id
|
|
36984
|
+
* @param {*} [options] Override http request option.
|
|
36985
|
+
* @throws {RequiredError}
|
|
36986
|
+
*/
|
|
36987
|
+
registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36988
|
+
// verify required parameter 'id' is not null or undefined
|
|
36989
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
36990
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36991
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36992
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36993
|
+
let baseOptions;
|
|
36994
|
+
if (configuration) {
|
|
36995
|
+
baseOptions = configuration.baseOptions;
|
|
36996
|
+
}
|
|
36997
|
+
|
|
36998
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
36999
|
+
const localVarHeaderParameter = {} as any;
|
|
37000
|
+
const localVarQueryParameter = {} as any;
|
|
37001
|
+
|
|
37002
|
+
// authentication domainAuth required
|
|
37003
|
+
|
|
37004
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37005
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37006
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
37007
|
+
|
|
37008
|
+
return {
|
|
37009
|
+
url: toPathString(localVarUrlObj),
|
|
37010
|
+
options: localVarRequestOptions,
|
|
37011
|
+
};
|
|
37012
|
+
},
|
|
37013
|
+
};
|
|
37014
|
+
};
|
|
37015
|
+
|
|
37016
|
+
/**
|
|
37017
|
+
* RegistryApi - functional programming interface
|
|
37018
|
+
* @export
|
|
37019
|
+
*/
|
|
37020
|
+
export const RegistryApiFp = function (configuration?: Configuration) {
|
|
37021
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
37022
|
+
return {
|
|
37023
|
+
/**
|
|
37024
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
37025
|
+
* @summary Install a module from a registry
|
|
37026
|
+
* @param {string} id
|
|
37027
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
37028
|
+
* @param {*} [options] Override http request option.
|
|
37029
|
+
* @throws {RequiredError}
|
|
37030
|
+
*/
|
|
37031
|
+
async registryControllerInstall(
|
|
37032
|
+
id: string,
|
|
37033
|
+
registryInstallBody?: RegistryInstallBody,
|
|
37034
|
+
options?: RawAxiosRequestConfig,
|
|
37035
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
37036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
|
|
37037
|
+
id,
|
|
37038
|
+
registryInstallBody,
|
|
37039
|
+
options,
|
|
37040
|
+
);
|
|
37041
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37042
|
+
const localVarOperationServerBasePath =
|
|
37043
|
+
operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
37044
|
+
return (axios, basePath) =>
|
|
37045
|
+
createRequestFunction(
|
|
37046
|
+
localVarAxiosArgs,
|
|
37047
|
+
globalAxios,
|
|
37048
|
+
BASE_PATH,
|
|
37049
|
+
configuration,
|
|
37050
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
37051
|
+
},
|
|
37052
|
+
/**
|
|
37053
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
37054
|
+
* @summary List subscribed registries
|
|
37055
|
+
* @param {*} [options] Override http request option.
|
|
37056
|
+
* @throws {RequiredError}
|
|
37057
|
+
*/
|
|
37058
|
+
async registryControllerList(
|
|
37059
|
+
options?: RawAxiosRequestConfig,
|
|
37060
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
|
|
37061
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
37062
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37063
|
+
const localVarOperationServerBasePath =
|
|
37064
|
+
operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
37065
|
+
return (axios, basePath) =>
|
|
37066
|
+
createRequestFunction(
|
|
37067
|
+
localVarAxiosArgs,
|
|
37068
|
+
globalAxios,
|
|
37069
|
+
BASE_PATH,
|
|
37070
|
+
configuration,
|
|
37071
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
37072
|
+
},
|
|
37073
|
+
/**
|
|
37074
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
37075
|
+
* @summary Refresh registry manifest
|
|
37076
|
+
* @param {string} id
|
|
37077
|
+
* @param {*} [options] Override http request option.
|
|
37078
|
+
* @throws {RequiredError}
|
|
37079
|
+
*/
|
|
37080
|
+
async registryControllerRefresh(
|
|
37081
|
+
id: string,
|
|
37082
|
+
options?: RawAxiosRequestConfig,
|
|
37083
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
37084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
37085
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37086
|
+
const localVarOperationServerBasePath =
|
|
37087
|
+
operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
37088
|
+
return (axios, basePath) =>
|
|
37089
|
+
createRequestFunction(
|
|
37090
|
+
localVarAxiosArgs,
|
|
37091
|
+
globalAxios,
|
|
37092
|
+
BASE_PATH,
|
|
37093
|
+
configuration,
|
|
37094
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
37095
|
+
},
|
|
37096
|
+
/**
|
|
37097
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
37098
|
+
* @summary Subscribe to a registry
|
|
37099
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
37100
|
+
* @param {*} [options] Override http request option.
|
|
37101
|
+
* @throws {RequiredError}
|
|
37102
|
+
*/
|
|
37103
|
+
async registryControllerSubscribe(
|
|
37104
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
37105
|
+
options?: RawAxiosRequestConfig,
|
|
37106
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
37107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
|
|
37108
|
+
registrySubscribeBody,
|
|
37109
|
+
options,
|
|
37110
|
+
);
|
|
37111
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37112
|
+
const localVarOperationServerBasePath =
|
|
37113
|
+
operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
37114
|
+
return (axios, basePath) =>
|
|
37115
|
+
createRequestFunction(
|
|
37116
|
+
localVarAxiosArgs,
|
|
37117
|
+
globalAxios,
|
|
37118
|
+
BASE_PATH,
|
|
37119
|
+
configuration,
|
|
37120
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
37121
|
+
},
|
|
37122
|
+
/**
|
|
37123
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
37124
|
+
* @summary Unsubscribe from a registry
|
|
37125
|
+
* @param {string} id
|
|
37126
|
+
* @param {*} [options] Override http request option.
|
|
37127
|
+
* @throws {RequiredError}
|
|
37128
|
+
*/
|
|
37129
|
+
async registryControllerUnsubscribe(
|
|
37130
|
+
id: string,
|
|
37131
|
+
options?: RawAxiosRequestConfig,
|
|
37132
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
37133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
37134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37135
|
+
const localVarOperationServerBasePath =
|
|
37136
|
+
operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
37137
|
+
return (axios, basePath) =>
|
|
37138
|
+
createRequestFunction(
|
|
37139
|
+
localVarAxiosArgs,
|
|
37140
|
+
globalAxios,
|
|
37141
|
+
BASE_PATH,
|
|
37142
|
+
configuration,
|
|
37143
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
37144
|
+
},
|
|
37145
|
+
};
|
|
37146
|
+
};
|
|
37147
|
+
|
|
37148
|
+
/**
|
|
37149
|
+
* RegistryApi - factory interface
|
|
37150
|
+
* @export
|
|
37151
|
+
*/
|
|
37152
|
+
export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37153
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
37154
|
+
return {
|
|
37155
|
+
/**
|
|
37156
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
37157
|
+
* @summary Install a module from a registry
|
|
37158
|
+
* @param {string} id
|
|
37159
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
37160
|
+
* @param {*} [options] Override http request option.
|
|
37161
|
+
* @throws {RequiredError}
|
|
37162
|
+
*/
|
|
37163
|
+
registryControllerInstall(
|
|
37164
|
+
id: string,
|
|
37165
|
+
registryInstallBody?: RegistryInstallBody,
|
|
37166
|
+
options?: RawAxiosRequestConfig,
|
|
37167
|
+
): AxiosPromise<APIOutput> {
|
|
37168
|
+
return localVarFp
|
|
37169
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
37170
|
+
.then((request) => request(axios, basePath));
|
|
37171
|
+
},
|
|
37172
|
+
/**
|
|
37173
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
37174
|
+
* @summary List subscribed registries
|
|
37175
|
+
* @param {*} [options] Override http request option.
|
|
37176
|
+
* @throws {RequiredError}
|
|
37177
|
+
*/
|
|
37178
|
+
registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
|
|
37179
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
37180
|
+
},
|
|
37181
|
+
/**
|
|
37182
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
37183
|
+
* @summary Refresh registry manifest
|
|
37184
|
+
* @param {string} id
|
|
37185
|
+
* @param {*} [options] Override http request option.
|
|
37186
|
+
* @throws {RequiredError}
|
|
37187
|
+
*/
|
|
37188
|
+
registryControllerRefresh(
|
|
37189
|
+
id: string,
|
|
37190
|
+
options?: RawAxiosRequestConfig,
|
|
37191
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
37192
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
37193
|
+
},
|
|
37194
|
+
/**
|
|
37195
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
37196
|
+
* @summary Subscribe to a registry
|
|
37197
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
37198
|
+
* @param {*} [options] Override http request option.
|
|
37199
|
+
* @throws {RequiredError}
|
|
37200
|
+
*/
|
|
37201
|
+
registryControllerSubscribe(
|
|
37202
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
37203
|
+
options?: RawAxiosRequestConfig,
|
|
37204
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
37205
|
+
return localVarFp
|
|
37206
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
37207
|
+
.then((request) => request(axios, basePath));
|
|
37208
|
+
},
|
|
37209
|
+
/**
|
|
37210
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
37211
|
+
* @summary Unsubscribe from a registry
|
|
37212
|
+
* @param {string} id
|
|
37213
|
+
* @param {*} [options] Override http request option.
|
|
37214
|
+
* @throws {RequiredError}
|
|
37215
|
+
*/
|
|
37216
|
+
registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
37217
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
37218
|
+
},
|
|
37219
|
+
};
|
|
37220
|
+
};
|
|
37221
|
+
|
|
37222
|
+
/**
|
|
37223
|
+
* RegistryApi - object-oriented interface
|
|
37224
|
+
* @export
|
|
37225
|
+
* @class RegistryApi
|
|
37226
|
+
* @extends {BaseAPI}
|
|
37227
|
+
*/
|
|
37228
|
+
export class RegistryApi extends BaseAPI {
|
|
37229
|
+
/**
|
|
37230
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
37231
|
+
* @summary Install a module from a registry
|
|
37232
|
+
* @param {string} id
|
|
37233
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
37234
|
+
* @param {*} [options] Override http request option.
|
|
37235
|
+
* @throws {RequiredError}
|
|
37236
|
+
* @memberof RegistryApi
|
|
37237
|
+
*/
|
|
37238
|
+
public registryControllerInstall(
|
|
37239
|
+
id: string,
|
|
37240
|
+
registryInstallBody?: RegistryInstallBody,
|
|
37241
|
+
options?: RawAxiosRequestConfig,
|
|
37242
|
+
) {
|
|
37243
|
+
return RegistryApiFp(this.configuration)
|
|
37244
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
37245
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37246
|
+
}
|
|
37247
|
+
|
|
37248
|
+
/**
|
|
37249
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
37250
|
+
* @summary List subscribed registries
|
|
37251
|
+
* @param {*} [options] Override http request option.
|
|
37252
|
+
* @throws {RequiredError}
|
|
37253
|
+
* @memberof RegistryApi
|
|
37254
|
+
*/
|
|
37255
|
+
public registryControllerList(options?: RawAxiosRequestConfig) {
|
|
37256
|
+
return RegistryApiFp(this.configuration)
|
|
37257
|
+
.registryControllerList(options)
|
|
37258
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37259
|
+
}
|
|
37260
|
+
|
|
37261
|
+
/**
|
|
37262
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
37263
|
+
* @summary Refresh registry manifest
|
|
37264
|
+
* @param {string} id
|
|
37265
|
+
* @param {*} [options] Override http request option.
|
|
37266
|
+
* @throws {RequiredError}
|
|
37267
|
+
* @memberof RegistryApi
|
|
37268
|
+
*/
|
|
37269
|
+
public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
|
|
37270
|
+
return RegistryApiFp(this.configuration)
|
|
37271
|
+
.registryControllerRefresh(id, options)
|
|
37272
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37273
|
+
}
|
|
37274
|
+
|
|
37275
|
+
/**
|
|
37276
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
37277
|
+
* @summary Subscribe to a registry
|
|
37278
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
37279
|
+
* @param {*} [options] Override http request option.
|
|
37280
|
+
* @throws {RequiredError}
|
|
37281
|
+
* @memberof RegistryApi
|
|
37282
|
+
*/
|
|
37283
|
+
public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
|
|
37284
|
+
return RegistryApiFp(this.configuration)
|
|
37285
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
37286
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37287
|
+
}
|
|
37288
|
+
|
|
37289
|
+
/**
|
|
37290
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
37291
|
+
* @summary Unsubscribe from a registry
|
|
37292
|
+
* @param {string} id
|
|
37293
|
+
* @param {*} [options] Override http request option.
|
|
37294
|
+
* @throws {RequiredError}
|
|
37295
|
+
* @memberof RegistryApi
|
|
37296
|
+
*/
|
|
37297
|
+
public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
|
|
37298
|
+
return RegistryApiFp(this.configuration)
|
|
37299
|
+
.registryControllerUnsubscribe(id, options)
|
|
37300
|
+
.then((request) => request(this.axios, this.basePath));
|
|
37301
|
+
}
|
|
37302
|
+
}
|
|
37303
|
+
|
|
34329
37304
|
/**
|
|
34330
37305
|
* RoleApi - axios parameter creator
|
|
34331
37306
|
* @export
|
|
@@ -37148,7 +40123,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
37148
40123
|
*/
|
|
37149
40124
|
async shopListingControllerImportListings(
|
|
37150
40125
|
options?: RawAxiosRequestConfig,
|
|
37151
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
40126
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
37152
40127
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
37153
40128
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37154
40129
|
const localVarOperationServerBasePath =
|
|
@@ -37271,7 +40246,7 @@ export const ShopListingApiFactory = function (
|
|
|
37271
40246
|
* @param {*} [options] Override http request option.
|
|
37272
40247
|
* @throws {RequiredError}
|
|
37273
40248
|
*/
|
|
37274
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
40249
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
37275
40250
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
37276
40251
|
},
|
|
37277
40252
|
/**
|
|
@@ -37551,17 +40526,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37551
40526
|
};
|
|
37552
40527
|
},
|
|
37553
40528
|
/**
|
|
37554
|
-
* 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`
|
|
37555
|
-
* @summary Search orders
|
|
37556
|
-
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40529
|
+
* 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`
|
|
40530
|
+
* @summary Search orders
|
|
40531
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40532
|
+
* @param {*} [options] Override http request option.
|
|
40533
|
+
* @throws {RequiredError}
|
|
40534
|
+
*/
|
|
40535
|
+
shopOrderControllerSearch: async (
|
|
40536
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40537
|
+
options: RawAxiosRequestConfig = {},
|
|
40538
|
+
): Promise<RequestArgs> => {
|
|
40539
|
+
const localVarPath = `/shop/order/search`;
|
|
40540
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40541
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40542
|
+
let baseOptions;
|
|
40543
|
+
if (configuration) {
|
|
40544
|
+
baseOptions = configuration.baseOptions;
|
|
40545
|
+
}
|
|
40546
|
+
|
|
40547
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
40548
|
+
const localVarHeaderParameter = {} as any;
|
|
40549
|
+
const localVarQueryParameter = {} as any;
|
|
40550
|
+
|
|
40551
|
+
// authentication domainAuth required
|
|
40552
|
+
|
|
40553
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40554
|
+
|
|
40555
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40556
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40557
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40558
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40559
|
+
shopOrderSearchInputDTO,
|
|
40560
|
+
localVarRequestOptions,
|
|
40561
|
+
configuration,
|
|
40562
|
+
);
|
|
40563
|
+
|
|
40564
|
+
return {
|
|
40565
|
+
url: toPathString(localVarUrlObj),
|
|
40566
|
+
options: localVarRequestOptions,
|
|
40567
|
+
};
|
|
40568
|
+
},
|
|
40569
|
+
};
|
|
40570
|
+
};
|
|
40571
|
+
|
|
40572
|
+
/**
|
|
40573
|
+
* ShopOrderApi - functional programming interface
|
|
40574
|
+
* @export
|
|
40575
|
+
*/
|
|
40576
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
40577
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
40578
|
+
return {
|
|
40579
|
+
/**
|
|
40580
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40581
|
+
* @summary Cancel
|
|
40582
|
+
* @param {string} id
|
|
40583
|
+
* @param {*} [options] Override http request option.
|
|
40584
|
+
* @throws {RequiredError}
|
|
40585
|
+
*/
|
|
40586
|
+
async shopOrderControllerCancel(
|
|
40587
|
+
id: string,
|
|
40588
|
+
options?: RawAxiosRequestConfig,
|
|
40589
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
40591
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40592
|
+
const localVarOperationServerBasePath =
|
|
40593
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
40594
|
+
return (axios, basePath) =>
|
|
40595
|
+
createRequestFunction(
|
|
40596
|
+
localVarAxiosArgs,
|
|
40597
|
+
globalAxios,
|
|
40598
|
+
BASE_PATH,
|
|
40599
|
+
configuration,
|
|
40600
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40601
|
+
},
|
|
40602
|
+
/**
|
|
40603
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40604
|
+
* @summary Claim an order
|
|
40605
|
+
* @param {string} id
|
|
40606
|
+
* @param {*} [options] Override http request option.
|
|
40607
|
+
* @throws {RequiredError}
|
|
40608
|
+
*/
|
|
40609
|
+
async shopOrderControllerClaim(
|
|
40610
|
+
id: string,
|
|
40611
|
+
options?: RawAxiosRequestConfig,
|
|
40612
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
40614
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40615
|
+
const localVarOperationServerBasePath =
|
|
40616
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
40617
|
+
return (axios, basePath) =>
|
|
40618
|
+
createRequestFunction(
|
|
40619
|
+
localVarAxiosArgs,
|
|
40620
|
+
globalAxios,
|
|
40621
|
+
BASE_PATH,
|
|
40622
|
+
configuration,
|
|
40623
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40624
|
+
},
|
|
40625
|
+
/**
|
|
40626
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40627
|
+
* @summary Create
|
|
40628
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40629
|
+
* @param {*} [options] Override http request option.
|
|
40630
|
+
* @throws {RequiredError}
|
|
40631
|
+
*/
|
|
40632
|
+
async shopOrderControllerCreate(
|
|
40633
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40634
|
+
options?: RawAxiosRequestConfig,
|
|
40635
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
40637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40638
|
+
const localVarOperationServerBasePath =
|
|
40639
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
40640
|
+
return (axios, basePath) =>
|
|
40641
|
+
createRequestFunction(
|
|
40642
|
+
localVarAxiosArgs,
|
|
40643
|
+
globalAxios,
|
|
40644
|
+
BASE_PATH,
|
|
40645
|
+
configuration,
|
|
40646
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40647
|
+
},
|
|
40648
|
+
/**
|
|
40649
|
+
* 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`
|
|
40650
|
+
* @summary Get order by ID
|
|
40651
|
+
* @param {string} id
|
|
40652
|
+
* @param {*} [options] Override http request option.
|
|
40653
|
+
* @throws {RequiredError}
|
|
40654
|
+
*/
|
|
40655
|
+
async shopOrderControllerGetOne(
|
|
40656
|
+
id: string,
|
|
40657
|
+
options?: RawAxiosRequestConfig,
|
|
40658
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
40660
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40661
|
+
const localVarOperationServerBasePath =
|
|
40662
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
40663
|
+
return (axios, basePath) =>
|
|
40664
|
+
createRequestFunction(
|
|
40665
|
+
localVarAxiosArgs,
|
|
40666
|
+
globalAxios,
|
|
40667
|
+
BASE_PATH,
|
|
40668
|
+
configuration,
|
|
40669
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40670
|
+
},
|
|
40671
|
+
/**
|
|
40672
|
+
* 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`
|
|
40673
|
+
* @summary Search orders
|
|
40674
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40675
|
+
* @param {*} [options] Override http request option.
|
|
40676
|
+
* @throws {RequiredError}
|
|
40677
|
+
*/
|
|
40678
|
+
async shopOrderControllerSearch(
|
|
40679
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40680
|
+
options?: RawAxiosRequestConfig,
|
|
40681
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
40682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
40683
|
+
shopOrderSearchInputDTO,
|
|
40684
|
+
options,
|
|
40685
|
+
);
|
|
40686
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40687
|
+
const localVarOperationServerBasePath =
|
|
40688
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
40689
|
+
return (axios, basePath) =>
|
|
40690
|
+
createRequestFunction(
|
|
40691
|
+
localVarAxiosArgs,
|
|
40692
|
+
globalAxios,
|
|
40693
|
+
BASE_PATH,
|
|
40694
|
+
configuration,
|
|
40695
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40696
|
+
},
|
|
40697
|
+
};
|
|
40698
|
+
};
|
|
40699
|
+
|
|
40700
|
+
/**
|
|
40701
|
+
* ShopOrderApi - factory interface
|
|
40702
|
+
* @export
|
|
40703
|
+
*/
|
|
40704
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40705
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
40706
|
+
return {
|
|
40707
|
+
/**
|
|
40708
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40709
|
+
* @summary Cancel
|
|
40710
|
+
* @param {string} id
|
|
40711
|
+
* @param {*} [options] Override http request option.
|
|
40712
|
+
* @throws {RequiredError}
|
|
40713
|
+
*/
|
|
40714
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40715
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
40716
|
+
},
|
|
40717
|
+
/**
|
|
40718
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40719
|
+
* @summary Claim an order
|
|
40720
|
+
* @param {string} id
|
|
40721
|
+
* @param {*} [options] Override http request option.
|
|
40722
|
+
* @throws {RequiredError}
|
|
40723
|
+
*/
|
|
40724
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40725
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
40726
|
+
},
|
|
40727
|
+
/**
|
|
40728
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40729
|
+
* @summary Create
|
|
40730
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40731
|
+
* @param {*} [options] Override http request option.
|
|
40732
|
+
* @throws {RequiredError}
|
|
40733
|
+
*/
|
|
40734
|
+
shopOrderControllerCreate(
|
|
40735
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40736
|
+
options?: RawAxiosRequestConfig,
|
|
40737
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40738
|
+
return localVarFp
|
|
40739
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40740
|
+
.then((request) => request(axios, basePath));
|
|
40741
|
+
},
|
|
40742
|
+
/**
|
|
40743
|
+
* 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`
|
|
40744
|
+
* @summary Get order by ID
|
|
40745
|
+
* @param {string} id
|
|
40746
|
+
* @param {*} [options] Override http request option.
|
|
40747
|
+
* @throws {RequiredError}
|
|
40748
|
+
*/
|
|
40749
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40750
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
40751
|
+
},
|
|
40752
|
+
/**
|
|
40753
|
+
* 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`
|
|
40754
|
+
* @summary Search orders
|
|
40755
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40756
|
+
* @param {*} [options] Override http request option.
|
|
40757
|
+
* @throws {RequiredError}
|
|
40758
|
+
*/
|
|
40759
|
+
shopOrderControllerSearch(
|
|
40760
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40761
|
+
options?: RawAxiosRequestConfig,
|
|
40762
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
40763
|
+
return localVarFp
|
|
40764
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40765
|
+
.then((request) => request(axios, basePath));
|
|
40766
|
+
},
|
|
40767
|
+
};
|
|
40768
|
+
};
|
|
40769
|
+
|
|
40770
|
+
/**
|
|
40771
|
+
* ShopOrderApi - object-oriented interface
|
|
40772
|
+
* @export
|
|
40773
|
+
* @class ShopOrderApi
|
|
40774
|
+
* @extends {BaseAPI}
|
|
40775
|
+
*/
|
|
40776
|
+
export class ShopOrderApi extends BaseAPI {
|
|
40777
|
+
/**
|
|
40778
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40779
|
+
* @summary Cancel
|
|
40780
|
+
* @param {string} id
|
|
40781
|
+
* @param {*} [options] Override http request option.
|
|
40782
|
+
* @throws {RequiredError}
|
|
40783
|
+
* @memberof ShopOrderApi
|
|
40784
|
+
*/
|
|
40785
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
40786
|
+
return ShopOrderApiFp(this.configuration)
|
|
40787
|
+
.shopOrderControllerCancel(id, options)
|
|
40788
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40789
|
+
}
|
|
40790
|
+
|
|
40791
|
+
/**
|
|
40792
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40793
|
+
* @summary Claim an order
|
|
40794
|
+
* @param {string} id
|
|
40795
|
+
* @param {*} [options] Override http request option.
|
|
40796
|
+
* @throws {RequiredError}
|
|
40797
|
+
* @memberof ShopOrderApi
|
|
40798
|
+
*/
|
|
40799
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
40800
|
+
return ShopOrderApiFp(this.configuration)
|
|
40801
|
+
.shopOrderControllerClaim(id, options)
|
|
40802
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40803
|
+
}
|
|
40804
|
+
|
|
40805
|
+
/**
|
|
40806
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40807
|
+
* @summary Create
|
|
40808
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40809
|
+
* @param {*} [options] Override http request option.
|
|
40810
|
+
* @throws {RequiredError}
|
|
40811
|
+
* @memberof ShopOrderApi
|
|
40812
|
+
*/
|
|
40813
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
40814
|
+
return ShopOrderApiFp(this.configuration)
|
|
40815
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40816
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40817
|
+
}
|
|
40818
|
+
|
|
40819
|
+
/**
|
|
40820
|
+
* 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`
|
|
40821
|
+
* @summary Get order by ID
|
|
40822
|
+
* @param {string} id
|
|
40823
|
+
* @param {*} [options] Override http request option.
|
|
40824
|
+
* @throws {RequiredError}
|
|
40825
|
+
* @memberof ShopOrderApi
|
|
40826
|
+
*/
|
|
40827
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
40828
|
+
return ShopOrderApiFp(this.configuration)
|
|
40829
|
+
.shopOrderControllerGetOne(id, options)
|
|
40830
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40831
|
+
}
|
|
40832
|
+
|
|
40833
|
+
/**
|
|
40834
|
+
* 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`
|
|
40835
|
+
* @summary Search orders
|
|
40836
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40837
|
+
* @param {*} [options] Override http request option.
|
|
40838
|
+
* @throws {RequiredError}
|
|
40839
|
+
* @memberof ShopOrderApi
|
|
40840
|
+
*/
|
|
40841
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
40842
|
+
return ShopOrderApiFp(this.configuration)
|
|
40843
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40844
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40845
|
+
}
|
|
40846
|
+
}
|
|
40847
|
+
|
|
40848
|
+
/**
|
|
40849
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40850
|
+
* @export
|
|
40851
|
+
*/
|
|
40852
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40853
|
+
return {
|
|
40854
|
+
/**
|
|
40855
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40856
|
+
* @summary Get effective config
|
|
40857
|
+
* @param {string} gameServerId
|
|
40858
|
+
* @param {*} [options] Override http request option.
|
|
40859
|
+
* @throws {RequiredError}
|
|
40860
|
+
*/
|
|
40861
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40862
|
+
gameServerId: string,
|
|
40863
|
+
options: RawAxiosRequestConfig = {},
|
|
40864
|
+
): Promise<RequestArgs> => {
|
|
40865
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40866
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40867
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40868
|
+
`{${'gameServerId'}}`,
|
|
40869
|
+
encodeURIComponent(String(gameServerId)),
|
|
40870
|
+
);
|
|
40871
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40872
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40873
|
+
let baseOptions;
|
|
40874
|
+
if (configuration) {
|
|
40875
|
+
baseOptions = configuration.baseOptions;
|
|
40876
|
+
}
|
|
40877
|
+
|
|
40878
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40879
|
+
const localVarHeaderParameter = {} as any;
|
|
40880
|
+
const localVarQueryParameter = {} as any;
|
|
40881
|
+
|
|
40882
|
+
// authentication domainAuth required
|
|
40883
|
+
|
|
40884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40886
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40887
|
+
|
|
40888
|
+
return {
|
|
40889
|
+
url: toPathString(localVarUrlObj),
|
|
40890
|
+
options: localVarRequestOptions,
|
|
40891
|
+
};
|
|
40892
|
+
},
|
|
40893
|
+
/**
|
|
40894
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40895
|
+
* @summary List templates
|
|
40896
|
+
* @param {*} [options] Override http request option.
|
|
40897
|
+
* @throws {RequiredError}
|
|
40898
|
+
*/
|
|
40899
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40900
|
+
const localVarPath = `/storefront/templates`;
|
|
40901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40903
|
+
let baseOptions;
|
|
40904
|
+
if (configuration) {
|
|
40905
|
+
baseOptions = configuration.baseOptions;
|
|
40906
|
+
}
|
|
40907
|
+
|
|
40908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40909
|
+
const localVarHeaderParameter = {} as any;
|
|
40910
|
+
const localVarQueryParameter = {} as any;
|
|
40911
|
+
|
|
40912
|
+
// authentication domainAuth required
|
|
40913
|
+
|
|
40914
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40915
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40916
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40917
|
+
|
|
40918
|
+
return {
|
|
40919
|
+
url: toPathString(localVarUrlObj),
|
|
40920
|
+
options: localVarRequestOptions,
|
|
40921
|
+
};
|
|
40922
|
+
},
|
|
40923
|
+
/**
|
|
40924
|
+
* 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`
|
|
40925
|
+
* @summary Set config
|
|
40926
|
+
* @param {string} gameServerId
|
|
40927
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37557
40928
|
* @param {*} [options] Override http request option.
|
|
37558
40929
|
* @throws {RequiredError}
|
|
37559
40930
|
*/
|
|
37560
|
-
|
|
37561
|
-
|
|
40931
|
+
storefrontConfigControllerSetConfig: async (
|
|
40932
|
+
gameServerId: string,
|
|
40933
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37562
40934
|
options: RawAxiosRequestConfig = {},
|
|
37563
40935
|
): Promise<RequestArgs> => {
|
|
37564
|
-
|
|
40936
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40937
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40938
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40939
|
+
`{${'gameServerId'}}`,
|
|
40940
|
+
encodeURIComponent(String(gameServerId)),
|
|
40941
|
+
);
|
|
37565
40942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37566
40943
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37567
40944
|
let baseOptions;
|
|
@@ -37569,7 +40946,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37569
40946
|
baseOptions = configuration.baseOptions;
|
|
37570
40947
|
}
|
|
37571
40948
|
|
|
37572
|
-
const localVarRequestOptions = { method: '
|
|
40949
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
37573
40950
|
const localVarHeaderParameter = {} as any;
|
|
37574
40951
|
const localVarQueryParameter = {} as any;
|
|
37575
40952
|
|
|
@@ -37581,7 +40958,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37581
40958
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37582
40959
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
37583
40960
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
37584
|
-
|
|
40961
|
+
storefrontConfigUpsertBody,
|
|
37585
40962
|
localVarRequestOptions,
|
|
37586
40963
|
configuration,
|
|
37587
40964
|
);
|
|
@@ -37595,73 +40972,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37595
40972
|
};
|
|
37596
40973
|
|
|
37597
40974
|
/**
|
|
37598
|
-
*
|
|
40975
|
+
* StorefrontConfigApi - functional programming interface
|
|
37599
40976
|
* @export
|
|
37600
40977
|
*/
|
|
37601
|
-
export const
|
|
37602
|
-
const localVarAxiosParamCreator =
|
|
40978
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40979
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
37603
40980
|
return {
|
|
37604
40981
|
/**
|
|
37605
|
-
*
|
|
37606
|
-
* @summary
|
|
37607
|
-
* @param {string}
|
|
37608
|
-
* @param {*} [options] Override http request option.
|
|
37609
|
-
* @throws {RequiredError}
|
|
37610
|
-
*/
|
|
37611
|
-
async shopOrderControllerCancel(
|
|
37612
|
-
id: string,
|
|
37613
|
-
options?: RawAxiosRequestConfig,
|
|
37614
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
37615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
37616
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37617
|
-
const localVarOperationServerBasePath =
|
|
37618
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
37619
|
-
return (axios, basePath) =>
|
|
37620
|
-
createRequestFunction(
|
|
37621
|
-
localVarAxiosArgs,
|
|
37622
|
-
globalAxios,
|
|
37623
|
-
BASE_PATH,
|
|
37624
|
-
configuration,
|
|
37625
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
37626
|
-
},
|
|
37627
|
-
/**
|
|
37628
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37629
|
-
* @summary Claim an order
|
|
37630
|
-
* @param {string} id
|
|
37631
|
-
* @param {*} [options] Override http request option.
|
|
37632
|
-
* @throws {RequiredError}
|
|
37633
|
-
*/
|
|
37634
|
-
async shopOrderControllerClaim(
|
|
37635
|
-
id: string,
|
|
37636
|
-
options?: RawAxiosRequestConfig,
|
|
37637
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
37638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
37639
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37640
|
-
const localVarOperationServerBasePath =
|
|
37641
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
37642
|
-
return (axios, basePath) =>
|
|
37643
|
-
createRequestFunction(
|
|
37644
|
-
localVarAxiosArgs,
|
|
37645
|
-
globalAxios,
|
|
37646
|
-
BASE_PATH,
|
|
37647
|
-
configuration,
|
|
37648
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
37649
|
-
},
|
|
37650
|
-
/**
|
|
37651
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37652
|
-
* @summary Create
|
|
37653
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40982
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40983
|
+
* @summary Get effective config
|
|
40984
|
+
* @param {string} gameServerId
|
|
37654
40985
|
* @param {*} [options] Override http request option.
|
|
37655
40986
|
* @throws {RequiredError}
|
|
37656
40987
|
*/
|
|
37657
|
-
async
|
|
37658
|
-
|
|
40988
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40989
|
+
gameServerId: string,
|
|
37659
40990
|
options?: RawAxiosRequestConfig,
|
|
37660
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37661
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40991
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40993
|
+
gameServerId,
|
|
40994
|
+
options,
|
|
40995
|
+
);
|
|
37662
40996
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37663
40997
|
const localVarOperationServerBasePath =
|
|
37664
|
-
operationServerMap['
|
|
40998
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40999
|
+
localVarOperationServerIndex
|
|
41000
|
+
]?.url;
|
|
37665
41001
|
return (axios, basePath) =>
|
|
37666
41002
|
createRequestFunction(
|
|
37667
41003
|
localVarAxiosArgs,
|
|
@@ -37671,20 +41007,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37671
41007
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
37672
41008
|
},
|
|
37673
41009
|
/**
|
|
37674
|
-
*
|
|
37675
|
-
* @summary
|
|
37676
|
-
* @param {string} id
|
|
41010
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41011
|
+
* @summary List templates
|
|
37677
41012
|
* @param {*} [options] Override http request option.
|
|
37678
41013
|
* @throws {RequiredError}
|
|
37679
41014
|
*/
|
|
37680
|
-
async
|
|
37681
|
-
id: string,
|
|
41015
|
+
async storefrontConfigControllerListTemplates(
|
|
37682
41016
|
options?: RawAxiosRequestConfig,
|
|
37683
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41017
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
41018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
37685
41019
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37686
41020
|
const localVarOperationServerBasePath =
|
|
37687
|
-
operationServerMap['
|
|
41021
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
41022
|
+
localVarOperationServerIndex
|
|
41023
|
+
]?.url;
|
|
37688
41024
|
return (axios, basePath) =>
|
|
37689
41025
|
createRequestFunction(
|
|
37690
41026
|
localVarAxiosArgs,
|
|
@@ -37694,23 +41030,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37694
41030
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
37695
41031
|
},
|
|
37696
41032
|
/**
|
|
37697
|
-
*
|
|
37698
|
-
* @summary
|
|
37699
|
-
* @param {
|
|
41033
|
+
* 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`
|
|
41034
|
+
* @summary Set config
|
|
41035
|
+
* @param {string} gameServerId
|
|
41036
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37700
41037
|
* @param {*} [options] Override http request option.
|
|
37701
41038
|
* @throws {RequiredError}
|
|
37702
41039
|
*/
|
|
37703
|
-
async
|
|
37704
|
-
|
|
41040
|
+
async storefrontConfigControllerSetConfig(
|
|
41041
|
+
gameServerId: string,
|
|
41042
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37705
41043
|
options?: RawAxiosRequestConfig,
|
|
37706
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37707
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
37708
|
-
|
|
41044
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
41046
|
+
gameServerId,
|
|
41047
|
+
storefrontConfigUpsertBody,
|
|
37709
41048
|
options,
|
|
37710
41049
|
);
|
|
37711
41050
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37712
41051
|
const localVarOperationServerBasePath =
|
|
37713
|
-
operationServerMap['
|
|
41052
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
41053
|
+
?.url;
|
|
37714
41054
|
return (axios, basePath) =>
|
|
37715
41055
|
createRequestFunction(
|
|
37716
41056
|
localVarAxiosArgs,
|
|
@@ -37723,149 +41063,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37723
41063
|
};
|
|
37724
41064
|
|
|
37725
41065
|
/**
|
|
37726
|
-
*
|
|
41066
|
+
* StorefrontConfigApi - factory interface
|
|
37727
41067
|
* @export
|
|
37728
41068
|
*/
|
|
37729
|
-
export const
|
|
37730
|
-
|
|
41069
|
+
export const StorefrontConfigApiFactory = function (
|
|
41070
|
+
configuration?: Configuration,
|
|
41071
|
+
basePath?: string,
|
|
41072
|
+
axios?: AxiosInstance,
|
|
41073
|
+
) {
|
|
41074
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
37731
41075
|
return {
|
|
37732
41076
|
/**
|
|
37733
|
-
*
|
|
37734
|
-
* @summary
|
|
37735
|
-
* @param {string}
|
|
37736
|
-
* @param {*} [options] Override http request option.
|
|
37737
|
-
* @throws {RequiredError}
|
|
37738
|
-
*/
|
|
37739
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
37740
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
37741
|
-
},
|
|
37742
|
-
/**
|
|
37743
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37744
|
-
* @summary Claim an order
|
|
37745
|
-
* @param {string} id
|
|
37746
|
-
* @param {*} [options] Override http request option.
|
|
37747
|
-
* @throws {RequiredError}
|
|
37748
|
-
*/
|
|
37749
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
37750
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
37751
|
-
},
|
|
37752
|
-
/**
|
|
37753
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37754
|
-
* @summary Create
|
|
37755
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41077
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41078
|
+
* @summary Get effective config
|
|
41079
|
+
* @param {string} gameServerId
|
|
37756
41080
|
* @param {*} [options] Override http request option.
|
|
37757
41081
|
* @throws {RequiredError}
|
|
37758
41082
|
*/
|
|
37759
|
-
|
|
37760
|
-
|
|
41083
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
41084
|
+
gameServerId: string,
|
|
37761
41085
|
options?: RawAxiosRequestConfig,
|
|
37762
|
-
): AxiosPromise<
|
|
41086
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
37763
41087
|
return localVarFp
|
|
37764
|
-
.
|
|
41088
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
37765
41089
|
.then((request) => request(axios, basePath));
|
|
37766
41090
|
},
|
|
37767
41091
|
/**
|
|
37768
|
-
*
|
|
37769
|
-
* @summary
|
|
37770
|
-
* @param {string} id
|
|
41092
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41093
|
+
* @summary List templates
|
|
37771
41094
|
* @param {*} [options] Override http request option.
|
|
37772
41095
|
* @throws {RequiredError}
|
|
37773
41096
|
*/
|
|
37774
|
-
|
|
37775
|
-
|
|
41097
|
+
storefrontConfigControllerListTemplates(
|
|
41098
|
+
options?: RawAxiosRequestConfig,
|
|
41099
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
41100
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
37776
41101
|
},
|
|
37777
41102
|
/**
|
|
37778
|
-
*
|
|
37779
|
-
* @summary
|
|
37780
|
-
* @param {
|
|
41103
|
+
* 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`
|
|
41104
|
+
* @summary Set config
|
|
41105
|
+
* @param {string} gameServerId
|
|
41106
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37781
41107
|
* @param {*} [options] Override http request option.
|
|
37782
41108
|
* @throws {RequiredError}
|
|
37783
41109
|
*/
|
|
37784
|
-
|
|
37785
|
-
|
|
41110
|
+
storefrontConfigControllerSetConfig(
|
|
41111
|
+
gameServerId: string,
|
|
41112
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37786
41113
|
options?: RawAxiosRequestConfig,
|
|
37787
|
-
): AxiosPromise<
|
|
41114
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
37788
41115
|
return localVarFp
|
|
37789
|
-
.
|
|
41116
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
37790
41117
|
.then((request) => request(axios, basePath));
|
|
37791
41118
|
},
|
|
37792
41119
|
};
|
|
37793
41120
|
};
|
|
37794
41121
|
|
|
37795
41122
|
/**
|
|
37796
|
-
*
|
|
41123
|
+
* StorefrontConfigApi - object-oriented interface
|
|
37797
41124
|
* @export
|
|
37798
|
-
* @class
|
|
41125
|
+
* @class StorefrontConfigApi
|
|
37799
41126
|
* @extends {BaseAPI}
|
|
37800
41127
|
*/
|
|
37801
|
-
export class
|
|
41128
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
37802
41129
|
/**
|
|
37803
|
-
*
|
|
37804
|
-
* @summary
|
|
37805
|
-
* @param {string}
|
|
37806
|
-
* @param {*} [options] Override http request option.
|
|
37807
|
-
* @throws {RequiredError}
|
|
37808
|
-
* @memberof ShopOrderApi
|
|
37809
|
-
*/
|
|
37810
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
37811
|
-
return ShopOrderApiFp(this.configuration)
|
|
37812
|
-
.shopOrderControllerCancel(id, options)
|
|
37813
|
-
.then((request) => request(this.axios, this.basePath));
|
|
37814
|
-
}
|
|
37815
|
-
|
|
37816
|
-
/**
|
|
37817
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37818
|
-
* @summary Claim an order
|
|
37819
|
-
* @param {string} id
|
|
37820
|
-
* @param {*} [options] Override http request option.
|
|
37821
|
-
* @throws {RequiredError}
|
|
37822
|
-
* @memberof ShopOrderApi
|
|
37823
|
-
*/
|
|
37824
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
37825
|
-
return ShopOrderApiFp(this.configuration)
|
|
37826
|
-
.shopOrderControllerClaim(id, options)
|
|
37827
|
-
.then((request) => request(this.axios, this.basePath));
|
|
37828
|
-
}
|
|
37829
|
-
|
|
37830
|
-
/**
|
|
37831
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37832
|
-
* @summary Create
|
|
37833
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41130
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41131
|
+
* @summary Get effective config
|
|
41132
|
+
* @param {string} gameServerId
|
|
37834
41133
|
* @param {*} [options] Override http request option.
|
|
37835
41134
|
* @throws {RequiredError}
|
|
37836
|
-
* @memberof
|
|
41135
|
+
* @memberof StorefrontConfigApi
|
|
37837
41136
|
*/
|
|
37838
|
-
public
|
|
37839
|
-
return
|
|
37840
|
-
.
|
|
41137
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
41138
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41139
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
37841
41140
|
.then((request) => request(this.axios, this.basePath));
|
|
37842
41141
|
}
|
|
37843
41142
|
|
|
37844
41143
|
/**
|
|
37845
|
-
*
|
|
37846
|
-
* @summary
|
|
37847
|
-
* @param {string} id
|
|
41144
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41145
|
+
* @summary List templates
|
|
37848
41146
|
* @param {*} [options] Override http request option.
|
|
37849
41147
|
* @throws {RequiredError}
|
|
37850
|
-
* @memberof
|
|
41148
|
+
* @memberof StorefrontConfigApi
|
|
37851
41149
|
*/
|
|
37852
|
-
public
|
|
37853
|
-
return
|
|
37854
|
-
.
|
|
41150
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
41151
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41152
|
+
.storefrontConfigControllerListTemplates(options)
|
|
37855
41153
|
.then((request) => request(this.axios, this.basePath));
|
|
37856
41154
|
}
|
|
37857
41155
|
|
|
37858
41156
|
/**
|
|
37859
|
-
*
|
|
37860
|
-
* @summary
|
|
37861
|
-
* @param {
|
|
41157
|
+
* 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`
|
|
41158
|
+
* @summary Set config
|
|
41159
|
+
* @param {string} gameServerId
|
|
41160
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37862
41161
|
* @param {*} [options] Override http request option.
|
|
37863
41162
|
* @throws {RequiredError}
|
|
37864
|
-
* @memberof
|
|
41163
|
+
* @memberof StorefrontConfigApi
|
|
37865
41164
|
*/
|
|
37866
|
-
public
|
|
37867
|
-
|
|
37868
|
-
|
|
41165
|
+
public storefrontConfigControllerSetConfig(
|
|
41166
|
+
gameServerId: string,
|
|
41167
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41168
|
+
options?: RawAxiosRequestConfig,
|
|
41169
|
+
) {
|
|
41170
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41171
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
37869
41172
|
.then((request) => request(this.axios, this.basePath));
|
|
37870
41173
|
}
|
|
37871
41174
|
}
|
|
@@ -38453,6 +41756,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
38453
41756
|
options: localVarRequestOptions,
|
|
38454
41757
|
};
|
|
38455
41758
|
},
|
|
41759
|
+
/**
|
|
41760
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41761
|
+
* @summary Count billable dashboard users
|
|
41762
|
+
* @param {*} [options] Override http request option.
|
|
41763
|
+
* @throws {RequiredError}
|
|
41764
|
+
*/
|
|
41765
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41766
|
+
const localVarPath = `/user/count`;
|
|
41767
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41769
|
+
let baseOptions;
|
|
41770
|
+
if (configuration) {
|
|
41771
|
+
baseOptions = configuration.baseOptions;
|
|
41772
|
+
}
|
|
41773
|
+
|
|
41774
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41775
|
+
const localVarHeaderParameter = {} as any;
|
|
41776
|
+
const localVarQueryParameter = {} as any;
|
|
41777
|
+
|
|
41778
|
+
// authentication domainAuth required
|
|
41779
|
+
|
|
41780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41782
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41783
|
+
|
|
41784
|
+
return {
|
|
41785
|
+
url: toPathString(localVarUrlObj),
|
|
41786
|
+
options: localVarRequestOptions,
|
|
41787
|
+
};
|
|
41788
|
+
},
|
|
38456
41789
|
/**
|
|
38457
41790
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
38458
41791
|
* @summary Create
|
|
@@ -38558,6 +41891,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
38558
41891
|
* @summary Invite
|
|
38559
41892
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
38560
41893
|
* @param {*} [options] Override http request option.
|
|
41894
|
+
* @deprecated
|
|
38561
41895
|
* @throws {RequiredError}
|
|
38562
41896
|
*/
|
|
38563
41897
|
userControllerInvite: async (
|
|
@@ -38959,6 +42293,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
38959
42293
|
configuration,
|
|
38960
42294
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38961
42295
|
},
|
|
42296
|
+
/**
|
|
42297
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42298
|
+
* @summary Count billable dashboard users
|
|
42299
|
+
* @param {*} [options] Override http request option.
|
|
42300
|
+
* @throws {RequiredError}
|
|
42301
|
+
*/
|
|
42302
|
+
async userControllerCountBillableDashboardUsers(
|
|
42303
|
+
options?: RawAxiosRequestConfig,
|
|
42304
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
42305
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
42306
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42307
|
+
const localVarOperationServerBasePath =
|
|
42308
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
42309
|
+
return (axios, basePath) =>
|
|
42310
|
+
createRequestFunction(
|
|
42311
|
+
localVarAxiosArgs,
|
|
42312
|
+
globalAxios,
|
|
42313
|
+
BASE_PATH,
|
|
42314
|
+
configuration,
|
|
42315
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42316
|
+
},
|
|
38962
42317
|
/**
|
|
38963
42318
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
38964
42319
|
* @summary Create
|
|
@@ -39031,6 +42386,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39031
42386
|
* @summary Invite
|
|
39032
42387
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39033
42388
|
* @param {*} [options] Override http request option.
|
|
42389
|
+
* @deprecated
|
|
39034
42390
|
* @throws {RequiredError}
|
|
39035
42391
|
*/
|
|
39036
42392
|
async userControllerInvite(
|
|
@@ -39288,6 +42644,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
39288
42644
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
39289
42645
|
.then((request) => request(axios, basePath));
|
|
39290
42646
|
},
|
|
42647
|
+
/**
|
|
42648
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42649
|
+
* @summary Count billable dashboard users
|
|
42650
|
+
* @param {*} [options] Override http request option.
|
|
42651
|
+
* @throws {RequiredError}
|
|
42652
|
+
*/
|
|
42653
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42654
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42655
|
+
},
|
|
39291
42656
|
/**
|
|
39292
42657
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39293
42658
|
* @summary Create
|
|
@@ -39325,6 +42690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
39325
42690
|
* @summary Invite
|
|
39326
42691
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39327
42692
|
* @param {*} [options] Override http request option.
|
|
42693
|
+
* @deprecated
|
|
39328
42694
|
* @throws {RequiredError}
|
|
39329
42695
|
*/
|
|
39330
42696
|
userControllerInvite(
|
|
@@ -39466,6 +42832,19 @@ export class UserApi extends BaseAPI {
|
|
|
39466
42832
|
.then((request) => request(this.axios, this.basePath));
|
|
39467
42833
|
}
|
|
39468
42834
|
|
|
42835
|
+
/**
|
|
42836
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42837
|
+
* @summary Count billable dashboard users
|
|
42838
|
+
* @param {*} [options] Override http request option.
|
|
42839
|
+
* @throws {RequiredError}
|
|
42840
|
+
* @memberof UserApi
|
|
42841
|
+
*/
|
|
42842
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42843
|
+
return UserApiFp(this.configuration)
|
|
42844
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42845
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42846
|
+
}
|
|
42847
|
+
|
|
39469
42848
|
/**
|
|
39470
42849
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39471
42850
|
* @summary Create
|
|
@@ -39512,6 +42891,7 @@ export class UserApi extends BaseAPI {
|
|
|
39512
42891
|
* @summary Invite
|
|
39513
42892
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39514
42893
|
* @param {*} [options] Override http request option.
|
|
42894
|
+
* @deprecated
|
|
39515
42895
|
* @throws {RequiredError}
|
|
39516
42896
|
* @memberof UserApi
|
|
39517
42897
|
*/
|