@takaro/apiclient 0.0.0-dev.401d3e5 → 0.0.0-dev.4046cbc

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,6 +7027,462 @@ export interface InviteCreateDTO {
6886
7027
  */
6887
7028
  email: string;
6888
7029
  }
7030
+ /**
7031
+ *
7032
+ * @export
7033
+ * @interface InviteLinkCreateInputDTO
7034
+ */
7035
+ export interface InviteLinkCreateInputDTO {
7036
+ /**
7037
+ *
7038
+ * @type {Array<string>}
7039
+ * @memberof InviteLinkCreateInputDTO
7040
+ */
7041
+ roleIds?: Array<string>;
7042
+ /**
7043
+ *
7044
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7045
+ * @memberof InviteLinkCreateInputDTO
7046
+ */
7047
+ expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7048
+ /**
7049
+ *
7050
+ * @type {number}
7051
+ * @memberof InviteLinkCreateInputDTO
7052
+ */
7053
+ maxUses?: number;
7054
+ }
7055
+ /**
7056
+ *
7057
+ * @export
7058
+ * @interface InviteLinkCreateResultDTO
7059
+ */
7060
+ export interface InviteLinkCreateResultDTO {
7061
+ /**
7062
+ *
7063
+ * @type {string}
7064
+ * @memberof InviteLinkCreateResultDTO
7065
+ */
7066
+ inviteUrl: string;
7067
+ /**
7068
+ *
7069
+ * @type {string}
7070
+ * @memberof InviteLinkCreateResultDTO
7071
+ */
7072
+ token: string;
7073
+ /**
7074
+ *
7075
+ * @type {string}
7076
+ * @memberof InviteLinkCreateResultDTO
7077
+ */
7078
+ id: string;
7079
+ /**
7080
+ *
7081
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7082
+ * @memberof InviteLinkCreateResultDTO
7083
+ */
7084
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7085
+ /**
7086
+ *
7087
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7088
+ * @memberof InviteLinkCreateResultDTO
7089
+ */
7090
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7091
+ /**
7092
+ *
7093
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7094
+ * @memberof InviteLinkCreateResultDTO
7095
+ */
7096
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7097
+ /**
7098
+ *
7099
+ * @type {number}
7100
+ * @memberof InviteLinkCreateResultDTO
7101
+ */
7102
+ maxUses?: number;
7103
+ /**
7104
+ *
7105
+ * @type {number}
7106
+ * @memberof InviteLinkCreateResultDTO
7107
+ */
7108
+ uses: number;
7109
+ /**
7110
+ *
7111
+ * @type {number}
7112
+ * @memberof InviteLinkCreateResultDTO
7113
+ */
7114
+ remaining?: number;
7115
+ /**
7116
+ *
7117
+ * @type {string}
7118
+ * @memberof InviteLinkCreateResultDTO
7119
+ */
7120
+ status: InviteLinkCreateResultDTOStatusEnum;
7121
+ /**
7122
+ *
7123
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7124
+ * @memberof InviteLinkCreateResultDTO
7125
+ */
7126
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7127
+ /**
7128
+ *
7129
+ * @type {string}
7130
+ * @memberof InviteLinkCreateResultDTO
7131
+ */
7132
+ createdBy?: string;
7133
+ /**
7134
+ *
7135
+ * @type {Array<InviteLinkRoleDTO>}
7136
+ * @memberof InviteLinkCreateResultDTO
7137
+ */
7138
+ roles: Array<InviteLinkRoleDTO>;
7139
+ }
7140
+
7141
+ export const InviteLinkCreateResultDTOStatusEnum = {
7142
+ Active: 'ACTIVE',
7143
+ Revoked: 'REVOKED',
7144
+ Expired: 'EXPIRED',
7145
+ Depleted: 'DEPLETED',
7146
+ } as const;
7147
+
7148
+ export type InviteLinkCreateResultDTOStatusEnum =
7149
+ (typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
7150
+
7151
+ /**
7152
+ *
7153
+ * @export
7154
+ * @interface InviteLinkCreateResultDTOAPI
7155
+ */
7156
+ export interface InviteLinkCreateResultDTOAPI {
7157
+ /**
7158
+ *
7159
+ * @type {InviteLinkCreateResultDTO}
7160
+ * @memberof InviteLinkCreateResultDTOAPI
7161
+ */
7162
+ data: InviteLinkCreateResultDTO;
7163
+ /**
7164
+ *
7165
+ * @type {MetadataOutput}
7166
+ * @memberof InviteLinkCreateResultDTOAPI
7167
+ */
7168
+ meta: MetadataOutput;
7169
+ }
7170
+ /**
7171
+ *
7172
+ * @export
7173
+ * @interface InviteLinkOutputArrayDTOAPI
7174
+ */
7175
+ export interface InviteLinkOutputArrayDTOAPI {
7176
+ /**
7177
+ *
7178
+ * @type {Array<InviteLinkOutputDTO>}
7179
+ * @memberof InviteLinkOutputArrayDTOAPI
7180
+ */
7181
+ data: Array<InviteLinkOutputDTO>;
7182
+ /**
7183
+ *
7184
+ * @type {MetadataOutput}
7185
+ * @memberof InviteLinkOutputArrayDTOAPI
7186
+ */
7187
+ meta: MetadataOutput;
7188
+ }
7189
+ /**
7190
+ *
7191
+ * @export
7192
+ * @interface InviteLinkOutputDTO
7193
+ */
7194
+ export interface InviteLinkOutputDTO {
7195
+ /**
7196
+ *
7197
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7198
+ * @memberof InviteLinkOutputDTO
7199
+ */
7200
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7201
+ /**
7202
+ *
7203
+ * @type {number}
7204
+ * @memberof InviteLinkOutputDTO
7205
+ */
7206
+ maxUses?: number;
7207
+ /**
7208
+ *
7209
+ * @type {number}
7210
+ * @memberof InviteLinkOutputDTO
7211
+ */
7212
+ uses: number;
7213
+ /**
7214
+ *
7215
+ * @type {number}
7216
+ * @memberof InviteLinkOutputDTO
7217
+ */
7218
+ remaining?: number;
7219
+ /**
7220
+ *
7221
+ * @type {string}
7222
+ * @memberof InviteLinkOutputDTO
7223
+ */
7224
+ status: InviteLinkOutputDTOStatusEnum;
7225
+ /**
7226
+ *
7227
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7228
+ * @memberof InviteLinkOutputDTO
7229
+ */
7230
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7231
+ /**
7232
+ *
7233
+ * @type {string}
7234
+ * @memberof InviteLinkOutputDTO
7235
+ */
7236
+ createdBy?: string;
7237
+ /**
7238
+ *
7239
+ * @type {Array<InviteLinkRoleDTO>}
7240
+ * @memberof InviteLinkOutputDTO
7241
+ */
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;
7261
+ }
7262
+
7263
+ export const InviteLinkOutputDTOStatusEnum = {
7264
+ Active: 'ACTIVE',
7265
+ Revoked: 'REVOKED',
7266
+ Expired: 'EXPIRED',
7267
+ Depleted: 'DEPLETED',
7268
+ } as const;
7269
+
7270
+ export type InviteLinkOutputDTOStatusEnum =
7271
+ (typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
7272
+
7273
+ /**
7274
+ *
7275
+ * @export
7276
+ * @interface InviteLinkOutputDTOAPI
7277
+ */
7278
+ export interface InviteLinkOutputDTOAPI {
7279
+ /**
7280
+ *
7281
+ * @type {InviteLinkOutputDTO}
7282
+ * @memberof InviteLinkOutputDTOAPI
7283
+ */
7284
+ data: InviteLinkOutputDTO;
7285
+ /**
7286
+ *
7287
+ * @type {MetadataOutput}
7288
+ * @memberof InviteLinkOutputDTOAPI
7289
+ */
7290
+ meta: MetadataOutput;
7291
+ }
7292
+ /**
7293
+ *
7294
+ * @export
7295
+ * @interface InviteLinkPreviewDTO
7296
+ */
7297
+ export interface InviteLinkPreviewDTO {
7298
+ /**
7299
+ *
7300
+ * @type {InviteLinkPreviewDomainDTO}
7301
+ * @memberof InviteLinkPreviewDTO
7302
+ */
7303
+ domain: InviteLinkPreviewDomainDTO;
7304
+ /**
7305
+ *
7306
+ * @type {Array<InviteLinkPreviewRoleDTO>}
7307
+ * @memberof InviteLinkPreviewDTO
7308
+ */
7309
+ roles: Array<InviteLinkPreviewRoleDTO>;
7310
+ /**
7311
+ *
7312
+ * @type {string}
7313
+ * @memberof InviteLinkPreviewDTO
7314
+ */
7315
+ status: InviteLinkPreviewDTOStatusEnum;
7316
+ /**
7317
+ *
7318
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7319
+ * @memberof InviteLinkPreviewDTO
7320
+ */
7321
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7322
+ /**
7323
+ *
7324
+ * @type {number}
7325
+ * @memberof InviteLinkPreviewDTO
7326
+ */
7327
+ remaining?: number;
7328
+ }
7329
+
7330
+ export const InviteLinkPreviewDTOStatusEnum = {
7331
+ Active: 'ACTIVE',
7332
+ Revoked: 'REVOKED',
7333
+ Expired: 'EXPIRED',
7334
+ Depleted: 'DEPLETED',
7335
+ } as const;
7336
+
7337
+ export type InviteLinkPreviewDTOStatusEnum =
7338
+ (typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
7339
+
7340
+ /**
7341
+ *
7342
+ * @export
7343
+ * @interface InviteLinkPreviewDTOAPI
7344
+ */
7345
+ export interface InviteLinkPreviewDTOAPI {
7346
+ /**
7347
+ *
7348
+ * @type {InviteLinkPreviewDTO}
7349
+ * @memberof InviteLinkPreviewDTOAPI
7350
+ */
7351
+ data: InviteLinkPreviewDTO;
7352
+ /**
7353
+ *
7354
+ * @type {MetadataOutput}
7355
+ * @memberof InviteLinkPreviewDTOAPI
7356
+ */
7357
+ meta: MetadataOutput;
7358
+ }
7359
+ /**
7360
+ *
7361
+ * @export
7362
+ * @interface InviteLinkPreviewDomainDTO
7363
+ */
7364
+ export interface InviteLinkPreviewDomainDTO {
7365
+ /**
7366
+ *
7367
+ * @type {string}
7368
+ * @memberof InviteLinkPreviewDomainDTO
7369
+ */
7370
+ id: string;
7371
+ /**
7372
+ *
7373
+ * @type {string}
7374
+ * @memberof InviteLinkPreviewDomainDTO
7375
+ */
7376
+ name: string;
7377
+ }
7378
+ /**
7379
+ *
7380
+ * @export
7381
+ * @interface InviteLinkPreviewRoleDTO
7382
+ */
7383
+ export interface InviteLinkPreviewRoleDTO {
7384
+ /**
7385
+ *
7386
+ * @type {string}
7387
+ * @memberof InviteLinkPreviewRoleDTO
7388
+ */
7389
+ id: string;
7390
+ /**
7391
+ *
7392
+ * @type {string}
7393
+ * @memberof InviteLinkPreviewRoleDTO
7394
+ */
7395
+ name: string;
7396
+ }
7397
+ /**
7398
+ *
7399
+ * @export
7400
+ * @interface InviteLinkRoleDTO
7401
+ */
7402
+ export interface InviteLinkRoleDTO {
7403
+ /**
7404
+ *
7405
+ * @type {string}
7406
+ * @memberof InviteLinkRoleDTO
7407
+ */
7408
+ roleId: string;
7409
+ /**
7410
+ *
7411
+ * @type {string}
7412
+ * @memberof InviteLinkRoleDTO
7413
+ */
7414
+ name: string;
7415
+ }
7416
+ /**
7417
+ *
7418
+ * @export
7419
+ * @interface InviteLinkSearchInputDTO
7420
+ */
7421
+ export interface InviteLinkSearchInputDTO {
7422
+ /**
7423
+ *
7424
+ * @type {string}
7425
+ * @memberof InviteLinkSearchInputDTO
7426
+ */
7427
+ sortBy?: string;
7428
+ /**
7429
+ *
7430
+ * @type {any}
7431
+ * @memberof InviteLinkSearchInputDTO
7432
+ */
7433
+ filters?: any;
7434
+ /**
7435
+ *
7436
+ * @type {any}
7437
+ * @memberof InviteLinkSearchInputDTO
7438
+ */
7439
+ search?: any;
7440
+ /**
7441
+ *
7442
+ * @type {any}
7443
+ * @memberof InviteLinkSearchInputDTO
7444
+ */
7445
+ greaterThan?: any;
7446
+ /**
7447
+ *
7448
+ * @type {any}
7449
+ * @memberof InviteLinkSearchInputDTO
7450
+ */
7451
+ lessThan?: any;
7452
+ /**
7453
+ *
7454
+ * @type {number}
7455
+ * @memberof InviteLinkSearchInputDTO
7456
+ */
7457
+ page?: number;
7458
+ /**
7459
+ *
7460
+ * @type {number}
7461
+ * @memberof InviteLinkSearchInputDTO
7462
+ */
7463
+ limit?: number;
7464
+ /**
7465
+ *
7466
+ * @type {string}
7467
+ * @memberof InviteLinkSearchInputDTO
7468
+ */
7469
+ sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
7470
+ /**
7471
+ *
7472
+ * @type {Array<string>}
7473
+ * @memberof InviteLinkSearchInputDTO
7474
+ */
7475
+ extend?: Array<string>;
7476
+ }
7477
+
7478
+ export const InviteLinkSearchInputDTOSortDirectionEnum = {
7479
+ Asc: 'asc',
7480
+ Desc: 'desc',
7481
+ } as const;
7482
+
7483
+ export type InviteLinkSearchInputDTOSortDirectionEnum =
7484
+ (typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
7485
+
6889
7486
  /**
6890
7487
  *
6891
7488
  * @export
@@ -7811,7 +8408,7 @@ export interface MetadataOutput {
7811
8408
  * @type {ErrorOutput}
7812
8409
  * @memberof MetadataOutput
7813
8410
  */
7814
- error: ErrorOutput;
8411
+ error?: ErrorOutput;
7815
8412
  /**
7816
8413
  *
7817
8414
  * @type {number}
@@ -9930,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
9930
10527
  * @type {Array<string>}
9931
10528
  * @memberof PlayerBulkAssignRoleInputDTO
9932
10529
  */
9933
- playerIds: Array<string>;
10530
+ playerIds?: Array<string>;
10531
+ /**
10532
+ *
10533
+ * @type {PlayerSearchInputDTO}
10534
+ * @memberof PlayerBulkAssignRoleInputDTO
10535
+ */
10536
+ query?: PlayerSearchInputDTO;
9934
10537
  /**
9935
10538
  *
9936
10539
  * @type {string}
@@ -9943,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
9943
10546
  * @memberof PlayerBulkAssignRoleInputDTO
9944
10547
  */
9945
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>;
9946
10561
  }
9947
10562
  /**
9948
10563
  *
@@ -10018,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
10018
10633
  * @type {Array<string>}
10019
10634
  * @memberof PlayerBulkDeleteInputDTO
10020
10635
  */
10021
- 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>;
10022
10655
  }
10023
10656
  /**
10024
10657
  *
@@ -10590,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
10590
11223
  * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
10591
11224
  */
10592
11225
  playtimeSeconds?: number;
11226
+ /**
11227
+ *
11228
+ * @type {number}
11229
+ * @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
11230
+ */
11231
+ currency?: number;
10593
11232
  /**
10594
11233
  *
10595
11234
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -11517,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
11517
12156
  * @memberof PlayerSearchInputAllowedFilters
11518
12157
  */
11519
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>;
11520
12177
  /**
11521
12178
  *
11522
12179
  * @type {Array<string>}
@@ -11524,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
11524
12181
  */
11525
12182
  id?: Array<string>;
11526
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
+
11527
12193
  /**
11528
12194
  *
11529
12195
  * @export
@@ -11775,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
11775
12441
  * @type {Array<string>}
11776
12442
  * @memberof PogBulkAddCurrencyInputDTO
11777
12443
  */
11778
- playerIds: Array<string>;
12444
+ playerIds?: Array<string>;
12445
+ /**
12446
+ *
12447
+ * @type {PlayerOnGameServerSearchInputDTO}
12448
+ * @memberof PogBulkAddCurrencyInputDTO
12449
+ */
12450
+ query?: PlayerOnGameServerSearchInputDTO;
11779
12451
  /**
11780
12452
  *
11781
12453
  * @type {number}
11782
12454
  * @memberof PogBulkAddCurrencyInputDTO
11783
12455
  */
11784
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>;
11785
12469
  }
11786
12470
  /**
11787
12471
  *
@@ -12079,6 +12763,19 @@ export const RecentOrderDTOStatusEnum = {
12079
12763
 
12080
12764
  export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
12081
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
+ }
12082
12779
  /**
12083
12780
  *
12084
12781
  * @export
@@ -12090,7 +12787,7 @@ export interface RedirectQs {
12090
12787
  * @type {string}
12091
12788
  * @memberof RedirectQs
12092
12789
  */
12093
- redirect: string;
12790
+ redirect?: string;
12094
12791
  }
