@takaro/apiclient 0.0.0-dev.49cd55d → 0.0.0-dev.4c18194

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.
@@ -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: UserOutputWithRolesDTO;
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: string;
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
@@ -8684,6 +9351,12 @@ export interface ModuleTransferVersionDTO {
8684
9351
  * @memberof ModuleTransferVersionDTO
8685
9352
  */
8686
9353
  uiSchema: string;
9354
+ /**
9355
+ *
9356
+ * @type {string}
9357
+ * @memberof ModuleTransferVersionDTO
9358
+ */
9359
+ defaultSystemConfig?: string;
8687
9360
  /**
8688
9361
  *
8689
9362
  * @type {Array<ICommand>}
@@ -8838,6 +9511,24 @@ export interface ModuleVersionOutputDTO {
8838
9511
  * @memberof ModuleVersionOutputDTO
8839
9512
  */
8840
9513
  moduleId: string;
9514
+ /**
9515
+ *
9516
+ * @type {string}
9517
+ * @memberof ModuleVersionOutputDTO
9518
+ */
9519
+ registryId?: string;
9520
+ /**
9521
+ *
9522
+ * @type {string}
9523
+ * @memberof ModuleVersionOutputDTO
9524
+ */
9525
+ sourceModuleName?: string;
9526
+ /**
9527
+ *
9528
+ * @type {string}
9529
+ * @memberof ModuleVersionOutputDTO
9530
+ */
9531
+ sourceVersion?: string;
8841
9532
  /**
8842
9533
  *
8843
9534
  * @type {Array<CronJobOutputDTO>}
@@ -11906,6 +12597,386 @@ export interface RedirectQs {
11906
12597
  */
11907
12598
  redirect: string;
11908
12599
  }
12600
+ /**
12601
+ *
12602
+ * @export
12603
+ * @interface RegistryCreateDTO
12604
+ */
12605
+ export interface RegistryCreateDTO {
12606
+ /**
12607
+ *
12608
+ * @type {string}
12609
+ * @memberof RegistryCreateDTO
12610
+ */
12611
+ url: string;
12612
+ /**
12613
+ *
12614
+ * @type {string}
12615
+ * @memberof RegistryCreateDTO
12616
+ */
12617
+ name?: string;
12618
+ /**
12619
+ *
12620
+ * @type {string}
12621
+ * @memberof RegistryCreateDTO
12622
+ */
12623
+ description?: string;
12624
+ }
12625
+ /**
12626
+ *
12627
+ * @export
12628
+ * @interface RegistryInstallBody
12629
+ */
12630
+ export interface RegistryInstallBody {
12631
+ /**
12632
+ *
12633
+ * @type {string}
12634
+ * @memberof RegistryInstallBody
12635
+ */
12636
+ moduleName: string;
12637
+ /**
12638
+ *
12639
+ * @type {string}
12640
+ * @memberof RegistryInstallBody
12641
+ */
12642
+ version: string;
12643
+ }
12644
+ /**
12645
+ *
12646
+ * @export
12647
+ * @interface RegistryInstallInputDTO
12648
+ */
12649
+ export interface RegistryInstallInputDTO {
12650
+ /**
12651
+ *
12652
+ * @type {string}
12653
+ * @memberof RegistryInstallInputDTO
12654
+ */
12655
+ moduleName: string;
12656
+ /**
12657
+ *
12658
+ * @type {string}
12659
+ * @memberof RegistryInstallInputDTO
12660
+ */
12661
+ version: string;
12662
+ }
12663
+ /**
12664
+ *
12665
+ * @export
12666
+ * @interface RegistryListOutputDTO
12667
+ */
12668
+ export interface RegistryListOutputDTO {
12669
+ /**
12670
+ *
12671
+ * @type {string}
12672
+ * @memberof RegistryListOutputDTO
12673
+ */
12674
+ url: string;
12675
+ /**
12676
+ *
12677
+ * @type {string}
12678
+ * @memberof RegistryListOutputDTO
12679
+ */
12680
+ name: string;
12681
+ /**
12682
+ *
12683
+ * @type {string}
12684
+ * @memberof RegistryListOutputDTO
12685
+ */
12686
+ description?: string;
12687
+ /**
12688
+ *
12689
+ * @type {Array<RegistryModuleVersionOutputDTO>}
12690
+ * @memberof RegistryListOutputDTO
12691
+ */
12692
+ modules?: Array<RegistryModuleVersionOutputDTO>;
12693
+ /**
12694
+ *
12695
+ * @type {string}
12696
+ * @memberof RegistryListOutputDTO
12697
+ */
12698
+ lastFetchError?: string;
12699
+ /**
12700
+ *
12701
+ * @type {string}
12702
+ * @memberof RegistryListOutputDTO
12703
+ */
12704
+ id: string;
12705
+ /**
12706
+ *
12707
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12708
+ * @memberof RegistryListOutputDTO
12709
+ */
12710
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12711
+ /**
12712
+ *
12713
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12714
+ * @memberof RegistryListOutputDTO
12715
+ */
12716
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12717
+ }
12718
+ /**
12719
+ *
12720
+ * @export
12721
+ * @interface RegistryListOutputDTOAPI
12722
+ */
12723
+ export interface RegistryListOutputDTOAPI {
12724
+ /**
12725
+ *
12726
+ * @type {Array<RegistryListOutputDTO>}
12727
+ * @memberof RegistryListOutputDTOAPI
12728
+ */
12729
+ data: Array<RegistryListOutputDTO>;
12730
+ /**
12731
+ *
12732
+ * @type {MetadataOutput}
12733
+ * @memberof RegistryListOutputDTOAPI
12734
+ */
12735
+ meta: MetadataOutput;
12736
+ }
12737
+ /**
12738
+ *
12739
+ * @export
12740
+ * @interface RegistryManifestDTO
12741
+ */
12742
+ export interface RegistryManifestDTO {
12743
+ /**
12744
+ *
12745
+ * @type {string}
12746
+ * @memberof RegistryManifestDTO
12747
+ */
12748
+ name: string;
12749
+ /**
12750
+ *
12751
+ * @type {string}
12752
+ * @memberof RegistryManifestDTO
12753
+ */
12754
+ description?: string;
12755
+ /**
12756
+ *
12757
+ * @type {Array<RegistryManifestModuleDTO>}
12758
+ * @memberof RegistryManifestDTO
12759
+ */
12760
+ modules: Array<RegistryManifestModuleDTO>;
12761
+ }
12762
+ /**
12763
+ *
12764
+ * @export
12765
+ * @interface RegistryManifestModuleDTO
12766
+ */
12767
+ export interface RegistryManifestModuleDTO {
12768
+ /**
12769
+ *
12770
+ * @type {string}
12771
+ * @memberof RegistryManifestModuleDTO
12772
+ */
12773
+ name: string;
12774
+ /**
12775
+ *
12776
+ * @type {string}
12777
+ * @memberof RegistryManifestModuleDTO
12778
+ */
12779
+ latestVersion: string;
12780
+ /**
12781
+ *
12782
+ * @type {Array<string>}
12783
+ * @memberof RegistryManifestModuleDTO
12784
+ */
12785
+ versions: Array<string>;
12786
+ /**
12787
+ *
12788
+ * @type {string}
12789
+ * @memberof RegistryManifestModuleDTO
12790
+ */
12791
+ description?: string;
12792
+ }
12793
+ /**
12794
+ *
12795
+ * @export
12796
+ * @interface RegistryModuleVersionOutputDTO
12797
+ */
12798
+ export interface RegistryModuleVersionOutputDTO {
12799
+ /**
12800
+ *
12801
+ * @type {string}
12802
+ * @memberof RegistryModuleVersionOutputDTO
12803
+ */
12804
+ name: string;
12805
+ /**
12806
+ *
12807
+ * @type {Array<string>}
12808
+ * @memberof RegistryModuleVersionOutputDTO
12809
+ */
12810
+ versions: Array<string>;
12811
+ /**
12812
+ *
12813
+ * @type {string}
12814
+ * @memberof RegistryModuleVersionOutputDTO
12815
+ */
12816
+ latestVersion: string;
12817
+ /**
12818
+ *
12819
+ * @type {string}
12820
+ * @memberof RegistryModuleVersionOutputDTO
12821
+ */
12822
+ description?: string;
12823
+ }
12824
+ /**
12825
+ *
12826
+ * @export
12827
+ * @interface RegistryOutputDTO
12828
+ */
12829
+ export interface RegistryOutputDTO {
12830
+ /**
12831
+ *
12832
+ * @type {string}
12833
+ * @memberof RegistryOutputDTO
12834
+ */
12835
+ url: string;
12836
+ /**
12837
+ *
12838
+ * @type {string}
12839
+ * @memberof RegistryOutputDTO
12840
+ */
12841
+ name: string;
12842
+ /**
12843
+ *
12844
+ * @type {string}
12845
+ * @memberof RegistryOutputDTO
12846
+ */
12847
+ description?: string;
12848
+ /**
12849
+ *
12850
+ * @type {string}
12851
+ * @memberof RegistryOutputDTO
12852
+ */
12853
+ id: string;
12854
+ /**
12855
+ *
12856
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12857
+ * @memberof RegistryOutputDTO
12858
+ */
12859
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12860
+ /**
12861
+ *
12862
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12863
+ * @memberof RegistryOutputDTO
12864
+ */
12865
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12866
+ }
12867
+ /**
12868
+ *
12869
+ * @export
12870
+ * @interface RegistrySubscribeBody
12871
+ */
12872
+ export interface RegistrySubscribeBody {
12873
+ /**
12874
+ *
12875
+ * @type {string}
12876
+ * @memberof RegistrySubscribeBody
12877
+ */
12878
+ url: string;
12879
+ }
12880
+ /**
12881
+ *
12882
+ * @export
12883
+ * @interface RegistrySubscribeInputDTO
12884
+ */
12885
+ export interface RegistrySubscribeInputDTO {
12886
+ /**
12887
+ *
12888
+ * @type {string}
12889
+ * @memberof RegistrySubscribeInputDTO
12890
+ */
12891
+ url: string;
12892
+ }
12893
+ /**
12894
+ *
12895
+ * @export
12896
+ * @interface RegistryUpdateDTO
12897
+ */
12898
+ export interface RegistryUpdateDTO {
12899
+ /**
12900
+ *
12901
+ * @type {string}
12902
+ * @memberof RegistryUpdateDTO
12903
+ */
12904
+ name?: string;
12905
+ /**
12906
+ *
12907
+ * @type {string}
12908
+ * @memberof RegistryUpdateDTO
12909
+ */
12910
+ description?: string;
12911
+ }
12912
+ /**
12913
+ *
12914
+ * @export
12915
+ * @interface RegistryWithManifestOutputDTO
12916
+ */
12917
+ export interface RegistryWithManifestOutputDTO {
12918
+ /**
12919
+ *
12920
+ * @type {string}
12921
+ * @memberof RegistryWithManifestOutputDTO
12922
+ */
12923
+ url: string;
12924
+ /**
12925
+ *
12926
+ * @type {string}
12927
+ * @memberof RegistryWithManifestOutputDTO
12928
+ */
12929
+ name: string;
12930
+ /**
12931
+ *
12932
+ * @type {string}
12933
+ * @memberof RegistryWithManifestOutputDTO
12934
+ */
12935
+ description?: string;
12936
+ /**
12937
+ *
12938
+ * @type {object}
12939
+ * @memberof RegistryWithManifestOutputDTO
12940
+ */
12941
+ manifest?: object;
12942
+ /**
12943
+ *
12944
+ * @type {string}
12945
+ * @memberof RegistryWithManifestOutputDTO
12946
+ */
12947
+ id: string;
12948
+ /**
12949
+ *
12950
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12951
+ * @memberof RegistryWithManifestOutputDTO
12952
+ */
12953
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12954
+ /**
12955
+ *
12956
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12957
+ * @memberof RegistryWithManifestOutputDTO
12958
+ */
12959
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12960
+ }
12961
+ /**
12962
+ *
12963
+ * @export
12964
+ * @interface RegistryWithManifestOutputDTOAPI
12965
+ */
12966
+ export interface RegistryWithManifestOutputDTOAPI {
12967
+ /**
12968
+ *
12969
+ * @type {RegistryWithManifestOutputDTO}
12970
+ * @memberof RegistryWithManifestOutputDTOAPI
12971
+ */
12972
+ data: RegistryWithManifestOutputDTO;
12973
+ /**
12974
+ *
12975
+ * @type {MetadataOutput}
12976
+ * @memberof RegistryWithManifestOutputDTOAPI
12977
+ */
12978
+ meta: MetadataOutput;
12979
+ }
11909
12980
  /**
11910
12981
  *
11911
12982
  * @export
@@ -12325,7 +13396,7 @@ export interface RoleUpdateInputDTO {
12325
13396
  * @type {string}
12326
13397
  * @memberof RoleUpdateInputDTO
12327
13398
  */
