@uptiqai/integrations-sdk 1.0.21 → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole = exports.AnthropicCreateStreamBodyMessagesItemRole = exports.GmailSendEmail200Provider = exports.GmailSendEmail200Status = exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = exports.GoogleGenerativeAIGenerateImageBodyAspectRatio = exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = exports.OpenaiGenerateTextBodyMessagesItemRole = exports.OpenaiCreateStreamBodyMessagesItemRole = void 0;
3
+ exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole = exports.AnthropicCreateStreamBodyMessagesItemRole = exports.GmailSendEmail200Provider = exports.GmailSendEmail200Status = exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = exports.GoogleGenerativeAIGenerateImageBodyAspectRatio = exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = exports.OpenaiGenerateTextBodyMessagesItemRole = exports.OpenaiCreateStreamBodyMessagesItemRole = exports.WealthboxCreateContactBodyGender = exports.WealthboxCreateContactBodyMaritalStatus = exports.WealthboxCreateContactBodyStatus = exports.WealthboxCreateContactBodyType = exports.WealthboxUpdateContactBodyAllOfGender = exports.WealthboxUpdateContactBodyAllOfMaritalStatus = exports.WealthboxUpdateContactBodyAllOfStatus = exports.WealthboxUpdateContactBodyAllOfType = exports.WealthboxCreateTaskBodyPriority = exports.WealthboxUpdateTaskBodyPriority = exports.WealthboxCreateEventBodyState = exports.WealthboxUpdateEventBodyState = exports.WealthboxAddHouseholdMemberBodyTitle = void 0;
4
4
  /**
5
5
  * Generated by orval v7.1.0 🍺
6
6
  * Do not edit manually.
@@ -10,6 +10,104 @@ exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole =
10
10
  */
11
11
  const http_client_1 = require("./http-client");
12
12
  // eslint-disable-next-line @typescript-eslint/no-redeclare
