@amigo-ai/platform-sdk 0.54.0 → 0.56.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 (38) hide show
  1. package/README.md +0 -10
  2. package/api.md +0 -21
  3. package/dist/core/branded-types.js +0 -1
  4. package/dist/core/branded-types.js.map +1 -1
  5. package/dist/index.cjs +0 -109
  6. package/dist/index.cjs.map +4 -4
  7. package/dist/index.js +1 -8
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.mjs +0 -109
  10. package/dist/index.mjs.map +4 -4
  11. package/dist/types/core/branded-types.d.ts +0 -2
  12. package/dist/types/core/branded-types.d.ts.map +1 -1
  13. package/dist/types/generated/api.d.ts +20 -1237
  14. package/dist/types/generated/api.d.ts.map +1 -1
  15. package/dist/types/index.d.cts +2 -7
  16. package/dist/types/index.d.cts.map +1 -1
  17. package/dist/types/index.d.ts +2 -7
  18. package/dist/types/index.d.ts.map +1 -1
  19. package/dist/types/resources/data-sources.d.ts +5 -5
  20. package/dist/types/resources/intake.d.ts.map +1 -1
  21. package/dist/types/resources/metrics.d.ts.map +1 -1
  22. package/dist/types/resources/operators.d.ts.map +1 -1
  23. package/dist/types/resources/pipeline.d.ts +3 -3
  24. package/dist/types/resources/services.d.ts +0 -10
  25. package/dist/types/resources/services.d.ts.map +1 -1
  26. package/dist/types/resources/settings.d.ts.map +1 -1
  27. package/dist/types/resources/surfaces.d.ts.map +1 -1
  28. package/dist/types/resources/world.d.ts +0 -10
  29. package/dist/types/resources/world.d.ts.map +1 -1
  30. package/package.json +1 -1
  31. package/dist/resources/crm.js +0 -52
  32. package/dist/resources/crm.js.map +0 -1
  33. package/dist/resources/personas.js +0 -34
  34. package/dist/resources/personas.js.map +0 -1
  35. package/dist/types/resources/crm.d.ts +0 -207
  36. package/dist/types/resources/crm.d.ts.map +0 -1
  37. package/dist/types/resources/personas.d.ts +0 -87
  38. package/dist/types/resources/personas.d.ts.map +0 -1
@@ -2055,186 +2055,6 @@ export interface paths {
2055
2055
  patch?: never;
2056
2056
  trace?: never;
2057
2057
  };
