@takaro/apiclient 0.0.0-dev.99991d4 → 0.0.0-dev.99cff2b

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
@@ -2264,6 +2346,30 @@ export interface DomainCreateInputDTO {
2264
2346
  * @memberof DomainCreateInputDTO
2265
2347
  */
2266
2348
  maxFunctionsInModule?: number;
2349
+ /**
2350
+ *
2351
+ * @type {number}
2352
+ * @memberof DomainCreateInputDTO
2353
+ */
2354
+ maxCustomRoles?: number;
2355
+ /**
2356
+ *
2357
+ * @type {number}
2358
+ * @memberof DomainCreateInputDTO
2359
+ */
2360
+ maxDiscordLinkedRoles?: number;
2361
+ /**
2362
+ *
2363
+ * @type {boolean}
2364
+ * @memberof DomainCreateInputDTO
2365
+ */
2366
+ skipBuiltinSeeding?: boolean;
2367
+ /**
2368
+ *
2369
+ * @type {string}
2370
+ * @memberof DomainCreateInputDTO
2371
+ */
2372
+ serverRegistrationToken?: string;
2267
2373
  }
2268
2374
 
2269
2375
  export const DomainCreateInputDTOStateEnum = {
@@ -2422,6 +2528,18 @@ export interface DomainOutputDTO {
2422
2528
  * @memberof DomainOutputDTO
2423
2529
  */
2424
2530
  maxFunctionsInModule: number;
2531
+ /**
2532
+ *
2533
+ * @type {number}
2534
+ * @memberof DomainOutputDTO
2535
+ */
2536
+ maxCustomRoles: number;
2537
+ /**
2538
+ *
2539
+ * @type {number}
2540
+ * @memberof DomainOutputDTO
2541
+ */
2542
+ maxDiscordLinkedRoles: number;
2425
2543
  /**
2426
2544
  *
2427
2545
  * @type {string}
@@ -2653,6 +2771,18 @@ export interface DomainUpdateInputDTO {
2653
2771
  * @memberof DomainUpdateInputDTO
2654
2772
  */
2655
2773
  maxFunctionsInModule?: number;
2774
+ /**
2775
+ *
2776
+ * @type {number}
2777
+ * @memberof DomainUpdateInputDTO
2778
+ */
2779
+ maxCustomRoles?: number;
2780
+ /**
2781
+ *
2782
+ * @type {number}
2783
+ * @memberof DomainUpdateInputDTO
2784
+ */
2785
+ maxDiscordLinkedRoles?: number;
2656
2786
  }
2657
2787
 
2658
2788
  export const DomainUpdateInputDTOStateEnum = {
@@ -3105,19 +3235,19 @@ export interface ErrorOutput {
3105
3235
  * @type {string}
3106
3236
  * @memberof ErrorOutput
3107
3237
  */
3108
- code: string;
3238
+ code?: string;
3109
3239
  /**
3110
3240
  *
3111
3241
  * @type {string}
3112
3242
  * @memberof ErrorOutput
3113
3243
  */
3114
- message: string;
3244
+ message?: string;
3115
3245
  /**
3116
3246
  *
3117
3247
  * @type {string}
3118
3248
  * @memberof ErrorOutput
3119
3249
  */
3120
- details: string;
3250
+ details?: string;
3121
3251
  }
3122
3252
  /**
3123
3253
  *
@@ -3130,7 +3260,7 @@ export interface EventChatMessage {
3130
3260
  * @type {IGamePlayer}
3131
3261
  * @memberof EventChatMessage
3132
3262
  */
3133
- player: IGamePlayer;
3263
+ player?: IGamePlayer;
3134
3264
  /**
3135
3265
  *
3136
3266
  * @type {string}
@@ -3263,6 +3393,7 @@ export const EventCreateDTOEventNameEnum = {
3263
3393
  PlayerInventoryChanged: 'player-inventory-changed',
3264
3394
  EventRateLimited: 'event-rate-limited',
3265
3395
  PlayerSyncSnapshot: 'player-sync-snapshot',
3396
+ InviteLinkCreated: 'invite-link-created',
3266
3397
  PlayerConnected: 'player-connected',
3267
3398
  PlayerDisconnected: 'player-disconnected',
3268
3399
  ChatMessage: 'chat-message',
@@ -3481,6 +3612,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
3481
3612
  PlayerInventoryChanged: 'player-inventory-changed',
3482
3613
  EventRateLimited: 'event-rate-limited',
3483
3614
  PlayerSyncSnapshot: 'player-sync-snapshot',
3615
+ InviteLinkCreated: 'invite-link-created',
3484
3616
  PlayerConnected: 'player-connected',
3485
3617
  PlayerDisconnected: 'player-disconnected',
3486
3618
  ChatMessage: 'chat-message',
@@ -3851,6 +3983,7 @@ export const EventOutputDTOEventNameEnum = {
3851
3983
  PlayerInventoryChanged: 'player-inventory-changed',
3852
3984
  EventRateLimited: 'event-rate-limited',
3853
3985
  PlayerSyncSnapshot: 'player-sync-snapshot',
3986
+ InviteLinkCreated: 'invite-link-created',
3854
3987
  PlayerConnected: 'player-connected',
3855
3988
  PlayerDisconnected: 'player-disconnected',
3856
3989
  ChatMessage: 'chat-message',
@@ -3883,6 +4016,7 @@ export type EventOutputDTOMeta =
3883
4016
  | TakaroEventGameserverDeleted
3884
4017
  | TakaroEventGameserverUpdated
3885
4018
  | TakaroEventHookExecuted
4019
+ | TakaroEventInviteLinkCreated
3886
4020
  | TakaroEventModuleCreated
3887
4021
  | TakaroEventModuleDeleted
3888
4022
  | TakaroEventModuleInstalled
@@ -4090,6 +4224,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
4090
4224
  PlayerInventoryChanged: 'player-inventory-changed',
4091
4225
  EventRateLimited: 'event-rate-limited',
4092
4226
  PlayerSyncSnapshot: 'player-sync-snapshot',
4227
+ InviteLinkCreated: 'invite-link-created',
4093
4228
  PlayerConnected: 'player-connected',
4094
4229
  PlayerDisconnected: 'player-disconnected',
4095
4230
  ChatMessage: 'chat-message',
@@ -5584,6 +5719,7 @@ export const HookCreateDTOEventTypeEnum = {
5584
5719
  PlayerInventoryChanged: 'player-inventory-changed',
5585
5720
  EventRateLimited: 'event-rate-limited',
5586
5721
  PlayerSyncSnapshot: 'player-sync-snapshot',
5722
+ InviteLinkCreated: 'invite-link-created',
5587
5723
  } as const;
5588
5724
 
5589
5725
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -5747,6 +5883,7 @@ export const HookOutputDTOEventTypeEnum = {
5747
5883
  PlayerInventoryChanged: 'player-inventory-changed',
5748
5884
  EventRateLimited: 'event-rate-limited',
5749
5885
  PlayerSyncSnapshot: 'player-sync-snapshot',
5886
+ InviteLinkCreated: 'invite-link-created',
5750
5887
  } as const;
5751
5888
 
5752
5889
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -5855,6 +5992,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
5855
5992
  PlayerInventoryChanged: 'player-inventory-changed',
5856
5993
  EventRateLimited: 'event-rate-limited',
5857
5994
  PlayerSyncSnapshot: 'player-sync-snapshot',
5995
+ InviteLinkCreated: 'invite-link-created',
5858
5996
  } as const;
5859
5997
 
5860
5998
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -6035,6 +6173,7 @@ export const HookTriggerDTOEventTypeEnum = {
6035
6173
  PlayerInventoryChanged: 'player-inventory-changed',
6036
6174
  EventRateLimited: 'event-rate-limited',
6037
6175
  PlayerSyncSnapshot: 'player-sync-snapshot',
6176
+ InviteLinkCreated: 'invite-link-created',
6038
6177
  } as const;
6039
6178
 
6040
6179
  export type HookTriggerDTOEventTypeEnum =
@@ -6125,6 +6264,7 @@ export const HookUpdateDTOEventTypeEnum = {
6125
6264
  PlayerInventoryChanged: 'player-inventory-changed',
6126
6265
  EventRateLimited: 'event-rate-limited',
6127
6266
  PlayerSyncSnapshot: 'player-sync-snapshot',
6267
+ InviteLinkCreated: 'invite-link-created',
6128
6268
  } as const;
6129
6269
 
6130
6270
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -6457,6 +6597,7 @@ export const IHookEventTypeEnum = {
6457
6597
  PlayerInventoryChanged: 'player-inventory-changed',
6458
6598
  EventRateLimited: 'event-rate-limited',
6459
6599
  PlayerSyncSnapshot: 'player-sync-snapshot',
6600
+ InviteLinkCreated: 'invite-link-created',
6460
6601
  } as const;
6461
6602
 
6462
6603
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -6886,25 +7027,6 @@ export interface InviteCreateDTO {
6886
7027
  */
6887
7028
  email: string;
6888
7029
  }
6889
- /**
6890
- *
6891
- * @export
6892
- * @interface InviteOutputDTO
6893
- */
6894
- export interface InviteOutputDTO {
6895
- /**
6896
- *
6897
- * @type {string}
6898
- * @memberof InviteOutputDTO
6899
- */
6900
- botInvite: string;
6901
- /**
6902
- *
6903
- * @type {string}
6904
- * @memberof InviteOutputDTO
6905
- */
6906
- devServer: string;
6907
- }
6908
7030
  /**
6909
7031
  *
6910
7032
  * @export
@@ -7048,27 +7170,28 @@ export interface InviteLinkCreateResultDTOAPI {
7048
7170
  /**
7049
7171
  *
7050
7172
  * @export
7051
- * @interface InviteLinkOutputDTO
7173
+ * @interface InviteLinkOutputArrayDTOAPI
7052
7174
  */
7053
- export interface InviteLinkOutputDTO {
7054
- /**
7055
- *
7056
- * @type {string}
7057
- * @memberof InviteLinkOutputDTO
7058
- */
7059
- id: string;
7175
+ export interface InviteLinkOutputArrayDTOAPI {
7060
7176
  /**
7061
7177
  *
7062
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7063
- * @memberof InviteLinkOutputDTO
7178
+ * @type {Array<InviteLinkOutputDTO>}
7179
+ * @memberof InviteLinkOutputArrayDTOAPI
7064
7180
  */
7065
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7181
+ data: Array<InviteLinkOutputDTO>;
7066
7182
  /**
7067
7183
  *
7068
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7069
- * @memberof InviteLinkOutputDTO
7184
+ * @type {MetadataOutput}
7185
+ * @memberof InviteLinkOutputArrayDTOAPI
7070
7186
  */
7071
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7187
+ meta: MetadataOutput;
7188
+ }
7189
+ /**
7190
+ *
7191
+ * @export
7192
+ * @interface InviteLinkOutputDTO
7193
+ */
7194
+ export interface InviteLinkOutputDTO {
7072
7195
  /**
7073
7196
  *
7074
7197
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -7117,6 +7240,24 @@ export interface InviteLinkOutputDTO {
7117
7240
  * @memberof InviteLinkOutputDTO
7118
7241
  */
7119
7242
  roles: Array<InviteLinkRoleDTO>;
7243
+ /**
7244
+ *
7245
+ * @type {string}
7246
+ * @memberof InviteLinkOutputDTO
7247
+ */
7248
+ id: string;
7249
+ /**
7250
+ *
7251
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7252
+ * @memberof InviteLinkOutputDTO
7253
+ */
7254
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7255
+ /**
7256
+ *
7257
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7258
+ * @memberof InviteLinkOutputDTO
7259
+ */
7260
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7120
7261
  }
7121
7262
 
7122
7263
  export const InviteLinkOutputDTOStatusEnum = {
@@ -7148,25 +7289,6 @@ export interface InviteLinkOutputDTOAPI {
7148
7289
  */
7149
7290
  meta: MetadataOutput;
7150
7291
  }
7151
- /**
7152
- *
7153
- * @export
7154
- * @interface InviteLinkOutputArrayDTOAPI
7155
- */
7156
- export interface InviteLinkOutputArrayDTOAPI {
7157
- /**
7158
- *
7159
- * @type {Array<InviteLinkOutputDTO>}
7160
- * @memberof InviteLinkOutputArrayDTOAPI
7161
- */
7162
- data: Array<InviteLinkOutputDTO>;
7163
- /**
7164
- *
7165
- * @type {MetadataOutput}
7166
- * @memberof InviteLinkOutputArrayDTOAPI
7167
- */
7168
- meta: MetadataOutput;
7169
- }
7170
7292
  /**
7171
7293
  *
7172
7294
  * @export
@@ -7364,15 +7486,21 @@ export type InviteLinkSearchInputDTOSortDirectionEnum =
7364
7486
  /**
7365
7487
  *
7366
7488
  * @export
7367
- * @interface RedeemInputDTO
7489
+ * @interface InviteOutputDTO
7368
7490
  */
7369
- export interface RedeemInputDTO {
7491
+ export interface InviteOutputDTO {
7370
7492
  /**
7371
7493
  *
7372
7494
  * @type {string}
7373
- * @memberof RedeemInputDTO
7495
+ * @memberof InviteOutputDTO
7374
7496
  */
7375
- token: string;
7497
+ botInvite: string;
7498
+ /**
7499
+ *
7500
+ * @type {string}
7501
+ * @memberof InviteOutputDTO
7502
+ */
7503
+ devServer: string;
7376
7504
  }
7377
7505
  /**
7378
7506
  *
@@ -8280,7 +8408,7 @@ export interface MetadataOutput {
8280
8408
  * @type {ErrorOutput}
8281
8409
  * @memberof MetadataOutput
8282
8410
  */
8283
- error: ErrorOutput;
8411
+ error?: ErrorOutput;
8284
8412
  /**
8285
8413
  *
8286
8414
  * @type {number}
@@ -10399,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
10399
10527
  * @type {Array<string>}
10400
10528
  * @memberof PlayerBulkAssignRoleInputDTO
10401
10529
  */
10402
- playerIds: Array<string>;
10530
+ playerIds?: Array<string>;
10531
+ /**
10532
+ *
10533
+ * @type {PlayerSearchInputDTO}
10534
+ * @memberof PlayerBulkAssignRoleInputDTO
10535
+ */
10536
+ query?: PlayerSearchInputDTO;
10403
10537
  /**
10404
10538
  *
10405
10539
  * @type {string}
@@ -10412,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
10412
10546
  * @memberof PlayerBulkAssignRoleInputDTO
10413
10547
  */
10414
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>;
10415
10561
  }
10416
10562
  /**
10417
10563
  *
@@ -10487,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
10487
10633
  * @type {Array<string>}
10488
10634
  * @memberof PlayerBulkDeleteInputDTO
10489
10635
  */
10490
- 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>;
10491
10655
  }
10492
10656
  /**
10493
10657
  *
@@ -11059,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
11059
11223
  * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
11060
11224
  */
11061
11225
  playtimeSeconds?: number;
11226
+ /**
11227
+ *
11228
+ * @type {number}
11229
+ * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
11230
+ */
11231
+ currency?: number;
11062
11232
  /**
11063
11233
  *
11064
11234
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -11986,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
11986
12156
  * @memberof PlayerSearchInputAllowedFilters
11987
12157
  */
11988
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>;
11989
12177
  /**
11990
12178
  *
11991
12179
  * @type {Array<string>}
@@ -11993,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
11993
12181
  */
11994
12182
  id?: Array<string>;
11995
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
+
11996
12193
  /**
11997
12194
  *
11998
12195
  * @export
@@ -12244,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
12244
12441
  * @type {Array<string>}
12245
12442
  * @memberof PogBulkAddCurrencyInputDTO
12246
12443
  */
12247
- playerIds: Array<string>;
12444
+ playerIds?: Array<string>;
12445
+ /**
12446
+ *
12447
+ * @type {PlayerOnGameServerSearchInputDTO}
12448
+ * @memberof PogBulkAddCurrencyInputDTO
12449
+ */
12450
+ query?: PlayerOnGameServerSearchInputDTO;
12248
12451
  /**
12249
12452
  *
12250
12453
  * @type {number}
12251
12454
  * @memberof PogBulkAddCurrencyInputDTO
12252
12455
  */
12253
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>;
12254
12469
  }
12255
12470
  /**
12256
12471
  *
@@ -12548,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
12548
12763
 
12549
12764
  export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
12550
12765
 
12766
+ /**
12767
+ *
12768
+ * @export
12769
+ * @interface RedeemInputDTO
12770
+ */
12771
+ export interface RedeemInputDTO {
12772
+ /**
12773
+ *
12774
+ * @type {string}
12775
+ * @memberof RedeemInputDTO
12776
+ */
12777
+ token: string;
12778
+ }
12551
12779
  /**
12552
12780
  *
12553
12781
  * @export
@@ -12559,7 +12787,7 @@ export interface RedirectQs {
12559
12787
  * @type {string}
12560
12788
  * @memberof RedirectQs
12561
12789
  */
12562
- redirect: string;
12790
+ redirect?: string;
12563
12791
  }
