@takaro/apiclient 0.0.0-dev.036bf01 → 0.0.0-dev.03bcb3a
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 +1433 -40
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1161 -155
- 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 +2194 -4
- 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
|
|
@@ -16877,6 +17734,12 @@ export interface UserOutputDTO {
|
|
|
16877
17734
|
* @memberof UserOutputDTO
|
|
16878
17735
|
*/
|
|
16879
17736
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17737
|
+
/**
|
|
17738
|
+
*
|
|
17739
|
+
* @type {string}
|
|
17740
|
+
* @memberof UserOutputDTO
|
|
17741
|
+
*/
|
|
17742
|
+
inviteLinkId?: string;
|
|
16880
17743
|
}
|
|
16881
17744
|
/**
|
|
16882
17745
|
*
|
|
@@ -16975,6 +17838,31 @@ export interface UserOutputWithRolesDTO {
|
|
|
16975
17838
|
* @memberof UserOutputWithRolesDTO
|
|
16976
17839
|
*/
|
|
16977
17840
|
isDashboardUser: boolean;
|
|
17841
|
+
/**
|
|
17842
|
+
*
|
|
17843
|
+
* @type {string}
|
|
17844
|
+
* @memberof UserOutputWithRolesDTO
|
|
17845
|
+
*/
|
|
17846
|
+
inviteLinkId?: string;
|
|
17847
|
+
}
|
|
17848
|
+
/**
|
|
17849
|
+
*
|
|
17850
|
+
* @export
|
|
17851
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17852
|
+
*/
|
|
17853
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17854
|
+
/**
|
|
17855
|
+
*
|
|
17856
|
+
* @type {UserOutputWithRolesDTO}
|
|
17857
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17858
|
+
*/
|
|
17859
|
+
data: UserOutputWithRolesDTO;
|
|
17860
|
+
/**
|
|
17861
|
+
*
|
|
17862
|
+
* @type {MetadataOutput}
|
|
17863
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17864
|
+
*/
|
|
17865
|
+
meta: MetadataOutput;
|
|
16978
17866
|
}
|
|
16979
17867
|
/**
|
|
16980
17868
|
*
|
|
@@ -18236,6 +19124,72 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18236
19124
|
options: localVarRequestOptions,
|
|
18237
19125
|
};
|
|
18238
19126
|
},
|
|
19127
|
+
/**
|
|
19128
|
+
* 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`
|
|
19129
|
+
* @summary Get per-installation module KPIs
|
|
19130
|
+
* @param {string} gameServerId
|
|
19131
|
+
* @param {string} moduleId
|
|
19132
|
+
* @param {string} [startDate]
|
|
19133
|
+
* @param {string} [endDate]
|
|
19134
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
19135
|
+
* @param {*} [options] Override http request option.
|
|
19136
|
+
* @throws {RequiredError}
|
|
19137
|
+
*/
|
|
19138
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19139
|
+
gameServerId: string,
|
|
19140
|
+
moduleId: string,
|
|
19141
|
+
startDate?: string,
|
|
19142
|
+
endDate?: string,
|
|
19143
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
19144
|
+
options: RawAxiosRequestConfig = {},
|
|
19145
|
+
): Promise<RequestArgs> => {
|
|
19146
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19147
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19148
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19149
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19150
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
19151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19153
|
+
let baseOptions;
|
|
19154
|
+
if (configuration) {
|
|
19155
|
+
baseOptions = configuration.baseOptions;
|
|
19156
|
+
}
|
|
19157
|
+
|
|
19158
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19159
|
+
const localVarHeaderParameter = {} as any;
|
|
19160
|
+
const localVarQueryParameter = {} as any;
|
|
19161
|
+
|
|
19162
|
+
// authentication domainAuth required
|
|
19163
|
+
|
|
19164
|
+
if (startDate !== undefined) {
|
|
19165
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19166
|
+
}
|
|
19167
|
+
|
|
19168
|
+
if (endDate !== undefined) {
|
|
19169
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19170
|
+
}
|
|
19171
|
+
|
|
19172
|
+
if (gameServerId !== undefined) {
|
|
19173
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19174
|
+
}
|
|
19175
|
+
|
|
19176
|
+
if (moduleId !== undefined) {
|
|
19177
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
19178
|
+
}
|
|
19179
|
+
|
|
19180
|
+
if (period !== undefined) {
|
|
19181
|
+
localVarQueryParameter['period'] = period;
|
|
19182
|
+
}
|
|
19183
|
+
|
|
19184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19186
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19187
|
+
|
|
19188
|
+
return {
|
|
19189
|
+
url: toPathString(localVarUrlObj),
|
|
19190
|
+
options: localVarRequestOptions,
|
|
19191
|
+
};
|
|
19192
|
+
},
|
|
18239
19193
|
/**
|
|
18240
19194
|
* 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
19195
|
* @summary Get module item failure aggregate
|
|
@@ -19870,6 +20824,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19870
20824
|
configuration,
|
|
19871
20825
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19872
20826
|
},
|
|
20827
|
+
/**
|
|
20828
|
+
* 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`
|
|
20829
|
+
* @summary Get per-installation module KPIs
|
|
20830
|
+
* @param {string} gameServerId
|
|
20831
|
+
* @param {string} moduleId
|
|
20832
|
+
* @param {string} [startDate]
|
|
20833
|
+
* @param {string} [endDate]
|
|
20834
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20835
|
+
* @param {*} [options] Override http request option.
|
|
20836
|
+
* @throws {RequiredError}
|
|
20837
|
+
*/
|
|
20838
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20839
|
+
gameServerId: string,
|
|
20840
|
+
moduleId: string,
|
|
20841
|
+
startDate?: string,
|
|
20842
|
+
endDate?: string,
|
|
20843
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20844
|
+
options?: RawAxiosRequestConfig,
|
|
20845
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20846
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20847
|
+
gameServerId,
|
|
20848
|
+
moduleId,
|
|
20849
|
+
startDate,
|
|
20850
|
+
endDate,
|
|
20851
|
+
period,
|
|
20852
|
+
options,
|
|
20853
|
+
);
|
|
20854
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20855
|
+
const localVarOperationServerBasePath =
|
|
20856
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20857
|
+
?.url;
|
|
20858
|
+
return (axios, basePath) =>
|
|
20859
|
+
createRequestFunction(
|
|
20860
|
+
localVarAxiosArgs,
|
|
20861
|
+
globalAxios,
|
|
20862
|
+
BASE_PATH,
|
|
20863
|
+
configuration,
|
|
20864
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20865
|
+
},
|
|
19873
20866
|
/**
|
|
19874
20867
|
* 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
20868
|
* @summary Get module item failure aggregate
|
|
@@ -20891,6 +21884,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20891
21884
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20892
21885
|
.then((request) => request(axios, basePath));
|
|
20893
21886
|
},
|
|
21887
|
+
/**
|
|
21888
|
+
* 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`
|
|
21889
|
+
* @summary Get per-installation module KPIs
|
|
21890
|
+
* @param {string} gameServerId
|
|
21891
|
+
* @param {string} moduleId
|
|
21892
|
+
* @param {string} [startDate]
|
|
21893
|
+
* @param {string} [endDate]
|
|
21894
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21895
|
+
* @param {*} [options] Override http request option.
|
|
21896
|
+
* @throws {RequiredError}
|
|
21897
|
+
*/
|
|
21898
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
21899
|
+
gameServerId: string,
|
|
21900
|
+
moduleId: string,
|
|
21901
|
+
startDate?: string,
|
|
21902
|
+
endDate?: string,
|
|
21903
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21904
|
+
options?: RawAxiosRequestConfig,
|
|
21905
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
21906
|
+
return localVarFp
|
|
21907
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
21908
|
+
.then((request) => request(axios, basePath));
|
|
21909
|
+
},
|
|
20894
21910
|
/**
|
|
20895
21911
|
* 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
21912
|
* @summary Get module item failure aggregate
|
|
@@ -21633,6 +22649,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21633
22649
|
.then((request) => request(this.axios, this.basePath));
|
|
21634
22650
|
}
|
|
21635
22651
|
|
|
22652
|
+
/**
|
|
22653
|
+
* 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`
|
|
22654
|
+
* @summary Get per-installation module KPIs
|
|
22655
|
+
* @param {string} gameServerId
|
|
22656
|
+
* @param {string} moduleId
|
|
22657
|
+
* @param {string} [startDate]
|
|
22658
|
+
* @param {string} [endDate]
|
|
22659
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22660
|
+
* @param {*} [options] Override http request option.
|
|
22661
|
+
* @throws {RequiredError}
|
|
22662
|
+
* @memberof AnalyticsApi
|
|
22663
|
+
*/
|
|
22664
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22665
|
+
gameServerId: string,
|
|
22666
|
+
moduleId: string,
|
|
22667
|
+
startDate?: string,
|
|
22668
|
+
endDate?: string,
|
|
22669
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22670
|
+
options?: RawAxiosRequestConfig,
|
|
22671
|
+
) {
|
|
22672
|
+
return AnalyticsApiFp(this.configuration)
|
|
22673
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22674
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22675
|
+
}
|
|
22676
|
+
|
|
21636
22677
|
/**
|
|
21637
22678
|
* 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
22679
|
* @summary Get module item failure aggregate
|
|
@@ -22252,6 +23293,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
22252
23293
|
/**
|
|
22253
23294
|
* @export
|
|
22254
23295
|
*/
|
|
23296
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23297
|
+
_24h: '24h',
|
|
23298
|
+
_7d: '7d',
|
|
23299
|
+
_30d: '30d',
|
|
23300
|
+
_90d: '90d',
|
|
23301
|
+
} as const;
|
|
23302
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23303
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23304
|
+
/**
|
|
23305
|
+
* @export
|
|
23306
|
+
*/
|
|
22255
23307
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
22256
23308
|
_24h: '24h',
|
|
22257
23309
|
_7d: '7d',
|
|
@@ -22481,6 +23533,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22481
23533
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22482
23534
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22483
23535
|
|
|
23536
|
+
/**
|
|
23537
|
+
* AuthApi - axios parameter creator
|
|
23538
|
+
* @export
|
|
23539
|
+
*/
|
|
23540
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23541
|
+
return {
|
|
23542
|
+
/**
|
|
23543
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23544
|
+
* @summary Account
|
|
23545
|
+
* @param {*} [options] Override http request option.
|
|
23546
|
+
* @throws {RequiredError}
|
|
23547
|
+
*/
|
|
23548
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23549
|
+
const localVarPath = `/auth/account`;
|
|
23550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23551
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23552
|
+
let baseOptions;
|
|
23553
|
+
if (configuration) {
|
|
23554
|
+
baseOptions = configuration.baseOptions;
|
|
23555
|
+
}
|
|
23556
|
+
|
|
23557
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23558
|
+
const localVarHeaderParameter = {} as any;
|
|
23559
|
+
const localVarQueryParameter = {} as any;
|
|
23560
|
+
|
|
23561
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23563
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23564
|
+
|
|
23565
|
+
return {
|
|
23566
|
+
url: toPathString(localVarUrlObj),
|
|
23567
|
+
options: localVarRequestOptions,
|
|
23568
|
+
};
|
|
23569
|
+
},
|
|
23570
|
+
/**
|
|
23571
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23572
|
+
* @summary Callback
|
|
23573
|
+
* @param {*} [options] Override http request option.
|
|
23574
|
+
* @throws {RequiredError}
|
|
23575
|
+
*/
|
|
23576
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23577
|
+
const localVarPath = `/auth/callback`;
|
|
23578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23580
|
+
let baseOptions;
|
|
23581
|
+
if (configuration) {
|
|
23582
|
+
baseOptions = configuration.baseOptions;
|
|
23583
|
+
}
|
|
23584
|
+
|
|
23585
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23586
|
+
const localVarHeaderParameter = {} as any;
|
|
23587
|
+
const localVarQueryParameter = {} as any;
|
|
23588
|
+
|
|
23589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23591
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23592
|
+
|
|
23593
|
+
return {
|
|
23594
|
+
url: toPathString(localVarUrlObj),
|
|
23595
|
+
options: localVarRequestOptions,
|
|
23596
|
+
};
|
|
23597
|
+
},
|
|
23598
|
+
/**
|
|
23599
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23600
|
+
* @summary Login
|
|
23601
|
+
* @param {string} [redirect]
|
|
23602
|
+
* @param {*} [options] Override http request option.
|
|
23603
|
+
* @throws {RequiredError}
|
|
23604
|
+
*/
|
|
23605
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23606
|
+
const localVarPath = `/auth/login`;
|
|
23607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23608
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23609
|
+
let baseOptions;
|
|
23610
|
+
if (configuration) {
|
|
23611
|
+
baseOptions = configuration.baseOptions;
|
|
23612
|
+
}
|
|
23613
|
+
|
|
23614
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23615
|
+
const localVarHeaderParameter = {} as any;
|
|
23616
|
+
const localVarQueryParameter = {} as any;
|
|
23617
|
+
|
|
23618
|
+
if (redirect !== undefined) {
|
|
23619
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23620
|
+
}
|
|
23621
|
+
|
|
23622
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23623
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23624
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23625
|
+
|
|
23626
|
+
return {
|
|
23627
|
+
url: toPathString(localVarUrlObj),
|
|
23628
|
+
options: localVarRequestOptions,
|
|
23629
|
+
};
|
|
23630
|
+
},
|
|
23631
|
+
/**
|
|
23632
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23633
|
+
* @summary Logout
|
|
23634
|
+
* @param {string} [redirect]
|
|
23635
|
+
* @param {*} [options] Override http request option.
|
|
23636
|
+
* @throws {RequiredError}
|
|
23637
|
+
*/
|
|
23638
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23639
|
+
const localVarPath = `/auth/logout`;
|
|
23640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23641
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23642
|
+
let baseOptions;
|
|
23643
|
+
if (configuration) {
|
|
23644
|
+
baseOptions = configuration.baseOptions;
|
|
23645
|
+
}
|
|
23646
|
+
|
|
23647
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23648
|
+
const localVarHeaderParameter = {} as any;
|
|
23649
|
+
const localVarQueryParameter = {} as any;
|
|
23650
|
+
|
|
23651
|
+
if (redirect !== undefined) {
|
|
23652
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23653
|
+
}
|
|
23654
|
+
|
|
23655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23657
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23658
|
+
|
|
23659
|
+
return {
|
|
23660
|
+
url: toPathString(localVarUrlObj),
|
|
23661
|
+
options: localVarRequestOptions,
|
|
23662
|
+
};
|
|
23663
|
+
},
|
|
23664
|
+
};
|
|
23665
|
+
};
|
|
23666
|
+
|
|
23667
|
+
/**
|
|
23668
|
+
* AuthApi - functional programming interface
|
|
23669
|
+
* @export
|
|
23670
|
+
*/
|
|
23671
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23672
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23673
|
+
return {
|
|
23674
|
+
/**
|
|
23675
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23676
|
+
* @summary Account
|
|
23677
|
+
* @param {*} [options] Override http request option.
|
|
23678
|
+
* @throws {RequiredError}
|
|
23679
|
+
*/
|
|
23680
|
+
async authControllerAccount(
|
|
23681
|
+
options?: RawAxiosRequestConfig,
|
|
23682
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23684
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23685
|
+
const localVarOperationServerBasePath =
|
|
23686
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23687
|
+
return (axios, basePath) =>
|
|
23688
|
+
createRequestFunction(
|
|
23689
|
+
localVarAxiosArgs,
|
|
23690
|
+
globalAxios,
|
|
23691
|
+
BASE_PATH,
|
|
23692
|
+
configuration,
|
|
23693
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23694
|
+
},
|
|
23695
|
+
/**
|
|
23696
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23697
|
+
* @summary Callback
|
|
23698
|
+
* @param {*} [options] Override http request option.
|
|
23699
|
+
* @throws {RequiredError}
|
|
23700
|
+
*/
|
|
23701
|
+
async authControllerCallback(
|
|
23702
|
+
options?: RawAxiosRequestConfig,
|
|
23703
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23705
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23706
|
+
const localVarOperationServerBasePath =
|
|
23707
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23708
|
+
return (axios, basePath) =>
|
|
23709
|
+
createRequestFunction(
|
|
23710
|
+
localVarAxiosArgs,
|
|
23711
|
+
globalAxios,
|
|
23712
|
+
BASE_PATH,
|
|
23713
|
+
configuration,
|
|
23714
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23715
|
+
},
|
|
23716
|
+
/**
|
|
23717
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23718
|
+
* @summary Login
|
|
23719
|
+
* @param {string} [redirect]
|
|
23720
|
+
* @param {*} [options] Override http request option.
|
|
23721
|
+
* @throws {RequiredError}
|
|
23722
|
+
*/
|
|
23723
|
+
async authControllerLogin(
|
|
23724
|
+
redirect?: string,
|
|
23725
|
+
options?: RawAxiosRequestConfig,
|
|
23726
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23728
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23729
|
+
const localVarOperationServerBasePath =
|
|
23730
|
+
operationServerMap['AuthApi.authControllerLogin']?.[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: `AuthControllerLogout`
|
|
23741
|
+
* @summary Logout
|
|
23742
|
+
* @param {string} [redirect]
|
|
23743
|
+
* @param {*} [options] Override http request option.
|
|
23744
|
+
* @throws {RequiredError}
|
|
23745
|
+
*/
|
|
23746
|
+
async authControllerLogout(
|
|
23747
|
+
redirect?: string,
|
|
23748
|
+
options?: RawAxiosRequestConfig,
|
|
23749
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23751
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23752
|
+
const localVarOperationServerBasePath =
|
|
23753
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23754
|
+
return (axios, basePath) =>
|
|
23755
|
+
createRequestFunction(
|
|
23756
|
+
localVarAxiosArgs,
|
|
23757
|
+
globalAxios,
|
|
23758
|
+
BASE_PATH,
|
|
23759
|
+
configuration,
|
|
23760
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23761
|
+
},
|
|
23762
|
+
};
|
|
23763
|
+
};
|
|
23764
|
+
|
|
23765
|
+
/**
|
|
23766
|
+
* AuthApi - factory interface
|
|
23767
|
+
* @export
|
|
23768
|
+
*/
|
|
23769
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23770
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23771
|
+
return {
|
|
23772
|
+
/**
|
|
23773
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23774
|
+
* @summary Account
|
|
23775
|
+
* @param {*} [options] Override http request option.
|
|
23776
|
+
* @throws {RequiredError}
|
|
23777
|
+
*/
|
|
23778
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23779
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23780
|
+
},
|
|
23781
|
+
/**
|
|
23782
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23783
|
+
* @summary Callback
|
|
23784
|
+
* @param {*} [options] Override http request option.
|
|
23785
|
+
* @throws {RequiredError}
|
|
23786
|
+
*/
|
|
23787
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23788
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23789
|
+
},
|
|
23790
|
+
/**
|
|
23791
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23792
|
+
* @summary Login
|
|
23793
|
+
* @param {string} [redirect]
|
|
23794
|
+
* @param {*} [options] Override http request option.
|
|
23795
|
+
* @throws {RequiredError}
|
|
23796
|
+
*/
|
|
23797
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23798
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23799
|
+
},
|
|
23800
|
+
/**
|
|
23801
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23802
|
+
* @summary Logout
|
|
23803
|
+
* @param {string} [redirect]
|
|
23804
|
+
* @param {*} [options] Override http request option.
|
|
23805
|
+
* @throws {RequiredError}
|
|
23806
|
+
*/
|
|
23807
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23808
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23809
|
+
},
|
|
23810
|
+
};
|
|
23811
|
+
};
|
|
23812
|
+
|
|
23813
|
+
/**
|
|
23814
|
+
* AuthApi - object-oriented interface
|
|
23815
|
+
* @export
|
|
23816
|
+
* @class AuthApi
|
|
23817
|
+
* @extends {BaseAPI}
|
|
23818
|
+
*/
|
|
23819
|
+
export class AuthApi extends BaseAPI {
|
|
23820
|
+
/**
|
|
23821
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23822
|
+
* @summary Account
|
|
23823
|
+
* @param {*} [options] Override http request option.
|
|
23824
|
+
* @throws {RequiredError}
|
|
23825
|
+
* @memberof AuthApi
|
|
23826
|
+
*/
|
|
23827
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23828
|
+
return AuthApiFp(this.configuration)
|
|
23829
|
+
.authControllerAccount(options)
|
|
23830
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23831
|
+
}
|
|
23832
|
+
|
|
23833
|
+
/**
|
|
23834
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23835
|
+
* @summary Callback
|
|
23836
|
+
* @param {*} [options] Override http request option.
|
|
23837
|
+
* @throws {RequiredError}
|
|
23838
|
+
* @memberof AuthApi
|
|
23839
|
+
*/
|
|
23840
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23841
|
+
return AuthApiFp(this.configuration)
|
|
23842
|
+
.authControllerCallback(options)
|
|
23843
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23844
|
+
}
|
|
23845
|
+
|
|
23846
|
+
/**
|
|
23847
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23848
|
+
* @summary Login
|
|
23849
|
+
* @param {string} [redirect]
|
|
23850
|
+
* @param {*} [options] Override http request option.
|
|
23851
|
+
* @throws {RequiredError}
|
|
23852
|
+
* @memberof AuthApi
|
|
23853
|
+
*/
|
|
23854
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23855
|
+
return AuthApiFp(this.configuration)
|
|
23856
|
+
.authControllerLogin(redirect, options)
|
|
23857
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23858
|
+
}
|
|
23859
|
+
|
|
23860
|
+
/**
|
|
23861
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23862
|
+
* @summary Logout
|
|
23863
|
+
* @param {string} [redirect]
|
|
23864
|
+
* @param {*} [options] Override http request option.
|
|
23865
|
+
* @throws {RequiredError}
|
|
23866
|
+
* @memberof AuthApi
|
|
23867
|
+
*/
|
|
23868
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23869
|
+
return AuthApiFp(this.configuration)
|
|
23870
|
+
.authControllerLogout(redirect, options)
|
|
23871
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23872
|
+
}
|
|
23873
|
+
}
|
|
23874
|
+
|
|
22484
23875
|
/**
|
|
22485
23876
|
* CommandApi - axios parameter creator
|
|
22486
23877
|
* @export
|
|
@@ -38023,7 +39414,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
38023
39414
|
*/
|
|
38024
39415
|
async shopListingControllerImportListings(
|
|
38025
39416
|
options?: RawAxiosRequestConfig,
|
|
38026
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39417
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
38027
39418
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
38028
39419
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38029
39420
|
const localVarOperationServerBasePath =
|
|
@@ -38146,7 +39537,7 @@ export const ShopListingApiFactory = function (
|
|
|
38146
39537
|
* @param {*} [options] Override http request option.
|
|
38147
39538
|
* @throws {RequiredError}
|
|
38148
39539
|
*/
|
|
38149
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39540
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
38150
39541
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
38151
39542
|
},
|
|
38152
39543
|
/**
|
|
@@ -38745,6 +40136,334 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
38745
40136
|
}
|
|
38746
40137
|
}
|
|
38747
40138
|
|
|
40139
|
+
/**
|
|
40140
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40141
|
+
* @export
|
|
40142
|
+
*/
|
|
40143
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40144
|
+
return {
|
|
40145
|
+
/**
|
|
40146
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40147
|
+
* @summary Get effective config
|
|
40148
|
+
* @param {string} gameServerId
|
|
40149
|
+
* @param {*} [options] Override http request option.
|
|
40150
|
+
* @throws {RequiredError}
|
|
40151
|
+
*/
|
|
40152
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40153
|
+
gameServerId: string,
|
|
40154
|
+
options: RawAxiosRequestConfig = {},
|
|
40155
|
+
): Promise<RequestArgs> => {
|
|
40156
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40157
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40158
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40159
|
+
`{${'gameServerId'}}`,
|
|
40160
|
+
encodeURIComponent(String(gameServerId)),
|
|
40161
|
+
);
|
|
40162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40164
|
+
let baseOptions;
|
|
40165
|
+
if (configuration) {
|
|
40166
|
+
baseOptions = configuration.baseOptions;
|
|
40167
|
+
}
|
|
40168
|
+
|
|
40169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40170
|
+
const localVarHeaderParameter = {} as any;
|
|
40171
|
+
const localVarQueryParameter = {} as any;
|
|
40172
|
+
|
|
40173
|
+
// authentication domainAuth required
|
|
40174
|
+
|
|
40175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40177
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40178
|
+
|
|
40179
|
+
return {
|
|
40180
|
+
url: toPathString(localVarUrlObj),
|
|
40181
|
+
options: localVarRequestOptions,
|
|
40182
|
+
};
|
|
40183
|
+
},
|
|
40184
|
+
/**
|
|
40185
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40186
|
+
* @summary List templates
|
|
40187
|
+
* @param {*} [options] Override http request option.
|
|
40188
|
+
* @throws {RequiredError}
|
|
40189
|
+
*/
|
|
40190
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40191
|
+
const localVarPath = `/storefront/templates`;
|
|
40192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40193
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40194
|
+
let baseOptions;
|
|
40195
|
+
if (configuration) {
|
|
40196
|
+
baseOptions = configuration.baseOptions;
|
|
40197
|
+
}
|
|
40198
|
+
|
|
40199
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40200
|
+
const localVarHeaderParameter = {} as any;
|
|
40201
|
+
const localVarQueryParameter = {} as any;
|
|
40202
|
+
|
|
40203
|
+
// authentication domainAuth required
|
|
40204
|
+
|
|
40205
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40206
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40207
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40208
|
+
|
|
40209
|
+
return {
|
|
40210
|
+
url: toPathString(localVarUrlObj),
|
|
40211
|
+
options: localVarRequestOptions,
|
|
40212
|
+
};
|
|
40213
|
+
},
|
|
40214
|
+
/**
|
|
40215
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40216
|
+
* @summary Set config
|
|
40217
|
+
* @param {string} gameServerId
|
|
40218
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40219
|
+
* @param {*} [options] Override http request option.
|
|
40220
|
+
* @throws {RequiredError}
|
|
40221
|
+
*/
|
|
40222
|
+
storefrontConfigControllerSetConfig: async (
|
|
40223
|
+
gameServerId: string,
|
|
40224
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40225
|
+
options: RawAxiosRequestConfig = {},
|
|
40226
|
+
): Promise<RequestArgs> => {
|
|
40227
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40228
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40229
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40230
|
+
`{${'gameServerId'}}`,
|
|
40231
|
+
encodeURIComponent(String(gameServerId)),
|
|
40232
|
+
);
|
|
40233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40234
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40235
|
+
let baseOptions;
|
|
40236
|
+
if (configuration) {
|
|
40237
|
+
baseOptions = configuration.baseOptions;
|
|
40238
|
+
}
|
|
40239
|
+
|
|
40240
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
40241
|
+
const localVarHeaderParameter = {} as any;
|
|
40242
|
+
const localVarQueryParameter = {} as any;
|
|
40243
|
+
|
|
40244
|
+
// authentication domainAuth required
|
|
40245
|
+
|
|
40246
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40247
|
+
|
|
40248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40250
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40251
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40252
|
+
storefrontConfigUpsertBody,
|
|
40253
|
+
localVarRequestOptions,
|
|
40254
|
+
configuration,
|
|
40255
|
+
);
|
|
40256
|
+
|
|
40257
|
+
return {
|
|
40258
|
+
url: toPathString(localVarUrlObj),
|
|
40259
|
+
options: localVarRequestOptions,
|
|
40260
|
+
};
|
|
40261
|
+
},
|
|
40262
|
+
};
|
|
40263
|
+
};
|
|
40264
|
+
|
|
40265
|
+
/**
|
|
40266
|
+
* StorefrontConfigApi - functional programming interface
|
|
40267
|
+
* @export
|
|
40268
|
+
*/
|
|
40269
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40270
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
40271
|
+
return {
|
|
40272
|
+
/**
|
|
40273
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40274
|
+
* @summary Get effective config
|
|
40275
|
+
* @param {string} gameServerId
|
|
40276
|
+
* @param {*} [options] Override http request option.
|
|
40277
|
+
* @throws {RequiredError}
|
|
40278
|
+
*/
|
|
40279
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40280
|
+
gameServerId: string,
|
|
40281
|
+
options?: RawAxiosRequestConfig,
|
|
40282
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40284
|
+
gameServerId,
|
|
40285
|
+
options,
|
|
40286
|
+
);
|
|
40287
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40288
|
+
const localVarOperationServerBasePath =
|
|
40289
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40290
|
+
localVarOperationServerIndex
|
|
40291
|
+
]?.url;
|
|
40292
|
+
return (axios, basePath) =>
|
|
40293
|
+
createRequestFunction(
|
|
40294
|
+
localVarAxiosArgs,
|
|
40295
|
+
globalAxios,
|
|
40296
|
+
BASE_PATH,
|
|
40297
|
+
configuration,
|
|
40298
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40299
|
+
},
|
|
40300
|
+
/**
|
|
40301
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40302
|
+
* @summary List templates
|
|
40303
|
+
* @param {*} [options] Override http request option.
|
|
40304
|
+
* @throws {RequiredError}
|
|
40305
|
+
*/
|
|
40306
|
+
async storefrontConfigControllerListTemplates(
|
|
40307
|
+
options?: RawAxiosRequestConfig,
|
|
40308
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
40310
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40311
|
+
const localVarOperationServerBasePath =
|
|
40312
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40313
|
+
localVarOperationServerIndex
|
|
40314
|
+
]?.url;
|
|
40315
|
+
return (axios, basePath) =>
|
|
40316
|
+
createRequestFunction(
|
|
40317
|
+
localVarAxiosArgs,
|
|
40318
|
+
globalAxios,
|
|
40319
|
+
BASE_PATH,
|
|
40320
|
+
configuration,
|
|
40321
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40322
|
+
},
|
|
40323
|
+
/**
|
|
40324
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40325
|
+
* @summary Set config
|
|
40326
|
+
* @param {string} gameServerId
|
|
40327
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40328
|
+
* @param {*} [options] Override http request option.
|
|
40329
|
+
* @throws {RequiredError}
|
|
40330
|
+
*/
|
|
40331
|
+
async storefrontConfigControllerSetConfig(
|
|
40332
|
+
gameServerId: string,
|
|
40333
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40334
|
+
options?: RawAxiosRequestConfig,
|
|
40335
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40337
|
+
gameServerId,
|
|
40338
|
+
storefrontConfigUpsertBody,
|
|
40339
|
+
options,
|
|
40340
|
+
);
|
|
40341
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40342
|
+
const localVarOperationServerBasePath =
|
|
40343
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40344
|
+
?.url;
|
|
40345
|
+
return (axios, basePath) =>
|
|
40346
|
+
createRequestFunction(
|
|
40347
|
+
localVarAxiosArgs,
|
|
40348
|
+
globalAxios,
|
|
40349
|
+
BASE_PATH,
|
|
40350
|
+
configuration,
|
|
40351
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40352
|
+
},
|
|
40353
|
+
};
|
|
40354
|
+
};
|
|
40355
|
+
|
|
40356
|
+
/**
|
|
40357
|
+
* StorefrontConfigApi - factory interface
|
|
40358
|
+
* @export
|
|
40359
|
+
*/
|
|
40360
|
+
export const StorefrontConfigApiFactory = function (
|
|
40361
|
+
configuration?: Configuration,
|
|
40362
|
+
basePath?: string,
|
|
40363
|
+
axios?: AxiosInstance,
|
|
40364
|
+
) {
|
|
40365
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
40366
|
+
return {
|
|
40367
|
+
/**
|
|
40368
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40369
|
+
* @summary Get effective config
|
|
40370
|
+
* @param {string} gameServerId
|
|
40371
|
+
* @param {*} [options] Override http request option.
|
|
40372
|
+
* @throws {RequiredError}
|
|
40373
|
+
*/
|
|
40374
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40375
|
+
gameServerId: string,
|
|
40376
|
+
options?: RawAxiosRequestConfig,
|
|
40377
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
40378
|
+
return localVarFp
|
|
40379
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
40380
|
+
.then((request) => request(axios, basePath));
|
|
40381
|
+
},
|
|
40382
|
+
/**
|
|
40383
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40384
|
+
* @summary List templates
|
|
40385
|
+
* @param {*} [options] Override http request option.
|
|
40386
|
+
* @throws {RequiredError}
|
|
40387
|
+
*/
|
|
40388
|
+
storefrontConfigControllerListTemplates(
|
|
40389
|
+
options?: RawAxiosRequestConfig,
|
|
40390
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40391
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
40392
|
+
},
|
|
40393
|
+
/**
|
|
40394
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40395
|
+
* @summary Set config
|
|
40396
|
+
* @param {string} gameServerId
|
|
40397
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40398
|
+
* @param {*} [options] Override http request option.
|
|
40399
|
+
* @throws {RequiredError}
|
|
40400
|
+
*/
|
|
40401
|
+
storefrontConfigControllerSetConfig(
|
|
40402
|
+
gameServerId: string,
|
|
40403
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40404
|
+
options?: RawAxiosRequestConfig,
|
|
40405
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
40406
|
+
return localVarFp
|
|
40407
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
40408
|
+
.then((request) => request(axios, basePath));
|
|
40409
|
+
},
|
|
40410
|
+
};
|
|
40411
|
+
};
|
|
40412
|
+
|
|
40413
|
+
/**
|
|
40414
|
+
* StorefrontConfigApi - object-oriented interface
|
|
40415
|
+
* @export
|
|
40416
|
+
* @class StorefrontConfigApi
|
|
40417
|
+
* @extends {BaseAPI}
|
|
40418
|
+
*/
|
|
40419
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
40420
|
+
/**
|
|
40421
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40422
|
+
* @summary Get effective config
|
|
40423
|
+
* @param {string} gameServerId
|
|
40424
|
+
* @param {*} [options] Override http request option.
|
|
40425
|
+
* @throws {RequiredError}
|
|
40426
|
+
* @memberof StorefrontConfigApi
|
|
40427
|
+
*/
|
|
40428
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40429
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40430
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
40431
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40432
|
+
}
|
|
40433
|
+
|
|
40434
|
+
/**
|
|
40435
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40436
|
+
* @summary List templates
|
|
40437
|
+
* @param {*} [options] Override http request option.
|
|
40438
|
+
* @throws {RequiredError}
|
|
40439
|
+
* @memberof StorefrontConfigApi
|
|
40440
|
+
*/
|
|
40441
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40442
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40443
|
+
.storefrontConfigControllerListTemplates(options)
|
|
40444
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40445
|
+
}
|
|
40446
|
+
|
|
40447
|
+
/**
|
|
40448
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40449
|
+
* @summary Set config
|
|
40450
|
+
* @param {string} gameServerId
|
|
40451
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40452
|
+
* @param {*} [options] Override http request option.
|
|
40453
|
+
* @throws {RequiredError}
|
|
40454
|
+
* @memberof StorefrontConfigApi
|
|
40455
|
+
*/
|
|
40456
|
+
public storefrontConfigControllerSetConfig(
|
|
40457
|
+
gameServerId: string,
|
|
40458
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40459
|
+
options?: RawAxiosRequestConfig,
|
|
40460
|
+
) {
|
|
40461
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40462
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
40463
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40464
|
+
}
|
|
40465
|
+
}
|
|
40466
|
+
|
|
38748
40467
|
/**
|
|
38749
40468
|
* TrackingApi - axios parameter creator
|
|
38750
40469
|
* @export
|
|
@@ -41009,3 +42728,474 @@ export class VariableApi extends BaseAPI {
|
|
|
41009
42728
|
.then((request) => request(this.axios, this.basePath));
|
|
41010
42729
|
}
|
|
41011
42730
|
}
|
|
42731
|
+
|
|
42732
|
+
/**
|
|
42733
|
+
* InviteLinkApi - axios parameter creator
|
|
42734
|
+
* @export
|
|
42735
|
+
*/
|
|
42736
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42737
|
+
return {
|
|
42738
|
+
/**
|
|
42739
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42740
|
+
* @summary Create invite link
|
|
42741
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42742
|
+
* @param {*} [options] Override http request option.
|
|
42743
|
+
* @throws {RequiredError}
|
|
42744
|
+
*/
|
|
42745
|
+
inviteLinkControllerCreate: async (
|
|
42746
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42747
|
+
options: RawAxiosRequestConfig = {},
|
|
42748
|
+
): Promise<RequestArgs> => {
|
|
42749
|
+
const localVarPath = `/invite-link`;
|
|
42750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42751
|
+
let baseOptions;
|
|
42752
|
+
if (configuration) {
|
|
42753
|
+
baseOptions = configuration.baseOptions;
|
|
42754
|
+
}
|
|
42755
|
+
|
|
42756
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42757
|
+
const localVarHeaderParameter = {} as any;
|
|
42758
|
+
const localVarQueryParameter = {} as any;
|
|
42759
|
+
|
|
42760
|
+
// authentication domainAuth required
|
|
42761
|
+
|
|
42762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42763
|
+
|
|
42764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42766
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42767
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42768
|
+
inviteLinkCreateInputDTO,
|
|
42769
|
+
localVarRequestOptions,
|
|
42770
|
+
configuration,
|
|
42771
|
+
);
|
|
42772
|
+
|
|
42773
|
+
return {
|
|
42774
|
+
url: toPathString(localVarUrlObj),
|
|
42775
|
+
options: localVarRequestOptions,
|
|
42776
|
+
};
|
|
42777
|
+
},
|
|
42778
|
+
/**
|
|
42779
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42780
|
+
* @summary Preview
|
|
42781
|
+
* @param {string} token
|
|
42782
|
+
* @param {*} [options] Override http request option.
|
|
42783
|
+
* @throws {RequiredError}
|
|
42784
|
+
*/
|
|
42785
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42786
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42787
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42789
|
+
let baseOptions;
|
|
42790
|
+
if (configuration) {
|
|
42791
|
+
baseOptions = configuration.baseOptions;
|
|
42792
|
+
}
|
|
42793
|
+
|
|
42794
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42795
|
+
const localVarHeaderParameter = {} as any;
|
|
42796
|
+
const localVarQueryParameter = {} as any;
|
|
42797
|
+
|
|
42798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42800
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42801
|
+
|
|
42802
|
+
return {
|
|
42803
|
+
url: toPathString(localVarUrlObj),
|
|
42804
|
+
options: localVarRequestOptions,
|
|
42805
|
+
};
|
|
42806
|
+
},
|
|
42807
|
+
/**
|
|
42808
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42809
|
+
* @summary Redeem
|
|
42810
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42811
|
+
* @param {*} [options] Override http request option.
|
|
42812
|
+
* @throws {RequiredError}
|
|
42813
|
+
*/
|
|
42814
|
+
inviteLinkControllerRedeem: async (
|
|
42815
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42816
|
+
options: RawAxiosRequestConfig = {},
|
|
42817
|
+
): Promise<RequestArgs> => {
|
|
42818
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42820
|
+
let baseOptions;
|
|
42821
|
+
if (configuration) {
|
|
42822
|
+
baseOptions = configuration.baseOptions;
|
|
42823
|
+
}
|
|
42824
|
+
|
|
42825
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42826
|
+
const localVarHeaderParameter = {} as any;
|
|
42827
|
+
const localVarQueryParameter = {} as any;
|
|
42828
|
+
|
|
42829
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42830
|
+
|
|
42831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42833
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42834
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42835
|
+
|
|
42836
|
+
return {
|
|
42837
|
+
url: toPathString(localVarUrlObj),
|
|
42838
|
+
options: localVarRequestOptions,
|
|
42839
|
+
};
|
|
42840
|
+
},
|
|
42841
|
+
/**
|
|
42842
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42843
|
+
* @summary Revoke
|
|
42844
|
+
* @param {string} id
|
|
42845
|
+
* @param {*} [options] Override http request option.
|
|
42846
|
+
* @throws {RequiredError}
|
|
42847
|
+
*/
|
|
42848
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42849
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42850
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42851
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42852
|
+
let baseOptions;
|
|
42853
|
+
if (configuration) {
|
|
42854
|
+
baseOptions = configuration.baseOptions;
|
|
42855
|
+
}
|
|
42856
|
+
|
|
42857
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42858
|
+
const localVarHeaderParameter = {} as any;
|
|
42859
|
+
const localVarQueryParameter = {} as any;
|
|
42860
|
+
|
|
42861
|
+
// authentication domainAuth required
|
|
42862
|
+
|
|
42863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42864
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42865
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42866
|
+
|
|
42867
|
+
return {
|
|
42868
|
+
url: toPathString(localVarUrlObj),
|
|
42869
|
+
options: localVarRequestOptions,
|
|
42870
|
+
};
|
|
42871
|
+
},
|
|
42872
|
+
/**
|
|
42873
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42874
|
+
* @summary Search
|
|
42875
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42876
|
+
* @param {*} [options] Override http request option.
|
|
42877
|
+
* @throws {RequiredError}
|
|
42878
|
+
*/
|
|
42879
|
+
inviteLinkControllerSearch: async (
|
|
42880
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42881
|
+
options: RawAxiosRequestConfig = {},
|
|
42882
|
+
): Promise<RequestArgs> => {
|
|
42883
|
+
const localVarPath = `/invite-link/search`;
|
|
42884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42885
|
+
let baseOptions;
|
|
42886
|
+
if (configuration) {
|
|
42887
|
+
baseOptions = configuration.baseOptions;
|
|
42888
|
+
}
|
|
42889
|
+
|
|
42890
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42891
|
+
const localVarHeaderParameter = {} as any;
|
|
42892
|
+
const localVarQueryParameter = {} as any;
|
|
42893
|
+
|
|
42894
|
+
// authentication domainAuth required
|
|
42895
|
+
|
|
42896
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42897
|
+
|
|
42898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42902
|
+
inviteLinkSearchInputDTO,
|
|
42903
|
+
localVarRequestOptions,
|
|
42904
|
+
configuration,
|
|
42905
|
+
);
|
|
42906
|
+
|
|
42907
|
+
return {
|
|
42908
|
+
url: toPathString(localVarUrlObj),
|
|
42909
|
+
options: localVarRequestOptions,
|
|
42910
|
+
};
|
|
42911
|
+
},
|
|
42912
|
+
};
|
|
42913
|
+
};
|
|
42914
|
+
|
|
42915
|
+
/**
|
|
42916
|
+
* InviteLinkApi - functional programming interface
|
|
42917
|
+
* @export
|
|
42918
|
+
*/
|
|
42919
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
42920
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
42921
|
+
return {
|
|
42922
|
+
/**
|
|
42923
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42924
|
+
* @summary Create invite link
|
|
42925
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42926
|
+
* @param {*} [options] Override http request option.
|
|
42927
|
+
* @throws {RequiredError}
|
|
42928
|
+
*/
|
|
42929
|
+
async inviteLinkControllerCreate(
|
|
42930
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42931
|
+
options?: RawAxiosRequestConfig,
|
|
42932
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
42933
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
42934
|
+
inviteLinkCreateInputDTO,
|
|
42935
|
+
options,
|
|
42936
|
+
);
|
|
42937
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42938
|
+
const localVarOperationServerBasePath =
|
|
42939
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
42940
|
+
return (axios, basePath) =>
|
|
42941
|
+
createRequestFunction(
|
|
42942
|
+
localVarAxiosArgs,
|
|
42943
|
+
globalAxios,
|
|
42944
|
+
BASE_PATH,
|
|
42945
|
+
configuration,
|
|
42946
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42947
|
+
},
|
|
42948
|
+
/**
|
|
42949
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42950
|
+
* @summary Preview
|
|
42951
|
+
* @param {string} token
|
|
42952
|
+
* @param {*} [options] Override http request option.
|
|
42953
|
+
* @throws {RequiredError}
|
|
42954
|
+
*/
|
|
42955
|
+
async inviteLinkControllerPreview(
|
|
42956
|
+
token: string,
|
|
42957
|
+
options?: RawAxiosRequestConfig,
|
|
42958
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
42959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
42960
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42961
|
+
const localVarOperationServerBasePath =
|
|
42962
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
42963
|
+
return (axios, basePath) =>
|
|
42964
|
+
createRequestFunction(
|
|
42965
|
+
localVarAxiosArgs,
|
|
42966
|
+
globalAxios,
|
|
42967
|
+
BASE_PATH,
|
|
42968
|
+
configuration,
|
|
42969
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42970
|
+
},
|
|
42971
|
+
/**
|
|
42972
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42973
|
+
* @summary Redeem
|
|
42974
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42975
|
+
* @param {*} [options] Override http request option.
|
|
42976
|
+
* @throws {RequiredError}
|
|
42977
|
+
*/
|
|
42978
|
+
async inviteLinkControllerRedeem(
|
|
42979
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42980
|
+
options?: RawAxiosRequestConfig,
|
|
42981
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
42982
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
42983
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42984
|
+
const localVarOperationServerBasePath =
|
|
42985
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
42986
|
+
return (axios, basePath) =>
|
|
42987
|
+
createRequestFunction(
|
|
42988
|
+
localVarAxiosArgs,
|
|
42989
|
+
globalAxios,
|
|
42990
|
+
BASE_PATH,
|
|
42991
|
+
configuration,
|
|
42992
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42993
|
+
},
|
|
42994
|
+
/**
|
|
42995
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42996
|
+
* @summary Revoke
|
|
42997
|
+
* @param {string} id
|
|
42998
|
+
* @param {*} [options] Override http request option.
|
|
42999
|
+
* @throws {RequiredError}
|
|
43000
|
+
*/
|
|
43001
|
+
async inviteLinkControllerRevoke(
|
|
43002
|
+
id: string,
|
|
43003
|
+
options?: RawAxiosRequestConfig,
|
|
43004
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43007
|
+
const localVarOperationServerBasePath =
|
|
43008
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43009
|
+
return (axios, basePath) =>
|
|
43010
|
+
createRequestFunction(
|
|
43011
|
+
localVarAxiosArgs,
|
|
43012
|
+
globalAxios,
|
|
43013
|
+
BASE_PATH,
|
|
43014
|
+
configuration,
|
|
43015
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43016
|
+
},
|
|
43017
|
+
/**
|
|
43018
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43019
|
+
* @summary Search
|
|
43020
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43021
|
+
* @param {*} [options] Override http request option.
|
|
43022
|
+
* @throws {RequiredError}
|
|
43023
|
+
*/
|
|
43024
|
+
async inviteLinkControllerSearch(
|
|
43025
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43026
|
+
options?: RawAxiosRequestConfig,
|
|
43027
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43029
|
+
inviteLinkSearchInputDTO,
|
|
43030
|
+
options,
|
|
43031
|
+
);
|
|
43032
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43033
|
+
const localVarOperationServerBasePath =
|
|
43034
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43035
|
+
return (axios, basePath) =>
|
|
43036
|
+
createRequestFunction(
|
|
43037
|
+
localVarAxiosArgs,
|
|
43038
|
+
globalAxios,
|
|
43039
|
+
BASE_PATH,
|
|
43040
|
+
configuration,
|
|
43041
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43042
|
+
},
|
|
43043
|
+
};
|
|
43044
|
+
};
|
|
43045
|
+
|
|
43046
|
+
/**
|
|
43047
|
+
* InviteLinkApi - factory interface
|
|
43048
|
+
* @export
|
|
43049
|
+
*/
|
|
43050
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43051
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
43052
|
+
return {
|
|
43053
|
+
/**
|
|
43054
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43055
|
+
* @summary Create invite link
|
|
43056
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43057
|
+
* @param {*} [options] Override http request option.
|
|
43058
|
+
* @throws {RequiredError}
|
|
43059
|
+
*/
|
|
43060
|
+
inviteLinkControllerCreate(
|
|
43061
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43062
|
+
options?: RawAxiosRequestConfig,
|
|
43063
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43064
|
+
return localVarFp
|
|
43065
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43066
|
+
.then((request) => request(axios, basePath));
|
|
43067
|
+
},
|
|
43068
|
+
/**
|
|
43069
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43070
|
+
* @summary Preview
|
|
43071
|
+
* @param {string} token
|
|
43072
|
+
* @param {*} [options] Override http request option.
|
|
43073
|
+
* @throws {RequiredError}
|
|
43074
|
+
*/
|
|
43075
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43076
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43077
|
+
},
|
|
43078
|
+
/**
|
|
43079
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43080
|
+
* @summary Redeem
|
|
43081
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43082
|
+
* @param {*} [options] Override http request option.
|
|
43083
|
+
* @throws {RequiredError}
|
|
43084
|
+
*/
|
|
43085
|
+
inviteLinkControllerRedeem(
|
|
43086
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43087
|
+
options?: RawAxiosRequestConfig,
|
|
43088
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43089
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43090
|
+
},
|
|
43091
|
+
/**
|
|
43092
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43093
|
+
* @summary Revoke
|
|
43094
|
+
* @param {string} id
|
|
43095
|
+
* @param {*} [options] Override http request option.
|
|
43096
|
+
* @throws {RequiredError}
|
|
43097
|
+
*/
|
|
43098
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43099
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43100
|
+
},
|
|
43101
|
+
/**
|
|
43102
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43103
|
+
* @summary Search
|
|
43104
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43105
|
+
* @param {*} [options] Override http request option.
|
|
43106
|
+
* @throws {RequiredError}
|
|
43107
|
+
*/
|
|
43108
|
+
inviteLinkControllerSearch(
|
|
43109
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43110
|
+
options?: RawAxiosRequestConfig,
|
|
43111
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43112
|
+
return localVarFp
|
|
43113
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43114
|
+
.then((request) => request(axios, basePath));
|
|
43115
|
+
},
|
|
43116
|
+
};
|
|
43117
|
+
};
|
|
43118
|
+
|
|
43119
|
+
/**
|
|
43120
|
+
* InviteLinkApi - object-oriented interface
|
|
43121
|
+
* @export
|
|
43122
|
+
* @class InviteLinkApi
|
|
43123
|
+
* @extends {BaseAPI}
|
|
43124
|
+
*/
|
|
43125
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43126
|
+
/**
|
|
43127
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43128
|
+
* @summary Create invite link
|
|
43129
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43130
|
+
* @param {*} [options] Override http request option.
|
|
43131
|
+
* @throws {RequiredError}
|
|
43132
|
+
* @memberof InviteLinkApi
|
|
43133
|
+
*/
|
|
43134
|
+
public inviteLinkControllerCreate(
|
|
43135
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43136
|
+
options?: RawAxiosRequestConfig,
|
|
43137
|
+
) {
|
|
43138
|
+
return InviteLinkApiFp(this.configuration)
|
|
43139
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43140
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43141
|
+
}
|
|
43142
|
+
|
|
43143
|
+
/**
|
|
43144
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43145
|
+
* @summary Preview
|
|
43146
|
+
* @param {string} token
|
|
43147
|
+
* @param {*} [options] Override http request option.
|
|
43148
|
+
* @throws {RequiredError}
|
|
43149
|
+
* @memberof InviteLinkApi
|
|
43150
|
+
*/
|
|
43151
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43152
|
+
return InviteLinkApiFp(this.configuration)
|
|
43153
|
+
.inviteLinkControllerPreview(token, options)
|
|
43154
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43155
|
+
}
|
|
43156
|
+
|
|
43157
|
+
/**
|
|
43158
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43159
|
+
* @summary Redeem
|
|
43160
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43161
|
+
* @param {*} [options] Override http request option.
|
|
43162
|
+
* @throws {RequiredError}
|
|
43163
|
+
* @memberof InviteLinkApi
|
|
43164
|
+
*/
|
|
43165
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43166
|
+
return InviteLinkApiFp(this.configuration)
|
|
43167
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43168
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43169
|
+
}
|
|
43170
|
+
|
|
43171
|
+
/**
|
|
43172
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43173
|
+
* @summary Revoke
|
|
43174
|
+
* @param {string} id
|
|
43175
|
+
* @param {*} [options] Override http request option.
|
|
43176
|
+
* @throws {RequiredError}
|
|
43177
|
+
* @memberof InviteLinkApi
|
|
43178
|
+
*/
|
|
43179
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43180
|
+
return InviteLinkApiFp(this.configuration)
|
|
43181
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43182
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43183
|
+
}
|
|
43184
|
+
|
|
43185
|
+
/**
|
|
43186
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43187
|
+
* @summary Search
|
|
43188
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43189
|
+
* @param {*} [options] Override http request option.
|
|
43190
|
+
* @throws {RequiredError}
|
|
43191
|
+
* @memberof InviteLinkApi
|
|
43192
|
+
*/
|
|
43193
|
+
public inviteLinkControllerSearch(
|
|
43194
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43195
|
+
options?: RawAxiosRequestConfig,
|
|
43196
|
+
) {
|
|
43197
|
+
return InviteLinkApiFp(this.configuration)
|
|
43198
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43200
|
+
}
|
|
43201
|
+
}
|