@takaro/apiclient 0.0.0-dev.bf507a2 → 0.0.0-dev.bfbcbc4

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 {string}
2282
+ * @memberof DomainCreateInputDTO
2283
+ */
2284
+ serverRegistrationToken?: string;
2285
+ /**
2286
+ *
2287
+ * @type {boolean}
2288
+ * @memberof DomainCreateInputDTO
2289
+ */
2290
+ skipBuiltinSeeding?: boolean;
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 = {
@@ -2664,6 +2712,50 @@ export const DomainUpdateInputDTOStateEnum = {
2664
2712
  export type DomainUpdateInputDTOStateEnum =
2665
2713
  (typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
2666
2714
 
2715
+ /**
2716
+ *
2717
+ * @export
2718
+ * @interface EffectiveStorefrontConfigDTO
2719
+ */
2720
+ export interface EffectiveStorefrontConfigDTO {
2721
+ /**
2722
+ *
2723
+ * @type {string}
2724
+ * @memberof EffectiveStorefrontConfigDTO
2725
+ */
2726
+ templateId: string;
2727
+ /**
2728
+ *
2729
+ * @type {object}
2730
+ * @memberof EffectiveStorefrontConfigDTO
2731
+ */
2732
+ values: object;
2733
+ /**
2734
+ *
2735
+ * @type {object}
2736
+ * @memberof EffectiveStorefrontConfigDTO
2737
+ */
2738
+ schema: object;
2739
+ }
2740
+ /**
2741
+ *
2742
+ * @export
2743
+ * @interface EffectiveStorefrontConfigOutputDTOAPI
2744
+ */
2745
+ export interface EffectiveStorefrontConfigOutputDTOAPI {
2746
+ /**
2747
+ *
2748
+ * @type {EffectiveStorefrontConfigDTO}
2749
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2750
+ */
2751
+ data: EffectiveStorefrontConfigDTO;
2752
+ /**
2753
+ *
2754
+ * @type {MetadataOutput}
2755
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2756
+ */
2757
+ meta: MetadataOutput;
2758
+ }
2667
2759
  /**
2668
2760
  *
2669
2761
  * @export
@@ -3219,6 +3311,7 @@ export const EventCreateDTOEventNameEnum = {
3219
3311
  PlayerInventoryChanged: 'player-inventory-changed',
3220
3312
  EventRateLimited: 'event-rate-limited',
3221
3313
  PlayerSyncSnapshot: 'player-sync-snapshot',
3314
+ InviteLinkCreated: 'invite-link-created',
3222
3315
  PlayerConnected: 'player-connected',
3223
3316
  PlayerDisconnected: 'player-disconnected',
3224
3317
  ChatMessage: 'chat-message',
@@ -3437,6 +3530,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
3437
3530
  PlayerInventoryChanged: 'player-inventory-changed',
3438
3531
  EventRateLimited: 'event-rate-limited',
3439
3532
  PlayerSyncSnapshot: 'player-sync-snapshot',
3533
+ InviteLinkCreated: 'invite-link-created',
3440
3534
  PlayerConnected: 'player-connected',
3441
3535
  PlayerDisconnected: 'player-disconnected',
3442
3536
  ChatMessage: 'chat-message',
@@ -3807,6 +3901,7 @@ export const EventOutputDTOEventNameEnum = {
3807
3901
  PlayerInventoryChanged: 'player-inventory-changed',
3808
3902
  EventRateLimited: 'event-rate-limited',
3809
3903
  PlayerSyncSnapshot: 'player-sync-snapshot',
3904
+ InviteLinkCreated: 'invite-link-created',
3810
3905
  PlayerConnected: 'player-connected',
3811
3906
  PlayerDisconnected: 'player-disconnected',
3812
3907
  ChatMessage: 'chat-message',
@@ -3839,6 +3934,7 @@ export type EventOutputDTOMeta =
3839
3934
  | TakaroEventGameserverDeleted
3840
3935
  | TakaroEventGameserverUpdated
3841
3936
  | TakaroEventHookExecuted
3937
+ | TakaroEventInviteLinkCreated
3842
3938
  | TakaroEventModuleCreated
3843
3939
  | TakaroEventModuleDeleted
3844
3940
  | TakaroEventModuleInstalled
@@ -4046,6 +4142,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
4046
4142
  PlayerInventoryChanged: 'player-inventory-changed',
4047
4143
  EventRateLimited: 'event-rate-limited',
4048
4144
  PlayerSyncSnapshot: 'player-sync-snapshot',
4145
+ InviteLinkCreated: 'invite-link-created',
4049
4146
  PlayerConnected: 'player-connected',
4050
4147
  PlayerDisconnected: 'player-disconnected',
4051
4148
  ChatMessage: 'chat-message',
@@ -5540,6 +5637,7 @@ export const HookCreateDTOEventTypeEnum = {
5540
5637
  PlayerInventoryChanged: 'player-inventory-changed',
5541
5638
  EventRateLimited: 'event-rate-limited',
5542
5639
  PlayerSyncSnapshot: 'player-sync-snapshot',
5640
+ InviteLinkCreated: 'invite-link-created',
5543
5641
  } as const;
5544
5642
 
5545
5643
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -5703,6 +5801,7 @@ export const HookOutputDTOEventTypeEnum = {
5703
5801
  PlayerInventoryChanged: 'player-inventory-changed',
5704
5802
  EventRateLimited: 'event-rate-limited',
5705
5803
  PlayerSyncSnapshot: 'player-sync-snapshot',
5804
+ InviteLinkCreated: 'invite-link-created',
5706
5805
  } as const;
5707
5806
 
5708
5807
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -5811,6 +5910,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
5811
5910
  PlayerInventoryChanged: 'player-inventory-changed',
5812
5911
  EventRateLimited: 'event-rate-limited',
5813
5912
  PlayerSyncSnapshot: 'player-sync-snapshot',
5913
+ InviteLinkCreated: 'invite-link-created',
5814
5914
  } as const;
5815
5915
 
5816
5916
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -5991,6 +6091,7 @@ export const HookTriggerDTOEventTypeEnum = {
5991
6091
  PlayerInventoryChanged: 'player-inventory-changed',
5992
6092
  EventRateLimited: 'event-rate-limited',
5993
6093
  PlayerSyncSnapshot: 'player-sync-snapshot',
6094
+ InviteLinkCreated: 'invite-link-created',
5994
6095
  } as const;
5995
6096
 
5996
6097
  export type HookTriggerDTOEventTypeEnum =
@@ -6081,6 +6182,7 @@ export const HookUpdateDTOEventTypeEnum = {
6081
6182
  PlayerInventoryChanged: 'player-inventory-changed',
6082
6183
  EventRateLimited: 'event-rate-limited',
6083
6184
  PlayerSyncSnapshot: 'player-sync-snapshot',
6185
+ InviteLinkCreated: 'invite-link-created',
6084
6186
  } as const;
6085
6187
 
6086
6188
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -6413,6 +6515,7 @@ export const IHookEventTypeEnum = {
6413
6515
  PlayerInventoryChanged: 'player-inventory-changed',
6414
6516
  EventRateLimited: 'event-rate-limited',
6415
6517
  PlayerSyncSnapshot: 'player-sync-snapshot',
6518
+ InviteLinkCreated: 'invite-link-created',
6416
6519
  } as const;
6417
6520
 
6418
6521
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -6842,6 +6945,462 @@ export interface InviteCreateDTO {
6842
6945
  */
6843
6946
  email: string;
6844
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
+
6845
7404
  /**
6846
7405
  *
6847
7406
  * @export
@@ -7593,7 +8152,7 @@ export interface MeOutputDTO {
7593
8152
  * @type {UserOutputWithRolesDTO}
7594
8153
  * @memberof MeOutputDTO
7595
8154
  */
7596
- user: UserOutputWithRolesDTO;
8155
+ user?: UserOutputWithRolesDTO;
7597
8156
  /**
7598
8157
  *
7599
8158
  * @type {Array<DomainOutputDTO>}
@@ -7605,7 +8164,7 @@ export interface MeOutputDTO {
7605
8164
  * @type {string}
7606
8165
  * @memberof MeOutputDTO
7607
8166
  */
7608
- domain: string;
8167
+ domain?: string;
7609
8168
  /**
7610
8169
  *
7611
8170
  * @type {PlayerOutputWithRolesDTO}
@@ -12035,6 +12594,19 @@ export const RecentOrderDTOStatusEnum = {
12035
12594
 
12036
12595
  export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
12037
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
+ }
12038
12610
  /**
12039
12611
  *
12040
12612
  * @export
@@ -12847,7 +13419,7 @@ export interface RoleUpdateInputDTO {
12847
13419
  * @type {string}
12848
13420
  * @memberof RoleUpdateInputDTO
12849
13421
  */
12850
- linkedDiscordRoleId?: string;
13422
+ linkedDiscordRoleId?: string | null;
12851
13423
  }
12852
13424
  /**
12853
13425
  *
@@ -14053,6 +14625,25 @@ export interface ShopDeadStockItemDTO {
14053
14625
  */
14054
14626
  daysSinceLastSale?: number;
14055
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
+ }
14056
14647
  /**
14057
14648
  *
14058
14649
  * @export
@@ -14078,6 +14669,44 @@ export interface ShopImportOptions {
14078
14669
  */
14079
14670
  gameServerId: string;
14080
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
+ }
14081
14710
  /**
14082
14711
  *
14083
14712
  * @export
@@ -15220,6 +15849,175 @@ export interface SmallModuleVersionOutputDTO {
15220
15849
  */