12564
12792
  /**
12565
12793
  *
@@ -13360,7 +13588,7 @@ export interface RoleUpdateInputDTO {
13360
13588
  * @type {string}
13361
13589
  * @memberof RoleUpdateInputDTO
13362
13590
  */
13363
- linkedDiscordRoleId?: string;
13591
+ linkedDiscordRoleId?: string | null;
13364
13592
  }
13365
13593
  /**
13366
13594
  *
@@ -14101,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
14101
14329
  * @type {Array<string>}
14102
14330
  * @memberof ShopCategoryBulkAssignDTO
14103
14331
  */
14104
- listingIds: Array<string>;
14332
+ listingIds?: Array<string>;
14333
+ /**
14334
+ *
14335
+ * @type {ShopListingSearchInputDTO}
14336
+ * @memberof ShopCategoryBulkAssignDTO
14337
+ */
14338
+ query?: ShopListingSearchInputDTO;
14105
14339
  /**
14106
14340
  *
14107
14341
  * @type {Array<string>}
@@ -14114,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
14114
14348
  * @memberof ShopCategoryBulkAssignDTO
14115
14349
  */
14116
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>;
14117
14363
  }
14118
14364
  /**
14119
14365
  *
@@ -14728,6 +14974,60 @@ export interface ShopKpisDTOAPI {
14728
14974
  */