12328
- linkedDiscordRoleId?: string;
13399
+ linkedDiscordRoleId?: string | null;
12329
13400
  }
12330
13401
  /**
12331
13402
  *
@@ -13531,6 +14602,25 @@ export interface ShopDeadStockItemDTO {
13531
14602
  */
13532
14603
  daysSinceLastSale?: number;
13533
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
+ }
13534
14624
  /**
13535
14625
  *
13536
14626
  * @export
@@ -13556,6 +14646,44 @@ export interface ShopImportOptions {
13556
14646
  */
13557
14647
  gameServerId: string;
13558
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
+ }
13559
14687
  /**
13560
14688
  *
13561
14689
  * @export
@@ -14698,6 +15826,175 @@ export interface SmallModuleVersionOutputDTO {
14698
15826
  */
14699
15827
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
14700
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
+ }
14701
15998
  /**
14702
15999
  *
14703
16000
  * @export
@@ -16308,6 +17605,38 @@ export interface UserAssignmentOutputDTO {
16308
17605
  */
16309
17606
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16310
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
+ }
16311
17640
  /**
16312
17641
  *
16313
17642
  * @export
@@ -16455,6 +17784,12 @@ export interface UserOutputDTO {
16455
17784
  * @memberof UserOutputDTO
16456
17785
  */
16457
17786
  isDashboardUser: boolean;
17787
+ /**
17788
+ *
17789
+ * @type {boolean}
17790
+ * @memberof UserOutputDTO
17791
+ */
17792
+ isSupportAccount: boolean;
16458
17793
  /**
16459
17794
  *
16460
17795
  * @type {string}
@@ -16473,6 +17808,12 @@ export interface UserOutputDTO {
16473
17808
  * @memberof UserOutputDTO
16474
17809
  */
16475
17810
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17811
+ /**
17812
+ *
17813
+ * @type {string}
17814
+ * @memberof UserOutputDTO
17815
+ */
17816
+ inviteLinkId?: string;
16476
17817
  }
16477
17818
  /**
16478
17819
  *
@@ -16571,6 +17912,37 @@ export interface UserOutputWithRolesDTO {
16571
17912
  * @memberof UserOutputWithRolesDTO
16572
17913
  */
16573
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;
16574
17946
  }
16575
17947
  /**
16576
17948
  *
@@ -17299,23 +18671,191 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17299
18671
  };
17300
18672
  },
17301
18673
  /**
17302
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCountryDetections`
17303
- * @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
17304
18844
  * @param {string} [startDate]
17305
18845
  * @param {string} [endDate]
17306
18846
  * @param {string} [gameServerId]
17307
- * @param {AnalyticsControllerGetCountryDetectionsPeriodEnum} [period]
18847
+ * @param {AnalyticsControllerGetDailyPlayerEventsPeriodEnum} [period]
17308
18848
  * @param {*} [options] Override http request option.
17309
18849
  * @throws {RequiredError}
17310
18850
  */
