@takaro/apiclient 0.0.0-dev.caee66e → 0.0.0-dev.cb9985c

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.
@@ -2664,6 +2664,50 @@ export const DomainUpdateInputDTOStateEnum = {
2664
2664
  export type DomainUpdateInputDTOStateEnum =
2665
2665
  (typeof DomainUpdateInputDTOStateEnum)[keyof typeof DomainUpdateInputDTOStateEnum];
2666
2666
 
2667
+ /**
2668
+ *
2669
+ * @export
2670
+ * @interface EffectiveStorefrontConfigDTO
2671
+ */
2672
+ export interface EffectiveStorefrontConfigDTO {
2673
+ /**
2674
+ *
2675
+ * @type {string}
2676
+ * @memberof EffectiveStorefrontConfigDTO
2677
+ */
2678
+ templateId: string;
2679
+ /**
2680
+ *
2681
+ * @type {object}
2682
+ * @memberof EffectiveStorefrontConfigDTO
2683
+ */
2684
+ values: object;
2685
+ /**
2686
+ *
2687
+ * @type {object}
2688
+ * @memberof EffectiveStorefrontConfigDTO
2689
+ */
2690
+ schema: object;
2691
+ }
2692
+ /**
2693
+ *
2694
+ * @export
2695
+ * @interface EffectiveStorefrontConfigOutputDTOAPI
2696
+ */
2697
+ export interface EffectiveStorefrontConfigOutputDTOAPI {
2698
+ /**
2699
+ *
2700
+ * @type {EffectiveStorefrontConfigDTO}
2701
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2702
+ */
2703
+ data: EffectiveStorefrontConfigDTO;
2704
+ /**
2705
+ *
2706
+ * @type {MetadataOutput}
2707
+ * @memberof EffectiveStorefrontConfigOutputDTOAPI
2708
+ */
2709
+ meta: MetadataOutput;
2710
+ }
2667
2711
  /**
2668
2712
  *
2669
2713
  * @export
@@ -6861,6 +6905,475 @@ export interface InviteOutputDTO {
6861
6905
  */
6862
6906
  devServer: string;
6863
6907
  }