14729
14975
  meta: MetadataOutput;
14730
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
+ }
14731
15031
  /**
14732
15032
  *
14733
15033
  * @export
@@ -16280,6 +16580,49 @@ export interface TakaroEventHookExecuted {
16280
16580
  */
16281
16581
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16282
16582
  }
16583
+ /**
16584
+ *
16585
+ * @export
16586
+ * @interface TakaroEventInviteLinkCreated
16587
+ */
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;
16619
+ /**
16620
+ *
16621
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16622
+ * @memberof TakaroEventInviteLinkCreated
16623
+ */
16624
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16625
+ }
16283
16626
  /**
16284
16627
  *
16285
16628
  * @export
@@ -17638,6 +17981,37 @@ export interface UserCreateInputDTO {
17638
17981
  */
17639
17982
  isDashboardUser?: boolean;
17640
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
+ }
17641
18015
  /**
17642
18016
  *
17643
18017
  * @export
@@ -17741,7 +18115,7 @@ export interface UserOutputDTO {
17741
18115
  * @type {PlayerOutputWithRolesDTO}
17742
18116
  * @memberof UserOutputDTO
17743
18117
  */
17744
- player: PlayerOutputWithRolesDTO;
18118
+ player?: PlayerOutputWithRolesDTO;
17745
18119
  /**
17746
18120
  *
17747
18121
  * @type {boolean}
@@ -17759,25 +18133,25 @@ export interface UserOutputDTO {
17759
18133
  * @type {string}
17760
18134
  * @memberof UserOutputDTO
17761
18135
  */
17762
- id: string;
18136
+ inviteLinkId?: string;
17763
18137
  /**
17764
18138
  *
17765
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
18139
+ * @type {string}
17766
18140
  * @memberof UserOutputDTO
17767
18141
  */
17768
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
18142
+ id: string;
17769
18143
  /**
17770
18144
  *
17771
18145
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
17772
18146
  * @memberof UserOutputDTO
17773
18147
  */
17774
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
18148
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17775
18149
  /**
17776
18150
  *
17777
- * @type {string}
18151
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
17778
18152
  * @memberof UserOutputDTO
17779
18153
  */
17780
- inviteLinkId?: string;
18154
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17781
18155
  }
17782
18156
  /**
17783
18157
  *
@@ -17869,7 +18243,7 @@ export interface UserOutputWithRolesDTO {
17869
18243
  * @type {PlayerOutputWithRolesDTO}
17870
18244
  * @memberof UserOutputWithRolesDTO
17871
18245
  */
17872
- player: PlayerOutputWithRolesDTO;
18246
+ player?: PlayerOutputWithRolesDTO;
17873
18247
  /**
17874
18248
  *
17875
18249
  * @type {boolean}
@@ -18122,6 +18496,31 @@ export interface UserUpdateDTO {
18122
18496
  */
18123
18497
  isDashboardUser?: boolean;
18124
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
+ }
18125
18524
  /**
18126
18525
  *
18127
18526
  * @export
@@ -18331,6 +18730,12 @@ export interface VariableSearchInputAllowedSearch {
18331
18730
  * @memberof VariableSearchInputAllowedSearch
18332
18731
  */
18333
18732
  key?: Array<string>;
18733
+ /**
18734
+ *
18735
+ * @type {Array<string>}
18736
+ * @memberof VariableSearchInputAllowedSearch
18737
+ */
18738
+ value?: Array<string>;
18334
18739
  }
18335
18740
  /**
18336
18741
  *
@@ -26404,6 +26809,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
26404
26809
  options: localVarRequestOptions,
26405
26810
  };
26406
26811
  },
26812
+ /**
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`
26814
+ * @summary Create staff-recovery invite link for a domain
26815
+ * @param {string} id
26816
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26817
+ * @param {*} [options] Override http request option.
26818
+ * @throws {RequiredError}
26819
+ */
26820
+ domainControllerCreateInviteLink: async (
26821
+ id: string,
26822
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26823
+ options: RawAxiosRequestConfig = {},
26824
+ ): Promise<RequestArgs> => {
26825
+ // verify required parameter 'id' is not null or undefined
26826
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
26827
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
26828
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26829
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26830
+ let baseOptions;
26831
+ if (configuration) {
26832
+ baseOptions = configuration.baseOptions;
26833
+ }
26834
+
26835
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
26836
+ const localVarHeaderParameter = {} as any;
26837
+ const localVarQueryParameter = {} as any;
26838
+
26839
+ // authentication adminAuth required
26840
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
26841
+
26842
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26843
+
26844
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26845
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26846
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26847
+ localVarRequestOptions.data = serializeDataIfNeeded(
26848
+ inviteLinkCreateInputDTO,
26849
+ localVarRequestOptions,
26850
+ configuration,
26851
+ );
26852
+
26853
+ return {
26854
+ url: toPathString(localVarUrlObj),
26855
+ options: localVarRequestOptions,
26856
+ };
26857
+ },
26407
26858
  /**
26408
26859
  * <br> OperationId: `DomainControllerGetOne`
26409
26860
  * @summary Get one
@@ -26676,6 +27127,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
26676
27127
  configuration,
26677
27128
  )(axios, localVarOperationServerBasePath || basePath);
26678
27129
  },
27130
+ /**
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`
27132
+ * @summary Create staff-recovery invite link for a domain
27133
+ * @param {string} id
27134
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27135
+ * @param {*} [options] Override http request option.
27136
+ * @throws {RequiredError}
27137
+ */
27138
+ async domainControllerCreateInviteLink(
27139
+ id: string,
27140
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27141
+ options?: RawAxiosRequestConfig,
27142
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
27143
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
27144
+ id,
27145
+ inviteLinkCreateInputDTO,
27146
+ options,
27147
+ );
27148
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27149
+ const localVarOperationServerBasePath =
27150
+ operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
27151
+ return (axios, basePath) =>
27152
+ createRequestFunction(
27153
+ localVarAxiosArgs,
27154
+ globalAxios,
27155
+ BASE_PATH,
27156
+ configuration,
27157
+ )(axios, localVarOperationServerBasePath || basePath);
27158
+ },
26679
27159
  /**
26680
27160
  * <br> OperationId: `DomainControllerGetOne`
26681
27161
  * @summary Get one
@@ -26850,6 +27330,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26850
27330
  .domainControllerCreate(domainCreateInputDTO, options)
26851
27331
  .then((request) => request(axios, basePath));
26852
27332
  },
27333
+ /**
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`
27335
+ * @summary Create staff-recovery invite link for a domain
27336
+ * @param {string} id
27337
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27338
+ * @param {*} [options] Override http request option.
27339
+ * @throws {RequiredError}
27340
+ */
27341
+ domainControllerCreateInviteLink(
27342
+ id: string,
27343
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27344
+ options?: RawAxiosRequestConfig,
27345
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
27346
+ return localVarFp
27347
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27348
+ .then((request) => request(axios, basePath));
27349
+ },
26853
27350
  /**
26854
27351
  * <br> OperationId: `DomainControllerGetOne`
26855
27352
  * @summary Get one
@@ -26955,6 +27452,25 @@ export class DomainApi extends BaseAPI {
26955
27452
  .then((request) => request(this.axios, this.basePath));
26956
27453
  }
26957
27454
 
27455
+ /**
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`
27457
+ * @summary Create staff-recovery invite link for a domain
27458
+ * @param {string} id
27459
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27460
+ * @param {*} [options] Override http request option.
27461
+ * @throws {RequiredError}
27462
+ * @memberof DomainApi
27463
+ */
27464
+ public domainControllerCreateInviteLink(
27465
+ id: string,
27466
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27467
+ options?: RawAxiosRequestConfig,
27468
+ ) {
27469
+ return DomainApiFp(this.configuration)
27470
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27471
+ .then((request) => request(this.axios, this.basePath));
27472
+ }
27473
+
26958
27474
  /**
26959
27475
  * <br> OperationId: `DomainControllerGetOne`
26960
27476
  * @summary Get one
@@ -27915,16 +28431,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
27915
28431
  /**
27916
28432
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27917
28433
  * @summary Auth discord
27918
- * @param {string} redirect
28434
+ * @param {string} [redirect]
27919
28435
  * @param {*} [options] Override http request option.
27920
28436
  * @throws {RequiredError}
27921
28437
  */