13
+ exports.WealthboxAddHouseholdMemberBodyTitle = {
14
+ Head: 'Head',
15
+ Spouse: 'Spouse',
16
+ Partner: 'Partner',
17
+ Child: 'Child',
18
+ Grandchild: 'Grandchild',
19
+ Parent: 'Parent',
20
+ Grandparent: 'Grandparent',
21
+ Sibling: 'Sibling',
22
+ Other_Dependent: 'Other Dependent',
23
+ };
24
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
25
+ exports.WealthboxUpdateEventBodyState = {
26
+ unconfirmed: 'unconfirmed',
27
+ confirmed: 'confirmed',
28
+ tentative: 'tentative',
29
+ completed: 'completed',
30
+ cancelled: 'cancelled',
31
+ };
32
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
33
+ exports.WealthboxCreateEventBodyState = {
34
+ unconfirmed: 'unconfirmed',
35
+ confirmed: 'confirmed',
36
+ tentative: 'tentative',
37
+ completed: 'completed',
38
+ cancelled: 'cancelled',
39
+ };
40
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
41
+ exports.WealthboxUpdateTaskBodyPriority = {
42
+ Low: 'Low',
43
+ Medium: 'Medium',
44
+ High: 'High',
45
+ };
46
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
47
+ exports.WealthboxCreateTaskBodyPriority = {
48
+ Low: 'Low',
49
+ Medium: 'Medium',
50
+ High: 'High',
51
+ };
52
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
53
+ exports.WealthboxUpdateContactBodyAllOfType = {
54
+ Person: 'Person',
55
+ Household: 'Household',
56
+ Organization: 'Organization',
57
+ Trust: 'Trust',
58
+ };
59
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
60
+ exports.WealthboxUpdateContactBodyAllOfStatus = {
61
+ Active: 'Active',
62
+ Inactive: 'Inactive',
63
+ };
64
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
65
+ exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
66
+ Married: 'Married',
67
+ Single: 'Single',
68
+ Divorced: 'Divorced',
69
+ Widowed: 'Widowed',
70
+ Life_Partner: 'Life Partner',
71
+ Separated: 'Separated',
72
+ Unknown: 'Unknown',
73
+ };
74
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
75
+ exports.WealthboxUpdateContactBodyAllOfGender = {
76
+ Female: 'Female',
77
+ Male: 'Male',
78
+ 'Non-binary': 'Non-binary',
79
+ Unknown: 'Unknown',
80
+ };
81
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
82
+ exports.WealthboxCreateContactBodyType = {
83
+ Person: 'Person',
84
+ Household: 'Household',
85
+ Organization: 'Organization',
86
+ Trust: 'Trust',
87
+ };
88
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
89
+ exports.WealthboxCreateContactBodyStatus = {
90
+ Active: 'Active',
91
+ Inactive: 'Inactive',
92
+ };
93
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
94
+ exports.WealthboxCreateContactBodyMaritalStatus = {
95
+ Married: 'Married',
96
+ Single: 'Single',
97
+ Divorced: 'Divorced',
98
+ Widowed: 'Widowed',
99
+ Life_Partner: 'Life Partner',
100
+ Separated: 'Separated',
101
+ Unknown: 'Unknown',
102
+ };
103
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
104
+ exports.WealthboxCreateContactBodyGender = {
105
+ Female: 'Female',
106
+ Male: 'Male',
107
+ 'Non-binary': 'Non-binary',
108
+ Unknown: 'Unknown',
109
+ };
110
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
13
111
  exports.OpenaiCreateStreamBodyMessagesItemRole = {
14
112
  user: 'user',
15
113
  assistant: 'assistant',
@@ -600,527 +698,1273 @@ const getIntegrationsAPI = () => {
600
698
  * Fetches family records from Redtail with optional pagination and family member expansion.
601
699
  * @summary Get families from Redtail
602
700
  */
603
- const getFamilies = () => {
604
- return (0, http_client_1.customAxios)({ url: `/redtail/families`, method: 'GET'
701
+ const getFamilies = (getFamiliesBody) => {
702
+ return (0, http_client_1.customAxios)({ url: `/redtail/families`, method: 'POST',
703
+ headers: { 'Content-Type': 'application/json', },
704
+ data: getFamiliesBody
605
705
  });
606
706
  };
607
707
  /**
608
708
  * Fetches a Redtail contact by contact ID.
609
709
  * @summary Get Redtail contact by id
610
710
  */
611
- const getContact = (contactId) => {
612
- return (0, http_client_1.customAxios)({ url: `/redtail/contacts/${contactId}`, method: 'GET'
711
+ const getContact = (getContactBody) => {
712
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/get`, method: 'POST',
713
+ headers: { 'Content-Type': 'application/json', },
714
+ data: getContactBody
715
+ });
716
+ };
717
+ /**
718
+ * Fetches Redtail contacts with optional pagination.
719
+ * @summary Get Redtail contacts
720
+ */
721
+ const getContacts = (getContactsBody) => {
722
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'POST',
723
+ headers: { 'Content-Type': 'application/json', },
724
+ data: getContactsBody
725
+ });
726
+ };
727
+ /**
728
+ * Updates a Redtail contact by contact ID.
729
+ * @summary Update Redtail contact
730
+ */
731
+ const updateContact = (updateContactBody) => {
732
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'PUT',
733
+ headers: { 'Content-Type': 'application/json', },
734
+ data: updateContactBody
613
735
  });
614
736
  };
615
737
  /**
616
738
  * Fetches the personal profile for a Redtail contact.
617
739
  * @summary Get Redtail contact personal profile
618
740
  */
619
- const getContactPersonalProfile = (contactId) => {
620
- return (0, http_client_1.customAxios)({ url: `/redtail/contacts/${contactId}/personal_profile`, method: 'GET'
741
+ const getContactPersonalProfile = (getContactPersonalProfileBody) => {
742
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/personal_profile/get`, method: 'POST',
743
+ headers: { 'Content-Type': 'application/json', },
744
+ data: getContactPersonalProfileBody
621
745
  });
622
746
  };
623
747
  /**
624
748
  * Fetches account records associated with a Redtail contact.
625
749
  * @summary Get Redtail contact accounts
626
750
  */
627
- const getContactAccounts = (contactId) => {
628
- return (0, http_client_1.customAxios)({ url: `/redtail/contacts/${contactId}/accounts`, method: 'GET'
751
+ const getContactAccounts = (getContactAccountsBody) => {
752
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/get`, method: 'POST',
753
+ headers: { 'Content-Type': 'application/json', },
754
+ data: getContactAccountsBody
629
755
  });
630
756
  };
631
757
  /**
632
758
  * Fetches owners associated with a Redtail account.
633
759
  * @summary Get Redtail account owners
634
760
  */
635
- const getAccountOwners = (accountId) => {
636
- return (0, http_client_1.customAxios)({ url: `/redtail/accounts/${accountId}/owners`, method: 'GET'
761
+ const getAccountOwners = (getAccountOwnersBody) => {
762
+ return (0, http_client_1.customAxios)({ url: `/redtail/accounts/owners/get`, method: 'POST',
763
+ headers: { 'Content-Type': 'application/json', },
764
+ data: getAccountOwnersBody
637
765
  });
638
766
  };
639
767
  /**
640
768
  * Fetches detailed information for a Redtail account.
641
769
  * @summary Get Redtail account details
642
770
  */
643
- const getAccountDetails = (accountId) => {
644
- return (0, http_client_1.customAxios)({ url: `/redtail/accounts/${accountId}/details`, method: 'GET'
771
+ const getAccountDetails = (getAccountDetailsBody) => {
772
+ return (0, http_client_1.customAxios)({ url: `/redtail/accounts/details/get`, method: 'POST',
773
+ headers: { 'Content-Type': 'application/json', },
774
+ data: getAccountDetailsBody
645
775
  });
646
776
  };
647
777
  /**
648
- * Stores a generated app user Resend API key for PerUser integration configs.
649
- * @summary Store per-user Resend credentials
778
+ * Fetches Redtail activities for a date range.
779
+ * @summary Get Redtail activities
650
780
  */
651
- const resendSetUserCredentials = (resendSetUserCredentialsBody) => {
652
- return (0, http_client_1.customAxios)({ url: `/resend/set-user-credentials`, method: 'POST',
781
+ const getActivities = (getActivitiesBody) => {
782
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/list`, method: 'POST',
653
783
  headers: { 'Content-Type': 'application/json', },
654
- data: resendSetUserCredentialsBody
784
+ data: getActivitiesBody
655
785
  });
656
786
  };
657
787
  /**
658
- * Sends an email using Resend. Configuration is resolved via integration config.
659
- * @summary Send an email via Resend
788
+ * Fetches a Redtail activity by activity ID.
789
+ * @summary Get Redtail activity by id
660
790
  */
661
- const resendSendEmail = (resendSendEmailBody) => {
662
- return (0, http_client_1.customAxios)({ url: `/resend/send-email`, method: 'POST',
791
+ const getActivity = (getActivityBody) => {
792
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/get`, method: 'POST',
663
793
  headers: { 'Content-Type': 'application/json', },
664
- data: resendSendEmailBody
794
+ data: getActivityBody
665
795
  });
666
796
  };
667
797
  /**
668
- * Stores Stripe API credentials for PerUser integration configs.
669
- * @summary Store per-user Stripe credentials
798
+ * Creates a Redtail activity.
799
+ * @summary Create Redtail activity
670
800
  */
671
- const stripeSetUserCredentials = (stripeSetUserCredentialsBody) => {
672
- return (0, http_client_1.customAxios)({ url: `/stripe/set-user-credentials`, method: 'POST',
801
+ const createActivity = () => {
802
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'POST'
803
+ });
804
+ };
805
+ /**
806
+ * Updates a Redtail activity by activity ID.
807
+ * @summary Update Redtail activity
808
+ */
809
+ const updateActivity = (updateActivityBody) => {
810
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'PUT',
673
811
  headers: { 'Content-Type': 'application/json', },
674
- data: stripeSetUserCredentialsBody
812
+ data: updateActivityBody
675
813
  });
676
814
  };
677
815
  /**
678
- * Creates a new checkout session for accepting payments via Stripe.
679
- * @summary Create a Stripe checkout session
816
+ * Deletes a Redtail activity.
817
+ * @summary Delete Redtail activity
680
818
  */
681
- const stripeCreateCheckoutSession = (stripeCreateCheckoutSessionBody) => {
682
- return (0, http_client_1.customAxios)({ url: `/stripe/create-checkout-session`, method: 'POST',
819
+ const redtailDeleteActivity = (redtailDeleteActivityBody) => {
820
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'DELETE',
683
821
  headers: { 'Content-Type': 'application/json', },
684
- data: stripeCreateCheckoutSessionBody
822
+ data: redtailDeleteActivityBody
685
823
  });
686
824
  };
687
825
  /**
688
- * Public webhook endpoint used by Stripe to send payment events.
689
- * @summary Handle Stripe webhook callback
826
+ * Creates a note for a Redtail activity.
827
+ * @summary Create Redtail activity note
690
828
  */
691
- const stripeWebhook = () => {
692
- return (0, http_client_1.customAxios)({ url: `/stripe/webhook`, method: 'POST'
829
+ const createActivityNote = (createActivityNoteBody) => {
830
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'POST',
831
+ headers: { 'Content-Type': 'application/json', },
832
+ data: createActivityNoteBody
693
833
  });
694
834
  };
695
835
  /**
696
- * Stores generated app user Twilio WhatsApp credentials for PerUser integration configs.
697
- * @summary Store per-user Twilio WhatsApp credentials
836
+ * Deletes a Redtail activity note.
837
+ * @summary Delete Redtail activity note
698
838
  */
699
- const twilioWhatsappSetUserCredentials = (twilioWhatsappSetUserCredentialsBody) => {
700
- return (0, http_client_1.customAxios)({ url: `/twilio-whatsapp/set-user-credentials`, method: 'POST',
839
+ const deleteActivityNote = (deleteActivityNoteBody) => {
840
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'DELETE',
701
841
  headers: { 'Content-Type': 'application/json', },
702
- data: twilioWhatsappSetUserCredentialsBody
842
+ data: deleteActivityNoteBody
703
843
  });
704
844
  };
705
845
  /**
706
- * Send a message using a configured messaging provider. Message content must include body, media, or a template.
707
- * @summary Create message
846
+ * Fetches notes for a Redtail activity.
847
+ * @summary Get Redtail activity notes
708
848
  */
709
- const twilioWhatsappCreateMessage = (twilioWhatsappCreateMessageBody) => {
710
- return (0, http_client_1.customAxios)({ url: `/twilio-whatsapp/create-message`, method: 'POST',
849
+ const getActivityNotes = (getActivityNotesBody) => {
850
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes/get`, method: 'POST',
711
851
  headers: { 'Content-Type': 'application/json', },
712
- data: twilioWhatsappCreateMessageBody
852
+ data: getActivityNotesBody
713
853
  });
714
854
  };
715
855
  /**
716
- * Returns authorization URL for user to complete OAuth flow.
717
- * @summary Initiate Wealthbox OAuth flow
856
+ * Fetches Redtail database users.
857
+ * @summary Get Redtail database users
718
858
  */
719
- const wealthboxOauthInitiate = (wealthboxOauthInitiateBody) => {
720
- return (0, http_client_1.customAxios)({ url: `/wealthbox/oauth/initiate`, method: 'POST',
859
+ const getDatabaseUsers = (getDatabaseUsersBody) => {
860
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_users`, method: 'POST',
721
861
  headers: { 'Content-Type': 'application/json', },
722
- data: wealthboxOauthInitiateBody
862
+ data: getDatabaseUsersBody
723
863
  });
724
864
  };
725
865
  /**
726
- * Receives OAuth callback from Wealthbox and stores user credentials.
727
- * @summary Handle Wealthbox OAuth callback
866
+ * Fetches Redtail categories.
867
+ * @summary Get Redtail categories
728
868
  */
729
- const wealthboxOauthCallback = (params) => {
730
- return (0, http_client_1.customAxios)({ url: `/wealthbox/oauth/callback`, method: 'GET',
731
- params
869
+ const getCategories = (getCategoriesBody) => {
870
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/categories`, method: 'POST',
871
+ headers: { 'Content-Type': 'application/json', },
872
+ data: getCategoriesBody
732
873
  });
733
874
  };
734
875
  /**
735
- * @summary Get all contacts
876
+ * Fetches Redtail activity codes.
877
+ * @summary Get Redtail activity codes
736
878
  */
737
- const wealthboxGetContacts = (params) => {
738
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: 'GET',
739
- params
879
+ const getActivityCodes = (getActivityCodesBody) => {
880
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/activity_codes`, method: 'POST',
881
+ headers: { 'Content-Type': 'application/json', },
882
+ data: getActivityCodesBody
740
883
  });
741
884
  };
742
885
  /**
743
- * @summary Create a new contact
886
+ * Fetches Redtail notes.
887
+ * @summary Get Redtail notes
744
888
  */
745
- const wealthboxCreateContact = (wealthboxCreateContactBody) => {
746
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: 'POST',
889
+ const getNotes = (getNotesBody) => {
890
+ return (0, http_client_1.customAxios)({ url: `/redtail/notes`, method: 'POST',
747
891
  headers: { 'Content-Type': 'application/json', },
748
- data: wealthboxCreateContactBody
892
+ data: getNotesBody
749
893
  });
750
894
  };
751
895
  /**
752
- * @summary Get contact by ID
896
+ * Creates a contact in Redtail.
897
+ * @summary Create Redtail contact
753
898
  */
754
- const wealthboxGetContact = (wealthboxGetContactBody) => {
755
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/get`, method: 'POST',
899
+ const redtailCreateContact = (redtailCreateContactBody) => {
900
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/create`, method: 'POST',
756
901
  headers: { 'Content-Type': 'application/json', },
757
- data: wealthboxGetContactBody
902
+ data: redtailCreateContactBody
758
903
  });
759
904
  };
760
905
  /**
761
- * @summary Update a contact
906
+ * Deletes a contact in Redtail.
907
+ * @summary Delete Redtail contact
762
908
  */
763
- const wealthboxUpdateContact = (wealthboxUpdateContactBody) => {
764
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/update`, method: 'POST',
909
+ const redtailDeleteContact = (redtailDeleteContactBody) => {
910
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/delete`, method: 'DELETE',
765
911
  headers: { 'Content-Type': 'application/json', },
766
- data: wealthboxUpdateContactBody
912
+ data: redtailDeleteContactBody
767
913
  });
768
914
  };
769
915
  /**
770
- * @summary Delete a contact
916
+ * Fetches addresses for a Redtail contact.
917
+ * @summary Get Redtail contact addresses
771
918
  */
772
- const wealthboxDeleteContact = (wealthboxDeleteContactBody) => {
773
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/delete`, method: 'POST',
919
+ const redtailGetContactAddresses = (redtailGetContactAddressesBody) => {
920
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses/get`, method: 'POST',
774
921
  headers: { 'Content-Type': 'application/json', },
775
- data: wealthboxDeleteContactBody
922
+ data: redtailGetContactAddressesBody
776
923
  });
777
924
  };
778
925
  /**
779
- * @summary Get all tasks
926
+ * Fetches a contact address by ID.
927
+ * @summary Get Redtail contact address
780
928
  */
781
- const wealthboxGetTasks = (params) => {
782
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: 'GET',
783
- params
929
+ const redtailGetContactAddress = (redtailGetContactAddressBody) => {
930
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses/id/get`, method: 'POST',
931
+ headers: { 'Content-Type': 'application/json', },
932
+ data: redtailGetContactAddressBody
784
933
  });
785
934
  };
786
935
  /**
787
- * @summary Create a new task
936
+ * Creates a contact address.
937
+ * @summary Create Redtail contact address
788
938
  */
789
- const wealthboxCreateTask = (wealthboxCreateTaskBody) => {
790
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: 'POST',
939
+ const redtailCreateContactAddress = (redtailCreateContactAddressBody) => {
940
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'POST',
791
941
  headers: { 'Content-Type': 'application/json', },
792
- data: wealthboxCreateTaskBody
942
+ data: redtailCreateContactAddressBody
793
943
  });
794
944
  };
795
945
  /**
796
- * @summary Get task by ID
946
+ * Updates a contact address.
947
+ * @summary Update Redtail contact address
797
948
  */
798
- const wealthboxGetTask = (wealthboxGetTaskBody) => {
799
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/get`, method: 'POST',
949
+ const redtailUpdateContactAddress = (redtailUpdateContactAddressBody) => {
950
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'PUT',
800
951
  headers: { 'Content-Type': 'application/json', },
801
- data: wealthboxGetTaskBody
952
+ data: redtailUpdateContactAddressBody
802
953
  });
803
954
  };
804
955
  /**
805
- * @summary Update a task
956
+ * Deletes a contact address.
957
+ * @summary Delete Redtail contact address
806
958
  */
807
- const wealthboxUpdateTask = (wealthboxUpdateTaskBody) => {
808
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/update`, method: 'POST',
959
+ const redtailDeleteContactAddress = (redtailDeleteContactAddressBody) => {
960
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'DELETE',
809
961
  headers: { 'Content-Type': 'application/json', },
810
- data: wealthboxUpdateTaskBody
962
+ data: redtailDeleteContactAddressBody
811
963
  });
812
964
  };
813
965
  /**
814
- * @summary Delete a task
966
+ * Fetches emails for a Redtail contact.
967
+ * @summary Get Redtail contact emails
815
968
  */
816
- const wealthboxDeleteTask = (wealthboxDeleteTaskBody) => {
817
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/delete`, method: 'POST',
969
+ const redtailGetContactEmails = (redtailGetContactEmailsBody) => {
970
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails/get`, method: 'POST',
818
971
  headers: { 'Content-Type': 'application/json', },
819
- data: wealthboxDeleteTaskBody
972
+ data: redtailGetContactEmailsBody
820
973
  });
821
974
  };
822
975
  /**
823
- * @summary Get all events
976
+ * Fetches a contact email by ID.
977
+ * @summary Get Redtail contact email
824
978
  */
825
- const wealthboxGetEvents = (params) => {
826
- return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: 'GET',
827
- params
979
+ const redtailGetContactEmail = (redtailGetContactEmailBody) => {
980
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails/id/get`, method: 'POST',
981
+ headers: { 'Content-Type': 'application/json', },
982
+ data: redtailGetContactEmailBody
828
983
  });
829
984
  };
830
985
  /**
831
- * @summary Create a new event
986
+ * Creates a contact email.
987
+ * @summary Create Redtail contact email
832
988
  */
833
- const wealthboxCreateEvent = (wealthboxCreateEventBody) => {
834
- return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: 'POST',
989
+ const redtailCreateContactEmail = (redtailCreateContactEmailBody) => {
990
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'POST',
835
991
  headers: { 'Content-Type': 'application/json', },
836
- data: wealthboxCreateEventBody
992
+ data: redtailCreateContactEmailBody
837
993
  });
838
994
  };
839
995
  /**
840
- * @summary Get event by ID
996
+ * Updates a contact email.
997
+ * @summary Update Redtail contact email
841
998
  */
842
- const wealthboxGetEvent = (wealthboxGetEventBody) => {
843
- return (0, http_client_1.customAxios)({ url: `/wealthbox/events/get`, method: 'POST',
999
+ const redtailUpdateContactEmail = (redtailUpdateContactEmailBody) => {
1000
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'PUT',
844
1001
  headers: { 'Content-Type': 'application/json', },
845
- data: wealthboxGetEventBody
1002
+ data: redtailUpdateContactEmailBody
846
1003
  });
847
1004
  };
848
1005
  /**
849
- * @summary Update an event
1006
+ * Deletes a contact email.
1007
+ * @summary Delete Redtail contact email
850
1008
  */
851
- const wealthboxUpdateEvent = (wealthboxUpdateEventBody) => {
852
- return (0, http_client_1.customAxios)({ url: `/wealthbox/events/update`, method: 'POST',
1009
+ const redtailDeleteContactEmail = (redtailDeleteContactEmailBody) => {
1010
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'DELETE',
853
1011
  headers: { 'Content-Type': 'application/json', },
854
- data: wealthboxUpdateEventBody
1012
+ data: redtailDeleteContactEmailBody
855
1013
  });
856
1014
  };
857
1015
  /**
858
- * @summary Delete an event
1016
+ * Fetches phones for a Redtail contact.
1017
+ * @summary Get Redtail contact phones
859
1018
  */
860
- const wealthboxDeleteEvent = (wealthboxDeleteEventBody) => {
861
- return (0, http_client_1.customAxios)({ url: `/wealthbox/events/delete`, method: 'POST',
1019
+ const redtailGetContactPhones = (redtailGetContactPhonesBody) => {
1020
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones/get`, method: 'POST',
862
1021
  headers: { 'Content-Type': 'application/json', },
863
- data: wealthboxDeleteEventBody
1022
+ data: redtailGetContactPhonesBody
864
1023
  });
865
1024
  };
866
1025
  /**
867
- * @summary Get all opportunities
1026
+ * Fetches a contact phone by ID.
1027
+ * @summary Get Redtail contact phone
868
1028
  */
869
- const wealthboxGetOpportunities = (params) => {
870
- return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: 'GET',
871
- params
1029
+ const redtailGetContactPhone = (redtailGetContactPhoneBody) => {
1030
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones/id/get`, method: 'POST',
1031
+ headers: { 'Content-Type': 'application/json', },
1032
+ data: redtailGetContactPhoneBody
872
1033
  });
873
1034
  };
874
1035
  /**
875
- * @summary Create a new opportunity
1036
+ * Creates a contact phone.
1037
+ * @summary Create Redtail contact phone
876
1038
  */
877
- const wealthboxCreateOpportunity = (wealthboxCreateOpportunityBody) => {
878
- return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: 'POST',
1039
+ const redtailCreateContactPhone = (redtailCreateContactPhoneBody) => {
1040
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'POST',
879
1041
  headers: { 'Content-Type': 'application/json', },
880
- data: wealthboxCreateOpportunityBody
1042
+ data: redtailCreateContactPhoneBody
881
1043
  });
882
1044
  };
883
1045
  /**
884
- * @summary Get opportunity by ID
1046
+ * Updates a contact phone.
1047
+ * @summary Update Redtail contact phone
885
1048
  */
886
- const wealthboxGetOpportunity = (wealthboxGetOpportunityBody) => {
887
- return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/get`, method: 'POST',
1049
+ const redtailUpdateContactPhone = (redtailUpdateContactPhoneBody) => {
1050
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'PUT',
888
1051
  headers: { 'Content-Type': 'application/json', },
889
- data: wealthboxGetOpportunityBody
1052
+ data: redtailUpdateContactPhoneBody
890
1053
  });
891
1054
  };
892
1055
  /**
893
- * @summary Update an opportunity
1056
+ * Deletes a contact phone.
1057
+ * @summary Delete Redtail contact phone
894
1058
  */
895
- const wealthboxUpdateOpportunity = (wealthboxUpdateOpportunityBody) => {
896
- return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/update`, method: 'POST',
1059
+ const redtailDeleteContactPhone = (redtailDeleteContactPhoneBody) => {
1060
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'DELETE',
897
1061
  headers: { 'Content-Type': 'application/json', },
898
- data: wealthboxUpdateOpportunityBody
1062
+ data: redtailDeleteContactPhoneBody
899
1063
  });
900
1064
  };
901
1065
  /**
902
- * @summary Delete an opportunity
1066
+ * Fetches social media records for a Redtail contact.
1067
+ * @summary Get Redtail contact social media
903
1068
  */
904
- const wealthboxDeleteOpportunity = (wealthboxDeleteOpportunityBody) => {
905
- return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/delete`, method: 'POST',
1069
+ const redtailGetContactSocialMedias = (redtailGetContactSocialMediasBody) => {
1070
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias/get`, method: 'POST',
906
1071
  headers: { 'Content-Type': 'application/json', },
907
- data: wealthboxDeleteOpportunityBody
1072
+ data: redtailGetContactSocialMediasBody
908
1073
  });
909
1074
  };
910
1075
  /**
911
- * @summary Get all notes
1076
+ * Fetches a social media record by ID.
1077
+ * @summary Get Redtail contact social media record
912
1078
  */
913
- const wealthboxGetNotes = (params) => {
914
- return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: 'GET',
915
- params
1079
+ const redtailGetContactSocialMedia = (redtailGetContactSocialMediaBody) => {
1080
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias/id/get`, method: 'POST',
1081
+ headers: { 'Content-Type': 'application/json', },
1082
+ data: redtailGetContactSocialMediaBody
916
1083
  });
917
1084
  };
918
1085
  /**
919
- * @summary Create a new note
1086
+ * Creates a social media record.
1087
+ * @summary Create Redtail contact social media
920
1088
  */
921
- const wealthboxCreateNote = (wealthboxCreateNoteBody) => {
922
- return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: 'POST',
1089
+ const redtailCreateContactSocialMedia = (redtailCreateContactSocialMediaBody) => {
1090
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'POST',
923
1091
  headers: { 'Content-Type': 'application/json', },
924
- data: wealthboxCreateNoteBody
1092
+ data: redtailCreateContactSocialMediaBody
925
1093
  });
926
1094
  };
927
1095
  /**
928
- * @summary Get note by ID
1096
+ * Updates a social media record.
1097
+ * @summary Update Redtail contact social media
929
1098
  */
930
- const wealthboxGetNote = (wealthboxGetNoteBody) => {
931
- return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/get`, method: 'POST',
1099
+ const redtailUpdateContactSocialMedia = (redtailUpdateContactSocialMediaBody) => {
1100
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'PUT',
932
1101
  headers: { 'Content-Type': 'application/json', },
933
- data: wealthboxGetNoteBody
1102
+ data: redtailUpdateContactSocialMediaBody
934
1103
  });
935
1104
  };
936
1105
  /**
937
- * @summary Update a note
1106
+ * Deletes a social media record.
1107
+ * @summary Delete Redtail contact social media
938
1108
  */
939
- const wealthboxUpdateNote = (wealthboxUpdateNoteBody) => {
940
- return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/update`, method: 'POST',
1109
+ const redtailDeleteContactSocialMedia = (redtailDeleteContactSocialMediaBody) => {
1110
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'DELETE',
941
1111
  headers: { 'Content-Type': 'application/json', },
942
- data: wealthboxUpdateNoteBody
1112
+ data: redtailDeleteContactSocialMediaBody
943
1113
  });
944
1114
  };
945
1115
  /**
946
- * @summary Get all projects
1116
+ * Fetches URLs for a Redtail contact.
1117
+ * @summary Get Redtail contact URLs
947
1118
  */
948
- const wealthboxGetProjects = (params) => {
949
- return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: 'GET',
950
- params
1119
+ const redtailGetContactUrls = (redtailGetContactUrlsBody) => {
1120
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls/get`, method: 'POST',
1121
+ headers: { 'Content-Type': 'application/json', },
1122
+ data: redtailGetContactUrlsBody
951
1123
  });
952
1124
  };
953
1125
  /**
954
- * @summary Create a new project
1126
+ * Fetches a URL by ID.
1127
+ * @summary Get Redtail contact URL
955
1128
  */
956
- const wealthboxCreateProject = (wealthboxCreateProjectBody) => {
957
- return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: 'POST',
1129
+ const redtailGetContactUrl = (redtailGetContactUrlBody) => {
1130
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls/id/get`, method: 'POST',
958
1131
  headers: { 'Content-Type': 'application/json', },
959
- data: wealthboxCreateProjectBody
1132
+ data: redtailGetContactUrlBody
960
1133
  });
961
1134
  };
962
1135
  /**
963
- * @summary Get project by ID
1136
+ * Creates a URL record.
1137
+ * @summary Create Redtail contact URL
964
1138
  */
965
- const wealthboxGetProject = (wealthboxGetProjectBody) => {
966
- return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/get`, method: 'POST',
1139
+ const redtailCreateContactUrl = (redtailCreateContactUrlBody) => {
1140
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'POST',
967
1141
  headers: { 'Content-Type': 'application/json', },
968
- data: wealthboxGetProjectBody
1142
+ data: redtailCreateContactUrlBody
969
1143
  });
970
1144
  };
971
1145
  /**
972
- * @summary Update a project
1146
+ * Updates a URL record.
1147
+ * @summary Update Redtail contact URL
973
1148
  */
974
- const wealthboxUpdateProject = (wealthboxUpdateProjectBody) => {
975
- return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/update`, method: 'POST',
1149
+ const redtailUpdateContactUrl = (redtailUpdateContactUrlBody) => {
1150
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'PUT',
976
1151
  headers: { 'Content-Type': 'application/json', },
977
- data: wealthboxUpdateProjectBody
1152
+ data: redtailUpdateContactUrlBody
978
1153
  });
979
1154
  };
980
1155
  /**
981
- * @summary Delete a project
1156
+ * Deletes a URL record.
1157
+ * @summary Delete Redtail contact URL
982
1158
  */
983
- const wealthboxDeleteProject = (wealthboxDeleteProjectBody) => {
984
- return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/delete`, method: 'POST',
1159
+ const redtailDeleteContactUrl = (redtailDeleteContactUrlBody) => {
1160
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'DELETE',
985
1161
  headers: { 'Content-Type': 'application/json', },
986
- data: wealthboxDeleteProjectBody
1162
+ data: redtailDeleteContactUrlBody
987
1163
  });
988
1164
  };
989
1165
  /**
990
- * @summary Get all workflows
1166
+ * Fetches notes for a Redtail contact.
1167
+ * @summary Get Redtail contact notes
991
1168
  */
992
- const wealthboxGetWorkflows = (params) => {
993
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: 'GET',
994
- params
1169
+ const redtailGetContactNotes = (redtailGetContactNotesBody) => {
1170
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes/get`, method: 'POST',
1171
+ headers: { 'Content-Type': 'application/json', },
1172
+ data: redtailGetContactNotesBody
995
1173
  });
