@takaro/apiclient 0.0.0-dev.30f5ae5 → 0.0.0-dev.312d6cc

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.
@@ -2664,6 +2664,50 @@ export const DomainUpdateInputDTOStateEnum = {
2664
2664
  export type DomainUpdateInputDTOStateEnum =
2665
2665
  (typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
2666
2666
 
2667
+ /**
2668
+ *
2669
+ * @export
2670
+ * @interface EffectiveStorefrontConfigDTO
2671
+ */
2672
+ export interface EffectiveStorefrontConfigDTO {
2673
+ /**
2674
+ *
2675
+ * @type {string}
2676
+ * @memberof EffectiveStorefrontConfigDTO
2677
+ */
2678
+ templateId: string;
2679
+ /**
2680
+ *
2681
+ * @type {object}
2682
+ * @memberof EffectiveStorefrontConfigDTO
2683
+ */
2684
+ values: object;
2685
+ /**
2686
+ *
2687
+ * @type {object}
2688
+ * @memberof EffectiveStorefrontConfigDTO
2689
+ */
2690
+ schema: object;
2691
+ }
2692
+ /**
2693
+ *
2694
+ * @export
2695
+ * @interface EffectiveStorefrontConfigOutputDTOAPI
2696
+ */
2697
+ export interface EffectiveStorefrontConfigOutputDTOAPI {
2698
+ /**
2699
+ *
2700
+ * @type {EffectiveStorefrontConfigDTO}
2701
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2702
+ */
2703
+ data: EffectiveStorefrontConfigDTO;
2704
+ /**
2705
+ *
2706
+ * @type {MetadataOutput}
2707
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2708
+ */
2709
+ meta: MetadataOutput;
2710
+ }
2667
2711
  /**
2668
2712
  *
2669
2713
  * @export
@@ -7444,6 +7488,32 @@ export interface LoginOutputDTOAPI {
7444
7488
  */
7445
7489
  meta: MetadataOutput;
7446
7490
  }
7491
+ /**
7492
+ *
7493
+ * @export
7494
+ * @interface LoginQueryParams
7495
+ */
7496
+ export interface LoginQueryParams {
7497
+ /**
7498
+ *
7499
+ * @type {string}
7500
+ * @memberof LoginQueryParams
7501
+ */
7502
+ redirect?: string;
7503
+ }
7504
+ /**
7505
+ *
7506
+ * @export
7507
+ * @interface LogoutQueryParams
7508
+ */
7509
+ export interface LogoutQueryParams {
7510
+ /**
7511
+ *
7512
+ * @type {string}
7513
+ * @memberof LogoutQueryParams
7514
+ */
7515
+ redirect?: string;
7516
+ }
7447
7517
  /**
7448
7518
  *
7449
7519
  * @export
@@ -7567,7 +7637,7 @@ export interface MeOutputDTO {
7567
7637
  * @type {UserOutputWithRolesDTO}
7568
7638
  * @memberof MeOutputDTO
7569
7639
  */
7570
- user: UserOutputWithRolesDTO;
7640
+ user?: UserOutputWithRolesDTO;
7571
7641
  /**
7572
7642
  *
7573
7643
  * @type {Array<DomainOutputDTO>}
@@ -7579,7 +7649,7 @@ export interface MeOutputDTO {
7579
7649
  * @type {string}
7580
7650
  * @memberof MeOutputDTO
7581
7651
  */
7582
- domain: string;
7652
+ domain?: string;
7583
7653
  /**
7584
7654
  *
7585
7655
  * @type {PlayerOutputWithRolesDTO}
@@ -8073,6 +8143,98 @@ export interface ModuleInstallParamId {
8073
8143
  */
8074
8144
  gameServerId: string;
8075
8145
  }
8146
+ /**
8147
+ *
8148
+ * @export
8149
+ * @interface ModuleInstallationKpisDTO
8150
+ */
8151
+ export interface ModuleInstallationKpisDTO {
8152
+ /**
8153
+ *
8154
+ * @type {number}
8155
+ * @memberof ModuleInstallationKpisDTO
8156
+ */
8157
+ runs: number;
8158
+ /**
8159
+ *
8160
+ * @type {number}
8161
+ * @memberof ModuleInstallationKpisDTO
8162
+ */
8163
+ failures: number;
8164
+ /**
8165
+ *
8166
+ * @type {number}
8167
+ * @memberof ModuleInstallationKpisDTO
8168
+ */
8169
+ successRate: number;
8170
+ }
8171
+ /**
8172
+ *
8173
+ * @export
8174
+ * @interface ModuleInstallationKpisDTOAPI
8175
+ */
8176
+ export interface ModuleInstallationKpisDTOAPI {
8177
+ /**
8178
+ *
8179
+ * @type {ModuleInstallationKpisDTO}
8180
+ * @memberof ModuleInstallationKpisDTOAPI
8181
+ */
8182
+ data: ModuleInstallationKpisDTO;
8183
+ /**
8184
+ *
8185
+ * @type {MetadataOutput}
8186
+ * @memberof ModuleInstallationKpisDTOAPI
8187
+ */
8188
+ meta: MetadataOutput;
8189
+ }
8190
+ /**
8191
+ *
8192
+ * @export
8193
+ * @interface ModuleInstallationKpisQueryDTO
8194
+ */
8195
+ export interface ModuleInstallationKpisQueryDTO {
8196
+ /**
8197
+ *
8198
+ * @type {string}
8199
+ * @memberof ModuleInstallationKpisQueryDTO
8200
+ */
8201
+ startDate?: string;
8202
+ /**
8203
+ *
8204
+ * @type {string}
8205
+ * @memberof ModuleInstallationKpisQueryDTO
8206
+ */
8207
+ endDate?: string;
8208
+ /**
8209
+ *
8210
+ * @type {string}
8211
+ * @memberof ModuleInstallationKpisQueryDTO
8212
+ */
8213
+ gameServerId: string;
8214
+ /**
8215
+ *
8216
+ * @type {string}
8217
+ * @memberof ModuleInstallationKpisQueryDTO
8218
+ */
8219
+ moduleId: string;
8220
+ /**
8221
+ *
8222
+ * @type {string}
8223
+ * @memberof ModuleInstallationKpisQueryDTO
8224
+ */
8225
+ period?: ModuleInstallationKpisQueryDTOPeriodEnum;
8226
+ }
8227
+
8228
+ export const ModuleInstallationKpisQueryDTOPeriodEnum = {
8229
+ _24h: '24h',
8230
+ _7d: '7d',
8231
+ _30d: '30d',
8232
+ _90d: '90d',
8233
+ } as const;
8234
+
8235
+ export type ModuleInstallationKpisQueryDTOPeriodEnum =
8236
+ (typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
8237
+
8076
8238
  /**
8077
8239
  *
8078
8240
  * @export
@@ -8684,6 +8846,12 @@ export interface ModuleTransferVersionDTO {
8684
8846
  * @memberof ModuleTransferVersionDTO
8685
8847
  */
8686
8848
  uiSchema: string;
8849
+ /**
8850
+ *
8851
+ * @type {string}
8852
+ * @memberof ModuleTransferVersionDTO
8853
+ */
8854
+ defaultSystemConfig?: string;
8687
8855
  /**
8688
8856
  *
8689
8857
  * @type {Array<ICommand>}
@@ -8838,6 +9006,24 @@ export interface ModuleVersionOutputDTO {
8838
9006
  * @memberof ModuleVersionOutputDTO
8839
9007
  */
8840
9008
  moduleId: string;
9009
+ /**
9010
+ *
9011
+ * @type {string}
9012
+ * @memberof ModuleVersionOutputDTO
9013
+ */
9014
+ registryId?: string;
9015
+ /**
9016
+ *
9017
+ * @type {string}
9018
+ * @memberof ModuleVersionOutputDTO
9019
+ */
9020
+ sourceModuleName?: string;
9021
+ /**
9022
+ *
9023
+ * @type {string}
9024
+ * @memberof ModuleVersionOutputDTO
9025
+ */
9026
+ sourceVersion?: string;
8841
9027
  /**
8842
9028
  *
8843
9029
  * @type {Array<CronJobOutputDTO>}
@@ -11906,6 +12092,386 @@ export interface RedirectQs {
11906
12092
  */
11907
12093
  redirect: string;
11908
12094
  }