27922
28438
  externalAuthControllerAuthDiscord: async (
27923
- redirect: string,
28439
+ redirect?: string,
27924
28440
  options: RawAxiosRequestConfig = {},
27925
28441
  ): Promise<RequestArgs> => {
27926
- // verify required parameter 'redirect' is not null or undefined
27927
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
27928
28442
  const localVarPath = `/auth/discord`;
27929
28443
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27930
28444
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27991,12 +28505,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
27991
28505
  /**
27992
28506
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27993
28507
  * @summary Auth discord
27994
- * @param {string} redirect
28508
+ * @param {string} [redirect]
27995
28509
  * @param {*} [options] Override http request option.
27996
28510
  * @throws {RequiredError}
27997
28511
  */
27998
28512
  async externalAuthControllerAuthDiscord(
27999
- redirect: string,
28513
+ redirect?: string,
28000
28514
  options?: RawAxiosRequestConfig,
28001
28515
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
28002
28516
  const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
@@ -28050,11 +28564,11 @@ export const ExternalAuthApiFactory = function (
28050
28564
  /**
28051
28565
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28052
28566
  * @summary Auth discord
28053
- * @param {string} redirect
28567
+ * @param {string} [redirect]
28054
28568
  * @param {*} [options] Override http request option.
28055
28569
  * @throws {RequiredError}
28056
28570
  */
28057
- externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28571
+ externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28058
28572
  return localVarFp
28059
28573
  .externalAuthControllerAuthDiscord(redirect, options)
28060
28574
  .then((request) => request(axios, basePath));
@@ -28081,12 +28595,12 @@ export class ExternalAuthApi extends BaseAPI {
28081
28595
  /**
28082
28596
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
28083
28597
  * @summary Auth discord
28084
- * @param {string} redirect
28598
+ * @param {string} [redirect]
28085
28599
  * @param {*} [options] Override http request option.
28086
28600
  * @throws {RequiredError}
28087
28601
  * @memberof ExternalAuthApi
28088
28602
  */
28089
- public externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig) {
28603
+ public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
28090
28604
  return ExternalAuthApiFp(this.configuration)
28091
28605
  .externalAuthControllerAuthDiscord(redirect, options)
28092
28606
  .then((request) => request(this.axios, this.basePath));
@@ -31788,6 +32302,488 @@ export class HookApi extends BaseAPI {
31788
32302
  }
31789
32303
  }
31790
32304
 
32305
+ /**
32306
+ * InviteLinkApi - axios parameter creator
32307
+ * @export
32308
+ */
32309
+ export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
32310
+ return {
32311
+ /**
32312
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
32313
+ * @summary Create invite link
32314
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32315
+ * @param {*} [options] Override http request option.
32316
+ * @throws {RequiredError}
32317
+ */
32318
+ inviteLinkControllerCreate: async (
32319
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32320
+ options: RawAxiosRequestConfig = {},
32321
+ ): Promise<RequestArgs> => {
32322
+ const localVarPath = `/invite-link`;
32323
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32324
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32325
+ let baseOptions;
32326
+ if (configuration) {
32327
+ baseOptions = configuration.baseOptions;
32328
+ }
32329
+
32330
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32331
+ const localVarHeaderParameter = {} as any;
32332
+ const localVarQueryParameter = {} as any;
32333
+
32334
+ // authentication domainAuth required
32335
+
32336
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32337
+
32338
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32339
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32340
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32341
+ localVarRequestOptions.data = serializeDataIfNeeded(
32342
+ inviteLinkCreateInputDTO,
32343
+ localVarRequestOptions,
32344
+ configuration,
32345
+ );
32346
+
32347
+ return {
32348
+ url: toPathString(localVarUrlObj),
32349
+ options: localVarRequestOptions,
32350
+ };
32351
+ },
32352
+ /**
32353
+ * <br> OperationId: `InviteLinkControllerPreview`
32354
+ * @summary Preview
32355
+ * @param {string} token
32356
+ * @param {*} [options] Override http request option.
32357
+ * @throws {RequiredError}
32358
+ */
32359
+ inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32360
+ // verify required parameter 'token' is not null or undefined
32361
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
32362
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
32363
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32364
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32365
+ let baseOptions;
32366
+ if (configuration) {
32367
+ baseOptions = configuration.baseOptions;
32368
+ }
32369
+
32370
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
32371
+ const localVarHeaderParameter = {} as any;
32372
+ const localVarQueryParameter = {} as any;
32373
+
32374
+ // authentication domainAuth required
32375
+
32376
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32377
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32378
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32379
+
32380
+ return {
32381
+ url: toPathString(localVarUrlObj),
32382
+ options: localVarRequestOptions,
32383
+ };
32384
+ },
32385
+ /**
32386
+ * <br> OperationId: `InviteLinkControllerRedeem`
32387
+ * @summary Redeem
32388
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32389
+ * @param {*} [options] Override http request option.
32390
+ * @throws {RequiredError}
32391
+ */
32392
+ inviteLinkControllerRedeem: async (
32393
+ redeemInputDTO?: RedeemInputDTO,
32394
+ options: RawAxiosRequestConfig = {},
32395
+ ): Promise<RequestArgs> => {
32396
+ const localVarPath = `/invite-link/redeem`;
32397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32398
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32399
+ let baseOptions;
32400
+ if (configuration) {
32401
+ baseOptions = configuration.baseOptions;
32402
+ }
32403
+
32404
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32405
+ const localVarHeaderParameter = {} as any;
32406
+ const localVarQueryParameter = {} as any;
32407
+
32408
+ // authentication domainAuth required
32409
+
32410
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32411
+
32412
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32413
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32414
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32415
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
32416
+
32417
+ return {
32418
+ url: toPathString(localVarUrlObj),
32419
+ options: localVarRequestOptions,
32420
+ };
32421
+ },
32422
+ /**
32423
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32424
+ * @summary Revoke
32425
+ * @param {string} id
32426
+ * @param {*} [options] Override http request option.
32427
+ * @throws {RequiredError}
32428
+ */
32429
+ inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32430
+ // verify required parameter 'id' is not null or undefined
32431
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
32432
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
32433
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32434
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32435
+ let baseOptions;
32436
+ if (configuration) {
32437
+ baseOptions = configuration.baseOptions;
32438
+ }
32439
+
32440
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
32441
+ const localVarHeaderParameter = {} as any;
32442
+ const localVarQueryParameter = {} as any;
32443
+
32444
+ // authentication domainAuth required
32445
+
32446
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32447
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32448
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32449
+
32450
+ return {
32451
+ url: toPathString(localVarUrlObj),
32452
+ options: localVarRequestOptions,
32453
+ };
32454
+ },
32455
+ /**
32456
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32457
+ * @summary Search
32458
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32459
+ * @param {*} [options] Override http request option.
32460
+ * @throws {RequiredError}
32461
+ */
32462
+ inviteLinkControllerSearch: async (
32463
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32464
+ options: RawAxiosRequestConfig = {},
32465
+ ): Promise<RequestArgs> => {
32466
+ const localVarPath = `/invite-link/search`;
32467
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32468
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32469
+ let baseOptions;
32470
+ if (configuration) {
32471
+ baseOptions = configuration.baseOptions;
32472
+ }
32473
+
32474
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32475
+ const localVarHeaderParameter = {} as any;
32476
+ const localVarQueryParameter = {} as any;
32477
+
32478
+ // authentication domainAuth required
32479
+
32480
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32481
+
32482
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32483
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32484
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32485
+ localVarRequestOptions.data = serializeDataIfNeeded(
32486
+ inviteLinkSearchInputDTO,
32487
+ localVarRequestOptions,
32488
+ configuration,
32489
+ );
32490
+
32491
+ return {
32492
+ url: toPathString(localVarUrlObj),
32493
+ options: localVarRequestOptions,
32494
+ };
32495
+ },
32496
+ };
32497
+ };
32498
+
32499
+ /**
32500
+ * InviteLinkApi - functional programming interface
32501
+ * @export
32502
+ */
32503
+ export const InviteLinkApiFp = function (configuration?: Configuration) {
32504
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
32505
+ return {
32506
+ /**
32507
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
32508
+ * @summary Create invite link
32509
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32510
+ * @param {*} [options] Override http request option.
32511
+ * @throws {RequiredError}
32512
+ */
32513
+ async inviteLinkControllerCreate(
32514
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32515
+ options?: RawAxiosRequestConfig,
32516
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
32517
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
32518
+ inviteLinkCreateInputDTO,
32519
+ options,
32520
+ );
32521
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32522
+ const localVarOperationServerBasePath =
32523
+ operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
32524
+ return (axios, basePath) =>
32525
+ createRequestFunction(
32526
+ localVarAxiosArgs,
32527
+ globalAxios,
32528
+ BASE_PATH,
32529
+ configuration,
32530
+ )(axios, localVarOperationServerBasePath || basePath);
32531
+ },
32532
+ /**
32533
+ * <br> OperationId: `InviteLinkControllerPreview`
32534
+ * @summary Preview
32535
+ * @param {string} token
32536
+ * @param {*} [options] Override http request option.
32537
+ * @throws {RequiredError}
32538
+ */
32539
+ async inviteLinkControllerPreview(
32540
+ token: string,
32541
+ options?: RawAxiosRequestConfig,
32542
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
32543
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
32544
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32545
+ const localVarOperationServerBasePath =
32546
+ operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
32547
+ return (axios, basePath) =>
32548
+ createRequestFunction(
32549
+ localVarAxiosArgs,
32550
+ globalAxios,
32551
+ BASE_PATH,
32552
+ configuration,
32553
+ )(axios, localVarOperationServerBasePath || basePath);
32554
+ },
32555
+ /**
32556
+ * <br> OperationId: `InviteLinkControllerRedeem`
32557
+ * @summary Redeem
32558
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32559
+ * @param {*} [options] Override http request option.
32560
+ * @throws {RequiredError}
32561
+ */
32562
+ async inviteLinkControllerRedeem(
32563
+ redeemInputDTO?: RedeemInputDTO,
32564
+ options?: RawAxiosRequestConfig,
32565
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
32566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
32567
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32568
+ const localVarOperationServerBasePath =
32569
+ operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
32570
+ return (axios, basePath) =>
32571
+ createRequestFunction(
32572
+ localVarAxiosArgs,
32573
+ globalAxios,
32574
+ BASE_PATH,
32575
+ configuration,
32576
+ )(axios, localVarOperationServerBasePath || basePath);
32577
+ },
32578
+ /**
32579
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32580
+ * @summary Revoke
32581
+ * @param {string} id
32582
+ * @param {*} [options] Override http request option.
32583
+ * @throws {RequiredError}
32584
+ */
32585
+ async inviteLinkControllerRevoke(
32586
+ id: string,
32587
+ options?: RawAxiosRequestConfig,
32588
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
32589
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
32590
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32591
+ const localVarOperationServerBasePath =
32592
+ operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
32593
+ return (axios, basePath) =>
32594
+ createRequestFunction(
32595
+ localVarAxiosArgs,
32596
+ globalAxios,
32597
+ BASE_PATH,
32598
+ configuration,
32599
+ )(axios, localVarOperationServerBasePath || basePath);
32600
+ },
32601
+ /**
32602
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32603
+ * @summary Search
32604
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32605
+ * @param {*} [options] Override http request option.
32606
+ * @throws {RequiredError}
32607
+ */
32608
+ async inviteLinkControllerSearch(
32609
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32610
+ options?: RawAxiosRequestConfig,
32611
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
32612
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
32613
+ inviteLinkSearchInputDTO,
32614
+ options,
32615
+ );
32616
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32617
+ const localVarOperationServerBasePath =
32618
+ operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
32619
+ return (axios, basePath) =>
32620
+ createRequestFunction(
32621
+ localVarAxiosArgs,
32622
+ globalAxios,
32623
+ BASE_PATH,
32624
+ configuration,
32625
+ )(axios, localVarOperationServerBasePath || basePath);
32626
+ },
32627
+ };
32628
+ };
32629
+
32630
+ /**
32631
+ * InviteLinkApi - factory interface
32632
+ * @export
32633
+ */
32634
+ export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32635
+ const localVarFp = InviteLinkApiFp(configuration);
32636
+ return {
32637
+ /**
32638
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
32639
+ * @summary Create invite link
32640
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32641
+ * @param {*} [options] Override http request option.
32642
+ * @throws {RequiredError}
32643
+ */
32644
+ inviteLinkControllerCreate(
32645
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32646
+ options?: RawAxiosRequestConfig,
32647
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
32648
+ return localVarFp
32649
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32650
+ .then((request) => request(axios, basePath));
32651
+ },
32652
+ /**
32653
+ * <br> OperationId: `InviteLinkControllerPreview`
32654
+ * @summary Preview
32655
+ * @param {string} token
32656
+ * @param {*} [options] Override http request option.
32657
+ * @throws {RequiredError}
32658
+ */
32659
+ inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
32660
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
32661
+ },
32662
+ /**
32663
+ * <br> OperationId: `InviteLinkControllerRedeem`
32664
+ * @summary Redeem
32665
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32666
+ * @param {*} [options] Override http request option.
32667
+ * @throws {RequiredError}
32668
+ */
32669
+ inviteLinkControllerRedeem(
32670
+ redeemInputDTO?: RedeemInputDTO,
32671
+ options?: RawAxiosRequestConfig,
32672
+ ): AxiosPromise<UserOutputWithRolesDTOAPI> {
32673
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
32674
+ },
32675
+ /**
32676
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32677
+ * @summary Revoke
32678
+ * @param {string} id
32679
+ * @param {*} [options] Override http request option.
32680
+ * @throws {RequiredError}
32681
+ */
32682
+ inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
32683
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
32684
+ },
32685
+ /**
32686
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32687
+ * @summary Search
32688
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32689
+ * @param {*} [options] Override http request option.
32690
+ * @throws {RequiredError}
32691
+ */
32692
+ inviteLinkControllerSearch(
32693
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32694
+ options?: RawAxiosRequestConfig,
32695
+ ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
32696
+ return localVarFp
32697
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32698
+ .then((request) => request(axios, basePath));
32699
+ },
32700
+ };
32701
+ };
32702
+
32703
+ /**
32704
+ * InviteLinkApi - object-oriented interface
32705
+ * @export
32706
+ * @class InviteLinkApi
32707
+ * @extends {BaseAPI}
32708
+ */
32709
+ export class InviteLinkApi extends BaseAPI {
32710
+ /**
32711
+ * Creates a new shareable invite link. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — copy the URL and distribute it securely. Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
32712
+ * @summary Create invite link
32713
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32714
+ * @param {*} [options] Override http request option.
32715
+ * @throws {RequiredError}
32716
+ * @memberof InviteLinkApi
32717
+ */
32718
+ public inviteLinkControllerCreate(
32719
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32720
+ options?: RawAxiosRequestConfig,
32721
+ ) {
32722
+ return InviteLinkApiFp(this.configuration)
32723
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32724
+ .then((request) => request(this.axios, this.basePath));
32725
+ }
32726
+
32727
+ /**
32728
+ * <br> OperationId: `InviteLinkControllerPreview`
32729
+ * @summary Preview
32730
+ * @param {string} token
32731
+ * @param {*} [options] Override http request option.
32732
+ * @throws {RequiredError}
32733
+ * @memberof InviteLinkApi
32734
+ */
32735
+ public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
32736
+ return InviteLinkApiFp(this.configuration)
32737
+ .inviteLinkControllerPreview(token, options)
32738
+ .then((request) => request(this.axios, this.basePath));
32739
+ }
32740
+
32741
+ /**
32742
+ * <br> OperationId: `InviteLinkControllerRedeem`
32743
+ * @summary Redeem
32744
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32745
+ * @param {*} [options] Override http request option.
32746
+ * @throws {RequiredError}
32747
+ * @memberof InviteLinkApi
32748
+ */
32749
+ public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
32750
+ return InviteLinkApiFp(this.configuration)
32751
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
32752
+ .then((request) => request(this.axios, this.basePath));
32753
+ }
32754
+
32755
+ /**
32756
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32757
+ * @summary Revoke
32758
+ * @param {string} id
32759
+ * @param {*} [options] Override http request option.
32760
+ * @throws {RequiredError}
32761
+ * @memberof InviteLinkApi
32762
+ */
32763
+ public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
32764
+ return InviteLinkApiFp(this.configuration)
32765
+ .inviteLinkControllerRevoke(id, options)
32766
+ .then((request) => request(this.axios, this.basePath));
32767
+ }
32768
+
32769
+ /**
32770
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32771
+ * @summary Search
32772
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32773
+ * @param {*} [options] Override http request option.
32774
+ * @throws {RequiredError}
32775
+ * @memberof InviteLinkApi
32776
+ */
32777
+ public inviteLinkControllerSearch(
32778
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32779
+ options?: RawAxiosRequestConfig,
32780
+ ) {
32781
+ return InviteLinkApiFp(this.configuration)
32782
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32783
+ .then((request) => request(this.axios, this.basePath));
32784
+ }
32785
+ }
32786
+
31791
32787
  /**
31792
32788
  * ItemApi - axios parameter creator
31793
32789
  * @export
@@ -32026,6 +33022,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
32026
33022
  options: localVarRequestOptions,
32027
33023
  };
32028
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
+ },
32029
33053
  /**
32030
33054
  * <br> OperationId: `MetaGetMetrics`
32031
33055
  * @summary Get metrics
@@ -32197,6 +33221,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
32197
33221
  configuration,
32198
33222
  )(axios, localVarOperationServerBasePath || basePath);
32199
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
+ },
32200
33245
  /**
32201
33246
  * <br> OperationId: `MetaGetMetrics`
32202
33247
  * @summary Get metrics
@@ -32321,6 +33366,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
32321
33366
  metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
32322
33367
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
32323
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
+ },
32324
33378
  /**
32325
33379
  * <br> OperationId: `MetaGetMetrics`
32326
33380
  * @summary Get metrics
@@ -32389,6 +33443,19 @@ export class MetaApi extends BaseAPI {
32389
33443
  .then((request) => request(this.axios, this.basePath));
32390
33444
  }
32391
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
+
32392
33459
  /**
32393
33460
  * <br> OperationId: `MetaGetMetrics`
32394
33461
  * @summary Get metrics
@@ -34054,7 +35121,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
34054
35121
  };
34055
35122
  },
34056
35123
  /**
34057
- * 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`
34058
35125
  * @summary Bulk assign role
34059
35126
  * @param {string} roleId
34060
35127
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34099,7 +35166,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
34099
35166
  };
34100
35167
  },
34101
35168
  /**
34102
- * 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`
34103
35170
  * @summary Bulk delete
34104
35171
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34105
35172
  * @param {*} [options] Override http request option.
@@ -34483,7 +35550,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
34483
35550
  )(axios, localVarOperationServerBasePath || basePath);
34484
35551
  },
34485
35552
  /**
34486
- * 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`
34487
35554
  * @summary Bulk assign role
34488
35555
  * @param {string} roleId
34489
35556
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34512,7 +35579,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
34512
35579
  )(axios, localVarOperationServerBasePath || basePath);
34513
35580
  },
34514
35581
  /**
34515
- * 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`
34516
35583
  * @summary Bulk delete
34517
35584
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34518
35585
  * @param {*} [options] Override http request option.
@@ -34747,7 +35814,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
34747
35814
  .then((request) => request(axios, basePath));
34748
35815
  },
34749
35816
  /**
34750
- * 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`
34751
35818
  * @summary Bulk assign role
34752
35819
  * @param {string} roleId
34753
35820
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34764,7 +35831,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
34764
35831
  .then((request) => request(axios, basePath));
34765
35832
  },
34766
35833
  /**
34767
- * 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`
34768
35835
  * @summary Bulk delete
34769
35836
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34770
35837
  * @param {*} [options] Override http request option.
@@ -34944,7 +36011,7 @@ export class PlayerApi extends BaseAPI {
34944
36011
  }
34945
36012
 
34946
36013
  /**
34947
- * 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`
34948
36015
  * @summary Bulk assign role
34949
36016
  * @param {string} roleId
34950
36017
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34963,7 +36030,7 @@ export class PlayerApi extends BaseAPI {
34963
36030
  }
34964
36031
 
34965
36032
  /**
34966
- * 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`
34967
36034
  * @summary Bulk delete
34968
36035
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34969
36036
  * @param {*} [options] Override http request option.
@@ -35114,7 +36181,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
35114
36181
  };
35115
36182
  },
35116
36183
  /**
35117
- * 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`
35118
36185
  * @summary Bulk add currency
35119
36186
  * @param {string} gameServerId
35120
36187
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -35533,7 +36600,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
35533
36600
  )(axios, localVarOperationServerBasePath || basePath);
35534
36601
  },
35535
36602
  /**
35536
- * 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`
35537
36604
  * @summary Bulk add currency
35538
36605
  * @param {string} gameServerId
35539
36606
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -35820,7 +36887,7 @@ export const PlayerOnGameServerApiFactory = function (
35820
36887
  .then((request) => request(axios, basePath));
35821
36888
  },
35822
36889
  /**
35823
- * 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`
35824
36891
  * @summary Bulk add currency
35825
36892
  * @param {string} gameServerId
35826
36893
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -36004,7 +37071,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
36004
37071
  }
36005
37072
 
36006
37073
  /**
36007
- * 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`
36008
37075
  * @summary Bulk add currency
36009
37076
  * @param {string} gameServerId
36010
37077
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -38344,7 +39411,7 @@ export class ShopActionApi extends BaseAPI {
38344
39411
  export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
38345
39412
  return {
38346
39413
  /**
38347
- * 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`
38348
39415
  * @summary Bulk assign
38349
39416
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38350
39417
  * @param {*} [options] Override http request option.
@@ -38668,7 +39735,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
38668
39735
  const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
38669
39736
  return {
38670
39737
  /**
38671
- * 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`
38672
39739
  * @summary Bulk assign
38673
39740
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38674
39741
  * @param {*} [options] Override http request option.
@@ -38889,7 +39956,7 @@ export const ShopCategoryApiFactory = function (
38889
39956
  const localVarFp = ShopCategoryApiFp(configuration);
38890
39957
  return {
38891
39958
  /**
38892
- * 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`
38893
39960
  * @summary Bulk assign
38894
39961
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38895
39962
  * @param {*} [options] Override http request option.
@@ -39018,7 +40085,7 @@ export const ShopCategoryApiFactory = function (
39018
40085
  */