12095
12792
  /**
12096
12793
  *
@@ -12891,7 +13588,7 @@ export interface RoleUpdateInputDTO {
12891
13588
  * @type {string}
12892
13589
  * @memberof RoleUpdateInputDTO
12893
13590
  */
12894
- linkedDiscordRoleId?: string;
13591
+ linkedDiscordRoleId?: string | null;
12895
13592
  }
12896
13593
  /**
12897
13594
  *
@@ -13632,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
13632
14329
  * @type {Array<string>}
13633
14330
  * @memberof ShopCategoryBulkAssignDTO
13634
14331
  */
13635
- listingIds: Array<string>;
14332
+ listingIds?: Array<string>;
14333
+ /**
14334
+ *
14335
+ * @type {ShopListingSearchInputDTO}
14336
+ * @memberof ShopCategoryBulkAssignDTO
14337
+ */
14338
+ query?: ShopListingSearchInputDTO;
13636
14339
  /**
13637
14340
  *
13638
14341
  * @type {Array<string>}
@@ -13645,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
13645
14348
  * @memberof ShopCategoryBulkAssignDTO
13646
14349
  */
13647
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>;
13648
14363
  }
13649
14364
  /**
13650
14365
  *
@@ -14097,6 +14812,25 @@ export interface ShopDeadStockItemDTO {
14097
14812
  */
14098
14813
  daysSinceLastSale?: number;
14099
14814
  }
14815
+ /**
14816
+ *
14817
+ * @export
14818
+ * @interface ShopImportFailureDTO
14819
+ */
14820
+ export interface ShopImportFailureDTO {
14821
+ /**
14822
+ *
14823
+ * @type {string}
14824
+ * @memberof ShopImportFailureDTO
14825
+ */
14826
+ name: string;
14827
+ /**
14828
+ *
14829
+ * @type {string}
14830
+ * @memberof ShopImportFailureDTO
14831
+ */
14832
+ reason: string;
14833
+ }
14100
14834
  /**
14101
14835
  *
14102
14836
  * @export
@@ -14122,6 +14856,44 @@ export interface ShopImportOptions {
14122
14856
  */
14123
14857
  gameServerId: string;
14124
14858
  }
14859
+ /**
14860
+ *
14861
+ * @export
14862
+ * @interface ShopImportResultDTO
14863
+ */
14864
+ export interface ShopImportResultDTO {
14865
+ /**
14866
+ *
14867
+ * @type {number}
14868
+ * @memberof ShopImportResultDTO
14869
+ */
14870
+ imported: number;
14871
+ /**
14872
+ *
14873
+ * @type {Array<ShopImportFailureDTO>}
14874
+ * @memberof ShopImportResultDTO
14875
+ */
14876
+ failed: Array<ShopImportFailureDTO>;
14877
+ }
14878
+ /**
14879
+ *
14880
+ * @export
14881
+ * @interface ShopImportResultDTOAPI
14882
+ */
14883
+ export interface ShopImportResultDTOAPI {
14884
+ /**
14885
+ *
14886
+ * @type {ShopImportResultDTO}
14887
+ * @memberof ShopImportResultDTOAPI
14888
+ */
14889
+ data: ShopImportResultDTO;
14890
+ /**
14891
+ *
14892
+ * @type {MetadataOutput}
14893
+ * @memberof ShopImportResultDTOAPI
14894
+ */
14895
+ meta: MetadataOutput;
14896
+ }
14125
14897
  /**
14126
14898
  *
14127
14899
  * @export
@@ -14202,6 +14974,60 @@ export interface ShopKpisDTOAPI {
14202
14974
  */
14203
14975
  meta: MetadataOutput;
14204
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
+ }
14205
15031
  /**
14206
15032
  *
14207
15033
  * @export
@@ -14250,6 +15076,12 @@ export interface ShopListingCreateDTO {
14250
15076
  * @memberof ShopListingCreateDTO
14251
15077
  */
14252
15078
  categoryIds?: Array<string>;
15079
+ /**
15080
+ *
15081
+ * @type {Array<string>}
15082
+ * @memberof ShopListingCreateDTO
15083
+ */
15084
+ roleIds?: Array<string>;
14253
15085
  /**
14254
15086
  *
14255
15087
  * @type {number}
@@ -14416,6 +15248,12 @@ export interface ShopListingOutputDTO {
14416
15248
  * @memberof ShopListingOutputDTO
14417
15249
  */
14418
15250
  categories?: Array<ShopCategoryOutputDTO>;
15251
+ /**
15252
+ *
15253
+ * @type {Array<ShopListingRoleOutputDTO>}
15254
+ * @memberof ShopListingOutputDTO
15255
+ */
15256
+ roles?: Array<ShopListingRoleOutputDTO>;
14419
15257
  /**
14420
15258
  *
14421
15259
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -14448,6 +15286,37 @@ export interface ShopListingOutputDTOAPI {
14448
15286
  */
14449
15287
  meta: MetadataOutput;
14450
15288
  }
15289
+ /**
15290
+ *
15291
+ * @export
15292
+ * @interface ShopListingRoleOutputDTO
15293
+ */
15294
+ export interface ShopListingRoleOutputDTO {
15295
+ /**
15296
+ *
15297
+ * @type {string}
15298
+ * @memberof ShopListingRoleOutputDTO
15299
+ */
15300
+ id: string;
15301
+ /**
15302
+ *
15303
+ * @type {string}
15304
+ * @memberof ShopListingRoleOutputDTO
15305
+ */
15306
+ name: string;
15307
+ /**
15308
+ *
15309
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15310
+ * @memberof ShopListingRoleOutputDTO
15311
+ */
15312
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15313
+ /**
15314
+ *
15315
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15316
+ * @memberof ShopListingRoleOutputDTO
15317
+ */
15318
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15319
+ }
14451
15320
  /**
14452
15321
  *
14453
15322
  * @export
@@ -14496,6 +15365,12 @@ export interface ShopListingSearchInputAllowedFilters {
14496
15365
  * @memberof ShopListingSearchInputAllowedFilters
14497
15366
  */
14498
15367
  uncategorized?: boolean;
15368
+ /**
15369
+ *
15370
+ * @type {Array<string>}
15371
+ * @memberof ShopListingSearchInputAllowedFilters
15372
+ */
15373
+ visibleToRoleIds?: Array<string>;
14499
15374
  }
14500
15375
  /**
14501
15376
  *
@@ -14642,6 +15517,12 @@ export interface ShopListingUpdateDTO {
14642
15517
  * @memberof ShopListingUpdateDTO
14643
15518
  */
14644
15519
  categoryIds?: Array<string>;
15520
+ /**
15521
+ *
15522
+ * @type {Array<string>}
15523
+ * @memberof ShopListingUpdateDTO
15524
+ */
15525
+ roleIds?: Array<string>;
14645
15526
  }
14646
15527
  /**
14647
15528
  *
@@ -15389,6 +16270,38 @@ export interface StorefrontConfigUpsertDTO {
15389
16270
  */
15390
16271
  values: object;
15391
16272
  }
16273
+ /**
16274
+ *
16275
+ * @export
16276
+ * @interface StorefrontPreviewDTO
16277
+ */
16278
+ export interface StorefrontPreviewDTO {
16279
+ /**
16280
+ *
16281
+ * @type {string}
16282
+ * @memberof StorefrontPreviewDTO
16283
+ */
16284
+ html: string;
16285
+ }
16286
+ /**
16287
+ *
16288
+ * @export
16289
+ * @interface StorefrontPreviewOutputDTOAPI
16290
+ */
16291
+ export interface StorefrontPreviewOutputDTOAPI {
16292
+ /**
16293
+ *
16294
+ * @type {StorefrontPreviewDTO}
16295
+ * @memberof StorefrontPreviewOutputDTOAPI
16296
+ */
16297
+ data: StorefrontPreviewDTO;
16298
+ /**
16299
+ *
16300
+ * @type {MetadataOutput}
16301
+ * @memberof StorefrontPreviewOutputDTOAPI
16302
+ */
16303
+ meta: MetadataOutput;
16304
+ }
15392
16305
  /**
15393
16306
  *
15394
16307
  * @export
@@ -15754,6 +16667,49 @@ export interface TakaroEventHookExecuted {
15754
16667
  */
15755
16668
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15756
16669
  }
16670
+ /**
16671
+ *
16672
+ * @export
16673
+ * @interface TakaroEventInviteLinkCreated
16674
+ */
16675
+ export interface TakaroEventInviteLinkCreated {
16676
+ /**
16677
+ *
16678
+ * @type {string}
16679
+ * @memberof TakaroEventInviteLinkCreated
16680
+ */
16681
+ inviteLinkId: string;
16682
+ /**
16683
+ *
16684
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16685
+ * @memberof TakaroEventInviteLinkCreated
16686
+ */
16687
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16688
+ /**
16689
+ *
16690
+ * @type {number}
16691
+ * @memberof TakaroEventInviteLinkCreated
16692
+ */
16693
+ maxUses: number;
16694
+ /**
16695
+ *
16696
+ * @type {Array<string>}
16697
+ * @memberof TakaroEventInviteLinkCreated
16698
+ */
16699
+ roleIds: Array<string>;
16700
+ /**
16701
+ *
16702
+ * @type {boolean}
16703
+ * @memberof TakaroEventInviteLinkCreated
16704
+ */
16705
+ staffOrigin: boolean;
16706
+ /**
16707
+ *
16708
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16709
+ * @memberof TakaroEventInviteLinkCreated
16710
+ */
16711
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16712
+ }
15757
16713
  /**
15758
16714
  *
15759
16715
  * @export
@@ -17043,6 +17999,38 @@ export interface UserAssignmentOutputDTO {
17043
17999
  */
17044
18000
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17045
18001
  }
18002
+ /**
18003
+ *
18004
+ * @export
18005
+ * @interface UserCountOutputDTO
18006
+ */
18007
+ export interface UserCountOutputDTO {
18008
+ /**
18009
+ *
18010
+ * @type {number}
18011
+ * @memberof UserCountOutputDTO
18012
+ */
18013
+ count: number;
18014
+ }
18015
+ /**
18016
+ *
18017
+ * @export
18018
+ * @interface UserCountOutputDTOAPI
18019
+ */
18020
+ export interface UserCountOutputDTOAPI {
18021
+ /**
18022
+ *
18023
+ * @type {UserCountOutputDTO}
18024
+ * @memberof UserCountOutputDTOAPI
18025
+ */
18026
+ data: UserCountOutputDTO;
18027
+ /**
18028
+ *
18029
+ * @type {MetadataOutput}
18030
+ * @memberof UserCountOutputDTOAPI
18031
+ */
18032
+ meta: MetadataOutput;
18033
+ }
17046
18034
  /**
17047
18035
  *
17048
18036
  * @export
@@ -17080,6 +18068,37 @@ export interface UserCreateInputDTO {
17080
18068
  */
17081
18069
  isDashboardUser?: boolean;
17082
18070
  }
