@tellescope/types-models 1.249.1 → 1.249.2

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.
@@ -1965,6 +1965,19 @@ export type FormScoring = {
1965
1965
  score: (string | number);
1966
1966
  };
1967
1967
  export type FormType = 'note' | 'enduserFacing';
1968
+ export type AISummaryDataSource = 'enduser_observations' | 'form_responses' | 'chats' | 'phone_calls' | 'calendar_events' | 'tickets' | 'sms_messages' | 'emails' | 'enduser_orders' | 'enduser_medications' | 'purchases';
1969
+ export type AISummaryDataSourceConfig = {
1970
+ type: AISummaryDataSource;
1971
+ limit?: number;
1972
+ lookbackMS?: number;
1973
+ filter?: object;
1974
+ };
1975
+ export type AISummaryConfiguration = {
1976
+ enabled?: boolean;
1977
+ prompt?: string;
1978
+ dataSources?: AISummaryDataSourceConfig[];
1979
+ maxOutputTokens?: number;
1980
+ };
1968
1981
  export type FormCustomization = {
1969
1982
  publicFormHTMLDescription?: string;
1970
1983
  publicFormSubmitHTMLDescription?: string;
@@ -2060,12 +2073,14 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
2060
2073
  belugaVisitType?: string;
2061
2074
  belugaVerificationId?: string;
2062
2075
  belugaPharmacyMappings?: BelugaPharmacyMapping[];
2076
+ belugaCombineMatchingPharmacyMappings?: boolean;
2063
2077
  showByUserTags?: string[];
2064
2078
  version?: 'v1' | 'v2';
2065
2079
  mdiCaseOfferings?: {
2066
2080
  offering_id: string;
2067
2081
  }[];
2068
2082
  autoMergeOnSubmission?: boolean;
2083
+ aiSummaryConfiguration?: AISummaryConfiguration;
2069
2084
  procedureCodes?: FormResponseProcedureCode[];
2070
2085
  diagnosisCodes?: FormResponseDiagnosisCode[];
2071
2086
  }
@@ -2511,6 +2526,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
2511
2526
  timestamp: Date;
2512
2527
  }[];
2513
2528
  startedViaPinnedForm?: boolean;
2529
+ enduserAISummary?: string;
2514
2530
  procedureCodes?: FormResponseProcedureCode[];
2515
2531
  diagnosisCodes?: FormResponseDiagnosisCode[];
2516
2532
  }