@amigo-ai/platform-sdk 0.54.0 → 0.55.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.
@@ -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
  */
@@ -5935,7 +5755,7 @@ export interface paths {
5935
5755
  * **Speech Recognition Boost**
5936
5756
  * - **keyterms**: Exact words the speech recognition engine should
5937
5757
  * prioritize. Use for specific names, drug names, and org jargon.
5938
- * Example: ``["Dr. Ramirez", "metformin", "InFocus", "HIPAA"]``
5758
+ * Example: ``["Dr. Ramirez", "metformin", "HIPAA"]``
5939
5759
  *
5940
5760
  * **Audio Correction Hints**
5941
5761
  * - **correction_categories**: Broad categories of things callers
@@ -7215,7 +7035,7 @@ export interface paths {
7215
7035
  };
7216
7036
  /**
7217
7037
  * 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.).
7038
+ * @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
7039
  */
7220
7040
  get: operations["connector-overview"];
7221
7041
  put?: never;
@@ -7523,7 +7343,7 @@ export interface paths {
7523
7343
  };
7524
7344
  /**
7525
7345
  * 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).
7346
+ * @description Returns entities linked via same_as edges — cross-source merges where different data sources refer to the same real-world entity.
7527
7347
  */
7528
7348
  get: operations["merged-entities"];
7529
7349
  put?: never;
@@ -7683,7 +7503,7 @@ export interface paths {
7683
7503
  };
7684
7504
  /**
7685
7505
  * 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.
7506
+ * @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
7507
  */
7688
7508
  get: operations["source-breakdown"];
7689
7509
  put?: never;
@@ -7703,7 +7523,7 @@ export interface paths {
7703
7523
  };
7704
7524
  /**
7705
7525
  * 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).
7526
+ * @description Multi-sink outbound sync progress. Shows total/synced/failed/pending counts per data source for workspaces with multiple outbound sinks.
7707
7527
  */
7708
7528
  get: operations["outbound-sync-by-sink"];
7709
7529
  put?: never;
@@ -10582,7 +10402,7 @@ export interface components {
10582
10402
  * Source Type
10583
10403
  * @enum {string}
10584
10404
  */
10585
- source_type: "ehr" | "crm" | "fhir_store" | "smart_fhir" | "rest_api" | "webhook" | "file_drop" | "lakebase_schema";
10405
+ source_type: "ehr" | "fhir_store" | "smart_fhir" | "rest_api" | "webhook" | "file_drop" | "lakebase_schema";
10586
10406
  /** Sync Schedule */
10587
10407
  sync_schedule?: string | null;
10588
10408
  /**
@@ -11450,7 +11270,7 @@ export interface components {
11450
11270
  * Source Type
11451
11271
  * @enum {string}
11452
11272
  */
11453
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
11273
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
11454
11274
  /** Sync Schedule */
11455
11275
  sync_schedule?: string | null;
11456
11276
  /**
@@ -11581,7 +11401,7 @@ export interface components {
11581
11401
  * @description World model outbound_task entity ID for completion feedback.
11582
11402
  */
11583
11403
  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. */
11404
+ /** @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
11405
  patient_canonical_id?: components["schemas"]["CanonicalIdString"] | null;
11586
11406
  /**
11587
11407
  * Patient Entity Id
@@ -12074,327 +11894,6 @@ export interface components {
12074
11894
  name: components["schemas"]["StrippedNonemptyString"];
12075
11895
  slug: components["schemas"]["SlugString"];
12076
11896
  };
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
11897
  /**
12399
11898
  * CustomerAddress
12400
11899
  * @description Customer billing address.
@@ -12880,7 +12379,7 @@ export interface components {
12880
12379
  * Source Type
12881
12380
  * @enum {string}
12882
12381
  */
12883
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
12382
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
12884
12383
  /** Sync Schedule */
12885
12384
  sync_schedule: string | null;
12886
12385
  /**
@@ -13992,7 +13491,7 @@ export interface components {
13992
13491
  effective_at?: string | null;
13993
13492
  /**
13994
13493
  * Source
13995
- * @description Write source — e.g. manual, hubspot, forms, auto_enrich.
13494
+ * @description Write source — e.g. manual, forms, auto_enrich.
13996
13495
  * @default manual
13997
13496
  */
13998
13497
  source?: string;
@@ -14160,14 +13659,14 @@ export interface components {
14160
13659
  * EntityResolveExternalId
14161
13660
  * @description Reference to an external-system identifier.
14162
13661
  *
14163
- * ``system`` labels which system minted the value (``epic``, ``hubspot``,
14164
- * ``charm``, ``revolution``, …). The value is matched against any
13662
+ * ``system`` labels which system minted the value (``epic``, ``charm``,
13663
+ * ``charmhealth``, …). The value is matched against any
14165
13664
  * nested key in ``world.entities.external_ids`` whose value equals
14166
13665
  * ``value``. ``system`` is informational for scoring; it doesn't
14167
13666
  * constrain the lookup, since adapters disagree on naming.
14168
13667
  */
14169
13668
  EntityResolveExternalId: {
14170
- /** @description External system label (lowercase, e.g. 'epic', 'hubspot'). */
13669
+ /** @description External system label (lowercase, e.g. 'epic'). */
14171
13670
  system: components["schemas"]["ExternalSystemString"];
14172
13671
  /** @description System-issued identifier. */
14173
13672
  value: components["schemas"]["ExternalValueString"];
@@ -14328,16 +13827,6 @@ export interface components {
14328
13827
  * @description When the entity was created
14329
13828
  */
14330
13829
  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
13830
  /**
14342
13831
  * Direction
14343
13832
  * @description Call direction (inbound, outbound)
@@ -22670,7 +22159,7 @@ export interface components {
22670
22159
  * Source Type
22671
22160
  * @enum {string}
22672
22161
  */
22673
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22162
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22674
22163
  };
22675
22164
  /** SourceOverviewResponse */
22676
22165
  SourceOverviewResponse: {
@@ -22730,7 +22219,7 @@ export interface components {
22730
22219
  * Source Type
22731
22220
  * @enum {string}
22732
22221
  */
22733
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22222
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22734
22223
  };
22735
22224
  /** SourceStatus */
22736
22225
  SourceStatus: {
@@ -22769,7 +22258,7 @@ export interface components {
22769
22258
  * Source Type
22770
22259
  * @enum {string}
22771
22260
  */
22772
- source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "crm" | "database" | "custom" | "smart_fhir" | "customer_intake";
22261
+ source_type: "rest_api" | "webhook" | "file_drop" | "fhir" | "fhir_store" | "ehr" | "database" | "custom" | "smart_fhir" | "customer_intake";
22773
22262
  /** Status */
22774
22263
  status: string;
22775
22264
  /**
@@ -22837,7 +22326,7 @@ export interface components {
22837
22326
  };
22838
22327
  /** StartSessionRequest */
22839
22328
  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. */
22329
+ /** @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
22330
  canonical_id?: components["schemas"]["CanonicalIdString"] | null;
22842
22331
  /**
22843
22332
  * Channel Kind
@@ -25773,7 +25262,7 @@ export interface components {
25773
25262
  /** UpdateWorkspaceRequest */
25774
25263
  UpdateWorkspaceRequest: {
25775
25264
  /** Connector Type */
25776
- connector_type?: ("revolution" | "epic" | "cerner" | "allscripts" | "fhir_store" | "hubspot" | "athenahealth" | "charmhealth" | "eclinicalworks" | "meditab") | null;
25265
+ connector_type?: ("epic" | "cerner" | "allscripts" | "fhir_store" | "athenahealth" | "charmhealth" | "eclinicalworks" | "meditab") | null;
25777
25266
  /** Environment */
25778
25267
  environment?: ("production" | "staging" | "development") | null;
25779
25268
  name?: components["schemas"]["StrippedNonemptyString"] | null;
@@ -32611,315 +32100,6 @@ export interface operations {
32611
32100
  };
32612
32101
  };
32613
32102
  };
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
32103
  list_dashboards_v1__workspace_id__dashboards_get: {
32924
32104
  parameters: {
32925
32105
  query?: {
@@ -45143,7 +44323,7 @@ export interface operations {
45143
44323
  has_projection?: boolean | null;
45144
44324
  /** @description Filter by event source (e.g. voice_agent, connector_runner) */
45145
44325
  source?: string | null;
45146
- /** @description Filter by source system name (e.g. hubspot, revolution) */
44326
+ /** @description Filter by source system name (e.g. charmhealth, gcp_fhir) */
45147
44327
  source_system?: string | null;
45148
44328
  /** @description Filter by FHIR resource type (e.g. Patient, Practitioner) */
45149
44329
  fhir_resource_type?: string | null;