@takaro/apiclient 0.0.0-dev.fd2dfe7 → 0.0.0-dev.fdd3e46

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.
@@ -2276,6 +2276,18 @@ export interface DomainCreateInputDTO {
2276
2276
  * @memberof DomainCreateInputDTO
2277
2277
  */
2278
2278
  maxDiscordLinkedRoles?: number;
2279
+ /**
2280
+ *
2281
+ * @type {string}
2282
+ * @memberof DomainCreateInputDTO
2283
+ */
2284
+ serverRegistrationToken?: string;
2285
+ /**
2286
+ *
2287
+ * @type {boolean}
2288
+ * @memberof DomainCreateInputDTO
2289
+ */
2290
+ skipBuiltinSeeding?: boolean;
2279
2291
  }
2280
2292
 
2281
2293
  export const DomainCreateInputDTOStateEnum = {
@@ -3299,6 +3311,7 @@ export const EventCreateDTOEventNameEnum = {
3299
3311
  PlayerInventoryChanged: 'player-inventory-changed',
3300
3312
  EventRateLimited: 'event-rate-limited',
3301
3313
  PlayerSyncSnapshot: 'player-sync-snapshot',
3314
+ InviteLinkCreated: 'invite-link-created',
3302
3315
  PlayerConnected: 'player-connected',
3303
3316
  PlayerDisconnected: 'player-disconnected',
3304
3317
  ChatMessage: 'chat-message',
@@ -3517,6 +3530,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
3517
3530
  PlayerInventoryChanged: 'player-inventory-changed',
3518
3531
  EventRateLimited: 'event-rate-limited',
3519
3532
  PlayerSyncSnapshot: 'player-sync-snapshot',
3533
+ InviteLinkCreated: 'invite-link-created',
3520
3534
  PlayerConnected: 'player-connected',
3521
3535
  PlayerDisconnected: 'player-disconnected',
3522
3536
  ChatMessage: 'chat-message',
@@ -3887,6 +3901,7 @@ export const EventOutputDTOEventNameEnum = {
3887
3901
  PlayerInventoryChanged: 'player-inventory-changed',
3888
3902
  EventRateLimited: 'event-rate-limited',
3889
3903
  PlayerSyncSnapshot: 'player-sync-snapshot',
3904
+ InviteLinkCreated: 'invite-link-created',
3890
3905
  PlayerConnected: 'player-connected',
3891
3906
  PlayerDisconnected: 'player-disconnected',
3892
3907
  ChatMessage: 'chat-message',
@@ -3919,6 +3934,7 @@ export type EventOutputDTOMeta =
3919
3934
  | TakaroEventGameserverDeleted
3920
3935
  | TakaroEventGameserverUpdated
3921
3936
  | TakaroEventHookExecuted
3937
+ | TakaroEventInviteLinkCreated
3922
3938
  | TakaroEventModuleCreated
3923
3939
  | TakaroEventModuleDeleted
3924
3940
  | TakaroEventModuleInstalled
@@ -4126,6 +4142,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
4126
4142
  PlayerInventoryChanged: 'player-inventory-changed',
4127
4143
  EventRateLimited: 'event-rate-limited',
4128
4144
  PlayerSyncSnapshot: 'player-sync-snapshot',
4145
+ InviteLinkCreated: 'invite-link-created',
4129
4146
  PlayerConnected: 'player-connected',
4130
4147
  PlayerDisconnected: 'player-disconnected',
4131
4148
  ChatMessage: 'chat-message',
@@ -5620,6 +5637,7 @@ export const HookCreateDTOEventTypeEnum = {
5620
5637
  PlayerInventoryChanged: 'player-inventory-changed',
5621
5638
  EventRateLimited: 'event-rate-limited',
5622
5639
  PlayerSyncSnapshot: 'player-sync-snapshot',
5640
+ InviteLinkCreated: 'invite-link-created',
5623
5641
  } as const;
5624
5642
 
5625
5643
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -5783,6 +5801,7 @@ export const HookOutputDTOEventTypeEnum = {
5783
5801
  PlayerInventoryChanged: 'player-inventory-changed',
5784
5802
  EventRateLimited: 'event-rate-limited',
5785
5803
  PlayerSyncSnapshot: 'player-sync-snapshot',
5804
+ InviteLinkCreated: 'invite-link-created',
5786
5805
  } as const;
5787
5806
 
5788
5807
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -5891,6 +5910,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
5891
5910
  PlayerInventoryChanged: 'player-inventory-changed',
5892
5911
  EventRateLimited: 'event-rate-limited',
5893
5912
  PlayerSyncSnapshot: 'player-sync-snapshot',
5913
+ InviteLinkCreated: 'invite-link-created',
5894
5914
  } as const;
5895
5915
 
5896
5916
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -6071,6 +6091,7 @@ export const HookTriggerDTOEventTypeEnum = {
6071
6091
  PlayerInventoryChanged: 'player-inventory-changed',
6072
6092
  EventRateLimited: 'event-rate-limited',
6073
6093
  PlayerSyncSnapshot: 'player-sync-snapshot',
6094
+ InviteLinkCreated: 'invite-link-created',
6074
6095
  } as const;
6075
6096
 
6076
6097
  export type HookTriggerDTOEventTypeEnum =
@@ -6161,6 +6182,7 @@ export const HookUpdateDTOEventTypeEnum = {
6161
6182
  PlayerInventoryChanged: 'player-inventory-changed',
6162
6183
  EventRateLimited: 'event-rate-limited',
6163
6184
  PlayerSyncSnapshot: 'player-sync-snapshot',
6185
+ InviteLinkCreated: 'invite-link-created',
6164
6186
  } as const;
6165
6187
 
6166
6188
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -6493,6 +6515,7 @@ export const IHookEventTypeEnum = {
6493
6515
  PlayerInventoryChanged: 'player-inventory-changed',
6494
6516
  EventRateLimited: 'event-rate-limited',
6495
6517
  PlayerSyncSnapshot: 'player-sync-snapshot',
6518
+ InviteLinkCreated: 'invite-link-created',
6496
6519
  } as const;
6497
6520
 
6498
6521
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -6922,6 +6945,462 @@ export interface InviteCreateDTO {
6922
6945
  */
6923
6946
  email: string;
6924
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
+
6925
7404
  /**
6926
7405
  *
6927
7406
  * @export
@@ -6941,475 +7420,6 @@ export interface InviteOutputDTO {
6941
7420
  */
6942
7421
  devServer: string;
6943
7422
  }
6944
- /**
6945
- *
6946
- * @export
6947
- * @interface InviteLinkCreateInputDTO
6948
- */
6949
- export interface InviteLinkCreateInputDTO {
6950
- /**
6951
- *
6952
- * @type {Array<string>}
6953
- * @memberof InviteLinkCreateInputDTO
6954
- */
6955
- roleIds?: Array<string>;
6956
- /**
6957
- *
6958
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6959
- * @memberof InviteLinkCreateInputDTO
6960
- */
6961
- expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6962
- /**
6963
- *
6964
- * @type {number}
6965
- * @memberof InviteLinkCreateInputDTO
6966
- */
6967
- maxUses?: number;
6968
- }
6969
- /**
6970
- *
6971
- * @export
6972
- * @interface InviteLinkCreateResultDTO
6973
- */
6974
- export interface InviteLinkCreateResultDTO {
6975
- /**
6976
- *
6977
- * @type {string}
6978
- * @memberof InviteLinkCreateResultDTO
6979
- */
6980
- inviteUrl: string;
6981
- /**
6982
- *
6983
- * @type {string}
6984
- * @memberof InviteLinkCreateResultDTO
6985
- */
6986
- token: string;
6987
- /**
6988
- *
6989
- * @type {string}
6990
- * @memberof InviteLinkCreateResultDTO
6991
- */
6992
- id: string;
6993
- /**
6994
- *
6995
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6996
- * @memberof InviteLinkCreateResultDTO
6997
- */
6998
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6999
- /**
7000
- *
7001
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7002
- * @memberof InviteLinkCreateResultDTO
7003
- */
7004
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7005
- /**
7006
- *
7007
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7008
- * @memberof InviteLinkCreateResultDTO
7009
- */
7010
- expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7011
- /**
7012
- *
7013
- * @type {number}
7014
- * @memberof InviteLinkCreateResultDTO
7015
- */
7016
- maxUses?: number;
7017
- /**
7018
- *
7019
- * @type {number}
7020
- * @memberof InviteLinkCreateResultDTO
7021
- */
7022
- uses: number;
7023
- /**
7024
- *
7025
- * @type {number}
7026
- * @memberof InviteLinkCreateResultDTO
7027
- */
7028
- remaining?: number;
7029
- /**
7030
- *
7031
- * @type {string}
7032
- * @memberof InviteLinkCreateResultDTO
7033
- */
7034
- status: InviteLinkCreateResultDTOStatusEnum;
7035
- /**
7036
- *
7037
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7038
- * @memberof InviteLinkCreateResultDTO
7039
- */
7040
- revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7041
- /**
7042
- *
7043
- * @type {string}
7044
- * @memberof InviteLinkCreateResultDTO
7045
- */
7046
- createdBy?: string;
7047
- /**
7048
- *
7049
- * @type {Array<InviteLinkRoleDTO>}
7050
- * @memberof InviteLinkCreateResultDTO
7051
- */
7052
- roles: Array<InviteLinkRoleDTO>;
7053
- }
7054
-
7055
- export const InviteLinkCreateResultDTOStatusEnum = {
7056
- Active: 'ACTIVE',
7057
- Revoked: 'REVOKED',
7058
- Expired: 'EXPIRED',
7059
- Depleted: 'DEPLETED',
7060
- } as const;
7061
-
7062
- export type InviteLinkCreateResultDTOStatusEnum =
7063
- (typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
7064
-
7065
- /**
7066
- *
7067
- * @export
7068
- * @interface InviteLinkCreateResultDTOAPI
7069
- */
7070
- export interface InviteLinkCreateResultDTOAPI {
7071
- /**
7072
- *
7073
- * @type {InviteLinkCreateResultDTO}
7074
- * @memberof InviteLinkCreateResultDTOAPI
7075
- */
7076
- data: InviteLinkCreateResultDTO;
7077
- /**
7078
- *
7079
- * @type {MetadataOutput}
7080
- * @memberof InviteLinkCreateResultDTOAPI
7081
- */
7082
- meta: MetadataOutput;
7083
- }
7084
- /**
7085
- *
7086
- * @export
7087
- * @interface InviteLinkOutputDTO
7088
- */
7089
- export interface InviteLinkOutputDTO {
7090
- /**
7091
- *
7092
- * @type {string}
7093
- * @memberof InviteLinkOutputDTO
7094
- */
7095
- id: string;
7096
- /**
7097
- *
7098
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7099
- * @memberof InviteLinkOutputDTO
7100
- */
7101
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7102
- /**
7103
- *
7104
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7105
- * @memberof InviteLinkOutputDTO
7106
- */
7107
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7108
- /**
7109
- *
7110
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7111
- * @memberof InviteLinkOutputDTO
7112
- */
7113
- expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7114
- /**
7115
- *
7116
- * @type {number}
7117
- * @memberof InviteLinkOutputDTO
7118
- */
7119
- maxUses?: number;
7120
- /**
7121
- *
7122
- * @type {number}
7123
- * @memberof InviteLinkOutputDTO
7124
- */
7125
- uses: number;
7126
- /**
7127
- *
7128
- * @type {number}
7129
- * @memberof InviteLinkOutputDTO
7130
- */
7131
- remaining?: number;
7132
- /**
7133
- *
7134
- * @type {string}
7135
- * @memberof InviteLinkOutputDTO
7136
- */
7137
- status: InviteLinkOutputDTOStatusEnum;
7138
- /**
7139
- *
7140
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7141
- * @memberof InviteLinkOutputDTO
7142
- */
7143
- revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7144
- /**
7145
- *
7146
- * @type {string}
7147
- * @memberof InviteLinkOutputDTO
7148
- */
7149
- createdBy?: string;
7150
- /**
7151
- *
7152
- * @type {Array<InviteLinkRoleDTO>}
7153
- * @memberof InviteLinkOutputDTO
7154
- */
7155
- roles: Array<InviteLinkRoleDTO>;
7156
- }
7157
-
7158
- export const InviteLinkOutputDTOStatusEnum = {
7159
- Active: 'ACTIVE',
7160
- Revoked: 'REVOKED',
7161
- Expired: 'EXPIRED',
7162
- Depleted: 'DEPLETED',
7163
- } as const;
7164
-
7165
- export type InviteLinkOutputDTOStatusEnum =
7166
- (typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
7167
-
7168
- /**
7169
- *
7170
- * @export
7171
- * @interface InviteLinkOutputDTOAPI
7172
- */
7173
- export interface InviteLinkOutputDTOAPI {
7174
- /**
7175
- *
7176
- * @type {InviteLinkOutputDTO}
7177
- * @memberof InviteLinkOutputDTOAPI
7178
- */
7179
- data: InviteLinkOutputDTO;
7180
- /**
7181
- *
7182
- * @type {MetadataOutput}
7183
- * @memberof InviteLinkOutputDTOAPI
7184
- */
7185
- meta: MetadataOutput;
7186
- }
7187
- /**
7188
- *
7189
- * @export
7190
- * @interface InviteLinkOutputArrayDTOAPI
7191
- */
7192
- export interface InviteLinkOutputArrayDTOAPI {
7193
- /**
7194
- *
7195
- * @type {Array<InviteLinkOutputDTO>}
7196
- * @memberof InviteLinkOutputArrayDTOAPI
7197
- */
7198
- data: Array<InviteLinkOutputDTO>;
7199
- /**
7200
- *
7201
- * @type {MetadataOutput}
7202
- * @memberof InviteLinkOutputArrayDTOAPI
7203
- */
7204
- meta: MetadataOutput;
7205
- }
7206
- /**
7207
- *
7208
- * @export
7209
- * @interface InviteLinkPreviewDTO
7210
- */
7211
- export interface InviteLinkPreviewDTO {
7212
- /**
7213
- *
7214
- * @type {InviteLinkPreviewDomainDTO}
7215
- * @memberof InviteLinkPreviewDTO
7216
- */
7217
- domain: InviteLinkPreviewDomainDTO;
7218
- /**
7219
- *
7220
- * @type {Array<InviteLinkPreviewRoleDTO>}
7221
- * @memberof InviteLinkPreviewDTO
7222
- */
7223
- roles: Array<InviteLinkPreviewRoleDTO>;
7224
- /**
7225
- *
7226
- * @type {string}
7227
- * @memberof InviteLinkPreviewDTO
7228
- */
7229
- status: InviteLinkPreviewDTOStatusEnum;
7230
- /**
7231
- *
7232
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7233
- * @memberof InviteLinkPreviewDTO
7234
- */
7235
- expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7236
- /**
7237
- *
7238
- * @type {number}
7239
- * @memberof InviteLinkPreviewDTO
7240
- */
7241
- remaining?: number;
7242
- }
7243
-
7244
- export const InviteLinkPreviewDTOStatusEnum = {
7245
- Active: 'ACTIVE',
7246
- Revoked: 'REVOKED',
7247
- Expired: 'EXPIRED',
7248
- Depleted: 'DEPLETED',
7249
- } as const;
7250
-
7251
- export type InviteLinkPreviewDTOStatusEnum =
7252
- (typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
7253
-
7254
- /**
7255
- *
7256
- * @export
7257
- * @interface InviteLinkPreviewDTOAPI
7258
- */
7259
- export interface InviteLinkPreviewDTOAPI {
7260
- /**
7261
- *
7262
- * @type {InviteLinkPreviewDTO}
7263
- * @memberof InviteLinkPreviewDTOAPI
7264
- */
7265
- data: InviteLinkPreviewDTO;
7266
- /**
7267
- *
7268
- * @type {MetadataOutput}
7269
- * @memberof InviteLinkPreviewDTOAPI
7270
- */
7271
- meta: MetadataOutput;
7272
- }
7273
- /**
7274
- *
7275
- * @export
7276
- * @interface InviteLinkPreviewDomainDTO
7277
- */
7278
- export interface InviteLinkPreviewDomainDTO {
7279
- /**
7280
- *
7281
- * @type {string}
7282
- * @memberof InviteLinkPreviewDomainDTO
7283
- */
7284
- id: string;
7285
- /**
7286
- *
7287
- * @type {string}
7288
- * @memberof InviteLinkPreviewDomainDTO
7289
- */
7290
- name: string;
7291
- }
7292
- /**
7293
- *
7294
- * @export
7295
- * @interface InviteLinkPreviewRoleDTO
7296
- */
7297
- export interface InviteLinkPreviewRoleDTO {
7298
- /**
7299
- *
7300
- * @type {string}
7301
- * @memberof InviteLinkPreviewRoleDTO
7302
- */
7303
- id: string;
7304
- /**
7305
- *
7306
- * @type {string}
7307
- * @memberof InviteLinkPreviewRoleDTO
7308
- */
7309
- name: string;
7310
- }
7311
- /**
7312
- *
7313
- * @export
7314
- * @interface InviteLinkRoleDTO
7315
- */
7316
- export interface InviteLinkRoleDTO {
7317
- /**
7318
- *
7319
- * @type {string}
7320
- * @memberof InviteLinkRoleDTO
7321
- */
7322
- roleId: string;
7323
- /**
7324
- *
7325
- * @type {string}
7326
- * @memberof InviteLinkRoleDTO
7327
- */
7328
- name: string;
7329
- }
7330
- /**
7331
- *
7332
- * @export
7333
- * @interface InviteLinkSearchInputDTO
7334
- */
7335
- export interface InviteLinkSearchInputDTO {
7336
- /**
7337
- *
7338
- * @type {string}
7339
- * @memberof InviteLinkSearchInputDTO
7340
- */
7341
- sortBy?: string;
7342
- /**
7343
- *
7344
- * @type {any}
7345
- * @memberof InviteLinkSearchInputDTO
7346
- */
7347
- filters?: any;
7348
- /**
7349
- *
7350
- * @type {any}
7351
- * @memberof InviteLinkSearchInputDTO
7352
- */
7353
- search?: any;
7354
- /**
7355
- *
7356
- * @type {any}
7357
- * @memberof InviteLinkSearchInputDTO
7358
- */
7359
- greaterThan?: any;
7360
- /**
7361
- *
7362
- * @type {any}
7363
- * @memberof InviteLinkSearchInputDTO
7364
- */
7365
- lessThan?: any;
7366
- /**
7367
- *
7368
- * @type {number}
7369
- * @memberof InviteLinkSearchInputDTO
7370
- */
7371
- page?: number;
7372
- /**
7373
- *
7374
- * @type {number}
7375
- * @memberof InviteLinkSearchInputDTO
7376
- */
7377
- limit?: number;
7378
- /**
7379
- *
7380
- * @type {string}
7381
- * @memberof InviteLinkSearchInputDTO
7382
- */
7383
- sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
7384
- /**
7385
- *
7386
- * @type {Array<string>}
7387
- * @memberof InviteLinkSearchInputDTO
7388
- */
7389
- extend?: Array<string>;
7390
- }
7391
-
7392
- export const InviteLinkSearchInputDTOSortDirectionEnum = {
7393
- Asc: 'asc',
7394
- Desc: 'desc',
7395
- } as const;
7396
-
7397
- export type InviteLinkSearchInputDTOSortDirectionEnum =
7398
- (typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
7399
-
7400
- /**
7401
- *
7402
- * @export
7403
- * @interface RedeemInputDTO
7404
- */
7405
- export interface RedeemInputDTO {
7406
- /**
7407
- *
7408
- * @type {string}
7409
- * @memberof RedeemInputDTO
7410
- */
7411
- token: string;
7412
- }
7413
7423
  /**
7414
7424
  *
7415
7425
  * @export
@@ -12584,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
12584
12594
 
12585
12595
  export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
12586
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
+ }
12587
12610
  /**
12588
12611
  *
12589
12612
  * @export
@@ -16316,6 +16339,19 @@ export interface TakaroEventHookExecuted {
16316
16339
  */
16317
16340
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16318
16341
  }
16342
+ /**
16343
+ *
16344
+ * @export
16345
+ * @interface TakaroEventInviteLinkCreated
16346
+ */
16347
+ export interface TakaroEventInviteLinkCreated {
16348
+ /**
16349
+ *
16350
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
16351
+ * @memberof TakaroEventInviteLinkCreated
16352
+ */
16353
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16354
+ }
16319
16355
  /**
16320
16356
  *
16321
16357
  * @export
@@ -17795,25 +17831,25 @@ export interface UserOutputDTO {
17795
17831
  * @type {string}
17796
17832
  * @memberof UserOutputDTO
17797
17833
  */
17798
- id: string;
17834
+ inviteLinkId?: string;
17799
17835
  /**
17800
17836
  *
17801
- * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
17837
+ * @type {string}
17802
17838
  * @memberof UserOutputDTO
17803
17839
  */
17804
- createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17840
+ id: string;
17805
17841
  /**
17806
17842
  *
17807
17843
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
17808
17844
  * @memberof UserOutputDTO
17809
17845
  */
17810
- updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17846
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17811
17847
  /**
17812
17848
  *
17813
- * @type {string}
17849
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
17814
17850
  * @memberof UserOutputDTO
17815
17851
  */
17816
- inviteLinkId?: string;
17852
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17817
17853
  }
17818
17854
  /**
17819
17855
  *
@@ -26440,6 +26476,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
26440
26476
  options: localVarRequestOptions,
26441
26477
  };
26442
26478
  },
26479
+ /**
26480
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
26481
+ * @summary Create admin invite link for a domain
26482
+ * @param {string} id
26483
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26484
+ * @param {*} [options] Override http request option.
26485
+ * @throws {RequiredError}
26486
+ */
26487
+ domainControllerCreateInviteLink: async (
26488
+ id: string,
26489
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26490
+ options: RawAxiosRequestConfig = {},
26491
+ ): Promise<RequestArgs> => {
26492
+ // verify required parameter 'id' is not null or undefined
26493
+ assertParamExists('domainControllerCreateInviteLink', 'id', id);
26494
+ const localVarPath = `/domain/{id}/invite-link`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
26495
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26496
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26497
+ let baseOptions;
26498
+ if (configuration) {
26499
+ baseOptions = configuration.baseOptions;
26500
+ }
26501
+
26502
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
26503
+ const localVarHeaderParameter = {} as any;
26504
+ const localVarQueryParameter = {} as any;
26505
+
26506
+ // authentication adminAuth required
26507
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
26508
+
26509
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26510
+
26511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26513
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
26514
+ localVarRequestOptions.data = serializeDataIfNeeded(
26515
+ inviteLinkCreateInputDTO,
26516
+ localVarRequestOptions,
26517
+ configuration,
26518
+ );
26519
+
26520
+ return {
26521
+ url: toPathString(localVarUrlObj),
26522
+ options: localVarRequestOptions,
26523
+ };
26524
+ },
26443
26525
  /**
26444
26526
  * <br> OperationId: `DomainControllerGetOne`
26445
26527
  * @summary Get one
@@ -26712,6 +26794,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
26712
26794
  configuration,
26713
26795
  )(axios, localVarOperationServerBasePath || basePath);
26714
26796
  },
26797
+ /**
26798
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
26799
+ * @summary Create admin invite link for a domain
26800
+ * @param {string} id
26801
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
26802
+ * @param {*} [options] Override http request option.
26803
+ * @throws {RequiredError}
26804
+ */
26805
+ async domainControllerCreateInviteLink(
26806
+ id: string,
26807
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
26808
+ options?: RawAxiosRequestConfig,
26809
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
26810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreateInviteLink(
26811
+ id,
26812
+ inviteLinkCreateInputDTO,
26813
+ options,
26814
+ );
26815
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26816
+ const localVarOperationServerBasePath =
26817
+ operationServerMap['DomainApi.domainControllerCreateInviteLink']?.[localVarOperationServerIndex]?.url;
26818
+ return (axios, basePath) =>
26819
+ createRequestFunction(
26820
+ localVarAxiosArgs,
26821
+ globalAxios,
26822
+ BASE_PATH,
26823
+ configuration,
26824
+ )(axios, localVarOperationServerBasePath || basePath);
26825
+ },
26715
26826
  /**
26716
26827
  * <br> OperationId: `DomainControllerGetOne`
26717
26828
  * @summary Get one
@@ -26886,6 +26997,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26886
26997
  .domainControllerCreate(domainCreateInputDTO, options)
26887
26998
  .then((request) => request(axios, basePath));
26888
26999
  },
27000
+ /**
27001
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
27002
+ * @summary Create admin invite link for a domain
27003
+ * @param {string} id
27004
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27005
+ * @param {*} [options] Override http request option.
27006
+ * @throws {RequiredError}
27007
+ */
27008
+ domainControllerCreateInviteLink(
27009
+ id: string,
27010
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27011
+ options?: RawAxiosRequestConfig,
27012
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
27013
+ return localVarFp
27014
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27015
+ .then((request) => request(axios, basePath));
27016
+ },
26889
27017
  /**
26890
27018
  * <br> OperationId: `DomainControllerGetOne`
26891
27019
  * @summary Get one
@@ -26991,6 +27119,25 @@ export class DomainApi extends BaseAPI {
26991
27119
  .then((request) => request(this.axios, this.basePath));
26992
27120
  }
26993
27121
 
27122
+ /**
27123
+ * Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
27124
+ * @summary Create admin invite link for a domain
27125
+ * @param {string} id
27126
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
27127
+ * @param {*} [options] Override http request option.
27128
+ * @throws {RequiredError}
27129
+ * @memberof DomainApi
27130
+ */
27131
+ public domainControllerCreateInviteLink(
27132
+ id: string,
27133
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
27134
+ options?: RawAxiosRequestConfig,
27135
+ ) {
27136
+ return DomainApiFp(this.configuration)
27137
+ .domainControllerCreateInviteLink(id, inviteLinkCreateInputDTO, options)
27138
+ .then((request) => request(this.axios, this.basePath));
27139
+ }
27140
+
26994
27141
  /**
26995
27142
  * <br> OperationId: `DomainControllerGetOne`
26996
27143
  * @summary Get one
@@ -31824,6 +31971,488 @@ export class HookApi extends BaseAPI {
31824
31971
  }
31825
31972
  }
31826
31973
 
31974
+ /**
31975
+ * InviteLinkApi - axios parameter creator
31976
+ * @export
31977
+ */
31978
+ export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
31979
+ return {
31980
+ /**
31981
+ * 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`
31982
+ * @summary Create invite link
31983
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
31984
+ * @param {*} [options] Override http request option.
31985
+ * @throws {RequiredError}
31986
+ */
31987
+ inviteLinkControllerCreate: async (
31988
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
31989
+ options: RawAxiosRequestConfig = {},
31990
+ ): Promise<RequestArgs> => {
31991
+ const localVarPath = `/invite-link`;
31992
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31993
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31994
+ let baseOptions;
31995
+ if (configuration) {
31996
+ baseOptions = configuration.baseOptions;
31997
+ }
31998
+
31999
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32000
+ const localVarHeaderParameter = {} as any;
32001
+ const localVarQueryParameter = {} as any;
32002
+
32003
+ // authentication domainAuth required
32004
+
32005
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32006
+
32007
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32008
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32009
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32010
+ localVarRequestOptions.data = serializeDataIfNeeded(
32011
+ inviteLinkCreateInputDTO,
32012
+ localVarRequestOptions,
32013
+ configuration,
32014
+ );
32015
+
32016
+ return {
32017
+ url: toPathString(localVarUrlObj),
32018
+ options: localVarRequestOptions,
32019
+ };
32020
+ },
32021
+ /**
32022
+ * <br> OperationId: `InviteLinkControllerPreview`
32023
+ * @summary Preview
32024
+ * @param {string} token
32025
+ * @param {*} [options] Override http request option.
32026
+ * @throws {RequiredError}
32027
+ */
32028
+ inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32029
+ // verify required parameter 'token' is not null or undefined
32030
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
32031
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
32032
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32033
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32034
+ let baseOptions;
32035
+ if (configuration) {
32036
+ baseOptions = configuration.baseOptions;
32037
+ }
32038
+
32039
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
32040
+ const localVarHeaderParameter = {} as any;
32041
+ const localVarQueryParameter = {} as any;
32042
+
32043
+ // authentication domainAuth required
32044
+
32045
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32046
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32047
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32048
+
32049
+ return {
32050
+ url: toPathString(localVarUrlObj),
32051
+ options: localVarRequestOptions,
32052
+ };
32053
+ },
32054
+ /**
32055
+ * <br> OperationId: `InviteLinkControllerRedeem`
32056
+ * @summary Redeem
32057
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32058
+ * @param {*} [options] Override http request option.
32059
+ * @throws {RequiredError}
32060
+ */
32061
+ inviteLinkControllerRedeem: async (
32062
+ redeemInputDTO?: RedeemInputDTO,
32063
+ options: RawAxiosRequestConfig = {},
32064
+ ): Promise<RequestArgs> => {
32065
+ const localVarPath = `/invite-link/redeem`;
32066
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32067
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32068
+ let baseOptions;
32069
+ if (configuration) {
32070
+ baseOptions = configuration.baseOptions;
32071
+ }
32072
+
32073
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32074
+ const localVarHeaderParameter = {} as any;
32075
+ const localVarQueryParameter = {} as any;
32076
+
32077
+ // authentication domainAuth required
32078
+
32079
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32080
+
32081
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32082
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32083
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32084
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
32085
+
32086
+ return {
32087
+ url: toPathString(localVarUrlObj),
32088
+ options: localVarRequestOptions,
32089
+ };
32090
+ },
32091
+ /**
32092
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32093
+ * @summary Revoke
32094
+ * @param {string} id
32095
+ * @param {*} [options] Override http request option.
32096
+ * @throws {RequiredError}
32097
+ */
32098
+ inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32099
+ // verify required parameter 'id' is not null or undefined
32100
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
32101
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
32102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32104
+ let baseOptions;
32105
+ if (configuration) {
32106
+ baseOptions = configuration.baseOptions;
32107
+ }
32108
+
32109
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
32110
+ const localVarHeaderParameter = {} as any;
32111
+ const localVarQueryParameter = {} as any;
32112
+
32113
+ // authentication domainAuth required
32114
+
32115
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32116
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32117
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32118
+
32119
+ return {
32120
+ url: toPathString(localVarUrlObj),
32121
+ options: localVarRequestOptions,
32122
+ };
32123
+ },
32124
+ /**
32125
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32126
+ * @summary Search
32127
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32128
+ * @param {*} [options] Override http request option.
32129
+ * @throws {RequiredError}
32130
+ */
32131
+ inviteLinkControllerSearch: async (
32132
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32133
+ options: RawAxiosRequestConfig = {},
32134
+ ): Promise<RequestArgs> => {
32135
+ const localVarPath = `/invite-link/search`;
32136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32138
+ let baseOptions;
32139
+ if (configuration) {
32140
+ baseOptions = configuration.baseOptions;
32141
+ }
32142
+
32143
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32144
+ const localVarHeaderParameter = {} as any;
32145
+ const localVarQueryParameter = {} as any;
32146
+
32147
+ // authentication domainAuth required
32148
+
32149
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32150
+
32151
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32152
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32153
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32154
+ localVarRequestOptions.data = serializeDataIfNeeded(
32155
+ inviteLinkSearchInputDTO,
32156
+ localVarRequestOptions,
32157
+ configuration,
32158
+ );
32159
+
32160
+ return {
32161
+ url: toPathString(localVarUrlObj),
32162
+ options: localVarRequestOptions,
32163
+ };
32164
+ },
32165
+ };
32166
+ };
32167
+
32168
+ /**
32169
+ * InviteLinkApi - functional programming interface
32170
+ * @export
32171
+ */
32172
+ export const InviteLinkApiFp = function (configuration?: Configuration) {
32173
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
32174
+ return {
32175
+ /**
32176
+ * 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`
32177
+ * @summary Create invite link
32178
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32179
+ * @param {*} [options] Override http request option.
32180
+ * @throws {RequiredError}
32181
+ */
32182
+ async inviteLinkControllerCreate(
32183
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32184
+ options?: RawAxiosRequestConfig,
32185
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
32186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
32187
+ inviteLinkCreateInputDTO,
32188
+ options,
32189
+ );
32190
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32191
+ const localVarOperationServerBasePath =
32192
+ operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
32193
+ return (axios, basePath) =>
32194
+ createRequestFunction(
32195
+ localVarAxiosArgs,
32196
+ globalAxios,
32197
+ BASE_PATH,
32198
+ configuration,
32199
+ )(axios, localVarOperationServerBasePath || basePath);
32200
+ },
32201
+ /**
32202
+ * <br> OperationId: `InviteLinkControllerPreview`
32203
+ * @summary Preview
32204
+ * @param {string} token
32205
+ * @param {*} [options] Override http request option.
32206
+ * @throws {RequiredError}
32207
+ */
32208
+ async inviteLinkControllerPreview(
32209
+ token: string,
32210
+ options?: RawAxiosRequestConfig,
32211
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
32212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
32213
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32214
+ const localVarOperationServerBasePath =
32215
+ operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
32216
+ return (axios, basePath) =>
32217
+ createRequestFunction(
32218
+ localVarAxiosArgs,
32219
+ globalAxios,
32220
+ BASE_PATH,
32221
+ configuration,
32222
+ )(axios, localVarOperationServerBasePath || basePath);
32223
+ },
32224
+ /**
32225
+ * <br> OperationId: `InviteLinkControllerRedeem`
32226
+ * @summary Redeem
32227
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32228
+ * @param {*} [options] Override http request option.
32229
+ * @throws {RequiredError}
32230
+ */
32231
+ async inviteLinkControllerRedeem(
32232
+ redeemInputDTO?: RedeemInputDTO,
32233
+ options?: RawAxiosRequestConfig,
32234
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
32235
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
32236
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32237
+ const localVarOperationServerBasePath =
32238
+ operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
32239
+ return (axios, basePath) =>
32240
+ createRequestFunction(
32241
+ localVarAxiosArgs,
32242
+ globalAxios,
32243
+ BASE_PATH,
32244
+ configuration,
32245
+ )(axios, localVarOperationServerBasePath || basePath);
32246
+ },
32247
+ /**
32248
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32249
+ * @summary Revoke
32250
+ * @param {string} id
32251
+ * @param {*} [options] Override http request option.
32252
+ * @throws {RequiredError}
32253
+ */
32254
+ async inviteLinkControllerRevoke(
32255
+ id: string,
32256
+ options?: RawAxiosRequestConfig,
32257
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
32258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
32259
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32260
+ const localVarOperationServerBasePath =
32261
+ operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
32262
+ return (axios, basePath) =>
32263
+ createRequestFunction(
32264
+ localVarAxiosArgs,
32265
+ globalAxios,
32266
+ BASE_PATH,
32267
+ configuration,
32268
+ )(axios, localVarOperationServerBasePath || basePath);
32269
+ },
32270
+ /**
32271
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32272
+ * @summary Search
32273
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32274
+ * @param {*} [options] Override http request option.
32275
+ * @throws {RequiredError}
32276
+ */
32277
+ async inviteLinkControllerSearch(
32278
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32279
+ options?: RawAxiosRequestConfig,
32280
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
32281
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
32282
+ inviteLinkSearchInputDTO,
32283
+ options,
32284
+ );
32285
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32286
+ const localVarOperationServerBasePath =
32287
+ operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
32288
+ return (axios, basePath) =>
32289
+ createRequestFunction(
32290
+ localVarAxiosArgs,
32291
+ globalAxios,
32292
+ BASE_PATH,
32293
+ configuration,
32294
+ )(axios, localVarOperationServerBasePath || basePath);
32295
+ },
32296
+ };
32297
+ };
32298
+
32299
+ /**
32300
+ * InviteLinkApi - factory interface
32301
+ * @export
32302
+ */
32303
+ export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32304
+ const localVarFp = InviteLinkApiFp(configuration);
32305
+ return {
32306
+ /**
32307
+ * 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`
32308
+ * @summary Create invite link
32309
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32310
+ * @param {*} [options] Override http request option.
32311
+ * @throws {RequiredError}
32312
+ */
32313
+ inviteLinkControllerCreate(
32314
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32315
+ options?: RawAxiosRequestConfig,
32316
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
32317
+ return localVarFp
32318
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32319
+ .then((request) => request(axios, basePath));
32320
+ },
32321
+ /**
32322
+ * <br> OperationId: `InviteLinkControllerPreview`
32323
+ * @summary Preview
32324
+ * @param {string} token
32325
+ * @param {*} [options] Override http request option.
32326
+ * @throws {RequiredError}
32327
+ */
32328
+ inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
32329
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
32330
+ },
32331
+ /**
32332
+ * <br> OperationId: `InviteLinkControllerRedeem`
32333
+ * @summary Redeem
32334
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32335
+ * @param {*} [options] Override http request option.
32336
+ * @throws {RequiredError}
32337
+ */
32338
+ inviteLinkControllerRedeem(
32339
+ redeemInputDTO?: RedeemInputDTO,
32340
+ options?: RawAxiosRequestConfig,
32341
+ ): AxiosPromise<UserOutputWithRolesDTOAPI> {
32342
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
32343
+ },
32344
+ /**
32345
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32346
+ * @summary Revoke
32347
+ * @param {string} id
32348
+ * @param {*} [options] Override http request option.
32349
+ * @throws {RequiredError}
32350
+ */
32351
+ inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
32352
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
32353
+ },
32354
+ /**
32355
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32356
+ * @summary Search
32357
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32358
+ * @param {*} [options] Override http request option.
32359
+ * @throws {RequiredError}
32360
+ */
32361
+ inviteLinkControllerSearch(
32362
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32363
+ options?: RawAxiosRequestConfig,
32364
+ ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
32365
+ return localVarFp
32366
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32367
+ .then((request) => request(axios, basePath));
32368
+ },
32369
+ };
32370
+ };
32371
+
32372
+ /**
32373
+ * InviteLinkApi - object-oriented interface
32374
+ * @export
32375
+ * @class InviteLinkApi
32376
+ * @extends {BaseAPI}
32377
+ */
32378
+ export class InviteLinkApi extends BaseAPI {
32379
+ /**
32380
+ * 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`
32381
+ * @summary Create invite link
32382
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
32383
+ * @param {*} [options] Override http request option.
32384
+ * @throws {RequiredError}
32385
+ * @memberof InviteLinkApi
32386
+ */
32387
+ public inviteLinkControllerCreate(
32388
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
32389
+ options?: RawAxiosRequestConfig,
32390
+ ) {
32391
+ return InviteLinkApiFp(this.configuration)
32392
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
32393
+ .then((request) => request(this.axios, this.basePath));
32394
+ }
32395
+
32396
+ /**
32397
+ * <br> OperationId: `InviteLinkControllerPreview`
32398
+ * @summary Preview
32399
+ * @param {string} token
32400
+ * @param {*} [options] Override http request option.
32401
+ * @throws {RequiredError}
32402
+ * @memberof InviteLinkApi
32403
+ */
32404
+ public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
32405
+ return InviteLinkApiFp(this.configuration)
32406
+ .inviteLinkControllerPreview(token, options)
32407
+ .then((request) => request(this.axios, this.basePath));
32408
+ }
32409
+
32410
+ /**
32411
+ * <br> OperationId: `InviteLinkControllerRedeem`
32412
+ * @summary Redeem
32413
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
32414
+ * @param {*} [options] Override http request option.
32415
+ * @throws {RequiredError}
32416
+ * @memberof InviteLinkApi
32417
+ */
32418
+ public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
32419
+ return InviteLinkApiFp(this.configuration)
32420
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
32421
+ .then((request) => request(this.axios, this.basePath));
32422
+ }
32423
+
32424
+ /**
32425
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
32426
+ * @summary Revoke
32427
+ * @param {string} id
32428
+ * @param {*} [options] Override http request option.
32429
+ * @throws {RequiredError}
32430
+ * @memberof InviteLinkApi
32431
+ */
32432
+ public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
32433
+ return InviteLinkApiFp(this.configuration)
32434
+ .inviteLinkControllerRevoke(id, options)
32435
+ .then((request) => request(this.axios, this.basePath));
32436
+ }
32437
+
32438
+ /**
32439
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
32440
+ * @summary Search
32441
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
32442
+ * @param {*} [options] Override http request option.
32443
+ * @throws {RequiredError}
32444
+ * @memberof InviteLinkApi
32445
+ */
32446
+ public inviteLinkControllerSearch(
32447
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
32448
+ options?: RawAxiosRequestConfig,
32449
+ ) {
32450
+ return InviteLinkApiFp(this.configuration)
32451
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
32452
+ .then((request) => request(this.axios, this.basePath));
32453
+ }
32454
+ }
32455
+
31827
32456
  /**
31828
32457
  * ItemApi - axios parameter creator
31829
32458
  * @export
@@ -41135,6 +41764,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41135
41764
  */