17311
- analyticsControllerGetCountryDetections: async (
18851
+ analyticsControllerGetDailyPlayerEvents: async (
17312
18852
  startDate?: string,
17313
18853
  endDate?: string,
17314
18854
  gameServerId?: string,
17315
- period?: AnalyticsControllerGetCountryDetectionsPeriodEnum,
18855
+ period?: AnalyticsControllerGetDailyPlayerEventsPeriodEnum,
17316
18856
  options: RawAxiosRequestConfig = {},
17317
18857
  ): Promise<RequestArgs> => {
17318
- const localVarPath = `/analytics/players/country-detections`;
18858
+ const localVarPath = `/analytics/players/daily-events`;
17319
18859
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17320
18860
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17321
18861
  let baseOptions;
@@ -17355,23 +18895,13 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17355
18895
  };
17356
18896
  },
17357
18897
  /**
17358
- * Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
17359
- * @summary Get currency flow timeseries
17360
- * @param {string} [startDate]
17361
- * @param {string} [endDate]
17362
- * @param {string} [gameServerId]
17363
- * @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
18898
+ * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEntityCounts`
18899
+ * @summary Get entity counts (game servers, players, users)
17364
18900
  * @param {*} [options] Override http request option.
17365
18901
  * @throws {RequiredError}
17366
18902
  */
17367
- analyticsControllerGetCurrencyFlow: async (
17368
- startDate?: string,
17369
- endDate?: string,
17370
- gameServerId?: string,
17371
- period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
17372
- options: RawAxiosRequestConfig = {},
17373
- ): Promise<RequestArgs> => {
17374
- const localVarPath = `/analytics/players/currency-flow`;
18903
+ analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18904
+ const localVarPath = `/analytics/overview/entity-counts`;
17375
18905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17376
18906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17377
18907
  let baseOptions;
@@ -17385,22 +18915,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17385
18915
 
17386
18916
  // authentication domainAuth required
17387
18917
 
17388
- if (startDate !== undefined) {
17389
- localVarQueryParameter['startDate'] = startDate;
17390
- }
17391
-
17392
- if (endDate !== undefined) {
17393
- localVarQueryParameter['endDate'] = endDate;
17394
- }
17395
-
17396
- if (gameServerId !== undefined) {
17397
- localVarQueryParameter['gameServerId'] = gameServerId;
17398
- }
17399
-
17400
- if (period !== undefined) {
17401
- localVarQueryParameter['period'] = period;
17402
- }
17403
-
17404
18918
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17405
18919
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17406
18920
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -17411,23 +18925,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17411
18925
  };
17412
18926
  },
17413
18927
  /**
17414
- * Aggregate currency values from player-sync-snapshot events, bucketed by time. gameServerId is optional. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyTimeseries`
17415
- * @summary Get currency in circulation timeseries
18928
+ * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
18929
+ * @summary Get event volume time series
17416
18930
  * @param {string} [startDate]
17417
18931
  * @param {string} [endDate]
17418
18932
  * @param {string} [gameServerId]
17419
- * @param {AnalyticsControllerGetCurrencyTimeseriesPeriodEnum} [period]
18933
+ * @param {AnalyticsControllerGetEventVolumePeriodEnum} [period]
17420
18934
  * @param {*} [options] Override http request option.
17421
18935
  * @throws {RequiredError}
17422
18936
  */
17423
- analyticsControllerGetCurrencyTimeseries: async (
18937
+ analyticsControllerGetEventVolume: async (
17424
18938
  startDate?: string,
17425
18939
  endDate?: string,
17426
18940
  gameServerId?: string,
17427
- period?: AnalyticsControllerGetCurrencyTimeseriesPeriodEnum,
18941
+ period?: AnalyticsControllerGetEventVolumePeriodEnum,
17428
18942
  options: RawAxiosRequestConfig = {},
17429
18943
  ): Promise<RequestArgs> => {
17430
- const localVarPath = `/analytics/gameserver/currency-timeseries`;
18944
+ const localVarPath = `/analytics/overview/event-volume`;
17431
18945
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17432
18946
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17433
18947
  let baseOptions;
@@ -17467,23 +18981,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17467
18981
  };
17468
18982
  },
17469
18983
  /**
17470
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetDailyPlayerEvents`
17471
- * @summary Get daily player event counts for calendar heatmap
18984
+ * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetHourlyActivePlayers`
18985
+ * @summary Get hourly active players time series
17472
18986
  * @param {string} [startDate]
17473
18987
  * @param {string} [endDate]
17474
18988
  * @param {string} [gameServerId]
17475
- * @param {AnalyticsControllerGetDailyPlayerEventsPeriodEnum} [period]
18989
+ * @param {AnalyticsControllerGetHourlyActivePlayersPeriodEnum} [period]
17476
18990
  * @param {*} [options] Override http request option.
17477
18991
  * @throws {RequiredError}
17478
18992
  */
17479
- analyticsControllerGetDailyPlayerEvents: async (
18993
+ analyticsControllerGetHourlyActivePlayers: async (
17480
18994
  startDate?: string,
17481
18995
  endDate?: string,
17482
18996
  gameServerId?: string,
17483
- period?: AnalyticsControllerGetDailyPlayerEventsPeriodEnum,
18997
+ period?: AnalyticsControllerGetHourlyActivePlayersPeriodEnum,
17484
18998
  options: RawAxiosRequestConfig = {},
17485
18999
  ): Promise<RequestArgs> => {
17486
- const localVarPath = `/analytics/players/daily-events`;
19000
+ const localVarPath = `/analytics/players/hourly-active`;
17487
19001
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17488
19002
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17489
19003
  let baseOptions;
@@ -17523,53 +19037,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17523
19037
  };
17524
19038
  },
17525
19039
  /**
17526
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEntityCounts`
17527
- * @summary Get entity counts (game servers, players, users)
17528
- * @param {*} [options] Override http request option.
17529
- * @throws {RequiredError}
17530
- */
17531
- analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17532
- const localVarPath = `/analytics/overview/entity-counts`;
17533
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17534
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17535
- let baseOptions;
17536
- if (configuration) {
17537
- baseOptions = configuration.baseOptions;
17538
- }
17539
-
17540
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17541
- const localVarHeaderParameter = {} as any;
17542
- const localVarQueryParameter = {} as any;
17543
-
17544
- // authentication domainAuth required
17545
-
17546
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17547
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17548
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17549
-
17550
- return {
17551
- url: toPathString(localVarUrlObj),
17552
- options: localVarRequestOptions,
17553
- };
17554
- },
17555
- /**
17556
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
17557
- * @summary Get event volume time series
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
17558
19042
  * @param {string} [startDate]
17559
19043
  * @param {string} [endDate]
17560
19044
  * @param {string} [gameServerId]
17561
- * @param {AnalyticsControllerGetEventVolumePeriodEnum} [period]
19045
+ * @param {AnalyticsControllerGetHourlyOrderVolumePeriodEnum} [period]
17562
19046
  * @param {*} [options] Override http request option.
17563
19047
  * @throws {RequiredError}
17564
19048
  */
17565
- analyticsControllerGetEventVolume: async (
19049
+ analyticsControllerGetHourlyOrderVolume: async (
17566
19050
  startDate?: string,
17567
19051
  endDate?: string,
17568
19052
  gameServerId?: string,
17569
- period?: AnalyticsControllerGetEventVolumePeriodEnum,
19053
+ period?: AnalyticsControllerGetHourlyOrderVolumePeriodEnum,
17570
19054
  options: RawAxiosRequestConfig = {},
17571
19055
  ): Promise<RequestArgs> => {
17572
- const localVarPath = `/analytics/overview/event-volume`;
19056
+ const localVarPath = `/analytics/shop/hourly-orders`;
17573
19057
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17574
19058
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17575
19059
  let baseOptions;
@@ -17609,23 +19093,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17609
19093
  };
17610
19094
  },
