qovery-typescript-axios 1.1.12 → 1.1.15

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.
Files changed (4) hide show
  1. package/api.ts +891 -875
  2. package/dist/api.d.ts +729 -708
  3. package/dist/api.js +332 -351
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -21,6 +21,20 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
 
24
+ /**
25
+ *
26
+ * @export
27
+ * @enum {string}
28
+ */
29
+
30
+ export enum APIVariableScopeEnum {
31
+ APPLICATION = 'APPLICATION',
32
+ BUILT_IN = 'BUILT_IN',
33
+ ENVIRONMENT = 'ENVIRONMENT',
34
+ PROJECT = 'PROJECT',
35
+ CONTAINER = 'CONTAINER'
36
+ }
37
+
24
38
  /**
25
39
  *
26
40
  * @export
@@ -89,31 +103,6 @@ export interface AccountInfoEditRequest {
89
103
  */
90
104
  'profile_picture_url'?: string;
91
105
  }
92
- /**
93
- *
94
- * @export
95
- * @interface AliasedSecret
96
- */
97
- export interface AliasedSecret {
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof AliasedSecret
102
- */
103
- 'id'?: string;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof AliasedSecret
108
- */
109
- 'key'?: string;
110
- /**
111
- *
112
- * @type {EnvironmentVariableScopeEnum}
113
- * @memberof AliasedSecret
114
- */
115
- 'scope'?: EnvironmentVariableScopeEnum;
116
- }
117
106
  /**
118
107
  *
119
108
  * @export
@@ -140,16 +129,10 @@ export interface Application {
140
129
  'updated_at'?: string;
141
130
  /**
142
131
  *
143
- * @type {Array<ApplicationStorageStorage>}
144
- * @memberof Application
145
- */
146
- 'storage'?: Array<ApplicationStorageStorage>;
147
- /**
148
- *
149
- * @type {Array<ServicePortPorts>}
132
+ * @type {Array<ServiceStorageStorage>}
150
133
  * @memberof Application
151
134
  */
152
- 'ports'?: Array<ServicePortPorts>;
135
+ 'storage'?: Array<ServiceStorageStorage>;
153
136
  /**
154
137
  *
155
138
  * @type {ReferenceObject}
@@ -240,6 +223,12 @@ export interface Application {
240
223
  * @memberof Application
241
224
  */
242
225
  'auto_preview'?: boolean;
226
+ /**
227
+ *
228
+ * @type {ServicePortResponseList}
229
+ * @memberof Application
230
+ */
231
+ 'ports'?: ServicePortResponseList;
243
232
  }
244
233
  /**
245
234
  *
@@ -302,6 +291,12 @@ export interface ApplicationAdvancedSettings {
302
291
  * @memberof ApplicationAdvancedSettings
303
292
  */
304
293
  'network.ingress.proxy_buffer_size_kb'?: number;
294
+ /**
295
+ * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
296
+ * @type {string}
297
+ * @memberof ApplicationAdvancedSettings
298
+ */
299
+ 'network.ingress.whitelist_source_range'?: string;
305
300
  /**
306
301
  * `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
307
302
  * @type {string}
@@ -509,6 +504,12 @@ export interface ApplicationAllOf {
509
504
  * @memberof ApplicationAllOf
510
505
  */
511
506
  'auto_preview'?: boolean;
507
+ /**
508
+ *
509
+ * @type {ServicePortResponseList}
510
+ * @memberof ApplicationAllOf
511
+ */
512
+ 'ports'?: ServicePortResponseList;
512
513
  }
513
514
  /**
514
515
  *
@@ -654,16 +655,16 @@ export interface ApplicationDeploymentRestrictionResponseList {
654
655
  export interface ApplicationEditRequest {
655
656
  /**
656
657
  *
657
- * @type {Array<ApplicationStorageStorage>}
658
+ * @type {Array<ServiceStorageRequestStorage>}
658
659
  * @memberof ApplicationEditRequest
659
660
  */
660
- 'storage'?: Array<ApplicationStorageStorage>;
661
+ 'storage'?: Array<ServiceStorageRequestStorage>;
661
662
  /**
662
663
  *
663
- * @type {Array<ServicePortPorts>}
664
+ * @type {Array<ServicePortRequestPorts>}
664
665
  * @memberof ApplicationEditRequest
665
666
  */
666
- 'ports'?: Array<ServicePortPorts>;
667
+ 'ports'?: Array<ServicePortRequestPorts>;
667
668
  /**
668
669
  * name is case insensitive
669
670
  * @type {string}
@@ -1135,50 +1136,6 @@ export interface ApplicationResponseList {
1135
1136
  */
1136
1137
  'results'?: Array<Application>;
1137
1138
  }
1138
- /**
1139
- *
1140
- * @export
1141
- * @interface ApplicationStorage
1142
- */
1143
- export interface ApplicationStorage {
1144
- /**
1145
- *
1146
- * @type {Array<ApplicationStorageStorage>}
1147
- * @memberof ApplicationStorage
1148
- */
1149
- 'storage'?: Array<ApplicationStorageStorage>;
1150
- }
1151
- /**
1152
- *
1153
- * @export
1154
- * @interface ApplicationStorageStorage
1155
- */
1156
- export interface ApplicationStorageStorage {
1157
- /**
1158
- *
1159
- * @type {string}
1160
- * @memberof ApplicationStorageStorage
1161
- */
1162
- 'id'?: string;
1163
- /**
1164
- *
1165
- * @type {StorageTypeEnum}
1166
- * @memberof ApplicationStorageStorage
1167
- */
1168
- 'type': StorageTypeEnum;
1169
- /**
1170
- * unit is GB
1171
- * @type {number}
1172
- * @memberof ApplicationStorageStorage
1173
- */
1174
- 'size': number;
1175
- /**
1176
- *
1177
- * @type {string}
1178
- * @memberof ApplicationStorageStorage
1179
- */
1180
- 'mount_point': string;
1181
- }
1182
1139
  /**
1183
1140
  *
1184
1141
  * @export
@@ -1721,31 +1678,6 @@ export interface CloudProviderResponseList {
1721
1678
  */
1722
1679
  'results'?: Array<CloudProvider>;
1723
1680
  }
1724
- /**
1725
- *
1726
- * @export
1727
- * @interface CluserCredentials
1728
- */
1729
- export interface CluserCredentials {
1730
- /**
1731
- *
1732
- * @type {string}
1733
- * @memberof CluserCredentials
1734
- */
1735
- 'name': string;
1736
- /**
1737
- *
1738
- * @type {string}
1739
- * @memberof CluserCredentials
1740
- */
1741
- 'access_key_id'?: string;
1742
- /**
1743
- *
1744
- * @type {string}
1745
- * @memberof CluserCredentials
1746
- */
1747
- 'secret_access_key'?: string;
1748
- }
1749
1681
  /**
1750
1682
  *
1751
1683
  * @export
@@ -1885,6 +1817,38 @@ export interface Cluster {
1885
1817
  */
1886
1818
  'features'?: Array<ClusterFeature>;
1887
1819
  }
1820
+ /**
1821
+ *
1822
+ * @export
1823
+ * @interface ClusterAdvancedSettings
1824
+ */
1825
+ export interface ClusterAdvancedSettings {
1826
+ /**
1827
+ * Configure the number of seconds before cleaning images in the registry
1828
+ * @type {number}
1829
+ * @memberof ClusterAdvancedSettings
1830
+ */
1831
+ 'registry.image_retention_time'?: number;
1832
+ /**
1833
+ * Select the size of the main load_balancer (only effective for Scaleway)
1834
+ * @type {string}
1835
+ * @memberof ClusterAdvancedSettings
1836
+ */
1837
+ 'load_balancer.size'?: string;
1838
+ /**
1839
+ *
1840
+ * @type {number}
1841
+ * @memberof ClusterAdvancedSettings
1842
+ * @deprecated
1843
+ */
1844
+ 'pleco.resources_ttl'?: number;
1845
+ /**
1846
+ * For how long in week loki is going to keep logs of your applications
1847
+ * @type {number}
1848
+ * @memberof ClusterAdvancedSettings
1849
+ */
1850
+ 'loki.log_retention_in_week'?: number;
1851
+ }
1888
1852
  /**
1889
1853
  *
1890
1854
  * @export
@@ -2086,13 +2050,13 @@ export interface ClusterCredentials {
2086
2050
  * @type {string}
2087
2051
  * @memberof ClusterCredentials
2088
2052
  */
2089
- 'id'?: string;
2053
+ 'id': string;
2090
2054
  /**
2091
2055
  *
2092
2056
  * @type {string}
2093
2057
  * @memberof ClusterCredentials
2094
2058
  */
2095
- 'name'?: string;
2059
+ 'name': string;
2096
2060
  }
2097
2061
  /**
2098
2062
  *
@@ -2600,10 +2564,10 @@ export interface ClusterRequestFeatures {
2600
2564
  'id'?: string;
2601
2565
  /**
2602
2566
  *
2603
- * @type {string}
2567
+ * @type {string | boolean}
2604
2568
  * @memberof ClusterRequestFeatures
2605
2569
  */
2606
- 'value'?: string | null;
2570
+ 'value'?: string | boolean | null;
2607
2571
  }
2608
2572
  /**
2609
2573
  *
@@ -2938,6 +2902,12 @@ export interface ContainerAdvancedSettings {
2938
2902
  * @memberof ContainerAdvancedSettings
2939
2903
  */
2940
2904
  'network.ingress.proxy_buffer_size_kb'?: number;
2905
+ /**
2906
+ * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
2907
+ * @type {string}
2908
+ * @memberof ContainerAdvancedSettings
2909
+ */
2910
+ 'network.ingress.whitelist_source_range'?: string;
2941
2911
  /**
2942
2912
  * `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
2943
2913
  * @type {string}
@@ -3124,152 +3094,6 @@ export interface ContainerDeployRequest {
3124
3094
  */
3125
3095
  'image_tag': string;
3126
3096
  }
3127
- /**
3128
- *
3129
- * @export
3130
- * @interface ContainerEditRequest
3131
- */
3132
- export interface ContainerEditRequest {
3133
- /**
3134
- *
3135
- * @type {Array<ApplicationStorageStorage>}
3136
- * @memberof ContainerEditRequest
3137
- */
3138
- 'storage'?: Array<ApplicationStorageStorage>;
3139
- /**
3140
- *
3141
- * @type {Array<ServicePortPorts>}
3142
- * @memberof ContainerEditRequest
3143
- */
3144
- 'ports'?: Array<ServicePortPorts>;
3145
- /**
3146
- * name is case insensitive
3147
- * @type {string}
3148
- * @memberof ContainerEditRequest
3149
- */
3150
- 'name': string;
3151
- /**
3152
- * id of the linked registry
3153
- * @type {string}
3154
- * @memberof ContainerEditRequest
3155
- */
3156
- 'registry_id': string;
3157
- /**
3158
- * name of the image container
3159
- * @type {string}
3160
- * @memberof ContainerEditRequest
3161
- */
3162
- 'image_name': string;
3163
- /**
3164
- * tag of the image container
3165
- * @type {string}
3166
- * @memberof ContainerEditRequest
3167
- */
3168
- 'tag': string;
3169
- /**
3170
- *
3171
- * @type {Array<string>}
3172
- * @memberof ContainerEditRequest
3173
- */
3174
- 'arguments'?: Array<string>;
3175
- /**
3176
- * optional entrypoint when launching container
3177
- * @type {string}
3178
- * @memberof ContainerEditRequest
3179
- */
3180
- 'entrypoint'?: string;
3181
- /**
3182
- * unit is millicores (m). 1000m = 1 cpu
3183
- * @type {number}
3184
- * @memberof ContainerEditRequest
3185
- */
3186
- 'cpu'?: number;
3187
- /**
3188
- * unit is MB. 1024 MB = 1GB
3189
- * @type {number}
3190
- * @memberof ContainerEditRequest
3191
- */
3192
- 'memory'?: number;
3193
- /**
3194
- * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
3195
- * @type {number}
3196
- * @memberof ContainerEditRequest
3197
- */
3198
- 'min_running_instances'?: number;
3199
- /**
3200
- * Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
3201
- * @type {number}
3202
- * @memberof ContainerEditRequest
3203
- */
3204
- 'max_running_instances'?: number;
3205
- }
3206
- /**
3207
- *
3208
- * @export
3209
- * @interface ContainerEditRequestAllOf
3210
- */
3211
- export interface ContainerEditRequestAllOf {
3212
- /**
3213
- * name is case insensitive
3214
- * @type {string}
3215
- * @memberof ContainerEditRequestAllOf
3216
- */
3217
- 'name': string;
3218
- /**
3219
- * id of the linked registry
3220
- * @type {string}
3221
- * @memberof ContainerEditRequestAllOf
3222
- */
3223
- 'registry_id': string;
3224
- /**
3225
- * name of the image container
3226
- * @type {string}
3227
- * @memberof ContainerEditRequestAllOf
3228
- */
3229
- 'image_name': string;
3230
- /**
3231
- * tag of the image container
3232
- * @type {string}
3233
- * @memberof ContainerEditRequestAllOf
3234
- */
3235
- 'tag': string;
3236
- /**
3237
- *
3238
- * @type {Array<string>}
3239
- * @memberof ContainerEditRequestAllOf
3240
- */
3241
- 'arguments'?: Array<string>;
3242
- /**
3243
- * optional entrypoint when launching container
3244
- * @type {string}
3245
- * @memberof ContainerEditRequestAllOf
3246
- */
3247
- 'entrypoint'?: string;
3248
- /**
3249
- * unit is millicores (m). 1000m = 1 cpu
3250
- * @type {number}
3251
- * @memberof ContainerEditRequestAllOf
3252
- */
3253
- 'cpu'?: number;
3254
- /**
3255
- * unit is MB. 1024 MB = 1GB
3256
- * @type {number}
3257
- * @memberof ContainerEditRequestAllOf
3258
- */
3259
- 'memory'?: number;
3260
- /**
3261
- * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
3262
- * @type {number}
3263
- * @memberof ContainerEditRequestAllOf
3264
- */
3265
- 'min_running_instances'?: number;
3266
- /**
3267
- * Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
3268
- * @type {number}
3269
- * @memberof ContainerEditRequestAllOf
3270
- */
3271
- 'max_running_instances'?: number;
3272
- }
3273
3097
  /**
3274
3098
  *
3275
3099
  * @export
@@ -3297,17 +3121,17 @@ export interface ContainerNetworkRequest {
3297
3121
  'sticky_session'?: boolean;
3298
3122
  }
3299
3123
  /**
3300
- * ECR needs the following parameters - region, access_key_id, secret_access_key DOCR needs the following parameters - token SCALEWAY_CR needs the following parameters - scaleway_access_key, scaleway_secret_key DOCKER_HUB needs the following parameters - username, password PUBLIC_ECR needs the followinf parameters - access_key_id, secret_access_key
3124
+ * The type of your container registry
3301
3125
  * @export
3302
3126
  * @enum {string}
3303
3127
  */
