@teja-app/api-client 2026.5.22-1 → 2026.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/generated/index.d.ts +5 -0
  2. package/dist/generated/index.d.ts.map +1 -1
  3. package/dist/generated/index.js +5 -0
  4. package/dist/generated/index.js.map +1 -1
  5. package/dist/generated/services/BusinessFilesService.d.ts +56 -0
  6. package/dist/generated/services/BusinessFilesService.d.ts.map +1 -0
  7. package/dist/generated/services/BusinessFilesService.js +44 -0
  8. package/dist/generated/services/BusinessFilesService.js.map +1 -0
  9. package/dist/generated/services/DefaultService.d.ts +36 -0
  10. package/dist/generated/services/DefaultService.d.ts.map +1 -1
  11. package/dist/generated/services/DefaultService.js +26 -0
  12. package/dist/generated/services/DefaultService.js.map +1 -1
  13. package/dist/generated/services/OfficeLocationsService.d.ts +209 -0
  14. package/dist/generated/services/OfficeLocationsService.d.ts.map +1 -0
  15. package/dist/generated/services/OfficeLocationsService.js +91 -0
  16. package/dist/generated/services/OfficeLocationsService.js.map +1 -0
  17. package/dist/generated/services/ProductsService.d.ts +116 -0
  18. package/dist/generated/services/ProductsService.d.ts.map +1 -0
  19. package/dist/generated/services/ProductsService.js +76 -0
  20. package/dist/generated/services/ProductsService.js.map +1 -0
  21. package/dist/generated/services/ReportingOpsService.d.ts +188 -0
  22. package/dist/generated/services/ReportingOpsService.d.ts.map +1 -0
  23. package/dist/generated/services/ReportingOpsService.js +89 -0
  24. package/dist/generated/services/ReportingOpsService.js.map +1 -0
  25. package/dist/generated/services/ReportsService.d.ts +1248 -0
  26. package/dist/generated/services/ReportsService.d.ts.map +1 -1
  27. package/dist/generated/services/ReportsService.js +418 -0
  28. package/dist/generated/services/ReportsService.js.map +1 -1
  29. package/dist/generated/services/SettingsService.d.ts +948 -0
  30. package/dist/generated/services/SettingsService.d.ts.map +1 -1
  31. package/dist/generated/services/SettingsService.js +555 -0
  32. package/dist/generated/services/SettingsService.js.map +1 -1
  33. package/dist/generated/services/TelehealthService.d.ts +79 -0
  34. package/dist/generated/services/TelehealthService.d.ts.map +1 -0
  35. package/dist/generated/services/TelehealthService.js +122 -0
  36. package/dist/generated/services/TelehealthService.js.map +1 -0
  37. package/package.json +1 -1
@@ -293,6 +293,29 @@ export declare class SettingsService {
293
293
  emailIntakeCompleted?: boolean;
294
294
  emailPaymentReceived?: boolean;
295
295
  emailWeeklySummary?: boolean;
296
+ emailDailyAgenda?: boolean;
297
+ emailEveningSummary?: boolean;
298
+ practiceAlerts?: {
299
+ outstandingBalances?: boolean;
300
+ uninvoicedAmounts?: boolean;
301
+ potentialCouple?: boolean;
302
+ potentialDuplicate?: boolean;
303
+ upcomingBirthdays?: boolean;
304
+ gfeExpiring?: boolean;
305
+ missingDiagnosis?: boolean;
306
+ missingMse?: boolean;
307
+ missingProgressNote?: boolean;
308
+ pendingDocRequests?: boolean;
309
+ unreviewedDiagnosis?: boolean;
310
+ expiringAuth?: boolean;
311
+ paymentsReceived?: boolean;
312
+ unallocatedFunds?: boolean;
313
+ emailUnsubscribed?: boolean;
314
+ textUnsubscribed?: boolean;
315
+ overdueTasks?: boolean;
316
+ assignedTasks?: boolean;
317
+ tasksDueToday?: boolean;
318
+ };
296
319
  smsAppointmentReminders?: boolean;
297
320
  smsNoShowAlerts?: boolean;
298
321
  smsUrgentAlerts?: boolean;
@@ -363,5 +386,930 @@ export declare class SettingsService {
363
386
  welcomeEmailTemplateId?: (string | null);
364
387
  };
365
388
  }): CancelablePromise<void>;