12095
+ /**
12096
+ *
12097
+ * @export
12098
+ * @interface RegistryCreateDTO
12099
+ */
12100
+ export interface RegistryCreateDTO {
12101
+ /**
12102
+ *
12103
+ * @type {string}
12104
+ * @memberof RegistryCreateDTO
12105
+ */
12106
+ url: string;
12107
+ /**
12108
+ *
12109
+ * @type {string}
12110
+ * @memberof RegistryCreateDTO
12111
+ */
12112
+ name?: string;
12113
+ /**
12114
+ *
12115
+ * @type {string}
12116
+ * @memberof RegistryCreateDTO
12117
+ */
12118
+ description?: string;
12119
+ }
12120
+ /**
12121
+ *
12122
+ * @export
12123
+ * @interface RegistryInstallBody
12124
+ */
12125
+ export interface RegistryInstallBody {
12126
+ /**
12127
+ *
12128
+ * @type {string}
12129
+ * @memberof RegistryInstallBody
12130
+ */
12131
+ moduleName: string;
12132
+ /**
12133
+ *
12134
+ * @type {string}
12135
+ * @memberof RegistryInstallBody
12136
+ */
12137
+ version: string;
12138
+ }
12139
+ /**
12140
+ *
12141
+ * @export
12142
+ * @interface RegistryInstallInputDTO
12143
+ */
12144
+ export interface RegistryInstallInputDTO {
12145
+ /**
12146
+ *
12147
+ * @type {string}
12148
+ * @memberof RegistryInstallInputDTO
12149
+ */
12150
+ moduleName: string;
12151
+ /**
12152
+ *
12153
+ * @type {string}
12154
+ * @memberof RegistryInstallInputDTO
12155
+ */
12156
+ version: string;
12157
+ }
12158
+ /**
12159
+ *
12160
+ * @export
12161
+ * @interface RegistryListOutputDTO
12162
+ */
12163
+ export interface RegistryListOutputDTO {
12164
+ /**
12165
+ *
12166
+ * @type {string}
12167
+ * @memberof RegistryListOutputDTO
12168
+ */
12169
+ url: string;
12170
+ /**
12171
+ *
12172
+ * @type {string}
12173
+ * @memberof RegistryListOutputDTO
12174
+ */
12175
+ name: string;
12176
+ /**
12177
+ *
12178
+ * @type {string}
12179
+ * @memberof RegistryListOutputDTO
12180
+ */
12181
+ description?: string;
12182
+ /**
12183
+ *
12184
+ * @type {Array<RegistryModuleVersionOutputDTO>}
12185
+ * @memberof RegistryListOutputDTO
12186
+ */
12187
+ modules?: Array<RegistryModuleVersionOutputDTO>;
12188
+ /**
12189
+ *
12190
+ * @type {string}
12191
+ * @memberof RegistryListOutputDTO
12192
+ */
12193
+ lastFetchError?: string;
12194
+ /**
12195
+ *
12196
+ * @type {string}
12197
+ * @memberof RegistryListOutputDTO
12198
+ */
12199
+ id: string;
12200
+ /**
12201
+ *
12202
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12203
+ * @memberof RegistryListOutputDTO
12204
+ */
12205
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12206
+ /**
12207
+ *
12208
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12209
+ * @memberof RegistryListOutputDTO
12210
+ */
12211
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12212
+ }
12213
+ /**
12214
+ *
12215
+ * @export
12216
+ * @interface RegistryListOutputDTOAPI
12217
+ */
12218
+ export interface RegistryListOutputDTOAPI {
12219
+ /**
12220
+ *
12221
+ * @type {Array<RegistryListOutputDTO>}
12222
+ * @memberof RegistryListOutputDTOAPI
12223
+ */
12224
+ data: Array<RegistryListOutputDTO>;
12225
+ /**
12226
+ *
12227
+ * @type {MetadataOutput}
12228
+ * @memberof RegistryListOutputDTOAPI
12229
+ */
12230
+ meta: MetadataOutput;
12231
+ }
12232
+ /**
12233
+ *
12234
+ * @export
12235
+ * @interface RegistryManifestDTO
12236
+ */
12237
+ export interface RegistryManifestDTO {
12238
+ /**
12239
+ *
12240
+ * @type {string}
12241
+ * @memberof RegistryManifestDTO
12242
+ */
12243
+ name: string;
12244
+ /**
12245
+ *
12246
+ * @type {string}
12247
+ * @memberof RegistryManifestDTO
12248
+ */
12249
+ description?: string;
12250
+ /**
12251
+ *
12252
+ * @type {Array<RegistryManifestModuleDTO>}
12253
+ * @memberof RegistryManifestDTO
12254
+ */
12255
+ modules: Array<RegistryManifestModuleDTO>;
12256
+ }
12257
+ /**
12258
+ *
12259
+ * @export
12260
+ * @interface RegistryManifestModuleDTO
12261
+ */
12262
+ export interface RegistryManifestModuleDTO {
12263
+ /**
12264
+ *
12265
+ * @type {string}
12266
+ * @memberof RegistryManifestModuleDTO
12267
+ */
12268
+ name: string;
12269
+ /**
12270
+ *
12271
+ * @type {string}
12272
+ * @memberof RegistryManifestModuleDTO
12273
+ */
12274
+ latestVersion: string;
12275
+ /**
12276
+ *
12277
+ * @type {Array<string>}
12278
+ * @memberof RegistryManifestModuleDTO
12279
+ */
12280
+ versions: Array<string>;
12281
+ /**
12282
+ *
12283
+ * @type {string}
12284
+ * @memberof RegistryManifestModuleDTO
12285
+ */
12286
+ description?: string;
12287
+ }
12288
+ /**
12289
+ *
12290
+ * @export
12291
+ * @interface RegistryModuleVersionOutputDTO
12292
+ */
12293
+ export interface RegistryModuleVersionOutputDTO {
12294
+ /**
12295
+ *
12296
+ * @type {string}
12297
+ * @memberof RegistryModuleVersionOutputDTO
12298
+ */
12299
+ name: string;
12300
+ /**
12301
+ *
12302
+ * @type {Array<string>}
12303
+ * @memberof RegistryModuleVersionOutputDTO
12304
+ */
12305
+ versions: Array<string>;
12306
+ /**
12307
+ *
12308
+ * @type {string}
12309
+ * @memberof RegistryModuleVersionOutputDTO
12310
+ */
12311
+ latestVersion: string;
12312
+ /**
12313
+ *
12314
+ * @type {string}
12315
+ * @memberof RegistryModuleVersionOutputDTO
12316
+ */
12317
+ description?: string;
12318
+ }
12319
+ /**
12320
+ *
12321
+ * @export
12322
+ * @interface RegistryOutputDTO
12323
+ */
12324
+ export interface RegistryOutputDTO {
12325
+ /**
12326
+ *
12327
+ * @type {string}
12328
+ * @memberof RegistryOutputDTO
12329
+ */
12330
+ url: string;
12331
+ /**
12332
+ *
12333
+ * @type {string}
12334
+ * @memberof RegistryOutputDTO
12335
+ */
12336
+ name: string;
12337
+ /**
12338
+ *
12339
+ * @type {string}
12340
+ * @memberof RegistryOutputDTO
12341
+ */
12342
+ description?: string;
12343
+ /**
12344
+ *
12345
+ * @type {string}
12346
+ * @memberof RegistryOutputDTO
12347
+ */
12348
+ id: string;
12349
+ /**
12350
+ *
12351
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12352
+ * @memberof RegistryOutputDTO
12353
+ */
12354
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12355
+ /**
12356
+ *
12357
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12358
+ * @memberof RegistryOutputDTO
12359
+ */
12360
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12361
+ }
12362
+ /**
12363
+ *
12364
+ * @export
12365
+ * @interface RegistrySubscribeBody
12366
+ */
12367
+ export interface RegistrySubscribeBody {
12368
+ /**
12369
+ *
12370
+ * @type {string}
12371
+ * @memberof RegistrySubscribeBody
12372
+ */
12373
+ url: string;
12374
+ }
12375
+ /**
12376
+ *
12377
+ * @export
12378
+ * @interface RegistrySubscribeInputDTO
12379
+ */
12380
+ export interface RegistrySubscribeInputDTO {
12381
+ /**
12382
+ *
12383
+ * @type {string}
12384
+ * @memberof RegistrySubscribeInputDTO
12385
+ */
12386
+ url: string;
12387
+ }
12388
+ /**
12389
+ *
12390
+ * @export
12391
+ * @interface RegistryUpdateDTO
12392
+ */
12393
+ export interface RegistryUpdateDTO {
12394
+ /**
12395
+ *
12396
+ * @type {string}
12397
+ * @memberof RegistryUpdateDTO
12398
+ */
12399
+ name?: string;
12400
+ /**
12401
+ *
12402
+ * @type {string}
12403
+ * @memberof RegistryUpdateDTO
12404
+ */
12405
+ description?: string;
12406
+ }
12407
+ /**
12408
+ *
12409
+ * @export
12410
+ * @interface RegistryWithManifestOutputDTO
12411
+ */
12412
+ export interface RegistryWithManifestOutputDTO {
12413
+ /**
12414
+ *
12415
+ * @type {string}
12416
+ * @memberof RegistryWithManifestOutputDTO
12417
+ */
12418
+ url: string;
12419
+ /**
12420
+ *
12421
+ * @type {string}
12422
+ * @memberof RegistryWithManifestOutputDTO
12423
+ */
12424
+ name: string;
12425
+ /**
12426
+ *
12427
+ * @type {string}
12428
+ * @memberof RegistryWithManifestOutputDTO
12429
+ */
12430
+ description?: string;
12431
+ /**
12432
+ *
12433
+ * @type {object}
12434
+ * @memberof RegistryWithManifestOutputDTO
12435
+ */
12436
+ manifest?: object;
12437
+ /**
12438
+ *
12439
+ * @type {string}
12440
+ * @memberof RegistryWithManifestOutputDTO
12441
+ */
12442
+ id: string;
12443
+ /**
12444
+ *
12445
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12446
+ * @memberof RegistryWithManifestOutputDTO
12447
+ */
12448
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12449
+ /**
12450
+ *
12451
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12452
+ * @memberof RegistryWithManifestOutputDTO
12453
+ */
12454
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12455
+ }
12456
+ /**
12457
+ *
12458
+ * @export
12459
+ * @interface RegistryWithManifestOutputDTOAPI
12460
+ */
12461
+ export interface RegistryWithManifestOutputDTOAPI {
12462
+ /**
12463
+ *
12464
+ * @type {RegistryWithManifestOutputDTO}
12465
+ * @memberof RegistryWithManifestOutputDTOAPI
12466
+ */
12467
+ data: RegistryWithManifestOutputDTO;
12468
+ /**
12469
+ *
12470
+ * @type {MetadataOutput}
12471
+ * @memberof RegistryWithManifestOutputDTOAPI
12472
+ */
12473
+ meta: MetadataOutput;
12474
+ }
11909
12475
  /**
11910
12476
  *
11911
12477
  * @export
@@ -14698,6 +15264,175 @@ export interface SmallModuleVersionOutputDTO {
14698
15264
  */
14699
15265
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
14700
15266
  }
