@keboola/api-client 34.0.0 → 35.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @keboola/api-client
2
2
 
3
+ ## 35.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - **Breaking:** `Workspace` carries a required `state: 'active' | 'deactivated'`, the retention lifecycle state Storage already serves on the workspace list and detail. Reading a workspace is unaffected; code that _constructs_ a `Workspace` object literal — a test fixture, a mock — has to add the field.
8
+
9
+ Required rather than optional because the spec marks `state` required and the server always sends it, and because `Workspace` exists to model the response more accurately than the generated schema does — the neighbouring overrides already tighten `name`, `component`, `configurationId` and `platformUsageType` the same way.
10
+
11
+ `deactivated` means the backend login is disabled — no credentials, no load or unload — while the workspace stays listed so its owner can delete it. Storage collapses its internal `deactivation_notified` stage to `active`, so a workspace only scheduled for deactivation still reads as active (DMD-2101).
12
+
3
13
  ## 34.0.0
4
14
 
5
15
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keboola/api-client",
3
- "version": "34.0.0",
3
+ "version": "35.0.0",
4
4
  "description": "TypeScript SDK for Keboola APIs",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -934,8 +934,8 @@
934
934
  "vitest": "^4.1.10",
935
935
  "yaml": "^2.8.3",
936
936
  "@keboola/oxlint-config": "^10.0.2",
937
- "@keboola/tsconfig": "^0.2.1",
938
- "@keboola/vitest-config": "^1.0.0"
937
+ "@keboola/vitest-config": "^1.0.0",
938
+ "@keboola/tsconfig": "^0.2.1"
939
939
  },
940
940
  "scripts": {
941
941
  "gen:types": "node scripts/gen-types.mjs",