@amigo-ai/platform-sdk 0.4.7 → 0.5.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.
- package/api.md +1 -0
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +17 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/data-sources.js +15 -0
- package/dist/resources/data-sources.js.map +1 -1
- package/dist/types/generated/api.d.ts +2996 -949
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/context-graphs.d.ts +144 -0
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/data-sources.d.ts +15 -0
- package/dist/types/resources/data-sources.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +30 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +8 -2
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts +4 -4
- package/package.json +1 -1
|
@@ -358,6 +358,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
358
358
|
ai_schema?: {
|
|
359
359
|
[x: string]: unknown;
|
|
360
360
|
} | null | undefined;
|
|
361
|
+
applies_to_product_types?: string[] | null | undefined;
|
|
361
362
|
builtin?: boolean | undefined;
|
|
362
363
|
categories?: string[] | null | undefined;
|
|
363
364
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
@@ -366,6 +367,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
366
367
|
extract_path?: string | null | undefined;
|
|
367
368
|
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr" | undefined;
|
|
368
369
|
freshness_sla_minutes?: number | undefined;
|
|
370
|
+
granularity?: "aggregate" | "per_entity" | undefined;
|
|
369
371
|
id?: string | undefined;
|
|
370
372
|
key: string;
|
|
371
373
|
latency_tier?: "streaming" | "near_realtime" | "batch" | undefined;
|
|
@@ -373,9 +375,10 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
373
375
|
model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
|
|
374
376
|
name: components["schemas"]["NameString"];
|
|
375
377
|
period_granularity?: "hourly" | "daily" | undefined;
|
|
378
|
+
prompt?: string | null | undefined;
|
|
376
379
|
ratio_denominator_event?: string | null | undefined;
|
|
377
380
|
ratio_numerator_event?: string | null | undefined;
|
|
378
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events";
|
|
381
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
379
382
|
source_filter?: string | null | undefined;
|
|
380
383
|
sql_expression?: string | null | undefined;
|
|
381
384
|
unit?: string | null | undefined;
|
|
@@ -393,6 +396,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
393
396
|
ai_schema?: {
|
|
394
397
|
[x: string]: unknown;
|
|
395
398
|
} | null | undefined;
|
|
399
|
+
applies_to_product_types?: string[] | null | undefined;
|
|
396
400
|
builtin?: boolean | undefined;
|
|
397
401
|
categories?: string[] | null | undefined;
|
|
398
402
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
@@ -401,6 +405,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
401
405
|
extract_path?: string | null | undefined;
|
|
402
406
|
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_sentiment" | "ai_query" | "sql_expr" | undefined;
|
|
403
407
|
freshness_sla_minutes?: number | undefined;
|
|
408
|
+
granularity?: "aggregate" | "per_entity" | undefined;
|
|
404
409
|
id?: string | undefined;
|
|
405
410
|
key: string;
|
|
406
411
|
latency_tier?: "streaming" | "near_realtime" | "batch" | undefined;
|
|
@@ -408,9 +413,10 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
408
413
|
model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
|
|
409
414
|
name: components["schemas"]["NameString"];
|
|
410
415
|
period_granularity?: "hourly" | "daily" | undefined;
|
|
416
|
+
prompt?: string | null | undefined;
|
|
411
417
|
ratio_denominator_event?: string | null | undefined;
|
|
412
418
|
ratio_numerator_event?: string | null | undefined;
|
|
413
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events";
|
|
419
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
414
420
|
source_filter?: string | null | undefined;
|
|
415
421
|
sql_expression?: string | null | undefined;
|
|
416
422
|
unit?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,QAAQ,CAAC,KAAK;;;;;;;;;;;;;;uBAOS,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;MAOnE;IAED,QAAQ,CAAC,QAAQ;;;;;;;;;uBAOM,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;;;;;;;;MAOtE;IAED,QAAQ,CAAC,QAAQ;;;;iCAgK+
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,u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sB;;sBAAyL,qBAAsB;;;iCAA98D,qBAAsB;2BAAiC,qBAAsB;;;;uCAAssE,qBAAsB;iCAAqJ,qBAAsB;;;;;uBAzEl5qa,UAAU,CAAC,SAAS,CAAC,CAAC,2BAA2B,CAAC;;;;;;;;;0BAyEqnpa,qBAAsB;;sBAAyL,qBAAsB;;;iCAA98D,qBAAsB;2BAAiC,qBAAsB;;;;uCAAssE,qBAAsB;iCAAqJ,qBAAsB;;;;;MAlEx6qa;IAED,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAOQ,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOpE;IAED,QAAQ,CAAC,OAAO;;;;;;;;;;;;;;;+BAgD66/c,qBAAsB;;;;;;;;;;;sBAAmzG,qBAAsB;;;;;;;;;;;;;uBAzCrwmd,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC;;;;;;;;;;;;;;+BAyCw3/c,qBAAsB;;;;;;;;;;;sBAAmzG,qBAAsB;;;;;;;;;;;;;MAlC3xmd;IAED,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;uBAOE,UAAU,CAAC,SAAS,CAAC,CAAC,4BAA4B,CAAC;;;;;;;;;;;;;MAOzE;IAED,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAOK,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOtE;CACF"}
|
|
@@ -372,7 +372,7 @@ export declare class WorldResource extends WorkspaceScopedResource {
|
|
|
372
372
|
source_system?: string | null | undefined;
|
|
373
373
|
supersedes?: string | null | undefined;
|
|
374
374
|
sync_error?: string | null | undefined;
|
|
375
|
-
sync_status?: ("pending" | "synced" | "failed" | "processing") | null | undefined;
|
|
375
|
+
sync_status?: ("pending" | "synced" | "failed" | "processing" | "not_applicable") | null | undefined;
|
|
376
376
|
synced_at?: string | null | undefined;
|
|
377
377
|
}[];
|
|
378
378
|
has_more: boolean;
|
|
@@ -404,7 +404,7 @@ export declare class WorldResource extends WorkspaceScopedResource {
|
|
|
404
404
|
source_system?: string | null | undefined;
|
|
405
405
|
supersedes?: string | null | undefined;
|
|
406
406
|
sync_error?: string | null | undefined;
|
|
407
|
-
sync_status?: ("pending" | "synced" | "failed" | "processing") | null | undefined;
|
|
407
|
+
sync_status?: ("pending" | "synced" | "failed" | "processing" | "not_applicable") | null | undefined;
|
|
408
408
|
synced_at?: string | null | undefined;
|
|
409
409
|
}, any, any>;
|
|
410
410
|
/** Get sync status grouped by sink (Lakebase, Delta, etc.) */
|
|
@@ -442,7 +442,7 @@ export declare class WorldResource extends WorkspaceScopedResource {
|
|
|
442
442
|
source: string;
|
|
443
443
|
source_system?: string | null | undefined;
|
|
444
444
|
sync_error?: string | null | undefined;
|
|
445
|
-
sync_status: "pending" | "synced" | "failed" | "processing";
|
|
445
|
+
sync_status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
|
|
446
446
|
synced_at?: string | null | undefined;
|
|
447
447
|
}[];
|
|
448
448
|
has_more: boolean;
|
|
@@ -470,7 +470,7 @@ export declare class WorldResource extends WorkspaceScopedResource {
|
|
|
470
470
|
source: string;
|
|
471
471
|
source_system?: string | null | undefined;
|
|
472
472
|
sync_error?: string | null | undefined;
|
|
473
|
-
sync_status: "pending" | "synced" | "failed" | "processing";
|
|
473
|
+
sync_status: "pending" | "synced" | "failed" | "processing" | "not_applicable";
|
|
474
474
|
synced_at?: string | null | undefined;
|
|
475
475
|
}, any, any>;
|
|
476
476
|
/** Get current sync queue depth */
|