6908
+ /**
6909
+ *
6910
+ * @export
6911
+ * @interface InviteLinkCreateInputDTO
6912
+ */
6913
+ export interface InviteLinkCreateInputDTO {
6914
+ /**
6915
+ *
6916
+ * @type {Array<string>}
6917
+ * @memberof InviteLinkCreateInputDTO
6918
+ */
6919
+ roleIds?: Array<string>;
6920
+ /**
6921
+ *
6922
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6923
+ * @memberof InviteLinkCreateInputDTO
6924
+ */
6925
+ expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6926
+ /**
6927
+ *
6928
+ * @type {number}
6929
+ * @memberof InviteLinkCreateInputDTO
6930
+ */
6931
+ maxUses?: number;
6932
+ }
6933
+ /**
6934
+ *
6935
+ * @export
6936
+ * @interface InviteLinkCreateResultDTO
6937
+ */
6938
+ export interface InviteLinkCreateResultDTO {
6939
+ /**
6940
+ *
6941
+ * @type {string}
6942
+ * @memberof InviteLinkCreateResultDTO
6943
+ */
6944
+ inviteUrl: string;
6945
+ /**
6946
+ *
6947
+ * @type {string}
6948
+ * @memberof InviteLinkCreateResultDTO
6949
+ */
6950
+ token: string;
6951
+ /**
6952
+ *
6953
+ * @type {string}
6954
+ * @memberof InviteLinkCreateResultDTO
6955
+ */
6956
+ id: string;
6957
+ /**
6958
+ *
6959
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6960
+ * @memberof InviteLinkCreateResultDTO
6961
+ */
6962
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6963
+ /**
6964
+ *
6965
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6966
+ * @memberof InviteLinkCreateResultDTO
6967
+ */
6968
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6969
+ /**
6970
+ *
6971
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
6972
+ * @memberof InviteLinkCreateResultDTO
6973
+ */
6974
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
6975
+ /**
6976
+ *
6977
+ * @type {number}
6978
+ * @memberof InviteLinkCreateResultDTO
6979
+ */
6980
+ maxUses?: number;
6981
+ /**
6982
+ *
6983
+ * @type {number}
6984
+ * @memberof InviteLinkCreateResultDTO
6985
+ */
6986
+ uses: number;
6987
+ /**
6988
+ *
6989
+ * @type {number}
6990
+ * @memberof InviteLinkCreateResultDTO
6991
+ */
6992
+ remaining?: number;
6993
+ /**
6994
+ *
6995
+ * @type {string}
6996
+ * @memberof InviteLinkCreateResultDTO
6997
+ */
6998
+ status: InviteLinkCreateResultDTOStatusEnum;
6999
+ /**
7000
+ *
7001
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7002
+ * @memberof InviteLinkCreateResultDTO
7003
+ */
7004
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7005
+ /**
7006
+ *
7007
+ * @type {string}
7008
+ * @memberof InviteLinkCreateResultDTO
7009
+ */
7010
+ createdBy?: string;
7011
+ /**
7012
+ *
7013
+ * @type {Array<InviteLinkRoleDTO>}
7014
+ * @memberof InviteLinkCreateResultDTO
7015
+ */
7016
+ roles: Array<InviteLinkRoleDTO>;
7017
+ }
7018
+
7019
+ export const InviteLinkCreateResultDTOStatusEnum = {
7020
+ Active: 'ACTIVE',
7021
+ Revoked: 'REVOKED',
7022
+ Expired: 'EXPIRED',
7023
+ Depleted: 'DEPLETED',
7024
+ } as const;
7025
+
7026
+ export type InviteLinkCreateResultDTOStatusEnum =
7027
+ (typeof InviteLinkCreateResultDTOStatusEnum)[keyof typeof InviteLinkCreateResultDTOStatusEnum];
7028
+
7029
+ /**
7030
+ *
7031
+ * @export
7032
+ * @interface InviteLinkCreateResultDTOAPI
7033
+ */
7034
+ export interface InviteLinkCreateResultDTOAPI {
7035
+ /**
7036
+ *
7037
+ * @type {InviteLinkCreateResultDTO}
7038
+ * @memberof InviteLinkCreateResultDTOAPI
7039
+ */
7040
+ data: InviteLinkCreateResultDTO;
7041
+ /**
7042
+ *
7043
+ * @type {MetadataOutput}
7044
+ * @memberof InviteLinkCreateResultDTOAPI
7045
+ */
7046
+ meta: MetadataOutput;
7047
+ }
7048
+ /**
7049
+ *
7050
+ * @export
7051
+ * @interface InviteLinkOutputDTO
7052
+ */
7053
+ export interface InviteLinkOutputDTO {
7054
+ /**
7055
+ *
7056
+ * @type {string}
7057
+ * @memberof InviteLinkOutputDTO
7058
+ */
7059
+ id: string;
7060
+ /**
7061
+ *
7062
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7063
+ * @memberof InviteLinkOutputDTO
7064
+ */
7065
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7066
+ /**
7067
+ *
7068
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7069
+ * @memberof InviteLinkOutputDTO
7070
+ */
7071
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7072
+ /**
7073
+ *
7074
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7075
+ * @memberof InviteLinkOutputDTO
7076
+ */
7077
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7078
+ /**
7079
+ *
7080
+ * @type {number}
7081
+ * @memberof InviteLinkOutputDTO
7082
+ */
7083
+ maxUses?: number;
7084
+ /**
7085
+ *
7086
+ * @type {number}
7087
+ * @memberof InviteLinkOutputDTO
7088
+ */
7089
+ uses: number;
7090
+ /**
7091
+ *
7092
+ * @type {number}
7093
+ * @memberof InviteLinkOutputDTO
7094
+ */
7095
+ remaining?: number;
7096
+ /**
7097
+ *
7098
+ * @type {string}
7099
+ * @memberof InviteLinkOutputDTO
7100
+ */
7101
+ status: InviteLinkOutputDTOStatusEnum;
7102
+ /**
7103
+ *
7104
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7105
+ * @memberof InviteLinkOutputDTO
7106
+ */
7107
+ revokedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7108
+ /**
7109
+ *
7110
+ * @type {string}
7111
+ * @memberof InviteLinkOutputDTO
7112
+ */
7113
+ createdBy?: string;
7114
+ /**
7115
+ *
7116
+ * @type {Array<InviteLinkRoleDTO>}
7117
+ * @memberof InviteLinkOutputDTO
7118
+ */
7119
+ roles: Array<InviteLinkRoleDTO>;
7120
+ }
7121
+
7122
+ export const InviteLinkOutputDTOStatusEnum = {
7123
+ Active: 'ACTIVE',
7124
+ Revoked: 'REVOKED',
7125
+ Expired: 'EXPIRED',
7126
+ Depleted: 'DEPLETED',
7127
+ } as const;
7128
+
7129
+ export type InviteLinkOutputDTOStatusEnum =
7130
+ (typeof InviteLinkOutputDTOStatusEnum)[keyof typeof InviteLinkOutputDTOStatusEnum];
7131
+
7132
+ /**
7133
+ *
7134
+ * @export
7135
+ * @interface InviteLinkOutputDTOAPI
7136
+ */
7137
+ export interface InviteLinkOutputDTOAPI {
7138
+ /**
7139
+ *
7140
+ * @type {InviteLinkOutputDTO}
7141
+ * @memberof InviteLinkOutputDTOAPI
7142
+ */
7143
+ data: InviteLinkOutputDTO;
7144
+ /**
7145
+ *
7146
+ * @type {MetadataOutput}
7147
+ * @memberof InviteLinkOutputDTOAPI
7148
+ */
7149
+ meta: MetadataOutput;
7150
+ }
7151
+ /**
7152
+ *
7153
+ * @export
7154
+ * @interface InviteLinkOutputArrayDTOAPI
7155
+ */
7156
+ export interface InviteLinkOutputArrayDTOAPI {
7157
+ /**
7158
+ *
7159
+ * @type {Array<InviteLinkOutputDTO>}
7160
+ * @memberof InviteLinkOutputArrayDTOAPI
7161
+ */
7162
+ data: Array<InviteLinkOutputDTO>;
7163
+ /**
7164
+ *
7165
+ * @type {MetadataOutput}
7166
+ * @memberof InviteLinkOutputArrayDTOAPI
7167
+ */
7168
+ meta: MetadataOutput;
7169
+ }
7170
+ /**
7171
+ *
7172
+ * @export
7173
+ * @interface InviteLinkPreviewDTO
7174
+ */
7175
+ export interface InviteLinkPreviewDTO {
7176
+ /**
7177
+ *
7178
+ * @type {InviteLinkPreviewDomainDTO}
7179
+ * @memberof InviteLinkPreviewDTO
7180
+ */
7181
+ domain: InviteLinkPreviewDomainDTO;
7182
+ /**
7183
+ *
7184
+ * @type {Array<InviteLinkPreviewRoleDTO>}
7185
+ * @memberof InviteLinkPreviewDTO
7186
+ */
7187
+ roles: Array<InviteLinkPreviewRoleDTO>;
7188
+ /**
7189
+ *
7190
+ * @type {string}
7191
+ * @memberof InviteLinkPreviewDTO
7192
+ */
7193
+ status: InviteLinkPreviewDTOStatusEnum;
7194
+ /**
7195
+ *
7196
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
7197
+ * @memberof InviteLinkPreviewDTO
7198
+ */
7199
+ expiresAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7200
+ /**
7201
+ *
7202
+ * @type {number}
7203
+ * @memberof InviteLinkPreviewDTO
7204
+ */
7205
+ remaining?: number;
7206
+ }
7207
+
7208
+ export const InviteLinkPreviewDTOStatusEnum = {
7209
+ Active: 'ACTIVE',
7210
+ Revoked: 'REVOKED',
7211
+ Expired: 'EXPIRED',
7212
+ Depleted: 'DEPLETED',
7213
+ } as const;
7214
+
7215
+ export type InviteLinkPreviewDTOStatusEnum =
7216
+ (typeof InviteLinkPreviewDTOStatusEnum)[keyof typeof InviteLinkPreviewDTOStatusEnum];
7217
+
7218
+ /**
7219
+ *
7220
+ * @export
7221
+ * @interface InviteLinkPreviewDTOAPI
7222
+ */
7223
+ export interface InviteLinkPreviewDTOAPI {
7224
+ /**
7225
+ *
7226
+ * @type {InviteLinkPreviewDTO}
7227
+ * @memberof InviteLinkPreviewDTOAPI
7228
+ */
7229
+ data: InviteLinkPreviewDTO;
7230
+ /**
7231
+ *
7232
+ * @type {MetadataOutput}
7233
+ * @memberof InviteLinkPreviewDTOAPI
7234
+ */
7235
+ meta: MetadataOutput;
7236
+ }
7237
+ /**
7238
+ *
7239
+ * @export
7240
+ * @interface InviteLinkPreviewDomainDTO
7241
+ */
7242
+ export interface InviteLinkPreviewDomainDTO {
7243
+ /**
7244
+ *
7245
+ * @type {string}
7246
+ * @memberof InviteLinkPreviewDomainDTO
7247
+ */
7248
+ id: string;
7249
+ /**
7250
+ *
7251
+ * @type {string}
7252
+ * @memberof InviteLinkPreviewDomainDTO
7253
+ */
7254
+ name: string;
7255
+ }
7256
+ /**
7257
+ *
7258
+ * @export
7259
+ * @interface InviteLinkPreviewRoleDTO
7260
+ */
7261
+ export interface InviteLinkPreviewRoleDTO {
7262
+ /**
7263
+ *
7264
+ * @type {string}
7265
+ * @memberof InviteLinkPreviewRoleDTO
7266
+ */
7267
+ id: string;
7268
+ /**
7269
+ *
7270
+ * @type {string}
7271
+ * @memberof InviteLinkPreviewRoleDTO
7272
+ */
7273
+ name: string;
7274
+ }
7275
+ /**
7276
+ *
7277
+ * @export
7278
+ * @interface InviteLinkRoleDTO
7279
+ */
7280
+ export interface InviteLinkRoleDTO {
7281
+ /**
7282
+ *
7283
+ * @type {string}
7284
+ * @memberof InviteLinkRoleDTO
7285
+ */
7286
+ roleId: string;
7287
+ /**
7288
+ *
7289
+ * @type {string}
7290
+ * @memberof InviteLinkRoleDTO
7291
+ */
7292
+ name: string;
7293
+ }
7294
+ /**
7295
+ *
7296
+ * @export
7297
+ * @interface InviteLinkSearchInputDTO
7298
+ */
7299
+ export interface InviteLinkSearchInputDTO {
7300
+ /**
7301
+ *
7302
+ * @type {string}
7303
+ * @memberof InviteLinkSearchInputDTO
7304
+ */
7305
+ sortBy?: string;
7306
+ /**
7307
+ *
7308
+ * @type {any}
7309
+ * @memberof InviteLinkSearchInputDTO
7310
+ */
7311
+ filters?: any;
7312
+ /**
7313
+ *
7314
+ * @type {any}
7315
+ * @memberof InviteLinkSearchInputDTO
7316
+ */
7317
+ search?: any;
7318
+ /**
7319
+ *
7320
+ * @type {any}
7321
+ * @memberof InviteLinkSearchInputDTO
7322
+ */
7323
+ greaterThan?: any;
7324
+ /**
7325
+ *
7326
+ * @type {any}
7327
+ * @memberof InviteLinkSearchInputDTO
7328
+ */
7329
+ lessThan?: any;
7330
+ /**
7331
+ *
7332
+ * @type {number}
7333
+ * @memberof InviteLinkSearchInputDTO
7334
+ */
7335
+ page?: number;
7336
+ /**
7337
+ *
7338
+ * @type {number}
7339
+ * @memberof InviteLinkSearchInputDTO
7340
+ */
7341
+ limit?: number;
7342
+ /**
7343
+ *
7344
+ * @type {string}
7345
+ * @memberof InviteLinkSearchInputDTO
7346
+ */
7347
+ sortDirection?: InviteLinkSearchInputDTOSortDirectionEnum;
7348
+ /**
7349
+ *
7350
+ * @type {Array<string>}
7351
+ * @memberof InviteLinkSearchInputDTO
7352
+ */
7353
+ extend?: Array<string>;
7354
+ }
7355
+
7356
+ export const InviteLinkSearchInputDTOSortDirectionEnum = {
7357
+ Asc: 'asc',
7358
+ Desc: 'desc',
7359
+ } as const;
7360
+
7361
+ export type InviteLinkSearchInputDTOSortDirectionEnum =
7362
+ (typeof InviteLinkSearchInputDTOSortDirectionEnum)[keyof typeof InviteLinkSearchInputDTOSortDirectionEnum];
7363
+
7364
+ /**
7365
+ *
7366
+ * @export
7367
+ * @interface RedeemInputDTO
7368
+ */
7369
+ export interface RedeemInputDTO {
7370
+ /**
7371
+ *
7372
+ * @type {string}
7373
+ * @memberof RedeemInputDTO
7374
+ */
7375
+ token: string;
7376
+ }
6864
7377
  /**
6865
7378
  *
6866
7379
  * @export
@@ -7593,7 +8106,7 @@ export interface MeOutputDTO {
7593
8106
  * @type {UserOutputWithRolesDTO}
7594
8107
  * @memberof MeOutputDTO
7595
8108
  */