39019
40086
  export class ShopCategoryApi extends BaseAPI {
39020
40087
  /**
39021
- * 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`
39022
40089
  * @summary Bulk assign
39023
40090
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
39024
40091
  * @param {*} [options] Override http request option.
@@ -39153,6 +40220,47 @@ export class ShopCategoryApi extends BaseAPI {
39153
40220
  */
39154
40221
  export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
39155
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
+ },
39156
40264
  /**
39157
40265
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39158
40266
  * @summary Create
@@ -39378,6 +40486,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
39378
40486
  export const ShopListingApiFp = function (configuration?: Configuration) {
39379
40487
  const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
39380
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
+ },
39381
40515
  /**
39382
40516
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39383
40517
  * @summary Create
@@ -39540,6 +40674,21 @@ export const ShopListingApiFactory = function (
39540
40674
  ) {
39541
40675
  const localVarFp = ShopListingApiFp(configuration);
39542
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
+ },
39543
40692
  /**
39544
40693
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39545
40694
  * @summary Create
@@ -39626,6 +40775,20 @@ export const ShopListingApiFactory = function (
39626
40775
  * @extends {BaseAPI}
39627
40776
  */
39628
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
+
39629
40792
  /**
39630
40793
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39631
40794
  * @summary Create
@@ -41099,6 +42262,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41099
42262
  */