15267
+ /**
15268
+ *
15269
+ * @export
15270
+ * @interface StorefrontConfigCreateDTO
15271
+ */
15272
+ export interface StorefrontConfigCreateDTO {
15273
+ /**
15274
+ *
15275
+ * @type {string}
15276
+ * @memberof StorefrontConfigCreateDTO
15277
+ */
15278
+ gameServerId: string;
15279
+ /**
15280
+ *
15281
+ * @type {string}
15282
+ * @memberof StorefrontConfigCreateDTO
15283
+ */
15284
+ templateId: string;
15285
+ /**
15286
+ *
15287
+ * @type {object}
15288
+ * @memberof StorefrontConfigCreateDTO
15289
+ */
15290
+ values?: object;
15291
+ }
15292
+ /**
15293
+ *
15294
+ * @export
15295
+ * @interface StorefrontConfigOutputDTO
15296
+ */
15297
+ export interface StorefrontConfigOutputDTO {
15298
+ /**
15299
+ *
15300
+ * @type {string}
15301
+ * @memberof StorefrontConfigOutputDTO
15302
+ */
15303
+ gameServerId: string;
15304
+ /**
15305
+ *
15306
+ * @type {string}
15307
+ * @memberof StorefrontConfigOutputDTO
15308
+ */
15309
+ templateId: string;
15310
+ /**
15311
+ *
15312
+ * @type {object}
15313
+ * @memberof StorefrontConfigOutputDTO
15314
+ */
15315
+ values: object;
15316
+ /**
15317
+ *
15318
+ * @type {string}
15319
+ * @memberof StorefrontConfigOutputDTO
15320
+ */
15321
+ id: string;
15322
+ /**
15323
+ *
15324
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15325
+ * @memberof StorefrontConfigOutputDTO
15326
+ */
15327
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15328
+ /**
15329
+ *
15330
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15331
+ * @memberof StorefrontConfigOutputDTO
15332
+ */
15333
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15334
+ }
15335
+ /**
15336
+ *
15337
+ * @export
15338
+ * @interface StorefrontConfigUpdateDTO
15339
+ */
15340
+ export interface StorefrontConfigUpdateDTO {
15341
+ /**
15342
+ *
15343
+ * @type {string}
15344
+ * @memberof StorefrontConfigUpdateDTO
15345
+ */
15346
+ templateId?: string;
15347
+ /**
15348
+ *
15349
+ * @type {object}
15350
+ * @memberof StorefrontConfigUpdateDTO
15351
+ */
15352
+ values?: object;
15353
+ }
15354
+ /**
15355
+ *
15356
+ * @export
15357
+ * @interface StorefrontConfigUpsertBody
15358
+ */
15359
+ export interface StorefrontConfigUpsertBody {
15360
+ /**
15361
+ *
15362
+ * @type {string}
15363
+ * @memberof StorefrontConfigUpsertBody
15364
+ */
15365
+ templateId: string;
15366
+ /**
15367
+ *
15368
+ * @type {object}
15369
+ * @memberof StorefrontConfigUpsertBody
15370
+ */
15371
+ values: object;
15372
+ }
15373
+ /**
15374
+ *
15375
+ * @export
15376
+ * @interface StorefrontConfigUpsertDTO
15377
+ */
15378
+ export interface StorefrontConfigUpsertDTO {
15379
+ /**
15380
+ *
15381
+ * @type {string}
15382
+ * @memberof StorefrontConfigUpsertDTO
15383
+ */
15384
+ templateId: string;
15385
+ /**
15386
+ *
15387
+ * @type {object}
15388
+ * @memberof StorefrontConfigUpsertDTO
15389
+ */
15390
+ values: object;
15391
+ }
15392
+ /**
15393
+ *
15394
+ * @export
15395
+ * @interface StorefrontTemplateDTO
15396
+ */
15397
+ export interface StorefrontTemplateDTO {
15398
+ /**
15399
+ *
15400
+ * @type {string}
15401
+ * @memberof StorefrontTemplateDTO
15402
+ */
15403
+ id: string;
15404
+ /**
15405
+ *
15406
+ * @type {string}
15407
+ * @memberof StorefrontTemplateDTO
15408
+ */
15409
+ name: string;
15410
+ /**
15411
+ *
15412
+ * @type {object}
15413
+ * @memberof StorefrontTemplateDTO
15414
+ */
15415
+ schema: object;
15416
+ }
15417
+ /**
15418
+ *
15419
+ * @export
15420
+ * @interface StorefrontTemplateOutputArrayDTOAPI
15421
+ */
15422
+ export interface StorefrontTemplateOutputArrayDTOAPI {
15423
+ /**
15424
+ *
15425
+ * @type {Array<StorefrontTemplateDTO>}
15426
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15427
+ */
15428
+ data: Array<StorefrontTemplateDTO>;
15429
+ /**
15430
+ *
15431
+ * @type {MetadataOutput}
15432
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15433
+ */
15434
+ meta: MetadataOutput;
15435
+ }
14701
15436
  /**
14702
15437
  *
14703
15438
  * @export
@@ -17833,23 +18568,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17833
18568
  };
17834
18569
  },
17835
18570
  /**
17836
- * 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`
17837
- * @summary Get module item failure aggregate
18571
+ * 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`
18572
+ * @summary Get per-installation module KPIs
18573
+ * @param {string} gameServerId
18574
+ * @param {string} moduleId
17838
18575
  * @param {string} [startDate]
17839
18576
  * @param {string} [endDate]
17840
- * @param {string} [gameServerId]
17841
- * @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
18577
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
17842
18578
  * @param {*} [options] Override http request option.
17843
18579
  * @throws {RequiredError}
17844
18580
  */
