qovery-typescript-axios 1.1.970 → 1.1.972

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
@@ -3052,6 +3052,81 @@ export interface ArgocdManagedResource {
3052
3052
  */
3053
3053
  'liveState'?: string;
3054
3054
  }
3055
+ /**
3056
+ *
3057
+ * @export
3058
+ * @interface ArrayFieldSchemaResponse
3059
+ */
3060
+ export interface ArrayFieldSchemaResponse {
3061
+ /**
3062
+ *
3063
+ * @type {string}
3064
+ * @memberof ArrayFieldSchemaResponse
3065
+ */
3066
+ 'key': string;
3067
+ /**
3068
+ *
3069
+ * @type {string}
3070
+ * @memberof ArrayFieldSchemaResponse
3071
+ */
3072
+ 'type': ArrayFieldSchemaResponseTypeEnum;
3073
+ /**
3074
+ *
3075
+ * @type {boolean}
3076
+ * @memberof ArrayFieldSchemaResponse
3077
+ */
3078
+ 'required': boolean;
3079
+ /**
3080
+ *
3081
+ * @type {string}
3082
+ * @memberof ArrayFieldSchemaResponse
3083
+ */
3084
+ 'label': string;
3085
+ /**
3086
+ *
3087
+ * @type {string}
3088
+ * @memberof ArrayFieldSchemaResponse
3089
+ */
3090
+ 'description'?: string | null;
3091
+ /**
3092
+ *
3093
+ * @type {boolean}
3094
+ * @memberof ArrayFieldSchemaResponse
3095
+ */
3096
+ 'sensitive': boolean;
3097
+ /**
3098
+ *
3099
+ * @type {CollectionConstraintsResponse}
3100
+ * @memberof ArrayFieldSchemaResponse
3101
+ */
3102
+ 'constraints': CollectionConstraintsResponse;
3103
+ /**
3104
+ *
3105
+ * @type {ArrayItemResponse}
3106
+ * @memberof ArrayFieldSchemaResponse
3107
+ */
3108
+ 'items': ArrayItemResponse;
3109
+ /**
3110
+ * Evaluated field descriptors for each object item, in the same order as the configuration array. Use these row-specific descriptors when available; items.fields describes an object\'s fields before per-item evaluation. Omitted when unavailable, including scalar arrays. An evaluated empty object array has an empty itemFields array.
3111
+ * @type {Array<Array<FieldSchemaResponse>>}
3112
+ * @memberof ArrayFieldSchemaResponse
3113
+ */
3114
+ 'itemFields'?: Array<Array<FieldSchemaResponse>>;
3115
+ }
3116
+
3117
+ export const ArrayFieldSchemaResponseTypeEnum = {
3118
+ ARRAY: 'array'
3119
+ } as const;
3120
+
3121
+ export type ArrayFieldSchemaResponseTypeEnum = typeof ArrayFieldSchemaResponseTypeEnum[keyof typeof ArrayFieldSchemaResponseTypeEnum];
3122
+
3123
+ /**
3124
+ * @type ArrayItemResponse
3125
+ * Descriptor for an array element. Elements are scalars or objects; an object\'s fields can themselves contain arrays.
3126
+ * @export
3127
+ */
3128
+ export type ArrayItemResponse = { type: 'bool' } & ScalarArrayItemResponse | { type: 'number' } & ScalarArrayItemResponse | { type: 'object' } & ObjectArrayItemResponse | { type: 'string' } & ScalarArrayItemResponse;
3129
+
3055
3130
  /**
3056
3131
  *
3057
3132
  * @export
@@ -9028,6 +9103,31 @@ export interface ClusterStatusResponseList {
9028
9103
  */
9029
9104
  'results'?: Array<ClusterStatus>;
9030
9105
  }