15221
15850
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15222
15851
  }
15852
+ /**
15853
+ *
15854
+ * @export
15855
+ * @interface StorefrontConfigCreateDTO
15856
+ */
15857
+ export interface StorefrontConfigCreateDTO {
15858
+ /**
15859
+ *
15860
+ * @type {string}
15861
+ * @memberof StorefrontConfigCreateDTO
15862
+ */
15863
+ gameServerId: string;
15864
+ /**
15865
+ *
15866
+ * @type {string}
15867
+ * @memberof StorefrontConfigCreateDTO
15868
+ */
15869
+ templateId: string;
15870
+ /**
15871
+ *
15872
+ * @type {object}
15873
+ * @memberof StorefrontConfigCreateDTO
15874
+ */
15875
+ values?: object;
15876
+ }
15877
+ /**
15878
+ *
15879
+ * @export
15880
+ * @interface StorefrontConfigOutputDTO
15881
+ */
15882
+ export interface StorefrontConfigOutputDTO {
15883
+ /**
15884
+ *
15885
+ * @type {string}
15886
+ * @memberof StorefrontConfigOutputDTO
15887
+ */
15888
+ gameServerId: string;
15889
+ /**
15890
+ *
15891
+ * @type {string}
15892
+ * @memberof StorefrontConfigOutputDTO
15893
+ */
15894
+ templateId: string;
15895
+ /**
15896
+ *
15897
+ * @type {object}
15898
+ * @memberof StorefrontConfigOutputDTO
15899
+ */
15900
+ values: object;
15901
+ /**
15902
+ *
15903
+ * @type {string}
15904
+ * @memberof StorefrontConfigOutputDTO
15905
+ */
15906
+ id: string;
15907
+ /**
15908
+ *
15909
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15910
+ * @memberof StorefrontConfigOutputDTO
15911
+ */
15912
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15913
+ /**
15914
+ *
15915
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15916
+ * @memberof StorefrontConfigOutputDTO
15917
+ */
15918
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15919
+ }
15920
+ /**
15921
+ *
15922
+ * @export
15923
+ * @interface StorefrontConfigUpdateDTO
15924
+ */
15925
+ export interface StorefrontConfigUpdateDTO {
15926
+ /**
15927
+ *
15928
+ * @type {string}
15929
+ * @memberof StorefrontConfigUpdateDTO
15930
+ */
15931
+ templateId?: string;
15932
+ /**
15933
+ *
15934
+ * @type {object}
15935
+ * @memberof StorefrontConfigUpdateDTO
15936
+ */
15937
+ values?: object;
15938
+ }
15939
+ /**
15940
+ *
15941
+ * @export
15942
+ * @interface StorefrontConfigUpsertBody
15943
+ */
15944
+ export interface StorefrontConfigUpsertBody {
15945
+ /**
15946
+ *
15947
+ * @type {string}
15948
+ * @memberof StorefrontConfigUpsertBody
15949
+ */
15950
+ templateId: string;
15951
+ /**
15952
+ *
15953
+ * @type {object}
15954
+ * @memberof StorefrontConfigUpsertBody
15955
+ */
15956
+ values: object;
15957
+ }
15958
+ /**
15959
+ *
15960
+ * @export
15961
+ * @interface StorefrontConfigUpsertDTO
15962
+ */
15963
+ export interface StorefrontConfigUpsertDTO {
15964
+ /**
15965
+ *
15966
+ * @type {string}
15967
+ * @memberof StorefrontConfigUpsertDTO
15968
+ */
15969
+ templateId: string;
15970
+ /**
15971
+ *
15972
+ * @type {object}
15973
+ * @memberof StorefrontConfigUpsertDTO
15974
+ */
15975
+ values: object;
15976
+ }
15977
+ /**
15978
+ *
15979
+ * @export
15980
+ * @interface StorefrontTemplateDTO
15981
+ */
15982
+ export interface StorefrontTemplateDTO {
15983
+ /**
15984
+ *
15985
+ * @type {string}
15986
+ * @memberof StorefrontTemplateDTO
15987
+ */
15988
+ id: string;
15989
+ /**
15990
+ *
15991
+ * @type {string}
15992
+ * @memberof StorefrontTemplateDTO
15993
+ */
15994
+ name: string;
15995
+ /**
15996
+ *
15997
+ * @type {object}
15998
+ * @memberof StorefrontTemplateDTO
15999
+ */
16000
+ schema: object;
16001
+ }
16002
+ /**
16003
+ *
16004
+ * @export
16005
+ * @interface StorefrontTemplateOutputArrayDTOAPI
16006
+ */
16007
+ export interface StorefrontTemplateOutputArrayDTOAPI {
16008
+ /**
16009
+ *
16010
+ * @type {Array<StorefrontTemplateDTO>}
16011
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
16012
+ */
16013
+ data: Array<StorefrontTemplateDTO>;
16014
+ /**
16015
+ *
16016
+ * @type {MetadataOutput}
16017
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
16018
+ */
16019
+ meta: MetadataOutput;
16020
+ }
15223
16021
  /**
15224
16022
  *
15225
16023
  * @export
@@ -15541,6 +16339,19 @@ export interface TakaroEventHookExecuted {
15541
16339
  */