3304
3128
 
3305
3129
  export enum ContainerRegistryKindEnum {
3306
3130
  ECR = 'ECR',
3307
- DOCR = 'DOCR',
3308
3131
  SCALEWAY_CR = 'SCALEWAY_CR',
3309
3132
  DOCKER_HUB = 'DOCKER_HUB',
3310
- PUBLIC_ECR = 'PUBLIC_ECR'
3133
+ PUBLIC_ECR = 'PUBLIC_ECR',
3134
+ DOCR = 'DOCR'
3311
3135
  }
3312
3136
 
3313
3137
  /**
@@ -3335,17 +3159,66 @@ export interface ContainerRegistryRequest {
3335
3159
  */
3336
3160
  'description'?: string;
3337
3161
  /**
3338
- * URL of the container registry. Must start by \'https://\' and for docker_hub should be \'https://docker.io\'
3162
+ * URL of the container registry: * For `DOCKER_HUB`: should be `https://docker.io` * For others: must start by `https://`
3339
3163
  * @type {string}
3340
3164
  * @memberof ContainerRegistryRequest
3341
3165
  */
3342
3166
  'url': string;
3343
3167
  /**
3344
- * authentification configuration
3345
- * @type {{ [key: string]: object; }}
3168
+ *
3169
+ * @type {ContainerRegistryRequestConfig}
3346
3170
  * @memberof ContainerRegistryRequest
3347
3171
  */
3348
- 'config': { [key: string]: object; };
3172
+ 'config': ContainerRegistryRequestConfig;
3173
+ }
3174
+ /**
3175
+ * This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config: username, password * `PUBLIC_ECR` needs in the config: access_key_id, secret_access_key * `DOCR` is not supported anymore
3176
+ * @export
3177
+ * @interface ContainerRegistryRequestConfig
3178
+ */
3179
+ export interface ContainerRegistryRequestConfig {
3180
+ /**
3181
+ * Required if kind is `ECR` or `PUBLIC_ECR`
3182
+ * @type {string}
3183
+ * @memberof ContainerRegistryRequestConfig
3184
+ */
3185
+ 'access_key_id'?: string;
3186
+ /**
3187
+ * Required if kind is `ECR` or `PUBLIC_ECR`
3188
+ * @type {string}
3189
+ * @memberof ContainerRegistryRequestConfig
3190
+ */
3191
+ 'secret_access_key'?: string;
3192
+ /**
3193
+ * Required if kind is `ECR` or `SCALEWAY_CR`
3194
+ * @type {string}
3195
+ * @memberof ContainerRegistryRequestConfig
3196
+ */
3197
+ 'region'?: string;
3198
+ /**
3199
+ * Required if kind is `SCALEWAY_CR`
3200
+ * @type {string}
3201
+ * @memberof ContainerRegistryRequestConfig
3202
+ */
3203
+ 'scaleway_access_key'?: string;
3204
+ /**
3205
+ * Required if kind is `SCALEWAY_CR`
3206
+ * @type {string}
3207
+ * @memberof ContainerRegistryRequestConfig
3208
+ */
3209
+ 'scaleway_secret_key'?: string;
3210
+ /**
3211
+ * Required if kind is `DOCKER_HUB`
3212
+ * @type {string}
3213
+ * @memberof ContainerRegistryRequestConfig
3214
+ */
3215
+ 'username'?: string;
3216
+ /**
3217
+ * Required if kind is `DOCKER_HUB`
3218
+ * @type {string}
3219
+ * @memberof ContainerRegistryRequestConfig
3220
+ */
3221
+ 'password'?: string;
3349
3222
  }
3350
3223
  /**
3351
3224
  *
@@ -3458,7 +3331,7 @@ export interface ContainerRequest {
3458
3331
  */
3459
3332
  'registry_id': string;
3460
3333
  /**
3461
- * name of the image container
3334
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3462
3335
  * @type {string}
3463
3336
  * @memberof ContainerRequest
3464
3337
  */
@@ -3525,7 +3398,7 @@ export interface ContainerRequestAllOf {
3525
3398
  */
3526
3399
  'registry_id': string;
3527
3400
  /**
3528
- * name of the image container
3401
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3529
3402
  * @type {string}
3530
3403
  * @memberof ContainerRequestAllOf
3531
3404
  */
@@ -3599,58 +3472,52 @@ export interface ContainerResponse {
3599
3472
  'updated_at'?: string;
3600
3473
  /**
3601
3474
  *
3602
- * @type {Array<ApplicationStorageStorage>}
3603
- * @memberof ContainerResponse
3604
- */
3605
- 'storage'?: Array<ApplicationStorageStorage>;
3606
- /**
3607
- *
3608
- * @type {Array<ServicePortPorts>}
3475
+ * @type {Array<ServiceStorageStorage>}
3609
3476
  * @memberof ContainerResponse
3610
3477
  */
3611
- 'ports'?: Array<ServicePortPorts>;
3478
+ 'storage'?: Array<ServiceStorageStorage>;
3612
3479
  /**
3613
3480
  *
3614
3481
  * @type {ReferenceObject}
3615
3482
  * @memberof ContainerResponse
3616
3483
  */
3617
- 'environment'?: ReferenceObject;
3484
+ 'environment': ReferenceObject;
3618
3485
  /**
3619
3486
  *
3620
3487
  * @type {ReferenceObject}
3621
3488
  * @memberof ContainerResponse
3622
3489
  */
3623
- 'registry'?: ReferenceObject;
3490
+ 'registry': ReferenceObject;
3624
3491
  /**
3625
3492
  * Maximum cpu that can be allocated to the container based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
3626
3493
  * @type {number}
3627
3494
  * @memberof ContainerResponse
3628
3495
  */
3629
- 'maximum_cpu'?: number;
3496
+ 'maximum_cpu': number;
3630
3497
  /**
3631
3498
  * Maximum memory that can be allocated to the container based on organization cluster configuration. unit is MB. 1024 MB = 1GB
3632
3499
  * @type {number}
3633
3500
  * @memberof ContainerResponse
3634
3501
  */
3635
- 'maximum_memory'?: number;
3502
+ 'maximum_memory': number;
3636
3503
  /**
3637
3504
  * name is case insensitive
3638
3505
  * @type {string}
3639
3506
  * @memberof ContainerResponse
3640
3507
  */
3641
- 'name'?: string;
3508
+ 'name': string;
3642
3509
  /**
3643
3510
  * name of the image container
3644
3511
  * @type {string}
3645
3512
  * @memberof ContainerResponse
3646
3513
  */
3647
- 'image_name'?: string;
3514
+ 'image_name': string;
3648
3515
  /**
3649
3516
  * tag of the image container
3650
3517
  * @type {string}
3651
3518
  * @memberof ContainerResponse
3652
3519
  */
3653
- 'tag'?: string;
3520
+ 'tag': string;
3654
3521
  /**
3655
3522
  *
3656
3523
  * @type {Array<string>}
@@ -3668,25 +3535,37 @@ export interface ContainerResponse {
3668
3535
  * @type {number}
3669
3536
  * @memberof ContainerResponse
3670
3537
  */
3671
- 'cpu'?: number;
3538
+ 'cpu': number;
3672
3539
  /**
3673
3540
  * unit is MB. 1024 MB = 1GB
3674
3541
  * @type {number}
3675
3542
  * @memberof ContainerResponse
3676
3543
  */
3677
- 'memory'?: number;
3544
+ 'memory': number;
3678
3545
  /**
3679
3546
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
3680
3547
  * @type {number}
3681
3548
  * @memberof ContainerResponse
3682
3549
  */
3683
- 'min_running_instances'?: number;
3550
+ 'min_running_instances': number;
3684
3551
  /**
3685
3552
  * Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
3686
3553
  * @type {number}
3687
3554
  * @memberof ContainerResponse
3688
3555
  */
3689
- 'max_running_instances'?: number;
3556
+ 'max_running_instances': number;
3557
+ /**
3558
+ * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3559
+ * @type {boolean}
3560
+ * @memberof ContainerResponse
3561
+ */
3562
+ 'auto_preview': boolean;
3563
+ /**
3564
+ *
3565
+ * @type {ServicePortResponseList}
3566
+ * @memberof ContainerResponse
3567
+ */
3568
+ 'ports'?: ServicePortResponseList;
3690
3569
  }
3691
3570
  /**
3692
3571
  *
@@ -3699,43 +3578,43 @@ export interface ContainerResponseAllOf {
3699
3578
  * @type {ReferenceObject}
3700
3579
  * @memberof ContainerResponseAllOf
3701
3580
  */
3702
- 'environment'?: ReferenceObject;
3581
+ 'environment': ReferenceObject;
3703
3582
  /**
3704
3583
  *
3705
3584
  * @type {ReferenceObject}
3706
3585
  * @memberof ContainerResponseAllOf
3707
3586
  */
3708
- 'registry'?: ReferenceObject;
3587
+ 'registry': ReferenceObject;
3709
3588
  /**
3710
3589
  * Maximum cpu that can be allocated to the container based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
3711
3590
  * @type {number}
3712
3591
  * @memberof ContainerResponseAllOf
3713
3592
  */
3714
- 'maximum_cpu'?: number;
3593
+ 'maximum_cpu': number;
3715
3594
  /**
3716
3595
  * Maximum memory that can be allocated to the container based on organization cluster configuration. unit is MB. 1024 MB = 1GB
3717
3596
  * @type {number}
3718
3597
  * @memberof ContainerResponseAllOf
3719
3598
  */
3720
- 'maximum_memory'?: number;
3599
+ 'maximum_memory': number;
3721
3600
  /**
3722
3601
  * name is case insensitive
3723
3602
  * @type {string}
3724
3603
  * @memberof ContainerResponseAllOf
3725
3604
  */
3726
- 'name'?: string;
3605
+ 'name': string;
3727
3606
  /**
3728
3607
  * name of the image container
3729
3608
  * @type {string}
3730
3609
  * @memberof ContainerResponseAllOf
3731
3610
  */
3732
- 'image_name'?: string;
3611
+ 'image_name': string;
3733
3612
  /**
3734
3613
  * tag of the image container
3735
3614
  * @type {string}
3736
3615
  * @memberof ContainerResponseAllOf
3737
3616
  */
3738
- 'tag'?: string;
3617
+ 'tag': string;
3739
3618
  /**
3740
3619
  *
3741
3620
  * @type {Array<string>}
@@ -3753,25 +3632,37 @@ export interface ContainerResponseAllOf {
3753
3632
  * @type {number}
3754
3633
  * @memberof ContainerResponseAllOf
3755
3634
  */
3756
- 'cpu'?: number;
3635
+ 'cpu': number;
3757
3636
  /**
3758
3637
  * unit is MB. 1024 MB = 1GB
3759
3638
  * @type {number}
3760
3639
  * @memberof ContainerResponseAllOf
3761
3640
  */
3762
- 'memory'?: number;
3641
+ 'memory': number;
3763
3642
  /**
3764
3643
  * Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
3765
3644
  * @type {number}
3766
3645
  * @memberof ContainerResponseAllOf
3767
3646
  */
3768
- 'min_running_instances'?: number;
3647
+ 'min_running_instances': number;
3769
3648
  /**
3770
3649
  * Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
3771
3650
  * @type {number}
3772
3651
  * @memberof ContainerResponseAllOf
3773
3652
  */
3774
- 'max_running_instances'?: number;
3653
+ 'max_running_instances': number;
3654
+ /**
3655
+ * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3656
+ * @type {boolean}
3657
+ * @memberof ContainerResponseAllOf
3658
+ */
3659
+ 'auto_preview': boolean;
3660
+ /**
3661
+ *
3662
+ * @type {ServicePortResponseList}
3663
+ * @memberof ContainerResponseAllOf
3664
+ */
3665
+ 'ports'?: ServicePortResponseList;
3775
3666
  }
3776
3667
  /**
3777
3668
  *
@@ -3786,19 +3677,6 @@ export interface ContainerResponseList {
3786
3677
  */
3787
3678
  'results'?: Array<ContainerResponse>;
3788
3679
  }
3789
- /**
3790
- *
3791
- * @export
3792
- * @interface ContainerStorage
3793
- */
3794
- export interface ContainerStorage {
3795
- /**
3796
- *
3797
- * @type {Array<ApplicationStorageStorage>}
3798
- * @memberof ContainerStorage
3799
- */
3800
- 'storage'?: Array<ApplicationStorageStorage>;
3801
- }
3802
3680
  /**
3803
3681
  *
3804
3682
  * @export
@@ -3861,6 +3739,43 @@ export interface CostRange {
3861
3739
  */
