@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
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.js","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook.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,sBAAsB,GAI/B,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,0BACE,UAAkB,EAC6B;IAC/C,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AAAA,CACH"}
1
+ {"version":3,"file":"playbook.js","sourceRoot":"","sources":["../../../../src/controlplane/models/playbook.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,sBAAsB,GAI/B,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,0BACE,UAAkB,EAC6B;IAC/C,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClD,sCAAsC,CACvC,CAAC;AAAA,CACH"}
@@ -3,7 +3,7 @@ import { ExtractionJobConfiguration, ExtractionJobConfiguration$Outbound } from
3
3
  export type UpdateExtractionBindingRequestContent = {
4
4
  expectedVersion: number;
5
5
  /**
6
- * 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.
6
+ * 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.
7
7
  */
8
8
  job?: ExtractionJobConfiguration | undefined;
9
9
  enabled?: boolean | undefined;
@@ -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 UpdateExtractionBindingResponseContent = {
11
11
  bindingId: string;
@@ -14,13 +14,13 @@ export type UpdateExtractionBindingResponseContent = {
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 UpdateExtractionBindingResponseContent = {
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 UpdatePlaybookResponseContent = {
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":"update-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/update-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":"update-playbook-response-content.d.ts","sourceRoot":"","sources":["../../../../src/controlplane/models/update-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":"update-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/update-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":"update-playbook-response-content.js","sourceRoot":"","sources":["../../../../src/controlplane/models/update-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"}
@@ -23,7 +23,7 @@ export declare class AgentPlaybooksService extends ClientSDK {
23
23
  */
24
24
  getNetworkInfo(options?: RequestOptions): Promise<models.GetNetworkInfoResponseContent>;
25
25
  /**
26
- * 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.
26
+ * 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.
27
27
  */
28
28
  listPlaybooks(options?: RequestOptions): Promise<models.ListPlaybooksResponseContent>;
29
29
  /**
@@ -32,7 +32,7 @@ export declare class AgentPlaybooksService extends ClientSDK {
32
32
  createPlaybook(request: models.CreatePlaybookRequestContent, options?: RequestOptions): Promise<models.CreatePlaybookResponseContent>;
33
33
  deletePlaybook(playbookId: string, options?: RequestOptions): Promise<void>;
34
34
  /**
35
- * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT.
35
+ * 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.
36
36
  */
37
37
  getPlaybook(playbookId: string, options?: RequestOptions): Promise<models.GetPlaybookResponseContent>;
38
38
  /**
@@ -45,7 +45,7 @@ export declare class AgentPlaybooksService extends ClientSDK {
45
45
  clearPlaybook(playbookId: string, scope?: models.ClearScope | undefined, options?: RequestOptions): Promise<models.ClearPlaybookResponseContent>;
46
46
  listExtractionBindings(playbookId: string, options?: RequestOptions): Promise<models.ListExtractionBindingsResponseContent>;
47
47
  /**
48
- * 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.
48
+ * 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.
49
49
  */
50
50
  createExtractionBinding(playbookId: string, body: models.CreateExtractionBindingRequestContent, options?: RequestOptions): Promise<models.CreateExtractionBindingResponseContent>;
51
51
  deleteExtractionBinding(playbookId: string, bindingId: string, options?: RequestOptions): Promise<models.DeleteExtractionBindingResponseContent>;
@@ -53,7 +53,7 @@ class AgentPlaybooksService extends sdks_js_1.ClientSDK {
53
53
  return (0, fp_js_1.unwrapAsync)((0, get_network_info_js_1.getNetworkInfo)(this, options));
54
54
  }
55
55
  /**
56
- * 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.
56
+ * 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.
57
57
  */
58
58
  async listPlaybooks(options) {
59
59
  return (0, fp_js_1.unwrapAsync)((0, list_playbooks_js_1.listPlaybooks)(this, options));
@@ -68,7 +68,7 @@ class AgentPlaybooksService extends sdks_js_1.ClientSDK {
68
68
  return (0, fp_js_1.unwrapAsync)((0, delete_playbook_js_1.deletePlaybook)(this, playbookId, options));
69
69
  }
70
70
  /**
71
- * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT.
71
+ * 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.
72
72
  */
73
73
  async getPlaybook(playbookId, options) {
74
74
  return (0, fp_js_1.unwrapAsync)((0, get_playbook_js_1.getPlaybook)(this, playbookId, options));
@@ -89,7 +89,7 @@ class AgentPlaybooksService extends sdks_js_1.ClientSDK {
89
89
  return (0, fp_js_1.unwrapAsync)((0, list_extraction_bindings_js_1.listExtractionBindings)(this, playbookId, options));
90
90
  }
91
91
  /**
92
- * 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.
92
+ * 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.
93
93
  */
94
94
  async createExtractionBinding(playbookId, body, options) {
95
95
  return (0, fp_js_1.unwrapAsync)((0, create_extraction_binding_js_1.createExtractionBinding)(this, playbookId, body, options));
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.1.0-beta.1";
30
+ readonly sdkVersion: "0.1.0-beta.2";
31
31
  readonly genVersion: "2.948.4";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0-beta.1 2.948.4 1.0.0 @redis-iris/agent-playbook";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.1.0-beta.2 2.948.4 1.0.0 @redis-iris/agent-playbook";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
@@ -19,8 +19,8 @@ function serverURLFromOptions(options) {
19
19
  exports.SDK_METADATA = {
20
20
  language: "typescript",
21
21
  openapiDocVersion: "1.0.0",
22
- sdkVersion: "0.1.0-beta.1",
22
+ sdkVersion: "0.1.0-beta.2",
23
23
  genVersion: "2.948.4",
24
- userAgent: "speakeasy-sdk/typescript 0.1.0-beta.1 2.948.4 1.0.0 @redis-iris/agent-playbook",
24
+ userAgent: "speakeasy-sdk/typescript 0.1.0-beta.2 2.948.4 1.0.0 @redis-iris/agent-playbook",
25
25
  };
26
26
  //# sourceMappingURL=config.js.map
@@ -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
@@ -13,7 +13,7 @@ import * as models from "../models/index.js";
13
13
  import * as operations from "../models/operations/index.js";
14
14
  import { APIPromise } from "../types/async.js";
15
15
  /**
16
- * 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.
16
+ * 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.
17
17
  */
18
18
  export function createExtractionBinding(client, playbookId, body, options) {
19
19
  return new 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
@@ -13,7 +13,7 @@ import * as models from "../models/index.js";
13
13
  import * as operations from "../models/operations/index.js";
14
14
  import { APIPromise } from "../types/async.js";
15
15
  /**
16
- * Reads one Playbook. Cloud requests require JSESSIONID and X-CSRF-Token in addition to the operator JWT.
16
+ * 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.
17
17
  */
18
18
  export function getPlaybook(client, playbookId, options) {
19
19
  return new 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
@@ -10,7 +10,7 @@ import * as errors from "../models/errors/index.js";
10
10
  import * as models from "../models/index.js";
11
11
  import { APIPromise } from "../types/async.js";
12
12
  /**
13
- * 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.
13
+ * 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.
14
14
  */
15
15
  export function listPlaybooks(client, options) {
16
16
  return new 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
@@ -14,8 +14,8 @@ export function serverURLFromOptions(options) {
14
14
  export const SDK_METADATA = {
15
15
  language: "typescript",
16
16
  openapiDocVersion: "1.0.0",
17
- sdkVersion: "0.1.0-beta.1",
17
+ sdkVersion: "0.1.0-beta.2",
18
18
  genVersion: "2.948.4",
19
- userAgent: "speakeasy-sdk/typescript 0.1.0-beta.1 2.948.4 1.0.0 @redis-iris/agent-playbook",
19
+ userAgent: "speakeasy-sdk/typescript 0.1.0-beta.2 2.948.4 1.0.0 @redis-iris/agent-playbook",
20
20
  };
21
21
  //# 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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,qCAAqC,GACtC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAEL,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC;AAyC9B,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,qCAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,6BAA6B,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,2BAA2B;IAClC,SAAS,EAAE,6BAA6B;IACxC,SAAS,EAAE,6BAA6B;IACxC,cAAc,EAAE,4BAA4B;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,MAAM,UAAU,qCAAqC,CACnD,UAAkB,EACkD;IACpE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,qCAAqC,GACtC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAEL,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC;AA4C9B,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,QAAQ,EAAE;IAC9D,GAAG,EAAE,qCAAqC,CAAC,QAAQ,EAAE;IACrD,eAAe,EAAE,6BAA6B,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,2BAA2B;IAClC,SAAS,EAAE,6BAA6B;IACxC,SAAS,EAAE,6BAA6B;IACxC,cAAc,EAAE,4BAA4B;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,MAAM,UAAU,qCAAqC,CACnD,UAAkB,EACkD;IACpE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,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"}
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as openEnums from "../types/enums.js";
5
5
  export const ExtractionBindingStatus = {
6
- Preparing: "preparing",
7
6
  Ready: "ready",
8
7
  Blocked: "blocked",
9
8
  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,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAI9C,SAAS,CAAC,aAAa,CAAC,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,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAI9C,SAAS,CAAC,aAAa,CAAC,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"}
@@ -7,7 +7,6 @@ import { ExtractionJobType$inboundSchema, } from "./extraction-job-type.js";
7
7
  /** @internal */
8
8
  export const ExtractionJob$inboundSchema = z.object({
9
9
  type: ExtractionJobType$inboundSchema,
10
- intervalSeconds: z.number().int(),
11
10
  idleWindowSeconds: z.number().int(),
12
11
  });
13
12
  export 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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAclC,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+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,MAAM,UAAU,qBAAqB,CACnC,UAAkB,EACkC;IACpD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,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,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAEL,+BAA+B,GAChC,MAAM,0BAA0B,CAAC;AAUlC,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,+BAA+B;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACpC,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,UAAkB,EACkC;IACpD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,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.