15542
16340
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15543
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
+ }
15544
16355
  /**
15545
16356
  *
15546
16357
  * @export
@@ -16830,6 +17641,38 @@ export interface UserAssignmentOutputDTO {
16830
17641
  */
16831
17642
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
16832
17643
  }
17644
+ /**
17645
+ *
17646
+ * @export
17647
+ * @interface UserCountOutputDTO
17648
+ */
17649
+ export interface UserCountOutputDTO {
17650
+ /**
17651
+ *
17652
+ * @type {number}
17653
+ * @memberof UserCountOutputDTO
17654
+ */
17655
+ count: number;
17656
+ }
17657
+ /**
17658
+ *
17659
+ * @export
17660
+ * @interface UserCountOutputDTOAPI
17661
+ */
17662
+ export interface UserCountOutputDTOAPI {
17663
+ /**
17664
+ *
17665
+ * @type {UserCountOutputDTO}
17666
+ * @memberof UserCountOutputDTOAPI
17667
+ */
17668
+ data: UserCountOutputDTO;
17669
+ /**
17670
+ *
17671
+ * @type {MetadataOutput}
17672
+ * @memberof UserCountOutputDTOAPI
17673
+ */
17674
+ meta: MetadataOutput;
17675
+ }
16833
17676
  /**
16834
17677
  *
16835
17678
  * @export
@@ -16977,6 +17820,18 @@ export interface UserOutputDTO {
16977
17820
  * @memberof UserOutputDTO
16978
17821
  */
16979
17822
  isDashboardUser: boolean;
17823
+ /**
17824
+ *
17825
+ * @type {boolean}
17826
+ * @memberof UserOutputDTO
17827
+ */
17828
+ isSupportAccount: boolean;
17829
+ /**
17830
+ *
17831
+ * @type {string}
17832
+ * @memberof UserOutputDTO
17833
+ */
17834
+ inviteLinkId?: string;
16980
17835
  /**
16981
17836
  *
16982
17837
  * @type {string}
@@ -17093,6 +17948,37 @@ export interface UserOutputWithRolesDTO {
17093
17948
  * @memberof UserOutputWithRolesDTO
17094
17949
  */
17095
17950
  isDashboardUser: boolean;
17951
+ /**
17952
+ *
17953
+ * @type {boolean}
17954
+ * @memberof UserOutputWithRolesDTO
17955
+ */
17956
+ isSupportAccount: boolean;
17957
+ /**
17958
+ *
17959
+ * @type {string}
17960
+ * @memberof UserOutputWithRolesDTO
17961
+ */
17962
+ inviteLinkId?: string;
17963
+ }
17964
+ /**
17965
+ *
17966
+ * @export
17967
+ * @interface UserOutputWithRolesDTOAPI
17968
+ */
17969
+ export interface UserOutputWithRolesDTOAPI {
17970
+ /**
17971
+ *
17972
+ * @type {UserOutputWithRolesDTO}
17973
+ * @memberof UserOutputWithRolesDTOAPI
17974
+ */
17975
+ data: UserOutputWithRolesDTO;
17976
+ /**
17977
+ *
17978
+ * @type {MetadataOutput}
17979
+ * @memberof UserOutputWithRolesDTOAPI
17980
+ */
17981
+ meta: MetadataOutput;
17096
17982
  }
17097
17983
  /**
17098
17984
  *
@@ -18299,7 +19185,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18299
19185
  };
18300
19186
  },
18301
19187
  /**
18302
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
19188
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
18303
19189
  * @summary Get module health scores
18304
19190
  * @param {string} [startDate]
18305
19191
  * @param {string} [endDate]
@@ -19486,7 +20372,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
19486
20372
  },
19487
20373
  /**
19488
20374
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
19489
- * @summary Get top modules by event volume
20375
+ * @summary Get top modules by execution volume
19490
20376
  * @param {string} [startDate]
19491
20377
  * @param {string} [endDate]
19492
20378
  * @param {string} [gameServerId]
@@ -20020,7 +20906,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20020
20906
  )(axios, localVarOperationServerBasePath || basePath);
20021
20907
  },
20022
20908
  /**
20023
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20909
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
20024
20910
  * @summary Get module health scores
20025
20911
  * @param {string} [startDate]
20026
20912
  * @param {string} [endDate]
@@ -20772,7 +21658,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
20772
21658
  },
20773
21659
  /**
20774
21660
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
20775
- * @summary Get top modules by event volume
21661
+ * @summary Get top modules by execution volume
20776
21662
  * @param {string} [startDate]
20777
21663
  * @param {string} [endDate]
20778
21664
  * @param {string} [gameServerId]
@@ -21094,7 +21980,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21094
21980
  .then((request) => request(axios, basePath));
21095
21981
  },
21096
21982
  /**
21097
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21983
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21098
21984
  * @summary Get module health scores
21099
21985
  * @param {string} [startDate]
21100
21986
  * @param {string} [endDate]
@@ -21538,7 +22424,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
21538
22424
  },
21539
22425
  /**
21540
22426
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
21541
- * @summary Get top modules by event volume
22427
+ * @summary Get top modules by execution volume
21542
22428
  * @param {string} [startDate]
21543
22429
  * @param {string} [endDate]
21544
22430
  * @param {string} [gameServerId]
@@ -21857,7 +22743,7 @@ export class AnalyticsApi extends BaseAPI {
21857
22743
  }
21858
22744
 
21859
22745
  /**
21860
- * Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
22746
+ * Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
21861
22747
  * @summary Get module health scores
21862
22748
  * @param {string} [startDate]
21863
22749
  * @param {string} [endDate]
@@ -22343,7 +23229,7 @@ export class AnalyticsApi extends BaseAPI {
22343
23229
 
22344
23230
  /**
22345
23231
  * Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
22346
- * @summary Get top modules by event volume
23232
+ * @summary Get top modules by execution volume
22347
23233
  * @param {string} [startDate]
22348
23234
  * @param {string} [endDate]
22349
23235
  * @param {string} [gameServerId]
@@ -25590,6 +26476,52 @@ export const DomainApiAxiosParamCreator = function (configuration?: Configuratio
25590
26476
  options: localVarRequestOptions,
25591
26477
  };
25592
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
+ },
25593
26525
  /**
25594
26526
  * <br> OperationId: `DomainControllerGetOne`
25595
26527
  * @summary Get one
@@ -25862,6 +26794,35 @@ export const DomainApiFp = function (configuration?: Configuration) {
25862
26794
  configuration,
25863
26795
  )(axios, localVarOperationServerBasePath || basePath);
25864
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
+ },
25865
26826
  /**
25866
26827
  * <br> OperationId: `DomainControllerGetOne`
25867
26828
  * @summary Get one
@@ -26036,6 +26997,23 @@ export const DomainApiFactory = function (configuration?: Configuration, basePat
26036
26997
  .domainControllerCreate(domainCreateInputDTO, options)
26037
26998
  .then((request) => request(axios, basePath));
26038
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
+ },
26039
27017
  /**
26040
27018
  * <br> OperationId: `DomainControllerGetOne`
26041
27019
  * @summary Get one
@@ -26141,6 +27119,25 @@ export class DomainApi extends BaseAPI {
26141
27119
  .then((request) => request(this.axios, this.basePath));
26142
27120
  }
26143
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
+
26144
27141
  /**
26145
27142
  * <br> OperationId: `DomainControllerGetOne`
26146
27143
  * @summary Get one
@@ -30974,6 +31971,488 @@ export class HookApi extends BaseAPI {
30974
31971
  }
30975
31972
  }
30976
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
+
30977
32456
  /**
30978
32457
  * ItemApi - axios parameter creator
30979
32458
  * @export
@@ -38644,7 +40123,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
38644
40123
  */