41100
42263
  userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41101
42264
  const localVarPath = `/user/count`;
42265
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41102
42266
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41103
42267
  let baseOptions;
41104
42268
  if (configuration) {
@@ -41109,8 +42273,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41109
42273
  const localVarHeaderParameter = {} as any;
41110
42274
  const localVarQueryParameter = {} as any;
41111
42275
 
42276
+ // authentication domainAuth required
42277
+
41112
42278
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41113
- const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41114
42280
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
41115
42281
 
41116
42282
  return {
@@ -41223,6 +42389,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41223
42389
  * @summary Invite
41224
42390
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41225
42391
  * @param {*} [options] Override http request option.
42392
+ * @deprecated
41226
42393
  * @throws {RequiredError}
41227
42394
  */
41228
42395
  userControllerInvite: async (
@@ -41717,6 +42884,7 @@ export const UserApiFp = function (configuration?: Configuration) {
41717
42884
  * @summary Invite
41718
42885
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41719
42886
  * @param {*} [options] Override http request option.
42887
+ * @deprecated
41720
42888
  * @throws {RequiredError}
41721
42889
  */
41722
42890
  async userControllerInvite(
@@ -42020,6 +43188,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
42020
43188
  * @summary Invite
42021
43189
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
42022
43190
  * @param {*} [options] Override http request option.
43191
+ * @deprecated
42023
43192
  * @throws {RequiredError}
42024
43193
  */
42025
43194
  userControllerInvite(
@@ -42220,6 +43389,7 @@ export class UserApi extends BaseAPI {
42220
43389
  * @summary Invite
42221
43390
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
42222
43391
  * @param {*} [options] Override http request option.
43392
+ * @deprecated
42223
43393
  * @throws {RequiredError}
42224
43394
  * @memberof UserApi
42225
43395
  */
@@ -42365,6 +43535,47 @@ export class UserApi extends BaseAPI {
42365
43535
  */
42366
43536
  export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
42367
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
+ },
42368
43579
  /**
42369
43580
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42370
43581
  * @summary Create
@@ -42560,6 +43771,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
42560
43771
  export const VariableApiFp = function (configuration?: Configuration) {
42561
43772
  const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
42562
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
+ },
42563
43800
  /**
42564
43801
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42565
43802
  * @summary Create
@@ -42694,6 +43931,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
42694
43931
  export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
42695
43932
  const localVarFp = VariableApiFp(configuration);
42696
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
+ },
42697
43949
  /**
42698
43950
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42699
43951
  * @summary Create
@@ -42771,6 +44023,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
42771
44023
  * @extends {BaseAPI}
42772
44024
  */
42773
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
+
42774
44043
  /**
42775
44044
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42776
44045
  * @summary Create
@@ -42842,474 +44111,3 @@ export class VariableApi extends BaseAPI {
42842
44111
  .then((request) => request(this.axios, this.basePath));
42843
44112
  }
42844
44113
  }
42845
-
42846
- /**
42847
- * InviteLinkApi - axios parameter creator
42848
- * @export
42849
- */
42850
- export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
42851
- return {
42852
- /**
42853
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
42854
- * @summary Create invite link
42855
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
42856
- * @param {*} [options] Override http request option.
42857
- * @throws {RequiredError}
42858
- */
42859
- inviteLinkControllerCreate: async (
42860
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
42861
- options: RawAxiosRequestConfig = {},
42862
- ): Promise<RequestArgs> => {
42863
- const localVarPath = `/invite-link`;
42864
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42865
- let baseOptions;
42866
- if (configuration) {
42867
- baseOptions = configuration.baseOptions;
42868
- }
42869
-
42870
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42871
- const localVarHeaderParameter = {} as any;
42872
- const localVarQueryParameter = {} as any;
42873
-
42874
- // authentication domainAuth required
42875
-
42876
- localVarHeaderParameter['Content-Type'] = 'application/json';
42877
-
42878
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42879
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42880
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42881
- localVarRequestOptions.data = serializeDataIfNeeded(
42882
- inviteLinkCreateInputDTO,
42883
- localVarRequestOptions,
42884
- configuration,
42885
- );
42886
-
42887
- return {
42888
- url: toPathString(localVarUrlObj),
42889
- options: localVarRequestOptions,
42890
- };
42891
- },
42892
- /**
42893
- * <br> OperationId: `InviteLinkControllerPreview`
42894
- * @summary Preview
42895
- * @param {string} token
42896
- * @param {*} [options] Override http request option.
42897
- * @throws {RequiredError}
42898
- */
42899
- inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42900
- assertParamExists('inviteLinkControllerPreview', 'token', token);
42901
- const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
42902
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42903
- let baseOptions;
42904
- if (configuration) {
42905
- baseOptions = configuration.baseOptions;
42906
- }
42907
-
42908
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
42909
- const localVarHeaderParameter = {} as any;
42910
- const localVarQueryParameter = {} as any;
42911
-
42912
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42913
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42914
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42915
-
42916
- return {
42917
- url: toPathString(localVarUrlObj),
42918
- options: localVarRequestOptions,
42919
- };
42920
- },
42921
- /**
42922
- * <br> OperationId: `InviteLinkControllerRedeem`
42923
- * @summary Redeem
42924
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
42925
- * @param {*} [options] Override http request option.
42926
- * @throws {RequiredError}
42927
- */
42928
- inviteLinkControllerRedeem: async (
42929
- redeemInputDTO?: RedeemInputDTO,
42930
- options: RawAxiosRequestConfig = {},
42931
- ): Promise<RequestArgs> => {
42932
- const localVarPath = `/invite-link/redeem`;
42933
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42934
- let baseOptions;
42935
- if (configuration) {
42936
- baseOptions = configuration.baseOptions;
42937
- }
42938
-
42939
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42940
- const localVarHeaderParameter = {} as any;
42941
- const localVarQueryParameter = {} as any;
42942
-
42943
- localVarHeaderParameter['Content-Type'] = 'application/json';
42944
-
42945
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42946
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42947
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42948
- localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
42949
-
42950
- return {
42951
- url: toPathString(localVarUrlObj),
42952
- options: localVarRequestOptions,
42953
- };
42954
- },
42955
- /**
42956
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
42957
- * @summary Revoke
42958
- * @param {string} id
42959
- * @param {*} [options] Override http request option.
42960
- * @throws {RequiredError}
42961
- */
42962
- inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42963
- assertParamExists('inviteLinkControllerRevoke', 'id', id);
42964
- const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
42965
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42966
- let baseOptions;
42967
- if (configuration) {
42968
- baseOptions = configuration.baseOptions;
42969
- }
42970
-
42971
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
42972
- const localVarHeaderParameter = {} as any;
42973
- const localVarQueryParameter = {} as any;
42974
-
42975
- // authentication domainAuth required
42976
-
42977
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42978
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42979
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42980
-
42981
- return {
42982
- url: toPathString(localVarUrlObj),
42983
- options: localVarRequestOptions,
42984
- };
42985
- },
42986
- /**
42987
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
42988
- * @summary Search
42989
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
42990
- * @param {*} [options] Override http request option.
42991
- * @throws {RequiredError}
42992
- */
42993
- inviteLinkControllerSearch: async (
42994
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
42995
- options: RawAxiosRequestConfig = {},
42996
- ): Promise<RequestArgs> => {
42997
- const localVarPath = `/invite-link/search`;
42998
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42999
- let baseOptions;
43000
- if (configuration) {
43001
- baseOptions = configuration.baseOptions;
43002
- }
43003
-
43004
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
43005
- const localVarHeaderParameter = {} as any;
43006
- const localVarQueryParameter = {} as any;
43007
-
43008
- // authentication domainAuth required
43009
-
43010
- localVarHeaderParameter['Content-Type'] = 'application/json';
43011
-
43012
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43013
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43014
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
43015
- localVarRequestOptions.data = serializeDataIfNeeded(
43016
- inviteLinkSearchInputDTO,
43017
- localVarRequestOptions,
43018
- configuration,
43019
- );
43020
-
43021
- return {
43022
- url: toPathString(localVarUrlObj),
43023
- options: localVarRequestOptions,
43024
- };
43025
- },
43026
- };
43027
- };
43028
-
43029
- /**
43030
- * InviteLinkApi - functional programming interface
43031
- * @export
43032
- */
43033
- export const InviteLinkApiFp = function (configuration?: Configuration) {
43034
- const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
43035
- return {
43036
- /**
43037
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43038
- * @summary Create invite link
43039
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43040
- * @param {*} [options] Override http request option.
43041
- * @throws {RequiredError}
43042
- */
43043
- async inviteLinkControllerCreate(
43044
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43045
- options?: RawAxiosRequestConfig,
43046
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
43047
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
43048
- inviteLinkCreateInputDTO,
43049
- options,
43050
- );
43051
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43052
- const localVarOperationServerBasePath =
43053
- operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
43054
- return (axios, basePath) =>
43055
- createRequestFunction(
43056
- localVarAxiosArgs,
43057
- globalAxios,
43058
- BASE_PATH,
43059
- configuration,
43060
- )(axios, localVarOperationServerBasePath || basePath);
43061
- },
43062
- /**
43063
- * <br> OperationId: `InviteLinkControllerPreview`
43064
- * @summary Preview
43065
- * @param {string} token
43066
- * @param {*} [options] Override http request option.
43067
- * @throws {RequiredError}
43068
- */
43069
- async inviteLinkControllerPreview(
43070
- token: string,
43071
- options?: RawAxiosRequestConfig,
43072
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
43073
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
43074
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43075
- const localVarOperationServerBasePath =
43076
- operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
43077
- return (axios, basePath) =>
43078
- createRequestFunction(
43079
- localVarAxiosArgs,
43080
- globalAxios,
43081
- BASE_PATH,
43082
- configuration,
43083
- )(axios, localVarOperationServerBasePath || basePath);
43084
- },
43085
- /**
43086
- * <br> OperationId: `InviteLinkControllerRedeem`
43087
- * @summary Redeem
43088
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43089
- * @param {*} [options] Override http request option.
43090
- * @throws {RequiredError}
43091
- */
43092
- async inviteLinkControllerRedeem(
43093
- redeemInputDTO?: RedeemInputDTO,
43094
- options?: RawAxiosRequestConfig,
43095
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
43096
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
43097
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43098
- const localVarOperationServerBasePath =
43099
- operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
43100
- return (axios, basePath) =>
43101
- createRequestFunction(
43102
- localVarAxiosArgs,
43103
- globalAxios,
43104
- BASE_PATH,
43105
- configuration,
43106
- )(axios, localVarOperationServerBasePath || basePath);
43107
- },
43108
- /**
43109
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43110
- * @summary Revoke
43111
- * @param {string} id
43112
- * @param {*} [options] Override http request option.
43113
- * @throws {RequiredError}
43114
- */
43115
- async inviteLinkControllerRevoke(
43116
- id: string,
43117
- options?: RawAxiosRequestConfig,
43118
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
43119
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
43120
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43121
- const localVarOperationServerBasePath =
43122
- operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
43123
- return (axios, basePath) =>
43124
- createRequestFunction(
43125
- localVarAxiosArgs,
43126
- globalAxios,
43127
- BASE_PATH,
43128
- configuration,
43129
- )(axios, localVarOperationServerBasePath || basePath);
43130
- },
43131
- /**
43132
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43133
- * @summary Search
43134
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43135
- * @param {*} [options] Override http request option.
43136
- * @throws {RequiredError}
43137
- */
43138
- async inviteLinkControllerSearch(
43139
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43140
- options?: RawAxiosRequestConfig,
43141
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
43142
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
43143
- inviteLinkSearchInputDTO,
43144
- options,
43145
- );
43146
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43147
- const localVarOperationServerBasePath =
43148
- operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
43149
- return (axios, basePath) =>
43150
- createRequestFunction(
43151
- localVarAxiosArgs,
43152
- globalAxios,
43153
- BASE_PATH,
43154
- configuration,
43155
- )(axios, localVarOperationServerBasePath || basePath);
43156
- },
43157
- };
43158
- };
43159
-
43160
- /**
43161
- * InviteLinkApi - factory interface
43162
- * @export
43163
- */
43164
- export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
43165
- const localVarFp = InviteLinkApiFp(configuration);
43166
- return {
43167
- /**
43168
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43169
- * @summary Create invite link
43170
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43171
- * @param {*} [options] Override http request option.
43172
- * @throws {RequiredError}
43173
- */
43174
- inviteLinkControllerCreate(
43175
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43176
- options?: RawAxiosRequestConfig,
43177
- ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
43178
- return localVarFp
43179
- .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43180
- .then((request) => request(axios, basePath));
43181
- },
43182
- /**
43183
- * <br> OperationId: `InviteLinkControllerPreview`
43184
- * @summary Preview
43185
- * @param {string} token
43186
- * @param {*} [options] Override http request option.
43187
- * @throws {RequiredError}
43188
- */
43189
- inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
43190
- return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
43191
- },
43192
- /**
43193
- * <br> OperationId: `InviteLinkControllerRedeem`
43194
- * @summary Redeem
43195
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43196
- * @param {*} [options] Override http request option.
43197
- * @throws {RequiredError}
43198
- */
43199
- inviteLinkControllerRedeem(
43200
- redeemInputDTO?: RedeemInputDTO,
43201
- options?: RawAxiosRequestConfig,
43202
- ): AxiosPromise<UserOutputWithRolesDTOAPI> {
43203
- return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
43204
- },
43205
- /**
43206
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43207
- * @summary Revoke
43208
- * @param {string} id
43209
- * @param {*} [options] Override http request option.
43210
- * @throws {RequiredError}
43211
- */
43212
- inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
43213
- return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
43214
- },
43215
- /**
43216
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43217
- * @summary Search
43218
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43219
- * @param {*} [options] Override http request option.
43220
- * @throws {RequiredError}
43221
- */
43222
- inviteLinkControllerSearch(
43223
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43224
- options?: RawAxiosRequestConfig,
43225
- ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
43226
- return localVarFp
43227
- .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43228
- .then((request) => request(axios, basePath));
43229
- },
43230
- };
43231
- };
43232
-
43233
- /**
43234
- * InviteLinkApi - object-oriented interface
43235
- * @export
43236
- * @class InviteLinkApi
43237
- * @extends {BaseAPI}
43238
- */
43239
- export class InviteLinkApi extends BaseAPI {
43240
- /**
43241
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43242
- * @summary Create invite link
43243
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43244
- * @param {*} [options] Override http request option.
43245
- * @throws {RequiredError}
43246
- * @memberof InviteLinkApi
43247
- */
43248
- public inviteLinkControllerCreate(
43249
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43250
- options?: RawAxiosRequestConfig,
43251
- ) {
43252
- return InviteLinkApiFp(this.configuration)
43253
- .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43254
- .then((request) => request(this.axios, this.basePath));
43255
- }
43256
-
43257
- /**
43258
- * <br> OperationId: `InviteLinkControllerPreview`
43259
- * @summary Preview
43260
- * @param {string} token
43261
- * @param {*} [options] Override http request option.
43262
- * @throws {RequiredError}
43263
- * @memberof InviteLinkApi
43264
- */
43265
- public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
43266
- return InviteLinkApiFp(this.configuration)
43267
- .inviteLinkControllerPreview(token, options)
43268
- .then((request) => request(this.axios, this.basePath));
43269
- }
43270
-
43271
- /**
43272
- * <br> OperationId: `InviteLinkControllerRedeem`
43273
- * @summary Redeem
43274
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43275
- * @param {*} [options] Override http request option.
43276
- * @throws {RequiredError}
43277
- * @memberof InviteLinkApi
43278
- */
43279
- public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
43280
- return InviteLinkApiFp(this.configuration)
43281
- .inviteLinkControllerRedeem(redeemInputDTO, options)
43282
- .then((request) => request(this.axios, this.basePath));
43283
- }
43284
-
43285
- /**
43286
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43287
- * @summary Revoke
43288
- * @param {string} id
43289
- * @param {*} [options] Override http request option.
43290
- * @throws {RequiredError}
43291
- * @memberof InviteLinkApi
43292
- */
43293
- public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
43294
- return InviteLinkApiFp(this.configuration)
43295
- .inviteLinkControllerRevoke(id, options)
43296
- .then((request) => request(this.axios, this.basePath));
43297
- }
43298
-
43299
- /**
43300
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43301
- * @summary Search
43302
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43303
- * @param {*} [options] Override http request option.
43304
- * @throws {RequiredError}
43305
- * @memberof InviteLinkApi
43306
- */
43307
- public inviteLinkControllerSearch(
43308
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43309
- options?: RawAxiosRequestConfig,
43310
- ) {
43311
- return InviteLinkApiFp(this.configuration)
43312
- .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43313
- .then((request) => request(this.axios, this.basePath));
43314
- }
43315
- }