@takaro/apiclient 0.0.0-dev.f67f37d → 0.0.0-dev.f68f0a8

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.
@@ -2264,6 +2264,30 @@ export interface DomainCreateInputDTO {
2264
2264
  * @memberof DomainCreateInputDTO
2265
2265
  */
2266
2266
  maxFunctionsInModule?: number;
2267
+ /**
2268
+ *
2269
+ * @type {number}
2270
+ * @memberof DomainCreateInputDTO
2271
+ */
2272
+ maxCustomRoles?: number;
2273
+ /**
2274
+ *
2275
+ * @type {number}
2276
+ * @memberof DomainCreateInputDTO
2277
+ */
2278
+ maxDiscordLinkedRoles?: number;
2279
+ /**
2280
+ *
2281
+ * @type {boolean}
2282
+ * @memberof DomainCreateInputDTO
2283
+ */
2284
+ skipBuiltinSeeding?: boolean;
2285
+ /**
2286
+ *
2287
+ * @type {string}
2288
+ * @memberof DomainCreateInputDTO
2289
+ */
2290
+ serverRegistrationToken?: string;
2267
2291
  }
2268
2292
 
2269
2293
  export const DomainCreateInputDTOStateEnum = {
@@ -2422,6 +2446,18 @@ export interface DomainOutputDTO {
2422
2446
  * @memberof DomainOutputDTO
2423
2447
  */
2424
2448
  maxFunctionsInModule: number;
2449
+ /**
2450
+ *
2451
+ * @type {number}
2452
+ * @memberof DomainOutputDTO
2453
+ */
2454
+ maxCustomRoles: number;
2455
+ /**
2456
+ *
2457
+ * @type {number}
2458
+ * @memberof DomainOutputDTO
2459
+ */
2460
+ maxDiscordLinkedRoles: number;
2425
2461
  /**
2426
2462
  *
2427
2463
  * @type {string}
@@ -2653,6 +2689,18 @@ export interface DomainUpdateInputDTO {
2653
2689
  * @memberof DomainUpdateInputDTO
2654
2690
  */
2655
2691
  maxFunctionsInModule?: number;
2692
+ /**
2693
+ *
2694
+ * @type {number}
2695
+ * @memberof DomainUpdateInputDTO
2696
+ */
2697
+ maxCustomRoles?: number;
2698
+ /**
2699
+ *
2700
+ * @type {number}
2701
+ * @memberof DomainUpdateInputDTO
2702
+ */
2703
+ maxDiscordLinkedRoles?: number;
2656
2704
  }
2657
2705
 
2658
2706
  export const DomainUpdateInputDTOStateEnum = {
@@ -3105,19 +3153,19 @@ export interface ErrorOutput {
3105
3153
  * @type {string}
3106
3154
  * @memberof ErrorOutput
3107
3155
  */
3108
- code: string;
3156
+ code?: string;
3109
3157
  /**
3110
3158
  *
3111
3159
  * @type {string}
3112
3160
  * @memberof ErrorOutput
3113
3161
  */
3114
- message: string;
3162
+ message?: string;
3115
3163
  /**
3116
3164
  *
3117
3165
  * @type {string}
3118
3166
  * @memberof ErrorOutput
3119
3167
  */
3120
- details: string;
3168
+ details?: string;
3121
3169
  }
3122
3170
  /**
3123
3171
  *
@@ -3130,7 +3178,7 @@ export interface EventChatMessage {
3130
3178
  * @type {IGamePlayer}
3131
3179
  * @memberof EventChatMessage
3132
3180
  */
3133
- player: IGamePlayer;
3181
+ player?: IGamePlayer;
3134
3182
  /**
3135
3183
  *
3136
3184
  * @type {string}
@@ -3263,6 +3311,7 @@ export const EventCreateDTOEventNameEnum = {
3263
3311
  PlayerInventoryChanged: 'player-inventory-changed',
3264
3312
  EventRateLimited: 'event-rate-limited',
3265
3313
  PlayerSyncSnapshot: 'player-sync-snapshot',
3314
+ InviteLinkCreated: 'invite-link-created',
3266
3315
  PlayerConnected: 'player-connected',
3267
3316
  PlayerDisconnected: 'player-disconnected',
3268
3317
  ChatMessage: 'chat-message',
@@ -3481,6 +3530,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
3481
3530
  PlayerInventoryChanged: 'player-inventory-changed',
3482
3531
  EventRateLimited: 'event-rate-limited',
3483
3532
  PlayerSyncSnapshot: 'player-sync-snapshot',
3533
+ InviteLinkCreated: 'invite-link-created',
3484
3534
  PlayerConnected: 'player-connected',
3485
3535
  PlayerDisconnected: 'player-disconnected',
3486
3536
  ChatMessage: 'chat-message',
@@ -3851,6 +3901,7 @@ export const EventOutputDTOEventNameEnum = {
3851
3901
  PlayerInventoryChanged: 'player-inventory-changed',
3852
3902
  EventRateLimited: 'event-rate-limited',
3853
3903
  PlayerSyncSnapshot: 'player-sync-snapshot',
3904
+ InviteLinkCreated: 'invite-link-created',
3854
3905
  PlayerConnected: 'player-connected',
3855
3906
  PlayerDisconnected: 'player-disconnected',
3856
3907
  ChatMessage: 'chat-message',
@@ -3883,6 +3934,7 @@ export type EventOutputDTOMeta =
3883
3934
  | TakaroEventGameserverDeleted
3884
3935
  | TakaroEventGameserverUpdated
3885
3936
  | TakaroEventHookExecuted
3937
+ | TakaroEventInviteLinkCreated
3886
3938
  | TakaroEventModuleCreated
3887
3939
  | TakaroEventModuleDeleted
3888
3940
  | TakaroEventModuleInstalled
@@ -4090,6 +4142,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
4090
4142
  PlayerInventoryChanged: 'player-inventory-changed',
4091
4143
  EventRateLimited: 'event-rate-limited',
4092
4144
  PlayerSyncSnapshot: 'player-sync-snapshot',
4145
+ InviteLinkCreated: 'invite-link-created',
4093
4146
  PlayerConnected: 'player-connected',
4094
4147
  PlayerDisconnected: 'player-disconnected',
4095
4148
  ChatMessage: 'chat-message',
@@ -5584,6 +5637,7 @@ export const HookCreateDTOEventTypeEnum = {
5584
5637
  PlayerInventoryChanged: 'player-inventory-changed',
5585
5638
  EventRateLimited: 'event-rate-limited',
5586
5639
  PlayerSyncSnapshot: 'player-sync-snapshot',
5640
+ InviteLinkCreated: 'invite-link-created',
5587
5641
  } as const;
5588
5642
 
5589
5643
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -5747,6 +5801,7 @@ export const HookOutputDTOEventTypeEnum = {
5747
5801
  PlayerInventoryChanged: 'player-inventory-changed',
5748
5802
  EventRateLimited: 'event-rate-limited',
5749
5803
  PlayerSyncSnapshot: 'player-sync-snapshot',
5804
+ InviteLinkCreated: 'invite-link-created',
5750
5805
  } as const;
5751
5806
 
5752
5807
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -5855,6 +5910,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
5855
5910
  PlayerInventoryChanged: 'player-inventory-changed',
5856
5911
  EventRateLimited: 'event-rate-limited',
5857
5912
  PlayerSyncSnapshot: 'player-sync-snapshot',
5913
+ InviteLinkCreated: 'invite-link-created',
5858
5914
  } as const;
5859
5915
 
5860
5916
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -6035,6 +6091,7 @@ export const HookTriggerDTOEventTypeEnum = {
6035
6091
  PlayerInventoryChanged: 'player-inventory-changed',
6036
6092
  EventRateLimited: 'event-rate-limited',
6037
6093
  PlayerSyncSnapshot: 'player-sync-snapshot',
6094
+ InviteLinkCreated: 'invite-link-created',
6038
6095
  } as const;
6039
6096
 
6040
6097
  export type HookTriggerDTOEventTypeEnum =
@@ -6125,6 +6182,7 @@ export const HookUpdateDTOEventTypeEnum = {
6125
6182
  PlayerInventoryChanged: 'player-inventory-changed',
6126
6183
  EventRateLimited: 'event-rate-limited',
6127
6184
  PlayerSyncSnapshot: 'player-sync-snapshot',
6185
+ InviteLinkCreated: 'invite-link-created',
6128
6186
  } as const;
6129
6187
 
6130
6188
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -6457,6 +6515,7 @@ export const IHookEventTypeEnum = {
6457
6515
  PlayerInventoryChanged: 'player-inventory-changed',
6458
6516
  EventRateLimited: 'event-rate-limited',
6459
6517
  PlayerSyncSnapshot: 'player-sync-snapshot',
6518
+ InviteLinkCreated: 'invite-link-created',
6460
6519
  } as const;
6461
6520
 
6462
6521
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -6886,6 +6945,462 @@ export interface InviteCreateDTO {
6886
6945
  */
6887
6946
  email: string;
6888
6947
  }
6948
+ /**
6949
+ *
6950
+ * @export
6951
+ * @interface InviteLinkCreateInputDTO
6952
+ */
6953
+ export interface InviteLinkCreateInputDTO {
6954
+ /**
6955
+ *
6956
+ * @type {Array<string>}
6957
+ * @memberof InviteLinkCreateInputDTO
6958
+ */
6959
+ roleIds?: Array<string>;
6960
+ /**
6961
+ *
6962
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6963
+ * @memberof InviteLinkCreateInputDTO
6964
+ */
6965
+ expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6966
+ /**
6967
+ *
6968
+ * @type {number}
6969
+ * @memberof InviteLinkCreateInputDTO
6970
+ */
6971
+ maxUses?: number;
6972
+ }
6973
+ /**
6974
+ *
6975
+ * @export
6976
+ * @interface InviteLinkCreateResultDTO
6977
+ */
6978
+ export interface InviteLinkCreateResultDTO {
6979
+ /**
6980
+ *
6981
+ * @type {string}
6982
+ * @memberof InviteLinkCreateResultDTO
6983
+ */
6984
+ inviteUrl: string;
6985
+ /**
6986
+ *
6987
+ * @type {string}
6988
+ * @memberof InviteLinkCreateResultDTO
6989
+ */
6990
+ token: string;
6991
+ /**
6992
+ *
6993
+ * @type {string}
6994
+ * @memberof InviteLinkCreateResultDTO
6995
+ */
6996
+ id: string;
6997
+ /**
6998
+ *
6999
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7000
+ * @memberof InviteLinkCreateResultDTO
7001
+ */
7002
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7003
+ /**
7004
+ *
7005
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7006
+ * @memberof InviteLinkCreateResultDTO
7007
+ */
7008
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7009
+ /**
7010
+ *
7011
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7012
+ * @memberof InviteLinkCreateResultDTO
7013
+ */
7014
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7015
+ /**
7016
+ *
7017
+ * @type {number}
7018
+ * @memberof InviteLinkCreateResultDTO
7019
+ */
7020
+ maxUses?: number;
7021
+ /**
7022
+ *
7023
+ * @type {number}
7024
+ * @memberof InviteLinkCreateResultDTO
7025
+ */
7026
+ uses: number;
7027
+ /**
7028
+ *
7029
+ * @type {number}
7030
+ * @memberof InviteLinkCreateResultDTO
7031
+ */
7032
+ remaining?: number;
7033
+ /**
7034
+ *
7035
+ * @type {string}
7036
+ * @memberof InviteLinkCreateResultDTO
7037
+ */
7038
+ status: InviteLinkCreateResultDTOStatusEnum;
7039
+ /**
7040
+ *
7041
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7042
+ * @memberof InviteLinkCreateResultDTO
7043
+ */
7044
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7045
+ /**
7046
+ *
7047
+ * @type {string}
7048
+ * @memberof InviteLinkCreateResultDTO
7049
+ */
7050
+ createdBy?: string;
7051
+ /**
7052
+ *
7053
+ * @type {Array<InviteLinkRoleDTO>}
7054
+ * @memberof InviteLinkCreateResultDTO
7055
+ */
7056
+ roles: Array<InviteLinkRoleDTO>;
7057
+ }
7058
+
7059
+ export const InviteLinkCreateResultDTOStatusEnum = {
7060
+ Active: 'ACTIVE',
7061
+ Revoked: 'REVOKED',
7062
+ Expired: 'EXPIRED',
7063
+ Depleted: 'DEPLETED',
7064
+ } as const;
7065
+
7066
+ export type InviteLinkCreateResultDTOStatusEnum =
7067
+ (typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
7068
+
7069
+ /**
7070
+ *
7071
+ * @export
7072
+ * @interface InviteLinkCreateResultDTOAPI
7073
+ */
7074
+ export interface InviteLinkCreateResultDTOAPI {
7075
+ /**
7076
+ *
7077
+ * @type {InviteLinkCreateResultDTO}
7078
+ * @memberof InviteLinkCreateResultDTOAPI
7079
+ */
7080
+ data: InviteLinkCreateResultDTO;
7081
+ /**
7082
+ *
7083
+ * @type {MetadataOutput}
7084
+ * @memberof InviteLinkCreateResultDTOAPI
7085
+ */
7086
+ meta: MetadataOutput;
7087
+ }
7088
+ /**
7089
+ *
7090
+ * @export
7091
+ * @interface InviteLinkOutputArrayDTOAPI
7092
+ */
7093
+ export interface InviteLinkOutputArrayDTOAPI {
7094
+ /**
7095
+ *
7096
+ * @type {Array<InviteLinkOutputDTO>}
7097
+ * @memberof InviteLinkOutputArrayDTOAPI
7098
+ */
7099
+ data: Array<InviteLinkOutputDTO>;
7100
+ /**
7101
+ *
7102
+ * @type {MetadataOutput}
7103
+ * @memberof InviteLinkOutputArrayDTOAPI
7104
+ */
7105
+ meta: MetadataOutput;
7106
+ }
7107
+ /**
7108
+ *
7109
+ * @export
7110
+ * @interface InviteLinkOutputDTO
7111
+ */
7112
+ export interface InviteLinkOutputDTO {
7113
+ /**
7114
+ *
7115
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7116
+ * @memberof InviteLinkOutputDTO
7117
+ */
7118
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7119
+ /**
7120
+ *
7121
+ * @type {number}
7122
+ * @memberof InviteLinkOutputDTO
7123
+ */
7124
+ maxUses?: number;
7125
+ /**
7126
+ *
7127
+ * @type {number}
7128
+ * @memberof InviteLinkOutputDTO
7129
+ */
7130
+ uses: number;
7131
+ /**
7132
+ *
7133
+ * @type {number}
7134
+ * @memberof InviteLinkOutputDTO
7135
+ */
7136
+ remaining?: number;
7137
+ /**
7138
+ *
7139
+ * @type {string}
7140
+ * @memberof InviteLinkOutputDTO
7141
+ */
7142
+ status: InviteLinkOutputDTOStatusEnum;
7143
+ /**
7144
+ *
7145
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7146
+ * @memberof InviteLinkOutputDTO
7147
+ */
7148
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7149
+ /**
7150
+ *
7151
+ * @type {string}
7152
+ * @memberof InviteLinkOutputDTO
7153
+ */
7154
+ createdBy?: string;
7155
+ /**
7156
+ *
7157
+ * @type {Array<InviteLinkRoleDTO>}
7158
+ * @memberof InviteLinkOutputDTO
7159
+ */
7160
+ roles: Array<InviteLinkRoleDTO>;
7161
+ /**
7162
+ *
7163
+ * @type {string}
7164
+ * @memberof InviteLinkOutputDTO
7165
+ */
7166
+ id: string;
7167
+ /**
7168
+ *
7169
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7170
+ * @memberof InviteLinkOutputDTO
7171
+ */
7172
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7173
+ /**
7174
+ *
7175
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7176
+ * @memberof InviteLinkOutputDTO
7177
+ */
7178
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7179
+ }
7180
+
7181
+ export const InviteLinkOutputDTOStatusEnum = {
7182
+ Active: 'ACTIVE',
7183
+ Revoked: 'REVOKED',
7184
+ Expired: 'EXPIRED',
7185
+ Depleted: 'DEPLETED',
7186
+ } as const;
7187
+
7188
+ export type InviteLinkOutputDTOStatusEnum =
7189
+ (typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
7190
+
7191
+ /**
7192
+ *
7193
+ * @export
7194
+ * @interface InviteLinkOutputDTOAPI
7195
+ */
7196
+ export interface InviteLinkOutputDTOAPI {
7197
+ /**
7198
+ *
7199
+ * @type {InviteLinkOutputDTO}
7200
+ * @memberof InviteLinkOutputDTOAPI
7201
+ */
7202
+ data: InviteLinkOutputDTO;
7203
+ /**
7204
+ *
7205
+ * @type {MetadataOutput}
7206
+ * @memberof InviteLinkOutputDTOAPI
7207
+ */
7208
+ meta: MetadataOutput;
7209
+ }
7210
+ /**
7211
+ *
7212
+ * @export
7213
+ * @interface InviteLinkPreviewDTO
7214
+ */
7215
+ export interface InviteLinkPreviewDTO {
7216
+ /**
7217
+ *
7218
+ * @type {InviteLinkPreviewDomainDTO}
7219
+ * @memberof InviteLinkPreviewDTO
7220
+ */
7221
+ domain: InviteLinkPreviewDomainDTO;
7222
+ /**
7223
+ *
7224
+ * @type {Array<InviteLinkPreviewRoleDTO>}
7225
+ * @memberof InviteLinkPreviewDTO
7226
+ */
7227
+ roles: Array<InviteLinkPreviewRoleDTO>;
7228
+ /**
7229
+ *
7230
+ * @type {string}
7231
+ * @memberof InviteLinkPreviewDTO
7232
+ */
7233
+ status: InviteLinkPreviewDTOStatusEnum;
7234
+ /**
7235
+ *
7236
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7237
+ * @memberof InviteLinkPreviewDTO
7238
+ */
7239
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7240
+ /**
7241
+ *
7242
+ * @type {number}
7243
+ * @memberof InviteLinkPreviewDTO
7244
+ */
7245
+ remaining?: number;
7246
+ }
7247
+
7248
+ export const InviteLinkPreviewDTOStatusEnum = {
7249
+ Active: 'ACTIVE',
7250
+ Revoked: 'REVOKED',
7251
+ Expired: 'EXPIRED',
7252
+ Depleted: 'DEPLETED',
7253
+ } as const;
7254
+
7255
+ export type InviteLinkPreviewDTOStatusEnum =
7256
+ (typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
7257
+
7258
+ /**
7259
+ *
7260
+ * @export
7261
+ * @interface InviteLinkPreviewDTOAPI
7262
+ */
7263
+ export interface InviteLinkPreviewDTOAPI {
7264
+ /**
7265
+ *
7266
+ * @type {InviteLinkPreviewDTO}
7267
+ * @memberof InviteLinkPreviewDTOAPI
7268
+ */
7269
+ data: InviteLinkPreviewDTO;
7270
+ /**
7271
+ *
7272
+ * @type {MetadataOutput}
7273
+ * @memberof InviteLinkPreviewDTOAPI
7274
+ */
7275
+ meta: MetadataOutput;
7276
+ }
7277
+ /**
7278
+ *
7279
+ * @export
7280
+ * @interface InviteLinkPreviewDomainDTO
7281
+ */
7282
+ export interface InviteLinkPreviewDomainDTO {
7283
+ /**
7284
+ *
7285
+ * @type {string}
7286
+ * @memberof InviteLinkPreviewDomainDTO
7287
+ */
7288
+ id: string;
7289
+ /**
7290
+ *
7291
+ * @type {string}
7292
+ * @memberof InviteLinkPreviewDomainDTO
7293
+ */
7294
+ name: string;
7295
+ }
7296
+ /**
7297
+ *
7298
+ * @export
7299
+ * @interface InviteLinkPreviewRoleDTO
7300
+ */
7301
+ export interface InviteLinkPreviewRoleDTO {
7302
+ /**
7303
+ *
7304
+ * @type {string}
7305
+ * @memberof InviteLinkPreviewRoleDTO
7306
+ */
7307
+ id: string;
7308
+ /**
7309
+ *
7310
+ * @type {string}
7311
+ * @memberof InviteLinkPreviewRoleDTO
7312
+ */
7313
+ name: string;
7314
+ }
7315
+ /**
7316
+ *
7317
+ * @export
7318
+ * @interface InviteLinkRoleDTO
7319
+ */
7320
+ export interface InviteLinkRoleDTO {
7321
+ /**
7322
+ *
7323
+ * @type {string}
7324
+ * @memberof InviteLinkRoleDTO
7325
+ */
7326
+ roleId: string;
7327
+ /**
7328
+ *
7329
+ * @type {string}
7330
+ * @memberof InviteLinkRoleDTO
7331
+ */
7332
+ name: string;
7333
+ }
7334
+ /**
7335
+ *
7336
+ * @export
7337
+ * @interface InviteLinkSearchInputDTO
7338
+ */
7339
+ export interface InviteLinkSearchInputDTO {
7340
+ /**
7341
+ *
7342
+ * @type {string}
7343
+ * @memberof InviteLinkSearchInputDTO
7344
+ */
7345
+ sortBy?: string;
7346
+ /**
7347
+ *
7348
+ * @type {any}
7349
+ * @memberof InviteLinkSearchInputDTO
7350
+ */
7351
+ filters?: any;
7352
+ /**
7353
+ *
7354
+ * @type {any}
7355
+ * @memberof InviteLinkSearchInputDTO
7356
+ */
7357
+ search?: any;
7358
+ /**
7359
+ *
7360
+ * @type {any}
7361
+ * @memberof InviteLinkSearchInputDTO
7362
+ */
7363
+ greaterThan?: any;
7364
+ /**
7365
+ *
7366
+ * @type {any}
7367
+ * @memberof InviteLinkSearchInputDTO
7368
+ */
7369
+ lessThan?: any;
7370
+ /**
7371
+ *
7372
+ * @type {number}
7373
+ * @memberof InviteLinkSearchInputDTO
7374
+ */
7375
+ page?: number;
7376
+ /**
7377
+ *
7378
+ * @type {number}
7379
+ * @memberof InviteLinkSearchInputDTO
7380
+ */
7381
+ limit?: number;
7382
+ /**
7383
+ *
7384
+ * @type {string}
7385
+ * @memberof InviteLinkSearchInputDTO
7386
+ */
7387
+ sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
7388
+ /**
7389
+ *
7390
+ * @type {Array<string>}
7391
+ * @memberof InviteLinkSearchInputDTO
7392
+ */
7393
+ extend?: Array<string>;
7394
+ }
7395
+
7396
+ export const InviteLinkSearchInputDTOSortDirectionEnum = {
7397
+ Asc: 'asc',
7398
+ Desc: 'desc',
7399
+ } as const;
7400
+
7401
+ export type InviteLinkSearchInputDTOSortDirectionEnum =
7402
+ (typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
7403
+
6889
7404
  /**
6890
7405
  *
6891
7406
  * @export
@@ -7811,7 +8326,7 @@ export interface MetadataOutput {
7811
8326
  * @type {ErrorOutput}
7812
8327
  * @memberof MetadataOutput
7813
8328
  */
7814
- error: ErrorOutput;
8329
+ error?: ErrorOutput;
7815
8330
  /**
7816
8331
  *
7817
8332
  * @type {number}
@@ -12079,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
12079
12594
 
12080
12595
  export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
12081
12596
 
12597
+ /**
12598
+ *
12599
+ * @export
12600
+ * @interface RedeemInputDTO
12601
+ */
12602
+ export interface RedeemInputDTO {
12603
+ /**
12604
+ *
12605
+ * @type {string}
12606
+ * @memberof RedeemInputDTO
12607
+ */
12608
+ token: string;
12609
+ }
12082
12610
  /**
12083
12611
  *
12084
12612
  * @export
@@ -12090,7 +12618,7 @@ export interface RedirectQs {
12090
12618
  * @type {string}
12091
12619
  * @memberof RedirectQs
12092
12620
  */
12093
- redirect: string;
12621
+ redirect?: string;
12094
12622
  }
12095
12623
  /**
12096
12624
  *
@@ -12891,7 +13419,7 @@ export interface RoleUpdateInputDTO {
12891
13419
  * @type {string}
12892
13420
  * @memberof RoleUpdateInputDTO
12893
13421
  */
12894
- linkedDiscordRoleId?: string;
13422
+ linkedDiscordRoleId?: string | null;
12895
13423
  }
12896
13424
  /**
12897
13425
  *
@@ -14097,6 +14625,25 @@ export interface ShopDeadStockItemDTO {
14097
14625
  */
14098
14626
  daysSinceLastSale?: number;
14099
14627
  }
14628
+ /**
14629
+ *
14630
+ * @export
14631
+ * @interface ShopImportFailureDTO
14632
+ */
14633
+ export interface ShopImportFailureDTO {
14634
+ /**
14635
+ *
14636
+ * @type {string}
14637
+ * @memberof ShopImportFailureDTO
14638
+ */
14639
+ name: string;
14640
+ /**
14641
+ *
14642
+ * @type {string}
14643
+ * @memberof ShopImportFailureDTO
14644
+ */
14645
+ reason: string;
14646
+ }
14100
14647
  /**
14101
14648
  *
14102
14649
  * @export
@@ -14122,6 +14669,44 @@ export interface ShopImportOptions {
14122
14669
  */
14123
14670
  gameServerId: string;
14124
14671
  }
14672
+ /**
14673
+ *
14674
+ * @export
14675
+ * @interface ShopImportResultDTO
14676
+ */
14677
+ export interface ShopImportResultDTO {
14678
+ /**
14679
+ *
14680
+ * @type {number}
14681
+ * @memberof ShopImportResultDTO
14682
+ */
14683
+ imported: number;
14684
+ /**
14685
+ *
14686
+ * @type {Array<ShopImportFailureDTO>}
14687
+ * @memberof ShopImportResultDTO
14688
+ */
14689
+ failed: Array<ShopImportFailureDTO>;
14690
+ }
14691
+ /**
14692
+ *
14693
+ * @export
14694
+ * @interface ShopImportResultDTOAPI
14695
+ */
14696
+ export interface ShopImportResultDTOAPI {
14697
+ /**
14698
+ *
14699
+ * @type {ShopImportResultDTO}
14700
+ * @memberof ShopImportResultDTOAPI
14701
+ */
14702
+ data: ShopImportResultDTO;
14703
+ /**
14704
+ *
14705
+ * @type {MetadataOutput}
14706
+ * @memberof ShopImportResultDTOAPI
14707
+ */
14708
+ meta: MetadataOutput;
14709
+ }
14125
14710
  /**
14126
14711
  *
14127
14712
  * @export
@@ -15754,6 +16339,49 @@ export interface TakaroEventHookExecuted {
15754
16339
  */
15755
16340
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15756
16341
  }