38645
40124
  async shopListingControllerImportListings(
38646
40125
  options?: RawAxiosRequestConfig,
38647
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
40126
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
38648
40127
  const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
38649
40128
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38650
40129
  const localVarOperationServerBasePath =
@@ -38767,7 +40246,7 @@ export const ShopListingApiFactory = function (
38767
40246
  * @param {*} [options] Override http request option.
38768
40247
  * @throws {RequiredError}
38769
40248
  */
38770
- shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
40249
+ shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
38771
40250
  return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
38772
40251
  },
38773
40252
  /**
@@ -39047,17 +40526,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
39047
40526
  };
39048
40527
  },
39049
40528
  /**
39050
- * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
39051
- * @summary Search orders
39052
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
40529
+ * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
40530
+ * @summary Search orders
40531
+ * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
40532
+ * @param {*} [options] Override http request option.
40533
+ * @throws {RequiredError}
40534
+ */
40535
+ shopOrderControllerSearch: async (
40536
+ shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40537
+ options: RawAxiosRequestConfig = {},
40538
+ ): Promise<RequestArgs> => {
40539
+ const localVarPath = `/shop/order/search`;
40540
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40541
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40542
+ let baseOptions;
40543
+ if (configuration) {
40544
+ baseOptions = configuration.baseOptions;
40545
+ }
40546
+
40547
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
40548
+ const localVarHeaderParameter = {} as any;
40549
+ const localVarQueryParameter = {} as any;
40550
+
40551
+ // authentication domainAuth required
40552
+
40553
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40554
+
40555
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40556
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40557
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40558
+ localVarRequestOptions.data = serializeDataIfNeeded(
40559
+ shopOrderSearchInputDTO,
40560
+ localVarRequestOptions,
40561
+ configuration,
40562
+ );
40563
+
40564
+ return {
40565
+ url: toPathString(localVarUrlObj),
40566
+ options: localVarRequestOptions,
40567
+ };
40568
+ },
40569
+ };
40570
+ };
40571
+
40572
+ /**
40573
+ * ShopOrderApi - functional programming interface
40574
+ * @export
40575
+ */
40576
+ export const ShopOrderApiFp = function (configuration?: Configuration) {
40577
+ const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
40578
+ return {
40579
+ /**
40580
+ * <br> OperationId: `ShopOrderControllerCancel`
40581
+ * @summary Cancel
40582
+ * @param {string} id
40583
+ * @param {*} [options] Override http request option.
40584
+ * @throws {RequiredError}
40585
+ */
40586
+ async shopOrderControllerCancel(
40587
+ id: string,
40588
+ options?: RawAxiosRequestConfig,
40589
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
40590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
40591
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40592
+ const localVarOperationServerBasePath =
40593
+ operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
40594
+ return (axios, basePath) =>
40595
+ createRequestFunction(
40596
+ localVarAxiosArgs,
40597
+ globalAxios,
40598
+ BASE_PATH,
40599
+ configuration,
40600
+ )(axios, localVarOperationServerBasePath || basePath);
40601
+ },
40602
+ /**
40603
+ * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
40604
+ * @summary Claim an order
40605
+ * @param {string} id
40606
+ * @param {*} [options] Override http request option.
40607
+ * @throws {RequiredError}
40608
+ */
40609
+ async shopOrderControllerClaim(
40610
+ id: string,
40611
+ options?: RawAxiosRequestConfig,
40612
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
40613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
40614
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40615
+ const localVarOperationServerBasePath =
40616
+ operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
40617
+ return (axios, basePath) =>
40618
+ createRequestFunction(
40619
+ localVarAxiosArgs,
40620
+ globalAxios,
40621
+ BASE_PATH,
40622
+ configuration,
40623
+ )(axios, localVarOperationServerBasePath || basePath);
40624
+ },
40625
+ /**
40626
+ * <br> OperationId: `ShopOrderControllerCreate`
40627
+ * @summary Create
40628
+ * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
40629
+ * @param {*} [options] Override http request option.
40630
+ * @throws {RequiredError}
40631
+ */
40632
+ async shopOrderControllerCreate(
40633
+ shopOrderCreateDTO?: ShopOrderCreateDTO,
40634
+ options?: RawAxiosRequestConfig,
40635
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
40636
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
40637
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40638
+ const localVarOperationServerBasePath =
40639
+ operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
40640
+ return (axios, basePath) =>
40641
+ createRequestFunction(
40642
+ localVarAxiosArgs,
40643
+ globalAxios,
40644
+ BASE_PATH,
40645
+ configuration,
40646
+ )(axios, localVarOperationServerBasePath || basePath);
40647
+ },
40648
+ /**
40649
+ * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
40650
+ * @summary Get order by ID
40651
+ * @param {string} id
40652
+ * @param {*} [options] Override http request option.
40653
+ * @throws {RequiredError}
40654
+ */
40655
+ async shopOrderControllerGetOne(
40656
+ id: string,
40657
+ options?: RawAxiosRequestConfig,
40658
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
40659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
40660
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40661
+ const localVarOperationServerBasePath =
40662
+ operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
40663
+ return (axios, basePath) =>
40664
+ createRequestFunction(
40665
+ localVarAxiosArgs,
40666
+ globalAxios,
40667
+ BASE_PATH,
40668
+ configuration,
40669
+ )(axios, localVarOperationServerBasePath || basePath);
40670
+ },
40671
+ /**
40672
+ * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
40673
+ * @summary Search orders
40674
+ * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
40675
+ * @param {*} [options] Override http request option.
40676
+ * @throws {RequiredError}
40677
+ */
40678
+ async shopOrderControllerSearch(
40679
+ shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40680
+ options?: RawAxiosRequestConfig,
40681
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
40682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
40683
+ shopOrderSearchInputDTO,
40684
+ options,
40685
+ );
40686
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40687
+ const localVarOperationServerBasePath =
40688
+ operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
40689
+ return (axios, basePath) =>
40690
+ createRequestFunction(
40691
+ localVarAxiosArgs,
40692
+ globalAxios,
40693
+ BASE_PATH,
40694
+ configuration,
40695
+ )(axios, localVarOperationServerBasePath || basePath);
40696
+ },
40697
+ };
40698
+ };
40699
+
40700
+ /**
40701
+ * ShopOrderApi - factory interface
40702
+ * @export
40703
+ */
40704
+ export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
40705
+ const localVarFp = ShopOrderApiFp(configuration);
40706
+ return {
40707
+ /**
40708
+ * <br> OperationId: `ShopOrderControllerCancel`
40709
+ * @summary Cancel
40710
+ * @param {string} id
40711
+ * @param {*} [options] Override http request option.
40712
+ * @throws {RequiredError}
40713
+ */
40714
+ shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
40715
+ return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
40716
+ },
40717
+ /**
40718
+ * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
40719
+ * @summary Claim an order
40720
+ * @param {string} id
40721
+ * @param {*} [options] Override http request option.
40722
+ * @throws {RequiredError}
40723
+ */
40724
+ shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
40725
+ return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
40726
+ },
40727
+ /**
40728
+ * <br> OperationId: `ShopOrderControllerCreate`
40729
+ * @summary Create
40730
+ * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
40731
+ * @param {*} [options] Override http request option.
40732
+ * @throws {RequiredError}
40733
+ */
40734
+ shopOrderControllerCreate(
40735
+ shopOrderCreateDTO?: ShopOrderCreateDTO,
40736
+ options?: RawAxiosRequestConfig,
40737
+ ): AxiosPromise<ShopOrderOutputDTOAPI> {
40738
+ return localVarFp
40739
+ .shopOrderControllerCreate(shopOrderCreateDTO, options)
40740
+ .then((request) => request(axios, basePath));
40741
+ },
40742
+ /**
40743
+ * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
40744
+ * @summary Get order by ID
40745
+ * @param {string} id
40746
+ * @param {*} [options] Override http request option.
40747
+ * @throws {RequiredError}
40748
+ */
40749
+ shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
40750
+ return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
40751
+ },
40752
+ /**
40753
+ * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
40754
+ * @summary Search orders
40755
+ * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
40756
+ * @param {*} [options] Override http request option.
40757
+ * @throws {RequiredError}
40758
+ */
40759
+ shopOrderControllerSearch(
40760
+ shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40761
+ options?: RawAxiosRequestConfig,
40762
+ ): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
40763
+ return localVarFp
40764
+ .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
40765
+ .then((request) => request(axios, basePath));
40766
+ },
40767
+ };
40768
+ };
40769
+
40770
+ /**
40771
+ * ShopOrderApi - object-oriented interface
40772
+ * @export
40773
+ * @class ShopOrderApi
40774
+ * @extends {BaseAPI}
40775
+ */
40776
+ export class ShopOrderApi extends BaseAPI {
40777
+ /**
40778
+ * <br> OperationId: `ShopOrderControllerCancel`
40779
+ * @summary Cancel
40780
+ * @param {string} id
40781
+ * @param {*} [options] Override http request option.
40782
+ * @throws {RequiredError}
40783
+ * @memberof ShopOrderApi
40784
+ */
40785
+ public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
40786
+ return ShopOrderApiFp(this.configuration)
40787
+ .shopOrderControllerCancel(id, options)
40788
+ .then((request) => request(this.axios, this.basePath));
40789
+ }
40790
+
40791
+ /**
40792
+ * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
40793
+ * @summary Claim an order
40794
+ * @param {string} id
40795
+ * @param {*} [options] Override http request option.
40796
+ * @throws {RequiredError}
40797
+ * @memberof ShopOrderApi
40798
+ */
40799
+ public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
40800
+ return ShopOrderApiFp(this.configuration)
40801
+ .shopOrderControllerClaim(id, options)
40802
+ .then((request) => request(this.axios, this.basePath));
40803
+ }
40804
+
40805
+ /**
40806
+ * <br> OperationId: `ShopOrderControllerCreate`
40807
+ * @summary Create
40808
+ * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
40809
+ * @param {*} [options] Override http request option.
40810
+ * @throws {RequiredError}
40811
+ * @memberof ShopOrderApi
40812
+ */
40813
+ public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
40814
+ return ShopOrderApiFp(this.configuration)
40815
+ .shopOrderControllerCreate(shopOrderCreateDTO, options)
40816
+ .then((request) => request(this.axios, this.basePath));
40817
+ }
40818
+
40819
+ /**
40820
+ * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
40821
+ * @summary Get order by ID
40822
+ * @param {string} id
40823
+ * @param {*} [options] Override http request option.
40824
+ * @throws {RequiredError}
40825
+ * @memberof ShopOrderApi
40826
+ */
40827
+ public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
40828
+ return ShopOrderApiFp(this.configuration)
40829
+ .shopOrderControllerGetOne(id, options)
40830
+ .then((request) => request(this.axios, this.basePath));
40831
+ }
40832
+
40833
+ /**
40834
+ * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
40835
+ * @summary Search orders
40836
+ * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
40837
+ * @param {*} [options] Override http request option.
40838
+ * @throws {RequiredError}
40839
+ * @memberof ShopOrderApi
40840
+ */
40841
+ public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
40842
+ return ShopOrderApiFp(this.configuration)
40843
+ .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
40844
+ .then((request) => request(this.axios, this.basePath));
40845
+ }
40846
+ }
40847
+
40848
+ /**
40849
+ * StorefrontConfigApi - axios parameter creator
40850
+ * @export
40851
+ */
40852
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
40853
+ return {
40854
+ /**
40855
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40856
+ * @summary Get effective config
40857
+ * @param {string} gameServerId
40858
+ * @param {*} [options] Override http request option.
40859
+ * @throws {RequiredError}
40860
+ */
40861
+ storefrontConfigControllerGetEffectiveConfig: async (
40862
+ gameServerId: string,
40863
+ options: RawAxiosRequestConfig = {},
40864
+ ): Promise<RequestArgs> => {
40865
+ // verify required parameter 'gameServerId' is not null or undefined
40866
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
40867
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
40868
+ `{${'gameServerId'}}`,
40869
+ encodeURIComponent(String(gameServerId)),
40870
+ );
40871
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40872
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40873
+ let baseOptions;
40874
+ if (configuration) {
40875
+ baseOptions = configuration.baseOptions;
40876
+ }
40877
+
40878
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
40879
+ const localVarHeaderParameter = {} as any;
40880
+ const localVarQueryParameter = {} as any;
40881
+
40882
+ // authentication domainAuth required
40883
+
40884
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40885
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40886
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40887
+
40888
+ return {
40889
+ url: toPathString(localVarUrlObj),
40890
+ options: localVarRequestOptions,
40891
+ };
40892
+ },
40893
+ /**
40894
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
40895
+ * @summary List templates
40896
+ * @param {*} [options] Override http request option.
40897
+ * @throws {RequiredError}
40898
+ */
40899
+ storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40900
+ const localVarPath = `/storefront/templates`;
40901
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40902
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40903
+ let baseOptions;
40904
+ if (configuration) {
40905
+ baseOptions = configuration.baseOptions;
40906
+ }
40907
+
40908
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
40909
+ const localVarHeaderParameter = {} as any;
40910
+ const localVarQueryParameter = {} as any;
40911
+
40912
+ // authentication domainAuth required
40913
+
40914
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40915
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40916
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40917
+
40918
+ return {
40919
+ url: toPathString(localVarUrlObj),
40920
+ options: localVarRequestOptions,
40921
+ };
40922
+ },
40923
+ /**
40924
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
40925
+ * @summary Set config
40926
+ * @param {string} gameServerId
40927
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39053
40928
  * @param {*} [options] Override http request option.
39054
40929
  * @throws {RequiredError}
39055
40930
  */