9106
+ /**
9107
+ *
9108
+ * @export
9109
+ * @interface CollectionConstraintsResponse
9110
+ */
9111
+ export interface CollectionConstraintsResponse {
9112
+ /**
9113
+ *
9114
+ * @type {number}
9115
+ * @memberof CollectionConstraintsResponse
9116
+ */
9117
+ 'minItems'?: number | null;
9118
+ /**
9119
+ *
9120
+ * @type {number}
9121
+ * @memberof CollectionConstraintsResponse
9122
+ */
9123
+ 'maxItems'?: number | null;
9124
+ /**
9125
+ *
9126
+ * @type {boolean}
9127
+ * @memberof CollectionConstraintsResponse
9128
+ */
9129
+ 'uniqueItems': boolean;
9130
+ }
9031
9131
  /**
9032
9132
  *
9033
9133
  * @export
@@ -11508,6 +11608,12 @@ export interface DeployAllRequest {
11508
11608
  * @memberof DeployAllRequest
11509
11609
  */
11510
11610
  'terraforms'?: Array<TerraformDeployRequest>;
11611
+ /**
11612
+ *
11613
+ * @type {Array<string>}
11614
+ * @memberof DeployAllRequest
11615
+ */
11616
+ 'agentic_workflows'?: Array<string>;
11511
11617
  }
11512
11618
  /**
11513
11619
  *
@@ -14901,68 +15007,11 @@ export interface FieldSchemaConstraintsResponse {
14901
15007
  'pattern'?: string | null;
14902
15008
  }
14903
15009
  /**
14904
- * Canonical platform catalog field descriptor. Mirrors the q-core `FieldSchemaResponse` DTO.
15010
+ * @type FieldSchemaResponse
15011
+ * Generic catalog field descriptor matching the shared q-core field response. Scalar fields retain their existing shape; objects and arrays describe nested configuration without flattening its values. Blueprint keeps its existing BlueprintManifestVariableField response contract through a dedicated adapter.
14905
15012
  * @export
14906
- * @interface FieldSchemaResponse
14907
15013
  */
14908
- export interface FieldSchemaResponse {
14909
- /**
14910
- *
14911
- * @type {string}
14912
- * @memberof FieldSchemaResponse
14913
- */
14914
- 'key': string;
14915
- /**
14916
- * Field type understood by the Console.
14917
- * @type {string}
14918
- * @memberof FieldSchemaResponse
14919
- */
14920
- 'type': FieldSchemaResponseTypeEnum;
14921
- /**
14922
- *
14923
- * @type {boolean}
14924
- * @memberof FieldSchemaResponse
14925
- */
14926
- 'required': boolean;
14927
- /**
14928
- *
14929
- * @type {string}
14930
- * @memberof FieldSchemaResponse
14931
- */
14932
- 'defaultValue'?: string | null;
14933
- /**
14934
- *
14935
- * @type {string}
14936
- * @memberof FieldSchemaResponse
14937
- */
14938
- 'label': string;
14939
- /**
14940
- *
14941
- * @type {string}
14942
- * @memberof FieldSchemaResponse
14943
- */
14944
- 'description'?: string | null;
14945
- /**
14946
- *
14947
- * @type {boolean}
14948
- * @memberof FieldSchemaResponse
14949
- */
14950
- 'sensitive': boolean;
14951
- /**
14952
- *
14953
- * @type {FieldSchemaConstraintsResponse}
14954
- * @memberof FieldSchemaResponse
14955
- */
14956
- 'constraints': FieldSchemaConstraintsResponse;
14957
- }
14958
-
14959
- export const FieldSchemaResponseTypeEnum = {
14960
- STRING: 'string',
14961
- NUMBER: 'number',
14962
- BOOL: 'bool'
14963
- } as const;
14964
-
14965
- export type FieldSchemaResponseTypeEnum = typeof FieldSchemaResponseTypeEnum[keyof typeof FieldSchemaResponseTypeEnum];
15014
+ export type FieldSchemaResponse = { type: 'array' } & ArrayFieldSchemaResponse | { type: 'bool' } & ScalarFieldSchemaResponse | { type: 'number' } & ScalarFieldSchemaResponse | { type: 'object' } & ObjectFieldSchemaResponse | { type: 'string' } & ScalarFieldSchemaResponse;
14966
15015
 
14967
15016
  /**
14968
15017
  * @type GcpCredentialsRequest
@@ -20364,6 +20413,88 @@ export interface MetricsParameters {
20364
20413
  */
20365
20414
  export type MetricsParametersConfiguration = { kind: 'MANAGED_BY_QOVERY' } & MetricsConfigurationManagedByQovery;
20366
20415
 
