@uptiqai/integrations-sdk 1.0.20 → 1.0.22
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.
- package/dist/generated-api.d.ts +328 -135
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +198 -131
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +68 -52
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -102
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.js +42 -42
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/generated-api.js
CHANGED
|
@@ -600,48 +600,60 @@ const getIntegrationsAPI = () => {
|
|
|
600
600
|
* Fetches family records from Redtail with optional pagination and family member expansion.
|
|
601
601
|
* @summary Get families from Redtail
|
|
602
602
|
*/
|
|
603
|
-
const getFamilies = () => {
|
|
604
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/families`, method: '
|
|
603
|
+
const getFamilies = (getFamiliesBody) => {
|
|
604
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/families`, method: 'POST',
|
|
605
|
+
headers: { 'Content-Type': 'application/json', },
|
|
606
|
+
data: getFamiliesBody
|
|
605
607
|
});
|
|
606
608
|
};
|
|
607
609
|
/**
|
|
608
610
|
* Fetches a Redtail contact by contact ID.
|
|
609
611
|
* @summary Get Redtail contact by id
|
|
610
612
|
*/
|
|
611
|
-
const getContact = (
|
|
612
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/contacts
|
|
613
|
+
const getContact = (getContactBody) => {
|
|
614
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/get`, method: 'POST',
|
|
615
|
+
headers: { 'Content-Type': 'application/json', },
|
|
616
|
+
data: getContactBody
|
|
613
617
|
});
|
|
614
618
|
};
|
|
615
619
|
/**
|
|
616
620
|
* Fetches the personal profile for a Redtail contact.
|
|
617
621
|
* @summary Get Redtail contact personal profile
|
|
618
622
|
*/
|
|
619
|
-
const getContactPersonalProfile = (
|
|
620
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/contacts
|
|
623
|
+
const getContactPersonalProfile = (getContactPersonalProfileBody) => {
|
|
624
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/personal_profile/get`, method: 'POST',
|
|
625
|
+
headers: { 'Content-Type': 'application/json', },
|
|
626
|
+
data: getContactPersonalProfileBody
|
|
621
627
|
});
|
|
622
628
|
};
|
|
623
629
|
/**
|
|
624
630
|
* Fetches account records associated with a Redtail contact.
|
|
625
631
|
* @summary Get Redtail contact accounts
|
|
626
632
|
*/
|
|
627
|
-
const getContactAccounts = (
|
|
628
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/contacts
|
|
633
|
+
const getContactAccounts = (getContactAccountsBody) => {
|
|
634
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/get`, method: 'POST',
|
|
635
|
+
headers: { 'Content-Type': 'application/json', },
|
|
636
|
+
data: getContactAccountsBody
|
|
629
637
|
});
|
|
630
638
|
};
|
|
631
639
|
/**
|
|
632
640
|
* Fetches owners associated with a Redtail account.
|
|
633
641
|
* @summary Get Redtail account owners
|
|
634
642
|
*/
|
|
635
|
-
const getAccountOwners = (
|
|
636
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/accounts
|
|
643
|
+
const getAccountOwners = (getAccountOwnersBody) => {
|
|
644
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/accounts/owners/get`, method: 'POST',
|
|
645
|
+
headers: { 'Content-Type': 'application/json', },
|
|
646
|
+
data: getAccountOwnersBody
|
|
637
647
|
});
|
|
638
648
|
};
|
|
639
649
|
/**
|
|
640
650
|
* Fetches detailed information for a Redtail account.
|
|
641
651
|
* @summary Get Redtail account details
|
|
642
652
|
*/
|
|
643
|
-
const getAccountDetails = (
|
|
644
|
-
return (0, http_client_1.customAxios)({ url: `/redtail/accounts
|
|
653
|
+
const getAccountDetails = (getAccountDetailsBody) => {
|
|
654
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/accounts/details/get`, method: 'POST',
|
|
655
|
+
headers: { 'Content-Type': 'application/json', },
|
|
656
|
+
data: getAccountDetailsBody
|
|
645
657
|
});
|
|
646
658
|
};
|
|
647
659
|
/**
|
|
@@ -734,32 +746,36 @@ const getIntegrationsAPI = () => {
|
|
|
734
746
|
/**
|
|
735
747
|
* @summary Get all contacts
|
|
736
748
|
*/
|
|
737
|
-
const wealthboxGetContacts = (params) => {
|
|
738
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: '
|
|
749
|
+
const wealthboxGetContacts = (wealthboxGetContactsBody, params) => {
|
|
750
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/list`, method: 'POST',
|
|
751
|
+
headers: { 'Content-Type': 'application/json', },
|
|
752
|
+
data: wealthboxGetContactsBody,
|
|
739
753
|
params
|
|
740
754
|
});
|
|
741
755
|
};
|
|
742
756
|
/**
|
|
743
|
-
* @summary
|
|
757
|
+
* @summary Get contact by ID
|
|
744
758
|
*/
|
|
745
|
-
const
|
|
746
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: 'POST',
|
|
759
|
+
const wealthboxGetContact = (wealthboxGetContactBody) => {
|
|
760
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/get`, method: 'POST',
|
|
747
761
|
headers: { 'Content-Type': 'application/json', },
|
|
748
|
-
data:
|
|
762
|
+
data: wealthboxGetContactBody
|
|
749
763
|
});
|
|
750
764
|
};
|
|
751
765
|
/**
|
|
752
|
-
* @summary
|
|
766
|
+
* @summary Create a new contact
|
|
753
767
|
*/
|
|
754
|
-
const
|
|
755
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts
|
|
768
|
+
const wealthboxCreateContact = (wealthboxCreateContactBody) => {
|
|
769
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts`, method: 'POST',
|
|
770
|
+
headers: { 'Content-Type': 'application/json', },
|
|
771
|
+
data: wealthboxCreateContactBody
|
|
756
772
|
});
|
|
757
773
|
};
|
|
758
774
|
/**
|
|
759
775
|
* @summary Update a contact
|
|
760
776
|
*/
|
|
761
|
-
const wealthboxUpdateContact = (
|
|
762
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts
|
|
777
|
+
const wealthboxUpdateContact = (wealthboxUpdateContactBody) => {
|
|
778
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/update`, method: 'POST',
|
|
763
779
|
headers: { 'Content-Type': 'application/json', },
|
|
764
780
|
data: wealthboxUpdateContactBody
|
|
765
781
|
});
|
|
@@ -767,39 +783,45 @@ const getIntegrationsAPI = () => {
|
|
|
767
783
|
/**
|
|
768
784
|
* @summary Delete a contact
|
|
769
785
|
*/
|
|
770
|
-
const wealthboxDeleteContact = (
|
|
771
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts
|
|
786
|
+
const wealthboxDeleteContact = (wealthboxDeleteContactBody) => {
|
|
787
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/delete`, method: 'POST',
|
|
788
|
+
headers: { 'Content-Type': 'application/json', },
|
|
789
|
+
data: wealthboxDeleteContactBody
|
|
772
790
|
});
|
|
773
791
|
};
|
|
774
792
|
/**
|
|
775
793
|
* @summary Get all tasks
|
|
776
794
|
*/
|
|
777
|
-
const wealthboxGetTasks = (params) => {
|
|
778
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: '
|
|
795
|
+
const wealthboxGetTasks = (wealthboxGetTasksBody, params) => {
|
|
796
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/list`, method: 'POST',
|
|
797
|
+
headers: { 'Content-Type': 'application/json', },
|
|
798
|
+
data: wealthboxGetTasksBody,
|
|
779
799
|
params
|
|
780
800
|
});
|
|
781
801
|
};
|
|
782
802
|
/**
|
|
783
|
-
* @summary
|
|
803
|
+
* @summary Get task by ID
|
|
784
804
|
*/
|
|
785
|
-
const
|
|
786
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: 'POST',
|
|
805
|
+
const wealthboxGetTask = (wealthboxGetTaskBody) => {
|
|
806
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/get`, method: 'POST',
|
|
787
807
|
headers: { 'Content-Type': 'application/json', },
|
|
788
|
-
data:
|
|
808
|
+
data: wealthboxGetTaskBody
|
|
789
809
|
});
|
|
790
810
|
};
|
|
791
811
|
/**
|
|
792
|
-
* @summary
|
|
812
|
+
* @summary Create a new task
|
|
793
813
|
*/
|
|
794
|
-
const
|
|
795
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks
|
|
814
|
+
const wealthboxCreateTask = (wealthboxCreateTaskBody) => {
|
|
815
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks`, method: 'POST',
|
|
816
|
+
headers: { 'Content-Type': 'application/json', },
|
|
817
|
+
data: wealthboxCreateTaskBody
|
|
796
818
|
});
|
|
797
819
|
};
|
|
798
820
|
/**
|
|
799
821
|
* @summary Update a task
|
|
800
822
|
*/
|
|
801
|
-
const wealthboxUpdateTask = (
|
|
802
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks
|
|
823
|
+
const wealthboxUpdateTask = (wealthboxUpdateTaskBody) => {
|
|
824
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/update`, method: 'POST',
|
|
803
825
|
headers: { 'Content-Type': 'application/json', },
|
|
804
826
|
data: wealthboxUpdateTaskBody
|
|
805
827
|
});
|
|
@@ -807,39 +829,45 @@ const getIntegrationsAPI = () => {
|
|
|
807
829
|
/**
|
|
808
830
|
* @summary Delete a task
|
|
809
831
|
*/
|
|
810
|
-
const wealthboxDeleteTask = (
|
|
811
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks
|
|
832
|
+
const wealthboxDeleteTask = (wealthboxDeleteTaskBody) => {
|
|
833
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/delete`, method: 'POST',
|
|
834
|
+
headers: { 'Content-Type': 'application/json', },
|
|
835
|
+
data: wealthboxDeleteTaskBody
|
|
812
836
|
});
|
|
813
837
|
};
|
|
814
838
|
/**
|
|
815
839
|
* @summary Get all events
|
|
816
840
|
*/
|
|
817
|
-
const wealthboxGetEvents = (params) => {
|
|
818
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: '
|
|
841
|
+
const wealthboxGetEvents = (wealthboxGetEventsBody, params) => {
|
|
842
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/list`, method: 'POST',
|
|
843
|
+
headers: { 'Content-Type': 'application/json', },
|
|
844
|
+
data: wealthboxGetEventsBody,
|
|
819
845
|
params
|
|
820
846
|
});
|
|
821
847
|
};
|
|
822
848
|
/**
|
|
823
|
-
* @summary
|
|
849
|
+
* @summary Get event by ID
|
|
824
850
|
*/
|
|
825
|
-
const
|
|
826
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: 'POST',
|
|
851
|
+
const wealthboxGetEvent = (wealthboxGetEventBody) => {
|
|
852
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/get`, method: 'POST',
|
|
827
853
|
headers: { 'Content-Type': 'application/json', },
|
|
828
|
-
data:
|
|
854
|
+
data: wealthboxGetEventBody
|
|
829
855
|
});
|
|
830
856
|
};
|
|
831
857
|
/**
|
|
832
|
-
* @summary
|
|
858
|
+
* @summary Create a new event
|
|
833
859
|
*/
|
|
834
|
-
const
|
|
835
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/events
|
|
860
|
+
const wealthboxCreateEvent = (wealthboxCreateEventBody) => {
|
|
861
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/events`, method: 'POST',
|
|
862
|
+
headers: { 'Content-Type': 'application/json', },
|
|
863
|
+
data: wealthboxCreateEventBody
|
|
836
864
|
});
|
|
837
865
|
};
|
|
838
866
|
/**
|
|
839
867
|
* @summary Update an event
|
|
840
868
|
*/
|
|
841
|
-
const wealthboxUpdateEvent = (
|
|
842
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/events
|
|
869
|
+
const wealthboxUpdateEvent = (wealthboxUpdateEventBody) => {
|
|
870
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/update`, method: 'POST',
|
|
843
871
|
headers: { 'Content-Type': 'application/json', },
|
|
844
872
|
data: wealthboxUpdateEventBody
|
|
845
873
|
});
|
|
@@ -847,39 +875,45 @@ const getIntegrationsAPI = () => {
|
|
|
847
875
|
/**
|
|
848
876
|
* @summary Delete an event
|
|
849
877
|
*/
|
|
850
|
-
const wealthboxDeleteEvent = (
|
|
851
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/events
|
|
878
|
+
const wealthboxDeleteEvent = (wealthboxDeleteEventBody) => {
|
|
879
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/delete`, method: 'POST',
|
|
880
|
+
headers: { 'Content-Type': 'application/json', },
|
|
881
|
+
data: wealthboxDeleteEventBody
|
|
852
882
|
});
|
|
853
883
|
};
|
|
854
884
|
/**
|
|
855
885
|
* @summary Get all opportunities
|
|
856
886
|
*/
|
|
857
|
-
const wealthboxGetOpportunities = (params) => {
|
|
858
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: '
|
|
887
|
+
const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody, params) => {
|
|
888
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/list`, method: 'POST',
|
|
889
|
+
headers: { 'Content-Type': 'application/json', },
|
|
890
|
+
data: wealthboxGetOpportunitiesBody,
|
|
859
891
|
params
|
|
860
892
|
});
|
|
861
893
|
};
|
|
862
894
|
/**
|
|
863
|
-
* @summary
|
|
895
|
+
* @summary Get opportunity by ID
|
|
864
896
|
*/
|
|
865
|
-
const
|
|
866
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: 'POST',
|
|
897
|
+
const wealthboxGetOpportunity = (wealthboxGetOpportunityBody) => {
|
|
898
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/get`, method: 'POST',
|
|
867
899
|
headers: { 'Content-Type': 'application/json', },
|
|
868
|
-
data:
|
|
900
|
+
data: wealthboxGetOpportunityBody
|
|
869
901
|
});
|
|
870
902
|
};
|
|
871
903
|
/**
|
|
872
|
-
* @summary
|
|
904
|
+
* @summary Create a new opportunity
|
|
873
905
|
*/
|
|
874
|
-
const
|
|
875
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities
|
|
906
|
+
const wealthboxCreateOpportunity = (wealthboxCreateOpportunityBody) => {
|
|
907
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities`, method: 'POST',
|
|
908
|
+
headers: { 'Content-Type': 'application/json', },
|
|
909
|
+
data: wealthboxCreateOpportunityBody
|
|
876
910
|
});
|
|
877
911
|
};
|
|
878
912
|
/**
|
|
879
913
|
* @summary Update an opportunity
|
|
880
914
|
*/
|
|
881
|
-
const wealthboxUpdateOpportunity = (
|
|
882
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities
|
|
915
|
+
const wealthboxUpdateOpportunity = (wealthboxUpdateOpportunityBody) => {
|
|
916
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/update`, method: 'POST',
|
|
883
917
|
headers: { 'Content-Type': 'application/json', },
|
|
884
918
|
data: wealthboxUpdateOpportunityBody
|
|
885
919
|
});
|
|
@@ -887,39 +921,45 @@ const getIntegrationsAPI = () => {
|
|
|
887
921
|
/**
|
|
888
922
|
* @summary Delete an opportunity
|
|
889
923
|
*/
|
|
890
|
-
const wealthboxDeleteOpportunity = (
|
|
891
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities
|
|
924
|
+
const wealthboxDeleteOpportunity = (wealthboxDeleteOpportunityBody) => {
|
|
925
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/delete`, method: 'POST',
|
|
926
|
+
headers: { 'Content-Type': 'application/json', },
|
|
927
|
+
data: wealthboxDeleteOpportunityBody
|
|
892
928
|
});
|
|
893
929
|
};
|
|
894
930
|
/**
|
|
895
931
|
* @summary Get all notes
|
|
896
932
|
*/
|
|
897
|
-
const wealthboxGetNotes = (params) => {
|
|
898
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: '
|
|
933
|
+
const wealthboxGetNotes = (wealthboxGetNotesBody, params) => {
|
|
934
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/list`, method: 'POST',
|
|
935
|
+
headers: { 'Content-Type': 'application/json', },
|
|
936
|
+
data: wealthboxGetNotesBody,
|
|
899
937
|
params
|
|
900
938
|
});
|
|
901
939
|
};
|
|
902
940
|
/**
|
|
903
|
-
* @summary
|
|
941
|
+
* @summary Get note by ID
|
|
904
942
|
*/
|
|
905
|
-
const
|
|
906
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: 'POST',
|
|
943
|
+
const wealthboxGetNote = (wealthboxGetNoteBody) => {
|
|
944
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/get`, method: 'POST',
|
|
907
945
|
headers: { 'Content-Type': 'application/json', },
|
|
908
|
-
data:
|
|
946
|
+
data: wealthboxGetNoteBody
|
|
909
947
|
});
|
|
910
948
|
};
|
|
911
949
|
/**
|
|
912
|
-
* @summary
|
|
950
|
+
* @summary Create a new note
|
|
913
951
|
*/
|
|
914
|
-
const
|
|
915
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes
|
|
952
|
+
const wealthboxCreateNote = (wealthboxCreateNoteBody) => {
|
|
953
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes`, method: 'POST',
|
|
954
|
+
headers: { 'Content-Type': 'application/json', },
|
|
955
|
+
data: wealthboxCreateNoteBody
|
|
916
956
|
});
|
|
917
957
|
};
|
|
918
958
|
/**
|
|
919
959
|
* @summary Update a note
|
|
920
960
|
*/
|
|
921
|
-
const wealthboxUpdateNote = (
|
|
922
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes
|
|
961
|
+
const wealthboxUpdateNote = (wealthboxUpdateNoteBody) => {
|
|
962
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/update`, method: 'POST',
|
|
923
963
|
headers: { 'Content-Type': 'application/json', },
|
|
924
964
|
data: wealthboxUpdateNoteBody
|
|
925
965
|
});
|
|
@@ -927,32 +967,36 @@ const getIntegrationsAPI = () => {
|
|
|
927
967
|
/**
|
|
928
968
|
* @summary Get all projects
|
|
929
969
|
*/
|
|
930
|
-
const wealthboxGetProjects = (params) => {
|
|
931
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: '
|
|
970
|
+
const wealthboxGetProjects = (wealthboxGetProjectsBody, params) => {
|
|
971
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/list`, method: 'POST',
|
|
972
|
+
headers: { 'Content-Type': 'application/json', },
|
|
973
|
+
data: wealthboxGetProjectsBody,
|
|
932
974
|
params
|
|
933
975
|
});
|
|
934
976
|
};
|
|
935
977
|
/**
|
|
936
|
-
* @summary
|
|
978
|
+
* @summary Get project by ID
|
|
937
979
|
*/
|
|
938
|
-
const
|
|
939
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: 'POST',
|
|
980
|
+
const wealthboxGetProject = (wealthboxGetProjectBody) => {
|
|
981
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/get`, method: 'POST',
|
|
940
982
|
headers: { 'Content-Type': 'application/json', },
|
|
941
|
-
data:
|
|
983
|
+
data: wealthboxGetProjectBody
|
|
942
984
|
});
|
|
943
985
|
};
|
|
944
986
|
/**
|
|
945
|
-
* @summary
|
|
987
|
+
* @summary Create a new project
|
|
946
988
|
*/
|
|
947
|
-
const
|
|
948
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects
|
|
989
|
+
const wealthboxCreateProject = (wealthboxCreateProjectBody) => {
|
|
990
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects`, method: 'POST',
|
|
991
|
+
headers: { 'Content-Type': 'application/json', },
|
|
992
|
+
data: wealthboxCreateProjectBody
|
|
949
993
|
});
|
|
950
994
|
};
|
|
951
995
|
/**
|
|
952
996
|
* @summary Update a project
|
|
953
997
|
*/
|
|
954
|
-
const wealthboxUpdateProject = (
|
|
955
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects
|
|
998
|
+
const wealthboxUpdateProject = (wealthboxUpdateProjectBody) => {
|
|
999
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/update`, method: 'POST',
|
|
956
1000
|
headers: { 'Content-Type': 'application/json', },
|
|
957
1001
|
data: wealthboxUpdateProjectBody
|
|
958
1002
|
});
|
|
@@ -960,60 +1004,72 @@ const getIntegrationsAPI = () => {
|
|
|
960
1004
|
/**
|
|
961
1005
|
* @summary Delete a project
|
|
962
1006
|
*/
|
|
963
|
-
const wealthboxDeleteProject = (
|
|
964
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects
|
|
1007
|
+
const wealthboxDeleteProject = (wealthboxDeleteProjectBody) => {
|
|
1008
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/delete`, method: 'POST',
|
|
1009
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1010
|
+
data: wealthboxDeleteProjectBody
|
|
965
1011
|
});
|
|
966
1012
|
};
|
|
967
1013
|
/**
|
|
968
1014
|
* @summary Get all workflows
|
|
969
1015
|
*/
|
|
970
|
-
const wealthboxGetWorkflows = (params) => {
|
|
971
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: '
|
|
1016
|
+
const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody, params) => {
|
|
1017
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/list`, method: 'POST',
|
|
1018
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1019
|
+
data: wealthboxGetWorkflowsBody,
|
|
972
1020
|
params
|
|
973
1021
|
});
|
|
974
1022
|
};
|
|
975
1023
|
/**
|
|
976
|
-
* @summary
|
|
1024
|
+
* @summary Get workflow by ID
|
|
977
1025
|
*/
|
|
978
|
-
const
|
|
979
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: 'POST',
|
|
1026
|
+
const wealthboxGetWorkflow = (wealthboxGetWorkflowBody) => {
|
|
1027
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/get`, method: 'POST',
|
|
980
1028
|
headers: { 'Content-Type': 'application/json', },
|
|
981
|
-
data:
|
|
1029
|
+
data: wealthboxGetWorkflowBody
|
|
982
1030
|
});
|
|
983
1031
|
};
|
|
984
1032
|
/**
|
|
985
|
-
* @summary
|
|
1033
|
+
* @summary Create a new workflow
|
|
986
1034
|
*/
|
|
987
|
-
const
|
|
988
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows
|
|
1035
|
+
const wealthboxCreateWorkflow = (wealthboxCreateWorkflowBody) => {
|
|
1036
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows`, method: 'POST',
|
|
1037
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1038
|
+
data: wealthboxCreateWorkflowBody
|
|
989
1039
|
});
|
|
990
1040
|
};
|
|
991
1041
|
/**
|
|
992
1042
|
* @summary Delete a workflow
|
|
993
1043
|
*/
|
|
994
|
-
const wealthboxDeleteWorkflow = (
|
|
995
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows
|
|
1044
|
+
const wealthboxDeleteWorkflow = (wealthboxDeleteWorkflowBody) => {
|
|
1045
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/delete`, method: 'POST',
|
|
1046
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1047
|
+
data: wealthboxDeleteWorkflowBody
|
|
996
1048
|
});
|
|
997
1049
|
};
|
|
998
1050
|
/**
|
|
999
1051
|
* @summary Complete a workflow step
|
|
1000
1052
|
*/
|
|
1001
|
-
const wealthboxCompleteWorkflowStep = (
|
|
1002
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps
|
|
1053
|
+
const wealthboxCompleteWorkflowStep = (wealthboxCompleteWorkflowStepBody) => {
|
|
1054
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/complete`, method: 'POST',
|
|
1055
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1056
|
+
data: wealthboxCompleteWorkflowStepBody
|
|
1003
1057
|
});
|
|
1004
1058
|
};
|
|
1005
1059
|
/**
|
|
1006
1060
|
* @summary Revert a workflow step
|
|
1007
1061
|
*/
|
|
1008
|
-
const wealthboxRevertWorkflowStep = (
|
|
1009
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps
|
|
1062
|
+
const wealthboxRevertWorkflowStep = (wealthboxRevertWorkflowStepBody) => {
|
|
1063
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_steps/revert`, method: 'POST',
|
|
1064
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1065
|
+
data: wealthboxRevertWorkflowStepBody
|
|
1010
1066
|
});
|
|
1011
1067
|
};
|
|
1012
1068
|
/**
|
|
1013
1069
|
* @summary Add a household member
|
|
1014
1070
|
*/
|
|
1015
|
-
const wealthboxAddHouseholdMember = (
|
|
1016
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/households
|
|
1071
|
+
const wealthboxAddHouseholdMember = (wealthboxAddHouseholdMemberBody) => {
|
|
1072
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/households/add_member`, method: 'POST',
|
|
1017
1073
|
headers: { 'Content-Type': 'application/json', },
|
|
1018
1074
|
data: wealthboxAddHouseholdMemberBody
|
|
1019
1075
|
});
|
|
@@ -1021,74 +1077,85 @@ const getIntegrationsAPI = () => {
|
|
|
1021
1077
|
/**
|
|
1022
1078
|
* @summary Remove a household member
|
|
1023
1079
|
*/
|
|
1024
|
-
const wealthboxRemoveHouseholdMember = (
|
|
1025
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/households
|
|
1080
|
+
const wealthboxRemoveHouseholdMember = (wealthboxRemoveHouseholdMemberBody) => {
|
|
1081
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/households/remove_member`, method: 'POST',
|
|
1082
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1083
|
+
data: wealthboxRemoveHouseholdMemberBody
|
|
1026
1084
|
});
|
|
1027
1085
|
};
|
|
1028
1086
|
/**
|
|
1029
1087
|
* @summary Get current user information
|
|
1030
1088
|
*/
|
|
1031
|
-
const wealthboxGetMe = () => {
|
|
1032
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/me`, method: '
|
|
1089
|
+
const wealthboxGetMe = (wealthboxGetMeBody) => {
|
|
1090
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/me`, method: 'POST',
|
|
1091
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1092
|
+
data: wealthboxGetMeBody
|
|
1033
1093
|
});
|
|
1034
1094
|
};
|
|
1035
1095
|
/**
|
|
1036
1096
|
* @summary Get all users
|
|
1037
1097
|
*/
|
|
1038
|
-
const wealthboxGetUsers = (
|
|
1039
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/users`, method: '
|
|
1040
|
-
|
|
1098
|
+
const wealthboxGetUsers = (wealthboxGetUsersBody) => {
|
|
1099
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/users`, method: 'POST',
|
|
1100
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1101
|
+
data: wealthboxGetUsersBody
|
|
1041
1102
|
});
|
|
1042
1103
|
};
|
|
1043
1104
|
/**
|
|
1044
1105
|
* @summary Get all teams
|
|
1045
1106
|
*/
|
|
1046
|
-
const wealthboxGetTeams = (
|
|
1047
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/teams`, method: '
|
|
1048
|
-
|
|
1107
|
+
const wealthboxGetTeams = (wealthboxGetTeamsBody) => {
|
|
1108
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/teams`, method: 'POST',
|
|
1109
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1110
|
+
data: wealthboxGetTeamsBody
|
|
1049
1111
|
});
|
|
1050
1112
|
};
|
|
1051
1113
|
/**
|
|
1052
1114
|
* @summary Get all tags
|
|
1053
1115
|
*/
|
|
1054
|
-
const wealthboxGetTags = (
|
|
1055
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: '
|
|
1056
|
-
|
|
1116
|
+
const wealthboxGetTags = (wealthboxGetTagsBody) => {
|
|
1117
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: 'POST',
|
|
1118
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1119
|
+
data: wealthboxGetTagsBody
|
|
1057
1120
|
});
|
|
1058
1121
|
};
|
|
1059
1122
|
/**
|
|
1060
1123
|
* @summary Get all custom fields
|
|
1061
1124
|
*/
|
|
1062
|
-
const wealthboxGetCustomFields = (
|
|
1063
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/custom_fields`, method: '
|
|
1064
|
-
|
|
1125
|
+
const wealthboxGetCustomFields = (wealthboxGetCustomFieldsBody) => {
|
|
1126
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/custom_fields`, method: 'POST',
|
|
1127
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1128
|
+
data: wealthboxGetCustomFieldsBody
|
|
1065
1129
|
});
|
|
1066
1130
|
};
|
|
1067
1131
|
/**
|
|
1068
1132
|
* @summary Get all contact roles
|
|
1069
1133
|
*/
|
|
1070
|
-
const wealthboxGetContactRoles = (
|
|
1071
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/contact_roles`, method: '
|
|
1072
|
-
|
|
1134
|
+
const wealthboxGetContactRoles = (wealthboxGetContactRolesBody) => {
|
|
1135
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/contact_roles`, method: 'POST',
|
|
1136
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1137
|
+
data: wealthboxGetContactRolesBody
|
|
1073
1138
|
});
|
|
1074
1139
|
};
|
|
1075
1140
|
/**
|
|
1076
1141
|
* @summary Get all workflow templates
|
|
1077
1142
|
*/
|
|
1078
|
-
const wealthboxGetWorkflowTemplates = (
|
|
1079
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_templates`, method: '
|
|
1080
|
-
|
|
1143
|
+
const wealthboxGetWorkflowTemplates = (wealthboxGetWorkflowTemplatesBody) => {
|
|
1144
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_templates`, method: 'POST',
|
|
1145
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1146
|
+
data: wealthboxGetWorkflowTemplatesBody
|
|
1081
1147
|
});
|
|
1082
1148
|
};
|
|
1083
1149
|
/**
|
|
1084
1150
|
* @summary Get all activity
|
|
1085
1151
|
*/
|
|
1086
|
-
const wealthboxGetActivity = (
|
|
1087
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/activity`, method: '
|
|
1088
|
-
|
|
1152
|
+
const wealthboxGetActivity = (wealthboxGetActivityBody) => {
|
|
1153
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/activity`, method: 'POST',
|
|
1154
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1155
|
+
data: wealthboxGetActivityBody
|
|
1089
1156
|
});
|
|
1090
1157
|
};
|
|
1091
|
-
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,
|
|
1158
|
+
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, 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 };
|
|
1092
1159
|
};
|
|
1093
1160
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
1094
1161
|
//# sourceMappingURL=generated-api.js.map
|