@redis-iris/agent-playbook 0.1.0-beta.1 → 0.1.0-beta.2

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 (115) hide show
  1. package/README.md +34 -16
  2. package/dist/commonjs/controlplane/funcs/create-extraction-binding.d.ts +1 -1
  3. package/dist/commonjs/controlplane/funcs/create-extraction-binding.js +1 -1
  4. package/dist/commonjs/controlplane/funcs/get-playbook.d.ts +1 -1
  5. package/dist/commonjs/controlplane/funcs/get-playbook.js +1 -1
  6. package/dist/commonjs/controlplane/funcs/list-playbooks.d.ts +1 -1
  7. package/dist/commonjs/controlplane/funcs/list-playbooks.js +1 -1
  8. package/dist/commonjs/controlplane/lib/config.d.ts +2 -2
  9. package/dist/commonjs/controlplane/lib/config.js +2 -2
  10. package/dist/commonjs/controlplane/models/create-extraction-binding-request-content.d.ts +2 -2
  11. package/dist/commonjs/controlplane/models/create-extraction-binding-response-content.d.ts +4 -4
  12. package/dist/commonjs/controlplane/models/create-playbook-response-content.d.ts +3 -0
  13. package/dist/commonjs/controlplane/models/create-playbook-response-content.d.ts.map +1 -1
  14. package/dist/commonjs/controlplane/models/create-playbook-response-content.js.map +1 -1
  15. package/dist/commonjs/controlplane/models/delete-extraction-binding-response-content.d.ts +4 -4
  16. package/dist/commonjs/controlplane/models/extraction-binding-source.d.ts +1 -1
  17. package/dist/commonjs/controlplane/models/extraction-binding-status.d.ts +0 -1
  18. package/dist/commonjs/controlplane/models/extraction-binding-status.d.ts.map +1 -1
  19. package/dist/commonjs/controlplane/models/extraction-binding-status.js +0 -1
  20. package/dist/commonjs/controlplane/models/extraction-binding-status.js.map +1 -1
  21. package/dist/commonjs/controlplane/models/extraction-binding.d.ts +4 -4
  22. package/dist/commonjs/controlplane/models/extraction-job-configuration.d.ts +1 -1
  23. package/dist/commonjs/controlplane/models/extraction-job.d.ts +0 -4
  24. package/dist/commonjs/controlplane/models/extraction-job.d.ts.map +1 -1
  25. package/dist/commonjs/controlplane/models/extraction-job.js +0 -1
  26. package/dist/commonjs/controlplane/models/extraction-job.js.map +1 -1
  27. package/dist/commonjs/controlplane/models/get-extraction-binding-response-content.d.ts +4 -4
  28. package/dist/commonjs/controlplane/models/get-playbook-response-content.d.ts +3 -0
  29. package/dist/commonjs/controlplane/models/get-playbook-response-content.d.ts.map +1 -1
  30. package/dist/commonjs/controlplane/models/get-playbook-response-content.js.map +1 -1
  31. package/dist/commonjs/controlplane/models/playbook-state.d.ts +7 -0
  32. package/dist/commonjs/controlplane/models/playbook-state.d.ts.map +1 -1
  33. package/dist/commonjs/controlplane/models/playbook-state.js +4 -0
  34. package/dist/commonjs/controlplane/models/playbook-state.js.map +1 -1
  35. package/dist/commonjs/controlplane/models/playbook.d.ts +3 -0
  36. package/dist/commonjs/controlplane/models/playbook.d.ts.map +1 -1
  37. package/dist/commonjs/controlplane/models/playbook.js.map +1 -1
  38. package/dist/commonjs/controlplane/models/update-extraction-binding-request-content.d.ts +1 -1
  39. package/dist/commonjs/controlplane/models/update-extraction-binding-response-content.d.ts +4 -4
  40. package/dist/commonjs/controlplane/models/update-playbook-response-content.d.ts +3 -0
  41. package/dist/commonjs/controlplane/models/update-playbook-response-content.d.ts.map +1 -1
  42. package/dist/commonjs/controlplane/models/update-playbook-response-content.js.map +1 -1
  43. package/dist/commonjs/controlplane/sdk/sdk.d.ts +3 -3
  44. package/dist/commonjs/controlplane/sdk/sdk.js +3 -3
  45. package/dist/commonjs/lib/config.d.ts +2 -2
  46. package/dist/commonjs/lib/config.js +2 -2
  47. package/dist/esm/controlplane/funcs/create-extraction-binding.d.ts +1 -1
  48. package/dist/esm/controlplane/funcs/create-extraction-binding.js +1 -1
  49. package/dist/esm/controlplane/funcs/get-playbook.d.ts +1 -1
  50. package/dist/esm/controlplane/funcs/get-playbook.js +1 -1
  51. package/dist/esm/controlplane/funcs/list-playbooks.d.ts +1 -1
  52. package/dist/esm/controlplane/funcs/list-playbooks.js +1 -1
  53. package/dist/esm/controlplane/lib/config.d.ts +2 -2
  54. package/dist/esm/controlplane/lib/config.js +2 -2
  55. package/dist/esm/controlplane/models/create-extraction-binding-request-content.d.ts +2 -2
  56. package/dist/esm/controlplane/models/create-extraction-binding-response-content.d.ts +4 -4
  57. package/dist/esm/controlplane/models/create-playbook-response-content.d.ts +3 -0
  58. package/dist/esm/controlplane/models/create-playbook-response-content.d.ts.map +1 -1
  59. package/dist/esm/controlplane/models/create-playbook-response-content.js.map +1 -1
  60. package/dist/esm/controlplane/models/delete-extraction-binding-response-content.d.ts +4 -4
  61. package/dist/esm/controlplane/models/extraction-binding-source.d.ts +1 -1
  62. package/dist/esm/controlplane/models/extraction-binding-status.d.ts +0 -1
  63. package/dist/esm/controlplane/models/extraction-binding-status.d.ts.map +1 -1
  64. package/dist/esm/controlplane/models/extraction-binding-status.js +0 -1
  65. package/dist/esm/controlplane/models/extraction-binding-status.js.map +1 -1
  66. package/dist/esm/controlplane/models/extraction-binding.d.ts +4 -4
  67. package/dist/esm/controlplane/models/extraction-job-configuration.d.ts +1 -1
  68. package/dist/esm/controlplane/models/extraction-job.d.ts +0 -4
  69. package/dist/esm/controlplane/models/extraction-job.d.ts.map +1 -1
  70. package/dist/esm/controlplane/models/extraction-job.js +0 -1
  71. package/dist/esm/controlplane/models/extraction-job.js.map +1 -1
  72. package/dist/esm/controlplane/models/get-extraction-binding-response-content.d.ts +4 -4
  73. package/dist/esm/controlplane/models/get-playbook-response-content.d.ts +3 -0
  74. package/dist/esm/controlplane/models/get-playbook-response-content.d.ts.map +1 -1
  75. package/dist/esm/controlplane/models/get-playbook-response-content.js.map +1 -1
  76. package/dist/esm/controlplane/models/playbook-state.d.ts +7 -0
  77. package/dist/esm/controlplane/models/playbook-state.d.ts.map +1 -1
  78. package/dist/esm/controlplane/models/playbook-state.js +4 -0
  79. package/dist/esm/controlplane/models/playbook-state.js.map +1 -1
  80. package/dist/esm/controlplane/models/playbook.d.ts +3 -0
  81. package/dist/esm/controlplane/models/playbook.d.ts.map +1 -1
  82. package/dist/esm/controlplane/models/playbook.js.map +1 -1
  83. package/dist/esm/controlplane/models/update-extraction-binding-request-content.d.ts +1 -1
  84. package/dist/esm/controlplane/models/update-extraction-binding-response-content.d.ts +4 -4
  85. package/dist/esm/controlplane/models/update-playbook-response-content.d.ts +3 -0
  86. package/dist/esm/controlplane/models/update-playbook-response-content.d.ts.map +1 -1
  87. package/dist/esm/controlplane/models/update-playbook-response-content.js.map +1 -1
  88. package/dist/esm/controlplane/sdk/sdk.d.ts +3 -3
  89. package/dist/esm/controlplane/sdk/sdk.js +3 -3
  90. package/dist/esm/lib/config.d.ts +2 -2
  91. package/dist/esm/lib/config.js +2 -2
  92. package/jsr.json +1 -1
  93. package/package.json +3 -3
  94. package/src/controlplane/funcs/create-extraction-binding.ts +1 -1
  95. package/src/controlplane/funcs/get-playbook.ts +1 -1
  96. package/src/controlplane/funcs/list-playbooks.ts +1 -1
  97. package/src/controlplane/lib/config.ts +2 -2
  98. package/src/controlplane/models/create-extraction-binding-request-content.ts +2 -2
  99. package/src/controlplane/models/create-extraction-binding-response-content.ts +4 -4
  100. package/src/controlplane/models/create-playbook-response-content.ts +3 -0
  101. package/src/controlplane/models/delete-extraction-binding-response-content.ts +4 -4
  102. package/src/controlplane/models/extraction-binding-source.ts +1 -1
  103. package/src/controlplane/models/extraction-binding-status.ts +0 -1
  104. package/src/controlplane/models/extraction-binding.ts +4 -4
  105. package/src/controlplane/models/extraction-job-configuration.ts +1 -1
  106. package/src/controlplane/models/extraction-job.ts +0 -5
  107. package/src/controlplane/models/get-extraction-binding-response-content.ts +4 -4
  108. package/src/controlplane/models/get-playbook-response-content.ts +3 -0
  109. package/src/controlplane/models/playbook-state.ts +7 -0
  110. package/src/controlplane/models/playbook.ts +3 -0
  111. package/src/controlplane/models/update-extraction-binding-request-content.ts +1 -1
  112. package/src/controlplane/models/update-extraction-binding-response-content.ts +4 -4
  113. package/src/controlplane/models/update-playbook-response-content.ts +3 -0
  114. package/src/controlplane/sdk/sdk.ts +3 -3
  115. package/src/lib/config.ts +2 -2
