qovery-typescript-axios 1.1.923 → 1.1.924

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 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
@@ -67200,6 +67853,395 @@ export class OrganizationWebhookApi extends BaseAPI {
67200
67853
 
67201
67854
 
67202
67855
 
67856
+ /**
67857
+ * PlatformConfigurationApi - axios parameter creator
67858
+ * @export
67859
+ */
67860
+ export const PlatformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
67861
+ return {
67862
+ /**
67863
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
67864
+ * @summary Get the cluster platform binding
67865
+ * @param {string} organizationId Organization ID
67866
+ * @param {string} clusterId Cluster ID
67867
+ * @param {*} [options] Override http request option.
67868
+ * @throws {RequiredError}
67869
+ */
67870
+ getClusterPlatformBinding: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
67871
+ // verify required parameter 'organizationId' is not null or undefined
67872
+ assertParamExists('getClusterPlatformBinding', 'organizationId', organizationId)
67873
+ // verify required parameter 'clusterId' is not null or undefined
67874
+ assertParamExists('getClusterPlatformBinding', 'clusterId', clusterId)
67875
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding`
67876
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
67877
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
67878
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
67879
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67880
+ let baseOptions;
67881
+ if (configuration) {
67882
+ baseOptions = configuration.baseOptions;
67883
+ }
67884
+
67885
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
67886
+ const localVarHeaderParameter = {} as any;
67887
+ const localVarQueryParameter = {} as any;
67888
+
67889
+ // authentication ApiKeyAuth required
67890
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
67891
+
67892
+ // authentication bearerAuth required
67893
+ // http bearer authentication required
67894
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67895
+
67896
+
67897
+
67898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67900
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67901
+
67902
+ return {
67903
+ url: toPathString(localVarUrlObj),
67904
+ options: localVarRequestOptions,
67905
+ };
67906
+ },
67907
+ /**
67908
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
67909
+ * @summary List platform templates
67910
+ * @param {string} organizationId Organization ID
67911
+ * @param {*} [options] Override http request option.
67912
+ * @throws {RequiredError}
67913
+ */
67914
+ listPlatformTemplates: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
67915
+ // verify required parameter 'organizationId' is not null or undefined
67916
+ assertParamExists('listPlatformTemplates', 'organizationId', organizationId)
67917
+ const localVarPath = `/organization/{organizationId}/platformTemplate`
67918
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
67919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
67920
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67921
+ let baseOptions;
67922
+ if (configuration) {
67923
+ baseOptions = configuration.baseOptions;
67924
+ }
67925
+
67926
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
67927
+ const localVarHeaderParameter = {} as any;
67928
+ const localVarQueryParameter = {} as any;
67929
+
67930
+ // authentication ApiKeyAuth required
67931
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
67932
+
67933
+ // authentication bearerAuth required
67934
+ // http bearer authentication required
67935
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67936
+
67937
+
67938
+
67939
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67940
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67941
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67942
+
67943
+ return {
67944
+ url: toPathString(localVarUrlObj),
67945
+ options: localVarRequestOptions,
67946
+ };
67947
+ },
67948
+ /**
67949
+ * 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.
67950
+ * @summary Resolve a platform component configuration
67951
+ * @param {string} organizationId Organization ID
67952
+ * @param {string} clusterId Cluster ID
67953
+ * @param {string} componentKey Platform component key
67954
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
67955
+ * @param {*} [options] Override http request option.
67956
+ * @throws {RequiredError}
67957
+ */
67958
+ resolvePlatformComponentConfiguration: async (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
67959
+ // verify required parameter 'organizationId' is not null or undefined
67960
+ assertParamExists('resolvePlatformComponentConfiguration', 'organizationId', organizationId)
67961
+ // verify required parameter 'clusterId' is not null or undefined
67962
+ assertParamExists('resolvePlatformComponentConfiguration', 'clusterId', clusterId)
67963
+ // verify required parameter 'componentKey' is not null or undefined
67964
+ assertParamExists('resolvePlatformComponentConfiguration', 'componentKey', componentKey)
67965
+ // verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
67966
+ assertParamExists('resolvePlatformComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
67967
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding/component/{componentKey}/resolve`
67968
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
67969
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
67970
+ .replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
67971
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
67972
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67973
+ let baseOptions;
67974
+ if (configuration) {
67975
+ baseOptions = configuration.baseOptions;
67976
+ }
67977
+
67978
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
67979
+ const localVarHeaderParameter = {} as any;
67980
+ const localVarQueryParameter = {} as any;
67981
+
67982
+ // authentication ApiKeyAuth required
67983
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
67984
+
67985
+ // authentication bearerAuth required
67986
+ // http bearer authentication required
67987
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67988
+
67989
+
67990
+
67991
+ localVarHeaderParameter['Content-Type'] = 'application/json';
67992
+
67993
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67994
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67995
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67996
+ localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
67997
+
67998
+ return {
67999
+ url: toPathString(localVarUrlObj),
68000
+ options: localVarRequestOptions,
68001
+ };
68002
+ },
68003
+ /**
68004
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
68005
+ * @summary Update the cluster platform binding
68006
+ * @param {string} organizationId Organization ID
68007
+ * @param {string} clusterId Cluster ID
68008
+ * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
68009
+ * @param {*} [options] Override http request option.
68010
+ * @throws {RequiredError}
68011
+ */
68012
+ updateClusterPlatformBinding: async (organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68013
+ // verify required parameter 'organizationId' is not null or undefined
68014
+ assertParamExists('updateClusterPlatformBinding', 'organizationId', organizationId)
68015
+ // verify required parameter 'clusterId' is not null or undefined
68016
+ assertParamExists('updateClusterPlatformBinding', 'clusterId', clusterId)
68017
+ // verify required parameter 'clusterPlatformBindingRequest' is not null or undefined
68018
+ assertParamExists('updateClusterPlatformBinding', 'clusterPlatformBindingRequest', clusterPlatformBindingRequest)
68019
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/platformBinding`
68020
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
68021
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
68022
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
68023
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
68024
+ let baseOptions;
68025
+ if (configuration) {
68026
+ baseOptions = configuration.baseOptions;
68027
+ }
68028
+
68029
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
68030
+ const localVarHeaderParameter = {} as any;
68031
+ const localVarQueryParameter = {} as any;
68032
+
68033
+ // authentication ApiKeyAuth required
68034
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
68035
+
68036
+ // authentication bearerAuth required
68037
+ // http bearer authentication required
68038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68039
+
68040
+
68041
+
68042
+ localVarHeaderParameter['Content-Type'] = 'application/json';
68043
+
68044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
68047
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformBindingRequest, localVarRequestOptions, configuration)
68048
+
68049
+ return {
68050
+ url: toPathString(localVarUrlObj),
68051
+ options: localVarRequestOptions,
68052
+ };
68053
+ },
68054
+ }
68055
+ };
68056
+
68057
+ /**
68058
+ * PlatformConfigurationApi - functional programming interface
68059
+ * @export
68060
+ */
68061
+ export const PlatformConfigurationApiFp = function(configuration?: Configuration) {
68062
+ const localVarAxiosParamCreator = PlatformConfigurationApiAxiosParamCreator(configuration)
68063
+ return {
68064
+ /**
68065
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
68066
+ * @summary Get the cluster platform binding
68067
+ * @param {string} organizationId Organization ID
68068
+ * @param {string} clusterId Cluster ID
68069
+ * @param {*} [options] Override http request option.
68070
+ * @throws {RequiredError}
68071
+ */
68072
+ async getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
68073
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterPlatformBinding(organizationId, clusterId, options);
68074
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68075
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
68076
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68077
+ },
68078
+ /**
68079
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68080
+ * @summary List platform templates
68081
+ * @param {string} organizationId Organization ID
68082
+ * @param {*} [options] Override http request option.
68083
+ * @throws {RequiredError}
68084
+ */
68085
+ async listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
68086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
68087
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68088
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.listPlatformTemplates']?.[localVarOperationServerIndex]?.url;
68089
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68090
+ },
68091
+ /**
68092
+ * 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.
68093
+ * @summary Resolve a platform component configuration
68094
+ * @param {string} organizationId Organization ID
68095
+ * @param {string} clusterId Cluster ID
68096
+ * @param {string} componentKey Platform component key
68097
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
68098
+ * @param {*} [options] Override http request option.
68099
+ * @throws {RequiredError}
68100
+ */
68101
+ async resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
68102
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options);
68103
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68104
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolvePlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
68105
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68106
+ },
68107
+ /**
68108
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
68109
+ * @summary Update the cluster platform binding
68110
+ * @param {string} organizationId Organization ID
68111
+ * @param {string} clusterId Cluster ID
68112
+ * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
68113
+ * @param {*} [options] Override http request option.
68114
+ * @throws {RequiredError}
68115
+ */
68116
+ async updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
68117
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options);
68118
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68119
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
68120
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68121
+ },
68122
+ }
68123
+ };
68124
+
68125
+ /**
68126
+ * PlatformConfigurationApi - factory interface
68127
+ * @export
68128
+ */
68129
+ export const PlatformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
68130
+ const localVarFp = PlatformConfigurationApiFp(configuration)
68131
+ return {
68132
+ /**
68133
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
68134
+ * @summary Get the cluster platform binding
68135
+ * @param {string} organizationId Organization ID
68136
+ * @param {string} clusterId Cluster ID
68137
+ * @param {*} [options] Override http request option.
68138
+ * @throws {RequiredError}
68139
+ */
68140
+ getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
68141
+ return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
68142
+ },
68143
+ /**
68144
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68145
+ * @summary List platform templates
68146
+ * @param {string} organizationId Organization ID
68147
+ * @param {*} [options] Override http request option.
68148
+ * @throws {RequiredError}
68149
+ */
68150
+ listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
68151
+ return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
68152
+ },
68153
+ /**
68154
+ * 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.
68155
+ * @summary Resolve a platform component configuration
68156
+ * @param {string} organizationId Organization ID
68157
+ * @param {string} clusterId Cluster ID
68158
+ * @param {string} componentKey Platform component key
68159
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
68160
+ * @param {*} [options] Override http request option.
68161
+ * @throws {RequiredError}
68162
+ */
68163
+ resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
68164
+ return localVarFp.resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
68165
+ },
68166
+ /**
68167
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
68168
+ * @summary Update the cluster platform binding
68169
+ * @param {string} organizationId Organization ID
68170
+ * @param {string} clusterId Cluster ID
68171
+ * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
68172
+ * @param {*} [options] Override http request option.
68173
+ * @throws {RequiredError}
68174
+ */
68175
+ updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
68176
+ return localVarFp.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(axios, basePath));
68177
+ },
68178
+ };
68179
+ };
68180
+
68181
+ /**
68182
+ * PlatformConfigurationApi - object-oriented interface
68183
+ * @export
68184
+ * @class PlatformConfigurationApi
68185
+ * @extends {BaseAPI}
68186
+ */
68187
+ export class PlatformConfigurationApi extends BaseAPI {
68188
+ /**
68189
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
68190
+ * @summary Get the cluster platform binding
68191
+ * @param {string} organizationId Organization ID
68192
+ * @param {string} clusterId Cluster ID
68193
+ * @param {*} [options] Override http request option.
68194
+ * @throws {RequiredError}
68195
+ * @memberof PlatformConfigurationApi
68196
+ */
68197
+ public getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) {
68198
+ return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
68199
+ }
68200
+
68201
+ /**
68202
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68203
+ * @summary List platform templates
68204
+ * @param {string} organizationId Organization ID
68205
+ * @param {*} [options] Override http request option.
68206
+ * @throws {RequiredError}
68207
+ * @memberof PlatformConfigurationApi
68208
+ */
68209
+ public listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig) {
68210
+ return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
68211
+ }
68212
+
68213
+ /**
68214
+ * 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.
68215
+ * @summary Resolve a platform component configuration
68216
+ * @param {string} organizationId Organization ID
68217
+ * @param {string} clusterId Cluster ID
68218
+ * @param {string} componentKey Platform component key
68219
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
68220
+ * @param {*} [options] Override http request option.
68221
+ * @throws {RequiredError}
68222
+ * @memberof PlatformConfigurationApi
68223
+ */
68224
+ public resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
68225
+ return PlatformConfigurationApiFp(this.configuration).resolvePlatformComponentConfiguration(organizationId, clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
68226
+ }
68227
+
68228
+ /**
68229
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
68230
+ * @summary Update the cluster platform binding
68231
+ * @param {string} organizationId Organization ID
68232
+ * @param {string} clusterId Cluster ID
68233
+ * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
68234
+ * @param {*} [options] Override http request option.
68235
+ * @throws {RequiredError}
68236
+ * @memberof PlatformConfigurationApi
68237
+ */
68238
+ public updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig) {
68239
+ return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(this.axios, this.basePath));
68240
+ }
68241
+ }
68242
+
68243
+
68244
+
67203
68245
  /**
67204
68246
  * ProjectDeploymentRuleApi - axios parameter creator
67205
68247
  * @export