qovery-typescript-axios 1.1.923 → 1.1.925
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/api.ts +1156 -0
- package/dist/api.d.ts +895 -0
- package/dist/api.js +547 -10
- package/dist/esm/api.d.ts +895 -0
- package/dist/esm/api.js +529 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7351,6 +7351,131 @@ export interface ClusterOverviewResponse {
|
|
|
7351
7351
|
}
|
|
7352
7352
|
|
|
7353
7353
|
|
|
7354
|
+
/**
|
|
7355
|
+
*
|
|
7356
|
+
* @export
|
|
7357
|
+
* @interface ClusterPlatformBindingLayerResponse
|
|
7358
|
+
*/
|
|
7359
|
+
export interface ClusterPlatformBindingLayerResponse {
|
|
7360
|
+
/**
|
|
7361
|
+
*
|
|
7362
|
+
* @type {string}
|
|
7363
|
+
* @memberof ClusterPlatformBindingLayerResponse
|
|
7364
|
+
*/
|
|
7365
|
+
'key': string;
|
|
7366
|
+
/**
|
|
7367
|
+
*
|
|
7368
|
+
* @type {PlatformLayerResolutionStatus}
|
|
7369
|
+
* @memberof ClusterPlatformBindingLayerResponse
|
|
7370
|
+
*/
|
|
7371
|
+
'status': PlatformLayerResolutionStatus;
|
|
7372
|
+
/**
|
|
7373
|
+
*
|
|
7374
|
+
* @type {string}
|
|
7375
|
+
* @memberof ClusterPlatformBindingLayerResponse
|
|
7376
|
+
*/
|
|
7377
|
+
'reason': string;
|
|
7378
|
+
/**
|
|
7379
|
+
*
|
|
7380
|
+
* @type {Array<string>}
|
|
7381
|
+
* @memberof ClusterPlatformBindingLayerResponse
|
|
7382
|
+
*/
|
|
7383
|
+
'componentKeys': Array<string>;
|
|
7384
|
+
}
|
|
7385
|
+
|
|
7386
|
+
|
|
7387
|
+
/**
|
|
7388
|
+
*
|
|
7389
|
+
* @export
|
|
7390
|
+
* @interface ClusterPlatformBindingRequest
|
|
7391
|
+
*/
|
|
7392
|
+
export interface ClusterPlatformBindingRequest {
|
|
7393
|
+
/**
|
|
7394
|
+
*
|
|
7395
|
+
* @type {string}
|
|
7396
|
+
* @memberof ClusterPlatformBindingRequest
|
|
7397
|
+
*/
|
|
7398
|
+
'templateKey': string;
|
|
7399
|
+
/**
|
|
7400
|
+
*
|
|
7401
|
+
* @type {string}
|
|
7402
|
+
* @memberof ClusterPlatformBindingRequest
|
|
7403
|
+
*/
|
|
7404
|
+
'templateVersion': string;
|
|
7405
|
+
/**
|
|
7406
|
+
*
|
|
7407
|
+
* @type {{ [key: string]: boolean; }}
|
|
7408
|
+
* @memberof ClusterPlatformBindingRequest
|
|
7409
|
+
*/
|
|
7410
|
+
'layerSelections'?: { [key: string]: boolean; };
|
|
7411
|
+
/**
|
|
7412
|
+
* Component configuration values keyed by component key
|
|
7413
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
7414
|
+
* @memberof ClusterPlatformBindingRequest
|
|
7415
|
+
*/
|
|
7416
|
+
'managedConfig'?: { [key: string]: { [key: string]: any; }; };
|
|
7417
|
+
/**
|
|
7418
|
+
* String values keyed first by component key and then by input key
|
|
7419
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
7420
|
+
* @memberof ClusterPlatformBindingRequest
|
|
7421
|
+
*/
|
|
7422
|
+
'customerProvidedInputs'?: { [key: string]: { [key: string]: string; }; };
|
|
7423
|
+
}
|
|
7424
|
+
/**
|
|
7425
|
+
*
|
|
7426
|
+
* @export
|
|
7427
|
+
* @interface ClusterPlatformBindingResponse
|
|
7428
|
+
*/
|
|
7429
|
+
export interface ClusterPlatformBindingResponse {
|
|
7430
|
+
/**
|
|
7431
|
+
*
|
|
7432
|
+
* @type {string}
|
|
7433
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7434
|
+
*/
|
|
7435
|
+
'clusterId': string;
|
|
7436
|
+
/**
|
|
7437
|
+
*
|
|
7438
|
+
* @type {string}
|
|
7439
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7440
|
+
*/
|
|
7441
|
+
'organizationId': string;
|
|
7442
|
+
/**
|
|
7443
|
+
*
|
|
7444
|
+
* @type {string}
|
|
7445
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7446
|
+
*/
|
|
7447
|
+
'templateKey': string;
|
|
7448
|
+
/**
|
|
7449
|
+
*
|
|
7450
|
+
* @type {string}
|
|
7451
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7452
|
+
*/
|
|
7453
|
+
'templateVersion': string;
|
|
7454
|
+
/**
|
|
7455
|
+
*
|
|
7456
|
+
* @type {{ [key: string]: boolean; }}
|
|
7457
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7458
|
+
*/
|
|
7459
|
+
'layerSelections': { [key: string]: boolean; };
|
|
7460
|
+
/**
|
|
7461
|
+
* Component configuration values keyed by component key
|
|
7462
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
7463
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7464
|
+
*/
|
|
7465
|
+
'managedConfig': { [key: string]: { [key: string]: any; }; };
|
|
7466
|
+
/**
|
|
7467
|
+
* String values keyed first by component key and then by input key
|
|
7468
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
7469
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7470
|
+
*/
|
|
7471
|
+
'customerProvidedInputs': { [key: string]: { [key: string]: string; }; };
|
|
7472
|
+
/**
|
|
7473
|
+
*
|
|
7474
|
+
* @type {Array<ClusterPlatformBindingLayerResponse>}
|
|
7475
|
+
* @memberof ClusterPlatformBindingResponse
|
|
7476
|
+
*/
|
|
7477
|
+
'layers': Array<ClusterPlatformBindingLayerResponse>;
|
|
7478
|
+
}
|
|
7354
7479
|
/**
|
|
7355
7480
|
*
|
|
7356
7481
|
* @export
|
|
@@ -20864,6 +20989,534 @@ export const PlanEnum = {
|
|
|
20864
20989
|
export type PlanEnum = typeof PlanEnum[keyof typeof PlanEnum];
|
|
20865
20990
|
|
|
20866
20991
|
|
|
20992
|
+
/**
|
|
20993
|
+
*
|
|
20994
|
+
* @export
|
|
20995
|
+
* @enum {string}
|
|
20996
|
+
*/
|
|
20997
|
+
|
|
20998
|
+
export const PlatformCloudVendor = {
|
|
20999
|
+
AWS: 'AWS',
|
|
21000
|
+
SCW: 'SCW',
|
|
21001
|
+
GCP: 'GCP',
|
|
21002
|
+
DO: 'DO',
|
|
21003
|
+
AZURE: 'AZURE',
|
|
21004
|
+
OVH: 'OVH',
|
|
21005
|
+
CIVO: 'CIVO',
|
|
21006
|
+
HETZNER: 'HETZNER',
|
|
21007
|
+
ORACLE: 'ORACLE',
|
|
21008
|
+
IBM: 'IBM',
|
|
21009
|
+
UNKNOWN: 'UNKNOWN'
|
|
21010
|
+
} as const;
|
|
21011
|
+
|
|
21012
|
+
export type PlatformCloudVendor = typeof PlatformCloudVendor[keyof typeof PlatformCloudVendor];
|
|
21013
|
+
|
|
21014
|
+
|
|
21015
|
+
/**
|
|
21016
|
+
*
|
|
21017
|
+
* @export
|
|
21018
|
+
* @enum {string}
|
|
21019
|
+
*/
|
|
21020
|
+
|
|
21021
|
+
export const PlatformClusterMode = {
|
|
21022
|
+
QOVERY_MANAGED: 'QOVERY_MANAGED',
|
|
21023
|
+
CUSTOMER_MANAGED: 'CUSTOMER_MANAGED'
|
|
21024
|
+
} as const;
|
|
21025
|
+
|
|
21026
|
+
export type PlatformClusterMode = typeof PlatformClusterMode[keyof typeof PlatformClusterMode];
|
|
21027
|
+
|
|
21028
|
+
|
|
21029
|
+
/**
|
|
21030
|
+
*
|
|
21031
|
+
* @export
|
|
21032
|
+
* @interface PlatformComponentConfigurationConstraintsResponse
|
|
21033
|
+
*/
|
|
21034
|
+
export interface PlatformComponentConfigurationConstraintsResponse {
|
|
21035
|
+
/**
|
|
21036
|
+
*
|
|
21037
|
+
* @type {Array<string>}
|
|
21038
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21039
|
+
*/
|
|
21040
|
+
'allowedValues'?: Array<string> | null;
|
|
21041
|
+
/**
|
|
21042
|
+
*
|
|
21043
|
+
* @type {number}
|
|
21044
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21045
|
+
*/
|
|
21046
|
+
'min'?: number | null;
|
|
21047
|
+
/**
|
|
21048
|
+
*
|
|
21049
|
+
* @type {number}
|
|
21050
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21051
|
+
*/
|
|
21052
|
+
'max'?: number | null;
|
|
21053
|
+
/**
|
|
21054
|
+
*
|
|
21055
|
+
* @type {number}
|
|
21056
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21057
|
+
*/
|
|
21058
|
+
'minLength'?: number | null;
|
|
21059
|
+
/**
|
|
21060
|
+
*
|
|
21061
|
+
* @type {number}
|
|
21062
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21063
|
+
*/
|
|
21064
|
+
'maxLength'?: number | null;
|
|
21065
|
+
/**
|
|
21066
|
+
*
|
|
21067
|
+
* @type {string}
|
|
21068
|
+
* @memberof PlatformComponentConfigurationConstraintsResponse
|
|
21069
|
+
*/
|
|
21070
|
+
'pattern'?: string | null;
|
|
21071
|
+
}
|
|
21072
|
+
/**
|
|
21073
|
+
*
|
|
21074
|
+
* @export
|
|
21075
|
+
* @interface PlatformComponentConfigurationFieldResponse
|
|
21076
|
+
*/
|
|
21077
|
+
export interface PlatformComponentConfigurationFieldResponse {
|
|
21078
|
+
/**
|
|
21079
|
+
*
|
|
21080
|
+
* @type {string}
|
|
21081
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21082
|
+
*/
|
|
21083
|
+
'key': string;
|
|
21084
|
+
/**
|
|
21085
|
+
* Field type understood by the Console, such as string, number, or bool
|
|
21086
|
+
* @type {string}
|
|
21087
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21088
|
+
*/
|
|
21089
|
+
'type': string;
|
|
21090
|
+
/**
|
|
21091
|
+
*
|
|
21092
|
+
* @type {boolean}
|
|
21093
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21094
|
+
*/
|
|
21095
|
+
'required': boolean;
|
|
21096
|
+
/**
|
|
21097
|
+
*
|
|
21098
|
+
* @type {string}
|
|
21099
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21100
|
+
*/
|
|
21101
|
+
'defaultValue'?: string | null;
|
|
21102
|
+
/**
|
|
21103
|
+
*
|
|
21104
|
+
* @type {string}
|
|
21105
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21106
|
+
*/
|
|
21107
|
+
'label': string;
|
|
21108
|
+
/**
|
|
21109
|
+
*
|
|
21110
|
+
* @type {string}
|
|
21111
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21112
|
+
*/
|
|
21113
|
+
'description'?: string | null;
|
|
21114
|
+
/**
|
|
21115
|
+
*
|
|
21116
|
+
* @type {boolean}
|
|
21117
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21118
|
+
*/
|
|
21119
|
+
'sensitive': boolean;
|
|
21120
|
+
/**
|
|
21121
|
+
*
|
|
21122
|
+
* @type {PlatformComponentConfigurationConstraintsResponse}
|
|
21123
|
+
* @memberof PlatformComponentConfigurationFieldResponse
|
|
21124
|
+
*/
|
|
21125
|
+
'constraints': PlatformComponentConfigurationConstraintsResponse;
|
|
21126
|
+
}
|
|
21127
|
+
/**
|
|
21128
|
+
*
|
|
21129
|
+
* @export
|
|
21130
|
+
* @enum {string}
|
|
21131
|
+
*/
|
|
21132
|
+
|
|
21133
|
+
export const PlatformComponentConfigurationInputScope = {
|
|
21134
|
+
PLATFORM_PROFILE: 'PLATFORM_PROFILE',
|
|
21135
|
+
CLUSTER: 'CLUSTER'
|
|
21136
|
+
} as const;
|
|
21137
|
+
|
|
21138
|
+
export type PlatformComponentConfigurationInputScope = typeof PlatformComponentConfigurationInputScope[keyof typeof PlatformComponentConfigurationInputScope];
|
|
21139
|
+
|
|
21140
|
+
|
|
21141
|
+
/**
|
|
21142
|
+
*
|
|
21143
|
+
* @export
|
|
21144
|
+
* @interface PlatformComponentConfigurationPreviewRequest
|
|
21145
|
+
*/
|
|
21146
|
+
export interface PlatformComponentConfigurationPreviewRequest {
|
|
21147
|
+
/**
|
|
21148
|
+
* Configuration values keyed by their catalog field name
|
|
21149
|
+
* @type {{ [key: string]: any; }}
|
|
21150
|
+
* @memberof PlatformComponentConfigurationPreviewRequest
|
|
21151
|
+
*/
|
|
21152
|
+
'profileConfig'?: { [key: string]: any; };
|
|
21153
|
+
/**
|
|
21154
|
+
*
|
|
21155
|
+
* @type {{ [key: string]: string; }}
|
|
21156
|
+
* @memberof PlatformComponentConfigurationPreviewRequest
|
|
21157
|
+
*/
|
|
21158
|
+
'clusterInputs'?: { [key: string]: string; };
|
|
21159
|
+
/**
|
|
21160
|
+
* String values keyed first by component key and then by input key
|
|
21161
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
21162
|
+
* @memberof PlatformComponentConfigurationPreviewRequest
|
|
21163
|
+
*/
|
|
21164
|
+
'componentOutputs'?: { [key: string]: { [key: string]: string; }; };
|
|
21165
|
+
}
|
|
21166
|
+
/**
|
|
21167
|
+
*
|
|
21168
|
+
* @export
|
|
21169
|
+
* @interface PlatformComponentConfigurationPreviewResponse
|
|
21170
|
+
*/
|
|
21171
|
+
export interface PlatformComponentConfigurationPreviewResponse {
|
|
21172
|
+
/**
|
|
21173
|
+
*
|
|
21174
|
+
* @type {string}
|
|
21175
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21176
|
+
*/
|
|
21177
|
+
'clusterId': string;
|
|
21178
|
+
/**
|
|
21179
|
+
*
|
|
21180
|
+
* @type {string}
|
|
21181
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21182
|
+
*/
|
|
21183
|
+
'componentKey': string;
|
|
21184
|
+
/**
|
|
21185
|
+
*
|
|
21186
|
+
* @type {Array<PlatformComponentConfigurationFieldResponse>}
|
|
21187
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21188
|
+
*/
|
|
21189
|
+
'fields': Array<PlatformComponentConfigurationFieldResponse>;
|
|
21190
|
+
/**
|
|
21191
|
+
*
|
|
21192
|
+
* @type {Array<PlatformComponentInputRequirementResponse>}
|
|
21193
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21194
|
+
*/
|
|
21195
|
+
'requirements': Array<PlatformComponentInputRequirementResponse>;
|
|
21196
|
+
/**
|
|
21197
|
+
*
|
|
21198
|
+
* @type {Array<PlatformComponentOutputBindingResponse>}
|
|
21199
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21200
|
+
*/
|
|
21201
|
+
'componentBindings': Array<PlatformComponentOutputBindingResponse>;
|
|
21202
|
+
/**
|
|
21203
|
+
*
|
|
21204
|
+
* @type {Array<PlatformComponentConfigurationViolationResponse>}
|
|
21205
|
+
* @memberof PlatformComponentConfigurationPreviewResponse
|
|
21206
|
+
*/
|
|
21207
|
+
'violations': Array<PlatformComponentConfigurationViolationResponse>;
|
|
21208
|
+
}
|
|
21209
|
+
/**
|
|
21210
|
+
*
|
|
21211
|
+
* @export
|
|
21212
|
+
* @enum {string}
|
|
21213
|
+
*/
|
|
21214
|
+
|
|
21215
|
+
export const PlatformComponentConfigurationRequirementStatus = {
|
|
21216
|
+
MISSING: 'MISSING',
|
|
21217
|
+
READY: 'READY'
|
|
21218
|
+
} as const;
|
|
21219
|
+
|
|
21220
|
+
export type PlatformComponentConfigurationRequirementStatus = typeof PlatformComponentConfigurationRequirementStatus[keyof typeof PlatformComponentConfigurationRequirementStatus];
|
|
21221
|
+
|
|
21222
|
+
|
|
21223
|
+
/**
|
|
21224
|
+
*
|
|
21225
|
+
* @export
|
|
21226
|
+
* @interface PlatformComponentConfigurationViolationResponse
|
|
21227
|
+
*/
|
|
21228
|
+
export interface PlatformComponentConfigurationViolationResponse {
|
|
21229
|
+
/**
|
|
21230
|
+
*
|
|
21231
|
+
* @type {string}
|
|
21232
|
+
* @memberof PlatformComponentConfigurationViolationResponse
|
|
21233
|
+
*/
|
|
21234
|
+
'code': string;
|
|
21235
|
+
/**
|
|
21236
|
+
*
|
|
21237
|
+
* @type {string}
|
|
21238
|
+
* @memberof PlatformComponentConfigurationViolationResponse
|
|
21239
|
+
*/
|
|
21240
|
+
'fieldPath': string;
|
|
21241
|
+
/**
|
|
21242
|
+
*
|
|
21243
|
+
* @type {string}
|
|
21244
|
+
* @memberof PlatformComponentConfigurationViolationResponse
|
|
21245
|
+
*/
|
|
21246
|
+
'message': string;
|
|
21247
|
+
}
|
|
21248
|
+
/**
|
|
21249
|
+
*
|
|
21250
|
+
* @export
|
|
21251
|
+
* @interface PlatformComponentInputRequirementResponse
|
|
21252
|
+
*/
|
|
21253
|
+
export interface PlatformComponentInputRequirementResponse {
|
|
21254
|
+
/**
|
|
21255
|
+
*
|
|
21256
|
+
* @type {string}
|
|
21257
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21258
|
+
*/
|
|
21259
|
+
'key': string;
|
|
21260
|
+
/**
|
|
21261
|
+
*
|
|
21262
|
+
* @type {string}
|
|
21263
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21264
|
+
*/
|
|
21265
|
+
'type': string;
|
|
21266
|
+
/**
|
|
21267
|
+
*
|
|
21268
|
+
* @type {PlatformComponentConfigurationInputScope}
|
|
21269
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21270
|
+
*/
|
|
21271
|
+
'scope': PlatformComponentConfigurationInputScope;
|
|
21272
|
+
/**
|
|
21273
|
+
*
|
|
21274
|
+
* @type {string}
|
|
21275
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21276
|
+
*/
|
|
21277
|
+
'label': string;
|
|
21278
|
+
/**
|
|
21279
|
+
*
|
|
21280
|
+
* @type {string}
|
|
21281
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21282
|
+
*/
|
|
21283
|
+
'description'?: string | null;
|
|
21284
|
+
/**
|
|
21285
|
+
*
|
|
21286
|
+
* @type {boolean}
|
|
21287
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21288
|
+
*/
|
|
21289
|
+
'required': boolean;
|
|
21290
|
+
/**
|
|
21291
|
+
*
|
|
21292
|
+
* @type {boolean}
|
|
21293
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21294
|
+
*/
|
|
21295
|
+
'sensitive': boolean;
|
|
21296
|
+
/**
|
|
21297
|
+
*
|
|
21298
|
+
* @type {PlatformComponentConfigurationConstraintsResponse}
|
|
21299
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21300
|
+
*/
|
|
21301
|
+
'constraints': PlatformComponentConfigurationConstraintsResponse;
|
|
21302
|
+
/**
|
|
21303
|
+
*
|
|
21304
|
+
* @type {PlatformComponentConfigurationRequirementStatus}
|
|
21305
|
+
* @memberof PlatformComponentInputRequirementResponse
|
|
21306
|
+
*/
|
|
21307
|
+
'status': PlatformComponentConfigurationRequirementStatus;
|
|
21308
|
+
}
|
|
21309
|
+
|
|
21310
|
+
|
|
21311
|
+
/**
|
|
21312
|
+
*
|
|
21313
|
+
* @export
|
|
21314
|
+
* @interface PlatformComponentOutputBindingResponse
|
|
21315
|
+
*/
|
|
21316
|
+
export interface PlatformComponentOutputBindingResponse {
|
|
21317
|
+
/**
|
|
21318
|
+
*
|
|
21319
|
+
* @type {string}
|
|
21320
|
+
* @memberof PlatformComponentOutputBindingResponse
|
|
21321
|
+
*/
|
|
21322
|
+
'input': string;
|
|
21323
|
+
/**
|
|
21324
|
+
*
|
|
21325
|
+
* @type {string}
|
|
21326
|
+
* @memberof PlatformComponentOutputBindingResponse
|
|
21327
|
+
*/
|
|
21328
|
+
'fromComponent': string;
|
|
21329
|
+
/**
|
|
21330
|
+
*
|
|
21331
|
+
* @type {string}
|
|
21332
|
+
* @memberof PlatformComponentOutputBindingResponse
|
|
21333
|
+
*/
|
|
21334
|
+
'output': string;
|
|
21335
|
+
}
|
|
21336
|
+
/**
|
|
21337
|
+
*
|
|
21338
|
+
* @export
|
|
21339
|
+
* @enum {string}
|
|
21340
|
+
*/
|
|
21341
|
+
|
|
21342
|
+
export const PlatformLayerResolutionStatus = {
|
|
21343
|
+
ENABLED: 'ENABLED',
|
|
21344
|
+
DISABLED: 'DISABLED',
|
|
21345
|
+
SKIPPED: 'SKIPPED'
|
|
21346
|
+
} as const;
|
|
21347
|
+
|
|
21348
|
+
export type PlatformLayerResolutionStatus = typeof PlatformLayerResolutionStatus[keyof typeof PlatformLayerResolutionStatus];
|
|
21349
|
+
|
|
21350
|
+
|
|
21351
|
+
/**
|
|
21352
|
+
*
|
|
21353
|
+
* @export
|
|
21354
|
+
* @interface PlatformTemplateCatalogResponse
|
|
21355
|
+
*/
|
|
21356
|
+
export interface PlatformTemplateCatalogResponse {
|
|
21357
|
+
/**
|
|
21358
|
+
*
|
|
21359
|
+
* @type {Array<PlatformTemplateSummaryResponse>}
|
|
21360
|
+
* @memberof PlatformTemplateCatalogResponse
|
|
21361
|
+
*/
|
|
21362
|
+
'results': Array<PlatformTemplateSummaryResponse>;
|
|
21363
|
+
}
|
|
21364
|
+
/**
|
|
21365
|
+
*
|
|
21366
|
+
* @export
|
|
21367
|
+
* @enum {string}
|
|
21368
|
+
*/
|
|
21369
|
+
|
|
21370
|
+
export const PlatformTemplateComponentKind = {
|
|
21371
|
+
HELM: 'HELM',
|
|
21372
|
+
TERRAFORM: 'TERRAFORM'
|
|
21373
|
+
} as const;
|
|
21374
|
+
|
|
21375
|
+
export type PlatformTemplateComponentKind = typeof PlatformTemplateComponentKind[keyof typeof PlatformTemplateComponentKind];
|
|
21376
|
+
|
|
21377
|
+
|
|
21378
|
+
/**
|
|
21379
|
+
*
|
|
21380
|
+
* @export
|
|
21381
|
+
* @interface PlatformTemplateComponentResponse
|
|
21382
|
+
*/
|
|
21383
|
+
export interface PlatformTemplateComponentResponse {
|
|
21384
|
+
/**
|
|
21385
|
+
*
|
|
21386
|
+
* @type {string}
|
|
21387
|
+
* @memberof PlatformTemplateComponentResponse
|
|
21388
|
+
*/
|
|
21389
|
+
'key': string;
|
|
21390
|
+
/**
|
|
21391
|
+
*
|
|
21392
|
+
* @type {PlatformTemplateComponentKind}
|
|
21393
|
+
* @memberof PlatformTemplateComponentResponse
|
|
21394
|
+
*/
|
|
21395
|
+
'kind': PlatformTemplateComponentKind;
|
|
21396
|
+
/**
|
|
21397
|
+
*
|
|
21398
|
+
* @type {string}
|
|
21399
|
+
* @memberof PlatformTemplateComponentResponse
|
|
21400
|
+
*/
|
|
21401
|
+
'description'?: string | null;
|
|
21402
|
+
/**
|
|
21403
|
+
*
|
|
21404
|
+
* @type {Array<PlatformComponentConfigurationFieldResponse>}
|
|
21405
|
+
* @memberof PlatformTemplateComponentResponse
|
|
21406
|
+
*/
|
|
21407
|
+
'fields': Array<PlatformComponentConfigurationFieldResponse>;
|
|
21408
|
+
}
|
|
21409
|
+
|
|
21410
|
+
|
|
21411
|
+
/**
|
|
21412
|
+
*
|
|
21413
|
+
* @export
|
|
21414
|
+
* @interface PlatformTemplateLayerResponse
|
|
21415
|
+
*/
|
|
21416
|
+
export interface PlatformTemplateLayerResponse {
|
|
21417
|
+
/**
|
|
21418
|
+
*
|
|
21419
|
+
* @type {string}
|
|
21420
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21421
|
+
*/
|
|
21422
|
+
'key': string;
|
|
21423
|
+
/**
|
|
21424
|
+
*
|
|
21425
|
+
* @type {boolean}
|
|
21426
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21427
|
+
*/
|
|
21428
|
+
'mandatory': boolean;
|
|
21429
|
+
/**
|
|
21430
|
+
*
|
|
21431
|
+
* @type {boolean}
|
|
21432
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21433
|
+
*/
|
|
21434
|
+
'enabledByDefault': boolean;
|
|
21435
|
+
/**
|
|
21436
|
+
*
|
|
21437
|
+
* @type {Array<PlatformClusterMode>}
|
|
21438
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21439
|
+
*/
|
|
21440
|
+
'modes': Array<PlatformClusterMode>;
|
|
21441
|
+
/**
|
|
21442
|
+
*
|
|
21443
|
+
* @type {Array<PlatformCloudVendor>}
|
|
21444
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21445
|
+
*/
|
|
21446
|
+
'providers'?: Array<PlatformCloudVendor> | null;
|
|
21447
|
+
/**
|
|
21448
|
+
*
|
|
21449
|
+
* @type {Array<string>}
|
|
21450
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21451
|
+
*/
|
|
21452
|
+
'componentKeys': Array<string>;
|
|
21453
|
+
/**
|
|
21454
|
+
*
|
|
21455
|
+
* @type {Array<PlatformTemplateComponentResponse>}
|
|
21456
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21457
|
+
*/
|
|
21458
|
+
'components': Array<PlatformTemplateComponentResponse>;
|
|
21459
|
+
/**
|
|
21460
|
+
*
|
|
21461
|
+
* @type {string}
|
|
21462
|
+
* @memberof PlatformTemplateLayerResponse
|
|
21463
|
+
*/
|
|
21464
|
+
'description'?: string | null;
|
|
21465
|
+
}
|
|
21466
|
+
/**
|
|
21467
|
+
*
|
|
21468
|
+
* @export
|
|
21469
|
+
* @enum {string}
|
|
21470
|
+
*/
|
|
21471
|
+
|
|
21472
|
+
export const PlatformTemplateReleaseStatus = {
|
|
21473
|
+
DRAFT: 'DRAFT',
|
|
21474
|
+
PUBLISHED: 'PUBLISHED',
|
|
21475
|
+
DEPRECATED: 'DEPRECATED'
|
|
21476
|
+
} as const;
|
|
21477
|
+
|
|
21478
|
+
export type PlatformTemplateReleaseStatus = typeof PlatformTemplateReleaseStatus[keyof typeof PlatformTemplateReleaseStatus];
|
|
21479
|
+
|
|
21480
|
+
|
|
21481
|
+
/**
|
|
21482
|
+
*
|
|
21483
|
+
* @export
|
|
21484
|
+
* @interface PlatformTemplateSummaryResponse
|
|
21485
|
+
*/
|
|
21486
|
+
export interface PlatformTemplateSummaryResponse {
|
|
21487
|
+
/**
|
|
21488
|
+
*
|
|
21489
|
+
* @type {string}
|
|
21490
|
+
* @memberof PlatformTemplateSummaryResponse
|
|
21491
|
+
*/
|
|
21492
|
+
'key': string;
|
|
21493
|
+
/**
|
|
21494
|
+
*
|
|
21495
|
+
* @type {string}
|
|
21496
|
+
* @memberof PlatformTemplateSummaryResponse
|
|
21497
|
+
*/
|
|
21498
|
+
'version': string;
|
|
21499
|
+
/**
|
|
21500
|
+
*
|
|
21501
|
+
* @type {PlatformTemplateReleaseStatus}
|
|
21502
|
+
* @memberof PlatformTemplateSummaryResponse
|
|
21503
|
+
*/
|
|
21504
|
+
'status': PlatformTemplateReleaseStatus;
|
|
21505
|
+
/**
|
|
21506
|
+
*
|
|
21507
|
+
* @type {string}
|
|
21508
|
+
* @memberof PlatformTemplateSummaryResponse
|
|
21509
|
+
*/
|
|
21510
|
+
'description'?: string | null;
|
|
21511
|
+
/**
|
|
21512
|
+
*
|
|
21513
|
+
* @type {Array<PlatformTemplateLayerResponse>}
|
|
21514
|
+
* @memberof PlatformTemplateSummaryResponse
|
|
21515
|
+
*/
|
|
21516
|
+
'layers': Array<PlatformTemplateLayerResponse>;
|
|
21517
|
+
}
|
|
21518
|
+
|
|
21519
|
+
|
|
20867
21520
|
/**
|
|
20868
21521
|
*
|
|
20869
21522
|
* @export
|
|
@@ -21452,6 +22105,19 @@ export const QoveryDnsProviderResponseProviderEnum = {
|
|
|
21452
22105
|
|
|
21453
22106
|
export type QoveryDnsProviderResponseProviderEnum = typeof QoveryDnsProviderResponseProviderEnum[keyof typeof QoveryDnsProviderResponseProviderEnum];
|
|
21454
22107
|
|
|
22108
|
+
/**
|
|
22109
|
+
*
|
|
22110
|
+
* @export
|
|
22111
|
+
* @interface QoveryIpsResponse
|
|
22112
|
+
*/
|
|
22113
|
+
export interface QoveryIpsResponse {
|
|
22114
|
+
/**
|
|
22115
|
+
* IP addresses used by Qovery\'s NAT gateways for outbound traffic.
|
|
22116
|
+
* @type {Array<string>}
|
|
22117
|
+
* @memberof QoveryIpsResponse
|
|
22118
|
+
*/
|
|
22119
|
+
'ips': Array<string>;
|
|
22120
|
+
}
|
|
21455
22121
|
/**
|
|
21456
22122
|
*
|
|
21457
22123
|
* @export
|
|
@@ -57348,6 +58014,107 @@ export class HelmsApi extends BaseAPI {
|
|
|
57348
58014
|
|
|
57349
58015
|
|
|
57350
58016
|
|
|
58017
|
+
/**
|
|
58018
|
+
* IPsApi - axios parameter creator
|
|
58019
|
+
* @export
|
|
58020
|
+
*/
|
|
58021
|
+
export const IPsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
58022
|
+
return {
|
|
58023
|
+
/**
|
|
58024
|
+
* Returns the list of static IP addresses used by Qovery\'s NAT gateways for outbound traffic. Customers can allow-list these IPs on their side. This endpoint is public and does not require authentication.
|
|
58025
|
+
* @summary List Qovery NAT gateway IP addresses
|
|
58026
|
+
* @param {*} [options] Override http request option.
|
|
58027
|
+
* @throws {RequiredError}
|
|
58028
|
+
*/
|
|
58029
|
+
listQoveryIps: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58030
|
+
const localVarPath = `/ips`;
|
|
58031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58033
|
+
let baseOptions;
|
|
58034
|
+
if (configuration) {
|
|
58035
|
+
baseOptions = configuration.baseOptions;
|
|
58036
|
+
}
|
|
58037
|
+
|
|
58038
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58039
|
+
const localVarHeaderParameter = {} as any;
|
|
58040
|
+
const localVarQueryParameter = {} as any;
|
|
58041
|
+
|
|
58042
|
+
|
|
58043
|
+
|
|
58044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58046
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58047
|
+
|
|
58048
|
+
return {
|
|
58049
|
+
url: toPathString(localVarUrlObj),
|
|
58050
|
+
options: localVarRequestOptions,
|
|
58051
|
+
};
|
|
58052
|
+
},
|
|
58053
|
+
}
|
|
58054
|
+
};
|
|
58055
|
+
|
|
58056
|
+
/**
|
|
58057
|
+
* IPsApi - functional programming interface
|
|
58058
|
+
* @export
|
|
58059
|
+
*/
|
|
58060
|
+
export const IPsApiFp = function(configuration?: Configuration) {
|
|
58061
|
+
const localVarAxiosParamCreator = IPsApiAxiosParamCreator(configuration)
|
|
58062
|
+
return {
|
|
58063
|
+
/**
|
|
58064
|
+
* Returns the list of static IP addresses used by Qovery\'s NAT gateways for outbound traffic. Customers can allow-list these IPs on their side. This endpoint is public and does not require authentication.
|
|
58065
|
+
* @summary List Qovery NAT gateway IP addresses
|
|
58066
|
+
* @param {*} [options] Override http request option.
|
|
58067
|
+
* @throws {RequiredError}
|
|
58068
|
+
*/
|
|
58069
|
+
async listQoveryIps(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QoveryIpsResponse>> {
|
|
58070
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listQoveryIps(options);
|
|
58071
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58072
|
+
const localVarOperationServerBasePath = operationServerMap['IPsApi.listQoveryIps']?.[localVarOperationServerIndex]?.url;
|
|
58073
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58074
|
+
},
|
|
58075
|
+
}
|
|
58076
|
+
};
|
|
58077
|
+
|
|
58078
|
+
/**
|
|
58079
|
+
* IPsApi - factory interface
|
|
58080
|
+
* @export
|
|
58081
|
+
*/
|
|
58082
|
+
export const IPsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
58083
|
+
const localVarFp = IPsApiFp(configuration)
|
|
58084
|
+
return {
|
|
58085
|
+
/**
|
|
58086
|
+
* Returns the list of static IP addresses used by Qovery\'s NAT gateways for outbound traffic. Customers can allow-list these IPs on their side. This endpoint is public and does not require authentication.
|
|
58087
|
+
* @summary List Qovery NAT gateway IP addresses
|
|
58088
|
+
* @param {*} [options] Override http request option.
|
|
58089
|
+
* @throws {RequiredError}
|
|
58090
|
+
*/
|
|
58091
|
+
listQoveryIps(options?: RawAxiosRequestConfig): AxiosPromise<QoveryIpsResponse> {
|
|
58092
|
+
return localVarFp.listQoveryIps(options).then((request) => request(axios, basePath));
|
|
58093
|
+
},
|
|
58094
|
+
};
|
|
58095
|
+
};
|
|
58096
|
+
|
|
58097
|
+
/**
|
|
58098
|
+
* IPsApi - object-oriented interface
|
|
58099
|
+
* @export
|
|
58100
|
+
* @class IPsApi
|
|
58101
|
+
* @extends {BaseAPI}
|
|
58102
|
+
*/
|
|
58103
|
+
export class IPsApi extends BaseAPI {
|
|
58104
|
+
/**
|
|
58105
|
+
* Returns the list of static IP addresses used by Qovery\'s NAT gateways for outbound traffic. Customers can allow-list these IPs on their side. This endpoint is public and does not require authentication.
|
|
58106
|
+
* @summary List Qovery NAT gateway IP addresses
|
|
58107
|
+
* @param {*} [options] Override http request option.
|
|
58108
|
+
* @throws {RequiredError}
|
|
58109
|
+
* @memberof IPsApi
|
|
58110
|
+
*/
|
|
58111
|
+
public listQoveryIps(options?: RawAxiosRequestConfig) {
|
|
58112
|
+
return IPsApiFp(this.configuration).listQoveryIps(options).then((request) => request(this.axios, this.basePath));
|
|
58113
|
+
}
|
|
58114
|
+
}
|
|
58115
|
+
|
|
58116
|
+
|
|
58117
|
+
|
|
57351
58118
|
/**
|
|
57352
58119
|
* JobActionsApi - axios parameter creator
|
|
57353
58120
|
* @export
|
|
@@ -67200,6 +67967,395 @@ export class OrganizationWebhookApi extends BaseAPI {
|
|
|
67200
67967
|
|
|
67201
67968
|
|
|
67202
67969
|
|
|
67970
|
+
/**
|
|
67971
|
+
* PlatformConfigurationApi - axios parameter creator
|
|
67972
|
+
* @export
|
|
67973
|
+
*/
|
|
67974
|
+
export const PlatformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
67975
|
+
return {
|
|
67976
|
+
/**
|
|
67977
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
67978
|
+
* @summary Get the cluster platform binding
|
|
67979
|
+
* @param {string} organizationId Organization ID
|
|
67980
|
+
* @param {string} clusterId Cluster ID
|
|
67981
|
+
* @param {*} [options] Override http request option.
|
|
67982
|
+
* @throws {RequiredError}
|
|
67983
|
+
*/
|
|
67984
|
+
getClusterPlatformBinding: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
67985
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
67986
|
+
assertParamExists('getClusterPlatformBinding', 'organizationId', organizationId)
|
|
67987
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
67988
|
+
assertParamExists('getClusterPlatformBinding', 'clusterId', clusterId)
|
|
67989
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding`
|
|
67990
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
67991
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
67992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
67993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
67994
|
+
let baseOptions;
|
|
67995
|
+
if (configuration) {
|
|
67996
|
+
baseOptions = configuration.baseOptions;
|
|
67997
|
+
}
|
|
67998
|
+
|
|
67999
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68000
|
+
const localVarHeaderParameter = {} as any;
|
|
68001
|
+
const localVarQueryParameter = {} as any;
|
|
68002
|
+
|
|
68003
|
+
// authentication ApiKeyAuth required
|
|
68004
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68005
|
+
|
|
68006
|
+
// authentication bearerAuth required
|
|
68007
|
+
// http bearer authentication required
|
|
68008
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68009
|
+
|
|
68010
|
+
|
|
68011
|
+
|
|
68012
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68013
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68014
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68015
|
+
|
|
68016
|
+
return {
|
|
68017
|
+
url: toPathString(localVarUrlObj),
|
|
68018
|
+
options: localVarRequestOptions,
|
|
68019
|
+
};
|
|
68020
|
+
},
|
|
68021
|
+
/**
|
|
68022
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68023
|
+
* @summary List platform templates
|
|
68024
|
+
* @param {string} organizationId Organization ID
|
|
68025
|
+
* @param {*} [options] Override http request option.
|
|
68026
|
+
* @throws {RequiredError}
|
|
68027
|
+
*/
|
|
68028
|
+
listPlatformTemplates: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68029
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
68030
|
+
assertParamExists('listPlatformTemplates', 'organizationId', organizationId)
|
|
68031
|
+
const localVarPath = `/organization/{organizationId}/platformTemplate`
|
|
68032
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
68033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68035
|
+
let baseOptions;
|
|
68036
|
+
if (configuration) {
|
|
68037
|
+
baseOptions = configuration.baseOptions;
|
|
68038
|
+
}
|
|
68039
|
+
|
|
68040
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68041
|
+
const localVarHeaderParameter = {} as any;
|
|
68042
|
+
const localVarQueryParameter = {} as any;
|
|
68043
|
+
|
|
68044
|
+
// authentication ApiKeyAuth required
|
|
68045
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68046
|
+
|
|
68047
|
+
// authentication bearerAuth required
|
|
68048
|
+
// http bearer authentication required
|
|
68049
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68050
|
+
|
|
68051
|
+
|
|
68052
|
+
|
|
68053
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68054
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68055
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68056
|
+
|
|
68057
|
+
return {
|
|
68058
|
+
url: toPathString(localVarUrlObj),
|
|
68059
|
+
options: localVarRequestOptions,
|
|
68060
|
+
};
|
|
68061
|
+
},
|
|
68062
|
+
/**
|
|
68063
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
|
|
68064
|
+
* @summary Resolve a platform component configuration
|
|
68065
|
+
* @param {string} organizationId Organization ID
|
|
68066
|
+
* @param {string} clusterId Cluster ID
|
|
68067
|
+
* @param {string} componentKey Platform component key
|
|
68068
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68069
|
+
* @param {*} [options] Override http request option.
|
|
68070
|
+
* @throws {RequiredError}
|
|
68071
|
+
*/
|
|
68072
|
+
resolvePlatformComponentConfiguration: async (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68073
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
68074
|
+
assertParamExists('resolvePlatformComponentConfiguration', 'organizationId', organizationId)
|
|
68075
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
68076
|
+
assertParamExists('resolvePlatformComponentConfiguration', 'clusterId', clusterId)
|
|
68077
|
+
// verify required parameter 'componentKey' is not null or undefined
|
|
68078
|
+
assertParamExists('resolvePlatformComponentConfiguration', 'componentKey', componentKey)
|
|
68079
|
+
// verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
|
|
68080
|
+
assertParamExists('resolvePlatformComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
|
|
68081
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding/component/{componentKey}/resolve`
|
|
68082
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
68083
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
68084
|
+
.replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
|
|
68085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68087
|
+
let baseOptions;
|
|
68088
|
+
if (configuration) {
|
|
68089
|
+
baseOptions = configuration.baseOptions;
|
|
68090
|
+
}
|
|
68091
|
+
|
|
68092
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68093
|
+
const localVarHeaderParameter = {} as any;
|
|
68094
|
+
const localVarQueryParameter = {} as any;
|
|
68095
|
+
|
|
68096
|
+
// authentication ApiKeyAuth required
|
|
68097
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68098
|
+
|
|
68099
|
+
// authentication bearerAuth required
|
|
68100
|
+
// http bearer authentication required
|
|
68101
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68102
|
+
|
|
68103
|
+
|
|
68104
|
+
|
|
68105
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68106
|
+
|
|
68107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68110
|
+
localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
|
|
68111
|
+
|
|
68112
|
+
return {
|
|
68113
|
+
url: toPathString(localVarUrlObj),
|
|
68114
|
+
options: localVarRequestOptions,
|
|
68115
|
+
};
|
|
68116
|
+
},
|
|
68117
|
+
/**
|
|
68118
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68119
|
+
* @summary Update the cluster platform binding
|
|
68120
|
+
* @param {string} organizationId Organization ID
|
|
68121
|
+
* @param {string} clusterId Cluster ID
|
|
68122
|
+
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
68123
|
+
* @param {*} [options] Override http request option.
|
|
68124
|
+
* @throws {RequiredError}
|
|
68125
|
+
*/
|
|
68126
|
+
updateClusterPlatformBinding: async (organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68127
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
68128
|
+
assertParamExists('updateClusterPlatformBinding', 'organizationId', organizationId)
|
|
68129
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
68130
|
+
assertParamExists('updateClusterPlatformBinding', 'clusterId', clusterId)
|
|
68131
|
+
// verify required parameter 'clusterPlatformBindingRequest' is not null or undefined
|
|
68132
|
+
assertParamExists('updateClusterPlatformBinding', 'clusterPlatformBindingRequest', clusterPlatformBindingRequest)
|
|
68133
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding`
|
|
68134
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
68135
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
68136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68138
|
+
let baseOptions;
|
|
68139
|
+
if (configuration) {
|
|
68140
|
+
baseOptions = configuration.baseOptions;
|
|
68141
|
+
}
|
|
68142
|
+
|
|
68143
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
68144
|
+
const localVarHeaderParameter = {} as any;
|
|
68145
|
+
const localVarQueryParameter = {} as any;
|
|
68146
|
+
|
|
68147
|
+
// authentication ApiKeyAuth required
|
|
68148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
68149
|
+
|
|
68150
|
+
// authentication bearerAuth required
|
|
68151
|
+
// http bearer authentication required
|
|
68152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68153
|
+
|
|
68154
|
+
|
|
68155
|
+
|
|
68156
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68157
|
+
|
|
68158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68160
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68161
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformBindingRequest, localVarRequestOptions, configuration)
|
|
68162
|
+
|
|
68163
|
+
return {
|
|
68164
|
+
url: toPathString(localVarUrlObj),
|
|
68165
|
+
options: localVarRequestOptions,
|
|
68166
|
+
};
|
|
68167
|
+
},
|
|
68168
|
+
}
|
|
68169
|
+
};
|
|
68170
|
+
|
|
68171
|
+
/**
|
|
68172
|
+
* PlatformConfigurationApi - functional programming interface
|
|
68173
|
+
* @export
|
|
68174
|
+
*/
|
|
68175
|
+
export const PlatformConfigurationApiFp = function(configuration?: Configuration) {
|
|
68176
|
+
const localVarAxiosParamCreator = PlatformConfigurationApiAxiosParamCreator(configuration)
|
|
68177
|
+
return {
|
|
68178
|
+
/**
|
|
68179
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
68180
|
+
* @summary Get the cluster platform binding
|
|
68181
|
+
* @param {string} organizationId Organization ID
|
|
68182
|
+
* @param {string} clusterId Cluster ID
|
|
68183
|
+
* @param {*} [options] Override http request option.
|
|
68184
|
+
* @throws {RequiredError}
|
|
68185
|
+
*/
|
|
68186
|
+
async getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
68187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterPlatformBinding(organizationId, clusterId, options);
|
|
68188
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68189
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
68190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68191
|
+
},
|
|
68192
|
+
/**
|
|
68193
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68194
|
+
* @summary List platform templates
|
|
68195
|
+
* @param {string} organizationId Organization ID
|
|
68196
|
+
* @param {*} [options] Override http request option.
|
|
68197
|
+
* @throws {RequiredError}
|
|
68198
|
+
*/
|
|
68199
|
+
async listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
|
|
68200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
|
|
68201
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68202
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.listPlatformTemplates']?.[localVarOperationServerIndex]?.url;
|
|
68203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68204
|
+
},
|
|
68205
|
+
/**
|
|
68206
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
|
|
68207
|
+
* @summary Resolve a platform component configuration
|
|
68208
|
+
* @param {string} organizationId Organization ID
|
|
68209
|
+
* @param {string} clusterId Cluster ID
|
|
68210
|
+
* @param {string} componentKey Platform component key
|
|
68211
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68212
|
+
* @param {*} [options] Override http request option.
|
|
68213
|
+
* @throws {RequiredError}
|
|
68214
|
+
*/
|
|
68215
|
+
async resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
|
|
68216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options);
|
|
68217
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68218
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
68219
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68220
|
+
},
|
|
68221
|
+
/**
|
|
68222
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68223
|
+
* @summary Update the cluster platform binding
|
|
68224
|
+
* @param {string} organizationId Organization ID
|
|
68225
|
+
* @param {string} clusterId Cluster ID
|
|
68226
|
+
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
68227
|
+
* @param {*} [options] Override http request option.
|
|
68228
|
+
* @throws {RequiredError}
|
|
68229
|
+
*/
|
|
68230
|
+
async updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
|
|
68231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options);
|
|
68232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
68233
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
|
|
68234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68235
|
+
},
|
|
68236
|
+
}
|
|
68237
|
+
};
|
|
68238
|
+
|
|
68239
|
+
/**
|
|
68240
|
+
* PlatformConfigurationApi - factory interface
|
|
68241
|
+
* @export
|
|
68242
|
+
*/
|
|
68243
|
+
export const PlatformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
68244
|
+
const localVarFp = PlatformConfigurationApiFp(configuration)
|
|
68245
|
+
return {
|
|
68246
|
+
/**
|
|
68247
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
68248
|
+
* @summary Get the cluster platform binding
|
|
68249
|
+
* @param {string} organizationId Organization ID
|
|
68250
|
+
* @param {string} clusterId Cluster ID
|
|
68251
|
+
* @param {*} [options] Override http request option.
|
|
68252
|
+
* @throws {RequiredError}
|
|
68253
|
+
*/
|
|
68254
|
+
getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
68255
|
+
return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
68256
|
+
},
|
|
68257
|
+
/**
|
|
68258
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68259
|
+
* @summary List platform templates
|
|
68260
|
+
* @param {string} organizationId Organization ID
|
|
68261
|
+
* @param {*} [options] Override http request option.
|
|
68262
|
+
* @throws {RequiredError}
|
|
68263
|
+
*/
|
|
68264
|
+
listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
|
|
68265
|
+
return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
|
|
68266
|
+
},
|
|
68267
|
+
/**
|
|
68268
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
|
|
68269
|
+
* @summary Resolve a platform component configuration
|
|
68270
|
+
* @param {string} organizationId Organization ID
|
|
68271
|
+
* @param {string} clusterId Cluster ID
|
|
68272
|
+
* @param {string} componentKey Platform component key
|
|
68273
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68274
|
+
* @param {*} [options] Override http request option.
|
|
68275
|
+
* @throws {RequiredError}
|
|
68276
|
+
*/
|
|
68277
|
+
resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
|
|
68278
|
+
return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
|
|
68279
|
+
},
|
|
68280
|
+
/**
|
|
68281
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68282
|
+
* @summary Update the cluster platform binding
|
|
68283
|
+
* @param {string} organizationId Organization ID
|
|
68284
|
+
* @param {string} clusterId Cluster ID
|
|
68285
|
+
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
68286
|
+
* @param {*} [options] Override http request option.
|
|
68287
|
+
* @throws {RequiredError}
|
|
68288
|
+
*/
|
|
68289
|
+
updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
|
|
68290
|
+
return localVarFp.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(axios, basePath));
|
|
68291
|
+
},
|
|
68292
|
+
};
|
|
68293
|
+
};
|
|
68294
|
+
|
|
68295
|
+
/**
|
|
68296
|
+
* PlatformConfigurationApi - object-oriented interface
|
|
68297
|
+
* @export
|
|
68298
|
+
* @class PlatformConfigurationApi
|
|
68299
|
+
* @extends {BaseAPI}
|
|
68300
|
+
*/
|
|
68301
|
+
export class PlatformConfigurationApi extends BaseAPI {
|
|
68302
|
+
/**
|
|
68303
|
+
* Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
|
|
68304
|
+
* @summary Get the cluster platform binding
|
|
68305
|
+
* @param {string} organizationId Organization ID
|
|
68306
|
+
* @param {string} clusterId Cluster ID
|
|
68307
|
+
* @param {*} [options] Override http request option.
|
|
68308
|
+
* @throws {RequiredError}
|
|
68309
|
+
* @memberof PlatformConfigurationApi
|
|
68310
|
+
*/
|
|
68311
|
+
public getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) {
|
|
68312
|
+
return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
68313
|
+
}
|
|
68314
|
+
|
|
68315
|
+
/**
|
|
68316
|
+
* Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
|
|
68317
|
+
* @summary List platform templates
|
|
68318
|
+
* @param {string} organizationId Organization ID
|
|
68319
|
+
* @param {*} [options] Override http request option.
|
|
68320
|
+
* @throws {RequiredError}
|
|
68321
|
+
* @memberof PlatformConfigurationApi
|
|
68322
|
+
*/
|
|
68323
|
+
public listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
68324
|
+
return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
68325
|
+
}
|
|
68326
|
+
|
|
68327
|
+
/**
|
|
68328
|
+
* Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
|
|
68329
|
+
* @summary Resolve a platform component configuration
|
|
68330
|
+
* @param {string} organizationId Organization ID
|
|
68331
|
+
* @param {string} clusterId Cluster ID
|
|
68332
|
+
* @param {string} componentKey Platform component key
|
|
68333
|
+
* @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
|
|
68334
|
+
* @param {*} [options] Override http request option.
|
|
68335
|
+
* @throws {RequiredError}
|
|
68336
|
+
* @memberof PlatformConfigurationApi
|
|
68337
|
+
*/
|
|
68338
|
+
public resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
|
|
68339
|
+
return PlatformConfigurationApiFp(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
68340
|
+
}
|
|
68341
|
+
|
|
68342
|
+
/**
|
|
68343
|
+
* Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
|
|
68344
|
+
* @summary Update the cluster platform binding
|
|
68345
|
+
* @param {string} organizationId Organization ID
|
|
68346
|
+
* @param {string} clusterId Cluster ID
|
|
68347
|
+
* @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
|
|
68348
|
+
* @param {*} [options] Override http request option.
|
|
68349
|
+
* @throws {RequiredError}
|
|
68350
|
+
* @memberof PlatformConfigurationApi
|
|
68351
|
+
*/
|
|
68352
|
+
public updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig) {
|
|
68353
|
+
return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
68354
|
+
}
|
|
68355
|
+
}
|
|
68356
|
+
|
|
68357
|
+
|
|
68358
|
+
|
|
67203
68359
|
/**
|
|
67204
68360
|
* ProjectDeploymentRuleApi - axios parameter creator
|
|
67205
68361
|
* @export
|