package/README.md CHANGED
@@ -132,25 +132,29 @@ network metadata. These optional fields may be absent on-prem.
132
132
 
133
133
  ### Extraction binding access and readiness
134
134
 
135
- Store suggestions are scoped to the tenant and do not grant access. When creating
136
- an extraction binding, the deployment's admin token can bind any store; an OIDC caller needs
137
- a deployment-configured store or read access approved by the Identity Service
138
- through a configured RAM connection. Unauthorized requests return 403 without
139
- revealing whether the store exists.
135
+ Store suggestions are scoped to the tenant and do not grant access. Creating a
136
+ binding synchronously checks the caller's management consent, same-account RAM
137
+ store ownership, destination readiness, and execution scope. A foreign or missing
138
+ source is refused without revealing its metadata.
140
139
 
141
- A new binding starts in `preparing` with `enabled=false`. Poll the binding until
142
- it is `ready`, then enable it with an update that passes its `version` as `expectedVersion`.
143
- Refused grants produce `blocked`; dependency outages remain pending for retry.
144
- Enabling extraction also requires the deployment's extraction feature to be enabled.
140
+ A new binding returns `ready` with `enabled=false`. Enable it with an update that
141
+ passes its `version` as `expectedVersion`. Every explicit enable revalidates source
142
+ consent and ownership with the current caller and can recover a blocked binding.
143
+ Pausing or deleting requires destination management access and makes no source or
144
+ grant-administration request. Runtime failures can mark a binding `blocked`;
145
+ clients must tolerate unknown `blockedReason` values.
146
+
147
+ Scan cadence is deployment-owned worker configuration. Binding requests and
148
+ responses omit `intervalSeconds`; `idleWindowSeconds` remains user-configurable.
145
149
 