2058
- "/v1/{workspace_id}/crm/companies": {
2059
- parameters: {
2060
- query?: never;
2061
- header?: never;
2062
- path?: never;
2063
- cookie?: never;
2064
- };
2065
- /**
2066
- * Search CRM companies
2067
- * @description Search companies from CRM sources. Filter by name. Paginated.
2068
- */
2069
- get: operations["crm-company-search"];
2070
- put?: never;
2071
- post?: never;
2072
- delete?: never;
2073
- options?: never;
2074
- head?: never;
2075
- patch?: never;
2076
- trace?: never;
2077
- };
2078
- "/v1/{workspace_id}/crm/companies/{company_id}": {
2079
- parameters: {
2080
- query?: never;
2081
- header?: never;
2082
- path?: never;
2083
- cookie?: never;
2084
- };
2085
- /**
2086
- * Get CRM company
2087
- * @description Get a single CRM company with full state.
2088
- */
2089
- get: operations["crm-company-detail"];
2090
- put?: never;
2091
- post?: never;
2092
- delete?: never;
2093
- options?: never;
2094
- head?: never;
2095
- patch?: never;
2096
- trace?: never;
2097
- };
2098
- "/v1/{workspace_id}/crm/contacts": {
2099
- parameters: {
2100
- query?: never;
2101
- header?: never;
2102
- path?: never;
2103
- cookie?: never;
2104
- };
2105
- /**
2106
- * Search CRM contacts
2107
- * @description Search contacts from CRM sources. Filter by name, email, or phone. CRM source is auto-detected from workspace data source config. Paginated — use offset for subsequent pages.
2108
- */
2109
- get: operations["crm-contact-search"];
2110
- put?: never;
2111
- post?: never;
2112
- delete?: never;
2113
- options?: never;
2114
- head?: never;
2115
- patch?: never;
2116
- trace?: never;
2117
- };
2118
- "/v1/{workspace_id}/crm/contacts/{contact_id}": {
2119
- parameters: {
2120
- query?: never;
2121
- header?: never;
2122
- path?: never;
2123
- cookie?: never;
2124
- };
2125
- /**
2126
- * Get CRM contact
2127
- * @description Get a single CRM contact with full projected state including clinical data, operational fields, external IDs, and any cross-source merged entities (same_as links).
2128
- */
2129
- get: operations["crm-contact-detail"];
2130
- put?: never;
2131
- post?: never;
2132
- delete?: never;
2133
- options?: never;
2134
- head?: never;
2135
- patch?: never;
2136
- trace?: never;
2137
- };
2138
- "/v1/{workspace_id}/crm/contacts/{contact_id}/timeline": {
2139
- parameters: {
2140
- query?: never;
2141
- header?: never;
2142
- path?: never;
2143
- cookie?: never;
2144
- };
2145
- /**
2146
- * Contact activity timeline
2147
- * @description Activity timeline for a CRM contact — calls, meetings, notes, emails, syncs. Includes direction (inbound/outbound) and source system attribution. Paginated.
2148
- */
2149
- get: operations["crm-contact-timeline"];
2150
- put?: never;
2151
- post?: never;
2152
- delete?: never;
2153
- options?: never;
2154
- head?: never;
2155
- patch?: never;
2156
- trace?: never;
2157
- };
2158
- "/v1/{workspace_id}/crm/deals": {
2159
- parameters: {
2160
- query?: never;
2161
- header?: never;
2162
- path?: never;
2163
- cookie?: never;
2164
- };
2165
- /**
2166
- * Search CRM deals
2167
- * @description Search deals from CRM sources. Paginated.
2168
- */
2169
- get: operations["crm-deal-search"];
2170
- put?: never;
2171
- post?: never;
2172
- delete?: never;
2173
- options?: never;
2174
- head?: never;
2175
- patch?: never;
2176
- trace?: never;
2177
- };
2178
- "/v1/{workspace_id}/crm/deals/pipeline": {
2179
- parameters: {
2180
- query?: never;
2181
- header?: never;
2182
- path?: never;
2183
- cookie?: never;
2184
- };
2185
- /**
2186
- * Deal pipeline aggregation
2187
- * @description Deals grouped by pipeline stage with aggregate value per stage. Powers the deal pipeline funnel chart.
2188
- */
2189
- get: operations["crm-deal-pipeline"];
2190
- put?: never;
2191
- post?: never;
2192
- delete?: never;
2193
- options?: never;
2194
- head?: never;
2195
- patch?: never;
2196
- trace?: never;
2197
- };
2198
- "/v1/{workspace_id}/crm/deals/{deal_id}": {
2199
- parameters: {
2200
- query?: never;
2201
- header?: never;
2202
- path?: never;
2203
- cookie?: never;
2204
- };
2205
- /**
2206
- * Get CRM deal
2207
- * @description Get a single CRM deal with full state.
2208
- */
2209
- get: operations["crm-deal-detail"];
2210
- put?: never;
2211
- post?: never;
2212
- delete?: never;
2213
- options?: never;
2214
- head?: never;
2215
- patch?: never;
2216
- trace?: never;
2217
- };
2218
- "/v1/{workspace_id}/crm/status": {
2219
- parameters: {
2220
- query?: never;
2221
- header?: never;
2222
- path?: never;
2223
- cookie?: never;
2224
- };
2225
- /**
2226
- * CRM sync status
2227
- * @description Get CRM connector status — contact, company, and deal counts, sync health, last sync time. Parallel to /fhir/status.
2228
- */
2229
- get: operations["crm-status"];
2230
- put?: never;
2231
- post?: never;
2232
- delete?: never;
2233
- options?: never;
2234
- head?: never;
2235
- patch?: never;
2236
- trace?: never;
2237
- };
2238
2058
  "/v1/{workspace_id}/dashboards": {
2239
2059
  parameters: {
2240
2060
  query?: never;
@@ -4089,7 +3909,7 @@ export interface paths {
4089
3909
  *
4090
3910
  * Returns the static IP addresses used by all outbound traffic from the
4091
3911
  * platform. Customers should add these to their firewall allowlists to
4092
- * enable data source connectivity (EHR, CRM, FHIR stores, etc.).
3912
+ * enable data source connectivity (EHR, FHIR stores, etc.).
4093
3913
  *
4094
3914
  * Permissions: authenticated (any role).
4095
3915
  */
@@ -4450,70 +4270,6 @@ export interface paths {
4450
4270
  patch?: never;
4451
4271
  trace?: never;
4452
4272
  };
4453
- "/v1/{workspace_id}/personas": {
4454
- parameters: {
4455
- query?: never;
4456
- header?: never;
4457
- path?: never;
4458
- cookie?: never;
4459
- };
4460
- /**
4461
- * List personas
4462
- * @description List personas in the workspace.
4463
- *
4464
- * Permissions: viewer+.
4465
- * Search: case-insensitive on name and background.
4466
- * Sort: +name, -name, +created_at, -created_at, +updated_at, -updated_at.
4467
- */
4468
- get: operations["list-personas"];
4469
- put?: never;
4470
- /**
4471
- * Create a persona
4472
- * @description Create a new persona.
4473
- *
4474
- * Permissions: admin, owner.
4475
- */
4476
- post: operations["create-persona"];
4477
- delete?: never;
4478
- options?: never;
4479
- head?: never;
4480
- patch?: never;
4481
- trace?: never;
4482
- };
4483
- "/v1/{workspace_id}/personas/{persona_id}": {
4484
- parameters: {
4485
- query?: never;
4486
- header?: never;
4487
- path?: never;
4488
- cookie?: never;
4489
- };
4490
- /**
4491
- * Get a persona
4492
- * @description Get a persona by ID.
4493
- *
4494
- * Permissions: viewer+.
4495
- */
4496
- get: operations["get-persona"];
4497
- put?: never;
4498
- post?: never;
4499
- /**
4500
- * Delete a persona
4501
- * @description Delete a persona.
4502
- *
4503
- * Permissions: admin, owner.
4504
- */
4505
- delete: operations["delete-persona"];
4506
- options?: never;
4507
- head?: never;
4508
- /**
4509
- * Update a persona
4510
- * @description Update a persona.
4511
- *
4512
- * Permissions: admin, owner.
4513
- */
4514
- patch: operations["update-persona"];
4515
- trace?: never;
4516
- };
4517
4273
  "/v1/{workspace_id}/pipeline/entity-resolution": {
4518
4274
  parameters: {
4519
4275
  query?: never;
@@ -5935,7 +5691,7 @@ export interface paths {
5935
5691
  * **Speech Recognition Boost**
5936
5692
  * - **keyterms**: Exact words the speech recognition engine should
5937
5693
  * prioritize. Use for specific names, drug names, and org jargon.
5938
- * Example: ``["Dr. Ramirez", "metformin", "InFocus", "HIPAA"]``
5694
+ * Example: ``["Dr. Ramirez", "metformin", "HIPAA"]``
5939
5695
  *
5940
5696
  * **Audio Correction Hints**
5941
5697
  * - **correction_categories**: Broad categories of things callers
@@ -7215,7 +6971,7 @@ export interface paths {
7215
6971
  };
7216
6972
  /**
7217
6973
  * Connected data sources overview
7218
- * @description All active data sources with entity counts by type, sync status, and health. Powers the CRM/EHR/FHIR connector cards in the frontend. Each item includes connector_type (revolution, hubspot, fhir_store) and a breakdown of entities by type (patient, practitioner, etc.).
6974
+ * @description All active data sources with entity counts by type, sync status, and health. Powers the EHR/FHIR connector cards in the frontend. Each item includes connector_type (charmhealth, fhir_store) and a breakdown of entities by type (patient, practitioner, etc.).
7219
6975
  */
7220
6976
  get: operations["connector-overview"];
7221
6977
  put?: never;
@@ -7523,7 +7279,7 @@ export interface paths {
7523
7279
  };
7524
7280
  /**
7525
7281
  * Get merged entities (same_as links)
7526
- * @description Returns entities linked via same_as edges — cross-source merges where different data sources refer to the same real-world entity (e.g. a patient in Revolution EHR and HubSpot CRM matched by phone number).
7282
+ * @description Returns entities linked via same_as edges — cross-source merges where different data sources refer to the same real-world entity.
7527
7283
  */
7528
7284
  get: operations["merged-entities"];
7529
7285
  put?: never;
@@ -7683,7 +7439,7 @@ export interface paths {
7683
7439
  };
7684
7440
  /**
7685
7441
  * Entity counts by source system
7686
- * @description Breakdown of entity counts by source system (e.g. revolution, hubspot, gcp_fhir, voice_agent). Powers the CRM/EHR/FHIR view in the frontend. Filter by entity_type (e.g. person, place) for focused views.
7442
+ * @description Breakdown of entity counts by source system (e.g. charmhealth, gcp_fhir, voice_agent). Powers the EHR/FHIR view in the frontend. Filter by entity_type (e.g. person, place) for focused views.
7687
7443
  */
7688
7444
  get: operations["source-breakdown"];
7689
7445
  put?: never;
@@ -7703,7 +7459,7 @@ export interface paths {
7703
7459
  };
7704
7460
  /**
7705
7461
  * Outbound sync status per data source
7706
- * @description Multi-sink outbound sync progress. Shows total/synced/failed/pending counts per data source. For workspaces with multiple outbound sinks (e.g. Revolution + HubSpot).
7462
+ * @description Multi-sink outbound sync progress. Shows total/synced/failed/pending counts per data source for workspaces with multiple outbound sinks.
7707
7463
  */
7708
7464
  get: operations["outbound-sync-by-sink"];
7709
7465
  put?: never;
@@ -10582,7 +10338,7 @@ export interface components {
10582
10338
  * Source Type
10583
10339
  * @enum {string}
10584
10340
  */
10585
- source_type: "ehr" | "crm" | "fhir_store" | "smart_fhir" | "rest_api" | "webhook" | "file_drop" | "lakebase_schema";
10341
+ source_type: "ehr" | "fhir_store" | "smart_fhir" | "rest_api" | "webhook" | "file_drop" | "lakebase_schema";
10586
10342
  /** Sync Schedule */
10587
10343
  sync_schedule?: string | null;
10588
10344
  /**
@@ -11450,7 +11206,7 @@ export interface components {
11450
11206
  * Source Type
11451
11207
  * @enum {string}
11452
11208
  */
11453
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
11209
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
11454
11210
  /** Sync Schedule */
11455
11211
  sync_schedule?: string | null;
11456
11212
  /**
@@ -11581,7 +11337,7 @@ export interface components {
11581
11337
  * @description World model outbound_task entity ID for completion feedback.
11582
11338
  */
11583
11339
  outbound_task_entity_id?: string | null;
11584
- /** @description Patient world model canonical_id of the form 'source:resource_type:id' (e.g. 'revolution:Patient:67890'). The structural regex on CanonicalIdString rejects spaces, names, DOBs, and similar regulated content so PHI cannot leak into audit events or pipeline projections. The raw value is deliberately not recorded in the outbound.initiated event — correlation back to the source system is via the resolved entity_id joined to world.entities.canonical_id. Resolved against the SDP-projected world.entities table; an entity created moments ago may not yet be visible if the projection is lagging. Provide either patient_entity_id or patient_canonical_id, not both. */
11340
+ /** @description Patient world model canonical_id of the form 'source:resource_type:id' (e.g. 'charmhealth:Patient:67890'). The structural regex on CanonicalIdString rejects spaces, names, DOBs, and similar regulated content so PHI cannot leak into audit events or pipeline projections. The raw value is deliberately not recorded in the outbound.initiated event — correlation back to the source system is via the resolved entity_id joined to world.entities.canonical_id. Resolved against the SDP-projected world.entities table; an entity created moments ago may not yet be visible if the projection is lagging. Provide either patient_entity_id or patient_canonical_id, not both. */
11585
11341
  patient_canonical_id?: components["schemas"]["CanonicalIdString"] | null;
11586
11342
  /**
11587
11343
  * Patient Entity Id
@@ -11646,23 +11402,6 @@ export interface components {
11646
11402
  */
11647
11403
  status: string;
11648
11404
  };
11649
- /** CreatePersonaRequest */
11650
- CreatePersonaRequest: {
11651
- /** @default */
11652
- background?: components["schemas"]["DescriptionString"];
11653
- /** Communication Style */
11654
- communication_style?: {
11655
- [key: string]: unknown;
11656
- };
11657
- /**
11658
- * Default Language
11659
- * @default eng
11660
- */
11661
- default_language?: string;
11662
- developed_by: components["schemas"]["NameString"];
11663
- name: components["schemas"]["NameString"];
11664
- role: components["schemas"]["NameString"];
11665
- };
11666
11405
  /** CreateRunRequest */
11667
11406
  CreateRunRequest: {
11668
11407
  /** Branch Name */
@@ -11728,8 +11467,6 @@ export interface components {
11728
11467
  /** Keyterms */
11729
11468
  keyterms?: string[];
11730
11469
  name: components["schemas"]["NameString"];
11731
- /** Persona Id */
11732
- persona_id?: string | null;
11733
11470
  /**
11734
11471
  * Safety Filters Enabled
11735
11472
  * @default true
@@ -12074,327 +11811,6 @@ export interface components {
12074
11811
  name: components["schemas"]["StrippedNonemptyString"];
12075
11812
  slug: components["schemas"]["SlugString"];
12076
11813
  };
12077
- /** CrmActivityItem */
12078
- CrmActivityItem: {
12079
- /** Activity Type */
12080
- activity_type: string;
12081
- /**
12082
- * Confidence
12083
- * @default 1
12084
- */
12085
- confidence?: number;
12086
- /** Data */
12087
- data?: {
12088
- [key: string]: unknown;
12089
- };
12090
- /** Description */
12091
- description?: string | null;
12092
- /** Direction */
12093
- direction?: string | null;
12094
- /**
12095
- * Id
12096
- * Format: uuid
12097
- */
12098
- id: string;
12099
- /** Occurred At */
12100
- occurred_at?: string | null;
12101
- /**
12102
- * Source
12103
- * @default unknown
12104
- */
12105
- source?: string;
12106
- /** Source System */
12107
- source_system?: string | null;
12108
- };
12109
- /** CrmActivityTimelineResponse */
12110
- CrmActivityTimelineResponse: {
12111
- /** Activities */
12112
- activities: components["schemas"]["CrmActivityItem"][];
12113
- /**
12114
- * Entity Id
12115
- * Format: uuid
12116
- */
12117
- entity_id: string;
12118
- /**
12119
- * Has More
12120
- * @default false
12121
- */
12122
- has_more?: boolean;
12123
- /** Total */
12124
- total: number;
12125
- };
12126
- /** CrmCompanyResponse */
12127
- CrmCompanyResponse: {
12128
- /** Address */
12129
- address?: {
12130
- [key: string]: unknown;
12131
- } | null;
12132
- /**
12133
- * Created At
12134
- * @description When the company was created
12135
- */
12136
- created_at?: string | null;
12137
- /** Domain */
12138
- domain?: string | null;
12139
- /**
12140
- * Entity Id
12141
- * Format: uuid
12142
- */
12143
- entity_id: string;
12144
- /**
12145
- * Event Count
12146
- * @default 0
12147
- */
12148
- event_count?: number;
12149
- /** Hubspot Id */
12150
- hubspot_id?: string | null;
12151
- /** Industry */
12152
- industry?: string | null;
12153
- /** Last Activity At */
12154
- last_activity_at?: string | null;
12155
- /** Name */
12156
- name?: string | null;
12157
- /** Phone */
12158
- phone?: string | null;
12159
- /** Source System */
12160
- source_system?: string | null;
12161
- };
12162
- /** CrmCompanySearchResponse */
12163
- CrmCompanySearchResponse: {
12164
- /** Companies */
12165
- companies: components["schemas"]["CrmCompanyResponse"][];
12166
- /**
12167
- * Has More
12168
- * @default false
12169
- */
12170
- has_more?: boolean;
12171
- /** Next Offset */
12172
- next_offset?: number | null;
12173
- /** Total */
12174
- total: number;
12175
- };
12176
- /**
12177
- * CrmContactDetailResponse
12178
- * @description Single contact with full clinical state + merged entities.
12179
- */
12180
- CrmContactDetailResponse: {
12181
- /** Address */
12182
- address?: {
12183
- [key: string]: unknown;
12184
- } | null;
12185
- /** Birth Date */
12186
- birth_date?: string | null;
12187
- /** Canonical Id */
12188
- canonical_id?: string | null;
12189
- /** Clinical */
12190
- clinical?: {
12191
- [key: string]: unknown;
12192
- };
12193
- /** Company */
12194
- company?: string | null;
12195
- /**
12196
- * Confidence
12197
- * @default 1
12198
- */
12199
- confidence?: number;
12200
- /**
12201
- * Created At
12202
- * @description When the contact was created
12203
- */
12204
- created_at?: string | null;
12205
- /** Email */
12206
- email?: string | null;
12207
- /**
12208
- * Entity Id
12209
- * Format: uuid
12210
- */
12211
- entity_id: string;
12212
- /**
12213
- * Event Count
12214
- * @default 0
12215
- */
12216
- event_count?: number;
12217
- /** External Ids */
12218
- external_ids?: {
12219
- [key: string]: unknown;
12220
- };
12221
- /** First Name */
12222
- first_name?: string | null;
12223
- /** Gender */
12224
- gender?: string | null;
12225
- /** Hubspot Id */
12226
- hubspot_id?: string | null;
12227
- /** Last Activity At */
12228
- last_activity_at?: string | null;
12229
- /** Last Name */
12230
- last_name?: string | null;
12231
- /** Lifecycle Stage */
12232
- lifecycle_stage?: string | null;
12233
- /** Merged With */
12234
- merged_with?: components["schemas"]["CrmContactResponse"][];
12235
- /** Mrn */
12236
- mrn?: string | null;
12237
- /** Name */
12238
- name?: string | null;
12239
- /** Operational */
12240
- operational?: {
12241
- [key: string]: unknown;
12242
- };
12243
- /** Phone */
12244
- phone?: string | null;
12245
- /** Source System */
12246
- source_system?: string | null;
12247
- };
12248
- /** CrmContactResponse */
12249
- CrmContactResponse: {
12250
- /** Address */
12251
- address?: {
12252
- [key: string]: unknown;
12253
- } | null;
12254
- /** Birth Date */
12255
- birth_date?: string | null;
12256
- /** Company */
12257
- company?: string | null;
12258
- /**
12259
- * Confidence
12260
- * @default 1
12261
- */
12262
- confidence?: number;
12263
- /**
12264
- * Created At
12265
- * @description When the contact was created
12266
- */
12267
- created_at?: string | null;
12268
- /** Email */
12269
- email?: string | null;
12270
- /**
12271
- * Entity Id
12272
- * Format: uuid
12273
- */
12274
- entity_id: string;
12275
- /**
12276
- * Event Count
12277
- * @default 0
12278
- */
12279
- event_count?: number;
12280
- /** First Name */
12281
- first_name?: string | null;
12282
- /** Gender */
12283
- gender?: string | null;
12284
- /** Hubspot Id */
12285
- hubspot_id?: string | null;
12286
- /** Last Activity At */
12287
- last_activity_at?: string | null;
12288
- /** Last Name */
12289
- last_name?: string | null;
12290
- /** Lifecycle Stage */
12291
- lifecycle_stage?: string | null;
12292
- /** Mrn */
12293
- mrn?: string | null;
12294
- /** Name */
12295
- name?: string | null;
12296
- /** Phone */
12297
- phone?: string | null;
12298
- /** Source System */
12299
- source_system?: string | null;
12300
- };
12301
- /** CrmContactSearchResponse */
12302
- CrmContactSearchResponse: {
12303
- /** Contacts */
12304
- contacts: components["schemas"]["CrmContactResponse"][];
12305
- /**
12306
- * Has More
12307
- * @default false
12308
- */
12309
- has_more?: boolean;
12310
- /** Next Offset */
12311
- next_offset?: number | null;
12312
- /** Total */
12313
- total: number;
12314
- };
12315
- /** CrmDealResponse */
12316
- CrmDealResponse: {
12317
- /** Amount */
12318
- amount?: number | null;
12319
- /** Close Date */
12320
- close_date?: string | null;
12321
- /**
12322
- * Created At
12323
- * @description When the deal was created
12324
- */
12325
- created_at?: string | null;
12326
- /** Deal Type */
12327
- deal_type?: string | null;
12328
- /**
12329
- * Entity Id
12330
- * Format: uuid
12331
- */
12332
- entity_id: string;
12333
- /**
12334
- * Event Count
12335
- * @default 0
12336
- */
12337
- event_count?: number;
12338
- /** Hubspot Id */
12339
- hubspot_id?: string | null;
12340
- /** Last Activity At */
12341
- last_activity_at?: string | null;
12342
- /** Name */
12343
- name?: string | null;
12344
- /** Pipeline */
12345
- pipeline?: string | null;
12346
- /** Stage */
12347
- stage?: string | null;
12348
- };
12349
- /** CrmDealSearchResponse */
12350
- CrmDealSearchResponse: {
12351
- /** Deals */
12352
- deals: components["schemas"]["CrmDealResponse"][];
12353
- /**
12354
- * Has More
12355
- * @default false
12356
- */
12357
- has_more?: boolean;
12358
- /** Next Offset */
12359
- next_offset?: number | null;
12360
- /** Total */
12361
- total: number;
12362
- };
12363
- /** CrmStatusResponse */
12364
- CrmStatusResponse: {
12365
- /**
12366
- * Company Count
12367
- * @default 0
12368
- */
12369
- company_count?: number;
12370
- /** Configured */
12371
- configured: boolean;
12372
- /** Connector Type */
12373
- connector_type?: string | null;
12374
- /**
12375
- * Contact Count
12376
- * @default 0
12377
- */
12378
- contact_count?: number;
12379
- /** Data Source Id */
12380
- data_source_id?: string | null;
12381
- /**
12382
- * Deal Count
12383
- * @default 0
12384
- */
12385
- deal_count?: number;
12386
- /** Last Sync At */
12387
- last_sync_at?: string | null;
12388
- /** Last Sync Status */
12389
- last_sync_status?: ("success" | "error") | null;
12390
- /**
12391
- * Sync Failure Count
12392
- * @default 0
12393
- */
12394
- sync_failure_count?: number;
12395
- /** Sync Healthy */
12396
- sync_healthy?: boolean | null;
12397
- };
12398
11814
  /**
12399
11815
  * CustomerAddress
12400
11816
  * @description Customer billing address.
@@ -12880,7 +12296,7 @@ export interface components {
12880
12296
  * Source Type
12881
12297
  * @enum {string}
12882
12298
  */
12883
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
12299
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
12884
12300
  /** Sync Schedule */
12885
12301
  sync_schedule: string | null;
12886
12302
  /**
@@ -13992,7 +13408,7 @@ export interface components {
13992
13408
  effective_at?: string | null;
13993
13409
  /**
13994
13410
  * Source
13995
- * @description Write source — e.g. manual, hubspot, forms, auto_enrich.
13411
+ * @description Write source — e.g. manual, forms, auto_enrich.
13996
13412
  * @default manual
13997
13413
  */
13998
13414
  source?: string;
@@ -14160,14 +13576,14 @@ export interface components {
14160
13576
  * EntityResolveExternalId
14161
13577
  * @description Reference to an external-system identifier.
14162
13578
  *
14163
- * ``system`` labels which system minted the value (``epic``, ``hubspot``,
14164
- * ``charm``, ``revolution``, …). The value is matched against any
13579
+ * ``system`` labels which system minted the value (``epic``, ``charm``,
13580
+ * ``charmhealth``, …). The value is matched against any
14165
13581
  * nested key in ``world.entities.external_ids`` whose value equals
14166
13582
  * ``value``. ``system`` is informational for scoring; it doesn't
14167
13583
  * constrain the lookup, since adapters disagree on naming.
14168
13584
  */
14169
13585
  EntityResolveExternalId: {
14170
- /** @description External system label (lowercase, e.g. 'epic', 'hubspot'). */
13586
+ /** @description External system label (lowercase, e.g. 'epic'). */
14171
13587
  system: components["schemas"]["ExternalSystemString"];
14172
13588
  /** @description System-issued identifier. */
14173
13589
  value: components["schemas"]["ExternalValueString"];
@@ -14328,16 +13744,6 @@ export interface components {
14328
13744
  * @description When the entity was created
14329
13745
  */
14330
13746
  created_at?: string | null;
14331
- /**
14332
- * Deal Amount
14333
- * @description CRM deal monetary value
14334
- */
14335
- deal_amount?: number | null;
14336
- /**
14337
- * Deal Stage
14338
- * @description CRM deal stage
14339
- */
14340
- deal_stage?: string | null;
14341
13747
  /**
14342
13748
  * Direction
14343
13749
  * @description Call direction (inbound, outbound)
@@ -18747,17 +18153,6 @@ export interface components {
18747
18153
  /** Total */
18748
18154
  total?: number | null;
18749
18155
  };
18750
- /** PaginatedResponse[PersonaResponse] */
18751
- PaginatedResponse_PersonaResponse_: {
18752
- /** Continuation Token */
18753
- continuation_token?: number | null;
18754
- /** Has More */
18755
- has_more: boolean;
18756
- /** Items */
18757
- items: components["schemas"]["PersonaResponse"][];
18758
- /** Total */
18759
- total?: number | null;
18760
- };
18761
18156
  /** PaginatedResponse[ReviewItemResponse] */
18762
18157
  PaginatedResponse_ReviewItemResponse_: {
18763
18158
  /** Continuation Token */
@@ -19466,65 +18861,6 @@ export interface components {
19466
18861
  */
19467
18862
  workspace_id: string;
19468
18863
  };
19469
- /** PersonaResponse */
19470
- PersonaResponse: {
19471
- /**
19472
- * Background
19473
- * @description Background context and instructions for the persona
19474
- */
19475
- background: string;
19476
- /**
19477
- * Communication Style
19478
- * @description Communication style configuration
19479
- */
19480
- communication_style: {
19481
- [key: string]: unknown;
19482
- };
19483
- /**
19484
- * Created At
19485
- * Format: date-time
19486
- * @description When the persona was created
19487
- */
19488
- created_at: string;
19489
- /**
19490
- * Default Language
19491
- * @description ISO 639-3 language code (e.g. 'eng')
19492
- */
19493
- default_language: string;
19494
- /**
19495
- * Developed By
19496
- * @description Organization or team that created this persona
19497
- */
19498
- developed_by: string;
19499
- /**
19500
- * Id
19501
- * Format: uuid
19502
- * @description Unique persona identifier
19503
- */
19504
- id: string;
19505
- /**
19506
- * Name
19507
- * @description Display name of the persona
19508
- */
19509
- name: string;
19510
- /**
19511
- * Role
19512
- * @description Role the persona embodies (e.g. 'Receptionist')
19513
- */
19514
- role: string;
19515
- /**
19516
- * Updated At
19517
- * Format: date-time
19518
- * @description When the persona was last updated
19519
- */
19520
- updated_at: string;
19521
- /**
19522
- * Workspace Id
19523
- * Format: uuid
19524
- * @description Workspace that owns this persona
19525
- */
19526
- workspace_id: string;
19527
- };
19528
18864
  PhoneE164: string;
19529
18865
  /** PhoneNumberCallVolume */
19530
18866
  PhoneNumberCallVolume: {
@@ -21234,8 +20570,6 @@ export interface components {
21234
20570
  keyterms: string[];
21235
20571
  /** Name */
21236
20572
  name: string;
21237
- /** Persona Id */
21238
- persona_id?: string | null;
21239
20573
  risk_signal_config?: components["schemas"]["RiskSignalConfig"] | null;
21240
20574
  /**
21241
20575
  * Safety Filters Enabled
@@ -21378,10 +20712,6 @@ export interface components {
21378
20712
  keyterms: string[];
21379
20713
  /** Name */
21380
20714
  name: string;
21381
- /** Persona Id */
21382
- persona_id?: string | null;
21383
- /** Persona Name */
21384
- persona_name?: string | null;
21385
20715
  /**
21386
20716
  * Safety Filters Enabled
21387
20717
  * @default true
@@ -22670,7 +22000,7 @@ export interface components {
22670
22000
  * Source Type
22671
22001
  * @enum {string}
22672
22002
  */
22673
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22003
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22674
22004
  };
22675
22005
  /** SourceOverviewResponse */
22676
22006
  SourceOverviewResponse: {
@@ -22730,7 +22060,7 @@ export interface components {
22730
22060
  * Source Type
22731
22061
  * @enum {string}
22732
22062
  */
22733
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22063
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22734
22064
  };
22735
22065
  /** SourceStatus */
22736
22066
  SourceStatus: {
@@ -22769,7 +22099,7 @@ export interface components {
22769
22099
  * Source Type
22770
22100
  * @enum {string}
22771
22101
  */
22772
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22102
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22773
22103
  /** Status */
22774
22104
  status: string;
22775
22105
  /**
@@ -22837,7 +22167,7 @@ export interface components {
22837
22167
  };
22838
22168
  /** StartSessionRequest */
22839
22169
  StartSessionRequest: {
22840
- /** @description World model canonical_id of the form 'source:resource_type:id' (e.g. 'revolution:Patient:67890'). The structural regex on CanonicalIdString blocks spaces, names, DOBs, and similar regulated content. Resolved against the SDP-projected world.entities table; a freshly-created entity may not be visible yet if the projection is lagging. Provide either entity_id or canonical_id, not both. */
22170
+ /** @description World model canonical_id of the form 'source:resource_type:id' (e.g. 'charmhealth:Patient:67890'). The structural regex on CanonicalIdString blocks spaces, names, DOBs, and similar regulated content. Resolved against the SDP-projected world.entities table; a freshly-created entity may not be visible yet if the projection is lagging. Provide either entity_id or canonical_id, not both. */
22841
22171
  canonical_id?: components["schemas"]["CanonicalIdString"] | null;
22842
22172
  /**
22843
22173
  * Channel Kind
@@ -25571,19 +24901,6 @@ export interface components {
25571
24901
  /** Type */
25572
24902
  type?: ("clinical" | "administrative" | "crisis_counselor") | null;
25573
24903
  };
25574
- /** UpdatePersonaRequest */
25575
- UpdatePersonaRequest: {
25576
- background?: components["schemas"]["DescriptionString"] | null;
25577
- /** Communication Style */
25578
- communication_style?: {
25579
- [key: string]: unknown;
25580
- } | null;
25581
- /** Default Language */
25582
- default_language?: string | null;
25583
- developed_by?: components["schemas"]["NameString"] | null;
25584
- name?: components["schemas"]["NameString"] | null;
25585
- role?: components["schemas"]["NameString"] | null;
25586
- };
25587
24904
  /**
25588
24905
  * UpdateSchedulingRuleSetRequest
25589
24906
  * @description Partial update — fields not provided are unchanged. ``params``
@@ -25613,8 +24930,6 @@ export interface components {
25613
24930
  /** Keyterms */
25614
24931
  keyterms?: string[] | null;
25615
24932
  name?: components["schemas"]["NameString"] | null;
25616
- /** Persona Id */
25617
- persona_id?: string | null;
25618
24933
  /** Safety Filters Enabled */
25619
24934
  safety_filters_enabled?: boolean | null;
25620
24935
  /** Tags */
@@ -25773,7 +25088,7 @@ export interface components {
25773
25088
  /** UpdateWorkspaceRequest */
25774
25089
  UpdateWorkspaceRequest: {
25775
25090
  /** Connector Type */
25776
- connector_type?: ("revolution" | "epic" | "cerner" | "allscripts" | "fhir_store" | "hubspot" | "athenahealth" | "charmhealth" | "eclinicalworks" | "meditab") | null;
25091
+ connector_type?: ("epic" | "cerner" | "allscripts" | "fhir_store" | "athenahealth" | "charmhealth" | "eclinicalworks" | "meditab") | null;
25777
25092
  /** Environment */
25778
25093
  environment?: ("production" | "staging" | "development") | null;
25779
25094
  name?: components["schemas"]["StrippedNonemptyString"] | null;
@@ -32611,315 +31926,6 @@ export interface operations {
32611
31926
  };
32612
31927
  };
32613
31928
  };
32614
- "crm-company-search": {
32615
- parameters: {
32616
- query?: {
32617
- /** @description Search by name */
32618
- q?: string | null;
32619
- limit?: number;
32620
- offset?: number;
32621
- };
32622
- header?: never;
32623
- path: {
32624
- workspace_id: string;
32625
- };
32626
- cookie?: never;
32627
- };
32628
- requestBody?: never;
32629
- responses: {
32630
- /** @description Successful Response */
32631
- 200: {
32632
- headers: {
32633
- [name: string]: unknown;
32634
- };
32635
- content: {
32636
- "application/json": components["schemas"]["CrmCompanySearchResponse"];
32637
- };
32638
- };
32639
- /** @description Validation Error */
32640
- 422: {
32641
- headers: {
32642
- [name: string]: unknown;
32643
- };
32644
- content: {
32645
- "application/json": components["schemas"]["HTTPValidationError"];
32646
- };
32647
- };
32648
- };
32649
- };
32650
- "crm-company-detail": {
32651
- parameters: {
32652
- query?: never;
32653
- header?: never;
32654
- path: {
32655
- workspace_id: string;
32656
- company_id: string;
32657
- };
32658
- cookie?: never;
32659
- };
32660
- requestBody?: never;
32661
- responses: {
32662
- /** @description Successful Response */
32663
- 200: {
32664
- headers: {
32665
- [name: string]: unknown;
32666
- };
32667
- content: {
32668
- "application/json": components["schemas"]["CrmCompanyResponse"];
32669
- };
32670
- };
32671
- /** @description Company not found. */
32672
- 404: {
32673
- headers: {
32674
- [name: string]: unknown;
32675
- };
32676
- content?: never;
32677
- };
32678
- /** @description Invalid company ID format. */
32679
- 422: {
32680
- headers: {
32681
- [name: string]: unknown;
32682
- };
32683
- content?: never;
32684
- };
32685
- };
32686
- };
32687
- "crm-contact-search": {
32688
- parameters: {
32689
- query?: {
32690
- /** @description Search by name */
32691
- q?: string | null;
32692
- /** @description Search by email */
32693
- email?: string | null;
32694
- /** @description Search by phone */
32695
- phone?: string | null;
32696
- limit?: number;
32697
- offset?: number;
32698
- };
32699
- header?: never;
32700
- path: {
32701
- workspace_id: string;
32702
- };
32703
- cookie?: never;
32704
- };
32705
- requestBody?: never;
32706
- responses: {
32707
- /** @description Successful Response */
32708
- 200: {
32709
- headers: {
32710
- [name: string]: unknown;
32711
- };
32712
- content: {
32713
- "application/json": components["schemas"]["CrmContactSearchResponse"];
32714
- };
32715
- };
32716
- /** @description Validation Error */
32717
- 422: {
32718
- headers: {
32719
- [name: string]: unknown;
32720
- };
32721
- content: {
32722
- "application/json": components["schemas"]["HTTPValidationError"];
32723
- };
32724
- };
32725
- };
32726
- };
32727
- "crm-contact-detail": {
32728
- parameters: {
32729
- query?: never;
32730
- header?: never;
32731
- path: {
32732
- workspace_id: string;
32733
- contact_id: string;
32734
- };
32735
- cookie?: never;
32736
- };
32737
- requestBody?: never;
32738
- responses: {
32739
- /** @description Successful Response */
32740
- 200: {
32741
- headers: {
32742
- [name: string]: unknown;
32743
- };
32744
- content: {
32745
- "application/json": components["schemas"]["CrmContactDetailResponse"];
32746
- };
32747
- };
32748
- /** @description Contact not found. */
32749
- 404: {
32750
- headers: {
32751
- [name: string]: unknown;
32752
- };
32753
- content?: never;
32754
- };
32755
- /** @description Invalid contact ID format. */
32756
- 422: {
32757
- headers: {
32758
- [name: string]: unknown;
32759
- };
32760
- content?: never;
32761
- };
32762
- };
32763
- };
32764
- "crm-contact-timeline": {
32765
- parameters: {
32766
- query?: {
32767
- limit?: number;
32768
- offset?: number;
32769
- };
32770
- header?: never;
32771
- path: {
32772
- workspace_id: string;
32773
- contact_id: string;
32774
- };
32775
- cookie?: never;
32776
- };
32777
- requestBody?: never;
32778
- responses: {
32779
- /** @description Successful Response */
32780
- 200: {
32781
- headers: {
32782
- [name: string]: unknown;
32783
- };
32784
- content: {
32785
- "application/json": components["schemas"]["CrmActivityTimelineResponse"];
32786
- };
32787
- };
32788
- /** @description Contact not found. */
32789
- 404: {
32790
- headers: {
32791
- [name: string]: unknown;
32792
- };
32793
- content?: never;
32794
- };
32795
- /** @description Invalid contact ID format. */
32796
- 422: {
32797
- headers: {
32798
- [name: string]: unknown;
32799
- };
32800
- content?: never;
32801
- };
32802
- };
32803
- };
32804
- "crm-deal-search": {
32805
- parameters: {
32806
- query?: {
32807
- /** @description Search by name */
32808
- q?: string | null;
32809
- limit?: number;
32810
- offset?: number;
32811
- };
32812
- header?: never;
32813
- path: {
32814
- workspace_id: string;
32815
- };
32816
- cookie?: never;
32817
- };
32818
- requestBody?: never;
32819
- responses: {
32820
- /** @description Successful Response */
32821
- 200: {
32822
- headers: {
32823
- [name: string]: unknown;
32824
- };
32825
- content: {
32826
- "application/json": components["schemas"]["CrmDealSearchResponse"];
32827
- };
32828
- };
32829
- /** @description Validation Error */
32830
- 422: {
32831
- headers: {
32832
- [name: string]: unknown;
32833
- };
32834
- content: {
32835
- "application/json": components["schemas"]["HTTPValidationError"];
32836
- };
32837
- };
32838
- };
32839
- };
32840
- "crm-deal-pipeline": {
32841
- parameters: {
32842
- query?: never;
32843
- header?: never;
32844
- path: {
32845
- workspace_id: string;
32846
- };
32847
- cookie?: never;
32848
- };
32849
- requestBody?: never;
32850
- responses: {
32851
- /** @description Successful Response */
32852
- 200: {
32853
- headers: {
32854
- [name: string]: unknown;
32855
- };
32856
- content: {
32857
- "application/json": {
32858
- [key: string]: unknown;
32859
- };
32860
- };
32861
- };
32862
- };
32863
- };
32864
- "crm-deal-detail": {
32865
- parameters: {
32866
- query?: never;
32867
- header?: never;
32868
- path: {
32869
- workspace_id: string;
32870
- deal_id: string;
32871
- };
32872
- cookie?: never;
32873
- };
32874
- requestBody?: never;
32875
- responses: {
32876
- /** @description Successful Response */
32877
- 200: {
32878
- headers: {
32879
- [name: string]: unknown;
32880
- };
32881
- content: {
32882
- "application/json": components["schemas"]["CrmDealResponse"];
32883
- };
32884
- };
32885
- /** @description Deal not found. */
32886
- 404: {
32887
- headers: {
32888
- [name: string]: unknown;
32889
- };
32890
- content?: never;
32891
- };
32892
- /** @description Invalid deal ID format. */
32893
- 422: {
32894
- headers: {
32895
- [name: string]: unknown;
32896
- };
32897
- content?: never;
32898
- };
32899
- };
32900
- };
32901
- "crm-status": {
32902
- parameters: {
32903
- query?: never;
32904
- header?: never;
32905
- path: {
32906
- workspace_id: string;
32907
- };
32908
- cookie?: never;
32909
- };
32910
- requestBody?: never;
32911
- responses: {
32912
- /** @description Successful Response */
32913
- 200: {
32914
- headers: {
32915
- [name: string]: unknown;
32916
- };
32917
- content: {
32918
- "application/json": components["schemas"]["CrmStatusResponse"];
32919
- };
32920
- };
32921
- };
32922
- };
32923
31929
  list_dashboards_v1__workspace_id__dashboards_get: {
32924
31930
  parameters: {
32925
31931
  query?: {
@@ -37751,229 +36757,6 @@ export interface operations {
37751
36757
  };
37752
36758
  };
37753
36759
  };
37754
- "list-personas": {
37755
- parameters: {
37756
- query?: {
37757
- search?: components["schemas"]["SearchString"] | null;
37758
- sort_by?: string | null;
37759
- limit?: number;
37760
- continuation_token?: number;
37761
- };
37762
- header?: never;
37763
- path: {
37764
- workspace_id: string;
37765
- };
37766
- cookie?: never;
37767
- };
37768
- requestBody?: never;
37769
- responses: {
37770
- /** @description Successful Response */
37771
- 200: {
37772
- headers: {
37773
- [name: string]: unknown;
37774
- };
37775
- content: {
37776
- "application/json": components["schemas"]["PaginatedResponse_PersonaResponse_"];
37777
- };
37778
- };
37779
- /** @description Validation Error */
37780
- 422: {
37781
- headers: {
37782
- [name: string]: unknown;
37783
- };
37784
- content: {
37785
- "application/json": components["schemas"]["HTTPValidationError"];
37786
- };
37787
- };
37788
- /** @description Rate limited */
37789
- 429: {
37790
- headers: {
37791
- [name: string]: unknown;
37792
- };
37793
- content?: never;
37794
- };
37795
- };
37796
- };
37797
- "create-persona": {
37798
- parameters: {
37799
- query?: never;
37800
- header?: never;
37801
- path: {
37802
- workspace_id: string;
37803
- };
37804
- cookie?: never;
37805
- };
37806
- requestBody: {
37807
- content: {
37808
- "application/json": components["schemas"]["CreatePersonaRequest"];
37809
- };
37810
- };
37811
- responses: {
37812
- /** @description Successful Response */
37813
- 200: {
37814
- headers: {
37815
- [name: string]: unknown;
37816
- };
37817
- content: {
37818
- "application/json": components["schemas"]["PersonaResponse"];
37819
- };
37820
- };
37821
- /** @description Validation error */
37822
- 422: {
37823
- headers: {
37824
- [name: string]: unknown;
37825
- };
37826
- content?: never;
37827
- };
37828
- /** @description Rate limited */
37829
- 429: {
37830
- headers: {
37831
- [name: string]: unknown;
37832
- };
37833
- content?: never;
37834
- };
37835
- };
37836
- };
37837
- "get-persona": {
37838
- parameters: {
37839
- query?: never;
37840
- header?: never;
37841
- path: {
37842
- workspace_id: string;
37843
- persona_id: string;
37844
- };
37845
- cookie?: never;
37846
- };
37847
- requestBody?: never;
37848
- responses: {
37849
- /** @description Successful Response */
37850
- 200: {
37851
- headers: {
37852
- [name: string]: unknown;
37853
- };
37854
- content: {
37855
- "application/json": components["schemas"]["PersonaResponse"];
37856
- };
37857
- };
37858
- /** @description Persona not found */
37859
- 404: {
37860
- headers: {
37861
- [name: string]: unknown;
37862
- };
37863
- content?: never;
37864
- };
37865
- /** @description Validation Error */
37866
- 422: {
37867
- headers: {
37868
- [name: string]: unknown;
37869
- };
37870
- content: {
37871
- "application/json": components["schemas"]["HTTPValidationError"];
37872
- };
37873
- };
37874
- /** @description Rate limited */
37875
- 429: {
37876
- headers: {
37877
- [name: string]: unknown;
37878
- };
37879
- content?: never;
37880
- };
37881
- };
37882
- };
37883
- "delete-persona": {
37884
- parameters: {
37885
- query?: never;
37886
- header?: never;
37887
- path: {
37888
- workspace_id: string;
37889
- persona_id: string;
37890
- };
37891
- cookie?: never;
37892
- };
37893
- requestBody?: never;
37894
- responses: {
37895
- /** @description Successful Response */
37896
- 200: {
37897
- headers: {
37898
- [name: string]: unknown;
37899
- };
37900
- content: {
37901
- "application/json": unknown;
37902
- };
37903
- };
37904
- /** @description Persona not found */
37905
- 404: {
37906
- headers: {
37907
- [name: string]: unknown;
37908
- };
37909
- content?: never;
37910
- };
37911
- /** @description Validation Error */
37912
- 422: {
37913
- headers: {
37914
- [name: string]: unknown;
37915
- };
37916
- content: {
37917
- "application/json": components["schemas"]["HTTPValidationError"];
37918
- };
37919
- };
37920
- /** @description Rate limited */
37921
- 429: {
37922
- headers: {
37923
- [name: string]: unknown;
37924
- };
37925
- content?: never;
37926
- };
37927
- };
37928
- };
37929
- "update-persona": {
37930
- parameters: {
37931
- query?: never;
37932
- header?: never;
37933
- path: {
37934
- workspace_id: string;
37935
- persona_id: string;
37936
- };
37937
- cookie?: never;
37938
- };
37939
- requestBody: {
37940
- content: {
37941
- "application/json": components["schemas"]["UpdatePersonaRequest"];
37942
- };
37943
- };
37944
- responses: {
37945
- /** @description Successful Response */
37946
- 200: {
37947
- headers: {
37948
- [name: string]: unknown;
37949
- };
37950
- content: {
37951
- "application/json": components["schemas"]["PersonaResponse"];
37952
- };
37953
- };
37954
- /** @description Persona not found */
37955
- 404: {
37956
- headers: {
37957
- [name: string]: unknown;
37958
- };
37959
- content?: never;
37960
- };
37961
- /** @description Validation error */
37962
- 422: {
37963
- headers: {
37964
- [name: string]: unknown;
37965
- };
37966
- content?: never;
37967
- };
37968
- /** @description Rate limited */
37969
- 429: {
37970
- headers: {
37971
- [name: string]: unknown;
37972
- };
37973
- content?: never;
37974
- };
37975
- };
37976
- };
37977
36760
  "get-entity-resolution": {
37978
36761
  parameters: {
37979
36762
  query?: never;
@@ -45143,7 +43926,7 @@ export interface operations {
45143
43926
  has_projection?: boolean | null;
45144
43927
  /** @description Filter by event source (e.g. voice_agent, connector_runner) */
45145
43928
  source?: string | null;
45146
- /** @description Filter by source system name (e.g. hubspot, revolution) */
43929
+ /** @description Filter by source system name (e.g. charmhealth, gcp_fhir) */
45147
43930
  source_system?: string | null;
45148
43931
  /** @description Filter by FHIR resource type (e.g. Patient, Practitioner) */
45149
43932
  fhir_resource_type?: string | null;