@awell-health/awell-extensions 2.0.33 → 2.0.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. package/dist/extensions/healthie/actions/dataExchange/index.d.ts +2 -0
  2. package/dist/extensions/healthie/actions/dataExchange/index.js +19 -0
  3. package/dist/extensions/healthie/actions/dataExchange/index.js.map +1 -0
  4. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/config/datapoints.js.map +1 -0
  5. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/config/fields.js.map +1 -0
  6. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/config/index.js.map +1 -0
  7. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/index.js.map +1 -0
  8. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/logs/getSubActivityLogs/getSubActivityLogs.js.map +1 -0
  9. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/logs/getSubActivityLogs/getSubActivityLogs.test.js.map +1 -0
  10. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/logs/getSubActivityLogs/index.js.map +1 -0
  11. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/logs/index.js.map +1 -0
  12. package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/pushFormResponseToHealthie.d.ts +1 -1
  13. package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/pushFormResponseToHealthie.js +5 -5
  14. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/pushFormResponseToHealthie.js.map +1 -0
  15. package/dist/extensions/healthie/actions/dataExchange/pushFormResponseToHealthie/pushFormResponseToHealthie.test.js.map +1 -0
  16. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/datapoints.d.ts +6 -0
  17. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/datapoints.js +10 -0
  18. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/datapoints.js.map +1 -0
  19. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/fields.d.ts +28 -0
  20. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/fields.js +29 -0
  21. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/fields.js.map +1 -0
  22. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/index.d.ts +2 -0
  23. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/index.js +9 -0
  24. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/config/index.js.map +1 -0
  25. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/index.d.ts +1 -0
  26. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/index.js +6 -0
  27. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/index.js.map +1 -0
  28. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.d.ts +13 -0
  29. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.js +94 -0
  30. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.js.map +1 -0
  31. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.test.d.ts +1 -0
  32. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.test.js +70 -0
  33. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/getSubActivityLogs.test.js.map +1 -0
  34. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/index.d.ts +1 -0
  35. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/index.js +18 -0
  36. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/getSubActivityLogs/index.js.map +1 -0
  37. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/index.d.ts +1 -0
  38. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/index.js +18 -0
  39. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/logs/index.js.map +1 -0
  40. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.d.ts +4 -0
  41. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.js +98 -0
  42. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.js.map +1 -0
  43. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.test.d.ts +1 -0
  44. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.test.js +100 -0
  45. package/dist/extensions/healthie/actions/dataExchange/pushFormResponsesToHealthie/pushFormResponsesToHealthie.test.js.map +1 -0
  46. package/dist/extensions/healthie/actions/dataExchange/shared/errors.js.map +1 -0
  47. package/dist/extensions/healthie/actions/dataExchange/shared/index.d.ts +1 -0
  48. package/dist/extensions/healthie/actions/dataExchange/shared/index.js +18 -0
  49. package/dist/extensions/healthie/actions/dataExchange/shared/index.js.map +1 -0
  50. package/dist/extensions/healthie/actions/index.d.ts +31 -0
  51. package/dist/extensions/healthie/actions/index.js +3 -2
  52. package/dist/extensions/healthie/actions/index.js.map +1 -1
  53. package/dist/extensions/healthie/lib/sdk/genql/generated/schema.d.ts +498 -30
  54. package/dist/extensions/healthie/lib/sdk/genql/generated/schema.js +86 -13
  55. package/dist/extensions/healthie/lib/sdk/genql/generated/schema.js.map +1 -1
  56. package/dist/extensions/healthie/lib/sdk/genql/generated/types.d.ts +140 -8
  57. package/dist/extensions/healthie/lib/sdk/genql/generated/types.js +12282 -11948
  58. package/dist/extensions/healthie/lib/sdk/genql/generated/types.js.map +1 -1
  59. package/dist/extensions/sfdc/actions/createLead/config/fields.d.ts +10 -0
  60. package/dist/extensions/sfdc/actions/createLead/config/fields.js +8 -0
  61. package/dist/extensions/sfdc/actions/createLead/config/fields.js.map +1 -1
  62. package/dist/extensions/sfdc/actions/createLead/createLead.js +9 -1
  63. package/dist/extensions/sfdc/actions/createLead/createLead.js.map +1 -1
  64. package/dist/extensions/sfdc/actions/createLead/createLead.test.js.map +1 -1
  65. package/dist/extensions/sfdc/actions/index.d.ts +7 -0
  66. package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/sendSmsDuringBusinessHours.test.js +3 -0
  67. package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/sendSmsDuringBusinessHours.test.js.map +1 -1
  68. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formDefinitionResponse.d.ts +36 -0
  69. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formDefinitionResponse.js +44 -0
  70. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formDefinitionResponse.js.map +1 -0
  71. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formResponseResponse.d.ts +22 -0
  72. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formResponseResponse.js +30 -0
  73. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/formResponseResponse.js.map +1 -0
  74. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/index.d.ts +3 -0
  75. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/index.js +20 -0
  76. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/index.js.map +1 -0
  77. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/pathwayActivitiesResponse.d.ts +26 -0
  78. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/pathwayActivitiesResponse.js +93 -0
  79. package/dist/src/lib/awell/getAllFormsInCurrentStep/__testdata__/pathwayActivitiesResponse.js.map +1 -0
  80. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.d.ts +13 -0
  81. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.js +88 -0
  82. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.js.map +1 -0
  83. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.test.d.ts +1 -0
  84. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.test.js +113 -0
  85. package/dist/src/lib/awell/getAllFormsInCurrentStep/getAllFormsInCurrentStep.test.js.map +1 -0
  86. package/dist/src/lib/awell/getAllFormsInCurrentStep/index.d.ts +1 -0
  87. package/dist/src/lib/awell/getAllFormsInCurrentStep/index.js +18 -0
  88. package/dist/src/lib/awell/getAllFormsInCurrentStep/index.js.map +1 -0
  89. package/dist/src/lib/awell/index.d.ts +1 -0
  90. package/dist/src/lib/awell/index.js +1 -0
  91. package/dist/src/lib/awell/index.js.map +1 -1
  92. package/package.json +1 -1
  93. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/config/datapoints.js.map +0 -1
  94. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/config/fields.js.map +0 -1
  95. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/config/index.js.map +0 -1
  96. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/errors.js.map +0 -1
  97. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/index.js.map +0 -1
  98. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/logs/getSubActivityLogs/getSubActivityLogs.js.map +0 -1
  99. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/logs/getSubActivityLogs/getSubActivityLogs.test.js.map +0 -1
  100. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/logs/getSubActivityLogs/index.js.map +0 -1
  101. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/logs/index.js.map +0 -1
  102. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/pushFormResponseToHealthie.js.map +0 -1
  103. package/dist/extensions/healthie/actions/pushFormResponseToHealthie/pushFormResponseToHealthie.test.js.map +0 -1
  104. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/datapoints.d.ts +0 -0
  105. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/datapoints.js +0 -0
  106. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/fields.d.ts +0 -0
  107. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/fields.js +0 -0
  108. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/index.d.ts +0 -0
  109. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/config/index.js +0 -0
  110. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/index.d.ts +0 -0
  111. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/index.js +0 -0
  112. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/getSubActivityLogs.d.ts +0 -0
  113. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/getSubActivityLogs.js +0 -0
  114. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/getSubActivityLogs.test.d.ts +0 -0
  115. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/getSubActivityLogs.test.js +0 -0
  116. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/index.d.ts +0 -0
  117. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/getSubActivityLogs/index.js +0 -0
  118. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/index.d.ts +0 -0
  119. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/logs/index.js +0 -0
  120. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/pushFormResponseToHealthie.test.d.ts +0 -0
  121. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/pushFormResponseToHealthie}/pushFormResponseToHealthie.test.js +0 -0
  122. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/shared}/errors.d.ts +0 -0
  123. /package/dist/extensions/healthie/actions/{pushFormResponseToHealthie → dataExchange/shared}/errors.js +0 -0
@@ -18,6 +18,8 @@ export interface AcceptedInsurancePlan {
18
18
  insurance_plan: (InsurancePlan | null);
19
19
  __typename: 'AcceptedInsurancePlan';
20
20
  }
21
+ /** Enum for `FormAnswerGroupAuditEvent#action` */
22
+ export type Action = 'LOCKED' | 'UNLOCKED' | 'SIGNED' | 'ADDENDUM_CREATED';
21
23
  /** Autogenerated return type of AddClaimSubmitter. */
