@awell-health/awell-extensions 1.0.234 → 1.0.236

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/dist/extensions/athenahealth/actions/index.d.ts +1 -1
  2. package/dist/extensions/athenahealth/api/schema/clinicalDocument.d.ts +2 -2
  3. package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +1 -1
  4. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js +12 -15
  5. package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
  6. package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +14 -14
  7. package/dist/extensions/calDotCom/actions/createBooking/config/fields.d.ts +6 -6
  8. package/dist/extensions/calDotCom/actions/deleteBooking/config/fields.d.ts +2 -2
  9. package/dist/extensions/calDotCom/actions/updateBooking/config/fields.d.ts +6 -6
  10. package/dist/extensions/calendly/schema.d.ts +1030 -218
  11. package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +11 -10
  12. package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +16 -15
  13. package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +13 -13
  14. package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +229 -228
  15. package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +24 -21
  16. package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +52 -51
  17. package/dist/extensions/docuSign/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
  18. package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js +9 -12
  19. package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js.map +1 -1
  20. package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
  21. package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js +32 -38
  22. package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js.map +1 -1
  23. package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js +13 -16
  24. package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js.map +1 -1
  25. package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js +13 -16
  26. package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js.map +1 -1
  27. package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/config/fields.d.ts +2 -2
  28. package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js +13 -16
  29. package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js.map +1 -1
  30. package/dist/extensions/elation/actions/index.d.ts +1 -1
  31. package/dist/extensions/elation/validation/appointment.zod.d.ts +4 -4
  32. package/dist/extensions/elation/validation/labOrder.zod.d.ts +2 -2
  33. package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +2 -2
  34. package/dist/extensions/elation/validation/patient.zod.d.ts +248 -248
  35. package/dist/extensions/elation/validation/physician.zod.d.ts +4 -4
  36. package/dist/extensions/formsort/settings.d.ts +1 -1
  37. package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.d.ts +12 -12
  38. package/dist/extensions/infobip/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
  39. package/dist/extensions/iterable/v1/actions/sendEmail/config/fields.d.ts +4 -4
  40. package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
  41. package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +10 -10
  42. package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +3 -3
  43. package/dist/extensions/medplum/actions/createTask/config/fields.js +2 -2
  44. package/dist/extensions/medplum/actions/createTask/config/fields.js.map +1 -1
  45. package/dist/extensions/medplum/actions/executeBot/config/fields.d.ts +2 -4
  46. package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.d.ts +2 -2
  47. package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +10 -10
  48. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +2 -2
  49. package/dist/extensions/metriport/actions/patient/validation.d.ts +31 -28
  50. package/dist/extensions/sendbird/v1/actions/createTicket/config/fields.d.ts +4 -4
  51. package/dist/extensions/sendbird/v1/actions/createUser/config/fields.d.ts +2 -2
  52. package/dist/extensions/sendgrid-extension/v1/actions/sendEmailWithTemplate/config/fields.d.ts +1 -1
  53. package/dist/extensions/textline/actions/getMessages/config/fields.d.ts +2 -2
  54. package/dist/extensions/twilio/v2/actions/getMessages/config/fields.d.ts +4 -4
  55. package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/config/fields.d.ts +2 -2
  56. package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +4 -4
  57. package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +4 -4
  58. package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +5 -2
  59. package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +4 -4
  60. package/dist/extensions/wellinks-public/config/settings.d.ts +4 -4
  61. package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +4 -4
  62. package/dist/src/tests/constants.d.ts +4 -0
  63. package/package.json +4 -4