39056
- shopOrderControllerSearch: async (
39057
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
40931
+ storefrontConfigControllerSetConfig: async (
40932
+ gameServerId: string,
40933
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39058
40934
  options: RawAxiosRequestConfig = {},
39059
40935
  ): Promise<RequestArgs> => {
39060
- const localVarPath = `/shop/order/search`;
40936
+ // verify required parameter 'gameServerId' is not null or undefined
40937
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
40938
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
40939
+ `{${'gameServerId'}}`,
40940
+ encodeURIComponent(String(gameServerId)),
40941
+ );
39061
40942
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39062
40943
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39063
40944
  let baseOptions;
@@ -39065,7 +40946,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
39065
40946
  baseOptions = configuration.baseOptions;
39066
40947
  }
39067
40948
 
39068
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
40949
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
39069
40950
  const localVarHeaderParameter = {} as any;
39070
40951
  const localVarQueryParameter = {} as any;
39071
40952
 
@@ -39077,7 +40958,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
39077
40958
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39078
40959
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
39079
40960
  localVarRequestOptions.data = serializeDataIfNeeded(
39080
- shopOrderSearchInputDTO,
40961
+ storefrontConfigUpsertBody,
39081
40962
  localVarRequestOptions,
39082
40963
  configuration,
39083
40964
  );
