@kortexya/reasoninglayer 5.1.0 → 6.1.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.cjs CHANGED
@@ -7,7 +7,7 @@ var __export = (target, all) => {
7
7
  };
8
8
 
9
9
  // src/config.ts
10
- var SDK_VERSION = "5.1.0";
10
+ var SDK_VERSION = "6.1.0";
11
11
  function resolveConfig(config) {
12
12
  if (!config.baseUrl) {
13
13
  throw new Error("ClientConfig.baseUrl is required");
@@ -879,6 +879,8 @@ var USER_DATA_FIELDS = /* @__PURE__ */ new Set([
879
879
  "filter",
880
880
  "initialBindings",
881
881
  "initial_bindings",
882
+ "inputEtags",
883
+ "input_etags",
882
884
  "inputs",
883
885
  "interventions",
884
886
  "modifiedParams",
@@ -902,11 +904,13 @@ var USER_DATA_FIELDS = /* @__PURE__ */ new Set([
902
904
  "sort_names",
903
905
  "sources",
904
906
  "state",
907
+ "steps",
905
908
  "toolResults",
906
909
  "tool_results",
907
910
  "topK",
908
911
  "top_k",
909
- "values"
912
+ "values",
913
+ "verdicts"
910
914
  ]);
911
915
 
912
916
  // src/serialization.ts
@@ -2589,6 +2593,57 @@ var Inference = class {
2589
2593
  format: "json",
2590
2594
  ...params
2591
2595
  });
2596
+ /**
2597
+ * @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.
2598
+ *
2599
+ * @tags inference
2600
+ * @name CancelInferenceJob
2601
+ * @summary Cancel a running job.
2602
+ * @request POST:/api/v1/inference/jobs/{id}/cancel
2603
+ * @secure
2604
+ */
2605
+ cancelInferenceJob = (id, params = {}) => this.http.request({
2606
+ path: `/api/v1/inference/jobs/${id}/cancel`,
2607
+ method: "POST",
2608
+ secure: true,
2609
+ format: "json",
2610
+ ...params
2611
+ });
2612
+ /**
2613
+ * No description
2614
+ *
2615
+ * @tags inference
2616
+ * @name CategoricalInfer
2617
+ * @request POST:/api/v1/inference/categorical
2618
+ * @secure
2619
+ */
2620
+ categoricalInfer = (data, params = {}) => this.http.request({
2621
+ path: `/api/v1/inference/categorical`,
2622
+ method: "POST",
2623
+ body: data,
2624
+ secure: true,
2625
+ type: "application/json",
2626
+ format: "json",
2627
+ ...params
2628
+ });
2629
+ /**
2630
+ * No description
2631
+ *
2632
+ * @tags inference
2633
+ * @name CategoricalVerify
2634
+ * @summary Checks reproducibility against current inputs. This grants no authorization to act and does not establish truth of the model's numerical parameters.
2635
+ * @request POST:/api/v1/inference/categorical/verify
2636
+ * @secure
2637
+ */
2638
+ categoricalVerify = (data, params = {}) => this.http.request({
2639
+ path: `/api/v1/inference/categorical/verify`,
2640
+ method: "POST",
2641
+ body: data,
2642
+ secure: true,
2643
+ type: "application/json",
2644
+ format: "json",
2645
+ ...params
2646
+ });
2592
2647
  /**
2593
2648
  * @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.
2594
2649
  *
@@ -2657,6 +2712,21 @@ var Inference = class {
2657
2712
  format: "json",
2658
2713
  ...params
2659
2714
  });
2715
+ /**
2716
+ * No description
2717
+ *
2718
+ * @tags inference
2719
+ * @name DeleteInferenceJob
2720
+ * @summary Forget a job.
2721
+ * @request DELETE:/api/v1/inference/jobs/{id}
2722
+ * @secure
2723
+ */
2724
+ deleteInferenceJob = (id, params = {}) => this.http.request({
2725
+ path: `/api/v1/inference/jobs/${id}`,
2726
+ method: "DELETE",
2727
+ secure: true,
2728
+ ...params
2729
+ });
2660
2730
  /**
2661
2731
  * @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.
2662
2732
  *
@@ -2779,6 +2849,22 @@ var Inference = class {
2779
2849
  format: "json",
2780
2850
  ...params
2781
2851
  });
2852
+ /**
2853
+ * No description
2854
+ *
2855
+ * @tags inference
2856
+ * @name GetInferenceJob
2857
+ * @summary A job, with its result once it completed.
2858
+ * @request GET:/api/v1/inference/jobs/{id}
2859
+ * @secure
2860
+ */
2861
+ getInferenceJob = (id, params = {}) => this.http.request({
2862
+ path: `/api/v1/inference/jobs/${id}`,
2863
+ method: "GET",
2864
+ secure: true,
2865
+ format: "json",
2866
+ ...params
2867
+ });
2782
2868
  /**
2783
2869
  * @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.
2784
2870
  *
@@ -2827,6 +2913,22 @@ var Inference = class {
2827
2913
  format: "json",
2828
2914
  ...params
2829
2915
  });
2916
+ /**
2917
+ * No description
2918
+ *
2919
+ * @tags inference
2920
+ * @name ListInferenceJobs
2921
+ * @summary The tenant's jobs, newest first.
2922
+ * @request GET:/api/v1/inference/jobs
2923
+ * @secure
2924
+ */
2925
+ listInferenceJobs = (params = {}) => this.http.request({
2926
+ path: `/api/v1/inference/jobs`,
2927
+ method: "GET",
2928
+ secure: true,
2929
+ format: "json",
2930
+ ...params
2931
+ });
2830
2932
  /**
2831
2933
  * @description # TRUE HOMOICONIC API Uses LiteralInputDto with TermInputDto for literals. Response uses homoiconic SolutionDto. # Authorization Requires X-Tenant-Id header.
2832
2934
  *
@@ -2881,6 +2983,24 @@ var Inference = class {
2881
2983
  format: "json",
2882
2984
  ...params
2883
2985
  });
2986
+ /**
2987
+ * @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.
2988
+ *
2989
+ * @tags inference
2990
+ * @name SubmitInferenceJob
2991
+ * @summary Submit an inference request to run in the background.
2992
+ * @request POST:/api/v1/inference/jobs
2993
+ * @secure
2994
+ */
2995
+ submitInferenceJob = (data, params = {}) => this.http.request({
2996
+ path: `/api/v1/inference/jobs`,
2997
+ method: "POST",
2998
+ body: data,
2999
+ secure: true,
3000
+ type: "application/json",
3001
+ format: "json",
3002
+ ...params
3003
+ });
2884
3004
  /**
2885
3005
  * @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.
2886
3006
  *
@@ -3052,6 +3172,22 @@ var Cognitive = class {
3052
3172
  format: "json",
3053
3173
  ...params
3054
3174
  });
3175
+ /**
3176
+ * No description
3177
+ *
3178
+ * @tags cognitive
3179
+ * @name ExportAgent
3180
+ * @summary Export an agent as a portable bundle.
3181
+ * @request GET:/api/v1/cognitive/agents/{agent_id}/export
3182
+ * @secure
3183
+ */
3184
+ exportAgent = (agentId, params = {}) => this.http.request({
3185
+ path: `/api/v1/cognitive/agents/${agentId}/export`,
3186
+ method: "GET",
3187
+ secure: true,
3188
+ format: "json",
3189
+ ...params
3190
+ });
3055
3191
  /**
3056
3192
  * @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.
3057
3193
  *
@@ -3162,6 +3298,24 @@ var Cognitive = class {
3162
3298
  format: "json",
3163
3299
  ...params
3164
3300
  });
3301
+ /**
3302
+ * No description
3303
+ *
3304
+ * @tags cognitive
3305
+ * @name ImportAgent
3306
+ * @summary Create a new agent from a bundle.
3307
+ * @request POST:/api/v1/cognitive/agents/import
3308
+ * @secure
3309
+ */
3310
+ importAgent = (data, params = {}) => this.http.request({
3311
+ path: `/api/v1/cognitive/agents/import`,
3312
+ method: "POST",
3313
+ body: data,
3314
+ secure: true,
3315
+ type: "application/json",
3316
+ format: "json",
3317
+ ...params
3318
+ });
3165
3319
  /**
3166
3320
  * @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.
3167
3321
  *
@@ -3178,6 +3332,23 @@ var Cognitive = class {
3178
3332
  format: "json",
3179
3333
  ...params
3180
3334
  });
3335
+ /**
3336
+ * @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.
3337
+ *
3338
+ * @tags cognitive
3339
+ * @name ListAgentRuns
3340
+ * @summary The agent's recent runs.
3341
+ * @request GET:/api/v1/cognitive/agents/{agent_id}/runs
3342
+ * @secure
3343
+ */
3344
+ listAgentRuns = (agentId, query, params = {}) => this.http.request({
3345
+ path: `/api/v1/cognitive/agents/${agentId}/runs`,
3346
+ method: "GET",
3347
+ query,
3348
+ secure: true,
3349
+ format: "json",
3350
+ ...params
3351
+ });
3181
3352
  /**
3182
3353
  * @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.
3183
3354
  *
@@ -3354,6 +3525,24 @@ var Cognitive = class {
3354
3525
  format: "json",
3355
3526
  ...params
3356
3527
  });
3528
+ /**
3529
+ * No description
3530
+ *
3531
+ * @tags cognitive
3532
+ * @name UpdateAgent
3533
+ * @summary Rename an agent and replace its configuration.
3534
+ * @request PUT:/api/v1/cognitive/agents/{agent_id}
3535
+ * @secure
3536
+ */
3537
+ updateAgent = (agentId, data, params = {}) => this.http.request({
3538
+ path: `/api/v1/cognitive/agents/${agentId}`,
3539
+ method: "PUT",
3540
+ body: data,
3541
+ secure: true,
3542
+ type: "application/json",
3543
+ format: "json",
3544
+ ...params
3545
+ });
3357
3546
  };
3358
3547
 
3359
3548
  // src/api-spec/generated/CognitiveAgentsEpisodicMemory.ts
@@ -3683,17 +3872,21 @@ var Ingestion = class {
3683
3872
  ...params
3684
3873
  });
3685
3874
  /**
3686
- * No description
3875
+ * @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.
3687
3876
  *
3688
3877
  * @tags ingestion
3689
- * @name Chunk
3690
- * @request PUT:/api/v1/ingest/rdf/uploads/{id}
3878
+ * @name CompleteDocumentUpload
3879
+ * @summary Parse and ingest the uploaded file.
3880
+ * @request POST:/api/v1/ingest/documents/uploads/{id}/complete
3881
+ * @secure
3691
3882
  */
3692
- chunk = (id, query, data, params = {}) => this.http.request({
3693
- path: `/api/v1/ingest/rdf/uploads/${id}`,
3694
- method: "PUT",
3883
+ completeDocumentUpload = (id, data, query, params = {}) => this.http.request({
3884
+ path: `/api/v1/ingest/documents/uploads/${id}/complete`,
3885
+ method: "POST",
3695
3886
  query,
3696
3887
  body: data,
3888
+ secure: true,
3889
+ type: "application/json",
3697
3890
  format: "json",
3698
3891
  ...params
3699
3892
  });
@@ -3701,10 +3894,10 @@ var Ingestion = class {
3701
3894
  * No description
3702
3895
  *
3703
3896
  * @tags ingestion
3704
- * @name Complete
3897
+ * @name CompleteRdfUpload
3705
3898
  * @request POST:/api/v1/ingest/rdf/uploads/{id}/complete
3706
3899
  */
3707
- complete = (id, params = {}) => this.http.request({
3900
+ completeRdfUpload = (id, params = {}) => this.http.request({
3708
3901
  path: `/api/v1/ingest/rdf/uploads/${id}/complete`,
3709
3902
  method: "POST",
3710
3903
  format: "json",
@@ -3726,14 +3919,50 @@ var Ingestion = class {
3726
3919
  format: "json",
3727
3920
  ...params
3728
3921
  });
3922
+ /**
3923
+ * @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).
3924
+ *
3925
+ * @tags ingestion
3926
+ * @name CreateDocumentUpload
3927
+ * @summary Open an upload.
3928
+ * @request POST:/api/v1/ingest/documents/uploads
3929
+ * @secure
3930
+ */
3931
+ createDocumentUpload = (data, params = {}) => this.http.request({
3932
+ path: `/api/v1/ingest/documents/uploads`,
3933
+ method: "POST",
3934
+ body: data,
3935
+ secure: true,
3936
+ type: "application/json",
3937
+ format: "json",
3938
+ ...params
3939
+ });
3940
+ /**
3941
+ * @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.
3942
+ *
3943
+ * @tags ingestion
3944
+ * @name CreateIngestSource
3945
+ * @summary Register a source to refresh on an interval.
3946
+ * @request POST:/api/v1/ingest/sources
3947
+ * @secure
3948
+ */
3949
+ createIngestSource = (data, params = {}) => this.http.request({
3950
+ path: `/api/v1/ingest/sources`,
3951
+ method: "POST",
3952
+ body: data,
3953
+ secure: true,
3954
+ type: "application/json",
3955
+ format: "json",
3956
+ ...params
3957
+ });
3729
3958
  /**
3730
3959
  * No description
3731
3960
  *
3732
3961
  * @tags ingestion
3733
- * @name Create
3962
+ * @name CreateRdfUpload
3734
3963
  * @request POST:/api/v1/ingest/rdf/uploads
3735
3964
  */
3736
- create = (data, params = {}) => this.http.request({
3965
+ createRdfUpload = (data, params = {}) => this.http.request({
3737
3966
  path: `/api/v1/ingest/rdf/uploads`,
3738
3967
  method: "POST",
3739
3968
  body: data,
@@ -3741,6 +3970,21 @@ var Ingestion = class {
3741
3970
  format: "json",
3742
3971
  ...params
3743
3972
  });
3973
+ /**
3974
+ * No description
3975
+ *
3976
+ * @tags ingestion
3977
+ * @name DeleteDocumentUpload
3978
+ * @summary Discard an upload and its bytes.
3979
+ * @request DELETE:/api/v1/ingest/documents/uploads/{id}
3980
+ * @secure
3981
+ */
3982
+ deleteDocumentUpload = (id, params = {}) => this.http.request({
3983
+ path: `/api/v1/ingest/documents/uploads/${id}`,
3984
+ method: "DELETE",
3985
+ secure: true,
3986
+ ...params
3987
+ });
3744
3988
  /**
3745
3989
  * @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
3746
3990
  *
@@ -3760,13 +4004,15 @@ var Ingestion = class {
3760
4004
  * No description
3761
4005
  *
3762
4006
  * @tags ingestion
3763
- * @name Get
3764
- * @request GET:/api/v1/ingest/rdf/uploads/{id}
4007
+ * @name DeleteIngestSource
4008
+ * @summary Remove a source.
4009
+ * @request DELETE:/api/v1/ingest/sources/{id}
4010
+ * @secure
3765
4011
  */
3766
- get = (id, params = {}) => this.http.request({
3767
- path: `/api/v1/ingest/rdf/uploads/${id}`,
3768
- method: "GET",
3769
- format: "json",
4012
+ deleteIngestSource = (id, params = {}) => this.http.request({
4013
+ path: `/api/v1/ingest/sources/${id}`,
4014
+ method: "DELETE",
4015
+ secure: true,
3770
4016
  ...params
3771
4017
  });
3772
4018
  /**
@@ -3785,6 +4031,22 @@ var Ingestion = class {
3785
4031
  format: "json",
3786
4032
  ...params
3787
4033
  });
4034
+ /**
4035
+ * No description
4036
+ *
4037
+ * @tags ingestion
4038
+ * @name GetDocumentUpload
4039
+ * @summary An upload's progress: `uploaded_bytes` is the offset to resume from.
4040
+ * @request GET:/api/v1/ingest/documents/uploads/{id}
4041
+ * @secure
4042
+ */
4043
+ getDocumentUpload = (id, params = {}) => this.http.request({
4044
+ path: `/api/v1/ingest/documents/uploads/${id}`,
4045
+ method: "GET",
4046
+ secure: true,
4047
+ format: "json",
4048
+ ...params
4049
+ });
3788
4050
  /**
3789
4051
  * @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
3790
4052
  *
@@ -3865,6 +4127,19 @@ var Ingestion = class {
3865
4127
  format: "json",
3866
4128
  ...params
3867
4129
  });
4130
+ /**
4131
+ * No description
4132
+ *
4133
+ * @tags ingestion
4134
+ * @name GetRdfUpload
4135
+ * @request GET:/api/v1/ingest/rdf/uploads/{id}
4136
+ */
4137
+ getRdfUpload = (id, params = {}) => this.http.request({
4138
+ path: `/api/v1/ingest/rdf/uploads/${id}`,
4139
+ method: "GET",
4140
+ format: "json",
4141
+ ...params
4142
+ });
3868
4143
  /**
3869
4144
  * @description POST /api/v1/ingest/audio
3870
4145
  *
@@ -4032,31 +4307,34 @@ var Ingestion = class {
4032
4307
  ...params
4033
4308
  });
4034
4309
  /**
4035
- * No description
4310
+ * @description Returns paginated list of chunk failures in the dead-letter queue.
4036
4311
  *
4037
4312
  * @tags ingestion
4038
- * @name List
4039
- * @request GET:/api/v1/ingest/rdf/uploads
4313
+ * @name ListDlqEntries
4314
+ * @summary List pending DLQ entries for the current tenant.
4315
+ * @request GET:/api/v1/ingest/dlq
4316
+ * @secure
4040
4317
  */
4041
- list = (params = {}) => this.http.request({
4042
- path: `/api/v1/ingest/rdf/uploads`,
4318
+ listDlqEntries = (query, params = {}) => this.http.request({
4319
+ path: `/api/v1/ingest/dlq`,
4043
4320
  method: "GET",
4321
+ query,
4322
+ secure: true,
4044
4323
  format: "json",
4045
4324
  ...params
4046
4325
  });
4047
4326
  /**
4048
- * @description Returns paginated list of chunk failures in the dead-letter queue.
4327
+ * No description
4049
4328
  *
4050
4329
  * @tags ingestion
4051
- * @name ListDlqEntries
4052
- * @summary List pending DLQ entries for the current tenant.
4053
- * @request GET:/api/v1/ingest/dlq
4330
+ * @name ListDocumentUploads
4331
+ * @summary The tenant's uploads, oldest first.
4332
+ * @request GET:/api/v1/ingest/documents/uploads
4054
4333
  * @secure
4055
4334
  */
4056
- listDlqEntries = (query, params = {}) => this.http.request({
4057
- path: `/api/v1/ingest/dlq`,
4335
+ listDocumentUploads = (params = {}) => this.http.request({
4336
+ path: `/api/v1/ingest/documents/uploads`,
4058
4337
  method: "GET",
4059
- query,
4060
4338
  secure: true,
4061
4339
  format: "json",
4062
4340
  ...params
@@ -4097,15 +4375,62 @@ var Ingestion = class {
4097
4375
  * No description
4098
4376
  *
4099
4377
  * @tags ingestion
4100
- * @name Pause
4378
+ * @name ListIngestSources
4379
+ * @summary List the tenant's sources.
4380
+ * @request GET:/api/v1/ingest/sources
4381
+ * @secure
4382
+ */
4383
+ listIngestSources = (params = {}) => this.http.request({
4384
+ path: `/api/v1/ingest/sources`,
4385
+ method: "GET",
4386
+ secure: true,
4387
+ format: "json",
4388
+ ...params
4389
+ });
4390
+ /**
4391
+ * No description
4392
+ *
4393
+ * @tags ingestion
4394
+ * @name ListRdfUploads
4395
+ * @request GET:/api/v1/ingest/rdf/uploads
4396
+ */
4397
+ listRdfUploads = (params = {}) => this.http.request({
4398
+ path: `/api/v1/ingest/rdf/uploads`,
4399
+ method: "GET",
4400
+ format: "json",
4401
+ ...params
4402
+ });
4403
+ /**
4404
+ * No description
4405
+ *
4406
+ * @tags ingestion
4407
+ * @name PauseRdfUpload
4101
4408
  * @request POST:/api/v1/ingest/rdf/uploads/{id}/pause
4102
4409
  */
4103
- pause = (id, params = {}) => this.http.request({
4410
+ pauseRdfUpload = (id, params = {}) => this.http.request({
4104
4411
  path: `/api/v1/ingest/rdf/uploads/${id}/pause`,
4105
4412
  method: "POST",
4106
4413
  format: "json",
4107
4414
  ...params
4108
4415
  });
4416
+ /**
4417
+ * @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.
4418
+ *
4419
+ * @tags ingestion
4420
+ * @name PutDocumentUploadChunk
4421
+ * @summary Store one chunk.
4422
+ * @request PUT:/api/v1/ingest/documents/uploads/{id}
4423
+ * @secure
4424
+ */
4425
+ putDocumentUploadChunk = (id, query, data, params = {}) => this.http.request({
4426
+ path: `/api/v1/ingest/documents/uploads/${id}`,
4427
+ method: "PUT",
4428
+ query,
4429
+ body: data,
4430
+ secure: true,
4431
+ format: "json",
4432
+ ...params
4433
+ });
4109
4434
  /**
4110
4435
  * @description Finds documents stuck in InProgress for longer than the specified timeout and releases them back to Pending for re-processing.
4111
4436
  *
@@ -4124,6 +4449,22 @@ var Ingestion = class {
4124
4449
  format: "json",
4125
4450
  ...params
4126
4451
  });
4452
+ /**
4453
+ * No description
4454
+ *
4455
+ * @tags ingestion
4456
+ * @name RefreshIngestSource
4457
+ * @summary Refresh a source now.
4458
+ * @request POST:/api/v1/ingest/sources/{id}/refresh
4459
+ * @secure
4460
+ */
4461
+ refreshIngestSource = (id, params = {}) => this.http.request({
4462
+ path: `/api/v1/ingest/sources/${id}/refresh`,
4463
+ method: "POST",
4464
+ secure: true,
4465
+ format: "json",
4466
+ ...params
4467
+ });
4127
4468
  /**
4128
4469
  * @description Finds documents in Failed status, resets them and optionally re-enqueues them.
4129
4470
  *
@@ -4209,6 +4550,21 @@ var Ingestion = class {
4209
4550
  format: "json",
4210
4551
  ...params
4211
4552
  });
4553
+ /**
4554
+ * No description
4555
+ *
4556
+ * @tags ingestion
4557
+ * @name UploadRdfChunk
4558
+ * @request PUT:/api/v1/ingest/rdf/uploads/{id}
4559
+ */
4560
+ uploadRdfChunk = (id, query, data, params = {}) => this.http.request({
4561
+ path: `/api/v1/ingest/rdf/uploads/${id}`,
4562
+ method: "PUT",
4563
+ query,
4564
+ body: data,
4565
+ format: "json",
4566
+ ...params
4567
+ });
4212
4568
  /**
4213
4569
  * @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".
4214
4570
  *
@@ -4935,7 +5291,7 @@ var Copy = class {
4935
5291
  *
4936
5292
  * @tags copy
4937
5293
  * @name BatchCopy
4938
- * @summary Batch copy terms POST /api/v1/copy/batch
5294
+ * @summary Copy several terms; each copy succeeds or fails on its own POST /api/v1/copy/batch
4939
5295
  * @request POST:/api/v1/copy/batch
4940
5296
  * @secure
4941
5297
  */
@@ -4953,7 +5309,7 @@ var Copy = class {
4953
5309
  *
4954
5310
  * @tags copy
4955
5311
  * @name CopyTerm
4956
- * @summary Copy a term with specified semantics POST /api/v1/copy/term
5312
+ * @summary Copy a term into a new stored term POST /api/v1/copy/term
4957
5313
  * @request POST:/api/v1/copy/term
4958
5314
  * @secure
4959
5315
  */
@@ -4971,7 +5327,7 @@ var Copy = class {
4971
5327
  *
4972
5328
  * @tags copy
4973
5329
  * @name DeepCopy
4974
- * @summary Deep copy a term with cycle detection POST /api/v1/copy/deep
5330
+ * @summary Copy a term and the terms it references POST /api/v1/copy/deep
4975
5331
  * @request POST:/api/v1/copy/deep
4976
5332
  * @secure
4977
5333
  */
@@ -5142,6 +5498,21 @@ var Collections = class {
5142
5498
  constructor(http) {
5143
5499
  this.http = http;
5144
5500
  }
5501
+ /**
5502
+ * @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.
5503
+ *
5504
+ * @tags collections
5505
+ * @name AddExistingTermToCollection
5506
+ * @summary Add an existing term to a collection.
5507
+ * @request PUT:/api/v1/collections/{id}/terms/{term_id}
5508
+ * @secure
5509
+ */
5510
+ addExistingTermToCollection = (id, termId, params = {}) => this.http.request({
5511
+ path: `/api/v1/collections/${id}/terms/${termId}`,
5512
+ method: "PUT",
5513
+ secure: true,
5514
+ ...params
5515
+ });
5145
5516
  /**
5146
5517
  * @description # Authorization Requires X-Namespace-Id header. The namespace_id field in the request body is ignored.
5147
5518
  *
@@ -5375,6 +5746,21 @@ var Collections = class {
5375
5746
  format: "json",
5376
5747
  ...params
5377
5748
  });
5749
+ /**
5750
+ * No description
5751
+ *
5752
+ * @tags collections
5753
+ * @name RemoveTermFromCollection
5754
+ * @summary Remove a term from a collection. The term itself is not deleted.
5755
+ * @request DELETE:/api/v1/collections/{id}/terms/{term_id}
5756
+ * @secure
5757
+ */
5758
+ removeTermFromCollection = (id, termId, params = {}) => this.http.request({
5759
+ path: `/api/v1/collections/${id}/terms/${termId}`,
5760
+ method: "DELETE",
5761
+ secure: true,
5762
+ ...params
5763
+ });
5378
5764
  /**
5379
5765
  * No description
5380
5766
  *
@@ -6097,6 +6483,24 @@ var Causal = class {
6097
6483
  format: "json",
6098
6484
  ...params
6099
6485
  });
6486
+ /**
6487
+ * No description
6488
+ *
6489
+ * @tags causal
6490
+ * @name EstimateCateHandler
6491
+ * @summary Estimate how a treatment's effect varies with the covariates (DR-learner).
6492
+ * @request POST:/api/v1/causal/cate
6493
+ * @secure
6494
+ */
6495
+ estimateCateHandler = (data, params = {}) => this.http.request({
6496
+ path: `/api/v1/causal/cate`,
6497
+ method: "POST",
6498
+ body: data,
6499
+ secure: true,
6500
+ type: "application/json",
6501
+ format: "json",
6502
+ ...params
6503
+ });
6100
6504
  /**
6101
6505
  * No description
6102
6506
  *
@@ -6133,6 +6537,24 @@ var Causal = class {
6133
6537
  format: "json",
6134
6538
  ...params
6135
6539
  });
6540
+ /**
6541
+ * No description
6542
+ *
6543
+ * @tags causal
6544
+ * @name EstimateLateHandler
6545
+ * @summary Estimate the effect of a treatment on compliers through a binary instrument.
6546
+ * @request POST:/api/v1/causal/late
6547
+ * @secure
6548
+ */
6549
+ estimateLateHandler = (data, params = {}) => this.http.request({
6550
+ path: `/api/v1/causal/late`,
6551
+ method: "POST",
6552
+ body: data,
6553
+ secure: true,
6554
+ type: "application/json",
6555
+ format: "json",
6556
+ ...params
6557
+ });
6136
6558
  /**
6137
6559
  * No description
6138
6560
  *
@@ -6187,6 +6609,24 @@ var Causal = class {
6187
6609
  format: "json",
6188
6610
  ...params
6189
6611
  });
6612
+ /**
6613
+ * @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`.
6614
+ *
6615
+ * @tags causal
6616
+ * @name EstimateRegressionDiscontinuity
6617
+ * @summary Estimate the effect at a cutoff by sharp regression discontinuity.
6618
+ * @request POST:/api/v1/causal/rdd
6619
+ * @secure
6620
+ */
6621
+ estimateRegressionDiscontinuity = (data, params = {}) => this.http.request({
6622
+ path: `/api/v1/causal/rdd`,
6623
+ method: "POST",
6624
+ body: data,
6625
+ secure: true,
6626
+ type: "application/json",
6627
+ format: "json",
6628
+ ...params
6629
+ });
6190
6630
  /**
6191
6631
  * No description
6192
6632
  *
@@ -6205,6 +6645,42 @@ var Causal = class {
6205
6645
  format: "json",
6206
6646
  ...params
6207
6647
  });
6648
+ /**
6649
+ * No description
6650
+ *
6651
+ * @tags causal
6652
+ * @name EstimateSurvivalEffect
6653
+ * @summary Estimate the survival difference at a horizon from censored time-to-event units.
6654
+ * @request POST:/api/v1/causal/survival
6655
+ * @secure
6656
+ */
6657
+ estimateSurvivalEffect = (data, params = {}) => this.http.request({
6658
+ path: `/api/v1/causal/survival`,
6659
+ method: "POST",
6660
+ body: data,
6661
+ secure: true,
6662
+ type: "application/json",
6663
+ format: "json",
6664
+ ...params
6665
+ });
6666
+ /**
6667
+ * No description
6668
+ *
6669
+ * @tags causal
6670
+ * @name EstimateSyntheticControl
6671
+ * @summary Estimate a treated unit's effect against a synthetic counterfactual.
6672
+ * @request POST:/api/v1/causal/synthetic-control
6673
+ * @secure
6674
+ */
6675
+ estimateSyntheticControl = (data, params = {}) => this.http.request({
6676
+ path: `/api/v1/causal/synthetic-control`,
6677
+ method: "POST",
6678
+ body: data,
6679
+ secure: true,
6680
+ type: "application/json",
6681
+ format: "json",
6682
+ ...params
6683
+ });
6208
6684
  /**
6209
6685
  * @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.
6210
6686
  *
@@ -6916,6 +7392,24 @@ var Ilp = class {
6916
7392
  format: "json",
6917
7393
  ...params
6918
7394
  });
7395
+ /**
7396
+ * @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.
7397
+ *
7398
+ * @tags ilp
7399
+ * @name LearnRelationalRules
7400
+ * @summary Learn rules for a relation from the knowledge base's facts.
7401
+ * @request POST:/api/v1/ilp/learn-rules
7402
+ * @secure
7403
+ */
7404
+ learnRelationalRules = (data, params = {}) => this.http.request({
7405
+ path: `/api/v1/ilp/learn-rules`,
7406
+ method: "POST",
7407
+ body: data,
7408
+ secure: true,
7409
+ type: "application/json",
7410
+ format: "json",
7411
+ ...params
7412
+ });
6919
7413
  /**
6920
7414
  * @description GET /api/v1/ilp/patterns Returns all patterns that have been learned in this session.
6921
7415
  *
@@ -7236,7 +7730,7 @@ var Extraction = class {
7236
7730
  ...params
7237
7731
  });
7238
7732
  /**
7239
- * @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.
7733
+ * @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.
7240
7734
  *
7241
7735
  * @tags extraction
7242
7736
  * @name ExtractEntities
@@ -8059,6 +8553,22 @@ var Reasoning = class {
8059
8553
  format: "json",
8060
8554
  ...params
8061
8555
  });
8556
+ /**
8557
+ * No description
8558
+ *
8559
+ * @tags reasoning
8560
+ * @name DisentailmentBatch
8561
+ * @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.
8562
+ * @request POST:/api/v1/reasoning/disentailment/batch
8563
+ */
8564
+ disentailmentBatch = (data, params = {}) => this.http.request({
8565
+ path: `/api/v1/reasoning/disentailment/batch`,
8566
+ method: "POST",
8567
+ body: data,
8568
+ type: "application/json",
8569
+ format: "json",
8570
+ ...params
8571
+ });
8062
8572
  /**
8063
8573
  * @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.
8064
8574
  *
@@ -8177,7 +8687,7 @@ var Reasoning = class {
8177
8687
  ...params
8178
8688
  });
8179
8689
  /**
8180
- * @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
8690
+ * @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.
8181
8691
  *
8182
8692
  * @tags reasoning
8183
8693
  * @name ResourceCoordination
@@ -8495,7 +9005,7 @@ var Control = class {
8495
9005
  *
8496
9006
  * @tags control
8497
9007
  * @name AddSymbol
8498
- * @summary Add symbol to module POST /api/v1/modules/:name/symbols
9008
+ * @summary Add a symbol to a module POST /api/v1/modules/symbols
8499
9009
  * @request POST:/api/v1/modules/symbols
8500
9010
  * @secure
8501
9011
  */
@@ -8508,186 +9018,6 @@ var Control = class {
8508
9018
  format: "json",
8509
9019
  ...params
8510
9020
  });
8511
- /**
8512
- * No description
8513
- *
8514
- * @tags control
8515
- * @name AssignBacktrackable
8516
- * @summary Backtrackable assignment POST /api/v1/control/assign/backtrackable
8517
- * @request POST:/api/v1/control/assign/backtrackable
8518
- * @secure
8519
- */
8520
- assignBacktrackable = (data, params = {}) => this.http.request({
8521
- path: `/api/v1/control/assign/backtrackable`,
8522
- method: "POST",
8523
- body: data,
8524
- secure: true,
8525
- type: "application/json",
8526
- format: "json",
8527
- ...params
8528
- });
8529
- /**
8530
- * No description
8531
- *
8532
- * @tags control
8533
- * @name AssignGlobal
8534
- * @summary Global assignment POST /api/v1/control/assign/global
8535
- * @request POST:/api/v1/control/assign/global
8536
- * @secure
8537
- */
8538
- assignGlobal = (data, params = {}) => this.http.request({
8539
- path: `/api/v1/control/assign/global`,
8540
- method: "POST",
8541
- body: data,
8542
- secure: true,
8543
- type: "application/json",
8544
- format: "json",
8545
- ...params
8546
- });
8547
- /**
8548
- * No description
8549
- *
8550
- * @tags control
8551
- * @name ControlCallOnce
8552
- * @summary Execute with cut (call_once) POST /api/v1/control/call-once
8553
- * @request POST:/api/v1/control/call-once
8554
- * @secure
8555
- */
8556
- controlCallOnce = (data, params = {}) => this.http.request({
8557
- path: `/api/v1/control/call-once`,
8558
- method: "POST",
8559
- body: data,
8560
- secure: true,
8561
- type: "application/json",
8562
- format: "json",
8563
- ...params
8564
- });
8565
- /**
8566
- * No description
8567
- *
8568
- * @tags control
8569
- * @name ControlCond
8570
- * @summary Execute conditional (if-then-else) POST /api/v1/control/cond
8571
- * @request POST:/api/v1/control/cond
8572
- * @secure
8573
- */
8574
- controlCond = (data, params = {}) => this.http.request({
8575
- path: `/api/v1/control/cond`,
8576
- method: "POST",
8577
- body: data,
8578
- secure: true,
8579
- type: "application/json",
8580
- format: "json",
8581
- ...params
8582
- });
8583
- /**
8584
- * No description
8585
- *
8586
- * @tags control
8587
- * @name ControlCut
8588
- * @summary Execute cut POST /api/v1/control/cut
8589
- * @request POST:/api/v1/control/cut
8590
- * @secure
8591
- */
8592
- controlCut = (data, params = {}) => this.http.request({
8593
- path: `/api/v1/control/cut`,
8594
- method: "POST",
8595
- body: data,
8596
- secure: true,
8597
- type: "application/json",
8598
- format: "json",
8599
- ...params
8600
- });
8601
- /**
8602
- * No description
8603
- *
8604
- * @tags control
8605
- * @name ControlFindall
8606
- * @summary Collect all solutions (findall) POST /api/v1/control/findall
8607
- * @request POST:/api/v1/control/findall
8608
- * @secure
8609
- */
8610
- controlFindall = (data, params = {}) => this.http.request({
8611
- path: `/api/v1/control/findall`,
8612
- method: "POST",
8613
- body: data,
8614
- secure: true,
8615
- type: "application/json",
8616
- format: "json",
8617
- ...params
8618
- });
8619
- /**
8620
- * No description
8621
- *
8622
- * @tags control
8623
- * @name ControlForall
8624
- * @summary Universal quantification (forall) POST /api/v1/control/forall
8625
- * @request POST:/api/v1/control/forall
8626
- * @secure
8627
- */
8628
- controlForall = (data, params = {}) => this.http.request({
8629
- path: `/api/v1/control/forall`,
8630
- method: "POST",
8631
- body: data,
8632
- secure: true,
8633
- type: "application/json",
8634
- format: "json",
8635
- ...params
8636
- });
8637
- /**
8638
- * No description
8639
- *
8640
- * @tags control
8641
- * @name ControlImplies
8642
- * @summary Evaluate implication (A -> B) POST /api/v1/control/implies
8643
- * @request POST:/api/v1/control/implies
8644
- * @secure
8645
- */
8646
- controlImplies = (data, params = {}) => this.http.request({
8647
- path: `/api/v1/control/implies`,
8648
- method: "POST",
8649
- body: data,
8650
- secure: true,
8651
- type: "application/json",
8652
- format: "json",
8653
- ...params
8654
- });
8655
- /**
8656
- * No description
8657
- *
8658
- * @tags control
8659
- * @name ControlNaf
8660
- * @summary Negation as failure POST /api/v1/control/naf
8661
- * @request POST:/api/v1/control/naf
8662
- * @secure
8663
- */
8664
- controlNaf = (data, params = {}) => this.http.request({
8665
- path: `/api/v1/control/naf`,
8666
- method: "POST",
8667
- body: data,
8668
- secure: true,
8669
- type: "application/json",
8670
- format: "json",
8671
- ...params
8672
- });
8673
- /**
8674
- * No description
8675
- *
8676
- * @tags control
8677
- * @name ControlUndo
8678
- * @summary Register undo action POST /api/v1/control/undo
8679
- * @request POST:/api/v1/control/undo
8680
- * @secure
8681
- */
8682
- controlUndo = (data, params = {}) => this.http.request({
8683
- path: `/api/v1/control/undo`,
8684
- method: "POST",
8685
- body: data,
8686
- secure: true,
8687
- type: "application/json",
8688
- format: "json",
8689
- ...params
8690
- });
8691
9021
  /**
8692
9022
  * No description
8693
9023
  *
@@ -8706,48 +9036,12 @@ var Control = class {
8706
9036
  format: "json",
8707
9037
  ...params
8708
9038
  });
8709
- /**
8710
- * No description
8711
- *
8712
- * @tags control
8713
- * @name GlobalGet
8714
- * @summary Get global variable POST /api/v1/control/global/get
8715
- * @request POST:/api/v1/control/global/get
8716
- * @secure
8717
- */
8718
- globalGet = (data, params = {}) => this.http.request({
8719
- path: `/api/v1/control/global/get`,
8720
- method: "POST",
8721
- body: data,
8722
- secure: true,
8723
- type: "application/json",
8724
- format: "json",
8725
- ...params
8726
- });
8727
- /**
8728
- * No description
8729
- *
8730
- * @tags control
8731
- * @name GlobalIncrement
8732
- * @summary Global increment POST /api/v1/control/global/incr
8733
- * @request POST:/api/v1/control/global/incr
8734
- * @secure
8735
- */
8736
- globalIncrement = (data, params = {}) => this.http.request({
8737
- path: `/api/v1/control/global/incr`,
8738
- method: "POST",
8739
- body: data,
8740
- secure: true,
8741
- type: "application/json",
8742
- format: "json",
8743
- ...params
8744
- });
8745
9039
  /**
8746
9040
  * No description
8747
9041
  *
8748
9042
  * @tags control
8749
9043
  * @name ImportModule
8750
- * @summary Import a module POST /api/v1/modules/import
9044
+ * @summary Import one module into another POST /api/v1/modules/import
8751
9045
  * @request POST:/api/v1/modules/import
8752
9046
  * @secure
8753
9047
  */
@@ -8765,7 +9059,7 @@ var Control = class {
8765
9059
  *
8766
9060
  * @tags control
8767
9061
  * @name ListSymbols
8768
- * @summary List module symbols POST /api/v1/modules/:name/symbols/list
9062
+ * @summary List a module's symbols, or every symbol visible from it POST /api/v1/modules/symbols/list
8769
9063
  * @request POST:/api/v1/modules/symbols/list
8770
9064
  * @secure
8771
9065
  */
@@ -8783,7 +9077,7 @@ var Control = class {
8783
9077
  *
8784
9078
  * @tags control
8785
9079
  * @name ResolveSymbol
8786
- * @summary Resolve qualified symbol name POST /api/v1/modules/resolve
9080
+ * @summary Resolve a qualified symbol (`module#symbol`) POST /api/v1/modules/resolve
8787
9081
  * @request POST:/api/v1/modules/resolve
8788
9082
  * @secure
8789
9083
  */
@@ -9395,11 +9689,11 @@ var Analysis = class {
9395
9689
  ...params
9396
9690
  });
9397
9691
  /**
9398
- * @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.
9692
+ * @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.
9399
9693
  *
9400
9694
  * @tags analysis
9401
9695
  * @name CompleteExploration
9402
- * @summary Complete the exploration and register appropriateness sorts for its basis.
9696
+ * @summary Complete an exploration and publish its accepted implications as scoped native rules.
9403
9697
  * @request POST:/api/v1/analysis/attribute-exploration/{session_id}/complete
9404
9698
  */
9405
9699
  completeExploration = (sessionId, params = {}) => this.http.request({
@@ -9424,6 +9718,24 @@ var Analysis = class {
9424
9718
  format: "json",
9425
9719
  ...params
9426
9720
  });
9721
+ /**
9722
+ * No description
9723
+ *
9724
+ * @tags analysis
9725
+ * @name DetectAnomalies
9726
+ * @summary Flag the points of a series that leave its running baseline.
9727
+ * @request POST:/api/v1/analysis/anomalies
9728
+ * @secure
9729
+ */
9730
+ detectAnomalies = (data, params = {}) => this.http.request({
9731
+ path: `/api/v1/analysis/anomalies`,
9732
+ method: "POST",
9733
+ body: data,
9734
+ secure: true,
9735
+ type: "application/json",
9736
+ format: "json",
9737
+ ...params
9738
+ });
9427
9739
  /**
9428
9740
  * No description
9429
9741
  *
@@ -9439,6 +9751,24 @@ var Analysis = class {
9439
9751
  format: "json",
9440
9752
  ...params
9441
9753
  });
9754
+ /**
9755
+ * @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).
9756
+ *
9757
+ * @tags analysis
9758
+ * @name ExplainWithShapley
9759
+ * @summary Attribute a least-squares model's prediction to its features.
9760
+ * @request POST:/api/v1/analysis/shapley
9761
+ * @secure
9762
+ */
9763
+ explainWithShapley = (data, params = {}) => this.http.request({
9764
+ path: `/api/v1/analysis/shapley`,
9765
+ method: "POST",
9766
+ body: data,
9767
+ secure: true,
9768
+ type: "application/json",
9769
+ format: "json",
9770
+ ...params
9771
+ });
9442
9772
  /**
9443
9773
  * @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).
9444
9774
  *
@@ -9468,6 +9798,24 @@ var Analysis = class {
9468
9798
  format: "json",
9469
9799
  ...params
9470
9800
  });
9801
+ /**
9802
+ * @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.
9803
+ *
9804
+ * @tags analysis
9805
+ * @name ForecastSeries
9806
+ * @summary Forecast a series by exponential smoothing.
9807
+ * @request POST:/api/v1/analysis/forecast
9808
+ * @secure
9809
+ */
9810
+ forecastSeries = (data, params = {}) => this.http.request({
9811
+ path: `/api/v1/analysis/forecast`,
9812
+ method: "POST",
9813
+ body: data,
9814
+ secure: true,
9815
+ type: "application/json",
9816
+ format: "json",
9817
+ ...params
9818
+ });
9471
9819
  /**
9472
9820
  * No description
9473
9821
  *
@@ -9484,6 +9832,19 @@ var Analysis = class {
9484
9832
  format: "json",
9485
9833
  ...params
9486
9834
  });
9835
+ /**
9836
+ * No description
9837
+ *
9838
+ * @tags analysis
9839
+ * @name InviteParticipant
9840
+ * @summary Only the creator may explicitly invite a participant.
9841
+ * @request PUT:/api/v1/analysis/attribute-exploration/{session_id}/participants/{participant_id}
9842
+ */
9843
+ inviteParticipant = (sessionId, participantId, params = {}) => this.http.request({
9844
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/participants/${participantId}`,
9845
+ method: "PUT",
9846
+ ...params
9847
+ });
9487
9848
  /**
9488
9849
  * @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.
9489
9850
  *
@@ -9500,6 +9861,22 @@ var Analysis = class {
9500
9861
  format: "json",
9501
9862
  ...params
9502
9863
  });
9864
+ /**
9865
+ * @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.
9866
+ *
9867
+ * @tags analysis
9868
+ * @name LicenseExplorationSort
9869
+ * @summary Extend a completed exploration's confirmed implications to every term of a sort.
9870
+ * @request POST:/api/v1/analysis/attribute-exploration/{session_id}/licences
9871
+ */
9872
+ licenseExplorationSort = (sessionId, data, params = {}) => this.http.request({
9873
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/licences`,
9874
+ method: "POST",
9875
+ body: data,
9876
+ type: "application/json",
9877
+ format: "json",
9878
+ ...params
9879
+ });
9503
9880
  /**
9504
9881
  * @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.
9505
9882
  *
@@ -9595,6 +9972,19 @@ var Analysis = class {
9595
9972
  format: "json",
9596
9973
  ...params
9597
9974
  });
9975
+ /**
9976
+ * No description
9977
+ *
9978
+ * @tags analysis
9979
+ * @name RevokeParticipant
9980
+ * @summary Only the creator may explicitly revoke a participant.
9981
+ * @request DELETE:/api/v1/analysis/attribute-exploration/{session_id}/participants/{participant_id}
9982
+ */
9983
+ revokeParticipant = (sessionId, participantId, params = {}) => this.http.request({
9984
+ path: `/api/v1/analysis/attribute-exploration/${sessionId}/participants/${participantId}`,
9985
+ method: "DELETE",
9986
+ ...params
9987
+ });
9598
9988
  /**
9599
9989
  * @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.
9600
9990
  *
@@ -10666,7 +11056,7 @@ var Admin = class {
10666
11056
  ...params
10667
11057
  });
10668
11058
  /**
10669
- * @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.
11059
+ * @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.
10670
11060
  *
10671
11061
  * @tags admin
10672
11062
  * @name CreateTenant
@@ -11617,6 +12007,24 @@ var Compliance = class {
11617
12007
  format: "json",
11618
12008
  ...params
11619
12009
  });
12010
+ /**
12011
+ * No description
12012
+ *
12013
+ * @tags compliance
12014
+ * @name CompleteDsr
12015
+ * @summary Complete a data subject request
12016
+ * @request POST:/api/v1/dsr/{id}/complete
12017
+ * @secure
12018
+ */
12019
+ completeDsr = (id, data, params = {}) => this.http.request({
12020
+ path: `/api/v1/dsr/${id}/complete`,
12021
+ method: "POST",
12022
+ body: data,
12023
+ secure: true,
12024
+ type: "application/json",
12025
+ format: "json",
12026
+ ...params
12027
+ });
11620
12028
  /**
11621
12029
  * No description
11622
12030
  *
@@ -11635,6 +12043,24 @@ var Compliance = class {
11635
12043
  format: "json",
11636
12044
  ...params
11637
12045
  });
12046
+ /**
12047
+ * No description
12048
+ *
12049
+ * @tags compliance
12050
+ * @name DenyDsr
12051
+ * @summary Deny a data subject request
12052
+ * @request POST:/api/v1/dsr/{id}/deny
12053
+ * @secure
12054
+ */
12055
+ denyDsr = (id, data, params = {}) => this.http.request({
12056
+ path: `/api/v1/dsr/${id}/deny`,
12057
+ method: "POST",
12058
+ body: data,
12059
+ secure: true,
12060
+ type: "application/json",
12061
+ format: "json",
12062
+ ...params
12063
+ });
11638
12064
  /**
11639
12065
  * @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.
11640
12066
  *
@@ -11653,6 +12079,58 @@ var Compliance = class {
11653
12079
  format: "json",
11654
12080
  ...params
11655
12081
  });
12082
+ /**
12083
+ * @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.
12084
+ *
12085
+ * @tags compliance
12086
+ * @name Export
12087
+ * @summary Export the compliance ledger as JSON Lines or CEF
12088
+ * @request GET:/api/v1/compliance/audit/export
12089
+ * @secure
12090
+ */
12091
+ export = (query, params = {}) => this.http.request({
12092
+ path: `/api/v1/compliance/audit/export`,
12093
+ method: "GET",
12094
+ query,
12095
+ secure: true,
12096
+ ...params
12097
+ });
12098
+ /**
12099
+ * No description
12100
+ *
12101
+ * @tags compliance
12102
+ * @name ExportDsr
12103
+ * @summary Answer an access or portability request with the subject's data
12104
+ * @request POST:/api/v1/dsr/{id}/export
12105
+ * @secure
12106
+ */
12107
+ exportDsr = (id, data, params = {}) => this.http.request({
12108
+ path: `/api/v1/dsr/${id}/export`,
12109
+ method: "POST",
12110
+ body: data,
12111
+ secure: true,
12112
+ type: "application/json",
12113
+ format: "json",
12114
+ ...params
12115
+ });
12116
+ /**
12117
+ * No description
12118
+ *
12119
+ * @tags compliance
12120
+ * @name ExtendDsr
12121
+ * @summary Extend a data subject request's deadline
12122
+ * @request POST:/api/v1/dsr/{id}/extend
12123
+ * @secure
12124
+ */
12125
+ extendDsr = (id, data, params = {}) => this.http.request({
12126
+ path: `/api/v1/dsr/${id}/extend`,
12127
+ method: "POST",
12128
+ body: data,
12129
+ secure: true,
12130
+ type: "application/json",
12131
+ format: "json",
12132
+ ...params
12133
+ });
11656
12134
  /**
11657
12135
  * @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.
11658
12136
  *
@@ -11669,6 +12147,22 @@ var Compliance = class {
11669
12147
  format: "json",
11670
12148
  ...params
11671
12149
  });
12150
+ /**
12151
+ * No description
12152
+ *
12153
+ * @tags compliance
12154
+ * @name GetAuditRetention
12155
+ * @summary Read the tenant's retention policy.
12156
+ * @request GET:/api/v1/compliance/audit/retention
12157
+ * @secure
12158
+ */
12159
+ getAuditRetention = (params = {}) => this.http.request({
12160
+ path: `/api/v1/compliance/audit/retention`,
12161
+ method: "GET",
12162
+ secure: true,
12163
+ format: "json",
12164
+ ...params
12165
+ });
11672
12166
  /**
11673
12167
  * No description
11674
12168
  *
@@ -11759,13 +12253,32 @@ var Compliance = class {
11759
12253
  * @request GET:/api/v1/dsr
11760
12254
  * @secure
11761
12255
  */
11762
- listDsr = (params = {}) => this.http.request({
12256
+ listDsr = (query, params = {}) => this.http.request({
11763
12257
  path: `/api/v1/dsr`,
11764
12258
  method: "GET",
12259
+ query,
11765
12260
  secure: true,
11766
12261
  format: "json",
11767
12262
  ...params
11768
12263
  });
12264
+ /**
12265
+ * @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.
12266
+ *
12267
+ * @tags compliance
12268
+ * @name PurgeAuditLedger
12269
+ * @summary Remove the oldest audit records the retention policy and the causal structure allow.
12270
+ * @request POST:/api/v1/compliance/audit/purge
12271
+ * @secure
12272
+ */
12273
+ purgeAuditLedger = (data, params = {}) => this.http.request({
12274
+ path: `/api/v1/compliance/audit/purge`,
12275
+ method: "POST",
12276
+ body: data,
12277
+ secure: true,
12278
+ type: "application/json",
12279
+ format: "json",
12280
+ ...params
12281
+ });
11769
12282
  /**
11770
12283
  * @description Who delegated to whom: every scope with its parent, depth, opener, seal and commitment — the question the causal channel alone cannot answer.
11771
12284
  *
@@ -11782,6 +12295,24 @@ var Compliance = class {
11782
12295
  format: "json",
11783
12296
  ...params
11784
12297
  });
12298
+ /**
12299
+ * No description
12300
+ *
12301
+ * @tags compliance
12302
+ * @name SetAuditRetention
12303
+ * @summary Set the tenant's retention policy.
12304
+ * @request PUT:/api/v1/compliance/audit/retention
12305
+ * @secure
12306
+ */
12307
+ setAuditRetention = (data, params = {}) => this.http.request({
12308
+ path: `/api/v1/compliance/audit/retention`,
12309
+ method: "PUT",
12310
+ body: data,
12311
+ secure: true,
12312
+ type: "application/json",
12313
+ format: "json",
12314
+ ...params
12315
+ });
11785
12316
  /**
11786
12317
  * No description
11787
12318
  *
@@ -11798,6 +12329,24 @@ var Compliance = class {
11798
12329
  format: "json",
11799
12330
  ...params
11800
12331
  });
12332
+ /**
12333
+ * No description
12334
+ *
12335
+ * @tags compliance
12336
+ * @name ValidateSnapshot
12337
+ * @summary Validate a snapshot against the ground truth the caller supplies.
12338
+ * @request POST:/api/v1/predictions/snapshot/{id}/validate
12339
+ * @secure
12340
+ */
12341
+ validateSnapshot = (id, data, params = {}) => this.http.request({
12342
+ path: `/api/v1/predictions/snapshot/${id}/validate`,
12343
+ method: "POST",
12344
+ body: data,
12345
+ secure: true,
12346
+ type: "application/json",
12347
+ format: "json",
12348
+ ...params
12349
+ });
11801
12350
  /**
11802
12351
  * @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.
11803
12352
  *
@@ -11830,6 +12379,24 @@ var Compliance = class {
11830
12379
  format: "json",
11831
12380
  ...params
11832
12381
  });
12382
+ /**
12383
+ * No description
12384
+ *
12385
+ * @tags compliance
12386
+ * @name VerifyDsr
12387
+ * @summary Verify a data subject's identity
12388
+ * @request POST:/api/v1/dsr/{id}/verify
12389
+ * @secure
12390
+ */
12391
+ verifyDsr = (id, data, params = {}) => this.http.request({
12392
+ path: `/api/v1/dsr/${id}/verify`,
12393
+ method: "POST",
12394
+ body: data,
12395
+ secure: true,
12396
+ type: "application/json",
12397
+ format: "json",
12398
+ ...params
12399
+ });
11833
12400
  };
11834
12401
 
11835
12402
  // src/api-spec/generated/Snapshots.ts
@@ -12072,7 +12639,7 @@ var Subscriptions = class {
12072
12639
  this.http = http;
12073
12640
  }
12074
12641
  /**
12075
- * @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.
12642
+ * @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.
12076
12643
  *
12077
12644
  * @tags subscriptions
12078
12645
  * @name CreateSubscription
@@ -12104,6 +12671,23 @@ var Subscriptions = class {
12104
12671
  secure: true,
12105
12672
  ...params
12106
12673
  });
12674
+ /**
12675
+ * @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.
12676
+ *
12677
+ * @tags subscriptions
12678
+ * @name ListSubscriptionDeliveries
12679
+ * @summary List a subscription's deliveries.
12680
+ * @request GET:/api/v1/subscriptions/{id}/deliveries
12681
+ * @secure
12682
+ */
12683
+ listSubscriptionDeliveries = (id, query, params = {}) => this.http.request({
12684
+ path: `/api/v1/subscriptions/${id}/deliveries`,
12685
+ method: "GET",
12686
+ query,
12687
+ secure: true,
12688
+ format: "json",
12689
+ ...params
12690
+ });
12107
12691
  /**
12108
12692
  * @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.
12109
12693
  *
@@ -12120,6 +12704,22 @@ var Subscriptions = class {
12120
12704
  format: "json",
12121
12705
  ...params
12122
12706
  });
12707
+ /**
12708
+ * @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.
12709
+ *
12710
+ * @tags subscriptions
12711
+ * @name RedriveSubscriptionDelivery
12712
+ * @summary Put a dead letter back in line.
12713
+ * @request POST:/api/v1/subscriptions/{id}/deliveries/{delivery_id}/redrive
12714
+ * @secure
12715
+ */
12716
+ redriveSubscriptionDelivery = (id, deliveryId, params = {}) => this.http.request({
12717
+ path: `/api/v1/subscriptions/${id}/deliveries/${deliveryId}/redrive`,
12718
+ method: "POST",
12719
+ secure: true,
12720
+ format: "json",
12721
+ ...params
12722
+ });
12123
12723
  /**
12124
12724
  * @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.
12125
12725
  *
@@ -13320,6 +13920,23 @@ var Documents = class {
13320
13920
  format: "json",
13321
13921
  ...params
13322
13922
  });
13923
+ /**
13924
+ * @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 `?`.
13925
+ *
13926
+ * @tags documents
13927
+ * @name ExportDocument
13928
+ * @summary Render a Markdown document as DOCX or PDF.
13929
+ * @request POST:/api/v1/documents/export
13930
+ * @secure
13931
+ */
13932
+ exportDocument = (data, params = {}) => this.http.request({
13933
+ path: `/api/v1/documents/export`,
13934
+ method: "POST",
13935
+ body: data,
13936
+ secure: true,
13937
+ type: "application/json",
13938
+ ...params
13939
+ });
13323
13940
  /**
13324
13941
  * No description
13325
13942
  *
@@ -13935,6 +14552,22 @@ var Sat = class {
13935
14552
  constructor(http) {
13936
14553
  this.http = http;
13937
14554
  }
14555
+ /**
14556
+ * No description
14557
+ *
14558
+ * @tags sat
14559
+ * @name SolveMaxsat
14560
+ * @summary Solve a weighted partial MaxSAT instance.
14561
+ * @request POST:/api/v1/sat/maxsat
14562
+ */
14563
+ solveMaxsat = (data, params = {}) => this.http.request({
14564
+ path: `/api/v1/sat/maxsat`,
14565
+ method: "POST",
14566
+ body: data,
14567
+ type: "application/json",
14568
+ format: "json",
14569
+ ...params
14570
+ });
13938
14571
  /**
13939
14572
  * @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.
13940
14573
  *
@@ -15328,6 +15961,24 @@ var Channels = class {
15328
15961
  format: "json",
15329
15962
  ...params
15330
15963
  });
15964
+ /**
15965
+ * @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.
15966
+ *
15967
+ * @tags channels
15968
+ * @name RegisterChannelAdapter
15969
+ * @summary Register a channel adapter for the tenant.
15970
+ * @request POST:/api/v1/channels/adapters
15971
+ * @secure
15972
+ */
15973
+ registerChannelAdapter = (data, params = {}) => this.http.request({
15974
+ path: `/api/v1/channels/adapters`,
15975
+ method: "POST",
15976
+ body: data,
15977
+ secure: true,
15978
+ type: "application/json",
15979
+ format: "json",
15980
+ ...params
15981
+ });
15331
15982
  /**
15332
15983
  * @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.
15333
15984
  *
@@ -15347,7 +15998,7 @@ var Channels = class {
15347
15998
  ...params
15348
15999
  });
15349
16000
  /**
15350
- * @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.
16001
+ * @description POST /api/v1/channels/messages
15351
16002
  *
15352
16003
  * @tags channels
15353
16004
  * @name SendChannelMessage
@@ -15365,7 +16016,7 @@ var Channels = class {
15365
16016
  ...params
15366
16017
  });
15367
16018
  /**
15368
- * @description POST /api/v1/channels/typing Same `block_in_place` bridge as `send_message` — see its doc comment.
16019
+ * @description POST /api/v1/channels/typing
15369
16020
  *
15370
16021
  * @tags channels
15371
16022
  * @name SendChannelTyping
@@ -15382,6 +16033,21 @@ var Channels = class {
15382
16033
  format: "json",
15383
16034
  ...params
15384
16035
  });
16036
+ /**
16037
+ * No description
16038
+ *
16039
+ * @tags channels
16040
+ * @name UnregisterChannelAdapter
16041
+ * @summary Remove an adapter the tenant registered.
16042
+ * @request DELETE:/api/v1/channels/adapters/{name}
16043
+ * @secure
16044
+ */
16045
+ unregisterChannelAdapter = (name, params = {}) => this.http.request({
16046
+ path: `/api/v1/channels/adapters/${name}`,
16047
+ method: "DELETE",
16048
+ secure: true,
16049
+ ...params
16050
+ });
15385
16051
  };
15386
16052
 
15387
16053
  // src/api-spec/generated/Platform.ts
@@ -15554,6 +16220,42 @@ var Platform = class {
15554
16220
  format: "json",
15555
16221
  ...params
15556
16222
  });
16223
+ /**
16224
+ * @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.
16225
+ *
16226
+ * @tags platform
16227
+ * @name PutAgentIdentity
16228
+ * @summary Write an agent identity
16229
+ * @request PUT:/api/v1/identities/{agent_id}
16230
+ * @secure
16231
+ */
16232
+ putAgentIdentity = (agentId, data, params = {}) => this.http.request({
16233
+ path: `/api/v1/identities/${agentId}`,
16234
+ method: "PUT",
16235
+ body: data,
16236
+ secure: true,
16237
+ type: "application/json",
16238
+ format: "json",
16239
+ ...params
16240
+ });
16241
+ /**
16242
+ * @description POST /api/v1/skills
16243
+ *
16244
+ * @tags platform
16245
+ * @name RegisterSkill
16246
+ * @summary Register a skill
16247
+ * @request POST:/api/v1/skills
16248
+ * @secure
16249
+ */
16250
+ registerSkill = (data, params = {}) => this.http.request({
16251
+ path: `/api/v1/skills`,
16252
+ method: "POST",
16253
+ body: data,
16254
+ secure: true,
16255
+ type: "application/json",
16256
+ format: "json",
16257
+ ...params
16258
+ });
15557
16259
  /**
15558
16260
  * @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.
15559
16261
  *
@@ -17455,7 +18157,7 @@ var RESPONSE_COMPONENTS = {
17455
18157
  }
17456
18158
  },
17457
18159
  ActiveReleaseDto: { object: { active_revision: [1, 0] } },
17458
- AdapterInfoDto: { object: { name: [1, 0], platform: [1, 0], status: [1, 0] } },
18160
+ AdapterInfoDto: { object: { name: [1, 0], owned: [1, 0], platform: [1, 0], status: [1, 0] } },
17459
18161
  AdaptiveModifyResponse: { object: { message: [1, 0], success: [1, 0] } },
17460
18162
  AddBeliefResponse: { object: { belief_id: [1, 0], message: [1, 0] } },
17461
18163
  AddCausalRelationResponse: { object: { message: [1, 0], rule_id: [1, 0], success: [1, 0] } },
@@ -17497,6 +18199,15 @@ var RESPONSE_COMPONENTS = {
17497
18199
  term_id: [1, 0]
17498
18200
  }
17499
18201
  },
18202
+ AgentBundle: {
18203
+ object: {
18204
+ beliefs: [0, { array: "BundleBelief" }],
18205
+ config: [0, "AgentConfigDto"],
18206
+ format: [1, 0],
18207
+ goals: [0, { array: "BundleGoal" }]
18208
+ }
18209
+ },
18210
+ AgentConfigDto: { object: {} },
17500
18211
  AgentContext: {
17501
18212
  object: {
17502
18213
  domain_expertise: [1, { array: 0 }],
@@ -17564,6 +18275,21 @@ var RESPONSE_COMPONENTS = {
17564
18275
  AgentRecallAsOfResponse: {
17565
18276
  object: { as_of_ts: [1, 0], count: [1, 0], episode_ids: [1, { array: 0 }] }
17566
18277
  },
18278
+ AgentRun: {
18279
+ object: {
18280
+ actions_executed: [1, 0],
18281
+ agent_id: [1, 0],
18282
+ duration_ms: [1, 0],
18283
+ finished_at: [1, 0],
18284
+ goals_achieved: [1, 0],
18285
+ goals_failed: [1, 0],
18286
+ kind: [1, 0],
18287
+ run_id: [1, 0],
18288
+ started_at: [1, 0],
18289
+ status: [1, 0]
18290
+ }
18291
+ },
18292
+ AgentRunsResponse: { object: { agent_id: [1, 0], runs: [1, { array: "AgentRun" }] } },
17567
18293
  AgentStateDto: {
17568
18294
  object: {
17569
18295
  agent_id: [1, 0],
@@ -17621,6 +18347,15 @@ var RESPONSE_COMPONENTS = {
17621
18347
  }
17622
18348
  },
17623
18349
  AmbiguousLabelDto: { object: { concepts: [1, { array: 0 }], label: [1, 0] } },
18350
+ AnomalyDto: { object: { index: [1, 0], score: [1, 0], value: [1, 0] } },
18351
+ AnomalyResponse: {
18352
+ object: {
18353
+ anomalies: [1, { array: "AnomalyDto" }],
18354
+ method: [1, 0],
18355
+ scored: [1, 0],
18356
+ threshold: [1, 0]
18357
+ }
18358
+ },
17624
18359
  AnonymizeResponse: {
17625
18360
  object: {
17626
18361
  k_anonymity_result: [2, { object: {} }],
@@ -17865,6 +18600,15 @@ var RESPONSE_COMPONENTS = {
17865
18600
  warnings: [0, { array: 0 }]
17866
18601
  }
17867
18602
  },
18603
+ AuditAnchor: {
18604
+ object: {
18605
+ base_hash: [1, 0],
18606
+ purge_record_id: [1, 0],
18607
+ purged_count: [1, 0],
18608
+ purged_through: [1, 0],
18609
+ purged_through_at: [1, 0]
18610
+ }
18611
+ },
17868
18612
  AuditEntryDto: {
17869
18613
  object: {
17870
18614
  action: [1, 0],
@@ -17946,12 +18690,13 @@ var RESPONSE_COMPONENTS = {
17946
18690
  BacktrackTermStoreResponse: {
17947
18691
  object: { current_trail_length: [1, 0], success: [1, 0], undone_entries: [1, 0] }
17948
18692
  },
17949
- BacktrackableAssignResponse: {
17950
- object: { feature_name: [1, 0], term_id: [1, 0], trail_entry_added: [1, 0] }
17951
- },
17952
18693
  BackupResponse: { object: { created_at: [1, 0], id: [1, 0], name: [1, 0], status: [1, 0] } },
17953
18694
  BackwardChainResponse: {
17954
- object: { query_time_ms: [1, 0], solutions: [1, { array: "SolutionDto" }] }
18695
+ object: {
18696
+ query_time_ms: [1, 0],
18697
+ solutions: [1, { array: "SolutionDto" }],
18698
+ why_not: [2, "WhyNotDto"]
18699
+ }
17955
18700
  },
17956
18701
  BaselineDto: { object: { snapshot_hash: [1, 0], stale: [1, 0] } },
17957
18702
  BatchCopyResponse: { object: { copies: [1, { array: "CopyResultDto" }] } },
@@ -18149,6 +18894,10 @@ var RESPONSE_COMPONENTS = {
18149
18894
  BulkRowRefusalDto: { object: { index: [1, 0], message: [1, 0] } },
18150
18895
  BulkSetSimilaritiesResponse: { object: { errors: [0, { array: 0 }], set_count: [1, 0] } },
18151
18896
  BulkSortError: { object: { error: [1, 0], kind: [1, 0], name: [1, 0], sort_created: [1, 0] } },
18897
+ BundleBelief: {
18898
+ object: { confidence: [1, 0], features: [0, { object: {} }], sort: [1, 0], source: [1, 0] }
18899
+ },
18900
+ BundleGoal: { object: { features: [0, { object: {} }], sort: [1, 0] } },
18152
18901
  CalibrationReportDto: {
18153
18902
  object: {
18154
18903
  augmentation_targets: [1, { array: "AugmentationTargetDto" }],
@@ -18158,7 +18907,6 @@ var RESPONSE_COMPONENTS = {
18158
18907
  total_predictions: [1, 0]
18159
18908
  }
18160
18909
  },
18161
- CallOnceResponse: { object: { choice_points_cut: [1, 0], success: [1, 0] } },
18162
18910
  CancelDocumentResponse: { object: { cancelled: [1, 0], message: [1, 0] } },
18163
18911
  CandidateCellDto: { object: { members: [1, 0], value: [1, 0] } },
18164
18912
  CandidateDetailResponse: {
@@ -18235,6 +18983,72 @@ var RESPONSE_COMPONENTS = {
18235
18983
  }
18236
18984
  },
18237
18985
  CatalogPageDto: { object: { items: [1, { array: "PluginSummaryDto" }], total: [1, 0] } },
18986
+ CateAtDto: { object: { features: [1, { array: 0 }], tau: [1, 0] } },
18987
+ CateResponse: {
18988
+ object: { coverage: [1, 0], effects: [1, { array: "CateAtDto" }], method: [1, 0] }
18989
+ },
18990
+ CategoricalAnswer: {
18991
+ object: { finding: [1, 0], observation: [1, 0], pattern: [1, 0], present: [1, 0] }
18992
+ },
18993
+ CategoricalComponent: {
18994
+ object: {
18995
+ context_log_weight: [1, 0],
18996
+ contributions: [1, { array: "FactorContribution" }],
18997
+ group: [1, 0],
18998
+ head: [1, 0],
18999
+ name: [1, 0],
19000
+ non_probabilistic_annotations: [1, { array: 0 }],
19001
+ prior: [1, 0],
19002
+ prior_scale: [1, 0],
19003
+ probability: [1, 0],
19004
+ rule: [1, 0]
19005
+ }
19006
+ },
19007
+ CategoricalPolicy: {
19008
+ object: {
19009
+ asked: [0, { array: 0 }],
19010
+ observation_metadata: [0, { array: 0 }],
19011
+ time_window: [2, { array: 0 }]
19012
+ }
19013
+ },
19014
+ CategoricalQuestion: {
19015
+ object: { finding: [1, 0], information_bits: [1, 0], pattern: [1, 0], probability_yes: [1, 0] }
19016
+ },
19017
+ CategoricalRanking: {
19018
+ object: {
19019
+ alerts: [1, { array: 0 }],
19020
+ components: [1, { array: 0 }],
19021
+ name: [1, 0],
19022
+ probability: [1, 0],
19023
+ support_count: [1, 0]
19024
+ }
19025
+ },
19026
+ CategoricalResult: {
19027
+ object: {
19028
+ answers: [1, { array: "CategoricalAnswer" }],
19029
+ comparisons: [1, 0],
19030
+ completed: [1, 0],
19031
+ components: [1, { array: "CategoricalComponent" }],
19032
+ context_effects: [1, { array: "ContextEffect" }],
19033
+ decision_status: [1, 0],
19034
+ evaluation: [1, { object: {} }],
19035
+ excluded_observations: [1, { array: 0 }],
19036
+ goal: [1, 0],
19037
+ input_etags: [1, { object: {} }],
19038
+ leader_support: [1, 0],
19039
+ margin: [1, 0],
19040
+ policy: [1, "CategoricalPolicy"],
19041
+ present_count: [1, 0],
19042
+ questions: [1, { array: "CategoricalQuestion" }],
19043
+ ranking: [1, { array: "CategoricalRanking" }],
19044
+ redundant_observations: [1, { array: 0 }],
19045
+ retained_observations: [1, { array: 0 }],
19046
+ schema_digest: [1, 0],
19047
+ scope: [1, { object: {} }],
19048
+ semantics: [1, 0]
19049
+ }
19050
+ },
19051
+ CategoricalVerifyResponse: { object: { replay_matches: [1, 0], semantics: [1, 0] } },
18238
19052
  CategoryProbabilityDto: { object: { probability: [1, 0], value: [1, 0] } },
18239
19053
  CausalAncestorResponse: {
18240
19054
  object: { explanation: [1, 0], is_ancestor: [1, 0], path: [1, { array: 0 }] }
@@ -18305,6 +19119,13 @@ var RESPONSE_COMPONENTS = {
18305
19119
  sort: [1, 0]
18306
19120
  }
18307
19121
  },
19122
+ CensoringDiagnosticDto: {
19123
+ object: {
19124
+ censoring_survival_at_horizon: [1, 0],
19125
+ fraction_censored_before_horizon: [1, 0],
19126
+ max_weight: [1, 0]
19127
+ }
19128
+ },
18308
19129
  CentralityResponse: {
18309
19130
  object: {
18310
19131
  edge_count: [1, 0],
@@ -18345,6 +19166,8 @@ var RESPONSE_COMPONENTS = {
18345
19166
  circular: [1, 0],
18346
19167
  claims: [1, { array: "CertifiedClaimDto" }],
18347
19168
  concepts: [1, 0],
19169
+ concepts_complete: [1, 0],
19170
+ population_sampled: [1, 0],
18348
19171
  target_feature: [1, 0]
18349
19172
  }
18350
19173
  },
@@ -18763,6 +19586,7 @@ var RESPONSE_COMPONENTS = {
18763
19586
  assignments: [1, { array: "TermAssignmentDto" }],
18764
19587
  base_rate: [1, 0],
18765
19588
  below_support: [1, 0],
19589
+ coverage: [1, "MiningCoverageDto"],
18766
19590
  depth: [1, 0],
18767
19591
  evidence_status: [1, 0],
18768
19592
  examined: [1, 0],
@@ -18816,6 +19640,7 @@ var RESPONSE_COMPONENTS = {
18816
19640
  object: {
18817
19641
  base_rate: [1, 0],
18818
19642
  candidates: [1, { array: "ConceptRuleCandidateDto" }],
19643
+ coverage: [2, "MiningCoverageDto"],
18819
19644
  examined: [1, 0],
18820
19645
  input_complete: [1, 0],
18821
19646
  input_stop_reason: [1, 0],
@@ -18860,9 +19685,6 @@ var RESPONSE_COMPONENTS = {
18860
19685
  memberships: [1, { array: "MembershipViewDto" }]
18861
19686
  }
18862
19687
  },
18863
- CondResponse: {
18864
- object: { branch_executed: [1, 0], condition_succeeded: [1, 0], success: [1, 0] }
18865
- },
18866
19688
  ConditionalIndependenceResponse: { object: { explanation: [1, 0], independent: [1, 0] } },
18867
19689
  ConfigFieldDto: { object: { name: [1, 0], required: [1, 0], type: [1, 0] } },
18868
19690
  ConfigSectionResponse: { object: { description: [1, 0], entry_count: [1, 0], name: [1, 0] } },
@@ -19028,6 +19850,17 @@ var RESPONSE_COMPONENTS = {
19028
19850
  },
19029
19851
  ContentHashResponse: { object: { algorithm: [1, 0], hash: [1, 0] } },
19030
19852
  ContextComponentDto: { object: { id: [1, 0], kind: [1, 0], version: [1, 0] } },
19853
+ ContextEffect: {
19854
+ object: {
19855
+ applied: [1, 0],
19856
+ log_weight: [1, 0],
19857
+ rule: [1, 0],
19858
+ rule_certainty: [1, 0],
19859
+ status: [1, 0],
19860
+ target: [1, 0],
19861
+ witnesses: [1, { array: "ContextWitness" }]
19862
+ }
19863
+ },
19031
19864
  ContextManifestDto: {
19032
19865
  object: {
19033
19866
  components: [1, { array: "ContextComponentDto" }],
@@ -19048,6 +19881,7 @@ var RESPONSE_COMPONENTS = {
19048
19881
  state: [1, 0]
19049
19882
  }
19050
19883
  },
19884
+ ContextWitness: { object: { degree: [1, 0], premises: [1, { array: "ContextWitness" }] } },
19051
19885
  Contradiction: {
19052
19886
  object: {
19053
19887
  claim_a_id: [1, 0],
@@ -19078,7 +19912,8 @@ var RESPONSE_COMPONENTS = {
19078
19912
  dropped: [1, 0],
19079
19913
  facets: [1, { array: "FacetContrastDto" }],
19080
19914
  population_a: [1, 0],
19081
- population_b: [1, 0]
19915
+ population_b: [1, 0],
19916
+ population_sampled: [1, 0]
19082
19917
  }
19083
19918
  },
19084
19919
  ConversationAnswerFeedbackResponseDto: {
@@ -19257,7 +20092,7 @@ var RESPONSE_COMPONENTS = {
19257
20092
  should_curry: [1, 0]
19258
20093
  }
19259
20094
  },
19260
- CutResponse: { object: { choice_points_removed: [1, 0] } },
20095
+ CutStop: { object: { reason: [1, 0], record_id: [1, 0] } },
19261
20096
  CycleDto: {
19262
20097
  object: { edges: [1, { array: 0 }], is_problematic: [1, 0], nodes: [1, { array: 0 }] }
19263
20098
  },
@@ -19542,6 +20377,17 @@ var RESPONSE_COMPONENTS = {
19542
20377
  DirectionConstraintCheck: {
19543
20378
  object: { allowed: [1, 0], cause: [1, 0], effect: [1, 0], explanation: [1, 0] }
19544
20379
  },
20380
+ DiscontinuityResponse: {
20381
+ object: {
20382
+ bandwidth: [1, 0],
20383
+ ci_lower: [1, 0],
20384
+ ci_upper: [1, 0],
20385
+ effect: [1, 0],
20386
+ n_left: [1, 0],
20387
+ n_right: [1, 0],
20388
+ std_error: [1, 0]
20389
+ }
20390
+ },
19545
20391
  DiscoverCausalResponse: {
19546
20392
  object: {
19547
20393
  data_needed: [2, { array: "DataNeededDto" }],
@@ -19646,6 +20492,15 @@ var RESPONSE_COMPONENTS = {
19646
20492
  suggested_parents: [0, { array: 0 }]
19647
20493
  }
19648
20494
  },
20495
+ DiscoveryInterpretationDto: {
20496
+ object: {
20497
+ complete: [1, 0],
20498
+ kind: [1, 0],
20499
+ scaled_attribute_count: [1, 0],
20500
+ truncated: [1, 0],
20501
+ unscaled_value_count: [1, 0]
20502
+ }
20503
+ },
19649
20504
  DiscoveryProofNodeDto: {
19650
20505
  object: { depth: [1, 0], explanation: [1, 0], id: [1, 0], step_type: [1, 0] }
19651
20506
  },
@@ -19666,6 +20521,22 @@ var RESPONSE_COMPONENTS = {
19666
20521
  undirected_edge_count: [1, 0]
19667
20522
  }
19668
20523
  },
20524
+ DisentailmentBatchResponse: {
20525
+ object: {
20526
+ completed: [1, 0],
20527
+ computation_time_ms: [1, 0],
20528
+ results: [1, { array: "DisentailmentBatchResult" }]
20529
+ }
20530
+ },
20531
+ DisentailmentBatchResult: {
20532
+ object: {
20533
+ antecedent_degree: [1, 0],
20534
+ consequent_degree: [1, 0],
20535
+ id: [1, 0],
20536
+ violated: [1, 0],
20537
+ violation_degree: [1, 0]
20538
+ }
20539
+ },
19669
20540
  DisentailmentResponse: {
19670
20541
  object: {
19671
20542
  antecedent_degree: [1, 0],
@@ -19859,9 +20730,26 @@ var RESPONSE_COMPONENTS = {
19859
20730
  status: [1, 0]
19860
20731
  }
19861
20732
  },
20733
+ DocumentUpload: {
20734
+ object: {
20735
+ chunk_bytes: [1, 0],
20736
+ chunk_sha256: [1, { array: 0 }],
20737
+ created_at: [1, 0],
20738
+ id: [1, 0],
20739
+ name: [1, 0],
20740
+ owner_id: [1, 0],
20741
+ size: [1, 0],
20742
+ status: [1, 0],
20743
+ updated_at: [1, 0],
20744
+ uploaded_bytes: [1, 0]
20745
+ }
20746
+ },
20747
+ DocumentUploadChunkReceipt: { object: { sha256: [1, 0], uploaded_bytes: [1, 0] } },
20748
+ DocumentUploadsResponse: { object: { uploads: [1, { array: "DocumentUpload" }] } },
19862
20749
  DocumentVersionsResponse: {
19863
20750
  object: { family_id: [1, 0], versions: [1, { array: "DocumentDto" }] }
19864
20751
  },
20752
+ DonorWeightDto: { object: { name: [1, 0], weight: [1, 0] } },
19865
20753
  DoseResponseResponse: {
19866
20754
  object: {
19867
20755
  ci_lower: [1, 0],
@@ -19891,6 +20779,14 @@ var RESPONSE_COMPONENTS = {
19891
20779
  DriveDto: {
19892
20780
  object: { activation: [1, 0], baseline: [1, 0], decay_rate: [1, 0], drive_type: [1, 0] }
19893
20781
  },
20782
+ DsrExportResponse: {
20783
+ object: {
20784
+ content: [1, 0],
20785
+ format: [1, 0],
20786
+ record_count: [1, 0],
20787
+ request: [1, "DsrRecordResponse"]
20788
+ }
20789
+ },
19894
20790
  DsrRecordResponse: {
19895
20791
  object: {
19896
20792
  data_subject: [1, 0],
@@ -19996,6 +20892,7 @@ var RESPONSE_COMPONENTS = {
19996
20892
  specificity: [2, "SpecificityDto"]
19997
20893
  }
19998
20894
  },
20895
+ EmergencyStopStatus: { object: { engaged: [1, 0] } },
19999
20896
  EncodeClipResponse: {
20000
20897
  object: {
20001
20898
  clip_id: [1, 0],
@@ -20089,6 +20986,16 @@ var RESPONSE_COMPONENTS = {
20089
20986
  total_episodes: [1, 0]
20090
20987
  }
20091
20988
  },
20989
+ EpistemicEntriesResponse: { object: { entries: [1, { array: "EpistemicEntryDto" }] } },
20990
+ EpistemicEntryDto: {
20991
+ object: {
20992
+ evidence_notes: [1, { array: 0 }],
20993
+ evidence_terms: [1, { array: 0 }],
20994
+ id: [1, 0],
20995
+ status: [1, 0],
20996
+ subject: [1, 0]
20997
+ }
20998
+ },
20092
20999
  EpochMetricsDto: {
20093
21000
  object: { data_satisfaction: [1, 0], knowledge_satisfaction: [1, 0], total_loss: [1, 0] }
20094
21001
  },
@@ -20193,6 +21100,7 @@ var RESPONSE_COMPONENTS = {
20193
21100
  object: {
20194
21101
  counterexamples_added: [1, 0],
20195
21102
  implications: [1, { array: "ImplicationDto" }],
21103
+ publication: [2, "ExplorationPublicationDto"],
20196
21104
  rules_created: [1, 0],
20197
21105
  total_implications: [1, 0]
20198
21106
  }
@@ -20205,6 +21113,16 @@ var RESPONSE_COMPONENTS = {
20205
21113
  is_complete: [1, 0]
20206
21114
  }
20207
21115
  },
21116
+ ExplorationPublicationDto: {
21117
+ object: {
21118
+ installed_rules: [1, { array: 0 }],
21119
+ licence_record: [1, 0],
21120
+ policy: [1, 0],
21121
+ population_record: [1, 0],
21122
+ scope_members: [1, 0],
21123
+ subject_sort_ids: [1, { array: 0 }]
21124
+ }
21125
+ },
20208
21126
  ExplorationQuestionDto: {
20209
21127
  object: {
20210
21128
  conclusion: [1, { array: 0 }],
@@ -20344,6 +21262,17 @@ var RESPONSE_COMPONENTS = {
20344
21262
  }
20345
21263
  },
20346
21264
  FactorChildrenDto: { object: { children: [1, { array: "ChildCandidateDto" }], factor: [1, 0] } },
21265
+ FactorContribution: {
21266
+ object: {
21267
+ background: [1, 0],
21268
+ finding: [1, 0],
21269
+ frequency: [1, 0],
21270
+ likelihood: [1, 0],
21271
+ membership: [1, 0],
21272
+ observation: [1, 0],
21273
+ present: [1, 0]
21274
+ }
21275
+ },
20347
21276
  FactorMemberSortDto: { object: { id: [1, 0], name: [1, 0] } },
20348
21277
  FactorProposalDto: {
20349
21278
  object: {
@@ -20368,6 +21297,25 @@ var RESPONSE_COMPONENTS = {
20368
21297
  }
20369
21298
  },
20370
21299
  FailedReviewDto: { object: { reason: [1, 0], review_id: [1, 0] } },
21300
+ FcaIngestionRecommendationDto: {
21301
+ object: {
21302
+ confidence: [1, 0],
21303
+ features: [1, { array: 0 }],
21304
+ sort_name: [1, 0],
21305
+ term_count: [1, 0]
21306
+ }
21307
+ },
21308
+ FcaIngestionReportDto: {
21309
+ object: {
21310
+ analysed_terms: [1, 0],
21311
+ concepts_enumerated: [1, 0],
21312
+ concepts_matching_existing: [1, 0],
21313
+ input_complete: [1, 0],
21314
+ recommendations: [1, { array: "FcaIngestionRecommendationDto" }],
21315
+ search_complete: [1, 0],
21316
+ stop_reason: [1, 0]
21317
+ }
21318
+ },
20371
21319
  FcaSearchSummaryDto: {
20372
21320
  object: {
20373
21321
  complete: [1, 0],
@@ -20391,7 +21339,6 @@ var RESPONSE_COMPONENTS = {
20391
21339
  FeatureRequirementDto: { object: { name: [1, 0] } },
20392
21340
  FindPlansResponse: { object: { count: [1, 0], plans: [1, { array: "PlanMatchDto" }] } },
20393
21341
  FindRulesResponse: { object: { matching_rules: [1, { array: "RuleDto" }] } },
20394
- FindallResponse: { object: { count: [1, 0], solutions: [1, { array: 0 }] } },
20395
21342
  FindingContextDto: {
20396
21343
  object: { related_record_ids: [1, { array: 0 }], roles: [1, { array: 0 }] }
20397
21344
  },
@@ -20405,7 +21352,6 @@ var RESPONSE_COMPONENTS = {
20405
21352
  FocusEntryDto: {
20406
21353
  object: { activation: [1, 0], rank: [1, 0], sort_name: [1, 0], term_id: [1, 0] }
20407
21354
  },
20408
- ForallResponse: { object: { result: [1, 0], solutions_tested: [1, 0] } },
20409
21355
  ForecastDomainDto: {
20410
21356
  object: {
20411
21357
  event_sort: [1, 0],
@@ -20543,6 +21489,7 @@ var RESPONSE_COMPONENTS = {
20543
21489
  FuzzyProveResponse: {
20544
21490
  object: {
20545
21491
  certificate: [0, { object: {} }],
21492
+ next_questions: [0, { array: "NextQuestionDto" }],
20546
21493
  query_time_ms: [1, 0],
20547
21494
  solutions: [1, { array: "SolutionDto" }]
20548
21495
  }
@@ -20608,7 +21555,8 @@ var RESPONSE_COMPONENTS = {
20608
21555
  candidates: [1, { array: "CandidateFacetDto" }],
20609
21556
  materialized: [2, "FacetDto"],
20610
21557
  parent: [1, 0],
20611
- population: [1, 0]
21558
+ population: [1, 0],
21559
+ population_sampled: [1, 0]
20612
21560
  }
20613
21561
  },
20614
21562
  GenerateNegativesResponse: {
@@ -20767,8 +21715,6 @@ var RESPONSE_COMPONENTS = {
20767
21715
  step: [1, 0]
20768
21716
  }
20769
21717
  },
20770
- GlobalAssignResponse: { object: { variable_name: [1, 0] } },
20771
- GlobalIncrementResponse: { object: { new_value: [1, 0], variable_name: [1, 0] } },
20772
21718
  GoalEvaluationResultDto: {
20773
21719
  object: {
20774
21720
  confidence: [1, 0],
@@ -21030,7 +21976,9 @@ var RESPONSE_COMPONENTS = {
21030
21976
  ImageSuggestedSortDto: { object: { features: [1, { array: 0 }], name: [1, 0] } },
21031
21977
  ImpasseDto: { object: { description: [1, 0], goal_id: [1, 0], type: [1, 0] } },
21032
21978
  ImplicationDto: { object: { conclusion: [1, { array: 0 }], premise: [1, { array: 0 }] } },
21033
- ImpliesResponse: { object: { antecedent_succeeded: [1, 0], result: [1, 0] } },
21979
+ ImportAgentResponse: {
21980
+ object: { agent_id: [1, 0], beliefs_imported: [1, 0], goals_imported: [1, 0], name: [1, 0] }
21981
+ },
21034
21982
  ImportAxiomsResponseDto: {
21035
21983
  object: {
21036
21984
  axioms: [1, 0],
@@ -21098,6 +22046,16 @@ var RESPONSE_COMPONENTS = {
21098
22046
  IncomingWebhookResponse: { object: { processed: [1, 0] } },
21099
22047
  IncompleteDocumentDto: { object: { document_id: [1, 0], resume_from_chunk: [1, 0] } },
21100
22048
  IndexSortsResponse: { object: { elapsed_ms: [1, 0], indexed_count: [1, 0] } },
22049
+ InferenceJobDto: {
22050
+ object: {
22051
+ id: [1, 0],
22052
+ kind: [1, 0],
22053
+ result: [2, { object: {} }],
22054
+ status: [1, 0],
22055
+ submitted_at: [1, 0]
22056
+ }
22057
+ },
22058
+ InferenceJobsResponse: { object: { jobs: [1, { array: "InferenceJobDto" }] } },
21101
22059
  InfluenceDto: {
21102
22060
  object: {
21103
22061
  activating: [1, 0],
@@ -21252,6 +22210,7 @@ var RESPONSE_COMPONENTS = {
21252
22210
  entities_refused: [0, { array: "RefusedEntityDto" }],
21253
22211
  entity_merge_audit: [0, { array: "EntityMergeAuditDto" }],
21254
22212
  failed_chunks: [0, { array: "ChunkFailureDto" }],
22213
+ fca_discovery: [2, "FcaIngestionReportDto"],
21255
22214
  grounding_stats: [0, "GroundingStatsDto"],
21256
22215
  ontology_verifier: [0, "OntologyVerifierStatsDto"],
21257
22216
  pipeline_quality: [0, "PipelineQualityStatsDto"],
@@ -21381,6 +22340,7 @@ var RESPONSE_COMPONENTS = {
21381
22340
  exhausted: [1, 0],
21382
22341
  objects: [1, 0],
21383
22342
  patterns: [1, { array: "RegionPatternDto" }],
22343
+ population_sampled: [1, 0],
21384
22344
  skipped: [1, 0],
21385
22345
  specificity_bound: [1, 0],
21386
22346
  steps: [1, 0]
@@ -21474,6 +22434,19 @@ var RESPONSE_COMPONENTS = {
21474
22434
  scheme_id: [1, 0]
21475
22435
  }
21476
22436
  },
22437
+ LateResponse: {
22438
+ object: {
22439
+ assumptions: [1, { array: "CausalAssumptionDto" }],
22440
+ ci_lower: [1, 0],
22441
+ ci_upper: [1, 0],
22442
+ first_stage: [1, 0],
22443
+ first_stage_f: [1, 0],
22444
+ late: [1, 0],
22445
+ n: [1, 0],
22446
+ std_error: [1, 0],
22447
+ weak_instrument: [1, 0]
22448
+ }
22449
+ },
21477
22450
  LatticeRuleCellDto: { object: { mass: [1, 0], probability: [1, 0], sort: [1, 0] } },
21478
22451
  LatticeRuleDto: {
21479
22452
  object: {
@@ -21496,6 +22469,7 @@ var RESPONSE_COMPONENTS = {
21496
22469
  exhausted: [1, 0],
21497
22470
  holdout: [2, "HoldoutSummaryDto"],
21498
22471
  meets: [1, 0],
22472
+ population_sampled: [1, 0],
21499
22473
  scored: [1, 0],
21500
22474
  target_feature: [1, 0],
21501
22475
  transpositions: [1, 0],
@@ -21576,6 +22550,7 @@ var RESPONSE_COMPONENTS = {
21576
22550
  infeasible_by_entropy: [1, 0],
21577
22551
  initial_gap: [1, 0],
21578
22552
  population: [1, 0],
22553
+ population_sampled: [1, 0],
21579
22554
  pruned_by_entropy: [1, 0],
21580
22555
  rules: [1, { array: "LatticeRuleDto" }],
21581
22556
  steps: [1, { array: "TraceStepDto" }],
@@ -21583,6 +22558,15 @@ var RESPONSE_COMPONENTS = {
21583
22558
  unweighted: [1, 0]
21584
22559
  }
21585
22560
  },
22561
+ LearnRulesResponse: {
22562
+ object: {
22563
+ clauses: [1, { array: "LearnedClauseDto" }],
22564
+ negatives: [1, 0],
22565
+ positives: [1, 0],
22566
+ uncovered: [1, { array: { array: 0 } }],
22567
+ uncovered_positives: [1, 0]
22568
+ }
22569
+ },
21586
22570
  LearnSortSimilaritiesResponse: {
21587
22571
  object: {
21588
22572
  effect_feature: [1, 0],
@@ -21592,7 +22576,17 @@ var RESPONSE_COMPONENTS = {
21592
22576
  min_similarity: [1, 0]
21593
22577
  }
21594
22578
  },
22579
+ LearnedClauseDto: {
22580
+ object: {
22581
+ body: [1, { array: "LearnedLiteralDto" }],
22582
+ negatives_covered: [1, 0],
22583
+ osfql: [1, 0],
22584
+ positives_covered: [1, 0],
22585
+ text: [1, 0]
22586
+ }
22587
+ },
21595
22588
  LearnedHypothesisDto: { object: { sort: [1, 0], support: [1, 0], term_id: [1, 0] } },
22589
+ LearnedLiteralDto: { object: { args: [1, { array: 0 }], sort: [1, 0] } },
21596
22590
  LearnedPatternDto: {
21597
22591
  object: {
21598
22592
  base_case_inputs: [1, { array: 0 }],
@@ -21641,11 +22635,23 @@ var RESPONSE_COMPONENTS = {
21641
22635
  absent_from_store: [1, 0],
21642
22636
  base_rate: [1, 0],
21643
22637
  classes: [1, { array: "StructuralClassDto" }],
22638
+ coverage: [1, "LggCoverageDto"],
21644
22639
  examined: [1, 0],
21645
22640
  generalizations: [1, 0],
22641
+ population_sampled: [1, 0],
21646
22642
  target_feature: [1, 0]
21647
22643
  }
21648
22644
  },
22645
+ LggCoverageDto: {
22646
+ object: {
22647
+ classes_dropped: [1, 0],
22648
+ depth_limited: [1, 0],
22649
+ examined_limited: [1, 0],
22650
+ exhaustive: [1, 0],
22651
+ frontier_dropped: [1, 0],
22652
+ seeds_unused: [1, 0]
22653
+ }
22654
+ },
21649
22655
  LineageEdgeDto: {
21650
22656
  object: {
21651
22657
  child: [1, 0],
@@ -21782,6 +22788,12 @@ var RESPONSE_COMPONENTS = {
21782
22788
  speakers: [1, { array: "SpeakerProfileDto" }]
21783
22789
  }
21784
22790
  },
22791
+ ListSubscriptionDeliveriesResponse: {
22792
+ object: {
22793
+ counts: [1, "SubscriptionDeliveryCountsDto"],
22794
+ deliveries: [1, { array: "SubscriptionDeliveryDto" }]
22795
+ }
22796
+ },
21785
22797
  ListSubscriptionsResponse: { object: { subscriptions: [1, { array: "SubscriptionDto" }] } },
21786
22798
  ListSymbolsResponse: { object: { module_name: [1, 0], symbols: [1, { array: "SymbolDto" }] } },
21787
22799
  ListTablesResponse: {
@@ -21935,6 +22947,9 @@ var RESPONSE_COMPONENTS = {
21935
22947
  upserted: [1, { array: 0 }]
21936
22948
  }
21937
22949
  },
22950
+ MaxSatResponse: {
22951
+ object: { cost: [1, 0], iterations: [1, 0], model: [1, { array: 0 }], status: [1, 0] }
22952
+ },
21938
22953
  MediationResponse: {
21939
22954
  object: {
21940
22955
  decomposition_certified: [1, 0],
@@ -22204,6 +23219,7 @@ var RESPONSE_COMPONENTS = {
22204
23219
  variable: [1, 0]
22205
23220
  }
22206
23221
  },
23222
+ MeterDto: { object: { used: [1, 0] } },
22207
23223
  MigrationPreviewEntryDto: {
22208
23224
  object: {
22209
23225
  classification: [1, 0],
@@ -22244,6 +23260,15 @@ var RESPONSE_COMPONENTS = {
22244
23260
  trials: [1, 0]
22245
23261
  }
22246
23262
  },
23263
+ MiningCoverageDto: {
23264
+ object: {
23265
+ attributes_unextended: [1, 0],
23266
+ beam_dropped: [1, 0],
23267
+ concepts_dropped: [1, 0],
23268
+ depth_limited: [1, 0],
23269
+ exhaustive: [1, 0]
23270
+ }
23271
+ },
22247
23272
  MissingInfoDto: { object: { description: [1, 0], kind: [1, 0], priority: [1, 0] } },
22248
23273
  ModularArithResponse: { object: { result: [1, 0] } },
22249
23274
  MonadicFactDto: {
@@ -22283,7 +23308,6 @@ var RESPONSE_COMPONENTS = {
22283
23308
  variable: [1, 0]
22284
23309
  }
22285
23310
  },
22286
- NafResponse: { object: { result: [1, 0] } },
22287
23311
  NamespaceDto: {
22288
23312
  object: { id: [1, 0], name: [1, 0], path: [1, 0], tags: [1, { array: 0 }], visibility: [1, 0] }
22289
23313
  },
@@ -22312,6 +23336,9 @@ var RESPONSE_COMPONENTS = {
22312
23336
  }
22313
23337
  },
22314
23338
  NeuroSymbolicStatusResponse: { object: { enabled: [1, 0], status: [2, { object: {} }] } },
23339
+ NextQuestionDto: {
23340
+ object: { information_gain: [1, 0], over_candidates: [1, 0], p_yes: [1, 0], sort: [1, 0] }
23341
+ },
22315
23342
  NlQueryResponse: {
22316
23343
  object: {
22317
23344
  mode: [1, 0],
@@ -22655,6 +23682,58 @@ var RESPONSE_COMPONENTS = {
22655
23682
  state: [1, { array: "VariableDto" }]
22656
23683
  }
22657
23684
  },
23685
+ PatternContextResponse: {
23686
+ object: {
23687
+ attributes: [1, { array: 0 }],
23688
+ engine_binary_sha256: [1, 0],
23689
+ excluded_attributes: [0, { array: 0 }],
23690
+ objects: [1, { array: 0 }],
23691
+ rows: [1, { array: { array: 0 } }],
23692
+ semantics: [1, 0],
23693
+ snapshot_sha256: [1, 0],
23694
+ tenant: [1, 0],
23695
+ version: [1, 0]
23696
+ }
23697
+ },
23698
+ PatternDiscoveryResponse: {
23699
+ object: {
23700
+ checked_proposals: [1, 0],
23701
+ continuation: [2, { object: {} }],
23702
+ evidence_status: [1, 0],
23703
+ mode: [1, 0],
23704
+ patterns: [1, { array: "PatternExplanationResponse" }],
23705
+ proposal_verification_complete: [1, 0],
23706
+ rejected_proposals: [1, { array: 0 }],
23707
+ scope: [1, "PatternContextResponse"],
23708
+ search_complete: [1, 0],
23709
+ stop_reason: [1, 0],
23710
+ visited: [1, 0],
23711
+ work: [1, 0]
23712
+ }
23713
+ },
23714
+ PatternExplanationResponse: {
23715
+ object: {
23716
+ closed_in_context: [1, 0],
23717
+ closure: [1, { array: 0 }],
23718
+ counterexample_count: [1, 0],
23719
+ counterexamples: [1, { array: 0 }],
23720
+ intent: [1, { array: 0 }],
23721
+ scope_sha256: [1, 0],
23722
+ semantics: [1, 0],
23723
+ witness_count: [1, 0],
23724
+ witnesses: [1, { array: 0 }]
23725
+ }
23726
+ },
23727
+ PatternReplayResponse: {
23728
+ object: {
23729
+ current_scope_sha256: [1, 0],
23730
+ evidence_status: [1, 0],
23731
+ explanation: [2, "PatternExplanationResponse"],
23732
+ scope_unchanged: [1, 0],
23733
+ stale_dependencies: [1, { array: 0 }],
23734
+ unknown_attributes: [1, { array: 0 }]
23735
+ }
23736
+ },
22658
23737
  PatternSummaryDto: {
22659
23738
  object: {
22660
23739
  base_case_inputs: [1, { array: 0 }],
@@ -22663,6 +23742,49 @@ var RESPONSE_COMPONENTS = {
22663
23742
  pattern_id: [1, 0]
22664
23743
  }
22665
23744
  },
23745
+ PatternTimedDiscoveryResponse: {
23746
+ object: {
23747
+ checked_proposals: [1, 0],
23748
+ continuation: [2, { object: {} }],
23749
+ evidence_status: [1, 0],
23750
+ mode: [1, 0],
23751
+ patterns: [1, { array: "PatternExplanationResponse" }],
23752
+ proposal_verification_complete: [1, 0],
23753
+ rejected_proposals: [1, { array: 0 }],
23754
+ scope: [1, "PatternContextResponse"],
23755
+ search_complete: [1, 0],
23756
+ stop_reason: [1, 0],
23757
+ visited: [1, 0],
23758
+ work: [1, 0],
23759
+ timing_ms: [1, "PatternTimingResponse"]
23760
+ }
23761
+ },
23762
+ PatternTimingResponse: {
23763
+ object: {
23764
+ model_file_io: [1, 0],
23765
+ native_context_and_source_reads: [1, 0],
23766
+ proposal_extraction_and_native_discovery: [1, 0],
23767
+ request_total_before_serialization: [1, 0]
23768
+ }
23769
+ },
23770
+ PatternValidationResponse: {
23771
+ object: {
23772
+ base_rate: [1, 0],
23773
+ candidates: [1, { array: "ConceptRuleCandidateDto" }],
23774
+ coverage: [2, "MiningCoverageDto"],
23775
+ examined: [1, 0],
23776
+ input_complete: [1, 0],
23777
+ input_stop_reason: [1, 0],
23778
+ installed: [1, { array: "InstalledRuleDto" }],
23779
+ semantics: [1, 0],
23780
+ skipped: [1, 0],
23781
+ status: [1, 0],
23782
+ target_feature: [1, 0],
23783
+ validation: [2, "ConceptRuleValidationSummaryDto"],
23784
+ candidate_source: [1, 0],
23785
+ discovery: [1, "PatternDiscoveryResponse"]
23786
+ }
23787
+ },
22666
23788
  PauseReceipt: { object: { id: [1, 0], status: [1, 0] } },
22667
23789
  PendingActionReviewDto: {
22668
23790
  object: {
@@ -22894,6 +24016,17 @@ var RESPONSE_COMPONENTS = {
22894
24016
  strategy_name: [1, 0]
22895
24017
  }
22896
24018
  },
24019
+ ProductionPlanResponse: {
24020
+ object: {
24021
+ feasible: [1, 0],
24022
+ integer_profit: [1, 0],
24023
+ integer_quantities: [1, { object: {} }],
24024
+ quantities: [1, { object: {} }],
24025
+ resource_utilization: [1, { object: {} }],
24026
+ status: [1, 0],
24027
+ total_profit: [1, 0]
24028
+ }
24029
+ },
22897
24030
  PromptTraceDto: { object: { llm_context: [1, "LlmContextTraceDto"], system_prompt: [1, 0] } },
22898
24031
  ProofConclusionDto: { object: { features: [1, { object: {} }], sort_id: [1, 0] } },
22899
24032
  ProofDto: {
@@ -23008,6 +24141,7 @@ var RESPONSE_COMPONENTS = {
23008
24141
  incomplete_reason: [3, 0],
23009
24142
  input_complete: [1, 0],
23010
24143
  input_stop_reason: [1, 0],
24144
+ interpretation: [1, "DiscoveryInterpretationDto"],
23011
24145
  novel_concepts_discovered: [1, 0],
23012
24146
  processing_time_ms: [1, 0],
23013
24147
  recommendations: [1, { array: "SortRecommendationDto" }],
@@ -23054,6 +24188,16 @@ var RESPONSE_COMPONENTS = {
23054
24188
  }
23055
24189
  },
23056
24190
  PublishResponse: { object: { bundle_id: [1, 0], plugin_id: [1, 0], version: [1, 0] } },
24191
+ PurgeAuditResponse: {
24192
+ object: {
24193
+ anchor: [2, "AuditAnchor"],
24194
+ dry_run: [1, 0],
24195
+ removed: [1, 0],
24196
+ requested: [1, 0],
24197
+ requested_before: [1, 0],
24198
+ stopped_by: [2, "CutStop"]
24199
+ }
24200
+ },
23057
24201
  PushGoalResponse: { object: { goal_id: [1, 0], stack_size: [1, 0] } },
23058
24202
  QaPairDto: { object: { answer: [1, 0], question: [1, 0], term_id: [1, 0] } },
23059
24203
  QualitySummaryDto: {
@@ -23202,6 +24346,9 @@ var RESPONSE_COMPONENTS = {
23202
24346
  ReflectionQueryResponse: {
23203
24347
  object: { count: [1, 0], matches: [1, { array: 0 }], message: [1, 0] }
23204
24348
  },
24349
+ RefreshSourceResponse: {
24350
+ object: { changed: [1, 0], report: [1, "IngestUrlResponse"], source: [1, "SourceDto"] }
24351
+ },
23205
24352
  RefusedEntityDto: { object: { message: [1, 0], sort_name: [1, 0], term_id: [1, 0] } },
23206
24353
  RefutationCheckDto: {
23207
24354
  object: { detail: [1, 0], name: [1, 0], passed: [1, 0], refuted_estimate: [1, 0] }
@@ -23253,6 +24400,9 @@ var RESPONSE_COMPONENTS = {
23253
24400
  supported_modes: [1, { array: 0 }]
23254
24401
  }
23255
24402
  },
24403
+ RegisteredAdapterDto: {
24404
+ object: { name: [1, 0], owned: [1, 0], platform: [1, 0], status: [1, 0] }
24405
+ },
23256
24406
  ReifyTransitionsResponseDto: {
23257
24407
  object: {
23258
24408
  equations: [1, { array: 0 }],
@@ -23437,6 +24587,7 @@ var RESPONSE_COMPONENTS = {
23437
24587
  ResidualWitnessDto: {
23438
24588
  object: { partial_bindings: [1, { object: {} }], trigger: [1, 0], witness_id: [1, 0] }
23439
24589
  },
24590
+ ResiduatedAntecedentDto: { object: { llr: [1, 0], sort: [1, 0] } },
23440
24591
  ResiduatedEntry: {
23441
24592
  object: {
23442
24593
  feature_name: [1, 0],
@@ -23510,6 +24661,7 @@ var RESPONSE_COMPONENTS = {
23510
24661
  RetainedOriginal: { object: { content_url: [1, 0], id: [1, 0], name: [1, 0], size: [1, 0] } },
23511
24662
  RetainedTableDto: { object: { reason: [1, 0], table: [1, 0] } },
23512
24663
  RetentionDto: { object: { enforced: [1, 0] } },
24664
+ RetentionPolicy: { object: { legal_hold: [1, 0], min_retention_days: [1, 0] } },
23513
24665
  RetractRuleResponse: {
23514
24666
  object: { remaining_count: [1, 0], retracted_count: [1, 0], retracted_ids: [1, { array: 0 }] }
23515
24667
  },
@@ -23966,6 +25118,20 @@ var RESPONSE_COMPONENTS = {
23966
25118
  timestamp: [1, 0]
23967
25119
  }
23968
25120
  },
25121
+ SeriesBacktestDto: { object: { holdout: [1, 0], mae: [1, 0], method: [1, 0], rmse: [1, 0] } },
25122
+ SeriesForecastPointDto: { object: { lower: [1, 0], mean: [1, 0], step: [1, 0], upper: [1, 0] } },
25123
+ SeriesForecastResponse: {
25124
+ object: {
25125
+ backtest: [1, "SeriesBacktestDto"],
25126
+ candidates: [1, { array: "SeriesBacktestDto" }],
25127
+ forecast: [1, { array: "SeriesForecastPointDto" }],
25128
+ method: [1, 0],
25129
+ observations: [1, 0],
25130
+ parameters: [1, "SmoothingParametersDto"],
25131
+ sigma: [1, 0],
25132
+ skipped: [1, 0]
25133
+ }
25134
+ },
23969
25135
  SessionDocumentDto: { object: { document_id: [1, 0], status: [1, 0] } },
23970
25136
  SessionGraphDto: {
23971
25137
  object: {
@@ -24003,6 +25169,15 @@ var RESPONSE_COMPONENTS = {
24003
25169
  ShaclShapeDto: {
24004
25170
  object: { properties: [1, { array: "ShaclPropertyDto" }], target_class: [1, 0] }
24005
25171
  },
25172
+ ShapleyContributionDto: { object: { coefficient: [1, 0], feature: [1, 0], value: [1, 0] } },
25173
+ ShapleyResponse: {
25174
+ object: {
25175
+ baseline: [1, 0],
25176
+ contributions: [1, { array: "ShapleyContributionDto" }],
25177
+ intercept: [1, 0],
25178
+ prediction: [1, 0]
25179
+ }
25180
+ },
24006
25181
  ShiftEffectResponse: {
24007
25182
  object: {
24008
25183
  assumptions: [1, { array: "CausalAssumptionDto" }],
@@ -24058,6 +25233,7 @@ var RESPONSE_COMPONENTS = {
24058
25233
  }
24059
25234
  },
24060
25235
  SkippedWebPageDto: { object: { depth: [1, 0], message: [1, 0], reason: [1, 0], url: [1, 0] } },
25236
+ SmoothingParametersDto: { object: { alpha: [1, 0] } },
24061
25237
  SmtCheckResponse: { object: { assignments: [2, { object: {} }], result: [1, 0] } },
24062
25238
  SnapshotFilter: { object: { request_path_pattern: [1, 0] } },
24063
25239
  SnapshotResponse: {
@@ -24086,6 +25262,7 @@ var RESPONSE_COMPONENTS = {
24086
25262
  conclusion: [2, "ProofConclusionDto"],
24087
25263
  matched_sorts: [0, { array: 0 }],
24088
25264
  proof: [2, "ProofDto"],
25265
+ residuated_antecedents: [0, { array: "ResiduatedAntecedentDto" }],
24089
25266
  residuated_sorts: [0, { array: 0 }],
24090
25267
  score_decomposition: [2, "LogOddsScoreDecompositionDto"],
24091
25268
  substitution: [1, "HomoiconicSubstitutionDto"]
@@ -24183,6 +25360,7 @@ var RESPONSE_COMPONENTS = {
24183
25360
  incomplete_reason: [3, 0],
24184
25361
  input_complete: [1, 0],
24185
25362
  input_stop_reason: [1, 0],
25363
+ interpretation: [1, "DiscoveryInterpretationDto"],
24186
25364
  novel_concepts_discovered: [1, 0],
24187
25365
  processing_time_ms: [1, 0],
24188
25366
  recommendations: [1, { array: "SortRecommendationDto" }],
@@ -24223,6 +25401,17 @@ var RESPONSE_COMPONENTS = {
24223
25401
  },
24224
25402
  SortIndexStatusResponse: { object: { running: [1, 0], total_sorts: [1, 0] } },
24225
25403
  SortInfoDto: { object: { id: [1, 0] } },
25404
+ SortLicenceResponseDto: {
25405
+ object: {
25406
+ declared_by: [1, 0],
25407
+ extends: [1, 0],
25408
+ installed_rules: [1, { array: 0 }],
25409
+ licence_record: [1, 0],
25410
+ policy: [1, 0],
25411
+ sort_id: [1, 0],
25412
+ sort_name: [1, 0]
25413
+ }
25414
+ },
24226
25415
  SortListResponse: { object: { count: [1, 0], sorts: [1, { array: "SortDto" }] } },
24227
25416
  SortNeighborhoodResponse: {
24228
25417
  object: {
@@ -24321,6 +25510,18 @@ var RESPONSE_COMPONENTS = {
24321
25510
  supported_modes: [1, { array: 0 }]
24322
25511
  }
24323
25512
  },
25513
+ SourceDto: {
25514
+ object: {
25515
+ created_at: [1, 0],
25516
+ id: [1, 0],
25517
+ interval_seconds: [1, 0],
25518
+ max_depth: [1, 0],
25519
+ max_pages: [1, 0],
25520
+ next_due_at: [1, 0],
25521
+ refresh_count: [1, 0],
25522
+ url: [1, 0]
25523
+ }
25524
+ },
24324
25525
  SourceExcerptDto: { object: { concept: [1, 0], text: [1, 0] } },
24325
25526
  SourceSummaryDto: {
24326
25527
  object: { available: [1, 0], mode: [1, 0], source_id: [1, 0], source_type: [1, 0] }
@@ -24334,6 +25535,7 @@ var RESPONSE_COMPONENTS = {
24334
25535
  supported_modes: [1, { array: 0 }]
24335
25536
  }
24336
25537
  },
25538
+ SourcesResponse: { object: { sources: [1, { array: "SourceDto" }] } },
24337
25539
  SovereignEndpoint: { object: { host: [1, 0], internal: [1, 0], var: [1, 0] } },
24338
25540
  SovereigntyReport: {
24339
25541
  object: {
@@ -24410,6 +25612,7 @@ var RESPONSE_COMPONENTS = {
24410
25612
  object: {
24411
25613
  attribute_count: [1, 0],
24412
25614
  object_count: [1, 0],
25615
+ population_sampled: [1, 0],
24413
25616
  question: [2, "ExplorationQuestionDto"],
24414
25617
  search: [1, "ExplorationSearchReportDto"],
24415
25618
  session_id: [1, 0]
@@ -24474,7 +25677,19 @@ var RESPONSE_COMPONENTS = {
24474
25677
  terms_deleted: [1, 0]
24475
25678
  }
24476
25679
  },
25680
+ SubmitInferenceJobResponse: { object: { job_id: [1, 0], status: [1, 0], status_url: [1, 0] } },
24477
25681
  SubscribeToKbResponse: { object: { message: [1, 0], subscription_id: [1, 0], success: [1, 0] } },
25682
+ SubscriptionDeliveryCountsDto: { object: { dead: [1, 0], delivered: [1, 0], pending: [1, 0] } },
25683
+ SubscriptionDeliveryDto: {
25684
+ object: {
25685
+ attempts: [1, 0],
25686
+ created_at: [1, 0],
25687
+ id: [1, 0],
25688
+ kind: [1, 0],
25689
+ max_attempts: [1, 0],
25690
+ state: [1, 0]
25691
+ }
25692
+ },
24478
25693
  SubscriptionDto: {
24479
25694
  object: {
24480
25695
  backoff_ms: [1, 0],
@@ -24531,6 +25746,13 @@ var RESPONSE_COMPONENTS = {
24531
25746
  verification: [1, 0]
24532
25747
  }
24533
25748
  },
25749
+ SurvivalEffectResponse: {
25750
+ object: {
25751
+ censoring: [1, "CensoringDiagnosticDto"],
25752
+ effect: [1, "AteEstimateResponse"],
25753
+ horizon: [1, 0]
25754
+ }
25755
+ },
24534
25756
  SuspendedQueryDto: {
24535
25757
  object: {
24536
25758
  confidence: [1, 0],
@@ -24556,6 +25778,18 @@ var RESPONSE_COMPONENTS = {
24556
25778
  success: [1, 0]
24557
25779
  }
24558
25780
  },
25781
+ SyntheticControlResponse: {
25782
+ object: {
25783
+ average_effect: [1, 0],
25784
+ effects: [1, { array: 0 }],
25785
+ post_rmspe: [1, 0],
25786
+ pre_rmspe: [1, 0],
25787
+ rmspe_ratio: [1, 0],
25788
+ synthetic_post: [1, { array: 0 }],
25789
+ synthetic_pre: [1, { array: 0 }],
25790
+ weights: [1, { array: "DonorWeightDto" }]
25791
+ }
25792
+ },
24559
25793
  SystemDiagnosticCheckDto: {
24560
25794
  object: {
24561
25795
  auto_fixable: [1, 0],
@@ -24808,6 +26042,10 @@ var RESPONSE_COMPONENTS = {
24808
26042
  TuningDeploymentsResponse: {
24809
26043
  object: { deployments: [1, { array: "DeploymentDto" }], unprojectable: [1, { array: 0 }] }
24810
26044
  },
26045
+ TuningExecutionDto: { object: { state: [1, 0], transaction_id: [1, 0] } },
26046
+ TuningExecutionsResponse: {
26047
+ object: { executions: [1, { array: "TuningExecutionDto" }], truncated: [1, 0] }
26048
+ },
24811
26049
  TuningRunDto: {
24812
26050
  object: {
24813
26051
  pipeline: [1, 0],
@@ -24934,7 +26172,6 @@ var RESPONSE_COMPONENTS = {
24934
26172
  y: [1, 0]
24935
26173
  }
24936
26174
  },
24937
- UndoResponse: { object: { trail_position: [1, 0], undo_id: [1, 0] } },
24938
26175
  UndoRuleStoreResponse: { object: { rule_count: [1, 0], success: [1, 0] } },
24939
26176
  UnificationQueryResponse: { object: { count: [1, 0], results: [1, { array: "TermDto" }] } },
24940
26177
  UnifyBindingDto: { object: { value: [1, 0], variable: [1, 0] } },
@@ -24944,6 +26181,9 @@ var RESPONSE_COMPONENTS = {
24944
26181
  },
24945
26182
  UnsatisfiableClassDto: { object: { class: [1, 0], disjoint_pair: [1, { array: 0 }] } },
24946
26183
  UnsatisfiableSortDto: { object: { disjoint_pair: [1, { array: 0 }], sort: [1, 0] } },
26184
+ UpdateAgentResponse: {
26185
+ object: { agent_id: [1, 0], config: [1, "AgentConfigDto"], name: [1, 0] }
26186
+ },
24947
26187
  UpdatePlanStatsResponse: {
24948
26188
  object: { message: [1, 0], new_success_rate: [1, 0], new_use_count: [1, 0] }
24949
26189
  },
@@ -24996,6 +26236,14 @@ var RESPONSE_COMPONENTS = {
24996
26236
  robots_product_token: [1, 0]
24997
26237
  }
24998
26238
  },
26239
+ UsageLimitsDto: { object: {} },
26240
+ UsageResponse: {
26241
+ object: {
26242
+ agent_cycles: [1, "MeterDto"],
26243
+ chat_turns: [1, "MeterDto"],
26244
+ scheduled_runs: [1, "MeterDto"]
26245
+ }
26246
+ },
24999
26247
  ValidateResponse: {
25000
26248
  object: {
25001
26249
  proof_trace: [1, "ProofTrace"],
@@ -25082,7 +26330,14 @@ var RESPONSE_COMPONENTS = {
25082
26330
  score: [1, 0]
25083
26331
  }
25084
26332
  },
25085
- VerifyResponse: { object: { n_violations: [1, 0], ok: [1, 0], violations: [1, { array: 0 }] } },
26333
+ VerifyResponse: {
26334
+ object: {
26335
+ anchor: [2, "AuditAnchor"],
26336
+ n_violations: [1, 0],
26337
+ ok: [1, 0],
26338
+ violations: [1, { array: 0 }]
26339
+ }
26340
+ },
25086
26341
  VerifyRoundTripResponse: {
25087
26342
  object: {
25088
26343
  entities_expected: [1, 0],
@@ -25236,6 +26491,28 @@ var RESPONSE_COMPONENTS = {
25236
26491
  weight: [1, 0]
25237
26492
  }
25238
26493
  },
26494
+ WhyNotDto: {
26495
+ object: {
26496
+ facts_of_sort: [1, 0],
26497
+ goal_sort: [1, 0],
26498
+ nearest_fact: [2, "WhyNotNearestFactDto"],
26499
+ rules: [1, { array: "WhyNotRuleDto" }],
26500
+ summary: [1, 0]
26501
+ }
26502
+ },
26503
+ WhyNotMismatchDto: { object: { expected: [1, 0], feature: [1, 0] } },
26504
+ WhyNotNearestFactDto: {
26505
+ object: { matched: [1, 0], mismatches: [1, { array: "WhyNotMismatchDto" }], term_id: [1, 0] }
26506
+ },
26507
+ WhyNotPremiseDto: { object: { features: [1, { object: {} }], sort: [1, 0] } },
26508
+ WhyNotRuleDto: {
26509
+ object: {
26510
+ blocked_by: [1, { array: "WhyNotPremiseDto" }],
26511
+ head_sort: [1, 0],
26512
+ jointly_unsatisfied: [1, 0],
26513
+ rule_id: [1, 0]
26514
+ }
26515
+ },
25239
26516
  WithOriginals_AsyncBatchIngestionResponse: {
25240
26517
  object: {
25241
26518
  document_count: [1, 0],
@@ -25276,6 +26553,43 @@ var RESPONSE_COMPONENTS = {
25276
26553
  source_revision: [1, 0]
25277
26554
  }
25278
26555
  },
26556
+ WorkflowDto: {
26557
+ object: {
26558
+ created_at: [1, 0],
26559
+ id: [1, 0],
26560
+ inputs: [1, { array: 0 }],
26561
+ max_steps: [1, 0],
26562
+ name: [1, 0],
26563
+ start: [1, 0],
26564
+ steps: [1, { object: {} }],
26565
+ updated_at: [1, 0],
26566
+ version: [1, 0]
26567
+ }
26568
+ },
26569
+ WorkflowListResponse: { object: { workflows: [1, { array: "WorkflowDto" }] } },
26570
+ WorkflowRunDto: {
26571
+ object: {
26572
+ context: [1, { object: {} }],
26573
+ id: [1, 0],
26574
+ log: [1, { array: "WorkflowStepRecord" }],
26575
+ started_at: [1, 0],
26576
+ started_by: [1, 0],
26577
+ status: [1, 0],
26578
+ steps_taken: [1, 0],
26579
+ workflow_id: [1, 0],
26580
+ workflow_version: [1, 0]
26581
+ }
26582
+ },
26583
+ WorkflowRunListResponse: { object: { runs: [1, { array: "WorkflowRunDto" }] } },
26584
+ WorkflowStepRecord: {
26585
+ object: {
26586
+ finished_at: [1, 0],
26587
+ kind: [1, 0],
26588
+ outcome: [1, 0],
26589
+ started_at: [1, 0],
26590
+ step: [1, 0]
26591
+ }
26592
+ },
25279
26593
  WorldModelTransitionDto: { object: { probability: [1, 0] } },
25280
26594
  YankResponse: { object: { plugin_id: [1, 0], yanked: [1, 0] } }
25281
26595
  };
@@ -25521,21 +26835,11 @@ var RESPONSE_OPERATIONS = {
25521
26835
  path: "/api/v1/vocabulary/candidates/{candidate_id}/assessments",
25522
26836
  responses: { 201: "AssessmentResponse" }
25523
26837
  },
25524
- assignBacktrackable: {
25525
- method: "POST",
25526
- path: "/api/v1/control/assign/backtrackable",
25527
- responses: { 200: "BacktrackableAssignResponse" }
25528
- },
25529
26838
  assignConceptFeatures: {
25530
26839
  method: "POST",
25531
26840
  path: "/api/v1/analysis/concept-features/assign",
25532
26841
  responses: { 200: "ConceptAssignmentResponseDto" }
25533
26842
  },
25534
- assignGlobal: {
25535
- method: "POST",
25536
- path: "/api/v1/control/assign/global",
25537
- responses: { 200: "GlobalAssignResponse" }
25538
- },
25539
26843
  assumeFeasibilityVar: {
25540
26844
  method: "POST",
25541
26845
  path: "/api/v1/feasibility/sessions/{session_id}/assumptions",
@@ -25701,11 +27005,31 @@ var RESPONSE_OPERATIONS = {
25701
27005
  path: "/api/v1/ingest/sessions/{session_id}/documents/{document_id}/cancel",
25702
27006
  responses: { 200: "CancelDocumentResponse" }
25703
27007
  },
27008
+ cancelInferenceJob: {
27009
+ method: "POST",
27010
+ path: "/api/v1/inference/jobs/{id}/cancel",
27011
+ responses: { 200: "InferenceJobDto" }
27012
+ },
27013
+ cancelWorkflowRun: {
27014
+ method: "POST",
27015
+ path: "/api/v1/workflow-runs/{run_id}/cancel",
27016
+ responses: { 200: "WorkflowRunDto" }
27017
+ },
25704
27018
  captureSnapshot: {
25705
27019
  method: "POST",
25706
27020
  path: "/api/v1/predictions/snapshot",
25707
27021
  responses: { 201: "PredictionSnapshot" }
25708
27022
  },
27023
+ categoricalInfer: {
27024
+ method: "POST",
27025
+ path: "/api/v1/inference/categorical",
27026
+ responses: { 200: "CategoricalResult" }
27027
+ },
27028
+ categoricalVerify: {
27029
+ method: "POST",
27030
+ path: "/api/v1/inference/categorical/verify",
27031
+ responses: { 200: "CategoricalVerifyResponse" }
27032
+ },
25709
27033
  causationProbabilities: {
25710
27034
  method: "POST",
25711
27035
  path: "/api/v1/causal/causation-probabilities",
@@ -25764,11 +27088,6 @@ var RESPONSE_OPERATIONS = {
25764
27088
  },
25765
27089
  checkSmt: { method: "POST", path: "/api/v1/smt/check", responses: { 200: "SmtCheckResponse" } },
25766
27090
  checkTuple: { method: "POST", path: "/api/v1/authz/check", responses: { 200: "CheckResponse" } },
25767
- chunk: {
25768
- method: "PUT",
25769
- path: "/api/v1/ingest/rdf/uploads/{id}",
25770
- responses: { 200: "ChunkReceipt" }
25771
- },
25772
27091
  classify: {
25773
27092
  method: "POST",
25774
27093
  path: "/api/v1/facets/{parent}/{facet}/classify",
@@ -25855,10 +27174,19 @@ var RESPONSE_OPERATIONS = {
25855
27174
  path: "/api/v1/facets/{parent}/{facet}/complement/{cell}",
25856
27175
  responses: { 200: "ComplementDto" }
25857
27176
  },
25858
- complete: {
27177
+ completeDocumentUpload: {
25859
27178
  method: "POST",
25860
- path: "/api/v1/ingest/rdf/uploads/{id}/complete",
25861
- responses: { 202: "Artifact" }
27179
+ path: "/api/v1/ingest/documents/uploads/{id}/complete",
27180
+ responses: {
27181
+ 200: "IngestDocumentResponse",
27182
+ 201: "IngestDocumentResponse",
27183
+ 202: "WithOriginals_AsyncIngestionResponse"
27184
+ }
27185
+ },
27186
+ completeDsr: {
27187
+ method: "POST",
27188
+ path: "/api/v1/dsr/{id}/complete",
27189
+ responses: { 200: "DsrRecordResponse" }
25862
27190
  },
25863
27191
  completeExploration: {
25864
27192
  method: "POST",
@@ -25880,6 +27208,11 @@ var RESPONSE_OPERATIONS = {
25880
27208
  path: "/api/v1/sorts/meet/complete",
25881
27209
  responses: { 200: "CompleteBoundResponse" }
25882
27210
  },
27211
+ completeRdfUpload: {
27212
+ method: "POST",
27213
+ path: "/api/v1/ingest/rdf/uploads/{id}/complete",
27214
+ responses: { 202: "Artifact" }
27215
+ },
25883
27216
  computeCentrality: {
25884
27217
  method: "POST",
25885
27218
  path: "/api/v1/analysis/centrality",
@@ -25930,30 +27263,6 @@ var RESPONSE_OPERATIONS = {
25930
27263
  path: "/api/v1/analysis/contrast",
25931
27264
  responses: { 200: "ContrastResponseDto" }
25932
27265
  },
25933
- controlCallOnce: {
25934
- method: "POST",
25935
- path: "/api/v1/control/call-once",
25936
- responses: { 200: "CallOnceResponse" }
25937
- },
25938
- controlCond: { method: "POST", path: "/api/v1/control/cond", responses: { 200: "CondResponse" } },
25939
- controlCut: { method: "POST", path: "/api/v1/control/cut", responses: { 200: "CutResponse" } },
25940
- controlFindall: {
25941
- method: "POST",
25942
- path: "/api/v1/control/findall",
25943
- responses: { 200: "FindallResponse" }
25944
- },
25945
- controlForall: {
25946
- method: "POST",
25947
- path: "/api/v1/control/forall",
25948
- responses: { 200: "ForallResponse" }
25949
- },
25950
- controlImplies: {
25951
- method: "POST",
25952
- path: "/api/v1/control/implies",
25953
- responses: { 200: "ImpliesResponse" }
25954
- },
25955
- controlNaf: { method: "POST", path: "/api/v1/control/naf", responses: { 200: "NafResponse" } },
25956
- controlUndo: { method: "POST", path: "/api/v1/control/undo", responses: { 200: "UndoResponse" } },
25957
27266
  copyTerm: { method: "POST", path: "/api/v1/copy/term", responses: { 200: "CopyTermResponse" } },
25958
27267
  corpusBridges: {
25959
27268
  method: "POST",
@@ -25985,7 +27294,6 @@ var RESPONSE_OPERATIONS = {
25985
27294
  path: "/api/v1/audit/entries/count",
25986
27295
  responses: { 200: "CountAuditEntriesResponse" }
25987
27296
  },
25988
- create: { method: "POST", path: "/api/v1/ingest/rdf/uploads", responses: { 201: "Artifact" } },
25989
27297
  createAgent: {
25990
27298
  method: "POST",
25991
27299
  path: "/api/v1/cognitive/agents",
@@ -26032,6 +27340,11 @@ var RESPONSE_OPERATIONS = {
26032
27340
  path: "/api/v1/execution/curry",
26033
27341
  responses: { 200: "CurriedFunctionResponse" }
26034
27342
  },
27343
+ createDocumentUpload: {
27344
+ method: "POST",
27345
+ path: "/api/v1/ingest/documents/uploads",
27346
+ responses: { 201: "DocumentUpload" }
27347
+ },
26035
27348
  createDsr: { method: "POST", path: "/api/v1/dsr", responses: { 201: "DsrRecordResponse" } },
26036
27349
  createExecutionSession: {
26037
27350
  method: "POST",
@@ -26048,6 +27361,11 @@ var RESPONSE_OPERATIONS = {
26048
27361
  path: "/api/v1/inference/goals",
26049
27362
  responses: { 201: "CreateGoalResponse" }
26050
27363
  },
27364
+ createIngestSource: {
27365
+ method: "POST",
27366
+ path: "/api/v1/ingest/sources",
27367
+ responses: { 201: "SourceDto" }
27368
+ },
26051
27369
  createModule: {
26052
27370
  method: "POST",
26053
27371
  path: "/api/v1/modules",
@@ -26058,6 +27376,11 @@ var RESPONSE_OPERATIONS = {
26058
27376
  path: "/api/v1/oversight/sessions",
26059
27377
  responses: { 201: "CreateSessionResponse" }
26060
27378
  },
27379
+ createRdfUpload: {
27380
+ method: "POST",
27381
+ path: "/api/v1/ingest/rdf/uploads",
27382
+ responses: { 201: "Artifact" }
27383
+ },
26061
27384
  createRootNamespace: {
26062
27385
  method: "POST",
26063
27386
  path: "/api/v1/namespaces",
@@ -26109,6 +27432,7 @@ var RESPONSE_OPERATIONS = {
26109
27432
  path: "/api/v1/proof-engine/term-store/sessions",
26110
27433
  responses: { 200: "TermStoreSessionResponse" }
26111
27434
  },
27435
+ createWorkflow: { method: "POST", path: "/api/v1/workflows", responses: { 201: "WorkflowDto" } },
26112
27436
  currentFluentValue: {
26113
27437
  method: "GET",
26114
27438
  path: "/api/v1/fluents/current",
@@ -26197,6 +27521,11 @@ var RESPONSE_OPERATIONS = {
26197
27521
  responses: { 200: "DeleteTermReport" }
26198
27522
  },
26199
27523
  demoSeed: { method: "POST", path: "/api/v1/demo/seed", responses: { 200: "DemoSeedResponse" } },
27524
+ denyDsr: {
27525
+ method: "POST",
27526
+ path: "/api/v1/dsr/{id}/deny",
27527
+ responses: { 200: "DsrRecordResponse" }
27528
+ },
26200
27529
  deprecateSort: {
26201
27530
  method: "POST",
26202
27531
  path: "/api/v1/sorts/{id}/deprecate",
@@ -26217,6 +27546,11 @@ var RESPONSE_OPERATIONS = {
26217
27546
  path: "/api/v1/ui/describe",
26218
27547
  responses: { 200: "UIDescribeResponse" }
26219
27548
  },
27549
+ detectAnomalies: {
27550
+ method: "POST",
27551
+ path: "/api/v1/analysis/anomalies",
27552
+ responses: { 200: "AnomalyResponse" }
27553
+ },
26220
27554
  detectCommunities: {
26221
27555
  method: "POST",
26222
27556
  path: "/api/v1/communities/detect",
@@ -26262,6 +27596,11 @@ var RESPONSE_OPERATIONS = {
26262
27596
  path: "/api/v1/statistical/discover-model",
26263
27597
  responses: { 200: "DiscoverModelResponse" }
26264
27598
  },
27599
+ discoverPatternProposals: {
27600
+ method: "POST",
27601
+ path: "/api/v1/analysis/pattern-proposals",
27602
+ responses: { 200: "PatternTimedDiscoveryResponse" }
27603
+ },
26265
27604
  discoverSchema: {
26266
27605
  method: "POST",
26267
27606
  path: "/api/v1/sources/{source_id}/discover",
@@ -26277,6 +27616,11 @@ var RESPONSE_OPERATIONS = {
26277
27616
  path: "/api/v1/reasoning/disentailment",
26278
27617
  responses: { 200: "DisentailmentResponse" }
26279
27618
  },
27619
+ disentailmentBatch: {
27620
+ method: "POST",
27621
+ path: "/api/v1/reasoning/disentailment/batch",
27622
+ responses: { 200: "DisentailmentBatchResponse" }
27623
+ },
26280
27624
  dryRun: {
26281
27625
  method: "POST",
26282
27626
  path: "/api/v1/authz/dry-run",
@@ -26377,6 +27721,11 @@ var RESPONSE_OPERATIONS = {
26377
27721
  path: "/api/v1/causal/att/dml",
26378
27722
  responses: { 200: "AteEstimateResponse" }
26379
27723
  },
27724
+ estimateCateHandler: {
27725
+ method: "POST",
27726
+ path: "/api/v1/causal/cate",
27727
+ responses: { 200: "CateResponse" }
27728
+ },
26380
27729
  estimateDoseResponseHandler: {
26381
27730
  method: "POST",
26382
27731
  path: "/api/v1/causal/dose-response",
@@ -26387,6 +27736,11 @@ var RESPONSE_OPERATIONS = {
26387
27736
  path: "/api/v1/causal/front-door",
26388
27737
  responses: { 200: "FrontDoorResponse" }
26389
27738
  },
27739
+ estimateLateHandler: {
27740
+ method: "POST",
27741
+ path: "/api/v1/causal/late",
27742
+ responses: { 200: "LateResponse" }
27743
+ },
26390
27744
  estimateMediationDmlHandler: {
26391
27745
  method: "POST",
26392
27746
  path: "/api/v1/causal/mediation/dml",
@@ -26402,11 +27756,26 @@ var RESPONSE_OPERATIONS = {
26402
27756
  path: "/api/v1/causal/mediation/multi",
26403
27757
  responses: { 200: "MediationResponse" }
26404
27758
  },
27759
+ estimateRegressionDiscontinuity: {
27760
+ method: "POST",
27761
+ path: "/api/v1/causal/rdd",
27762
+ responses: { 200: "DiscontinuityResponse" }
27763
+ },
26405
27764
  estimateShiftHandler: {
26406
27765
  method: "POST",
26407
27766
  path: "/api/v1/causal/shift",
26408
27767
  responses: { 200: "ShiftEffectResponse" }
26409
27768
  },
27769
+ estimateSurvivalEffect: {
27770
+ method: "POST",
27771
+ path: "/api/v1/causal/survival",
27772
+ responses: { 200: "SurvivalEffectResponse" }
27773
+ },
27774
+ estimateSyntheticControl: {
27775
+ method: "POST",
27776
+ path: "/api/v1/causal/synthetic-control",
27777
+ responses: { 200: "SyntheticControlResponse" }
27778
+ },
26410
27779
  evaluateArgumentation: {
26411
27780
  method: "POST",
26412
27781
  path: "/api/v1/argumentation/evaluate",
@@ -26473,21 +27842,46 @@ var RESPONSE_OPERATIONS = {
26473
27842
  path: "/api/v1/action-reviews/expire",
26474
27843
  responses: { 200: "ExpireReviewsResponse" }
26475
27844
  },
27845
+ explainWithShapley: {
27846
+ method: "POST",
27847
+ path: "/api/v1/analysis/shapley",
27848
+ responses: { 200: "ShapleyResponse" }
27849
+ },
26476
27850
  explorationStatus: {
26477
27851
  method: "GET",
26478
27852
  path: "/api/v1/analysis/attribute-exploration/{session_id}/status",
26479
27853
  responses: { 200: "ExplorationStatusResponseDto" }
26480
27854
  },
27855
+ exportAgent: {
27856
+ method: "GET",
27857
+ path: "/api/v1/cognitive/agents/{agent_id}/export",
27858
+ responses: { 200: "AgentBundle" }
27859
+ },
27860
+ exportDsr: {
27861
+ method: "POST",
27862
+ path: "/api/v1/dsr/{id}/export",
27863
+ responses: { 200: "DsrExportResponse" }
27864
+ },
26481
27865
  exportJsonl: {
26482
27866
  method: "POST",
26483
27867
  path: "/api/v1/synthetic/export-jsonl",
26484
27868
  responses: { 200: "ExportJsonlResponse" }
26485
27869
  },
27870
+ exportPatternContext: {
27871
+ method: "POST",
27872
+ path: "/api/v1/analysis/pattern-proposals/context",
27873
+ responses: { 200: "PatternContextResponse" }
27874
+ },
26486
27875
  exportProof: {
26487
27876
  method: "POST",
26488
27877
  path: "/api/v1/proof/export",
26489
27878
  responses: { 200: "ProofExportResponse" }
26490
27879
  },
27880
+ extendDsr: {
27881
+ method: "POST",
27882
+ path: "/api/v1/dsr/{id}/extend",
27883
+ responses: { 200: "DsrRecordResponse" }
27884
+ },
26491
27885
  extractEntities: {
26492
27886
  method: "POST",
26493
27887
  path: "/api/v1/extract/entities",
@@ -26548,6 +27942,11 @@ var RESPONSE_OPERATIONS = {
26548
27942
  path: "/api/v1/forecast/{domain}",
26549
27943
  responses: { 200: "ForecastResponse" }
26550
27944
  },
27945
+ forecastSeries: {
27946
+ method: "POST",
27947
+ path: "/api/v1/analysis/forecast",
27948
+ responses: { 200: "SeriesForecastResponse" }
27949
+ },
26551
27950
  forwardChain: {
26552
27951
  method: "POST",
26553
27952
  path: "/api/v1/inference/forward-chain",
@@ -26628,7 +28027,6 @@ var RESPONSE_OPERATIONS = {
26628
28027
  path: "/api/v1/ui/generate",
26629
28028
  responses: { 200: "UIGenerateResponse" }
26630
28029
  },
26631
- get: { method: "GET", path: "/api/v1/ingest/rdf/uploads/{id}", responses: { 200: "Artifact" } },
26632
28030
  getActionReviewConfigHandler: {
26633
28031
  method: "GET",
26634
28032
  path: "/api/v1/cognitive/agents/action-review-config",
@@ -26694,6 +28092,11 @@ var RESPONSE_OPERATIONS = {
26694
28092
  path: "/api/v1/compliance/audit/records/{record_id}",
26695
28093
  responses: { 200: "AuditRecord" }
26696
28094
  },
28095
+ getAuditRetention: {
28096
+ method: "GET",
28097
+ path: "/api/v1/compliance/audit/retention",
28098
+ responses: { 200: "RetentionPolicy" }
28099
+ },
26697
28100
  getBindings: {
26698
28101
  method: "POST",
26699
28102
  path: "/api/v1/execution/sessions/{session_id}/bindings",
@@ -26824,12 +28227,22 @@ var RESPONSE_OPERATIONS = {
26824
28227
  path: "/api/v1/documents/{document_id}/summary",
26825
28228
  responses: { 200: "DocumentSummaryResponse" }
26826
28229
  },
28230
+ getDocumentUpload: {
28231
+ method: "GET",
28232
+ path: "/api/v1/ingest/documents/uploads/{id}",
28233
+ responses: { 200: "DocumentUpload" }
28234
+ },
26827
28235
  getDsr: { method: "GET", path: "/api/v1/dsr/{id}", responses: { 200: "DsrRecordResponse" } },
26828
28236
  getEgress: {
26829
28237
  method: "GET",
26830
28238
  path: "/api/v1/sovereignty/egress",
26831
28239
  responses: { 200: "EgressCheck" }
26832
28240
  },
28241
+ getEmergencyStop: {
28242
+ method: "GET",
28243
+ path: "/api/v1/emergency-stop",
28244
+ responses: { 200: "EmergencyStopStatus" }
28245
+ },
26833
28246
  getEngineStats: {
26834
28247
  method: "GET",
26835
28248
  path: "/api/v1/engine/stats",
@@ -26931,6 +28344,11 @@ var RESPONSE_OPERATIONS = {
26931
28344
  responses: { 200: "HypergraphResponse" }
26932
28345
  },
26933
28346
  getInbox: { method: "GET", path: "/api/v1/inbox", responses: { 200: "InboxResponse" } },
28347
+ getInferenceJob: {
28348
+ method: "GET",
28349
+ path: "/api/v1/inference/jobs/{id}",
28350
+ responses: { 200: "InferenceJobDto" }
28351
+ },
26934
28352
  getIngestionDocumentStats: {
26935
28353
  method: "GET",
26936
28354
  path: "/api/v1/ingest/sessions/{session_id}/documents/{document_id}/stats",
@@ -27061,6 +28479,11 @@ var RESPONSE_OPERATIONS = {
27061
28479
  path: "/api/v1/sorts/quotient-order",
27062
28480
  responses: { 200: "GetQuotientOrderResponse" }
27063
28481
  },
28482
+ getRdfUpload: {
28483
+ method: "GET",
28484
+ path: "/api/v1/ingest/rdf/uploads/{id}",
28485
+ responses: { 200: "Artifact" }
28486
+ },
27064
28487
  getRelease: {
27065
28488
  method: "GET",
27066
28489
  path: "/api/v1/vocabulary/releases/{release_id}",
@@ -27208,11 +28631,18 @@ var RESPONSE_OPERATIONS = {
27208
28631
  path: "/api/v1/visualization/unify-terms",
27209
28632
  responses: { 200: "TermUnifyVisualizationResponse" }
27210
28633
  },
28634
+ getUsage: { method: "GET", path: "/api/v1/usage", responses: { 200: "UsageResponse" } },
27211
28635
  getVerificationCertificate: {
27212
28636
  method: "GET",
27213
28637
  path: "/api/v1/verification/certificates/{id}",
27214
28638
  responses: { 200: "VerificationCertificateResponse" }
27215
28639
  },
28640
+ getWorkflow: { method: "GET", path: "/api/v1/workflows/{id}", responses: { 200: "WorkflowDto" } },
28641
+ getWorkflowRun: {
28642
+ method: "GET",
28643
+ path: "/api/v1/workflow-runs/{run_id}",
28644
+ responses: { 200: "WorkflowRunDto" }
28645
+ },
27216
28646
  gflownetSample: {
27217
28647
  method: "POST",
27218
28648
  path: "/api/v1/ilp/gflownet/sample",
@@ -27223,11 +28653,6 @@ var RESPONSE_OPERATIONS = {
27223
28653
  path: "/api/v1/visualization/lattice/glb-lub-trace",
27224
28654
  responses: { 200: "GlbLubComputationTrace" }
27225
28655
  },
27226
- globalIncrement: {
27227
- method: "POST",
27228
- path: "/api/v1/control/global/incr",
27229
- responses: { 200: "GlobalIncrementResponse" }
27230
- },
27231
28656
  goalResiduation: {
27232
28657
  method: "POST",
27233
28658
  path: "/api/v1/reasoning/goal-residuation",
@@ -27269,6 +28694,11 @@ var RESPONSE_OPERATIONS = {
27269
28694
  path: "/api/v1/speakers/identify",
27270
28695
  responses: { 200: "IdentifySpeakersResponse" }
27271
28696
  },
28697
+ importAgent: {
28698
+ method: "POST",
28699
+ path: "/api/v1/cognitive/agents/import",
28700
+ responses: { 201: "ImportAgentResponse" }
28701
+ },
27272
28702
  importAxioms: {
27273
28703
  method: "POST",
27274
28704
  path: "/api/v1/ontology/axioms/import",
@@ -27421,15 +28851,20 @@ var RESPONSE_OPERATIONS = {
27421
28851
  path: "/api/v1/ilp/learn",
27422
28852
  responses: { 200: "LearnPatternResponse" }
27423
28853
  },
28854
+ learnRelationalRules: {
28855
+ method: "POST",
28856
+ path: "/api/v1/ilp/learn-rules",
28857
+ responses: { 200: "LearnRulesResponse" }
28858
+ },
27424
28859
  learnSortSimilarities: {
27425
28860
  method: "POST",
27426
28861
  path: "/api/v1/sorts/learn-similarities",
27427
28862
  responses: { 200: "LearnSortSimilaritiesResponse" }
27428
28863
  },
27429
- list: {
27430
- method: "GET",
27431
- path: "/api/v1/ingest/rdf/uploads",
27432
- responses: { 200: { array: "Artifact" } }
28864
+ licenseExplorationSort: {
28865
+ method: "POST",
28866
+ path: "/api/v1/analysis/attribute-exploration/{session_id}/licences",
28867
+ responses: { 200: "SortLicenceResponseDto" }
27433
28868
  },
27434
28869
  listActionTypes: {
27435
28870
  method: "GET",
@@ -27441,6 +28876,11 @@ var RESPONSE_OPERATIONS = {
27441
28876
  path: "/api/v1/identities",
27442
28877
  responses: { 200: "AgentIdentityListResponse" }
27443
28878
  },
28879
+ listAgentRuns: {
28880
+ method: "GET",
28881
+ path: "/api/v1/cognitive/agents/{agent_id}/runs",
28882
+ responses: { 200: "AgentRunsResponse" }
28883
+ },
27444
28884
  listAgents: {
27445
28885
  method: "GET",
27446
28886
  path: "/api/v1/cognitive/agents",
@@ -27536,6 +28976,11 @@ var RESPONSE_OPERATIONS = {
27536
28976
  path: "/api/v1/pairing/policies",
27537
28977
  responses: { 200: "DmPoliciesResponse" }
27538
28978
  },
28979
+ listDocumentUploads: {
28980
+ method: "GET",
28981
+ path: "/api/v1/ingest/documents/uploads",
28982
+ responses: { 200: "DocumentUploadsResponse" }
28983
+ },
27539
28984
  listDocumentVersions: {
27540
28985
  method: "GET",
27541
28986
  path: "/api/v1/documents/{document_id}/versions",
@@ -27561,6 +29006,11 @@ var RESPONSE_OPERATIONS = {
27561
29006
  path: "/api/v1/audit/entries",
27562
29007
  responses: { 200: "ListAuditEntriesResponse" }
27563
29008
  },
29009
+ listEpistemicEntries: {
29010
+ method: "GET",
29011
+ path: "/api/v1/epistemic/entries",
29012
+ responses: { 200: "EpistemicEntriesResponse" }
29013
+ },
27564
29014
  listEvalFunctions: {
27565
29015
  method: "POST",
27566
29016
  path: "/api/v1/proof-engine/eval/functions",
@@ -27601,6 +29051,16 @@ var RESPONSE_OPERATIONS = {
27601
29051
  path: "/api/v1/ingest/sessions/{session_id}/incomplete",
27602
29052
  responses: { 200: "ListIncompleteDocumentsResponse" }
27603
29053
  },
29054
+ listInferenceJobs: {
29055
+ method: "GET",
29056
+ path: "/api/v1/inference/jobs",
29057
+ responses: { 200: "InferenceJobsResponse" }
29058
+ },
29059
+ listIngestSources: {
29060
+ method: "GET",
29061
+ path: "/api/v1/ingest/sources",
29062
+ responses: { 200: "SourcesResponse" }
29063
+ },
27604
29064
  listIngestionSessions: {
27605
29065
  method: "GET",
27606
29066
  path: "/api/v1/ingest/sessions",
@@ -27706,6 +29166,11 @@ var RESPONSE_OPERATIONS = {
27706
29166
  path: "/api/v1/preferences",
27707
29167
  responses: { 200: "ListPreferencesResponseDto" }
27708
29168
  },
29169
+ listRdfUploads: {
29170
+ method: "GET",
29171
+ path: "/api/v1/ingest/rdf/uploads",
29172
+ responses: { 200: { array: "Artifact" } }
29173
+ },
27709
29174
  listReasoningOperations: {
27710
29175
  method: "GET",
27711
29176
  path: "/api/v1/reasoning/operations",
@@ -27772,6 +29237,11 @@ var RESPONSE_OPERATIONS = {
27772
29237
  path: "/api/v1/speakers",
27773
29238
  responses: { 200: "ListSpeakersResponse" }
27774
29239
  },
29240
+ listSubscriptionDeliveries: {
29241
+ method: "GET",
29242
+ path: "/api/v1/subscriptions/{id}/deliveries",
29243
+ responses: { 200: "ListSubscriptionDeliveriesResponse" }
29244
+ },
27775
29245
  listSubscriptions: {
27776
29246
  method: "GET",
27777
29247
  path: "/api/v1/subscriptions",
@@ -27803,6 +29273,11 @@ var RESPONSE_OPERATIONS = {
27803
29273
  path: "/api/v1/continual-tuning/deployments",
27804
29274
  responses: { 200: "TuningDeploymentsResponse" }
27805
29275
  },
29276
+ listTuningExecutions: {
29277
+ method: "GET",
29278
+ path: "/api/v1/continual-tuning/executions",
29279
+ responses: { 200: "TuningExecutionsResponse" }
29280
+ },
27806
29281
  listTuningRuns: {
27807
29282
  method: "GET",
27808
29283
  path: "/api/v1/continual-tuning/runs",
@@ -27848,6 +29323,16 @@ var RESPONSE_OPERATIONS = {
27848
29323
  path: "/api/v1/plugins/wasm",
27849
29324
  responses: { 200: { array: "WasmPluginResponse" } }
27850
29325
  },
29326
+ listWorkflowRuns: {
29327
+ method: "GET",
29328
+ path: "/api/v1/workflows/{id}/runs",
29329
+ responses: { 200: "WorkflowRunListResponse" }
29330
+ },
29331
+ listWorkflows: {
29332
+ method: "GET",
29333
+ path: "/api/v1/workflows",
29334
+ responses: { 200: "WorkflowListResponse" }
29335
+ },
27851
29336
  markChoicePoint: {
27852
29337
  method: "POST",
27853
29338
  path: "/api/v1/execution/sessions/{session_id}/mark",
@@ -28076,16 +29561,16 @@ var RESPONSE_OPERATIONS = {
28076
29561
  path: "/api/v1/sorts/{id}/features/{feature}",
28077
29562
  responses: { 200: "SortFeatureEditResponse" }
28078
29563
  },
28079
- pause: {
28080
- method: "POST",
28081
- path: "/api/v1/ingest/rdf/uploads/{id}/pause",
28082
- responses: { 200: "PauseReceipt" }
28083
- },
28084
29564
  pauseAgentHandler: {
28085
29565
  method: "POST",
28086
29566
  path: "/api/v1/cognitive/agents/{agent_id}/pause",
28087
29567
  responses: { 200: "AgentStatusChangeResponse" }
28088
29568
  },
29569
+ pauseRdfUpload: {
29570
+ method: "POST",
29571
+ path: "/api/v1/ingest/rdf/uploads/{id}/pause",
29572
+ responses: { 200: "PauseReceipt" }
29573
+ },
28089
29574
  planStrategies: {
28090
29575
  method: "POST",
28091
29576
  path: "/api/v1/grounded-synthesis/strategies/plan",
@@ -28161,11 +29646,26 @@ var RESPONSE_OPERATIONS = {
28161
29646
  path: "/api/v1/marketplace/publish",
28162
29647
  responses: { 201: "PublishResponse" }
28163
29648
  },
29649
+ purgeAuditLedger: {
29650
+ method: "POST",
29651
+ path: "/api/v1/compliance/audit/purge",
29652
+ responses: { 200: "PurgeAuditResponse" }
29653
+ },
28164
29654
  pushGoal: {
28165
29655
  method: "POST",
28166
29656
  path: "/api/v1/execution/sessions/{session_id}/goals",
28167
29657
  responses: { 200: "PushGoalResponse" }
28168
29658
  },
29659
+ putAgentIdentity: {
29660
+ method: "PUT",
29661
+ path: "/api/v1/identities/{agent_id}",
29662
+ responses: { 200: "AgentIdentity" }
29663
+ },
29664
+ putDocumentUploadChunk: {
29665
+ method: "PUT",
29666
+ path: "/api/v1/ingest/documents/uploads/{id}",
29667
+ responses: { 200: "DocumentUploadChunkReceipt" }
29668
+ },
28169
29669
  putHookProgram: {
28170
29670
  method: "PUT",
28171
29671
  path: "/api/v1/hook-programs/{slug}",
@@ -28233,6 +29733,11 @@ var RESPONSE_OPERATIONS = {
28233
29733
  path: "/api/v1/channels/webhook",
28234
29734
  responses: { 200: "IncomingWebhookResponse" }
28235
29735
  },
29736
+ reconcileTuningExecution: {
29737
+ method: "POST",
29738
+ path: "/api/v1/continual-tuning/executions/{transaction_id}/reconcile",
29739
+ responses: { 200: "TuningExecutionDto" }
29740
+ },
28236
29741
  recordEpisode: {
28237
29742
  method: "POST",
28238
29743
  path: "/api/v1/cognitive/agents/episodes",
@@ -28258,11 +29763,21 @@ var RESPONSE_OPERATIONS = {
28258
29763
  path: "/api/v1/ingest/recover-stuck",
28259
29764
  responses: { 200: "RecoverStuckResponse" }
28260
29765
  },
29766
+ redriveSubscriptionDelivery: {
29767
+ method: "POST",
29768
+ path: "/api/v1/subscriptions/{id}/deliveries/{delivery_id}/redrive",
29769
+ responses: { 202: "SubscriptionDeliveryDto" }
29770
+ },
28261
29771
  reflectionQuery: {
28262
29772
  method: "POST",
28263
29773
  path: "/api/v1/cognitive/agents/reflect",
28264
29774
  responses: { 200: "ReflectionQueryResponse" }
28265
29775
  },
29776
+ refreshIngestSource: {
29777
+ method: "POST",
29778
+ path: "/api/v1/ingest/sources/{id}/refresh",
29779
+ responses: { 200: "RefreshSourceResponse" }
29780
+ },
28266
29781
  refute: { method: "POST", path: "/api/v1/ltn/refute", responses: { 200: "LtnRefuteResponse" } },
28267
29782
  refuteEstimate: {
28268
29783
  method: "POST",
@@ -28279,6 +29794,11 @@ var RESPONSE_OPERATIONS = {
28279
29794
  path: "/api/v1/admin/packs/base",
28280
29795
  responses: { 200: "RegisterBasePackResponse" }
28281
29796
  },
29797
+ registerChannelAdapter: {
29798
+ method: "POST",
29799
+ path: "/api/v1/channels/adapters",
29800
+ responses: { 201: "RegisteredAdapterDto" }
29801
+ },
28282
29802
  registerChannelRoute: {
28283
29803
  method: "POST",
28284
29804
  path: "/api/v1/channels/routes",
@@ -28294,6 +29814,7 @@ var RESPONSE_OPERATIONS = {
28294
29814
  path: "/api/v1/functions/register",
28295
29815
  responses: { 200: "RegisterFunctionResponse" }
28296
29816
  },
29817
+ registerSkill: { method: "POST", path: "/api/v1/skills", responses: { 201: "SkillSummaryDto" } },
28297
29818
  registerSource: {
28298
29819
  method: "POST",
28299
29820
  path: "/api/v1/sources",
@@ -28394,6 +29915,16 @@ var RESPONSE_OPERATIONS = {
28394
29915
  path: "/api/v1/inference/rules/{id}",
28395
29916
  responses: { 200: "ReplaceRuleResponse" }
28396
29917
  },
29918
+ replaceWorkflow: {
29919
+ method: "PUT",
29920
+ path: "/api/v1/workflows/{id}",
29921
+ responses: { 200: "WorkflowDto" }
29922
+ },
29923
+ replayPatternExplanation: {
29924
+ method: "POST",
29925
+ path: "/api/v1/analysis/pattern-proposals/explanations/replay",
29926
+ responses: { 200: "PatternReplayResponse" }
29927
+ },
28397
29928
  reprocessFailedDocuments: {
28398
29929
  method: "POST",
28399
29930
  path: "/api/v1/ingest/reprocess-failed",
@@ -28666,6 +30197,11 @@ var RESPONSE_OPERATIONS = {
28666
30197
  path: "/api/v1/cognitive/agents/action-review-config",
28667
30198
  responses: { 200: "SetActionReviewConfigResponse" }
28668
30199
  },
30200
+ setAuditRetention: {
30201
+ method: "PUT",
30202
+ path: "/api/v1/compliance/audit/retention",
30203
+ responses: { 200: "RetentionPolicy" }
30204
+ },
28669
30205
  setCompetencyQuestionStatus: {
28670
30206
  method: "PATCH",
28671
30207
  path: "/api/v1/ontology/competency-questions/{key}",
@@ -28676,6 +30212,11 @@ var RESPONSE_OPERATIONS = {
28676
30212
  path: "/api/v1/pairing/policies/{platform}/{channel_id}",
28677
30213
  responses: { 200: "DmPolicyDto" }
28678
30214
  },
30215
+ setEmergencyStop: {
30216
+ method: "POST",
30217
+ path: "/api/v1/emergency-stop",
30218
+ responses: { 200: "EmergencyStopStatus" }
30219
+ },
28679
30220
  setFuzzySubsumption: {
28680
30221
  method: "POST",
28681
30222
  path: "/api/v1/sorts/subsumption",
@@ -28706,6 +30247,11 @@ var RESPONSE_OPERATIONS = {
28706
30247
  path: "/api/v1/continual-tuning/kill-switch",
28707
30248
  responses: { 200: "KillSwitchResponse" }
28708
30249
  },
30250
+ setUsageLimits: {
30251
+ method: "PUT",
30252
+ path: "/api/v1/usage/limits",
30253
+ responses: { 200: "UsageLimitsDto" }
30254
+ },
28709
30255
  simulateHeartbeat: {
28710
30256
  method: "POST",
28711
30257
  path: "/api/v1/heartbeat/simulate",
@@ -28726,11 +30272,17 @@ var RESPONSE_OPERATIONS = {
28726
30272
  path: "/api/v1/flow-networks/{network_id}/solve",
28727
30273
  responses: { 200: "SolveFlowNetworkResponse" }
28728
30274
  },
30275
+ solveMaxsat: { method: "POST", path: "/api/v1/sat/maxsat", responses: { 200: "MaxSatResponse" } },
28729
30276
  solveProblem: {
28730
30277
  method: "POST",
28731
30278
  path: "/api/v1/solver/solve",
28732
30279
  responses: { 200: "SolveProblemResponse" }
28733
30280
  },
30281
+ solveProductionPlan: {
30282
+ method: "POST",
30283
+ path: "/api/v1/lp/production-plan",
30284
+ responses: { 200: "ProductionPlanResponse" }
30285
+ },
28734
30286
  solveSat: { method: "POST", path: "/api/v1/sat/solve", responses: { 200: "SatSolveResponse" } },
28735
30287
  solverHealth: {
28736
30288
  method: "GET",
@@ -28757,6 +30309,11 @@ var RESPONSE_OPERATIONS = {
28757
30309
  path: "/api/v1/connectors/manage/{name}/connect",
28758
30310
  responses: { 200: "OAuthStartResponse" }
28759
30311
  },
30312
+ startWorkflowRun: {
30313
+ method: "POST",
30314
+ path: "/api/v1/workflows/{id}/runs",
30315
+ responses: { 201: "WorkflowRunDto" }
30316
+ },
28760
30317
  stopAgentHandler: {
28761
30318
  method: "POST",
28762
30319
  path: "/api/v1/cognitive/agents/{agent_id}/stop",
@@ -28803,6 +30360,11 @@ var RESPONSE_OPERATIONS = {
28803
30360
  path: "/api/v1/thomas/study",
28804
30361
  responses: { 200: "ThomasStudyResponse" }
28805
30362
  },
30363
+ subjectEpistemicEntries: {
30364
+ method: "GET",
30365
+ path: "/api/v1/epistemic/subjects/{id}",
30366
+ responses: { 200: "EpistemicEntriesResponse" }
30367
+ },
28806
30368
  submitCandidate: {
28807
30369
  method: "POST",
28808
30370
  path: "/api/v1/vocabulary/candidates/{candidate_id}/submit",
@@ -28813,6 +30375,11 @@ var RESPONSE_OPERATIONS = {
28813
30375
  path: "/api/v1/conversation/{id}/feedback",
28814
30376
  responses: { 200: "ConversationAnswerFeedbackResponseDto" }
28815
30377
  },
30378
+ submitInferenceJob: {
30379
+ method: "POST",
30380
+ path: "/api/v1/inference/jobs",
30381
+ responses: { 202: "SubmitInferenceJobResponse" }
30382
+ },
28816
30383
  subscribeToKb: {
28817
30384
  method: "POST",
28818
30385
  path: "/api/v1/cognitive/agents/subscribe",
@@ -28962,6 +30529,11 @@ var RESPONSE_OPERATIONS = {
28962
30529
  path: "/api/v1/proof-engine/term-store/sessions/{session_id}/unify",
28963
30530
  responses: { 200: "UnifyTermsResponse" }
28964
30531
  },
30532
+ updateAgent: {
30533
+ method: "PUT",
30534
+ path: "/api/v1/cognitive/agents/{agent_id}",
30535
+ responses: { 200: "UpdateAgentResponse" }
30536
+ },
28965
30537
  updatePlanStats: {
28966
30538
  method: "POST",
28967
30539
  path: "/api/v1/cognitive/agents/plans/stats",
@@ -28988,6 +30560,11 @@ var RESPONSE_OPERATIONS = {
28988
30560
  path: "/api/v1/marketplace/installs/{install_id}/upgrade",
28989
30561
  responses: { 200: "InstallResponse" }
28990
30562
  },
30563
+ uploadRdfChunk: {
30564
+ method: "PUT",
30565
+ path: "/api/v1/ingest/rdf/uploads/{id}",
30566
+ responses: { 200: "ChunkReceipt" }
30567
+ },
28991
30568
  uploadSourceFile: {
28992
30569
  method: "POST",
28993
30570
  path: "/api/v1/sources/files",
@@ -29008,11 +30585,21 @@ var RESPONSE_OPERATIONS = {
29008
30585
  path: "/api/v1/causal/validate-did",
29009
30586
  responses: { 200: "DiDValidationResponse" }
29010
30587
  },
30588
+ validatePatternProposals: {
30589
+ method: "POST",
30590
+ path: "/api/v1/analysis/pattern-proposals/validate",
30591
+ responses: { 200: "PatternValidationResponse" }
30592
+ },
29011
30593
  validateRule: {
29012
30594
  method: "POST",
29013
30595
  path: "/api/v1/inference/rules/validate",
29014
30596
  responses: { 200: "RuleValidationResponse" }
29015
30597
  },
30598
+ validateSnapshot: {
30599
+ method: "POST",
30600
+ path: "/api/v1/predictions/snapshot/{id}/validate",
30601
+ responses: { 200: "ValidationReportDto" }
30602
+ },
29016
30603
  validateStub: {
29017
30604
  method: "POST",
29018
30605
  path: "/api/v1/predictions/snapshot/{id}/validate-stub",
@@ -29038,6 +30625,11 @@ var RESPONSE_OPERATIONS = {
29038
30625
  path: "/api/v1/compliance/audit/verify",
29039
30626
  responses: { 200: "VerifyResponse" }
29040
30627
  },
30628
+ verifyDsr: {
30629
+ method: "POST",
30630
+ path: "/api/v1/dsr/{id}/verify",
30631
+ responses: { 200: "DsrRecordResponse" }
30632
+ },
29041
30633
  verifyFaithfulness: {
29042
30634
  method: "POST",
29043
30635
  path: "/api/v1/synthetic/verify-faithfulness",
@@ -31566,8 +33158,46 @@ function SolutionDtoFromApiToFront(dto) {
31566
33158
  dto.score_decomposition
31567
33159
  );
31568
33160
  }
33161
+ if (dto.null_moment !== void 0) solution.nullMoment = dto.null_moment;
33162
+ if (dto.residuated_antecedents !== void 0) {
33163
+ solution.residuatedAntecedents = dto.residuated_antecedents.map((a) => {
33164
+ const antecedent = { sort: a.sort, llr: a.llr };
33165
+ if (a.freq !== void 0) antecedent.freq = a.freq;
33166
+ if (a.absence !== void 0) antecedent.absence = a.absence;
33167
+ return antecedent;
33168
+ });
33169
+ }
31569
33170
  return solution;
31570
33171
  }
33172
+ function WhyNotFromApiToFront(dto) {
33173
+ return {
33174
+ goalSort: dto.goal_sort,
33175
+ summary: dto.summary,
33176
+ factsOfSort: dto.facts_of_sort,
33177
+ nearestFact: dto.nearest_fact == null ? dto.nearest_fact : {
33178
+ termId: dto.nearest_fact.term_id,
33179
+ matched: dto.nearest_fact.matched,
33180
+ mismatches: dto.nearest_fact.mismatches.map((m) => ({
33181
+ feature: m.feature,
33182
+ expected: m.expected,
33183
+ actual: m.actual
33184
+ }))
33185
+ },
33186
+ rules: dto.rules.map((r) => ({
33187
+ ruleId: r.rule_id,
33188
+ headSort: r.head_sort,
33189
+ blockedBy: r.blocked_by.map((p) => ({
33190
+ sort: p.sort,
33191
+ features: Object.fromEntries(
33192
+ Object.entries(p.features).filter(
33193
+ (entry) => entry[1] !== void 0
33194
+ )
33195
+ )
33196
+ })),
33197
+ jointlyUnsatisfied: r.jointly_unsatisfied
33198
+ }))
33199
+ };
33200
+ }
31571
33201
  function ConstraintInputDtoFromFrontToApi(model) {
31572
33202
  switch (model.type) {
31573
33203
  case "Guard":
@@ -31599,6 +33229,7 @@ function BackwardChainResponseFromApiToFront(dto) {
31599
33229
  if (dto.open_world_search != null) {
31600
33230
  out.openWorldSearch = OpenWorldSearchCompletionFromApiToFront(dto.open_world_search);
31601
33231
  }
33232
+ if (dto.why_not != null) out.whyNot = WhyNotFromApiToFront(dto.why_not);
31602
33233
  return out;
31603
33234
  }
31604
33235
  function ForwardChainResponseFromApiToFront(dto) {
@@ -31702,6 +33333,14 @@ function FuzzyProveResponseFromApiToFront(dto) {
31702
33333
  if (dto.open_world_search != null) {
31703
33334
  out.openWorldSearch = OpenWorldSearchCompletionFromApiToFront(dto.open_world_search);
31704
33335
  }
33336
+ if (dto.next_questions !== void 0) {
33337
+ out.nextQuestions = dto.next_questions.map((q) => ({
33338
+ sort: q.sort,
33339
+ informationGain: q.information_gain,
33340
+ pYes: q.p_yes,
33341
+ overCandidates: q.over_candidates
33342
+ }));
33343
+ }
31705
33344
  return out;
31706
33345
  }
31707
33346
  function isStringRecord(value) {
@@ -32143,7 +33782,8 @@ function BackwardChainRequestFromFrontToApi(model) {
32143
33782
  max_solutions: model.maxSolutions,
32144
33783
  min_certainty: model.minCertainty,
32145
33784
  timeout_ms: model.timeoutMs ?? void 0,
32146
- constraints: model.constraints?.map(ConstraintInputDtoFromFrontToApi)
33785
+ constraints: model.constraints?.map(ConstraintInputDtoFromFrontToApi),
33786
+ explain_failure: model.explainFailure
32147
33787
  };
32148
33788
  }
32149
33789
  function ForwardChainRequestFromFrontToApi(model) {
@@ -32170,7 +33810,10 @@ function FuzzyProveRequestFromFrontToApi(model) {
32170
33810
  tnorm: model.tnorm,
32171
33811
  scope: model.scope,
32172
33812
  seal: model.seal,
32173
- kb_data_version: model.kbDataVersion
33813
+ kb_data_version: model.kbDataVersion,
33814
+ next_questions: model.nextQuestions,
33815
+ asked_sorts: model.askedSorts,
33816
+ require_scope_features: model.requireScopeFeatures
32174
33817
  };
32175
33818
  }
32176
33819
  function BulkFuzzyProveRequestFromFrontToApi(model) {
@@ -37792,7 +39435,15 @@ function DmlAteRequestFromFrontToApi(model) {
37792
39435
  learner: model.learner,
37793
39436
  observations: model.observations.map(ContinuousObservationDtoFromFrontToApi),
37794
39437
  repetitions: model.repetitions,
37795
- seed: model.seed
39438
+ seed: model.seed,
39439
+ ...model.fromKb !== void 0 ? {
39440
+ from_kb: model.fromKb === null ? null : {
39441
+ sort: model.fromKb.sort,
39442
+ treatment: model.fromKb.treatment,
39443
+ outcome: model.fromKb.outcome,
39444
+ ...model.fromKb.covariates !== void 0 ? { covariates: model.fromKb.covariates } : {}
39445
+ }
39446
+ } : {}
37796
39447
  };
37797
39448
  }
37798
39449
  function DoublyRobustCertificateDtoFromApiToFront(dto) {
@@ -39098,6 +40749,7 @@ function IngestionConfigDtoFromFrontToApi(model) {
39098
40749
  enable_document_enrichment: model.enableDocumentEnrichment,
39099
40750
  enable_entity_filtering: model.enableEntityFiltering,
39100
40751
  enable_evidence_enrichment: model.enableEvidenceEnrichment,
40752
+ enable_fca_discovery: model.enableFcaDiscovery,
39101
40753
  enable_focused_extraction: model.enableFocusedExtraction,
39102
40754
  enable_llm_coreference: model.enableLlmCoreference,
39103
40755
  enable_schema_discovery: model.enableSchemaDiscovery,
@@ -39294,7 +40946,26 @@ function IngestionStatsDtoFromApiToFront(dto) {
39294
40946
  sortsReused: dto.sorts_reused,
39295
40947
  sotaExtractionGate: dto.sota_extraction_gate ? SotaExtractionGateStatsDtoFromApiToFront(dto.sota_extraction_gate) : void 0,
39296
40948
  termIds: dto.term_ids,
39297
- tokenUsage: dto.token_usage ? TokenUsageDtoFromApiToFront(dto.token_usage) : void 0
40949
+ tokenUsage: dto.token_usage ? TokenUsageDtoFromApiToFront(dto.token_usage) : void 0,
40950
+ fcaDiscovery: dto.fca_discovery ? FcaIngestionReportFromApiToFront(dto.fca_discovery) : void 0
40951
+ };
40952
+ }
40953
+ function FcaIngestionReportFromApiToFront(dto) {
40954
+ return {
40955
+ analysedTerms: dto.analysed_terms,
40956
+ inputComplete: dto.input_complete,
40957
+ searchComplete: dto.search_complete,
40958
+ stopReason: dto.stop_reason,
40959
+ conceptsEnumerated: dto.concepts_enumerated,
40960
+ conceptsMatchingExisting: dto.concepts_matching_existing,
40961
+ recommendations: dto.recommendations.map((r) => ({
40962
+ sortName: r.sort_name,
40963
+ features: r.features,
40964
+ termCount: r.term_count,
40965
+ confidence: r.confidence,
40966
+ parentSort: r.parent_sort
40967
+ })),
40968
+ refusal: dto.refusal
39298
40969
  };
39299
40970
  }
39300
40971
  function ParsedDocumentMetadataDtoFromApiToFront(dto) {
@@ -41406,7 +43077,7 @@ var IngestionClient = class {
41406
43077
  * ```
41407
43078
  */
41408
43079
  async createRdfUpload(request, requestOptions) {
41409
- const response = await this.api.create(
43080
+ const response = await this.api.createRdfUpload(
41410
43081
  CreateRdfUploadRequestFromFrontToApi(request),
41411
43082
  toRequestParams(requestOptions)
41412
43083
  );
@@ -41432,7 +43103,7 @@ var IngestionClient = class {
41432
43103
  * ```
41433
43104
  */
41434
43105
  async listRdfUploads(requestOptions) {
41435
- const response = await this.api.list(toRequestParams(requestOptions));
43106
+ const response = await this.api.listRdfUploads(toRequestParams(requestOptions));
41436
43107
  return decodeResponse(response, (dto) => dto.map(RdfUploadFromApiToFront));
41437
43108
  }
41438
43109
  /**
@@ -41457,7 +43128,7 @@ var IngestionClient = class {
41457
43128
  * ```
41458
43129
  */
41459
43130
  async getRdfUpload(id, requestOptions) {
41460
- const response = await this.api.get(id, toRequestParams(requestOptions));
43131
+ const response = await this.api.getRdfUpload(id, toRequestParams(requestOptions));
41461
43132
  return decodeResponse(response, RdfUploadFromApiToFront);
41462
43133
  }
41463
43134
  /**
@@ -41540,7 +43211,7 @@ var IngestionClient = class {
41540
43211
  * ```
41541
43212
  */
41542
43213
  async completeRdfUpload(id, requestOptions) {
41543
- const response = await this.api.complete(id, toRequestParams(requestOptions));
43214
+ const response = await this.api.completeRdfUpload(id, toRequestParams(requestOptions));
41544
43215
  return decodeResponse(response, RdfUploadFromApiToFront);
41545
43216
  }
41546
43217
  /**
@@ -41568,7 +43239,7 @@ var IngestionClient = class {
41568
43239
  * ```
41569
43240
  */
41570
43241
  async pauseRdfUpload(id, requestOptions) {
41571
- const response = await this.api.pause(id, toRequestParams(requestOptions));
43242
+ const response = await this.api.pauseRdfUpload(id, toRequestParams(requestOptions));
41572
43243
  return decodeResponse(response, RdfUploadPauseReceiptFromApiToFront);
41573
43244
  }
41574
43245
  };
@@ -42682,7 +44353,15 @@ function ResourceCoordinationRequestFromFrontToApi(model) {
42682
44353
  return {
42683
44354
  compatibility_threshold: model.compatibilityThreshold,
42684
44355
  num_selections: model.numSelections,
42685
- resources: model.resources.map(ResourceSpecFromFrontToApi)
44356
+ resources: model.resources.map(ResourceSpecFromFrontToApi),
44357
+ ...model.rules !== void 0 ? {
44358
+ rules: model.rules.map((r) => ({
44359
+ from: r.from,
44360
+ from_field: r.fromField,
44361
+ to: r.to,
44362
+ to_field: r.toField
44363
+ }))
44364
+ } : {}
42686
44365
  };
42687
44366
  }
42688
44367
  function CoordinatedResourceSetFromApiToFront(dto) {
@@ -43459,161 +45138,6 @@ function SymbolDtoFromApiToFront(dto) {
43459
45138
  visibility: dto.visibility
43460
45139
  };
43461
45140
  }
43462
- function BacktrackableAssignRequestFromFrontToApi(model) {
43463
- return {
43464
- session_id: model.sessionId,
43465
- term_id: model.termId,
43466
- feature_name: model.featureName,
43467
- new_value: AssignValueDtoFromFrontToApi(model.newValue)
43468
- };
43469
- }
43470
- function BacktrackableAssignResponseFromApiToFront(dto) {
43471
- return {
43472
- featureName: dto.feature_name,
43473
- previousValue: dto.previous_value ? AssignValueDtoFromApiToFront(dto.previous_value) : dto.previous_value ?? void 0,
43474
- termId: dto.term_id,
43475
- trailEntryAdded: dto.trail_entry_added
43476
- };
43477
- }
43478
- function GlobalAssignRequestFromFrontToApi(model) {
43479
- return {
43480
- session_id: model.sessionId,
43481
- variable_name: model.variableName,
43482
- value: AssignValueDtoFromFrontToApi(model.value)
43483
- };
43484
- }
43485
- function GlobalAssignResponseFromApiToFront(dto) {
43486
- return {
43487
- previousValue: dto.previous_value ? AssignValueDtoFromApiToFront(dto.previous_value) : dto.previous_value ?? void 0,
43488
- variableName: dto.variable_name
43489
- };
43490
- }
43491
- function CallOnceRequestFromFrontToApi(model) {
43492
- return {
43493
- session_id: model.sessionId,
43494
- goal: model.goal
43495
- };
43496
- }
43497
- function CallOnceResponseFromApiToFront(dto) {
43498
- return {
43499
- choicePointsCut: dto.choice_points_cut,
43500
- success: dto.success
43501
- };
43502
- }
43503
- function CondRequestFromFrontToApi(model) {
43504
- return {
43505
- session_id: model.sessionId,
43506
- condition: model.condition,
43507
- then_goal: model.thenGoal,
43508
- else_goal: model.elseGoal
43509
- };
43510
- }
43511
- function CondResponseFromApiToFront(dto) {
43512
- return {
43513
- branchExecuted: dto.branch_executed,
43514
- conditionSucceeded: dto.condition_succeeded,
43515
- success: dto.success
43516
- };
43517
- }
43518
- function CutRequestFromFrontToApi(model) {
43519
- return {
43520
- session_id: model.sessionId
43521
- };
43522
- }
43523
- function CutResponseFromApiToFront(dto) {
43524
- return {
43525
- choicePointsRemoved: dto.choice_points_removed
43526
- };
43527
- }
43528
- function FindallRequestFromFrontToApi(model) {
43529
- return {
43530
- session_id: model.sessionId,
43531
- template: model.template,
43532
- goal: model.goal,
43533
- max_solutions: model.maxSolutions
43534
- };
43535
- }
43536
- function FindallResponseFromApiToFront(dto) {
43537
- return {
43538
- count: dto.count,
43539
- solutions: dto.solutions
43540
- };
43541
- }
43542
- function ForallRequestFromFrontToApi(model) {
43543
- return {
43544
- session_id: model.sessionId,
43545
- generator: model.generator,
43546
- test: model.test
43547
- };
43548
- }
43549
- function ForallResponseFromApiToFront(dto) {
43550
- return {
43551
- result: dto.result,
43552
- solutionsTested: dto.solutions_tested
43553
- };
43554
- }
43555
- function GlobalGetRequestFromFrontToApi(model) {
43556
- return {
43557
- session_id: model.sessionId,
43558
- variable_name: model.variableName
43559
- };
43560
- }
43561
- function GlobalGetResponseFromApiToFront(dto) {
43562
- if (dto.status === "found") {
43563
- return {
43564
- status: "found",
43565
- value: AssignValueDtoFromApiToFront(dto.value)
43566
- };
43567
- }
43568
- return {
43569
- status: "not_found",
43570
- variableName: dto.variable_name
43571
- };
43572
- }
43573
- function GlobalIncrementRequestFromFrontToApi(model) {
43574
- return {
43575
- session_id: model.sessionId,
43576
- variable_name: model.variableName
43577
- };
43578
- }
43579
- function GlobalIncrementResponseFromApiToFront(dto) {
43580
- return {
43581
- newValue: dto.new_value,
43582
- variableName: dto.variable_name
43583
- };
43584
- }
43585
- function ImpliesRequestFromFrontToApi(model) {
43586
- return {
43587
- session_id: model.sessionId,
43588
- antecedent: model.antecedent,
43589
- consequent: model.consequent
43590
- };
43591
- }
43592
- function ImpliesResponseFromApiToFront(dto) {
43593
- return {
43594
- antecedentSucceeded: dto.antecedent_succeeded,
43595
- consequentSucceeded: dto.consequent_succeeded,
43596
- result: dto.result
43597
- };
43598
- }
43599
- function ControlNafRequestFromFrontToApi(model) {
43600
- return {
43601
- session_id: model.sessionId,
43602
- goal: model.goal
43603
- };
43604
- }
43605
- function UndoRequestFromFrontToApi(model) {
43606
- return {
43607
- session_id: model.sessionId,
43608
- goal: model.goal
43609
- };
43610
- }
43611
- function UndoResponseFromApiToFront(dto) {
43612
- return {
43613
- trailPosition: dto.trail_position,
43614
- undoId: dto.undo_id
43615
- };
43616
- }
43617
45141
  function CreateModuleRequestFromFrontToApi(model) {
43618
45142
  return {
43619
45143
  name: model.name,
@@ -43702,162 +45226,6 @@ var ControlClient = class {
43702
45226
  constructor(api) {
43703
45227
  this.api = api;
43704
45228
  }
43705
- /**
43706
- * Perform backtrackable assignment.
43707
- *
43708
- * @param request - Assignment request with term, feature, and value.
43709
- * @returns Assignment result with trail entry status.
43710
- */
43711
- async backtrackableAssign(request, requestOptions) {
43712
- const response = await this.api.assignBacktrackable(
43713
- BacktrackableAssignRequestFromFrontToApi(request),
43714
- toRequestParams(requestOptions)
43715
- );
43716
- return decodeResponse(response, BacktrackableAssignResponseFromApiToFront);
43717
- }
43718
- /**
43719
- * Perform global assignment (persists across backtracking).
43720
- *
43721
- * @param request - Global assignment request.
43722
- * @returns Assignment result with previous value.
43723
- */
43724
- async globalAssign(request, requestOptions) {
43725
- const response = await this.api.assignGlobal(
43726
- GlobalAssignRequestFromFrontToApi(request),
43727
- toRequestParams(requestOptions)
43728
- );
43729
- return decodeResponse(response, GlobalAssignResponseFromApiToFront);
43730
- }
43731
- /**
43732
- * Execute a goal once with cut (deterministic).
43733
- *
43734
- * @param request - Call-once request with goal.
43735
- * @returns Result with success status and choice points cut.
43736
- */
43737
- async callOnce(request, requestOptions) {
43738
- const response = await this.api.controlCallOnce(
43739
- CallOnceRequestFromFrontToApi(request),
43740
- toRequestParams(requestOptions)
43741
- );
43742
- return decodeResponse(response, CallOnceResponseFromApiToFront);
43743
- }
43744
- /**
43745
- * Execute conditional (if-then-else).
43746
- *
43747
- * @param request - Conditional request with condition, then, and else goals.
43748
- * @returns Result with branch executed and success status.
43749
- */
43750
- async cond(request, requestOptions) {
43751
- const response = await this.api.controlCond(
43752
- CondRequestFromFrontToApi(request),
43753
- toRequestParams(requestOptions)
43754
- );
43755
- return decodeResponse(response, CondResponseFromApiToFront);
43756
- }
43757
- /**
43758
- * Perform Prolog-style cut (discard choice points).
43759
- *
43760
- * @param request - Cut request with session ID.
43761
- * @returns Number of choice points removed.
43762
- */
43763
- async cut(request, requestOptions) {
43764
- const response = await this.api.controlCut(
43765
- CutRequestFromFrontToApi(request),
43766
- toRequestParams(requestOptions)
43767
- );
43768
- return decodeResponse(response, CutResponseFromApiToFront);
43769
- }
43770
- /**
43771
- * Collect all solutions for a goal (findall).
43772
- *
43773
- * @param request - Findall request with template, goal, and optional max.
43774
- * @returns Collected solutions and count.
43775
- */
43776
- async findall(request, requestOptions) {
43777
- const response = await this.api.controlFindall(
43778
- FindallRequestFromFrontToApi(request),
43779
- toRequestParams(requestOptions)
43780
- );
43781
- return decodeResponse(response, FindallResponseFromApiToFront);
43782
- }
43783
- /**
43784
- * Universal quantification (forall).
43785
- *
43786
- * @param request - Forall request with generator and test goals.
43787
- * @returns Result and number of solutions tested.
43788
- */
43789
- async forall(request, requestOptions) {
43790
- const response = await this.api.controlForall(
43791
- ForallRequestFromFrontToApi(request),
43792
- toRequestParams(requestOptions)
43793
- );
43794
- return decodeResponse(response, ForallResponseFromApiToFront);
43795
- }
43796
- /**
43797
- * Get a global variable value.
43798
- *
43799
- * @param request - Get request with session ID and variable name.
43800
- * @returns The global variable value or not-found status.
43801
- */
43802
- async globalGet(request, requestOptions) {
43803
- const response = await this.api.globalGet(
43804
- GlobalGetRequestFromFrontToApi(request),
43805
- toRequestParams(requestOptions)
43806
- );
43807
- return decodeResponse(response, GlobalGetResponseFromApiToFront);
43808
- }
43809
- /**
43810
- * Increment a global counter variable.
43811
- *
43812
- * @param request - Increment request with session ID and variable name.
43813
- * @returns New value and variable name.
43814
- */
43815
- async globalIncrement(request, requestOptions) {
43816
- const response = await this.api.globalIncrement(
43817
- GlobalIncrementRequestFromFrontToApi(request),
43818
- toRequestParams(requestOptions)
43819
- );
43820
- return decodeResponse(response, GlobalIncrementResponseFromApiToFront);
43821
- }
43822
- /**
43823
- * Execute implies (A -> B).
43824
- *
43825
- * @param request - Implies request with antecedent and consequent.
43826
- * @returns Implication result.
43827
- */
43828
- async implies(request, requestOptions) {
43829
- const response = await this.api.controlImplies(
43830
- ImpliesRequestFromFrontToApi(request),
43831
- toRequestParams(requestOptions)
43832
- );
43833
- return decodeResponse(response, ImpliesResponseFromApiToFront);
43834
- }
43835
- /**
43836
- * Negation as failure (low-level control).
43837
- *
43838
- * @param request - NAF request with goal.
43839
- * @returns Whether the goal failed (negation succeeded).
43840
- */
43841
- async naf(request, requestOptions) {
43842
- const response = await this.api.controlNaf(
43843
- ControlNafRequestFromFrontToApi(request),
43844
- toRequestParams(requestOptions)
43845
- );
43846
- return decodeResponse(response, (dto) => dto);
43847
- }
43848
- /**
43849
- * Register an undo goal (execute on backtracking).
43850
- *
43851
- * @param request - Undo request with goal.
43852
- * @returns Undo ID and trail position.
43853
- */
43854
- async undo(request, requestOptions) {
43855
- const response = await this.api.controlUndo(
43856
- UndoRequestFromFrontToApi(request),
43857
- toRequestParams(requestOptions)
43858
- );
43859
- return decodeResponse(response, UndoResponseFromApiToFront);
43860
- }
43861
45229
  // --- Module System ---
43862
45230
  /**
43863
45231
  * Create a module.
@@ -48213,7 +49581,68 @@ function SortRegistrationFromApiToFront(dto) {
48213
49581
  sortName: dto.sort_name,
48214
49582
  created: dto.created,
48215
49583
  sortId: dto.sort_id,
48216
- error: dto.error
49584
+ error: dto.error,
49585
+ realizedMembers: dto.realized_members
49586
+ };
49587
+ }
49588
+ function DiscoveryInterpretationFromApiToFront(dto) {
49589
+ return {
49590
+ kind: dto.kind,
49591
+ complete: dto.complete,
49592
+ scaledAttributeCount: dto.scaled_attribute_count,
49593
+ unscaledValueCount: dto.unscaled_value_count,
49594
+ truncated: dto.truncated
49595
+ };
49596
+ }
49597
+ function ScaleSchemeFromFrontToApi(model) {
49598
+ switch (model.kind) {
49599
+ case "nominal":
49600
+ return { kind: "nominal" };
49601
+ case "interordinal":
49602
+ return { kind: "interordinal", thresholds: model.thresholds };
49603
+ case "prefix":
49604
+ return {
49605
+ kind: "prefix",
49606
+ separator: model.separator,
49607
+ depths: model.depths,
49608
+ ...model.reverse !== void 0 ? { reverse: model.reverse } : {}
49609
+ };
49610
+ case "interval":
49611
+ return { kind: "interval", edges: model.edges };
49612
+ }
49613
+ }
49614
+ function DiscoverySemanticsFromFrontToApi(model) {
49615
+ switch (model.kind) {
49616
+ case "schema_presence":
49617
+ return { kind: "schema_presence" };
49618
+ case "scaled":
49619
+ return {
49620
+ kind: "scaled",
49621
+ schemes: Object.fromEntries(
49622
+ Object.entries(model.schemes).map(([feature, scheme]) => [
49623
+ feature,
49624
+ ScaleSchemeFromFrontToApi(scheme)
49625
+ ])
49626
+ ),
49627
+ ...model.maxAttributes !== void 0 ? { max_attributes: model.maxAttributes } : {}
49628
+ };
49629
+ case "native_predicates":
49630
+ return {
49631
+ kind: "native_predicates",
49632
+ predicates: model.predicates.map((p) => ({ name: p.name, pattern_root: p.patternRoot })),
49633
+ ...model.alpha !== void 0 ? { alpha: model.alpha } : {},
49634
+ ...model.version !== void 0 ? { version: model.version } : {}
49635
+ };
49636
+ }
49637
+ }
49638
+ function ExplorationPublicationFromApiToFront(dto) {
49639
+ return {
49640
+ policy: dto.policy,
49641
+ licenceRecord: dto.licence_record,
49642
+ populationRecord: dto.population_record,
49643
+ scopeMembers: dto.scope_members,
49644
+ subjectSortIds: dto.subject_sort_ids,
49645
+ installedRules: dto.installed_rules
48217
49646
  };
48218
49647
  }
48219
49648
  function ExplorationSearchReportFromApiToFront(dto) {
@@ -48244,7 +49673,9 @@ function SortDiscoveryRequestFromFrontToApi(model) {
48244
49673
  fuzzy_thresholds: model.fuzzyThresholds,
48245
49674
  max_source_scan: model.maxSourceScan,
48246
49675
  max_visited_concepts: model.maxVisitedConcepts,
48247
- max_work: model.maxWork
49676
+ max_work: model.maxWork,
49677
+ ...model.termIds !== void 0 ? { term_ids: model.termIds } : {},
49678
+ ...model.semantics !== void 0 ? { semantics: DiscoverySemanticsFromFrontToApi(model.semantics) } : {}
48248
49679
  };
48249
49680
  }
48250
49681
  function SortDiscoveryResponseFromApiToFront(dto) {
@@ -48262,6 +49693,7 @@ function SortDiscoveryResponseFromApiToFront(dto) {
48262
49693
  inputComplete: dto.input_complete,
48263
49694
  inputStopReason: dto.input_stop_reason,
48264
49695
  search: FcaSearchSummaryFromApiToFront(dto.search),
49696
+ interpretation: DiscoveryInterpretationFromApiToFront(dto.interpretation),
48265
49697
  registrations: dto.registrations.map(SortRegistrationFromApiToFront)
48266
49698
  };
48267
49699
  }
@@ -48272,6 +49704,7 @@ function StartExplorationRequestFromFrontToApi(model) {
48272
49704
  min_intent_size: model.minIntentSize,
48273
49705
  max_terms: model.maxTerms,
48274
49706
  ...model.sortNames !== void 0 ? { sort_names: model.sortNames } : {},
49707
+ ...model.semantics !== void 0 ? { semantics: DiscoverySemanticsFromFrontToApi(model.semantics) } : {},
48275
49708
  ...explorationSearchBoundsFromFrontToApi(model)
48276
49709
  };
48277
49710
  }
@@ -48281,7 +49714,8 @@ function StartExplorationResponseFromApiToFront(dto) {
48281
49714
  attributeCount: dto.attribute_count,
48282
49715
  objectCount: dto.object_count,
48283
49716
  question: dto.question ? ExplorationQuestionDtoFromApiToFront(dto.question) : dto.question,
48284
- search: ExplorationSearchReportFromApiToFront(dto.search)
49717
+ search: ExplorationSearchReportFromApiToFront(dto.search),
49718
+ populationSampled: dto.population_sampled
48285
49719
  };
48286
49720
  }
48287
49721
  function ConfirmResponseFromApiToFront(dto) {
@@ -48305,6 +49739,7 @@ function RefuteRequestFromFrontToApi(model) {
48305
49739
  question_id: model.questionId,
48306
49740
  label: model.label,
48307
49741
  features: model.features,
49742
+ ...model.values !== void 0 ? { values: featuresFromFrontToApi(model.values) } : {},
48308
49743
  ...explorationSearchBoundsFromFrontToApi(model)
48309
49744
  };
48310
49745
  }
@@ -48329,7 +49764,22 @@ function ExplorationCompleteResponseFromApiToFront(dto) {
48329
49764
  totalImplications: dto.total_implications,
48330
49765
  implications: dto.implications.map(ImplicationDtoFromApiToFront),
48331
49766
  counterexamplesAdded: dto.counterexamples_added,
48332
- rulesCreated: dto.rules_created
49767
+ rulesCreated: dto.rules_created,
49768
+ publication: dto.publication == null ? dto.publication : ExplorationPublicationFromApiToFront(dto.publication)
49769
+ };
49770
+ }
49771
+ function SortLicenceRequestFromFrontToApi(model) {
49772
+ return { sort_name: model.sortName };
49773
+ }
49774
+ function SortLicenceResponseFromApiToFront(dto) {
49775
+ return {
49776
+ policy: dto.policy,
49777
+ licenceRecord: dto.licence_record,
49778
+ sortId: dto.sort_id,
49779
+ sortName: dto.sort_name,
49780
+ extends: dto.extends,
49781
+ declaredBy: dto.declared_by,
49782
+ installedRules: dto.installed_rules
48333
49783
  };
48334
49784
  }
48335
49785
  function ConfluenceConflictDtoFromApiToFront(dto) {
@@ -48377,26 +49827,62 @@ var AnalysisClient = class {
48377
49827
  /**
48378
49828
  * Run sort discovery analysis on existing terms.
48379
49829
  *
48380
- * @param request - Discovery parameters.
48381
- * @returns Discovery results with recommendations.
49830
+ * @param request - Discovery parameters: the population (`termIds`, or the
49831
+ * visible terms up to `maxTerms`), the attribute `semantics`, and the
49832
+ * search bounds.
49833
+ * @returns Discovery results with recommendations, the search and input
49834
+ * accounting, and the attribute `interpretation` used.
49835
+ *
49836
+ * @remarks
49837
+ * The converted body is sent verbatim (no further key conversion): the
49838
+ * feature names that key a `scaled` semantics' `schemes` reach the engine
49839
+ * exactly as written. Read `success`, `inputComplete`, `search` and
49840
+ * `interpretation.complete` before treating a missing recommendation as an
49841
+ * absence.
48382
49842
  */
48383
49843
  async sortDiscovery(request, requestOptions) {
48384
49844
  const response = await this.api.analyzeSortDiscovery(
48385
49845
  SortDiscoveryRequestFromFrontToApi(request),
48386
- toRequestParams(requestOptions)
49846
+ mergeRequestParams({ headers: { [RAW_BODY_HEADER]: "1" } }, requestOptions)
48387
49847
  );
48388
49848
  return decodeResponse(response, SortDiscoveryResponseFromApiToFront);
48389
49849
  }
48390
49850
  /**
48391
49851
  * Start an interactive attribute exploration session.
48392
49852
  *
48393
- * @param request - Exploration parameters.
48394
- * @returns Session ID and first question.
49853
+ * @param request - Exploration parameters: the sort scope (`sortNames`),
49854
+ * the attribute `semantics`, and the search bounds.
49855
+ * @param requestOptions - Per-call request options.
49856
+ * @returns Session ID, the formal context's attribute and object counts,
49857
+ * the first question, and the search report.
49858
+ * @throws {ForbiddenError} 403 with code `exploration_actor_required` when
49859
+ * the request carries no gateway human actor (`authenticatedUser`).
49860
+ * @throws {BadRequestError} 400 for an unknown sort name, a refused
49861
+ * population bound (`exploration_population_limit`), native-predicate
49862
+ * semantics, or a scaled interpretation that is not complete.
49863
+ *
49864
+ * @remarks
49865
+ * The converted body is sent verbatim (no further key conversion): the
49866
+ * feature names that key a `scaled` semantics' `schemes` reach the engine
49867
+ * exactly as written. A missing `question` does not mean the basis is
49868
+ * complete: read `search.stop`.
49869
+ *
49870
+ * @example
49871
+ * ```typescript
49872
+ * const started = await client.analysis.startExploration({
49873
+ * sortNames: ['member'],
49874
+ * semantics: {
49875
+ * kind: 'scaled',
49876
+ * schemes: { age: { kind: 'interordinal', thresholds: [65] } },
49877
+ * },
49878
+ * });
49879
+ * console.log(started.attributeCount, started.objectCount, started.search.stop);
49880
+ * ```
48395
49881
  */
48396
49882
  async startExploration(request, requestOptions) {
48397
49883
  const response = await this.api.startExploration(
48398
49884
  StartExplorationRequestFromFrontToApi(request),
48399
- toRequestParams(requestOptions)
49885
+ mergeRequestParams({ headers: { [RAW_BODY_HEADER]: "1" } }, requestOptions)
48400
49886
  );
48401
49887
  return decodeResponse(response, StartExplorationResponseFromApiToFront);
48402
49888
  }
@@ -48415,6 +49901,10 @@ var AnalysisClient = class {
48415
49901
  * with {@link AnalysisClient.getExplorationStatus}. The class name is the
48416
49902
  * SDK's mapping of every 409: branch on the code.
48417
49903
  * @throws {BadRequestError} 400 when the engine refuses the content.
49904
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
49905
+ * when `request.idempotencyKey` already committed a different request.
49906
+ * Nothing is applied; a retry of the same request with the same key
49907
+ * answers the committed response.
48418
49908
  * @throws {NotFoundError} 404 when the session does not exist.
48419
49909
  *
48420
49910
  * @remarks
@@ -48436,7 +49926,7 @@ var AnalysisClient = class {
48436
49926
  const response = await this.api.confirmImplication(
48437
49927
  sessionId,
48438
49928
  ConfirmRequestFromFrontToApi(request),
48439
- toRequestParams(requestOptions)
49929
+ idempotencyParams2(request, requestOptions)
48440
49930
  );
48441
49931
  return decodeResponse(response, ConfirmResponseFromApiToFront);
48442
49932
  }
@@ -48454,10 +49944,20 @@ var AnalysisClient = class {
48454
49944
  * a premise feature, has every conclusion feature, or violates a
48455
49945
  * confirmed implication (it has a confirmed premise and lacks that
48456
49946
  * implication's conclusion).
49947
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
49948
+ * when `request.idempotencyKey` already committed a different request.
49949
+ * Nothing is applied; a retry of the same request with the same key
49950
+ * answers the committed response.
48457
49951
  * @throws {NotFoundError} 404 when the session does not exist.
48458
49952
  *
48459
49953
  * @remarks
48460
- * Body `{ question_id, label, features }`; `questionId` is required.
49954
+ * Body `{ question_id, label, features, values? }`; `questionId` is
49955
+ * required. A presence session takes the counterexample's feature names in
49956
+ * `features`. A scaled session takes `features: []` and the counterexample
49957
+ * as a record of tagged values in `values`, which the session's scales
49958
+ * project into attributes; the engine refuses a label list or an
49959
+ * unreadable value there with `400`, and refuses `values` in a presence
49960
+ * session.
48461
49961
  *
48462
49962
  * The exploration continues after an answered question and poses one
48463
49963
  * question for each pseudo-intent, so a session asks every implication of
@@ -48470,13 +49970,20 @@ var AnalysisClient = class {
48470
49970
  * label: 'penguin',
48471
49971
  * features: ['bird'],
48472
49972
  * });
49973
+ * // In a scaled session:
49974
+ * await client.analysis.refuteImplication(sessionId, {
49975
+ * questionId: question.questionId,
49976
+ * label: 'young cardholder',
49977
+ * features: [],
49978
+ * values: toTaggedFeatures({ age: 30, senior_card: true }),
49979
+ * });
48473
49980
  * ```
48474
49981
  */
48475
49982
  async refuteImplication(sessionId, request, requestOptions) {
48476
49983
  const response = await this.api.refuteImplication(
48477
49984
  sessionId,
48478
49985
  RefuteRequestFromFrontToApi(request),
48479
- toRequestParams(requestOptions)
49986
+ idempotencyParams2(request, requestOptions)
48480
49987
  );
48481
49988
  return decodeResponse(response, RefuteResponseFromApiToFront);
48482
49989
  }
@@ -48492,6 +49999,10 @@ var AnalysisClient = class {
48492
49999
  * @returns The next question (absent when the search stopped again or was
48493
50000
  * exhausted), the progress, and the search report.
48494
50001
  * @throws {BadRequestError} 400 for invalid search bounds.
50002
+ * @throws {ConstraintViolationError} 409 with code `idempotency_key_reused`
50003
+ * when `request.idempotencyKey` already committed a different request.
50004
+ * Nothing is applied; a retry of the same request with the same key
50005
+ * answers the committed response.
48495
50006
  * @throws {NotFoundError} 404 when the session does not exist.
48496
50007
  *
48497
50008
  * @remarks
@@ -48517,7 +50028,7 @@ var AnalysisClient = class {
48517
50028
  const response = await this.api.advanceExploration(
48518
50029
  sessionId,
48519
50030
  AdvanceExplorationRequestFromFrontToApi(request),
48520
- toRequestParams(requestOptions)
50031
+ idempotencyParams2(request, requestOptions)
48521
50032
  );
48522
50033
  return decodeResponse(response, ConfirmResponseFromApiToFront);
48523
50034
  }
@@ -48542,6 +50053,89 @@ var AnalysisClient = class {
48542
50053
  const response = await this.api.completeExploration(sessionId, toRequestParams(requestOptions));
48543
50054
  return decodeResponse(response, ExplorationCompleteResponseFromApiToFront);
48544
50055
  }
50056
+ /**
50057
+ * Extend a completed exploration's confirmed implications to every term of
50058
+ * a sort and its subsorts.
50059
+ *
50060
+ * @param sessionId - Exploration session ID.
50061
+ * @param request - The sort, by name.
50062
+ * @param requestOptions - Per-call request options.
50063
+ * @returns The `expert-declared-sort-v1` licence and the rules it installed.
50064
+ * @throws {ConstraintViolationError} 409 with code
50065
+ * `exploration_session_not_completed` (the exploration is not completed)
50066
+ * or `exploration_not_published` (it has no recorded publication to
50067
+ * extend).
50068
+ * @throws {ForbiddenError} 403 with code `exploration_actor_required` (no
50069
+ * gateway human actor), or when the sort is not writable.
50070
+ * @throws {BadRequestError} 400 for an unknown sort.
50071
+ * @throws {NotFoundError} 404 when the session is absent or not accessible.
50072
+ * @throws {ServiceUnavailableError} 503 with code
50073
+ * `exploration_publication_unavailable`; nothing was installed.
50074
+ *
50075
+ * @remarks
50076
+ * A separate, attributed declaration by the session's creator or an invited
50077
+ * participant: each installed rule's obligation names the implied feature
50078
+ * for its subject and cites a sort licence record that extends the
50079
+ * session's frozen-population licence. No value is invented and no source
50080
+ * term changes; licence and rules commit in one checked action. Repeating
50081
+ * the request for the same sort returns the recorded licence.
50082
+ *
50083
+ * @example
50084
+ * ```typescript
50085
+ * const done = await client.analysis.completeExploration(sessionId);
50086
+ * if (done.publication) {
50087
+ * const licence = await client.analysis.licenseExplorationSort(sessionId, { sortName: 'bird' });
50088
+ * console.log(licence.installedRules.length);
50089
+ * }
50090
+ * ```
50091
+ */
50092
+ async licenseExplorationSort(sessionId, request, requestOptions) {
50093
+ const response = await this.api.licenseExplorationSort(
50094
+ sessionId,
50095
+ SortLicenceRequestFromFrontToApi(request),
50096
+ toRequestParams(requestOptions)
50097
+ );
50098
+ return decodeResponse(response, SortLicenceResponseFromApiToFront);
50099
+ }
50100
+ /**
50101
+ * Invite a gateway human user to an exploration session.
50102
+ *
50103
+ * @param sessionId - Exploration session ID.
50104
+ * @param participantId - The invited user's UUID.
50105
+ * @param requestOptions - Per-call request options.
50106
+ * @throws {ForbiddenError} 403 without a gateway human actor, or when an
50107
+ * invited participant tries to delegate: only the creator may invite.
50108
+ * @throws {NotFoundError} 404 when the session is absent or the caller has
50109
+ * no current invitation.
50110
+ * @throws {ConstraintViolationError} 409 when concurrent changes exhausted
50111
+ * the commit attempts; retry.
50112
+ *
50113
+ * @remarks
50114
+ * Repeating the same invitation is a no-op.
50115
+ */
50116
+ async inviteExplorationParticipant(sessionId, participantId, requestOptions) {
50117
+ await this.api.inviteParticipant(sessionId, participantId, toRequestParams(requestOptions));
50118
+ }
50119
+ /**
50120
+ * Revoke a participant's invitation to an exploration session.
50121
+ *
50122
+ * @param sessionId - Exploration session ID.
50123
+ * @param participantId - The participant's UUID.
50124
+ * @param requestOptions - Per-call request options.
50125
+ * @throws {ForbiddenError} 403 without a gateway human actor, or when the
50126
+ * caller is not the creator: only the creator may revoke.
50127
+ * @throws {NotFoundError} 404 when the session is absent or the caller has
50128
+ * no current invitation.
50129
+ * @throws {ConstraintViolationError} 409 when concurrent changes exhausted
50130
+ * the commit attempts; retry.
50131
+ *
50132
+ * @remarks
50133
+ * Repeating the same revocation is a no-op; the creator always retains
50134
+ * access.
50135
+ */
50136
+ async revokeExplorationParticipant(sessionId, participantId, requestOptions) {
50137
+ await this.api.revokeParticipant(sessionId, participantId, toRequestParams(requestOptions));
50138
+ }
48545
50139
  /**
48546
50140
  * Certify the tenant's rule base: does forward reasoning terminate, and is
48547
50141
  * it order-independent?
@@ -48572,6 +50166,12 @@ var AnalysisClient = class {
48572
50166
  return decodeResponse(response, RuleBaseCertificateDtoFromApiToFront);
48573
50167
  }
48574
50168
  };
50169
+ function idempotencyParams2(request, requestOptions) {
50170
+ return request.idempotencyKey === void 0 ? toRequestParams(requestOptions) : mergeRequestParams(
50171
+ { headers: { "Idempotency-Key": request.idempotencyKey } },
50172
+ requestOptions
50173
+ );
50174
+ }
48575
50175
 
48576
50176
  // src/normalizers/preferences.ts
48577
50177
  function RecordSelectionRequestFromFrontToApi(model) {
@@ -57453,7 +59053,14 @@ function VerifyResponseFromApiToFront(dto) {
57453
59053
  return {
57454
59054
  ok: dto.ok,
57455
59055
  nViolations: dto.n_violations,
57456
- violations: dto.violations
59056
+ violations: dto.violations,
59057
+ anchor: dto.anchor == null ? dto.anchor : {
59058
+ baseHash: dto.anchor.base_hash,
59059
+ purgedCount: dto.anchor.purged_count,
59060
+ purgedThrough: dto.anchor.purged_through,
59061
+ purgedThroughAt: dto.anchor.purged_through_at,
59062
+ purgeRecordId: dto.anchor.purge_record_id
59063
+ }
57457
59064
  };
57458
59065
  }
57459
59066
  function CaptureSnapshotRequestFromFrontToApi(model) {
@@ -58875,6 +60482,20 @@ function ApplyActionResponseFromApiToFront(dto) {
58875
60482
  sideEffectsDispatched: dto.side_effects_dispatched,
58876
60483
  sideEffectsFailed: dto.side_effects_failed
58877
60484
  };
60485
+ case "committed_execution_unavailable":
60486
+ return {
60487
+ outcome: "committed_execution_unavailable",
60488
+ transactionId: dto.transaction_id,
60489
+ reason: dto.reason,
60490
+ retryAllowed: dto.retry_allowed
60491
+ };
60492
+ case "commit_unconfirmed":
60493
+ return {
60494
+ outcome: "commit_unconfirmed",
60495
+ transactionId: dto.transaction_id,
60496
+ reason: dto.reason,
60497
+ retryAllowed: dto.retry_allowed
60498
+ };
58878
60499
  case "suspended":
58879
60500
  return {
58880
60501
  outcome: "suspended",
@@ -58908,7 +60529,14 @@ var ActionsClient = class {
58908
60529
  * atomic term edits to commit when the action is `Ready`.
58909
60530
  * @returns The outcome — `applied` (with side-effect dispatch counts),
58910
60531
  * `suspended` (with the unbound required parameters), `rejected`, or
58911
- * `rolled_back` (each with a reason).
60532
+ * `rolled_back` (each with a reason), `committed_execution_unavailable` or
60533
+ * `commit_unconfirmed` (each with the `transactionId` to reconcile before
60534
+ * any retry).
60535
+ * @throws {ConstraintViolationError} 409 — the engine serves `rolled_back`,
60536
+ * `committed_execution_unavailable` and `commit_unconfirmed` with status
60537
+ * 409, so they arrive as this error, with the wire outcome in its `body`.
60538
+ * Do not retry a `committed_execution_unavailable` or `commit_unconfirmed`
60539
+ * outcome without reconciling its transaction.
58912
60540
  * @throws {ApiError} 422 when an edit puts a scalar literal into a feature
58913
60541
  * whose declared range is an entity sort (`Feature '<f>' holds a <kind>
58914
60542
  * literal, which is incompatible with the declared range …`; write
@@ -62358,7 +63986,8 @@ function SmtCheckRequestFromFrontToApi(model) {
62358
63986
  clauses: model.clauses?.map((clause) => clause.map(EqLiteralDtoFromFrontToApi)),
62359
63987
  constants: model.constants,
62360
63988
  equalities: model.equalities?.map(EqualityAtomDtoFromFrontToApi),
62361
- functions: model.functions?.map(SmtFunctionApplicationDtoFromFrontToApi)
63989
+ functions: model.functions?.map(SmtFunctionApplicationDtoFromFrontToApi),
63990
+ linear: model.linear?.map((atom) => ({ id: atom.id, constraint: atom.constraint }))
62362
63991
  };
62363
63992
  }
62364
63993
  function SmtCheckResponseFromApiToFront(dto) {
@@ -66781,7 +68410,7 @@ var PairingClient = class {
66781
68410
 
66782
68411
  // src/normalizers/channels.ts
66783
68412
  function ChannelAdapterInfoFromApiToFront(dto) {
66784
- return { name: dto.name, platform: dto.platform, status: dto.status };
68413
+ return { name: dto.name, platform: dto.platform, status: dto.status, owned: dto.owned };
66785
68414
  }
66786
68415
  function ListChannelAdaptersResponseFromApiToFront(dto) {
66787
68416
  return { adapters: dto.adapters.map(ChannelAdapterInfoFromApiToFront) };