@amigo-ai/platform-sdk 0.67.0 → 0.69.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.
- package/README.md +0 -21
- package/api.md +0 -8
- package/dist/index.cjs +13 -56
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -56
- package/dist/index.mjs.map +4 -4
- package/dist/resources/conversations.js +12 -1
- package/dist/resources/conversations.js.map +1 -1
- package/dist/resources/settings.js +0 -9
- package/dist/resources/settings.js.map +1 -1
- package/dist/types/generated/api.d.ts +551 -557
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +0 -2
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/audit.d.ts +6 -6
- package/dist/types/resources/conversations.d.ts +11 -1
- package/dist/types/resources/conversations.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +0 -32
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/resources/memory.js +0 -40
- package/dist/resources/memory.js.map +0 -1
- package/dist/types/resources/memory.d.ts +0 -96
- package/dist/types/resources/memory.d.ts.map +0 -1
|
@@ -57,8 +57,8 @@ export interface paths {
|
|
|
57
57
|
* Get Availability
|
|
58
58
|
* @description Return available appointment slots for the surface's workspace.
|
|
59
59
|
*
|
|
60
|
-
* Queries FHIR Slot resources from world.
|
|
61
|
-
* within the requested date range. Token-authenticated, no Bearer auth.
|
|
60
|
+
* Queries FHIR Slot resources from world.entities_synced_v3 that are free
|
|
61
|
+
* and within the requested date range. Token-authenticated, no Bearer auth.
|
|
62
62
|
*/
|
|
63
63
|
get: operations["get-surface-availability"];
|
|
64
64
|
put?: never;
|
|
@@ -1689,7 +1689,7 @@ export interface paths {
|
|
|
1689
1689
|
*
|
|
1690
1690
|
* **Latency**: 500ms-2s (reads from analytics warehouse, not transactional store).
|
|
1691
1691
|
*
|
|
1692
|
-
* **Status values**: `ready` = analysis complete, `pending` =
|
|
1692
|
+
* **Status values**: `ready` = analysis complete, `pending` = analysis started on first request (typically ready in 2-5 minutes; poll again), `unavailable` = no recording or analysis transiently unavailable (retry later).
|
|
1693
1693
|
*/
|
|
1694
1694
|
get: operations["get-call-trace-analysis"];
|
|
1695
1695
|
put?: never;
|
|
@@ -1700,6 +1700,58 @@ export interface paths {
|
|
|
1700
1700
|
patch?: never;
|
|
1701
1701
|
trace?: never;
|
|
1702
1702
|
};
|
|
1703
|
+
"/v1/{workspace_id}/channels/email/templates": {
|
|
1704
|
+
parameters: {
|
|
1705
|
+
query?: never;
|
|
1706
|
+
header?: never;
|
|
1707
|
+
path?: never;
|
|
1708
|
+
cookie?: never;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* List email templates for an SES use case
|
|
1712
|
+
* @description List the templates of one SES use case bound to this workspace. Unpaginated — templates per use case are a bounded, human-curated catalog. Template bodies are omitted; fetch one template for the full Jinja + required variables. Requires ``Channel.view`` permission.
|
|
1713
|
+
*/
|
|
1714
|
+
get: operations["list-email-templates"];
|
|
1715
|
+
put?: never;
|
|
1716
|
+
/**
|
|
1717
|
+
* Create an email template
|
|
1718
|
+
* @description Create a Jinja email template under an SES use case bound to this workspace. Channel-manager validates the Jinja syntax and the unsubscribe-variable gate: the subject may not reference unsubscribe variables, and the body must reference both unsubscribe variables exactly when the use case is unsubscribable (marketing). The response carries the extracted ``required_{subject,body}_variables`` a send-time caller must supply. Requires ``Channel.create`` permission.
|
|
1719
|
+
*/
|
|
1720
|
+
post: operations["create-email-template"];
|
|
1721
|
+
delete?: never;
|
|
1722
|
+
options?: never;
|
|
1723
|
+
head?: never;
|
|
1724
|
+
patch?: never;
|
|
1725
|
+
trace?: never;
|
|
1726
|
+
};
|
|
1727
|
+
"/v1/{workspace_id}/channels/email/templates/{email_template_id}": {
|
|
1728
|
+
parameters: {
|
|
1729
|
+
query?: never;
|
|
1730
|
+
header?: never;
|
|
1731
|
+
path?: never;
|
|
1732
|
+
cookie?: never;
|
|
1733
|
+
};
|
|
1734
|
+
/**
|
|
1735
|
+
* Get an email template
|
|
1736
|
+
* @description Full template detail including the Jinja subject/body and the extracted required variables. 404 unless the template's SES use case is bound to this workspace. Requires ``Channel.view`` permission.
|
|
1737
|
+
*/
|
|
1738
|
+
get: operations["get-email-template"];
|
|
1739
|
+
/**
|
|
1740
|
+
* Update an email template
|
|
1741
|
+
* @description Partial update: absent fields are untouched; ``description`` may be explicitly nulled; at least one field is required. Subject/body changes re-run channel-manager's Jinja validation and the unsubscribe-variable gate. 404 unless the template's SES use case is bound to this workspace. Requires ``Channel.create`` permission.
|
|
1742
|
+
*/
|
|
1743
|
+
put: operations["update-email-template"];
|
|
1744
|
+
post?: never;
|
|
1745
|
+
/**
|
|
1746
|
+
* Delete an email template
|
|
1747
|
+
* @description Delete a template. 404 unless the template's SES use case is bound to this workspace. Requires ``Channel.delete`` permission.
|
|
1748
|
+
*/
|
|
1749
|
+
delete: operations["delete-email-template"];
|
|
1750
|
+
options?: never;
|
|
1751
|
+
head?: never;
|
|
1752
|
+
patch?: never;
|
|
1753
|
+
trace?: never;
|
|
1754
|
+
};
|
|
1703
1755
|
"/v1/{workspace_id}/channels/ses-setup": {
|
|
1704
1756
|
parameters: {
|
|
1705
1757
|
query?: never;
|
|
@@ -1709,13 +1761,13 @@ export interface paths {
|
|
|
1709
1761
|
};
|
|
1710
1762
|
/**
|
|
1711
1763
|
* List SES setups
|
|
1712
|
-
* @description Paginated list of
|
|
1764
|
+
* @description Paginated list of the SES setups owned by this workspace. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Setups are scoped to the workspace that created them (intrinsic ownership); other tenants' setups are not returned. Requires ``Channel.view`` permission.
|
|
1713
1765
|
*/
|
|
1714
1766
|
get: operations["list-ses-setups"];
|
|
1715
1767
|
put?: never;
|
|
1716
1768
|
/**
|
|
1717
1769
|
* Create an SES setup
|
|
1718
|
-
* @description Create an SES tenant + verified email identity. Returns the DNS records the customer must publish (DKIM CNAMEs, MX, DMARC TXT). Subsequent ``GET`` or ``POST /verify`` calls re-run the live DNS lookup and update the per-record ``verified`` flag.
|
|
1770
|
+
* @description Create an SES tenant + verified email identity. Returns the DNS records the customer must publish (DKIM CNAMEs, MX, DMARC TXT). Subsequent ``GET`` or ``POST /verify`` calls re-run the live DNS lookup and update the per-record ``verified`` flag. The setup is owned by the creating workspace; only that workspace can list, get, verify, or delete it. Requires ``Channel.create`` permission.
|
|
1719
1771
|
*/
|
|
1720
1772
|
post: operations["create-ses-setup"];
|
|
1721
1773
|
delete?: never;
|
|
@@ -3652,84 +3704,6 @@ export interface paths {
|
|
|
3652
3704
|
patch?: never;
|
|
3653
3705
|
trace?: never;
|
|
3654
3706
|
};
|
|
3655
|
-
"/v1/{workspace_id}/memory/analytics": {
|
|
3656
|
-
parameters: {
|
|
3657
|
-
query?: never;
|
|
3658
|
-
header?: never;
|
|
3659
|
-
path?: never;
|
|
3660
|
-
cookie?: never;
|
|
3661
|
-
};
|
|
3662
|
-
/**
|
|
3663
|
-
* Get workspace-level memory analytics
|
|
3664
|
-
* @description Get workspace-level memory analytics.
|
|
3665
|
-
*
|
|
3666
|
-
* Returns aggregate stats about the memory extraction pipeline:
|
|
3667
|
-
* per-dimension fact counts, coverage rates, source intelligence,
|
|
3668
|
-
* and recent activity. Cached in Valkey (60s TTL). Reads only Lakebase
|
|
3669
|
-
* memory projections on cache miss.
|
|
3670
|
-
*
|
|
3671
|
-
* Permissions: authenticated (any role).
|
|
3672
|
-
*/
|
|
3673
|
-
get: operations["get-memory-analytics"];
|
|
3674
|
-
put?: never;
|
|
3675
|
-
post?: never;
|
|
3676
|
-
delete?: never;
|
|
3677
|
-
options?: never;
|
|
3678
|
-
head?: never;
|
|
3679
|
-
patch?: never;
|
|
3680
|
-
trace?: never;
|
|
3681
|
-
};
|
|
3682
|
-
"/v1/{workspace_id}/memory/{entity_id}/dimensions": {
|
|
3683
|
-
parameters: {
|
|
3684
|
-
query?: never;
|
|
3685
|
-
header?: never;
|
|
3686
|
-
path?: never;
|
|
3687
|
-
cookie?: never;
|
|
3688
|
-
};
|
|
3689
|
-
/**
|
|
3690
|
-
* Get memory dimension scores for an entity
|
|
3691
|
-
* @description Get dimension completeness scores for an entity.
|
|
3692
|
-
*
|
|
3693
|
-
* Reads pre-computed aggregates from ``memory.patient_dimensions``.
|
|
3694
|
-
* All 6 built-in dimensions are always returned (0 facts for empty ones).
|
|
3695
|
-
*
|
|
3696
|
-
* Permissions: authenticated (any role).
|
|
3697
|
-
*/
|
|
3698
|
-
get: operations["get-entity-dimension-scores"];
|
|
3699
|
-
put?: never;
|
|
3700
|
-
post?: never;
|
|
3701
|
-
delete?: never;
|
|
3702
|
-
options?: never;
|
|
3703
|
-
head?: never;
|
|
3704
|
-
patch?: never;
|
|
3705
|
-
trace?: never;
|
|
3706
|
-
};
|
|
3707
|
-
"/v1/{workspace_id}/memory/{entity_id}/facts": {
|
|
3708
|
-
parameters: {
|
|
3709
|
-
query?: never;
|
|
3710
|
-
header?: never;
|
|
3711
|
-
path?: never;
|
|
3712
|
-
cookie?: never;
|
|
3713
|
-
};
|
|
3714
|
-
/**
|
|
3715
|
-
* Get memory facts for an entity
|
|
3716
|
-
* @description Get extracted facts for an entity, optionally filtered by dimension.
|
|
3717
|
-
*
|
|
3718
|
-
* Reads pre-computed facts from ``memory.patient_memory``. Each row
|
|
3719
|
-
* includes the pre-extracted ``extracted_text`` — no inline JSONB
|
|
3720
|
-
* extraction at query time.
|
|
3721
|
-
*
|
|
3722
|
-
* Permissions: authenticated (any role).
|
|
3723
|
-
*/
|
|
3724
|
-
get: operations["get-entity-memory-facts"];
|
|
3725
|
-
put?: never;
|
|
3726
|
-
post?: never;
|
|
3727
|
-
delete?: never;
|
|
3728
|
-
options?: never;
|
|
3729
|
-
head?: never;
|
|
3730
|
-
patch?: never;
|
|
3731
|
-
trace?: never;
|
|
3732
|
-
};
|
|
3733
3707
|
"/v1/{workspace_id}/metering/emit": {
|
|
3734
3708
|
parameters: {
|
|
3735
3709
|
query?: never;
|
|
@@ -5392,39 +5366,6 @@ export interface paths {
|
|
|
5392
5366
|
patch?: never;
|
|
5393
5367
|
trace?: never;
|
|
5394
5368
|
};
|
|
5395
|
-
"/v1/{workspace_id}/settings/memory": {
|
|
5396
|
-
parameters: {
|
|
5397
|
-
query?: never;
|
|
5398
|
-
header?: never;
|
|
5399
|
-
path?: never;
|
|
5400
|
-
cookie?: never;
|
|
5401
|
-
};
|
|
5402
|
-
/**
|
|
5403
|
-
* Get memory dimension settings
|
|
5404
|
-
* @description Get the workspace memory dimension settings.
|
|
5405
|
-
*
|
|
5406
|
-
* Returns built-in defaults when not configured.
|
|
5407
|
-
*
|
|
5408
|
-
* Permissions: authenticated (any role).
|
|
5409
|
-
*/
|
|
5410
|
-
get: operations["get-memory-settings"];
|
|
5411
|
-
/**
|
|
5412
|
-
* Update memory dimension settings
|
|
5413
|
-
* @description Update the workspace memory dimension settings.
|
|
5414
|
-
*
|
|
5415
|
-
* Partial updates supported — only provided fields are changed.
|
|
5416
|
-
* The dimensions list is replaced entirely when provided.
|
|
5417
|
-
*
|
|
5418
|
-
* Permissions: admin, owner.
|
|
5419
|
-
*/
|
|
5420
|
-
put: operations["update-memory-settings"];
|
|
5421
|
-
post?: never;
|
|
5422
|
-
delete?: never;
|
|
5423
|
-
options?: never;
|
|
5424
|
-
head?: never;
|
|
5425
|
-
patch?: never;
|
|
5426
|
-
trace?: never;
|
|
5427
|
-
};
|
|
5428
5369
|
"/v1/{workspace_id}/settings/metrics": {
|
|
5429
5370
|
parameters: {
|
|
5430
5371
|
query?: never;
|
|
@@ -6946,7 +6887,7 @@ export interface paths {
|
|
|
6946
6887
|
put?: never;
|
|
6947
6888
|
/**
|
|
6948
6889
|
* Resolve entity by identifier
|
|
6949
|
-
* @description Polymorphic identifier → ranked entity candidates. Accepts any subset of {phone, email, canonical_id, external_id, entity_id} plus a required ``entity_type``.
|
|
6890
|
+
* @description Polymorphic identifier → ranked entity candidates. Accepts any subset of {phone, email, canonical_id, external_id, entity_id} plus a required ``entity_type``. Served from the SDP serving surfaces: entity rows from ``world.entities_synced_v3``; canonical_id and external_id resolve through ``world.canonical_entity_map_synced`` point reads. Returns matches ranked by confidence + number of identifiers matched. Summary narrowing: ``external_ids`` is always ``{}``, ``tags`` is always ``[]``, and ``canonical_id`` is the canonical-map value or the entity's MRN.
|
|
6950
6891
|
*/
|
|
6951
6892
|
post: operations["resolve-entity"];
|
|
6952
6893
|
delete?: never;
|
|
@@ -10495,6 +10436,39 @@ export interface components {
|
|
|
10495
10436
|
*/
|
|
10496
10437
|
sync_strategy?: "manual" | "scheduled" | "webhook" | "continuous";
|
|
10497
10438
|
};
|
|
10439
|
+
/** CreateEmailTemplateRequest */
|
|
10440
|
+
CreateEmailTemplateRequest: {
|
|
10441
|
+
/**
|
|
10442
|
+
* Body Template
|
|
10443
|
+
* @description Jinja HTML body. For an unsubscribable (marketing) use case it MUST
|
|
10444
|
+
* reference both unsubscribe variables; for a transactional one it must
|
|
10445
|
+
* not — channel-manager enforces the gate bidirectionally.
|
|
10446
|
+
*/
|
|
10447
|
+
body_template: string;
|
|
10448
|
+
/**
|
|
10449
|
+
* Description
|
|
10450
|
+
* @description Agent-facing intent description — what the catalog shows an agent
|
|
10451
|
+
* picking a template (R3).
|
|
10452
|
+
*/
|
|
10453
|
+
description?: string | null;
|
|
10454
|
+
/**
|
|
10455
|
+
* Name
|
|
10456
|
+
* @description Template name, unique within the SES use case.
|
|
10457
|
+
*/
|
|
10458
|
+
name: string;
|
|
10459
|
+
/**
|
|
10460
|
+
* Ses Use Case Id
|
|
10461
|
+
* Format: uuid
|
|
10462
|
+
* @description The email use case the template belongs to. Must be bound to this
|
|
10463
|
+
* workspace via its service binding.
|
|
10464
|
+
*/
|
|
10465
|
+
ses_use_case_id: string;
|
|
10466
|
+
/**
|
|
10467
|
+
* Subject Template
|
|
10468
|
+
* @description Jinja subject. May not reference unsubscribe variables.
|
|
10469
|
+
*/
|
|
10470
|
+
subject_template: string;
|
|
10471
|
+
};
|
|
10498
10472
|
/** CreateLinkRequest */
|
|
10499
10473
|
CreateLinkRequest: {
|
|
10500
10474
|
customer_slug: components["schemas"]["SlugString"];
|
|
@@ -10573,7 +10547,7 @@ export interface components {
|
|
|
10573
10547
|
* @description World model outbound_task entity ID for completion feedback.
|
|
10574
10548
|
*/
|
|
10575
10549
|
outbound_task_entity_id?: string | null;
|
|
10576
|
-
/** @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.
|
|
10550
|
+
/** @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_synced_v3.canonical_id. Resolved against the SDP-projected world.entities_synced_v3 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. */
|
|
10577
10551
|
patient_canonical_id?: components["schemas"]["CanonicalIdString"] | null;
|
|
10578
10552
|
/**
|
|
10579
10553
|
* Patient Entity Id
|
|
@@ -11912,76 +11886,6 @@ export interface components {
|
|
|
11912
11886
|
*/
|
|
11913
11887
|
status: "destroyed";
|
|
11914
11888
|
};
|
|
11915
|
-
/**
|
|
11916
|
-
* DimensionAnalytics
|
|
11917
|
-
* @description Per-dimension aggregate stats across all entities.
|
|
11918
|
-
*/
|
|
11919
|
-
DimensionAnalytics: {
|
|
11920
|
-
/** Active */
|
|
11921
|
-
active: boolean;
|
|
11922
|
-
/** Avg Confidence */
|
|
11923
|
-
avg_confidence: number;
|
|
11924
|
-
/** Avg Facts Per Entity */
|
|
11925
|
-
avg_facts_per_entity: number;
|
|
11926
|
-
/** Builtin */
|
|
11927
|
-
builtin: boolean;
|
|
11928
|
-
/** Description */
|
|
11929
|
-
description: string | null;
|
|
11930
|
-
/** Dimension */
|
|
11931
|
-
dimension: string;
|
|
11932
|
-
/** Entity Count */
|
|
11933
|
-
entity_count: number;
|
|
11934
|
-
/** Extraction Mode */
|
|
11935
|
-
extraction_mode: string;
|
|
11936
|
-
/** Latest Fact At */
|
|
11937
|
-
latest_fact_at: string | null;
|
|
11938
|
-
/** Name */
|
|
11939
|
-
name: string;
|
|
11940
|
-
/**
|
|
11941
|
-
* Sample Facts
|
|
11942
|
-
* @default []
|
|
11943
|
-
*/
|
|
11944
|
-
sample_facts?: components["schemas"]["SampleFact"][];
|
|
11945
|
-
/** Source Breakdown */
|
|
11946
|
-
source_breakdown: {
|
|
11947
|
-
[key: string]: number;
|
|
11948
|
-
};
|
|
11949
|
-
/** Total Facts */
|
|
11950
|
-
total_facts: number;
|
|
11951
|
-
/** Weight */
|
|
11952
|
-
weight: number;
|
|
11953
|
-
};
|
|
11954
|
-
/** DimensionScore */
|
|
11955
|
-
DimensionScore: {
|
|
11956
|
-
/** Avg Confidence */
|
|
11957
|
-
avg_confidence: number;
|
|
11958
|
-
/** Description */
|
|
11959
|
-
description: string | null;
|
|
11960
|
-
/** Dimension */
|
|
11961
|
-
dimension: string;
|
|
11962
|
-
/** Fact Count */
|
|
11963
|
-
fact_count: number;
|
|
11964
|
-
/** Latest Fact At */
|
|
11965
|
-
latest_fact_at: string | null;
|
|
11966
|
-
/** Name */
|
|
11967
|
-
name: string;
|
|
11968
|
-
/** Source Count */
|
|
11969
|
-
source_count: number;
|
|
11970
|
-
/** Weight */
|
|
11971
|
-
weight: number;
|
|
11972
|
-
};
|
|
11973
|
-
/** DimensionScoresResponse */
|
|
11974
|
-
DimensionScoresResponse: {
|
|
11975
|
-
/** Dimensions */
|
|
11976
|
-
dimensions: components["schemas"]["DimensionScore"][];
|
|
11977
|
-
/**
|
|
11978
|
-
* Entity Id
|
|
11979
|
-
* Format: uuid
|
|
11980
|
-
*/
|
|
11981
|
-
entity_id: string;
|
|
11982
|
-
/** Total Facts */
|
|
11983
|
-
total_facts: number;
|
|
11984
|
-
};
|
|
11985
11889
|
/** DistrictMetricsResponse */
|
|
11986
11890
|
DistrictMetricsResponse: {
|
|
11987
11891
|
/** Count */
|
|
@@ -12094,8 +11998,62 @@ export interface components {
|
|
|
12094
11998
|
/** Region */
|
|
12095
11999
|
region: string;
|
|
12096
12000
|
};
|
|
12001
|
+
/**
|
|
12002
|
+
* EmailTemplateListResponse
|
|
12003
|
+
* @description Plain (unpaginated) list — templates per use case are a bounded-small,
|
|
12004
|
+
* human-curated catalog. Template bodies stay behind the GET-by-id route so
|
|
12005
|
+
* a list never ships megabytes of Jinja.
|
|
12006
|
+
*/
|
|
12007
|
+
EmailTemplateListResponse: {
|
|
12008
|
+
/** Items */
|
|
12009
|
+
items: components["schemas"]["src__routes__channels__email_templates__EmailTemplateListResponse__Item"][];
|
|
12010
|
+
};
|
|
12011
|
+
/** EmailTemplateResponse */
|
|
12012
|
+
EmailTemplateResponse: {
|
|
12013
|
+
/** Body Template */
|
|
12014
|
+
body_template: string;
|
|
12015
|
+
/**
|
|
12016
|
+
* Created At
|
|
12017
|
+
* Format: date-time
|
|
12018
|
+
*/
|
|
12019
|
+
created_at: string;
|
|
12020
|
+
/** Description */
|
|
12021
|
+
description: string | null;
|
|
12022
|
+
/**
|
|
12023
|
+
* Id
|
|
12024
|
+
* Format: uuid
|
|
12025
|
+
*/
|
|
12026
|
+
id: string;
|
|
12027
|
+
/** Name */
|
|
12028
|
+
name: string;
|
|
12029
|
+
/** Required Body Variables */
|
|
12030
|
+
required_body_variables: string[];
|
|
12031
|
+
/**
|
|
12032
|
+
* Required Subject Variables
|
|
12033
|
+
* @description Jinja variables the subject references — the send-time caller must
|
|
12034
|
+
* supply every one via ``template_parameters``.
|
|
12035
|
+
*/
|
|
12036
|
+
required_subject_variables: string[];
|
|
12037
|
+
/**
|
|
12038
|
+
* Ses Use Case Id
|
|
12039
|
+
* Format: uuid
|
|
12040
|
+
*/
|
|
12041
|
+
ses_use_case_id: string;
|
|
12042
|
+
/** Subject Template */
|
|
12043
|
+
subject_template: string;
|
|
12044
|
+
/**
|
|
12045
|
+
* Updated At
|
|
12046
|
+
* Format: date-time
|
|
12047
|
+
*/
|
|
12048
|
+
updated_at: string;
|
|
12049
|
+
};
|
|
12097
12050
|
/** EmailUseCaseRequest */
|
|
12098
12051
|
EmailUseCaseRequest: {
|
|
12052
|
+
/**
|
|
12053
|
+
* Accepts Cold Inbound
|
|
12054
|
+
* @description Whether inbound email addressed to sender_email_address that does NOT reply to one of our outbound messages is accepted (after DMARC/spam gates). False = strict thread-only inbox.
|
|
12055
|
+
*/
|
|
12056
|
+
accepts_cold_inbound: boolean;
|
|
12099
12057
|
/**
|
|
12100
12058
|
* @description discriminator enum property added by openapi-typescript
|
|
12101
12059
|
* @enum {string}
|
|
@@ -12122,6 +12080,11 @@ export interface components {
|
|
|
12122
12080
|
* Format: uuid
|
|
12123
12081
|
*/
|
|
12124
12082
|
setup_id: string;
|
|
12083
|
+
/**
|
|
12084
|
+
* Unsubscribable
|
|
12085
|
+
* @description Whether sends carry RFC 8058 unsubscribe (List-Unsubscribe header + footer links) and honor the per-use-case unsubscribe list. Marketing email_type must be unsubscribable; transactional may opt out for must-send flows.
|
|
12086
|
+
*/
|
|
12087
|
+
unsubscribable: boolean;
|
|
12125
12088
|
};
|
|
12126
12089
|
/** EmotionEvent */
|
|
12127
12090
|
EmotionEvent: {
|
|
@@ -12831,10 +12794,14 @@ export interface components {
|
|
|
12831
12794
|
* @description Reference to an external-system identifier.
|
|
12832
12795
|
*
|
|
12833
12796
|
* ``system`` labels which system minted the value (``epic``, ``charm``,
|
|
12834
|
-
* ``charmhealth``, …).
|
|
12835
|
-
*
|
|
12836
|
-
* ``value
|
|
12837
|
-
*
|
|
12797
|
+
* ``charmhealth``, …). Resolution probes the canonical entity map
|
|
12798
|
+
* (``world.canonical_entity_map_synced``) with the candidate key forms
|
|
12799
|
+
* ``{system}:{ResourceType}:{value}`` (Patient / Practitioner /
|
|
12800
|
+
* Organization / Appointment) plus the bare ``value`` — so ``system``
|
|
12801
|
+
* constrains the probe keys, and the request's ``entity_type``
|
|
12802
|
+
* constrains the map slice. External aliases that were never minted as
|
|
12803
|
+
* canonical keys (the legacy ``external_ids`` JSONB junk-drawer
|
|
12804
|
+
* entries) are no longer resolvable.
|
|
12838
12805
|
*/
|
|
12839
12806
|
EntityResolveExternalId: {
|
|
12840
12807
|
/** @description External system label (lowercase, e.g. 'epic'). */
|
|
@@ -12881,7 +12848,7 @@ export interface components {
|
|
|
12881
12848
|
* on more than one signal (phone + email + MRN).
|
|
12882
12849
|
*/
|
|
12883
12850
|
EntityResolveRequest: {
|
|
12884
|
-
/** @description Canonical
|
|
12851
|
+
/** @description Canonical identifier as carried by the canonical entity map (e.g. 'charm:Patient:42'; a raw MRN resolves only when a producer minted it as the canonical_id). */
|
|
12885
12852
|
canonical_id?: components["schemas"]["CanonicalIdLookupString"] | null;
|
|
12886
12853
|
/**
|
|
12887
12854
|
* Email
|
|
@@ -12920,15 +12887,25 @@ export interface components {
|
|
|
12920
12887
|
* EntityResolveSummary
|
|
12921
12888
|
* @description Compact identity card returned for each match.
|
|
12922
12889
|
*
|
|
12923
|
-
* Excludes
|
|
12924
|
-
*
|
|
12925
|
-
*
|
|
12926
|
-
*
|
|
12890
|
+
* Excludes full entity state — fetch via
|
|
12891
|
+
* ``GET /v1/{ws}/entities/{entity_id}`` if needed. The fields here are
|
|
12892
|
+
* the ones a UI / agent needs to confirm "yes, that's the right
|
|
12893
|
+
* person" before paying for the full state read.
|
|
12894
|
+
*
|
|
12895
|
+
* Stage-7 narrowing (resolver serves from ``entities_synced_v3`` +
|
|
12896
|
+
* the canonical entity map; fields retained for wire compatibility):
|
|
12897
|
+
* ``external_ids`` is always ``{}`` and ``tags`` is always ``[]`` —
|
|
12898
|
+
* neither survives on the synced serving table. ``canonical_id`` is
|
|
12899
|
+
* the canonical-map value when the row resolved through the map, else
|
|
12900
|
+
* the entity's MRN.
|
|
12927
12901
|
*/
|
|
12928
12902
|
EntityResolveSummary: {
|
|
12929
12903
|
/** Birth Date */
|
|
12930
12904
|
birth_date?: string | null;
|
|
12931
|
-
/**
|
|
12905
|
+
/**
|
|
12906
|
+
* Canonical Id
|
|
12907
|
+
* @description Canonical-map value when resolved through the map, else the entity's MRN.
|
|
12908
|
+
*/
|
|
12932
12909
|
canonical_id?: string | null;
|
|
12933
12910
|
/** Display Name */
|
|
12934
12911
|
display_name?: string | null;
|
|
@@ -12939,7 +12916,10 @@ export interface components {
|
|
|
12939
12916
|
* @default 0
|
|
12940
12917
|
*/
|
|
12941
12918
|
event_count?: number;
|
|
12942
|
-
/**
|
|
12919
|
+
/**
|
|
12920
|
+
* External Ids
|
|
12921
|
+
* @description Always {} — external aliases live in the canonical entity map, not on the serving row.
|
|
12922
|
+
*/
|
|
12943
12923
|
external_ids?: {
|
|
12944
12924
|
[key: string]: unknown;
|
|
12945
12925
|
};
|
|
@@ -12951,7 +12931,10 @@ export interface components {
|
|
|
12951
12931
|
name?: string | null;
|
|
12952
12932
|
/** Phone */
|
|
12953
12933
|
phone?: string | null;
|
|
12954
|
-
/**
|
|
12934
|
+
/**
|
|
12935
|
+
* Tags
|
|
12936
|
+
* @description Always [] — no tags column on the synced serving table.
|
|
12937
|
+
*/
|
|
12955
12938
|
tags?: string[];
|
|
12956
12939
|
};
|
|
12957
12940
|
/** EntityResponse */
|
|
@@ -15826,146 +15809,6 @@ export interface components {
|
|
|
15826
15809
|
*/
|
|
15827
15810
|
workspace_id: string;
|
|
15828
15811
|
};
|
|
15829
|
-
/** MemoryAnalyticsResponse */
|
|
15830
|
-
MemoryAnalyticsResponse: {
|
|
15831
|
-
/** Active Dimensions */
|
|
15832
|
-
active_dimensions: number;
|
|
15833
|
-
/** Builtin Dimensions */
|
|
15834
|
-
builtin_dimensions: number;
|
|
15835
|
-
/** Coverage Rate */
|
|
15836
|
-
coverage_rate: number;
|
|
15837
|
-
/** Custom Dimensions */
|
|
15838
|
-
custom_dimensions: number;
|
|
15839
|
-
/** Dimensions */
|
|
15840
|
-
dimensions: components["schemas"]["DimensionAnalytics"][];
|
|
15841
|
-
/** Facts Last 24H */
|
|
15842
|
-
facts_last_24h: number;
|
|
15843
|
-
/** Facts Last 30D */
|
|
15844
|
-
facts_last_30d: number;
|
|
15845
|
-
/** Facts Last 7D */
|
|
15846
|
-
facts_last_7d: number;
|
|
15847
|
-
/** Llm Dimensions */
|
|
15848
|
-
llm_dimensions: number;
|
|
15849
|
-
/** Top Sources */
|
|
15850
|
-
top_sources: components["schemas"]["TopSource"][];
|
|
15851
|
-
/** Total Entities In Workspace */
|
|
15852
|
-
total_entities_in_workspace: number;
|
|
15853
|
-
/** Total Entities With Memory */
|
|
15854
|
-
total_entities_with_memory: number;
|
|
15855
|
-
/** Total Facts */
|
|
15856
|
-
total_facts: number;
|
|
15857
|
-
};
|
|
15858
|
-
/**
|
|
15859
|
-
* MemoryDimension
|
|
15860
|
-
* @description A single memory dimension — defines what facts to extract from events.
|
|
15861
|
-
*
|
|
15862
|
-
* Two extraction modes:
|
|
15863
|
-
* - static: uses extract_paths (JSONPath) for fast, free extraction
|
|
15864
|
-
* - llm: uses ai_extract with the dimension description as prompt
|
|
15865
|
-
* for semantic extraction. Only runs on new events (incremental MV refresh).
|
|
15866
|
-
*/
|
|
15867
|
-
MemoryDimension: {
|
|
15868
|
-
/**
|
|
15869
|
-
* Active
|
|
15870
|
-
* @default true
|
|
15871
|
-
*/
|
|
15872
|
-
active?: boolean;
|
|
15873
|
-
/**
|
|
15874
|
-
* Builtin
|
|
15875
|
-
* @description True for platform-provided dimensions (read-only key)
|
|
15876
|
-
* @default false
|
|
15877
|
-
*/
|
|
15878
|
-
builtin?: boolean;
|
|
15879
|
-
description?: components["schemas"]["DescriptionString"] | null;
|
|
15880
|
-
/**
|
|
15881
|
-
* Event Types
|
|
15882
|
-
* @description Event types to scan (e.g. 'patient.created', 'condition.created', 'surface.submitted')
|
|
15883
|
-
*/
|
|
15884
|
-
event_types: string[];
|
|
15885
|
-
/**
|
|
15886
|
-
* Extract Paths
|
|
15887
|
-
* @description JSONB paths for static extraction (e.g. '$.active_conditions'). Ignored when extraction_mode='llm'.
|
|
15888
|
-
*/
|
|
15889
|
-
extract_paths?: string[];
|
|
15890
|
-
/**
|
|
15891
|
-
* Extraction Mode
|
|
15892
|
-
* @description 'static' uses extract_paths (fast, free). 'llm' uses ai_extract with description as prompt (semantic, incremental).
|
|
15893
|
-
* @default static
|
|
15894
|
-
* @enum {string}
|
|
15895
|
-
*/
|
|
15896
|
-
extraction_mode?: "static" | "llm";
|
|
15897
|
-
/**
|
|
15898
|
-
* Id
|
|
15899
|
-
* Format: uuid
|
|
15900
|
-
*/
|
|
15901
|
-
id?: string;
|
|
15902
|
-
/**
|
|
15903
|
-
* Key
|
|
15904
|
-
* @description Lowercase slug used as column key (e.g. 'clinical', 'cosmetic_preference')
|
|
15905
|
-
*/
|
|
15906
|
-
key: string;
|
|
15907
|
-
name: components["schemas"]["NameString"];
|
|
15908
|
-
/**
|
|
15909
|
-
* Weight
|
|
15910
|
-
* @description Relative importance for scoring (higher = more important)
|
|
15911
|
-
* @default 1
|
|
15912
|
-
*/
|
|
15913
|
-
weight?: number;
|
|
15914
|
-
};
|
|
15915
|
-
/** MemoryFact */
|
|
15916
|
-
MemoryFact: {
|
|
15917
|
-
/** Confidence */
|
|
15918
|
-
confidence: number;
|
|
15919
|
-
/** Data */
|
|
15920
|
-
data?: {
|
|
15921
|
-
[key: string]: unknown;
|
|
15922
|
-
} | null;
|
|
15923
|
-
/** Dimension */
|
|
15924
|
-
dimension: string;
|
|
15925
|
-
/** Event Type */
|
|
15926
|
-
event_type: string;
|
|
15927
|
-
/** Extracted Text */
|
|
15928
|
-
extracted_text: string | null;
|
|
15929
|
-
/** Ingested At */
|
|
15930
|
-
ingested_at: string | null;
|
|
15931
|
-
/** Source */
|
|
15932
|
-
source: string | null;
|
|
15933
|
-
};
|
|
15934
|
-
/** MemoryFactsResponse */
|
|
15935
|
-
MemoryFactsResponse: {
|
|
15936
|
-
/** Dimension */
|
|
15937
|
-
dimension: string | null;
|
|
15938
|
-
/**
|
|
15939
|
-
* Entity Id
|
|
15940
|
-
* Format: uuid
|
|
15941
|
-
*/
|
|
15942
|
-
entity_id: string;
|
|
15943
|
-
/** Facts */
|
|
15944
|
-
facts: components["schemas"]["MemoryFact"][];
|
|
15945
|
-
/** Total */
|
|
15946
|
-
total: number;
|
|
15947
|
-
};
|
|
15948
|
-
/**
|
|
15949
|
-
* MemorySettingsRequest
|
|
15950
|
-
* @description Partial update — only provided fields are changed.
|
|
15951
|
-
*
|
|
15952
|
-
* The dimensions list is replaced entirely when provided.
|
|
15953
|
-
* Built-in dimensions can be deactivated (active=false) or have their
|
|
15954
|
-
* weight changed, but their key cannot be reused for custom dimensions.
|
|
15955
|
-
*/
|
|
15956
|
-
MemorySettingsRequest: {
|
|
15957
|
-
/** Backfill Requested */
|
|
15958
|
-
backfill_requested?: boolean | null;
|
|
15959
|
-
/** Dimensions */
|
|
15960
|
-
dimensions?: components["schemas"]["MemoryDimension"][] | null;
|
|
15961
|
-
};
|
|
15962
|
-
/** MemorySettingsResponse */
|
|
15963
|
-
MemorySettingsResponse: {
|
|
15964
|
-
/** Backfill Requested */
|
|
15965
|
-
backfill_requested: boolean;
|
|
15966
|
-
/** Dimensions */
|
|
15967
|
-
dimensions: components["schemas"]["MemoryDimension"][];
|
|
15968
|
-
};
|
|
15969
15812
|
/** MergedEntitiesResponse */
|
|
15970
15813
|
MergedEntitiesResponse: {
|
|
15971
15814
|
/**
|
|
@@ -18615,7 +18458,7 @@ export interface components {
|
|
|
18615
18458
|
next_offset?: number | null;
|
|
18616
18459
|
/**
|
|
18617
18460
|
* Resolved Call Sid
|
|
18618
|
-
* @description When ``conversation_id`` was supplied, this is the underlying ``call_sid`` that the lookup resolved to. Useful for callers that want to drill into per-call surfaces afterward without re-querying ``world.
|
|
18461
|
+
* @description When ``conversation_id`` was supplied, this is the underlying ``call_sid`` that the lookup resolved to. Useful for callers that want to drill into per-call surfaces afterward without re-querying ``world.entities_synced_v3``. Null when the caller filtered by ``call_sid`` directly or did not filter by conversation.
|
|
18619
18462
|
*/
|
|
18620
18463
|
resolved_call_sid?: string | null;
|
|
18621
18464
|
/**
|
|
@@ -19592,21 +19435,6 @@ export interface components {
|
|
|
19592
19435
|
*/
|
|
19593
19436
|
match_count?: number;
|
|
19594
19437
|
};
|
|
19595
|
-
/**
|
|
19596
|
-
* SampleFact
|
|
19597
|
-
* @description Representative fact snippet for a dimension (quality inspection / demos).
|
|
19598
|
-
*/
|
|
19599
|
-
SampleFact: {
|
|
19600
|
-
/** Confidence */
|
|
19601
|
-
confidence: number;
|
|
19602
|
-
/**
|
|
19603
|
-
* Entity Id
|
|
19604
|
-
* Format: uuid
|
|
19605
|
-
*/
|
|
19606
|
-
entity_id: string;
|
|
19607
|
-
/** Extracted Text */
|
|
19608
|
-
extracted_text: string;
|
|
19609
|
-
};
|
|
19610
19438
|
/** SampleResponse */
|
|
19611
19439
|
SampleResponse: {
|
|
19612
19440
|
/** Count */
|
|
@@ -21651,7 +21479,7 @@ export interface components {
|
|
|
21651
21479
|
};
|
|
21652
21480
|
/** StartSessionRequest */
|
|
21653
21481
|
StartSessionRequest: {
|
|
21654
|
-
/** @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.
|
|
21482
|
+
/** @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_synced_v3 table; a freshly-created entity may not be visible yet if the projection is lagging. Provide either entity_id or canonical_id, not both. */
|
|
21655
21483
|
canonical_id?: components["schemas"]["CanonicalIdString"] | null;
|
|
21656
21484
|
/**
|
|
21657
21485
|
* Channel Kind
|
|
@@ -23279,15 +23107,6 @@ export interface components {
|
|
|
23279
23107
|
*/
|
|
23280
23108
|
total_calls?: number;
|
|
23281
23109
|
};
|
|
23282
|
-
/** TopSource */
|
|
23283
|
-
TopSource: {
|
|
23284
|
-
/** Entity Count */
|
|
23285
|
-
entity_count: number;
|
|
23286
|
-
/** Fact Count */
|
|
23287
|
-
fact_count: number;
|
|
23288
|
-
/** Source */
|
|
23289
|
-
source: string;
|
|
23290
|
-
};
|
|
23291
23110
|
/**
|
|
23292
23111
|
* TraceAnalysisListItem
|
|
23293
23112
|
* @description Compact summary of a trace analysis row for list views.
|
|
@@ -23295,7 +23114,7 @@ export interface components {
|
|
|
23295
23114
|
TraceAnalysisListItem: {
|
|
23296
23115
|
/**
|
|
23297
23116
|
* Call Entity Id
|
|
23298
|
-
* @description Associated world.
|
|
23117
|
+
* @description Associated world.entities_synced_v3 call row UUID
|
|
23299
23118
|
*/
|
|
23300
23119
|
call_entity_id?: string | null;
|
|
23301
23120
|
/**
|
|
@@ -23375,7 +23194,7 @@ export interface components {
|
|
|
23375
23194
|
TraceAnalysisResponse: {
|
|
23376
23195
|
/**
|
|
23377
23196
|
* Call Entity Id
|
|
23378
|
-
* @description UUID string of the associated world.
|
|
23197
|
+
* @description UUID string of the associated world.entities_synced_v3 call row (if resolved)
|
|
23379
23198
|
*/
|
|
23380
23199
|
call_entity_id?: string | null;
|
|
23381
23200
|
/**
|
|
@@ -24187,6 +24006,22 @@ export interface components {
|
|
|
24187
24006
|
/** Sync Strategy */
|
|
24188
24007
|
sync_strategy?: ("manual" | "scheduled" | "webhook" | "continuous") | null;
|
|
24189
24008
|
};
|
|
24009
|
+
/**
|
|
24010
|
+
* UpdateEmailTemplateRequest
|
|
24011
|
+
* @description PATCH-style PUT mirroring channel-manager's update contract: absent
|
|
24012
|
+
* fields are untouched (MISSING sentinel), ``description`` may be explicitly
|
|
24013
|
+
* nulled, and at least one field must be provided.
|
|
24014
|
+
*/
|
|
24015
|
+
UpdateEmailTemplateRequest: {
|
|
24016
|
+
/** Body Template */
|
|
24017
|
+
body_template?: string;
|
|
24018
|
+
/** Description */
|
|
24019
|
+
description?: string | null;
|
|
24020
|
+
/** Name */
|
|
24021
|
+
name?: string;
|
|
24022
|
+
/** Subject Template */
|
|
24023
|
+
subject_template?: string;
|
|
24024
|
+
};
|
|
24190
24025
|
/** UpdateOperatorRequest */
|
|
24191
24026
|
UpdateOperatorRequest: {
|
|
24192
24027
|
/** Connection Method */
|
|
@@ -24551,6 +24386,8 @@ export interface components {
|
|
|
24551
24386
|
};
|
|
24552
24387
|
/** UseCaseResponse */
|
|
24553
24388
|
UseCaseResponse: {
|
|
24389
|
+
/** Accepts Cold Inbound */
|
|
24390
|
+
accepts_cold_inbound?: boolean | null;
|
|
24554
24391
|
/** Channel */
|
|
24555
24392
|
channel: string;
|
|
24556
24393
|
/** Configuration Set Name */
|
|
@@ -24576,6 +24413,8 @@ export interface components {
|
|
|
24576
24413
|
setup_id: string;
|
|
24577
24414
|
/** Tier */
|
|
24578
24415
|
tier?: string | null;
|
|
24416
|
+
/** Unsubscribable */
|
|
24417
|
+
unsubscribable?: boolean | null;
|
|
24579
24418
|
/**
|
|
24580
24419
|
* Updated At
|
|
24581
24420
|
* Format: date-time
|
|
@@ -25368,7 +25207,7 @@ export interface components {
|
|
|
25368
25207
|
* Resource Type
|
|
25369
25208
|
* @description Type of resource that was accessed
|
|
25370
25209
|
*/
|
|
25371
|
-
resource_type
|
|
25210
|
+
resource_type?: string | null;
|
|
25372
25211
|
/**
|
|
25373
25212
|
* Service
|
|
25374
25213
|
* @description Service that produced the event
|
|
@@ -25434,6 +25273,33 @@ export interface components {
|
|
|
25434
25273
|
*/
|
|
25435
25274
|
unique_states?: number;
|
|
25436
25275
|
};
|
|
25276
|
+
/** Item */
|
|
25277
|
+
src__routes__channels__email_templates__EmailTemplateListResponse__Item: {
|
|
25278
|
+
/**
|
|
25279
|
+
* Created At
|
|
25280
|
+
* Format: date-time
|
|
25281
|
+
*/
|
|
25282
|
+
created_at: string;
|
|
25283
|
+
/** Description */
|
|
25284
|
+
description: string | null;
|
|
25285
|
+
/**
|
|
25286
|
+
* Id
|
|
25287
|
+
* Format: uuid
|
|
25288
|
+
*/
|
|
25289
|
+
id: string;
|
|
25290
|
+
/** Name */
|
|
25291
|
+
name: string;
|
|
25292
|
+
/**
|
|
25293
|
+
* Ses Use Case Id
|
|
25294
|
+
* Format: uuid
|
|
25295
|
+
*/
|
|
25296
|
+
ses_use_case_id: string;
|
|
25297
|
+
/**
|
|
25298
|
+
* Updated At
|
|
25299
|
+
* Format: date-time
|
|
25300
|
+
*/
|
|
25301
|
+
updated_at: string;
|
|
25302
|
+
};
|
|
25437
25303
|
/** ConversationSummary */
|
|
25438
25304
|
src__routes__conversations__ConversationSummary: {
|
|
25439
25305
|
/** Call Sid */
|
|
@@ -30244,6 +30110,322 @@ export interface operations {
|
|
|
30244
30110
|
};
|
|
30245
30111
|
};
|
|
30246
30112
|
};
|
|
30113
|
+
"list-email-templates": {
|
|
30114
|
+
parameters: {
|
|
30115
|
+
query: {
|
|
30116
|
+
ses_use_case_id: string;
|
|
30117
|
+
};
|
|
30118
|
+
header?: never;
|
|
30119
|
+
path: {
|
|
30120
|
+
workspace_id: string;
|
|
30121
|
+
};
|
|
30122
|
+
cookie?: never;
|
|
30123
|
+
};
|
|
30124
|
+
requestBody?: never;
|
|
30125
|
+
responses: {
|
|
30126
|
+
/** @description Successful Response */
|
|
30127
|
+
200: {
|
|
30128
|
+
headers: {
|
|
30129
|
+
[name: string]: unknown;
|
|
30130
|
+
};
|
|
30131
|
+
content: {
|
|
30132
|
+
"application/json": components["schemas"]["EmailTemplateListResponse"];
|
|
30133
|
+
};
|
|
30134
|
+
};
|
|
30135
|
+
/** @description Insufficient permissions. */
|
|
30136
|
+
403: {
|
|
30137
|
+
headers: {
|
|
30138
|
+
[name: string]: unknown;
|
|
30139
|
+
};
|
|
30140
|
+
content?: never;
|
|
30141
|
+
};
|
|
30142
|
+
/** @description SES use case not found or not bound to this workspace. */
|
|
30143
|
+
404: {
|
|
30144
|
+
headers: {
|
|
30145
|
+
[name: string]: unknown;
|
|
30146
|
+
};
|
|
30147
|
+
content?: never;
|
|
30148
|
+
};
|
|
30149
|
+
/** @description Validation Error */
|
|
30150
|
+
422: {
|
|
30151
|
+
headers: {
|
|
30152
|
+
[name: string]: unknown;
|
|
30153
|
+
};
|
|
30154
|
+
content: {
|
|
30155
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30156
|
+
};
|
|
30157
|
+
};
|
|
30158
|
+
/** @description Channel manager unavailable. */
|
|
30159
|
+
502: {
|
|
30160
|
+
headers: {
|
|
30161
|
+
[name: string]: unknown;
|
|
30162
|
+
};
|
|
30163
|
+
content?: never;
|
|
30164
|
+
};
|
|
30165
|
+
/** @description Channel manager timed out. */
|
|
30166
|
+
504: {
|
|
30167
|
+
headers: {
|
|
30168
|
+
[name: string]: unknown;
|
|
30169
|
+
};
|
|
30170
|
+
content?: never;
|
|
30171
|
+
};
|
|
30172
|
+
};
|
|
30173
|
+
};
|
|
30174
|
+
"create-email-template": {
|
|
30175
|
+
parameters: {
|
|
30176
|
+
query?: never;
|
|
30177
|
+
header?: never;
|
|
30178
|
+
path: {
|
|
30179
|
+
workspace_id: string;
|
|
30180
|
+
};
|
|
30181
|
+
cookie?: never;
|
|
30182
|
+
};
|
|
30183
|
+
requestBody: {
|
|
30184
|
+
content: {
|
|
30185
|
+
"application/json": components["schemas"]["CreateEmailTemplateRequest"];
|
|
30186
|
+
};
|
|
30187
|
+
};
|
|
30188
|
+
responses: {
|
|
30189
|
+
/** @description Successful Response */
|
|
30190
|
+
201: {
|
|
30191
|
+
headers: {
|
|
30192
|
+
[name: string]: unknown;
|
|
30193
|
+
};
|
|
30194
|
+
content: {
|
|
30195
|
+
"application/json": components["schemas"]["EmailTemplateResponse"];
|
|
30196
|
+
};
|
|
30197
|
+
};
|
|
30198
|
+
/** @description Insufficient permissions. */
|
|
30199
|
+
403: {
|
|
30200
|
+
headers: {
|
|
30201
|
+
[name: string]: unknown;
|
|
30202
|
+
};
|
|
30203
|
+
content?: never;
|
|
30204
|
+
};
|
|
30205
|
+
/** @description SES use case not found or not bound to this workspace. */
|
|
30206
|
+
404: {
|
|
30207
|
+
headers: {
|
|
30208
|
+
[name: string]: unknown;
|
|
30209
|
+
};
|
|
30210
|
+
content?: never;
|
|
30211
|
+
};
|
|
30212
|
+
/** @description Template name already exists within the SES use case. */
|
|
30213
|
+
409: {
|
|
30214
|
+
headers: {
|
|
30215
|
+
[name: string]: unknown;
|
|
30216
|
+
};
|
|
30217
|
+
content?: never;
|
|
30218
|
+
};
|
|
30219
|
+
/** @description Jinja syntax error or unsubscribe-variable gate violation. */
|
|
30220
|
+
422: {
|
|
30221
|
+
headers: {
|
|
30222
|
+
[name: string]: unknown;
|
|
30223
|
+
};
|
|
30224
|
+
content?: never;
|
|
30225
|
+
};
|
|
30226
|
+
/** @description Channel manager unavailable. */
|
|
30227
|
+
502: {
|
|
30228
|
+
headers: {
|
|
30229
|
+
[name: string]: unknown;
|
|
30230
|
+
};
|
|
30231
|
+
content?: never;
|
|
30232
|
+
};
|
|
30233
|
+
/** @description Channel manager timed out. */
|
|
30234
|
+
504: {
|
|
30235
|
+
headers: {
|
|
30236
|
+
[name: string]: unknown;
|
|
30237
|
+
};
|
|
30238
|
+
content?: never;
|
|
30239
|
+
};
|
|
30240
|
+
};
|
|
30241
|
+
};
|
|
30242
|
+
"get-email-template": {
|
|
30243
|
+
parameters: {
|
|
30244
|
+
query?: never;
|
|
30245
|
+
header?: never;
|
|
30246
|
+
path: {
|
|
30247
|
+
workspace_id: string;
|
|
30248
|
+
email_template_id: string;
|
|
30249
|
+
};
|
|
30250
|
+
cookie?: never;
|
|
30251
|
+
};
|
|
30252
|
+
requestBody?: never;
|
|
30253
|
+
responses: {
|
|
30254
|
+
/** @description Successful Response */
|
|
30255
|
+
200: {
|
|
30256
|
+
headers: {
|
|
30257
|
+
[name: string]: unknown;
|
|
30258
|
+
};
|
|
30259
|
+
content: {
|
|
30260
|
+
"application/json": components["schemas"]["EmailTemplateResponse"];
|
|
30261
|
+
};
|
|
30262
|
+
};
|
|
30263
|
+
/** @description Insufficient permissions. */
|
|
30264
|
+
403: {
|
|
30265
|
+
headers: {
|
|
30266
|
+
[name: string]: unknown;
|
|
30267
|
+
};
|
|
30268
|
+
content?: never;
|
|
30269
|
+
};
|
|
30270
|
+
/** @description Email template not found. */
|
|
30271
|
+
404: {
|
|
30272
|
+
headers: {
|
|
30273
|
+
[name: string]: unknown;
|
|
30274
|
+
};
|
|
30275
|
+
content?: never;
|
|
30276
|
+
};
|
|
30277
|
+
/** @description Validation Error */
|
|
30278
|
+
422: {
|
|
30279
|
+
headers: {
|
|
30280
|
+
[name: string]: unknown;
|
|
30281
|
+
};
|
|
30282
|
+
content: {
|
|
30283
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30284
|
+
};
|
|
30285
|
+
};
|
|
30286
|
+
/** @description Channel manager unavailable. */
|
|
30287
|
+
502: {
|
|
30288
|
+
headers: {
|
|
30289
|
+
[name: string]: unknown;
|
|
30290
|
+
};
|
|
30291
|
+
content?: never;
|
|
30292
|
+
};
|
|
30293
|
+
/** @description Channel manager timed out. */
|
|
30294
|
+
504: {
|
|
30295
|
+
headers: {
|
|
30296
|
+
[name: string]: unknown;
|
|
30297
|
+
};
|
|
30298
|
+
content?: never;
|
|
30299
|
+
};
|
|
30300
|
+
};
|
|
30301
|
+
};
|
|
30302
|
+
"update-email-template": {
|
|
30303
|
+
parameters: {
|
|
30304
|
+
query?: never;
|
|
30305
|
+
header?: never;
|
|
30306
|
+
path: {
|
|
30307
|
+
workspace_id: string;
|
|
30308
|
+
email_template_id: string;
|
|
30309
|
+
};
|
|
30310
|
+
cookie?: never;
|
|
30311
|
+
};
|
|
30312
|
+
requestBody: {
|
|
30313
|
+
content: {
|
|
30314
|
+
"application/json": components["schemas"]["UpdateEmailTemplateRequest"];
|
|
30315
|
+
};
|
|
30316
|
+
};
|
|
30317
|
+
responses: {
|
|
30318
|
+
/** @description Successful Response */
|
|
30319
|
+
200: {
|
|
30320
|
+
headers: {
|
|
30321
|
+
[name: string]: unknown;
|
|
30322
|
+
};
|
|
30323
|
+
content: {
|
|
30324
|
+
"application/json": components["schemas"]["EmailTemplateResponse"];
|
|
30325
|
+
};
|
|
30326
|
+
};
|
|
30327
|
+
/** @description Insufficient permissions. */
|
|
30328
|
+
403: {
|
|
30329
|
+
headers: {
|
|
30330
|
+
[name: string]: unknown;
|
|
30331
|
+
};
|
|
30332
|
+
content?: never;
|
|
30333
|
+
};
|
|
30334
|
+
/** @description Email template not found. */
|
|
30335
|
+
404: {
|
|
30336
|
+
headers: {
|
|
30337
|
+
[name: string]: unknown;
|
|
30338
|
+
};
|
|
30339
|
+
content?: never;
|
|
30340
|
+
};
|
|
30341
|
+
/** @description New template name already exists within the SES use case. */
|
|
30342
|
+
409: {
|
|
30343
|
+
headers: {
|
|
30344
|
+
[name: string]: unknown;
|
|
30345
|
+
};
|
|
30346
|
+
content?: never;
|
|
30347
|
+
};
|
|
30348
|
+
/** @description No fields provided, Jinja syntax error, or unsubscribe-variable gate violation. */
|
|
30349
|
+
422: {
|
|
30350
|
+
headers: {
|
|
30351
|
+
[name: string]: unknown;
|
|
30352
|
+
};
|
|
30353
|
+
content?: never;
|
|
30354
|
+
};
|
|
30355
|
+
/** @description Channel manager unavailable. */
|
|
30356
|
+
502: {
|
|
30357
|
+
headers: {
|
|
30358
|
+
[name: string]: unknown;
|
|
30359
|
+
};
|
|
30360
|
+
content?: never;
|
|
30361
|
+
};
|
|
30362
|
+
/** @description Channel manager timed out. */
|
|
30363
|
+
504: {
|
|
30364
|
+
headers: {
|
|
30365
|
+
[name: string]: unknown;
|
|
30366
|
+
};
|
|
30367
|
+
content?: never;
|
|
30368
|
+
};
|
|
30369
|
+
};
|
|
30370
|
+
};
|
|
30371
|
+
"delete-email-template": {
|
|
30372
|
+
parameters: {
|
|
30373
|
+
query?: never;
|
|
30374
|
+
header?: never;
|
|
30375
|
+
path: {
|
|
30376
|
+
workspace_id: string;
|
|
30377
|
+
email_template_id: string;
|
|
30378
|
+
};
|
|
30379
|
+
cookie?: never;
|
|
30380
|
+
};
|
|
30381
|
+
requestBody?: never;
|
|
30382
|
+
responses: {
|
|
30383
|
+
/** @description Successful Response */
|
|
30384
|
+
204: {
|
|
30385
|
+
headers: {
|
|
30386
|
+
[name: string]: unknown;
|
|
30387
|
+
};
|
|
30388
|
+
content?: never;
|
|
30389
|
+
};
|
|
30390
|
+
/** @description Insufficient permissions. */
|
|
30391
|
+
403: {
|
|
30392
|
+
headers: {
|
|
30393
|
+
[name: string]: unknown;
|
|
30394
|
+
};
|
|
30395
|
+
content?: never;
|
|
30396
|
+
};
|
|
30397
|
+
/** @description Email template not found. */
|
|
30398
|
+
404: {
|
|
30399
|
+
headers: {
|
|
30400
|
+
[name: string]: unknown;
|
|
30401
|
+
};
|
|
30402
|
+
content?: never;
|
|
30403
|
+
};
|
|
30404
|
+
/** @description Validation Error */
|
|
30405
|
+
422: {
|
|
30406
|
+
headers: {
|
|
30407
|
+
[name: string]: unknown;
|
|
30408
|
+
};
|
|
30409
|
+
content: {
|
|
30410
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
30411
|
+
};
|
|
30412
|
+
};
|
|
30413
|
+
/** @description Channel manager unavailable. */
|
|
30414
|
+
502: {
|
|
30415
|
+
headers: {
|
|
30416
|
+
[name: string]: unknown;
|
|
30417
|
+
};
|
|
30418
|
+
content?: never;
|
|
30419
|
+
};
|
|
30420
|
+
/** @description Channel manager timed out. */
|
|
30421
|
+
504: {
|
|
30422
|
+
headers: {
|
|
30423
|
+
[name: string]: unknown;
|
|
30424
|
+
};
|
|
30425
|
+
content?: never;
|
|
30426
|
+
};
|
|
30427
|
+
};
|
|
30428
|
+
};
|
|
30247
30429
|
"list-ses-setups": {
|
|
30248
30430
|
parameters: {
|
|
30249
30431
|
query?: {
|
|
@@ -35432,116 +35614,6 @@ export interface operations {
|
|
|
35432
35614
|
};
|
|
35433
35615
|
};
|
|
35434
35616
|
};
|
|
35435
|
-
"get-memory-analytics": {
|
|
35436
|
-
parameters: {
|
|
35437
|
-
query?: never;
|
|
35438
|
-
header?: never;
|
|
35439
|
-
path: {
|
|
35440
|
-
workspace_id: string;
|
|
35441
|
-
};
|
|
35442
|
-
cookie?: never;
|
|
35443
|
-
};
|
|
35444
|
-
requestBody?: never;
|
|
35445
|
-
responses: {
|
|
35446
|
-
/** @description Successful Response */
|
|
35447
|
-
200: {
|
|
35448
|
-
headers: {
|
|
35449
|
-
[name: string]: unknown;
|
|
35450
|
-
};
|
|
35451
|
-
content: {
|
|
35452
|
-
"application/json": components["schemas"]["MemoryAnalyticsResponse"];
|
|
35453
|
-
};
|
|
35454
|
-
};
|
|
35455
|
-
/** @description Rate limited */
|
|
35456
|
-
429: {
|
|
35457
|
-
headers: {
|
|
35458
|
-
[name: string]: unknown;
|
|
35459
|
-
};
|
|
35460
|
-
content?: never;
|
|
35461
|
-
};
|
|
35462
|
-
};
|
|
35463
|
-
};
|
|
35464
|
-
"get-entity-dimension-scores": {
|
|
35465
|
-
parameters: {
|
|
35466
|
-
query?: never;
|
|
35467
|
-
header?: never;
|
|
35468
|
-
path: {
|
|
35469
|
-
workspace_id: string;
|
|
35470
|
-
/** @description Entity UUID */
|
|
35471
|
-
entity_id: string;
|
|
35472
|
-
};
|
|
35473
|
-
cookie?: never;
|
|
35474
|
-
};
|
|
35475
|
-
requestBody?: never;
|
|
35476
|
-
responses: {
|
|
35477
|
-
/** @description Successful Response */
|
|
35478
|
-
200: {
|
|
35479
|
-
headers: {
|
|
35480
|
-
[name: string]: unknown;
|
|
35481
|
-
};
|
|
35482
|
-
content: {
|
|
35483
|
-
"application/json": components["schemas"]["DimensionScoresResponse"];
|
|
35484
|
-
};
|
|
35485
|
-
};
|
|
35486
|
-
/** @description Invalid entity_id */
|
|
35487
|
-
422: {
|
|
35488
|
-
headers: {
|
|
35489
|
-
[name: string]: unknown;
|
|
35490
|
-
};
|
|
35491
|
-
content?: never;
|
|
35492
|
-
};
|
|
35493
|
-
/** @description Rate limited */
|
|
35494
|
-
429: {
|
|
35495
|
-
headers: {
|
|
35496
|
-
[name: string]: unknown;
|
|
35497
|
-
};
|
|
35498
|
-
content?: never;
|
|
35499
|
-
};
|
|
35500
|
-
};
|
|
35501
|
-
};
|
|
35502
|
-
"get-entity-memory-facts": {
|
|
35503
|
-
parameters: {
|
|
35504
|
-
query?: {
|
|
35505
|
-
/** @description Filter by dimension key (clinical, behavioral, etc.) */
|
|
35506
|
-
dimension?: string | null;
|
|
35507
|
-
/** @description Max facts to return */
|
|
35508
|
-
limit?: number;
|
|
35509
|
-
};
|
|
35510
|
-
header?: never;
|
|
35511
|
-
path: {
|
|
35512
|
-
workspace_id: string;
|
|
35513
|
-
/** @description Entity UUID */
|
|
35514
|
-
entity_id: string;
|
|
35515
|
-
};
|
|
35516
|
-
cookie?: never;
|
|
35517
|
-
};
|
|
35518
|
-
requestBody?: never;
|
|
35519
|
-
responses: {
|
|
35520
|
-
/** @description Successful Response */
|
|
35521
|
-
200: {
|
|
35522
|
-
headers: {
|
|
35523
|
-
[name: string]: unknown;
|
|
35524
|
-
};
|
|
35525
|
-
content: {
|
|
35526
|
-
"application/json": components["schemas"]["MemoryFactsResponse"];
|
|
35527
|
-
};
|
|
35528
|
-
};
|
|
35529
|
-
/** @description Invalid entity_id or dimension key */
|
|
35530
|
-
422: {
|
|
35531
|
-
headers: {
|
|
35532
|
-
[name: string]: unknown;
|
|
35533
|
-
};
|
|
35534
|
-
content?: never;
|
|
35535
|
-
};
|
|
35536
|
-
/** @description Rate limited */
|
|
35537
|
-
429: {
|
|
35538
|
-
headers: {
|
|
35539
|
-
[name: string]: unknown;
|
|
35540
|
-
};
|
|
35541
|
-
content?: never;
|
|
35542
|
-
};
|
|
35543
|
-
};
|
|
35544
|
-
};
|
|
35545
35617
|
"emit-metering-event": {
|
|
35546
35618
|
parameters: {
|
|
35547
35619
|
query?: never;
|
|
@@ -37062,8 +37134,6 @@ export interface operations {
|
|
|
37062
37134
|
order?: string | null;
|
|
37063
37135
|
limit?: number;
|
|
37064
37136
|
offset?: number;
|
|
37065
|
-
/** @description Semantic search query (uses pgvector cosine similarity) */
|
|
37066
|
-
semantic?: string | null;
|
|
37067
37137
|
};
|
|
37068
37138
|
header?: never;
|
|
37069
37139
|
path: {
|
|
@@ -39283,82 +39353,6 @@ export interface operations {
|
|
|
39283
39353
|
};
|
|
39284
39354
|
};
|
|
39285
39355
|
};
|
|
39286
|
-
"get-memory-settings": {
|
|
39287
|
-
parameters: {
|
|
39288
|
-
query?: never;
|
|
39289
|
-
header?: never;
|
|
39290
|
-
path: {
|
|
39291
|
-
workspace_id: string;
|
|
39292
|
-
};
|
|
39293
|
-
cookie?: never;
|
|
39294
|
-
};
|
|
39295
|
-
requestBody?: never;
|
|
39296
|
-
responses: {
|
|
39297
|
-
/** @description Successful Response */
|
|
39298
|
-
200: {
|
|
39299
|
-
headers: {
|
|
39300
|
-
[name: string]: unknown;
|
|
39301
|
-
};
|
|
39302
|
-
content: {
|
|
39303
|
-
"application/json": components["schemas"]["MemorySettingsResponse"];
|
|
39304
|
-
};
|
|
39305
|
-
};
|
|
39306
|
-
/** @description Rate limited */
|
|
39307
|
-
429: {
|
|
39308
|
-
headers: {
|
|
39309
|
-
[name: string]: unknown;
|
|
39310
|
-
};
|
|
39311
|
-
content?: never;
|
|
39312
|
-
};
|
|
39313
|
-
};
|
|
39314
|
-
};
|
|
39315
|
-
"update-memory-settings": {
|
|
39316
|
-
parameters: {
|
|
39317
|
-
query?: never;
|
|
39318
|
-
header?: never;
|
|
39319
|
-
path: {
|
|
39320
|
-
workspace_id: string;
|
|
39321
|
-
};
|
|
39322
|
-
cookie?: never;
|
|
39323
|
-
};
|
|
39324
|
-
requestBody: {
|
|
39325
|
-
content: {
|
|
39326
|
-
"application/json": components["schemas"]["MemorySettingsRequest"];
|
|
39327
|
-
};
|
|
39328
|
-
};
|
|
39329
|
-
responses: {
|
|
39330
|
-
/** @description Successful Response */
|
|
39331
|
-
200: {
|
|
39332
|
-
headers: {
|
|
39333
|
-
[name: string]: unknown;
|
|
39334
|
-
};
|
|
39335
|
-
content: {
|
|
39336
|
-
"application/json": components["schemas"]["MemorySettingsResponse"];
|
|
39337
|
-
};
|
|
39338
|
-
};
|
|
39339
|
-
/** @description Workspace not found */
|
|
39340
|
-
404: {
|
|
39341
|
-
headers: {
|
|
39342
|
-
[name: string]: unknown;
|
|
39343
|
-
};
|
|
39344
|
-
content?: never;
|
|
39345
|
-
};
|
|
39346
|
-
/** @description Validation error */
|
|
39347
|
-
422: {
|
|
39348
|
-
headers: {
|
|
39349
|
-
[name: string]: unknown;
|
|
39350
|
-
};
|
|
39351
|
-
content?: never;
|
|
39352
|
-
};
|
|
39353
|
-
/** @description Rate limited */
|
|
39354
|
-
429: {
|
|
39355
|
-
headers: {
|
|
39356
|
-
[name: string]: unknown;
|
|
39357
|
-
};
|
|
39358
|
-
content?: never;
|
|
39359
|
-
};
|
|
39360
|
-
};
|
|
39361
|
-
};
|
|
39362
39356
|
"get-metric-settings": {
|
|
39363
39357
|
parameters: {
|
|
39364
39358
|
query?: never;
|