17611
19095
  /**
17612
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetHourlyActivePlayers`
17613
- * @summary Get hourly active players time series
19096
+ * Daily counts of player-banned and player-unbanned events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModerationTimeseries`
19097
+ * @summary Get moderation timeseries
17614
19098
  * @param {string} [startDate]
17615
19099
  * @param {string} [endDate]
17616
19100
  * @param {string} [gameServerId]
17617
- * @param {AnalyticsControllerGetHourlyActivePlayersPeriodEnum} [period]
19101
+ * @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
17618
19102
  * @param {*} [options] Override http request option.
17619
19103
  * @throws {RequiredError}
17620
19104
  */
17621
- analyticsControllerGetHourlyActivePlayers: async (
19105
+ analyticsControllerGetModerationTimeseries: async (
17622
19106
  startDate?: string,
17623
19107
  endDate?: string,
17624
19108
  gameServerId?: string,
17625
- period?: AnalyticsControllerGetHourlyActivePlayersPeriodEnum,
19109
+ period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
17626
19110
  options: RawAxiosRequestConfig = {},
17627
19111
  ): Promise<RequestArgs> => {
17628
- const localVarPath = `/analytics/players/hourly-active`;
19112
+ const localVarPath = `/analytics/players/moderation`;
17629
19113
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17630
19114
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17631
19115
  let baseOptions;
@@ -17665,23 +19149,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17665
19149
  };
17666
19150
  },
17667
19151
  /**
17668
- * Returns orders + revenue bucketed to match the selected period. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetHourlyOrderVolume`
17669
- * @summary Get shop order volume + revenue over time
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
17670
19154
  * @param {string} [startDate]
17671
19155
  * @param {string} [endDate]
17672
19156
  * @param {string} [gameServerId]
17673
- * @param {AnalyticsControllerGetHourlyOrderVolumePeriodEnum} [period]
19157
+ * @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
17674
19158
  * @param {*} [options] Override http request option.
17675
19159
  * @throws {RequiredError}
17676
19160
  */
17677
- analyticsControllerGetHourlyOrderVolume: async (
19161
+ analyticsControllerGetModuleHealth: async (
17678
19162
  startDate?: string,
17679
19163
  endDate?: string,
17680
19164
  gameServerId?: string,
17681
- period?: AnalyticsControllerGetHourlyOrderVolumePeriodEnum,
19165
+ period?: AnalyticsControllerGetModuleHealthPeriodEnum,
17682
19166
  options: RawAxiosRequestConfig = {},
17683
19167
  ): Promise<RequestArgs> => {
17684
- const localVarPath = `/analytics/shop/hourly-orders`;
19168
+ const localVarPath = `/analytics/modules/health`;
17685
19169
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17686
19170
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17687
19171
  let baseOptions;
@@ -17721,23 +19205,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17721
19205
  };
17722
19206
  },
17723
19207
  /**
17724
- * Daily counts of player-banned and player-unbanned events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModerationTimeseries`
17725
- * @summary Get moderation timeseries
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
17726
19212
  * @param {string} [startDate]
17727
19213
  * @param {string} [endDate]
17728
- * @param {string} [gameServerId]
17729
- * @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
19214
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
17730
19215
  * @param {*} [options] Override http request option.
17731
19216
  * @throws {RequiredError}
17732
19217
  */
