@awell-health/awell-extensions 1.0.165 → 1.0.167

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.d.ts +4 -0
  2. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.js +74 -0
  3. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.js.map +1 -0
  4. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.d.ts +1 -0
  5. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.js +57 -0
  6. package/dist/extensions/healthie/actions/checkPatientTag/checkPatientTag.test.js.map +1 -0
  7. package/dist/extensions/healthie/actions/checkPatientTag/config/dataPoints.d.ts +6 -0
  8. package/dist/extensions/healthie/actions/checkPatientTag/config/dataPoints.js +10 -0
  9. package/dist/extensions/healthie/actions/checkPatientTag/config/dataPoints.js.map +1 -0
  10. package/dist/extensions/healthie/actions/checkPatientTag/config/fields.d.ts +15 -0
  11. package/dist/extensions/healthie/actions/checkPatientTag/config/fields.js +19 -0
  12. package/dist/extensions/healthie/actions/checkPatientTag/config/fields.js.map +1 -0
  13. package/dist/extensions/healthie/actions/checkPatientTag/config/index.d.ts +2 -0
  14. package/dist/extensions/healthie/actions/checkPatientTag/config/index.js +8 -0
  15. package/dist/extensions/healthie/actions/checkPatientTag/config/index.js.map +1 -0
  16. package/dist/extensions/healthie/actions/checkPatientTag/index.d.ts +1 -0
  17. package/dist/extensions/healthie/actions/checkPatientTag/index.js +18 -0
  18. package/dist/extensions/healthie/actions/checkPatientTag/index.js.map +1 -0
  19. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.d.ts +4 -0
  20. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.js +77 -0
  21. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.js.map +1 -0
  22. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.d.ts +1 -0
  23. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.js +57 -0
  24. package/dist/extensions/healthie/actions/checkScheduledAppointments/checkScheduledAppointments.test.js.map +1 -0
  25. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/dataPoints.d.ts +6 -0
  26. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/dataPoints.js +10 -0
  27. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/dataPoints.js.map +1 -0
  28. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/fields.d.ts +16 -0
  29. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/fields.js +20 -0
  30. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/fields.js.map +1 -0
  31. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/index.d.ts +2 -0
  32. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/index.js +8 -0
  33. package/dist/extensions/healthie/actions/checkScheduledAppointments/config/index.js.map +1 -0
  34. package/dist/extensions/healthie/actions/checkScheduledAppointments/index.d.ts +1 -0
  35. package/dist/extensions/healthie/actions/checkScheduledAppointments/index.js +18 -0
  36. package/dist/extensions/healthie/actions/checkScheduledAppointments/index.js.map +1 -0
  37. package/dist/extensions/healthie/actions/index.d.ts +59 -0
  38. package/dist/extensions/healthie/actions/index.js +4 -0
  39. package/dist/extensions/healthie/actions/index.js.map +1 -1
  40. package/dist/extensions/healthie/gql/sdk.d.ts +1502 -307
  41. package/dist/extensions/healthie/gql/sdk.js +527 -3
  42. package/dist/extensions/healthie/gql/sdk.js.map +1 -1
  43. package/dist/extensions/markdown.json +2 -2
  44. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js +6 -9
  45. package/dist/extensions/wellinks/api/clients/wellinksFlourishClient.js.map +1 -1
  46. package/package.json +1 -1
