@amigo-ai/platform-sdk 0.9.2 → 0.10.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.
|
@@ -1502,6 +1502,30 @@ export interface paths {
|
|
|
1502
1502
|
patch?: never;
|
|
1503
1503
|
trace?: never;
|
|
1504
1504
|
};
|
|
1505
|
+
"/v1/{workspace_id}/brief": {
|
|
1506
|
+
parameters: {
|
|
1507
|
+
query?: never;
|
|
1508
|
+
header?: never;
|
|
1509
|
+
path?: never;
|
|
1510
|
+
cookie?: never;
|
|
1511
|
+
};
|
|
1512
|
+
/**
|
|
1513
|
+
* Get Latest Workspace Brief
|
|
1514
|
+
* @description Return the latest workspace-level Self-Image brief (null shape if none).
|
|
1515
|
+
*/
|
|
1516
|
+
get: operations["get_latest_workspace_brief_v1__workspace_id__brief_get"];
|
|
1517
|
+
put?: never;
|
|
1518
|
+
/**
|
|
1519
|
+
* Generate Workspace Brief
|
|
1520
|
+
* @description Generate a workspace-level Self-Image brief (Opus 4.7).
|
|
1521
|
+
*/
|
|
1522
|
+
post: operations["generate_workspace_brief_v1__workspace_id__brief_post"];
|
|
1523
|
+
delete?: never;
|
|
1524
|
+
options?: never;
|
|
1525
|
+
head?: never;
|
|
1526
|
+
patch?: never;
|
|
1527
|
+
trace?: never;
|
|
1528
|
+
};
|
|
1505
1529
|
"/v1/{workspace_id}/calls": {
|
|
1506
1530
|
parameters: {
|
|
1507
1531
|
query?: never;
|
|
@@ -2476,7 +2500,7 @@ export interface paths {
|
|
|
2476
2500
|
put?: never;
|
|
2477
2501
|
/**
|
|
2478
2502
|
* Generate Brief
|
|
2479
|
-
* @description Generate a Self-Image brief for the target entity (
|
|
2503
|
+
* @description Generate a Self-Image brief for the target entity (patient, cohort, territory, emirate, or district).
|
|
2480
2504
|
*/
|
|
2481
2505
|
post: operations["generate_brief_v1__workspace_id__entities__entity_id__brief_post"];
|
|
2482
2506
|
delete?: never;
|
|
@@ -3320,26 +3344,6 @@ export interface paths {
|
|
|
3320
3344
|
patch?: never;
|
|
3321
3345
|
trace?: never;
|
|
3322
3346
|
};
|
|
3323
|
-
"/v1/{workspace_id}/intake/links/{link_id}/uploads/{upload_id}/download": {
|
|
3324
|
-
parameters: {
|
|
3325
|
-
query?: never;
|
|
3326
|
-
header?: never;
|
|
3327
|
-
path?: never;
|
|
3328
|
-
cookie?: never;
|
|
3329
|
-
};
|
|
3330
|
-
/**
|
|
3331
|
-
* Download an uploaded file
|
|
3332
|
-
* @description Proxy the raw file bytes from the UC Volume back to the caller.
|
|
3333
|
-
*/
|
|
3334
|
-
get: operations["download-intake-upload"];
|
|
3335
|
-
put?: never;
|
|
3336
|
-
post?: never;
|
|
3337
|
-
delete?: never;
|
|
3338
|
-
options?: never;
|
|
3339
|
-
head?: never;
|
|
3340
|
-
patch?: never;
|
|
3341
|
-
trace?: never;
|
|
3342
|
-
};
|
|
3343
3347
|
"/v1/{workspace_id}/integrations": {
|
|
3344
3348
|
parameters: {
|
|
3345
3349
|
query?: never;
|
|
@@ -3825,8 +3829,8 @@ export interface paths {
|
|
|
3825
3829
|
*
|
|
3826
3830
|
* Returns aggregate stats about the memory extraction pipeline:
|
|
3827
3831
|
* per-dimension fact counts, coverage rates, source intelligence,
|
|
3828
|
-
* and recent activity. Cached in Valkey (60s TTL).
|
|
3829
|
-
*
|
|
3832
|
+
* and recent activity. Cached in Valkey (60s TTL). Reads only Lakebase
|
|
3833
|
+
* memory projections on cache miss.
|
|
3830
3834
|
*
|
|
3831
3835
|
* Permissions: authenticated (any role).
|
|
3832
3836
|
*/
|
|
@@ -3890,6 +3894,35 @@ export interface paths {
|
|
|
3890
3894
|
patch?: never;
|
|
3891
3895
|
trace?: never;
|
|
3892
3896
|
};
|
|
3897
|
+
"/v1/{workspace_id}/metering/emit": {
|
|
3898
|
+
parameters: {
|
|
3899
|
+
query?: never;
|
|
3900
|
+
header?: never;
|
|
3901
|
+
path?: never;
|
|
3902
|
+
cookie?: never;
|
|
3903
|
+
};
|
|
3904
|
+
get?: never;
|
|
3905
|
+
put?: never;
|
|
3906
|
+
/**
|
|
3907
|
+
* Emit Metering Event
|
|
3908
|
+
* @description Emit one metering event for the calling workspace.
|
|
3909
|
+
*
|
|
3910
|
+
* Scope: workspace-scoped via path param; auth via API key (same as every
|
|
3911
|
+
* other workspace route). 202 on success — emission is fire-and-forget.
|
|
3912
|
+
*
|
|
3913
|
+
* ``event_type`` is a free-form string (regex-validated). Aggregation
|
|
3914
|
+
* into ``customer_meter_values`` is handled by SDP materialized views
|
|
3915
|
+
* in ``databricks/pipelines/billing.py``; an event_type with no matching
|
|
3916
|
+
* MV still lands in ``world_events`` but doesn't roll up into invoices
|
|
3917
|
+
* until someone adds an MV for it.
|
|
3918
|
+
*/
|
|
3919
|
+
post: operations["emit-metering-event"];
|
|
3920
|
+
delete?: never;
|
|
3921
|
+
options?: never;
|
|
3922
|
+
head?: never;
|
|
3923
|
+
patch?: never;
|
|
3924
|
+
trace?: never;
|
|
3925
|
+
};
|
|
3893
3926
|
"/v1/{workspace_id}/metrics": {
|
|
3894
3927
|
parameters: {
|
|
3895
3928
|
query?: never;
|
|
@@ -9315,9 +9348,9 @@ export interface components {
|
|
|
9315
9348
|
target_entity_id: string;
|
|
9316
9349
|
/**
|
|
9317
9350
|
* Target Entity Type
|
|
9318
|
-
* @
|
|
9351
|
+
* @enum {string}
|
|
9319
9352
|
*/
|
|
9320
|
-
target_entity_type: "patient";
|
|
9353
|
+
target_entity_type: "patient" | "cohort" | "workspace" | "territory" | "emirate" | "district";
|
|
9321
9354
|
/**
|
|
9322
9355
|
* Truncated
|
|
9323
9356
|
* @default false
|
|
@@ -16507,6 +16540,25 @@ export interface components {
|
|
|
16507
16540
|
*/
|
|
16508
16541
|
value: string;
|
|
16509
16542
|
};
|
|
16543
|
+
/** MeteringEmitRequest */
|
|
16544
|
+
MeteringEmitRequest: {
|
|
16545
|
+
/** Event Type */
|
|
16546
|
+
event_type: string;
|
|
16547
|
+
/**
|
|
16548
|
+
* Metering Metadata
|
|
16549
|
+
* @description Optional audit/dispute breadcrumbs.
|
|
16550
|
+
*/
|
|
16551
|
+
metering_metadata?: {
|
|
16552
|
+
[key: string]: unknown;
|
|
16553
|
+
} | null;
|
|
16554
|
+
/** Metering Quantity */
|
|
16555
|
+
metering_quantity: number;
|
|
16556
|
+
/**
|
|
16557
|
+
* Metering Unit
|
|
16558
|
+
* @description Optional unit string ('pages', 'minutes', 'tokens') describing what metering_quantity represents.
|
|
16559
|
+
*/
|
|
16560
|
+
metering_unit?: string | null;
|
|
16561
|
+
};
|
|
16510
16562
|
/** MetricCatalogEntry */
|
|
16511
16563
|
MetricCatalogEntry: {
|
|
16512
16564
|
/** Builtin */
|
|
@@ -18298,8 +18350,18 @@ export interface components {
|
|
|
18298
18350
|
umap_y: number;
|
|
18299
18351
|
/** Workspace Id */
|
|
18300
18352
|
workspace_id: string;
|
|
18353
|
+
/** Y Hat Asthma 12Mo */
|
|
18354
|
+
y_hat_asthma_12mo?: number | null;
|
|
18355
|
+
/** Y Hat Chf 90D */
|
|
18356
|
+
y_hat_chf_90d?: number | null;
|
|
18357
|
+
/** Y Hat Ckd 1Yr */
|
|
18358
|
+
y_hat_ckd_1yr?: number | null;
|
|
18301
18359
|
/** Y Hat Composite */
|
|
18302
18360
|
y_hat_composite?: number | null;
|
|
18361
|
+
/** Y Hat Copd 12Mo */
|
|
18362
|
+
y_hat_copd_12mo?: number | null;
|
|
18363
|
+
/** Y Hat Htn 1Yr */
|
|
18364
|
+
y_hat_htn_1yr?: number | null;
|
|
18303
18365
|
/** Y Hat T2D 1Yr */
|
|
18304
18366
|
y_hat_t2d_1yr?: number | null;
|
|
18305
18367
|
};
|
|
@@ -28389,6 +28451,50 @@ export interface operations {
|
|
|
28389
28451
|
};
|
|
28390
28452
|
};
|
|
28391
28453
|
};
|
|
28454
|
+
get_latest_workspace_brief_v1__workspace_id__brief_get: {
|
|
28455
|
+
parameters: {
|
|
28456
|
+
query?: never;
|
|
28457
|
+
header?: never;
|
|
28458
|
+
path: {
|
|
28459
|
+
workspace_id: string;
|
|
28460
|
+
};
|
|
28461
|
+
cookie?: never;
|
|
28462
|
+
};
|
|
28463
|
+
requestBody?: never;
|
|
28464
|
+
responses: {
|
|
28465
|
+
/** @description Successful Response */
|
|
28466
|
+
200: {
|
|
28467
|
+
headers: {
|
|
28468
|
+
[name: string]: unknown;
|
|
28469
|
+
};
|
|
28470
|
+
content: {
|
|
28471
|
+
"application/json": components["schemas"]["BriefResponse"];
|
|
28472
|
+
};
|
|
28473
|
+
};
|
|
28474
|
+
};
|
|
28475
|
+
};
|
|
28476
|
+
generate_workspace_brief_v1__workspace_id__brief_post: {
|
|
28477
|
+
parameters: {
|
|
28478
|
+
query?: never;
|
|
28479
|
+
header?: never;
|
|
28480
|
+
path: {
|
|
28481
|
+
workspace_id: string;
|
|
28482
|
+
};
|
|
28483
|
+
cookie?: never;
|
|
28484
|
+
};
|
|
28485
|
+
requestBody?: never;
|
|
28486
|
+
responses: {
|
|
28487
|
+
/** @description Successful Response */
|
|
28488
|
+
200: {
|
|
28489
|
+
headers: {
|
|
28490
|
+
[name: string]: unknown;
|
|
28491
|
+
};
|
|
28492
|
+
content: {
|
|
28493
|
+
"application/json": components["schemas"]["BriefResponse"];
|
|
28494
|
+
};
|
|
28495
|
+
};
|
|
28496
|
+
};
|
|
28497
|
+
};
|
|
28392
28498
|
"list-calls": {
|
|
28393
28499
|
parameters: {
|
|
28394
28500
|
query?: {
|
|
@@ -32424,46 +32530,6 @@ export interface operations {
|
|
|
32424
32530
|
};
|
|
32425
32531
|
};
|
|
32426
32532
|
};
|
|
32427
|
-
"download-intake-upload": {
|
|
32428
|
-
parameters: {
|
|
32429
|
-
query?: never;
|
|
32430
|
-
header?: never;
|
|
32431
|
-
path: {
|
|
32432
|
-
link_id: string;
|
|
32433
|
-
upload_id: string;
|
|
32434
|
-
workspace_id: string;
|
|
32435
|
-
};
|
|
32436
|
-
cookie?: never;
|
|
32437
|
-
};
|
|
32438
|
-
requestBody?: never;
|
|
32439
|
-
responses: {
|
|
32440
|
-
/** @description File bytes with Content-Disposition: attachment */
|
|
32441
|
-
200: {
|
|
32442
|
-
headers: {
|
|
32443
|
-
[name: string]: unknown;
|
|
32444
|
-
};
|
|
32445
|
-
content: {
|
|
32446
|
-
"application/octet-stream": string;
|
|
32447
|
-
};
|
|
32448
|
-
};
|
|
32449
|
-
/** @description Link, upload, or file not found */
|
|
32450
|
-
404: {
|
|
32451
|
-
headers: {
|
|
32452
|
-
[name: string]: unknown;
|
|
32453
|
-
};
|
|
32454
|
-
content?: never;
|
|
32455
|
-
};
|
|
32456
|
-
/** @description Validation Error */
|
|
32457
|
-
422: {
|
|
32458
|
-
headers: {
|
|
32459
|
-
[name: string]: unknown;
|
|
32460
|
-
};
|
|
32461
|
-
content: {
|
|
32462
|
-
"application/json": components["schemas"]["HTTPValidationError"];
|
|
32463
|
-
};
|
|
32464
|
-
};
|
|
32465
|
-
};
|
|
32466
|
-
};
|
|
32467
32533
|
"list-integrations": {
|
|
32468
32534
|
parameters: {
|
|
32469
32535
|
query?: {
|
|
@@ -33496,6 +33562,43 @@ export interface operations {
|
|
|
33496
33562
|
};
|
|
33497
33563
|
};
|
|
33498
33564
|
};
|
|
33565
|
+
"emit-metering-event": {
|
|
33566
|
+
parameters: {
|
|
33567
|
+
query?: never;
|
|
33568
|
+
header?: never;
|
|
33569
|
+
path: {
|
|
33570
|
+
workspace_id: string;
|
|
33571
|
+
};
|
|
33572
|
+
cookie?: never;
|
|
33573
|
+
};
|
|
33574
|
+
requestBody: {
|
|
33575
|
+
content: {
|
|
33576
|
+
"application/json": components["schemas"]["MeteringEmitRequest"];
|
|
33577
|
+
};
|
|
33578
|
+
};
|
|
33579
|
+
responses: {
|
|
33580
|
+
/** @description Successful Response */
|
|
33581
|
+
202: {
|
|
33582
|
+
headers: {
|
|
33583
|
+
[name: string]: unknown;
|
|
33584
|
+
};
|
|
33585
|
+
content: {
|
|
33586
|
+
"application/json": {
|
|
33587
|
+
[key: string]: string;
|
|
33588
|
+
};
|
|
33589
|
+
};
|
|
33590
|
+
};
|
|
33591
|
+
/** @description Validation Error */
|
|
33592
|
+
422: {
|
|
33593
|
+
headers: {
|
|
33594
|
+
[name: string]: unknown;
|
|
33595
|
+
};
|
|
33596
|
+
content: {
|
|
33597
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
33598
|
+
};
|
|
33599
|
+
};
|
|
33600
|
+
};
|
|
33601
|
+
};
|
|
33499
33602
|
"list-metrics": {
|
|
33500
33603
|
parameters: {
|
|
33501
33604
|
query?: {
|