17733
- analyticsControllerGetModerationTimeseries: async (
19218
+ analyticsControllerGetModuleInstallationKpis: async (
19219
+ gameServerId: string,
19220
+ moduleId: string,
17734
19221
  startDate?: string,
17735
19222
  endDate?: string,
17736
- gameServerId?: string,
17737
- period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
19223
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
17738
19224
  options: RawAxiosRequestConfig = {},
17739
19225
  ): Promise<RequestArgs> => {
17740
- const localVarPath = `/analytics/players/moderation`;
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`;
17741
19231
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17742
19232
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17743
19233
  let baseOptions;
@@ -17763,60 +19253,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17763
19253
  localVarQueryParameter['gameServerId'] = gameServerId;
17764
19254
  }
17765
19255
 
17766
- if (period !== undefined) {
17767
- localVarQueryParameter['period'] = period;
17768
- }
17769
-
17770
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17771
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17772
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17773
-
17774
- return {
17775
- url: toPathString(localVarUrlObj),
17776
- options: localVarRequestOptions,
17777
- };
17778
- },
17779
- /**
17780
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
17781
- * @summary Get module health scores
17782
- * @param {string} [startDate]
17783
- * @param {string} [endDate]
17784
- * @param {string} [gameServerId]
17785
- * @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
17786
- * @param {*} [options] Override http request option.
17787
- * @throws {RequiredError}
17788
- */
17789
- analyticsControllerGetModuleHealth: async (
17790
- startDate?: string,
17791
- endDate?: string,
17792
- gameServerId?: string,
17793
- period?: AnalyticsControllerGetModuleHealthPeriodEnum,
17794
- options: RawAxiosRequestConfig = {},
17795
- ): Promise<RequestArgs> => {
17796
- const localVarPath = `/analytics/modules/health`;
17797
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17798
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17799
- let baseOptions;
17800
- if (configuration) {
17801
- baseOptions = configuration.baseOptions;
17802
- }
17803
-
17804
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17805
- const localVarHeaderParameter = {} as any;
17806
- const localVarQueryParameter = {} as any;
17807
-
17808
- // authentication domainAuth required
17809
-
17810
- if (startDate !== undefined) {
17811
- localVarQueryParameter['startDate'] = startDate;
17812
- }
17813
-
17814
- if (endDate !== undefined) {
17815
- localVarQueryParameter['endDate'] = endDate;
17816
- }
17817
-
17818
- if (gameServerId !== undefined) {
17819
- localVarQueryParameter['gameServerId'] = gameServerId;
19256
+ if (moduleId !== undefined) {
19257
+ localVarQueryParameter['moduleId'] = moduleId;
17820
19258
  }
17821
19259
 
17822
19260
  if (period !== undefined) {
@@ -18898,7 +20336,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18898
20336
  },
18899
20337
  /**
18900
20338
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
18901
- * @summary Get top modules by event volume
20339
+ * @summary Get top modules by execution volume
18902
20340
  * @param {string} [startDate]
18903
20341
  * @param {string} [endDate]
18904
20342
  * @param {string} [gameServerId]
@@ -19432,7 +20870,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
19432
20870
  )(axios, localVarOperationServerBasePath || basePath);
19433
20871
  },
19434
20872
  /**
19435
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20873
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
19436
20874
  * @summary Get module health scores
19437
20875
  * @param {string} [startDate]
19438
20876
  * @param {string} [endDate]
@@ -19466,6 +20904,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
19466
20904
  configuration,
19467
20905
  )(axios, localVarOperationServerBasePath || basePath);
19468
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
+ },
19469
20946
  /**
19470
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`
19471
20948
  * @summary Get module item failure aggregate
@@ -20145,7 +21622,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20145
21622
  },
20146
21623
  /**
20147
21624
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
20148
- * @summary Get top modules by event volume
21625
+ * @summary Get top modules by execution volume
20149
21626
  * @param {string} [startDate]
20150
21627
  * @param {string} [endDate]
20151
21628
  * @param {string} [gameServerId]
@@ -20467,7 +21944,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20467
21944
  .then((request) => request(axios, basePath));
20468
21945
  },
20469
21946
  /**
20470
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21947
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20471
21948
  * @summary Get module health scores
20472
21949
  * @param {string} [startDate]
20473
21950
  * @param {string} [endDate]
@@ -20487,6 +21964,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20487
21964
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
20488
21965
  .then((request) => request(axios, basePath));
20489
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
+ },
20490
21990
  /**
20491
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`
20492
21992
  * @summary Get module item failure aggregate
@@ -20888,7 +22388,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20888
22388
  },
20889
22389
  /**
20890
22390
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
20891
- * @summary Get top modules by event volume
22391
+ * @summary Get top modules by execution volume
20892
22392
  * @param {string} [startDate]
20893
22393
  * @param {string} [endDate]
20894
22394
  * @param {string} [gameServerId]
@@ -21207,7 +22707,7 @@ export class AnalyticsApi extends BaseAPI {
21207
22707
  }
21208
22708
 
21209
22709
  /**
21210
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22710
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21211
22711
  * @summary Get module health scores
21212
22712
  * @param {string} [startDate]
21213
22713
  * @param {string} [endDate]
@@ -21229,6 +22729,31 @@ export class AnalyticsApi extends BaseAPI {
21229
22729
  .then((request) => request(this.axios, this.basePath));
21230
22730
  }
21231
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
+
21232
22757
  /**
21233
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`
21234
22759
  * @summary Get module item failure aggregate
@@ -21668,7 +23193,7 @@ export class AnalyticsApi extends BaseAPI {
21668
23193
 
21669
23194
  /**
21670
23195
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
21671
- * @summary Get top modules by event volume
23196
+ * @summary Get top modules by execution volume
21672
23197
  * @param {string} [startDate]
21673
23198
  * @param {string} [endDate]
21674
23199
  * @param {string} [gameServerId]
@@ -21848,6 +23373,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
21848
23373
  /**
21849
23374
  * @export
21850
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
+ */
21851
23387
  export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
21852
23388
  _24h: '24h',
21853
23389
  _7d: '7d',
@@ -22077,6 +23613,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
22077
23613
  export type AnalyticsControllerGetTopServersPeriodEnum =
22078
23614
  (typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
22079
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
+
22080
23955
  /**
22081
23956
  * CommandApi - axios parameter creator
22082
23957
  * @export
@@ -34326,6 +36201,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
34326
36201
  }
34327
36202
  }
34328
36203
 
36204
+ /**
36205
+ * RegistryApi - axios parameter creator
36206
+ * @export
36207
+ */
36208
+ export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
36209
+ return {
36210
+ /**
36211
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
36212
+ * @summary Install a module from a registry
36213
+ * @param {string} id
36214
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
36215
+ * @param {*} [options] Override http request option.
36216
+ * @throws {RequiredError}
36217
+ */
36218
+ registryControllerInstall: async (
36219
+ id: string,
36220
+ registryInstallBody?: RegistryInstallBody,
36221
+ options: RawAxiosRequestConfig = {},
36222
+ ): Promise<RequestArgs> => {
36223
+ // verify required parameter 'id' is not null or undefined
36224
+ assertParamExists('registryControllerInstall', 'id', id);
36225
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
36226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36228
+ let baseOptions;
36229
+ if (configuration) {
36230
+ baseOptions = configuration.baseOptions;
36231
+ }
36232
+
36233
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
36234
+ const localVarHeaderParameter = {} as any;
36235
+ const localVarQueryParameter = {} as any;
36236
+
36237
+ // authentication domainAuth required
36238
+
36239
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36240
+
36241
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36243
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
36244
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
36245
+
36246
+ return {
36247
+ url: toPathString(localVarUrlObj),
36248
+ options: localVarRequestOptions,
36249
+ };
36250
+ },
36251
+ /**
36252
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
36253
+ * @summary List subscribed registries
36254
+ * @param {*} [options] Override http request option.
36255
+ * @throws {RequiredError}
36256
+ */
36257
+ registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36258
+ const localVarPath = `/registry`;
36259
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36260
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36261
+ let baseOptions;
36262
+ if (configuration) {
36263
+ baseOptions = configuration.baseOptions;
36264
+ }
36265
+
36266
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
36267
+ const localVarHeaderParameter = {} as any;
36268
+ const localVarQueryParameter = {} as any;
36269
+
36270
+ // authentication domainAuth required
36271
+
36272
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36273
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36274
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
36275
+
36276
+ return {
36277
+ url: toPathString(localVarUrlObj),
36278
+ options: localVarRequestOptions,
36279
+ };
36280
+ },
36281
+ /**
36282
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
36283
+ * @summary Refresh registry manifest
36284
+ * @param {string} id
36285
+ * @param {*} [options] Override http request option.
36286
+ * @throws {RequiredError}
36287
+ */
36288
+ registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36289
+ // verify required parameter 'id' is not null or undefined
36290
+ assertParamExists('registryControllerRefresh', 'id', id);
36291
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
36292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36294
+ let baseOptions;
36295
+ if (configuration) {
36296
+ baseOptions = configuration.baseOptions;
36297
+ }
36298
+
36299
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
36300
+ const localVarHeaderParameter = {} as any;
36301
+ const localVarQueryParameter = {} as any;
36302
+
36303
+ // authentication domainAuth required
36304
+
36305
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36306
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36307
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
36308
+
36309
+ return {
36310
+ url: toPathString(localVarUrlObj),
36311
+ options: localVarRequestOptions,
36312
+ };
36313
+ },
36314
+ /**
36315
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
36316
+ * @summary Subscribe to a registry
36317
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
36318
+ * @param {*} [options] Override http request option.
36319
+ * @throws {RequiredError}
36320
+ */
36321
+ registryControllerSubscribe: async (
36322
+ registrySubscribeBody?: RegistrySubscribeBody,
36323
+ options: RawAxiosRequestConfig = {},
36324
+ ): Promise<RequestArgs> => {
36325
+ const localVarPath = `/registry`;
36326
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36327
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36328
+ let baseOptions;
36329
+ if (configuration) {
36330
+ baseOptions = configuration.baseOptions;
36331
+ }
36332
+
36333
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
36334
+ const localVarHeaderParameter = {} as any;
36335
+ const localVarQueryParameter = {} as any;
36336
+
36337
+ // authentication domainAuth required
36338
+
36339
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36340
+
36341
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36342
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36343
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
36344
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
36345
+
36346
+ return {
36347
+ url: toPathString(localVarUrlObj),
36348
+ options: localVarRequestOptions,
36349
+ };
36350
+ },
36351
+ /**
36352
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
36353
+ * @summary Unsubscribe from a registry
36354
+ * @param {string} id
36355
+ * @param {*} [options] Override http request option.
36356
+ * @throws {RequiredError}
36357
+ */
36358
+ registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36359
+ // verify required parameter 'id' is not null or undefined
36360
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
36361
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
36362
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36363
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36364
+ let baseOptions;
36365
+ if (configuration) {
36366
+ baseOptions = configuration.baseOptions;
36367
+ }
36368
+
36369
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
36370
+ const localVarHeaderParameter = {} as any;
36371
+ const localVarQueryParameter = {} as any;
36372
+
36373
+ // authentication domainAuth required
36374
+
36375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36377
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
36378
+
36379
+ return {
36380
+ url: toPathString(localVarUrlObj),
36381
+ options: localVarRequestOptions,
36382
+ };
36383
+ },
36384
+ };
36385
+ };
36386
+
36387
+ /**
36388
+ * RegistryApi - functional programming interface
36389
+ * @export
36390
+ */
36391
+ export const RegistryApiFp = function (configuration?: Configuration) {
36392
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
36393
+ return {
36394
+ /**
36395
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
36396
+ * @summary Install a module from a registry
36397
+ * @param {string} id
36398
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
36399
+ * @param {*} [options] Override http request option.
36400
+ * @throws {RequiredError}
36401
+ */
36402
+ async registryControllerInstall(
36403
+ id: string,
36404
+ registryInstallBody?: RegistryInstallBody,
36405
+ options?: RawAxiosRequestConfig,
36406
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
36407
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
36408
+ id,
36409
+ registryInstallBody,
36410
+ options,
36411
+ );
36412
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36413
+ const localVarOperationServerBasePath =
36414
+ operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
36415
+ return (axios, basePath) =>
36416
+ createRequestFunction(
36417
+ localVarAxiosArgs,
36418
+ globalAxios,
36419
+ BASE_PATH,
36420
+ configuration,
36421
+ )(axios, localVarOperationServerBasePath || basePath);
36422
+ },
36423
+ /**
36424
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
36425
+ * @summary List subscribed registries
36426
+ * @param {*} [options] Override http request option.
36427
+ * @throws {RequiredError}
36428
+ */
36429
+ async registryControllerList(
36430
+ options?: RawAxiosRequestConfig,
36431
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
36432
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
36433
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36434
+ const localVarOperationServerBasePath =
36435
+ operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
36436
+ return (axios, basePath) =>
36437
+ createRequestFunction(
36438
+ localVarAxiosArgs,
36439
+ globalAxios,
36440
+ BASE_PATH,
36441
+ configuration,
36442
+ )(axios, localVarOperationServerBasePath || basePath);
36443
+ },
36444
+ /**
36445
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
36446
+ * @summary Refresh registry manifest
36447
+ * @param {string} id
36448
+ * @param {*} [options] Override http request option.
36449
+ * @throws {RequiredError}
36450
+ */
36451
+ async registryControllerRefresh(
36452
+ id: string,
36453
+ options?: RawAxiosRequestConfig,
36454
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
36455
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
36456
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36457
+ const localVarOperationServerBasePath =
36458
+ operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
36459
+ return (axios, basePath) =>
36460
+ createRequestFunction(
36461
+ localVarAxiosArgs,
36462
+ globalAxios,
36463
+ BASE_PATH,
36464
+ configuration,
36465
+ )(axios, localVarOperationServerBasePath || basePath);
36466
+ },
36467
+ /**
36468
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
36469
+ * @summary Subscribe to a registry
36470
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
36471
+ * @param {*} [options] Override http request option.
36472
+ * @throws {RequiredError}
36473
+ */
36474
+ async registryControllerSubscribe(
36475
+ registrySubscribeBody?: RegistrySubscribeBody,
36476
+ options?: RawAxiosRequestConfig,
36477
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
36478
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
36479
+ registrySubscribeBody,
36480
+ options,
36481
+ );
36482
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36483
+ const localVarOperationServerBasePath =
36484
+ operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
36485
+ return (axios, basePath) =>
36486
+ createRequestFunction(
36487
+ localVarAxiosArgs,
36488
+ globalAxios,
36489
+ BASE_PATH,
36490
+ configuration,
36491
+ )(axios, localVarOperationServerBasePath || basePath);
36492
+ },
36493
+ /**
36494
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
36495
+ * @summary Unsubscribe from a registry
36496
+ * @param {string} id
36497
+ * @param {*} [options] Override http request option.
36498
+ * @throws {RequiredError}
36499
+ */
36500
+ async registryControllerUnsubscribe(
36501
+ id: string,
36502
+ options?: RawAxiosRequestConfig,
36503
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
36504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
36505
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36506
+ const localVarOperationServerBasePath =
36507
+ operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
36508
+ return (axios, basePath) =>
36509
+ createRequestFunction(
36510
+ localVarAxiosArgs,
36511
+ globalAxios,
36512
+ BASE_PATH,
36513
+ configuration,
36514
+ )(axios, localVarOperationServerBasePath || basePath);
36515
+ },
36516
+ };
36517
+ };
36518
+
36519
+ /**
36520
+ * RegistryApi - factory interface
36521
+ * @export
36522
+ */
36523
+ export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36524
+ const localVarFp = RegistryApiFp(configuration);
36525
+ return {
36526
+ /**
36527
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
36528
+ * @summary Install a module from a registry
36529
+ * @param {string} id
36530
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
36531
+ * @param {*} [options] Override http request option.
36532
+ * @throws {RequiredError}
36533
+ */
36534
+ registryControllerInstall(
36535
+ id: string,
36536
+ registryInstallBody?: RegistryInstallBody,
36537
+ options?: RawAxiosRequestConfig,
36538
+ ): AxiosPromise<APIOutput> {
36539
+ return localVarFp
36540
+ .registryControllerInstall(id, registryInstallBody, options)
36541
+ .then((request) => request(axios, basePath));
36542
+ },
36543
+ /**
36544
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
36545
+ * @summary List subscribed registries
36546
+ * @param {*} [options] Override http request option.
36547
+ * @throws {RequiredError}
36548
+ */
36549
+ registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
36550
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
36551
+ },
36552
+ /**
36553
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
36554
+ * @summary Refresh registry manifest
36555
+ * @param {string} id
36556
+ * @param {*} [options] Override http request option.
36557
+ * @throws {RequiredError}
36558
+ */
36559
+ registryControllerRefresh(
36560
+ id: string,
36561
+ options?: RawAxiosRequestConfig,
36562
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
36563
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
36564
+ },
36565
+ /**
36566
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
36567
+ * @summary Subscribe to a registry
36568
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
36569
+ * @param {*} [options] Override http request option.
36570
+ * @throws {RequiredError}
36571
+ */
36572
+ registryControllerSubscribe(
36573
+ registrySubscribeBody?: RegistrySubscribeBody,
36574
+ options?: RawAxiosRequestConfig,
36575
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
36576
+ return localVarFp
36577
+ .registryControllerSubscribe(registrySubscribeBody, options)
36578
+ .then((request) => request(axios, basePath));
36579
+ },
36580
+ /**
36581
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
36582
+ * @summary Unsubscribe from a registry
36583
+ * @param {string} id
36584
+ * @param {*} [options] Override http request option.
36585
+ * @throws {RequiredError}
36586
+ */
36587
+ registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
36588
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
36589
+ },
36590
+ };
36591
+ };
36592
+
36593
+ /**
36594
+ * RegistryApi - object-oriented interface
36595
+ * @export
36596
+ * @class RegistryApi
36597
+ * @extends {BaseAPI}
36598
+ */
36599
+ export class RegistryApi extends BaseAPI {
36600
+ /**
36601
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
36602
+ * @summary Install a module from a registry
36603
+ * @param {string} id
36604
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
36605
+ * @param {*} [options] Override http request option.
36606
+ * @throws {RequiredError}
36607
+ * @memberof RegistryApi
36608
+ */
36609
+ public registryControllerInstall(
36610
+ id: string,
36611
+ registryInstallBody?: RegistryInstallBody,
36612
+ options?: RawAxiosRequestConfig,
36613
+ ) {
36614
+ return RegistryApiFp(this.configuration)
36615
+ .registryControllerInstall(id, registryInstallBody, options)
36616
+ .then((request) => request(this.axios, this.basePath));
36617
+ }
36618
+
36619
+ /**
36620
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
36621
+ * @summary List subscribed registries
36622
+ * @param {*} [options] Override http request option.
36623
+ * @throws {RequiredError}
36624
+ * @memberof RegistryApi
36625
+ */
36626
+ public registryControllerList(options?: RawAxiosRequestConfig) {
36627
+ return RegistryApiFp(this.configuration)
36628
+ .registryControllerList(options)
36629
+ .then((request) => request(this.axios, this.basePath));
36630
+ }
36631
+
36632
+ /**
36633
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
36634
+ * @summary Refresh registry manifest
36635
+ * @param {string} id
36636
+ * @param {*} [options] Override http request option.
36637
+ * @throws {RequiredError}
36638
+ * @memberof RegistryApi
36639
+ */
36640
+ public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
36641
+ return RegistryApiFp(this.configuration)
36642
+ .registryControllerRefresh(id, options)
36643
+ .then((request) => request(this.axios, this.basePath));
36644
+ }
36645
+
36646
+ /**
36647
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
36648
+ * @summary Subscribe to a registry
36649
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
36650
+ * @param {*} [options] Override http request option.
36651
+ * @throws {RequiredError}
36652
+ * @memberof RegistryApi
36653
+ */
36654
+ public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
36655
+ return RegistryApiFp(this.configuration)
36656
+ .registryControllerSubscribe(registrySubscribeBody, options)
36657
+ .then((request) => request(this.axios, this.basePath));
36658
+ }
36659
+
36660
+ /**
36661
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
36662
+ * @summary Unsubscribe from a registry
36663
+ * @param {string} id
36664
+ * @param {*} [options] Override http request option.
36665
+ * @throws {RequiredError}
36666
+ * @memberof RegistryApi
36667
+ */
36668
+ public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
36669
+ return RegistryApiFp(this.configuration)
36670
+ .registryControllerUnsubscribe(id, options)
36671
+ .then((request) => request(this.axios, this.basePath));
36672
+ }
36673
+ }
36674
+
34329
36675
  /**
34330
36676
  * RoleApi - axios parameter creator
34331
36677
  * @export
@@ -37148,7 +39494,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
37148
39494
  */