3862
3740
  'currency_code': string;
3863
3741
  }
3742
+ /**
3743
+ *
3744
+ * @export
3745
+ * @enum {string}
3746
+ */
3747
+
3748
+ export enum CreateEnvironmentModeEnum {
3749
+ DEVELOPMENT = 'DEVELOPMENT',
3750
+ PRODUCTION = 'PRODUCTION',
3751
+ STAGING = 'STAGING'
3752
+ }
3753
+
3754
+ /**
3755
+ *
3756
+ * @export
3757
+ * @interface CreateEnvironmentRequest
3758
+ */
3759
+ export interface CreateEnvironmentRequest {
3760
+ /**
3761
+ * name is case insensitive
3762
+ * @type {string}
3763
+ * @memberof CreateEnvironmentRequest
3764
+ */
3765
+ 'name': string;
3766
+ /**
3767
+ *
3768
+ * @type {string}
3769
+ * @memberof CreateEnvironmentRequest
3770
+ */
3771
+ 'cluster'?: string;
3772
+ /**
3773
+ *
3774
+ * @type {CreateEnvironmentModeEnum}
3775
+ * @memberof CreateEnvironmentRequest
3776
+ */
3777
+ 'mode'?: CreateEnvironmentModeEnum;
3778
+ }
3864
3779
  /**
3865
3780
  *
3866
3781
  * @export
@@ -4836,6 +4751,110 @@ export interface DeploymentHistoryApplicationAllOf {
4836
4751
  */
4837
4752
  'status'?: StateEnum;
4838
4753
  }
4754
+ /**
4755
+ *
4756
+ * @export
4757
+ * @interface DeploymentHistoryContainer
4758
+ */
4759
+ export interface DeploymentHistoryContainer {
4760
+ /**
4761
+ *
4762
+ * @type {string}
4763
+ * @memberof DeploymentHistoryContainer
4764
+ */
4765
+ 'id': string;
4766
+ /**
4767
+ *
4768
+ * @type {string}
4769
+ * @memberof DeploymentHistoryContainer
4770
+ */
4771
+ 'created_at': string;
4772
+ /**
4773
+ *
4774
+ * @type {string}
4775
+ * @memberof DeploymentHistoryContainer
4776
+ */
4777
+ 'updated_at'?: string;
4778
+ /**
4779
+ * name of the container
4780
+ * @type {string}
4781
+ * @memberof DeploymentHistoryContainer
4782
+ */
4783
+ 'name'?: string;
4784
+ /**
4785
+ *
4786
+ * @type {DeploymentHistoryStatusEnum}
4787
+ * @memberof DeploymentHistoryContainer
4788
+ */
4789
+ 'status'?: DeploymentHistoryStatusEnum;
4790
+ /**
4791
+ *
4792
+ * @type {string}
4793
+ * @memberof DeploymentHistoryContainer
4794
+ */
4795
+ 'image_name'?: string;
4796
+ /**
4797
+ *
4798
+ * @type {string}
4799
+ * @memberof DeploymentHistoryContainer
4800
+ */
4801
+ 'tag'?: string;
4802
+ /**
4803
+ *
4804
+ * @type {Array<string>}
4805
+ * @memberof DeploymentHistoryContainer
4806
+ */
4807
+ 'arguments'?: Array<string>;
4808
+ /**
4809
+ *
4810
+ * @type {string}
4811
+ * @memberof DeploymentHistoryContainer
4812
+ */
4813
+ 'entrypoint'?: string;
4814
+ }
4815
+ /**
4816
+ *
4817
+ * @export
4818
+ * @interface DeploymentHistoryContainerAllOf
4819
+ */
4820
+ export interface DeploymentHistoryContainerAllOf {
4821
+ /**
4822
+ * name of the container
4823
+ * @type {string}
4824
+ * @memberof DeploymentHistoryContainerAllOf
4825
+ */
4826
+ 'name'?: string;
4827
+ /**
4828
+ *
4829
+ * @type {DeploymentHistoryStatusEnum}
4830
+ * @memberof DeploymentHistoryContainerAllOf
4831
+ */
4832
+ 'status'?: DeploymentHistoryStatusEnum;
4833
+ /**
4834
+ *
4835
+ * @type {string}
4836
+ * @memberof DeploymentHistoryContainerAllOf
4837
+ */
4838
+ 'image_name'?: string;
4839
+ /**
4840
+ *
4841
+ * @type {string}
4842
+ * @memberof DeploymentHistoryContainerAllOf
4843
+ */
4844
+ 'tag'?: string;
4845
+ /**
4846
+ *
4847
+ * @type {Array<string>}
4848
+ * @memberof DeploymentHistoryContainerAllOf
4849
+ */
4850
+ 'arguments'?: Array<string>;
4851
+ /**
4852
+ *
4853
+ * @type {string}
4854
+ * @memberof DeploymentHistoryContainerAllOf
4855
+ */
4856
+ 'entrypoint'?: string;
4857
+ }
4839
4858
  /**
4840
4859
  *
4841
4860
  * @export
@@ -4928,6 +4947,12 @@ export interface DeploymentHistoryEnvironment {
4928
4947
  * @memberof DeploymentHistoryEnvironment
4929
4948
  */
4930
4949
  'applications'?: Array<DeploymentHistoryApplication>;
4950
+ /**
4951
+ *
4952
+ * @type {Array<DeploymentHistoryContainer>}
4953
+ * @memberof DeploymentHistoryEnvironment
4954
+ */
4955
+ 'containers'?: Array<DeploymentHistoryContainer>;
4931
4956
  /**
4932
4957
  *
4933
4958
  * @type {Array<DeploymentHistoryDatabase>}
@@ -4953,6 +4978,12 @@ export interface DeploymentHistoryEnvironmentAllOf {
4953
4978
  * @memberof DeploymentHistoryEnvironmentAllOf
4954
4979
  */
4955
4980
  'applications'?: Array<DeploymentHistoryApplication>;
4981
+ /**
4982
+ *
4983
+ * @type {Array<DeploymentHistoryContainer>}
4984
+ * @memberof DeploymentHistoryEnvironmentAllOf
4985
+ */
4986
+ 'containers'?: Array<DeploymentHistoryContainer>;
4956
4987
  /**
4957
4988
  *
4958
4989
  * @type {Array<DeploymentHistoryDatabase>}
@@ -5948,10 +5979,10 @@ export interface EnvironmentEditRequest {
5948
5979
  'name'?: string;
5949
5980
  /**
5950
5981
  *
5951
- * @type {EnvironmentModeEnum}
5982
+ * @type {CreateEnvironmentModeEnum}
5952
5983
  * @memberof EnvironmentEditRequest
5953
5984
  */
5954
- 'mode'?: EnvironmentModeEnum;
5985
+ 'mode'?: CreateEnvironmentModeEnum;
5955
5986
  }
5956
5987
  /**
5957
5988
  *
@@ -6103,31 +6134,6 @@ export enum EnvironmentModeEnum {
6103
6134
  STAGING = 'STAGING'
6104
6135
  }
6105
6136
 
6106
- /**
6107
- *
6108
- * @export
6109
- * @interface EnvironmentRequest
6110
- */
6111
- export interface EnvironmentRequest {
6112
- /**
6113
- * name is case insensitive
6114
- * @type {string}
6115
- * @memberof EnvironmentRequest
6116
- */
6117
- 'name': string;
6118
- /**
6119
- *
6120
- * @type {string}
6121
- * @memberof EnvironmentRequest
6122
- */
6123
- 'cluster'?: string;
6124
- /**
6125
- *
6126
- * @type {EnvironmentModeEnum}
6127
- * @memberof EnvironmentRequest
6128
- */
6129
- 'mode'?: EnvironmentModeEnum;
6130
- }
6131
6137
  /**
6132
6138
  *
6133
6139
  * @export
@@ -6250,22 +6256,22 @@ export interface EnvironmentVariable {
6250
6256
  'value': string;
6251
6257
  /**
6252
6258
  *
6253
- * @type {EnvironmentVariableAllOfOverriddenVariable}
6259
+ * @type {EnvironmentVariableOverride}
6254
6260
  * @memberof EnvironmentVariable
6255
6261
  */
6256
- 'overridden_variable'?: EnvironmentVariableAllOfOverriddenVariable;
6262
+ 'overridden_variable'?: EnvironmentVariableOverride;
6257
6263
  /**
6258
6264
  *
6259
- * @type {EnvironmentVariableAllOfAliasedVariable}
6265
+ * @type {EnvironmentVariableAlias}
6260
6266
  * @memberof EnvironmentVariable
6261
6267
  */
6262
- 'aliased_variable'?: EnvironmentVariableAllOfAliasedVariable;
6268
+ 'aliased_variable'?: EnvironmentVariableAlias;
6263
6269
  /**
6264
6270
  *
6265
- * @type {EnvironmentVariableScopeEnum}
6271
+ * @type {APIVariableScopeEnum}
6266
6272
  * @memberof EnvironmentVariable
6267
6273
  */
6268
- 'scope': EnvironmentVariableScopeEnum;
6274
+ 'scope': APIVariableScopeEnum;
6269
6275
  /**
6270
6276
  * present only for `BUILT_IN` variable
6271
6277
  * @type {string}
@@ -6285,6 +6291,37 @@ export interface EnvironmentVariable {
6285
6291
  */
6286
6292
  'service_type'?: LinkedServiceTypeEnum;
6287
6293
  }
6294
+ /**
6295
+ *
6296
+ * @export
6297
+ * @interface EnvironmentVariableAlias
6298
+ */
6299
+ export interface EnvironmentVariableAlias {
6300
+ /**
6301
+ *
6302
+ * @type {string}
6303
+ * @memberof EnvironmentVariableAlias
6304
+ */
6305
+ 'id': string;
6306
+ /**
6307
+ *
6308
+ * @type {string}
6309
+ * @memberof EnvironmentVariableAlias
6310
+ */
6311
+ 'key': string;
6312
+ /**
6313
+ *
6314
+ * @type {string}
6315
+ * @memberof EnvironmentVariableAlias
6316
+ */
6317
+ 'value': string;
6318
+ /**
6319
+ *
6320
+ * @type {APIVariableScopeEnum}
6321
+ * @memberof EnvironmentVariableAlias
6322
+ */
6323
+ 'scope': APIVariableScopeEnum;
6324
+ }
6288
6325
  /**
6289
6326
  *
6290
6327
  * @export
@@ -6293,22 +6330,22 @@ export interface EnvironmentVariable {
6293
6330
  export interface EnvironmentVariableAllOf {
6294
6331
  /**
6295
6332
  *
6296
- * @type {EnvironmentVariableAllOfOverriddenVariable}
6333
+ * @type {EnvironmentVariableOverride}
6297
6334
  * @memberof EnvironmentVariableAllOf
6298
6335
  */
6299
- 'overridden_variable'?: EnvironmentVariableAllOfOverriddenVariable;
6336
+ 'overridden_variable'?: EnvironmentVariableOverride;
6300
6337
  /**
6301
6338
  *
6302
- * @type {EnvironmentVariableAllOfAliasedVariable}
6339
+ * @type {EnvironmentVariableAlias}
6303
6340
  * @memberof EnvironmentVariableAllOf
6304
6341
  */
6305
- 'aliased_variable'?: EnvironmentVariableAllOfAliasedVariable;
6342
+ 'aliased_variable'?: EnvironmentVariableAlias;
6306
6343
  /**
6307
6344
  *
6308
- * @type {EnvironmentVariableScopeEnum}
6345
+ * @type {APIVariableScopeEnum}
6309
6346
  * @memberof EnvironmentVariableAllOf
6310
6347
  */
6311
- 'scope': EnvironmentVariableScopeEnum;
6348
+ 'scope': APIVariableScopeEnum;
6312
6349
  /**
6313
6350
  * present only for `BUILT_IN` variable
6314
6351
  * @type {string}
@@ -6331,83 +6368,52 @@ export interface EnvironmentVariableAllOf {
6331
6368
  /**
6332
6369
  *
6333
6370
  * @export
6334
- * @interface EnvironmentVariableAllOfAliasedVariable
6371
+ * @interface EnvironmentVariableEditRequest
6335
6372
  */