20416
+ /**
20417
+ *
20418
+ * @export
20419
+ * @interface ObjectArrayItemResponse
20420
+ */
20421
+ export interface ObjectArrayItemResponse {
20422
+ /**
20423
+ *
20424
+ * @type {string}
20425
+ * @memberof ObjectArrayItemResponse
20426
+ */
20427
+ 'type': ObjectArrayItemResponseTypeEnum;
20428
+ /**
20429
+ *
20430
+ * @type {Array<FieldSchemaResponse>}
20431
+ * @memberof ObjectArrayItemResponse
20432
+ */
20433
+ 'fields': Array<FieldSchemaResponse>;
20434
+ }
20435
+
20436
+ export const ObjectArrayItemResponseTypeEnum = {
20437
+ OBJECT: 'object'
20438
+ } as const;
20439
+
20440
+ export type ObjectArrayItemResponseTypeEnum = typeof ObjectArrayItemResponseTypeEnum[keyof typeof ObjectArrayItemResponseTypeEnum];
20441
+
20442
+ /**
20443
+ *
20444
+ * @export
20445
+ * @interface ObjectFieldSchemaResponse
20446
+ */
20447
+ export interface ObjectFieldSchemaResponse {
20448
+ /**
20449
+ *
20450
+ * @type {string}
20451
+ * @memberof ObjectFieldSchemaResponse
20452
+ */
20453
+ 'key': string;
20454
+ /**
20455
+ *
20456
+ * @type {string}
20457
+ * @memberof ObjectFieldSchemaResponse
20458
+ */
20459
+ 'type': ObjectFieldSchemaResponseTypeEnum;
20460
+ /**
20461
+ *
20462
+ * @type {boolean}
20463
+ * @memberof ObjectFieldSchemaResponse
20464
+ */
20465
+ 'required': boolean;
20466
+ /**
20467
+ *
20468
+ * @type {string}
20469
+ * @memberof ObjectFieldSchemaResponse
20470
+ */
20471
+ 'label': string;
20472
+ /**
20473
+ *
20474
+ * @type {string}
20475
+ * @memberof ObjectFieldSchemaResponse
20476
+ */
20477
+ 'description'?: string | null;
20478
+ /**
20479
+ *
20480
+ * @type {boolean}
20481
+ * @memberof ObjectFieldSchemaResponse
20482
+ */
20483
+ 'sensitive': boolean;
20484
+ /**
20485
+ * Nested field descriptors for this object\'s properties.
20486
+ * @type {Array<FieldSchemaResponse>}
20487
+ * @memberof ObjectFieldSchemaResponse
20488
+ */
20489
+ 'fields': Array<FieldSchemaResponse>;
20490
+ }
20491
+
20492
+ export const ObjectFieldSchemaResponseTypeEnum = {
20493
+ OBJECT: 'object'
20494
+ } as const;
20495
+
20496
+ export type ObjectFieldSchemaResponseTypeEnum = typeof ObjectFieldSchemaResponseTypeEnum[keyof typeof ObjectFieldSchemaResponseTypeEnum];
20497
+
20367
20498
  /**
20368
20499
  *
20369
20500
  * @export
@@ -22814,7 +22945,7 @@ export interface PlatformComponentConfigurationViolationResponse {
22814
22945
  'message': string;
22815
22946
  }
22816
22947
  /**
22817
- * A catalog field the cluster must provide for the selected configuration: the shared field descriptor extended with its resolution scope and readiness.
22948
+ * A catalog field the cluster must provide for the selected configuration: the scalar field descriptor extended with its resolution scope and readiness. Input requirements cannot be object or array descriptors.
22818
22949
  * @export
22819
22950
  * @interface PlatformComponentInputRequirementResponse
22820
22951
  */