7596
- user: UserOutputWithRolesDTO;
8109
+ user?: UserOutputWithRolesDTO;
7597
8110
  /**
7598
8111
  *
7599
8112
  * @type {Array<DomainOutputDTO>}
@@ -7605,7 +8118,7 @@ export interface MeOutputDTO {
7605
8118
  * @type {string}
7606
8119
  * @memberof MeOutputDTO
7607
8120
  */
7608
- domain: string;
8121
+ domain?: string;
7609
8122
  /**
7610
8123
  *
7611
8124
  * @type {PlayerOutputWithRolesDTO}
@@ -14053,6 +14566,25 @@ export interface ShopDeadStockItemDTO {
14053
14566
  */
14054
14567
  daysSinceLastSale?: number;
14055
14568
  }
14569
+ /**
14570
+ *
14571
+ * @export
14572
+ * @interface ShopImportFailureDTO
14573
+ */
14574
+ export interface ShopImportFailureDTO {
14575
+ /**
14576
+ *
14577
+ * @type {string}
14578
+ * @memberof ShopImportFailureDTO
14579
+ */
14580
+ name: string;
14581
+ /**
14582
+ *
14583
+ * @type {string}
14584
+ * @memberof ShopImportFailureDTO
14585
+ */
14586
+ reason: string;
14587
+ }
14056
14588
  /**
14057
14589
  *
14058
14590
  * @export
@@ -14078,6 +14610,44 @@ export interface ShopImportOptions {
14078
14610
  */
14079
14611
  gameServerId: string;
14080
14612
  }
14613
+ /**
14614
+ *
14615
+ * @export
14616
+ * @interface ShopImportResultDTO
14617
+ */
14618
+ export interface ShopImportResultDTO {
14619
+ /**
14620
+ *
14621
+ * @type {number}
14622
+ * @memberof ShopImportResultDTO
14623
+ */
14624
+ imported: number;
14625
+ /**
14626
+ *
14627
+ * @type {Array<ShopImportFailureDTO>}
14628
+ * @memberof ShopImportResultDTO
14629
+ */
14630
+ failed: Array<ShopImportFailureDTO>;
14631
+ }
14632
+ /**
14633
+ *
14634
+ * @export
14635
+ * @interface ShopImportResultDTOAPI
14636
+ */
14637
+ export interface ShopImportResultDTOAPI {
14638
+ /**
14639
+ *
14640
+ * @type {ShopImportResultDTO}
14641
+ * @memberof ShopImportResultDTOAPI
14642
+ */
14643
+ data: ShopImportResultDTO;
14644
+ /**
14645
+ *
14646
+ * @type {MetadataOutput}
14647
+ * @memberof ShopImportResultDTOAPI
14648
+ */
14649
+ meta: MetadataOutput;
14650
+ }
14081
14651
  /**
14082
14652
  *
14083
14653
  * @export
@@ -15220,6 +15790,175 @@ export interface SmallModuleVersionOutputDTO {
15220
15790
  */