16342
+ /**
16343
+ *
16344
+ * @export
16345
+ * @interface TakaroEventInviteLinkCreated
16346
+ */
16347
+ export interface TakaroEventInviteLinkCreated {
16348
+ /**
16349
+ *
16350
+ * @type {string}
16351
+ * @memberof TakaroEventInviteLinkCreated
16352
+ */
16353
+ inviteLinkId: string;
16354
+ /**
16355
+ *
16356
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16357
+ * @memberof TakaroEventInviteLinkCreated
16358
+ */
16359
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16360
+ /**
16361
+ *
16362
+ * @type {number}
16363
+ * @memberof TakaroEventInviteLinkCreated
16364
+ */
16365
+ maxUses: number;
16366
+ /**
16367
+ *
16368
+ * @type {Array<string>}
16369
+ * @memberof TakaroEventInviteLinkCreated
16370
+ */
16371
+ roleIds: Array<string>;
16372
+ /**
16373
+ *
16374
+ * @type {boolean}
16375
+ * @memberof TakaroEventInviteLinkCreated
16376
+ */
16377
+ staffOrigin: boolean;
16378
+ /**
16379
+ *
16380
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16381
+ * @memberof TakaroEventInviteLinkCreated
16382
+ */
16383
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16384
+ }
15757
16385
  /**
15758
16386
  *
15759
16387
  * @export
@@ -17043,6 +17671,38 @@ export interface UserAssignmentOutputDTO {
17043
17671
  */