22
24
  export interface AddClaimSubmitterPayload {
23
25
  /**
@@ -273,8 +275,10 @@ export interface Appointment {
273
275
  external_videochat_url: (Scalars['String'] | null);
274
276
  /** The custom answers filled out by the booker of the appointment */
275
277
  filled_embed_form: (FormAnswerGroup | null);
276
- /** Form answer group associated with appointment */
278
+ /** The Form answer group first associated with the appointment */
277
279
  form_answer_group: (FormAnswerGroup | null);
280
+ /** All Form answer groups associated with the appointment */
281
+ form_answer_groups: (FormAnswerGroup[] | null);
278
282
  /** open tok token */
279
283
  generated_token: (Scalars['String'] | null);
280
284
  /** When true, additional group charting fields are visibile in the Healthie UI */
@@ -868,6 +872,8 @@ export interface AppointmentType {
868
872
  has_specific_appointment_settings: (Scalars['Boolean'] | null);
869
873
  /** The unique identifier of the appointment type */
870
874
  id: Scalars['ID'];
875
+ /** Whether or not this appointment type will have insurance billing enabled */
876
+ insurance_billing_enabled: (Scalars['Boolean'] | null);
871
877
  /** The status of whether appointments of this types are group appointments or not */
872
878
  is_group: Scalars['Boolean'];
873
879
  /** The status of whether waitlist is enabled for an appointment or not */
@@ -930,7 +936,10 @@ export interface AppointmentTypeCptCodeType {
930
936
  fee_per_unit: (Scalars['Int'] | null);
931
937
  /** The unique identifier of the object */
932
938
  id: Scalars['ID'];
933
- /** Whether or not insurance billing is enaled for an appointment type */
939
+ /**
940
+ * @deprecated Use appointmentType's insurance_billing_enabled instead
941
+ * DEPRECATED. Use appointmentType's insurance_billing_enabled instead
942
+ */
934
943
  insurance_billing_enabled: (Scalars['Boolean'] | null);
935
944
  /** Units */
936
945
  units: (Scalars['String'] | null);
@@ -1327,6 +1336,8 @@ export interface CalendarViewSetting {
1327
1336
  calendar_view_filter: (Scalars['String'] | null);
1328
1337
  /** Filter appointments by client confirmation status */
1329
1338
  client_confirmation_status: (Scalars['String'] | null);
1339
+ /** Comma separated names of contact types to filter appointments */
1340
+ contact_types_filter: (Scalars['String'] | null);
1330
1341
  /** Selected sorting for documents(This is not a calendar setting. Related to documents area) */
1331
1342
  document_area_sorting: (Scalars['String'] | null);
1332
1343
  /** Visibility of color schemes section */
@@ -1694,7 +1705,9 @@ export interface ChatSetting {
1694
1705
  user_id: (Scalars['ID'] | null);
1695
1706
  __typename: 'ChatSetting';
1696
1707
  }
1697
- /** A created API Key */
1708
+ /** Options for the service to submit a claim to */
1709
+ export type ClaimDestinationIntegration = 'candid' | 'claim_md' | 'change_health' | 'office_ally';
1710
+ /** Deprecated (use EligiblityCheck instead). A ChangeHealth eligibility check */
1698
1711
  export interface ClaimEligibilityCheck {
1699
1712
  /** A string used to identify the eligibility check in the Change system. */
1700
1713
  control_number: Scalars['String'];
@@ -2967,6 +2980,24 @@ export interface DrugAllergenType {
2967
2980
  }
2968
2981
  /** DrugAllergen class enum */
2969
2982
  export type DrugAllergenTypeEnum = 'INGREDIENT' | 'CLASS';
2983
+ /** A processed eligibility check */
2984
+ export interface EligibilityCheck {
2985
+ /** The time the eligibility check was run */
2986
+ created_at: (Scalars['ISO8601DateTime'] | null);
2987
+ /** The unique identifier of the check */
2988
+ id: Scalars['ID'];
2989
+ /** The policy associated with this check */
2990
+ policy: (Policy | null);
2991
+ /** The ID of the associated policy */
2992
+ policy_id: Scalars['ID'];
2993
+ /** A JSON object containing the eligibility details */
2994
+ response: (Scalars['String'] | null);
2995
+ /** A basic HTML representation of the eligibility response (nil if errors exist) */
2996
+ response_as_html: (Scalars['String'] | null);
2997
+ __typename: 'EligibilityCheck';
2998
+ }
2999
+ /** Options for the service to run the eligibiliy check with */
3000
+ export type EligibilityCheckService = 'change_health' | 'claim_md';
2970
3001
  /** Autogenerated return type of EmbedForm. */
2971
3002
  export interface EmbedFormPayload {
2972
3003
  /**
@@ -3566,6 +3597,8 @@ export interface FormAnswerGroup {
3566
3597
  filler: (User | null);
3567
3598
  /** Whether the filled form has been saved by the user (verse a hidden draft) */
3568
3599
  finished: Scalars['Boolean'];
3600
+ /** The history when a charting note was locked, unlocked or signed */
3601
+ form_answer_group_audit_events: FormAnswerGroupAuditEvent[];
3569
3602
  /** Signatures for the form */
3570
3603
  form_answer_group_signings: FormAnswerGroupSigning[];
3571
3604
  /** A list of connections between a form_answer_group and group appointment users */
@@ -3599,6 +3632,14 @@ export interface FormAnswerGroup {
3599
3632
  * If you have product recommendation alogrithim enabled, this will return a package containing a URL to purchase the products recommended by the algorithim
3600
3633
  */
3601
3634
  packages_with_recommended_products_purchase_url: (Scalars['String'] | null);
3635
+ /** Whether current user or given user can add addendum to this `form_answer_group` */
3636
+ provider_can_add_addendum: Scalars['Boolean'];
3637
+ /** Whether current user or given user can lock this `form_answer_group` */
3638
+ provider_can_lock: Scalars['Boolean'];
3639
+ /** Whether current user or given user can sign this `form_answer_group` */
3640
+ provider_can_sign: Scalars['Boolean'];
3641
+ /** Whether current user or given user can unlock this `form_answer_group` */
3642
+ provider_can_unlock: Scalars['Boolean'];
3602
3643
  /** The date that the note was actually created */
3603
3644
  record_created_at: (Scalars['String'] | null);
3604
3645
  /** The last updated date for the filled form */
@@ -3609,6 +3650,21 @@ export interface FormAnswerGroup {
3609
3650
  user_id: (Scalars['String'] | null);
3610
3651
  __typename: 'FormAnswerGroup';
3611
3652
  }
3653
+ /** Base class for types */
3654
+ export interface FormAnswerGroupAuditEvent {
3655
+ /** Action type */
3656
+ action: Action;
3657
+ /** When the action was made */
3658
+ committed_at: Scalars['ISO8601DateTime'];
3659
+ /** Who made the action */
3660
+ committed_by: User;
3661
+ created_at: Scalars['ISO8601DateTime'];
3662
+ description: (Scalars['String'] | null);
3663
+ form_answer_group: FormAnswerGroup;
3664
+ id: Scalars['ID'];
3665
+ updated_at: Scalars['ISO8601DateTime'];
3666
+ __typename: 'FormAnswerGroupAuditEvent';
3667
+ }
3612
3668
  /** FormAnswerGroup sorting enum */
3613
3669
  export type FormAnswerGroupOrderKeys = 'RECORD_CREATED_AT_ASC' | 'RECORD_CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UNSORTED';
3614
3670
  /** An instance representing connection between a charting note(form_answer_group) and a user signing the note */
@@ -4650,6 +4706,18 @@ export interface LocationResourceType {
4650
4706
  resourceTitle: (Scalars['String'] | null);
4651
4707
  __typename: 'LocationResourceType';
4652
4708
  }
4709
+ /** Autogenerated return type of Lock. */
4710
+ export interface LockPayload {
4711
+ /**
4712
+ * @deprecated DO NOT USE
4713
+ * DO NOT USE
4714
+ */
4715
+ clientMutationId: (Scalars['String'] | null);
4716
+ form_answer_group: (FormAnswerGroup | null);
4717
+ /** The list of errors occurred during the mutation */
4718
+ messages: ((FieldError | null)[] | null);
4719
+ __typename: 'LockPayload';
4720
+ }
4653
4721
  /** Autogenerated return type of MaskAccount. */
4654
4722
  export interface MaskAccountPayload {
4655
4723
  /**
@@ -4870,6 +4938,8 @@ export interface Mutation {
4870
4938
  createAppleHealth: (createAppleHealthPayload | null);
4871
4939
  /** create appointment mutation for providers. Clients use the completeCheckout mutation */
4872
4940
  createAppointment: (createAppointmentPayload | null);
4941
+ /** Create a connection between a form answer group and an appointment */
4942
+ createAppointmentFormAnswerGroupConnection: (createAppointmentFormAnswerGroupConnectionPayload | null);
4873
4943
  /** create an Appointment Setting */
4874
4944
  createAppointmentSetting: (createAppointmentSettingPayload | null);
4875
4945
  /** create Appointment Type */
@@ -4956,7 +5026,10 @@ export interface Mutation {
4956
5026
  createFolder: (createFolderPayload | null);
4957
5027
  /** create FormAnswerGroup */
4958
5028
  createFormAnswerGroup: (createFormAnswerGroupPayload | null);
4959
- /** create FormAnswerGroupSigning */
5029
+ /**
5030
+ * @deprecated Use `signFormAnswerGroup` mutation
5031
+ * Create FormAnswerGroupSigning
5032
+ */
4960
5033
  createFormAnswerGroupSigning: (createFormAnswerGroupSigningPayload | null);
4961
5034
  /** Create a Fullscript practitioner account using the Fullscript API */
4962
5035
  createFullscriptPractitioner: (createFullscriptPractitionerPayload | null);
@@ -5082,6 +5155,8 @@ export interface Mutation {
5082
5155
  deleteAppleHealth: (deleteAppleHealthPayload | null);
5083
5156
  /** Delete an Appointment */
5084
5157
  deleteAppointment: (deleteAppointmentPayload | null);
5158
+ /** Remove a form_answer_groups connection to an appointment */
5159
+ deleteAppointmentFormAnswerGroupConnection: (deleteAppointmentFormAnswerGroupConnectionPayload | null);
5085
5160
  /** Destroy an AppointmentType */
5086
5161
  deleteAppointmentType: (deleteAppointmentTypePayload | null);
5087
5162
  /** Delete a AppointmentTypeCptCode Object */
@@ -5271,6 +5346,8 @@ export interface Mutation {
5271
5346
  generateDosespotSingleSignOn: (dosespotSSOPayload | null);
5272
5347
  /** Sign up Healthie User in the Health Assessment Service */
5273
5348
  healthAssessmentServiceSignup: (HealthAssessmentServiceSignupPayload | null);
5349
+ /** Lock `FormAnswerGroup` */
5350
+ lockFormAnswerGroup: (LockPayload | null);
5274
5351
  /** Mask in as another user */
5275
5352
  maskAccount: (MaskAccountPayload | null);
5276
5353
  /** all data related to the merging account (form answers, billing items, charting notes, etc) will be associated with the selected account after merging. The selected account's client profile information will remain unchanged (name, DOB, etc) */
@@ -5315,6 +5392,8 @@ export interface Mutation {
5315
5392
  shareCourse: (shareCoursePayload | null);
5316
5393
  /** share Custom Module Form */
5317
5394
  shareCustomModuleForm: (shareCustomModuleFormPayload | null);
5395
+ /** Sign `FormAnswerGroup` */
5396
+ signFormAnswerGroup: (SignPayload | null);
5318
5397
  /** SignIn */
5319
5398
  signIn: (signInPayload | null);
5320
5399
  /** Sign up */
@@ -5337,9 +5416,14 @@ export interface Mutation {
5337
5416
  unblockIpAddress: (unblockIpAddressPayload | null);
5338
5417
  /** Unlock Charting Note */
5339
5418
  unlockChartingNote: (unlockChartingNotePayload | null);
5419
+ /** Unlock `FormAnswerGroup` */
5420
+ unlockFormAnswerGroup: (UnlockPayload | null);
5340
5421
  /** Update a Notification Setting to unsubscribe from a specific notification type */
5341
5422
  unsubscribeFromNotification: (unsubscribeFromNotificationPayload | null);
5342
- /** Update existing addendum for the selected charting note */
5423
+ /**
5424
+ * @deprecated Deprecated. Does nothing
5425
+ * THIS MUTATION DOES NOTHING, AND SHOULD NOT BE USED.
5426
+ */
5343
5427
  updateAddendum: (updateAddendumPayload | null);
5344
5428
  /** Update AllergySensitivity */
5345
5429
  updateAllergySensitivity: (updateAllergySensitivityPayload | null);
@@ -6228,6 +6312,8 @@ export interface Organization {
6228
6312
  org_roles: (Scalars['String'][] | null);
6229
6313
  /** Returns organization cpt codes */
6230
6314
  organization_cpt_codes: (OrganizationCptCodeType[] | null);
6315
+ /** The email of organization */
6316
+ organization_email: Scalars['String'];
6231
6317
  /** The first organization info of the organization */
6232
6318
  organization_info: (OrganizationInfo | null);
6233
6319
  /** The organization infos of the organization */
@@ -6389,6 +6475,8 @@ export interface OrganizationMembership {
6389
6475
  can_lock_others_charting_notes: (Scalars['Boolean'] | null);
6390
6476
  /** If true, the user can lock charting notes they created */
6391
6477
  can_lock_own_charting_notes: (Scalars['Boolean'] | null);
6478
+ /** If true, the user should be able to manage care plan templates */
6479
+ can_manage_care_plan_templates: (Scalars['Boolean'] | null);
6392
6480
  /** If true, the user should be able to mark tasks that are assigned to other org members as completed */
6393
6481
  can_mark_assigned_tasks_to_other_org_members_as_completed: (Scalars['Boolean'] | null);
6394
6482
  /** If true, the user can merge clients */
@@ -6433,6 +6521,8 @@ export interface OrganizationMembership {
6433
6521
  can_submit_cms_1500s_to_change_health: (Scalars['Boolean'] | null);
6434
6522
  /** If true, the user can submit CMS 1500s to Office Ally */
6435
6523
  can_submit_cms_1500s_to_office_ally: (Scalars['Boolean'] | null);
6524
+ /** If `true`, the user can unlock charting notes. Always `true` for org owners and providers w/o an org */
6525
+ can_unlock_charting_notes: (Scalars['Boolean'] | null);
6436
6526
  /** If true, it will return all organization tasks for current user */
6437
6527
  can_view_all_org_members_tasks: (Scalars['Boolean'] | null);
6438
6528
  /** If true, the user can view/edit cms1500s */
@@ -6624,6 +6714,8 @@ export interface PermissionTemplateType {
6624
6714
  can_lock_others_charting_notes: (Scalars['Boolean'] | null);
6625
6715
  /** If true, the user can lock charting notes they created */
6626
6716
  can_lock_own_charting_notes: (Scalars['Boolean'] | null);
6717
+ /** If true, the user should be able to manage care plan templates */
6718
+ can_manage_care_plan_templates: (Scalars['Boolean'] | null);
6627
6719
  /** If true, can mark tasks complete that are assigned to other org members */
6628
6720
  can_mark_assigned_tasks_to_other_org_members_as_completed: (Scalars['Boolean'] | null);
6629
6721
  /** If true, the user can merge clients */
@@ -6846,8 +6938,13 @@ export interface Policy {
6846
6938
  insurance_plan: (InsurancePlan | null);
6847
6939
  /** policy plan id, required */
6848
6940
  insurance_plan_id: (Scalars['String'] | null);
6849
- /** The last automated eligibility check run for this policy. */
6941
+ /**
6942
+ * @deprecated Use `latest_eligibility_check` instead
6943
+ * DEPRECATED. The last automated eligibility check run for this Change Health policy.
6944
+ */
6850
6945
  last_eligibility_check: (ClaimEligibilityCheck | null);
6946
+ /** the most recent automated eligibility check run for this policy. */
6947
+ latest_eligibility_check: (EligibilityCheck | null);
6851
6948
  /** The name of the policy */
6852
6949
  name: (Scalars['String'] | null);
6853
6950
  /** Notes in client profile recorded by provider user */
@@ -8535,6 +8632,19 @@ export interface ShapaConnection {
8535
8632
  last_sync_date: (Scalars['String'] | null);
8536
8633
  __typename: 'ShapaConnection';
8537
8634
  }
8635
+ /** Autogenerated return type of Sign. */
8636
+ export interface SignPayload {
8637
+ /**
8638
+ * @deprecated DO NOT USE
8639
+ * DO NOT USE
8640
+ */
8641
+ clientMutationId: (Scalars['String'] | null);
8642
+ form_answer_group: (FormAnswerGroup | null);
8643
+ form_answer_group_signing: (FormAnswerGroupSigning | null);
8644
+ /** The list of errors occurred during the mutation */
8645
+ messages: ((FieldError | null)[] | null);
8646
+ __typename: 'SignPayload';
8647
+ }
8538
8648
  /** The type of offered signed stream names */
8539
8649
  export type SignedStreamName = 'NOTES' | 'CONVERSATION_MEMBERSHIPS';
8540
8650
  /** A smart phrase object */
@@ -8549,10 +8659,14 @@ export interface SmartPhrase {
8549
8659
  name: (Scalars['String'] | null);
8550
8660
  /** The content of the smart phrase */
8551
8661
  phrase: (Scalars['String'] | null);
8662
+ /** The time when the smart phrase was last updated */
8663
+ updated_at: (Scalars['ISO8601DateTime'] | null);
8552
8664
  /** The smart phrase owner */
8553
8665
  user: (User | null);
8554
8666
  __typename: 'SmartPhrase';
8555
8667
  }
8668
+ /** Smart Phrase Order enum */
8669
+ export type SmartPhraseOrderKeys = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
8556
8670
  /** Smoking Status object */
8557
8671
  export interface SmokingStatus {
8558
8672
  /** The unique identifier of the status */
@@ -9189,6 +9303,18 @@ export interface UniqueDeviceIdentifier {
9189
9303
  udi_code: (Scalars['String'] | null);
9190
9304
  __typename: 'UniqueDeviceIdentifier';
9191
9305
  }
9306
+ /** Autogenerated return type of Unlock. */
9307
+ export interface UnlockPayload {
9308
+ /**
9309
+ * @deprecated DO NOT USE
9310
+ * DO NOT USE
9311
+ */
9312
+ clientMutationId: (Scalars['String'] | null);
9313
+ form_answer_group: (FormAnswerGroup | null);
9314
+ /** The list of errors occurred during the mutation */
9315
+ messages: ((FieldError | null)[] | null);
9316
+ __typename: 'UnlockPayload';
9317
+ }
9192
9318
  /** Autogenerated return type of UpdateCalorieLevel. */
9193
9319
  export interface UpdateCalorieLevelPayload {
9194
9320
  assessment: (HealthAssessment | null);
@@ -9465,6 +9591,8 @@ export interface User {
9465
9591
  can_sign_others_charting_notes: (Scalars['Boolean'] | null);
9466
9592
  /** If true, the user can sign their own charting notes */
9467
9593
  can_sign_own_charting_notes: (Scalars['Boolean'] | null);
9594
+ /** If `true`, the user can unlock charting notes. Always `true` for org owners and providers w/o an org */
9595
+ can_unlock_charting_notes: (Scalars['Boolean'] | null);
9468
9596
  /** If true, can access to labs widget */
9469
9597
  can_view_labs: (Scalars['Boolean'] | null);
9470
9598
  /** If True, the user will be able to add addendums for an other org member locked form answer groups */
@@ -9486,6 +9614,8 @@ export interface User {
9486
9614
  chameleon_hash: (Scalars['String'] | null);
9487
9615
  /** When true, user will be able to check insurance eligibility via Change Healthcare */
9488
9616
  change_healthcare_insurance_eligibility_connected: (Scalars['Boolean'] | null);
9617
+ /** Clearinghouse/RCM destinations that the user can submit to */
9618
+ claim_destination_options: (ClaimDestinationIntegration[] | null);
9489
9619
  /** Clearstep Connection for the user. If the Shapa integration is enabled, then the Clearstep integration should automatically appear as enabled */
9490
9620
  clearstep_connection: (ShapaConnection | null);
9491
9621
  /** Info about how a user was acquired */
@@ -9519,6 +9649,8 @@ export interface User {
9519
9649
  default_currency: (Scalars['String'] | null);
9520
9650
  /** When set for a client, the provider's Dosespot iFrame will launch into this clinic. When null, the Dosespot iframe will launch into the provider's default clinic. This will error unless the provider is connected to that clinic in Dosespot. Only used for patients. */
9521
9651
  default_dosespot_clinic_id: (Scalars['ID'] | null);
9652
+ /** Default eligibility check service to use. Nil if none available or if user is a patient */
9653
+ default_eligibility_check_service: (EligibilityCheckService | null);
9522
9654
  /** Default external videochat URL for scheduling with this user */
9523
9655
  default_external_video_url: (Scalars['String'] | null);
9524
9656
  /** The id of the users default onboarding flow */
@@ -9547,7 +9679,10 @@ export interface User {
9547
9679
  dismissed_fullscript: (Scalars['Boolean'] | null);
9548
9680
  /** Dismisses the warning while insurance eligibility checking should not be shown */
9549
9681
  dismissed_insurance_eligibility_warning: (Scalars['Boolean'] | null);
9550
- /** Dismisses the warning while locking a charting note should not be shown */
9682
+ /**
9683
+ * @deprecated Not used
9684
+ * Dismisses the warning while locking a charting note should not be shown
9685
+ */
9551
9686
  dismissed_lock_charting_note_warning: (Scalars['Boolean'] | null);
9552
9687
  /** If true, do not show fullscript box in provider homepage */
9553
9688
  dismissed_products_tab: (Scalars['Boolean'] | null);
@@ -9561,6 +9696,8 @@ export interface User {
9561
9696
  dosespot_notification_count: (Scalars['Int'] | null);
9562
9697
  /** Dosespot assigned ID for this patient. nil if the patient is not connected to Dosespot */
9563
9698
  dosespot_patient_id: (Scalars['String'] | null);
9699
+ /** When true, user has an eligibility checking service connected */
9700
+ eligibility_checking_connected: (Scalars['Boolean'] | null);
9564
9701
  /** The email of this user */
9565
9702
  email: (Scalars['String'] | null);
9566
9703
  /** The erx dosespot role */
@@ -9890,6 +10027,8 @@ export interface User {
9890
10027
  org_name_or_self_name: (Scalars['String'] | null);
9891
10028
  /** The user of the organization token */
9892
10029
  organization: (Organization | null);
10030
+ /** The contact email for this users organization */
10031
+ organization_email: (Scalars['String'] | null);
9893
10032
  /** The organization membership of the user */
9894
10033
  organization_membership: (OrganizationMembership | null);
9895
10034
  /** Single Other ID number for the user */
@@ -10123,6 +10262,8 @@ export interface User {
10123
10262
  total_lab_orders: (Scalars['Int'] | null);
10124
10263
  /** The authenticated human if an account is masked */
10125
10264
  true_human_id: (Scalars['String'] | null);
10265
+ /** UI settings for the user (JSON). Internal Healthie Use Only */
10266
+ ui: (Scalars['JSON'] | null);
10126
10267
  /** The number unconfirmed appointments for the user */
10127
10268
  unconfirmed_appointment_count: (Scalars['Int'] | null);
10128
10269
  /** The number of unseen conversations for the user */
@@ -10784,6 +10925,19 @@ export interface createAppleHealthPayload {
10784
10925
  messages: ((FieldError | null)[] | null);
10785
10926
  __typename: 'createAppleHealthPayload';
10786
10927
  }
10928
+ /** Autogenerated return type of createAppointmentFormAnswerGroupConnection. */
10929
+ export interface createAppointmentFormAnswerGroupConnectionPayload {
10930
+ appointment: (Appointment | null);
10931
+ /**
10932
+ * @deprecated DO NOT USE
10933
+ * DO NOT USE
10934
+ */
10935
+ clientMutationId: (Scalars['String'] | null);
10936
+ form_answer_group: (FormAnswerGroup | null);
10937
+ /** The list of errors occurred during the mutation */
10938
+ messages: ((FieldError | null)[] | null);
10939
+ __typename: 'createAppointmentFormAnswerGroupConnectionPayload';
10940
+ }
10787
10941
  /** Autogenerated return type of createAppointment. */
10788
10942
  export interface createAppointmentPayload {
10789
10943
  appointment: (Appointment | null);
@@ -12019,6 +12173,18 @@ export interface deleteAppleHealthPayload {
12019
12173
  messages: ((FieldError | null)[] | null);
12020
12174
  __typename: 'deleteAppleHealthPayload';
12021
12175
  }
12176
+ /** Autogenerated return type of deleteAppointmentFormAnswerGroupConnection. */
12177
+ export interface deleteAppointmentFormAnswerGroupConnectionPayload {
12178
+ /**
12179
+ * @deprecated DO NOT USE
12180
+ * DO NOT USE
12181
+ */
12182
+ clientMutationId: (Scalars['String'] | null);
12183
+ form_answer_group: (FormAnswerGroup | null);
12184
+ /** The list of errors occurred during the mutation */
12185
+ messages: ((FieldError | null)[] | null);
12186
+ __typename: 'deleteAppointmentFormAnswerGroupConnectionPayload';
12187
+ }
12022
12188
  /** Autogenerated return type of deleteAppointment. */
12023
12189
  export interface deleteAppointmentPayload {
12024
12190
  appointment: (Appointment | null);
@@ -13224,13 +13390,15 @@ export interface revokeTokenPayload {
13224
13390
  }
13225
13391
  /** Autogenerated return type of runEligibilityCheckMutation. */
13226
13392
  export interface runEligibilityCheckMutationPayload {
13227
- /** The result of the check */
13393
+ /** DEPRECATED. The result of the ChangeHealth elgibility check. */
13228
13394
  claim_eligibility_check: (ClaimEligibilityCheck | null);
13229
13395
  /**
13230
13396
  * @deprecated DO NOT USE
13231
13397
  * DO NOT USE
13232
13398
  */
13233
13399
  clientMutationId: (Scalars['String'] | null);
13400
+ /** The result of the elgibility check. */
13401
+ eligibility_check: (EligibilityCheck | null);
13234
13402
  /** The list of errors occurred during the mutation */
13235
13403
  messages: ((FieldError | null)[] | null);
13236
13404
  __typename: 'runEligibilityCheckMutationPayload';
@@ -14574,6 +14742,7 @@ export interface uploadToIntegrationsPayload {
14574
14742
  * DO NOT USE
14575
14743
  */
14576
14744
  clientMutationId: (Scalars['String'] | null);
14745
+ cms1500s: ((Cms1500 | null)[] | null);
14577
14746
  /** The list of errors occurred during the mutation */
14578
14747
  messages: ((FieldError | null)[] | null);
14579
14748
  success_message: (Scalars['String'] | null);
@@ -14927,8 +15096,10 @@ export interface AppointmentGenqlSelection {
14927
15096
  external_videochat_url?: boolean | number;
14928
15097
  /** The custom answers filled out by the booker of the appointment */
14929
15098
  filled_embed_form?: FormAnswerGroupGenqlSelection;
14930
- /** Form answer group associated with appointment */
15099
+ /** The Form answer group first associated with the appointment */
14931
15100
  form_answer_group?: FormAnswerGroupGenqlSelection;
15101
+ /** All Form answer groups associated with the appointment */
15102
+ form_answer_groups?: FormAnswerGroupGenqlSelection;
14932
15103
  /** open tok token */
14933
15104
  generated_token?: boolean | number;
14934
15105
  /** When true, additional group charting fields are visibile in the Healthie UI */
@@ -15616,6 +15787,8 @@ export interface AppointmentTypeGenqlSelection {
15616
15787
  has_specific_appointment_settings?: boolean | number;
15617
15788
  /** The unique identifier of the appointment type */
15618
15789
  id?: boolean | number;
15790
+ /** Whether or not this appointment type will have insurance billing enabled */
15791
+ insurance_billing_enabled?: boolean | number;
15619
15792
  /** The status of whether appointments of this types are group appointments or not */
15620
15793
  is_group?: boolean | number;
15621
15794
  /** The status of whether waitlist is enabled for an appointment or not */
@@ -15770,8 +15943,6 @@ export interface AppointmentTypeCptCode {
15770
15943
  cpt_code_id?: (Scalars['String'] | null);
15771
15944
  /** Fee (in cents) per unit */
15772
15945
  fee_per_unit?: (Scalars['Int'] | null);
15773
- /** Whether or not this appointment type will have insurance billing enabled */
15774
- insurance_billing_enabled?: (Scalars['Boolean'] | null);
15775
15946
  /** The number of units for the CPT code */
15776
15947
  units?: (Scalars['String'] | null);
15777
15948
  }
@@ -15785,7 +15956,10 @@ export interface AppointmentTypeCptCodeTypeGenqlSelection {
15785
15956
  fee_per_unit?: boolean | number;
15786
15957
  /** The unique identifier of the object */
15787
15958
  id?: boolean | number;
15788
- /** Whether or not insurance billing is enaled for an appointment type */
15959
+ /**
15960
+ * @deprecated Use appointmentType's insurance_billing_enabled instead
15961
+ * DEPRECATED. Use appointmentType's insurance_billing_enabled instead
15962
+ */
15789
15963
  insurance_billing_enabled?: boolean | number;
15790
15964
  /** Units */
15791
15965
  units?: boolean | number;
@@ -16339,6 +16513,8 @@ export interface CalendarViewSettingGenqlSelection {
16339
16513
  calendar_view_filter?: boolean | number;
16340
16514
  /** Filter appointments by client confirmation status */
16341
16515
  client_confirmation_status?: boolean | number;
16516
+ /** Comma separated names of contact types to filter appointments */
16517
+ contact_types_filter?: boolean | number;
16342
16518
  /** Selected sorting for documents(This is not a calendar setting. Related to documents area) */
16343
16519
  document_area_sorting?: boolean | number;
16344
16520
  /** Visibility of color schemes section */
@@ -16805,7 +16981,7 @@ export interface CheckoutFormAnswerInput {
16805
16981
  /** The value to filter on */
16806
16982
  value_to_filter?: (Scalars['String'] | null);
16807
16983
  }
16808
- /** A created API Key */
16984
+ /** Deprecated (use EligiblityCheck instead). A ChangeHealth eligibility check */
16809
16985
  export interface ClaimEligibilityCheckGenqlSelection {
16810
16986
  /** A string used to identify the eligibility check in the Change system. */
16811
16987
  control_number?: boolean | number;
@@ -18566,6 +18742,23 @@ export interface DrugAllergenTypeGenqlSelection {
18566
18742
  __typename?: boolean | number;
18567
18743
  __scalar?: boolean | number;
18568
18744
  }
18745
+ /** A processed eligibility check */
18746
+ export interface EligibilityCheckGenqlSelection {
18747
+ /** The time the eligibility check was run */
18748
+ created_at?: boolean | number;
18749
+ /** The unique identifier of the check */
18750
+ id?: boolean | number;
18751
+ /** The policy associated with this check */
18752
+ policy?: PolicyGenqlSelection;
18753
+ /** The ID of the associated policy */
18754
+ policy_id?: boolean | number;
18755
+ /** A JSON object containing the eligibility details */
18756
+ response?: boolean | number;
18757
+ /** A basic HTML representation of the eligibility response (nil if errors exist) */
18758
+ response_as_html?: boolean | number;
18759
+ __typename?: boolean | number;
18760
+ __scalar?: boolean | number;
18761
+ }
18569
18762
  /** Autogenerated input type of EmbedForm */
18570
18763
  export interface EmbedFormInput {
18571
18764
  appt_type_id?: (Scalars['ID'] | null);
@@ -19275,6 +19468,8 @@ export interface FormAnswerGroupGenqlSelection {
19275
19468
  filler?: UserGenqlSelection;
19276
19469
  /** Whether the filled form has been saved by the user (verse a hidden draft) */
19277
19470
  finished?: boolean | number;
19471
+ /** The history when a charting note was locked, unlocked or signed */
19472
+ form_answer_group_audit_events?: FormAnswerGroupAuditEventGenqlSelection;
19278
19473
  /** Signatures for the form */
19279
19474
  form_answer_group_signings?: FormAnswerGroupSigningGenqlSelection;
19280
19475
  /** A list of connections between a form_answer_group and group appointment users */
@@ -19323,6 +19518,34 @@ export interface FormAnswerGroupGenqlSelection {
19323
19518
  * If you have product recommendation alogrithim enabled, this will return a package containing a URL to purchase the products recommended by the algorithim
19324
19519
  */
19325
19520
  packages_with_recommended_products_purchase_url?: boolean | number;
19521
+ /** Whether current user or given user can add addendum to this `form_answer_group` */
19522
+ provider_can_add_addendum?: {
19523
+ __args: {
19524
+ /** Given provider's id. Falls back to current user if not given */
19525
+ provider_id?: (Scalars['ID'] | null);
19526
+ };
19527
+ } | boolean | number;
19528
+ /** Whether current user or given user can lock this `form_answer_group` */
19529
+ provider_can_lock?: {
19530
+ __args: {
19531
+ /** Given provider's id. Falls back to current user if not given */
19532
+ provider_id?: (Scalars['ID'] | null);
19533
+ };
19534
+ } | boolean | number;
19535
+ /** Whether current user or given user can sign this `form_answer_group` */
19536
+ provider_can_sign?: {
19537
+ __args: {
19538
+ /** Given provider's id. Falls back to current user if not given */
19539
+ provider_id?: (Scalars['ID'] | null);
19540
+ };
19541
+ } | boolean | number;
19542
+ /** Whether current user or given user can unlock this `form_answer_group` */
19543
+ provider_can_unlock?: {
19544
+ __args: {
19545
+ /** Given provider's id. Falls back to current user if not given */
19546
+ provider_id?: (Scalars['ID'] | null);
19547
+ };
19548
+ } | boolean | number;
19326
19549
  /** The date that the note was actually created */
19327
19550
  record_created_at?: boolean | number;
19328
19551
  /** The last updated date for the filled form */
@@ -19334,6 +19557,22 @@ export interface FormAnswerGroupGenqlSelection {
19334
19557
  __typename?: boolean | number;
19335
19558
  __scalar?: boolean | number;
19336
19559
  }
19560
+ /** Base class for types */
19561
+ export interface FormAnswerGroupAuditEventGenqlSelection {
19562
+ /** Action type */
19563
+ action?: boolean | number;
19564
+ /** When the action was made */
19565
+ committed_at?: boolean | number;
19566
+ /** Who made the action */
19567
+ committed_by?: UserGenqlSelection;
19568
+ created_at?: boolean | number;
19569
+ description?: boolean | number;
19570
+ form_answer_group?: FormAnswerGroupGenqlSelection;
19571
+ id?: boolean | number;
19572
+ updated_at?: boolean | number;
19573
+ __typename?: boolean | number;
19574
+ __scalar?: boolean | number;
19575
+ }
19337
19576
  /** An instance representing connection between a charting note(form_answer_group) and a user signing the note */
19338
19577
  export interface FormAnswerGroupSigningGenqlSelection {
19339
19578
  /** The date and time the form was signed */
@@ -20638,6 +20877,23 @@ export interface LocationResourceTypeGenqlSelection {
20638
20877
  __typename?: boolean | number;
20639
20878
  __scalar?: boolean | number;
20640
20879
  }
20880
+ /** Autogenerated input type of Lock */
20881
+ export interface LockInput {
20882
+ id: Scalars['ID'];
20883
+ }
20884
+ /** Autogenerated return type of Lock. */
20885
+ export interface LockPayloadGenqlSelection {
20886
+ /**
20887
+ * @deprecated DO NOT USE
20888
+ * DO NOT USE
20889
+ */
20890
+ clientMutationId?: boolean | number;
20891
+ form_answer_group?: FormAnswerGroupGenqlSelection;
20892
+ /** The list of errors occurred during the mutation */
20893
+ messages?: FieldErrorGenqlSelection;
20894
+ __typename?: boolean | number;
20895
+ __scalar?: boolean | number;
20896
+ }
20641
20897
  /** Autogenerated input type of MaskAccount */
20642
20898
  export interface MaskAccountInput {
20643
20899
  email?: (Scalars['String'] | null);
@@ -21044,6 +21300,13 @@ export interface MutationGenqlSelection {
21044
21300
  input?: (createAppointmentInput | null);
21045
21301
  };
21046
21302
  });
21303
+ /** Create a connection between a form answer group and an appointment */
21304
+ createAppointmentFormAnswerGroupConnection?: (createAppointmentFormAnswerGroupConnectionPayloadGenqlSelection & {
21305
+ __args?: {
21306
+ /** Parameters for createAppointmentFormAnswerGroupConnection */
21307
+ input?: (createAppointmentFormAnswerGroupConnectionInput | null);
21308
+ };
21309
+ });
21047
21310
  /** create an Appointment Setting */
21048
21311
  createAppointmentSetting?: (createAppointmentSettingPayloadGenqlSelection & {
21049
21312
  __args?: {
@@ -21345,7 +21608,10 @@ export interface MutationGenqlSelection {
21345
21608
  input?: (createFormAnswerGroupInput | null);
21346
21609
  };
21347
21610
  });
21348
- /** create FormAnswerGroupSigning */
21611
+ /**
21612
+ * @deprecated Use `signFormAnswerGroup` mutation
21613
+ * Create FormAnswerGroupSigning
21614
+ */
21349
21615
  createFormAnswerGroupSigning?: (createFormAnswerGroupSigningPayloadGenqlSelection & {
21350
21616
  __args?: {
21351
21617
  /** Parameters for createFormAnswerGroupSigning */
@@ -21786,6 +22052,13 @@ export interface MutationGenqlSelection {
21786
22052
  input?: (deleteAppointmentInput | null);
21787
22053
  };
21788
22054
  });
22055
+ /** Remove a form_answer_groups connection to an appointment */
22056
+ deleteAppointmentFormAnswerGroupConnection?: (deleteAppointmentFormAnswerGroupConnectionPayloadGenqlSelection & {
22057
+ __args?: {
22058
+ /** Parameters for deleteAppointmentFormAnswerGroupConnection */
22059
+ input?: (deleteAppointmentFormAnswerGroupConnectionInput | null);
22060
+ };
22061
+ });
21789
22062
  /** Destroy an AppointmentType */
21790
22063
  deleteAppointmentType?: (deleteAppointmentTypePayloadGenqlSelection & {
21791
22064
  __args?: {
@@ -22440,6 +22713,13 @@ export interface MutationGenqlSelection {
22440
22713
  input?: (HealthAssessmentServiceSignupInput | null);
22441
22714
  };
22442
22715
  });
22716
+ /** Lock `FormAnswerGroup` */
22717
+ lockFormAnswerGroup?: (LockPayloadGenqlSelection & {
22718
+ __args?: {
22719
+ /** Parameters for Lock */
22720
+ input?: (LockInput | null);
22721
+ };
22722
+ });
22443
22723
  /** Mask in as another user */
22444
22724
  maskAccount?: (MaskAccountPayloadGenqlSelection & {
22445
22725
  __args?: {
@@ -22594,6 +22874,13 @@ export interface MutationGenqlSelection {
22594
22874
  input?: (shareCustomModuleFormInput | null);
22595
22875
  };
22596
22876
  });
22877
+ /** Sign `FormAnswerGroup` */
22878
+ signFormAnswerGroup?: (SignPayloadGenqlSelection & {
22879
+ __args?: {
22880
+ /** Parameters for Sign */
22881
+ input?: (SignInput | null);
22882
+ };
22883
+ });
22597
22884
  /** SignIn */
22598
22885
  signIn?: (signInPayloadGenqlSelection & {
22599
22886
  __args?: {
@@ -22671,6 +22958,13 @@ export interface MutationGenqlSelection {
22671
22958
  input?: (unlockChartingNoteInput | null);
22672
22959
  };
22673
22960
  });
22961
+ /** Unlock `FormAnswerGroup` */
22962
+ unlockFormAnswerGroup?: (UnlockPayloadGenqlSelection & {
22963
+ __args?: {
22964
+ /** Parameters for Unlock */
22965
+ input?: (UnlockInput | null);
22966
+ };
22967
+ });
22674
22968
  /** Update a Notification Setting to unsubscribe from a specific notification type */
22675
22969
  unsubscribeFromNotification?: (unsubscribeFromNotificationPayloadGenqlSelection & {
22676
22970
  __args?: {
@@ -22678,7 +22972,10 @@ export interface MutationGenqlSelection {
22678
22972
  input?: (unsubscribeFromNotificationInput | null);
22679
22973
  };
22680
22974
  });
22681
- /** Update existing addendum for the selected charting note */
22975
+ /**
22976
+ * @deprecated Deprecated. Does nothing
22977
+ * THIS MUTATION DOES NOTHING, AND SHOULD NOT BE USED.
22978
+ */
22682
22979
  updateAddendum?: (updateAddendumPayloadGenqlSelection & {
22683
22980
  __args?: {
22684
22981
  /** Parameters for updateAddendum */
@@ -24249,7 +24546,7 @@ export interface OrganizationGenqlSelection {
24249
24546
  __args?: {
24250
24547
  /** The list of IDs of interested providers */
24251
24548
  provider_ids?: ((Scalars['ID'] | null)[] | null);
24252
- /** Filters the provider list to only include users who have one of the specified tags applied. Ignored if org_level is not true */
24549
+ /** Filters the provider list to only include users who have ALL of the specified tags applied. Ignored if org_level is not true */
24253
24550
  tag_ids?: ((Scalars['ID'] | null)[] | null);
24254
24551
  /** An array of provider record identifiers. When passed in, only providers with these matching record identifiers are returned. */
24255
24552
  record_identifiers?: ((Scalars['String'] | null)[] | null);
@@ -24312,6 +24609,8 @@ export interface OrganizationGenqlSelection {
24312
24609
  org_roles?: boolean | number;
24313
24610
  /** Returns organization cpt codes */
24314
24611
  organization_cpt_codes?: OrganizationCptCodeTypeGenqlSelection;
24612
+ /** The email of organization */
24613
+ organization_email?: boolean | number;
24315
24614
  /** The first organization info of the organization */
24316
24615
  organization_info?: OrganizationInfoGenqlSelection;
24317
24616
  /** The organization infos of the organization */
@@ -24365,7 +24664,7 @@ export interface OrganizationGenqlSelection {
24365
24664
  provider_ids?: ((Scalars['ID'] | null)[] | null);
24366
24665
  should_paginate?: (Scalars['Boolean'] | null);
24367
24666
  with_private_notes_for_id?: (Scalars['String'] | null);
24368
- /** When passed in, only providers with all the passed-in tags will be returned. */
24667
+ /** When passed in, only providers with ONE of the passed-in tags will be returned. */
24369
24668
  with_tag_ids?: ((Scalars['ID'] | null)[] | null);
24370
24669
  };
24371
24670
  });
@@ -24532,6 +24831,8 @@ export interface OrganizationMembershipGenqlSelection {
24532
24831
  can_lock_others_charting_notes?: boolean | number;
24533
24832
  /** If true, the user can lock charting notes they created */
24534
24833
  can_lock_own_charting_notes?: boolean | number;
24834
+ /** If true, the user should be able to manage care plan templates */
24835
+ can_manage_care_plan_templates?: boolean | number;
24535
24836
  /** If true, the user should be able to mark tasks that are assigned to other org members as completed */
24536
24837
  can_mark_assigned_tasks_to_other_org_members_as_completed?: boolean | number;
24537
24838
  /** If true, the user can merge clients */
@@ -24576,6 +24877,8 @@ export interface OrganizationMembershipGenqlSelection {
24576
24877
  can_submit_cms_1500s_to_change_health?: boolean | number;
24577
24878
  /** If true, the user can submit CMS 1500s to Office Ally */
24578
24879
  can_submit_cms_1500s_to_office_ally?: boolean | number;
24880
+ /** If `true`, the user can unlock charting notes. Always `true` for org owners and providers w/o an org */
24881
+ can_unlock_charting_notes?: boolean | number;
24579
24882
  /** If true, it will return all organization tasks for current user */
24580
24883
  can_view_all_org_members_tasks?: boolean | number;
24581
24884
  /** If true, the user can view/edit cms1500s */
@@ -24821,6 +25124,8 @@ export interface PermissionTemplateTypeGenqlSelection {
24821
25124
  can_lock_others_charting_notes?: boolean | number;
24822
25125
  /** If true, the user can lock charting notes they created */
24823
25126
  can_lock_own_charting_notes?: boolean | number;
25127
+ /** If true, the user should be able to manage care plan templates */
25128
+ can_manage_care_plan_templates?: boolean | number;
24824
25129
  /** If true, can mark tasks complete that are assigned to other org members */
24825
25130
  can_mark_assigned_tasks_to_other_org_members_as_completed?: boolean | number;
24826
25131
  /** If true, the user can merge clients */
@@ -25087,8 +25392,13 @@ export interface PolicyGenqlSelection {
25087
25392
  insurance_plan?: InsurancePlanGenqlSelection;
25088
25393
  /** policy plan id, required */
25089
25394
  insurance_plan_id?: boolean | number;
25090
- /** The last automated eligibility check run for this policy. */
25395
+ /**
25396
+ * @deprecated Use `latest_eligibility_check` instead
25397
+ * DEPRECATED. The last automated eligibility check run for this Change Health policy.
25398
+ */
25091
25399
  last_eligibility_check?: ClaimEligibilityCheckGenqlSelection;
25400
+ /** the most recent automated eligibility check run for this policy. */
25401
+ latest_eligibility_check?: EligibilityCheckGenqlSelection;
25092
25402
  /** The name of the policy */
25093
25403
  name?: boolean | number;
25094
25404
  /** Notes in client profile recorded by provider user */
@@ -25706,6 +26016,7 @@ export interface QueryGenqlSelection {
25706
26016
  filter_by_appointment_type_id?: (Scalars['ID'] | null);
25707
26017
  /** Returns appointments of the specified appointment Overrides filter_by_appointment_type_id */
25708
26018
  filter_by_appointment_type_ids?: ((Scalars['ID'] | null)[] | null);
26019
+ filter_by_contact_types?: (Scalars['String'] | null);
25709
26020
  /** When true, only appointments without an associated chart note will be returned. When false, only appointments with an associated chart note will be return. If nil, has no effect */
25710
26021
  filter_by_chart_note_written?: (Scalars['Boolean'] | null);
25711
26022
  filter_by_client_confirmed?: (Scalars['Boolean'] | null);
@@ -25899,7 +26210,7 @@ export interface QueryGenqlSelection {
25899
26210
  /** Required */
25900
26211
  provider_id?: (Scalars['String'] | null);
25901
26212
  provider_ids?: ((Scalars['String'] | null)[] | null);
25902
- /** Filters the provider list to only include users who have one of the specified tags applied. Ignored if org_level is not true */
26213
+ /** Filters the provider list to only include users who have all of the specified tags applied. Ignored if org_level is not true */
25903
26214
  tag_ids?: ((Scalars['ID'] | null)[] | null);
25904
26215
  start_date?: (Scalars['String'] | null);
25905
26216
  /** When passed in, slots before this will not be returned. YYYY-MM-DD format */
@@ -25995,7 +26306,12 @@ export interface QueryGenqlSelection {
25995
26306
  };
25996
26307
  });
25997
26308
  /** Fetch a calendar view settings for current user */
25998
- calendarViewSetting?: CalendarViewSettingGenqlSelection;
26309
+ calendarViewSetting?: (CalendarViewSettingGenqlSelection & {
26310
+ __args?: {
26311
+ /** If passed values from a Saved Filter will be returned for the calendar settings */
26312
+ saved_filter_id?: (Scalars['ID'] | null);
26313
+ };
26314
+ });
25999
26315
  /** Fetch an array of campaigns for a provider */
26000
26316
  campaigns?: (CampaignGenqlSelection & {
26001
26317
  __args?: {
@@ -26545,7 +26861,7 @@ export interface QueryGenqlSelection {
26545
26861
  /** Required */
26546
26862
  provider_id?: (Scalars['String'] | null);
26547
26863
  provider_ids?: ((Scalars['String'] | null)[] | null);
26548
- /** Filters the provider list to only include users who have one of the specified tags applied. Ignored if org_level is not true */
26864
+ /** Filters the provider list to only include users who have all of the specified tags applied. Ignored if org_level is not true */
26549
26865
  tag_ids?: ((Scalars['ID'] | null)[] | null);
26550
26866
  /** When passed in, supercedes date_from_month. Must be passed in along with end_date */
26551
26867
  start_date?: (Scalars['String'] | null);
@@ -27478,7 +27794,7 @@ export interface QueryGenqlSelection {
27478
27794
  /** Required */
27479
27795
  provider_id?: (Scalars['String'] | null);
27480
27796
  provider_ids?: ((Scalars['String'] | null)[] | null);
27481
- /** Filters the provider list to only include users who have one of the specified tags applied. Ignored if org_level is not true */
27797
+ /** Filters the provider list to only include users who have all of the specified tags applied. Ignored if org_level is not true */
27482
27798
  tag_ids?: ((Scalars['ID'] | null)[] | null);
27483
27799
  /** When passed in, slots before this will not be returned. YYYY-MM-DD format */
27484
27800
  start_date_boundary?: (Scalars['String'] | null);
@@ -28251,6 +28567,7 @@ export interface QueryGenqlSelection {
28251
28567
  after?: (Scalars['Cursor'] | null);
28252
28568
  keywords?: (Scalars['String'] | null);
28253
28569
  offset?: (Scalars['Int'] | null);
28570
+ order_by?: (SmartPhraseOrderKeys | null);
28254
28571
  should_paginate?: (Scalars['Boolean'] | null);
28255
28572
  };
28256
28573
  });
@@ -29602,6 +29919,24 @@ export interface ShapaConnectionGenqlSelection {
29602
29919
  __typename?: boolean | number;
29603
29920
  __scalar?: boolean | number;
29604
29921
  }
29922
+ /** Autogenerated input type of Sign */
29923
+ export interface SignInput {
29924
+ id: Scalars['ID'];
29925
+ }
29926
+ /** Autogenerated return type of Sign. */
29927
+ export interface SignPayloadGenqlSelection {
29928
+ /**
29929
+ * @deprecated DO NOT USE
29930
+ * DO NOT USE
29931
+ */
29932
+ clientMutationId?: boolean | number;
29933
+ form_answer_group?: FormAnswerGroupGenqlSelection;
29934
+ form_answer_group_signing?: FormAnswerGroupSigningGenqlSelection;
29935
+ /** The list of errors occurred during the mutation */
29936
+ messages?: FieldErrorGenqlSelection;
29937
+ __typename?: boolean | number;
29938
+ __scalar?: boolean | number;
29939
+ }
29605
29940
  /** A smart phrase object */
29606
29941
  export interface SmartPhraseGenqlSelection {
29607
29942
  /** The time when the smart phrase was created */
@@ -29614,6 +29949,8 @@ export interface SmartPhraseGenqlSelection {
29614
29949
  name?: boolean | number;
29615
29950
  /** The content of the smart phrase */
29616
29951
  phrase?: boolean | number;
29952
+ /** The time when the smart phrase was last updated */
29953
+ updated_at?: boolean | number;
29617
29954
  /** The smart phrase owner */
29618
29955
  user?: UserGenqlSelection;
29619
29956
  __typename?: boolean | number;
@@ -30432,6 +30769,24 @@ export interface UniqueDeviceIdentifierGenqlSelection {
30432
30769
  __typename?: boolean | number;
30433
30770
  __scalar?: boolean | number;
30434
30771
  }
30772
+ /** Autogenerated input type of Unlock */
30773
+ export interface UnlockInput {
30774
+ id: Scalars['ID'];
30775
+ description: Scalars['String'];
30776
+ }
30777
+ /** Autogenerated return type of Unlock. */
30778
+ export interface UnlockPayloadGenqlSelection {
30779
+ /**
30780
+ * @deprecated DO NOT USE
30781
+ * DO NOT USE
30782
+ */
30783
+ clientMutationId?: boolean | number;
30784
+ form_answer_group?: FormAnswerGroupGenqlSelection;
30785
+ /** The list of errors occurred during the mutation */
30786
+ messages?: FieldErrorGenqlSelection;
30787
+ __typename?: boolean | number;
30788
+ __scalar?: boolean | number;
30789
+ }
30435
30790
  /** Autogenerated input type of UpdateCalorieLevel */
30436
30791
  export interface UpdateCalorieLevelInput {
30437
30792
  device_token?: (Scalars['String'] | null);
@@ -30845,6 +31200,8 @@ export interface UserGenqlSelection {
30845
31200
  can_sign_others_charting_notes?: boolean | number;
30846
31201
  /** If true, the user can sign their own charting notes */
30847
31202
  can_sign_own_charting_notes?: boolean | number;
31203
+ /** If `true`, the user can unlock charting notes. Always `true` for org owners and providers w/o an org */
31204
+ can_unlock_charting_notes?: boolean | number;
30848
31205
  /** If true, can access to labs widget */
30849
31206
  can_view_labs?: boolean | number;
30850
31207
  /** If True, the user will be able to add addendums for an other org member locked form answer groups */
@@ -30871,6 +31228,8 @@ export interface UserGenqlSelection {
30871
31228
  chameleon_hash?: boolean | number;
30872
31229
  /** When true, user will be able to check insurance eligibility via Change Healthcare */
30873
31230
  change_healthcare_insurance_eligibility_connected?: boolean | number;
31231
+ /** Clearinghouse/RCM destinations that the user can submit to */
31232
+ claim_destination_options?: boolean | number;
30874
31233
  /** Clearstep Connection for the user. If the Shapa integration is enabled, then the Clearstep integration should automatically appear as enabled */
30875
31234
  clearstep_connection?: ShapaConnectionGenqlSelection;
30876
31235
  /** Info about how a user was acquired */
@@ -30911,6 +31270,8 @@ export interface UserGenqlSelection {
30911
31270
  default_currency?: boolean | number;
30912
31271
  /** When set for a client, the provider's Dosespot iFrame will launch into this clinic. When null, the Dosespot iframe will launch into the provider's default clinic. This will error unless the provider is connected to that clinic in Dosespot. Only used for patients. */
30913
31272
  default_dosespot_clinic_id?: boolean | number;
31273
+ /** Default eligibility check service to use. Nil if none available or if user is a patient */
31274
+ default_eligibility_check_service?: boolean | number;
30914
31275
  /** Default external videochat URL for scheduling with this user */
30915
31276
  default_external_video_url?: boolean | number;
30916
31277
  /** The id of the users default onboarding flow */
@@ -30939,7 +31300,10 @@ export interface UserGenqlSelection {
30939
31300
  dismissed_fullscript?: boolean | number;
30940
31301
  /** Dismisses the warning while insurance eligibility checking should not be shown */
30941
31302
  dismissed_insurance_eligibility_warning?: boolean | number;
30942
- /** Dismisses the warning while locking a charting note should not be shown */
31303
+ /**
31304
+ * @deprecated Not used
31305
+ * Dismisses the warning while locking a charting note should not be shown
31306
+ */
30943
31307
  dismissed_lock_charting_note_warning?: boolean | number;
30944
31308
  /** If true, do not show fullscript box in provider homepage */
30945
31309
  dismissed_products_tab?: boolean | number;
@@ -30953,6 +31317,8 @@ export interface UserGenqlSelection {
30953
31317
  dosespot_notification_count?: boolean | number;
30954
31318
  /** Dosespot assigned ID for this patient. nil if the patient is not connected to Dosespot */
30955
31319
  dosespot_patient_id?: boolean | number;
31320
+ /** When true, user has an eligibility checking service connected */
31321
+ eligibility_checking_connected?: boolean | number;
30956
31322
  /** The email of this user */
30957
31323
  email?: boolean | number;
30958
31324
  /** The erx dosespot role */
@@ -31323,6 +31689,8 @@ export interface UserGenqlSelection {
31323
31689
  org_name_or_self_name?: boolean | number;
31324
31690
  /** The user of the organization token */
31325
31691
  organization?: OrganizationGenqlSelection;
31692
+ /** The contact email for this users organization */
31693
+ organization_email?: boolean | number;
31326
31694
  /** The organization membership of the user */
31327
31695
  organization_membership?: OrganizationMembershipGenqlSelection;
31328
31696
  /** Single Other ID number for the user */
@@ -31613,6 +31981,8 @@ export interface UserGenqlSelection {
31613
31981
  total_lab_orders?: boolean | number;
31614
31982
  /** The authenticated human if an account is masked */
31615
31983
  true_human_id?: boolean | number;
31984
+ /** UI settings for the user (JSON). Internal Healthie Use Only */
31985
+ ui?: boolean | number;
31616
31986
  /** The number unconfirmed appointments for the user */
31617
31987
  unconfirmed_appointment_count?: {
31618
31988
  __args: {
@@ -32653,6 +33023,25 @@ export interface createAppleHealthPayloadGenqlSelection {
32653
33023
  __typename?: boolean | number;
32654
33024
  __scalar?: boolean | number;
32655
33025
  }
33026
+ /** Autogenerated input type of createAppointmentFormAnswerGroupConnection */
33027
+ export interface createAppointmentFormAnswerGroupConnectionInput {
33028
+ appointment_id?: (Scalars['ID'] | null);
33029
+ form_answer_group_id?: (Scalars['ID'] | null);
33030
+ }
33031
+ /** Autogenerated return type of createAppointmentFormAnswerGroupConnection. */
33032
+ export interface createAppointmentFormAnswerGroupConnectionPayloadGenqlSelection {
33033
+ appointment?: AppointmentGenqlSelection;
33034
+ /**
33035
+ * @deprecated DO NOT USE
33036
+ * DO NOT USE
33037
+ */
33038
+ clientMutationId?: boolean | number;
33039
+ form_answer_group?: FormAnswerGroupGenqlSelection;
33040
+ /** The list of errors occurred during the mutation */
33041
+ messages?: FieldErrorGenqlSelection;
33042
+ __typename?: boolean | number;
33043
+ __scalar?: boolean | number;
33044
+ }
32656
33045
  /** Autogenerated input type of createAppointment */
32657
33046
  export interface createAppointmentInput {
32658
33047
  appointment_location_id?: (Scalars['String'] | null);
@@ -32812,7 +33201,6 @@ export interface createAppointmentTypeCptCodeInput {
32812
33201
  cpt_code_id?: (Scalars['ID'] | null);
32813
33202
  units?: (Scalars['String'] | null);
32814
33203
  fee_per_unit?: (Scalars['Int'] | null);
32815
- insurance_billing_enabled?: (Scalars['Boolean'] | null);
32816
33204
  }
32817
33205
  /** Autogenerated return type of createAppointmentTypeCptCode. */
32818
33206
  export interface createAppointmentTypeCptCodePayloadGenqlSelection {
@@ -32844,6 +33232,8 @@ export interface createAppointmentTypeInput {
32844
33232
  form_requests_before_appointment?: ((AppointmentTypeFormConnectionInput | null)[] | null);
32845
33233
  form_requests_after_appointment?: ((AppointmentTypeFormConnectionInput | null)[] | null);
32846
33234
  form_requests_after_appointment_booking?: ((AppointmentTypeFormConnectionInput | null)[] | null);
33235
+ /** Whether or not insurance billing is enabled for an appointment type */
33236
+ insurance_billing_enabled?: (Scalars['Boolean'] | null);
32847
33237
  /** When true, indicates that this appointment type is used for group appointments */
32848
33238
  is_group?: (Scalars['Boolean'] | null);
32849
33239
  is_waitlist_enabled?: (Scalars['Boolean'] | null);
@@ -33914,7 +34304,6 @@ export interface createFormAnswerGroupInput {
33914
34304
  created_at?: (Scalars['String'] | null);
33915
34305
  custom_module_form_id?: (Scalars['String'] | null);
33916
34306
  date?: (Scalars['String'] | null);
33917
- dismissed_lock_charting_note_warning?: (Scalars['Boolean'] | null);
33918
34307
  external_id?: (Scalars['String'] | null);
33919
34308
  finished?: (Scalars['Boolean'] | null);
33920
34309
  form_answers?: ((FormAnswerInput | null)[] | null);
@@ -33949,7 +34338,6 @@ export interface createFormAnswerGroupPayloadGenqlSelection {
33949
34338
  /** Autogenerated input type of createFormAnswerGroupSigning */
33950
34339
  export interface createFormAnswerGroupSigningInput {
33951
34340
  form_answer_group_id?: (Scalars['String'] | null);
33952
- user_id?: (Scalars['String'] | null);
33953
34341
  }
33954
34342
  /** Autogenerated return type of createFormAnswerGroupSigning. */
33955
34343
  export interface createFormAnswerGroupSigningPayloadGenqlSelection {
@@ -34603,6 +34991,8 @@ export interface createOrganizationInput {
34603
34991
  /** Must be provided with create_as_suborganization, last_name, and email. When passed will create a new user that will be the owner of the suborg */
34604
34992
  first_name?: (Scalars['String'] | null);
34605
34993
  last_name?: (Scalars['String'] | null);
34994
+ /** The email of organization */
34995
+ organization_email?: (Scalars['String'] | null);
34606
34996
  organization_info?: (PrimaryOrganizationInfoInput | null);
34607
34997
  /** Can optionally be passed in along with last_name, first_name, and email. When passed in, the newly created user will have this password */
34608
34998
  password?: (Scalars['String'] | null);
@@ -34800,6 +35190,7 @@ export interface createPermissionTemplateInput {
34800
35190
  start_conversation_with?: (Scalars['Boolean'] | null);
34801
35191
  share_user_groups?: (Scalars['Boolean'] | null);
34802
35192
  allow_group_level_actions?: (Scalars['Boolean'] | null);
35193
+ can_manage_care_plan_templates?: (Scalars['Boolean'] | null);
34803
35194
  }
34804
35195
  /** Autogenerated return type of createPermissionTemplate. */
34805
35196
  export interface createPermissionTemplatePayloadGenqlSelection {
@@ -35469,6 +35860,23 @@ export interface deleteAppleHealthPayloadGenqlSelection {
35469
35860
  __typename?: boolean | number;
35470
35861
  __scalar?: boolean | number;
35471
35862
  }
35863
+ /** Autogenerated input type of deleteAppointmentFormAnswerGroupConnection */
35864
+ export interface deleteAppointmentFormAnswerGroupConnectionInput {
35865
+ form_answer_group_id?: (Scalars['ID'] | null);
35866
+ }
35867
+ /** Autogenerated return type of deleteAppointmentFormAnswerGroupConnection. */
35868
+ export interface deleteAppointmentFormAnswerGroupConnectionPayloadGenqlSelection {
35869
+ /**
35870
+ * @deprecated DO NOT USE
35871
+ * DO NOT USE
35872
+ */
35873
+ clientMutationId?: boolean | number;
35874
+ form_answer_group?: FormAnswerGroupGenqlSelection;
35875
+ /** The list of errors occurred during the mutation */
35876
+ messages?: FieldErrorGenqlSelection;
35877
+ __typename?: boolean | number;
35878
+ __scalar?: boolean | number;
35879
+ }
35472
35880
  /** Autogenerated input type of deleteAppointment */
35473
35881
  export interface deleteAppointmentInput {
35474
35882
  appointment_inclusion_uuid?: (Scalars['ID'] | null);
@@ -37257,16 +37665,20 @@ export interface runEligibilityCheckMutationInput {
37257
37665
  id?: (Scalars['ID'] | null);
37258
37666
  /** An array of service type codes to check benefits for. */
37259
37667
  service_codes?: ((Scalars['String'] | null)[] | null);
37668
+ /** The service to use to run the eligiblity check. Service needs to be pre-enabled. Current options: [claim_md, change_health] */
37669
+ eligibility_check_service?: (EligibilityCheckService | null);
37260
37670
  }
37261
37671
  /** Autogenerated return type of runEligibilityCheckMutation. */
37262
37672
  export interface runEligibilityCheckMutationPayloadGenqlSelection {
37263
- /** The result of the check */
37673
+ /** DEPRECATED. The result of the ChangeHealth elgibility check. */
37264
37674
  claim_eligibility_check?: ClaimEligibilityCheckGenqlSelection;
37265
37675
  /**
37266
37676
  * @deprecated DO NOT USE
37267
37677
  * DO NOT USE
37268
37678
  */
37269
37679
  clientMutationId?: boolean | number;
37680
+ /** The result of the elgibility check. */
37681
+ eligibility_check?: EligibilityCheckGenqlSelection;
37270
37682
  /** The list of errors occurred during the mutation */
37271
37683
  messages?: FieldErrorGenqlSelection;
37272
37684
  __typename?: boolean | number;
@@ -37805,7 +38217,6 @@ export interface updateAppointmentTypeCptCodeInput {
37805
38217
  id?: (Scalars['ID'] | null);
37806
38218
  units?: (Scalars['String'] | null);
37807
38219
  fee_per_unit?: (Scalars['Int'] | null);
37808
- insurance_billing_enabled?: (Scalars['Boolean'] | null);
37809
38220
  }
37810
38221
  /** Autogenerated return type of updateAppointmentTypeCptCode. */
37811
38222
  export interface updateAppointmentTypeCptCodePayloadGenqlSelection {
@@ -37845,6 +38256,8 @@ export interface updateAppointmentTypeInput {
37845
38256
  form_requests_after_appointment_booking?: ((AppointmentTypeFormConnectionInput | null)[] | null);
37846
38257
  has_specific_appointment_settings?: (Scalars['Boolean'] | null);
37847
38258
  id?: (Scalars['ID'] | null);
38259
+ /** Whether or not insurance billing is enabled for an appointment type */
38260
+ insurance_billing_enabled?: (Scalars['Boolean'] | null);
37848
38261
  /** When true, indicates that this appointment type is used for group appointments */
37849
38262
  is_group?: (Scalars['Boolean'] | null);
37850
38263
  is_waitlist_enabled?: (Scalars['Boolean'] | null);
@@ -38020,6 +38433,7 @@ export interface updateCalendarViewSettingInput {
38020
38433
  calendar_view_filter?: (Scalars['String'] | null);
38021
38434
  client_confirmation_status?: (Scalars['String'] | null);
38022
38435
  document_area_sorting?: (Scalars['String'] | null);
38436
+ contact_types_filter?: (Scalars['String'] | null);
38023
38437
  expand_color_schemes?: (Scalars['Boolean'] | null);
38024
38438
  expand_filter_appointments?: (Scalars['Boolean'] | null);
38025
38439
  expand_filter_availabilities?: (Scalars['Boolean'] | null);
@@ -38849,7 +39263,6 @@ export interface updateFolderPayloadGenqlSelection {
38849
39263
  export interface updateFormAnswerGroupInput {
38850
39264
  course_item_id?: (Scalars['ID'] | null);
38851
39265
  date?: (Scalars['String'] | null);
38852
- dismissed_lock_charting_note_warning?: (Scalars['Boolean'] | null);
38853
39266
  external_id?: (Scalars['String'] | null);
38854
39267
  finished?: (Scalars['Boolean'] | null);
38855
39268
  form_answers?: ((FormAnswerInput | null)[] | null);
@@ -38857,7 +39270,6 @@ export interface updateFormAnswerGroupInput {
38857
39270
  id?: (Scalars['ID'] | null);
38858
39271
  individual_client_notes?: ((IndividualClientNoteInput | null)[] | null);
38859
39272
  marked_complete?: (Scalars['Boolean'] | null);
38860
- marked_locked?: (Scalars['Boolean'] | null);
38861
39273
  /** Maximum character limit of 128,000. */
38862
39274
  metadata?: (Scalars['String'] | null);
38863
39275
  name?: (Scalars['String'] | null);
@@ -39529,6 +39941,8 @@ export interface updateOrganizationCptCodePayloadGenqlSelection {
39529
39941
  /** Autogenerated input type of updateOrganization */
39530
39942
  export interface updateOrganizationInput {
39531
39943
  id?: (Scalars['ID'] | null);
39944
+ /** The email of organization */
39945
+ organization_email?: (Scalars['String'] | null);
39532
39946
  organization_info?: (PrimaryOrganizationInfoInput | null);
39533
39947
  }
39534
39948
  /** Autogenerated input type of updateOrganizationMember */
@@ -39617,6 +40031,7 @@ export interface updateOrganizationMembershipInput {
39617
40031
  can_sign_own_charting_notes?: (Scalars['Boolean'] | null);
39618
40032
  can_submit_cms_1500s_to_change_health?: (Scalars['Boolean'] | null);
39619
40033
  can_submit_cms_1500s_to_office_ally?: (Scalars['Boolean'] | null);
40034
+ can_unlock_charting_notes?: (Scalars['Boolean'] | null);
39620
40035
  can_view_all_org_members_tasks?: (Scalars['Boolean'] | null);
39621
40036
  can_view_cms1500s?: (Scalars['Boolean'] | null);
39622
40037
  can_view_goal_templates?: (Scalars['Boolean'] | null);
@@ -39678,6 +40093,7 @@ export interface updateOrganizationMembershipInput {
39678
40093
  title?: (Scalars['String'] | null);
39679
40094
  /** Indicate that the user applied a permission template on this update */
39680
40095
  permission_template_applied?: (Scalars['Boolean'] | null);
40096
+ can_manage_care_plan_templates?: (Scalars['Boolean'] | null);
39681
40097
  }
39682
40098
  /** Autogenerated return type of updateOrganizationMembership. */
39683
40099
  export interface updateOrganizationMembershipPayloadGenqlSelection {
@@ -39790,6 +40206,7 @@ export interface updatePermissionTemplateInput {
39790
40206
  show_org_tab?: (Scalars['Boolean'] | null);
39791
40207
  start_conversation_with?: (Scalars['Boolean'] | null);
39792
40208
  allow_group_level_actions?: (Scalars['Boolean'] | null);
40209
+ can_manage_care_plan_templates?: (Scalars['Boolean'] | null);
39793
40210
  }
39794
40211
  /** Autogenerated return type of updatePermissionTemplate. */
39795
40212
  export interface updatePermissionTemplatePayloadGenqlSelection {
@@ -40543,7 +40960,12 @@ export interface uploadBatchToOfficeallyPayloadGenqlSelection {
40543
40960
  }
40544
40961
  /** Autogenerated input type of uploadToIntegrations */
40545
40962
  export interface uploadToIntegrationsInput {
40963
+ /** Supercedes cms1500_ids if provided. The ID of a singular Cms1500 to submit */
40546
40964
  cms1500_id?: (Scalars['ID'] | null);
40965
+ /** An array of IDs of CMS1500 objects to submit */
40966
+ cms1500_ids?: ((Scalars['ID'] | null)[] | null);
40967
+ /** The claims integration to submit the specified claim(s) to */
40968
+ destination_integration?: (ClaimDestinationIntegration | null);
40547
40969
  }
40548
40970
  /** Autogenerated return type of uploadToIntegrations. */
40549
40971
  export interface uploadToIntegrationsPayloadGenqlSelection {
@@ -40552,6 +40974,7 @@ export interface uploadToIntegrationsPayloadGenqlSelection {
40552
40974
  * DO NOT USE
40553
40975
  */
40554
40976
  clientMutationId?: boolean | number;
40977
+ cms1500s?: Cms1500GenqlSelection;
40555
40978
  /** The list of errors occurred during the mutation */
40556
40979
  messages?: FieldErrorGenqlSelection;
40557
40980
  success_message?: boolean | number;
@@ -40905,6 +41328,9 @@ export declare const isDraft: (obj?: {
40905
41328
  export declare const isDrugAllergenType: (obj?: {
40906
41329
  __typename?: any;
40907
41330
  } | null) => obj is DrugAllergenType;
41331
+ export declare const isEligibilityCheck: (obj?: {
41332
+ __typename?: any;
41333
+ } | null) => obj is EligibilityCheck;
40908
41334
  export declare const isEmbedFormPayload: (obj?: {
40909
41335
  __typename?: any;
40910
41336
  } | null) => obj is EmbedFormPayload;
@@ -40962,6 +41388,9 @@ export declare const isFormAnswer: (obj?: {
40962
41388
  export declare const isFormAnswerGroup: (obj?: {
40963
41389
  __typename?: any;
40964
41390
  } | null) => obj is FormAnswerGroup;
41391
+ export declare const isFormAnswerGroupAuditEvent: (obj?: {
41392
+ __typename?: any;
41393
+ } | null) => obj is FormAnswerGroupAuditEvent;
40965
41394
  export declare const isFormAnswerGroupSigning: (obj?: {
40966
41395
  __typename?: any;
40967
41396
  } | null) => obj is FormAnswerGroupSigning;
@@ -41115,6 +41544,9 @@ export declare const isLocation: (obj?: {
41115
41544
  export declare const isLocationResourceType: (obj?: {
41116
41545
  __typename?: any;
41117
41546
  } | null) => obj is LocationResourceType;
41547
+ export declare const isLockPayload: (obj?: {
41548
+ __typename?: any;
41549
+ } | null) => obj is LockPayload;
41118
41550
  export declare const isMaskAccountPayload: (obj?: {
41119
41551
  __typename?: any;
41120
41552
  } | null) => obj is MaskAccountPayload;
@@ -41370,6 +41802,9 @@ export declare const isServingSize: (obj?: {
41370
41802
  export declare const isShapaConnection: (obj?: {
41371
41803
  __typename?: any;
41372
41804
  } | null) => obj is ShapaConnection;
41805
+ export declare const isSignPayload: (obj?: {
41806
+ __typename?: any;
41807
+ } | null) => obj is SignPayload;
41373
41808
  export declare const isSmartPhrase: (obj?: {
41374
41809
  __typename?: any;
41375
41810
  } | null) => obj is SmartPhrase;
@@ -41457,6 +41892,9 @@ export declare const isTransferType: (obj?: {
41457
41892
  export declare const isUniqueDeviceIdentifier: (obj?: {
41458
41893
  __typename?: any;
41459
41894
  } | null) => obj is UniqueDeviceIdentifier;
41895
+ export declare const isUnlockPayload: (obj?: {
41896
+ __typename?: any;
41897
+ } | null) => obj is UnlockPayload;
41460
41898
  export declare const isUpdateCalorieLevelPayload: (obj?: {
41461
41899
  __typename?: any;
41462
41900
  } | null) => obj is UpdateCalorieLevelPayload;
@@ -41604,6 +42042,9 @@ export declare const iscreateApiKeyPayload: (obj?: {
41604
42042
  export declare const iscreateAppleHealthPayload: (obj?: {
41605
42043
  __typename?: any;
41606
42044
  } | null) => obj is createAppleHealthPayload;
42045
+ export declare const iscreateAppointmentFormAnswerGroupConnectionPayload: (obj?: {
42046
+ __typename?: any;
42047
+ } | null) => obj is createAppointmentFormAnswerGroupConnectionPayload;
41607
42048
  export declare const iscreateAppointmentPayload: (obj?: {
41608
42049
  __typename?: any;
41609
42050
  } | null) => obj is createAppointmentPayload;
@@ -41910,6 +42351,9 @@ export declare const isdeleteApiKeyPayload: (obj?: {
41910
42351
  export declare const isdeleteAppleHealthPayload: (obj?: {
41911
42352
  __typename?: any;
41912
42353
  } | null) => obj is deleteAppleHealthPayload;
42354
+ export declare const isdeleteAppointmentFormAnswerGroupConnectionPayload: (obj?: {
42355
+ __typename?: any;
42356
+ } | null) => obj is deleteAppointmentFormAnswerGroupConnectionPayload;
41913
42357
  export declare const isdeleteAppointmentPayload: (obj?: {
41914
42358
  __typename?: any;
41915
42359
  } | null) => obj is deleteAppointmentPayload;
@@ -42546,6 +42990,12 @@ export declare const isuploadToIntegrationsPayload: (obj?: {
42546
42990
  export declare const isvalidateVerificationTokenPayload: (obj?: {
42547
42991
  __typename?: any;
42548
42992
  } | null) => obj is validateVerificationTokenPayload;
42993
+ export declare const enumAction: {
42994
+ LOCKED: "LOCKED";
42995
+ UNLOCKED: "UNLOCKED";
42996
+ SIGNED: "SIGNED";
42997
+ ADDENDUM_CREATED: "ADDENDUM_CREATED";
42998
+ };
42549
42999
  export declare const enumApiKeyOrderKeys: {
42550
43000
  CREATED_AT_ASC: "CREATED_AT_ASC";
42551
43001
  CREATED_AT_DESC: "CREATED_AT_DESC";
@@ -42610,6 +43060,12 @@ export declare const enumChargeBackOrderKeys: {
42610
43060
  UPDATED_AT_DESC: "UPDATED_AT_DESC";
42611
43061
  UPDATED_AT_ASC: "UPDATED_AT_ASC";
42612
43062
  };
43063
+ export declare const enumClaimDestinationIntegration: {
43064
+ candid: "candid";
43065
+ claim_md: "claim_md";
43066
+ change_health: "change_health";
43067
+ office_ally: "office_ally";
43068
+ };
42613
43069
  export declare const enumCms1500OrderKeys: {
42614
43070
  CREATED_AT_ASC: "CREATED_AT_ASC";
42615
43071
  CREATED_AT_DESC: "CREATED_AT_DESC";
@@ -42656,6 +43112,10 @@ export declare const enumDrugAllergenTypeEnum: {
42656
43112
  INGREDIENT: "INGREDIENT";
42657
43113
  CLASS: "CLASS";
42658
43114
  };
43115
+ export declare const enumEligibilityCheckService: {
43116
+ change_health: "change_health";
43117
+ claim_md: "claim_md";
43118
+ };
42659
43119
  export declare const enumEntryOrderKeys: {
42660
43120
  CREATED_AT_ASC: "CREATED_AT_ASC";
42661
43121
  CREATED_AT_DESC: "CREATED_AT_DESC";
@@ -42912,6 +43372,14 @@ export declare const enumSignedStreamName: {
42912
43372
  NOTES: "NOTES";
42913
43373
  CONVERSATION_MEMBERSHIPS: "CONVERSATION_MEMBERSHIPS";
42914
43374
  };
43375
+ export declare const enumSmartPhraseOrderKeys: {
43376
+ CREATED_AT_ASC: "CREATED_AT_ASC";
43377
+ CREATED_AT_DESC: "CREATED_AT_DESC";
43378
+ NAME_ASC: "NAME_ASC";
43379
+ NAME_DESC: "NAME_DESC";
43380
+ UPDATED_AT_ASC: "UPDATED_AT_ASC";
43381
+ UPDATED_AT_DESC: "UPDATED_AT_DESC";
43382
+ };
42915
43383
  export declare const enumStripeCustomerDetailOrderKeys: {
42916
43384
  EXPIRATION_DATE_DESC: "EXPIRATION_DATE_DESC";
42917
43385
  EXPIRATION_DATE_ASC: "EXPIRATION_DATE_ASC";