@@ -39091,73 +40972,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
39091
40972
  };
39092
40973
 
39093
40974
  /**
39094
- * ShopOrderApi - functional programming interface
40975
+ * StorefrontConfigApi - functional programming interface
39095
40976
  * @export
39096
40977
  */
39097
- export const ShopOrderApiFp = function (configuration?: Configuration) {
39098
- const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
40978
+ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
40979
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
39099
40980
  return {
39100
40981
  /**
39101
- * <br> OperationId: `ShopOrderControllerCancel`
39102
- * @summary Cancel
39103
- * @param {string} id
39104
- * @param {*} [options] Override http request option.
39105
- * @throws {RequiredError}
39106
- */
39107
- async shopOrderControllerCancel(
39108
- id: string,
39109
- options?: RawAxiosRequestConfig,
39110
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
39111
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
39112
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39113
- const localVarOperationServerBasePath =
39114
- operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
39115
- return (axios, basePath) =>
39116
- createRequestFunction(
39117
- localVarAxiosArgs,
39118
- globalAxios,
39119
- BASE_PATH,
39120
- configuration,
39121
- )(axios, localVarOperationServerBasePath || basePath);
39122
- },
39123
- /**
39124
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
39125
- * @summary Claim an order
39126
- * @param {string} id
39127
- * @param {*} [options] Override http request option.
39128
- * @throws {RequiredError}
39129
- */
39130
- async shopOrderControllerClaim(
39131
- id: string,
39132
- options?: RawAxiosRequestConfig,
39133
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
39134
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
39135
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39136
- const localVarOperationServerBasePath =
39137
- operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
39138
- return (axios, basePath) =>
39139
- createRequestFunction(
39140
- localVarAxiosArgs,
39141
- globalAxios,
39142
- BASE_PATH,
39143
- configuration,
39144
- )(axios, localVarOperationServerBasePath || basePath);
39145
- },
39146
- /**
39147
- * <br> OperationId: `ShopOrderControllerCreate`
39148
- * @summary Create
39149
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
40982
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40983
+ * @summary Get effective config
40984
+ * @param {string} gameServerId
39150
40985
  * @param {*} [options] Override http request option.
39151
40986
  * @throws {RequiredError}
39152
40987
  */
39153
- async shopOrderControllerCreate(
39154
- shopOrderCreateDTO?: ShopOrderCreateDTO,
40988
+ async storefrontConfigControllerGetEffectiveConfig(
40989
+ gameServerId: string,
39155
40990
  options?: RawAxiosRequestConfig,
39156
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
39157
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
40991
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
40992
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
40993
+ gameServerId,
40994
+ options,
40995
+ );
39158
40996
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39159
40997
  const localVarOperationServerBasePath =
39160
- operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
40998
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
40999
+ localVarOperationServerIndex
41000
+ ]?.url;
39161
41001
  return (axios, basePath) =>
39162
41002
  createRequestFunction(
39163
41003
  localVarAxiosArgs,
@@ -39167,20 +41007,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
39167
41007
  )(axios, localVarOperationServerBasePath || basePath);
39168
41008
  },
39169
41009
  /**
39170
- * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
39171
- * @summary Get order by ID
39172
- * @param {string} id
41010
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
41011
+ * @summary List templates
39173
41012
  * @param {*} [options] Override http request option.
39174
41013
  * @throws {RequiredError}
39175
41014
  */
39176
- async shopOrderControllerGetOne(
39177
- id: string,
41015
+ async storefrontConfigControllerListTemplates(
39178
41016
  options?: RawAxiosRequestConfig,
39179
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
39180
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
41017
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
41018
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
39181
41019
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39182
41020
  const localVarOperationServerBasePath =
39183
- operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
41021
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
41022
+ localVarOperationServerIndex
41023
+ ]?.url;
39184
41024
  return (axios, basePath) =>
39185
41025
  createRequestFunction(
39186
41026
  localVarAxiosArgs,
@@ -39190,23 +41030,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
39190
41030
  )(axios, localVarOperationServerBasePath || basePath);
39191
41031
  },
39192
41032
  /**
39193
- * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
39194
- * @summary Search orders
39195
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
41033
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
41034
+ * @summary Set config
41035
+ * @param {string} gameServerId
41036
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39196
41037
  * @param {*} [options] Override http request option.
39197
41038
  * @throws {RequiredError}
39198
41039
  */
39199
- async shopOrderControllerSearch(
39200
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
41040
+ async storefrontConfigControllerSetConfig(
41041
+ gameServerId: string,
41042
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39201
41043
  options?: RawAxiosRequestConfig,
39202
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
39203
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
39204
- shopOrderSearchInputDTO,
41044
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
41045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
41046
+ gameServerId,
41047
+ storefrontConfigUpsertBody,
39205
41048
  options,
39206
41049
  );
39207
41050
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39208
41051
  const localVarOperationServerBasePath =
39209
- operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
41052
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
41053
+ ?.url;
39210
41054
  return (axios, basePath) =>
39211
41055
  createRequestFunction(
39212
41056
  localVarAxiosArgs,
@@ -39219,149 +41063,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
39219
41063
  };
39220
41064
 
39221
41065
  /**
39222
- * ShopOrderApi - factory interface
41066
+ * StorefrontConfigApi - factory interface
39223
41067
  * @export
39224
41068
  */
39225
- export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
39226
- const localVarFp = ShopOrderApiFp(configuration);
41069
+ export const StorefrontConfigApiFactory = function (
41070
+ configuration?: Configuration,
41071
+ basePath?: string,
41072
+ axios?: AxiosInstance,
41073
+ ) {
41074
+ const localVarFp = StorefrontConfigApiFp(configuration);
39227
41075
  return {
39228
41076
  /**
39229
- * <br> OperationId: `ShopOrderControllerCancel`
39230
- * @summary Cancel
39231
- * @param {string} id
39232
- * @param {*} [options] Override http request option.
39233
- * @throws {RequiredError}
39234
- */
39235
- shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
39236
- return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
39237
- },
39238
- /**
39239
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
39240
- * @summary Claim an order
39241
- * @param {string} id
39242
- * @param {*} [options] Override http request option.
39243
- * @throws {RequiredError}
39244
- */
39245
- shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
39246
- return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
39247
- },
39248
- /**
39249
- * <br> OperationId: `ShopOrderControllerCreate`
39250
- * @summary Create
39251
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
41077
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
41078
+ * @summary Get effective config
41079
+ * @param {string} gameServerId
39252
41080
  * @param {*} [options] Override http request option.
39253
41081
  * @throws {RequiredError}
39254
41082
  */
39255
- shopOrderControllerCreate(
39256
- shopOrderCreateDTO?: ShopOrderCreateDTO,
41083
+ storefrontConfigControllerGetEffectiveConfig(
41084
+ gameServerId: string,
39257
41085
  options?: RawAxiosRequestConfig,
39258
- ): AxiosPromise<ShopOrderOutputDTOAPI> {
41086
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
39259
41087
  return localVarFp
39260
- .shopOrderControllerCreate(shopOrderCreateDTO, options)
41088
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
39261
41089
  .then((request) => request(axios, basePath));
39262
41090
  },
39263
41091
  /**
39264
- * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
39265
- * @summary Get order by ID
39266
- * @param {string} id
41092
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
41093
+ * @summary List templates
39267
41094
  * @param {*} [options] Override http request option.
39268
41095
  * @throws {RequiredError}
39269
41096
  */
39270
- shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
39271
- return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
41097
+ storefrontConfigControllerListTemplates(
41098
+ options?: RawAxiosRequestConfig,
41099
+ ): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
41100
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
39272
41101
  },
39273
41102
  /**
39274
- * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
39275
- * @summary Search orders
39276
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
41103
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
41104
+ * @summary Set config
41105
+ * @param {string} gameServerId
41106
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39277
41107
  * @param {*} [options] Override http request option.
39278
41108
  * @throws {RequiredError}
39279
41109
  */
39280
- shopOrderControllerSearch(
39281
- shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
41110
+ storefrontConfigControllerSetConfig(
41111
+ gameServerId: string,
41112
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
39282
41113
  options?: RawAxiosRequestConfig,
39283
- ): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
41114
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
39284
41115
  return localVarFp
39285
- .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
41116
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
39286
41117
  .then((request) => request(axios, basePath));
39287
41118
  },
39288
41119
  };
39289
41120
  };
