@amigo-ai/platform-sdk 0.5.5 → 0.5.7

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 (55) hide show
  1. package/dist/types/generated/api.d.ts +182 -0
  2. package/dist/types/generated/api.d.ts.map +1 -1
  3. package/dist/types/resources/actions.d.ts +22 -126
  4. package/dist/types/resources/actions.d.ts.map +1 -1
  5. package/dist/types/resources/agents.d.ts +16 -102
  6. package/dist/types/resources/agents.d.ts.map +1 -1
  7. package/dist/types/resources/analytics.d.ts +22 -74
  8. package/dist/types/resources/analytics.d.ts.map +1 -1
  9. package/dist/types/resources/api-keys.d.ts +3 -16
  10. package/dist/types/resources/api-keys.d.ts.map +1 -1
  11. package/dist/types/resources/audit.d.ts +31 -87
  12. package/dist/types/resources/audit.d.ts.map +1 -1
  13. package/dist/types/resources/billing.d.ts +9 -42
  14. package/dist/types/resources/billing.d.ts.map +1 -1
  15. package/dist/types/resources/calls.d.ts +65 -169
  16. package/dist/types/resources/calls.d.ts.map +1 -1
  17. package/dist/types/resources/compliance.d.ts +6 -6
  18. package/dist/types/resources/context-graphs.d.ts +17 -958
  19. package/dist/types/resources/context-graphs.d.ts.map +1 -1
  20. package/dist/types/resources/data-sources.d.ts +13 -50
  21. package/dist/types/resources/data-sources.d.ts.map +1 -1
  22. package/dist/types/resources/functions.d.ts +22 -49
  23. package/dist/types/resources/functions.d.ts.map +1 -1
  24. package/dist/types/resources/integrations.d.ts +49 -379
  25. package/dist/types/resources/integrations.d.ts.map +1 -1
  26. package/dist/types/resources/memory.d.ts +4 -48
  27. package/dist/types/resources/memory.d.ts.map +1 -1
  28. package/dist/types/resources/operators.d.ts +64 -189
  29. package/dist/types/resources/operators.d.ts.map +1 -1
  30. package/dist/types/resources/personas.d.ts +7 -20
  31. package/dist/types/resources/personas.d.ts.map +1 -1
  32. package/dist/types/resources/phone-numbers.d.ts +8 -46
  33. package/dist/types/resources/phone-numbers.d.ts.map +1 -1
  34. package/dist/types/resources/recordings.d.ts +4 -4
  35. package/dist/types/resources/review-queue.d.ts +49 -350
  36. package/dist/types/resources/review-queue.d.ts.map +1 -1
  37. package/dist/types/resources/safety.d.ts +6 -32
  38. package/dist/types/resources/safety.d.ts.map +1 -1
  39. package/dist/types/resources/services.d.ts +47 -242
  40. package/dist/types/resources/services.d.ts.map +1 -1
  41. package/dist/types/resources/settings.d.ts +36 -404
  42. package/dist/types/resources/settings.d.ts.map +1 -1
  43. package/dist/types/resources/simulations.d.ts +20 -148
  44. package/dist/types/resources/simulations.d.ts.map +1 -1
  45. package/dist/types/resources/skills.d.ts +21 -117
  46. package/dist/types/resources/skills.d.ts.map +1 -1
  47. package/dist/types/resources/triggers.d.ts +64 -92
  48. package/dist/types/resources/triggers.d.ts.map +1 -1
  49. package/dist/types/resources/webhook-destinations.d.ts +20 -44
  50. package/dist/types/resources/webhook-destinations.d.ts.map +1 -1
  51. package/dist/types/resources/workspaces.d.ts +4 -26
  52. package/dist/types/resources/workspaces.d.ts.map +1 -1
  53. package/dist/types/resources/world.d.ts +121 -322
  54. package/dist/types/resources/world.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -1562,6 +1562,26 @@ export interface paths {
1562
1562
  patch?: never;
1563
1563
  trace?: never;
1564
1564
  };
