@takaro/apiclient 0.0.0-dev.d495c77 → 0.0.0-dev.d4ad6b4

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.
@@ -780,6 +780,88 @@ export interface BoundingBoxSearchInputDTO {
780
780
  */
781
781
  gameserverId: string;
782
782
  }
783
+ /**
784
+ *
785
+ * @export
786
+ * @interface BulkActionFailureDTO
787
+ */
788
+ export interface BulkActionFailureDTO {
789
+ /**
790
+ *
791
+ * @type {string}
792
+ * @memberof BulkActionFailureDTO
793
+ */
794
+ id: string;
795
+ /**
796
+ *
797
+ * @type {string}
798
+ * @memberof BulkActionFailureDTO
799
+ */
800
+ name: string;
801
+ /**
802
+ *
803
+ * @type {string}
804
+ * @memberof BulkActionFailureDTO
805
+ */
806
+ reason: string;
807
+ }
808
+ /**
809
+ *
810
+ * @export
811
+ * @interface BulkActionResultDTO
812
+ */
813
+ export interface BulkActionResultDTO {
814
+ /**
815
+ *
816
+ * @type {number}
817
+ * @memberof BulkActionResultDTO
818
+ */
819
+ succeeded: number;
820
+ /**
821
+ *
822
+ * @type {Array<BulkActionFailureDTO>}
823
+ * @memberof BulkActionResultDTO
824
+ */
825
+ failed: Array<BulkActionFailureDTO>;
826
+ }
827
+ /**
828
+ *
829
+ * @export
830
+ * @interface BulkActionResultDTOAPI
831
+ */
832
+ export interface BulkActionResultDTOAPI {
833
+ /**
834
+ *
835
+ * @type {BulkActionResultDTO}
836
+ * @memberof BulkActionResultDTOAPI
837
+ */
838
+ data: BulkActionResultDTO;
839
+ /**
840
+ *
841
+ * @type {MetadataOutput}
842
+ * @memberof BulkActionResultDTOAPI
843
+ */
844
+ meta: MetadataOutput;
845
+ }
846
+ /**
847
+ *
848
+ * @export
849
+ * @interface BulkTargetDTO
850
+ */
851
+ export interface BulkTargetDTO {
852
+ /**
853
+ *
854
+ * @type {Array<string>}
855
+ * @memberof BulkTargetDTO
856
+ */
857
+ ids?: Array<string>;
858
+ /**
859
+ *
860
+ * @type {Array<string>}
861
+ * @memberof BulkTargetDTO
862
+ */
863
+ excludedIds?: Array<string>;
864
+ }
783
865
  /**
784
866
  *
785
867
  * @export
@@ -2278,16 +2360,16 @@ export interface DomainCreateInputDTO {
2278
2360
  maxDiscordLinkedRoles?: number;
2279
2361
  /**
2280
2362
  *
2281
- * @type {string}
2363
+ * @type {boolean}
2282
2364
  * @memberof DomainCreateInputDTO
2283
2365
  */
2284
- serverRegistrationToken?: string;
2366
+ skipBuiltinSeeding?: boolean;
2285
2367
  /**
2286
2368
  *
2287
- * @type {boolean}
2369
+ * @type {string}
2288
2370
  * @memberof DomainCreateInputDTO
2289
2371
  */
2290
- skipBuiltinSeeding?: boolean;
2372
+ serverRegistrationToken?: string;
2291
2373
  }
2292
2374
 
2293
2375
  export const DomainCreateInputDTOStateEnum = {
@@ -3153,19 +3235,19 @@ export interface ErrorOutput {
3153
3235
  * @type {string}
3154
3236
  * @memberof ErrorOutput
3155
3237
  */
3156
- code: string;
3238
+ code?: string;
3157
3239
  /**
3158
3240
  *
3159
3241
  * @type {string}
3160
3242
  * @memberof ErrorOutput
3161
3243
  */
3162
- message: string;
3244
+ message?: string;
3163
3245
  /**
3164
3246
  *
3165
3247
  * @type {string}
3166
3248
  * @memberof ErrorOutput
3167
3249
  */
3168
- details: string;
3250
+ details?: string;
3169
3251
  }
3170
3252
  /**
3171
3253
  *
@@ -3178,7 +3260,7 @@ export interface EventChatMessage {
3178
3260
  * @type {IGamePlayer}
3179
3261
  * @memberof EventChatMessage
3180
3262
  */
3181
- player: IGamePlayer;
3263
+ player?: IGamePlayer;
3182
3264
  /**
3183
3265
  *
3184
3266
  * @type {string}
@@ -8326,7 +8408,7 @@ export interface MetadataOutput {
8326
8408
  * @type {ErrorOutput}
8327
8409
  * @memberof MetadataOutput
8328
8410
  */
8329
- error: ErrorOutput;
8411
+ error?: ErrorOutput;
8330
8412
  /**
8331
8413
  *
8332
8414
  * @type {number}
@@ -10445,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
10445
10527
  * @type {Array<string>}
10446
10528
  * @memberof PlayerBulkAssignRoleInputDTO
10447
10529
  */
10448
- playerIds: Array<string>;
10530
+ playerIds?: Array<string>;
10531
+ /**
10532
+ *
10533
+ * @type {PlayerSearchInputDTO}
10534
+ * @memberof PlayerBulkAssignRoleInputDTO
10535
+ */
10536
+ query?: PlayerSearchInputDTO;
10449
10537
  /**
10450
10538
  *
10451
10539
  * @type {string}
@@ -10458,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
10458
10546
  * @memberof PlayerBulkAssignRoleInputDTO
10459
10547
  */
10460
10548
  expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
10549
+ /**
10550
+ *
10551
+ * @type {Array<string>}
10552
+ * @memberof PlayerBulkAssignRoleInputDTO
10553
+ */
10554
+ ids?: Array<string>;
10555
+ /**
10556
+ *
10557
+ * @type {Array<string>}
10558
+ * @memberof PlayerBulkAssignRoleInputDTO
10559
+ */
10560
+ excludedIds?: Array<string>;
10461
10561
  }
