qovery-typescript-axios 1.1.419 → 1.1.421
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 +300 -329
- package/dist/api.d.ts +168 -327
- package/dist/api.js +222 -0
- package/dist/esm/api.d.ts +168 -327
- package/dist/esm/api.js +222 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1421,19 +1421,6 @@ export interface BaseJobResponseAllOfSourceOneOf1Docker {
|
|
|
1421
1421
|
*/
|
|
1422
1422
|
'git_repository'?: ApplicationGitRepository;
|
|
1423
1423
|
}
|
|
1424
|
-
/**
|
|
1425
|
-
*
|
|
1426
|
-
* @export
|
|
1427
|
-
* @interface BillingEnd
|
|
1428
|
-
*/
|
|
1429
|
-
export interface BillingEnd {
|
|
1430
|
-
/**
|
|
1431
|
-
*
|
|
1432
|
-
* @type {string}
|
|
1433
|
-
* @memberof BillingEnd
|
|
1434
|
-
*/
|
|
1435
|
-
'billing_ended_on'?: string;
|
|
1436
|
-
}
|
|
1437
1424
|
/**
|
|
1438
1425
|
*
|
|
1439
1426
|
* @export
|
|
@@ -1581,38 +1568,6 @@ export interface BillingInfoRequest {
|
|
|
1581
1568
|
*/
|
|
1582
1569
|
'vat_number'?: string;
|
|
1583
1570
|
}
|
|
1584
|
-
/**
|
|
1585
|
-
*
|
|
1586
|
-
* @export
|
|
1587
|
-
* @interface BillingPeriod
|
|
1588
|
-
*/
|
|
1589
|
-
export interface BillingPeriod {
|
|
1590
|
-
/**
|
|
1591
|
-
*
|
|
1592
|
-
* @type {string}
|
|
1593
|
-
* @memberof BillingPeriod
|
|
1594
|
-
*/
|
|
1595
|
-
'billing_started_on'?: string;
|
|
1596
|
-
/**
|
|
1597
|
-
*
|
|
1598
|
-
* @type {string}
|
|
1599
|
-
* @memberof BillingPeriod
|
|
1600
|
-
*/
|
|
1601
|
-
'billing_ended_on'?: string;
|
|
1602
|
-
}
|
|
1603
|
-
/**
|
|
1604
|
-
*
|
|
1605
|
-
* @export
|
|
1606
|
-
* @interface BillingStart
|
|
1607
|
-
*/
|
|
1608
|
-
export interface BillingStart {
|
|
1609
|
-
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof BillingStart
|
|
1613
|
-
*/
|
|
1614
|
-
'billing_started_on'?: string;
|
|
1615
|
-
}
|
|
1616
1571
|
/**
|
|
1617
1572
|
*
|
|
1618
1573
|
* @export
|
|
@@ -1657,31 +1612,6 @@ export interface Budget {
|
|
|
1657
1612
|
*/
|
|
1658
1613
|
'currency_code'?: string;
|
|
1659
1614
|
}
|
|
1660
|
-
/**
|
|
1661
|
-
*
|
|
1662
|
-
* @export
|
|
1663
|
-
* @interface BudgetThreshold
|
|
1664
|
-
*/
|
|
1665
|
-
export interface BudgetThreshold {
|
|
1666
|
-
/**
|
|
1667
|
-
*
|
|
1668
|
-
* @type {number}
|
|
1669
|
-
* @memberof BudgetThreshold
|
|
1670
|
-
*/
|
|
1671
|
-
'total_in_cents'?: number;
|
|
1672
|
-
/**
|
|
1673
|
-
*
|
|
1674
|
-
* @type {number}
|
|
1675
|
-
* @memberof BudgetThreshold
|
|
1676
|
-
*/
|
|
1677
|
-
'total'?: number;
|
|
1678
|
-
/**
|
|
1679
|
-
*
|
|
1680
|
-
* @type {string}
|
|
1681
|
-
* @memberof BudgetThreshold
|
|
1682
|
-
*/
|
|
1683
|
-
'currency_code'?: string;
|
|
1684
|
-
}
|
|
1685
1615
|
/**
|
|
1686
1616
|
* `DOCKER` requires `dockerfile_path` `BUILDPACKS` does not require any `dockerfile_path`
|
|
1687
1617
|
* @export
|
|
@@ -3330,31 +3260,6 @@ export interface Commit {
|
|
|
3330
3260
|
*/
|
|
3331
3261
|
'commit_page_url'?: string;
|
|
3332
3262
|
}
|
|
3333
|
-
/**
|
|
3334
|
-
*
|
|
3335
|
-
* @export
|
|
3336
|
-
* @interface CommitPaginatedResponseList
|
|
3337
|
-
*/
|
|
3338
|
-
export interface CommitPaginatedResponseList {
|
|
3339
|
-
/**
|
|
3340
|
-
*
|
|
3341
|
-
* @type {number}
|
|
3342
|
-
* @memberof CommitPaginatedResponseList
|
|
3343
|
-
*/
|
|
3344
|
-
'page': number;
|
|
3345
|
-
/**
|
|
3346
|
-
*
|
|
3347
|
-
* @type {number}
|
|
3348
|
-
* @memberof CommitPaginatedResponseList
|
|
3349
|
-
*/
|
|
3350
|
-
'page_size': number;
|
|
3351
|
-
/**
|
|
3352
|
-
*
|
|
3353
|
-
* @type {Array<Commit>}
|
|
3354
|
-
* @memberof CommitPaginatedResponseList
|
|
3355
|
-
*/
|
|
3356
|
-
'results'?: Array<Commit>;
|
|
3357
|
-
}
|
|
3358
3263
|
/**
|
|
3359
3264
|
*
|
|
3360
3265
|
* @export
|
|
@@ -3368,19 +3273,6 @@ export interface CommitResponseList {
|
|
|
3368
3273
|
*/
|
|
3369
3274
|
'results'?: Array<Commit>;
|
|
3370
3275
|
}
|
|
3371
|
-
/**
|
|
3372
|
-
*
|
|
3373
|
-
* @export
|
|
3374
|
-
* @interface CommunityUsage
|
|
3375
|
-
*/
|
|
3376
|
-
export interface CommunityUsage {
|
|
3377
|
-
/**
|
|
3378
|
-
*
|
|
3379
|
-
* @type {Array<ProjectCurrentCost>}
|
|
3380
|
-
* @memberof CommunityUsage
|
|
3381
|
-
*/
|
|
3382
|
-
'projects'?: Array<ProjectCurrentCost>;
|
|
3383
|
-
}
|
|
3384
3276
|
/**
|
|
3385
3277
|
*
|
|
3386
3278
|
* @export
|
|
@@ -3624,6 +3516,31 @@ export interface ContainerDeployRequest {
|
|
|
3624
3516
|
*/
|
|
3625
3517
|
'image_tag': string;
|
|
3626
3518
|
}
|
|
3519
|
+
/**
|
|
3520
|
+
*
|
|
3521
|
+
* @export
|
|
3522
|
+
* @interface ContainerImageCheckRequest
|
|
3523
|
+
*/
|
|
3524
|
+
export interface ContainerImageCheckRequest {
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @type {string}
|
|
3528
|
+
* @memberof ContainerImageCheckRequest
|
|
3529
|
+
*/
|
|
3530
|
+
'registry_id'?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
*
|
|
3533
|
+
* @type {string}
|
|
3534
|
+
* @memberof ContainerImageCheckRequest
|
|
3535
|
+
*/
|
|
3536
|
+
'image_name': string;
|
|
3537
|
+
/**
|
|
3538
|
+
*
|
|
3539
|
+
* @type {string}
|
|
3540
|
+
* @memberof ContainerImageCheckRequest
|
|
3541
|
+
*/
|
|
3542
|
+
'tag': string;
|
|
3543
|
+
}
|
|
3627
3544
|
/**
|
|
3628
3545
|
*
|
|
3629
3546
|
* @export
|
|
@@ -5838,19 +5755,6 @@ export interface DeploymentHistoryPaginatedResponseList {
|
|
|
5838
5755
|
*/
|
|
5839
5756
|
'results'?: Array<DeploymentHistory>;
|
|
5840
5757
|
}
|
|
5841
|
-
/**
|
|
5842
|
-
*
|
|
5843
|
-
* @export
|
|
5844
|
-
* @interface DeploymentHistoryResponseList
|
|
5845
|
-
*/
|
|
5846
|
-
export interface DeploymentHistoryResponseList {
|
|
5847
|
-
/**
|
|
5848
|
-
*
|
|
5849
|
-
* @type {Array<DeploymentHistory>}
|
|
5850
|
-
* @memberof DeploymentHistoryResponseList
|
|
5851
|
-
*/
|
|
5852
|
-
'results'?: Array<DeploymentHistory>;
|
|
5853
|
-
}
|
|
5854
5758
|
/**
|
|
5855
5759
|
*
|
|
5856
5760
|
* @export
|
|
@@ -5892,69 +5796,6 @@ export const DeploymentRestrictionTypeEnum = {
|
|
|
5892
5796
|
export type DeploymentRestrictionTypeEnum = typeof DeploymentRestrictionTypeEnum[keyof typeof DeploymentRestrictionTypeEnum];
|
|
5893
5797
|
|
|
5894
5798
|
|
|
5895
|
-
/**
|
|
5896
|
-
*
|
|
5897
|
-
* @export
|
|
5898
|
-
* @interface DeploymentRuleRequest
|
|
5899
|
-
*/
|
|
5900
|
-
export interface DeploymentRuleRequest {
|
|
5901
|
-
/**
|
|
5902
|
-
* name is case insensitive
|
|
5903
|
-
* @type {string}
|
|
5904
|
-
* @memberof DeploymentRuleRequest
|
|
5905
|
-
*/
|
|
5906
|
-
'name': string;
|
|
5907
|
-
/**
|
|
5908
|
-
*
|
|
5909
|
-
* @type {string}
|
|
5910
|
-
* @memberof DeploymentRuleRequest
|
|
5911
|
-
*/
|
|
5912
|
-
'description'?: string;
|
|
5913
|
-
/**
|
|
5914
|
-
*
|
|
5915
|
-
* @type {EnvironmentModeEnum}
|
|
5916
|
-
* @memberof DeploymentRuleRequest
|
|
5917
|
-
*/
|
|
5918
|
-
'mode': EnvironmentModeEnum;
|
|
5919
|
-
/**
|
|
5920
|
-
*
|
|
5921
|
-
* @type {string}
|
|
5922
|
-
* @memberof DeploymentRuleRequest
|
|
5923
|
-
*/
|
|
5924
|
-
'cluster': string;
|
|
5925
|
-
/**
|
|
5926
|
-
*
|
|
5927
|
-
* @type {boolean}
|
|
5928
|
-
* @memberof DeploymentRuleRequest
|
|
5929
|
-
*/
|
|
5930
|
-
'auto_stop': boolean;
|
|
5931
|
-
/**
|
|
5932
|
-
* specify value only if auto_stop = false
|
|
5933
|
-
* @type {string}
|
|
5934
|
-
* @memberof DeploymentRuleRequest
|
|
5935
|
-
*/
|
|
5936
|
-
'timezone'?: string;
|
|
5937
|
-
/**
|
|
5938
|
-
* specify value only if auto_stop = false
|
|
5939
|
-
* @type {string}
|
|
5940
|
-
* @memberof DeploymentRuleRequest
|
|
5941
|
-
*/
|
|
5942
|
-
'start_time'?: string | null;
|
|
5943
|
-
/**
|
|
5944
|
-
* specify value only if auto_stop = false
|
|
5945
|
-
* @type {string}
|
|
5946
|
-
* @memberof DeploymentRuleRequest
|
|
5947
|
-
*/
|
|
5948
|
-
'stop_time'?: string | null;
|
|
5949
|
-
/**
|
|
5950
|
-
* specify value only if auto_stop = false
|
|
5951
|
-
* @type {Array<WeekdayEnum>}
|
|
5952
|
-
* @memberof DeploymentRuleRequest
|
|
5953
|
-
*/
|
|
5954
|
-
'weekdays'?: Array<WeekdayEnum> | null;
|
|
5955
|
-
}
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
5799
|
/**
|
|
5959
5800
|
*
|
|
5960
5801
|
* @export
|
|
@@ -6122,37 +5963,6 @@ export interface DeploymentStageWithServicesStatuses {
|
|
|
6122
5963
|
*/
|
|
6123
5964
|
'stage'?: Stage;
|
|
6124
5965
|
}
|
|
6125
|
-
/**
|
|
6126
|
-
*
|
|
6127
|
-
* @export
|
|
6128
|
-
* @interface DoCredentialsRequest
|
|
6129
|
-
*/
|
|
6130
|
-
export interface DoCredentialsRequest {
|
|
6131
|
-
/**
|
|
6132
|
-
*
|
|
6133
|
-
* @type {string}
|
|
6134
|
-
* @memberof DoCredentialsRequest
|
|
6135
|
-
*/
|
|
6136
|
-
'name': string;
|
|
6137
|
-
/**
|
|
6138
|
-
*
|
|
6139
|
-
* @type {string}
|
|
6140
|
-
* @memberof DoCredentialsRequest
|
|
6141
|
-
*/
|
|
6142
|
-
'token'?: string;
|
|
6143
|
-
/**
|
|
6144
|
-
*
|
|
6145
|
-
* @type {string}
|
|
6146
|
-
* @memberof DoCredentialsRequest
|
|
6147
|
-
*/
|
|
6148
|
-
'spaces_access_id'?: string;
|
|
6149
|
-
/**
|
|
6150
|
-
*
|
|
6151
|
-
* @type {string}
|
|
6152
|
-
* @memberof DoCredentialsRequest
|
|
6153
|
-
*/
|
|
6154
|
-
'spaces_secret_key'?: string;
|
|
6155
|
-
}
|
|
6156
5966
|
/**
|
|
6157
5967
|
*
|
|
6158
5968
|
* @export
|
|
@@ -6505,31 +6315,6 @@ export interface EnvironmentLog {
|
|
|
6505
6315
|
}
|
|
6506
6316
|
|
|
6507
6317
|
|
|
6508
|
-
/**
|
|
6509
|
-
*
|
|
6510
|
-
* @export
|
|
6511
|
-
* @interface EnvironmentLogPaginatedResponseList
|
|
6512
|
-
*/
|
|
6513
|
-
export interface EnvironmentLogPaginatedResponseList {
|
|
6514
|
-
/**
|
|
6515
|
-
*
|
|
6516
|
-
* @type {number}
|
|
6517
|
-
* @memberof EnvironmentLogPaginatedResponseList
|
|
6518
|
-
*/
|
|
6519
|
-
'page': number;
|
|
6520
|
-
/**
|
|
6521
|
-
*
|
|
6522
|
-
* @type {number}
|
|
6523
|
-
* @memberof EnvironmentLogPaginatedResponseList
|
|
6524
|
-
*/
|
|
6525
|
-
'page_size': number;
|
|
6526
|
-
/**
|
|
6527
|
-
*
|
|
6528
|
-
* @type {Array<EnvironmentLog>}
|
|
6529
|
-
* @memberof EnvironmentLogPaginatedResponseList
|
|
6530
|
-
*/
|
|
6531
|
-
'results'?: Array<EnvironmentLog>;
|
|
6532
|
-
}
|
|
6533
6318
|
/**
|
|
6534
6319
|
*
|
|
6535
6320
|
* @export
|
|
@@ -7379,6 +7164,25 @@ export interface GitAuthProviderResponseList {
|
|
|
7379
7164
|
*/
|
|
7380
7165
|
'results'?: Array<GitAuthProvider>;
|
|
7381
7166
|
}
|
|
7167
|
+
/**
|
|
7168
|
+
*
|
|
7169
|
+
* @export
|
|
7170
|
+
* @interface GitFileCheckRequest
|
|
7171
|
+
*/
|
|
7172
|
+
export interface GitFileCheckRequest {
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {HelmGitRepositoryRequest}
|
|
7176
|
+
* @memberof GitFileCheckRequest
|
|
7177
|
+
*/
|
|
7178
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @type {Array<string>}
|
|
7182
|
+
* @memberof GitFileCheckRequest
|
|
7183
|
+
*/
|
|
7184
|
+
'files': Array<string>;
|
|
7185
|
+
}
|
|
7382
7186
|
/**
|
|
7383
7187
|
*
|
|
7384
7188
|
* @export
|
|
@@ -7823,6 +7627,19 @@ export interface HelmAdvancedSettings {
|
|
|
7823
7627
|
*/
|
|
7824
7628
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
7825
7629
|
}
|
|
7630
|
+
/**
|
|
7631
|
+
*
|
|
7632
|
+
* @export
|
|
7633
|
+
* @interface HelmCheckRequest
|
|
7634
|
+
*/
|
|
7635
|
+
export interface HelmCheckRequest {
|
|
7636
|
+
/**
|
|
7637
|
+
*
|
|
7638
|
+
* @type {HelmGitRepositoryRequest}
|
|
7639
|
+
* @memberof HelmCheckRequest
|
|
7640
|
+
*/
|
|
7641
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7642
|
+
}
|
|
7826
7643
|
/**
|
|
7827
7644
|
*
|
|
7828
7645
|
* @export
|
|
@@ -10018,31 +9835,6 @@ export interface Log {
|
|
|
10018
9835
|
*/
|
|
10019
9836
|
'version'?: string;
|
|
10020
9837
|
}
|
|
10021
|
-
/**
|
|
10022
|
-
*
|
|
10023
|
-
* @export
|
|
10024
|
-
* @interface LogPaginatedResponseList
|
|
10025
|
-
*/
|
|
10026
|
-
export interface LogPaginatedResponseList {
|
|
10027
|
-
/**
|
|
10028
|
-
*
|
|
10029
|
-
* @type {number}
|
|
10030
|
-
* @memberof LogPaginatedResponseList
|
|
10031
|
-
*/
|
|
10032
|
-
'page': number;
|
|
10033
|
-
/**
|
|
10034
|
-
*
|
|
10035
|
-
* @type {number}
|
|
10036
|
-
* @memberof LogPaginatedResponseList
|
|
10037
|
-
*/
|
|
10038
|
-
'page_size': number;
|
|
10039
|
-
/**
|
|
10040
|
-
*
|
|
10041
|
-
* @type {Array<Log>}
|
|
10042
|
-
* @memberof LogPaginatedResponseList
|
|
10043
|
-
*/
|
|
10044
|
-
'results'?: Array<Log>;
|
|
10045
|
-
}
|
|
10046
9838
|
/**
|
|
10047
9839
|
*
|
|
10048
9840
|
* @export
|
|
@@ -10215,19 +10007,6 @@ export interface MemberRoleUpdateRequest {
|
|
|
10215
10007
|
*/
|
|
10216
10008
|
'role_id': string;
|
|
10217
10009
|
}
|
|
10218
|
-
/**
|
|
10219
|
-
*
|
|
10220
|
-
* @export
|
|
10221
|
-
* @interface Name
|
|
10222
|
-
*/
|
|
10223
|
-
export interface Name {
|
|
10224
|
-
/**
|
|
10225
|
-
*
|
|
10226
|
-
* @type {string}
|
|
10227
|
-
* @memberof Name
|
|
10228
|
-
*/
|
|
10229
|
-
'name': string;
|
|
10230
|
-
}
|
|
10231
10010
|
/**
|
|
10232
10011
|
*
|
|
10233
10012
|
* @export
|
|
@@ -12638,31 +12417,6 @@ export const RegistryMirroringModeEnum = {
|
|
|
12638
12417
|
export type RegistryMirroringModeEnum = typeof RegistryMirroringModeEnum[keyof typeof RegistryMirroringModeEnum];
|
|
12639
12418
|
|
|
12640
12419
|
|
|
12641
|
-
/**
|
|
12642
|
-
*
|
|
12643
|
-
* @export
|
|
12644
|
-
* @interface RemainingCredits
|
|
12645
|
-
*/
|
|
12646
|
-
export interface RemainingCredits {
|
|
12647
|
-
/**
|
|
12648
|
-
*
|
|
12649
|
-
* @type {number}
|
|
12650
|
-
* @memberof RemainingCredits
|
|
12651
|
-
*/
|
|
12652
|
-
'total_in_cents': number;
|
|
12653
|
-
/**
|
|
12654
|
-
*
|
|
12655
|
-
* @type {number}
|
|
12656
|
-
* @memberof RemainingCredits
|
|
12657
|
-
*/
|
|
12658
|
-
'total': number;
|
|
12659
|
-
/**
|
|
12660
|
-
*
|
|
12661
|
-
* @type {string}
|
|
12662
|
-
* @memberof RemainingCredits
|
|
12663
|
-
*/
|
|
12664
|
-
'currency_code': string;
|
|
12665
|
-
}
|
|
12666
12420
|
/**
|
|
12667
12421
|
*
|
|
12668
12422
|
* @export
|
|
@@ -13173,19 +12927,6 @@ export interface ServicePortRequestPortsInner {
|
|
|
13173
12927
|
}
|
|
13174
12928
|
|
|
13175
12929
|
|
|
13176
|
-
/**
|
|
13177
|
-
*
|
|
13178
|
-
* @export
|
|
13179
|
-
* @interface ServiceResponseList
|
|
13180
|
-
*/
|
|
13181
|
-
export interface ServiceResponseList {
|
|
13182
|
-
/**
|
|
13183
|
-
*
|
|
13184
|
-
* @type {Array<Service>}
|
|
13185
|
-
* @memberof ServiceResponseList
|
|
13186
|
-
*/
|
|
13187
|
-
'results'?: Array<Service>;
|
|
13188
|
-
}
|
|
13189
12930
|
/**
|
|
13190
12931
|
*
|
|
13191
12932
|
* @export
|
|
@@ -13836,19 +13577,6 @@ export const TypeOfUseEnum = {
|
|
|
13836
13577
|
export type TypeOfUseEnum = typeof TypeOfUseEnum[keyof typeof TypeOfUseEnum];
|
|
13837
13578
|
|
|
13838
13579
|
|
|
13839
|
-
/**
|
|
13840
|
-
*
|
|
13841
|
-
* @export
|
|
13842
|
-
* @interface UnexpectedError
|
|
13843
|
-
*/
|
|
13844
|
-
export interface UnexpectedError {
|
|
13845
|
-
/**
|
|
13846
|
-
*
|
|
13847
|
-
* @type {string}
|
|
13848
|
-
* @memberof UnexpectedError
|
|
13849
|
-
*/
|
|
13850
|
-
'message': string;
|
|
13851
|
-
}
|
|
13852
13580
|
/**
|
|
13853
13581
|
*
|
|
13854
13582
|
* @export
|
|
@@ -31259,6 +30987,51 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
31259
30987
|
*/
|
|
31260
30988
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31261
30989
|
return {
|
|
30990
|
+
/**
|
|
30991
|
+
*
|
|
30992
|
+
* @summary Check container image configuration is correct
|
|
30993
|
+
* @param {string} environmentId Environment ID
|
|
30994
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
30995
|
+
* @param {*} [options] Override http request option.
|
|
30996
|
+
* @throws {RequiredError}
|
|
30997
|
+
*/
|
|
30998
|
+
checkContainerImage: async (environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30999
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31000
|
+
assertParamExists('checkContainerImage', 'environmentId', environmentId)
|
|
31001
|
+
const localVarPath = `/environment/{environmentId}/checkContainerImage`
|
|
31002
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31003
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31004
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31005
|
+
let baseOptions;
|
|
31006
|
+
if (configuration) {
|
|
31007
|
+
baseOptions = configuration.baseOptions;
|
|
31008
|
+
}
|
|
31009
|
+
|
|
31010
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31011
|
+
const localVarHeaderParameter = {} as any;
|
|
31012
|
+
const localVarQueryParameter = {} as any;
|
|
31013
|
+
|
|
31014
|
+
// authentication ApiKeyAuth required
|
|
31015
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31016
|
+
|
|
31017
|
+
// authentication bearerAuth required
|
|
31018
|
+
// http bearer authentication required
|
|
31019
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31020
|
+
|
|
31021
|
+
|
|
31022
|
+
|
|
31023
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31024
|
+
|
|
31025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31027
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31028
|
+
localVarRequestOptions.data = serializeDataIfNeeded(containerImageCheckRequest, localVarRequestOptions, configuration)
|
|
31029
|
+
|
|
31030
|
+
return {
|
|
31031
|
+
url: toPathString(localVarUrlObj),
|
|
31032
|
+
options: localVarRequestOptions,
|
|
31033
|
+
};
|
|
31034
|
+
},
|
|
31262
31035
|
/**
|
|
31263
31036
|
*
|
|
31264
31037
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31304,6 +31077,96 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
31304
31077
|
options: localVarRequestOptions,
|
|
31305
31078
|
};
|
|
31306
31079
|
},
|
|
31080
|
+
/**
|
|
31081
|
+
*
|
|
31082
|
+
* @summary Check git file configuration is correct
|
|
31083
|
+
* @param {string} environmentId Environment ID
|
|
31084
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31085
|
+
* @param {*} [options] Override http request option.
|
|
31086
|
+
* @throws {RequiredError}
|
|
31087
|
+
*/
|
|
31088
|
+
checkGitFile: async (environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31089
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31090
|
+
assertParamExists('checkGitFile', 'environmentId', environmentId)
|
|
31091
|
+
const localVarPath = `/environment/{environmentId}/checkGitFile`
|
|
31092
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31093
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31094
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31095
|
+
let baseOptions;
|
|
31096
|
+
if (configuration) {
|
|
31097
|
+
baseOptions = configuration.baseOptions;
|
|
31098
|
+
}
|
|
31099
|
+
|
|
31100
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31101
|
+
const localVarHeaderParameter = {} as any;
|
|
31102
|
+
const localVarQueryParameter = {} as any;
|
|
31103
|
+
|
|
31104
|
+
// authentication ApiKeyAuth required
|
|
31105
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31106
|
+
|
|
31107
|
+
// authentication bearerAuth required
|
|
31108
|
+
// http bearer authentication required
|
|
31109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31110
|
+
|
|
31111
|
+
|
|
31112
|
+
|
|
31113
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31114
|
+
|
|
31115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31118
|
+
localVarRequestOptions.data = serializeDataIfNeeded(gitFileCheckRequest, localVarRequestOptions, configuration)
|
|
31119
|
+
|
|
31120
|
+
return {
|
|
31121
|
+
url: toPathString(localVarUrlObj),
|
|
31122
|
+
options: localVarRequestOptions,
|
|
31123
|
+
};
|
|
31124
|
+
},
|
|
31125
|
+
/**
|
|
31126
|
+
*
|
|
31127
|
+
* @summary Check helm repository configuration is correct
|
|
31128
|
+
* @param {string} environmentId Environment ID
|
|
31129
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31130
|
+
* @param {*} [options] Override http request option.
|
|
31131
|
+
* @throws {RequiredError}
|
|
31132
|
+
*/
|
|
31133
|
+
checkHelmRepository: async (environmentId: string, helmCheckRequest?: HelmCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31134
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31135
|
+
assertParamExists('checkHelmRepository', 'environmentId', environmentId)
|
|
31136
|
+
const localVarPath = `/environment/{environmentId}/checkHelmRepository`
|
|
31137
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31138
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31139
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31140
|
+
let baseOptions;
|
|
31141
|
+
if (configuration) {
|
|
31142
|
+
baseOptions = configuration.baseOptions;
|
|
31143
|
+
}
|
|
31144
|
+
|
|
31145
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31146
|
+
const localVarHeaderParameter = {} as any;
|
|
31147
|
+
const localVarQueryParameter = {} as any;
|
|
31148
|
+
|
|
31149
|
+
// authentication ApiKeyAuth required
|
|
31150
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31151
|
+
|
|
31152
|
+
// authentication bearerAuth required
|
|
31153
|
+
// http bearer authentication required
|
|
31154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31155
|
+
|
|
31156
|
+
|
|
31157
|
+
|
|
31158
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31159
|
+
|
|
31160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31162
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31163
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
31164
|
+
|
|
31165
|
+
return {
|
|
31166
|
+
url: toPathString(localVarUrlObj),
|
|
31167
|
+
options: localVarRequestOptions,
|
|
31168
|
+
};
|
|
31169
|
+
},
|
|
31307
31170
|
/**
|
|
31308
31171
|
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31309
31172
|
* @summary Deploy applications
|
|
@@ -31359,6 +31222,18 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
31359
31222
|
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
31360
31223
|
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
31361
31224
|
return {
|
|
31225
|
+
/**
|
|
31226
|
+
*
|
|
31227
|
+
* @summary Check container image configuration is correct
|
|
31228
|
+
* @param {string} environmentId Environment ID
|
|
31229
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31230
|
+
* @param {*} [options] Override http request option.
|
|
31231
|
+
* @throws {RequiredError}
|
|
31232
|
+
*/
|
|
31233
|
+
async checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkContainerImage(environmentId, containerImageCheckRequest, options);
|
|
31235
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31236
|
+
},
|
|
31362
31237
|
/**
|
|
31363
31238
|
*
|
|
31364
31239
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31371,6 +31246,30 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31371
31246
|
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDockerfile(environmentId, dockerfileCheckRequest, options);
|
|
31372
31247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31373
31248
|
},
|
|
31249
|
+
/**
|
|
31250
|
+
*
|
|
31251
|
+
* @summary Check git file configuration is correct
|
|
31252
|
+
* @param {string} environmentId Environment ID
|
|
31253
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31254
|
+
* @param {*} [options] Override http request option.
|
|
31255
|
+
* @throws {RequiredError}
|
|
31256
|
+
*/
|
|
31257
|
+
async checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkGitFile(environmentId, gitFileCheckRequest, options);
|
|
31259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31260
|
+
},
|
|
31261
|
+
/**
|
|
31262
|
+
*
|
|
31263
|
+
* @summary Check helm repository configuration is correct
|
|
31264
|
+
* @param {string} environmentId Environment ID
|
|
31265
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31266
|
+
* @param {*} [options] Override http request option.
|
|
31267
|
+
* @throws {RequiredError}
|
|
31268
|
+
*/
|
|
31269
|
+
async checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmRepository(environmentId, helmCheckRequest, options);
|
|
31271
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31272
|
+
},
|
|
31374
31273
|
/**
|
|
31375
31274
|
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31376
31275
|
* @summary Deploy applications
|
|
@@ -31393,6 +31292,17 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31393
31292
|
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31394
31293
|
const localVarFp = EnvironmentApiFp(configuration)
|
|
31395
31294
|
return {
|
|
31295
|
+
/**
|
|
31296
|
+
*
|
|
31297
|
+
* @summary Check container image configuration is correct
|
|
31298
|
+
* @param {string} environmentId Environment ID
|
|
31299
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31300
|
+
* @param {*} [options] Override http request option.
|
|
31301
|
+
* @throws {RequiredError}
|
|
31302
|
+
*/
|
|
31303
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: any): AxiosPromise<object> {
|
|
31304
|
+
return localVarFp.checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(axios, basePath));
|
|
31305
|
+
},
|
|
31396
31306
|
/**
|
|
31397
31307
|
*
|
|
31398
31308
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31404,6 +31314,28 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31404
31314
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse> {
|
|
31405
31315
|
return localVarFp.checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31406
31316
|
},
|
|
31317
|
+
/**
|
|
31318
|
+
*
|
|
31319
|
+
* @summary Check git file configuration is correct
|
|
31320
|
+
* @param {string} environmentId Environment ID
|
|
31321
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31322
|
+
* @param {*} [options] Override http request option.
|
|
31323
|
+
* @throws {RequiredError}
|
|
31324
|
+
*/
|
|
31325
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: any): AxiosPromise<object> {
|
|
31326
|
+
return localVarFp.checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31327
|
+
},
|
|
31328
|
+
/**
|
|
31329
|
+
*
|
|
31330
|
+
* @summary Check helm repository configuration is correct
|
|
31331
|
+
* @param {string} environmentId Environment ID
|
|
31332
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31333
|
+
* @param {*} [options] Override http request option.
|
|
31334
|
+
* @throws {RequiredError}
|
|
31335
|
+
*/
|
|
31336
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object> {
|
|
31337
|
+
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
31338
|
+
},
|
|
31407
31339
|
/**
|
|
31408
31340
|
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31409
31341
|
* @summary Deploy applications
|
|
@@ -31425,6 +31357,19 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31425
31357
|
* @extends {BaseAPI}
|
|
31426
31358
|
*/
|
|
31427
31359
|
export class EnvironmentApi extends BaseAPI {
|
|
31360
|
+
/**
|
|
31361
|
+
*
|
|
31362
|
+
* @summary Check container image configuration is correct
|
|
31363
|
+
* @param {string} environmentId Environment ID
|
|
31364
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31365
|
+
* @param {*} [options] Override http request option.
|
|
31366
|
+
* @throws {RequiredError}
|
|
31367
|
+
* @memberof EnvironmentApi
|
|
31368
|
+
*/
|
|
31369
|
+
public checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig) {
|
|
31370
|
+
return EnvironmentApiFp(this.configuration).checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31371
|
+
}
|
|
31372
|
+
|
|
31428
31373
|
/**
|
|
31429
31374
|
*
|
|
31430
31375
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31438,6 +31383,32 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
31438
31383
|
return EnvironmentApiFp(this.configuration).checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31439
31384
|
}
|
|
31440
31385
|
|
|
31386
|
+
/**
|
|
31387
|
+
*
|
|
31388
|
+
* @summary Check git file configuration is correct
|
|
31389
|
+
* @param {string} environmentId Environment ID
|
|
31390
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31391
|
+
* @param {*} [options] Override http request option.
|
|
31392
|
+
* @throws {RequiredError}
|
|
31393
|
+
* @memberof EnvironmentApi
|
|
31394
|
+
*/
|
|
31395
|
+
public checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig) {
|
|
31396
|
+
return EnvironmentApiFp(this.configuration).checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31397
|
+
}
|
|
31398
|
+
|
|
31399
|
+
/**
|
|
31400
|
+
*
|
|
31401
|
+
* @summary Check helm repository configuration is correct
|
|
31402
|
+
* @param {string} environmentId Environment ID
|
|
31403
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31404
|
+
* @param {*} [options] Override http request option.
|
|
31405
|
+
* @throws {RequiredError}
|
|
31406
|
+
* @memberof EnvironmentApi
|
|
31407
|
+
*/
|
|
31408
|
+
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) {
|
|
31409
|
+
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31410
|
+
}
|
|
31411
|
+
|
|
31441
31412
|
/**
|
|
31442
31413
|
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
31443
31414
|
* @summary Deploy applications
|