1565
+ "/v1/{workspace_id}/calls/outbound": {
1566
+ parameters: {
1567
+ query?: never;
1568
+ header?: never;
1569
+ path?: never;
1570
+ cookie?: never;
1571
+ };
1572
+ get?: never;
1573
+ put?: never;
1574
+ /**
1575
+ * Create an outbound call
1576
+ * @description Initiate an outbound voice call from a workspace phone number. The phone_from number must be registered in this workspace. Supports idempotency via the idempotency_key field.
1577
+ */
1578
+ post: operations["create-outbound-call"];
1579
+ delete?: never;
1580
+ options?: never;
1581
+ head?: never;
1582
+ patch?: never;
1583
+ trace?: never;
1584
+ };
1565
1585
  "/v1/{workspace_id}/calls/phone-volume": {
1566
1586
  parameters: {
1567
1587
  query?: never;
@@ -10615,6 +10635,58 @@ export interface components {
10615
10635
  */
10616
10636
  type?: "clinical" | "administrative" | "crisis_counselor";
10617
10637
  };
10638
+ /**
10639
+ * CreateOutboundCallRequest
10640
+ * @description Request body for creating an outbound call.
10641
+ */
10642
+ CreateOutboundCallRequest: {
10643
+ /**
10644
+ * Idempotency Key
10645
+ * @description Client-provided idempotency key. Auto-generated if omitted.
10646
+ */
10647
+ idempotency_key?: string | null;
10648
+ /**
10649
+ * Outbound Task Entity Id
10650
+ * @description World model outbound_task entity ID for completion feedback.
10651
+ */
10652
+ outbound_task_entity_id?: string | null;
10653
+ /**
10654
+ * Phone From
10655
+ * @description Caller ID phone number in E.164 format. Must belong to this workspace.
10656
+ */
10657
+ phone_from: string;
10658
+ /**
10659
+ * Phone To
10660
+ * @description Destination phone number in E.164 format (e.g. +18005551234)
10661
+ */
10662
+ phone_to: string;
10663
+ /**
10664
+ * Service Id
10665
+ * @description Service ID for the voice agent to use.
10666
+ */
10667
+ service_id?: string | null;
10668
+ /**
10669
+ * System Prompt
10670
+ * @description Optional system prompt override for this call.
10671
+ */
10672
+ system_prompt?: string | null;
10673
+ };
10674
+ /**
10675
+ * CreateOutboundCallResponse
10676
+ * @description Response from creating an outbound call.
10677
+ */
10678
+ CreateOutboundCallResponse: {
10679
+ /**
10680
+ * Call Sid
10681
+ * @description Twilio call SID for the outbound call
10682
+ */
10683
+ call_sid: string;
10684
+ /**
10685
+ * Status
10686
+ * @description Initial call status (typically 'queued')
10687
+ */
10688
+ status: string;
10689
+ };
10618
10690
  /** CreatePersonaRequest */
10619
10691
  CreatePersonaRequest: {
10620
10692
  /** @default */
@@ -13558,8 +13630,14 @@ export interface components {
13558
13630
  };
13559
13631
  /** FhirAppointmentView */
13560
13632
  FhirAppointmentView: {
13633
+ /** Appointment Type */
13634
+ appointment_type?: string | null;
13635
+ /** Cancel Reason */
13636
+ cancel_reason?: string | null;
13561
13637
  /** Canonical Id */
13562
13638
  canonical_id?: string | null;
13639
+ /** Duration Minutes */
13640
+ duration_minutes?: number | null;
13563
13641
  /** End */
13564
13642
  end?: string | null;
13565
13643
  /** Entity Id */
@@ -13573,6 +13651,8 @@ export interface components {
13573
13651
  last_event_at?: string | null;
13574
13652
  /** Location Name */
13575
13653
  location_name?: string | null;
13654
+ /** Modality */
13655
+ modality?: string | null;
13576
13656
  /** Patient Name */
13577
13657
  patient_name?: string | null;
13578
13658
  /** Practitioner Name */
@@ -13729,6 +13809,12 @@ export interface components {
13729
13809
  address?: {
13730
13810
  [key: string]: unknown;
13731
13811
  } | null;
13812
+ /** Address City */
13813
+ address_city?: string | null;
13814
+ /** Address Postal Code */
13815
+ address_postal_code?: string | null;
13816
+ /** Address State */
13817
+ address_state?: string | null;
13732
13818
  /** Allergies */
13733
13819
  allergies?: string[];
13734
13820
  /** Birth Date */
@@ -13763,12 +13849,24 @@ export interface components {
13763
13849
  last_event_at?: string | null;
13764
13850
  /** Last Name */
13765
13851
  last_name?: string | null;
13852
+ /** Member Id */
13853
+ member_id?: string | null;
13766
13854
  /** Mrn */
13767
13855
  mrn?: string | null;
13768
13856
  /** Name */
13769
13857
  name?: string | null;
13770
13858
  /** Phone */
13771
13859
  phone?: string | null;
13860
+ /** Policyholder Dob */
13861
+ policyholder_dob?: string | null;
13862
+ /** Policyholder Name */
13863
+ policyholder_name?: string | null;
13864
+ /** Policyholder Relationship */
13865
+ policyholder_relationship?: string | null;
13866
+ /** Practice Payer Id */
13867
+ practice_payer_id?: string | null;
13868
+ /** Primary Payer Name */
13869
+ primary_payer_name?: string | null;
13772
13870
  /** Source System */
13773
13871
  source_system?: string | null;
13774
13872
  };
@@ -13801,12 +13899,16 @@ export interface components {
13801
13899
  event_count?: number;
13802
13900
  /** Last Event At */
13803
13901
  last_event_at?: string | null;
13902
+ /** Member Id */
13903
+ member_id?: string | null;
13804
13904
  /** Name */
13805
13905
  name?: string | null;
13806
13906
  /** Npi */
13807
13907
  npi?: string | null;
13808
13908
  /** Phone */
13809
13909
  phone?: string | null;
13910
+ /** Scheduling Eligible */
13911
+ scheduling_eligible?: boolean | null;
13810
13912
  /** Source System */
13811
13913
  source_system?: string | null;
13812
13914
  /** Specialty */
@@ -13916,18 +14018,28 @@ export interface components {
13916
14018
  * @default 0
13917
14019
  */
13918
14020
  event_count?: number;
14021
+ /** Facility Id */
14022
+ facility_id?: string | null;
13919
14023
  /** Last Event At */
13920
14024
  last_event_at?: string | null;
14025
+ /** Provider Id */
14026
+ provider_id?: string | null;
13921
14027
  /** Provider Name */
13922
14028
  provider_name?: string | null;
13923
14029
  /** Schedule Ref */
13924
14030
  schedule_ref?: string | null;
13925
14031
  /** Source System */
13926
14032
  source_system?: string | null;
14033
+ /** Specialty */
14034
+ specialty?: string | null;
13927
14035
  /** Start */
13928
14036
  start?: string | null;
13929
14037
  /** Status */
13930
14038
  status?: string | null;
14039
+ /** Visit Type Ids */
14040
+ visit_type_ids?: string | null;
14041
+ /** Visit Type Names */
14042
+ visit_type_names?: string | null;
13931
14043
  };
13932
14044
  /** FhirStatusResponse */
13933
14045
  FhirStatusResponse: {
@@ -27091,6 +27203,76 @@ export interface operations {
27091
27203
  };
27092
27204
  };
27093
27205
  };
27206
+ "create-outbound-call": {
27207
+ parameters: {
27208
+ query?: never;
27209
+ header?: never;
27210
+ path: {
27211
+ workspace_id: string;
27212
+ };
27213
+ cookie?: never;
27214
+ };
27215
+ requestBody: {
27216
+ content: {
27217
+ "application/json": components["schemas"]["CreateOutboundCallRequest"];
27218
+ };
27219
+ };
27220
+ responses: {
27221
+ /** @description Successful Response */
27222
+ 201: {
27223
+ headers: {
27224
+ [name: string]: unknown;
27225
+ };
27226
+ content: {
27227
+ "application/json": components["schemas"]["CreateOutboundCallResponse"];
27228
+ };
27229
+ };
27230
+ /** @description Invalid phone number format */
27231
+ 400: {
27232
+ headers: {
27233
+ [name: string]: unknown;
27234
+ };
27235
+ content?: never;
27236
+ };
27237
+ /** @description phone_from does not belong to this workspace */
27238
+ 403: {
27239
+ headers: {
27240
+ [name: string]: unknown;
27241
+ };
27242
+ content?: never;
27243
+ };
27244
+ /** @description Validation Error */
27245
+ 422: {
27246
+ headers: {
27247
+ [name: string]: unknown;
27248
+ };
27249
+ content: {
27250
+ "application/json": components["schemas"]["HTTPValidationError"];
27251
+ };
27252
+ };
27253
+ /** @description Rate limit exceeded */
27254
+ 429: {
27255
+ headers: {
27256
+ [name: string]: unknown;
27257
+ };
27258
+ content?: never;
27259
+ };
27260
+ /** @description Upstream Twilio or voice agent error */
27261
+ 502: {
27262
+ headers: {
27263
+ [name: string]: unknown;
27264
+ };
27265
+ content?: never;
27266
+ };
27267
+ /** @description Voice agent or outbound calls not configured */
27268
+ 503: {
27269
+ headers: {
27270
+ [name: string]: unknown;
27271
+ };
27272
+ content?: never;
27273
+ };
27274
+ };
27275
+ };
27094
27276
  "get-phone-call-volume": {
27095
27277
  parameters: {
27096
27278
  query?: {