@amigo-ai/platform-sdk 0.56.0 → 0.58.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.
Files changed (67) hide show
  1. package/README.md +72 -6
  2. package/api.md +19 -24
  3. package/dist/core/branded-types.js +1 -0
  4. package/dist/core/branded-types.js.map +1 -1
  5. package/dist/index.cjs +180 -204
  6. package/dist/index.cjs.map +4 -4
  7. package/dist/index.js +9 -4
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +180 -204
  10. package/dist/index.mjs.map +4 -4
  11. package/dist/resources/fhir.js +1 -7
  12. package/dist/resources/fhir.js.map +1 -1
  13. package/dist/resources/integrations.js +66 -34
  14. package/dist/resources/integrations.js.map +1 -1
  15. package/dist/resources/settings.js +1 -19
  16. package/dist/resources/settings.js.map +1 -1
  17. package/dist/resources/tokens.js +31 -0
  18. package/dist/resources/tokens.js.map +1 -0
  19. package/dist/resources/workspace-data-queries.js +41 -0
  20. package/dist/resources/workspace-data-queries.js.map +1 -0
  21. package/dist/resources/world.js +0 -27
  22. package/dist/resources/world.js.map +1 -1
  23. package/dist/types/core/branded-types.d.ts +2 -0
  24. package/dist/types/core/branded-types.d.ts.map +1 -1
  25. package/dist/types/generated/api.d.ts +2825 -3993
  26. package/dist/types/generated/api.d.ts.map +1 -1
  27. package/dist/types/index.d.cts +10 -4
  28. package/dist/types/index.d.cts.map +1 -1
  29. package/dist/types/index.d.ts +10 -4
  30. package/dist/types/index.d.ts.map +1 -1
  31. package/dist/types/resources/actions.d.ts +5 -25
  32. package/dist/types/resources/actions.d.ts.map +1 -1
  33. package/dist/types/resources/base.d.ts +1 -1
  34. package/dist/types/resources/base.d.ts.map +1 -1
  35. package/dist/types/resources/calls.d.ts +17 -5
  36. package/dist/types/resources/calls.d.ts.map +1 -1
  37. package/dist/types/resources/context-graphs.d.ts +16 -0
  38. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  39. package/dist/types/resources/fhir.d.ts +1 -22
  40. package/dist/types/resources/fhir.d.ts.map +1 -1
  41. package/dist/types/resources/intake.d.ts.map +1 -1
  42. package/dist/types/resources/integrations.d.ts +457 -599
  43. package/dist/types/resources/integrations.d.ts.map +1 -1
  44. package/dist/types/resources/metrics.d.ts +7 -3
  45. package/dist/types/resources/metrics.d.ts.map +1 -1
  46. package/dist/types/resources/operators.d.ts +2 -2
  47. package/dist/types/resources/operators.d.ts.map +1 -1
  48. package/dist/types/resources/review-queue.d.ts +11 -11
  49. package/dist/types/resources/services.d.ts +135 -0
  50. package/dist/types/resources/services.d.ts.map +1 -1
  51. package/dist/types/resources/settings.d.ts +7 -145
  52. package/dist/types/resources/settings.d.ts.map +1 -1
  53. package/dist/types/resources/skills.d.ts +5 -25
  54. package/dist/types/resources/skills.d.ts.map +1 -1
  55. package/dist/types/resources/surfaces.d.ts.map +1 -1
  56. package/dist/types/resources/tasks.d.ts +2 -2
  57. package/dist/types/resources/tokens.d.ts +20 -0
  58. package/dist/types/resources/tokens.d.ts.map +1 -0
  59. package/dist/types/resources/workspace-data-queries.d.ts +22 -0
  60. package/dist/types/resources/workspace-data-queries.d.ts.map +1 -0
  61. package/dist/types/resources/world.d.ts +25 -82
  62. package/dist/types/resources/world.d.ts.map +1 -1
  63. package/package.json +1 -1
  64. package/dist/resources/webhook-destinations.js +0 -50
  65. package/dist/resources/webhook-destinations.js.map +0 -1
  66. package/dist/types/resources/webhook-destinations.d.ts +0 -125
  67. package/dist/types/resources/webhook-destinations.d.ts.map +0 -1
