@kortexya/reasoninglayer 0.15.2 → 0.16.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
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  // src/config.ts
4
- var SDK_VERSION = "0.15.2";
4
+ var SDK_VERSION = "0.16.0";
5
5
  function resolveConfig(config) {
6
6
  if (!config.baseUrl) {
7
7
  throw new Error("ClientConfig.baseUrl is required");
@@ -4022,6 +4022,24 @@ var Causal = class {
4022
4022
  format: "json",
4023
4023
  ...params
4024
4024
  });
4025
+ /**
4026
+ * @description This endpoint validates whether a DiD design is theoretically sound given the known causal structure and unobserved confounding. It uses the Transformed SWIG (Delta-SWIG) framework from Knaus & Pfleiderer (2026).
4027
+ *
4028
+ * @tags causal
4029
+ * @name ValidateDid
4030
+ * @summary Validate a Difference-in-Differences (DiD) design
4031
+ * @request POST:/api/v1/causal/validate-did
4032
+ * @secure
4033
+ */
4034
+ validateDid = (data, params = {}) => this.http.request({
4035
+ path: `/api/v1/causal/validate-did`,
4036
+ method: "POST",
4037
+ body: data,
4038
+ secure: true,
4039
+ type: "application/json" /* Json */,
4040
+ format: "json",
4041
+ ...params
4042
+ });
4025
4043
  };
4026
4044
 
4027
4045
  // src/api-spec/generated/Reviews.ts
@@ -17038,7 +17056,7 @@ function FormalJudgeRequestFromFrontToApi(model) {
17038
17056
  final_output: model.finalOutput,
17039
17057
  execution_log: model.executionLog,
17040
17058
  config: model.config ? JudgeConfigDtoFromFrontToApi(model.config) : void 0,
17041
- use_osfkb_engine: model.useOsfkbEngine
17059
+ risk_categories: model.riskCategories
17042
17060
  };
17043
17061
  }
17044
17062
  function LayerResultDtoFromApiToFront(dto) {