@takaro/apiclient 0.0.0-dev.9f02005 → 0.0.0-dev.a282bfc
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 +1834 -166
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1242 -24
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +15 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +17 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +3 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +10 -4
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/generated.manifest.json +27 -0
- package/openapi.json +27938 -0
- package/package.json +2 -2
- package/src/generated/api.ts +3255 -620
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/adminClient.ts +5 -3
- package/src/lib/baseClient.ts +22 -4
- package/src/lib/client.ts +16 -4
- package/src/main.ts +1 -1
package/src/generated/api.ts
CHANGED
|
@@ -2264,6 +2264,30 @@ export interface DomainCreateInputDTO {
|
|
|
2264
2264
|
* @memberof DomainCreateInputDTO
|
|
2265
2265
|
*/
|
|
2266
2266
|
maxFunctionsInModule?: number;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {number}
|
|
2270
|
+
* @memberof DomainCreateInputDTO
|
|
2271
|
+
*/
|
|
2272
|
+
maxCustomRoles?: number;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {number}
|
|
2276
|
+
* @memberof DomainCreateInputDTO
|
|
2277
|
+
*/
|
|
2278
|
+
maxDiscordLinkedRoles?: number;
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @type {boolean}
|
|
2282
|
+
* @memberof DomainCreateInputDTO
|
|
2283
|
+
*/
|
|
2284
|
+
skipBuiltinSeeding?: boolean;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {string}
|
|
2288
|
+
* @memberof DomainCreateInputDTO
|
|
2289
|
+
*/
|
|
2290
|
+
serverRegistrationToken?: string;
|
|
2267
2291
|
}
|
|
2268
2292
|
|
|
2269
2293
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2446,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2446
|
* @memberof DomainOutputDTO
|
|
2423
2447
|
*/
|
|
2424
2448
|
maxFunctionsInModule: number;
|
|
2449
|
+
/**
|
|
2450
|
+
*
|
|
2451
|
+
* @type {number}
|
|
2452
|
+
* @memberof DomainOutputDTO
|
|
2453
|
+
*/
|
|
2454
|
+
maxCustomRoles: number;
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof DomainOutputDTO
|
|
2459
|
+
*/
|
|
2460
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2461
|
/**
|
|
2426
2462
|
*
|
|
2427
2463
|
* @type {string}
|
|
@@ -2653,6 +2689,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2689
|
* @memberof DomainUpdateInputDTO
|
|
2654
2690
|
*/
|
|
2655
2691
|
maxFunctionsInModule?: number;
|
|
2692
|
+
/**
|
|
2693
|
+
*
|
|
2694
|
+
* @type {number}
|
|
2695
|
+
* @memberof DomainUpdateInputDTO
|
|
2696
|
+
*/
|
|
2697
|
+
maxCustomRoles?: number;
|
|
2698
|
+
/**
|
|
2699
|
+
*
|
|
2700
|
+
* @type {number}
|
|
2701
|
+
* @memberof DomainUpdateInputDTO
|
|
2702
|
+
*/
|
|
2703
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2704
|
}
|
|
2657
2705
|
|
|
2658
2706
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -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
|
|
@@ -3061,19 +3153,19 @@ export interface ErrorOutput {
|
|
|
3061
3153
|
* @type {string}
|
|
3062
3154
|
* @memberof ErrorOutput
|
|
3063
3155
|
*/
|
|
3064
|
-
code
|
|
3156
|
+
code?: string;
|
|
3065
3157
|
/**
|
|
3066
3158
|
*
|
|
3067
3159
|
* @type {string}
|
|
3068
3160
|
* @memberof ErrorOutput
|
|
3069
3161
|
*/
|
|
3070
|
-
message
|
|
3162
|
+
message?: string;
|
|
3071
3163
|
/**
|
|
3072
3164
|
*
|
|
3073
3165
|
* @type {string}
|
|
3074
3166
|
* @memberof ErrorOutput
|
|
3075
3167
|
*/
|
|
3076
|
-
details
|
|
3168
|
+
details?: string;
|
|
3077
3169
|
}
|
|
3078
3170
|
/**
|
|
3079
3171
|
*
|
|
@@ -3086,7 +3178,7 @@ export interface EventChatMessage {
|
|
|
3086
3178
|
* @type {IGamePlayer}
|
|
3087
3179
|
* @memberof EventChatMessage
|
|
3088
3180
|
*/
|
|
3089
|
-
player
|
|
3181
|
+
player?: IGamePlayer;
|
|
3090
3182
|
/**
|
|
3091
3183
|
*
|
|
3092
3184
|
* @type {string}
|
|
@@ -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}
|
|
@@ -7741,7 +8326,7 @@ export interface MetadataOutput {
|
|
|
7741
8326
|
* @type {ErrorOutput}
|
|
7742
8327
|
* @memberof MetadataOutput
|
|
7743
8328
|
*/
|
|
7744
|
-
error
|
|
8329
|
+
error?: ErrorOutput;
|
|
7745
8330
|
/**
|
|
7746
8331
|
*
|
|
7747
8332
|
* @type {number}
|
|
@@ -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
|
|
@@ -11917,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
|
|
|
11917
12594
|
|
|
11918
12595
|
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
11919
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
|
+
}
|
|
11920
12610
|
/**
|
|
11921
12611
|
*
|
|
11922
12612
|
* @export
|
|
@@ -11928,7 +12618,7 @@ export interface RedirectQs {
|
|
|
11928
12618
|
* @type {string}
|
|
11929
12619
|
* @memberof RedirectQs
|
|
11930
12620
|
*/
|
|
11931
|
-
redirect
|
|
12621
|
+
redirect?: string;
|
|
11932
12622
|
}
|
|
11933
12623
|
/**
|
|
11934
12624
|
*
|
|
@@ -12729,7 +13419,7 @@ export interface RoleUpdateInputDTO {
|
|
|
12729
13419
|
* @type {string}
|
|
12730
13420
|
* @memberof RoleUpdateInputDTO
|
|
12731
13421
|
*/
|
|
12732
|
-
linkedDiscordRoleId?: string;
|
|
13422
|
+
linkedDiscordRoleId?: string | null;
|
|
12733
13423
|
}
|
|
12734
13424
|
/**
|
|
12735
13425
|
*
|
|
@@ -13935,6 +14625,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13935
14625
|
*/
|
|
13936
14626
|
daysSinceLastSale?: number;
|
|
13937
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
|
+
}
|
|
13938
14647
|
/**
|
|
13939
14648
|
*
|
|
13940
14649
|
* @export
|
|
@@ -13960,6 +14669,44 @@ export interface ShopImportOptions {
|
|
|
13960
14669
|
*/
|
|
13961
14670
|
gameServerId: string;
|
|
13962
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
|
+
}
|
|
13963
14710
|
/**
|
|
13964
14711
|
*
|
|
13965
14712
|
* @export
|
|
@@ -15102,6 +15849,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
15102
15849
|
*/
|
|
15103
15850
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15104
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
|
+
}
|
|
15105
16021
|
/**
|
|
15106
16022
|
*
|
|
15107
16023
|
* @export
|
|
@@ -15423,6 +16339,49 @@ export interface TakaroEventHookExecuted {
|
|
|
15423
16339
|
*/
|
|
15424
16340
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15425
16341
|
}
|
|
16342
|
+
/**
|
|
16343
|
+
*
|
|
16344
|
+
* @export
|
|
16345
|
+
* @interface TakaroEventInviteLinkCreated
|
|
16346
|
+
*/
|
|
16347
|
+
export interface TakaroEventInviteLinkCreated {
|
|
16348
|
+
/**
|
|
16349
|
+
*
|
|
16350
|
+
* @type {string}
|
|
16351
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16352
|
+
*/
|
|
16353
|
+
inviteLinkId: string;
|
|
16354
|
+
/**
|
|
16355
|
+
*
|
|
16356
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16357
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16358
|
+
*/
|
|
16359
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16360
|
+
/**
|
|
16361
|
+
*
|
|
16362
|
+
* @type {number}
|
|
16363
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16364
|
+
*/
|
|
16365
|
+
maxUses: number;
|
|
16366
|
+
/**
|
|
16367
|
+
*
|
|
16368
|
+
* @type {Array<string>}
|
|
16369
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16370
|
+
*/
|
|
16371
|
+
roleIds: Array<string>;
|
|
16372
|
+
/**
|
|
16373
|
+
*
|
|
16374
|
+
* @type {boolean}
|
|
16375
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16376
|
+
*/
|
|
16377
|
+
staffOrigin: boolean;
|
|
16378
|
+
/**
|
|
16379
|
+
*
|
|
16380
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
16381
|
+
* @memberof TakaroEventInviteLinkCreated
|
|
16382
|
+
*/
|
|
16383
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16384
|
+
}
|
|
15426
16385
|
/**
|
|
15427
16386
|
*
|
|
15428
16387
|
* @export
|
|
@@ -16712,6 +17671,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16712
17671
|
*/
|
|
16713
17672
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16714
17673
|
}
|
|
17674
|
+
/**
|
|
17675
|
+
*
|
|
17676
|
+
* @export
|
|
17677
|
+
* @interface UserCountOutputDTO
|
|
17678
|
+
*/
|
|
17679
|
+
export interface UserCountOutputDTO {
|
|
17680
|
+
/**
|
|
17681
|
+
*
|
|
17682
|
+
* @type {number}
|
|
17683
|
+
* @memberof UserCountOutputDTO
|
|
17684
|
+
*/
|
|
17685
|
+
count: number;
|
|
17686
|
+
}
|
|
17687
|
+
/**
|
|
17688
|
+
*
|
|
17689
|
+
* @export
|
|
17690
|
+
* @interface UserCountOutputDTOAPI
|
|
17691
|
+
*/
|
|
17692
|
+
export interface UserCountOutputDTOAPI {
|
|
17693
|
+
/**
|
|
17694
|
+
*
|
|
17695
|
+
* @type {UserCountOutputDTO}
|
|
17696
|
+
* @memberof UserCountOutputDTOAPI
|
|
17697
|
+
*/
|
|
17698
|
+
data: UserCountOutputDTO;
|
|
17699
|
+
/**
|
|
17700
|
+
*
|
|
17701
|
+
* @type {MetadataOutput}
|
|
17702
|
+
* @memberof UserCountOutputDTOAPI
|
|
17703
|
+
*/
|
|
17704
|
+
meta: MetadataOutput;
|
|
17705
|
+
}
|
|
16715
17706
|
/**
|
|
16716
17707
|
*
|
|
16717
17708
|
* @export
|
|
@@ -16749,6 +17740,37 @@ export interface UserCreateInputDTO {
|
|
|
16749
17740
|
*/
|
|
16750
17741
|
isDashboardUser?: boolean;
|
|
16751
17742
|
}
|
|
17743
|
+
/**
|
|
17744
|
+
*
|
|
17745
|
+
* @export
|
|
17746
|
+
* @interface UserCreateInviteDTO
|
|
17747
|
+
*/
|
|
17748
|
+
export interface UserCreateInviteDTO {
|
|
17749
|
+
/**
|
|
17750
|
+
*
|
|
17751
|
+
* @type {string}
|
|
17752
|
+
* @memberof UserCreateInviteDTO
|
|
17753
|
+
*/
|
|
17754
|
+
name: string;
|
|
17755
|
+
/**
|
|
17756
|
+
*
|
|
17757
|
+
* @type {string}
|
|
17758
|
+
* @memberof UserCreateInviteDTO
|
|
17759
|
+
*/
|
|
17760
|
+
email: string;
|
|
17761
|
+
/**
|
|
17762
|
+
*
|
|
17763
|
+
* @type {string}
|
|
17764
|
+
* @memberof UserCreateInviteDTO
|
|
17765
|
+
*/
|
|
17766
|
+
idpId?: string;
|
|
17767
|
+
/**
|
|
17768
|
+
*
|
|
17769
|
+
* @type {boolean}
|
|
17770
|
+
* @memberof UserCreateInviteDTO
|
|
17771
|
+
*/
|
|
17772
|
+
isDashboardUser?: boolean;
|
|
17773
|
+
}
|
|
16752
17774
|
/**
|
|
16753
17775
|
*
|
|
16754
17776
|
* @export
|
|
@@ -16852,13 +17874,25 @@ export interface UserOutputDTO {
|
|
|
16852
17874
|
* @type {PlayerOutputWithRolesDTO}
|
|
16853
17875
|
* @memberof UserOutputDTO
|
|
16854
17876
|
*/
|
|
16855
|
-
player
|
|
17877
|
+
player?: PlayerOutputWithRolesDTO;
|
|
16856
17878
|
/**
|
|
16857
17879
|
*
|
|
16858
17880
|
* @type {boolean}
|
|
16859
17881
|
* @memberof UserOutputDTO
|
|
16860
17882
|
*/
|
|
16861
17883
|
isDashboardUser: boolean;
|
|
17884
|
+
/**
|
|
17885
|
+
*
|
|
17886
|
+
* @type {boolean}
|
|
17887
|
+
* @memberof UserOutputDTO
|
|
17888
|
+
*/
|
|
17889
|
+
isSupportAccount: boolean;
|
|
17890
|
+
/**
|
|
17891
|
+
*
|
|
17892
|
+
* @type {string}
|
|
17893
|
+
* @memberof UserOutputDTO
|
|
17894
|
+
*/
|
|
17895
|
+
inviteLinkId?: string;
|
|
16862
17896
|
/**
|
|
16863
17897
|
*
|
|
16864
17898
|
* @type {string}
|
|
@@ -16968,13 +18002,44 @@ export interface UserOutputWithRolesDTO {
|
|
|
16968
18002
|
* @type {PlayerOutputWithRolesDTO}
|
|
16969
18003
|
* @memberof UserOutputWithRolesDTO
|
|
16970
18004
|
*/
|
|
16971
|
-
player
|
|
18005
|
+
player?: PlayerOutputWithRolesDTO;
|
|
16972
18006
|
/**
|
|
16973
18007
|
*
|
|
16974
18008
|
* @type {boolean}
|
|
16975
18009
|
* @memberof UserOutputWithRolesDTO
|
|
16976
18010
|
*/
|
|
16977
18011
|
isDashboardUser: boolean;
|
|
18012
|
+
/**
|
|
18013
|
+
*
|
|
18014
|
+
* @type {boolean}
|
|
18015
|
+
* @memberof UserOutputWithRolesDTO
|
|
18016
|
+
*/
|
|
18017
|
+
isSupportAccount: boolean;
|
|
18018
|
+
/**
|
|
18019
|
+
*
|
|
18020
|
+
* @type {string}
|
|
18021
|
+
* @memberof UserOutputWithRolesDTO
|
|
18022
|
+
*/
|
|
18023
|
+
inviteLinkId?: string;
|
|
18024
|
+
}
|
|
18025
|
+
/**
|
|
18026
|
+
*
|
|
18027
|
+
* @export
|
|
18028
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
18029
|
+
*/
|
|
18030
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
18031
|
+
/**
|
|
18032
|
+
*
|
|
18033
|
+
* @type {UserOutputWithRolesDTO}
|
|
18034
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
18035
|
+
*/
|
|
18036
|
+
data: UserOutputWithRolesDTO;
|
|
18037
|
+
/**
|
|
18038
|
+
*
|
|
18039
|
+
* @type {MetadataOutput}
|
|
18040
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
18041
|
+
*/
|
|
18042
|
+
meta: MetadataOutput;
|
|
16978
18043
|
}
|
|
16979
18044
|
/**
|
|
16980
18045
|
*
|
|
@@ -18181,7 +19246,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18181
19246
|
};
|
|
18182
19247
|
},
|
|
18183
19248
|
/**
|
|
18184
|
-
* Normalized 0-1 scores across
|
|
19249
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
18185
19250
|
* @summary Get module health scores
|
|
18186
19251
|
* @param {string} [startDate]
|
|
18187
19252
|
* @param {string} [endDate]
|
|
@@ -18237,23 +19302,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18237
19302
|
};
|
|
18238
19303
|
},
|
|
18239
19304
|
/**
|
|
18240
|
-
*
|
|
18241
|
-
* @summary Get module
|
|
19305
|
+
* 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`
|
|
19306
|
+
* @summary Get per-installation module KPIs
|
|
19307
|
+
* @param {string} gameServerId
|
|
19308
|
+
* @param {string} moduleId
|
|
18242
19309
|
* @param {string} [startDate]
|
|
18243
19310
|
* @param {string} [endDate]
|
|
18244
|
-
* @param {
|
|
18245
|
-
* @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
|
|
19311
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
18246
19312
|
* @param {*} [options] Override http request option.
|
|
18247
19313
|
* @throws {RequiredError}
|
|
18248
19314
|
*/
|
|
18249
|
-
|
|
19315
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19316
|
+
gameServerId: string,
|
|
19317
|
+
moduleId: string,
|
|
18250
19318
|
startDate?: string,
|
|
18251
19319
|
endDate?: string,
|
|
18252
|
-
|
|
18253
|
-
period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
|
|
19320
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
18254
19321
|
options: RawAxiosRequestConfig = {},
|
|
18255
19322
|
): Promise<RequestArgs> => {
|
|
18256
|
-
|
|
19323
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19324
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19325
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19326
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19327
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
18257
19328
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18258
19329
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18259
19330
|
let baseOptions;
|
|
@@ -18279,60 +19350,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18279
19350
|
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18280
19351
|
}
|
|
18281
19352
|
|
|
18282
|
-
if (
|
|
18283
|
-
localVarQueryParameter['
|
|
18284
|
-
}
|
|
18285
|
-
|
|
18286
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18287
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18288
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18289
|
-
|
|
18290
|
-
return {
|
|
18291
|
-
url: toPathString(localVarUrlObj),
|
|
18292
|
-
options: localVarRequestOptions,
|
|
18293
|
-
};
|
|
18294
|
-
},
|
|
18295
|
-
/**
|
|
18296
|
-
* Returns one row per module-item type (hook, cron, command, shopAction) with total runs and failures. Zero-filled when no events exist so the response shape is stable. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemTypeSummary`
|
|
18297
|
-
* @summary Get module item run/failure totals per type
|
|
18298
|
-
* @param {string} [startDate]
|
|
18299
|
-
* @param {string} [endDate]
|
|
18300
|
-
* @param {string} [gameServerId]
|
|
18301
|
-
* @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
|
|
18302
|
-
* @param {*} [options] Override http request option.
|
|
18303
|
-
* @throws {RequiredError}
|
|
18304
|
-
*/
|
|
18305
|
-
analyticsControllerGetModuleItemTypeSummary: async (
|
|
18306
|
-
startDate?: string,
|
|
18307
|
-
endDate?: string,
|
|
18308
|
-
gameServerId?: string,
|
|
18309
|
-
period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
|
|
18310
|
-
options: RawAxiosRequestConfig = {},
|
|
18311
|
-
): Promise<RequestArgs> => {
|
|
18312
|
-
const localVarPath = `/analytics/modules/items/summary`;
|
|
18313
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18314
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18315
|
-
let baseOptions;
|
|
18316
|
-
if (configuration) {
|
|
18317
|
-
baseOptions = configuration.baseOptions;
|
|
18318
|
-
}
|
|
18319
|
-
|
|
18320
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18321
|
-
const localVarHeaderParameter = {} as any;
|
|
18322
|
-
const localVarQueryParameter = {} as any;
|
|
18323
|
-
|
|
18324
|
-
// authentication domainAuth required
|
|
18325
|
-
|
|
18326
|
-
if (startDate !== undefined) {
|
|
18327
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
18328
|
-
}
|
|
18329
|
-
|
|
18330
|
-
if (endDate !== undefined) {
|
|
18331
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
18332
|
-
}
|
|
18333
|
-
|
|
18334
|
-
if (gameServerId !== undefined) {
|
|
18335
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19353
|
+
if (moduleId !== undefined) {
|
|
19354
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
18336
19355
|
}
|
|
18337
19356
|
|
|
18338
19357
|
if (period !== undefined) {
|
|
@@ -18349,23 +19368,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18349
19368
|
};
|
|
18350
19369
|
},
|
|
18351
19370
|
/**
|
|
18352
|
-
*
|
|
18353
|
-
* @summary Get
|
|
19371
|
+
* 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`
|
|
19372
|
+
* @summary Get module item failure aggregate
|
|
18354
19373
|
* @param {string} [startDate]
|
|
18355
19374
|
* @param {string} [endDate]
|
|
18356
19375
|
* @param {string} [gameServerId]
|
|
18357
|
-
* @param {
|
|
19376
|
+
* @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
|
|
18358
19377
|
* @param {*} [options] Override http request option.
|
|
18359
19378
|
* @throws {RequiredError}
|
|
18360
19379
|
*/
|
|
18361
|
-
|
|
19380
|
+
analyticsControllerGetModuleItemFailureLeaderboard: async (
|
|
18362
19381
|
startDate?: string,
|
|
18363
19382
|
endDate?: string,
|
|
18364
19383
|
gameServerId?: string,
|
|
18365
|
-
period?:
|
|
19384
|
+
period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
|
|
18366
19385
|
options: RawAxiosRequestConfig = {},
|
|
18367
19386
|
): Promise<RequestArgs> => {
|
|
18368
|
-
const localVarPath = `/analytics/
|
|
19387
|
+
const localVarPath = `/analytics/modules/items/failures`;
|
|
18369
19388
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18370
19389
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18371
19390
|
let baseOptions;
|
|
@@ -18405,23 +19424,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18405
19424
|
};
|
|
18406
19425
|
},
|
|
18407
19426
|
/**
|
|
18408
|
-
*
|
|
18409
|
-
* @summary Get
|
|
19427
|
+
* Returns one row per module-item type (hook, cron, command, shopAction) with total runs and failures. Zero-filled when no events exist so the response shape is stable. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemTypeSummary`
|
|
19428
|
+
* @summary Get module item run/failure totals per type
|
|
18410
19429
|
* @param {string} [startDate]
|
|
18411
19430
|
* @param {string} [endDate]
|
|
18412
19431
|
* @param {string} [gameServerId]
|
|
18413
|
-
* @param {
|
|
19432
|
+
* @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
|
|
18414
19433
|
* @param {*} [options] Override http request option.
|
|
18415
19434
|
* @throws {RequiredError}
|
|
18416
19435
|
*/
|
|
18417
|
-
|
|
19436
|
+
analyticsControllerGetModuleItemTypeSummary: async (
|
|
18418
19437
|
startDate?: string,
|
|
18419
19438
|
endDate?: string,
|
|
18420
19439
|
gameServerId?: string,
|
|
18421
|
-
period?:
|
|
19440
|
+
period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
|
|
18422
19441
|
options: RawAxiosRequestConfig = {},
|
|
18423
19442
|
): Promise<RequestArgs> => {
|
|
18424
|
-
const localVarPath = `/analytics/
|
|
19443
|
+
const localVarPath = `/analytics/modules/items/summary`;
|
|
18425
19444
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18426
19445
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18427
19446
|
let baseOptions;
|
|
@@ -18461,23 +19480,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18461
19480
|
};
|
|
18462
19481
|
},
|
|
18463
19482
|
/**
|
|
18464
|
-
* Counts
|
|
18465
|
-
* @summary Get
|
|
19483
|
+
* Counts by status sourced from Postgres `shopOrder.status` (authoritative current state). Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetOrderStatusMix`
|
|
19484
|
+
* @summary Get shop order status distribution
|
|
18466
19485
|
* @param {string} [startDate]
|
|
18467
19486
|
* @param {string} [endDate]
|
|
18468
19487
|
* @param {string} [gameServerId]
|
|
18469
|
-
* @param {
|
|
19488
|
+
* @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
|
|
18470
19489
|
* @param {*} [options] Override http request option.
|
|
18471
19490
|
* @throws {RequiredError}
|
|
18472
19491
|
*/
|
|
18473
|
-
|
|
19492
|
+
analyticsControllerGetOrderStatusMix: async (
|
|
18474
19493
|
startDate?: string,
|
|
18475
19494
|
endDate?: string,
|
|
18476
19495
|
gameServerId?: string,
|
|
18477
|
-
period?:
|
|
19496
|
+
period?: AnalyticsControllerGetOrderStatusMixPeriodEnum,
|
|
18478
19497
|
options: RawAxiosRequestConfig = {},
|
|
18479
19498
|
): Promise<RequestArgs> => {
|
|
18480
|
-
const localVarPath = `/analytics/
|
|
19499
|
+
const localVarPath = `/analytics/shop/order-status-mix`;
|
|
18481
19500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18482
19501
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18483
19502
|
let baseOptions;
|
|
@@ -18517,23 +19536,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18517
19536
|
};
|
|
18518
19537
|
},
|
|
18519
19538
|
/**
|
|
18520
|
-
*
|
|
18521
|
-
* @summary Get
|
|
19539
|
+
* p50 and p95 of meta.ping from player-sync-snapshot events, bucketed by time. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPingHealth`
|
|
19540
|
+
* @summary Get ping health timeseries
|
|
18522
19541
|
* @param {string} [startDate]
|
|
18523
19542
|
* @param {string} [endDate]
|
|
18524
19543
|
* @param {string} [gameServerId]
|
|
18525
|
-
* @param {
|
|
19544
|
+
* @param {AnalyticsControllerGetPingHealthPeriodEnum} [period]
|
|
18526
19545
|
* @param {*} [options] Override http request option.
|
|
18527
19546
|
* @throws {RequiredError}
|
|
18528
19547
|
*/
|
|
18529
|
-
|
|
19548
|
+
analyticsControllerGetPingHealth: async (
|
|
18530
19549
|
startDate?: string,
|
|
18531
19550
|
endDate?: string,
|
|
18532
19551
|
gameServerId?: string,
|
|
18533
|
-
period?:
|
|
19552
|
+
period?: AnalyticsControllerGetPingHealthPeriodEnum,
|
|
18534
19553
|
options: RawAxiosRequestConfig = {},
|
|
18535
19554
|
): Promise<RequestArgs> => {
|
|
18536
|
-
const localVarPath = `/analytics/players/
|
|
19555
|
+
const localVarPath = `/analytics/players/ping-health`;
|
|
18537
19556
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18538
19557
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18539
19558
|
let baseOptions;
|
|
@@ -18573,23 +19592,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18573
19592
|
};
|
|
18574
19593
|
},
|
|
18575
19594
|
/**
|
|
18576
|
-
*
|
|
18577
|
-
* @summary Get player
|
|
19595
|
+
* Counts per event_name across the player-activity whitelist (chat, kills, deaths, inventory, shop orders, roles, currency). Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerActivityMix`
|
|
19596
|
+
* @summary Get player activity mix
|
|
18578
19597
|
* @param {string} [startDate]
|
|
18579
19598
|
* @param {string} [endDate]
|
|
18580
19599
|
* @param {string} [gameServerId]
|
|
18581
|
-
* @param {
|
|
19600
|
+
* @param {AnalyticsControllerGetPlayerActivityMixPeriodEnum} [period]
|
|
18582
19601
|
* @param {*} [options] Override http request option.
|
|
18583
19602
|
* @throws {RequiredError}
|
|
18584
19603
|
*/
|
|
18585
|
-
|
|
19604
|
+
analyticsControllerGetPlayerActivityMix: async (
|
|
18586
19605
|
startDate?: string,
|
|
18587
19606
|
endDate?: string,
|
|
18588
19607
|
gameServerId?: string,
|
|
18589
|
-
period?:
|
|
19608
|
+
period?: AnalyticsControllerGetPlayerActivityMixPeriodEnum,
|
|
18590
19609
|
options: RawAxiosRequestConfig = {},
|
|
18591
19610
|
): Promise<RequestArgs> => {
|
|
18592
|
-
const localVarPath = `/analytics/players/
|
|
19611
|
+
const localVarPath = `/analytics/players/activity-mix`;
|
|
18593
19612
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18594
19613
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18595
19614
|
let baseOptions;
|
|
@@ -18629,23 +19648,135 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18629
19648
|
};
|
|
18630
19649
|
},
|
|
18631
19650
|
/**
|
|
18632
|
-
*
|
|
18633
|
-
* @summary Get
|
|
19651
|
+
* Top players by K/D ratio — kills from entity-killed, deaths from player-death. Minimum 5 combined events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKillLeaderboard`
|
|
19652
|
+
* @summary Get kill/death leaderboard
|
|
18634
19653
|
* @param {string} [startDate]
|
|
18635
19654
|
* @param {string} [endDate]
|
|
18636
19655
|
* @param {string} [gameServerId]
|
|
18637
|
-
* @param {
|
|
19656
|
+
* @param {AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum} [period]
|
|
18638
19657
|
* @param {*} [options] Override http request option.
|
|
18639
19658
|
* @throws {RequiredError}
|
|
18640
19659
|
*/
|
|
18641
|
-
|
|
19660
|
+
analyticsControllerGetPlayerKillLeaderboard: async (
|
|
18642
19661
|
startDate?: string,
|
|
18643
19662
|
endDate?: string,
|
|
18644
19663
|
gameServerId?: string,
|
|
18645
|
-
period?:
|
|
19664
|
+
period?: AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum,
|
|
18646
19665
|
options: RawAxiosRequestConfig = {},
|
|
18647
19666
|
): Promise<RequestArgs> => {
|
|
18648
|
-
const localVarPath = `/analytics/players/
|
|
19667
|
+
const localVarPath = `/analytics/players/kill-leaderboard`;
|
|
19668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19670
|
+
let baseOptions;
|
|
19671
|
+
if (configuration) {
|
|
19672
|
+
baseOptions = configuration.baseOptions;
|
|
19673
|
+
}
|
|
19674
|
+
|
|
19675
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19676
|
+
const localVarHeaderParameter = {} as any;
|
|
19677
|
+
const localVarQueryParameter = {} as any;
|
|
19678
|
+
|
|
19679
|
+
// authentication domainAuth required
|
|
19680
|
+
|
|
19681
|
+
if (startDate !== undefined) {
|
|
19682
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19683
|
+
}
|
|
19684
|
+
|
|
19685
|
+
if (endDate !== undefined) {
|
|
19686
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19687
|
+
}
|
|
19688
|
+
|
|
19689
|
+
if (gameServerId !== undefined) {
|
|
19690
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19691
|
+
}
|
|
19692
|
+
|
|
19693
|
+
if (period !== undefined) {
|
|
19694
|
+
localVarQueryParameter['period'] = period;
|
|
19695
|
+
}
|
|
19696
|
+
|
|
19697
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19698
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19699
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19700
|
+
|
|
19701
|
+
return {
|
|
19702
|
+
url: toPathString(localVarUrlObj),
|
|
19703
|
+
options: localVarRequestOptions,
|
|
19704
|
+
};
|
|
19705
|
+
},
|
|
19706
|
+
/**
|
|
19707
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKpis`
|
|
19708
|
+
* @summary Get player KPI summary
|
|
19709
|
+
* @param {string} [startDate]
|
|
19710
|
+
* @param {string} [endDate]
|
|
19711
|
+
* @param {string} [gameServerId]
|
|
19712
|
+
* @param {AnalyticsControllerGetPlayerKpisPeriodEnum} [period]
|
|
19713
|
+
* @param {*} [options] Override http request option.
|
|
19714
|
+
* @throws {RequiredError}
|
|
19715
|
+
*/
|
|
19716
|
+
analyticsControllerGetPlayerKpis: async (
|
|
19717
|
+
startDate?: string,
|
|
19718
|
+
endDate?: string,
|
|
19719
|
+
gameServerId?: string,
|
|
19720
|
+
period?: AnalyticsControllerGetPlayerKpisPeriodEnum,
|
|
19721
|
+
options: RawAxiosRequestConfig = {},
|
|
19722
|
+
): Promise<RequestArgs> => {
|
|
19723
|
+
const localVarPath = `/analytics/players/kpis`;
|
|
19724
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19725
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19726
|
+
let baseOptions;
|
|
19727
|
+
if (configuration) {
|
|
19728
|
+
baseOptions = configuration.baseOptions;
|
|
19729
|
+
}
|
|
19730
|
+
|
|
19731
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19732
|
+
const localVarHeaderParameter = {} as any;
|
|
19733
|
+
const localVarQueryParameter = {} as any;
|
|
19734
|
+
|
|
19735
|
+
// authentication domainAuth required
|
|
19736
|
+
|
|
19737
|
+
if (startDate !== undefined) {
|
|
19738
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19739
|
+
}
|
|
19740
|
+
|
|
19741
|
+
if (endDate !== undefined) {
|
|
19742
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19743
|
+
}
|
|
19744
|
+
|
|
19745
|
+
if (gameServerId !== undefined) {
|
|
19746
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19747
|
+
}
|
|
19748
|
+
|
|
19749
|
+
if (period !== undefined) {
|
|
19750
|
+
localVarQueryParameter['period'] = period;
|
|
19751
|
+
}
|
|
19752
|
+
|
|
19753
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19755
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19756
|
+
|
|
19757
|
+
return {
|
|
19758
|
+
url: toPathString(localVarUrlObj),
|
|
19759
|
+
options: localVarRequestOptions,
|
|
19760
|
+
};
|
|
19761
|
+
},
|
|
19762
|
+
/**
|
|
19763
|
+
* Ranks players by total connected time within the selected period. Sums meta.sessionMinutes from player-disconnected events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerPlaytimeLeaderboard`
|
|
19764
|
+
* @summary Get player playtime leaderboard
|
|
19765
|
+
* @param {string} [startDate]
|
|
19766
|
+
* @param {string} [endDate]
|
|
19767
|
+
* @param {string} [gameServerId]
|
|
19768
|
+
* @param {AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum} [period]
|
|
19769
|
+
* @param {*} [options] Override http request option.
|
|
19770
|
+
* @throws {RequiredError}
|
|
19771
|
+
*/
|
|
19772
|
+
analyticsControllerGetPlayerPlaytimeLeaderboard: async (
|
|
19773
|
+
startDate?: string,
|
|
19774
|
+
endDate?: string,
|
|
19775
|
+
gameServerId?: string,
|
|
19776
|
+
period?: AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum,
|
|
19777
|
+
options: RawAxiosRequestConfig = {},
|
|
19778
|
+
): Promise<RequestArgs> => {
|
|
19779
|
+
const localVarPath = `/analytics/players/playtime-leaderboard`;
|
|
18649
19780
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18650
19781
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18651
19782
|
let baseOptions;
|
|
@@ -19302,7 +20433,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19302
20433
|
},
|
|
19303
20434
|
/**
|
|
19304
20435
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
19305
|
-
* @summary Get top modules by
|
|
20436
|
+
* @summary Get top modules by execution volume
|
|
19306
20437
|
* @param {string} [startDate]
|
|
19307
20438
|
* @param {string} [endDate]
|
|
19308
20439
|
* @param {string} [gameServerId]
|
|
@@ -19836,7 +20967,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19836
20967
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19837
20968
|
},
|
|
19838
20969
|
/**
|
|
19839
|
-
* Normalized 0-1 scores across
|
|
20970
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19840
20971
|
* @summary Get module health scores
|
|
19841
20972
|
* @param {string} [startDate]
|
|
19842
20973
|
* @param {string} [endDate]
|
|
@@ -19870,6 +21001,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19870
21001
|
configuration,
|
|
19871
21002
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19872
21003
|
},
|
|
21004
|
+
/**
|
|
21005
|
+
* 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`
|
|
21006
|
+
* @summary Get per-installation module KPIs
|
|
21007
|
+
* @param {string} gameServerId
|
|
21008
|
+
* @param {string} moduleId
|
|
21009
|
+
* @param {string} [startDate]
|
|
21010
|
+
* @param {string} [endDate]
|
|
21011
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21012
|
+
* @param {*} [options] Override http request option.
|
|
21013
|
+
* @throws {RequiredError}
|
|
21014
|
+
*/
|
|
21015
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
21016
|
+
gameServerId: string,
|
|
21017
|
+
moduleId: string,
|
|
21018
|
+
startDate?: string,
|
|
21019
|
+
endDate?: string,
|
|
21020
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21021
|
+
options?: RawAxiosRequestConfig,
|
|
21022
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
21023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
21024
|
+
gameServerId,
|
|
21025
|
+
moduleId,
|
|
21026
|
+
startDate,
|
|
21027
|
+
endDate,
|
|
21028
|
+
period,
|
|
21029
|
+
options,
|
|
21030
|
+
);
|
|
21031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21032
|
+
const localVarOperationServerBasePath =
|
|
21033
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
21034
|
+
?.url;
|
|
21035
|
+
return (axios, basePath) =>
|
|
21036
|
+
createRequestFunction(
|
|
21037
|
+
localVarAxiosArgs,
|
|
21038
|
+
globalAxios,
|
|
21039
|
+
BASE_PATH,
|
|
21040
|
+
configuration,
|
|
21041
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
21042
|
+
},
|
|
19873
21043
|
/**
|
|
19874
21044
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19875
21045
|
* @summary Get module item failure aggregate
|
|
@@ -20549,7 +21719,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20549
21719
|
},
|
|
20550
21720
|
/**
|
|
20551
21721
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20552
|
-
* @summary Get top modules by
|
|
21722
|
+
* @summary Get top modules by execution volume
|
|
20553
21723
|
* @param {string} [startDate]
|
|
20554
21724
|
* @param {string} [endDate]
|
|
20555
21725
|
* @param {string} [gameServerId]
|
|
@@ -20871,7 +22041,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20871
22041
|
.then((request) => request(axios, basePath));
|
|
20872
22042
|
},
|
|
20873
22043
|
/**
|
|
20874
|
-
* Normalized 0-1 scores across
|
|
22044
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20875
22045
|
* @summary Get module health scores
|
|
20876
22046
|
* @param {string} [startDate]
|
|
20877
22047
|
* @param {string} [endDate]
|
|
@@ -20891,6 +22061,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20891
22061
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20892
22062
|
.then((request) => request(axios, basePath));
|
|
20893
22063
|
},
|
|
22064
|
+
/**
|
|
22065
|
+
* 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`
|
|
22066
|
+
* @summary Get per-installation module KPIs
|
|
22067
|
+
* @param {string} gameServerId
|
|
22068
|
+
* @param {string} moduleId
|
|
22069
|
+
* @param {string} [startDate]
|
|
22070
|
+
* @param {string} [endDate]
|
|
22071
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22072
|
+
* @param {*} [options] Override http request option.
|
|
22073
|
+
* @throws {RequiredError}
|
|
22074
|
+
*/
|
|
22075
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
22076
|
+
gameServerId: string,
|
|
22077
|
+
moduleId: string,
|
|
22078
|
+
startDate?: string,
|
|
22079
|
+
endDate?: string,
|
|
22080
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22081
|
+
options?: RawAxiosRequestConfig,
|
|
22082
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
22083
|
+
return localVarFp
|
|
22084
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22085
|
+
.then((request) => request(axios, basePath));
|
|
22086
|
+
},
|
|
20894
22087
|
/**
|
|
20895
22088
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
20896
22089
|
* @summary Get module item failure aggregate
|
|
@@ -21292,7 +22485,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21292
22485
|
},
|
|
21293
22486
|
/**
|
|
21294
22487
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21295
|
-
* @summary Get top modules by
|
|
22488
|
+
* @summary Get top modules by execution volume
|
|
21296
22489
|
* @param {string} [startDate]
|
|
21297
22490
|
* @param {string} [endDate]
|
|
21298
22491
|
* @param {string} [gameServerId]
|
|
@@ -21611,7 +22804,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21611
22804
|
}
|
|
21612
22805
|
|
|
21613
22806
|
/**
|
|
21614
|
-
* Normalized 0-1 scores across
|
|
22807
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21615
22808
|
* @summary Get module health scores
|
|
21616
22809
|
* @param {string} [startDate]
|
|
21617
22810
|
* @param {string} [endDate]
|
|
@@ -21633,6 +22826,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21633
22826
|
.then((request) => request(this.axios, this.basePath));
|
|
21634
22827
|
}
|
|
21635
22828
|
|
|
22829
|
+
/**
|
|
22830
|
+
* 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`
|
|
22831
|
+
* @summary Get per-installation module KPIs
|
|
22832
|
+
* @param {string} gameServerId
|
|
22833
|
+
* @param {string} moduleId
|
|
22834
|
+
* @param {string} [startDate]
|
|
22835
|
+
* @param {string} [endDate]
|
|
22836
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22837
|
+
* @param {*} [options] Override http request option.
|
|
22838
|
+
* @throws {RequiredError}
|
|
22839
|
+
* @memberof AnalyticsApi
|
|
22840
|
+
*/
|
|
22841
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22842
|
+
gameServerId: string,
|
|
22843
|
+
moduleId: string,
|
|
22844
|
+
startDate?: string,
|
|
22845
|
+
endDate?: string,
|
|
22846
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22847
|
+
options?: RawAxiosRequestConfig,
|
|
22848
|
+
) {
|
|
22849
|
+
return AnalyticsApiFp(this.configuration)
|
|
22850
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22851
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22852
|
+
}
|
|
22853
|
+
|
|
21636
22854
|
/**
|
|
21637
22855
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
21638
22856
|
* @summary Get module item failure aggregate
|
|
@@ -22072,7 +23290,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22072
23290
|
|
|
22073
23291
|
/**
|
|
22074
23292
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22075
|
-
* @summary Get top modules by
|
|
23293
|
+
* @summary Get top modules by execution volume
|
|
22076
23294
|
* @param {string} [startDate]
|
|
22077
23295
|
* @param {string} [endDate]
|
|
22078
23296
|
* @param {string} [gameServerId]
|
|
@@ -22252,6 +23470,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
22252
23470
|
/**
|
|
22253
23471
|
* @export
|
|
22254
23472
|
*/
|
|
23473
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23474
|
+
_24h: '24h',
|
|
23475
|
+
_7d: '7d',
|
|
23476
|
+
_30d: '30d',
|
|
23477
|
+
_90d: '90d',
|
|
23478
|
+
} as const;
|
|
23479
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23480
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23481
|
+
/**
|
|
23482
|
+
* @export
|
|
23483
|
+
*/
|
|
22255
23484
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
22256
23485
|
_24h: '24h',
|
|
22257
23486
|
_7d: '7d',
|
|
@@ -22481,6 +23710,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22481
23710
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22482
23711
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22483
23712
|
|
|
23713
|
+
/**
|
|
23714
|
+
* AuthApi - axios parameter creator
|
|
23715
|
+
* @export
|
|
23716
|
+
*/
|
|
23717
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23718
|
+
return {
|
|
23719
|
+
/**
|
|
23720
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23721
|
+
* @summary Account
|
|
23722
|
+
* @param {*} [options] Override http request option.
|
|
23723
|
+
* @throws {RequiredError}
|
|
23724
|
+
*/
|
|
23725
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23726
|
+
const localVarPath = `/auth/account`;
|
|
23727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23728
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23729
|
+
let baseOptions;
|
|
23730
|
+
if (configuration) {
|
|
23731
|
+
baseOptions = configuration.baseOptions;
|
|
23732
|
+
}
|
|
23733
|
+
|
|
23734
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23735
|
+
const localVarHeaderParameter = {} as any;
|
|
23736
|
+
const localVarQueryParameter = {} as any;
|
|
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: `AuthControllerCallback`
|
|
23749
|
+
* @summary Callback
|
|
23750
|
+
* @param {*} [options] Override http request option.
|
|
23751
|
+
* @throws {RequiredError}
|
|
23752
|
+
*/
|
|
23753
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23754
|
+
const localVarPath = `/auth/callback`;
|
|
23755
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23756
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23757
|
+
let baseOptions;
|
|
23758
|
+
if (configuration) {
|
|
23759
|
+
baseOptions = configuration.baseOptions;
|
|
23760
|
+
}
|
|
23761
|
+
|
|
23762
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23763
|
+
const localVarHeaderParameter = {} as any;
|
|
23764
|
+
const localVarQueryParameter = {} as any;
|
|
23765
|
+
|
|
23766
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23768
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23769
|
+
|
|
23770
|
+
return {
|
|
23771
|
+
url: toPathString(localVarUrlObj),
|
|
23772
|
+
options: localVarRequestOptions,
|
|
23773
|
+
};
|
|
23774
|
+
},
|
|
23775
|
+
/**
|
|
23776
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23777
|
+
* @summary Login
|
|
23778
|
+
* @param {string} [redirect]
|
|
23779
|
+
* @param {*} [options] Override http request option.
|
|
23780
|
+
* @throws {RequiredError}
|
|
23781
|
+
*/
|
|
23782
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23783
|
+
const localVarPath = `/auth/login`;
|
|
23784
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23785
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23786
|
+
let baseOptions;
|
|
23787
|
+
if (configuration) {
|
|
23788
|
+
baseOptions = configuration.baseOptions;
|
|
23789
|
+
}
|
|
23790
|
+
|
|
23791
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23792
|
+
const localVarHeaderParameter = {} as any;
|
|
23793
|
+
const localVarQueryParameter = {} as any;
|
|
23794
|
+
|
|
23795
|
+
if (redirect !== undefined) {
|
|
23796
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23797
|
+
}
|
|
23798
|
+
|
|
23799
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23800
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23801
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23802
|
+
|
|
23803
|
+
return {
|
|
23804
|
+
url: toPathString(localVarUrlObj),
|
|
23805
|
+
options: localVarRequestOptions,
|
|
23806
|
+
};
|
|
23807
|
+
},
|
|
23808
|
+
/**
|
|
23809
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23810
|
+
* @summary Logout
|
|
23811
|
+
* @param {string} [redirect]
|
|
23812
|
+
* @param {*} [options] Override http request option.
|
|
23813
|
+
* @throws {RequiredError}
|
|
23814
|
+
*/
|
|
23815
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23816
|
+
const localVarPath = `/auth/logout`;
|
|
23817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23819
|
+
let baseOptions;
|
|
23820
|
+
if (configuration) {
|
|
23821
|
+
baseOptions = configuration.baseOptions;
|
|
23822
|
+
}
|
|
23823
|
+
|
|
23824
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23825
|
+
const localVarHeaderParameter = {} as any;
|
|
23826
|
+
const localVarQueryParameter = {} as any;
|
|
23827
|
+
|
|
23828
|
+
if (redirect !== undefined) {
|
|
23829
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23830
|
+
}
|
|
23831
|
+
|
|
23832
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23833
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23835
|
+
|
|
23836
|
+
return {
|
|
23837
|
+
url: toPathString(localVarUrlObj),
|
|
23838
|
+
options: localVarRequestOptions,
|
|
23839
|
+
};
|
|
23840
|
+
},
|
|
23841
|
+
};
|
|
23842
|
+
};
|
|
23843
|
+
|
|
23844
|
+
/**
|
|
23845
|
+
* AuthApi - functional programming interface
|
|
23846
|
+
* @export
|
|
23847
|
+
*/
|
|
23848
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23849
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23850
|
+
return {
|
|
23851
|
+
/**
|
|
23852
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23853
|
+
* @summary Account
|
|
23854
|
+
* @param {*} [options] Override http request option.
|
|
23855
|
+
* @throws {RequiredError}
|
|
23856
|
+
*/
|
|
23857
|
+
async authControllerAccount(
|
|
23858
|
+
options?: RawAxiosRequestConfig,
|
|
23859
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23861
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23862
|
+
const localVarOperationServerBasePath =
|
|
23863
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23864
|
+
return (axios, basePath) =>
|
|
23865
|
+
createRequestFunction(
|
|
23866
|
+
localVarAxiosArgs,
|
|
23867
|
+
globalAxios,
|
|
23868
|
+
BASE_PATH,
|
|
23869
|
+
configuration,
|
|
23870
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23871
|
+
},
|
|
23872
|
+
/**
|
|
23873
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23874
|
+
* @summary Callback
|
|
23875
|
+
* @param {*} [options] Override http request option.
|
|
23876
|
+
* @throws {RequiredError}
|
|
23877
|
+
*/
|
|
23878
|
+
async authControllerCallback(
|
|
23879
|
+
options?: RawAxiosRequestConfig,
|
|
23880
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23882
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23883
|
+
const localVarOperationServerBasePath =
|
|
23884
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23885
|
+
return (axios, basePath) =>
|
|
23886
|
+
createRequestFunction(
|
|
23887
|
+
localVarAxiosArgs,
|
|
23888
|
+
globalAxios,
|
|
23889
|
+
BASE_PATH,
|
|
23890
|
+
configuration,
|
|
23891
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23892
|
+
},
|
|
23893
|
+
/**
|
|
23894
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23895
|
+
* @summary Login
|
|
23896
|
+
* @param {string} [redirect]
|
|
23897
|
+
* @param {*} [options] Override http request option.
|
|
23898
|
+
* @throws {RequiredError}
|
|
23899
|
+
*/
|
|
23900
|
+
async authControllerLogin(
|
|
23901
|
+
redirect?: string,
|
|
23902
|
+
options?: RawAxiosRequestConfig,
|
|
23903
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23905
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23906
|
+
const localVarOperationServerBasePath =
|
|
23907
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23908
|
+
return (axios, basePath) =>
|
|
23909
|
+
createRequestFunction(
|
|
23910
|
+
localVarAxiosArgs,
|
|
23911
|
+
globalAxios,
|
|
23912
|
+
BASE_PATH,
|
|
23913
|
+
configuration,
|
|
23914
|
+
)(axios, localVarOperationServerBasePath || 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
|
+
async authControllerLogout(
|
|
23924
|
+
redirect?: string,
|
|
23925
|
+
options?: RawAxiosRequestConfig,
|
|
23926
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23927
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23928
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23929
|
+
const localVarOperationServerBasePath =
|
|
23930
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23931
|
+
return (axios, basePath) =>
|
|
23932
|
+
createRequestFunction(
|
|
23933
|
+
localVarAxiosArgs,
|
|
23934
|
+
globalAxios,
|
|
23935
|
+
BASE_PATH,
|
|
23936
|
+
configuration,
|
|
23937
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23938
|
+
},
|
|
23939
|
+
};
|
|
23940
|
+
};
|
|
23941
|
+
|
|
23942
|
+
/**
|
|
23943
|
+
* AuthApi - factory interface
|
|
23944
|
+
* @export
|
|
23945
|
+
*/
|
|
23946
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23947
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23948
|
+
return {
|
|
23949
|
+
/**
|
|
23950
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23951
|
+
* @summary Account
|
|
23952
|
+
* @param {*} [options] Override http request option.
|
|
23953
|
+
* @throws {RequiredError}
|
|
23954
|
+
*/
|
|
23955
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23956
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23957
|
+
},
|
|
23958
|
+
/**
|
|
23959
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23960
|
+
* @summary Callback
|
|
23961
|
+
* @param {*} [options] Override http request option.
|
|
23962
|
+
* @throws {RequiredError}
|
|
23963
|
+
*/
|
|
23964
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23965
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23966
|
+
},
|
|
23967
|
+
/**
|
|
23968
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23969
|
+
* @summary Login
|
|
23970
|
+
* @param {string} [redirect]
|
|
23971
|
+
* @param {*} [options] Override http request option.
|
|
23972
|
+
* @throws {RequiredError}
|
|
23973
|
+
*/
|
|
23974
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23975
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23976
|
+
},
|
|
23977
|
+
/**
|
|
23978
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23979
|
+
* @summary Logout
|
|
23980
|
+
* @param {string} [redirect]
|
|
23981
|
+
* @param {*} [options] Override http request option.
|
|
23982
|
+
* @throws {RequiredError}
|
|
23983
|
+
*/
|
|
23984
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23985
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23986
|
+
},
|
|
23987
|
+
};
|
|
23988
|
+
};
|
|
23989
|
+
|
|
23990
|
+
/**
|
|
23991
|
+
* AuthApi - object-oriented interface
|
|
23992
|
+
* @export
|
|
23993
|
+
* @class AuthApi
|
|
23994
|
+
* @extends {BaseAPI}
|
|
23995
|
+
*/
|
|
23996
|
+
export class AuthApi extends BaseAPI {
|
|
23997
|
+
/**
|
|
23998
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23999
|
+
* @summary Account
|
|
24000
|
+
* @param {*} [options] Override http request option.
|
|
24001
|
+
* @throws {RequiredError}
|
|
24002
|
+
* @memberof AuthApi
|
|
24003
|
+
*/
|
|
24004
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
24005
|
+
return AuthApiFp(this.configuration)
|
|
24006
|
+
.authControllerAccount(options)
|
|
24007
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24008
|
+
}
|
|
24009
|
+
|
|
24010
|
+
/**
|
|
24011
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
24012
|
+
* @summary Callback
|
|
24013
|
+
* @param {*} [options] Override http request option.
|
|
24014
|
+
* @throws {RequiredError}
|
|
24015
|
+
* @memberof AuthApi
|
|
24016
|
+
*/
|
|
24017
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
24018
|
+
return AuthApiFp(this.configuration)
|
|
24019
|
+
.authControllerCallback(options)
|
|
24020
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24021
|
+
}
|
|
24022
|
+
|
|
24023
|
+
/**
|
|
24024
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
24025
|
+
* @summary Login
|
|
24026
|
+
* @param {string} [redirect]
|
|
24027
|
+
* @param {*} [options] Override http request option.
|
|
24028
|
+
* @throws {RequiredError}
|
|
24029
|
+
* @memberof AuthApi
|
|
24030
|
+
*/
|
|
24031
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
24032
|
+
return AuthApiFp(this.configuration)
|
|
24033
|
+
.authControllerLogin(redirect, options)
|
|
24034
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24035
|
+
}
|
|
24036
|
+
|
|
24037
|
+
/**
|
|
24038
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
24039
|
+
* @summary Logout
|
|
24040
|
+
* @param {string} [redirect]
|
|
24041
|
+
* @param {*} [options] Override http request option.
|
|
24042
|
+
* @throws {RequiredError}
|
|
24043
|
+
* @memberof AuthApi
|
|
24044
|
+
*/
|
|
24045
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
24046
|
+
return AuthApiFp(this.configuration)
|
|
24047
|
+
.authControllerLogout(redirect, options)
|
|
24048
|
+
.then((request) => request(this.axios, this.basePath));
|
|
24049
|
+
}
|
|
24050
|
+
}
|
|
24051
|
+
|
|
22484
24052
|
/**
|
|
22485
24053
|
* CommandApi - axios parameter creator
|
|
22486
24054
|
* @export
|
|
@@ -24969,6 +26537,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
24969
26537
|
options: localVarRequestOptions,
|
|
24970
26538
|
};
|
|
24971
26539
|
},
|
|
26540
|
+
/**
|
|
26541
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26542
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26543
|
+
* @param {string} id
|
|
26544
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26545
|
+
* @param {*} [options] Override http request option.
|
|
26546
|
+
* @throws {RequiredError}
|
|
26547
|
+
*/
|
|
26548
|
+
domainControllerCreateInviteLink: async (
|
|
26549
|
+
id: string,
|
|
26550
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26551
|
+
options: RawAxiosRequestConfig = {},
|
|
26552
|
+
): Promise<RequestArgs> => {
|
|
26553
|
+
// verify required parameter 'id' is not null or undefined
|
|
26554
|
+
assertParamExists('domainControllerCreateInviteLink', 'id', id);
|
|
26555
|
+
const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
26556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26558
|
+
let baseOptions;
|
|
26559
|
+
if (configuration) {
|
|
26560
|
+
baseOptions = configuration.baseOptions;
|
|
26561
|
+
}
|
|
26562
|
+
|
|
26563
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
26564
|
+
const localVarHeaderParameter = {} as any;
|
|
26565
|
+
const localVarQueryParameter = {} as any;
|
|
26566
|
+
|
|
26567
|
+
// authentication adminAuth required
|
|
26568
|
+
await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
|
|
26569
|
+
|
|
26570
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26571
|
+
|
|
26572
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26573
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26574
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
26575
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
26576
|
+
inviteLinkCreateInputDTO,
|
|
26577
|
+
localVarRequestOptions,
|
|
26578
|
+
configuration,
|
|
26579
|
+
);
|
|
26580
|
+
|
|
26581
|
+
return {
|
|
26582
|
+
url: toPathString(localVarUrlObj),
|
|
26583
|
+
options: localVarRequestOptions,
|
|
26584
|
+
};
|
|
26585
|
+
},
|
|
24972
26586
|
/**
|
|
24973
26587
|
* <br> OperationId: `DomainControllerGetOne`
|
|
24974
26588
|
* @summary Get one
|
|
@@ -25241,6 +26855,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
|
|
|
25241
26855
|
configuration,
|
|
25242
26856
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
25243
26857
|
},
|
|
26858
|
+
/**
|
|
26859
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
26860
|
+
* @summary Create staff-recovery invite link for a domain
|
|
26861
|
+
* @param {string} id
|
|
26862
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
26863
|
+
* @param {*} [options] Override http request option.
|
|
26864
|
+
* @throws {RequiredError}
|
|
26865
|
+
*/
|
|
26866
|
+
async domainControllerCreateInviteLink(
|
|
26867
|
+
id: string,
|
|
26868
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
26869
|
+
options?: RawAxiosRequestConfig,
|
|
26870
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
26871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
|
|
26872
|
+
id,
|
|
26873
|
+
inviteLinkCreateInputDTO,
|
|
26874
|
+
options,
|
|
26875
|
+
);
|
|
26876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26877
|
+
const localVarOperationServerBasePath =
|
|
26878
|
+
operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
|
|
26879
|
+
return (axios, basePath) =>
|
|
26880
|
+
createRequestFunction(
|
|
26881
|
+
localVarAxiosArgs,
|
|
26882
|
+
globalAxios,
|
|
26883
|
+
BASE_PATH,
|
|
26884
|
+
configuration,
|
|
26885
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
26886
|
+
},
|
|
25244
26887
|
/**
|
|
25245
26888
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25246
26889
|
* @summary Get one
|
|
@@ -25415,6 +27058,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
|
|
|
25415
27058
|
.domainControllerCreate(domainCreateInputDTO, options)
|
|
25416
27059
|
.then((request) => request(axios, basePath));
|
|
25417
27060
|
},
|
|
27061
|
+
/**
|
|
27062
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27063
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27064
|
+
* @param {string} id
|
|
27065
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27066
|
+
* @param {*} [options] Override http request option.
|
|
27067
|
+
* @throws {RequiredError}
|
|
27068
|
+
*/
|
|
27069
|
+
domainControllerCreateInviteLink(
|
|
27070
|
+
id: string,
|
|
27071
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27072
|
+
options?: RawAxiosRequestConfig,
|
|
27073
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
27074
|
+
return localVarFp
|
|
27075
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27076
|
+
.then((request) => request(axios, basePath));
|
|
27077
|
+
},
|
|
25418
27078
|
/**
|
|
25419
27079
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25420
27080
|
* @summary Get one
|
|
@@ -25520,6 +27180,25 @@ export class DomainApi extends BaseAPI {
|
|
|
25520
27180
|
.then((request) => request(this.axios, this.basePath));
|
|
25521
27181
|
}
|
|
25522
27182
|
|
|
27183
|
+
/**
|
|
27184
|
+
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
27185
|
+
* @summary Create staff-recovery invite link for a domain
|
|
27186
|
+
* @param {string} id
|
|
27187
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
27188
|
+
* @param {*} [options] Override http request option.
|
|
27189
|
+
* @throws {RequiredError}
|
|
27190
|
+
* @memberof DomainApi
|
|
27191
|
+
*/
|
|
27192
|
+
public domainControllerCreateInviteLink(
|
|
27193
|
+
id: string,
|
|
27194
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
27195
|
+
options?: RawAxiosRequestConfig,
|
|
27196
|
+
) {
|
|
27197
|
+
return DomainApiFp(this.configuration)
|
|
27198
|
+
.domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
|
|
27199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
27200
|
+
}
|
|
27201
|
+
|
|
25523
27202
|
/**
|
|
25524
27203
|
* <br> OperationId: `DomainControllerGetOne`
|
|
25525
27204
|
* @summary Get one
|
|
@@ -26480,16 +28159,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
|
|
|
26480
28159
|
/**
|
|
26481
28160
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26482
28161
|
* @summary Auth discord
|
|
26483
|
-
* @param {string} redirect
|
|
28162
|
+
* @param {string} [redirect]
|
|
26484
28163
|
* @param {*} [options] Override http request option.
|
|
26485
28164
|
* @throws {RequiredError}
|
|
26486
28165
|
*/
|
|
26487
28166
|
externalAuthControllerAuthDiscord: async (
|
|
26488
|
-
redirect
|
|
28167
|
+
redirect?: string,
|
|
26489
28168
|
options: RawAxiosRequestConfig = {},
|
|
26490
28169
|
): Promise<RequestArgs> => {
|
|
26491
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
26492
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
26493
28170
|
const localVarPath = `/auth/discord`;
|
|
26494
28171
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26495
28172
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26556,12 +28233,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
|
|
|
26556
28233
|
/**
|
|
26557
28234
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26558
28235
|
* @summary Auth discord
|
|
26559
|
-
* @param {string} redirect
|
|
28236
|
+
* @param {string} [redirect]
|
|
26560
28237
|
* @param {*} [options] Override http request option.
|
|
26561
28238
|
* @throws {RequiredError}
|
|
26562
28239
|
*/
|
|
26563
28240
|
async externalAuthControllerAuthDiscord(
|
|
26564
|
-
redirect
|
|
28241
|
+
redirect?: string,
|
|
26565
28242
|
options?: RawAxiosRequestConfig,
|
|
26566
28243
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26567
28244
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
@@ -26615,11 +28292,11 @@ export const ExternalAuthApiFactory = function (
|
|
|
26615
28292
|
/**
|
|
26616
28293
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26617
28294
|
* @summary Auth discord
|
|
26618
|
-
* @param {string} redirect
|
|
28295
|
+
* @param {string} [redirect]
|
|
26619
28296
|
* @param {*} [options] Override http request option.
|
|
26620
28297
|
* @throws {RequiredError}
|
|
26621
28298
|
*/
|
|
26622
|
-
externalAuthControllerAuthDiscord(redirect
|
|
28299
|
+
externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
26623
28300
|
return localVarFp
|
|
26624
28301
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
26625
28302
|
.then((request) => request(axios, basePath));
|
|
@@ -26646,12 +28323,12 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
26646
28323
|
/**
|
|
26647
28324
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
26648
28325
|
* @summary Auth discord
|
|
26649
|
-
* @param {string} redirect
|
|
28326
|
+
* @param {string} [redirect]
|
|
26650
28327
|
* @param {*} [options] Override http request option.
|
|
26651
28328
|
* @throws {RequiredError}
|
|
26652
28329
|
* @memberof ExternalAuthApi
|
|
26653
28330
|
*/
|
|
26654
|
-
public externalAuthControllerAuthDiscord(redirect
|
|
28331
|
+
public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
26655
28332
|
return ExternalAuthApiFp(this.configuration)
|
|
26656
28333
|
.externalAuthControllerAuthDiscord(redirect, options)
|
|
26657
28334
|
.then((request) => request(this.axios, this.basePath));
|
|
@@ -29840,17 +31517,681 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
29840
31517
|
};
|
|
29841
31518
|
},
|
|
29842
31519
|
/**
|
|
29843
|
-
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
31520
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
31521
|
+
* @summary Search
|
|
31522
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
31523
|
+
* @param {*} [options] Override http request option.
|
|
31524
|
+
* @throws {RequiredError}
|
|
31525
|
+
*/
|
|
31526
|
+
hookControllerSearch: async (
|
|
31527
|
+
hookSearchInputDTO?: HookSearchInputDTO,
|
|
31528
|
+
options: RawAxiosRequestConfig = {},
|
|
31529
|
+
): Promise<RequestArgs> => {
|
|
31530
|
+
const localVarPath = `/hook/search`;
|
|
31531
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31532
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31533
|
+
let baseOptions;
|
|
31534
|
+
if (configuration) {
|
|
31535
|
+
baseOptions = configuration.baseOptions;
|
|
31536
|
+
}
|
|
31537
|
+
|
|
31538
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
31539
|
+
const localVarHeaderParameter = {} as any;
|
|
31540
|
+
const localVarQueryParameter = {} as any;
|
|
31541
|
+
|
|
31542
|
+
// authentication domainAuth required
|
|
31543
|
+
|
|
31544
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31545
|
+
|
|
31546
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31547
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31548
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
31549
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
|
|
31550
|
+
|
|
31551
|
+
return {
|
|
31552
|
+
url: toPathString(localVarUrlObj),
|
|
31553
|
+
options: localVarRequestOptions,
|
|
31554
|
+
};
|
|
31555
|
+
},
|
|
31556
|
+
/**
|
|
31557
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
31558
|
+
* @summary Trigger
|
|
31559
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
31560
|
+
* @param {*} [options] Override http request option.
|
|
31561
|
+
* @throws {RequiredError}
|
|
31562
|
+
*/
|
|
31563
|
+
hookControllerTrigger: async (
|
|
31564
|
+
hookTriggerDTO?: HookTriggerDTO,
|
|
31565
|
+
options: RawAxiosRequestConfig = {},
|
|
31566
|
+
): Promise<RequestArgs> => {
|
|
31567
|
+
const localVarPath = `/hook/trigger`;
|
|
31568
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31569
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31570
|
+
let baseOptions;
|
|
31571
|
+
if (configuration) {
|
|
31572
|
+
baseOptions = configuration.baseOptions;
|
|
31573
|
+
}
|
|
31574
|
+
|
|
31575
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
31576
|
+
const localVarHeaderParameter = {} as any;
|
|
31577
|
+
const localVarQueryParameter = {} as any;
|
|
31578
|
+
|
|
31579
|
+
// authentication domainAuth required
|
|
31580
|
+
|
|
31581
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31582
|
+
|
|
31583
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31584
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31585
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
31586
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
|
|
31587
|
+
|
|
31588
|
+
return {
|
|
31589
|
+
url: toPathString(localVarUrlObj),
|
|
31590
|
+
options: localVarRequestOptions,
|
|
31591
|
+
};
|
|
31592
|
+
},
|
|
31593
|
+
/**
|
|
31594
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
31595
|
+
* @summary Update
|
|
31596
|
+
* @param {string} id
|
|
31597
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
31598
|
+
* @param {*} [options] Override http request option.
|
|
31599
|
+
* @throws {RequiredError}
|
|
31600
|
+
*/
|
|
31601
|
+
hookControllerUpdate: async (
|
|
31602
|
+
id: string,
|
|
31603
|
+
hookUpdateDTO?: HookUpdateDTO,
|
|
31604
|
+
options: RawAxiosRequestConfig = {},
|
|
31605
|
+
): Promise<RequestArgs> => {
|
|
31606
|
+
// verify required parameter 'id' is not null or undefined
|
|
31607
|
+
assertParamExists('hookControllerUpdate', 'id', id);
|
|
31608
|
+
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
31609
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31611
|
+
let baseOptions;
|
|
31612
|
+
if (configuration) {
|
|
31613
|
+
baseOptions = configuration.baseOptions;
|
|
31614
|
+
}
|
|
31615
|
+
|
|
31616
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
31617
|
+
const localVarHeaderParameter = {} as any;
|
|
31618
|
+
const localVarQueryParameter = {} as any;
|
|
31619
|
+
|
|
31620
|
+
// authentication domainAuth required
|
|
31621
|
+
|
|
31622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31623
|
+
|
|
31624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31626
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
31627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
|
|
31628
|
+
|
|
31629
|
+
return {
|
|
31630
|
+
url: toPathString(localVarUrlObj),
|
|
31631
|
+
options: localVarRequestOptions,
|
|
31632
|
+
};
|
|
31633
|
+
},
|
|
31634
|
+
};
|
|
31635
|
+
};
|
|
31636
|
+
|
|
31637
|
+
/**
|
|
31638
|
+
* HookApi - functional programming interface
|
|
31639
|
+
* @export
|
|
31640
|
+
*/
|
|
31641
|
+
export const HookApiFp = function (configuration?: Configuration) {
|
|
31642
|
+
const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
|
|
31643
|
+
return {
|
|
31644
|
+
/**
|
|
31645
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
31646
|
+
* @summary Create
|
|
31647
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
31648
|
+
* @param {*} [options] Override http request option.
|
|
31649
|
+
* @throws {RequiredError}
|
|
31650
|
+
*/
|
|
31651
|
+
async hookControllerCreate(
|
|
31652
|
+
hookCreateDTO?: HookCreateDTO,
|
|
31653
|
+
options?: RawAxiosRequestConfig,
|
|
31654
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
|
|
31655
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
31656
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31657
|
+
const localVarOperationServerBasePath =
|
|
31658
|
+
operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
31659
|
+
return (axios, basePath) =>
|
|
31660
|
+
createRequestFunction(
|
|
31661
|
+
localVarAxiosArgs,
|
|
31662
|
+
globalAxios,
|
|
31663
|
+
BASE_PATH,
|
|
31664
|
+
configuration,
|
|
31665
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31666
|
+
},
|
|
31667
|
+
/**
|
|
31668
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
31669
|
+
* @summary Get executions
|
|
31670
|
+
* @param {string} id
|
|
31671
|
+
* @param {any} [success]
|
|
31672
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
31673
|
+
* @param {*} [options] Override http request option.
|
|
31674
|
+
* @throws {RequiredError}
|
|
31675
|
+
*/
|
|
31676
|
+
async hookControllerGetExecutions(
|
|
31677
|
+
id: string,
|
|
31678
|
+
success?: any,
|
|
31679
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
31680
|
+
options?: RawAxiosRequestConfig,
|
|
31681
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventOutputArrayDTOAPI>> {
|
|
31682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(
|
|
31683
|
+
id,
|
|
31684
|
+
success,
|
|
31685
|
+
eventSearchInputDTO,
|
|
31686
|
+
options,
|
|
31687
|
+
);
|
|
31688
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31689
|
+
const localVarOperationServerBasePath =
|
|
31690
|
+
operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
31691
|
+
return (axios, basePath) =>
|
|
31692
|
+
createRequestFunction(
|
|
31693
|
+
localVarAxiosArgs,
|
|
31694
|
+
globalAxios,
|
|
31695
|
+
BASE_PATH,
|
|
31696
|
+
configuration,
|
|
31697
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31698
|
+
},
|
|
31699
|
+
/**
|
|
31700
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
31701
|
+
* @summary Get one
|
|
31702
|
+
* @param {string} id
|
|
31703
|
+
* @param {*} [options] Override http request option.
|
|
31704
|
+
* @throws {RequiredError}
|
|
31705
|
+
*/
|
|
31706
|
+
async hookControllerGetOne(
|
|
31707
|
+
id: string,
|
|
31708
|
+
options?: RawAxiosRequestConfig,
|
|
31709
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
|
|
31710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
31711
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31712
|
+
const localVarOperationServerBasePath =
|
|
31713
|
+
operationServerMap['HookApi.hookControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
31714
|
+
return (axios, basePath) =>
|
|
31715
|
+
createRequestFunction(
|
|
31716
|
+
localVarAxiosArgs,
|
|
31717
|
+
globalAxios,
|
|
31718
|
+
BASE_PATH,
|
|
31719
|
+
configuration,
|
|
31720
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31721
|
+
},
|
|
31722
|
+
/**
|
|
31723
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
31724
|
+
* @summary Remove
|
|
31725
|
+
* @param {string} id
|
|
31726
|
+
* @param {*} [options] Override http request option.
|
|
31727
|
+
* @throws {RequiredError}
|
|
31728
|
+
*/
|
|
31729
|
+
async hookControllerRemove(
|
|
31730
|
+
id: string,
|
|
31731
|
+
options?: RawAxiosRequestConfig,
|
|
31732
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
31733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
31734
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31735
|
+
const localVarOperationServerBasePath =
|
|
31736
|
+
operationServerMap['HookApi.hookControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
31737
|
+
return (axios, basePath) =>
|
|
31738
|
+
createRequestFunction(
|
|
31739
|
+
localVarAxiosArgs,
|
|
31740
|
+
globalAxios,
|
|
31741
|
+
BASE_PATH,
|
|
31742
|
+
configuration,
|
|
31743
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31744
|
+
},
|
|
31745
|
+
/**
|
|
31746
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
31747
|
+
* @summary Search
|
|
31748
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
31749
|
+
* @param {*} [options] Override http request option.
|
|
31750
|
+
* @throws {RequiredError}
|
|
31751
|
+
*/
|
|
31752
|
+
async hookControllerSearch(
|
|
31753
|
+
hookSearchInputDTO?: HookSearchInputDTO,
|
|
31754
|
+
options?: RawAxiosRequestConfig,
|
|
31755
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputArrayDTOAPI>> {
|
|
31756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
31757
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31758
|
+
const localVarOperationServerBasePath =
|
|
31759
|
+
operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
31760
|
+
return (axios, basePath) =>
|
|
31761
|
+
createRequestFunction(
|
|
31762
|
+
localVarAxiosArgs,
|
|
31763
|
+
globalAxios,
|
|
31764
|
+
BASE_PATH,
|
|
31765
|
+
configuration,
|
|
31766
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31767
|
+
},
|
|
31768
|
+
/**
|
|
31769
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
31770
|
+
* @summary Trigger
|
|
31771
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
31772
|
+
* @param {*} [options] Override http request option.
|
|
31773
|
+
* @throws {RequiredError}
|
|
31774
|
+
*/
|
|
31775
|
+
async hookControllerTrigger(
|
|
31776
|
+
hookTriggerDTO?: HookTriggerDTO,
|
|
31777
|
+
options?: RawAxiosRequestConfig,
|
|
31778
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
31779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
31780
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31781
|
+
const localVarOperationServerBasePath =
|
|
31782
|
+
operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
|
|
31783
|
+
return (axios, basePath) =>
|
|
31784
|
+
createRequestFunction(
|
|
31785
|
+
localVarAxiosArgs,
|
|
31786
|
+
globalAxios,
|
|
31787
|
+
BASE_PATH,
|
|
31788
|
+
configuration,
|
|
31789
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31790
|
+
},
|
|
31791
|
+
/**
|
|
31792
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
31793
|
+
* @summary Update
|
|
31794
|
+
* @param {string} id
|
|
31795
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
31796
|
+
* @param {*} [options] Override http request option.
|
|
31797
|
+
* @throws {RequiredError}
|
|
31798
|
+
*/
|
|
31799
|
+
async hookControllerUpdate(
|
|
31800
|
+
id: string,
|
|
31801
|
+
hookUpdateDTO?: HookUpdateDTO,
|
|
31802
|
+
options?: RawAxiosRequestConfig,
|
|
31803
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
|
|
31804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
31805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31806
|
+
const localVarOperationServerBasePath =
|
|
31807
|
+
operationServerMap['HookApi.hookControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
31808
|
+
return (axios, basePath) =>
|
|
31809
|
+
createRequestFunction(
|
|
31810
|
+
localVarAxiosArgs,
|
|
31811
|
+
globalAxios,
|
|
31812
|
+
BASE_PATH,
|
|
31813
|
+
configuration,
|
|
31814
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
31815
|
+
},
|
|
31816
|
+
};
|
|
31817
|
+
};
|
|
31818
|
+
|
|
31819
|
+
/**
|
|
31820
|
+
* HookApi - factory interface
|
|
31821
|
+
* @export
|
|
31822
|
+
*/
|
|
31823
|
+
export const HookApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31824
|
+
const localVarFp = HookApiFp(configuration);
|
|
31825
|
+
return {
|
|
31826
|
+
/**
|
|
31827
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
31828
|
+
* @summary Create
|
|
31829
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
31830
|
+
* @param {*} [options] Override http request option.
|
|
31831
|
+
* @throws {RequiredError}
|
|
31832
|
+
*/
|
|
31833
|
+
hookControllerCreate(
|
|
31834
|
+
hookCreateDTO?: HookCreateDTO,
|
|
31835
|
+
options?: RawAxiosRequestConfig,
|
|
31836
|
+
): AxiosPromise<HookOutputDTOAPI> {
|
|
31837
|
+
return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
|
|
31838
|
+
},
|
|
31839
|
+
/**
|
|
31840
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
31841
|
+
* @summary Get executions
|
|
31842
|
+
* @param {string} id
|
|
31843
|
+
* @param {any} [success]
|
|
31844
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
31845
|
+
* @param {*} [options] Override http request option.
|
|
31846
|
+
* @throws {RequiredError}
|
|
31847
|
+
*/
|
|
31848
|
+
hookControllerGetExecutions(
|
|
31849
|
+
id: string,
|
|
31850
|
+
success?: any,
|
|
31851
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
31852
|
+
options?: RawAxiosRequestConfig,
|
|
31853
|
+
): AxiosPromise<EventOutputArrayDTOAPI> {
|
|
31854
|
+
return localVarFp
|
|
31855
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
31856
|
+
.then((request) => request(axios, basePath));
|
|
31857
|
+
},
|
|
31858
|
+
/**
|
|
31859
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
31860
|
+
* @summary Get one
|
|
31861
|
+
* @param {string} id
|
|
31862
|
+
* @param {*} [options] Override http request option.
|
|
31863
|
+
* @throws {RequiredError}
|
|
31864
|
+
*/
|
|
31865
|
+
hookControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HookOutputDTOAPI> {
|
|
31866
|
+
return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
31867
|
+
},
|
|
31868
|
+
/**
|
|
31869
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
31870
|
+
* @summary Remove
|
|
31871
|
+
* @param {string} id
|
|
31872
|
+
* @param {*} [options] Override http request option.
|
|
31873
|
+
* @throws {RequiredError}
|
|
31874
|
+
*/
|
|
31875
|
+
hookControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
31876
|
+
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
31877
|
+
},
|
|
31878
|
+
/**
|
|
31879
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
31880
|
+
* @summary Search
|
|
31881
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
31882
|
+
* @param {*} [options] Override http request option.
|
|
31883
|
+
* @throws {RequiredError}
|
|
31884
|
+
*/
|
|
31885
|
+
hookControllerSearch(
|
|
31886
|
+
hookSearchInputDTO?: HookSearchInputDTO,
|
|
31887
|
+
options?: RawAxiosRequestConfig,
|
|
31888
|
+
): AxiosPromise<HookOutputArrayDTOAPI> {
|
|
31889
|
+
return localVarFp.hookControllerSearch(hookSearchInputDTO, options).then((request) => request(axios, basePath));
|
|
31890
|
+
},
|
|
31891
|
+
/**
|
|
31892
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
31893
|
+
* @summary Trigger
|
|
31894
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
31895
|
+
* @param {*} [options] Override http request option.
|
|
31896
|
+
* @throws {RequiredError}
|
|
31897
|
+
*/
|
|
31898
|
+
hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
31899
|
+
return localVarFp.hookControllerTrigger(hookTriggerDTO, options).then((request) => request(axios, basePath));
|
|
31900
|
+
},
|
|
31901
|
+
/**
|
|
31902
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
31903
|
+
* @summary Update
|
|
31904
|
+
* @param {string} id
|
|
31905
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
31906
|
+
* @param {*} [options] Override http request option.
|
|
31907
|
+
* @throws {RequiredError}
|
|
31908
|
+
*/
|
|
31909
|
+
hookControllerUpdate(
|
|
31910
|
+
id: string,
|
|
31911
|
+
hookUpdateDTO?: HookUpdateDTO,
|
|
31912
|
+
options?: RawAxiosRequestConfig,
|
|
31913
|
+
): AxiosPromise<HookOutputDTOAPI> {
|
|
31914
|
+
return localVarFp.hookControllerUpdate(id, hookUpdateDTO, options).then((request) => request(axios, basePath));
|
|
31915
|
+
},
|
|
31916
|
+
};
|
|
31917
|
+
};
|
|
31918
|
+
|
|
31919
|
+
/**
|
|
31920
|
+
* HookApi - object-oriented interface
|
|
31921
|
+
* @export
|
|
31922
|
+
* @class HookApi
|
|
31923
|
+
* @extends {BaseAPI}
|
|
31924
|
+
*/
|
|
31925
|
+
export class HookApi extends BaseAPI {
|
|
31926
|
+
/**
|
|
31927
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
31928
|
+
* @summary Create
|
|
31929
|
+
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
31930
|
+
* @param {*} [options] Override http request option.
|
|
31931
|
+
* @throws {RequiredError}
|
|
31932
|
+
* @memberof HookApi
|
|
31933
|
+
*/
|
|
31934
|
+
public hookControllerCreate(hookCreateDTO?: HookCreateDTO, options?: RawAxiosRequestConfig) {
|
|
31935
|
+
return HookApiFp(this.configuration)
|
|
31936
|
+
.hookControllerCreate(hookCreateDTO, options)
|
|
31937
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31938
|
+
}
|
|
31939
|
+
|
|
31940
|
+
/**
|
|
31941
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
31942
|
+
* @summary Get executions
|
|
31943
|
+
* @param {string} id
|
|
31944
|
+
* @param {any} [success]
|
|
31945
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
31946
|
+
* @param {*} [options] Override http request option.
|
|
31947
|
+
* @throws {RequiredError}
|
|
31948
|
+
* @memberof HookApi
|
|
31949
|
+
*/
|
|
31950
|
+
public hookControllerGetExecutions(
|
|
31951
|
+
id: string,
|
|
31952
|
+
success?: any,
|
|
31953
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
31954
|
+
options?: RawAxiosRequestConfig,
|
|
31955
|
+
) {
|
|
31956
|
+
return HookApiFp(this.configuration)
|
|
31957
|
+
.hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
31958
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31959
|
+
}
|
|
31960
|
+
|
|
31961
|
+
/**
|
|
31962
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
31963
|
+
* @summary Get one
|
|
31964
|
+
* @param {string} id
|
|
31965
|
+
* @param {*} [options] Override http request option.
|
|
31966
|
+
* @throws {RequiredError}
|
|
31967
|
+
* @memberof HookApi
|
|
31968
|
+
*/
|
|
31969
|
+
public hookControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
31970
|
+
return HookApiFp(this.configuration)
|
|
31971
|
+
.hookControllerGetOne(id, options)
|
|
31972
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31973
|
+
}
|
|
31974
|
+
|
|
31975
|
+
/**
|
|
31976
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
31977
|
+
* @summary Remove
|
|
31978
|
+
* @param {string} id
|
|
31979
|
+
* @param {*} [options] Override http request option.
|
|
31980
|
+
* @throws {RequiredError}
|
|
31981
|
+
* @memberof HookApi
|
|
31982
|
+
*/
|
|
31983
|
+
public hookControllerRemove(id: string, options?: RawAxiosRequestConfig) {
|
|
31984
|
+
return HookApiFp(this.configuration)
|
|
31985
|
+
.hookControllerRemove(id, options)
|
|
31986
|
+
.then((request) => request(this.axios, this.basePath));
|
|
31987
|
+
}
|
|
31988
|
+
|
|
31989
|
+
/**
|
|
31990
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
31991
|
+
* @summary Search
|
|
31992
|
+
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
31993
|
+
* @param {*} [options] Override http request option.
|
|
31994
|
+
* @throws {RequiredError}
|
|
31995
|
+
* @memberof HookApi
|
|
31996
|
+
*/
|
|
31997
|
+
public hookControllerSearch(hookSearchInputDTO?: HookSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
31998
|
+
return HookApiFp(this.configuration)
|
|
31999
|
+
.hookControllerSearch(hookSearchInputDTO, options)
|
|
32000
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32001
|
+
}
|
|
32002
|
+
|
|
32003
|
+
/**
|
|
32004
|
+
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
32005
|
+
* @summary Trigger
|
|
32006
|
+
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
32007
|
+
* @param {*} [options] Override http request option.
|
|
32008
|
+
* @throws {RequiredError}
|
|
32009
|
+
* @memberof HookApi
|
|
32010
|
+
*/
|
|
32011
|
+
public hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig) {
|
|
32012
|
+
return HookApiFp(this.configuration)
|
|
32013
|
+
.hookControllerTrigger(hookTriggerDTO, options)
|
|
32014
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32015
|
+
}
|
|
32016
|
+
|
|
32017
|
+
/**
|
|
32018
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
32019
|
+
* @summary Update
|
|
32020
|
+
* @param {string} id
|
|
32021
|
+
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
32022
|
+
* @param {*} [options] Override http request option.
|
|
32023
|
+
* @throws {RequiredError}
|
|
32024
|
+
* @memberof HookApi
|
|
32025
|
+
*/
|
|
32026
|
+
public hookControllerUpdate(id: string, hookUpdateDTO?: HookUpdateDTO, options?: RawAxiosRequestConfig) {
|
|
32027
|
+
return HookApiFp(this.configuration)
|
|
32028
|
+
.hookControllerUpdate(id, hookUpdateDTO, options)
|
|
32029
|
+
.then((request) => request(this.axios, this.basePath));
|
|
32030
|
+
}
|
|
32031
|
+
}
|
|
32032
|
+
|
|
32033
|
+
/**
|
|
32034
|
+
* InviteLinkApi - axios parameter creator
|
|
32035
|
+
* @export
|
|
32036
|
+
*/
|
|
32037
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32038
|
+
return {
|
|
32039
|
+
/**
|
|
32040
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32041
|
+
* @summary Create invite link
|
|
32042
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
32043
|
+
* @param {*} [options] Override http request option.
|
|
32044
|
+
* @throws {RequiredError}
|
|
32045
|
+
*/
|
|
32046
|
+
inviteLinkControllerCreate: async (
|
|
32047
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
32048
|
+
options: RawAxiosRequestConfig = {},
|
|
32049
|
+
): Promise<RequestArgs> => {
|
|
32050
|
+
const localVarPath = `/invite-link`;
|
|
32051
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32052
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32053
|
+
let baseOptions;
|
|
32054
|
+
if (configuration) {
|
|
32055
|
+
baseOptions = configuration.baseOptions;
|
|
32056
|
+
}
|
|
32057
|
+
|
|
32058
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32059
|
+
const localVarHeaderParameter = {} as any;
|
|
32060
|
+
const localVarQueryParameter = {} as any;
|
|
32061
|
+
|
|
32062
|
+
// authentication domainAuth required
|
|
32063
|
+
|
|
32064
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32065
|
+
|
|
32066
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32067
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32068
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32069
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32070
|
+
inviteLinkCreateInputDTO,
|
|
32071
|
+
localVarRequestOptions,
|
|
32072
|
+
configuration,
|
|
32073
|
+
);
|
|
32074
|
+
|
|
32075
|
+
return {
|
|
32076
|
+
url: toPathString(localVarUrlObj),
|
|
32077
|
+
options: localVarRequestOptions,
|
|
32078
|
+
};
|
|
32079
|
+
},
|
|
32080
|
+
/**
|
|
32081
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32082
|
+
* @summary Preview
|
|
32083
|
+
* @param {string} token
|
|
32084
|
+
* @param {*} [options] Override http request option.
|
|
32085
|
+
* @throws {RequiredError}
|
|
32086
|
+
*/
|
|
32087
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32088
|
+
// verify required parameter 'token' is not null or undefined
|
|
32089
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
32090
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
32091
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32092
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32093
|
+
let baseOptions;
|
|
32094
|
+
if (configuration) {
|
|
32095
|
+
baseOptions = configuration.baseOptions;
|
|
32096
|
+
}
|
|
32097
|
+
|
|
32098
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32099
|
+
const localVarHeaderParameter = {} as any;
|
|
32100
|
+
const localVarQueryParameter = {} as any;
|
|
32101
|
+
|
|
32102
|
+
// authentication domainAuth required
|
|
32103
|
+
|
|
32104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32107
|
+
|
|
32108
|
+
return {
|
|
32109
|
+
url: toPathString(localVarUrlObj),
|
|
32110
|
+
options: localVarRequestOptions,
|
|
32111
|
+
};
|
|
32112
|
+
},
|
|
32113
|
+
/**
|
|
32114
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32115
|
+
* @summary Redeem
|
|
32116
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
32117
|
+
* @param {*} [options] Override http request option.
|
|
32118
|
+
* @throws {RequiredError}
|
|
32119
|
+
*/
|
|
32120
|
+
inviteLinkControllerRedeem: async (
|
|
32121
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
32122
|
+
options: RawAxiosRequestConfig = {},
|
|
32123
|
+
): Promise<RequestArgs> => {
|
|
32124
|
+
const localVarPath = `/invite-link/redeem`;
|
|
32125
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32127
|
+
let baseOptions;
|
|
32128
|
+
if (configuration) {
|
|
32129
|
+
baseOptions = configuration.baseOptions;
|
|
32130
|
+
}
|
|
32131
|
+
|
|
32132
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32133
|
+
const localVarHeaderParameter = {} as any;
|
|
32134
|
+
const localVarQueryParameter = {} as any;
|
|
32135
|
+
|
|
32136
|
+
// authentication domainAuth required
|
|
32137
|
+
|
|
32138
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32139
|
+
|
|
32140
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32142
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
32144
|
+
|
|
32145
|
+
return {
|
|
32146
|
+
url: toPathString(localVarUrlObj),
|
|
32147
|
+
options: localVarRequestOptions,
|
|
32148
|
+
};
|
|
32149
|
+
},
|
|
32150
|
+
/**
|
|
32151
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32152
|
+
* @summary Revoke
|
|
32153
|
+
* @param {string} id
|
|
32154
|
+
* @param {*} [options] Override http request option.
|
|
32155
|
+
* @throws {RequiredError}
|
|
32156
|
+
*/
|
|
32157
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32158
|
+
// verify required parameter 'id' is not null or undefined
|
|
32159
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
32160
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
32161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32163
|
+
let baseOptions;
|
|
32164
|
+
if (configuration) {
|
|
32165
|
+
baseOptions = configuration.baseOptions;
|
|
32166
|
+
}
|
|
32167
|
+
|
|
32168
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
32169
|
+
const localVarHeaderParameter = {} as any;
|
|
32170
|
+
const localVarQueryParameter = {} as any;
|
|
32171
|
+
|
|
32172
|
+
// authentication domainAuth required
|
|
32173
|
+
|
|
32174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32176
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32177
|
+
|
|
32178
|
+
return {
|
|
32179
|
+
url: toPathString(localVarUrlObj),
|
|
32180
|
+
options: localVarRequestOptions,
|
|
32181
|
+
};
|
|
32182
|
+
},
|
|
32183
|
+
/**
|
|
32184
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
29844
32185
|
* @summary Search
|
|
29845
|
-
* @param {
|
|
32186
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
29846
32187
|
* @param {*} [options] Override http request option.
|
|
29847
32188
|
* @throws {RequiredError}
|
|
29848
32189
|
*/
|
|
29849
|
-
|
|
29850
|
-
|
|
32190
|
+
inviteLinkControllerSearch: async (
|
|
32191
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
29851
32192
|
options: RawAxiosRequestConfig = {},
|
|
29852
32193
|
): Promise<RequestArgs> => {
|
|
29853
|
-
const localVarPath = `/
|
|
32194
|
+
const localVarPath = `/invite-link/search`;
|
|
29854
32195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29855
32196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29856
32197
|
let baseOptions;
|
|
@@ -29869,85 +32210,11 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
29869
32210
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29870
32211
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29871
32212
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
29872
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
29873
|
-
|
|
29874
|
-
|
|
29875
|
-
|
|
29876
|
-
|
|
29877
|
-
};
|
|
29878
|
-
},
|
|
29879
|
-
/**
|
|
29880
|
-
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
29881
|
-
* @summary Trigger
|
|
29882
|
-
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
29883
|
-
* @param {*} [options] Override http request option.
|
|
29884
|
-
* @throws {RequiredError}
|
|
29885
|
-
*/
|
|
29886
|
-
hookControllerTrigger: async (
|
|
29887
|
-
hookTriggerDTO?: HookTriggerDTO,
|
|
29888
|
-
options: RawAxiosRequestConfig = {},
|
|
29889
|
-
): Promise<RequestArgs> => {
|
|
29890
|
-
const localVarPath = `/hook/trigger`;
|
|
29891
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29892
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29893
|
-
let baseOptions;
|
|
29894
|
-
if (configuration) {
|
|
29895
|
-
baseOptions = configuration.baseOptions;
|
|
29896
|
-
}
|
|
29897
|
-
|
|
29898
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
29899
|
-
const localVarHeaderParameter = {} as any;
|
|
29900
|
-
const localVarQueryParameter = {} as any;
|
|
29901
|
-
|
|
29902
|
-
// authentication domainAuth required
|
|
29903
|
-
|
|
29904
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29905
|
-
|
|
29906
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29907
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29908
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
29909
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
|
|
29910
|
-
|
|
29911
|
-
return {
|
|
29912
|
-
url: toPathString(localVarUrlObj),
|
|
29913
|
-
options: localVarRequestOptions,
|
|
29914
|
-
};
|
|
29915
|
-
},
|
|
29916
|
-
/**
|
|
29917
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
29918
|
-
* @summary Update
|
|
29919
|
-
* @param {string} id
|
|
29920
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
29921
|
-
* @param {*} [options] Override http request option.
|
|
29922
|
-
* @throws {RequiredError}
|
|
29923
|
-
*/
|
|
29924
|
-
hookControllerUpdate: async (
|
|
29925
|
-
id: string,
|
|
29926
|
-
hookUpdateDTO?: HookUpdateDTO,
|
|
29927
|
-
options: RawAxiosRequestConfig = {},
|
|
29928
|
-
): Promise<RequestArgs> => {
|
|
29929
|
-
// verify required parameter 'id' is not null or undefined
|
|
29930
|
-
assertParamExists('hookControllerUpdate', 'id', id);
|
|
29931
|
-
const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
29932
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29933
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29934
|
-
let baseOptions;
|
|
29935
|
-
if (configuration) {
|
|
29936
|
-
baseOptions = configuration.baseOptions;
|
|
29937
|
-
}
|
|
29938
|
-
|
|
29939
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
29940
|
-
const localVarHeaderParameter = {} as any;
|
|
29941
|
-
const localVarQueryParameter = {} as any;
|
|
29942
|
-
|
|
29943
|
-
// authentication domainAuth required
|
|
29944
|
-
|
|
29945
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29946
|
-
|
|
29947
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29948
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29949
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
29950
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
|
|
32213
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
32214
|
+
inviteLinkSearchInputDTO,
|
|
32215
|
+
localVarRequestOptions,
|
|
32216
|
+
configuration,
|
|
32217
|
+
);
|
|
29951
32218
|
|
|
29952
32219
|
return {
|
|
29953
32220
|
url: toPathString(localVarUrlObj),
|
|
@@ -29958,27 +32225,30 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
29958
32225
|
};
|
|
29959
32226
|
|
|
29960
32227
|
/**
|
|
29961
|
-
*
|
|
32228
|
+
* InviteLinkApi - functional programming interface
|
|
29962
32229
|
* @export
|
|
29963
32230
|
*/
|
|
29964
|
-
export const
|
|
29965
|
-
const localVarAxiosParamCreator =
|
|
32231
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
32232
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
29966
32233
|
return {
|
|
29967
32234
|
/**
|
|
29968
|
-
*
|
|
29969
|
-
* @summary Create
|
|
29970
|
-
* @param {
|
|
32235
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32236
|
+
* @summary Create invite link
|
|
32237
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
29971
32238
|
* @param {*} [options] Override http request option.
|
|
29972
32239
|
* @throws {RequiredError}
|
|
29973
32240
|
*/
|
|
29974
|
-
async
|
|
29975
|
-
|
|
32241
|
+
async inviteLinkControllerCreate(
|
|
32242
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
29976
32243
|
options?: RawAxiosRequestConfig,
|
|
29977
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29978
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32244
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
32245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
32246
|
+
inviteLinkCreateInputDTO,
|
|
32247
|
+
options,
|
|
32248
|
+
);
|
|
29979
32249
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29980
32250
|
const localVarOperationServerBasePath =
|
|
29981
|
-
operationServerMap['
|
|
32251
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
29982
32252
|
return (axios, basePath) =>
|
|
29983
32253
|
createRequestFunction(
|
|
29984
32254
|
localVarAxiosArgs,
|
|
@@ -29988,29 +32258,20 @@ export const HookApiFp = function (configuration?: Configuration) {
|
|
|
29988
32258
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
29989
32259
|
},
|
|
29990
32260
|
/**
|
|
29991
|
-
*
|
|
29992
|
-
* @summary
|
|
29993
|
-
* @param {string}
|
|
29994
|
-
* @param {any} [success]
|
|
29995
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
32261
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32262
|
+
* @summary Preview
|
|
32263
|
+
* @param {string} token
|
|
29996
32264
|
* @param {*} [options] Override http request option.
|
|
29997
32265
|
* @throws {RequiredError}
|
|
29998
32266
|
*/
|
|
29999
|
-
async
|
|
30000
|
-
|
|
30001
|
-
success?: any,
|
|
30002
|
-
eventSearchInputDTO?: EventSearchInputDTO,
|
|
32267
|
+
async inviteLinkControllerPreview(
|
|
32268
|
+
token: string,
|
|
30003
32269
|
options?: RawAxiosRequestConfig,
|
|
30004
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
30005
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30006
|
-
id,
|
|
30007
|
-
success,
|
|
30008
|
-
eventSearchInputDTO,
|
|
30009
|
-
options,
|
|
30010
|
-
);
|
|
32270
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
32271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
30011
32272
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30012
32273
|
const localVarOperationServerBasePath =
|
|
30013
|
-
operationServerMap['
|
|
32274
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
30014
32275
|
return (axios, basePath) =>
|
|
30015
32276
|
createRequestFunction(
|
|
30016
32277
|
localVarAxiosArgs,
|
|
@@ -30020,20 +32281,20 @@ export const HookApiFp = function (configuration?: Configuration) {
|
|
|
30020
32281
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
30021
32282
|
},
|
|
30022
32283
|
/**
|
|
30023
|
-
*
|
|
30024
|
-
* @summary
|
|
30025
|
-
* @param {
|
|
32284
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32285
|
+
* @summary Redeem
|
|
32286
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
30026
32287
|
* @param {*} [options] Override http request option.
|
|
30027
32288
|
* @throws {RequiredError}
|
|
30028
32289
|
*/
|
|
30029
|
-
async
|
|
30030
|
-
|
|
32290
|
+
async inviteLinkControllerRedeem(
|
|
32291
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
30031
32292
|
options?: RawAxiosRequestConfig,
|
|
30032
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
30033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32293
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
32294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
30034
32295
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30035
32296
|
const localVarOperationServerBasePath =
|
|
30036
|
-
operationServerMap['
|
|
32297
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
30037
32298
|
return (axios, basePath) =>
|
|
30038
32299
|
createRequestFunction(
|
|
30039
32300
|
localVarAxiosArgs,
|
|
@@ -30043,20 +32304,20 @@ export const HookApiFp = function (configuration?: Configuration) {
|
|
|
30043
32304
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
30044
32305
|
},
|
|
30045
32306
|
/**
|
|
30046
|
-
* Required permissions: `
|
|
30047
|
-
* @summary
|
|
32307
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32308
|
+
* @summary Revoke
|
|
30048
32309
|
* @param {string} id
|
|
30049
32310
|
* @param {*} [options] Override http request option.
|
|
30050
32311
|
* @throws {RequiredError}
|
|
30051
32312
|
*/
|
|
30052
|
-
async
|
|
32313
|
+
async inviteLinkControllerRevoke(
|
|
30053
32314
|
id: string,
|
|
30054
32315
|
options?: RawAxiosRequestConfig,
|
|
30055
32316
|
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
30056
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
30057
32318
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30058
32319
|
const localVarOperationServerBasePath =
|
|
30059
|
-
operationServerMap['
|
|
32320
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
30060
32321
|
return (axios, basePath) =>
|
|
30061
32322
|
createRequestFunction(
|
|
30062
32323
|
localVarAxiosArgs,
|
|
@@ -30066,68 +32327,23 @@ export const HookApiFp = function (configuration?: Configuration) {
|
|
|
30066
32327
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
30067
32328
|
},
|
|
30068
32329
|
/**
|
|
30069
|
-
*
|
|
32330
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
30070
32331
|
* @summary Search
|
|
30071
|
-
* @param {
|
|
30072
|
-
* @param {*} [options] Override http request option.
|
|
30073
|
-
* @throws {RequiredError}
|
|
30074
|
-
*/
|
|
30075
|
-
async hookControllerSearch(
|
|
30076
|
-
hookSearchInputDTO?: HookSearchInputDTO,
|
|
30077
|
-
options?: RawAxiosRequestConfig,
|
|
30078
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputArrayDTOAPI>> {
|
|
30079
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
30080
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30081
|
-
const localVarOperationServerBasePath =
|
|
30082
|
-
operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
30083
|
-
return (axios, basePath) =>
|
|
30084
|
-
createRequestFunction(
|
|
30085
|
-
localVarAxiosArgs,
|
|
30086
|
-
globalAxios,
|
|
30087
|
-
BASE_PATH,
|
|
30088
|
-
configuration,
|
|
30089
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
30090
|
-
},
|
|
30091
|
-
/**
|
|
30092
|
-
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
30093
|
-
* @summary Trigger
|
|
30094
|
-
* @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
|
|
30095
|
-
* @param {*} [options] Override http request option.
|
|
30096
|
-
* @throws {RequiredError}
|
|
30097
|
-
*/
|
|
30098
|
-
async hookControllerTrigger(
|
|
30099
|
-
hookTriggerDTO?: HookTriggerDTO,
|
|
30100
|
-
options?: RawAxiosRequestConfig,
|
|
30101
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
30102
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
30103
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30104
|
-
const localVarOperationServerBasePath =
|
|
30105
|
-
operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
|
|
30106
|
-
return (axios, basePath) =>
|
|
30107
|
-
createRequestFunction(
|
|
30108
|
-
localVarAxiosArgs,
|
|
30109
|
-
globalAxios,
|
|
30110
|
-
BASE_PATH,
|
|
30111
|
-
configuration,
|
|
30112
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
30113
|
-
},
|
|
30114
|
-
/**
|
|
30115
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
30116
|
-
* @summary Update
|
|
30117
|
-
* @param {string} id
|
|
30118
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
32332
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
30119
32333
|
* @param {*} [options] Override http request option.
|
|
30120
32334
|
* @throws {RequiredError}
|
|
30121
32335
|
*/
|
|
30122
|
-
async
|
|
30123
|
-
|
|
30124
|
-
hookUpdateDTO?: HookUpdateDTO,
|
|
32336
|
+
async inviteLinkControllerSearch(
|
|
32337
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
30125
32338
|
options?: RawAxiosRequestConfig,
|
|
30126
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
30127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32339
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
32340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
32341
|
+
inviteLinkSearchInputDTO,
|
|
32342
|
+
options,
|
|
32343
|
+
);
|
|
30128
32344
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30129
32345
|
const localVarOperationServerBasePath =
|
|
30130
|
-
operationServerMap['
|
|
32346
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
30131
32347
|
return (axios, basePath) =>
|
|
30132
32348
|
createRequestFunction(
|
|
30133
32349
|
localVarAxiosArgs,
|
|
@@ -30140,215 +32356,158 @@ export const HookApiFp = function (configuration?: Configuration) {
|
|
|
30140
32356
|
};
|
|
30141
32357
|
|
|
30142
32358
|
/**
|
|
30143
|
-
*
|
|
32359
|
+
* InviteLinkApi - factory interface
|
|
30144
32360
|
* @export
|
|
30145
32361
|
*/
|
|
30146
|
-
export const
|
|
30147
|
-
const localVarFp =
|
|
32362
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32363
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
30148
32364
|
return {
|
|
30149
32365
|
/**
|
|
30150
|
-
*
|
|
30151
|
-
* @summary Create
|
|
30152
|
-
* @param {
|
|
30153
|
-
* @param {*} [options] Override http request option.
|
|
30154
|
-
* @throws {RequiredError}
|
|
30155
|
-
*/
|
|
30156
|
-
hookControllerCreate(
|
|
30157
|
-
hookCreateDTO?: HookCreateDTO,
|
|
30158
|
-
options?: RawAxiosRequestConfig,
|
|
30159
|
-
): AxiosPromise<HookOutputDTOAPI> {
|
|
30160
|
-
return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
|
|
30161
|
-
},
|
|
30162
|
-
/**
|
|
30163
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
30164
|
-
* @summary Get executions
|
|
30165
|
-
* @param {string} id
|
|
30166
|
-
* @param {any} [success]
|
|
30167
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
32366
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32367
|
+
* @summary Create invite link
|
|
32368
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
30168
32369
|
* @param {*} [options] Override http request option.
|
|
30169
32370
|
* @throws {RequiredError}
|
|
30170
32371
|
*/
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
success?: any,
|
|
30174
|
-
eventSearchInputDTO?: EventSearchInputDTO,
|
|
32372
|
+
inviteLinkControllerCreate(
|
|
32373
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
30175
32374
|
options?: RawAxiosRequestConfig,
|
|
30176
|
-
): AxiosPromise<
|
|
32375
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
30177
32376
|
return localVarFp
|
|
30178
|
-
.
|
|
32377
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
30179
32378
|
.then((request) => request(axios, basePath));
|
|
30180
32379
|
},
|
|
30181
32380
|
/**
|
|
30182
|
-
*
|
|
30183
|
-
* @summary
|
|
30184
|
-
* @param {string}
|
|
30185
|
-
* @param {*} [options] Override http request option.
|
|
30186
|
-
* @throws {RequiredError}
|
|
30187
|
-
*/
|
|
30188
|
-
hookControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HookOutputDTOAPI> {
|
|
30189
|
-
return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
30190
|
-
},
|
|
30191
|
-
/**
|
|
30192
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
30193
|
-
* @summary Remove
|
|
30194
|
-
* @param {string} id
|
|
32381
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32382
|
+
* @summary Preview
|
|
32383
|
+
* @param {string} token
|
|
30195
32384
|
* @param {*} [options] Override http request option.
|
|
30196
32385
|
* @throws {RequiredError}
|
|
30197
32386
|
*/
|
|
30198
|
-
|
|
30199
|
-
return localVarFp.
|
|
32387
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
32388
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
30200
32389
|
},
|
|
30201
32390
|
/**
|
|
30202
|
-
*
|
|
30203
|
-
* @summary
|
|
30204
|
-
* @param {
|
|
32391
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32392
|
+
* @summary Redeem
|
|
32393
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
30205
32394
|
* @param {*} [options] Override http request option.
|
|
30206
32395
|
* @throws {RequiredError}
|
|
30207
32396
|
*/
|
|
30208
|
-
|
|
30209
|
-
|
|
32397
|
+
inviteLinkControllerRedeem(
|
|
32398
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
30210
32399
|
options?: RawAxiosRequestConfig,
|
|
30211
|
-
): AxiosPromise<
|
|
30212
|
-
return localVarFp.
|
|
32400
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
32401
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
30213
32402
|
},
|
|
30214
32403
|
/**
|
|
30215
|
-
*
|
|
30216
|
-
* @summary
|
|
30217
|
-
* @param {
|
|
32404
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32405
|
+
* @summary Revoke
|
|
32406
|
+
* @param {string} id
|
|
30218
32407
|
* @param {*} [options] Override http request option.
|
|
30219
32408
|
* @throws {RequiredError}
|
|
30220
32409
|
*/
|
|
30221
|
-
|
|
30222
|
-
return localVarFp.
|
|
32410
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
32411
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
30223
32412
|
},
|
|
30224
32413
|
/**
|
|
30225
|
-
* Required permissions: `
|
|
30226
|
-
* @summary
|
|
30227
|
-
* @param {
|
|
30228
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
32414
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32415
|
+
* @summary Search
|
|
32416
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
30229
32417
|
* @param {*} [options] Override http request option.
|
|
30230
32418
|
* @throws {RequiredError}
|
|
30231
32419
|
*/
|
|
30232
|
-
|
|
30233
|
-
|
|
30234
|
-
hookUpdateDTO?: HookUpdateDTO,
|
|
32420
|
+
inviteLinkControllerSearch(
|
|
32421
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
30235
32422
|
options?: RawAxiosRequestConfig,
|
|
30236
|
-
): AxiosPromise<
|
|
30237
|
-
return localVarFp
|
|
32423
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
32424
|
+
return localVarFp
|
|
32425
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
32426
|
+
.then((request) => request(axios, basePath));
|
|
30238
32427
|
},
|
|
30239
32428
|
};
|
|
30240
32429
|
};
|
|
30241
32430
|
|
|
30242
32431
|
/**
|
|
30243
|
-
*
|
|
32432
|
+
* InviteLinkApi - object-oriented interface
|
|
30244
32433
|
* @export
|
|
30245
|
-
* @class
|
|
32434
|
+
* @class InviteLinkApi
|
|
30246
32435
|
* @extends {BaseAPI}
|
|
30247
32436
|
*/
|
|
30248
|
-
export class
|
|
30249
|
-
/**
|
|
30250
|
-
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
|
|
30251
|
-
* @summary Create
|
|
30252
|
-
* @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
|
|
30253
|
-
* @param {*} [options] Override http request option.
|
|
30254
|
-
* @throws {RequiredError}
|
|
30255
|
-
* @memberof HookApi
|
|
30256
|
-
*/
|
|
30257
|
-
public hookControllerCreate(hookCreateDTO?: HookCreateDTO, options?: RawAxiosRequestConfig) {
|
|
30258
|
-
return HookApiFp(this.configuration)
|
|
30259
|
-
.hookControllerCreate(hookCreateDTO, options)
|
|
30260
|
-
.then((request) => request(this.axios, this.basePath));
|
|
30261
|
-
}
|
|
30262
|
-
|
|
32437
|
+
export class InviteLinkApi extends BaseAPI {
|
|
30263
32438
|
/**
|
|
30264
|
-
*
|
|
30265
|
-
* @summary
|
|
30266
|
-
* @param {
|
|
30267
|
-
* @param {any} [success]
|
|
30268
|
-
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
32439
|
+
* Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
32440
|
+
* @summary Create invite link
|
|
32441
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
30269
32442
|
* @param {*} [options] Override http request option.
|
|
30270
32443
|
* @throws {RequiredError}
|
|
30271
|
-
* @memberof
|
|
32444
|
+
* @memberof InviteLinkApi
|
|
30272
32445
|
*/
|
|
30273
|
-
public
|
|
30274
|
-
|
|
30275
|
-
success?: any,
|
|
30276
|
-
eventSearchInputDTO?: EventSearchInputDTO,
|
|
32446
|
+
public inviteLinkControllerCreate(
|
|
32447
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
30277
32448
|
options?: RawAxiosRequestConfig,
|
|
30278
32449
|
) {
|
|
30279
|
-
return
|
|
30280
|
-
.
|
|
30281
|
-
.then((request) => request(this.axios, this.basePath));
|
|
30282
|
-
}
|
|
30283
|
-
|
|
30284
|
-
/**
|
|
30285
|
-
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
30286
|
-
* @summary Get one
|
|
30287
|
-
* @param {string} id
|
|
30288
|
-
* @param {*} [options] Override http request option.
|
|
30289
|
-
* @throws {RequiredError}
|
|
30290
|
-
* @memberof HookApi
|
|
30291
|
-
*/
|
|
30292
|
-
public hookControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
30293
|
-
return HookApiFp(this.configuration)
|
|
30294
|
-
.hookControllerGetOne(id, options)
|
|
32450
|
+
return InviteLinkApiFp(this.configuration)
|
|
32451
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
30295
32452
|
.then((request) => request(this.axios, this.basePath));
|
|
30296
32453
|
}
|
|
30297
32454
|
|
|
30298
32455
|
/**
|
|
30299
|
-
*
|
|
30300
|
-
* @summary
|
|
30301
|
-
* @param {string}
|
|
32456
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
32457
|
+
* @summary Preview
|
|
32458
|
+
* @param {string} token
|
|
30302
32459
|
* @param {*} [options] Override http request option.
|
|
30303
32460
|
* @throws {RequiredError}
|
|
30304
|
-
* @memberof
|
|
32461
|
+
* @memberof InviteLinkApi
|
|
30305
32462
|
*/
|
|
30306
|
-
public
|
|
30307
|
-
return
|
|
30308
|
-
.
|
|
32463
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
32464
|
+
return InviteLinkApiFp(this.configuration)
|
|
32465
|
+
.inviteLinkControllerPreview(token, options)
|
|
30309
32466
|
.then((request) => request(this.axios, this.basePath));
|
|
30310
32467
|
}
|
|
30311
32468
|
|
|
30312
32469
|
/**
|
|
30313
|
-
*
|
|
30314
|
-
* @summary
|
|
30315
|
-
* @param {
|
|
32470
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
32471
|
+
* @summary Redeem
|
|
32472
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
30316
32473
|
* @param {*} [options] Override http request option.
|
|
30317
32474
|
* @throws {RequiredError}
|
|
30318
|
-
* @memberof
|
|
32475
|
+
* @memberof InviteLinkApi
|
|
30319
32476
|
*/
|
|
30320
|
-
public
|
|
30321
|
-
return
|
|
30322
|
-
.
|
|
32477
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
32478
|
+
return InviteLinkApiFp(this.configuration)
|
|
32479
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
30323
32480
|
.then((request) => request(this.axios, this.basePath));
|
|
30324
32481
|
}
|
|
30325
32482
|
|
|
30326
32483
|
/**
|
|
30327
|
-
*
|
|
30328
|
-
* @summary
|
|
30329
|
-
* @param {
|
|
32484
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
32485
|
+
* @summary Revoke
|
|
32486
|
+
* @param {string} id
|
|
30330
32487
|
* @param {*} [options] Override http request option.
|
|
30331
32488
|
* @throws {RequiredError}
|
|
30332
|
-
* @memberof
|
|
32489
|
+
* @memberof InviteLinkApi
|
|
30333
32490
|
*/
|
|
30334
|
-
public
|
|
30335
|
-
return
|
|
30336
|
-
.
|
|
32491
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
32492
|
+
return InviteLinkApiFp(this.configuration)
|
|
32493
|
+
.inviteLinkControllerRevoke(id, options)
|
|
30337
32494
|
.then((request) => request(this.axios, this.basePath));
|
|
30338
32495
|
}
|
|
30339
32496
|
|
|
30340
32497
|
/**
|
|
30341
|
-
* Required permissions: `
|
|
30342
|
-
* @summary
|
|
30343
|
-
* @param {
|
|
30344
|
-
* @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
|
|
32498
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
32499
|
+
* @summary Search
|
|
32500
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
30345
32501
|
* @param {*} [options] Override http request option.
|
|
30346
32502
|
* @throws {RequiredError}
|
|
30347
|
-
* @memberof
|
|
32503
|
+
* @memberof InviteLinkApi
|
|
30348
32504
|
*/
|
|
30349
|
-
public
|
|
30350
|
-
|
|
30351
|
-
|
|
32505
|
+
public inviteLinkControllerSearch(
|
|
32506
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
32507
|
+
options?: RawAxiosRequestConfig,
|
|
32508
|
+
) {
|
|
32509
|
+
return InviteLinkApiFp(this.configuration)
|
|
32510
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
30352
32511
|
.then((request) => request(this.axios, this.basePath));
|
|
30353
32512
|
}
|
|
30354
32513
|
}
|
|
@@ -30591,6 +32750,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
30591
32750
|
options: localVarRequestOptions,
|
|
30592
32751
|
};
|
|
30593
32752
|
},
|
|
32753
|
+
/**
|
|
32754
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
32755
|
+
* @summary Get liveness
|
|
32756
|
+
* @param {*} [options] Override http request option.
|
|
32757
|
+
* @throws {RequiredError}
|
|
32758
|
+
*/
|
|
32759
|
+
metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32760
|
+
const localVarPath = `/livez`;
|
|
32761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32763
|
+
let baseOptions;
|
|
32764
|
+
if (configuration) {
|
|
32765
|
+
baseOptions = configuration.baseOptions;
|
|
32766
|
+
}
|
|
32767
|
+
|
|
32768
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
32769
|
+
const localVarHeaderParameter = {} as any;
|
|
32770
|
+
const localVarQueryParameter = {} as any;
|
|
32771
|
+
|
|
32772
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32774
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
32775
|
+
|
|
32776
|
+
return {
|
|
32777
|
+
url: toPathString(localVarUrlObj),
|
|
32778
|
+
options: localVarRequestOptions,
|
|
32779
|
+
};
|
|
32780
|
+
},
|
|
30594
32781
|
/**
|
|
30595
32782
|
* <br> OperationId: `MetaGetMetrics`
|
|
30596
32783
|
* @summary Get metrics
|
|
@@ -30762,6 +32949,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
|
|
|
30762
32949
|
configuration,
|
|
30763
32950
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
30764
32951
|
},
|
|
32952
|
+
/**
|
|
32953
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
32954
|
+
* @summary Get liveness
|
|
32955
|
+
* @param {*} [options] Override http request option.
|
|
32956
|
+
* @throws {RequiredError}
|
|
32957
|
+
*/
|
|
32958
|
+
async metaGetLiveness(
|
|
32959
|
+
options?: RawAxiosRequestConfig,
|
|
32960
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
|
|
32961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
32962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32963
|
+
const localVarOperationServerBasePath =
|
|
32964
|
+
operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
32965
|
+
return (axios, basePath) =>
|
|
32966
|
+
createRequestFunction(
|
|
32967
|
+
localVarAxiosArgs,
|
|
32968
|
+
globalAxios,
|
|
32969
|
+
BASE_PATH,
|
|
32970
|
+
configuration,
|
|
32971
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
32972
|
+
},
|
|
30765
32973
|
/**
|
|
30766
32974
|
* <br> OperationId: `MetaGetMetrics`
|
|
30767
32975
|
* @summary Get metrics
|
|
@@ -30886,6 +33094,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
|
|
|
30886
33094
|
metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
30887
33095
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
30888
33096
|
},
|
|
33097
|
+
/**
|
|
33098
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33099
|
+
* @summary Get liveness
|
|
33100
|
+
* @param {*} [options] Override http request option.
|
|
33101
|
+
* @throws {RequiredError}
|
|
33102
|
+
*/
|
|
33103
|
+
metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
|
|
33104
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
33105
|
+
},
|
|
30889
33106
|
/**
|
|
30890
33107
|
* <br> OperationId: `MetaGetMetrics`
|
|
30891
33108
|
* @summary Get metrics
|
|
@@ -30954,6 +33171,19 @@ export class MetaApi extends BaseAPI {
|
|
|
30954
33171
|
.then((request) => request(this.axios, this.basePath));
|
|
30955
33172
|
}
|
|
30956
33173
|
|
|
33174
|
+
/**
|
|
33175
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
33176
|
+
* @summary Get liveness
|
|
33177
|
+
* @param {*} [options] Override http request option.
|
|
33178
|
+
* @throws {RequiredError}
|
|
33179
|
+
* @memberof MetaApi
|
|
33180
|
+
*/
|
|
33181
|
+
public metaGetLiveness(options?: RawAxiosRequestConfig) {
|
|
33182
|
+
return MetaApiFp(this.configuration)
|
|
33183
|
+
.metaGetLiveness(options)
|
|
33184
|
+
.then((request) => request(this.axios, this.basePath));
|
|
33185
|
+
}
|
|
33186
|
+
|
|
30957
33187
|
/**
|
|
30958
33188
|
* <br> OperationId: `MetaGetMetrics`
|
|
30959
33189
|
* @summary Get metrics
|
|
@@ -38023,7 +40253,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38023
40253
|
*/
|
|
38024
40254
|
async shopListingControllerImportListings(
|
|
38025
40255
|
options?: RawAxiosRequestConfig,
|
|
38026
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
40256
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38027
40257
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38028
40258
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38029
40259
|
const localVarOperationServerBasePath =
|
|
@@ -38146,7 +40376,7 @@ export const ShopListingApiFactory = function (
|
|
|
38146
40376
|
* @param {*} [options] Override http request option.
|
|
38147
40377
|
* @throws {RequiredError}
|
|
38148
40378
|
*/
|
|
38149
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
40379
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38150
40380
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38151
40381
|
},
|
|
38152
40382
|
/**
|
|
@@ -38426,17 +40656,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38426
40656
|
};
|
|
38427
40657
|
},
|
|
38428
40658
|
/**
|
|
38429
|
-
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
38430
|
-
* @summary Search orders
|
|
38431
|
-
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40659
|
+
* 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`
|
|
40660
|
+
* @summary Search orders
|
|
40661
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40662
|
+
* @param {*} [options] Override http request option.
|
|
40663
|
+
* @throws {RequiredError}
|
|
40664
|
+
*/
|
|
40665
|
+
shopOrderControllerSearch: async (
|
|
40666
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40667
|
+
options: RawAxiosRequestConfig = {},
|
|
40668
|
+
): Promise<RequestArgs> => {
|
|
40669
|
+
const localVarPath = `/shop/order/search`;
|
|
40670
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40671
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40672
|
+
let baseOptions;
|
|
40673
|
+
if (configuration) {
|
|
40674
|
+
baseOptions = configuration.baseOptions;
|
|
40675
|
+
}
|
|
40676
|
+
|
|
40677
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
40678
|
+
const localVarHeaderParameter = {} as any;
|
|
40679
|
+
const localVarQueryParameter = {} as any;
|
|
40680
|
+
|
|
40681
|
+
// authentication domainAuth required
|
|
40682
|
+
|
|
40683
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40684
|
+
|
|
40685
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40686
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40687
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40688
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40689
|
+
shopOrderSearchInputDTO,
|
|
40690
|
+
localVarRequestOptions,
|
|
40691
|
+
configuration,
|
|
40692
|
+
);
|
|
40693
|
+
|
|
40694
|
+
return {
|
|
40695
|
+
url: toPathString(localVarUrlObj),
|
|
40696
|
+
options: localVarRequestOptions,
|
|
40697
|
+
};
|
|
40698
|
+
},
|
|
40699
|
+
};
|
|
40700
|
+
};
|
|
40701
|
+
|
|
40702
|
+
/**
|
|
40703
|
+
* ShopOrderApi - functional programming interface
|
|
40704
|
+
* @export
|
|
40705
|
+
*/
|
|
40706
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
40707
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
40708
|
+
return {
|
|
40709
|
+
/**
|
|
40710
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40711
|
+
* @summary Cancel
|
|
40712
|
+
* @param {string} id
|
|
40713
|
+
* @param {*} [options] Override http request option.
|
|
40714
|
+
* @throws {RequiredError}
|
|
40715
|
+
*/
|
|
40716
|
+
async shopOrderControllerCancel(
|
|
40717
|
+
id: string,
|
|
40718
|
+
options?: RawAxiosRequestConfig,
|
|
40719
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
40721
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40722
|
+
const localVarOperationServerBasePath =
|
|
40723
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
40724
|
+
return (axios, basePath) =>
|
|
40725
|
+
createRequestFunction(
|
|
40726
|
+
localVarAxiosArgs,
|
|
40727
|
+
globalAxios,
|
|
40728
|
+
BASE_PATH,
|
|
40729
|
+
configuration,
|
|
40730
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40731
|
+
},
|
|
40732
|
+
/**
|
|
40733
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40734
|
+
* @summary Claim an order
|
|
40735
|
+
* @param {string} id
|
|
40736
|
+
* @param {*} [options] Override http request option.
|
|
40737
|
+
* @throws {RequiredError}
|
|
40738
|
+
*/
|
|
40739
|
+
async shopOrderControllerClaim(
|
|
40740
|
+
id: string,
|
|
40741
|
+
options?: RawAxiosRequestConfig,
|
|
40742
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
40744
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40745
|
+
const localVarOperationServerBasePath =
|
|
40746
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
40747
|
+
return (axios, basePath) =>
|
|
40748
|
+
createRequestFunction(
|
|
40749
|
+
localVarAxiosArgs,
|
|
40750
|
+
globalAxios,
|
|
40751
|
+
BASE_PATH,
|
|
40752
|
+
configuration,
|
|
40753
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40754
|
+
},
|
|
40755
|
+
/**
|
|
40756
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40757
|
+
* @summary Create
|
|
40758
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40759
|
+
* @param {*} [options] Override http request option.
|
|
40760
|
+
* @throws {RequiredError}
|
|
40761
|
+
*/
|
|
40762
|
+
async shopOrderControllerCreate(
|
|
40763
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40764
|
+
options?: RawAxiosRequestConfig,
|
|
40765
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40766
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
40767
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40768
|
+
const localVarOperationServerBasePath =
|
|
40769
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
40770
|
+
return (axios, basePath) =>
|
|
40771
|
+
createRequestFunction(
|
|
40772
|
+
localVarAxiosArgs,
|
|
40773
|
+
globalAxios,
|
|
40774
|
+
BASE_PATH,
|
|
40775
|
+
configuration,
|
|
40776
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40777
|
+
},
|
|
40778
|
+
/**
|
|
40779
|
+
* 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`
|
|
40780
|
+
* @summary Get order by ID
|
|
40781
|
+
* @param {string} id
|
|
40782
|
+
* @param {*} [options] Override http request option.
|
|
40783
|
+
* @throws {RequiredError}
|
|
40784
|
+
*/
|
|
40785
|
+
async shopOrderControllerGetOne(
|
|
40786
|
+
id: string,
|
|
40787
|
+
options?: RawAxiosRequestConfig,
|
|
40788
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
40790
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40791
|
+
const localVarOperationServerBasePath =
|
|
40792
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
40793
|
+
return (axios, basePath) =>
|
|
40794
|
+
createRequestFunction(
|
|
40795
|
+
localVarAxiosArgs,
|
|
40796
|
+
globalAxios,
|
|
40797
|
+
BASE_PATH,
|
|
40798
|
+
configuration,
|
|
40799
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40800
|
+
},
|
|
40801
|
+
/**
|
|
40802
|
+
* 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`
|
|
40803
|
+
* @summary Search orders
|
|
40804
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40805
|
+
* @param {*} [options] Override http request option.
|
|
40806
|
+
* @throws {RequiredError}
|
|
40807
|
+
*/
|
|
40808
|
+
async shopOrderControllerSearch(
|
|
40809
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40810
|
+
options?: RawAxiosRequestConfig,
|
|
40811
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
40812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
40813
|
+
shopOrderSearchInputDTO,
|
|
40814
|
+
options,
|
|
40815
|
+
);
|
|
40816
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40817
|
+
const localVarOperationServerBasePath =
|
|
40818
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
40819
|
+
return (axios, basePath) =>
|
|
40820
|
+
createRequestFunction(
|
|
40821
|
+
localVarAxiosArgs,
|
|
40822
|
+
globalAxios,
|
|
40823
|
+
BASE_PATH,
|
|
40824
|
+
configuration,
|
|
40825
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40826
|
+
},
|
|
40827
|
+
};
|
|
40828
|
+
};
|
|
40829
|
+
|
|
40830
|
+
/**
|
|
40831
|
+
* ShopOrderApi - factory interface
|
|
40832
|
+
* @export
|
|
40833
|
+
*/
|
|
40834
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40835
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
40836
|
+
return {
|
|
40837
|
+
/**
|
|
40838
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40839
|
+
* @summary Cancel
|
|
40840
|
+
* @param {string} id
|
|
40841
|
+
* @param {*} [options] Override http request option.
|
|
40842
|
+
* @throws {RequiredError}
|
|
40843
|
+
*/
|
|
40844
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40845
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
40846
|
+
},
|
|
40847
|
+
/**
|
|
40848
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40849
|
+
* @summary Claim an order
|
|
40850
|
+
* @param {string} id
|
|
40851
|
+
* @param {*} [options] Override http request option.
|
|
40852
|
+
* @throws {RequiredError}
|
|
40853
|
+
*/
|
|
40854
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40855
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
40856
|
+
},
|
|
40857
|
+
/**
|
|
40858
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40859
|
+
* @summary Create
|
|
40860
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40861
|
+
* @param {*} [options] Override http request option.
|
|
40862
|
+
* @throws {RequiredError}
|
|
40863
|
+
*/
|
|
40864
|
+
shopOrderControllerCreate(
|
|
40865
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40866
|
+
options?: RawAxiosRequestConfig,
|
|
40867
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40868
|
+
return localVarFp
|
|
40869
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40870
|
+
.then((request) => request(axios, basePath));
|
|
40871
|
+
},
|
|
40872
|
+
/**
|
|
40873
|
+
* 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`
|
|
40874
|
+
* @summary Get order by ID
|
|
40875
|
+
* @param {string} id
|
|
40876
|
+
* @param {*} [options] Override http request option.
|
|
40877
|
+
* @throws {RequiredError}
|
|
40878
|
+
*/
|
|
40879
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40880
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
40881
|
+
},
|
|
40882
|
+
/**
|
|
40883
|
+
* 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`
|
|
40884
|
+
* @summary Search orders
|
|
40885
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40886
|
+
* @param {*} [options] Override http request option.
|
|
40887
|
+
* @throws {RequiredError}
|
|
40888
|
+
*/
|
|
40889
|
+
shopOrderControllerSearch(
|
|
40890
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40891
|
+
options?: RawAxiosRequestConfig,
|
|
40892
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
40893
|
+
return localVarFp
|
|
40894
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40895
|
+
.then((request) => request(axios, basePath));
|
|
40896
|
+
},
|
|
40897
|
+
};
|
|
40898
|
+
};
|
|
40899
|
+
|
|
40900
|
+
/**
|
|
40901
|
+
* ShopOrderApi - object-oriented interface
|
|
40902
|
+
* @export
|
|
40903
|
+
* @class ShopOrderApi
|
|
40904
|
+
* @extends {BaseAPI}
|
|
40905
|
+
*/
|
|
40906
|
+
export class ShopOrderApi extends BaseAPI {
|
|
40907
|
+
/**
|
|
40908
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40909
|
+
* @summary Cancel
|
|
40910
|
+
* @param {string} id
|
|
40911
|
+
* @param {*} [options] Override http request option.
|
|
40912
|
+
* @throws {RequiredError}
|
|
40913
|
+
* @memberof ShopOrderApi
|
|
40914
|
+
*/
|
|
40915
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
40916
|
+
return ShopOrderApiFp(this.configuration)
|
|
40917
|
+
.shopOrderControllerCancel(id, options)
|
|
40918
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40919
|
+
}
|
|
40920
|
+
|
|
40921
|
+
/**
|
|
40922
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40923
|
+
* @summary Claim an order
|
|
40924
|
+
* @param {string} id
|
|
40925
|
+
* @param {*} [options] Override http request option.
|
|
40926
|
+
* @throws {RequiredError}
|
|
40927
|
+
* @memberof ShopOrderApi
|
|
40928
|
+
*/
|
|
40929
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
40930
|
+
return ShopOrderApiFp(this.configuration)
|
|
40931
|
+
.shopOrderControllerClaim(id, options)
|
|
40932
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40933
|
+
}
|
|
40934
|
+
|
|
40935
|
+
/**
|
|
40936
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40937
|
+
* @summary Create
|
|
40938
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40939
|
+
* @param {*} [options] Override http request option.
|
|
40940
|
+
* @throws {RequiredError}
|
|
40941
|
+
* @memberof ShopOrderApi
|
|
40942
|
+
*/
|
|
40943
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
40944
|
+
return ShopOrderApiFp(this.configuration)
|
|
40945
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40946
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40947
|
+
}
|
|
40948
|
+
|
|
40949
|
+
/**
|
|
40950
|
+
* 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`
|
|
40951
|
+
* @summary Get order by ID
|
|
40952
|
+
* @param {string} id
|
|
40953
|
+
* @param {*} [options] Override http request option.
|
|
40954
|
+
* @throws {RequiredError}
|
|
40955
|
+
* @memberof ShopOrderApi
|
|
40956
|
+
*/
|
|
40957
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
40958
|
+
return ShopOrderApiFp(this.configuration)
|
|
40959
|
+
.shopOrderControllerGetOne(id, options)
|
|
40960
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40961
|
+
}
|
|
40962
|
+
|
|
40963
|
+
/**
|
|
40964
|
+
* 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`
|
|
40965
|
+
* @summary Search orders
|
|
40966
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40967
|
+
* @param {*} [options] Override http request option.
|
|
40968
|
+
* @throws {RequiredError}
|
|
40969
|
+
* @memberof ShopOrderApi
|
|
40970
|
+
*/
|
|
40971
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
40972
|
+
return ShopOrderApiFp(this.configuration)
|
|
40973
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40974
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40975
|
+
}
|
|
40976
|
+
}
|
|
40977
|
+
|
|
40978
|
+
/**
|
|
40979
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40980
|
+
* @export
|
|
40981
|
+
*/
|
|
40982
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40983
|
+
return {
|
|
40984
|
+
/**
|
|
40985
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40986
|
+
* @summary Get effective config
|
|
40987
|
+
* @param {string} gameServerId
|
|
40988
|
+
* @param {*} [options] Override http request option.
|
|
40989
|
+
* @throws {RequiredError}
|
|
40990
|
+
*/
|
|
40991
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40992
|
+
gameServerId: string,
|
|
40993
|
+
options: RawAxiosRequestConfig = {},
|
|
40994
|
+
): Promise<RequestArgs> => {
|
|
40995
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40996
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40997
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40998
|
+
`{${'gameServerId'}}`,
|
|
40999
|
+
encodeURIComponent(String(gameServerId)),
|
|
41000
|
+
);
|
|
41001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41003
|
+
let baseOptions;
|
|
41004
|
+
if (configuration) {
|
|
41005
|
+
baseOptions = configuration.baseOptions;
|
|
41006
|
+
}
|
|
41007
|
+
|
|
41008
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41009
|
+
const localVarHeaderParameter = {} as any;
|
|
41010
|
+
const localVarQueryParameter = {} as any;
|
|
41011
|
+
|
|
41012
|
+
// authentication domainAuth required
|
|
41013
|
+
|
|
41014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41016
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41017
|
+
|
|
41018
|
+
return {
|
|
41019
|
+
url: toPathString(localVarUrlObj),
|
|
41020
|
+
options: localVarRequestOptions,
|
|
41021
|
+
};
|
|
41022
|
+
},
|
|
41023
|
+
/**
|
|
41024
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41025
|
+
* @summary List templates
|
|
41026
|
+
* @param {*} [options] Override http request option.
|
|
41027
|
+
* @throws {RequiredError}
|
|
41028
|
+
*/
|
|
41029
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41030
|
+
const localVarPath = `/storefront/templates`;
|
|
41031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41033
|
+
let baseOptions;
|
|
41034
|
+
if (configuration) {
|
|
41035
|
+
baseOptions = configuration.baseOptions;
|
|
41036
|
+
}
|
|
41037
|
+
|
|
41038
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41039
|
+
const localVarHeaderParameter = {} as any;
|
|
41040
|
+
const localVarQueryParameter = {} as any;
|
|
41041
|
+
|
|
41042
|
+
// authentication domainAuth required
|
|
41043
|
+
|
|
41044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41046
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41047
|
+
|
|
41048
|
+
return {
|
|
41049
|
+
url: toPathString(localVarUrlObj),
|
|
41050
|
+
options: localVarRequestOptions,
|
|
41051
|
+
};
|
|
41052
|
+
},
|
|
41053
|
+
/**
|
|
41054
|
+
* 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`
|
|
41055
|
+
* @summary Set config
|
|
41056
|
+
* @param {string} gameServerId
|
|
41057
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38432
41058
|
* @param {*} [options] Override http request option.
|
|
38433
41059
|
* @throws {RequiredError}
|
|
38434
41060
|
*/
|
|
38435
|
-
|
|
38436
|
-
|
|
41061
|
+
storefrontConfigControllerSetConfig: async (
|
|
41062
|
+
gameServerId: string,
|
|
41063
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38437
41064
|
options: RawAxiosRequestConfig = {},
|
|
38438
41065
|
): Promise<RequestArgs> => {
|
|
38439
|
-
|
|
41066
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
41067
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
41068
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
41069
|
+
`{${'gameServerId'}}`,
|
|
41070
|
+
encodeURIComponent(String(gameServerId)),
|
|
41071
|
+
);
|
|
38440
41072
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38441
41073
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38442
41074
|
let baseOptions;
|
|
@@ -38444,7 +41076,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38444
41076
|
baseOptions = configuration.baseOptions;
|
|
38445
41077
|
}
|
|
38446
41078
|
|
|
38447
|
-
const localVarRequestOptions = { method: '
|
|
41079
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38448
41080
|
const localVarHeaderParameter = {} as any;
|
|
38449
41081
|
const localVarQueryParameter = {} as any;
|
|
38450
41082
|
|
|
@@ -38456,7 +41088,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38456
41088
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38457
41089
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
38458
41090
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
38459
|
-
|
|
41091
|
+
storefrontConfigUpsertBody,
|
|
38460
41092
|
localVarRequestOptions,
|
|
38461
41093
|
configuration,
|
|
38462
41094
|
);
|
|
@@ -38470,73 +41102,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38470
41102
|
};
|
|
38471
41103
|
|
|
38472
41104
|
/**
|
|
38473
|
-
*
|
|
41105
|
+
* StorefrontConfigApi - functional programming interface
|
|
38474
41106
|
* @export
|
|
38475
41107
|
*/
|
|
38476
|
-
export const
|
|
38477
|
-
const localVarAxiosParamCreator =
|
|
41108
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
41109
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
38478
41110
|
return {
|
|
38479
41111
|
/**
|
|
38480
|
-
*
|
|
38481
|
-
* @summary
|
|
38482
|
-
* @param {string}
|
|
38483
|
-
* @param {*} [options] Override http request option.
|
|
38484
|
-
* @throws {RequiredError}
|
|
38485
|
-
*/
|
|
38486
|
-
async shopOrderControllerCancel(
|
|
38487
|
-
id: string,
|
|
38488
|
-
options?: RawAxiosRequestConfig,
|
|
38489
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
38491
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38492
|
-
const localVarOperationServerBasePath =
|
|
38493
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
38494
|
-
return (axios, basePath) =>
|
|
38495
|
-
createRequestFunction(
|
|
38496
|
-
localVarAxiosArgs,
|
|
38497
|
-
globalAxios,
|
|
38498
|
-
BASE_PATH,
|
|
38499
|
-
configuration,
|
|
38500
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38501
|
-
},
|
|
38502
|
-
/**
|
|
38503
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38504
|
-
* @summary Claim an order
|
|
38505
|
-
* @param {string} id
|
|
38506
|
-
* @param {*} [options] Override http request option.
|
|
38507
|
-
* @throws {RequiredError}
|
|
38508
|
-
*/
|
|
38509
|
-
async shopOrderControllerClaim(
|
|
38510
|
-
id: string,
|
|
38511
|
-
options?: RawAxiosRequestConfig,
|
|
38512
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
38514
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38515
|
-
const localVarOperationServerBasePath =
|
|
38516
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
38517
|
-
return (axios, basePath) =>
|
|
38518
|
-
createRequestFunction(
|
|
38519
|
-
localVarAxiosArgs,
|
|
38520
|
-
globalAxios,
|
|
38521
|
-
BASE_PATH,
|
|
38522
|
-
configuration,
|
|
38523
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38524
|
-
},
|
|
38525
|
-
/**
|
|
38526
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38527
|
-
* @summary Create
|
|
38528
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41112
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41113
|
+
* @summary Get effective config
|
|
41114
|
+
* @param {string} gameServerId
|
|
38529
41115
|
* @param {*} [options] Override http request option.
|
|
38530
41116
|
* @throws {RequiredError}
|
|
38531
41117
|
*/
|
|
38532
|
-
async
|
|
38533
|
-
|
|
41118
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
41119
|
+
gameServerId: string,
|
|
38534
41120
|
options?: RawAxiosRequestConfig,
|
|
38535
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41121
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41122
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
41123
|
+
gameServerId,
|
|
41124
|
+
options,
|
|
41125
|
+
);
|
|
38537
41126
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38538
41127
|
const localVarOperationServerBasePath =
|
|
38539
|
-
operationServerMap['
|
|
41128
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
41129
|
+
localVarOperationServerIndex
|
|
41130
|
+
]?.url;
|
|
38540
41131
|
return (axios, basePath) =>
|
|
38541
41132
|
createRequestFunction(
|
|
38542
41133
|
localVarAxiosArgs,
|
|
@@ -38546,20 +41137,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38546
41137
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38547
41138
|
},
|
|
38548
41139
|
/**
|
|
38549
|
-
*
|
|
38550
|
-
* @summary
|
|
38551
|
-
* @param {string} id
|
|
41140
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41141
|
+
* @summary List templates
|
|
38552
41142
|
* @param {*} [options] Override http request option.
|
|
38553
41143
|
* @throws {RequiredError}
|
|
38554
41144
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
id: string,
|
|
41145
|
+
async storefrontConfigControllerListTemplates(
|
|
38557
41146
|
options?: RawAxiosRequestConfig,
|
|
38558
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
41147
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
41148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
38560
41149
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38561
41150
|
const localVarOperationServerBasePath =
|
|
38562
|
-
operationServerMap['
|
|
41151
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
41152
|
+
localVarOperationServerIndex
|
|
41153
|
+
]?.url;
|
|
38563
41154
|
return (axios, basePath) =>
|
|
38564
41155
|
createRequestFunction(
|
|
38565
41156
|
localVarAxiosArgs,
|
|
@@ -38569,23 +41160,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38569
41160
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38570
41161
|
},
|
|
38571
41162
|
/**
|
|
38572
|
-
*
|
|
38573
|
-
* @summary
|
|
38574
|
-
* @param {
|
|
41163
|
+
* 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`
|
|
41164
|
+
* @summary Set config
|
|
41165
|
+
* @param {string} gameServerId
|
|
41166
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38575
41167
|
* @param {*} [options] Override http request option.
|
|
38576
41168
|
* @throws {RequiredError}
|
|
38577
41169
|
*/
|
|
38578
|
-
async
|
|
38579
|
-
|
|
41170
|
+
async storefrontConfigControllerSetConfig(
|
|
41171
|
+
gameServerId: string,
|
|
41172
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38580
41173
|
options?: RawAxiosRequestConfig,
|
|
38581
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38583
|
-
|
|
41174
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
41175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
41176
|
+
gameServerId,
|
|
41177
|
+
storefrontConfigUpsertBody,
|
|
38584
41178
|
options,
|
|
38585
41179
|
);
|
|
38586
41180
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38587
41181
|
const localVarOperationServerBasePath =
|
|
38588
|
-
operationServerMap['
|
|
41182
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
41183
|
+
?.url;
|
|
38589
41184
|
return (axios, basePath) =>
|
|
38590
41185
|
createRequestFunction(
|
|
38591
41186
|
localVarAxiosArgs,
|
|
@@ -38598,149 +41193,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38598
41193
|
};
|
|
38599
41194
|
|
|
38600
41195
|
/**
|
|
38601
|
-
*
|
|
41196
|
+
* StorefrontConfigApi - factory interface
|
|
38602
41197
|
* @export
|
|
38603
41198
|
*/
|
|
38604
|
-
export const
|
|
38605
|
-
|
|
41199
|
+
export const StorefrontConfigApiFactory = function (
|
|
41200
|
+
configuration?: Configuration,
|
|
41201
|
+
basePath?: string,
|
|
41202
|
+
axios?: AxiosInstance,
|
|
41203
|
+
) {
|
|
41204
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
38606
41205
|
return {
|
|
38607
41206
|
/**
|
|
38608
|
-
*
|
|
38609
|
-
* @summary
|
|
38610
|
-
* @param {string}
|
|
38611
|
-
* @param {*} [options] Override http request option.
|
|
38612
|
-
* @throws {RequiredError}
|
|
38613
|
-
*/
|
|
38614
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38615
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
38616
|
-
},
|
|
38617
|
-
/**
|
|
38618
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38619
|
-
* @summary Claim an order
|
|
38620
|
-
* @param {string} id
|
|
38621
|
-
* @param {*} [options] Override http request option.
|
|
38622
|
-
* @throws {RequiredError}
|
|
38623
|
-
*/
|
|
38624
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38625
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
38626
|
-
},
|
|
38627
|
-
/**
|
|
38628
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38629
|
-
* @summary Create
|
|
38630
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41207
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41208
|
+
* @summary Get effective config
|
|
41209
|
+
* @param {string} gameServerId
|
|
38631
41210
|
* @param {*} [options] Override http request option.
|
|
38632
41211
|
* @throws {RequiredError}
|
|
38633
41212
|
*/
|
|
38634
|
-
|
|
38635
|
-
|
|
41213
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
41214
|
+
gameServerId: string,
|
|
38636
41215
|
options?: RawAxiosRequestConfig,
|
|
38637
|
-
): AxiosPromise<
|
|
41216
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38638
41217
|
return localVarFp
|
|
38639
|
-
.
|
|
41218
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38640
41219
|
.then((request) => request(axios, basePath));
|
|
38641
41220
|
},
|
|
38642
41221
|
/**
|
|
38643
|
-
*
|
|
38644
|
-
* @summary
|
|
38645
|
-
* @param {string} id
|
|
41222
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41223
|
+
* @summary List templates
|
|
38646
41224
|
* @param {*} [options] Override http request option.
|
|
38647
41225
|
* @throws {RequiredError}
|
|
38648
41226
|
*/
|
|
38649
|
-
|
|
38650
|
-
|
|
41227
|
+
storefrontConfigControllerListTemplates(
|
|
41228
|
+
options?: RawAxiosRequestConfig,
|
|
41229
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
41230
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
38651
41231
|
},
|
|
38652
41232
|
/**
|
|
38653
|
-
*
|
|
38654
|
-
* @summary
|
|
38655
|
-
* @param {
|
|
41233
|
+
* 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`
|
|
41234
|
+
* @summary Set config
|
|
41235
|
+
* @param {string} gameServerId
|
|
41236
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38656
41237
|
* @param {*} [options] Override http request option.
|
|
38657
41238
|
* @throws {RequiredError}
|
|
38658
41239
|
*/
|
|
38659
|
-
|
|
38660
|
-
|
|
41240
|
+
storefrontConfigControllerSetConfig(
|
|
41241
|
+
gameServerId: string,
|
|
41242
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38661
41243
|
options?: RawAxiosRequestConfig,
|
|
38662
|
-
): AxiosPromise<
|
|
41244
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38663
41245
|
return localVarFp
|
|
38664
|
-
.
|
|
41246
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38665
41247
|
.then((request) => request(axios, basePath));
|
|
38666
41248
|
},
|
|
38667
41249
|
};
|
|
38668
41250
|
};
|
|
38669
41251
|
|
|
38670
41252
|
/**
|
|
38671
|
-
*
|
|
41253
|
+
* StorefrontConfigApi - object-oriented interface
|
|
38672
41254
|
* @export
|
|
38673
|
-
* @class
|
|
41255
|
+
* @class StorefrontConfigApi
|
|
38674
41256
|
* @extends {BaseAPI}
|
|
38675
41257
|
*/
|
|
38676
|
-
export class
|
|
41258
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
38677
41259
|
/**
|
|
38678
|
-
*
|
|
38679
|
-
* @summary
|
|
38680
|
-
* @param {string}
|
|
38681
|
-
* @param {*} [options] Override http request option.
|
|
38682
|
-
* @throws {RequiredError}
|
|
38683
|
-
* @memberof ShopOrderApi
|
|
38684
|
-
*/
|
|
38685
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
38686
|
-
return ShopOrderApiFp(this.configuration)
|
|
38687
|
-
.shopOrderControllerCancel(id, options)
|
|
38688
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38689
|
-
}
|
|
38690
|
-
|
|
38691
|
-
/**
|
|
38692
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38693
|
-
* @summary Claim an order
|
|
38694
|
-
* @param {string} id
|
|
38695
|
-
* @param {*} [options] Override http request option.
|
|
38696
|
-
* @throws {RequiredError}
|
|
38697
|
-
* @memberof ShopOrderApi
|
|
38698
|
-
*/
|
|
38699
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
38700
|
-
return ShopOrderApiFp(this.configuration)
|
|
38701
|
-
.shopOrderControllerClaim(id, options)
|
|
38702
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38703
|
-
}
|
|
38704
|
-
|
|
38705
|
-
/**
|
|
38706
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38707
|
-
* @summary Create
|
|
38708
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
41260
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
41261
|
+
* @summary Get effective config
|
|
41262
|
+
* @param {string} gameServerId
|
|
38709
41263
|
* @param {*} [options] Override http request option.
|
|
38710
41264
|
* @throws {RequiredError}
|
|
38711
|
-
* @memberof
|
|
41265
|
+
* @memberof StorefrontConfigApi
|
|
38712
41266
|
*/
|
|
38713
|
-
public
|
|
38714
|
-
return
|
|
38715
|
-
.
|
|
41267
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
41268
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41269
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38716
41270
|
.then((request) => request(this.axios, this.basePath));
|
|
38717
41271
|
}
|
|
38718
41272
|
|
|
38719
41273
|
/**
|
|
38720
|
-
*
|
|
38721
|
-
* @summary
|
|
38722
|
-
* @param {string} id
|
|
41274
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
41275
|
+
* @summary List templates
|
|
38723
41276
|
* @param {*} [options] Override http request option.
|
|
38724
41277
|
* @throws {RequiredError}
|
|
38725
|
-
* @memberof
|
|
41278
|
+
* @memberof StorefrontConfigApi
|
|
38726
41279
|
*/
|
|
38727
|
-
public
|
|
38728
|
-
return
|
|
38729
|
-
.
|
|
41280
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
41281
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41282
|
+
.storefrontConfigControllerListTemplates(options)
|
|
38730
41283
|
.then((request) => request(this.axios, this.basePath));
|
|
38731
41284
|
}
|
|
38732
41285
|
|
|
38733
41286
|
/**
|
|
38734
|
-
*
|
|
38735
|
-
* @summary
|
|
38736
|
-
* @param {
|
|
41287
|
+
* 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`
|
|
41288
|
+
* @summary Set config
|
|
41289
|
+
* @param {string} gameServerId
|
|
41290
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38737
41291
|
* @param {*} [options] Override http request option.
|
|
38738
41292
|
* @throws {RequiredError}
|
|
38739
|
-
* @memberof
|
|
41293
|
+
* @memberof StorefrontConfigApi
|
|
38740
41294
|
*/
|
|
38741
|
-
public
|
|
38742
|
-
|
|
38743
|
-
|
|
41295
|
+
public storefrontConfigControllerSetConfig(
|
|
41296
|
+
gameServerId: string,
|
|
41297
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41298
|
+
options?: RawAxiosRequestConfig,
|
|
41299
|
+
) {
|
|
41300
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41301
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38744
41302
|
.then((request) => request(this.axios, this.basePath));
|
|
38745
41303
|
}
|
|
38746
41304
|
}
|
|
@@ -39328,6 +41886,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39328
41886
|
options: localVarRequestOptions,
|
|
39329
41887
|
};
|
|
39330
41888
|
},
|
|
41889
|
+
/**
|
|
41890
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41891
|
+
* @summary Count billable dashboard users
|
|
41892
|
+
* @param {*} [options] Override http request option.
|
|
41893
|
+
* @throws {RequiredError}
|
|
41894
|
+
*/
|
|
41895
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41896
|
+
const localVarPath = `/user/count`;
|
|
41897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41898
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41899
|
+
let baseOptions;
|
|
41900
|
+
if (configuration) {
|
|
41901
|
+
baseOptions = configuration.baseOptions;
|
|
41902
|
+
}
|
|
41903
|
+
|
|
41904
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41905
|
+
const localVarHeaderParameter = {} as any;
|
|
41906
|
+
const localVarQueryParameter = {} as any;
|
|
41907
|
+
|
|
41908
|
+
// authentication domainAuth required
|
|
41909
|
+
|
|
41910
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41911
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41912
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41913
|
+
|
|
41914
|
+
return {
|
|
41915
|
+
url: toPathString(localVarUrlObj),
|
|
41916
|
+
options: localVarRequestOptions,
|
|
41917
|
+
};
|
|
41918
|
+
},
|
|
39331
41919
|
/**
|
|
39332
41920
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39333
41921
|
* @summary Create
|
|
@@ -39433,6 +42021,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39433
42021
|
* @summary Invite
|
|
39434
42022
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39435
42023
|
* @param {*} [options] Override http request option.
|
|
42024
|
+
* @deprecated
|
|
39436
42025
|
* @throws {RequiredError}
|
|
39437
42026
|
*/
|
|
39438
42027
|
userControllerInvite: async (
|
|
@@ -39834,6 +42423,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39834
42423
|
configuration,
|
|
39835
42424
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39836
42425
|
},
|
|
42426
|
+
/**
|
|
42427
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42428
|
+
* @summary Count billable dashboard users
|
|
42429
|
+
* @param {*} [options] Override http request option.
|
|
42430
|
+
* @throws {RequiredError}
|
|
42431
|
+
*/
|
|
42432
|
+
async userControllerCountBillableDashboardUsers(
|
|
42433
|
+
options?: RawAxiosRequestConfig,
|
|
42434
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
42435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
42436
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42437
|
+
const localVarOperationServerBasePath =
|
|
42438
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
42439
|
+
return (axios, basePath) =>
|
|
42440
|
+
createRequestFunction(
|
|
42441
|
+
localVarAxiosArgs,
|
|
42442
|
+
globalAxios,
|
|
42443
|
+
BASE_PATH,
|
|
42444
|
+
configuration,
|
|
42445
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42446
|
+
},
|
|
39837
42447
|
/**
|
|
39838
42448
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39839
42449
|
* @summary Create
|
|
@@ -39906,6 +42516,7 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39906
42516
|
* @summary Invite
|
|
39907
42517
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
39908
42518
|
* @param {*} [options] Override http request option.
|
|
42519
|
+
* @deprecated
|
|
39909
42520
|
* @throws {RequiredError}
|
|
39910
42521
|
*/
|
|
39911
42522
|
async userControllerInvite(
|
|
@@ -40163,6 +42774,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40163
42774
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40164
42775
|
.then((request) => request(axios, basePath));
|
|
40165
42776
|
},
|
|
42777
|
+
/**
|
|
42778
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42779
|
+
* @summary Count billable dashboard users
|
|
42780
|
+
* @param {*} [options] Override http request option.
|
|
42781
|
+
* @throws {RequiredError}
|
|
42782
|
+
*/
|
|
42783
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42784
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42785
|
+
},
|
|
40166
42786
|
/**
|
|
40167
42787
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40168
42788
|
* @summary Create
|
|
@@ -40200,6 +42820,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40200
42820
|
* @summary Invite
|
|
40201
42821
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40202
42822
|
* @param {*} [options] Override http request option.
|
|
42823
|
+
* @deprecated
|
|
40203
42824
|
* @throws {RequiredError}
|
|
40204
42825
|
*/
|
|
40205
42826
|
userControllerInvite(
|
|
@@ -40341,6 +42962,19 @@ export class UserApi extends BaseAPI {
|
|
|
40341
42962
|
.then((request) => request(this.axios, this.basePath));
|
|
40342
42963
|
}
|
|
40343
42964
|
|
|
42965
|
+
/**
|
|
42966
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42967
|
+
* @summary Count billable dashboard users
|
|
42968
|
+
* @param {*} [options] Override http request option.
|
|
42969
|
+
* @throws {RequiredError}
|
|
42970
|
+
* @memberof UserApi
|
|
42971
|
+
*/
|
|
42972
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42973
|
+
return UserApiFp(this.configuration)
|
|
42974
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42975
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42976
|
+
}
|
|
42977
|
+
|
|
40344
42978
|
/**
|
|
40345
42979
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40346
42980
|
* @summary Create
|
|
@@ -40387,6 +43021,7 @@ export class UserApi extends BaseAPI {
|
|
|
40387
43021
|
* @summary Invite
|
|
40388
43022
|
* @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
|
|
40389
43023
|
* @param {*} [options] Override http request option.
|
|
43024
|
+
* @deprecated
|
|
40390
43025
|
* @throws {RequiredError}
|
|
40391
43026
|
* @memberof UserApi
|
|
40392
43027
|
*/
|