@amigo-ai/platform-sdk 0.48.0 → 0.48.1

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.
@@ -1746,26 +1746,6 @@ export interface paths {
1746
1746
  patch?: never;
1747
1747
  trace?: never;
1748
1748
  };
1749
- "/v1/{workspace_id}/causal/drivers": {
1750
- parameters: {
1751
- query?: never;
1752
- header?: never;
1753
- path?: never;
1754
- cookie?: never;
1755
- };
1756
- /**
1757
- * List Drivers
1758
- * @description Ranked SPR drivers for one (outcome_family, outcome_key). Byar 1978 95% CI. SPR > 1 = feature value over-indexes for this outcome vs. the workspace baseline. Filter by feature_family (demographic|comorbidity) or feature_arity (1=univariate, 2=pairwise). min_support_only=true (default) hides observed < 5 rows. This is DESCRIPTIVE attribution — v2 causal (ITS + synthetic control) lands via the analytics.public.causal_attribution pipeline in Phase 5.
1759
- */
1760
- get: operations["list_drivers_v1__workspace_id__causal_drivers_get"];
1761
- put?: never;
1762
- post?: never;
1763
- delete?: never;
1764
- options?: never;
1765
- head?: never;
1766
- patch?: never;
1767
- trace?: never;
1768
- };
1769
1749
  "/v1/{workspace_id}/channels/ses-setup": {
1770
1750
  parameters: {
1771
1751
  query?: never;
@@ -10389,7 +10369,7 @@ export interface components {
10389
10369
  /** Service Id */
10390
10370
  service_id?: string | null;
10391
10371
  /** Source */
10392
- source?: string | null;
10372
+ source?: ("real" | "simulation" | "playground" | "scribe") | null;
10393
10373
  /**
10394
10374
  * States Visited
10395
10375
  * @default []
@@ -10693,7 +10673,7 @@ export interface components {
10693
10673
  quality_score?: number | null;
10694
10674
  /**
10695
10675
  * Run Id
10696
- * @description Simulation run ID (simulated calls only)
10676
+ * @description Simulation run ID (simulation calls only)
10697
10677
  */
10698
10678
  run_id?: string | null;
10699
10679
  /**
@@ -10703,9 +10683,9 @@ export interface components {
10703
10683
  service_id?: string | null;
10704
10684
  /**
10705
10685
  * Source
10706
- * @description Whether this is a real or simulated call
10686
+ * @description Call source real, simulation, playground, or scribe
10707
10687
  */
10708
- source?: ("real" | "simulated" | "playground" | "scribe") | null;
10688
+ source?: ("real" | "simulation" | "playground" | "scribe") | null;
10709
10689
  /**
10710
10690
  * Started At
10711
10691
  * @description When the call started
@@ -14372,75 +14352,6 @@ export interface components {
14372
14352
  */
14373
14353
  verified: boolean;
14374
14354
  };
14375
- /**
14376
- * DriverRow
14377
- * @description One SPR row — generic (outcome, feature-tuple) grain.
14378
- */
14379
- DriverRow: {
14380
- /** As Of Date */
14381
- as_of_date?: string | null;
14382
- /** Expected */
14383
- expected?: number | null;
14384
- /** Feature Arity */
14385
- feature_arity: number;
14386
- /** Feature Family 1 */
14387
- feature_family_1: string;
14388
- /** Feature Family 2 */
14389
- feature_family_2?: string | null;
14390
- /** Feature Name 1 */
14391
- feature_name_1: string;
14392
- /** Feature Name 2 */
14393
- feature_name_2?: string | null;
14394
- /** Feature Population */
14395
- feature_population?: number | null;
14396
- /** Feature Value 1 */
14397
- feature_value_1: string;
14398
- /** Feature Value 2 */
14399
- feature_value_2?: string | null;
14400
- /** Min Support Met */
14401
- min_support_met: boolean;
14402
- /** Observed */
14403
- observed: number;
14404
- /** Outcome Code System */
14405
- outcome_code_system?: string | null;
14406
- /** Outcome Display */
14407
- outcome_display?: string | null;
14408
- /** Outcome Family */
14409
- outcome_family: string;
14410
- /** Outcome Key */
14411
- outcome_key: string;
14412
- /** Spr */
14413
- spr?: number | null;
14414
- /** Spr Ci Lower */
14415
- spr_ci_lower?: number | null;
14416
- /** Spr Ci Upper */
14417
- spr_ci_upper?: number | null;
14418
- /** Window Days */
14419
- window_days?: number | null;
14420
- /**
14421
- * Workspace Id
14422
- * Format: uuid
14423
- */
14424
- workspace_id: string;
14425
- };
14426
- /** DriversResponse */
14427
- DriversResponse: {
14428
- /** Count */
14429
- count: number;
14430
- /** Items */
14431
- items: components["schemas"]["DriverRow"][];
14432
- /** Outcome Family */
14433
- outcome_family: string;
14434
- /** Outcome Key */
14435
- outcome_key: string;
14436
- /** Sort By */
14437
- sort_by: string;
14438
- /**
14439
- * Workspace Id
14440
- * Format: uuid
14441
- */
14442
- workspace_id: string;
14443
- };
14444
14355
  /** EditSoapRequest */
14445
14356
  EditSoapRequest: {
14446
14357
  /** Content */
@@ -33386,45 +33297,6 @@ export interface operations {
33386
33297
  };
33387
33298
  };
33388
33299
  };
33389
- list_drivers_v1__workspace_id__causal_drivers_get: {
33390
- parameters: {
33391
- query: {
33392
- outcome_family: "disease_incidence";
33393
- outcome_key: string;
33394
- feature_family?: ("demographic" | "comorbidity") | null;
33395
- feature_arity?: (1 | 2) | null;
33396
- min_support_only?: boolean;
33397
- sort_by?: "spr" | "observed" | "feature_population";
33398
- limit?: number;
33399
- };
33400
- header?: never;
33401
- path: {
33402
- workspace_id: string;
33403
- };
33404
- cookie?: never;
33405
- };
33406
- requestBody?: never;
33407
- responses: {
33408
- /** @description Successful Response */
33409
- 200: {
33410
- headers: {
33411
- [name: string]: unknown;
33412
- };
33413
- content: {
33414
- "application/json": components["schemas"]["DriversResponse"];
33415
- };
33416
- };
33417
- /** @description Validation Error */
33418
- 422: {
33419
- headers: {
33420
- [name: string]: unknown;
33421
- };
33422
- content: {
33423
- "application/json": components["schemas"]["HTTPValidationError"];
33424
- };
33425
- };
33426
- };
33427
- };
33428
33300
  "list-ses-setups": {
33429
33301
  parameters: {
33430
33302
  query?: {