qovery-typescript-axios 1.1.1028 → 1.1.1030
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 +122 -4
- package/dist/api.d.ts +120 -4
- package/dist/api.js +4 -4
- package/dist/esm/api.d.ts +120 -4
- package/dist/esm/api.js +4 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -15650,6 +15650,75 @@ export interface EnvironmentVariableResponseList {
|
|
|
15650
15650
|
*/
|
|
15651
15651
|
'results'?: Array<EnvironmentVariable>;
|
|
15652
15652
|
}
|
|
15653
|
+
/**
|
|
15654
|
+
* The variable that blocks the creation. Its value is never returned.
|
|
15655
|
+
* @export
|
|
15656
|
+
* @interface ExistingVariableResponse
|
|
15657
|
+
*/
|
|
15658
|
+
export interface ExistingVariableResponse {
|
|
15659
|
+
/**
|
|
15660
|
+
*
|
|
15661
|
+
* @type {string}
|
|
15662
|
+
* @memberof ExistingVariableResponse
|
|
15663
|
+
*/
|
|
15664
|
+
'id': string;
|
|
15665
|
+
/**
|
|
15666
|
+
*
|
|
15667
|
+
* @type {string}
|
|
15668
|
+
* @memberof ExistingVariableResponse
|
|
15669
|
+
*/
|
|
15670
|
+
'key': string;
|
|
15671
|
+
/**
|
|
15672
|
+
*
|
|
15673
|
+
* @type {APIVariableScopeEnum}
|
|
15674
|
+
* @memberof ExistingVariableResponse
|
|
15675
|
+
*/
|
|
15676
|
+
'scope': APIVariableScopeEnum;
|
|
15677
|
+
/**
|
|
15678
|
+
*
|
|
15679
|
+
* @type {string}
|
|
15680
|
+
* @memberof ExistingVariableResponse
|
|
15681
|
+
*/
|
|
15682
|
+
'organization_id'?: string | null;
|
|
15683
|
+
/**
|
|
15684
|
+
*
|
|
15685
|
+
* @type {string}
|
|
15686
|
+
* @memberof ExistingVariableResponse
|
|
15687
|
+
*/
|
|
15688
|
+
'project_id'?: string | null;
|
|
15689
|
+
/**
|
|
15690
|
+
*
|
|
15691
|
+
* @type {string}
|
|
15692
|
+
* @memberof ExistingVariableResponse
|
|
15693
|
+
*/
|
|
15694
|
+
'environment_id'?: string | null;
|
|
15695
|
+
/**
|
|
15696
|
+
*
|
|
15697
|
+
* @type {string}
|
|
15698
|
+
* @memberof ExistingVariableResponse
|
|
15699
|
+
*/
|
|
15700
|
+
'service_id'?: string | null;
|
|
15701
|
+
/**
|
|
15702
|
+
*
|
|
15703
|
+
* @type {APIVariableTypeEnum}
|
|
15704
|
+
* @memberof ExistingVariableResponse
|
|
15705
|
+
*/
|
|
15706
|
+
'variable_type': APIVariableTypeEnum;
|
|
15707
|
+
/**
|
|
15708
|
+
*
|
|
15709
|
+
* @type {boolean}
|
|
15710
|
+
* @memberof ExistingVariableResponse
|
|
15711
|
+
*/
|
|
15712
|
+
'is_secret': boolean;
|
|
15713
|
+
/**
|
|
15714
|
+
*
|
|
15715
|
+
* @type {string}
|
|
15716
|
+
* @memberof ExistingVariableResponse
|
|
15717
|
+
*/
|
|
15718
|
+
'mount_path'?: string | null;
|
|
15719
|
+
}
|
|
15720
|
+
|
|
15721
|
+
|
|
15653
15722
|
/**
|
|
15654
15723
|
*
|
|
15655
15724
|
* @export
|
|
@@ -29417,6 +29486,49 @@ export interface VariableAliasRequest {
|
|
|
29417
29486
|
}
|
|
29418
29487
|
|
|
29419
29488
|
|
|
29489
|
+
/**
|
|
29490
|
+
* Problem details returned when a variable with the same key already exists
|
|
29491
|
+
* @export
|
|
29492
|
+
* @interface VariableConflictResponse
|
|
29493
|
+
*/
|
|
29494
|
+
export interface VariableConflictResponse {
|
|
29495
|
+
/**
|
|
29496
|
+
*
|
|
29497
|
+
* @type {string}
|
|
29498
|
+
* @memberof VariableConflictResponse
|
|
29499
|
+
*/
|
|
29500
|
+
'type'?: string;
|
|
29501
|
+
/**
|
|
29502
|
+
*
|
|
29503
|
+
* @type {string}
|
|
29504
|
+
* @memberof VariableConflictResponse
|
|
29505
|
+
*/
|
|
29506
|
+
'title'?: string;
|
|
29507
|
+
/**
|
|
29508
|
+
*
|
|
29509
|
+
* @type {number}
|
|
29510
|
+
* @memberof VariableConflictResponse
|
|
29511
|
+
*/
|
|
29512
|
+
'status': number;
|
|
29513
|
+
/**
|
|
29514
|
+
* Says which scope holds the existing variable
|
|
29515
|
+
* @type {string}
|
|
29516
|
+
* @memberof VariableConflictResponse
|
|
29517
|
+
*/
|
|
29518
|
+
'detail': string;
|
|
29519
|
+
/**
|
|
29520
|
+
*
|
|
29521
|
+
* @type {string}
|
|
29522
|
+
* @memberof VariableConflictResponse
|
|
29523
|
+
*/
|
|
29524
|
+
'instance'?: string;
|
|
29525
|
+
/**
|
|
29526
|
+
*
|
|
29527
|
+
* @type {ExistingVariableResponse}
|
|
29528
|
+
* @memberof VariableConflictResponse
|
|
29529
|
+
*/
|
|
29530
|
+
'existing_variable'?: ExistingVariableResponse | null;
|
|
29531
|
+
}
|
|
29420
29532
|
/**
|
|
29421
29533
|
*
|
|
29422
29534
|
* @export
|
|
@@ -29702,6 +29814,12 @@ export interface VariableRequest {
|
|
|
29702
29814
|
* @memberof VariableRequest
|
|
29703
29815
|
*/
|
|
29704
29816
|
'secret_manager_access_id'?: string | null;
|
|
29817
|
+
/**
|
|
29818
|
+
* If true and a variable with the same key already exists at a higher scope (project or environment), an override of that variable is created instead of failing with 409. The override follows the usual rules: same secret kind, target must be a value or file variable, strictly lower scope. Defaults to false.
|
|
29819
|
+
* @type {boolean}
|
|
29820
|
+
* @memberof VariableRequest
|
|
29821
|
+
*/
|
|
29822
|
+
'override_if_exists'?: boolean | null;
|
|
29705
29823
|
}
|
|
29706
29824
|
|
|
29707
29825
|
|
|
@@ -80024,7 +80142,7 @@ export class UserSignUpApi extends BaseAPI {
|
|
|
80024
80142
|
export const VariableMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
80025
80143
|
return {
|
|
80026
80144
|
/**
|
|
80027
|
-
* - Create a variable with the scope defined in the request body.
|
|
80145
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
80028
80146
|
* @summary Create a variable
|
|
80029
80147
|
* @param {VariableRequest} [variableRequest]
|
|
80030
80148
|
* @param {*} [options] Override http request option.
|
|
@@ -80364,7 +80482,7 @@ export const VariableMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
80364
80482
|
const localVarAxiosParamCreator = VariableMainCallsApiAxiosParamCreator(configuration)
|
|
80365
80483
|
return {
|
|
80366
80484
|
/**
|
|
80367
|
-
* - Create a variable with the scope defined in the request body.
|
|
80485
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
80368
80486
|
* @summary Create a variable
|
|
80369
80487
|
* @param {VariableRequest} [variableRequest]
|
|
80370
80488
|
* @param {*} [options] Override http request option.
|
|
@@ -80472,7 +80590,7 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
|
|
|
80472
80590
|
const localVarFp = VariableMainCallsApiFp(configuration)
|
|
80473
80591
|
return {
|
|
80474
80592
|
/**
|
|
80475
|
-
* - Create a variable with the scope defined in the request body.
|
|
80593
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
80476
80594
|
* @summary Create a variable
|
|
80477
80595
|
* @param {VariableRequest} [variableRequest]
|
|
80478
80596
|
* @param {*} [options] Override http request option.
|
|
@@ -80559,7 +80677,7 @@ export const VariableMainCallsApiFactory = function (configuration?: Configurati
|
|
|
80559
80677
|
*/
|
|
80560
80678
|
export class VariableMainCallsApi extends BaseAPI {
|
|
80561
80679
|
/**
|
|
80562
|
-
* - Create a variable with the scope defined in the request body.
|
|
80680
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
80563
80681
|
* @summary Create a variable
|
|
80564
80682
|
* @param {VariableRequest} [variableRequest]
|
|
80565
80683
|
* @param {*} [options] Override http request option.
|
package/dist/api.d.ts
CHANGED
|
@@ -15219,6 +15219,73 @@ export interface EnvironmentVariableResponseList {
|
|
|
15219
15219
|
*/
|
|
15220
15220
|
'results'?: Array<EnvironmentVariable>;
|
|
15221
15221
|
}
|
|
15222
|
+
/**
|
|
15223
|
+
* The variable that blocks the creation. Its value is never returned.
|
|
15224
|
+
* @export
|
|
15225
|
+
* @interface ExistingVariableResponse
|
|
15226
|
+
*/
|
|
15227
|
+
export interface ExistingVariableResponse {
|
|
15228
|
+
/**
|
|
15229
|
+
*
|
|
15230
|
+
* @type {string}
|
|
15231
|
+
* @memberof ExistingVariableResponse
|
|
15232
|
+
*/
|
|
15233
|
+
'id': string;
|
|
15234
|
+
/**
|
|
15235
|
+
*
|
|
15236
|
+
* @type {string}
|
|
15237
|
+
* @memberof ExistingVariableResponse
|
|
15238
|
+
*/
|
|
15239
|
+
'key': string;
|
|
15240
|
+
/**
|
|
15241
|
+
*
|
|
15242
|
+
* @type {APIVariableScopeEnum}
|
|
15243
|
+
* @memberof ExistingVariableResponse
|
|
15244
|
+
*/
|
|
15245
|
+
'scope': APIVariableScopeEnum;
|
|
15246
|
+
/**
|
|
15247
|
+
*
|
|
15248
|
+
* @type {string}
|
|
15249
|
+
* @memberof ExistingVariableResponse
|
|
15250
|
+
*/
|
|
15251
|
+
'organization_id'?: string | null;
|
|
15252
|
+
/**
|
|
15253
|
+
*
|
|
15254
|
+
* @type {string}
|
|
15255
|
+
* @memberof ExistingVariableResponse
|
|
15256
|
+
*/
|
|
15257
|
+
'project_id'?: string | null;
|
|
15258
|
+
/**
|
|
15259
|
+
*
|
|
15260
|
+
* @type {string}
|
|
15261
|
+
* @memberof ExistingVariableResponse
|
|
15262
|
+
*/
|
|
15263
|
+
'environment_id'?: string | null;
|
|
15264
|
+
/**
|
|
15265
|
+
*
|
|
15266
|
+
* @type {string}
|
|
15267
|
+
* @memberof ExistingVariableResponse
|
|
15268
|
+
*/
|
|
15269
|
+
'service_id'?: string | null;
|
|
15270
|
+
/**
|
|
15271
|
+
*
|
|
15272
|
+
* @type {APIVariableTypeEnum}
|
|
15273
|
+
* @memberof ExistingVariableResponse
|
|
15274
|
+
*/
|
|
15275
|
+
'variable_type': APIVariableTypeEnum;
|
|
15276
|
+
/**
|
|
15277
|
+
*
|
|
15278
|
+
* @type {boolean}
|
|
15279
|
+
* @memberof ExistingVariableResponse
|
|
15280
|
+
*/
|
|
15281
|
+
'is_secret': boolean;
|
|
15282
|
+
/**
|
|
15283
|
+
*
|
|
15284
|
+
* @type {string}
|
|
15285
|
+
* @memberof ExistingVariableResponse
|
|
15286
|
+
*/
|
|
15287
|
+
'mount_path'?: string | null;
|
|
15288
|
+
}
|
|
15222
15289
|
/**
|
|
15223
15290
|
*
|
|
15224
15291
|
* @export
|
|
@@ -28541,6 +28608,49 @@ export interface VariableAliasRequest {
|
|
|
28541
28608
|
*/
|
|
28542
28609
|
'enable_interpolation_in_file'?: boolean | null;
|
|
28543
28610
|
}
|
|
28611
|
+
/**
|
|
28612
|
+
* Problem details returned when a variable with the same key already exists
|
|
28613
|
+
* @export
|
|
28614
|
+
* @interface VariableConflictResponse
|
|
28615
|
+
*/
|
|
28616
|
+
export interface VariableConflictResponse {
|
|
28617
|
+
/**
|
|
28618
|
+
*
|
|
28619
|
+
* @type {string}
|
|
28620
|
+
* @memberof VariableConflictResponse
|
|
28621
|
+
*/
|
|
28622
|
+
'type'?: string;
|
|
28623
|
+
/**
|
|
28624
|
+
*
|
|
28625
|
+
* @type {string}
|
|
28626
|
+
* @memberof VariableConflictResponse
|
|
28627
|
+
*/
|
|
28628
|
+
'title'?: string;
|
|
28629
|
+
/**
|
|
28630
|
+
*
|
|
28631
|
+
* @type {number}
|
|
28632
|
+
* @memberof VariableConflictResponse
|
|
28633
|
+
*/
|
|
28634
|
+
'status': number;
|
|
28635
|
+
/**
|
|
28636
|
+
* Says which scope holds the existing variable
|
|
28637
|
+
* @type {string}
|
|
28638
|
+
* @memberof VariableConflictResponse
|
|
28639
|
+
*/
|
|
28640
|
+
'detail': string;
|
|
28641
|
+
/**
|
|
28642
|
+
*
|
|
28643
|
+
* @type {string}
|
|
28644
|
+
* @memberof VariableConflictResponse
|
|
28645
|
+
*/
|
|
28646
|
+
'instance'?: string;
|
|
28647
|
+
/**
|
|
28648
|
+
*
|
|
28649
|
+
* @type {ExistingVariableResponse}
|
|
28650
|
+
* @memberof VariableConflictResponse
|
|
28651
|
+
*/
|
|
28652
|
+
'existing_variable'?: ExistingVariableResponse | null;
|
|
28653
|
+
}
|
|
28544
28654
|
/**
|
|
28545
28655
|
*
|
|
28546
28656
|
* @export
|
|
@@ -28818,6 +28928,12 @@ export interface VariableRequest {
|
|
|
28818
28928
|
* @memberof VariableRequest
|
|
28819
28929
|
*/
|
|
28820
28930
|
'secret_manager_access_id'?: string | null;
|
|
28931
|
+
/**
|
|
28932
|
+
* If true and a variable with the same key already exists at a higher scope (project or environment), an override of that variable is created instead of failing with 409. The override follows the usual rules: same secret kind, target must be a value or file variable, strictly lower scope. Defaults to false.
|
|
28933
|
+
* @type {boolean}
|
|
28934
|
+
* @memberof VariableRequest
|
|
28935
|
+
*/
|
|
28936
|
+
'override_if_exists'?: boolean | null;
|
|
28821
28937
|
}
|
|
28822
28938
|
/**
|
|
28823
28939
|
*
|
|
@@ -52158,7 +52274,7 @@ export declare class UserSignUpApi extends BaseAPI {
|
|
|
52158
52274
|
*/
|
|
52159
52275
|
export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
52160
52276
|
/**
|
|
52161
|
-
* - Create a variable with the scope defined in the request body.
|
|
52277
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52162
52278
|
* @summary Create a variable
|
|
52163
52279
|
* @param {VariableRequest} [variableRequest]
|
|
52164
52280
|
* @param {*} [options] Override http request option.
|
|
@@ -52227,7 +52343,7 @@ export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
52227
52343
|
*/
|
|
52228
52344
|
export declare const VariableMainCallsApiFp: (configuration?: Configuration) => {
|
|
52229
52345
|
/**
|
|
52230
|
-
* - Create a variable with the scope defined in the request body.
|
|
52346
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52231
52347
|
* @summary Create a variable
|
|
52232
52348
|
* @param {VariableRequest} [variableRequest]
|
|
52233
52349
|
* @param {*} [options] Override http request option.
|
|
@@ -52296,7 +52412,7 @@ export declare const VariableMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
52296
52412
|
*/
|
|
52297
52413
|
export declare const VariableMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52298
52414
|
/**
|
|
52299
|
-
* - Create a variable with the scope defined in the request body.
|
|
52415
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52300
52416
|
* @summary Create a variable
|
|
52301
52417
|
* @param {VariableRequest} [variableRequest]
|
|
52302
52418
|
* @param {*} [options] Override http request option.
|
|
@@ -52367,7 +52483,7 @@ export declare const VariableMainCallsApiFactory: (configuration?: Configuration
|
|
|
52367
52483
|
*/
|
|
52368
52484
|
export declare class VariableMainCallsApi extends BaseAPI {
|
|
52369
52485
|
/**
|
|
52370
|
-
* - Create a variable with the scope defined in the request body.
|
|
52486
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52371
52487
|
* @summary Create a variable
|
|
52372
52488
|
* @param {VariableRequest} [variableRequest]
|
|
52373
52489
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -48604,7 +48604,7 @@ exports.UserSignUpApi = UserSignUpApi;
|
|
|
48604
48604
|
const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
48605
48605
|
return {
|
|
48606
48606
|
/**
|
|
48607
|
-
* - Create a variable with the scope defined in the request body.
|
|
48607
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48608
48608
|
* @summary Create a variable
|
|
48609
48609
|
* @param {VariableRequest} [variableRequest]
|
|
48610
48610
|
* @param {*} [options] Override http request option.
|
|
@@ -48885,7 +48885,7 @@ const VariableMainCallsApiFp = function (configuration) {
|
|
|
48885
48885
|
const localVarAxiosParamCreator = (0, exports.VariableMainCallsApiAxiosParamCreator)(configuration);
|
|
48886
48886
|
return {
|
|
48887
48887
|
/**
|
|
48888
|
-
* - Create a variable with the scope defined in the request body.
|
|
48888
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48889
48889
|
* @summary Create a variable
|
|
48890
48890
|
* @param {VariableRequest} [variableRequest]
|
|
48891
48891
|
* @param {*} [options] Override http request option.
|
|
@@ -49014,7 +49014,7 @@ const VariableMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
49014
49014
|
const localVarFp = (0, exports.VariableMainCallsApiFp)(configuration);
|
|
49015
49015
|
return {
|
|
49016
49016
|
/**
|
|
49017
|
-
* - Create a variable with the scope defined in the request body.
|
|
49017
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
49018
49018
|
* @summary Create a variable
|
|
49019
49019
|
* @param {VariableRequest} [variableRequest]
|
|
49020
49020
|
* @param {*} [options] Override http request option.
|
|
@@ -49101,7 +49101,7 @@ exports.VariableMainCallsApiFactory = VariableMainCallsApiFactory;
|
|
|
49101
49101
|
*/
|
|
49102
49102
|
class VariableMainCallsApi extends base_1.BaseAPI {
|
|
49103
49103
|
/**
|
|
49104
|
-
* - Create a variable with the scope defined in the request body.
|
|
49104
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
49105
49105
|
* @summary Create a variable
|
|
49106
49106
|
* @param {VariableRequest} [variableRequest]
|
|
49107
49107
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -15219,6 +15219,73 @@ export interface EnvironmentVariableResponseList {
|
|
|
15219
15219
|
*/
|
|
15220
15220
|
'results'?: Array<EnvironmentVariable>;
|
|
15221
15221
|
}
|
|
15222
|
+
/**
|
|
15223
|
+
* The variable that blocks the creation. Its value is never returned.
|
|
15224
|
+
* @export
|
|
15225
|
+
* @interface ExistingVariableResponse
|
|
15226
|
+
*/
|
|
15227
|
+
export interface ExistingVariableResponse {
|
|
15228
|
+
/**
|
|
15229
|
+
*
|
|
15230
|
+
* @type {string}
|
|
15231
|
+
* @memberof ExistingVariableResponse
|
|
15232
|
+
*/
|
|
15233
|
+
'id': string;
|
|
15234
|
+
/**
|
|
15235
|
+
*
|
|
15236
|
+
* @type {string}
|
|
15237
|
+
* @memberof ExistingVariableResponse
|
|
15238
|
+
*/
|
|
15239
|
+
'key': string;
|
|
15240
|
+
/**
|
|
15241
|
+
*
|
|
15242
|
+
* @type {APIVariableScopeEnum}
|
|
15243
|
+
* @memberof ExistingVariableResponse
|
|
15244
|
+
*/
|
|
15245
|
+
'scope': APIVariableScopeEnum;
|
|
15246
|
+
/**
|
|
15247
|
+
*
|
|
15248
|
+
* @type {string}
|
|
15249
|
+
* @memberof ExistingVariableResponse
|
|
15250
|
+
*/
|
|
15251
|
+
'organization_id'?: string | null;
|
|
15252
|
+
/**
|
|
15253
|
+
*
|
|
15254
|
+
* @type {string}
|
|
15255
|
+
* @memberof ExistingVariableResponse
|
|
15256
|
+
*/
|
|
15257
|
+
'project_id'?: string | null;
|
|
15258
|
+
/**
|
|
15259
|
+
*
|
|
15260
|
+
* @type {string}
|
|
15261
|
+
* @memberof ExistingVariableResponse
|
|
15262
|
+
*/
|
|
15263
|
+
'environment_id'?: string | null;
|
|
15264
|
+
/**
|
|
15265
|
+
*
|
|
15266
|
+
* @type {string}
|
|
15267
|
+
* @memberof ExistingVariableResponse
|
|
15268
|
+
*/
|
|
15269
|
+
'service_id'?: string | null;
|
|
15270
|
+
/**
|
|
15271
|
+
*
|
|
15272
|
+
* @type {APIVariableTypeEnum}
|
|
15273
|
+
* @memberof ExistingVariableResponse
|
|
15274
|
+
*/
|
|
15275
|
+
'variable_type': APIVariableTypeEnum;
|
|
15276
|
+
/**
|
|
15277
|
+
*
|
|
15278
|
+
* @type {boolean}
|
|
15279
|
+
* @memberof ExistingVariableResponse
|
|
15280
|
+
*/
|
|
15281
|
+
'is_secret': boolean;
|
|
15282
|
+
/**
|
|
15283
|
+
*
|
|
15284
|
+
* @type {string}
|
|
15285
|
+
* @memberof ExistingVariableResponse
|
|
15286
|
+
*/
|
|
15287
|
+
'mount_path'?: string | null;
|
|
15288
|
+
}
|
|
15222
15289
|
/**
|
|
15223
15290
|
*
|
|
15224
15291
|
* @export
|
|
@@ -28541,6 +28608,49 @@ export interface VariableAliasRequest {
|
|
|
28541
28608
|
*/
|
|
28542
28609
|
'enable_interpolation_in_file'?: boolean | null;
|
|
28543
28610
|
}
|
|
28611
|
+
/**
|
|
28612
|
+
* Problem details returned when a variable with the same key already exists
|
|
28613
|
+
* @export
|
|
28614
|
+
* @interface VariableConflictResponse
|
|
28615
|
+
*/
|
|
28616
|
+
export interface VariableConflictResponse {
|
|
28617
|
+
/**
|
|
28618
|
+
*
|
|
28619
|
+
* @type {string}
|
|
28620
|
+
* @memberof VariableConflictResponse
|
|
28621
|
+
*/
|
|
28622
|
+
'type'?: string;
|
|
28623
|
+
/**
|
|
28624
|
+
*
|
|
28625
|
+
* @type {string}
|
|
28626
|
+
* @memberof VariableConflictResponse
|
|
28627
|
+
*/
|
|
28628
|
+
'title'?: string;
|
|
28629
|
+
/**
|
|
28630
|
+
*
|
|
28631
|
+
* @type {number}
|
|
28632
|
+
* @memberof VariableConflictResponse
|
|
28633
|
+
*/
|
|
28634
|
+
'status': number;
|
|
28635
|
+
/**
|
|
28636
|
+
* Says which scope holds the existing variable
|
|
28637
|
+
* @type {string}
|
|
28638
|
+
* @memberof VariableConflictResponse
|
|
28639
|
+
*/
|
|
28640
|
+
'detail': string;
|
|
28641
|
+
/**
|
|
28642
|
+
*
|
|
28643
|
+
* @type {string}
|
|
28644
|
+
* @memberof VariableConflictResponse
|
|
28645
|
+
*/
|
|
28646
|
+
'instance'?: string;
|
|
28647
|
+
/**
|
|
28648
|
+
*
|
|
28649
|
+
* @type {ExistingVariableResponse}
|
|
28650
|
+
* @memberof VariableConflictResponse
|
|
28651
|
+
*/
|
|
28652
|
+
'existing_variable'?: ExistingVariableResponse | null;
|
|
28653
|
+
}
|
|
28544
28654
|
/**
|
|
28545
28655
|
*
|
|
28546
28656
|
* @export
|
|
@@ -28818,6 +28928,12 @@ export interface VariableRequest {
|
|
|
28818
28928
|
* @memberof VariableRequest
|
|
28819
28929
|
*/
|
|
28820
28930
|
'secret_manager_access_id'?: string | null;
|
|
28931
|
+
/**
|
|
28932
|
+
* If true and a variable with the same key already exists at a higher scope (project or environment), an override of that variable is created instead of failing with 409. The override follows the usual rules: same secret kind, target must be a value or file variable, strictly lower scope. Defaults to false.
|
|
28933
|
+
* @type {boolean}
|
|
28934
|
+
* @memberof VariableRequest
|
|
28935
|
+
*/
|
|
28936
|
+
'override_if_exists'?: boolean | null;
|
|
28821
28937
|
}
|
|
28822
28938
|
/**
|
|
28823
28939
|
*
|
|
@@ -52158,7 +52274,7 @@ export declare class UserSignUpApi extends BaseAPI {
|
|
|
52158
52274
|
*/
|
|
52159
52275
|
export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
52160
52276
|
/**
|
|
52161
|
-
* - Create a variable with the scope defined in the request body.
|
|
52277
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52162
52278
|
* @summary Create a variable
|
|
52163
52279
|
* @param {VariableRequest} [variableRequest]
|
|
52164
52280
|
* @param {*} [options] Override http request option.
|
|
@@ -52227,7 +52343,7 @@ export declare const VariableMainCallsApiAxiosParamCreator: (configuration?: Con
|
|
|
52227
52343
|
*/
|
|
52228
52344
|
export declare const VariableMainCallsApiFp: (configuration?: Configuration) => {
|
|
52229
52345
|
/**
|
|
52230
|
-
* - Create a variable with the scope defined in the request body.
|
|
52346
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52231
52347
|
* @summary Create a variable
|
|
52232
52348
|
* @param {VariableRequest} [variableRequest]
|
|
52233
52349
|
* @param {*} [options] Override http request option.
|
|
@@ -52296,7 +52412,7 @@ export declare const VariableMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
52296
52412
|
*/
|
|
52297
52413
|
export declare const VariableMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52298
52414
|
/**
|
|
52299
|
-
* - Create a variable with the scope defined in the request body.
|
|
52415
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52300
52416
|
* @summary Create a variable
|
|
52301
52417
|
* @param {VariableRequest} [variableRequest]
|
|
52302
52418
|
* @param {*} [options] Override http request option.
|
|
@@ -52367,7 +52483,7 @@ export declare const VariableMainCallsApiFactory: (configuration?: Configuration
|
|
|
52367
52483
|
*/
|
|
52368
52484
|
export declare class VariableMainCallsApi extends BaseAPI {
|
|
52369
52485
|
/**
|
|
52370
|
-
* - Create a variable with the scope defined in the request body.
|
|
52486
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
52371
52487
|
* @summary Create a variable
|
|
52372
52488
|
* @param {VariableRequest} [variableRequest]
|
|
52373
52489
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -48181,7 +48181,7 @@ export class UserSignUpApi extends BaseAPI {
|
|
|
48181
48181
|
export const VariableMainCallsApiAxiosParamCreator = function (configuration) {
|
|
48182
48182
|
return {
|
|
48183
48183
|
/**
|
|
48184
|
-
* - Create a variable with the scope defined in the request body.
|
|
48184
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48185
48185
|
* @summary Create a variable
|
|
48186
48186
|
* @param {VariableRequest} [variableRequest]
|
|
48187
48187
|
* @param {*} [options] Override http request option.
|
|
@@ -48461,7 +48461,7 @@ export const VariableMainCallsApiFp = function (configuration) {
|
|
|
48461
48461
|
const localVarAxiosParamCreator = VariableMainCallsApiAxiosParamCreator(configuration);
|
|
48462
48462
|
return {
|
|
48463
48463
|
/**
|
|
48464
|
-
* - Create a variable with the scope defined in the request body.
|
|
48464
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48465
48465
|
* @summary Create a variable
|
|
48466
48466
|
* @param {VariableRequest} [variableRequest]
|
|
48467
48467
|
* @param {*} [options] Override http request option.
|
|
@@ -48589,7 +48589,7 @@ export const VariableMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
48589
48589
|
const localVarFp = VariableMainCallsApiFp(configuration);
|
|
48590
48590
|
return {
|
|
48591
48591
|
/**
|
|
48592
|
-
* - Create a variable with the scope defined in the request body.
|
|
48592
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48593
48593
|
* @summary Create a variable
|
|
48594
48594
|
* @param {VariableRequest} [variableRequest]
|
|
48595
48595
|
* @param {*} [options] Override http request option.
|
|
@@ -48675,7 +48675,7 @@ export const VariableMainCallsApiFactory = function (configuration, basePath, ax
|
|
|
48675
48675
|
*/
|
|
48676
48676
|
export class VariableMainCallsApi extends BaseAPI {
|
|
48677
48677
|
/**
|
|
48678
|
-
* - Create a variable with the scope defined in the request body.
|
|
48678
|
+
* - Create a variable with the scope defined in the request body. - If a variable with the same key already exists, the call fails with 409. When that variable is at a higher scope (project or environment), set `override_if_exists` to true to create an override of it instead.
|
|
48679
48679
|
* @summary Create a variable
|
|
48680
48680
|
* @param {VariableRequest} [variableRequest]
|
|
48681
48681
|
* @param {*} [options] Override http request option.
|