389
+ /**
390
+ * Get cancellation policy
391
+ * @returns any Response for status 200
392
+ * @throws ApiError
393
+ */
394
+ static getSettingsCancellationPolicy(): CancelablePromise<{
395
+ success: boolean;
396
+ data: {
397
+ tenantId: string;
398
+ cancellationWindowMinutes: number;
399
+ lateCancelFeeEnabled: boolean;
400
+ lateCancelFeeCents: number;
401
+ lateCancelFeeType: string;
402
+ noShowFeeEnabled: boolean;
403
+ noShowFeeCents: number;
404
+ noShowFeeType: string;
405
+ autoChargeFees: boolean;
406
+ };
407
+ }>;
408
+ /**
409
+ * Update cancellation policy fees
410
+ * @returns any Response for status 200
411
+ * @throws ApiError
412
+ */
413
+ static patchSettingsCancellationPolicy({ requestBody, }: {
414
+ requestBody: {
415
+ lateCancelFeeEnabled?: boolean;
416
+ lateCancelFeeCents?: (string | number);
417
+ lateCancelFeeType?: 'flat' | 'percent' | 'full_session';
418
+ noShowFeeEnabled?: boolean;
419
+ noShowFeeCents?: (string | number);
420
+ noShowFeeType?: 'flat' | 'percent' | 'full_session';
421
+ autoChargeFees?: boolean;
422
+ };
423
+ }): CancelablePromise<{
424
+ success: boolean;
425
+ data: {
426
+ tenantId: string;
427
+ cancellationWindowMinutes: number;
428
+ lateCancelFeeEnabled: boolean;
429
+ lateCancelFeeCents: number;
430
+ lateCancelFeeType: string;
431
+ noShowFeeEnabled: boolean;
432
+ noShowFeeCents: number;
433
+ noShowFeeType: string;
434
+ autoChargeFees: boolean;
435
+ };
436
+ }>;
437
+ /**
438
+ * Get caseload target
439
+ * @returns any Response for status 200
440
+ * @throws ApiError
441
+ */
442
+ static getSettingsCaseload(): CancelablePromise<{
443
+ success: boolean;
444
+ data: {
445
+ tenantId: string;
446
+ membershipId: string;
447
+ idealClientCount: (number | null);
448
+ targetWeeklySessions: (number | null);
449
+ };
450
+ }>;
451
+ /**
452
+ * Update caseload target
453
+ * @returns any Response for status 200
454
+ * @throws ApiError
455
+ */
456
+ static patchSettingsCaseload({ requestBody, }: {
457
+ requestBody: {
458
+ idealClientCount?: ((string | number) | null);
459
+ targetWeeklySessions?: ((string | number) | null);
460
+ };
461
+ }): CancelablePromise<{
462
+ success: boolean;
463
+ data: {
464
+ tenantId: string;
465
+ membershipId: string;
466
+ idealClientCount: (number | null);
467
+ targetWeeklySessions: (number | null);
468
+ };
469
+ }>;
470
+ /**
471
+ * Get practice toggles (demo client, AutoPay)
472
+ * @returns any Response for status 200
473
+ * @throws ApiError
474
+ */
475
+ static getSettingsPracticeToggles(): CancelablePromise<{
476
+ success: boolean;
477
+ data: {
478
+ tenantId: string;
479
+ demoClientEnabled: boolean;
480
+ autopayEnabled: boolean;
481
+ autopayDefaultForNewClients: boolean;
482
+ autopayRetryOnDecline: boolean;
483
+ };
484
+ }>;
485
+ /**
486
+ * Update practice toggles (demo client, AutoPay)
487
+ * @returns any Response for status 200
488
+ * @throws ApiError
489
+ */
490
+ static patchSettingsPracticeToggles({ requestBody, }: {
491
+ requestBody: {
492
+ demoClientEnabled?: boolean;
493
+ autopayEnabled?: boolean;
494
+ autopayDefaultForNewClients?: boolean;
495
+ autopayRetryOnDecline?: boolean;
496
+ };
497
+ }): CancelablePromise<{
498
+ success: boolean;
499
+ data: {
500
+ tenantId: string;
501
+ demoClientEnabled: boolean;
502
+ autopayEnabled: boolean;
503
+ autopayDefaultForNewClients: boolean;
504
+ autopayRetryOnDecline: boolean;
505
+ };
506
+ }>;
507
+ /**
508
+ * List per-document render settings
509
+ * @returns any Response for status 200
510
+ * @throws ApiError
511
+ */
512
+ static getSettingsDocumentRendering(): CancelablePromise<{
513
+ success: boolean;
514
+ data: Array<{
515
+ tenantId: string;
516
+ documentType: string;
517
+ showLogo: boolean;
518
+ privacyLabel: string;
519
+ footerText: (string | null);
520
+ showSignatureLine: boolean;
521
+ showDiagnosisDescription: boolean;
522
+ showSupervisorInfo: boolean;
523
+ }>;
524
+ count: number;
525
+ }>;
526
+ /**
527
+ * Get render settings for a document type
528
+ * @returns any Response for status 200
529
+ * @throws ApiError
530
+ */
531
+ static getSettingsDocumentRenderingByDocumentType({ documentType, }: {
532
+ documentType: 'invoice' | 'statement' | 'superbill' | 'gfe' | 'cms1500';
533
+ }): CancelablePromise<{
534
+ success: boolean;
535
+ data: {
536
+ tenantId: string;
537
+ documentType: string;
538
+ showLogo: boolean;
539
+ privacyLabel: string;
540
+ footerText: (string | null);
541
+ showSignatureLine: boolean;
542
+ showDiagnosisDescription: boolean;
543
+ showSupervisorInfo: boolean;
544
+ };
545
+ }>;
546
+ /**
547
+ * Update render settings for a document type
548
+ * @returns any Response for status 200
549
+ * @throws ApiError
550
+ */
551
+ static patchSettingsDocumentRenderingByDocumentType({ documentType, requestBody, }: {
552
+ documentType: 'invoice' | 'statement' | 'superbill' | 'gfe' | 'cms1500';
553
+ requestBody: {
554
+ showLogo?: boolean;
555
+ privacyLabel?: string;
556
+ footerText?: (string | null);
557
+ showSignatureLine?: boolean;
558
+ showDiagnosisDescription?: boolean;
559
+ showSupervisorInfo?: boolean;
560
+ };
561
+ }): CancelablePromise<{
562
+ success: boolean;
563
+ data: {
564
+ tenantId: string;
565
+ documentType: string;
566
+ showLogo: boolean;
567
+ privacyLabel: string;
568
+ footerText: (string | null);
569
+ showSignatureLine: boolean;
570
+ showDiagnosisDescription: boolean;
571
+ showSupervisorInfo: boolean;
572
+ };
573
+ }>;
574
+ /**
575
+ * Get billing rules (tax, fees, accepted methods)
576
+ * @returns any Response for status 200
577
+ * @throws ApiError
578
+ */
579
+ static getSettingsBillingRules(): CancelablePromise<{
580
+ success: boolean;
581
+ data: {
582
+ tenantId: string;
583
+ salesTaxEnabled: boolean;
584
+ salesTaxRateBasisPoints: number;
585
+ salesTaxLabel: string;
586
+ salesTaxAppliesToProductsOnly: boolean;
587
+ passThroughProcessingFee: boolean;
588
+ passThroughFeePercentBasisPoints: number;
589
+ passThroughFeeFlatCents: number;
590
+ acceptedPaymentMethods: Array<string>;
591
+ };
592
+ }>;
593
+ /**
594
+ * Update billing rules (tax, fees, accepted methods)
595
+ * @returns any Response for status 200
596
+ * @throws ApiError
597
+ */
598
+ static patchSettingsBillingRules({ requestBody, }: {
599
+ requestBody: {
600
+ salesTaxEnabled?: boolean;
601
+ salesTaxRateBasisPoints?: (string | number);
602
+ salesTaxLabel?: string;
603
+ salesTaxAppliesToProductsOnly?: boolean;
604
+ passThroughProcessingFee?: boolean;
605
+ passThroughFeePercentBasisPoints?: (string | number);
606
+ passThroughFeeFlatCents?: (string | number);
607
+ acceptedPaymentMethods?: Array<'card' | 'link' | 'apple_pay' | 'google_pay' | 'ach_debit' | 'hsa_fsa'>;
608
+ };
609
+ }): CancelablePromise<{
610
+ success: boolean;
611
+ data: {
612
+ tenantId: string;
613
+ salesTaxEnabled: boolean;
614
+ salesTaxRateBasisPoints: number;
615
+ salesTaxLabel: string;
616
+ salesTaxAppliesToProductsOnly: boolean;
617
+ passThroughProcessingFee: boolean;
618
+ passThroughFeePercentBasisPoints: number;
619
+ passThroughFeeFlatCents: number;
620
+ acceptedPaymentMethods: Array<string>;
621
+ };
622
+ }>;
623
+ /**
624
+ * Get scheduling defaults
625
+ * @returns any Response for status 200
626
+ * @throws ApiError
627
+ */
628
+ static getSettingsSchedulingDefaults(): CancelablePromise<{
629
+ success: boolean;
630
+ data: {
631
+ tenantId: string;
632
+ defaultVisibleHoursStart: string;
633
+ defaultVisibleHoursEnd: string;
634
+ defaultDaysShown: Array<string>;
635
+ appointmentScheduledAlertEnabled: boolean;
636
+ appointmentRescheduledAlertEnabled: boolean;
637
+ sendTimeOfSchedulingReminder: boolean;
638
+ defaultReminderConfigurations: Array<{
639
+ hoursBefore: (string | number);
640
+ emailEnabled: boolean;
641
+ smsEnabled: boolean;
642
+ voiceEnabled?: boolean;
643
+ }>;
644
+ };
645
+ }>;
646
+ /**
647
+ * Update scheduling defaults
648
+ * @returns any Response for status 200
649
+ * @throws ApiError
650
+ */
651
+ static patchSettingsSchedulingDefaults({ requestBody, }: {
652
+ requestBody: {
653
+ defaultVisibleHoursStart?: string;
654
+ defaultVisibleHoursEnd?: string;
655
+ defaultDaysShown?: Array<'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'>;
656
+ appointmentScheduledAlertEnabled?: boolean;
657
+ appointmentRescheduledAlertEnabled?: boolean;
658
+ sendTimeOfSchedulingReminder?: boolean;
659
+ defaultReminderConfigurations?: Array<{
660
+ hoursBefore: (string | number);
661
+ emailEnabled: boolean;
662
+ smsEnabled: boolean;
663
+ voiceEnabled?: boolean;
664
+ }>;
665
+ };
666
+ }): CancelablePromise<{
667
+ success: boolean;
668
+ data: {
669
+ tenantId: string;
670
+ defaultVisibleHoursStart: string;
671
+ defaultVisibleHoursEnd: string;
672
+ defaultDaysShown: Array<string>;
673
+ appointmentScheduledAlertEnabled: boolean;
674
+ appointmentRescheduledAlertEnabled: boolean;
675
+ sendTimeOfSchedulingReminder: boolean;
676
+ defaultReminderConfigurations: Array<{
677
+ hoursBefore: (string | number);
678
+ emailEnabled: boolean;
679
+ smsEnabled: boolean;
680
+ voiceEnabled?: boolean;
681
+ }>;
682
+ };
683
+ }>;
684
+ /**
685
+ * Get Therapy Finder profile (self)
686
+ * @returns any Response for status 200
687
+ * @throws ApiError
688
+ */
689
+ static getSettingsTherapyFinder(): CancelablePromise<{
690
+ success: boolean;
691
+ data: {
692
+ membershipId: string;
693
+ licenseType: (string | null);
694
+ licenseExpirationDate: (string | null);
695
+ taxonomyCode: (string | null);
696
+ dateOfBirth: (string | null);
697
+ specialty: (string | null);
698
+ biography: (string | null);
699
+ fees: ({
700
+ individualMin?: (string | number);
701
+ individualMax?: (string | number);
702
+ couplesMin?: (string | number);
703
+ couplesMax?: (string | number);
704
+ groupMin?: (string | number);
705
+ groupMax?: (string | number);
706
+ currency?: string;
707
+ notes?: string;
708
+ } | null);
709
+ acceptedInsuranceIds: Array<string>;
710
+ therapyFinderListed: boolean;
711
+ acceptingNewClients: boolean;
712
+ flexibleFees: boolean;
713
+ disasterImpactedAccepted: boolean;
714
+ };
715
+ }>;
716
+ /**
717
+ * Update own Therapy Finder profile
718
+ * @returns any Response for status 200
719
+ * @throws ApiError
720
+ */
721
+ static patchSettingsTherapyFinder({ requestBody, }: {
722
+ requestBody: {
723
+ licenseType?: (string | null);
724
+ licenseExpirationDate?: (string | null);
725
+ taxonomyCode?: (string | null);
726
+ dateOfBirth?: (string | null);
727
+ specialty?: (string | null);
728
+ biography?: (string | null);
729
+ fees?: ({
730
+ individualMin?: (string | number);
731
+ individualMax?: (string | number);
732
+ couplesMin?: (string | number);
733
+ couplesMax?: (string | number);
734
+ groupMin?: (string | number);
735
+ groupMax?: (string | number);
736
+ currency?: string;
737
+ notes?: string;
738
+ } | null);
739
+ acceptedInsuranceIds?: Array<string>;
740
+ therapyFinderListed?: boolean;
741
+ acceptingNewClients?: boolean;
742
+ flexibleFees?: boolean;
743
+ disasterImpactedAccepted?: boolean;
744
+ };
745
+ }): CancelablePromise<{
746
+ success: boolean;
747
+ data: {
748
+ membershipId: string;
749
+ licenseType: (string | null);
750
+ licenseExpirationDate: (string | null);
751
+ taxonomyCode: (string | null);
752
+ dateOfBirth: (string | null);
753
+ specialty: (string | null);
754
+ biography: (string | null);
755
+ fees: ({
756
+ individualMin?: (string | number);
757
+ individualMax?: (string | number);
758
+ couplesMin?: (string | number);
759
+ couplesMax?: (string | number);
760
+ groupMin?: (string | number);
761
+ groupMax?: (string | number);
762
+ currency?: string;
763
+ notes?: string;
764
+ } | null);
765
+ acceptedInsuranceIds: Array<string>;
766
+ therapyFinderListed: boolean;
767
+ acceptingNewClients: boolean;
768
+ flexibleFees: boolean;
769
+ disasterImpactedAccepted: boolean;
770
+ };
771
+ }>;
772
+ /**
773
+ * Update a teammate's Therapy Finder profile (admin)
774
+ * @returns any Response for status 200
775
+ * @throws ApiError
776
+ */
777
+ static patchSettingsTherapyFinderByMembershipId({ membershipId, requestBody, }: {
778
+ membershipId: string;
779
+ requestBody: {
780
+ licenseType?: (string | null);
781
+ licenseExpirationDate?: (string | null);
782
+ taxonomyCode?: (string | null);
783
+ dateOfBirth?: (string | null);
784
+ specialty?: (string | null);
785
+ biography?: (string | null);
786
+ fees?: ({
787
+ individualMin?: (string | number);
788
+ individualMax?: (string | number);
789
+ couplesMin?: (string | number);
790
+ couplesMax?: (string | number);
791
+ groupMin?: (string | number);
792
+ groupMax?: (string | number);
793
+ currency?: string;
794
+ notes?: string;
795
+ } | null);
796
+ acceptedInsuranceIds?: Array<string>;
797
+ therapyFinderListed?: boolean;
798
+ acceptingNewClients?: boolean;
799
+ flexibleFees?: boolean;
800
+ disasterImpactedAccepted?: boolean;
801
+ };
802
+ }): CancelablePromise<{
803
+ success: boolean;
804
+ data: {
805
+ membershipId: string;
806
+ licenseType: (string | null);
807
+ licenseExpirationDate: (string | null);
808
+ taxonomyCode: (string | null);
809
+ dateOfBirth: (string | null);
810
+ specialty: (string | null);
811
+ biography: (string | null);
812
+ fees: ({
813
+ individualMin?: (string | number);
814
+ individualMax?: (string | number);
815
+ couplesMin?: (string | number);
816
+ couplesMax?: (string | number);
817
+ groupMin?: (string | number);
818
+ groupMax?: (string | number);
819
+ currency?: string;
820
+ notes?: string;
821
+ } | null);
822
+ acceptedInsuranceIds: Array<string>;
823
+ therapyFinderListed: boolean;
824
+ acceptingNewClients: boolean;
825
+ flexibleFees: boolean;
826
+ disasterImpactedAccepted: boolean;
827
+ };
828
+ }>;
829
+ /**
830
+ * Get per-client overrides
831
+ * @returns any Response for status 200
832
+ * @throws ApiError
833
+ */
834
+ static getSettingsClientsByClientIdOverrides({ clientId, }: {
835
+ clientId: string;
836
+ }): CancelablePromise<{
837
+ success: boolean;
838
+ data: {
839
+ clientId: string;
840
+ autopayEnabled: boolean;
841
+ autopayPaymentMethodId: (string | null);
842
+ defaultServiceId: (string | null);
843
+ customRateCents: (number | null);
844
+ defaultModifiers: Array<string>;
845
+ timezone: (string | null);
846
+ cancellationWindowOverrideMinutes: (number | null);
847
+ };
848
+ }>;
849
+ /**
850
+ * Update per-client overrides
851
+ * @returns any Response for status 200
852
+ * @throws ApiError
853
+ */
854
+ static patchSettingsClientsByClientIdOverrides({ clientId, requestBody, }: {
855
+ clientId: string;
856
+ requestBody: {
857
+ autopayEnabled?: boolean;
858
+ autopayPaymentMethodId?: (string | null);
859
+ defaultServiceId?: (string | null);
860
+ customRateCents?: ((string | number) | null);
861
+ defaultModifiers?: Array<string>;
862
+ timezone?: (string | null);
863
+ cancellationWindowOverrideMinutes?: ((string | number) | null);
864
+ };
865
+ }): CancelablePromise<{
866
+ success: boolean;
867
+ data: {
868
+ clientId: string;
869
+ autopayEnabled: boolean;
870
+ autopayPaymentMethodId: (string | null);
871
+ defaultServiceId: (string | null);
872
+ customRateCents: (number | null);
873
+ defaultModifiers: Array<string>;
874
+ timezone: (string | null);
875
+ cancellationWindowOverrideMinutes: (number | null);
876
+ };
877
+ }>;
878
+ /**
879
+ * List per-client reminder channel overrides
880
+ * @returns any Response for status 200
881
+ * @throws ApiError
882
+ */
883
+ static getSettingsClientsByClientIdReminderChannels({ clientId, }: {
884
+ clientId: string;
885
+ }): CancelablePromise<{
886
+ success: boolean;
887
+ data: Array<{
888
+ eventType: string;
889
+ channel: string;
890
+ enabled: boolean;
891
+ contactMethodId: (string | null);
892
+ }>;
893
+ }>;
894
+ /**
895
+ * Upsert a per-client reminder channel override
896
+ * @returns any Response for status 200
897
+ * @throws ApiError
898
+ */
899
+ static putSettingsClientsByClientIdReminderChannels({ clientId, requestBody, }: {
900
+ clientId: string;
901
+ requestBody: {
902
+ eventType: 'upcoming_appointment' | 'incomplete_doc' | 'cancellation';
903
+ channel: 'email' | 'sms' | 'voice';
904
+ enabled: boolean;
905
+ contactMethodId?: (string | null);
906
+ };
907
+ }): CancelablePromise<{
908
+ success: boolean;
909
+ data: Array<{
910
+ eventType: string;
911
+ channel: string;
912
+ enabled: boolean;
913
+ contactMethodId: (string | null);
914
+ }>;
915
+ }>;
916
+ /**
917
+ * List clinician service-rate overrides
918
+ * @returns any Response for status 200
919
+ * @throws ApiError
920
+ */
921
+ static getSettingsCliniciansByMembershipIdServiceRates({ membershipId, }: {
922
+ membershipId: string;
923
+ }): CancelablePromise<{
924
+ success: boolean;
925
+ data: Array<{
926
+ serviceId: string;
927
+ overrideFeeCents: (number | null);
928
+ overrideDurationMinutes: (number | null);
929
+ }>;
930
+ }>;
931
+ /**
932
+ * Upsert a clinician service-rate override
933
+ * @returns any Response for status 200
934
+ * @throws ApiError
935
+ */
936
+ static putSettingsCliniciansByMembershipIdServiceRates({ membershipId, requestBody, }: {
937
+ membershipId: string;
938
+ requestBody: {
939
+ serviceId: string;
940
+ overrideFeeCents?: ((string | number) | null);
941
+ overrideDurationMinutes?: ((string | number) | null);
942
+ };
943
+ }): CancelablePromise<{
944
+ success: boolean;
945
+ data: Array<{
946
+ serviceId: string;
947
+ overrideFeeCents: (number | null);
948
+ overrideDurationMinutes: (number | null);
949
+ }>;
950
+ }>;
951
+ /**
952
+ * List clinician per-location availability
953
+ * @returns any Response for status 200
954
+ * @throws ApiError
955
+ */
956
+ static getSettingsCliniciansByMembershipIdLocationAvailability({ membershipId, }: {
957
+ membershipId: string;
958
+ }): CancelablePromise<{
959
+ success: boolean;
960
+ data: Array<{
961
+ locationId: string;
962
+ workingDays: (Array<number> | null);
963
+ workingHours: ({
964
+ start: string;
965
+ end: string;
966
+ } | null);
967
+ notes: (string | null);
968
+ }>;
969
+ }>;
970
+ /**
971
+ * Upsert clinician per-location availability
972
+ * @returns any Response for status 200
973
+ * @throws ApiError
974
+ */
975
+ static putSettingsCliniciansByMembershipIdLocationAvailability({ membershipId, requestBody, }: {
976
+ membershipId: string;
977
+ requestBody: {
978
+ locationId: string;
979
+ workingDays?: null;
980
+ workingHours?: ({
981
+ start: string;
982
+ end: string;
983
+ } | null);
984
+ notes?: (string | null);
985
+ };
986
+ }): CancelablePromise<{
987
+ success: boolean;
988
+ data: Array<{
989
+ locationId: string;
990
+ workingDays: (Array<number> | null);
991
+ workingHours: ({
992
+ start: string;
993
+ end: string;
994
+ } | null);
995
+ notes: (string | null);
996
+ }>;
997
+ }>;
998
+ /**
999
+ * List supported notification template macros
1000
+ * @returns any Response for status 200
1001
+ * @throws ApiError
1002
+ */
1003
+ static getSettingsNotificationMacros(): CancelablePromise<{
1004
+ success: boolean;
1005
+ data: Array<{
1006
+ token: string;
1007
+ label: string;
1008
+ description: string;
1009
+ }>;
1010
+ }>;
1011
+ /**
1012
+ * Get SMS reply keywords
1013
+ * @returns any Response for status 200
1014
+ * @throws ApiError
1015
+ */
1016
+ static getSettingsNotificationKeywords(): CancelablePromise<{
1017
+ success: boolean;
1018
+ data: {
1019
+ tenantId: string;
1020
+ confirmKeywords: Array<string>;
1021
+ cancelKeywords: Array<string>;
1022
+ };
1023
+ }>;
1024
+ /**
1025
+ * Update SMS reply keywords
1026
+ * @returns any Response for status 200
1027
+ * @throws ApiError
1028
+ */
1029
+ static patchSettingsNotificationKeywords({ requestBody, }: {
1030
+ requestBody: {
1031
+ confirmKeywords?: Array<string>;
1032
+ cancelKeywords?: Array<string>;
1033
+ };
1034
+ }): CancelablePromise<{
1035
+ success: boolean;
1036
+ data: {
1037
+ tenantId: string;
1038
+ confirmKeywords: Array<string>;
1039
+ cancelKeywords: Array<string>;
1040
+ };
1041
+ }>;
1042
+ /**
1043
+ * Get AI + telehealth defaults
1044
+ * @returns any Response for status 200
1045
+ * @throws ApiError
1046
+ */
1047
+ static getSettingsAiTelehealthDefaults(): CancelablePromise<{
1048
+ success: boolean;
1049
+ data: {
1050
+ tenantId: string;
1051
+ noteTakerEnabled: boolean;
1052
+ sessionSummariesEnabled: boolean;
1053
+ intakeSummariesEnabled: boolean;
1054
+ treatmentPlannerEnabled: boolean;
1055
+ sessionSidekickEnabled: boolean;
1056
+ wileyContentEnabled: boolean;
1057
+ transcriptRetentionDays: number;
1058
+ draftNoteRetentionDays: number;
1059
+ autoDeleteUploadAfterDraft: boolean;
1060
+ defaultWaitingRoomEnabled: boolean;
1061
+ defaultParticipantChat: boolean;
1062
+ defaultParticipantScreenShare: boolean;
1063
+ defaultParticipantWhiteboard: boolean;
1064
+ defaultParticipantBackground: boolean;
1065
+ };
1066
+ }>;
1067
+ /**
1068
+ * Update AI + telehealth defaults
1069
+ * @returns any Response for status 200
1070
+ * @throws ApiError
1071
+ */
1072
+ static patchSettingsAiTelehealthDefaults({ requestBody, }: {
1073
+ requestBody: {
1074
+ noteTakerEnabled?: boolean;
1075
+ sessionSummariesEnabled?: boolean;
1076
+ intakeSummariesEnabled?: boolean;
1077
+ treatmentPlannerEnabled?: boolean;
1078
+ sessionSidekickEnabled?: boolean;
1079
+ wileyContentEnabled?: boolean;
1080
+ transcriptRetentionDays?: (string | number);
1081
+ draftNoteRetentionDays?: (string | number);
1082
+ autoDeleteUploadAfterDraft?: boolean;
1083
+ defaultWaitingRoomEnabled?: boolean;
1084
+ defaultParticipantChat?: boolean;
1085
+ defaultParticipantScreenShare?: boolean;
1086
+ defaultParticipantWhiteboard?: boolean;
1087
+ defaultParticipantBackground?: boolean;
1088
+ };
1089
+ }): CancelablePromise<{
1090
+ success: boolean;
1091
+ data: {
1092
+ tenantId: string;
1093
+ noteTakerEnabled: boolean;
1094
+ sessionSummariesEnabled: boolean;
1095
+ intakeSummariesEnabled: boolean;
1096
+ treatmentPlannerEnabled: boolean;
1097
+ sessionSidekickEnabled: boolean;
1098
+ wileyContentEnabled: boolean;
1099
+ transcriptRetentionDays: number;
1100
+ draftNoteRetentionDays: number;
1101
+ autoDeleteUploadAfterDraft: boolean;
1102
+ defaultWaitingRoomEnabled: boolean;
1103
+ defaultParticipantChat: boolean;
1104
+ defaultParticipantScreenShare: boolean;
1105
+ defaultParticipantWhiteboard: boolean;
1106
+ defaultParticipantBackground: boolean;
1107
+ };
1108
+ }>;
1109
+ /**
1110
+ * Get practice policies (payroll, import, unsubscribe)
1111
+ * @returns any Response for status 200
1112
+ * @throws ApiError
1113
+ */
1114
+ static getSettingsPracticePolicies(): CancelablePromise<{
1115
+ success: boolean;
1116
+ data: {
1117
+ tenantId: string;
1118
+ payrollCadence: string;
1119
+ payrollAnchorDay: ((string | number) | null);
1120
+ closePeriodAutoOnAnchor: boolean;
1121
+ clientImportEnabled: boolean;
1122
+ unsubscribeBehavior: string;
1123
+ };
1124
+ }>;
1125
+ /**
1126
+ * Update practice policies
1127
+ * @returns any Response for status 200
1128
+ * @throws ApiError
1129
+ */
1130
+ static patchSettingsPracticePolicies({ requestBody, }: {
1131
+ requestBody: {
1132
+ payrollCadence?: 'manual' | 'weekly' | 'biweekly' | 'semi_monthly' | 'monthly';
1133
+ payrollAnchorDay?: ((string | number) | null);
1134
+ closePeriodAutoOnAnchor?: boolean;
1135
+ clientImportEnabled?: boolean;
1136
+ unsubscribeBehavior?: 'soft' | 'hard';
1137
+ };
1138
+ }): CancelablePromise<{
1139
+ success: boolean;
1140
+ data: {
1141
+ tenantId: string;
1142
+ payrollCadence: string;
1143
+ payrollAnchorDay: ((string | number) | null);
1144
+ closePeriodAutoOnAnchor: boolean;
1145
+ clientImportEnabled: boolean;
1146
+ unsubscribeBehavior: string;
1147
+ };
1148
+ }>;
1149
+ /**
1150
+ * Set client restricted flag
1151
+ * @returns any Response for status 200
1152
+ * @throws ApiError
1153
+ */
1154
+ static patchSettingsClientsByClientIdRestricted({ clientId, requestBody, }: {
1155
+ clientId: string;
1156
+ requestBody: {
1157
+ isRestricted: boolean;
1158
+ };
1159
+ }): CancelablePromise<{
1160
+ success: boolean;
1161
+ data: {
1162
+ clientId: string;
1163
+ isRestricted: boolean;
1164
+ };
1165
+ }>;
1166
+ /**
1167
+ * List clinical-access grants for a client
1168
+ * @returns any Response for status 200
1169
+ * @throws ApiError
1170
+ */
1171
+ static getSettingsClientsByClientIdClinicalAccess({ clientId, }: {
1172
+ clientId: string;
1173
+ }): CancelablePromise<{
1174
+ success: boolean;
1175
+ data: Array<{
1176
+ membershipId: string;
1177
+ grantedBy: (string | null);
1178
+ grantedAt: string;
1179
+ }>;
1180
+ }>;
1181
+ /**
1182
+ * Grant clinical access
1183
+ * @returns any Response for status 200
1184
+ * @throws ApiError
1185
+ */
1186
+ static putSettingsClientsByClientIdClinicalAccess({ clientId, requestBody, }: {
1187
+ clientId: string;
1188
+ requestBody: {
1189
+ membershipId: string;
1190
+ };
1191
+ }): CancelablePromise<{
1192
+ success: boolean;
1193
+ data: Array<{
1194
+ membershipId: string;
1195
+ grantedBy: (string | null);
1196
+ grantedAt: string;
1197
+ }>;
1198
+ }>;
1199
+ /**
1200
+ * Revoke clinical access
1201
+ * @returns any Response for status 200
1202
+ * @throws ApiError
1203
+ */
1204
+ static deleteSettingsClientsByClientIdClinicalAccessByMembershipId({ clientId, membershipId, }: {
1205
+ clientId: string;
1206
+ membershipId: string;
1207
+ }): CancelablePromise<{
1208
+ success: boolean;
1209
+ data: Array<{
1210
+ membershipId: string;
1211
+ grantedBy: (string | null);
1212
+ grantedAt: string;
1213
+ }>;
1214
+ }>;
1215
+ /**
1216
+ * List admin-access grants for a client
1217
+ * @returns any Response for status 200
1218
+ * @throws ApiError
1219
+ */
1220
+ static getSettingsClientsByClientIdAdminAccess({ clientId, }: {
1221
+ clientId: string;
1222
+ }): CancelablePromise<{
1223
+ success: boolean;
1224
+ data: Array<{
1225
+ membershipId: string;
1226
+ grantedBy: (string | null);
1227
+ grantedAt: string;
1228
+ }>;
1229
+ }>;
1230
+ /**
1231
+ * Grant admin access
1232
+ * @returns any Response for status 200
1233
+ * @throws ApiError
1234
+ */
1235
+ static putSettingsClientsByClientIdAdminAccess({ clientId, requestBody, }: {
1236
+ clientId: string;
1237
+ requestBody: {
1238
+ membershipId: string;
1239
+ };
1240
+ }): CancelablePromise<{
1241
+ success: boolean;
1242
+ data: Array<{
1243
+ membershipId: string;
1244
+ grantedBy: (string | null);
1245
+ grantedAt: string;
1246
+ }>;
1247
+ }>;
1248
+ /**
1249
+ * Revoke admin access
1250
+ * @returns any Response for status 200
1251
+ * @throws ApiError
1252
+ */
1253
+ static deleteSettingsClientsByClientIdAdminAccessByMembershipId({ clientId, membershipId, }: {
1254
+ clientId: string;
1255
+ membershipId: string;
1256
+ }): CancelablePromise<{
1257
+ success: boolean;
1258
+ data: Array<{
1259
+ membershipId: string;
1260
+ grantedBy: (string | null);
1261
+ grantedAt: string;
1262
+ }>;
1263
+ }>;
1264
+ /**
1265
+ * List assigned clinicians for co-treatment
1266
+ * @returns any Response for status 200
1267
+ * @throws ApiError
1268
+ */
1269
+ static getSettingsClientsByClientIdAssignedClinicians({ clientId, }: {
1270
+ clientId: string;
1271
+ }): CancelablePromise<{
1272
+ success: boolean;
1273
+ data: Array<{
1274
+ membershipId: string;
1275
+ role: string;
1276
+ assignedAt: string;
1277
+ }>;
1278
+ }>;
1279
+ /**
1280
+ * Assign or update a clinician for co-treatment
1281
+ * @returns any Response for status 200
1282
+ * @throws ApiError
1283
+ */
1284
+ static putSettingsClientsByClientIdAssignedClinicians({ clientId, requestBody, }: {
1285
+ clientId: string;
1286
+ requestBody: {
1287
+ membershipId: string;
1288
+ role: 'primary' | 'co_treating' | 'covering';
1289
+ };
1290
+ }): CancelablePromise<{
1291
+ success: boolean;
1292
+ data: Array<{
1293
+ membershipId: string;
1294
+ role: string;
1295
+ assignedAt: string;
1296
+ }>;
1297
+ }>;
1298
+ /**
1299
+ * Unassign a clinician
1300
+ * @returns any Response for status 200
1301
+ * @throws ApiError
1302
+ */
1303
+ static deleteSettingsClientsByClientIdAssignedCliniciansByMembershipId({ clientId, membershipId, }: {
1304
+ clientId: string;
1305
+ membershipId: string;
1306
+ }): CancelablePromise<{
1307
+ success: boolean;
1308
+ data: Array<{
1309
+ membershipId: string;
1310
+ role: string;
1311
+ assignedAt: string;
1312
+ }>;
1313
+ }>;
366
1314
  }
367
1315
  //# sourceMappingURL=SettingsService.d.ts.map