@kortexya/reasoninglayer 5.1.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  // src/config.ts
8
- var SDK_VERSION = "5.1.0";
8
+ var SDK_VERSION = "6.0.0";
9
9
  function resolveConfig(config) {
10
10
  if (!config.baseUrl) {
11
11
  throw new Error("ClientConfig.baseUrl is required");
@@ -877,6 +877,8 @@ var USER_DATA_FIELDS = /* @__PURE__ */ new Set([
877
877
  "filter",
878
878
  "initialBindings",
879
879
  "initial_bindings",
880
+ "inputEtags",
881
+ "input_etags",
880
882
  "inputs",
881
883
  "interventions",
882
884
  "modifiedParams",
@@ -900,11 +902,13 @@ var USER_DATA_FIELDS = /* @__PURE__ */ new Set([
900
902
  "sort_names",
901
903
  "sources",
902
904
  "state",
905
+ "steps",
903
906
  "toolResults",
904
907
  "tool_results",
905
908
  "topK",
906
909
  "top_k",
907
- "values"
910
+ "values",
911
+ "verdicts"
908
912
  ]);
909
913
 
910
914
  // src/serialization.ts
@@ -2587,6 +2591,57 @@ var Inference = class {
2587
2591
  format: "json",
2588
2592
  ...params
2589
2593
  });
2594
+ /**
2595
+ * @description Aborts the job's task. The proof finishes the step it is on, its result is dropped, and the job reads `cancelled`. A job running on another engine is aborted there at its next heartbeat.
2596
+ *
2597
+ * @tags inference
2598
+ * @name CancelInferenceJob
2599
+ * @summary Cancel a running job.
2600
+ * @request POST:/api/v1/inference/jobs/{id}/cancel
2601
+ * @secure
2602
+ */
2603
+ cancelInferenceJob = (id, params = {}) => this.http.request({
2604
+ path: `/api/v1/inference/jobs/${id}/cancel`,
2605
+ method: "POST",
2606
+ secure: true,
2607
+ format: "json",
2608
+ ...params
2609
+ });
2610
+ /**
2611
+ * No description
2612
+ *
2613
+ * @tags inference
2614
+ * @name CategoricalInfer
2615
+ * @request POST:/api/v1/inference/categorical
2616
+ * @secure
2617
+ */
2618
+ categoricalInfer = (data, params = {}) => this.http.request({
2619
+ path: `/api/v1/inference/categorical`,
2620
+ method: "POST",
2621
+ body: data,
2622
+ secure: true,
2623
+ type: "application/json",
2624
+ format: "json",
2625
+ ...params
2626
+ });
2627
+ /**
2628
+ * No description
2629
+ *
2630
+ * @tags inference
2631
+ * @name CategoricalVerify
2632
+ * @summary Checks reproducibility against current inputs. This grants no authorization to act and does not establish truth of the model's numerical parameters.
2633
+ * @request POST:/api/v1/inference/categorical/verify
2634
+ * @secure
2635
+ */
2636
+ categoricalVerify = (data, params = {}) => this.http.request({
2637
+ path: `/api/v1/inference/categorical/verify`,
2638
+ method: "POST",
2639
+ body: data,
2640
+ secure: true,
2641
+ type: "application/json",
2642
+ format: "json",
2643
+ ...params
2644
+ });
2590
2645
  /**
2591
2646
  * @description This drops the hydrated base facts, the forward-chain `keep_derived` facts and the residuation store, then forgets the hydration flag so the next request reloads the base facts from PostgreSQL. **It does not delete durable data.** The terms are the authority; this is their cache. That makes it the retraction primitive forward chaining otherwise lacks. Chaining is monotonic — delete a `blocks` edge and the derived "A blocks B" survives every later pass, so the KB keeps asserting a relationship the user removed. Clearing and re-chaining rebuilds the closure from the terms that actually exist. # History Until 2026-07-28 this handler enumerated every term in the tenant and deleted it from PostgreSQL, while calling itself "clear facts" and reporting `"Cleared N facts/rules"`. It is reachable with an ordinary tenant credential — unlike `/api/v1/admin/clear-tenant/{tenant_id}`, which gateways block — so a caller reading the name, the path or the response body had no way to know it was a tenant wipe. It destroyed a live tenant that way. Use `DELETE /api/v1/terms/{term_id}` to delete a term, and the admin route to wipe a tenant; deleting durable data must not be something an endpoint does as a side effect of its name. # Authorization Requires X-Tenant-Id header, and the path tenant must match it.
2592
2647
  *
@@ -2655,6 +2710,21 @@ var Inference = class {
2655
2710
  format: "json",
2656
2711
  ...params
2657
2712
  });
2713
+ /**
2714
+ * No description
2715
+ *
2716
+ * @tags inference
2717
+ * @name DeleteInferenceJob
2718
+ * @summary Forget a job.
2719
+ * @request DELETE:/api/v1/inference/jobs/{id}
2720
+ * @secure
2721
+ */
2722
+ deleteInferenceJob = (id, params = {}) => this.http.request({
2723
+ path: `/api/v1/inference/jobs/${id}`,
2724
+ method: "DELETE",
2725
+ secure: true,
2726
+ ...params
2727
+ });
2658
2728
  /**
2659
2729
  * @description # The disposition is the caller's `?derivations=refuse` (the default) refuses while the rule still supports materialized conclusions and says how many; `?derivations=retract` withdraws them with it and reports the counts. A delete that silently drops derivations is as wrong as one that silently keeps them, so neither is the unnamed default. # Authorization Requires `X-Tenant-Id`. Runs the same delete guard as `DELETE /api/v1/terms/{id}` — a rule is a policy-relevant object, and withdrawing one changes what the engine will conclude. Honours `If-Match` against the conclusion's content ETag — the tag [`rule_content_tag`] publishes on the rule routes (#473) — and requires it under `OSFKB_REQUIRE_IF_MATCH=1`. Every request is captured by the audit middleware.
2660
2730
  *
@@ -2777,6 +2847,22 @@ var Inference = class {
2777
2847
  format: "json",
2778
2848
  ...params
2779
2849
  });
2850
+ /**
2851
+ * No description
2852
+ *
2853
+ * @tags inference
2854
+ * @name GetInferenceJob
2855
+ * @summary A job, with its result once it completed.
2856
+ * @request GET:/api/v1/inference/jobs/{id}
2857
+ * @secure
2858
+ */
2859
+ getInferenceJob = (id, params = {}) => this.http.request({
2860
+ path: `/api/v1/inference/jobs/${id}`,
2861
+ method: "GET",
2862
+ secure: true,
2863
+ format: "json",
2864
+ ...params
2865
+ });
2780
2866
  /**
2781
2867
  * @description Returns the sort IDs of built-in meta sorts (guard_constraint, variable, etc.) Clients need these IDs to create terms using built-in sorts. # TRUE HOMOICONICITY In Aït-Kaci's vision, everything is referenced by ID, not by name. This endpoint provides the IDs clients need for built-in sorts. # Authorization Requires X-Tenant-Id header.
2782
2868
  *
@@ -2825,6 +2911,22 @@ var Inference = class {
2825
2911
  format: "json",
2826
2912
  ...params
2827
2913
  });
2914
+ /**
2915
+ * No description
2916
+ *
2917
+ * @tags inference
2918
+ * @name ListInferenceJobs
2919
+ * @summary The tenant's jobs, newest first.
2920
+ * @request GET:/api/v1/inference/jobs
2921
+ * @secure
2922
+ */
2923
+ listInferenceJobs = (params = {}) => this.http.request({
2924
+ path: `/api/v1/inference/jobs`,
2925
+ method: "GET",
2926
+ secure: true,
2927
+ format: "json",
2928
+ ...params
2929
+ });
2828
2930
  /**
2829
2931
  * @description # TRUE HOMOICONIC API Uses LiteralInputDto with TermInputDto for literals. Response uses homoiconic SolutionDto. # Authorization Requires X-Tenant-Id header.
2830
2932
  *
@@ -2879,6 +2981,24 @@ var Inference = class {
2879
2981
  format: "json",
2880
2982
  ...params
2881
2983
  });
2984
+ /**
2985
+ * @description Runs a backward-chain, forward-chain, NAF or fuzzy-prove request in the engine and answers at once with a job id. Poll `GET /inference/jobs/{id}` for the result, which is the inline route's response body. The last 100 jobs per tenant are kept: in PostgreSQL when the engine has a database, where a job whose engine stops is resumed by another engine, which runs its request again (at most 3 runs); in the process otherwise.
2986
+ *
2987
+ * @tags inference
2988
+ * @name SubmitInferenceJob
2989
+ * @summary Submit an inference request to run in the background.
2990
+ * @request POST:/api/v1/inference/jobs
2991
+ * @secure
2992
+ */
2993
+ submitInferenceJob = (data, params = {}) => this.http.request({
2994
+ path: `/api/v1/inference/jobs`,
2995
+ method: "POST",
2996
+ body: data,
2997
+ secure: true,
2998
+ type: "application/json",
2999
+ format: "json",
3000
+ ...params
3001
+ });
2882
3002
  /**
2883
3003
  * @description In OSF/LIFE terms, the orchestrator pushes the conclusion gate and each antecedent gate toward the dual-weighted satisfaction objective `1 − ( w_D · K_D + w_K · K_K )` (paper eq. 4). Each call performs exactly one epoch over the supplied batch — the response carries the per-epoch metrics for that single epoch (multi-epoch aggregation is the caller's responsibility). # Authorization Requires `X-Tenant-Id` header.
2884
3004
  *
@@ -3050,6 +3170,22 @@ var Cognitive = class {
3050
3170
  format: "json",
3051
3171
  ...params
3052
3172
  });
3173
+ /**
3174
+ * No description
3175
+ *
3176
+ * @tags cognitive
3177
+ * @name ExportAgent
3178
+ * @summary Export an agent as a portable bundle.
3179
+ * @request GET:/api/v1/cognitive/agents/{agent_id}/export
3180
+ * @secure
3181
+ */
3182
+ exportAgent = (agentId, params = {}) => this.http.request({
3183
+ path: `/api/v1/cognitive/agents/${agentId}/export`,
3184
+ method: "GET",
3185
+ secure: true,
3186
+ format: "json",
3187
+ ...params
3188
+ });
3053
3189
  /**
3054
3190
  * @description Reads the persisted, tenant-scoped `ActionReviewConfig` from the registry (hydrating agents first so a restored snapshot's config is visible), or sensible defaults when none has been set. Complements the PUT so the UI's oversight editor can load what's actually stored instead of a local stand-in.
3055
3191
  *
@@ -3160,6 +3296,24 @@ var Cognitive = class {
3160
3296
  format: "json",
3161
3297
  ...params
3162
3298
  });
3299
+ /**
3300
+ * No description
3301
+ *
3302
+ * @tags cognitive
3303
+ * @name ImportAgent
3304
+ * @summary Create a new agent from a bundle.
3305
+ * @request POST:/api/v1/cognitive/agents/import
3306
+ * @secure
3307
+ */
3308
+ importAgent = (data, params = {}) => this.http.request({
3309
+ path: `/api/v1/cognitive/agents/import`,
3310
+ method: "POST",
3311
+ body: data,
3312
+ secure: true,
3313
+ type: "application/json",
3314
+ format: "json",
3315
+ ...params
3316
+ });
3163
3317
  /**
3164
3318
  * @description Unlike `provide_feedback` which accepts natural language corrections, this endpoint accepts a structured correction pattern directly as Ψ-term features. This is useful when the client has already parsed the correction.
3165
3319
  *
@@ -3176,6 +3330,23 @@ var Cognitive = class {
3176
3330
  format: "json",
3177
3331
  ...params
3178
3332
  });
3333
+ /**
3334
+ * @description The cycles the agent ran over HTTP, newest first: when, how long, completed or failed (with the reason), and the goals achieved and failed and actions executed. The last 200 runs per agent are kept: in PostgreSQL when the engine has a database (a restart keeps them), in the process otherwise.
3335
+ *
3336
+ * @tags cognitive
3337
+ * @name ListAgentRuns
3338
+ * @summary The agent's recent runs.
3339
+ * @request GET:/api/v1/cognitive/agents/{agent_id}/runs
3340
+ * @secure
3341
+ */
3342
+ listAgentRuns = (agentId, query, params = {}) => this.http.request({
3343
+ path: `/api/v1/cognitive/agents/${agentId}/runs`,
3344
+ method: "GET",
3345
+ query,
3346
+ secure: true,
3347
+ format: "json",
3348
+ ...params
3349
+ });
3179
3350
  /**
3180
3351
  * @description Returns each agent's basic BDI state (goals, beliefs, pending status), the same shape as `get_single_agent`. Lazy-hydrates from the database first so agents created by the backend, another device, or another client are included — not just those created in the current process. Tenant is identified by the `X-Tenant-Id` header.
3181
3352
  *
@@ -3352,6 +3523,24 @@ var Cognitive = class {
3352
3523
  format: "json",
3353
3524
  ...params
3354
3525
  });
3526
+ /**
3527
+ * No description
3528
+ *
3529
+ * @tags cognitive
3530
+ * @name UpdateAgent
3531
+ * @summary Rename an agent and replace its configuration.
3532
+ * @request PUT:/api/v1/cognitive/agents/{agent_id}
3533
+ * @secure
3534
+ */
3535
+ updateAgent = (agentId, data, params = {}) => this.http.request({
3536
+ path: `/api/v1/cognitive/agents/${agentId}`,
3537
+ method: "PUT",
3538
+ body: data,
3539
+ secure: true,
3540
+ type: "application/json",
3541
+ format: "json",
3542
+ ...params
3543
+ });
3355
3544
  };
3356
3545
 
3357
3546
  // src/api-spec/generated/CognitiveAgentsEpisodicMemory.ts
@@ -3681,17 +3870,21 @@ var Ingestion = class {
3681
3870
  ...params
3682
3871
  });
3683
3872
  /**
3684
- * No description
3873
+ * @description Parses the stored file by its name's extension and ingests it exactly as `POST /ingest/document` does: `parse_only` answers the Markdown (200) and keeps the bytes; `?sync=false` enqueues (202); otherwise the document is ingested inline (201). A `sha256` is checked against the whole file first. After an ingest the bytes are removed and the upload reads `ingested`; a failed parse (422) keeps them for a retry.
3685
3874
  *
3686
3875
  * @tags ingestion
3687
- * @name Chunk
3688
- * @request PUT:/api/v1/ingest/rdf/uploads/{id}
3876
+ * @name CompleteDocumentUpload
3877
+ * @summary Parse and ingest the uploaded file.
3878
+ * @request POST:/api/v1/ingest/documents/uploads/{id}/complete
3879
+ * @secure
3689
3880
  */
3690
- chunk = (id, query, data, params = {}) => this.http.request({
3691
- path: `/api/v1/ingest/rdf/uploads/${id}`,
3692
- method: "PUT",
3881
+ completeDocumentUpload = (id, data, query, params = {}) => this.http.request({
3882
+ path: `/api/v1/ingest/documents/uploads/${id}/complete`,
3883
+ method: "POST",
3693
3884
  query,
3694
3885
  body: data,
3886
+ secure: true,
3887
+ type: "application/json",
3695
3888
  format: "json",
3696
3889
  ...params
3697
3890
  });
@@ -3699,10 +3892,10 @@ var Ingestion = class {
3699
3892
  * No description
3700
3893
  *
3701
3894
  * @tags ingestion
3702
- * @name Complete
3895
+ * @name CompleteRdfUpload
3703
3896
  * @request POST:/api/v1/ingest/rdf/uploads/{id}/complete
3704
3897
  */
3705
- complete = (id, params = {}) => this.http.request({
3898
+ completeRdfUpload = (id, params = {}) => this.http.request({
3706
3899
  path: `/api/v1/ingest/rdf/uploads/${id}/complete`,
3707
3900
  method: "POST",
3708
3901
  format: "json",
@@ -3724,14 +3917,50 @@ var Ingestion = class {
3724
3917
  format: "json",
3725
3918
  ...params
3726
3919
  });
3920
+ /**
3921
+ * @description Opens a resumable upload. PUT the bytes chunk by chunk at `?offset=` (every chunk but the last exactly `chunk_bytes` long), then POST `complete` to parse and ingest the file as `POST /ingest/document` would. Files are kept under OSFKB_DOCUMENT_UPLOAD_DIR (default: the system temp directory).
3922
+ *
3923
+ * @tags ingestion
3924
+ * @name CreateDocumentUpload
3925
+ * @summary Open an upload.
3926
+ * @request POST:/api/v1/ingest/documents/uploads
3927
+ * @secure
3928
+ */
3929
+ createDocumentUpload = (data, params = {}) => this.http.request({
3930
+ path: `/api/v1/ingest/documents/uploads`,
3931
+ method: "POST",
3932
+ body: data,
3933
+ secure: true,
3934
+ type: "application/json",
3935
+ format: "json",
3936
+ ...params
3937
+ });
3938
+ /**
3939
+ * @description Registers a URL the engine re-crawls every `interval_seconds`, storing what changed through the same path as `POST /ingest/url`. The first refresh falls due after one interval; `POST /ingest/sources/{id}/refresh` runs one at once. With a database the sources are kept in PostgreSQL, survive a restart, and one engine refreshes each due source; without one they are held in the process.
3940
+ *
3941
+ * @tags ingestion
3942
+ * @name CreateIngestSource
3943
+ * @summary Register a source to refresh on an interval.
3944
+ * @request POST:/api/v1/ingest/sources
3945
+ * @secure
3946
+ */
3947
+ createIngestSource = (data, params = {}) => this.http.request({
3948
+ path: `/api/v1/ingest/sources`,
3949
+ method: "POST",
3950
+ body: data,
3951
+ secure: true,
3952
+ type: "application/json",
3953
+ format: "json",
3954
+ ...params
3955
+ });
3727
3956
  /**
3728
3957
  * No description
3729
3958
  *
3730
3959
  * @tags ingestion
3731
- * @name Create
3960
+ * @name CreateRdfUpload
3732
3961
  * @request POST:/api/v1/ingest/rdf/uploads
3733
3962
  */
3734
- create = (data, params = {}) => this.http.request({
3963
+ createRdfUpload = (data, params = {}) => this.http.request({
3735
3964
  path: `/api/v1/ingest/rdf/uploads`,
3736
3965
  method: "POST",
3737
3966
  body: data,
@@ -3739,6 +3968,21 @@ var Ingestion = class {
3739
3968
  format: "json",
3740
3969
  ...params
3741
3970
  });
3971
+ /**
3972
+ * No description
3973
+ *
3974
+ * @tags ingestion
3975
+ * @name DeleteDocumentUpload
3976
+ * @summary Discard an upload and its bytes.
3977
+ * @request DELETE:/api/v1/ingest/documents/uploads/{id}
3978
+ * @secure
3979
+ */
3980
+ deleteDocumentUpload = (id, params = {}) => this.http.request({
3981
+ path: `/api/v1/ingest/documents/uploads/${id}`,
3982
+ method: "DELETE",
3983
+ secure: true,
3984
+ ...params
3985
+ });
3742
3986
  /**
3743
3987
  * @description DELETE /api/v1/ingest/sessions/{session_id} Deletes an ingestion session and all associated progress records. This does NOT delete the ingested entities - only the session tracking data. # Path Parameters - `session_id`: UUID of the session to delete # Headers - `X-Tenant-Id`: Tenant ID for multi-tenancy isolation (required) # Response - 204 No Content on success
3744
3988
  *
@@ -3758,13 +4002,15 @@ var Ingestion = class {
3758
4002
  * No description
3759
4003
  *
3760
4004
  * @tags ingestion
3761
- * @name Get
3762
- * @request GET:/api/v1/ingest/rdf/uploads/{id}
4005
+ * @name DeleteIngestSource
4006
+ * @summary Remove a source.
4007
+ * @request DELETE:/api/v1/ingest/sources/{id}
4008
+ * @secure
3763
4009
  */
3764
- get = (id, params = {}) => this.http.request({
3765
- path: `/api/v1/ingest/rdf/uploads/${id}`,
3766
- method: "GET",
3767
- format: "json",
4010
+ deleteIngestSource = (id, params = {}) => this.http.request({
4011
+ path: `/api/v1/ingest/sources/${id}`,
4012
+ method: "DELETE",
4013
+ secure: true,
3768
4014
  ...params
3769
4015
  });
3770
4016
  /**
@@ -3783,6 +4029,22 @@ var Ingestion = class {
3783
4029
  format: "json",
3784
4030
  ...params
3785
4031
  });
4032
+ /**
4033
+ * No description
4034
+ *
4035
+ * @tags ingestion
4036
+ * @name GetDocumentUpload
4037
+ * @summary An upload's progress: `uploaded_bytes` is the offset to resume from.
4038
+ * @request GET:/api/v1/ingest/documents/uploads/{id}
4039
+ * @secure
4040
+ */
4041
+ getDocumentUpload = (id, params = {}) => this.http.request({
4042
+ path: `/api/v1/ingest/documents/uploads/${id}`,
4043
+ method: "GET",
4044
+ secure: true,
4045
+ format: "json",
4046
+ ...params
4047
+ });
3786
4048
  /**
3787
4049
  * @description GET /api/v1/ingest/sessions/{session_id}/documents/{document_id}/stats Returns the markdown ingestion stats of a specific document. Returns 204 No Content only while the document is still pending or in progress. A failed or cancelled document never gets stats: this route answers 409, and the failure reason is `documents[].error` on `GET /api/v1/ingest/sessions/{session_id}`. An RDF import has no markdown stats either: its receipt is on that same route, and this route answers 404. # Response Codes - 200: Document stats returned - 204: Document is still pending or in progress - 404: Session or document not found, an RDF import, or no stats recorded - 409: Document failed or was cancelled
3788
4050
  *
@@ -3863,6 +4125,19 @@ var Ingestion = class {
3863
4125
  format: "json",
3864
4126
  ...params
3865
4127
  });
4128
+ /**
4129
+ * No description
4130
+ *
4131
+ * @tags ingestion
4132
+ * @name GetRdfUpload
4133
+ * @request GET:/api/v1/ingest/rdf/uploads/{id}
4134
+ */
4135
+ getRdfUpload = (id, params = {}) => this.http.request({
4136
+ path: `/api/v1/ingest/rdf/uploads/${id}`,
4137
+ method: "GET",
4138
+ format: "json",
4139
+ ...params
4140
+ });
3866
4141
  /**
3867
4142
  * @description POST /api/v1/ingest/audio
3868
4143
  *
@@ -4030,31 +4305,34 @@ var Ingestion = class {
4030
4305
  ...params
4031
4306
  });
4032
4307
  /**
4033
- * No description
4308
+ * @description Returns paginated list of chunk failures in the dead-letter queue.
4034
4309
  *
4035
4310
  * @tags ingestion
4036
- * @name List
4037
- * @request GET:/api/v1/ingest/rdf/uploads
4311
+ * @name ListDlqEntries
4312
+ * @summary List pending DLQ entries for the current tenant.
4313
+ * @request GET:/api/v1/ingest/dlq
4314
+ * @secure
4038
4315
  */
4039
- list = (params = {}) => this.http.request({
4040
- path: `/api/v1/ingest/rdf/uploads`,
4316
+ listDlqEntries = (query, params = {}) => this.http.request({
4317
+ path: `/api/v1/ingest/dlq`,
4041
4318
  method: "GET",
4319
+ query,
4320
+ secure: true,
4042
4321
  format: "json",
4043
4322
  ...params
4044
4323
  });
4045
4324
  /**
4046
- * @description Returns paginated list of chunk failures in the dead-letter queue.
4325
+ * No description
4047
4326
  *
4048
4327
  * @tags ingestion
4049
- * @name ListDlqEntries
4050
- * @summary List pending DLQ entries for the current tenant.
4051
- * @request GET:/api/v1/ingest/dlq
4328
+ * @name ListDocumentUploads
4329
+ * @summary The tenant's uploads, oldest first.
4330
+ * @request GET:/api/v1/ingest/documents/uploads
4052
4331
  * @secure
4053
4332
  */
4054
- listDlqEntries = (query, params = {}) => this.http.request({
4055
- path: `/api/v1/ingest/dlq`,
4333
+ listDocumentUploads = (params = {}) => this.http.request({
4334
+ path: `/api/v1/ingest/documents/uploads`,
4056
4335
  method: "GET",
4057
- query,
4058
4336
  secure: true,
4059
4337
  format: "json",
4060
4338
  ...params
@@ -4095,15 +4373,62 @@ var Ingestion = class {
4095
4373
  * No description
4096
4374
  *
4097
4375
  * @tags ingestion
4098
- * @name Pause
4376
+ * @name ListIngestSources
4377
+ * @summary List the tenant's sources.
4378
+ * @request GET:/api/v1/ingest/sources
4379
+ * @secure
4380
+ */
4381
+ listIngestSources = (params = {}) => this.http.request({
4382
+ path: `/api/v1/ingest/sources`,
4383
+ method: "GET",
4384
+ secure: true,
4385
+ format: "json",
4386
+ ...params
4387
+ });
4388
+ /**
4389
+ * No description
4390
+ *
4391
+ * @tags ingestion
4392
+ * @name ListRdfUploads
4393
+ * @request GET:/api/v1/ingest/rdf/uploads
4394
+ */
4395
+ listRdfUploads = (params = {}) => this.http.request({
4396
+ path: `/api/v1/ingest/rdf/uploads`,
4397
+ method: "GET",
4398
+ format: "json",
4399
+ ...params
4400
+ });
4401
+ /**
4402
+ * No description
4403
+ *
4404
+ * @tags ingestion
4405
+ * @name PauseRdfUpload
4099
4406
  * @request POST:/api/v1/ingest/rdf/uploads/{id}/pause
4100
4407
  */
4101
- pause = (id, params = {}) => this.http.request({
4408
+ pauseRdfUpload = (id, params = {}) => this.http.request({
4102
4409
  path: `/api/v1/ingest/rdf/uploads/${id}/pause`,
4103
4410
  method: "POST",
4104
4411
  format: "json",
4105
4412
  ...params
4106
4413
  });
4414
+ /**
4415
+ * @description Stores the chunk at `offset`, which must be the next unwritten offset (a multiple of `chunk_bytes`). A chunk already stored may be sent again: it is acknowledged if its bytes match and refused if they differ. The receipt is answered once the bytes are on disk.
4416
+ *
4417
+ * @tags ingestion
4418
+ * @name PutDocumentUploadChunk
4419
+ * @summary Store one chunk.
4420
+ * @request PUT:/api/v1/ingest/documents/uploads/{id}
4421
+ * @secure
4422
+ */
4423
+ putDocumentUploadChunk = (id, query, data, params = {}) => this.http.request({
4424
+ path: `/api/v1/ingest/documents/uploads/${id}`,
4425
+ method: "PUT",
4426
+ query,
4427
+ body: data,
4428
+ secure: true,
4429
+ format: "json",
4430
+ ...params
4431
+ });
4107
4432
  /**
4108
4433
  * @description Finds documents stuck in InProgress for longer than the specified timeout and releases them back to Pending for re-processing.
4109
4434
  *
@@ -4122,6 +4447,22 @@ var Ingestion = class {
4122
4447
  format: "json",
4123
4448
  ...params
4124
4449
  });
4450
+ /**
4451
+ * No description
4452
+ *
4453
+ * @tags ingestion
4454
+ * @name RefreshIngestSource
4455
+ * @summary Refresh a source now.
4456
+ * @request POST:/api/v1/ingest/sources/{id}/refresh
4457
+ * @secure
4458
+ */
4459
+ refreshIngestSource = (id, params = {}) => this.http.request({
4460
+ path: `/api/v1/ingest/sources/${id}/refresh`,
4461
+ method: "POST",
4462
+ secure: true,
4463
+ format: "json",
4464
+ ...params
4465
+ });
4125
4466
  /**
4126
4467
  * @description Finds documents in Failed status, resets them and optionally re-enqueues them.
4127
4468
  *
@@ -4207,6 +4548,21 @@ var Ingestion = class {
4207
4548
  format: "json",
4208
4549
  ...params
4209
4550
  });
4551
+ /**
4552
+ * No description
4553
+ *
4554
+ * @tags ingestion
4555
+ * @name UploadRdfChunk
4556
+ * @request PUT:/api/v1/ingest/rdf/uploads/{id}
4557
+ */
4558
+ uploadRdfChunk = (id, query, data, params = {}) => this.http.request({
4559
+ path: `/api/v1/ingest/rdf/uploads/${id}`,
4560
+ method: "PUT",
4561
+ query,
4562
+ body: data,
4563
+ format: "json",
4564
+ ...params
4565
+ });
4210
4566
  /**
4211
4567
  * @description URL ingestion needs no configuration and is always available; the report carries its limits. Web search is available only when a search provider is registered (`WEB_SEARCH_API_URL`); otherwise `available` is `false`, `unavailable_reason` says what to set, and both `POST /api/v1/web/search` (503 `web_search_not_configured`) and the `web_search` agent action answer "not configured".
4212
4568
  *
@@ -4933,7 +5289,7 @@ var Copy = class {
4933
5289
  *
4934
5290
  * @tags copy
4935
5291
  * @name BatchCopy
4936
- * @summary Batch copy terms POST /api/v1/copy/batch
5292
+ * @summary Copy several terms; each copy succeeds or fails on its own POST /api/v1/copy/batch
4937
5293
  * @request POST:/api/v1/copy/batch
4938
5294
  * @secure
4939
5295
  */
@@ -4951,7 +5307,7 @@ var Copy = class {
4951
5307
  *
4952
5308
  * @tags copy
4953
5309
  * @name CopyTerm
4954
- * @summary Copy a term with specified semantics POST /api/v1/copy/term
5310
+ * @summary Copy a term into a new stored term POST /api/v1/copy/term
4955
5311
  * @request POST:/api/v1/copy/term
4956
5312
  * @secure
4957
5313
  */
@@ -4969,7 +5325,7 @@ var Copy = class {
4969
5325
  *
4970
5326
  * @tags copy
4971
5327
  * @name DeepCopy
4972
- * @summary Deep copy a term with cycle detection POST /api/v1/copy/deep
5328
+ * @summary Copy a term and the terms it references POST /api/v1/copy/deep
4973
5329
  * @request POST:/api/v1/copy/deep
4974
5330
  * @secure
4975
5331
  */
@@ -5140,6 +5496,21 @@ var Collections = class {
5140
5496
  constructor(http) {
5141
5497
  this.http = http;
5142
5498
  }
5499
+ /**
5500
+ * @description The term must exist for the caller's tenant (404 otherwise), and so must the collection. Membership only scopes the term: nothing about it changes.
5501
+ *
5502
+ * @tags collections
5503
+ * @name AddExistingTermToCollection
5504
+ * @summary Add an existing term to a collection.
5505
+ * @request PUT:/api/v1/collections/{id}/terms/{term_id}
5506
+ * @secure
5507
+ */
5508
+ addExistingTermToCollection = (id, termId, params = {}) => this.http.request({
5509
+ path: `/api/v1/collections/${id}/terms/${termId}`,
5510
+ method: "PUT",
5511
+ secure: true,
5512
+ ...params
5513
+ });
5143
5514
  /**
5144
5515
  * @description # Authorization Requires X-Namespace-Id header. The namespace_id field in the request body is ignored.
5145
5516
  *
@@ -5373,6 +5744,21 @@ var Collections = class {
5373
5744
  format: "json",
5374
5745
  ...params
5375
5746
  });
5747
+ /**
5748
+ * No description
5749
+ *
5750
+ * @tags collections
5751
+ * @name RemoveTermFromCollection
5752
+ * @summary Remove a term from a collection. The term itself is not deleted.
5753
+ * @request DELETE:/api/v1/collections/{id}/terms/{term_id}
5754
+ * @secure
5755
+ */
5756
+ removeTermFromCollection = (id, termId, params = {}) => this.http.request({
5757
+ path: `/api/v1/collections/${id}/terms/${termId}`,
5758
+ method: "DELETE",
5759
+ secure: true,
5760
+ ...params
5761
+ });
5376
5762
  /**
5377
5763
  * No description
5378
5764
  *
@@ -6095,6 +6481,24 @@ var Causal = class {
6095
6481
  format: "json",
6096
6482
  ...params
6097
6483
  });
6484
+ /**
6485
+ * No description
6486
+ *
6487
+ * @tags causal
6488
+ * @name EstimateCateHandler
6489
+ * @summary Estimate how a treatment's effect varies with the covariates (DR-learner).
6490
+ * @request POST:/api/v1/causal/cate
6491
+ * @secure
6492
+ */
6493
+ estimateCateHandler = (data, params = {}) => this.http.request({
6494
+ path: `/api/v1/causal/cate`,
6495
+ method: "POST",
6496
+ body: data,
6497
+ secure: true,
6498
+ type: "application/json",
6499
+ format: "json",
6500
+ ...params
6501
+ });
6098
6502
  /**
6099
6503
  * No description
6100
6504
  *
@@ -6131,6 +6535,24 @@ var Causal = class {
6131
6535
  format: "json",
6132
6536
  ...params
6133
6537
  });
6538
+ /**
6539
+ * No description
6540
+ *
6541
+ * @tags causal
6542
+ * @name EstimateLateHandler
6543
+ * @summary Estimate the effect of a treatment on compliers through a binary instrument.
6544
+ * @request POST:/api/v1/causal/late
6545
+ * @secure
6546
+ */
6547
+ estimateLateHandler = (data, params = {}) => this.http.request({
6548
+ path: `/api/v1/causal/late`,
6549
+ method: "POST",
6550
+ body: data,
6551
+ secure: true,
6552
+ type: "application/json",
6553
+ format: "json",
6554
+ ...params
6555
+ });
6134
6556
  /**
6135
6557
  * No description
6136
6558
  *
@@ -6185,6 +6607,24 @@ var Causal = class {
6185
6607
  format: "json",
6186
6608
  ...params
6187
6609
  });
6610
+ /**
6611
+ * @description Fits a triangular-kernel local linear regression on each side of the cutoff and reports the difference of the two intercepts. Sharp design only: treatment is exactly `running >= cutoff`.
6612
+ *
6613
+ * @tags causal
6614
+ * @name EstimateRegressionDiscontinuity
6615
+ * @summary Estimate the effect at a cutoff by sharp regression discontinuity.
6616
+ * @request POST:/api/v1/causal/rdd
6617
+ * @secure
6618
+ */
6619
+ estimateRegressionDiscontinuity = (data, params = {}) => this.http.request({
6620
+ path: `/api/v1/causal/rdd`,
6621
+ method: "POST",
6622
+ body: data,
6623
+ secure: true,
6624
+ type: "application/json",
6625
+ format: "json",
6626
+ ...params
6627
+ });
6188
6628
  /**
6189
6629
  * No description
6190
6630
  *
@@ -6203,6 +6643,42 @@ var Causal = class {
6203
6643
  format: "json",
6204
6644
  ...params
6205
6645
  });
6646
+ /**
6647
+ * No description
6648
+ *
6649
+ * @tags causal
6650
+ * @name EstimateSurvivalEffect
6651
+ * @summary Estimate the survival difference at a horizon from censored time-to-event units.
6652
+ * @request POST:/api/v1/causal/survival
6653
+ * @secure
6654
+ */
6655
+ estimateSurvivalEffect = (data, params = {}) => this.http.request({
6656
+ path: `/api/v1/causal/survival`,
6657
+ method: "POST",
6658
+ body: data,
6659
+ secure: true,
6660
+ type: "application/json",
6661
+ format: "json",
6662
+ ...params
6663
+ });
6664
+ /**
6665
+ * No description
6666
+ *
6667
+ * @tags causal
6668
+ * @name EstimateSyntheticControl
6669
+ * @summary Estimate a treated unit's effect against a synthetic counterfactual.
6670
+ * @request POST:/api/v1/causal/synthetic-control
6671
+ * @secure
6672
+ */
6673
+ estimateSyntheticControl = (data, params = {}) => this.http.request({
6674
+ path: `/api/v1/causal/synthetic-control`,
6675
+ method: "POST",
6676
+ body: data,
6677
+ secure: true,
6678
+ type: "application/json",
6679
+ format: "json",
6680
+ ...params
6681
+ });
6206
6682
  /**
6207
6683
  * @description The REAL three-step runs (exact abduction over the shared noise, surgery, forward prediction — `RuleScm` enumeration), with `causes(x, y, c)` read as an independent `Bernoulli(c)` transmission and effects as ORs of transmitted causes. Answers are exact RELATIVE TO that declared parameterization (the `method` field says so); unobserved roots carry flagged `Bernoulli(½)` priors reported in `assumed_root_priors`. Non-boolean variables, evidence impossible under the no-leak semantics, and oversized noise spaces refuse with the reason — declare a full SCM via `POST /api/v1/causal/counterfactual/scm` for richer mechanisms.
6208
6684
  *
@@ -6914,6 +7390,24 @@ var Ilp = class {
6914
7390
  format: "json",
6915
7391
  ...params
6916
7392
  });
7393
+ /**
7394
+ * @description FOIL: learns Horn clauses for the target relation by sequential covering, growing each clause one body literal at a time by information gain until it covers no negative example. Relations are sorts read through ordered features; the target's terms are the positives. Every returned clause covers no negative example and comes with an OSFQL DERIVE that installs it.
7395
+ *
7396
+ * @tags ilp
7397
+ * @name LearnRelationalRules
7398
+ * @summary Learn rules for a relation from the knowledge base's facts.
7399
+ * @request POST:/api/v1/ilp/learn-rules
7400
+ * @secure
7401
+ */
7402
+ learnRelationalRules = (data, params = {}) => this.http.request({
7403
+ path: `/api/v1/ilp/learn-rules`,
7404
+ method: "POST",
7405
+ body: data,
7406
+ secure: true,
7407
+ type: "application/json",
7408
+ format: "json",
7409
+ ...params
7410
+ });
6917
7411
  /**
6918
7412
  * @description GET /api/v1/ilp/patterns Returns all patterns that have been learned in this session.
6919
7413
  *
@@ -7234,7 +7728,7 @@ var Extraction = class {
7234
7728
  ...params
7235
7729
  });
7236
7730
  /**
7237
- * @description Uses GLiNER2 (zero-shot NER) with sort names from the tenant's knowledge base, guaranteeing that all returned entity labels are valid sort names. Label selection (when no explicit labels provided): Embed the input text and ANN-search the pre-computed sort embedding index (Qdrant) for the most semantically similar HPO sorts. This is O(log n) and typically returns 20-100 highly relevant labels from 19K+ HPO sorts. Requires: - GLiNER2 NER service (`GLINER_NER_URL`) - Qdrant vector store for semantic label selection If either is not configured, returns a 500 error.
7731
+ * @description Uses GLiNER2 (zero-shot NER) with sort names from the tenant's knowledge base, guaranteeing that all returned entity labels are valid sort names. Label selection (when no explicit labels provided): Embed the input text and ANN-search the pre-computed sort embedding index (Qdrant) for the most semantically similar HPO sorts. This is O(log n) and typically returns 20-100 highly relevant labels from 19K+ HPO sorts. Requires: - GLiNER2 NER service (`GLINER_NER_URL`) - Qdrant vector store for semantic label selection If either is not configured, returns 503.
7238
7732
  *
7239
7733
  * @tags extraction
7240
7734
  * @name ExtractEntities
@@ -8057,6 +8551,22 @@ var Reasoning = class {
8057
8551
  format: "json",
8058
8552
  ...params
8059
8553
  });
8554
+ /**
8555
+ * No description
8556
+ *
8557
+ * @tags reasoning
8558
+ * @name DisentailmentBatch
8559
+ * @summary Evaluate a batch of exclusions using one tenant store and one overlay. Errors invalidate the whole batch. An unviolated exclusion is not a claim that either operand is true, or that the supplied evidence is complete.
8560
+ * @request POST:/api/v1/reasoning/disentailment/batch
8561
+ */
8562
+ disentailmentBatch = (data, params = {}) => this.http.request({
8563
+ path: `/api/v1/reasoning/disentailment/batch`,
8564
+ method: "POST",
8565
+ body: data,
8566
+ type: "application/json",
8567
+ format: "json",
8568
+ ...params
8569
+ });
8060
8570
  /**
8061
8571
  * @description POST /api/v1/reasoning/entailment Answers `facts ⊨ antecedent ⇒ consequent`, hierarchy-aware and graded. A clause holds in the fact base to the degree that some fact *witnesses* it — that is, to the degree the clause subsumes a fact — so a `sparrow` fact establishes the clause `animal` without an `animal` fact being supplied. The consequent is additionally established when it subsumes the antecedent it would follow from. See [`osfkb_domain::operations::homoiconic_entailment`] for the full semantics. `entails` is the crisp reading of `degree`; `degree`, `antecedent_degree` and `consequent_degree` are computed from the sort lattice (crisply, and through explicit fuzzy `⊑·` relations and approved sort similarity), never cast from the boolean.
8062
8572
  *
@@ -8175,7 +8685,7 @@ var Reasoning = class {
8175
8685
  ...params
8176
8686
  });
8177
8687
  /**
8178
- * @description POST /api/v1/reasoning/resource-coordination **CURRENT STATUS**: This endpoint currently only supports 2-way pairwise coordination. **TODO**: Migrate to N-way coordination as defined in the updated DTOs. This is a GENERIC endpoint that works for ANY pairing scenario: - Meals + Wines (food service) - Tasks + Tools (project management) - Outfits + Occasions (fashion) - etc. The system knows nothing about wine or meals - it's purely generic. **Migration needed**: 1. Update to accept `resources: Vec<ResourceSpec>` instead of primary/secondary 2. Implement N-way compatibility algorithm in domain layer 3. Update service layer to handle N resources 4. Return `CoordinatedResourceSet` instead of `PairedResourceDto` 5. See RESOURCE_COORDINATION_EXAMPLES.md for target API design
8688
+ * @description POST /api/v1/reasoning/resource-coordination **CURRENT STATUS**: This endpoint currently only supports 2-way pairwise coordination. **TODO**: Migrate to N-way coordination as defined in the updated DTOs. This is a GENERIC endpoint that works for ANY pairing scenario: - Meals + Wines (food service) - Tasks + Tools (project management) - Outfits + Occasions (fashion) - etc. The system knows nothing about wine or meals - it's purely generic. Two resources without `rules` use the scored pairwise planner. Three or more, or explicit `rules`, are solved as one bundle per selection: a backtracking search for one candidate of each resource that satisfies every rule, no candidate reused across selections.
8179
8689
  *
8180
8690
  * @tags reasoning
8181
8691
  * @name ResourceCoordination
@@ -8493,7 +9003,7 @@ var Control = class {
8493
9003
  *
8494
9004
  * @tags control
8495
9005
  * @name AddSymbol
8496
- * @summary Add symbol to module POST /api/v1/modules/:name/symbols
9006
+ * @summary Add a symbol to a module POST /api/v1/modules/symbols
8497
9007
  * @request POST:/api/v1/modules/symbols
8498
9008
  * @secure
8499
9009
  */
@@ -8506,186 +9016,6 @@ var Control = class {
8506
9016
  format: "json",
8507
9017
  ...params
8508
9018
  });
8509
- /**
8510
- * No description
8511
- *
8512
- * @tags control
8513
- * @name AssignBacktrackable
8514
- * @summary Backtrackable assignment POST /api/v1/control/assign/backtrackable
8515
- * @request POST:/api/v1/control/assign/backtrackable
8516
- * @secure
8517
- */
8518
- assignBacktrackable = (data, params = {}) => this.http.request({
8519
- path: `/api/v1/control/assign/backtrackable`,
8520
- method: "POST",
8521
- body: data,
8522
- secure: true,
8523
- type: "application/json",
8524
- format: "json",
8525
- ...params
8526
- });
8527
- /**
8528
- * No description
8529
- *
8530
- * @tags control
8531
- * @name AssignGlobal
8532
- * @summary Global assignment POST /api/v1/control/assign/global
8533
- * @request POST:/api/v1/control/assign/global
8534
- * @secure
8535
- */
8536
- assignGlobal = (data, params = {}) => this.http.request({
8537
- path: `/api/v1/control/assign/global`,
8538
- method: "POST",
8539
- body: data,
8540
- secure: true,
8541
- type: "application/json",
8542
- format: "json",
8543
- ...params
8544
- });
8545
- /**
8546
- * No description
8547
- *
8548
- * @tags control
8549
- * @name ControlCallOnce
8550
- * @summary Execute with cut (call_once) POST /api/v1/control/call-once
8551
- * @request POST:/api/v1/control/call-once
8552
- * @secure
8553
- */
8554
- controlCallOnce = (data, params = {}) => this.http.request({
8555
- path: `/api/v1/control/call-once`,
8556
- method: "POST",
8557
- body: data,
8558
- secure: true,
8559
- type: "application/json",
8560
- format: "json",
8561
- ...params
8562
- });
8563
- /**
8564
- * No description
8565
- *
8566
- * @tags control
8567
- * @name ControlCond
8568
- * @summary Execute conditional (if-then-else) POST /api/v1/control/cond
8569
- * @request POST:/api/v1/control/cond
8570
- * @secure
8571
- */
8572
- controlCond = (data, params = {}) => this.http.request({
8573
- path: `/api/v1/control/cond`,
8574
- method: "POST",
8575
- body: data,
8576
- secure: true,
8577
- type: "application/json",
8578
- format: "json",
8579
- ...params
8580
- });
8581
- /**
8582
- * No description
8583
- *
8584
- * @tags control
8585
- * @name ControlCut
8586
- * @summary Execute cut POST /api/v1/control/cut
8587
- * @request POST:/api/v1/control/cut
8588
- * @secure
8589
- */
8590
- controlCut = (data, params = {}) => this.http.request({
8591
- path: `/api/v1/control/cut`,
8592
- method: "POST",
8593
- body: data,
8594
- secure: true,
8595
- type: "application/json",
8596
- format: "json",
8597
- ...params
8598
- });
8599
- /**
8600
- * No description
8601
- *
8602
- * @tags control
8603
- * @name ControlFindall
8604
- * @summary Collect all solutions (findall) POST /api/v1/control/findall
8605
- * @request POST:/api/v1/control/findall
8606
- * @secure
8607
- */
8608
- controlFindall = (data, params = {}) => this.http.request({
8609
- path: `/api/v1/control/findall`,
8610
- method: "POST",
8611
- body: data,
8612
- secure: true,
8613
- type: "application/json",
8614
- format: "json",
8615
- ...params
8616
- });
8617
- /**
8618
- * No description
8619
- *
8620
- * @tags control
8621
- * @name ControlForall
8622
- * @summary Universal quantification (forall) POST /api/v1/control/forall
8623
- * @request POST:/api/v1/control/forall
8624
- * @secure
8625
- */
8626
- controlForall = (data, params = {}) => this.http.request({
8627
- path: `/api/v1/control/forall`,
8628
- method: "POST",
8629
- body: data,
8630
- secure: true,
8631
- type: "application/json",
8632
- format: "json",
8633
- ...params
8634
- });
8635
- /**
8636
- * No description
8637
- *
8638
- * @tags control
8639
- * @name ControlImplies
8640
- * @summary Evaluate implication (A -> B) POST /api/v1/control/implies
8641
- * @request POST:/api/v1/control/implies
8642
- * @secure
8643
- */
8644
- controlImplies = (data, params = {}) => this.http.request({
8645
- path: `/api/v1/control/implies`,
8646
- method: "POST",
8647
- body: data,
8648
- secure: true,
8649
- type: "application/json",
8650
- format: "json",
8651
- ...params
8652
- });
8653
- /**
8654
- * No description
8655
- *
8656
- * @tags control
8657
- * @name ControlNaf
8658
- * @summary Negation as failure POST /api/v1/control/naf
8659
- * @request POST:/api/v1/control/naf
8660
- * @secure
8661
- */
8662
- controlNaf = (data, params = {}) => this.http.request({
8663
- path: `/api/v1/control/naf`,
8664
- method: "POST",
8665
- body: data,
8666
- secure: true,
8667
- type: "application/json",
8668
- format: "json",
8669
- ...params
8670
- });
8671
- /**
8672
- * No description
8673
- *
8674
- * @tags control
8675
- * @name ControlUndo
8676
- * @summary Register undo action POST /api/v1/control/undo
8677
- * @request POST:/api/v1/control/undo
8678
- * @secure
8679
- */
8680
- controlUndo = (data, params = {}) => this.http.request({
8681
- path: `/api/v1/control/undo`,
8682
- method: "POST",
8683
- body: data,
8684
- secure: true,
8685
- type: "application/json",
8686
- format: "json",
8687
- ...params
8688
- });
8689
9019
  /**
8690
9020
  * No description
8691
9021
  *
@@ -8704,48 +9034,12 @@ var Control = class {
8704
9034
  format: "json",
8705
9035
  ...params
8706
9036
  });
8707
- /**
8708
- * No description
8709
- *
8710
- * @tags control
8711
- * @name GlobalGet
8712
- * @summary Get global variable POST /api/v1/control/global/get
8713
- * @request POST:/api/v1/control/global/get
8714
- * @secure
8715
- */
8716
- globalGet = (data, params = {}) => this.http.request({
8717
- path: `/api/v1/control/global/get`,
8718
- method: "POST",
8719
- body: data,
8720
- secure: true,
8721
- type: "application/json",
8722
- format: "json",
8723
- ...params
8724
- });
8725
- /**
8726
- * No description
8727
- *
8728
- * @tags control
8729
- * @name GlobalIncrement
8730
- * @summary Global increment POST /api/v1/control/global/incr
8731
- * @request POST:/api/v1/control/global/incr
8732
- * @secure
8733
- */
8734
- globalIncrement = (data, params = {}) => this.http.request({
8735
- path: `/api/v1/control/global/incr`,
8736
- method: "POST",
8737
- body: data,
8738
- secure: true,
8739
- type: "application/json",
8740
- format: "json",
8741
- ...params
8742
- });
8743
9037
  /**
8744
9038
  * No description
8745
9039
  *
8746
9040
  * @tags control
8747
9041
  * @name ImportModule
8748
- * @summary Import a module POST /api/v1/modules/import
9042
+ * @summary Import one module into another POST /api/v1/modules/import
8749
9043
  * @request POST:/api/v1/modules/import
8750
9044
  * @secure
8751
9045
  */
@@ -8763,7 +9057,7 @@ var Control = class {
8763
9057
  *
8764
9058
  * @tags control
8765
9059
  * @name ListSymbols
8766
- * @summary List module symbols POST /api/v1/modules/:name/symbols/list
9060
+ * @summary List a module's symbols, or every symbol visible from it POST /api/v1/modules/symbols/list
8767
9061
  * @request POST:/api/v1/modules/symbols/list
8768
9062
  * @secure
8769
9063
  */
@@ -8781,7 +9075,7 @@ var Control = class {
8781
9075
  *
8782
9076
  * @tags control
8783
9077
  * @name ResolveSymbol
8784
- * @summary Resolve qualified symbol name POST /api/v1/modules/resolve
9078
+ * @summary Resolve a qualified symbol (`module#symbol`) POST /api/v1/modules/resolve
8785
9079
  * @request POST:/api/v1/modules/resolve
8786
9080
  * @secure
8787
9081
  */
@@ -9393,11 +9687,11 @@ var Analysis = class {
9393
9687
  ...params
9394
9688
  });
9395
9689
  /**
9396
- * @description The exploration must be complete (no more questions) before calling this. Registration happens before the terminal commit and ignores existing names, so a retry after a lost commit is safe. The committed receipt is retained: completing again returns it unchanged. `rules_created` counts those sort registrations; no inference rule is installed.
9690
+ * @description The exploration must be complete (no more questions). Under the tenant's writer gate the route reads the authoritative action snapshot, rereads the session's source terms from it as the caller can see them, and reprojects them with the native presence projection: a source that was deleted, is hidden from the caller, or changed its feature names since the session started refuses publication, and nothing is published. Value-only edits do not, exactly as values do not enter the projection. Each accepted implication `A → B` is published, for every `c ∈ B`, as a native rule licensed for the session's frozen source population only (`expert-confirmed-frozen-population-v1`): for every original member holding `A`, forward and backward inference derive an obligation naming `c`, referencing that member and citing the licence record. No value of `c` is invented, no source term is modified, and no term outside the population, however similar, acquires an obligation. Rules, licence and population record commit in one checked action against that snapshot, so a concurrent source change refuses the commit. The committed receipt is retained: completing again returns it unchanged, and a publication that committed before a lost session commit is recognised and not repeated.
9397
9691
  *
9398
9692
  * @tags analysis
9399
9693
  * @name CompleteExploration
9400
- * @summary Complete the exploration and register appropriateness sorts for its basis.
9694
+ * @summary Complete an exploration and publish its accepted implications as scoped native rules.
9401
9695
  * @request POST:/api/v1/analysis/attribute-exploration/{session_id}/complete
9402
9696
  */
9403
9697
  completeExploration = (sessionId, params = {}) => this.http.request({
@@ -9422,6 +9716,24 @@ var Analysis = class {
9422
9716
  format: "json",
9423
9717
  ...params
9424
9718
  });
9719
+ /**
9720
+ * No description
9721
+ *
9722
+ * @tags analysis
9723
+ * @name DetectAnomalies
9724
+ * @summary Flag the points of a series that leave its running baseline.
9725
+ * @request POST:/api/v1/analysis/anomalies
9726
+ * @secure
9727
+ */
9728
+ detectAnomalies = (data, params = {}) => this.http.request({
9729
+ path: `/api/v1/analysis/anomalies`,
9730
+ method: "POST",
9731
+ body: data,
9732
+ secure: true,
9733
+ type: "application/json",
9734
+ format: "json",
9735
+ ...params
9736
+ });
9425
9737
  /**
9426
9738
  * No description
9427
9739
  *
@@ -9437,6 +9749,24 @@ var Analysis = class {
9437
9749
  format: "json",
9438
9750
  ...params
9439
9751
  });
9752
+ /**
9753
+ * @description Fits `target ~ 1 + features` by ordinary least squares on `rows`, then computes exact interventional Shapley values of the prediction at `instance`, enumerating every coalition over the rows as background (at most 12 features).
9754
+ *
9755
+ * @tags analysis
9756
+ * @name ExplainWithShapley
9757
+ * @summary Attribute a least-squares model's prediction to its features.
9758
+ * @request POST:/api/v1/analysis/shapley
9759
+ * @secure
9760
+ */
9761
+ explainWithShapley = (data, params = {}) => this.http.request({
9762
+ path: `/api/v1/analysis/shapley`,
9763
+ method: "POST",
9764
+ body: data,
9765
+ secure: true,
9766
+ type: "application/json",
9767
+ format: "json",
9768
+ ...params
9769
+ });
9440
9770
  /**
9441
9771
  * @description Names the pending question, so a client that lost a confirm/refute answer re-reads the question it must answer next and continues (#410).
9442
9772
  *
@@ -9466,6 +9796,24 @@ var Analysis = class {
9466
9796
  format: "json",
9467
9797
  ...params
9468
9798
  });
9799
+ /**
9800
+ * @description Fits simple, Holt (trend) or Holt-Winters (additive trend and season) exponential smoothing by minimising one-step-ahead squared error, backtests on the held-out end of the series, and forecasts `horizon` steps with approximate 95% intervals. Without `method`, every model the series is long enough for is backtested and the lowest-MAE one is used.
9801
+ *
9802
+ * @tags analysis
9803
+ * @name ForecastSeries
9804
+ * @summary Forecast a series by exponential smoothing.
9805
+ * @request POST:/api/v1/analysis/forecast
9806
+ * @secure
9807
+ */
9808
+ forecastSeries = (data, params = {}) => this.http.request({
9809
+ path: `/api/v1/analysis/forecast`,
9810
+ method: "POST",
9811
+ body: data,
9812
+ secure: true,
9813
+ type: "application/json",
9814
+ format: "json",
9815
+ ...params
9816
+ });
9469
9817
  /**
9470
9818
  * No description
9471
9819
  *
@@ -9482,6 +9830,19 @@ var Analysis = class {
9482
9830
  format: "json",
9483
9831
  ...params
9484
9832
  });
9833
+ /**
9834
+ * No description
9835
+ *
9836
+ * @tags analysis
9837
+ * @name InviteParticipant
9838
+ * @summary Only the creator may explicitly invite a participant.
9839
+ * @request PUT:/api/v1/analysis/attribute-exploration/{session_id}/participants/{participant_id}
9840
+ */
9841
+ inviteParticipant = (sessionId, participantId, params = {}) => this.http.request({
9842
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/participants/${participantId}`,
9843
+ method: "PUT",
9844
+ ...params
9845
+ });
9485
9846
  /**
9486
9847
  * @description A candidate reached by neither kind of hypothesis comes back `undetermined_no_hypothesis`, and one reached by both comes back `undetermined_contradictory` — different facts, reported apart, because the second says the examples disagree and the first says they are silent.
9487
9848
  *
@@ -9498,6 +9859,22 @@ var Analysis = class {
9498
9859
  format: "json",
9499
9860
  ...params
9500
9861
  });
9862
+ /**
9863
+ * @description A separate, attributed declaration under `expert-declared-sort-v1`: the creator or an invited participant names a sort, and every confirmed implication of the session is installed as a native rule over every subject of that sort and its subsorts. Each obligation names the implied feature for its subject and cites a sort licence record, which names its declarer and extends the session's frozen-population licence; no value is invented and no source term changes. Licence and rules commit in one checked action. Repeating the request for the same sort returns the recorded licence without publishing again.
9864
+ *
9865
+ * @tags analysis
9866
+ * @name LicenseExplorationSort
9867
+ * @summary Extend a completed exploration's confirmed implications to every term of a sort.
9868
+ * @request POST:/api/v1/analysis/attribute-exploration/{session_id}/licences
9869
+ */
9870
+ licenseExplorationSort = (sessionId, data, params = {}) => this.http.request({
9871
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/licences`,
9872
+ method: "POST",
9873
+ body: data,
9874
+ type: "application/json",
9875
+ format: "json",
9876
+ ...params
9877
+ });
9501
9878
  /**
9502
9879
  * @description This is the symbolic object of symbolic data analysis: the unit of interest is the group, its description is interval-valued where its members differ, and — once stored — it is an ordinary sort. A candidate whose deciding feature was never measured comes back `residuated`, naming what it is waiting for, rather than being reported outside the cohort.
9503
9880
  *
@@ -9593,6 +9970,19 @@ var Analysis = class {
9593
9970
  format: "json",
9594
9971
  ...params
9595
9972
  });
9973
+ /**
9974
+ * No description
9975
+ *
9976
+ * @tags analysis
9977
+ * @name RevokeParticipant
9978
+ * @summary Only the creator may explicitly revoke a participant.
9979
+ * @request DELETE:/api/v1/analysis/attribute-exploration/{session_id}/participants/{participant_id}
9980
+ */
9981
+ revokeParticipant = (sessionId, participantId, params = {}) => this.http.request({
9982
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/participants/${participantId}`,
9983
+ method: "DELETE",
9984
+ ...params
9985
+ });
9596
9986
  /**
9597
9987
  * @description A returned concept with `generalized: true` and a `sort` naming none of its members' sorts is the case this endpoint exists for: a point in the lattice no attribute names, reached because the least upper bound of two sorts is a derivation in the hierarchy. Read `truncated` before reading `concepts` as "what the population contains". An empty `concepts` list is an abstention, not a rate of zero. ⚠️ `concepts[].lower_bound` is a **ranking key, not a certificate**: the search chose those concepts by looking at the very degrees the bound is computed on. Send a `holdout` to get claims — the search then sees only the selection half, and `certificates[]` carries bounds measured on data it never saw, corrected for the number of claims rather than the number searched.
9598
9988
  *
@@ -10664,7 +11054,7 @@ var Admin = class {
10664
11054
  ...params
10665
11055
  });
10666
11056
  /**
10667
- * @description Explicitly creates a tenant's registry row, inference state and sort hierarchy, optionally seeding initial sorts and storing a display label. Idempotent. No X-Tenant-Id header required. Refuses a deleted tenant's UUID with 409 rather than resurrecting it.
11057
+ * @description Explicitly creates a tenant's registry row, inference state and sort hierarchy, optionally seeding initial sorts and storing a display label. Idempotent. A caller may provision its own tenant (body tenant_id equal to its X-Tenant-Id); any other id, or a generated one, requires the platform_admin role (403 otherwise). Refuses a deleted tenant's UUID with 409 rather than resurrecting it.
10668
11058
  *
10669
11059
  * @tags admin
10670
11060
  * @name CreateTenant
@@ -11615,6 +12005,24 @@ var Compliance = class {
11615
12005
  format: "json",
11616
12006
  ...params
11617
12007
  });
12008
+ /**
12009
+ * No description
12010
+ *
12011
+ * @tags compliance
12012
+ * @name CompleteDsr
12013
+ * @summary Complete a data subject request
12014
+ * @request POST:/api/v1/dsr/{id}/complete
12015
+ * @secure
12016
+ */
12017
+ completeDsr = (id, data, params = {}) => this.http.request({
12018
+ path: `/api/v1/dsr/${id}/complete`,
12019
+ method: "POST",
12020
+ body: data,
12021
+ secure: true,
12022
+ type: "application/json",
12023
+ format: "json",
12024
+ ...params
12025
+ });
11618
12026
  /**
11619
12027
  * No description
11620
12028
  *
@@ -11633,6 +12041,24 @@ var Compliance = class {
11633
12041
  format: "json",
11634
12042
  ...params
11635
12043
  });
12044
+ /**
12045
+ * No description
12046
+ *
12047
+ * @tags compliance
12048
+ * @name DenyDsr
12049
+ * @summary Deny a data subject request
12050
+ * @request POST:/api/v1/dsr/{id}/deny
12051
+ * @secure
12052
+ */
12053
+ denyDsr = (id, data, params = {}) => this.http.request({
12054
+ path: `/api/v1/dsr/${id}/deny`,
12055
+ method: "POST",
12056
+ body: data,
12057
+ secure: true,
12058
+ type: "application/json",
12059
+ format: "json",
12060
+ ...params
12061
+ });
11636
12062
  /**
11637
12063
  * @description **Dry run by default.** An exact match on an identifying feature is the only deterministic way to resolve a person to terms, but exactness is not uniqueness — two people share a name. Erasing on a bare match would silently destroy a homonym's data, and erasure is irreversible, so the plan has to be inspectable before it runs. Pass `confirm: true` once the match has been reviewed.
11638
12064
  *
@@ -11651,6 +12077,58 @@ var Compliance = class {
11651
12077
  format: "json",
11652
12078
  ...params
11653
12079
  });
12080
+ /**
12081
+ * @description Every matching record, oldest first: `jsonl` writes each record as stored (hashes included, so the chain can be re-verified downstream); `cef` writes one ArcSight CEF line per record. The `X-Audit-Chain-Verified` header says whether the tenant's whole chain verified at export time.
12082
+ *
12083
+ * @tags compliance
12084
+ * @name Export
12085
+ * @summary Export the compliance ledger as JSON Lines or CEF
12086
+ * @request GET:/api/v1/compliance/audit/export
12087
+ * @secure
12088
+ */
12089
+ export = (query, params = {}) => this.http.request({
12090
+ path: `/api/v1/compliance/audit/export`,
12091
+ method: "GET",
12092
+ query,
12093
+ secure: true,
12094
+ ...params
12095
+ });
12096
+ /**
12097
+ * No description
12098
+ *
12099
+ * @tags compliance
12100
+ * @name ExportDsr
12101
+ * @summary Answer an access or portability request with the subject's data
12102
+ * @request POST:/api/v1/dsr/{id}/export
12103
+ * @secure
12104
+ */
12105
+ exportDsr = (id, data, params = {}) => this.http.request({
12106
+ path: `/api/v1/dsr/${id}/export`,
12107
+ method: "POST",
12108
+ body: data,
12109
+ secure: true,
12110
+ type: "application/json",
12111
+ format: "json",
12112
+ ...params
12113
+ });
12114
+ /**
12115
+ * No description
12116
+ *
12117
+ * @tags compliance
12118
+ * @name ExtendDsr
12119
+ * @summary Extend a data subject request's deadline
12120
+ * @request POST:/api/v1/dsr/{id}/extend
12121
+ * @secure
12122
+ */
12123
+ extendDsr = (id, data, params = {}) => this.http.request({
12124
+ path: `/api/v1/dsr/${id}/extend`,
12125
+ method: "POST",
12126
+ body: data,
12127
+ secure: true,
12128
+ type: "application/json",
12129
+ format: "json",
12130
+ ...params
12131
+ });
11654
12132
  /**
11655
12133
  * @description One record of the tenant's ledger, by the id a mutating response names in its `x-osfkb-audit-record` header. A record of another tenant is `404`, exactly like an id that was never issued.
11656
12134
  *
@@ -11667,6 +12145,22 @@ var Compliance = class {
11667
12145
  format: "json",
11668
12146
  ...params
11669
12147
  });
12148
+ /**
12149
+ * No description
12150
+ *
12151
+ * @tags compliance
12152
+ * @name GetAuditRetention
12153
+ * @summary Read the tenant's retention policy.
12154
+ * @request GET:/api/v1/compliance/audit/retention
12155
+ * @secure
12156
+ */
12157
+ getAuditRetention = (params = {}) => this.http.request({
12158
+ path: `/api/v1/compliance/audit/retention`,
12159
+ method: "GET",
12160
+ secure: true,
12161
+ format: "json",
12162
+ ...params
12163
+ });
11670
12164
  /**
11671
12165
  * No description
11672
12166
  *
@@ -11757,13 +12251,32 @@ var Compliance = class {
11757
12251
  * @request GET:/api/v1/dsr
11758
12252
  * @secure
11759
12253
  */
11760
- listDsr = (params = {}) => this.http.request({
12254
+ listDsr = (query, params = {}) => this.http.request({
11761
12255
  path: `/api/v1/dsr`,
11762
12256
  method: "GET",
12257
+ query,
11763
12258
  secure: true,
11764
12259
  format: "json",
11765
12260
  ...params
11766
12261
  });
12262
+ /**
12263
+ * @description Removes the longest prefix of the tenant's ledger that is older than `before` and than the retention minimum, and that no kept record still needs (as a cause, an informer, or a scope it shares). The chain then verifies from an anchor, and the purge appends a `retention.purge` record that pins it. `dry_run` reports the cut and changes nothing.
12264
+ *
12265
+ * @tags compliance
12266
+ * @name PurgeAuditLedger
12267
+ * @summary Remove the oldest audit records the retention policy and the causal structure allow.
12268
+ * @request POST:/api/v1/compliance/audit/purge
12269
+ * @secure
12270
+ */
12271
+ purgeAuditLedger = (data, params = {}) => this.http.request({
12272
+ path: `/api/v1/compliance/audit/purge`,
12273
+ method: "POST",
12274
+ body: data,
12275
+ secure: true,
12276
+ type: "application/json",
12277
+ format: "json",
12278
+ ...params
12279
+ });
11767
12280
  /**
11768
12281
  * @description Who delegated to whom: every scope with its parent, depth, opener, seal and commitment — the question the causal channel alone cannot answer.
11769
12282
  *
@@ -11780,6 +12293,24 @@ var Compliance = class {
11780
12293
  format: "json",
11781
12294
  ...params
11782
12295
  });
12296
+ /**
12297
+ * No description
12298
+ *
12299
+ * @tags compliance
12300
+ * @name SetAuditRetention
12301
+ * @summary Set the tenant's retention policy.
12302
+ * @request PUT:/api/v1/compliance/audit/retention
12303
+ * @secure
12304
+ */
12305
+ setAuditRetention = (data, params = {}) => this.http.request({
12306
+ path: `/api/v1/compliance/audit/retention`,
12307
+ method: "PUT",
12308
+ body: data,
12309
+ secure: true,
12310
+ type: "application/json",
12311
+ format: "json",
12312
+ ...params
12313
+ });
11783
12314
  /**
11784
12315
  * No description
11785
12316
  *
@@ -11796,6 +12327,24 @@ var Compliance = class {
11796
12327
  format: "json",
11797
12328
  ...params
11798
12329
  });
12330
+ /**
12331
+ * No description
12332
+ *
12333
+ * @tags compliance
12334
+ * @name ValidateSnapshot
12335
+ * @summary Validate a snapshot against the ground truth the caller supplies.
12336
+ * @request POST:/api/v1/predictions/snapshot/{id}/validate
12337
+ * @secure
12338
+ */
12339
+ validateSnapshot = (id, data, params = {}) => this.http.request({
12340
+ path: `/api/v1/predictions/snapshot/${id}/validate`,
12341
+ method: "POST",
12342
+ body: data,
12343
+ secure: true,
12344
+ type: "application/json",
12345
+ format: "json",
12346
+ ...params
12347
+ });
11799
12348
  /**
11800
12349
  * @description Runs validation with a built-in stub provider that returns `Pending` for every entry. Real consumers wire their own `GroundTruthProviderPort` implementation and call `PredictionLedgerPort::validate` from a service.
11801
12350
  *
@@ -11828,6 +12377,24 @@ var Compliance = class {
11828
12377
  format: "json",
11829
12378
  ...params
11830
12379
  });
12380
+ /**
12381
+ * No description
12382
+ *
12383
+ * @tags compliance
12384
+ * @name VerifyDsr
12385
+ * @summary Verify a data subject's identity
12386
+ * @request POST:/api/v1/dsr/{id}/verify
12387
+ * @secure
12388
+ */
12389
+ verifyDsr = (id, data, params = {}) => this.http.request({
12390
+ path: `/api/v1/dsr/${id}/verify`,
12391
+ method: "POST",
12392
+ body: data,
12393
+ secure: true,
12394
+ type: "application/json",
12395
+ format: "json",
12396
+ ...params
12397
+ });
11831
12398
  };
11832
12399
 
11833
12400
  // src/api-spec/generated/Snapshots.ts
@@ -12070,7 +12637,7 @@ var Subscriptions = class {
12070
12637
  this.http = http;
12071
12638
  }
12072
12639
  /**
12073
- * @description `POST /api/v1/subscriptions`. The subscription survives a restart. Each matched event is POSTed to `url` off the request path: BEST-EFFORT with bounded retry. There is no outbox — an event whose retries are exhausted, or one produced while the process dies, is LOST, and a retry after an ambiguous failure may DUPLICATE. The SUBSCRIPTION is durable; the EVENT is not. `GET /api/v1/subscriptions` reports the delivery counters. Sort matching is by SUBSUMPTION: a subscription on `person` receives an `employee` event. Set `exact` to demand name equality.
12640
+ * @description `POST /api/v1/subscriptions`. The subscription survives a restart. Each matched event is written to the subscription's outbox and POSTed to `url` off the request path, retried up to `max_retries` times with a backoff that starts at `backoff_ms` and doubles. A refused or exhausted event is kept as a dead letter (`GET /api/v1/subscriptions/{id}/deliveries`, then `POST …/deliveries/{delivery_id}/redrive`); with a database the outbox survives a restart. Delivery is at least once: a retry after an ambiguous failure may DUPLICATE. `GET /api/v1/subscriptions` reports the counters. Sort matching is by SUBSUMPTION: a subscription on `person` receives an `employee` event. Set `exact` to demand name equality.
12074
12641
  *
12075
12642
  * @tags subscriptions
12076
12643
  * @name CreateSubscription
@@ -12102,6 +12669,23 @@ var Subscriptions = class {
12102
12669
  secure: true,
12103
12670
  ...params
12104
12671
  });
12672
+ /**
12673
+ * @description The subscription's outbox, newest first: every matched event is an entry before any POST. `pending` entries wait for their next attempt (exponential backoff from `backoff_ms`); a 2xx answer makes an entry `delivered`; a 3xx or 4xx (except 408 and 429), or running out of attempts, makes it `dead` until it is redriven. The newest 100 delivered entries are kept. Durable when the engine has a database.
12674
+ *
12675
+ * @tags subscriptions
12676
+ * @name ListSubscriptionDeliveries
12677
+ * @summary List a subscription's deliveries.
12678
+ * @request GET:/api/v1/subscriptions/{id}/deliveries
12679
+ * @secure
12680
+ */
12681
+ listSubscriptionDeliveries = (id, query, params = {}) => this.http.request({
12682
+ path: `/api/v1/subscriptions/${id}/deliveries`,
12683
+ method: "GET",
12684
+ query,
12685
+ secure: true,
12686
+ format: "json",
12687
+ ...params
12688
+ });
12105
12689
  /**
12106
12690
  * @description `GET /api/v1/subscriptions`. Each entry carries its retry policy as stored and its delivery counters, so "what happened to my deliveries" needs no further route.
12107
12691
  *
@@ -12118,6 +12702,22 @@ var Subscriptions = class {
12118
12702
  format: "json",
12119
12703
  ...params
12120
12704
  });
12705
+ /**
12706
+ * @description Makes a `dead` delivery `pending` again with its attempts reset, due at once; it is attempted with the subscription's current retry budget. Its last error is kept until the next attempt.
12707
+ *
12708
+ * @tags subscriptions
12709
+ * @name RedriveSubscriptionDelivery
12710
+ * @summary Put a dead letter back in line.
12711
+ * @request POST:/api/v1/subscriptions/{id}/deliveries/{delivery_id}/redrive
12712
+ * @secure
12713
+ */
12714
+ redriveSubscriptionDelivery = (id, deliveryId, params = {}) => this.http.request({
12715
+ path: `/api/v1/subscriptions/${id}/deliveries/${deliveryId}/redrive`,
12716
+ method: "POST",
12717
+ secure: true,
12718
+ format: "json",
12719
+ ...params
12720
+ });
12121
12721
  /**
12122
12722
  * @description `PATCH /api/v1/subscriptions/{id}`. An omitted field keeps its stored value; `"sort": null` removes the sort filter. `enabled: false` pauses delivery — no later event reaches the target — and `enabled: true` resumes it. The id, the creation time and the delivery counters are kept, so pausing or retargeting a subscription loses none of its delivery history. The edited config is validated as create validates it, including the SSRF check on the URL — the stored URL too, when the edit leaves it unchanged. A subscription belonging to another tenant answers 404, never 403.
12123
12723
  *
@@ -13318,6 +13918,23 @@ var Documents = class {
13318
13918
  format: "json",
13319
13919
  ...params
13320
13920
  });
13921
+ /**
13922
+ * @description Renders Markdown (headings, paragraphs, bullet lists) as a Word document (WordprocessingML) or an A4 PDF in Helvetica. PDF text is WinAnsi-encoded: Latin-1 renders, other characters become `?`.
13923
+ *
13924
+ * @tags documents
13925
+ * @name ExportDocument
13926
+ * @summary Render a Markdown document as DOCX or PDF.
13927
+ * @request POST:/api/v1/documents/export
13928
+ * @secure
13929
+ */
13930
+ exportDocument = (data, params = {}) => this.http.request({
13931
+ path: `/api/v1/documents/export`,
13932
+ method: "POST",
13933
+ body: data,
13934
+ secure: true,
13935
+ type: "application/json",
13936
+ ...params
13937
+ });
13321
13938
  /**
13322
13939
  * No description
13323
13940
  *
@@ -13933,6 +14550,22 @@ var Sat = class {
13933
14550
  constructor(http) {
13934
14551
  this.http = http;
13935
14552
  }
14553
+ /**
14554
+ * No description
14555
+ *
14556
+ * @tags sat
14557
+ * @name SolveMaxsat
14558
+ * @summary Solve a weighted partial MaxSAT instance.
14559
+ * @request POST:/api/v1/sat/maxsat
14560
+ */
14561
+ solveMaxsat = (data, params = {}) => this.http.request({
14562
+ path: `/api/v1/sat/maxsat`,
14563
+ method: "POST",
14564
+ body: data,
14565
+ type: "application/json",
14566
+ format: "json",
14567
+ ...params
14568
+ });
13936
14569
  /**
13937
14570
  * @description Runs the in-process CDCL engine (two-watched-literal propagation, 1-UIP conflict analysis, VSIDS, Luby restarts, GF(2) parity presolve). This is distinct from the external OR-Tools microservice at `/api/v1/solver/solve`. No tenant context is required. The solver is stateless; each request spins up an independent solver instance.
13938
14571
  *
@@ -15326,6 +15959,24 @@ var Channels = class {
15326
15959
  format: "json",
15327
15960
  ...params
15328
15961
  });
15962
+ /**
15963
+ * @description Registers an adapter the tenant sends through (`POST /channels/messages` with `adapter_name`): a `webhook` (one JSON POST to `url` per delivery; with a `secret` it carries `X-OSFKB-Timestamp` and `X-OSFKB-Signature: v1=<hex HMAC-SHA256(secret, timestamp + "." + body)>`), a `slack`, `telegram` or `discord` bot with the tenant's own `token`, or an `email` mailbox (`smtp_host`, `smtp_port`, `smtp_username`, `smtp_password`, `from`; the channel id is the recipient address). A platform's API base comes from the deployment, never from the request. Private and loopback targets (a webhook URL at delivery, an SMTP host at registration) are refused unless OSFKB_SUBSCRIPTION_ALLOW_PRIVATE_TARGETS allows them. With a database a registration is stored and every engine serves it, and its secret (signing key, token, SMTP password) is sealed in the credential vault under OSFKB_CREDENTIAL_VAULT_KEY (a secret without the key is refused with 503); without a database registrations are held in this process.
15964
+ *
15965
+ * @tags channels
15966
+ * @name RegisterChannelAdapter
15967
+ * @summary Register a channel adapter for the tenant.
15968
+ * @request POST:/api/v1/channels/adapters
15969
+ * @secure
15970
+ */
15971
+ registerChannelAdapter = (data, params = {}) => this.http.request({
15972
+ path: `/api/v1/channels/adapters`,
15973
+ method: "POST",
15974
+ body: data,
15975
+ secure: true,
15976
+ type: "application/json",
15977
+ format: "json",
15978
+ ...params
15979
+ });
15329
15980
  /**
15330
15981
  * @description Maps `(platform, account_id, thread_id)` to an agent of the caller's tenant, so inbound messages on that account reach it. The route is filed under the authenticated tenant; the body `tenant_id` is not used. A route another tenant already owns is refused.
15331
15982
  *
@@ -15345,7 +15996,7 @@ var Channels = class {
15345
15996
  ...params
15346
15997
  });
15347
15998
  /**
15348
- * @description POST /api/v1/channels/messages NOTE: `ChannelService::send_message` holds a `parking_lot::RwLockReadGuard` across `.await` (the guard is not `Send`), which prevents direct use in an Axum handler. We work around this by spawning the call on a blocking task via `tokio::task::spawn_blocking` wrapped in an async block.
15999
+ * @description POST /api/v1/channels/messages
15349
16000
  *
15350
16001
  * @tags channels
15351
16002
  * @name SendChannelMessage
@@ -15363,7 +16014,7 @@ var Channels = class {
15363
16014
  ...params
15364
16015
  });
15365
16016
  /**
15366
- * @description POST /api/v1/channels/typing Same `block_in_place` bridge as `send_message` — see its doc comment.
16017
+ * @description POST /api/v1/channels/typing
15367
16018
  *
15368
16019
  * @tags channels
15369
16020
  * @name SendChannelTyping
@@ -15380,6 +16031,21 @@ var Channels = class {
15380
16031
  format: "json",
15381
16032
  ...params
15382
16033
  });
16034
+ /**
16035
+ * No description
16036
+ *
16037
+ * @tags channels
16038
+ * @name UnregisterChannelAdapter
16039
+ * @summary Remove an adapter the tenant registered.
16040
+ * @request DELETE:/api/v1/channels/adapters/{name}
16041
+ * @secure
16042
+ */
16043
+ unregisterChannelAdapter = (name, params = {}) => this.http.request({
16044
+ path: `/api/v1/channels/adapters/${name}`,
16045
+ method: "DELETE",
16046
+ secure: true,
16047
+ ...params
16048
+ });
15383
16049
  };
15384
16050
 
15385
16051
  // src/api-spec/generated/Platform.ts
@@ -15552,6 +16218,42 @@ var Platform = class {
15552
16218
  format: "json",
15553
16219
  ...params
15554
16220
  });
16221
+ /**
16222
+ * @description Creates or replaces the caller's identity for `agent_id`. `assistant` is the tenant's conversation persona; a cognitive agent's id names that agent's identity on channels.
16223
+ *
16224
+ * @tags platform
16225
+ * @name PutAgentIdentity
16226
+ * @summary Write an agent identity
16227
+ * @request PUT:/api/v1/identities/{agent_id}
16228
+ * @secure
16229
+ */
16230
+ putAgentIdentity = (agentId, data, params = {}) => this.http.request({
16231
+ path: `/api/v1/identities/${agentId}`,
16232
+ method: "PUT",
16233
+ body: data,
16234
+ secure: true,
16235
+ type: "application/json",
16236
+ format: "json",
16237
+ ...params
16238
+ });
16239
+ /**
16240
+ * @description POST /api/v1/skills
16241
+ *
16242
+ * @tags platform
16243
+ * @name RegisterSkill
16244
+ * @summary Register a skill
16245
+ * @request POST:/api/v1/skills
16246
+ * @secure
16247
+ */
16248
+ registerSkill = (data, params = {}) => this.http.request({
16249
+ path: `/api/v1/skills`,
16250
+ method: "POST",
16251
+ body: data,
16252
+ secure: true,
16253
+ type: "application/json",
16254
+ format: "json",
16255
+ ...params
16256
+ });
15555
16257
  /**
15556
16258
  * @description Runs every registered check of the engine process (system, database, cache and similar) and reports each result. The checks describe the process, not a tenant.
15557
16259
  *
@@ -17453,7 +18155,7 @@ var RESPONSE_COMPONENTS = {
17453
18155
  }
17454
18156
  },
17455
18157
  ActiveReleaseDto: { object: { active_revision: [1, 0] } },
17456
- AdapterInfoDto: { object: { name: [1, 0], platform: [1, 0], status: [1, 0] } },
18158
+ AdapterInfoDto: { object: { name: [1, 0], owned: [1, 0], platform: [1, 0], status: [1, 0] } },
17457
18159
  AdaptiveModifyResponse: { object: { message: [1, 0], success: [1, 0] } },
17458
18160
  AddBeliefResponse: { object: { belief_id: [1, 0], message: [1, 0] } },
17459
18161
  AddCausalRelationResponse: { object: { message: [1, 0], rule_id: [1, 0], success: [1, 0] } },
@@ -17495,6 +18197,15 @@ var RESPONSE_COMPONENTS = {
17495
18197
  term_id: [1, 0]
17496
18198
  }
17497
18199
  },
18200
+ AgentBundle: {
18201
+ object: {
18202
+ beliefs: [0, { array: "BundleBelief" }],
18203
+ config: [0, "AgentConfigDto"],
18204
+ format: [1, 0],
18205
+ goals: [0, { array: "BundleGoal" }]
18206
+ }
18207
+ },
18208
+ AgentConfigDto: { object: {} },
17498
18209
  AgentContext: {
17499
18210
  object: {
17500
18211
  domain_expertise: [1, { array: 0 }],
@@ -17562,6 +18273,21 @@ var RESPONSE_COMPONENTS = {
17562
18273
  AgentRecallAsOfResponse: {
17563
18274
  object: { as_of_ts: [1, 0], count: [1, 0], episode_ids: [1, { array: 0 }] }
17564
18275
  },
18276
+ AgentRun: {
18277
+ object: {
18278
+ actions_executed: [1, 0],
18279
+ agent_id: [1, 0],
18280
+ duration_ms: [1, 0],
18281
+ finished_at: [1, 0],
18282
+ goals_achieved: [1, 0],
18283
+ goals_failed: [1, 0],
18284
+ kind: [1, 0],
18285
+ run_id: [1, 0],
18286
+ started_at: [1, 0],
18287
+ status: [1, 0]
18288
+ }
18289
+ },
18290
+ AgentRunsResponse: { object: { agent_id: [1, 0], runs: [1, { array: "AgentRun" }] } },
17565
18291
  AgentStateDto: {
17566
18292
  object: {
17567
18293
  agent_id: [1, 0],
@@ -17619,6 +18345,15 @@ var RESPONSE_COMPONENTS = {
17619
18345
  }
17620
18346
  },
17621
18347
  AmbiguousLabelDto: { object: { concepts: [1, { array: 0 }], label: [1, 0] } },
18348
+ AnomalyDto: { object: { index: [1, 0], score: [1, 0], value: [1, 0] } },
18349
+ AnomalyResponse: {
18350
+ object: {
18351
+ anomalies: [1, { array: "AnomalyDto" }],
18352
+ method: [1, 0],
18353
+ scored: [1, 0],
18354
+ threshold: [1, 0]
18355
+ }
18356
+ },
17622
18357
  AnonymizeResponse: {
17623
18358
  object: {
17624
18359
  k_anonymity_result: [2, { object: {} }],
@@ -17863,6 +18598,15 @@ var RESPONSE_COMPONENTS = {
17863
18598
  warnings: [0, { array: 0 }]
17864
18599
  }
17865
18600
  },
18601
+ AuditAnchor: {
18602
+ object: {
18603
+ base_hash: [1, 0],
18604
+ purge_record_id: [1, 0],
18605
+ purged_count: [1, 0],
18606
+ purged_through: [1, 0],
18607
+ purged_through_at: [1, 0]
18608
+ }
18609
+ },
17866
18610
  AuditEntryDto: {
17867
18611
  object: {
17868
18612
  action: [1, 0],
@@ -17944,12 +18688,13 @@ var RESPONSE_COMPONENTS = {
17944
18688
  BacktrackTermStoreResponse: {
17945
18689
  object: { current_trail_length: [1, 0], success: [1, 0], undone_entries: [1, 0] }
17946
18690
  },
17947
- BacktrackableAssignResponse: {
17948
- object: { feature_name: [1, 0], term_id: [1, 0], trail_entry_added: [1, 0] }
17949
- },
17950
18691
  BackupResponse: { object: { created_at: [1, 0], id: [1, 0], name: [1, 0], status: [1, 0] } },
17951
18692
  BackwardChainResponse: {
17952
- object: { query_time_ms: [1, 0], solutions: [1, { array: "SolutionDto" }] }
18693
+ object: {
18694
+ query_time_ms: [1, 0],
18695
+ solutions: [1, { array: "SolutionDto" }],
18696
+ why_not: [2, "WhyNotDto"]
18697
+ }
17953
18698
  },
17954
18699
  BaselineDto: { object: { snapshot_hash: [1, 0], stale: [1, 0] } },
17955
18700
  BatchCopyResponse: { object: { copies: [1, { array: "CopyResultDto" }] } },
@@ -18147,6 +18892,10 @@ var RESPONSE_COMPONENTS = {
18147
18892
  BulkRowRefusalDto: { object: { index: [1, 0], message: [1, 0] } },
18148
18893
  BulkSetSimilaritiesResponse: { object: { errors: [0, { array: 0 }], set_count: [1, 0] } },
18149
18894
  BulkSortError: { object: { error: [1, 0], kind: [1, 0], name: [1, 0], sort_created: [1, 0] } },
18895
+ BundleBelief: {
18896
+ object: { confidence: [1, 0], features: [0, { object: {} }], sort: [1, 0], source: [1, 0] }
18897
+ },
18898
+ BundleGoal: { object: { features: [0, { object: {} }], sort: [1, 0] } },
18150
18899
  CalibrationReportDto: {
18151
18900
  object: {
18152
18901
  augmentation_targets: [1, { array: "AugmentationTargetDto" }],
@@ -18156,7 +18905,6 @@ var RESPONSE_COMPONENTS = {
18156
18905
  total_predictions: [1, 0]
18157
18906
  }
18158
18907
  },
18159
- CallOnceResponse: { object: { choice_points_cut: [1, 0], success: [1, 0] } },
18160
18908
  CancelDocumentResponse: { object: { cancelled: [1, 0], message: [1, 0] } },
18161
18909
  CandidateCellDto: { object: { members: [1, 0], value: [1, 0] } },
18162
18910
  CandidateDetailResponse: {
@@ -18233,6 +18981,72 @@ var RESPONSE_COMPONENTS = {
18233
18981
  }
18234
18982
  },
18235
18983
  CatalogPageDto: { object: { items: [1, { array: "PluginSummaryDto" }], total: [1, 0] } },
18984
+ CateAtDto: { object: { features: [1, { array: 0 }], tau: [1, 0] } },
18985
+ CateResponse: {
18986
+ object: { coverage: [1, 0], effects: [1, { array: "CateAtDto" }], method: [1, 0] }
18987
+ },
18988
+ CategoricalAnswer: {
18989
+ object: { finding: [1, 0], observation: [1, 0], pattern: [1, 0], present: [1, 0] }
18990
+ },
18991
+ CategoricalComponent: {
18992
+ object: {
18993
+ context_log_weight: [1, 0],
18994
+ contributions: [1, { array: "FactorContribution" }],
18995
+ group: [1, 0],
18996
+ head: [1, 0],
18997
+ name: [1, 0],
18998
+ non_probabilistic_annotations: [1, { array: 0 }],
18999
+ prior: [1, 0],
19000
+ prior_scale: [1, 0],
19001
+ probability: [1, 0],
19002
+ rule: [1, 0]
19003
+ }
19004
+ },
19005
+ CategoricalPolicy: {
19006
+ object: {
19007
+ asked: [0, { array: 0 }],
19008
+ observation_metadata: [0, { array: 0 }],
19009
+ time_window: [2, { array: 0 }]
19010
+ }
19011
+ },
19012
+ CategoricalQuestion: {
19013
+ object: { finding: [1, 0], information_bits: [1, 0], pattern: [1, 0], probability_yes: [1, 0] }
19014
+ },
19015
+ CategoricalRanking: {
19016
+ object: {
19017
+ alerts: [1, { array: 0 }],
19018
+ components: [1, { array: 0 }],
19019
+ name: [1, 0],
19020
+ probability: [1, 0],
19021
+ support_count: [1, 0]
19022
+ }
19023
+ },
19024
+ CategoricalResult: {
19025
+ object: {
19026
+ answers: [1, { array: "CategoricalAnswer" }],
19027
+ comparisons: [1, 0],
19028
+ completed: [1, 0],
19029
+ components: [1, { array: "CategoricalComponent" }],
19030
+ context_effects: [1, { array: "ContextEffect" }],
19031
+ decision_status: [1, 0],
19032
+ evaluation: [1, { object: {} }],
19033
+ excluded_observations: [1, { array: 0 }],
19034
+ goal: [1, 0],
19035
+ input_etags: [1, { object: {} }],
19036
+ leader_support: [1, 0],
19037
+ margin: [1, 0],
19038
+ policy: [1, "CategoricalPolicy"],
19039
+ present_count: [1, 0],
19040
+ questions: [1, { array: "CategoricalQuestion" }],
19041
+ ranking: [1, { array: "CategoricalRanking" }],
19042
+ redundant_observations: [1, { array: 0 }],
19043
+ retained_observations: [1, { array: 0 }],
19044
+ schema_digest: [1, 0],
19045
+ scope: [1, { object: {} }],
19046
+ semantics: [1, 0]
19047
+ }
19048
+ },
19049
+ CategoricalVerifyResponse: { object: { replay_matches: [1, 0], semantics: [1, 0] } },
18236
19050
  CategoryProbabilityDto: { object: { probability: [1, 0], value: [1, 0] } },
18237
19051
  CausalAncestorResponse: {
18238
19052
  object: { explanation: [1, 0], is_ancestor: [1, 0], path: [1, { array: 0 }] }
@@ -18303,6 +19117,13 @@ var RESPONSE_COMPONENTS = {
18303
19117
  sort: [1, 0]
18304
19118
  }
18305
19119
  },
19120
+ CensoringDiagnosticDto: {
19121
+ object: {
19122
+ censoring_survival_at_horizon: [1, 0],
19123
+ fraction_censored_before_horizon: [1, 0],
19124
+ max_weight: [1, 0]
19125
+ }
19126
+ },
18306
19127
  CentralityResponse: {
18307
19128
  object: {
18308
19129
  edge_count: [1, 0],
@@ -18343,6 +19164,8 @@ var RESPONSE_COMPONENTS = {
18343
19164
  circular: [1, 0],
18344
19165
  claims: [1, { array: "CertifiedClaimDto" }],
18345
19166
  concepts: [1, 0],
19167
+ concepts_complete: [1, 0],
19168
+ population_sampled: [1, 0],
18346
19169
  target_feature: [1, 0]
18347
19170
  }
18348
19171
  },
@@ -18761,6 +19584,7 @@ var RESPONSE_COMPONENTS = {
18761
19584
  assignments: [1, { array: "TermAssignmentDto" }],
18762
19585
  base_rate: [1, 0],
18763
19586
  below_support: [1, 0],
19587
+ coverage: [1, "MiningCoverageDto"],
18764
19588
  depth: [1, 0],
18765
19589
  evidence_status: [1, 0],
18766
19590
  examined: [1, 0],
@@ -18814,6 +19638,7 @@ var RESPONSE_COMPONENTS = {
18814
19638
  object: {
18815
19639
  base_rate: [1, 0],
18816
19640
  candidates: [1, { array: "ConceptRuleCandidateDto" }],
19641
+ coverage: [2, "MiningCoverageDto"],
18817
19642
  examined: [1, 0],
18818
19643
  input_complete: [1, 0],
18819
19644
  input_stop_reason: [1, 0],
@@ -18858,9 +19683,6 @@ var RESPONSE_COMPONENTS = {
18858
19683
  memberships: [1, { array: "MembershipViewDto" }]
18859
19684
  }
18860
19685
  },
18861
- CondResponse: {
18862
- object: { branch_executed: [1, 0], condition_succeeded: [1, 0], success: [1, 0] }
18863
- },
18864
19686
  ConditionalIndependenceResponse: { object: { explanation: [1, 0], independent: [1, 0] } },
18865
19687
  ConfigFieldDto: { object: { name: [1, 0], required: [1, 0], type: [1, 0] } },
18866
19688
  ConfigSectionResponse: { object: { description: [1, 0], entry_count: [1, 0], name: [1, 0] } },
@@ -19026,6 +19848,17 @@ var RESPONSE_COMPONENTS = {
19026
19848
  },
19027
19849
  ContentHashResponse: { object: { algorithm: [1, 0], hash: [1, 0] } },
19028
19850
  ContextComponentDto: { object: { id: [1, 0], kind: [1, 0], version: [1, 0] } },
19851
+ ContextEffect: {
19852
+ object: {
19853
+ applied: [1, 0],
19854
+ log_weight: [1, 0],
19855
+ rule: [1, 0],
19856
+ rule_certainty: [1, 0],
19857
+ status: [1, 0],
19858
+ target: [1, 0],
19859
+ witnesses: [1, { array: "ContextWitness" }]
19860
+ }
19861
+ },
19029
19862
  ContextManifestDto: {
19030
19863
  object: {
19031
19864
  components: [1, { array: "ContextComponentDto" }],
@@ -19046,6 +19879,7 @@ var RESPONSE_COMPONENTS = {
19046
19879
  state: [1, 0]
19047
19880
  }
19048
19881
  },
19882
+ ContextWitness: { object: { degree: [1, 0], premises: [1, { array: "ContextWitness" }] } },
19049
19883
  Contradiction: {
19050
19884
  object: {
19051
19885
  claim_a_id: [1, 0],
@@ -19076,7 +19910,8 @@ var RESPONSE_COMPONENTS = {
19076
19910
  dropped: [1, 0],
19077
19911
  facets: [1, { array: "FacetContrastDto" }],
19078
19912
  population_a: [1, 0],
19079
- population_b: [1, 0]
19913
+ population_b: [1, 0],
19914
+ population_sampled: [1, 0]
19080
19915
  }
19081
19916
  },
19082
19917
  ConversationAnswerFeedbackResponseDto: {
@@ -19255,7 +20090,7 @@ var RESPONSE_COMPONENTS = {
19255
20090
  should_curry: [1, 0]
19256
20091
  }
19257
20092
  },
19258
- CutResponse: { object: { choice_points_removed: [1, 0] } },
20093
+ CutStop: { object: { reason: [1, 0], record_id: [1, 0] } },
19259
20094
  CycleDto: {
19260
20095
  object: { edges: [1, { array: 0 }], is_problematic: [1, 0], nodes: [1, { array: 0 }] }
19261
20096
  },
@@ -19540,6 +20375,17 @@ var RESPONSE_COMPONENTS = {
19540
20375
  DirectionConstraintCheck: {
19541
20376
  object: { allowed: [1, 0], cause: [1, 0], effect: [1, 0], explanation: [1, 0] }
19542
20377
  },
20378
+ DiscontinuityResponse: {
20379
+ object: {
20380
+ bandwidth: [1, 0],
20381
+ ci_lower: [1, 0],
20382
+ ci_upper: [1, 0],
20383
+ effect: [1, 0],
20384
+ n_left: [1, 0],
20385
+ n_right: [1, 0],
20386
+ std_error: [1, 0]
20387
+ }
20388
+ },
19543
20389
  DiscoverCausalResponse: {
19544
20390
  object: {
19545
20391
  data_needed: [2, { array: "DataNeededDto" }],
@@ -19644,6 +20490,15 @@ var RESPONSE_COMPONENTS = {
19644
20490
  suggested_parents: [0, { array: 0 }]
19645
20491
  }
19646
20492
  },
20493
+ DiscoveryInterpretationDto: {
20494
+ object: {
20495
+ complete: [1, 0],
20496
+ kind: [1, 0],
20497
+ scaled_attribute_count: [1, 0],
20498
+ truncated: [1, 0],
20499
+ unscaled_value_count: [1, 0]
20500
+ }
20501
+ },
19647
20502
  DiscoveryProofNodeDto: {
19648
20503
  object: { depth: [1, 0], explanation: [1, 0], id: [1, 0], step_type: [1, 0] }
19649
20504
  },
@@ -19664,6 +20519,22 @@ var RESPONSE_COMPONENTS = {
19664
20519
  undirected_edge_count: [1, 0]
19665
20520
  }
19666
20521
  },
20522
+ DisentailmentBatchResponse: {
20523
+ object: {
20524
+ completed: [1, 0],
20525
+ computation_time_ms: [1, 0],
20526
+ results: [1, { array: "DisentailmentBatchResult" }]
20527
+ }
20528
+ },
20529
+ DisentailmentBatchResult: {
20530
+ object: {
20531
+ antecedent_degree: [1, 0],
20532
+ consequent_degree: [1, 0],
20533
+ id: [1, 0],
20534
+ violated: [1, 0],
20535
+ violation_degree: [1, 0]
20536
+ }
20537
+ },
19667
20538
  DisentailmentResponse: {
19668
20539
  object: {
19669
20540
  antecedent_degree: [1, 0],
@@ -19857,9 +20728,26 @@ var RESPONSE_COMPONENTS = {
19857
20728
  status: [1, 0]
19858
20729
  }
19859
20730
  },
20731
+ DocumentUpload: {
20732
+ object: {
20733
+ chunk_bytes: [1, 0],
20734
+ chunk_sha256: [1, { array: 0 }],
20735
+ created_at: [1, 0],
20736
+ id: [1, 0],
20737
+ name: [1, 0],
20738
+ owner_id: [1, 0],
20739
+ size: [1, 0],
20740
+ status: [1, 0],
20741
+ updated_at: [1, 0],
20742
+ uploaded_bytes: [1, 0]
20743
+ }
20744
+ },
20745
+ DocumentUploadChunkReceipt: { object: { sha256: [1, 0], uploaded_bytes: [1, 0] } },
20746
+ DocumentUploadsResponse: { object: { uploads: [1, { array: "DocumentUpload" }] } },
19860
20747
  DocumentVersionsResponse: {
19861
20748
  object: { family_id: [1, 0], versions: [1, { array: "DocumentDto" }] }
19862
20749
  },
20750
+ DonorWeightDto: { object: { name: [1, 0], weight: [1, 0] } },
19863
20751
  DoseResponseResponse: {
19864
20752
  object: {
19865
20753
  ci_lower: [1, 0],
@@ -19889,6 +20777,14 @@ var RESPONSE_COMPONENTS = {
19889
20777
  DriveDto: {
19890
20778
  object: { activation: [1, 0], baseline: [1, 0], decay_rate: [1, 0], drive_type: [1, 0] }
19891
20779
  },
20780
+ DsrExportResponse: {
20781
+ object: {
20782
+ content: [1, 0],
20783
+ format: [1, 0],
20784
+ record_count: [1, 0],
20785
+ request: [1, "DsrRecordResponse"]
20786
+ }
20787
+ },
19892
20788
  DsrRecordResponse: {
19893
20789
  object: {
19894
20790
  data_subject: [1, 0],
@@ -19994,6 +20890,7 @@ var RESPONSE_COMPONENTS = {
19994
20890
  specificity: [2, "SpecificityDto"]
19995
20891
  }
19996
20892
  },
20893
+ EmergencyStopStatus: { object: { engaged: [1, 0] } },
19997
20894
  EncodeClipResponse: {
19998
20895
  object: {
19999
20896
  clip_id: [1, 0],
@@ -20087,6 +20984,16 @@ var RESPONSE_COMPONENTS = {
20087
20984
  total_episodes: [1, 0]
20088
20985
  }
20089
20986
  },
20987
+ EpistemicEntriesResponse: { object: { entries: [1, { array: "EpistemicEntryDto" }] } },
20988
+ EpistemicEntryDto: {
20989
+ object: {
20990
+ evidence_notes: [1, { array: 0 }],
20991
+ evidence_terms: [1, { array: 0 }],
20992
+ id: [1, 0],
20993
+ status: [1, 0],
20994
+ subject: [1, 0]
20995
+ }
20996
+ },
20090
20997
  EpochMetricsDto: {
20091
20998
  object: { data_satisfaction: [1, 0], knowledge_satisfaction: [1, 0], total_loss: [1, 0] }
20092
20999
  },
@@ -20191,6 +21098,7 @@ var RESPONSE_COMPONENTS = {
20191
21098
  object: {
20192
21099
  counterexamples_added: [1, 0],
20193
21100
  implications: [1, { array: "ImplicationDto" }],
21101
+ publication: [2, "ExplorationPublicationDto"],
20194
21102
  rules_created: [1, 0],
20195
21103
  total_implications: [1, 0]
20196
21104
  }
@@ -20203,6 +21111,16 @@ var RESPONSE_COMPONENTS = {
20203
21111
  is_complete: [1, 0]
20204
21112
  }
20205
21113
  },
21114
+ ExplorationPublicationDto: {
21115
+ object: {
21116
+ installed_rules: [1, { array: 0 }],
21117
+ licence_record: [1, 0],
21118
+ policy: [1, 0],
21119
+ population_record: [1, 0],
21120
+ scope_members: [1, 0],
21121
+ subject_sort_ids: [1, { array: 0 }]
21122
+ }
21123
+ },
20206
21124
  ExplorationQuestionDto: {
20207
21125
  object: {
20208
21126
  conclusion: [1, { array: 0 }],
@@ -20342,6 +21260,17 @@ var RESPONSE_COMPONENTS = {
20342
21260
  }
20343
21261
  },
20344
21262
  FactorChildrenDto: { object: { children: [1, { array: "ChildCandidateDto" }], factor: [1, 0] } },
21263
+ FactorContribution: {
21264
+ object: {
21265
+ background: [1, 0],
21266
+ finding: [1, 0],
21267
+ frequency: [1, 0],
21268
+ likelihood: [1, 0],
21269
+ membership: [1, 0],
21270
+ observation: [1, 0],
21271
+ present: [1, 0]
21272
+ }
21273
+ },
20345
21274
  FactorMemberSortDto: { object: { id: [1, 0], name: [1, 0] } },
20346
21275
  FactorProposalDto: {
20347
21276
  object: {
@@ -20366,6 +21295,25 @@ var RESPONSE_COMPONENTS = {
20366
21295
  }
20367
21296
  },
20368
21297
  FailedReviewDto: { object: { reason: [1, 0], review_id: [1, 0] } },
21298
+ FcaIngestionRecommendationDto: {
21299
+ object: {
21300
+ confidence: [1, 0],
21301
+ features: [1, { array: 0 }],
21302
+ sort_name: [1, 0],
21303
+ term_count: [1, 0]
21304
+ }
21305
+ },
21306
+ FcaIngestionReportDto: {
21307
+ object: {
21308
+ analysed_terms: [1, 0],
21309
+ concepts_enumerated: [1, 0],
21310
+ concepts_matching_existing: [1, 0],
21311
+ input_complete: [1, 0],
21312
+ recommendations: [1, { array: "FcaIngestionRecommendationDto" }],
21313
+ search_complete: [1, 0],
21314
+ stop_reason: [1, 0]
21315
+ }
21316
+ },
20369
21317
  FcaSearchSummaryDto: {
20370
21318
  object: {
20371
21319
  complete: [1, 0],
@@ -20389,7 +21337,6 @@ var RESPONSE_COMPONENTS = {
20389
21337
  FeatureRequirementDto: { object: { name: [1, 0] } },
20390
21338
  FindPlansResponse: { object: { count: [1, 0], plans: [1, { array: "PlanMatchDto" }] } },
20391
21339
  FindRulesResponse: { object: { matching_rules: [1, { array: "RuleDto" }] } },
20392
- FindallResponse: { object: { count: [1, 0], solutions: [1, { array: 0 }] } },
20393
21340
  FindingContextDto: {
20394
21341
  object: { related_record_ids: [1, { array: 0 }], roles: [1, { array: 0 }] }
20395
21342
  },
@@ -20403,7 +21350,6 @@ var RESPONSE_COMPONENTS = {
20403
21350
  FocusEntryDto: {
20404
21351
  object: { activation: [1, 0], rank: [1, 0], sort_name: [1, 0], term_id: [1, 0] }
20405
21352
  },
20406
- ForallResponse: { object: { result: [1, 0], solutions_tested: [1, 0] } },
20407
21353
  ForecastDomainDto: {
20408
21354
  object: {
20409
21355
  event_sort: [1, 0],
@@ -20541,6 +21487,7 @@ var RESPONSE_COMPONENTS = {
20541
21487
  FuzzyProveResponse: {
20542
21488
  object: {
20543
21489
  certificate: [0, { object: {} }],
21490
+ next_questions: [0, { array: "NextQuestionDto" }],
20544
21491
  query_time_ms: [1, 0],
20545
21492
  solutions: [1, { array: "SolutionDto" }]
20546
21493
  }
@@ -20606,7 +21553,8 @@ var RESPONSE_COMPONENTS = {
20606
21553
  candidates: [1, { array: "CandidateFacetDto" }],
20607
21554
  materialized: [2, "FacetDto"],
20608
21555
  parent: [1, 0],
20609
- population: [1, 0]
21556
+ population: [1, 0],
21557
+ population_sampled: [1, 0]
20610
21558
  }
20611
21559
  },
20612
21560
  GenerateNegativesResponse: {
@@ -20765,8 +21713,6 @@ var RESPONSE_COMPONENTS = {
20765
21713
  step: [1, 0]
20766
21714
  }
20767
21715
  },
20768
- GlobalAssignResponse: { object: { variable_name: [1, 0] } },
20769
- GlobalIncrementResponse: { object: { new_value: [1, 0], variable_name: [1, 0] } },
20770
21716
  GoalEvaluationResultDto: {
20771
21717
  object: {
20772
21718
  confidence: [1, 0],
@@ -21028,7 +21974,9 @@ var RESPONSE_COMPONENTS = {
21028
21974
  ImageSuggestedSortDto: { object: { features: [1, { array: 0 }], name: [1, 0] } },
21029
21975
  ImpasseDto: { object: { description: [1, 0], goal_id: [1, 0], type: [1, 0] } },
21030
21976
  ImplicationDto: { object: { conclusion: [1, { array: 0 }], premise: [1, { array: 0 }] } },
21031
- ImpliesResponse: { object: { antecedent_succeeded: [1, 0], result: [1, 0] } },
21977
+ ImportAgentResponse: {
21978
+ object: { agent_id: [1, 0], beliefs_imported: [1, 0], goals_imported: [1, 0], name: [1, 0] }
21979
+ },
21032
21980
  ImportAxiomsResponseDto: {
21033
21981
  object: {
21034
21982
  axioms: [1, 0],
@@ -21096,6 +22044,16 @@ var RESPONSE_COMPONENTS = {
21096
22044
  IncomingWebhookResponse: { object: { processed: [1, 0] } },
21097
22045
  IncompleteDocumentDto: { object: { document_id: [1, 0], resume_from_chunk: [1, 0] } },
21098
22046
  IndexSortsResponse: { object: { elapsed_ms: [1, 0], indexed_count: [1, 0] } },
22047
+ InferenceJobDto: {
22048
+ object: {
22049
+ id: [1, 0],
22050
+ kind: [1, 0],
22051
+ result: [2, { object: {} }],
22052
+ status: [1, 0],
22053
+ submitted_at: [1, 0]
22054
+ }
22055
+ },
22056
+ InferenceJobsResponse: { object: { jobs: [1, { array: "InferenceJobDto" }] } },
21099
22057
  InfluenceDto: {
21100
22058
  object: {
21101
22059
  activating: [1, 0],
@@ -21250,6 +22208,7 @@ var RESPONSE_COMPONENTS = {
21250
22208
  entities_refused: [0, { array: "RefusedEntityDto" }],
21251
22209
  entity_merge_audit: [0, { array: "EntityMergeAuditDto" }],
21252
22210
  failed_chunks: [0, { array: "ChunkFailureDto" }],
22211
+ fca_discovery: [2, "FcaIngestionReportDto"],
21253
22212
  grounding_stats: [0, "GroundingStatsDto"],
21254
22213
  ontology_verifier: [0, "OntologyVerifierStatsDto"],
21255
22214
  pipeline_quality: [0, "PipelineQualityStatsDto"],
@@ -21379,6 +22338,7 @@ var RESPONSE_COMPONENTS = {
21379
22338
  exhausted: [1, 0],
21380
22339
  objects: [1, 0],
21381
22340
  patterns: [1, { array: "RegionPatternDto" }],
22341
+ population_sampled: [1, 0],
21382
22342
  skipped: [1, 0],
21383
22343
  specificity_bound: [1, 0],
21384
22344
  steps: [1, 0]
@@ -21472,6 +22432,19 @@ var RESPONSE_COMPONENTS = {
21472
22432
  scheme_id: [1, 0]
21473
22433
  }
21474
22434
  },
22435
+ LateResponse: {
22436
+ object: {
22437
+ assumptions: [1, { array: "CausalAssumptionDto" }],
22438
+ ci_lower: [1, 0],
22439
+ ci_upper: [1, 0],
22440
+ first_stage: [1, 0],
22441
+ first_stage_f: [1, 0],
22442
+ late: [1, 0],
22443
+ n: [1, 0],
22444
+ std_error: [1, 0],
22445
+ weak_instrument: [1, 0]
22446
+ }
22447
+ },
21475
22448
  LatticeRuleCellDto: { object: { mass: [1, 0], probability: [1, 0], sort: [1, 0] } },
21476
22449
  LatticeRuleDto: {
21477
22450
  object: {
@@ -21494,6 +22467,7 @@ var RESPONSE_COMPONENTS = {
21494
22467
  exhausted: [1, 0],
21495
22468
  holdout: [2, "HoldoutSummaryDto"],
21496
22469
  meets: [1, 0],
22470
+ population_sampled: [1, 0],
21497
22471
  scored: [1, 0],
21498
22472
  target_feature: [1, 0],
21499
22473
  transpositions: [1, 0],
@@ -21574,6 +22548,7 @@ var RESPONSE_COMPONENTS = {
21574
22548
  infeasible_by_entropy: [1, 0],
21575
22549
  initial_gap: [1, 0],
21576
22550
  population: [1, 0],
22551
+ population_sampled: [1, 0],
21577
22552
  pruned_by_entropy: [1, 0],
21578
22553
  rules: [1, { array: "LatticeRuleDto" }],
21579
22554
  steps: [1, { array: "TraceStepDto" }],
@@ -21581,6 +22556,15 @@ var RESPONSE_COMPONENTS = {
21581
22556
  unweighted: [1, 0]
21582
22557
  }
21583
22558
  },
22559
+ LearnRulesResponse: {
22560
+ object: {
22561
+ clauses: [1, { array: "LearnedClauseDto" }],
22562
+ negatives: [1, 0],
22563
+ positives: [1, 0],
22564
+ uncovered: [1, { array: { array: 0 } }],
22565
+ uncovered_positives: [1, 0]
22566
+ }
22567
+ },
21584
22568
  LearnSortSimilaritiesResponse: {
21585
22569
  object: {
21586
22570
  effect_feature: [1, 0],
@@ -21590,7 +22574,17 @@ var RESPONSE_COMPONENTS = {
21590
22574
  min_similarity: [1, 0]
21591
22575
  }
21592
22576
  },
22577
+ LearnedClauseDto: {
22578
+ object: {
22579
+ body: [1, { array: "LearnedLiteralDto" }],
22580
+ negatives_covered: [1, 0],
22581
+ osfql: [1, 0],
22582
+ positives_covered: [1, 0],
22583
+ text: [1, 0]
22584
+ }
22585
+ },
21593
22586
  LearnedHypothesisDto: { object: { sort: [1, 0], support: [1, 0], term_id: [1, 0] } },
22587
+ LearnedLiteralDto: { object: { args: [1, { array: 0 }], sort: [1, 0] } },
21594
22588
  LearnedPatternDto: {
21595
22589
  object: {
21596
22590
  base_case_inputs: [1, { array: 0 }],
@@ -21639,11 +22633,23 @@ var RESPONSE_COMPONENTS = {
21639
22633
  absent_from_store: [1, 0],
21640
22634
  base_rate: [1, 0],
21641
22635
  classes: [1, { array: "StructuralClassDto" }],
22636
+ coverage: [1, "LggCoverageDto"],
21642
22637
  examined: [1, 0],
21643
22638
  generalizations: [1, 0],
22639
+ population_sampled: [1, 0],
21644
22640
  target_feature: [1, 0]
21645
22641
  }
21646
22642
  },
22643
+ LggCoverageDto: {
22644
+ object: {
22645
+ classes_dropped: [1, 0],
22646
+ depth_limited: [1, 0],
22647
+ examined_limited: [1, 0],
22648
+ exhaustive: [1, 0],
22649
+ frontier_dropped: [1, 0],
22650
+ seeds_unused: [1, 0]
22651
+ }
22652
+ },
21647
22653
  LineageEdgeDto: {
21648
22654
  object: {
21649
22655
  child: [1, 0],
@@ -21780,6 +22786,12 @@ var RESPONSE_COMPONENTS = {
21780
22786
  speakers: [1, { array: "SpeakerProfileDto" }]
21781
22787
  }
21782
22788
  },
22789
+ ListSubscriptionDeliveriesResponse: {
22790
+ object: {
22791
+ counts: [1, "SubscriptionDeliveryCountsDto"],
22792
+ deliveries: [1, { array: "SubscriptionDeliveryDto" }]
22793
+ }
22794
+ },
21783
22795
  ListSubscriptionsResponse: { object: { subscriptions: [1, { array: "SubscriptionDto" }] } },
21784
22796
  ListSymbolsResponse: { object: { module_name: [1, 0], symbols: [1, { array: "SymbolDto" }] } },
21785
22797
  ListTablesResponse: {
@@ -21933,6 +22945,9 @@ var RESPONSE_COMPONENTS = {
21933
22945
  upserted: [1, { array: 0 }]
21934
22946
  }
21935
22947
  },
22948
+ MaxSatResponse: {
22949
+ object: { cost: [1, 0], iterations: [1, 0], model: [1, { array: 0 }], status: [1, 0] }
22950
+ },
21936
22951
  MediationResponse: {
21937
22952
  object: {
21938
22953
  decomposition_certified: [1, 0],
@@ -22202,6 +23217,7 @@ var RESPONSE_COMPONENTS = {
22202
23217
  variable: [1, 0]
22203
23218
  }
22204
23219
  },
23220
+ MeterDto: { object: { used: [1, 0] } },
22205
23221
  MigrationPreviewEntryDto: {
22206
23222
  object: {
22207
23223
  classification: [1, 0],
@@ -22242,6 +23258,15 @@ var RESPONSE_COMPONENTS = {
22242
23258
  trials: [1, 0]
22243
23259
  }
22244
23260
  },
23261
+ MiningCoverageDto: {
23262
+ object: {
23263
+ attributes_unextended: [1, 0],
23264
+ beam_dropped: [1, 0],
23265
+ concepts_dropped: [1, 0],
23266
+ depth_limited: [1, 0],
23267
+ exhaustive: [1, 0]
23268
+ }
23269
+ },
22245
23270
  MissingInfoDto: { object: { description: [1, 0], kind: [1, 0], priority: [1, 0] } },
22246
23271
  ModularArithResponse: { object: { result: [1, 0] } },
22247
23272
  MonadicFactDto: {
@@ -22281,7 +23306,6 @@ var RESPONSE_COMPONENTS = {
22281
23306
  variable: [1, 0]
22282
23307
  }
22283
23308
  },
22284
- NafResponse: { object: { result: [1, 0] } },
22285
23309
  NamespaceDto: {
22286
23310
  object: { id: [1, 0], name: [1, 0], path: [1, 0], tags: [1, { array: 0 }], visibility: [1, 0] }
22287
23311
  },
@@ -22310,6 +23334,9 @@ var RESPONSE_COMPONENTS = {
22310
23334
  }
22311
23335
  },
22312
23336
  NeuroSymbolicStatusResponse: { object: { enabled: [1, 0], status: [2, { object: {} }] } },
23337
+ NextQuestionDto: {
23338
+ object: { information_gain: [1, 0], over_candidates: [1, 0], p_yes: [1, 0], sort: [1, 0] }
23339
+ },
22313
23340
  NlQueryResponse: {
22314
23341
  object: {
22315
23342
  mode: [1, 0],
@@ -22653,6 +23680,58 @@ var RESPONSE_COMPONENTS = {
22653
23680
  state: [1, { array: "VariableDto" }]
22654
23681
  }
22655
23682
  },
23683
+ PatternContextResponse: {
23684
+ object: {
23685
+ attributes: [1, { array: 0 }],
23686
+ engine_binary_sha256: [1, 0],
23687
+ excluded_attributes: [0, { array: 0 }],
23688
+ objects: [1, { array: 0 }],
23689
+ rows: [1, { array: { array: 0 } }],
23690
+ semantics: [1, 0],
23691
+ snapshot_sha256: [1, 0],
23692
+ tenant: [1, 0],
23693
+ version: [1, 0]
23694
+ }
23695
+ },
23696
+ PatternDiscoveryResponse: {
23697
+ object: {
23698
+ checked_proposals: [1, 0],
23699
+ continuation: [2, { object: {} }],
23700
+ evidence_status: [1, 0],
23701
+ mode: [1, 0],
23702
+ patterns: [1, { array: "PatternExplanationResponse" }],
23703
+ proposal_verification_complete: [1, 0],
23704
+ rejected_proposals: [1, { array: 0 }],
23705
+ scope: [1, "PatternContextResponse"],
23706
+ search_complete: [1, 0],
23707
+ stop_reason: [1, 0],
23708
+ visited: [1, 0],
23709
+ work: [1, 0]
23710
+ }
23711
+ },
23712
+ PatternExplanationResponse: {
23713
+ object: {
23714
+ closed_in_context: [1, 0],
23715
+ closure: [1, { array: 0 }],
23716
+ counterexample_count: [1, 0],
23717
+ counterexamples: [1, { array: 0 }],
23718
+ intent: [1, { array: 0 }],
23719
+ scope_sha256: [1, 0],
23720
+ semantics: [1, 0],
23721
+ witness_count: [1, 0],
23722
+ witnesses: [1, { array: 0 }]
23723
+ }
23724
+ },
23725
+ PatternReplayResponse: {
23726
+ object: {
23727
+ current_scope_sha256: [1, 0],
23728
+ evidence_status: [1, 0],
23729
+ explanation: [2, "PatternExplanationResponse"],
23730
+ scope_unchanged: [1, 0],
23731
+ stale_dependencies: [1, { array: 0 }],
23732
+ unknown_attributes: [1, { array: 0 }]
23733
+ }
23734
+ },
22656
23735
  PatternSummaryDto: {
22657
23736
  object: {
22658
23737
  base_case_inputs: [1, { array: 0 }],
@@ -22661,6 +23740,49 @@ var RESPONSE_COMPONENTS = {
22661
23740
  pattern_id: [1, 0]
22662
23741
  }
22663
23742
  },
23743
+ PatternTimedDiscoveryResponse: {
23744
+ object: {
23745
+ checked_proposals: [1, 0],
23746
+ continuation: [2, { object: {} }],
23747
+ evidence_status: [1, 0],
23748
+ mode: [1, 0],
23749
+ patterns: [1, { array: "PatternExplanationResponse" }],
23750
+ proposal_verification_complete: [1, 0],
23751
+ rejected_proposals: [1, { array: 0 }],
23752
+ scope: [1, "PatternContextResponse"],
23753
+ search_complete: [1, 0],
23754
+ stop_reason: [1, 0],
23755
+ visited: [1, 0],
23756
+ work: [1, 0],
23757
+ timing_ms: [1, "PatternTimingResponse"]
23758
+ }
23759
+ },
23760
+ PatternTimingResponse: {
23761
+ object: {
23762
+ model_file_io: [1, 0],
23763
+ native_context_and_source_reads: [1, 0],
23764
+ proposal_extraction_and_native_discovery: [1, 0],
23765
+ request_total_before_serialization: [1, 0]
23766
+ }
23767
+ },
23768
+ PatternValidationResponse: {
23769
+ object: {
23770
+ base_rate: [1, 0],
23771
+ candidates: [1, { array: "ConceptRuleCandidateDto" }],
23772
+ coverage: [2, "MiningCoverageDto"],
23773
+ examined: [1, 0],
23774
+ input_complete: [1, 0],
23775
+ input_stop_reason: [1, 0],
23776
+ installed: [1, { array: "InstalledRuleDto" }],
23777
+ semantics: [1, 0],
23778
+ skipped: [1, 0],
23779
+ status: [1, 0],
23780
+ target_feature: [1, 0],
23781
+ validation: [2, "ConceptRuleValidationSummaryDto"],
23782
+ candidate_source: [1, 0],
23783
+ discovery: [1, "PatternDiscoveryResponse"]
23784
+ }
23785
+ },
22664
23786
  PauseReceipt: { object: { id: [1, 0], status: [1, 0] } },
22665
23787
  PendingActionReviewDto: {
22666
23788
  object: {
@@ -22892,6 +24014,17 @@ var RESPONSE_COMPONENTS = {
22892
24014
  strategy_name: [1, 0]
22893
24015
  }
22894
24016
  },
24017
+ ProductionPlanResponse: {
24018
+ object: {
24019
+ feasible: [1, 0],
24020
+ integer_profit: [1, 0],
24021
+ integer_quantities: [1, { object: {} }],
24022
+ quantities: [1, { object: {} }],
24023
+ resource_utilization: [1, { object: {} }],
24024
+ status: [1, 0],
24025
+ total_profit: [1, 0]
24026
+ }
24027
+ },
22895
24028
  PromptTraceDto: { object: { llm_context: [1, "LlmContextTraceDto"], system_prompt: [1, 0] } },
22896
24029
  ProofConclusionDto: { object: { features: [1, { object: {} }], sort_id: [1, 0] } },
22897
24030
  ProofDto: {
@@ -23006,6 +24139,7 @@ var RESPONSE_COMPONENTS = {
23006
24139
  incomplete_reason: [3, 0],
23007
24140
  input_complete: [1, 0],
23008
24141
  input_stop_reason: [1, 0],
24142
+ interpretation: [1, "DiscoveryInterpretationDto"],
23009
24143
  novel_concepts_discovered: [1, 0],
23010
24144
  processing_time_ms: [1, 0],
23011
24145
  recommendations: [1, { array: "SortRecommendationDto" }],
@@ -23052,6 +24186,16 @@ var RESPONSE_COMPONENTS = {
23052
24186
  }
23053
24187
  },
23054
24188
  PublishResponse: { object: { bundle_id: [1, 0], plugin_id: [1, 0], version: [1, 0] } },
24189
+ PurgeAuditResponse: {
24190
+ object: {
24191
+ anchor: [2, "AuditAnchor"],
24192
+ dry_run: [1, 0],
24193
+ removed: [1, 0],
24194
+ requested: [1, 0],
24195
+ requested_before: [1, 0],
24196
+ stopped_by: [2, "CutStop"]
24197
+ }
24198
+ },
23055
24199
  PushGoalResponse: { object: { goal_id: [1, 0], stack_size: [1, 0] } },
23056
24200
  QaPairDto: { object: { answer: [1, 0], question: [1, 0], term_id: [1, 0] } },
23057
24201
  QualitySummaryDto: {
@@ -23200,6 +24344,9 @@ var RESPONSE_COMPONENTS = {
23200
24344
  ReflectionQueryResponse: {
23201
24345
  object: { count: [1, 0], matches: [1, { array: 0 }], message: [1, 0] }
23202
24346
  },
24347
+ RefreshSourceResponse: {
24348
+ object: { changed: [1, 0], report: [1, "IngestUrlResponse"], source: [1, "SourceDto"] }
24349
+ },
23203
24350
  RefusedEntityDto: { object: { message: [1, 0], sort_name: [1, 0], term_id: [1, 0] } },
23204
24351
  RefutationCheckDto: {
23205
24352
  object: { detail: [1, 0], name: [1, 0], passed: [1, 0], refuted_estimate: [1, 0] }
@@ -23251,6 +24398,9 @@ var RESPONSE_COMPONENTS = {
23251
24398
  supported_modes: [1, { array: 0 }]
23252
24399
  }
23253
24400
  },
24401
+ RegisteredAdapterDto: {
24402
+ object: { name: [1, 0], owned: [1, 0], platform: [1, 0], status: [1, 0] }
24403
+ },
23254
24404
  ReifyTransitionsResponseDto: {
23255
24405
  object: {
23256
24406
  equations: [1, { array: 0 }],
@@ -23435,6 +24585,7 @@ var RESPONSE_COMPONENTS = {
23435
24585
  ResidualWitnessDto: {
23436
24586
  object: { partial_bindings: [1, { object: {} }], trigger: [1, 0], witness_id: [1, 0] }
23437
24587
  },
24588
+ ResiduatedAntecedentDto: { object: { llr: [1, 0], sort: [1, 0] } },
23438
24589
  ResiduatedEntry: {
23439
24590
  object: {
23440
24591
  feature_name: [1, 0],
@@ -23508,6 +24659,7 @@ var RESPONSE_COMPONENTS = {
23508
24659
  RetainedOriginal: { object: { content_url: [1, 0], id: [1, 0], name: [1, 0], size: [1, 0] } },
23509
24660
  RetainedTableDto: { object: { reason: [1, 0], table: [1, 0] } },
23510
24661
  RetentionDto: { object: { enforced: [1, 0] } },
24662
+ RetentionPolicy: { object: { legal_hold: [1, 0], min_retention_days: [1, 0] } },
23511
24663
  RetractRuleResponse: {
23512
24664
  object: { remaining_count: [1, 0], retracted_count: [1, 0], retracted_ids: [1, { array: 0 }] }
23513
24665
  },
@@ -23964,6 +25116,20 @@ var RESPONSE_COMPONENTS = {
23964
25116
  timestamp: [1, 0]
23965
25117
  }
23966
25118
  },
25119
+ SeriesBacktestDto: { object: { holdout: [1, 0], mae: [1, 0], method: [1, 0], rmse: [1, 0] } },
25120
+ SeriesForecastPointDto: { object: { lower: [1, 0], mean: [1, 0], step: [1, 0], upper: [1, 0] } },
25121
+ SeriesForecastResponse: {
25122
+ object: {
25123
+ backtest: [1, "SeriesBacktestDto"],
25124
+ candidates: [1, { array: "SeriesBacktestDto" }],
25125
+ forecast: [1, { array: "SeriesForecastPointDto" }],
25126
+ method: [1, 0],
25127
+ observations: [1, 0],
25128
+ parameters: [1, "SmoothingParametersDto"],
25129
+ sigma: [1, 0],
25130
+ skipped: [1, 0]
25131
+ }
25132
+ },
23967
25133
  SessionDocumentDto: { object: { document_id: [1, 0], status: [1, 0] } },
23968
25134
  SessionGraphDto: {
23969
25135
  object: {
@@ -24001,6 +25167,15 @@ var RESPONSE_COMPONENTS = {
24001
25167
  ShaclShapeDto: {
24002
25168
  object: { properties: [1, { array: "ShaclPropertyDto" }], target_class: [1, 0] }
24003
25169
  },
25170
+ ShapleyContributionDto: { object: { coefficient: [1, 0], feature: [1, 0], value: [1, 0] } },
25171
+ ShapleyResponse: {
25172
+ object: {
25173
+ baseline: [1, 0],
25174
+ contributions: [1, { array: "ShapleyContributionDto" }],
25175
+ intercept: [1, 0],
25176
+ prediction: [1, 0]
25177
+ }
25178
+ },
24004
25179
  ShiftEffectResponse: {
24005
25180
  object: {
24006
25181
  assumptions: [1, { array: "CausalAssumptionDto" }],
@@ -24056,6 +25231,7 @@ var RESPONSE_COMPONENTS = {
24056
25231
  }
24057
25232
  },
24058
25233
  SkippedWebPageDto: { object: { depth: [1, 0], message: [1, 0], reason: [1, 0], url: [1, 0] } },
25234
+ SmoothingParametersDto: { object: { alpha: [1, 0] } },
24059
25235
  SmtCheckResponse: { object: { assignments: [2, { object: {} }], result: [1, 0] } },
24060
25236
  SnapshotFilter: { object: { request_path_pattern: [1, 0] } },
24061
25237
  SnapshotResponse: {
@@ -24084,6 +25260,7 @@ var RESPONSE_COMPONENTS = {
24084
25260
  conclusion: [2, "ProofConclusionDto"],
24085
25261
  matched_sorts: [0, { array: 0 }],
24086
25262
  proof: [2, "ProofDto"],
25263
+ residuated_antecedents: [0, { array: "ResiduatedAntecedentDto" }],
24087
25264
  residuated_sorts: [0, { array: 0 }],
24088
25265
  score_decomposition: [2, "LogOddsScoreDecompositionDto"],
24089
25266
  substitution: [1, "HomoiconicSubstitutionDto"]
@@ -24181,6 +25358,7 @@ var RESPONSE_COMPONENTS = {
24181
25358
  incomplete_reason: [3, 0],
24182
25359
  input_complete: [1, 0],
24183
25360
  input_stop_reason: [1, 0],
25361
+ interpretation: [1, "DiscoveryInterpretationDto"],
24184
25362
  novel_concepts_discovered: [1, 0],
24185
25363
  processing_time_ms: [1, 0],
24186
25364
  recommendations: [1, { array: "SortRecommendationDto" }],
@@ -24221,6 +25399,17 @@ var RESPONSE_COMPONENTS = {
24221
25399
  },
24222
25400
  SortIndexStatusResponse: { object: { running: [1, 0], total_sorts: [1, 0] } },
24223
25401
  SortInfoDto: { object: { id: [1, 0] } },
25402
+ SortLicenceResponseDto: {
25403
+ object: {
25404
+ declared_by: [1, 0],
25405
+ extends: [1, 0],
25406
+ installed_rules: [1, { array: 0 }],
25407
+ licence_record: [1, 0],
25408
+ policy: [1, 0],
25409
+ sort_id: [1, 0],
25410
+ sort_name: [1, 0]
25411
+ }
25412
+ },
24224
25413
  SortListResponse: { object: { count: [1, 0], sorts: [1, { array: "SortDto" }] } },
24225
25414
  SortNeighborhoodResponse: {
24226
25415
  object: {
@@ -24319,6 +25508,18 @@ var RESPONSE_COMPONENTS = {
24319
25508
  supported_modes: [1, { array: 0 }]
24320
25509
  }
24321
25510
  },
25511
+ SourceDto: {
25512
+ object: {
25513
+ created_at: [1, 0],
25514
+ id: [1, 0],
25515
+ interval_seconds: [1, 0],
25516
+ max_depth: [1, 0],
25517
+ max_pages: [1, 0],
25518
+ next_due_at: [1, 0],
25519
+ refresh_count: [1, 0],
25520
+ url: [1, 0]
25521
+ }
25522
+ },
24322
25523
  SourceExcerptDto: { object: { concept: [1, 0], text: [1, 0] } },
24323
25524
  SourceSummaryDto: {
24324
25525
  object: { available: [1, 0], mode: [1, 0], source_id: [1, 0], source_type: [1, 0] }
@@ -24332,6 +25533,7 @@ var RESPONSE_COMPONENTS = {
24332
25533
  supported_modes: [1, { array: 0 }]
24333
25534
  }
24334
25535
  },
25536
+ SourcesResponse: { object: { sources: [1, { array: "SourceDto" }] } },
24335
25537
  SovereignEndpoint: { object: { host: [1, 0], internal: [1, 0], var: [1, 0] } },
24336
25538
  SovereigntyReport: {
24337
25539
  object: {
@@ -24408,6 +25610,7 @@ var RESPONSE_COMPONENTS = {
24408
25610
  object: {
24409
25611
  attribute_count: [1, 0],
24410
25612
  object_count: [1, 0],
25613
+ population_sampled: [1, 0],
24411
25614
  question: [2, "ExplorationQuestionDto"],
24412
25615
  search: [1, "ExplorationSearchReportDto"],
24413
25616
  session_id: [1, 0]
@@ -24472,7 +25675,19 @@ var RESPONSE_COMPONENTS = {
24472
25675
  terms_deleted: [1, 0]
24473
25676
  }
24474
25677
  },
25678
+ SubmitInferenceJobResponse: { object: { job_id: [1, 0], status: [1, 0], status_url: [1, 0] } },
24475
25679
  SubscribeToKbResponse: { object: { message: [1, 0], subscription_id: [1, 0], success: [1, 0] } },
25680
+ SubscriptionDeliveryCountsDto: { object: { dead: [1, 0], delivered: [1, 0], pending: [1, 0] } },
25681
+ SubscriptionDeliveryDto: {
25682
+ object: {
25683
+ attempts: [1, 0],
25684
+ created_at: [1, 0],
25685
+ id: [1, 0],
25686
+ kind: [1, 0],
25687
+ max_attempts: [1, 0],
25688
+ state: [1, 0]
25689
+ }
25690
+ },
24476
25691
  SubscriptionDto: {
24477
25692
  object: {
24478
25693
  backoff_ms: [1, 0],
@@ -24529,6 +25744,13 @@ var RESPONSE_COMPONENTS = {
24529
25744
  verification: [1, 0]
24530
25745
  }
24531
25746
  },
25747
+ SurvivalEffectResponse: {
25748
+ object: {
25749
+ censoring: [1, "CensoringDiagnosticDto"],
25750
+ effect: [1, "AteEstimateResponse"],
25751
+ horizon: [1, 0]
25752
+ }
25753
+ },
24532
25754
  SuspendedQueryDto: {
24533
25755
  object: {
24534
25756
  confidence: [1, 0],
@@ -24554,6 +25776,18 @@ var RESPONSE_COMPONENTS = {
24554
25776
  success: [1, 0]
24555
25777
  }
24556
25778
  },
25779
+ SyntheticControlResponse: {
25780
+ object: {
25781
+ average_effect: [1, 0],
25782
+ effects: [1, { array: 0 }],
25783
+ post_rmspe: [1, 0],
25784
+ pre_rmspe: [1, 0],
25785
+ rmspe_ratio: [1, 0],
25786
+ synthetic_post: [1, { array: 0 }],
25787
+ synthetic_pre: [1, { array: 0 }],
25788
+ weights: [1, { array: "DonorWeightDto" }]
25789
+ }
25790
+ },
24557
25791
  SystemDiagnosticCheckDto: {
24558
25792
  object: {
24559
25793
  auto_fixable: [1, 0],
@@ -24806,6 +26040,10 @@ var RESPONSE_COMPONENTS = {
24806
26040
  TuningDeploymentsResponse: {
24807
26041
  object: { deployments: [1, { array: "DeploymentDto" }], unprojectable: [1, { array: 0 }] }
24808
26042
  },
26043
+ TuningExecutionDto: { object: { state: [1, 0], transaction_id: [1, 0] } },
26044
+ TuningExecutionsResponse: {
26045
+ object: { executions: [1, { array: "TuningExecutionDto" }], truncated: [1, 0] }
26046
+ },
24809
26047
  TuningRunDto: {
24810
26048
  object: {
24811
26049
  pipeline: [1, 0],
@@ -24932,7 +26170,6 @@ var RESPONSE_COMPONENTS = {
24932
26170
  y: [1, 0]
24933
26171
  }
24934
26172
  },
24935
- UndoResponse: { object: { trail_position: [1, 0], undo_id: [1, 0] } },
24936
26173
  UndoRuleStoreResponse: { object: { rule_count: [1, 0], success: [1, 0] } },
24937
26174
  UnificationQueryResponse: { object: { count: [1, 0], results: [1, { array: "TermDto" }] } },
24938
26175
  UnifyBindingDto: { object: { value: [1, 0], variable: [1, 0] } },
@@ -24942,6 +26179,9 @@ var RESPONSE_COMPONENTS = {
24942
26179
  },
24943
26180
  UnsatisfiableClassDto: { object: { class: [1, 0], disjoint_pair: [1, { array: 0 }] } },
24944
26181
  UnsatisfiableSortDto: { object: { disjoint_pair: [1, { array: 0 }], sort: [1, 0] } },
26182
+ UpdateAgentResponse: {
26183
+ object: { agent_id: [1, 0], config: [1, "AgentConfigDto"], name: [1, 0] }
26184
+ },
24945
26185
  UpdatePlanStatsResponse: {
24946
26186
  object: { message: [1, 0], new_success_rate: [1, 0], new_use_count: [1, 0] }
24947
26187
  },
@@ -24994,6 +26234,14 @@ var RESPONSE_COMPONENTS = {
24994
26234
  robots_product_token: [1, 0]
24995
26235
  }
24996
26236
  },
26237
+ UsageLimitsDto: { object: {} },
26238
+ UsageResponse: {
26239
+ object: {
26240
+ agent_cycles: [1, "MeterDto"],
26241
+ chat_turns: [1, "MeterDto"],
26242
+ scheduled_runs: [1, "MeterDto"]
26243
+ }
26244
+ },
24997
26245
  ValidateResponse: {
24998
26246
  object: {
24999
26247
  proof_trace: [1, "ProofTrace"],
@@ -25080,7 +26328,14 @@ var RESPONSE_COMPONENTS = {
25080
26328
  score: [1, 0]
25081
26329
  }
25082
26330
  },
25083
- VerifyResponse: { object: { n_violations: [1, 0], ok: [1, 0], violations: [1, { array: 0 }] } },
26331
+ VerifyResponse: {
26332
+ object: {
26333
+ anchor: [2, "AuditAnchor"],
26334
+ n_violations: [1, 0],
26335
+ ok: [1, 0],
26336
+ violations: [1, { array: 0 }]
26337
+ }
26338
+ },
25084
26339
  VerifyRoundTripResponse: {
25085
26340
  object: {
25086
26341
  entities_expected: [1, 0],
@@ -25234,6 +26489,28 @@ var RESPONSE_COMPONENTS = {
25234
26489
  weight: [1, 0]
25235
26490
  }
25236
26491
  },
26492
+ WhyNotDto: {
26493
+ object: {
26494
+ facts_of_sort: [1, 0],
26495
+ goal_sort: [1, 0],
26496
+ nearest_fact: [2, "WhyNotNearestFactDto"],
26497
+ rules: [1, { array: "WhyNotRuleDto" }],
26498
+ summary: [1, 0]
26499
+ }
26500
+ },
26501
+ WhyNotMismatchDto: { object: { expected: [1, 0], feature: [1, 0] } },
26502
+ WhyNotNearestFactDto: {
26503
+ object: { matched: [1, 0], mismatches: [1, { array: "WhyNotMismatchDto" }], term_id: [1, 0] }
26504
+ },
26505
+ WhyNotPremiseDto: { object: { features: [1, { object: {} }], sort: [1, 0] } },
26506
+ WhyNotRuleDto: {
26507
+ object: {
26508
+ blocked_by: [1, { array: "WhyNotPremiseDto" }],
26509
+ head_sort: [1, 0],
26510
+ jointly_unsatisfied: [1, 0],
26511
+ rule_id: [1, 0]
26512
+ }
26513
+ },
25237
26514
  WithOriginals_AsyncBatchIngestionResponse: {
25238
26515
  object: {
25239
26516
  document_count: [1, 0],
@@ -25274,6 +26551,43 @@ var RESPONSE_COMPONENTS = {
25274
26551
  source_revision: [1, 0]
25275
26552
  }
25276
26553
  },
26554
+ WorkflowDto: {
26555
+ object: {
26556
+ created_at: [1, 0],
26557
+ id: [1, 0],
26558
+ inputs: [1, { array: 0 }],
26559
+ max_steps: [1, 0],
26560
+ name: [1, 0],
26561
+ start: [1, 0],
26562
+ steps: [1, { object: {} }],
26563
+ updated_at: [1, 0],
26564
+ version: [1, 0]
26565
+ }
26566
+ },
26567
+ WorkflowListResponse: { object: { workflows: [1, { array: "WorkflowDto" }] } },
26568
+ WorkflowRunDto: {
26569
+ object: {
26570
+ context: [1, { object: {} }],
26571
+ id: [1, 0],
26572
+ log: [1, { array: "WorkflowStepRecord" }],
26573
+ started_at: [1, 0],
26574
+ started_by: [1, 0],
26575
+ status: [1, 0],
26576
+ steps_taken: [1, 0],
26577
+ workflow_id: [1, 0],
26578
+ workflow_version: [1, 0]
26579
+ }
26580
+ },
26581
+ WorkflowRunListResponse: { object: { runs: [1, { array: "WorkflowRunDto" }] } },
26582
+ WorkflowStepRecord: {
26583
+ object: {
26584
+ finished_at: [1, 0],
26585
+ kind: [1, 0],
26586
+ outcome: [1, 0],
26587
+ started_at: [1, 0],
26588
+ step: [1, 0]
26589
+ }
26590
+ },
25277
26591
  WorldModelTransitionDto: { object: { probability: [1, 0] } },
25278
26592
  YankResponse: { object: { plugin_id: [1, 0], yanked: [1, 0] } }
25279
26593
  };
@@ -25519,21 +26833,11 @@ var RESPONSE_OPERATIONS = {
25519
26833
  path: "/api/v1/vocabulary/candidates/{candidate_id}/assessments",
25520
26834
  responses: { 201: "AssessmentResponse" }
25521
26835
  },
25522
- assignBacktrackable: {
25523
- method: "POST",
25524
- path: "/api/v1/control/assign/backtrackable",
25525
- responses: { 200: "BacktrackableAssignResponse" }
25526
- },
25527
26836
  assignConceptFeatures: {
25528
26837
  method: "POST",
25529
26838
  path: "/api/v1/analysis/concept-features/assign",
25530
26839
  responses: { 200: "ConceptAssignmentResponseDto" }
25531
26840
  },
25532
- assignGlobal: {
25533
- method: "POST",
25534
- path: "/api/v1/control/assign/global",
25535
- responses: { 200: "GlobalAssignResponse" }
25536
- },
25537
26841
  assumeFeasibilityVar: {
25538
26842
  method: "POST",
25539
26843
  path: "/api/v1/feasibility/sessions/{session_id}/assumptions",
@@ -25699,11 +27003,31 @@ var RESPONSE_OPERATIONS = {
25699
27003
  path: "/api/v1/ingest/sessions/{session_id}/documents/{document_id}/cancel",
25700
27004
  responses: { 200: "CancelDocumentResponse" }
25701
27005
  },
27006
+ cancelInferenceJob: {
27007
+ method: "POST",
27008
+ path: "/api/v1/inference/jobs/{id}/cancel",
27009
+ responses: { 200: "InferenceJobDto" }
27010
+ },
27011
+ cancelWorkflowRun: {
27012
+ method: "POST",
27013
+ path: "/api/v1/workflow-runs/{run_id}/cancel",
27014
+ responses: { 200: "WorkflowRunDto" }
27015
+ },
25702
27016
  captureSnapshot: {
25703
27017
  method: "POST",
25704
27018
  path: "/api/v1/predictions/snapshot",
25705
27019
  responses: { 201: "PredictionSnapshot" }
25706
27020
  },
27021
+ categoricalInfer: {
27022
+ method: "POST",
27023
+ path: "/api/v1/inference/categorical",
27024
+ responses: { 200: "CategoricalResult" }
27025
+ },
27026
+ categoricalVerify: {
27027
+ method: "POST",
27028
+ path: "/api/v1/inference/categorical/verify",
27029
+ responses: { 200: "CategoricalVerifyResponse" }
27030
+ },
25707
27031
  causationProbabilities: {
25708
27032
  method: "POST",
25709
27033
  path: "/api/v1/causal/causation-probabilities",
@@ -25762,11 +27086,6 @@ var RESPONSE_OPERATIONS = {
25762
27086
  },
25763
27087
  checkSmt: { method: "POST", path: "/api/v1/smt/check", responses: { 200: "SmtCheckResponse" } },
25764
27088
  checkTuple: { method: "POST", path: "/api/v1/authz/check", responses: { 200: "CheckResponse" } },
25765
- chunk: {
25766
- method: "PUT",
25767
- path: "/api/v1/ingest/rdf/uploads/{id}",
25768
- responses: { 200: "ChunkReceipt" }
25769
- },
25770
27089
  classify: {
25771
27090
  method: "POST",
25772
27091
  path: "/api/v1/facets/{parent}/{facet}/classify",
@@ -25853,10 +27172,19 @@ var RESPONSE_OPERATIONS = {
25853
27172
  path: "/api/v1/facets/{parent}/{facet}/complement/{cell}",
25854
27173
  responses: { 200: "ComplementDto" }
25855
27174
  },
25856
- complete: {
27175
+ completeDocumentUpload: {
25857
27176
  method: "POST",
25858
- path: "/api/v1/ingest/rdf/uploads/{id}/complete",
25859
- responses: { 202: "Artifact" }
27177
+ path: "/api/v1/ingest/documents/uploads/{id}/complete",
27178
+ responses: {
27179
+ 200: "IngestDocumentResponse",
27180
+ 201: "IngestDocumentResponse",
27181
+ 202: "WithOriginals_AsyncIngestionResponse"
27182
+ }
27183
+ },
27184
+ completeDsr: {
27185
+ method: "POST",
27186
+ path: "/api/v1/dsr/{id}/complete",
27187
+ responses: { 200: "DsrRecordResponse" }
25860
27188
  },
25861
27189
  completeExploration: {
25862
27190
  method: "POST",
@@ -25878,6 +27206,11 @@ var RESPONSE_OPERATIONS = {
25878
27206
  path: "/api/v1/sorts/meet/complete",
25879
27207
  responses: { 200: "CompleteBoundResponse" }
25880
27208
  },
27209
+ completeRdfUpload: {
27210
+ method: "POST",
27211
+ path: "/api/v1/ingest/rdf/uploads/{id}/complete",
27212
+ responses: { 202: "Artifact" }
27213
+ },
25881
27214
  computeCentrality: {
25882
27215
  method: "POST",
25883
27216
  path: "/api/v1/analysis/centrality",
@@ -25928,30 +27261,6 @@ var RESPONSE_OPERATIONS = {
25928
27261
  path: "/api/v1/analysis/contrast",
25929
27262
  responses: { 200: "ContrastResponseDto" }
25930
27263
  },
25931
- controlCallOnce: {
25932
- method: "POST",
25933
- path: "/api/v1/control/call-once",
25934
- responses: { 200: "CallOnceResponse" }
25935
- },
25936
- controlCond: { method: "POST", path: "/api/v1/control/cond", responses: { 200: "CondResponse" } },
25937
- controlCut: { method: "POST", path: "/api/v1/control/cut", responses: { 200: "CutResponse" } },
25938
- controlFindall: {
25939
- method: "POST",
25940
- path: "/api/v1/control/findall",
25941
- responses: { 200: "FindallResponse" }
25942
- },
25943
- controlForall: {
25944
- method: "POST",
25945
- path: "/api/v1/control/forall",
25946
- responses: { 200: "ForallResponse" }
25947
- },
25948
- controlImplies: {
25949
- method: "POST",
25950
- path: "/api/v1/control/implies",
25951
- responses: { 200: "ImpliesResponse" }
25952
- },
25953
- controlNaf: { method: "POST", path: "/api/v1/control/naf", responses: { 200: "NafResponse" } },
25954
- controlUndo: { method: "POST", path: "/api/v1/control/undo", responses: { 200: "UndoResponse" } },
25955
27264
  copyTerm: { method: "POST", path: "/api/v1/copy/term", responses: { 200: "CopyTermResponse" } },
25956
27265
  corpusBridges: {
25957
27266
  method: "POST",
@@ -25983,7 +27292,6 @@ var RESPONSE_OPERATIONS = {
25983
27292
  path: "/api/v1/audit/entries/count",
25984
27293
  responses: { 200: "CountAuditEntriesResponse" }
25985
27294
  },
25986
- create: { method: "POST", path: "/api/v1/ingest/rdf/uploads", responses: { 201: "Artifact" } },
25987
27295
  createAgent: {
25988
27296
  method: "POST",
25989
27297
  path: "/api/v1/cognitive/agents",
@@ -26030,6 +27338,11 @@ var RESPONSE_OPERATIONS = {
26030
27338
  path: "/api/v1/execution/curry",
26031
27339
  responses: { 200: "CurriedFunctionResponse" }
26032
27340
  },
27341
+ createDocumentUpload: {
27342
+ method: "POST",
27343
+ path: "/api/v1/ingest/documents/uploads",
27344
+ responses: { 201: "DocumentUpload" }
27345
+ },
26033
27346
  createDsr: { method: "POST", path: "/api/v1/dsr", responses: { 201: "DsrRecordResponse" } },
26034
27347
  createExecutionSession: {
26035
27348
  method: "POST",
@@ -26046,6 +27359,11 @@ var RESPONSE_OPERATIONS = {
26046
27359
  path: "/api/v1/inference/goals",
26047
27360
  responses: { 201: "CreateGoalResponse" }
26048
27361
  },
27362
+ createIngestSource: {
27363
+ method: "POST",
27364
+ path: "/api/v1/ingest/sources",
27365
+ responses: { 201: "SourceDto" }
27366
+ },
26049
27367
  createModule: {
26050
27368
  method: "POST",
26051
27369
  path: "/api/v1/modules",
@@ -26056,6 +27374,11 @@ var RESPONSE_OPERATIONS = {
26056
27374
  path: "/api/v1/oversight/sessions",
26057
27375
  responses: { 201: "CreateSessionResponse" }
26058
27376
  },
27377
+ createRdfUpload: {
27378
+ method: "POST",
27379
+ path: "/api/v1/ingest/rdf/uploads",
27380
+ responses: { 201: "Artifact" }
27381
+ },
26059
27382
  createRootNamespace: {
26060
27383
  method: "POST",
26061
27384
  path: "/api/v1/namespaces",
@@ -26107,6 +27430,7 @@ var RESPONSE_OPERATIONS = {
26107
27430
  path: "/api/v1/proof-engine/term-store/sessions",
26108
27431
  responses: { 200: "TermStoreSessionResponse" }
26109
27432
  },
27433
+ createWorkflow: { method: "POST", path: "/api/v1/workflows", responses: { 201: "WorkflowDto" } },
26110
27434
  currentFluentValue: {
26111
27435
  method: "GET",
26112
27436
  path: "/api/v1/fluents/current",
@@ -26195,6 +27519,11 @@ var RESPONSE_OPERATIONS = {
26195
27519
  responses: { 200: "DeleteTermReport" }
26196
27520
  },
26197
27521
  demoSeed: { method: "POST", path: "/api/v1/demo/seed", responses: { 200: "DemoSeedResponse" } },
27522
+ denyDsr: {
27523
+ method: "POST",
27524
+ path: "/api/v1/dsr/{id}/deny",
27525
+ responses: { 200: "DsrRecordResponse" }
27526
+ },
26198
27527
  deprecateSort: {
26199
27528
  method: "POST",
26200
27529
  path: "/api/v1/sorts/{id}/deprecate",
@@ -26215,6 +27544,11 @@ var RESPONSE_OPERATIONS = {
26215
27544
  path: "/api/v1/ui/describe",
26216
27545
  responses: { 200: "UIDescribeResponse" }
26217
27546
  },
27547
+ detectAnomalies: {
27548
+ method: "POST",
27549
+ path: "/api/v1/analysis/anomalies",
27550
+ responses: { 200: "AnomalyResponse" }
27551
+ },
26218
27552
  detectCommunities: {
26219
27553
  method: "POST",
26220
27554
  path: "/api/v1/communities/detect",
@@ -26260,6 +27594,11 @@ var RESPONSE_OPERATIONS = {
26260
27594
  path: "/api/v1/statistical/discover-model",
26261
27595
  responses: { 200: "DiscoverModelResponse" }
26262
27596
  },
27597
+ discoverPatternProposals: {
27598
+ method: "POST",
27599
+ path: "/api/v1/analysis/pattern-proposals",
27600
+ responses: { 200: "PatternTimedDiscoveryResponse" }
27601
+ },
26263
27602
  discoverSchema: {
26264
27603
  method: "POST",
26265
27604
  path: "/api/v1/sources/{source_id}/discover",
@@ -26275,6 +27614,11 @@ var RESPONSE_OPERATIONS = {
26275
27614
  path: "/api/v1/reasoning/disentailment",
26276
27615
  responses: { 200: "DisentailmentResponse" }
26277
27616
  },
27617
+ disentailmentBatch: {
27618
+ method: "POST",
27619
+ path: "/api/v1/reasoning/disentailment/batch",
27620
+ responses: { 200: "DisentailmentBatchResponse" }
27621
+ },
26278
27622
  dryRun: {
26279
27623
  method: "POST",
26280
27624
  path: "/api/v1/authz/dry-run",
@@ -26375,6 +27719,11 @@ var RESPONSE_OPERATIONS = {
26375
27719
  path: "/api/v1/causal/att/dml",
26376
27720
  responses: { 200: "AteEstimateResponse" }
26377
27721
  },
27722
+ estimateCateHandler: {
27723
+ method: "POST",
27724
+ path: "/api/v1/causal/cate",
27725
+ responses: { 200: "CateResponse" }
27726
+ },
26378
27727
  estimateDoseResponseHandler: {
26379
27728
  method: "POST",
26380
27729
  path: "/api/v1/causal/dose-response",
@@ -26385,6 +27734,11 @@ var RESPONSE_OPERATIONS = {
26385
27734
  path: "/api/v1/causal/front-door",
26386
27735
  responses: { 200: "FrontDoorResponse" }
26387
27736
  },
27737
+ estimateLateHandler: {
27738
+ method: "POST",
27739
+ path: "/api/v1/causal/late",
27740
+ responses: { 200: "LateResponse" }
27741
+ },
26388
27742
  estimateMediationDmlHandler: {
26389
27743
  method: "POST",
26390
27744
  path: "/api/v1/causal/mediation/dml",
@@ -26400,11 +27754,26 @@ var RESPONSE_OPERATIONS = {
26400
27754
  path: "/api/v1/causal/mediation/multi",
26401
27755
  responses: { 200: "MediationResponse" }
26402
27756
  },
27757
+ estimateRegressionDiscontinuity: {
27758
+ method: "POST",
27759
+ path: "/api/v1/causal/rdd",
27760
+ responses: { 200: "DiscontinuityResponse" }
27761
+ },
26403
27762
  estimateShiftHandler: {
26404
27763
  method: "POST",
26405
27764
  path: "/api/v1/causal/shift",
26406
27765
  responses: { 200: "ShiftEffectResponse" }
26407
27766
  },
27767
+ estimateSurvivalEffect: {
27768
+ method: "POST",
27769
+ path: "/api/v1/causal/survival",
27770
+ responses: { 200: "SurvivalEffectResponse" }
27771
+ },
27772
+ estimateSyntheticControl: {
27773
+ method: "POST",
27774
+ path: "/api/v1/causal/synthetic-control",
27775
+ responses: { 200: "SyntheticControlResponse" }
27776
+ },
26408
27777
  evaluateArgumentation: {
26409
27778
  method: "POST",
26410
27779
  path: "/api/v1/argumentation/evaluate",
@@ -26471,21 +27840,46 @@ var RESPONSE_OPERATIONS = {
26471
27840
  path: "/api/v1/action-reviews/expire",
26472
27841
  responses: { 200: "ExpireReviewsResponse" }
26473
27842
  },
27843
+ explainWithShapley: {
27844
+ method: "POST",
27845
+ path: "/api/v1/analysis/shapley",
27846
+ responses: { 200: "ShapleyResponse" }
27847
+ },
26474
27848
  explorationStatus: {
26475
27849
  method: "GET",
26476
27850
  path: "/api/v1/analysis/attribute-exploration/{session_id}/status",
26477
27851
  responses: { 200: "ExplorationStatusResponseDto" }
26478
27852
  },
27853
+ exportAgent: {
27854
+ method: "GET",
27855
+ path: "/api/v1/cognitive/agents/{agent_id}/export",
27856
+ responses: { 200: "AgentBundle" }
27857
+ },
27858
+ exportDsr: {
27859
+ method: "POST",
27860
+ path: "/api/v1/dsr/{id}/export",
27861
+ responses: { 200: "DsrExportResponse" }
27862
+ },
26479
27863
  exportJsonl: {
26480
27864
  method: "POST",
26481
27865
  path: "/api/v1/synthetic/export-jsonl",
26482
27866
  responses: { 200: "ExportJsonlResponse" }
26483
27867
  },
27868
+ exportPatternContext: {
27869
+ method: "POST",
27870
+ path: "/api/v1/analysis/pattern-proposals/context",
27871
+ responses: { 200: "PatternContextResponse" }
27872
+ },
26484
27873
  exportProof: {
26485
27874
  method: "POST",
26486
27875
  path: "/api/v1/proof/export",
26487
27876
  responses: { 200: "ProofExportResponse" }
26488
27877
  },
27878
+ extendDsr: {
27879
+ method: "POST",
27880
+ path: "/api/v1/dsr/{id}/extend",
27881
+ responses: { 200: "DsrRecordResponse" }
27882
+ },
26489
27883
  extractEntities: {
26490
27884
  method: "POST",
26491
27885
  path: "/api/v1/extract/entities",
@@ -26546,6 +27940,11 @@ var RESPONSE_OPERATIONS = {
26546
27940
  path: "/api/v1/forecast/{domain}",
26547
27941
  responses: { 200: "ForecastResponse" }
26548
27942
  },
27943
+ forecastSeries: {
27944
+ method: "POST",
27945
+ path: "/api/v1/analysis/forecast",
27946
+ responses: { 200: "SeriesForecastResponse" }
27947
+ },
26549
27948
  forwardChain: {
26550
27949
  method: "POST",
26551
27950
  path: "/api/v1/inference/forward-chain",
@@ -26626,7 +28025,6 @@ var RESPONSE_OPERATIONS = {
26626
28025
  path: "/api/v1/ui/generate",
26627
28026
  responses: { 200: "UIGenerateResponse" }
26628
28027
  },
26629
- get: { method: "GET", path: "/api/v1/ingest/rdf/uploads/{id}", responses: { 200: "Artifact" } },
26630
28028
  getActionReviewConfigHandler: {
26631
28029
  method: "GET",
26632
28030
  path: "/api/v1/cognitive/agents/action-review-config",
@@ -26692,6 +28090,11 @@ var RESPONSE_OPERATIONS = {
26692
28090
  path: "/api/v1/compliance/audit/records/{record_id}",
26693
28091
  responses: { 200: "AuditRecord" }
26694
28092
  },
28093
+ getAuditRetention: {
28094
+ method: "GET",
28095
+ path: "/api/v1/compliance/audit/retention",
28096
+ responses: { 200: "RetentionPolicy" }
28097
+ },
26695
28098
  getBindings: {
26696
28099
  method: "POST",
26697
28100
  path: "/api/v1/execution/sessions/{session_id}/bindings",
@@ -26822,12 +28225,22 @@ var RESPONSE_OPERATIONS = {
26822
28225
  path: "/api/v1/documents/{document_id}/summary",
26823
28226
  responses: { 200: "DocumentSummaryResponse" }
26824
28227
  },
28228
+ getDocumentUpload: {
28229
+ method: "GET",
28230
+ path: "/api/v1/ingest/documents/uploads/{id}",
28231
+ responses: { 200: "DocumentUpload" }
28232
+ },
26825
28233
  getDsr: { method: "GET", path: "/api/v1/dsr/{id}", responses: { 200: "DsrRecordResponse" } },
26826
28234
  getEgress: {
26827
28235
  method: "GET",
26828
28236
  path: "/api/v1/sovereignty/egress",
26829
28237
  responses: { 200: "EgressCheck" }
26830
28238
  },
28239
+ getEmergencyStop: {
28240
+ method: "GET",
28241
+ path: "/api/v1/emergency-stop",
28242
+ responses: { 200: "EmergencyStopStatus" }
28243
+ },
26831
28244
  getEngineStats: {
26832
28245
  method: "GET",
26833
28246
  path: "/api/v1/engine/stats",
@@ -26929,6 +28342,11 @@ var RESPONSE_OPERATIONS = {
26929
28342
  responses: { 200: "HypergraphResponse" }
26930
28343
  },
26931
28344
  getInbox: { method: "GET", path: "/api/v1/inbox", responses: { 200: "InboxResponse" } },
28345
+ getInferenceJob: {
28346
+ method: "GET",
28347
+ path: "/api/v1/inference/jobs/{id}",
28348
+ responses: { 200: "InferenceJobDto" }
28349
+ },
26932
28350
  getIngestionDocumentStats: {
26933
28351
  method: "GET",
26934
28352
  path: "/api/v1/ingest/sessions/{session_id}/documents/{document_id}/stats",
@@ -27059,6 +28477,11 @@ var RESPONSE_OPERATIONS = {
27059
28477
  path: "/api/v1/sorts/quotient-order",
27060
28478
  responses: { 200: "GetQuotientOrderResponse" }
27061
28479
  },
28480
+ getRdfUpload: {
28481
+ method: "GET",
28482
+ path: "/api/v1/ingest/rdf/uploads/{id}",
28483
+ responses: { 200: "Artifact" }
28484
+ },
27062
28485
  getRelease: {
27063
28486
  method: "GET",
27064
28487
  path: "/api/v1/vocabulary/releases/{release_id}",
@@ -27206,11 +28629,18 @@ var RESPONSE_OPERATIONS = {
27206
28629
  path: "/api/v1/visualization/unify-terms",
27207
28630
  responses: { 200: "TermUnifyVisualizationResponse" }
27208
28631
  },
28632
+ getUsage: { method: "GET", path: "/api/v1/usage", responses: { 200: "UsageResponse" } },
27209
28633
  getVerificationCertificate: {
27210
28634
  method: "GET",
27211
28635
  path: "/api/v1/verification/certificates/{id}",
27212
28636
  responses: { 200: "VerificationCertificateResponse" }
27213
28637
  },
28638
+ getWorkflow: { method: "GET", path: "/api/v1/workflows/{id}", responses: { 200: "WorkflowDto" } },
28639
+ getWorkflowRun: {
28640
+ method: "GET",
28641
+ path: "/api/v1/workflow-runs/{run_id}",
28642
+ responses: { 200: "WorkflowRunDto" }
28643
+ },
27214
28644
  gflownetSample: {
27215
28645
  method: "POST",
27216
28646
  path: "/api/v1/ilp/gflownet/sample",
@@ -27221,11 +28651,6 @@ var RESPONSE_OPERATIONS = {
27221
28651
  path: "/api/v1/visualization/lattice/glb-lub-trace",
27222
28652
  responses: { 200: "GlbLubComputationTrace" }
27223
28653
  },
27224
- globalIncrement: {
27225
- method: "POST",
27226
- path: "/api/v1/control/global/incr",
27227
- responses: { 200: "GlobalIncrementResponse" }
27228
- },
27229
28654
  goalResiduation: {
27230
28655
  method: "POST",
27231
28656
  path: "/api/v1/reasoning/goal-residuation",
@@ -27267,6 +28692,11 @@ var RESPONSE_OPERATIONS = {
27267
28692
  path: "/api/v1/speakers/identify",
27268
28693
  responses: { 200: "IdentifySpeakersResponse" }
27269
28694
  },
28695
+ importAgent: {
28696
+ method: "POST",
28697
+ path: "/api/v1/cognitive/agents/import",
28698
+ responses: { 201: "ImportAgentResponse" }
28699
+ },
27270
28700
  importAxioms: {
27271
28701
  method: "POST",
27272
28702
  path: "/api/v1/ontology/axioms/import",
@@ -27419,15 +28849,20 @@ var RESPONSE_OPERATIONS = {
27419
28849
  path: "/api/v1/ilp/learn",
27420
28850
  responses: { 200: "LearnPatternResponse" }
27421
28851
  },
28852
+ learnRelationalRules: {
28853
+ method: "POST",
28854
+ path: "/api/v1/ilp/learn-rules",
28855
+ responses: { 200: "LearnRulesResponse" }
28856
+ },
27422
28857
  learnSortSimilarities: {
27423
28858
  method: "POST",
27424
28859
  path: "/api/v1/sorts/learn-similarities",
27425
28860
  responses: { 200: "LearnSortSimilaritiesResponse" }
27426
28861
  },
27427
- list: {
27428
- method: "GET",
27429
- path: "/api/v1/ingest/rdf/uploads",
27430
- responses: { 200: { array: "Artifact" } }
28862
+ licenseExplorationSort: {
28863
+ method: "POST",
28864
+ path: "/api/v1/analysis/attribute-exploration/{session_id}/licences",
28865
+ responses: { 200: "SortLicenceResponseDto" }
27431
28866
  },
27432
28867
  listActionTypes: {
27433
28868
  method: "GET",
@@ -27439,6 +28874,11 @@ var RESPONSE_OPERATIONS = {
27439
28874
  path: "/api/v1/identities",
27440
28875
  responses: { 200: "AgentIdentityListResponse" }
27441
28876
  },
28877
+ listAgentRuns: {
28878
+ method: "GET",
28879
+ path: "/api/v1/cognitive/agents/{agent_id}/runs",
28880
+ responses: { 200: "AgentRunsResponse" }
28881
+ },
27442
28882
  listAgents: {
27443
28883
  method: "GET",
27444
28884
  path: "/api/v1/cognitive/agents",
@@ -27534,6 +28974,11 @@ var RESPONSE_OPERATIONS = {
27534
28974
  path: "/api/v1/pairing/policies",
27535
28975
  responses: { 200: "DmPoliciesResponse" }
27536
28976
  },
28977
+ listDocumentUploads: {
28978
+ method: "GET",
28979
+ path: "/api/v1/ingest/documents/uploads",
28980
+ responses: { 200: "DocumentUploadsResponse" }
28981
+ },
27537
28982
  listDocumentVersions: {
27538
28983
  method: "GET",
27539
28984
  path: "/api/v1/documents/{document_id}/versions",
@@ -27559,6 +29004,11 @@ var RESPONSE_OPERATIONS = {
27559
29004
  path: "/api/v1/audit/entries",
27560
29005
  responses: { 200: "ListAuditEntriesResponse" }
27561
29006
  },
29007
+ listEpistemicEntries: {
29008
+ method: "GET",
29009
+ path: "/api/v1/epistemic/entries",
29010
+ responses: { 200: "EpistemicEntriesResponse" }
29011
+ },
27562
29012
  listEvalFunctions: {
27563
29013
  method: "POST",
27564
29014
  path: "/api/v1/proof-engine/eval/functions",
@@ -27599,6 +29049,16 @@ var RESPONSE_OPERATIONS = {
27599
29049
  path: "/api/v1/ingest/sessions/{session_id}/incomplete",
27600
29050
  responses: { 200: "ListIncompleteDocumentsResponse" }
27601
29051
  },
29052
+ listInferenceJobs: {
29053
+ method: "GET",
29054
+ path: "/api/v1/inference/jobs",
29055
+ responses: { 200: "InferenceJobsResponse" }
29056
+ },
29057
+ listIngestSources: {
29058
+ method: "GET",
29059
+ path: "/api/v1/ingest/sources",
29060
+ responses: { 200: "SourcesResponse" }
29061
+ },
27602
29062
  listIngestionSessions: {
27603
29063
  method: "GET",
27604
29064
  path: "/api/v1/ingest/sessions",
@@ -27704,6 +29164,11 @@ var RESPONSE_OPERATIONS = {
27704
29164
  path: "/api/v1/preferences",
27705
29165
  responses: { 200: "ListPreferencesResponseDto" }
27706
29166
  },
29167
+ listRdfUploads: {
29168
+ method: "GET",
29169
+ path: "/api/v1/ingest/rdf/uploads",
29170
+ responses: { 200: { array: "Artifact" } }
29171
+ },
27707
29172
  listReasoningOperations: {
27708
29173
  method: "GET",
27709
29174
  path: "/api/v1/reasoning/operations",
@@ -27770,6 +29235,11 @@ var RESPONSE_OPERATIONS = {
27770
29235
  path: "/api/v1/speakers",
27771
29236
  responses: { 200: "ListSpeakersResponse" }
27772
29237
  },
29238
+ listSubscriptionDeliveries: {
29239
+ method: "GET",
29240
+ path: "/api/v1/subscriptions/{id}/deliveries",
29241
+ responses: { 200: "ListSubscriptionDeliveriesResponse" }
29242
+ },
27773
29243
  listSubscriptions: {
27774
29244
  method: "GET",
27775
29245
  path: "/api/v1/subscriptions",
@@ -27801,6 +29271,11 @@ var RESPONSE_OPERATIONS = {
27801
29271
  path: "/api/v1/continual-tuning/deployments",
27802
29272
  responses: { 200: "TuningDeploymentsResponse" }
27803
29273
  },
29274
+ listTuningExecutions: {
29275
+ method: "GET",
29276
+ path: "/api/v1/continual-tuning/executions",
29277
+ responses: { 200: "TuningExecutionsResponse" }
29278
+ },
27804
29279
  listTuningRuns: {
27805
29280
  method: "GET",
27806
29281
  path: "/api/v1/continual-tuning/runs",
@@ -27846,6 +29321,16 @@ var RESPONSE_OPERATIONS = {
27846
29321
  path: "/api/v1/plugins/wasm",
27847
29322
  responses: { 200: { array: "WasmPluginResponse" } }
27848
29323
  },
29324
+ listWorkflowRuns: {
29325
+ method: "GET",
29326
+ path: "/api/v1/workflows/{id}/runs",
29327
+ responses: { 200: "WorkflowRunListResponse" }
29328
+ },
29329
+ listWorkflows: {
29330
+ method: "GET",
29331
+ path: "/api/v1/workflows",
29332
+ responses: { 200: "WorkflowListResponse" }
29333
+ },
27849
29334
  markChoicePoint: {
27850
29335
  method: "POST",
27851
29336
  path: "/api/v1/execution/sessions/{session_id}/mark",
@@ -28074,16 +29559,16 @@ var RESPONSE_OPERATIONS = {
28074
29559
  path: "/api/v1/sorts/{id}/features/{feature}",
28075
29560
  responses: { 200: "SortFeatureEditResponse" }
28076
29561
  },
28077
- pause: {
28078
- method: "POST",
28079
- path: "/api/v1/ingest/rdf/uploads/{id}/pause",
28080
- responses: { 200: "PauseReceipt" }
28081
- },
28082
29562
  pauseAgentHandler: {
28083
29563
  method: "POST",
28084
29564
  path: "/api/v1/cognitive/agents/{agent_id}/pause",
28085
29565
  responses: { 200: "AgentStatusChangeResponse" }
28086
29566
  },
29567
+ pauseRdfUpload: {
29568
+ method: "POST",
29569
+ path: "/api/v1/ingest/rdf/uploads/{id}/pause",
29570
+ responses: { 200: "PauseReceipt" }
29571
+ },
28087
29572
  planStrategies: {
28088
29573
  method: "POST",
28089
29574
  path: "/api/v1/grounded-synthesis/strategies/plan",
@@ -28159,11 +29644,26 @@ var RESPONSE_OPERATIONS = {
28159
29644
  path: "/api/v1/marketplace/publish",
28160
29645
  responses: { 201: "PublishResponse" }
28161
29646
  },
29647
+ purgeAuditLedger: {
29648
+ method: "POST",
29649
+ path: "/api/v1/compliance/audit/purge",
29650
+ responses: { 200: "PurgeAuditResponse" }
29651
+ },
28162
29652
  pushGoal: {
28163
29653
  method: "POST",
28164
29654
  path: "/api/v1/execution/sessions/{session_id}/goals",
28165
29655
  responses: { 200: "PushGoalResponse" }
28166
29656
  },
29657
+ putAgentIdentity: {
29658
+ method: "PUT",
29659
+ path: "/api/v1/identities/{agent_id}",
29660
+ responses: { 200: "AgentIdentity" }
29661
+ },
29662
+ putDocumentUploadChunk: {
29663
+ method: "PUT",
29664
+ path: "/api/v1/ingest/documents/uploads/{id}",
29665
+ responses: { 200: "DocumentUploadChunkReceipt" }
29666
+ },
28167
29667
  putHookProgram: {
28168
29668
  method: "PUT",
28169
29669
  path: "/api/v1/hook-programs/{slug}",
@@ -28231,6 +29731,11 @@ var RESPONSE_OPERATIONS = {
28231
29731
  path: "/api/v1/channels/webhook",
28232
29732
  responses: { 200: "IncomingWebhookResponse" }
28233
29733
  },
29734
+ reconcileTuningExecution: {
29735
+ method: "POST",
29736
+ path: "/api/v1/continual-tuning/executions/{transaction_id}/reconcile",
29737
+ responses: { 200: "TuningExecutionDto" }
29738
+ },
28234
29739
  recordEpisode: {
28235
29740
  method: "POST",
28236
29741
  path: "/api/v1/cognitive/agents/episodes",
@@ -28256,11 +29761,21 @@ var RESPONSE_OPERATIONS = {
28256
29761
  path: "/api/v1/ingest/recover-stuck",
28257
29762
  responses: { 200: "RecoverStuckResponse" }
28258
29763
  },
29764
+ redriveSubscriptionDelivery: {
29765
+ method: "POST",
29766
+ path: "/api/v1/subscriptions/{id}/deliveries/{delivery_id}/redrive",
29767
+ responses: { 202: "SubscriptionDeliveryDto" }
29768
+ },
28259
29769
  reflectionQuery: {
28260
29770
  method: "POST",
28261
29771
  path: "/api/v1/cognitive/agents/reflect",
28262
29772
  responses: { 200: "ReflectionQueryResponse" }
28263
29773
  },
29774
+ refreshIngestSource: {
29775
+ method: "POST",
29776
+ path: "/api/v1/ingest/sources/{id}/refresh",
29777
+ responses: { 200: "RefreshSourceResponse" }
29778
+ },
28264
29779
  refute: { method: "POST", path: "/api/v1/ltn/refute", responses: { 200: "LtnRefuteResponse" } },
28265
29780
  refuteEstimate: {
28266
29781
  method: "POST",
@@ -28277,6 +29792,11 @@ var RESPONSE_OPERATIONS = {
28277
29792
  path: "/api/v1/admin/packs/base",
28278
29793
  responses: { 200: "RegisterBasePackResponse" }
28279
29794
  },
29795
+ registerChannelAdapter: {
29796
+ method: "POST",
29797
+ path: "/api/v1/channels/adapters",
29798
+ responses: { 201: "RegisteredAdapterDto" }
29799
+ },
28280
29800
  registerChannelRoute: {
28281
29801
  method: "POST",
28282
29802
  path: "/api/v1/channels/routes",
@@ -28292,6 +29812,7 @@ var RESPONSE_OPERATIONS = {
28292
29812
  path: "/api/v1/functions/register",
28293
29813
  responses: { 200: "RegisterFunctionResponse" }
28294
29814
  },
29815
+ registerSkill: { method: "POST", path: "/api/v1/skills", responses: { 201: "SkillSummaryDto" } },
28295
29816
  registerSource: {
28296
29817
  method: "POST",
28297
29818
  path: "/api/v1/sources",
@@ -28392,6 +29913,16 @@ var RESPONSE_OPERATIONS = {
28392
29913
  path: "/api/v1/inference/rules/{id}",
28393
29914
  responses: { 200: "ReplaceRuleResponse" }
28394
29915
  },
29916
+ replaceWorkflow: {
29917
+ method: "PUT",
29918
+ path: "/api/v1/workflows/{id}",
29919
+ responses: { 200: "WorkflowDto" }
29920
+ },
29921
+ replayPatternExplanation: {
29922
+ method: "POST",
29923
+ path: "/api/v1/analysis/pattern-proposals/explanations/replay",
29924
+ responses: { 200: "PatternReplayResponse" }
29925
+ },
28395
29926
  reprocessFailedDocuments: {
28396
29927
  method: "POST",
28397
29928
  path: "/api/v1/ingest/reprocess-failed",
@@ -28664,6 +30195,11 @@ var RESPONSE_OPERATIONS = {
28664
30195
  path: "/api/v1/cognitive/agents/action-review-config",
28665
30196
  responses: { 200: "SetActionReviewConfigResponse" }
28666
30197
  },
30198
+ setAuditRetention: {
30199
+ method: "PUT",
30200
+ path: "/api/v1/compliance/audit/retention",
30201
+ responses: { 200: "RetentionPolicy" }
30202
+ },
28667
30203
  setCompetencyQuestionStatus: {
28668
30204
  method: "PATCH",
28669
30205
  path: "/api/v1/ontology/competency-questions/{key}",
@@ -28674,6 +30210,11 @@ var RESPONSE_OPERATIONS = {
28674
30210
  path: "/api/v1/pairing/policies/{platform}/{channel_id}",
28675
30211
  responses: { 200: "DmPolicyDto" }
28676
30212
  },
30213
+ setEmergencyStop: {
30214
+ method: "POST",
30215
+ path: "/api/v1/emergency-stop",
30216
+ responses: { 200: "EmergencyStopStatus" }
30217
+ },
28677
30218
  setFuzzySubsumption: {
28678
30219
  method: "POST",
28679
30220
  path: "/api/v1/sorts/subsumption",
@@ -28704,6 +30245,11 @@ var RESPONSE_OPERATIONS = {
28704
30245
  path: "/api/v1/continual-tuning/kill-switch",
28705
30246
  responses: { 200: "KillSwitchResponse" }
28706
30247
  },
30248
+ setUsageLimits: {
30249
+ method: "PUT",
30250
+ path: "/api/v1/usage/limits",
30251
+ responses: { 200: "UsageLimitsDto" }
30252
+ },
28707
30253
  simulateHeartbeat: {
28708
30254
  method: "POST",
28709
30255
  path: "/api/v1/heartbeat/simulate",
@@ -28724,11 +30270,17 @@ var RESPONSE_OPERATIONS = {
28724
30270
  path: "/api/v1/flow-networks/{network_id}/solve",
28725
30271
  responses: { 200: "SolveFlowNetworkResponse" }
28726
30272
  },
30273
+ solveMaxsat: { method: "POST", path: "/api/v1/sat/maxsat", responses: { 200: "MaxSatResponse" } },
28727
30274
  solveProblem: {
28728
30275
  method: "POST",
28729
30276
  path: "/api/v1/solver/solve",
28730
30277
  responses: { 200: "SolveProblemResponse" }
28731
30278
  },
30279
+ solveProductionPlan: {
30280
+ method: "POST",
30281
+ path: "/api/v1/lp/production-plan",
30282
+ responses: { 200: "ProductionPlanResponse" }
30283
+ },
28732
30284
  solveSat: { method: "POST", path: "/api/v1/sat/solve", responses: { 200: "SatSolveResponse" } },
28733
30285
  solverHealth: {
28734
30286
  method: "GET",
@@ -28755,6 +30307,11 @@ var RESPONSE_OPERATIONS = {
28755
30307
  path: "/api/v1/connectors/manage/{name}/connect",
28756
30308
  responses: { 200: "OAuthStartResponse" }
28757
30309
  },
30310
+ startWorkflowRun: {
30311
+ method: "POST",
30312
+ path: "/api/v1/workflows/{id}/runs",
30313
+ responses: { 201: "WorkflowRunDto" }
30314
+ },
28758
30315
  stopAgentHandler: {
28759
30316
  method: "POST",
28760
30317
  path: "/api/v1/cognitive/agents/{agent_id}/stop",
@@ -28801,6 +30358,11 @@ var RESPONSE_OPERATIONS = {
28801
30358
  path: "/api/v1/thomas/study",
28802
30359
  responses: { 200: "ThomasStudyResponse" }
28803
30360
  },
30361
+ subjectEpistemicEntries: {
30362
+ method: "GET",
30363
+ path: "/api/v1/epistemic/subjects/{id}",
30364
+ responses: { 200: "EpistemicEntriesResponse" }
30365
+ },
28804
30366
  submitCandidate: {
28805
30367
  method: "POST",
28806
30368
  path: "/api/v1/vocabulary/candidates/{candidate_id}/submit",
@@ -28811,6 +30373,11 @@ var RESPONSE_OPERATIONS = {
28811
30373
  path: "/api/v1/conversation/{id}/feedback",
28812
30374
  responses: { 200: "ConversationAnswerFeedbackResponseDto" }
28813
30375
  },
30376
+ submitInferenceJob: {
30377
+ method: "POST",
30378
+ path: "/api/v1/inference/jobs",
30379
+ responses: { 202: "SubmitInferenceJobResponse" }
30380
+ },
28814
30381
  subscribeToKb: {
28815
30382
  method: "POST",
28816
30383
  path: "/api/v1/cognitive/agents/subscribe",
@@ -28960,6 +30527,11 @@ var RESPONSE_OPERATIONS = {
28960
30527
  path: "/api/v1/proof-engine/term-store/sessions/{session_id}/unify",
28961
30528
  responses: { 200: "UnifyTermsResponse" }
28962
30529
  },
30530
+ updateAgent: {
30531
+ method: "PUT",
30532
+ path: "/api/v1/cognitive/agents/{agent_id}",
30533
+ responses: { 200: "UpdateAgentResponse" }
30534
+ },
28963
30535
  updatePlanStats: {
28964
30536
  method: "POST",
28965
30537
  path: "/api/v1/cognitive/agents/plans/stats",
@@ -28986,6 +30558,11 @@ var RESPONSE_OPERATIONS = {
28986
30558
  path: "/api/v1/marketplace/installs/{install_id}/upgrade",
28987
30559
  responses: { 200: "InstallResponse" }
28988
30560
  },
30561
+ uploadRdfChunk: {
30562
+ method: "PUT",
30563
+ path: "/api/v1/ingest/rdf/uploads/{id}",
30564
+ responses: { 200: "ChunkReceipt" }
30565
+ },
28989
30566
  uploadSourceFile: {
28990
30567
  method: "POST",
28991
30568
  path: "/api/v1/sources/files",
@@ -29006,11 +30583,21 @@ var RESPONSE_OPERATIONS = {
29006
30583
  path: "/api/v1/causal/validate-did",
29007
30584
  responses: { 200: "DiDValidationResponse" }
29008
30585
  },
30586
+ validatePatternProposals: {
30587
+ method: "POST",
30588
+ path: "/api/v1/analysis/pattern-proposals/validate",
30589
+ responses: { 200: "PatternValidationResponse" }
30590
+ },
29009
30591
  validateRule: {
29010
30592
  method: "POST",
29011
30593
  path: "/api/v1/inference/rules/validate",
29012
30594
  responses: { 200: "RuleValidationResponse" }
29013
30595
  },
30596
+ validateSnapshot: {
30597
+ method: "POST",
30598
+ path: "/api/v1/predictions/snapshot/{id}/validate",
30599
+ responses: { 200: "ValidationReportDto" }
30600
+ },
29014
30601
  validateStub: {
29015
30602
  method: "POST",
29016
30603
  path: "/api/v1/predictions/snapshot/{id}/validate-stub",
@@ -29036,6 +30623,11 @@ var RESPONSE_OPERATIONS = {
29036
30623
  path: "/api/v1/compliance/audit/verify",
29037
30624
  responses: { 200: "VerifyResponse" }
29038
30625
  },
30626
+ verifyDsr: {
30627
+ method: "POST",
30628
+ path: "/api/v1/dsr/{id}/verify",
30629
+ responses: { 200: "DsrRecordResponse" }
30630
+ },
29039
30631
  verifyFaithfulness: {
29040
30632
  method: "POST",
29041
30633
  path: "/api/v1/synthetic/verify-faithfulness",
@@ -31564,8 +33156,46 @@ function SolutionDtoFromApiToFront(dto) {
31564
33156
  dto.score_decomposition
31565
33157
  );
31566
33158
  }
33159
+ if (dto.null_moment !== void 0) solution.nullMoment = dto.null_moment;
33160
+ if (dto.residuated_antecedents !== void 0) {
33161
+ solution.residuatedAntecedents = dto.residuated_antecedents.map((a) => {
33162
+ const antecedent = { sort: a.sort, llr: a.llr };
33163
+ if (a.freq !== void 0) antecedent.freq = a.freq;
33164
+ if (a.absence !== void 0) antecedent.absence = a.absence;
33165
+ return antecedent;
33166
+ });
33167
+ }
31567
33168
  return solution;
31568
33169
  }
33170
+ function WhyNotFromApiToFront(dto) {
33171
+ return {
33172
+ goalSort: dto.goal_sort,
33173
+ summary: dto.summary,
33174
+ factsOfSort: dto.facts_of_sort,
33175
+ nearestFact: dto.nearest_fact == null ? dto.nearest_fact : {
33176
+ termId: dto.nearest_fact.term_id,
33177
+ matched: dto.nearest_fact.matched,
33178
+ mismatches: dto.nearest_fact.mismatches.map((m) => ({
33179
+ feature: m.feature,
33180
+ expected: m.expected,
33181
+ actual: m.actual
33182
+ }))
33183
+ },
33184
+ rules: dto.rules.map((r) => ({
33185
+ ruleId: r.rule_id,
33186
+ headSort: r.head_sort,
33187
+ blockedBy: r.blocked_by.map((p) => ({
33188
+ sort: p.sort,
33189
+ features: Object.fromEntries(
33190
+ Object.entries(p.features).filter(
33191
+ (entry) => entry[1] !== void 0
33192
+ )
33193
+ )
33194
+ })),
33195
+ jointlyUnsatisfied: r.jointly_unsatisfied
33196
+ }))
33197
+ };
33198
+ }
31569
33199
  function ConstraintInputDtoFromFrontToApi(model) {
31570
33200
  switch (model.type) {
31571
33201
  case "Guard":
@@ -31597,6 +33227,7 @@ function BackwardChainResponseFromApiToFront(dto) {
31597
33227
  if (dto.open_world_search != null) {
31598
33228
  out.openWorldSearch = OpenWorldSearchCompletionFromApiToFront(dto.open_world_search);
31599
33229
  }
33230
+ if (dto.why_not != null) out.whyNot = WhyNotFromApiToFront(dto.why_not);
31600
33231
  return out;
31601
33232
  }
31602
33233
  function ForwardChainResponseFromApiToFront(dto) {
@@ -31700,6 +33331,14 @@ function FuzzyProveResponseFromApiToFront(dto) {
31700
33331
  if (dto.open_world_search != null) {
31701
33332
  out.openWorldSearch = OpenWorldSearchCompletionFromApiToFront(dto.open_world_search);
31702
33333
  }
33334
+ if (dto.next_questions !== void 0) {
33335
+ out.nextQuestions = dto.next_questions.map((q) => ({
33336
+ sort: q.sort,
33337
+ informationGain: q.information_gain,
33338
+ pYes: q.p_yes,
33339
+ overCandidates: q.over_candidates
33340
+ }));
33341
+ }
31703
33342
  return out;
31704
33343
  }
31705
33344
  function isStringRecord(value) {
@@ -32141,7 +33780,8 @@ function BackwardChainRequestFromFrontToApi(model) {
32141
33780
  max_solutions: model.maxSolutions,
32142
33781
  min_certainty: model.minCertainty,
32143
33782
  timeout_ms: model.timeoutMs ?? void 0,
32144
- constraints: model.constraints?.map(ConstraintInputDtoFromFrontToApi)
33783
+ constraints: model.constraints?.map(ConstraintInputDtoFromFrontToApi),
33784
+ explain_failure: model.explainFailure
32145
33785
  };
32146
33786
  }
32147
33787
  function ForwardChainRequestFromFrontToApi(model) {
@@ -32168,7 +33808,10 @@ function FuzzyProveRequestFromFrontToApi(model) {
32168
33808
  tnorm: model.tnorm,
32169
33809
  scope: model.scope,
32170
33810
  seal: model.seal,
32171
- kb_data_version: model.kbDataVersion
33811
+ kb_data_version: model.kbDataVersion,
33812
+ next_questions: model.nextQuestions,
33813
+ asked_sorts: model.askedSorts,
33814
+ require_scope_features: model.requireScopeFeatures
32172
33815
  };
32173
33816
  }
32174
33817
  function BulkFuzzyProveRequestFromFrontToApi(model) {
@@ -37790,7 +39433,15 @@ function DmlAteRequestFromFrontToApi(model) {
37790
39433
  learner: model.learner,
37791
39434
  observations: model.observations.map(ContinuousObservationDtoFromFrontToApi),
37792
39435
  repetitions: model.repetitions,
37793
- seed: model.seed
39436
+ seed: model.seed,
39437
+ ...model.fromKb !== void 0 ? {
39438
+ from_kb: model.fromKb === null ? null : {
39439
+ sort: model.fromKb.sort,
39440
+ treatment: model.fromKb.treatment,
39441
+ outcome: model.fromKb.outcome,
39442
+ ...model.fromKb.covariates !== void 0 ? { covariates: model.fromKb.covariates } : {}
39443
+ }
39444
+ } : {}
37794
39445
  };
37795
39446
  }
37796
39447
  function DoublyRobustCertificateDtoFromApiToFront(dto) {
@@ -39096,6 +40747,7 @@ function IngestionConfigDtoFromFrontToApi(model) {
39096
40747
  enable_document_enrichment: model.enableDocumentEnrichment,
39097
40748
  enable_entity_filtering: model.enableEntityFiltering,
39098
40749
  enable_evidence_enrichment: model.enableEvidenceEnrichment,
40750
+ enable_fca_discovery: model.enableFcaDiscovery,
39099
40751
  enable_focused_extraction: model.enableFocusedExtraction,
39100
40752
  enable_llm_coreference: model.enableLlmCoreference,
39101
40753
  enable_schema_discovery: model.enableSchemaDiscovery,
@@ -39292,7 +40944,26 @@ function IngestionStatsDtoFromApiToFront(dto) {
39292
40944
  sortsReused: dto.sorts_reused,
39293
40945
  sotaExtractionGate: dto.sota_extraction_gate ? SotaExtractionGateStatsDtoFromApiToFront(dto.sota_extraction_gate) : void 0,
39294
40946
  termIds: dto.term_ids,
39295
- tokenUsage: dto.token_usage ? TokenUsageDtoFromApiToFront(dto.token_usage) : void 0
40947
+ tokenUsage: dto.token_usage ? TokenUsageDtoFromApiToFront(dto.token_usage) : void 0,
40948
+ fcaDiscovery: dto.fca_discovery ? FcaIngestionReportFromApiToFront(dto.fca_discovery) : void 0
40949
+ };
40950
+ }
40951
+ function FcaIngestionReportFromApiToFront(dto) {
40952
+ return {
40953
+ analysedTerms: dto.analysed_terms,
40954
+ inputComplete: dto.input_complete,
40955
+ searchComplete: dto.search_complete,
40956
+ stopReason: dto.stop_reason,
40957
+ conceptsEnumerated: dto.concepts_enumerated,
40958
+ conceptsMatchingExisting: dto.concepts_matching_existing,
40959
+ recommendations: dto.recommendations.map((r) => ({
40960
+ sortName: r.sort_name,
40961
+ features: r.features,
40962
+ termCount: r.term_count,
40963
+ confidence: r.confidence,
40964
+ parentSort: r.parent_sort
40965
+ })),
40966
+ refusal: dto.refusal
39296
40967
  };
39297
40968
  }
39298
40969
  function ParsedDocumentMetadataDtoFromApiToFront(dto) {
@@ -41404,7 +43075,7 @@ var IngestionClient = class {
41404
43075
  * ```
41405
43076
  */
41406
43077
  async createRdfUpload(request, requestOptions) {
41407
- const response = await this.api.create(
43078
+ const response = await this.api.createRdfUpload(
41408
43079
  CreateRdfUploadRequestFromFrontToApi(request),
41409
43080
  toRequestParams(requestOptions)
41410
43081
  );
@@ -41430,7 +43101,7 @@ var IngestionClient = class {
41430
43101
  * ```
41431
43102
  */
41432
43103
  async listRdfUploads(requestOptions) {
41433
- const response = await this.api.list(toRequestParams(requestOptions));
43104
+ const response = await this.api.listRdfUploads(toRequestParams(requestOptions));
41434
43105
  return decodeResponse(response, (dto) => dto.map(RdfUploadFromApiToFront));
41435
43106
  }
41436
43107
  /**
@@ -41455,7 +43126,7 @@ var IngestionClient = class {
41455
43126
  * ```
41456
43127
  */
41457
43128
  async getRdfUpload(id, requestOptions) {
41458
- const response = await this.api.get(id, toRequestParams(requestOptions));
43129
+ const response = await this.api.getRdfUpload(id, toRequestParams(requestOptions));
41459
43130
  return decodeResponse(response, RdfUploadFromApiToFront);
41460
43131
  }
41461
43132
  /**
@@ -41538,7 +43209,7 @@ var IngestionClient = class {
41538
43209
  * ```
41539
43210
  */
41540
43211
  async completeRdfUpload(id, requestOptions) {
41541
- const response = await this.api.complete(id, toRequestParams(requestOptions));
43212
+ const response = await this.api.completeRdfUpload(id, toRequestParams(requestOptions));
41542
43213
  return decodeResponse(response, RdfUploadFromApiToFront);
41543
43214
  }
41544
43215
  /**
@@ -41566,7 +43237,7 @@ var IngestionClient = class {
41566
43237
  * ```
41567
43238
  */
41568
43239
  async pauseRdfUpload(id, requestOptions) {
41569
- const response = await this.api.pause(id, toRequestParams(requestOptions));
43240
+ const response = await this.api.pauseRdfUpload(id, toRequestParams(requestOptions));
41570
43241
  return decodeResponse(response, RdfUploadPauseReceiptFromApiToFront);
41571
43242
  }
41572
43243
  };
@@ -42680,7 +44351,15 @@ function ResourceCoordinationRequestFromFrontToApi(model) {
42680
44351
  return {
42681
44352
  compatibility_threshold: model.compatibilityThreshold,
42682
44353
  num_selections: model.numSelections,
42683
- resources: model.resources.map(ResourceSpecFromFrontToApi)
44354
+ resources: model.resources.map(ResourceSpecFromFrontToApi),
44355
+ ...model.rules !== void 0 ? {
44356
+ rules: model.rules.map((r) => ({
44357
+ from: r.from,
44358
+ from_field: r.fromField,
44359
+ to: r.to,
44360
+ to_field: r.toField
44361
+ }))
44362
+ } : {}
42684
44363
  };
42685
44364
  }
42686
44365
  function CoordinatedResourceSetFromApiToFront(dto) {
@@ -43457,161 +45136,6 @@ function SymbolDtoFromApiToFront(dto) {
43457
45136
  visibility: dto.visibility
43458
45137
  };
43459
45138
  }
43460
- function BacktrackableAssignRequestFromFrontToApi(model) {
43461
- return {
43462
- session_id: model.sessionId,
43463
- term_id: model.termId,
43464
- feature_name: model.featureName,
43465
- new_value: AssignValueDtoFromFrontToApi(model.newValue)
43466
- };
43467
- }
43468
- function BacktrackableAssignResponseFromApiToFront(dto) {
43469
- return {
43470
- featureName: dto.feature_name,
43471
- previousValue: dto.previous_value ? AssignValueDtoFromApiToFront(dto.previous_value) : dto.previous_value ?? void 0,
43472
- termId: dto.term_id,
43473
- trailEntryAdded: dto.trail_entry_added
43474
- };
43475
- }
43476
- function GlobalAssignRequestFromFrontToApi(model) {
43477
- return {
43478
- session_id: model.sessionId,
43479
- variable_name: model.variableName,
43480
- value: AssignValueDtoFromFrontToApi(model.value)
43481
- };
43482
- }
43483
- function GlobalAssignResponseFromApiToFront(dto) {
43484
- return {
43485
- previousValue: dto.previous_value ? AssignValueDtoFromApiToFront(dto.previous_value) : dto.previous_value ?? void 0,
43486
- variableName: dto.variable_name
43487
- };
43488
- }
43489
- function CallOnceRequestFromFrontToApi(model) {
43490
- return {
43491
- session_id: model.sessionId,
43492
- goal: model.goal
43493
- };
43494
- }
43495
- function CallOnceResponseFromApiToFront(dto) {
43496
- return {
43497
- choicePointsCut: dto.choice_points_cut,
43498
- success: dto.success
43499
- };
43500
- }
43501
- function CondRequestFromFrontToApi(model) {
43502
- return {
43503
- session_id: model.sessionId,
43504
- condition: model.condition,
43505
- then_goal: model.thenGoal,
43506
- else_goal: model.elseGoal
43507
- };
43508
- }
43509
- function CondResponseFromApiToFront(dto) {
43510
- return {
43511
- branchExecuted: dto.branch_executed,
43512
- conditionSucceeded: dto.condition_succeeded,
43513
- success: dto.success
43514
- };
43515
- }
43516
- function CutRequestFromFrontToApi(model) {
43517
- return {
43518
- session_id: model.sessionId
43519
- };
43520
- }
43521
- function CutResponseFromApiToFront(dto) {
43522
- return {
43523
- choicePointsRemoved: dto.choice_points_removed
43524
- };
43525
- }
43526
- function FindallRequestFromFrontToApi(model) {
43527
- return {
43528
- session_id: model.sessionId,
43529
- template: model.template,
43530
- goal: model.goal,
43531
- max_solutions: model.maxSolutions
43532
- };
43533
- }
43534
- function FindallResponseFromApiToFront(dto) {
43535
- return {
43536
- count: dto.count,
43537
- solutions: dto.solutions
43538
- };
43539
- }
43540
- function ForallRequestFromFrontToApi(model) {
43541
- return {
43542
- session_id: model.sessionId,
43543
- generator: model.generator,
43544
- test: model.test
43545
- };
43546
- }
43547
- function ForallResponseFromApiToFront(dto) {
43548
- return {
43549
- result: dto.result,
43550
- solutionsTested: dto.solutions_tested
43551
- };
43552
- }
43553
- function GlobalGetRequestFromFrontToApi(model) {
43554
- return {
43555
- session_id: model.sessionId,
43556
- variable_name: model.variableName
43557
- };
43558
- }
43559
- function GlobalGetResponseFromApiToFront(dto) {
43560
- if (dto.status === "found") {
43561
- return {
43562
- status: "found",
43563
- value: AssignValueDtoFromApiToFront(dto.value)
43564
- };
43565
- }
43566
- return {
43567
- status: "not_found",
43568
- variableName: dto.variable_name
43569
- };
43570
- }
43571
- function GlobalIncrementRequestFromFrontToApi(model) {
43572
- return {
43573
- session_id: model.sessionId,
43574
- variable_name: model.variableName
43575
- };
43576
- }
43577
- function GlobalIncrementResponseFromApiToFront(dto) {
43578
- return {
43579
- newValue: dto.new_value,
43580
- variableName: dto.variable_name
43581
- };
43582
- }
43583
- function ImpliesRequestFromFrontToApi(model) {
43584
- return {
43585
- session_id: model.sessionId,
43586
- antecedent: model.antecedent,
43587
- consequent: model.consequent
43588
- };
43589
- }
43590
- function ImpliesResponseFromApiToFront(dto) {
43591
- return {
43592
- antecedentSucceeded: dto.antecedent_succeeded,
43593
- consequentSucceeded: dto.consequent_succeeded,
43594
- result: dto.result
43595
- };
43596
- }
43597
- function ControlNafRequestFromFrontToApi(model) {
43598
- return {
43599
- session_id: model.sessionId,
43600
- goal: model.goal
43601
- };
43602
- }
43603
- function UndoRequestFromFrontToApi(model) {
43604
- return {
43605
- session_id: model.sessionId,
43606
- goal: model.goal
43607
- };
43608
- }
43609
- function UndoResponseFromApiToFront(dto) {
43610
- return {
43611
- trailPosition: dto.trail_position,
43612
- undoId: dto.undo_id
43613
- };
43614
- }
43615
45139
  function CreateModuleRequestFromFrontToApi(model) {
43616
45140
  return {
43617
45141
  name: model.name,
@@ -43700,162 +45224,6 @@ var ControlClient = class {
43700
45224
  constructor(api) {
43701
45225
  this.api = api;
43702
45226
  }
43703
- /**
43704
- * Perform backtrackable assignment.
43705
- *
43706
- * @param request - Assignment request with term, feature, and value.
43707
- * @returns Assignment result with trail entry status.
43708
- */
43709
- async backtrackableAssign(request, requestOptions) {
43710
- const response = await this.api.assignBacktrackable(
43711
- BacktrackableAssignRequestFromFrontToApi(request),
43712
- toRequestParams(requestOptions)
43713
- );
43714
- return decodeResponse(response, BacktrackableAssignResponseFromApiToFront);
43715
- }
43716
- /**
43717
- * Perform global assignment (persists across backtracking).
43718
- *
43719
- * @param request - Global assignment request.
43720
- * @returns Assignment result with previous value.
43721
- */
43722
- async globalAssign(request, requestOptions) {
43723
- const response = await this.api.assignGlobal(
43724
- GlobalAssignRequestFromFrontToApi(request),
43725
- toRequestParams(requestOptions)
43726
- );
43727
- return decodeResponse(response, GlobalAssignResponseFromApiToFront);
43728
- }
43729
- /**
43730
- * Execute a goal once with cut (deterministic).
43731
- *
43732
- * @param request - Call-once request with goal.
43733
- * @returns Result with success status and choice points cut.
43734
- */
43735
- async callOnce(request, requestOptions) {
43736
- const response = await this.api.controlCallOnce(
43737
- CallOnceRequestFromFrontToApi(request),
43738
- toRequestParams(requestOptions)
43739
- );
43740
- return decodeResponse(response, CallOnceResponseFromApiToFront);
43741
- }
43742
- /**
43743
- * Execute conditional (if-then-else).
43744
- *
43745
- * @param request - Conditional request with condition, then, and else goals.
43746
- * @returns Result with branch executed and success status.
43747
- */
43748
- async cond(request, requestOptions) {
43749
- const response = await this.api.controlCond(
43750
- CondRequestFromFrontToApi(request),
43751
- toRequestParams(requestOptions)
43752
- );
43753
- return decodeResponse(response, CondResponseFromApiToFront);
43754
- }
43755
- /**
43756
- * Perform Prolog-style cut (discard choice points).
43757
- *
43758
- * @param request - Cut request with session ID.
43759
- * @returns Number of choice points removed.
43760
- */
43761
- async cut(request, requestOptions) {
43762
- const response = await this.api.controlCut(
43763
- CutRequestFromFrontToApi(request),
43764
- toRequestParams(requestOptions)
43765
- );
43766
- return decodeResponse(response, CutResponseFromApiToFront);
43767
- }
43768
- /**
43769
- * Collect all solutions for a goal (findall).
43770
- *
43771
- * @param request - Findall request with template, goal, and optional max.
43772
- * @returns Collected solutions and count.
43773
- */
43774
- async findall(request, requestOptions) {
43775
- const response = await this.api.controlFindall(
43776
- FindallRequestFromFrontToApi(request),
43777
- toRequestParams(requestOptions)
43778
- );
43779
- return decodeResponse(response, FindallResponseFromApiToFront);
43780
- }
43781
- /**
43782
- * Universal quantification (forall).
43783
- *
43784
- * @param request - Forall request with generator and test goals.
43785
- * @returns Result and number of solutions tested.
43786
- */
43787
- async forall(request, requestOptions) {
43788
- const response = await this.api.controlForall(
43789
- ForallRequestFromFrontToApi(request),
43790
- toRequestParams(requestOptions)
43791
- );
43792
- return decodeResponse(response, ForallResponseFromApiToFront);
43793
- }
43794
- /**
43795
- * Get a global variable value.
43796
- *
43797
- * @param request - Get request with session ID and variable name.
43798
- * @returns The global variable value or not-found status.
43799
- */
43800
- async globalGet(request, requestOptions) {
43801
- const response = await this.api.globalGet(
43802
- GlobalGetRequestFromFrontToApi(request),
43803
- toRequestParams(requestOptions)
43804
- );
43805
- return decodeResponse(response, GlobalGetResponseFromApiToFront);
43806
- }
43807
- /**
43808
- * Increment a global counter variable.
43809
- *
43810
- * @param request - Increment request with session ID and variable name.
43811
- * @returns New value and variable name.
43812
- */
43813
- async globalIncrement(request, requestOptions) {
43814
- const response = await this.api.globalIncrement(
43815
- GlobalIncrementRequestFromFrontToApi(request),
43816
- toRequestParams(requestOptions)
43817
- );
43818
- return decodeResponse(response, GlobalIncrementResponseFromApiToFront);
43819
- }
43820
- /**
43821
- * Execute implies (A -> B).
43822
- *
43823
- * @param request - Implies request with antecedent and consequent.
43824
- * @returns Implication result.
43825
- */
43826
- async implies(request, requestOptions) {
43827
- const response = await this.api.controlImplies(
43828
- ImpliesRequestFromFrontToApi(request),
43829
- toRequestParams(requestOptions)
43830
- );
43831
- return decodeResponse(response, ImpliesResponseFromApiToFront);
43832
- }
43833
- /**
43834
- * Negation as failure (low-level control).
43835
- *
43836
- * @param request - NAF request with goal.
43837
- * @returns Whether the goal failed (negation succeeded).
43838
- */
43839
- async naf(request, requestOptions) {
43840
- const response = await this.api.controlNaf(
43841
- ControlNafRequestFromFrontToApi(request),
43842
- toRequestParams(requestOptions)
43843
- );
43844
- return decodeResponse(response, (dto) => dto);
43845
- }
43846
- /**
43847
- * Register an undo goal (execute on backtracking).
43848
- *
43849
- * @param request - Undo request with goal.
43850
- * @returns Undo ID and trail position.
43851
- */
43852
- async undo(request, requestOptions) {
43853
- const response = await this.api.controlUndo(
43854
- UndoRequestFromFrontToApi(request),
43855
- toRequestParams(requestOptions)
43856
- );
43857
- return decodeResponse(response, UndoResponseFromApiToFront);
43858
- }
43859
45227
  // --- Module System ---
43860
45228
  /**
43861
45229
  * Create a module.
@@ -48211,7 +49579,68 @@ function SortRegistrationFromApiToFront(dto) {
48211
49579
  sortName: dto.sort_name,
48212
49580
  created: dto.created,
48213
49581
  sortId: dto.sort_id,
48214
- error: dto.error
49582
+ error: dto.error,
49583
+ realizedMembers: dto.realized_members
49584
+ };
49585
+ }
49586
+ function DiscoveryInterpretationFromApiToFront(dto) {
49587
+ return {
49588
+ kind: dto.kind,
49589
+ complete: dto.complete,
49590
+ scaledAttributeCount: dto.scaled_attribute_count,
49591
+ unscaledValueCount: dto.unscaled_value_count,
49592
+ truncated: dto.truncated
49593
+ };
49594
+ }
49595
+ function ScaleSchemeFromFrontToApi(model) {
49596
+ switch (model.kind) {
49597
+ case "nominal":
49598
+ return { kind: "nominal" };
49599
+ case "interordinal":
49600
+ return { kind: "interordinal", thresholds: model.thresholds };
49601
+ case "prefix":
49602
+ return {
49603
+ kind: "prefix",
49604
+ separator: model.separator,
49605
+ depths: model.depths,
49606
+ ...model.reverse !== void 0 ? { reverse: model.reverse } : {}
49607
+ };
49608
+ case "interval":
49609
+ return { kind: "interval", edges: model.edges };
49610
+ }
49611
+ }
49612
+ function DiscoverySemanticsFromFrontToApi(model) {
49613
+ switch (model.kind) {
49614
+ case "schema_presence":
49615
+ return { kind: "schema_presence" };
49616
+ case "scaled":
49617
+ return {
49618
+ kind: "scaled",
49619
+ schemes: Object.fromEntries(
49620
+ Object.entries(model.schemes).map(([feature, scheme]) => [
49621
+ feature,
49622
+ ScaleSchemeFromFrontToApi(scheme)
49623
+ ])
49624
+ ),
49625
+ ...model.maxAttributes !== void 0 ? { max_attributes: model.maxAttributes } : {}
49626
+ };
49627
+ case "native_predicates":
49628
+ return {
49629
+ kind: "native_predicates",
49630
+ predicates: model.predicates.map((p) => ({ name: p.name, pattern_root: p.patternRoot })),
49631
+ ...model.alpha !== void 0 ? { alpha: model.alpha } : {},
49632
+ ...model.version !== void 0 ? { version: model.version } : {}
49633
+ };
49634
+ }
49635
+ }
49636
+ function ExplorationPublicationFromApiToFront(dto) {
49637
+ return {
49638
+ policy: dto.policy,
49639
+ licenceRecord: dto.licence_record,
49640
+ populationRecord: dto.population_record,
49641
+ scopeMembers: dto.scope_members,
49642
+ subjectSortIds: dto.subject_sort_ids,
49643
+ installedRules: dto.installed_rules
48215
49644
  };
48216
49645
  }
48217
49646
  function ExplorationSearchReportFromApiToFront(dto) {
@@ -48242,7 +49671,9 @@ function SortDiscoveryRequestFromFrontToApi(model) {
48242
49671
  fuzzy_thresholds: model.fuzzyThresholds,
48243
49672
  max_source_scan: model.maxSourceScan,
48244
49673
  max_visited_concepts: model.maxVisitedConcepts,
48245
- max_work: model.maxWork
49674
+ max_work: model.maxWork,
49675
+ ...model.termIds !== void 0 ? { term_ids: model.termIds } : {},
49676
+ ...model.semantics !== void 0 ? { semantics: DiscoverySemanticsFromFrontToApi(model.semantics) } : {}
48246
49677
  };
48247
49678
  }
48248
49679
  function SortDiscoveryResponseFromApiToFront(dto) {
@@ -48260,6 +49691,7 @@ function SortDiscoveryResponseFromApiToFront(dto) {
48260
49691
  inputComplete: dto.input_complete,
48261
49692
  inputStopReason: dto.input_stop_reason,
48262
49693
  search: FcaSearchSummaryFromApiToFront(dto.search),
49694
+ interpretation: DiscoveryInterpretationFromApiToFront(dto.interpretation),
48263
49695
  registrations: dto.registrations.map(SortRegistrationFromApiToFront)
48264
49696
  };
48265
49697
  }
@@ -48279,7 +49711,8 @@ function StartExplorationResponseFromApiToFront(dto) {
48279
49711
  attributeCount: dto.attribute_count,
48280
49712
  objectCount: dto.object_count,
48281
49713
  question: dto.question ? ExplorationQuestionDtoFromApiToFront(dto.question) : dto.question,
48282
- search: ExplorationSearchReportFromApiToFront(dto.search)
49714
+ search: ExplorationSearchReportFromApiToFront(dto.search),
49715
+ populationSampled: dto.population_sampled
48283
49716
  };
48284
49717
  }
48285
49718
  function ConfirmResponseFromApiToFront(dto) {
@@ -48327,7 +49760,22 @@ function ExplorationCompleteResponseFromApiToFront(dto) {
48327
49760
  totalImplications: dto.total_implications,
48328
49761
  implications: dto.implications.map(ImplicationDtoFromApiToFront),
48329
49762
  counterexamplesAdded: dto.counterexamples_added,
48330
- rulesCreated: dto.rules_created
49763
+ rulesCreated: dto.rules_created,
49764
+ publication: dto.publication == null ? dto.publication : ExplorationPublicationFromApiToFront(dto.publication)
49765
+ };
49766
+ }
49767
+ function SortLicenceRequestFromFrontToApi(model) {
49768
+ return { sort_name: model.sortName };
49769
+ }
49770
+ function SortLicenceResponseFromApiToFront(dto) {
49771
+ return {
49772
+ policy: dto.policy,
49773
+ licenceRecord: dto.licence_record,
49774
+ sortId: dto.sort_id,
49775
+ sortName: dto.sort_name,
49776
+ extends: dto.extends,
49777
+ declaredBy: dto.declared_by,
49778
+ installedRules: dto.installed_rules
48331
49779
  };
48332
49780
  }
48333
49781
  function ConfluenceConflictDtoFromApiToFront(dto) {
@@ -48375,13 +49823,23 @@ var AnalysisClient = class {
48375
49823
  /**
48376
49824
  * Run sort discovery analysis on existing terms.
48377
49825
  *
48378
- * @param request - Discovery parameters.
48379
- * @returns Discovery results with recommendations.
49826
+ * @param request - Discovery parameters: the population (`termIds`, or the
49827
+ * visible terms up to `maxTerms`), the attribute `semantics`, and the
49828
+ * search bounds.
49829
+ * @returns Discovery results with recommendations, the search and input
49830
+ * accounting, and the attribute `interpretation` used.
49831
+ *
49832
+ * @remarks
49833
+ * The converted body is sent verbatim (no further key conversion): the
49834
+ * feature names that key a `scaled` semantics' `schemes` reach the engine
49835
+ * exactly as written. Read `success`, `inputComplete`, `search` and
49836
+ * `interpretation.complete` before treating a missing recommendation as an
49837
+ * absence.
48380
49838
  */
48381
49839
  async sortDiscovery(request, requestOptions) {
48382
49840
  const response = await this.api.analyzeSortDiscovery(
48383
49841
  SortDiscoveryRequestFromFrontToApi(request),
48384
- toRequestParams(requestOptions)
49842
+ mergeRequestParams({ headers: { [RAW_BODY_HEADER]: "1" } }, requestOptions)
48385
49843
  );
48386
49844
  return decodeResponse(response, SortDiscoveryResponseFromApiToFront);
48387
49845
  }
@@ -48413,6 +49871,10 @@ var AnalysisClient = class {
48413
49871
  * with {@link AnalysisClient.getExplorationStatus}. The class name is the
48414
49872
  * SDK's mapping of every 409: branch on the code.
48415
49873
  * @throws {BadRequestError} 400 when the engine refuses the content.
49874
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
49875
+ * when `request.idempotencyKey` already committed a different request.
49876
+ * Nothing is applied; a retry of the same request with the same key
49877
+ * answers the committed response.
48416
49878
  * @throws {NotFoundError} 404 when the session does not exist.
48417
49879
  *
48418
49880
  * @remarks
@@ -48434,7 +49896,7 @@ var AnalysisClient = class {
48434
49896
  const response = await this.api.confirmImplication(
48435
49897
  sessionId,
48436
49898
  ConfirmRequestFromFrontToApi(request),
48437
- toRequestParams(requestOptions)
49899
+ idempotencyParams2(request, requestOptions)
48438
49900
  );
48439
49901
  return decodeResponse(response, ConfirmResponseFromApiToFront);
48440
49902
  }
@@ -48452,6 +49914,10 @@ var AnalysisClient = class {
48452
49914
  * a premise feature, has every conclusion feature, or violates a
48453
49915
  * confirmed implication (it has a confirmed premise and lacks that
48454
49916
  * implication's conclusion).
49917
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
49918
+ * when `request.idempotencyKey` already committed a different request.
49919
+ * Nothing is applied; a retry of the same request with the same key
49920
+ * answers the committed response.
48455
49921
  * @throws {NotFoundError} 404 when the session does not exist.
48456
49922
  *
48457
49923
  * @remarks
@@ -48474,7 +49940,7 @@ var AnalysisClient = class {
48474
49940
  const response = await this.api.refuteImplication(
48475
49941
  sessionId,
48476
49942
  RefuteRequestFromFrontToApi(request),
48477
- toRequestParams(requestOptions)
49943
+ idempotencyParams2(request, requestOptions)
48478
49944
  );
48479
49945
  return decodeResponse(response, RefuteResponseFromApiToFront);
48480
49946
  }
@@ -48490,6 +49956,10 @@ var AnalysisClient = class {
48490
49956
  * @returns The next question (absent when the search stopped again or was
48491
49957
  * exhausted), the progress, and the search report.
48492
49958
  * @throws {BadRequestError} 400 for invalid search bounds.
49959
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
49960
+ * when `request.idempotencyKey` already committed a different request.
49961
+ * Nothing is applied; a retry of the same request with the same key
49962
+ * answers the committed response.
48493
49963
  * @throws {NotFoundError} 404 when the session does not exist.
48494
49964
  *
48495
49965
  * @remarks
@@ -48515,7 +49985,7 @@ var AnalysisClient = class {
48515
49985
  const response = await this.api.advanceExploration(
48516
49986
  sessionId,
48517
49987
  AdvanceExplorationRequestFromFrontToApi(request),
48518
- toRequestParams(requestOptions)
49988
+ idempotencyParams2(request, requestOptions)
48519
49989
  );
48520
49990
  return decodeResponse(response, ConfirmResponseFromApiToFront);
48521
49991
  }
@@ -48540,6 +50010,89 @@ var AnalysisClient = class {
48540
50010
  const response = await this.api.completeExploration(sessionId, toRequestParams(requestOptions));
48541
50011
  return decodeResponse(response, ExplorationCompleteResponseFromApiToFront);
48542
50012
  }
50013
+ /**
50014
+ * Extend a completed exploration's confirmed implications to every term of
50015
+ * a sort and its subsorts.
50016
+ *
50017
+ * @param sessionId - Exploration session ID.
50018
+ * @param request - The sort, by name.
50019
+ * @param requestOptions - Per-call request options.
50020
+ * @returns The `expert-declared-sort-v1` licence and the rules it installed.
50021
+ * @throws {ConstraintViolationError} 409 with code
50022
+ * `exploration_session_not_completed` (the exploration is not completed)
50023
+ * or `exploration_not_published` (it has no recorded publication to
50024
+ * extend).
50025
+ * @throws {ForbiddenError} 403 with code `exploration_actor_required` (no
50026
+ * gateway human actor), or when the sort is not writable.
50027
+ * @throws {BadRequestError} 400 for an unknown sort.
50028
+ * @throws {NotFoundError} 404 when the session is absent or not accessible.
50029
+ * @throws {ServiceUnavailableError} 503 with code
50030
+ * `exploration_publication_unavailable`; nothing was installed.
50031
+ *
50032
+ * @remarks
50033
+ * A separate, attributed declaration by the session's creator or an invited
50034
+ * participant: each installed rule's obligation names the implied feature
50035
+ * for its subject and cites a sort licence record that extends the
50036
+ * session's frozen-population licence. No value is invented and no source
50037
+ * term changes; licence and rules commit in one checked action. Repeating
50038
+ * the request for the same sort returns the recorded licence.
50039
+ *
50040
+ * @example
50041
+ * ```typescript
50042
+ * const done = await client.analysis.completeExploration(sessionId);
50043
+ * if (done.publication) {
50044
+ * const licence = await client.analysis.licenseExplorationSort(sessionId, { sortName: 'bird' });
50045
+ * console.log(licence.installedRules.length);
50046
+ * }
50047
+ * ```
50048
+ */
50049
+ async licenseExplorationSort(sessionId, request, requestOptions) {
50050
+ const response = await this.api.licenseExplorationSort(
50051
+ sessionId,
50052
+ SortLicenceRequestFromFrontToApi(request),
50053
+ toRequestParams(requestOptions)
50054
+ );
50055
+ return decodeResponse(response, SortLicenceResponseFromApiToFront);
50056
+ }
50057
+ /**
50058
+ * Invite a gateway human user to an exploration session.
50059
+ *
50060
+ * @param sessionId - Exploration session ID.
50061
+ * @param participantId - The invited user's UUID.
50062
+ * @param requestOptions - Per-call request options.
50063
+ * @throws {ForbiddenError} 403 without a gateway human actor, or when an
50064
+ * invited participant tries to delegate: only the creator may invite.
50065
+ * @throws {NotFoundError} 404 when the session is absent or the caller has
50066
+ * no current invitation.
50067
+ * @throws {ConstraintViolationError} 409 when concurrent changes exhausted
50068
+ * the commit attempts; retry.
50069
+ *
50070
+ * @remarks
50071
+ * Repeating the same invitation is a no-op.
50072
+ */
50073
+ async inviteExplorationParticipant(sessionId, participantId, requestOptions) {
50074
+ await this.api.inviteParticipant(sessionId, participantId, toRequestParams(requestOptions));
50075
+ }
50076
+ /**
50077
+ * Revoke a participant's invitation to an exploration session.
50078
+ *
50079
+ * @param sessionId - Exploration session ID.
50080
+ * @param participantId - The participant's UUID.
50081
+ * @param requestOptions - Per-call request options.
50082
+ * @throws {ForbiddenError} 403 without a gateway human actor, or when the
50083
+ * caller is not the creator: only the creator may revoke.
50084
+ * @throws {NotFoundError} 404 when the session is absent or the caller has
50085
+ * no current invitation.
50086
+ * @throws {ConstraintViolationError} 409 when concurrent changes exhausted
50087
+ * the commit attempts; retry.
50088
+ *
50089
+ * @remarks
50090
+ * Repeating the same revocation is a no-op; the creator always retains
50091
+ * access.
50092
+ */
50093
+ async revokeExplorationParticipant(sessionId, participantId, requestOptions) {
50094
+ await this.api.revokeParticipant(sessionId, participantId, toRequestParams(requestOptions));
50095
+ }
48543
50096
  /**
48544
50097
  * Certify the tenant's rule base: does forward reasoning terminate, and is
48545
50098
  * it order-independent?
@@ -48570,6 +50123,12 @@ var AnalysisClient = class {
48570
50123
  return decodeResponse(response, RuleBaseCertificateDtoFromApiToFront);
48571
50124
  }
48572
50125
  };
50126
+ function idempotencyParams2(request, requestOptions) {
50127
+ return request.idempotencyKey === void 0 ? toRequestParams(requestOptions) : mergeRequestParams(
50128
+ { headers: { "Idempotency-Key": request.idempotencyKey } },
50129
+ requestOptions
50130
+ );
50131
+ }
48573
50132
 
48574
50133
  // src/normalizers/preferences.ts
48575
50134
  function RecordSelectionRequestFromFrontToApi(model) {
@@ -57451,7 +59010,14 @@ function VerifyResponseFromApiToFront(dto) {
57451
59010
  return {
57452
59011
  ok: dto.ok,
57453
59012
  nViolations: dto.n_violations,
57454
- violations: dto.violations
59013
+ violations: dto.violations,
59014
+ anchor: dto.anchor == null ? dto.anchor : {
59015
+ baseHash: dto.anchor.base_hash,
59016
+ purgedCount: dto.anchor.purged_count,
59017
+ purgedThrough: dto.anchor.purged_through,
59018
+ purgedThroughAt: dto.anchor.purged_through_at,
59019
+ purgeRecordId: dto.anchor.purge_record_id
59020
+ }
57455
59021
  };
57456
59022
  }
57457
59023
  function CaptureSnapshotRequestFromFrontToApi(model) {
@@ -58873,6 +60439,20 @@ function ApplyActionResponseFromApiToFront(dto) {
58873
60439
  sideEffectsDispatched: dto.side_effects_dispatched,
58874
60440
  sideEffectsFailed: dto.side_effects_failed
58875
60441
  };
60442
+ case "committed_execution_unavailable":
60443
+ return {
60444
+ outcome: "committed_execution_unavailable",
60445
+ transactionId: dto.transaction_id,
60446
+ reason: dto.reason,
60447
+ retryAllowed: dto.retry_allowed
60448
+ };
60449
+ case "commit_unconfirmed":
60450
+ return {
60451
+ outcome: "commit_unconfirmed",
60452
+ transactionId: dto.transaction_id,
60453
+ reason: dto.reason,
60454
+ retryAllowed: dto.retry_allowed
60455
+ };
58876
60456
  case "suspended":
58877
60457
  return {
58878
60458
  outcome: "suspended",
@@ -58906,7 +60486,14 @@ var ActionsClient = class {
58906
60486
  * atomic term edits to commit when the action is `Ready`.
58907
60487
  * @returns The outcome — `applied` (with side-effect dispatch counts),
58908
60488
  * `suspended` (with the unbound required parameters), `rejected`, or
58909
- * `rolled_back` (each with a reason).
60489
+ * `rolled_back` (each with a reason), `committed_execution_unavailable` or
60490
+ * `commit_unconfirmed` (each with the `transactionId` to reconcile before
60491
+ * any retry).
60492
+ * @throws {ConstraintViolationError} 409 — the engine serves `rolled_back`,
60493
+ * `committed_execution_unavailable` and `commit_unconfirmed` with status
60494
+ * 409, so they arrive as this error, with the wire outcome in its `body`.
60495
+ * Do not retry a `committed_execution_unavailable` or `commit_unconfirmed`
60496
+ * outcome without reconciling its transaction.
58910
60497
  * @throws {ApiError} 422 when an edit puts a scalar literal into a feature
58911
60498
  * whose declared range is an entity sort (`Feature '<f>' holds a <kind>
58912
60499
  * literal, which is incompatible with the declared range …`; write
@@ -62356,7 +63943,8 @@ function SmtCheckRequestFromFrontToApi(model) {
62356
63943
  clauses: model.clauses?.map((clause) => clause.map(EqLiteralDtoFromFrontToApi)),
62357
63944
  constants: model.constants,
62358
63945
  equalities: model.equalities?.map(EqualityAtomDtoFromFrontToApi),
62359
- functions: model.functions?.map(SmtFunctionApplicationDtoFromFrontToApi)
63946
+ functions: model.functions?.map(SmtFunctionApplicationDtoFromFrontToApi),
63947
+ linear: model.linear?.map((atom) => ({ id: atom.id, constraint: atom.constraint }))
62360
63948
  };
62361
63949
  }
62362
63950
  function SmtCheckResponseFromApiToFront(dto) {
@@ -66779,7 +68367,7 @@ var PairingClient = class {
66779
68367
 
66780
68368
  // src/normalizers/channels.ts
66781
68369
  function ChannelAdapterInfoFromApiToFront(dto) {
66782
- return { name: dto.name, platform: dto.platform, status: dto.status };
68370
+ return { name: dto.name, platform: dto.platform, status: dto.status, owned: dto.owned };
66783
68371
  }
66784
68372
  function ListChannelAdaptersResponseFromApiToFront(dto) {
66785
68373
  return { adapters: dto.adapters.map(ChannelAdapterInfoFromApiToFront) };