@platzio/sdk 0.5.2 → 0.5.3-beta.3

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/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
@@ -2474,7 +2474,7 @@ components:
2474
2474
  schema_version:
2475
2475
  type: integer
2476
2476
  format: int64
2477
- minimum: 0.0
2477
+ minimum: 0
2478
2478
  actions:
2479
2479
  type: array
2480
2480
  items:
@@ -2740,7 +2740,7 @@ components:
2740
2740
  refresh_interval_secs:
2741
2741
  type: integer
2742
2742
  format: int64
2743
- minimum: 0.0
2743
+ minimum: 0
2744
2744
  ChartExtVersionV1Beta1:
2745
2745
  type: string
2746
2746
  enum:
@@ -3262,7 +3262,6 @@ components:
3262
3262
  required:
3263
3263
  - helm_chart_id
3264
3264
  - config_inputs
3265
- - config_delta
3266
3265
  properties:
3267
3266
  helm_chart_id:
3268
3267
  type: string
@@ -3273,7 +3272,9 @@ components:
3273
3272
  nullable: true
3274
3273
  config_inputs: {}
3275
3274
  config_delta:
3276
- type: object
3275
+ allOf:
3276
+ - $ref: '#/components/schemas/JsonDiff'
3277
+ nullable: true
3277
3278
  values_override:
3278
3279
  nullable: true
3279
3280
  Env:
@@ -3435,6 +3436,16 @@ components:
3435
3436
  format: date-time
3436
3437
  pattern:
3437
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
3438
3449
  K8sCluster:
3439
3450
  type: object
3440
3451
  required:
package/openapitools.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
3
  "spaces": 2,
4
4
  "generator-cli": {
5
- "version": "6.6.0"
5
+ "version": "7.0.1"
6
6
  }
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platzio/sdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.3-beta.3",
4
4
  "description": "Platz.io SDK",
5
5
  "homepage": "https://platz.io",
6
6
  "repository": {