@@ -24339,6 +24470,98 @@ export const Route53StaticCredentialsResponseTypeEnum = {
24339
24470
 
24340
24471
  export type Route53StaticCredentialsResponseTypeEnum = typeof Route53StaticCredentialsResponseTypeEnum[keyof typeof Route53StaticCredentialsResponseTypeEnum];
24341
24472
 
24473
+ /**
24474
+ *
24475
+ * @export
24476
+ * @interface ScalarArrayItemResponse
24477
+ */
24478
+ export interface ScalarArrayItemResponse {
24479
+ /**
24480
+ *
24481
+ * @type {string}
24482
+ * @memberof ScalarArrayItemResponse
24483
+ */
24484
+ 'type': ScalarArrayItemResponseTypeEnum;
24485
+ /**
24486
+ *
24487
+ * @type {FieldSchemaConstraintsResponse}
24488
+ * @memberof ScalarArrayItemResponse
24489
+ */
24490
+ 'constraints': FieldSchemaConstraintsResponse;
24491
+ }
24492
+
24493
+ export const ScalarArrayItemResponseTypeEnum = {
24494
+ STRING: 'string',
24495
+ NUMBER: 'number',
24496
+ BOOL: 'bool'
24497
+ } as const;
24498
+
24499
+ export type ScalarArrayItemResponseTypeEnum = typeof ScalarArrayItemResponseTypeEnum[keyof typeof ScalarArrayItemResponseTypeEnum];
24500
+
24501
+ /**
24502
+ * Scalar catalog field descriptor, also used for platform cluster input requirements. FieldSchemaResponse is the union of scalar, object and array descriptors.
24503
+ * @export
24504
+ * @interface ScalarFieldSchemaResponse
24505
+ */
24506
+ export interface ScalarFieldSchemaResponse {
24507
+ /**
24508
+ *
24509
+ * @type {string}
24510
+ * @memberof ScalarFieldSchemaResponse
24511
+ */
24512
+ 'key': string;
24513
+ /**
24514
+ * Field type understood by the Console.
24515
+ * @type {string}
24516
+ * @memberof ScalarFieldSchemaResponse
24517
+ */
24518
+ 'type': ScalarFieldSchemaResponseTypeEnum;
24519
+ /**
24520
+ *
24521
+ * @type {boolean}
24522
+ * @memberof ScalarFieldSchemaResponse
24523
+ */
24524
+ 'required': boolean;
24525
+ /**
24526
+ *
24527
+ * @type {string}
24528
+ * @memberof ScalarFieldSchemaResponse
24529
+ */
24530
+ 'defaultValue'?: string | null;
24531
+ /**
24532
+ *
24533
+ * @type {string}
24534
+ * @memberof ScalarFieldSchemaResponse
24535
+ */
24536
+ 'label': string;
24537
+ /**
24538
+ *
24539
+ * @type {string}
24540
+ * @memberof ScalarFieldSchemaResponse
24541
+ */
24542
+ 'description'?: string | null;
24543
+ /**
24544
+ *
24545
+ * @type {boolean}
24546
+ * @memberof ScalarFieldSchemaResponse
24547
+ */
24548
+ 'sensitive': boolean;
24549
+ /**
24550
+ *
24551
+ * @type {FieldSchemaConstraintsResponse}
24552
+ * @memberof ScalarFieldSchemaResponse
24553
+ */
24554
+ 'constraints': FieldSchemaConstraintsResponse;
24555
+ }
24556
+
24557
+ export const ScalarFieldSchemaResponseTypeEnum = {
24558
+ STRING: 'string',
24559
+ NUMBER: 'number',
24560
+ BOOL: 'bool'
24561
+ } as const;
24562
+
24563
+ export type ScalarFieldSchemaResponseTypeEnum = typeof ScalarFieldSchemaResponseTypeEnum[keyof typeof ScalarFieldSchemaResponseTypeEnum];
24564
+
24342
24565
  /**
24343
24566
  *
24344
24567
  * @export
@@ -28251,6 +28474,47 @@ export const AgenticWorkflowsApiAxiosParamCreator = function (configuration?: Co
28251
28474
 
28252
28475
 
28253
28476
 
28477
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28478
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28479
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28480
+
28481
+ return {
28482
+ url: toPathString(localVarUrlObj),
28483
+ options: localVarRequestOptions,
28484
+ };
28485
+ },
28486
+ /**
28487
+ * Deploy the agentic workflow service so its configuration can be tested. Routine runs of the workflow are triggered by its webhook or its schedule, not by this endpoint.
28488
+ * @summary Deploy an agentic workflow
28489
+ * @param {string} agenticWorkflowId
28490
+ * @param {*} [options] Override http request option.
28491
+ * @throws {RequiredError}
28492
+ */
28493
+ deployAgenticWorkflow: async (agenticWorkflowId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28494
+ // verify required parameter 'agenticWorkflowId' is not null or undefined
28495
+ assertParamExists('deployAgenticWorkflow', 'agenticWorkflowId', agenticWorkflowId)
28496
+ const localVarPath = `/agenticWorkflow/{agenticWorkflowId}/deploy`
28497
+ .replace(`{${"agenticWorkflowId"}}`, encodeURIComponent(String(agenticWorkflowId)));
28498
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28499
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28500
+ let baseOptions;
28501
+ if (configuration) {
28502
+ baseOptions = configuration.baseOptions;
28503
+ }
28504
+
28505
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28506
+ const localVarHeaderParameter = {} as any;
28507
+ const localVarQueryParameter = {} as any;
28508
+
28509
+ // authentication ApiKeyAuth required
28510
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
28511
+
28512
+ // authentication bearerAuth required
28513
+ // http bearer authentication required
28514
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28515
+
28516
+
28517
+
28254
28518
  setSearchParams(localVarUrlObj, localVarQueryParameter);
28255
28519
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28256
28520
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -28484,6 +28748,19 @@ export const AgenticWorkflowsApiFp = function(configuration?: Configuration) {
28484
28748
  const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deleteAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
28485
28749
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28486
28750
  },
28751
+ /**
28752
+ * Deploy the agentic workflow service so its configuration can be tested. Routine runs of the workflow are triggered by its webhook or its schedule, not by this endpoint.
28753
+ * @summary Deploy an agentic workflow
28754
+ * @param {string} agenticWorkflowId
28755
+ * @param {*} [options] Override http request option.
28756
+ * @throws {RequiredError}
28757
+ */
28758
+ async deployAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
28759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deployAgenticWorkflow(agenticWorkflowId, options);
28760
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28761
+ const localVarOperationServerBasePath = operationServerMap['AgenticWorkflowsApi.deployAgenticWorkflow']?.[localVarOperationServerIndex]?.url;
28762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28763
+ },
28487
28764
  /**
28488
28765
  *
28489
28766
  * @summary Edit an agentic workflow
@@ -28580,6 +28857,16 @@ export const AgenticWorkflowsApiFactory = function (configuration?: Configuratio
28580
28857
  deleteAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
28581
28858
  return localVarFp.deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
28582
28859
  },
28860
+ /**
28861
+ * Deploy the agentic workflow service so its configuration can be tested. Routine runs of the workflow are triggered by its webhook or its schedule, not by this endpoint.
28862
+ * @summary Deploy an agentic workflow
28863
+ * @param {string} agenticWorkflowId
28864
+ * @param {*} [options] Override http request option.
28865
+ * @throws {RequiredError}
28866
+ */
28867
+ deployAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
28868
+ return localVarFp.deployAgenticWorkflow(agenticWorkflowId, options).then((request) => request(axios, basePath));
28869
+ },
28583
28870
  /**
28584
28871
  *
28585
28872
  * @summary Edit an agentic workflow
@@ -28670,6 +28957,18 @@ export class AgenticWorkflowsApi extends BaseAPI {
28670
28957
  return AgenticWorkflowsApiFp(this.configuration).deleteAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
28671
28958
  }
28672
28959
 
28960
+ /**
28961
+ * Deploy the agentic workflow service so its configuration can be tested. Routine runs of the workflow are triggered by its webhook or its schedule, not by this endpoint.
28962
+ * @summary Deploy an agentic workflow
28963
+ * @param {string} agenticWorkflowId
28964
+ * @param {*} [options] Override http request option.
28965
+ * @throws {RequiredError}
28966
+ * @memberof AgenticWorkflowsApi
28967
+ */
28968
+ public deployAgenticWorkflow(agenticWorkflowId: string, options?: RawAxiosRequestConfig) {
28969
+ return AgenticWorkflowsApiFp(this.configuration).deployAgenticWorkflow(agenticWorkflowId, options).then((request) => request(this.axios, this.basePath));
28970
+ }
28971
+
28673
28972
  /**
28674
28973
  *
28675
28974
  * @summary Edit an agentic workflow