18071
+ /**
18072
+ *
18073
+ * @export
18074
+ * @interface UserCreateInviteDTO
18075
+ */
18076
+ export interface UserCreateInviteDTO {
18077
+ /**
18078
+ *
18079
+ * @type {string}
18080
+ * @memberof UserCreateInviteDTO
18081
+ */
18082
+ name: string;
18083
+ /**
18084
+ *
18085
+ * @type {string}
18086
+ * @memberof UserCreateInviteDTO
18087
+ */
18088
+ email: string;
18089
+ /**
18090
+ *
18091
+ * @type {string}
18092
+ * @memberof UserCreateInviteDTO
18093
+ */
18094
+ idpId?: string;
18095
+ /**
18096
+ *
18097
+ * @type {boolean}
18098
+ * @memberof UserCreateInviteDTO
18099
+ */
18100
+ isDashboardUser?: boolean;
18101
+ }
17083
18102
  /**
17084
18103
  *
17085
18104
  * @export
@@ -17183,13 +18202,25 @@ export interface UserOutputDTO {
17183
18202
  * @type {PlayerOutputWithRolesDTO}
17184
18203
  * @memberof UserOutputDTO
17185
18204
  */
17186
- player: PlayerOutputWithRolesDTO;
18205
+ player?: PlayerOutputWithRolesDTO;
17187
18206
  /**
17188
18207
  *
17189
18208
  * @type {boolean}
17190
18209
  * @memberof UserOutputDTO
17191
18210
  */
17192
18211
  isDashboardUser: boolean;
18212
+ /**
18213
+ *
18214
+ * @type {boolean}
18215
+ * @memberof UserOutputDTO
18216
+ */
18217
+ isSupportAccount: boolean;
18218
+ /**
18219
+ *
18220
+ * @type {string}
18221
+ * @memberof UserOutputDTO
18222
+ */
18223
+ inviteLinkId?: string;
17193
18224
  /**
17194
18225
  *
17195
18226
  * @type {string}
@@ -17299,13 +18330,44 @@ export interface UserOutputWithRolesDTO {
17299
18330
  * @type {PlayerOutputWithRolesDTO}
17300
18331
  * @memberof UserOutputWithRolesDTO
17301
18332
  */
17302
- player: PlayerOutputWithRolesDTO;
18333
+ player?: PlayerOutputWithRolesDTO;
17303
18334
  /**
17304
18335
  *
17305
18336
  * @type {boolean}
17306
18337
  * @memberof UserOutputWithRolesDTO
17307
18338
  */
17308
18339
  isDashboardUser: boolean;
18340
+ /**
18341
+ *
18342
+ * @type {boolean}
18343
+ * @memberof UserOutputWithRolesDTO
18344
+ */
18345
+ isSupportAccount: boolean;
18346
+ /**
18347
+ *
18348
+ * @type {string}
18349
+ * @memberof UserOutputWithRolesDTO
18350
+ */
18351
+ inviteLinkId?: string;
18352
+ }
18353
+ /**
18354
+ *
18355
+ * @export
18356
+ * @interface UserOutputWithRolesDTOAPI
18357
+ */
18358
+ export interface UserOutputWithRolesDTOAPI {
18359
+ /**
18360
+ *
18361
+ * @type {UserOutputWithRolesDTO}
18362
+ * @memberof UserOutputWithRolesDTOAPI
18363
+ */
18364
+ data: UserOutputWithRolesDTO;
18365
+ /**
18366
+ *
18367
+ * @type {MetadataOutput}
18368
+ * @memberof UserOutputWithRolesDTOAPI
18369
+ */
18370
+ meta: MetadataOutput;
17309
18371
  }
17310
18372
  /**
17311
18373
  *
@@ -17521,6 +18583,31 @@ export interface UserUpdateDTO {
17521
18583
  */
17522
18584
  isDashboardUser?: boolean;
17523
18585
  }
18586
+ /**
18587
+ *
18588
+ * @export
18589
+ * @interface VariableBulkDeleteInputDTO
18590
+ */
18591
+ export interface VariableBulkDeleteInputDTO {
18592
+ /**
18593
+ *
18594
+ * @type {VariableSearchInputDTO}
18595
+ * @memberof VariableBulkDeleteInputDTO
18596
+ */
18597
+ query?: VariableSearchInputDTO;
18598
+ /**
18599
+ *
18600
+ * @type {Array<string>}
18601
+ * @memberof VariableBulkDeleteInputDTO
18602
+ */
18603
+ ids?: Array<string>;
18604
+ /**
18605
+ *
18606
+ * @type {Array<string>}
18607
+ * @memberof VariableBulkDeleteInputDTO
18608
+ */
18609
+ excludedIds?: Array<string>;
18610
+ }
17524
18611
  /**
17525
18612
  *
17526
18613
  * @export
@@ -17730,6 +18817,12 @@ export interface VariableSearchInputAllowedSearch {
17730
18817
  * @memberof VariableSearchInputAllowedSearch
17731
18818
  */
17732
18819
  key?: Array<string>;
18820
+ /**
18821
+ *
18822
+ * @type {Array<string>}
18823
+ * @memberof VariableSearchInputAllowedSearch
18824
+ */
18825
+ value?: Array<string>;
17733
18826
  }
17734
18827
  /**
17735
18828
  *
@@ -18512,7 +19605,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18512
19605
  };
18513
19606
  },
18514
19607
  /**
18515
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
19608
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
18516
19609
  * @summary Get module health scores
18517
19610
  * @param {string} [startDate]
18518
19611
  * @param {string} [endDate]
@@ -19699,7 +20792,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
19699
20792
  },
19700
20793
  /**
19701
20794
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
19702
- * @summary Get top modules by event volume
20795
+ * @summary Get top modules by execution volume
19703
20796
  * @param {string} [startDate]
19704
20797
  * @param {string} [endDate]
19705
20798
  * @param {string} [gameServerId]
@@ -20233,7 +21326,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20233
21326
  )(axios, localVarOperationServerBasePath || basePath);
20234
21327
  },
20235
21328
  /**
20236
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21329
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20237
21330
  * @summary Get module health scores
20238
21331
  * @param {string} [startDate]
20239
21332
  * @param {string} [endDate]
@@ -20985,7 +22078,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20985
22078
  },
20986
22079
  /**
20987
22080
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
20988
- * @summary Get top modules by event volume
22081
+ * @summary Get top modules by execution volume
20989
22082
  * @param {string} [startDate]
20990
22083
  * @param {string} [endDate]
20991
22084
  * @param {string} [gameServerId]
@@ -21307,7 +22400,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21307
22400
  .then((request) => request(axios, basePath));
21308
22401
  },
21309
22402
  /**
21310
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22403
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21311
22404
  * @summary Get module health scores
21312
22405
  * @param {string} [startDate]
21313
22406
  * @param {string} [endDate]
@@ -21751,7 +22844,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21751
22844
  },
21752
22845
  /**
21753
22846
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
21754
- * @summary Get top modules by event volume
22847
+ * @summary Get top modules by execution volume
21755
22848
  * @param {string} [startDate]
21756
22849
  * @param {string} [endDate]
21757
22850
  * @param {string} [gameServerId]
@@ -22070,7 +23163,7 @@ export class AnalyticsApi extends BaseAPI {
22070
23163
  }
22071
23164
 
22072
23165
  /**
22073
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
23166
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22074
23167
  * @summary Get module health scores
22075
23168
  * @param {string} [startDate]
22076
23169
  * @param {string} [endDate]
@@ -22556,7 +23649,7 @@ export class AnalyticsApi extends BaseAPI {
22556
23649
 
22557
23650
  /**
22558
23651
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
22559
- * @summary Get top modules by event volume
23652
+ * @summary Get top modules by execution volume
22560
23653
  * @param {string} [startDate]
22561
23654
  * @param {string} [endDate]
22562
23655
  * @param {string} [gameServerId]
@@ -25803,6 +26896,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
25803
26896
  options: localVarRequestOptions,
25804
26897
  };
25805
26898
  },
26899
+ /**
26900
+ * 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`
26901
+ * @summary Create staff-recovery invite link for a domain
26902
+ * @param {string} id
26903
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26904
+ * @param {*} [options] Override http request option.
26905
+ * @throws {RequiredError}
26906
+ */
26907
+ domainControllerCreateInviteLink: async (
26908
+ id: string,
26909
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26910
+ options: RawAxiosRequestConfig = {},
26911
+ ): Promise<RequestArgs> => {
26912
+ // verify required parameter 'id' is not null or undefined
26913
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
26914
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
26915
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26916
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26917
+ let baseOptions;
26918
+ if (configuration) {
26919
+ baseOptions = configuration.baseOptions;
26920
+ }
26921
+
26922
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
26923
+ const localVarHeaderParameter = {} as any;
26924
+ const localVarQueryParameter = {} as any;
26925
+
26926
+ // authentication adminAuth required
26927
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
26928
+
26929
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26930
+
26931
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26932
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26933
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26934
+ localVarRequestOptions.data = serializeDataIfNeeded(
26935
+ inviteLinkCreateInputDTO,
26936
+ localVarRequestOptions,
26937
+ configuration,
26938
+ );
26939
+
26940
+ return {
26941
+ url: toPathString(localVarUrlObj),
26942
+ options: localVarRequestOptions,
26943
+ };
26944
+ },
25806
26945
  /**
25807
26946
  * <br> OperationId: `DomainControllerGetOne`
25808
26947
  * @summary Get one
@@ -26075,6 +27214,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
26075
27214
  configuration,
26076
27215
  )(axios, localVarOperationServerBasePath || basePath);
26077
27216
  },
27217
+ /**
27218
+ * 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`
27219
+ * @summary Create staff-recovery invite link for a domain
27220
+ * @param {string} id
27221
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27222
+ * @param {*} [options] Override http request option.
27223
+ * @throws {RequiredError}
27224
+ */
27225
+ async domainControllerCreateInviteLink(
27226
+ id: string,
27227
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27228
+ options?: RawAxiosRequestConfig,
27229
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
27230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
27231
+ id,
27232
+ inviteLinkCreateInputDTO,
27233
+ options,
27234
+ );
27235
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27236
+ const localVarOperationServerBasePath =
27237
+ operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
27238
+ return (axios, basePath) =>
27239
+ createRequestFunction(
27240
+ localVarAxiosArgs,
27241
+ globalAxios,
27242
+ BASE_PATH,
27243
+ configuration,
27244
+ )(axios, localVarOperationServerBasePath || basePath);
27245
+ },
26078
27246
  /**
26079
27247
  * <br> OperationId: `DomainControllerGetOne`
26080
27248
  * @summary Get one
@@ -26249,6 +27417,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26249
27417
  .domainControllerCreate(domainCreateInputDTO, options)
26250
27418
  .then((request) => request(axios, basePath));
26251
27419
  },
27420
+ /**
27421
+ * 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`
27422
+ * @summary Create staff-recovery invite link for a domain
27423
+ * @param {string} id
27424
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27425
+ * @param {*} [options] Override http request option.
27426
+ * @throws {RequiredError}
27427
+ */
27428
+ domainControllerCreateInviteLink(
27429
+ id: string,
27430
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27431
+ options?: RawAxiosRequestConfig,
27432
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
27433
+ return localVarFp
27434
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27435
+ .then((request) => request(axios, basePath));
27436
+ },
26252
27437
  /**
26253
27438
  * <br> OperationId: `DomainControllerGetOne`
26254
27439
  * @summary Get one
@@ -26354,6 +27539,25 @@ export class DomainApi extends BaseAPI {
26354
27539
  .then((request) => request(this.axios, this.basePath));
26355
27540
  }
26356
27541
 
27542
+ /**
27543
+ * 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`
27544
+ * @summary Create staff-recovery invite link for a domain
27545
+ * @param {string} id
27546
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27547
+ * @param {*} [options] Override http request option.
27548
+ * @throws {RequiredError}
27549
+ * @memberof DomainApi
27550
+ */
27551
+ public domainControllerCreateInviteLink(
27552
+ id: string,
27553
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27554
+ options?: RawAxiosRequestConfig,
27555
+ ) {
27556
+ return DomainApiFp(this.configuration)
27557
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27558
+ .then((request) => request(this.axios, this.basePath));
27559
+ }
27560
+
26357
27561
  /**
26358
27562
  * <br> OperationId: `DomainControllerGetOne`
26359
27563
  * @summary Get one
@@ -27314,16 +28518,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
27314
28518
  /**
27315
28519
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27316
28520
  * @summary Auth discord
27317
- * @param {string} redirect
28521
+ * @param {string} [redirect]
27318
28522
  * @param {*} [options] Override http request option.
27319
28523
  * @throws {RequiredError}
27320
28524
  */