10462
10562
  /**
10463
10563
  *
@@ -10533,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
10533
10633
  * @type {Array<string>}
10534
10634
  * @memberof PlayerBulkDeleteInputDTO
10535
10635
  */
10536
- playerIds: Array<string>;
10636
+ playerIds?: Array<string>;
10637
+ /**
10638
+ *
10639
+ * @type {PlayerSearchInputDTO}
10640
+ * @memberof PlayerBulkDeleteInputDTO
10641
+ */
10642
+ query?: PlayerSearchInputDTO;
10643
+ /**
10644
+ *
10645
+ * @type {Array<string>}
10646
+ * @memberof PlayerBulkDeleteInputDTO
10647
+ */
10648
+ ids?: Array<string>;
10649
+ /**
10650
+ *
10651
+ * @type {Array<string>}
10652
+ * @memberof PlayerBulkDeleteInputDTO
10653
+ */
10654
+ excludedIds?: Array<string>;
10537
10655
  }
10538
10656
  /**
10539
10657
  *
@@ -11105,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
11105
11223
  * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
11106
11224
  */
11107
11225
  playtimeSeconds?: number;
11226
+ /**
11227
+ *
11228
+ * @type {number}
11229
+ * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
11230
+ */
11231
+ currency?: number;
11108
11232
  /**
11109
11233
  *
11110
11234
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -12032,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
12032
12156
  * @memberof PlayerSearchInputAllowedFilters
12033
12157
  */
12034
12158
  roleId?: Array<string>;
12159
+ /**
12160
+ *
12161
+ * @type {Array<boolean>}
12162
+ * @memberof PlayerSearchInputAllowedFilters
12163
+ */
12164
+ online?: Array<boolean>;
12165
+ /**
12166
+ *
12167
+ * @type {Array<string>}
12168
+ * @memberof PlayerSearchInputAllowedFilters
12169
+ */
12170
+ roleAssignmentScope?: Array<PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum>;
12171
+ /**
12172
+ *
12173
+ * @type {Array<string>}
12174
+ * @memberof PlayerSearchInputAllowedFilters
12175
+ */
12176
+ roleAssignmentGameServerId?: Array<string>;
12035
12177
  /**
12036
12178
  *
12037
12179
  * @type {Array<string>}
@@ -12039,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
12039
12181
  */
12040
12182
  id?: Array<string>;
12041
12183
  }
12184
+
12185
+ export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
12186
+ Global: 'global',
12187
+ GameServer: 'gameServer',
12188
+ } as const;
12189
+
12190
+ export type PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum =
12191
+ (typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum)[keyof typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum];
12192
+
12042
12193
  /**
12043
12194
  *
12044
12195
  * @export
@@ -12290,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
12290
12441
  * @type {Array<string>}
12291
12442
  * @memberof PogBulkAddCurrencyInputDTO
12292
12443
  */
12293
- playerIds: Array<string>;
12444
+ playerIds?: Array<string>;
12445
+ /**
12446
+ *
12447
+ * @type {PlayerOnGameServerSearchInputDTO}
12448
+ * @memberof PogBulkAddCurrencyInputDTO
12449
+ */
12450
+ query?: PlayerOnGameServerSearchInputDTO;
12294
12451
  /**
12295
12452
  *
12296
12453
  * @type {number}
12297
12454
  * @memberof PogBulkAddCurrencyInputDTO
12298
12455
  */
12299
12456
  amount: number;