996
1174
  };
997
1175
  /**
998
- * @summary Create a new workflow
1176
+ * Fetches a contact note by ID.
1177
+ * @summary Get Redtail contact note
999
1178
  */
1000
- const wealthboxCreateWorkflow = (wealthboxCreateWorkflowBody) => {
1001
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: 'POST',
1179
+ const redtailGetContactNote = (redtailGetContactNoteBody) => {
1180
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes/id/get`, method: 'POST',
1002
1181
  headers: { 'Content-Type': 'application/json', },
1003
- data: wealthboxCreateWorkflowBody
1182
+ data: redtailGetContactNoteBody
1004
1183
  });
1005
1184
  };
1006
1185
  /**
1007
- * @summary Get workflow by ID
1186
+ * Creates a contact note.
1187
+ * @summary Create Redtail contact note
1008
1188
  */
1009
- const wealthboxGetWorkflow = (wealthboxGetWorkflowBody) => {
1010
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/get`, method: 'POST',
1189
+ const redtailCreateContactNote = (redtailCreateContactNoteBody) => {
1190
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'POST',
1011
1191
  headers: { 'Content-Type': 'application/json', },
1012
- data: wealthboxGetWorkflowBody
1192
+ data: redtailCreateContactNoteBody
1013
1193
  });
1014
1194
  };