37149
39495
  async shopListingControllerImportListings(
37150
39496
  options?: RawAxiosRequestConfig,
37151
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
39497
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
37152
39498
  const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
37153
39499
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37154
39500
  const localVarOperationServerBasePath =
@@ -37271,7 +39617,7 @@ export const ShopListingApiFactory = function (
37271
39617
  * @param {*} [options] Override http request option.
37272
39618
  * @throws {RequiredError}
37273
39619
  */
37274
- shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
39620
+ shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
37275
39621
  return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
37276
39622
  },
37277
39623
  /**
@@ -37551,17 +39897,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
37551
39897
  };
37552
39898
  },
37553
39899
  /**
37554
- * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
37555
- * @summary Search orders
37556
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
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
37557
40299
  * @param {*} [options] Override http request option.
37558
40300
  * @throws {RequiredError}
37559
40301
  */
37560
- shopOrderControllerSearch: async (
37561
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40302
+ storefrontConfigControllerSetConfig: async (
40303
+ gameServerId: string,
40304
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
37562
40305
  options: RawAxiosRequestConfig = {},
37563
40306
  ): Promise<RequestArgs> => {
37564
- const localVarPath = `/shop/order/search`;
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
+ );
37565
40313
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
37566
40314
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37567
40315
  let baseOptions;
@@ -37569,7 +40317,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
37569
40317
  baseOptions = configuration.baseOptions;
37570
40318
  }
37571
40319
 
37572
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
40320
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
37573
40321
  const localVarHeaderParameter = {} as any;
37574
40322
  const localVarQueryParameter = {} as any;
37575
40323
 
@@ -37581,7 +40329,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
37581
40329
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37582
40330
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
37583
40331
  localVarRequestOptions.data = serializeDataIfNeeded(
37584
- shopOrderSearchInputDTO,
40332
+ storefrontConfigUpsertBody,
37585
40333
  localVarRequestOptions,
37586
40334
  configuration,
37587
40335
  );
@@ -37595,73 +40343,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
37595
40343
  };