39290
41121
 
39291
41122
  /**
39292
- * ShopOrderApi - object-oriented interface
41123
+ * StorefrontConfigApi - object-oriented interface
39293
41124
  * @export
39294
- * @class ShopOrderApi
41125
+ * @class StorefrontConfigApi
39295
41126
  * @extends {BaseAPI}
39296
41127
  */
39297
- export class ShopOrderApi extends BaseAPI {
41128
+ export class StorefrontConfigApi extends BaseAPI {
39298
41129
  /**
39299
- * <br> OperationId: `ShopOrderControllerCancel`
39300
- * @summary Cancel
39301
- * @param {string} id
39302
- * @param {*} [options] Override http request option.
39303
- * @throws {RequiredError}
39304
- * @memberof ShopOrderApi
39305
- */
39306
- public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
39307
- return ShopOrderApiFp(this.configuration)
39308
- .shopOrderControllerCancel(id, options)
39309
- .then((request) => request(this.axios, this.basePath));
39310
- }
39311
-
39312
- /**
39313
- * Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
39314
- * @summary Claim an order
39315
- * @param {string} id
39316
- * @param {*} [options] Override http request option.
39317
- * @throws {RequiredError}
39318
- * @memberof ShopOrderApi
39319
- */
39320
- public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
39321
- return ShopOrderApiFp(this.configuration)
39322
- .shopOrderControllerClaim(id, options)
39323
- .then((request) => request(this.axios, this.basePath));
39324
- }
39325
-
39326
- /**
39327
- * <br> OperationId: `ShopOrderControllerCreate`
39328
- * @summary Create
39329
- * @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
41130
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
41131
+ * @summary Get effective config
41132
+ * @param {string} gameServerId
39330
41133
  * @param {*} [options] Override http request option.
39331
41134
  * @throws {RequiredError}
39332
- * @memberof ShopOrderApi
41135
+ * @memberof StorefrontConfigApi
39333
41136
  */