6336
- export interface EnvironmentVariableAllOfAliasedVariable {
6337
- /**
6338
- *
6339
- * @type {string}
6340
- * @memberof EnvironmentVariableAllOfAliasedVariable
6341
- */
6342
- 'id'?: string;
6373
+ export interface EnvironmentVariableEditRequest {
6343
6374
  /**
6344
- *
6375
+ * key is case sensitive
6345
6376
  * @type {string}
6346
- * @memberof EnvironmentVariableAllOfAliasedVariable
6377
+ * @memberof EnvironmentVariableEditRequest
6347
6378
  */
6348
- 'key'?: string;
6379
+ 'key': string;
6349
6380
  /**
6350
- *
6381
+ * value of the env variable.
6351
6382
  * @type {string}
6352
- * @memberof EnvironmentVariableAllOfAliasedVariable
6353
- */
6354
- 'value'?: string;
6355
- /**
6356
- *
6357
- * @type {EnvironmentVariableScopeEnum}
6358
- * @memberof EnvironmentVariableAllOfAliasedVariable
6383
+ * @memberof EnvironmentVariableEditRequest
6359
6384
  */
6360
- 'scope'?: EnvironmentVariableScopeEnum;
6385
+ 'value': string;
6361
6386
  }
6362
6387
  /**
6363
6388
  *
6364
6389
  * @export
6365
- * @interface EnvironmentVariableAllOfOverriddenVariable
6390
+ * @interface EnvironmentVariableOverride
6366
6391
  */
6367
- export interface EnvironmentVariableAllOfOverriddenVariable {
6392
+ export interface EnvironmentVariableOverride {
6368
6393
  /**
6369
6394
  *
6370
6395
  * @type {string}
6371
- * @memberof EnvironmentVariableAllOfOverriddenVariable
6396
+ * @memberof EnvironmentVariableOverride
6372
6397
  */
6373
- 'id'?: string;
6398
+ 'id': string;
6374
6399
  /**
6375
6400
  *
6376
6401
  * @type {string}
6377
- * @memberof EnvironmentVariableAllOfOverriddenVariable
6402
+ * @memberof EnvironmentVariableOverride
6378
6403
  */
6379
- 'key'?: string;
6404
+ 'key': string;
6380
6405
  /**
6381
6406
  *
6382
6407
  * @type {string}
6383
- * @memberof EnvironmentVariableAllOfOverriddenVariable
6408
+ * @memberof EnvironmentVariableOverride
6384
6409
  */
6385
- 'value'?: string;
6410
+ 'value': string;
6386
6411
  /**
6387
6412
  *
6388
- * @type {EnvironmentVariableScopeEnum}
6389
- * @memberof EnvironmentVariableAllOfOverriddenVariable
6390
- */
6391
- 'scope'?: EnvironmentVariableScopeEnum;
6392
- }
6393
- /**
6394
- *
6395
- * @export
6396
- * @interface EnvironmentVariableEditRequest
6397
- */
6398
- export interface EnvironmentVariableEditRequest {
6399
- /**
6400
- * key is case sensitive
6401
- * @type {string}
6402
- * @memberof EnvironmentVariableEditRequest
6403
- */
6404
- 'key': string;
6405
- /**
6406
- * value of the env variable.
6407
- * @type {string}
6408
- * @memberof EnvironmentVariableEditRequest
6413
+ * @type {APIVariableScopeEnum}
6414
+ * @memberof EnvironmentVariableOverride
6409
6415
  */
6410
- 'value': string;
6416
+ 'scope': APIVariableScopeEnum;
6411
6417
  }
6412
6418
  /**
6413
6419
  *
@@ -6441,20 +6447,6 @@ export interface EnvironmentVariableResponseList {
6441
6447
  */
6442
6448
  'results'?: Array<EnvironmentVariable>;
6443
6449
  }
6444
- /**
6445
- *
6446
- * @export
6447
- * @enum {string}
6448
- */
6449
-
6450
- export enum EnvironmentVariableScopeEnum {
6451
- APPLICATION = 'APPLICATION',
6452
- BUILT_IN = 'BUILT_IN',
6453
- ENVIRONMENT = 'ENVIRONMENT',
6454
- PROJECT = 'PROJECT',
6455
- CONTAINER = 'CONTAINER'
6456
- }
6457
-
6458
6450
  /**
6459
6451
  *
6460
6452
  * @export
@@ -6810,67 +6802,35 @@ export interface InlineObject {
6810
6802
  * @interface InlineObject1
6811
6803
  */
6812
6804
  export interface InlineObject1 {
6813
- /**
6814
- * Configure the number of seconds before cleaning images in the registry
6815
- * @type {number}
6816
- * @memberof InlineObject1
6817
- */
6818
- 'registry.image_retention_time'?: number;
6819
- /**
6820
- * Select the size of the main load_balancer (only effective for Scaleway)
6821
- * @type {string}
6822
- * @memberof InlineObject1
6823
- */
6824
- 'load_balancer.size'?: string;
6825
- /**
6826
- *
6827
- * @type {number}
6828
- * @memberof InlineObject1
6829
- * @deprecated
6830
- */
6831
- 'pleco.resources_ttl'?: number;
6832
- /**
6833
- * For how long in week loki is going to keep logs of your applications
6834
- * @type {number}
6835
- * @memberof InlineObject1
6836
- */
6837
- 'loki.log_retention_in_week'?: number;
6838
- }
6839
- /**
6840
- *
6841
- * @export
6842
- * @interface InlineObject2
6843
- */
6844
- export interface InlineObject2 {
6845
6805
  /**
6846
6806
  * the container image name to deploy
6847
6807
  * @type {string}
6848
- * @memberof InlineObject2
6808
+ * @memberof InlineObject1
6849
6809
  */
6850
6810
  'image_name'?: string;
6851
6811
  /**
6852
6812
  * the new tag to deploy
6853
6813
  * @type {string}
6854
- * @memberof InlineObject2
6814
+ * @memberof InlineObject1
6855
6815
  */
6856
6816
  'tag'?: string;
6857
6817
  }
6858
6818
  /**
6859
6819
  *
6860
6820
  * @export
6861
- * @interface InlineObject3
6821
+ * @interface InlineObject2
6862
6822
  */
6863
- export interface InlineObject3 {
6823
+ export interface InlineObject2 {
6864
6824
  /**
6865
6825
  * the container image name to trigger preview environment
6866
6826
  * @type {string}
6867
- * @memberof InlineObject3
6827
+ * @memberof InlineObject2
6868
6828
  */
6869
6829
  'image_name'?: string;
6870
6830
  /**
6871
6831
  * the tag to be used in the preview environment
6872
6832
  * @type {string}
6873
- * @memberof InlineObject3
6833
+ * @memberof InlineObject2
6874
6834
  */
6875
6835
  'tag'?: string;
6876
6836
  }
@@ -8702,31 +8662,6 @@ export interface OrganizationWebhookResponseList {
8702
8662
  */
8703
8663
  'results'?: Array<OrganizationWebhookResponse>;
8704
8664
  }
8705
- /**
8706
- *
8707
- * @export
8708
- * @interface OverriddenSecret
8709
- */
8710
- export interface OverriddenSecret {
8711
- /**
8712
- *
8713
- * @type {string}
8714
- * @memberof OverriddenSecret
8715
- */
8716
- 'id'?: string;
8717
- /**
8718
- *
8719
- * @type {string}
8720
- * @memberof OverriddenSecret
8721
- */
8722
- 'key'?: string;
8723
- /**
8724
- *
8725
- * @type {EnvironmentVariableScopeEnum}
8726
- * @memberof OverriddenSecret
8727
- */
8728
- 'scope'?: EnvironmentVariableScopeEnum;
8729
- }
8730
8665
  /**
8731
8666
  *
8732
8667
  * @export
@@ -9279,13 +9214,13 @@ export interface ReferenceObjectStatus {
9279
9214
  * @type {string}
9280
9215
  * @memberof ReferenceObjectStatus
9281
9216
  */
9282
- 'message'?: string | null;
9217
+ 'message'?: string;
9283
9218
  /**
9284
9219
  *
9285
9220
  * @type {ServiceDeploymentStatusEnum}
9286
9221
  * @memberof ReferenceObjectStatus
9287
9222
  */
9288
- 'service_deployment_status'?: ServiceDeploymentStatusEnum | null;
9223
+ 'service_deployment_status': ServiceDeploymentStatusEnum;
9289
9224
  /**
9290
9225
  *
9291
9226
  * @type {string}
@@ -9438,25 +9373,25 @@ export interface Secret {
9438
9373
  * @type {string}
9439
9374
  * @memberof Secret
9440
9375
  */
9441
- 'key'?: string;
9376
+ 'key': string;
9442
9377
  /**
9443
9378
  *
9444
- * @type {OverriddenSecret}
9379
+ * @type {SecretOverride}
9445
9380
  * @memberof Secret
9446
9381
  */
9447
- 'overridden_secret'?: OverriddenSecret;
9382
+ 'overridden_secret'?: SecretOverride;
9448
9383
  /**
9449
9384
  *
9450
- * @type {AliasedSecret}
9385
+ * @type {SecretAlias}
9451
9386
  * @memberof Secret
9452
9387
  */
9453
- 'aliased_secret'?: AliasedSecret;
9388
+ 'aliased_secret'?: SecretAlias;
9454
9389
  /**
9455
9390
  *
9456
- * @type {EnvironmentVariableScopeEnum}
9391
+ * @type {APIVariableScopeEnum}
9457
9392
  * @memberof Secret
9458
9393
  */
9459
- 'scope': EnvironmentVariableScopeEnum;
9394
+ 'scope': APIVariableScopeEnum;
9460
9395
  /**
9461
9396
  * present only for `BUILT_IN` variable
9462
9397
  * @type {string}
@@ -9476,6 +9411,31 @@ export interface Secret {
9476
9411
  */
9477
9412
  'service_type'?: LinkedServiceTypeEnum;
9478
9413
  }
9414
+ /**
9415
+ *
9416
+ * @export
9417
+ * @interface SecretAlias
9418
+ */
9419
+ export interface SecretAlias {
9420
+ /**
9421
+ *
9422
+ * @type {string}
9423
+ * @memberof SecretAlias
9424
+ */
9425
+ 'id': string;
9426
+ /**
9427
+ *
9428
+ * @type {string}
9429
+ * @memberof SecretAlias
9430
+ */
9431
+ 'key': string;
9432
+ /**
9433
+ *
9434
+ * @type {APIVariableScopeEnum}
9435
+ * @memberof SecretAlias
9436
+ */
9437
+ 'scope': APIVariableScopeEnum;
9438
+ }
9479
9439
  /**
9480
9440
  *
9481
9441
  * @export
@@ -9487,25 +9447,25 @@ export interface SecretAllOf {
9487
9447
  * @type {string}
9488
9448
  * @memberof SecretAllOf
9489
9449
  */
9490
- 'key'?: string;
9450
+ 'key': string;
9491
9451
  /**
9492
9452
  *
9493
- * @type {OverriddenSecret}
9453
+ * @type {SecretOverride}
9494
9454
  * @memberof SecretAllOf
9495
9455
  */
9496
- 'overridden_secret'?: OverriddenSecret;
9456
+ 'overridden_secret'?: SecretOverride;
9497
9457
  /**
9498
9458
  *
9499
- * @type {AliasedSecret}
9459
+ * @type {SecretAlias}
9500
9460
  * @memberof SecretAllOf
9501
9461
  */
9502
- 'aliased_secret'?: AliasedSecret;
9462
+ 'aliased_secret'?: SecretAlias;
9503
9463
  /**
9504
9464
  *
9505
- * @type {EnvironmentVariableScopeEnum}
9465
+ * @type {APIVariableScopeEnum}
9506
9466
  * @memberof SecretAllOf
9507
9467
  */
9508
- 'scope': EnvironmentVariableScopeEnum;
9468
+ 'scope': APIVariableScopeEnum;
9509
9469
  /**
9510
9470
  * present only for `BUILT_IN` variable
9511
9471
  * @type {string}
@@ -9536,13 +9496,38 @@ export interface SecretEditRequest {
9536
9496
  * @type {string}
9537
9497
  * @memberof SecretEditRequest
9538
9498
  */
9539
- 'value'?: string;
9499
+ 'value': string;
9540
9500
  /**
9541
9501
  *
9542
9502
  * @type {string}
9543
9503
  * @memberof SecretEditRequest
9544
9504
  */
9545
- 'key'?: string;
9505
+ 'key': string;
9506
+ }
9507
+ /**
9508
+ *
9509
+ * @export
9510
+ * @interface SecretOverride
9511
+ */
9512
+ export interface SecretOverride {
9513
+ /**
9514
+ *
9515
+ * @type {string}
9516
+ * @memberof SecretOverride
9517
+ */
9518
+ 'id': string;
9519
+ /**
9520
+ *
9521
+ * @type {string}
9522
+ * @memberof SecretOverride
9523
+ */
9524
+ 'key': string;
9525
+ /**
9526
+ *
9527
+ * @type {APIVariableScopeEnum}
9528
+ * @memberof SecretOverride
9529
+ */
9530
+ 'scope': APIVariableScopeEnum;
9546
9531
  }
9547
9532
  /**
9548
9533
  *
@@ -9728,55 +9713,48 @@ export enum ServiceDeploymentStatusEnum {
9728
9713
  * @interface ServicePort
9729
9714
  */
9730
9715
  export interface ServicePort {
9731
- /**
9732
- *
9733
- * @type {Array<ServicePortPorts>}
9734
- * @memberof ServicePort
9735
- */
9736
- 'ports'?: Array<ServicePortPorts>;
9737
- }
9738
- /**
9739
- *
9740
- * @export
9741
- * @interface ServicePortPorts
9742
- */
9743
- export interface ServicePortPorts {
9744
9716
  /**
9745
9717
  *
9746
9718
  * @type {string}
9747
- * @memberof ServicePortPorts
9719
+ * @memberof ServicePort
9748
9720
  */
9749
- 'id'?: string;
9721
+ 'id': string;
9750
9722
  /**
9751
9723
  *
9752
9724
  * @type {string}
9753
- * @memberof ServicePortPorts
9725
+ * @memberof ServicePort
9754
9726
  */
9755
- 'name'?: string | null;
9727
+ 'name'?: string;
9756
9728
  /**
9757
9729
  * The listening port of your service.
9758
9730
  * @type {number}
9759
- * @memberof ServicePortPorts
9731
+ * @memberof ServicePort
9760
9732
  */
9761
9733
  'internal_port': number;
9762
9734
  /**
9763
9735
  * The exposed port for your service. This is optional. If not set a default port will be used.
9764
9736
  * @type {number}
9765
- * @memberof ServicePortPorts
9737
+ * @memberof ServicePort
9766
9738
  */
9767
9739
  'external_port'?: number;
9768
9740
  /**
9769
9741
  * Expose the port to the world
9770
9742
  * @type {boolean}
9771
- * @memberof ServicePortPorts
9743
+ * @memberof ServicePort
9772
9744
  */
9773
9745
  'publicly_accessible': boolean;
9746
+ /**
9747
+ * is the default port to use for domain & probes check
9748
+ * @type {boolean}
9749
+ * @memberof ServicePort
9750
+ */
9751
+ 'is_default'?: boolean;
9774
9752
  /**
9775
9753
  *
9776
9754
  * @type {PortProtocolEnum}
9777
- * @memberof ServicePortPorts
9755
+ * @memberof ServicePort
9778
9756
  */
9779
- 'protocol'?: PortProtocolEnum;
9757
+ 'protocol': PortProtocolEnum;
9780
9758
  }