17845
- analyticsControllerGetModuleItemFailureLeaderboard: async (
18581
+ analyticsControllerGetModuleInstallationKpis: async (
18582
+ gameServerId: string,
18583
+ moduleId: string,
17846
18584
  startDate?: string,
17847
18585
  endDate?: string,
17848
- gameServerId?: string,
17849
- period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
18586
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
17850
18587
  options: RawAxiosRequestConfig = {},
17851
18588
  ): Promise<RequestArgs> => {
17852
- const localVarPath = `/analytics/modules/items/failures`;
18589
+ // verify required parameter 'gameServerId' is not null or undefined
18590
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
18591
+ // verify required parameter 'moduleId' is not null or undefined
18592
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
18593
+ const localVarPath = `/analytics/modules/installation-kpis`;
17853
18594
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17854
18595
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17855
18596
  let baseOptions;
@@ -17875,60 +18616,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17875
18616
  localVarQueryParameter['gameServerId'] = gameServerId;
17876
18617
  }
17877
18618
 
17878
- if (period !== undefined) {
17879
- localVarQueryParameter['period'] = period;
17880
- }
17881
-
17882
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17883
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17884
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
17885
-
17886
- return {
17887
- url: toPathString(localVarUrlObj),
17888
- options: localVarRequestOptions,
17889
- };
17890
- },
17891
- /**
17892
- * Returns one row per module-item type (hook, cron, command, shopAction) with total runs and failures. Zero-filled when no events exist so the response shape is stable. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemTypeSummary`
17893
- * @summary Get module item run/failure totals per type
17894
- * @param {string} [startDate]
17895
- * @param {string} [endDate]
17896
- * @param {string} [gameServerId]
17897
- * @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
17898
- * @param {*} [options] Override http request option.
17899
- * @throws {RequiredError}
17900
- */
17901
- analyticsControllerGetModuleItemTypeSummary: async (
17902
- startDate?: string,
17903
- endDate?: string,
17904
- gameServerId?: string,
17905
- period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
17906
- options: RawAxiosRequestConfig = {},
17907
- ): Promise<RequestArgs> => {
17908
- const localVarPath = `/analytics/modules/items/summary`;
17909
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17910
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17911
- let baseOptions;
17912
- if (configuration) {
17913
- baseOptions = configuration.baseOptions;
17914
- }
17915
-
17916
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
17917
- const localVarHeaderParameter = {} as any;
17918
- const localVarQueryParameter = {} as any;
17919
-
17920
- // authentication domainAuth required
17921
-
17922
- if (startDate !== undefined) {
17923
- localVarQueryParameter['startDate'] = startDate;
17924
- }
17925
-
17926
- if (endDate !== undefined) {
17927
- localVarQueryParameter['endDate'] = endDate;
17928
- }
17929
-
17930
- if (gameServerId !== undefined) {
17931
- localVarQueryParameter['gameServerId'] = gameServerId;
18619
+ if (moduleId !== undefined) {
18620
+ localVarQueryParameter['moduleId'] = moduleId;
17932
18621
  }
17933
18622
 
17934
18623
  if (period !== undefined) {
@@ -17945,23 +18634,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17945
18634
  };
17946
18635
  },
17947
18636
  /**
17948
- * Counts by status sourced from Postgres `shopOrder.status` (authoritative current state). Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetOrderStatusMix`
17949
- * @summary Get shop order status distribution
18637
+ * 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`
18638
+ * @summary Get module item failure aggregate
17950
18639
  * @param {string} [startDate]
17951
18640
  * @param {string} [endDate]
17952
18641
  * @param {string} [gameServerId]
17953
- * @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
18642
+ * @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
17954
18643
  * @param {*} [options] Override http request option.
17955
18644
  * @throws {RequiredError}
17956
18645
  */
17957
- analyticsControllerGetOrderStatusMix: async (
18646
+ analyticsControllerGetModuleItemFailureLeaderboard: async (
17958
18647
  startDate?: string,
17959
18648
  endDate?: string,
17960
18649
  gameServerId?: string,
17961
- period?: AnalyticsControllerGetOrderStatusMixPeriodEnum,
18650
+ period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
17962
18651
  options: RawAxiosRequestConfig = {},
17963
18652
  ): Promise<RequestArgs> => {
17964
- const localVarPath = `/analytics/shop/order-status-mix`;
18653
+ const localVarPath = `/analytics/modules/items/failures`;
17965
18654
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17966
18655
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17967
18656
  let baseOptions;
@@ -18001,23 +18690,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18001
18690
  };
18002
18691
  },
18003
18692
  /**
18004
- * p50 and p95 of meta.ping from player-sync-snapshot events, bucketed by time. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPingHealth`
18005
- * @summary Get ping health timeseries
18693
+ * Returns one row per module-item type (hook, cron, command, shopAction) with total runs and failures. Zero-filled when no events exist so the response shape is stable. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemTypeSummary`
18694
+ * @summary Get module item run/failure totals per type
18006
18695
  * @param {string} [startDate]
18007
18696
  * @param {string} [endDate]
18008
18697
  * @param {string} [gameServerId]
18009
- * @param {AnalyticsControllerGetPingHealthPeriodEnum} [period]
18698
+ * @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
18010
18699
  * @param {*} [options] Override http request option.
18011
18700
  * @throws {RequiredError}
18012
18701
  */
18013
- analyticsControllerGetPingHealth: async (
18702
+ analyticsControllerGetModuleItemTypeSummary: async (
18014
18703
  startDate?: string,
18015
18704
  endDate?: string,
18016
18705
  gameServerId?: string,
18017
- period?: AnalyticsControllerGetPingHealthPeriodEnum,
18706
+ period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
18018
18707
  options: RawAxiosRequestConfig = {},
18019
18708
  ): Promise<RequestArgs> => {
18020
- const localVarPath = `/analytics/players/ping-health`;
18709
+ const localVarPath = `/analytics/modules/items/summary`;
18021
18710
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18022
18711
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18023
18712
  let baseOptions;
@@ -18057,23 +18746,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18057
18746
  };
18058
18747
  },
18059
18748
  /**
18060
- * Counts per event_name across the player-activity whitelist (chat, kills, deaths, inventory, shop orders, roles, currency). Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerActivityMix`
18061
- * @summary Get player activity mix
18749
+ * Counts by status sourced from Postgres `shopOrder.status` (authoritative current state). Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetOrderStatusMix`
18750
+ * @summary Get shop order status distribution
18062
18751
  * @param {string} [startDate]
18063
18752
  * @param {string} [endDate]
18064
18753
  * @param {string} [gameServerId]
18065
- * @param {AnalyticsControllerGetPlayerActivityMixPeriodEnum} [period]
18754
+ * @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
18066
18755
  * @param {*} [options] Override http request option.
18067
18756
  * @throws {RequiredError}
18068
18757
  */
18069
- analyticsControllerGetPlayerActivityMix: async (
18758
+ analyticsControllerGetOrderStatusMix: async (
18070
18759
  startDate?: string,
18071
18760
  endDate?: string,
18072
18761
  gameServerId?: string,
18073
- period?: AnalyticsControllerGetPlayerActivityMixPeriodEnum,
18762
+ period?: AnalyticsControllerGetOrderStatusMixPeriodEnum,
18074
18763
  options: RawAxiosRequestConfig = {},
18075
18764
  ): Promise<RequestArgs> => {
18076
- const localVarPath = `/analytics/players/activity-mix`;
18765
+ const localVarPath = `/analytics/shop/order-status-mix`;
18077
18766
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18078
18767
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18079
18768
  let baseOptions;
@@ -18113,23 +18802,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18113
18802
  };
18114
18803
  },
18115
18804
  /**
18116
- * Top players by K/D ratio — kills from entity-killed, deaths from player-death. Minimum 5 combined events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKillLeaderboard`
18117
- * @summary Get kill/death leaderboard
18805
+ * p50 and p95 of meta.ping from player-sync-snapshot events, bucketed by time. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPingHealth`
18806
+ * @summary Get ping health timeseries
18118
18807
  * @param {string} [startDate]
18119
18808
  * @param {string} [endDate]
18120
18809
  * @param {string} [gameServerId]
18121
- * @param {AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum} [period]
18810
+ * @param {AnalyticsControllerGetPingHealthPeriodEnum} [period]
18122
18811
  * @param {*} [options] Override http request option.
18123
18812
  * @throws {RequiredError}
18124
18813
  */
18125
- analyticsControllerGetPlayerKillLeaderboard: async (
18814
+ analyticsControllerGetPingHealth: async (
18126
18815
  startDate?: string,
18127
18816
  endDate?: string,
18128
18817
  gameServerId?: string,
18129
- period?: AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum,
18818
+ period?: AnalyticsControllerGetPingHealthPeriodEnum,
18130
18819
  options: RawAxiosRequestConfig = {},
18131
18820
  ): Promise<RequestArgs> => {
18132
- const localVarPath = `/analytics/players/kill-leaderboard`;
18821
+ const localVarPath = `/analytics/players/ping-health`;
18133
18822
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18134
18823
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18135
18824
  let baseOptions;
@@ -18169,23 +18858,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18169
18858
  };
18170
18859
  },
18171
18860
  /**
18172
- * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKpis`
18173
- * @summary Get player KPI summary
18861
+ * Counts per event_name across the player-activity whitelist (chat, kills, deaths, inventory, shop orders, roles, currency). Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerActivityMix`
18862
+ * @summary Get player activity mix
18174
18863
  * @param {string} [startDate]
18175
18864
  * @param {string} [endDate]
18176
18865
  * @param {string} [gameServerId]
18177
- * @param {AnalyticsControllerGetPlayerKpisPeriodEnum} [period]
18866
+ * @param {AnalyticsControllerGetPlayerActivityMixPeriodEnum} [period]
18178
18867
  * @param {*} [options] Override http request option.
18179
18868
  * @throws {RequiredError}
18180
18869
  */
18181
- analyticsControllerGetPlayerKpis: async (
18870
+ analyticsControllerGetPlayerActivityMix: async (
18182
18871
  startDate?: string,
18183
18872
  endDate?: string,
18184
18873
  gameServerId?: string,
18185
- period?: AnalyticsControllerGetPlayerKpisPeriodEnum,
18874
+ period?: AnalyticsControllerGetPlayerActivityMixPeriodEnum,
18186
18875
  options: RawAxiosRequestConfig = {},
18187
18876
  ): Promise<RequestArgs> => {
18188
- const localVarPath = `/analytics/players/kpis`;
18877
+ const localVarPath = `/analytics/players/activity-mix`;
18189
18878
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18190
18879
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18191
18880
  let baseOptions;
@@ -18225,23 +18914,135 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18225
18914
  };
18226
18915
  },
18227
18916
  /**
18228
- * Ranks players by total connected time within the selected period. Sums meta.sessionMinutes from player-disconnected events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerPlaytimeLeaderboard`
18229
- * @summary Get player playtime leaderboard
18917
+ * Top players by K/D ratio kills from entity-killed, deaths from player-death. Minimum 5 combined events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKillLeaderboard`
18918
+ * @summary Get kill/death leaderboard
18230
18919
  * @param {string} [startDate]
18231
18920
  * @param {string} [endDate]
18232
18921
  * @param {string} [gameServerId]
18233
- * @param {AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum} [period]
18922
+ * @param {AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum} [period]
18234
18923
  * @param {*} [options] Override http request option.
18235
18924
  * @throws {RequiredError}
18236
18925
  */
18237
- analyticsControllerGetPlayerPlaytimeLeaderboard: async (
18926
+ analyticsControllerGetPlayerKillLeaderboard: async (
18238
18927
  startDate?: string,
18239
18928
  endDate?: string,
18240
18929
  gameServerId?: string,
18241
- period?: AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum,
18930
+ period?: AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum,
18242
18931
  options: RawAxiosRequestConfig = {},
18243
18932
  ): Promise<RequestArgs> => {
18244
- const localVarPath = `/analytics/players/playtime-leaderboard`;
18933
+ const localVarPath = `/analytics/players/kill-leaderboard`;
18934
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18935
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18936
+ let baseOptions;
18937
+ if (configuration) {
18938
+ baseOptions = configuration.baseOptions;
18939
+ }
18940
+
18941
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18942
+ const localVarHeaderParameter = {} as any;
18943
+ const localVarQueryParameter = {} as any;
18944
+
18945
+ // authentication domainAuth required
18946
+
18947
+ if (startDate !== undefined) {
18948
+ localVarQueryParameter['startDate'] = startDate;
18949
+ }
18950
+
18951
+ if (endDate !== undefined) {
18952
+ localVarQueryParameter['endDate'] = endDate;
18953
+ }
18954
+
18955
+ if (gameServerId !== undefined) {
18956
+ localVarQueryParameter['gameServerId'] = gameServerId;
18957
+ }
18958
+
18959
+ if (period !== undefined) {
18960
+ localVarQueryParameter['period'] = period;
18961
+ }
18962
+
18963
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18964
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18965
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18966
+
18967
+ return {
18968
+ url: toPathString(localVarUrlObj),
18969
+ options: localVarRequestOptions,
18970
+ };
18971
+ },
18972
+ /**
18973
+ * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKpis`
18974
+ * @summary Get player KPI summary
18975
+ * @param {string} [startDate]
18976
+ * @param {string} [endDate]
18977
+ * @param {string} [gameServerId]
18978
+ * @param {AnalyticsControllerGetPlayerKpisPeriodEnum} [period]
18979
+ * @param {*} [options] Override http request option.
18980
+ * @throws {RequiredError}
18981
+ */
18982
+ analyticsControllerGetPlayerKpis: async (
18983
+ startDate?: string,
18984
+ endDate?: string,
18985
+ gameServerId?: string,
18986
+ period?: AnalyticsControllerGetPlayerKpisPeriodEnum,
18987
+ options: RawAxiosRequestConfig = {},
18988
+ ): Promise<RequestArgs> => {
18989
+ const localVarPath = `/analytics/players/kpis`;
18990
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18991
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18992
+ let baseOptions;
18993
+ if (configuration) {
18994
+ baseOptions = configuration.baseOptions;
18995
+ }
18996
+
18997
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18998
+ const localVarHeaderParameter = {} as any;
18999
+ const localVarQueryParameter = {} as any;
19000
+
19001
+ // authentication domainAuth required
19002
+
19003
+ if (startDate !== undefined) {
19004
+ localVarQueryParameter['startDate'] = startDate;
19005
+ }
19006
+
19007
+ if (endDate !== undefined) {
19008
+ localVarQueryParameter['endDate'] = endDate;
19009
+ }
19010
+
19011
+ if (gameServerId !== undefined) {
19012
+ localVarQueryParameter['gameServerId'] = gameServerId;
19013
+ }
19014
+
19015
+ if (period !== undefined) {
19016
+ localVarQueryParameter['period'] = period;
19017
+ }
19018
+
19019
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19020
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19021
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
19022
+
19023
+ return {
19024
+ url: toPathString(localVarUrlObj),
19025
+ options: localVarRequestOptions,
19026
+ };
19027
+ },
19028
+ /**
19029
+ * Ranks players by total connected time within the selected period. Sums meta.sessionMinutes from player-disconnected events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerPlaytimeLeaderboard`
19030
+ * @summary Get player playtime leaderboard
19031
+ * @param {string} [startDate]
19032
+ * @param {string} [endDate]
19033
+ * @param {string} [gameServerId]
19034
+ * @param {AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum} [period]
19035
+ * @param {*} [options] Override http request option.
19036
+ * @throws {RequiredError}
19037
+ */
19038
+ analyticsControllerGetPlayerPlaytimeLeaderboard: async (
19039
+ startDate?: string,
19040
+ endDate?: string,
19041
+ gameServerId?: string,
19042
+ period?: AnalyticsControllerGetPlayerPlaytimeLeaderboardPeriodEnum,
19043
+ options: RawAxiosRequestConfig = {},
19044
+ ): Promise<RequestArgs> => {
19045
+ const localVarPath = `/analytics/players/playtime-leaderboard`;
18245
19046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18246
19047
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18247
19048
  let baseOptions;
@@ -19466,6 +20267,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
19466
20267
  configuration,
19467
20268
  )(axios, localVarOperationServerBasePath || basePath);
19468
20269
  },
20270
+ /**
20271
+ * 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`
20272
+ * @summary Get per-installation module KPIs
20273
+ * @param {string} gameServerId
20274
+ * @param {string} moduleId
20275
+ * @param {string} [startDate]
20276
+ * @param {string} [endDate]
20277
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
20278
+ * @param {*} [options] Override http request option.
20279
+ * @throws {RequiredError}
20280
+ */
20281
+ async analyticsControllerGetModuleInstallationKpis(
20282
+ gameServerId: string,
20283
+ moduleId: string,
20284
+ startDate?: string,
20285
+ endDate?: string,
20286
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
20287
+ options?: RawAxiosRequestConfig,
20288
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
20289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
20290
+ gameServerId,
20291
+ moduleId,
20292
+ startDate,
20293
+ endDate,
20294
+ period,
20295
+ options,
20296
+ );
20297
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20298
+ const localVarOperationServerBasePath =
20299
+ operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
20300
+ ?.url;
20301
+ return (axios, basePath) =>
20302
+ createRequestFunction(
20303
+ localVarAxiosArgs,
20304
+ globalAxios,
20305
+ BASE_PATH,
20306
+ configuration,
20307
+ )(axios, localVarOperationServerBasePath || basePath);
20308
+ },
19469
20309
  /**
19470
20310
  * 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
20311
  * @summary Get module item failure aggregate
@@ -20487,6 +21327,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20487
21327
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
20488
21328
  .then((request) => request(axios, basePath));
20489
21329
  },
21330
+ /**
21331
+ * 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`
21332
+ * @summary Get per-installation module KPIs
21333
+ * @param {string} gameServerId
21334
+ * @param {string} moduleId
21335
+ * @param {string} [startDate]
21336
+ * @param {string} [endDate]
21337
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
21338
+ * @param {*} [options] Override http request option.
21339
+ * @throws {RequiredError}
21340
+ */
21341
+ analyticsControllerGetModuleInstallationKpis(
21342
+ gameServerId: string,
21343
+ moduleId: string,
21344
+ startDate?: string,
21345
+ endDate?: string,
21346
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
21347
+ options?: RawAxiosRequestConfig,
21348
+ ): AxiosPromise<ModuleInstallationKpisDTOAPI> {
21349
+ return localVarFp
21350
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
21351
+ .then((request) => request(axios, basePath));
21352
+ },
20490
21353
  /**
20491
21354
  * 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
21355
  * @summary Get module item failure aggregate
@@ -21229,6 +22092,31 @@ export class AnalyticsApi extends BaseAPI {
21229
22092
  .then((request) => request(this.axios, this.basePath));
21230
22093
  }
21231
22094
 
22095
+ /**
22096
+ * 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`
22097
+ * @summary Get per-installation module KPIs
22098
+ * @param {string} gameServerId
22099
+ * @param {string} moduleId
22100
+ * @param {string} [startDate]
22101
+ * @param {string} [endDate]
22102
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
22103
+ * @param {*} [options] Override http request option.
22104
+ * @throws {RequiredError}
22105
+ * @memberof AnalyticsApi
22106
+ */
22107
+ public analyticsControllerGetModuleInstallationKpis(
22108
+ gameServerId: string,
22109
+ moduleId: string,
22110
+ startDate?: string,
22111
+ endDate?: string,
22112
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
22113
+ options?: RawAxiosRequestConfig,
22114
+ ) {
22115
+ return AnalyticsApiFp(this.configuration)
22116
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
22117
+ .then((request) => request(this.axios, this.basePath));
22118
+ }
22119
+
21232
22120
  /**
21233
22121
  * 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
22122
  * @summary Get module item failure aggregate
@@ -21848,6 +22736,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
21848
22736
  /**
21849
22737
  * @export
21850
22738
  */