15221
15791
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15222
15792
  }
15793
+ /**
15794
+ *
15795
+ * @export
15796
+ * @interface StorefrontConfigCreateDTO
15797
+ */
15798
+ export interface StorefrontConfigCreateDTO {
15799
+ /**
15800
+ *
15801
+ * @type {string}
15802
+ * @memberof StorefrontConfigCreateDTO
15803
+ */
15804
+ gameServerId: string;
15805
+ /**
15806
+ *
15807
+ * @type {string}
15808
+ * @memberof StorefrontConfigCreateDTO
15809
+ */
15810
+ templateId: string;
15811
+ /**
15812
+ *
15813
+ * @type {object}
15814
+ * @memberof StorefrontConfigCreateDTO
15815
+ */
15816
+ values?: object;
15817
+ }
15818
+ /**
15819
+ *
15820
+ * @export
15821
+ * @interface StorefrontConfigOutputDTO
15822
+ */
15823
+ export interface StorefrontConfigOutputDTO {
15824
+ /**
15825
+ *
15826
+ * @type {string}
15827
+ * @memberof StorefrontConfigOutputDTO
15828
+ */
15829
+ gameServerId: string;
15830
+ /**
15831
+ *
15832
+ * @type {string}
15833
+ * @memberof StorefrontConfigOutputDTO
15834
+ */
15835
+ templateId: string;
15836
+ /**
15837
+ *
15838
+ * @type {object}
15839
+ * @memberof StorefrontConfigOutputDTO
15840
+ */
15841
+ values: object;
15842
+ /**
15843
+ *
15844
+ * @type {string}
15845
+ * @memberof StorefrontConfigOutputDTO
15846
+ */
15847
+ id: string;
15848
+ /**
15849
+ *
15850
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15851
+ * @memberof StorefrontConfigOutputDTO
15852
+ */
15853
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15854
+ /**
15855
+ *
15856
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
15857
+ * @memberof StorefrontConfigOutputDTO
15858
+ */
15859
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
15860
+ }
15861
+ /**
15862
+ *
15863
+ * @export
15864
+ * @interface StorefrontConfigUpdateDTO
15865
+ */
15866
+ export interface StorefrontConfigUpdateDTO {
15867
+ /**
15868
+ *
15869
+ * @type {string}
15870
+ * @memberof StorefrontConfigUpdateDTO
15871
+ */
15872
+ templateId?: string;
15873
+ /**
15874
+ *
15875
+ * @type {object}
15876
+ * @memberof StorefrontConfigUpdateDTO
15877
+ */
15878
+ values?: object;
15879
+ }
15880
+ /**
15881
+ *
15882
+ * @export
15883
+ * @interface StorefrontConfigUpsertBody
15884
+ */
15885
+ export interface StorefrontConfigUpsertBody {
15886
+ /**
15887
+ *
15888
+ * @type {string}
15889
+ * @memberof StorefrontConfigUpsertBody
15890
+ */
15891
+ templateId: string;
15892
+ /**
15893
+ *
15894
+ * @type {object}
15895
+ * @memberof StorefrontConfigUpsertBody
15896
+ */
15897
+ values: object;
15898
+ }
15899
+ /**
15900
+ *
15901
+ * @export
15902
+ * @interface StorefrontConfigUpsertDTO
15903
+ */
15904
+ export interface StorefrontConfigUpsertDTO {
15905
+ /**
15906
+ *
15907
+ * @type {string}
15908
+ * @memberof StorefrontConfigUpsertDTO
15909
+ */
15910
+ templateId: string;
15911
+ /**
15912
+ *
15913
+ * @type {object}
15914
+ * @memberof StorefrontConfigUpsertDTO
15915
+ */
15916
+ values: object;
15917
+ }
15918
+ /**
15919
+ *
15920
+ * @export
15921
+ * @interface StorefrontTemplateDTO
15922
+ */
15923
+ export interface StorefrontTemplateDTO {
15924
+ /**
15925
+ *
15926
+ * @type {string}
15927
+ * @memberof StorefrontTemplateDTO
15928
+ */
15929
+ id: string;
15930
+ /**
15931
+ *
15932
+ * @type {string}
15933
+ * @memberof StorefrontTemplateDTO
15934
+ */
15935
+ name: string;
15936
+ /**
15937
+ *
15938
+ * @type {object}
15939
+ * @memberof StorefrontTemplateDTO
15940
+ */
15941
+ schema: object;
15942
+ }
15943
+ /**
15944
+ *
15945
+ * @export
15946
+ * @interface StorefrontTemplateOutputArrayDTOAPI
15947
+ */
15948
+ export interface StorefrontTemplateOutputArrayDTOAPI {
15949
+ /**
15950
+ *
15951
+ * @type {Array<StorefrontTemplateDTO>}
15952
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15953
+ */
15954
+ data: Array<StorefrontTemplateDTO>;
15955
+ /**
15956
+ *
15957
+ * @type {MetadataOutput}
15958
+ * @memberof StorefrontTemplateOutputArrayDTOAPI
15959
+ */
15960
+ meta: MetadataOutput;
15961
+ }
15223
15962
  /**
15224
15963
  *
15225
15964
  * @export
@@ -16995,6 +17734,12 @@ export interface UserOutputDTO {
16995
17734
  * @memberof UserOutputDTO
16996
17735
  */
16997
17736
  updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
17737
+ /**
17738
+ *
17739
+ * @type {string}
17740
+ * @memberof UserOutputDTO
17741
+ */
17742
+ inviteLinkId?: string;
16998
17743
  }
16999
17744
  /**
17000
17745
  *
@@ -17093,6 +17838,31 @@ export interface UserOutputWithRolesDTO {
17093
17838
  * @memberof UserOutputWithRolesDTO
17094
17839
  */
17095
17840
  isDashboardUser: boolean;
17841
+ /**
17842
+ *
17843
+ * @type {string}
17844
+ * @memberof UserOutputWithRolesDTO
17845
+ */
17846
+ inviteLinkId?: string;
17847
+ }
17848
+ /**
17849
+ *
17850
+ * @export
17851
+ * @interface UserOutputWithRolesDTOAPI
17852
+ */
17853
+ export interface UserOutputWithRolesDTOAPI {
17854
+ /**
17855
+ *
17856
+ * @type {UserOutputWithRolesDTO}
17857
+ * @memberof UserOutputWithRolesDTOAPI
17858
+ */
17859
+ data: UserOutputWithRolesDTO;
17860
+ /**
17861
+ *
17862
+ * @type {MetadataOutput}
17863
+ * @memberof UserOutputWithRolesDTOAPI
17864
+ */
17865
+ meta: MetadataOutput;
17096
17866
  }