9781
9759
  /**
9782
9760
  *
@@ -9802,7 +9780,7 @@ export interface ServicePortRequestPorts {
9802
9780
  * @type {string}
9803
9781
  * @memberof ServicePortRequestPorts
9804
9782
  */
9805
- 'name'?: string | null;
9783
+ 'name'?: string;
9806
9784
  /**
9807
9785
  * The listening port of your service.
9808
9786
  * @type {number}
@@ -9821,6 +9799,12 @@ export interface ServicePortRequestPorts {
9821
9799
  * @memberof ServicePortRequestPorts
9822
9800
  */
9823
9801
  'publicly_accessible': boolean;
9802
+ /**
9803
+ * is the default port to use for domain & probes check
9804
+ * @type {boolean}
9805
+ * @memberof ServicePortRequestPorts
9806
+ */
9807
+ 'is_default'?: boolean;
9824
9808
  /**
9825
9809
  *
9826
9810
  * @type {PortProtocolEnum}
@@ -9828,6 +9812,19 @@ export interface ServicePortRequestPorts {
9828
9812
  */
9829
9813
  'protocol'?: PortProtocolEnum;
9830
9814
  }
9815
+ /**
9816
+ *
9817
+ * @export
9818
+ * @interface ServicePortResponseList
9819
+ */
9820
+ export interface ServicePortResponseList {
9821
+ /**
9822
+ *
9823
+ * @type {Array<ServicePort>}
9824
+ * @memberof ServicePortResponseList
9825
+ */
9826
+ 'results'?: Array<ServicePort>;
9827
+ }
9831
9828
  /**
9832
9829
  *
9833
9830
  * @export
@@ -9841,6 +9838,19 @@ export interface ServiceResponseList {
9841
9838
  */
9842
9839
  'results'?: Array<Service>;
9843
9840
  }
9841
+ /**
9842
+ *
9843
+ * @export
9844
+ * @interface ServiceStorage
9845
+ */
9846
+ export interface ServiceStorage {
9847
+ /**
9848
+ *
9849
+ * @type {Array<ServiceStorageStorage>}
9850
+ * @memberof ServiceStorage
9851
+ */
9852
+ 'storage'?: Array<ServiceStorageStorage>;
9853
+ }
9844
9854
  /**
9845
9855
  *
9846
9856
  * @export
@@ -9860,6 +9870,12 @@ export interface ServiceStorageRequest {
9860
9870
  * @interface ServiceStorageRequestStorage
9861
9871
  */
9862
9872
  export interface ServiceStorageRequestStorage {
9873
+ /**
9874
+ *
9875
+ * @type {string}
9876
+ * @memberof ServiceStorageRequestStorage
9877
+ */
9878
+ 'id'?: string;
9863
9879
  /**
9864
9880
  *
9865
9881
  * @type {StorageTypeEnum}
@@ -9879,6 +9895,37 @@ export interface ServiceStorageRequestStorage {
9879
9895
  */
9880
9896
  'mount_point': string;
9881
9897
  }
9898
+ /**
9899
+ *
9900
+ * @export
9901
+ * @interface ServiceStorageStorage
9902
+ */
9903
+ export interface ServiceStorageStorage {
9904
+ /**
9905
+ *
9906
+ * @type {string}
9907
+ * @memberof ServiceStorageStorage
9908
+ */
9909
+ 'id': string;
9910
+ /**
9911
+ *
9912
+ * @type {StorageTypeEnum}
9913
+ * @memberof ServiceStorageStorage
9914
+ */
9915
+ 'type': StorageTypeEnum;
9916
+ /**
9917
+ * unit is GB
9918
+ * @type {number}
9919
+ * @memberof ServiceStorageStorage
9920
+ */
9921
+ 'size': number;
9922
+ /**
9923
+ *
9924
+ * @type {string}
9925
+ * @memberof ServiceStorageStorage
9926
+ */
9927
+ 'mount_point': string;
9928
+ }
9882
9929
  /**
9883
9930
  *
9884
9931
  * @export
@@ -10117,7 +10164,7 @@ export interface Status {
10117
10164
  * @type {string}
10118
10165
  * @memberof Status
10119
10166
  */
10120
- 'id'?: string;
10167
+ 'id': string;
10121
10168
  /**
10122
10169
  *
10123
10170
  * @type {StateEnum}
@@ -10129,13 +10176,13 @@ export interface Status {
10129
10176
  * @type {string}
10130
10177
  * @memberof Status
10131
10178
  */
10132
- 'message'?: string | null;
10179
+ 'message'?: string;
10133
10180
  /**
10134
10181
  *
10135
10182
  * @type {ServiceDeploymentStatusEnum}
10136
10183
  * @memberof Status
10137
10184
  */
10138
- 'service_deployment_status'?: ServiceDeploymentStatusEnum | null;
10185
+ 'service_deployment_status': ServiceDeploymentStatusEnum;
10139
10186
  /**
10140
10187
  *
10141
10188
  * @type {string}
@@ -10471,10 +10518,10 @@ export interface VariableImportRequestVars {
10471
10518
  'value': string;
10472
10519
  /**
10473
10520
  *
10474
- * @type {EnvironmentVariableScopeEnum}
10521
+ * @type {APIVariableScopeEnum}
10475
10522
  * @memberof VariableImportRequestVars
10476
10523
  */
10477
- 'scope': EnvironmentVariableScopeEnum;
10524
+ 'scope': APIVariableScopeEnum;
10478
10525
  /**
10479
10526
  *
10480
10527
  * @type {boolean}
@@ -10502,10 +10549,10 @@ export interface VariableImportSuccessfulImportedVariables {
10502
10549
  'value'?: string;
10503
10550
  /**
10504
10551
  *
10505
- * @type {EnvironmentVariableScopeEnum}
10552
+ * @type {APIVariableScopeEnum}
10506
10553
  * @memberof VariableImportSuccessfulImportedVariables
10507
10554
  */
10508
- 'scope': EnvironmentVariableScopeEnum;
10555
+ 'scope': APIVariableScopeEnum;
10509
10556
  /**
10510
10557
  *
10511
10558
  * @type {boolean}
@@ -14612,21 +14659,20 @@ export const ApplicationSecretApiAxiosParamCreator = function (configuration?: C
14612
14659
  };
14613
14660
  },
14614
14661
  /**
14615
- * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
14616
- * @summary Create a secret override at the container level
14617
- * @param {string} containerId Container ID
14662
+ * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
14663
+ * @summary Delete a secret from an application
14664
+ * @param {string} applicationId Application ID
14618
14665
  * @param {string} secretId Secret ID
14619
- * @param {Value} [value]
14620
14666
  * @param {*} [options] Override http request option.
14621
14667
  * @throws {RequiredError}
14622
14668
  */
14623
- createContainerSecretOverride: async (containerId: string, secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14624
- // verify required parameter 'containerId' is not null or undefined
14625
- assertParamExists('createContainerSecretOverride', 'containerId', containerId)
14669
+ deleteApplicationSecret: async (applicationId: string, secretId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14670
+ // verify required parameter 'applicationId' is not null or undefined
14671
+ assertParamExists('deleteApplicationSecret', 'applicationId', applicationId)
14626
14672
  // verify required parameter 'secretId' is not null or undefined
14627
- assertParamExists('createContainerSecretOverride', 'secretId', secretId)
14628
- const localVarPath = `/container/{containerId}/secret/{secretId}/override`
14629
- .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
14673
+ assertParamExists('deleteApplicationSecret', 'secretId', secretId)
14674
+ const localVarPath = `/application/{applicationId}/secret/{secretId}`
14675
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
14630
14676
  .replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
14631
14677
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14632
14678
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14635,52 +14681,7 @@ export const ApplicationSecretApiAxiosParamCreator = function (configuration?: C
14635
14681
  baseOptions = configuration.baseOptions;
14636
14682
  }
14637
14683
 
14638
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14639
- const localVarHeaderParameter = {} as any;
14640
- const localVarQueryParameter = {} as any;
14641
-
14642
- // authentication bearerAuth required
14643
- // http bearer authentication required
14644
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
14645
-
14646
-
14647
-
14648
- localVarHeaderParameter['Content-Type'] = 'application/json';
14649
-
14650
- setSearchParams(localVarUrlObj, localVarQueryParameter);
14651
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14652
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14653
- localVarRequestOptions.data = serializeDataIfNeeded(value, localVarRequestOptions, configuration)
14654
-
14655
- return {
14656
- url: toPathString(localVarUrlObj),
14657
- options: localVarRequestOptions,
14658
- };
14659
- },
14660
- /**
14661
- * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
14662
- * @summary Delete a secret from an application
14663
- * @param {string} applicationId Application ID
14664
- * @param {string} secretId Secret ID
14665
- * @param {*} [options] Override http request option.
14666
- * @throws {RequiredError}
14667
- */
14668
- deleteApplicationSecret: async (applicationId: string, secretId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14669
- // verify required parameter 'applicationId' is not null or undefined
14670
- assertParamExists('deleteApplicationSecret', 'applicationId', applicationId)
14671
- // verify required parameter 'secretId' is not null or undefined
14672
- assertParamExists('deleteApplicationSecret', 'secretId', secretId)
14673
- const localVarPath = `/application/{applicationId}/secret/{secretId}`
14674
- .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
14675
- .replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
14676
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
14677
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14678
- let baseOptions;
14679
- if (configuration) {
14680
- baseOptions = configuration.baseOptions;
14681
- }
14682
-
14683
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14684
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14684
14685
  const localVarHeaderParameter = {} as any;
14685
14686
  const localVarQueryParameter = {} as any;
14686
14687
 
@@ -14833,19 +14834,6 @@ export const ApplicationSecretApiFp = function(configuration?: Configuration) {
14833
14834
  const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationSecretOverride(applicationId, secretId, value, options);
14834
14835
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14835
14836
  },
14836
- /**
14837
- * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
14838
- * @summary Create a secret override at the container level
14839
- * @param {string} containerId Container ID
14840
- * @param {string} secretId Secret ID
14841
- * @param {Value} [value]
14842
- * @param {*} [options] Override http request option.
14843
- * @throws {RequiredError}
14844
- */
14845
- async createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
14846
- const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
14847
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14848
- },
14849
14837
  /**
14850
14838
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
14851
14839
  * @summary Delete a secret from an application
@@ -14927,18 +14915,6 @@ export const ApplicationSecretApiFactory = function (configuration?: Configurati
14927
14915
  createApplicationSecretOverride(applicationId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
14928
14916
  return localVarFp.createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(axios, basePath));
14929
14917
  },
14930
- /**
14931
- * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
14932
- * @summary Create a secret override at the container level
14933
- * @param {string} containerId Container ID
14934
- * @param {string} secretId Secret ID
14935
- * @param {Value} [value]
14936
- * @param {*} [options] Override http request option.
14937
- * @throws {RequiredError}
14938
- */
14939
- createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
14940
- return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
14941
- },
14942
14918
  /**
14943
14919
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
14944
14920
  * @summary Delete a secret from an application
@@ -15023,20 +14999,6 @@ export class ApplicationSecretApi extends BaseAPI {
15023
14999
  return ApplicationSecretApiFp(this.configuration).createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(this.axios, this.basePath));
15024
15000
  }
15025
15001
 
15026
- /**
15027
- * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
15028
- * @summary Create a secret override at the container level
15029
- * @param {string} containerId Container ID
15030
- * @param {string} secretId Secret ID
15031
- * @param {Value} [value]
15032
- * @param {*} [options] Override http request option.
15033
- * @throws {RequiredError}
15034
- * @memberof ApplicationSecretApi
15035
- */
15036
- public createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig) {
15037
- return ApplicationSecretApiFp(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
15038
- }
15039
-
15040
15002
  /**
15041
15003
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
15042
15004
  * @summary Delete a secret from an application
@@ -15156,48 +15118,6 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
15156
15118
 
15157
15119
 
15158
15120
 
15159
- localVarHeaderParameter['Content-Type'] = 'application/json';
15160
-
15161
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15162
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15163
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15164
- localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
15165
-
15166
- return {
15167
- url: toPathString(localVarUrlObj),
15168
- options: localVarRequestOptions,
15169
- };
15170
- },
15171
- /**
15172
- * Update and deploy the selected services
15173
- * @summary Deploy services
15174
- * @param {string} environmentId Environment ID
15175
- * @param {DeployAllRequest} [deployAllRequest]
15176
- * @param {*} [options] Override http request option.
15177
- * @throws {RequiredError}
15178
- */
15179
- deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15180
- // verify required parameter 'environmentId' is not null or undefined
15181
- assertParamExists('deployAllServices', 'environmentId', environmentId)
15182
- const localVarPath = `/environment/{environmentId}/container/deploy`
15183
- .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
15184
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15185
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15186
- let baseOptions;
15187
- if (configuration) {
15188
- baseOptions = configuration.baseOptions;
15189
- }
15190
-
15191
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15192
- const localVarHeaderParameter = {} as any;
15193
- const localVarQueryParameter = {} as any;
15194
-
15195
- // authentication bearerAuth required
15196
- // http bearer authentication required
15197
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
15198
-
15199
-
15200
-
15201
15121
  localVarHeaderParameter['Content-Type'] = 'application/json';
15202
15122
 
15203
15123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -15468,18 +15388,6 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
15468
15388
  const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
15469
15389
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15470
15390
  },