37596
40344
 
37597
40345
  /**
37598
- * ShopOrderApi - functional programming interface
40346
+ * StorefrontConfigApi - functional programming interface
37599
40347
  * @export
37600
40348
  */
37601
- export const ShopOrderApiFp = function (configuration?: Configuration) {
37602
- const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
40349
+ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
40350
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
37603
40351
  return {
37604
40352
  /**
37605
- * <br> OperationId: `ShopOrderControllerCancel`
37606
- * @summary Cancel
37607
- * @param {string} id
37608
- * @param {*} [options] Override http request option.
37609
- * @throws {RequiredError}
37610
- */
37611
- async shopOrderControllerCancel(
37612
- id: string,
37613
- options?: RawAxiosRequestConfig,
37614
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
37615
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
37616
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37617
- const localVarOperationServerBasePath =
37618
- operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
37619
- return (axios, basePath) =>
37620
- createRequestFunction(
37621
- localVarAxiosArgs,
37622
- globalAxios,
37623
- BASE_PATH,
37624
- configuration,
37625
- )(axios, localVarOperationServerBasePath || basePath);
37626
- },
37627
- /**
37628
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
37629
- * @summary Claim an order
37630
- * @param {string} id
37631
- * @param {*} [options] Override http request option.
37632
- * @throws {RequiredError}
37633
- */
37634
- async shopOrderControllerClaim(
37635
- id: string,
37636
- options?: RawAxiosRequestConfig,
37637
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
37638
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
37639
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37640
- const localVarOperationServerBasePath =
37641
- operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
37642
- return (axios, basePath) =>
37643
- createRequestFunction(
37644
- localVarAxiosArgs,
37645
- globalAxios,
37646
- BASE_PATH,
37647
- configuration,
37648
- )(axios, localVarOperationServerBasePath || basePath);
37649
- },
37650
- /**
37651
- * <br> OperationId: `ShopOrderControllerCreate`
37652
- * @summary Create
37653
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
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
37654
40356
  * @param {*} [options] Override http request option.
37655
40357
  * @throws {RequiredError}
37656
40358
  */
37657
- async shopOrderControllerCreate(
37658
- shopOrderCreateDTO?: ShopOrderCreateDTO,
40359
+ async storefrontConfigControllerGetEffectiveConfig(
40360
+ gameServerId: string,
37659
40361
  options?: RawAxiosRequestConfig,
37660
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
37661
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
40362
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
40363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
40364
+ gameServerId,
40365
+ options,
40366
+ );
37662
40367
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37663
40368
  const localVarOperationServerBasePath =
37664
- operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
40369
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
40370
+ localVarOperationServerIndex
40371
+ ]?.url;
37665
40372
  return (axios, basePath) =>
37666
40373
  createRequestFunction(
37667
40374
  localVarAxiosArgs,
@@ -37671,20 +40378,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
37671
40378
  )(axios, localVarOperationServerBasePath || basePath);
37672
40379
  },
37673
40380
  /**
37674
- * 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`
37675
- * @summary Get order by ID
37676
- * @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
37677
40383
  * @param {*} [options] Override http request option.
37678
40384
  * @throws {RequiredError}
37679
40385
  */
37680
- async shopOrderControllerGetOne(
37681
- id: string,
40386
+ async storefrontConfigControllerListTemplates(
37682
40387
  options?: RawAxiosRequestConfig,
37683
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
37684
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
40388
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
40389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
37685
40390
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37686
40391
  const localVarOperationServerBasePath =
37687
- operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
40392
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
40393
+ localVarOperationServerIndex
40394
+ ]?.url;
37688
40395
  return (axios, basePath) =>
37689
40396
  createRequestFunction(
37690
40397
  localVarAxiosArgs,
@@ -37694,23 +40401,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
37694
40401
  )(axios, localVarOperationServerBasePath || basePath);
37695
40402
  },
37696
40403
  /**
37697
- * 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`
37698
- * @summary Search orders
37699
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
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
37700
40408
  * @param {*} [options] Override http request option.
37701
40409
  * @throws {RequiredError}
37702
40410
  */
37703
- async shopOrderControllerSearch(
37704
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40411
+ async storefrontConfigControllerSetConfig(
40412
+ gameServerId: string,
40413
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
37705
40414
  options?: RawAxiosRequestConfig,
37706
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
37707
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
37708
- shopOrderSearchInputDTO,
40415
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
40416
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
40417
+ gameServerId,
40418
+ storefrontConfigUpsertBody,
37709
40419
  options,
37710
40420
  );
37711
40421
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37712
40422
  const localVarOperationServerBasePath =
37713
- operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
40423
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
40424
+ ?.url;
37714
40425
  return (axios, basePath) =>
37715
40426
  createRequestFunction(
37716
40427
  localVarAxiosArgs,
@@ -37723,149 +40434,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
37723
40434
  };
37724
40435
 
37725
40436
  /**
37726
- * ShopOrderApi - factory interface
40437
+ * StorefrontConfigApi - factory interface
37727
40438
  * @export
37728
40439
  */
37729
- export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
37730
- const localVarFp = ShopOrderApiFp(configuration);
40440
+ export const StorefrontConfigApiFactory = function (
40441
+ configuration?: Configuration,
40442
+ basePath?: string,
40443
+ axios?: AxiosInstance,
40444
+ ) {
40445
+ const localVarFp = StorefrontConfigApiFp(configuration);
37731
40446
  return {
37732
40447
  /**
37733
- * <br> OperationId: `ShopOrderControllerCancel`
37734
- * @summary Cancel
37735
- * @param {string} id
37736
- * @param {*} [options] Override http request option.
37737
- * @throws {RequiredError}
37738
- */
37739
- shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
37740
- return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
37741
- },
37742
- /**
37743
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
37744
- * @summary Claim an order
37745
- * @param {string} id
37746
- * @param {*} [options] Override http request option.
37747
- * @throws {RequiredError}
37748
- */
37749
- shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
37750
- return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
37751
- },
37752
- /**
37753
- * <br> OperationId: `ShopOrderControllerCreate`
37754
- * @summary Create
37755
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
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
37756
40451
  * @param {*} [options] Override http request option.
37757
40452
  * @throws {RequiredError}
37758
40453
  */
37759
- shopOrderControllerCreate(
37760
- shopOrderCreateDTO?: ShopOrderCreateDTO,
40454
+ storefrontConfigControllerGetEffectiveConfig(
40455
+ gameServerId: string,
37761
40456
  options?: RawAxiosRequestConfig,
37762
- ): AxiosPromise<ShopOrderOutputDTOAPI> {
40457
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
37763
40458
  return localVarFp
37764
- .shopOrderControllerCreate(shopOrderCreateDTO, options)
40459
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
37765
40460
  .then((request) => request(axios, basePath));
37766
40461
  },
37767
40462
  /**
37768
- * 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`
37769
- * @summary Get order by ID
37770
- * @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
37771
40465
  * @param {*} [options] Override http request option.
37772
40466
  * @throws {RequiredError}
37773
40467
  */
37774
- shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
37775
- return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
40468
+ storefrontConfigControllerListTemplates(
40469
+ options?: RawAxiosRequestConfig,
40470
+ ): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
40471
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
37776
40472
  },
37777
40473
  /**
37778
- * 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`
37779
- * @summary Search orders
37780
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
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
37781
40478
  * @param {*} [options] Override http request option.
37782
40479
  * @throws {RequiredError}
37783
40480
  */
37784
- shopOrderControllerSearch(
37785
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40481
+ storefrontConfigControllerSetConfig(
40482
+ gameServerId: string,
40483
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
37786
40484
  options?: RawAxiosRequestConfig,
37787
- ): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
40485
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
37788
40486
  return localVarFp
37789
- .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
40487
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
37790
40488
  .then((request) => request(axios, basePath));
37791
40489
  },
37792
40490
  };
37793
40491
  };