17044
17672
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17045
17673
  }
17674
+ /**
17675
+ *
17676
+ * @export
17677
+ * @interface UserCountOutputDTO
17678
+ */
17679
+ export interface UserCountOutputDTO {
17680
+ /**
17681
+ *
17682
+ * @type {number}
17683
+ * @memberof UserCountOutputDTO
17684
+ */
17685
+ count: number;
17686
+ }
17687
+ /**
17688
+ *
17689
+ * @export
17690
+ * @interface UserCountOutputDTOAPI
17691
+ */
17692
+ export interface UserCountOutputDTOAPI {
17693
+ /**
17694
+ *
17695
+ * @type {UserCountOutputDTO}
17696
+ * @memberof UserCountOutputDTOAPI
17697
+ */
17698
+ data: UserCountOutputDTO;
17699
+ /**
17700
+ *
17701
+ * @type {MetadataOutput}
17702
+ * @memberof UserCountOutputDTOAPI
17703
+ */
17704
+ meta: MetadataOutput;
17705
+ }
17046
17706
  /**
17047
17707
  *
17048
17708
  * @export
@@ -17080,6 +17740,37 @@ export interface UserCreateInputDTO {
17080
17740
  */
17081
17741
  isDashboardUser?: boolean;
17082
17742
  }