12457
+ /**
12458
+ *
12459
+ * @type {Array<string>}
12460
+ * @memberof PogBulkAddCurrencyInputDTO
12461
+ */
12462
+ ids?: Array<string>;
12463
+ /**
12464
+ *
12465
+ * @type {Array<string>}
12466
+ * @memberof PogBulkAddCurrencyInputDTO
12467
+ */
12468
+ excludedIds?: Array<string>;
12300
12469
  }
12301
12470
  /**
12302
12471
  *
@@ -12618,7 +12787,7 @@ export interface RedirectQs {
12618
12787
  * @type {string}
12619
12788
  * @memberof RedirectQs
12620
12789
  */
12621
- redirect: string;
12790
+ redirect?: string;
12622
12791
  }
12623
12792
  /**
12624
12793
  *
@@ -14160,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
14160
14329
  * @type {Array<string>}
14161
14330
  * @memberof ShopCategoryBulkAssignDTO
14162
14331
  */
14163
- listingIds: Array<string>;
14332
+ listingIds?: Array<string>;
14333
+ /**
14334
+ *
14335
+ * @type {ShopListingSearchInputDTO}
14336
+ * @memberof ShopCategoryBulkAssignDTO
14337
+ */
14338
+ query?: ShopListingSearchInputDTO;
14164
14339
  /**
14165
14340
  *
14166
14341
  * @type {Array<string>}
@@ -14173,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
14173
14348
  * @memberof ShopCategoryBulkAssignDTO
14174
14349
  */
14175
14350
  removeCategoryIds?: Array<string>;
14351
+ /**
14352
+ *
14353
+ * @type {Array<string>}
14354
+ * @memberof ShopCategoryBulkAssignDTO
14355
+ */
14356
+ ids?: Array<string>;
14357
+ /**
14358
+ *
14359
+ * @type {Array<string>}
14360
+ * @memberof ShopCategoryBulkAssignDTO
14361
+ */
14362
+ excludedIds?: Array<string>;
14176
14363
  }
14177
14364
  /**
14178
14365
  *
@@ -14787,6 +14974,60 @@ export interface ShopKpisDTOAPI {
14787
14974
  */
14788
14975
  meta: MetadataOutput;
14789
14976
  }
14977
+ /**
14978
+ *
14979
+ * @export
14980
+ * @interface ShopListingBulkInputDTO
14981
+ */
14982
+ export interface ShopListingBulkInputDTO {
14983
+ /**
14984
+ *
14985
+ * @type {ShopListingBulkTargetDTO}
14986
+ * @memberof ShopListingBulkInputDTO
14987
+ */
14988
+ target: ShopListingBulkTargetDTO;
14989
+ /**
14990
+ *
14991
+ * @type {string}
14992
+ * @memberof ShopListingBulkInputDTO
14993
+ */
14994
+ action: ShopListingBulkInputDTOActionEnum;
14995
+ }
14996
+
14997
+ export const ShopListingBulkInputDTOActionEnum = {
14998
+ Delete: 'delete',
14999
+ Publish: 'publish',
15000
+ Unpublish: 'unpublish',
15001
+ } as const;
15002
+
15003
+ export type ShopListingBulkInputDTOActionEnum =
15004
+ (typeof ShopListingBulkInputDTOActionEnum)[keyof typeof ShopListingBulkInputDTOActionEnum];
15005
+
15006
+ /**
15007
+ *
15008
+ * @export
15009
+ * @interface ShopListingBulkTargetDTO
15010
+ */
15011
+ export interface ShopListingBulkTargetDTO {
15012
+ /**
15013
+ *
15014
+ * @type {ShopListingSearchInputDTO}
15015
+ * @memberof ShopListingBulkTargetDTO
15016
+ */
15017
+ query?: ShopListingSearchInputDTO;
15018
+ /**
15019
+ *
15020
+ * @type {Array<string>}
15021
+ * @memberof ShopListingBulkTargetDTO
15022
+ */
15023
+ ids?: Array<string>;
15024
+ /**
15025
+ *
15026
+ * @type {Array<string>}
15027
+ * @memberof ShopListingBulkTargetDTO
15028
+ */
15029
+ excludedIds?: Array<string>;
15030
+ }
14790
15031
  /**
14791
15032
  *
14792
15033
  * @export
@@ -16345,6 +16586,36 @@ export interface TakaroEventHookExecuted {
16345
16586
  * @interface TakaroEventInviteLinkCreated
16346
16587
  */