15471
- /**
15472
- * Update and deploy the selected services
15473
- * @summary Deploy services
15474
- * @param {string} environmentId Environment ID
15475
- * @param {DeployAllRequest} [deployAllRequest]
15476
- * @param {*} [options] Override http request option.
15477
- * @throws {RequiredError}
15478
- */
15479
- async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
15480
- const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
15481
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15482
- },
15483
15391
  /**
15484
15392
  *
15485
15393
  * @summary List default application advanced settings
@@ -15577,17 +15485,6 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
15577
15485
  deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
15578
15486
  return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
15579
15487
  },
15580
- /**
15581
- * Update and deploy the selected services
15582
- * @summary Deploy services
15583
- * @param {string} environmentId Environment ID
15584
- * @param {DeployAllRequest} [deployAllRequest]
15585
- * @param {*} [options] Override http request option.
15586
- * @throws {RequiredError}
15587
- */
15588
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
15589
- return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
15590
- },
15591
15488
  /**
15592
15489
  *
15593
15490
  * @summary List default application advanced settings
@@ -15683,19 +15580,6 @@ export class ApplicationsApi extends BaseAPI {
15683
15580
  return ApplicationsApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
15684
15581
  }
15685
15582
 
15686
- /**
15687
- * Update and deploy the selected services
15688
- * @summary Deploy services
15689
- * @param {string} environmentId Environment ID
15690
- * @param {DeployAllRequest} [deployAllRequest]
15691
- * @param {*} [options] Override http request option.
15692
- * @throws {RequiredError}
15693
- * @memberof ApplicationsApi
15694
- */
15695
- public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
15696
- return ApplicationsApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
15697
- }
15698
-
15699
15583
  /**
15700
15584
  *
15701
15585
  * @summary List default application advanced settings
@@ -19199,11 +19083,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
19199
19083
  * @summary Edit advanced settings
19200
19084
  * @param {string} organizationId Organization ID
19201
19085
  * @param {string} clusterId Cluster ID
19202
- * @param {InlineObject1} [inlineObject1]
19086
+ * @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
19203
19087
  * @param {*} [options] Override http request option.
19204
19088
  * @throws {RequiredError}
19205
19089
  */