@@ -20,6 +20,7 @@ export type Scalars = {
20
20
  Boolean: boolean;
21
21
  Int: number;
22
22
  Float: number;
23
+ Cursor: any;
23
24
  ISO8601DateTime: any;
24
25
  ISO8601Duration: any;
25
26
  JSON: any;
@@ -99,7 +100,7 @@ export type AddedUsersInput = {
99
100
  export type AdvanceAppointmentPrice = {
100
101
  __typename?: 'AdvanceAppointmentPrice';
101
102
  /** Appointment type ID this appointment price is associated with. */
102
- appointment_type_id: Scalars['ID'];
103
+ appointment_type_id?: Maybe<Scalars['ID']>;
103
104
  /** The unique identifier of the price */
104
105
  id: Scalars['ID'];
105
106
  /** The advance price for this appointment type */
@@ -181,6 +182,8 @@ export type Announcement = {
181
182
  announcement_image_name?: Maybe<Scalars['String']>;
182
183
  /** URL of image associated with announcement */
183
184
  announcement_image_url?: Maybe<Scalars['String']>;
185
+ /** Pagination cursor */
186
+ cursor: Scalars['Cursor'];
184
187
  /** Announcement content(viewable by client) */
185
188
  description?: Maybe<Scalars['String']>;
186
189
  /** Unique identifier of the announcement */
@@ -210,6 +213,8 @@ export type ApiKey = {
210
213
  __typename?: 'ApiKey';
211
214
  /** The datetime the API Key was created */
212
215
  created_at: Scalars['String'];
216
+ /** Pagination cursor */
217
+ cursor: Scalars['Cursor'];
213
218
  /** Upon the initial creation of the key, this field displays the actual key to be used to authenticate. */
214
219
  displayable_key?: Maybe<Scalars['String']>;
215
220
  /** Unique identifier of the key */
@@ -217,6 +222,13 @@ export type ApiKey = {
217
222
  /** A user-chosen name for the API key. */
218
223
  name?: Maybe<Scalars['String']>;
219
224
  };
225
+ /** API Key sorting enum */
226
+ export declare enum ApiKeyOrderKeys {
227
+ CreatedAtAsc = "CREATED_AT_ASC",
228
+ CreatedAtDesc = "CREATED_AT_DESC",
229
+ NameAsc = "NAME_ASC",
230
+ NameDesc = "NAME_DESC"
231
+ }
220
232
  /** An Apple Health Sync */
221
233
  export type AppleHealth = {
222
234
  __typename?: 'AppleHealth';
@@ -296,6 +308,8 @@ export type Appointment = {
296
308
  created_at: Scalars['String'];
297
309
  /** The position of the appointment in the recurring series */
298
310
  current_position_in_recurring_series?: Maybe<Scalars['Int']>;
311
+ /** Pagination cursor */
312
+ cursor: Scalars['Cursor'];
299
313
  /** The date and time of the appointment */
300
314
  date?: Maybe<Scalars['String']>;
301
315
  /** default color of appointment based on confirmation/type */
@@ -559,6 +573,16 @@ export type AppointmentLocationInput = {
559
573
  /** The rooms at this location */
560
574
  rooms?: InputMaybe<Array<InputMaybe<RoomInput>>>;
561
575
  };
576
+ /** Appointment sorting enum */
577
+ export declare enum AppointmentOrderKeys {
578
+ CreatedAtAsc = "CREATED_AT_ASC",
579
+ CreatedAtDesc = "CREATED_AT_DESC",
580
+ DateAsc = "DATE_ASC",
581
+ DateDesc = "DATE_DESC",
582
+ Unsorted = "UNSORTED",
583
+ UpdatedAtAsc = "UPDATED_AT_ASC",
584
+ UpdatedAtDesc = "UPDATED_AT_DESC"
585
+ }
562
586
  /** The appointment count for the specific day */
563
587
  export type AppointmentPerDayData = {
564
588
  __typename?: 'AppointmentPerDayData';
@@ -884,6 +908,10 @@ export type AppointmentType = {
884
908
  clients_can_book: Scalars['Boolean'];
885
909
  /** Checks to see if the client has enough credit to book */
886
910
  clients_have_credit?: Maybe<Scalars['Boolean']>;
911
+ /** The date the Appointment Type was created */
912
+ created_at: Scalars['String'];
913
+ /** Pagination cursor */
914
+ cursor: Scalars['Cursor'];
887
915
  /** If the provider's organization has this feature, this will customize the content of SMS reminder's Healthie sends. */
888
916
  custom_text_reminder_body?: Maybe<Scalars['String']>;
889
917
  /** Date time appointment type was deleted */
@@ -934,6 +962,8 @@ export type AppointmentType = {
934
962
  row_order?: Maybe<Scalars['String']>;
935
963
  /** A label that includes the length of the appointment */
936
964
  time_on_label?: Maybe<Scalars['String']>;
965
+ /** The date the Appointment Type was updated */
966
+ updated_at: Scalars['String'];
937
967
  /** The user group associated with this appointment type. */
938
968
  user_group?: Maybe<UserGroup>;
939
969
  /** The ID of the group clients are placed in after booking */
@@ -1128,6 +1158,17 @@ export type AppointmentTypeFormConnectionInput = {
1128
1158
  /** Form requests will be sent before or after given interval, depends on `send_trigger` */
1129
1159
  interval?: InputMaybe<Scalars['ISO8601Duration']>;
1130
1160
  };
1161
+ /** Appointment Type sorting enum */
1162
+ export declare enum AppointmentTypeOrderKeys {
1163
+ CreatedAtAsc = "CREATED_AT_ASC",
1164
+ CreatedAtDesc = "CREATED_AT_DESC",
1165
+ /** Sort ascending by the manual order set for Appointment Types on the list */
1166
+ PositionAsc = "POSITION_ASC",
1167
+ /** Sort descending by the manual order set for Appointment Types on the list */
1168
+ PositionDesc = "POSITION_DESC",
1169
+ UpdatedAtAsc = "UPDATED_AT_ASC",
1170
+ UpdatedAtDesc = "UPDATED_AT_DESC"
1171
+ }
1131
1172
  /** Payload for an AttendedClient */
1132
1173
  export type AttendedClientsInput = {
1133
1174
  /** If the client attended the event */
@@ -1309,6 +1350,8 @@ export type BillingItem = {
1309
1350
  created_at: Scalars['String'];
1310
1351
  /** type of currency */
1311
1352
  currency?: Maybe<Scalars['String']>;
1353
+ /** Pagination cursor */
1354
+ cursor: Scalars['Cursor'];
1312
1355
  /** date payment was deleted */
1313
1356
  deleted_at?: Maybe<Scalars['String']>;
1314
1357
  /** Error message returned when payment failed */
@@ -1391,6 +1434,23 @@ export type BillingItem = {
1391
1434
  /** User Package Selection connected to this payment */
1392
1435
  user_package_selection?: Maybe<UserPackageSelection>;
1393
1436
  };
1437
+ /** BillingItem sorting enum */
1438
+ export declare enum BillingItemOrderKeys {
1439
+ AmountPaidAsc = "AMOUNT_PAID_ASC",
1440
+ AmountPaidDesc = "AMOUNT_PAID_DESC",
1441
+ CreatedAtAsc = "CREATED_AT_ASC",
1442
+ CreatedAtDesc = "CREATED_AT_DESC",
1443
+ /** Sort by the payment medium ascending */
1444
+ MethodAsc = "METHOD_ASC",
1445
+ /** Sort by the payment medium descending */
1446
+ MethodDesc = "METHOD_DESC",
1447
+ PatientFirstNameAsc = "PATIENT_FIRST_NAME_ASC",
1448
+ PatientFirstNameDesc = "PATIENT_FIRST_NAME_DESC",
1449
+ ProviderFirstNameAsc = "PROVIDER_FIRST_NAME_ASC",
1450
+ ProviderFirstNameDesc = "PROVIDER_FIRST_NAME_DESC",
1451
+ StateAsc = "STATE_ASC",
1452
+ StateDesc = "STATE_DESC"
1453
+ }
1394
1454
  /** Body Report is a sub category of a HealthAssessment */
1395
1455
  export type BodyReport = {
1396
1456
  __typename?: 'BodyReport';
@@ -1777,6 +1837,19 @@ export type CarePlanConnection = {
1777
1837
  /** The unique identifier of the connection */
1778
1838
  id: Scalars['ID'];
1779
1839
  };
1840
+ /** CarePlan sorting enum */
1841
+ export declare enum CarePlanOrderKeys {
1842
+ ClientFirstNameAsc = "CLIENT_FIRST_NAME_ASC",
1843
+ ClientFirstNameDesc = "CLIENT_FIRST_NAME_DESC",
1844
+ CreatedAtAsc = "CREATED_AT_ASC",
1845
+ CreatedAtDesc = "CREATED_AT_DESC",
1846
+ DeactivatedAsc = "DEACTIVATED_ASC",
1847
+ DeactivatedDesc = "DEACTIVATED_DESC",
1848
+ NameAsc = "NAME_ASC",
1849
+ NameDesc = "NAME_DESC",
1850
+ StatusAsc = "STATUS_ASC",
1851
+ StatusDesc = "STATUS_DESC"
1852
+ }
1780
1853
  /** Info on connection to Change Health */
1781
1854
  export type ChangeClaimSubmitter = {
1782
1855
  __typename?: 'ChangeClaimSubmitter';
@@ -1830,6 +1903,8 @@ export type ChargeBack = {
1830
1903
  status?: Maybe<Scalars['String']>;
1831
1904
  /** The total cost of the chargeback. Includes both the disputed amount and the fee */
1832
1905
  total_amount?: Maybe<Scalars['String']>;
1906
+ /** The date and time the chargeback was last updated */
1907
+ updated_at: Scalars['String'];
1833
1908
  };
1834
1909
  /** A Chargeback Evidence object, contains info to contest the dispute */
1835
1910
  export type ChargeBackEvidence = {
@@ -1890,6 +1965,13 @@ export type ChargeBackEvidenceInput = {
1890
1965
  /** The uncategorized reason of the chargeback */
1891
1966
  uncategorized_text?: InputMaybe<Scalars['String']>;
1892
1967
  };
1968
+ /** Charge back sorting enum */
1969
+ export declare enum ChargeBackOrderKeys {
1970
+ CreatedAtAsc = "CREATED_AT_ASC",
1971
+ CreatedAtDesc = "CREATED_AT_DESC",
1972
+ UpdatedAtAsc = "UPDATED_AT_ASC",
1973
+ UpdatedAtDesc = "UPDATED_AT_DESC"
1974
+ }
1893
1975
  /** Charting Item */
1894
1976
  export type ChartingItemType = {
1895
1977
  __typename?: 'ChartingItemType';
@@ -2306,6 +2388,19 @@ export type Cms1500 = {
2306
2388
  /** When true, uses the individual npi in all npi fields */
2307
2389
  use_indiv_npi?: Maybe<Scalars['Boolean']>;
2308
2390
  };
2391
+ /** Cms1500 sorting enum */
2392
+ export declare enum Cms1500OrderKeys {
2393
+ CreatedAtAsc = "CREATED_AT_ASC",
2394
+ CreatedAtDesc = "CREATED_AT_DESC",
2395
+ PatientLastNameAsc = "PATIENT_LAST_NAME_ASC",
2396
+ PatientLastNameDesc = "PATIENT_LAST_NAME_DESC",
2397
+ PrimaryPlanNameAsc = "PRIMARY_PLAN_NAME_ASC",
2398
+ PrimaryPlanNameDesc = "PRIMARY_PLAN_NAME_DESC",
2399
+ ServiceDateAsc = "SERVICE_DATE_ASC",
2400
+ ServiceDateDesc = "SERVICE_DATE_DESC",
2401
+ StatusAsc = "STATUS_ASC",
2402
+ StatusDesc = "STATUS_DESC"
2403
+ }
2309
2404
  /** A CMS1500 policy */
2310
2405
  export type Cms1500Policy = {
2311
2406
  __typename?: 'Cms1500Policy';
@@ -2394,6 +2489,8 @@ export type Comment = {
2394
2489
  created_at: Scalars['String'];
2395
2490
  /** User who created comment */
2396
2491
  creator?: Maybe<User>;
2492
+ /** Pagination cursor */
2493
+ cursor: Scalars['Cursor'];
2397
2494
  /** The id of the entry associated with the comment */
2398
2495
  entry_id?: Maybe<Scalars['String']>;
2399
2496
  /** The unique identifier of the comment */
@@ -2498,6 +2595,8 @@ export type Conversation = {
2498
2595
  conversation_memberships: Array<ConversationMembership>;
2499
2596
  /** The number of users in the conversation */
2500
2597
  conversation_memberships_count?: Maybe<Scalars['Int']>;
2598
+ /** The time the Conversation was created */
2599
+ created_at: Scalars['String'];
2501
2600
  /** The conversation membership for the current user */
2502
2601
  current_user_conversation_membership?: Maybe<ConversationMembership>;
2503
2602
  /** ID of dietitian */
@@ -2542,8 +2641,12 @@ export type ConversationMembership = {
2542
2641
  convo?: Maybe<Conversation>;
2543
2642
  /** The time the conversation of the */
2544
2643
  convo_updated_at?: Maybe<User>;
2644
+ /** The date the Conversation Membership was created */
2645
+ created_at: Scalars['String'];
2545
2646
  /** The creator of this ConversationMembership */
2546
2647
  creator?: Maybe<User>;
2648
+ /** Pagination cursor */
2649
+ cursor: Scalars['Cursor'];
2547
2650
  /** URL to the avatar to display */
2548
2651
  display_avatar?: Maybe<Scalars['String']>;
2549
2652
  /** Either the name of the owner or conversation subject? */
@@ -2571,6 +2674,17 @@ export type ConversationMembership = {
2571
2674
  export type ConversationMembershipLast_TaskArgs = {
2572
2675
  notes_type?: InputMaybe<Scalars['String']>;
2573
2676
  };
2677
+ /** Conversation Membership sorting enum */
2678
+ export declare enum ConversationMembershipOrderKeys {
2679
+ ConversationCreatedAtAsc = "CONVERSATION_CREATED_AT_ASC",
2680
+ ConversationCreatedAtDesc = "CONVERSATION_CREATED_AT_DESC",
2681
+ ConversationUpdatedAtAsc = "CONVERSATION_UPDATED_AT_ASC",
2682
+ ConversationUpdatedAtDesc = "CONVERSATION_UPDATED_AT_DESC",
2683
+ CreatedAtAsc = "CREATED_AT_ASC",
2684
+ CreatedAtDesc = "CREATED_AT_DESC",
2685
+ UpdatedAtAsc = "UPDATED_AT_ASC",
2686
+ UpdatedAtDesc = "UPDATED_AT_DESC"
2687
+ }
2574
2688
  /** Autogenerated input type of ConvertToMetric */
2575
2689
  export type ConvertToMetricInput = {
2576
2690
  convert_system: Scalars['String'];
@@ -2613,6 +2727,8 @@ export type Course = {
2613
2727
  course_type: Scalars['String'];
2614
2728
  /** date course was created */
2615
2729
  created_at: Scalars['String'];
2730
+ /** Pagination cursor */
2731
+ cursor: Scalars['Cursor'];
2616
2732
  /** date course was deleted */
2617
2733
  deleted_at?: Maybe<Scalars['String']>;
2618
2734
  /** Description of course */
@@ -2832,6 +2948,8 @@ export type CourseMembership = {
2832
2948
  course_status: Scalars['String'];
2833
2949
  /** date membership was created */
2834
2950
  created_at: Scalars['String'];
2951
+ /** Pagination cursor */
2952
+ cursor: Scalars['Cursor'];
2835
2953
  /** The unique identifier of the membership */
2836
2954
  id: Scalars['ID'];
2837
2955
  /** The next incomplete item */
@@ -2859,6 +2977,8 @@ export type CptCode = {
2859
2977
  code?: Maybe<Scalars['String']>;
2860
2978
  /** The date when the CPT code was created */
2861
2979
  created_at: Scalars['String'];
2980
+ /** Pagination cursor */
2981
+ cursor: Scalars['Cursor'];
2862
2982
  /** The description of the CPT code */
2863
2983
  description?: Maybe<Scalars['String']>;
2864
2984
  /** The name of the CPT code for use in labels */
@@ -3077,6 +3197,8 @@ export type CustomEmail = {
3077
3197
  __typename?: 'CustomEmail';
3078
3198
  /** created at */
3079
3199
  created_at: Scalars['String'];
3200
+ /** Pagination cursor */
3201
+ cursor: Scalars['Cursor'];
3080
3202
  /** type of email */
3081
3203
  email_type?: Maybe<Scalars['String']>;
3082
3204
  /** email greeting */
@@ -3089,6 +3211,8 @@ export type CustomEmail = {
3089
3211
  name?: Maybe<Scalars['String']>;
3090
3212
  /** reactivation_wait_days */
3091
3213
  reactivation_wait_days?: Maybe<Scalars['String']>;
3214
+ /** Appointment Type, Program or Package object */
3215
+ related_object?: Maybe<CustomEmailRelatedObject>;
3092
3216
  /** subject of email */
3093
3217
  subject?: Maybe<Scalars['String']>;
3094
3218
  /** updated at */
@@ -3096,6 +3220,8 @@ export type CustomEmail = {
3096
3220
  /** user id of provider */
3097
3221
  user_id?: Maybe<Scalars['ID']>;
3098
3222
  };
3223
+ /** CustomEmail related_object union */
3224
+ export type CustomEmailRelatedObject = AppointmentType | Course | Offering;
3099
3225
  /** A custom metric for a user */
3100
3226
  export type CustomMetric = {
3101
3227
  __typename?: 'CustomMetric';
@@ -3275,6 +3401,21 @@ export type CustomModuleForm = {
3275
3401
  /** The owner of the template */
3276
3402
  user?: Maybe<User>;
3277
3403
  };
3404
+ /** CustomModuleForm sorting enum */
3405
+ export declare enum CustomModuleFormOrderKeys {
3406
+ CreatedAtAsc = "CREATED_AT_ASC",
3407
+ CreatedAtDesc = "CREATED_AT_DESC",
3408
+ NameAsc = "NAME_ASC",
3409
+ NameDesc = "NAME_DESC",
3410
+ TypeAsc = "TYPE_ASC",
3411
+ TypeDesc = "TYPE_DESC",
3412
+ UpdatedAtAsc = "UPDATED_AT_ASC",
3413
+ UpdatedAtDesc = "UPDATED_AT_DESC",
3414
+ /** Sort by owner last name ascending */
3415
+ UserLastNameAsc = "USER_LAST_NAME_ASC",
3416
+ /** Sort by owner last name descending */
3417
+ UserLastNameDesc = "USER_LAST_NAME_DESC"
3418
+ }
3278
3419
  /** A custom sidebar override */
3279
3420
  export type CustomSidebarOverride = {
3280
3421
  __typename?: 'CustomSidebarOverride';
@@ -3378,6 +3519,14 @@ export type DietitianInput = {
3378
3519
  /** The qualifications of the dietitian */
3379
3520
  qualifications?: InputMaybe<Scalars['String']>;
3380
3521
  };
3522
+ /** Information on the direct message attachment */
3523
+ export type DirectMessageAttachment = {
3524
+ __typename?: 'DirectMessageAttachment';
3525
+ /** The file name of the attachment */
3526
+ attachment_name?: Maybe<Scalars['String']>;
3527
+ /** The unique ID of the direct message attachment */
3528
+ id?: Maybe<Scalars['ID']>;
3529
+ };
3381
3530
  /** A discount from stripe as object */
3382
3531
  export type Discount = {
3383
3532
  __typename?: 'Discount';
@@ -3454,9 +3603,18 @@ export type Document = {
3454
3603
  export type DocumentCreated_AtArgs = {
3455
3604
  viewable_user_id?: InputMaybe<Scalars['String']>;
3456
3605
  };
3606
+ /** Document sorting enum */
3607
+ export declare enum DocumentOrderKeys {
3608
+ CreatedAtAsc = "CREATED_AT_ASC",
3609
+ CreatedAtDesc = "CREATED_AT_DESC",
3610
+ NameAsc = "NAME_ASC",
3611
+ NameDesc = "NAME_DESC"
3612
+ }
3457
3613
  /** Information about a document being opened */
3458
3614
  export type DocumentViewing = {
3459
3615
  __typename?: 'DocumentViewing';
3616
+ /** Pagination cursor */
3617
+ cursor: Scalars['Cursor'];
3460
3618
  /** The ID of the document that was opened */
3461
3619
  document_id: Scalars['ID'];
3462
3620
  /** The unique identifier of the viewing */
@@ -3622,6 +3780,37 @@ export type Entry = {
3622
3780
  /** A check to see if the entry has been viewed or not */
3623
3781
  viewed: Scalars['Boolean'];
3624
3782
  };
3783
+ /** Entry sorting enum */
3784
+ export declare enum EntryOrderKeys {
3785
+ CreatedAtAsc = "CREATED_AT_ASC",
3786
+ CreatedAtDesc = "CREATED_AT_DESC",
3787
+ MetricStatAsc = "METRIC_STAT_ASC",
3788
+ MetricStatDesc = "METRIC_STAT_DESC",
3789
+ ThirdPartySourceAsc = "THIRD_PARTY_SOURCE_ASC",
3790
+ ThirdPartySourceDesc = "THIRD_PARTY_SOURCE_DESC",
3791
+ Unsorted = "UNSORTED",
3792
+ UpdatedAtAsc = "UPDATED_AT_ASC",
3793
+ UpdatedAtDesc = "UPDATED_AT_DESC"
3794
+ }
3795
+ /** Autogenerated input type of ExtendPaywall */
3796
+ export type ExtendPaywallInput = {
3797
+ extended_paywall_date: Scalars['String'];
3798
+ force_extension?: InputMaybe<Scalars['Boolean']>;
3799
+ id: Scalars['ID'];
3800
+ };
3801
+ /** Autogenerated return type of ExtendPaywall. */
3802
+ export type ExtendPaywallPayload = {
3803
+ __typename?: 'ExtendPaywallPayload';
3804
+ additional_info?: Maybe<Scalars['String']>;
3805
+ /**
3806
+ * DO NOT USE
3807
+ * @deprecated DO NOT USE
3808
+ */
3809
+ clientMutationId?: Maybe<Scalars['String']>;
3810
+ /** The list of errors occurred during the mutation */
3811
+ messages?: Maybe<Array<Maybe<FieldError>>>;
3812
+ success_string?: Maybe<Scalars['String']>;
3813
+ };
3625
3814
  /** An object containing info about the provider's exrernal calendar */
3626
3815
  export type ExternalCalendar = {
3627
3816
  __typename?: 'ExternalCalendar';
@@ -3648,6 +3837,16 @@ export type ExternalCalendar = {
3648
3837
  /** The resource name (sync partner assigned ID) for the sync */
3649
3838
  resource_name?: Maybe<Scalars['String']>;
3650
3839
  };
3840
+ /** A family history condition record for a client */
3841
+ export type FamilyHistoryCondition = {
3842
+ __typename?: 'FamilyHistoryCondition';
3843
+ /** The unique identifier of the family history condition */
3844
+ id: Scalars['ID'];
3845
+ /** Enum field for family relationships */
3846
+ relationships?: Maybe<Array<Scalars['String']>>;
3847
+ /** snomed term associated with the condition */
3848
+ snomed_term?: Maybe<SnomedTerm>;
3849
+ };
3651
3850
  /** Attributes to change a fax dietitian */
3652
3851
  export type FaxDietitianInput = {
3653
3852
  /** The custom identifier of the fax dietitian */
@@ -3703,11 +3902,11 @@ export type FeatureToggle = {
3703
3902
  allow_apple_health_sync: Scalars['Boolean'];
3704
3903
  /** Allow clients to sync with Clearstep */
3705
3904
  allow_clearstep_sync: Scalars['Boolean'];
3706
- /** Allow send meessages to community chat */
3905
+ /** Allow send messages to community chat */
3707
3906
  allow_community_chat: Scalars['Boolean'];
3708
3907
  /** Allow clients to sync with Dexcom */
3709
3908
  allow_dexcom_sync?: Maybe<Scalars['Boolean']>;
3710
- /** Allow send meessages to direct chat */
3909
+ /** Allow send messages to direct chat */
3711
3910
  allow_direct_chat: Scalars['Boolean'];
3712
3911
  /** Allow clients to sync with Fitbit */
3713
3912
  allow_fitbit_sync: Scalars['Boolean'];
@@ -3984,11 +4183,20 @@ export type FolderCreated_AtArgs = {
3984
4183
  export type FolderFolder_PathArgs = {
3985
4184
  client_id?: InputMaybe<Scalars['String']>;
3986
4185
  };
4186
+ /** Folder sorting enum */
4187
+ export declare enum FolderOrderKeys {
4188
+ CreatedAtAsc = "CREATED_AT_ASC",
4189
+ CreatedAtDesc = "CREATED_AT_DESC",
4190
+ NameAsc = "NAME_ASC",
4191
+ NameDesc = "NAME_DESC"
4192
+ }
3987
4193
  /** A food object */
3988
4194
  export type Food = {
3989
4195
  __typename?: 'Food';
3990
4196
  /** The name of the food creator */
3991
4197
  creator_name?: Maybe<Scalars['String']>;
4198
+ /** Pagination cursor */
4199
+ cursor: Scalars['Cursor'];
3992
4200
  /** first serving size of the food object */
3993
4201
  default_serving_size?: Maybe<ServingSize>;
3994
4202
  /** The name of the food to display */
@@ -4036,7 +4244,7 @@ export type FoodNutrient = {
4036
4244
  /** The unit of the nutrient */
4037
4245
  nutrient_unit?: Maybe<Scalars['String']>;
4038
4246
  /** The value of the nutrient */
4039
- nutrient_value: Scalars['Float'];
4247
+ nutrient_value?: Maybe<Scalars['Float']>;
4040
4248
  };
4041
4249
  /** An answer in a filled form */
4042
4250
  export type FormAnswer = {
@@ -4095,6 +4303,8 @@ export type FormAnswerGroup = {
4095
4303
  form_answer_group_users_connections?: Maybe<Array<FormAnswerGroupUserConnection>>;
4096
4304
  /** The visible answers for the filled form */
4097
4305
  form_answers: Array<FormAnswer>;
4306
+ /** when true, the note cannot be edited */
4307
+ frozen?: Maybe<Scalars['Boolean']>;
4098
4308
  /** All patients that have attended in the related group appointment */
4099
4309
  group_appointment_attendees?: Maybe<Array<User>>;
4100
4310
  /** The unique identifier of the group */
@@ -4130,12 +4340,22 @@ export type FormAnswerGroupForm_AnswersArgs = {
4130
4340
  };
4131
4341
  /** A completed form, with metadata about the completion, and the saved answers */
4132
4342
  export type FormAnswerGroupIndividual_Client_NotesArgs = {
4133
- sort_by?: InputMaybe<IndividualClientNoteSorting>;
4343
+ order_by?: InputMaybe<IndividualClientNoteOrderKeys>;
4134
4344
  };
4135
4345
  /** A completed form, with metadata about the completion, and the saved answers */
4136
4346
  export type FormAnswerGroupIndividual_NoteArgs = {
4137
4347
  user_id?: InputMaybe<Scalars['ID']>;
4138
4348
  };
4349
+ /** FormAnswerGroup sorting enum */
4350
+ export declare enum FormAnswerGroupOrderKeys {
4351
+ CreatedAtAsc = "CREATED_AT_ASC",
4352
+ CreatedAtDesc = "CREATED_AT_DESC",
4353
+ RecordCreatedAtAsc = "RECORD_CREATED_AT_ASC",
4354
+ RecordCreatedAtDesc = "RECORD_CREATED_AT_DESC",
4355
+ Unsorted = "UNSORTED",
4356
+ UpdatedAtAsc = "UPDATED_AT_ASC",
4357
+ UpdatedAtDesc = "UPDATED_AT_DESC"
4358
+ }
4139
4359
  /** An instance representing connection between a charting note(form_answer_group) and a user signing the note */
4140
4360
  export type FormAnswerGroupSigning = {
4141
4361
  __typename?: 'FormAnswerGroupSigning';
@@ -4409,6 +4629,21 @@ export type GoalInstance = {
4409
4629
  /** The date the interval starts for this goal instance */
4410
4630
  start_range?: Maybe<Scalars['String']>;
4411
4631
  };
4632
+ /** Goal sorting enum */
4633
+ export declare enum GoalOrderKeys {
4634
+ DueDateAsc = "DUE_DATE_ASC",
4635
+ DueDateDesc = "DUE_DATE_DESC",
4636
+ /** Order by due date and start date descending */
4637
+ DueDateStartDateDesc = "DUE_DATE_START_DATE_DESC",
4638
+ FrequencyAsc = "FREQUENCY_ASC",
4639
+ FrequencyDesc = "FREQUENCY_DESC",
4640
+ NameAsc = "NAME_ASC",
4641
+ NameDesc = "NAME_DESC",
4642
+ StartDateAsc = "START_DATE_ASC",
4643
+ StartDateDesc = "START_DATE_DESC",
4644
+ StatusAsc = "STATUS_ASC",
4645
+ StatusDesc = "STATUS_DESC"
4646
+ }
4412
4647
  /** Related info for a collection of goals overall completion rate */
4413
4648
  export type GoalOverallCompletionRateInfo = {
4414
4649
  __typename?: 'GoalOverallCompletionRateInfo';
@@ -4630,6 +4865,17 @@ export type IcdCode = {
4630
4865
  export type IcdCodeIs_FavoriteArgs = {
4631
4866
  known_value?: InputMaybe<Scalars['Boolean']>;
4632
4867
  };
4868
+ /** ICD Code sorting enum */
4869
+ export declare enum IcdCodeOrderKeys {
4870
+ CodeAsc = "CODE_ASC",
4871
+ CodeDesc = "CODE_DESC",
4872
+ CreatedAtAsc = "CREATED_AT_ASC",
4873
+ CreatedAtDesc = "CREATED_AT_DESC",
4874
+ FavoritesAsc = "FAVORITES_ASC",
4875
+ FavoritesDesc = "FAVORITES_DESC",
4876
+ UpdatedAtAsc = "UPDATED_AT_ASC",
4877
+ UpdatedAtDesc = "UPDATED_AT_DESC"
4878
+ }
4633
4879
  /** icd codes cms 1500s join table */
4634
4880
  export type IcdCodesCms1500 = {
4635
4881
  __typename?: 'IcdCodesCms1500';
@@ -4769,6 +5015,62 @@ export type Immunization = {
4769
5015
  /** The description of the code */
4770
5016
  vaccine_name: Scalars['String'];
4771
5017
  };
5018
+ /** An implantable device */
5019
+ export type ImplantableDevice = {
5020
+ __typename?: 'ImplantableDevice';
5021
+ /** Brand name of the implantable device. */
5022
+ brand_name?: Maybe<Scalars['String']>;
5023
+ /** Name of the company that manufactures the implantable device. */
5024
+ company_name?: Maybe<Scalars['String']>;
5025
+ /** A string representation of the date/time when the device record was created in the database. */
5026
+ created_at?: Maybe<Scalars['String']>;
5027
+ /** A unique identifier assigned to the device. */
5028
+ device_id?: Maybe<Scalars['String']>;
5029
+ /** The agency that issued the device identifier. */
5030
+ device_id_issuing_agency?: Maybe<Scalars['String']>;
5031
+ /** Dun & Bradstreet number (DUNS number) is a unique nine-digit identifier for businesses. */
5032
+ duns_number?: Maybe<Scalars['String']>;
5033
+ /** Global Medical Device Nomenclature (GMDN) terms, a system of internationally agreed generic descriptors used to identify all medical device products. */
5034
+ gmdn_terms?: Maybe<Scalars['String']>;
5035
+ /** The unique identifier of the implantable device type */
5036
+ id: Scalars['ID'];
5037
+ /** Whether the device contains natural rubber latex or not. */
5038
+ labeled_contains_nrl?: Maybe<Scalars['String']>;
5039
+ /** Status of the device's safety in an MRI environment (e.g., safe, conditional, unsafe). */
5040
+ mri_safety_status?: Maybe<Scalars['String']>;
5041
+ /** Key of the device's public record. */
5042
+ public_device_record_key?: Maybe<Scalars['String']>;
5043
+ /** Date when the public version of the device record was created or updated. */
5044
+ public_version_date?: Maybe<Scalars['String']>;
5045
+ /** Version number of the public device record. */
5046
+ public_version_number?: Maybe<Scalars['String']>;
5047
+ /** Status of the public version of the device record (e.g., active, retired). */
5048
+ public_version_status?: Maybe<Scalars['String']>;
5049
+ /** A string representation of the date/time when the device record was last updated in the database. */
5050
+ updated_at?: Maybe<Scalars['String']>;
5051
+ /** Version or model number of the device. */
5052
+ version_model_number?: Maybe<Scalars['String']>;
5053
+ };
5054
+ /** An Implantable Device User */
5055
+ export type ImplantableDeviceUser = {
5056
+ __typename?: 'ImplantableDeviceUser';
5057
+ /** A boolean value representing if the Implantable Device is currently active. */
5058
+ active?: Maybe<Scalars['Boolean']>;
5059
+ /** Unique identifier for the Implantable Device User connection record. */
5060
+ id?: Maybe<Scalars['ID']>;
5061
+ /** Details of the Implantable Device. */
5062
+ implantable_device?: Maybe<ImplantableDevice>;
5063
+ /** Unique identifier for the associated Implantable Device record. */
5064
+ implantable_device_id?: Maybe<Scalars['ID']>;
5065
+ /** User provided name for the Implantable Device. */
5066
+ name?: Maybe<Scalars['String']>;
5067
+ /** Recorded UDI for this associated Implantable Device User record. */
5068
+ udi?: Maybe<Scalars['String']>;
5069
+ /** User associated with the Implantable Device, including all User details. */
5070
+ user?: Maybe<User>;
5071
+ /** Unique identifier for the associated User record. */
5072
+ user_id?: Maybe<Scalars['ID']>;
5073
+ };
4772
5074
  /** An object containing info about the import data request */
4773
5075
  export type ImportDataRequest = {
4774
5076
  __typename?: 'ImportDataRequest';
@@ -4787,6 +5089,8 @@ export type ImportDataRequest = {
4787
5089
  };
4788
5090
  /** Payload for an individual client note */
4789
5091
  export type IndividualClientNoteInput = {
5092
+ /** The client's attendance status. This gets applied to the AppointmentInclusion object */
5093
+ attended?: InputMaybe<Scalars['Boolean']>;
4790
5094
  /** The content of the individual client note */
4791
5095
  content?: InputMaybe<Scalars['String']>;
4792
5096
  /** Diagnoses connected to the individual client attendance */
@@ -4801,8 +5105,15 @@ export type IndividualClientNoteInput = {
4801
5105
  user_id?: InputMaybe<Scalars['ID']>;
4802
5106
  };
4803
5107
  /** Individual client note sorting enum */
5108
+ export declare enum IndividualClientNoteOrderKeys {
5109
+ AttendedDesc = "ATTENDED_DESC",
5110
+ CreatedAtDesc = "CREATED_AT_DESC"
5111
+ }
5112
+ /** Individual client note sorting enum */
4804
5113
  export declare enum IndividualClientNoteSorting {
5114
+ /** @deprecated Use `IndividualClientNoteOrderKeys` and `order_by` instead */
4805
5115
  AttendedDesc = "ATTENDED_DESC",
5116
+ /** @deprecated Use `IndividualClientNoteOrderKeys` and `order_by` instead */
4806
5117
  CreatedAtDesc = "CREATED_AT_DESC"
4807
5118
  }
4808
5119
  /** An object containing an individual note for certain patient associated with group charting note */
@@ -4914,6 +5225,10 @@ export type InsuranceAuthorizationType = {
4914
5225
  /** An Insurance Plan */
4915
5226
  export type InsurancePlan = {
4916
5227
  __typename?: 'InsurancePlan';
5228
+ /** The Eligibility Payer ID for eligibility requests in Change that this maps to */
5229
+ change_healthcare_eligibility_payer_id?: Maybe<Scalars['String']>;
5230
+ /** The Payer ID for claims requests in Change that this maps to */
5231
+ change_healthcare_payer_id?: Maybe<Scalars['String']>;
4917
5232
  /** Location of the first policy associated to the current user and insurance plan */
4918
5233
  default_payer_location?: Maybe<Location>;
4919
5234
  /** The unique identifier of the plan */
@@ -4947,6 +5262,11 @@ export type InsurancePlanInput = {
4947
5262
  /** The name of the payer */
4948
5263
  payer_name?: InputMaybe<Scalars['String']>;
4949
5264
  };
5265
+ /** InsurancePlan sorting enum */
5266
+ export declare enum InsurancePlanOrderKeys {
5267
+ Accepted = "ACCEPTED",
5268
+ PayerNameAsc = "PAYER_NAME_ASC"
5269
+ }
4950
5270
  /** The intake flow item */
4951
5271
  export type IntakeFlowItem = {
4952
5272
  __typename?: 'IntakeFlowItem';
@@ -4983,6 +5303,17 @@ export type IntakeFlowItem = {
4983
5303
  /** View url */
4984
5304
  view_url?: Maybe<Scalars['String']>;
4985
5305
  };
5306
+ /** IntakeFlow sorting enum */
5307
+ export declare enum IntakeFlowOrderKeys {
5308
+ DateAsc = "DATE_ASC",
5309
+ DateDesc = "DATE_DESC",
5310
+ NameAsc = "NAME_ASC",
5311
+ NameDesc = "NAME_DESC",
5312
+ StatusAsc = "STATUS_ASC",
5313
+ StatusDesc = "STATUS_DESC",
5314
+ TypeAsc = "TYPE_ASC",
5315
+ TypeDesc = "TYPE_DESC"
5316
+ }
4986
5317
  /** Intake Flow */
4987
5318
  export type IntakeFlowType = {
4988
5319
  __typename?: 'IntakeFlowType';
@@ -5157,6 +5488,21 @@ export type LabOrder = {
5157
5488
  /** Link to view the rupa order */
5158
5489
  view_rupa_order_url?: Maybe<Scalars['String']>;
5159
5490
  };
5491
+ /** LabOrder sorting enum */
5492
+ export declare enum LabOrderOrderKeys {
5493
+ ApptAsc = "APPT_ASC",
5494
+ ApptDesc = "APPT_DESC",
5495
+ ClientLastNameAsc = "CLIENT_LAST_NAME_ASC",
5496
+ ClientLastNameDesc = "CLIENT_LAST_NAME_DESC",
5497
+ LabAsc = "LAB_ASC",
5498
+ LabDesc = "LAB_DESC",
5499
+ NameAsc = "NAME_ASC",
5500
+ NameDesc = "NAME_DESC",
5501
+ ProviderLastNameAsc = "PROVIDER_LAST_NAME_ASC",
5502
+ ProviderLastNameDesc = "PROVIDER_LAST_NAME_DESC",
5503
+ UpdatedAtAsc = "UPDATED_AT_ASC",
5504
+ UpdatedAtDesc = "UPDATED_AT_DESC"
5505
+ }
5160
5506
  /** Lab Result */
5161
5507
  export type LabResult = {
5162
5508
  __typename?: 'LabResult';
@@ -5174,6 +5520,8 @@ export type LabResult = {
5174
5520
  patient?: Maybe<User>;
5175
5521
  /** The type of the lab result */
5176
5522
  result_type?: Maybe<Scalars['String']>;
5523
+ /** The status of the result */
5524
+ status_flag?: Maybe<Scalars['String']>;
5177
5525
  };
5178
5526
  /** A location */
5179
5527
  export type Location = {
@@ -5533,6 +5881,8 @@ export type Mutation = {
5533
5881
  createEntry?: Maybe<CreateEntryPayload>;
5534
5882
  /** Create an External Calendar */
5535
5883
  createExternalCalendar?: Maybe<CreateExternalCalendarPayload>;
5884
+ /** Create Family History */
5885
+ createFamilyHistory?: Maybe<CreateFamilyHistoryPayload>;
5536
5886
  /** create Fax Acct Info */
5537
5887
  createFaxAcctInfo?: Maybe<CreateFaxAcctInfoPayload>;
5538
5888
  /** Create and return a fax line request */
@@ -5563,6 +5913,8 @@ export type Mutation = {
5563
5913
  createHealthConcern?: Maybe<CreateHealthConcernPayload>;
5564
5914
  /** Create an Immunization */
5565
5915
  createImmunization?: Maybe<CreateImmunizationPayload>;
5916
+ /** Create Implantable Device User association */
5917
+ createImplantableDeviceUser?: Maybe<CreateImplantableDeviceUserPayload>;
5566
5918
  /** Create an import data request */
5567
5919
  createImportDataRequest?: Maybe<CreateImportDataRequestPayload>;
5568
5920
  /** create an insurance authorization */
@@ -5629,6 +5981,8 @@ export type Mutation = {
5629
5981
  createRequestedPayment?: Maybe<CreateRequestedPaymentPayload>;
5630
5982
  /** Create a Rupa order */
5631
5983
  createRupaOrder?: Maybe<CreateRupaOrderPayload>;
5984
+ /** Create a sent direct message */
5985
+ createSentDirectMessage?: Maybe<CreateSentDirectMessagePayload>;
5632
5986
  /** create Sent Fax */
5633
5987
  createSentFax?: Maybe<CreateSentFaxPayload>;
5634
5988
  /** Create a Smart Phrase */
@@ -5713,6 +6067,8 @@ export type Mutation = {
5713
6067
  deleteEntry?: Maybe<DeleteEntryPayload>;
5714
6068
  /** Destroy an External Calendar */
5715
6069
  deleteExternalCalendar?: Maybe<DeleteExternalCalendarPayload>;
6070
+ /** Delete a Family History Condition */
6071
+ deleteFamilyHistory?: Maybe<DeleteFamilyHistoryPayload>;
5716
6072
  /** destroy Fax Acct Info */
5717
6073
  deleteFaxAcctInfo?: Maybe<DestroyFaxAcctInfoPayload>;
5718
6074
  /** Destroy Fitbit */
@@ -5731,6 +6087,8 @@ export type Mutation = {
5731
6087
  deleteGoogleFit?: Maybe<DeleteGoogleFitPayload>;
5732
6088
  /** Delete a HealthConcern Object */
5733
6089
  deleteHealthConcern?: Maybe<DeleteHealthConcernPayload>;
6090
+ /** Delete an Implantable Device User association */
6091
+ deleteImplantableDeviceUser?: Maybe<DeleteImplantableDeviceUserPayload>;
5734
6092
  /** delete an insurance authorization */
5735
6093
  deleteInsuranceAuthorization?: Maybe<DeleteInsuranceAuthorizationPayload>;
5736
6094
  /** Delete Insurance Plan */
@@ -5815,8 +6173,14 @@ export type Mutation = {
5815
6173
  editAvailability?: Maybe<EditAvailabilityPayload>;
5816
6174
  /** Embed Forms to Objects */
5817
6175
  embedForm?: Maybe<EmbedFormPayload>;
6176
+ /** Generate Patients Dosespot SSO for a Given Provider */
6177
+ enableDosespotSelfSignup?: Maybe<EnableSelfSignupPayload>;
5818
6178
  /** Creates a template from existing Care Plan. Original object is not touched */
5819
6179
  exportCarePlanToTemplate?: Maybe<ExportToTemplatePayload>;
6180
+ /** Export Client EHI data */
6181
+ exportClientEhi?: Maybe<ExportClientEhiPayload>;
6182
+ /** extend paywall for a provider */
6183
+ extendPaywall?: Maybe<ExtendPaywallPayload>;
5820
6184
  /** Generate a PDF of charting notes for a client */
5821
6185
  generateChartingPdf?: Maybe<GenerateChartingPdfPayload>;
5822
6186
  /** Generate Patients Dosespot SSO for a Given Provider */
@@ -5881,6 +6245,8 @@ export type Mutation = {
5881
6245
  togglePaywall?: Maybe<TogglePaywallPayload>;
5882
6246
  /** Toggle Reason for Appointment on Appointment Type of Provider */
5883
6247
  toggleReasonForAppt?: Maybe<ToggleReasonForApptPayload>;
6248
+ /** Unlock Charting Note */
6249
+ unlockChartingNote?: Maybe<UnlockChartingNotePayload>;
5884
6250
  /** Update a Notification Setting to unsubscribe from a specific notification type */
5885
6251
  unsubscribeFromNotification?: Maybe<UnsubscribeFromNotificationPayload>;
5886
6252
  /** Update existing addendum for the selected charting note */
@@ -5957,6 +6323,8 @@ export type Mutation = {
5957
6323
  updateEntry?: Maybe<UpdateEntryPayload>;
5958
6324
  /** Update an External Calendar */
5959
6325
  updateExternalCalendar?: Maybe<UpdateExternalCalendarPayload>;
6326
+ /** Update Family History */
6327
+ updateFamilyHistory?: Maybe<UpdateFamilyHistoryPayload>;
5960
6328
  /** update Fax Acct Info */
5961
6329
  updateFaxAcctInfo?: Maybe<UpdateFaxAcctInfoPayload>;
5962
6330
  /** Update a FeatureToggle and Return FeatureToggle */
@@ -5981,6 +6349,8 @@ export type Mutation = {
5981
6349
  updateHuman?: Maybe<UpdateHumanPayload>;
5982
6350
  /** Update an Immunization and return Immunization */
5983
6351
  updateImmunization?: Maybe<UpdateImmunizationPayload>;
6352
+ /** Update Implantable Device User association */
6353
+ updateImplantableDeviceUser?: Maybe<UpdateImplantableDeviceUserPayload>;
5984
6354
  /** update an insurance authorization */
5985
6355
  updateInsuranceAuthorization?: Maybe<UpdateInsuranceAuthorizationPayload>;
5986
6356
  /** Update Insurance Plan */
@@ -6339,6 +6709,10 @@ export type MutationCreateExternalCalendarArgs = {
6339
6709
  input?: InputMaybe<CreateExternalCalendarInput>;
6340
6710
  };
6341
6711
  /** The mutation root of this schema. See available mutations. */
6712
+ export type MutationCreateFamilyHistoryArgs = {
6713
+ input?: InputMaybe<CreateFamilyHistoryInput>;
6714
+ };
6715
+ /** The mutation root of this schema. See available mutations. */
6342
6716
  export type MutationCreateFaxAcctInfoArgs = {
6343
6717
  input?: InputMaybe<CreateFaxAcctInfoInput>;
6344
6718
  };
@@ -6399,6 +6773,10 @@ export type MutationCreateImmunizationArgs = {
6399
6773
  input?: InputMaybe<CreateImmunizationInput>;
6400
6774
  };
6401
6775
  /** The mutation root of this schema. See available mutations. */
6776
+ export type MutationCreateImplantableDeviceUserArgs = {
6777
+ input?: InputMaybe<CreateImplantableDeviceUserInput>;
6778
+ };
6779
+ /** The mutation root of this schema. See available mutations. */
6402
6780
  export type MutationCreateImportDataRequestArgs = {
6403
6781
  input?: InputMaybe<CreateImportDataRequestInput>;
6404
6782
  };
@@ -6531,6 +6909,10 @@ export type MutationCreateRupaOrderArgs = {
6531
6909
  input?: InputMaybe<CreateRupaOrderInput>;
6532
6910
  };
6533
6911
  /** The mutation root of this schema. See available mutations. */
6912
+ export type MutationCreateSentDirectMessageArgs = {
6913
+ input?: InputMaybe<CreateSentDirectMessageInput>;
6914
+ };
6915
+ /** The mutation root of this schema. See available mutations. */
6534
6916
  export type MutationCreateSentFaxArgs = {
6535
6917
  input?: InputMaybe<CreateSentFaxInput>;
6536
6918
  };
@@ -6699,6 +7081,10 @@ export type MutationDeleteExternalCalendarArgs = {
6699
7081
  input?: InputMaybe<DeleteExternalCalendarInput>;
6700
7082
  };
6701
7083
  /** The mutation root of this schema. See available mutations. */
7084
+ export type MutationDeleteFamilyHistoryArgs = {
7085
+ input?: InputMaybe<DeleteFamilyHistoryInput>;
7086
+ };
7087
+ /** The mutation root of this schema. See available mutations. */
6702
7088
  export type MutationDeleteFaxAcctInfoArgs = {
6703
7089
  input?: InputMaybe<DestroyFaxAcctInfoInput>;
6704
7090
  };
@@ -6735,6 +7121,10 @@ export type MutationDeleteHealthConcernArgs = {
6735
7121
  input?: InputMaybe<DeleteHealthConcernInput>;
6736
7122
  };
6737
7123
  /** The mutation root of this schema. See available mutations. */
7124
+ export type MutationDeleteImplantableDeviceUserArgs = {
7125
+ input?: InputMaybe<DeleteImplantableDeviceUserInput>;
7126
+ };
7127
+ /** The mutation root of this schema. See available mutations. */
6738
7128
  export type MutationDeleteInsuranceAuthorizationArgs = {
6739
7129
  input?: InputMaybe<DeleteInsuranceAuthorizationInput>;
6740
7130
  };
@@ -6903,10 +7293,22 @@ export type MutationEmbedFormArgs = {
6903
7293
  input?: InputMaybe<EmbedFormInput>;
6904
7294
  };
6905
7295
  /** The mutation root of this schema. See available mutations. */
7296
+ export type MutationEnableDosespotSelfSignupArgs = {
7297
+ input?: InputMaybe<EnableSelfSignupInput>;
7298
+ };
7299
+ /** The mutation root of this schema. See available mutations. */
6906
7300
  export type MutationExportCarePlanToTemplateArgs = {
6907
7301
  input?: InputMaybe<ExportToTemplateInput>;
6908
7302
  };
6909
7303
  /** The mutation root of this schema. See available mutations. */
7304
+ export type MutationExportClientEhiArgs = {
7305
+ input?: InputMaybe<ExportClientEhiInput>;
7306
+ };
7307
+ /** The mutation root of this schema. See available mutations. */
7308
+ export type MutationExtendPaywallArgs = {
7309
+ input?: InputMaybe<ExtendPaywallInput>;
7310
+ };
7311
+ /** The mutation root of this schema. See available mutations. */
6910
7312
  export type MutationGenerateChartingPdfArgs = {
6911
7313
  input?: InputMaybe<GenerateChartingPdfInput>;
6912
7314
  };
@@ -7035,6 +7437,10 @@ export type MutationToggleReasonForApptArgs = {
7035
7437
  input?: InputMaybe<ToggleReasonForApptInput>;
7036
7438
  };
7037
7439
  /** The mutation root of this schema. See available mutations. */
7440
+ export type MutationUnlockChartingNoteArgs = {
7441
+ input?: InputMaybe<UnlockChartingNoteInput>;
7442
+ };
7443
+ /** The mutation root of this schema. See available mutations. */
7038
7444
  export type MutationUnsubscribeFromNotificationArgs = {
7039
7445
  input?: InputMaybe<UnsubscribeFromNotificationInput>;
7040
7446
  };
@@ -7187,6 +7593,10 @@ export type MutationUpdateExternalCalendarArgs = {
7187
7593
  input?: InputMaybe<UpdateExternalCalendarInput>;
7188
7594
  };
7189
7595
  /** The mutation root of this schema. See available mutations. */
7596
+ export type MutationUpdateFamilyHistoryArgs = {
7597
+ input?: InputMaybe<UpdateFamilyHistoryInput>;
7598
+ };
7599
+ /** The mutation root of this schema. See available mutations. */
7190
7600
  export type MutationUpdateFaxAcctInfoArgs = {
7191
7601
  input?: InputMaybe<UpdateFaxAcctInfoInput>;
7192
7602
  };
@@ -7235,6 +7645,10 @@ export type MutationUpdateImmunizationArgs = {
7235
7645
  input?: InputMaybe<UpdateImmunizationInput>;
7236
7646
  };
7237
7647
  /** The mutation root of this schema. See available mutations. */
7648
+ export type MutationUpdateImplantableDeviceUserArgs = {
7649
+ input?: InputMaybe<UpdateImplantableDeviceUserInput>;
7650
+ };
7651
+ /** The mutation root of this schema. See available mutations. */
7238
7652
  export type MutationUpdateInsuranceAuthorizationArgs = {
7239
7653
  input?: InputMaybe<UpdateInsuranceAuthorizationInput>;
7240
7654
  };
@@ -7516,6 +7930,11 @@ export type NoteInput = {
7516
7930
  /** The content of the note */
7517
7931
  content?: InputMaybe<Scalars['String']>;
7518
7932
  };
7933
+ /** Note sorting enum */
7934
+ export declare enum NoteOrderKeys {
7935
+ CreatedAtAsc = "CREATED_AT_ASC",
7936
+ CreatedAtDesc = "CREATED_AT_DESC"
7937
+ }
7519
7938
  /** Scheduled chat notes */
7520
7939
  export type NoteScheduler = {
7521
7940
  __typename?: 'NoteScheduler';
@@ -7621,6 +8040,11 @@ export type NotificationContactInput = {
7621
8040
  /** The ID of the notification contact */
7622
8041
  id?: InputMaybe<Scalars['ID']>;
7623
8042
  };
8043
+ /** Notification sorting enum */
8044
+ export declare enum NotificationOrderKeys {
8045
+ CreatedAtAsc = "CREATED_AT_ASC",
8046
+ CreatedAtDesc = "CREATED_AT_DESC"
8047
+ }
7624
8048
  /** An object containing the users preferences on notification */
7625
8049
  export type NotificationSetting = {
7626
8050
  __typename?: 'NotificationSetting';
@@ -7835,15 +8259,19 @@ export type Offering = {
7835
8259
  row_order?: Maybe<Scalars['String']>;
7836
8260
  /** offering image id */
7837
8261
  selected_image_id?: Maybe<Scalars['String']>;
8262
+ /** show free text to customers on offerings of zero price */
8263
+ show_free_text: Scalars['Boolean'];
7838
8264
  /** show offering toggle */
7839
8265
  show_offering: Scalars['Boolean'];
8266
+ /** show price toggle */
8267
+ show_price: Scalars['Boolean'];
7840
8268
  /** start_fb_pixel */
7841
8269
  start_fb_pixel?: Maybe<Scalars['String']>;
7842
8270
  /** total of billing_items.amount_paid for a given offering */
7843
8271
  total_revenue?: Maybe<Scalars['Float']>;
7844
8272
  /** When false, the package is at its purchase cap, and cannot be bought by a client */
7845
8273
  under_purchase_cap?: Maybe<Scalars['Boolean']>;
7846
- /** udpated at */
8274
+ /** updated at */
7847
8275
  updated_at: Scalars['String'];
7848
8276
  /** The user who owns the package */
7849
8277
  user?: Maybe<User>;
@@ -7907,6 +8335,21 @@ export type OfferingCoupon = {
7907
8335
  /** The user id who created this offering coupon */
7908
8336
  user_id?: Maybe<Scalars['String']>;
7909
8337
  };
8338
+ /** OfferingCoupon sorting enum */
8339
+ export declare enum OfferingCouponOrderKeys {
8340
+ AmountAsc = "AMOUNT_ASC",
8341
+ AmountDesc = "AMOUNT_DESC",
8342
+ AppliesToAsc = "APPLIES_TO_ASC",
8343
+ AppliesToDesc = "APPLIES_TO_DESC",
8344
+ CodeAsc = "CODE_ASC",
8345
+ CodeDesc = "CODE_DESC",
8346
+ ExpiresAtAsc = "EXPIRES_AT_ASC",
8347
+ ExpiresAtDesc = "EXPIRES_AT_DESC",
8348
+ TotalUsageAsc = "TOTAL_USAGE_ASC",
8349
+ TotalUsageDesc = "TOTAL_USAGE_DESC",
8350
+ TypeAsc = "TYPE_ASC",
8351
+ TypeDesc = "TYPE_DESC"
8352
+ }
7910
8353
  /** Offering Course */
7911
8354
  export type OfferingCourse = {
7912
8355
  __typename?: 'OfferingCourse';
@@ -8017,6 +8460,16 @@ export type OfferingLabOption = {
8017
8460
  /** udpated at */
8018
8461
  updated_at: Scalars['String'];
8019
8462
  };
8463
+ /** Offering sorting enum */
8464
+ export declare enum OfferingOrderKeys {
8465
+ /** Sort by billing items count descending */
8466
+ BestSeller = "BEST_SELLER",
8467
+ NameAsc = "NAME_ASC",
8468
+ NameDesc = "NAME_DESC",
8469
+ PriceAsc = "PRICE_ASC",
8470
+ PriceDesc = "PRICE_DESC",
8471
+ SetOrder = "SET_ORDER"
8472
+ }
8020
8473
  /** Offering product type */
8021
8474
  export type OfferingProduct = {
8022
8475
  __typename?: 'OfferingProduct';
@@ -8108,6 +8561,15 @@ export type OnboardingFlow = {
8108
8561
  export type OnboardingFlowOnboarding_ItemsArgs = {
8109
8562
  custom_module_forms_only?: InputMaybe<Scalars['Boolean']>;
8110
8563
  };
8564
+ /** OnboardingFlow sorting enum */
8565
+ export declare enum OnboardingFlowOrderKeys {
8566
+ CreatedAtAsc = "CREATED_AT_ASC",
8567
+ CreatedAtDesc = "CREATED_AT_DESC",
8568
+ FormsCountAsc = "FORMS_COUNT_ASC",
8569
+ FormsCountDesc = "FORMS_COUNT_DESC",
8570
+ NameAsc = "NAME_ASC",
8571
+ NameDesc = "NAME_DESC"
8572
+ }
8111
8573
  /** An onboarding item that has something for the client to complete */
8112
8574
  export type OnboardingItem = {
8113
8575
  __typename?: 'OnboardingItem';
@@ -8394,6 +8856,8 @@ export type OrganizationInfoInput = {
8394
8856
  /** An organization membership */
8395
8857
  export type OrganizationMembership = {
8396
8858
  __typename?: 'OrganizationMembership';
8859
+ /** Allows group level actions (e.g. send group messages in chat, assigning group to course modules, request form completions from group) */
8860
+ allow_group_level_actions: Scalars['Boolean'];
8397
8861
  /** If true, clients who this org member has been added as a care team member will be able to schedule appointments with them. */
8398
8862
  allow_self_scheduling_in_care_team?: Maybe<Scalars['Boolean']>;
8399
8863
  /** If true, clients who this org member has been added as a care team member for will automatically see a Chat conversation with this org member. */
@@ -8474,6 +8938,8 @@ export type OrganizationMembership = {
8474
8938
  can_see_transfers?: Maybe<Scalars['Boolean']>;
8475
8939
  /** If true, the user can set a password for organization clients */
8476
8940
  can_set_client_password?: Maybe<Scalars['Boolean']>;
8941
+ /** If true, the user can share documents and folders with organizations members */
8942
+ can_share_documents_and_folders_with_org_members?: Maybe<Scalars['Boolean']>;
8477
8943
  /** If true, the user can sign charting notes other providers created */
8478
8944
  can_sign_others_charting_notes?: Maybe<Scalars['Boolean']>;
8479
8945
  /** If true, the user can sign charting notes they created */
@@ -8575,6 +9041,18 @@ export type OrganizationMembership = {
8575
9041
  /** The user attached to the organization membership */
8576
9042
  user?: Maybe<User>;
8577
9043
  };
9044
+ /** OrganizationMembership sorting enum */
9045
+ export declare enum OrganizationMembershipOrderKeys {
9046
+ FirstNameAsc = "FIRST_NAME_ASC",
9047
+ FirstNameDesc = "FIRST_NAME_DESC",
9048
+ LastNameAsc = "LAST_NAME_ASC",
9049
+ LastNameDesc = "LAST_NAME_DESC",
9050
+ PositionAsc = "POSITION_ASC",
9051
+ StatusAsc = "STATUS_ASC",
9052
+ StatusDesc = "STATUS_DESC",
9053
+ TypeAsc = "TYPE_ASC",
9054
+ TypeDesc = "TYPE_DESC"
9055
+ }
8578
9056
  /** Alternative ID numbers for a provider */
8579
9057
  export type OtherIdNumber = {
8580
9058
  __typename?: 'OtherIdNumber';
@@ -8631,6 +9109,8 @@ export type PairAccountsPayload = {
8631
9109
  export type PatientInput = {
8632
9110
  /** The date of birth of the patient */
8633
9111
  dob?: InputMaybe<Scalars['String']>;
9112
+ /** The full legal name and preferred name of the patient */
9113
+ full_legal_name_with_preferred?: InputMaybe<Scalars['String']>;
8634
9114
  /** DEPRECATED: The gender of the patient */
8635
9115
  gender?: InputMaybe<Scalars['String']>;
8636
9116
  /** The ID of the patient */
@@ -8668,6 +9148,8 @@ export type PatientLocationInputs = {
8668
9148
  /** An permission templateType */
8669
9149
  export type PermissionTemplateType = {
8670
9150
  __typename?: 'PermissionTemplateType';
9151
+ /** Allows group level actions (e.g. send group messages in chat, assigning group to course modules, request form completions from group) */
9152
+ allow_group_level_actions: Scalars['Boolean'];
8671
9153
  /** If true, clients who this org member has been added as a care team member will be able to schedule appointments with them. */
8672
9154
  allow_self_scheduling_in_care_team?: Maybe<Scalars['Boolean']>;
8673
9155
  /** If true, clients who this org member has been added as a care team member for will automatically see a Chat conversation with this org member. */
@@ -8744,6 +9226,8 @@ export type PermissionTemplateType = {
8744
9226
  can_see_transfers?: Maybe<Scalars['Boolean']>;
8745
9227
  /** If true, user can set client passwords */
8746
9228
  can_set_client_password?: Maybe<Scalars['Boolean']>;
9229
+ /** If true, the user can share documents and folders with organizations members */
9230
+ can_share_documents_and_folders_with_org_members?: Maybe<Scalars['Boolean']>;
8747
9231
  /** If true, the user can sign charting notes other providers created */
8748
9232
  can_sign_others_charting_notes?: Maybe<Scalars['Boolean']>;
8749
9233
  /** If true, the user can sign charting notes they created */
@@ -9238,6 +9722,17 @@ export type ProductInput = {
9238
9722
  /** The product name */
9239
9723
  name?: InputMaybe<Scalars['String']>;
9240
9724
  };
9725
+ /** Product sorting enum */
9726
+ export declare enum ProductOrderKeys {
9727
+ CreatedAtAsc = "CREATED_AT_ASC",
9728
+ CreatedAtDesc = "CREATED_AT_DESC",
9729
+ NameAsc = "NAME_ASC",
9730
+ NameDesc = "NAME_DESC",
9731
+ PriceAsc = "PRICE_ASC",
9732
+ PriceDesc = "PRICE_DESC",
9733
+ QuantityAsc = "QUANTITY_ASC",
9734
+ QuantityDesc = "QUANTITY_DESC"
9735
+ }
9241
9736
  /** Profession */
9242
9737
  export type Profession = {
9243
9738
  __typename?: 'Profession';
@@ -9416,10 +9911,16 @@ export type Query = {
9416
9911
  changeClaimSubmitter?: Maybe<ChangeClaimSubmitter>;
9417
9912
  /** fetch a chargeback by the Healthie ID or the Stripe Dispute ID. */
9418
9913
  chargeBack?: Maybe<ChargeBack>;
9914
+ /** fetch all charge backs for a user or organization */
9915
+ chargeBacks?: Maybe<Array<ChargeBack>>;
9916
+ /** fetch count of all charge backs */
9917
+ chargeBacksCount?: Maybe<Scalars['Int']>;
9419
9918
  /** All items to include in the charting list */
9420
9919
  chartingItems?: Maybe<Array<ChartingItemType>>;
9421
9920
  /** All items to include in the charting list */
9422
9921
  chartingItemsCount?: Maybe<Scalars['Int']>;
9922
+ /** Fetch a charting note addendum by id */
9923
+ chartingNoteAddendum?: Maybe<ChartingNoteAddendumType>;
9423
9924
  /** fetch a Chat Setting */
9424
9925
  chatSetting?: Maybe<ChatSetting>;
9425
9926
  /** get current video chats for a user. */
@@ -9498,6 +9999,8 @@ export type Query = {
9498
9999
  currentUserNotificationsCount?: Maybe<UserNotificationsCount>;
9499
10000
  /** get current video chats for a user. */
9500
10001
  currentVideoChats?: Maybe<Array<Appointment>>;
10002
+ /** Custom Email object */
10003
+ customEmail?: Maybe<CustomEmail>;
9501
10004
  /** A HTML string containing mailer template for certain email type */
9502
10005
  customEmailPreview?: Maybe<Scalars['String']>;
9503
10006
  /** Fetch paginated custom emails collection */
@@ -9554,9 +10057,9 @@ export type Query = {
9554
10057
  foodSearchCount?: Maybe<Scalars['Int']>;
9555
10058
  /** Fetch a form answer group by id */
9556
10059
  formAnswerGroup?: Maybe<FormAnswerGroup>;
9557
- /** All filled forms for a given user */
10060
+ /** All filled forms for a given set of arguments */
9558
10061
  formAnswerGroups?: Maybe<Array<FormAnswerGroup>>;
9559
- /** All filled forms for a given user */
10062
+ /** The number of filled forms for a given set of a arguments */
9560
10063
  formAnswerGroupsCount?: Maybe<Scalars['Int']>;
9561
10064
  /** Fetch available forms to request */
9562
10065
  formTypesToRequest?: Maybe<Array<FormTypesToRequest>>;
@@ -9793,6 +10296,14 @@ export type Query = {
9793
10296
  questionBankModules?: Maybe<Array<CustomModule>>;
9794
10297
  /** Fetch receipt_line_items collection by super_bill_id */
9795
10298
  receiptLineItems?: Maybe<Array<ReceiptLineItem>>;
10299
+ /** Fetch received direct message via ID */
10300
+ receivedDirectMessage?: Maybe<ReceivedDirectMessage>;
10301
+ /** Fetch Received Direct Meessages */
10302
+ receivedDirectMessages?: Maybe<Array<ReceivedDirectMessage>>;
10303
+ /** Fetch number of Received Direct Meessages */
10304
+ receivedDirectMessagesCount?: Maybe<Scalars['Int']>;
10305
+ /** Fetch Received Fax by ID */
10306
+ receivedFax?: Maybe<ReceivedFax>;
9796
10307
  /** Fetch paginated Received Faxes collection */
9797
10308
  receivedFaxes?: Maybe<Array<ReceivedFax>>;
9798
10309
  /** Number of Received Faxes */
@@ -9803,6 +10314,8 @@ export type Query = {
9803
10314
  recurringForms?: Maybe<Array<RecurringForm>>;
9804
10315
  /** Fetch active recurring_payments */
9805
10316
  recurringPayments?: Maybe<Array<RecurringPayment>>;
10317
+ /** Fetch Referral by ID */
10318
+ referral?: Maybe<Referral>;
9806
10319
  /** Get referring physician based on id */
9807
10320
  referringPhysician?: Maybe<ReferringPhysician>;
9808
10321
  /** all referring physicians based on current user */
@@ -9819,14 +10332,18 @@ export type Query = {
9819
10332
  requestedPayments?: Maybe<Array<RequestedPayment>>;
9820
10333
  /** Number of Requested Payments */
9821
10334
  requestedPaymentsCount?: Maybe<Scalars['Int']>;
9822
- /** Only available to Internal Healthie Users -- Roles assigned to a given User */
9823
- roles?: Maybe<Array<Role>>;
9824
10335
  /** Fetch user's scheduled message blasts */
9825
10336
  scheduledMessageBlasts?: Maybe<Array<NoteScheduler>>;
9826
10337
  /** Fetch collection of all scheduled packages */
9827
10338
  scheduledUserPackageSelections?: Maybe<Array<ScheduledUserPackageSelection>>;
9828
10339
  /** SDK configuration */
9829
10340
  sdkConfig: SdkConfig;
10341
+ /** Fetch sent direct message via ID */
10342
+ sentDirectMessage?: Maybe<SentDirectMessage>;
10343
+ /** Fetch number of Sent Direct Messages */
10344
+ sentDirectMessages?: Maybe<Array<SentDirectMessage>>;
10345
+ /** Fetch number of Sent Direct Meessages */
10346
+ sentDirectMessagesCount?: Maybe<Scalars['Int']>;
9830
10347
  /** Fetch paginated Sent Faxes collection */
9831
10348
  sentFaxes?: Maybe<Array<SentFax>>;
9832
10349
  /** Number of Sent Faxes */
@@ -9877,18 +10394,8 @@ export type Query = {
9877
10394
  superBills?: Maybe<Array<SuperBill>>;
9878
10395
  /** Number of super bills */
9879
10396
  superBillsCount?: Maybe<Scalars['Int']>;
9880
- /** INTERNAL - Query for FormAnswer */
9881
- supportDashboardFormAnswer?: Maybe<SdFormAnswer>;
9882
- /** INTERNAL - Query for FormAnswerGroup */
9883
- supportDashboardFormAnswerGroup?: Maybe<SupportDashboardFormAnswerGroup>;
9884
- /** INTERNAL -- Query Lab Order Based on Order ID */
9885
- supportDashboardLabOrder?: Maybe<SdLabOrderType>;
9886
- /** INTERNAL -- Query User Object */
9887
- supportDashboardOrganization?: Maybe<SupportDashboardOrg>;
9888
- /** Rough Total Patient Count */
9889
- supportDashboardTotalPatientCount?: Maybe<Scalars['Int']>;
9890
- /** INTERNAL -- Query User Object */
9891
- supportDashboardUsers?: Maybe<SupportDashboardHuman>;
10397
+ /** Endpoint for Support Dashboard Queries */
10398
+ supportDashboard?: Maybe<SupportDashboardType>;
9892
10399
  /** A collection of tags related to current patient/provider/organization */
9893
10400
  tags?: Maybe<Array<Tag>>;
9894
10401
  /** Number of tags */
@@ -9960,9 +10467,11 @@ export type QueryAnnouncementArgs = {
9960
10467
  };
9961
10468
  /** The query root of this schema. See available queries. */
9962
10469
  export type QueryAnnouncementsArgs = {
10470
+ after?: InputMaybe<Scalars['Cursor']>;
9963
10471
  exclude_dismissed?: InputMaybe<Scalars['Boolean']>;
9964
10472
  keywords?: InputMaybe<Scalars['String']>;
9965
10473
  offset?: InputMaybe<Scalars['Int']>;
10474
+ page_size?: InputMaybe<Scalars['Int']>;
9966
10475
  should_paginate?: InputMaybe<Scalars['Boolean']>;
9967
10476
  };
9968
10477
  /** The query root of this schema. See available queries. */
@@ -9972,9 +10481,11 @@ export type QueryAnnouncementsCountArgs = {
9972
10481
  };
9973
10482
  /** The query root of this schema. See available queries. */
9974
10483
  export type QueryApiKeysArgs = {
10484
+ after?: InputMaybe<Scalars['Cursor']>;
9975
10485
  keywords?: InputMaybe<Scalars['String']>;
9976
10486
  offset?: InputMaybe<Scalars['Int']>;
9977
- sort_by?: InputMaybe<Scalars['String']>;
10487
+ order_by?: InputMaybe<ApiKeyOrderKeys>;
10488
+ page_size?: InputMaybe<Scalars['Int']>;
9978
10489
  };
9979
10490
  /** The query root of this schema. See available queries. */
9980
10491
  export type QueryApiKeysCountArgs = {
@@ -10053,12 +10564,14 @@ export type QueryAppointmentTypeCreditChangesArgs = {
10053
10564
  };
10054
10565
  /** The query root of this schema. See available queries. */
10055
10566
  export type QueryAppointmentTypesArgs = {
10567
+ after?: InputMaybe<Scalars['Cursor']>;
10056
10568
  appointment_type_ids?: InputMaybe<Scalars['String']>;
10057
10569
  clients_can_book?: InputMaybe<Scalars['Boolean']>;
10058
10570
  embed_or_sharing_link?: InputMaybe<Scalars['Boolean']>;
10059
10571
  keywords?: InputMaybe<Scalars['String']>;
10060
10572
  offering_id?: InputMaybe<Scalars['String']>;
10061
10573
  offset?: InputMaybe<Scalars['Int']>;
10574
+ order_by?: InputMaybe<AppointmentTypeOrderKeys>;
10062
10575
  org_level?: InputMaybe<Scalars['Boolean']>;
10063
10576
  page_size?: InputMaybe<Scalars['Int']>;
10064
10577
  provider_id?: InputMaybe<Scalars['String']>;
@@ -10080,6 +10593,8 @@ export type QueryAppointmentTypesCountArgs = {
10080
10593
  };
10081
10594
  /** The query root of this schema. See available queries. */
10082
10595
  export type QueryAppointmentsArgs = {
10596
+ after?: InputMaybe<Scalars['Cursor']>;
10597
+ attendee_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10083
10598
  colorSchemeId?: InputMaybe<Scalars['String']>;
10084
10599
  currentWeek?: InputMaybe<Scalars['Boolean']>;
10085
10600
  endDate?: InputMaybe<Scalars['String']>;
@@ -10105,12 +10620,12 @@ export type QueryAppointmentsArgs = {
10105
10620
  is_with_clients?: InputMaybe<Scalars['Boolean']>;
10106
10621
  keywords?: InputMaybe<Scalars['String']>;
10107
10622
  offset?: InputMaybe<Scalars['Int']>;
10623
+ order_by?: InputMaybe<AppointmentOrderKeys>;
10108
10624
  page_size?: InputMaybe<Scalars['Int']>;
10109
10625
  provider_id?: InputMaybe<Scalars['ID']>;
10110
10626
  provider_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10111
10627
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10112
10628
  show_appointments?: InputMaybe<Scalars['Boolean']>;
10113
- sort_by?: InputMaybe<Scalars['String']>;
10114
10629
  specificDay?: InputMaybe<Scalars['String']>;
10115
10630
  startDate?: InputMaybe<Scalars['String']>;
10116
10631
  unconfirmed?: InputMaybe<Scalars['Boolean']>;
@@ -10240,14 +10755,16 @@ export type QueryBillingItemArgs = {
10240
10755
  };
10241
10756
  /** The query root of this schema. See available queries. */
10242
10757
  export type QueryBillingItemsArgs = {
10758
+ after?: InputMaybe<Scalars['Cursor']>;
10243
10759
  client_id?: InputMaybe<Scalars['ID']>;
10244
10760
  created_at_end?: InputMaybe<Scalars['String']>;
10245
10761
  created_at_start?: InputMaybe<Scalars['String']>;
10246
10762
  keywords?: InputMaybe<Scalars['String']>;
10247
10763
  offerings_only?: InputMaybe<Scalars['Boolean']>;
10248
10764
  offset?: InputMaybe<Scalars['Int']>;
10765
+ order_by?: InputMaybe<BillingItemOrderKeys>;
10766
+ page_size?: InputMaybe<Scalars['Int']>;
10249
10767
  provider_id?: InputMaybe<Scalars['ID']>;
10250
- sort_by?: InputMaybe<Scalars['String']>;
10251
10768
  state?: InputMaybe<Scalars['String']>;
10252
10769
  status?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
10253
10770
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10291,7 +10808,7 @@ export type QueryCanCapOfferingPurchasesArgs = {
10291
10808
  /** The query root of this schema. See available queries. */
10292
10809
  export type QueryCardIssuesArgs = {
10293
10810
  offset?: InputMaybe<Scalars['Int']>;
10294
- sort_by?: InputMaybe<Scalars['String']>;
10811
+ order_by?: InputMaybe<StripeCustomerDetailOrderKeys>;
10295
10812
  };
10296
10813
  /** The query root of this schema. See available queries. */
10297
10814
  export type QueryCarePlanArgs = {
@@ -10301,8 +10818,8 @@ export type QueryCarePlanArgs = {
10301
10818
  /** The query root of this schema. See available queries. */
10302
10819
  export type QueryCarePlansArgs = {
10303
10820
  offset?: InputMaybe<Scalars['Int']>;
10821
+ order_by?: InputMaybe<CarePlanOrderKeys>;
10304
10822
  patient_id?: InputMaybe<Scalars['ID']>;
10305
- sort_by?: InputMaybe<Scalars['String']>;
10306
10823
  template_search_keywords?: InputMaybe<Scalars['String']>;
10307
10824
  templates_only?: InputMaybe<Scalars['Boolean']>;
10308
10825
  };
@@ -10320,6 +10837,17 @@ export type QueryChargeBackArgs = {
10320
10837
  stripe_dispute_id?: InputMaybe<Scalars['ID']>;
10321
10838
  };
10322
10839
  /** The query root of this schema. See available queries. */
10840
+ export type QueryChargeBacksArgs = {
10841
+ offset?: InputMaybe<Scalars['Int']>;
10842
+ order_by?: InputMaybe<ChargeBackOrderKeys>;
10843
+ per_page?: InputMaybe<Scalars['Int']>;
10844
+ show_all_for_org?: InputMaybe<Scalars['Boolean']>;
10845
+ };
10846
+ /** The query root of this schema. See available queries. */
10847
+ export type QueryChargeBacksCountArgs = {
10848
+ show_all_for_org?: InputMaybe<Scalars['Boolean']>;
10849
+ };
10850
+ /** The query root of this schema. See available queries. */
10323
10851
  export type QueryChartingItemsArgs = {
10324
10852
  custom_module_form_id?: InputMaybe<Scalars['ID']>;
10325
10853
  date?: InputMaybe<Scalars['String']>;
@@ -10348,6 +10876,10 @@ export type QueryChartingItemsCountArgs = {
10348
10876
  user_id?: InputMaybe<Scalars['String']>;
10349
10877
  };
10350
10878
  /** The query root of this schema. See available queries. */
10879
+ export type QueryChartingNoteAddendumArgs = {
10880
+ id?: InputMaybe<Scalars['ID']>;
10881
+ };
10882
+ /** The query root of this schema. See available queries. */
10351
10883
  export type QueryChatSettingArgs = {
10352
10884
  id?: InputMaybe<Scalars['ID']>;
10353
10885
  };
@@ -10364,9 +10896,9 @@ export type QueryCms1500sArgs = {
10364
10896
  client_id?: InputMaybe<Scalars['ID']>;
10365
10897
  keywords?: InputMaybe<Scalars['String']>;
10366
10898
  offset?: InputMaybe<Scalars['Int']>;
10899
+ order_by?: InputMaybe<Cms1500OrderKeys>;
10367
10900
  provider_id?: InputMaybe<Scalars['ID']>;
10368
10901
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10369
- sort_by?: InputMaybe<Scalars['String']>;
10370
10902
  status?: InputMaybe<Scalars['String']>;
10371
10903
  };
10372
10904
  /** The query root of this schema. See available queries. */
@@ -10387,6 +10919,7 @@ export type QueryCommentArgs = {
10387
10919
  };
10388
10920
  /** The query root of this schema. See available queries. */
10389
10921
  export type QueryCommentsArgs = {
10922
+ after?: InputMaybe<Scalars['Cursor']>;
10390
10923
  entry_id?: InputMaybe<Scalars['ID']>;
10391
10924
  entry_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10392
10925
  offset?: InputMaybe<Scalars['Int']>;
@@ -10419,12 +10952,16 @@ export type QueryConversationMembershipInviteesArgs = {
10419
10952
  /** The query root of this schema. See available queries. */
10420
10953
  export type QueryConversationMembershipsArgs = {
10421
10954
  active_status?: InputMaybe<Scalars['String']>;
10955
+ after?: InputMaybe<Scalars['Cursor']>;
10422
10956
  client_id?: InputMaybe<Scalars['String']>;
10423
10957
  conversation_type?: InputMaybe<Scalars['String']>;
10424
10958
  keywords?: InputMaybe<Scalars['String']>;
10425
10959
  notes_type?: InputMaybe<Scalars['String']>;
10426
10960
  offset?: InputMaybe<Scalars['Int']>;
10961
+ only_include_shared_memberships?: InputMaybe<Scalars['Boolean']>;
10962
+ order_by?: InputMaybe<ConversationMembershipOrderKeys>;
10427
10963
  org_chat?: InputMaybe<Scalars['Boolean']>;
10964
+ page_size?: InputMaybe<Scalars['Int']>;
10428
10965
  provider_id?: InputMaybe<Scalars['ID']>;
10429
10966
  provider_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10430
10967
  read_status?: InputMaybe<Scalars['String']>;
@@ -10436,6 +10973,7 @@ export type QueryConversationMembershipsCountArgs = {
10436
10973
  conversation_type?: InputMaybe<Scalars['String']>;
10437
10974
  keywords?: InputMaybe<Scalars['String']>;
10438
10975
  notes_type?: InputMaybe<Scalars['String']>;
10976
+ only_include_shared_memberships?: InputMaybe<Scalars['Boolean']>;
10439
10977
  org_chat?: InputMaybe<Scalars['Boolean']>;
10440
10978
  provider_id?: InputMaybe<Scalars['ID']>;
10441
10979
  provider_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
@@ -10505,6 +11043,7 @@ export type QueryCourseMembershipArgs = {
10505
11043
  };
10506
11044
  /** The query root of this schema. See available queries. */
10507
11045
  export type QueryCourseMembershipsArgs = {
11046
+ after?: InputMaybe<Scalars['Cursor']>;
10508
11047
  client_id?: InputMaybe<Scalars['ID']>;
10509
11048
  fetch_all?: InputMaybe<Scalars['Boolean']>;
10510
11049
  offset?: InputMaybe<Scalars['Int']>;
@@ -10517,6 +11056,7 @@ export type QueryCourseMembershipsCountArgs = {
10517
11056
  /** The query root of this schema. See available queries. */
10518
11057
  export type QueryCoursesArgs = {
10519
11058
  active?: InputMaybe<Scalars['Boolean']>;
11059
+ after?: InputMaybe<Scalars['Cursor']>;
10520
11060
  course_type?: InputMaybe<Scalars['String']>;
10521
11061
  keywords?: InputMaybe<Scalars['String']>;
10522
11062
  offset?: InputMaybe<Scalars['Int']>;
@@ -10532,10 +11072,12 @@ export type QueryCoursesCountArgs = {
10532
11072
  };
10533
11073
  /** The query root of this schema. See available queries. */
10534
11074
  export type QueryCptCodesArgs = {
11075
+ after?: InputMaybe<Scalars['Cursor']>;
10535
11076
  for_superbill?: InputMaybe<Scalars['Boolean']>;
10536
11077
  is_favorited?: InputMaybe<Scalars['Boolean']>;
10537
11078
  keywords?: InputMaybe<Scalars['String']>;
10538
11079
  offset?: InputMaybe<Scalars['Int']>;
11080
+ page_size?: InputMaybe<Scalars['Int']>;
10539
11081
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10540
11082
  };
10541
11083
  /** The query root of this schema. See available queries. */
@@ -10548,6 +11090,10 @@ export type QueryCurrentVideoChatsArgs = {
10548
11090
  user_id?: InputMaybe<Scalars['String']>;
10549
11091
  };
10550
11092
  /** The query root of this schema. See available queries. */
11093
+ export type QueryCustomEmailArgs = {
11094
+ id?: InputMaybe<Scalars['ID']>;
11095
+ };
11096
+ /** The query root of this schema. See available queries. */
10551
11097
  export type QueryCustomEmailPreviewArgs = {
10552
11098
  course_id?: InputMaybe<Scalars['String']>;
10553
11099
  email_body_only?: InputMaybe<Scalars['Boolean']>;
@@ -10562,6 +11108,7 @@ export type QueryCustomEmailPreviewArgs = {
10562
11108
  };
10563
11109
  /** The query root of this schema. See available queries. */
10564
11110
  export type QueryCustomEmailsArgs = {
11111
+ after?: InputMaybe<Scalars['Cursor']>;
10565
11112
  email_type?: InputMaybe<Scalars['String']>;
10566
11113
  offset?: InputMaybe<Scalars['Int']>;
10567
11114
  provider_id?: InputMaybe<Scalars['ID']>;
@@ -10583,8 +11130,8 @@ export type QueryCustomModuleFormsArgs = {
10583
11130
  include_default_templates?: InputMaybe<Scalars['Boolean']>;
10584
11131
  keywords?: InputMaybe<Scalars['String']>;
10585
11132
  offset?: InputMaybe<Scalars['Int']>;
11133
+ order_by?: InputMaybe<CustomModuleFormOrderKeys>;
10586
11134
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10587
- sort_by?: InputMaybe<Scalars['String']>;
10588
11135
  };
10589
11136
  /** The query root of this schema. See available queries. */
10590
11137
  export type QueryCustomModuleFormsCountArgs = {
@@ -10592,7 +11139,6 @@ export type QueryCustomModuleFormsCountArgs = {
10592
11139
  category?: InputMaybe<Scalars['String']>;
10593
11140
  include_default_templates?: InputMaybe<Scalars['Boolean']>;
10594
11141
  keywords?: InputMaybe<Scalars['String']>;
10595
- sort_by?: InputMaybe<Scalars['String']>;
10596
11142
  };
10597
11143
  /** The query root of this schema. See available queries. */
10598
11144
  export type QueryDaysAvailableForRangeArgs = {
@@ -10624,6 +11170,7 @@ export type QueryDocumentArgs = {
10624
11170
  };
10625
11171
  /** The query root of this schema. See available queries. */
10626
11172
  export type QueryDocumentViewingsArgs = {
11173
+ after?: InputMaybe<Scalars['Cursor']>;
10627
11174
  document_id?: InputMaybe<Scalars['ID']>;
10628
11175
  offset?: InputMaybe<Scalars['Int']>;
10629
11176
  per_page?: InputMaybe<Scalars['Int']>;
@@ -10642,10 +11189,10 @@ export type QueryDocumentsArgs = {
10642
11189
  for_template_use?: InputMaybe<Scalars['Boolean']>;
10643
11190
  keywords?: InputMaybe<Scalars['String']>;
10644
11191
  offset?: InputMaybe<Scalars['Int']>;
11192
+ order_by?: InputMaybe<DocumentOrderKeys>;
10645
11193
  private_user_id?: InputMaybe<Scalars['String']>;
10646
11194
  provider_id?: InputMaybe<Scalars['ID']>;
10647
11195
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10648
- sort_by?: InputMaybe<Scalars['String']>;
10649
11196
  viewable_user_id?: InputMaybe<Scalars['String']>;
10650
11197
  };
10651
11198
  /** The query root of this schema. See available queries. */
@@ -10692,8 +11239,8 @@ export type QueryEntriesArgs = {
10692
11239
  is_org?: InputMaybe<Scalars['Boolean']>;
10693
11240
  keywords?: InputMaybe<Scalars['String']>;
10694
11241
  offset?: InputMaybe<Scalars['Int']>;
11242
+ order_by?: InputMaybe<EntryOrderKeys>;
10695
11243
  page_size?: InputMaybe<Scalars['Int']>;
10696
- sort_by?: InputMaybe<Scalars['String']>;
10697
11244
  start_datetime_range?: InputMaybe<Scalars['String']>;
10698
11245
  start_range?: InputMaybe<Scalars['String']>;
10699
11246
  summary_view?: InputMaybe<Scalars['Boolean']>;
@@ -10746,10 +11293,10 @@ export type QueryFoldersArgs = {
10746
11293
  folder_to_move_id?: InputMaybe<Scalars['ID']>;
10747
11294
  for_template_use?: InputMaybe<Scalars['Boolean']>;
10748
11295
  keywords?: InputMaybe<Scalars['String']>;
11296
+ order_by?: InputMaybe<FolderOrderKeys>;
10749
11297
  private_user_id?: InputMaybe<Scalars['String']>;
10750
11298
  provider_id?: InputMaybe<Scalars['ID']>;
10751
11299
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10752
- sort_by?: InputMaybe<Scalars['String']>;
10753
11300
  viewable_user_id?: InputMaybe<Scalars['String']>;
10754
11301
  };
10755
11302
  /** The query root of this schema. See available queries. */
@@ -10764,10 +11311,12 @@ export type QueryFoldersCountArgs = {
10764
11311
  };
10765
11312
  /** The query root of this schema. See available queries. */
10766
11313
  export type QueryFoodSearchArgs = {
11314
+ after?: InputMaybe<Scalars['Cursor']>;
10767
11315
  exclude_recent?: InputMaybe<Scalars['Boolean']>;
10768
11316
  food_type?: InputMaybe<Scalars['String']>;
10769
11317
  keywords?: InputMaybe<Scalars['String']>;
10770
11318
  offset?: InputMaybe<Scalars['Int']>;
11319
+ page_size?: InputMaybe<Scalars['Int']>;
10771
11320
  upc?: InputMaybe<Scalars['String']>;
10772
11321
  user_id?: InputMaybe<Scalars['String']>;
10773
11322
  };
@@ -10795,6 +11344,10 @@ export type QueryFormAnswerGroupsArgs = {
10795
11344
  ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
10796
11345
  include_group_notes?: InputMaybe<Scalars['Boolean']>;
10797
11346
  name?: InputMaybe<Scalars['String']>;
11347
+ offset?: InputMaybe<Scalars['Int']>;
11348
+ order_by?: InputMaybe<FormAnswerGroupOrderKeys>;
11349
+ page_size?: InputMaybe<Scalars['Int']>;
11350
+ should_paginate?: InputMaybe<Scalars['Boolean']>;
10798
11351
  user_id?: InputMaybe<Scalars['String']>;
10799
11352
  };
10800
11353
  /** The query root of this schema. See available queries. */
@@ -10809,7 +11362,6 @@ export type QueryFormAnswerGroupsCountArgs = {
10809
11362
  /** The query root of this schema. See available queries. */
10810
11363
  export type QueryFormTypesToRequestArgs = {
10811
11364
  keywords?: InputMaybe<Scalars['String']>;
10812
- sort_by?: InputMaybe<Scalars['String']>;
10813
11365
  };
10814
11366
  /** The query root of this schema. See available queries. */
10815
11367
  export type QueryGoalArgs = {
@@ -10881,9 +11433,9 @@ export type QueryGoalsArgs = {
10881
11433
  frequency_filter?: InputMaybe<Scalars['String']>;
10882
11434
  keywords?: InputMaybe<Scalars['String']>;
10883
11435
  offset?: InputMaybe<Scalars['Int']>;
11436
+ order_by?: InputMaybe<GoalOrderKeys>;
10884
11437
  per_page?: InputMaybe<Scalars['Int']>;
10885
11438
  rel_goal_id?: InputMaybe<Scalars['String']>;
10886
- sort_by?: InputMaybe<Scalars['String']>;
10887
11439
  start_range?: InputMaybe<Scalars['String']>;
10888
11440
  status_filter?: InputMaybe<Scalars['String']>;
10889
11441
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10896,7 +11448,6 @@ export type QueryGoalsCountArgs = {
10896
11448
  keywords?: InputMaybe<Scalars['String']>;
10897
11449
  offset?: InputMaybe<Scalars['Int']>;
10898
11450
  rel_goal_id?: InputMaybe<Scalars['String']>;
10899
- sort_by?: InputMaybe<Scalars['String']>;
10900
11451
  start_range?: InputMaybe<Scalars['String']>;
10901
11452
  status_filter?: InputMaybe<Scalars['String']>;
10902
11453
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10908,9 +11459,9 @@ export type QueryGoalsDataArgs = {
10908
11459
  frequency_filter?: InputMaybe<Scalars['String']>;
10909
11460
  keywords?: InputMaybe<Scalars['String']>;
10910
11461
  offset?: InputMaybe<Scalars['Int']>;
11462
+ order_by?: InputMaybe<GoalOrderKeys>;
10911
11463
  per_page?: InputMaybe<Scalars['Int']>;
10912
11464
  rel_goal_id?: InputMaybe<Scalars['String']>;
10913
- sort_by?: InputMaybe<Scalars['String']>;
10914
11465
  start_range?: InputMaybe<Scalars['String']>;
10915
11466
  status_filter?: InputMaybe<Scalars['String']>;
10916
11467
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10923,7 +11474,6 @@ export type QueryGoalsOverallCompletionRateArgs = {
10923
11474
  keywords?: InputMaybe<Scalars['String']>;
10924
11475
  offset?: InputMaybe<Scalars['Int']>;
10925
11476
  rel_goal_id?: InputMaybe<Scalars['String']>;
10926
- sort_by?: InputMaybe<Scalars['String']>;
10927
11477
  start_range?: InputMaybe<Scalars['String']>;
10928
11478
  status_filter?: InputMaybe<Scalars['String']>;
10929
11479
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10937,7 +11487,6 @@ export type QueryGoalsOverallCompletionRateInfoArgs = {
10937
11487
  keywords?: InputMaybe<Scalars['String']>;
10938
11488
  offset?: InputMaybe<Scalars['Int']>;
10939
11489
  rel_goal_id?: InputMaybe<Scalars['String']>;
10940
- sort_by?: InputMaybe<Scalars['String']>;
10941
11490
  start_range?: InputMaybe<Scalars['String']>;
10942
11491
  status_filter?: InputMaybe<Scalars['String']>;
10943
11492
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10951,7 +11500,6 @@ export type QueryGoalsStreakCountArgs = {
10951
11500
  keywords?: InputMaybe<Scalars['String']>;
10952
11501
  offset?: InputMaybe<Scalars['Int']>;
10953
11502
  rel_goal_id?: InputMaybe<Scalars['String']>;
10954
- sort_by?: InputMaybe<Scalars['String']>;
10955
11503
  start_range?: InputMaybe<Scalars['String']>;
10956
11504
  status_filter?: InputMaybe<Scalars['String']>;
10957
11505
  user_id?: InputMaybe<Scalars['ID']>;
@@ -10982,6 +11530,7 @@ export type QueryIcdCodesArgs = {
10982
11530
  is_favorited?: InputMaybe<Scalars['Boolean']>;
10983
11531
  keywords?: InputMaybe<Scalars['String']>;
10984
11532
  offset?: InputMaybe<Scalars['Int']>;
11533
+ order_by?: InputMaybe<IcdCodeOrderKeys>;
10985
11534
  should_paginate?: InputMaybe<Scalars['Boolean']>;
10986
11535
  };
10987
11536
  /** The query root of this schema. See available queries. */
@@ -11022,8 +11571,8 @@ export type QueryInsurancePlansArgs = {
11022
11571
  is_custom?: InputMaybe<Scalars['Boolean']>;
11023
11572
  keywords?: InputMaybe<Scalars['String']>;
11024
11573
  offset?: InputMaybe<Scalars['Int']>;
11574
+ order_by?: InputMaybe<InsurancePlanOrderKeys>;
11025
11575
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11026
- sort_by?: InputMaybe<Scalars['String']>;
11027
11576
  };
11028
11577
  /** The query root of this schema. See available queries. */
11029
11578
  export type QueryInsurancePlansCountArgs = {
@@ -11035,7 +11584,7 @@ export type QueryInsurancePlansCountArgs = {
11035
11584
  /** The query root of this schema. See available queries. */
11036
11585
  export type QueryIntakeFlowArgs = {
11037
11586
  keywords?: InputMaybe<Scalars['String']>;
11038
- sort_by?: InputMaybe<Scalars['String']>;
11587
+ order_by?: InputMaybe<IntakeFlowOrderKeys>;
11039
11588
  user_id?: InputMaybe<Scalars['ID']>;
11040
11589
  };
11041
11590
  /** The query root of this schema. See available queries. */
@@ -11067,9 +11616,9 @@ export type QueryLabOrdersArgs = {
11067
11616
  keywords?: InputMaybe<Scalars['String']>;
11068
11617
  lab_filter?: InputMaybe<Scalars['String']>;
11069
11618
  offset?: InputMaybe<Scalars['Int']>;
11619
+ order_by?: InputMaybe<LabOrderOrderKeys>;
11070
11620
  provider_filter?: InputMaybe<Scalars['String']>;
11071
11621
  recent_orders?: InputMaybe<Scalars['Boolean']>;
11072
- sort_by?: InputMaybe<Scalars['String']>;
11073
11622
  status_filter?: InputMaybe<Scalars['String']>;
11074
11623
  };
11075
11624
  /** The query root of this schema. See available queries. */
@@ -11222,11 +11771,11 @@ export type QueryNotesArgs = {
11222
11771
  ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
11223
11772
  keywords?: InputMaybe<Scalars['String']>;
11224
11773
  offset?: InputMaybe<Scalars['Int']>;
11774
+ order_by?: InputMaybe<NoteOrderKeys>;
11225
11775
  org_chat?: InputMaybe<Scalars['Boolean']>;
11226
11776
  provider_id?: InputMaybe<Scalars['ID']>;
11227
11777
  scheduled_notes?: InputMaybe<Scalars['Boolean']>;
11228
11778
  since_note_id?: InputMaybe<Scalars['ID']>;
11229
- sort_by?: InputMaybe<Scalars['String']>;
11230
11779
  with_tasks?: InputMaybe<Scalars['Boolean']>;
11231
11780
  };
11232
11781
  /** The query root of this schema. See available queries. */
@@ -11253,11 +11802,11 @@ export type QueryNotificationSettingArgs = {
11253
11802
  /** The query root of this schema. See available queries. */
11254
11803
  export type QueryNotificationsArgs = {
11255
11804
  offset?: InputMaybe<Scalars['Int']>;
11805
+ order_by?: InputMaybe<NotificationOrderKeys>;
11256
11806
  other_party_id?: InputMaybe<Scalars['String']>;
11257
11807
  page_size?: InputMaybe<Scalars['Int']>;
11258
11808
  read_status?: InputMaybe<Scalars['Boolean']>;
11259
11809
  seen_status?: InputMaybe<Scalars['Boolean']>;
11260
- sort_by?: InputMaybe<Scalars['String']>;
11261
11810
  types?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
11262
11811
  };
11263
11812
  /** The query root of this schema. See available queries. */
@@ -11279,7 +11828,7 @@ export type QueryOfferingCouponsArgs = {
11279
11828
  keywords?: InputMaybe<Scalars['String']>;
11280
11829
  offering_id?: InputMaybe<Scalars['ID']>;
11281
11830
  offset?: InputMaybe<Scalars['Int']>;
11282
- sort_by?: InputMaybe<Scalars['String']>;
11831
+ order_by?: InputMaybe<OfferingCouponOrderKeys>;
11283
11832
  user_id?: InputMaybe<Scalars['ID']>;
11284
11833
  };
11285
11834
  /** The query root of this schema. See available queries. */
@@ -11301,11 +11850,11 @@ export type QueryOfferingsArgs = {
11301
11850
  offering_user_group_id?: InputMaybe<Scalars['ID']>;
11302
11851
  offset?: InputMaybe<Scalars['Int']>;
11303
11852
  only_client_visible?: InputMaybe<Scalars['Boolean']>;
11853
+ order_by?: InputMaybe<OfferingOrderKeys>;
11304
11854
  page_size?: InputMaybe<Scalars['Int']>;
11305
11855
  provider_id?: InputMaybe<Scalars['ID']>;
11306
11856
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11307
11857
  show_only_visible?: InputMaybe<Scalars['Boolean']>;
11308
- sort_by?: InputMaybe<Scalars['String']>;
11309
11858
  status?: InputMaybe<Scalars['String']>;
11310
11859
  };
11311
11860
  /** The query root of this schema. See available queries. */
@@ -11334,14 +11883,13 @@ export type QueryOnboardingFlowArgs = {
11334
11883
  export type QueryOnboardingFlowsArgs = {
11335
11884
  keywords?: InputMaybe<Scalars['String']>;
11336
11885
  offset?: InputMaybe<Scalars['Int']>;
11886
+ order_by?: InputMaybe<OnboardingFlowOrderKeys>;
11337
11887
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11338
- sort_by?: InputMaybe<Scalars['String']>;
11339
11888
  };
11340
11889
  /** The query root of this schema. See available queries. */
11341
11890
  export type QueryOnboardingFlowsCountArgs = {
11342
11891
  keywords?: InputMaybe<Scalars['String']>;
11343
11892
  offset?: InputMaybe<Scalars['Int']>;
11344
- sort_by?: InputMaybe<Scalars['String']>;
11345
11893
  };
11346
11894
  /** The query root of this schema. See available queries. */
11347
11895
  export type QueryOnboardingItemArgs = {
@@ -11370,7 +11918,8 @@ export type QueryOrganizationMembersArgs = {
11370
11918
  keywords?: InputMaybe<Scalars['String']>;
11371
11919
  licensed_in_state?: InputMaybe<Scalars['String']>;
11372
11920
  offset?: InputMaybe<Scalars['Int']>;
11373
- sort_by?: InputMaybe<Scalars['String']>;
11921
+ order_by?: InputMaybe<UserOrderKeys>;
11922
+ page_size?: InputMaybe<Scalars['Int']>;
11374
11923
  };
11375
11924
  /** The query root of this schema. See available queries. */
11376
11925
  export type QueryOrganizationMembersCountArgs = {
@@ -11380,12 +11929,13 @@ export type QueryOrganizationMembersCountArgs = {
11380
11929
  };
11381
11930
  /** The query root of this schema. See available queries. */
11382
11931
  export type QueryOrganizationMembershipArgs = {
11932
+ id?: InputMaybe<Scalars['ID']>;
11383
11933
  user_id?: InputMaybe<Scalars['ID']>;
11384
11934
  };
11385
11935
  /** The query root of this schema. See available queries. */
11386
11936
  export type QueryOrganizationMembershipsArgs = {
11387
11937
  id?: InputMaybe<Scalars['String']>;
11388
- sort_by?: InputMaybe<Scalars['String']>;
11938
+ order_by?: InputMaybe<OrganizationMembershipOrderKeys>;
11389
11939
  user_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
11390
11940
  };
11391
11941
  /** The query root of this schema. See available queries. */
@@ -11454,8 +12004,8 @@ export type QueryPrevCourseItemArgs = {
11454
12004
  export type QueryProductsArgs = {
11455
12005
  keywords?: InputMaybe<Scalars['String']>;
11456
12006
  offset?: InputMaybe<Scalars['Int']>;
12007
+ order_by?: InputMaybe<ProductOrderKeys>;
11457
12008
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11458
- sort_by?: InputMaybe<Scalars['String']>;
11459
12009
  };
11460
12010
  /** The query root of this schema. See available queries. */
11461
12011
  export type QueryProductsCountArgs = {
@@ -11485,11 +12035,30 @@ export type QueryReceiptLineItemsArgs = {
11485
12035
  super_bill_id?: InputMaybe<Scalars['ID']>;
11486
12036
  };
11487
12037
  /** The query root of this schema. See available queries. */
12038
+ export type QueryReceivedDirectMessageArgs = {
12039
+ id?: InputMaybe<Scalars['ID']>;
12040
+ };
12041
+ /** The query root of this schema. See available queries. */
12042
+ export type QueryReceivedDirectMessagesArgs = {
12043
+ keywords?: InputMaybe<Scalars['String']>;
12044
+ offset?: InputMaybe<Scalars['Int']>;
12045
+ order_by?: InputMaybe<ReceivedDirectMessageOrderKeys>;
12046
+ };
12047
+ /** The query root of this schema. See available queries. */
12048
+ export type QueryReceivedDirectMessagesCountArgs = {
12049
+ keywords?: InputMaybe<Scalars['String']>;
12050
+ offset?: InputMaybe<Scalars['Int']>;
12051
+ };
12052
+ /** The query root of this schema. See available queries. */
12053
+ export type QueryReceivedFaxArgs = {
12054
+ id?: InputMaybe<Scalars['ID']>;
12055
+ };
12056
+ /** The query root of this schema. See available queries. */
11488
12057
  export type QueryReceivedFaxesArgs = {
11489
12058
  active_status?: InputMaybe<Scalars['String']>;
11490
12059
  keywords?: InputMaybe<Scalars['String']>;
11491
12060
  offset?: InputMaybe<Scalars['Int']>;
11492
- sort_by?: InputMaybe<Scalars['String']>;
12061
+ order_by?: InputMaybe<ReceivedFaxOrderKeys>;
11493
12062
  };
11494
12063
  /** The query root of this schema. See available queries. */
11495
12064
  export type QueryReceivedFaxesCountArgs = {
@@ -11513,6 +12082,10 @@ export type QueryRecurringPaymentsArgs = {
11513
12082
  user_id?: InputMaybe<Scalars['ID']>;
11514
12083
  };
11515
12084
  /** The query root of this schema. See available queries. */
12085
+ export type QueryReferralArgs = {
12086
+ id?: InputMaybe<Scalars['ID']>;
12087
+ };
12088
+ /** The query root of this schema. See available queries. */
11516
12089
  export type QueryReferringPhysicianArgs = {
11517
12090
  has_fax_number?: InputMaybe<Scalars['Boolean']>;
11518
12091
  id?: InputMaybe<Scalars['ID']>;
@@ -11523,8 +12096,8 @@ export type QueryReferringPhysiciansArgs = {
11523
12096
  has_fax_number?: InputMaybe<Scalars['Boolean']>;
11524
12097
  keywords?: InputMaybe<Scalars['String']>;
11525
12098
  offset?: InputMaybe<Scalars['Int']>;
12099
+ order_by?: InputMaybe<ReferringPhysicianOrderKeys>;
11526
12100
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11527
- sort_by?: InputMaybe<Scalars['String']>;
11528
12101
  };
11529
12102
  /** The query root of this schema. See available queries. */
11530
12103
  export type QueryRequestedFormCompletionArgs = {
@@ -11548,9 +12121,9 @@ export type QueryRequestedPaymentsArgs = {
11548
12121
  keywords?: InputMaybe<Scalars['String']>;
11549
12122
  offset?: InputMaybe<Scalars['Int']>;
11550
12123
  only_unpaid?: InputMaybe<Scalars['Boolean']>;
12124
+ order_by?: InputMaybe<RequestedPaymentOrderKeys>;
11551
12125
  preview?: InputMaybe<Scalars['Boolean']>;
11552
12126
  sender_id?: InputMaybe<Scalars['ID']>;
11553
- sort_by?: InputMaybe<Scalars['String']>;
11554
12127
  status_filter?: InputMaybe<Scalars['String']>;
11555
12128
  };
11556
12129
  /** The query root of this schema. See available queries. */
@@ -11561,10 +12134,6 @@ export type QueryRequestedPaymentsCountArgs = {
11561
12134
  status_filter?: InputMaybe<Scalars['String']>;
11562
12135
  };
11563
12136
  /** The query root of this schema. See available queries. */
11564
- export type QueryRolesArgs = {
11565
- user_id?: InputMaybe<Scalars['ID']>;
11566
- };
11567
- /** The query root of this schema. See available queries. */
11568
12137
  export type QueryScheduledMessageBlastsArgs = {
11569
12138
  client_id?: InputMaybe<Scalars['String']>;
11570
12139
  org_chat?: InputMaybe<Scalars['Boolean']>;
@@ -11582,10 +12151,25 @@ export type QuerySdkConfigArgs = {
11582
12151
  version?: InputMaybe<Scalars['String']>;
11583
12152
  };
11584
12153
  /** The query root of this schema. See available queries. */
12154
+ export type QuerySentDirectMessageArgs = {
12155
+ id?: InputMaybe<Scalars['ID']>;
12156
+ };
12157
+ /** The query root of this schema. See available queries. */
12158
+ export type QuerySentDirectMessagesArgs = {
12159
+ keywords?: InputMaybe<Scalars['String']>;
12160
+ offset?: InputMaybe<Scalars['Int']>;
12161
+ order_by?: InputMaybe<SentDirectMessageOrderKeys>;
12162
+ };
12163
+ /** The query root of this schema. See available queries. */
12164
+ export type QuerySentDirectMessagesCountArgs = {
12165
+ keywords?: InputMaybe<Scalars['String']>;
12166
+ offset?: InputMaybe<Scalars['Int']>;
12167
+ };
12168
+ /** The query root of this schema. See available queries. */
11585
12169
  export type QuerySentFaxesArgs = {
11586
12170
  keywords?: InputMaybe<Scalars['String']>;
11587
12171
  offset?: InputMaybe<Scalars['Int']>;
11588
- sort_by?: InputMaybe<Scalars['String']>;
12172
+ order_by?: InputMaybe<SentFaxOrderKeys>;
11589
12173
  };
11590
12174
  /** The query root of this schema. See available queries. */
11591
12175
  export type QuerySentFaxesCountArgs = {
@@ -11617,7 +12201,7 @@ export type QuerySentNotificationRecordsCountArgs = {
11617
12201
  export type QuerySentWebhooksArgs = {
11618
12202
  keywords?: InputMaybe<Scalars['String']>;
11619
12203
  offset?: InputMaybe<Scalars['Int']>;
11620
- sort_by?: InputMaybe<Scalars['String']>;
12204
+ order_by?: InputMaybe<SentWebhookOrderKeys>;
11621
12205
  };
11622
12206
  /** The query root of this schema. See available queries. */
11623
12207
  export type QuerySentWebhooksCountArgs = {
@@ -11689,8 +12273,8 @@ export type QuerySuperBillsArgs = {
11689
12273
  client_id?: InputMaybe<Scalars['ID']>;
11690
12274
  keywords?: InputMaybe<Scalars['String']>;
11691
12275
  offset?: InputMaybe<Scalars['Int']>;
12276
+ order_by?: InputMaybe<SuperBillOrderKeys>;
11692
12277
  provider_id?: InputMaybe<Scalars['ID']>;
11693
- sort_by?: InputMaybe<Scalars['String']>;
11694
12278
  status?: InputMaybe<Scalars['String']>;
11695
12279
  };
11696
12280
  /** The query root of this schema. See available queries. */
@@ -11701,37 +12285,10 @@ export type QuerySuperBillsCountArgs = {
11701
12285
  status?: InputMaybe<Scalars['String']>;
11702
12286
  };
11703
12287
  /** The query root of this schema. See available queries. */
11704
- export type QuerySupportDashboardFormAnswerArgs = {
11705
- item_id?: InputMaybe<Scalars['ID']>;
11706
- };
11707
- /** The query root of this schema. See available queries. */
11708
- export type QuerySupportDashboardFormAnswerGroupArgs = {
11709
- item_id?: InputMaybe<Scalars['ID']>;
11710
- };
11711
- /** The query root of this schema. See available queries. */
11712
- export type QuerySupportDashboardLabOrderArgs = {
11713
- order_id?: InputMaybe<Scalars['String']>;
11714
- };
11715
- /** The query root of this schema. See available queries. */
11716
- export type QuerySupportDashboardOrganizationArgs = {
11717
- provider_id?: InputMaybe<Scalars['ID']>;
11718
- };
11719
- /** The query root of this schema. See available queries. */
11720
- export type QuerySupportDashboardTotalPatientCountArgs = {
11721
- offset?: InputMaybe<Scalars['Int']>;
11722
- };
11723
- /** The query root of this schema. See available queries. */
11724
- export type QuerySupportDashboardUsersArgs = {
11725
- email?: InputMaybe<Scalars['String']>;
11726
- human_id?: InputMaybe<Scalars['ID']>;
11727
- namespace?: InputMaybe<Scalars['String']>;
11728
- user_id?: InputMaybe<Scalars['ID']>;
11729
- };
11730
- /** The query root of this schema. See available queries. */
11731
12288
  export type QueryTagsArgs = {
11732
12289
  applied_to_providers?: InputMaybe<Scalars['Boolean']>;
11733
12290
  ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
11734
- sort_by?: InputMaybe<Scalars['String']>;
12291
+ order_by?: InputMaybe<TagOrderKeys>;
11735
12292
  user_id?: InputMaybe<Scalars['String']>;
11736
12293
  };
11737
12294
  /** The query root of this schema. See available queries. */
@@ -11751,9 +12308,9 @@ export type QueryTasksArgs = {
11751
12308
  created_by_self?: InputMaybe<Scalars['Boolean']>;
11752
12309
  keywords?: InputMaybe<Scalars['String']>;
11753
12310
  offset?: InputMaybe<Scalars['Int']>;
12311
+ order_by?: InputMaybe<TaskOrderKeys>;
11754
12312
  per_page?: InputMaybe<Scalars['Int']>;
11755
12313
  show_hidden?: InputMaybe<Scalars['Boolean']>;
11756
- sort_by?: InputMaybe<Scalars['String']>;
11757
12314
  type?: InputMaybe<Scalars['String']>;
11758
12315
  withoutPagination?: InputMaybe<Scalars['Boolean']>;
11759
12316
  };
@@ -11781,7 +12338,7 @@ export type QueryTransactionsArgs = {
11781
12338
  /** The query root of this schema. See available queries. */
11782
12339
  export type QueryTransfersArgs = {
11783
12340
  limit?: InputMaybe<Scalars['Int']>;
11784
- sort_by?: InputMaybe<Scalars['String']>;
12341
+ order_by?: InputMaybe<TransferOrderKeys>;
11785
12342
  starting_after?: InputMaybe<Scalars['String']>;
11786
12343
  };
11787
12344
  /** The query root of this schema. See available queries. */
@@ -11806,7 +12363,6 @@ export type QueryUngroupedCourseMembershipsCountArgs = {
11806
12363
  /** The query root of this schema. See available queries. */
11807
12364
  export type QueryUserArgs = {
11808
12365
  clear_notifs?: InputMaybe<Scalars['Boolean']>;
11809
- email?: InputMaybe<Scalars['String']>;
11810
12366
  id?: InputMaybe<Scalars['ID']>;
11811
12367
  or_current_user?: InputMaybe<Scalars['Boolean']>;
11812
12368
  };
@@ -11816,19 +12372,23 @@ export type QueryUserGroupArgs = {
11816
12372
  };
11817
12373
  /** The query root of this schema. See available queries. */
11818
12374
  export type QueryUserGroupsArgs = {
12375
+ check_group_level_actions?: InputMaybe<Scalars['Boolean']>;
11819
12376
  keywords?: InputMaybe<Scalars['String']>;
11820
12377
  offset?: InputMaybe<Scalars['Int']>;
12378
+ order_by?: InputMaybe<UserGroupOrderKeys>;
11821
12379
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11822
- sort_by?: InputMaybe<Scalars['String']>;
11823
12380
  };
11824
12381
  /** The query root of this schema. See available queries. */
11825
12382
  export type QueryUserGroupsCountArgs = {
12383
+ check_group_level_actions?: InputMaybe<Scalars['Boolean']>;
11826
12384
  keywords?: InputMaybe<Scalars['String']>;
11827
12385
  };
11828
12386
  /** The query root of this schema. See available queries. */
11829
12387
  export type QueryUserPackageSelectionsArgs = {
12388
+ after?: InputMaybe<Scalars['Cursor']>;
11830
12389
  offering_id?: InputMaybe<Scalars['ID']>;
11831
12390
  offset?: InputMaybe<Scalars['Int']>;
12391
+ page_size?: InputMaybe<Scalars['Int']>;
11832
12392
  user_id?: InputMaybe<Scalars['ID']>;
11833
12393
  };
11834
12394
  /** The query root of this schema. See available queries. */
@@ -11851,11 +12411,11 @@ export type QueryUsersArgs = {
11851
12411
  keywords?: InputMaybe<Scalars['String']>;
11852
12412
  limited_to_provider?: InputMaybe<Scalars['Boolean']>;
11853
12413
  offset?: InputMaybe<Scalars['Int']>;
12414
+ order_by?: InputMaybe<UserOrderKeys>;
11854
12415
  page_size?: InputMaybe<Scalars['Int']>;
11855
12416
  provider_id?: InputMaybe<Scalars['String']>;
11856
12417
  should_paginate?: InputMaybe<Scalars['Boolean']>;
11857
12418
  show_all_by_default?: InputMaybe<Scalars['Boolean']>;
11858
- sort_by?: InputMaybe<Scalars['String']>;
11859
12419
  tag_ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
11860
12420
  with_feature_toggles?: InputMaybe<Scalars['Boolean']>;
11861
12421
  };
@@ -11896,7 +12456,7 @@ export type QueryWaterIntakeEntryArgs = {
11896
12456
  export type QueryWebhooksArgs = {
11897
12457
  keywords?: InputMaybe<Scalars['String']>;
11898
12458
  offset?: InputMaybe<Scalars['Int']>;
11899
- sort_by?: InputMaybe<Scalars['String']>;
12459
+ order_by?: InputMaybe<WebhookOrderKeys>;
11900
12460
  };
11901
12461
  /** The query root of this schema. See available queries. */
11902
12462
  export type QueryWebhooksCountArgs = {
@@ -11942,6 +12502,37 @@ export type ReceiptLineItemInput = {
11942
12502
  /** The current price of the receipt line item */
11943
12503
  price?: InputMaybe<Scalars['String']>;
11944
12504
  };
12505
+ /** A Received Direct Message */
12506
+ export type ReceivedDirectMessage = {
12507
+ __typename?: 'ReceivedDirectMessage';
12508
+ /** The number of attachments for the received direct message */
12509
+ attachments_count?: Maybe<Scalars['Int']>;
12510
+ /** The XML data contained in the attach CDA file */
12511
+ cda_xml?: Maybe<Scalars['String']>;
12512
+ /** The received date of the direct message */
12513
+ created_at?: Maybe<Scalars['String']>;
12514
+ /** Array of direct message attachments */
12515
+ direct_message_attachments?: Maybe<Array<DirectMessageAttachment>>;
12516
+ /** When true, the message has an attached CDA */
12517
+ has_cda?: Maybe<Scalars['Boolean']>;
12518
+ /** The unique identifier of the fax */
12519
+ id: Scalars['ID'];
12520
+ /** The listed recipient */
12521
+ listed_recipient?: Maybe<Scalars['String']>;
12522
+ /** The listed sender */
12523
+ listed_sender?: Maybe<Scalars['String']>;
12524
+ /** The message body of the direct message */
12525
+ message_body?: Maybe<Scalars['String']>;
12526
+ /** The subject */
12527
+ subject?: Maybe<Scalars['String']>;
12528
+ };
12529
+ /** ReceivedDirectMessage sorting enum */
12530
+ export declare enum ReceivedDirectMessageOrderKeys {
12531
+ CreatedAtAsc = "CREATED_AT_ASC",
12532
+ CreatedAtDesc = "CREATED_AT_DESC",
12533
+ UpdatedAtAsc = "UPDATED_AT_ASC",
12534
+ UpdatedAtDesc = "UPDATED_AT_DESC"
12535
+ }
11945
12536
  /** A Received Fax */
11946
12537
  export type ReceivedFax = {
11947
12538
  __typename?: 'ReceivedFax';
@@ -11960,6 +12551,13 @@ export type ReceivedFax = {
11960
12551
  /** Whether the received fax has been viewed by the current user */
11961
12552
  viewed_by_current_user?: Maybe<Scalars['Boolean']>;
11962
12553
  };
12554
+ /** ReceivedFax sorting enum */
12555
+ export declare enum ReceivedFaxOrderKeys {
12556
+ CreatedAtAsc = "CREATED_AT_ASC",
12557
+ CreatedAtDesc = "CREATED_AT_DESC",
12558
+ NumberAsc = "NUMBER_ASC",
12559
+ NumberDesc = "NUMBER_DESC"
12560
+ }
11963
12561
  /** A Care Plan Recommendation */
11964
12562
  export type Recommendation = {
11965
12563
  __typename?: 'Recommendation';
@@ -12052,6 +12650,8 @@ export type RecurringPayment = {
12052
12650
  amount_paid?: Maybe<Scalars['String']>;
12053
12651
  /** The amount to be paid for the next payment */
12054
12652
  amount_to_pay?: Maybe<Scalars['String']>;
12653
+ /** The ID of the appointment associated with this recurring payment */
12654
+ appointment_id?: Maybe<Scalars['ID']>;
12055
12655
  /** The frequency the payment should be made */
12056
12656
  billing_frequency?: Maybe<Scalars['String']>;
12057
12657
  /** The number of billing items */
@@ -12298,6 +12898,19 @@ export type ReferringPhysicianInput = {
12298
12898
  /** The phone number of the referring physician */
12299
12899
  phone_number?: InputMaybe<Scalars['String']>;
12300
12900
  };
12901
+ /** ReferringPhysician sorting enum */
12902
+ export declare enum ReferringPhysicianOrderKeys {
12903
+ BusinessNameAsc = "BUSINESS_NAME_ASC",
12904
+ BusinessNameDesc = "BUSINESS_NAME_DESC",
12905
+ CityAsc = "CITY_ASC",
12906
+ CityDesc = "CITY_DESC",
12907
+ ClientsReferredAsc = "CLIENTS_REFERRED_ASC",
12908
+ ClientsReferredDesc = "CLIENTS_REFERRED_DESC",
12909
+ NameAsc = "NAME_ASC",
12910
+ NameDesc = "NAME_DESC",
12911
+ SpecialityAsc = "SPECIALITY_ASC",
12912
+ SpecialityDesc = "SPECIALITY_DESC"
12913
+ }
12301
12914
  /** Autogenerated input type of RefetchChangeHealthLabOrder */
12302
12915
  export type RefetchChangeHealthLabOrderInput = {
12303
12916
  id?: InputMaybe<Scalars['ID']>;
@@ -12550,6 +13163,27 @@ export type RequestedPayment = {
12550
13163
  export type RequestedPaymentBilling_ItemsArgs = {
12551
13164
  only_successful?: InputMaybe<Scalars['Boolean']>;
12552
13165
  };
13166
+ /** RequestedPayment sorting enum */
13167
+ export declare enum RequestedPaymentOrderKeys {
13168
+ /** Sort by client last name and first name ascending */
13169
+ ClientNameAsc = "CLIENT_NAME_ASC",
13170
+ /** Sort by client last name and first name descending */
13171
+ ClientNameDesc = "CLIENT_NAME_DESC",
13172
+ CreatedAtAsc = "CREATED_AT_ASC",
13173
+ CreatedAtDesc = "CREATED_AT_DESC",
13174
+ InvoiceIdAsc = "INVOICE_ID_ASC",
13175
+ InvoiceIdDesc = "INVOICE_ID_DESC",
13176
+ PriceAsc = "PRICE_ASC",
13177
+ PriceDesc = "PRICE_DESC",
13178
+ /** Sort by provider last name and first name ascending */
13179
+ ProviderNameAsc = "PROVIDER_NAME_ASC",
13180
+ /** Sort by provider last name and first name descending */
13181
+ ProviderNameDesc = "PROVIDER_NAME_DESC",
13182
+ StatusAsc = "STATUS_ASC",
13183
+ StatusDesc = "STATUS_DESC",
13184
+ TypeAsc = "TYPE_ASC",
13185
+ TypeDesc = "TYPE_DESC"
13186
+ }
12553
13187
  /** Requested payment template */
12554
13188
  export type RequestedPaymentTemplate = {
12555
13189
  __typename?: 'RequestedPaymentTemplate';
@@ -12600,13 +13234,31 @@ export type RoomInput = {
12600
13234
  /** The graphql_name of the room */
12601
13235
  name?: InputMaybe<Scalars['String']>;
12602
13236
  };
13237
+ /** Configuration for the SDK */
13238
+ export type SdkConfig = {
13239
+ __typename?: 'SDKConfig';
13240
+ /** Stripe's publishable key */
13241
+ stripe_publishable_key: Scalars['String'];
13242
+ };
13243
+ /** Billing items that are scheduled and will have a user package selection associated with them */
13244
+ export type ScheduledUserPackageSelection = {
13245
+ __typename?: 'ScheduledUserPackageSelection';
13246
+ /** The unique identifier of the room */
13247
+ id: Scalars['ID'];
13248
+ /** Related offering */
13249
+ offering?: Maybe<Offering>;
13250
+ /** Related recurring_payment */
13251
+ recurring_payment?: Maybe<RecurringPayment>;
13252
+ /** Related user */
13253
+ user?: Maybe<User>;
13254
+ };
12603
13255
  /** INTERNAL -- A Form Answer Group query for Support Dashboard */
12604
13256
  export type SdFormAnswer = {
12605
- __typename?: 'SDFormAnswer';
13257
+ __typename?: 'SdFormAnswer';
12606
13258
  /** Form Answer and their previous versions */
12607
13259
  answer?: Maybe<Scalars['String']>;
12608
13260
  /** Created At */
12609
- created_at: Scalars['String'];
13261
+ created_at?: Maybe<Scalars['String']>;
12610
13262
  /** The unique identifier of the object */
12611
13263
  id: Scalars['ID'];
12612
13264
  /** Name */
@@ -12621,10 +13273,44 @@ export type SdFormAnswerVersionsArgs = {
12621
13273
  cursor?: InputMaybe<Scalars['String']>;
12622
13274
  };
12623
13275
  /** INTERNAL -- A Form Answer Group query for Support Dashboard */
13276
+ export type SdFormAnswerGroup = {
13277
+ __typename?: 'SdFormAnswerGroup';
13278
+ /** Created At */
13279
+ created_at?: Maybe<Scalars['String']>;
13280
+ /** Cursor for FormAnswerGroup Pagination */
13281
+ cursor: Scalars['String'];
13282
+ /** The form template that was filled out */
13283
+ custom_module_form?: Maybe<CustomModuleForm>;
13284
+ /** Form Answers and their previous versions */
13285
+ form_answers?: Maybe<Array<SdFormAnswer>>;
13286
+ /** The unique identifier of the object */
13287
+ id: Scalars['ID'];
13288
+ /** The date and time when the charting note was locked */
13289
+ locked_at?: Maybe<Scalars['String']>;
13290
+ /** The provider who have locked the charting note */
13291
+ locked_by?: Maybe<SdUser>;
13292
+ /** Name */
13293
+ name?: Maybe<Scalars['String']>;
13294
+ /** Updated At */
13295
+ updated_at?: Maybe<Scalars['String']>;
13296
+ /** The user the form is about */
13297
+ user?: Maybe<SdUser>;
13298
+ /** ID of the user */
13299
+ user_id?: Maybe<Scalars['String']>;
13300
+ };
13301
+ /** INTERNAL -- FormAnswerGroup Collection */
13302
+ export type SdFormAnswerGroupCollection = {
13303
+ __typename?: 'SdFormAnswerGroupCollection';
13304
+ /** List of FormAnswerGroups */
13305
+ form_answer_groups?: Maybe<Array<SdFormAnswerGroup>>;
13306
+ /** Determines if has more FormAnswerGroups in pagination */
13307
+ has_more_fangs?: Maybe<Scalars['Boolean']>;
13308
+ };
13309
+ /** INTERNAL -- A Form Answer Group query for Support Dashboard */
12624
13310
  export type SdFormAnswerVersion = {
12625
- __typename?: 'SDFormAnswerVersion';
13311
+ __typename?: 'SdFormAnswerVersion';
12626
13312
  /** Created At */
12627
- created_at: Scalars['String'];
13313
+ created_at?: Maybe<Scalars['String']>;
12628
13314
  /** Description of Event: Update/Create/Delete */
12629
13315
  event?: Maybe<Scalars['String']>;
12630
13316
  /** The unique identifier of the object */
@@ -12634,36 +13320,63 @@ export type SdFormAnswerVersion = {
12634
13320
  /** Human ID of User that Created/Updated Version */
12635
13321
  whodunnit?: Maybe<Scalars['String']>;
12636
13322
  };
12637
- /** Configuration for the SDK */
12638
- export type SdkConfig = {
12639
- __typename?: 'SDKConfig';
12640
- /** Stripe's publishable key */
12641
- stripe_publishable_key: Scalars['String'];
12642
- };
12643
- /** INTERNAL -- User Collection */
12644
- export type SdUserCollection = {
12645
- __typename?: 'SDUserCollection';
12646
- /** Determines if has more users in pagination */
12647
- has_more_users?: Maybe<Scalars['Boolean']>;
12648
- /** List of Users */
12649
- users?: Maybe<Array<SupportDashboardUser>>;
12650
- };
12651
- /** Billing items that are scheduled and will have a user package selection associated with them */
12652
- export type ScheduledUserPackageSelection = {
12653
- __typename?: 'ScheduledUserPackageSelection';
12654
- /** The unique identifier of the room */
12655
- id: Scalars['ID'];
12656
- /** Related offering */
12657
- offering?: Maybe<Offering>;
12658
- /** Related recurring_payment */
12659
- recurring_payment?: Maybe<RecurringPayment>;
12660
- /** Related user */
12661
- user?: Maybe<User>;
12662
- };
12663
- /** Interal - Lab Order Type Support Dashboard */
12664
- export type SdLabOrderType = {
12665
- __typename?: 'SdLabOrderType';
12666
- /** Confirmation Code of Scheduled Appointment */
13323
+ /** INTERNAL -- Data on the Human Object */
13324
+ export type SdHuman = {
13325
+ __typename?: 'SdHuman';
13326
+ /** The API key for the human */
13327
+ api_key?: Maybe<Scalars['String']>;
13328
+ /** The time when the human was created */
13329
+ created_at?: Maybe<Scalars['String']>;
13330
+ /** The time when the human is currently signed in */
13331
+ current_sign_in_at?: Maybe<Scalars['String']>;
13332
+ /** The IP address of the human when they signed in to the current session */
13333
+ current_sign_in_ip?: Maybe<Scalars['String']>;
13334
+ /** The current user for the human */
13335
+ current_user?: Maybe<SdUser>;
13336
+ /** The ID of the current user for the human */
13337
+ current_user_id?: Maybe<Scalars['String']>;
13338
+ /** The time when the human was deleted */
13339
+ deleted_at?: Maybe<Scalars['String']>;
13340
+ /** The email of the human */
13341
+ email?: Maybe<Scalars['String']>;
13342
+ /** The unique identifier of the human */
13343
+ id: Scalars['ID'];
13344
+ /** The time when the human last signed in */
13345
+ last_sign_in_at?: Maybe<Scalars['String']>;
13346
+ /** The IP address of the human when they last signed in */
13347
+ last_sign_in_ip?: Maybe<Scalars['String']>;
13348
+ /** The namespace of the human */
13349
+ namespace?: Maybe<Scalars['String']>;
13350
+ /** Whether the human requires 2FA */
13351
+ requires_2fa?: Maybe<Scalars['String']>;
13352
+ /** The time when the human reset their password */
13353
+ reset_password_sent_at?: Maybe<Scalars['String']>;
13354
+ /** The User with the ID matching the Search Term */
13355
+ searched_user?: Maybe<SdUser>;
13356
+ /** The number of times the human has signed in */
13357
+ sign_in_count?: Maybe<Scalars['String']>;
13358
+ /** The time when the human switched providers */
13359
+ switched_provider_at?: Maybe<Scalars['String']>;
13360
+ /** The time when the human was last updated */
13361
+ updated_at?: Maybe<Scalars['String']>;
13362
+ /** The list of users for the human */
13363
+ user_collection?: Maybe<SdUserCollection>;
13364
+ /** The username of the human */
13365
+ username?: Maybe<Scalars['String']>;
13366
+ };
13367
+ /** INTERNAL -- Data on the Human Object */
13368
+ export type SdHumanSearched_UserArgs = {
13369
+ user_id?: InputMaybe<Scalars['ID']>;
13370
+ };
13371
+ /** INTERNAL -- Data on the Human Object */
13372
+ export type SdHumanUser_CollectionArgs = {
13373
+ cursor?: InputMaybe<Scalars['String']>;
13374
+ org_name?: InputMaybe<Scalars['String']>;
13375
+ };
13376
+ /** Interal - Lab Order Type Support Dashboard */
13377
+ export type SdLabOrderType = {
13378
+ __typename?: 'SdLabOrderType';
13379
+ /** Confirmation Code of Scheduled Appointment */
12667
13380
  appt_confirmation_code?: Maybe<Scalars['String']>;
12668
13381
  /** Date Lab Order was Placed */
12669
13382
  created_at?: Maybe<Scalars['String']>;
@@ -12680,9 +13393,9 @@ export type SdLabOrderType = {
12680
13393
  /** The normalized status of the order */
12681
13394
  normalized_status?: Maybe<Scalars['String']>;
12682
13395
  /** Provider for lab order */
12683
- orderer?: Maybe<SupportDashboardUser>;
13396
+ orderer?: Maybe<SdUser>;
12684
13397
  /** Patient for lab order */
12685
- patient?: Maybe<SupportDashboardUser>;
13398
+ patient?: Maybe<SdUser>;
12686
13399
  /** Order ID on the rupa health */
12687
13400
  rupa_order_id?: Maybe<Scalars['String']>;
12688
13401
  /** Status of the Lab Order */
@@ -12694,6 +13407,132 @@ export type SdLabOrderType = {
12694
13407
  /** Link to view the rupa order */
12695
13408
  view_rupa_order_url?: Maybe<Scalars['String']>;
12696
13409
  };
13410
+ /** INTERNAL -- Data on the Org Object */
13411
+ export type SdOrg = {
13412
+ __typename?: 'SdOrg';
13413
+ /** The number of standard seats of the organization */
13414
+ active_standard_seats?: Maybe<Scalars['Int']>;
13415
+ /** The unique identifier of the object */
13416
+ id: Scalars['ID'];
13417
+ /** Name of the organization */
13418
+ name?: Maybe<Scalars['String']>;
13419
+ /** The number of active providers of the organization */
13420
+ only_active_providers_count?: Maybe<Scalars['Int']>;
13421
+ /** The number of active support user of the organization */
13422
+ only_active_support_count?: Maybe<Scalars['Int']>;
13423
+ /** Owner of Organization */
13424
+ owner?: Maybe<SdUser>;
13425
+ /** Parent Organization for this org */
13426
+ parent_organization?: Maybe<SdOrg>;
13427
+ /** The ID of the parent organization */
13428
+ parent_organization_id?: Maybe<Scalars['ID']>;
13429
+ /** Suborganizations for this org */
13430
+ suborganizations?: Maybe<Array<SdOrg>>;
13431
+ /** The list of users in this org */
13432
+ users?: Maybe<Array<SdUser>>;
13433
+ };
13434
+ /** INTERNAL -- Data on the Organization Membership Object */
13435
+ export type SdOrganizationMembership = {
13436
+ __typename?: 'SdOrganizationMembership';
13437
+ /** Clients can schedule sessions with this org member */
13438
+ allow_self_scheduling_in_care_team?: Maybe<Scalars['Boolean']>;
13439
+ /** Can access all Chat conversations of all org members */
13440
+ can_access_to_members_chat?: Maybe<Scalars['Boolean']>;
13441
+ /** Can add new clients */
13442
+ can_add_clients?: Maybe<Scalars['Boolean']>;
13443
+ /** Can add members to the organization */
13444
+ can_add_members?: Maybe<Scalars['Boolean']>;
13445
+ /** Can add other org members to Chat conversations */
13446
+ can_add_members_to_chat?: Maybe<Scalars['Boolean']>;
13447
+ /** Can be added as a care team member */
13448
+ can_be_care_team_member?: Maybe<Scalars['Boolean']>;
13449
+ /** Can add and edit appointment types that are then visible within the entire organization */
13450
+ can_edit_appointment_types?: Maybe<Scalars['Boolean']>;
13451
+ /** Can edit and delete appointments on behalf of other org members */
13452
+ can_edit_calendar?: Maybe<Scalars['Boolean']>;
13453
+ /** Can edit folders documents uploaded by other org members */
13454
+ can_edit_docs?: Maybe<Scalars['Boolean']>;
13455
+ /** Can create, edit, archive and delete programs */
13456
+ can_edit_education?: Maybe<Scalars['Boolean']>;
13457
+ /** Can create, edit, and delete forms, charting templates and intake flows */
13458
+ can_edit_forms?: Maybe<Scalars['Boolean']>;
13459
+ /** Can edit and remove members in the organization */
13460
+ can_edit_members?: Maybe<Scalars['Boolean']>;
13461
+ /** Can create, edit and delete packages */
13462
+ can_edit_packages?: Maybe<Scalars['Boolean']>;
13463
+ /** Can view and edit settings that impact the organization */
13464
+ can_edit_settings?: Maybe<Scalars['Boolean']>;
13465
+ /** Can enroll and remove clients from programs */
13466
+ can_enroll_clients_to_programs?: Maybe<Scalars['Boolean']>;
13467
+ /** Can lock charting notes of other providers */
13468
+ can_lock_others_charting_notes?: Maybe<Scalars['Boolean']>;
13469
+ /** Can merge clients */
13470
+ can_merge_clients?: Maybe<Scalars['Boolean']>;
13471
+ /** Can view all organizational billing */
13472
+ can_see_billing?: Maybe<Scalars['Boolean']>;
13473
+ /** Can view the organization calendar that includes all org members' schedules */
13474
+ can_see_calendar?: Maybe<Scalars['Boolean']>;
13475
+ /** Can search across all clients in the organization */
13476
+ can_see_clients?: Maybe<Scalars['Boolean']>;
13477
+ /** Can view other org members Documents */
13478
+ can_see_docs?: Maybe<Scalars['Boolean']>;
13479
+ /** Can sign charting notes of other providers */
13480
+ can_sign_others_charting_notes?: Maybe<Scalars['Boolean']>;
13481
+ /** The unique identifier of the object */
13482
+ id: Scalars['ID'];
13483
+ /** Whether the user is an admin of the organization */
13484
+ is_admin?: Maybe<Scalars['Boolean']>;
13485
+ /** Whether the user is a provider of the organization */
13486
+ is_provider?: Maybe<Scalars['Boolean']>;
13487
+ /** The role of the user in the organization */
13488
+ org_role?: Maybe<Scalars['String']>;
13489
+ /** Sees all clients in the organization on the Clients page */
13490
+ sees_all_clients?: Maybe<Scalars['Boolean']>;
13491
+ };
13492
+ /** INTERNAL -- Data on the User Object */
13493
+ export type SdUser = {
13494
+ __typename?: 'SdUser';
13495
+ /** Whether the user is active */
13496
+ active?: Maybe<Scalars['Boolean']>;
13497
+ /** Cursor for User Pagination */
13498
+ cursor: Scalars['String'];
13499
+ /** The dietitian of the user */
13500
+ dietitian?: Maybe<SdUser>;
13501
+ /** The email of the user */
13502
+ email?: Maybe<Scalars['String']>;
13503
+ /** The full name of the user */
13504
+ full_name?: Maybe<Scalars['String']>;
13505
+ /** The unique identifier of the user */
13506
+ id: Scalars['ID'];
13507
+ /** Whether the user is a patient */
13508
+ is_patient?: Maybe<Scalars['Boolean']>;
13509
+ /** The last name of the user */
13510
+ last_name?: Maybe<Scalars['String']>;
13511
+ /** Other organization members. */
13512
+ organization?: Maybe<SdOrg>;
13513
+ /** The organization membership of the user */
13514
+ organization_membership?: Maybe<SdOrganizationMembership>;
13515
+ /** The stripe customer details of the user */
13516
+ stripe_customer_details?: Maybe<Array<StripeCustomerDetail>>;
13517
+ /** The stripe id of the user */
13518
+ stripe_id?: Maybe<Scalars['String']>;
13519
+ /** The stripe person id of the user */
13520
+ stripe_person_id?: Maybe<Scalars['String']>;
13521
+ /** Returns the subscription for this user */
13522
+ subscription?: Maybe<SubscriptionInstance>;
13523
+ /** The total patient count of the user */
13524
+ total_patient_count?: Maybe<Scalars['Int']>;
13525
+ /** The whitelabel setting of the user */
13526
+ whitelabel_setting?: Maybe<WhitelabelSetting>;
13527
+ };
13528
+ /** INTERNAL -- User Collection */
13529
+ export type SdUserCollection = {
13530
+ __typename?: 'SdUserCollection';
13531
+ /** Determines if has more users in pagination */
13532
+ has_more_users?: Maybe<Scalars['Boolean']>;
13533
+ /** List of Users */
13534
+ users?: Maybe<Array<SdUser>>;
13535
+ };
12697
13536
  /** Autogenerated input type of SendSpeakToTrainerNotification */
12698
13537
  export type SendSpeakToTrainerNotificationInput = {
12699
13538
  email?: InputMaybe<Scalars['String']>;
@@ -12727,6 +13566,35 @@ export type SendWelcomeEmailPayload = {
12727
13566
  messages?: Maybe<Array<Maybe<FieldError>>>;
12728
13567
  success_string?: Maybe<Scalars['String']>;
12729
13568
  };
13569
+ /** A Received Direct Message */
13570
+ export type SentDirectMessage = {
13571
+ __typename?: 'SentDirectMessage';
13572
+ /** The number of attachments for the received direct message */
13573
+ attachments_count?: Maybe<Scalars['Int']>;
13574
+ /** The received date of the direct message */
13575
+ created_at?: Maybe<Scalars['String']>;
13576
+ /** When true, the message has an attached CDA */
13577
+ has_cda?: Maybe<Scalars['Boolean']>;
13578
+ /** The unique identifier of the fax */
13579
+ id: Scalars['ID'];
13580
+ /** The body of the direct message */
13581
+ message_body?: Maybe<Scalars['String']>;
13582
+ /** The outbound recipient */
13583
+ outbound_recipient?: Maybe<Scalars['String']>;
13584
+ /** ID of the related patient */
13585
+ patient_id?: Maybe<Scalars['String']>;
13586
+ /** The status */
13587
+ status?: Maybe<Scalars['String']>;
13588
+ /** The subject of the direct message */
13589
+ subject?: Maybe<Scalars['String']>;
13590
+ };
13591
+ /** SentDirectMessage sorting enum */
13592
+ export declare enum SentDirectMessageOrderKeys {
13593
+ CreatedAtAsc = "CREATED_AT_ASC",
13594
+ CreatedAtDesc = "CREATED_AT_DESC",
13595
+ UpdatedAtAsc = "UPDATED_AT_ASC",
13596
+ UpdatedAtDesc = "UPDATED_AT_DESC"
13597
+ }
12730
13598
  /** A Sent Fax */
12731
13599
  export type SentFax = {
12732
13600
  __typename?: 'SentFax';
@@ -12736,6 +13604,8 @@ export type SentFax = {
12736
13604
  destination_number?: Maybe<Scalars['String']>;
12737
13605
  /** The unique identifier of the fax */
12738
13606
  id: Scalars['ID'];
13607
+ /** The ids of the chart notes sent with the fax */
13608
+ parsed_form_answer_group_ids?: Maybe<Array<Scalars['ID']>>;
12739
13609
  /** The patient that the fax is in regards to */
12740
13610
  patient?: Maybe<User>;
12741
13611
  /** False if no document ids or form answer group ids (fax existed before the addition of document ids column) */
@@ -12749,6 +13619,20 @@ export type SentFax = {
12749
13619
  /** The updated date of the sent fax */
12750
13620
  updated_at?: Maybe<Scalars['String']>;
12751
13621
  };
13622
+ /** SentFax sorting enum */
13623
+ export declare enum SentFaxOrderKeys {
13624
+ ClientLastNameAsc = "CLIENT_LAST_NAME_ASC",
13625
+ ClientLastNameDesc = "CLIENT_LAST_NAME_DESC",
13626
+ CreatedAtAsc = "CREATED_AT_ASC",
13627
+ CreatedAtDesc = "CREATED_AT_DESC",
13628
+ NumberAsc = "NUMBER_ASC",
13629
+ NumberDesc = "NUMBER_DESC",
13630
+ SenderLastNameAsc = "SENDER_LAST_NAME_ASC",
13631
+ SenderLastNameDesc = "SENDER_LAST_NAME_DESC",
13632
+ Status = "STATUS",
13633
+ StatusAsc = "STATUS_ASC",
13634
+ StatusDesc = "STATUS_DESC"
13635
+ }
12752
13636
  /** A Sent Notification */
12753
13637
  export type SentNotificationRecord = {
12754
13638
  __typename?: 'SentNotificationRecord';
@@ -12766,6 +13650,8 @@ export type SentNotificationRecord = {
12766
13650
  notification_type?: Maybe<Scalars['String']>;
12767
13651
  /** The type categorizing notification_type into subgroups. Accepted values: [appointments, billing, chat_messages, accounting, documents, forms, goals, journals, packages, programs] */
12768
13652
  representation_type?: Maybe<Scalars['String']>;
13653
+ /** The ID of the user this notification was sent to */
13654
+ user_id?: Maybe<Scalars['ID']>;
12769
13655
  };
12770
13656
  /** The record of a sent webhook */
12771
13657
  export type SentWebhook = {
@@ -12787,6 +13673,15 @@ export type SentWebhook = {
12787
13673
  /** The configured webhook thst was sent */
12788
13674
  webhook_id?: Maybe<Scalars['ID']>;
12789
13675
  };
13676
+ /** SentWebhook sorting enum */
13677
+ export declare enum SentWebhookOrderKeys {
13678
+ CreatedAtAsc = "CREATED_AT_ASC",
13679
+ CreatedAtDesc = "CREATED_AT_DESC",
13680
+ EventTypeAsc = "EVENT_TYPE_ASC",
13681
+ EventTypeDesc = "EVENT_TYPE_DESC",
13682
+ UrlAsc = "URL_ASC",
13683
+ UrlDesc = "URL_DESC"
13684
+ }
12790
13685
  /** A serving size object */
12791
13686
  export type ServingSize = {
12792
13687
  __typename?: 'ServingSize';
@@ -12858,6 +13753,14 @@ export type SmokingStatus = {
12858
13753
  /** The id of the user the status belongs to */
12859
13754
  user_id?: Maybe<Scalars['ID']>;
12860
13755
  };
13756
+ /** Snomed terms */
13757
+ export type SnomedTerm = {
13758
+ __typename?: 'SnomedTerm';
13759
+ /** id for snomed term */
13760
+ concept_id?: Maybe<Scalars['String']>;
13761
+ /** snomed term name */
13762
+ term?: Maybe<Scalars['String']>;
13763
+ };
12861
13764
  /** The properties of the specialty */
12862
13765
  export type SpecialtiesInput = {
12863
13766
  /** The graphql_name of the specialty */
@@ -12926,7 +13829,7 @@ export type StripeBankAccountType = {
12926
13829
  /** The date of birth of the company's business representative */
12927
13830
  dob?: Maybe<Scalars['String']>;
12928
13831
  /** The ID of the bank account object (generated by Stripe) */
12929
- id: Scalars['String'];
13832
+ id?: Maybe<Scalars['String']>;
12930
13833
  /** If the holder has verified government issued id */
12931
13834
  id_image_provided?: Maybe<Scalars['Boolean']>;
12932
13835
  /** The first line of the business address */
@@ -13028,6 +13931,15 @@ export type StripeCustomerDetail = {
13028
13931
  /** Stripe card address zip */
13029
13932
  zip?: Maybe<Scalars['String']>;
13030
13933
  };
13934
+ /** StripeCustomerDetails sorting enum */
13935
+ export declare enum StripeCustomerDetailOrderKeys {
13936
+ CreatedAtAsc = "CREATED_AT_ASC",
13937
+ CreatedAtDesc = "CREATED_AT_DESC",
13938
+ ExpirationDateAsc = "EXPIRATION_DATE_ASC",
13939
+ ExpirationDateDesc = "EXPIRATION_DATE_DESC",
13940
+ PatientFirstNameAsc = "PATIENT_FIRST_NAME_ASC",
13941
+ PatientFirstNameDesc = "PATIENT_FIRST_NAME_DESC"
13942
+ }
13031
13943
  /** An invoice from stripe as object */
13032
13944
  export type StripeInvoice = {
13033
13945
  __typename?: 'StripeInvoice';
@@ -13132,6 +14044,8 @@ export type Subscription = {
13132
14044
  conversationChangedSubscription?: Maybe<Conversation>;
13133
14045
  /** Track new members of conversations */
13134
14046
  conversationMembershipAddedSubscription?: Maybe<ConversationMembership>;
14047
+ /** Track new updates to members of conversations */
14048
+ conversationMembershipUpdatedSubscription?: Maybe<ConversationMembership>;
13135
14049
  /** Track modifications of form answer groups */
13136
14050
  formAnswerGroupModifiedSubscription?: Maybe<FormAnswerGroup>;
13137
14051
  /** Track added notes */
@@ -13154,13 +14068,16 @@ export type SubscriptionConversationMembershipAddedSubscriptionArgs = {
13154
14068
  notesType?: InputMaybe<Scalars['String']>;
13155
14069
  };
13156
14070
  /** Subscriptions for events tracking */
14071
+ export type SubscriptionConversationMembershipUpdatedSubscriptionArgs = {
14072
+ notesType?: InputMaybe<Scalars['String']>;
14073
+ };
14074
+ /** Subscriptions for events tracking */
13157
14075
  export type SubscriptionFormAnswerGroupModifiedSubscriptionArgs = {
13158
14076
  id?: InputMaybe<Scalars['ID']>;
13159
14077
  };
13160
14078
  /** Subscriptions for events tracking */
13161
14079
  export type SubscriptionNoteAddedSubscriptionArgs = {
13162
14080
  conversationId?: InputMaybe<Scalars['String']>;
13163
- sortBy?: InputMaybe<Scalars['String']>;
13164
14081
  };
13165
14082
  /** a subscription object */
13166
14083
  export type SubscriptionInstance = {
@@ -13231,12 +14148,16 @@ export type SubscriptionInstance = {
13231
14148
  stripe_balance?: Maybe<Scalars['String']>;
13232
14149
  /** The ID of the customer in Stripe */
13233
14150
  stripe_id?: Maybe<Scalars['String']>;
14151
+ /** Stripe Subscription plan name */
14152
+ stripe_plan?: Maybe<Scalars['String']>;
13234
14153
  /** The ID of the subscription in Stripe */
13235
14154
  stripe_subscription_id?: Maybe<Scalars['String']>;
13236
14155
  /** Upcoming invoice in Stripe */
13237
14156
  upcoming_invoice?: Maybe<StripeInvoice>;
13238
14157
  /** Owner of this subscription */
13239
14158
  user?: Maybe<User>;
14159
+ /** The ID of the user who owns the subscription */
14160
+ user_id?: Maybe<Scalars['String']>;
13240
14161
  };
13241
14162
  /** SuperBill */
13242
14163
  export type SuperBill = {
@@ -13322,182 +14243,94 @@ export type SuperBill = {
13322
14243
  /** date super bill was updated */
13323
14244
  updated_at: Scalars['String'];
13324
14245
  };
13325
- /** INTERNAL -- A Form Answer Group query for Support Dashboard */
13326
- export type SupportDashboardFormAnswerGroup = {
13327
- __typename?: 'SupportDashboardFormAnswerGroup';
13328
- /** Created At */
13329
- created_at: Scalars['String'];
13330
- /** Form Answers and their previous versions */
13331
- form_answers?: Maybe<Array<SdFormAnswer>>;
13332
- /** The unique identifier of the object */
13333
- id: Scalars['ID'];
13334
- /** Name */
13335
- name?: Maybe<Scalars['String']>;
13336
- /** Updated At */
13337
- updated_at?: Maybe<Scalars['String']>;
14246
+ /** SuperBill sorting enum */
14247
+ export declare enum SuperBillOrderKeys {
14248
+ AmountBilledAsc = "AMOUNT_BILLED_ASC",
14249
+ AmountBilledDesc = "AMOUNT_BILLED_DESC",
14250
+ AmountPaidAsc = "AMOUNT_PAID_ASC",
14251
+ AmountPaidDesc = "AMOUNT_PAID_DESC",
14252
+ CreatedAtAsc = "CREATED_AT_ASC",
14253
+ CreatedAtDesc = "CREATED_AT_DESC",
14254
+ NameAsc = "NAME_ASC",
14255
+ NameDesc = "NAME_DESC",
14256
+ ServiceDateAsc = "SERVICE_DATE_ASC",
14257
+ ServiceDateDesc = "SERVICE_DATE_DESC",
14258
+ Status = "STATUS"
14259
+ }
14260
+ /** Support Dashboard Endpoints */
14261
+ export type SupportDashboardType = {
14262
+ __typename?: 'SupportDashboardType';
14263
+ /** INTERNAL | Fetch Appointment Type */
14264
+ appointmentTypes?: Maybe<Array<AppointmentType>>;
14265
+ /** INTERNAL | Fetch User Info on DoseSpot Object */
14266
+ dosespotUserInfo?: Maybe<DoseSpot>;
14267
+ /** INTERNAL | Fetch FormAnswer */
14268
+ formAnswer?: Maybe<SdFormAnswer>;
14269
+ /** INTERNAL | Fetch FormAnswerGroup */
14270
+ formAnswerGroup?: Maybe<SdFormAnswerGroup>;
14271
+ /** INTERNAL | Fetch FormAnswerGroups */
14272
+ formAnswerGroupCollection?: Maybe<SdFormAnswerGroupCollection>;
14273
+ /** INTERNAL | Fetch FormAnswerGroups */
14274
+ formAnswerGroups?: Maybe<Array<FormAnswerGroup>>;
14275
+ /** INTERNAL | Fetch Human */
14276
+ human?: Maybe<SdHuman>;
14277
+ /** INTERNAL | Fetch Lab Order */
14278
+ labOrder?: Maybe<SdLabOrderType>;
14279
+ /** INTERNAL | Fetch Organization */
14280
+ organization?: Maybe<SdOrg>;
14281
+ /** INTERNAL | Fetch Roles */
14282
+ roles?: Maybe<Array<Role>>;
14283
+ /** Rough Total Patient Count */
14284
+ totalPatientCount?: Maybe<Scalars['Int']>;
13338
14285
  };
13339
- /** INTERNAL -- Data on the Human Object */
13340
- export type SupportDashboardHuman = {
13341
- __typename?: 'SupportDashboardHuman';
13342
- /** The API key for the human */
13343
- api_key?: Maybe<Scalars['String']>;
13344
- /** The time when the human was created */
13345
- created_at: Scalars['String'];
13346
- /** The time when the human is currently signed in */
13347
- current_sign_in_at?: Maybe<Scalars['String']>;
13348
- /** The IP address of the human when they signed in to the current session */
13349
- current_sign_in_ip?: Maybe<Scalars['String']>;
13350
- /** The current user for the human */
13351
- current_user?: Maybe<SupportDashboardUser>;
13352
- /** The ID of the current user for the human */
13353
- current_user_id?: Maybe<Scalars['String']>;
13354
- /** The time when the human was deleted */
13355
- deleted_at?: Maybe<Scalars['String']>;
13356
- /** The email of the human */
13357
- email?: Maybe<Scalars['String']>;
13358
- /** The unique identifier of the human */
13359
- id: Scalars['ID'];
13360
- /** The time when the human last signed in */
13361
- last_sign_in_at?: Maybe<Scalars['String']>;
13362
- /** The IP address of the human when they last signed in */
13363
- last_sign_in_ip?: Maybe<Scalars['String']>;
13364
- /** The namespace of the human */
13365
- namespace?: Maybe<Scalars['String']>;
13366
- /** Whether the human requires 2FA */
13367
- requires_2fa?: Maybe<Scalars['String']>;
13368
- /** The time when the human reset their password */
13369
- reset_password_sent_at?: Maybe<Scalars['String']>;
13370
- /** The number of times the human has signed in */
13371
- sign_in_count?: Maybe<Scalars['String']>;
13372
- /** The time when the human switched providers */
13373
- switched_provider_at?: Maybe<Scalars['String']>;
13374
- /** The time when the human was last updated */
13375
- updated_at?: Maybe<Scalars['String']>;
13376
- /** The list of users for the human */
13377
- user_collection?: Maybe<SdUserCollection>;
13378
- /** The username of the human */
13379
- username?: Maybe<Scalars['String']>;
14286
+ /** Support Dashboard Endpoints */
14287
+ export type SupportDashboardTypeAppointmentTypesArgs = {
14288
+ provider_id?: InputMaybe<Scalars['String']>;
13380
14289
  };
13381
- /** INTERNAL -- Data on the Human Object */
13382
- export type SupportDashboardHumanUser_CollectionArgs = {
14290
+ /** Support Dashboard Endpoints */
14291
+ export type SupportDashboardTypeDosespotUserInfoArgs = {
14292
+ user_id: Scalars['ID'];
14293
+ };
14294
+ /** Support Dashboard Endpoints */
14295
+ export type SupportDashboardTypeFormAnswerArgs = {
14296
+ item_id?: InputMaybe<Scalars['ID']>;
14297
+ };
14298
+ /** Support Dashboard Endpoints */
14299
+ export type SupportDashboardTypeFormAnswerGroupArgs = {
14300
+ item_id?: InputMaybe<Scalars['ID']>;
14301
+ };
14302
+ /** Support Dashboard Endpoints */
14303
+ export type SupportDashboardTypeFormAnswerGroupCollectionArgs = {
13383
14304
  cursor?: InputMaybe<Scalars['String']>;
13384
- org_name?: InputMaybe<Scalars['String']>;
14305
+ filler_id?: InputMaybe<Scalars['String']>;
14306
+ user_id?: InputMaybe<Scalars['String']>;
13385
14307
  };
13386
- /** INTERNAL -- Data on the Org Object */
13387
- export type SupportDashboardOrg = {
13388
- __typename?: 'SupportDashboardOrg';
13389
- /** The unique identifier of the object */
13390
- id: Scalars['ID'];
13391
- /** Name of the organization */
13392
- name?: Maybe<Scalars['String']>;
13393
- /** The number of active providers of the organization */
13394
- only_active_providers_count?: Maybe<Scalars['Int']>;
13395
- /** The number of active support user of the organization */
13396
- only_active_support_count?: Maybe<Scalars['Int']>;
13397
- /** Owner of Organization */
13398
- owner?: Maybe<SupportDashboardUser>;
13399
- /** Parent Organization for this org */
13400
- parent_organization?: Maybe<SupportDashboardOrg>;
13401
- /** The ID of the parent organization */
13402
- parent_organization_id?: Maybe<Scalars['ID']>;
13403
- /** Suborganizations for this org */
13404
- suborganizations?: Maybe<Array<SupportDashboardOrg>>;
13405
- /** The list of users in this org */
13406
- users?: Maybe<Array<SupportDashboardUser>>;
14308
+ /** Support Dashboard Endpoints */
14309
+ export type SupportDashboardTypeFormAnswerGroupsArgs = {
14310
+ user_id?: InputMaybe<Scalars['String']>;
13407
14311
  };
13408
- /** INTERNAL -- Data on the Organization Membership Object */
13409
- export type SupportDashboardOrganizationMembership = {
13410
- __typename?: 'SupportDashboardOrganizationMembership';
13411
- /** Clients can schedule sessions with this org member */
13412
- allow_self_scheduling_in_care_team?: Maybe<Scalars['Boolean']>;
13413
- /** Can access all Chat conversations of all org members */
13414
- can_access_to_members_chat?: Maybe<Scalars['Boolean']>;
13415
- /** Can add new clients */
13416
- can_add_clients?: Maybe<Scalars['Boolean']>;
13417
- /** Can add members to the organization */
13418
- can_add_members?: Maybe<Scalars['Boolean']>;
13419
- /** Can add other org members to Chat conversations */
13420
- can_add_members_to_chat?: Maybe<Scalars['Boolean']>;
13421
- /** Can be added as a care team member */
13422
- can_be_care_team_member?: Maybe<Scalars['Boolean']>;
13423
- /** Can add and edit appointment types that are then visible within the entire organization */
13424
- can_edit_appointment_types?: Maybe<Scalars['Boolean']>;
13425
- /** Can edit and delete appointments on behalf of other org members */
13426
- can_edit_calendar?: Maybe<Scalars['Boolean']>;
13427
- /** Can edit folders documents uploaded by other org members */
13428
- can_edit_docs?: Maybe<Scalars['Boolean']>;
13429
- /** Can create, edit, archive and delete programs */
13430
- can_edit_education?: Maybe<Scalars['Boolean']>;
13431
- /** Can create, edit, and delete forms, charting templates and intake flows */
13432
- can_edit_forms?: Maybe<Scalars['Boolean']>;
13433
- /** Can edit and remove members in the organization */
13434
- can_edit_members?: Maybe<Scalars['Boolean']>;
13435
- /** Can create, edit and delete packages */
13436
- can_edit_packages?: Maybe<Scalars['Boolean']>;
13437
- /** Can view and edit settings that impact the organization */
13438
- can_edit_settings?: Maybe<Scalars['Boolean']>;
13439
- /** Can enroll and remove clients from programs */
13440
- can_enroll_clients_to_programs?: Maybe<Scalars['Boolean']>;
13441
- /** Can lock charting notes of other providers */
13442
- can_lock_others_charting_notes?: Maybe<Scalars['Boolean']>;
13443
- /** Can merge clients */
13444
- can_merge_clients?: Maybe<Scalars['Boolean']>;
13445
- /** Can view all organizational billing */
13446
- can_see_billing?: Maybe<Scalars['Boolean']>;
13447
- /** Can view the organization calendar that includes all org members' schedules */
13448
- can_see_calendar?: Maybe<Scalars['Boolean']>;
13449
- /** Can search across all clients in the organization */
13450
- can_see_clients?: Maybe<Scalars['Boolean']>;
13451
- /** Can view other org members Documents */
13452
- can_see_docs?: Maybe<Scalars['Boolean']>;
13453
- /** Can sign charting notes of other providers */
13454
- can_sign_others_charting_notes?: Maybe<Scalars['Boolean']>;
13455
- /** The unique identifier of the object */
13456
- id: Scalars['ID'];
13457
- /** Whether the user is an admin of the organization */
13458
- is_admin?: Maybe<Scalars['Boolean']>;
13459
- /** Whether the user is a provider of the organization */
13460
- is_provider?: Maybe<Scalars['Boolean']>;
13461
- /** The role of the user in the organization */
13462
- org_role?: Maybe<Scalars['String']>;
13463
- /** Sees all clients in the organization on the Clients page */
13464
- sees_all_clients?: Maybe<Scalars['Boolean']>;
14312
+ /** Support Dashboard Endpoints */
14313
+ export type SupportDashboardTypeHumanArgs = {
14314
+ email?: InputMaybe<Scalars['String']>;
14315
+ human_id?: InputMaybe<Scalars['ID']>;
14316
+ namespace?: InputMaybe<Scalars['String']>;
14317
+ user_id?: InputMaybe<Scalars['ID']>;
13465
14318
  };
13466
- /** INTERNAL -- Data on the User Object */
13467
- export type SupportDashboardUser = {
13468
- __typename?: 'SupportDashboardUser';
13469
- /** Whether the user is active */
13470
- active?: Maybe<Scalars['Boolean']>;
13471
- /** Cursor for User Pagination */
13472
- cursor: Scalars['String'];
13473
- /** The dietitian of the user */
13474
- dietitian?: Maybe<SupportDashboardUser>;
13475
- /** The email of the user */
13476
- email?: Maybe<Scalars['String']>;
13477
- /** The full name of the user */
13478
- full_name?: Maybe<Scalars['String']>;
13479
- /** The unique identifier of the user */
13480
- id: Scalars['ID'];
13481
- /** Whether the user is a patient */
13482
- is_patient?: Maybe<Scalars['Boolean']>;
13483
- /** The last name of the user */
13484
- last_name?: Maybe<Scalars['String']>;
13485
- /** Other organization members. */
13486
- organization?: Maybe<SupportDashboardOrg>;
13487
- /** The organization membership of the user */
13488
- organization_membership?: Maybe<SupportDashboardOrganizationMembership>;
13489
- /** The stripe customer details of the user */
13490
- stripe_customer_details?: Maybe<Array<StripeCustomerDetail>>;
13491
- /** The stripe id of the user */
13492
- stripe_id?: Maybe<Scalars['String']>;
13493
- /** The stripe person id of the user */
13494
- stripe_person_id?: Maybe<Scalars['String']>;
13495
- /** Returns the subscription for this user */
13496
- subscription?: Maybe<SubscriptionInstance>;
13497
- /** The total patient count of the user */
13498
- total_patient_count?: Maybe<Scalars['Int']>;
13499
- /** The whitelabel setting of the user */
13500
- whitelabel_setting?: Maybe<WhitelabelSetting>;
14319
+ /** Support Dashboard Endpoints */
14320
+ export type SupportDashboardTypeLabOrderArgs = {
14321
+ order_id?: InputMaybe<Scalars['String']>;
14322
+ };
14323
+ /** Support Dashboard Endpoints */
14324
+ export type SupportDashboardTypeOrganizationArgs = {
14325
+ provider_id?: InputMaybe<Scalars['ID']>;
14326
+ };
14327
+ /** Support Dashboard Endpoints */
14328
+ export type SupportDashboardTypeRolesArgs = {
14329
+ user_id?: InputMaybe<Scalars['ID']>;
14330
+ };
14331
+ /** Support Dashboard Endpoints */
14332
+ export type SupportDashboardTypeTotalPatientCountArgs = {
14333
+ offset?: InputMaybe<Scalars['Int']>;
13501
14334
  };
13502
14335
  /** A Symptom Option */
13503
14336
  export type SymptomOption = {
@@ -13538,6 +14371,23 @@ export type TagTagged_UsersArgs = {
13538
14371
  offset?: InputMaybe<Scalars['Int']>;
13539
14372
  should_paginate?: InputMaybe<Scalars['Boolean']>;
13540
14373
  };
14374
+ /** Tag sorting enum */
14375
+ export declare enum TagOrderKeys {
14376
+ /** Sort by amount of patients applied to this Tag ascending */
14377
+ ActiveUsersAsc = "ACTIVE_USERS_ASC",
14378
+ /** Sort by amount of patients applied to this Tag descending */
14379
+ ActiveUsersDesc = "ACTIVE_USERS_DESC",
14380
+ /** Sort by the first name of the user who added the Tag ascending */
14381
+ AddedByAsc = "ADDED_BY_ASC",
14382
+ /** Sort by the first name of the user who added the Tag descending */
14383
+ AddedByDesc = "ADDED_BY_DESC",
14384
+ NameAsc = "NAME_ASC",
14385
+ NameDesc = "NAME_DESC",
14386
+ /** Sort by amount of organization members applied to this Tag ascending */
14387
+ OrgMembersAsc = "ORG_MEMBERS_ASC",
14388
+ /** Sort by amount of organization members applied to this Tag descending */
14389
+ OrgMembersDesc = "ORG_MEMBERS_DESC"
14390
+ }
13541
14391
  /** Tasks for providers to create, complete, and optionally assign to client profiles */
13542
14392
  export type Task = {
13543
14393
  __typename?: 'Task';
@@ -13590,6 +14440,27 @@ export type Task = {
13590
14440
  /** User ID of the user assigned to this task */
13591
14441
  user_id?: Maybe<Scalars['ID']>;
13592
14442
  };
14443
+ /** Task sorting enum */
14444
+ export declare enum TaskOrderKeys {
14445
+ AssigneeAsc = "ASSIGNEE_ASC",
14446
+ AssigneeDesc = "ASSIGNEE_DESC",
14447
+ /** Order by client first name and last name ascending */
14448
+ ClientNameAsc = "CLIENT_NAME_ASC",
14449
+ /** Order by client first name and last name descending */
14450
+ ClientNameDesc = "CLIENT_NAME_DESC",
14451
+ CompletedAtAsc = "COMPLETED_AT_ASC",
14452
+ CompletedAtDesc = "COMPLETED_AT_DESC",
14453
+ CreatedAsc = "CREATED_ASC",
14454
+ CreatedDesc = "CREATED_DESC",
14455
+ CreatorAsc = "CREATOR_ASC",
14456
+ CreatorDesc = "CREATOR_DESC",
14457
+ DueDateAsc = "DUE_DATE_ASC",
14458
+ DueDateDesc = "DUE_DATE_DESC",
14459
+ PriorityAsc = "PRIORITY_ASC",
14460
+ PriorityDesc = "PRIORITY_DESC",
14461
+ TaskAsc = "TASK_ASC",
14462
+ TaskDesc = "TASK_DESC"
14463
+ }
13593
14464
  /** Payload for a task reminder */
13594
14465
  export type TaskReminderInput = {
13595
14466
  /** Id of the reminder. If no id is given, a reminder will be created */
@@ -13721,6 +14592,19 @@ export type TransactionType = {
13721
14592
  /** Charge ID associated to transaction. Can be matched with billing_item.stripe_charge_id */
13722
14593
  source_name?: Maybe<Scalars['String']>;
13723
14594
  };
14595
+ /** Transfer sorting enum */
14596
+ export declare enum TransferOrderKeys {
14597
+ AmountAsc = "AMOUNT_ASC",
14598
+ AmountDesc = "AMOUNT_DESC",
14599
+ CreatedAtAsc = "CREATED_AT_ASC",
14600
+ CreatedAtDesc = "CREATED_AT_DESC",
14601
+ ExpectedToHappenAsc = "EXPECTED_TO_HAPPEN_ASC",
14602
+ ExpectedToHappenDesc = "EXPECTED_TO_HAPPEN_DESC",
14603
+ StatusAsc = "STATUS_ASC",
14604
+ StatusDesc = "STATUS_DESC",
14605
+ TransactionsCountAsc = "TRANSACTIONS_COUNT_ASC",
14606
+ TransactionsCountDesc = "TRANSACTIONS_COUNT_DESC"
14607
+ }
13724
14608
  /** A transfer */
13725
14609
  export type TransferType = {
13726
14610
  __typename?: 'TransferType';
@@ -13857,6 +14741,8 @@ export type User = {
13857
14741
  active_group_care_plan?: Maybe<CarePlan>;
13858
14742
  /** All active patients associated with this user. */
13859
14743
  active_patients: Array<User>;
14744
+ /** A number of all active patients associated with this user. */
14745
+ active_patients_count?: Maybe<Scalars['Int']>;
13860
14746
  /** A collection of tags applied on the specific user */
13861
14747
  active_tags?: Maybe<Array<Tag>>;
13862
14748
  /** Additional tabs to display within the provider's view of the client profile */
@@ -13939,6 +14825,8 @@ export type User = {
13939
14825
  brand_logo_url?: Maybe<Scalars['String']>;
13940
14826
  /** The Brand Name Of the User */
13941
14827
  brand_name?: Maybe<Scalars['String']>;
14828
+ /** The name of the Brand */
14829
+ branded_name?: Maybe<Scalars['String']>;
13942
14830
  /** Broken synced calendar */
13943
14831
  broken_synced_cal?: Maybe<ExternalCalendar>;
13944
14832
  /** HTML String to display on top of the calendar */
@@ -14107,6 +14995,8 @@ export type User = {
14107
14995
  expired_client_cards_count?: Maybe<Scalars['Int']>;
14108
14996
  /** Patient cards that will expire by next recurring payment (requires can_see_billing for org level patients) */
14109
14997
  expiring_client_cards_count?: Maybe<Scalars['Int']>;
14998
+ /** Family history conditions for user */
14999
+ family_history_conditions?: Maybe<Array<FamilyHistoryCondition>>;
14110
15000
  /** Fax line request data */
14111
15001
  fax_line_request?: Maybe<FaxLineRequest>;
14112
15002
  /** Fax number belonging to the user */
@@ -14281,6 +15171,8 @@ export type User = {
14281
15171
  id: Scalars['ID'];
14282
15172
  /** A collection of immunizations for this client */
14283
15173
  immunizations?: Maybe<Array<Immunization>>;
15174
+ /** Implantable device users for the user */
15175
+ implantable_devices_users?: Maybe<Array<ImplantableDeviceUser>>;
14284
15176
  /** True if User organization with multiple providers */
14285
15177
  in_multiple_providers_org?: Maybe<Scalars['Boolean']>;
14286
15178
  /** If a user is in an org */
@@ -14359,7 +15251,7 @@ export type User = {
14359
15251
  locations?: Maybe<Array<Location>>;
14360
15252
  /** Fetch count of medications for a given patient */
14361
15253
  medications_count?: Maybe<Scalars['Int']>;
14362
- /** a serialized JSON string of metadata */
15254
+ /** A serialized JSON string of metadata. Maximum character limit of 1024. */
14363
15255
  metadata?: Maybe<Scalars['String']>;
14364
15256
  /** The number of metric entries the user has */
14365
15257
  metric_entries_count?: Maybe<Scalars['String']>;
@@ -14402,6 +15294,8 @@ export type User = {
14402
15294
  onc_gender_identity?: Maybe<Scalars['String']>;
14403
15295
  /** The number open payments for the user */
14404
15296
  open_payments_count?: Maybe<Scalars['Int']>;
15297
+ /** Returns name of the org if exists, otherwise returns full name */
15298
+ org_name_or_self_name?: Maybe<Scalars['String']>;
14405
15299
  /** The user of the organization token */
14406
15300
  organization?: Maybe<Organization>;
14407
15301
  /** The organization membership of the user */
@@ -14412,6 +15306,8 @@ export type User = {
14412
15306
  other_id_numbers?: Maybe<Array<OtherIdNumber>>;
14413
15307
  /** Other organization members. */
14414
15308
  other_org_members: Array<User>;
15309
+ /** Other organization members for sharing */
15310
+ other_org_members_for_sharing: Array<User>;
14415
15311
  /** The IDs of other care team members for the client */
14416
15312
  other_provider_ids?: Maybe<Array<Maybe<Scalars['ID']>>>;
14417
15313
  /** The Outlook Calendar Account for this user */
@@ -14514,6 +15410,8 @@ export type User = {
14514
15410
  sexual_orientation?: Maybe<Scalars['String']>;
14515
15411
  /** The sexual orientation code of the user, corresponds to sexual orientation */
14516
15412
  sexual_orientation_code?: Maybe<Scalars['String']>;
15413
+ /** The sexual orientation value if other */
15414
+ sexual_orientation_other?: Maybe<Scalars['String']>;
14517
15415
  /** Shapa Connection for the user */
14518
15416
  shapa_connection?: Maybe<ShapaConnection>;
14519
15417
  /** An ID that includes the shard the user is on. Matches ID unless user is on a custom shard */
@@ -14667,6 +15565,8 @@ export type User = {
14667
15565
  user_group_id?: Maybe<Scalars['String']>;
14668
15566
  /** All user groups associated with this provider. */
14669
15567
  user_groups: Array<UserGroup>;
15568
+ /** A number of user groups associated with this provider. */
15569
+ user_groups_count: Scalars['Int'];
14670
15570
  /** User of who sent this member an invite */
14671
15571
  user_who_invited_member?: Maybe<User>;
14672
15572
  /** Verification fields left for the provider to fill out */
@@ -14687,6 +15587,13 @@ export type User = {
14687
15587
  /** An user entry, returns basic user information */
14688
15588
  export type UserActive_PatientsArgs = {
14689
15589
  course_id?: InputMaybe<Scalars['ID']>;
15590
+ keywords?: InputMaybe<Scalars['String']>;
15591
+ offset?: InputMaybe<Scalars['Int']>;
15592
+ should_paginate?: InputMaybe<Scalars['Boolean']>;
15593
+ };
15594
+ /** An user entry, returns basic user information */
15595
+ export type UserActive_Patients_CountArgs = {
15596
+ course_id?: InputMaybe<Scalars['ID']>;
14690
15597
  };
14691
15598
  /** An user entry, returns basic user information */
14692
15599
  export type UserAllergy_SensitivitiesArgs = {
@@ -14794,6 +15701,15 @@ export type UserUnconfirmed_Appointment_CountArgs = {
14794
15701
  };
14795
15702
  /** An user entry, returns basic user information */
14796
15703
  export type UserUser_GroupsArgs = {
15704
+ check_group_level_actions?: InputMaybe<Scalars['Boolean']>;
15705
+ course_id?: InputMaybe<Scalars['ID']>;
15706
+ keywords?: InputMaybe<Scalars['String']>;
15707
+ offset?: InputMaybe<Scalars['Int']>;
15708
+ should_paginate?: InputMaybe<Scalars['Boolean']>;
15709
+ };
15710
+ /** An user entry, returns basic user information */
15711
+ export type UserUser_Groups_CountArgs = {
15712
+ check_group_level_actions?: InputMaybe<Scalars['Boolean']>;
14797
15713
  course_id?: InputMaybe<Scalars['ID']>;
14798
15714
  };
14799
15715
  /** A user group, returns basic info about the user group */
@@ -14834,6 +15750,17 @@ export type UserGroupUsersArgs = {
14834
15750
  convo_id?: InputMaybe<Scalars['ID']>;
14835
15751
  should_sort?: InputMaybe<Scalars['Boolean']>;
14836
15752
  };
15753
+ /** UserGroup sorting enum */
15754
+ export declare enum UserGroupOrderKeys {
15755
+ CreatedAtAsc = "CREATED_AT_ASC",
15756
+ CreatedAtDesc = "CREATED_AT_DESC",
15757
+ InviteCodeAsc = "INVITE_CODE_ASC",
15758
+ InviteCodeDesc = "INVITE_CODE_DESC",
15759
+ NameAsc = "NAME_ASC",
15760
+ NameDesc = "NAME_DESC",
15761
+ UsersCountAsc = "USERS_COUNT_ASC",
15762
+ UsersCountDesc = "USERS_COUNT_DESC"
15763
+ }
14837
15764
  /** Counts of different types of notifications for a user */
14838
15765
  export type UserNotificationsCount = {
14839
15766
  __typename?: 'UserNotificationsCount';
@@ -14844,6 +15771,25 @@ export type UserNotificationsCount = {
14844
15771
  /** The number of unscheduled lab orders */
14845
15772
  unscheduled_lab_orders_count?: Maybe<Scalars['Int']>;
14846
15773
  };
15774
+ /** User sorting enum */
15775
+ export declare enum UserOrderKeys {
15776
+ CreatedAtAsc = "CREATED_AT_ASC",
15777
+ CreatedAtDesc = "CREATED_AT_DESC",
15778
+ EmailAsc = "EMAIL_ASC",
15779
+ EmailDesc = "EMAIL_DESC",
15780
+ FirstNameAsc = "FIRST_NAME_ASC",
15781
+ FirstNameDesc = "FIRST_NAME_DESC",
15782
+ GroupNameAsc = "GROUP_NAME_ASC",
15783
+ GroupNameDesc = "GROUP_NAME_DESC",
15784
+ LastNameAsc = "LAST_NAME_ASC",
15785
+ LastNameDesc = "LAST_NAME_DESC",
15786
+ NextApptDateAsc = "NEXT_APPT_DATE_ASC",
15787
+ NextApptDateDesc = "NEXT_APPT_DATE_DESC",
15788
+ ProviderNameAsc = "PROVIDER_NAME_ASC",
15789
+ ProviderNameDesc = "PROVIDER_NAME_DESC",
15790
+ UpdatedAtAsc = "UPDATED_AT_ASC",
15791
+ UpdatedAtDesc = "UPDATED_AT_DESC"
15792
+ }
14847
15793
  /** A user package selection */
14848
15794
  export type UserPackageSelection = {
14849
15795
  __typename?: 'UserPackageSelection';
@@ -14853,6 +15799,8 @@ export type UserPackageSelection = {
14853
15799
  billing_item_id?: Maybe<Scalars['ID']>;
14854
15800
  /** The time when the user package selection was created */
14855
15801
  created_at: Scalars['String'];
15802
+ /** Pagination cursor */
15803
+ cursor: Scalars['Cursor'];
14856
15804
  /** The unique identifier of the user package selection */
14857
15805
  id: Scalars['ID'];
14858
15806
  /** The amount of the first payment for a package, including promo discounts */
@@ -15037,6 +15985,15 @@ export type Webhook = {
15037
15985
  /** The URL that the webhook will be sent to */
15038
15986
  url?: Maybe<Scalars['String']>;
15039
15987
  };
15988
+ /** Webhook sorting enum */
15989
+ export declare enum WebhookOrderKeys {
15990
+ CreatedAtAsc = "CREATED_AT_ASC",
15991
+ CreatedAtDesc = "CREATED_AT_DESC",
15992
+ EventTypeAsc = "EVENT_TYPE_ASC",
15993
+ EventTypeDesc = "EVENT_TYPE_DESC",
15994
+ UrlAsc = "URL_ASC",
15995
+ UrlDesc = "URL_DESC"
15996
+ }
15040
15997
  /** Info for Whitelabeling */
15041
15998
  export type WhitelabelSetting = {
15042
15999
  __typename?: 'WhitelabelSetting';
@@ -15109,7 +16066,7 @@ export type ZoomAppointment = {
15109
16066
  /** End time of meeting */
15110
16067
  end_time?: Maybe<Scalars['String']>;
15111
16068
  /** The unique identifier of the zoom appointment */
15112
- id: Scalars['ID'];
16069
+ id?: Maybe<Scalars['ID']>;
15113
16070
  /** The number of meeting participants */
15114
16071
  participants_count?: Maybe<Scalars['Int']>;
15115
16072
  /** Start time of meeting */
@@ -16060,10 +17017,14 @@ export type CreateClientInput = {
16060
17017
  additional_record_identifier?: InputMaybe<Scalars['String']>;
16061
17018
  /** Also known as the provider ID */
16062
17019
  dietitian_id?: InputMaybe<Scalars['String']>;
17020
+ /** format: YYYY-MM-DD */
17021
+ dob?: InputMaybe<Scalars['String']>;
16063
17022
  /** if true, welcome email is not sent */
16064
17023
  dont_send_welcome?: InputMaybe<Scalars['Boolean']>;
16065
17024
  email?: InputMaybe<Scalars['String']>;
16066
17025
  first_name?: InputMaybe<Scalars['String']>;
17026
+ /** Ex. Male */
17027
+ gender?: InputMaybe<Scalars['String']>;
16067
17028
  last_name?: InputMaybe<Scalars['String']>;
16068
17029
  legal_name?: InputMaybe<Scalars['String']>;
16069
17030
  /** a serialized JSON string of metadata */
@@ -16628,6 +17589,25 @@ export type CreateExternalCalendarPayload = {
16628
17589
  /** The list of errors occurred during the mutation */
16629
17590
  messages?: Maybe<Array<Maybe<FieldError>>>;
16630
17591
  };
17592
+ /** Autogenerated input type of createFamilyHistory */
17593
+ export type CreateFamilyHistoryInput = {
17594
+ concept_id?: InputMaybe<Scalars['String']>;
17595
+ relationships?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
17596
+ user_id?: InputMaybe<Scalars['ID']>;
17597
+ };
17598
+ /** Autogenerated return type of createFamilyHistory. */
17599
+ export type CreateFamilyHistoryPayload = {
17600
+ __typename?: 'createFamilyHistoryPayload';
17601
+ /**
17602
+ * DO NOT USE
17603
+ * @deprecated DO NOT USE
17604
+ */
17605
+ clientMutationId?: Maybe<Scalars['String']>;
17606
+ duplicate_family_history_condition?: Maybe<FamilyHistoryCondition>;
17607
+ family_history_condition?: Maybe<FamilyHistoryCondition>;
17608
+ /** The list of errors occurred during the mutation */
17609
+ messages?: Maybe<Array<Maybe<FieldError>>>;
17610
+ };
16631
17611
  /** Autogenerated input type of createFaxAcctInfo */
16632
17612
  export type CreateFaxAcctInfoInput = {
16633
17613
  aes_key?: InputMaybe<Scalars['String']>;
@@ -17027,6 +18007,25 @@ export type CreateImmunizationPayload = {
17027
18007
  /** The list of errors occurred during the mutation */
17028
18008
  messages?: Maybe<Array<Maybe<FieldError>>>;
17029
18009
  };
18010
+ /** Autogenerated input type of createImplantableDeviceUser */
18011
+ export type CreateImplantableDeviceUserInput = {
18012
+ active?: InputMaybe<Scalars['Boolean']>;
18013
+ name?: InputMaybe<Scalars['String']>;
18014
+ udi?: InputMaybe<Scalars['String']>;
18015
+ user_id?: InputMaybe<Scalars['ID']>;
18016
+ };
18017
+ /** Autogenerated return type of createImplantableDeviceUser. */
18018
+ export type CreateImplantableDeviceUserPayload = {
18019
+ __typename?: 'createImplantableDeviceUserPayload';
18020
+ /**
18021
+ * DO NOT USE
18022
+ * @deprecated DO NOT USE
18023
+ */
18024
+ clientMutationId?: Maybe<Scalars['String']>;
18025
+ implantable_device_user?: Maybe<ImplantableDeviceUser>;
18026
+ /** The list of errors occurred during the mutation */
18027
+ messages?: Maybe<Array<Maybe<FieldError>>>;
18028
+ };
17030
18029
  /** Autogenerated input type of createImportDataRequest */
17031
18030
  export type CreateImportDataRequestInput = {
17032
18031
  clients_template?: InputMaybe<Scalars['Upload']>;
@@ -17323,6 +18322,7 @@ export type CreateOfferingInput = {
17323
18322
  repeat_times?: InputMaybe<Scalars['String']>;
17324
18323
  require_booking_purchase?: InputMaybe<Scalars['Boolean']>;
17325
18324
  selected_image_id?: InputMaybe<Scalars['ID']>;
18325
+ show_free_text?: InputMaybe<Scalars['Boolean']>;
17326
18326
  show_offering?: InputMaybe<Scalars['Boolean']>;
17327
18327
  user_group_id?: InputMaybe<Scalars['ID']>;
17328
18328
  user_group_ids?: InputMaybe<Scalars['String']>;
@@ -17459,6 +18459,7 @@ export type CreateOrganizationMembershipInput = {
17459
18459
  last_name?: InputMaybe<Scalars['String']>;
17460
18460
  /** Options are ["Standard", "Support"] */
17461
18461
  org_role?: InputMaybe<Scalars['String']>;
18462
+ /** Required: The ID of the organization */
17462
18463
  organization_id?: InputMaybe<Scalars['ID']>;
17463
18464
  /** Can optionally be passed in along with last_name, first_name, and email. When passed in, the newly created user will have this password */
17464
18465
  password?: InputMaybe<Scalars['String']>;
@@ -17556,6 +18557,7 @@ export type CreatePaymentIntentPayload = {
17556
18557
  };
17557
18558
  /** Autogenerated input type of createPermissionTemplate */
17558
18559
  export type CreatePermissionTemplateInput = {
18560
+ allow_group_level_actions?: InputMaybe<Scalars['Boolean']>;
17559
18561
  allow_self_scheduling_in_care_team?: InputMaybe<Scalars['Boolean']>;
17560
18562
  auto_create_convo_for_care_team?: InputMaybe<Scalars['Boolean']>;
17561
18563
  can_access_to_members_chat?: InputMaybe<Scalars['Boolean']>;
@@ -17594,6 +18596,7 @@ export type CreatePermissionTemplateInput = {
17594
18596
  can_see_sent_faxes?: InputMaybe<Scalars['Boolean']>;
17595
18597
  can_see_transfers?: InputMaybe<Scalars['Boolean']>;
17596
18598
  can_set_client_password?: InputMaybe<Scalars['Boolean']>;
18599
+ can_share_documents_and_folders_with_org_members?: InputMaybe<Scalars['Boolean']>;
17597
18600
  can_sign_others_charting_notes?: InputMaybe<Scalars['Boolean']>;
17598
18601
  can_sign_own_charting_notes?: InputMaybe<Scalars['Boolean']>;
17599
18602
  can_submit_cms_1500s_to_office_ally?: InputMaybe<Scalars['Boolean']>;
@@ -17886,6 +18889,26 @@ export type CreateRupaOrderPayload = {
17886
18889
  messages?: Maybe<Array<Maybe<FieldError>>>;
17887
18890
  rupa_order_url?: Maybe<Scalars['String']>;
17888
18891
  };
18892
+ /** Autogenerated input type of createSentDirectMessage */
18893
+ export type CreateSentDirectMessageInput = {
18894
+ binary_attachment_document_id?: InputMaybe<Scalars['ID']>;
18895
+ message_body?: InputMaybe<Scalars['String']>;
18896
+ outbound_recipient?: InputMaybe<Scalars['String']>;
18897
+ patient_id?: InputMaybe<Scalars['ID']>;
18898
+ subject?: InputMaybe<Scalars['String']>;
18899
+ };
18900
+ /** Autogenerated return type of createSentDirectMessage. */
18901
+ export type CreateSentDirectMessagePayload = {
18902
+ __typename?: 'createSentDirectMessagePayload';
18903
+ /**
18904
+ * DO NOT USE
18905
+ * @deprecated DO NOT USE
18906
+ */
18907
+ clientMutationId?: Maybe<Scalars['String']>;
18908
+ /** The list of errors occurred during the mutation */
18909
+ messages?: Maybe<Array<Maybe<FieldError>>>;
18910
+ sent_direct_message?: Maybe<SentDirectMessage>;
18911
+ };
17889
18912
  /** Autogenerated input type of createSentFax */
17890
18913
  export type CreateSentFaxInput = {
17891
18914
  answer_ids?: InputMaybe<Scalars['String']>;
@@ -18629,6 +19652,22 @@ export type DeleteExternalCalendarPayload = {
18629
19652
  /** The list of errors occurred during the mutation */
18630
19653
  messages?: Maybe<Array<Maybe<FieldError>>>;
18631
19654
  };
19655
+ /** Autogenerated input type of deleteFamilyHistory */
19656
+ export type DeleteFamilyHistoryInput = {
19657
+ id?: InputMaybe<Scalars['ID']>;
19658
+ };
19659
+ /** Autogenerated return type of deleteFamilyHistory. */
19660
+ export type DeleteFamilyHistoryPayload = {
19661
+ __typename?: 'deleteFamilyHistoryPayload';
19662
+ /**
19663
+ * DO NOT USE
19664
+ * @deprecated DO NOT USE
19665
+ */
19666
+ clientMutationId?: Maybe<Scalars['String']>;
19667
+ family_history_condition?: Maybe<FamilyHistoryCondition>;
19668
+ /** The list of errors occurred during the mutation */
19669
+ messages?: Maybe<Array<Maybe<FieldError>>>;
19670
+ };
18632
19671
  /** Autogenerated input type of deleteFitbit */
18633
19672
  export type DeleteFitbitInput = {
18634
19673
  id?: InputMaybe<Scalars['ID']>;
@@ -18761,6 +19800,22 @@ export type DeleteHealthConcernPayload = {
18761
19800
  /** The list of errors occurred during the mutation */
18762
19801
  messages?: Maybe<Array<Maybe<FieldError>>>;
18763
19802
  };
19803
+ /** Autogenerated input type of deleteImplantableDeviceUser */
19804
+ export type DeleteImplantableDeviceUserInput = {
19805
+ id?: InputMaybe<Scalars['ID']>;
19806
+ };
19807
+ /** Autogenerated return type of deleteImplantableDeviceUser. */
19808
+ export type DeleteImplantableDeviceUserPayload = {
19809
+ __typename?: 'deleteImplantableDeviceUserPayload';
19810
+ /**
19811
+ * DO NOT USE
19812
+ * @deprecated DO NOT USE
19813
+ */
19814
+ clientMutationId?: Maybe<Scalars['String']>;
19815
+ implantable_device_user?: Maybe<ImplantableDeviceUser>;
19816
+ /** The list of errors occurred during the mutation */
19817
+ messages?: Maybe<Array<Maybe<FieldError>>>;
19818
+ };
18764
19819
  /** Autogenerated input type of deleteInsuranceAuthorization */
18765
19820
  export type DeleteInsuranceAuthorizationInput = {
18766
19821
  id?: InputMaybe<Scalars['ID']>;
@@ -19500,6 +20555,46 @@ export type EditAvailabilityPayload = {
19500
20555
  /** The list of errors occurred during the mutation */
19501
20556
  messages?: Maybe<Array<Maybe<FieldError>>>;
19502
20557
  };
20558
+ /** Autogenerated input type of enableSelfSignup */
20559
+ export type EnableSelfSignupInput = {
20560
+ /** To enable or disable */
20561
+ enable: Scalars['String'];
20562
+ /** The user ID of the provider */
20563
+ user_id: Scalars['ID'];
20564
+ };
20565
+ /** Autogenerated return type of enableSelfSignup. */
20566
+ export type EnableSelfSignupPayload = {
20567
+ __typename?: 'enableSelfSignupPayload';
20568
+ /**
20569
+ * DO NOT USE
20570
+ * @deprecated DO NOT USE
20571
+ */
20572
+ clientMutationId?: Maybe<Scalars['String']>;
20573
+ /** The list of errors occurred during the mutation */
20574
+ messages?: Maybe<Array<Maybe<FieldError>>>;
20575
+ /** The success string */
20576
+ success_string?: Maybe<Scalars['String']>;
20577
+ };
20578
+ /** Autogenerated input type of exportClientEhi */
20579
+ export type ExportClientEhiInput = {
20580
+ /** The ID of the client to export EHI data for. */
20581
+ client_id?: InputMaybe<Scalars['ID']>;
20582
+ /** Whether or not we should export the client EHI data in a job. */
20583
+ should_run_in_job?: InputMaybe<Scalars['Boolean']>;
20584
+ };
20585
+ /** Autogenerated return type of exportClientEhi. */
20586
+ export type ExportClientEhiPayload = {
20587
+ __typename?: 'exportClientEhiPayload';
20588
+ /**
20589
+ * DO NOT USE
20590
+ * @deprecated DO NOT USE
20591
+ */
20592
+ clientMutationId?: Maybe<Scalars['String']>;
20593
+ /** The list of errors occurred during the mutation */
20594
+ messages?: Maybe<Array<Maybe<FieldError>>>;
20595
+ /** The banner message shown when successful. */
20596
+ success_string?: Maybe<Scalars['String']>;
20597
+ };
19503
20598
  /** Autogenerated input type of exportToTemplate */
19504
20599
  export type ExportToTemplateInput = {
19505
20600
  id?: InputMaybe<Scalars['ID']>;
@@ -19775,6 +20870,8 @@ export type ShareCoursePayload = {
19775
20870
  export type ShareCustomModuleFormInput = {
19776
20871
  form_share_recipient?: InputMaybe<Scalars['String']>;
19777
20872
  id?: InputMaybe<Scalars['ID']>;
20873
+ /** If this arg is true, this checks user's can_edit_forms permission before sharing */
20874
+ validate_permissions?: InputMaybe<Scalars['Boolean']>;
19778
20875
  };
19779
20876
  /** Autogenerated return type of shareCustomModuleForm. */
19780
20877
  export type ShareCustomModuleFormPayload = {
@@ -19792,21 +20889,29 @@ export type ShareCustomModuleFormPayload = {
19792
20889
  export type SignInInput = {
19793
20890
  /** When true, an additional API key will be generated (versus replacing the old one) */
19794
20891
  allow_multiple_api_keys?: InputMaybe<Scalars['Boolean']>;
20892
+ /** User email */
19795
20893
  email?: InputMaybe<Scalars['String']>;
19796
- /** When true, an API key will be returned, versus a session token. The API key will replace any existing API key for the account */
20894
+ /** When true, an API key will be returned, versus a session token. This replaces an existing key. */
19797
20895
  generate_api_token?: InputMaybe<Scalars['Boolean']>;
19798
20896
  /** The authentication namespace to sign into. Whitelabels can have their own separated auth namespace. */
19799
20897
  namespace?: InputMaybe<Scalars['String']>;
20898
+ /** Password */
19800
20899
  password?: InputMaybe<Scalars['String']>;
20900
+ /** Reset Token */
19801
20901
  reset_token?: InputMaybe<Scalars['String']>;
20902
+ /** Timezone of user */
19802
20903
  timezone?: InputMaybe<Scalars['String']>;
20904
+ /** API Token */
19803
20905
  token?: InputMaybe<Scalars['String']>;
20906
+ /** Username */
19804
20907
  username?: InputMaybe<Scalars['String']>;
19805
20908
  };
19806
20909
  /** Autogenerated return type of signIn. */
19807
20910
  export type SignInPayload = {
19808
20911
  __typename?: 'signInPayload';
20912
+ /** API Key created */
19809
20913
  api_key?: Maybe<Scalars['String']>;
20914
+ /** Blocked by 2fa status */
19810
20915
  blocked_by_2fa?: Maybe<Scalars['Boolean']>;
19811
20916
  /**
19812
20917
  * DO NOT USE
@@ -19815,7 +20920,9 @@ export type SignInPayload = {
19815
20920
  clientMutationId?: Maybe<Scalars['String']>;
19816
20921
  /** The list of errors occurred during the mutation */
19817
20922
  messages?: Maybe<Array<Maybe<FieldError>>>;
20923
+ /** Token returned for authorization */
19818
20924
  token?: Maybe<Scalars['String']>;
20925
+ /** User info */
19819
20926
  user?: Maybe<User>;
19820
20927
  };
19821
20928
  /** Autogenerated input type of signUp */
@@ -19873,6 +20980,24 @@ export type ToggleCarePlanStatusForSpecificUserPayload = {
19873
20980
  /** The list of errors occurred during the mutation */
19874
20981
  messages?: Maybe<Array<Maybe<FieldError>>>;
19875
20982
  };
20983
+ /** Autogenerated input type of unlockChartingNote */
20984
+ export type UnlockChartingNoteInput = {
20985
+ /** The ID of the FormAnswerGroup to be unlocked */
20986
+ fang_id: Scalars['ID'];
20987
+ };
20988
+ /** Autogenerated return type of unlockChartingNote. */
20989
+ export type UnlockChartingNotePayload = {
20990
+ __typename?: 'unlockChartingNotePayload';
20991
+ /**
20992
+ * DO NOT USE
20993
+ * @deprecated DO NOT USE
20994
+ */
20995
+ clientMutationId?: Maybe<Scalars['String']>;
20996
+ /** The list of errors occurred during the mutation */
20997
+ messages?: Maybe<Array<Maybe<FieldError>>>;
20998
+ /** The success string */
20999
+ success_string?: Maybe<Scalars['String']>;
21000
+ };
19876
21001
  /** Autogenerated input type of unsubscribeFromNotification */
19877
21002
  export type UnsubscribeFromNotificationInput = {
19878
21003
  notification_setting_uuid?: InputMaybe<Scalars['String']>;
@@ -20579,6 +21704,7 @@ export type UpdateClientInput = {
20579
21704
  send_form_request_reminder?: InputMaybe<Scalars['Boolean']>;
20580
21705
  sex?: InputMaybe<Scalars['String']>;
20581
21706
  sexual_orientation_code?: InputMaybe<Scalars['String']>;
21707
+ sexual_orientation_other?: InputMaybe<Scalars['String']>;
20582
21708
  skipped_email?: InputMaybe<Scalars['Boolean']>;
20583
21709
  timezone?: InputMaybe<Scalars['String']>;
20584
21710
  /** Token for credit card, created by Stripe.JS */
@@ -20978,6 +22104,26 @@ export type UpdateExternalCalendarPayload = {
20978
22104
  /** The list of errors occurred during the mutation */
20979
22105
  messages?: Maybe<Array<Maybe<FieldError>>>;
20980
22106
  };
22107
+ /** Autogenerated input type of updateFamilyHistory */
22108
+ export type UpdateFamilyHistoryInput = {
22109
+ concept_id?: InputMaybe<Scalars['String']>;
22110
+ id?: InputMaybe<Scalars['ID']>;
22111
+ relationships?: InputMaybe<Array<InputMaybe<Scalars['String']>>>;
22112
+ user_id?: InputMaybe<Scalars['ID']>;
22113
+ };
22114
+ /** Autogenerated return type of updateFamilyHistory. */
22115
+ export type UpdateFamilyHistoryPayload = {
22116
+ __typename?: 'updateFamilyHistoryPayload';
22117
+ /**
22118
+ * DO NOT USE
22119
+ * @deprecated DO NOT USE
22120
+ */
22121
+ clientMutationId?: Maybe<Scalars['String']>;
22122
+ duplicate_family_history_condition?: Maybe<FamilyHistoryCondition>;
22123
+ family_history_condition?: Maybe<FamilyHistoryCondition>;
22124
+ /** The list of errors occurred during the mutation */
22125
+ messages?: Maybe<Array<Maybe<FieldError>>>;
22126
+ };
20981
22127
  /** Autogenerated input type of updateFaxAcctInfo */
20982
22128
  export type UpdateFaxAcctInfoInput = {
20983
22129
  aes_key?: InputMaybe<Scalars['String']>;
@@ -21319,6 +22465,26 @@ export type UpdateImmunizationPayload = {
21319
22465
  /** The list of errors occurred during the mutation */
21320
22466
  messages?: Maybe<Array<Maybe<FieldError>>>;
21321
22467
  };
22468
+ /** Autogenerated input type of updateImplantableDeviceUser */
22469
+ export type UpdateImplantableDeviceUserInput = {
22470
+ active?: InputMaybe<Scalars['Boolean']>;
22471
+ id?: InputMaybe<Scalars['ID']>;
22472
+ name?: InputMaybe<Scalars['String']>;
22473
+ udi?: InputMaybe<Scalars['String']>;
22474
+ user_id?: InputMaybe<Scalars['ID']>;
22475
+ };
22476
+ /** Autogenerated return type of updateImplantableDeviceUser. */
22477
+ export type UpdateImplantableDeviceUserPayload = {
22478
+ __typename?: 'updateImplantableDeviceUserPayload';
22479
+ /**
22480
+ * DO NOT USE
22481
+ * @deprecated DO NOT USE
22482
+ */
22483
+ clientMutationId?: Maybe<Scalars['String']>;
22484
+ implantable_device_user?: Maybe<ImplantableDeviceUser>;
22485
+ /** The list of errors occurred during the mutation */
22486
+ messages?: Maybe<Array<Maybe<FieldError>>>;
22487
+ };
21322
22488
  /** Autogenerated input type of updateInsuranceAuthorization */
21323
22489
  export type UpdateInsuranceAuthorizationInput = {
21324
22490
  authorization_number?: InputMaybe<Scalars['String']>;
@@ -21572,6 +22738,7 @@ export type UpdateNotificationSettingInput = {
21572
22738
  send_email_on_intake_flow_start?: InputMaybe<Scalars['Boolean']>;
21573
22739
  send_email_on_new_document?: InputMaybe<Scalars['Boolean']>;
21574
22740
  send_email_on_new_folder?: InputMaybe<Scalars['Boolean']>;
22741
+ /** Send an email when a client purchases a package */
21575
22742
  send_email_on_package_purchase?: InputMaybe<Scalars['Boolean']>;
21576
22743
  /** Get an email when a scheduled payment fails */
21577
22744
  send_email_on_scheduled_payment_failed?: InputMaybe<Scalars['Boolean']>;
@@ -21644,6 +22811,7 @@ export type UpdateOfferingInput = {
21644
22811
  require_booking_purchase?: InputMaybe<Scalars['Boolean']>;
21645
22812
  row_order?: InputMaybe<Scalars['Int']>;
21646
22813
  selected_image_id?: InputMaybe<Scalars['ID']>;
22814
+ show_free_text?: InputMaybe<Scalars['Boolean']>;
21647
22815
  show_offering?: InputMaybe<Scalars['Boolean']>;
21648
22816
  user_group_id?: InputMaybe<Scalars['ID']>;
21649
22817
  user_group_ids?: InputMaybe<Scalars['String']>;
@@ -21805,6 +22973,7 @@ export type UpdateOrganizationMemberPayload = {
21805
22973
  export type UpdateOrganizationMembershipInput = {
21806
22974
  action_for_appointments?: InputMaybe<Scalars['String']>;
21807
22975
  active?: InputMaybe<Scalars['Boolean']>;
22976
+ allow_group_level_actions?: InputMaybe<Scalars['Boolean']>;
21808
22977
  allow_self_scheduling_in_care_team?: InputMaybe<Scalars['Boolean']>;
21809
22978
  auto_create_convo_for_care_team?: InputMaybe<Scalars['Boolean']>;
21810
22979
  can_access_to_members_chat?: InputMaybe<Scalars['Boolean']>;
@@ -21845,6 +23014,7 @@ export type UpdateOrganizationMembershipInput = {
21845
23014
  can_see_sent_faxes?: InputMaybe<Scalars['Boolean']>;
21846
23015
  can_see_transfers?: InputMaybe<Scalars['Boolean']>;
21847
23016
  can_set_client_password?: InputMaybe<Scalars['Boolean']>;
23017
+ can_share_documents_and_folders_with_org_members?: InputMaybe<Scalars['Boolean']>;
21848
23018
  can_sign_others_charting_notes?: InputMaybe<Scalars['Boolean']>;
21849
23019
  can_sign_own_charting_notes?: InputMaybe<Scalars['Boolean']>;
21850
23020
  can_submit_cms_1500s_to_change_health?: InputMaybe<Scalars['Boolean']>;
@@ -21936,6 +23106,7 @@ export type UpdateOrganizationPayload = {
21936
23106
  };
21937
23107
  /** Autogenerated input type of updatePermissionTemplate */
21938
23108
  export type UpdatePermissionTemplateInput = {
23109
+ allow_group_level_actions?: InputMaybe<Scalars['Boolean']>;
21939
23110
  allow_self_scheduling_in_care_team?: InputMaybe<Scalars['Boolean']>;
21940
23111
  auto_create_convo_for_care_team?: InputMaybe<Scalars['Boolean']>;
21941
23112
  can_access_to_members_chat?: InputMaybe<Scalars['Boolean']>;
@@ -21974,6 +23145,7 @@ export type UpdatePermissionTemplateInput = {
21974
23145
  can_see_sent_faxes?: InputMaybe<Scalars['Boolean']>;
21975
23146
  can_see_transfers?: InputMaybe<Scalars['Boolean']>;
21976
23147
  can_set_client_password?: InputMaybe<Scalars['Boolean']>;
23148
+ can_share_documents_and_folders_with_org_members?: InputMaybe<Scalars['Boolean']>;
21977
23149
  can_sign_others_charting_notes?: InputMaybe<Scalars['Boolean']>;
21978
23150
  can_sign_own_charting_notes?: InputMaybe<Scalars['Boolean']>;
21979
23151
  can_submit_cms_1500s_to_change_health?: InputMaybe<Scalars['Boolean']>;
@@ -22612,6 +23784,7 @@ export type UpdateUserInput = {
22612
23784
  send_get_mobile_app_email?: InputMaybe<Scalars['Boolean']>;
22613
23785
  sex?: InputMaybe<Scalars['String']>;
22614
23786
  sexual_orientation_code?: InputMaybe<Scalars['String']>;
23787
+ sexual_orientation_other?: InputMaybe<Scalars['String']>;
22615
23788
  skipped_email?: InputMaybe<Scalars['Boolean']>;
22616
23789
  submit_labs_immediately?: InputMaybe<Scalars['Boolean']>;
22617
23790
  timezone?: InputMaybe<Scalars['String']>;
@@ -23050,6 +24223,17 @@ export type GetFormTemplateQuery = {
23050
24223
  }>;
23051
24224
  } | null;
23052
24225
  };
24226
+ export type GetScheduledAppointmentsQueryVariables = Exact<{
24227
+ user_id?: InputMaybe<Scalars['ID']>;
24228
+ appointment_type_id?: InputMaybe<Scalars['ID']>;
24229
+ }>;
24230
+ export type GetScheduledAppointmentsQuery = {
24231
+ __typename?: 'Query';
24232
+ appointments?: Array<{
24233
+ __typename?: 'Appointment';
24234
+ id: string;
24235
+ }> | null;
24236
+ };
23053
24237
  export type GetUserQueryVariables = Exact<{
23054
24238
  id?: InputMaybe<Scalars['ID']>;
23055
24239
  }>;
@@ -23080,6 +24264,10 @@ export type GetUserQuery = {
23080
24264
  last_name?: string | null;
23081
24265
  email?: string | null;
23082
24266
  }> | null;
24267
+ active_tags?: Array<{
24268
+ __typename?: 'Tag';
24269
+ id: string;
24270
+ }> | null;
23083
24271
  } | null;
23084
24272
  };
23085
24273
  export type EntriesQueryVariables = Exact<{
@@ -23229,6 +24417,7 @@ export declare const DeleteTaskDocument: import("graphql").DocumentNode;
23229
24417
  export declare const GetAppointmentDocument: import("graphql").DocumentNode;
23230
24418
  export declare const GetConversationListDocument: import("graphql").DocumentNode;
23231
24419
  export declare const GetFormTemplateDocument: import("graphql").DocumentNode;
24420
+ export declare const GetScheduledAppointmentsDocument: import("graphql").DocumentNode;
23232
24421
  export declare const GetUserDocument: import("graphql").DocumentNode;
23233
24422
  export declare const EntriesDocument: import("graphql").DocumentNode;
23234
24423
  export declare const RemoveTagFromUserDocument: import("graphql").DocumentNode;
@@ -23329,6 +24518,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
23329
24518
  headers: Dom.Headers;
23330
24519
  status: number;
23331
24520
  }>;
24521
+ getScheduledAppointments(variables?: GetScheduledAppointmentsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<{
24522
+ data: GetScheduledAppointmentsQuery;
24523
+ extensions?: any;
24524
+ headers: Dom.Headers;
24525
+ status: number;
24526
+ }>;
23332
24527
  getUser(variables?: GetUserQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<{
23333
24528
  data: GetUserQuery;
23334
24529
  extensions?: any;