17097
17867
  /**
17098
17868
  *
@@ -38644,7 +39414,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
38644
39414
  */
38645
39415
  async shopListingControllerImportListings(
38646
39416
  options?: RawAxiosRequestConfig,
38647
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
39417
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
38648
39418
  const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
38649
39419
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38650
39420
  const localVarOperationServerBasePath =
@@ -38767,7 +39537,7 @@ export const ShopListingApiFactory = function (
38767
39537
  * @param {*} [options] Override http request option.
38768
39538
  * @throws {RequiredError}
38769
39539
  */
38770
- shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
39540
+ shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
38771
39541
  return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
38772
39542
  },
38773
39543
  /**
@@ -39366,6 +40136,334 @@ export class ShopOrderApi extends BaseAPI {
39366
40136
  }
39367
40137
  }
39368
40138
 
40139
+ /**
40140
+ * StorefrontConfigApi - axios parameter creator
40141
+ * @export
40142
+ */
40143
+ export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
40144
+ return {
40145
+ /**
40146
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40147
+ * @summary Get effective config
40148
+ * @param {string} gameServerId
40149
+ * @param {*} [options] Override http request option.
40150
+ * @throws {RequiredError}
40151
+ */
40152
+ storefrontConfigControllerGetEffectiveConfig: async (
40153
+ gameServerId: string,
40154
+ options: RawAxiosRequestConfig = {},
40155
+ ): Promise<RequestArgs> => {
40156
+ // verify required parameter 'gameServerId' is not null or undefined
40157
+ assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
40158
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
40159
+ `{${'gameServerId'}}`,
40160
+ encodeURIComponent(String(gameServerId)),
40161
+ );
40162
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40163
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40164
+ let baseOptions;
40165
+ if (configuration) {
40166
+ baseOptions = configuration.baseOptions;
40167
+ }
40168
+
40169
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
40170
+ const localVarHeaderParameter = {} as any;
40171
+ const localVarQueryParameter = {} as any;
40172
+
40173
+ // authentication domainAuth required
40174
+
40175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40177
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40178
+
40179
+ return {
40180
+ url: toPathString(localVarUrlObj),
40181
+ options: localVarRequestOptions,
40182
+ };
40183
+ },
40184
+ /**
40185
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
40186
+ * @summary List templates
40187
+ * @param {*} [options] Override http request option.
40188
+ * @throws {RequiredError}
40189
+ */
40190
+ storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40191
+ const localVarPath = `/storefront/templates`;
40192
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40193
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40194
+ let baseOptions;
40195
+ if (configuration) {
40196
+ baseOptions = configuration.baseOptions;
40197
+ }
40198
+
40199
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
40200
+ const localVarHeaderParameter = {} as any;
40201
+ const localVarQueryParameter = {} as any;
40202
+
40203
+ // authentication domainAuth required
40204
+
40205
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40206
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40207
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40208
+
40209
+ return {
40210
+ url: toPathString(localVarUrlObj),
40211
+ options: localVarRequestOptions,
40212
+ };
40213
+ },
40214
+ /**
40215
+ * 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`
40216
+ * @summary Set config
40217
+ * @param {string} gameServerId
40218
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
40219
+ * @param {*} [options] Override http request option.
40220
+ * @throws {RequiredError}
40221
+ */
40222
+ storefrontConfigControllerSetConfig: async (
40223
+ gameServerId: string,
40224
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
40225
+ options: RawAxiosRequestConfig = {},
40226
+ ): Promise<RequestArgs> => {
40227
+ // verify required parameter 'gameServerId' is not null or undefined
40228
+ assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
40229
+ const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
40230
+ `{${'gameServerId'}}`,
40231
+ encodeURIComponent(String(gameServerId)),
40232
+ );
40233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40235
+ let baseOptions;
40236
+ if (configuration) {
40237
+ baseOptions = configuration.baseOptions;
40238
+ }
40239
+
40240
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
40241
+ const localVarHeaderParameter = {} as any;
40242
+ const localVarQueryParameter = {} as any;
40243
+
40244
+ // authentication domainAuth required
40245
+
40246
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40247
+
40248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40250
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
40251
+ localVarRequestOptions.data = serializeDataIfNeeded(
40252
+ storefrontConfigUpsertBody,
40253
+ localVarRequestOptions,
40254
+ configuration,
40255
+ );
40256
+
40257
+ return {
40258
+ url: toPathString(localVarUrlObj),
40259
+ options: localVarRequestOptions,
40260
+ };
40261
+ },
40262
+ };
40263
+ };
40264
+
40265
+ /**
40266
+ * StorefrontConfigApi - functional programming interface
40267
+ * @export
40268
+ */
40269
+ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
40270
+ const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
40271
+ return {
40272
+ /**
40273
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40274
+ * @summary Get effective config
40275
+ * @param {string} gameServerId
40276
+ * @param {*} [options] Override http request option.
40277
+ * @throws {RequiredError}
40278
+ */
40279
+ async storefrontConfigControllerGetEffectiveConfig(
40280
+ gameServerId: string,
40281
+ options?: RawAxiosRequestConfig,
40282
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
40283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
40284
+ gameServerId,
40285
+ options,
40286
+ );
40287
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40288
+ const localVarOperationServerBasePath =
40289
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
40290
+ localVarOperationServerIndex
40291
+ ]?.url;
40292
+ return (axios, basePath) =>
40293
+ createRequestFunction(
40294
+ localVarAxiosArgs,
40295
+ globalAxios,
40296
+ BASE_PATH,
40297
+ configuration,
40298
+ )(axios, localVarOperationServerBasePath || basePath);
40299
+ },
40300
+ /**
40301
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
40302
+ * @summary List templates
40303
+ * @param {*} [options] Override http request option.
40304
+ * @throws {RequiredError}
40305
+ */
40306
+ async storefrontConfigControllerListTemplates(
40307
+ options?: RawAxiosRequestConfig,
40308
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
40309
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
40310
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40311
+ const localVarOperationServerBasePath =
40312
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
40313
+ localVarOperationServerIndex
40314
+ ]?.url;
40315
+ return (axios, basePath) =>
40316
+ createRequestFunction(
40317
+ localVarAxiosArgs,
40318
+ globalAxios,
40319
+ BASE_PATH,
40320
+ configuration,
40321
+ )(axios, localVarOperationServerBasePath || basePath);
40322
+ },
40323
+ /**
40324
+ * 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`
40325
+ * @summary Set config
40326
+ * @param {string} gameServerId
40327
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
40328
+ * @param {*} [options] Override http request option.
40329
+ * @throws {RequiredError}
40330
+ */
40331
+ async storefrontConfigControllerSetConfig(
40332
+ gameServerId: string,
40333
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
40334
+ options?: RawAxiosRequestConfig,
40335
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
40336
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
40337
+ gameServerId,
40338
+ storefrontConfigUpsertBody,
40339
+ options,
40340
+ );
40341
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40342
+ const localVarOperationServerBasePath =
40343
+ operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
40344
+ ?.url;
40345
+ return (axios, basePath) =>
40346
+ createRequestFunction(
40347
+ localVarAxiosArgs,
40348
+ globalAxios,
40349
+ BASE_PATH,
40350
+ configuration,
40351
+ )(axios, localVarOperationServerBasePath || basePath);
40352
+ },
40353
+ };
40354
+ };
40355
+
40356
+ /**
40357
+ * StorefrontConfigApi - factory interface
40358
+ * @export
40359
+ */
40360
+ export const StorefrontConfigApiFactory = function (
40361
+ configuration?: Configuration,
40362
+ basePath?: string,
40363
+ axios?: AxiosInstance,
40364
+ ) {
40365
+ const localVarFp = StorefrontConfigApiFp(configuration);
40366
+ return {
40367
+ /**
40368
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40369
+ * @summary Get effective config
40370
+ * @param {string} gameServerId
40371
+ * @param {*} [options] Override http request option.
40372
+ * @throws {RequiredError}
40373
+ */
40374
+ storefrontConfigControllerGetEffectiveConfig(
40375
+ gameServerId: string,
40376
+ options?: RawAxiosRequestConfig,
40377
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
40378
+ return localVarFp
40379
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
40380
+ .then((request) => request(axios, basePath));
40381
+ },
40382
+ /**
40383
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
40384
+ * @summary List templates
40385
+ * @param {*} [options] Override http request option.
40386
+ * @throws {RequiredError}
40387
+ */
40388
+ storefrontConfigControllerListTemplates(
40389
+ options?: RawAxiosRequestConfig,
40390
+ ): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
40391
+ return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
40392
+ },
40393
+ /**
40394
+ * 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`
40395
+ * @summary Set config
40396
+ * @param {string} gameServerId
40397
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
40398
+ * @param {*} [options] Override http request option.
40399
+ * @throws {RequiredError}
40400
+ */
40401
+ storefrontConfigControllerSetConfig(
40402
+ gameServerId: string,
40403
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
40404
+ options?: RawAxiosRequestConfig,
40405
+ ): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
40406
+ return localVarFp
40407
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
40408
+ .then((request) => request(axios, basePath));
40409
+ },
40410
+ };
40411
+ };
40412
+
40413
+ /**
40414
+ * StorefrontConfigApi - object-oriented interface
40415
+ * @export
40416
+ * @class StorefrontConfigApi
40417
+ * @extends {BaseAPI}
40418
+ */
40419
+ export class StorefrontConfigApi extends BaseAPI {
40420
+ /**
40421
+ * Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
40422
+ * @summary Get effective config
40423
+ * @param {string} gameServerId
40424
+ * @param {*} [options] Override http request option.
40425
+ * @throws {RequiredError}
40426
+ * @memberof StorefrontConfigApi
40427
+ */
40428
+ public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
40429
+ return StorefrontConfigApiFp(this.configuration)
40430
+ .storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
40431
+ .then((request) => request(this.axios, this.basePath));
40432
+ }
40433
+
40434
+ /**
40435
+ * List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
40436
+ * @summary List templates
40437
+ * @param {*} [options] Override http request option.
40438
+ * @throws {RequiredError}
40439
+ * @memberof StorefrontConfigApi
40440
+ */
40441
+ public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
40442
+ return StorefrontConfigApiFp(this.configuration)
40443
+ .storefrontConfigControllerListTemplates(options)
40444
+ .then((request) => request(this.axios, this.basePath));
40445
+ }
40446
+
40447
+ /**
40448
+ * 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`
40449
+ * @summary Set config
40450
+ * @param {string} gameServerId
40451
+ * @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
40452
+ * @param {*} [options] Override http request option.
40453
+ * @throws {RequiredError}
40454
+ * @memberof StorefrontConfigApi
40455
+ */
40456
+ public storefrontConfigControllerSetConfig(
40457
+ gameServerId: string,
40458
+ storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
40459
+ options?: RawAxiosRequestConfig,
40460
+ ) {
40461
+ return StorefrontConfigApiFp(this.configuration)
40462
+ .storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
40463
+ .then((request) => request(this.axios, this.basePath));
40464
+ }
40465
+ }
40466
+
39369
40467
  /**
39370
40468
  * TrackingApi - axios parameter creator
39371
40469
  * @export
@@ -41630,3 +42728,474 @@ export class VariableApi extends BaseAPI {
41630
42728
  .then((request) => request(this.axios, this.basePath));
41631
42729
  }
41632
42730
  }
42731
+
42732
+ /**
42733
+ * InviteLinkApi - axios parameter creator
42734
+ * @export
42735
+ */
42736
+ export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
42737
+ return {
42738
+ /**
42739
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
42740
+ * @summary Create invite link
42741
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
42742
+ * @param {*} [options] Override http request option.
42743
+ * @throws {RequiredError}
42744
+ */
42745
+ inviteLinkControllerCreate: async (
42746
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
42747
+ options: RawAxiosRequestConfig = {},
42748
+ ): Promise<RequestArgs> => {
42749
+ const localVarPath = `/invite-link`;
42750
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42751
+ let baseOptions;
42752
+ if (configuration) {
42753
+ baseOptions = configuration.baseOptions;
42754
+ }
42755
+
42756
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42757
+ const localVarHeaderParameter = {} as any;
42758
+ const localVarQueryParameter = {} as any;
42759
+
42760
+ // authentication domainAuth required
42761
+
42762
+ localVarHeaderParameter['Content-Type'] = 'application/json';
42763
+
42764
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42765
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42766
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42767
+ localVarRequestOptions.data = serializeDataIfNeeded(
42768
+ inviteLinkCreateInputDTO,
42769
+ localVarRequestOptions,
42770
+ configuration,
42771
+ );
42772
+
42773
+ return {
42774
+ url: toPathString(localVarUrlObj),
42775
+ options: localVarRequestOptions,
42776
+ };
42777
+ },
42778
+ /**
42779
+ * <br> OperationId: `InviteLinkControllerPreview`
42780
+ * @summary Preview
42781
+ * @param {string} token
42782
+ * @param {*} [options] Override http request option.
42783
+ * @throws {RequiredError}
42784
+ */
42785
+ inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42786
+ assertParamExists('inviteLinkControllerPreview', 'token', token);
42787
+ const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
42788
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42789
+ let baseOptions;
42790
+ if (configuration) {
42791
+ baseOptions = configuration.baseOptions;
42792
+ }
42793
+
42794
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
42795
+ const localVarHeaderParameter = {} as any;
42796
+ const localVarQueryParameter = {} as any;
42797
+
42798
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42799
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42800
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42801
+
42802
+ return {
42803
+ url: toPathString(localVarUrlObj),
42804
+ options: localVarRequestOptions,
42805
+ };
42806
+ },
42807
+ /**
42808
+ * <br> OperationId: `InviteLinkControllerRedeem`
42809
+ * @summary Redeem
42810
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
42811
+ * @param {*} [options] Override http request option.
42812
+ * @throws {RequiredError}
42813
+ */
42814
+ inviteLinkControllerRedeem: async (
42815
+ redeemInputDTO?: RedeemInputDTO,
42816
+ options: RawAxiosRequestConfig = {},
42817
+ ): Promise<RequestArgs> => {
42818
+ const localVarPath = `/invite-link/redeem`;
42819
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42820
+ let baseOptions;
42821
+ if (configuration) {
42822
+ baseOptions = configuration.baseOptions;
42823
+ }
42824
+
42825
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42826
+ const localVarHeaderParameter = {} as any;
42827
+ const localVarQueryParameter = {} as any;
42828
+
42829
+ localVarHeaderParameter['Content-Type'] = 'application/json';
42830
+
42831
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42832
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42833
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42834
+ localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
42835
+
42836
+ return {
42837
+ url: toPathString(localVarUrlObj),
42838
+ options: localVarRequestOptions,
42839
+ };
42840
+ },
42841
+ /**
42842
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
42843
+ * @summary Revoke
42844
+ * @param {string} id
42845
+ * @param {*} [options] Override http request option.
42846
+ * @throws {RequiredError}
42847
+ */
42848
+ inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42849
+ assertParamExists('inviteLinkControllerRevoke', 'id', id);
42850
+ const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
42851
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42852
+ let baseOptions;
42853
+ if (configuration) {
42854
+ baseOptions = configuration.baseOptions;
42855
+ }
42856
+
42857
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
42858
+ const localVarHeaderParameter = {} as any;
42859
+ const localVarQueryParameter = {} as any;
42860
+
42861
+ // authentication domainAuth required
42862
+
42863
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42864
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42865
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42866
+
42867
+ return {
42868
+ url: toPathString(localVarUrlObj),
42869
+ options: localVarRequestOptions,
42870
+ };
42871
+ },
42872
+ /**
42873
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
42874
+ * @summary Search
42875
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
42876
+ * @param {*} [options] Override http request option.
42877
+ * @throws {RequiredError}
42878
+ */
42879
+ inviteLinkControllerSearch: async (
42880
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
42881
+ options: RawAxiosRequestConfig = {},
42882
+ ): Promise<RequestArgs> => {
42883
+ const localVarPath = `/invite-link/search`;
42884
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42885
+ let baseOptions;
42886
+ if (configuration) {
42887
+ baseOptions = configuration.baseOptions;
42888
+ }
42889
+
42890
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42891
+ const localVarHeaderParameter = {} as any;
42892
+ const localVarQueryParameter = {} as any;
42893
+
42894
+ // authentication domainAuth required
42895
+
42896
+ localVarHeaderParameter['Content-Type'] = 'application/json';
42897
+
42898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42900
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
42901
+ localVarRequestOptions.data = serializeDataIfNeeded(
42902
+ inviteLinkSearchInputDTO,
42903
+ localVarRequestOptions,
42904
+ configuration,
42905
+ );
42906
+
42907
+ return {
42908
+ url: toPathString(localVarUrlObj),
42909
+ options: localVarRequestOptions,
42910
+ };
42911
+ },
42912
+ };
42913
+ };
42914
+
42915
+ /**
42916
+ * InviteLinkApi - functional programming interface
42917
+ * @export
42918
+ */
42919
+ export const InviteLinkApiFp = function (configuration?: Configuration) {
42920
+ const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
42921
+ return {
42922
+ /**
42923
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
42924
+ * @summary Create invite link
42925
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
42926
+ * @param {*} [options] Override http request option.
42927
+ * @throws {RequiredError}
42928
+ */
42929
+ async inviteLinkControllerCreate(
42930
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
42931
+ options?: RawAxiosRequestConfig,
42932
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
42933
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
42934
+ inviteLinkCreateInputDTO,
42935
+ options,
42936
+ );
42937
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42938
+ const localVarOperationServerBasePath =
42939
+ operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
42940
+ return (axios, basePath) =>
42941
+ createRequestFunction(
42942
+ localVarAxiosArgs,
42943
+ globalAxios,
42944
+ BASE_PATH,
42945
+ configuration,
42946
+ )(axios, localVarOperationServerBasePath || basePath);
42947
+ },
42948
+ /**
42949
+ * <br> OperationId: `InviteLinkControllerPreview`
42950
+ * @summary Preview
42951
+ * @param {string} token
42952
+ * @param {*} [options] Override http request option.
42953
+ * @throws {RequiredError}
42954
+ */
42955
+ async inviteLinkControllerPreview(
42956
+ token: string,
42957
+ options?: RawAxiosRequestConfig,
42958
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
42959
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
42960
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42961
+ const localVarOperationServerBasePath =
42962
+ operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
42963
+ return (axios, basePath) =>
42964
+ createRequestFunction(
42965
+ localVarAxiosArgs,
42966
+ globalAxios,
42967
+ BASE_PATH,
42968
+ configuration,
42969
+ )(axios, localVarOperationServerBasePath || basePath);
42970
+ },
42971
+ /**
42972
+ * <br> OperationId: `InviteLinkControllerRedeem`
42973
+ * @summary Redeem
42974
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
42975
+ * @param {*} [options] Override http request option.
42976
+ * @throws {RequiredError}
42977
+ */
42978
+ async inviteLinkControllerRedeem(
42979
+ redeemInputDTO?: RedeemInputDTO,
42980
+ options?: RawAxiosRequestConfig,
42981
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
42982
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
42983
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42984
+ const localVarOperationServerBasePath =
42985
+ operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
42986
+ return (axios, basePath) =>
42987
+ createRequestFunction(
42988
+ localVarAxiosArgs,
42989
+ globalAxios,
42990
+ BASE_PATH,
42991
+ configuration,
42992
+ )(axios, localVarOperationServerBasePath || basePath);
42993
+ },
42994
+ /**
42995
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
42996
+ * @summary Revoke
42997
+ * @param {string} id
42998
+ * @param {*} [options] Override http request option.
42999
+ * @throws {RequiredError}
43000
+ */
43001
+ async inviteLinkControllerRevoke(
43002
+ id: string,
43003
+ options?: RawAxiosRequestConfig,
43004
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
43005
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
43006
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43007
+ const localVarOperationServerBasePath =
43008
+ operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
43009
+ return (axios, basePath) =>
43010
+ createRequestFunction(
43011
+ localVarAxiosArgs,
43012
+ globalAxios,
43013
+ BASE_PATH,
43014
+ configuration,
43015
+ )(axios, localVarOperationServerBasePath || basePath);
43016
+ },
43017
+ /**
43018
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43019
+ * @summary Search
43020
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43021
+ * @param {*} [options] Override http request option.
43022
+ * @throws {RequiredError}
43023
+ */
43024
+ async inviteLinkControllerSearch(
43025
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43026
+ options?: RawAxiosRequestConfig,
43027
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
43028
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
43029
+ inviteLinkSearchInputDTO,
43030
+ options,
43031
+ );
43032
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43033
+ const localVarOperationServerBasePath =
43034
+ operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
43035
+ return (axios, basePath) =>
43036
+ createRequestFunction(
43037
+ localVarAxiosArgs,
43038
+ globalAxios,
43039
+ BASE_PATH,
43040
+ configuration,
43041
+ )(axios, localVarOperationServerBasePath || basePath);
43042
+ },
43043
+ };
43044
+ };
43045
+
43046
+ /**
43047
+ * InviteLinkApi - factory interface
43048
+ * @export
43049
+ */
43050
+ export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
43051
+ const localVarFp = InviteLinkApiFp(configuration);
43052
+ return {
43053
+ /**
43054
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43055
+ * @summary Create invite link
43056
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43057
+ * @param {*} [options] Override http request option.
43058
+ * @throws {RequiredError}
43059
+ */
43060
+ inviteLinkControllerCreate(
43061
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43062
+ options?: RawAxiosRequestConfig,
43063
+ ): AxiosPromise<InviteLinkCreateResultDTOAPI> {
43064
+ return localVarFp
43065
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43066
+ .then((request) => request(axios, basePath));
43067
+ },
43068
+ /**
43069
+ * <br> OperationId: `InviteLinkControllerPreview`
43070
+ * @summary Preview
43071
+ * @param {string} token
43072
+ * @param {*} [options] Override http request option.
43073
+ * @throws {RequiredError}
43074
+ */
43075
+ inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
43076
+ return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
43077
+ },
43078
+ /**
43079
+ * <br> OperationId: `InviteLinkControllerRedeem`
43080
+ * @summary Redeem
43081
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43082
+ * @param {*} [options] Override http request option.
43083
+ * @throws {RequiredError}
43084
+ */
43085
+ inviteLinkControllerRedeem(
43086
+ redeemInputDTO?: RedeemInputDTO,
43087
+ options?: RawAxiosRequestConfig,
43088
+ ): AxiosPromise<UserOutputWithRolesDTOAPI> {
43089
+ return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
43090
+ },
43091
+ /**
43092
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43093
+ * @summary Revoke
43094
+ * @param {string} id
43095
+ * @param {*} [options] Override http request option.
43096
+ * @throws {RequiredError}
43097
+ */
43098
+ inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
43099
+ return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
43100
+ },
43101
+ /**
43102
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43103
+ * @summary Search
43104
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43105
+ * @param {*} [options] Override http request option.
43106
+ * @throws {RequiredError}
43107
+ */
43108
+ inviteLinkControllerSearch(
43109
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43110
+ options?: RawAxiosRequestConfig,
43111
+ ): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
43112
+ return localVarFp
43113
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43114
+ .then((request) => request(axios, basePath));
43115
+ },
43116
+ };
43117
+ };
43118
+
43119
+ /**
43120
+ * InviteLinkApi - object-oriented interface
43121
+ * @export
43122
+ * @class InviteLinkApi
43123
+ * @extends {BaseAPI}
43124
+ */
43125
+ export class InviteLinkApi extends BaseAPI {
43126
+ /**
43127
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
43128
+ * @summary Create invite link
43129
+ * @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
43130
+ * @param {*} [options] Override http request option.
43131
+ * @throws {RequiredError}
43132
+ * @memberof InviteLinkApi
43133
+ */
43134
+ public inviteLinkControllerCreate(
43135
+ inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
43136
+ options?: RawAxiosRequestConfig,
43137
+ ) {
43138
+ return InviteLinkApiFp(this.configuration)
43139
+ .inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
43140
+ .then((request) => request(this.axios, this.basePath));
43141
+ }
43142
+
43143
+ /**
43144
+ * <br> OperationId: `InviteLinkControllerPreview`
43145
+ * @summary Preview
43146
+ * @param {string} token
43147
+ * @param {*} [options] Override http request option.
43148
+ * @throws {RequiredError}
43149
+ * @memberof InviteLinkApi
43150
+ */
43151
+ public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
43152
+ return InviteLinkApiFp(this.configuration)
43153
+ .inviteLinkControllerPreview(token, options)
43154
+ .then((request) => request(this.axios, this.basePath));
43155
+ }
43156
+
43157
+ /**
43158
+ * <br> OperationId: `InviteLinkControllerRedeem`
43159
+ * @summary Redeem
43160
+ * @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
43161
+ * @param {*} [options] Override http request option.
43162
+ * @throws {RequiredError}
43163
+ * @memberof InviteLinkApi
43164
+ */
43165
+ public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
43166
+ return InviteLinkApiFp(this.configuration)
43167
+ .inviteLinkControllerRedeem(redeemInputDTO, options)
43168
+ .then((request) => request(this.axios, this.basePath));
43169
+ }
43170
+
43171
+ /**
43172
+ * Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
43173
+ * @summary Revoke
43174
+ * @param {string} id
43175
+ * @param {*} [options] Override http request option.
43176
+ * @throws {RequiredError}
43177
+ * @memberof InviteLinkApi
43178
+ */
43179
+ public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
43180
+ return InviteLinkApiFp(this.configuration)
43181
+ .inviteLinkControllerRevoke(id, options)
43182
+ .then((request) => request(this.axios, this.basePath));
43183
+ }
43184
+
43185
+ /**
43186
+ * Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
43187
+ * @summary Search
43188
+ * @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
43189
+ * @param {*} [options] Override http request option.
43190
+ * @throws {RequiredError}
43191
+ * @memberof InviteLinkApi
43192
+ */
43193
+ public inviteLinkControllerSearch(
43194
+ inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
43195
+ options?: RawAxiosRequestConfig,
43196
+ ) {
43197
+ return InviteLinkApiFp(this.configuration)
43198
+ .inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
43199
+ .then((request) => request(this.axios, this.basePath));
43200
+ }
43201
+ }