19206
- editClusterAdvancedSettings: async (organizationId: string, clusterId: string, inlineObject1?: InlineObject1, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19090
+ editClusterAdvancedSettings: async (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19207
19091
  // verify required parameter 'organizationId' is not null or undefined
19208
19092
  assertParamExists('editClusterAdvancedSettings', 'organizationId', organizationId)
19209
19093
  // verify required parameter 'clusterId' is not null or undefined
@@ -19233,7 +19117,7 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
19233
19117
  setSearchParams(localVarUrlObj, localVarQueryParameter);
19234
19118
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19235
19119
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19236
- localVarRequestOptions.data = serializeDataIfNeeded(inlineObject1, localVarRequestOptions, configuration)
19120
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterAdvancedSettings, localVarRequestOptions, configuration)
19237
19121
 
19238
19122
  return {
19239
19123
  url: toPathString(localVarUrlObj),
@@ -19808,12 +19692,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
19808
19692
  * @summary Edit advanced settings
19809
19693
  * @param {string} organizationId Organization ID
19810
19694
  * @param {string} clusterId Cluster ID
19811
- * @param {InlineObject1} [inlineObject1]
19695
+ * @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
19812
19696
  * @param {*} [options] Override http request option.
19813
19697
  * @throws {RequiredError}
19814
19698
  */
19815
- async editClusterAdvancedSettings(organizationId: string, clusterId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
19816
- const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, inlineObject1, options);
19699
+ async editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>> {
19700
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options);
19817
19701
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19818
19702
  },
19819
19703
  /**
@@ -19837,7 +19721,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
19837
19721
  * @param {*} [options] Override http request option.
19838
19722
  * @throws {RequiredError}
19839
19723
  */
19840
- async getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
19724
+ async getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>> {
19841
19725
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAdvancedSettings(organizationId, clusterId, options);
19842
19726
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19843
19727
  },
@@ -20020,12 +19904,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
20020
19904
  * @summary Edit advanced settings
20021
19905
  * @param {string} organizationId Organization ID
20022
19906
  * @param {string} clusterId Cluster ID
20023
- * @param {InlineObject1} [inlineObject1]
19907
+ * @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
20024
19908
  * @param {*} [options] Override http request option.
20025
19909
  * @throws {RequiredError}
20026
19910
  */
20027
- editClusterAdvancedSettings(organizationId: string, clusterId: string, inlineObject1?: InlineObject1, options?: any): AxiosPromise<object> {
20028
- return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, inlineObject1, options).then((request) => request(axios, basePath));
19911
+ editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings> {
19912
+ return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
20029
19913
  },
20030
19914
  /**
20031
19915
  * Edit routing table by returning updated table.
@@ -20047,7 +19931,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
20047
19931
  * @param {*} [options] Override http request option.
20048
19932
  * @throws {RequiredError}
20049
19933
  */
20050
- getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<object> {
19934
+ getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings> {
20051
19935
  return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
20052
19936
  },
20053
19937
  /**
@@ -20227,13 +20111,13 @@ export class ClustersApi extends BaseAPI {
20227
20111
  * @summary Edit advanced settings
20228
20112
  * @param {string} organizationId Organization ID
20229
20113
  * @param {string} clusterId Cluster ID
20230
- * @param {InlineObject1} [inlineObject1]
20114
+ * @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
20231
20115
  * @param {*} [options] Override http request option.
20232
20116
  * @throws {RequiredError}
20233
20117
  * @memberof ClustersApi
20234
20118
  */
20235
- public editClusterAdvancedSettings(organizationId: string, clusterId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig) {
20236
- return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, inlineObject1, options).then((request) => request(this.axios, this.basePath));
20119
+ public editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) {
20120
+ return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
20237
20121
  }
20238
20122
 
20239
20123
  /**
@@ -22805,11 +22689,11 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
22805
22689
  * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
22806
22690
  * @summary Edit container
22807
22691
  * @param {string} containerId Container ID
22808
- * @param {ContainerEditRequest} [containerEditRequest]
22692
+ * @param {ContainerRequest} [containerRequest]
22809
22693
  * @param {*} [options] Override http request option.
22810
22694
  * @throws {RequiredError}
22811
22695
  */
22812
- editContainer: async (containerId: string, containerEditRequest?: ContainerEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22696
+ editContainer: async (containerId: string, containerRequest?: ContainerRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
22813
22697
  // verify required parameter 'containerId' is not null or undefined
22814
22698
  assertParamExists('editContainer', 'containerId', containerId)
22815
22699
  const localVarPath = `/container/{containerId}`
@@ -22836,7 +22720,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
22836
22720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
22837
22721
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22838
22722
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22839
- localVarRequestOptions.data = serializeDataIfNeeded(containerEditRequest, localVarRequestOptions, configuration)
22723
+ localVarRequestOptions.data = serializeDataIfNeeded(containerRequest, localVarRequestOptions, configuration)
22840
22724
 
22841
22725
  return {
22842
22726
  url: toPathString(localVarUrlObj),
@@ -22982,12 +22866,12 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
22982
22866
  * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
22983
22867
  * @summary Edit container
22984
22868
  * @param {string} containerId Container ID
22985
- * @param {ContainerEditRequest} [containerEditRequest]
22869
+ * @param {ContainerRequest} [containerRequest]
22986
22870
  * @param {*} [options] Override http request option.
22987
22871
  * @throws {RequiredError}
22988
22872
  */
22989
- async editContainer(containerId: string, containerEditRequest?: ContainerEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
22990
- const localVarAxiosArgs = await localVarAxiosParamCreator.editContainer(containerId, containerEditRequest, options);
22873
+ async editContainer(containerId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
22874
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editContainer(containerId, containerRequest, options);
22991
22875
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22992
22876
  },
22993
22877
  /**
@@ -23047,12 +22931,12 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
23047
22931
  * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
23048
22932
  * @summary Edit container
23049
22933
  * @param {string} containerId Container ID
23050
- * @param {ContainerEditRequest} [containerEditRequest]
22934
+ * @param {ContainerRequest} [containerRequest]
23051
22935
  * @param {*} [options] Override http request option.
23052
22936
  * @throws {RequiredError}
23053
22937
  */
23054
- editContainer(containerId: string, containerEditRequest?: ContainerEditRequest, options?: any): AxiosPromise<ContainerResponse> {
23055
- return localVarFp.editContainer(containerId, containerEditRequest, options).then((request) => request(axios, basePath));
22938
+ editContainer(containerId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
22939
+ return localVarFp.editContainer(containerId, containerRequest, options).then((request) => request(axios, basePath));
23056
22940
  },
23057
22941
  /**
23058
22942
  *
@@ -23110,13 +22994,13 @@ export class ContainerMainCallsApi extends BaseAPI {
23110
22994
  * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
23111
22995
  * @summary Edit container
23112
22996
  * @param {string} containerId Container ID
23113
- * @param {ContainerEditRequest} [containerEditRequest]
22997
+ * @param {ContainerRequest} [containerRequest]
23114
22998
  * @param {*} [options] Override http request option.
23115
22999
  * @throws {RequiredError}
23116
23000
  * @memberof ContainerMainCallsApi
23117
23001
  */
23118
- public editContainer(containerId: string, containerEditRequest?: ContainerEditRequest, options?: AxiosRequestConfig) {
23119
- return ContainerMainCallsApiFp(this.configuration).editContainer(containerId, containerEditRequest, options).then((request) => request(this.axios, this.basePath));
23002
+ public editContainer(containerId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) {
23003
+ return ContainerMainCallsApiFp(this.configuration).editContainer(containerId, containerRequest, options).then((request) => request(this.axios, this.basePath));
23120
23004
  }
23121
23005
 
23122
23006
  /**
@@ -23460,14 +23344,18 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
23460
23344
  *
23461
23345
  * @summary Delete a container registry
23462
23346
  * @param {string} organizationId Organization ID
23347
+ * @param {string} containerRegistryId Container Registry ID
23463
23348
  * @param {*} [options] Override http request option.
23464
23349
  * @throws {RequiredError}
23465
23350
  */
23466
- deleteContainerRegistry: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23351
+ deleteContainerRegistry: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23467
23352
  // verify required parameter 'organizationId' is not null or undefined
23468
23353
  assertParamExists('deleteContainerRegistry', 'organizationId', organizationId)
23354
+ // verify required parameter 'containerRegistryId' is not null or undefined
23355
+ assertParamExists('deleteContainerRegistry', 'containerRegistryId', containerRegistryId)
23469
23356
  const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
23470
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
23357
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
23358
+ .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
23471
23359
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23472
23360
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23473
23361
  let baseOptions;
@@ -23485,6 +23373,94 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
23485
23373
 
23486
23374
 
23487
23375
 
23376
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23377
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23378
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23379
+
23380
+ return {
23381
+ url: toPathString(localVarUrlObj),
23382
+ options: localVarRequestOptions,
23383
+ };
23384
+ },
23385
+ /**
23386
+ *
23387
+ * @summary Edit a container registry
23388
+ * @param {string} organizationId Organization ID
23389
+ * @param {string} containerRegistryId Container Registry ID
23390
+ * @param {ContainerRegistryRequest} [containerRegistryRequest]
23391
+ * @param {*} [options] Override http request option.
23392
+ * @throws {RequiredError}
23393
+ */
23394
+ editContainerRegistry: async (organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23395
+ // verify required parameter 'organizationId' is not null or undefined
23396
+ assertParamExists('editContainerRegistry', 'organizationId', organizationId)
23397
+ // verify required parameter 'containerRegistryId' is not null or undefined
23398
+ assertParamExists('editContainerRegistry', 'containerRegistryId', containerRegistryId)
23399
+ const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
23400
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
23401
+ .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
23402
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23403
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23404
+ let baseOptions;
23405
+ if (configuration) {
23406
+ baseOptions = configuration.baseOptions;
23407
+ }
23408
+
23409
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23410
+ const localVarHeaderParameter = {} as any;
23411
+ const localVarQueryParameter = {} as any;
23412
+
23413
+ // authentication bearerAuth required
23414
+ // http bearer authentication required
23415
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
23416
+
23417
+
23418
+
23419
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23420
+
23421
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23422
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23423
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23424
+ localVarRequestOptions.data = serializeDataIfNeeded(containerRegistryRequest, localVarRequestOptions, configuration)
23425
+
23426
+ return {
23427
+ url: toPathString(localVarUrlObj),
23428
+ options: localVarRequestOptions,
23429
+ };
23430
+ },
23431
+ /**
23432
+ *
23433
+ * @summary Get a container registry
23434
+ * @param {string} organizationId Organization ID
23435
+ * @param {string} containerRegistryId Container Registry ID
23436
+ * @param {*} [options] Override http request option.
23437
+ * @throws {RequiredError}
23438
+ */
23439
+ getContainerRegistry: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23440
+ // verify required parameter 'organizationId' is not null or undefined
23441
+ assertParamExists('getContainerRegistry', 'organizationId', organizationId)
23442
+ // verify required parameter 'containerRegistryId' is not null or undefined
23443
+ assertParamExists('getContainerRegistry', 'containerRegistryId', containerRegistryId)
23444
+ const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
23445
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
23446
+ .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
23447
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23448
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23449
+ let baseOptions;
23450
+ if (configuration) {
23451
+ baseOptions = configuration.baseOptions;
23452
+ }
23453
+
23454
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23455
+ const localVarHeaderParameter = {} as any;
23456
+ const localVarQueryParameter = {} as any;
23457
+
23458
+ // authentication bearerAuth required
23459
+ // http bearer authentication required
23460
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
23461
+
23462
+
23463
+
23488
23464
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23489
23465
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23490
23466
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23592,11 +23568,37 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
23592
23568
  *
23593
23569
  * @summary Delete a container registry
23594
23570
  * @param {string} organizationId Organization ID
23571
+ * @param {string} containerRegistryId Container Registry ID
23572
+ * @param {*} [options] Override http request option.
23573
+ * @throws {RequiredError}
23574
+ */
23575
+ async deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContainerRegistry(organizationId, containerRegistryId, options);
23577
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23578
+ },
23579
+ /**
23580
+ *
23581
+ * @summary Edit a container registry
23582
+ * @param {string} organizationId Organization ID
23583
+ * @param {string} containerRegistryId Container Registry ID
23584
+ * @param {ContainerRegistryRequest} [containerRegistryRequest]
23585
+ * @param {*} [options] Override http request option.
23586
+ * @throws {RequiredError}
23587
+ */
23588
+ async editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
23589
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
23590
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23591
+ },
23592
+ /**
23593
+ *
23594
+ * @summary Get a container registry
23595
+ * @param {string} organizationId Organization ID
23596
+ * @param {string} containerRegistryId Container Registry ID
23595
23597
  * @param {*} [options] Override http request option.
23596
23598
  * @throws {RequiredError}
23597
23599
  */
23598
- async deleteContainerRegistry(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23599
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContainerRegistry(organizationId, options);
23600
+ async getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
23601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistry(organizationId, containerRegistryId, options);
23600
23602
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23601
23603
  },
23602
23604
  /**
@@ -23645,11 +23647,35 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
23645
23647
  *
23646
23648
  * @summary Delete a container registry
23647
23649
  * @param {string} organizationId Organization ID
23650
+ * @param {string} containerRegistryId Container Registry ID
23651
+ * @param {*} [options] Override http request option.
23652
+ * @throws {RequiredError}
23653
+ */
23654
+ deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<void> {
23655
+ return localVarFp.deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
23656
+ },
23657
+ /**
23658
+ *
23659
+ * @summary Edit a container registry
23660
+ * @param {string} organizationId Organization ID
23661
+ * @param {string} containerRegistryId Container Registry ID
23662
+ * @param {ContainerRegistryRequest} [containerRegistryRequest]
23663
+ * @param {*} [options] Override http request option.
23664
+ * @throws {RequiredError}
23665
+ */
23666
+ editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: any): AxiosPromise<ContainerRegistryResponse> {
23667
+ return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
23668
+ },
23669
+ /**
23670
+ *
23671
+ * @summary Get a container registry
23672
+ * @param {string} organizationId Organization ID
23673
+ * @param {string} containerRegistryId Container Registry ID
23648
23674
  * @param {*} [options] Override http request option.
23649
23675
  * @throws {RequiredError}
23650
23676
  */
23651
- deleteContainerRegistry(organizationId: string, options?: any): AxiosPromise<void> {
23652
- return localVarFp.deleteContainerRegistry(organizationId, options).then((request) => request(axios, basePath));
23677
+ getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse> {
23678
+ return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
23653
23679
  },
23654
23680
  /**
23655
23681
  * List supported container registries by Qovery and get the mandatory authentification configuration.
@@ -23697,12 +23723,40 @@ export class ContainerRegistriesApi extends BaseAPI {
23697
23723
  *
23698
23724
  * @summary Delete a container registry
23699
23725
  * @param {string} organizationId Organization ID
23726
+ * @param {string} containerRegistryId Container Registry ID
23727
+ * @param {*} [options] Override http request option.
23728
+ * @throws {RequiredError}
23729
+ * @memberof ContainerRegistriesApi
23730
+ */
23731
+ public deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
23732
+ return ContainerRegistriesApiFp(this.configuration).deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
23733
+ }
23734
+
23735
+ /**
23736
+ *
23737
+ * @summary Edit a container registry
23738
+ * @param {string} organizationId Organization ID
23739
+ * @param {string} containerRegistryId Container Registry ID
23740
+ * @param {ContainerRegistryRequest} [containerRegistryRequest]
23700
23741
  * @param {*} [options] Override http request option.
23701
23742
  * @throws {RequiredError}
23702
23743
  * @memberof ContainerRegistriesApi
23703
23744
  */
23704
- public deleteContainerRegistry(organizationId: string, options?: AxiosRequestConfig) {
23705
- return ContainerRegistriesApiFp(this.configuration).deleteContainerRegistry(organizationId, options).then((request) => request(this.axios, this.basePath));
23745
+ public editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig) {
23746
+ return ContainerRegistriesApiFp(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
23747
+ }
23748
+
23749
+ /**
23750
+ *
23751
+ * @summary Get a container registry
23752
+ * @param {string} organizationId Organization ID
23753
+ * @param {string} containerRegistryId Container Registry ID
23754
+ * @param {*} [options] Override http request option.
23755
+ * @throws {RequiredError}
23756
+ * @memberof ContainerRegistriesApi
23757
+ */
23758
+ public getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
23759
+ return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
23706
23760
  }
23707
23761
 
23708
23762
  /**
@@ -23731,28 +23785,24 @@ export class ContainerRegistriesApi extends BaseAPI {
23731
23785
 
23732
23786
 
23733
23787
  /**
23734
- * ContainerRegistryApi - axios parameter creator
23788
+ * ContainerSecretApi - axios parameter creator
23735
23789
  * @export
23736
23790
  */
23737
- export const ContainerRegistryApiAxiosParamCreator = function (configuration?: Configuration) {
23791
+ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Configuration) {
23738
23792
  return {
23739
23793
  /**
23740
- *
23741
- * @summary Edit a container registry
23742
- * @param {string} organizationId Organization ID
23743
- * @param {string} containerRegistryId Container Registry ID
23744
- * @param {ContainerRegistryRequest} [containerRegistryRequest]
23794
+ * - Add a secret to the container.
23795
+ * @summary Add a secret to the container
23796
+ * @param {string} containerId Container ID
23797
+ * @param {SecretRequest} [secretRequest]
23745
23798
  * @param {*} [options] Override http request option.
23746
23799
  * @throws {RequiredError}
23747
23800
  */
23748
- editContainerRegistry: async (organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23749
- // verify required parameter 'organizationId' is not null or undefined
23750
- assertParamExists('editContainerRegistry', 'organizationId', organizationId)
23751
- // verify required parameter 'containerRegistryId' is not null or undefined
23752
- assertParamExists('editContainerRegistry', 'containerRegistryId', containerRegistryId)
23753
- const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
23754
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
23755
- .replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
23801
+ createContainerSecret: async (containerId: string, secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23802
+ // verify required parameter 'containerId' is not null or undefined
23803
+ assertParamExists('createContainerSecret', 'containerId', containerId)
23804
+ const localVarPath = `/container/{containerId}/secret`
23805
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
23756
23806
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23757
23807
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23758
23808
  let baseOptions;
@@ -23760,7 +23810,7 @@ export const ContainerRegistryApiAxiosParamCreator = function (configuration?: C
23760
23810
  baseOptions = configuration.baseOptions;
23761
23811
  }
23762
23812
 
23763
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
23813
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23764
23814
  const localVarHeaderParameter = {} as any;
23765
23815
  const localVarQueryParameter = {} as any;
23766
23816
 
@@ -23775,103 +23825,30 @@ export const ContainerRegistryApiAxiosParamCreator = function (configuration?: C
23775
23825
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23776
23826
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23777
23827
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23778
- localVarRequestOptions.data = serializeDataIfNeeded(containerRegistryRequest, localVarRequestOptions, configuration)
23828
+ localVarRequestOptions.data = serializeDataIfNeeded(secretRequest, localVarRequestOptions, configuration)
23779
23829
 
23780
23830
  return {
23781
23831
  url: toPathString(localVarUrlObj),
23782
23832
  options: localVarRequestOptions,
23783
23833
  };
23784
23834
  },
23785
- }
23786
- };
23787
-
23788
- /**
23789
- * ContainerRegistryApi - functional programming interface
23790
- * @export
23791
- */
23792
- export const ContainerRegistryApiFp = function(configuration?: Configuration) {
23793
- const localVarAxiosParamCreator = ContainerRegistryApiAxiosParamCreator(configuration)
23794
- return {
23795
- /**
23796
- *
23797
- * @summary Edit a container registry
23798
- * @param {string} organizationId Organization ID
23799
- * @param {string} containerRegistryId Container Registry ID
23800
- * @param {ContainerRegistryRequest} [containerRegistryRequest]
23801
- * @param {*} [options] Override http request option.
23802
- * @throws {RequiredError}
23803
- */
23804
- async editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
23805
- const localVarAxiosArgs = await localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
23806
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23807
- },
23808
- }
23809
- };
23810
-
23811
- /**
23812
- * ContainerRegistryApi - factory interface
23813
- * @export
23814
- */
23815
- export const ContainerRegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23816
- const localVarFp = ContainerRegistryApiFp(configuration)
23817
- return {
23818
- /**
23819
- *
23820
- * @summary Edit a container registry
23821
- * @param {string} organizationId Organization ID
23822
- * @param {string} containerRegistryId Container Registry ID
23823
- * @param {ContainerRegistryRequest} [containerRegistryRequest]
23824
- * @param {*} [options] Override http request option.
23825
- * @throws {RequiredError}
23826
- */
23827
- editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: any): AxiosPromise<ContainerRegistryResponse> {
23828
- return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
23829
- },
23830
- };
23831
- };
23832
-
23833
- /**
23834
- * ContainerRegistryApi - object-oriented interface
23835
- * @export
23836
- * @class ContainerRegistryApi
23837
- * @extends {BaseAPI}
23838
- */
23839
- export class ContainerRegistryApi extends BaseAPI {
23840
- /**
23841
- *
23842
- * @summary Edit a container registry
23843
- * @param {string} organizationId Organization ID
23844
- * @param {string} containerRegistryId Container Registry ID
23845
- * @param {ContainerRegistryRequest} [containerRegistryRequest]
23846
- * @param {*} [options] Override http request option.
23847
- * @throws {RequiredError}
23848
- * @memberof ContainerRegistryApi
23849
- */
23850
- public editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig) {
23851
- return ContainerRegistryApiFp(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
23852
- }
23853
- }
23854
-
23855
-
23856
- /**
23857
- * ContainerSecretApi - axios parameter creator
23858
- * @export
23859
- */
23860
- export const ContainerSecretApiAxiosParamCreator = function (configuration?: Configuration) {
23861
- return {
23862
23835
  /**
23863
- * - Add a secret to the container.
23864
- * @summary Add a secret to the container
23836
+ * - Allows you to add an alias at container level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at container level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
23837
+ * @summary Create a secret alias at the container level
23865
23838
  * @param {string} containerId Container ID
23866
- * @param {SecretRequest} [secretRequest]
23839
+ * @param {string} secretId Secret ID
23840
+ * @param {Key} [key]
23867
23841
  * @param {*} [options] Override http request option.
23868
23842
  * @throws {RequiredError}
23869
23843
  */
23870
- createContainerSecret: async (containerId: string, secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23844
+ createContainerSecretAlias: async (containerId: string, secretId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23871
23845
  // verify required parameter 'containerId' is not null or undefined
23872
- assertParamExists('createContainerSecret', 'containerId', containerId)
23873
- const localVarPath = `/container/{containerId}/secret`
23874
- .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
23846
+ assertParamExists('createContainerSecretAlias', 'containerId', containerId)
23847
+ // verify required parameter 'secretId' is not null or undefined
23848
+ assertParamExists('createContainerSecretAlias', 'secretId', secretId)
23849
+ const localVarPath = `/container/{containerId}/secret/{secretId}/alias`
23850
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
23851
+ .replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
23875
23852
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23876
23853
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23877
23854
  let baseOptions;
@@ -23894,7 +23871,7 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
23894
23871
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23895
23872
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23896
23873
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23897
- localVarRequestOptions.data = serializeDataIfNeeded(secretRequest, localVarRequestOptions, configuration)
23874
+ localVarRequestOptions.data = serializeDataIfNeeded(key, localVarRequestOptions, configuration)
23898
23875
 
23899
23876
  return {
23900
23877
  url: toPathString(localVarUrlObj),
@@ -23902,20 +23879,20 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
23902
23879
  };
23903
23880
  },
23904
23881
  /**
23905
- * - Allows you to add an alias at container level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at container level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
23906
- * @summary Create a secret alias at the container level
23882
+ * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
23883
+ * @summary Create a secret override at the container level
23907
23884
  * @param {string} containerId Container ID
23908
23885
  * @param {string} secretId Secret ID
23909
- * @param {Key} [key]
23886
+ * @param {Value} [value]
23910
23887
  * @param {*} [options] Override http request option.
23911
23888
  * @throws {RequiredError}
23912
23889
  */
23913
- createContainerSecretAlias: async (containerId: string, secretId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23890
+ createContainerSecretOverride: async (containerId: string, secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23914
23891
  // verify required parameter 'containerId' is not null or undefined
23915
- assertParamExists('createContainerSecretAlias', 'containerId', containerId)
23892
+ assertParamExists('createContainerSecretOverride', 'containerId', containerId)
23916
23893
  // verify required parameter 'secretId' is not null or undefined
23917
- assertParamExists('createContainerSecretAlias', 'secretId', secretId)
23918
- const localVarPath = `/container/{containerId}/secret/{secretId}/alias`
23894
+ assertParamExists('createContainerSecretOverride', 'secretId', secretId)
23895
+ const localVarPath = `/container/{containerId}/secret/{secretId}/override`
23919
23896
  .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
23920
23897
  .replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
23921
23898
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -23940,7 +23917,7 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
23940
23917
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23941
23918
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23942
23919
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23943
- localVarRequestOptions.data = serializeDataIfNeeded(key, localVarRequestOptions, configuration)
23920
+ localVarRequestOptions.data = serializeDataIfNeeded(value, localVarRequestOptions, configuration)
23944
23921
 
23945
23922
  return {
23946
23923
  url: toPathString(localVarUrlObj),
@@ -24110,6 +24087,19 @@ export const ContainerSecretApiFp = function(configuration?: Configuration) {
24110
24087
  const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretAlias(containerId, secretId, key, options);
24111
24088
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24112
24089
  },
24090
+ /**
24091
+ * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
24092
+ * @summary Create a secret override at the container level
24093
+ * @param {string} containerId Container ID
24094
+ * @param {string} secretId Secret ID
24095
+ * @param {Value} [value]
24096
+ * @param {*} [options] Override http request option.
24097
+ * @throws {RequiredError}
24098
+ */
24099
+ async createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
24100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
24101
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24102
+ },
24113
24103
  /**
24114
24104
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
24115
24105
  * @summary Delete a secret from an container
@@ -24179,6 +24169,18 @@ export const ContainerSecretApiFactory = function (configuration?: Configuration
24179
24169
  createContainerSecretAlias(containerId: string, secretId: string, key?: Key, options?: any): AxiosPromise<Secret> {
24180
24170
  return localVarFp.createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(axios, basePath));
24181
24171
  },
24172
+ /**
24173
+ * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
24174
+ * @summary Create a secret override at the container level
24175
+ * @param {string} containerId Container ID
24176
+ * @param {string} secretId Secret ID
24177
+ * @param {Value} [value]
24178
+ * @param {*} [options] Override http request option.
24179
+ * @throws {RequiredError}
24180
+ */
24181
+ createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
24182
+ return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
24183
+ },
24182
24184
  /**
24183
24185
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
24184
24186
  * @summary Delete a secret from an container
@@ -24249,6 +24251,20 @@ export class ContainerSecretApi extends BaseAPI {
24249
24251
  return ContainerSecretApiFp(this.configuration).createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(this.axios, this.basePath));
24250
24252
  }
24251
24253
 
24254
+ /**
24255
+ * - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
24256
+ * @summary Create a secret override at the container level
24257
+ * @param {string} containerId Container ID
24258
+ * @param {string} secretId Secret ID
24259
+ * @param {Value} [value]
24260
+ * @param {*} [options] Override http request option.
24261
+ * @throws {RequiredError}
24262
+ * @memberof ContainerSecretApi
24263
+ */
24264
+ public createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig) {
24265
+ return ContainerSecretApiFp(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
24266
+ }
24267
+
24252
24268
  /**
24253
24269
  * - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
24254
24270
  * @summary Delete a secret from an container
@@ -24300,11 +24316,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
24300
24316
  * Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
24301
24317
  * @summary Auto deploy containers
24302
24318
  * @param {string} organizationId Organization ID
24303
- * @param {InlineObject2} [inlineObject2]
24319
+ * @param {InlineObject1} [inlineObject1]
24304
24320
  * @param {*} [options] Override http request option.
24305
24321
  * @throws {RequiredError}
24306
24322
  */
24307
- autoDeployContainerEnvironments: async (organizationId: string, inlineObject2?: InlineObject2, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24323
+ autoDeployContainerEnvironments: async (organizationId: string, inlineObject1?: InlineObject1, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24308
24324
  // verify required parameter 'organizationId' is not null or undefined
24309
24325
  assertParamExists('autoDeployContainerEnvironments', 'organizationId', organizationId)
24310
24326
  const localVarPath = `/organization/{organizationId}/container/deploy`
@@ -24331,7 +24347,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
24331
24347
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24332
24348
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24333
24349
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24334
- localVarRequestOptions.data = serializeDataIfNeeded(inlineObject2, localVarRequestOptions, configuration)
24350
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject1, localVarRequestOptions, configuration)
24335
24351
 
24336
24352
  return {
24337
24353
  url: toPathString(localVarUrlObj),
@@ -24583,11 +24599,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
24583
24599
  * Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
24584
24600
  * @summary Preview container environments
24585
24601
  * @param {string} organizationId Organization ID
24586
- * @param {InlineObject3} [inlineObject3]
24602
+ * @param {InlineObject2} [inlineObject2]
24587
24603
  * @param {*} [options] Override http request option.
24588
24604
  * @throws {RequiredError}
24589
24605
  */
24590
- previewContainerEnvironments: async (organizationId: string, inlineObject3?: InlineObject3, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24606
+ previewContainerEnvironments: async (organizationId: string, inlineObject2?: InlineObject2, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24591
24607
  // verify required parameter 'organizationId' is not null or undefined
24592
24608
  assertParamExists('previewContainerEnvironments', 'organizationId', organizationId)
24593
24609
  const localVarPath = `/organization/{organizationId}/container/preview`
@@ -24614,7 +24630,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
24614
24630
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24615
24631
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24616
24632
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24617
- localVarRequestOptions.data = serializeDataIfNeeded(inlineObject3, localVarRequestOptions, configuration)
24633
+ localVarRequestOptions.data = serializeDataIfNeeded(inlineObject2, localVarRequestOptions, configuration)
24618
24634
 
24619
24635
  return {
24620
24636
  url: toPathString(localVarUrlObj),
@@ -24635,12 +24651,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
24635
24651
  * Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
24636
24652
  * @summary Auto deploy containers
24637
24653
  * @param {string} organizationId Organization ID
24638
- * @param {InlineObject2} [inlineObject2]
24654
+ * @param {InlineObject1} [inlineObject1]
24639
24655
  * @param {*} [options] Override http request option.
24640
24656
  * @throws {RequiredError}
24641
24657
  */
24642
- async autoDeployContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
24643
- const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, inlineObject2, options);
24658
+ async autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
24659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, inlineObject1, options);
24644
24660
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24645
24661
  },
24646
24662
  /**
@@ -24716,12 +24732,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
24716
24732
  * Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
24717
24733
  * @summary Preview container environments
24718
24734
  * @param {string} organizationId Organization ID
24719
- * @param {InlineObject3} [inlineObject3]
24735
+ * @param {InlineObject2} [inlineObject2]
24720
24736
  * @param {*} [options] Override http request option.
24721
24737
  * @throws {RequiredError}
24722
24738
  */
24723
- async previewContainerEnvironments(organizationId: string, inlineObject3?: InlineObject3, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
24724
- const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, inlineObject3, options);
24739
+ async previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
24740
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, inlineObject2, options);
24725
24741
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24726
24742
  },
24727
24743
  }
@@ -24738,12 +24754,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
24738
24754
  * Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
24739
24755
  * @summary Auto deploy containers
24740
24756
  * @param {string} organizationId Organization ID
24741
- * @param {InlineObject2} [inlineObject2]
24757
+ * @param {InlineObject1} [inlineObject1]
24742
24758
  * @param {*} [options] Override http request option.
24743
24759
  * @throws {RequiredError}
24744
24760
  */
24745
- autoDeployContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: any): AxiosPromise<Status> {
24746
- return localVarFp.autoDeployContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(axios, basePath));
24761
+ autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: any): AxiosPromise<Status> {
24762
+ return localVarFp.autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(axios, basePath));
24747
24763
  },
24748
24764
  /**
24749
24765
  *
@@ -24812,12 +24828,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
24812
24828
  * Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
24813
24829
  * @summary Preview container environments
24814
24830
  * @param {string} organizationId Organization ID
24815
- * @param {InlineObject3} [inlineObject3]
24831
+ * @param {InlineObject2} [inlineObject2]
24816
24832
  * @param {*} [options] Override http request option.
24817
24833
  * @throws {RequiredError}
24818
24834
  */
24819
- previewContainerEnvironments(organizationId: string, inlineObject3?: InlineObject3, options?: any): AxiosPromise<Status> {
24820
- return localVarFp.previewContainerEnvironments(organizationId, inlineObject3, options).then((request) => request(axios, basePath));
24835
+ previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: any): AxiosPromise<Status> {
24836
+ return localVarFp.previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(axios, basePath));
24821
24837
  },
24822
24838
  };