39334
- public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
39335
- return ShopOrderApiFp(this.configuration)
39336
- .shopOrderControllerCreate(shopOrderCreateDTO, options)
41137
+ public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
41138
+ return StorefrontConfigApiFp(this.configuration)
41139
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
39337
41140
  .then((request) => request(this.axios, this.basePath));
39338
41141
  }
39339
41142
 
39340
41143
  /**
39341
- * Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
39342
- * @summary Get order by ID
39343
- * @param {string} id
41144
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
41145
+ * @summary List templates
39344
41146
  * @param {*} [options] Override http request option.
39345
41147
  * @throws {RequiredError}
39346
- * @memberof ShopOrderApi
41148
+ * @memberof StorefrontConfigApi
39347
41149
  */
39348
- public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
39349
- return ShopOrderApiFp(this.configuration)
39350
- .shopOrderControllerGetOne(id, options)
41150
+ public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
41151
+ return StorefrontConfigApiFp(this.configuration)
41152
+ .storefrontConfigControllerListTemplates(options)
39351
41153
  .then((request) => request(this.axios, this.basePath));
39352
41154
  }
39353
41155
 
39354
41156
  /**
39355
- * Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
39356
- * @summary Search orders
39357
- * @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
41157
+ * Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
41158
+ * @summary Set config
41159
+ * @param {string} gameServerId
41160
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
39358
41161
  * @param {*} [options] Override http request option.
39359
41162
  * @throws {RequiredError}
39360
- * @memberof ShopOrderApi
41163
+ * @memberof StorefrontConfigApi
39361
41164
  */
39362
- public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
39363
- return ShopOrderApiFp(this.configuration)
39364
- .shopOrderControllerSearch(shopOrderSearchInputDTO, options)
41165
+ public storefrontConfigControllerSetConfig(
41166
+ gameServerId: string,
41167
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
41168
+ options?: RawAxiosRequestConfig,
41169
+ ) {
41170
+ return StorefrontConfigApiFp(this.configuration)
41171
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
39365
41172
  .then((request) => request(this.axios, this.basePath));
39366
41173
  }
39367
41174
  }
@@ -39949,6 +41756,36 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
39949
41756
  options: localVarRequestOptions,
39950
41757
  };
39951
41758
  },
41759
+ /**
41760
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
41761
+ * @summary Count billable dashboard users
41762
+ * @param {*} [options] Override http request option.
41763
+ * @throws {RequiredError}
41764
+ */
41765
+ userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41766
+ const localVarPath = `/user/count`;
41767
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41768
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41769
+ let baseOptions;
41770
+ if (configuration) {
41771
+ baseOptions = configuration.baseOptions;
41772
+ }
41773
+
41774
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
41775
+ const localVarHeaderParameter = {} as any;
41776
+ const localVarQueryParameter = {} as any;
41777
+
41778
+ // authentication domainAuth required
41779
+
41780
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41781
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41782
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
41783
+
41784
+ return {
41785
+ url: toPathString(localVarUrlObj),
41786
+ options: localVarRequestOptions,
41787
+ };
41788
+ },
39952
41789
  /**
39953
41790
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
39954
41791
  * @summary Create
@@ -40054,6 +41891,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
40054
41891
  * @summary Invite
40055
41892
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
40056
41893
  * @param {*} [options] Override http request option.
41894
+ * @deprecated
40057
41895
  * @throws {RequiredError}
40058
41896
  */
40059
41897
  userControllerInvite: async (
@@ -40455,6 +42293,27 @@ export const UserApiFp = function (configuration?: Configuration) {
40455
42293
  configuration,
40456
42294
  )(axios, localVarOperationServerBasePath || basePath);
40457
42295
  },
42296
+ /**
42297
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42298
+ * @summary Count billable dashboard users
42299
+ * @param {*} [options] Override http request option.
42300
+ * @throws {RequiredError}
42301
+ */
42302
+ async userControllerCountBillableDashboardUsers(
42303
+ options?: RawAxiosRequestConfig,
42304
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
42305
+ const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
42306
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42307
+ const localVarOperationServerBasePath =
42308
+ operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
42309
+ return (axios, basePath) =>
42310
+ createRequestFunction(
42311
+ localVarAxiosArgs,
42312
+ globalAxios,
42313
+ BASE_PATH,
42314
+ configuration,
42315
+ )(axios, localVarOperationServerBasePath || basePath);
42316
+ },
40458
42317
  /**
40459
42318
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
40460
42319
  * @summary Create
@@ -40527,6 +42386,7 @@ export const UserApiFp = function (configuration?: Configuration) {
40527
42386
  * @summary Invite
40528
42387
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
40529
42388
  * @param {*} [options] Override http request option.
42389
+ * @deprecated
40530
42390
  * @throws {RequiredError}
40531
42391
  */
40532
42392
  async userControllerInvite(
@@ -40784,6 +42644,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
40784
42644
  .userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
40785
42645
  .then((request) => request(axios, basePath));
40786
42646
  },
42647
+ /**
42648
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42649
+ * @summary Count billable dashboard users
42650
+ * @param {*} [options] Override http request option.
42651
+ * @throws {RequiredError}
42652
+ */
42653
+ userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
42654
+ return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
42655
+ },
40787
42656
  /**
40788
42657
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
40789
42658
  * @summary Create
@@ -40821,6 +42690,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
40821
42690
  * @summary Invite
40822
42691
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
40823
42692
  * @param {*} [options] Override http request option.
42693
+ * @deprecated
40824
42694
  * @throws {RequiredError}
40825
42695
  */
40826
42696
  userControllerInvite(
@@ -40962,6 +42832,19 @@ export class UserApi extends BaseAPI {
40962
42832
  .then((request) => request(this.axios, this.basePath));
40963
42833
  }
40964
42834
 
42835
+ /**
42836
+ * Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
42837
+ * @summary Count billable dashboard users
42838
+ * @param {*} [options] Override http request option.
42839
+ * @throws {RequiredError}
42840
+ * @memberof UserApi
42841
+ */
42842
+ public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
42843
+ return UserApiFp(this.configuration)
42844
+ .userControllerCountBillableDashboardUsers(options)
42845
+ .then((request) => request(this.axios, this.basePath));
42846
+ }
42847
+
40965
42848
  /**
40966
42849
  * Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
40967
42850
  * @summary Create
@@ -41008,6 +42891,7 @@ export class UserApi extends BaseAPI {
41008
42891
  * @summary Invite
41009
42892
  * @param {InviteCreateDTO} [inviteCreateDTO] InviteCreateDTO
41010
42893
  * @param {*} [options] Override http request option.
42894
+ * @deprecated
41011
42895
  * @throws {RequiredError}
41012
42896
  * @memberof UserApi
41013
42897
  */