37794
40492
 
37795
40493
  /**
37796
- * ShopOrderApi - object-oriented interface
40494
+ * StorefrontConfigApi - object-oriented interface
37797
40495
  * @export
37798
- * @class ShopOrderApi
40496
+ * @class StorefrontConfigApi
37799
40497
  * @extends {BaseAPI}
37800
40498
  */
37801
- export class ShopOrderApi extends BaseAPI {
40499
+ export class StorefrontConfigApi extends BaseAPI {
37802
40500
  /**
37803
- * <br> OperationId: `ShopOrderControllerCancel`
37804
- * @summary Cancel
37805
- * @param {string} id
37806
- * @param {*} [options] Override http request option.
37807
- * @throws {RequiredError}
37808
- * @memberof ShopOrderApi
37809
- */
37810
- public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
37811
- return ShopOrderApiFp(this.configuration)
37812
- .shopOrderControllerCancel(id, options)
37813
- .then((request) => request(this.axios, this.basePath));
37814
- }
37815
-
37816
- /**
37817
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
37818
- * @summary Claim an order
37819
- * @param {string} id
37820
- * @param {*} [options] Override http request option.
37821
- * @throws {RequiredError}
37822
- * @memberof ShopOrderApi
37823
- */
37824
- public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
37825
- return ShopOrderApiFp(this.configuration)
37826
- .shopOrderControllerClaim(id, options)
37827
- .then((request) => request(this.axios, this.basePath));
37828
- }
37829
-
37830
- /**
37831
- * <br> OperationId: `ShopOrderControllerCreate`
37832
- * @summary Create
37833
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
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
37834
40504
  * @param {*} [options] Override http request option.
37835
40505
  * @throws {RequiredError}
37836
- * @memberof ShopOrderApi
40506
+ * @memberof StorefrontConfigApi
37837
40507
  */
37838
- public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
37839
- return ShopOrderApiFp(this.configuration)
37840
- .shopOrderControllerCreate(shopOrderCreateDTO, options)
40508
+ public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
40509
+ return StorefrontConfigApiFp(this.configuration)
40510
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
37841
40511
  .then((request) => request(this.axios, this.basePath));
37842
40512
  }
37843
40513
 
37844
40514
  /**
37845
- * 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`
37846
- * @summary Get order by ID
37847
- * @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
37848
40517
  * @param {*} [options] Override http request option.
37849
40518
  * @throws {RequiredError}
37850
- * @memberof ShopOrderApi
40519
+ * @memberof StorefrontConfigApi
37851
40520
  */
37852
- public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
37853
- return ShopOrderApiFp(this.configuration)
37854
- .shopOrderControllerGetOne(id, options)
40521
+ public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
40522
+ return StorefrontConfigApiFp(this.configuration)
40523
+ .storefrontConfigControllerListTemplates(options)
37855
40524
  .then((request) => request(this.axios, this.basePath));
37856
40525
  }
37857
40526
 
37858
40527
  /**
37859
- * 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`
37860
- * @summary Search orders
37861
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
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
37862
40532
  * @param {*} [options] Override http request option.
37863
40533
  * @throws {RequiredError}
37864
- * @memberof ShopOrderApi
40534
+ * @memberof StorefrontConfigApi
37865
40535
  */
37866
- public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
37867
- return ShopOrderApiFp(this.configuration)
37868
- .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
40536
+ public storefrontConfigControllerSetConfig(
40537
+ gameServerId: string,
40538
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
40539
+ options?: RawAxiosRequestConfig,
40540
+ ) {
40541
+ return StorefrontConfigApiFp(this.configuration)
40542
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
37869
40543
  .then((request) => request(this.axios, this.basePath));
37870
40544
  }
37871
40545
  }
@@ -38453,6 +41127,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
38453
41127
  options: localVarRequestOptions,
38454
41128
  };
38455
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
+ },
38456
41157
  /**
38457
41158
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
38458
41159
  * @summary Create
@@ -38959,6 +41660,27 @@ export const UserApiFp = function (configuration?: Configuration) {
38959
41660
  configuration,
38960
41661
  )(axios, localVarOperationServerBasePath || basePath);
38961
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
+ },
38962
41684
  /**
38963
41685
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
38964
41686
  * @summary Create
@@ -39288,6 +42010,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
39288
42010
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
39289
42011
  .then((request) => request(axios, basePath));
39290
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
+ },
39291
42022
  /**
39292
42023
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
39293
42024
  * @summary Create
@@ -39466,6 +42197,19 @@ export class UserApi extends BaseAPI {
39466
42197
  .then((request) => request(this.axios, this.basePath));
39467
42198
  }
39468
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
+
39469
42213
  /**
39470
42214
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
39471
42215
  * @summary Create
@@ -40134,3 +42878,474 @@ export class VariableApi extends BaseAPI {
40134
42878
  .then((request) => request(this.axios, this.basePath));
40135
42879
  }
40136
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
+ }