@@ -84,6 +84,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
84
84
  additional_instruction?: string | undefined;
85
85
  audio_filler_triggered_after?: number | null | undefined;
86
86
  audio_fillers?: string[] | null | undefined;
87
+ delivery?: "interrupt" | "queue" | undefined;
87
88
  navigate_on_completion?: boolean | undefined;
88
89
  progress?: {
89
90
  custom_phrase?: string | null | undefined;
@@ -129,6 +130,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
129
130
  additional_instruction?: string | undefined;
130
131
  audio_filler_triggered_after?: number | null | undefined;
131
132
  audio_fillers?: string[] | null | undefined;
133
+ delivery?: "interrupt" | "queue" | undefined;
132
134
  navigate_on_completion?: boolean | undefined;
133
135
  progress?: {
134
136
  custom_phrase?: string | null | undefined;
@@ -218,6 +220,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
218
220
  additional_instruction?: string | undefined;
219
221
  audio_filler_triggered_after?: number | null | undefined;
220
222
  audio_fillers?: string[] | null | undefined;
223
+ delivery?: "interrupt" | "queue" | undefined;
221
224
  navigate_on_completion?: boolean | undefined;
222
225
  progress?: {
223
226
  custom_phrase?: string | null | undefined;
@@ -290,6 +293,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
290
293
  additional_instruction?: string | undefined;
291
294
  audio_filler_triggered_after?: number | null | undefined;
292
295
  audio_fillers?: string[] | null | undefined;
296
+ delivery?: "interrupt" | "queue" | undefined;
293
297
  navigate_on_completion?: boolean | undefined;
294
298
  progress?: {
295
299
  custom_phrase?: string | null | undefined;
@@ -344,6 +348,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
344
348
  additional_instruction?: string | undefined;
345
349
  audio_filler_triggered_after?: number | null | undefined;
346
350
  audio_fillers?: string[] | null | undefined;
351
+ delivery?: "interrupt" | "queue" | undefined;
347
352
  navigate_on_completion?: boolean | undefined;
348
353
  progress?: {
349
354
  custom_phrase?: string | null | undefined;
@@ -389,6 +394,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
389
394
  additional_instruction?: string | undefined;
390
395
  audio_filler_triggered_after?: number | null | undefined;
391
396
  audio_fillers?: string[] | null | undefined;
397
+ delivery?: "interrupt" | "queue" | undefined;
392
398
  navigate_on_completion?: boolean | undefined;
393
399
  progress?: {
394
400
  custom_phrase?: string | null | undefined;
@@ -478,6 +484,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
478
484
  additional_instruction?: string | undefined;
479
485
  audio_filler_triggered_after?: number | null | undefined;
480
486
  audio_fillers?: string[] | null | undefined;
487
+ delivery?: "interrupt" | "queue" | undefined;
481
488
  navigate_on_completion?: boolean | undefined;
482
489
  progress?: {
483
490
  custom_phrase?: string | null | undefined;
@@ -550,6 +557,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
550
557
  additional_instruction?: string | undefined;
551
558
  audio_filler_triggered_after?: number | null | undefined;
552
559
  audio_fillers?: string[] | null | undefined;
560
+ delivery?: "interrupt" | "queue" | undefined;
553
561
  navigate_on_completion?: boolean | undefined;
554
562
  progress?: {
555
563
  custom_phrase?: string | null | undefined;
@@ -602,6 +610,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
602
610
  additional_instruction?: string | undefined;
603
611
  audio_filler_triggered_after?: number | null | undefined;
604
612
  audio_fillers?: string[] | null | undefined;
613
+ delivery?: "interrupt" | "queue" | undefined;
605
614
  navigate_on_completion?: boolean | undefined;
606
615
  progress?: {
607
616
  custom_phrase?: string | null | undefined;
@@ -647,6 +656,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
647
656
  additional_instruction?: string | undefined;
648
657
  audio_filler_triggered_after?: number | null | undefined;
649
658
  audio_fillers?: string[] | null | undefined;
659
+ delivery?: "interrupt" | "queue" | undefined;
650
660
  navigate_on_completion?: boolean | undefined;
651
661
  progress?: {
652
662
  custom_phrase?: string | null | undefined;
@@ -736,6 +746,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
736
746
  additional_instruction?: string | undefined;
737
747
  audio_filler_triggered_after?: number | null | undefined;
738
748
  audio_fillers?: string[] | null | undefined;
749
+ delivery?: "interrupt" | "queue" | undefined;
739
750
  navigate_on_completion?: boolean | undefined;
740
751
  progress?: {
741
752
  custom_phrase?: string | null | undefined;
@@ -808,6 +819,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
808
819
  additional_instruction?: string | undefined;
809
820
  audio_filler_triggered_after?: number | null | undefined;
810
821
  audio_fillers?: string[] | null | undefined;
822
+ delivery?: "interrupt" | "queue" | undefined;
811
823
  navigate_on_completion?: boolean | undefined;
812
824
  progress?: {
813
825
  custom_phrase?: string | null | undefined;
@@ -859,6 +871,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
859
871
  additional_instruction?: string | undefined;
860
872
  audio_filler_triggered_after?: number | null | undefined;
861
873
  audio_fillers?: string[] | null | undefined;
874
+ delivery?: "interrupt" | "queue" | undefined;
862
875
  navigate_on_completion?: boolean | undefined;
863
876
  progress?: {
864
877
  custom_phrase?: string | null | undefined;
@@ -904,6 +917,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
904
917
  additional_instruction?: string | undefined;
905
918
  audio_filler_triggered_after?: number | null | undefined;
906
919
  audio_fillers?: string[] | null | undefined;
920
+ delivery?: "interrupt" | "queue" | undefined;
907
921
  navigate_on_completion?: boolean | undefined;
908
922
  progress?: {
909
923
  custom_phrase?: string | null | undefined;
@@ -993,6 +1007,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
993
1007
  additional_instruction?: string | undefined;
994
1008
  audio_filler_triggered_after?: number | null | undefined;
995
1009
  audio_fillers?: string[] | null | undefined;
1010
+ delivery?: "interrupt" | "queue" | undefined;
996
1011
  navigate_on_completion?: boolean | undefined;
997
1012
  progress?: {
998
1013
  custom_phrase?: string | null | undefined;
@@ -1065,6 +1080,7 @@ export declare class ContextGraphsResource extends WorkspaceScopedResource {
1065
1080
  additional_instruction?: string | undefined;
1066
1081
  audio_filler_triggered_after?: number | null | undefined;
1067
1082
  audio_fillers?: string[] | null | undefined;
1083
+ delivery?: "interrupt" | "queue" | undefined;
1068
1084
  navigate_on_completion?: boolean | undefined;
1069
1085
  progress?: {
1070
1086
  custom_phrase?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"context-graphs.d.ts","sourceRoot":"","sources":["../../../src/resources/context-graphs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBrF"}
@@ -10,7 +10,6 @@ type Q<P extends keyof paths> = NonNullable<paths[P] extends {
10
10
  export type PatientSearchParams = Q<'/v1/{workspace_id}/fhir/patients'>;
11
11
  /** Spec-defined query params for `/fhir/resources/{resource_type}` (FHIR-style search). */
12
12
  export type FhirSearchParams = Q<'/v1/{workspace_id}/fhir/resources/{resource_type}'>;
13
- export type SyncFailuresParams = Q<'/v1/{workspace_id}/fhir/sync-failures'>;
14
13
  export type FhirPatientsViewParams = Q<'/v1/{workspace_id}/fhir/views/patients'>;
15
14
  export type FhirAppointmentsViewParams = Q<'/v1/{workspace_id}/fhir/views/appointments'>;
16
15
  export type FhirPractitionersViewParams = Q<'/v1/{workspace_id}/fhir/views/practitioners'>;
@@ -23,7 +22,7 @@ export type FhirSlotsViewParams = Q<'/v1/{workspace_id}/fhir/views/slots'>;
23
22
  * @beta New in this release; surface may evolve as the EHR adapters stabilize.
24
23
  *
25
24
  * Provides:
26
- * - Sync status + failure visibility (`status`, `syncFailures`)
25
+ * - Sync status (`status`)
27
26
  * - Bulk imports (`import`)
28
27
  * - FHIR-shaped CRUD on resources (`resources.*`)
29
28
  * - Patient-centric views (`patients`, `patientSummary`, `patientTimeline`)
@@ -47,26 +46,8 @@ export declare class FhirResource extends WorkspaceScopedResource {
47
46
  resource_type_counts?: {
48
47
  [x: string]: number;
49
48
  } | undefined;
50
- sync_failure_count?: number | undefined;
51
49
  sync_healthy?: boolean | null | undefined;
52
50
  } & import("../index.js").ResponseMetadata>;
53
- /** List recent FHIR sync failures (for triage) */
54
- getSyncFailures(params?: SyncFailuresParams): Promise<{
55
- failures: {
56
- created_at?: string | null | undefined;
57
- data?: {
58
- [x: string]: unknown;
59
- } | undefined;
60
- entity_id?: string | null | undefined;
61
- event_id: string;
62
- event_type: string;
63
- fhir_resource_id?: string | null | undefined;
64
- fhir_resource_type?: string | null | undefined;
65
- sync_error: string;
66
- synced_at?: string | null | undefined;
67
- }[];
68
- total: number;
69
- } & import("../index.js").ResponseMetadata>;
70
51
  /** Trigger a FHIR import (full or partial, depending on request) */
71
52
  import(body: components['schemas']['FhirImportRequest']): Promise<{
72
53
  absence_semantics?: "absent_resources_persist" | undefined;
@@ -184,8 +165,6 @@ export declare class FhirResource extends WorkspaceScopedResource {
184
165
  is_current: boolean;
185
166
  source?: string | null | undefined;
186
167
  source_system?: string | null | undefined;
187
- sync_error?: string | null | undefined;
188
- synced_at?: string | null | undefined;
189
168
  }[];
190
169
  has_more?: boolean | undefined;
191
170
  next_offset?: number | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"fhir.d.ts","sourceRoot":"","sources":["../../../src/resources/fhir.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,KAAK,CAAC,CAAC,CAAC,SAAS,MAAM,KAAK,IAAI,WAAW,CACzC,KAAK,CAAC,CAAC,CAAC,SAAS;IAAE,GAAG,EAAE;QAAE,UAAU,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,GAAG,KAAK,GAAG,KAAK,CAClF,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,kCAAkC,CAAC,CAAA;AACvE,2FAA2F;AAC3F,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,mDAAmD,CAAC,CAAA;AACrF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,uCAAuC,CAAC,CAAA;AAM3E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,wCAAwC,CAAC,CAAA;AAChF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,4CAA4C,CAAC,CAAA;AACxF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,6CAA6C,CAAC,CAAA;AAC1F,M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1 @@
1
- {"version":3,"file":"intake.d.ts","sourceRoot":"","sources":["../../../src/resources/intake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,KAAK,CAAC,iCAAiC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CACvE,CAAA;AAED;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD,QAAQ,CAAC,KAAK;wBACU,qBAAqB;;2BAuD+1we,qBAAsB;0BAAyC,qBAAsB;;;;;;;;;;;;uBAhD18we,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC;;2BAgD20we,qBAAsB;0BAAyC,qBAAsB;;;;;;;;;;;;yBAxCx8we,MAAM;QAO7B,2CAA2C;8BACf,MAAM;;2BAgCkgze,qBAAsB;sBAAqC,qBAAsB;;;;;;;QAzBrnze,qDAAqD;iCACtB,MAAM,YAAY,MAAM;MAexD;CAEF"}
1
+ {"version":3,"file":"intake.d.ts","sourceRoot":"","sources":["../../../src/resources/intake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,KAAK,CAAC,iCAAiC,CAAC,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CACvE,CAAA;AAED;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,uBAAuB;IACzD,QAAQ,CAAC,KAAK;wBACU,qBAAqB;;2BAuDw5md,qBAAsB;0BAAyC,qBAAsB;;;;;;;;;;;;uBAhDngnd,UAAU,CAAC,SAAS,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