17743
+ /**
17744
+ *
17745
+ * @export
17746
+ * @interface UserCreateInviteDTO
17747
+ */
17748
+ export interface UserCreateInviteDTO {
17749
+ /**
17750
+ *
17751
+ * @type {string}
17752
+ * @memberof UserCreateInviteDTO
17753
+ */
17754
+ name: string;
17755
+ /**
17756
+ *
17757
+ * @type {string}
17758
+ * @memberof UserCreateInviteDTO
17759
+ */
17760
+ email: string;
17761
+ /**
17762
+ *
17763
+ * @type {string}
17764
+ * @memberof UserCreateInviteDTO
17765
+ */
17766
+ idpId?: string;
17767
+ /**
17768
+ *
17769
+ * @type {boolean}
17770
+ * @memberof UserCreateInviteDTO
17771
+ */
17772
+ isDashboardUser?: boolean;
17773
+ }
17083
17774
  /**
17084
17775
  *
17085
17776
  * @export
@@ -17183,13 +17874,25 @@ export interface UserOutputDTO {
17183
17874
  * @type {PlayerOutputWithRolesDTO}
17184
17875
  * @memberof UserOutputDTO
17185
17876
  */
17186
- player: PlayerOutputWithRolesDTO;
17877
+ player?: PlayerOutputWithRolesDTO;
17187
17878
  /**
17188
17879
  *
17189
17880
  * @type {boolean}
17190
17881
  * @memberof UserOutputDTO
17191
17882
  */
17192
17883
  isDashboardUser: boolean;
17884
+ /**
17885
+ *
17886
+ * @type {boolean}
17887
+ * @memberof UserOutputDTO
17888
+ */
17889
+ isSupportAccount: boolean;
17890
+ /**
17891
+ *
17892
+ * @type {string}
17893
+ * @memberof UserOutputDTO
17894
+ */
17895
+ inviteLinkId?: string;
17193
17896
  /**
17194
17897
  *
17195
17898
  * @type {string}
@@ -17299,13 +18002,44 @@ export interface UserOutputWithRolesDTO {
17299
18002
  * @type {PlayerOutputWithRolesDTO}
17300
18003
  * @memberof UserOutputWithRolesDTO
17301
18004
  */
17302
- player: PlayerOutputWithRolesDTO;
18005
+ player?: PlayerOutputWithRolesDTO;
17303
18006
  /**
17304
18007
  *
17305
18008
  * @type {boolean}
17306
18009
  * @memberof UserOutputWithRolesDTO
17307
18010
  */
17308
18011
  isDashboardUser: boolean;
18012
+ /**
18013
+ *
18014
+ * @type {boolean}
18015
+ * @memberof UserOutputWithRolesDTO
18016
+ */
18017
+ isSupportAccount: boolean;
18018
+ /**
18019
+ *
18020
+ * @type {string}
18021
+ * @memberof UserOutputWithRolesDTO
18022
+ */
18023
+ inviteLinkId?: string;
18024
+ }
18025
+ /**
18026
+ *
18027
+ * @export
18028
+ * @interface UserOutputWithRolesDTOAPI
18029
+ */
18030
+ export interface UserOutputWithRolesDTOAPI {
18031
+ /**
18032
+ *
18033
+ * @type {UserOutputWithRolesDTO}
18034
+ * @memberof UserOutputWithRolesDTOAPI
18035
+ */
18036
+ data: UserOutputWithRolesDTO;
18037
+ /**
18038
+ *
18039
+ * @type {MetadataOutput}
18040
+ * @memberof UserOutputWithRolesDTOAPI
18041
+ */
18042
+ meta: MetadataOutput;
17309
18043
  }
