@takaro/apiclient 0.0.0-dev.223607e → 0.0.0-dev.229b2b2
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 +1770 -268
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1209 -146
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/baseClient.d.ts +14 -0
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +13 -0
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/api.ts +2686 -346
- package/src/lib/__tests__/baseClient.unit.test.ts +17 -0
- package/src/lib/baseClient.ts +16 -0
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -2264,6 +2264,18 @@ 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;
|
|
2267
2279
|
}
|
|
2268
2280
|
|
|
2269
2281
|
export const DomainCreateInputDTOStateEnum = {
|
|
@@ -2422,6 +2434,18 @@ export interface DomainOutputDTO {
|
|
|
2422
2434
|
* @memberof DomainOutputDTO
|
|
2423
2435
|
*/
|
|
2424
2436
|
maxFunctionsInModule: number;
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @type {number}
|
|
2440
|
+
* @memberof DomainOutputDTO
|
|
2441
|
+
*/
|
|
2442
|
+
maxCustomRoles: number;
|
|
2443
|
+
/**
|
|
2444
|
+
*
|
|
2445
|
+
* @type {number}
|
|
2446
|
+
* @memberof DomainOutputDTO
|
|
2447
|
+
*/
|
|
2448
|
+
maxDiscordLinkedRoles: number;
|
|
2425
2449
|
/**
|
|
2426
2450
|
*
|
|
2427
2451
|
* @type {string}
|
|
@@ -2653,6 +2677,18 @@ export interface DomainUpdateInputDTO {
|
|
|
2653
2677
|
* @memberof DomainUpdateInputDTO
|
|
2654
2678
|
*/
|
|
2655
2679
|
maxFunctionsInModule?: number;
|
|
2680
|
+
/**
|
|
2681
|
+
*
|
|
2682
|
+
* @type {number}
|
|
2683
|
+
* @memberof DomainUpdateInputDTO
|
|
2684
|
+
*/
|
|
2685
|
+
maxCustomRoles?: number;
|
|
2686
|
+
/**
|
|
2687
|
+
*
|
|
2688
|
+
* @type {number}
|
|
2689
|
+
* @memberof DomainUpdateInputDTO
|
|
2690
|
+
*/
|
|
2691
|
+
maxDiscordLinkedRoles?: number;
|
|
2656
2692
|
}
|
|
2657
2693
|
|
|
2658
2694
|
export const DomainUpdateInputDTOStateEnum = {
|
|
@@ -2664,6 +2700,50 @@ export const DomainUpdateInputDTOStateEnum = {
|
|
|
2664
2700
|
export type DomainUpdateInputDTOStateEnum =
|
|
2665
2701
|
(typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
|
|
2666
2702
|
|
|
2703
|
+
/**
|
|
2704
|
+
*
|
|
2705
|
+
* @export
|
|
2706
|
+
* @interface EffectiveStorefrontConfigDTO
|
|
2707
|
+
*/
|
|
2708
|
+
export interface EffectiveStorefrontConfigDTO {
|
|
2709
|
+
/**
|
|
2710
|
+
*
|
|
2711
|
+
* @type {string}
|
|
2712
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2713
|
+
*/
|
|
2714
|
+
templateId: string;
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @type {object}
|
|
2718
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2719
|
+
*/
|
|
2720
|
+
values: object;
|
|
2721
|
+
/**
|
|
2722
|
+
*
|
|
2723
|
+
* @type {object}
|
|
2724
|
+
* @memberof EffectiveStorefrontConfigDTO
|
|
2725
|
+
*/
|
|
2726
|
+
schema: object;
|
|
2727
|
+
}
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @export
|
|
2731
|
+
* @interface EffectiveStorefrontConfigOutputDTOAPI
|
|
2732
|
+
*/
|
|
2733
|
+
export interface EffectiveStorefrontConfigOutputDTOAPI {
|
|
2734
|
+
/**
|
|
2735
|
+
*
|
|
2736
|
+
* @type {EffectiveStorefrontConfigDTO}
|
|
2737
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2738
|
+
*/
|
|
2739
|
+
data: EffectiveStorefrontConfigDTO;
|
|
2740
|
+
/**
|
|
2741
|
+
*
|
|
2742
|
+
* @type {MetadataOutput}
|
|
2743
|
+
* @memberof EffectiveStorefrontConfigOutputDTOAPI
|
|
2744
|
+
*/
|
|
2745
|
+
meta: MetadataOutput;
|
|
2746
|
+
}
|
|
2667
2747
|
/**
|
|
2668
2748
|
*
|
|
2669
2749
|
* @export
|
|
@@ -6861,6 +6941,475 @@ export interface InviteOutputDTO {
|
|
|
6861
6941
|
*/
|
|
6862
6942
|
devServer: string;
|
|
6863
6943
|
}
|
|
6944
|
+
/**
|
|
6945
|
+
*
|
|
6946
|
+
* @export
|
|
6947
|
+
* @interface InviteLinkCreateInputDTO
|
|
6948
|
+
*/
|
|
6949
|
+
export interface InviteLinkCreateInputDTO {
|
|
6950
|
+
/**
|
|
6951
|
+
*
|
|
6952
|
+
* @type {Array<string>}
|
|
6953
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6954
|
+
*/
|
|
6955
|
+
roleIds?: Array<string>;
|
|
6956
|
+
/**
|
|
6957
|
+
*
|
|
6958
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6959
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6960
|
+
*/
|
|
6961
|
+
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6962
|
+
/**
|
|
6963
|
+
*
|
|
6964
|
+
* @type {number}
|
|
6965
|
+
* @memberof InviteLinkCreateInputDTO
|
|
6966
|
+
*/
|
|
6967
|
+
maxUses?: number;
|
|
6968
|
+
}
|
|
6969
|
+
/**
|
|
6970
|
+
*
|
|
6971
|
+
* @export
|
|
6972
|
+
* @interface InviteLinkCreateResultDTO
|
|
6973
|
+
*/
|
|
6974
|
+
export interface InviteLinkCreateResultDTO {
|
|
6975
|
+
/**
|
|
6976
|
+
*
|
|
6977
|
+
* @type {string}
|
|
6978
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6979
|
+
*/
|
|
6980
|
+
inviteUrl: string;
|
|
6981
|
+
/**
|
|
6982
|
+
*
|
|
6983
|
+
* @type {string}
|
|
6984
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6985
|
+
*/
|
|
6986
|
+
token: string;
|
|
6987
|
+
/**
|
|
6988
|
+
*
|
|
6989
|
+
* @type {string}
|
|
6990
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6991
|
+
*/
|
|
6992
|
+
id: string;
|
|
6993
|
+
/**
|
|
6994
|
+
*
|
|
6995
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
6996
|
+
* @memberof InviteLinkCreateResultDTO
|
|
6997
|
+
*/
|
|
6998
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
6999
|
+
/**
|
|
7000
|
+
*
|
|
7001
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7002
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7003
|
+
*/
|
|
7004
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7005
|
+
/**
|
|
7006
|
+
*
|
|
7007
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7008
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7009
|
+
*/
|
|
7010
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7011
|
+
/**
|
|
7012
|
+
*
|
|
7013
|
+
* @type {number}
|
|
7014
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7015
|
+
*/
|
|
7016
|
+
maxUses?: number;
|
|
7017
|
+
/**
|
|
7018
|
+
*
|
|
7019
|
+
* @type {number}
|
|
7020
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7021
|
+
*/
|
|
7022
|
+
uses: number;
|
|
7023
|
+
/**
|
|
7024
|
+
*
|
|
7025
|
+
* @type {number}
|
|
7026
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7027
|
+
*/
|
|
7028
|
+
remaining?: number;
|
|
7029
|
+
/**
|
|
7030
|
+
*
|
|
7031
|
+
* @type {string}
|
|
7032
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7033
|
+
*/
|
|
7034
|
+
status: InviteLinkCreateResultDTOStatusEnum;
|
|
7035
|
+
/**
|
|
7036
|
+
*
|
|
7037
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7038
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7039
|
+
*/
|
|
7040
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7041
|
+
/**
|
|
7042
|
+
*
|
|
7043
|
+
* @type {string}
|
|
7044
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7045
|
+
*/
|
|
7046
|
+
createdBy?: string;
|
|
7047
|
+
/**
|
|
7048
|
+
*
|
|
7049
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7050
|
+
* @memberof InviteLinkCreateResultDTO
|
|
7051
|
+
*/
|
|
7052
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
7056
|
+
Active: 'ACTIVE',
|
|
7057
|
+
Revoked: 'REVOKED',
|
|
7058
|
+
Expired: 'EXPIRED',
|
|
7059
|
+
Depleted: 'DEPLETED',
|
|
7060
|
+
} as const;
|
|
7061
|
+
|
|
7062
|
+
export type InviteLinkCreateResultDTOStatusEnum =
|
|
7063
|
+
(typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
|
|
7064
|
+
|
|
7065
|
+
/**
|
|
7066
|
+
*
|
|
7067
|
+
* @export
|
|
7068
|
+
* @interface InviteLinkCreateResultDTOAPI
|
|
7069
|
+
*/
|
|
7070
|
+
export interface InviteLinkCreateResultDTOAPI {
|
|
7071
|
+
/**
|
|
7072
|
+
*
|
|
7073
|
+
* @type {InviteLinkCreateResultDTO}
|
|
7074
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7075
|
+
*/
|
|
7076
|
+
data: InviteLinkCreateResultDTO;
|
|
7077
|
+
/**
|
|
7078
|
+
*
|
|
7079
|
+
* @type {MetadataOutput}
|
|
7080
|
+
* @memberof InviteLinkCreateResultDTOAPI
|
|
7081
|
+
*/
|
|
7082
|
+
meta: MetadataOutput;
|
|
7083
|
+
}
|
|
7084
|
+
/**
|
|
7085
|
+
*
|
|
7086
|
+
* @export
|
|
7087
|
+
* @interface InviteLinkOutputDTO
|
|
7088
|
+
*/
|
|
7089
|
+
export interface InviteLinkOutputDTO {
|
|
7090
|
+
/**
|
|
7091
|
+
*
|
|
7092
|
+
* @type {string}
|
|
7093
|
+
* @memberof InviteLinkOutputDTO
|
|
7094
|
+
*/
|
|
7095
|
+
id: string;
|
|
7096
|
+
/**
|
|
7097
|
+
*
|
|
7098
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7099
|
+
* @memberof InviteLinkOutputDTO
|
|
7100
|
+
*/
|
|
7101
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7102
|
+
/**
|
|
7103
|
+
*
|
|
7104
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7105
|
+
* @memberof InviteLinkOutputDTO
|
|
7106
|
+
*/
|
|
7107
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7108
|
+
/**
|
|
7109
|
+
*
|
|
7110
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7111
|
+
* @memberof InviteLinkOutputDTO
|
|
7112
|
+
*/
|
|
7113
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7114
|
+
/**
|
|
7115
|
+
*
|
|
7116
|
+
* @type {number}
|
|
7117
|
+
* @memberof InviteLinkOutputDTO
|
|
7118
|
+
*/
|
|
7119
|
+
maxUses?: number;
|
|
7120
|
+
/**
|
|
7121
|
+
*
|
|
7122
|
+
* @type {number}
|
|
7123
|
+
* @memberof InviteLinkOutputDTO
|
|
7124
|
+
*/
|
|
7125
|
+
uses: number;
|
|
7126
|
+
/**
|
|
7127
|
+
*
|
|
7128
|
+
* @type {number}
|
|
7129
|
+
* @memberof InviteLinkOutputDTO
|
|
7130
|
+
*/
|
|
7131
|
+
remaining?: number;
|
|
7132
|
+
/**
|
|
7133
|
+
*
|
|
7134
|
+
* @type {string}
|
|
7135
|
+
* @memberof InviteLinkOutputDTO
|
|
7136
|
+
*/
|
|
7137
|
+
status: InviteLinkOutputDTOStatusEnum;
|
|
7138
|
+
/**
|
|
7139
|
+
*
|
|
7140
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7141
|
+
* @memberof InviteLinkOutputDTO
|
|
7142
|
+
*/
|
|
7143
|
+
revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7144
|
+
/**
|
|
7145
|
+
*
|
|
7146
|
+
* @type {string}
|
|
7147
|
+
* @memberof InviteLinkOutputDTO
|
|
7148
|
+
*/
|
|
7149
|
+
createdBy?: string;
|
|
7150
|
+
/**
|
|
7151
|
+
*
|
|
7152
|
+
* @type {Array<InviteLinkRoleDTO>}
|
|
7153
|
+
* @memberof InviteLinkOutputDTO
|
|
7154
|
+
*/
|
|
7155
|
+
roles: Array<InviteLinkRoleDTO>;
|
|
7156
|
+
}
|
|
7157
|
+
|
|
7158
|
+
export const InviteLinkOutputDTOStatusEnum = {
|
|
7159
|
+
Active: 'ACTIVE',
|
|
7160
|
+
Revoked: 'REVOKED',
|
|
7161
|
+
Expired: 'EXPIRED',
|
|
7162
|
+
Depleted: 'DEPLETED',
|
|
7163
|
+
} as const;
|
|
7164
|
+
|
|
7165
|
+
export type InviteLinkOutputDTOStatusEnum =
|
|
7166
|
+
(typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
|
|
7167
|
+
|
|
7168
|
+
/**
|
|
7169
|
+
*
|
|
7170
|
+
* @export
|
|
7171
|
+
* @interface InviteLinkOutputDTOAPI
|
|
7172
|
+
*/
|
|
7173
|
+
export interface InviteLinkOutputDTOAPI {
|
|
7174
|
+
/**
|
|
7175
|
+
*
|
|
7176
|
+
* @type {InviteLinkOutputDTO}
|
|
7177
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7178
|
+
*/
|
|
7179
|
+
data: InviteLinkOutputDTO;
|
|
7180
|
+
/**
|
|
7181
|
+
*
|
|
7182
|
+
* @type {MetadataOutput}
|
|
7183
|
+
* @memberof InviteLinkOutputDTOAPI
|
|
7184
|
+
*/
|
|
7185
|
+
meta: MetadataOutput;
|
|
7186
|
+
}
|
|
7187
|
+
/**
|
|
7188
|
+
*
|
|
7189
|
+
* @export
|
|
7190
|
+
* @interface InviteLinkOutputArrayDTOAPI
|
|
7191
|
+
*/
|
|
7192
|
+
export interface InviteLinkOutputArrayDTOAPI {
|
|
7193
|
+
/**
|
|
7194
|
+
*
|
|
7195
|
+
* @type {Array<InviteLinkOutputDTO>}
|
|
7196
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7197
|
+
*/
|
|
7198
|
+
data: Array<InviteLinkOutputDTO>;
|
|
7199
|
+
/**
|
|
7200
|
+
*
|
|
7201
|
+
* @type {MetadataOutput}
|
|
7202
|
+
* @memberof InviteLinkOutputArrayDTOAPI
|
|
7203
|
+
*/
|
|
7204
|
+
meta: MetadataOutput;
|
|
7205
|
+
}
|
|
7206
|
+
/**
|
|
7207
|
+
*
|
|
7208
|
+
* @export
|
|
7209
|
+
* @interface InviteLinkPreviewDTO
|
|
7210
|
+
*/
|
|
7211
|
+
export interface InviteLinkPreviewDTO {
|
|
7212
|
+
/**
|
|
7213
|
+
*
|
|
7214
|
+
* @type {InviteLinkPreviewDomainDTO}
|
|
7215
|
+
* @memberof InviteLinkPreviewDTO
|
|
7216
|
+
*/
|
|
7217
|
+
domain: InviteLinkPreviewDomainDTO;
|
|
7218
|
+
/**
|
|
7219
|
+
*
|
|
7220
|
+
* @type {Array<InviteLinkPreviewRoleDTO>}
|
|
7221
|
+
* @memberof InviteLinkPreviewDTO
|
|
7222
|
+
*/
|
|
7223
|
+
roles: Array<InviteLinkPreviewRoleDTO>;
|
|
7224
|
+
/**
|
|
7225
|
+
*
|
|
7226
|
+
* @type {string}
|
|
7227
|
+
* @memberof InviteLinkPreviewDTO
|
|
7228
|
+
*/
|
|
7229
|
+
status: InviteLinkPreviewDTOStatusEnum;
|
|
7230
|
+
/**
|
|
7231
|
+
*
|
|
7232
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
7233
|
+
* @memberof InviteLinkPreviewDTO
|
|
7234
|
+
*/
|
|
7235
|
+
expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
7236
|
+
/**
|
|
7237
|
+
*
|
|
7238
|
+
* @type {number}
|
|
7239
|
+
* @memberof InviteLinkPreviewDTO
|
|
7240
|
+
*/
|
|
7241
|
+
remaining?: number;
|
|
7242
|
+
}
|
|
7243
|
+
|
|
7244
|
+
export const InviteLinkPreviewDTOStatusEnum = {
|
|
7245
|
+
Active: 'ACTIVE',
|
|
7246
|
+
Revoked: 'REVOKED',
|
|
7247
|
+
Expired: 'EXPIRED',
|
|
7248
|
+
Depleted: 'DEPLETED',
|
|
7249
|
+
} as const;
|
|
7250
|
+
|
|
7251
|
+
export type InviteLinkPreviewDTOStatusEnum =
|
|
7252
|
+
(typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
|
|
7253
|
+
|
|
7254
|
+
/**
|
|
7255
|
+
*
|
|
7256
|
+
* @export
|
|
7257
|
+
* @interface InviteLinkPreviewDTOAPI
|
|
7258
|
+
*/
|
|
7259
|
+
export interface InviteLinkPreviewDTOAPI {
|
|
7260
|
+
/**
|
|
7261
|
+
*
|
|
7262
|
+
* @type {InviteLinkPreviewDTO}
|
|
7263
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7264
|
+
*/
|
|
7265
|
+
data: InviteLinkPreviewDTO;
|
|
7266
|
+
/**
|
|
7267
|
+
*
|
|
7268
|
+
* @type {MetadataOutput}
|
|
7269
|
+
* @memberof InviteLinkPreviewDTOAPI
|
|
7270
|
+
*/
|
|
7271
|
+
meta: MetadataOutput;
|
|
7272
|
+
}
|
|
7273
|
+
/**
|
|
7274
|
+
*
|
|
7275
|
+
* @export
|
|
7276
|
+
* @interface InviteLinkPreviewDomainDTO
|
|
7277
|
+
*/
|
|
7278
|
+
export interface InviteLinkPreviewDomainDTO {
|
|
7279
|
+
/**
|
|
7280
|
+
*
|
|
7281
|
+
* @type {string}
|
|
7282
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7283
|
+
*/
|
|
7284
|
+
id: string;
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @type {string}
|
|
7288
|
+
* @memberof InviteLinkPreviewDomainDTO
|
|
7289
|
+
*/
|
|
7290
|
+
name: string;
|
|
7291
|
+
}
|
|
7292
|
+
/**
|
|
7293
|
+
*
|
|
7294
|
+
* @export
|
|
7295
|
+
* @interface InviteLinkPreviewRoleDTO
|
|
7296
|
+
*/
|
|
7297
|
+
export interface InviteLinkPreviewRoleDTO {
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @type {string}
|
|
7301
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7302
|
+
*/
|
|
7303
|
+
id: string;
|
|
7304
|
+
/**
|
|
7305
|
+
*
|
|
7306
|
+
* @type {string}
|
|
7307
|
+
* @memberof InviteLinkPreviewRoleDTO
|
|
7308
|
+
*/
|
|
7309
|
+
name: string;
|
|
7310
|
+
}
|
|
7311
|
+
/**
|
|
7312
|
+
*
|
|
7313
|
+
* @export
|
|
7314
|
+
* @interface InviteLinkRoleDTO
|
|
7315
|
+
*/
|
|
7316
|
+
export interface InviteLinkRoleDTO {
|
|
7317
|
+
/**
|
|
7318
|
+
*
|
|
7319
|
+
* @type {string}
|
|
7320
|
+
* @memberof InviteLinkRoleDTO
|
|
7321
|
+
*/
|
|
7322
|
+
roleId: string;
|
|
7323
|
+
/**
|
|
7324
|
+
*
|
|
7325
|
+
* @type {string}
|
|
7326
|
+
* @memberof InviteLinkRoleDTO
|
|
7327
|
+
*/
|
|
7328
|
+
name: string;
|
|
7329
|
+
}
|
|
7330
|
+
/**
|
|
7331
|
+
*
|
|
7332
|
+
* @export
|
|
7333
|
+
* @interface InviteLinkSearchInputDTO
|
|
7334
|
+
*/
|
|
7335
|
+
export interface InviteLinkSearchInputDTO {
|
|
7336
|
+
/**
|
|
7337
|
+
*
|
|
7338
|
+
* @type {string}
|
|
7339
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7340
|
+
*/
|
|
7341
|
+
sortBy?: string;
|
|
7342
|
+
/**
|
|
7343
|
+
*
|
|
7344
|
+
* @type {any}
|
|
7345
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7346
|
+
*/
|
|
7347
|
+
filters?: any;
|
|
7348
|
+
/**
|
|
7349
|
+
*
|
|
7350
|
+
* @type {any}
|
|
7351
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7352
|
+
*/
|
|
7353
|
+
search?: any;
|
|
7354
|
+
/**
|
|
7355
|
+
*
|
|
7356
|
+
* @type {any}
|
|
7357
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7358
|
+
*/
|
|
7359
|
+
greaterThan?: any;
|
|
7360
|
+
/**
|
|
7361
|
+
*
|
|
7362
|
+
* @type {any}
|
|
7363
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7364
|
+
*/
|
|
7365
|
+
lessThan?: any;
|
|
7366
|
+
/**
|
|
7367
|
+
*
|
|
7368
|
+
* @type {number}
|
|
7369
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7370
|
+
*/
|
|
7371
|
+
page?: number;
|
|
7372
|
+
/**
|
|
7373
|
+
*
|
|
7374
|
+
* @type {number}
|
|
7375
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7376
|
+
*/
|
|
7377
|
+
limit?: number;
|
|
7378
|
+
/**
|
|
7379
|
+
*
|
|
7380
|
+
* @type {string}
|
|
7381
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7382
|
+
*/
|
|
7383
|
+
sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
|
|
7384
|
+
/**
|
|
7385
|
+
*
|
|
7386
|
+
* @type {Array<string>}
|
|
7387
|
+
* @memberof InviteLinkSearchInputDTO
|
|
7388
|
+
*/
|
|
7389
|
+
extend?: Array<string>;
|
|
7390
|
+
}
|
|
7391
|
+
|
|
7392
|
+
export const InviteLinkSearchInputDTOSortDirectionEnum = {
|
|
7393
|
+
Asc: 'asc',
|
|
7394
|
+
Desc: 'desc',
|
|
7395
|
+
} as const;
|
|
7396
|
+
|
|
7397
|
+
export type InviteLinkSearchInputDTOSortDirectionEnum =
|
|
7398
|
+
(typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
|
|
7399
|
+
|
|
7400
|
+
/**
|
|
7401
|
+
*
|
|
7402
|
+
* @export
|
|
7403
|
+
* @interface RedeemInputDTO
|
|
7404
|
+
*/
|
|
7405
|
+
export interface RedeemInputDTO {
|
|
7406
|
+
/**
|
|
7407
|
+
*
|
|
7408
|
+
* @type {string}
|
|
7409
|
+
* @memberof RedeemInputDTO
|
|
7410
|
+
*/
|
|
7411
|
+
token: string;
|
|
7412
|
+
}
|
|
6864
7413
|
/**
|
|
6865
7414
|
*
|
|
6866
7415
|
* @export
|
|
@@ -7444,6 +7993,32 @@ export interface LoginOutputDTOAPI {
|
|
|
7444
7993
|
*/
|
|
7445
7994
|
meta: MetadataOutput;
|
|
7446
7995
|
}
|
|
7996
|
+
/**
|
|
7997
|
+
*
|
|
7998
|
+
* @export
|
|
7999
|
+
* @interface LoginQueryParams
|
|
8000
|
+
*/
|
|
8001
|
+
export interface LoginQueryParams {
|
|
8002
|
+
/**
|
|
8003
|
+
*
|
|
8004
|
+
* @type {string}
|
|
8005
|
+
* @memberof LoginQueryParams
|
|
8006
|
+
*/
|
|
8007
|
+
redirect?: string;
|
|
8008
|
+
}
|
|
8009
|
+
/**
|
|
8010
|
+
*
|
|
8011
|
+
* @export
|
|
8012
|
+
* @interface LogoutQueryParams
|
|
8013
|
+
*/
|
|
8014
|
+
export interface LogoutQueryParams {
|
|
8015
|
+
/**
|
|
8016
|
+
*
|
|
8017
|
+
* @type {string}
|
|
8018
|
+
* @memberof LogoutQueryParams
|
|
8019
|
+
*/
|
|
8020
|
+
redirect?: string;
|
|
8021
|
+
}
|
|
7447
8022
|
/**
|
|
7448
8023
|
*
|
|
7449
8024
|
* @export
|
|
@@ -7567,7 +8142,7 @@ export interface MeOutputDTO {
|
|
|
7567
8142
|
* @type {UserOutputWithRolesDTO}
|
|
7568
8143
|
* @memberof MeOutputDTO
|
|
7569
8144
|
*/
|
|
7570
|
-
user
|
|
8145
|
+
user?: UserOutputWithRolesDTO;
|
|
7571
8146
|
/**
|
|
7572
8147
|
*
|
|
7573
8148
|
* @type {Array<DomainOutputDTO>}
|
|
@@ -7579,7 +8154,7 @@ export interface MeOutputDTO {
|
|
|
7579
8154
|
* @type {string}
|
|
7580
8155
|
* @memberof MeOutputDTO
|
|
7581
8156
|
*/
|
|
7582
|
-
domain
|
|
8157
|
+
domain?: string;
|
|
7583
8158
|
/**
|
|
7584
8159
|
*
|
|
7585
8160
|
* @type {PlayerOutputWithRolesDTO}
|
|
@@ -8073,6 +8648,98 @@ export interface ModuleInstallParamId {
|
|
|
8073
8648
|
*/
|
|
8074
8649
|
gameServerId: string;
|
|
8075
8650
|
}
|
|
8651
|
+
/**
|
|
8652
|
+
*
|
|
8653
|
+
* @export
|
|
8654
|
+
* @interface ModuleInstallationKpisDTO
|
|
8655
|
+
*/
|
|
8656
|
+
export interface ModuleInstallationKpisDTO {
|
|
8657
|
+
/**
|
|
8658
|
+
*
|
|
8659
|
+
* @type {number}
|
|
8660
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8661
|
+
*/
|
|
8662
|
+
runs: number;
|
|
8663
|
+
/**
|
|
8664
|
+
*
|
|
8665
|
+
* @type {number}
|
|
8666
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8667
|
+
*/
|
|
8668
|
+
failures: number;
|
|
8669
|
+
/**
|
|
8670
|
+
*
|
|
8671
|
+
* @type {number}
|
|
8672
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8673
|
+
*/
|
|
8674
|
+
successRate: number;
|
|
8675
|
+
}
|
|
8676
|
+
/**
|
|
8677
|
+
*
|
|
8678
|
+
* @export
|
|
8679
|
+
* @interface ModuleInstallationKpisDTOAPI
|
|
8680
|
+
*/
|
|
8681
|
+
export interface ModuleInstallationKpisDTOAPI {
|
|
8682
|
+
/**
|
|
8683
|
+
*
|
|
8684
|
+
* @type {ModuleInstallationKpisDTO}
|
|
8685
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8686
|
+
*/
|
|
8687
|
+
data: ModuleInstallationKpisDTO;
|
|
8688
|
+
/**
|
|
8689
|
+
*
|
|
8690
|
+
* @type {MetadataOutput}
|
|
8691
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8692
|
+
*/
|
|
8693
|
+
meta: MetadataOutput;
|
|
8694
|
+
}
|
|
8695
|
+
/**
|
|
8696
|
+
*
|
|
8697
|
+
* @export
|
|
8698
|
+
* @interface ModuleInstallationKpisQueryDTO
|
|
8699
|
+
*/
|
|
8700
|
+
export interface ModuleInstallationKpisQueryDTO {
|
|
8701
|
+
/**
|
|
8702
|
+
*
|
|
8703
|
+
* @type {string}
|
|
8704
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8705
|
+
*/
|
|
8706
|
+
startDate?: string;
|
|
8707
|
+
/**
|
|
8708
|
+
*
|
|
8709
|
+
* @type {string}
|
|
8710
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8711
|
+
*/
|
|
8712
|
+
endDate?: string;
|
|
8713
|
+
/**
|
|
8714
|
+
*
|
|
8715
|
+
* @type {string}
|
|
8716
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8717
|
+
*/
|
|
8718
|
+
gameServerId: string;
|
|
8719
|
+
/**
|
|
8720
|
+
*
|
|
8721
|
+
* @type {string}
|
|
8722
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8723
|
+
*/
|
|
8724
|
+
moduleId: string;
|
|
8725
|
+
/**
|
|
8726
|
+
*
|
|
8727
|
+
* @type {string}
|
|
8728
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8729
|
+
*/
|
|
8730
|
+
period?: ModuleInstallationKpisQueryDTOPeriodEnum;
|
|
8731
|
+
}
|
|
8732
|
+
|
|
8733
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
8734
|
+
_24h: '24h',
|
|
8735
|
+
_7d: '7d',
|
|
8736
|
+
_30d: '30d',
|
|
8737
|
+
_90d: '90d',
|
|
8738
|
+
} as const;
|
|
8739
|
+
|
|
8740
|
+
export type ModuleInstallationKpisQueryDTOPeriodEnum =
|
|
8741
|
+
(typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
|
|
8742
|
+
|
|
8076
8743
|
/**
|
|
8077
8744
|
*
|
|
8078
8745
|
* @export
|
|
@@ -12729,7 +13396,7 @@ export interface RoleUpdateInputDTO {
|
|
|
12729
13396
|
* @type {string}
|
|
12730
13397
|
* @memberof RoleUpdateInputDTO
|
|
12731
13398
|
*/
|
|
12732
|
-
linkedDiscordRoleId?: string;
|
|
13399
|
+
linkedDiscordRoleId?: string | null;
|
|
12733
13400
|
}
|
|
12734
13401
|
/**
|
|
12735
13402
|
*
|
|
@@ -13935,6 +14602,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13935
14602
|
*/
|
|
13936
14603
|
daysSinceLastSale?: number;
|
|
13937
14604
|
}
|
|
14605
|
+
/**
|
|
14606
|
+
*
|
|
14607
|
+
* @export
|
|
14608
|
+
* @interface ShopImportFailureDTO
|
|
14609
|
+
*/
|
|
14610
|
+
export interface ShopImportFailureDTO {
|
|
14611
|
+
/**
|
|
14612
|
+
*
|
|
14613
|
+
* @type {string}
|
|
14614
|
+
* @memberof ShopImportFailureDTO
|
|
14615
|
+
*/
|
|
14616
|
+
name: string;
|
|
14617
|
+
/**
|
|
14618
|
+
*
|
|
14619
|
+
* @type {string}
|
|
14620
|
+
* @memberof ShopImportFailureDTO
|
|
14621
|
+
*/
|
|
14622
|
+
reason: string;
|
|
14623
|
+
}
|
|
13938
14624
|
/**
|
|
13939
14625
|
*
|
|
13940
14626
|
* @export
|
|
@@ -13960,6 +14646,44 @@ export interface ShopImportOptions {
|
|
|
13960
14646
|
*/
|
|
13961
14647
|
gameServerId: string;
|
|
13962
14648
|
}
|
|
14649
|
+
/**
|
|
14650
|
+
*
|
|
14651
|
+
* @export
|
|
14652
|
+
* @interface ShopImportResultDTO
|
|
14653
|
+
*/
|
|
14654
|
+
export interface ShopImportResultDTO {
|
|
14655
|
+
/**
|
|
14656
|
+
*
|
|
14657
|
+
* @type {number}
|
|
14658
|
+
* @memberof ShopImportResultDTO
|
|
14659
|
+
*/
|
|
14660
|
+
imported: number;
|
|
14661
|
+
/**
|
|
14662
|
+
*
|
|
14663
|
+
* @type {Array<ShopImportFailureDTO>}
|
|
14664
|
+
* @memberof ShopImportResultDTO
|
|
14665
|
+
*/
|
|
14666
|
+
failed: Array<ShopImportFailureDTO>;
|
|
14667
|
+
}
|
|
14668
|
+
/**
|
|
14669
|
+
*
|
|
14670
|
+
* @export
|
|
14671
|
+
* @interface ShopImportResultDTOAPI
|
|
14672
|
+
*/
|
|
14673
|
+
export interface ShopImportResultDTOAPI {
|
|
14674
|
+
/**
|
|
14675
|
+
*
|
|
14676
|
+
* @type {ShopImportResultDTO}
|
|
14677
|
+
* @memberof ShopImportResultDTOAPI
|
|
14678
|
+
*/
|
|
14679
|
+
data: ShopImportResultDTO;
|
|
14680
|
+
/**
|
|
14681
|
+
*
|
|
14682
|
+
* @type {MetadataOutput}
|
|
14683
|
+
* @memberof ShopImportResultDTOAPI
|
|
14684
|
+
*/
|
|
14685
|
+
meta: MetadataOutput;
|
|
14686
|
+
}
|
|
13963
14687
|
/**
|
|
13964
14688
|
*
|
|
13965
14689
|
* @export
|
|
@@ -15102,6 +15826,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
15102
15826
|
*/
|
|
15103
15827
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15104
15828
|
}
|
|
15829
|
+
/**
|
|
15830
|
+
*
|
|
15831
|
+
* @export
|
|
15832
|
+
* @interface StorefrontConfigCreateDTO
|
|
15833
|
+
*/
|
|
15834
|
+
export interface StorefrontConfigCreateDTO {
|
|
15835
|
+
/**
|
|
15836
|
+
*
|
|
15837
|
+
* @type {string}
|
|
15838
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15839
|
+
*/
|
|
15840
|
+
gameServerId: string;
|
|
15841
|
+
/**
|
|
15842
|
+
*
|
|
15843
|
+
* @type {string}
|
|
15844
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15845
|
+
*/
|
|
15846
|
+
templateId: string;
|
|
15847
|
+
/**
|
|
15848
|
+
*
|
|
15849
|
+
* @type {object}
|
|
15850
|
+
* @memberof StorefrontConfigCreateDTO
|
|
15851
|
+
*/
|
|
15852
|
+
values?: object;
|
|
15853
|
+
}
|
|
15854
|
+
/**
|
|
15855
|
+
*
|
|
15856
|
+
* @export
|
|
15857
|
+
* @interface StorefrontConfigOutputDTO
|
|
15858
|
+
*/
|
|
15859
|
+
export interface StorefrontConfigOutputDTO {
|
|
15860
|
+
/**
|
|
15861
|
+
*
|
|
15862
|
+
* @type {string}
|
|
15863
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15864
|
+
*/
|
|
15865
|
+
gameServerId: string;
|
|
15866
|
+
/**
|
|
15867
|
+
*
|
|
15868
|
+
* @type {string}
|
|
15869
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15870
|
+
*/
|
|
15871
|
+
templateId: string;
|
|
15872
|
+
/**
|
|
15873
|
+
*
|
|
15874
|
+
* @type {object}
|
|
15875
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15876
|
+
*/
|
|
15877
|
+
values: object;
|
|
15878
|
+
/**
|
|
15879
|
+
*
|
|
15880
|
+
* @type {string}
|
|
15881
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15882
|
+
*/
|
|
15883
|
+
id: string;
|
|
15884
|
+
/**
|
|
15885
|
+
*
|
|
15886
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15887
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15888
|
+
*/
|
|
15889
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15890
|
+
/**
|
|
15891
|
+
*
|
|
15892
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15893
|
+
* @memberof StorefrontConfigOutputDTO
|
|
15894
|
+
*/
|
|
15895
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15896
|
+
}
|
|
15897
|
+
/**
|
|
15898
|
+
*
|
|
15899
|
+
* @export
|
|
15900
|
+
* @interface StorefrontConfigUpdateDTO
|
|
15901
|
+
*/
|
|
15902
|
+
export interface StorefrontConfigUpdateDTO {
|
|
15903
|
+
/**
|
|
15904
|
+
*
|
|
15905
|
+
* @type {string}
|
|
15906
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
15907
|
+
*/
|
|
15908
|
+
templateId?: string;
|
|
15909
|
+
/**
|
|
15910
|
+
*
|
|
15911
|
+
* @type {object}
|
|
15912
|
+
* @memberof StorefrontConfigUpdateDTO
|
|
15913
|
+
*/
|
|
15914
|
+
values?: object;
|
|
15915
|
+
}
|
|
15916
|
+
/**
|
|
15917
|
+
*
|
|
15918
|
+
* @export
|
|
15919
|
+
* @interface StorefrontConfigUpsertBody
|
|
15920
|
+
*/
|
|
15921
|
+
export interface StorefrontConfigUpsertBody {
|
|
15922
|
+
/**
|
|
15923
|
+
*
|
|
15924
|
+
* @type {string}
|
|
15925
|
+
* @memberof StorefrontConfigUpsertBody
|
|
15926
|
+
*/
|
|
15927
|
+
templateId: string;
|
|
15928
|
+
/**
|
|
15929
|
+
*
|
|
15930
|
+
* @type {object}
|
|
15931
|
+
* @memberof StorefrontConfigUpsertBody
|
|
15932
|
+
*/
|
|
15933
|
+
values: object;
|
|
15934
|
+
}
|
|
15935
|
+
/**
|
|
15936
|
+
*
|
|
15937
|
+
* @export
|
|
15938
|
+
* @interface StorefrontConfigUpsertDTO
|
|
15939
|
+
*/
|
|
15940
|
+
export interface StorefrontConfigUpsertDTO {
|
|
15941
|
+
/**
|
|
15942
|
+
*
|
|
15943
|
+
* @type {string}
|
|
15944
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
15945
|
+
*/
|
|
15946
|
+
templateId: string;
|
|
15947
|
+
/**
|
|
15948
|
+
*
|
|
15949
|
+
* @type {object}
|
|
15950
|
+
* @memberof StorefrontConfigUpsertDTO
|
|
15951
|
+
*/
|
|
15952
|
+
values: object;
|
|
15953
|
+
}
|
|
15954
|
+
/**
|
|
15955
|
+
*
|
|
15956
|
+
* @export
|
|
15957
|
+
* @interface StorefrontTemplateDTO
|
|
15958
|
+
*/
|
|
15959
|
+
export interface StorefrontTemplateDTO {
|
|
15960
|
+
/**
|
|
15961
|
+
*
|
|
15962
|
+
* @type {string}
|
|
15963
|
+
* @memberof StorefrontTemplateDTO
|
|
15964
|
+
*/
|
|
15965
|
+
id: string;
|
|
15966
|
+
/**
|
|
15967
|
+
*
|
|
15968
|
+
* @type {string}
|
|
15969
|
+
* @memberof StorefrontTemplateDTO
|
|
15970
|
+
*/
|
|
15971
|
+
name: string;
|
|
15972
|
+
/**
|
|
15973
|
+
*
|
|
15974
|
+
* @type {object}
|
|
15975
|
+
* @memberof StorefrontTemplateDTO
|
|
15976
|
+
*/
|
|
15977
|
+
schema: object;
|
|
15978
|
+
}
|
|
15979
|
+
/**
|
|
15980
|
+
*
|
|
15981
|
+
* @export
|
|
15982
|
+
* @interface StorefrontTemplateOutputArrayDTOAPI
|
|
15983
|
+
*/
|
|
15984
|
+
export interface StorefrontTemplateOutputArrayDTOAPI {
|
|
15985
|
+
/**
|
|
15986
|
+
*
|
|
15987
|
+
* @type {Array<StorefrontTemplateDTO>}
|
|
15988
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
15989
|
+
*/
|
|
15990
|
+
data: Array<StorefrontTemplateDTO>;
|
|
15991
|
+
/**
|
|
15992
|
+
*
|
|
15993
|
+
* @type {MetadataOutput}
|
|
15994
|
+
* @memberof StorefrontTemplateOutputArrayDTOAPI
|
|
15995
|
+
*/
|
|
15996
|
+
meta: MetadataOutput;
|
|
15997
|
+
}
|
|
15105
15998
|
/**
|
|
15106
15999
|
*
|
|
15107
16000
|
* @export
|
|
@@ -16712,6 +17605,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16712
17605
|
*/
|
|
16713
17606
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16714
17607
|
}
|
|
17608
|
+
/**
|
|
17609
|
+
*
|
|
17610
|
+
* @export
|
|
17611
|
+
* @interface UserCountOutputDTO
|
|
17612
|
+
*/
|
|
17613
|
+
export interface UserCountOutputDTO {
|
|
17614
|
+
/**
|
|
17615
|
+
*
|
|
17616
|
+
* @type {number}
|
|
17617
|
+
* @memberof UserCountOutputDTO
|
|
17618
|
+
*/
|
|
17619
|
+
count: number;
|
|
17620
|
+
}
|
|
17621
|
+
/**
|
|
17622
|
+
*
|
|
17623
|
+
* @export
|
|
17624
|
+
* @interface UserCountOutputDTOAPI
|
|
17625
|
+
*/
|
|
17626
|
+
export interface UserCountOutputDTOAPI {
|
|
17627
|
+
/**
|
|
17628
|
+
*
|
|
17629
|
+
* @type {UserCountOutputDTO}
|
|
17630
|
+
* @memberof UserCountOutputDTOAPI
|
|
17631
|
+
*/
|
|
17632
|
+
data: UserCountOutputDTO;
|
|
17633
|
+
/**
|
|
17634
|
+
*
|
|
17635
|
+
* @type {MetadataOutput}
|
|
17636
|
+
* @memberof UserCountOutputDTOAPI
|
|
17637
|
+
*/
|
|
17638
|
+
meta: MetadataOutput;
|
|
17639
|
+
}
|
|
16715
17640
|
/**
|
|
16716
17641
|
*
|
|
16717
17642
|
* @export
|
|
@@ -16859,6 +17784,12 @@ export interface UserOutputDTO {
|
|
|
16859
17784
|
* @memberof UserOutputDTO
|
|
16860
17785
|
*/
|
|
16861
17786
|
isDashboardUser: boolean;
|
|
17787
|
+
/**
|
|
17788
|
+
*
|
|
17789
|
+
* @type {boolean}
|
|
17790
|
+
* @memberof UserOutputDTO
|
|
17791
|
+
*/
|
|
17792
|
+
isSupportAccount: boolean;
|
|
16862
17793
|
/**
|
|
16863
17794
|
*
|
|
16864
17795
|
* @type {string}
|
|
@@ -16877,6 +17808,12 @@ export interface UserOutputDTO {
|
|
|
16877
17808
|
* @memberof UserOutputDTO
|
|
16878
17809
|
*/
|
|
16879
17810
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17811
|
+
/**
|
|
17812
|
+
*
|
|
17813
|
+
* @type {string}
|
|
17814
|
+
* @memberof UserOutputDTO
|
|
17815
|
+
*/
|
|
17816
|
+
inviteLinkId?: string;
|
|
16880
17817
|
}
|
|
16881
17818
|
/**
|
|
16882
17819
|
*
|
|
@@ -16975,6 +17912,37 @@ export interface UserOutputWithRolesDTO {
|
|
|
16975
17912
|
* @memberof UserOutputWithRolesDTO
|
|
16976
17913
|
*/
|
|
16977
17914
|
isDashboardUser: boolean;
|
|
17915
|
+
/**
|
|
17916
|
+
*
|
|
17917
|
+
* @type {boolean}
|
|
17918
|
+
* @memberof UserOutputWithRolesDTO
|
|
17919
|
+
*/
|
|
17920
|
+
isSupportAccount: boolean;
|
|
17921
|
+
/**
|
|
17922
|
+
*
|
|
17923
|
+
* @type {string}
|
|
17924
|
+
* @memberof UserOutputWithRolesDTO
|
|
17925
|
+
*/
|
|
17926
|
+
inviteLinkId?: string;
|
|
17927
|
+
}
|
|
17928
|
+
/**
|
|
17929
|
+
*
|
|
17930
|
+
* @export
|
|
17931
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17932
|
+
*/
|
|
17933
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17934
|
+
/**
|
|
17935
|
+
*
|
|
17936
|
+
* @type {UserOutputWithRolesDTO}
|
|
17937
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17938
|
+
*/
|
|
17939
|
+
data: UserOutputWithRolesDTO;
|
|
17940
|
+
/**
|
|
17941
|
+
*
|
|
17942
|
+
* @type {MetadataOutput}
|
|
17943
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17944
|
+
*/
|
|
17945
|
+
meta: MetadataOutput;
|
|
16978
17946
|
}
|
|
16979
17947
|
/**
|
|
16980
17948
|
*
|
|
@@ -17703,23 +18671,191 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17703
18671
|
};
|
|
17704
18672
|
},
|
|
17705
18673
|
/**
|
|
17706
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCountryDetections`
|
|
17707
|
-
* @summary Get player IP detections by country
|
|
18674
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCountryDetections`
|
|
18675
|
+
* @summary Get player IP detections by country
|
|
18676
|
+
* @param {string} [startDate]
|
|
18677
|
+
* @param {string} [endDate]
|
|
18678
|
+
* @param {string} [gameServerId]
|
|
18679
|
+
* @param {AnalyticsControllerGetCountryDetectionsPeriodEnum} [period]
|
|
18680
|
+
* @param {*} [options] Override http request option.
|
|
18681
|
+
* @throws {RequiredError}
|
|
18682
|
+
*/
|
|
18683
|
+
analyticsControllerGetCountryDetections: async (
|
|
18684
|
+
startDate?: string,
|
|
18685
|
+
endDate?: string,
|
|
18686
|
+
gameServerId?: string,
|
|
18687
|
+
period?: AnalyticsControllerGetCountryDetectionsPeriodEnum,
|
|
18688
|
+
options: RawAxiosRequestConfig = {},
|
|
18689
|
+
): Promise<RequestArgs> => {
|
|
18690
|
+
const localVarPath = `/analytics/players/country-detections`;
|
|
18691
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18692
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18693
|
+
let baseOptions;
|
|
18694
|
+
if (configuration) {
|
|
18695
|
+
baseOptions = configuration.baseOptions;
|
|
18696
|
+
}
|
|
18697
|
+
|
|
18698
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18699
|
+
const localVarHeaderParameter = {} as any;
|
|
18700
|
+
const localVarQueryParameter = {} as any;
|
|
18701
|
+
|
|
18702
|
+
// authentication domainAuth required
|
|
18703
|
+
|
|
18704
|
+
if (startDate !== undefined) {
|
|
18705
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18706
|
+
}
|
|
18707
|
+
|
|
18708
|
+
if (endDate !== undefined) {
|
|
18709
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18710
|
+
}
|
|
18711
|
+
|
|
18712
|
+
if (gameServerId !== undefined) {
|
|
18713
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18714
|
+
}
|
|
18715
|
+
|
|
18716
|
+
if (period !== undefined) {
|
|
18717
|
+
localVarQueryParameter['period'] = period;
|
|
18718
|
+
}
|
|
18719
|
+
|
|
18720
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18721
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18722
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18723
|
+
|
|
18724
|
+
return {
|
|
18725
|
+
url: toPathString(localVarUrlObj),
|
|
18726
|
+
options: localVarRequestOptions,
|
|
18727
|
+
};
|
|
18728
|
+
},
|
|
18729
|
+
/**
|
|
18730
|
+
* Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
|
|
18731
|
+
* @summary Get currency flow timeseries
|
|
18732
|
+
* @param {string} [startDate]
|
|
18733
|
+
* @param {string} [endDate]
|
|
18734
|
+
* @param {string} [gameServerId]
|
|
18735
|
+
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18736
|
+
* @param {*} [options] Override http request option.
|
|
18737
|
+
* @throws {RequiredError}
|
|
18738
|
+
*/
|
|
18739
|
+
analyticsControllerGetCurrencyFlow: async (
|
|
18740
|
+
startDate?: string,
|
|
18741
|
+
endDate?: string,
|
|
18742
|
+
gameServerId?: string,
|
|
18743
|
+
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
18744
|
+
options: RawAxiosRequestConfig = {},
|
|
18745
|
+
): Promise<RequestArgs> => {
|
|
18746
|
+
const localVarPath = `/analytics/players/currency-flow`;
|
|
18747
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18748
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18749
|
+
let baseOptions;
|
|
18750
|
+
if (configuration) {
|
|
18751
|
+
baseOptions = configuration.baseOptions;
|
|
18752
|
+
}
|
|
18753
|
+
|
|
18754
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18755
|
+
const localVarHeaderParameter = {} as any;
|
|
18756
|
+
const localVarQueryParameter = {} as any;
|
|
18757
|
+
|
|
18758
|
+
// authentication domainAuth required
|
|
18759
|
+
|
|
18760
|
+
if (startDate !== undefined) {
|
|
18761
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18762
|
+
}
|
|
18763
|
+
|
|
18764
|
+
if (endDate !== undefined) {
|
|
18765
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18766
|
+
}
|
|
18767
|
+
|
|
18768
|
+
if (gameServerId !== undefined) {
|
|
18769
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18770
|
+
}
|
|
18771
|
+
|
|
18772
|
+
if (period !== undefined) {
|
|
18773
|
+
localVarQueryParameter['period'] = period;
|
|
18774
|
+
}
|
|
18775
|
+
|
|
18776
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18778
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18779
|
+
|
|
18780
|
+
return {
|
|
18781
|
+
url: toPathString(localVarUrlObj),
|
|
18782
|
+
options: localVarRequestOptions,
|
|
18783
|
+
};
|
|
18784
|
+
},
|
|
18785
|
+
/**
|
|
18786
|
+
* Aggregate currency values from player-sync-snapshot events, bucketed by time. gameServerId is optional. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyTimeseries`
|
|
18787
|
+
* @summary Get currency in circulation timeseries
|
|
18788
|
+
* @param {string} [startDate]
|
|
18789
|
+
* @param {string} [endDate]
|
|
18790
|
+
* @param {string} [gameServerId]
|
|
18791
|
+
* @param {AnalyticsControllerGetCurrencyTimeseriesPeriodEnum} [period]
|
|
18792
|
+
* @param {*} [options] Override http request option.
|
|
18793
|
+
* @throws {RequiredError}
|
|
18794
|
+
*/
|
|
18795
|
+
analyticsControllerGetCurrencyTimeseries: async (
|
|
18796
|
+
startDate?: string,
|
|
18797
|
+
endDate?: string,
|
|
18798
|
+
gameServerId?: string,
|
|
18799
|
+
period?: AnalyticsControllerGetCurrencyTimeseriesPeriodEnum,
|
|
18800
|
+
options: RawAxiosRequestConfig = {},
|
|
18801
|
+
): Promise<RequestArgs> => {
|
|
18802
|
+
const localVarPath = `/analytics/gameserver/currency-timeseries`;
|
|
18803
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18804
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18805
|
+
let baseOptions;
|
|
18806
|
+
if (configuration) {
|
|
18807
|
+
baseOptions = configuration.baseOptions;
|
|
18808
|
+
}
|
|
18809
|
+
|
|
18810
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18811
|
+
const localVarHeaderParameter = {} as any;
|
|
18812
|
+
const localVarQueryParameter = {} as any;
|
|
18813
|
+
|
|
18814
|
+
// authentication domainAuth required
|
|
18815
|
+
|
|
18816
|
+
if (startDate !== undefined) {
|
|
18817
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18818
|
+
}
|
|
18819
|
+
|
|
18820
|
+
if (endDate !== undefined) {
|
|
18821
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18822
|
+
}
|
|
18823
|
+
|
|
18824
|
+
if (gameServerId !== undefined) {
|
|
18825
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18826
|
+
}
|
|
18827
|
+
|
|
18828
|
+
if (period !== undefined) {
|
|
18829
|
+
localVarQueryParameter['period'] = period;
|
|
18830
|
+
}
|
|
18831
|
+
|
|
18832
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18833
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18835
|
+
|
|
18836
|
+
return {
|
|
18837
|
+
url: toPathString(localVarUrlObj),
|
|
18838
|
+
options: localVarRequestOptions,
|
|
18839
|
+
};
|
|
18840
|
+
},
|
|
18841
|
+
/**
|
|
18842
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetDailyPlayerEvents`
|
|
18843
|
+
* @summary Get daily player event counts for calendar heatmap
|
|
17708
18844
|
* @param {string} [startDate]
|
|
17709
18845
|
* @param {string} [endDate]
|
|
17710
18846
|
* @param {string} [gameServerId]
|
|
17711
|
-
* @param {
|
|
18847
|
+
* @param {AnalyticsControllerGetDailyPlayerEventsPeriodEnum} [period]
|
|
17712
18848
|
* @param {*} [options] Override http request option.
|
|
17713
18849
|
* @throws {RequiredError}
|
|
17714
18850
|
*/
|
|
17715
|
-
|
|
18851
|
+
analyticsControllerGetDailyPlayerEvents: async (
|
|
17716
18852
|
startDate?: string,
|
|
17717
18853
|
endDate?: string,
|
|
17718
18854
|
gameServerId?: string,
|
|
17719
|
-
period?:
|
|
18855
|
+
period?: AnalyticsControllerGetDailyPlayerEventsPeriodEnum,
|
|
17720
18856
|
options: RawAxiosRequestConfig = {},
|
|
17721
18857
|
): Promise<RequestArgs> => {
|
|
17722
|
-
const localVarPath = `/analytics/players/
|
|
18858
|
+
const localVarPath = `/analytics/players/daily-events`;
|
|
17723
18859
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17724
18860
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17725
18861
|
let baseOptions;
|
|
@@ -17759,23 +18895,13 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17759
18895
|
};
|
|
17760
18896
|
},
|
|
17761
18897
|
/**
|
|
17762
|
-
*
|
|
17763
|
-
* @summary Get
|
|
17764
|
-
* @param {string} [startDate]
|
|
17765
|
-
* @param {string} [endDate]
|
|
17766
|
-
* @param {string} [gameServerId]
|
|
17767
|
-
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18898
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEntityCounts`
|
|
18899
|
+
* @summary Get entity counts (game servers, players, users)
|
|
17768
18900
|
* @param {*} [options] Override http request option.
|
|
17769
18901
|
* @throws {RequiredError}
|
|
17770
18902
|
*/
|
|
17771
|
-
|
|
17772
|
-
|
|
17773
|
-
endDate?: string,
|
|
17774
|
-
gameServerId?: string,
|
|
17775
|
-
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
17776
|
-
options: RawAxiosRequestConfig = {},
|
|
17777
|
-
): Promise<RequestArgs> => {
|
|
17778
|
-
const localVarPath = `/analytics/players/currency-flow`;
|
|
18903
|
+
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18904
|
+
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17779
18905
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17780
18906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17781
18907
|
let baseOptions;
|
|
@@ -17789,22 +18915,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17789
18915
|
|
|
17790
18916
|
// authentication domainAuth required
|
|
17791
18917
|
|
|
17792
|
-
if (startDate !== undefined) {
|
|
17793
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
17794
|
-
}
|
|
17795
|
-
|
|
17796
|
-
if (endDate !== undefined) {
|
|
17797
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
17798
|
-
}
|
|
17799
|
-
|
|
17800
|
-
if (gameServerId !== undefined) {
|
|
17801
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17802
|
-
}
|
|
17803
|
-
|
|
17804
|
-
if (period !== undefined) {
|
|
17805
|
-
localVarQueryParameter['period'] = period;
|
|
17806
|
-
}
|
|
17807
|
-
|
|
17808
18918
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17809
18919
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17810
18920
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -17815,23 +18925,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17815
18925
|
};
|
|
17816
18926
|
},
|
|
17817
18927
|
/**
|
|
17818
|
-
*
|
|
17819
|
-
* @summary Get
|
|
18928
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
18929
|
+
* @summary Get event volume time series
|
|
17820
18930
|
* @param {string} [startDate]
|
|
17821
18931
|
* @param {string} [endDate]
|
|
17822
18932
|
* @param {string} [gameServerId]
|
|
17823
|
-
* @param {
|
|
18933
|
+
* @param {AnalyticsControllerGetEventVolumePeriodEnum} [period]
|
|
17824
18934
|
* @param {*} [options] Override http request option.
|
|
17825
18935
|
* @throws {RequiredError}
|
|
17826
18936
|
*/
|
|
17827
|
-
|
|
18937
|
+
analyticsControllerGetEventVolume: async (
|
|
17828
18938
|
startDate?: string,
|
|
17829
18939
|
endDate?: string,
|
|
17830
18940
|
gameServerId?: string,
|
|
17831
|
-
period?:
|
|
18941
|
+
period?: AnalyticsControllerGetEventVolumePeriodEnum,
|
|
17832
18942
|
options: RawAxiosRequestConfig = {},
|
|
17833
18943
|
): Promise<RequestArgs> => {
|
|
17834
|
-
const localVarPath = `/analytics/
|
|
18944
|
+
const localVarPath = `/analytics/overview/event-volume`;
|
|
17835
18945
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17836
18946
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17837
18947
|
let baseOptions;
|
|
@@ -17871,23 +18981,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17871
18981
|
};
|
|
17872
18982
|
},
|
|
17873
18983
|
/**
|
|
17874
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `
|
|
17875
|
-
* @summary Get
|
|
18984
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetHourlyActivePlayers`
|
|
18985
|
+
* @summary Get hourly active players time series
|
|
17876
18986
|
* @param {string} [startDate]
|
|
17877
18987
|
* @param {string} [endDate]
|
|
17878
18988
|
* @param {string} [gameServerId]
|
|
17879
|
-
* @param {
|
|
18989
|
+
* @param {AnalyticsControllerGetHourlyActivePlayersPeriodEnum} [period]
|
|
17880
18990
|
* @param {*} [options] Override http request option.
|
|
17881
18991
|
* @throws {RequiredError}
|
|
17882
18992
|
*/
|
|
17883
|
-
|
|
18993
|
+
analyticsControllerGetHourlyActivePlayers: async (
|
|
17884
18994
|
startDate?: string,
|
|
17885
18995
|
endDate?: string,
|
|
17886
18996
|
gameServerId?: string,
|
|
17887
|
-
period?:
|
|
18997
|
+
period?: AnalyticsControllerGetHourlyActivePlayersPeriodEnum,
|
|
17888
18998
|
options: RawAxiosRequestConfig = {},
|
|
17889
18999
|
): Promise<RequestArgs> => {
|
|
17890
|
-
const localVarPath = `/analytics/players/
|
|
19000
|
+
const localVarPath = `/analytics/players/hourly-active`;
|
|
17891
19001
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17892
19002
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17893
19003
|
let baseOptions;
|
|
@@ -17927,53 +19037,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17927
19037
|
};
|
|
17928
19038
|
},
|
|
17929
19039
|
/**
|
|
17930
|
-
*
|
|
17931
|
-
* @summary Get
|
|
17932
|
-
* @param {*} [options] Override http request option.
|
|
17933
|
-
* @throws {RequiredError}
|
|
17934
|
-
*/
|
|
17935
|
-
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17936
|
-
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17937
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17938
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17939
|
-
let baseOptions;
|
|
17940
|
-
if (configuration) {
|
|
17941
|
-
baseOptions = configuration.baseOptions;
|
|
17942
|
-
}
|
|
17943
|
-
|
|
17944
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17945
|
-
const localVarHeaderParameter = {} as any;
|
|
17946
|
-
const localVarQueryParameter = {} as any;
|
|
17947
|
-
|
|
17948
|
-
// authentication domainAuth required
|
|
17949
|
-
|
|
17950
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17951
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17952
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17953
|
-
|
|
17954
|
-
return {
|
|
17955
|
-
url: toPathString(localVarUrlObj),
|
|
17956
|
-
options: localVarRequestOptions,
|
|
17957
|
-
};
|
|
17958
|
-
},
|
|
17959
|
-
/**
|
|
17960
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
17961
|
-
* @summary Get event volume time series
|
|
19040
|
+
* Returns orders + revenue bucketed to match the selected period. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetHourlyOrderVolume`
|
|
19041
|
+
* @summary Get shop order volume + revenue over time
|
|
17962
19042
|
* @param {string} [startDate]
|
|
17963
19043
|
* @param {string} [endDate]
|
|
17964
19044
|
* @param {string} [gameServerId]
|
|
17965
|
-
* @param {
|
|
19045
|
+
* @param {AnalyticsControllerGetHourlyOrderVolumePeriodEnum} [period]
|
|
17966
19046
|
* @param {*} [options] Override http request option.
|
|
17967
19047
|
* @throws {RequiredError}
|
|
17968
19048
|
*/
|
|
17969
|
-
|
|
19049
|
+
analyticsControllerGetHourlyOrderVolume: async (
|
|
17970
19050
|
startDate?: string,
|
|
17971
19051
|
endDate?: string,
|
|
17972
19052
|
gameServerId?: string,
|
|
17973
|
-
period?:
|
|
19053
|
+
period?: AnalyticsControllerGetHourlyOrderVolumePeriodEnum,
|
|
17974
19054
|
options: RawAxiosRequestConfig = {},
|
|
17975
19055
|
): Promise<RequestArgs> => {
|
|
17976
|
-
const localVarPath = `/analytics/
|
|
19056
|
+
const localVarPath = `/analytics/shop/hourly-orders`;
|
|
17977
19057
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17978
19058
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17979
19059
|
let baseOptions;
|
|
@@ -18013,23 +19093,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18013
19093
|
};
|
|
18014
19094
|
},
|
|
18015
19095
|
/**
|
|
18016
|
-
*
|
|
18017
|
-
* @summary Get
|
|
19096
|
+
* Daily counts of player-banned and player-unbanned events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModerationTimeseries`
|
|
19097
|
+
* @summary Get moderation timeseries
|
|
18018
19098
|
* @param {string} [startDate]
|
|
18019
19099
|
* @param {string} [endDate]
|
|
18020
19100
|
* @param {string} [gameServerId]
|
|
18021
|
-
* @param {
|
|
19101
|
+
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
18022
19102
|
* @param {*} [options] Override http request option.
|
|
18023
19103
|
* @throws {RequiredError}
|
|
18024
19104
|
*/
|
|
18025
|
-
|
|
19105
|
+
analyticsControllerGetModerationTimeseries: async (
|
|
18026
19106
|
startDate?: string,
|
|
18027
19107
|
endDate?: string,
|
|
18028
19108
|
gameServerId?: string,
|
|
18029
|
-
period?:
|
|
19109
|
+
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
18030
19110
|
options: RawAxiosRequestConfig = {},
|
|
18031
19111
|
): Promise<RequestArgs> => {
|
|
18032
|
-
const localVarPath = `/analytics/players/
|
|
19112
|
+
const localVarPath = `/analytics/players/moderation`;
|
|
18033
19113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18034
19114
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18035
19115
|
let baseOptions;
|
|
@@ -18069,23 +19149,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18069
19149
|
};
|
|
18070
19150
|
},
|
|
18071
19151
|
/**
|
|
18072
|
-
*
|
|
18073
|
-
* @summary Get
|
|
19152
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19153
|
+
* @summary Get module health scores
|
|
18074
19154
|
* @param {string} [startDate]
|
|
18075
19155
|
* @param {string} [endDate]
|
|
18076
19156
|
* @param {string} [gameServerId]
|
|
18077
|
-
* @param {
|
|
19157
|
+
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
18078
19158
|
* @param {*} [options] Override http request option.
|
|
18079
19159
|
* @throws {RequiredError}
|
|
18080
19160
|
*/
|
|
18081
|
-
|
|
19161
|
+
analyticsControllerGetModuleHealth: async (
|
|
18082
19162
|
startDate?: string,
|
|
18083
19163
|
endDate?: string,
|
|
18084
19164
|
gameServerId?: string,
|
|
18085
|
-
period?:
|
|
19165
|
+
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
18086
19166
|
options: RawAxiosRequestConfig = {},
|
|
18087
19167
|
): Promise<RequestArgs> => {
|
|
18088
|
-
const localVarPath = `/analytics/
|
|
19168
|
+
const localVarPath = `/analytics/modules/health`;
|
|
18089
19169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18090
19170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18091
19171
|
let baseOptions;
|
|
@@ -18125,23 +19205,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18125
19205
|
};
|
|
18126
19206
|
},
|
|
18127
19207
|
/**
|
|
18128
|
-
*
|
|
18129
|
-
* @summary Get
|
|
19208
|
+
* 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`
|
|
19209
|
+
* @summary Get per-installation module KPIs
|
|
19210
|
+
* @param {string} gameServerId
|
|
19211
|
+
* @param {string} moduleId
|
|
18130
19212
|
* @param {string} [startDate]
|
|
18131
19213
|
* @param {string} [endDate]
|
|
18132
|
-
* @param {
|
|
18133
|
-
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
19214
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
18134
19215
|
* @param {*} [options] Override http request option.
|
|
18135
19216
|
* @throws {RequiredError}
|
|
18136
19217
|
*/
|
|
18137
|
-
|
|
19218
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19219
|
+
gameServerId: string,
|
|
19220
|
+
moduleId: string,
|
|
18138
19221
|
startDate?: string,
|
|
18139
19222
|
endDate?: string,
|
|
18140
|
-
|
|
18141
|
-
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
19223
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
18142
19224
|
options: RawAxiosRequestConfig = {},
|
|
18143
19225
|
): Promise<RequestArgs> => {
|
|
18144
|
-
|
|
19226
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19227
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19228
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19229
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19230
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
18145
19231
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18146
19232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18147
19233
|
let baseOptions;
|
|
@@ -18167,60 +19253,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18167
19253
|
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18168
19254
|
}
|
|
18169
19255
|
|
|
18170
|
-
if (
|
|
18171
|
-
localVarQueryParameter['
|
|
18172
|
-
}
|
|
18173
|
-
|
|
18174
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18175
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18176
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18177
|
-
|
|
18178
|
-
return {
|
|
18179
|
-
url: toPathString(localVarUrlObj),
|
|
18180
|
-
options: localVarRequestOptions,
|
|
18181
|
-
};
|
|
18182
|
-
},
|
|
18183
|
-
/**
|
|
18184
|
-
* Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
18185
|
-
* @summary Get module health scores
|
|
18186
|
-
* @param {string} [startDate]
|
|
18187
|
-
* @param {string} [endDate]
|
|
18188
|
-
* @param {string} [gameServerId]
|
|
18189
|
-
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
18190
|
-
* @param {*} [options] Override http request option.
|
|
18191
|
-
* @throws {RequiredError}
|
|
18192
|
-
*/
|
|
18193
|
-
analyticsControllerGetModuleHealth: async (
|
|
18194
|
-
startDate?: string,
|
|
18195
|
-
endDate?: string,
|
|
18196
|
-
gameServerId?: string,
|
|
18197
|
-
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
18198
|
-
options: RawAxiosRequestConfig = {},
|
|
18199
|
-
): Promise<RequestArgs> => {
|
|
18200
|
-
const localVarPath = `/analytics/modules/health`;
|
|
18201
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18202
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18203
|
-
let baseOptions;
|
|
18204
|
-
if (configuration) {
|
|
18205
|
-
baseOptions = configuration.baseOptions;
|
|
18206
|
-
}
|
|
18207
|
-
|
|
18208
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18209
|
-
const localVarHeaderParameter = {} as any;
|
|
18210
|
-
const localVarQueryParameter = {} as any;
|
|
18211
|
-
|
|
18212
|
-
// authentication domainAuth required
|
|
18213
|
-
|
|
18214
|
-
if (startDate !== undefined) {
|
|
18215
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
18216
|
-
}
|
|
18217
|
-
|
|
18218
|
-
if (endDate !== undefined) {
|
|
18219
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
18220
|
-
}
|
|
18221
|
-
|
|
18222
|
-
if (gameServerId !== undefined) {
|
|
18223
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19256
|
+
if (moduleId !== undefined) {
|
|
19257
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
18224
19258
|
}
|
|
18225
19259
|
|
|
18226
19260
|
if (period !== undefined) {
|
|
@@ -19302,7 +20336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19302
20336
|
},
|
|
19303
20337
|
/**
|
|
19304
20338
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
19305
|
-
* @summary Get top modules by
|
|
20339
|
+
* @summary Get top modules by execution volume
|
|
19306
20340
|
* @param {string} [startDate]
|
|
19307
20341
|
* @param {string} [endDate]
|
|
19308
20342
|
* @param {string} [gameServerId]
|
|
@@ -19836,7 +20870,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19836
20870
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19837
20871
|
},
|
|
19838
20872
|
/**
|
|
19839
|
-
* Normalized 0-1 scores across
|
|
20873
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19840
20874
|
* @summary Get module health scores
|
|
19841
20875
|
* @param {string} [startDate]
|
|
19842
20876
|
* @param {string} [endDate]
|
|
@@ -19870,6 +20904,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19870
20904
|
configuration,
|
|
19871
20905
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19872
20906
|
},
|
|
20907
|
+
/**
|
|
20908
|
+
* 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`
|
|
20909
|
+
* @summary Get per-installation module KPIs
|
|
20910
|
+
* @param {string} gameServerId
|
|
20911
|
+
* @param {string} moduleId
|
|
20912
|
+
* @param {string} [startDate]
|
|
20913
|
+
* @param {string} [endDate]
|
|
20914
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20915
|
+
* @param {*} [options] Override http request option.
|
|
20916
|
+
* @throws {RequiredError}
|
|
20917
|
+
*/
|
|
20918
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20919
|
+
gameServerId: string,
|
|
20920
|
+
moduleId: string,
|
|
20921
|
+
startDate?: string,
|
|
20922
|
+
endDate?: string,
|
|
20923
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20924
|
+
options?: RawAxiosRequestConfig,
|
|
20925
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20927
|
+
gameServerId,
|
|
20928
|
+
moduleId,
|
|
20929
|
+
startDate,
|
|
20930
|
+
endDate,
|
|
20931
|
+
period,
|
|
20932
|
+
options,
|
|
20933
|
+
);
|
|
20934
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20935
|
+
const localVarOperationServerBasePath =
|
|
20936
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20937
|
+
?.url;
|
|
20938
|
+
return (axios, basePath) =>
|
|
20939
|
+
createRequestFunction(
|
|
20940
|
+
localVarAxiosArgs,
|
|
20941
|
+
globalAxios,
|
|
20942
|
+
BASE_PATH,
|
|
20943
|
+
configuration,
|
|
20944
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20945
|
+
},
|
|
19873
20946
|
/**
|
|
19874
20947
|
* 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
20948
|
* @summary Get module item failure aggregate
|
|
@@ -20549,7 +21622,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20549
21622
|
},
|
|
20550
21623
|
/**
|
|
20551
21624
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20552
|
-
* @summary Get top modules by
|
|
21625
|
+
* @summary Get top modules by execution volume
|
|
20553
21626
|
* @param {string} [startDate]
|
|
20554
21627
|
* @param {string} [endDate]
|
|
20555
21628
|
* @param {string} [gameServerId]
|
|
@@ -20871,7 +21944,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20871
21944
|
.then((request) => request(axios, basePath));
|
|
20872
21945
|
},
|
|
20873
21946
|
/**
|
|
20874
|
-
* Normalized 0-1 scores across
|
|
21947
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20875
21948
|
* @summary Get module health scores
|
|
20876
21949
|
* @param {string} [startDate]
|
|
20877
21950
|
* @param {string} [endDate]
|
|
@@ -20891,6 +21964,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20891
21964
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20892
21965
|
.then((request) => request(axios, basePath));
|
|
20893
21966
|
},
|
|
21967
|
+
/**
|
|
21968
|
+
* 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`
|
|
21969
|
+
* @summary Get per-installation module KPIs
|
|
21970
|
+
* @param {string} gameServerId
|
|
21971
|
+
* @param {string} moduleId
|
|
21972
|
+
* @param {string} [startDate]
|
|
21973
|
+
* @param {string} [endDate]
|
|
21974
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21975
|
+
* @param {*} [options] Override http request option.
|
|
21976
|
+
* @throws {RequiredError}
|
|
21977
|
+
*/
|
|
21978
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
21979
|
+
gameServerId: string,
|
|
21980
|
+
moduleId: string,
|
|
21981
|
+
startDate?: string,
|
|
21982
|
+
endDate?: string,
|
|
21983
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21984
|
+
options?: RawAxiosRequestConfig,
|
|
21985
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
21986
|
+
return localVarFp
|
|
21987
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
21988
|
+
.then((request) => request(axios, basePath));
|
|
21989
|
+
},
|
|
20894
21990
|
/**
|
|
20895
21991
|
* 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
21992
|
* @summary Get module item failure aggregate
|
|
@@ -21292,7 +22388,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21292
22388
|
},
|
|
21293
22389
|
/**
|
|
21294
22390
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21295
|
-
* @summary Get top modules by
|
|
22391
|
+
* @summary Get top modules by execution volume
|
|
21296
22392
|
* @param {string} [startDate]
|
|
21297
22393
|
* @param {string} [endDate]
|
|
21298
22394
|
* @param {string} [gameServerId]
|
|
@@ -21611,7 +22707,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21611
22707
|
}
|
|
21612
22708
|
|
|
21613
22709
|
/**
|
|
21614
|
-
* Normalized 0-1 scores across
|
|
22710
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21615
22711
|
* @summary Get module health scores
|
|
21616
22712
|
* @param {string} [startDate]
|
|
21617
22713
|
* @param {string} [endDate]
|
|
@@ -21633,6 +22729,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21633
22729
|
.then((request) => request(this.axios, this.basePath));
|
|
21634
22730
|
}
|
|
21635
22731
|
|
|
22732
|
+
/**
|
|
22733
|
+
* 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`
|
|
22734
|
+
* @summary Get per-installation module KPIs
|
|
22735
|
+
* @param {string} gameServerId
|
|
22736
|
+
* @param {string} moduleId
|
|
22737
|
+
* @param {string} [startDate]
|
|
22738
|
+
* @param {string} [endDate]
|
|
22739
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22740
|
+
* @param {*} [options] Override http request option.
|
|
22741
|
+
* @throws {RequiredError}
|
|
22742
|
+
* @memberof AnalyticsApi
|
|
22743
|
+
*/
|
|
22744
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22745
|
+
gameServerId: string,
|
|
22746
|
+
moduleId: string,
|
|
22747
|
+
startDate?: string,
|
|
22748
|
+
endDate?: string,
|
|
22749
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22750
|
+
options?: RawAxiosRequestConfig,
|
|
22751
|
+
) {
|
|
22752
|
+
return AnalyticsApiFp(this.configuration)
|
|
22753
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22754
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22755
|
+
}
|
|
22756
|
+
|
|
21636
22757
|
/**
|
|
21637
22758
|
* 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
22759
|
* @summary Get module item failure aggregate
|
|
@@ -22072,7 +23193,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22072
23193
|
|
|
22073
23194
|
/**
|
|
22074
23195
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22075
|
-
* @summary Get top modules by
|
|
23196
|
+
* @summary Get top modules by execution volume
|
|
22076
23197
|
* @param {string} [startDate]
|
|
22077
23198
|
* @param {string} [endDate]
|
|
22078
23199
|
* @param {string} [gameServerId]
|
|
@@ -22252,6 +23373,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
22252
23373
|
/**
|
|
22253
23374
|
* @export
|
|
22254
23375
|
*/
|
|
23376
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23377
|
+
_24h: '24h',
|
|
23378
|
+
_7d: '7d',
|
|
23379
|
+
_30d: '30d',
|
|
23380
|
+
_90d: '90d',
|
|
23381
|
+
} as const;
|
|
23382
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23383
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23384
|
+
/**
|
|
23385
|
+
* @export
|
|
23386
|
+
*/
|
|
22255
23387
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
22256
23388
|
_24h: '24h',
|
|
22257
23389
|
_7d: '7d',
|
|
@@ -22481,6 +23613,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22481
23613
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22482
23614
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22483
23615
|
|
|
23616
|
+
/**
|
|
23617
|
+
* AuthApi - axios parameter creator
|
|
23618
|
+
* @export
|
|
23619
|
+
*/
|
|
23620
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23621
|
+
return {
|
|
23622
|
+
/**
|
|
23623
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23624
|
+
* @summary Account
|
|
23625
|
+
* @param {*} [options] Override http request option.
|
|
23626
|
+
* @throws {RequiredError}
|
|
23627
|
+
*/
|
|
23628
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23629
|
+
const localVarPath = `/auth/account`;
|
|
23630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23632
|
+
let baseOptions;
|
|
23633
|
+
if (configuration) {
|
|
23634
|
+
baseOptions = configuration.baseOptions;
|
|
23635
|
+
}
|
|
23636
|
+
|
|
23637
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23638
|
+
const localVarHeaderParameter = {} as any;
|
|
23639
|
+
const localVarQueryParameter = {} as any;
|
|
23640
|
+
|
|
23641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23643
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23644
|
+
|
|
23645
|
+
return {
|
|
23646
|
+
url: toPathString(localVarUrlObj),
|
|
23647
|
+
options: localVarRequestOptions,
|
|
23648
|
+
};
|
|
23649
|
+
},
|
|
23650
|
+
/**
|
|
23651
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23652
|
+
* @summary Callback
|
|
23653
|
+
* @param {*} [options] Override http request option.
|
|
23654
|
+
* @throws {RequiredError}
|
|
23655
|
+
*/
|
|
23656
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23657
|
+
const localVarPath = `/auth/callback`;
|
|
23658
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23659
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23660
|
+
let baseOptions;
|
|
23661
|
+
if (configuration) {
|
|
23662
|
+
baseOptions = configuration.baseOptions;
|
|
23663
|
+
}
|
|
23664
|
+
|
|
23665
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23666
|
+
const localVarHeaderParameter = {} as any;
|
|
23667
|
+
const localVarQueryParameter = {} as any;
|
|
23668
|
+
|
|
23669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23671
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23672
|
+
|
|
23673
|
+
return {
|
|
23674
|
+
url: toPathString(localVarUrlObj),
|
|
23675
|
+
options: localVarRequestOptions,
|
|
23676
|
+
};
|
|
23677
|
+
},
|
|
23678
|
+
/**
|
|
23679
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23680
|
+
* @summary Login
|
|
23681
|
+
* @param {string} [redirect]
|
|
23682
|
+
* @param {*} [options] Override http request option.
|
|
23683
|
+
* @throws {RequiredError}
|
|
23684
|
+
*/
|
|
23685
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23686
|
+
const localVarPath = `/auth/login`;
|
|
23687
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23688
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23689
|
+
let baseOptions;
|
|
23690
|
+
if (configuration) {
|
|
23691
|
+
baseOptions = configuration.baseOptions;
|
|
23692
|
+
}
|
|
23693
|
+
|
|
23694
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23695
|
+
const localVarHeaderParameter = {} as any;
|
|
23696
|
+
const localVarQueryParameter = {} as any;
|
|
23697
|
+
|
|
23698
|
+
if (redirect !== undefined) {
|
|
23699
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23700
|
+
}
|
|
23701
|
+
|
|
23702
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23704
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23705
|
+
|
|
23706
|
+
return {
|
|
23707
|
+
url: toPathString(localVarUrlObj),
|
|
23708
|
+
options: localVarRequestOptions,
|
|
23709
|
+
};
|
|
23710
|
+
},
|
|
23711
|
+
/**
|
|
23712
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23713
|
+
* @summary Logout
|
|
23714
|
+
* @param {string} [redirect]
|
|
23715
|
+
* @param {*} [options] Override http request option.
|
|
23716
|
+
* @throws {RequiredError}
|
|
23717
|
+
*/
|
|
23718
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23719
|
+
const localVarPath = `/auth/logout`;
|
|
23720
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23721
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23722
|
+
let baseOptions;
|
|
23723
|
+
if (configuration) {
|
|
23724
|
+
baseOptions = configuration.baseOptions;
|
|
23725
|
+
}
|
|
23726
|
+
|
|
23727
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23728
|
+
const localVarHeaderParameter = {} as any;
|
|
23729
|
+
const localVarQueryParameter = {} as any;
|
|
23730
|
+
|
|
23731
|
+
if (redirect !== undefined) {
|
|
23732
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23733
|
+
}
|
|
23734
|
+
|
|
23735
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23736
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23737
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23738
|
+
|
|
23739
|
+
return {
|
|
23740
|
+
url: toPathString(localVarUrlObj),
|
|
23741
|
+
options: localVarRequestOptions,
|
|
23742
|
+
};
|
|
23743
|
+
},
|
|
23744
|
+
};
|
|
23745
|
+
};
|
|
23746
|
+
|
|
23747
|
+
/**
|
|
23748
|
+
* AuthApi - functional programming interface
|
|
23749
|
+
* @export
|
|
23750
|
+
*/
|
|
23751
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23752
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23753
|
+
return {
|
|
23754
|
+
/**
|
|
23755
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23756
|
+
* @summary Account
|
|
23757
|
+
* @param {*} [options] Override http request option.
|
|
23758
|
+
* @throws {RequiredError}
|
|
23759
|
+
*/
|
|
23760
|
+
async authControllerAccount(
|
|
23761
|
+
options?: RawAxiosRequestConfig,
|
|
23762
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23763
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23764
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23765
|
+
const localVarOperationServerBasePath =
|
|
23766
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23767
|
+
return (axios, basePath) =>
|
|
23768
|
+
createRequestFunction(
|
|
23769
|
+
localVarAxiosArgs,
|
|
23770
|
+
globalAxios,
|
|
23771
|
+
BASE_PATH,
|
|
23772
|
+
configuration,
|
|
23773
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23774
|
+
},
|
|
23775
|
+
/**
|
|
23776
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23777
|
+
* @summary Callback
|
|
23778
|
+
* @param {*} [options] Override http request option.
|
|
23779
|
+
* @throws {RequiredError}
|
|
23780
|
+
*/
|
|
23781
|
+
async authControllerCallback(
|
|
23782
|
+
options?: RawAxiosRequestConfig,
|
|
23783
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23785
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23786
|
+
const localVarOperationServerBasePath =
|
|
23787
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23788
|
+
return (axios, basePath) =>
|
|
23789
|
+
createRequestFunction(
|
|
23790
|
+
localVarAxiosArgs,
|
|
23791
|
+
globalAxios,
|
|
23792
|
+
BASE_PATH,
|
|
23793
|
+
configuration,
|
|
23794
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23795
|
+
},
|
|
23796
|
+
/**
|
|
23797
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23798
|
+
* @summary Login
|
|
23799
|
+
* @param {string} [redirect]
|
|
23800
|
+
* @param {*} [options] Override http request option.
|
|
23801
|
+
* @throws {RequiredError}
|
|
23802
|
+
*/
|
|
23803
|
+
async authControllerLogin(
|
|
23804
|
+
redirect?: string,
|
|
23805
|
+
options?: RawAxiosRequestConfig,
|
|
23806
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23808
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23809
|
+
const localVarOperationServerBasePath =
|
|
23810
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23811
|
+
return (axios, basePath) =>
|
|
23812
|
+
createRequestFunction(
|
|
23813
|
+
localVarAxiosArgs,
|
|
23814
|
+
globalAxios,
|
|
23815
|
+
BASE_PATH,
|
|
23816
|
+
configuration,
|
|
23817
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23818
|
+
},
|
|
23819
|
+
/**
|
|
23820
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23821
|
+
* @summary Logout
|
|
23822
|
+
* @param {string} [redirect]
|
|
23823
|
+
* @param {*} [options] Override http request option.
|
|
23824
|
+
* @throws {RequiredError}
|
|
23825
|
+
*/
|
|
23826
|
+
async authControllerLogout(
|
|
23827
|
+
redirect?: string,
|
|
23828
|
+
options?: RawAxiosRequestConfig,
|
|
23829
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23830
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23831
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23832
|
+
const localVarOperationServerBasePath =
|
|
23833
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23834
|
+
return (axios, basePath) =>
|
|
23835
|
+
createRequestFunction(
|
|
23836
|
+
localVarAxiosArgs,
|
|
23837
|
+
globalAxios,
|
|
23838
|
+
BASE_PATH,
|
|
23839
|
+
configuration,
|
|
23840
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23841
|
+
},
|
|
23842
|
+
};
|
|
23843
|
+
};
|
|
23844
|
+
|
|
23845
|
+
/**
|
|
23846
|
+
* AuthApi - factory interface
|
|
23847
|
+
* @export
|
|
23848
|
+
*/
|
|
23849
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23850
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23851
|
+
return {
|
|
23852
|
+
/**
|
|
23853
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23854
|
+
* @summary Account
|
|
23855
|
+
* @param {*} [options] Override http request option.
|
|
23856
|
+
* @throws {RequiredError}
|
|
23857
|
+
*/
|
|
23858
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23859
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23860
|
+
},
|
|
23861
|
+
/**
|
|
23862
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23863
|
+
* @summary Callback
|
|
23864
|
+
* @param {*} [options] Override http request option.
|
|
23865
|
+
* @throws {RequiredError}
|
|
23866
|
+
*/
|
|
23867
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23868
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23869
|
+
},
|
|
23870
|
+
/**
|
|
23871
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23872
|
+
* @summary Login
|
|
23873
|
+
* @param {string} [redirect]
|
|
23874
|
+
* @param {*} [options] Override http request option.
|
|
23875
|
+
* @throws {RequiredError}
|
|
23876
|
+
*/
|
|
23877
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23878
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23879
|
+
},
|
|
23880
|
+
/**
|
|
23881
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23882
|
+
* @summary Logout
|
|
23883
|
+
* @param {string} [redirect]
|
|
23884
|
+
* @param {*} [options] Override http request option.
|
|
23885
|
+
* @throws {RequiredError}
|
|
23886
|
+
*/
|
|
23887
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23888
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23889
|
+
},
|
|
23890
|
+
};
|
|
23891
|
+
};
|
|
23892
|
+
|
|
23893
|
+
/**
|
|
23894
|
+
* AuthApi - object-oriented interface
|
|
23895
|
+
* @export
|
|
23896
|
+
* @class AuthApi
|
|
23897
|
+
* @extends {BaseAPI}
|
|
23898
|
+
*/
|
|
23899
|
+
export class AuthApi extends BaseAPI {
|
|
23900
|
+
/**
|
|
23901
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23902
|
+
* @summary Account
|
|
23903
|
+
* @param {*} [options] Override http request option.
|
|
23904
|
+
* @throws {RequiredError}
|
|
23905
|
+
* @memberof AuthApi
|
|
23906
|
+
*/
|
|
23907
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23908
|
+
return AuthApiFp(this.configuration)
|
|
23909
|
+
.authControllerAccount(options)
|
|
23910
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23911
|
+
}
|
|
23912
|
+
|
|
23913
|
+
/**
|
|
23914
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23915
|
+
* @summary Callback
|
|
23916
|
+
* @param {*} [options] Override http request option.
|
|
23917
|
+
* @throws {RequiredError}
|
|
23918
|
+
* @memberof AuthApi
|
|
23919
|
+
*/
|
|
23920
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23921
|
+
return AuthApiFp(this.configuration)
|
|
23922
|
+
.authControllerCallback(options)
|
|
23923
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23924
|
+
}
|
|
23925
|
+
|
|
23926
|
+
/**
|
|
23927
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23928
|
+
* @summary Login
|
|
23929
|
+
* @param {string} [redirect]
|
|
23930
|
+
* @param {*} [options] Override http request option.
|
|
23931
|
+
* @throws {RequiredError}
|
|
23932
|
+
* @memberof AuthApi
|
|
23933
|
+
*/
|
|
23934
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23935
|
+
return AuthApiFp(this.configuration)
|
|
23936
|
+
.authControllerLogin(redirect, options)
|
|
23937
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23938
|
+
}
|
|
23939
|
+
|
|
23940
|
+
/**
|
|
23941
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23942
|
+
* @summary Logout
|
|
23943
|
+
* @param {string} [redirect]
|
|
23944
|
+
* @param {*} [options] Override http request option.
|
|
23945
|
+
* @throws {RequiredError}
|
|
23946
|
+
* @memberof AuthApi
|
|
23947
|
+
*/
|
|
23948
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23949
|
+
return AuthApiFp(this.configuration)
|
|
23950
|
+
.authControllerLogout(redirect, options)
|
|
23951
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23952
|
+
}
|
|
23953
|
+
}
|
|
23954
|
+
|
|
22484
23955
|
/**
|
|
22485
23956
|
* CommandApi - axios parameter creator
|
|
22486
23957
|
* @export
|
|
@@ -38023,7 +39494,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38023
39494
|
*/
|
|
38024
39495
|
async shopListingControllerImportListings(
|
|
38025
39496
|
options?: RawAxiosRequestConfig,
|
|
38026
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39497
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38027
39498
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38028
39499
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38029
39500
|
const localVarOperationServerBasePath =
|
|
@@ -38146,7 +39617,7 @@ export const ShopListingApiFactory = function (
|
|
|
38146
39617
|
* @param {*} [options] Override http request option.
|
|
38147
39618
|
* @throws {RequiredError}
|
|
38148
39619
|
*/
|
|
38149
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39620
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38150
39621
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38151
39622
|
},
|
|
38152
39623
|
/**
|
|
@@ -38426,17 +39897,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38426
39897
|
};
|
|
38427
39898
|
},
|
|
38428
39899
|
/**
|
|
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
|
|
39900
|
+
* 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`
|
|
39901
|
+
* @summary Search orders
|
|
39902
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
39903
|
+
* @param {*} [options] Override http request option.
|
|
39904
|
+
* @throws {RequiredError}
|
|
39905
|
+
*/
|
|
39906
|
+
shopOrderControllerSearch: async (
|
|
39907
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
39908
|
+
options: RawAxiosRequestConfig = {},
|
|
39909
|
+
): Promise<RequestArgs> => {
|
|
39910
|
+
const localVarPath = `/shop/order/search`;
|
|
39911
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39912
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39913
|
+
let baseOptions;
|
|
39914
|
+
if (configuration) {
|
|
39915
|
+
baseOptions = configuration.baseOptions;
|
|
39916
|
+
}
|
|
39917
|
+
|
|
39918
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
39919
|
+
const localVarHeaderParameter = {} as any;
|
|
39920
|
+
const localVarQueryParameter = {} as any;
|
|
39921
|
+
|
|
39922
|
+
// authentication domainAuth required
|
|
39923
|
+
|
|
39924
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39925
|
+
|
|
39926
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39927
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39928
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
39929
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39930
|
+
shopOrderSearchInputDTO,
|
|
39931
|
+
localVarRequestOptions,
|
|
39932
|
+
configuration,
|
|
39933
|
+
);
|
|
39934
|
+
|
|
39935
|
+
return {
|
|
39936
|
+
url: toPathString(localVarUrlObj),
|
|
39937
|
+
options: localVarRequestOptions,
|
|
39938
|
+
};
|
|
39939
|
+
},
|
|
39940
|
+
};
|
|
39941
|
+
};
|
|
39942
|
+
|
|
39943
|
+
/**
|
|
39944
|
+
* ShopOrderApi - functional programming interface
|
|
39945
|
+
* @export
|
|
39946
|
+
*/
|
|
39947
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
39948
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
39949
|
+
return {
|
|
39950
|
+
/**
|
|
39951
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
39952
|
+
* @summary Cancel
|
|
39953
|
+
* @param {string} id
|
|
39954
|
+
* @param {*} [options] Override http request option.
|
|
39955
|
+
* @throws {RequiredError}
|
|
39956
|
+
*/
|
|
39957
|
+
async shopOrderControllerCancel(
|
|
39958
|
+
id: string,
|
|
39959
|
+
options?: RawAxiosRequestConfig,
|
|
39960
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
39962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39963
|
+
const localVarOperationServerBasePath =
|
|
39964
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
39965
|
+
return (axios, basePath) =>
|
|
39966
|
+
createRequestFunction(
|
|
39967
|
+
localVarAxiosArgs,
|
|
39968
|
+
globalAxios,
|
|
39969
|
+
BASE_PATH,
|
|
39970
|
+
configuration,
|
|
39971
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39972
|
+
},
|
|
39973
|
+
/**
|
|
39974
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39975
|
+
* @summary Claim an order
|
|
39976
|
+
* @param {string} id
|
|
39977
|
+
* @param {*} [options] Override http request option.
|
|
39978
|
+
* @throws {RequiredError}
|
|
39979
|
+
*/
|
|
39980
|
+
async shopOrderControllerClaim(
|
|
39981
|
+
id: string,
|
|
39982
|
+
options?: RawAxiosRequestConfig,
|
|
39983
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39984
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
39985
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39986
|
+
const localVarOperationServerBasePath =
|
|
39987
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
39988
|
+
return (axios, basePath) =>
|
|
39989
|
+
createRequestFunction(
|
|
39990
|
+
localVarAxiosArgs,
|
|
39991
|
+
globalAxios,
|
|
39992
|
+
BASE_PATH,
|
|
39993
|
+
configuration,
|
|
39994
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39995
|
+
},
|
|
39996
|
+
/**
|
|
39997
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
39998
|
+
* @summary Create
|
|
39999
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40000
|
+
* @param {*} [options] Override http request option.
|
|
40001
|
+
* @throws {RequiredError}
|
|
40002
|
+
*/
|
|
40003
|
+
async shopOrderControllerCreate(
|
|
40004
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40005
|
+
options?: RawAxiosRequestConfig,
|
|
40006
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40007
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
40008
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40009
|
+
const localVarOperationServerBasePath =
|
|
40010
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
40011
|
+
return (axios, basePath) =>
|
|
40012
|
+
createRequestFunction(
|
|
40013
|
+
localVarAxiosArgs,
|
|
40014
|
+
globalAxios,
|
|
40015
|
+
BASE_PATH,
|
|
40016
|
+
configuration,
|
|
40017
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40018
|
+
},
|
|
40019
|
+
/**
|
|
40020
|
+
* 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`
|
|
40021
|
+
* @summary Get order by ID
|
|
40022
|
+
* @param {string} id
|
|
40023
|
+
* @param {*} [options] Override http request option.
|
|
40024
|
+
* @throws {RequiredError}
|
|
40025
|
+
*/
|
|
40026
|
+
async shopOrderControllerGetOne(
|
|
40027
|
+
id: string,
|
|
40028
|
+
options?: RawAxiosRequestConfig,
|
|
40029
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
40030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
40031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40032
|
+
const localVarOperationServerBasePath =
|
|
40033
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
40034
|
+
return (axios, basePath) =>
|
|
40035
|
+
createRequestFunction(
|
|
40036
|
+
localVarAxiosArgs,
|
|
40037
|
+
globalAxios,
|
|
40038
|
+
BASE_PATH,
|
|
40039
|
+
configuration,
|
|
40040
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40041
|
+
},
|
|
40042
|
+
/**
|
|
40043
|
+
* 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`
|
|
40044
|
+
* @summary Search orders
|
|
40045
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40046
|
+
* @param {*} [options] Override http request option.
|
|
40047
|
+
* @throws {RequiredError}
|
|
40048
|
+
*/
|
|
40049
|
+
async shopOrderControllerSearch(
|
|
40050
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40051
|
+
options?: RawAxiosRequestConfig,
|
|
40052
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
40053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
40054
|
+
shopOrderSearchInputDTO,
|
|
40055
|
+
options,
|
|
40056
|
+
);
|
|
40057
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40058
|
+
const localVarOperationServerBasePath =
|
|
40059
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
40060
|
+
return (axios, basePath) =>
|
|
40061
|
+
createRequestFunction(
|
|
40062
|
+
localVarAxiosArgs,
|
|
40063
|
+
globalAxios,
|
|
40064
|
+
BASE_PATH,
|
|
40065
|
+
configuration,
|
|
40066
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40067
|
+
},
|
|
40068
|
+
};
|
|
40069
|
+
};
|
|
40070
|
+
|
|
40071
|
+
/**
|
|
40072
|
+
* ShopOrderApi - factory interface
|
|
40073
|
+
* @export
|
|
40074
|
+
*/
|
|
40075
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40076
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
40077
|
+
return {
|
|
40078
|
+
/**
|
|
40079
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40080
|
+
* @summary Cancel
|
|
40081
|
+
* @param {string} id
|
|
40082
|
+
* @param {*} [options] Override http request option.
|
|
40083
|
+
* @throws {RequiredError}
|
|
40084
|
+
*/
|
|
40085
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40086
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
40087
|
+
},
|
|
40088
|
+
/**
|
|
40089
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40090
|
+
* @summary Claim an order
|
|
40091
|
+
* @param {string} id
|
|
40092
|
+
* @param {*} [options] Override http request option.
|
|
40093
|
+
* @throws {RequiredError}
|
|
40094
|
+
*/
|
|
40095
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40096
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
40097
|
+
},
|
|
40098
|
+
/**
|
|
40099
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40100
|
+
* @summary Create
|
|
40101
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40102
|
+
* @param {*} [options] Override http request option.
|
|
40103
|
+
* @throws {RequiredError}
|
|
40104
|
+
*/
|
|
40105
|
+
shopOrderControllerCreate(
|
|
40106
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40107
|
+
options?: RawAxiosRequestConfig,
|
|
40108
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40109
|
+
return localVarFp
|
|
40110
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40111
|
+
.then((request) => request(axios, basePath));
|
|
40112
|
+
},
|
|
40113
|
+
/**
|
|
40114
|
+
* 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`
|
|
40115
|
+
* @summary Get order by ID
|
|
40116
|
+
* @param {string} id
|
|
40117
|
+
* @param {*} [options] Override http request option.
|
|
40118
|
+
* @throws {RequiredError}
|
|
40119
|
+
*/
|
|
40120
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40121
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
40122
|
+
},
|
|
40123
|
+
/**
|
|
40124
|
+
* 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`
|
|
40125
|
+
* @summary Search orders
|
|
40126
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40127
|
+
* @param {*} [options] Override http request option.
|
|
40128
|
+
* @throws {RequiredError}
|
|
40129
|
+
*/
|
|
40130
|
+
shopOrderControllerSearch(
|
|
40131
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40132
|
+
options?: RawAxiosRequestConfig,
|
|
40133
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
40134
|
+
return localVarFp
|
|
40135
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40136
|
+
.then((request) => request(axios, basePath));
|
|
40137
|
+
},
|
|
40138
|
+
};
|
|
40139
|
+
};
|
|
40140
|
+
|
|
40141
|
+
/**
|
|
40142
|
+
* ShopOrderApi - object-oriented interface
|
|
40143
|
+
* @export
|
|
40144
|
+
* @class ShopOrderApi
|
|
40145
|
+
* @extends {BaseAPI}
|
|
40146
|
+
*/
|
|
40147
|
+
export class ShopOrderApi extends BaseAPI {
|
|
40148
|
+
/**
|
|
40149
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40150
|
+
* @summary Cancel
|
|
40151
|
+
* @param {string} id
|
|
40152
|
+
* @param {*} [options] Override http request option.
|
|
40153
|
+
* @throws {RequiredError}
|
|
40154
|
+
* @memberof ShopOrderApi
|
|
40155
|
+
*/
|
|
40156
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
40157
|
+
return ShopOrderApiFp(this.configuration)
|
|
40158
|
+
.shopOrderControllerCancel(id, options)
|
|
40159
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40160
|
+
}
|
|
40161
|
+
|
|
40162
|
+
/**
|
|
40163
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40164
|
+
* @summary Claim an order
|
|
40165
|
+
* @param {string} id
|
|
40166
|
+
* @param {*} [options] Override http request option.
|
|
40167
|
+
* @throws {RequiredError}
|
|
40168
|
+
* @memberof ShopOrderApi
|
|
40169
|
+
*/
|
|
40170
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
40171
|
+
return ShopOrderApiFp(this.configuration)
|
|
40172
|
+
.shopOrderControllerClaim(id, options)
|
|
40173
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40174
|
+
}
|
|
40175
|
+
|
|
40176
|
+
/**
|
|
40177
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40178
|
+
* @summary Create
|
|
40179
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40180
|
+
* @param {*} [options] Override http request option.
|
|
40181
|
+
* @throws {RequiredError}
|
|
40182
|
+
* @memberof ShopOrderApi
|
|
40183
|
+
*/
|
|
40184
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
40185
|
+
return ShopOrderApiFp(this.configuration)
|
|
40186
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40187
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40188
|
+
}
|
|
40189
|
+
|
|
40190
|
+
/**
|
|
40191
|
+
* 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`
|
|
40192
|
+
* @summary Get order by ID
|
|
40193
|
+
* @param {string} id
|
|
40194
|
+
* @param {*} [options] Override http request option.
|
|
40195
|
+
* @throws {RequiredError}
|
|
40196
|
+
* @memberof ShopOrderApi
|
|
40197
|
+
*/
|
|
40198
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
40199
|
+
return ShopOrderApiFp(this.configuration)
|
|
40200
|
+
.shopOrderControllerGetOne(id, options)
|
|
40201
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40202
|
+
}
|
|
40203
|
+
|
|
40204
|
+
/**
|
|
40205
|
+
* 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`
|
|
40206
|
+
* @summary Search orders
|
|
40207
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40208
|
+
* @param {*} [options] Override http request option.
|
|
40209
|
+
* @throws {RequiredError}
|
|
40210
|
+
* @memberof ShopOrderApi
|
|
40211
|
+
*/
|
|
40212
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
40213
|
+
return ShopOrderApiFp(this.configuration)
|
|
40214
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40215
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40216
|
+
}
|
|
40217
|
+
}
|
|
40218
|
+
|
|
40219
|
+
/**
|
|
40220
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40221
|
+
* @export
|
|
40222
|
+
*/
|
|
40223
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40224
|
+
return {
|
|
40225
|
+
/**
|
|
40226
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40227
|
+
* @summary Get effective config
|
|
40228
|
+
* @param {string} gameServerId
|
|
40229
|
+
* @param {*} [options] Override http request option.
|
|
40230
|
+
* @throws {RequiredError}
|
|
40231
|
+
*/
|
|
40232
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40233
|
+
gameServerId: string,
|
|
40234
|
+
options: RawAxiosRequestConfig = {},
|
|
40235
|
+
): Promise<RequestArgs> => {
|
|
40236
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40237
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40238
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40239
|
+
`{${'gameServerId'}}`,
|
|
40240
|
+
encodeURIComponent(String(gameServerId)),
|
|
40241
|
+
);
|
|
40242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40244
|
+
let baseOptions;
|
|
40245
|
+
if (configuration) {
|
|
40246
|
+
baseOptions = configuration.baseOptions;
|
|
40247
|
+
}
|
|
40248
|
+
|
|
40249
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40250
|
+
const localVarHeaderParameter = {} as any;
|
|
40251
|
+
const localVarQueryParameter = {} as any;
|
|
40252
|
+
|
|
40253
|
+
// authentication domainAuth required
|
|
40254
|
+
|
|
40255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40257
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40258
|
+
|
|
40259
|
+
return {
|
|
40260
|
+
url: toPathString(localVarUrlObj),
|
|
40261
|
+
options: localVarRequestOptions,
|
|
40262
|
+
};
|
|
40263
|
+
},
|
|
40264
|
+
/**
|
|
40265
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40266
|
+
* @summary List templates
|
|
40267
|
+
* @param {*} [options] Override http request option.
|
|
40268
|
+
* @throws {RequiredError}
|
|
40269
|
+
*/
|
|
40270
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40271
|
+
const localVarPath = `/storefront/templates`;
|
|
40272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40274
|
+
let baseOptions;
|
|
40275
|
+
if (configuration) {
|
|
40276
|
+
baseOptions = configuration.baseOptions;
|
|
40277
|
+
}
|
|
40278
|
+
|
|
40279
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40280
|
+
const localVarHeaderParameter = {} as any;
|
|
40281
|
+
const localVarQueryParameter = {} as any;
|
|
40282
|
+
|
|
40283
|
+
// authentication domainAuth required
|
|
40284
|
+
|
|
40285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40286
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40287
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40288
|
+
|
|
40289
|
+
return {
|
|
40290
|
+
url: toPathString(localVarUrlObj),
|
|
40291
|
+
options: localVarRequestOptions,
|
|
40292
|
+
};
|
|
40293
|
+
},
|
|
40294
|
+
/**
|
|
40295
|
+
* 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`
|
|
40296
|
+
* @summary Set config
|
|
40297
|
+
* @param {string} gameServerId
|
|
40298
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38432
40299
|
* @param {*} [options] Override http request option.
|
|
38433
40300
|
* @throws {RequiredError}
|
|
38434
40301
|
*/
|
|
38435
|
-
|
|
38436
|
-
|
|
40302
|
+
storefrontConfigControllerSetConfig: async (
|
|
40303
|
+
gameServerId: string,
|
|
40304
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38437
40305
|
options: RawAxiosRequestConfig = {},
|
|
38438
40306
|
): Promise<RequestArgs> => {
|
|
38439
|
-
|
|
40307
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40308
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40309
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40310
|
+
`{${'gameServerId'}}`,
|
|
40311
|
+
encodeURIComponent(String(gameServerId)),
|
|
40312
|
+
);
|
|
38440
40313
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38441
40314
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38442
40315
|
let baseOptions;
|
|
@@ -38444,7 +40317,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38444
40317
|
baseOptions = configuration.baseOptions;
|
|
38445
40318
|
}
|
|
38446
40319
|
|
|
38447
|
-
const localVarRequestOptions = { method: '
|
|
40320
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38448
40321
|
const localVarHeaderParameter = {} as any;
|
|
38449
40322
|
const localVarQueryParameter = {} as any;
|
|
38450
40323
|
|
|
@@ -38456,7 +40329,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38456
40329
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38457
40330
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
38458
40331
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
38459
|
-
|
|
40332
|
+
storefrontConfigUpsertBody,
|
|
38460
40333
|
localVarRequestOptions,
|
|
38461
40334
|
configuration,
|
|
38462
40335
|
);
|
|
@@ -38470,73 +40343,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38470
40343
|
};
|
|
38471
40344
|
|
|
38472
40345
|
/**
|
|
38473
|
-
*
|
|
40346
|
+
* StorefrontConfigApi - functional programming interface
|
|
38474
40347
|
* @export
|
|
38475
40348
|
*/
|
|
38476
|
-
export const
|
|
38477
|
-
const localVarAxiosParamCreator =
|
|
40349
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40350
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
38478
40351
|
return {
|
|
38479
40352
|
/**
|
|
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
|
|
40353
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40354
|
+
* @summary Get effective config
|
|
40355
|
+
* @param {string} gameServerId
|
|
38529
40356
|
* @param {*} [options] Override http request option.
|
|
38530
40357
|
* @throws {RequiredError}
|
|
38531
40358
|
*/
|
|
38532
|
-
async
|
|
38533
|
-
|
|
40359
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40360
|
+
gameServerId: string,
|
|
38534
40361
|
options?: RawAxiosRequestConfig,
|
|
38535
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40362
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40364
|
+
gameServerId,
|
|
40365
|
+
options,
|
|
40366
|
+
);
|
|
38537
40367
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38538
40368
|
const localVarOperationServerBasePath =
|
|
38539
|
-
operationServerMap['
|
|
40369
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40370
|
+
localVarOperationServerIndex
|
|
40371
|
+
]?.url;
|
|
38540
40372
|
return (axios, basePath) =>
|
|
38541
40373
|
createRequestFunction(
|
|
38542
40374
|
localVarAxiosArgs,
|
|
@@ -38546,20 +40378,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38546
40378
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38547
40379
|
},
|
|
38548
40380
|
/**
|
|
38549
|
-
*
|
|
38550
|
-
* @summary
|
|
38551
|
-
* @param {string} id
|
|
40381
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40382
|
+
* @summary List templates
|
|
38552
40383
|
* @param {*} [options] Override http request option.
|
|
38553
40384
|
* @throws {RequiredError}
|
|
38554
40385
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
id: string,
|
|
40386
|
+
async storefrontConfigControllerListTemplates(
|
|
38557
40387
|
options?: RawAxiosRequestConfig,
|
|
38558
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40388
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
38560
40390
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38561
40391
|
const localVarOperationServerBasePath =
|
|
38562
|
-
operationServerMap['
|
|
40392
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40393
|
+
localVarOperationServerIndex
|
|
40394
|
+
]?.url;
|
|
38563
40395
|
return (axios, basePath) =>
|
|
38564
40396
|
createRequestFunction(
|
|
38565
40397
|
localVarAxiosArgs,
|
|
@@ -38569,23 +40401,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38569
40401
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38570
40402
|
},
|
|
38571
40403
|
/**
|
|
38572
|
-
*
|
|
38573
|
-
* @summary
|
|
38574
|
-
* @param {
|
|
40404
|
+
* 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`
|
|
40405
|
+
* @summary Set config
|
|
40406
|
+
* @param {string} gameServerId
|
|
40407
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38575
40408
|
* @param {*} [options] Override http request option.
|
|
38576
40409
|
* @throws {RequiredError}
|
|
38577
40410
|
*/
|
|
38578
|
-
async
|
|
38579
|
-
|
|
40411
|
+
async storefrontConfigControllerSetConfig(
|
|
40412
|
+
gameServerId: string,
|
|
40413
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38580
40414
|
options?: RawAxiosRequestConfig,
|
|
38581
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38583
|
-
|
|
40415
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40417
|
+
gameServerId,
|
|
40418
|
+
storefrontConfigUpsertBody,
|
|
38584
40419
|
options,
|
|
38585
40420
|
);
|
|
38586
40421
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38587
40422
|
const localVarOperationServerBasePath =
|
|
38588
|
-
operationServerMap['
|
|
40423
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40424
|
+
?.url;
|
|
38589
40425
|
return (axios, basePath) =>
|
|
38590
40426
|
createRequestFunction(
|
|
38591
40427
|
localVarAxiosArgs,
|
|
@@ -38598,149 +40434,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38598
40434
|
};
|
|
38599
40435
|
|
|
38600
40436
|
/**
|
|
38601
|
-
*
|
|
40437
|
+
* StorefrontConfigApi - factory interface
|
|
38602
40438
|
* @export
|
|
38603
40439
|
*/
|
|
38604
|
-
export const
|
|
38605
|
-
|
|
40440
|
+
export const StorefrontConfigApiFactory = function (
|
|
40441
|
+
configuration?: Configuration,
|
|
40442
|
+
basePath?: string,
|
|
40443
|
+
axios?: AxiosInstance,
|
|
40444
|
+
) {
|
|
40445
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
38606
40446
|
return {
|
|
38607
40447
|
/**
|
|
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
|
|
40448
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40449
|
+
* @summary Get effective config
|
|
40450
|
+
* @param {string} gameServerId
|
|
38631
40451
|
* @param {*} [options] Override http request option.
|
|
38632
40452
|
* @throws {RequiredError}
|
|
38633
40453
|
*/
|
|
38634
|
-
|
|
38635
|
-
|
|
40454
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40455
|
+
gameServerId: string,
|
|
38636
40456
|
options?: RawAxiosRequestConfig,
|
|
38637
|
-
): AxiosPromise<
|
|
40457
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38638
40458
|
return localVarFp
|
|
38639
|
-
.
|
|
40459
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38640
40460
|
.then((request) => request(axios, basePath));
|
|
38641
40461
|
},
|
|
38642
40462
|
/**
|
|
38643
|
-
*
|
|
38644
|
-
* @summary
|
|
38645
|
-
* @param {string} id
|
|
40463
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40464
|
+
* @summary List templates
|
|
38646
40465
|
* @param {*} [options] Override http request option.
|
|
38647
40466
|
* @throws {RequiredError}
|
|
38648
40467
|
*/
|
|
38649
|
-
|
|
38650
|
-
|
|
40468
|
+
storefrontConfigControllerListTemplates(
|
|
40469
|
+
options?: RawAxiosRequestConfig,
|
|
40470
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40471
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
38651
40472
|
},
|
|
38652
40473
|
/**
|
|
38653
|
-
*
|
|
38654
|
-
* @summary
|
|
38655
|
-
* @param {
|
|
40474
|
+
* 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`
|
|
40475
|
+
* @summary Set config
|
|
40476
|
+
* @param {string} gameServerId
|
|
40477
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38656
40478
|
* @param {*} [options] Override http request option.
|
|
38657
40479
|
* @throws {RequiredError}
|
|
38658
40480
|
*/
|
|
38659
|
-
|
|
38660
|
-
|
|
40481
|
+
storefrontConfigControllerSetConfig(
|
|
40482
|
+
gameServerId: string,
|
|
40483
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38661
40484
|
options?: RawAxiosRequestConfig,
|
|
38662
|
-
): AxiosPromise<
|
|
40485
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38663
40486
|
return localVarFp
|
|
38664
|
-
.
|
|
40487
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38665
40488
|
.then((request) => request(axios, basePath));
|
|
38666
40489
|
},
|
|
38667
40490
|
};
|
|
38668
40491
|
};
|
|
38669
40492
|
|
|
38670
40493
|
/**
|
|
38671
|
-
*
|
|
40494
|
+
* StorefrontConfigApi - object-oriented interface
|
|
38672
40495
|
* @export
|
|
38673
|
-
* @class
|
|
40496
|
+
* @class StorefrontConfigApi
|
|
38674
40497
|
* @extends {BaseAPI}
|
|
38675
40498
|
*/
|
|
38676
|
-
export class
|
|
40499
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
38677
40500
|
/**
|
|
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
|
|
40501
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40502
|
+
* @summary Get effective config
|
|
40503
|
+
* @param {string} gameServerId
|
|
38709
40504
|
* @param {*} [options] Override http request option.
|
|
38710
40505
|
* @throws {RequiredError}
|
|
38711
|
-
* @memberof
|
|
40506
|
+
* @memberof StorefrontConfigApi
|
|
38712
40507
|
*/
|
|
38713
|
-
public
|
|
38714
|
-
return
|
|
38715
|
-
.
|
|
40508
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40509
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40510
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38716
40511
|
.then((request) => request(this.axios, this.basePath));
|
|
38717
40512
|
}
|
|
38718
40513
|
|
|
38719
40514
|
/**
|
|
38720
|
-
*
|
|
38721
|
-
* @summary
|
|
38722
|
-
* @param {string} id
|
|
40515
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40516
|
+
* @summary List templates
|
|
38723
40517
|
* @param {*} [options] Override http request option.
|
|
38724
40518
|
* @throws {RequiredError}
|
|
38725
|
-
* @memberof
|
|
40519
|
+
* @memberof StorefrontConfigApi
|
|
38726
40520
|
*/
|
|
38727
|
-
public
|
|
38728
|
-
return
|
|
38729
|
-
.
|
|
40521
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40522
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40523
|
+
.storefrontConfigControllerListTemplates(options)
|
|
38730
40524
|
.then((request) => request(this.axios, this.basePath));
|
|
38731
40525
|
}
|
|
38732
40526
|
|
|
38733
40527
|
/**
|
|
38734
|
-
*
|
|
38735
|
-
* @summary
|
|
38736
|
-
* @param {
|
|
40528
|
+
* 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`
|
|
40529
|
+
* @summary Set config
|
|
40530
|
+
* @param {string} gameServerId
|
|
40531
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
38737
40532
|
* @param {*} [options] Override http request option.
|
|
38738
40533
|
* @throws {RequiredError}
|
|
38739
|
-
* @memberof
|
|
40534
|
+
* @memberof StorefrontConfigApi
|
|
38740
40535
|
*/
|
|
38741
|
-
public
|
|
38742
|
-
|
|
38743
|
-
|
|
40536
|
+
public storefrontConfigControllerSetConfig(
|
|
40537
|
+
gameServerId: string,
|
|
40538
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40539
|
+
options?: RawAxiosRequestConfig,
|
|
40540
|
+
) {
|
|
40541
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40542
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38744
40543
|
.then((request) => request(this.axios, this.basePath));
|
|
38745
40544
|
}
|
|
38746
40545
|
}
|
|
@@ -39328,6 +41127,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39328
41127
|
options: localVarRequestOptions,
|
|
39329
41128
|
};
|
|
39330
41129
|
},
|
|
41130
|
+
/**
|
|
41131
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41132
|
+
* @summary Count billable dashboard users
|
|
41133
|
+
* @param {*} [options] Override http request option.
|
|
41134
|
+
* @throws {RequiredError}
|
|
41135
|
+
*/
|
|
41136
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41137
|
+
const localVarPath = `/user/count`;
|
|
41138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41139
|
+
let baseOptions;
|
|
41140
|
+
if (configuration) {
|
|
41141
|
+
baseOptions = configuration.baseOptions;
|
|
41142
|
+
}
|
|
41143
|
+
|
|
41144
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41145
|
+
const localVarHeaderParameter = {} as any;
|
|
41146
|
+
const localVarQueryParameter = {} as any;
|
|
41147
|
+
|
|
41148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41149
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41150
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41151
|
+
|
|
41152
|
+
return {
|
|
41153
|
+
url: toPathString(localVarUrlObj),
|
|
41154
|
+
options: localVarRequestOptions,
|
|
41155
|
+
};
|
|
41156
|
+
},
|
|
39331
41157
|
/**
|
|
39332
41158
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39333
41159
|
* @summary Create
|
|
@@ -39834,6 +41660,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39834
41660
|
configuration,
|
|
39835
41661
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39836
41662
|
},
|
|
41663
|
+
/**
|
|
41664
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41665
|
+
* @summary Count billable dashboard users
|
|
41666
|
+
* @param {*} [options] Override http request option.
|
|
41667
|
+
* @throws {RequiredError}
|
|
41668
|
+
*/
|
|
41669
|
+
async userControllerCountBillableDashboardUsers(
|
|
41670
|
+
options?: RawAxiosRequestConfig,
|
|
41671
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
41672
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
41673
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41674
|
+
const localVarOperationServerBasePath =
|
|
41675
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
41676
|
+
return (axios, basePath) =>
|
|
41677
|
+
createRequestFunction(
|
|
41678
|
+
localVarAxiosArgs,
|
|
41679
|
+
globalAxios,
|
|
41680
|
+
BASE_PATH,
|
|
41681
|
+
configuration,
|
|
41682
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41683
|
+
},
|
|
39837
41684
|
/**
|
|
39838
41685
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39839
41686
|
* @summary Create
|
|
@@ -40163,6 +42010,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40163
42010
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40164
42011
|
.then((request) => request(axios, basePath));
|
|
40165
42012
|
},
|
|
42013
|
+
/**
|
|
42014
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42015
|
+
* @summary Count billable dashboard users
|
|
42016
|
+
* @param {*} [options] Override http request option.
|
|
42017
|
+
* @throws {RequiredError}
|
|
42018
|
+
*/
|
|
42019
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
42020
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
42021
|
+
},
|
|
40166
42022
|
/**
|
|
40167
42023
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40168
42024
|
* @summary Create
|
|
@@ -40341,6 +42197,19 @@ export class UserApi extends BaseAPI {
|
|
|
40341
42197
|
.then((request) => request(this.axios, this.basePath));
|
|
40342
42198
|
}
|
|
40343
42199
|
|
|
42200
|
+
/**
|
|
42201
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42202
|
+
* @summary Count billable dashboard users
|
|
42203
|
+
* @param {*} [options] Override http request option.
|
|
42204
|
+
* @throws {RequiredError}
|
|
42205
|
+
* @memberof UserApi
|
|
42206
|
+
*/
|
|
42207
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42208
|
+
return UserApiFp(this.configuration)
|
|
42209
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42210
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42211
|
+
}
|
|
42212
|
+
|
|
40344
42213
|
/**
|
|
40345
42214
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40346
42215
|
* @summary Create
|
|
@@ -41009,3 +42878,474 @@ export class VariableApi extends BaseAPI {
|
|
|
41009
42878
|
.then((request) => request(this.axios, this.basePath));
|
|
41010
42879
|
}
|
|
41011
42880
|
}
|
|
42881
|
+
|
|
42882
|
+
/**
|
|
42883
|
+
* InviteLinkApi - axios parameter creator
|
|
42884
|
+
* @export
|
|
42885
|
+
*/
|
|
42886
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42887
|
+
return {
|
|
42888
|
+
/**
|
|
42889
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42890
|
+
* @summary Create invite link
|
|
42891
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42892
|
+
* @param {*} [options] Override http request option.
|
|
42893
|
+
* @throws {RequiredError}
|
|
42894
|
+
*/
|
|
42895
|
+
inviteLinkControllerCreate: async (
|
|
42896
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42897
|
+
options: RawAxiosRequestConfig = {},
|
|
42898
|
+
): Promise<RequestArgs> => {
|
|
42899
|
+
const localVarPath = `/invite-link`;
|
|
42900
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42901
|
+
let baseOptions;
|
|
42902
|
+
if (configuration) {
|
|
42903
|
+
baseOptions = configuration.baseOptions;
|
|
42904
|
+
}
|
|
42905
|
+
|
|
42906
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42907
|
+
const localVarHeaderParameter = {} as any;
|
|
42908
|
+
const localVarQueryParameter = {} as any;
|
|
42909
|
+
|
|
42910
|
+
// authentication domainAuth required
|
|
42911
|
+
|
|
42912
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42913
|
+
|
|
42914
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42915
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42916
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42917
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42918
|
+
inviteLinkCreateInputDTO,
|
|
42919
|
+
localVarRequestOptions,
|
|
42920
|
+
configuration,
|
|
42921
|
+
);
|
|
42922
|
+
|
|
42923
|
+
return {
|
|
42924
|
+
url: toPathString(localVarUrlObj),
|
|
42925
|
+
options: localVarRequestOptions,
|
|
42926
|
+
};
|
|
42927
|
+
},
|
|
42928
|
+
/**
|
|
42929
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42930
|
+
* @summary Preview
|
|
42931
|
+
* @param {string} token
|
|
42932
|
+
* @param {*} [options] Override http request option.
|
|
42933
|
+
* @throws {RequiredError}
|
|
42934
|
+
*/
|
|
42935
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42936
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42937
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42938
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42939
|
+
let baseOptions;
|
|
42940
|
+
if (configuration) {
|
|
42941
|
+
baseOptions = configuration.baseOptions;
|
|
42942
|
+
}
|
|
42943
|
+
|
|
42944
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42945
|
+
const localVarHeaderParameter = {} as any;
|
|
42946
|
+
const localVarQueryParameter = {} as any;
|
|
42947
|
+
|
|
42948
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42949
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42950
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42951
|
+
|
|
42952
|
+
return {
|
|
42953
|
+
url: toPathString(localVarUrlObj),
|
|
42954
|
+
options: localVarRequestOptions,
|
|
42955
|
+
};
|
|
42956
|
+
},
|
|
42957
|
+
/**
|
|
42958
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42959
|
+
* @summary Redeem
|
|
42960
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42961
|
+
* @param {*} [options] Override http request option.
|
|
42962
|
+
* @throws {RequiredError}
|
|
42963
|
+
*/
|
|
42964
|
+
inviteLinkControllerRedeem: async (
|
|
42965
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42966
|
+
options: RawAxiosRequestConfig = {},
|
|
42967
|
+
): Promise<RequestArgs> => {
|
|
42968
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42969
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42970
|
+
let baseOptions;
|
|
42971
|
+
if (configuration) {
|
|
42972
|
+
baseOptions = configuration.baseOptions;
|
|
42973
|
+
}
|
|
42974
|
+
|
|
42975
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42976
|
+
const localVarHeaderParameter = {} as any;
|
|
42977
|
+
const localVarQueryParameter = {} as any;
|
|
42978
|
+
|
|
42979
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42980
|
+
|
|
42981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42983
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42984
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42985
|
+
|
|
42986
|
+
return {
|
|
42987
|
+
url: toPathString(localVarUrlObj),
|
|
42988
|
+
options: localVarRequestOptions,
|
|
42989
|
+
};
|
|
42990
|
+
},
|
|
42991
|
+
/**
|
|
42992
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42993
|
+
* @summary Revoke
|
|
42994
|
+
* @param {string} id
|
|
42995
|
+
* @param {*} [options] Override http request option.
|
|
42996
|
+
* @throws {RequiredError}
|
|
42997
|
+
*/
|
|
42998
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42999
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
43000
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
43001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43002
|
+
let baseOptions;
|
|
43003
|
+
if (configuration) {
|
|
43004
|
+
baseOptions = configuration.baseOptions;
|
|
43005
|
+
}
|
|
43006
|
+
|
|
43007
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43008
|
+
const localVarHeaderParameter = {} as any;
|
|
43009
|
+
const localVarQueryParameter = {} as any;
|
|
43010
|
+
|
|
43011
|
+
// authentication domainAuth required
|
|
43012
|
+
|
|
43013
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43014
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43015
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43016
|
+
|
|
43017
|
+
return {
|
|
43018
|
+
url: toPathString(localVarUrlObj),
|
|
43019
|
+
options: localVarRequestOptions,
|
|
43020
|
+
};
|
|
43021
|
+
},
|
|
43022
|
+
/**
|
|
43023
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43024
|
+
* @summary Search
|
|
43025
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43026
|
+
* @param {*} [options] Override http request option.
|
|
43027
|
+
* @throws {RequiredError}
|
|
43028
|
+
*/
|
|
43029
|
+
inviteLinkControllerSearch: async (
|
|
43030
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43031
|
+
options: RawAxiosRequestConfig = {},
|
|
43032
|
+
): Promise<RequestArgs> => {
|
|
43033
|
+
const localVarPath = `/invite-link/search`;
|
|
43034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43035
|
+
let baseOptions;
|
|
43036
|
+
if (configuration) {
|
|
43037
|
+
baseOptions = configuration.baseOptions;
|
|
43038
|
+
}
|
|
43039
|
+
|
|
43040
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43041
|
+
const localVarHeaderParameter = {} as any;
|
|
43042
|
+
const localVarQueryParameter = {} as any;
|
|
43043
|
+
|
|
43044
|
+
// authentication domainAuth required
|
|
43045
|
+
|
|
43046
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43047
|
+
|
|
43048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43050
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43051
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43052
|
+
inviteLinkSearchInputDTO,
|
|
43053
|
+
localVarRequestOptions,
|
|
43054
|
+
configuration,
|
|
43055
|
+
);
|
|
43056
|
+
|
|
43057
|
+
return {
|
|
43058
|
+
url: toPathString(localVarUrlObj),
|
|
43059
|
+
options: localVarRequestOptions,
|
|
43060
|
+
};
|
|
43061
|
+
},
|
|
43062
|
+
};
|
|
43063
|
+
};
|
|
43064
|
+
|
|
43065
|
+
/**
|
|
43066
|
+
* InviteLinkApi - functional programming interface
|
|
43067
|
+
* @export
|
|
43068
|
+
*/
|
|
43069
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
43070
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
43071
|
+
return {
|
|
43072
|
+
/**
|
|
43073
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43074
|
+
* @summary Create invite link
|
|
43075
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43076
|
+
* @param {*} [options] Override http request option.
|
|
43077
|
+
* @throws {RequiredError}
|
|
43078
|
+
*/
|
|
43079
|
+
async inviteLinkControllerCreate(
|
|
43080
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43081
|
+
options?: RawAxiosRequestConfig,
|
|
43082
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
43083
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
43084
|
+
inviteLinkCreateInputDTO,
|
|
43085
|
+
options,
|
|
43086
|
+
);
|
|
43087
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43088
|
+
const localVarOperationServerBasePath =
|
|
43089
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
43090
|
+
return (axios, basePath) =>
|
|
43091
|
+
createRequestFunction(
|
|
43092
|
+
localVarAxiosArgs,
|
|
43093
|
+
globalAxios,
|
|
43094
|
+
BASE_PATH,
|
|
43095
|
+
configuration,
|
|
43096
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43097
|
+
},
|
|
43098
|
+
/**
|
|
43099
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43100
|
+
* @summary Preview
|
|
43101
|
+
* @param {string} token
|
|
43102
|
+
* @param {*} [options] Override http request option.
|
|
43103
|
+
* @throws {RequiredError}
|
|
43104
|
+
*/
|
|
43105
|
+
async inviteLinkControllerPreview(
|
|
43106
|
+
token: string,
|
|
43107
|
+
options?: RawAxiosRequestConfig,
|
|
43108
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
43109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
43110
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43111
|
+
const localVarOperationServerBasePath =
|
|
43112
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
43113
|
+
return (axios, basePath) =>
|
|
43114
|
+
createRequestFunction(
|
|
43115
|
+
localVarAxiosArgs,
|
|
43116
|
+
globalAxios,
|
|
43117
|
+
BASE_PATH,
|
|
43118
|
+
configuration,
|
|
43119
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43120
|
+
},
|
|
43121
|
+
/**
|
|
43122
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43123
|
+
* @summary Redeem
|
|
43124
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43125
|
+
* @param {*} [options] Override http request option.
|
|
43126
|
+
* @throws {RequiredError}
|
|
43127
|
+
*/
|
|
43128
|
+
async inviteLinkControllerRedeem(
|
|
43129
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43130
|
+
options?: RawAxiosRequestConfig,
|
|
43131
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
43132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
43133
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43134
|
+
const localVarOperationServerBasePath =
|
|
43135
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
43136
|
+
return (axios, basePath) =>
|
|
43137
|
+
createRequestFunction(
|
|
43138
|
+
localVarAxiosArgs,
|
|
43139
|
+
globalAxios,
|
|
43140
|
+
BASE_PATH,
|
|
43141
|
+
configuration,
|
|
43142
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43143
|
+
},
|
|
43144
|
+
/**
|
|
43145
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43146
|
+
* @summary Revoke
|
|
43147
|
+
* @param {string} id
|
|
43148
|
+
* @param {*} [options] Override http request option.
|
|
43149
|
+
* @throws {RequiredError}
|
|
43150
|
+
*/
|
|
43151
|
+
async inviteLinkControllerRevoke(
|
|
43152
|
+
id: string,
|
|
43153
|
+
options?: RawAxiosRequestConfig,
|
|
43154
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43155
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43156
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43157
|
+
const localVarOperationServerBasePath =
|
|
43158
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43159
|
+
return (axios, basePath) =>
|
|
43160
|
+
createRequestFunction(
|
|
43161
|
+
localVarAxiosArgs,
|
|
43162
|
+
globalAxios,
|
|
43163
|
+
BASE_PATH,
|
|
43164
|
+
configuration,
|
|
43165
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43166
|
+
},
|
|
43167
|
+
/**
|
|
43168
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43169
|
+
* @summary Search
|
|
43170
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43171
|
+
* @param {*} [options] Override http request option.
|
|
43172
|
+
* @throws {RequiredError}
|
|
43173
|
+
*/
|
|
43174
|
+
async inviteLinkControllerSearch(
|
|
43175
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43176
|
+
options?: RawAxiosRequestConfig,
|
|
43177
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43179
|
+
inviteLinkSearchInputDTO,
|
|
43180
|
+
options,
|
|
43181
|
+
);
|
|
43182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43183
|
+
const localVarOperationServerBasePath =
|
|
43184
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43185
|
+
return (axios, basePath) =>
|
|
43186
|
+
createRequestFunction(
|
|
43187
|
+
localVarAxiosArgs,
|
|
43188
|
+
globalAxios,
|
|
43189
|
+
BASE_PATH,
|
|
43190
|
+
configuration,
|
|
43191
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43192
|
+
},
|
|
43193
|
+
};
|
|
43194
|
+
};
|
|
43195
|
+
|
|
43196
|
+
/**
|
|
43197
|
+
* InviteLinkApi - factory interface
|
|
43198
|
+
* @export
|
|
43199
|
+
*/
|
|
43200
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43201
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
43202
|
+
return {
|
|
43203
|
+
/**
|
|
43204
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43205
|
+
* @summary Create invite link
|
|
43206
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43207
|
+
* @param {*} [options] Override http request option.
|
|
43208
|
+
* @throws {RequiredError}
|
|
43209
|
+
*/
|
|
43210
|
+
inviteLinkControllerCreate(
|
|
43211
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43212
|
+
options?: RawAxiosRequestConfig,
|
|
43213
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43214
|
+
return localVarFp
|
|
43215
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43216
|
+
.then((request) => request(axios, basePath));
|
|
43217
|
+
},
|
|
43218
|
+
/**
|
|
43219
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43220
|
+
* @summary Preview
|
|
43221
|
+
* @param {string} token
|
|
43222
|
+
* @param {*} [options] Override http request option.
|
|
43223
|
+
* @throws {RequiredError}
|
|
43224
|
+
*/
|
|
43225
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43226
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43227
|
+
},
|
|
43228
|
+
/**
|
|
43229
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43230
|
+
* @summary Redeem
|
|
43231
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43232
|
+
* @param {*} [options] Override http request option.
|
|
43233
|
+
* @throws {RequiredError}
|
|
43234
|
+
*/
|
|
43235
|
+
inviteLinkControllerRedeem(
|
|
43236
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43237
|
+
options?: RawAxiosRequestConfig,
|
|
43238
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43239
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43240
|
+
},
|
|
43241
|
+
/**
|
|
43242
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43243
|
+
* @summary Revoke
|
|
43244
|
+
* @param {string} id
|
|
43245
|
+
* @param {*} [options] Override http request option.
|
|
43246
|
+
* @throws {RequiredError}
|
|
43247
|
+
*/
|
|
43248
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43249
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43250
|
+
},
|
|
43251
|
+
/**
|
|
43252
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43253
|
+
* @summary Search
|
|
43254
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43255
|
+
* @param {*} [options] Override http request option.
|
|
43256
|
+
* @throws {RequiredError}
|
|
43257
|
+
*/
|
|
43258
|
+
inviteLinkControllerSearch(
|
|
43259
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43260
|
+
options?: RawAxiosRequestConfig,
|
|
43261
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43262
|
+
return localVarFp
|
|
43263
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43264
|
+
.then((request) => request(axios, basePath));
|
|
43265
|
+
},
|
|
43266
|
+
};
|
|
43267
|
+
};
|
|
43268
|
+
|
|
43269
|
+
/**
|
|
43270
|
+
* InviteLinkApi - object-oriented interface
|
|
43271
|
+
* @export
|
|
43272
|
+
* @class InviteLinkApi
|
|
43273
|
+
* @extends {BaseAPI}
|
|
43274
|
+
*/
|
|
43275
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43276
|
+
/**
|
|
43277
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43278
|
+
* @summary Create invite link
|
|
43279
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43280
|
+
* @param {*} [options] Override http request option.
|
|
43281
|
+
* @throws {RequiredError}
|
|
43282
|
+
* @memberof InviteLinkApi
|
|
43283
|
+
*/
|
|
43284
|
+
public inviteLinkControllerCreate(
|
|
43285
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43286
|
+
options?: RawAxiosRequestConfig,
|
|
43287
|
+
) {
|
|
43288
|
+
return InviteLinkApiFp(this.configuration)
|
|
43289
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43290
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43291
|
+
}
|
|
43292
|
+
|
|
43293
|
+
/**
|
|
43294
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43295
|
+
* @summary Preview
|
|
43296
|
+
* @param {string} token
|
|
43297
|
+
* @param {*} [options] Override http request option.
|
|
43298
|
+
* @throws {RequiredError}
|
|
43299
|
+
* @memberof InviteLinkApi
|
|
43300
|
+
*/
|
|
43301
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43302
|
+
return InviteLinkApiFp(this.configuration)
|
|
43303
|
+
.inviteLinkControllerPreview(token, options)
|
|
43304
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43305
|
+
}
|
|
43306
|
+
|
|
43307
|
+
/**
|
|
43308
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43309
|
+
* @summary Redeem
|
|
43310
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43311
|
+
* @param {*} [options] Override http request option.
|
|
43312
|
+
* @throws {RequiredError}
|
|
43313
|
+
* @memberof InviteLinkApi
|
|
43314
|
+
*/
|
|
43315
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43316
|
+
return InviteLinkApiFp(this.configuration)
|
|
43317
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43318
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43319
|
+
}
|
|
43320
|
+
|
|
43321
|
+
/**
|
|
43322
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43323
|
+
* @summary Revoke
|
|
43324
|
+
* @param {string} id
|
|
43325
|
+
* @param {*} [options] Override http request option.
|
|
43326
|
+
* @throws {RequiredError}
|
|
43327
|
+
* @memberof InviteLinkApi
|
|
43328
|
+
*/
|
|
43329
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43330
|
+
return InviteLinkApiFp(this.configuration)
|
|
43331
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43332
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43333
|
+
}
|
|
43334
|
+
|
|
43335
|
+
/**
|
|
43336
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43337
|
+
* @summary Search
|
|
43338
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43339
|
+
* @param {*} [options] Override http request option.
|
|
43340
|
+
* @throws {RequiredError}
|
|
43341
|
+
* @memberof InviteLinkApi
|
|
43342
|
+
*/
|
|
43343
|
+
public inviteLinkControllerSearch(
|
|
43344
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43345
|
+
options?: RawAxiosRequestConfig,
|
|
43346
|
+
) {
|
|
43347
|
+
return InviteLinkApiFp(this.configuration)
|
|
43348
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43349
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43350
|
+
}
|
|
43351
|
+
}
|