@@ -8,19 +8,19 @@ export declare const physicianSchema: z.ZodObject<{
8
8
  license_state: z.ZodOptional<z.ZodString>;
9
9
  credentials: z.ZodOptional<z.ZodString>;
10
10
  }, "strict", z.ZodTypeAny, {
11
+ email?: string | undefined;
12
+ credentials?: string | undefined;
11
13
  first_name?: string | undefined;
12
14
  last_name?: string | undefined;
13
- email?: string | undefined;
14
15
  npi?: string | undefined;
15
16
  license?: string | undefined;
16
17
  license_state?: string | undefined;
17
- credentials?: string | undefined;
18
18
  }, {
19
+ email?: string | undefined;
20
+ credentials?: string | undefined;
19
21
  first_name?: string | undefined;
20
22
  last_name?: string | undefined;
21
- email?: string | undefined;
22
23
  npi?: string | undefined;
23
24
  license?: string | undefined;
24
25
  license_state?: string | undefined;
25
- credentials?: string | undefined;
26
26
  }>;
@@ -26,7 +26,7 @@ export declare const SettingsValidationSchema: z.ZodObject<{
26
26
  environment: "production" | "staging";
27
27
  apiKey?: string | undefined;
28
28
  }, {
29
- apiKey?: string | undefined;
30
29
  environment?: "production" | "staging" | undefined;
30
+ apiKey?: string | undefined;
31
31
  }>;
32
32
  export declare const validateSettings: (settings: unknown) => z.infer<typeof SettingsValidationSchema>;
@@ -13,45 +13,45 @@ export declare const FieldsSchema: z.ZodEffects<z.ZodObject<{
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  healthie_patient_id: string;
15
15
  form_id: string;
16
- is_recurring?: boolean | undefined;
17
16
  frequency?: string | undefined;
18
- period?: string | undefined;
19
- minute?: string | undefined;
20
17
  hour?: string | undefined;
18
+ minute?: string | undefined;
21
19
  weekday?: string | undefined;
20
+ period?: string | undefined;
22
21
  monthday?: string | undefined;
22
+ is_recurring?: boolean | undefined;
23
23
  ends_on?: string | undefined;
24
24
  }, {
25
25
  healthie_patient_id: string;
26
26
  form_id: string;
27
- is_recurring?: boolean | undefined;
28
27
  frequency?: string | undefined;
29
- period?: string | undefined;
30
- minute?: string | undefined;
31
28
  hour?: string | undefined;
29
+ minute?: string | undefined;
32
30
  weekday?: string | undefined;
31
+ period?: string | undefined;
33
32
  monthday?: string | undefined;
33
+ is_recurring?: boolean | undefined;
34
34
  ends_on?: "" | Date | undefined;
35
35
  }>, {
36
36
  healthie_patient_id: string;
37
37
  form_id: string;
38
- is_recurring?: boolean | undefined;
39
38
  frequency?: string | undefined;
40
- period?: string | undefined;
41
- minute?: string | undefined;
42
39
  hour?: string | undefined;
40
+ minute?: string | undefined;
43
41
  weekday?: string | undefined;
42
+ period?: string | undefined;
44
43
  monthday?: string | undefined;
44
+ is_recurring?: boolean | undefined;
45
45
  ends_on?: string | undefined;
46
46
  }, {
47
47
  healthie_patient_id: string;
48
48
  form_id: string;
49
- is_recurring?: boolean | undefined;
50
49
  frequency?: string | undefined;
51
- period?: string | undefined;
52
- minute?: string | undefined;
53
50
  hour?: string | undefined;
51
+ minute?: string | undefined;
54
52
  weekday?: string | undefined;
53
+ period?: string | undefined;
55
54
  monthday?: string | undefined;
55
+ is_recurring?: boolean | undefined;
56
56
  ends_on?: "" | Date | undefined;
57
57
  }>;