16347
16588
  export interface TakaroEventInviteLinkCreated {
16589
+ /**
16590
+ *
16591
+ * @type {string}
16592
+ * @memberof TakaroEventInviteLinkCreated
16593
+ */
16594
+ inviteLinkId: string;
16595
+ /**
16596
+ *
16597
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16598
+ * @memberof TakaroEventInviteLinkCreated
16599
+ */
16600
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16601
+ /**
16602
+ *
16603
+ * @type {number}
16604
+ * @memberof TakaroEventInviteLinkCreated
16605
+ */
16606
+ maxUses: number;
16607
+ /**
16608
+ *
16609
+ * @type {Array<string>}
16610
+ * @memberof TakaroEventInviteLinkCreated
16611
+ */
16612
+ roleIds: Array<string>;
16613
+ /**
16614
+ *
16615
+ * @type {boolean}
16616
+ * @memberof TakaroEventInviteLinkCreated
16617
+ */
16618
+ staffOrigin: boolean;
16348
16619
  /**
16349
16620
  *
16350
16621
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -17710,6 +17981,37 @@ export interface UserCreateInputDTO {
17710
17981
  */
17711
17982
  isDashboardUser?: boolean;
17712
17983
  }
17984
+ /**
17985
+ *
17986
+ * @export
17987
+ * @interface UserCreateInviteDTO
17988
+ */
17989
+ export interface UserCreateInviteDTO {
17990
+ /**
17991
+ *
17992
+ * @type {string}
17993
+ * @memberof UserCreateInviteDTO
17994
+ */
17995
+ name: string;
17996
+ /**
17997
+ *
17998
+ * @type {string}
17999
+ * @memberof UserCreateInviteDTO
18000
+ */
18001
+ email: string;
18002
+ /**
18003
+ *
18004
+ * @type {string}
18005
+ * @memberof UserCreateInviteDTO
18006
+ */
18007
+ idpId?: string;
18008
+ /**
18009
+ *
18010
+ * @type {boolean}
18011
+ * @memberof UserCreateInviteDTO
18012
+ */
18013
+ isDashboardUser?: boolean;
18014
+ }
17713
18015
  /**
17714
18016
  *
17715
18017
  * @export
@@ -17813,7 +18115,7 @@ export interface UserOutputDTO {
17813
18115
  * @type {PlayerOutputWithRolesDTO}
17814
18116
  * @memberof UserOutputDTO
17815
18117
  */
17816
- player: PlayerOutputWithRolesDTO;
18118
+ player?: PlayerOutputWithRolesDTO;
17817
18119
  /**
17818
18120
  *
17819
18121
  * @type {boolean}
@@ -17941,7 +18243,7 @@ export interface UserOutputWithRolesDTO {
17941
18243
  * @type {PlayerOutputWithRolesDTO}
17942
18244
  * @memberof UserOutputWithRolesDTO
17943
18245
  */
17944
- player: PlayerOutputWithRolesDTO;
18246
+ player?: PlayerOutputWithRolesDTO;
17945
18247
  /**
17946
18248
  *
17947
18249
  * @type {boolean}
@@ -18194,6 +18496,31 @@ export interface UserUpdateDTO {
18194
18496
  */
18195
18497
  isDashboardUser?: boolean;
18196
18498
  }
18499
+ /**
18500
+ *
18501
+ * @export
18502
+ * @interface VariableBulkDeleteInputDTO
18503
+ */
18504
+ export interface VariableBulkDeleteInputDTO {
18505
+ /**
18506
+ *
18507
+ * @type {VariableSearchInputDTO}
18508
+ * @memberof VariableBulkDeleteInputDTO
18509
+ */
18510
+ query?: VariableSearchInputDTO;
18511
+ /**
18512
+ *
18513
+ * @type {Array<string>}
18514
+ * @memberof VariableBulkDeleteInputDTO
18515
+ */
18516
+ ids?: Array<string>;
18517
+ /**
18518
+ *
18519
+ * @type {Array<string>}
18520
+ * @memberof VariableBulkDeleteInputDTO
18521
+ */
18522
+ excludedIds?: Array<string>;
18523
+ }
18197
18524
  /**
18198
18525
  *
18199
18526
  * @export
@@ -18403,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
18403
18730
  * @memberof VariableSearchInputAllowedSearch
18404
18731
  */
18405
18732
  key?: Array<string>;
18733
+ /**
18734
+ *
18735
+ * @type {Array<string>}
18736
+ * @memberof VariableSearchInputAllowedSearch
18737
+ */
18738
+ value?: Array<string>;
18406
18739
  }
