@takaro/apiclient 0.0.0-dev.d6c1fc0 → 0.0.0-dev.d94953c
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 +3734 -1673
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1606 -180
- 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 +3511 -332
- 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
|
|
@@ -8684,6 +9315,12 @@ export interface ModuleTransferVersionDTO {
|
|
|
8684
9315
|
* @memberof ModuleTransferVersionDTO
|
|
8685
9316
|
*/
|
|
8686
9317
|
uiSchema: string;
|
|
9318
|
+
/**
|
|
9319
|
+
*
|
|
9320
|
+
* @type {string}
|
|
9321
|
+
* @memberof ModuleTransferVersionDTO
|
|
9322
|
+
*/
|
|
9323
|
+
defaultSystemConfig?: string;
|
|
8687
9324
|
/**
|
|
8688
9325
|
*
|
|
8689
9326
|
* @type {Array<ICommand>}
|
|
@@ -8838,6 +9475,24 @@ export interface ModuleVersionOutputDTO {
|
|
|
8838
9475
|
* @memberof ModuleVersionOutputDTO
|
|
8839
9476
|
*/
|
|
8840
9477
|
moduleId: string;
|
|
9478
|
+
/**
|
|
9479
|
+
*
|
|
9480
|
+
* @type {string}
|
|
9481
|
+
* @memberof ModuleVersionOutputDTO
|
|
9482
|
+
*/
|
|
9483
|
+
registryId?: string;
|
|
9484
|
+
/**
|
|
9485
|
+
*
|
|
9486
|
+
* @type {string}
|
|
9487
|
+
* @memberof ModuleVersionOutputDTO
|
|
9488
|
+
*/
|
|
9489
|
+
sourceModuleName?: string;
|
|
9490
|
+
/**
|
|
9491
|
+
*
|
|
9492
|
+
* @type {string}
|
|
9493
|
+
* @memberof ModuleVersionOutputDTO
|
|
9494
|
+
*/
|
|
9495
|
+
sourceVersion?: string;
|
|
8841
9496
|
/**
|
|
8842
9497
|
*
|
|
8843
9498
|
* @type {Array<CronJobOutputDTO>}
|
|
@@ -11906,6 +12561,386 @@ export interface RedirectQs {
|
|
|
11906
12561
|
*/
|
|
11907
12562
|
redirect: string;
|
|
11908
12563
|
}
|
|
12564
|
+
/**
|
|
12565
|
+
*
|
|
12566
|
+
* @export
|
|
12567
|
+
* @interface RegistryCreateDTO
|
|
12568
|
+
*/
|
|
12569
|
+
export interface RegistryCreateDTO {
|
|
12570
|
+
/**
|
|
12571
|
+
*
|
|
12572
|
+
* @type {string}
|
|
12573
|
+
* @memberof RegistryCreateDTO
|
|
12574
|
+
*/
|
|
12575
|
+
url: string;
|
|
12576
|
+
/**
|
|
12577
|
+
*
|
|
12578
|
+
* @type {string}
|
|
12579
|
+
* @memberof RegistryCreateDTO
|
|
12580
|
+
*/
|
|
12581
|
+
name?: string;
|
|
12582
|
+
/**
|
|
12583
|
+
*
|
|
12584
|
+
* @type {string}
|
|
12585
|
+
* @memberof RegistryCreateDTO
|
|
12586
|
+
*/
|
|
12587
|
+
description?: string;
|
|
12588
|
+
}
|
|
12589
|
+
/**
|
|
12590
|
+
*
|
|
12591
|
+
* @export
|
|
12592
|
+
* @interface RegistryInstallBody
|
|
12593
|
+
*/
|
|
12594
|
+
export interface RegistryInstallBody {
|
|
12595
|
+
/**
|
|
12596
|
+
*
|
|
12597
|
+
* @type {string}
|
|
12598
|
+
* @memberof RegistryInstallBody
|
|
12599
|
+
*/
|
|
12600
|
+
moduleName: string;
|
|
12601
|
+
/**
|
|
12602
|
+
*
|
|
12603
|
+
* @type {string}
|
|
12604
|
+
* @memberof RegistryInstallBody
|
|
12605
|
+
*/
|
|
12606
|
+
version: string;
|
|
12607
|
+
}
|
|
12608
|
+
/**
|
|
12609
|
+
*
|
|
12610
|
+
* @export
|
|
12611
|
+
* @interface RegistryInstallInputDTO
|
|
12612
|
+
*/
|
|
12613
|
+
export interface RegistryInstallInputDTO {
|
|
12614
|
+
/**
|
|
12615
|
+
*
|
|
12616
|
+
* @type {string}
|
|
12617
|
+
* @memberof RegistryInstallInputDTO
|
|
12618
|
+
*/
|
|
12619
|
+
moduleName: string;
|
|
12620
|
+
/**
|
|
12621
|
+
*
|
|
12622
|
+
* @type {string}
|
|
12623
|
+
* @memberof RegistryInstallInputDTO
|
|
12624
|
+
*/
|
|
12625
|
+
version: string;
|
|
12626
|
+
}
|
|
12627
|
+
/**
|
|
12628
|
+
*
|
|
12629
|
+
* @export
|
|
12630
|
+
* @interface RegistryListOutputDTO
|
|
12631
|
+
*/
|
|
12632
|
+
export interface RegistryListOutputDTO {
|
|
12633
|
+
/**
|
|
12634
|
+
*
|
|
12635
|
+
* @type {string}
|
|
12636
|
+
* @memberof RegistryListOutputDTO
|
|
12637
|
+
*/
|
|
12638
|
+
url: string;
|
|
12639
|
+
/**
|
|
12640
|
+
*
|
|
12641
|
+
* @type {string}
|
|
12642
|
+
* @memberof RegistryListOutputDTO
|
|
12643
|
+
*/
|
|
12644
|
+
name: string;
|
|
12645
|
+
/**
|
|
12646
|
+
*
|
|
12647
|
+
* @type {string}
|
|
12648
|
+
* @memberof RegistryListOutputDTO
|
|
12649
|
+
*/
|
|
12650
|
+
description?: string;
|
|
12651
|
+
/**
|
|
12652
|
+
*
|
|
12653
|
+
* @type {Array<RegistryModuleVersionOutputDTO>}
|
|
12654
|
+
* @memberof RegistryListOutputDTO
|
|
12655
|
+
*/
|
|
12656
|
+
modules?: Array<RegistryModuleVersionOutputDTO>;
|
|
12657
|
+
/**
|
|
12658
|
+
*
|
|
12659
|
+
* @type {string}
|
|
12660
|
+
* @memberof RegistryListOutputDTO
|
|
12661
|
+
*/
|
|
12662
|
+
lastFetchError?: string;
|
|
12663
|
+
/**
|
|
12664
|
+
*
|
|
12665
|
+
* @type {string}
|
|
12666
|
+
* @memberof RegistryListOutputDTO
|
|
12667
|
+
*/
|
|
12668
|
+
id: string;
|
|
12669
|
+
/**
|
|
12670
|
+
*
|
|
12671
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12672
|
+
* @memberof RegistryListOutputDTO
|
|
12673
|
+
*/
|
|
12674
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12675
|
+
/**
|
|
12676
|
+
*
|
|
12677
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12678
|
+
* @memberof RegistryListOutputDTO
|
|
12679
|
+
*/
|
|
12680
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12681
|
+
}
|
|
12682
|
+
/**
|
|
12683
|
+
*
|
|
12684
|
+
* @export
|
|
12685
|
+
* @interface RegistryListOutputDTOAPI
|
|
12686
|
+
*/
|
|
12687
|
+
export interface RegistryListOutputDTOAPI {
|
|
12688
|
+
/**
|
|
12689
|
+
*
|
|
12690
|
+
* @type {Array<RegistryListOutputDTO>}
|
|
12691
|
+
* @memberof RegistryListOutputDTOAPI
|
|
12692
|
+
*/
|
|
12693
|
+
data: Array<RegistryListOutputDTO>;
|
|
12694
|
+
/**
|
|
12695
|
+
*
|
|
12696
|
+
* @type {MetadataOutput}
|
|
12697
|
+
* @memberof RegistryListOutputDTOAPI
|
|
12698
|
+
*/
|
|
12699
|
+
meta: MetadataOutput;
|
|
12700
|
+
}
|
|
12701
|
+
/**
|
|
12702
|
+
*
|
|
12703
|
+
* @export
|
|
12704
|
+
* @interface RegistryManifestDTO
|
|
12705
|
+
*/
|
|
12706
|
+
export interface RegistryManifestDTO {
|
|
12707
|
+
/**
|
|
12708
|
+
*
|
|
12709
|
+
* @type {string}
|
|
12710
|
+
* @memberof RegistryManifestDTO
|
|
12711
|
+
*/
|
|
12712
|
+
name: string;
|
|
12713
|
+
/**
|
|
12714
|
+
*
|
|
12715
|
+
* @type {string}
|
|
12716
|
+
* @memberof RegistryManifestDTO
|
|
12717
|
+
*/
|
|
12718
|
+
description?: string;
|
|
12719
|
+
/**
|
|
12720
|
+
*
|
|
12721
|
+
* @type {Array<RegistryManifestModuleDTO>}
|
|
12722
|
+
* @memberof RegistryManifestDTO
|
|
12723
|
+
*/
|
|
12724
|
+
modules: Array<RegistryManifestModuleDTO>;
|
|
12725
|
+
}
|
|
12726
|
+
/**
|
|
12727
|
+
*
|
|
12728
|
+
* @export
|
|
12729
|
+
* @interface RegistryManifestModuleDTO
|
|
12730
|
+
*/
|
|
12731
|
+
export interface RegistryManifestModuleDTO {
|
|
12732
|
+
/**
|
|
12733
|
+
*
|
|
12734
|
+
* @type {string}
|
|
12735
|
+
* @memberof RegistryManifestModuleDTO
|
|
12736
|
+
*/
|
|
12737
|
+
name: string;
|
|
12738
|
+
/**
|
|
12739
|
+
*
|
|
12740
|
+
* @type {string}
|
|
12741
|
+
* @memberof RegistryManifestModuleDTO
|
|
12742
|
+
*/
|
|
12743
|
+
latestVersion: string;
|
|
12744
|
+
/**
|
|
12745
|
+
*
|
|
12746
|
+
* @type {Array<string>}
|
|
12747
|
+
* @memberof RegistryManifestModuleDTO
|
|
12748
|
+
*/
|
|
12749
|
+
versions: Array<string>;
|
|
12750
|
+
/**
|
|
12751
|
+
*
|
|
12752
|
+
* @type {string}
|
|
12753
|
+
* @memberof RegistryManifestModuleDTO
|
|
12754
|
+
*/
|
|
12755
|
+
description?: string;
|
|
12756
|
+
}
|
|
12757
|
+
/**
|
|
12758
|
+
*
|
|
12759
|
+
* @export
|
|
12760
|
+
* @interface RegistryModuleVersionOutputDTO
|
|
12761
|
+
*/
|
|
12762
|
+
export interface RegistryModuleVersionOutputDTO {
|
|
12763
|
+
/**
|
|
12764
|
+
*
|
|
12765
|
+
* @type {string}
|
|
12766
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12767
|
+
*/
|
|
12768
|
+
name: string;
|
|
12769
|
+
/**
|
|
12770
|
+
*
|
|
12771
|
+
* @type {Array<string>}
|
|
12772
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12773
|
+
*/
|
|
12774
|
+
versions: Array<string>;
|
|
12775
|
+
/**
|
|
12776
|
+
*
|
|
12777
|
+
* @type {string}
|
|
12778
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12779
|
+
*/
|
|
12780
|
+
latestVersion: string;
|
|
12781
|
+
/**
|
|
12782
|
+
*
|
|
12783
|
+
* @type {string}
|
|
12784
|
+
* @memberof RegistryModuleVersionOutputDTO
|
|
12785
|
+
*/
|
|
12786
|
+
description?: string;
|
|
12787
|
+
}
|
|
12788
|
+
/**
|
|
12789
|
+
*
|
|
12790
|
+
* @export
|
|
12791
|
+
* @interface RegistryOutputDTO
|
|
12792
|
+
*/
|
|
12793
|
+
export interface RegistryOutputDTO {
|
|
12794
|
+
/**
|
|
12795
|
+
*
|
|
12796
|
+
* @type {string}
|
|
12797
|
+
* @memberof RegistryOutputDTO
|
|
12798
|
+
*/
|
|
12799
|
+
url: string;
|
|
12800
|
+
/**
|
|
12801
|
+
*
|
|
12802
|
+
* @type {string}
|
|
12803
|
+
* @memberof RegistryOutputDTO
|
|
12804
|
+
*/
|
|
12805
|
+
name: string;
|
|
12806
|
+
/**
|
|
12807
|
+
*
|
|
12808
|
+
* @type {string}
|
|
12809
|
+
* @memberof RegistryOutputDTO
|
|
12810
|
+
*/
|
|
12811
|
+
description?: string;
|
|
12812
|
+
/**
|
|
12813
|
+
*
|
|
12814
|
+
* @type {string}
|
|
12815
|
+
* @memberof RegistryOutputDTO
|
|
12816
|
+
*/
|
|
12817
|
+
id: string;
|
|
12818
|
+
/**
|
|
12819
|
+
*
|
|
12820
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12821
|
+
* @memberof RegistryOutputDTO
|
|
12822
|
+
*/
|
|
12823
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12824
|
+
/**
|
|
12825
|
+
*
|
|
12826
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12827
|
+
* @memberof RegistryOutputDTO
|
|
12828
|
+
*/
|
|
12829
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12830
|
+
}
|
|
12831
|
+
/**
|
|
12832
|
+
*
|
|
12833
|
+
* @export
|
|
12834
|
+
* @interface RegistrySubscribeBody
|
|
12835
|
+
*/
|
|
12836
|
+
export interface RegistrySubscribeBody {
|
|
12837
|
+
/**
|
|
12838
|
+
*
|
|
12839
|
+
* @type {string}
|
|
12840
|
+
* @memberof RegistrySubscribeBody
|
|
12841
|
+
*/
|
|
12842
|
+
url: string;
|
|
12843
|
+
}
|
|
12844
|
+
/**
|
|
12845
|
+
*
|
|
12846
|
+
* @export
|
|
12847
|
+
* @interface RegistrySubscribeInputDTO
|
|
12848
|
+
*/
|
|
12849
|
+
export interface RegistrySubscribeInputDTO {
|
|
12850
|
+
/**
|
|
12851
|
+
*
|
|
12852
|
+
* @type {string}
|
|
12853
|
+
* @memberof RegistrySubscribeInputDTO
|
|
12854
|
+
*/
|
|
12855
|
+
url: string;
|
|
12856
|
+
}
|
|
12857
|
+
/**
|
|
12858
|
+
*
|
|
12859
|
+
* @export
|
|
12860
|
+
* @interface RegistryUpdateDTO
|
|
12861
|
+
*/
|
|
12862
|
+
export interface RegistryUpdateDTO {
|
|
12863
|
+
/**
|
|
12864
|
+
*
|
|
12865
|
+
* @type {string}
|
|
12866
|
+
* @memberof RegistryUpdateDTO
|
|
12867
|
+
*/
|
|
12868
|
+
name?: string;
|
|
12869
|
+
/**
|
|
12870
|
+
*
|
|
12871
|
+
* @type {string}
|
|
12872
|
+
* @memberof RegistryUpdateDTO
|
|
12873
|
+
*/
|
|
12874
|
+
description?: string;
|
|
12875
|
+
}
|
|
12876
|
+
/**
|
|
12877
|
+
*
|
|
12878
|
+
* @export
|
|
12879
|
+
* @interface RegistryWithManifestOutputDTO
|
|
12880
|
+
*/
|
|
12881
|
+
export interface RegistryWithManifestOutputDTO {
|
|
12882
|
+
/**
|
|
12883
|
+
*
|
|
12884
|
+
* @type {string}
|
|
12885
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12886
|
+
*/
|
|
12887
|
+
url: string;
|
|
12888
|
+
/**
|
|
12889
|
+
*
|
|
12890
|
+
* @type {string}
|
|
12891
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12892
|
+
*/
|
|
12893
|
+
name: string;
|
|
12894
|
+
/**
|
|
12895
|
+
*
|
|
12896
|
+
* @type {string}
|
|
12897
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12898
|
+
*/
|
|
12899
|
+
description?: string;
|
|
12900
|
+
/**
|
|
12901
|
+
*
|
|
12902
|
+
* @type {object}
|
|
12903
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12904
|
+
*/
|
|
12905
|
+
manifest?: object;
|
|
12906
|
+
/**
|
|
12907
|
+
*
|
|
12908
|
+
* @type {string}
|
|
12909
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12910
|
+
*/
|
|
12911
|
+
id: string;
|
|
12912
|
+
/**
|
|
12913
|
+
*
|
|
12914
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12915
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12916
|
+
*/
|
|
12917
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12918
|
+
/**
|
|
12919
|
+
*
|
|
12920
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12921
|
+
* @memberof RegistryWithManifestOutputDTO
|
|
12922
|
+
*/
|
|
12923
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12924
|
+
}
|
|
12925
|
+
/**
|
|
12926
|
+
*
|
|
12927
|
+
* @export
|
|
12928
|
+
* @interface RegistryWithManifestOutputDTOAPI
|
|
12929
|
+
*/
|
|
12930
|
+
export interface RegistryWithManifestOutputDTOAPI {
|
|
12931
|
+
/**
|
|
12932
|
+
*
|
|
12933
|
+
* @type {RegistryWithManifestOutputDTO}
|
|
12934
|
+
* @memberof RegistryWithManifestOutputDTOAPI
|
|
12935
|
+
*/
|
|
12936
|
+
data: RegistryWithManifestOutputDTO;
|
|
12937
|
+
/**
|
|
12938
|
+
*
|
|
12939
|
+
* @type {MetadataOutput}
|
|
12940
|
+
* @memberof RegistryWithManifestOutputDTOAPI
|
|
12941
|
+
*/
|
|
12942
|
+
meta: MetadataOutput;
|
|
12943
|
+
}
|
|
11909
12944
|
/**
|
|
11910
12945
|
*
|
|
11911
12946
|
* @export
|
|
@@ -13531,6 +14566,25 @@ export interface ShopDeadStockItemDTO {
|
|
|
13531
14566
|
*/
|
|
13532
14567
|
daysSinceLastSale?: number;
|
|
13533
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
|
+
}
|
|
13534
14588
|
/**
|
|
13535
14589
|
*
|
|
13536
14590
|
* @export
|
|
@@ -13556,6 +14610,44 @@ export interface ShopImportOptions {
|
|
|
13556
14610
|
*/
|
|
13557
14611
|
gameServerId: string;
|
|
13558
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
|
+
}
|
|
13559
14651
|
/**
|
|
13560
14652
|
*
|
|
13561
14653
|
* @export
|
|
@@ -14698,6 +15790,175 @@ export interface SmallModuleVersionOutputDTO {
|
|
|
14698
15790
|
*/
|
|
14699
15791
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
14700
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
|
+
}
|
|
14701
15962
|
/**
|
|
14702
15963
|
*
|
|
14703
15964
|
* @export
|
|
@@ -16308,6 +17569,38 @@ export interface UserAssignmentOutputDTO {
|
|
|
16308
17569
|
*/
|
|
16309
17570
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
16310
17571
|
}
|
|
17572
|
+
/**
|
|
17573
|
+
*
|
|
17574
|
+
* @export
|
|
17575
|
+
* @interface UserCountOutputDTO
|
|
17576
|
+
*/
|
|
17577
|
+
export interface UserCountOutputDTO {
|
|
17578
|
+
/**
|
|
17579
|
+
*
|
|
17580
|
+
* @type {number}
|
|
17581
|
+
* @memberof UserCountOutputDTO
|
|
17582
|
+
*/
|
|
17583
|
+
count: number;
|
|
17584
|
+
}
|
|
17585
|
+
/**
|
|
17586
|
+
*
|
|
17587
|
+
* @export
|
|
17588
|
+
* @interface UserCountOutputDTOAPI
|
|
17589
|
+
*/
|
|
17590
|
+
export interface UserCountOutputDTOAPI {
|
|
17591
|
+
/**
|
|
17592
|
+
*
|
|
17593
|
+
* @type {UserCountOutputDTO}
|
|
17594
|
+
* @memberof UserCountOutputDTOAPI
|
|
17595
|
+
*/
|
|
17596
|
+
data: UserCountOutputDTO;
|
|
17597
|
+
/**
|
|
17598
|
+
*
|
|
17599
|
+
* @type {MetadataOutput}
|
|
17600
|
+
* @memberof UserCountOutputDTOAPI
|
|
17601
|
+
*/
|
|
17602
|
+
meta: MetadataOutput;
|
|
17603
|
+
}
|
|
16311
17604
|
/**
|
|
16312
17605
|
*
|
|
16313
17606
|
* @export
|
|
@@ -16455,6 +17748,12 @@ export interface UserOutputDTO {
|
|
|
16455
17748
|
* @memberof UserOutputDTO
|
|
16456
17749
|
*/
|
|
16457
17750
|
isDashboardUser: boolean;
|
|
17751
|
+
/**
|
|
17752
|
+
*
|
|
17753
|
+
* @type {boolean}
|
|
17754
|
+
* @memberof UserOutputDTO
|
|
17755
|
+
*/
|
|
17756
|
+
isSupportAccount: boolean;
|
|
16458
17757
|
/**
|
|
16459
17758
|
*
|
|
16460
17759
|
* @type {string}
|
|
@@ -16473,6 +17772,12 @@ export interface UserOutputDTO {
|
|
|
16473
17772
|
* @memberof UserOutputDTO
|
|
16474
17773
|
*/
|
|
16475
17774
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17775
|
+
/**
|
|
17776
|
+
*
|
|
17777
|
+
* @type {string}
|
|
17778
|
+
* @memberof UserOutputDTO
|
|
17779
|
+
*/
|
|
17780
|
+
inviteLinkId?: string;
|
|
16476
17781
|
}
|
|
16477
17782
|
/**
|
|
16478
17783
|
*
|
|
@@ -16571,6 +17876,37 @@ export interface UserOutputWithRolesDTO {
|
|
|
16571
17876
|
* @memberof UserOutputWithRolesDTO
|
|
16572
17877
|
*/
|
|
16573
17878
|
isDashboardUser: boolean;
|
|
17879
|
+
/**
|
|
17880
|
+
*
|
|
17881
|
+
* @type {boolean}
|
|
17882
|
+
* @memberof UserOutputWithRolesDTO
|
|
17883
|
+
*/
|
|
17884
|
+
isSupportAccount: boolean;
|
|
17885
|
+
/**
|
|
17886
|
+
*
|
|
17887
|
+
* @type {string}
|
|
17888
|
+
* @memberof UserOutputWithRolesDTO
|
|
17889
|
+
*/
|
|
17890
|
+
inviteLinkId?: string;
|
|
17891
|
+
}
|
|
17892
|
+
/**
|
|
17893
|
+
*
|
|
17894
|
+
* @export
|
|
17895
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17896
|
+
*/
|
|
17897
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17898
|
+
/**
|
|
17899
|
+
*
|
|
17900
|
+
* @type {UserOutputWithRolesDTO}
|
|
17901
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17902
|
+
*/
|
|
17903
|
+
data: UserOutputWithRolesDTO;
|
|
17904
|
+
/**
|
|
17905
|
+
*
|
|
17906
|
+
* @type {MetadataOutput}
|
|
17907
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17908
|
+
*/
|
|
17909
|
+
meta: MetadataOutput;
|
|
16574
17910
|
}
|
|
16575
17911
|
/**
|
|
16576
17912
|
*
|
|
@@ -17355,23 +18691,181 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17355
18691
|
};
|
|
17356
18692
|
},
|
|
17357
18693
|
/**
|
|
17358
|
-
* Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
|
|
17359
|
-
* @summary Get currency flow timeseries
|
|
17360
|
-
* @param {string} [startDate]
|
|
17361
|
-
* @param {string} [endDate]
|
|
17362
|
-
* @param {string} [gameServerId]
|
|
17363
|
-
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18694
|
+
* Total currency added vs deducted per time bucket, from currency-added and currency-deducted events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyFlow`
|
|
18695
|
+
* @summary Get currency flow timeseries
|
|
18696
|
+
* @param {string} [startDate]
|
|
18697
|
+
* @param {string} [endDate]
|
|
18698
|
+
* @param {string} [gameServerId]
|
|
18699
|
+
* @param {AnalyticsControllerGetCurrencyFlowPeriodEnum} [period]
|
|
18700
|
+
* @param {*} [options] Override http request option.
|
|
18701
|
+
* @throws {RequiredError}
|
|
18702
|
+
*/
|
|
18703
|
+
analyticsControllerGetCurrencyFlow: async (
|
|
18704
|
+
startDate?: string,
|
|
18705
|
+
endDate?: string,
|
|
18706
|
+
gameServerId?: string,
|
|
18707
|
+
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
18708
|
+
options: RawAxiosRequestConfig = {},
|
|
18709
|
+
): Promise<RequestArgs> => {
|
|
18710
|
+
const localVarPath = `/analytics/players/currency-flow`;
|
|
18711
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18712
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18713
|
+
let baseOptions;
|
|
18714
|
+
if (configuration) {
|
|
18715
|
+
baseOptions = configuration.baseOptions;
|
|
18716
|
+
}
|
|
18717
|
+
|
|
18718
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18719
|
+
const localVarHeaderParameter = {} as any;
|
|
18720
|
+
const localVarQueryParameter = {} as any;
|
|
18721
|
+
|
|
18722
|
+
// authentication domainAuth required
|
|
18723
|
+
|
|
18724
|
+
if (startDate !== undefined) {
|
|
18725
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18726
|
+
}
|
|
18727
|
+
|
|
18728
|
+
if (endDate !== undefined) {
|
|
18729
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18730
|
+
}
|
|
18731
|
+
|
|
18732
|
+
if (gameServerId !== undefined) {
|
|
18733
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18734
|
+
}
|
|
18735
|
+
|
|
18736
|
+
if (period !== undefined) {
|
|
18737
|
+
localVarQueryParameter['period'] = period;
|
|
18738
|
+
}
|
|
18739
|
+
|
|
18740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18742
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18743
|
+
|
|
18744
|
+
return {
|
|
18745
|
+
url: toPathString(localVarUrlObj),
|
|
18746
|
+
options: localVarRequestOptions,
|
|
18747
|
+
};
|
|
18748
|
+
},
|
|
18749
|
+
/**
|
|
18750
|
+
* Aggregate currency values from player-sync-snapshot events, bucketed by time. gameServerId is optional. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetCurrencyTimeseries`
|
|
18751
|
+
* @summary Get currency in circulation timeseries
|
|
18752
|
+
* @param {string} [startDate]
|
|
18753
|
+
* @param {string} [endDate]
|
|
18754
|
+
* @param {string} [gameServerId]
|
|
18755
|
+
* @param {AnalyticsControllerGetCurrencyTimeseriesPeriodEnum} [period]
|
|
18756
|
+
* @param {*} [options] Override http request option.
|
|
18757
|
+
* @throws {RequiredError}
|
|
18758
|
+
*/
|
|
18759
|
+
analyticsControllerGetCurrencyTimeseries: async (
|
|
18760
|
+
startDate?: string,
|
|
18761
|
+
endDate?: string,
|
|
18762
|
+
gameServerId?: string,
|
|
18763
|
+
period?: AnalyticsControllerGetCurrencyTimeseriesPeriodEnum,
|
|
18764
|
+
options: RawAxiosRequestConfig = {},
|
|
18765
|
+
): Promise<RequestArgs> => {
|
|
18766
|
+
const localVarPath = `/analytics/gameserver/currency-timeseries`;
|
|
18767
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18769
|
+
let baseOptions;
|
|
18770
|
+
if (configuration) {
|
|
18771
|
+
baseOptions = configuration.baseOptions;
|
|
18772
|
+
}
|
|
18773
|
+
|
|
18774
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18775
|
+
const localVarHeaderParameter = {} as any;
|
|
18776
|
+
const localVarQueryParameter = {} as any;
|
|
18777
|
+
|
|
18778
|
+
// authentication domainAuth required
|
|
18779
|
+
|
|
18780
|
+
if (startDate !== undefined) {
|
|
18781
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18782
|
+
}
|
|
18783
|
+
|
|
18784
|
+
if (endDate !== undefined) {
|
|
18785
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18786
|
+
}
|
|
18787
|
+
|
|
18788
|
+
if (gameServerId !== undefined) {
|
|
18789
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18790
|
+
}
|
|
18791
|
+
|
|
18792
|
+
if (period !== undefined) {
|
|
18793
|
+
localVarQueryParameter['period'] = period;
|
|
18794
|
+
}
|
|
18795
|
+
|
|
18796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18798
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18799
|
+
|
|
18800
|
+
return {
|
|
18801
|
+
url: toPathString(localVarUrlObj),
|
|
18802
|
+
options: localVarRequestOptions,
|
|
18803
|
+
};
|
|
18804
|
+
},
|
|
18805
|
+
/**
|
|
18806
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetDailyPlayerEvents`
|
|
18807
|
+
* @summary Get daily player event counts for calendar heatmap
|
|
18808
|
+
* @param {string} [startDate]
|
|
18809
|
+
* @param {string} [endDate]
|
|
18810
|
+
* @param {string} [gameServerId]
|
|
18811
|
+
* @param {AnalyticsControllerGetDailyPlayerEventsPeriodEnum} [period]
|
|
18812
|
+
* @param {*} [options] Override http request option.
|
|
18813
|
+
* @throws {RequiredError}
|
|
18814
|
+
*/
|
|
18815
|
+
analyticsControllerGetDailyPlayerEvents: async (
|
|
18816
|
+
startDate?: string,
|
|
18817
|
+
endDate?: string,
|
|
18818
|
+
gameServerId?: string,
|
|
18819
|
+
period?: AnalyticsControllerGetDailyPlayerEventsPeriodEnum,
|
|
18820
|
+
options: RawAxiosRequestConfig = {},
|
|
18821
|
+
): Promise<RequestArgs> => {
|
|
18822
|
+
const localVarPath = `/analytics/players/daily-events`;
|
|
18823
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18824
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18825
|
+
let baseOptions;
|
|
18826
|
+
if (configuration) {
|
|
18827
|
+
baseOptions = configuration.baseOptions;
|
|
18828
|
+
}
|
|
18829
|
+
|
|
18830
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
18831
|
+
const localVarHeaderParameter = {} as any;
|
|
18832
|
+
const localVarQueryParameter = {} as any;
|
|
18833
|
+
|
|
18834
|
+
// authentication domainAuth required
|
|
18835
|
+
|
|
18836
|
+
if (startDate !== undefined) {
|
|
18837
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
18838
|
+
}
|
|
18839
|
+
|
|
18840
|
+
if (endDate !== undefined) {
|
|
18841
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
18842
|
+
}
|
|
18843
|
+
|
|
18844
|
+
if (gameServerId !== undefined) {
|
|
18845
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
18846
|
+
}
|
|
18847
|
+
|
|
18848
|
+
if (period !== undefined) {
|
|
18849
|
+
localVarQueryParameter['period'] = period;
|
|
18850
|
+
}
|
|
18851
|
+
|
|
18852
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18853
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18854
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
18855
|
+
|
|
18856
|
+
return {
|
|
18857
|
+
url: toPathString(localVarUrlObj),
|
|
18858
|
+
options: localVarRequestOptions,
|
|
18859
|
+
};
|
|
18860
|
+
},
|
|
18861
|
+
/**
|
|
18862
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEntityCounts`
|
|
18863
|
+
* @summary Get entity counts (game servers, players, users)
|
|
17364
18864
|
* @param {*} [options] Override http request option.
|
|
17365
18865
|
* @throws {RequiredError}
|
|
17366
18866
|
*/
|
|
17367
|
-
|
|
17368
|
-
|
|
17369
|
-
endDate?: string,
|
|
17370
|
-
gameServerId?: string,
|
|
17371
|
-
period?: AnalyticsControllerGetCurrencyFlowPeriodEnum,
|
|
17372
|
-
options: RawAxiosRequestConfig = {},
|
|
17373
|
-
): Promise<RequestArgs> => {
|
|
17374
|
-
const localVarPath = `/analytics/players/currency-flow`;
|
|
18867
|
+
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18868
|
+
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17375
18869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17376
18870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17377
18871
|
let baseOptions;
|
|
@@ -17385,22 +18879,6 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17385
18879
|
|
|
17386
18880
|
// authentication domainAuth required
|
|
17387
18881
|
|
|
17388
|
-
if (startDate !== undefined) {
|
|
17389
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
17390
|
-
}
|
|
17391
|
-
|
|
17392
|
-
if (endDate !== undefined) {
|
|
17393
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
17394
|
-
}
|
|
17395
|
-
|
|
17396
|
-
if (gameServerId !== undefined) {
|
|
17397
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17398
|
-
}
|
|
17399
|
-
|
|
17400
|
-
if (period !== undefined) {
|
|
17401
|
-
localVarQueryParameter['period'] = period;
|
|
17402
|
-
}
|
|
17403
|
-
|
|
17404
18882
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17405
18883
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17406
18884
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -17411,23 +18889,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17411
18889
|
};
|
|
17412
18890
|
},
|
|
17413
18891
|
/**
|
|
17414
|
-
*
|
|
17415
|
-
* @summary Get
|
|
18892
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
18893
|
+
* @summary Get event volume time series
|
|
17416
18894
|
* @param {string} [startDate]
|
|
17417
18895
|
* @param {string} [endDate]
|
|
17418
18896
|
* @param {string} [gameServerId]
|
|
17419
|
-
* @param {
|
|
18897
|
+
* @param {AnalyticsControllerGetEventVolumePeriodEnum} [period]
|
|
17420
18898
|
* @param {*} [options] Override http request option.
|
|
17421
18899
|
* @throws {RequiredError}
|
|
17422
18900
|
*/
|
|
17423
|
-
|
|
18901
|
+
analyticsControllerGetEventVolume: async (
|
|
17424
18902
|
startDate?: string,
|
|
17425
18903
|
endDate?: string,
|
|
17426
18904
|
gameServerId?: string,
|
|
17427
|
-
period?:
|
|
18905
|
+
period?: AnalyticsControllerGetEventVolumePeriodEnum,
|
|
17428
18906
|
options: RawAxiosRequestConfig = {},
|
|
17429
18907
|
): Promise<RequestArgs> => {
|
|
17430
|
-
const localVarPath = `/analytics/
|
|
18908
|
+
const localVarPath = `/analytics/overview/event-volume`;
|
|
17431
18909
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17432
18910
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17433
18911
|
let baseOptions;
|
|
@@ -17467,23 +18945,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17467
18945
|
};
|
|
17468
18946
|
},
|
|
17469
18947
|
/**
|
|
17470
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `
|
|
17471
|
-
* @summary Get
|
|
18948
|
+
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetHourlyActivePlayers`
|
|
18949
|
+
* @summary Get hourly active players time series
|
|
17472
18950
|
* @param {string} [startDate]
|
|
17473
18951
|
* @param {string} [endDate]
|
|
17474
18952
|
* @param {string} [gameServerId]
|
|
17475
|
-
* @param {
|
|
18953
|
+
* @param {AnalyticsControllerGetHourlyActivePlayersPeriodEnum} [period]
|
|
17476
18954
|
* @param {*} [options] Override http request option.
|
|
17477
18955
|
* @throws {RequiredError}
|
|
17478
18956
|
*/
|
|
17479
|
-
|
|
18957
|
+
analyticsControllerGetHourlyActivePlayers: async (
|
|
17480
18958
|
startDate?: string,
|
|
17481
18959
|
endDate?: string,
|
|
17482
18960
|
gameServerId?: string,
|
|
17483
|
-
period?:
|
|
18961
|
+
period?: AnalyticsControllerGetHourlyActivePlayersPeriodEnum,
|
|
17484
18962
|
options: RawAxiosRequestConfig = {},
|
|
17485
18963
|
): Promise<RequestArgs> => {
|
|
17486
|
-
const localVarPath = `/analytics/players/
|
|
18964
|
+
const localVarPath = `/analytics/players/hourly-active`;
|
|
17487
18965
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17488
18966
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17489
18967
|
let baseOptions;
|
|
@@ -17523,53 +19001,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17523
19001
|
};
|
|
17524
19002
|
},
|
|
17525
19003
|
/**
|
|
17526
|
-
*
|
|
17527
|
-
* @summary Get
|
|
17528
|
-
* @param {*} [options] Override http request option.
|
|
17529
|
-
* @throws {RequiredError}
|
|
17530
|
-
*/
|
|
17531
|
-
analyticsControllerGetEntityCounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17532
|
-
const localVarPath = `/analytics/overview/entity-counts`;
|
|
17533
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17534
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17535
|
-
let baseOptions;
|
|
17536
|
-
if (configuration) {
|
|
17537
|
-
baseOptions = configuration.baseOptions;
|
|
17538
|
-
}
|
|
17539
|
-
|
|
17540
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17541
|
-
const localVarHeaderParameter = {} as any;
|
|
17542
|
-
const localVarQueryParameter = {} as any;
|
|
17543
|
-
|
|
17544
|
-
// authentication domainAuth required
|
|
17545
|
-
|
|
17546
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17547
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17548
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17549
|
-
|
|
17550
|
-
return {
|
|
17551
|
-
url: toPathString(localVarUrlObj),
|
|
17552
|
-
options: localVarRequestOptions,
|
|
17553
|
-
};
|
|
17554
|
-
},
|
|
17555
|
-
/**
|
|
17556
|
-
* Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetEventVolume`
|
|
17557
|
-
* @summary Get event volume time series
|
|
19004
|
+
* Returns orders + revenue bucketed to match the selected period. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetHourlyOrderVolume`
|
|
19005
|
+
* @summary Get shop order volume + revenue over time
|
|
17558
19006
|
* @param {string} [startDate]
|
|
17559
19007
|
* @param {string} [endDate]
|
|
17560
19008
|
* @param {string} [gameServerId]
|
|
17561
|
-
* @param {
|
|
19009
|
+
* @param {AnalyticsControllerGetHourlyOrderVolumePeriodEnum} [period]
|
|
17562
19010
|
* @param {*} [options] Override http request option.
|
|
17563
19011
|
* @throws {RequiredError}
|
|
17564
19012
|
*/
|
|
17565
|
-
|
|
19013
|
+
analyticsControllerGetHourlyOrderVolume: async (
|
|
17566
19014
|
startDate?: string,
|
|
17567
19015
|
endDate?: string,
|
|
17568
19016
|
gameServerId?: string,
|
|
17569
|
-
period?:
|
|
19017
|
+
period?: AnalyticsControllerGetHourlyOrderVolumePeriodEnum,
|
|
17570
19018
|
options: RawAxiosRequestConfig = {},
|
|
17571
19019
|
): Promise<RequestArgs> => {
|
|
17572
|
-
const localVarPath = `/analytics/
|
|
19020
|
+
const localVarPath = `/analytics/shop/hourly-orders`;
|
|
17573
19021
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17574
19022
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17575
19023
|
let baseOptions;
|
|
@@ -17609,23 +19057,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17609
19057
|
};
|
|
17610
19058
|
},
|
|
17611
19059
|
/**
|
|
17612
|
-
*
|
|
17613
|
-
* @summary Get
|
|
19060
|
+
* Daily counts of player-banned and player-unbanned events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModerationTimeseries`
|
|
19061
|
+
* @summary Get moderation timeseries
|
|
17614
19062
|
* @param {string} [startDate]
|
|
17615
19063
|
* @param {string} [endDate]
|
|
17616
19064
|
* @param {string} [gameServerId]
|
|
17617
|
-
* @param {
|
|
19065
|
+
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
17618
19066
|
* @param {*} [options] Override http request option.
|
|
17619
19067
|
* @throws {RequiredError}
|
|
17620
19068
|
*/
|
|
17621
|
-
|
|
19069
|
+
analyticsControllerGetModerationTimeseries: async (
|
|
17622
19070
|
startDate?: string,
|
|
17623
19071
|
endDate?: string,
|
|
17624
19072
|
gameServerId?: string,
|
|
17625
|
-
period?:
|
|
19073
|
+
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
17626
19074
|
options: RawAxiosRequestConfig = {},
|
|
17627
19075
|
): Promise<RequestArgs> => {
|
|
17628
|
-
const localVarPath = `/analytics/players/
|
|
19076
|
+
const localVarPath = `/analytics/players/moderation`;
|
|
17629
19077
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17630
19078
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17631
19079
|
let baseOptions;
|
|
@@ -17665,23 +19113,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17665
19113
|
};
|
|
17666
19114
|
},
|
|
17667
19115
|
/**
|
|
17668
|
-
*
|
|
17669
|
-
* @summary Get
|
|
19116
|
+
* Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
19117
|
+
* @summary Get module health scores
|
|
17670
19118
|
* @param {string} [startDate]
|
|
17671
19119
|
* @param {string} [endDate]
|
|
17672
19120
|
* @param {string} [gameServerId]
|
|
17673
|
-
* @param {
|
|
19121
|
+
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
17674
19122
|
* @param {*} [options] Override http request option.
|
|
17675
19123
|
* @throws {RequiredError}
|
|
17676
19124
|
*/
|
|
17677
|
-
|
|
19125
|
+
analyticsControllerGetModuleHealth: async (
|
|
17678
19126
|
startDate?: string,
|
|
17679
19127
|
endDate?: string,
|
|
17680
19128
|
gameServerId?: string,
|
|
17681
|
-
period?:
|
|
19129
|
+
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
17682
19130
|
options: RawAxiosRequestConfig = {},
|
|
17683
19131
|
): Promise<RequestArgs> => {
|
|
17684
|
-
const localVarPath = `/analytics/
|
|
19132
|
+
const localVarPath = `/analytics/modules/health`;
|
|
17685
19133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17686
19134
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17687
19135
|
let baseOptions;
|
|
@@ -17721,23 +19169,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17721
19169
|
};
|
|
17722
19170
|
},
|
|
17723
19171
|
/**
|
|
17724
|
-
*
|
|
17725
|
-
* @summary Get
|
|
19172
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
19173
|
+
* @summary Get per-installation module KPIs
|
|
19174
|
+
* @param {string} gameServerId
|
|
19175
|
+
* @param {string} moduleId
|
|
17726
19176
|
* @param {string} [startDate]
|
|
17727
19177
|
* @param {string} [endDate]
|
|
17728
|
-
* @param {
|
|
17729
|
-
* @param {AnalyticsControllerGetModerationTimeseriesPeriodEnum} [period]
|
|
19178
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
17730
19179
|
* @param {*} [options] Override http request option.
|
|
17731
19180
|
* @throws {RequiredError}
|
|
17732
19181
|
*/
|
|
17733
|
-
|
|
19182
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19183
|
+
gameServerId: string,
|
|
19184
|
+
moduleId: string,
|
|
17734
19185
|
startDate?: string,
|
|
17735
19186
|
endDate?: string,
|
|
17736
|
-
|
|
17737
|
-
period?: AnalyticsControllerGetModerationTimeseriesPeriodEnum,
|
|
19187
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
17738
19188
|
options: RawAxiosRequestConfig = {},
|
|
17739
19189
|
): Promise<RequestArgs> => {
|
|
17740
|
-
|
|
19190
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19191
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19192
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19193
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19194
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
17741
19195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17742
19196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17743
19197
|
let baseOptions;
|
|
@@ -17763,60 +19217,8 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17763
19217
|
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17764
19218
|
}
|
|
17765
19219
|
|
|
17766
|
-
if (
|
|
17767
|
-
localVarQueryParameter['
|
|
17768
|
-
}
|
|
17769
|
-
|
|
17770
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17771
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17772
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17773
|
-
|
|
17774
|
-
return {
|
|
17775
|
-
url: toPathString(localVarUrlObj),
|
|
17776
|
-
options: localVarRequestOptions,
|
|
17777
|
-
};
|
|
17778
|
-
},
|
|
17779
|
-
/**
|
|
17780
|
-
* Normalized 0-1 scores across five dimensions per top module for radar visualization. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleHealth`
|
|
17781
|
-
* @summary Get module health scores
|
|
17782
|
-
* @param {string} [startDate]
|
|
17783
|
-
* @param {string} [endDate]
|
|
17784
|
-
* @param {string} [gameServerId]
|
|
17785
|
-
* @param {AnalyticsControllerGetModuleHealthPeriodEnum} [period]
|
|
17786
|
-
* @param {*} [options] Override http request option.
|
|
17787
|
-
* @throws {RequiredError}
|
|
17788
|
-
*/
|
|
17789
|
-
analyticsControllerGetModuleHealth: async (
|
|
17790
|
-
startDate?: string,
|
|
17791
|
-
endDate?: string,
|
|
17792
|
-
gameServerId?: string,
|
|
17793
|
-
period?: AnalyticsControllerGetModuleHealthPeriodEnum,
|
|
17794
|
-
options: RawAxiosRequestConfig = {},
|
|
17795
|
-
): Promise<RequestArgs> => {
|
|
17796
|
-
const localVarPath = `/analytics/modules/health`;
|
|
17797
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17798
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17799
|
-
let baseOptions;
|
|
17800
|
-
if (configuration) {
|
|
17801
|
-
baseOptions = configuration.baseOptions;
|
|
17802
|
-
}
|
|
17803
|
-
|
|
17804
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
17805
|
-
const localVarHeaderParameter = {} as any;
|
|
17806
|
-
const localVarQueryParameter = {} as any;
|
|
17807
|
-
|
|
17808
|
-
// authentication domainAuth required
|
|
17809
|
-
|
|
17810
|
-
if (startDate !== undefined) {
|
|
17811
|
-
localVarQueryParameter['startDate'] = startDate;
|
|
17812
|
-
}
|
|
17813
|
-
|
|
17814
|
-
if (endDate !== undefined) {
|
|
17815
|
-
localVarQueryParameter['endDate'] = endDate;
|
|
17816
|
-
}
|
|
17817
|
-
|
|
17818
|
-
if (gameServerId !== undefined) {
|
|
17819
|
-
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19220
|
+
if (moduleId !== undefined) {
|
|
19221
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
17820
19222
|
}
|
|
17821
19223
|
|
|
17822
19224
|
if (period !== undefined) {
|
|
@@ -19466,6 +20868,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19466
20868
|
configuration,
|
|
19467
20869
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19468
20870
|
},
|
|
20871
|
+
/**
|
|
20872
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
20873
|
+
* @summary Get per-installation module KPIs
|
|
20874
|
+
* @param {string} gameServerId
|
|
20875
|
+
* @param {string} moduleId
|
|
20876
|
+
* @param {string} [startDate]
|
|
20877
|
+
* @param {string} [endDate]
|
|
20878
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20879
|
+
* @param {*} [options] Override http request option.
|
|
20880
|
+
* @throws {RequiredError}
|
|
20881
|
+
*/
|
|
20882
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20883
|
+
gameServerId: string,
|
|
20884
|
+
moduleId: string,
|
|
20885
|
+
startDate?: string,
|
|
20886
|
+
endDate?: string,
|
|
20887
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20888
|
+
options?: RawAxiosRequestConfig,
|
|
20889
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20890
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20891
|
+
gameServerId,
|
|
20892
|
+
moduleId,
|
|
20893
|
+
startDate,
|
|
20894
|
+
endDate,
|
|
20895
|
+
period,
|
|
20896
|
+
options,
|
|
20897
|
+
);
|
|
20898
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20899
|
+
const localVarOperationServerBasePath =
|
|
20900
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20901
|
+
?.url;
|
|
20902
|
+
return (axios, basePath) =>
|
|
20903
|
+
createRequestFunction(
|
|
20904
|
+
localVarAxiosArgs,
|
|
20905
|
+
globalAxios,
|
|
20906
|
+
BASE_PATH,
|
|
20907
|
+
configuration,
|
|
20908
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20909
|
+
},
|
|
19469
20910
|
/**
|
|
19470
20911
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19471
20912
|
* @summary Get module item failure aggregate
|
|
@@ -20487,6 +21928,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20487
21928
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20488
21929
|
.then((request) => request(axios, basePath));
|
|
20489
21930
|
},
|
|
21931
|
+
/**
|
|
21932
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
21933
|
+
* @summary Get per-installation module KPIs
|
|
21934
|
+
* @param {string} gameServerId
|
|
21935
|
+
* @param {string} moduleId
|
|
21936
|
+
* @param {string} [startDate]
|
|
21937
|
+
* @param {string} [endDate]
|
|
21938
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21939
|
+
* @param {*} [options] Override http request option.
|
|
21940
|
+
* @throws {RequiredError}
|
|
21941
|
+
*/
|
|
21942
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
21943
|
+
gameServerId: string,
|
|
21944
|
+
moduleId: string,
|
|
21945
|
+
startDate?: string,
|
|
21946
|
+
endDate?: string,
|
|
21947
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21948
|
+
options?: RawAxiosRequestConfig,
|
|
21949
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
21950
|
+
return localVarFp
|
|
21951
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
21952
|
+
.then((request) => request(axios, basePath));
|
|
21953
|
+
},
|
|
20490
21954
|
/**
|
|
20491
21955
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
20492
21956
|
* @summary Get module item failure aggregate
|
|
@@ -21229,6 +22693,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21229
22693
|
.then((request) => request(this.axios, this.basePath));
|
|
21230
22694
|
}
|
|
21231
22695
|
|
|
22696
|
+
/**
|
|
22697
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
22698
|
+
* @summary Get per-installation module KPIs
|
|
22699
|
+
* @param {string} gameServerId
|
|
22700
|
+
* @param {string} moduleId
|
|
22701
|
+
* @param {string} [startDate]
|
|
22702
|
+
* @param {string} [endDate]
|
|
22703
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22704
|
+
* @param {*} [options] Override http request option.
|
|
22705
|
+
* @throws {RequiredError}
|
|
22706
|
+
* @memberof AnalyticsApi
|
|
22707
|
+
*/
|
|
22708
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22709
|
+
gameServerId: string,
|
|
22710
|
+
moduleId: string,
|
|
22711
|
+
startDate?: string,
|
|
22712
|
+
endDate?: string,
|
|
22713
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22714
|
+
options?: RawAxiosRequestConfig,
|
|
22715
|
+
) {
|
|
22716
|
+
return AnalyticsApiFp(this.configuration)
|
|
22717
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22718
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22719
|
+
}
|
|
22720
|
+
|
|
21232
22721
|
/**
|
|
21233
22722
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
21234
22723
|
* @summary Get module item failure aggregate
|
|
@@ -21848,6 +23337,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
21848
23337
|
/**
|
|
21849
23338
|
* @export
|
|
21850
23339
|
*/
|
|
23340
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23341
|
+
_24h: '24h',
|
|
23342
|
+
_7d: '7d',
|
|
23343
|
+
_30d: '30d',
|
|
23344
|
+
_90d: '90d',
|
|
23345
|
+
} as const;
|
|
23346
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23347
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23348
|
+
/**
|
|
23349
|
+
* @export
|
|
23350
|
+
*/
|
|
21851
23351
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
21852
23352
|
_24h: '24h',
|
|
21853
23353
|
_7d: '7d',
|
|
@@ -22077,6 +23577,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22077
23577
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22078
23578
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22079
23579
|
|
|
23580
|
+
/**
|
|
23581
|
+
* AuthApi - axios parameter creator
|
|
23582
|
+
* @export
|
|
23583
|
+
*/
|
|
23584
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23585
|
+
return {
|
|
23586
|
+
/**
|
|
23587
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23588
|
+
* @summary Account
|
|
23589
|
+
* @param {*} [options] Override http request option.
|
|
23590
|
+
* @throws {RequiredError}
|
|
23591
|
+
*/
|
|
23592
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23593
|
+
const localVarPath = `/auth/account`;
|
|
23594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23596
|
+
let baseOptions;
|
|
23597
|
+
if (configuration) {
|
|
23598
|
+
baseOptions = configuration.baseOptions;
|
|
23599
|
+
}
|
|
23600
|
+
|
|
23601
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23602
|
+
const localVarHeaderParameter = {} as any;
|
|
23603
|
+
const localVarQueryParameter = {} as any;
|
|
23604
|
+
|
|
23605
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23606
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23607
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23608
|
+
|
|
23609
|
+
return {
|
|
23610
|
+
url: toPathString(localVarUrlObj),
|
|
23611
|
+
options: localVarRequestOptions,
|
|
23612
|
+
};
|
|
23613
|
+
},
|
|
23614
|
+
/**
|
|
23615
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23616
|
+
* @summary Callback
|
|
23617
|
+
* @param {*} [options] Override http request option.
|
|
23618
|
+
* @throws {RequiredError}
|
|
23619
|
+
*/
|
|
23620
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23621
|
+
const localVarPath = `/auth/callback`;
|
|
23622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23624
|
+
let baseOptions;
|
|
23625
|
+
if (configuration) {
|
|
23626
|
+
baseOptions = configuration.baseOptions;
|
|
23627
|
+
}
|
|
23628
|
+
|
|
23629
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23630
|
+
const localVarHeaderParameter = {} as any;
|
|
23631
|
+
const localVarQueryParameter = {} as any;
|
|
23632
|
+
|
|
23633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23635
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23636
|
+
|
|
23637
|
+
return {
|
|
23638
|
+
url: toPathString(localVarUrlObj),
|
|
23639
|
+
options: localVarRequestOptions,
|
|
23640
|
+
};
|
|
23641
|
+
},
|
|
23642
|
+
/**
|
|
23643
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23644
|
+
* @summary Login
|
|
23645
|
+
* @param {string} [redirect]
|
|
23646
|
+
* @param {*} [options] Override http request option.
|
|
23647
|
+
* @throws {RequiredError}
|
|
23648
|
+
*/
|
|
23649
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23650
|
+
const localVarPath = `/auth/login`;
|
|
23651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23652
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23653
|
+
let baseOptions;
|
|
23654
|
+
if (configuration) {
|
|
23655
|
+
baseOptions = configuration.baseOptions;
|
|
23656
|
+
}
|
|
23657
|
+
|
|
23658
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23659
|
+
const localVarHeaderParameter = {} as any;
|
|
23660
|
+
const localVarQueryParameter = {} as any;
|
|
23661
|
+
|
|
23662
|
+
if (redirect !== undefined) {
|
|
23663
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23664
|
+
}
|
|
23665
|
+
|
|
23666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23668
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23669
|
+
|
|
23670
|
+
return {
|
|
23671
|
+
url: toPathString(localVarUrlObj),
|
|
23672
|
+
options: localVarRequestOptions,
|
|
23673
|
+
};
|
|
23674
|
+
},
|
|
23675
|
+
/**
|
|
23676
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23677
|
+
* @summary Logout
|
|
23678
|
+
* @param {string} [redirect]
|
|
23679
|
+
* @param {*} [options] Override http request option.
|
|
23680
|
+
* @throws {RequiredError}
|
|
23681
|
+
*/
|
|
23682
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23683
|
+
const localVarPath = `/auth/logout`;
|
|
23684
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23686
|
+
let baseOptions;
|
|
23687
|
+
if (configuration) {
|
|
23688
|
+
baseOptions = configuration.baseOptions;
|
|
23689
|
+
}
|
|
23690
|
+
|
|
23691
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23692
|
+
const localVarHeaderParameter = {} as any;
|
|
23693
|
+
const localVarQueryParameter = {} as any;
|
|
23694
|
+
|
|
23695
|
+
if (redirect !== undefined) {
|
|
23696
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23697
|
+
}
|
|
23698
|
+
|
|
23699
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23700
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23701
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23702
|
+
|
|
23703
|
+
return {
|
|
23704
|
+
url: toPathString(localVarUrlObj),
|
|
23705
|
+
options: localVarRequestOptions,
|
|
23706
|
+
};
|
|
23707
|
+
},
|
|
23708
|
+
};
|
|
23709
|
+
};
|
|
23710
|
+
|
|
23711
|
+
/**
|
|
23712
|
+
* AuthApi - functional programming interface
|
|
23713
|
+
* @export
|
|
23714
|
+
*/
|
|
23715
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23716
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23717
|
+
return {
|
|
23718
|
+
/**
|
|
23719
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23720
|
+
* @summary Account
|
|
23721
|
+
* @param {*} [options] Override http request option.
|
|
23722
|
+
* @throws {RequiredError}
|
|
23723
|
+
*/
|
|
23724
|
+
async authControllerAccount(
|
|
23725
|
+
options?: RawAxiosRequestConfig,
|
|
23726
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23728
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23729
|
+
const localVarOperationServerBasePath =
|
|
23730
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23731
|
+
return (axios, basePath) =>
|
|
23732
|
+
createRequestFunction(
|
|
23733
|
+
localVarAxiosArgs,
|
|
23734
|
+
globalAxios,
|
|
23735
|
+
BASE_PATH,
|
|
23736
|
+
configuration,
|
|
23737
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23738
|
+
},
|
|
23739
|
+
/**
|
|
23740
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23741
|
+
* @summary Callback
|
|
23742
|
+
* @param {*} [options] Override http request option.
|
|
23743
|
+
* @throws {RequiredError}
|
|
23744
|
+
*/
|
|
23745
|
+
async authControllerCallback(
|
|
23746
|
+
options?: RawAxiosRequestConfig,
|
|
23747
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23748
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23749
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23750
|
+
const localVarOperationServerBasePath =
|
|
23751
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23752
|
+
return (axios, basePath) =>
|
|
23753
|
+
createRequestFunction(
|
|
23754
|
+
localVarAxiosArgs,
|
|
23755
|
+
globalAxios,
|
|
23756
|
+
BASE_PATH,
|
|
23757
|
+
configuration,
|
|
23758
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23759
|
+
},
|
|
23760
|
+
/**
|
|
23761
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23762
|
+
* @summary Login
|
|
23763
|
+
* @param {string} [redirect]
|
|
23764
|
+
* @param {*} [options] Override http request option.
|
|
23765
|
+
* @throws {RequiredError}
|
|
23766
|
+
*/
|
|
23767
|
+
async authControllerLogin(
|
|
23768
|
+
redirect?: string,
|
|
23769
|
+
options?: RawAxiosRequestConfig,
|
|
23770
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23772
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23773
|
+
const localVarOperationServerBasePath =
|
|
23774
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23775
|
+
return (axios, basePath) =>
|
|
23776
|
+
createRequestFunction(
|
|
23777
|
+
localVarAxiosArgs,
|
|
23778
|
+
globalAxios,
|
|
23779
|
+
BASE_PATH,
|
|
23780
|
+
configuration,
|
|
23781
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23782
|
+
},
|
|
23783
|
+
/**
|
|
23784
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23785
|
+
* @summary Logout
|
|
23786
|
+
* @param {string} [redirect]
|
|
23787
|
+
* @param {*} [options] Override http request option.
|
|
23788
|
+
* @throws {RequiredError}
|
|
23789
|
+
*/
|
|
23790
|
+
async authControllerLogout(
|
|
23791
|
+
redirect?: string,
|
|
23792
|
+
options?: RawAxiosRequestConfig,
|
|
23793
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23795
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23796
|
+
const localVarOperationServerBasePath =
|
|
23797
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23798
|
+
return (axios, basePath) =>
|
|
23799
|
+
createRequestFunction(
|
|
23800
|
+
localVarAxiosArgs,
|
|
23801
|
+
globalAxios,
|
|
23802
|
+
BASE_PATH,
|
|
23803
|
+
configuration,
|
|
23804
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23805
|
+
},
|
|
23806
|
+
};
|
|
23807
|
+
};
|
|
23808
|
+
|
|
23809
|
+
/**
|
|
23810
|
+
* AuthApi - factory interface
|
|
23811
|
+
* @export
|
|
23812
|
+
*/
|
|
23813
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23814
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23815
|
+
return {
|
|
23816
|
+
/**
|
|
23817
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23818
|
+
* @summary Account
|
|
23819
|
+
* @param {*} [options] Override http request option.
|
|
23820
|
+
* @throws {RequiredError}
|
|
23821
|
+
*/
|
|
23822
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23823
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23824
|
+
},
|
|
23825
|
+
/**
|
|
23826
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23827
|
+
* @summary Callback
|
|
23828
|
+
* @param {*} [options] Override http request option.
|
|
23829
|
+
* @throws {RequiredError}
|
|
23830
|
+
*/
|
|
23831
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23832
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23833
|
+
},
|
|
23834
|
+
/**
|
|
23835
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23836
|
+
* @summary Login
|
|
23837
|
+
* @param {string} [redirect]
|
|
23838
|
+
* @param {*} [options] Override http request option.
|
|
23839
|
+
* @throws {RequiredError}
|
|
23840
|
+
*/
|
|
23841
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23842
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23843
|
+
},
|
|
23844
|
+
/**
|
|
23845
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23846
|
+
* @summary Logout
|
|
23847
|
+
* @param {string} [redirect]
|
|
23848
|
+
* @param {*} [options] Override http request option.
|
|
23849
|
+
* @throws {RequiredError}
|
|
23850
|
+
*/
|
|
23851
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23852
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23853
|
+
},
|
|
23854
|
+
};
|
|
23855
|
+
};
|
|
23856
|
+
|
|
23857
|
+
/**
|
|
23858
|
+
* AuthApi - object-oriented interface
|
|
23859
|
+
* @export
|
|
23860
|
+
* @class AuthApi
|
|
23861
|
+
* @extends {BaseAPI}
|
|
23862
|
+
*/
|
|
23863
|
+
export class AuthApi extends BaseAPI {
|
|
23864
|
+
/**
|
|
23865
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23866
|
+
* @summary Account
|
|
23867
|
+
* @param {*} [options] Override http request option.
|
|
23868
|
+
* @throws {RequiredError}
|
|
23869
|
+
* @memberof AuthApi
|
|
23870
|
+
*/
|
|
23871
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23872
|
+
return AuthApiFp(this.configuration)
|
|
23873
|
+
.authControllerAccount(options)
|
|
23874
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23875
|
+
}
|
|
23876
|
+
|
|
23877
|
+
/**
|
|
23878
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23879
|
+
* @summary Callback
|
|
23880
|
+
* @param {*} [options] Override http request option.
|
|
23881
|
+
* @throws {RequiredError}
|
|
23882
|
+
* @memberof AuthApi
|
|
23883
|
+
*/
|
|
23884
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23885
|
+
return AuthApiFp(this.configuration)
|
|
23886
|
+
.authControllerCallback(options)
|
|
23887
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23888
|
+
}
|
|
23889
|
+
|
|
23890
|
+
/**
|
|
23891
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23892
|
+
* @summary Login
|
|
23893
|
+
* @param {string} [redirect]
|
|
23894
|
+
* @param {*} [options] Override http request option.
|
|
23895
|
+
* @throws {RequiredError}
|
|
23896
|
+
* @memberof AuthApi
|
|
23897
|
+
*/
|
|
23898
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23899
|
+
return AuthApiFp(this.configuration)
|
|
23900
|
+
.authControllerLogin(redirect, options)
|
|
23901
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23902
|
+
}
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23906
|
+
* @summary Logout
|
|
23907
|
+
* @param {string} [redirect]
|
|
23908
|
+
* @param {*} [options] Override http request option.
|
|
23909
|
+
* @throws {RequiredError}
|
|
23910
|
+
* @memberof AuthApi
|
|
23911
|
+
*/
|
|
23912
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23913
|
+
return AuthApiFp(this.configuration)
|
|
23914
|
+
.authControllerLogout(redirect, options)
|
|
23915
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23916
|
+
}
|
|
23917
|
+
}
|
|
23918
|
+
|
|
22080
23919
|
/**
|
|
22081
23920
|
* CommandApi - axios parameter creator
|
|
22082
23921
|
* @export
|
|
@@ -34326,6 +36165,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
34326
36165
|
}
|
|
34327
36166
|
}
|
|
34328
36167
|
|
|
36168
|
+
/**
|
|
36169
|
+
* RegistryApi - axios parameter creator
|
|
36170
|
+
* @export
|
|
36171
|
+
*/
|
|
36172
|
+
export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36173
|
+
return {
|
|
36174
|
+
/**
|
|
36175
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36176
|
+
* @summary Install a module from a registry
|
|
36177
|
+
* @param {string} id
|
|
36178
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36179
|
+
* @param {*} [options] Override http request option.
|
|
36180
|
+
* @throws {RequiredError}
|
|
36181
|
+
*/
|
|
36182
|
+
registryControllerInstall: async (
|
|
36183
|
+
id: string,
|
|
36184
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36185
|
+
options: RawAxiosRequestConfig = {},
|
|
36186
|
+
): Promise<RequestArgs> => {
|
|
36187
|
+
// verify required parameter 'id' is not null or undefined
|
|
36188
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
36189
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36190
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36191
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36192
|
+
let baseOptions;
|
|
36193
|
+
if (configuration) {
|
|
36194
|
+
baseOptions = configuration.baseOptions;
|
|
36195
|
+
}
|
|
36196
|
+
|
|
36197
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36198
|
+
const localVarHeaderParameter = {} as any;
|
|
36199
|
+
const localVarQueryParameter = {} as any;
|
|
36200
|
+
|
|
36201
|
+
// authentication domainAuth required
|
|
36202
|
+
|
|
36203
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36204
|
+
|
|
36205
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36206
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36207
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36208
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
36209
|
+
|
|
36210
|
+
return {
|
|
36211
|
+
url: toPathString(localVarUrlObj),
|
|
36212
|
+
options: localVarRequestOptions,
|
|
36213
|
+
};
|
|
36214
|
+
},
|
|
36215
|
+
/**
|
|
36216
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36217
|
+
* @summary List subscribed registries
|
|
36218
|
+
* @param {*} [options] Override http request option.
|
|
36219
|
+
* @throws {RequiredError}
|
|
36220
|
+
*/
|
|
36221
|
+
registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36222
|
+
const localVarPath = `/registry`;
|
|
36223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36225
|
+
let baseOptions;
|
|
36226
|
+
if (configuration) {
|
|
36227
|
+
baseOptions = configuration.baseOptions;
|
|
36228
|
+
}
|
|
36229
|
+
|
|
36230
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
36231
|
+
const localVarHeaderParameter = {} as any;
|
|
36232
|
+
const localVarQueryParameter = {} as any;
|
|
36233
|
+
|
|
36234
|
+
// authentication domainAuth required
|
|
36235
|
+
|
|
36236
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36237
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36238
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36239
|
+
|
|
36240
|
+
return {
|
|
36241
|
+
url: toPathString(localVarUrlObj),
|
|
36242
|
+
options: localVarRequestOptions,
|
|
36243
|
+
};
|
|
36244
|
+
},
|
|
36245
|
+
/**
|
|
36246
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36247
|
+
* @summary Refresh registry manifest
|
|
36248
|
+
* @param {string} id
|
|
36249
|
+
* @param {*} [options] Override http request option.
|
|
36250
|
+
* @throws {RequiredError}
|
|
36251
|
+
*/
|
|
36252
|
+
registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36253
|
+
// verify required parameter 'id' is not null or undefined
|
|
36254
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
36255
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36258
|
+
let baseOptions;
|
|
36259
|
+
if (configuration) {
|
|
36260
|
+
baseOptions = configuration.baseOptions;
|
|
36261
|
+
}
|
|
36262
|
+
|
|
36263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36264
|
+
const localVarHeaderParameter = {} as any;
|
|
36265
|
+
const localVarQueryParameter = {} as any;
|
|
36266
|
+
|
|
36267
|
+
// authentication domainAuth required
|
|
36268
|
+
|
|
36269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36271
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36272
|
+
|
|
36273
|
+
return {
|
|
36274
|
+
url: toPathString(localVarUrlObj),
|
|
36275
|
+
options: localVarRequestOptions,
|
|
36276
|
+
};
|
|
36277
|
+
},
|
|
36278
|
+
/**
|
|
36279
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36280
|
+
* @summary Subscribe to a registry
|
|
36281
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36282
|
+
* @param {*} [options] Override http request option.
|
|
36283
|
+
* @throws {RequiredError}
|
|
36284
|
+
*/
|
|
36285
|
+
registryControllerSubscribe: async (
|
|
36286
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36287
|
+
options: RawAxiosRequestConfig = {},
|
|
36288
|
+
): Promise<RequestArgs> => {
|
|
36289
|
+
const localVarPath = `/registry`;
|
|
36290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36291
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36292
|
+
let baseOptions;
|
|
36293
|
+
if (configuration) {
|
|
36294
|
+
baseOptions = configuration.baseOptions;
|
|
36295
|
+
}
|
|
36296
|
+
|
|
36297
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36298
|
+
const localVarHeaderParameter = {} as any;
|
|
36299
|
+
const localVarQueryParameter = {} as any;
|
|
36300
|
+
|
|
36301
|
+
// authentication domainAuth required
|
|
36302
|
+
|
|
36303
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36304
|
+
|
|
36305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36307
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36308
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
36309
|
+
|
|
36310
|
+
return {
|
|
36311
|
+
url: toPathString(localVarUrlObj),
|
|
36312
|
+
options: localVarRequestOptions,
|
|
36313
|
+
};
|
|
36314
|
+
},
|
|
36315
|
+
/**
|
|
36316
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36317
|
+
* @summary Unsubscribe from a registry
|
|
36318
|
+
* @param {string} id
|
|
36319
|
+
* @param {*} [options] Override http request option.
|
|
36320
|
+
* @throws {RequiredError}
|
|
36321
|
+
*/
|
|
36322
|
+
registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36323
|
+
// verify required parameter 'id' is not null or undefined
|
|
36324
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
36325
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36326
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36327
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36328
|
+
let baseOptions;
|
|
36329
|
+
if (configuration) {
|
|
36330
|
+
baseOptions = configuration.baseOptions;
|
|
36331
|
+
}
|
|
36332
|
+
|
|
36333
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
36334
|
+
const localVarHeaderParameter = {} as any;
|
|
36335
|
+
const localVarQueryParameter = {} as any;
|
|
36336
|
+
|
|
36337
|
+
// authentication domainAuth required
|
|
36338
|
+
|
|
36339
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36341
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36342
|
+
|
|
36343
|
+
return {
|
|
36344
|
+
url: toPathString(localVarUrlObj),
|
|
36345
|
+
options: localVarRequestOptions,
|
|
36346
|
+
};
|
|
36347
|
+
},
|
|
36348
|
+
};
|
|
36349
|
+
};
|
|
36350
|
+
|
|
36351
|
+
/**
|
|
36352
|
+
* RegistryApi - functional programming interface
|
|
36353
|
+
* @export
|
|
36354
|
+
*/
|
|
36355
|
+
export const RegistryApiFp = function (configuration?: Configuration) {
|
|
36356
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
36357
|
+
return {
|
|
36358
|
+
/**
|
|
36359
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36360
|
+
* @summary Install a module from a registry
|
|
36361
|
+
* @param {string} id
|
|
36362
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36363
|
+
* @param {*} [options] Override http request option.
|
|
36364
|
+
* @throws {RequiredError}
|
|
36365
|
+
*/
|
|
36366
|
+
async registryControllerInstall(
|
|
36367
|
+
id: string,
|
|
36368
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36369
|
+
options?: RawAxiosRequestConfig,
|
|
36370
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
36371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
|
|
36372
|
+
id,
|
|
36373
|
+
registryInstallBody,
|
|
36374
|
+
options,
|
|
36375
|
+
);
|
|
36376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36377
|
+
const localVarOperationServerBasePath =
|
|
36378
|
+
operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
36379
|
+
return (axios, basePath) =>
|
|
36380
|
+
createRequestFunction(
|
|
36381
|
+
localVarAxiosArgs,
|
|
36382
|
+
globalAxios,
|
|
36383
|
+
BASE_PATH,
|
|
36384
|
+
configuration,
|
|
36385
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36386
|
+
},
|
|
36387
|
+
/**
|
|
36388
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36389
|
+
* @summary List subscribed registries
|
|
36390
|
+
* @param {*} [options] Override http request option.
|
|
36391
|
+
* @throws {RequiredError}
|
|
36392
|
+
*/
|
|
36393
|
+
async registryControllerList(
|
|
36394
|
+
options?: RawAxiosRequestConfig,
|
|
36395
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
|
|
36396
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
36397
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36398
|
+
const localVarOperationServerBasePath =
|
|
36399
|
+
operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
36400
|
+
return (axios, basePath) =>
|
|
36401
|
+
createRequestFunction(
|
|
36402
|
+
localVarAxiosArgs,
|
|
36403
|
+
globalAxios,
|
|
36404
|
+
BASE_PATH,
|
|
36405
|
+
configuration,
|
|
36406
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36407
|
+
},
|
|
36408
|
+
/**
|
|
36409
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36410
|
+
* @summary Refresh registry manifest
|
|
36411
|
+
* @param {string} id
|
|
36412
|
+
* @param {*} [options] Override http request option.
|
|
36413
|
+
* @throws {RequiredError}
|
|
36414
|
+
*/
|
|
36415
|
+
async registryControllerRefresh(
|
|
36416
|
+
id: string,
|
|
36417
|
+
options?: RawAxiosRequestConfig,
|
|
36418
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
36419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
36420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36421
|
+
const localVarOperationServerBasePath =
|
|
36422
|
+
operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
36423
|
+
return (axios, basePath) =>
|
|
36424
|
+
createRequestFunction(
|
|
36425
|
+
localVarAxiosArgs,
|
|
36426
|
+
globalAxios,
|
|
36427
|
+
BASE_PATH,
|
|
36428
|
+
configuration,
|
|
36429
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36430
|
+
},
|
|
36431
|
+
/**
|
|
36432
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36433
|
+
* @summary Subscribe to a registry
|
|
36434
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36435
|
+
* @param {*} [options] Override http request option.
|
|
36436
|
+
* @throws {RequiredError}
|
|
36437
|
+
*/
|
|
36438
|
+
async registryControllerSubscribe(
|
|
36439
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36440
|
+
options?: RawAxiosRequestConfig,
|
|
36441
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
36442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
|
|
36443
|
+
registrySubscribeBody,
|
|
36444
|
+
options,
|
|
36445
|
+
);
|
|
36446
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36447
|
+
const localVarOperationServerBasePath =
|
|
36448
|
+
operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
36449
|
+
return (axios, basePath) =>
|
|
36450
|
+
createRequestFunction(
|
|
36451
|
+
localVarAxiosArgs,
|
|
36452
|
+
globalAxios,
|
|
36453
|
+
BASE_PATH,
|
|
36454
|
+
configuration,
|
|
36455
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36456
|
+
},
|
|
36457
|
+
/**
|
|
36458
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36459
|
+
* @summary Unsubscribe from a registry
|
|
36460
|
+
* @param {string} id
|
|
36461
|
+
* @param {*} [options] Override http request option.
|
|
36462
|
+
* @throws {RequiredError}
|
|
36463
|
+
*/
|
|
36464
|
+
async registryControllerUnsubscribe(
|
|
36465
|
+
id: string,
|
|
36466
|
+
options?: RawAxiosRequestConfig,
|
|
36467
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
36468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
36469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36470
|
+
const localVarOperationServerBasePath =
|
|
36471
|
+
operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
36472
|
+
return (axios, basePath) =>
|
|
36473
|
+
createRequestFunction(
|
|
36474
|
+
localVarAxiosArgs,
|
|
36475
|
+
globalAxios,
|
|
36476
|
+
BASE_PATH,
|
|
36477
|
+
configuration,
|
|
36478
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36479
|
+
},
|
|
36480
|
+
};
|
|
36481
|
+
};
|
|
36482
|
+
|
|
36483
|
+
/**
|
|
36484
|
+
* RegistryApi - factory interface
|
|
36485
|
+
* @export
|
|
36486
|
+
*/
|
|
36487
|
+
export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36488
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
36489
|
+
return {
|
|
36490
|
+
/**
|
|
36491
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36492
|
+
* @summary Install a module from a registry
|
|
36493
|
+
* @param {string} id
|
|
36494
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36495
|
+
* @param {*} [options] Override http request option.
|
|
36496
|
+
* @throws {RequiredError}
|
|
36497
|
+
*/
|
|
36498
|
+
registryControllerInstall(
|
|
36499
|
+
id: string,
|
|
36500
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36501
|
+
options?: RawAxiosRequestConfig,
|
|
36502
|
+
): AxiosPromise<APIOutput> {
|
|
36503
|
+
return localVarFp
|
|
36504
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
36505
|
+
.then((request) => request(axios, basePath));
|
|
36506
|
+
},
|
|
36507
|
+
/**
|
|
36508
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36509
|
+
* @summary List subscribed registries
|
|
36510
|
+
* @param {*} [options] Override http request option.
|
|
36511
|
+
* @throws {RequiredError}
|
|
36512
|
+
*/
|
|
36513
|
+
registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
|
|
36514
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
36515
|
+
},
|
|
36516
|
+
/**
|
|
36517
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36518
|
+
* @summary Refresh registry manifest
|
|
36519
|
+
* @param {string} id
|
|
36520
|
+
* @param {*} [options] Override http request option.
|
|
36521
|
+
* @throws {RequiredError}
|
|
36522
|
+
*/
|
|
36523
|
+
registryControllerRefresh(
|
|
36524
|
+
id: string,
|
|
36525
|
+
options?: RawAxiosRequestConfig,
|
|
36526
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
36527
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
36528
|
+
},
|
|
36529
|
+
/**
|
|
36530
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36531
|
+
* @summary Subscribe to a registry
|
|
36532
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36533
|
+
* @param {*} [options] Override http request option.
|
|
36534
|
+
* @throws {RequiredError}
|
|
36535
|
+
*/
|
|
36536
|
+
registryControllerSubscribe(
|
|
36537
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36538
|
+
options?: RawAxiosRequestConfig,
|
|
36539
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
36540
|
+
return localVarFp
|
|
36541
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
36542
|
+
.then((request) => request(axios, basePath));
|
|
36543
|
+
},
|
|
36544
|
+
/**
|
|
36545
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36546
|
+
* @summary Unsubscribe from a registry
|
|
36547
|
+
* @param {string} id
|
|
36548
|
+
* @param {*} [options] Override http request option.
|
|
36549
|
+
* @throws {RequiredError}
|
|
36550
|
+
*/
|
|
36551
|
+
registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
36552
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
36553
|
+
},
|
|
36554
|
+
};
|
|
36555
|
+
};
|
|
36556
|
+
|
|
36557
|
+
/**
|
|
36558
|
+
* RegistryApi - object-oriented interface
|
|
36559
|
+
* @export
|
|
36560
|
+
* @class RegistryApi
|
|
36561
|
+
* @extends {BaseAPI}
|
|
36562
|
+
*/
|
|
36563
|
+
export class RegistryApi extends BaseAPI {
|
|
36564
|
+
/**
|
|
36565
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36566
|
+
* @summary Install a module from a registry
|
|
36567
|
+
* @param {string} id
|
|
36568
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36569
|
+
* @param {*} [options] Override http request option.
|
|
36570
|
+
* @throws {RequiredError}
|
|
36571
|
+
* @memberof RegistryApi
|
|
36572
|
+
*/
|
|
36573
|
+
public registryControllerInstall(
|
|
36574
|
+
id: string,
|
|
36575
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36576
|
+
options?: RawAxiosRequestConfig,
|
|
36577
|
+
) {
|
|
36578
|
+
return RegistryApiFp(this.configuration)
|
|
36579
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
36580
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36581
|
+
}
|
|
36582
|
+
|
|
36583
|
+
/**
|
|
36584
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36585
|
+
* @summary List subscribed registries
|
|
36586
|
+
* @param {*} [options] Override http request option.
|
|
36587
|
+
* @throws {RequiredError}
|
|
36588
|
+
* @memberof RegistryApi
|
|
36589
|
+
*/
|
|
36590
|
+
public registryControllerList(options?: RawAxiosRequestConfig) {
|
|
36591
|
+
return RegistryApiFp(this.configuration)
|
|
36592
|
+
.registryControllerList(options)
|
|
36593
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36594
|
+
}
|
|
36595
|
+
|
|
36596
|
+
/**
|
|
36597
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36598
|
+
* @summary Refresh registry manifest
|
|
36599
|
+
* @param {string} id
|
|
36600
|
+
* @param {*} [options] Override http request option.
|
|
36601
|
+
* @throws {RequiredError}
|
|
36602
|
+
* @memberof RegistryApi
|
|
36603
|
+
*/
|
|
36604
|
+
public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
|
|
36605
|
+
return RegistryApiFp(this.configuration)
|
|
36606
|
+
.registryControllerRefresh(id, options)
|
|
36607
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36608
|
+
}
|
|
36609
|
+
|
|
36610
|
+
/**
|
|
36611
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36612
|
+
* @summary Subscribe to a registry
|
|
36613
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36614
|
+
* @param {*} [options] Override http request option.
|
|
36615
|
+
* @throws {RequiredError}
|
|
36616
|
+
* @memberof RegistryApi
|
|
36617
|
+
*/
|
|
36618
|
+
public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
|
|
36619
|
+
return RegistryApiFp(this.configuration)
|
|
36620
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
36621
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36622
|
+
}
|
|
36623
|
+
|
|
36624
|
+
/**
|
|
36625
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36626
|
+
* @summary Unsubscribe from a registry
|
|
36627
|
+
* @param {string} id
|
|
36628
|
+
* @param {*} [options] Override http request option.
|
|
36629
|
+
* @throws {RequiredError}
|
|
36630
|
+
* @memberof RegistryApi
|
|
36631
|
+
*/
|
|
36632
|
+
public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
|
|
36633
|
+
return RegistryApiFp(this.configuration)
|
|
36634
|
+
.registryControllerUnsubscribe(id, options)
|
|
36635
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36636
|
+
}
|
|
36637
|
+
}
|
|
36638
|
+
|
|
34329
36639
|
/**
|
|
34330
36640
|
* RoleApi - axios parameter creator
|
|
34331
36641
|
* @export
|
|
@@ -37148,7 +39458,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
37148
39458
|
*/
|
|
37149
39459
|
async shopListingControllerImportListings(
|
|
37150
39460
|
options?: RawAxiosRequestConfig,
|
|
37151
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39461
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
37152
39462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
37153
39463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37154
39464
|
const localVarOperationServerBasePath =
|
|
@@ -37271,7 +39581,7 @@ export const ShopListingApiFactory = function (
|
|
|
37271
39581
|
* @param {*} [options] Override http request option.
|
|
37272
39582
|
* @throws {RequiredError}
|
|
37273
39583
|
*/
|
|
37274
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39584
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
37275
39585
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
37276
39586
|
},
|
|
37277
39587
|
/**
|
|
@@ -37551,17 +39861,419 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37551
39861
|
};
|
|
37552
39862
|
},
|
|
37553
39863
|
/**
|
|
37554
|
-
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
37555
|
-
* @summary Search orders
|
|
37556
|
-
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
39864
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
39865
|
+
* @summary Search orders
|
|
39866
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
39867
|
+
* @param {*} [options] Override http request option.
|
|
39868
|
+
* @throws {RequiredError}
|
|
39869
|
+
*/
|
|
39870
|
+
shopOrderControllerSearch: async (
|
|
39871
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
39872
|
+
options: RawAxiosRequestConfig = {},
|
|
39873
|
+
): Promise<RequestArgs> => {
|
|
39874
|
+
const localVarPath = `/shop/order/search`;
|
|
39875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39877
|
+
let baseOptions;
|
|
39878
|
+
if (configuration) {
|
|
39879
|
+
baseOptions = configuration.baseOptions;
|
|
39880
|
+
}
|
|
39881
|
+
|
|
39882
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
39883
|
+
const localVarHeaderParameter = {} as any;
|
|
39884
|
+
const localVarQueryParameter = {} as any;
|
|
39885
|
+
|
|
39886
|
+
// authentication domainAuth required
|
|
39887
|
+
|
|
39888
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39889
|
+
|
|
39890
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39891
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39892
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
39893
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39894
|
+
shopOrderSearchInputDTO,
|
|
39895
|
+
localVarRequestOptions,
|
|
39896
|
+
configuration,
|
|
39897
|
+
);
|
|
39898
|
+
|
|
39899
|
+
return {
|
|
39900
|
+
url: toPathString(localVarUrlObj),
|
|
39901
|
+
options: localVarRequestOptions,
|
|
39902
|
+
};
|
|
39903
|
+
},
|
|
39904
|
+
};
|
|
39905
|
+
};
|
|
39906
|
+
|
|
39907
|
+
/**
|
|
39908
|
+
* ShopOrderApi - functional programming interface
|
|
39909
|
+
* @export
|
|
39910
|
+
*/
|
|
39911
|
+
export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
39912
|
+
const localVarAxiosParamCreator = ShopOrderApiAxiosParamCreator(configuration);
|
|
39913
|
+
return {
|
|
39914
|
+
/**
|
|
39915
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
39916
|
+
* @summary Cancel
|
|
39917
|
+
* @param {string} id
|
|
39918
|
+
* @param {*} [options] Override http request option.
|
|
39919
|
+
* @throws {RequiredError}
|
|
39920
|
+
*/
|
|
39921
|
+
async shopOrderControllerCancel(
|
|
39922
|
+
id: string,
|
|
39923
|
+
options?: RawAxiosRequestConfig,
|
|
39924
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
39926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39927
|
+
const localVarOperationServerBasePath =
|
|
39928
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
39929
|
+
return (axios, basePath) =>
|
|
39930
|
+
createRequestFunction(
|
|
39931
|
+
localVarAxiosArgs,
|
|
39932
|
+
globalAxios,
|
|
39933
|
+
BASE_PATH,
|
|
39934
|
+
configuration,
|
|
39935
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39936
|
+
},
|
|
39937
|
+
/**
|
|
39938
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
39939
|
+
* @summary Claim an order
|
|
39940
|
+
* @param {string} id
|
|
39941
|
+
* @param {*} [options] Override http request option.
|
|
39942
|
+
* @throws {RequiredError}
|
|
39943
|
+
*/
|
|
39944
|
+
async shopOrderControllerClaim(
|
|
39945
|
+
id: string,
|
|
39946
|
+
options?: RawAxiosRequestConfig,
|
|
39947
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
39949
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39950
|
+
const localVarOperationServerBasePath =
|
|
39951
|
+
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
39952
|
+
return (axios, basePath) =>
|
|
39953
|
+
createRequestFunction(
|
|
39954
|
+
localVarAxiosArgs,
|
|
39955
|
+
globalAxios,
|
|
39956
|
+
BASE_PATH,
|
|
39957
|
+
configuration,
|
|
39958
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39959
|
+
},
|
|
39960
|
+
/**
|
|
39961
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
39962
|
+
* @summary Create
|
|
39963
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
39964
|
+
* @param {*} [options] Override http request option.
|
|
39965
|
+
* @throws {RequiredError}
|
|
39966
|
+
*/
|
|
39967
|
+
async shopOrderControllerCreate(
|
|
39968
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
39969
|
+
options?: RawAxiosRequestConfig,
|
|
39970
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
39972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39973
|
+
const localVarOperationServerBasePath =
|
|
39974
|
+
operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
39975
|
+
return (axios, basePath) =>
|
|
39976
|
+
createRequestFunction(
|
|
39977
|
+
localVarAxiosArgs,
|
|
39978
|
+
globalAxios,
|
|
39979
|
+
BASE_PATH,
|
|
39980
|
+
configuration,
|
|
39981
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
39982
|
+
},
|
|
39983
|
+
/**
|
|
39984
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
39985
|
+
* @summary Get order by ID
|
|
39986
|
+
* @param {string} id
|
|
39987
|
+
* @param {*} [options] Override http request option.
|
|
39988
|
+
* @throws {RequiredError}
|
|
39989
|
+
*/
|
|
39990
|
+
async shopOrderControllerGetOne(
|
|
39991
|
+
id: string,
|
|
39992
|
+
options?: RawAxiosRequestConfig,
|
|
39993
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
39994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
39995
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39996
|
+
const localVarOperationServerBasePath =
|
|
39997
|
+
operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
39998
|
+
return (axios, basePath) =>
|
|
39999
|
+
createRequestFunction(
|
|
40000
|
+
localVarAxiosArgs,
|
|
40001
|
+
globalAxios,
|
|
40002
|
+
BASE_PATH,
|
|
40003
|
+
configuration,
|
|
40004
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40005
|
+
},
|
|
40006
|
+
/**
|
|
40007
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
40008
|
+
* @summary Search orders
|
|
40009
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40010
|
+
* @param {*} [options] Override http request option.
|
|
40011
|
+
* @throws {RequiredError}
|
|
40012
|
+
*/
|
|
40013
|
+
async shopOrderControllerSearch(
|
|
40014
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40015
|
+
options?: RawAxiosRequestConfig,
|
|
40016
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>> {
|
|
40017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(
|
|
40018
|
+
shopOrderSearchInputDTO,
|
|
40019
|
+
options,
|
|
40020
|
+
);
|
|
40021
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40022
|
+
const localVarOperationServerBasePath =
|
|
40023
|
+
operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
40024
|
+
return (axios, basePath) =>
|
|
40025
|
+
createRequestFunction(
|
|
40026
|
+
localVarAxiosArgs,
|
|
40027
|
+
globalAxios,
|
|
40028
|
+
BASE_PATH,
|
|
40029
|
+
configuration,
|
|
40030
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40031
|
+
},
|
|
40032
|
+
};
|
|
40033
|
+
};
|
|
40034
|
+
|
|
40035
|
+
/**
|
|
40036
|
+
* ShopOrderApi - factory interface
|
|
40037
|
+
* @export
|
|
40038
|
+
*/
|
|
40039
|
+
export const ShopOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40040
|
+
const localVarFp = ShopOrderApiFp(configuration);
|
|
40041
|
+
return {
|
|
40042
|
+
/**
|
|
40043
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40044
|
+
* @summary Cancel
|
|
40045
|
+
* @param {string} id
|
|
40046
|
+
* @param {*} [options] Override http request option.
|
|
40047
|
+
* @throws {RequiredError}
|
|
40048
|
+
*/
|
|
40049
|
+
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40050
|
+
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
40051
|
+
},
|
|
40052
|
+
/**
|
|
40053
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40054
|
+
* @summary Claim an order
|
|
40055
|
+
* @param {string} id
|
|
40056
|
+
* @param {*} [options] Override http request option.
|
|
40057
|
+
* @throws {RequiredError}
|
|
40058
|
+
*/
|
|
40059
|
+
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40060
|
+
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
40061
|
+
},
|
|
40062
|
+
/**
|
|
40063
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40064
|
+
* @summary Create
|
|
40065
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40066
|
+
* @param {*} [options] Override http request option.
|
|
40067
|
+
* @throws {RequiredError}
|
|
40068
|
+
*/
|
|
40069
|
+
shopOrderControllerCreate(
|
|
40070
|
+
shopOrderCreateDTO?: ShopOrderCreateDTO,
|
|
40071
|
+
options?: RawAxiosRequestConfig,
|
|
40072
|
+
): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40073
|
+
return localVarFp
|
|
40074
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40075
|
+
.then((request) => request(axios, basePath));
|
|
40076
|
+
},
|
|
40077
|
+
/**
|
|
40078
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
40079
|
+
* @summary Get order by ID
|
|
40080
|
+
* @param {string} id
|
|
40081
|
+
* @param {*} [options] Override http request option.
|
|
40082
|
+
* @throws {RequiredError}
|
|
40083
|
+
*/
|
|
40084
|
+
shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
40085
|
+
return localVarFp.shopOrderControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
40086
|
+
},
|
|
40087
|
+
/**
|
|
40088
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
40089
|
+
* @summary Search orders
|
|
40090
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40091
|
+
* @param {*} [options] Override http request option.
|
|
40092
|
+
* @throws {RequiredError}
|
|
40093
|
+
*/
|
|
40094
|
+
shopOrderControllerSearch(
|
|
40095
|
+
shopOrderSearchInputDTO?: ShopOrderSearchInputDTO,
|
|
40096
|
+
options?: RawAxiosRequestConfig,
|
|
40097
|
+
): AxiosPromise<ShopOrderOutputArrayDTOAPI> {
|
|
40098
|
+
return localVarFp
|
|
40099
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40100
|
+
.then((request) => request(axios, basePath));
|
|
40101
|
+
},
|
|
40102
|
+
};
|
|
40103
|
+
};
|
|
40104
|
+
|
|
40105
|
+
/**
|
|
40106
|
+
* ShopOrderApi - object-oriented interface
|
|
40107
|
+
* @export
|
|
40108
|
+
* @class ShopOrderApi
|
|
40109
|
+
* @extends {BaseAPI}
|
|
40110
|
+
*/
|
|
40111
|
+
export class ShopOrderApi extends BaseAPI {
|
|
40112
|
+
/**
|
|
40113
|
+
* <br> OperationId: `ShopOrderControllerCancel`
|
|
40114
|
+
* @summary Cancel
|
|
40115
|
+
* @param {string} id
|
|
40116
|
+
* @param {*} [options] Override http request option.
|
|
40117
|
+
* @throws {RequiredError}
|
|
40118
|
+
* @memberof ShopOrderApi
|
|
40119
|
+
*/
|
|
40120
|
+
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
40121
|
+
return ShopOrderApiFp(this.configuration)
|
|
40122
|
+
.shopOrderControllerCancel(id, options)
|
|
40123
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40124
|
+
}
|
|
40125
|
+
|
|
40126
|
+
/**
|
|
40127
|
+
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
40128
|
+
* @summary Claim an order
|
|
40129
|
+
* @param {string} id
|
|
40130
|
+
* @param {*} [options] Override http request option.
|
|
40131
|
+
* @throws {RequiredError}
|
|
40132
|
+
* @memberof ShopOrderApi
|
|
40133
|
+
*/
|
|
40134
|
+
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
40135
|
+
return ShopOrderApiFp(this.configuration)
|
|
40136
|
+
.shopOrderControllerClaim(id, options)
|
|
40137
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40138
|
+
}
|
|
40139
|
+
|
|
40140
|
+
/**
|
|
40141
|
+
* <br> OperationId: `ShopOrderControllerCreate`
|
|
40142
|
+
* @summary Create
|
|
40143
|
+
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40144
|
+
* @param {*} [options] Override http request option.
|
|
40145
|
+
* @throws {RequiredError}
|
|
40146
|
+
* @memberof ShopOrderApi
|
|
40147
|
+
*/
|
|
40148
|
+
public shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig) {
|
|
40149
|
+
return ShopOrderApiFp(this.configuration)
|
|
40150
|
+
.shopOrderControllerCreate(shopOrderCreateDTO, options)
|
|
40151
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40152
|
+
}
|
|
40153
|
+
|
|
40154
|
+
/**
|
|
40155
|
+
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
40156
|
+
* @summary Get order by ID
|
|
40157
|
+
* @param {string} id
|
|
40158
|
+
* @param {*} [options] Override http request option.
|
|
40159
|
+
* @throws {RequiredError}
|
|
40160
|
+
* @memberof ShopOrderApi
|
|
40161
|
+
*/
|
|
40162
|
+
public shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
40163
|
+
return ShopOrderApiFp(this.configuration)
|
|
40164
|
+
.shopOrderControllerGetOne(id, options)
|
|
40165
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40166
|
+
}
|
|
40167
|
+
|
|
40168
|
+
/**
|
|
40169
|
+
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
40170
|
+
* @summary Search orders
|
|
40171
|
+
* @param {ShopOrderSearchInputDTO} [shopOrderSearchInputDTO] ShopOrderSearchInputDTO
|
|
40172
|
+
* @param {*} [options] Override http request option.
|
|
40173
|
+
* @throws {RequiredError}
|
|
40174
|
+
* @memberof ShopOrderApi
|
|
40175
|
+
*/
|
|
40176
|
+
public shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig) {
|
|
40177
|
+
return ShopOrderApiFp(this.configuration)
|
|
40178
|
+
.shopOrderControllerSearch(shopOrderSearchInputDTO, options)
|
|
40179
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40180
|
+
}
|
|
40181
|
+
}
|
|
40182
|
+
|
|
40183
|
+
/**
|
|
40184
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40185
|
+
* @export
|
|
40186
|
+
*/
|
|
40187
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40188
|
+
return {
|
|
40189
|
+
/**
|
|
40190
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40191
|
+
* @summary Get effective config
|
|
40192
|
+
* @param {string} gameServerId
|
|
40193
|
+
* @param {*} [options] Override http request option.
|
|
40194
|
+
* @throws {RequiredError}
|
|
40195
|
+
*/
|
|
40196
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40197
|
+
gameServerId: string,
|
|
40198
|
+
options: RawAxiosRequestConfig = {},
|
|
40199
|
+
): Promise<RequestArgs> => {
|
|
40200
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40201
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40202
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40203
|
+
`{${'gameServerId'}}`,
|
|
40204
|
+
encodeURIComponent(String(gameServerId)),
|
|
40205
|
+
);
|
|
40206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40208
|
+
let baseOptions;
|
|
40209
|
+
if (configuration) {
|
|
40210
|
+
baseOptions = configuration.baseOptions;
|
|
40211
|
+
}
|
|
40212
|
+
|
|
40213
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40214
|
+
const localVarHeaderParameter = {} as any;
|
|
40215
|
+
const localVarQueryParameter = {} as any;
|
|
40216
|
+
|
|
40217
|
+
// authentication domainAuth required
|
|
40218
|
+
|
|
40219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40221
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40222
|
+
|
|
40223
|
+
return {
|
|
40224
|
+
url: toPathString(localVarUrlObj),
|
|
40225
|
+
options: localVarRequestOptions,
|
|
40226
|
+
};
|
|
40227
|
+
},
|
|
40228
|
+
/**
|
|
40229
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40230
|
+
* @summary List templates
|
|
40231
|
+
* @param {*} [options] Override http request option.
|
|
40232
|
+
* @throws {RequiredError}
|
|
40233
|
+
*/
|
|
40234
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40235
|
+
const localVarPath = `/storefront/templates`;
|
|
40236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40237
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40238
|
+
let baseOptions;
|
|
40239
|
+
if (configuration) {
|
|
40240
|
+
baseOptions = configuration.baseOptions;
|
|
40241
|
+
}
|
|
40242
|
+
|
|
40243
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40244
|
+
const localVarHeaderParameter = {} as any;
|
|
40245
|
+
const localVarQueryParameter = {} as any;
|
|
40246
|
+
|
|
40247
|
+
// authentication domainAuth required
|
|
40248
|
+
|
|
40249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40251
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40252
|
+
|
|
40253
|
+
return {
|
|
40254
|
+
url: toPathString(localVarUrlObj),
|
|
40255
|
+
options: localVarRequestOptions,
|
|
40256
|
+
};
|
|
40257
|
+
},
|
|
40258
|
+
/**
|
|
40259
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40260
|
+
* @summary Set config
|
|
40261
|
+
* @param {string} gameServerId
|
|
40262
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37557
40263
|
* @param {*} [options] Override http request option.
|
|
37558
40264
|
* @throws {RequiredError}
|
|
37559
40265
|
*/
|
|
37560
|
-
|
|
37561
|
-
|
|
40266
|
+
storefrontConfigControllerSetConfig: async (
|
|
40267
|
+
gameServerId: string,
|
|
40268
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37562
40269
|
options: RawAxiosRequestConfig = {},
|
|
37563
40270
|
): Promise<RequestArgs> => {
|
|
37564
|
-
|
|
40271
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40272
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40273
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40274
|
+
`{${'gameServerId'}}`,
|
|
40275
|
+
encodeURIComponent(String(gameServerId)),
|
|
40276
|
+
);
|
|
37565
40277
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37566
40278
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37567
40279
|
let baseOptions;
|
|
@@ -37569,7 +40281,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37569
40281
|
baseOptions = configuration.baseOptions;
|
|
37570
40282
|
}
|
|
37571
40283
|
|
|
37572
|
-
const localVarRequestOptions = { method: '
|
|
40284
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
37573
40285
|
const localVarHeaderParameter = {} as any;
|
|
37574
40286
|
const localVarQueryParameter = {} as any;
|
|
37575
40287
|
|
|
@@ -37581,7 +40293,7 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37581
40293
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37582
40294
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
37583
40295
|
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
37584
|
-
|
|
40296
|
+
storefrontConfigUpsertBody,
|
|
37585
40297
|
localVarRequestOptions,
|
|
37586
40298
|
configuration,
|
|
37587
40299
|
);
|
|
@@ -37595,73 +40307,32 @@ export const ShopOrderApiAxiosParamCreator = function (configuration?: Configura
|
|
|
37595
40307
|
};
|
|
37596
40308
|
|
|
37597
40309
|
/**
|
|
37598
|
-
*
|
|
40310
|
+
* StorefrontConfigApi - functional programming interface
|
|
37599
40311
|
* @export
|
|
37600
40312
|
*/
|
|
37601
|
-
export const
|
|
37602
|
-
const localVarAxiosParamCreator =
|
|
40313
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40314
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
37603
40315
|
return {
|
|
37604
40316
|
/**
|
|
37605
|
-
*
|
|
37606
|
-
* @summary
|
|
37607
|
-
* @param {string}
|
|
37608
|
-
* @param {*} [options] Override http request option.
|
|
37609
|
-
* @throws {RequiredError}
|
|
37610
|
-
*/
|
|
37611
|
-
async shopOrderControllerCancel(
|
|
37612
|
-
id: string,
|
|
37613
|
-
options?: RawAxiosRequestConfig,
|
|
37614
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
37615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
37616
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37617
|
-
const localVarOperationServerBasePath =
|
|
37618
|
-
operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[localVarOperationServerIndex]?.url;
|
|
37619
|
-
return (axios, basePath) =>
|
|
37620
|
-
createRequestFunction(
|
|
37621
|
-
localVarAxiosArgs,
|
|
37622
|
-
globalAxios,
|
|
37623
|
-
BASE_PATH,
|
|
37624
|
-
configuration,
|
|
37625
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
37626
|
-
},
|
|
37627
|
-
/**
|
|
37628
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37629
|
-
* @summary Claim an order
|
|
37630
|
-
* @param {string} id
|
|
37631
|
-
* @param {*} [options] Override http request option.
|
|
37632
|
-
* @throws {RequiredError}
|
|
37633
|
-
*/
|
|
37634
|
-
async shopOrderControllerClaim(
|
|
37635
|
-
id: string,
|
|
37636
|
-
options?: RawAxiosRequestConfig,
|
|
37637
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>> {
|
|
37638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
37639
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37640
|
-
const localVarOperationServerBasePath =
|
|
37641
|
-
operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[localVarOperationServerIndex]?.url;
|
|
37642
|
-
return (axios, basePath) =>
|
|
37643
|
-
createRequestFunction(
|
|
37644
|
-
localVarAxiosArgs,
|
|
37645
|
-
globalAxios,
|
|
37646
|
-
BASE_PATH,
|
|
37647
|
-
configuration,
|
|
37648
|
-
)(axios, localVarOperationServerBasePath || basePath);
|
|
37649
|
-
},
|
|
37650
|
-
/**
|
|
37651
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37652
|
-
* @summary Create
|
|
37653
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40317
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40318
|
+
* @summary Get effective config
|
|
40319
|
+
* @param {string} gameServerId
|
|
37654
40320
|
* @param {*} [options] Override http request option.
|
|
37655
40321
|
* @throws {RequiredError}
|
|
37656
40322
|
*/
|
|
37657
|
-
async
|
|
37658
|
-
|
|
40323
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40324
|
+
gameServerId: string,
|
|
37659
40325
|
options?: RawAxiosRequestConfig,
|
|
37660
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37661
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40326
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40328
|
+
gameServerId,
|
|
40329
|
+
options,
|
|
40330
|
+
);
|
|
37662
40331
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37663
40332
|
const localVarOperationServerBasePath =
|
|
37664
|
-
operationServerMap['
|
|
40333
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40334
|
+
localVarOperationServerIndex
|
|
40335
|
+
]?.url;
|
|
37665
40336
|
return (axios, basePath) =>
|
|
37666
40337
|
createRequestFunction(
|
|
37667
40338
|
localVarAxiosArgs,
|
|
@@ -37671,20 +40342,20 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37671
40342
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
37672
40343
|
},
|
|
37673
40344
|
/**
|
|
37674
|
-
*
|
|
37675
|
-
* @summary
|
|
37676
|
-
* @param {string} id
|
|
40345
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40346
|
+
* @summary List templates
|
|
37677
40347
|
* @param {*} [options] Override http request option.
|
|
37678
40348
|
* @throws {RequiredError}
|
|
37679
40349
|
*/
|
|
37680
|
-
async
|
|
37681
|
-
id: string,
|
|
40350
|
+
async storefrontConfigControllerListTemplates(
|
|
37682
40351
|
options?: RawAxiosRequestConfig,
|
|
37683
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
40352
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
37685
40354
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37686
40355
|
const localVarOperationServerBasePath =
|
|
37687
|
-
operationServerMap['
|
|
40356
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40357
|
+
localVarOperationServerIndex
|
|
40358
|
+
]?.url;
|
|
37688
40359
|
return (axios, basePath) =>
|
|
37689
40360
|
createRequestFunction(
|
|
37690
40361
|
localVarAxiosArgs,
|
|
@@ -37694,23 +40365,27 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37694
40365
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
37695
40366
|
},
|
|
37696
40367
|
/**
|
|
37697
|
-
*
|
|
37698
|
-
* @summary
|
|
37699
|
-
* @param {
|
|
40368
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40369
|
+
* @summary Set config
|
|
40370
|
+
* @param {string} gameServerId
|
|
40371
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37700
40372
|
* @param {*} [options] Override http request option.
|
|
37701
40373
|
* @throws {RequiredError}
|
|
37702
40374
|
*/
|
|
37703
|
-
async
|
|
37704
|
-
|
|
40375
|
+
async storefrontConfigControllerSetConfig(
|
|
40376
|
+
gameServerId: string,
|
|
40377
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37705
40378
|
options?: RawAxiosRequestConfig,
|
|
37706
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
37707
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
37708
|
-
|
|
40379
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40381
|
+
gameServerId,
|
|
40382
|
+
storefrontConfigUpsertBody,
|
|
37709
40383
|
options,
|
|
37710
40384
|
);
|
|
37711
40385
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37712
40386
|
const localVarOperationServerBasePath =
|
|
37713
|
-
operationServerMap['
|
|
40387
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40388
|
+
?.url;
|
|
37714
40389
|
return (axios, basePath) =>
|
|
37715
40390
|
createRequestFunction(
|
|
37716
40391
|
localVarAxiosArgs,
|
|
@@ -37723,149 +40398,112 @@ export const ShopOrderApiFp = function (configuration?: Configuration) {
|
|
|
37723
40398
|
};
|
|
37724
40399
|
|
|
37725
40400
|
/**
|
|
37726
|
-
*
|
|
40401
|
+
* StorefrontConfigApi - factory interface
|
|
37727
40402
|
* @export
|
|
37728
40403
|
*/
|
|
37729
|
-
export const
|
|
37730
|
-
|
|
40404
|
+
export const StorefrontConfigApiFactory = function (
|
|
40405
|
+
configuration?: Configuration,
|
|
40406
|
+
basePath?: string,
|
|
40407
|
+
axios?: AxiosInstance,
|
|
40408
|
+
) {
|
|
40409
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
37731
40410
|
return {
|
|
37732
40411
|
/**
|
|
37733
|
-
*
|
|
37734
|
-
* @summary
|
|
37735
|
-
* @param {string}
|
|
37736
|
-
* @param {*} [options] Override http request option.
|
|
37737
|
-
* @throws {RequiredError}
|
|
37738
|
-
*/
|
|
37739
|
-
shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
37740
|
-
return localVarFp.shopOrderControllerCancel(id, options).then((request) => request(axios, basePath));
|
|
37741
|
-
},
|
|
37742
|
-
/**
|
|
37743
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37744
|
-
* @summary Claim an order
|
|
37745
|
-
* @param {string} id
|
|
37746
|
-
* @param {*} [options] Override http request option.
|
|
37747
|
-
* @throws {RequiredError}
|
|
37748
|
-
*/
|
|
37749
|
-
shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopOrderOutputDTOAPI> {
|
|
37750
|
-
return localVarFp.shopOrderControllerClaim(id, options).then((request) => request(axios, basePath));
|
|
37751
|
-
},
|
|
37752
|
-
/**
|
|
37753
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37754
|
-
* @summary Create
|
|
37755
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40412
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40413
|
+
* @summary Get effective config
|
|
40414
|
+
* @param {string} gameServerId
|
|
37756
40415
|
* @param {*} [options] Override http request option.
|
|
37757
40416
|
* @throws {RequiredError}
|
|
37758
40417
|
*/
|
|
37759
|
-
|
|
37760
|
-
|
|
40418
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40419
|
+
gameServerId: string,
|
|
37761
40420
|
options?: RawAxiosRequestConfig,
|
|
37762
|
-
): AxiosPromise<
|
|
40421
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
37763
40422
|
return localVarFp
|
|
37764
|
-
.
|
|
40423
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
37765
40424
|
.then((request) => request(axios, basePath));
|
|
37766
40425
|
},
|
|
37767
40426
|
/**
|
|
37768
|
-
*
|
|
37769
|
-
* @summary
|
|
37770
|
-
* @param {string} id
|
|
40427
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40428
|
+
* @summary List templates
|
|
37771
40429
|
* @param {*} [options] Override http request option.
|
|
37772
40430
|
* @throws {RequiredError}
|
|
37773
40431
|
*/
|
|
37774
|
-
|
|
37775
|
-
|
|
40432
|
+
storefrontConfigControllerListTemplates(
|
|
40433
|
+
options?: RawAxiosRequestConfig,
|
|
40434
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40435
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
37776
40436
|
},
|
|
37777
40437
|
/**
|
|
37778
|
-
*
|
|
37779
|
-
* @summary
|
|
37780
|
-
* @param {
|
|
40438
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40439
|
+
* @summary Set config
|
|
40440
|
+
* @param {string} gameServerId
|
|
40441
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37781
40442
|
* @param {*} [options] Override http request option.
|
|
37782
40443
|
* @throws {RequiredError}
|
|
37783
40444
|
*/
|
|
37784
|
-
|
|
37785
|
-
|
|
40445
|
+
storefrontConfigControllerSetConfig(
|
|
40446
|
+
gameServerId: string,
|
|
40447
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
37786
40448
|
options?: RawAxiosRequestConfig,
|
|
37787
|
-
): AxiosPromise<
|
|
40449
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
37788
40450
|
return localVarFp
|
|
37789
|
-
.
|
|
40451
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
37790
40452
|
.then((request) => request(axios, basePath));
|
|
37791
40453
|
},
|
|
37792
40454
|
};
|
|
37793
40455
|
};
|
|
37794
40456
|
|
|
37795
40457
|
/**
|
|
37796
|
-
*
|
|
40458
|
+
* StorefrontConfigApi - object-oriented interface
|
|
37797
40459
|
* @export
|
|
37798
|
-
* @class
|
|
40460
|
+
* @class StorefrontConfigApi
|
|
37799
40461
|
* @extends {BaseAPI}
|
|
37800
40462
|
*/
|
|
37801
|
-
export class
|
|
40463
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
37802
40464
|
/**
|
|
37803
|
-
*
|
|
37804
|
-
* @summary
|
|
37805
|
-
* @param {string}
|
|
37806
|
-
* @param {*} [options] Override http request option.
|
|
37807
|
-
* @throws {RequiredError}
|
|
37808
|
-
* @memberof ShopOrderApi
|
|
37809
|
-
*/
|
|
37810
|
-
public shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig) {
|
|
37811
|
-
return ShopOrderApiFp(this.configuration)
|
|
37812
|
-
.shopOrderControllerCancel(id, options)
|
|
37813
|
-
.then((request) => request(this.axios, this.basePath));
|
|
37814
|
-
}
|
|
37815
|
-
|
|
37816
|
-
/**
|
|
37817
|
-
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
37818
|
-
* @summary Claim an order
|
|
37819
|
-
* @param {string} id
|
|
37820
|
-
* @param {*} [options] Override http request option.
|
|
37821
|
-
* @throws {RequiredError}
|
|
37822
|
-
* @memberof ShopOrderApi
|
|
37823
|
-
*/
|
|
37824
|
-
public shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig) {
|
|
37825
|
-
return ShopOrderApiFp(this.configuration)
|
|
37826
|
-
.shopOrderControllerClaim(id, options)
|
|
37827
|
-
.then((request) => request(this.axios, this.basePath));
|
|
37828
|
-
}
|
|
37829
|
-
|
|
37830
|
-
/**
|
|
37831
|
-
* <br> OperationId: `ShopOrderControllerCreate`
|
|
37832
|
-
* @summary Create
|
|
37833
|
-
* @param {ShopOrderCreateDTO} [shopOrderCreateDTO] ShopOrderCreateDTO
|
|
40465
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40466
|
+
* @summary Get effective config
|
|
40467
|
+
* @param {string} gameServerId
|
|
37834
40468
|
* @param {*} [options] Override http request option.
|
|
37835
40469
|
* @throws {RequiredError}
|
|
37836
|
-
* @memberof
|
|
40470
|
+
* @memberof StorefrontConfigApi
|
|
37837
40471
|
*/
|
|
37838
|
-
public
|
|
37839
|
-
return
|
|
37840
|
-
.
|
|
40472
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40473
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40474
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
37841
40475
|
.then((request) => request(this.axios, this.basePath));
|
|
37842
40476
|
}
|
|
37843
40477
|
|
|
37844
40478
|
/**
|
|
37845
|
-
*
|
|
37846
|
-
* @summary
|
|
37847
|
-
* @param {string} id
|
|
40479
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40480
|
+
* @summary List templates
|
|
37848
40481
|
* @param {*} [options] Override http request option.
|
|
37849
40482
|
* @throws {RequiredError}
|
|
37850
|
-
* @memberof
|
|
40483
|
+
* @memberof StorefrontConfigApi
|
|
37851
40484
|
*/
|
|
37852
|
-
public
|
|
37853
|
-
return
|
|
37854
|
-
.
|
|
40485
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40486
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40487
|
+
.storefrontConfigControllerListTemplates(options)
|
|
37855
40488
|
.then((request) => request(this.axios, this.basePath));
|
|
37856
40489
|
}
|
|
37857
40490
|
|
|
37858
40491
|
/**
|
|
37859
|
-
*
|
|
37860
|
-
* @summary
|
|
37861
|
-
* @param {
|
|
40492
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40493
|
+
* @summary Set config
|
|
40494
|
+
* @param {string} gameServerId
|
|
40495
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
37862
40496
|
* @param {*} [options] Override http request option.
|
|
37863
40497
|
* @throws {RequiredError}
|
|
37864
|
-
* @memberof
|
|
40498
|
+
* @memberof StorefrontConfigApi
|
|
37865
40499
|
*/
|
|
37866
|
-
public
|
|
37867
|
-
|
|
37868
|
-
|
|
40500
|
+
public storefrontConfigControllerSetConfig(
|
|
40501
|
+
gameServerId: string,
|
|
40502
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40503
|
+
options?: RawAxiosRequestConfig,
|
|
40504
|
+
) {
|
|
40505
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40506
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
37869
40507
|
.then((request) => request(this.axios, this.basePath));
|
|
37870
40508
|
}
|
|
37871
40509
|
}
|
|
@@ -38453,6 +41091,33 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
38453
41091
|
options: localVarRequestOptions,
|
|
38454
41092
|
};
|
|
38455
41093
|
},
|
|
41094
|
+
/**
|
|
41095
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41096
|
+
* @summary Count billable dashboard users
|
|
41097
|
+
* @param {*} [options] Override http request option.
|
|
41098
|
+
* @throws {RequiredError}
|
|
41099
|
+
*/
|
|
41100
|
+
userControllerCountBillableDashboardUsers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41101
|
+
const localVarPath = `/user/count`;
|
|
41102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41103
|
+
let baseOptions;
|
|
41104
|
+
if (configuration) {
|
|
41105
|
+
baseOptions = configuration.baseOptions;
|
|
41106
|
+
}
|
|
41107
|
+
|
|
41108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
41109
|
+
const localVarHeaderParameter = {} as any;
|
|
41110
|
+
const localVarQueryParameter = {} as any;
|
|
41111
|
+
|
|
41112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41113
|
+
const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41114
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41115
|
+
|
|
41116
|
+
return {
|
|
41117
|
+
url: toPathString(localVarUrlObj),
|
|
41118
|
+
options: localVarRequestOptions,
|
|
41119
|
+
};
|
|
41120
|
+
},
|
|
38456
41121
|
/**
|
|
38457
41122
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
38458
41123
|
* @summary Create
|
|
@@ -38959,6 +41624,27 @@ export const UserApiFp = function (configuration?: Configuration) {
|
|
|
38959
41624
|
configuration,
|
|
38960
41625
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
38961
41626
|
},
|
|
41627
|
+
/**
|
|
41628
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41629
|
+
* @summary Count billable dashboard users
|
|
41630
|
+
* @param {*} [options] Override http request option.
|
|
41631
|
+
* @throws {RequiredError}
|
|
41632
|
+
*/
|
|
41633
|
+
async userControllerCountBillableDashboardUsers(
|
|
41634
|
+
options?: RawAxiosRequestConfig,
|
|
41635
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserCountOutputDTOAPI>> {
|
|
41636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCountBillableDashboardUsers(options);
|
|
41637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41638
|
+
const localVarOperationServerBasePath =
|
|
41639
|
+
operationServerMap['UserApi.userControllerCountBillableDashboardUsers']?.[localVarOperationServerIndex]?.url;
|
|
41640
|
+
return (axios, basePath) =>
|
|
41641
|
+
createRequestFunction(
|
|
41642
|
+
localVarAxiosArgs,
|
|
41643
|
+
globalAxios,
|
|
41644
|
+
BASE_PATH,
|
|
41645
|
+
configuration,
|
|
41646
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41647
|
+
},
|
|
38962
41648
|
/**
|
|
38963
41649
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
38964
41650
|
* @summary Create
|
|
@@ -39288,6 +41974,15 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
39288
41974
|
.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options)
|
|
39289
41975
|
.then((request) => request(axios, basePath));
|
|
39290
41976
|
},
|
|
41977
|
+
/**
|
|
41978
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
41979
|
+
* @summary Count billable dashboard users
|
|
41980
|
+
* @param {*} [options] Override http request option.
|
|
41981
|
+
* @throws {RequiredError}
|
|
41982
|
+
*/
|
|
41983
|
+
userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig): AxiosPromise<UserCountOutputDTOAPI> {
|
|
41984
|
+
return localVarFp.userControllerCountBillableDashboardUsers(options).then((request) => request(axios, basePath));
|
|
41985
|
+
},
|
|
39291
41986
|
/**
|
|
39292
41987
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39293
41988
|
* @summary Create
|
|
@@ -39466,6 +42161,19 @@ export class UserApi extends BaseAPI {
|
|
|
39466
42161
|
.then((request) => request(this.axios, this.basePath));
|
|
39467
42162
|
}
|
|
39468
42163
|
|
|
42164
|
+
/**
|
|
42165
|
+
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerCountBillableDashboardUsers`
|
|
42166
|
+
* @summary Count billable dashboard users
|
|
42167
|
+
* @param {*} [options] Override http request option.
|
|
42168
|
+
* @throws {RequiredError}
|
|
42169
|
+
* @memberof UserApi
|
|
42170
|
+
*/
|
|
42171
|
+
public userControllerCountBillableDashboardUsers(options?: RawAxiosRequestConfig) {
|
|
42172
|
+
return UserApiFp(this.configuration)
|
|
42173
|
+
.userControllerCountBillableDashboardUsers(options)
|
|
42174
|
+
.then((request) => request(this.axios, this.basePath));
|
|
42175
|
+
}
|
|
42176
|
+
|
|
39469
42177
|
/**
|
|
39470
42178
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
39471
42179
|
* @summary Create
|
|
@@ -40134,3 +42842,474 @@ export class VariableApi extends BaseAPI {
|
|
|
40134
42842
|
.then((request) => request(this.axios, this.basePath));
|
|
40135
42843
|
}
|
|
40136
42844
|
}
|
|
42845
|
+
|
|
42846
|
+
/**
|
|
42847
|
+
* InviteLinkApi - axios parameter creator
|
|
42848
|
+
* @export
|
|
42849
|
+
*/
|
|
42850
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42851
|
+
return {
|
|
42852
|
+
/**
|
|
42853
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42854
|
+
* @summary Create invite link
|
|
42855
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42856
|
+
* @param {*} [options] Override http request option.
|
|
42857
|
+
* @throws {RequiredError}
|
|
42858
|
+
*/
|
|
42859
|
+
inviteLinkControllerCreate: async (
|
|
42860
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42861
|
+
options: RawAxiosRequestConfig = {},
|
|
42862
|
+
): Promise<RequestArgs> => {
|
|
42863
|
+
const localVarPath = `/invite-link`;
|
|
42864
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42865
|
+
let baseOptions;
|
|
42866
|
+
if (configuration) {
|
|
42867
|
+
baseOptions = configuration.baseOptions;
|
|
42868
|
+
}
|
|
42869
|
+
|
|
42870
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42871
|
+
const localVarHeaderParameter = {} as any;
|
|
42872
|
+
const localVarQueryParameter = {} as any;
|
|
42873
|
+
|
|
42874
|
+
// authentication domainAuth required
|
|
42875
|
+
|
|
42876
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42877
|
+
|
|
42878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42880
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42881
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42882
|
+
inviteLinkCreateInputDTO,
|
|
42883
|
+
localVarRequestOptions,
|
|
42884
|
+
configuration,
|
|
42885
|
+
);
|
|
42886
|
+
|
|
42887
|
+
return {
|
|
42888
|
+
url: toPathString(localVarUrlObj),
|
|
42889
|
+
options: localVarRequestOptions,
|
|
42890
|
+
};
|
|
42891
|
+
},
|
|
42892
|
+
/**
|
|
42893
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42894
|
+
* @summary Preview
|
|
42895
|
+
* @param {string} token
|
|
42896
|
+
* @param {*} [options] Override http request option.
|
|
42897
|
+
* @throws {RequiredError}
|
|
42898
|
+
*/
|
|
42899
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42900
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42901
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42903
|
+
let baseOptions;
|
|
42904
|
+
if (configuration) {
|
|
42905
|
+
baseOptions = configuration.baseOptions;
|
|
42906
|
+
}
|
|
42907
|
+
|
|
42908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42909
|
+
const localVarHeaderParameter = {} as any;
|
|
42910
|
+
const localVarQueryParameter = {} as any;
|
|
42911
|
+
|
|
42912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42914
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42915
|
+
|
|
42916
|
+
return {
|
|
42917
|
+
url: toPathString(localVarUrlObj),
|
|
42918
|
+
options: localVarRequestOptions,
|
|
42919
|
+
};
|
|
42920
|
+
},
|
|
42921
|
+
/**
|
|
42922
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42923
|
+
* @summary Redeem
|
|
42924
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42925
|
+
* @param {*} [options] Override http request option.
|
|
42926
|
+
* @throws {RequiredError}
|
|
42927
|
+
*/
|
|
42928
|
+
inviteLinkControllerRedeem: async (
|
|
42929
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42930
|
+
options: RawAxiosRequestConfig = {},
|
|
42931
|
+
): Promise<RequestArgs> => {
|
|
42932
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42934
|
+
let baseOptions;
|
|
42935
|
+
if (configuration) {
|
|
42936
|
+
baseOptions = configuration.baseOptions;
|
|
42937
|
+
}
|
|
42938
|
+
|
|
42939
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42940
|
+
const localVarHeaderParameter = {} as any;
|
|
42941
|
+
const localVarQueryParameter = {} as any;
|
|
42942
|
+
|
|
42943
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42944
|
+
|
|
42945
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42946
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42947
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42948
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42949
|
+
|
|
42950
|
+
return {
|
|
42951
|
+
url: toPathString(localVarUrlObj),
|
|
42952
|
+
options: localVarRequestOptions,
|
|
42953
|
+
};
|
|
42954
|
+
},
|
|
42955
|
+
/**
|
|
42956
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42957
|
+
* @summary Revoke
|
|
42958
|
+
* @param {string} id
|
|
42959
|
+
* @param {*} [options] Override http request option.
|
|
42960
|
+
* @throws {RequiredError}
|
|
42961
|
+
*/
|
|
42962
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42963
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42964
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42965
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42966
|
+
let baseOptions;
|
|
42967
|
+
if (configuration) {
|
|
42968
|
+
baseOptions = configuration.baseOptions;
|
|
42969
|
+
}
|
|
42970
|
+
|
|
42971
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42972
|
+
const localVarHeaderParameter = {} as any;
|
|
42973
|
+
const localVarQueryParameter = {} as any;
|
|
42974
|
+
|
|
42975
|
+
// authentication domainAuth required
|
|
42976
|
+
|
|
42977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42979
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42980
|
+
|
|
42981
|
+
return {
|
|
42982
|
+
url: toPathString(localVarUrlObj),
|
|
42983
|
+
options: localVarRequestOptions,
|
|
42984
|
+
};
|
|
42985
|
+
},
|
|
42986
|
+
/**
|
|
42987
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42988
|
+
* @summary Search
|
|
42989
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42990
|
+
* @param {*} [options] Override http request option.
|
|
42991
|
+
* @throws {RequiredError}
|
|
42992
|
+
*/
|
|
42993
|
+
inviteLinkControllerSearch: async (
|
|
42994
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42995
|
+
options: RawAxiosRequestConfig = {},
|
|
42996
|
+
): Promise<RequestArgs> => {
|
|
42997
|
+
const localVarPath = `/invite-link/search`;
|
|
42998
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42999
|
+
let baseOptions;
|
|
43000
|
+
if (configuration) {
|
|
43001
|
+
baseOptions = configuration.baseOptions;
|
|
43002
|
+
}
|
|
43003
|
+
|
|
43004
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43005
|
+
const localVarHeaderParameter = {} as any;
|
|
43006
|
+
const localVarQueryParameter = {} as any;
|
|
43007
|
+
|
|
43008
|
+
// authentication domainAuth required
|
|
43009
|
+
|
|
43010
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43011
|
+
|
|
43012
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43014
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43015
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43016
|
+
inviteLinkSearchInputDTO,
|
|
43017
|
+
localVarRequestOptions,
|
|
43018
|
+
configuration,
|
|
43019
|
+
);
|
|
43020
|
+
|
|
43021
|
+
return {
|
|
43022
|
+
url: toPathString(localVarUrlObj),
|
|
43023
|
+
options: localVarRequestOptions,
|
|
43024
|
+
};
|
|
43025
|
+
},
|
|
43026
|
+
};
|
|
43027
|
+
};
|
|
43028
|
+
|
|
43029
|
+
/**
|
|
43030
|
+
* InviteLinkApi - functional programming interface
|
|
43031
|
+
* @export
|
|
43032
|
+
*/
|
|
43033
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
43034
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
43035
|
+
return {
|
|
43036
|
+
/**
|
|
43037
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43038
|
+
* @summary Create invite link
|
|
43039
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43040
|
+
* @param {*} [options] Override http request option.
|
|
43041
|
+
* @throws {RequiredError}
|
|
43042
|
+
*/
|
|
43043
|
+
async inviteLinkControllerCreate(
|
|
43044
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43045
|
+
options?: RawAxiosRequestConfig,
|
|
43046
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
43047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
43048
|
+
inviteLinkCreateInputDTO,
|
|
43049
|
+
options,
|
|
43050
|
+
);
|
|
43051
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43052
|
+
const localVarOperationServerBasePath =
|
|
43053
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
43054
|
+
return (axios, basePath) =>
|
|
43055
|
+
createRequestFunction(
|
|
43056
|
+
localVarAxiosArgs,
|
|
43057
|
+
globalAxios,
|
|
43058
|
+
BASE_PATH,
|
|
43059
|
+
configuration,
|
|
43060
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43061
|
+
},
|
|
43062
|
+
/**
|
|
43063
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43064
|
+
* @summary Preview
|
|
43065
|
+
* @param {string} token
|
|
43066
|
+
* @param {*} [options] Override http request option.
|
|
43067
|
+
* @throws {RequiredError}
|
|
43068
|
+
*/
|
|
43069
|
+
async inviteLinkControllerPreview(
|
|
43070
|
+
token: string,
|
|
43071
|
+
options?: RawAxiosRequestConfig,
|
|
43072
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
43073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
43074
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43075
|
+
const localVarOperationServerBasePath =
|
|
43076
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
43077
|
+
return (axios, basePath) =>
|
|
43078
|
+
createRequestFunction(
|
|
43079
|
+
localVarAxiosArgs,
|
|
43080
|
+
globalAxios,
|
|
43081
|
+
BASE_PATH,
|
|
43082
|
+
configuration,
|
|
43083
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43084
|
+
},
|
|
43085
|
+
/**
|
|
43086
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43087
|
+
* @summary Redeem
|
|
43088
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43089
|
+
* @param {*} [options] Override http request option.
|
|
43090
|
+
* @throws {RequiredError}
|
|
43091
|
+
*/
|
|
43092
|
+
async inviteLinkControllerRedeem(
|
|
43093
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43094
|
+
options?: RawAxiosRequestConfig,
|
|
43095
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
43096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
43097
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43098
|
+
const localVarOperationServerBasePath =
|
|
43099
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
43100
|
+
return (axios, basePath) =>
|
|
43101
|
+
createRequestFunction(
|
|
43102
|
+
localVarAxiosArgs,
|
|
43103
|
+
globalAxios,
|
|
43104
|
+
BASE_PATH,
|
|
43105
|
+
configuration,
|
|
43106
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43107
|
+
},
|
|
43108
|
+
/**
|
|
43109
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43110
|
+
* @summary Revoke
|
|
43111
|
+
* @param {string} id
|
|
43112
|
+
* @param {*} [options] Override http request option.
|
|
43113
|
+
* @throws {RequiredError}
|
|
43114
|
+
*/
|
|
43115
|
+
async inviteLinkControllerRevoke(
|
|
43116
|
+
id: string,
|
|
43117
|
+
options?: RawAxiosRequestConfig,
|
|
43118
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43120
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43121
|
+
const localVarOperationServerBasePath =
|
|
43122
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43123
|
+
return (axios, basePath) =>
|
|
43124
|
+
createRequestFunction(
|
|
43125
|
+
localVarAxiosArgs,
|
|
43126
|
+
globalAxios,
|
|
43127
|
+
BASE_PATH,
|
|
43128
|
+
configuration,
|
|
43129
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43130
|
+
},
|
|
43131
|
+
/**
|
|
43132
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43133
|
+
* @summary Search
|
|
43134
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43135
|
+
* @param {*} [options] Override http request option.
|
|
43136
|
+
* @throws {RequiredError}
|
|
43137
|
+
*/
|
|
43138
|
+
async inviteLinkControllerSearch(
|
|
43139
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43140
|
+
options?: RawAxiosRequestConfig,
|
|
43141
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43143
|
+
inviteLinkSearchInputDTO,
|
|
43144
|
+
options,
|
|
43145
|
+
);
|
|
43146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43147
|
+
const localVarOperationServerBasePath =
|
|
43148
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43149
|
+
return (axios, basePath) =>
|
|
43150
|
+
createRequestFunction(
|
|
43151
|
+
localVarAxiosArgs,
|
|
43152
|
+
globalAxios,
|
|
43153
|
+
BASE_PATH,
|
|
43154
|
+
configuration,
|
|
43155
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43156
|
+
},
|
|
43157
|
+
};
|
|
43158
|
+
};
|
|
43159
|
+
|
|
43160
|
+
/**
|
|
43161
|
+
* InviteLinkApi - factory interface
|
|
43162
|
+
* @export
|
|
43163
|
+
*/
|
|
43164
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43165
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
43166
|
+
return {
|
|
43167
|
+
/**
|
|
43168
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43169
|
+
* @summary Create invite link
|
|
43170
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43171
|
+
* @param {*} [options] Override http request option.
|
|
43172
|
+
* @throws {RequiredError}
|
|
43173
|
+
*/
|
|
43174
|
+
inviteLinkControllerCreate(
|
|
43175
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43176
|
+
options?: RawAxiosRequestConfig,
|
|
43177
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43178
|
+
return localVarFp
|
|
43179
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43180
|
+
.then((request) => request(axios, basePath));
|
|
43181
|
+
},
|
|
43182
|
+
/**
|
|
43183
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43184
|
+
* @summary Preview
|
|
43185
|
+
* @param {string} token
|
|
43186
|
+
* @param {*} [options] Override http request option.
|
|
43187
|
+
* @throws {RequiredError}
|
|
43188
|
+
*/
|
|
43189
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43190
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43191
|
+
},
|
|
43192
|
+
/**
|
|
43193
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43194
|
+
* @summary Redeem
|
|
43195
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43196
|
+
* @param {*} [options] Override http request option.
|
|
43197
|
+
* @throws {RequiredError}
|
|
43198
|
+
*/
|
|
43199
|
+
inviteLinkControllerRedeem(
|
|
43200
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43201
|
+
options?: RawAxiosRequestConfig,
|
|
43202
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43203
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43204
|
+
},
|
|
43205
|
+
/**
|
|
43206
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43207
|
+
* @summary Revoke
|
|
43208
|
+
* @param {string} id
|
|
43209
|
+
* @param {*} [options] Override http request option.
|
|
43210
|
+
* @throws {RequiredError}
|
|
43211
|
+
*/
|
|
43212
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43213
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43214
|
+
},
|
|
43215
|
+
/**
|
|
43216
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43217
|
+
* @summary Search
|
|
43218
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43219
|
+
* @param {*} [options] Override http request option.
|
|
43220
|
+
* @throws {RequiredError}
|
|
43221
|
+
*/
|
|
43222
|
+
inviteLinkControllerSearch(
|
|
43223
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43224
|
+
options?: RawAxiosRequestConfig,
|
|
43225
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43226
|
+
return localVarFp
|
|
43227
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43228
|
+
.then((request) => request(axios, basePath));
|
|
43229
|
+
},
|
|
43230
|
+
};
|
|
43231
|
+
};
|
|
43232
|
+
|
|
43233
|
+
/**
|
|
43234
|
+
* InviteLinkApi - object-oriented interface
|
|
43235
|
+
* @export
|
|
43236
|
+
* @class InviteLinkApi
|
|
43237
|
+
* @extends {BaseAPI}
|
|
43238
|
+
*/
|
|
43239
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43240
|
+
/**
|
|
43241
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43242
|
+
* @summary Create invite link
|
|
43243
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43244
|
+
* @param {*} [options] Override http request option.
|
|
43245
|
+
* @throws {RequiredError}
|
|
43246
|
+
* @memberof InviteLinkApi
|
|
43247
|
+
*/
|
|
43248
|
+
public inviteLinkControllerCreate(
|
|
43249
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43250
|
+
options?: RawAxiosRequestConfig,
|
|
43251
|
+
) {
|
|
43252
|
+
return InviteLinkApiFp(this.configuration)
|
|
43253
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43254
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43255
|
+
}
|
|
43256
|
+
|
|
43257
|
+
/**
|
|
43258
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43259
|
+
* @summary Preview
|
|
43260
|
+
* @param {string} token
|
|
43261
|
+
* @param {*} [options] Override http request option.
|
|
43262
|
+
* @throws {RequiredError}
|
|
43263
|
+
* @memberof InviteLinkApi
|
|
43264
|
+
*/
|
|
43265
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43266
|
+
return InviteLinkApiFp(this.configuration)
|
|
43267
|
+
.inviteLinkControllerPreview(token, options)
|
|
43268
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43269
|
+
}
|
|
43270
|
+
|
|
43271
|
+
/**
|
|
43272
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43273
|
+
* @summary Redeem
|
|
43274
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43275
|
+
* @param {*} [options] Override http request option.
|
|
43276
|
+
* @throws {RequiredError}
|
|
43277
|
+
* @memberof InviteLinkApi
|
|
43278
|
+
*/
|
|
43279
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43280
|
+
return InviteLinkApiFp(this.configuration)
|
|
43281
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43282
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43283
|
+
}
|
|
43284
|
+
|
|
43285
|
+
/**
|
|
43286
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43287
|
+
* @summary Revoke
|
|
43288
|
+
* @param {string} id
|
|
43289
|
+
* @param {*} [options] Override http request option.
|
|
43290
|
+
* @throws {RequiredError}
|
|
43291
|
+
* @memberof InviteLinkApi
|
|
43292
|
+
*/
|
|
43293
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43294
|
+
return InviteLinkApiFp(this.configuration)
|
|
43295
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43296
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43297
|
+
}
|
|
43298
|
+
|
|
43299
|
+
/**
|
|
43300
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43301
|
+
* @summary Search
|
|
43302
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43303
|
+
* @param {*} [options] Override http request option.
|
|
43304
|
+
* @throws {RequiredError}
|
|
43305
|
+
* @memberof InviteLinkApi
|
|
43306
|
+
*/
|
|
43307
|
+
public inviteLinkControllerSearch(
|
|
43308
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43309
|
+
options?: RawAxiosRequestConfig,
|
|
43310
|
+
) {
|
|
43311
|
+
return InviteLinkApiFp(this.configuration)
|
|
43312
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43313
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43314
|
+
}
|
|
43315
|
+
}
|