17310
18044
  /**
17311
18045
  *
@@ -18512,7 +19246,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18512
19246
  };
18513
19247
  },
18514
19248
  /**
18515
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
19249
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
18516
19250
  * @summary Get module health scores
18517
19251
  * @param {string} [startDate]
18518
19252
  * @param {string} [endDate]
@@ -19699,7 +20433,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
19699
20433
  },
19700
20434
  /**
19701
20435
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
19702
- * @summary Get top modules by event volume
20436
+ * @summary Get top modules by execution volume
19703
20437
  * @param {string} [startDate]
19704
20438
  * @param {string} [endDate]
19705
20439
  * @param {string} [gameServerId]
@@ -20233,7 +20967,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20233
20967
  )(axios, localVarOperationServerBasePath || basePath);
20234
20968
  },
20235
20969
  /**
20236
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20970
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20237
20971
  * @summary Get module health scores
20238
20972
  * @param {string} [startDate]
20239
20973
  * @param {string} [endDate]
@@ -20985,7 +21719,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20985
21719
  },
20986
21720
  /**
20987
21721
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
20988
- * @summary Get top modules by event volume
21722
+ * @summary Get top modules by execution volume
20989
21723
  * @param {string} [startDate]
20990
21724
  * @param {string} [endDate]
20991
21725
  * @param {string} [gameServerId]
@@ -21307,7 +22041,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21307
22041
  .then((request) => request(axios, basePath));
21308
22042
  },
21309
22043
  /**
21310
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22044
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21311
22045
  * @summary Get module health scores
21312
22046
  * @param {string} [startDate]
21313
22047
  * @param {string} [endDate]
@@ -21751,7 +22485,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21751
22485
  },
21752
22486
  /**
21753
22487
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
21754
- * @summary Get top modules by event volume
22488
+ * @summary Get top modules by execution volume
21755
22489
  * @param {string} [startDate]
21756
22490
  * @param {string} [endDate]
21757
22491
  * @param {string} [gameServerId]
@@ -22070,7 +22804,7 @@ export class AnalyticsApi extends BaseAPI {
22070
22804
  }
22071
22805
 
22072
22806
  /**
22073
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22807
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22074
22808
  * @summary Get module health scores
22075
22809
  * @param {string} [startDate]
22076
22810
  * @param {string} [endDate]
@@ -22556,7 +23290,7 @@ export class AnalyticsApi extends BaseAPI {
22556
23290
 
22557
23291
  /**
22558
23292
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
22559
- * @summary Get top modules by event volume
23293
+ * @summary Get top modules by execution volume
22560
23294
  * @param {string} [startDate]
22561
23295
  * @param {string} [endDate]
22562
23296
  * @param {string} [gameServerId]
@@ -25803,6 +26537,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
25803
26537
  options: localVarRequestOptions,
25804
26538
  };
25805
26539
  },
26540
+ /**
26541
+ * 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`
26542
+ * @summary Create staff-recovery invite link for a domain
26543
+ * @param {string} id
26544
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26545
+ * @param {*} [options] Override http request option.
26546
+ * @throws {RequiredError}
26547
+ */
26548
+ domainControllerCreateInviteLink: async (
26549
+ id: string,
26550
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26551
+ options: RawAxiosRequestConfig = {},
26552
+ ): Promise<RequestArgs> => {
26553
+ // verify required parameter 'id' is not null or undefined
26554
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
26555
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
26556
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26557
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26558
+ let baseOptions;
26559
+ if (configuration) {
26560
+ baseOptions = configuration.baseOptions;
26561
+ }
26562
+
26563
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
26564
+ const localVarHeaderParameter = {} as any;
26565
+ const localVarQueryParameter = {} as any;
26566
+
26567
+ // authentication adminAuth required
26568
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
26569
+
26570
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26571
+
26572
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26573
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26574
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26575
+ localVarRequestOptions.data = serializeDataIfNeeded(
26576
+ inviteLinkCreateInputDTO,
26577
+ localVarRequestOptions,
26578
+ configuration,
26579
+ );
26580
+
26581
+ return {
26582
+ url: toPathString(localVarUrlObj),
26583
+ options: localVarRequestOptions,
26584
+ };
26585
+ },
25806
26586
  /**
25807
26587
  * <br> OperationId: `DomainControllerGetOne`
25808
26588
  * @summary Get one
@@ -26075,6 +26855,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
26075
26855
  configuration,
26076
26856
  )(axios, localVarOperationServerBasePath || basePath);
26077
26857
  },
26858
+ /**
26859
+ * 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`
26860
+ * @summary Create staff-recovery invite link for a domain
26861
+ * @param {string} id
26862
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26863
+ * @param {*} [options] Override http request option.
26864
+ * @throws {RequiredError}
26865
+ */
26866
+ async domainControllerCreateInviteLink(
26867
+ id: string,
26868
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26869
+ options?: RawAxiosRequestConfig,
26870
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
26871
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
26872
+ id,
26873
+ inviteLinkCreateInputDTO,
26874
+ options,
26875
+ );
26876
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26877
+ const localVarOperationServerBasePath =
26878
+ operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
26879
+ return (axios, basePath) =>
26880
+ createRequestFunction(
26881
+ localVarAxiosArgs,
26882
+ globalAxios,
26883
+ BASE_PATH,
26884
+ configuration,
26885
+ )(axios, localVarOperationServerBasePath || basePath);
26886
+ },
26078
26887
  /**
26079
26888
  * <br> OperationId: `DomainControllerGetOne`
26080
26889
  * @summary Get one
@@ -26249,6 +27058,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26249
27058
  .domainControllerCreate(domainCreateInputDTO, options)
26250
27059
  .then((request) => request(axios, basePath));
26251
27060
  },
27061
+ /**
27062
+ * 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`
27063
+ * @summary Create staff-recovery invite link for a domain
27064
+ * @param {string} id
27065
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27066
+ * @param {*} [options] Override http request option.
27067
+ * @throws {RequiredError}
27068
+ */
27069
+ domainControllerCreateInviteLink(
27070
+ id: string,
27071
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27072
+ options?: RawAxiosRequestConfig,
27073
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
27074
+ return localVarFp
27075
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27076
+ .then((request) => request(axios, basePath));
27077
+ },
26252
27078
  /**
26253
27079
  * <br> OperationId: `DomainControllerGetOne`
26254
27080
  * @summary Get one
@@ -26354,6 +27180,25 @@ export class DomainApi extends BaseAPI {
26354
27180
  .then((request) => request(this.axios, this.basePath));
26355
27181
  }
26356
27182
 
27183
+ /**
27184
+ * 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`
27185
+ * @summary Create staff-recovery invite link for a domain
27186
+ * @param {string} id
27187
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27188
+ * @param {*} [options] Override http request option.
27189
+ * @throws {RequiredError}
27190
+ * @memberof DomainApi
27191
+ */
27192
+ public domainControllerCreateInviteLink(
27193
+ id: string,
27194
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27195
+ options?: RawAxiosRequestConfig,
27196
+ ) {
27197
+ return DomainApiFp(this.configuration)
27198
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27199
+ .then((request) => request(this.axios, this.basePath));
27200
+ }
27201
+
26357
27202
  /**
26358
27203
  * <br> OperationId: `DomainControllerGetOne`
26359
27204
  * @summary Get one
@@ -27314,16 +28159,14 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration?: Config
27314
28159
  /**
27315
28160
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27316
28161
  * @summary Auth discord
27317
- * @param {string} redirect
28162
+ * @param {string} [redirect]
27318
28163
  * @param {*} [options] Override http request option.
27319
28164
  * @throws {RequiredError}
27320
28165
  */
