@takaro/apiclient 0.0.0-dev.18bf8ac → 0.0.0-dev.1b37c95
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 +3612 -1624
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1566 -197
- 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 +3107 -42
- 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
|
|
@@ -16473,6 +17734,12 @@ export interface UserOutputDTO {
|
|
|
16473
17734
|
* @memberof UserOutputDTO
|
|
16474
17735
|
*/
|
|
16475
17736
|
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
17737
|
+
/**
|
|
17738
|
+
*
|
|
17739
|
+
* @type {string}
|
|
17740
|
+
* @memberof UserOutputDTO
|
|
17741
|
+
*/
|
|
17742
|
+
inviteLinkId?: string;
|
|
16476
17743
|
}
|
|
16477
17744
|
/**
|
|
16478
17745
|
*
|
|
@@ -16571,6 +17838,31 @@ export interface UserOutputWithRolesDTO {
|
|
|
16571
17838
|
* @memberof UserOutputWithRolesDTO
|
|
16572
17839
|
*/
|
|
16573
17840
|
isDashboardUser: boolean;
|
|
17841
|
+
/**
|
|
17842
|
+
*
|
|
17843
|
+
* @type {string}
|
|
17844
|
+
* @memberof UserOutputWithRolesDTO
|
|
17845
|
+
*/
|
|
17846
|
+
inviteLinkId?: string;
|
|
17847
|
+
}
|
|
17848
|
+
/**
|
|
17849
|
+
*
|
|
17850
|
+
* @export
|
|
17851
|
+
* @interface UserOutputWithRolesDTOAPI
|
|
17852
|
+
*/
|
|
17853
|
+
export interface UserOutputWithRolesDTOAPI {
|
|
17854
|
+
/**
|
|
17855
|
+
*
|
|
17856
|
+
* @type {UserOutputWithRolesDTO}
|
|
17857
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17858
|
+
*/
|
|
17859
|
+
data: UserOutputWithRolesDTO;
|
|
17860
|
+
/**
|
|
17861
|
+
*
|
|
17862
|
+
* @type {MetadataOutput}
|
|
17863
|
+
* @memberof UserOutputWithRolesDTOAPI
|
|
17864
|
+
*/
|
|
17865
|
+
meta: MetadataOutput;
|
|
16574
17866
|
}
|
|
16575
17867
|
/**
|
|
16576
17868
|
*
|
|
@@ -17833,23 +19125,29 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17833
19125
|
};
|
|
17834
19126
|
},
|
|
17835
19127
|
/**
|
|
17836
|
-
*
|
|
17837
|
-
* @summary Get module
|
|
19128
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
19129
|
+
* @summary Get per-installation module KPIs
|
|
19130
|
+
* @param {string} gameServerId
|
|
19131
|
+
* @param {string} moduleId
|
|
17838
19132
|
* @param {string} [startDate]
|
|
17839
19133
|
* @param {string} [endDate]
|
|
17840
|
-
* @param {
|
|
17841
|
-
* @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
|
|
19134
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
17842
19135
|
* @param {*} [options] Override http request option.
|
|
17843
19136
|
* @throws {RequiredError}
|
|
17844
19137
|
*/
|
|
17845
|
-
|
|
19138
|
+
analyticsControllerGetModuleInstallationKpis: async (
|
|
19139
|
+
gameServerId: string,
|
|
19140
|
+
moduleId: string,
|
|
17846
19141
|
startDate?: string,
|
|
17847
19142
|
endDate?: string,
|
|
17848
|
-
|
|
17849
|
-
period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
|
|
19143
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
17850
19144
|
options: RawAxiosRequestConfig = {},
|
|
17851
19145
|
): Promise<RequestArgs> => {
|
|
17852
|
-
|
|
19146
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
19147
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
|
|
19148
|
+
// verify required parameter 'moduleId' is not null or undefined
|
|
19149
|
+
assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
|
|
19150
|
+
const localVarPath = `/analytics/modules/installation-kpis`;
|
|
17853
19151
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17854
19152
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17855
19153
|
let baseOptions;
|
|
@@ -17875,6 +19173,10 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17875
19173
|
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
17876
19174
|
}
|
|
17877
19175
|
|
|
19176
|
+
if (moduleId !== undefined) {
|
|
19177
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
19178
|
+
}
|
|
19179
|
+
|
|
17878
19180
|
if (period !== undefined) {
|
|
17879
19181
|
localVarQueryParameter['period'] = period;
|
|
17880
19182
|
}
|
|
@@ -17889,23 +19191,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17889
19191
|
};
|
|
17890
19192
|
},
|
|
17891
19193
|
/**
|
|
17892
|
-
*
|
|
17893
|
-
* @summary Get module item
|
|
19194
|
+
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19195
|
+
* @summary Get module item failure aggregate
|
|
17894
19196
|
* @param {string} [startDate]
|
|
17895
19197
|
* @param {string} [endDate]
|
|
17896
19198
|
* @param {string} [gameServerId]
|
|
17897
|
-
* @param {
|
|
19199
|
+
* @param {AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum} [period]
|
|
17898
19200
|
* @param {*} [options] Override http request option.
|
|
17899
19201
|
* @throws {RequiredError}
|
|
17900
19202
|
*/
|
|
17901
|
-
|
|
19203
|
+
analyticsControllerGetModuleItemFailureLeaderboard: async (
|
|
17902
19204
|
startDate?: string,
|
|
17903
19205
|
endDate?: string,
|
|
17904
19206
|
gameServerId?: string,
|
|
17905
|
-
period?:
|
|
19207
|
+
period?: AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum,
|
|
17906
19208
|
options: RawAxiosRequestConfig = {},
|
|
17907
19209
|
): Promise<RequestArgs> => {
|
|
17908
|
-
const localVarPath = `/analytics/modules/items/
|
|
19210
|
+
const localVarPath = `/analytics/modules/items/failures`;
|
|
17909
19211
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17910
19212
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17911
19213
|
let baseOptions;
|
|
@@ -17945,23 +19247,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
17945
19247
|
};
|
|
17946
19248
|
},
|
|
17947
19249
|
/**
|
|
17948
|
-
*
|
|
17949
|
-
* @summary Get
|
|
19250
|
+
* Returns one row per module-item type (hook, cron, command, shopAction) with total runs and failures. Zero-filled when no events exist so the response shape is stable. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemTypeSummary`
|
|
19251
|
+
* @summary Get module item run/failure totals per type
|
|
17950
19252
|
* @param {string} [startDate]
|
|
17951
19253
|
* @param {string} [endDate]
|
|
17952
19254
|
* @param {string} [gameServerId]
|
|
17953
|
-
* @param {
|
|
19255
|
+
* @param {AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum} [period]
|
|
17954
19256
|
* @param {*} [options] Override http request option.
|
|
17955
19257
|
* @throws {RequiredError}
|
|
17956
19258
|
*/
|
|
17957
|
-
|
|
19259
|
+
analyticsControllerGetModuleItemTypeSummary: async (
|
|
17958
19260
|
startDate?: string,
|
|
17959
19261
|
endDate?: string,
|
|
17960
19262
|
gameServerId?: string,
|
|
17961
|
-
period?:
|
|
19263
|
+
period?: AnalyticsControllerGetModuleItemTypeSummaryPeriodEnum,
|
|
17962
19264
|
options: RawAxiosRequestConfig = {},
|
|
17963
19265
|
): Promise<RequestArgs> => {
|
|
17964
|
-
const localVarPath = `/analytics/
|
|
19266
|
+
const localVarPath = `/analytics/modules/items/summary`;
|
|
17965
19267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17966
19268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17967
19269
|
let baseOptions;
|
|
@@ -18001,23 +19303,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18001
19303
|
};
|
|
18002
19304
|
},
|
|
18003
19305
|
/**
|
|
18004
|
-
*
|
|
18005
|
-
* @summary Get
|
|
19306
|
+
* Counts by status sourced from Postgres `shopOrder.status` (authoritative current state). Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetOrderStatusMix`
|
|
19307
|
+
* @summary Get shop order status distribution
|
|
18006
19308
|
* @param {string} [startDate]
|
|
18007
19309
|
* @param {string} [endDate]
|
|
18008
19310
|
* @param {string} [gameServerId]
|
|
18009
|
-
* @param {
|
|
19311
|
+
* @param {AnalyticsControllerGetOrderStatusMixPeriodEnum} [period]
|
|
18010
19312
|
* @param {*} [options] Override http request option.
|
|
18011
19313
|
* @throws {RequiredError}
|
|
18012
19314
|
*/
|
|
18013
|
-
|
|
19315
|
+
analyticsControllerGetOrderStatusMix: async (
|
|
18014
19316
|
startDate?: string,
|
|
18015
19317
|
endDate?: string,
|
|
18016
19318
|
gameServerId?: string,
|
|
18017
|
-
period?:
|
|
19319
|
+
period?: AnalyticsControllerGetOrderStatusMixPeriodEnum,
|
|
18018
19320
|
options: RawAxiosRequestConfig = {},
|
|
18019
19321
|
): Promise<RequestArgs> => {
|
|
18020
|
-
const localVarPath = `/analytics/
|
|
19322
|
+
const localVarPath = `/analytics/shop/order-status-mix`;
|
|
18021
19323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18022
19324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18023
19325
|
let baseOptions;
|
|
@@ -18057,23 +19359,23 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18057
19359
|
};
|
|
18058
19360
|
},
|
|
18059
19361
|
/**
|
|
18060
|
-
*
|
|
18061
|
-
* @summary Get
|
|
19362
|
+
* p50 and p95 of meta.ping from player-sync-snapshot events, bucketed by time. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPingHealth`
|
|
19363
|
+
* @summary Get ping health timeseries
|
|
18062
19364
|
* @param {string} [startDate]
|
|
18063
19365
|
* @param {string} [endDate]
|
|
18064
19366
|
* @param {string} [gameServerId]
|
|
18065
|
-
* @param {
|
|
19367
|
+
* @param {AnalyticsControllerGetPingHealthPeriodEnum} [period]
|
|
18066
19368
|
* @param {*} [options] Override http request option.
|
|
18067
19369
|
* @throws {RequiredError}
|
|
18068
19370
|
*/
|
|
18069
|
-
|
|
19371
|
+
analyticsControllerGetPingHealth: async (
|
|
18070
19372
|
startDate?: string,
|
|
18071
19373
|
endDate?: string,
|
|
18072
19374
|
gameServerId?: string,
|
|
18073
|
-
period?:
|
|
19375
|
+
period?: AnalyticsControllerGetPingHealthPeriodEnum,
|
|
18074
19376
|
options: RawAxiosRequestConfig = {},
|
|
18075
19377
|
): Promise<RequestArgs> => {
|
|
18076
|
-
const localVarPath = `/analytics/players/
|
|
19378
|
+
const localVarPath = `/analytics/players/ping-health`;
|
|
18077
19379
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18078
19380
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18079
19381
|
let baseOptions;
|
|
@@ -18113,23 +19415,79 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18113
19415
|
};
|
|
18114
19416
|
},
|
|
18115
19417
|
/**
|
|
18116
|
-
*
|
|
18117
|
-
* @summary Get
|
|
19418
|
+
* Counts per event_name across the player-activity whitelist (chat, kills, deaths, inventory, shop orders, roles, currency). Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerActivityMix`
|
|
19419
|
+
* @summary Get player activity mix
|
|
18118
19420
|
* @param {string} [startDate]
|
|
18119
19421
|
* @param {string} [endDate]
|
|
18120
19422
|
* @param {string} [gameServerId]
|
|
18121
|
-
* @param {
|
|
19423
|
+
* @param {AnalyticsControllerGetPlayerActivityMixPeriodEnum} [period]
|
|
18122
19424
|
* @param {*} [options] Override http request option.
|
|
18123
19425
|
* @throws {RequiredError}
|
|
18124
19426
|
*/
|
|
18125
|
-
|
|
19427
|
+
analyticsControllerGetPlayerActivityMix: async (
|
|
18126
19428
|
startDate?: string,
|
|
18127
19429
|
endDate?: string,
|
|
18128
19430
|
gameServerId?: string,
|
|
18129
|
-
period?:
|
|
19431
|
+
period?: AnalyticsControllerGetPlayerActivityMixPeriodEnum,
|
|
18130
19432
|
options: RawAxiosRequestConfig = {},
|
|
18131
19433
|
): Promise<RequestArgs> => {
|
|
18132
|
-
const localVarPath = `/analytics/players/
|
|
19434
|
+
const localVarPath = `/analytics/players/activity-mix`;
|
|
19435
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19436
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19437
|
+
let baseOptions;
|
|
19438
|
+
if (configuration) {
|
|
19439
|
+
baseOptions = configuration.baseOptions;
|
|
19440
|
+
}
|
|
19441
|
+
|
|
19442
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
19443
|
+
const localVarHeaderParameter = {} as any;
|
|
19444
|
+
const localVarQueryParameter = {} as any;
|
|
19445
|
+
|
|
19446
|
+
// authentication domainAuth required
|
|
19447
|
+
|
|
19448
|
+
if (startDate !== undefined) {
|
|
19449
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
19450
|
+
}
|
|
19451
|
+
|
|
19452
|
+
if (endDate !== undefined) {
|
|
19453
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
19454
|
+
}
|
|
19455
|
+
|
|
19456
|
+
if (gameServerId !== undefined) {
|
|
19457
|
+
localVarQueryParameter['gameServerId'] = gameServerId;
|
|
19458
|
+
}
|
|
19459
|
+
|
|
19460
|
+
if (period !== undefined) {
|
|
19461
|
+
localVarQueryParameter['period'] = period;
|
|
19462
|
+
}
|
|
19463
|
+
|
|
19464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19466
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19467
|
+
|
|
19468
|
+
return {
|
|
19469
|
+
url: toPathString(localVarUrlObj),
|
|
19470
|
+
options: localVarRequestOptions,
|
|
19471
|
+
};
|
|
19472
|
+
},
|
|
19473
|
+
/**
|
|
19474
|
+
* Top players by K/D ratio — kills from entity-killed, deaths from player-death. Minimum 5 combined events. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetPlayerKillLeaderboard`
|
|
19475
|
+
* @summary Get kill/death leaderboard
|
|
19476
|
+
* @param {string} [startDate]
|
|
19477
|
+
* @param {string} [endDate]
|
|
19478
|
+
* @param {string} [gameServerId]
|
|
19479
|
+
* @param {AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum} [period]
|
|
19480
|
+
* @param {*} [options] Override http request option.
|
|
19481
|
+
* @throws {RequiredError}
|
|
19482
|
+
*/
|
|
19483
|
+
analyticsControllerGetPlayerKillLeaderboard: async (
|
|
19484
|
+
startDate?: string,
|
|
19485
|
+
endDate?: string,
|
|
19486
|
+
gameServerId?: string,
|
|
19487
|
+
period?: AnalyticsControllerGetPlayerKillLeaderboardPeriodEnum,
|
|
19488
|
+
options: RawAxiosRequestConfig = {},
|
|
19489
|
+
): Promise<RequestArgs> => {
|
|
19490
|
+
const localVarPath = `/analytics/players/kill-leaderboard`;
|
|
18133
19491
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18134
19492
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18135
19493
|
let baseOptions;
|
|
@@ -19466,6 +20824,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
|
19466
20824
|
configuration,
|
|
19467
20825
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19468
20826
|
},
|
|
20827
|
+
/**
|
|
20828
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
20829
|
+
* @summary Get per-installation module KPIs
|
|
20830
|
+
* @param {string} gameServerId
|
|
20831
|
+
* @param {string} moduleId
|
|
20832
|
+
* @param {string} [startDate]
|
|
20833
|
+
* @param {string} [endDate]
|
|
20834
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
20835
|
+
* @param {*} [options] Override http request option.
|
|
20836
|
+
* @throws {RequiredError}
|
|
20837
|
+
*/
|
|
20838
|
+
async analyticsControllerGetModuleInstallationKpis(
|
|
20839
|
+
gameServerId: string,
|
|
20840
|
+
moduleId: string,
|
|
20841
|
+
startDate?: string,
|
|
20842
|
+
endDate?: string,
|
|
20843
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
20844
|
+
options?: RawAxiosRequestConfig,
|
|
20845
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
|
|
20846
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
|
|
20847
|
+
gameServerId,
|
|
20848
|
+
moduleId,
|
|
20849
|
+
startDate,
|
|
20850
|
+
endDate,
|
|
20851
|
+
period,
|
|
20852
|
+
options,
|
|
20853
|
+
);
|
|
20854
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20855
|
+
const localVarOperationServerBasePath =
|
|
20856
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
|
|
20857
|
+
?.url;
|
|
20858
|
+
return (axios, basePath) =>
|
|
20859
|
+
createRequestFunction(
|
|
20860
|
+
localVarAxiosArgs,
|
|
20861
|
+
globalAxios,
|
|
20862
|
+
BASE_PATH,
|
|
20863
|
+
configuration,
|
|
20864
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20865
|
+
},
|
|
19469
20866
|
/**
|
|
19470
20867
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
19471
20868
|
* @summary Get module item failure aggregate
|
|
@@ -20487,6 +21884,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
|
|
|
20487
21884
|
.analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
|
|
20488
21885
|
.then((request) => request(axios, basePath));
|
|
20489
21886
|
},
|
|
21887
|
+
/**
|
|
21888
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
21889
|
+
* @summary Get per-installation module KPIs
|
|
21890
|
+
* @param {string} gameServerId
|
|
21891
|
+
* @param {string} moduleId
|
|
21892
|
+
* @param {string} [startDate]
|
|
21893
|
+
* @param {string} [endDate]
|
|
21894
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
21895
|
+
* @param {*} [options] Override http request option.
|
|
21896
|
+
* @throws {RequiredError}
|
|
21897
|
+
*/
|
|
21898
|
+
analyticsControllerGetModuleInstallationKpis(
|
|
21899
|
+
gameServerId: string,
|
|
21900
|
+
moduleId: string,
|
|
21901
|
+
startDate?: string,
|
|
21902
|
+
endDate?: string,
|
|
21903
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
21904
|
+
options?: RawAxiosRequestConfig,
|
|
21905
|
+
): AxiosPromise<ModuleInstallationKpisDTOAPI> {
|
|
21906
|
+
return localVarFp
|
|
21907
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
21908
|
+
.then((request) => request(axios, basePath));
|
|
21909
|
+
},
|
|
20490
21910
|
/**
|
|
20491
21911
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
20492
21912
|
* @summary Get module item failure aggregate
|
|
@@ -21229,6 +22649,31 @@ export class AnalyticsApi extends BaseAPI {
|
|
|
21229
22649
|
.then((request) => request(this.axios, this.basePath));
|
|
21230
22650
|
}
|
|
21231
22651
|
|
|
22652
|
+
/**
|
|
22653
|
+
* Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
|
|
22654
|
+
* @summary Get per-installation module KPIs
|
|
22655
|
+
* @param {string} gameServerId
|
|
22656
|
+
* @param {string} moduleId
|
|
22657
|
+
* @param {string} [startDate]
|
|
22658
|
+
* @param {string} [endDate]
|
|
22659
|
+
* @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
|
|
22660
|
+
* @param {*} [options] Override http request option.
|
|
22661
|
+
* @throws {RequiredError}
|
|
22662
|
+
* @memberof AnalyticsApi
|
|
22663
|
+
*/
|
|
22664
|
+
public analyticsControllerGetModuleInstallationKpis(
|
|
22665
|
+
gameServerId: string,
|
|
22666
|
+
moduleId: string,
|
|
22667
|
+
startDate?: string,
|
|
22668
|
+
endDate?: string,
|
|
22669
|
+
period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
|
|
22670
|
+
options?: RawAxiosRequestConfig,
|
|
22671
|
+
) {
|
|
22672
|
+
return AnalyticsApiFp(this.configuration)
|
|
22673
|
+
.analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
|
|
22674
|
+
.then((request) => request(this.axios, this.basePath));
|
|
22675
|
+
}
|
|
22676
|
+
|
|
21232
22677
|
/**
|
|
21233
22678
|
* Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
|
|
21234
22679
|
* @summary Get module item failure aggregate
|
|
@@ -21848,6 +23293,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
|
|
|
21848
23293
|
/**
|
|
21849
23294
|
* @export
|
|
21850
23295
|
*/
|
|
23296
|
+
export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
|
|
23297
|
+
_24h: '24h',
|
|
23298
|
+
_7d: '7d',
|
|
23299
|
+
_30d: '30d',
|
|
23300
|
+
_90d: '90d',
|
|
23301
|
+
} as const;
|
|
23302
|
+
export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
|
|
23303
|
+
(typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
|
|
23304
|
+
/**
|
|
23305
|
+
* @export
|
|
23306
|
+
*/
|
|
21851
23307
|
export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
|
|
21852
23308
|
_24h: '24h',
|
|
21853
23309
|
_7d: '7d',
|
|
@@ -22077,6 +23533,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
|
|
|
22077
23533
|
export type AnalyticsControllerGetTopServersPeriodEnum =
|
|
22078
23534
|
(typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
|
|
22079
23535
|
|
|
23536
|
+
/**
|
|
23537
|
+
* AuthApi - axios parameter creator
|
|
23538
|
+
* @export
|
|
23539
|
+
*/
|
|
23540
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23541
|
+
return {
|
|
23542
|
+
/**
|
|
23543
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23544
|
+
* @summary Account
|
|
23545
|
+
* @param {*} [options] Override http request option.
|
|
23546
|
+
* @throws {RequiredError}
|
|
23547
|
+
*/
|
|
23548
|
+
authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23549
|
+
const localVarPath = `/auth/account`;
|
|
23550
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23551
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23552
|
+
let baseOptions;
|
|
23553
|
+
if (configuration) {
|
|
23554
|
+
baseOptions = configuration.baseOptions;
|
|
23555
|
+
}
|
|
23556
|
+
|
|
23557
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23558
|
+
const localVarHeaderParameter = {} as any;
|
|
23559
|
+
const localVarQueryParameter = {} as any;
|
|
23560
|
+
|
|
23561
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23562
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23563
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23564
|
+
|
|
23565
|
+
return {
|
|
23566
|
+
url: toPathString(localVarUrlObj),
|
|
23567
|
+
options: localVarRequestOptions,
|
|
23568
|
+
};
|
|
23569
|
+
},
|
|
23570
|
+
/**
|
|
23571
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23572
|
+
* @summary Callback
|
|
23573
|
+
* @param {*} [options] Override http request option.
|
|
23574
|
+
* @throws {RequiredError}
|
|
23575
|
+
*/
|
|
23576
|
+
authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23577
|
+
const localVarPath = `/auth/callback`;
|
|
23578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23580
|
+
let baseOptions;
|
|
23581
|
+
if (configuration) {
|
|
23582
|
+
baseOptions = configuration.baseOptions;
|
|
23583
|
+
}
|
|
23584
|
+
|
|
23585
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23586
|
+
const localVarHeaderParameter = {} as any;
|
|
23587
|
+
const localVarQueryParameter = {} as any;
|
|
23588
|
+
|
|
23589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23591
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23592
|
+
|
|
23593
|
+
return {
|
|
23594
|
+
url: toPathString(localVarUrlObj),
|
|
23595
|
+
options: localVarRequestOptions,
|
|
23596
|
+
};
|
|
23597
|
+
},
|
|
23598
|
+
/**
|
|
23599
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23600
|
+
* @summary Login
|
|
23601
|
+
* @param {string} [redirect]
|
|
23602
|
+
* @param {*} [options] Override http request option.
|
|
23603
|
+
* @throws {RequiredError}
|
|
23604
|
+
*/
|
|
23605
|
+
authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23606
|
+
const localVarPath = `/auth/login`;
|
|
23607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23608
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23609
|
+
let baseOptions;
|
|
23610
|
+
if (configuration) {
|
|
23611
|
+
baseOptions = configuration.baseOptions;
|
|
23612
|
+
}
|
|
23613
|
+
|
|
23614
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23615
|
+
const localVarHeaderParameter = {} as any;
|
|
23616
|
+
const localVarQueryParameter = {} as any;
|
|
23617
|
+
|
|
23618
|
+
if (redirect !== undefined) {
|
|
23619
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23620
|
+
}
|
|
23621
|
+
|
|
23622
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23623
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23624
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23625
|
+
|
|
23626
|
+
return {
|
|
23627
|
+
url: toPathString(localVarUrlObj),
|
|
23628
|
+
options: localVarRequestOptions,
|
|
23629
|
+
};
|
|
23630
|
+
},
|
|
23631
|
+
/**
|
|
23632
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23633
|
+
* @summary Logout
|
|
23634
|
+
* @param {string} [redirect]
|
|
23635
|
+
* @param {*} [options] Override http request option.
|
|
23636
|
+
* @throws {RequiredError}
|
|
23637
|
+
*/
|
|
23638
|
+
authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23639
|
+
const localVarPath = `/auth/logout`;
|
|
23640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23641
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23642
|
+
let baseOptions;
|
|
23643
|
+
if (configuration) {
|
|
23644
|
+
baseOptions = configuration.baseOptions;
|
|
23645
|
+
}
|
|
23646
|
+
|
|
23647
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
23648
|
+
const localVarHeaderParameter = {} as any;
|
|
23649
|
+
const localVarQueryParameter = {} as any;
|
|
23650
|
+
|
|
23651
|
+
if (redirect !== undefined) {
|
|
23652
|
+
localVarQueryParameter['redirect'] = redirect;
|
|
23653
|
+
}
|
|
23654
|
+
|
|
23655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23657
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
23658
|
+
|
|
23659
|
+
return {
|
|
23660
|
+
url: toPathString(localVarUrlObj),
|
|
23661
|
+
options: localVarRequestOptions,
|
|
23662
|
+
};
|
|
23663
|
+
},
|
|
23664
|
+
};
|
|
23665
|
+
};
|
|
23666
|
+
|
|
23667
|
+
/**
|
|
23668
|
+
* AuthApi - functional programming interface
|
|
23669
|
+
* @export
|
|
23670
|
+
*/
|
|
23671
|
+
export const AuthApiFp = function (configuration?: Configuration) {
|
|
23672
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
23673
|
+
return {
|
|
23674
|
+
/**
|
|
23675
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23676
|
+
* @summary Account
|
|
23677
|
+
* @param {*} [options] Override http request option.
|
|
23678
|
+
* @throws {RequiredError}
|
|
23679
|
+
*/
|
|
23680
|
+
async authControllerAccount(
|
|
23681
|
+
options?: RawAxiosRequestConfig,
|
|
23682
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
|
|
23684
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23685
|
+
const localVarOperationServerBasePath =
|
|
23686
|
+
operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
|
|
23687
|
+
return (axios, basePath) =>
|
|
23688
|
+
createRequestFunction(
|
|
23689
|
+
localVarAxiosArgs,
|
|
23690
|
+
globalAxios,
|
|
23691
|
+
BASE_PATH,
|
|
23692
|
+
configuration,
|
|
23693
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23694
|
+
},
|
|
23695
|
+
/**
|
|
23696
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23697
|
+
* @summary Callback
|
|
23698
|
+
* @param {*} [options] Override http request option.
|
|
23699
|
+
* @throws {RequiredError}
|
|
23700
|
+
*/
|
|
23701
|
+
async authControllerCallback(
|
|
23702
|
+
options?: RawAxiosRequestConfig,
|
|
23703
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
|
|
23705
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23706
|
+
const localVarOperationServerBasePath =
|
|
23707
|
+
operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
|
|
23708
|
+
return (axios, basePath) =>
|
|
23709
|
+
createRequestFunction(
|
|
23710
|
+
localVarAxiosArgs,
|
|
23711
|
+
globalAxios,
|
|
23712
|
+
BASE_PATH,
|
|
23713
|
+
configuration,
|
|
23714
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23715
|
+
},
|
|
23716
|
+
/**
|
|
23717
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23718
|
+
* @summary Login
|
|
23719
|
+
* @param {string} [redirect]
|
|
23720
|
+
* @param {*} [options] Override http request option.
|
|
23721
|
+
* @throws {RequiredError}
|
|
23722
|
+
*/
|
|
23723
|
+
async authControllerLogin(
|
|
23724
|
+
redirect?: string,
|
|
23725
|
+
options?: RawAxiosRequestConfig,
|
|
23726
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
|
|
23728
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23729
|
+
const localVarOperationServerBasePath =
|
|
23730
|
+
operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
|
|
23731
|
+
return (axios, basePath) =>
|
|
23732
|
+
createRequestFunction(
|
|
23733
|
+
localVarAxiosArgs,
|
|
23734
|
+
globalAxios,
|
|
23735
|
+
BASE_PATH,
|
|
23736
|
+
configuration,
|
|
23737
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23738
|
+
},
|
|
23739
|
+
/**
|
|
23740
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23741
|
+
* @summary Logout
|
|
23742
|
+
* @param {string} [redirect]
|
|
23743
|
+
* @param {*} [options] Override http request option.
|
|
23744
|
+
* @throws {RequiredError}
|
|
23745
|
+
*/
|
|
23746
|
+
async authControllerLogout(
|
|
23747
|
+
redirect?: string,
|
|
23748
|
+
options?: RawAxiosRequestConfig,
|
|
23749
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
|
|
23751
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23752
|
+
const localVarOperationServerBasePath =
|
|
23753
|
+
operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
|
|
23754
|
+
return (axios, basePath) =>
|
|
23755
|
+
createRequestFunction(
|
|
23756
|
+
localVarAxiosArgs,
|
|
23757
|
+
globalAxios,
|
|
23758
|
+
BASE_PATH,
|
|
23759
|
+
configuration,
|
|
23760
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
23761
|
+
},
|
|
23762
|
+
};
|
|
23763
|
+
};
|
|
23764
|
+
|
|
23765
|
+
/**
|
|
23766
|
+
* AuthApi - factory interface
|
|
23767
|
+
* @export
|
|
23768
|
+
*/
|
|
23769
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23770
|
+
const localVarFp = AuthApiFp(configuration);
|
|
23771
|
+
return {
|
|
23772
|
+
/**
|
|
23773
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23774
|
+
* @summary Account
|
|
23775
|
+
* @param {*} [options] Override http request option.
|
|
23776
|
+
* @throws {RequiredError}
|
|
23777
|
+
*/
|
|
23778
|
+
authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23779
|
+
return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
|
|
23780
|
+
},
|
|
23781
|
+
/**
|
|
23782
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23783
|
+
* @summary Callback
|
|
23784
|
+
* @param {*} [options] Override http request option.
|
|
23785
|
+
* @throws {RequiredError}
|
|
23786
|
+
*/
|
|
23787
|
+
authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23788
|
+
return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
|
|
23789
|
+
},
|
|
23790
|
+
/**
|
|
23791
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23792
|
+
* @summary Login
|
|
23793
|
+
* @param {string} [redirect]
|
|
23794
|
+
* @param {*} [options] Override http request option.
|
|
23795
|
+
* @throws {RequiredError}
|
|
23796
|
+
*/
|
|
23797
|
+
authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23798
|
+
return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
|
|
23799
|
+
},
|
|
23800
|
+
/**
|
|
23801
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23802
|
+
* @summary Logout
|
|
23803
|
+
* @param {string} [redirect]
|
|
23804
|
+
* @param {*} [options] Override http request option.
|
|
23805
|
+
* @throws {RequiredError}
|
|
23806
|
+
*/
|
|
23807
|
+
authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
23808
|
+
return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
|
|
23809
|
+
},
|
|
23810
|
+
};
|
|
23811
|
+
};
|
|
23812
|
+
|
|
23813
|
+
/**
|
|
23814
|
+
* AuthApi - object-oriented interface
|
|
23815
|
+
* @export
|
|
23816
|
+
* @class AuthApi
|
|
23817
|
+
* @extends {BaseAPI}
|
|
23818
|
+
*/
|
|
23819
|
+
export class AuthApi extends BaseAPI {
|
|
23820
|
+
/**
|
|
23821
|
+
* <br> OperationId: `AuthControllerAccount`
|
|
23822
|
+
* @summary Account
|
|
23823
|
+
* @param {*} [options] Override http request option.
|
|
23824
|
+
* @throws {RequiredError}
|
|
23825
|
+
* @memberof AuthApi
|
|
23826
|
+
*/
|
|
23827
|
+
public authControllerAccount(options?: RawAxiosRequestConfig) {
|
|
23828
|
+
return AuthApiFp(this.configuration)
|
|
23829
|
+
.authControllerAccount(options)
|
|
23830
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23831
|
+
}
|
|
23832
|
+
|
|
23833
|
+
/**
|
|
23834
|
+
* <br> OperationId: `AuthControllerCallback`
|
|
23835
|
+
* @summary Callback
|
|
23836
|
+
* @param {*} [options] Override http request option.
|
|
23837
|
+
* @throws {RequiredError}
|
|
23838
|
+
* @memberof AuthApi
|
|
23839
|
+
*/
|
|
23840
|
+
public authControllerCallback(options?: RawAxiosRequestConfig) {
|
|
23841
|
+
return AuthApiFp(this.configuration)
|
|
23842
|
+
.authControllerCallback(options)
|
|
23843
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23844
|
+
}
|
|
23845
|
+
|
|
23846
|
+
/**
|
|
23847
|
+
* <br> OperationId: `AuthControllerLogin`
|
|
23848
|
+
* @summary Login
|
|
23849
|
+
* @param {string} [redirect]
|
|
23850
|
+
* @param {*} [options] Override http request option.
|
|
23851
|
+
* @throws {RequiredError}
|
|
23852
|
+
* @memberof AuthApi
|
|
23853
|
+
*/
|
|
23854
|
+
public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23855
|
+
return AuthApiFp(this.configuration)
|
|
23856
|
+
.authControllerLogin(redirect, options)
|
|
23857
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23858
|
+
}
|
|
23859
|
+
|
|
23860
|
+
/**
|
|
23861
|
+
* <br> OperationId: `AuthControllerLogout`
|
|
23862
|
+
* @summary Logout
|
|
23863
|
+
* @param {string} [redirect]
|
|
23864
|
+
* @param {*} [options] Override http request option.
|
|
23865
|
+
* @throws {RequiredError}
|
|
23866
|
+
* @memberof AuthApi
|
|
23867
|
+
*/
|
|
23868
|
+
public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
|
|
23869
|
+
return AuthApiFp(this.configuration)
|
|
23870
|
+
.authControllerLogout(redirect, options)
|
|
23871
|
+
.then((request) => request(this.axios, this.basePath));
|
|
23872
|
+
}
|
|
23873
|
+
}
|
|
23874
|
+
|
|
22080
23875
|
/**
|
|
22081
23876
|
* CommandApi - axios parameter creator
|
|
22082
23877
|
* @export
|
|
@@ -34326,6 +36121,477 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
34326
36121
|
}
|
|
34327
36122
|
}
|
|
34328
36123
|
|
|
36124
|
+
/**
|
|
36125
|
+
* RegistryApi - axios parameter creator
|
|
36126
|
+
* @export
|
|
36127
|
+
*/
|
|
36128
|
+
export const RegistryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36129
|
+
return {
|
|
36130
|
+
/**
|
|
36131
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36132
|
+
* @summary Install a module from a registry
|
|
36133
|
+
* @param {string} id
|
|
36134
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36135
|
+
* @param {*} [options] Override http request option.
|
|
36136
|
+
* @throws {RequiredError}
|
|
36137
|
+
*/
|
|
36138
|
+
registryControllerInstall: async (
|
|
36139
|
+
id: string,
|
|
36140
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36141
|
+
options: RawAxiosRequestConfig = {},
|
|
36142
|
+
): Promise<RequestArgs> => {
|
|
36143
|
+
// verify required parameter 'id' is not null or undefined
|
|
36144
|
+
assertParamExists('registryControllerInstall', 'id', id);
|
|
36145
|
+
const localVarPath = `/registry/{id}/install`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36148
|
+
let baseOptions;
|
|
36149
|
+
if (configuration) {
|
|
36150
|
+
baseOptions = configuration.baseOptions;
|
|
36151
|
+
}
|
|
36152
|
+
|
|
36153
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36154
|
+
const localVarHeaderParameter = {} as any;
|
|
36155
|
+
const localVarQueryParameter = {} as any;
|
|
36156
|
+
|
|
36157
|
+
// authentication domainAuth required
|
|
36158
|
+
|
|
36159
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36160
|
+
|
|
36161
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36163
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36164
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registryInstallBody, localVarRequestOptions, configuration);
|
|
36165
|
+
|
|
36166
|
+
return {
|
|
36167
|
+
url: toPathString(localVarUrlObj),
|
|
36168
|
+
options: localVarRequestOptions,
|
|
36169
|
+
};
|
|
36170
|
+
},
|
|
36171
|
+
/**
|
|
36172
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36173
|
+
* @summary List subscribed registries
|
|
36174
|
+
* @param {*} [options] Override http request option.
|
|
36175
|
+
* @throws {RequiredError}
|
|
36176
|
+
*/
|
|
36177
|
+
registryControllerList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36178
|
+
const localVarPath = `/registry`;
|
|
36179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36181
|
+
let baseOptions;
|
|
36182
|
+
if (configuration) {
|
|
36183
|
+
baseOptions = configuration.baseOptions;
|
|
36184
|
+
}
|
|
36185
|
+
|
|
36186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
36187
|
+
const localVarHeaderParameter = {} as any;
|
|
36188
|
+
const localVarQueryParameter = {} as any;
|
|
36189
|
+
|
|
36190
|
+
// authentication domainAuth required
|
|
36191
|
+
|
|
36192
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36193
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36194
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36195
|
+
|
|
36196
|
+
return {
|
|
36197
|
+
url: toPathString(localVarUrlObj),
|
|
36198
|
+
options: localVarRequestOptions,
|
|
36199
|
+
};
|
|
36200
|
+
},
|
|
36201
|
+
/**
|
|
36202
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36203
|
+
* @summary Refresh registry manifest
|
|
36204
|
+
* @param {string} id
|
|
36205
|
+
* @param {*} [options] Override http request option.
|
|
36206
|
+
* @throws {RequiredError}
|
|
36207
|
+
*/
|
|
36208
|
+
registryControllerRefresh: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36209
|
+
// verify required parameter 'id' is not null or undefined
|
|
36210
|
+
assertParamExists('registryControllerRefresh', 'id', id);
|
|
36211
|
+
const localVarPath = `/registry/{id}/refresh`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36214
|
+
let baseOptions;
|
|
36215
|
+
if (configuration) {
|
|
36216
|
+
baseOptions = configuration.baseOptions;
|
|
36217
|
+
}
|
|
36218
|
+
|
|
36219
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36220
|
+
const localVarHeaderParameter = {} as any;
|
|
36221
|
+
const localVarQueryParameter = {} as any;
|
|
36222
|
+
|
|
36223
|
+
// authentication domainAuth required
|
|
36224
|
+
|
|
36225
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36226
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36227
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36228
|
+
|
|
36229
|
+
return {
|
|
36230
|
+
url: toPathString(localVarUrlObj),
|
|
36231
|
+
options: localVarRequestOptions,
|
|
36232
|
+
};
|
|
36233
|
+
},
|
|
36234
|
+
/**
|
|
36235
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36236
|
+
* @summary Subscribe to a registry
|
|
36237
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36238
|
+
* @param {*} [options] Override http request option.
|
|
36239
|
+
* @throws {RequiredError}
|
|
36240
|
+
*/
|
|
36241
|
+
registryControllerSubscribe: async (
|
|
36242
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36243
|
+
options: RawAxiosRequestConfig = {},
|
|
36244
|
+
): Promise<RequestArgs> => {
|
|
36245
|
+
const localVarPath = `/registry`;
|
|
36246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36247
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36248
|
+
let baseOptions;
|
|
36249
|
+
if (configuration) {
|
|
36250
|
+
baseOptions = configuration.baseOptions;
|
|
36251
|
+
}
|
|
36252
|
+
|
|
36253
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36254
|
+
const localVarHeaderParameter = {} as any;
|
|
36255
|
+
const localVarQueryParameter = {} as any;
|
|
36256
|
+
|
|
36257
|
+
// authentication domainAuth required
|
|
36258
|
+
|
|
36259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36260
|
+
|
|
36261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36263
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36264
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registrySubscribeBody, localVarRequestOptions, configuration);
|
|
36265
|
+
|
|
36266
|
+
return {
|
|
36267
|
+
url: toPathString(localVarUrlObj),
|
|
36268
|
+
options: localVarRequestOptions,
|
|
36269
|
+
};
|
|
36270
|
+
},
|
|
36271
|
+
/**
|
|
36272
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36273
|
+
* @summary Unsubscribe from a registry
|
|
36274
|
+
* @param {string} id
|
|
36275
|
+
* @param {*} [options] Override http request option.
|
|
36276
|
+
* @throws {RequiredError}
|
|
36277
|
+
*/
|
|
36278
|
+
registryControllerUnsubscribe: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36279
|
+
// verify required parameter 'id' is not null or undefined
|
|
36280
|
+
assertParamExists('registryControllerUnsubscribe', 'id', id);
|
|
36281
|
+
const localVarPath = `/registry/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
36282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36284
|
+
let baseOptions;
|
|
36285
|
+
if (configuration) {
|
|
36286
|
+
baseOptions = configuration.baseOptions;
|
|
36287
|
+
}
|
|
36288
|
+
|
|
36289
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
36290
|
+
const localVarHeaderParameter = {} as any;
|
|
36291
|
+
const localVarQueryParameter = {} as any;
|
|
36292
|
+
|
|
36293
|
+
// authentication domainAuth required
|
|
36294
|
+
|
|
36295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36297
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
36298
|
+
|
|
36299
|
+
return {
|
|
36300
|
+
url: toPathString(localVarUrlObj),
|
|
36301
|
+
options: localVarRequestOptions,
|
|
36302
|
+
};
|
|
36303
|
+
},
|
|
36304
|
+
};
|
|
36305
|
+
};
|
|
36306
|
+
|
|
36307
|
+
/**
|
|
36308
|
+
* RegistryApi - functional programming interface
|
|
36309
|
+
* @export
|
|
36310
|
+
*/
|
|
36311
|
+
export const RegistryApiFp = function (configuration?: Configuration) {
|
|
36312
|
+
const localVarAxiosParamCreator = RegistryApiAxiosParamCreator(configuration);
|
|
36313
|
+
return {
|
|
36314
|
+
/**
|
|
36315
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36316
|
+
* @summary Install a module from a registry
|
|
36317
|
+
* @param {string} id
|
|
36318
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36319
|
+
* @param {*} [options] Override http request option.
|
|
36320
|
+
* @throws {RequiredError}
|
|
36321
|
+
*/
|
|
36322
|
+
async registryControllerInstall(
|
|
36323
|
+
id: string,
|
|
36324
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36325
|
+
options?: RawAxiosRequestConfig,
|
|
36326
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
36327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerInstall(
|
|
36328
|
+
id,
|
|
36329
|
+
registryInstallBody,
|
|
36330
|
+
options,
|
|
36331
|
+
);
|
|
36332
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36333
|
+
const localVarOperationServerBasePath =
|
|
36334
|
+
operationServerMap['RegistryApi.registryControllerInstall']?.[localVarOperationServerIndex]?.url;
|
|
36335
|
+
return (axios, basePath) =>
|
|
36336
|
+
createRequestFunction(
|
|
36337
|
+
localVarAxiosArgs,
|
|
36338
|
+
globalAxios,
|
|
36339
|
+
BASE_PATH,
|
|
36340
|
+
configuration,
|
|
36341
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36342
|
+
},
|
|
36343
|
+
/**
|
|
36344
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36345
|
+
* @summary List subscribed registries
|
|
36346
|
+
* @param {*} [options] Override http request option.
|
|
36347
|
+
* @throws {RequiredError}
|
|
36348
|
+
*/
|
|
36349
|
+
async registryControllerList(
|
|
36350
|
+
options?: RawAxiosRequestConfig,
|
|
36351
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListOutputDTOAPI>> {
|
|
36352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerList(options);
|
|
36353
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36354
|
+
const localVarOperationServerBasePath =
|
|
36355
|
+
operationServerMap['RegistryApi.registryControllerList']?.[localVarOperationServerIndex]?.url;
|
|
36356
|
+
return (axios, basePath) =>
|
|
36357
|
+
createRequestFunction(
|
|
36358
|
+
localVarAxiosArgs,
|
|
36359
|
+
globalAxios,
|
|
36360
|
+
BASE_PATH,
|
|
36361
|
+
configuration,
|
|
36362
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36363
|
+
},
|
|
36364
|
+
/**
|
|
36365
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36366
|
+
* @summary Refresh registry manifest
|
|
36367
|
+
* @param {string} id
|
|
36368
|
+
* @param {*} [options] Override http request option.
|
|
36369
|
+
* @throws {RequiredError}
|
|
36370
|
+
*/
|
|
36371
|
+
async registryControllerRefresh(
|
|
36372
|
+
id: string,
|
|
36373
|
+
options?: RawAxiosRequestConfig,
|
|
36374
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
36375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerRefresh(id, options);
|
|
36376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36377
|
+
const localVarOperationServerBasePath =
|
|
36378
|
+
operationServerMap['RegistryApi.registryControllerRefresh']?.[localVarOperationServerIndex]?.url;
|
|
36379
|
+
return (axios, basePath) =>
|
|
36380
|
+
createRequestFunction(
|
|
36381
|
+
localVarAxiosArgs,
|
|
36382
|
+
globalAxios,
|
|
36383
|
+
BASE_PATH,
|
|
36384
|
+
configuration,
|
|
36385
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36386
|
+
},
|
|
36387
|
+
/**
|
|
36388
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36389
|
+
* @summary Subscribe to a registry
|
|
36390
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36391
|
+
* @param {*} [options] Override http request option.
|
|
36392
|
+
* @throws {RequiredError}
|
|
36393
|
+
*/
|
|
36394
|
+
async registryControllerSubscribe(
|
|
36395
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36396
|
+
options?: RawAxiosRequestConfig,
|
|
36397
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryWithManifestOutputDTOAPI>> {
|
|
36398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerSubscribe(
|
|
36399
|
+
registrySubscribeBody,
|
|
36400
|
+
options,
|
|
36401
|
+
);
|
|
36402
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36403
|
+
const localVarOperationServerBasePath =
|
|
36404
|
+
operationServerMap['RegistryApi.registryControllerSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
36405
|
+
return (axios, basePath) =>
|
|
36406
|
+
createRequestFunction(
|
|
36407
|
+
localVarAxiosArgs,
|
|
36408
|
+
globalAxios,
|
|
36409
|
+
BASE_PATH,
|
|
36410
|
+
configuration,
|
|
36411
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36412
|
+
},
|
|
36413
|
+
/**
|
|
36414
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36415
|
+
* @summary Unsubscribe from a registry
|
|
36416
|
+
* @param {string} id
|
|
36417
|
+
* @param {*} [options] Override http request option.
|
|
36418
|
+
* @throws {RequiredError}
|
|
36419
|
+
*/
|
|
36420
|
+
async registryControllerUnsubscribe(
|
|
36421
|
+
id: string,
|
|
36422
|
+
options?: RawAxiosRequestConfig,
|
|
36423
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
36424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registryControllerUnsubscribe(id, options);
|
|
36425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36426
|
+
const localVarOperationServerBasePath =
|
|
36427
|
+
operationServerMap['RegistryApi.registryControllerUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
36428
|
+
return (axios, basePath) =>
|
|
36429
|
+
createRequestFunction(
|
|
36430
|
+
localVarAxiosArgs,
|
|
36431
|
+
globalAxios,
|
|
36432
|
+
BASE_PATH,
|
|
36433
|
+
configuration,
|
|
36434
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
36435
|
+
},
|
|
36436
|
+
};
|
|
36437
|
+
};
|
|
36438
|
+
|
|
36439
|
+
/**
|
|
36440
|
+
* RegistryApi - factory interface
|
|
36441
|
+
* @export
|
|
36442
|
+
*/
|
|
36443
|
+
export const RegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
36444
|
+
const localVarFp = RegistryApiFp(configuration);
|
|
36445
|
+
return {
|
|
36446
|
+
/**
|
|
36447
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36448
|
+
* @summary Install a module from a registry
|
|
36449
|
+
* @param {string} id
|
|
36450
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36451
|
+
* @param {*} [options] Override http request option.
|
|
36452
|
+
* @throws {RequiredError}
|
|
36453
|
+
*/
|
|
36454
|
+
registryControllerInstall(
|
|
36455
|
+
id: string,
|
|
36456
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36457
|
+
options?: RawAxiosRequestConfig,
|
|
36458
|
+
): AxiosPromise<APIOutput> {
|
|
36459
|
+
return localVarFp
|
|
36460
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
36461
|
+
.then((request) => request(axios, basePath));
|
|
36462
|
+
},
|
|
36463
|
+
/**
|
|
36464
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36465
|
+
* @summary List subscribed registries
|
|
36466
|
+
* @param {*} [options] Override http request option.
|
|
36467
|
+
* @throws {RequiredError}
|
|
36468
|
+
*/
|
|
36469
|
+
registryControllerList(options?: RawAxiosRequestConfig): AxiosPromise<RegistryListOutputDTOAPI> {
|
|
36470
|
+
return localVarFp.registryControllerList(options).then((request) => request(axios, basePath));
|
|
36471
|
+
},
|
|
36472
|
+
/**
|
|
36473
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36474
|
+
* @summary Refresh registry manifest
|
|
36475
|
+
* @param {string} id
|
|
36476
|
+
* @param {*} [options] Override http request option.
|
|
36477
|
+
* @throws {RequiredError}
|
|
36478
|
+
*/
|
|
36479
|
+
registryControllerRefresh(
|
|
36480
|
+
id: string,
|
|
36481
|
+
options?: RawAxiosRequestConfig,
|
|
36482
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
36483
|
+
return localVarFp.registryControllerRefresh(id, options).then((request) => request(axios, basePath));
|
|
36484
|
+
},
|
|
36485
|
+
/**
|
|
36486
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36487
|
+
* @summary Subscribe to a registry
|
|
36488
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36489
|
+
* @param {*} [options] Override http request option.
|
|
36490
|
+
* @throws {RequiredError}
|
|
36491
|
+
*/
|
|
36492
|
+
registryControllerSubscribe(
|
|
36493
|
+
registrySubscribeBody?: RegistrySubscribeBody,
|
|
36494
|
+
options?: RawAxiosRequestConfig,
|
|
36495
|
+
): AxiosPromise<RegistryWithManifestOutputDTOAPI> {
|
|
36496
|
+
return localVarFp
|
|
36497
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
36498
|
+
.then((request) => request(axios, basePath));
|
|
36499
|
+
},
|
|
36500
|
+
/**
|
|
36501
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36502
|
+
* @summary Unsubscribe from a registry
|
|
36503
|
+
* @param {string} id
|
|
36504
|
+
* @param {*} [options] Override http request option.
|
|
36505
|
+
* @throws {RequiredError}
|
|
36506
|
+
*/
|
|
36507
|
+
registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
36508
|
+
return localVarFp.registryControllerUnsubscribe(id, options).then((request) => request(axios, basePath));
|
|
36509
|
+
},
|
|
36510
|
+
};
|
|
36511
|
+
};
|
|
36512
|
+
|
|
36513
|
+
/**
|
|
36514
|
+
* RegistryApi - object-oriented interface
|
|
36515
|
+
* @export
|
|
36516
|
+
* @class RegistryApi
|
|
36517
|
+
* @extends {BaseAPI}
|
|
36518
|
+
*/
|
|
36519
|
+
export class RegistryApi extends BaseAPI {
|
|
36520
|
+
/**
|
|
36521
|
+
* Fetch a specific module version from the registry and install it into the domain Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerInstall`
|
|
36522
|
+
* @summary Install a module from a registry
|
|
36523
|
+
* @param {string} id
|
|
36524
|
+
* @param {RegistryInstallBody} [registryInstallBody] RegistryInstallBody
|
|
36525
|
+
* @param {*} [options] Override http request option.
|
|
36526
|
+
* @throws {RequiredError}
|
|
36527
|
+
* @memberof RegistryApi
|
|
36528
|
+
*/
|
|
36529
|
+
public registryControllerInstall(
|
|
36530
|
+
id: string,
|
|
36531
|
+
registryInstallBody?: RegistryInstallBody,
|
|
36532
|
+
options?: RawAxiosRequestConfig,
|
|
36533
|
+
) {
|
|
36534
|
+
return RegistryApiFp(this.configuration)
|
|
36535
|
+
.registryControllerInstall(id, registryInstallBody, options)
|
|
36536
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36537
|
+
}
|
|
36538
|
+
|
|
36539
|
+
/**
|
|
36540
|
+
* List all subscribed registries with their cached module manifests Required permissions: `READ_MODULES`<br> OperationId: `RegistryControllerList`
|
|
36541
|
+
* @summary List subscribed registries
|
|
36542
|
+
* @param {*} [options] Override http request option.
|
|
36543
|
+
* @throws {RequiredError}
|
|
36544
|
+
* @memberof RegistryApi
|
|
36545
|
+
*/
|
|
36546
|
+
public registryControllerList(options?: RawAxiosRequestConfig) {
|
|
36547
|
+
return RegistryApiFp(this.configuration)
|
|
36548
|
+
.registryControllerList(options)
|
|
36549
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36550
|
+
}
|
|
36551
|
+
|
|
36552
|
+
/**
|
|
36553
|
+
* Bust the manifest cache and re-fetch from the registry URL. Requires MANAGE_MODULES permission. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerRefresh`
|
|
36554
|
+
* @summary Refresh registry manifest
|
|
36555
|
+
* @param {string} id
|
|
36556
|
+
* @param {*} [options] Override http request option.
|
|
36557
|
+
* @throws {RequiredError}
|
|
36558
|
+
* @memberof RegistryApi
|
|
36559
|
+
*/
|
|
36560
|
+
public registryControllerRefresh(id: string, options?: RawAxiosRequestConfig) {
|
|
36561
|
+
return RegistryApiFp(this.configuration)
|
|
36562
|
+
.registryControllerRefresh(id, options)
|
|
36563
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36564
|
+
}
|
|
36565
|
+
|
|
36566
|
+
/**
|
|
36567
|
+
* Subscribe to a module registry by URL. The URL must serve a valid registry.json manifest. Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerSubscribe`
|
|
36568
|
+
* @summary Subscribe to a registry
|
|
36569
|
+
* @param {RegistrySubscribeBody} [registrySubscribeBody] RegistrySubscribeBody
|
|
36570
|
+
* @param {*} [options] Override http request option.
|
|
36571
|
+
* @throws {RequiredError}
|
|
36572
|
+
* @memberof RegistryApi
|
|
36573
|
+
*/
|
|
36574
|
+
public registryControllerSubscribe(registrySubscribeBody?: RegistrySubscribeBody, options?: RawAxiosRequestConfig) {
|
|
36575
|
+
return RegistryApiFp(this.configuration)
|
|
36576
|
+
.registryControllerSubscribe(registrySubscribeBody, options)
|
|
36577
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36578
|
+
}
|
|
36579
|
+
|
|
36580
|
+
/**
|
|
36581
|
+
* Unsubscribe from a registry. Installed modules from this registry will be orphaned (registry_id set to null). Required permissions: `MANAGE_MODULES`<br> OperationId: `RegistryControllerUnsubscribe`
|
|
36582
|
+
* @summary Unsubscribe from a registry
|
|
36583
|
+
* @param {string} id
|
|
36584
|
+
* @param {*} [options] Override http request option.
|
|
36585
|
+
* @throws {RequiredError}
|
|
36586
|
+
* @memberof RegistryApi
|
|
36587
|
+
*/
|
|
36588
|
+
public registryControllerUnsubscribe(id: string, options?: RawAxiosRequestConfig) {
|
|
36589
|
+
return RegistryApiFp(this.configuration)
|
|
36590
|
+
.registryControllerUnsubscribe(id, options)
|
|
36591
|
+
.then((request) => request(this.axios, this.basePath));
|
|
36592
|
+
}
|
|
36593
|
+
}
|
|
36594
|
+
|
|
34329
36595
|
/**
|
|
34330
36596
|
* RoleApi - axios parameter creator
|
|
34331
36597
|
* @export
|
|
@@ -37148,7 +39414,7 @@ export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
|
37148
39414
|
*/
|
|
37149
39415
|
async shopListingControllerImportListings(
|
|
37150
39416
|
options?: RawAxiosRequestConfig,
|
|
37151
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
39417
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopImportResultDTOAPI>> {
|
|
37152
39418
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
37153
39419
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37154
39420
|
const localVarOperationServerBasePath =
|
|
@@ -37271,7 +39537,7 @@ export const ShopListingApiFactory = function (
|
|
|
37271
39537
|
* @param {*} [options] Override http request option.
|
|
37272
39538
|
* @throws {RequiredError}
|
|
37273
39539
|
*/
|
|
37274
|
-
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
39540
|
+
shopListingControllerImportListings(options?: RawAxiosRequestConfig): AxiosPromise<ShopImportResultDTOAPI> {
|
|
37275
39541
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
37276
39542
|
},
|
|
37277
39543
|
/**
|
|
@@ -37870,6 +40136,334 @@ export class ShopOrderApi extends BaseAPI {
|
|
|
37870
40136
|
}
|
|
37871
40137
|
}
|
|
37872
40138
|
|
|
40139
|
+
/**
|
|
40140
|
+
* StorefrontConfigApi - axios parameter creator
|
|
40141
|
+
* @export
|
|
40142
|
+
*/
|
|
40143
|
+
export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40144
|
+
return {
|
|
40145
|
+
/**
|
|
40146
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40147
|
+
* @summary Get effective config
|
|
40148
|
+
* @param {string} gameServerId
|
|
40149
|
+
* @param {*} [options] Override http request option.
|
|
40150
|
+
* @throws {RequiredError}
|
|
40151
|
+
*/
|
|
40152
|
+
storefrontConfigControllerGetEffectiveConfig: async (
|
|
40153
|
+
gameServerId: string,
|
|
40154
|
+
options: RawAxiosRequestConfig = {},
|
|
40155
|
+
): Promise<RequestArgs> => {
|
|
40156
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40157
|
+
assertParamExists('storefrontConfigControllerGetEffectiveConfig', 'gameServerId', gameServerId);
|
|
40158
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40159
|
+
`{${'gameServerId'}}`,
|
|
40160
|
+
encodeURIComponent(String(gameServerId)),
|
|
40161
|
+
);
|
|
40162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40164
|
+
let baseOptions;
|
|
40165
|
+
if (configuration) {
|
|
40166
|
+
baseOptions = configuration.baseOptions;
|
|
40167
|
+
}
|
|
40168
|
+
|
|
40169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40170
|
+
const localVarHeaderParameter = {} as any;
|
|
40171
|
+
const localVarQueryParameter = {} as any;
|
|
40172
|
+
|
|
40173
|
+
// authentication domainAuth required
|
|
40174
|
+
|
|
40175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40177
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40178
|
+
|
|
40179
|
+
return {
|
|
40180
|
+
url: toPathString(localVarUrlObj),
|
|
40181
|
+
options: localVarRequestOptions,
|
|
40182
|
+
};
|
|
40183
|
+
},
|
|
40184
|
+
/**
|
|
40185
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40186
|
+
* @summary List templates
|
|
40187
|
+
* @param {*} [options] Override http request option.
|
|
40188
|
+
* @throws {RequiredError}
|
|
40189
|
+
*/
|
|
40190
|
+
storefrontConfigControllerListTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40191
|
+
const localVarPath = `/storefront/templates`;
|
|
40192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40193
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40194
|
+
let baseOptions;
|
|
40195
|
+
if (configuration) {
|
|
40196
|
+
baseOptions = configuration.baseOptions;
|
|
40197
|
+
}
|
|
40198
|
+
|
|
40199
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40200
|
+
const localVarHeaderParameter = {} as any;
|
|
40201
|
+
const localVarQueryParameter = {} as any;
|
|
40202
|
+
|
|
40203
|
+
// authentication domainAuth required
|
|
40204
|
+
|
|
40205
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40206
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40207
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40208
|
+
|
|
40209
|
+
return {
|
|
40210
|
+
url: toPathString(localVarUrlObj),
|
|
40211
|
+
options: localVarRequestOptions,
|
|
40212
|
+
};
|
|
40213
|
+
},
|
|
40214
|
+
/**
|
|
40215
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40216
|
+
* @summary Set config
|
|
40217
|
+
* @param {string} gameServerId
|
|
40218
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40219
|
+
* @param {*} [options] Override http request option.
|
|
40220
|
+
* @throws {RequiredError}
|
|
40221
|
+
*/
|
|
40222
|
+
storefrontConfigControllerSetConfig: async (
|
|
40223
|
+
gameServerId: string,
|
|
40224
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40225
|
+
options: RawAxiosRequestConfig = {},
|
|
40226
|
+
): Promise<RequestArgs> => {
|
|
40227
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
40228
|
+
assertParamExists('storefrontConfigControllerSetConfig', 'gameServerId', gameServerId);
|
|
40229
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config`.replace(
|
|
40230
|
+
`{${'gameServerId'}}`,
|
|
40231
|
+
encodeURIComponent(String(gameServerId)),
|
|
40232
|
+
);
|
|
40233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40234
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40235
|
+
let baseOptions;
|
|
40236
|
+
if (configuration) {
|
|
40237
|
+
baseOptions = configuration.baseOptions;
|
|
40238
|
+
}
|
|
40239
|
+
|
|
40240
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
40241
|
+
const localVarHeaderParameter = {} as any;
|
|
40242
|
+
const localVarQueryParameter = {} as any;
|
|
40243
|
+
|
|
40244
|
+
// authentication domainAuth required
|
|
40245
|
+
|
|
40246
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40247
|
+
|
|
40248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40250
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40251
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40252
|
+
storefrontConfigUpsertBody,
|
|
40253
|
+
localVarRequestOptions,
|
|
40254
|
+
configuration,
|
|
40255
|
+
);
|
|
40256
|
+
|
|
40257
|
+
return {
|
|
40258
|
+
url: toPathString(localVarUrlObj),
|
|
40259
|
+
options: localVarRequestOptions,
|
|
40260
|
+
};
|
|
40261
|
+
},
|
|
40262
|
+
};
|
|
40263
|
+
};
|
|
40264
|
+
|
|
40265
|
+
/**
|
|
40266
|
+
* StorefrontConfigApi - functional programming interface
|
|
40267
|
+
* @export
|
|
40268
|
+
*/
|
|
40269
|
+
export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
40270
|
+
const localVarAxiosParamCreator = StorefrontConfigApiAxiosParamCreator(configuration);
|
|
40271
|
+
return {
|
|
40272
|
+
/**
|
|
40273
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40274
|
+
* @summary Get effective config
|
|
40275
|
+
* @param {string} gameServerId
|
|
40276
|
+
* @param {*} [options] Override http request option.
|
|
40277
|
+
* @throws {RequiredError}
|
|
40278
|
+
*/
|
|
40279
|
+
async storefrontConfigControllerGetEffectiveConfig(
|
|
40280
|
+
gameServerId: string,
|
|
40281
|
+
options?: RawAxiosRequestConfig,
|
|
40282
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerGetEffectiveConfig(
|
|
40284
|
+
gameServerId,
|
|
40285
|
+
options,
|
|
40286
|
+
);
|
|
40287
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40288
|
+
const localVarOperationServerBasePath =
|
|
40289
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerGetEffectiveConfig']?.[
|
|
40290
|
+
localVarOperationServerIndex
|
|
40291
|
+
]?.url;
|
|
40292
|
+
return (axios, basePath) =>
|
|
40293
|
+
createRequestFunction(
|
|
40294
|
+
localVarAxiosArgs,
|
|
40295
|
+
globalAxios,
|
|
40296
|
+
BASE_PATH,
|
|
40297
|
+
configuration,
|
|
40298
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40299
|
+
},
|
|
40300
|
+
/**
|
|
40301
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40302
|
+
* @summary List templates
|
|
40303
|
+
* @param {*} [options] Override http request option.
|
|
40304
|
+
* @throws {RequiredError}
|
|
40305
|
+
*/
|
|
40306
|
+
async storefrontConfigControllerListTemplates(
|
|
40307
|
+
options?: RawAxiosRequestConfig,
|
|
40308
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontTemplateOutputArrayDTOAPI>> {
|
|
40309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerListTemplates(options);
|
|
40310
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40311
|
+
const localVarOperationServerBasePath =
|
|
40312
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[
|
|
40313
|
+
localVarOperationServerIndex
|
|
40314
|
+
]?.url;
|
|
40315
|
+
return (axios, basePath) =>
|
|
40316
|
+
createRequestFunction(
|
|
40317
|
+
localVarAxiosArgs,
|
|
40318
|
+
globalAxios,
|
|
40319
|
+
BASE_PATH,
|
|
40320
|
+
configuration,
|
|
40321
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40322
|
+
},
|
|
40323
|
+
/**
|
|
40324
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40325
|
+
* @summary Set config
|
|
40326
|
+
* @param {string} gameServerId
|
|
40327
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40328
|
+
* @param {*} [options] Override http request option.
|
|
40329
|
+
* @throws {RequiredError}
|
|
40330
|
+
*/
|
|
40331
|
+
async storefrontConfigControllerSetConfig(
|
|
40332
|
+
gameServerId: string,
|
|
40333
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40334
|
+
options?: RawAxiosRequestConfig,
|
|
40335
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI>> {
|
|
40336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerSetConfig(
|
|
40337
|
+
gameServerId,
|
|
40338
|
+
storefrontConfigUpsertBody,
|
|
40339
|
+
options,
|
|
40340
|
+
);
|
|
40341
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40342
|
+
const localVarOperationServerBasePath =
|
|
40343
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerSetConfig']?.[localVarOperationServerIndex]
|
|
40344
|
+
?.url;
|
|
40345
|
+
return (axios, basePath) =>
|
|
40346
|
+
createRequestFunction(
|
|
40347
|
+
localVarAxiosArgs,
|
|
40348
|
+
globalAxios,
|
|
40349
|
+
BASE_PATH,
|
|
40350
|
+
configuration,
|
|
40351
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40352
|
+
},
|
|
40353
|
+
};
|
|
40354
|
+
};
|
|
40355
|
+
|
|
40356
|
+
/**
|
|
40357
|
+
* StorefrontConfigApi - factory interface
|
|
40358
|
+
* @export
|
|
40359
|
+
*/
|
|
40360
|
+
export const StorefrontConfigApiFactory = function (
|
|
40361
|
+
configuration?: Configuration,
|
|
40362
|
+
basePath?: string,
|
|
40363
|
+
axios?: AxiosInstance,
|
|
40364
|
+
) {
|
|
40365
|
+
const localVarFp = StorefrontConfigApiFp(configuration);
|
|
40366
|
+
return {
|
|
40367
|
+
/**
|
|
40368
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40369
|
+
* @summary Get effective config
|
|
40370
|
+
* @param {string} gameServerId
|
|
40371
|
+
* @param {*} [options] Override http request option.
|
|
40372
|
+
* @throws {RequiredError}
|
|
40373
|
+
*/
|
|
40374
|
+
storefrontConfigControllerGetEffectiveConfig(
|
|
40375
|
+
gameServerId: string,
|
|
40376
|
+
options?: RawAxiosRequestConfig,
|
|
40377
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
40378
|
+
return localVarFp
|
|
40379
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
40380
|
+
.then((request) => request(axios, basePath));
|
|
40381
|
+
},
|
|
40382
|
+
/**
|
|
40383
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40384
|
+
* @summary List templates
|
|
40385
|
+
* @param {*} [options] Override http request option.
|
|
40386
|
+
* @throws {RequiredError}
|
|
40387
|
+
*/
|
|
40388
|
+
storefrontConfigControllerListTemplates(
|
|
40389
|
+
options?: RawAxiosRequestConfig,
|
|
40390
|
+
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
40391
|
+
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
40392
|
+
},
|
|
40393
|
+
/**
|
|
40394
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40395
|
+
* @summary Set config
|
|
40396
|
+
* @param {string} gameServerId
|
|
40397
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40398
|
+
* @param {*} [options] Override http request option.
|
|
40399
|
+
* @throws {RequiredError}
|
|
40400
|
+
*/
|
|
40401
|
+
storefrontConfigControllerSetConfig(
|
|
40402
|
+
gameServerId: string,
|
|
40403
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40404
|
+
options?: RawAxiosRequestConfig,
|
|
40405
|
+
): AxiosPromise<EffectiveStorefrontConfigOutputDTOAPI> {
|
|
40406
|
+
return localVarFp
|
|
40407
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
40408
|
+
.then((request) => request(axios, basePath));
|
|
40409
|
+
},
|
|
40410
|
+
};
|
|
40411
|
+
};
|
|
40412
|
+
|
|
40413
|
+
/**
|
|
40414
|
+
* StorefrontConfigApi - object-oriented interface
|
|
40415
|
+
* @export
|
|
40416
|
+
* @class StorefrontConfigApi
|
|
40417
|
+
* @extends {BaseAPI}
|
|
40418
|
+
*/
|
|
40419
|
+
export class StorefrontConfigApi extends BaseAPI {
|
|
40420
|
+
/**
|
|
40421
|
+
* Get the effective storefront configuration for a game server. Returns defaults when no config row exists. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerGetEffectiveConfig`
|
|
40422
|
+
* @summary Get effective config
|
|
40423
|
+
* @param {string} gameServerId
|
|
40424
|
+
* @param {*} [options] Override http request option.
|
|
40425
|
+
* @throws {RequiredError}
|
|
40426
|
+
* @memberof StorefrontConfigApi
|
|
40427
|
+
*/
|
|
40428
|
+
public storefrontConfigControllerGetEffectiveConfig(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
40429
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40430
|
+
.storefrontConfigControllerGetEffectiveConfig(gameServerId, options)
|
|
40431
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40432
|
+
}
|
|
40433
|
+
|
|
40434
|
+
/**
|
|
40435
|
+
* List all available storefront templates with their variable schemas. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerListTemplates`
|
|
40436
|
+
* @summary List templates
|
|
40437
|
+
* @param {*} [options] Override http request option.
|
|
40438
|
+
* @throws {RequiredError}
|
|
40439
|
+
* @memberof StorefrontConfigApi
|
|
40440
|
+
*/
|
|
40441
|
+
public storefrontConfigControllerListTemplates(options?: RawAxiosRequestConfig) {
|
|
40442
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40443
|
+
.storefrontConfigControllerListTemplates(options)
|
|
40444
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40445
|
+
}
|
|
40446
|
+
|
|
40447
|
+
/**
|
|
40448
|
+
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
40449
|
+
* @summary Set config
|
|
40450
|
+
* @param {string} gameServerId
|
|
40451
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
40452
|
+
* @param {*} [options] Override http request option.
|
|
40453
|
+
* @throws {RequiredError}
|
|
40454
|
+
* @memberof StorefrontConfigApi
|
|
40455
|
+
*/
|
|
40456
|
+
public storefrontConfigControllerSetConfig(
|
|
40457
|
+
gameServerId: string,
|
|
40458
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
40459
|
+
options?: RawAxiosRequestConfig,
|
|
40460
|
+
) {
|
|
40461
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
40462
|
+
.storefrontConfigControllerSetConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
40463
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40464
|
+
}
|
|
40465
|
+
}
|
|
40466
|
+
|
|
37873
40467
|
/**
|
|
37874
40468
|
* TrackingApi - axios parameter creator
|
|
37875
40469
|
* @export
|
|
@@ -40134,3 +42728,474 @@ export class VariableApi extends BaseAPI {
|
|
|
40134
42728
|
.then((request) => request(this.axios, this.basePath));
|
|
40135
42729
|
}
|
|
40136
42730
|
}
|
|
42731
|
+
|
|
42732
|
+
/**
|
|
42733
|
+
* InviteLinkApi - axios parameter creator
|
|
42734
|
+
* @export
|
|
42735
|
+
*/
|
|
42736
|
+
export const InviteLinkApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42737
|
+
return {
|
|
42738
|
+
/**
|
|
42739
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42740
|
+
* @summary Create invite link
|
|
42741
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42742
|
+
* @param {*} [options] Override http request option.
|
|
42743
|
+
* @throws {RequiredError}
|
|
42744
|
+
*/
|
|
42745
|
+
inviteLinkControllerCreate: async (
|
|
42746
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42747
|
+
options: RawAxiosRequestConfig = {},
|
|
42748
|
+
): Promise<RequestArgs> => {
|
|
42749
|
+
const localVarPath = `/invite-link`;
|
|
42750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42751
|
+
let baseOptions;
|
|
42752
|
+
if (configuration) {
|
|
42753
|
+
baseOptions = configuration.baseOptions;
|
|
42754
|
+
}
|
|
42755
|
+
|
|
42756
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42757
|
+
const localVarHeaderParameter = {} as any;
|
|
42758
|
+
const localVarQueryParameter = {} as any;
|
|
42759
|
+
|
|
42760
|
+
// authentication domainAuth required
|
|
42761
|
+
|
|
42762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42763
|
+
|
|
42764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42766
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42767
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42768
|
+
inviteLinkCreateInputDTO,
|
|
42769
|
+
localVarRequestOptions,
|
|
42770
|
+
configuration,
|
|
42771
|
+
);
|
|
42772
|
+
|
|
42773
|
+
return {
|
|
42774
|
+
url: toPathString(localVarUrlObj),
|
|
42775
|
+
options: localVarRequestOptions,
|
|
42776
|
+
};
|
|
42777
|
+
},
|
|
42778
|
+
/**
|
|
42779
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42780
|
+
* @summary Preview
|
|
42781
|
+
* @param {string} token
|
|
42782
|
+
* @param {*} [options] Override http request option.
|
|
42783
|
+
* @throws {RequiredError}
|
|
42784
|
+
*/
|
|
42785
|
+
inviteLinkControllerPreview: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42786
|
+
assertParamExists('inviteLinkControllerPreview', 'token', token);
|
|
42787
|
+
const localVarPath = `/invite-link/redeem/{token}`.replace(`{${'token'}}`, encodeURIComponent(String(token)));
|
|
42788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42789
|
+
let baseOptions;
|
|
42790
|
+
if (configuration) {
|
|
42791
|
+
baseOptions = configuration.baseOptions;
|
|
42792
|
+
}
|
|
42793
|
+
|
|
42794
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
42795
|
+
const localVarHeaderParameter = {} as any;
|
|
42796
|
+
const localVarQueryParameter = {} as any;
|
|
42797
|
+
|
|
42798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42800
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42801
|
+
|
|
42802
|
+
return {
|
|
42803
|
+
url: toPathString(localVarUrlObj),
|
|
42804
|
+
options: localVarRequestOptions,
|
|
42805
|
+
};
|
|
42806
|
+
},
|
|
42807
|
+
/**
|
|
42808
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42809
|
+
* @summary Redeem
|
|
42810
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42811
|
+
* @param {*} [options] Override http request option.
|
|
42812
|
+
* @throws {RequiredError}
|
|
42813
|
+
*/
|
|
42814
|
+
inviteLinkControllerRedeem: async (
|
|
42815
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42816
|
+
options: RawAxiosRequestConfig = {},
|
|
42817
|
+
): Promise<RequestArgs> => {
|
|
42818
|
+
const localVarPath = `/invite-link/redeem`;
|
|
42819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42820
|
+
let baseOptions;
|
|
42821
|
+
if (configuration) {
|
|
42822
|
+
baseOptions = configuration.baseOptions;
|
|
42823
|
+
}
|
|
42824
|
+
|
|
42825
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42826
|
+
const localVarHeaderParameter = {} as any;
|
|
42827
|
+
const localVarQueryParameter = {} as any;
|
|
42828
|
+
|
|
42829
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42830
|
+
|
|
42831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42833
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42834
|
+
localVarRequestOptions.data = serializeDataIfNeeded(redeemInputDTO, localVarRequestOptions, configuration);
|
|
42835
|
+
|
|
42836
|
+
return {
|
|
42837
|
+
url: toPathString(localVarUrlObj),
|
|
42838
|
+
options: localVarRequestOptions,
|
|
42839
|
+
};
|
|
42840
|
+
},
|
|
42841
|
+
/**
|
|
42842
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42843
|
+
* @summary Revoke
|
|
42844
|
+
* @param {string} id
|
|
42845
|
+
* @param {*} [options] Override http request option.
|
|
42846
|
+
* @throws {RequiredError}
|
|
42847
|
+
*/
|
|
42848
|
+
inviteLinkControllerRevoke: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42849
|
+
assertParamExists('inviteLinkControllerRevoke', 'id', id);
|
|
42850
|
+
const localVarPath = `/invite-link/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
42851
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42852
|
+
let baseOptions;
|
|
42853
|
+
if (configuration) {
|
|
42854
|
+
baseOptions = configuration.baseOptions;
|
|
42855
|
+
}
|
|
42856
|
+
|
|
42857
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
42858
|
+
const localVarHeaderParameter = {} as any;
|
|
42859
|
+
const localVarQueryParameter = {} as any;
|
|
42860
|
+
|
|
42861
|
+
// authentication domainAuth required
|
|
42862
|
+
|
|
42863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42864
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42865
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42866
|
+
|
|
42867
|
+
return {
|
|
42868
|
+
url: toPathString(localVarUrlObj),
|
|
42869
|
+
options: localVarRequestOptions,
|
|
42870
|
+
};
|
|
42871
|
+
},
|
|
42872
|
+
/**
|
|
42873
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
42874
|
+
* @summary Search
|
|
42875
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
42876
|
+
* @param {*} [options] Override http request option.
|
|
42877
|
+
* @throws {RequiredError}
|
|
42878
|
+
*/
|
|
42879
|
+
inviteLinkControllerSearch: async (
|
|
42880
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
42881
|
+
options: RawAxiosRequestConfig = {},
|
|
42882
|
+
): Promise<RequestArgs> => {
|
|
42883
|
+
const localVarPath = `/invite-link/search`;
|
|
42884
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42885
|
+
let baseOptions;
|
|
42886
|
+
if (configuration) {
|
|
42887
|
+
baseOptions = configuration.baseOptions;
|
|
42888
|
+
}
|
|
42889
|
+
|
|
42890
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42891
|
+
const localVarHeaderParameter = {} as any;
|
|
42892
|
+
const localVarQueryParameter = {} as any;
|
|
42893
|
+
|
|
42894
|
+
// authentication domainAuth required
|
|
42895
|
+
|
|
42896
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42897
|
+
|
|
42898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
42901
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
42902
|
+
inviteLinkSearchInputDTO,
|
|
42903
|
+
localVarRequestOptions,
|
|
42904
|
+
configuration,
|
|
42905
|
+
);
|
|
42906
|
+
|
|
42907
|
+
return {
|
|
42908
|
+
url: toPathString(localVarUrlObj),
|
|
42909
|
+
options: localVarRequestOptions,
|
|
42910
|
+
};
|
|
42911
|
+
},
|
|
42912
|
+
};
|
|
42913
|
+
};
|
|
42914
|
+
|
|
42915
|
+
/**
|
|
42916
|
+
* InviteLinkApi - functional programming interface
|
|
42917
|
+
* @export
|
|
42918
|
+
*/
|
|
42919
|
+
export const InviteLinkApiFp = function (configuration?: Configuration) {
|
|
42920
|
+
const localVarAxiosParamCreator = InviteLinkApiAxiosParamCreator(configuration);
|
|
42921
|
+
return {
|
|
42922
|
+
/**
|
|
42923
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
42924
|
+
* @summary Create invite link
|
|
42925
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
42926
|
+
* @param {*} [options] Override http request option.
|
|
42927
|
+
* @throws {RequiredError}
|
|
42928
|
+
*/
|
|
42929
|
+
async inviteLinkControllerCreate(
|
|
42930
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
42931
|
+
options?: RawAxiosRequestConfig,
|
|
42932
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkCreateResultDTOAPI>> {
|
|
42933
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerCreate(
|
|
42934
|
+
inviteLinkCreateInputDTO,
|
|
42935
|
+
options,
|
|
42936
|
+
);
|
|
42937
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42938
|
+
const localVarOperationServerBasePath =
|
|
42939
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
42940
|
+
return (axios, basePath) =>
|
|
42941
|
+
createRequestFunction(
|
|
42942
|
+
localVarAxiosArgs,
|
|
42943
|
+
globalAxios,
|
|
42944
|
+
BASE_PATH,
|
|
42945
|
+
configuration,
|
|
42946
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42947
|
+
},
|
|
42948
|
+
/**
|
|
42949
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
42950
|
+
* @summary Preview
|
|
42951
|
+
* @param {string} token
|
|
42952
|
+
* @param {*} [options] Override http request option.
|
|
42953
|
+
* @throws {RequiredError}
|
|
42954
|
+
*/
|
|
42955
|
+
async inviteLinkControllerPreview(
|
|
42956
|
+
token: string,
|
|
42957
|
+
options?: RawAxiosRequestConfig,
|
|
42958
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkPreviewDTOAPI>> {
|
|
42959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerPreview(token, options);
|
|
42960
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42961
|
+
const localVarOperationServerBasePath =
|
|
42962
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerPreview']?.[localVarOperationServerIndex]?.url;
|
|
42963
|
+
return (axios, basePath) =>
|
|
42964
|
+
createRequestFunction(
|
|
42965
|
+
localVarAxiosArgs,
|
|
42966
|
+
globalAxios,
|
|
42967
|
+
BASE_PATH,
|
|
42968
|
+
configuration,
|
|
42969
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42970
|
+
},
|
|
42971
|
+
/**
|
|
42972
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
42973
|
+
* @summary Redeem
|
|
42974
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
42975
|
+
* @param {*} [options] Override http request option.
|
|
42976
|
+
* @throws {RequiredError}
|
|
42977
|
+
*/
|
|
42978
|
+
async inviteLinkControllerRedeem(
|
|
42979
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
42980
|
+
options?: RawAxiosRequestConfig,
|
|
42981
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOutputWithRolesDTOAPI>> {
|
|
42982
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRedeem(redeemInputDTO, options);
|
|
42983
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42984
|
+
const localVarOperationServerBasePath =
|
|
42985
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRedeem']?.[localVarOperationServerIndex]?.url;
|
|
42986
|
+
return (axios, basePath) =>
|
|
42987
|
+
createRequestFunction(
|
|
42988
|
+
localVarAxiosArgs,
|
|
42989
|
+
globalAxios,
|
|
42990
|
+
BASE_PATH,
|
|
42991
|
+
configuration,
|
|
42992
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
42993
|
+
},
|
|
42994
|
+
/**
|
|
42995
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
42996
|
+
* @summary Revoke
|
|
42997
|
+
* @param {string} id
|
|
42998
|
+
* @param {*} [options] Override http request option.
|
|
42999
|
+
* @throws {RequiredError}
|
|
43000
|
+
*/
|
|
43001
|
+
async inviteLinkControllerRevoke(
|
|
43002
|
+
id: string,
|
|
43003
|
+
options?: RawAxiosRequestConfig,
|
|
43004
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
43005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerRevoke(id, options);
|
|
43006
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43007
|
+
const localVarOperationServerBasePath =
|
|
43008
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerRevoke']?.[localVarOperationServerIndex]?.url;
|
|
43009
|
+
return (axios, basePath) =>
|
|
43010
|
+
createRequestFunction(
|
|
43011
|
+
localVarAxiosArgs,
|
|
43012
|
+
globalAxios,
|
|
43013
|
+
BASE_PATH,
|
|
43014
|
+
configuration,
|
|
43015
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43016
|
+
},
|
|
43017
|
+
/**
|
|
43018
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43019
|
+
* @summary Search
|
|
43020
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43021
|
+
* @param {*} [options] Override http request option.
|
|
43022
|
+
* @throws {RequiredError}
|
|
43023
|
+
*/
|
|
43024
|
+
async inviteLinkControllerSearch(
|
|
43025
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43026
|
+
options?: RawAxiosRequestConfig,
|
|
43027
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteLinkOutputArrayDTOAPI>> {
|
|
43028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteLinkControllerSearch(
|
|
43029
|
+
inviteLinkSearchInputDTO,
|
|
43030
|
+
options,
|
|
43031
|
+
);
|
|
43032
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43033
|
+
const localVarOperationServerBasePath =
|
|
43034
|
+
operationServerMap['InviteLinkApi.inviteLinkControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
43035
|
+
return (axios, basePath) =>
|
|
43036
|
+
createRequestFunction(
|
|
43037
|
+
localVarAxiosArgs,
|
|
43038
|
+
globalAxios,
|
|
43039
|
+
BASE_PATH,
|
|
43040
|
+
configuration,
|
|
43041
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
43042
|
+
},
|
|
43043
|
+
};
|
|
43044
|
+
};
|
|
43045
|
+
|
|
43046
|
+
/**
|
|
43047
|
+
* InviteLinkApi - factory interface
|
|
43048
|
+
* @export
|
|
43049
|
+
*/
|
|
43050
|
+
export const InviteLinkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43051
|
+
const localVarFp = InviteLinkApiFp(configuration);
|
|
43052
|
+
return {
|
|
43053
|
+
/**
|
|
43054
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43055
|
+
* @summary Create invite link
|
|
43056
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43057
|
+
* @param {*} [options] Override http request option.
|
|
43058
|
+
* @throws {RequiredError}
|
|
43059
|
+
*/
|
|
43060
|
+
inviteLinkControllerCreate(
|
|
43061
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43062
|
+
options?: RawAxiosRequestConfig,
|
|
43063
|
+
): AxiosPromise<InviteLinkCreateResultDTOAPI> {
|
|
43064
|
+
return localVarFp
|
|
43065
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43066
|
+
.then((request) => request(axios, basePath));
|
|
43067
|
+
},
|
|
43068
|
+
/**
|
|
43069
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43070
|
+
* @summary Preview
|
|
43071
|
+
* @param {string} token
|
|
43072
|
+
* @param {*} [options] Override http request option.
|
|
43073
|
+
* @throws {RequiredError}
|
|
43074
|
+
*/
|
|
43075
|
+
inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig): AxiosPromise<InviteLinkPreviewDTOAPI> {
|
|
43076
|
+
return localVarFp.inviteLinkControllerPreview(token, options).then((request) => request(axios, basePath));
|
|
43077
|
+
},
|
|
43078
|
+
/**
|
|
43079
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43080
|
+
* @summary Redeem
|
|
43081
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43082
|
+
* @param {*} [options] Override http request option.
|
|
43083
|
+
* @throws {RequiredError}
|
|
43084
|
+
*/
|
|
43085
|
+
inviteLinkControllerRedeem(
|
|
43086
|
+
redeemInputDTO?: RedeemInputDTO,
|
|
43087
|
+
options?: RawAxiosRequestConfig,
|
|
43088
|
+
): AxiosPromise<UserOutputWithRolesDTOAPI> {
|
|
43089
|
+
return localVarFp.inviteLinkControllerRedeem(redeemInputDTO, options).then((request) => request(axios, basePath));
|
|
43090
|
+
},
|
|
43091
|
+
/**
|
|
43092
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43093
|
+
* @summary Revoke
|
|
43094
|
+
* @param {string} id
|
|
43095
|
+
* @param {*} [options] Override http request option.
|
|
43096
|
+
* @throws {RequiredError}
|
|
43097
|
+
*/
|
|
43098
|
+
inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
43099
|
+
return localVarFp.inviteLinkControllerRevoke(id, options).then((request) => request(axios, basePath));
|
|
43100
|
+
},
|
|
43101
|
+
/**
|
|
43102
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43103
|
+
* @summary Search
|
|
43104
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43105
|
+
* @param {*} [options] Override http request option.
|
|
43106
|
+
* @throws {RequiredError}
|
|
43107
|
+
*/
|
|
43108
|
+
inviteLinkControllerSearch(
|
|
43109
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43110
|
+
options?: RawAxiosRequestConfig,
|
|
43111
|
+
): AxiosPromise<InviteLinkOutputArrayDTOAPI> {
|
|
43112
|
+
return localVarFp
|
|
43113
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43114
|
+
.then((request) => request(axios, basePath));
|
|
43115
|
+
},
|
|
43116
|
+
};
|
|
43117
|
+
};
|
|
43118
|
+
|
|
43119
|
+
/**
|
|
43120
|
+
* InviteLinkApi - object-oriented interface
|
|
43121
|
+
* @export
|
|
43122
|
+
* @class InviteLinkApi
|
|
43123
|
+
* @extends {BaseAPI}
|
|
43124
|
+
*/
|
|
43125
|
+
export class InviteLinkApi extends BaseAPI {
|
|
43126
|
+
/**
|
|
43127
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerCreate`
|
|
43128
|
+
* @summary Create invite link
|
|
43129
|
+
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
43130
|
+
* @param {*} [options] Override http request option.
|
|
43131
|
+
* @throws {RequiredError}
|
|
43132
|
+
* @memberof InviteLinkApi
|
|
43133
|
+
*/
|
|
43134
|
+
public inviteLinkControllerCreate(
|
|
43135
|
+
inviteLinkCreateInputDTO?: InviteLinkCreateInputDTO,
|
|
43136
|
+
options?: RawAxiosRequestConfig,
|
|
43137
|
+
) {
|
|
43138
|
+
return InviteLinkApiFp(this.configuration)
|
|
43139
|
+
.inviteLinkControllerCreate(inviteLinkCreateInputDTO, options)
|
|
43140
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43141
|
+
}
|
|
43142
|
+
|
|
43143
|
+
/**
|
|
43144
|
+
* <br> OperationId: `InviteLinkControllerPreview`
|
|
43145
|
+
* @summary Preview
|
|
43146
|
+
* @param {string} token
|
|
43147
|
+
* @param {*} [options] Override http request option.
|
|
43148
|
+
* @throws {RequiredError}
|
|
43149
|
+
* @memberof InviteLinkApi
|
|
43150
|
+
*/
|
|
43151
|
+
public inviteLinkControllerPreview(token: string, options?: RawAxiosRequestConfig) {
|
|
43152
|
+
return InviteLinkApiFp(this.configuration)
|
|
43153
|
+
.inviteLinkControllerPreview(token, options)
|
|
43154
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43155
|
+
}
|
|
43156
|
+
|
|
43157
|
+
/**
|
|
43158
|
+
* <br> OperationId: `InviteLinkControllerRedeem`
|
|
43159
|
+
* @summary Redeem
|
|
43160
|
+
* @param {RedeemInputDTO} [redeemInputDTO] RedeemInputDTO
|
|
43161
|
+
* @param {*} [options] Override http request option.
|
|
43162
|
+
* @throws {RequiredError}
|
|
43163
|
+
* @memberof InviteLinkApi
|
|
43164
|
+
*/
|
|
43165
|
+
public inviteLinkControllerRedeem(redeemInputDTO?: RedeemInputDTO, options?: RawAxiosRequestConfig) {
|
|
43166
|
+
return InviteLinkApiFp(this.configuration)
|
|
43167
|
+
.inviteLinkControllerRedeem(redeemInputDTO, options)
|
|
43168
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43169
|
+
}
|
|
43170
|
+
|
|
43171
|
+
/**
|
|
43172
|
+
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `InviteLinkControllerRevoke`
|
|
43173
|
+
* @summary Revoke
|
|
43174
|
+
* @param {string} id
|
|
43175
|
+
* @param {*} [options] Override http request option.
|
|
43176
|
+
* @throws {RequiredError}
|
|
43177
|
+
* @memberof InviteLinkApi
|
|
43178
|
+
*/
|
|
43179
|
+
public inviteLinkControllerRevoke(id: string, options?: RawAxiosRequestConfig) {
|
|
43180
|
+
return InviteLinkApiFp(this.configuration)
|
|
43181
|
+
.inviteLinkControllerRevoke(id, options)
|
|
43182
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43183
|
+
}
|
|
43184
|
+
|
|
43185
|
+
/**
|
|
43186
|
+
* Required permissions: `MANAGE_USERS`<br> OperationId: `InviteLinkControllerSearch`
|
|
43187
|
+
* @summary Search
|
|
43188
|
+
* @param {InviteLinkSearchInputDTO} [inviteLinkSearchInputDTO] InviteLinkSearchInputDTO
|
|
43189
|
+
* @param {*} [options] Override http request option.
|
|
43190
|
+
* @throws {RequiredError}
|
|
43191
|
+
* @memberof InviteLinkApi
|
|
43192
|
+
*/
|
|
43193
|
+
public inviteLinkControllerSearch(
|
|
43194
|
+
inviteLinkSearchInputDTO?: InviteLinkSearchInputDTO,
|
|
43195
|
+
options?: RawAxiosRequestConfig,
|
|
43196
|
+
) {
|
|
43197
|
+
return InviteLinkApiFp(this.configuration)
|
|
43198
|
+
.inviteLinkControllerSearch(inviteLinkSearchInputDTO, options)
|
|
43199
|
+
.then((request) => request(this.axios, this.basePath));
|
|
43200
|
+
}
|
|
43201
|
+
}
|