41136
41765
  userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41137
41766
  const localVarPath = `/user/count`;
41767
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41138
41768
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41139
41769
  let baseOptions;
41140
41770
  if (configuration) {
@@ -41145,8 +41775,10 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41145
41775
  const localVarHeaderParameter = {} as any;
41146
41776
  const localVarQueryParameter = {} as any;
41147
41777
 
41778
+ // authentication domainAuth required
41779
+
41148
41780
  setSearchParams(localVarUrlObj, localVarQueryParameter);
41149
- const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41150
41782
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
41151
41783
 
41152
41784
  return {
@@ -41259,6 +41891,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
41259
41891
  * @summary Invite
41260
41892
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41261
41893
  * @param {*} [options] Override http request option.
41894
+ * @deprecated
41262
41895
  * @throws {RequiredError}
41263
41896
  */
41264
41897
  userControllerInvite: async (
@@ -41753,6 +42386,7 @@ export const UserApiFp = function (configuration?: Configuration) {
41753
42386
  * @summary Invite
41754
42387
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41755
42388
  * @param {*} [options] Override http request option.
42389
+ * @deprecated
41756
42390
  * @throws {RequiredError}
41757
42391
  */
41758
42392
  async userControllerInvite(
@@ -42056,6 +42690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
42056
42690
  * @summary Invite
42057
42691
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
42058
42692
  * @param {*} [options] Override http request option.
42693
+ * @deprecated
42059
42694
  * @throws {RequiredError}
42060
42695
  */
42061
42696
  userControllerInvite(
@@ -42256,6 +42891,7 @@ export class UserApi extends BaseAPI {
42256
42891
  * @summary Invite
42257
42892
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
42258
42893
  * @param {*} [options] Override http request option.
42894
+ * @deprecated
42259
42895
  * @throws {RequiredError}
42260
42896
  * @memberof UserApi
42261
42897
  */
@@ -42878,474 +43514,3 @@ export class VariableApi extends BaseAPI {
42878
43514
  .then((request) => request(this.axios, this.basePath));
42879
43515
  }
42880
43516
  }
42881
-
42882
- /**
42883
- * InviteLinkApi - axios parameter creator
42884
- * @export
42885
- */
42886
- export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
42887
- return {
42888
- /**
42889
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
42890
- * @summary Create invite link
42891
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
42892
- * @param {*} [options] Override http request option.
42893
- * @throws {RequiredError}
42894
- */
42895
- inviteLinkControllerCreate: async (
42896
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
42897
- options: RawAxiosRequestConfig = {},
42898
- ): Promise<RequestArgs> => {
42899
- const localVarPath = `/invite-link`;
42900
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42901
- let baseOptions;
42902
- if (configuration) {
42903
- baseOptions = configuration.baseOptions;
42904
- }
42905
-
42906
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42907
- const localVarHeaderParameter = {} as any;
42908
- const localVarQueryParameter = {} as any;
42909
-
42910
- // authentication domainAuth required
42911
-
42912
- localVarHeaderParameter['Content-Type'] = 'application/json';
42913
-
42914
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42915
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42916
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42917
- localVarRequestOptions.data = serializeDataIfNeeded(
42918
- inviteLinkCreateInputDTO,
42919
- localVarRequestOptions,
42920
- configuration,
42921
- );
42922
-
42923
- return {
42924
- url: toPathString(localVarUrlObj),
42925
- options: localVarRequestOptions,
42926
- };
42927
- },
42928
- /**
42929
- * <br> OperationId: `InviteLinkControllerPreview`
42930
- * @summary Preview
42931
- * @param {string} token
42932
- * @param {*} [options] Override http request option.
42933
- * @throws {RequiredError}
42934
- */
42935
- inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42936
- assertParamExists('inviteLinkControllerPreview', 'token', token);
42937
- const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
42938
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42939
- let baseOptions;
42940
- if (configuration) {
42941
- baseOptions = configuration.baseOptions;
42942
- }
42943
-
42944
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
42945
- const localVarHeaderParameter = {} as any;
42946
- const localVarQueryParameter = {} as any;
42947
-
42948
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42949
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42950
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42951
-
42952
- return {
42953
- url: toPathString(localVarUrlObj),
42954
- options: localVarRequestOptions,
42955
- };
42956
- },
42957
- /**
42958
- * <br> OperationId: `InviteLinkControllerRedeem`
42959
- * @summary Redeem
42960
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
42961
- * @param {*} [options] Override http request option.
42962
- * @throws {RequiredError}
42963
- */
42964
- inviteLinkControllerRedeem: async (
42965
- redeemInputDTO?: RedeemInputDTO,
42966
- options: RawAxiosRequestConfig = {},
42967
- ): Promise<RequestArgs> => {
42968
- const localVarPath = `/invite-link/redeem`;
42969
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42970
- let baseOptions;
42971
- if (configuration) {
42972
- baseOptions = configuration.baseOptions;
42973
- }
42974
-
42975
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42976
- const localVarHeaderParameter = {} as any;
42977
- const localVarQueryParameter = {} as any;
42978
-
42979
- localVarHeaderParameter['Content-Type'] = 'application/json';
42980
-
42981
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42982
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42983
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42984
- localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
42985
-
42986
- return {
42987
- url: toPathString(localVarUrlObj),
42988
- options: localVarRequestOptions,
42989
- };
42990
- },
42991
- /**
42992
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
42993
- * @summary Revoke
42994
- * @param {string} id
42995
- * @param {*} [options] Override http request option.
42996
- * @throws {RequiredError}
42997
- */
42998
- inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42999
- assertParamExists('inviteLinkControllerRevoke', 'id', id);
43000
- const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
43001
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43002
- let baseOptions;
43003
- if (configuration) {
43004
- baseOptions = configuration.baseOptions;
43005
- }
43006
-
43007
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
43008
- const localVarHeaderParameter = {} as any;
43009
- const localVarQueryParameter = {} as any;
43010
-
43011
- // authentication domainAuth required
43012
-
43013
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43014
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43015
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
43016
-
43017
- return {
43018
- url: toPathString(localVarUrlObj),
43019
- options: localVarRequestOptions,
43020
- };
43021
- },
43022
- /**
43023
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43024
- * @summary Search
43025
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43026
- * @param {*} [options] Override http request option.
43027
- * @throws {RequiredError}
43028
- */
43029
- inviteLinkControllerSearch: async (
43030
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43031
- options: RawAxiosRequestConfig = {},
43032
- ): Promise<RequestArgs> => {
43033
- const localVarPath = `/invite-link/search`;
43034
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43035
- let baseOptions;
43036
- if (configuration) {
43037
- baseOptions = configuration.baseOptions;
43038
- }
43039
-
43040
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
43041
- const localVarHeaderParameter = {} as any;
43042
- const localVarQueryParameter = {} as any;
43043
-
43044
- // authentication domainAuth required
43045
-
43046
- localVarHeaderParameter['Content-Type'] = 'application/json';
43047
-
43048
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43049
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43050
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
43051
- localVarRequestOptions.data = serializeDataIfNeeded(
43052
- inviteLinkSearchInputDTO,
43053
- localVarRequestOptions,
43054
- configuration,
43055
- );
43056
-
43057
- return {
43058
- url: toPathString(localVarUrlObj),
43059
- options: localVarRequestOptions,
43060
- };
43061
- },
43062
- };
43063
- };
43064
-
43065
- /**
43066
- * InviteLinkApi - functional programming interface
43067
- * @export
43068
- */
43069
- export const InviteLinkApiFp = function (configuration?: Configuration) {
43070
- const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
43071
- return {
43072
- /**
43073
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43074
- * @summary Create invite link
43075
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43076
- * @param {*} [options] Override http request option.
43077
- * @throws {RequiredError}
43078
- */
43079
- async inviteLinkControllerCreate(
43080
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43081
- options?: RawAxiosRequestConfig,
43082
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
43083
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
43084
- inviteLinkCreateInputDTO,
43085
- options,
43086
- );
43087
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43088
- const localVarOperationServerBasePath =
43089
- operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
43090
- return (axios, basePath) =>
43091
- createRequestFunction(
43092
- localVarAxiosArgs,
43093
- globalAxios,
43094
- BASE_PATH,
43095
- configuration,
43096
- )(axios, localVarOperationServerBasePath || basePath);
43097
- },
43098
- /**
43099
- * <br> OperationId: `InviteLinkControllerPreview`
43100
- * @summary Preview
43101
- * @param {string} token
43102
- * @param {*} [options] Override http request option.
43103
- * @throws {RequiredError}
43104
- */
43105
- async inviteLinkControllerPreview(
43106
- token: string,
43107
- options?: RawAxiosRequestConfig,
43108
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
43109
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
43110
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43111
- const localVarOperationServerBasePath =
43112
- operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
43113
- return (axios, basePath) =>
43114
- createRequestFunction(
43115
- localVarAxiosArgs,
43116
- globalAxios,
43117
- BASE_PATH,
43118
- configuration,
43119
- )(axios, localVarOperationServerBasePath || basePath);
43120
- },
43121
- /**
43122
- * <br> OperationId: `InviteLinkControllerRedeem`
43123
- * @summary Redeem
43124
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43125
- * @param {*} [options] Override http request option.
43126
- * @throws {RequiredError}
43127
- */
43128
- async inviteLinkControllerRedeem(
43129
- redeemInputDTO?: RedeemInputDTO,
43130
- options?: RawAxiosRequestConfig,
43131
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
43132
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
43133
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43134
- const localVarOperationServerBasePath =
43135
- operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
43136
- return (axios, basePath) =>
43137
- createRequestFunction(
43138
- localVarAxiosArgs,
43139
- globalAxios,
43140
- BASE_PATH,
43141
- configuration,
43142
- )(axios, localVarOperationServerBasePath || basePath);
43143
- },
43144
- /**
43145
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43146
- * @summary Revoke
43147
- * @param {string} id
43148
- * @param {*} [options] Override http request option.
43149
- * @throws {RequiredError}
43150
- */
43151
- async inviteLinkControllerRevoke(
43152
- id: string,
43153
- options?: RawAxiosRequestConfig,
43154
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
43155
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
43156
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43157
- const localVarOperationServerBasePath =
43158
- operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
43159
- return (axios, basePath) =>
43160
- createRequestFunction(
43161
- localVarAxiosArgs,
43162
- globalAxios,
43163
- BASE_PATH,
43164
- configuration,
43165
- )(axios, localVarOperationServerBasePath || basePath);
43166
- },
43167
- /**
43168
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43169
- * @summary Search
43170
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43171
- * @param {*} [options] Override http request option.
43172
- * @throws {RequiredError}
43173
- */
43174
- async inviteLinkControllerSearch(
43175
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43176
- options?: RawAxiosRequestConfig,
43177
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
43178
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
43179
- inviteLinkSearchInputDTO,
43180
- options,
43181
- );
43182
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43183
- const localVarOperationServerBasePath =
43184
- operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
43185
- return (axios, basePath) =>
43186
- createRequestFunction(
43187
- localVarAxiosArgs,
43188
- globalAxios,
43189
- BASE_PATH,
43190
- configuration,
43191
- )(axios, localVarOperationServerBasePath || basePath);
43192
- },
43193
- };
43194
- };
43195
-
43196
- /**
43197
- * InviteLinkApi - factory interface
43198
- * @export
43199
- */
43200
- export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
43201
- const localVarFp = InviteLinkApiFp(configuration);
43202
- return {
43203
- /**
43204
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43205
- * @summary Create invite link
43206
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43207
- * @param {*} [options] Override http request option.
43208
- * @throws {RequiredError}
43209
- */
43210
- inviteLinkControllerCreate(
43211
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43212
- options?: RawAxiosRequestConfig,
43213
- ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
43214
- return localVarFp
43215
- .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43216
- .then((request) => request(axios, basePath));
43217
- },
43218
- /**
43219
- * <br> OperationId: `InviteLinkControllerPreview`
43220
- * @summary Preview
43221
- * @param {string} token
43222
- * @param {*} [options] Override http request option.
43223
- * @throws {RequiredError}
43224
- */
43225
- inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
43226
- return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
43227
- },
43228
- /**
43229
- * <br> OperationId: `InviteLinkControllerRedeem`
43230
- * @summary Redeem
43231
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43232
- * @param {*} [options] Override http request option.
43233
- * @throws {RequiredError}
43234
- */
43235
- inviteLinkControllerRedeem(
43236
- redeemInputDTO?: RedeemInputDTO,
43237
- options?: RawAxiosRequestConfig,
43238
- ): AxiosPromise<UserOutputWithRolesDTOAPI> {
43239
- return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
43240
- },
43241
- /**
43242
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43243
- * @summary Revoke
43244
- * @param {string} id
43245
- * @param {*} [options] Override http request option.
43246
- * @throws {RequiredError}
43247
- */
43248
- inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
43249
- return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
43250
- },
43251
- /**
43252
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43253
- * @summary Search
43254
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43255
- * @param {*} [options] Override http request option.
43256
- * @throws {RequiredError}
43257
- */
43258
- inviteLinkControllerSearch(
43259
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43260
- options?: RawAxiosRequestConfig,
43261
- ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
43262
- return localVarFp
43263
- .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43264
- .then((request) => request(axios, basePath));
43265
- },
43266
- };
43267
- };
43268
-
43269
- /**
43270
- * InviteLinkApi - object-oriented interface
43271
- * @export
43272
- * @class InviteLinkApi
43273
- * @extends {BaseAPI}
43274
- */
43275
- export class InviteLinkApi extends BaseAPI {
43276
- /**
43277
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43278
- * @summary Create invite link
43279
- * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43280
- * @param {*} [options] Override http request option.
43281
- * @throws {RequiredError}
43282
- * @memberof InviteLinkApi
43283
- */
43284
- public inviteLinkControllerCreate(
43285
- inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43286
- options?: RawAxiosRequestConfig,
43287
- ) {
43288
- return InviteLinkApiFp(this.configuration)
43289
- .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43290
- .then((request) => request(this.axios, this.basePath));
43291
- }
43292
-
43293
- /**
43294
- * <br> OperationId: `InviteLinkControllerPreview`
43295
- * @summary Preview
43296
- * @param {string} token
43297
- * @param {*} [options] Override http request option.
43298
- * @throws {RequiredError}
43299
- * @memberof InviteLinkApi
43300
- */
43301
- public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
43302
- return InviteLinkApiFp(this.configuration)
43303
- .inviteLinkControllerPreview(token, options)
43304
- .then((request) => request(this.axios, this.basePath));
43305
- }
43306
-
43307
- /**
43308
- * <br> OperationId: `InviteLinkControllerRedeem`
43309
- * @summary Redeem
43310
- * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43311
- * @param {*} [options] Override http request option.
43312
- * @throws {RequiredError}
43313
- * @memberof InviteLinkApi
43314
- */
43315
- public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
43316
- return InviteLinkApiFp(this.configuration)
43317
- .inviteLinkControllerRedeem(redeemInputDTO, options)
43318
- .then((request) => request(this.axios, this.basePath));
43319
- }
43320
-
43321
- /**
43322
- * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43323
- * @summary Revoke
43324
- * @param {string} id
43325
- * @param {*} [options] Override http request option.
43326
- * @throws {RequiredError}
43327
- * @memberof InviteLinkApi
43328
- */
43329
- public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
43330
- return InviteLinkApiFp(this.configuration)
43331
- .inviteLinkControllerRevoke(id, options)
43332
- .then((request) => request(this.axios, this.basePath));
43333
- }
43334
-
43335
- /**
43336
- * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43337
- * @summary Search
43338
- * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43339
- * @param {*} [options] Override http request option.
43340
- * @throws {RequiredError}
43341
- * @memberof InviteLinkApi
43342
- */
43343
- public inviteLinkControllerSearch(
43344
- inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43345
- options?: RawAxiosRequestConfig,
43346
- ) {
43347
- return InviteLinkApiFp(this.configuration)
43348
- .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43349
- .then((request) => request(this.axios, this.basePath));
43350
- }
43351
- }