146
150
  ## Release status
147
151
 
148
152
  This SDK is a beta prerelease. Breaking changes may land between beta releases
149
- without a major-version increment. The prepared npm release is `0.1.0-beta.1`,
150
- matching Python `0.1.0b1`. Install an exact published version and upgrade intentionally:
153
+ without a major-version increment. The prepared npm release is `0.1.0-beta.2`,
154
+ matching Python `0.1.0b2`. Install an exact published version and upgrade intentionally:
151
155
 
152
156
  ```bash
153
- npm install @redis-iris/agent-playbook@0.1.0-beta.1
157
+ npm install @redis-iris/agent-playbook@0.1.0-beta.2
154
158
  ```
155
159
 
156
160
  Node.js 20 or later is required. Both ESM and CommonJS imports are supported.
@@ -160,6 +164,19 @@ The generated snippets below use `<id>`, `https://api.example.com`, and
160
164
  bearer token, and service-issued IDs before running a snippet. In particular,
161
165
  `<id>` does not satisfy the Playbook ID format and is rejected before a request.
162
166
 
167
+ ## Upgrading to beta.2
168
+
169
+ Extraction job responses no longer expose `intervalSeconds`, and
170
+ `ExtractionBindingStatus` no longer declares `preparing`. Successful binding
171
+ creation returns `ready` and disabled; remove preparation polling and enable
172
+ explicitly after reviewing the binding. Remove reads of the retired scan-cadence
173
+ field and configure cadence on the deployment instead.
174
+
175
+ Cloud list/detail responses can report `state=unavailable` while preserving saved
176
+ configuration and omitting live database enrichment. This read state does not
177
+ confirm deletion or probe content Redis health. It cannot be submitted in a
178
+ mutation; writable states remain `ready` and `suspended`.
179
+
163
180
  ## Upgrading to beta.1
164
181
 
165
182
  The control-plane client is now `AgentPlaybooksService`, replacing
