@amigo-ai/platform-sdk 0.9.2 → 0.9.3
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.
|
@@ -3320,26 +3320,6 @@ export interface paths {
|
|
|
3320
3320
|
patch?: never;
|
|
3321
3321
|
trace?: never;
|
|
3322
3322
|
};
|
|
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
3323
|
"/v1/{workspace_id}/integrations": {
|
|
3344
3324
|
parameters: {
|
|
3345
3325
|
query?: never;
|
|
@@ -3825,8 +3805,8 @@ export interface paths {
|
|
|
3825
3805
|
*
|
|
3826
3806
|
* Returns aggregate stats about the memory extraction pipeline:
|
|
3827
3807
|
* per-dimension fact counts, coverage rates, source intelligence,
|
|
3828
|
-
* and recent activity. Cached in Valkey (60s TTL).
|
|
3829
|
-
*
|
|
3808
|
+
* and recent activity. Cached in Valkey (60s TTL). Reads only Lakebase
|
|
3809
|
+
* memory projections on cache miss.
|
|
3830
3810
|
*
|
|
3831
3811
|
* Permissions: authenticated (any role).
|
|
3832
3812
|
*/
|
|
@@ -3890,6 +3870,35 @@ export interface paths {
|
|
|
3890
3870
|
patch?: never;
|
|
3891
3871
|
trace?: never;
|
|
3892
3872
|
};
|
|
3873
|
+
"/v1/{workspace_id}/metering/emit": {
|
|
3874
|
+
parameters: {
|
|
3875
|
+
query?: never;
|
|
3876
|
+
header?: never;
|
|
3877
|
+
path?: never;
|
|
3878
|
+
cookie?: never;
|
|
3879
|
+
};
|
|
3880
|
+
get?: never;
|
|
3881
|
+
put?: never;
|
|
3882
|
+
/**
|
|
3883
|
+
* Emit Metering Event
|
|
3884
|
+
* @description Emit one metering event for the calling workspace.
|
|
3885
|
+
*
|
|
3886
|
+
* Scope: workspace-scoped via path param; auth via API key (same as every
|
|
3887
|
+
* other workspace route). 202 on success — emission is fire-and-forget.
|
|
3888
|
+
*
|
|
3889
|
+
* ``event_type`` is a free-form string (regex-validated). Aggregation
|
|
3890
|
+
* into ``customer_meter_values`` is handled by SDP materialized views
|
|
3891
|
+
* in ``databricks/pipelines/billing.py``; an event_type with no matching
|
|
3892
|
+
* MV still lands in ``world_events`` but doesn't roll up into invoices
|
|
3893
|
+
* until someone adds an MV for it.
|
|
3894
|
+
*/
|
|
3895
|
+
post: operations["emit-metering-event"];
|
|
3896
|
+
delete?: never;
|
|
3897
|
+
options?: never;
|
|
3898
|
+
head?: never;
|
|
3899
|
+
patch?: never;
|
|
3900
|
+
trace?: never;
|
|
3901
|
+
};
|
|
3893
3902
|
"/v1/{workspace_id}/metrics": {
|
|
3894
3903
|
parameters: {
|
|
3895
3904
|
query?: never;
|
|
@@ -16507,6 +16516,25 @@ export interface components {
|
|
|
16507
16516
|
*/
|
|
16508
16517
|
value: string;
|
|
16509
16518
|
};
|
|
16519
|
+
/** MeteringEmitRequest */
|
|
16520
|
+
MeteringEmitRequest: {
|
|
16521
|
+
/** Event Type */
|
|
16522
|
+
event_type: string;
|
|
16523
|
+
/**
|
|
16524
|
+
* Metering Metadata
|
|
16525
|
+
* @description Optional audit/dispute breadcrumbs.
|
|
16526
|
+
*/
|
|
16527
|
+
metering_metadata?: {
|
|
16528
|
+
[key: string]: unknown;
|
|
16529
|
+
} | null;
|
|
16530
|
+
/** Metering Quantity */
|
|
16531
|
+
metering_quantity: number;
|
|
16532
|
+
/**
|
|
16533
|
+
* Metering Unit
|
|
16534
|
+
* @description Optional unit string ('pages', 'minutes', 'tokens') describing what metering_quantity represents.
|
|
16535
|
+
*/
|
|
16536
|
+
metering_unit?: string | null;
|
|
16537
|
+
};
|
|
16510
16538
|
/** MetricCatalogEntry */
|
|
16511
16539
|
MetricCatalogEntry: {
|
|
16512
16540
|
/** Builtin */
|
|
@@ -18298,8 +18326,18 @@ export interface components {
|
|
|
18298
18326
|
umap_y: number;
|
|
18299
18327
|
/** Workspace Id */
|
|
18300
18328
|
workspace_id: string;
|
|
18329
|
+
/** Y Hat Asthma 12Mo */
|
|
18330
|
+
y_hat_asthma_12mo?: number | null;
|
|
18331
|
+
/** Y Hat Chf 90D */
|
|
18332
|
+
y_hat_chf_90d?: number | null;
|
|
18333
|
+
/** Y Hat Ckd 1Yr */
|
|
18334
|
+
y_hat_ckd_1yr?: number | null;
|
|
18301
18335
|
/** Y Hat Composite */
|
|
18302
18336
|
y_hat_composite?: number | null;
|
|
18337
|
+
/** Y Hat Copd 12Mo */
|
|
18338
|
+
y_hat_copd_12mo?: number | null;
|
|
18339
|
+
/** Y Hat Htn 1Yr */
|
|
18340
|
+
y_hat_htn_1yr?: number | null;
|
|
18303
18341
|
/** Y Hat T2D 1Yr */
|
|
18304
18342
|
y_hat_t2d_1yr?: number | null;
|
|
18305
18343
|
};
|
|
@@ -32424,46 +32462,6 @@ export interface operations {
|
|
|
32424
32462
|
};
|
|
32425
32463
|
};
|
|
32426
32464
|
};
|
|
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
32465
|
"list-integrations": {
|
|
32468
32466
|
parameters: {
|
|
32469
32467
|
query?: {
|
|
@@ -33496,6 +33494,43 @@ export interface operations {
|
|
|
33496
33494
|
};
|
|
33497
33495
|
};
|
|
33498
33496
|
};
|
|
33497
|
+
"emit-metering-event": {
|
|
33498
|
+
parameters: {
|
|
33499
|
+
query?: never;
|
|
33500
|
+
header?: never;
|
|
33501
|
+
path: {
|
|
33502
|
+
workspace_id: string;
|
|
33503
|
+
};
|
|
33504
|
+
cookie?: never;
|
|
33505
|
+
};
|
|
33506
|
+
requestBody: {
|
|
33507
|
+
content: {
|
|
33508
|
+
"application/json": components["schemas"]["MeteringEmitRequest"];
|
|
33509
|
+
};
|
|
33510
|
+
};
|
|
33511
|
+
responses: {
|
|
33512
|
+
/** @description Successful Response */
|
|
33513
|
+
202: {
|
|
33514
|
+
headers: {
|
|
33515
|
+
[name: string]: unknown;
|
|
33516
|
+
};
|
|
33517
|
+
content: {
|
|
33518
|
+
"application/json": {
|
|
33519
|
+
[key: string]: string;
|
|
33520
|
+
};
|
|
33521
|
+
};
|
|
33522
|
+
};
|
|
33523
|
+
/** @description Validation Error */
|
|
33524
|
+
422: {
|
|
33525
|
+
headers: {
|
|
33526
|
+
[name: string]: unknown;
|
|
33527
|
+
};
|
|
33528
|
+
content: {
|
|
33529
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
33530
|
+
};
|
|
33531
|
+
};
|
|
33532
|
+
};
|
|
33533
|
+
};
|
|
33499
33534
|
"list-metrics": {
|
|
33500
33535
|
parameters: {
|
|
33501
33536
|
query?: {
|