@takaro/apiclient 0.0.0-dev.8a7d47e → 0.0.0-dev.8be7330
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 +1584 -118
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1209 -146
- 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 +2492 -188
- 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
|
|
@@ -7444,6 +7957,32 @@ export interface LoginOutputDTOAPI {
|
|
|
7444
7957
|
*/
|
|
7445
7958
|
meta: MetadataOutput;
|
|
7446
7959
|
}
|
|
7960
|
+
/**
|
|
7961
|
+
*
|
|
7962
|
+
* @export
|
|
7963
|
+
* @interface LoginQueryParams
|
|
7964
|
+
*/
|
|
7965
|
+
export interface LoginQueryParams {
|
|
7966
|
+
/**
|
|
7967
|
+
*
|
|
7968
|
+
* @type {string}
|
|
7969
|
+
* @memberof LoginQueryParams
|
|
7970
|
+
*/
|
|
7971
|
+
redirect?: string;
|
|
7972
|
+
}
|
|
7973
|
+
/**
|
|
7974
|
+
*
|
|
7975
|
+
* @export
|
|
7976
|
+
* @interface LogoutQueryParams
|
|
7977
|
+
*/
|
|
7978
|
+
export interface LogoutQueryParams {
|
|
7979
|
+
/**
|
|
7980
|
+
*
|
|
7981
|
+
* @type {string}
|
|
7982
|
+
* @memberof LogoutQueryParams
|
|
7983
|
+
*/
|
|
7984
|
+
redirect?: string;
|
|
7985
|
+
}
|
|
7447
7986
|
/**
|
|
7448
7987
|
*
|
|
7449
7988
|
* @export
|
|
@@ -7567,7 +8106,7 @@ export interface MeOutputDTO {
|
|
|
7567
8106
|
* @type {UserOutputWithRolesDTO}
|
|
7568
8107
|
* @memberof MeOutputDTO
|
|
7569
8108
|
*/
|
|
7570
|
-
user
|
|
8109
|
+
user?: UserOutputWithRolesDTO;
|
|
7571
8110
|
/**
|
|
7572
8111
|
*
|
|
7573
8112
|
* @type {Array<DomainOutputDTO>}
|
|
@@ -7579,7 +8118,7 @@ export interface MeOutputDTO {
|
|
|
7579
8118
|
* @type {string}
|
|
7580
8119
|
* @memberof MeOutputDTO
|
|
7581
8120
|
*/
|
|
7582
|
-
domain
|
|
8121
|
+
domain?: string;
|
|
7583
8122
|
/**
|
|
7584
8123
|
*
|
|
7585
8124
|
* @type {PlayerOutputWithRolesDTO}
|
|
@@ -8073,6 +8612,98 @@ export interface ModuleInstallParamId {
|
|
|
8073
8612
|
*/
|
|
8074
8613
|
gameServerId: string;
|
|
8075
8614
|
}
|
|
8615
|
+
/**
|
|
8616
|
+
*
|
|
8617
|
+
* @export
|
|
8618
|
+
* @interface ModuleInstallationKpisDTO
|
|
8619
|
+
*/
|
|
8620
|
+
export interface ModuleInstallationKpisDTO {
|
|
8621
|
+
/**
|
|
8622
|
+
*
|
|
8623
|
+
* @type {number}
|
|
8624
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8625
|
+
*/
|
|
8626
|
+
runs: number;
|
|
8627
|
+
/**
|
|
8628
|
+
*
|
|
8629
|
+
* @type {number}
|
|
8630
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8631
|
+
*/
|
|
8632
|
+
failures: number;
|
|
8633
|
+
/**
|
|
8634
|
+
*
|
|
8635
|
+
* @type {number}
|
|
8636
|
+
* @memberof ModuleInstallationKpisDTO
|
|
8637
|
+
*/
|
|
8638
|
+
successRate: number;
|
|
8639
|
+
}
|
|
8640
|
+
/**
|
|
8641
|
+
*
|
|
8642
|
+
* @export
|
|
8643
|
+
* @interface ModuleInstallationKpisDTOAPI
|
|
8644
|
+
*/
|
|
8645
|
+
export interface ModuleInstallationKpisDTOAPI {
|
|
8646
|
+
/**
|
|
8647
|
+
*
|
|
8648
|
+
* @type {ModuleInstallationKpisDTO}
|
|
8649
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8650
|
+
*/
|
|
8651
|
+
data: ModuleInstallationKpisDTO;
|
|
8652
|
+
/**
|
|
8653
|
+
*
|
|
8654
|
+
* @type {MetadataOutput}
|
|
8655
|
+
* @memberof ModuleInstallationKpisDTOAPI
|
|
8656
|
+
*/
|
|
8657
|
+
meta: MetadataOutput;
|
|
8658
|
+
}
|
|
8659
|
+
/**
|
|
8660
|
+
*
|
|
8661
|
+
* @export
|
|
8662
|
+
* @interface ModuleInstallationKpisQueryDTO
|
|
8663
|
+
*/
|
|
8664
|
+
export interface ModuleInstallationKpisQueryDTO {
|
|
8665
|
+
/**
|
|
8666
|
+
*
|
|
8667
|
+
* @type {string}
|
|
8668
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8669
|
+
*/
|
|
8670
|
+
startDate?: string;
|
|
8671
|
+
/**
|
|
8672
|
+
*
|
|
8673
|
+
* @type {string}
|
|
8674
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8675
|
+
*/
|
|
8676
|
+
endDate?: string;
|
|
8677
|
+
/**
|
|
8678
|
+
*
|
|
8679
|
+
* @type {string}
|
|
8680
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8681
|
+
*/
|
|
8682
|
+
gameServerId: string;
|
|
8683
|
+
/**
|
|
8684
|
+
*
|
|
8685
|
+
* @type {string}
|
|
8686
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8687
|
+
*/
|
|
8688
|
+
moduleId: string;
|
|
8689
|
+
/**
|
|
8690
|
+
*
|
|
8691
|
+
* @type {string}
|
|
8692
|
+
* @memberof ModuleInstallationKpisQueryDTO
|
|
8693
|
+
*/
|
|
8694
|
+
period?: ModuleInstallationKpisQueryDTOPeriodEnum;
|
|
8695
|
+
}
|
|
8696
|
+
|
|
8697
|
+
export const ModuleInstallationKpisQueryDTOPeriodEnum = {
|
|
8698
|
+
_24h: '24h',
|
|
8699
|
+
_7d: '7d',
|
|
8700
|
+
_30d: '30d',
|
|
8701
|
+
_90d: '90d',
|
|
8702
|
+
} as const;
|
|
8703
|
+
|
|
8704
|
+
export type ModuleInstallationKpisQueryDTOPeriodEnum =
|
|
8705
|
+
(typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
|
|
8706
|
+
|
|
8076
8707
|
/**
|
|
8077
8708
|
*
|
|
8078
8709
|
* @export
|
|
@@ -13935,6 +14566,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13935
14566
|
*/
|
|
13936
14567
|
daysSinceLastSale?: number;
|
|
13937
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
|
+
}
|
|
13938
14588
|
/**
|
|
13939
14589
|
*
|
|
13940
14590
|
* @export
|
|
@@ -13960,6 +14610,44 @@ export interface ShopImportOptions {
|
|
|
13960
14610
|
*/
|
|
13961
14611
|
gameServerId: string;
|
|
13962
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
|
+
}
|
|
13963
14651
|
/**
|
|
13964
14652
|
*
|
|
13965
14653
|
* @export
|
|
@@ -15102,6 +15790,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
15102
15790
|
*/
|
|
15103
15791
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15104
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
|
+
}
|
|
15105
15962
|
/**
|
|
15106
15963
|
*
|
|
15107
15964
|
* @export
|
|
@@ -16712,6 +17569,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16712
17569
|
*/
|
|
16713
17570
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16714
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
|
+
}
|
|
16715
17604
|
/**
|
|
16716
17605
|
*
|
|
16717
17606
|
* @export
|
|
@@ -16859,6 +17748,12 @@ export interface UserOutputDTO {
|
|
|
16859
17748
|
* @memberof UserOutputDTO
|
|
16860
17749
|
*/
|
|
16861
17750
|
isDashboardUser: boolean;
|
|
17751
|
+
/**
|
|
17752
|
+
*
|
|
17753
|
+
* @type {boolean}
|
|
17754
|
+
* @memberof UserOutputDTO
|
|
17755
|
+
*/
|
|
17756
|
+
isSupportAccount: boolean;
|
|
16862
17757
|
/**
|
|
16863
17758
|
*
|
|
16864
17759
|
* @type {string}
|
|
@@ -16877,6 +17772,12 @@ export interface UserOutputDTO {
|
|
|
16877
17772
|
* @memberof UserOutputDTO
|
|
16878
17773
|
*/
|
|
16879
17774
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17775
|
+
/**
|
|
17776
|
+
*
|
|
17777
|
+
* @type {string}
|
|
17778
|
+
* @memberof UserOutputDTO
|
|
17779
|
+
*/
|
|
17780
|
+
inviteLinkId?: string;
|
|
16880
17781
|
}
|
|
16881
17782
|
/**
|
|
16882
17783
|
*
|
|
@@ -16975,6 +17876,37 @@ export interface UserOutputWithRolesDTO {
|
|
|
16975
17876
|
* @memberof UserOutputWithRolesDTO
|
|
16976
17877
|
*/
|
|
16977
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;
|
|
16978
17910
|
}
|
|
16979
17911
|
/**
|
|
16980
17912
|
*
|
|
@@ -18181,7 +19113,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18181
19113
|
};
|
|
18182
19114
|
},
|
|
18183
19115
|
/**
|
|
18184
|
-
* Normalized 0-1 scores across
|
|
19116
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
18185
19117
|
* @summary Get module health scores
|
|
18186
19118
|
* @param {string} [startDate]
|
|
18187
19119
|
* @param {string} [endDate]
|
|
@@ -18236,6 +19168,72 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18236
19168
|
options: localVarRequestOptions,
|
|
18237
19169
|
};
|
|
18238
19170
|
},
|
|
19171
|
+
/**
|
|
19172
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
19173
|
+
* @summary Get per-installation module KPIs
|
|
19174
|
+
* @param {string} gameServerId
|
|
19175
|
+
* @param {string} moduleId
|
|
19176
|
+
* @param {string} [startDate]
|
|
19177
|
+
* @param {string} [endDate]
|
|
19178
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
19179
|
+
* @param {*} [options] Override http request option.
|
|
19180
|
+
* @throws {RequiredError}
|
|
19181
|
+
*/
|
|
19182
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19183
|
+
gameServerId: string,
|
|
19184
|
+
moduleId: string,
|
|
19185
|
+
startDate?: string,
|
|
19186
|
+
endDate?: string,
|
|
19187
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
19188
|
+
options: RawAxiosRequestConfig = {},
|
|
19189
|
+
): Promise<RequestArgs> => {
|
|
19190
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19191
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19192
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19193
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19194
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
19195
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19196
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19197
|
+
let baseOptions;
|
|
19198
|
+
if (configuration) {
|
|
19199
|
+
baseOptions = configuration.baseOptions;
|
|
19200
|
+
}
|
|
19201
|
+
|
|
19202
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19203
|
+
const localVarHeaderParameter = {} as any;
|
|
19204
|
+
const localVarQueryParameter = {} as any;
|
|
19205
|
+
|
|
19206
|
+
// authentication domainAuth required
|
|
19207
|
+
|
|
19208
|
+
if (startDate !== undefined) {
|
|
19209
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19210
|
+
}
|
|
19211
|
+
|
|
19212
|
+
if (endDate !== undefined) {
|
|
19213
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19214
|
+
}
|
|
19215
|
+
|
|
19216
|
+
if (gameServerId !== undefined) {
|
|
19217
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19218
|
+
}
|
|
19219
|
+
|
|
19220
|
+
if (moduleId !== undefined) {
|
|
19221
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
19222
|
+
}
|
|
19223
|
+
|
|
19224
|
+
if (period !== undefined) {
|
|
19225
|
+
localVarQueryParameter['period'] = period;
|
|
19226
|
+
}
|
|
19227
|
+
|
|
19228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19230
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19231
|
+
|
|
19232
|
+
return {
|
|
19233
|
+
url: toPathString(localVarUrlObj),
|
|
19234
|
+
options: localVarRequestOptions,
|
|
19235
|
+
};
|
|
19236
|
+
},
|
|
18239
19237
|
/**
|
|
18240
19238
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
18241
19239
|
* @summary Get module item failure aggregate
|
|
@@ -19302,7 +20300,7 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
19302
20300
|
},
|
|
19303
20301
|
/**
|
|
19304
20302
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
19305
|
-
* @summary Get top modules by
|
|
20303
|
+
* @summary Get top modules by execution volume
|
|
19306
20304
|
* @param {string} [startDate]
|
|
19307
20305
|
* @param {string} [endDate]
|
|
19308
20306
|
* @param {string} [gameServerId]
|
|
@@ -19836,7 +20834,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19836
20834
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19837
20835
|
},
|
|
19838
20836
|
/**
|
|
19839
|
-
* Normalized 0-1 scores across
|
|
20837
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19840
20838
|
* @summary Get module health scores
|
|
19841
20839
|
* @param {string} [startDate]
|
|
19842
20840
|
* @param {string} [endDate]
|
|
@@ -19870,6 +20868,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19870
20868
|
configuration,
|
|
19871
20869
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19872
20870
|
},
|
|
20871
|
+
/**
|
|
20872
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
20873
|
+
* @summary Get per-installation module KPIs
|
|
20874
|
+
* @param {string} gameServerId
|
|
20875
|
+
* @param {string} moduleId
|
|
20876
|
+
* @param {string} [startDate]
|
|
20877
|
+
* @param {string} [endDate]
|
|
20878
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20879
|
+
* @param {*} [options] Override http request option.
|
|
20880
|
+
* @throws {RequiredError}
|
|
20881
|
+
*/
|
|
20882
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20883
|
+
gameServerId: string,
|
|
20884
|
+
moduleId: string,
|
|
20885
|
+
startDate?: string,
|
|
20886
|
+
endDate?: string,
|
|
20887
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20888
|
+
options?: RawAxiosRequestConfig,
|
|
20889
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20891
|
+
gameServerId,
|
|
20892
|
+
moduleId,
|
|
20893
|
+
startDate,
|
|
20894
|
+
endDate,
|
|
20895
|
+
period,
|
|
20896
|
+
options,
|
|
20897
|
+
);
|
|
20898
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20899
|
+
const localVarOperationServerBasePath =
|
|
20900
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20901
|
+
?.url;
|
|
20902
|
+
return (axios, basePath) =>
|
|
20903
|
+
createRequestFunction(
|
|
20904
|
+
localVarAxiosArgs,
|
|
20905
|
+
globalAxios,
|
|
20906
|
+
BASE_PATH,
|
|
20907
|
+
configuration,
|
|
20908
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20909
|
+
},
|
|
19873
20910
|
/**
|
|
19874
20911
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19875
20912
|
* @summary Get module item failure aggregate
|
|
@@ -20549,7 +21586,7 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
20549
21586
|
},
|
|
20550
21587
|
/**
|
|
20551
21588
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
20552
|
-
* @summary Get top modules by
|
|
21589
|
+
* @summary Get top modules by execution volume
|
|
20553
21590
|
* @param {string} [startDate]
|
|
20554
21591
|
* @param {string} [endDate]
|
|
20555
21592
|
* @param {string} [gameServerId]
|
|
@@ -20871,7 +21908,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20871
21908
|
.then((request) => request(axios, basePath));
|
|
20872
21909
|
},
|
|
20873
21910
|
/**
|
|
20874
|
-
* Normalized 0-1 scores across
|
|
21911
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
20875
21912
|
* @summary Get module health scores
|
|
20876
21913
|
* @param {string} [startDate]
|
|
20877
21914
|
* @param {string} [endDate]
|
|
@@ -20891,6 +21928,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20891
21928
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20892
21929
|
.then((request) => request(axios, basePath));
|
|
20893
21930
|
},
|
|
21931
|
+
/**
|
|
21932
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
21933
|
+
* @summary Get per-installation module KPIs
|
|
21934
|
+
* @param {string} gameServerId
|
|
21935
|
+
* @param {string} moduleId
|
|
21936
|
+
* @param {string} [startDate]
|
|
21937
|
+
* @param {string} [endDate]
|
|
21938
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21939
|
+
* @param {*} [options] Override http request option.
|
|
21940
|
+
* @throws {RequiredError}
|
|
21941
|
+
*/
|
|
21942
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
21943
|
+
gameServerId: string,
|
|
21944
|
+
moduleId: string,
|
|
21945
|
+
startDate?: string,
|
|
21946
|
+
endDate?: string,
|
|
21947
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21948
|
+
options?: RawAxiosRequestConfig,
|
|
21949
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
21950
|
+
return localVarFp
|
|
21951
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
21952
|
+
.then((request) => request(axios, basePath));
|
|
21953
|
+
},
|
|
20894
21954
|
/**
|
|
20895
21955
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
20896
21956
|
* @summary Get module item failure aggregate
|
|
@@ -21292,7 +22352,7 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
21292
22352
|
},
|
|
21293
22353
|
/**
|
|
21294
22354
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
21295
|
-
* @summary Get top modules by
|
|
22355
|
+
* @summary Get top modules by execution volume
|
|
21296
22356
|
* @param {string} [startDate]
|
|
21297
22357
|
* @param {string} [endDate]
|
|
21298
22358
|
* @param {string} [gameServerId]
|
|
@@ -21611,7 +22671,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21611
22671
|
}
|
|
21612
22672
|
|
|
21613
22673
|
/**
|
|
21614
|
-
* Normalized 0-1 scores across
|
|
22674
|
+
* Normalized 0-1 scores across six dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
21615
22675
|
* @summary Get module health scores
|
|
21616
22676
|
* @param {string} [startDate]
|
|
21617
22677
|
* @param {string} [endDate]
|
|
@@ -21633,6 +22693,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21633
22693
|
.then((request) => request(this.axios, this.basePath));
|
|
21634
22694
|
}
|
|
21635
22695
|
|
|
22696
|
+
/**
|
|
22697
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
22698
|
+
* @summary Get per-installation module KPIs
|
|
22699
|
+
* @param {string} gameServerId
|
|
22700
|
+
* @param {string} moduleId
|
|
22701
|
+
* @param {string} [startDate]
|
|
22702
|
+
* @param {string} [endDate]
|
|
22703
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22704
|
+
* @param {*} [options] Override http request option.
|
|
22705
|
+
* @throws {RequiredError}
|
|
22706
|
+
* @memberof AnalyticsApi
|
|
22707
|
+
*/
|
|
22708
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22709
|
+
gameServerId: string,
|
|
22710
|
+
moduleId: string,
|
|
22711
|
+
startDate?: string,
|
|
22712
|
+
endDate?: string,
|
|
22713
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22714
|
+
options?: RawAxiosRequestConfig,
|
|
22715
|
+
) {
|
|
22716
|
+
return AnalyticsApiFp(this.configuration)
|
|
22717
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22718
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22719
|
+
}
|
|
22720
|
+
|
|
21636
22721
|
/**
|
|
21637
22722
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
21638
22723
|
* @summary Get module item failure aggregate
|
|
@@ -22072,7 +23157,7 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
22072
23157
|
|
|
22073
23158
|
/**
|
|
22074
23159
|
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetTopModulesByVolume`
|
|
22075
|
-
* @summary Get top modules by
|
|
23160
|
+
* @summary Get top modules by execution volume
|
|
22076
23161
|
* @param {string} [startDate]
|
|
22077
23162
|
* @param {string} [endDate]
|
|
22078
23163
|
* @param {string} [gameServerId]
|
|
@@ -22252,6 +23337,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
22252
23337
|
/**
|
|
22253
23338
|
* @export
|
|
22254
23339
|
*/
|
|
23340
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23341
|
+
_24h: '24h',
|
|
23342
|
+
_7d: '7d',
|
|
23343
|
+
_30d: '30d',
|
|
23344
|
+
_90d: '90d',
|
|
23345
|
+
} as const;
|
|
23346
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23347
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23348
|
+
/**
|
|
23349
|
+
* @export
|
|
23350
|
+
*/
|
|
22255
23351
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
22256
23352
|
_24h: '24h',
|
|
22257
23353
|
_7d: '7d',
|
|
@@ -22481,6 +23577,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22481
23577
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22482
23578
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22483
23579
|
|
|
23580
|
+
/**
|
|
23581
|
+
* AuthApi - axios parameter creator
|
|
23582
|
+
* @export
|
|
23583
|
+
*/
|
|
23584
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23585
|
+
return {
|
|
23586
|
+
/**
|
|
23587
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23588
|
+
* @summary Account
|
|
23589
|
+
* @param {*} [options] Override http request option.
|
|
23590
|
+
* @throws {RequiredError}
|
|
23591
|
+
*/
|
|
23592
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23593
|
+
const localVarPath = `/auth/account`;
|
|
23594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23596
|
+
let baseOptions;
|
|
23597
|
+
if (configuration) {
|
|
23598
|
+
baseOptions = configuration.baseOptions;
|
|
23599
|
+
}
|
|
23600
|
+
|
|
23601
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23602
|
+
const localVarHeaderParameter = {} as any;
|
|
23603
|
+
const localVarQueryParameter = {} as any;
|
|
23604
|
+
|
|
23605
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23606
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23607
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23608
|
+
|
|
23609
|
+
return {
|
|
23610
|
+
url: toPathString(localVarUrlObj),
|
|
23611
|
+
options: localVarRequestOptions,
|
|
23612
|
+
};
|
|
23613
|
+
},
|
|
23614
|
+
/**
|
|
23615
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23616
|
+
* @summary Callback
|
|
23617
|
+
* @param {*} [options] Override http request option.
|
|
23618
|
+
* @throws {RequiredError}
|
|
23619
|
+
*/
|
|
23620
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23621
|
+
const localVarPath = `/auth/callback`;
|
|
23622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23624
|
+
let baseOptions;
|
|
23625
|
+
if (configuration) {
|
|
23626
|
+
baseOptions = configuration.baseOptions;
|
|
23627
|
+
}
|
|
23628
|
+
|
|
23629
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23630
|
+
const localVarHeaderParameter = {} as any;
|
|
23631
|
+
const localVarQueryParameter = {} as any;
|
|
23632
|
+
|
|
23633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23635
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23636
|
+
|
|
23637
|
+
return {
|
|
23638
|
+
url: toPathString(localVarUrlObj),
|
|
23639
|
+
options: localVarRequestOptions,
|
|
23640
|
+
};
|
|
23641
|
+
},
|
|
23642
|
+
/**
|
|
23643
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23644
|
+
* @summary Login
|
|
23645
|
+
* @param {string} [redirect]
|
|
23646
|
+
* @param {*} [options] Override http request option.
|
|
23647
|
+
* @throws {RequiredError}
|
|
23648
|
+
*/
|
|
23649
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23650
|
+
const localVarPath = `/auth/login`;
|
|
23651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23652
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23653
|
+
let baseOptions;
|
|
23654
|
+
if (configuration) {
|
|
23655
|
+
baseOptions = configuration.baseOptions;
|
|
23656
|
+
}
|
|
23657
|
+
|
|
23658
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23659
|
+
const localVarHeaderParameter = {} as any;
|
|
23660
|
+
const localVarQueryParameter = {} as any;
|
|
23661
|
+
|
|
23662
|
+
if (redirect !== undefined) {
|
|
23663
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23664
|
+
}
|
|
23665
|
+
|
|
23666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23668
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23669
|
+
|
|
23670
|
+
return {
|
|
23671
|
+
url: toPathString(localVarUrlObj),
|
|
23672
|
+
options: localVarRequestOptions,
|
|
23673
|
+
};
|
|
23674
|
+
},
|
|
23675
|
+
/**
|
|
23676
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23677
|
+
* @summary Logout
|
|
23678
|
+
* @param {string} [redirect]
|
|
23679
|
+
* @param {*} [options] Override http request option.
|
|
23680
|
+
* @throws {RequiredError}
|
|
23681
|
+
*/
|
|
23682
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23683
|
+
const localVarPath = `/auth/logout`;
|
|
23684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23686
|
+
let baseOptions;
|
|
23687
|
+
if (configuration) {
|
|
23688
|
+
baseOptions = configuration.baseOptions;
|
|
23689
|
+
}
|
|
23690
|
+
|
|
23691
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23692
|
+
const localVarHeaderParameter = {} as any;
|
|
23693
|
+
const localVarQueryParameter = {} as any;
|
|
23694
|
+
|
|
23695
|
+
if (redirect !== undefined) {
|
|
23696
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23697
|
+
}
|
|
23698
|
+
|
|
23699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23701
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23702
|
+
|
|
23703
|
+
return {
|
|
23704
|
+
url: toPathString(localVarUrlObj),
|
|
23705
|
+
options: localVarRequestOptions,
|
|
23706
|
+
};
|
|
23707
|
+
},
|
|
23708
|
+
};
|
|
23709
|
+
};
|
|
23710
|
+
|
|
23711
|
+
/**
|
|
23712
|
+
* AuthApi - functional programming interface
|
|
23713
|
+
* @export
|
|
23714
|
+
*/
|
|
23715
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23716
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23717
|
+
return {
|
|
23718
|
+
/**
|
|
23719
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23720
|
+
* @summary Account
|
|
23721
|
+
* @param {*} [options] Override http request option.
|
|
23722
|
+
* @throws {RequiredError}
|
|
23723
|
+
*/
|
|
23724
|
+
async authControllerAccount(
|
|
23725
|
+
options?: RawAxiosRequestConfig,
|
|
23726
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23728
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23729
|
+
const localVarOperationServerBasePath =
|
|
23730
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23731
|
+
return (axios, basePath) =>
|
|
23732
|
+
createRequestFunction(
|
|
23733
|
+
localVarAxiosArgs,
|
|
23734
|
+
globalAxios,
|
|
23735
|
+
BASE_PATH,
|
|
23736
|
+
configuration,
|
|
23737
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23738
|
+
},
|
|
23739
|
+
/**
|
|
23740
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23741
|
+
* @summary Callback
|
|
23742
|
+
* @param {*} [options] Override http request option.
|
|
23743
|
+
* @throws {RequiredError}
|
|
23744
|
+
*/
|
|
23745
|
+
async authControllerCallback(
|
|
23746
|
+
options?: RawAxiosRequestConfig,
|
|
23747
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23749
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23750
|
+
const localVarOperationServerBasePath =
|
|
23751
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23752
|
+
return (axios, basePath) =>
|
|
23753
|
+
createRequestFunction(
|
|
23754
|
+
localVarAxiosArgs,
|
|
23755
|
+
globalAxios,
|
|
23756
|
+
BASE_PATH,
|
|
23757
|
+
configuration,
|
|
23758
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23759
|
+
},
|
|
23760
|
+
/**
|
|
23761
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23762
|
+
* @summary Login
|
|
23763
|
+
* @param {string} [redirect]
|
|
23764
|
+
* @param {*} [options] Override http request option.
|
|
23765
|
+
* @throws {RequiredError}
|
|
23766
|
+
*/
|
|
23767
|
+
async authControllerLogin(
|
|
23768
|
+
redirect?: string,
|
|
23769
|
+
options?: RawAxiosRequestConfig,
|
|
23770
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23772
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23773
|
+
const localVarOperationServerBasePath =
|
|
23774
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23775
|
+
return (axios, basePath) =>
|
|
23776
|
+
createRequestFunction(
|
|
23777
|
+
localVarAxiosArgs,
|
|
23778
|
+
globalAxios,
|
|
23779
|
+
BASE_PATH,
|
|
23780
|
+
configuration,
|
|
23781
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23782
|
+
},
|
|
23783
|
+
/**
|
|
23784
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23785
|
+
* @summary Logout
|
|
23786
|
+
* @param {string} [redirect]
|
|
23787
|
+
* @param {*} [options] Override http request option.
|
|
23788
|
+
* @throws {RequiredError}
|
|
23789
|
+
*/
|
|
23790
|
+
async authControllerLogout(
|
|
23791
|
+
redirect?: string,
|
|
23792
|
+
options?: RawAxiosRequestConfig,
|
|
23793
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23795
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23796
|
+
const localVarOperationServerBasePath =
|
|
23797
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23798
|
+
return (axios, basePath) =>
|
|
23799
|
+
createRequestFunction(
|
|
23800
|
+
localVarAxiosArgs,
|
|
23801
|
+
globalAxios,
|
|
23802
|
+
BASE_PATH,
|
|
23803
|
+
configuration,
|
|
23804
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23805
|
+
},
|
|
23806
|
+
};
|
|
23807
|
+
};
|
|
23808
|
+
|
|
23809
|
+
/**
|
|
23810
|
+
* AuthApi - factory interface
|
|
23811
|
+
* @export
|
|
23812
|
+
*/
|
|
23813
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23814
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23815
|
+
return {
|
|
23816
|
+
/**
|
|
23817
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23818
|
+
* @summary Account
|
|
23819
|
+
* @param {*} [options] Override http request option.
|
|
23820
|
+
* @throws {RequiredError}
|
|
23821
|
+
*/
|
|
23822
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23823
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23824
|
+
},
|
|
23825
|
+
/**
|
|
23826
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23827
|
+
* @summary Callback
|
|
23828
|
+
* @param {*} [options] Override http request option.
|
|
23829
|
+
* @throws {RequiredError}
|
|
23830
|
+
*/
|
|
23831
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23832
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23833
|
+
},
|
|
23834
|
+
/**
|
|
23835
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23836
|
+
* @summary Login
|
|
23837
|
+
* @param {string} [redirect]
|
|
23838
|
+
* @param {*} [options] Override http request option.
|
|
23839
|
+
* @throws {RequiredError}
|
|
23840
|
+
*/
|
|
23841
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23842
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23843
|
+
},
|
|
23844
|
+
/**
|
|
23845
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23846
|
+
* @summary Logout
|
|
23847
|
+
* @param {string} [redirect]
|
|
23848
|
+
* @param {*} [options] Override http request option.
|
|
23849
|
+
* @throws {RequiredError}
|
|
23850
|
+
*/
|
|
23851
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23852
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23853
|
+
},
|
|
23854
|
+
};
|
|
23855
|
+
};
|
|
23856
|
+
|
|
23857
|
+
/**
|
|
23858
|
+
* AuthApi - object-oriented interface
|
|
23859
|
+
* @export
|
|
23860
|
+
* @class AuthApi
|
|
23861
|
+
* @extends {BaseAPI}
|
|
23862
|
+
*/
|
|
23863
|
+
export class AuthApi extends BaseAPI {
|
|
23864
|
+
/**
|
|
23865
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23866
|
+
* @summary Account
|
|
23867
|
+
* @param {*} [options] Override http request option.
|
|
23868
|
+
* @throws {RequiredError}
|
|
23869
|
+
* @memberof AuthApi
|
|
23870
|
+
*/
|
|
23871
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23872
|
+
return AuthApiFp(this.configuration)
|
|
23873
|
+
.authControllerAccount(options)
|
|
23874
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23875
|
+
}
|
|
23876
|
+
|
|
23877
|
+
/**
|
|
23878
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23879
|
+
* @summary Callback
|
|
23880
|
+
* @param {*} [options] Override http request option.
|
|
23881
|
+
* @throws {RequiredError}
|
|
23882
|
+
* @memberof AuthApi
|
|
23883
|
+
*/
|
|
23884
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23885
|
+
return AuthApiFp(this.configuration)
|
|
23886
|
+
.authControllerCallback(options)
|
|
23887
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23888
|
+
}
|
|
23889
|
+
|
|
23890
|
+
/**
|
|
23891
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23892
|
+
* @summary Login
|
|
23893
|
+
* @param {string} [redirect]
|
|
23894
|
+
* @param {*} [options] Override http request option.
|
|
23895
|
+
* @throws {RequiredError}
|
|
23896
|
+
* @memberof AuthApi
|
|
23897
|
+
*/
|
|
23898
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23899
|
+
return AuthApiFp(this.configuration)
|
|
23900
|
+
.authControllerLogin(redirect, options)
|
|
23901
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23902
|
+
}
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23906
|
+
* @summary Logout
|
|
23907
|
+
* @param {string} [redirect]
|
|
23908
|
+
* @param {*} [options] Override http request option.
|
|
23909
|
+
* @throws {RequiredError}
|
|
23910
|
+
* @memberof AuthApi
|
|
23911
|
+
*/
|
|
23912
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23913
|
+
return AuthApiFp(this.configuration)
|
|
23914
|
+
.authControllerLogout(redirect, options)
|
|
23915
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23916
|
+
}
|
|
23917
|
+
}
|
|
23918
|
+
|
|
22484
23919
|
/**
|
|
22485
23920
|
* CommandApi - axios parameter creator
|
|
22486
23921
|
* @export
|
|
@@ -38023,7 +39458,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38023
39458
|
*/
|
|
38024
39459
|
async shopListingControllerImportListings(
|
|
38025
39460
|
options?: RawAxiosRequestConfig,
|
|
38026
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39461
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38027
39462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38028
39463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38029
39464
|
const localVarOperationServerBasePath =
|
|
@@ -38146,7 +39581,7 @@ export const ShopListingApiFactory = function (
|
|
|
38146
39581
|
* @param {*} [options] Override http request option.
|
|
38147
39582
|
* @throws {RequiredError}
|
|
38148
39583
|
*/
|
|
38149
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39584
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38150
39585
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38151
39586
|
},
|
|
38152
39587
|
/**
|
|
@@ -38426,17 +39861,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38426
39861
|
};
|
|
38427
39862
|
},
|
|
38428
39863
|
/**
|
|
38429
|
-
* 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`
|
|
38430
|
-
* @summary Search orders
|
|
38431
|
-
* @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
|
|
38432
40263
|
* @param {*} [options] Override http request option.
|
|
38433
40264
|
* @throws {RequiredError}
|
|
38434
40265
|
*/
|
|
38435
|
-
|
|
38436
|
-
|
|
40266
|
+
storefrontConfigControllerSetConfig: async (
|
|
40267
|
+
gameServerId: string,
|
|
40268
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38437
40269
|
options: RawAxiosRequestConfig = {},
|
|
38438
40270
|
): Promise<RequestArgs> => {
|
|
38439
|
-
|
|
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
|
+
);
|
|
38440
40277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38441
40278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38442
40279
|
let baseOptions;
|
|
@@ -38444,7 +40281,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38444
40281
|
baseOptions = configuration.baseOptions;
|
|
38445
40282
|
}
|
|
38446
40283
|
|
|
38447
|
-
const localVarRequestOptions = { method: '
|
|
40284
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
38448
40285
|
const localVarHeaderParameter = {} as any;
|
|
38449
40286
|
const localVarQueryParameter = {} as any;
|
|
38450
40287
|
|
|
@@ -38456,7 +40293,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38456
40293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38457
40294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
38458
40295
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
38459
|
-
|
|
40296
|
+
storefrontConfigUpsertBody,
|
|
38460
40297
|
localVarRequestOptions,
|
|
38461
40298
|
configuration,
|
|
38462
40299
|
);
|
|
@@ -38470,73 +40307,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
38470
40307
|
};
|
|
38471
40308
|
|
|
38472
40309
|
/**
|
|
38473
|
-
*
|
|
40310
|
+
* StorefrontConfigApi - functional programming interface
|
|
38474
40311
|
* @export
|
|
38475
40312
|
*/
|
|
38476
|
-
export const
|
|
38477
|
-
const localVarAxiosParamCreator =
|
|
40313
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40314
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
38478
40315
|
return {
|
|
38479
40316
|
/**
|
|
38480
|
-
*
|
|
38481
|
-
* @summary
|
|
38482
|
-
* @param {string}
|
|
38483
|
-
* @param {*} [options] Override http request option.
|
|
38484
|
-
* @throws {RequiredError}
|
|
38485
|
-
*/
|
|
38486
|
-
async shopOrderControllerCancel(
|
|
38487
|
-
id: string,
|
|
38488
|
-
options?: RawAxiosRequestConfig,
|
|
38489
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38490
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
38491
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38492
|
-
const localVarOperationServerBasePath =
|
|
38493
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
38494
|
-
return (axios, basePath) =>
|
|
38495
|
-
createRequestFunction(
|
|
38496
|
-
localVarAxiosArgs,
|
|
38497
|
-
globalAxios,
|
|
38498
|
-
BASE_PATH,
|
|
38499
|
-
configuration,
|
|
38500
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38501
|
-
},
|
|
38502
|
-
/**
|
|
38503
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38504
|
-
* @summary Claim an order
|
|
38505
|
-
* @param {string} id
|
|
38506
|
-
* @param {*} [options] Override http request option.
|
|
38507
|
-
* @throws {RequiredError}
|
|
38508
|
-
*/
|
|
38509
|
-
async shopOrderControllerClaim(
|
|
38510
|
-
id: string,
|
|
38511
|
-
options?: RawAxiosRequestConfig,
|
|
38512
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
38513
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
38514
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38515
|
-
const localVarOperationServerBasePath =
|
|
38516
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
38517
|
-
return (axios, basePath) =>
|
|
38518
|
-
createRequestFunction(
|
|
38519
|
-
localVarAxiosArgs,
|
|
38520
|
-
globalAxios,
|
|
38521
|
-
BASE_PATH,
|
|
38522
|
-
configuration,
|
|
38523
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
38524
|
-
},
|
|
38525
|
-
/**
|
|
38526
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38527
|
-
* @summary Create
|
|
38528
|
-
* @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
|
|
38529
40320
|
* @param {*} [options] Override http request option.
|
|
38530
40321
|
* @throws {RequiredError}
|
|
38531
40322
|
*/
|
|
38532
|
-
async
|
|
38533
|
-
|
|
40323
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40324
|
+
gameServerId: string,
|
|
38534
40325
|
options?: RawAxiosRequestConfig,
|
|
38535
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40326
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40328
|
+
gameServerId,
|
|
40329
|
+
options,
|
|
40330
|
+
);
|
|
38537
40331
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38538
40332
|
const localVarOperationServerBasePath =
|
|
38539
|
-
operationServerMap['
|
|
40333
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40334
|
+
localVarOperationServerIndex
|
|
40335
|
+
]?.url;
|
|
38540
40336
|
return (axios, basePath) =>
|
|
38541
40337
|
createRequestFunction(
|
|
38542
40338
|
localVarAxiosArgs,
|
|
@@ -38546,20 +40342,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38546
40342
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38547
40343
|
},
|
|
38548
40344
|
/**
|
|
38549
|
-
*
|
|
38550
|
-
* @summary
|
|
38551
|
-
* @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
|
|
38552
40347
|
* @param {*} [options] Override http request option.
|
|
38553
40348
|
* @throws {RequiredError}
|
|
38554
40349
|
*/
|
|
38555
|
-
async
|
|
38556
|
-
id: string,
|
|
40350
|
+
async storefrontConfigControllerListTemplates(
|
|
38557
40351
|
options?: RawAxiosRequestConfig,
|
|
38558
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40352
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
38560
40354
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38561
40355
|
const localVarOperationServerBasePath =
|
|
38562
|
-
operationServerMap['
|
|
40356
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40357
|
+
localVarOperationServerIndex
|
|
40358
|
+
]?.url;
|
|
38563
40359
|
return (axios, basePath) =>
|
|
38564
40360
|
createRequestFunction(
|
|
38565
40361
|
localVarAxiosArgs,
|
|
@@ -38569,23 +40365,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38569
40365
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38570
40366
|
},
|
|
38571
40367
|
/**
|
|
38572
|
-
*
|
|
38573
|
-
* @summary
|
|
38574
|
-
* @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
|
|
38575
40372
|
* @param {*} [options] Override http request option.
|
|
38576
40373
|
* @throws {RequiredError}
|
|
38577
40374
|
*/
|
|
38578
|
-
async
|
|
38579
|
-
|
|
40375
|
+
async storefrontConfigControllerSetConfig(
|
|
40376
|
+
gameServerId: string,
|
|
40377
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38580
40378
|
options?: RawAxiosRequestConfig,
|
|
38581
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
38582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
38583
|
-
|
|
40379
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40381
|
+
gameServerId,
|
|
40382
|
+
storefrontConfigUpsertBody,
|
|
38584
40383
|
options,
|
|
38585
40384
|
);
|
|
38586
40385
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38587
40386
|
const localVarOperationServerBasePath =
|
|
38588
|
-
operationServerMap['
|
|
40387
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40388
|
+
?.url;
|
|
38589
40389
|
return (axios, basePath) =>
|
|
38590
40390
|
createRequestFunction(
|
|
38591
40391
|
localVarAxiosArgs,
|
|
@@ -38598,149 +40398,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
38598
40398
|
};
|
|
38599
40399
|
|
|
38600
40400
|
/**
|
|
38601
|
-
*
|
|
40401
|
+
* StorefrontConfigApi - factory interface
|
|
38602
40402
|
* @export
|
|
38603
40403
|
*/
|
|
38604
|
-
export const
|
|
38605
|
-
|
|
40404
|
+
export const StorefrontConfigApiFactory = function (
|
|
40405
|
+
configuration?: Configuration,
|
|
40406
|
+
basePath?: string,
|
|
40407
|
+
axios?: AxiosInstance,
|
|
40408
|
+
) {
|
|
40409
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
38606
40410
|
return {
|
|
38607
40411
|
/**
|
|
38608
|
-
*
|
|
38609
|
-
* @summary
|
|
38610
|
-
* @param {string}
|
|
38611
|
-
* @param {*} [options] Override http request option.
|
|
38612
|
-
* @throws {RequiredError}
|
|
38613
|
-
*/
|
|
38614
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38615
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
38616
|
-
},
|
|
38617
|
-
/**
|
|
38618
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38619
|
-
* @summary Claim an order
|
|
38620
|
-
* @param {string} id
|
|
38621
|
-
* @param {*} [options] Override http request option.
|
|
38622
|
-
* @throws {RequiredError}
|
|
38623
|
-
*/
|
|
38624
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
38625
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
38626
|
-
},
|
|
38627
|
-
/**
|
|
38628
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38629
|
-
* @summary Create
|
|
38630
|
-
* @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
|
|
38631
40415
|
* @param {*} [options] Override http request option.
|
|
38632
40416
|
* @throws {RequiredError}
|
|
38633
40417
|
*/
|
|
38634
|
-
|
|
38635
|
-
|
|
40418
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40419
|
+
gameServerId: string,
|
|
38636
40420
|
options?: RawAxiosRequestConfig,
|
|
38637
|
-
): AxiosPromise<
|
|
40421
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38638
40422
|
return localVarFp
|
|
38639
|
-
.
|
|
40423
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38640
40424
|
.then((request) => request(axios, basePath));
|
|
38641
40425
|
},
|
|
38642
40426
|
/**
|
|
38643
|
-
*
|
|
38644
|
-
* @summary
|
|
38645
|
-
* @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
|
|
38646
40429
|
* @param {*} [options] Override http request option.
|
|
38647
40430
|
* @throws {RequiredError}
|
|
38648
40431
|
*/
|
|
38649
|
-
|
|
38650
|
-
|
|
40432
|
+
storefrontConfigControllerListTemplates(
|
|
40433
|
+
options?: RawAxiosRequestConfig,
|
|
40434
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40435
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
38651
40436
|
},
|
|
38652
40437
|
/**
|
|
38653
|
-
*
|
|
38654
|
-
* @summary
|
|
38655
|
-
* @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
|
|
38656
40442
|
* @param {*} [options] Override http request option.
|
|
38657
40443
|
* @throws {RequiredError}
|
|
38658
40444
|
*/
|
|
38659
|
-
|
|
38660
|
-
|
|
40445
|
+
storefrontConfigControllerSetConfig(
|
|
40446
|
+
gameServerId: string,
|
|
40447
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
38661
40448
|
options?: RawAxiosRequestConfig,
|
|
38662
|
-
): AxiosPromise<
|
|
40449
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
38663
40450
|
return localVarFp
|
|
38664
|
-
.
|
|
40451
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38665
40452
|
.then((request) => request(axios, basePath));
|
|
38666
40453
|
},
|
|
38667
40454
|
};
|
|
38668
40455
|
};
|
|
38669
40456
|
|
|
38670
40457
|
/**
|
|
38671
|
-
*
|
|
40458
|
+
* StorefrontConfigApi - object-oriented interface
|
|
38672
40459
|
* @export
|
|
38673
|
-
* @class
|
|
40460
|
+
* @class StorefrontConfigApi
|
|
38674
40461
|
* @extends {BaseAPI}
|
|
38675
40462
|
*/
|
|
38676
|
-
export class
|
|
40463
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
38677
40464
|
/**
|
|
38678
|
-
*
|
|
38679
|
-
* @summary
|
|
38680
|
-
* @param {string}
|
|
38681
|
-
* @param {*} [options] Override http request option.
|
|
38682
|
-
* @throws {RequiredError}
|
|
38683
|
-
* @memberof ShopOrderApi
|
|
38684
|
-
*/
|
|
38685
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
38686
|
-
return ShopOrderApiFp(this.configuration)
|
|
38687
|
-
.shopOrderControllerCancel(id, options)
|
|
38688
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38689
|
-
}
|
|
38690
|
-
|
|
38691
|
-
/**
|
|
38692
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
38693
|
-
* @summary Claim an order
|
|
38694
|
-
* @param {string} id
|
|
38695
|
-
* @param {*} [options] Override http request option.
|
|
38696
|
-
* @throws {RequiredError}
|
|
38697
|
-
* @memberof ShopOrderApi
|
|
38698
|
-
*/
|
|
38699
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
38700
|
-
return ShopOrderApiFp(this.configuration)
|
|
38701
|
-
.shopOrderControllerClaim(id, options)
|
|
38702
|
-
.then((request) => request(this.axios, this.basePath));
|
|
38703
|
-
}
|
|
38704
|
-
|
|
38705
|
-
/**
|
|
38706
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
38707
|
-
* @summary Create
|
|
38708
|
-
* @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
|
|
38709
40468
|
* @param {*} [options] Override http request option.
|
|
38710
40469
|
* @throws {RequiredError}
|
|
38711
|
-
* @memberof
|
|
40470
|
+
* @memberof StorefrontConfigApi
|
|
38712
40471
|
*/
|
|
38713
|
-
public
|
|
38714
|
-
return
|
|
38715
|
-
.
|
|
40472
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40473
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40474
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
38716
40475
|
.then((request) => request(this.axios, this.basePath));
|
|
38717
40476
|
}
|
|
38718
40477
|
|
|
38719
40478
|
/**
|
|
38720
|
-
*
|
|
38721
|
-
* @summary
|
|
38722
|
-
* @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
|
|
38723
40481
|
* @param {*} [options] Override http request option.
|
|
38724
40482
|
* @throws {RequiredError}
|
|
38725
|
-
* @memberof
|
|
40483
|
+
* @memberof StorefrontConfigApi
|
|
38726
40484
|
*/
|
|
38727
|
-
public
|
|
38728
|
-
return
|
|
38729
|
-
.
|
|
40485
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40486
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40487
|
+
.storefrontConfigControllerListTemplates(options)
|
|
38730
40488
|
.then((request) => request(this.axios, this.basePath));
|
|
38731
40489
|
}
|
|
38732
40490
|
|
|
38733
40491
|
/**
|
|
38734
|
-
*
|
|
38735
|
-
* @summary
|
|
38736
|
-
* @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
|
|
38737
40496
|
* @param {*} [options] Override http request option.
|
|
38738
40497
|
* @throws {RequiredError}
|
|
38739
|
-
* @memberof
|
|
40498
|
+
* @memberof StorefrontConfigApi
|
|
38740
40499
|
*/
|
|
38741
|
-
public
|
|
38742
|
-
|
|
38743
|
-
|
|
40500
|
+
public storefrontConfigControllerSetConfig(
|
|
40501
|
+
gameServerId: string,
|
|
40502
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40503
|
+
options?: RawAxiosRequestConfig,
|
|
40504
|
+
) {
|
|
40505
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40506
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
38744
40507
|
.then((request) => request(this.axios, this.basePath));
|
|
38745
40508
|
}
|
|
38746
40509
|
}
|
|
@@ -39328,6 +41091,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
39328
41091
|
options: localVarRequestOptions,
|
|
39329
41092
|
};
|
|
39330
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
|
+
},
|
|
39331
41121
|
/**
|
|
39332
41122
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39333
41123
|
* @summary Create
|
|
@@ -39834,6 +41624,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
39834
41624
|
configuration,
|
|
39835
41625
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
39836
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
|
+
},
|
|
39837
41648
|
/**
|
|
39838
41649
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39839
41650
|
* @summary Create
|
|
@@ -40163,6 +41974,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
40163
41974
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
40164
41975
|
.then((request) => request(axios, basePath));
|
|
40165
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
|
+
},
|
|
40166
41986
|
/**
|
|
40167
41987
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40168
41988
|
* @summary Create
|
|
@@ -40341,6 +42161,19 @@ export class UserApi extends BaseAPI {
|
|
|
40341
42161
|
.then((request) => request(this.axios, this.basePath));
|
|
40342
42162
|
}
|
|
40343
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
|
+
|
|
40344
42177
|
/**
|
|
40345
42178
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
40346
42179
|
* @summary Create
|
|
@@ -41009,3 +42842,474 @@ export class VariableApi extends BaseAPI {
|
|
|
41009
42842
|
.then((request) => request(this.axios, this.basePath));
|
|
41010
42843
|
}
|
|
41011
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
|
+
}
|