24823
24839
  };
@@ -24833,13 +24849,13 @@ export class ContainersApi extends BaseAPI {
24833
24849
  * Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
24834
24850
  * @summary Auto deploy containers
24835
24851
  * @param {string} organizationId Organization ID
24836
- * @param {InlineObject2} [inlineObject2]
24852
+ * @param {InlineObject1} [inlineObject1]
24837
24853
  * @param {*} [options] Override http request option.
24838
24854
  * @throws {RequiredError}
24839
24855
  * @memberof ContainersApi
24840
24856
  */
24841
- public autoDeployContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig) {
24842
- return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(this.axios, this.basePath));
24857
+ public autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig) {
24858
+ return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(this.axios, this.basePath));
24843
24859
  }
24844
24860
 
24845
24861
  /**
@@ -24921,13 +24937,13 @@ export class ContainersApi extends BaseAPI {
24921
24937
  * Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
24922
24938
  * @summary Preview container environments
24923
24939
  * @param {string} organizationId Organization ID
24924
- * @param {InlineObject3} [inlineObject3]
24940
+ * @param {InlineObject2} [inlineObject2]
24925
24941
  * @param {*} [options] Override http request option.
24926
24942
  * @throws {RequiredError}
24927
24943
  * @memberof ContainersApi
24928
24944
  */
24929
- public previewContainerEnvironments(organizationId: string, inlineObject3?: InlineObject3, options?: AxiosRequestConfig) {
24930
- return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, inlineObject3, options).then((request) => request(this.axios, this.basePath));
24945
+ public previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig) {
24946
+ return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(this.axios, this.basePath));
24931
24947
  }
24932
24948
  }
24933
24949
 
@@ -30041,11 +30057,11 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
30041
30057
  *
30042
30058
  * @summary Create an environment
30043
30059
  * @param {string} projectId Project ID
30044
- * @param {EnvironmentRequest} [environmentRequest]
30060
+ * @param {CreateEnvironmentRequest} [createEnvironmentRequest]
30045
30061
  * @param {*} [options] Override http request option.
30046
30062
  * @throws {RequiredError}
30047
30063
  */
30048
- createEnvironment: async (projectId: string, environmentRequest?: EnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30064
+ createEnvironment: async (projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30049
30065
  // verify required parameter 'projectId' is not null or undefined
30050
30066
  assertParamExists('createEnvironment', 'projectId', projectId)
30051
30067
  const localVarPath = `/project/{projectId}/environment`
@@ -30072,7 +30088,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
30072
30088
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30073
30089
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30074
30090
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30075
- localVarRequestOptions.data = serializeDataIfNeeded(environmentRequest, localVarRequestOptions, configuration)
30091
+ localVarRequestOptions.data = serializeDataIfNeeded(createEnvironmentRequest, localVarRequestOptions, configuration)
30076
30092
 
30077
30093
  return {
30078
30094
  url: toPathString(localVarUrlObj),
@@ -30207,12 +30223,12 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
30207
30223
  *
30208
30224
  * @summary Create an environment
30209
30225
  * @param {string} projectId Project ID
30210
- * @param {EnvironmentRequest} [environmentRequest]
30226
+ * @param {CreateEnvironmentRequest} [createEnvironmentRequest]
30211
30227
  * @param {*} [options] Override http request option.
30212
30228
  * @throws {RequiredError}
30213
30229
  */
30214
- async createEnvironment(projectId: string, environmentRequest?: EnvironmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
30215
- const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironment(projectId, environmentRequest, options);
30230
+ async createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
30231
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironment(projectId, createEnvironmentRequest, options);
30216
30232
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30217
30233
  },
30218
30234
  /**
@@ -30262,12 +30278,12 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
30262
30278
  *
30263
30279
  * @summary Create an environment
30264
30280
  * @param {string} projectId Project ID
30265
- * @param {EnvironmentRequest} [environmentRequest]
30281
+ * @param {CreateEnvironmentRequest} [createEnvironmentRequest]
30266
30282
  * @param {*} [options] Override http request option.
30267
30283
  * @throws {RequiredError}
30268
30284
  */
30269
- createEnvironment(projectId: string, environmentRequest?: EnvironmentRequest, options?: any): AxiosPromise<Environment> {
30270
- return localVarFp.createEnvironment(projectId, environmentRequest, options).then((request) => request(axios, basePath));
30285
+ createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: any): AxiosPromise<Environment> {
30286
+ return localVarFp.createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(axios, basePath));
30271
30287
  },
30272
30288
  /**
30273
30289
  * Returns a list of environment ids, and for each its total numberof services
@@ -30313,13 +30329,13 @@ export class EnvironmentsApi extends BaseAPI {
30313
30329
  *
30314
30330
  * @summary Create an environment
30315
30331
  * @param {string} projectId Project ID
30316
- * @param {EnvironmentRequest} [environmentRequest]
30332
+ * @param {CreateEnvironmentRequest} [createEnvironmentRequest]
30317
30333
  * @param {*} [options] Override http request option.
30318
30334
  * @throws {RequiredError}
30319
30335
  * @memberof EnvironmentsApi
30320
30336
  */
30321
- public createEnvironment(projectId: string, environmentRequest?: EnvironmentRequest, options?: AxiosRequestConfig) {
30322
- return EnvironmentsApiFp(this.configuration).createEnvironment(projectId, environmentRequest, options).then((request) => request(this.axios, this.basePath));
30337
+ public createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: AxiosRequestConfig) {
30338
+ return EnvironmentsApiFp(this.configuration).createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
30323
30339
  }
30324
30340
 
30325
30341
  /**