1015
1195
  /**
1016
- * @summary Delete a workflow
1196
+ * Deletes a contact note.
1197
+ * @summary Delete Redtail contact note
1017
1198
  */
1018
- const wealthboxDeleteWorkflow = (wealthboxDeleteWorkflowBody) => {
1019
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/delete`, method: 'POST',
1199
+ const redtailDeleteContactNote = (redtailDeleteContactNoteBody) => {
1200
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'DELETE',
1020
1201
  headers: { 'Content-Type': 'application/json', },
1021
- data: wealthboxDeleteWorkflowBody
1202
+ data: redtailDeleteContactNoteBody
1022
1203
  });
1023
1204
  };
1024
1205
  /**
1025
- * @summary Complete a workflow step
1206
+ * Fetches a contact account by ID.
1207
+ * @summary Get Redtail contact account
1026
1208
  */
1027
- const wealthboxCompleteWorkflowStep = (wealthboxCompleteWorkflowStepBody) => {
1028
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/complete`, method: 'POST',
1209
+ const redtailGetContactAccount = (redtailGetContactAccountBody) => {
1210
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/id/get`, method: 'POST',
1029
1211
  headers: { 'Content-Type': 'application/json', },
1030
- data: wealthboxCompleteWorkflowStepBody
1212
+ data: redtailGetContactAccountBody
1031
1213
  });
1032
1214
  };
1033
1215
  /**
1034
- * @summary Revert a workflow step
1216
+ * Creates a contact account.
1217
+ * @summary Create Redtail contact account
1035
1218
  */
1036
- const wealthboxRevertWorkflowStep = (wealthboxRevertWorkflowStepBody) => {
1037
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/revert`, method: 'POST',
1219
+ const redtailCreateContactAccount = (redtailCreateContactAccountBody) => {
1220
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'POST',
1038
1221
  headers: { 'Content-Type': 'application/json', },
1039
- data: wealthboxRevertWorkflowStepBody
1222
+ data: redtailCreateContactAccountBody
1040
1223
  });
1041
1224
  };
1042
1225
  /**
1043
- * @summary Add a household member
1226
+ * Updates a contact account.
1227
+ * @summary Update Redtail contact account
1044
1228
  */