18407
18740
  /**
18408
18741
  *
@@ -26478,7 +26811,7 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
26478
26811
  },
26479
26812
  /**
26480
26813
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
26481
- * @summary Create admin invite link for a domain
26814
+ * @summary Create staff-recovery invite link for a domain
26482
26815
  * @param {string} id
26483
26816
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26484
26817
  * @param {*} [options] Override http request option.
@@ -26796,7 +27129,7 @@ export const DomainApiFp = function (configuration?: Configuration) {
26796
27129
  },
26797
27130
  /**
26798
27131
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
26799
- * @summary Create admin invite link for a domain
27132
+ * @summary Create staff-recovery invite link for a domain
26800
27133
  * @param {string} id
26801
27134
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26802
27135
  * @param {*} [options] Override http request option.
@@ -26999,7 +27332,7 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26999
27332
  },
27000
27333
  /**
27001
27334
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
27002
- * @summary Create admin invite link for a domain
27335
+ * @summary Create staff-recovery invite link for a domain
27003
27336
  * @param {string} id
27004
27337
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27005
27338
  * @param {*} [options] Override http request option.
@@ -27121,7 +27454,7 @@ export class DomainApi extends BaseAPI {
27121
27454
 
27122
27455
  /**
27123
27456
  * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
27124
- * @summary Create admin invite link for a domain
27457
+ * @summary Create staff-recovery invite link for a domain
27125
27458
  * @param {string} id
27126
27459
  * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27127
27460
  * @param {*} [options] Override http request option.
@@ -28098,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
28098
28431
  /**
28099
28432
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28100
28433
  * @summary Auth discord
28101
- * @param {string} redirect
28434
+ * @param {string} [redirect]
28102
28435
  * @param {*} [options] Override http request option.
28103
28436
  * @throws {RequiredError}
28104
28437
  */
28105
28438
  externalAuthControllerAuthDiscord: async (
28106
- redirect: string,
28439
+ redirect?: string,
28107
28440
  options: RawAxiosRequestConfig = {},
28108
28441
  ): Promise<RequestArgs> => {
28109
- // verify required parameter 'redirect' is not null or undefined
28110
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
28111
28442
  const localVarPath = `/auth/discord`;
28112
28443
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
28113
28444
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -28174,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
28174
28505
  /**
28175
28506
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28176
28507
  * @summary Auth discord
28177
- * @param {string} redirect
28508
+ * @param {string} [redirect]
28178
28509
  * @param {*} [options] Override http request option.
28179
28510
  * @throws {RequiredError}
28180
28511
  */
28181
28512
  async externalAuthControllerAuthDiscord(
28182
- redirect: string,
28513
+ redirect?: string,
28183
28514
  options?: RawAxiosRequestConfig,
28184
28515
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
28185
28516
  const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
@@ -28233,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
28233
28564
  /**
28234
28565
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28235
28566
  * @summary Auth discord
28236
- * @param {string} redirect
28567
+ * @param {string} [redirect]
28237
28568
  * @param {*} [options] Override http request option.
28238
28569
  * @throws {RequiredError}
28239
28570
  */
28240
- externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28571
+ externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28241
28572
  return localVarFp
28242
28573
  .externalAuthControllerAuthDiscord(redirect, options)
28243
28574
  .then((request) => request(axios, basePath));
@@ -28264,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
28264
28595
  /**
28265
28596
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28266
28597
  * @summary Auth discord
28267
- * @param {string} redirect
28598
+ * @param {string} [redirect]
28268
28599
  * @param {*} [options] Override http request option.
28269
28600
  * @throws {RequiredError}
28270
28601
  * @memberof ExternalAuthApi
28271
28602
  */
28272
- public externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig) {
28603
+ public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
28273
28604
  return ExternalAuthApiFp(this.configuration)
28274
28605
  .externalAuthControllerAuthDiscord(redirect, options)
28275
28606
  .then((request) => request(this.axios, this.basePath));
@@ -32691,6 +33022,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
32691
33022
  options: localVarRequestOptions,
32692
33023
  };
32693
33024
  },