@@ -205,6 +222,7 @@ contract for future actions without content.
205
222
  * [Documentation](#documentation)
206
223
  * [Two clients, one package](#two-clients-one-package)
207
224
  * [Release status](#release-status)
225
+ * [Upgrading to beta.2](#upgrading-to-beta2)
208
226
  * [Upgrading to beta.1](#upgrading-to-beta1)
209
227
  * [Upgrading from alpha.2](#upgrading-from-alpha2)
210
228
  * [SDK Installation](#sdk-installation)
@@ -232,25 +250,25 @@ The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https
232
250
  ### NPM
233
251
 
234
252
  ```bash
235
- npm add @redis-iris/agent-playbook@0.1.0-beta.1
253
+ npm add @redis-iris/agent-playbook@0.1.0-beta.2
236
254
  ```
237
255
 
238
256
  ### PNPM
239
257
 
240
258
  ```bash
241
- pnpm add @redis-iris/agent-playbook@0.1.0-beta.1
259
+ pnpm add @redis-iris/agent-playbook@0.1.0-beta.2
242
260
  ```
243
261
 
244
262
  ### Bun
245
263
 
246
264
  ```bash
247
- bun add @redis-iris/agent-playbook@0.1.0-beta.1
265
+ bun add @redis-iris/agent-playbook@0.1.0-beta.2
248
266
  ```
249
267
 
250
268
  ### Yarn
251
269
 
252
270
  ```bash
253
- yarn add @redis-iris/agent-playbook@0.1.0-beta.1
271
+ yarn add @redis-iris/agent-playbook@0.1.0-beta.2
254
272
  ```
255
273
 
256
274
  > [!NOTE]
@@ -9,7 +9,7 @@ import * as models from "../models/index.js";
9
9
  import { APIPromise } from "../types/async.js";
10
10
  import { Result } from "../types/fp.js";
11
11
  /**
12
- * Registers a client-supplied RAM store reference and FAQ policy. The admin token can bind each store. An OIDC caller can bind a store in the configured store list. With a RAM connection, it can also bind a store on which it has read access in the Identity Service. In other cases, the request fails with 403, and the response does not show whether the store exists. Returns preparing and enabled=false. The control plane asynchronously provisions extraction-worker RAM source read and Playbook destination read/propose grants; both accepted grants make the binding ready, refused grants make it blocked, and dependency outages remain pending for retry. The worker validates live RAM access when extraction runs. Poll GET until ready, then PATCH to enable.
12
+ * Validates caller management consent, exact same-account RAM source ownership, destination readiness and execution scope synchronously. Success returns ready and enabled=false. Every explicit enable revalidates with the current caller. Pause/delete require destination management only and make no source or grant-administration request. A foreign or missing source is refused without revealing its metadata.
13
13
  */
14
14
  export declare function createExtractionBinding(client: AgentPlaybooksServiceCore, playbookId: string, body: models.CreateExtractionBindingRequestContent, options?: RequestOptions): APIPromise<Result<models.CreateExtractionBindingResponseContent, errors.BadRequestErrorResponseContent | errors.AuthenticationErrorResponseContent | errors.ExtractionForbiddenErrorResponseContent | errors.NotFoundErrorResponseContent | errors.TimeoutErrorResponseContent | errors.ExtractionConflictErrorResponseContent | errors.FailedDependencyErrorResponseContent | errors.UnexpectedErrorResponseContent | errors.PlaybookServiceUnavailableErrorResponseContent | AgentPlaybooksServiceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
15
  //# sourceMappingURL=create-extraction-binding.d.ts.map
@@ -49,7 +49,7 @@ const models = __importStar(require("../models/index.js"));
49
49
  const operations = __importStar(require("../models/operations/index.js"));
50
50
  const async_js_1 = require("../types/async.js");
51
51
  /**
52
- * Registers a client-supplied RAM store reference and FAQ policy. The admin token can bind each store. An OIDC caller can bind a store in the configured store list. With a RAM connection, it can also bind a store on which it has read access in the Identity Service. In other cases, the request fails with 403, and the response does not show whether the store exists. Returns preparing and enabled=false. The control plane asynchronously provisions extraction-worker RAM source read and Playbook destination read/propose grants; both accepted grants make the binding ready, refused grants make it blocked, and dependency outages remain pending for retry. The worker validates live RAM access when extraction runs. Poll GET until ready, then PATCH to enable.
52
+ * Validates caller management consent, exact same-account RAM source ownership, destination readiness and execution scope synchronously. Success returns ready and enabled=false. Every explicit enable revalidates with the current caller. Pause/delete require destination management only and make no source or grant-administration request. A foreign or missing source is refused without revealing its metadata.
53
53
  */
54
54
  function createExtractionBinding(client, playbookId, body, options) {
55
55
  return new async_js_1.APIPromise($do(client, playbookId, body, options));
@@ -9,7 +9,7 @@ import * as models from "../models/index.js";
9
9
  import { APIPromise } from "../types/async.js";
10
10
  import { Result } from "../types/fp.js";
11
11
  /**
12
- * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT.
12
+ * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. A missing or deleted database, or a recognized metadata connection failure, returns saved configuration with state=unavailable and without endpoints, databaseBinding.name, or databaseBinding.accessCidrs. This effective read state is not persisted and is not a mutation input. It reports unavailable live database information, not confirmed deletion or a content Redis health probe. Authorization, certificate-verification, cancellation/deadline, malformed-response, and unrelated service errors still fail the request.
13
13
  */
14
14
  export declare function getPlaybook(client: AgentPlaybooksServiceCore, playbookId: string, options?: RequestOptions): APIPromise<Result<models.GetPlaybookResponseContent, errors.BadRequestErrorResponseContent | errors.AuthenticationErrorResponseContent | errors.ExtractionForbiddenErrorResponseContent | errors.NotFoundErrorResponseContent | errors.TimeoutErrorResponseContent | errors.FailedDependencyErrorResponseContent | errors.UnexpectedErrorResponseContent | errors.PlaybookServiceUnavailableErrorResponseContent | AgentPlaybooksServiceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
15
  //# sourceMappingURL=get-playbook.d.ts.map
@@ -49,7 +49,7 @@ const models = __importStar(require("../models/index.js"));
49
49
  const operations = __importStar(require("../models/operations/index.js"));
50
50
  const async_js_1 = require("../types/async.js");
51
51
  /**
52
- * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT.
52
+ * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. A missing or deleted database, or a recognized metadata connection failure, returns saved configuration with state=unavailable and without endpoints, databaseBinding.name, or databaseBinding.accessCidrs. This effective read state is not persisted and is not a mutation input. It reports unavailable live database information, not confirmed deletion or a content Redis health probe. Authorization, certificate-verification, cancellation/deadline, malformed-response, and unrelated service errors still fail the request.
53
53
  */
54
54
  function getPlaybook(client, playbookId, options) {
55
55
  return new async_js_1.APIPromise($do(client, playbookId, options));
@@ -9,7 +9,7 @@ import * as models from "../models/index.js";
9
9
  import { APIPromise } from "../types/async.js";
10
10
  import { Result } from "../types/fp.js";
11
11
  /**
12
- * Lists the account's Playbooks. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. If a selected database is unavailable, its Playbook remains listed without endpoint, database name or accessCidrs enrichment.
12
+ * Lists the account's Playbooks. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. If a selected database is unavailable, its Playbook remains listed with state=unavailable and without endpoint, database name or accessCidrs enrichment for recognized missing/deleted database or metadata connection failures. Other inventory enrichment failures retain the saved state.
13
13
  */
14
14
  export declare function listPlaybooks(client: AgentPlaybooksServiceCore, options?: RequestOptions): APIPromise<Result<models.ListPlaybooksResponseContent, errors.BadRequestErrorResponseContent | errors.AuthenticationErrorResponseContent | errors.ExtractionForbiddenErrorResponseContent | errors.NotFoundErrorResponseContent | errors.TimeoutErrorResponseContent | errors.FailedDependencyErrorResponseContent | errors.UnexpectedErrorResponseContent | errors.PlaybookServiceUnavailableErrorResponseContent | AgentPlaybooksServiceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
15
  //# sourceMappingURL=list-playbooks.d.ts.map
@@ -46,7 +46,7 @@ const errors = __importStar(require("../models/errors/index.js"));
46
46
  const models = __importStar(require("../models/index.js"));
47
47
  const async_js_1 = require("../types/async.js");
48
48
  /**
49
- * Lists the account's Playbooks. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. If a selected database is unavailable, its Playbook remains listed without endpoint, database name or accessCidrs enrichment.
49
+ * Lists the account's Playbooks. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT. If a selected database is unavailable, its Playbook remains listed with state=unavailable and without endpoint, database name or accessCidrs enrichment for recognized missing/deleted database or metadata connection failures. Other inventory enrichment failures retain the saved state.
50
50
  */
51
51
  function listPlaybooks(client, options) {
52
52
  return new async_js_1.APIPromise($do(client, options));
@@ -23,8 +23,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
23
23
  export declare const SDK_METADATA: {
24
24
  readonly language: "typescript";
25
25
  readonly openapiDocVersion: "1.0.0";
26
- readonly sdkVersion: "0.1.0-beta.1";
26
+ readonly sdkVersion: "0.1.0-beta.2";
27
27
  readonly genVersion: "2.948.4";
28
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0-beta.1 2.948.4 1.0.0 @redis-iris/agent-playbook";
28
+ readonly userAgent: "speakeasy-sdk/typescript 0.1.0-beta.2 2.948.4 1.0.0 @redis-iris/agent-playbook";
29
29
  };
30
30
  //# sourceMappingURL=config.d.ts.map
@@ -18,8 +18,8 @@ function serverURLFromOptions(options) {
18
18
  exports.SDK_METADATA = {
19
19
  language: "typescript",
20
20
  openapiDocVersion: "1.0.0",
21
- sdkVersion: "0.1.0-beta.1",
21
+ sdkVersion: "0.1.0-beta.2",
22
22
  genVersion: "2.948.4",
23
- userAgent: "speakeasy-sdk/typescript 0.1.0-beta.1 2.948.4 1.0.0 @redis-iris/agent-playbook",
23
+ userAgent: "speakeasy-sdk/typescript 0.1.0-beta.2 2.948.4 1.0.0 @redis-iris/agent-playbook",
24
24
  };
25
25
  //# sourceMappingURL=config.js.map
@@ -3,11 +3,11 @@ import { ExtractionBindingSource, ExtractionBindingSource$Outbound } from "./ext
3
3
  import { ExtractionJobConfiguration, ExtractionJobConfiguration$Outbound } from "./extraction-job-configuration.js";
4
4
  export type CreateExtractionBindingRequestContent = {
5
5
  /**
6
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
6
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
7
7
  */
8
8
  source: ExtractionBindingSource;
9
9
  /**
10
- * One extraction kind and its user-owned policy. Scan cadence is fixed at 300 seconds and is not accepted in requests. Omitted idleWindowSeconds defaults to 1800 on create and retains its existing value on update. Idle bounds are 60–86400 seconds. Model context and output budgets are deployment-owned worker settings rather than binding fields. Job type is immutable; changing extraction kind requires a new binding. Policy changes advance the binding version and do not reset completed-source deduplication.
10
+ * One extraction kind and its user-owned policy. Scan cadence is deployment-owned worker configuration and is not accepted in requests or returned on bindings. Omitted idleWindowSeconds defaults to 1800 on create and retains its existing value on update. Idle bounds are 60–86400 seconds. Model context and output budgets are deployment-owned worker settings rather than binding fields. Job type is immutable; changing extraction kind requires a new binding. Policy changes advance the binding version and do not reset completed-source deduplication.
11
11
  */
12
12
  job: ExtractionJobConfiguration;
13
13
  };
@@ -5,7 +5,7 @@ import { ExtractionBindingSource } from "./extraction-binding-source.js";
5
5
  import { ExtractionBindingStatus } from "./extraction-binding-status.js";
6
6
  import { ExtractionJob } from "./extraction-job.js";
7
7
  /**
8
- * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Ready means the configured extraction-worker grants were accepted; the worker validates live RAM access during execution. Without a configured RAM connection, preparation remains pending and cannot be enabled. This release has no extraction worker. Activation requires a separate PATCH after readiness.
8
+ * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Creation synchronously validates caller consent and exact RAM source ownership, returning ready and disabled. Every explicit enable revalidates with the current caller. Consent is durable account-owned configuration.
9
9
  */
10
10
  export type CreateExtractionBindingResponseContent = {
11
11
  bindingId: string;
@@ -14,13 +14,13 @@ export type CreateExtractionBindingResponseContent = {
14
14
  */
15
15
  playbookId: string;
16
16
  /**
17
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
17
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
18
18
  */
19
19
  source: ExtractionBindingSource;
20
20
  job: ExtractionJob;
21
21
  status: ExtractionBindingStatus;
22
22
  /**
23
- * Activation intent. Creation is disabled; enabling requires ready status and a separate PATCH. Pausing clears intent and retains prepared source/destination grants.
23
+ * Activation intent. Creation is disabled. A separate enable PATCH revalidates current source consent and ownership, and can recover a blocked binding. Pausing clears intent without a RAM request or source permission.
24
24
  */
25
25
  enabled: boolean;
26
26
  /**
@@ -28,7 +28,7 @@ export type CreateExtractionBindingResponseContent = {
28
28
  */
29
29
  version: number;
30
30
  /**
31
- * Machine-readable source preparation or execution failure reason, such as source_grant_refused, source_not_found, or source_access_denied. Clients must tolerate unknown reasons.
31
+ * Machine-readable runtime failure reason, such as source_not_found or source_access_denied. Clients must tolerate unknown reasons.
32
32
  */
33
33
  blockedReason?: string | undefined;
34
34
  /**
@@ -24,6 +24,9 @@ export type CreatePlaybookResponseContent = {
24
24
  playbookId: string;
25
25
  tenantId: string;
26
26
  name: string;
27
+ /**
28
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
29
+ */
27
30
  state: PlaybookState;
28
31
  /**
29
32
  * Create-only embedding identity for a Playbook.
@@ -1 +1 @@
1
- {"version":3,"file":"create-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/create-playbook-response-content.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
1
+ {"version":3,"file":"create-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/create-playbook-response-content.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/create-playbook-response-content.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,qEAGkC;AAClC,+DAG+B;AAC/B,+DAG+B;AAC/B,iFAGwC;AACxC,+DAG+B;AAE/B,2DAG6B;AAC7B,6DAG8B;AAyC9B,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,wDAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,oEAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,mDAA6B,CAAC,QAAQ,EAAE;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,+CAA2B;IAClC,SAAS,EAAE,mDAA6B;IACxC,SAAS,EAAE,mDAA6B;IACxC,cAAc,EAAE,iDAA4B;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,+CACE,UAAkB,EACkD;IACpE,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2CAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"create-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/create-playbook-response-content.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,qEAGkC;AAClC,+DAG+B;AAC/B,+DAG+B;AAC/B,iFAGwC;AACxC,+DAG+B;AAE/B,2DAG6B;AAC7B,6DAG8B;AA4C9B,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,wDAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,oEAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,mDAA6B,CAAC,QAAQ,EAAE;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,+CAA2B;IAClC,SAAS,EAAE,mDAA6B;IACxC,SAAS,EAAE,mDAA6B;IACxC,cAAc,EAAE,iDAA4B;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,+CACE,UAAkB,EACkD;IACpE,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2CAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AAAA,CACH"}
@@ -5,7 +5,7 @@ import { ExtractionBindingSource } from "./extraction-binding-source.js";
5
5
  import { ExtractionBindingStatus } from "./extraction-binding-status.js";
6
6
  import { ExtractionJob } from "./extraction-job.js";
7
7
  /**
8
- * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Ready means the configured extraction-worker grants were accepted; the worker validates live RAM access during execution. Without a configured RAM connection, preparation remains pending and cannot be enabled. This release has no extraction worker. Activation requires a separate PATCH after readiness.
8
+ * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Creation synchronously validates caller consent and exact RAM source ownership, returning ready and disabled. Every explicit enable revalidates with the current caller. Consent is durable account-owned configuration.
9
9
  */
10
10
  export type DeleteExtractionBindingResponseContent = {
11
11
  bindingId: string;
@@ -14,13 +14,13 @@ export type DeleteExtractionBindingResponseContent = {
14
14
  */
15
15
  playbookId: string;
16
16
  /**
17
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
17
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
18
18
  */
19
19
  source: ExtractionBindingSource;
20
20
  job: ExtractionJob;
21
21
  status: ExtractionBindingStatus;
22
22
  /**
23
- * Activation intent. Creation is disabled; enabling requires ready status and a separate PATCH. Pausing clears intent and retains prepared source/destination grants.
23
+ * Activation intent. Creation is disabled. A separate enable PATCH revalidates current source consent and ownership, and can recover a blocked binding. Pausing clears intent without a RAM request or source permission.
24
24
  */
25
25
  enabled: boolean;
26
26
  /**
@@ -28,7 +28,7 @@ export type DeleteExtractionBindingResponseContent = {
28
28
  */
29
29
  version: number;
30
30
  /**
31
- * Machine-readable source preparation or execution failure reason, such as source_grant_refused, source_not_found, or source_access_denied. Clients must tolerate unknown reasons.
31
+ * Machine-readable runtime failure reason, such as source_not_found or source_access_denied. Clients must tolerate unknown reasons.
32
32
  */
33
33
  blockedReason?: string | undefined;
34
34
  /**
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdk-validation-error.js";
4
4
  import { ExtractionSourceType } from "./extraction-source-type.js";
5
5
  /**
6
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
6
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
7
7
  */
8
8
  export type ExtractionBindingSource = {
9
9
  storeId: string;
@@ -1,7 +1,6 @@
1
1
  import * as z from "zod/v3";
2
2
  import { OpenEnum } from "../types/enums.js";
3
3
  export declare const ExtractionBindingStatus: {
4
- readonly Preparing: "preparing";
5
4
  readonly Ready: "ready";
6
5
  readonly Blocked: "blocked";
7
6
  readonly Deleting: "deleting";
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-binding-status.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-binding-status.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAC2C,CAAC"}
1
+ {"version":3,"file":"extraction-binding-status.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-binding-status.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAC2C,CAAC"}
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ExtractionBindingStatus$inboundSchema = exports.ExtractionBindingStatus = void 0;
40
40
  const openEnums = __importStar(require("../types/enums.js"));
41
41
  exports.ExtractionBindingStatus = {
42
- Preparing: "preparing",
43
42
  Ready: "ready",
44
43
  Blocked: "blocked",
45
44
  Deleting: "deleting",
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-binding-status.js","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-binding-status.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,MAAY,SAAS,8CAA0B;AAGlC,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,SAAS,CAAC,aAAa,CAAC,QAAA,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"extraction-binding-status.js","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-binding-status.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,MAAY,SAAS,8CAA0B;AAGlC,QAAA,uBAAuB,GAAG;IACrC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,SAAS,CAAC,aAAa,CAAC,QAAA,uBAAuB,CAAC,CAAC"}
@@ -5,7 +5,7 @@ import { ExtractionBindingSource } from "./extraction-binding-source.js";
5
5
  import { ExtractionBindingStatus } from "./extraction-binding-status.js";
6
6
  import { ExtractionJob } from "./extraction-job.js";
7
7
  /**
8
- * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Ready means the configured extraction-worker grants were accepted; the worker validates live RAM access during execution. Without a configured RAM connection, preparation remains pending and cannot be enabled. This release has no extraction worker. Activation requires a separate PATCH after readiness.
8
+ * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Creation synchronously validates caller consent and exact RAM source ownership, returning ready and disabled. Every explicit enable revalidates with the current caller. Consent is durable account-owned configuration.
9
9
  */
10
10
  export type ExtractionBinding = {
11
11
  bindingId: string;
@@ -14,13 +14,13 @@ export type ExtractionBinding = {
14
14
  */
15
15
  playbookId: string;
16
16
  /**
17
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
17
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
18
18
  */
19
19
  source: ExtractionBindingSource;
20
20
  job: ExtractionJob;
21
21
  status: ExtractionBindingStatus;
22
22
  /**
23
- * Activation intent. Creation is disabled; enabling requires ready status and a separate PATCH. Pausing clears intent and retains prepared source/destination grants.
23
+ * Activation intent. Creation is disabled. A separate enable PATCH revalidates current source consent and ownership, and can recover a blocked binding. Pausing clears intent without a RAM request or source permission.
24
24
  */
25
25
  enabled: boolean;
26
26
  /**
@@ -28,7 +28,7 @@ export type ExtractionBinding = {
28
28
  */
29
29
  version: number;
30
30
  /**
31
- * Machine-readable source preparation or execution failure reason, such as source_grant_refused, source_not_found, or source_access_denied. Clients must tolerate unknown reasons.
31
+ * Machine-readable runtime failure reason, such as source_not_found or source_access_denied. Clients must tolerate unknown reasons.
32
32
  */
33
33
  blockedReason?: string | undefined;
34
34
  /**
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  import { ExtractionJobType } from "./extraction-job-type.js";
3
3
  /**
4
- * One extraction kind and its user-owned policy. Scan cadence is fixed at 300 seconds and is not accepted in requests. Omitted idleWindowSeconds defaults to 1800 on create and retains its existing value on update. Idle bounds are 60–86400 seconds. Model context and output budgets are deployment-owned worker settings rather than binding fields. Job type is immutable; changing extraction kind requires a new binding. Policy changes advance the binding version and do not reset completed-source deduplication.
4
+ * One extraction kind and its user-owned policy. Scan cadence is deployment-owned worker configuration and is not accepted in requests or returned on bindings. Omitted idleWindowSeconds defaults to 1800 on create and retains its existing value on update. Idle bounds are 60–86400 seconds. Model context and output budgets are deployment-owned worker settings rather than binding fields. Job type is immutable; changing extraction kind requires a new binding. Policy changes advance the binding version and do not reset completed-source deduplication.
5
5
  */
6
6
  export type ExtractionJobConfiguration = {
7
7
  /**
@@ -7,10 +7,6 @@ export type ExtractionJob = {
7
7
  * Exactly one extraction job kind. Skill extraction is reserved for future implementation and is currently rejected.
8
8
  */
9
9
  type: ExtractionJobType;
10
- /**
11
- * Read-only platform scan cadence, fixed at 300 seconds.
12
- */
13
- intervalSeconds: number;
14
10
  idleWindowSeconds: number;
15
11
  };
16
12
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-job.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-job.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
1
+ {"version":3,"file":"extraction-job.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-job.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
@@ -44,7 +44,6 @@ const extraction_job_type_js_1 = require("./extraction-job-type.js");
44
44
  /** @internal */
45
45
  exports.ExtractionJob$inboundSchema = z.object({
46
46
  type: extraction_job_type_js_1.ExtractionJobType$inboundSchema,
47
- intervalSeconds: z.number().int(),
48
47
  idleWindowSeconds: z.number().int(),
49
48
  });
50
49
  function extractionJobFromJSON(jsonString) {
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-job.js","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-job.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAG9C,qEAGkC;AAclC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,wDAA+B;IACrC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACpC,CAAC,CAAC;AAEH,+BACE,UAAkB,EACkC;IACpD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"extraction-job.js","sourceRoot":"","sources":["../../../../src/controlplane/models/extraction-job.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAG9C,qEAGkC;AAUlC,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,wDAA+B;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACpC,CAAC,CAAC;AAEH,+BACE,UAAkB,EACkC;IACpD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AAAA,CACH"}
@@ -5,7 +5,7 @@ import { ExtractionBindingSource } from "./extraction-binding-source.js";
5
5
  import { ExtractionBindingStatus } from "./extraction-binding-status.js";
6
6
  import { ExtractionJob } from "./extraction-job.js";
7
7
  /**
8
- * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Ready means the configured extraction-worker grants were accepted; the worker validates live RAM access during execution. Without a configured RAM connection, preparation remains pending and cannot be enabled. This release has no extraction worker. Activation requires a separate PATCH after readiness.
8
+ * Durable tenant-owned metadata for one Playbook, one RAM store, and one FAQ policy. Creation synchronously validates caller consent and exact RAM source ownership, returning ready and disabled. Every explicit enable revalidates with the current caller. Consent is durable account-owned configuration.
9
9
  */
10
10
  export type GetExtractionBindingResponseContent = {
11
11
  bindingId: string;
@@ -14,13 +14,13 @@ export type GetExtractionBindingResponseContent = {
14
14
  */
15
15
  playbookId: string;
16
16
  /**
17
- * Typed RAM store reference. This release accepts only redis_agent_memory and a client-supplied storeId. The source is implicitly whole-store. When the deployment enables the RAM connection, server-side preparation verifies store access. Namespace selection and extraction workers arrive later; credentials are never accepted here. Unknown fields are rejected.
17
+ * Typed RAM store reference. Only redis_agent_memory with a client-supplied storeId is supported. The source is implicitly whole-store. The control plane verifies source consent and same-account/tenant RAM ownership on create and every explicit enable. Namespace selection is not supported. Credentials are never accepted here. Unknown fields are rejected.
18
18
  */
19
19
  source: ExtractionBindingSource;
20
20
  job: ExtractionJob;
21
21
  status: ExtractionBindingStatus;
22
22
  /**
23
- * Activation intent. Creation is disabled; enabling requires ready status and a separate PATCH. Pausing clears intent and retains prepared source/destination grants.
23
+ * Activation intent. Creation is disabled. A separate enable PATCH revalidates current source consent and ownership, and can recover a blocked binding. Pausing clears intent without a RAM request or source permission.
24
24
  */
25
25
  enabled: boolean;
26
26
  /**
@@ -28,7 +28,7 @@ export type GetExtractionBindingResponseContent = {
28
28
  */
29
29
  version: number;
30
30
  /**
31
- * Machine-readable source preparation or execution failure reason, such as source_grant_refused, source_not_found, or source_access_denied. Clients must tolerate unknown reasons.
31
+ * Machine-readable runtime failure reason, such as source_not_found or source_access_denied. Clients must tolerate unknown reasons.
32
32
  */
33
33
  blockedReason?: string | undefined;
34
34
  /**
@@ -24,6 +24,9 @@ export type GetPlaybookResponseContent = {
24
24
  playbookId: string;
25
25
  tenantId: string;
26
26
  name: string;
27
+ /**
28
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
29
+ */
27
30
  state: PlaybookState;
28
31
  /**
29
32
  * Create-only embedding identity for a Playbook.
@@ -1 +1 @@
1
- {"version":3,"file":"get-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/get-playbook-response-content.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
1
+ {"version":3,"file":"get-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/get-playbook-response-content.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/get-playbook-response-content.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,qEAGkC;AAClC,+DAG+B;AAC/B,+DAG+B;AAC/B,iFAGwC;AACxC,+DAG+B;AAE/B,2DAG6B;AAC7B,6DAG8B;AAyC9B,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,wDAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,oEAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,mDAA6B,CAAC,QAAQ,EAAE;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,+CAA2B;IAClC,SAAS,EAAE,mDAA6B;IACxC,SAAS,EAAE,mDAA6B;IACxC,cAAc,EAAE,iDAA4B;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,4CACE,UAAkB,EAC+C;IACjE,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"get-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/get-playbook-response-content.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,CAAC,mCAAe;AAC5B,kDAA8C;AAE9C,qEAGkC;AAClC,+DAG+B;AAC/B,+DAG+B;AAC/B,iFAGwC;AACxC,+DAG+B;AAE/B,2DAG6B;AAC7B,6DAG8B;AA4C9B,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,wDAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,oEAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,mDAA6B,CAAC,QAAQ,EAAE;IACzD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,+CAA2B;IAClC,SAAS,EAAE,mDAA6B;IACxC,SAAS,EAAE,mDAA6B;IACxC,cAAc,EAAE,iDAA4B;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,4CACE,UAAkB,EAC+C;IACjE,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
@@ -1,12 +1,19 @@
1
1
  import * as z from "zod/v3";
2
2
  import { OpenEnum } from "../types/enums.js";
3
+ /**
4
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
5
+ */
3
6
  export declare const PlaybookState: {
4
7
  readonly Provisioning: "provisioning";
5
8
  readonly Ready: "ready";
6
9
  readonly Failed: "failed";
7
10
  readonly Suspended: "suspended";
8
11
  readonly Deleting: "deleting";
12
+ readonly Unavailable: "unavailable";
9
13
  };
14
+ /**
15
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
16
+ */
10
17
  export type PlaybookState = OpenEnum<typeof PlaybookState>;
11
18
  /** @internal */
12
19
  export declare const PlaybookState$inboundSchema: z.ZodType<PlaybookState, z.ZodTypeDef, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-state.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;CAMhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE3D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CACiC,CAAC"}
1
+ {"version":3,"file":"playbook-state.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE3D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CACiC,CAAC"}
@@ -38,12 +38,16 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PlaybookState$inboundSchema = exports.PlaybookState = void 0;
40
40
  const openEnums = __importStar(require("../types/enums.js"));
41
+ /**
42
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
43
+ */
41
44
  exports.PlaybookState = {
42
45
  Provisioning: "provisioning",
43
46
  Ready: "ready",
44
47
  Failed: "failed",
45
48
  Suspended: "suspended",
46
49
  Deleting: "deleting",
50
+ Unavailable: "unavailable",
47
51
  };
48
52
  /** @internal */
49
53
  exports.PlaybookState$inboundSchema = openEnums.inboundSchema(exports.PlaybookState);
@@ -1 +1 @@
1
- {"version":3,"file":"playbook-state.js","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook-state.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,MAAY,SAAS,8CAA0B;AAGlC,QAAA,aAAa,GAAG;IAC3B,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,SAAS,CAAC,aAAa,CAAC,QAAA,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"playbook-state.js","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook-state.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,MAAY,SAAS,8CAA0B;AAG/C;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CAClB,CAAC;AAMX,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,SAAS,CAAC,aAAa,CAAC,QAAA,aAAa,CAAC,CAAC"}
@@ -24,6 +24,9 @@ export type Playbook = {
24
24
  playbookId: string;
25
25
  tenantId: string;
26
26
  name: string;
27
+ /**
28
+ * Effective read state. Cloud reads can report unavailable when live database metadata cannot be obtained; this state is never persisted and cannot be submitted in a mutation.
29
+ */
27
30
  state: PlaybookState;
28
31
  /**
29
32
  * Create-only embedding identity for a Playbook.
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}
1
+ {"version":3,"file":"playbook.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,iBAAiB,EAElB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EAExB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,aAAa,EAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAAG;IACrB,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C"}