1045
- const wealthboxAddHouseholdMember = (wealthboxAddHouseholdMemberBody) => {
1046
- return (0, http_client_1.customAxios)({ url: `/wealthbox/households/add_member`, method: 'POST',
1229
+ const redtailUpdateContactAccount = (redtailUpdateContactAccountBody) => {
1230
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'PUT',
1047
1231
  headers: { 'Content-Type': 'application/json', },
1048
- data: wealthboxAddHouseholdMemberBody
1232
+ data: redtailUpdateContactAccountBody
1049
1233
  });
1050
1234
  };
1051
1235
  /**
1052
- * @summary Remove a household member
1236
+ * Deletes a contact account.
1237
+ * @summary Delete Redtail contact account
1053
1238
  */
1054
- const wealthboxRemoveHouseholdMember = (wealthboxRemoveHouseholdMemberBody) => {
1055
- return (0, http_client_1.customAxios)({ url: `/wealthbox/households/remove_member`, method: 'POST',
1239
+ const redtailDeleteContactAccount = (redtailDeleteContactAccountBody) => {
1240
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'DELETE',
1056
1241
  headers: { 'Content-Type': 'application/json', },
1057
- data: wealthboxRemoveHouseholdMemberBody
1242
+ data: redtailDeleteContactAccountBody
1058
1243
  });
1059
1244
  };
1060
1245
  /**
1061
- * @summary Get current user information
1246
+ * Updates account details.
1247
+ * @summary Update Redtail account details
1062
1248
  */
1063
- const wealthboxGetMe = () => {
1064
- return (0, http_client_1.customAxios)({ url: `/wealthbox/me`, method: 'GET'
1249
+ const redtailUpdateAccountDetails = (redtailUpdateAccountDetailsBody) => {
1250
+ return (0, http_client_1.customAxios)({ url: `/redtail/accounts/details`, method: 'PUT',
1251
+ headers: { 'Content-Type': 'application/json', },
1252
+ data: redtailUpdateAccountDetailsBody
1065
1253
  });
1066
1254
  };
1067
1255
  /**
1068
- * @summary Get all users
1256
+ * Fetches important information for a contact.
1257
+ * @summary Get Redtail important information
1069
1258
  */
1070
- const wealthboxGetUsers = (params) => {
1071
- return (0, http_client_1.customAxios)({ url: `/wealthbox/users`, method: 'GET',
1072
- params
1259
+ const redtailGetImportantInformation = (redtailGetImportantInformationBody) => {
1260
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/important_information/get`, method: 'POST',
1261
+ headers: { 'Content-Type': 'application/json', },
1262
+ data: redtailGetImportantInformationBody
1073
1263
  });
1074
1264
  };
1075
1265
  /**
1076
- * @summary Get all teams
1266
+ * Updates important information for a contact.
1267
+ * @summary Update Redtail important information
1077
1268
  */
1078
- const wealthboxGetTeams = (params) => {
1079
- return (0, http_client_1.customAxios)({ url: `/wealthbox/teams`, method: 'GET',
1080
- params
1269
+ const redtailUpdateImportantInformation = (redtailUpdateImportantInformationBody) => {
1270
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/important_information`, method: 'PUT',
1271
+ headers: { 'Content-Type': 'application/json', },
1272
+ data: redtailUpdateImportantInformationBody
1081
1273
  });
1082
1274
  };
1083
1275
  /**
1084
- * @summary Get all tags
1276
+ * Fetches role/advisor assignment for a contact.
1277
+ * @summary Get Redtail contact role
1085
1278
  */
1086
- const wealthboxGetTags = (params) => {
1087
- return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: 'GET',
1088
- params
1279
+ const redtailGetContactRole = (redtailGetContactRoleBody) => {
1280
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/role/get`, method: 'POST',
1281
+ headers: { 'Content-Type': 'application/json', },
1282
+ data: redtailGetContactRoleBody
1089
1283
  });
1090
1284
  };
1091
1285
  /**
1092
- * @summary Get all custom fields
1286
+ * Updates role/advisor assignment for a contact.
1287
+ * @summary Update Redtail contact role
1093
1288
  */
1094
- const wealthboxGetCustomFields = (params) => {
1095
- return (0, http_client_1.customAxios)({ url: `/wealthbox/custom_fields`, method: 'GET',
1096
- params
1289
+ const redtailUpdateContactRole = (redtailUpdateContactRoleBody) => {
1290
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/role`, method: 'PUT',
1291
+ headers: { 'Content-Type': 'application/json', },
1292
+ data: redtailUpdateContactRoleBody
1097
1293
  });
1098
1294
  };
1099
1295
  /**
1100
- * @summary Get all contact roles
1296
+ * Fetches SAM profile data for a contact.
1297
+ * @summary Get Redtail contact SAM
1101
1298
  */
1102
- const wealthboxGetContactRoles = (params) => {
1103
- return (0, http_client_1.customAxios)({ url: `/wealthbox/contact_roles`, method: 'GET',
1104
- params
1299
+ const redtailGetContactSam = (redtailGetContactSamBody) => {
1300
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/sam/get`, method: 'POST',
1301
+ headers: { 'Content-Type': 'application/json', },
1302
+ data: redtailGetContactSamBody
1105
1303
  });
1106
1304
  };
1107
1305
  /**
1108
- * @summary Get all workflow templates
1306
+ * Updates SAM profile data for a contact.
1307
+ * @summary Update Redtail contact SAM
1109
1308
  */
1110
- const wealthboxGetWorkflowTemplates = (params) => {
1111
- return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_templates`, method: 'GET',
1112
- params
1309
+ const redtailUpdateContactSam = (redtailUpdateContactSamBody) => {
1310
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/sam`, method: 'PUT',
1311
+ headers: { 'Content-Type': 'application/json', },
1312
+ data: redtailUpdateContactSamBody
1113
1313
  });
1114
1314
  };
1115
1315
  /**
1116
- * @summary Get all activity
1316
+ * Fetches tax profile data for a contact.
1317
+ * @summary Get Redtail contact tax
1117
1318
  */
1118
- const wealthboxGetActivity = (params) => {
1119
- return (0, http_client_1.customAxios)({ url: `/wealthbox/activity`, method: 'GET',
1120
- params
1319
+ const redtailGetContactTax = (redtailGetContactTaxBody) => {
1320
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/tax/get`, method: 'POST',
1321
+ headers: { 'Content-Type': 'application/json', },
1322
+ data: redtailGetContactTaxBody
1323
+ });
1324
+ };
1325
+ /**
1326
+ * Updates tax profile data for a contact.
1327
+ * @summary Update Redtail contact tax
1328
+ */
1329
+ const redtailUpdateContactTax = (redtailUpdateContactTaxBody) => {
1330
+ return (0, http_client_1.customAxios)({ url: `/redtail/contacts/tax`, method: 'PUT',
1331
+ headers: { 'Content-Type': 'application/json', },
1332
+ data: redtailUpdateContactTaxBody
1333
+ });
1334
+ };
1335
+ /**
1336
+ * Fetches account type lookup values.
1337
+ * @summary Get Redtail account types
1338
+ */
1339
+ const redtailGetAccountTypes = (redtailGetAccountTypesBody) => {
1340
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/account_types`, method: 'POST',
1341
+ headers: { 'Content-Type': 'application/json', },
1342
+ data: redtailGetAccountTypesBody
1343
+ });
1344
+ };
1345
+ /**
1346
+ * Fetches account tax qualified lookup values.
1347
+ * @summary Get Redtail account tax qualified types
1348
+ */
1349
+ const redtailGetAccountTaxQualifiedTypes = (redtailGetAccountTaxQualifiedTypesBody) => {
1350
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/account_tax_qualified_types`, method: 'POST',
1351
+ headers: { 'Content-Type': 'application/json', },
1352
+ data: redtailGetAccountTaxQualifiedTypesBody
1353
+ });
1354
+ };
1355
+ /**
1356
+ * Fetches contact category lookup values.
1357
+ * @summary Get Redtail contact categories
1358
+ */
1359
+ const redtailGetContactCategories = (redtailGetContactCategoriesBody) => {
1360
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_categories`, method: 'POST',
1361
+ headers: { 'Content-Type': 'application/json', },
1362
+ data: redtailGetContactCategoriesBody
1363
+ });
1364
+ };
1365
+ /**
1366
+ * Fetches contact status lookup values.
1367
+ * @summary Get Redtail contact statuses
1368
+ */
1369
+ const redtailGetContactStatuses = (redtailGetContactStatusesBody) => {
1370
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_statuses`, method: 'POST',
1371
+ headers: { 'Content-Type': 'application/json', },
1372
+ data: redtailGetContactStatusesBody
1373
+ });
1374
+ };
1375
+ /**
1376
+ * Fetches source lookup values.
1377
+ * @summary Get Redtail sources
1378
+ */
1379
+ const redtailGetSources = (redtailGetSourcesBody) => {
1380
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/sources`, method: 'POST',
1381
+ headers: { 'Content-Type': 'application/json', },
1382
+ data: redtailGetSourcesBody
1383
+ });
1384
+ };
1385
+ /**
1386
+ * Fetches contact salutation lookup values.
1387
+ * @summary Get Redtail contact salutations
1388
+ */
1389
+ const redtailGetContactSalutations = (redtailGetContactSalutationsBody) => {
1390
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_salutations`, method: 'POST',
1391
+ headers: { 'Content-Type': 'application/json', },
1392
+ data: redtailGetContactSalutationsBody
1393
+ });
1394
+ };
1395
+ /**
1396
+ * Fetches servicing advisor lookup values.
1397
+ * @summary Get Redtail servicing advisors
1398
+ */
1399
+ const redtailGetServicingAdvisors = (redtailGetServicingAdvisorsBody) => {
1400
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/servicing_advisors`, method: 'POST',
1401
+ headers: { 'Content-Type': 'application/json', },
1402
+ data: redtailGetServicingAdvisorsBody
1403
+ });
1404
+ };
1405
+ /**
1406
+ * Fetches writing advisor lookup values.
1407
+ * @summary Get Redtail writing advisors
1408
+ */
1409
+ const redtailGetWritingAdvisors = (redtailGetWritingAdvisorsBody) => {
1410
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/writing_advisors`, method: 'POST',
1411
+ headers: { 'Content-Type': 'application/json', },
1412
+ data: redtailGetWritingAdvisorsBody
1413
+ });
1414
+ };
1415
+ /**
1416
+ * Fetches database teams.
1417
+ * @summary Get Redtail database teams
1418
+ */
1419
+ const redtailGetDatabaseTeams = (redtailGetDatabaseTeamsBody) => {
1420
+ return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_teams`, method: 'POST',
1421
+ headers: { 'Content-Type': 'application/json', },
1422
+ data: redtailGetDatabaseTeamsBody
1423
+ });
1424
+ };
1425
+ /**
1426
+ * Fetches activity templates.
1427
+ * @summary Get Redtail activity templates
1428
+ */
1429
+ const redtailGetActivityTemplates = (redtailGetActivityTemplatesBody) => {
1430
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/templates`, method: 'POST',
1431
+ headers: { 'Content-Type': 'application/json', },
1432
+ data: redtailGetActivityTemplatesBody
1433
+ });
1434
+ };
1435
+ /**
1436
+ * Fetches an activity template by ID.
1437
+ * @summary Get Redtail activity template
1438
+ */
1439
+ const redtailGetActivityTemplate = (redtailGetActivityTemplateBody) => {
1440
+ return (0, http_client_1.customAxios)({ url: `/redtail/activities/templates/get`, method: 'POST',
1441
+ headers: { 'Content-Type': 'application/json', },
1442
+ data: redtailGetActivityTemplateBody
1443
+ });
1444
+ };
1445
+ /**
1446
+ * Fetches note templates.
1447
+ * @summary Get Redtail note templates
1448
+ */
1449
+ const redtailGetNoteTemplates = (redtailGetNoteTemplatesBody) => {
1450
+ return (0, http_client_1.customAxios)({ url: `/redtail/notes/templates`, method: 'POST',
1451
+ headers: { 'Content-Type': 'application/json', },
1452
+ data: redtailGetNoteTemplatesBody
1453
+ });
1454
+ };
1455
+ /**
1456
+ * Fetches a note template by ID.
1457
+ * @summary Get Redtail note template
1458
+ */
1459
+ const redtailGetNoteTemplate = (redtailGetNoteTemplateBody) => {
1460
+ return (0, http_client_1.customAxios)({ url: `/redtail/notes/templates/get`, method: 'POST',
1461
+ headers: { 'Content-Type': 'application/json', },
1462
+ data: redtailGetNoteTemplateBody
1463
+ });
1464
+ };
1465
+ /**
1466
+ * Creates a comment on a Redtail note.
1467
+ * @summary Create Redtail note comment
1468
+ */
1469
+ const redtailCreateNoteComment = (redtailCreateNoteCommentBody) => {
1470
+ return (0, http_client_1.customAxios)({ url: `/redtail/notes/comments`, method: 'POST',
1471
+ headers: { 'Content-Type': 'application/json', },
1472
+ data: redtailCreateNoteCommentBody
1473
+ });
1474
+ };
1475
+ /**
1476
+ * Stores a generated app user Resend API key for PerUser integration configs.
1477
+ * @summary Store per-user Resend credentials
1478
+ */
1479
+ const resendSetUserCredentials = (resendSetUserCredentialsBody) => {
1480
+ return (0, http_client_1.customAxios)({ url: `/resend/set-user-credentials`, method: 'POST',
1481
+ headers: { 'Content-Type': 'application/json', },
1482
+ data: resendSetUserCredentialsBody
1483
+ });
1484
+ };
1485
+ /**
1486
+ * Sends an email using Resend. Configuration is resolved via integration config.
1487
+ * @summary Send an email via Resend
1488
+ */
1489
+ const resendSendEmail = (resendSendEmailBody) => {
1490
+ return (0, http_client_1.customAxios)({ url: `/resend/send-email`, method: 'POST',
1491
+ headers: { 'Content-Type': 'application/json', },
1492
+ data: resendSendEmailBody
1493
+ });
1494
+ };
1495
+ /**
1496
+ * Stores Stripe API credentials for PerUser integration configs.
1497
+ * @summary Store per-user Stripe credentials
1498
+ */
1499
+ const stripeSetUserCredentials = (stripeSetUserCredentialsBody) => {
1500
+ return (0, http_client_1.customAxios)({ url: `/stripe/set-user-credentials`, method: 'POST',
1501
+ headers: { 'Content-Type': 'application/json', },
1502
+ data: stripeSetUserCredentialsBody
1503
+ });
1504
+ };
1505
+ /**
1506
+ * Creates a new checkout session for accepting payments via Stripe.
1507
+ * @summary Create a Stripe checkout session
1508
+ */
1509
+ const stripeCreateCheckoutSession = (stripeCreateCheckoutSessionBody) => {
1510
+ return (0, http_client_1.customAxios)({ url: `/stripe/create-checkout-session`, method: 'POST',
1511
+ headers: { 'Content-Type': 'application/json', },
1512
+ data: stripeCreateCheckoutSessionBody
1513
+ });
1514
+ };
1515
+ /**
1516
+ * Public webhook endpoint used by Stripe to send payment events.
1517
+ * @summary Handle Stripe webhook callback
1518
+ */
1519
+ const stripeWebhook = () => {
1520
+ return (0, http_client_1.customAxios)({ url: `/stripe/webhook`, method: 'POST'
1521
+ });
1522
+ };
1523
+ /**
1524
+ * Stores generated app user Twilio WhatsApp credentials for PerUser integration configs.
1525
+ * @summary Store per-user Twilio WhatsApp credentials
1526
+ */
1527
+ const twilioWhatsappSetUserCredentials = (twilioWhatsappSetUserCredentialsBody) => {
1528
+ return (0, http_client_1.customAxios)({ url: `/twilio-whatsapp/set-user-credentials`, method: 'POST',
1529
+ headers: { 'Content-Type': 'application/json', },
1530
+ data: twilioWhatsappSetUserCredentialsBody
1531
+ });
1532
+ };
1533
+ /**
1534
+ * Send a message using a configured messaging provider. Message content must include body, media, or a template.
1535
+ * @summary Create message
1536
+ */
1537
+ const twilioWhatsappCreateMessage = (twilioWhatsappCreateMessageBody) => {
1538
+ return (0, http_client_1.customAxios)({ url: `/twilio-whatsapp/create-message`, method: 'POST',
1539
+ headers: { 'Content-Type': 'application/json', },
1540
+ data: twilioWhatsappCreateMessageBody
1541
+ });
1542
+ };
1543
+ /**
1544
+ * Returns authorization URL for user to complete OAuth flow.
1545
+ * @summary Initiate Wealthbox OAuth flow
1546
+ */
1547
+ const wealthboxOauthInitiate = (wealthboxOauthInitiateBody) => {
1548
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/oauth/initiate`, method: 'POST',
1549
+ headers: { 'Content-Type': 'application/json', },
1550
+ data: wealthboxOauthInitiateBody
1551
+ });
1552
+ };
1553
+ /**
1554
+ * Receives OAuth callback from Wealthbox and stores user credentials.
1555
+ * @summary Handle Wealthbox OAuth callback
1556
+ */
1557
+ const wealthboxOauthCallback = (params) => {
1558
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/oauth/callback`, method: 'GET',
1559
+ params
1560
+ });
1561
+ };
1562
+ /**
1563
+ * @summary Get all contacts
1564
+ */
1565
+ const wealthboxGetContacts = (wealthboxGetContactsBody) => {
1566
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/list`, method: 'POST',
1567
+ headers: { 'Content-Type': 'application/json', },
1568
+ data: wealthboxGetContactsBody
1569
+ });
1570
+ };
1571
+ /**
1572
+ * @summary Get contact by ID
1573
+ */
1574
+ const wealthboxGetContact = (wealthboxGetContactBody) => {
1575
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/get`, method: 'POST',
1576
+ headers: { 'Content-Type': 'application/json', },
1577
+ data: wealthboxGetContactBody
1578
+ });
1579
+ };
1580
+ /**
1581
+ * @summary Create a new contact
1582
+ */
1583
+ const wealthboxCreateContact = (wealthboxCreateContactBody) => {
1584
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: 'POST',
1585
+ headers: { 'Content-Type': 'application/json', },
1586
+ data: wealthboxCreateContactBody
1587
+ });
1588
+ };
1589
+ /**
1590
+ * @summary Update a contact
1591
+ */
1592
+ const wealthboxUpdateContact = (wealthboxUpdateContactBody) => {
1593
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/update`, method: 'POST',
1594
+ headers: { 'Content-Type': 'application/json', },
1595
+ data: wealthboxUpdateContactBody
1596
+ });
1597
+ };
1598
+ /**
1599
+ * @summary Delete a contact
1600
+ */
1601
+ const wealthboxDeleteContact = (wealthboxDeleteContactBody) => {
1602
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/delete`, method: 'POST',
1603
+ headers: { 'Content-Type': 'application/json', },
1604
+ data: wealthboxDeleteContactBody
1605
+ });
1606
+ };
1607
+ /**
1608
+ * @summary Get all tasks
1609
+ */
1610
+ const wealthboxGetTasks = (wealthboxGetTasksBody) => {
1611
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/list`, method: 'POST',
1612
+ headers: { 'Content-Type': 'application/json', },
1613
+ data: wealthboxGetTasksBody
1614
+ });
1615
+ };
1616
+ /**
1617
+ * @summary Get task by ID
1618
+ */
1619
+ const wealthboxGetTask = (wealthboxGetTaskBody) => {
1620
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/get`, method: 'POST',
1621
+ headers: { 'Content-Type': 'application/json', },
1622
+ data: wealthboxGetTaskBody
1623
+ });
1624
+ };
1625
+ /**
1626
+ * @summary Create a new task
1627
+ */
1628
+ const wealthboxCreateTask = (wealthboxCreateTaskBody) => {
1629
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: 'POST',
1630
+ headers: { 'Content-Type': 'application/json', },
1631
+ data: wealthboxCreateTaskBody
1632
+ });
1633
+ };
1634
+ /**
1635
+ * @summary Update a task
1636
+ */
1637
+ const wealthboxUpdateTask = (wealthboxUpdateTaskBody) => {
1638
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/update`, method: 'POST',
1639
+ headers: { 'Content-Type': 'application/json', },
1640
+ data: wealthboxUpdateTaskBody
1641
+ });
1642
+ };
1643
+ /**
1644
+ * @summary Delete a task
1645
+ */
1646
+ const wealthboxDeleteTask = (wealthboxDeleteTaskBody) => {
1647
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/delete`, method: 'POST',
1648
+ headers: { 'Content-Type': 'application/json', },
1649
+ data: wealthboxDeleteTaskBody
1650
+ });
1651
+ };
1652
+ /**
1653
+ * @summary Get all events
1654
+ */
1655
+ const wealthboxGetEvents = (wealthboxGetEventsBody) => {
1656
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/events/list`, method: 'POST',
1657
+ headers: { 'Content-Type': 'application/json', },
1658
+ data: wealthboxGetEventsBody
1659
+ });
1660
+ };
1661
+ /**
1662
+ * @summary Get event by ID
1663
+ */
1664
+ const wealthboxGetEvent = (wealthboxGetEventBody) => {
1665
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/events/get`, method: 'POST',
1666
+ headers: { 'Content-Type': 'application/json', },
1667
+ data: wealthboxGetEventBody
1668
+ });
1669
+ };
1670
+ /**
1671
+ * @summary Create a new event
1672
+ */
1673
+ const wealthboxCreateEvent = (wealthboxCreateEventBody) => {
1674
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: 'POST',
1675
+ headers: { 'Content-Type': 'application/json', },
1676
+ data: wealthboxCreateEventBody
1677
+ });
1678
+ };
1679
+ /**
1680
+ * @summary Update an event
1681
+ */
1682
+ const wealthboxUpdateEvent = (wealthboxUpdateEventBody) => {
1683
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/events/update`, method: 'POST',
1684
+ headers: { 'Content-Type': 'application/json', },
1685
+ data: wealthboxUpdateEventBody
1686
+ });
1687
+ };
1688
+ /**
1689
+ * @summary Delete an event
1690
+ */
1691
+ const wealthboxDeleteEvent = (wealthboxDeleteEventBody) => {
1692
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/events/delete`, method: 'POST',
1693
+ headers: { 'Content-Type': 'application/json', },
1694
+ data: wealthboxDeleteEventBody
1695
+ });
1696
+ };
1697
+ /**
1698
+ * @summary Get all opportunities
1699
+ */
1700
+ const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody) => {
1701
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/list`, method: 'POST',
1702
+ headers: { 'Content-Type': 'application/json', },
1703
+ data: wealthboxGetOpportunitiesBody
1704
+ });
1705
+ };
1706
+ /**
1707
+ * @summary Get opportunity by ID
1708
+ */
1709
+ const wealthboxGetOpportunity = (wealthboxGetOpportunityBody) => {
1710
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/get`, method: 'POST',
1711
+ headers: { 'Content-Type': 'application/json', },
1712
+ data: wealthboxGetOpportunityBody
1713
+ });
1714
+ };
1715
+ /**
1716
+ * @summary Create a new opportunity
1717
+ */
1718
+ const wealthboxCreateOpportunity = (wealthboxCreateOpportunityBody) => {
1719
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: 'POST',
1720
+ headers: { 'Content-Type': 'application/json', },
1721
+ data: wealthboxCreateOpportunityBody
1722
+ });
1723
+ };
1724
+ /**
1725
+ * @summary Update an opportunity
1726
+ */
1727
+ const wealthboxUpdateOpportunity = (wealthboxUpdateOpportunityBody) => {
1728
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/update`, method: 'POST',
1729
+ headers: { 'Content-Type': 'application/json', },
1730
+ data: wealthboxUpdateOpportunityBody
1731
+ });
1732
+ };
1733
+ /**
1734
+ * @summary Delete an opportunity
1735
+ */
1736
+ const wealthboxDeleteOpportunity = (wealthboxDeleteOpportunityBody) => {
1737
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/delete`, method: 'POST',
1738
+ headers: { 'Content-Type': 'application/json', },
1739
+ data: wealthboxDeleteOpportunityBody
1740
+ });
1741
+ };
1742
+ /**
1743
+ * @summary Get all notes
1744
+ */
1745
+ const wealthboxGetNotes = (wealthboxGetNotesBody) => {
1746
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/list`, method: 'POST',
1747
+ headers: { 'Content-Type': 'application/json', },
1748
+ data: wealthboxGetNotesBody
1749
+ });
1750
+ };
1751
+ /**
1752
+ * @summary Get note by ID
1753
+ */
1754
+ const wealthboxGetNote = (wealthboxGetNoteBody) => {
1755
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/get`, method: 'POST',
1756
+ headers: { 'Content-Type': 'application/json', },
1757
+ data: wealthboxGetNoteBody
1758
+ });
1759
+ };
1760
+ /**
1761
+ * @summary Create a new note
1762
+ */
1763
+ const wealthboxCreateNote = (wealthboxCreateNoteBody) => {
1764
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: 'POST',
1765
+ headers: { 'Content-Type': 'application/json', },
1766
+ data: wealthboxCreateNoteBody
1767
+ });
1768
+ };
1769
+ /**
1770
+ * @summary Update a note
1771
+ */
1772
+ const wealthboxUpdateNote = (wealthboxUpdateNoteBody) => {
1773
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/update`, method: 'POST',
1774
+ headers: { 'Content-Type': 'application/json', },
1775
+ data: wealthboxUpdateNoteBody
1776
+ });
1777
+ };
1778
+ /**
1779
+ * @summary Get all projects
1780
+ */
1781
+ const wealthboxGetProjects = (wealthboxGetProjectsBody) => {
1782
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/list`, method: 'POST',
1783
+ headers: { 'Content-Type': 'application/json', },
1784
+ data: wealthboxGetProjectsBody
1785
+ });
1786
+ };
1787
+ /**
1788
+ * @summary Get project by ID
1789
+ */
1790
+ const wealthboxGetProject = (wealthboxGetProjectBody) => {
1791
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/get`, method: 'POST',
1792
+ headers: { 'Content-Type': 'application/json', },
1793
+ data: wealthboxGetProjectBody
1794
+ });
1795
+ };
1796
+ /**
1797
+ * @summary Create a new project
1798
+ */
1799
+ const wealthboxCreateProject = (wealthboxCreateProjectBody) => {
1800
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: 'POST',
1801
+ headers: { 'Content-Type': 'application/json', },
1802
+ data: wealthboxCreateProjectBody
1803
+ });
1804
+ };
1805
+ /**
1806
+ * @summary Update a project
1807
+ */
1808
+ const wealthboxUpdateProject = (wealthboxUpdateProjectBody) => {
1809
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/update`, method: 'POST',
1810
+ headers: { 'Content-Type': 'application/json', },
1811
+ data: wealthboxUpdateProjectBody
1812
+ });
1813
+ };
1814
+ /**
1815
+ * @summary Delete a project
1816
+ */
1817
+ const wealthboxDeleteProject = (wealthboxDeleteProjectBody) => {
1818
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/delete`, method: 'POST',
1819
+ headers: { 'Content-Type': 'application/json', },
1820
+ data: wealthboxDeleteProjectBody
1821
+ });
1822
+ };
1823
+ /**
1824
+ * @summary Get all workflows
1825
+ */
1826
+ const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody) => {
1827
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/list`, method: 'POST',
1828
+ headers: { 'Content-Type': 'application/json', },
1829
+ data: wealthboxGetWorkflowsBody
1830
+ });
1831
+ };
1832
+ /**
1833
+ * @summary Get workflow by ID
1834
+ */
1835
+ const wealthboxGetWorkflow = (wealthboxGetWorkflowBody) => {
1836
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/get`, method: 'POST',
1837
+ headers: { 'Content-Type': 'application/json', },
1838
+ data: wealthboxGetWorkflowBody
1839
+ });
1840
+ };
1841
+ /**
1842
+ * @summary Create a new workflow
1843
+ */
1844
+ const wealthboxCreateWorkflow = (wealthboxCreateWorkflowBody) => {
1845
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: 'POST',
1846
+ headers: { 'Content-Type': 'application/json', },
1847
+ data: wealthboxCreateWorkflowBody
1848
+ });
1849
+ };
1850
+ /**
1851
+ * @summary Delete a workflow
1852
+ */
1853
+ const wealthboxDeleteWorkflow = (wealthboxDeleteWorkflowBody) => {
1854
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/delete`, method: 'POST',
1855
+ headers: { 'Content-Type': 'application/json', },
1856
+ data: wealthboxDeleteWorkflowBody
1857
+ });
1858
+ };
1859
+ /**
1860
+ * @summary Complete a workflow step
1861
+ */
1862
+ const wealthboxCompleteWorkflowStep = (wealthboxCompleteWorkflowStepBody) => {
1863
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/complete`, method: 'POST',
1864
+ headers: { 'Content-Type': 'application/json', },
1865
+ data: wealthboxCompleteWorkflowStepBody
1866
+ });
1867
+ };
1868
+ /**
1869
+ * @summary Revert a workflow step
1870
+ */
1871
+ const wealthboxRevertWorkflowStep = (wealthboxRevertWorkflowStepBody) => {
1872
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/revert`, method: 'POST',
1873
+ headers: { 'Content-Type': 'application/json', },
1874
+ data: wealthboxRevertWorkflowStepBody
1875
+ });
1876
+ };
1877
+ /**
1878
+ * @summary Add a household member
1879
+ */
1880
+ const wealthboxAddHouseholdMember = (wealthboxAddHouseholdMemberBody) => {
1881
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/households/add_member`, method: 'POST',
1882
+ headers: { 'Content-Type': 'application/json', },
1883
+ data: wealthboxAddHouseholdMemberBody
1884
+ });
1885
+ };
1886
+ /**
1887
+ * @summary Remove a household member
1888
+ */
1889
+ const wealthboxRemoveHouseholdMember = (wealthboxRemoveHouseholdMemberBody) => {
1890
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/households/remove_member`, method: 'POST',
1891
+ headers: { 'Content-Type': 'application/json', },
1892
+ data: wealthboxRemoveHouseholdMemberBody
1893
+ });
1894
+ };
1895
+ /**
1896
+ * @summary Get current user information
1897
+ */
1898
+ const wealthboxGetMe = (wealthboxGetMeBody) => {
1899
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/me`, method: 'POST',
1900
+ headers: { 'Content-Type': 'application/json', },
1901
+ data: wealthboxGetMeBody
1902
+ });
1903
+ };
1904
+ /**
1905
+ * @summary Get all users
1906
+ */
1907
+ const wealthboxGetUsers = (wealthboxGetUsersBody) => {
1908
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/users`, method: 'POST',
1909
+ headers: { 'Content-Type': 'application/json', },
1910
+ data: wealthboxGetUsersBody
1911
+ });
1912
+ };
1913
+ /**
1914
+ * @summary Get all teams
1915
+ */
1916
+ const wealthboxGetTeams = (wealthboxGetTeamsBody) => {
1917
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/teams`, method: 'POST',
1918
+ headers: { 'Content-Type': 'application/json', },
1919
+ data: wealthboxGetTeamsBody
1920
+ });
1921
+ };
1922
+ /**
1923
+ * @summary Get all tags
1924
+ */
1925
+ const wealthboxGetTags = (wealthboxGetTagsBody) => {
1926
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: 'POST',
1927
+ headers: { 'Content-Type': 'application/json', },
1928
+ data: wealthboxGetTagsBody
1929
+ });
1930
+ };
1931
+ /**
1932
+ * @summary Get all custom fields
1933
+ */
1934
+ const wealthboxGetCustomFields = (wealthboxGetCustomFieldsBody) => {
1935
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/custom_fields`, method: 'POST',
1936
+ headers: { 'Content-Type': 'application/json', },
1937
+ data: wealthboxGetCustomFieldsBody
1938
+ });
1939
+ };
1940
+ /**
1941
+ * @summary Get all contact roles
1942
+ */
1943
+ const wealthboxGetContactRoles = (wealthboxGetContactRolesBody) => {
1944
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/contact_roles`, method: 'POST',
1945
+ headers: { 'Content-Type': 'application/json', },
1946
+ data: wealthboxGetContactRolesBody
1947
+ });
1948
+ };
1949
+ /**
1950
+ * @summary Get all workflow templates
1951
+ */
1952
+ const wealthboxGetWorkflowTemplates = (wealthboxGetWorkflowTemplatesBody) => {
1953
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_templates`, method: 'POST',
1954
+ headers: { 'Content-Type': 'application/json', },
1955
+ data: wealthboxGetWorkflowTemplatesBody
1956
+ });
1957
+ };
1958
+ /**
1959
+ * @summary Get all activity
1960
+ */
1961
+ const wealthboxGetActivity = (wealthboxGetActivityBody) => {
1962
+ return (0, http_client_1.customAxios)({ url: `/wealthbox/activity`, method: 'POST',
1963
+ headers: { 'Content-Type': 'application/json', },
1964
+ data: wealthboxGetActivityBody
1121
1965
  });
1122
1966
  };