33025
+ /**
33026
+ * <br> OperationId: `MetaGetLiveness`
33027
+ * @summary Get liveness
33028
+ * @param {*} [options] Override http request option.
33029
+ * @throws {RequiredError}
33030
+ */
33031
+ metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33032
+ const localVarPath = `/livez`;
33033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33034
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33035
+ let baseOptions;
33036
+ if (configuration) {
33037
+ baseOptions = configuration.baseOptions;
33038
+ }
33039
+
33040
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
33041
+ const localVarHeaderParameter = {} as any;
33042
+ const localVarQueryParameter = {} as any;
33043
+
33044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33046
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
33047
+
33048
+ return {
33049
+ url: toPathString(localVarUrlObj),
33050
+ options: localVarRequestOptions,
33051
+ };
33052
+ },
32694
33053
  /**
32695
33054
  * <br> OperationId: `MetaGetMetrics`
32696
33055
  * @summary Get metrics
@@ -32862,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
32862
33221
  configuration,
32863
33222
  )(axios, localVarOperationServerBasePath || basePath);
32864
33223
  },
33224
+ /**
33225
+ * <br> OperationId: `MetaGetLiveness`
33226
+ * @summary Get liveness
33227
+ * @param {*} [options] Override http request option.
33228
+ * @throws {RequiredError}
33229
+ */
33230
+ async metaGetLiveness(
33231
+ options?: RawAxiosRequestConfig,
33232
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
33233
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
33234
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33235
+ const localVarOperationServerBasePath =
33236
+ operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
33237
+ return (axios, basePath) =>
33238
+ createRequestFunction(
33239
+ localVarAxiosArgs,
33240
+ globalAxios,
33241
+ BASE_PATH,
33242
+ configuration,
33243
+ )(axios, localVarOperationServerBasePath || basePath);
33244
+ },
32865
33245
  /**
32866
33246
  * <br> OperationId: `MetaGetMetrics`
32867
33247
  * @summary Get metrics
@@ -32986,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
32986
33366
  metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
32987
33367
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
32988
33368
  },
33369
+ /**
33370
+ * <br> OperationId: `MetaGetLiveness`
33371
+ * @summary Get liveness
33372
+ * @param {*} [options] Override http request option.
33373
+ * @throws {RequiredError}
33374
+ */
33375
+ metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
33376
+ return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
33377
+ },
32989
33378
  /**
32990
33379
  * <br> OperationId: `MetaGetMetrics`
32991
33380
  * @summary Get metrics
@@ -33054,6 +33443,19 @@ export class MetaApi extends BaseAPI {
33054
33443
  .then((request) => request(this.axios, this.basePath));
33055
33444
  }
33056
33445
 
33446
+ /**
33447
+ * <br> OperationId: `MetaGetLiveness`
33448
+ * @summary Get liveness
33449
+ * @param {*} [options] Override http request option.
33450
+ * @throws {RequiredError}
33451
+ * @memberof MetaApi
33452
+ */
33453
+ public metaGetLiveness(options?: RawAxiosRequestConfig) {
33454
+ return MetaApiFp(this.configuration)
33455
+ .metaGetLiveness(options)
33456
+ .then((request) => request(this.axios, this.basePath));
33457
+ }
33458
+
33057
33459
  /**
33058
33460
  * <br> OperationId: `MetaGetMetrics`
33059
33461
  * @summary Get metrics
@@ -34719,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
34719
35121
  };
34720
35122
  },
34721
35123
  /**
34722
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35124
+ * Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
34723
35125
  * @summary Bulk assign role
34724
35126
  * @param {string} roleId
34725
35127
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34764,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
34764
35166
  };
34765
35167
  },
34766
35168
  /**
34767
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35169
+ * Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
34768
35170
  * @summary Bulk delete
34769
35171
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34770
35172
  * @param {*} [options] Override http request option.
@@ -35148,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
35148
35550
  )(axios, localVarOperationServerBasePath || basePath);
35149
35551
  },
35150
35552
  /**
35151
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35553
+ * Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35152
35554
  * @summary Bulk assign role
35153
35555
  * @param {string} roleId
35154
35556
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -35177,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
35177
35579
  )(axios, localVarOperationServerBasePath || basePath);
35178
35580
  },
35179
35581
  /**
35180
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35582
+ * Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35181
35583
  * @summary Bulk delete
35182
35584
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
35183
35585
  * @param {*} [options] Override http request option.
@@ -35412,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
35412
35814
  .then((request) => request(axios, basePath));
35413
35815
  },
35414
35816
  /**
35415
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35817
+ * Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35416
35818
  * @summary Bulk assign role
35417
35819
  * @param {string} roleId
35418
35820
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -35429,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
35429
35831
  .then((request) => request(axios, basePath));
35430
35832
  },
35431
35833
  /**
35432
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35834
+ * Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35433
35835
  * @summary Bulk delete
35434
35836
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
35435
35837
  * @param {*} [options] Override http request option.
@@ -35609,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
35609
36011
  }
35610
36012
 
35611
36013
  /**
35612
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
36014
+ * Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35613
36015
  * @summary Bulk assign role
35614
36016
  * @param {string} roleId
35615
36017
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -35628,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
35628
36030
  }
35629
36031
 
35630
36032
  /**
35631
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
36033
+ * Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35632
36034
  * @summary Bulk delete
35633
36035
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
35634
36036
  * @param {*} [options] Override http request option.
@@ -35779,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
35779
36181
  };
35780
36182
  },
35781
36183
  /**
35782
- * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36184
+ * Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
35783
36185
  * @summary Bulk add currency
35784
36186
  * @param {string} gameServerId
35785
36187
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -36198,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
36198
36600
  )(axios, localVarOperationServerBasePath || basePath);
36199
36601
  },
36200
36602
  /**
36201
- * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36603
+ * Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36202
36604
  * @summary Bulk add currency
36203
36605
  * @param {string} gameServerId
36204
36606
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -36485,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
36485
36887
  .then((request) => request(axios, basePath));
36486
36888
  },
36487
36889
  /**
36488
- * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36890
+ * Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36489
36891
  * @summary Bulk add currency
36490
36892
  * @param {string} gameServerId
36491
36893
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -36669,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
36669
37071
  }
36670
37072
 
36671
37073
  /**
36672
- * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
37074
+ * Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
36673
37075
  * @summary Bulk add currency
36674
37076
  * @param {string} gameServerId
36675
37077
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -39009,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
39009
39411
  export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
39010
39412
  return {
39011
39413
  /**
39012
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39414
+ * Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39013
39415
  * @summary Bulk assign
39014
39416
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
39015
39417
  * @param {*} [options] Override http request option.
@@ -39333,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
39333
39735
  const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
39334
39736
  return {
39335
39737
  /**
39336
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39738
+ * Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39337
39739
  * @summary Bulk assign
39338
39740
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
39339
39741
  * @param {*} [options] Override http request option.
@@ -39554,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
39554
39956
  const localVarFp = ShopCategoryApiFp(configuration);
39555
39957
  return {
39556
39958
  /**
39557
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39959
+ * Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39558
39960
  * @summary Bulk assign
39559
39961
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
39560
39962
  * @param {*} [options] Override http request option.
@@ -39683,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
39683
40085
  */