@@ -40,11 +40,9 @@ export declare const FieldsValidationSchema: z.ZodObject<{
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  templateId: number;
42
42
  to: string;
43
- placeholders: ((string | number | boolean | {
43
+ placeholders: string | number | boolean | {
44
44
  [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
45
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[]) & (string | number | boolean | {
46
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
47
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | undefined)) | null;
45
+ } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
48
46
  subject?: string | undefined;
49
47
  }, {
50
48
  templateId: number;
@@ -53,30 +53,30 @@ export declare const FieldsValidationSchema: z.ZodEffects<z.ZodObject<{
53
53
  metadata: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodString, Record<string, any>, string>>, z.ZodEffects<z.ZodLiteral<"">, undefined, "">]>;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  campaignId: number;
56
+ metadata?: Record<string, any> | undefined;
56
57
  recipientEmail?: string | undefined;
57
58
  recipientUserId?: string | undefined;
58
59
  dataFields?: Record<string, any> | undefined;
59
60
  allowRepeatMarketingSends?: boolean | undefined;
60
- metadata?: Record<string, any> | undefined;
61
61
  }, {
62
62
  campaignId: number;
63
+ metadata?: string | undefined;
63
64
  recipientEmail?: string | undefined;
64
65
  recipientUserId?: string | undefined;
65
66
  dataFields?: string | undefined;
66
67
  allowRepeatMarketingSends?: boolean | undefined;
67
- metadata?: string | undefined;
68
68
  }>, {
69
69
  campaignId: number;
70
+ metadata?: Record<string, any> | undefined;
70
71
  recipientEmail?: string | undefined;
71
72
  recipientUserId?: string | undefined;
72
73
  dataFields?: Record<string, any> | undefined;
73
74
  allowRepeatMarketingSends?: boolean | undefined;
74
- metadata?: Record<string, any> | undefined;
75
75
  }, {
76
76
  campaignId: number;
77
+ metadata?: string | undefined;
77
78
  recipientEmail?: string | undefined;
78
79
  recipientUserId?: string | undefined;
79
80
  dataFields?: string | undefined;
80
81
  allowRepeatMarketingSends?: boolean | undefined;
81
- metadata?: string | undefined;
82
82
  }>;
@@ -45,11 +45,9 @@ export declare const FieldsValidationSchema: z.ZodObject<{
45
45
  template: string;
46
46
  subject: string;
47
47
  to: string;
48
- variables: ((string | number | boolean | {
48
+ variables: string | number | boolean | {
49
49
  [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
50
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[]) & (string | number | boolean | {
51
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
52
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | undefined)) | null;
50
+ } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
53
51
  }, {
54
52
  template: string;
55
53
  subject: string;
@@ -93,27 +93,27 @@ export declare const FieldsValidationSchema: ZodObject<{
93
93
  country: import("zod").ZodOptional<import("zod").ZodString>;
94
94
  postalCode: import("zod").ZodOptional<import("zod").ZodString>;
95
95
  }, "strip", ZodTypeAny, {
96
+ state?: string | undefined;
97
+ address?: string | undefined;
98
+ email?: string | undefined;
96
99
  firstName?: string | undefined;
97
100
  lastName?: string | undefined;
98
- email?: string | undefined;
99
- mobilePhone?: import("libphonenumber-js").E164Number | undefined;
100
101
  birthDate?: string | undefined;
101
- gender?: "unknown" | "other" | "male" | "female" | undefined;
102
- address?: string | undefined;
102
+ mobilePhone?: import("libphonenumber-js").E164Number | undefined;
103
103
  city?: string | undefined;
104
- state?: string | undefined;
105
104
  country?: string | undefined;
106
105
  postalCode?: string | undefined;
106
+ gender?: "unknown" | "other" | "male" | "female" | undefined;
107
107
  }, {
108
+ state?: string | undefined;
109
+ address?: string | undefined;
110
+ email?: string | undefined;
108
111
  firstName?: string | undefined;
109
112
  lastName?: string | undefined;
110
- email?: string | undefined;
111
- mobilePhone?: string | undefined;
112
113
  birthDate?: "" | Date | undefined;
113
- gender?: "unknown" | "other" | "male" | "female" | undefined;
114
- address?: string | undefined;
114
+ mobilePhone?: string | undefined;
115
115
  city?: string | undefined;
116
- state?: string | undefined;
117
116
  country?: string | undefined;
118
117
  postalCode?: string | undefined;
118
+ gender?: "unknown" | "other" | "male" | "female" | undefined;
119
119
  }>;
@@ -54,7 +54,7 @@ export declare const fields: {
54
54
  id: string;
55
55
  label: string;
56
56
  description: string;
57
- type: FieldType.DATE;
57
+ type: FieldType.STRING;
58
58
  required: false;
59
59
  };
60
60
  };
@@ -72,8 +72,8 @@ export declare const FieldsValidationSchema: ZodObject<{
72
72
  patientId: string;
73
73
  intent: "order" | "option" | "unknown" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order";
74
74
  taskTitle: string;
75
- description?: string | undefined;
76
75
  priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
76
+ description?: string | undefined;
77
77
  dueDate?: string | undefined;
78
78
  performerType?: string | undefined;
79
79
  }, {
@@ -81,8 +81,8 @@ export declare const FieldsValidationSchema: ZodObject<{
81
81
  patientId: string;
82
82
  intent: "order" | "option" | "unknown" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order";
83
83
  taskTitle: string;
84
- description?: string | undefined;
85
84
  priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
85
+ description?: string | undefined;
86
86
  dueDate?: "" | Date | undefined;
87
87
  performerType?: string | undefined;
88
88
  }>;
@@ -56,8 +56,8 @@ exports.fields = {
56
56
  performerType: {
57
57
  id: 'performerType',
58
58
  label: 'Performer type',
59
- description: 'Who needs to complete the task?',
60
- type: extensions_core_1.FieldType.DATE,
59
+ description: 'Indicate which role can/should perform this task',
60
+ type: extensions_core_1.FieldType.STRING,
61
61
  required: false,
62
62
  },
63
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/createTask/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,+DAAkE;AAErD,QAAA,MAAM,GAAG;IACpB,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,gLAAgL;QAClL,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,6LAA6L;QAC/L,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,gDAAgD;QAC7D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,EAAE;QACf,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,KAAK;KAChB;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,iCAAiC;QAC9C,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,4BAErC,CAAA"}
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/createTask/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,+DAAkE;AAErD,QAAA,MAAM,GAAG;IACpB,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,gLAAgL;QAClL,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,6LAA6L;QAC/L,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,gDAAgD;QAC7D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,EAAE;QACf,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,KAAK;KAChB;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,kDAAkD;QAC/D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,4BAErC,CAAA"}
@@ -22,11 +22,9 @@ export declare const FieldsValidationSchema: z.ZodObject<{
22
22
  [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
23
23
  } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null, string | undefined>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- body: ((string | number | boolean | {
25
+ body: string | number | boolean | {
26
26
  [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
27
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[]) & (string | number | boolean | {
28
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
29
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | undefined)) | null;
27
+ } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
30
28
  botId: string;
31
29
  }, {
32
30
  botId: string;
@@ -5,10 +5,10 @@ export declare const PeriodSchema: z.ZodObject<{
5
5
  end: z.ZodOptional<z.ZodString>;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  id?: string | undefined;
8
- start?: string | undefined;
9
8
  end?: string | undefined;
9
+ start?: string | undefined;
10
10
  }, {
11
11
  id?: string | undefined;
12
- start?: string | undefined;
13
12
  end?: string | undefined;
13
+ start?: string | undefined;
14
14
  }>;
@@ -12,27 +12,27 @@ export declare const PatientSchema: z.ZodObject<{
12
12
  country: z.ZodOptional<z.ZodString>;
13
13
  postalCode: z.ZodOptional<z.ZodString>;
14
14
  }, "strip", z.ZodTypeAny, {
15
+ state?: string | undefined;
16
+ address?: string | undefined;
17
+ email?: string | undefined;
15
18
  firstName?: string | undefined;
16
19
  lastName?: string | undefined;
17
- email?: string | undefined;
18
- mobilePhone?: import("libphonenumber-js").E164Number | undefined;
19
20
  birthDate?: string | undefined;
20
- gender?: "unknown" | "other" | "male" | "female" | undefined;
21
- address?: string | undefined;
21
+ mobilePhone?: import("libphonenumber-js").E164Number | undefined;
22
22
  city?: string | undefined;
23
- state?: string | undefined;
24
23
  country?: string | undefined;
25
24
  postalCode?: string | undefined;
25
+ gender?: "unknown" | "other" | "male" | "female" | undefined;
26
26
  }, {
27
+ state?: string | undefined;
28
+ address?: string | undefined;
29
+ email?: string | undefined;
27
30
  firstName?: string | undefined;
28
31
  lastName?: string | undefined;
29
- email?: string | undefined;
30
- mobilePhone?: string | undefined;
31
32
  birthDate?: "" | Date | undefined;
32
- gender?: "unknown" | "other" | "male" | "female" | undefined;
33
- address?: string | undefined;
33
+ mobilePhone?: string | undefined;
34
34
  city?: string | undefined;
35
- state?: string | undefined;
36
35
  country?: string | undefined;
37
36
  postalCode?: string | undefined;
37
+ gender?: "unknown" | "other" | "male" | "female" | undefined;
38
38
  }>;
@@ -13,8 +13,8 @@ export declare const CreateTaskSchema: z.ZodObject<{
13
13
  patientId: string;
14
14
  intent: "order" | "option" | "unknown" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order";
15
15
  taskTitle: string;
16
- description?: string | undefined;
17
16
  priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
17
+ description?: string | undefined;
18
18
  dueDate?: string | undefined;
19
19
  performerType?: string | undefined;
20
20
  }, {
@@ -22,8 +22,8 @@ export declare const CreateTaskSchema: z.ZodObject<{
22
22
  patientId: string;
23
23
  intent: "order" | "option" | "unknown" | "plan" | "proposal" | "original-order" | "reflex-order" | "filler-order" | "instance-order";
24
24
  taskTitle: string;
25
- description?: string | undefined;
26
25
  priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
26
+ description?: string | undefined;
27
27
  dueDate?: "" | Date | undefined;
28
28
  performerType?: string | undefined;
29
29
  }>;
@@ -1,68 +1,71 @@
1
1
  import * as z from 'zod';
2
- export declare const patientCreateSchema: z.ZodObject<{
3
- email: z.ZodOptional<z.ZodString>;
4
- phone: z.ZodOptional<z.ZodString>;
2
+ export declare const patientCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
5
3
  firstName: z.ZodString;
6
4
  lastName: z.ZodString;
7
5
  dob: z.ZodString;
8
6
  genderAtBirth: z.ZodEnum<["F", "M"]>;
9
- driversLicenseValue: z.ZodOptional<z.ZodString>;
10
7
  driversLicenseState: z.ZodOptional<z.ZodString>;
8
+ driversLicenseValue: z.ZodOptional<z.ZodString>;
9
+ phone: z.ZodOptional<z.ZodString>;
10
+ email: z.ZodOptional<z.ZodString>;
11
+ }, {
11
12
  addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
12
13
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
13
14
  city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
14
15
  state: z.ZodUnion<[z.ZodNativeEnum<typeof import("@metriport/api").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
15
16
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
16
17
  country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
17
- }, "strip", z.ZodTypeAny, {
18
+ }>, "strip", z.ZodTypeAny, {
18
19
  firstName: string;
19
20
  lastName: string;
20
21
  country: string;
21
22
  zip: string;
22
23
  dob: string;
23
24
  genderAtBirth: "M" | "F";
25
+ state?: string | undefined;
24
26
  email?: string | undefined;
25
27
  phone?: string | undefined;
26
- driversLicenseValue?: string | undefined;
27
- driversLicenseState?: string | undefined;
28
+ city?: string | undefined;
28
29
  addressLine1?: string | undefined;
29
30
  addressLine2?: string | undefined;
30
- city?: string | undefined;
31
- state?: string | undefined;
31
+ driversLicenseValue?: string | undefined;
32
+ driversLicenseState?: string | undefined;
32
33
  }, {
33
34
  firstName: string;
34
35
  lastName: string;
35
36
  zip: string;
36
37
  dob: string;
37
38
  genderAtBirth: "M" | "F";
39
+ state?: string | undefined;
38
40
  email?: string | undefined;
39
41
  phone?: string | undefined;
40
- driversLicenseValue?: string | undefined;
41
- driversLicenseState?: string | undefined;
42
- addressLine1?: string | undefined;
43
- addressLine2?: string | undefined;
44
42
  city?: string | undefined;
45
- state?: string | undefined;
46
43
  country?: string | undefined;
44
+ addressLine1?: string | undefined;
45
+ addressLine2?: string | undefined;
46
+ driversLicenseValue?: string | undefined;
47
+ driversLicenseState?: string | undefined;
47
48
  }>;
48
49
  export type PatientCreate = z.infer<typeof patientCreateSchema>;
49
- export declare const patientUpdateSchema: z.ZodObject<{
50
+ export declare const patientUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
50
51
  id: z.ZodString;
51
- email: z.ZodOptional<z.ZodString>;
52
- phone: z.ZodOptional<z.ZodString>;
52
+ }, z.objectUtil.extendShape<{
53
53
  firstName: z.ZodString;
54
54
  lastName: z.ZodString;
55
55
  dob: z.ZodString;
56
56
  genderAtBirth: z.ZodEnum<["F", "M"]>;
57
- driversLicenseValue: z.ZodOptional<z.ZodString>;
58
57
  driversLicenseState: z.ZodOptional<z.ZodString>;
58
+ driversLicenseValue: z.ZodOptional<z.ZodString>;
59
+ phone: z.ZodOptional<z.ZodString>;
60
+ email: z.ZodOptional<z.ZodString>;
61
+ }, {
59
62
  addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
60
63
  addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
61
64
  city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
62
65
  state: z.ZodUnion<[z.ZodNativeEnum<typeof import("@metriport/api").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
63
66
  zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
64
67
  country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
65
- }, "strip", z.ZodTypeAny, {
68
+ }>>, "strip", z.ZodTypeAny, {
66
69
  id: string;
67
70
  firstName: string;
68
71
  lastName: string;
@@ -70,14 +73,14 @@ export declare const patientUpdateSchema: z.ZodObject<{
70
73
  zip: string;
71
74
  dob: string;
72
75
  genderAtBirth: "M" | "F";
76
+ state?: string | undefined;
73
77
  email?: string | undefined;
74
78
  phone?: string | undefined;
75
- driversLicenseValue?: string | undefined;
76
- driversLicenseState?: string | undefined;
79
+ city?: string | undefined;
77
80
  addressLine1?: string | undefined;
78
81
  addressLine2?: string | undefined;
79
- city?: string | undefined;
80
- state?: string | undefined;
82
+ driversLicenseValue?: string | undefined;
83
+ driversLicenseState?: string | undefined;
81
84
  }, {
82
85
  id: string;
83
86
  firstName: string;
@@ -85,13 +88,13 @@ export declare const patientUpdateSchema: z.ZodObject<{
85
88
  zip: string;
86
89
  dob: string;
87
90
  genderAtBirth: "M" | "F";
91
+ state?: string | undefined;
88
92
  email?: string | undefined;
89
93
  phone?: string | undefined;
90
- driversLicenseValue?: string | undefined;
91
- driversLicenseState?: string | undefined;
92
- addressLine1?: string | undefined;
93
- addressLine2?: string | undefined;
94
94
  city?: string | undefined;
95
- state?: string | undefined;
96
95
  country?: string | undefined;
96
+ addressLine1?: string | undefined;
97
+ addressLine2?: string | undefined;
98
+ driversLicenseValue?: string | undefined;
99
+ driversLicenseState?: string | undefined;
97
100
  }>;
@@ -55,15 +55,15 @@ export declare const FieldsValidationSchema: z.ZodObject<{
55
55
  }, "strip", z.ZodTypeAny, {
56
56
  channelName: string;
57
57
  customerId: number;
58
- relatedChannelUrls?: string | undefined;
59
- groupKey?: string | undefined;
60
58
  priority?: TicketPriority | undefined;
61
59
  customFields?: string | undefined;
60
+ relatedChannelUrls?: string | undefined;
61
+ groupKey?: string | undefined;
62
62
  }, {
63
63
  channelName: string;
64
64
  customerId: number;
65
- relatedChannelUrls?: string | undefined;
66
- groupKey?: string | undefined;
67
65
  priority?: "" | TicketPriority | undefined;
68
66
  customFields?: string | undefined;
67
+ relatedChannelUrls?: string | undefined;
68
+ groupKey?: string | undefined;
69
69
  }>;
@@ -46,14 +46,14 @@ export declare const FieldsValidationSchema: z.ZodObject<{
46
46
  metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, import("../../../types").Metadata, string>, import("../../../types").Metadata, string>>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  userId: string;
49
+ metadata?: import("../../../types").Metadata | undefined;
49
50
  nickname?: string | undefined;
50
51
  issueAccessToken?: boolean | undefined;
51
52
  profileUrl?: string | undefined;
52
- metadata?: import("../../../types").Metadata | undefined;
53
53
  }, {
54
54
  userId: string;
55
+ metadata?: string | undefined;
55
56
  nickname?: string | undefined;
56
57
  issueAccessToken?: boolean | undefined;
57
58
  profileUrl?: string | undefined;
58
- metadata?: string | undefined;
59
59
  }>;
@@ -66,8 +66,8 @@ export declare const FieldsValidationSchema: z.ZodObject<{
66
66
  templateId: string;
67
67
  to: string;
68
68
  subject?: string | undefined;
69
- dynamicTemplateData?: string | undefined;
70
69
  fromName?: string | undefined;
71
70
  fromEmail?: string | undefined;
71
+ dynamicTemplateData?: string | undefined;
72
72
  }>;
73
73
  export {};
@@ -30,10 +30,10 @@ export declare const FieldsValidationSchema: z.ZodObject<{
30
30
  departmentId: z.ZodOptional<z.ZodString>;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  phoneNumber?: import("libphonenumber-js").E164Number | undefined;
33
- afterMessageId?: string | undefined;
34
33
  departmentId?: string | undefined;
34
+ afterMessageId?: string | undefined;
35
35
  }, {
36
36
  phoneNumber?: string | undefined;
37
- afterMessageId?: string | undefined;
38
37
  departmentId?: string | undefined;
38
+ afterMessageId?: string | undefined;
39
39
  }>;
@@ -55,16 +55,16 @@ export declare const FieldsValidationSchema: z.ZodObject<{
55
55
  date_sent_before: z.ZodEffects<z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>, z.ZodEffects<z.ZodLiteral<"">, undefined, "">]>, Date | undefined, "" | Date | undefined>;
56
56
  }, "strip", z.ZodTypeAny, {
57
57
  page_size: number;
58
- recipient?: import("libphonenumber-js").E164Number | undefined;
59
58
  from?: import("libphonenumber-js").E164Number | undefined;
60
- date_sent?: Date | undefined;
59
+ recipient?: import("libphonenumber-js").E164Number | undefined;
61
60
  date_sent_after?: Date | undefined;
62
61
  date_sent_before?: Date | undefined;
62
+ date_sent?: Date | undefined;
63
63
  }, {
64
- recipient?: string | undefined;
65
64
  from?: string | undefined;
65
+ recipient?: string | undefined;
66
66
  page_size?: number | undefined;
67
- date_sent?: "" | Date | undefined;
68
67
  date_sent_after?: "" | Date | undefined;
69
68
  date_sent_before?: "" | Date | undefined;
69
+ date_sent?: "" | Date | undefined;
70
70
  }>;
@@ -41,11 +41,11 @@ export declare const FieldsValidationSchema: z.ZodObject<{
41
41
  recipient: string & {
42
42
  __tag?: "E164Number" | undefined;
43
43
  };
44
- messagingServiceSid?: string | undefined;
45
44
  timeZone?: string | undefined;
45
+ messagingServiceSid?: string | undefined;
46
46
  }, {
47
47
  message: string;
48
48
  recipient: string;
49
- messagingServiceSid?: string | undefined;
50
49
  timeZone?: string | undefined;
50
+ messagingServiceSid?: string | undefined;
51
51
  }>;
@@ -14,10 +14,10 @@ export declare const SettingsValidationSchema: z.ZodObject<{
14
14
  flourishApiUrl: string;
15
15
  flourishApiKey: string;
16
16
  flourishClientExtId: string;
17
- platformApiKey?: string | undefined;
18
- platformApiUrl?: string | undefined;
19
17
  apiUrl?: string | undefined;
20
18
  apiKey?: string | undefined;
19
+ platformApiUrl?: string | undefined;
20
+ platformApiKey?: string | undefined;
21
21
  selectEventTypeQuestion?: string | undefined;
22
22
  startSendingRemindersQuestions?: string | undefined;
23
23
  memberEventFormId?: string | undefined;
@@ -25,10 +25,10 @@ export declare const SettingsValidationSchema: z.ZodObject<{
25
25
  flourishApiUrl: string;
26
26
  flourishApiKey: string;
27
27
  flourishClientExtId: string;
28
- platformApiKey?: string | undefined;
29
- platformApiUrl?: string | undefined;
30
28
  apiUrl?: string | undefined;
31
29
  apiKey?: string | undefined;
30
+ platformApiUrl?: string | undefined;
31
+ platformApiKey?: string | undefined;
32
32
  selectEventTypeQuestion?: string | undefined;
33
33
  startSendingRemindersQuestions?: string | undefined;
34
34
  memberEventFormId?: string | undefined;
@@ -14,10 +14,10 @@ export declare const SettingsValidationSchema: z.ZodObject<{
14
14
  flourishApiUrl: string;
15
15
  flourishApiKey: string;
16
16
  flourishClientExtId: string;
17
- platformApiKey?: string | undefined;
18
- platformApiUrl?: string | undefined;
19
17
  apiUrl?: string | undefined;
20
18
  apiKey?: string | undefined;
19
+ platformApiUrl?: string | undefined;
20
+ platformApiKey?: string | undefined;
21
21
  selectEventTypeQuestion?: string | undefined;
22
22
  startSendingRemindersQuestions?: string | undefined;
23
23
  memberEventFormId?: string | undefined;
@@ -25,10 +25,10 @@ export declare const SettingsValidationSchema: z.ZodObject<{
25
25
  flourishApiUrl: string;
26
26
  flourishApiKey: string;
27
27
  flourishClientExtId: string;
28
- platformApiKey?: string | undefined;
29
- platformApiUrl?: string | undefined;
30
28
  apiUrl?: string | undefined;
31
29
  apiKey?: string | undefined;
30
+ platformApiUrl?: string | undefined;
31
+ platformApiKey?: string | undefined;
32
32
  selectEventTypeQuestion?: string | undefined;
33
33
  startSendingRemindersQuestions?: string | undefined;
34
34
  memberEventFormId?: string | undefined;