@takaro/apiclient 0.0.0-dev.beeddd1 → 0.0.0-dev.bf507a2

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.
@@ -7444,6 +7444,32 @@ export interface LoginOutputDTOAPI {
7444
7444
  */
7445
7445
  meta: MetadataOutput;
7446
7446
  }
7447
+ /**
7448
+ *
7449
+ * @export
7450
+ * @interface LoginQueryParams
7451
+ */
7452
+ export interface LoginQueryParams {
7453
+ /**
7454
+ *
7455
+ * @type {string}
7456
+ * @memberof LoginQueryParams
7457
+ */
7458
+ redirect?: string;
7459
+ }
7460
+ /**
7461
+ *
7462
+ * @export
7463
+ * @interface LogoutQueryParams
7464
+ */
7465
+ export interface LogoutQueryParams {
7466
+ /**
7467
+ *
7468
+ * @type {string}
7469
+ * @memberof LogoutQueryParams
7470
+ */
7471
+ redirect?: string;
7472
+ }
7447
7473
  /**
7448
7474
  *
7449
7475
  * @export
@@ -8073,6 +8099,98 @@ export interface ModuleInstallParamId {
8073
8099
  */
8074
8100
  gameServerId: string;
8075
8101
  }
8102
+ /**
8103
+ *
8104
+ * @export
8105
+ * @interface ModuleInstallationKpisDTO
8106
+ */
8107
+ export interface ModuleInstallationKpisDTO {
8108
+ /**
8109
+ *
8110
+ * @type {number}
8111
+ * @memberof ModuleInstallationKpisDTO
8112
+ */
8113
+ runs: number;
8114
+ /**
8115
+ *
8116
+ * @type {number}
8117
+ * @memberof ModuleInstallationKpisDTO
8118
+ */
8119
+ failures: number;
8120
+ /**
8121
+ *
8122
+ * @type {number}
8123
+ * @memberof ModuleInstallationKpisDTO
8124
+ */
8125
+ successRate: number;
8126
+ }
8127
+ /**
8128
+ *
8129
+ * @export
8130
+ * @interface ModuleInstallationKpisDTOAPI
8131
+ */
8132
+ export interface ModuleInstallationKpisDTOAPI {
8133
+ /**
8134
+ *
8135
+ * @type {ModuleInstallationKpisDTO}
8136
+ * @memberof ModuleInstallationKpisDTOAPI
8137
+ */
8138
+ data: ModuleInstallationKpisDTO;
8139
+ /**
8140
+ *
8141
+ * @type {MetadataOutput}
8142
+ * @memberof ModuleInstallationKpisDTOAPI
8143
+ */
8144
+ meta: MetadataOutput;
8145
+ }
8146
+ /**
8147
+ *
8148
+ * @export
8149
+ * @interface ModuleInstallationKpisQueryDTO
8150
+ */
8151
+ export interface ModuleInstallationKpisQueryDTO {
8152
+ /**
8153
+ *
8154
+ * @type {string}
8155
+ * @memberof ModuleInstallationKpisQueryDTO
8156
+ */
8157
+ startDate?: string;
8158
+ /**
8159
+ *
8160
+ * @type {string}
8161
+ * @memberof ModuleInstallationKpisQueryDTO
8162
+ */
8163
+ endDate?: string;
8164
+ /**
8165
+ *
8166
+ * @type {string}
8167
+ * @memberof ModuleInstallationKpisQueryDTO
8168
+ */
8169
+ gameServerId: string;
8170
+ /**
8171
+ *
8172
+ * @type {string}
8173
+ * @memberof ModuleInstallationKpisQueryDTO
8174
+ */
8175
+ moduleId: string;
8176
+ /**
8177
+ *
8178
+ * @type {string}
8179
+ * @memberof ModuleInstallationKpisQueryDTO
8180
+ */
8181
+ period?: ModuleInstallationKpisQueryDTOPeriodEnum;
8182
+ }
8183
+
8184
+ export const ModuleInstallationKpisQueryDTOPeriodEnum = {
8185
+ _24h: '24h',
8186
+ _7d: '7d',
8187
+ _30d: '30d',
8188
+ _90d: '90d',
8189
+ } as const;
8190
+
8191
+ export type ModuleInstallationKpisQueryDTOPeriodEnum =
8192
+ (typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
8193
+
8076
8194
  /**
8077
8195
  *
8078
8196
  * @export
@@ -8684,6 +8802,12 @@ export interface ModuleTransferVersionDTO {
8684
8802
  * @memberof ModuleTransferVersionDTO
8685
8803
  */
8686
8804
  uiSchema: string;
8805
+ /**
8806
+ *
8807
+ * @type {string}
8808
+ * @memberof ModuleTransferVersionDTO
8809
+ */
8810
+ defaultSystemConfig?: string;
8687
8811
  /**
8688
8812
  *
8689
8813
  * @type {Array<ICommand>}
@@ -8838,6 +8962,24 @@ export interface ModuleVersionOutputDTO {
8838
8962
  * @memberof ModuleVersionOutputDTO
8839
8963
  */
8840
8964
  moduleId: string;
8965
+ /**
8966
+ *
8967
+ * @type {string}
8968
+ * @memberof ModuleVersionOutputDTO
8969
+ */
8970
+ registryId?: string;
8971
+ /**
8972
+ *
8973
+ * @type {string}
8974
+ * @memberof ModuleVersionOutputDTO
8975
+ */
8976
+ sourceModuleName?: string;
8977
+ /**
8978
+ *
8979
+ * @type {string}
8980
+ * @memberof ModuleVersionOutputDTO
8981
+ */
8982
+ sourceVersion?: string;
8841
8983
  /**
8842
8984
  *
8843
8985
  * @type {Array<CronJobOutputDTO>}
@@ -11909,950 +12051,1330 @@ export interface RedirectQs {
11909
12051
  /**
11910
12052
  *
11911
12053
  * @export
11912
- * @interface ResolveRegistrationTokenInputDTO
12054
+ * @interface RegistryCreateDTO
11913
12055
  */
11914
- export interface ResolveRegistrationTokenInputDTO {
12056
+ export interface RegistryCreateDTO {
11915
12057
  /**
11916
12058
  *
11917
12059
  * @type {string}
11918
- * @memberof ResolveRegistrationTokenInputDTO
12060
+ * @memberof RegistryCreateDTO
11919
12061
  */
11920
- registrationToken: string;
12062
+ url: string;
12063
+ /**
12064
+ *
12065
+ * @type {string}
12066
+ * @memberof RegistryCreateDTO
12067
+ */
12068
+ name?: string;
12069
+ /**
12070
+ *
12071
+ * @type {string}
12072
+ * @memberof RegistryCreateDTO
12073
+ */
12074
+ description?: string;
11921
12075
  }
11922
12076
  /**
11923
12077
  *
11924
12078
  * @export
11925
- * @interface RevenueMetricsDTO
12079
+ * @interface RegistryInstallBody
11926
12080
  */
11927
- export interface RevenueMetricsDTO {
11928
- /**
11929
- *
11930
- * @type {Array<TimeSeriesDataPointDTO>}
11931
- * @memberof RevenueMetricsDTO
11932
- */
11933
- timeSeries: Array<TimeSeriesDataPointDTO>;
12081
+ export interface RegistryInstallBody {
11934
12082
  /**
11935
12083
  *
11936
- * @type {Array<HeatmapDataPointDTO>}
11937
- * @memberof RevenueMetricsDTO
12084
+ * @type {string}
12085
+ * @memberof RegistryInstallBody
11938
12086
  */
11939
- heatmap: Array<HeatmapDataPointDTO>;
12087
+ moduleName: string;
11940
12088
  /**
11941
12089
  *
11942
- * @type {number}
11943
- * @memberof RevenueMetricsDTO
12090
+ * @type {string}
12091
+ * @memberof RegistryInstallBody
11944
12092
  */
11945
- growth: number;
12093
+ version: string;
12094
+ }
12095
+ /**
12096
+ *
12097
+ * @export
12098
+ * @interface RegistryInstallInputDTO
12099
+ */
12100
+ export interface RegistryInstallInputDTO {
11946
12101
  /**
11947
12102
  *
11948
12103
  * @type {string}
11949
- * @memberof RevenueMetricsDTO
12104
+ * @memberof RegistryInstallInputDTO
11950
12105
  */
11951
- peakHour: string;
12106
+ moduleName: string;
11952
12107
  /**
11953
12108
  *
11954
12109
  * @type {string}
11955
- * @memberof RevenueMetricsDTO
12110
+ * @memberof RegistryInstallInputDTO
11956
12111
  */
11957
- peakDay: string;
12112
+ version: string;
11958
12113
  }
11959
12114
  /**
11960
12115
  *
11961
12116
  * @export
11962
- * @interface RevenueTimeSeriesPointDTO
12117
+ * @interface RegistryListOutputDTO
11963
12118
  */
11964
- export interface RevenueTimeSeriesPointDTO {
12119
+ export interface RegistryListOutputDTO {
11965
12120
  /**
11966
12121
  *
11967
12122
  * @type {string}
11968
- * @memberof RevenueTimeSeriesPointDTO
12123
+ * @memberof RegistryListOutputDTO
11969
12124
  */
11970
- timestamp: string;
12125
+ url: string;
11971
12126
  /**
11972
12127
  *
11973
- * @type {number}
11974
- * @memberof RevenueTimeSeriesPointDTO
12128
+ * @type {string}
12129
+ * @memberof RegistryListOutputDTO
11975
12130
  */
11976
- orders: number;
12131
+ name: string;
11977
12132
  /**
11978
12133
  *
11979
- * @type {number}
11980
- * @memberof RevenueTimeSeriesPointDTO
12134
+ * @type {string}
12135
+ * @memberof RegistryListOutputDTO
11981
12136
  */
11982
- revenue: number;
12137
+ description?: string;
11983
12138
  /**
11984
12139
  *
11985
- * @type {number}
11986
- * @memberof RevenueTimeSeriesPointDTO
12140
+ * @type {Array<RegistryModuleVersionOutputDTO>}
12141
+ * @memberof RegistryListOutputDTO
11987
12142
  */
11988
- uniqueBuyers: number;
12143
+ modules?: Array<RegistryModuleVersionOutputDTO>;
12144
+ /**
12145
+ *
12146
+ * @type {string}
12147
+ * @memberof RegistryListOutputDTO
12148
+ */
12149
+ lastFetchError?: string;
12150
+ /**
12151
+ *
12152
+ * @type {string}
12153
+ * @memberof RegistryListOutputDTO
12154
+ */
12155
+ id: string;
12156
+ /**
12157
+ *
12158
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12159
+ * @memberof RegistryListOutputDTO
12160
+ */
12161
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12162
+ /**
12163
+ *
12164
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12165
+ * @memberof RegistryListOutputDTO
12166
+ */
12167
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11989
12168
  }
11990
12169
  /**
11991
12170
  *
11992
12171
  * @export
11993
- * @interface RevenueTimeSeriesPointDTOAPI
12172
+ * @interface RegistryListOutputDTOAPI
11994
12173
  */
11995
- export interface RevenueTimeSeriesPointDTOAPI {
12174
+ export interface RegistryListOutputDTOAPI {
11996
12175
  /**
11997
12176
  *
11998
- * @type {Array<RevenueTimeSeriesPointDTO>}
11999
- * @memberof RevenueTimeSeriesPointDTOAPI
12177
+ * @type {Array<RegistryListOutputDTO>}
12178
+ * @memberof RegistryListOutputDTOAPI
12000
12179
  */
12001
- data: Array<RevenueTimeSeriesPointDTO>;
12180
+ data: Array<RegistryListOutputDTO>;
12002
12181
  /**
12003
12182
  *
12004
12183
  * @type {MetadataOutput}
12005
- * @memberof RevenueTimeSeriesPointDTOAPI
12184
+ * @memberof RegistryListOutputDTOAPI
12006
12185
  */
12007
12186
  meta: MetadataOutput;
12008
12187
  }
12009
12188
  /**
12010
12189
  *
12011
12190
  * @export
12012
- * @interface RoleCreateInputDTO
12191
+ * @interface RegistryManifestDTO
12013
12192
  */
12014
- export interface RoleCreateInputDTO {
12193
+ export interface RegistryManifestDTO {
12015
12194
  /**
12016
12195
  *
12017
12196
  * @type {string}
12018
- * @memberof RoleCreateInputDTO
12197
+ * @memberof RegistryManifestDTO
12019
12198
  */
12020
12199
  name: string;
12021
12200
  /**
12022
12201
  *
12023
- * @type {Array<PermissionInputDTO>}
12024
- * @memberof RoleCreateInputDTO
12202
+ * @type {string}
12203
+ * @memberof RegistryManifestDTO
12025
12204
  */
12026
- permissions: Array<PermissionInputDTO>;
12205
+ description?: string;
12027
12206
  /**
12028
12207
  *
12029
- * @type {string}
12030
- * @memberof RoleCreateInputDTO
12208
+ * @type {Array<RegistryManifestModuleDTO>}
12209
+ * @memberof RegistryManifestDTO
12031
12210
  */
12032
- linkedDiscordRoleId?: string;
12211
+ modules: Array<RegistryManifestModuleDTO>;
12033
12212
  }
12034
12213
  /**
12035
12214
  *
12036
12215
  * @export
12037
- * @interface RoleMembersOutputDTO
12216
+ * @interface RegistryManifestModuleDTO
12038
12217
  */
12039
- export interface RoleMembersOutputDTO {
12218
+ export interface RegistryManifestModuleDTO {
12040
12219
  /**
12041
12220
  *
12042
- * @type {RoleMembersPlayersOutputDTO}
12043
- * @memberof RoleMembersOutputDTO
12221
+ * @type {string}
12222
+ * @memberof RegistryManifestModuleDTO
12044
12223
  */
12045
- players: RoleMembersPlayersOutputDTO;
12224
+ name: string;
12046
12225
  /**
12047
12226
  *
12048
- * @type {RoleMembersUsersOutputDTO}
12049
- * @memberof RoleMembersOutputDTO
12227
+ * @type {string}
12228
+ * @memberof RegistryManifestModuleDTO
12050
12229
  */
12051
- users: RoleMembersUsersOutputDTO;
12052
- }
12053
- /**
12054
- *
12055
- * @export
12056
- * @interface RoleMembersOutputDTOAPI
12057
- */
12058
- export interface RoleMembersOutputDTOAPI {
12230
+ latestVersion: string;
12059
12231
  /**
12060
12232
  *
12061
- * @type {RoleMembersOutputDTO}
12062
- * @memberof RoleMembersOutputDTOAPI
12233
+ * @type {Array<string>}
12234
+ * @memberof RegistryManifestModuleDTO
12063
12235
  */
12064
- data: RoleMembersOutputDTO;
12236
+ versions: Array<string>;
12065
12237
  /**
12066
12238
  *
12067
- * @type {MetadataOutput}
12068
- * @memberof RoleMembersOutputDTOAPI
12239
+ * @type {string}
12240
+ * @memberof RegistryManifestModuleDTO
12069
12241
  */
12070
- meta: MetadataOutput;
12242
+ description?: string;
12071
12243
  }
12072
12244
  /**
12073
12245
  *
12074
12246
  * @export
12075
- * @interface RoleMembersPlayersOutputDTO
12247
+ * @interface RegistryModuleVersionOutputDTO
12076
12248
  */
12077
- export interface RoleMembersPlayersOutputDTO {
12249
+ export interface RegistryModuleVersionOutputDTO {
12078
12250
  /**
12079
12251
  *
12080
- * @type {number}
12081
- * @memberof RoleMembersPlayersOutputDTO
12252
+ * @type {string}
12253
+ * @memberof RegistryModuleVersionOutputDTO
12082
12254
  */
12083
- total: number;
12255
+ name: string;
12084
12256
  /**
12085
12257
  *
12086
- * @type {Array<PlayerOutputWithRolesDTO>}
12087
- * @memberof RoleMembersPlayersOutputDTO
12258
+ * @type {Array<string>}
12259
+ * @memberof RegistryModuleVersionOutputDTO
12088
12260
  */
12089
- results: Array<PlayerOutputWithRolesDTO>;
12261
+ versions: Array<string>;
12262
+ /**
12263
+ *
12264
+ * @type {string}
12265
+ * @memberof RegistryModuleVersionOutputDTO
12266
+ */
12267
+ latestVersion: string;
12268
+ /**
12269
+ *
12270
+ * @type {string}
12271
+ * @memberof RegistryModuleVersionOutputDTO
12272
+ */
12273
+ description?: string;
12090
12274
  }
12091
12275
  /**
12092
12276
  *
12093
12277
  * @export
12094
- * @interface RoleMembersUsersOutputDTO
12278
+ * @interface RegistryOutputDTO
12095
12279
  */
12096
- export interface RoleMembersUsersOutputDTO {
12280
+ export interface RegistryOutputDTO {
12097
12281
  /**
12098
12282
  *
12099
- * @type {number}
12100
- * @memberof RoleMembersUsersOutputDTO
12283
+ * @type {string}
12284
+ * @memberof RegistryOutputDTO
12101
12285
  */
12102
- total: number;
12286
+ url: string;
12103
12287
  /**
12104
12288
  *
12105
- * @type {Array<UserOutputWithRolesDTO>}
12106
- * @memberof RoleMembersUsersOutputDTO
12289
+ * @type {string}
12290
+ * @memberof RegistryOutputDTO
12107
12291
  */
12108
- results: Array<UserOutputWithRolesDTO>;
12292
+ name: string;
12293
+ /**
12294
+ *
12295
+ * @type {string}
12296
+ * @memberof RegistryOutputDTO
12297
+ */
12298
+ description?: string;
12299
+ /**
12300
+ *
12301
+ * @type {string}
12302
+ * @memberof RegistryOutputDTO
12303
+ */
12304
+ id: string;
12305
+ /**
12306
+ *
12307
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12308
+ * @memberof RegistryOutputDTO
12309
+ */
12310
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12311
+ /**
12312
+ *
12313
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12314
+ * @memberof RegistryOutputDTO
12315
+ */
12316
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12109
12317
  }
12110
12318
  /**
12111
12319
  *
12112
12320
  * @export
12113
- * @interface RoleOutputArrayDTOAPI
12321
+ * @interface RegistrySubscribeBody
12114
12322
  */
12115
- export interface RoleOutputArrayDTOAPI {
12323
+ export interface RegistrySubscribeBody {
12116
12324
  /**
12117
12325
  *
12118
- * @type {Array<RoleOutputDTO>}
12119
- * @memberof RoleOutputArrayDTOAPI
12326
+ * @type {string}
12327
+ * @memberof RegistrySubscribeBody
12120
12328
  */
12121
- data: Array<RoleOutputDTO>;
12329
+ url: string;
12330
+ }
12331
+ /**
12332
+ *
12333
+ * @export
12334
+ * @interface RegistrySubscribeInputDTO
12335
+ */
12336
+ export interface RegistrySubscribeInputDTO {
12122
12337
  /**
12123
12338
  *
12124
- * @type {MetadataOutput}
12125
- * @memberof RoleOutputArrayDTOAPI
12339
+ * @type {string}
12340
+ * @memberof RegistrySubscribeInputDTO
12126
12341
  */
12127
- meta: MetadataOutput;
12342
+ url: string;
12128
12343
  }
12129
12344
  /**
12130
12345
  *
12131
12346
  * @export
12132
- * @interface RoleOutputDTO
12347
+ * @interface RegistryUpdateDTO
12133
12348
  */
12134
- export interface RoleOutputDTO {
12349
+ export interface RegistryUpdateDTO {
12135
12350
  /**
12136
12351
  *
12137
12352
  * @type {string}
12138
- * @memberof RoleOutputDTO
12353
+ * @memberof RegistryUpdateDTO
12139
12354
  */
12140
- name: string;
12355
+ name?: string;
12141
12356
  /**
12142
12357
  *
12143
- * @type {Array<PermissionOnRoleDTO>}
12144
- * @memberof RoleOutputDTO
12358
+ * @type {string}
12359
+ * @memberof RegistryUpdateDTO
12145
12360
  */
12146
- permissions: Array<PermissionOnRoleDTO>;
12361
+ description?: string;
12362
+ }
12363
+ /**
12364
+ *
12365
+ * @export
12366
+ * @interface RegistryWithManifestOutputDTO
12367
+ */
12368
+ export interface RegistryWithManifestOutputDTO {
12147
12369
  /**
12148
12370
  *
12149
- * @type {boolean}
12150
- * @memberof RoleOutputDTO
12371
+ * @type {string}
12372
+ * @memberof RegistryWithManifestOutputDTO
12151
12373
  */
12152
- system: boolean;
12374
+ url: string;
12153
12375
  /**
12154
12376
  *
12155
12377
  * @type {string}
12156
- * @memberof RoleOutputDTO
12378
+ * @memberof RegistryWithManifestOutputDTO
12157
12379
  */
12158
- linkedDiscordRoleId?: string;
12380
+ name: string;
12159
12381
  /**
12160
12382
  *
12161
12383
  * @type {string}
12162
- * @memberof RoleOutputDTO
12384
+ * @memberof RegistryWithManifestOutputDTO
12385
+ */
12386
+ description?: string;
12387
+ /**
12388
+ *
12389
+ * @type {object}
12390
+ * @memberof RegistryWithManifestOutputDTO
12391
+ */
12392
+ manifest?: object;
12393
+ /**
12394
+ *
12395
+ * @type {string}
12396
+ * @memberof RegistryWithManifestOutputDTO
12163
12397
  */
12164
12398
  id: string;
12165
12399
  /**
12166
12400
  *
12167
12401
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12168
- * @memberof RoleOutputDTO
12402
+ * @memberof RegistryWithManifestOutputDTO
12169
12403
  */
12170
12404
  createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12171
12405
  /**
12172
12406
  *
12173
12407
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12174
- * @memberof RoleOutputDTO
12408
+ * @memberof RegistryWithManifestOutputDTO
12175
12409
  */
12176
12410
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12177
12411
  }
12178
12412
  /**
12179
12413
  *
12180
12414
  * @export
12181
- * @interface RoleOutputDTOAPI
12415
+ * @interface RegistryWithManifestOutputDTOAPI
12182
12416
  */
12183
- export interface RoleOutputDTOAPI {
12417
+ export interface RegistryWithManifestOutputDTOAPI {
12184
12418
  /**
12185
12419
  *
12186
- * @type {RoleOutputDTO}
12187
- * @memberof RoleOutputDTOAPI
12420
+ * @type {RegistryWithManifestOutputDTO}
12421
+ * @memberof RegistryWithManifestOutputDTOAPI
12188
12422
  */
12189
- data: RoleOutputDTO;
12423
+ data: RegistryWithManifestOutputDTO;
12190
12424
  /**
12191
12425
  *
12192
12426
  * @type {MetadataOutput}
12193
- * @memberof RoleOutputDTOAPI
12427
+ * @memberof RegistryWithManifestOutputDTOAPI
12194
12428
  */
12195
12429
  meta: MetadataOutput;
12196
12430
  }
12197
12431
  /**
12198
12432
  *
12199
12433
  * @export
12200
- * @interface RoleSearchInputAllowedFilters
12434
+ * @interface ResolveRegistrationTokenInputDTO
12201
12435
  */
12202
- export interface RoleSearchInputAllowedFilters {
12203
- /**
12204
- *
12205
- * @type {Array<string>}
12206
- * @memberof RoleSearchInputAllowedFilters
12207
- */
12208
- name?: Array<string>;
12436
+ export interface ResolveRegistrationTokenInputDTO {
12209
12437
  /**
12210
12438
  *
12211
- * @type {Array<string>}
12212
- * @memberof RoleSearchInputAllowedFilters
12439
+ * @type {string}
12440
+ * @memberof ResolveRegistrationTokenInputDTO
12213
12441
  */
12214
- id?: Array<string>;
12442
+ registrationToken: string;
12215
12443
  }
12216
12444
  /**
12217
12445
  *
12218
12446
  * @export
12219
- * @interface RoleSearchInputAllowedSearch
12447
+ * @interface RevenueMetricsDTO
12220
12448
  */
12221
- export interface RoleSearchInputAllowedSearch {
12449
+ export interface RevenueMetricsDTO {
12222
12450
  /**
12223
12451
  *
12224
- * @type {Array<string>}
12225
- * @memberof RoleSearchInputAllowedSearch
12452
+ * @type {Array<TimeSeriesDataPointDTO>}
12453
+ * @memberof RevenueMetricsDTO
12226
12454
  */
12227
- name?: Array<string>;
12228
- }
12229
- /**
12230
- *
12231
- * @export
12232
- * @interface RoleSearchInputDTO
12233
- */
12234
- export interface RoleSearchInputDTO {
12455
+ timeSeries: Array<TimeSeriesDataPointDTO>;
12235
12456
  /**
12236
12457
  *
12237
- * @type {RoleSearchInputAllowedFilters}
12238
- * @memberof RoleSearchInputDTO
12458
+ * @type {Array<HeatmapDataPointDTO>}
12459
+ * @memberof RevenueMetricsDTO
12239
12460
  */
12240
- filters?: RoleSearchInputAllowedFilters;
12461
+ heatmap: Array<HeatmapDataPointDTO>;
12241
12462
  /**
12242
12463
  *
12243
- * @type {RoleSearchInputAllowedSearch}
12244
- * @memberof RoleSearchInputDTO
12464
+ * @type {number}
12465
+ * @memberof RevenueMetricsDTO
12245
12466
  */
12246
- search?: RoleSearchInputAllowedSearch;
12467
+ growth: number;
12247
12468
  /**
12248
12469
  *
12249
- * @type {Array<string>}
12250
- * @memberof RoleSearchInputDTO
12470
+ * @type {string}
12471
+ * @memberof RevenueMetricsDTO
12251
12472
  */
12252
- extend?: Array<RoleSearchInputDTOExtendEnum>;
12473
+ peakHour: string;
12253
12474
  /**
12254
12475
  *
12255
- * @type {any}
12256
- * @memberof RoleSearchInputDTO
12476
+ * @type {string}
12477
+ * @memberof RevenueMetricsDTO
12257
12478
  */
12258
- greaterThan?: any;
12479
+ peakDay: string;
12480
+ }
12481
+ /**
12482
+ *
12483
+ * @export
12484
+ * @interface RevenueTimeSeriesPointDTO
12485
+ */
12486
+ export interface RevenueTimeSeriesPointDTO {
12259
12487
  /**
12260
12488
  *
12261
- * @type {any}
12262
- * @memberof RoleSearchInputDTO
12489
+ * @type {string}
12490
+ * @memberof RevenueTimeSeriesPointDTO
12263
12491
  */
12264
- lessThan?: any;
12492
+ timestamp: string;
12265
12493
  /**
12266
12494
  *
12267
12495
  * @type {number}
12268
- * @memberof RoleSearchInputDTO
12496
+ * @memberof RevenueTimeSeriesPointDTO
12269
12497
  */
12270
- page?: number;
12498
+ orders: number;
12271
12499
  /**
12272
12500
  *
12273
12501
  * @type {number}
12274
- * @memberof RoleSearchInputDTO
12502
+ * @memberof RevenueTimeSeriesPointDTO
12275
12503
  */
12276
- limit?: number;
12504
+ revenue: number;
12277
12505
  /**
12278
12506
  *
12279
- * @type {string}
12280
- * @memberof RoleSearchInputDTO
12507
+ * @type {number}
12508
+ * @memberof RevenueTimeSeriesPointDTO
12281
12509
  */
12282
- sortBy?: string;
12510
+ uniqueBuyers: number;
12511
+ }
12512
+ /**
12513
+ *
12514
+ * @export
12515
+ * @interface RevenueTimeSeriesPointDTOAPI
12516
+ */
12517
+ export interface RevenueTimeSeriesPointDTOAPI {
12283
12518
  /**
12284
12519
  *
12285
- * @type {string}
12286
- * @memberof RoleSearchInputDTO
12520
+ * @type {Array<RevenueTimeSeriesPointDTO>}
12521
+ * @memberof RevenueTimeSeriesPointDTOAPI
12287
12522
  */
12288
- sortDirection?: RoleSearchInputDTOSortDirectionEnum;
12523
+ data: Array<RevenueTimeSeriesPointDTO>;
12524
+ /**
12525
+ *
12526
+ * @type {MetadataOutput}
12527
+ * @memberof RevenueTimeSeriesPointDTOAPI
12528
+ */
12529
+ meta: MetadataOutput;
12289
12530
  }
12290
-
12291
- export const RoleSearchInputDTOExtendEnum = {
12292
- Permissions: 'permissions',
12293
- } as const;
12294
-
12295
- export type RoleSearchInputDTOExtendEnum =
12296
- (typeof RoleSearchInputDTOExtendEnum)[keyof typeof RoleSearchInputDTOExtendEnum];
12297
- export const RoleSearchInputDTOSortDirectionEnum = {
12298
- Asc: 'asc',
12299
- Desc: 'desc',
12300
- } as const;
12301
-
12302
- export type RoleSearchInputDTOSortDirectionEnum =
12303
- (typeof RoleSearchInputDTOSortDirectionEnum)[keyof typeof RoleSearchInputDTOSortDirectionEnum];
12304
-
12305
12531
  /**
12306
12532
  *
12307
12533
  * @export
12308
- * @interface RoleUpdateInputDTO
12534
+ * @interface RoleCreateInputDTO
12309
12535
  */
12310
- export interface RoleUpdateInputDTO {
12536
+ export interface RoleCreateInputDTO {
12311
12537
  /**
12312
12538
  *
12313
12539
  * @type {string}
12314
- * @memberof RoleUpdateInputDTO
12540
+ * @memberof RoleCreateInputDTO
12315
12541
  */
12316
- name?: string;
12542
+ name: string;
12317
12543
  /**
12318
12544
  *
12319
12545
  * @type {Array<PermissionInputDTO>}
12320
- * @memberof RoleUpdateInputDTO
12546
+ * @memberof RoleCreateInputDTO
12321
12547
  */
12322
- permissions?: Array<PermissionInputDTO>;
12548
+ permissions: Array<PermissionInputDTO>;
12323
12549
  /**
12324
12550
  *
12325
12551
  * @type {string}
12326
- * @memberof RoleUpdateInputDTO
12552
+ * @memberof RoleCreateInputDTO
12327
12553
  */
12328
12554
  linkedDiscordRoleId?: string;
12329
12555
  }
12330
12556
  /**
12331
12557
  *
12332
12558
  * @export
12333
- * @interface RustConnectionInfo
12559
+ * @interface RoleMembersOutputDTO
12334
12560
  */
12335
- export interface RustConnectionInfo {
12561
+ export interface RoleMembersOutputDTO {
12336
12562
  /**
12337
12563
  *
12338
- * @type {string}
12339
- * @memberof RustConnectionInfo
12564
+ * @type {RoleMembersPlayersOutputDTO}
12565
+ * @memberof RoleMembersOutputDTO
12340
12566
  */
12341
- host: string;
12567
+ players: RoleMembersPlayersOutputDTO;
12342
12568
  /**
12343
12569
  *
12344
- * @type {number}
12345
- * @memberof RustConnectionInfo
12570
+ * @type {RoleMembersUsersOutputDTO}
12571
+ * @memberof RoleMembersOutputDTO
12346
12572
  */
12347
- rconPort: number;
12573
+ users: RoleMembersUsersOutputDTO;
12574
+ }
12575
+ /**
12576
+ *
12577
+ * @export
12578
+ * @interface RoleMembersOutputDTOAPI
12579
+ */
12580
+ export interface RoleMembersOutputDTOAPI {
12348
12581
  /**
12349
12582
  *
12350
- * @type {string}
12351
- * @memberof RustConnectionInfo
12583
+ * @type {RoleMembersOutputDTO}
12584
+ * @memberof RoleMembersOutputDTOAPI
12352
12585
  */
12353
- rconPassword: string;
12586
+ data: RoleMembersOutputDTO;
12354
12587
  /**
12355
12588
  *
12356
- * @type {boolean}
12357
- * @memberof RustConnectionInfo
12589
+ * @type {MetadataOutput}
12590
+ * @memberof RoleMembersOutputDTOAPI
12358
12591
  */
12359
- useTls: boolean;
12592
+ meta: MetadataOutput;
12360
12593
  }
12361
12594
  /**
12362
12595
  *
12363
12596
  * @export
12364
- * @interface SdtdConnectionInfo
12597
+ * @interface RoleMembersPlayersOutputDTO
12365
12598
  */
12366
- export interface SdtdConnectionInfo {
12599
+ export interface RoleMembersPlayersOutputDTO {
12367
12600
  /**
12368
12601
  *
12369
- * @type {string}
12370
- * @memberof SdtdConnectionInfo
12371
- */
12372
- host: string;
12373
- /**
12374
- *
12375
- * @type {string}
12376
- * @memberof SdtdConnectionInfo
12377
- */
12378
- adminUser: string;
12379
- /**
12380
- *
12381
- * @type {string}
12382
- * @memberof SdtdConnectionInfo
12383
- */
12384
- adminToken: string;
12385
- /**
12386
- *
12387
- * @type {boolean}
12388
- * @memberof SdtdConnectionInfo
12389
- */
12390
- useTls: boolean;
12391
- /**
12392
- *
12393
- * @type {boolean}
12394
- * @memberof SdtdConnectionInfo
12602
+ * @type {number}
12603
+ * @memberof RoleMembersPlayersOutputDTO
12395
12604
  */
12396
- useCPM: boolean;
12605
+ total: number;
12397
12606
  /**
12398
12607
  *
12399
- * @type {boolean}
12400
- * @memberof SdtdConnectionInfo
12608
+ * @type {Array<PlayerOutputWithRolesDTO>}
12609
+ * @memberof RoleMembersPlayersOutputDTO
12401
12610
  */
12402
- useLegacy: boolean;
12611
+ results: Array<PlayerOutputWithRolesDTO>;
12403
12612
  }
12404
12613
  /**
12405
12614
  *
12406
12615
  * @export
12407
- * @interface SearchRoleInputDTO
12616
+ * @interface RoleMembersUsersOutputDTO
12408
12617
  */
12409
- export interface SearchRoleInputDTO {
12618
+ export interface RoleMembersUsersOutputDTO {
12410
12619
  /**
12411
12620
  *
12412
- * @type {string}
12413
- * @memberof SearchRoleInputDTO
12621
+ * @type {number}
12622
+ * @memberof RoleMembersUsersOutputDTO
12414
12623
  */
12415
- name: string;
12624
+ total: number;
12625
+ /**
12626
+ *
12627
+ * @type {Array<UserOutputWithRolesDTO>}
12628
+ * @memberof RoleMembersUsersOutputDTO
12629
+ */
12630
+ results: Array<UserOutputWithRolesDTO>;
12416
12631
  }
12417
12632
  /**
12418
12633
  *
12419
12634
  * @export
12420
- * @interface SendMessageInputDTO
12635
+ * @interface RoleOutputArrayDTOAPI
12421
12636
  */
12422
- export interface SendMessageInputDTO {
12637
+ export interface RoleOutputArrayDTOAPI {
12423
12638
  /**
12424
12639
  *
12425
- * @type {string}
12426
- * @memberof SendMessageInputDTO
12640
+ * @type {Array<RoleOutputDTO>}
12641
+ * @memberof RoleOutputArrayDTOAPI
12427
12642
  */
12428
- message?: string;
12643
+ data: Array<RoleOutputDTO>;
12429
12644
  /**
12430
12645
  *
12431
- * @type {DiscordEmbedInputDTO}
12432
- * @memberof SendMessageInputDTO
12646
+ * @type {MetadataOutput}
12647
+ * @memberof RoleOutputArrayDTOAPI
12433
12648
  */
12434
- embed?: DiscordEmbedInputDTO;
12649
+ meta: MetadataOutput;
12435
12650
  }
12436
12651
  /**
12437
12652
  *
12438
12653
  * @export
12439
- * @interface ServiceRoleCreateInputDTO
12654
+ * @interface RoleOutputDTO
12440
12655
  */
12441
- export interface ServiceRoleCreateInputDTO {
12656
+ export interface RoleOutputDTO {
12442
12657
  /**
12443
12658
  *
12444
12659
  * @type {string}
12445
- * @memberof ServiceRoleCreateInputDTO
12660
+ * @memberof RoleOutputDTO
12446
12661
  */
12447
12662
  name: string;
12448
12663
  /**
12449
12664
  *
12450
- * @type {Array<PermissionInputDTO>}
12451
- * @memberof ServiceRoleCreateInputDTO
12665
+ * @type {Array<PermissionOnRoleDTO>}
12666
+ * @memberof RoleOutputDTO
12452
12667
  */
12453
- permissions: Array<PermissionInputDTO>;
12668
+ permissions: Array<PermissionOnRoleDTO>;
12454
12669
  /**
12455
12670
  *
12456
12671
  * @type {boolean}
12457
- * @memberof ServiceRoleCreateInputDTO
12672
+ * @memberof RoleOutputDTO
12458
12673
  */
12459
- system?: boolean;
12674
+ system: boolean;
12460
12675
  /**
12461
12676
  *
12462
12677
  * @type {string}
12463
- * @memberof ServiceRoleCreateInputDTO
12678
+ * @memberof RoleOutputDTO
12464
12679
  */
12465
12680
  linkedDiscordRoleId?: string;
12466
- }
12467
- /**
12468
- *
12469
- * @export
12470
- * @interface SessionLengthBucketDTO
12471
- */
12472
- export interface SessionLengthBucketDTO {
12473
12681
  /**
12474
12682
  *
12475
12683
  * @type {string}
12476
- * @memberof SessionLengthBucketDTO
12684
+ * @memberof RoleOutputDTO
12477
12685
  */
12478
- bucket: string;
12686
+ id: string;
12479
12687
  /**
12480
12688
  *
12481
- * @type {number}
12482
- * @memberof SessionLengthBucketDTO
12689
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12690
+ * @memberof RoleOutputDTO
12483
12691
  */
12484
- count: number;
12692
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12693
+ /**
12694
+ *
12695
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12696
+ * @memberof RoleOutputDTO
12697
+ */
12698
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12485
12699
  }
12486
12700
  /**
12487
12701
  *
12488
12702
  * @export
12489
- * @interface SessionLengthBucketDTOAPI
12703
+ * @interface RoleOutputDTOAPI
12490
12704
  */
12491
- export interface SessionLengthBucketDTOAPI {
12705
+ export interface RoleOutputDTOAPI {
12492
12706
  /**
12493
12707
  *
12494
- * @type {Array<SessionLengthBucketDTO>}
12495
- * @memberof SessionLengthBucketDTOAPI
12708
+ * @type {RoleOutputDTO}
12709
+ * @memberof RoleOutputDTOAPI
12496
12710
  */
12497
- data: Array<SessionLengthBucketDTO>;
12711
+ data: RoleOutputDTO;
12498
12712
  /**
12499
12713
  *
12500
12714
  * @type {MetadataOutput}
12501
- * @memberof SessionLengthBucketDTOAPI
12715
+ * @memberof RoleOutputDTOAPI
12502
12716
  */
12503
12717
  meta: MetadataOutput;
12504
12718
  }
12505
12719
  /**
12506
12720
  *
12507
12721
  * @export
12508
- * @interface Settings
12722
+ * @interface RoleSearchInputAllowedFilters
12509
12723
  */
12510
- export interface Settings {
12724
+ export interface RoleSearchInputAllowedFilters {
12511
12725
  /**
12512
12726
  *
12513
- * @type {string}
12514
- * @memberof Settings
12727
+ * @type {Array<string>}
12728
+ * @memberof RoleSearchInputAllowedFilters
12515
12729
  */
12516
- commandPrefix: string;
12730
+ name?: Array<string>;
12517
12731
  /**
12518
12732
  *
12519
- * @type {string}
12520
- * @memberof Settings
12733
+ * @type {Array<string>}
12734
+ * @memberof RoleSearchInputAllowedFilters
12521
12735
  */
12522
- serverChatName: string;
12736
+ id?: Array<string>;
12737
+ }
12738
+ /**
12739
+ *
12740
+ * @export
12741
+ * @interface RoleSearchInputAllowedSearch
12742
+ */
12743
+ export interface RoleSearchInputAllowedSearch {
12523
12744
  /**
12524
12745
  *
12525
- * @type {string}
12526
- * @memberof Settings
12746
+ * @type {Array<string>}
12747
+ * @memberof RoleSearchInputAllowedSearch
12527
12748
  */
12528
- economyEnabled: string;
12749
+ name?: Array<string>;
12750
+ }
12751
+ /**
12752
+ *
12753
+ * @export
12754
+ * @interface RoleSearchInputDTO
12755
+ */
12756
+ export interface RoleSearchInputDTO {
12529
12757
  /**
12530
12758
  *
12531
- * @type {string}
12532
- * @memberof Settings
12759
+ * @type {RoleSearchInputAllowedFilters}
12760
+ * @memberof RoleSearchInputDTO
12533
12761
  */
12534
- currencyName: string;
12762
+ filters?: RoleSearchInputAllowedFilters;
12535
12763
  /**
12536
12764
  *
12537
- * @type {string}
12538
- * @memberof Settings
12765
+ * @type {RoleSearchInputAllowedSearch}
12766
+ * @memberof RoleSearchInputDTO
12539
12767
  */
12540
- developerMode: string;
12768
+ search?: RoleSearchInputAllowedSearch;
12541
12769
  /**
12542
12770
  *
12543
- * @type {string}
12544
- * @memberof Settings
12771
+ * @type {Array<string>}
12772
+ * @memberof RoleSearchInputDTO
12545
12773
  */
12546
- messagePrefix: string;
12774
+ extend?: Array<RoleSearchInputDTOExtendEnum>;
12547
12775
  /**
12548
12776
  *
12549
- * @type {string}
12550
- * @memberof Settings
12777
+ * @type {any}
12778
+ * @memberof RoleSearchInputDTO
12551
12779
  */
12552
- domainName: string;
12780
+ greaterThan?: any;
12553
12781
  /**
12554
12782
  *
12555
- * @type {string}
12556
- * @memberof Settings
12783
+ * @type {any}
12784
+ * @memberof RoleSearchInputDTO
12557
12785
  */
12558
- discordRoleSyncEnabled: string;
12786
+ lessThan?: any;
12559
12787
  /**
12560
12788
  *
12561
- * @type {string}
12562
- * @memberof Settings
12789
+ * @type {number}
12790
+ * @memberof RoleSearchInputDTO
12563
12791
  */
12564
- discordRoleSyncPreferDiscord: string;
12792
+ page?: number;
12793
+ /**
12794
+ *
12795
+ * @type {number}
12796
+ * @memberof RoleSearchInputDTO
12797
+ */
12798
+ limit?: number;
12565
12799
  /**
12566
12800
  *
12567
12801
  * @type {string}
12568
- * @memberof Settings
12802
+ * @memberof RoleSearchInputDTO
12569
12803
  */
12570
- unknownCommandFeedbackEnabled: string;
12804
+ sortBy?: string;
12571
12805
  /**
12572
12806
  *
12573
12807
  * @type {string}
12574
- * @memberof Settings
12808
+ * @memberof RoleSearchInputDTO
12575
12809
  */
12576
- unknownCommandFeedbackMessage: string;
12810
+ sortDirection?: RoleSearchInputDTOSortDirectionEnum;
12811
+ }
12812
+
12813
+ export const RoleSearchInputDTOExtendEnum = {
12814
+ Permissions: 'permissions',
12815
+ } as const;
12816
+
12817
+ export type RoleSearchInputDTOExtendEnum =
12818
+ (typeof RoleSearchInputDTOExtendEnum)[keyof typeof RoleSearchInputDTOExtendEnum];
12819
+ export const RoleSearchInputDTOSortDirectionEnum = {
12820
+ Asc: 'asc',
12821
+ Desc: 'desc',
12822
+ } as const;
12823
+
12824
+ export type RoleSearchInputDTOSortDirectionEnum =
12825
+ (typeof RoleSearchInputDTOSortDirectionEnum)[keyof typeof RoleSearchInputDTOSortDirectionEnum];
12826
+
12827
+ /**
12828
+ *
12829
+ * @export
12830
+ * @interface RoleUpdateInputDTO
12831
+ */
12832
+ export interface RoleUpdateInputDTO {
12577
12833
  /**
12578
12834
  *
12579
12835
  * @type {string}
12580
- * @memberof Settings
12836
+ * @memberof RoleUpdateInputDTO
12581
12837
  */
12582
- id: string;
12838
+ name?: string;
12583
12839
  /**
12584
12840
  *
12585
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12586
- * @memberof Settings
12841
+ * @type {Array<PermissionInputDTO>}
12842
+ * @memberof RoleUpdateInputDTO
12587
12843
  */
12588
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12844
+ permissions?: Array<PermissionInputDTO>;
12589
12845
  /**
12590
12846
  *
12591
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12592
- * @memberof Settings
12847
+ * @type {string}
12848
+ * @memberof RoleUpdateInputDTO
12593
12849
  */
12594
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12850
+ linkedDiscordRoleId?: string;
12595
12851
  }
12596
12852
  /**
12597
12853
  *
12598
12854
  * @export
12599
- * @interface SettingsOutputArrayDTOAPI
12855
+ * @interface RustConnectionInfo
12600
12856
  */
12601
- export interface SettingsOutputArrayDTOAPI {
12857
+ export interface RustConnectionInfo {
12602
12858
  /**
12603
12859
  *
12604
- * @type {Array<SettingsOutputDTO>}
12605
- * @memberof SettingsOutputArrayDTOAPI
12860
+ * @type {string}
12861
+ * @memberof RustConnectionInfo
12606
12862
  */
12607
- data: Array<SettingsOutputDTO>;
12863
+ host: string;
12608
12864
  /**
12609
12865
  *
12610
- * @type {MetadataOutput}
12611
- * @memberof SettingsOutputArrayDTOAPI
12866
+ * @type {number}
12867
+ * @memberof RustConnectionInfo
12612
12868
  */
12613
- meta: MetadataOutput;
12869
+ rconPort: number;
12870
+ /**
12871
+ *
12872
+ * @type {string}
12873
+ * @memberof RustConnectionInfo
12874
+ */
12875
+ rconPassword: string;
12876
+ /**
12877
+ *
12878
+ * @type {boolean}
12879
+ * @memberof RustConnectionInfo
12880
+ */
12881
+ useTls: boolean;
12614
12882
  }
12615
12883
  /**
12616
12884
  *
12617
12885
  * @export
12618
- * @interface SettingsOutputDTO
12886
+ * @interface SdtdConnectionInfo
12619
12887
  */
12620
- export interface SettingsOutputDTO {
12888
+ export interface SdtdConnectionInfo {
12621
12889
  /**
12622
12890
  *
12623
12891
  * @type {string}
12624
- * @memberof SettingsOutputDTO
12892
+ * @memberof SdtdConnectionInfo
12625
12893
  */
12626
- key: SettingsOutputDTOKeyEnum;
12894
+ host: string;
12627
12895
  /**
12628
12896
  *
12629
12897
  * @type {string}
12630
- * @memberof SettingsOutputDTO
12898
+ * @memberof SdtdConnectionInfo
12631
12899
  */
12632
- value: string;
12900
+ adminUser: string;
12633
12901
  /**
12634
12902
  *
12635
12903
  * @type {string}
12636
- * @memberof SettingsOutputDTO
12904
+ * @memberof SdtdConnectionInfo
12637
12905
  */
12638
- type: SettingsOutputDTOTypeEnum;
12906
+ adminToken: string;
12639
12907
  /**
12640
12908
  *
12641
- * @type {string}
12642
- * @memberof SettingsOutputDTO
12909
+ * @type {boolean}
12910
+ * @memberof SdtdConnectionInfo
12643
12911
  */
12644
- description: string;
12912
+ useTls: boolean;
12645
12913
  /**
12646
12914
  *
12647
12915
  * @type {boolean}
12648
- * @memberof SettingsOutputDTO
12916
+ * @memberof SdtdConnectionInfo
12649
12917
  */
12650
- canHaveGameServerOverride: boolean;
12918
+ useCPM: boolean;
12919
+ /**
12920
+ *
12921
+ * @type {boolean}
12922
+ * @memberof SdtdConnectionInfo
12923
+ */
12924
+ useLegacy: boolean;
12651
12925
  }
12652
-
12653
- export const SettingsOutputDTOKeyEnum = {
12654
- CommandPrefix: 'commandPrefix',
12655
- ServerChatName: 'serverChatName',
12656
- EconomyEnabled: 'economyEnabled',
12657
- CurrencyName: 'currencyName',
12658
- DeveloperMode: 'developerMode',
12659
- MessagePrefix: 'messagePrefix',
12660
- DomainName: 'domainName',
12661
- DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
12662
- DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
12663
- UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
12664
- UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
12665
- } as const;
12666
-
12667
- export type SettingsOutputDTOKeyEnum = (typeof SettingsOutputDTOKeyEnum)[keyof typeof SettingsOutputDTOKeyEnum];
12668
- export const SettingsOutputDTOTypeEnum = {
12669
- Override: 'override',
12670
- Inherit: 'inherit',
12671
- Global: 'global',
12672
- Default: 'default',
12673
- } as const;
12674
-
12675
- export type SettingsOutputDTOTypeEnum = (typeof SettingsOutputDTOTypeEnum)[keyof typeof SettingsOutputDTOTypeEnum];
12676
-
12677
12926
  /**
12678
12927
  *
12679
12928
  * @export
12680
- * @interface SettingsOutputDTOAPI
12929
+ * @interface SearchRoleInputDTO
12681
12930
  */
12682
- export interface SettingsOutputDTOAPI {
12683
- /**
12684
- *
12685
- * @type {SettingsOutputDTO}
12686
- * @memberof SettingsOutputDTOAPI
12687
- */
12688
- data: SettingsOutputDTO;
12931
+ export interface SearchRoleInputDTO {
12689
12932
  /**
12690
12933
  *
12691
- * @type {MetadataOutput}
12692
- * @memberof SettingsOutputDTOAPI
12934
+ * @type {string}
12935
+ * @memberof SearchRoleInputDTO
12693
12936
  */
12694
- meta: MetadataOutput;
12937
+ name: string;
12695
12938
  }
12696
12939
  /**
12697
12940
  *
12698
12941
  * @export
12699
- * @interface SettingsSetDTO
12942
+ * @interface SendMessageInputDTO
12700
12943
  */
12701
- export interface SettingsSetDTO {
12944
+ export interface SendMessageInputDTO {
12702
12945
  /**
12703
12946
  *
12704
12947
  * @type {string}
12705
- * @memberof SettingsSetDTO
12948
+ * @memberof SendMessageInputDTO
12706
12949
  */
12707
- gameServerId?: string;
12950
+ message?: string;
12708
12951
  /**
12709
12952
  *
12710
- * @type {any}
12711
- * @memberof SettingsSetDTO
12953
+ * @type {DiscordEmbedInputDTO}
12954
+ * @memberof SendMessageInputDTO
12712
12955
  */
12713
- value: any;
12956
+ embed?: DiscordEmbedInputDTO;
12714
12957
  }
12715
12958
  /**
12716
12959
  *
12717
12960
  * @export
12718
- * @interface ShopActionCreateDTO
12961
+ * @interface ServiceRoleCreateInputDTO
12719
12962
  */
12720
- export interface ShopActionCreateDTO {
12963
+ export interface ServiceRoleCreateInputDTO {
12721
12964
  /**
12722
12965
  *
12723
12966
  * @type {string}
12724
- * @memberof ShopActionCreateDTO
12967
+ * @memberof ServiceRoleCreateInputDTO
12725
12968
  */
12726
12969
  name: string;
12727
12970
  /**
12728
12971
  *
12729
- * @type {string}
12730
- * @memberof ShopActionCreateDTO
12972
+ * @type {Array<PermissionInputDTO>}
12973
+ * @memberof ServiceRoleCreateInputDTO
12731
12974
  */
12732
- description?: string;
12975
+ permissions: Array<PermissionInputDTO>;
12976
+ /**
12977
+ *
12978
+ * @type {boolean}
12979
+ * @memberof ServiceRoleCreateInputDTO
12980
+ */
12981
+ system?: boolean;
12733
12982
  /**
12734
12983
  *
12735
12984
  * @type {string}
12736
- * @memberof ShopActionCreateDTO
12985
+ * @memberof ServiceRoleCreateInputDTO
12737
12986
  */
12738
- versionId: string;
12987
+ linkedDiscordRoleId?: string;
12988
+ }
12989
+ /**
12990
+ *
12991
+ * @export
12992
+ * @interface SessionLengthBucketDTO
12993
+ */
12994
+ export interface SessionLengthBucketDTO {
12739
12995
  /**
12740
12996
  *
12741
12997
  * @type {string}
12742
- * @memberof ShopActionCreateDTO
12998
+ * @memberof SessionLengthBucketDTO
12743
12999
  */
12744
- function?: string;
13000
+ bucket: string;
13001
+ /**
13002
+ *
13003
+ * @type {number}
13004
+ * @memberof SessionLengthBucketDTO
13005
+ */
13006
+ count: number;
12745
13007
  }
12746
13008
  /**
12747
13009
  *
12748
13010
  * @export
12749
- * @interface ShopActionOutputArrayDTOAPI
13011
+ * @interface SessionLengthBucketDTOAPI
12750
13012
  */
12751
- export interface ShopActionOutputArrayDTOAPI {
13013
+ export interface SessionLengthBucketDTOAPI {
12752
13014
  /**
12753
13015
  *
12754
- * @type {Array<ShopActionOutputDTO>}
12755
- * @memberof ShopActionOutputArrayDTOAPI
13016
+ * @type {Array<SessionLengthBucketDTO>}
13017
+ * @memberof SessionLengthBucketDTOAPI
12756
13018
  */
12757
- data: Array<ShopActionOutputDTO>;
13019
+ data: Array<SessionLengthBucketDTO>;
12758
13020
  /**
12759
13021
  *
12760
13022
  * @type {MetadataOutput}
12761
- * @memberof ShopActionOutputArrayDTOAPI
13023
+ * @memberof SessionLengthBucketDTOAPI
12762
13024
  */
12763
13025
  meta: MetadataOutput;
12764
13026
  }
12765
13027
  /**
12766
13028
  *
12767
13029
  * @export
12768
- * @interface ShopActionOutputDTO
13030
+ * @interface Settings
12769
13031
  */
12770
- export interface ShopActionOutputDTO {
13032
+ export interface Settings {
12771
13033
  /**
12772
13034
  *
12773
13035
  * @type {string}
12774
- * @memberof ShopActionOutputDTO
13036
+ * @memberof Settings
12775
13037
  */
12776
- name: string;
13038
+ commandPrefix: string;
12777
13039
  /**
12778
13040
  *
12779
13041
  * @type {string}
12780
- * @memberof ShopActionOutputDTO
13042
+ * @memberof Settings
12781
13043
  */
12782
- description?: string;
13044
+ serverChatName: string;
12783
13045
  /**
12784
13046
  *
12785
- * @type {FunctionOutputDTO}
12786
- * @memberof ShopActionOutputDTO
13047
+ * @type {string}
13048
+ * @memberof Settings
12787
13049
  */
12788
- function: FunctionOutputDTO;
13050
+ economyEnabled: string;
12789
13051
  /**
12790
13052
  *
12791
13053
  * @type {string}
12792
- * @memberof ShopActionOutputDTO
13054
+ * @memberof Settings
12793
13055
  */
12794
- versionId: string;
13056
+ currencyName: string;
12795
13057
  /**
12796
13058
  *
12797
13059
  * @type {string}
12798
- * @memberof ShopActionOutputDTO
13060
+ * @memberof Settings
13061
+ */
13062
+ developerMode: string;
13063
+ /**
13064
+ *
13065
+ * @type {string}
13066
+ * @memberof Settings
13067
+ */
13068
+ messagePrefix: string;
13069
+ /**
13070
+ *
13071
+ * @type {string}
13072
+ * @memberof Settings
13073
+ */
13074
+ domainName: string;
13075
+ /**
13076
+ *
13077
+ * @type {string}
13078
+ * @memberof Settings
13079
+ */
13080
+ discordRoleSyncEnabled: string;
13081
+ /**
13082
+ *
13083
+ * @type {string}
13084
+ * @memberof Settings
13085
+ */
13086
+ discordRoleSyncPreferDiscord: string;
13087
+ /**
13088
+ *
13089
+ * @type {string}
13090
+ * @memberof Settings
13091
+ */
13092
+ unknownCommandFeedbackEnabled: string;
13093
+ /**
13094
+ *
13095
+ * @type {string}
13096
+ * @memberof Settings
13097
+ */
13098
+ unknownCommandFeedbackMessage: string;
13099
+ /**
13100
+ *
13101
+ * @type {string}
13102
+ * @memberof Settings
12799
13103
  */
12800
13104
  id: string;
12801
13105
  /**
12802
13106
  *
12803
13107
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12804
- * @memberof ShopActionOutputDTO
13108
+ * @memberof Settings
12805
13109
  */
12806
13110
  createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12807
13111
  /**
12808
13112
  *
12809
13113
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
12810
- * @memberof ShopActionOutputDTO
13114
+ * @memberof Settings
12811
13115
  */
12812
13116
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
12813
13117
  }
12814
13118
  /**
12815
13119
  *
12816
13120
  * @export
12817
- * @interface ShopActionOutputDTOAPI
13121
+ * @interface SettingsOutputArrayDTOAPI
12818
13122
  */
12819
- export interface ShopActionOutputDTOAPI {
13123
+ export interface SettingsOutputArrayDTOAPI {
12820
13124
  /**
12821
13125
  *
12822
- * @type {ShopActionOutputDTO}
12823
- * @memberof ShopActionOutputDTOAPI
13126
+ * @type {Array<SettingsOutputDTO>}
13127
+ * @memberof SettingsOutputArrayDTOAPI
12824
13128
  */
12825
- data: ShopActionOutputDTO;
13129
+ data: Array<SettingsOutputDTO>;
12826
13130
  /**
12827
13131
  *
12828
13132
  * @type {MetadataOutput}
12829
- * @memberof ShopActionOutputDTOAPI
13133
+ * @memberof SettingsOutputArrayDTOAPI
12830
13134
  */
12831
13135
  meta: MetadataOutput;
12832
13136
  }
12833
13137
  /**
12834
13138
  *
12835
13139
  * @export
12836
- * @interface ShopActionSearchInputAllowedFilters
13140
+ * @interface SettingsOutputDTO
12837
13141
  */
12838
- export interface ShopActionSearchInputAllowedFilters {
13142
+ export interface SettingsOutputDTO {
12839
13143
  /**
12840
13144
  *
12841
- * @type {Array<string>}
12842
- * @memberof ShopActionSearchInputAllowedFilters
13145
+ * @type {string}
13146
+ * @memberof SettingsOutputDTO
12843
13147
  */
12844
- moduleId?: Array<string>;
13148
+ key: SettingsOutputDTOKeyEnum;
12845
13149
  /**
12846
13150
  *
12847
- * @type {Array<string>}
12848
- * @memberof ShopActionSearchInputAllowedFilters
13151
+ * @type {string}
13152
+ * @memberof SettingsOutputDTO
12849
13153
  */
12850
- versionId?: Array<string>;
13154
+ value: string;
12851
13155
  /**
12852
13156
  *
12853
- * @type {Array<string>}
12854
- * @memberof ShopActionSearchInputAllowedFilters
12855
- */
13157
+ * @type {string}
13158
+ * @memberof SettingsOutputDTO
13159
+ */
13160
+ type: SettingsOutputDTOTypeEnum;
13161
+ /**
13162
+ *
13163
+ * @type {string}
13164
+ * @memberof SettingsOutputDTO
13165
+ */
13166
+ description: string;
13167
+ /**
13168
+ *
13169
+ * @type {boolean}
13170
+ * @memberof SettingsOutputDTO
13171
+ */
13172
+ canHaveGameServerOverride: boolean;
13173
+ }
13174
+
13175
+ export const SettingsOutputDTOKeyEnum = {
13176
+ CommandPrefix: 'commandPrefix',
13177
+ ServerChatName: 'serverChatName',
13178
+ EconomyEnabled: 'economyEnabled',
13179
+ CurrencyName: 'currencyName',
13180
+ DeveloperMode: 'developerMode',
13181
+ MessagePrefix: 'messagePrefix',
13182
+ DomainName: 'domainName',
13183
+ DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
13184
+ DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
13185
+ UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
13186
+ UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
13187
+ } as const;
13188
+
13189
+ export type SettingsOutputDTOKeyEnum = (typeof SettingsOutputDTOKeyEnum)[keyof typeof SettingsOutputDTOKeyEnum];
13190
+ export const SettingsOutputDTOTypeEnum = {
13191
+ Override: 'override',
13192
+ Inherit: 'inherit',
13193
+ Global: 'global',
13194
+ Default: 'default',
13195
+ } as const;
13196
+
13197
+ export type SettingsOutputDTOTypeEnum = (typeof SettingsOutputDTOTypeEnum)[keyof typeof SettingsOutputDTOTypeEnum];
13198
+
13199
+ /**
13200
+ *
13201
+ * @export
13202
+ * @interface SettingsOutputDTOAPI
13203
+ */
13204
+ export interface SettingsOutputDTOAPI {
13205
+ /**
13206
+ *
13207
+ * @type {SettingsOutputDTO}
13208
+ * @memberof SettingsOutputDTOAPI
13209
+ */
13210
+ data: SettingsOutputDTO;
13211
+ /**
13212
+ *
13213
+ * @type {MetadataOutput}
13214
+ * @memberof SettingsOutputDTOAPI
13215
+ */
13216
+ meta: MetadataOutput;
13217
+ }
13218
+ /**
13219
+ *
13220
+ * @export
13221
+ * @interface SettingsSetDTO
13222
+ */
13223
+ export interface SettingsSetDTO {
13224
+ /**
13225
+ *
13226
+ * @type {string}
13227
+ * @memberof SettingsSetDTO
13228
+ */
13229
+ gameServerId?: string;
13230
+ /**
13231
+ *
13232
+ * @type {any}
13233
+ * @memberof SettingsSetDTO
13234
+ */
13235
+ value: any;
13236
+ }
13237
+ /**
13238
+ *
13239
+ * @export
13240
+ * @interface ShopActionCreateDTO
13241
+ */
13242
+ export interface ShopActionCreateDTO {
13243
+ /**
13244
+ *
13245
+ * @type {string}
13246
+ * @memberof ShopActionCreateDTO
13247
+ */
13248
+ name: string;
13249
+ /**
13250
+ *
13251
+ * @type {string}
13252
+ * @memberof ShopActionCreateDTO
13253
+ */
13254
+ description?: string;
13255
+ /**
13256
+ *
13257
+ * @type {string}
13258
+ * @memberof ShopActionCreateDTO
13259
+ */
13260
+ versionId: string;
13261
+ /**
13262
+ *
13263
+ * @type {string}
13264
+ * @memberof ShopActionCreateDTO
13265
+ */
13266
+ function?: string;
13267
+ }
13268
+ /**
13269
+ *
13270
+ * @export
13271
+ * @interface ShopActionOutputArrayDTOAPI
13272
+ */
13273
+ export interface ShopActionOutputArrayDTOAPI {
13274
+ /**
13275
+ *
13276
+ * @type {Array<ShopActionOutputDTO>}
13277
+ * @memberof ShopActionOutputArrayDTOAPI
13278
+ */
13279
+ data: Array<ShopActionOutputDTO>;
13280
+ /**
13281
+ *
13282
+ * @type {MetadataOutput}
13283
+ * @memberof ShopActionOutputArrayDTOAPI
13284
+ */
13285
+ meta: MetadataOutput;
13286
+ }
13287
+ /**
13288
+ *
13289
+ * @export
13290
+ * @interface ShopActionOutputDTO
13291
+ */
13292
+ export interface ShopActionOutputDTO {
13293
+ /**
13294
+ *
13295
+ * @type {string}
13296
+ * @memberof ShopActionOutputDTO
13297
+ */
13298
+ name: string;
13299
+ /**
13300
+ *
13301
+ * @type {string}
13302
+ * @memberof ShopActionOutputDTO
13303
+ */
13304
+ description?: string;
13305
+ /**
13306
+ *
13307
+ * @type {FunctionOutputDTO}
13308
+ * @memberof ShopActionOutputDTO
13309
+ */
13310
+ function: FunctionOutputDTO;
13311
+ /**
13312
+ *
13313
+ * @type {string}
13314
+ * @memberof ShopActionOutputDTO
13315
+ */
13316
+ versionId: string;
13317
+ /**
13318
+ *
13319
+ * @type {string}
13320
+ * @memberof ShopActionOutputDTO
13321
+ */
13322
+ id: string;
13323
+ /**
13324
+ *
13325
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
13326
+ * @memberof ShopActionOutputDTO
13327
+ */
13328
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
13329
+ /**
13330
+ *
13331
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
13332
+ * @memberof ShopActionOutputDTO
13333
+ */
13334
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
13335
+ }
13336
+ /**
13337
+ *
13338
+ * @export
13339
+ * @interface ShopActionOutputDTOAPI
13340
+ */
13341
+ export interface ShopActionOutputDTOAPI {
13342
+ /**
13343
+ *
13344
+ * @type {ShopActionOutputDTO}
13345
+ * @memberof ShopActionOutputDTOAPI
13346
+ */
13347
+ data: ShopActionOutputDTO;
13348
+ /**
13349
+ *
13350
+ * @type {MetadataOutput}
13351
+ * @memberof ShopActionOutputDTOAPI
13352
+ */
13353
+ meta: MetadataOutput;
13354
+ }
13355
+ /**
13356
+ *
13357
+ * @export
13358
+ * @interface ShopActionSearchInputAllowedFilters
13359
+ */
13360
+ export interface ShopActionSearchInputAllowedFilters {
13361
+ /**
13362
+ *
13363
+ * @type {Array<string>}
13364
+ * @memberof ShopActionSearchInputAllowedFilters
13365
+ */
13366
+ moduleId?: Array<string>;
13367
+ /**
13368
+ *
13369
+ * @type {Array<string>}
13370
+ * @memberof ShopActionSearchInputAllowedFilters
13371
+ */
13372
+ versionId?: Array<string>;
13373
+ /**
13374
+ *
13375
+ * @type {Array<string>}
13376
+ * @memberof ShopActionSearchInputAllowedFilters
13377
+ */
12856
13378
  name?: Array<string>;
12857
13379
  /**
12858
13380
  *
@@ -17833,23 +18355,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17833
18355
  };
17834
18356
  },
17835
18357
  /**
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
18358
+ * 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`
18359
+ * @summary Get per-installation module KPIs
18360
+ * @param {string} gameServerId
18361
+ * @param {string} moduleId
17838
18362
  * @param {string} [startDate]
17839
18363
  * @param {string} [endDate]
17840
- * @param {string} [gameServerId]
17841
- * @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
18364
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
17842
18365
  * @param {*} [options] Override http request option.
17843
18366
  * @throws {RequiredError}
17844
18367
  */
17845
- analyticsControllerGetModuleItemFailureLeaderboard: async (
18368
+ analyticsControllerGetModuleInstallationKpis: async (
18369
+ gameServerId: string,
18370
+ moduleId: string,
17846
18371
  startDate?: string,
17847
18372
  endDate?: string,
17848
- gameServerId?: string,
17849
- period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
18373
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
17850
18374
  options: RawAxiosRequestConfig = {},
17851
18375
  ): Promise<RequestArgs> => {
17852
- const localVarPath = `/analytics/modules/items/failures`;
18376
+ // verify required parameter 'gameServerId' is not null or undefined
18377
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
18378
+ // verify required parameter 'moduleId' is not null or undefined
18379
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
18380
+ const localVarPath = `/analytics/modules/installation-kpis`;
17853
18381
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17854
18382
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17855
18383
  let baseOptions;
@@ -17875,6 +18403,10 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17875
18403
  localVarQueryParameter['gameServerId'] = gameServerId;
17876
18404
  }
17877
18405
 
18406
+ if (moduleId !== undefined) {
18407
+ localVarQueryParameter['moduleId'] = moduleId;
18408
+ }
18409
+
17878
18410
  if (period !== undefined) {
17879
18411
  localVarQueryParameter['period'] = period;
17880
18412
  }
@@ -17889,23 +18421,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17889
18421
  };
17890
18422
  },
17891
18423
  /**
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
18424
+ * 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`
18425
+ * @summary Get module item failure aggregate
17894
18426
  * @param {string} [startDate]
17895
18427
  * @param {string} [endDate]
17896
18428
  * @param {string} [gameServerId]
17897
- * @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
18429
+ * @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
17898
18430
  * @param {*} [options] Override http request option.
17899
18431
  * @throws {RequiredError}
17900
18432
  */
17901
- analyticsControllerGetModuleItemTypeSummary: async (
18433
+ analyticsControllerGetModuleItemFailureLeaderboard: async (
17902
18434
  startDate?: string,
17903
18435
  endDate?: string,
17904
18436
  gameServerId?: string,
17905
- period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
18437
+ period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
17906
18438
  options: RawAxiosRequestConfig = {},
17907
18439
  ): Promise<RequestArgs> => {
17908
- const localVarPath = `/analytics/modules/items/summary`;
18440
+ const localVarPath = `/analytics/modules/items/failures`;
17909
18441
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17910
18442
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17911
18443
  let baseOptions;
@@ -17945,16 +18477,72 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
17945
18477
  };
17946
18478
  },
17947
18479
  /**
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
18480
+ * 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`
18481
+ * @summary Get module item run/failure totals per type
17950
18482
  * @param {string} [startDate]
17951
18483
  * @param {string} [endDate]
17952
18484
  * @param {string} [gameServerId]
17953
- * @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
18485
+ * @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
17954
18486
  * @param {*} [options] Override http request option.
17955
18487
  * @throws {RequiredError}
17956
18488
  */
17957
- analyticsControllerGetOrderStatusMix: async (
18489
+ analyticsControllerGetModuleItemTypeSummary: async (
18490
+ startDate?: string,
18491
+ endDate?: string,
18492
+ gameServerId?: string,
18493
+ period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
18494
+ options: RawAxiosRequestConfig = {},
18495
+ ): Promise<RequestArgs> => {
18496
+ const localVarPath = `/analytics/modules/items/summary`;
18497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18498
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18499
+ let baseOptions;
18500
+ if (configuration) {
18501
+ baseOptions = configuration.baseOptions;
18502
+ }
18503
+
18504
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18505
+ const localVarHeaderParameter = {} as any;
18506
+ const localVarQueryParameter = {} as any;
18507
+
18508
+ // authentication domainAuth required
18509
+
18510
+ if (startDate !== undefined) {
18511
+ localVarQueryParameter['startDate'] = startDate;
18512
+ }
18513
+
18514
+ if (endDate !== undefined) {
18515
+ localVarQueryParameter['endDate'] = endDate;
18516
+ }
18517
+
18518
+ if (gameServerId !== undefined) {
18519
+ localVarQueryParameter['gameServerId'] = gameServerId;
18520
+ }
18521
+
18522
+ if (period !== undefined) {
18523
+ localVarQueryParameter['period'] = period;
18524
+ }
18525
+
18526
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18527
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18528
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18529
+
18530
+ return {
18531
+ url: toPathString(localVarUrlObj),
18532
+ options: localVarRequestOptions,
18533
+ };
18534
+ },
18535
+ /**
18536
+ * Counts by status sourced from Postgres `shopOrder.status` (authoritative current state). Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetOrderStatusMix`
18537
+ * @summary Get shop order status distribution
18538
+ * @param {string} [startDate]
18539
+ * @param {string} [endDate]
18540
+ * @param {string} [gameServerId]
18541
+ * @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
18542
+ * @param {*} [options] Override http request option.
18543
+ * @throws {RequiredError}
18544
+ */
18545
+ analyticsControllerGetOrderStatusMix: async (
17958
18546
  startDate?: string,
17959
18547
  endDate?: string,
17960
18548
  gameServerId?: string,
@@ -19466,6 +20054,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
19466
20054
  configuration,
19467
20055
  )(axios, localVarOperationServerBasePath || basePath);
19468
20056
  },
20057
+ /**
20058
+ * 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`
20059
+ * @summary Get per-installation module KPIs
20060
+ * @param {string} gameServerId
20061
+ * @param {string} moduleId
20062
+ * @param {string} [startDate]
20063
+ * @param {string} [endDate]
20064
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
20065
+ * @param {*} [options] Override http request option.
20066
+ * @throws {RequiredError}
20067
+ */
20068
+ async analyticsControllerGetModuleInstallationKpis(
20069
+ gameServerId: string,
20070
+ moduleId: string,
20071
+ startDate?: string,
20072
+ endDate?: string,
20073
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
20074
+ options?: RawAxiosRequestConfig,
20075
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
20076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
20077
+ gameServerId,
20078
+ moduleId,
20079
+ startDate,
20080
+ endDate,
20081
+ period,
20082
+ options,
20083
+ );
20084
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20085
+ const localVarOperationServerBasePath =
20086
+ operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
20087
+ ?.url;
20088
+ return (axios, basePath) =>
20089
+ createRequestFunction(
20090
+ localVarAxiosArgs,
20091
+ globalAxios,
20092
+ BASE_PATH,
20093
+ configuration,
20094
+ )(axios, localVarOperationServerBasePath || basePath);
20095
+ },
19469
20096
  /**
19470
20097
  * 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
20098
  * @summary Get module item failure aggregate
@@ -20487,6 +21114,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20487
21114
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
20488
21115
  .then((request) => request(axios, basePath));
20489
21116
  },
21117
+ /**
21118
+ * 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`
21119
+ * @summary Get per-installation module KPIs
21120
+ * @param {string} gameServerId
21121
+ * @param {string} moduleId
21122
+ * @param {string} [startDate]
21123
+ * @param {string} [endDate]
21124
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
21125
+ * @param {*} [options] Override http request option.
21126
+ * @throws {RequiredError}
21127
+ */
21128
+ analyticsControllerGetModuleInstallationKpis(
21129
+ gameServerId: string,
21130
+ moduleId: string,
21131
+ startDate?: string,
21132
+ endDate?: string,
21133
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
21134
+ options?: RawAxiosRequestConfig,
21135
+ ): AxiosPromise<ModuleInstallationKpisDTOAPI> {
21136
+ return localVarFp
21137
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
21138
+ .then((request) => request(axios, basePath));
21139
+ },
20490
21140
  /**
20491
21141
  * 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
21142
  * @summary Get module item failure aggregate
@@ -21229,6 +21879,31 @@ export class AnalyticsApi extends BaseAPI {
21229
21879
  .then((request) => request(this.axios, this.basePath));
21230
21880
  }
21231
21881
 
21882
+ /**
21883
+ * 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`
21884
+ * @summary Get per-installation module KPIs
21885
+ * @param {string} gameServerId
21886
+ * @param {string} moduleId
21887
+ * @param {string} [startDate]
21888
+ * @param {string} [endDate]
21889
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
21890
+ * @param {*} [options] Override http request option.
21891
+ * @throws {RequiredError}
21892
+ * @memberof AnalyticsApi
21893
+ */
21894
+ public analyticsControllerGetModuleInstallationKpis(
21895
+ gameServerId: string,
21896
+ moduleId: string,
21897
+ startDate?: string,
21898
+ endDate?: string,
21899
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
21900
+ options?: RawAxiosRequestConfig,
21901
+ ) {
21902
+ return AnalyticsApiFp(this.configuration)
21903
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
21904
+ .then((request) => request(this.axios, this.basePath));
21905
+ }
21906
+
21232
21907
  /**
21233
21908
  * 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
21909
  * @summary Get module item failure aggregate
@@ -21848,6 +22523,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
21848
22523
  /**
21849
22524
  * @export
21850
22525
  */
22526
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
22527
+ _24h: '24h',
22528
+ _7d: '7d',
22529
+ _30d: '30d',
22530
+ _90d: '90d',
22531
+ } as const;
22532
+ export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
22533
+ (typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
22534
+ /**
22535
+ * @export
22536
+ */
21851
22537
  export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
21852
22538
  _24h: '24h',
21853
22539
  _7d: '7d',
@@ -22078,23 +22764,19 @@ export type AnalyticsControllerGetTopServersPeriodEnum =
22078
22764
  (typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
22079
22765
 
22080
22766
  /**
22081
- * CommandApi - axios parameter creator
22767
+ * AuthApi - axios parameter creator
22082
22768
  * @export
22083
22769
  */
22084
- export const CommandApiAxiosParamCreator = function (configuration?: Configuration) {
22770
+ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
22085
22771
  return {
22086
22772
  /**
22087
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
22088
- * @summary Create
22089
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
22773
+ * <br> OperationId: `AuthControllerAccount`
22774
+ * @summary Account
22090
22775
  * @param {*} [options] Override http request option.
22091
22776
  * @throws {RequiredError}
22092
22777
  */
22093
- commandControllerCreate: async (
22094
- commandCreateDTO?: CommandCreateDTO,
22095
- options: RawAxiosRequestConfig = {},
22096
- ): Promise<RequestArgs> => {
22097
- const localVarPath = `/command`;
22778
+ authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22779
+ const localVarPath = `/auth/account`;
22098
22780
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22099
22781
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22100
22782
  let baseOptions;
@@ -22102,18 +22784,13 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22102
22784
  baseOptions = configuration.baseOptions;
22103
22785
  }
22104
22786
 
22105
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22787
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22106
22788
  const localVarHeaderParameter = {} as any;
22107
22789
  const localVarQueryParameter = {} as any;
22108
22790
 
22109
- // authentication domainAuth required
22110
-
22111
- localVarHeaderParameter['Content-Type'] = 'application/json';
22112
-
22113
22791
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22114
22792
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22115
22793
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22116
- localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
22117
22794
 
22118
22795
  return {
22119
22796
  url: toPathString(localVarUrlObj),
@@ -22121,17 +22798,13 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22121
22798
  };
22122
22799
  },
22123
22800
  /**
22124
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
22125
- * @summary Create argument
22126
- * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
22801
+ * <br> OperationId: `AuthControllerCallback`
22802
+ * @summary Callback
22127
22803
  * @param {*} [options] Override http request option.
22128
22804
  * @throws {RequiredError}
22129
22805
  */
22130
- commandControllerCreateArgument: async (
22131
- commandArgumentCreateDTO?: CommandArgumentCreateDTO,
22132
- options: RawAxiosRequestConfig = {},
22133
- ): Promise<RequestArgs> => {
22134
- const localVarPath = `/command/argument`;
22806
+ authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22807
+ const localVarPath = `/auth/callback`;
22135
22808
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22136
22809
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22137
22810
  let baseOptions;
@@ -22139,22 +22812,13 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22139
22812
  baseOptions = configuration.baseOptions;
22140
22813
  }
22141
22814
 
22142
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22815
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22143
22816
  const localVarHeaderParameter = {} as any;
22144
22817
  const localVarQueryParameter = {} as any;
22145
22818
 
22146
- // authentication domainAuth required
22147
-
22148
- localVarHeaderParameter['Content-Type'] = 'application/json';
22149
-
22150
22819
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22151
22820
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22152
22821
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22153
- localVarRequestOptions.data = serializeDataIfNeeded(
22154
- commandArgumentCreateDTO,
22155
- localVarRequestOptions,
22156
- configuration,
22157
- );
22158
22822
 
22159
22823
  return {
22160
22824
  url: toPathString(localVarUrlObj),
@@ -22162,23 +22826,14 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22162
22826
  };
22163
22827
  },
22164
22828
  /**
22165
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
22166
- * @summary Get executions
22167
- * @param {string} id
22168
- * @param {any} [success]
22169
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
22829
+ * <br> OperationId: `AuthControllerLogin`
22830
+ * @summary Login
22831
+ * @param {string} [redirect]
22170
22832
  * @param {*} [options] Override http request option.
22171
22833
  * @throws {RequiredError}
22172
22834
  */
22173
- commandControllerGetExecutions: async (
22174
- id: string,
22175
- success?: any,
22176
- eventSearchInputDTO?: EventSearchInputDTO,
22177
- options: RawAxiosRequestConfig = {},
22178
- ): Promise<RequestArgs> => {
22179
- // verify required parameter 'id' is not null or undefined
22180
- assertParamExists('commandControllerGetExecutions', 'id', id);
22181
- const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22835
+ authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22836
+ const localVarPath = `/auth/login`;
22182
22837
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22183
22838
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22184
22839
  let baseOptions;
@@ -22186,24 +22841,17 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22186
22841
  baseOptions = configuration.baseOptions;
22187
22842
  }
22188
22843
 
22189
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22844
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22190
22845
  const localVarHeaderParameter = {} as any;
22191
22846
  const localVarQueryParameter = {} as any;
22192
22847
 
22193
- // authentication domainAuth required
22194
-
22195
- if (success !== undefined) {
22196
- for (const [key, value] of Object.entries(success)) {
22197
- localVarQueryParameter[key] = value;
22198
- }
22848
+ if (redirect !== undefined) {
22849
+ localVarQueryParameter['redirect'] = redirect;
22199
22850
  }
22200
22851
 
22201
- localVarHeaderParameter['Content-Type'] = 'application/json';
22202
-
22203
22852
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22204
22853
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22205
22854
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22206
- localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
22207
22855
 
22208
22856
  return {
22209
22857
  url: toPathString(localVarUrlObj),
@@ -22211,16 +22859,14 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22211
22859
  };
22212
22860
  },
22213
22861
  /**
22214
- * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
22215
- * @summary Get one
22216
- * @param {string} id
22862
+ * <br> OperationId: `AuthControllerLogout`
22863
+ * @summary Logout
22864
+ * @param {string} [redirect]
22217
22865
  * @param {*} [options] Override http request option.
22218
22866
  * @throws {RequiredError}
22219
22867
  */
22220
- commandControllerGetOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22221
- // verify required parameter 'id' is not null or undefined
22222
- assertParamExists('commandControllerGetOne', 'id', id);
22223
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22868
+ authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22869
+ const localVarPath = `/auth/logout`;
22224
22870
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22225
22871
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22226
22872
  let baseOptions;
@@ -22232,7 +22878,9 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22232
22878
  const localVarHeaderParameter = {} as any;
22233
22879
  const localVarQueryParameter = {} as any;
22234
22880
 
22235
- // authentication domainAuth required
22881
+ if (redirect !== undefined) {
22882
+ localVarQueryParameter['redirect'] = redirect;
22883
+ }
22236
22884
 
22237
22885
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22238
22886
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -22243,50 +22891,235 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22243
22891
  options: localVarRequestOptions,
22244
22892
  };
22245
22893
  },
22894
+ };
22895
+ };
22896
+
22897
+ /**
22898
+ * AuthApi - functional programming interface
22899
+ * @export
22900
+ */
22901
+ export const AuthApiFp = function (configuration?: Configuration) {
22902
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
22903
+ return {
22246
22904
  /**
22247
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
22248
- * @summary Remove
22249
- * @param {string} id
22905
+ * <br> OperationId: `AuthControllerAccount`
22906
+ * @summary Account
22250
22907
  * @param {*} [options] Override http request option.
22251
22908
  * @throws {RequiredError}
22252
22909
  */
22253
- commandControllerRemove: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22254
- // verify required parameter 'id' is not null or undefined
22255
- assertParamExists('commandControllerRemove', 'id', id);
22256
- const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22257
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22258
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22259
- let baseOptions;
22260
- if (configuration) {
22261
- baseOptions = configuration.baseOptions;
22262
- }
22263
-
22264
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
22265
- const localVarHeaderParameter = {} as any;
22266
- const localVarQueryParameter = {} as any;
22267
-
22268
- // authentication domainAuth required
22269
-
22270
- setSearchParams(localVarUrlObj, localVarQueryParameter);
22271
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22272
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22273
-
22274
- return {
22275
- url: toPathString(localVarUrlObj),
22276
- options: localVarRequestOptions,
22277
- };
22910
+ async authControllerAccount(
22911
+ options?: RawAxiosRequestConfig,
22912
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
22914
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22915
+ const localVarOperationServerBasePath =
22916
+ operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
22917
+ return (axios, basePath) =>
22918
+ createRequestFunction(
22919
+ localVarAxiosArgs,
22920
+ globalAxios,
22921
+ BASE_PATH,
22922
+ configuration,
22923
+ )(axios, localVarOperationServerBasePath || basePath);
22278
22924
  },
22279
22925
  /**
22280
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
22281
- * @summary Remove argument
22282
- * @param {string} id
22926
+ * <br> OperationId: `AuthControllerCallback`
22927
+ * @summary Callback
22283
22928
  * @param {*} [options] Override http request option.
22284
22929
  * @throws {RequiredError}
22285
22930
  */
22286
- commandControllerRemoveArgument: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22287
- // verify required parameter 'id' is not null or undefined
22288
- assertParamExists('commandControllerRemoveArgument', 'id', id);
22289
- const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22931
+ async authControllerCallback(
22932
+ options?: RawAxiosRequestConfig,
22933
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22934
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
22935
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22936
+ const localVarOperationServerBasePath =
22937
+ operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
22938
+ return (axios, basePath) =>
22939
+ createRequestFunction(
22940
+ localVarAxiosArgs,
22941
+ globalAxios,
22942
+ BASE_PATH,
22943
+ configuration,
22944
+ )(axios, localVarOperationServerBasePath || basePath);
22945
+ },
22946
+ /**
22947
+ * <br> OperationId: `AuthControllerLogin`
22948
+ * @summary Login
22949
+ * @param {string} [redirect]
22950
+ * @param {*} [options] Override http request option.
22951
+ * @throws {RequiredError}
22952
+ */
22953
+ async authControllerLogin(
22954
+ redirect?: string,
22955
+ options?: RawAxiosRequestConfig,
22956
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
22958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22959
+ const localVarOperationServerBasePath =
22960
+ operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
22961
+ return (axios, basePath) =>
22962
+ createRequestFunction(
22963
+ localVarAxiosArgs,
22964
+ globalAxios,
22965
+ BASE_PATH,
22966
+ configuration,
22967
+ )(axios, localVarOperationServerBasePath || basePath);
22968
+ },
22969
+ /**
22970
+ * <br> OperationId: `AuthControllerLogout`
22971
+ * @summary Logout
22972
+ * @param {string} [redirect]
22973
+ * @param {*} [options] Override http request option.
22974
+ * @throws {RequiredError}
22975
+ */
22976
+ async authControllerLogout(
22977
+ redirect?: string,
22978
+ options?: RawAxiosRequestConfig,
22979
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22980
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
22981
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22982
+ const localVarOperationServerBasePath =
22983
+ operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
22984
+ return (axios, basePath) =>
22985
+ createRequestFunction(
22986
+ localVarAxiosArgs,
22987
+ globalAxios,
22988
+ BASE_PATH,
22989
+ configuration,
22990
+ )(axios, localVarOperationServerBasePath || basePath);
22991
+ },
22992
+ };
22993
+ };
22994
+
22995
+ /**
22996
+ * AuthApi - factory interface
22997
+ * @export
22998
+ */
22999
+ export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23000
+ const localVarFp = AuthApiFp(configuration);
23001
+ return {
23002
+ /**
23003
+ * <br> OperationId: `AuthControllerAccount`
23004
+ * @summary Account
23005
+ * @param {*} [options] Override http request option.
23006
+ * @throws {RequiredError}
23007
+ */
23008
+ authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23009
+ return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
23010
+ },
23011
+ /**
23012
+ * <br> OperationId: `AuthControllerCallback`
23013
+ * @summary Callback
23014
+ * @param {*} [options] Override http request option.
23015
+ * @throws {RequiredError}
23016
+ */
23017
+ authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23018
+ return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
23019
+ },
23020
+ /**
23021
+ * <br> OperationId: `AuthControllerLogin`
23022
+ * @summary Login
23023
+ * @param {string} [redirect]
23024
+ * @param {*} [options] Override http request option.
23025
+ * @throws {RequiredError}
23026
+ */
23027
+ authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23028
+ return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
23029
+ },
23030
+ /**
23031
+ * <br> OperationId: `AuthControllerLogout`
23032
+ * @summary Logout
23033
+ * @param {string} [redirect]
23034
+ * @param {*} [options] Override http request option.
23035
+ * @throws {RequiredError}
23036
+ */
23037
+ authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23038
+ return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
23039
+ },
23040
+ };
23041
+ };
23042
+
23043
+ /**
23044
+ * AuthApi - object-oriented interface
23045
+ * @export
23046
+ * @class AuthApi
23047
+ * @extends {BaseAPI}
23048
+ */
23049
+ export class AuthApi extends BaseAPI {
23050
+ /**
23051
+ * <br> OperationId: `AuthControllerAccount`
23052
+ * @summary Account
23053
+ * @param {*} [options] Override http request option.
23054
+ * @throws {RequiredError}
23055
+ * @memberof AuthApi
23056
+ */
23057
+ public authControllerAccount(options?: RawAxiosRequestConfig) {
23058
+ return AuthApiFp(this.configuration)
23059
+ .authControllerAccount(options)
23060
+ .then((request) => request(this.axios, this.basePath));
23061
+ }
23062
+
23063
+ /**
23064
+ * <br> OperationId: `AuthControllerCallback`
23065
+ * @summary Callback
23066
+ * @param {*} [options] Override http request option.
23067
+ * @throws {RequiredError}
23068
+ * @memberof AuthApi
23069
+ */
23070
+ public authControllerCallback(options?: RawAxiosRequestConfig) {
23071
+ return AuthApiFp(this.configuration)
23072
+ .authControllerCallback(options)
23073
+ .then((request) => request(this.axios, this.basePath));
23074
+ }
23075
+
23076
+ /**
23077
+ * <br> OperationId: `AuthControllerLogin`
23078
+ * @summary Login
23079
+ * @param {string} [redirect]
23080
+ * @param {*} [options] Override http request option.
23081
+ * @throws {RequiredError}
23082
+ * @memberof AuthApi
23083
+ */
23084
+ public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
23085
+ return AuthApiFp(this.configuration)
23086
+ .authControllerLogin(redirect, options)
23087
+ .then((request) => request(this.axios, this.basePath));
23088
+ }
23089
+
23090
+ /**
23091
+ * <br> OperationId: `AuthControllerLogout`
23092
+ * @summary Logout
23093
+ * @param {string} [redirect]
23094
+ * @param {*} [options] Override http request option.
23095
+ * @throws {RequiredError}
23096
+ * @memberof AuthApi
23097
+ */
23098
+ public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
23099
+ return AuthApiFp(this.configuration)
23100
+ .authControllerLogout(redirect, options)
23101
+ .then((request) => request(this.axios, this.basePath));
23102
+ }
23103
+ }
23104
+
23105
+ /**
23106
+ * CommandApi - axios parameter creator
23107
+ * @export
23108
+ */
23109
+ export const CommandApiAxiosParamCreator = function (configuration?: Configuration) {
23110
+ return {
23111
+ /**
23112
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
23113
+ * @summary Create
23114
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
23115
+ * @param {*} [options] Override http request option.
23116
+ * @throws {RequiredError}
23117
+ */
23118
+ commandControllerCreate: async (
23119
+ commandCreateDTO?: CommandCreateDTO,
23120
+ options: RawAxiosRequestConfig = {},
23121
+ ): Promise<RequestArgs> => {
23122
+ const localVarPath = `/command`;
22290
23123
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22291
23124
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22292
23125
  let baseOptions;
@@ -22294,15 +23127,18 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22294
23127
  baseOptions = configuration.baseOptions;
22295
23128
  }
22296
23129
 
22297
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
23130
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
22298
23131
  const localVarHeaderParameter = {} as any;
22299
23132
  const localVarQueryParameter = {} as any;
22300
23133
 
22301
23134
  // authentication domainAuth required
22302
23135
 
23136
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23137
+
22303
23138
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22304
23139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22305
23140
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23141
+ localVarRequestOptions.data = serializeDataIfNeeded(commandCreateDTO, localVarRequestOptions, configuration);
22306
23142
 
22307
23143
  return {
22308
23144
  url: toPathString(localVarUrlObj),
@@ -22310,17 +23146,17 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22310
23146
  };
22311
23147
  },
22312
23148
  /**
22313
- * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
22314
- * @summary Search
22315
- * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
23149
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
23150
+ * @summary Create argument
23151
+ * @param {CommandArgumentCreateDTO} [commandArgumentCreateDTO] CommandArgumentCreateDTO
22316
23152
  * @param {*} [options] Override http request option.
22317
23153
  * @throws {RequiredError}
22318
23154
  */
22319
- commandControllerSearch: async (
22320
- commandSearchInputDTO?: CommandSearchInputDTO,
23155
+ commandControllerCreateArgument: async (
23156
+ commandArgumentCreateDTO?: CommandArgumentCreateDTO,
22321
23157
  options: RawAxiosRequestConfig = {},
22322
23158
  ): Promise<RequestArgs> => {
22323
- const localVarPath = `/command/search`;
23159
+ const localVarPath = `/command/argument`;
22324
23160
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22325
23161
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22326
23162
  let baseOptions;
@@ -22339,7 +23175,11 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22339
23175
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22340
23176
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22341
23177
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22342
- localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
23178
+ localVarRequestOptions.data = serializeDataIfNeeded(
23179
+ commandArgumentCreateDTO,
23180
+ localVarRequestOptions,
23181
+ configuration,
23182
+ );
22343
23183
 
22344
23184
  return {
22345
23185
  url: toPathString(localVarUrlObj),
@@ -22347,21 +23187,23 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22347
23187
  };
22348
23188
  },
22349
23189
  /**
22350
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
22351
- * @summary Trigger
23190
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
23191
+ * @summary Get executions
22352
23192
  * @param {string} id
22353
- * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
23193
+ * @param {any} [success]
23194
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
22354
23195
  * @param {*} [options] Override http request option.
22355
23196
  * @throws {RequiredError}
22356
23197
  */
22357
- commandControllerTrigger: async (
23198
+ commandControllerGetExecutions: async (
22358
23199
  id: string,
22359
- commandTriggerDTO?: CommandTriggerDTO,
23200
+ success?: any,
23201
+ eventSearchInputDTO?: EventSearchInputDTO,
22360
23202
  options: RawAxiosRequestConfig = {},
22361
23203
  ): Promise<RequestArgs> => {
22362
23204
  // verify required parameter 'id' is not null or undefined
22363
- assertParamExists('commandControllerTrigger', 'id', id);
22364
- const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23205
+ assertParamExists('commandControllerGetExecutions', 'id', id);
23206
+ const localVarPath = `/command/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22365
23207
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22366
23208
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22367
23209
  let baseOptions;
@@ -22375,12 +23217,18 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22375
23217
 
22376
23218
  // authentication domainAuth required
22377
23219
 
23220
+ if (success !== undefined) {
23221
+ for (const [key, value] of Object.entries(success)) {
23222
+ localVarQueryParameter[key] = value;
23223
+ }
23224
+ }
23225
+
22378
23226
  localVarHeaderParameter['Content-Type'] = 'application/json';
22379
23227
 
22380
23228
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22381
23229
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22382
23230
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22383
- localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
23231
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
22384
23232
 
22385
23233
  return {
22386
23234
  url: toPathString(localVarUrlObj),
@@ -22388,20 +23236,15 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22388
23236
  };
22389
23237
  },
22390
23238
  /**
22391
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
22392
- * @summary Update
23239
+ * Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
23240
+ * @summary Get one
22393
23241
  * @param {string} id
22394
- * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
22395
23242
  * @param {*} [options] Override http request option.
22396
23243
  * @throws {RequiredError}
22397
23244
  */
22398
- commandControllerUpdate: async (
22399
- id: string,
22400
- commandUpdateDTO?: CommandUpdateDTO,
22401
- options: RawAxiosRequestConfig = {},
22402
- ): Promise<RequestArgs> => {
23245
+ commandControllerGetOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22403
23246
  // verify required parameter 'id' is not null or undefined
22404
- assertParamExists('commandControllerUpdate', 'id', id);
23247
+ assertParamExists('commandControllerGetOne', 'id', id);
22405
23248
  const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22406
23249
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22407
23250
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -22410,18 +23253,15 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22410
23253
  baseOptions = configuration.baseOptions;
22411
23254
  }
22412
23255
 
22413
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
23256
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22414
23257
  const localVarHeaderParameter = {} as any;
22415
23258
  const localVarQueryParameter = {} as any;
22416
23259
 
22417
23260
  // authentication domainAuth required
22418
23261
 
22419
- localVarHeaderParameter['Content-Type'] = 'application/json';
22420
-
22421
23262
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22422
23263
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22423
23264
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22424
- localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
22425
23265
 
22426
23266
  return {
22427
23267
  url: toPathString(localVarUrlObj),
@@ -22429,21 +23269,16 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22429
23269
  };
22430
23270
  },
22431
23271
  /**
22432
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
22433
- * @summary Update argument
23272
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
23273
+ * @summary Remove
22434
23274
  * @param {string} id
22435
- * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
22436
23275
  * @param {*} [options] Override http request option.
22437
23276
  * @throws {RequiredError}
22438
23277
  */
22439
- commandControllerUpdateArgument: async (
22440
- id: string,
22441
- commandArgumentUpdateDTO?: CommandArgumentUpdateDTO,
22442
- options: RawAxiosRequestConfig = {},
22443
- ): Promise<RequestArgs> => {
23278
+ commandControllerRemove: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22444
23279
  // verify required parameter 'id' is not null or undefined
22445
- assertParamExists('commandControllerUpdateArgument', 'id', id);
22446
- const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23280
+ assertParamExists('commandControllerRemove', 'id', id);
23281
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
22447
23282
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22448
23283
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22449
23284
  let baseOptions;
@@ -22451,61 +23286,251 @@ export const CommandApiAxiosParamCreator = function (configuration?: Configurati
22451
23286
  baseOptions = configuration.baseOptions;
22452
23287
  }
22453
23288
 
22454
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
23289
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
22455
23290
  const localVarHeaderParameter = {} as any;
22456
23291
  const localVarQueryParameter = {} as any;
22457
23292
 
22458
23293
  // authentication domainAuth required
22459
23294
 
22460
- localVarHeaderParameter['Content-Type'] = 'application/json';
22461
-
22462
23295
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22463
23296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22464
23297
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22465
- localVarRequestOptions.data = serializeDataIfNeeded(
22466
- commandArgumentUpdateDTO,
22467
- localVarRequestOptions,
22468
- configuration,
22469
- );
22470
23298
 
22471
23299
  return {
22472
23300
  url: toPathString(localVarUrlObj),
22473
23301
  options: localVarRequestOptions,
22474
23302
  };
22475
23303
  },
22476
- };
22477
- };
22478
-
22479
- /**
22480
- * CommandApi - functional programming interface
22481
- * @export
22482
- */
22483
- export const CommandApiFp = function (configuration?: Configuration) {
22484
- const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
22485
- return {
22486
23304
  /**
22487
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
22488
- * @summary Create
22489
- * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
23305
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
23306
+ * @summary Remove argument
23307
+ * @param {string} id
22490
23308
  * @param {*} [options] Override http request option.
22491
23309
  * @throws {RequiredError}
22492
23310
  */
22493
- async commandControllerCreate(
22494
- commandCreateDTO?: CommandCreateDTO,
22495
- options?: RawAxiosRequestConfig,
22496
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommandOutputDTOAPI>> {
22497
- const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
22498
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22499
- const localVarOperationServerBasePath =
22500
- operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
22501
- return (axios, basePath) =>
22502
- createRequestFunction(
22503
- localVarAxiosArgs,
22504
- globalAxios,
22505
- BASE_PATH,
22506
- configuration,
22507
- )(axios, localVarOperationServerBasePath || basePath);
22508
- },
23311
+ commandControllerRemoveArgument: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23312
+ // verify required parameter 'id' is not null or undefined
23313
+ assertParamExists('commandControllerRemoveArgument', 'id', id);
23314
+ const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23315
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23316
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23317
+ let baseOptions;
23318
+ if (configuration) {
23319
+ baseOptions = configuration.baseOptions;
23320
+ }
23321
+
23322
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
23323
+ const localVarHeaderParameter = {} as any;
23324
+ const localVarQueryParameter = {} as any;
23325
+
23326
+ // authentication domainAuth required
23327
+
23328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23330
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23331
+
23332
+ return {
23333
+ url: toPathString(localVarUrlObj),
23334
+ options: localVarRequestOptions,
23335
+ };
23336
+ },
23337
+ /**
23338
+ * Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
23339
+ * @summary Search
23340
+ * @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
23341
+ * @param {*} [options] Override http request option.
23342
+ * @throws {RequiredError}
23343
+ */
23344
+ commandControllerSearch: async (
23345
+ commandSearchInputDTO?: CommandSearchInputDTO,
23346
+ options: RawAxiosRequestConfig = {},
23347
+ ): Promise<RequestArgs> => {
23348
+ const localVarPath = `/command/search`;
23349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23351
+ let baseOptions;
23352
+ if (configuration) {
23353
+ baseOptions = configuration.baseOptions;
23354
+ }
23355
+
23356
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23357
+ const localVarHeaderParameter = {} as any;
23358
+ const localVarQueryParameter = {} as any;
23359
+
23360
+ // authentication domainAuth required
23361
+
23362
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23363
+
23364
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23365
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23366
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23367
+ localVarRequestOptions.data = serializeDataIfNeeded(commandSearchInputDTO, localVarRequestOptions, configuration);
23368
+
23369
+ return {
23370
+ url: toPathString(localVarUrlObj),
23371
+ options: localVarRequestOptions,
23372
+ };
23373
+ },
23374
+ /**
23375
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
23376
+ * @summary Trigger
23377
+ * @param {string} id
23378
+ * @param {CommandTriggerDTO} [commandTriggerDTO] CommandTriggerDTO
23379
+ * @param {*} [options] Override http request option.
23380
+ * @throws {RequiredError}
23381
+ */
23382
+ commandControllerTrigger: async (
23383
+ id: string,
23384
+ commandTriggerDTO?: CommandTriggerDTO,
23385
+ options: RawAxiosRequestConfig = {},
23386
+ ): Promise<RequestArgs> => {
23387
+ // verify required parameter 'id' is not null or undefined
23388
+ assertParamExists('commandControllerTrigger', 'id', id);
23389
+ const localVarPath = `/command/{id}/trigger`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23391
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23392
+ let baseOptions;
23393
+ if (configuration) {
23394
+ baseOptions = configuration.baseOptions;
23395
+ }
23396
+
23397
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23398
+ const localVarHeaderParameter = {} as any;
23399
+ const localVarQueryParameter = {} as any;
23400
+
23401
+ // authentication domainAuth required
23402
+
23403
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23404
+
23405
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23406
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23407
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23408
+ localVarRequestOptions.data = serializeDataIfNeeded(commandTriggerDTO, localVarRequestOptions, configuration);
23409
+
23410
+ return {
23411
+ url: toPathString(localVarUrlObj),
23412
+ options: localVarRequestOptions,
23413
+ };
23414
+ },
23415
+ /**
23416
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
23417
+ * @summary Update
23418
+ * @param {string} id
23419
+ * @param {CommandUpdateDTO} [commandUpdateDTO] CommandUpdateDTO
23420
+ * @param {*} [options] Override http request option.
23421
+ * @throws {RequiredError}
23422
+ */
23423
+ commandControllerUpdate: async (
23424
+ id: string,
23425
+ commandUpdateDTO?: CommandUpdateDTO,
23426
+ options: RawAxiosRequestConfig = {},
23427
+ ): Promise<RequestArgs> => {
23428
+ // verify required parameter 'id' is not null or undefined
23429
+ assertParamExists('commandControllerUpdate', 'id', id);
23430
+ const localVarPath = `/command/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23431
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23432
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23433
+ let baseOptions;
23434
+ if (configuration) {
23435
+ baseOptions = configuration.baseOptions;
23436
+ }
23437
+
23438
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
23439
+ const localVarHeaderParameter = {} as any;
23440
+ const localVarQueryParameter = {} as any;
23441
+
23442
+ // authentication domainAuth required
23443
+
23444
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23445
+
23446
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23447
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23448
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23449
+ localVarRequestOptions.data = serializeDataIfNeeded(commandUpdateDTO, localVarRequestOptions, configuration);
23450
+
23451
+ return {
23452
+ url: toPathString(localVarUrlObj),
23453
+ options: localVarRequestOptions,
23454
+ };
23455
+ },
23456
+ /**
23457
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
23458
+ * @summary Update argument
23459
+ * @param {string} id
23460
+ * @param {CommandArgumentUpdateDTO} [commandArgumentUpdateDTO] CommandArgumentUpdateDTO
23461
+ * @param {*} [options] Override http request option.
23462
+ * @throws {RequiredError}
23463
+ */
23464
+ commandControllerUpdateArgument: async (
23465
+ id: string,
23466
+ commandArgumentUpdateDTO?: CommandArgumentUpdateDTO,
23467
+ options: RawAxiosRequestConfig = {},
23468
+ ): Promise<RequestArgs> => {
23469
+ // verify required parameter 'id' is not null or undefined
23470
+ assertParamExists('commandControllerUpdateArgument', 'id', id);
23471
+ const localVarPath = `/command/argument/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
23472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23474
+ let baseOptions;
23475
+ if (configuration) {
23476
+ baseOptions = configuration.baseOptions;
23477
+ }
23478
+
23479
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
23480
+ const localVarHeaderParameter = {} as any;
23481
+ const localVarQueryParameter = {} as any;
23482
+
23483
+ // authentication domainAuth required
23484
+
23485
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23486
+
23487
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23488
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23489
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23490
+ localVarRequestOptions.data = serializeDataIfNeeded(
23491
+ commandArgumentUpdateDTO,
23492
+ localVarRequestOptions,
23493
+ configuration,
23494
+ );
23495
+
23496
+ return {
23497
+ url: toPathString(localVarUrlObj),
23498
+ options: localVarRequestOptions,
23499
+ };
23500
+ },
23501
+ };
23502
+ };
23503
+
23504
+ /**
23505
+ * CommandApi - functional programming interface
23506
+ * @export
23507
+ */
23508
+ export const CommandApiFp = function (configuration?: Configuration) {
23509
+ const localVarAxiosParamCreator = CommandApiAxiosParamCreator(configuration);
23510
+ return {
23511
+ /**
23512
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreate`
23513
+ * @summary Create
23514
+ * @param {CommandCreateDTO} [commandCreateDTO] CommandCreateDTO
23515
+ * @param {*} [options] Override http request option.
23516
+ * @throws {RequiredError}
23517
+ */
23518
+ async commandControllerCreate(
23519
+ commandCreateDTO?: CommandCreateDTO,
23520
+ options?: RawAxiosRequestConfig,
23521
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommandOutputDTOAPI>> {
23522
+ const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
23523
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23524
+ const localVarOperationServerBasePath =
23525
+ operationServerMap['CommandApi.commandControllerCreate']?.[localVarOperationServerIndex]?.url;
23526
+ return (axios, basePath) =>
23527
+ createRequestFunction(
23528
+ localVarAxiosArgs,
23529
+ globalAxios,
23530
+ BASE_PATH,
23531
+ configuration,
23532
+ )(axios, localVarOperationServerBasePath || basePath);
23533
+ },
22509
23534
  /**
22510
23535
  * Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
22511
23536
  * @summary Create argument
@@ -34326,6 +35351,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
34326
35351
  }
34327
35352
  }
34328
35353
 
35354
+ /**
35355
+ * RegistryApi - axios parameter creator
35356
+ * @export
35357
+ */
35358
+ export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
35359
+ return {
35360
+ /**
35361
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35362
+ * @summary Install a module from a registry
35363
+ * @param {string} id
35364
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35365
+ * @param {*} [options] Override http request option.
35366
+ * @throws {RequiredError}
35367
+ */
35368
+ registryControllerInstall: async (
35369
+ id: string,
35370
+ registryInstallBody?: RegistryInstallBody,
35371
+ options: RawAxiosRequestConfig = {},
35372
+ ): Promise<RequestArgs> => {
35373
+ // verify required parameter 'id' is not null or undefined
35374
+ assertParamExists('registryControllerInstall', 'id', id);
35375
+ const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35376
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35377
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35378
+ let baseOptions;
35379
+ if (configuration) {
35380
+ baseOptions = configuration.baseOptions;
35381
+ }
35382
+
35383
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35384
+ const localVarHeaderParameter = {} as any;
35385
+ const localVarQueryParameter = {} as any;
35386
+
35387
+ // authentication domainAuth required
35388
+
35389
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35390
+
35391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35392
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35393
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35394
+ localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
35395
+
35396
+ return {
35397
+ url: toPathString(localVarUrlObj),
35398
+ options: localVarRequestOptions,
35399
+ };
35400
+ },
35401
+ /**
35402
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35403
+ * @summary List subscribed registries
35404
+ * @param {*} [options] Override http request option.
35405
+ * @throws {RequiredError}
35406
+ */
35407
+ registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35408
+ const localVarPath = `/registry`;
35409
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35410
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35411
+ let baseOptions;
35412
+ if (configuration) {
35413
+ baseOptions = configuration.baseOptions;
35414
+ }
35415
+
35416
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
35417
+ const localVarHeaderParameter = {} as any;
35418
+ const localVarQueryParameter = {} as any;
35419
+
35420
+ // authentication domainAuth required
35421
+
35422
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35423
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35424
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35425
+
35426
+ return {
35427
+ url: toPathString(localVarUrlObj),
35428
+ options: localVarRequestOptions,
35429
+ };
35430
+ },
35431
+ /**
35432
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35433
+ * @summary Refresh registry manifest
35434
+ * @param {string} id
35435
+ * @param {*} [options] Override http request option.
35436
+ * @throws {RequiredError}
35437
+ */
35438
+ registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35439
+ // verify required parameter 'id' is not null or undefined
35440
+ assertParamExists('registryControllerRefresh', 'id', id);
35441
+ const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35442
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35443
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35444
+ let baseOptions;
35445
+ if (configuration) {
35446
+ baseOptions = configuration.baseOptions;
35447
+ }
35448
+
35449
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35450
+ const localVarHeaderParameter = {} as any;
35451
+ const localVarQueryParameter = {} as any;
35452
+
35453
+ // authentication domainAuth required
35454
+
35455
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35457
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35458
+
35459
+ return {
35460
+ url: toPathString(localVarUrlObj),
35461
+ options: localVarRequestOptions,
35462
+ };
35463
+ },
35464
+ /**
35465
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35466
+ * @summary Subscribe to a registry
35467
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35468
+ * @param {*} [options] Override http request option.
35469
+ * @throws {RequiredError}
35470
+ */
35471
+ registryControllerSubscribe: async (
35472
+ registrySubscribeBody?: RegistrySubscribeBody,
35473
+ options: RawAxiosRequestConfig = {},
35474
+ ): Promise<RequestArgs> => {
35475
+ const localVarPath = `/registry`;
35476
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35478
+ let baseOptions;
35479
+ if (configuration) {
35480
+ baseOptions = configuration.baseOptions;
35481
+ }
35482
+
35483
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
35484
+ const localVarHeaderParameter = {} as any;
35485
+ const localVarQueryParameter = {} as any;
35486
+
35487
+ // authentication domainAuth required
35488
+
35489
+ localVarHeaderParameter['Content-Type'] = 'application/json';
35490
+
35491
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35492
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35493
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35494
+ localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
35495
+
35496
+ return {
35497
+ url: toPathString(localVarUrlObj),
35498
+ options: localVarRequestOptions,
35499
+ };
35500
+ },
35501
+ /**
35502
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35503
+ * @summary Unsubscribe from a registry
35504
+ * @param {string} id
35505
+ * @param {*} [options] Override http request option.
35506
+ * @throws {RequiredError}
35507
+ */
35508
+ registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35509
+ // verify required parameter 'id' is not null or undefined
35510
+ assertParamExists('registryControllerUnsubscribe', 'id', id);
35511
+ const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
35512
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35513
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35514
+ let baseOptions;
35515
+ if (configuration) {
35516
+ baseOptions = configuration.baseOptions;
35517
+ }
35518
+
35519
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
35520
+ const localVarHeaderParameter = {} as any;
35521
+ const localVarQueryParameter = {} as any;
35522
+
35523
+ // authentication domainAuth required
35524
+
35525
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35526
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35527
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35528
+
35529
+ return {
35530
+ url: toPathString(localVarUrlObj),
35531
+ options: localVarRequestOptions,
35532
+ };
35533
+ },
35534
+ };
35535
+ };
35536
+
35537
+ /**
35538
+ * RegistryApi - functional programming interface
35539
+ * @export
35540
+ */
35541
+ export const RegistryApiFp = function (configuration?: Configuration) {
35542
+ const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
35543
+ return {
35544
+ /**
35545
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35546
+ * @summary Install a module from a registry
35547
+ * @param {string} id
35548
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35549
+ * @param {*} [options] Override http request option.
35550
+ * @throws {RequiredError}
35551
+ */
35552
+ async registryControllerInstall(
35553
+ id: string,
35554
+ registryInstallBody?: RegistryInstallBody,
35555
+ options?: RawAxiosRequestConfig,
35556
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
35557
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
35558
+ id,
35559
+ registryInstallBody,
35560
+ options,
35561
+ );
35562
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35563
+ const localVarOperationServerBasePath =
35564
+ operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
35565
+ return (axios, basePath) =>
35566
+ createRequestFunction(
35567
+ localVarAxiosArgs,
35568
+ globalAxios,
35569
+ BASE_PATH,
35570
+ configuration,
35571
+ )(axios, localVarOperationServerBasePath || basePath);
35572
+ },
35573
+ /**
35574
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35575
+ * @summary List subscribed registries
35576
+ * @param {*} [options] Override http request option.
35577
+ * @throws {RequiredError}
35578
+ */
35579
+ async registryControllerList(
35580
+ options?: RawAxiosRequestConfig,
35581
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
35582
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
35583
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35584
+ const localVarOperationServerBasePath =
35585
+ operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
35586
+ return (axios, basePath) =>
35587
+ createRequestFunction(
35588
+ localVarAxiosArgs,
35589
+ globalAxios,
35590
+ BASE_PATH,
35591
+ configuration,
35592
+ )(axios, localVarOperationServerBasePath || basePath);
35593
+ },
35594
+ /**
35595
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35596
+ * @summary Refresh registry manifest
35597
+ * @param {string} id
35598
+ * @param {*} [options] Override http request option.
35599
+ * @throws {RequiredError}
35600
+ */
35601
+ async registryControllerRefresh(
35602
+ id: string,
35603
+ options?: RawAxiosRequestConfig,
35604
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
35605
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
35606
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35607
+ const localVarOperationServerBasePath =
35608
+ operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
35609
+ return (axios, basePath) =>
35610
+ createRequestFunction(
35611
+ localVarAxiosArgs,
35612
+ globalAxios,
35613
+ BASE_PATH,
35614
+ configuration,
35615
+ )(axios, localVarOperationServerBasePath || basePath);
35616
+ },
35617
+ /**
35618
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35619
+ * @summary Subscribe to a registry
35620
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35621
+ * @param {*} [options] Override http request option.
35622
+ * @throws {RequiredError}
35623
+ */
35624
+ async registryControllerSubscribe(
35625
+ registrySubscribeBody?: RegistrySubscribeBody,
35626
+ options?: RawAxiosRequestConfig,
35627
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
35628
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
35629
+ registrySubscribeBody,
35630
+ options,
35631
+ );
35632
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35633
+ const localVarOperationServerBasePath =
35634
+ operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
35635
+ return (axios, basePath) =>
35636
+ createRequestFunction(
35637
+ localVarAxiosArgs,
35638
+ globalAxios,
35639
+ BASE_PATH,
35640
+ configuration,
35641
+ )(axios, localVarOperationServerBasePath || basePath);
35642
+ },
35643
+ /**
35644
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35645
+ * @summary Unsubscribe from a registry
35646
+ * @param {string} id
35647
+ * @param {*} [options] Override http request option.
35648
+ * @throws {RequiredError}
35649
+ */
35650
+ async registryControllerUnsubscribe(
35651
+ id: string,
35652
+ options?: RawAxiosRequestConfig,
35653
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
35654
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
35655
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35656
+ const localVarOperationServerBasePath =
35657
+ operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
35658
+ return (axios, basePath) =>
35659
+ createRequestFunction(
35660
+ localVarAxiosArgs,
35661
+ globalAxios,
35662
+ BASE_PATH,
35663
+ configuration,
35664
+ )(axios, localVarOperationServerBasePath || basePath);
35665
+ },
35666
+ };
35667
+ };
35668
+
35669
+ /**
35670
+ * RegistryApi - factory interface
35671
+ * @export
35672
+ */
35673
+ export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35674
+ const localVarFp = RegistryApiFp(configuration);
35675
+ return {
35676
+ /**
35677
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35678
+ * @summary Install a module from a registry
35679
+ * @param {string} id
35680
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35681
+ * @param {*} [options] Override http request option.
35682
+ * @throws {RequiredError}
35683
+ */
35684
+ registryControllerInstall(
35685
+ id: string,
35686
+ registryInstallBody?: RegistryInstallBody,
35687
+ options?: RawAxiosRequestConfig,
35688
+ ): AxiosPromise<APIOutput> {
35689
+ return localVarFp
35690
+ .registryControllerInstall(id, registryInstallBody, options)
35691
+ .then((request) => request(axios, basePath));
35692
+ },
35693
+ /**
35694
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35695
+ * @summary List subscribed registries
35696
+ * @param {*} [options] Override http request option.
35697
+ * @throws {RequiredError}
35698
+ */
35699
+ registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
35700
+ return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
35701
+ },
35702
+ /**
35703
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35704
+ * @summary Refresh registry manifest
35705
+ * @param {string} id
35706
+ * @param {*} [options] Override http request option.
35707
+ * @throws {RequiredError}
35708
+ */
35709
+ registryControllerRefresh(
35710
+ id: string,
35711
+ options?: RawAxiosRequestConfig,
35712
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
35713
+ return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
35714
+ },
35715
+ /**
35716
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35717
+ * @summary Subscribe to a registry
35718
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35719
+ * @param {*} [options] Override http request option.
35720
+ * @throws {RequiredError}
35721
+ */
35722
+ registryControllerSubscribe(
35723
+ registrySubscribeBody?: RegistrySubscribeBody,
35724
+ options?: RawAxiosRequestConfig,
35725
+ ): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
35726
+ return localVarFp
35727
+ .registryControllerSubscribe(registrySubscribeBody, options)
35728
+ .then((request) => request(axios, basePath));
35729
+ },
35730
+ /**
35731
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35732
+ * @summary Unsubscribe from a registry
35733
+ * @param {string} id
35734
+ * @param {*} [options] Override http request option.
35735
+ * @throws {RequiredError}
35736
+ */
35737
+ registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
35738
+ return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
35739
+ },
35740
+ };
35741
+ };
35742
+
35743
+ /**
35744
+ * RegistryApi - object-oriented interface
35745
+ * @export
35746
+ * @class RegistryApi
35747
+ * @extends {BaseAPI}
35748
+ */
35749
+ export class RegistryApi extends BaseAPI {
35750
+ /**
35751
+ * Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
35752
+ * @summary Install a module from a registry
35753
+ * @param {string} id
35754
+ * @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
35755
+ * @param {*} [options] Override http request option.
35756
+ * @throws {RequiredError}
35757
+ * @memberof RegistryApi
35758
+ */
35759
+ public registryControllerInstall(
35760
+ id: string,
35761
+ registryInstallBody?: RegistryInstallBody,
35762
+ options?: RawAxiosRequestConfig,
35763
+ ) {
35764
+ return RegistryApiFp(this.configuration)
35765
+ .registryControllerInstall(id, registryInstallBody, options)
35766
+ .then((request) => request(this.axios, this.basePath));
35767
+ }
35768
+
35769
+ /**
35770
+ * List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
35771
+ * @summary List subscribed registries
35772
+ * @param {*} [options] Override http request option.
35773
+ * @throws {RequiredError}
35774
+ * @memberof RegistryApi
35775
+ */
35776
+ public registryControllerList(options?: RawAxiosRequestConfig) {
35777
+ return RegistryApiFp(this.configuration)
35778
+ .registryControllerList(options)
35779
+ .then((request) => request(this.axios, this.basePath));
35780
+ }
35781
+
35782
+ /**
35783
+ * Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
35784
+ * @summary Refresh registry manifest
35785
+ * @param {string} id
35786
+ * @param {*} [options] Override http request option.
35787
+ * @throws {RequiredError}
35788
+ * @memberof RegistryApi
35789
+ */
35790
+ public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
35791
+ return RegistryApiFp(this.configuration)
35792
+ .registryControllerRefresh(id, options)
35793
+ .then((request) => request(this.axios, this.basePath));
35794
+ }
35795
+
35796
+ /**
35797
+ * Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
35798
+ * @summary Subscribe to a registry
35799
+ * @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
35800
+ * @param {*} [options] Override http request option.
35801
+ * @throws {RequiredError}
35802
+ * @memberof RegistryApi
35803
+ */
35804
+ public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
35805
+ return RegistryApiFp(this.configuration)
35806
+ .registryControllerSubscribe(registrySubscribeBody, options)
35807
+ .then((request) => request(this.axios, this.basePath));
35808
+ }
35809
+
35810
+ /**
35811
+ * Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
35812
+ * @summary Unsubscribe from a registry
35813
+ * @param {string} id
35814
+ * @param {*} [options] Override http request option.
35815
+ * @throws {RequiredError}
35816
+ * @memberof RegistryApi
35817
+ */
35818
+ public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
35819
+ return RegistryApiFp(this.configuration)
35820
+ .registryControllerUnsubscribe(id, options)
35821
+ .then((request) => request(this.axios, this.basePath));
35822
+ }
35823
+ }
35824
+
34329
35825
  /**
34330
35826
  * RoleApi - axios parameter creator
34331
35827
  * @export