39684
40086
  export class ShopCategoryApi extends BaseAPI {
39685
40087
  /**
39686
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
40088
+ * Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39687
40089
  * @summary Bulk assign
39688
40090
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
39689
40091
  * @param {*} [options] Override http request option.
@@ -39818,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
39818
40220
  */
39819
40221
  export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
39820
40222
  return {
40223
+ /**
40224
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40225
+ * @summary Bulk
40226
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40227
+ * @param {*} [options] Override http request option.
40228
+ * @throws {RequiredError}
40229
+ */
40230
+ shopListingControllerBulk: async (
40231
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40232
+ options: RawAxiosRequestConfig = {},
40233
+ ): Promise<RequestArgs> => {
40234
+ const localVarPath = `/shop/listing/bulk`;
40235
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40236
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40237
+ let baseOptions;
40238
+ if (configuration) {
40239
+ baseOptions = configuration.baseOptions;
40240
+ }
40241
+
40242
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
40243
+ const localVarHeaderParameter = {} as any;
40244
+ const localVarQueryParameter = {} as any;
40245
+
40246
+ // authentication domainAuth required
40247
+
40248
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40249
+
40250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40252
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40253
+ localVarRequestOptions.data = serializeDataIfNeeded(
40254
+ shopListingBulkInputDTO,
40255
+ localVarRequestOptions,
40256
+ configuration,
40257
+ );
40258
+
40259
+ return {
40260
+ url: toPathString(localVarUrlObj),
40261
+ options: localVarRequestOptions,
40262
+ };
40263
+ },
39821
40264
  /**
39822
40265
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39823
40266
  * @summary Create
@@ -40043,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
40043
40486
  export const ShopListingApiFp = function (configuration?: Configuration) {
40044
40487
  const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
40045
40488
  return {
40489
+ /**
40490
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40491
+ * @summary Bulk
40492
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40493
+ * @param {*} [options] Override http request option.
40494
+ * @throws {RequiredError}
40495
+ */
40496
+ async shopListingControllerBulk(
40497
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40498
+ options?: RawAxiosRequestConfig,
40499
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
40500
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(
40501
+ shopListingBulkInputDTO,
40502
+ options,
40503
+ );
40504
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40505
+ const localVarOperationServerBasePath =
40506
+ operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
40507
+ return (axios, basePath) =>
40508
+ createRequestFunction(
40509
+ localVarAxiosArgs,
40510
+ globalAxios,
40511
+ BASE_PATH,
40512
+ configuration,
40513
+ )(axios, localVarOperationServerBasePath || basePath);
40514
+ },
40046
40515
  /**
40047
40516
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
40048
40517
  * @summary Create
@@ -40205,6 +40674,21 @@ export const ShopListingApiFactory = function (
40205
40674
  ) {
40206
40675
  const localVarFp = ShopListingApiFp(configuration);
40207
40676
  return {
40677
+ /**
40678
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40679
+ * @summary Bulk
40680
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40681
+ * @param {*} [options] Override http request option.
40682
+ * @throws {RequiredError}
40683
+ */
40684
+ shopListingControllerBulk(
40685
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40686
+ options?: RawAxiosRequestConfig,
40687
+ ): AxiosPromise<BulkActionResultDTOAPI> {
40688
+ return localVarFp
40689
+ .shopListingControllerBulk(shopListingBulkInputDTO, options)
40690
+ .then((request) => request(axios, basePath));
40691
+ },
40208
40692
  /**
40209
40693
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
40210
40694
  * @summary Create
@@ -40291,6 +40775,20 @@ export const ShopListingApiFactory = function (
40291
40775
  * @extends {BaseAPI}
40292
40776
  */
40293
40777
  export class ShopListingApi extends BaseAPI {
40778
+ /**
40779
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40780
+ * @summary Bulk
40781
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40782
+ * @param {*} [options] Override http request option.
40783
+ * @throws {RequiredError}
40784
+ * @memberof ShopListingApi
40785
+ */
40786
+ public shopListingControllerBulk(shopListingBulkInputDTO?: ShopListingBulkInputDTO, options?: RawAxiosRequestConfig) {
40787
+ return ShopListingApiFp(this.configuration)
40788
+ .shopListingControllerBulk(shopListingBulkInputDTO, options)
40789
+ .then((request) => request(this.axios, this.basePath));
40790
+ }
40791
+
40294
40792
  /**
40295
40793
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
40296
40794
  * @summary Create
@@ -43037,6 +43535,47 @@ export class UserApi extends BaseAPI {
43037
43535
  */
43038
43536
  export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
43039
43537
  return {
43538
+ /**
43539
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
43540
+ * @summary Bulk delete
43541
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
43542
+ * @param {*} [options] Override http request option.
43543
+ * @throws {RequiredError}
43544
+ */
43545
+ variableControllerBulkDelete: async (
43546
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
43547
+ options: RawAxiosRequestConfig = {},
43548
+ ): Promise<RequestArgs> => {
43549
+ const localVarPath = `/variables`;
43550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43552
+ let baseOptions;
43553
+ if (configuration) {
43554
+ baseOptions = configuration.baseOptions;
43555
+ }
43556
+
43557
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
43558
+ const localVarHeaderParameter = {} as any;
43559
+ const localVarQueryParameter = {} as any;
43560
+
43561
+ // authentication domainAuth required
43562
+
43563
+ localVarHeaderParameter['Content-Type'] = 'application/json';
43564
+
43565
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43566
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43567
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
43568
+ localVarRequestOptions.data = serializeDataIfNeeded(
43569
+ variableBulkDeleteInputDTO,
43570
+ localVarRequestOptions,
43571
+ configuration,
43572
+ );
43573
+
43574
+ return {
43575
+ url: toPathString(localVarUrlObj),
43576
+ options: localVarRequestOptions,
43577
+ };
43578
+ },
43040
43579
  /**
43041
43580
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
43042
43581
  * @summary Create
@@ -43232,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
43232
43771
  export const VariableApiFp = function (configuration?: Configuration) {
43233
43772
  const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
43234
43773
  return {
43774
+ /**
43775
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
43776
+ * @summary Bulk delete
43777
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
43778
+ * @param {*} [options] Override http request option.
43779
+ * @throws {RequiredError}
43780
+ */
43781
+ async variableControllerBulkDelete(
43782
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
43783
+ options?: RawAxiosRequestConfig,
43784
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
43785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(
43786
+ variableBulkDeleteInputDTO,
43787
+ options,
43788
+ );
43789
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43790
+ const localVarOperationServerBasePath =
43791
+ operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
43792
+ return (axios, basePath) =>
43793
+ createRequestFunction(
43794
+ localVarAxiosArgs,
43795
+ globalAxios,
43796
+ BASE_PATH,
43797
+ configuration,
43798
+ )(axios, localVarOperationServerBasePath || basePath);
43799
+ },
43235
43800
  /**
43236
43801
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
43237
43802
  * @summary Create
@@ -43366,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
43366
43931
  export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
43367
43932
  const localVarFp = VariableApiFp(configuration);
43368
43933
  return {
43934
+ /**
43935
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
43936
+ * @summary Bulk delete
43937
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
43938
+ * @param {*} [options] Override http request option.
43939
+ * @throws {RequiredError}
43940
+ */
43941
+ variableControllerBulkDelete(
43942
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
43943
+ options?: RawAxiosRequestConfig,
43944
+ ): AxiosPromise<BulkActionResultDTOAPI> {
43945
+ return localVarFp
43946
+ .variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
43947
+ .then((request) => request(axios, basePath));
43948
+ },
43369
43949
  /**
43370
43950
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
43371
43951
  * @summary Create
@@ -43443,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
43443
44023
  * @extends {BaseAPI}
43444
44024
  */
43445
44025
  export class VariableApi extends BaseAPI {
44026
+ /**
44027
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
44028
+ * @summary Bulk delete
44029
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
44030
+ * @param {*} [options] Override http request option.
44031
+ * @throws {RequiredError}
44032
+ * @memberof VariableApi
44033
+ */
44034
+ public variableControllerBulkDelete(
44035
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
44036
+ options?: RawAxiosRequestConfig,
44037
+ ) {
44038
+ return VariableApiFp(this.configuration)
44039
+ .variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
44040
+ .then((request) => request(this.axios, this.basePath));
44041
+ }
44042
+
43446
44043
  /**
43447
44044
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
43448
44045
  * @summary Create