1123
- return { anthropicSetUserCredentials, anthropicGenerateText, anthropicCreateStream, awsS3SetUserCredentials, awsS3UploadData, awsS3DeleteFile, awsS3DocumentExists, awsS3GenerateDownloadSignedUrl, awsS3GetData, awsS3GenerateUploadSignedUrl, awsS3CopyFile, awsS3GetFileMetadata, awsS3UploadFile, awsS3CreateReadStream, azureBlobStorageSetUserCredentials, azureBlobStorageUploadData, azureBlobStorageDeleteFile, azureBlobStorageDocumentExists, azureBlobStorageGenerateDownloadSignedUrl, azureBlobStorageGetData, azureBlobStorageGenerateUploadSignedUrl, azureBlobStorageCopyFile, azureBlobStorageGetFileMetadata, azureBlobStorageUploadFile, azureBlobStorageCreateReadStream, azureBlobStorageCreateWriteStream, gmailAuthStart, gmailOauthCallback, gmailSendEmail, googleCloudStorageSetUserCredentials, googleCloudStorageUploadData, googleCloudStorageDeleteFile, googleCloudStorageDocumentExists, googleCloudStorageGenerateDownloadSignedUrl, googleCloudStorageGetData, googleCloudStorageGenerateUploadSignedUrl, googleCloudStorageCopyFile, googleCloudStorageGetFileMetadata, googleCloudStorageUploadFile, googleCloudStorageCreateReadStream, googleCloudStorageCreateWriteStream, googleGenerativeAISetUserCredentials, googleGenerativeAIGenerateText, googleGenerativeAIGenerateImage, googleGenerativeAICreateStream, googleGenerativeAIImageGenerateImage, googleOAuthGetAuthorizationUrl, googleOAuthGetUserProfile, googleOAuthOauthCallback, openaiSetUserCredentials, openaiGenerateText, openaiCreateStream, redtailSetUserCredentials, redtailAuthenticate, getFamilies, getContact, getContactPersonalProfile, getContactAccounts, getAccountOwners, getAccountDetails, resendSetUserCredentials, resendSendEmail, stripeSetUserCredentials, stripeCreateCheckoutSession, stripeWebhook, twilioWhatsappSetUserCredentials, twilioWhatsappCreateMessage, wealthboxOauthInitiate, wealthboxOauthCallback, wealthboxGetContacts, wealthboxCreateContact, wealthboxGetContact, wealthboxUpdateContact, wealthboxDeleteContact, wealthboxGetTasks, wealthboxCreateTask, wealthboxGetTask, wealthboxUpdateTask, wealthboxDeleteTask, wealthboxGetEvents, wealthboxCreateEvent, wealthboxGetEvent, wealthboxUpdateEvent, wealthboxDeleteEvent, wealthboxGetOpportunities, wealthboxCreateOpportunity, wealthboxGetOpportunity, wealthboxUpdateOpportunity, wealthboxDeleteOpportunity, wealthboxGetNotes, wealthboxCreateNote, wealthboxGetNote, wealthboxUpdateNote, wealthboxGetProjects, wealthboxCreateProject, wealthboxGetProject, wealthboxUpdateProject, wealthboxDeleteProject, wealthboxGetWorkflows, wealthboxCreateWorkflow, wealthboxGetWorkflow, wealthboxDeleteWorkflow, wealthboxCompleteWorkflowStep, wealthboxRevertWorkflowStep, wealthboxAddHouseholdMember, wealthboxRemoveHouseholdMember, wealthboxGetMe, wealthboxGetUsers, wealthboxGetTeams, wealthboxGetTags, wealthboxGetCustomFields, wealthboxGetContactRoles, wealthboxGetWorkflowTemplates, wealthboxGetActivity };
1967
+ return { anthropicSetUserCredentials, anthropicGenerateText, anthropicCreateStream, awsS3SetUserCredentials, awsS3UploadData, awsS3DeleteFile, awsS3DocumentExists, awsS3GenerateDownloadSignedUrl, awsS3GetData, awsS3GenerateUploadSignedUrl, awsS3CopyFile, awsS3GetFileMetadata, awsS3UploadFile, awsS3CreateReadStream, azureBlobStorageSetUserCredentials, azureBlobStorageUploadData, azureBlobStorageDeleteFile, azureBlobStorageDocumentExists, azureBlobStorageGenerateDownloadSignedUrl, azureBlobStorageGetData, azureBlobStorageGenerateUploadSignedUrl, azureBlobStorageCopyFile, azureBlobStorageGetFileMetadata, azureBlobStorageUploadFile, azureBlobStorageCreateReadStream, azureBlobStorageCreateWriteStream, gmailAuthStart, gmailOauthCallback, gmailSendEmail, googleCloudStorageSetUserCredentials, googleCloudStorageUploadData, googleCloudStorageDeleteFile, googleCloudStorageDocumentExists, googleCloudStorageGenerateDownloadSignedUrl, googleCloudStorageGetData, googleCloudStorageGenerateUploadSignedUrl, googleCloudStorageCopyFile, googleCloudStorageGetFileMetadata, googleCloudStorageUploadFile, googleCloudStorageCreateReadStream, googleCloudStorageCreateWriteStream, googleGenerativeAISetUserCredentials, googleGenerativeAIGenerateText, googleGenerativeAIGenerateImage, googleGenerativeAICreateStream, googleGenerativeAIImageGenerateImage, googleOAuthGetAuthorizationUrl, googleOAuthGetUserProfile, googleOAuthOauthCallback, openaiSetUserCredentials, openaiGenerateText, openaiCreateStream, redtailSetUserCredentials, redtailAuthenticate, getFamilies, getContact, getContacts, updateContact, getContactPersonalProfile, getContactAccounts, getAccountOwners, getAccountDetails, getActivities, getActivity, createActivity, updateActivity, redtailDeleteActivity, createActivityNote, deleteActivityNote, getActivityNotes, getDatabaseUsers, getCategories, getActivityCodes, getNotes, redtailCreateContact, redtailDeleteContact, redtailGetContactAddresses, redtailGetContactAddress, redtailCreateContactAddress, redtailUpdateContactAddress, redtailDeleteContactAddress, redtailGetContactEmails, redtailGetContactEmail, redtailCreateContactEmail, redtailUpdateContactEmail, redtailDeleteContactEmail, redtailGetContactPhones, redtailGetContactPhone, redtailCreateContactPhone, redtailUpdateContactPhone, redtailDeleteContactPhone, redtailGetContactSocialMedias, redtailGetContactSocialMedia, redtailCreateContactSocialMedia, redtailUpdateContactSocialMedia, redtailDeleteContactSocialMedia, redtailGetContactUrls, redtailGetContactUrl, redtailCreateContactUrl, redtailUpdateContactUrl, redtailDeleteContactUrl, redtailGetContactNotes, redtailGetContactNote, redtailCreateContactNote, redtailDeleteContactNote, redtailGetContactAccount, redtailCreateContactAccount, redtailUpdateContactAccount, redtailDeleteContactAccount, redtailUpdateAccountDetails, redtailGetImportantInformation, redtailUpdateImportantInformation, redtailGetContactRole, redtailUpdateContactRole, redtailGetContactSam, redtailUpdateContactSam, redtailGetContactTax, redtailUpdateContactTax, redtailGetAccountTypes, redtailGetAccountTaxQualifiedTypes, redtailGetContactCategories, redtailGetContactStatuses, redtailGetSources, redtailGetContactSalutations, redtailGetServicingAdvisors, redtailGetWritingAdvisors, redtailGetDatabaseTeams, redtailGetActivityTemplates, redtailGetActivityTemplate, redtailGetNoteTemplates, redtailGetNoteTemplate, redtailCreateNoteComment, resendSetUserCredentials, resendSendEmail, stripeSetUserCredentials, stripeCreateCheckoutSession, stripeWebhook, twilioWhatsappSetUserCredentials, twilioWhatsappCreateMessage, wealthboxOauthInitiate, wealthboxOauthCallback, wealthboxGetContacts, wealthboxGetContact, wealthboxCreateContact, wealthboxUpdateContact, wealthboxDeleteContact, wealthboxGetTasks, wealthboxGetTask, wealthboxCreateTask, wealthboxUpdateTask, wealthboxDeleteTask, wealthboxGetEvents, wealthboxGetEvent, wealthboxCreateEvent, wealthboxUpdateEvent, wealthboxDeleteEvent, wealthboxGetOpportunities, wealthboxGetOpportunity, wealthboxCreateOpportunity, wealthboxUpdateOpportunity, wealthboxDeleteOpportunity, wealthboxGetNotes, wealthboxGetNote, wealthboxCreateNote, wealthboxUpdateNote, wealthboxGetProjects, wealthboxGetProject, wealthboxCreateProject, wealthboxUpdateProject, wealthboxDeleteProject, wealthboxGetWorkflows, wealthboxGetWorkflow, wealthboxCreateWorkflow, wealthboxDeleteWorkflow, wealthboxCompleteWorkflowStep, wealthboxRevertWorkflowStep, wealthboxAddHouseholdMember, wealthboxRemoveHouseholdMember, wealthboxGetMe, wealthboxGetUsers, wealthboxGetTeams, wealthboxGetTags, wealthboxGetCustomFields, wealthboxGetContactRoles, wealthboxGetWorkflowTemplates, wealthboxGetActivity };
1124
1968
  };
1125
1969
  exports.getIntegrationsAPI = getIntegrationsAPI;
1126
1970
  //# sourceMappingURL=generated-api.js.map