27321
28166
  externalAuthControllerAuthDiscord: async (
27322
- redirect: string,
28167
+ redirect?: string,
27323
28168
  options: RawAxiosRequestConfig = {},
27324
28169
  ): Promise<RequestArgs> => {
27325
- // verify required parameter 'redirect' is not null or undefined
27326
- assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
27327
28170
  const localVarPath = `/auth/discord`;
27328
28171
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27329
28172
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -27390,12 +28233,12 @@ export const ExternalAuthApiFp = function (configuration?: Configuration) {
27390
28233
  /**
27391
28234
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27392
28235
  * @summary Auth discord
27393
- * @param {string} redirect
28236
+ * @param {string} [redirect]
27394
28237
  * @param {*} [options] Override http request option.
27395
28238
  * @throws {RequiredError}
27396
28239
  */
27397
28240
  async externalAuthControllerAuthDiscord(
27398
- redirect: string,
28241
+ redirect?: string,
27399
28242
  options?: RawAxiosRequestConfig,
27400
28243
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27401
28244
  const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
@@ -27449,11 +28292,11 @@ export const ExternalAuthApiFactory = function (
27449
28292
  /**
27450
28293
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27451
28294
  * @summary Auth discord
27452
- * @param {string} redirect
28295
+ * @param {string} [redirect]
27453
28296
  * @param {*} [options] Override http request option.
27454
28297
  * @throws {RequiredError}
27455
28298
  */
27456
- externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
28299
+ externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27457
28300
  return localVarFp
27458
28301
  .externalAuthControllerAuthDiscord(redirect, options)
27459
28302
  .then((request) => request(axios, basePath));
@@ -27480,12 +28323,12 @@ export class ExternalAuthApi extends BaseAPI {
27480
28323
  /**
27481
28324
  * <br> OperationId: `ExternalAuthControllerAuthDiscord`
27482
28325
  * @summary Auth discord
27483
- * @param {string} redirect
28326
+ * @param {string} [redirect]
27484
28327
  * @param {*} [options] Override http request option.
27485
28328
  * @throws {RequiredError}
27486
28329
  * @memberof ExternalAuthApi
27487
28330
  */
27488
- public externalAuthControllerAuthDiscord(redirect: string, options?: RawAxiosRequestConfig) {
28331
+ public externalAuthControllerAuthDiscord(redirect?: string, options?: RawAxiosRequestConfig) {
27489
28332
  return ExternalAuthApiFp(this.configuration)
27490
28333
  .externalAuthControllerAuthDiscord(redirect, options)
27491
28334
  .then((request) => request(this.axios, this.basePath));
@@ -31187,6 +32030,488 @@ export class HookApi extends BaseAPI {
31187
32030
  }
31188
32031
  }
31189
32032
 
32033
+ /**
32034
+ * InviteLinkApi - axios parameter creator
32035
+ * @export
32036
+ */
32037
+ export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
32038
+ return {
32039
+ /**
32040
+ * 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`
32041
+ * @summary Create invite link
32042
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32043
+ * @param {*} [options] Override http request option.
32044
+ * @throws {RequiredError}
32045
+ */
32046
+ inviteLinkControllerCreate: async (
32047
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32048
+ options: RawAxiosRequestConfig = {},
32049
+ ): Promise<RequestArgs> => {
32050
+ const localVarPath = `/invite-link`;
32051
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32052
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32053
+ let baseOptions;
32054
+ if (configuration) {
32055
+ baseOptions = configuration.baseOptions;
32056
+ }
32057
+
32058
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32059
+ const localVarHeaderParameter = {} as any;
32060
+ const localVarQueryParameter = {} as any;
32061
+
32062
+ // authentication domainAuth required
32063
+
32064
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32065
+
32066
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32067
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32068
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32069
+ localVarRequestOptions.data = serializeDataIfNeeded(
32070
+ inviteLinkCreateInputDTO,
32071
+ localVarRequestOptions,
32072
+ configuration,
32073
+ );
32074
+
32075
+ return {
32076
+ url: toPathString(localVarUrlObj),
32077
+ options: localVarRequestOptions,
32078
+ };
32079
+ },
32080
+ /**
32081
+ * <br> OperationId: `InviteLinkControllerPreview`
32082
+ * @summary Preview
32083
+ * @param {string} token
32084
+ * @param {*} [options] Override http request option.
32085
+ * @throws {RequiredError}
32086
+ */
32087
+ inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32088
+ // verify required parameter 'token' is not null or undefined
32089
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
32090
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
32091
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32092
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32093
+ let baseOptions;
32094
+ if (configuration) {
32095
+ baseOptions = configuration.baseOptions;
32096
+ }
32097
+
32098
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
32099
+ const localVarHeaderParameter = {} as any;
32100
+ const localVarQueryParameter = {} as any;
32101
+
32102
+ // authentication domainAuth required
32103
+
32104
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32105
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32106
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32107
+
32108
+ return {
32109
+ url: toPathString(localVarUrlObj),
32110
+ options: localVarRequestOptions,
32111
+ };
32112
+ },
32113
+ /**
32114
+ * <br> OperationId: `InviteLinkControllerRedeem`
32115
+ * @summary Redeem
32116
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32117
+ * @param {*} [options] Override http request option.
32118
+ * @throws {RequiredError}
32119
+ */
32120
+ inviteLinkControllerRedeem: async (
32121
+ redeemInputDTO?: RedeemInputDTO,
32122
+ options: RawAxiosRequestConfig = {},
32123
+ ): Promise<RequestArgs> => {
32124
+ const localVarPath = `/invite-link/redeem`;
32125
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32126
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32127
+ let baseOptions;
32128
+ if (configuration) {
32129
+ baseOptions = configuration.baseOptions;
32130
+ }
32131
+
32132
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32133
+ const localVarHeaderParameter = {} as any;
32134
+ const localVarQueryParameter = {} as any;
32135
+
32136
+ // authentication domainAuth required
32137
+
32138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32139
+
32140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32142
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32143
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
32144
+
32145
+ return {
32146
+ url: toPathString(localVarUrlObj),
32147
+ options: localVarRequestOptions,
32148
+ };
32149
+ },
32150
+ /**
32151
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32152
+ * @summary Revoke
32153
+ * @param {string} id
32154
+ * @param {*} [options] Override http request option.
32155
+ * @throws {RequiredError}
32156
+ */
32157
+ inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32158
+ // verify required parameter 'id' is not null or undefined
32159
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
32160
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
32161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32163
+ let baseOptions;
32164
+ if (configuration) {
32165
+ baseOptions = configuration.baseOptions;
32166
+ }
32167
+
32168
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
32169
+ const localVarHeaderParameter = {} as any;
32170
+ const localVarQueryParameter = {} as any;
32171
+
32172
+ // authentication domainAuth required
32173
+
32174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32176
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32177
+
32178
+ return {
32179
+ url: toPathString(localVarUrlObj),
32180
+ options: localVarRequestOptions,
32181
+ };
32182
+ },
32183
+ /**
32184
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32185
+ * @summary Search
32186
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32187
+ * @param {*} [options] Override http request option.
32188
+ * @throws {RequiredError}
32189
+ */
32190
+ inviteLinkControllerSearch: async (
32191
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32192
+ options: RawAxiosRequestConfig = {},
32193
+ ): Promise<RequestArgs> => {
32194
+ const localVarPath = `/invite-link/search`;
32195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32197
+ let baseOptions;
32198
+ if (configuration) {
32199
+ baseOptions = configuration.baseOptions;
32200
+ }
32201
+
32202
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32203
+ const localVarHeaderParameter = {} as any;
32204
+ const localVarQueryParameter = {} as any;
32205
+
32206
+ // authentication domainAuth required
32207
+
32208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32209
+
32210
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32211
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32212
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32213
+ localVarRequestOptions.data = serializeDataIfNeeded(
32214
+ inviteLinkSearchInputDTO,
32215
+ localVarRequestOptions,
32216
+ configuration,
32217
+ );
32218
+
32219
+ return {
32220
+ url: toPathString(localVarUrlObj),
32221
+ options: localVarRequestOptions,
32222
+ };
32223
+ },
32224
+ };
32225
+ };
32226
+
32227
+ /**
32228
+ * InviteLinkApi - functional programming interface
32229
+ * @export
32230
+ */
32231
+ export const InviteLinkApiFp = function (configuration?: Configuration) {
32232
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
32233
+ return {
32234
+ /**
32235
+ * 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`
32236
+ * @summary Create invite link
32237
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32238
+ * @param {*} [options] Override http request option.
32239
+ * @throws {RequiredError}
32240
+ */
32241
+ async inviteLinkControllerCreate(
32242
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32243
+ options?: RawAxiosRequestConfig,
32244
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
32245
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
32246
+ inviteLinkCreateInputDTO,
32247
+ options,
32248
+ );
32249
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32250
+ const localVarOperationServerBasePath =
32251
+ operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
32252
+ return (axios, basePath) =>
32253
+ createRequestFunction(
32254
+ localVarAxiosArgs,
32255
+ globalAxios,
32256
+ BASE_PATH,
32257
+ configuration,
32258
+ )(axios, localVarOperationServerBasePath || basePath);
32259
+ },
32260
+ /**
32261
+ * <br> OperationId: `InviteLinkControllerPreview`
32262
+ * @summary Preview
32263
+ * @param {string} token
32264
+ * @param {*} [options] Override http request option.
32265
+ * @throws {RequiredError}
32266
+ */
32267
+ async inviteLinkControllerPreview(
32268
+ token: string,
32269
+ options?: RawAxiosRequestConfig,
32270
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
32271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
32272
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32273
+ const localVarOperationServerBasePath =
32274
+ operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
32275
+ return (axios, basePath) =>
32276
+ createRequestFunction(
32277
+ localVarAxiosArgs,
32278
+ globalAxios,
32279
+ BASE_PATH,
32280
+ configuration,
32281
+ )(axios, localVarOperationServerBasePath || basePath);
32282
+ },
32283
+ /**
32284
+ * <br> OperationId: `InviteLinkControllerRedeem`
32285
+ * @summary Redeem
32286
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32287
+ * @param {*} [options] Override http request option.
32288
+ * @throws {RequiredError}
32289
+ */
32290
+ async inviteLinkControllerRedeem(
32291
+ redeemInputDTO?: RedeemInputDTO,
32292
+ options?: RawAxiosRequestConfig,
32293
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
32294
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
32295
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32296
+ const localVarOperationServerBasePath =
32297
+ operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
32298
+ return (axios, basePath) =>
32299
+ createRequestFunction(
32300
+ localVarAxiosArgs,
32301
+ globalAxios,
32302
+ BASE_PATH,
32303
+ configuration,
32304
+ )(axios, localVarOperationServerBasePath || basePath);
32305
+ },
32306
+ /**
32307
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32308
+ * @summary Revoke
32309
+ * @param {string} id
32310
+ * @param {*} [options] Override http request option.
32311
+ * @throws {RequiredError}
32312
+ */
32313
+ async inviteLinkControllerRevoke(
32314
+ id: string,
32315
+ options?: RawAxiosRequestConfig,
32316
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
32317
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
32318
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32319
+ const localVarOperationServerBasePath =
32320
+ operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
32321
+ return (axios, basePath) =>
32322
+ createRequestFunction(
32323
+ localVarAxiosArgs,
32324
+ globalAxios,
32325
+ BASE_PATH,
32326
+ configuration,
32327
+ )(axios, localVarOperationServerBasePath || basePath);
32328
+ },
32329
+ /**
32330
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32331
+ * @summary Search
32332
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32333
+ * @param {*} [options] Override http request option.
32334
+ * @throws {RequiredError}
32335
+ */
32336
+ async inviteLinkControllerSearch(
32337
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32338
+ options?: RawAxiosRequestConfig,
32339
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
32340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
32341
+ inviteLinkSearchInputDTO,
32342
+ options,
32343
+ );
32344
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32345
+ const localVarOperationServerBasePath =
32346
+ operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
32347
+ return (axios, basePath) =>
32348
+ createRequestFunction(
32349
+ localVarAxiosArgs,
32350
+ globalAxios,
32351
+ BASE_PATH,
32352
+ configuration,
32353
+ )(axios, localVarOperationServerBasePath || basePath);
32354
+ },
32355
+ };
32356
+ };
32357
+
32358
+ /**
32359
+ * InviteLinkApi - factory interface
32360
+ * @export
32361
+ */
32362
+ export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32363
+ const localVarFp = InviteLinkApiFp(configuration);
32364
+ return {
32365
+ /**
32366
+ * 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`
32367
+ * @summary Create invite link
32368
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32369
+ * @param {*} [options] Override http request option.
32370
+ * @throws {RequiredError}
32371
+ */
32372
+ inviteLinkControllerCreate(
32373
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32374
+ options?: RawAxiosRequestConfig,
32375
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
32376
+ return localVarFp
32377
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32378
+ .then((request) => request(axios, basePath));
32379
+ },
32380
+ /**
32381
+ * <br> OperationId: `InviteLinkControllerPreview`
32382
+ * @summary Preview
32383
+ * @param {string} token
32384
+ * @param {*} [options] Override http request option.
32385
+ * @throws {RequiredError}
32386
+ */
32387
+ inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
32388
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
32389
+ },
32390
+ /**
32391
+ * <br> OperationId: `InviteLinkControllerRedeem`
32392
+ * @summary Redeem
32393
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32394
+ * @param {*} [options] Override http request option.
32395
+ * @throws {RequiredError}
32396
+ */
32397
+ inviteLinkControllerRedeem(
32398
+ redeemInputDTO?: RedeemInputDTO,
32399
+ options?: RawAxiosRequestConfig,
32400
+ ): AxiosPromise<UserOutputWithRolesDTOAPI> {
32401
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
32402
+ },
32403
+ /**
32404
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32405
+ * @summary Revoke
32406
+ * @param {string} id
32407
+ * @param {*} [options] Override http request option.
32408
+ * @throws {RequiredError}
32409
+ */
32410
+ inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
32411
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
32412
+ },
32413
+ /**
32414
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32415
+ * @summary Search
32416
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32417
+ * @param {*} [options] Override http request option.
32418
+ * @throws {RequiredError}
32419
+ */
32420
+ inviteLinkControllerSearch(
32421
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32422
+ options?: RawAxiosRequestConfig,
32423
+ ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
32424
+ return localVarFp
32425
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32426
+ .then((request) => request(axios, basePath));
32427
+ },
32428
+ };
32429
+ };
32430
+
32431
+ /**
32432
+ * InviteLinkApi - object-oriented interface
32433
+ * @export
32434
+ * @class InviteLinkApi
32435
+ * @extends {BaseAPI}
32436
+ */
32437
+ export class InviteLinkApi extends BaseAPI {
32438
+ /**
32439
+ * 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`
32440
+ * @summary Create invite link
32441
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32442
+ * @param {*} [options] Override http request option.
32443
+ * @throws {RequiredError}
32444
+ * @memberof InviteLinkApi
32445
+ */
32446
+ public inviteLinkControllerCreate(
32447
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32448
+ options?: RawAxiosRequestConfig,
32449
+ ) {
32450
+ return InviteLinkApiFp(this.configuration)
32451
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32452
+ .then((request) => request(this.axios, this.basePath));
32453
+ }
32454
+
32455
+ /**
32456
+ * <br> OperationId: `InviteLinkControllerPreview`
32457
+ * @summary Preview
32458
+ * @param {string} token
32459
+ * @param {*} [options] Override http request option.
32460
+ * @throws {RequiredError}
32461
+ * @memberof InviteLinkApi
32462
+ */
32463
+ public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
32464
+ return InviteLinkApiFp(this.configuration)
32465
+ .inviteLinkControllerPreview(token, options)
32466
+ .then((request) => request(this.axios, this.basePath));
32467
+ }
32468
+
32469
+ /**
32470
+ * <br> OperationId: `InviteLinkControllerRedeem`
32471
+ * @summary Redeem
32472
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32473
+ * @param {*} [options] Override http request option.
32474
+ * @throws {RequiredError}
32475
+ * @memberof InviteLinkApi
32476
+ */
32477
+ public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
32478
+ return InviteLinkApiFp(this.configuration)
32479
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
32480
+ .then((request) => request(this.axios, this.basePath));
32481
+ }
32482
+
32483
+ /**
32484
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32485
+ * @summary Revoke
32486
+ * @param {string} id
32487
+ * @param {*} [options] Override http request option.
32488
+ * @throws {RequiredError}
32489
+ * @memberof InviteLinkApi
32490
+ */
32491
+ public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
32492
+ return InviteLinkApiFp(this.configuration)
32493
+ .inviteLinkControllerRevoke(id, options)
32494
+ .then((request) => request(this.axios, this.basePath));
32495
+ }
32496
+
32497
+ /**
32498
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32499
+ * @summary Search
32500
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32501
+ * @param {*} [options] Override http request option.
32502
+ * @throws {RequiredError}
32503
+ * @memberof InviteLinkApi
32504
+ */
32505
+ public inviteLinkControllerSearch(
32506
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32507
+ options?: RawAxiosRequestConfig,
32508
+ ) {
32509
+ return InviteLinkApiFp(this.configuration)
32510
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32511
+ .then((request) => request(this.axios, this.basePath));
32512
+ }
32513
+ }
32514
+
31190
32515
  /**
31191
32516
  * ItemApi - axios parameter creator
31192
32517
  * @export
@@ -31425,6 +32750,34 @@ export const MetaApiAxiosParamCreator = function (configuration?: Configuration)
31425
32750
  options: localVarRequestOptions,
31426
32751
  };
31427
32752
  },
32753
+ /**
32754
+ * <br> OperationId: `MetaGetLiveness`
32755
+ * @summary Get liveness
32756
+ * @param {*} [options] Override http request option.
32757
+ * @throws {RequiredError}
32758
+ */
32759
+ metaGetLiveness: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32760
+ const localVarPath = `/livez`;
32761
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32762
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32763
+ let baseOptions;
32764
+ if (configuration) {
32765
+ baseOptions = configuration.baseOptions;
32766
+ }
32767
+
32768
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
32769
+ const localVarHeaderParameter = {} as any;
32770
+ const localVarQueryParameter = {} as any;
32771
+
32772
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32773
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32774
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32775
+
32776
+ return {
32777
+ url: toPathString(localVarUrlObj),
32778
+ options: localVarRequestOptions,
32779
+ };
32780
+ },
31428
32781
  /**
31429
32782
  * <br> OperationId: `MetaGetMetrics`
31430
32783
  * @summary Get metrics
@@ -31596,6 +32949,27 @@ export const MetaApiFp = function (configuration?: Configuration) {
31596
32949
  configuration,
31597
32950
  )(axios, localVarOperationServerBasePath || basePath);
31598
32951
  },
32952
+ /**
32953
+ * <br> OperationId: `MetaGetLiveness`
32954
+ * @summary Get liveness
32955
+ * @param {*} [options] Override http request option.
32956
+ * @throws {RequiredError}
32957
+ */
32958
+ async metaGetLiveness(
32959
+ options?: RawAxiosRequestConfig,
32960
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthOutputDTO>> {
32961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
32962
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32963
+ const localVarOperationServerBasePath =
32964
+ operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
32965
+ return (axios, basePath) =>
32966
+ createRequestFunction(
32967
+ localVarAxiosArgs,
32968
+ globalAxios,
32969
+ BASE_PATH,
32970
+ configuration,
32971
+ )(axios, localVarOperationServerBasePath || basePath);
32972
+ },
31599
32973
  /**
31600
32974
  * <br> OperationId: `MetaGetMetrics`
31601
32975
  * @summary Get metrics
@@ -31720,6 +33094,15 @@ export const MetaApiFactory = function (configuration?: Configuration, basePath?
31720
33094
  metaGetHealth(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
31721
33095
  return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
31722
33096
  },
33097
+ /**
33098
+ * <br> OperationId: `MetaGetLiveness`
33099
+ * @summary Get liveness
33100
+ * @param {*} [options] Override http request option.
33101
+ * @throws {RequiredError}
33102
+ */
33103
+ metaGetLiveness(options?: RawAxiosRequestConfig): AxiosPromise<HealthOutputDTO> {
33104
+ return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
33105
+ },
31723
33106
  /**
31724
33107
  * <br> OperationId: `MetaGetMetrics`
31725
33108
  * @summary Get metrics
@@ -31788,6 +33171,19 @@ export class MetaApi extends BaseAPI {
31788
33171
  .then((request) => request(this.axios, this.basePath));
31789
33172
  }
31790
33173
 
33174
+ /**
33175
+ * <br> OperationId: `MetaGetLiveness`
33176
+ * @summary Get liveness
33177
+ * @param {*} [options] Override http request option.
33178
+ * @throws {RequiredError}
33179
+ * @memberof MetaApi
33180
+ */
33181
+ public metaGetLiveness(options?: RawAxiosRequestConfig) {
33182
+ return MetaApiFp(this.configuration)
33183
+ .metaGetLiveness(options)
33184
+ .then((request) => request(this.axios, this.basePath));
33185
+ }
33186
+
31791
33187
  /**
31792
33188
  * <br> OperationId: `MetaGetMetrics`
31793
33189
  * @summary Get metrics
@@ -38857,7 +40253,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
38857
40253
  */
38858
40254
  async shopListingControllerImportListings(
38859
40255
  options?: RawAxiosRequestConfig,
38860
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
40256
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
38861
40257
  const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
38862
40258
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38863
40259
  const localVarOperationServerBasePath =
@@ -38980,7 +40376,7 @@ export const ShopListingApiFactory = function (
38980
40376
  * @param {*} [options] Override http request option.
38981
40377
  * @throws {RequiredError}
38982
40378
  */
38983
- shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
40379
+ shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
38984
40380
  return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
38985
40381
  },
38986
40382
  /**
@@ -40490,6 +41886,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
40490
41886
  options: localVarRequestOptions,
40491
41887
  };
40492
41888
  },
41889
+ /**
41890
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
41891
+ * @summary Count billable dashboard users
41892
+ * @param {*} [options] Override http request option.
41893
+ * @throws {RequiredError}
41894
+ */
41895
+ userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41896
+ const localVarPath = `/user/count`;
41897
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41898
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41899
+ let baseOptions;
41900
+ if (configuration) {
41901
+ baseOptions = configuration.baseOptions;
41902
+ }
41903
+
41904
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
41905
+ const localVarHeaderParameter = {} as any;
41906
+ const localVarQueryParameter = {} as any;
41907
+
41908
+ // authentication domainAuth required
41909
+
41910
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41911
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41912
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
41913
+
41914
+ return {
41915
+ url: toPathString(localVarUrlObj),
41916
+ options: localVarRequestOptions,
41917
+ };
41918
+ },
40493
41919
  /**
40494
41920
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
40495
41921
  * @summary Create
@@ -40595,6 +42021,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
40595
42021
  * @summary Invite
40596
42022
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
40597
42023
  * @param {*} [options] Override http request option.
42024
+ * @deprecated
40598
42025
  * @throws {RequiredError}
40599
42026
  */
40600
42027
  userControllerInvite: async (
@@ -40996,6 +42423,27 @@ export const UserApiFp = function (configuration?: Configuration) {
40996
42423
  configuration,
40997
42424
  )(axios, localVarOperationServerBasePath || basePath);
40998
42425
  },
42426
+ /**
42427
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42428
+ * @summary Count billable dashboard users
42429
+ * @param {*} [options] Override http request option.
42430
+ * @throws {RequiredError}
42431
+ */
42432
+ async userControllerCountBillableDashboardUsers(
42433
+ options?: RawAxiosRequestConfig,
42434
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
42435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
42436
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42437
+ const localVarOperationServerBasePath =
42438
+ operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
42439
+ return (axios, basePath) =>
42440
+ createRequestFunction(
42441
+ localVarAxiosArgs,
42442
+ globalAxios,
42443
+ BASE_PATH,
42444
+ configuration,
42445
+ )(axios, localVarOperationServerBasePath || basePath);
42446
+ },
40999
42447
  /**
41000
42448
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41001
42449
  * @summary Create
@@ -41068,6 +42516,7 @@ export const UserApiFp = function (configuration?: Configuration) {
41068
42516
  * @summary Invite
41069
42517
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41070
42518
  * @param {*} [options] Override http request option.
42519
+ * @deprecated
41071
42520
  * @throws {RequiredError}
41072
42521
  */
41073
42522
  async userControllerInvite(
@@ -41325,6 +42774,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
41325
42774
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
41326
42775
  .then((request) => request(axios, basePath));
41327
42776
  },
42777
+ /**
42778
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42779
+ * @summary Count billable dashboard users
42780
+ * @param {*} [options] Override http request option.
42781
+ * @throws {RequiredError}
42782
+ */
42783
+ userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
42784
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
42785
+ },
41328
42786
  /**
41329
42787
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41330
42788
  * @summary Create
@@ -41362,6 +42820,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
41362
42820
  * @summary Invite
41363
42821
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41364
42822
  * @param {*} [options] Override http request option.
42823
+ * @deprecated
41365
42824
  * @throws {RequiredError}
41366
42825
  */
41367
42826
  userControllerInvite(
@@ -41503,6 +42962,19 @@ export class UserApi extends BaseAPI {
41503
42962
  .then((request) => request(this.axios, this.basePath));
41504
42963
  }
41505
42964
 
42965
+ /**
42966
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42967
+ * @summary Count billable dashboard users
42968
+ * @param {*} [options] Override http request option.
42969
+ * @throws {RequiredError}
42970
+ * @memberof UserApi
42971
+ */
42972
+ public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
42973
+ return UserApiFp(this.configuration)
42974
+ .userControllerCountBillableDashboardUsers(options)
42975
+ .then((request) => request(this.axios, this.basePath));
42976
+ }
42977
+
41506
42978
  /**
41507
42979
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
41508
42980
  * @summary Create
@@ -41549,6 +43021,7 @@ export class UserApi extends BaseAPI {
41549
43021
  * @summary Invite
41550
43022
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41551
43023
  * @param {*} [options] Override http request option.
43024
+ * @deprecated
41552
43025
  * @throws {RequiredError}
41553
43026
  * @memberof UserApi
41554
43027
  */