@uptiqai/integrations-sdk 1.0.22 → 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.
- package/dist/generated-api.d.ts +6974 -578
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +832 -23
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +144 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +287 -0
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +144 -0
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/generated-api.js
CHANGED
|
@@ -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',
|
|
@@ -616,6 +714,26 @@ const getIntegrationsAPI = () => {
|
|
|
616
714
|
data: getContactBody
|
|
617
715
|
});
|
|
618
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
|
|
735
|
+
});
|
|
736
|
+
};
|
|
619
737
|
/**
|
|
620
738
|
* Fetches the personal profile for a Redtail contact.
|
|
621
739
|
* @summary Get Redtail contact personal profile
|
|
@@ -656,6 +774,704 @@ const getIntegrationsAPI = () => {
|
|
|
656
774
|
data: getAccountDetailsBody
|
|
657
775
|
});
|
|
658
776
|
};
|
|
777
|
+
/**
|
|
778
|
+
* Fetches Redtail activities for a date range.
|
|
779
|
+
* @summary Get Redtail activities
|
|
780
|
+
*/
|
|
781
|
+
const getActivities = (getActivitiesBody) => {
|
|
782
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/list`, method: 'POST',
|
|
783
|
+
headers: { 'Content-Type': 'application/json', },
|
|
784
|
+
data: getActivitiesBody
|
|
785
|
+
});
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Fetches a Redtail activity by activity ID.
|
|
789
|
+
* @summary Get Redtail activity by id
|
|
790
|
+
*/
|
|
791
|
+
const getActivity = (getActivityBody) => {
|
|
792
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/get`, method: 'POST',
|
|
793
|
+
headers: { 'Content-Type': 'application/json', },
|
|
794
|
+
data: getActivityBody
|
|
795
|
+
});
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* Creates a Redtail activity.
|
|
799
|
+
* @summary Create Redtail activity
|
|
800
|
+
*/
|
|
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',
|
|
811
|
+
headers: { 'Content-Type': 'application/json', },
|
|
812
|
+
data: updateActivityBody
|
|
813
|
+
});
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* Deletes a Redtail activity.
|
|
817
|
+
* @summary Delete Redtail activity
|
|
818
|
+
*/
|
|
819
|
+
const redtailDeleteActivity = (redtailDeleteActivityBody) => {
|
|
820
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'DELETE',
|
|
821
|
+
headers: { 'Content-Type': 'application/json', },
|
|
822
|
+
data: redtailDeleteActivityBody
|
|
823
|
+
});
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* Creates a note for a Redtail activity.
|
|
827
|
+
* @summary Create Redtail activity note
|
|
828
|
+
*/
|
|
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
|
|
833
|
+
});
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* Deletes a Redtail activity note.
|
|
837
|
+
* @summary Delete Redtail activity note
|
|
838
|
+
*/
|
|
839
|
+
const deleteActivityNote = (deleteActivityNoteBody) => {
|
|
840
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'DELETE',
|
|
841
|
+
headers: { 'Content-Type': 'application/json', },
|
|
842
|
+
data: deleteActivityNoteBody
|
|
843
|
+
});
|
|
844
|
+
};
|
|
845
|
+
/**
|
|
846
|
+
* Fetches notes for a Redtail activity.
|
|
847
|
+
* @summary Get Redtail activity notes
|
|
848
|
+
*/
|
|
849
|
+
const getActivityNotes = (getActivityNotesBody) => {
|
|
850
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes/get`, method: 'POST',
|
|
851
|
+
headers: { 'Content-Type': 'application/json', },
|
|
852
|
+
data: getActivityNotesBody
|
|
853
|
+
});
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* Fetches Redtail database users.
|
|
857
|
+
* @summary Get Redtail database users
|
|
858
|
+
*/
|
|
859
|
+
const getDatabaseUsers = (getDatabaseUsersBody) => {
|
|
860
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_users`, method: 'POST',
|
|
861
|
+
headers: { 'Content-Type': 'application/json', },
|
|
862
|
+
data: getDatabaseUsersBody
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* Fetches Redtail categories.
|
|
867
|
+
* @summary Get Redtail categories
|
|
868
|
+
*/
|
|
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
|
|
873
|
+
});
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Fetches Redtail activity codes.
|
|
877
|
+
* @summary Get Redtail activity codes
|
|
878
|
+
*/
|
|
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
|
|
883
|
+
});
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* Fetches Redtail notes.
|
|
887
|
+
* @summary Get Redtail notes
|
|
888
|
+
*/
|
|
889
|
+
const getNotes = (getNotesBody) => {
|
|
890
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/notes`, method: 'POST',
|
|
891
|
+
headers: { 'Content-Type': 'application/json', },
|
|
892
|
+
data: getNotesBody
|
|
893
|
+
});
|
|
894
|
+
};
|
|
895
|
+
/**
|
|
896
|
+
* Creates a contact in Redtail.
|
|
897
|
+
* @summary Create Redtail contact
|
|
898
|
+
*/
|
|
899
|
+
const redtailCreateContact = (redtailCreateContactBody) => {
|
|
900
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/create`, method: 'POST',
|
|
901
|
+
headers: { 'Content-Type': 'application/json', },
|
|
902
|
+
data: redtailCreateContactBody
|
|
903
|
+
});
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* Deletes a contact in Redtail.
|
|
907
|
+
* @summary Delete Redtail contact
|
|
908
|
+
*/
|
|
909
|
+
const redtailDeleteContact = (redtailDeleteContactBody) => {
|
|
910
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/delete`, method: 'DELETE',
|
|
911
|
+
headers: { 'Content-Type': 'application/json', },
|
|
912
|
+
data: redtailDeleteContactBody
|
|
913
|
+
});
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Fetches addresses for a Redtail contact.
|
|
917
|
+
* @summary Get Redtail contact addresses
|
|
918
|
+
*/
|
|
919
|
+
const redtailGetContactAddresses = (redtailGetContactAddressesBody) => {
|
|
920
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses/get`, method: 'POST',
|
|
921
|
+
headers: { 'Content-Type': 'application/json', },
|
|
922
|
+
data: redtailGetContactAddressesBody
|
|
923
|
+
});
|
|
924
|
+
};
|
|
925
|
+
/**
|
|
926
|
+
* Fetches a contact address by ID.
|
|
927
|
+
* @summary Get Redtail contact address
|
|
928
|
+
*/
|
|
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
|
|
933
|
+
});
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* Creates a contact address.
|
|
937
|
+
* @summary Create Redtail contact address
|
|
938
|
+
*/
|
|
939
|
+
const redtailCreateContactAddress = (redtailCreateContactAddressBody) => {
|
|
940
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'POST',
|
|
941
|
+
headers: { 'Content-Type': 'application/json', },
|
|
942
|
+
data: redtailCreateContactAddressBody
|
|
943
|
+
});
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* Updates a contact address.
|
|
947
|
+
* @summary Update Redtail contact address
|
|
948
|
+
*/
|
|
949
|
+
const redtailUpdateContactAddress = (redtailUpdateContactAddressBody) => {
|
|
950
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'PUT',
|
|
951
|
+
headers: { 'Content-Type': 'application/json', },
|
|
952
|
+
data: redtailUpdateContactAddressBody
|
|
953
|
+
});
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Deletes a contact address.
|
|
957
|
+
* @summary Delete Redtail contact address
|
|
958
|
+
*/
|
|
959
|
+
const redtailDeleteContactAddress = (redtailDeleteContactAddressBody) => {
|
|
960
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'DELETE',
|
|
961
|
+
headers: { 'Content-Type': 'application/json', },
|
|
962
|
+
data: redtailDeleteContactAddressBody
|
|
963
|
+
});
|
|
964
|
+
};
|
|
965
|
+
/**
|
|
966
|
+
* Fetches emails for a Redtail contact.
|
|
967
|
+
* @summary Get Redtail contact emails
|
|
968
|
+
*/
|
|
969
|
+
const redtailGetContactEmails = (redtailGetContactEmailsBody) => {
|
|
970
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails/get`, method: 'POST',
|
|
971
|
+
headers: { 'Content-Type': 'application/json', },
|
|
972
|
+
data: redtailGetContactEmailsBody
|
|
973
|
+
});
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* Fetches a contact email by ID.
|
|
977
|
+
* @summary Get Redtail contact email
|
|
978
|
+
*/
|
|
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
|
|
983
|
+
});
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* Creates a contact email.
|
|
987
|
+
* @summary Create Redtail contact email
|
|
988
|
+
*/
|
|
989
|
+
const redtailCreateContactEmail = (redtailCreateContactEmailBody) => {
|
|
990
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'POST',
|
|
991
|
+
headers: { 'Content-Type': 'application/json', },
|
|
992
|
+
data: redtailCreateContactEmailBody
|
|
993
|
+
});
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* Updates a contact email.
|
|
997
|
+
* @summary Update Redtail contact email
|
|
998
|
+
*/
|
|
999
|
+
const redtailUpdateContactEmail = (redtailUpdateContactEmailBody) => {
|
|
1000
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'PUT',
|
|
1001
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1002
|
+
data: redtailUpdateContactEmailBody
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Deletes a contact email.
|
|
1007
|
+
* @summary Delete Redtail contact email
|
|
1008
|
+
*/
|
|
1009
|
+
const redtailDeleteContactEmail = (redtailDeleteContactEmailBody) => {
|
|
1010
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'DELETE',
|
|
1011
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1012
|
+
data: redtailDeleteContactEmailBody
|
|
1013
|
+
});
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Fetches phones for a Redtail contact.
|
|
1017
|
+
* @summary Get Redtail contact phones
|
|
1018
|
+
*/
|
|
1019
|
+
const redtailGetContactPhones = (redtailGetContactPhonesBody) => {
|
|
1020
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones/get`, method: 'POST',
|
|
1021
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1022
|
+
data: redtailGetContactPhonesBody
|
|
1023
|
+
});
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Fetches a contact phone by ID.
|
|
1027
|
+
* @summary Get Redtail contact phone
|
|
1028
|
+
*/
|
|
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
|
|
1033
|
+
});
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* Creates a contact phone.
|
|
1037
|
+
* @summary Create Redtail contact phone
|
|
1038
|
+
*/
|
|
1039
|
+
const redtailCreateContactPhone = (redtailCreateContactPhoneBody) => {
|
|
1040
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'POST',
|
|
1041
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1042
|
+
data: redtailCreateContactPhoneBody
|
|
1043
|
+
});
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* Updates a contact phone.
|
|
1047
|
+
* @summary Update Redtail contact phone
|
|
1048
|
+
*/
|
|
1049
|
+
const redtailUpdateContactPhone = (redtailUpdateContactPhoneBody) => {
|
|
1050
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'PUT',
|
|
1051
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1052
|
+
data: redtailUpdateContactPhoneBody
|
|
1053
|
+
});
|
|
1054
|
+
};
|
|
1055
|
+
/**
|
|
1056
|
+
* Deletes a contact phone.
|
|
1057
|
+
* @summary Delete Redtail contact phone
|
|
1058
|
+
*/
|
|
1059
|
+
const redtailDeleteContactPhone = (redtailDeleteContactPhoneBody) => {
|
|
1060
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'DELETE',
|
|
1061
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1062
|
+
data: redtailDeleteContactPhoneBody
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* Fetches social media records for a Redtail contact.
|
|
1067
|
+
* @summary Get Redtail contact social media
|
|
1068
|
+
*/
|
|
1069
|
+
const redtailGetContactSocialMedias = (redtailGetContactSocialMediasBody) => {
|
|
1070
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias/get`, method: 'POST',
|
|
1071
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1072
|
+
data: redtailGetContactSocialMediasBody
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* Fetches a social media record by ID.
|
|
1077
|
+
* @summary Get Redtail contact social media record
|
|
1078
|
+
*/
|
|
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
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* Creates a social media record.
|
|
1087
|
+
* @summary Create Redtail contact social media
|
|
1088
|
+
*/
|
|
1089
|
+
const redtailCreateContactSocialMedia = (redtailCreateContactSocialMediaBody) => {
|
|
1090
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'POST',
|
|
1091
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1092
|
+
data: redtailCreateContactSocialMediaBody
|
|
1093
|
+
});
|
|
1094
|
+
};
|
|
1095
|
+
/**
|
|
1096
|
+
* Updates a social media record.
|
|
1097
|
+
* @summary Update Redtail contact social media
|
|
1098
|
+
*/
|
|
1099
|
+
const redtailUpdateContactSocialMedia = (redtailUpdateContactSocialMediaBody) => {
|
|
1100
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'PUT',
|
|
1101
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1102
|
+
data: redtailUpdateContactSocialMediaBody
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* Deletes a social media record.
|
|
1107
|
+
* @summary Delete Redtail contact social media
|
|
1108
|
+
*/
|
|
1109
|
+
const redtailDeleteContactSocialMedia = (redtailDeleteContactSocialMediaBody) => {
|
|
1110
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'DELETE',
|
|
1111
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1112
|
+
data: redtailDeleteContactSocialMediaBody
|
|
1113
|
+
});
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* Fetches URLs for a Redtail contact.
|
|
1117
|
+
* @summary Get Redtail contact URLs
|
|
1118
|
+
*/
|
|
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
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* Fetches a URL by ID.
|
|
1127
|
+
* @summary Get Redtail contact URL
|
|
1128
|
+
*/
|
|
1129
|
+
const redtailGetContactUrl = (redtailGetContactUrlBody) => {
|
|
1130
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls/id/get`, method: 'POST',
|
|
1131
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1132
|
+
data: redtailGetContactUrlBody
|
|
1133
|
+
});
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Creates a URL record.
|
|
1137
|
+
* @summary Create Redtail contact URL
|
|
1138
|
+
*/
|
|
1139
|
+
const redtailCreateContactUrl = (redtailCreateContactUrlBody) => {
|
|
1140
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'POST',
|
|
1141
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1142
|
+
data: redtailCreateContactUrlBody
|
|
1143
|
+
});
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* Updates a URL record.
|
|
1147
|
+
* @summary Update Redtail contact URL
|
|
1148
|
+
*/
|
|
1149
|
+
const redtailUpdateContactUrl = (redtailUpdateContactUrlBody) => {
|
|
1150
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'PUT',
|
|
1151
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1152
|
+
data: redtailUpdateContactUrlBody
|
|
1153
|
+
});
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* Deletes a URL record.
|
|
1157
|
+
* @summary Delete Redtail contact URL
|
|
1158
|
+
*/
|
|
1159
|
+
const redtailDeleteContactUrl = (redtailDeleteContactUrlBody) => {
|
|
1160
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'DELETE',
|
|
1161
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1162
|
+
data: redtailDeleteContactUrlBody
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* Fetches notes for a Redtail contact.
|
|
1167
|
+
* @summary Get Redtail contact notes
|
|
1168
|
+
*/
|
|
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
|
|
1173
|
+
});
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Fetches a contact note by ID.
|
|
1177
|
+
* @summary Get Redtail contact note
|
|
1178
|
+
*/
|
|
1179
|
+
const redtailGetContactNote = (redtailGetContactNoteBody) => {
|
|
1180
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes/id/get`, method: 'POST',
|
|
1181
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1182
|
+
data: redtailGetContactNoteBody
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* Creates a contact note.
|
|
1187
|
+
* @summary Create Redtail contact note
|
|
1188
|
+
*/
|
|
1189
|
+
const redtailCreateContactNote = (redtailCreateContactNoteBody) => {
|
|
1190
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'POST',
|
|
1191
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1192
|
+
data: redtailCreateContactNoteBody
|
|
1193
|
+
});
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* Deletes a contact note.
|
|
1197
|
+
* @summary Delete Redtail contact note
|
|
1198
|
+
*/
|
|
1199
|
+
const redtailDeleteContactNote = (redtailDeleteContactNoteBody) => {
|
|
1200
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'DELETE',
|
|
1201
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1202
|
+
data: redtailDeleteContactNoteBody
|
|
1203
|
+
});
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* Fetches a contact account by ID.
|
|
1207
|
+
* @summary Get Redtail contact account
|
|
1208
|
+
*/
|
|
1209
|
+
const redtailGetContactAccount = (redtailGetContactAccountBody) => {
|
|
1210
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/id/get`, method: 'POST',
|
|
1211
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1212
|
+
data: redtailGetContactAccountBody
|
|
1213
|
+
});
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Creates a contact account.
|
|
1217
|
+
* @summary Create Redtail contact account
|
|
1218
|
+
*/
|
|
1219
|
+
const redtailCreateContactAccount = (redtailCreateContactAccountBody) => {
|
|
1220
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'POST',
|
|
1221
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1222
|
+
data: redtailCreateContactAccountBody
|
|
1223
|
+
});
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* Updates a contact account.
|
|
1227
|
+
* @summary Update Redtail contact account
|
|
1228
|
+
*/
|
|
1229
|
+
const redtailUpdateContactAccount = (redtailUpdateContactAccountBody) => {
|
|
1230
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'PUT',
|
|
1231
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1232
|
+
data: redtailUpdateContactAccountBody
|
|
1233
|
+
});
|
|
1234
|
+
};
|
|
1235
|
+
/**
|
|
1236
|
+
* Deletes a contact account.
|
|
1237
|
+
* @summary Delete Redtail contact account
|
|
1238
|
+
*/
|
|
1239
|
+
const redtailDeleteContactAccount = (redtailDeleteContactAccountBody) => {
|
|
1240
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'DELETE',
|
|
1241
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1242
|
+
data: redtailDeleteContactAccountBody
|
|
1243
|
+
});
|
|
1244
|
+
};
|
|
1245
|
+
/**
|
|
1246
|
+
* Updates account details.
|
|
1247
|
+
* @summary Update Redtail account details
|
|
1248
|
+
*/
|
|
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
|
|
1253
|
+
});
|
|
1254
|
+
};
|
|
1255
|
+
/**
|
|
1256
|
+
* Fetches important information for a contact.
|
|
1257
|
+
* @summary Get Redtail important information
|
|
1258
|
+
*/
|
|
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
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Updates important information for a contact.
|
|
1267
|
+
* @summary Update Redtail important information
|
|
1268
|
+
*/
|
|
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
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* Fetches role/advisor assignment for a contact.
|
|
1277
|
+
* @summary Get Redtail contact role
|
|
1278
|
+
*/
|
|
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
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* Updates role/advisor assignment for a contact.
|
|
1287
|
+
* @summary Update Redtail contact role
|
|
1288
|
+
*/
|
|
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
|
|
1293
|
+
});
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* Fetches SAM profile data for a contact.
|
|
1297
|
+
* @summary Get Redtail contact SAM
|
|
1298
|
+
*/
|
|
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
|
|
1303
|
+
});
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* Updates SAM profile data for a contact.
|
|
1307
|
+
* @summary Update Redtail contact SAM
|
|
1308
|
+
*/
|
|
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
|
|
1313
|
+
});
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Fetches tax profile data for a contact.
|
|
1317
|
+
* @summary Get Redtail contact tax
|
|
1318
|
+
*/
|
|
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
|
+
};
|
|
659
1475
|
/**
|
|
660
1476
|
* Stores a generated app user Resend API key for PerUser integration configs.
|
|
661
1477
|
* @summary Store per-user Resend credentials
|
|
@@ -746,11 +1562,10 @@ const getIntegrationsAPI = () => {
|
|
|
746
1562
|
/**
|
|
747
1563
|
* @summary Get all contacts
|
|
748
1564
|
*/
|
|
749
|
-
const wealthboxGetContacts = (wealthboxGetContactsBody
|
|
1565
|
+
const wealthboxGetContacts = (wealthboxGetContactsBody) => {
|
|
750
1566
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/list`, method: 'POST',
|
|
751
1567
|
headers: { 'Content-Type': 'application/json', },
|
|
752
|
-
data: wealthboxGetContactsBody
|
|
753
|
-
params
|
|
1568
|
+
data: wealthboxGetContactsBody
|
|
754
1569
|
});
|
|
755
1570
|
};
|
|
756
1571
|
/**
|
|
@@ -792,11 +1607,10 @@ const getIntegrationsAPI = () => {
|
|
|
792
1607
|
/**
|
|
793
1608
|
* @summary Get all tasks
|
|
794
1609
|
*/
|
|
795
|
-
const wealthboxGetTasks = (wealthboxGetTasksBody
|
|
1610
|
+
const wealthboxGetTasks = (wealthboxGetTasksBody) => {
|
|
796
1611
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/list`, method: 'POST',
|
|
797
1612
|
headers: { 'Content-Type': 'application/json', },
|
|
798
|
-
data: wealthboxGetTasksBody
|
|
799
|
-
params
|
|
1613
|
+
data: wealthboxGetTasksBody
|
|
800
1614
|
});
|
|
801
1615
|
};
|
|
802
1616
|
/**
|
|
@@ -838,11 +1652,10 @@ const getIntegrationsAPI = () => {
|
|
|
838
1652
|
/**
|
|
839
1653
|
* @summary Get all events
|
|
840
1654
|
*/
|
|
841
|
-
const wealthboxGetEvents = (wealthboxGetEventsBody
|
|
1655
|
+
const wealthboxGetEvents = (wealthboxGetEventsBody) => {
|
|
842
1656
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/list`, method: 'POST',
|
|
843
1657
|
headers: { 'Content-Type': 'application/json', },
|
|
844
|
-
data: wealthboxGetEventsBody
|
|
845
|
-
params
|
|
1658
|
+
data: wealthboxGetEventsBody
|
|
846
1659
|
});
|
|
847
1660
|
};
|
|
848
1661
|
/**
|
|
@@ -884,11 +1697,10 @@ const getIntegrationsAPI = () => {
|
|
|
884
1697
|
/**
|
|
885
1698
|
* @summary Get all opportunities
|
|
886
1699
|
*/
|
|
887
|
-
const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody
|
|
1700
|
+
const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody) => {
|
|
888
1701
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/list`, method: 'POST',
|
|
889
1702
|
headers: { 'Content-Type': 'application/json', },
|
|
890
|
-
data: wealthboxGetOpportunitiesBody
|
|
891
|
-
params
|
|
1703
|
+
data: wealthboxGetOpportunitiesBody
|
|
892
1704
|
});
|
|
893
1705
|
};
|
|
894
1706
|
/**
|
|
@@ -930,11 +1742,10 @@ const getIntegrationsAPI = () => {
|
|
|
930
1742
|
/**
|
|
931
1743
|
* @summary Get all notes
|
|
932
1744
|
*/
|
|
933
|
-
const wealthboxGetNotes = (wealthboxGetNotesBody
|
|
1745
|
+
const wealthboxGetNotes = (wealthboxGetNotesBody) => {
|
|
934
1746
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/list`, method: 'POST',
|
|
935
1747
|
headers: { 'Content-Type': 'application/json', },
|
|
936
|
-
data: wealthboxGetNotesBody
|
|
937
|
-
params
|
|
1748
|
+
data: wealthboxGetNotesBody
|
|
938
1749
|
});
|
|
939
1750
|
};
|
|
940
1751
|
/**
|
|
@@ -967,11 +1778,10 @@ const getIntegrationsAPI = () => {
|
|
|
967
1778
|
/**
|
|
968
1779
|
* @summary Get all projects
|
|
969
1780
|
*/
|
|
970
|
-
const wealthboxGetProjects = (wealthboxGetProjectsBody
|
|
1781
|
+
const wealthboxGetProjects = (wealthboxGetProjectsBody) => {
|
|
971
1782
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/list`, method: 'POST',
|
|
972
1783
|
headers: { 'Content-Type': 'application/json', },
|
|
973
|
-
data: wealthboxGetProjectsBody
|
|
974
|
-
params
|
|
1784
|
+
data: wealthboxGetProjectsBody
|
|
975
1785
|
});
|
|
976
1786
|
};
|
|
977
1787
|
/**
|
|
@@ -1013,11 +1823,10 @@ const getIntegrationsAPI = () => {
|
|
|
1013
1823
|
/**
|
|
1014
1824
|
* @summary Get all workflows
|
|
1015
1825
|
*/
|
|
1016
|
-
const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody
|
|
1826
|
+
const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody) => {
|
|
1017
1827
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/list`, method: 'POST',
|
|
1018
1828
|
headers: { 'Content-Type': 'application/json', },
|
|
1019
|
-
data: wealthboxGetWorkflowsBody
|
|
1020
|
-
params
|
|
1829
|
+
data: wealthboxGetWorkflowsBody
|
|
1021
1830
|
});
|
|
1022
1831
|
};
|
|
1023
1832
|
/**
|
|
@@ -1155,7 +1964,7 @@ const getIntegrationsAPI = () => {
|
|
|
1155
1964
|
data: wealthboxGetActivityBody
|
|
1156
1965
|
});
|
|
1157
1966
|
};
|
|
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 };
|
|
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 };
|
|
1159
1968
|
};
|
|
1160
1969
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
1161
1970
|
//# sourceMappingURL=generated-api.js.map
|