22739
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
22740
+ _24h: '24h',
22741
+ _7d: '7d',
22742
+ _30d: '30d',
22743
+ _90d: '90d',
22744
+ } as const;
22745
+ export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
22746
+ (typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
22747
+ /**
22748
+ * @export
22749
+ */
21851
22750
  export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
21852
22751
  _24h: '24h',
21853
22752
  _7d: '7d',
@@ -22077,6 +22976,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
22077
22976
  export type AnalyticsControllerGetTopServersPeriodEnum =
22078
22977
  (typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
22079
22978
 
22979
+ /**
22980
+ * AuthApi - axios parameter creator
22981
+ * @export
22982
+ */
22983
+ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
22984
+ return {
22985
+ /**
22986
+ * <br> OperationId: `AuthControllerAccount`
22987
+ * @summary Account
22988
+ * @param {*} [options] Override http request option.
22989
+ * @throws {RequiredError}
22990
+ */
22991
+ authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22992
+ const localVarPath = `/auth/account`;
22993
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22994
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22995
+ let baseOptions;
22996
+ if (configuration) {
22997
+ baseOptions = configuration.baseOptions;
22998
+ }
22999
+
23000
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
23001
+ const localVarHeaderParameter = {} as any;
23002
+ const localVarQueryParameter = {} as any;
23003
+
23004
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23005
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23006
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23007
+
23008
+ return {
23009
+ url: toPathString(localVarUrlObj),
23010
+ options: localVarRequestOptions,
23011
+ };
23012
+ },
23013
+ /**
23014
+ * <br> OperationId: `AuthControllerCallback`
23015
+ * @summary Callback
23016
+ * @param {*} [options] Override http request option.
23017
+ * @throws {RequiredError}
23018
+ */
23019
+ authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23020
+ const localVarPath = `/auth/callback`;
23021
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23022
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23023
+ let baseOptions;
23024
+ if (configuration) {
23025
+ baseOptions = configuration.baseOptions;
23026
+ }
23027
+
23028
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
23029
+ const localVarHeaderParameter = {} as any;
23030
+ const localVarQueryParameter = {} as any;
23031
+
23032
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23033
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23034
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23035
+
23036
+ return {
23037
+ url: toPathString(localVarUrlObj),
23038
+ options: localVarRequestOptions,
23039
+ };
23040
+ },
23041
+ /**
23042
+ * <br> OperationId: `AuthControllerLogin`
23043
+ * @summary Login
23044
+ * @param {string} [redirect]
23045
+ * @param {*} [options] Override http request option.
23046
+ * @throws {RequiredError}
23047
+ */
23048
+ authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23049
+ const localVarPath = `/auth/login`;
23050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23051
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23052
+ let baseOptions;
23053
+ if (configuration) {
23054
+ baseOptions = configuration.baseOptions;
23055
+ }
23056
+
23057
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
23058
+ const localVarHeaderParameter = {} as any;
23059
+ const localVarQueryParameter = {} as any;
23060
+
23061
+ if (redirect !== undefined) {
23062
+ localVarQueryParameter['redirect'] = redirect;
23063
+ }
23064
+
23065
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23066
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23067
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23068
+
23069
+ return {
23070
+ url: toPathString(localVarUrlObj),
23071
+ options: localVarRequestOptions,
23072
+ };
23073
+ },
23074
+ /**
23075
+ * <br> OperationId: `AuthControllerLogout`
23076
+ * @summary Logout
23077
+ * @param {string} [redirect]
23078
+ * @param {*} [options] Override http request option.
23079
+ * @throws {RequiredError}
23080
+ */
23081
+ authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23082
+ const localVarPath = `/auth/logout`;
23083
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23084
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23085
+ let baseOptions;
23086
+ if (configuration) {
23087
+ baseOptions = configuration.baseOptions;
23088
+ }
23089
+
23090
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
23091
+ const localVarHeaderParameter = {} as any;
23092
+ const localVarQueryParameter = {} as any;
23093
+
23094
+ if (redirect !== undefined) {
23095
+ localVarQueryParameter['redirect'] = redirect;
23096
+ }
23097
+
23098
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23099
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23100
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23101
+
23102
+ return {
23103
+ url: toPathString(localVarUrlObj),
23104
+ options: localVarRequestOptions,
23105
+ };
23106
+ },
23107
+ };
23108
+ };
23109
+
23110
+ /**
23111
+ * AuthApi - functional programming interface
23112
+ * @export
23113
+ */
23114
+ export const AuthApiFp = function (configuration?: Configuration) {
23115
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
23116
+ return {
23117
+ /**
23118
+ * <br> OperationId: `AuthControllerAccount`
23119
+ * @summary Account
23120
+ * @param {*} [options] Override http request option.
23121
+ * @throws {RequiredError}
23122
+ */
23123
+ async authControllerAccount(
23124
+ options?: RawAxiosRequestConfig,
23125
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23126
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
23127
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23128
+ const localVarOperationServerBasePath =
23129
+ operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
23130
+ return (axios, basePath) =>
23131
+ createRequestFunction(
23132
+ localVarAxiosArgs,
23133
+ globalAxios,
23134
+ BASE_PATH,
23135
+ configuration,
23136
+ )(axios, localVarOperationServerBasePath || basePath);
23137
+ },
23138
+ /**
23139
+ * <br> OperationId: `AuthControllerCallback`
23140
+ * @summary Callback
23141
+ * @param {*} [options] Override http request option.
23142
+ * @throws {RequiredError}
23143
+ */
23144
+ async authControllerCallback(
23145
+ options?: RawAxiosRequestConfig,
23146
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23147
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
23148
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23149
+ const localVarOperationServerBasePath =
23150
+ operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
23151
+ return (axios, basePath) =>
23152
+ createRequestFunction(
23153
+ localVarAxiosArgs,
23154
+ globalAxios,
23155
+ BASE_PATH,
23156
+ configuration,
23157
+ )(axios, localVarOperationServerBasePath || basePath);
23158
+ },
23159
+ /**
23160
+ * <br> OperationId: `AuthControllerLogin`
23161
+ * @summary Login
23162
+ * @param {string} [redirect]
23163
+ * @param {*} [options] Override http request option.
23164
+ * @throws {RequiredError}
23165
+ */
23166
+ async authControllerLogin(
23167
+ redirect?: string,
23168
+ options?: RawAxiosRequestConfig,
23169
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
23171
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23172
+ const localVarOperationServerBasePath =
23173
+ operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
23174
+ return (axios, basePath) =>
23175
+ createRequestFunction(
23176
+ localVarAxiosArgs,
23177
+ globalAxios,
23178
+ BASE_PATH,
23179
+ configuration,
23180
+ )(axios, localVarOperationServerBasePath || basePath);
23181
+ },
23182
+ /**
23183
+ * <br> OperationId: `AuthControllerLogout`
23184
+ * @summary Logout
23185
+ * @param {string} [redirect]
23186
+ * @param {*} [options] Override http request option.
23187
+ * @throws {RequiredError}
23188
+ */
23189
+ async authControllerLogout(
23190
+ redirect?: string,
23191
+ options?: RawAxiosRequestConfig,
23192
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23193
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
23194
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23195
+ const localVarOperationServerBasePath =
23196
+ operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
23197
+ return (axios, basePath) =>
23198
+ createRequestFunction(
23199
+ localVarAxiosArgs,
23200
+ globalAxios,
23201
+ BASE_PATH,
23202
+ configuration,
23203
+ )(axios, localVarOperationServerBasePath || basePath);
23204
+ },
23205
+ };
23206
+ };
23207
+
23208
+ /**
23209
+ * AuthApi - factory interface
23210
+ * @export
23211
+ */
23212
+ export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23213
+ const localVarFp = AuthApiFp(configuration);
23214
+ return {
23215
+ /**
23216
+ * <br> OperationId: `AuthControllerAccount`
23217
+ * @summary Account
23218
+ * @param {*} [options] Override http request option.
23219
+ * @throws {RequiredError}
23220
+ */
23221
+ authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23222
+ return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
23223
+ },
23224
+ /**
23225
+ * <br> OperationId: `AuthControllerCallback`
23226
+ * @summary Callback
23227
+ * @param {*} [options] Override http request option.
23228
+ * @throws {RequiredError}
23229
+ */
23230
+ authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23231
+ return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
23232
+ },
23233
+ /**
23234
+ * <br> OperationId: `AuthControllerLogin`
23235
+ * @summary Login
23236
+ * @param {string} [redirect]
23237
+ * @param {*} [options] Override http request option.
23238
+ * @throws {RequiredError}
23239
+ */
23240
+ authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23241
+ return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
23242
+ },
23243
+ /**
23244
+ * <br> OperationId: `AuthControllerLogout`
23245
+ * @summary Logout
23246
+ * @param {string} [redirect]
23247
+ * @param {*} [options] Override http request option.
23248
+ * @throws {RequiredError}
23249
+ */
23250
+ authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23251
+ return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
23252
+ },
23253
+ };
23254
+ };
23255
+
23256
+ /**
23257
+ * AuthApi - object-oriented interface
23258
+ * @export
23259
+ * @class AuthApi
23260
+ * @extends {BaseAPI}
23261
+ */
23262
+ export class AuthApi extends BaseAPI {
23263
+ /**
23264
+ * <br> OperationId: `AuthControllerAccount`
23265
+ * @summary Account
23266
+ * @param {*} [options] Override http request option.
23267
+ * @throws {RequiredError}
23268
+ * @memberof AuthApi
23269
+ */
23270
+ public authControllerAccount(options?: RawAxiosRequestConfig) {
23271
+ return AuthApiFp(this.configuration)
23272
+ .authControllerAccount(options)
23273
+ .then((request) => request(this.axios, this.basePath));
23274
+ }
23275
+
23276
+ /**
23277
+ * <br> OperationId: `AuthControllerCallback`
23278
+ * @summary Callback
23279
+ * @param {*} [options] Override http request option.
23280
+ * @throws {RequiredError}
23281
+ * @memberof AuthApi
23282
+ */
23283
+ public authControllerCallback(options?: RawAxiosRequestConfig) {
23284
+ return AuthApiFp(this.configuration)
23285
+ .authControllerCallback(options)
23286
+ .then((request) => request(this.axios, this.basePath));
23287
+ }
23288
+
23289
+ /**
23290
+ * <br> OperationId: `AuthControllerLogin`
23291
+ * @summary Login
23292
+ * @param {string} [redirect]
23293
+ * @param {*} [options] Override http request option.
23294
+ * @throws {RequiredError}
23295
+ * @memberof AuthApi
23296
+ */
23297
+ public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
23298
+ return AuthApiFp(this.configuration)
23299
+ .authControllerLogin(redirect, options)
23300
+ .then((request) => request(this.axios, this.basePath));
23301
+ }
23302
+
23303
+ /**
23304
+ * <br> OperationId: `AuthControllerLogout`
23305
+ * @summary Logout
23306
+ * @param {string} [redirect]
23307
+ * @param {*} [options] Override http request option.
23308
+ * @throws {RequiredError}
23309
+ * @memberof AuthApi
23310
+ */
23311
+ public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
23312
+ return AuthApiFp(this.configuration)
23313
+ .authControllerLogout(redirect, options)
23314
+ .then((request) => request(this.axios, this.basePath));
23315
+ }
23316
+ }
23317
+
22080
23318
  /**
22081
23319
  * CommandApi - axios parameter creator
22082
23320
  * @export
@@ -34326,6 +35564,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
34326
35564
  }
34327
35565
  }
34328
35566
 
35567
+ /**
35568
+ * RegistryApi - axios parameter creator
35569
+ * @export
35570
+ */
35571
+ export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
35572
+ return {
35573
+ /**
35574
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35575
+ * @summary Install a module from a registry
35576
+ * @param {string} id
35577
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35578
+ * @param {*} [options] Override http request option.
35579
+ * @throws {RequiredError}
35580
+ */
35581
+ registryControllerInstall: async (
35582
+ id: string,
35583
+ registryInstallBody?: RegistryInstallBody,
35584
+ options: RawAxiosRequestConfig = {},
35585
+ ): Promise<RequestArgs> => {
35586
+ // verify required parameter 'id' is not null or undefined
35587
+ assertParamExists('registryControllerInstall', 'id', id);
35588
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35590
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35591
+ let baseOptions;
35592
+ if (configuration) {
35593
+ baseOptions = configuration.baseOptions;
35594
+ }
35595
+
35596
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35597
+ const localVarHeaderParameter = {} as any;
35598
+ const localVarQueryParameter = {} as any;
35599
+
35600
+ // authentication domainAuth required
35601
+
35602
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35603
+
35604
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35605
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35606
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35607
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
35608
+
35609
+ return {
35610
+ url: toPathString(localVarUrlObj),
35611
+ options: localVarRequestOptions,
35612
+ };
35613
+ },
35614
+ /**
35615
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35616
+ * @summary List subscribed registries
35617
+ * @param {*} [options] Override http request option.
35618
+ * @throws {RequiredError}
35619
+ */
35620
+ registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35621
+ const localVarPath = `/registry`;
35622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35624
+ let baseOptions;
35625
+ if (configuration) {
35626
+ baseOptions = configuration.baseOptions;
35627
+ }
35628
+
35629
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
35630
+ const localVarHeaderParameter = {} as any;
35631
+ const localVarQueryParameter = {} as any;
35632
+
35633
+ // authentication domainAuth required
35634
+
35635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35637
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35638
+
35639
+ return {
35640
+ url: toPathString(localVarUrlObj),
35641
+ options: localVarRequestOptions,
35642
+ };
35643
+ },
35644
+ /**
35645
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35646
+ * @summary Refresh registry manifest
35647
+ * @param {string} id
35648
+ * @param {*} [options] Override http request option.
35649
+ * @throws {RequiredError}
35650
+ */
35651
+ registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35652
+ // verify required parameter 'id' is not null or undefined
35653
+ assertParamExists('registryControllerRefresh', 'id', id);
35654
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35655
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35656
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35657
+ let baseOptions;
35658
+ if (configuration) {
35659
+ baseOptions = configuration.baseOptions;
35660
+ }
35661
+
35662
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35663
+ const localVarHeaderParameter = {} as any;
35664
+ const localVarQueryParameter = {} as any;
35665
+
35666
+ // authentication domainAuth required
35667
+
35668
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35669
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35670
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35671
+
35672
+ return {
35673
+ url: toPathString(localVarUrlObj),
35674
+ options: localVarRequestOptions,
35675
+ };
35676
+ },
35677
+ /**
35678
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35679
+ * @summary Subscribe to a registry
35680
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35681
+ * @param {*} [options] Override http request option.
35682
+ * @throws {RequiredError}
35683
+ */
35684
+ registryControllerSubscribe: async (
35685
+ registrySubscribeBody?: RegistrySubscribeBody,
35686
+ options: RawAxiosRequestConfig = {},
35687
+ ): Promise<RequestArgs> => {
35688
+ const localVarPath = `/registry`;
35689
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35690
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35691
+ let baseOptions;
35692
+ if (configuration) {
35693
+ baseOptions = configuration.baseOptions;
35694
+ }
35695
+
35696
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35697
+ const localVarHeaderParameter = {} as any;
35698
+ const localVarQueryParameter = {} as any;
35699
+
35700
+ // authentication domainAuth required
35701
+
35702
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35703
+
35704
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35705
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35706
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35707
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
35708
+
35709
+ return {
35710
+ url: toPathString(localVarUrlObj),
35711
+ options: localVarRequestOptions,
35712
+ };
35713
+ },
35714
+ /**
35715
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35716
+ * @summary Unsubscribe from a registry
35717
+ * @param {string} id
35718
+ * @param {*} [options] Override http request option.
35719
+ * @throws {RequiredError}
35720
+ */
35721
+ registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35722
+ // verify required parameter 'id' is not null or undefined
35723
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
35724
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35725
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35726
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35727
+ let baseOptions;
35728
+ if (configuration) {
35729
+ baseOptions = configuration.baseOptions;
35730
+ }
35731
+
35732
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
35733
+ const localVarHeaderParameter = {} as any;
35734
+ const localVarQueryParameter = {} as any;
35735
+
35736
+ // authentication domainAuth required
35737
+
35738
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35739
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35740
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35741
+
35742
+ return {
35743
+ url: toPathString(localVarUrlObj),
35744
+ options: localVarRequestOptions,
35745
+ };
35746
+ },
35747
+ };
35748
+ };
35749
+
35750
+ /**
35751
+ * RegistryApi - functional programming interface
35752
+ * @export
35753
+ */
35754
+ export const RegistryApiFp = function (configuration?: Configuration) {
35755
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
35756
+ return {
35757
+ /**
35758
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35759
+ * @summary Install a module from a registry
35760
+ * @param {string} id
35761
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35762
+ * @param {*} [options] Override http request option.
35763
+ * @throws {RequiredError}
35764
+ */
35765
+ async registryControllerInstall(
35766
+ id: string,
35767
+ registryInstallBody?: RegistryInstallBody,
35768
+ options?: RawAxiosRequestConfig,
35769
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
35770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
35771
+ id,
35772
+ registryInstallBody,
35773
+ options,
35774
+ );
35775
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35776
+ const localVarOperationServerBasePath =
35777
+ operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
35778
+ return (axios, basePath) =>
35779
+ createRequestFunction(
35780
+ localVarAxiosArgs,
35781
+ globalAxios,
35782
+ BASE_PATH,
35783
+ configuration,
35784
+ )(axios, localVarOperationServerBasePath || basePath);
35785
+ },
35786
+ /**
35787
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35788
+ * @summary List subscribed registries
35789
+ * @param {*} [options] Override http request option.
35790
+ * @throws {RequiredError}
35791
+ */
35792
+ async registryControllerList(
35793
+ options?: RawAxiosRequestConfig,
35794
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
35795
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
35796
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35797
+ const localVarOperationServerBasePath =
35798
+ operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
35799
+ return (axios, basePath) =>
35800
+ createRequestFunction(
35801
+ localVarAxiosArgs,
35802
+ globalAxios,
35803
+ BASE_PATH,
35804
+ configuration,
35805
+ )(axios, localVarOperationServerBasePath || basePath);
35806
+ },
35807
+ /**
35808
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35809
+ * @summary Refresh registry manifest
35810
+ * @param {string} id
35811
+ * @param {*} [options] Override http request option.
35812
+ * @throws {RequiredError}
35813
+ */
35814
+ async registryControllerRefresh(
35815
+ id: string,
35816
+ options?: RawAxiosRequestConfig,
35817
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
35818
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
35819
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35820
+ const localVarOperationServerBasePath =
35821
+ operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
35822
+ return (axios, basePath) =>
35823
+ createRequestFunction(
35824
+ localVarAxiosArgs,
35825
+ globalAxios,
35826
+ BASE_PATH,
35827
+ configuration,
35828
+ )(axios, localVarOperationServerBasePath || basePath);
35829
+ },
35830
+ /**
35831
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35832
+ * @summary Subscribe to a registry
35833
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35834
+ * @param {*} [options] Override http request option.
35835
+ * @throws {RequiredError}
35836
+ */
35837
+ async registryControllerSubscribe(
35838
+ registrySubscribeBody?: RegistrySubscribeBody,
35839
+ options?: RawAxiosRequestConfig,
35840
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
35841
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
35842
+ registrySubscribeBody,
35843
+ options,
35844
+ );
35845
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35846
+ const localVarOperationServerBasePath =
35847
+ operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
35848
+ return (axios, basePath) =>
35849
+ createRequestFunction(
35850
+ localVarAxiosArgs,
35851
+ globalAxios,
35852
+ BASE_PATH,
35853
+ configuration,
35854
+ )(axios, localVarOperationServerBasePath || basePath);
35855
+ },
35856
+ /**
35857
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35858
+ * @summary Unsubscribe from a registry
35859
+ * @param {string} id
35860
+ * @param {*} [options] Override http request option.
35861
+ * @throws {RequiredError}
35862
+ */
35863
+ async registryControllerUnsubscribe(
35864
+ id: string,
35865
+ options?: RawAxiosRequestConfig,
35866
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
35867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
35868
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35869
+ const localVarOperationServerBasePath =
35870
+ operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
35871
+ return (axios, basePath) =>
35872
+ createRequestFunction(
35873
+ localVarAxiosArgs,
35874
+ globalAxios,
35875
+ BASE_PATH,
35876
+ configuration,
35877
+ )(axios, localVarOperationServerBasePath || basePath);
35878
+ },
35879
+ };
35880
+ };
35881
+
35882
+ /**
35883
+ * RegistryApi - factory interface
35884
+ * @export
35885
+ */
35886
+ export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35887
+ const localVarFp = RegistryApiFp(configuration);
35888
+ return {
35889
+ /**
35890
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35891
+ * @summary Install a module from a registry
35892
+ * @param {string} id
35893
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35894
+ * @param {*} [options] Override http request option.
35895
+ * @throws {RequiredError}
35896
+ */
35897
+ registryControllerInstall(
35898
+ id: string,
35899
+ registryInstallBody?: RegistryInstallBody,
35900
+ options?: RawAxiosRequestConfig,
35901
+ ): AxiosPromise<APIOutput> {
35902
+ return localVarFp
35903
+ .registryControllerInstall(id, registryInstallBody, options)
35904
+ .then((request) => request(axios, basePath));
35905
+ },
35906
+ /**
35907
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35908
+ * @summary List subscribed registries
35909
+ * @param {*} [options] Override http request option.
35910
+ * @throws {RequiredError}
35911
+ */
35912
+ registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
35913
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
35914
+ },
35915
+ /**
35916
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35917
+ * @summary Refresh registry manifest
35918
+ * @param {string} id
35919
+ * @param {*} [options] Override http request option.
35920
+ * @throws {RequiredError}
35921
+ */
35922
+ registryControllerRefresh(
35923
+ id: string,
35924
+ options?: RawAxiosRequestConfig,
35925
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
35926
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
35927
+ },
35928
+ /**
35929
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35930
+ * @summary Subscribe to a registry
35931
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35932
+ * @param {*} [options] Override http request option.
35933
+ * @throws {RequiredError}
35934
+ */
35935
+ registryControllerSubscribe(
35936
+ registrySubscribeBody?: RegistrySubscribeBody,
35937
+ options?: RawAxiosRequestConfig,
35938
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
35939
+ return localVarFp
35940
+ .registryControllerSubscribe(registrySubscribeBody, options)
35941
+ .then((request) => request(axios, basePath));
35942
+ },
35943
+ /**
35944
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35945
+ * @summary Unsubscribe from a registry
35946
+ * @param {string} id
35947
+ * @param {*} [options] Override http request option.
35948
+ * @throws {RequiredError}
35949
+ */
35950
+ registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
35951
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
35952
+ },
35953
+ };
35954
+ };
35955
+
35956
+ /**
35957
+ * RegistryApi - object-oriented interface
35958
+ * @export
35959
+ * @class RegistryApi
35960
+ * @extends {BaseAPI}
35961
+ */
35962
+ export class RegistryApi extends BaseAPI {
35963
+ /**
35964
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35965
+ * @summary Install a module from a registry
35966
+ * @param {string} id
35967
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35968
+ * @param {*} [options] Override http request option.
35969
+ * @throws {RequiredError}
35970
+ * @memberof RegistryApi
35971
+ */
35972
+ public registryControllerInstall(
35973
+ id: string,
35974
+ registryInstallBody?: RegistryInstallBody,
35975
+ options?: RawAxiosRequestConfig,
35976
+ ) {
35977
+ return RegistryApiFp(this.configuration)
35978
+ .registryControllerInstall(id, registryInstallBody, options)
35979
+ .then((request) => request(this.axios, this.basePath));
35980
+ }
35981
+
35982
+ /**
35983
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35984
+ * @summary List subscribed registries
35985
+ * @param {*} [options] Override http request option.
35986
+ * @throws {RequiredError}
35987
+ * @memberof RegistryApi
35988
+ */
35989
+ public registryControllerList(options?: RawAxiosRequestConfig) {
35990
+ return RegistryApiFp(this.configuration)
35991
+ .registryControllerList(options)
35992
+ .then((request) => request(this.axios, this.basePath));
35993
+ }
35994
+
35995
+ /**
35996
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35997
+ * @summary Refresh registry manifest
35998
+ * @param {string} id
35999
+ * @param {*} [options] Override http request option.
36000
+ * @throws {RequiredError}
36001
+ * @memberof RegistryApi
36002
+ */
36003
+ public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
36004
+ return RegistryApiFp(this.configuration)
36005
+ .registryControllerRefresh(id, options)
36006
+ .then((request) => request(this.axios, this.basePath));
36007
+ }
36008
+
36009
+ /**
36010
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
36011
+ * @summary Subscribe to a registry
36012
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
36013
+ * @param {*} [options] Override http request option.
36014
+ * @throws {RequiredError}
36015
+ * @memberof RegistryApi
36016
+ */
36017
+ public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
36018
+ return RegistryApiFp(this.configuration)
36019
+ .registryControllerSubscribe(registrySubscribeBody, options)
36020
+ .then((request) => request(this.axios, this.basePath));
36021
+ }
36022
+
36023
+ /**
36024
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
36025
+ * @summary Unsubscribe from a registry
36026
+ * @param {string} id
36027
+ * @param {*} [options] Override http request option.
36028
+ * @throws {RequiredError}
36029
+ * @memberof RegistryApi
36030
+ */
36031
+ public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
36032
+ return RegistryApiFp(this.configuration)
36033
+ .registryControllerUnsubscribe(id, options)
36034
+ .then((request) => request(this.axios, this.basePath));
36035
+ }
36036
+ }
36037
+
34329
36038
  /**
34330
36039
  * RoleApi - axios parameter creator
34331
36040
  * @export
@@ -37870,6 +39579,334 @@ export class ShopOrderApi extends BaseAPI {
37870
39579
  }
37871
39580
  }
37872
39581
 
39582
+ /**
39583
+ * StorefrontConfigApi - axios parameter creator
39584
+ * @export
39585
+ */
39586
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
39587
+ return {
39588
+ /**
39589
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
39590
+ * @summary Get effective config
39591
+ * @param {string} gameServerId
39592
+ * @param {*} [options] Override http request option.
39593
+ * @throws {RequiredError}
39594
+ */
39595
+ storefrontConfigControllerGetEffectiveConfig: async (
39596
+ gameServerId: string,
39597
+ options: RawAxiosRequestConfig = {},
39598
+ ): Promise<RequestArgs> => {
39599
+ // verify required parameter 'gameServerId' is not null or undefined
39600
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
39601
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
39602
+ `{${'gameServerId'}}`,
39603
+ encodeURIComponent(String(gameServerId)),
39604
+ );
39605
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39606
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39607
+ let baseOptions;
39608
+ if (configuration) {
39609
+ baseOptions = configuration.baseOptions;
39610
+ }
39611
+
39612
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
39613
+ const localVarHeaderParameter = {} as any;
39614
+ const localVarQueryParameter = {} as any;
39615
+
39616
+ // authentication domainAuth required
39617
+
39618
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39619
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39620
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
39621
+
39622
+ return {
39623
+ url: toPathString(localVarUrlObj),
39624
+ options: localVarRequestOptions,
39625
+ };
39626
+ },
39627
+ /**
39628
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
39629
+ * @summary List templates
39630
+ * @param {*} [options] Override http request option.
39631
+ * @throws {RequiredError}
39632
+ */
39633
+ storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
39634
+ const localVarPath = `/storefront/templates`;
39635
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39636
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39637
+ let baseOptions;
39638
+ if (configuration) {
39639
+ baseOptions = configuration.baseOptions;
39640
+ }
39641
+
39642
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
39643
+ const localVarHeaderParameter = {} as any;
39644
+ const localVarQueryParameter = {} as any;
39645
+
39646
+ // authentication domainAuth required
39647
+
39648
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39649
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39650
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
39651
+
39652
+ return {
39653
+ url: toPathString(localVarUrlObj),
39654
+ options: localVarRequestOptions,
39655
+ };
39656
+ },
39657
+ /**
39658
+ * 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`
39659
+ * @summary Set config
39660
+ * @param {string} gameServerId
39661
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39662
+ * @param {*} [options] Override http request option.
39663
+ * @throws {RequiredError}
39664
+ */
39665
+ storefrontConfigControllerSetConfig: async (
39666
+ gameServerId: string,
39667
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39668
+ options: RawAxiosRequestConfig = {},
39669
+ ): Promise<RequestArgs> => {
39670
+ // verify required parameter 'gameServerId' is not null or undefined
39671
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
39672
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
39673
+ `{${'gameServerId'}}`,
39674
+ encodeURIComponent(String(gameServerId)),
39675
+ );
39676
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39677
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39678
+ let baseOptions;
39679
+ if (configuration) {
39680
+ baseOptions = configuration.baseOptions;
39681
+ }
39682
+
39683
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
39684
+ const localVarHeaderParameter = {} as any;
39685
+ const localVarQueryParameter = {} as any;
39686
+
39687
+ // authentication domainAuth required
39688
+
39689
+ localVarHeaderParameter['Content-Type'] = 'application/json';
39690
+
39691
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39692
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39693
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
39694
+ localVarRequestOptions.data = serializeDataIfNeeded(
39695
+ storefrontConfigUpsertBody,
39696
+ localVarRequestOptions,
39697
+ configuration,
39698
+ );
39699
+
39700
+ return {
39701
+ url: toPathString(localVarUrlObj),
39702
+ options: localVarRequestOptions,
39703
+ };
39704
+ },
39705
+ };
39706
+ };
39707
+
39708
+ /**
39709
+ * StorefrontConfigApi - functional programming interface
39710
+ * @export
39711
+ */
39712
+ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
39713
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
39714
+ return {
39715
+ /**
39716
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
39717
+ * @summary Get effective config
39718
+ * @param {string} gameServerId
39719
+ * @param {*} [options] Override http request option.
39720
+ * @throws {RequiredError}
39721
+ */
39722
+ async storefrontConfigControllerGetEffectiveConfig(
39723
+ gameServerId: string,
39724
+ options?: RawAxiosRequestConfig,
39725
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
39726
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
39727
+ gameServerId,
39728
+ options,
39729
+ );
39730
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39731
+ const localVarOperationServerBasePath =
39732
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
39733
+ localVarOperationServerIndex
39734
+ ]?.url;
39735
+ return (axios, basePath) =>
39736
+ createRequestFunction(
39737
+ localVarAxiosArgs,
39738
+ globalAxios,
39739
+ BASE_PATH,
39740
+ configuration,
39741
+ )(axios, localVarOperationServerBasePath || basePath);
39742
+ },
39743
+ /**
39744
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
39745
+ * @summary List templates
39746
+ * @param {*} [options] Override http request option.
39747
+ * @throws {RequiredError}
39748
+ */
39749
+ async storefrontConfigControllerListTemplates(
39750
+ options?: RawAxiosRequestConfig,
39751
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
39752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
39753
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39754
+ const localVarOperationServerBasePath =
39755
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
39756
+ localVarOperationServerIndex
39757
+ ]?.url;
39758
+ return (axios, basePath) =>
39759
+ createRequestFunction(
39760
+ localVarAxiosArgs,
39761
+ globalAxios,
39762
+ BASE_PATH,
39763
+ configuration,
39764
+ )(axios, localVarOperationServerBasePath || basePath);
39765
+ },
39766
+ /**
39767
+ * 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`
39768
+ * @summary Set config
39769
+ * @param {string} gameServerId
39770
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39771
+ * @param {*} [options] Override http request option.
39772
+ * @throws {RequiredError}
39773
+ */
39774
+ async storefrontConfigControllerSetConfig(
39775
+ gameServerId: string,
39776
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39777
+ options?: RawAxiosRequestConfig,
39778
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
39779
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
39780
+ gameServerId,
39781
+ storefrontConfigUpsertBody,
39782
+ options,
39783
+ );
39784
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39785
+ const localVarOperationServerBasePath =
39786
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
39787
+ ?.url;
39788
+ return (axios, basePath) =>
39789
+ createRequestFunction(
39790
+ localVarAxiosArgs,
39791
+ globalAxios,
39792
+ BASE_PATH,
39793
+ configuration,
39794
+ )(axios, localVarOperationServerBasePath || basePath);
39795
+ },
39796
+ };
39797
+ };
39798
+
39799
+ /**
39800
+ * StorefrontConfigApi - factory interface
39801
+ * @export
39802
+ */
39803
+ export const StorefrontConfigApiFactory = function (
39804
+ configuration?: Configuration,
39805
+ basePath?: string,
39806
+ axios?: AxiosInstance,
39807
+ ) {
39808
+ const localVarFp = StorefrontConfigApiFp(configuration);
39809
+ return {
39810
+ /**
39811
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
39812
+ * @summary Get effective config
39813
+ * @param {string} gameServerId
39814
+ * @param {*} [options] Override http request option.
39815
+ * @throws {RequiredError}
39816
+ */
39817
+ storefrontConfigControllerGetEffectiveConfig(
39818
+ gameServerId: string,
39819
+ options?: RawAxiosRequestConfig,
39820
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
39821
+ return localVarFp
39822
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
39823
+ .then((request) => request(axios, basePath));
39824
+ },
39825
+ /**
39826
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
39827
+ * @summary List templates
39828
+ * @param {*} [options] Override http request option.
39829
+ * @throws {RequiredError}
39830
+ */
39831
+ storefrontConfigControllerListTemplates(
39832
+ options?: RawAxiosRequestConfig,
39833
+ ): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
39834
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
39835
+ },
39836
+ /**
39837
+ * 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`
39838
+ * @summary Set config
39839
+ * @param {string} gameServerId
39840
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39841
+ * @param {*} [options] Override http request option.
39842
+ * @throws {RequiredError}
39843
+ */
39844
+ storefrontConfigControllerSetConfig(
39845
+ gameServerId: string,
39846
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39847
+ options?: RawAxiosRequestConfig,
39848
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
39849
+ return localVarFp
39850
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
39851
+ .then((request) => request(axios, basePath));
39852
+ },
39853
+ };
39854
+ };
39855
+
39856
+ /**
39857
+ * StorefrontConfigApi - object-oriented interface
39858
+ * @export
39859
+ * @class StorefrontConfigApi
39860
+ * @extends {BaseAPI}
39861
+ */
39862
+ export class StorefrontConfigApi extends BaseAPI {
39863
+ /**
39864
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
39865
+ * @summary Get effective config
39866
+ * @param {string} gameServerId
39867
+ * @param {*} [options] Override http request option.
39868
+ * @throws {RequiredError}
39869
+ * @memberof StorefrontConfigApi
39870
+ */
39871
+ public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
39872
+ return StorefrontConfigApiFp(this.configuration)
39873
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
39874
+ .then((request) => request(this.axios, this.basePath));
39875
+ }
39876
+
39877
+ /**
39878
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
39879
+ * @summary List templates
39880
+ * @param {*} [options] Override http request option.
39881
+ * @throws {RequiredError}
39882
+ * @memberof StorefrontConfigApi
39883
+ */
39884
+ public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
39885
+ return StorefrontConfigApiFp(this.configuration)
39886
+ .storefrontConfigControllerListTemplates(options)
39887
+ .then((request) => request(this.axios, this.basePath));
39888
+ }
39889
+
39890
+ /**
39891
+ * 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`
39892
+ * @summary Set config
39893
+ * @param {string} gameServerId
39894
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39895
+ * @param {*} [options] Override http request option.
39896
+ * @throws {RequiredError}
39897
+ * @memberof StorefrontConfigApi
39898
+ */
39899
+ public storefrontConfigControllerSetConfig(
39900
+ gameServerId: string,
39901
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39902
+ options?: RawAxiosRequestConfig,
39903
+ ) {
39904
+ return StorefrontConfigApiFp(this.configuration)
39905
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
39906
+ .then((request) => request(this.axios, this.basePath));
39907
+ }
39908
+ }
39909
+
37873
39910
  /**
37874
39911
  * TrackingApi - axios parameter creator
37875
39912
  * @export