@takaro/apiclient 0.0.0-dev.e8d605b → 0.0.0-dev.e93073f
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.
- package/dist/generated/api.d.ts +1147 -4
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +667 -0
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/api.ts +1861 -178
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -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
|
|
@@ -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
|
|
@@ -16830,6 +17569,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16830
17569
|
*/
|
|
16831
17570
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16832
17571
|
}
|
|
17572
|
+
/**
|
|
17573
|
+
*
|
|
17574
|
+
* @export
|
|
17575
|
+
* @interface UserCountOutputDTO
|
|
17576
|
+
*/
|
|
17577
|
+
export interface UserCountOutputDTO {
|
|
17578
|
+
/**
|
|
17579
|
+
*
|
|
17580
|
+
* @type {number}
|
|
17581
|
+
* @memberof UserCountOutputDTO
|
|
17582
|
+
*/
|
|
17583
|
+
count: number;
|
|
17584
|
+
}
|
|
17585
|
+
/**
|
|
17586
|
+
*
|
|
17587
|
+
* @export
|
|
17588
|
+
* @interface UserCountOutputDTOAPI
|
|
17589
|
+
*/
|
|
17590
|
+
export interface UserCountOutputDTOAPI {
|
|
17591
|
+
/**
|
|
17592
|
+
*
|
|
17593
|
+
* @type {UserCountOutputDTO}
|
|
17594
|
+
* @memberof UserCountOutputDTOAPI
|
|
17595
|
+
*/
|
|
17596
|
+
data: UserCountOutputDTO;
|
|
17597
|
+
/**
|
|
17598
|
+
*
|
|
17599
|
+
* @type {MetadataOutput}
|
|
17600
|
+
* @memberof UserCountOutputDTOAPI
|
|
17601
|
+
*/
|
|
17602
|
+
meta: MetadataOutput;
|
|
17603
|
+
}
|
|
16833
17604
|
/**
|
|
16834
17605
|
*
|
|
16835
17606
|
* @export
|
|
@@ -16977,6 +17748,12 @@ export interface UserOutputDTO {
|
|
|
16977
17748
|
* @memberof UserOutputDTO
|
|
16978
17749
|
*/
|
|
16979
17750
|
isDashboardUser: boolean;
|
|
17751
|
+
/**
|
|
17752
|
+
*
|
|
17753
|
+
* @type {boolean}
|
|
17754
|
+
* @memberof UserOutputDTO
|
|
17755
|
+
*/
|
|
17756
|
+
isSupportAccount: boolean;
|
|
16980
17757
|
/**
|
|
16981
17758
|
*
|
|
16982
17759
|
* @type {string}
|
|
@@ -16995,6 +17772,12 @@ export interface UserOutputDTO {
|
|
|
16995
17772
|
* @memberof UserOutputDTO
|
|
16996
17773
|
*/
|
|
16997
17774
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17775
|
+
/**
|
|
17776
|
+
*
|
|
17777
|
+
* @type {string}
|
|
17778
|
+
* @memberof UserOutputDTO
|
|
17779
|
+
*/
|
|
17780
|
+
inviteLinkId?: string;
|
|
16998
17781
|
}
|
|
16999
17782
|
/**
|
|
17000
17783
|
*
|
|
@@ -17093,6 +17876,37 @@ export interface UserOutputWithRolesDTO {
|
|
|
17093
17876
|
* @memberof UserOutputWithRolesDTO
|
|
17094
17877
|
*/
|
|
17095
17878
|
isDashboardUser: boolean;
|
|
17879
|
+
/**
|
|
17880
|
+
*
|
|
17881
|
+
* @type {boolean}
|
|
17882
|
+
* @memberof UserOutputWithRolesDTO
|
|
17883
|
+
*/
|
|
17884
|
+
isSupportAccount: boolean;
|
|
17885
|
+
/**
|
|
17886
|
+
*
|
|
17887
|
+
* @type {string}
|
|
17888
|
+
* @memberof UserOutputWithRolesDTO
|
|
17889
|
+
*/
|
|
17890
|
+
inviteLinkId?: string;
|
|
17891
|
+
}
|
|
17892
|
+
/**
|
|
17893
|
+
*
|
|
17894
|
+
* @export
|
|
17895
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17896
|
+
*/
|
|
17897
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17898
|
+
/**
|
|
17899
|
+
*
|
|
17900
|
+
* @type {UserOutputWithRolesDTO}
|
|
17901
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17902
|
+
*/
|
|
17903
|
+
data: UserOutputWithRolesDTO;
|
|
17904
|
+
/**
|
|
17905
|
+
*
|
|
17906
|
+
* @type {MetadataOutput}
|
|
17907
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17908
|
+
*/
|
|
17909
|
+
meta: MetadataOutput;
|
|
17096
17910
|
}
|
|
17097
17911
|
/**
|
|
17098
17912
|
*
|
|
@@ -38644,7 +39458,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38644
39458
|
*/
|
|
38645
39459
|
async shopListingControllerImportListings(
|
|
38646
39460
|
options?: RawAxiosRequestConfig,
|
|
38647
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39461
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38648
39462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38649
39463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38650
39464
|
const localVarOperationServerBasePath =
|
|
@@ -38767,7 +39581,7 @@ export const ShopListingApiFactory = function (
|
|
|
38767
39581
|
* @param {*} [options] Override http request option.
|
|
38768
39582
|
* @throws {RequiredError}
|
|
38769
39583
|
*/
|
|
38770
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39584
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38771
39585
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38772
39586
|
},
|
|
38773
39587
|
/**
|
|
@@ -39047,17 +39861,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39047
39861
|
};
|
|
39048
39862
|
},
|
|
39049
39863
|
/**
|
|
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
|
|
39864
|
+
* 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`
|
|
39865
|
+
* @summary Search orders
|
|
39866
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
39867
|
+
* @param {*} [options] Override http request option.
|
|
39868
|
+
* @throws {RequiredError}
|
|
39869
|
+
*/
|
|
39870
|
+
shopOrderControllerSearch: async (
|
|
39871
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
39872
|
+
options: RawAxiosRequestConfig = {},
|
|
39873
|
+
): Promise<RequestArgs> => {
|
|
39874
|
+
const localVarPath = `/shop/order/search`;
|
|
39875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39877
|
+
let baseOptions;
|
|
39878
|
+
if (configuration) {
|
|
39879
|
+
baseOptions = configuration.baseOptions;
|
|
39880
|
+
}
|
|
39881
|
+
|
|
39882
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
39883
|
+
const localVarHeaderParameter = {} as any;
|
|
39884
|
+
const localVarQueryParameter = {} as any;
|
|
39885
|
+
|
|
39886
|
+
// authentication domainAuth required
|
|
39887
|
+
|
|
39888
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39889
|
+
|
|
39890
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39891
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39892
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
39893
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39894
|
+
shopOrderSearchInputDTO,
|
|
39895
|
+
localVarRequestOptions,
|
|
39896
|
+
configuration,
|
|
39897
|
+
);
|
|
39898
|
+
|
|
39899
|
+
return {
|
|
39900
|
+
url: toPathString(localVarUrlObj),
|
|
39901
|
+
options: localVarRequestOptions,
|
|
39902
|
+
};
|
|
39903
|
+
},
|
|
39904
|
+
};
|
|
39905
|
+
};
|
|
39906
|
+
|
|
39907
|
+
/**
|
|
39908
|
+
* ShopOrderApi - functional programming interface
|
|
39909
|
+
* @export
|
|
39910
|
+
*/
|
|
39911
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
39912
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
39913
|
+
return {
|
|
39914
|
+
/**
|
|
39915
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
39916
|
+
* @summary Cancel
|
|
39917
|
+
* @param {string} id
|
|
39918
|
+
* @param {*} [options] Override http request option.
|
|
39919
|
+
* @throws {RequiredError}
|
|
39920
|
+
*/
|
|
39921
|
+
async shopOrderControllerCancel(
|
|
39922
|
+
id: string,
|
|
39923
|
+
options?: RawAxiosRequestConfig,
|
|
39924
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
39926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39927
|
+
const localVarOperationServerBasePath =
|
|
39928
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
39929
|
+
return (axios, basePath) =>
|
|
39930
|
+
createRequestFunction(
|
|
39931
|
+
localVarAxiosArgs,
|
|
39932
|
+
globalAxios,
|
|
39933
|
+
BASE_PATH,
|
|
39934
|
+
configuration,
|
|
39935
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39936
|
+
},
|
|
39937
|
+
/**
|
|
39938
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39939
|
+
* @summary Claim an order
|
|
39940
|
+
* @param {string} id
|
|
39941
|
+
* @param {*} [options] Override http request option.
|
|
39942
|
+
* @throws {RequiredError}
|
|
39943
|
+
*/
|
|
39944
|
+
async shopOrderControllerClaim(
|
|
39945
|
+
id: string,
|
|
39946
|
+
options?: RawAxiosRequestConfig,
|
|
39947
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
39949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39950
|
+
const localVarOperationServerBasePath =
|
|
39951
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
39952
|
+
return (axios, basePath) =>
|
|
39953
|
+
createRequestFunction(
|
|
39954
|
+
localVarAxiosArgs,
|
|
39955
|
+
globalAxios,
|
|
39956
|
+
BASE_PATH,
|
|
39957
|
+
configuration,
|
|
39958
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39959
|
+
},
|
|
39960
|
+
/**
|
|
39961
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
39962
|
+
* @summary Create
|
|
39963
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
39964
|
+
* @param {*} [options] Override http request option.
|
|
39965
|
+
* @throws {RequiredError}
|
|
39966
|
+
*/
|
|
39967
|
+
async shopOrderControllerCreate(
|
|
39968
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
39969
|
+
options?: RawAxiosRequestConfig,
|
|
39970
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
39972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39973
|
+
const localVarOperationServerBasePath =
|
|
39974
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
39975
|
+
return (axios, basePath) =>
|
|
39976
|
+
createRequestFunction(
|
|
39977
|
+
localVarAxiosArgs,
|
|
39978
|
+
globalAxios,
|
|
39979
|
+
BASE_PATH,
|
|
39980
|
+
configuration,
|
|
39981
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39982
|
+
},
|
|
39983
|
+
/**
|
|
39984
|
+
* 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`
|
|
39985
|
+
* @summary Get order by ID
|
|
39986
|
+
* @param {string} id
|
|
39987
|
+
* @param {*} [options] Override http request option.
|
|
39988
|
+
* @throws {RequiredError}
|
|
39989
|
+
*/
|
|
39990
|
+
async shopOrderControllerGetOne(
|
|
39991
|
+
id: string,
|
|
39992
|
+
options?: RawAxiosRequestConfig,
|
|
39993
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
39995
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39996
|
+
const localVarOperationServerBasePath =
|
|
39997
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
39998
|
+
return (axios, basePath) =>
|
|
39999
|
+
createRequestFunction(
|
|
40000
|
+
localVarAxiosArgs,
|
|
40001
|
+
globalAxios,
|
|
40002
|
+
BASE_PATH,
|
|
40003
|
+
configuration,
|
|
40004
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40005
|
+
},
|
|
40006
|
+
/**
|
|
40007
|
+
* 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`
|
|
40008
|
+
* @summary Search orders
|
|
40009
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40010
|
+
* @param {*} [options] Override http request option.
|
|
40011
|
+
* @throws {RequiredError}
|
|
40012
|
+
*/
|
|
40013
|
+
async shopOrderControllerSearch(
|
|
40014
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40015
|
+
options?: RawAxiosRequestConfig,
|
|
40016
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
40017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
40018
|
+
shopOrderSearchInputDTO,
|
|
40019
|
+
options,
|
|
40020
|
+
);
|
|
40021
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40022
|
+
const localVarOperationServerBasePath =
|
|
40023
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
40024
|
+
return (axios, basePath) =>
|
|
40025
|
+
createRequestFunction(
|
|
40026
|
+
localVarAxiosArgs,
|
|
40027
|
+
globalAxios,
|
|
40028
|
+
BASE_PATH,
|
|
40029
|
+
configuration,
|
|
40030
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40031
|
+
},
|
|
40032
|
+
};
|
|
40033
|
+
};
|
|
40034
|
+
|
|
40035
|
+
/**
|
|
40036
|
+
* ShopOrderApi - factory interface
|
|
40037
|
+
* @export
|
|
40038
|
+
*/
|
|
40039
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40040
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
40041
|
+
return {
|
|
40042
|
+
/**
|
|
40043
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40044
|
+
* @summary Cancel
|
|
40045
|
+
* @param {string} id
|
|
40046
|
+
* @param {*} [options] Override http request option.
|
|
40047
|
+
* @throws {RequiredError}
|
|
40048
|
+
*/
|
|
40049
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40050
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
40051
|
+
},
|
|
40052
|
+
/**
|
|
40053
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40054
|
+
* @summary Claim an order
|
|
40055
|
+
* @param {string} id
|
|
40056
|
+
* @param {*} [options] Override http request option.
|
|
40057
|
+
* @throws {RequiredError}
|
|
40058
|
+
*/
|
|
40059
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40060
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
40061
|
+
},
|
|
40062
|
+
/**
|
|
40063
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40064
|
+
* @summary Create
|
|
40065
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40066
|
+
* @param {*} [options] Override http request option.
|
|
40067
|
+
* @throws {RequiredError}
|
|
40068
|
+
*/
|
|
40069
|
+
shopOrderControllerCreate(
|
|
40070
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40071
|
+
options?: RawAxiosRequestConfig,
|
|
40072
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40073
|
+
return localVarFp
|
|
40074
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40075
|
+
.then((request) => request(axios, basePath));
|
|
40076
|
+
},
|
|
40077
|
+
/**
|
|
40078
|
+
* 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`
|
|
40079
|
+
* @summary Get order by ID
|
|
40080
|
+
* @param {string} id
|
|
40081
|
+
* @param {*} [options] Override http request option.
|
|
40082
|
+
* @throws {RequiredError}
|
|
40083
|
+
*/
|
|
40084
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40085
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
40086
|
+
},
|
|
40087
|
+
/**
|
|
40088
|
+
* 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`
|
|
40089
|
+
* @summary Search orders
|
|
40090
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40091
|
+
* @param {*} [options] Override http request option.
|
|
40092
|
+
* @throws {RequiredError}
|
|
40093
|
+
*/
|
|
40094
|
+
shopOrderControllerSearch(
|
|
40095
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40096
|
+
options?: RawAxiosRequestConfig,
|
|
40097
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
40098
|
+
return localVarFp
|
|
40099
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40100
|
+
.then((request) => request(axios, basePath));
|
|
40101
|
+
},
|
|
40102
|
+
};
|
|
40103
|
+
};
|
|
40104
|
+
|
|
40105
|
+
/**
|
|
40106
|
+
* ShopOrderApi - object-oriented interface
|
|
40107
|
+
* @export
|
|
40108
|
+
* @class ShopOrderApi
|
|
40109
|
+
* @extends {BaseAPI}
|
|
40110
|
+
*/
|
|
40111
|
+
export class ShopOrderApi extends BaseAPI {
|
|
40112
|
+
/**
|
|
40113
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40114
|
+
* @summary Cancel
|
|
40115
|
+
* @param {string} id
|
|
40116
|
+
* @param {*} [options] Override http request option.
|
|
40117
|
+
* @throws {RequiredError}
|
|
40118
|
+
* @memberof ShopOrderApi
|
|
40119
|
+
*/
|
|
40120
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
40121
|
+
return ShopOrderApiFp(this.configuration)
|
|
40122
|
+
.shopOrderControllerCancel(id, options)
|
|
40123
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40124
|
+
}
|
|
40125
|
+
|
|
40126
|
+
/**
|
|
40127
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40128
|
+
* @summary Claim an order
|
|
40129
|
+
* @param {string} id
|
|
40130
|
+
* @param {*} [options] Override http request option.
|
|
40131
|
+
* @throws {RequiredError}
|
|
40132
|
+
* @memberof ShopOrderApi
|
|
40133
|
+
*/
|
|
40134
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
40135
|
+
return ShopOrderApiFp(this.configuration)
|
|
40136
|
+
.shopOrderControllerClaim(id, options)
|
|
40137
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40138
|
+
}
|
|
40139
|
+
|
|
40140
|
+
/**
|
|
40141
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40142
|
+
* @summary Create
|
|
40143
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40144
|
+
* @param {*} [options] Override http request option.
|
|
40145
|
+
* @throws {RequiredError}
|
|
40146
|
+
* @memberof ShopOrderApi
|
|
40147
|
+
*/
|
|
40148
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
40149
|
+
return ShopOrderApiFp(this.configuration)
|
|
40150
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40151
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40152
|
+
}
|
|
40153
|
+
|
|
40154
|
+
/**
|
|
40155
|
+
* 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`
|
|
40156
|
+
* @summary Get order by ID
|
|
40157
|
+
* @param {string} id
|
|
40158
|
+
* @param {*} [options] Override http request option.
|
|
40159
|
+
* @throws {RequiredError}
|
|
40160
|
+
* @memberof ShopOrderApi
|
|
40161
|
+
*/
|
|
40162
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
40163
|
+
return ShopOrderApiFp(this.configuration)
|
|
40164
|
+
.shopOrderControllerGetOne(id, options)
|
|
40165
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40166
|
+
}
|
|
40167
|
+
|
|
40168
|
+
/**
|
|
40169
|
+
* 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`
|
|
40170
|
+
* @summary Search orders
|
|
40171
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40172
|
+
* @param {*} [options] Override http request option.
|
|
40173
|
+
* @throws {RequiredError}
|
|
40174
|
+
* @memberof ShopOrderApi
|
|
40175
|
+
*/
|
|
40176
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
40177
|
+
return ShopOrderApiFp(this.configuration)
|
|
40178
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40179
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40180
|
+
}
|
|
40181
|
+
}
|
|
40182
|
+
|
|
40183
|
+
/**
|
|
40184
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40185
|
+
* @export
|
|
40186
|
+
*/
|
|
40187
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40188
|
+
return {
|
|
40189
|
+
/**
|
|
40190
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40191
|
+
* @summary Get effective config
|
|
40192
|
+
* @param {string} gameServerId
|
|
40193
|
+
* @param {*} [options] Override http request option.
|
|
40194
|
+
* @throws {RequiredError}
|
|
40195
|
+
*/
|
|
40196
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40197
|
+
gameServerId: string,
|
|
40198
|
+
options: RawAxiosRequestConfig = {},
|
|
40199
|
+
): Promise<RequestArgs> => {
|
|
40200
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40201
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40202
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40203
|
+
`{${'gameServerId'}}`,
|
|
40204
|
+
encodeURIComponent(String(gameServerId)),
|
|
40205
|
+
);
|
|
40206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40208
|
+
let baseOptions;
|
|
40209
|
+
if (configuration) {
|
|
40210
|
+
baseOptions = configuration.baseOptions;
|
|
40211
|
+
}
|
|
40212
|
+
|
|
40213
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40214
|
+
const localVarHeaderParameter = {} as any;
|
|
40215
|
+
const localVarQueryParameter = {} as any;
|
|
40216
|
+
|
|
40217
|
+
// authentication domainAuth required
|
|
40218
|
+
|
|
40219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40221
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40222
|
+
|
|
40223
|
+
return {
|
|
40224
|
+
url: toPathString(localVarUrlObj),
|
|
40225
|
+
options: localVarRequestOptions,
|
|
40226
|
+
};
|
|
40227
|
+
},
|
|
40228
|
+
/**
|
|
40229
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40230
|
+
* @summary List templates
|
|
40231
|
+
* @param {*} [options] Override http request option.
|
|
40232
|
+
* @throws {RequiredError}
|
|
40233
|
+
*/
|
|
40234
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40235
|
+
const localVarPath = `/storefront/templates`;
|
|
40236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40237
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40238
|
+
let baseOptions;
|
|
40239
|
+
if (configuration) {
|
|
40240
|
+
baseOptions = configuration.baseOptions;
|
|
40241
|
+
}
|
|
40242
|
+
|
|
40243
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40244
|
+
const localVarHeaderParameter = {} as any;
|
|
40245
|
+
const localVarQueryParameter = {} as any;
|
|
40246
|
+
|
|
40247
|
+
// authentication domainAuth required
|
|
40248
|
+
|
|
40249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40251
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40252
|
+
|
|
40253
|
+
return {
|
|
40254
|
+
url: toPathString(localVarUrlObj),
|
|
40255
|
+
options: localVarRequestOptions,
|
|
40256
|
+
};
|
|
40257
|
+
},
|
|
40258
|
+
/**
|
|
40259
|
+
* 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`
|
|
40260
|
+
* @summary Set config
|
|
40261
|
+
* @param {string} gameServerId
|
|
40262
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39053
40263
|
* @param {*} [options] Override http request option.
|
|
39054
40264
|
* @throws {RequiredError}
|
|
39055
40265
|
*/
|
|
39056
|
-
|
|
39057
|
-
|
|
40266
|
+
storefrontConfigControllerSetConfig: async (
|
|
40267
|
+
gameServerId: string,
|
|
40268
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39058
40269
|
options: RawAxiosRequestConfig = {},
|
|
39059
40270
|
): Promise<RequestArgs> => {
|
|
39060
|
-
|
|
40271
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40272
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40273
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40274
|
+
`{${'gameServerId'}}`,
|
|
40275
|
+
encodeURIComponent(String(gameServerId)),
|
|
40276
|
+
);
|
|
39061
40277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39062
40278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39063
40279
|
let baseOptions;
|
|
@@ -39065,7 +40281,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39065
40281
|
baseOptions = configuration.baseOptions;
|
|
39066
40282
|
}
|
|
39067
40283
|
|
|
39068
|
-
const localVarRequestOptions = { method: '
|
|
40284
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
39069
40285
|
const localVarHeaderParameter = {} as any;
|
|
39070
40286
|
const localVarQueryParameter = {} as any;
|
|
39071
40287
|
|
|
@@ -39077,7 +40293,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39077
40293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39078
40294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
39079
40295
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39080
|
-
|
|
40296
|
+
storefrontConfigUpsertBody,
|
|
39081
40297
|
localVarRequestOptions,
|
|
39082
40298
|
configuration,
|
|
39083
40299
|
);
|
|
@@ -39091,73 +40307,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
39091
40307
|
};
|
|
39092
40308
|
|
|
39093
40309
|
/**
|
|
39094
|
-
*
|
|
40310
|
+
* StorefrontConfigApi - functional programming interface
|
|
39095
40311
|
* @export
|
|
39096
40312
|
*/
|
|
39097
|
-
export const
|
|
39098
|
-
const localVarAxiosParamCreator =
|
|
40313
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40314
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
39099
40315
|
return {
|
|
39100
40316
|
/**
|
|
39101
|
-
*
|
|
39102
|
-
* @summary
|
|
39103
|
-
* @param {string}
|
|
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
|
|
40317
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40318
|
+
* @summary Get effective config
|
|
40319
|
+
* @param {string} gameServerId
|
|
39150
40320
|
* @param {*} [options] Override http request option.
|
|
39151
40321
|
* @throws {RequiredError}
|
|
39152
40322
|
*/
|
|
39153
|
-
async
|
|
39154
|
-
|
|
40323
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40324
|
+
gameServerId: string,
|
|
39155
40325
|
options?: RawAxiosRequestConfig,
|
|
39156
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39157
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40326
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40328
|
+
gameServerId,
|
|
40329
|
+
options,
|
|
40330
|
+
);
|
|
39158
40331
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39159
40332
|
const localVarOperationServerBasePath =
|
|
39160
|
-
operationServerMap['
|
|
40333
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40334
|
+
localVarOperationServerIndex
|
|
40335
|
+
]?.url;
|
|
39161
40336
|
return (axios, basePath) =>
|
|
39162
40337
|
createRequestFunction(
|
|
39163
40338
|
localVarAxiosArgs,
|
|
@@ -39167,20 +40342,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39167
40342
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39168
40343
|
},
|
|
39169
40344
|
/**
|
|
39170
|
-
*
|
|
39171
|
-
* @summary
|
|
39172
|
-
* @param {string} id
|
|
40345
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40346
|
+
* @summary List templates
|
|
39173
40347
|
* @param {*} [options] Override http request option.
|
|
39174
40348
|
* @throws {RequiredError}
|
|
39175
40349
|
*/
|
|
39176
|
-
async
|
|
39177
|
-
id: string,
|
|
40350
|
+
async storefrontConfigControllerListTemplates(
|
|
39178
40351
|
options?: RawAxiosRequestConfig,
|
|
39179
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39180
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40352
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
39181
40354
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39182
40355
|
const localVarOperationServerBasePath =
|
|
39183
|
-
operationServerMap['
|
|
40356
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40357
|
+
localVarOperationServerIndex
|
|
40358
|
+
]?.url;
|
|
39184
40359
|
return (axios, basePath) =>
|
|
39185
40360
|
createRequestFunction(
|
|
39186
40361
|
localVarAxiosArgs,
|
|
@@ -39190,23 +40365,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39190
40365
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39191
40366
|
},
|
|
39192
40367
|
/**
|
|
39193
|
-
*
|
|
39194
|
-
* @summary
|
|
39195
|
-
* @param {
|
|
40368
|
+
* 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`
|
|
40369
|
+
* @summary Set config
|
|
40370
|
+
* @param {string} gameServerId
|
|
40371
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39196
40372
|
* @param {*} [options] Override http request option.
|
|
39197
40373
|
* @throws {RequiredError}
|
|
39198
40374
|
*/
|
|
39199
|
-
async
|
|
39200
|
-
|
|
40375
|
+
async storefrontConfigControllerSetConfig(
|
|
40376
|
+
gameServerId: string,
|
|
40377
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39201
40378
|
options?: RawAxiosRequestConfig,
|
|
39202
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39203
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
39204
|
-
|
|
40379
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40381
|
+
gameServerId,
|
|
40382
|
+
storefrontConfigUpsertBody,
|
|
39205
40383
|
options,
|
|
39206
40384
|
);
|
|
39207
40385
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39208
40386
|
const localVarOperationServerBasePath =
|
|
39209
|
-
operationServerMap['
|
|
40387
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40388
|
+
?.url;
|
|
39210
40389
|
return (axios, basePath) =>
|
|
39211
40390
|
createRequestFunction(
|
|
39212
40391
|
localVarAxiosArgs,
|
|
@@ -39219,149 +40398,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
39219
40398
|
};
|
|
39220
40399
|
|
|
39221
40400
|
/**
|
|
39222
|
-
*
|
|
40401
|
+
* StorefrontConfigApi - factory interface
|
|
39223
40402
|
* @export
|
|
39224
40403
|
*/
|
|
39225
|
-
export const
|
|
39226
|
-
|
|
40404
|
+
export const StorefrontConfigApiFactory = function (
|
|
40405
|
+
configuration?: Configuration,
|
|
40406
|
+
basePath?: string,
|
|
40407
|
+
axios?: AxiosInstance,
|
|
40408
|
+
) {
|
|
40409
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
39227
40410
|
return {
|
|
39228
40411
|
/**
|
|
39229
|
-
*
|
|
39230
|
-
* @summary
|
|
39231
|
-
* @param {string}
|
|
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
|
|
40412
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40413
|
+
* @summary Get effective config
|
|
40414
|
+
* @param {string} gameServerId
|
|
39252
40415
|
* @param {*} [options] Override http request option.
|
|
39253
40416
|
* @throws {RequiredError}
|
|
39254
40417
|
*/
|
|
39255
|
-
|
|
39256
|
-
|
|
40418
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40419
|
+
gameServerId: string,
|
|
39257
40420
|
options?: RawAxiosRequestConfig,
|
|
39258
|
-
): AxiosPromise<
|
|
40421
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
39259
40422
|
return localVarFp
|
|
39260
|
-
.
|
|
40423
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
39261
40424
|
.then((request) => request(axios, basePath));
|
|
39262
40425
|
},
|
|
39263
40426
|
/**
|
|
39264
|
-
*
|
|
39265
|
-
* @summary
|
|
39266
|
-
* @param {string} id
|
|
40427
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40428
|
+
* @summary List templates
|
|
39267
40429
|
* @param {*} [options] Override http request option.
|
|
39268
40430
|
* @throws {RequiredError}
|
|
39269
40431
|
*/
|
|
39270
|
-
|
|
39271
|
-
|
|
40432
|
+
storefrontConfigControllerListTemplates(
|
|
40433
|
+
options?: RawAxiosRequestConfig,
|
|
40434
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40435
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
39272
40436
|
},
|
|
39273
40437
|
/**
|
|
39274
|
-
*
|
|
39275
|
-
* @summary
|
|
39276
|
-
* @param {
|
|
40438
|
+
* 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`
|
|
40439
|
+
* @summary Set config
|
|
40440
|
+
* @param {string} gameServerId
|
|
40441
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39277
40442
|
* @param {*} [options] Override http request option.
|
|
39278
40443
|
* @throws {RequiredError}
|
|
39279
40444
|
*/
|
|
39280
|
-
|
|
39281
|
-
|
|
40445
|
+
storefrontConfigControllerSetConfig(
|
|
40446
|
+
gameServerId: string,
|
|
40447
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
39282
40448
|
options?: RawAxiosRequestConfig,
|
|
39283
|
-
): AxiosPromise<
|
|
40449
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
39284
40450
|
return localVarFp
|
|
39285
|
-
.
|
|
40451
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
39286
40452
|
.then((request) => request(axios, basePath));
|
|
39287
40453
|
},
|
|
39288
40454
|
};
|
|
39289
40455
|
};
|
|
39290
40456
|
|
|
39291
40457
|
/**
|
|
39292
|
-
*
|
|
40458
|
+
* StorefrontConfigApi - object-oriented interface
|
|
39293
40459
|
* @export
|
|
39294
|
-
* @class
|
|
40460
|
+
* @class StorefrontConfigApi
|
|
39295
40461
|
* @extends {BaseAPI}
|
|
39296
40462
|
*/
|
|
39297
|
-
export class
|
|
40463
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
39298
40464
|
/**
|
|
39299
|
-
*
|
|
39300
|
-
* @summary
|
|
39301
|
-
* @param {string}
|
|
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
|
|
40465
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40466
|
+
* @summary Get effective config
|
|
40467
|
+
* @param {string} gameServerId
|
|
39330
40468
|
* @param {*} [options] Override http request option.
|
|
39331
40469
|
* @throws {RequiredError}
|
|
39332
|
-
* @memberof
|
|
40470
|
+
* @memberof StorefrontConfigApi
|
|
39333
40471
|
*/
|
|
39334
|
-
public
|
|
39335
|
-
return
|
|
39336
|
-
.
|
|
40472
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40473
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40474
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
39337
40475
|
.then((request) => request(this.axios, this.basePath));
|
|
39338
40476
|
}
|
|
39339
40477
|
|
|
39340
40478
|
/**
|
|
39341
|
-
*
|
|
39342
|
-
* @summary
|
|
39343
|
-
* @param {string} id
|
|
40479
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40480
|
+
* @summary List templates
|
|
39344
40481
|
* @param {*} [options] Override http request option.
|
|
39345
40482
|
* @throws {RequiredError}
|
|
39346
|
-
* @memberof
|
|
40483
|
+
* @memberof StorefrontConfigApi
|
|
39347
40484
|
*/
|
|
39348
|
-
public
|
|
39349
|
-
return
|
|
39350
|
-
.
|
|
40485
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40486
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40487
|
+
.storefrontConfigControllerListTemplates(options)
|
|
39351
40488
|
.then((request) => request(this.axios, this.basePath));
|
|
39352
40489
|
}
|
|
39353
40490
|
|
|
39354
40491
|
/**
|
|
39355
|
-
*
|
|
39356
|
-
* @summary
|
|
39357
|
-
* @param {
|
|
40492
|
+
* 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`
|
|
40493
|
+
* @summary Set config
|
|
40494
|
+
* @param {string} gameServerId
|
|
40495
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
39358
40496
|
* @param {*} [options] Override http request option.
|
|
39359
40497
|
* @throws {RequiredError}
|
|
39360
|
-
* @memberof
|
|
40498
|
+
* @memberof StorefrontConfigApi
|
|
39361
40499
|
*/
|
|
39362
|
-
public
|
|
39363
|
-
|
|
39364
|
-
|
|
40500
|
+
public storefrontConfigControllerSetConfig(
|
|
40501
|
+
gameServerId: string,
|
|
40502
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40503
|
+
options?: RawAxiosRequestConfig,
|
|
40504
|
+
) {
|
|
40505
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40506
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
39365
40507
|
.then((request) => request(this.axios, this.basePath));
|
|
39366
40508
|
}
|
|
39367
40509
|
}
|
|
@@ -39949,6 +41091,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39949
41091
|
options: localVarRequestOptions,
|
|
39950
41092
|
};
|
|
39951
41093
|
},
|
|
41094
|
+
/**
|
|
41095
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41096
|
+
* @summary Count billable dashboard users
|
|
41097
|
+
* @param {*} [options] Override http request option.
|
|
41098
|
+
* @throws {RequiredError}
|
|
41099
|
+
*/
|
|
41100
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41101
|
+
const localVarPath = `/user/count`;
|
|
41102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41103
|
+
let baseOptions;
|
|
41104
|
+
if (configuration) {
|
|
41105
|
+
baseOptions = configuration.baseOptions;
|
|
41106
|
+
}
|
|
41107
|
+
|
|
41108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41109
|
+
const localVarHeaderParameter = {} as any;
|
|
41110
|
+
const localVarQueryParameter = {} as any;
|
|
41111
|
+
|
|
41112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41113
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41114
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41115
|
+
|
|
41116
|
+
return {
|
|
41117
|
+
url: toPathString(localVarUrlObj),
|
|
41118
|
+
options: localVarRequestOptions,
|
|
41119
|
+
};
|
|
41120
|
+
},
|
|
39952
41121
|
/**
|
|
39953
41122
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39954
41123
|
* @summary Create
|
|
@@ -40455,6 +41624,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
40455
41624
|
configuration,
|
|
40456
41625
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
40457
41626
|
},
|
|
41627
|
+
/**
|
|
41628
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41629
|
+
* @summary Count billable dashboard users
|
|
41630
|
+
* @param {*} [options] Override http request option.
|
|
41631
|
+
* @throws {RequiredError}
|
|
41632
|
+
*/
|
|
41633
|
+
async userControllerCountBillableDashboardUsers(
|
|
41634
|
+
options?: RawAxiosRequestConfig,
|
|
41635
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
41636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
41637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41638
|
+
const localVarOperationServerBasePath =
|
|
41639
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
41640
|
+
return (axios, basePath) =>
|
|
41641
|
+
createRequestFunction(
|
|
41642
|
+
localVarAxiosArgs,
|
|
41643
|
+
globalAxios,
|
|
41644
|
+
BASE_PATH,
|
|
41645
|
+
configuration,
|
|
41646
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41647
|
+
},
|
|
40458
41648
|
/**
|
|
40459
41649
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40460
41650
|
* @summary Create
|
|
@@ -40784,6 +41974,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40784
41974
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40785
41975
|
.then((request) => request(axios, basePath));
|
|
40786
41976
|
},
|
|
41977
|
+
/**
|
|
41978
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41979
|
+
* @summary Count billable dashboard users
|
|
41980
|
+
* @param {*} [options] Override http request option.
|
|
41981
|
+
* @throws {RequiredError}
|
|
41982
|
+
*/
|
|
41983
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
41984
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
41985
|
+
},
|
|
40787
41986
|
/**
|
|
40788
41987
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40789
41988
|
* @summary Create
|
|
@@ -40962,6 +42161,19 @@ export class UserApi extends BaseAPI {
|
|
|
40962
42161
|
.then((request) => request(this.axios, this.basePath));
|
|
40963
42162
|
}
|
|
40964
42163
|
|
|
42164
|
+
/**
|
|
42165
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42166
|
+
* @summary Count billable dashboard users
|
|
42167
|
+
* @param {*} [options] Override http request option.
|
|
42168
|
+
* @throws {RequiredError}
|
|
42169
|
+
* @memberof UserApi
|
|
42170
|
+
*/
|
|
42171
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42172
|
+
return UserApiFp(this.configuration)
|
|
42173
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42174
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42175
|
+
}
|
|
42176
|
+
|
|
40965
42177
|
/**
|
|
40966
42178
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40967
42179
|
* @summary Create
|
|
@@ -41630,3 +42842,474 @@ export class VariableApi extends BaseAPI {
|
|
|
41630
42842
|
.then((request) => request(this.axios, this.basePath));
|
|
41631
42843
|
}
|
|
41632
42844
|
}
|
|
42845
|
+
|
|
42846
|
+
/**
|
|
42847
|
+
* InviteLinkApi - axios parameter creator
|
|
42848
|
+
* @export
|
|
42849
|
+
*/
|
|
42850
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42851
|
+
return {
|
|
42852
|
+
/**
|
|
42853
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42854
|
+
* @summary Create invite link
|
|
42855
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42856
|
+
* @param {*} [options] Override http request option.
|
|
42857
|
+
* @throws {RequiredError}
|
|
42858
|
+
*/
|
|
42859
|
+
inviteLinkControllerCreate: async (
|
|
42860
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42861
|
+
options: RawAxiosRequestConfig = {},
|
|
42862
|
+
): Promise<RequestArgs> => {
|
|
42863
|
+
const localVarPath = `/invite-link`;
|
|
42864
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42865
|
+
let baseOptions;
|
|
42866
|
+
if (configuration) {
|
|
42867
|
+
baseOptions = configuration.baseOptions;
|
|
42868
|
+
}
|
|
42869
|
+
|
|
42870
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42871
|
+
const localVarHeaderParameter = {} as any;
|
|
42872
|
+
const localVarQueryParameter = {} as any;
|
|
42873
|
+
|
|
42874
|
+
// authentication domainAuth required
|
|
42875
|
+
|
|
42876
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42877
|
+
|
|
42878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42880
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42881
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42882
|
+
inviteLinkCreateInputDTO,
|
|
42883
|
+
localVarRequestOptions,
|
|
42884
|
+
configuration,
|
|
42885
|
+
);
|
|
42886
|
+
|
|
42887
|
+
return {
|
|
42888
|
+
url: toPathString(localVarUrlObj),
|
|
42889
|
+
options: localVarRequestOptions,
|
|
42890
|
+
};
|
|
42891
|
+
},
|
|
42892
|
+
/**
|
|
42893
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42894
|
+
* @summary Preview
|
|
42895
|
+
* @param {string} token
|
|
42896
|
+
* @param {*} [options] Override http request option.
|
|
42897
|
+
* @throws {RequiredError}
|
|
42898
|
+
*/
|
|
42899
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42900
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42901
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42903
|
+
let baseOptions;
|
|
42904
|
+
if (configuration) {
|
|
42905
|
+
baseOptions = configuration.baseOptions;
|
|
42906
|
+
}
|
|
42907
|
+
|
|
42908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42909
|
+
const localVarHeaderParameter = {} as any;
|
|
42910
|
+
const localVarQueryParameter = {} as any;
|
|
42911
|
+
|
|
42912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42914
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42915
|
+
|
|
42916
|
+
return {
|
|
42917
|
+
url: toPathString(localVarUrlObj),
|
|
42918
|
+
options: localVarRequestOptions,
|
|
42919
|
+
};
|
|
42920
|
+
},
|
|
42921
|
+
/**
|
|
42922
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42923
|
+
* @summary Redeem
|
|
42924
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42925
|
+
* @param {*} [options] Override http request option.
|
|
42926
|
+
* @throws {RequiredError}
|
|
42927
|
+
*/
|
|
42928
|
+
inviteLinkControllerRedeem: async (
|
|
42929
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42930
|
+
options: RawAxiosRequestConfig = {},
|
|
42931
|
+
): Promise<RequestArgs> => {
|
|
42932
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42934
|
+
let baseOptions;
|
|
42935
|
+
if (configuration) {
|
|
42936
|
+
baseOptions = configuration.baseOptions;
|
|
42937
|
+
}
|
|
42938
|
+
|
|
42939
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42940
|
+
const localVarHeaderParameter = {} as any;
|
|
42941
|
+
const localVarQueryParameter = {} as any;
|
|
42942
|
+
|
|
42943
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42944
|
+
|
|
42945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42947
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42948
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42949
|
+
|
|
42950
|
+
return {
|
|
42951
|
+
url: toPathString(localVarUrlObj),
|
|
42952
|
+
options: localVarRequestOptions,
|
|
42953
|
+
};
|
|
42954
|
+
},
|
|
42955
|
+
/**
|
|
42956
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42957
|
+
* @summary Revoke
|
|
42958
|
+
* @param {string} id
|
|
42959
|
+
* @param {*} [options] Override http request option.
|
|
42960
|
+
* @throws {RequiredError}
|
|
42961
|
+
*/
|
|
42962
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42963
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42964
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42966
|
+
let baseOptions;
|
|
42967
|
+
if (configuration) {
|
|
42968
|
+
baseOptions = configuration.baseOptions;
|
|
42969
|
+
}
|
|
42970
|
+
|
|
42971
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42972
|
+
const localVarHeaderParameter = {} as any;
|
|
42973
|
+
const localVarQueryParameter = {} as any;
|
|
42974
|
+
|
|
42975
|
+
// authentication domainAuth required
|
|
42976
|
+
|
|
42977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42979
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42980
|
+
|
|
42981
|
+
return {
|
|
42982
|
+
url: toPathString(localVarUrlObj),
|
|
42983
|
+
options: localVarRequestOptions,
|
|
42984
|
+
};
|
|
42985
|
+
},
|
|
42986
|
+
/**
|
|
42987
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42988
|
+
* @summary Search
|
|
42989
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42990
|
+
* @param {*} [options] Override http request option.
|
|
42991
|
+
* @throws {RequiredError}
|
|
42992
|
+
*/
|
|
42993
|
+
inviteLinkControllerSearch: async (
|
|
42994
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42995
|
+
options: RawAxiosRequestConfig = {},
|
|
42996
|
+
): Promise<RequestArgs> => {
|
|
42997
|
+
const localVarPath = `/invite-link/search`;
|
|
42998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42999
|
+
let baseOptions;
|
|
43000
|
+
if (configuration) {
|
|
43001
|
+
baseOptions = configuration.baseOptions;
|
|
43002
|
+
}
|
|
43003
|
+
|
|
43004
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43005
|
+
const localVarHeaderParameter = {} as any;
|
|
43006
|
+
const localVarQueryParameter = {} as any;
|
|
43007
|
+
|
|
43008
|
+
// authentication domainAuth required
|
|
43009
|
+
|
|
43010
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43011
|
+
|
|
43012
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43014
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43015
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43016
|
+
inviteLinkSearchInputDTO,
|
|
43017
|
+
localVarRequestOptions,
|
|
43018
|
+
configuration,
|
|
43019
|
+
);
|
|
43020
|
+
|
|
43021
|
+
return {
|
|
43022
|
+
url: toPathString(localVarUrlObj),
|
|
43023
|
+
options: localVarRequestOptions,
|
|
43024
|
+
};
|
|
43025
|
+
},
|
|
43026
|
+
};
|
|
43027
|
+
};
|
|
43028
|
+
|
|
43029
|
+
/**
|
|
43030
|
+
* InviteLinkApi - functional programming interface
|
|
43031
|
+
* @export
|
|
43032
|
+
*/
|
|
43033
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
43034
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
43035
|
+
return {
|
|
43036
|
+
/**
|
|
43037
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43038
|
+
* @summary Create invite link
|
|
43039
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43040
|
+
* @param {*} [options] Override http request option.
|
|
43041
|
+
* @throws {RequiredError}
|
|
43042
|
+
*/
|
|
43043
|
+
async inviteLinkControllerCreate(
|
|
43044
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43045
|
+
options?: RawAxiosRequestConfig,
|
|
43046
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
43047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
43048
|
+
inviteLinkCreateInputDTO,
|
|
43049
|
+
options,
|
|
43050
|
+
);
|
|
43051
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43052
|
+
const localVarOperationServerBasePath =
|
|
43053
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
43054
|
+
return (axios, basePath) =>
|
|
43055
|
+
createRequestFunction(
|
|
43056
|
+
localVarAxiosArgs,
|
|
43057
|
+
globalAxios,
|
|
43058
|
+
BASE_PATH,
|
|
43059
|
+
configuration,
|
|
43060
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43061
|
+
},
|
|
43062
|
+
/**
|
|
43063
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43064
|
+
* @summary Preview
|
|
43065
|
+
* @param {string} token
|
|
43066
|
+
* @param {*} [options] Override http request option.
|
|
43067
|
+
* @throws {RequiredError}
|
|
43068
|
+
*/
|
|
43069
|
+
async inviteLinkControllerPreview(
|
|
43070
|
+
token: string,
|
|
43071
|
+
options?: RawAxiosRequestConfig,
|
|
43072
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
43073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
43074
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43075
|
+
const localVarOperationServerBasePath =
|
|
43076
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
43077
|
+
return (axios, basePath) =>
|
|
43078
|
+
createRequestFunction(
|
|
43079
|
+
localVarAxiosArgs,
|
|
43080
|
+
globalAxios,
|
|
43081
|
+
BASE_PATH,
|
|
43082
|
+
configuration,
|
|
43083
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43084
|
+
},
|
|
43085
|
+
/**
|
|
43086
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43087
|
+
* @summary Redeem
|
|
43088
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43089
|
+
* @param {*} [options] Override http request option.
|
|
43090
|
+
* @throws {RequiredError}
|
|
43091
|
+
*/
|
|
43092
|
+
async inviteLinkControllerRedeem(
|
|
43093
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43094
|
+
options?: RawAxiosRequestConfig,
|
|
43095
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
43096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
43097
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43098
|
+
const localVarOperationServerBasePath =
|
|
43099
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
43100
|
+
return (axios, basePath) =>
|
|
43101
|
+
createRequestFunction(
|
|
43102
|
+
localVarAxiosArgs,
|
|
43103
|
+
globalAxios,
|
|
43104
|
+
BASE_PATH,
|
|
43105
|
+
configuration,
|
|
43106
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43107
|
+
},
|
|
43108
|
+
/**
|
|
43109
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43110
|
+
* @summary Revoke
|
|
43111
|
+
* @param {string} id
|
|
43112
|
+
* @param {*} [options] Override http request option.
|
|
43113
|
+
* @throws {RequiredError}
|
|
43114
|
+
*/
|
|
43115
|
+
async inviteLinkControllerRevoke(
|
|
43116
|
+
id: string,
|
|
43117
|
+
options?: RawAxiosRequestConfig,
|
|
43118
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43120
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43121
|
+
const localVarOperationServerBasePath =
|
|
43122
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43123
|
+
return (axios, basePath) =>
|
|
43124
|
+
createRequestFunction(
|
|
43125
|
+
localVarAxiosArgs,
|
|
43126
|
+
globalAxios,
|
|
43127
|
+
BASE_PATH,
|
|
43128
|
+
configuration,
|
|
43129
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43130
|
+
},
|
|
43131
|
+
/**
|
|
43132
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43133
|
+
* @summary Search
|
|
43134
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43135
|
+
* @param {*} [options] Override http request option.
|
|
43136
|
+
* @throws {RequiredError}
|
|
43137
|
+
*/
|
|
43138
|
+
async inviteLinkControllerSearch(
|
|
43139
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43140
|
+
options?: RawAxiosRequestConfig,
|
|
43141
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43143
|
+
inviteLinkSearchInputDTO,
|
|
43144
|
+
options,
|
|
43145
|
+
);
|
|
43146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43147
|
+
const localVarOperationServerBasePath =
|
|
43148
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43149
|
+
return (axios, basePath) =>
|
|
43150
|
+
createRequestFunction(
|
|
43151
|
+
localVarAxiosArgs,
|
|
43152
|
+
globalAxios,
|
|
43153
|
+
BASE_PATH,
|
|
43154
|
+
configuration,
|
|
43155
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43156
|
+
},
|
|
43157
|
+
};
|
|
43158
|
+
};
|
|
43159
|
+
|
|
43160
|
+
/**
|
|
43161
|
+
* InviteLinkApi - factory interface
|
|
43162
|
+
* @export
|
|
43163
|
+
*/
|
|
43164
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43165
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
43166
|
+
return {
|
|
43167
|
+
/**
|
|
43168
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43169
|
+
* @summary Create invite link
|
|
43170
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43171
|
+
* @param {*} [options] Override http request option.
|
|
43172
|
+
* @throws {RequiredError}
|
|
43173
|
+
*/
|
|
43174
|
+
inviteLinkControllerCreate(
|
|
43175
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43176
|
+
options?: RawAxiosRequestConfig,
|
|
43177
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43178
|
+
return localVarFp
|
|
43179
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43180
|
+
.then((request) => request(axios, basePath));
|
|
43181
|
+
},
|
|
43182
|
+
/**
|
|
43183
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43184
|
+
* @summary Preview
|
|
43185
|
+
* @param {string} token
|
|
43186
|
+
* @param {*} [options] Override http request option.
|
|
43187
|
+
* @throws {RequiredError}
|
|
43188
|
+
*/
|
|
43189
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43190
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43191
|
+
},
|
|
43192
|
+
/**
|
|
43193
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43194
|
+
* @summary Redeem
|
|
43195
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43196
|
+
* @param {*} [options] Override http request option.
|
|
43197
|
+
* @throws {RequiredError}
|
|
43198
|
+
*/
|
|
43199
|
+
inviteLinkControllerRedeem(
|
|
43200
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43201
|
+
options?: RawAxiosRequestConfig,
|
|
43202
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43203
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43204
|
+
},
|
|
43205
|
+
/**
|
|
43206
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43207
|
+
* @summary Revoke
|
|
43208
|
+
* @param {string} id
|
|
43209
|
+
* @param {*} [options] Override http request option.
|
|
43210
|
+
* @throws {RequiredError}
|
|
43211
|
+
*/
|
|
43212
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43213
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43214
|
+
},
|
|
43215
|
+
/**
|
|
43216
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43217
|
+
* @summary Search
|
|
43218
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43219
|
+
* @param {*} [options] Override http request option.
|
|
43220
|
+
* @throws {RequiredError}
|
|
43221
|
+
*/
|
|
43222
|
+
inviteLinkControllerSearch(
|
|
43223
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43224
|
+
options?: RawAxiosRequestConfig,
|
|
43225
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43226
|
+
return localVarFp
|
|
43227
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43228
|
+
.then((request) => request(axios, basePath));
|
|
43229
|
+
},
|
|
43230
|
+
};
|
|
43231
|
+
};
|
|
43232
|
+
|
|
43233
|
+
/**
|
|
43234
|
+
* InviteLinkApi - object-oriented interface
|
|
43235
|
+
* @export
|
|
43236
|
+
* @class InviteLinkApi
|
|
43237
|
+
* @extends {BaseAPI}
|
|
43238
|
+
*/
|
|
43239
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43240
|
+
/**
|
|
43241
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43242
|
+
* @summary Create invite link
|
|
43243
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43244
|
+
* @param {*} [options] Override http request option.
|
|
43245
|
+
* @throws {RequiredError}
|
|
43246
|
+
* @memberof InviteLinkApi
|
|
43247
|
+
*/
|
|
43248
|
+
public inviteLinkControllerCreate(
|
|
43249
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43250
|
+
options?: RawAxiosRequestConfig,
|
|
43251
|
+
) {
|
|
43252
|
+
return InviteLinkApiFp(this.configuration)
|
|
43253
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43254
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43255
|
+
}
|
|
43256
|
+
|
|
43257
|
+
/**
|
|
43258
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43259
|
+
* @summary Preview
|
|
43260
|
+
* @param {string} token
|
|
43261
|
+
* @param {*} [options] Override http request option.
|
|
43262
|
+
* @throws {RequiredError}
|
|
43263
|
+
* @memberof InviteLinkApi
|
|
43264
|
+
*/
|
|
43265
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43266
|
+
return InviteLinkApiFp(this.configuration)
|
|
43267
|
+
.inviteLinkControllerPreview(token, options)
|
|
43268
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43269
|
+
}
|
|
43270
|
+
|
|
43271
|
+
/**
|
|
43272
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43273
|
+
* @summary Redeem
|
|
43274
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43275
|
+
* @param {*} [options] Override http request option.
|
|
43276
|
+
* @throws {RequiredError}
|
|
43277
|
+
* @memberof InviteLinkApi
|
|
43278
|
+
*/
|
|
43279
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43280
|
+
return InviteLinkApiFp(this.configuration)
|
|
43281
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43282
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43283
|
+
}
|
|
43284
|
+
|
|
43285
|
+
/**
|
|
43286
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43287
|
+
* @summary Revoke
|
|
43288
|
+
* @param {string} id
|
|
43289
|
+
* @param {*} [options] Override http request option.
|
|
43290
|
+
* @throws {RequiredError}
|
|
43291
|
+
* @memberof InviteLinkApi
|
|
43292
|
+
*/
|
|
43293
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43294
|
+
return InviteLinkApiFp(this.configuration)
|
|
43295
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43296
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43297
|
+
}
|
|
43298
|
+
|
|
43299
|
+
/**
|
|
43300
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43301
|
+
* @summary Search
|
|
43302
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43303
|
+
* @param {*} [options] Override http request option.
|
|
43304
|
+
* @throws {RequiredError}
|
|
43305
|
+
* @memberof InviteLinkApi
|
|
43306
|
+
*/
|
|
43307
|
+
public inviteLinkControllerSearch(
|
|
43308
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43309
|
+
options?: RawAxiosRequestConfig,
|
|
43310
|
+
) {
|
|
43311
|
+
return InviteLinkApiFp(this.configuration)
|
|
43312
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43313
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43314
|
+
}
|
|
43315
|
+
}
|