@platzio/sdk 0.5.2-beta.0 → 0.5.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +248 -381
- package/common.ts +1 -1
- package/openapi.yaml +22 -4
- package/openapitools.json +1 -1
- package/package.json +1 -1
package/common.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const toPathString = function (url: URL) {
|
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
146
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
147
|
-
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url};
|
|
147
|
+
const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || axios.defaults.baseURL || basePath) + axiosArgs.url};
|
|
148
148
|
return axios.request<T, R>(axiosRequestArgs);
|
|
149
149
|
};
|
|
150
150
|
}
|
package/openapi.yaml
CHANGED
|
@@ -1580,6 +1580,13 @@ paths:
|
|
|
1580
1580
|
- Kubernetes Clusters
|
|
1581
1581
|
operationId: allK8sClusters
|
|
1582
1582
|
parameters:
|
|
1583
|
+
- name: env_id
|
|
1584
|
+
in: query
|
|
1585
|
+
required: false
|
|
1586
|
+
schema:
|
|
1587
|
+
type: string
|
|
1588
|
+
format: uuid
|
|
1589
|
+
nullable: true
|
|
1583
1590
|
- name: name
|
|
1584
1591
|
in: query
|
|
1585
1592
|
required: false
|
|
@@ -2467,7 +2474,7 @@ components:
|
|
|
2467
2474
|
schema_version:
|
|
2468
2475
|
type: integer
|
|
2469
2476
|
format: int64
|
|
2470
|
-
minimum: 0
|
|
2477
|
+
minimum: 0
|
|
2471
2478
|
actions:
|
|
2472
2479
|
type: array
|
|
2473
2480
|
items:
|
|
@@ -2733,7 +2740,7 @@ components:
|
|
|
2733
2740
|
refresh_interval_secs:
|
|
2734
2741
|
type: integer
|
|
2735
2742
|
format: int64
|
|
2736
|
-
minimum: 0
|
|
2743
|
+
minimum: 0
|
|
2737
2744
|
ChartExtVersionV1Beta1:
|
|
2738
2745
|
type: string
|
|
2739
2746
|
enum:
|
|
@@ -3255,7 +3262,6 @@ components:
|
|
|
3255
3262
|
required:
|
|
3256
3263
|
- helm_chart_id
|
|
3257
3264
|
- config_inputs
|
|
3258
|
-
- config_delta
|
|
3259
3265
|
properties:
|
|
3260
3266
|
helm_chart_id:
|
|
3261
3267
|
type: string
|
|
@@ -3266,7 +3272,9 @@ components:
|
|
|
3266
3272
|
nullable: true
|
|
3267
3273
|
config_inputs: {}
|
|
3268
3274
|
config_delta:
|
|
3269
|
-
|
|
3275
|
+
allOf:
|
|
3276
|
+
- $ref: '#/components/schemas/JsonDiff'
|
|
3277
|
+
nullable: true
|
|
3270
3278
|
values_override:
|
|
3271
3279
|
nullable: true
|
|
3272
3280
|
Env:
|
|
@@ -3428,6 +3436,16 @@ components:
|
|
|
3428
3436
|
format: date-time
|
|
3429
3437
|
pattern:
|
|
3430
3438
|
type: string
|
|
3439
|
+
JsonDiff:
|
|
3440
|
+
type: object
|
|
3441
|
+
additionalProperties:
|
|
3442
|
+
$ref: '#/components/schemas/JsonDiffPair'
|
|
3443
|
+
JsonDiffPair:
|
|
3444
|
+
type: array
|
|
3445
|
+
items: {}
|
|
3446
|
+
description: ''
|
|
3447
|
+
maxItems: 2
|
|
3448
|
+
minItems: 2
|
|
3431
3449
|
K8sCluster:
|
|
3432
3450
|
type: object
|
|
3433
3451
|
required:
|
package/openapitools.json
CHANGED