27321
28525
  externalAuthControllerAuthDiscord: async (
27322
- redirect: string,
28526
+ redirect?: string,
27323
28527
  options: RawAxiosRequestConfig = {},
27324
28528
  ): Promise<RequestArgs> => {
27325
- // verify required parameter 'redirect' is not null or undefined
27326
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
27327
28529
  const localVarPath = `/auth/discord`;
27328
28530
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27329
28531
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27390,12 +28592,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
27390
28592
  /**
27391
28593
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27392
28594
  * @summary Auth discord
27393
- * @param {string} redirect
28595
+ * @param {string} [redirect]
27394
28596
  * @param {*} [options] Override http request option.
27395
28597
  * @throws {RequiredError}
27396
28598
  */
27397
28599
  async externalAuthControllerAuthDiscord(
27398
- redirect: string,
28600
+ redirect?: string,
27399
28601
  options?: RawAxiosRequestConfig,
27400
28602
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27401
28603
  const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
@@ -27449,11 +28651,11 @@ export const ExternalAuthApiFactory = function (
27449
28651
  /**
27450
28652
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27451
28653
  * @summary Auth discord
27452
- * @param {string} redirect
28654
+ * @param {string} [redirect]
27453
28655
  * @param {*} [options] Override http request option.
27454
28656
  * @throws {RequiredError}
27455
28657
  */
27456
- externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28658
+ externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27457
28659
  return localVarFp
27458
28660
  .externalAuthControllerAuthDiscord(redirect, options)
27459
28661
  .then((request) => request(axios, basePath));
@@ -27480,12 +28682,12 @@ export class ExternalAuthApi extends BaseAPI {
27480
28682
  /**
27481
28683
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27482
28684
  * @summary Auth discord
27483
- * @param {string} redirect
28685
+ * @param {string} [redirect]
27484
28686
  * @param {*} [options] Override http request option.
27485
28687
  * @throws {RequiredError}
27486
28688
  * @memberof ExternalAuthApi
27487
28689
  */
27488
- public externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig) {
28690
+ public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
27489
28691
  return ExternalAuthApiFp(this.configuration)
27490
28692
  .externalAuthControllerAuthDiscord(redirect, options)
27491
28693
  .then((request) => request(this.axios, this.basePath));
@@ -30674,17 +31876,681 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
30674
31876
  };
30675
31877
  },
30676
31878
  /**
30677
- * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
31879
+ * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
31880
+ * @summary Search
31881
+ * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
31882
+ * @param {*} [options] Override http request option.
31883
+ * @throws {RequiredError}
31884
+ */
31885
+ hookControllerSearch: async (
31886
+ hookSearchInputDTO?: HookSearchInputDTO,
31887
+ options: RawAxiosRequestConfig = {},
31888
+ ): Promise<RequestArgs> => {
31889
+ const localVarPath = `/hook/search`;
31890
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31891
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31892
+ let baseOptions;
31893
+ if (configuration) {
31894
+ baseOptions = configuration.baseOptions;
31895
+ }
31896
+
31897
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
31898
+ const localVarHeaderParameter = {} as any;
31899
+ const localVarQueryParameter = {} as any;
31900
+
31901
+ // authentication domainAuth required
31902
+
31903
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31904
+
31905
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31906
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31907
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
31908
+ localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
31909
+
31910
+ return {
31911
+ url: toPathString(localVarUrlObj),
31912
+ options: localVarRequestOptions,
31913
+ };
31914
+ },
31915
+ /**
31916
+ * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
31917
+ * @summary Trigger
31918
+ * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
31919
+ * @param {*} [options] Override http request option.
31920
+ * @throws {RequiredError}
31921
+ */
31922
+ hookControllerTrigger: async (
31923
+ hookTriggerDTO?: HookTriggerDTO,
31924
+ options: RawAxiosRequestConfig = {},
31925
+ ): Promise<RequestArgs> => {
31926
+ const localVarPath = `/hook/trigger`;
31927
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31928
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31929
+ let baseOptions;
31930
+ if (configuration) {
31931
+ baseOptions = configuration.baseOptions;
31932
+ }
31933
+
31934
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
31935
+ const localVarHeaderParameter = {} as any;
31936
+ const localVarQueryParameter = {} as any;
31937
+
31938
+ // authentication domainAuth required
31939
+
31940
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31941
+
31942
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31943
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31944
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
31945
+ localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
31946
+
31947
+ return {
31948
+ url: toPathString(localVarUrlObj),
31949
+ options: localVarRequestOptions,
31950
+ };
31951
+ },
31952
+ /**
31953
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
31954
+ * @summary Update
31955
+ * @param {string} id
31956
+ * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
31957
+ * @param {*} [options] Override http request option.
31958
+ * @throws {RequiredError}
31959
+ */
31960
+ hookControllerUpdate: async (
31961
+ id: string,
31962
+ hookUpdateDTO?: HookUpdateDTO,
31963
+ options: RawAxiosRequestConfig = {},
31964
+ ): Promise<RequestArgs> => {
31965
+ // verify required parameter 'id' is not null or undefined
31966
+ assertParamExists('hookControllerUpdate', 'id', id);
31967
+ const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
31968
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31969
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31970
+ let baseOptions;
31971
+ if (configuration) {
31972
+ baseOptions = configuration.baseOptions;
31973
+ }
31974
+
31975
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
31976
+ const localVarHeaderParameter = {} as any;
31977
+ const localVarQueryParameter = {} as any;
31978
+
31979
+ // authentication domainAuth required
31980
+
31981
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31982
+
31983
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31984
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31985
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
31986
+ localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
31987
+
31988
+ return {
31989
+ url: toPathString(localVarUrlObj),
31990
+ options: localVarRequestOptions,
31991
+ };
31992
+ },
31993
+ };
31994
+ };
31995
+
31996
+ /**
31997
+ * HookApi - functional programming interface
31998
+ * @export
31999
+ */
32000
+ export const HookApiFp = function (configuration?: Configuration) {
32001
+ const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
32002
+ return {
32003
+ /**
32004
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
32005
+ * @summary Create
32006
+ * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32007
+ * @param {*} [options] Override http request option.
32008
+ * @throws {RequiredError}
32009
+ */
32010
+ async hookControllerCreate(
32011
+ hookCreateDTO?: HookCreateDTO,
32012
+ options?: RawAxiosRequestConfig,
32013
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
32014
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
32015
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32016
+ const localVarOperationServerBasePath =
32017
+ operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
32018
+ return (axios, basePath) =>
32019
+ createRequestFunction(
32020
+ localVarAxiosArgs,
32021
+ globalAxios,
32022
+ BASE_PATH,
32023
+ configuration,
32024
+ )(axios, localVarOperationServerBasePath || basePath);
32025
+ },
32026
+ /**
32027
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
32028
+ * @summary Get executions
32029
+ * @param {string} id
32030
+ * @param {any} [success]
32031
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
32032
+ * @param {*} [options] Override http request option.
32033
+ * @throws {RequiredError}
32034
+ */
32035
+ async hookControllerGetExecutions(
32036
+ id: string,
32037
+ success?: any,
32038
+ eventSearchInputDTO?: EventSearchInputDTO,
32039
+ options?: RawAxiosRequestConfig,
32040
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventOutputArrayDTOAPI>> {
32041
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(
32042
+ id,
32043
+ success,
32044
+ eventSearchInputDTO,
32045
+ options,
32046
+ );
32047
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32048
+ const localVarOperationServerBasePath =
32049
+ operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
32050
+ return (axios, basePath) =>
32051
+ createRequestFunction(
32052
+ localVarAxiosArgs,
32053
+ globalAxios,
32054
+ BASE_PATH,
32055
+ configuration,
32056
+ )(axios, localVarOperationServerBasePath || basePath);
32057
+ },
32058
+ /**
32059
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
32060
+ * @summary Get one
32061
+ * @param {string} id
32062
+ * @param {*} [options] Override http request option.
32063
+ * @throws {RequiredError}
32064
+ */
32065
+ async hookControllerGetOne(
32066
+ id: string,
32067
+ options?: RawAxiosRequestConfig,
32068
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
32069
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
32070
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32071
+ const localVarOperationServerBasePath =
32072
+ operationServerMap['HookApi.hookControllerGetOne']?.[localVarOperationServerIndex]?.url;
32073
+ return (axios, basePath) =>
32074
+ createRequestFunction(
32075
+ localVarAxiosArgs,
32076
+ globalAxios,
32077
+ BASE_PATH,
32078
+ configuration,
32079
+ )(axios, localVarOperationServerBasePath || basePath);
32080
+ },
32081
+ /**
32082
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
32083
+ * @summary Remove
32084
+ * @param {string} id
32085
+ * @param {*} [options] Override http request option.
32086
+ * @throws {RequiredError}
32087
+ */
32088
+ async hookControllerRemove(
32089
+ id: string,
32090
+ options?: RawAxiosRequestConfig,
32091
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
32092
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
32093
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32094
+ const localVarOperationServerBasePath =
32095
+ operationServerMap['HookApi.hookControllerRemove']?.[localVarOperationServerIndex]?.url;
32096
+ return (axios, basePath) =>
32097
+ createRequestFunction(
32098
+ localVarAxiosArgs,
32099
+ globalAxios,
32100
+ BASE_PATH,
32101
+ configuration,
32102
+ )(axios, localVarOperationServerBasePath || basePath);
32103
+ },
32104
+ /**
32105
+ * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
32106
+ * @summary Search
32107
+ * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
32108
+ * @param {*} [options] Override http request option.
32109
+ * @throws {RequiredError}
32110
+ */
32111
+ async hookControllerSearch(
32112
+ hookSearchInputDTO?: HookSearchInputDTO,
32113
+ options?: RawAxiosRequestConfig,
32114
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputArrayDTOAPI>> {
32115
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
32116
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32117
+ const localVarOperationServerBasePath =
32118
+ operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
32119
+ return (axios, basePath) =>
32120
+ createRequestFunction(
32121
+ localVarAxiosArgs,
32122
+ globalAxios,
32123
+ BASE_PATH,
32124
+ configuration,
32125
+ )(axios, localVarOperationServerBasePath || basePath);
32126
+ },
32127
+ /**
32128
+ * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
32129
+ * @summary Trigger
32130
+ * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32131
+ * @param {*} [options] Override http request option.
32132
+ * @throws {RequiredError}
32133
+ */
32134
+ async hookControllerTrigger(
32135
+ hookTriggerDTO?: HookTriggerDTO,
32136
+ options?: RawAxiosRequestConfig,
32137
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
32139
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32140
+ const localVarOperationServerBasePath =
32141
+ operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
32142
+ return (axios, basePath) =>
32143
+ createRequestFunction(
32144
+ localVarAxiosArgs,
32145
+ globalAxios,
32146
+ BASE_PATH,
32147
+ configuration,
32148
+ )(axios, localVarOperationServerBasePath || basePath);
32149
+ },
32150
+ /**
32151
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
32152
+ * @summary Update
32153
+ * @param {string} id
32154
+ * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
32155
+ * @param {*} [options] Override http request option.
32156
+ * @throws {RequiredError}
32157
+ */
32158
+ async hookControllerUpdate(
32159
+ id: string,
32160
+ hookUpdateDTO?: HookUpdateDTO,
32161
+ options?: RawAxiosRequestConfig,
32162
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
32163
+ const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
32164
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32165
+ const localVarOperationServerBasePath =
32166
+ operationServerMap['HookApi.hookControllerUpdate']?.[localVarOperationServerIndex]?.url;
32167
+ return (axios, basePath) =>
32168
+ createRequestFunction(
32169
+ localVarAxiosArgs,
32170
+ globalAxios,
32171
+ BASE_PATH,
32172
+ configuration,
32173
+ )(axios, localVarOperationServerBasePath || basePath);
32174
+ },
32175
+ };
32176
+ };
32177
+
32178
+ /**
32179
+ * HookApi - factory interface
32180
+ * @export
32181
+ */
32182
+ export const HookApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32183
+ const localVarFp = HookApiFp(configuration);
32184
+ return {
32185
+ /**
32186
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
32187
+ * @summary Create
32188
+ * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32189
+ * @param {*} [options] Override http request option.
32190
+ * @throws {RequiredError}
32191
+ */
32192
+ hookControllerCreate(
32193
+ hookCreateDTO?: HookCreateDTO,
32194
+ options?: RawAxiosRequestConfig,
32195
+ ): AxiosPromise<HookOutputDTOAPI> {
32196
+ return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
32197
+ },
32198
+ /**
32199
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
32200
+ * @summary Get executions
32201
+ * @param {string} id
32202
+ * @param {any} [success]
32203
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
32204
+ * @param {*} [options] Override http request option.
32205
+ * @throws {RequiredError}
32206
+ */
32207
+ hookControllerGetExecutions(
32208
+ id: string,
32209
+ success?: any,
32210
+ eventSearchInputDTO?: EventSearchInputDTO,
32211
+ options?: RawAxiosRequestConfig,
32212
+ ): AxiosPromise<EventOutputArrayDTOAPI> {
32213
+ return localVarFp
32214
+ .hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
32215
+ .then((request) => request(axios, basePath));
32216
+ },
32217
+ /**
32218
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
32219
+ * @summary Get one
32220
+ * @param {string} id
32221
+ * @param {*} [options] Override http request option.
32222
+ * @throws {RequiredError}
32223
+ */
32224
+ hookControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HookOutputDTOAPI> {
32225
+ return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
32226
+ },
32227
+ /**
32228
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
32229
+ * @summary Remove
32230
+ * @param {string} id
32231
+ * @param {*} [options] Override http request option.
32232
+ * @throws {RequiredError}
32233
+ */
32234
+ hookControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
32235
+ return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
32236
+ },
32237
+ /**
32238
+ * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
32239
+ * @summary Search
32240
+ * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
32241
+ * @param {*} [options] Override http request option.
32242
+ * @throws {RequiredError}
32243
+ */
32244
+ hookControllerSearch(
32245
+ hookSearchInputDTO?: HookSearchInputDTO,
32246
+ options?: RawAxiosRequestConfig,
32247
+ ): AxiosPromise<HookOutputArrayDTOAPI> {
32248
+ return localVarFp.hookControllerSearch(hookSearchInputDTO, options).then((request) => request(axios, basePath));
32249
+ },
32250
+ /**
32251
+ * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
32252
+ * @summary Trigger
32253
+ * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32254
+ * @param {*} [options] Override http request option.
32255
+ * @throws {RequiredError}
32256
+ */
32257
+ hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
32258
+ return localVarFp.hookControllerTrigger(hookTriggerDTO, options).then((request) => request(axios, basePath));
32259
+ },
32260
+ /**
32261
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
32262
+ * @summary Update
32263
+ * @param {string} id
32264
+ * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
32265
+ * @param {*} [options] Override http request option.
32266
+ * @throws {RequiredError}
32267
+ */
32268
+ hookControllerUpdate(
32269
+ id: string,
32270
+ hookUpdateDTO?: HookUpdateDTO,
32271
+ options?: RawAxiosRequestConfig,
32272
+ ): AxiosPromise<HookOutputDTOAPI> {
32273
+ return localVarFp.hookControllerUpdate(id, hookUpdateDTO, options).then((request) => request(axios, basePath));
32274
+ },
32275
+ };
32276
+ };
32277
+
32278
+ /**
32279
+ * HookApi - object-oriented interface
32280
+ * @export
32281
+ * @class HookApi
32282
+ * @extends {BaseAPI}
32283
+ */
32284
+ export class HookApi extends BaseAPI {
32285
+ /**
32286
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
32287
+ * @summary Create
32288
+ * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32289
+ * @param {*} [options] Override http request option.
32290
+ * @throws {RequiredError}
32291
+ * @memberof HookApi
32292
+ */
32293
+ public hookControllerCreate(hookCreateDTO?: HookCreateDTO, options?: RawAxiosRequestConfig) {
32294
+ return HookApiFp(this.configuration)
32295
+ .hookControllerCreate(hookCreateDTO, options)
32296
+ .then((request) => request(this.axios, this.basePath));
32297
+ }
32298
+
32299
+ /**
32300
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
32301
+ * @summary Get executions
32302
+ * @param {string} id
32303
+ * @param {any} [success]
32304
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
32305
+ * @param {*} [options] Override http request option.
32306
+ * @throws {RequiredError}
32307
+ * @memberof HookApi
32308
+ */
32309
+ public hookControllerGetExecutions(
32310
+ id: string,
32311
+ success?: any,
32312
+ eventSearchInputDTO?: EventSearchInputDTO,
32313
+ options?: RawAxiosRequestConfig,
32314
+ ) {
32315
+ return HookApiFp(this.configuration)
32316
+ .hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
32317
+ .then((request) => request(this.axios, this.basePath));
32318
+ }
32319
+
32320
+ /**
32321
+ * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
32322
+ * @summary Get one
32323
+ * @param {string} id
32324
+ * @param {*} [options] Override http request option.
32325
+ * @throws {RequiredError}
32326
+ * @memberof HookApi
32327
+ */
32328
+ public hookControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
32329
+ return HookApiFp(this.configuration)
32330
+ .hookControllerGetOne(id, options)
32331
+ .then((request) => request(this.axios, this.basePath));
32332
+ }
32333
+
32334
+ /**
32335
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
32336
+ * @summary Remove
32337
+ * @param {string} id
32338
+ * @param {*} [options] Override http request option.
32339
+ * @throws {RequiredError}
32340
+ * @memberof HookApi
32341
+ */
32342
+ public hookControllerRemove(id: string, options?: RawAxiosRequestConfig) {
32343
+ return HookApiFp(this.configuration)
32344
+ .hookControllerRemove(id, options)
32345
+ .then((request) => request(this.axios, this.basePath));
32346
+ }
32347
+
32348
+ /**
32349
+ * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
32350
+ * @summary Search
32351
+ * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
32352
+ * @param {*} [options] Override http request option.
32353
+ * @throws {RequiredError}
32354
+ * @memberof HookApi
32355
+ */
32356
+ public hookControllerSearch(hookSearchInputDTO?: HookSearchInputDTO, options?: RawAxiosRequestConfig) {
32357
+ return HookApiFp(this.configuration)
32358
+ .hookControllerSearch(hookSearchInputDTO, options)
32359
+ .then((request) => request(this.axios, this.basePath));
32360
+ }
32361
+
32362
+ /**
32363
+ * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
32364
+ * @summary Trigger
32365
+ * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32366
+ * @param {*} [options] Override http request option.
32367
+ * @throws {RequiredError}
32368
+ * @memberof HookApi
32369
+ */
32370
+ public hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig) {
32371
+ return HookApiFp(this.configuration)
32372
+ .hookControllerTrigger(hookTriggerDTO, options)
32373
+ .then((request) => request(this.axios, this.basePath));
32374
+ }
32375
+
32376
+ /**
32377
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
32378
+ * @summary Update
32379
+ * @param {string} id
32380
+ * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
32381
+ * @param {*} [options] Override http request option.
32382
+ * @throws {RequiredError}
32383
+ * @memberof HookApi
32384
+ */
32385
+ public hookControllerUpdate(id: string, hookUpdateDTO?: HookUpdateDTO, options?: RawAxiosRequestConfig) {
32386
+ return HookApiFp(this.configuration)
32387
+ .hookControllerUpdate(id, hookUpdateDTO, options)
32388
+ .then((request) => request(this.axios, this.basePath));
32389
+ }
32390
+ }
32391
+
32392
+ /**
32393
+ * InviteLinkApi - axios parameter creator
32394
+ * @export
32395
+ */
32396
+ export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
32397
+ return {
32398
+ /**
32399
+ * 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`
32400
+ * @summary Create invite link
32401
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32402
+ * @param {*} [options] Override http request option.
32403
+ * @throws {RequiredError}
32404
+ */
32405
+ inviteLinkControllerCreate: async (
32406
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32407
+ options: RawAxiosRequestConfig = {},
32408
+ ): Promise<RequestArgs> => {
32409
+ const localVarPath = `/invite-link`;
32410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32412
+ let baseOptions;
32413
+ if (configuration) {
32414
+ baseOptions = configuration.baseOptions;
32415
+ }
32416
+
32417
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32418
+ const localVarHeaderParameter = {} as any;
32419
+ const localVarQueryParameter = {} as any;
32420
+
32421
+ // authentication domainAuth required
32422
+
32423
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32424
+
32425
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32426
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32427
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32428
+ localVarRequestOptions.data = serializeDataIfNeeded(
32429
+ inviteLinkCreateInputDTO,
32430
+ localVarRequestOptions,
32431
+ configuration,
32432
+ );
32433
+
32434
+ return {
32435
+ url: toPathString(localVarUrlObj),
32436
+ options: localVarRequestOptions,
32437
+ };
32438
+ },
32439
+ /**
32440
+ * <br> OperationId: `InviteLinkControllerPreview`
32441
+ * @summary Preview
32442
+ * @param {string} token
32443
+ * @param {*} [options] Override http request option.
32444
+ * @throws {RequiredError}
32445
+ */
32446
+ inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32447
+ // verify required parameter 'token' is not null or undefined
32448
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
32449
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
32450
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32451
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32452
+ let baseOptions;
32453
+ if (configuration) {
32454
+ baseOptions = configuration.baseOptions;
32455
+ }
32456
+
32457
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
32458
+ const localVarHeaderParameter = {} as any;
32459
+ const localVarQueryParameter = {} as any;
32460
+
32461
+ // authentication domainAuth required
32462
+
32463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32465
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32466
+
32467
+ return {
32468
+ url: toPathString(localVarUrlObj),
32469
+ options: localVarRequestOptions,
32470
+ };
32471
+ },
32472
+ /**
32473
+ * <br> OperationId: `InviteLinkControllerRedeem`
32474
+ * @summary Redeem
32475
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32476
+ * @param {*} [options] Override http request option.
32477
+ * @throws {RequiredError}
32478
+ */
32479
+ inviteLinkControllerRedeem: async (
32480
+ redeemInputDTO?: RedeemInputDTO,
32481
+ options: RawAxiosRequestConfig = {},
32482
+ ): Promise<RequestArgs> => {
32483
+ const localVarPath = `/invite-link/redeem`;
32484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32486
+ let baseOptions;
32487
+ if (configuration) {
32488
+ baseOptions = configuration.baseOptions;
32489
+ }
32490
+
32491
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32492
+ const localVarHeaderParameter = {} as any;
32493
+ const localVarQueryParameter = {} as any;
32494
+
32495
+ // authentication domainAuth required
32496
+
32497
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32498
+
32499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32501
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32502
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
32503
+
32504
+ return {
32505
+ url: toPathString(localVarUrlObj),
32506
+ options: localVarRequestOptions,
32507
+ };
32508
+ },
32509
+ /**
32510
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32511
+ * @summary Revoke
32512
+ * @param {string} id
32513
+ * @param {*} [options] Override http request option.
32514
+ * @throws {RequiredError}
32515
+ */
32516
+ inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32517
+ // verify required parameter 'id' is not null or undefined
32518
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
32519
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
32520
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32521
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32522
+ let baseOptions;
32523
+ if (configuration) {
32524
+ baseOptions = configuration.baseOptions;
32525
+ }
32526
+
32527
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
32528
+ const localVarHeaderParameter = {} as any;
32529
+ const localVarQueryParameter = {} as any;
32530
+
32531
+ // authentication domainAuth required
32532
+
32533
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32534
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32535
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32536
+
32537
+ return {
32538
+ url: toPathString(localVarUrlObj),
32539
+ options: localVarRequestOptions,
32540
+ };
32541
+ },
32542
+ /**
32543
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
30678
32544
  * @summary Search
30679
- * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
32545
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
30680
32546
  * @param {*} [options] Override http request option.
30681
32547
  * @throws {RequiredError}
30682
32548
  */
30683
- hookControllerSearch: async (
30684
- hookSearchInputDTO?: HookSearchInputDTO,
32549
+ inviteLinkControllerSearch: async (
32550
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
30685
32551
  options: RawAxiosRequestConfig = {},
30686
32552
  ): Promise<RequestArgs> => {
30687
- const localVarPath = `/hook/search`;
32553
+ const localVarPath = `/invite-link/search`;
30688
32554
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30689
32555
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30690
32556
  let baseOptions;
@@ -30703,85 +32569,11 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
30703
32569
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30704
32570
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30705
32571
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
30706
- localVarRequestOptions.data = serializeDataIfNeeded(hookSearchInputDTO, localVarRequestOptions, configuration);
30707
-
30708
- return {
30709
- url: toPathString(localVarUrlObj),
30710
- options: localVarRequestOptions,
30711
- };
30712
- },
30713
- /**
30714
- * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
30715
- * @summary Trigger
30716
- * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
30717
- * @param {*} [options] Override http request option.
30718
- * @throws {RequiredError}
30719
- */
30720
- hookControllerTrigger: async (
30721
- hookTriggerDTO?: HookTriggerDTO,
30722
- options: RawAxiosRequestConfig = {},
30723
- ): Promise<RequestArgs> => {
30724
- const localVarPath = `/hook/trigger`;
30725
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
30726
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30727
- let baseOptions;
30728
- if (configuration) {
30729
- baseOptions = configuration.baseOptions;
30730
- }
30731
-
30732
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
30733
- const localVarHeaderParameter = {} as any;
30734
- const localVarQueryParameter = {} as any;
30735
-
30736
- // authentication domainAuth required
30737
-
30738
- localVarHeaderParameter['Content-Type'] = 'application/json';
30739
-
30740
- setSearchParams(localVarUrlObj, localVarQueryParameter);
30741
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30742
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
30743
- localVarRequestOptions.data = serializeDataIfNeeded(hookTriggerDTO, localVarRequestOptions, configuration);
30744
-
30745
- return {
30746
- url: toPathString(localVarUrlObj),
30747
- options: localVarRequestOptions,
30748
- };
30749
- },
30750
- /**
30751
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
30752
- * @summary Update
30753
- * @param {string} id
30754
- * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
30755
- * @param {*} [options] Override http request option.
30756
- * @throws {RequiredError}
30757
- */
30758
- hookControllerUpdate: async (
30759
- id: string,
30760
- hookUpdateDTO?: HookUpdateDTO,
30761
- options: RawAxiosRequestConfig = {},
30762
- ): Promise<RequestArgs> => {
30763
- // verify required parameter 'id' is not null or undefined
30764
- assertParamExists('hookControllerUpdate', 'id', id);
30765
- const localVarPath = `/hook/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
30766
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
30767
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30768
- let baseOptions;
30769
- if (configuration) {
30770
- baseOptions = configuration.baseOptions;
30771
- }
30772
-
30773
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
30774
- const localVarHeaderParameter = {} as any;
30775
- const localVarQueryParameter = {} as any;
30776
-
30777
- // authentication domainAuth required
30778
-
30779
- localVarHeaderParameter['Content-Type'] = 'application/json';
30780
-
30781
- setSearchParams(localVarUrlObj, localVarQueryParameter);
30782
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30783
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
30784
- localVarRequestOptions.data = serializeDataIfNeeded(hookUpdateDTO, localVarRequestOptions, configuration);
32572
+ localVarRequestOptions.data = serializeDataIfNeeded(
32573
+ inviteLinkSearchInputDTO,
32574
+ localVarRequestOptions,
32575
+ configuration,
32576
+ );
30785
32577
 
30786
32578
  return {
30787
32579
  url: toPathString(localVarUrlObj),
@@ -30792,27 +32584,30 @@ export const HookApiAxiosParamCreator = function (configuration?: Configuration)
30792
32584
  };
30793
32585
 
30794
32586
  /**
30795
- * HookApi - functional programming interface
32587
+ * InviteLinkApi - functional programming interface
30796
32588
  * @export
30797
32589
  */
30798
- export const HookApiFp = function (configuration?: Configuration) {
30799
- const localVarAxiosParamCreator = HookApiAxiosParamCreator(configuration);
32590
+ export const InviteLinkApiFp = function (configuration?: Configuration) {
32591
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
30800
32592
  return {
30801
32593
  /**
30802
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
30803
- * @summary Create
30804
- * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32594
+ * 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`
32595
+ * @summary Create invite link
32596
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
30805
32597
  * @param {*} [options] Override http request option.
30806
32598
  * @throws {RequiredError}
30807
32599
  */
30808
- async hookControllerCreate(
30809
- hookCreateDTO?: HookCreateDTO,
32600
+ async inviteLinkControllerCreate(
32601
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
30810
32602
  options?: RawAxiosRequestConfig,
30811
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
30812
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
32603
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
32604
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
32605
+ inviteLinkCreateInputDTO,
32606
+ options,
32607
+ );
30813
32608
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30814
32609
  const localVarOperationServerBasePath =
30815
- operationServerMap['HookApi.hookControllerCreate']?.[localVarOperationServerIndex]?.url;
32610
+ operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
30816
32611
  return (axios, basePath) =>
30817
32612
  createRequestFunction(
30818
32613
  localVarAxiosArgs,
@@ -30822,29 +32617,20 @@ export const HookApiFp = function (configuration?: Configuration) {
30822
32617
  )(axios, localVarOperationServerBasePath || basePath);
30823
32618
  },
30824
32619
  /**
30825
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
30826
- * @summary Get executions
30827
- * @param {string} id
30828
- * @param {any} [success]
30829
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
32620
+ * <br> OperationId: `InviteLinkControllerPreview`
32621
+ * @summary Preview
32622
+ * @param {string} token
30830
32623
  * @param {*} [options] Override http request option.
30831
32624
  * @throws {RequiredError}
30832
32625
  */
30833
- async hookControllerGetExecutions(
30834
- id: string,
30835
- success?: any,
30836
- eventSearchInputDTO?: EventSearchInputDTO,
32626
+ async inviteLinkControllerPreview(
32627
+ token: string,
30837
32628
  options?: RawAxiosRequestConfig,
30838
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventOutputArrayDTOAPI>> {
30839
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(
30840
- id,
30841
- success,
30842
- eventSearchInputDTO,
30843
- options,
30844
- );
32629
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
32630
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
30845
32631
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30846
32632
  const localVarOperationServerBasePath =
30847
- operationServerMap['HookApi.hookControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
32633
+ operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
30848
32634
  return (axios, basePath) =>
30849
32635
  createRequestFunction(
30850
32636
  localVarAxiosArgs,
@@ -30854,20 +32640,20 @@ export const HookApiFp = function (configuration?: Configuration) {
30854
32640
  )(axios, localVarOperationServerBasePath || basePath);
30855
32641
  },
30856
32642
  /**
30857
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
30858
- * @summary Get one
30859
- * @param {string} id
32643
+ * <br> OperationId: `InviteLinkControllerRedeem`
32644
+ * @summary Redeem
32645
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
30860
32646
  * @param {*} [options] Override http request option.
30861
32647
  * @throws {RequiredError}
30862
32648
  */
30863
- async hookControllerGetOne(
30864
- id: string,
32649
+ async inviteLinkControllerRedeem(
32650
+ redeemInputDTO?: RedeemInputDTO,
30865
32651
  options?: RawAxiosRequestConfig,
30866
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
30867
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
32652
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
32653
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
30868
32654
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30869
32655
  const localVarOperationServerBasePath =
30870
- operationServerMap['HookApi.hookControllerGetOne']?.[localVarOperationServerIndex]?.url;
32656
+ operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
30871
32657
  return (axios, basePath) =>
30872
32658
  createRequestFunction(
30873
32659
  localVarAxiosArgs,
@@ -30877,20 +32663,20 @@ export const HookApiFp = function (configuration?: Configuration) {
30877
32663
  )(axios, localVarOperationServerBasePath || basePath);
30878
32664
  },
30879
32665
  /**
30880
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
30881
- * @summary Remove
32666
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32667
+ * @summary Revoke
30882
32668
  * @param {string} id
30883
32669
  * @param {*} [options] Override http request option.
30884
32670
  * @throws {RequiredError}
30885
32671
  */
30886
- async hookControllerRemove(
32672
+ async inviteLinkControllerRevoke(
30887
32673
  id: string,
30888
32674
  options?: RawAxiosRequestConfig,
30889
32675
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
30890
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
32676
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
30891
32677
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30892
32678
  const localVarOperationServerBasePath =
30893
- operationServerMap['HookApi.hookControllerRemove']?.[localVarOperationServerIndex]?.url;
32679
+ operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
30894
32680
  return (axios, basePath) =>
30895
32681
  createRequestFunction(
30896
32682
  localVarAxiosArgs,
@@ -30900,68 +32686,23 @@ export const HookApiFp = function (configuration?: Configuration) {
30900
32686
  )(axios, localVarOperationServerBasePath || basePath);
30901
32687
  },
30902
32688
  /**
30903
- * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
32689
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
30904
32690
  * @summary Search
30905
- * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
30906
- * @param {*} [options] Override http request option.
30907
- * @throws {RequiredError}
30908
- */
30909
- async hookControllerSearch(
30910
- hookSearchInputDTO?: HookSearchInputDTO,
30911
- options?: RawAxiosRequestConfig,
30912
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputArrayDTOAPI>> {
30913
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
30914
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30915
- const localVarOperationServerBasePath =
30916
- operationServerMap['HookApi.hookControllerSearch']?.[localVarOperationServerIndex]?.url;
30917
- return (axios, basePath) =>
30918
- createRequestFunction(
30919
- localVarAxiosArgs,
30920
- globalAxios,
30921
- BASE_PATH,
30922
- configuration,
30923
- )(axios, localVarOperationServerBasePath || basePath);
30924
- },
30925
- /**
30926
- * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
30927
- * @summary Trigger
30928
- * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32691
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
30929
32692
  * @param {*} [options] Override http request option.
30930
32693
  * @throws {RequiredError}
30931
32694
  */
30932
- async hookControllerTrigger(
30933
- hookTriggerDTO?: HookTriggerDTO,
32695
+ async inviteLinkControllerSearch(
32696
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
30934
32697
  options?: RawAxiosRequestConfig,
30935
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
30936
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
30937
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30938
- const localVarOperationServerBasePath =
30939
- operationServerMap['HookApi.hookControllerTrigger']?.[localVarOperationServerIndex]?.url;
30940
- return (axios, basePath) =>
30941
- createRequestFunction(
30942
- localVarAxiosArgs,
30943
- globalAxios,
30944
- BASE_PATH,
30945
- configuration,
30946
- )(axios, localVarOperationServerBasePath || basePath);
30947
- },
30948
- /**
30949
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
30950
- * @summary Update
30951
- * @param {string} id
30952
- * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
30953
- * @param {*} [options] Override http request option.
30954
- * @throws {RequiredError}
30955
- */
30956
- async hookControllerUpdate(
30957
- id: string,
30958
- hookUpdateDTO?: HookUpdateDTO,
30959
- options?: RawAxiosRequestConfig,
30960
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HookOutputDTOAPI>> {
30961
- const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
32698
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
32699
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
32700
+ inviteLinkSearchInputDTO,
32701
+ options,
32702
+ );
30962
32703
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30963
32704
  const localVarOperationServerBasePath =
30964
- operationServerMap['HookApi.hookControllerUpdate']?.[localVarOperationServerIndex]?.url;
32705
+ operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
30965
32706
  return (axios, basePath) =>
30966
32707
  createRequestFunction(
30967
32708
  localVarAxiosArgs,
@@ -30974,215 +32715,158 @@ export const HookApiFp = function (configuration?: Configuration) {
30974
32715
  };
30975
32716
 
30976
32717
  /**
30977
- * HookApi - factory interface
32718
+ * InviteLinkApi - factory interface
30978
32719
  * @export
30979
32720
  */
30980
- export const HookApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
30981
- const localVarFp = HookApiFp(configuration);
32721
+ export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32722
+ const localVarFp = InviteLinkApiFp(configuration);
30982
32723
  return {
30983
32724
  /**
30984
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
30985
- * @summary Create
30986
- * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32725
+ * 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`
32726
+ * @summary Create invite link
32727
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
30987
32728
  * @param {*} [options] Override http request option.
30988
32729
  * @throws {RequiredError}
30989
32730
  */
30990
- hookControllerCreate(
30991
- hookCreateDTO?: HookCreateDTO,
32731
+ inviteLinkControllerCreate(
32732
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
30992
32733
  options?: RawAxiosRequestConfig,
30993
- ): AxiosPromise<HookOutputDTOAPI> {
30994
- return localVarFp.hookControllerCreate(hookCreateDTO, options).then((request) => request(axios, basePath));
30995
- },
30996
- /**
30997
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
30998
- * @summary Get executions
30999
- * @param {string} id
31000
- * @param {any} [success]
31001
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
31002
- * @param {*} [options] Override http request option.
31003
- * @throws {RequiredError}
31004
- */
31005
- hookControllerGetExecutions(
31006
- id: string,
31007
- success?: any,
31008
- eventSearchInputDTO?: EventSearchInputDTO,
31009
- options?: RawAxiosRequestConfig,
31010
- ): AxiosPromise<EventOutputArrayDTOAPI> {
32734
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
31011
32735
  return localVarFp
31012
- .hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
32736
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
31013
32737
  .then((request) => request(axios, basePath));
31014
32738
  },
31015
32739
  /**
31016
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
31017
- * @summary Get one
31018
- * @param {string} id
32740
+ * <br> OperationId: `InviteLinkControllerPreview`
32741
+ * @summary Preview
32742
+ * @param {string} token
31019
32743
  * @param {*} [options] Override http request option.
31020
32744
  * @throws {RequiredError}
31021
32745
  */
31022
- hookControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<HookOutputDTOAPI> {
31023
- return localVarFp.hookControllerGetOne(id, options).then((request) => request(axios, basePath));
32746
+ inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
32747
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
31024
32748
  },
31025
32749
  /**
31026
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
31027
- * @summary Remove
31028
- * @param {string} id
32750
+ * <br> OperationId: `InviteLinkControllerRedeem`
32751
+ * @summary Redeem
32752
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
31029
32753
  * @param {*} [options] Override http request option.
31030
32754
  * @throws {RequiredError}
31031
32755
  */
31032
- hookControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
31033
- return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
31034
- },
31035
- /**
31036
- * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
31037
- * @summary Search
31038
- * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
31039
- * @param {*} [options] Override http request option.
31040
- * @throws {RequiredError}
31041
- */
31042
- hookControllerSearch(
31043
- hookSearchInputDTO?: HookSearchInputDTO,
32756
+ inviteLinkControllerRedeem(
32757
+ redeemInputDTO?: RedeemInputDTO,
31044
32758
  options?: RawAxiosRequestConfig,
31045
- ): AxiosPromise<HookOutputArrayDTOAPI> {
31046
- return localVarFp.hookControllerSearch(hookSearchInputDTO, options).then((request) => request(axios, basePath));
32759
+ ): AxiosPromise<UserOutputWithRolesDTOAPI> {
32760
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
31047
32761
  },
31048
32762
  /**
31049
- * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
31050
- * @summary Trigger
31051
- * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32763
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32764
+ * @summary Revoke
32765
+ * @param {string} id
31052
32766
  * @param {*} [options] Override http request option.
31053
32767
  * @throws {RequiredError}
31054
32768
  */
31055
- hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
31056
- return localVarFp.hookControllerTrigger(hookTriggerDTO, options).then((request) => request(axios, basePath));
32769
+ inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
32770
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
31057
32771
  },
31058
32772
  /**
31059
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
31060
- * @summary Update
31061
- * @param {string} id
31062
- * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
32773
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32774
+ * @summary Search
32775
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
31063
32776
  * @param {*} [options] Override http request option.
31064
32777
  * @throws {RequiredError}
31065
32778
  */
31066
- hookControllerUpdate(
31067
- id: string,
31068
- hookUpdateDTO?: HookUpdateDTO,
32779
+ inviteLinkControllerSearch(
32780
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
31069
32781
  options?: RawAxiosRequestConfig,
31070
- ): AxiosPromise<HookOutputDTOAPI> {
31071
- return localVarFp.hookControllerUpdate(id, hookUpdateDTO, options).then((request) => request(axios, basePath));
32782
+ ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
32783
+ return localVarFp
32784
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32785
+ .then((request) => request(axios, basePath));
31072
32786
  },
31073
32787
  };
31074
32788
  };
31075
32789
 
31076
32790
  /**
31077
- * HookApi - object-oriented interface
32791
+ * InviteLinkApi - object-oriented interface
31078
32792
  * @export
31079
- * @class HookApi
32793
+ * @class InviteLinkApi
31080
32794
  * @extends {BaseAPI}
31081
32795
  */
31082
- export class HookApi extends BaseAPI {
32796
+ export class InviteLinkApi extends BaseAPI {
31083
32797
  /**
31084
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerCreate`
31085
- * @summary Create
31086
- * @param {HookCreateDTO} [hookCreateDTO] HookCreateDTO
32798
+ * 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`
32799
+ * @summary Create invite link
32800
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
31087
32801
  * @param {*} [options] Override http request option.
31088
32802
  * @throws {RequiredError}
31089
- * @memberof HookApi
32803
+ * @memberof InviteLinkApi
31090
32804
  */
31091
- public hookControllerCreate(hookCreateDTO?: HookCreateDTO, options?: RawAxiosRequestConfig) {
31092
- return HookApiFp(this.configuration)
31093
- .hookControllerCreate(hookCreateDTO, options)
31094
- .then((request) => request(this.axios, this.basePath));
31095
- }
31096
-
31097
- /**
31098
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
31099
- * @summary Get executions
31100
- * @param {string} id
31101
- * @param {any} [success]
31102
- * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
31103
- * @param {*} [options] Override http request option.
31104
- * @throws {RequiredError}
31105
- * @memberof HookApi
31106
- */
31107
- public hookControllerGetExecutions(
31108
- id: string,
31109
- success?: any,
31110
- eventSearchInputDTO?: EventSearchInputDTO,
32805
+ public inviteLinkControllerCreate(
32806
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
31111
32807
  options?: RawAxiosRequestConfig,
31112
32808
  ) {
31113
- return HookApiFp(this.configuration)
31114
- .hookControllerGetExecutions(id, success, eventSearchInputDTO, options)
31115
- .then((request) => request(this.axios, this.basePath));
31116
- }
31117
-
31118
- /**
31119
- * Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
31120
- * @summary Get one
31121
- * @param {string} id
31122
- * @param {*} [options] Override http request option.
31123
- * @throws {RequiredError}
31124
- * @memberof HookApi
31125
- */
31126
- public hookControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
31127
- return HookApiFp(this.configuration)
31128
- .hookControllerGetOne(id, options)
32809
+ return InviteLinkApiFp(this.configuration)
32810
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
31129
32811
  .then((request) => request(this.axios, this.basePath));
31130
32812
  }
31131
32813
 
31132
32814
  /**
31133
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
31134
- * @summary Remove
31135
- * @param {string} id
32815
+ * <br> OperationId: `InviteLinkControllerPreview`
32816
+ * @summary Preview
32817
+ * @param {string} token
31136
32818
  * @param {*} [options] Override http request option.
31137
32819
  * @throws {RequiredError}
31138
- * @memberof HookApi
32820
+ * @memberof InviteLinkApi
31139
32821
  */
31140
- public hookControllerRemove(id: string, options?: RawAxiosRequestConfig) {
31141
- return HookApiFp(this.configuration)
31142
- .hookControllerRemove(id, options)
32822
+ public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
32823
+ return InviteLinkApiFp(this.configuration)
32824
+ .inviteLinkControllerPreview(token, options)
31143
32825
  .then((request) => request(this.axios, this.basePath));
31144
32826
  }
31145
32827
 
31146
32828
  /**
31147
- * Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
31148
- * @summary Search
31149
- * @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
32829
+ * <br> OperationId: `InviteLinkControllerRedeem`
32830
+ * @summary Redeem
32831
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
31150
32832
  * @param {*} [options] Override http request option.
31151
32833
  * @throws {RequiredError}
31152
- * @memberof HookApi
32834
+ * @memberof InviteLinkApi
31153
32835
  */
31154
- public hookControllerSearch(hookSearchInputDTO?: HookSearchInputDTO, options?: RawAxiosRequestConfig) {
31155
- return HookApiFp(this.configuration)
31156
- .hookControllerSearch(hookSearchInputDTO, options)
32836
+ public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
32837
+ return InviteLinkApiFp(this.configuration)
32838
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
31157
32839
  .then((request) => request(this.axios, this.basePath));
31158
32840
  }
31159
32841
 
31160
32842
  /**
31161
- * Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
31162
- * @summary Trigger
31163
- * @param {HookTriggerDTO} [hookTriggerDTO] HookTriggerDTO
32843
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32844
+ * @summary Revoke
32845
+ * @param {string} id
31164
32846
  * @param {*} [options] Override http request option.
31165
32847
  * @throws {RequiredError}
31166
- * @memberof HookApi
32848
+ * @memberof InviteLinkApi
31167
32849
  */
31168
- public hookControllerTrigger(hookTriggerDTO?: HookTriggerDTO, options?: RawAxiosRequestConfig) {
31169
- return HookApiFp(this.configuration)
31170
- .hookControllerTrigger(hookTriggerDTO, options)
32850
+ public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
32851
+ return InviteLinkApiFp(this.configuration)
32852
+ .inviteLinkControllerRevoke(id, options)
31171
32853
  .then((request) => request(this.axios, this.basePath));
31172
32854
  }
31173
32855
 
31174
32856
  /**
31175
- * Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
31176
- * @summary Update
31177
- * @param {string} id
31178
- * @param {HookUpdateDTO} [hookUpdateDTO] HookUpdateDTO
32857
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32858
+ * @summary Search
32859
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
31179
32860
  * @param {*} [options] Override http request option.
31180
32861
  * @throws {RequiredError}
31181
- * @memberof HookApi
32862
+ * @memberof InviteLinkApi
31182
32863
  */
31183
- public hookControllerUpdate(id: string, hookUpdateDTO?: HookUpdateDTO, options?: RawAxiosRequestConfig) {
31184
- return HookApiFp(this.configuration)
31185
- .hookControllerUpdate(id, hookUpdateDTO, options)
32864
+ public inviteLinkControllerSearch(
32865
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32866
+ options?: RawAxiosRequestConfig,
32867
+ ) {
32868
+ return InviteLinkApiFp(this.configuration)
32869
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
31186
32870
  .then((request) => request(this.axios, this.basePath));
31187
32871
  }
31188
32872
  }
@@ -31425,6 +33109,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
31425
33109
  options: localVarRequestOptions,
31426
33110
  };
31427
33111
  },
33112
+ /**
33113
+ * <br> OperationId: `MetaGetLiveness`
33114
+ * @summary Get liveness
33115
+ * @param {*} [options] Override http request option.
33116
+ * @throws {RequiredError}
33117
+ */
33118
+ metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33119
+ const localVarPath = `/livez`;
33120
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33121
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33122
+ let baseOptions;
33123
+ if (configuration) {
33124
+ baseOptions = configuration.baseOptions;
33125
+ }
33126
+
33127
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
33128
+ const localVarHeaderParameter = {} as any;
33129
+ const localVarQueryParameter = {} as any;
33130
+
33131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33133
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
33134
+
33135
+ return {
33136
+ url: toPathString(localVarUrlObj),
33137
+ options: localVarRequestOptions,
33138
+ };
33139
+ },
31428
33140
  /**
31429
33141
  * <br> OperationId: `MetaGetMetrics`
31430
33142
  * @summary Get metrics
@@ -31596,6 +33308,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
31596
33308
  configuration,
31597
33309
  )(axios, localVarOperationServerBasePath || basePath);
31598
33310
  },
33311
+ /**
33312
+ * <br> OperationId: `MetaGetLiveness`
33313
+ * @summary Get liveness
33314
+ * @param {*} [options] Override http request option.
33315
+ * @throws {RequiredError}
33316
+ */
33317
+ async metaGetLiveness(
33318
+ options?: RawAxiosRequestConfig,
33319
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
33320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
33321
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33322
+ const localVarOperationServerBasePath =
33323
+ operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
33324
+ return (axios, basePath) =>
33325
+ createRequestFunction(
33326
+ localVarAxiosArgs,
33327
+ globalAxios,
33328
+ BASE_PATH,
33329
+ configuration,
33330
+ )(axios, localVarOperationServerBasePath || basePath);
33331
+ },
31599
33332
  /**
31600
33333
  * <br> OperationId: `MetaGetMetrics`
31601
33334
  * @summary Get metrics
@@ -31720,6 +33453,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
31720
33453
  metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
31721
33454
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
31722
33455
  },
33456
+ /**
33457
+ * <br> OperationId: `MetaGetLiveness`
33458
+ * @summary Get liveness
33459
+ * @param {*} [options] Override http request option.
33460
+ * @throws {RequiredError}
33461
+ */
33462
+ metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
33463
+ return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
33464
+ },
31723
33465
  /**
31724
33466
  * <br> OperationId: `MetaGetMetrics`
31725
33467
  * @summary Get metrics
@@ -31788,6 +33530,19 @@ export class MetaApi extends BaseAPI {
31788
33530
  .then((request) => request(this.axios, this.basePath));
31789
33531
  }
31790
33532
 
33533
+ /**
33534
+ * <br> OperationId: `MetaGetLiveness`
33535
+ * @summary Get liveness
33536
+ * @param {*} [options] Override http request option.
33537
+ * @throws {RequiredError}
33538
+ * @memberof MetaApi
33539
+ */
33540
+ public metaGetLiveness(options?: RawAxiosRequestConfig) {
33541
+ return MetaApiFp(this.configuration)
33542
+ .metaGetLiveness(options)
33543
+ .then((request) => request(this.axios, this.basePath));
33544
+ }
33545
+
31791
33546
  /**
31792
33547
  * <br> OperationId: `MetaGetMetrics`
31793
33548
  * @summary Get metrics
@@ -33453,7 +35208,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
33453
35208
  };
33454
35209
  },
33455
35210
  /**
33456
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35211
+ * 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`
33457
35212
  * @summary Bulk assign role
33458
35213
  * @param {string} roleId
33459
35214
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -33498,7 +35253,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
33498
35253
  };
33499
35254
  },
33500
35255
  /**
33501
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35256
+ * 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`
33502
35257
  * @summary Bulk delete
33503
35258
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
33504
35259
  * @param {*} [options] Override http request option.
@@ -33882,7 +35637,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
33882
35637
  )(axios, localVarOperationServerBasePath || basePath);
33883
35638
  },
33884
35639
  /**
33885
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35640
+ * 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`
33886
35641
  * @summary Bulk assign role
33887
35642
  * @param {string} roleId
33888
35643
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -33911,7 +35666,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
33911
35666
  )(axios, localVarOperationServerBasePath || basePath);
33912
35667
  },
33913
35668
  /**
33914
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35669
+ * 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`
33915
35670
  * @summary Bulk delete
33916
35671
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
33917
35672
  * @param {*} [options] Override http request option.
@@ -34146,7 +35901,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
34146
35901
  .then((request) => request(axios, basePath));
34147
35902
  },
34148
35903
  /**
34149
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
35904
+ * 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`
34150
35905
  * @summary Bulk assign role
34151
35906
  * @param {string} roleId
34152
35907
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34163,7 +35918,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
34163
35918
  .then((request) => request(axios, basePath));
34164
35919
  },
34165
35920
  /**
34166
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
35921
+ * 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`
34167
35922
  * @summary Bulk delete
34168
35923
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34169
35924
  * @param {*} [options] Override http request option.
@@ -34343,7 +36098,7 @@ export class PlayerApi extends BaseAPI {
34343
36098
  }
34344
36099
 
34345
36100
  /**
34346
- * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
36101
+ * 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`
34347
36102
  * @summary Bulk assign role
34348
36103
  * @param {string} roleId
34349
36104
  * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
@@ -34362,7 +36117,7 @@ export class PlayerApi extends BaseAPI {
34362
36117
  }
34363
36118
 
34364
36119
  /**
34365
- * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
36120
+ * 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`
34366
36121
  * @summary Bulk delete
34367
36122
  * @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
34368
36123
  * @param {*} [options] Override http request option.
@@ -34513,7 +36268,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
34513
36268
  };
34514
36269
  },
34515
36270
  /**
34516
- * 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`
36271
+ * 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`
34517
36272
  * @summary Bulk add currency
34518
36273
  * @param {string} gameServerId
34519
36274
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -34932,7 +36687,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
34932
36687
  )(axios, localVarOperationServerBasePath || basePath);
34933
36688
  },
34934
36689
  /**
34935
- * 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`
36690
+ * 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`
34936
36691
  * @summary Bulk add currency
34937
36692
  * @param {string} gameServerId
34938
36693
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -35219,7 +36974,7 @@ export const PlayerOnGameServerApiFactory = function (
35219
36974
  .then((request) => request(axios, basePath));
35220
36975
  },
35221
36976
  /**
35222
- * 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`
36977
+ * 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`
35223
36978
  * @summary Bulk add currency
35224
36979
  * @param {string} gameServerId
35225
36980
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -35403,7 +37158,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
35403
37158
  }
35404
37159
 
35405
37160
  /**
35406
- * 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`
37161
+ * 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`
35407
37162
  * @summary Bulk add currency
35408
37163
  * @param {string} gameServerId
35409
37164
  * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
@@ -37743,7 +39498,7 @@ export class ShopActionApi extends BaseAPI {
37743
39498
  export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
37744
39499
  return {
37745
39500
  /**
37746
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39501
+ * 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`
37747
39502
  * @summary Bulk assign
37748
39503
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
37749
39504
  * @param {*} [options] Override http request option.
@@ -38067,7 +39822,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
38067
39822
  const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
38068
39823
  return {
38069
39824
  /**
38070
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
39825
+ * 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`
38071
39826
  * @summary Bulk assign
38072
39827
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38073
39828
  * @param {*} [options] Override http request option.
@@ -38288,7 +40043,7 @@ export const ShopCategoryApiFactory = function (
38288
40043
  const localVarFp = ShopCategoryApiFp(configuration);
38289
40044
  return {
38290
40045
  /**
38291
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
40046
+ * 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`
38292
40047
  * @summary Bulk assign
38293
40048
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38294
40049
  * @param {*} [options] Override http request option.
@@ -38417,7 +40172,7 @@ export const ShopCategoryApiFactory = function (
38417
40172
  */
38418
40173
  export class ShopCategoryApi extends BaseAPI {
38419
40174
  /**
38420
- * Bulk assign categories to multiple shop listings Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
40175
+ * 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`
38421
40176
  * @summary Bulk assign
38422
40177
  * @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
38423
40178
  * @param {*} [options] Override http request option.
@@ -38552,6 +40307,47 @@ export class ShopCategoryApi extends BaseAPI {
38552
40307
  */
38553
40308
  export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
38554
40309
  return {
40310
+ /**
40311
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40312
+ * @summary Bulk
40313
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40314
+ * @param {*} [options] Override http request option.
40315
+ * @throws {RequiredError}
40316
+ */
40317
+ shopListingControllerBulk: async (
40318
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40319
+ options: RawAxiosRequestConfig = {},
40320
+ ): Promise<RequestArgs> => {
40321
+ const localVarPath = `/shop/listing/bulk`;
40322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40323
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40324
+ let baseOptions;
40325
+ if (configuration) {
40326
+ baseOptions = configuration.baseOptions;
40327
+ }
40328
+
40329
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
40330
+ const localVarHeaderParameter = {} as any;
40331
+ const localVarQueryParameter = {} as any;
40332
+
40333
+ // authentication domainAuth required
40334
+
40335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40336
+
40337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40339
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40340
+ localVarRequestOptions.data = serializeDataIfNeeded(
40341
+ shopListingBulkInputDTO,
40342
+ localVarRequestOptions,
40343
+ configuration,
40344
+ );
40345
+
40346
+ return {
40347
+ url: toPathString(localVarUrlObj),
40348
+ options: localVarRequestOptions,
40349
+ };
40350
+ },
38555
40351
  /**
38556
40352
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
38557
40353
  * @summary Create
@@ -38777,6 +40573,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
38777
40573
  export const ShopListingApiFp = function (configuration?: Configuration) {
38778
40574
  const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
38779
40575
  return {
40576
+ /**
40577
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40578
+ * @summary Bulk
40579
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40580
+ * @param {*} [options] Override http request option.
40581
+ * @throws {RequiredError}
40582
+ */
40583
+ async shopListingControllerBulk(
40584
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40585
+ options?: RawAxiosRequestConfig,
40586
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
40587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(
40588
+ shopListingBulkInputDTO,
40589
+ options,
40590
+ );
40591
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40592
+ const localVarOperationServerBasePath =
40593
+ operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
40594
+ return (axios, basePath) =>
40595
+ createRequestFunction(
40596
+ localVarAxiosArgs,
40597
+ globalAxios,
40598
+ BASE_PATH,
40599
+ configuration,
40600
+ )(axios, localVarOperationServerBasePath || basePath);
40601
+ },
38780
40602
  /**
38781
40603
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
38782
40604
  * @summary Create
@@ -38857,7 +40679,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
38857
40679
  */
38858
40680
  async shopListingControllerImportListings(
38859
40681
  options?: RawAxiosRequestConfig,
38860
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
40682
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
38861
40683
  const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
38862
40684
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38863
40685
  const localVarOperationServerBasePath =
@@ -38939,6 +40761,21 @@ export const ShopListingApiFactory = function (
38939
40761
  ) {
38940
40762
  const localVarFp = ShopListingApiFp(configuration);
38941
40763
  return {
40764
+ /**
40765
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40766
+ * @summary Bulk
40767
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40768
+ * @param {*} [options] Override http request option.
40769
+ * @throws {RequiredError}
40770
+ */
40771
+ shopListingControllerBulk(
40772
+ shopListingBulkInputDTO?: ShopListingBulkInputDTO,
40773
+ options?: RawAxiosRequestConfig,
40774
+ ): AxiosPromise<BulkActionResultDTOAPI> {
40775
+ return localVarFp
40776
+ .shopListingControllerBulk(shopListingBulkInputDTO, options)
40777
+ .then((request) => request(axios, basePath));
40778
+ },
38942
40779
  /**
38943
40780
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
38944
40781
  * @summary Create
@@ -38980,7 +40817,7 @@ export const ShopListingApiFactory = function (
38980
40817
  * @param {*} [options] Override http request option.
38981
40818
  * @throws {RequiredError}
38982
40819
  */
38983
- shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
40820
+ shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
38984
40821
  return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
38985
40822
  },
38986
40823
  /**
@@ -39025,6 +40862,20 @@ export const ShopListingApiFactory = function (
39025
40862
  * @extends {BaseAPI}
39026
40863
  */
39027
40864
  export class ShopListingApi extends BaseAPI {
40865
+ /**
40866
+ * Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
40867
+ * @summary Bulk
40868
+ * @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
40869
+ * @param {*} [options] Override http request option.
40870
+ * @throws {RequiredError}
40871
+ * @memberof ShopListingApi
40872
+ */
40873
+ public shopListingControllerBulk(shopListingBulkInputDTO?: ShopListingBulkInputDTO, options?: RawAxiosRequestConfig) {
40874
+ return ShopListingApiFp(this.configuration)
40875
+ .shopListingControllerBulk(shopListingBulkInputDTO, options)
40876
+ .then((request) => request(this.axios, this.basePath));
40877
+ }
40878
+
39028
40879
  /**
39029
40880
  * Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
39030
40881
  * @summary Create
@@ -39654,6 +41505,54 @@ export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Co
39654
41505
  options: localVarRequestOptions,
39655
41506
  };
39656
41507
  },
41508
+ /**
41509
+ * Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
41510
+ * @summary Preview config
41511
+ * @param {string} gameServerId
41512
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
41513
+ * @param {*} [options] Override http request option.
41514
+ * @throws {RequiredError}
41515
+ */
41516
+ storefrontConfigControllerPreviewConfig: async (
41517
+ gameServerId: string,
41518
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
41519
+ options: RawAxiosRequestConfig = {},
41520
+ ): Promise<RequestArgs> => {
41521
+ // verify required parameter 'gameServerId' is not null or undefined
41522
+ assertParamExists('storefrontConfigControllerPreviewConfig', 'gameServerId', gameServerId);
41523
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config/preview`.replace(
41524
+ `{${'gameServerId'}}`,
41525
+ encodeURIComponent(String(gameServerId)),
41526
+ );
41527
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41528
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41529
+ let baseOptions;
41530
+ if (configuration) {
41531
+ baseOptions = configuration.baseOptions;
41532
+ }
41533
+
41534
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
41535
+ const localVarHeaderParameter = {} as any;
41536
+ const localVarQueryParameter = {} as any;
41537
+
41538
+ // authentication domainAuth required
41539
+
41540
+ localVarHeaderParameter['Content-Type'] = 'application/json';
41541
+
41542
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41543
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41544
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
41545
+ localVarRequestOptions.data = serializeDataIfNeeded(
41546
+ storefrontConfigUpsertBody,
41547
+ localVarRequestOptions,
41548
+ configuration,
41549
+ );
41550
+
41551
+ return {
41552
+ url: toPathString(localVarUrlObj),
41553
+ options: localVarRequestOptions,
41554
+ };
41555
+ },
39657
41556
  /**
39658
41557
  * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
39659
41558
  * @summary Set config
@@ -39763,6 +41662,37 @@ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
39763
41662
  configuration,
39764
41663
  )(axios, localVarOperationServerBasePath || basePath);
39765
41664
  },
41665
+ /**
41666
+ * Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
41667
+ * @summary Preview config
41668
+ * @param {string} gameServerId
41669
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
41670
+ * @param {*} [options] Override http request option.
41671
+ * @throws {RequiredError}
41672
+ */
41673
+ async storefrontConfigControllerPreviewConfig(
41674
+ gameServerId: string,
41675
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
41676
+ options?: RawAxiosRequestConfig,
41677
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontPreviewOutputDTOAPI>> {
41678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerPreviewConfig(
41679
+ gameServerId,
41680
+ storefrontConfigUpsertBody,
41681
+ options,
41682
+ );
41683
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41684
+ const localVarOperationServerBasePath =
41685
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerPreviewConfig']?.[
41686
+ localVarOperationServerIndex
41687
+ ]?.url;
41688
+ return (axios, basePath) =>
41689
+ createRequestFunction(
41690
+ localVarAxiosArgs,
41691
+ globalAxios,
41692
+ BASE_PATH,
41693
+ configuration,
41694
+ )(axios, localVarOperationServerBasePath || basePath);
41695
+ },
39766
41696
  /**
39767
41697
  * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
39768
41698
  * @summary Set config
@@ -39833,6 +41763,23 @@ export const StorefrontConfigApiFactory = function (
39833
41763
  ): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
39834
41764
  return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
39835
41765
  },
41766
+ /**
41767
+ * Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
41768
+ * @summary Preview config
41769
+ * @param {string} gameServerId
41770
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
41771
+ * @param {*} [options] Override http request option.
41772
+ * @throws {RequiredError}
41773
+ */
41774
+ storefrontConfigControllerPreviewConfig(
41775
+ gameServerId: string,
41776
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
41777
+ options?: RawAxiosRequestConfig,
41778
+ ): AxiosPromise<StorefrontPreviewOutputDTOAPI> {
41779
+ return localVarFp
41780
+ .storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
41781
+ .then((request) => request(axios, basePath));
41782
+ },
39836
41783
  /**
39837
41784
  * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
39838
41785
  * @summary Set config
@@ -39887,6 +41834,25 @@ export class StorefrontConfigApi extends BaseAPI {
39887
41834
  .then((request) => request(this.axios, this.basePath));
39888
41835
  }
39889
41836
 
41837
+ /**
41838
+ * Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
41839
+ * @summary Preview config
41840
+ * @param {string} gameServerId
41841
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
41842
+ * @param {*} [options] Override http request option.
41843
+ * @throws {RequiredError}
41844
+ * @memberof StorefrontConfigApi
41845
+ */
41846
+ public storefrontConfigControllerPreviewConfig(
41847
+ gameServerId: string,
41848
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
41849
+ options?: RawAxiosRequestConfig,
41850
+ ) {
41851
+ return StorefrontConfigApiFp(this.configuration)
41852
+ .storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
41853
+ .then((request) => request(this.axios, this.basePath));
41854
+ }
41855
+
39890
41856
  /**
39891
41857
  * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
39892
41858
  * @summary Set config
@@ -40490,6 +42456,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
40490
42456
  options: localVarRequestOptions,
40491
42457
  };
40492
42458
  },
42459
+ /**
42460
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42461
+ * @summary Count billable dashboard users
42462
+ * @param {*} [options] Override http request option.
42463
+ * @throws {RequiredError}
42464
+ */
42465
+ userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42466
+ const localVarPath = `/user/count`;
42467
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42468
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42469
+ let baseOptions;
42470
+ if (configuration) {
42471
+ baseOptions = configuration.baseOptions;
42472
+ }
42473
+
42474
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
42475
+ const localVarHeaderParameter = {} as any;
42476
+ const localVarQueryParameter = {} as any;
42477
+
42478
+ // authentication domainAuth required
42479
+
42480
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42481
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42482
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42483
+
42484
+ return {
42485
+ url: toPathString(localVarUrlObj),
42486
+ options: localVarRequestOptions,
42487
+ };
42488
+ },
40493
42489
  /**
40494
42490
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
40495
42491
  * @summary Create
@@ -40595,6 +42591,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
40595
42591
  * @summary Invite
40596
42592
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
40597
42593
  * @param {*} [options] Override http request option.
42594
+ * @deprecated
40598
42595
  * @throws {RequiredError}
40599
42596
  */
40600
42597
  userControllerInvite: async (
@@ -40996,6 +42993,27 @@ export const UserApiFp = function (configuration?: Configuration) {
40996
42993
  configuration,
40997
42994
  )(axios, localVarOperationServerBasePath || basePath);
40998
42995
  },
42996
+ /**
42997
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42998
+ * @summary Count billable dashboard users
42999
+ * @param {*} [options] Override http request option.
43000
+ * @throws {RequiredError}
43001
+ */
43002
+ async userControllerCountBillableDashboardUsers(
43003
+ options?: RawAxiosRequestConfig,
43004
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
43005
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
43006
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43007
+ const localVarOperationServerBasePath =
43008
+ operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
43009
+ return (axios, basePath) =>
43010
+ createRequestFunction(
43011
+ localVarAxiosArgs,
43012
+ globalAxios,
43013
+ BASE_PATH,
43014
+ configuration,
43015
+ )(axios, localVarOperationServerBasePath || basePath);
43016
+ },
40999
43017
  /**
41000
43018
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41001
43019
  * @summary Create
@@ -41068,6 +43086,7 @@ export const UserApiFp = function (configuration?: Configuration) {
41068
43086
  * @summary Invite
41069
43087
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41070
43088
  * @param {*} [options] Override http request option.
43089
+ * @deprecated
41071
43090
  * @throws {RequiredError}
41072
43091
  */
41073
43092
  async userControllerInvite(
@@ -41325,6 +43344,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
41325
43344
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
41326
43345
  .then((request) => request(axios, basePath));
41327
43346
  },
43347
+ /**
43348
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
43349
+ * @summary Count billable dashboard users
43350
+ * @param {*} [options] Override http request option.
43351
+ * @throws {RequiredError}
43352
+ */
43353
+ userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
43354
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
43355
+ },
41328
43356
  /**
41329
43357
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41330
43358
  * @summary Create
@@ -41362,6 +43390,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
41362
43390
  * @summary Invite
41363
43391
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41364
43392
  * @param {*} [options] Override http request option.
43393
+ * @deprecated
41365
43394
  * @throws {RequiredError}
41366
43395
  */
41367
43396
  userControllerInvite(
@@ -41503,6 +43532,19 @@ export class UserApi extends BaseAPI {
41503
43532
  .then((request) => request(this.axios, this.basePath));
41504
43533
  }
41505
43534
 
43535
+ /**
43536
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
43537
+ * @summary Count billable dashboard users
43538
+ * @param {*} [options] Override http request option.
43539
+ * @throws {RequiredError}
43540
+ * @memberof UserApi
43541
+ */
43542
+ public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
43543
+ return UserApiFp(this.configuration)
43544
+ .userControllerCountBillableDashboardUsers(options)
43545
+ .then((request) => request(this.axios, this.basePath));
43546
+ }
43547
+
41506
43548
  /**
41507
43549
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41508
43550
  * @summary Create
@@ -41549,6 +43591,7 @@ export class UserApi extends BaseAPI {
41549
43591
  * @summary Invite
41550
43592
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41551
43593
  * @param {*} [options] Override http request option.
43594
+ * @deprecated
41552
43595
  * @throws {RequiredError}
41553
43596
  * @memberof UserApi
41554
43597
  */
@@ -41694,6 +43737,47 @@ export class UserApi extends BaseAPI {
41694
43737
  */
41695
43738
  export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
41696
43739
  return {
43740
+ /**
43741
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
43742
+ * @summary Bulk delete
43743
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
43744
+ * @param {*} [options] Override http request option.
43745
+ * @throws {RequiredError}
43746
+ */
43747
+ variableControllerBulkDelete: async (
43748
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
43749
+ options: RawAxiosRequestConfig = {},
43750
+ ): Promise<RequestArgs> => {
43751
+ const localVarPath = `/variables`;
43752
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43753
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43754
+ let baseOptions;
43755
+ if (configuration) {
43756
+ baseOptions = configuration.baseOptions;
43757
+ }
43758
+
43759
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
43760
+ const localVarHeaderParameter = {} as any;
43761
+ const localVarQueryParameter = {} as any;
43762
+
43763
+ // authentication domainAuth required
43764
+
43765
+ localVarHeaderParameter['Content-Type'] = 'application/json';
43766
+
43767
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43768
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43769
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
43770
+ localVarRequestOptions.data = serializeDataIfNeeded(
43771
+ variableBulkDeleteInputDTO,
43772
+ localVarRequestOptions,
43773
+ configuration,
43774
+ );
43775
+
43776
+ return {
43777
+ url: toPathString(localVarUrlObj),
43778
+ options: localVarRequestOptions,
43779
+ };
43780
+ },
41697
43781
  /**
41698
43782
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
41699
43783
  * @summary Create
@@ -41889,6 +43973,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
41889
43973
  export const VariableApiFp = function (configuration?: Configuration) {
41890
43974
  const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
41891
43975
  return {
43976
+ /**
43977
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
43978
+ * @summary Bulk delete
43979
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
43980
+ * @param {*} [options] Override http request option.
43981
+ * @throws {RequiredError}
43982
+ */
43983
+ async variableControllerBulkDelete(
43984
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
43985
+ options?: RawAxiosRequestConfig,
43986
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
43987
+ const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(
43988
+ variableBulkDeleteInputDTO,
43989
+ options,
43990
+ );
43991
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43992
+ const localVarOperationServerBasePath =
43993
+ operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
43994
+ return (axios, basePath) =>
43995
+ createRequestFunction(
43996
+ localVarAxiosArgs,
43997
+ globalAxios,
43998
+ BASE_PATH,
43999
+ configuration,
44000
+ )(axios, localVarOperationServerBasePath || basePath);
44001
+ },
41892
44002
  /**
41893
44003
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
41894
44004
  * @summary Create
@@ -42023,6 +44133,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
42023
44133
  export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
42024
44134
  const localVarFp = VariableApiFp(configuration);
42025
44135
  return {
44136
+ /**
44137
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
44138
+ * @summary Bulk delete
44139
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
44140
+ * @param {*} [options] Override http request option.
44141
+ * @throws {RequiredError}
44142
+ */
44143
+ variableControllerBulkDelete(
44144
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
44145
+ options?: RawAxiosRequestConfig,
44146
+ ): AxiosPromise<BulkActionResultDTOAPI> {
44147
+ return localVarFp
44148
+ .variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
44149
+ .then((request) => request(axios, basePath));
44150
+ },
42026
44151
  /**
42027
44152
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42028
44153
  * @summary Create
@@ -42100,6 +44225,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
42100
44225
  * @extends {BaseAPI}
42101
44226
  */
42102
44227
  export class VariableApi extends BaseAPI {
44228
+ /**
44229
+ * Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
44230
+ * @summary Bulk delete
44231
+ * @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
44232
+ * @param {*} [options] Override http request option.
44233
+ * @throws {RequiredError}
44234
+ * @memberof VariableApi
44235
+ */
44236
+ public variableControllerBulkDelete(
44237
+ variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
44238
+ options?: RawAxiosRequestConfig,
44239
+ ) {
44240
+ return VariableApiFp(this.configuration)
44241
+ .variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
44242
+ .then((request) => request(this.axios, this.basePath));
44243
+ }
44244
+
42103
44245
  /**
42104
44246
  * Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
42105
44247
  * @summary Create