@uptiqai/integrations-sdk 1.0.22 → 1.0.24
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 +9594 -560
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +1032 -26
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +162 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +304 -1
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +154 -2
- 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.WealthboxCreateContactBodyContactSource = exports.WealthboxCreateContactBodyContactType = exports.WealthboxCreateContactBodyEmailAddressesItemKind = exports.WealthboxCreateContactBodyGender = exports.WealthboxCreateContactBodyHouseholdTitle = exports.WealthboxCreateContactBodyInvestmentObjective = exports.WealthboxCreateContactBodyMaritalStatus = exports.WealthboxCreateContactBodyPhoneNumbersItemKind = exports.WealthboxCreateContactBodyRiskTolerance = exports.WealthboxCreateContactBodyStatus = exports.WealthboxCreateContactBodyStreetAddressesItemKind = exports.WealthboxCreateContactBodyTimeHorizon = exports.WealthboxCreateContactBodyType = exports.WealthboxCreateContactBodyWebsitesItemKind = exports.WealthboxUpdateContactBodyAllOfContactSource = exports.WealthboxUpdateContactBodyAllOfContactType = exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = exports.WealthboxUpdateContactBodyAllOfGender = exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = exports.WealthboxUpdateContactBodyAllOfInvestmentObjective = exports.WealthboxUpdateContactBodyAllOfMaritalStatus = exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = exports.WealthboxUpdateContactBodyAllOfRiskTolerance = exports.WealthboxUpdateContactBodyAllOfStatus = exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = exports.WealthboxUpdateContactBodyAllOfTimeHorizon = exports.WealthboxUpdateContactBodyAllOfType = exports.WealthboxUpdateContactBodyAllOfWebsitesItemKind = 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,264 @@ 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.WealthboxUpdateContactBodyAllOfWebsitesItemKind = {
|
|
54
|
+
Website: 'Website',
|
|
55
|
+
Facebook: 'Facebook',
|
|
56
|
+
Blog: 'Blog',
|
|
57
|
+
};
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
59
|
+
exports.WealthboxUpdateContactBodyAllOfType = {
|
|
60
|
+
Person: 'Person',
|
|
61
|
+
Household: 'Household',
|
|
62
|
+
Organization: 'Organization',
|
|
63
|
+
Trust: 'Trust',
|
|
64
|
+
};
|
|
65
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
66
|
+
exports.WealthboxUpdateContactBodyAllOfTimeHorizon = {
|
|
67
|
+
Short_Term: 'Short Term',
|
|
68
|
+
Intermediate: 'Intermediate',
|
|
69
|
+
Long_Term: 'Long Term',
|
|
70
|
+
};
|
|
71
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
72
|
+
exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = {
|
|
73
|
+
Work: 'Work',
|
|
74
|
+
Home: 'Home',
|
|
75
|
+
Mobile: 'Mobile',
|
|
76
|
+
Vacation: 'Vacation',
|
|
77
|
+
Fax: 'Fax',
|
|
78
|
+
Other: 'Other',
|
|
79
|
+
};
|
|
80
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
81
|
+
exports.WealthboxUpdateContactBodyAllOfStatus = {
|
|
82
|
+
Active: 'Active',
|
|
83
|
+
Inactive: 'Inactive',
|
|
84
|
+
};
|
|
85
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
86
|
+
exports.WealthboxUpdateContactBodyAllOfRiskTolerance = {
|
|
87
|
+
Low: 'Low',
|
|
88
|
+
Moderate: 'Moderate',
|
|
89
|
+
High_Risk: 'High Risk',
|
|
90
|
+
};
|
|
91
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
92
|
+
exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = {
|
|
93
|
+
Work: 'Work',
|
|
94
|
+
Home: 'Home',
|
|
95
|
+
Mobile: 'Mobile',
|
|
96
|
+
Vacation: 'Vacation',
|
|
97
|
+
Fax: 'Fax',
|
|
98
|
+
Other: 'Other',
|
|
99
|
+
};
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
101
|
+
exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
|
|
102
|
+
Married: 'Married',
|
|
103
|
+
Single: 'Single',
|
|
104
|
+
Divorced: 'Divorced',
|
|
105
|
+
Widowed: 'Widowed',
|
|
106
|
+
Life_Partner: 'Life Partner',
|
|
107
|
+
Separated: 'Separated',
|
|
108
|
+
Unknown: 'Unknown',
|
|
109
|
+
};
|
|
110
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
111
|
+
exports.WealthboxUpdateContactBodyAllOfInvestmentObjective = {
|
|
112
|
+
Aggressive_Growth: 'Aggressive Growth',
|
|
113
|
+
Growth: 'Growth',
|
|
114
|
+
Income: 'Income',
|
|
115
|
+
Safety_of_Principal: 'Safety of Principal',
|
|
116
|
+
};
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
118
|
+
exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = {
|
|
119
|
+
Head: 'Head',
|
|
120
|
+
Spouse: 'Spouse',
|
|
121
|
+
Partner: 'Partner',
|
|
122
|
+
Child: 'Child',
|
|
123
|
+
Grandchild: 'Grandchild',
|
|
124
|
+
Parent: 'Parent',
|
|
125
|
+
Grandparent: 'Grandparent',
|
|
126
|
+
Sibling: 'Sibling',
|
|
127
|
+
Other_Dependent: 'Other Dependent',
|
|
128
|
+
};
|
|
129
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
130
|
+
exports.WealthboxUpdateContactBodyAllOfGender = {
|
|
131
|
+
Female: 'Female',
|
|
132
|
+
Male: 'Male',
|
|
133
|
+
'Non-binary': 'Non-binary',
|
|
134
|
+
Unknown: 'Unknown',
|
|
135
|
+
};
|
|
136
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
137
|
+
exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = {
|
|
138
|
+
Work: 'Work',
|
|
139
|
+
Home: 'Home',
|
|
140
|
+
Mobile: 'Mobile',
|
|
141
|
+
Vacation: 'Vacation',
|
|
142
|
+
Fax: 'Fax',
|
|
143
|
+
Other: 'Other',
|
|
144
|
+
};
|
|
145
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
146
|
+
exports.WealthboxUpdateContactBodyAllOfContactType = {
|
|
147
|
+
Client: 'Client',
|
|
148
|
+
Past_Client: 'Past Client',
|
|
149
|
+
Prospect: 'Prospect',
|
|
150
|
+
Vendor: 'Vendor',
|
|
151
|
+
Organization: 'Organization',
|
|
152
|
+
};
|
|
153
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
154
|
+
exports.WealthboxUpdateContactBodyAllOfContactSource = {
|
|
155
|
+
Referral: 'Referral',
|
|
156
|
+
Conference: 'Conference',
|
|
157
|
+
Direct_Mail: 'Direct Mail',
|
|
158
|
+
Cold_Call: 'Cold Call',
|
|
159
|
+
Other: 'Other',
|
|
160
|
+
};
|
|
161
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
162
|
+
exports.WealthboxCreateContactBodyWebsitesItemKind = {
|
|
163
|
+
Website: 'Website',
|
|
164
|
+
Facebook: 'Facebook',
|
|
165
|
+
Blog: 'Blog',
|
|
166
|
+
};
|
|
167
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
168
|
+
exports.WealthboxCreateContactBodyType = {
|
|
169
|
+
Person: 'Person',
|
|
170
|
+
Household: 'Household',
|
|
171
|
+
Organization: 'Organization',
|
|
172
|
+
Trust: 'Trust',
|
|
173
|
+
};
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
175
|
+
exports.WealthboxCreateContactBodyTimeHorizon = {
|
|
176
|
+
Short_Term: 'Short Term',
|
|
177
|
+
Intermediate: 'Intermediate',
|
|
178
|
+
Long_Term: 'Long Term',
|
|
179
|
+
};
|
|
180
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
181
|
+
exports.WealthboxCreateContactBodyStreetAddressesItemKind = {
|
|
182
|
+
Work: 'Work',
|
|
183
|
+
Home: 'Home',
|
|
184
|
+
Mobile: 'Mobile',
|
|
185
|
+
Vacation: 'Vacation',
|
|
186
|
+
Fax: 'Fax',
|
|
187
|
+
Other: 'Other',
|
|
188
|
+
};
|
|
189
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
190
|
+
exports.WealthboxCreateContactBodyStatus = {
|
|
191
|
+
Active: 'Active',
|
|
192
|
+
Inactive: 'Inactive',
|
|
193
|
+
};
|
|
194
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
195
|
+
exports.WealthboxCreateContactBodyRiskTolerance = {
|
|
196
|
+
Low: 'Low',
|
|
197
|
+
Moderate: 'Moderate',
|
|
198
|
+
High_Risk: 'High Risk',
|
|
199
|
+
};
|
|
200
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
201
|
+
exports.WealthboxCreateContactBodyPhoneNumbersItemKind = {
|
|
202
|
+
Work: 'Work',
|
|
203
|
+
Home: 'Home',
|
|
204
|
+
Mobile: 'Mobile',
|
|
205
|
+
Vacation: 'Vacation',
|
|
206
|
+
Fax: 'Fax',
|
|
207
|
+
Other: 'Other',
|
|
208
|
+
};
|
|
209
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
210
|
+
exports.WealthboxCreateContactBodyMaritalStatus = {
|
|
211
|
+
Married: 'Married',
|
|
212
|
+
Single: 'Single',
|
|
213
|
+
Divorced: 'Divorced',
|
|
214
|
+
Widowed: 'Widowed',
|
|
215
|
+
Life_Partner: 'Life Partner',
|
|
216
|
+
Separated: 'Separated',
|
|
217
|
+
Unknown: 'Unknown',
|
|
218
|
+
};
|
|
219
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
220
|
+
exports.WealthboxCreateContactBodyInvestmentObjective = {
|
|
221
|
+
Aggressive_Growth: 'Aggressive Growth',
|
|
222
|
+
Growth: 'Growth',
|
|
223
|
+
Income: 'Income',
|
|
224
|
+
Safety_of_Principal: 'Safety of Principal',
|
|
225
|
+
};
|
|
226
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
227
|
+
exports.WealthboxCreateContactBodyHouseholdTitle = {
|
|
228
|
+
Head: 'Head',
|
|
229
|
+
Spouse: 'Spouse',
|
|
230
|
+
Partner: 'Partner',
|
|
231
|
+
Child: 'Child',
|
|
232
|
+
Grandchild: 'Grandchild',
|
|
233
|
+
Parent: 'Parent',
|
|
234
|
+
Grandparent: 'Grandparent',
|
|
235
|
+
Sibling: 'Sibling',
|
|
236
|
+
Other_Dependent: 'Other Dependent',
|
|
237
|
+
};
|
|
238
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
239
|
+
exports.WealthboxCreateContactBodyGender = {
|
|
240
|
+
Female: 'Female',
|
|
241
|
+
Male: 'Male',
|
|
242
|
+
'Non-binary': 'Non-binary',
|
|
243
|
+
Unknown: 'Unknown',
|
|
244
|
+
};
|
|
245
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
246
|
+
exports.WealthboxCreateContactBodyEmailAddressesItemKind = {
|
|
247
|
+
Work: 'Work',
|
|
248
|
+
Home: 'Home',
|
|
249
|
+
Mobile: 'Mobile',
|
|
250
|
+
Vacation: 'Vacation',
|
|
251
|
+
Fax: 'Fax',
|
|
252
|
+
Other: 'Other',
|
|
253
|
+
};
|
|
254
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
255
|
+
exports.WealthboxCreateContactBodyContactType = {
|
|
256
|
+
Client: 'Client',
|
|
257
|
+
Past_Client: 'Past Client',
|
|
258
|
+
Prospect: 'Prospect',
|
|
259
|
+
Vendor: 'Vendor',
|
|
260
|
+
Organization: 'Organization',
|
|
261
|
+
};
|
|
262
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
263
|
+
exports.WealthboxCreateContactBodyContactSource = {
|
|
264
|
+
Referral: 'Referral',
|
|
265
|
+
Conference: 'Conference',
|
|
266
|
+
Direct_Mail: 'Direct Mail',
|
|
267
|
+
Cold_Call: 'Cold Call',
|
|
268
|
+
Other: 'Other',
|
|
269
|
+
};
|
|
270
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
13
271
|
exports.OpenaiCreateStreamBodyMessagesItemRole = {
|
|
14
272
|
user: 'user',
|
|
15
273
|
assistant: 'assistant',
|
|
@@ -616,6 +874,26 @@ const getIntegrationsAPI = () => {
|
|
|
616
874
|
data: getContactBody
|
|
617
875
|
});
|
|
618
876
|
};
|
|
877
|
+
/**
|
|
878
|
+
* Fetches Redtail contacts with optional pagination.
|
|
879
|
+
* @summary Get Redtail contacts
|
|
880
|
+
*/
|
|
881
|
+
const getContacts = (getContactsBody) => {
|
|
882
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'POST',
|
|
883
|
+
headers: { 'Content-Type': 'application/json', },
|
|
884
|
+
data: getContactsBody
|
|
885
|
+
});
|
|
886
|
+
};
|
|
887
|
+
/**
|
|
888
|
+
* Updates a Redtail contact by contact ID.
|
|
889
|
+
* @summary Update Redtail contact
|
|
890
|
+
*/
|
|
891
|
+
const updateContact = (updateContactBody) => {
|
|
892
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'PUT',
|
|
893
|
+
headers: { 'Content-Type': 'application/json', },
|
|
894
|
+
data: updateContactBody
|
|
895
|
+
});
|
|
896
|
+
};
|
|
619
897
|
/**
|
|
620
898
|
* Fetches the personal profile for a Redtail contact.
|
|
621
899
|
* @summary Get Redtail contact personal profile
|
|
@@ -656,6 +934,704 @@ const getIntegrationsAPI = () => {
|
|
|
656
934
|
data: getAccountDetailsBody
|
|
657
935
|
});
|
|
658
936
|
};
|
|
937
|
+
/**
|
|
938
|
+
* Fetches Redtail activities for a date range.
|
|
939
|
+
* @summary Get Redtail activities
|
|
940
|
+
*/
|
|
941
|
+
const getActivities = (getActivitiesBody) => {
|
|
942
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/list`, method: 'POST',
|
|
943
|
+
headers: { 'Content-Type': 'application/json', },
|
|
944
|
+
data: getActivitiesBody
|
|
945
|
+
});
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* Fetches a Redtail activity by activity ID.
|
|
949
|
+
* @summary Get Redtail activity by id
|
|
950
|
+
*/
|
|
951
|
+
const getActivity = (getActivityBody) => {
|
|
952
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/get`, method: 'POST',
|
|
953
|
+
headers: { 'Content-Type': 'application/json', },
|
|
954
|
+
data: getActivityBody
|
|
955
|
+
});
|
|
956
|
+
};
|
|
957
|
+
/**
|
|
958
|
+
* Creates a Redtail activity.
|
|
959
|
+
* @summary Create Redtail activity
|
|
960
|
+
*/
|
|
961
|
+
const createActivity = () => {
|
|
962
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'POST'
|
|
963
|
+
});
|
|
964
|
+
};
|
|
965
|
+
/**
|
|
966
|
+
* Updates a Redtail activity by activity ID.
|
|
967
|
+
* @summary Update Redtail activity
|
|
968
|
+
*/
|
|
969
|
+
const updateActivity = (updateActivityBody) => {
|
|
970
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'PUT',
|
|
971
|
+
headers: { 'Content-Type': 'application/json', },
|
|
972
|
+
data: updateActivityBody
|
|
973
|
+
});
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* Deletes a Redtail activity.
|
|
977
|
+
* @summary Delete Redtail activity
|
|
978
|
+
*/
|
|
979
|
+
const redtailDeleteActivity = (redtailDeleteActivityBody) => {
|
|
980
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'DELETE',
|
|
981
|
+
headers: { 'Content-Type': 'application/json', },
|
|
982
|
+
data: redtailDeleteActivityBody
|
|
983
|
+
});
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* Creates a note for a Redtail activity.
|
|
987
|
+
* @summary Create Redtail activity note
|
|
988
|
+
*/
|
|
989
|
+
const createActivityNote = (createActivityNoteBody) => {
|
|
990
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'POST',
|
|
991
|
+
headers: { 'Content-Type': 'application/json', },
|
|
992
|
+
data: createActivityNoteBody
|
|
993
|
+
});
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* Deletes a Redtail activity note.
|
|
997
|
+
* @summary Delete Redtail activity note
|
|
998
|
+
*/
|
|
999
|
+
const deleteActivityNote = (deleteActivityNoteBody) => {
|
|
1000
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'DELETE',
|
|
1001
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1002
|
+
data: deleteActivityNoteBody
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Fetches notes for a Redtail activity.
|
|
1007
|
+
* @summary Get Redtail activity notes
|
|
1008
|
+
*/
|
|
1009
|
+
const getActivityNotes = (getActivityNotesBody) => {
|
|
1010
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes/get`, method: 'POST',
|
|
1011
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1012
|
+
data: getActivityNotesBody
|
|
1013
|
+
});
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Fetches Redtail database users.
|
|
1017
|
+
* @summary Get Redtail database users
|
|
1018
|
+
*/
|
|
1019
|
+
const getDatabaseUsers = (getDatabaseUsersBody) => {
|
|
1020
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_users`, method: 'POST',
|
|
1021
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1022
|
+
data: getDatabaseUsersBody
|
|
1023
|
+
});
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Fetches Redtail categories.
|
|
1027
|
+
* @summary Get Redtail categories
|
|
1028
|
+
*/
|
|
1029
|
+
const getCategories = (getCategoriesBody) => {
|
|
1030
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/categories`, method: 'POST',
|
|
1031
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1032
|
+
data: getCategoriesBody
|
|
1033
|
+
});
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* Fetches Redtail activity codes.
|
|
1037
|
+
* @summary Get Redtail activity codes
|
|
1038
|
+
*/
|
|
1039
|
+
const getActivityCodes = (getActivityCodesBody) => {
|
|
1040
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/activity_codes`, method: 'POST',
|
|
1041
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1042
|
+
data: getActivityCodesBody
|
|
1043
|
+
});
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* Fetches Redtail notes.
|
|
1047
|
+
* @summary Get Redtail notes
|
|
1048
|
+
*/
|
|
1049
|
+
const getNotes = (getNotesBody) => {
|
|
1050
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/notes`, method: 'POST',
|
|
1051
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1052
|
+
data: getNotesBody
|
|
1053
|
+
});
|
|
1054
|
+
};
|
|
1055
|
+
/**
|
|
1056
|
+
* Creates a contact in Redtail.
|
|
1057
|
+
* @summary Create Redtail contact
|
|
1058
|
+
*/
|
|
1059
|
+
const redtailCreateContact = (redtailCreateContactBody) => {
|
|
1060
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/create`, method: 'POST',
|
|
1061
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1062
|
+
data: redtailCreateContactBody
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* Deletes a contact in Redtail.
|
|
1067
|
+
* @summary Delete Redtail contact
|
|
1068
|
+
*/
|
|
1069
|
+
const redtailDeleteContact = (redtailDeleteContactBody) => {
|
|
1070
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/delete`, method: 'DELETE',
|
|
1071
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1072
|
+
data: redtailDeleteContactBody
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
/**
|
|
1076
|
+
* Fetches addresses for a Redtail contact.
|
|
1077
|
+
* @summary Get Redtail contact addresses
|
|
1078
|
+
*/
|
|
1079
|
+
const redtailGetContactAddresses = (redtailGetContactAddressesBody) => {
|
|
1080
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses/get`, method: 'POST',
|
|
1081
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1082
|
+
data: redtailGetContactAddressesBody
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* Fetches a contact address by ID.
|
|
1087
|
+
* @summary Get Redtail contact address
|
|
1088
|
+
*/
|
|
1089
|
+
const redtailGetContactAddress = (redtailGetContactAddressBody) => {
|
|
1090
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses/id/get`, method: 'POST',
|
|
1091
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1092
|
+
data: redtailGetContactAddressBody
|
|
1093
|
+
});
|
|
1094
|
+
};
|
|
1095
|
+
/**
|
|
1096
|
+
* Creates a contact address.
|
|
1097
|
+
* @summary Create Redtail contact address
|
|
1098
|
+
*/
|
|
1099
|
+
const redtailCreateContactAddress = (redtailCreateContactAddressBody) => {
|
|
1100
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'POST',
|
|
1101
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1102
|
+
data: redtailCreateContactAddressBody
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* Updates a contact address.
|
|
1107
|
+
* @summary Update Redtail contact address
|
|
1108
|
+
*/
|
|
1109
|
+
const redtailUpdateContactAddress = (redtailUpdateContactAddressBody) => {
|
|
1110
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'PUT',
|
|
1111
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1112
|
+
data: redtailUpdateContactAddressBody
|
|
1113
|
+
});
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* Deletes a contact address.
|
|
1117
|
+
* @summary Delete Redtail contact address
|
|
1118
|
+
*/
|
|
1119
|
+
const redtailDeleteContactAddress = (redtailDeleteContactAddressBody) => {
|
|
1120
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/addresses`, method: 'DELETE',
|
|
1121
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1122
|
+
data: redtailDeleteContactAddressBody
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* Fetches emails for a Redtail contact.
|
|
1127
|
+
* @summary Get Redtail contact emails
|
|
1128
|
+
*/
|
|
1129
|
+
const redtailGetContactEmails = (redtailGetContactEmailsBody) => {
|
|
1130
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails/get`, method: 'POST',
|
|
1131
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1132
|
+
data: redtailGetContactEmailsBody
|
|
1133
|
+
});
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Fetches a contact email by ID.
|
|
1137
|
+
* @summary Get Redtail contact email
|
|
1138
|
+
*/
|
|
1139
|
+
const redtailGetContactEmail = (redtailGetContactEmailBody) => {
|
|
1140
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails/id/get`, method: 'POST',
|
|
1141
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1142
|
+
data: redtailGetContactEmailBody
|
|
1143
|
+
});
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* Creates a contact email.
|
|
1147
|
+
* @summary Create Redtail contact email
|
|
1148
|
+
*/
|
|
1149
|
+
const redtailCreateContactEmail = (redtailCreateContactEmailBody) => {
|
|
1150
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'POST',
|
|
1151
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1152
|
+
data: redtailCreateContactEmailBody
|
|
1153
|
+
});
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* Updates a contact email.
|
|
1157
|
+
* @summary Update Redtail contact email
|
|
1158
|
+
*/
|
|
1159
|
+
const redtailUpdateContactEmail = (redtailUpdateContactEmailBody) => {
|
|
1160
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'PUT',
|
|
1161
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1162
|
+
data: redtailUpdateContactEmailBody
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* Deletes a contact email.
|
|
1167
|
+
* @summary Delete Redtail contact email
|
|
1168
|
+
*/
|
|
1169
|
+
const redtailDeleteContactEmail = (redtailDeleteContactEmailBody) => {
|
|
1170
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/emails`, method: 'DELETE',
|
|
1171
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1172
|
+
data: redtailDeleteContactEmailBody
|
|
1173
|
+
});
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Fetches phones for a Redtail contact.
|
|
1177
|
+
* @summary Get Redtail contact phones
|
|
1178
|
+
*/
|
|
1179
|
+
const redtailGetContactPhones = (redtailGetContactPhonesBody) => {
|
|
1180
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones/get`, method: 'POST',
|
|
1181
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1182
|
+
data: redtailGetContactPhonesBody
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* Fetches a contact phone by ID.
|
|
1187
|
+
* @summary Get Redtail contact phone
|
|
1188
|
+
*/
|
|
1189
|
+
const redtailGetContactPhone = (redtailGetContactPhoneBody) => {
|
|
1190
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones/id/get`, method: 'POST',
|
|
1191
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1192
|
+
data: redtailGetContactPhoneBody
|
|
1193
|
+
});
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* Creates a contact phone.
|
|
1197
|
+
* @summary Create Redtail contact phone
|
|
1198
|
+
*/
|
|
1199
|
+
const redtailCreateContactPhone = (redtailCreateContactPhoneBody) => {
|
|
1200
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'POST',
|
|
1201
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1202
|
+
data: redtailCreateContactPhoneBody
|
|
1203
|
+
});
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* Updates a contact phone.
|
|
1207
|
+
* @summary Update Redtail contact phone
|
|
1208
|
+
*/
|
|
1209
|
+
const redtailUpdateContactPhone = (redtailUpdateContactPhoneBody) => {
|
|
1210
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'PUT',
|
|
1211
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1212
|
+
data: redtailUpdateContactPhoneBody
|
|
1213
|
+
});
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Deletes a contact phone.
|
|
1217
|
+
* @summary Delete Redtail contact phone
|
|
1218
|
+
*/
|
|
1219
|
+
const redtailDeleteContactPhone = (redtailDeleteContactPhoneBody) => {
|
|
1220
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/phones`, method: 'DELETE',
|
|
1221
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1222
|
+
data: redtailDeleteContactPhoneBody
|
|
1223
|
+
});
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* Fetches social media records for a Redtail contact.
|
|
1227
|
+
* @summary Get Redtail contact social media
|
|
1228
|
+
*/
|
|
1229
|
+
const redtailGetContactSocialMedias = (redtailGetContactSocialMediasBody) => {
|
|
1230
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias/get`, method: 'POST',
|
|
1231
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1232
|
+
data: redtailGetContactSocialMediasBody
|
|
1233
|
+
});
|
|
1234
|
+
};
|
|
1235
|
+
/**
|
|
1236
|
+
* Fetches a social media record by ID.
|
|
1237
|
+
* @summary Get Redtail contact social media record
|
|
1238
|
+
*/
|
|
1239
|
+
const redtailGetContactSocialMedia = (redtailGetContactSocialMediaBody) => {
|
|
1240
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias/id/get`, method: 'POST',
|
|
1241
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1242
|
+
data: redtailGetContactSocialMediaBody
|
|
1243
|
+
});
|
|
1244
|
+
};
|
|
1245
|
+
/**
|
|
1246
|
+
* Creates a social media record.
|
|
1247
|
+
* @summary Create Redtail contact social media
|
|
1248
|
+
*/
|
|
1249
|
+
const redtailCreateContactSocialMedia = (redtailCreateContactSocialMediaBody) => {
|
|
1250
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'POST',
|
|
1251
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1252
|
+
data: redtailCreateContactSocialMediaBody
|
|
1253
|
+
});
|
|
1254
|
+
};
|
|
1255
|
+
/**
|
|
1256
|
+
* Updates a social media record.
|
|
1257
|
+
* @summary Update Redtail contact social media
|
|
1258
|
+
*/
|
|
1259
|
+
const redtailUpdateContactSocialMedia = (redtailUpdateContactSocialMediaBody) => {
|
|
1260
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'PUT',
|
|
1261
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1262
|
+
data: redtailUpdateContactSocialMediaBody
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Deletes a social media record.
|
|
1267
|
+
* @summary Delete Redtail contact social media
|
|
1268
|
+
*/
|
|
1269
|
+
const redtailDeleteContactSocialMedia = (redtailDeleteContactSocialMediaBody) => {
|
|
1270
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/social_medias`, method: 'DELETE',
|
|
1271
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1272
|
+
data: redtailDeleteContactSocialMediaBody
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* Fetches URLs for a Redtail contact.
|
|
1277
|
+
* @summary Get Redtail contact URLs
|
|
1278
|
+
*/
|
|
1279
|
+
const redtailGetContactUrls = (redtailGetContactUrlsBody) => {
|
|
1280
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls/get`, method: 'POST',
|
|
1281
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1282
|
+
data: redtailGetContactUrlsBody
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* Fetches a URL by ID.
|
|
1287
|
+
* @summary Get Redtail contact URL
|
|
1288
|
+
*/
|
|
1289
|
+
const redtailGetContactUrl = (redtailGetContactUrlBody) => {
|
|
1290
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls/id/get`, method: 'POST',
|
|
1291
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1292
|
+
data: redtailGetContactUrlBody
|
|
1293
|
+
});
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* Creates a URL record.
|
|
1297
|
+
* @summary Create Redtail contact URL
|
|
1298
|
+
*/
|
|
1299
|
+
const redtailCreateContactUrl = (redtailCreateContactUrlBody) => {
|
|
1300
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'POST',
|
|
1301
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1302
|
+
data: redtailCreateContactUrlBody
|
|
1303
|
+
});
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* Updates a URL record.
|
|
1307
|
+
* @summary Update Redtail contact URL
|
|
1308
|
+
*/
|
|
1309
|
+
const redtailUpdateContactUrl = (redtailUpdateContactUrlBody) => {
|
|
1310
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'PUT',
|
|
1311
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1312
|
+
data: redtailUpdateContactUrlBody
|
|
1313
|
+
});
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Deletes a URL record.
|
|
1317
|
+
* @summary Delete Redtail contact URL
|
|
1318
|
+
*/
|
|
1319
|
+
const redtailDeleteContactUrl = (redtailDeleteContactUrlBody) => {
|
|
1320
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/urls`, method: 'DELETE',
|
|
1321
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1322
|
+
data: redtailDeleteContactUrlBody
|
|
1323
|
+
});
|
|
1324
|
+
};
|
|
1325
|
+
/**
|
|
1326
|
+
* Fetches notes for a Redtail contact.
|
|
1327
|
+
* @summary Get Redtail contact notes
|
|
1328
|
+
*/
|
|
1329
|
+
const redtailGetContactNotes = (redtailGetContactNotesBody) => {
|
|
1330
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes/get`, method: 'POST',
|
|
1331
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1332
|
+
data: redtailGetContactNotesBody
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
/**
|
|
1336
|
+
* Fetches a contact note by ID.
|
|
1337
|
+
* @summary Get Redtail contact note
|
|
1338
|
+
*/
|
|
1339
|
+
const redtailGetContactNote = (redtailGetContactNoteBody) => {
|
|
1340
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes/id/get`, method: 'POST',
|
|
1341
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1342
|
+
data: redtailGetContactNoteBody
|
|
1343
|
+
});
|
|
1344
|
+
};
|
|
1345
|
+
/**
|
|
1346
|
+
* Creates a contact note.
|
|
1347
|
+
* @summary Create Redtail contact note
|
|
1348
|
+
*/
|
|
1349
|
+
const redtailCreateContactNote = (redtailCreateContactNoteBody) => {
|
|
1350
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'POST',
|
|
1351
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1352
|
+
data: redtailCreateContactNoteBody
|
|
1353
|
+
});
|
|
1354
|
+
};
|
|
1355
|
+
/**
|
|
1356
|
+
* Deletes a contact note.
|
|
1357
|
+
* @summary Delete Redtail contact note
|
|
1358
|
+
*/
|
|
1359
|
+
const redtailDeleteContactNote = (redtailDeleteContactNoteBody) => {
|
|
1360
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/notes`, method: 'DELETE',
|
|
1361
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1362
|
+
data: redtailDeleteContactNoteBody
|
|
1363
|
+
});
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Fetches a contact account by ID.
|
|
1367
|
+
* @summary Get Redtail contact account
|
|
1368
|
+
*/
|
|
1369
|
+
const redtailGetContactAccount = (redtailGetContactAccountBody) => {
|
|
1370
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/id/get`, method: 'POST',
|
|
1371
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1372
|
+
data: redtailGetContactAccountBody
|
|
1373
|
+
});
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* Creates a contact account.
|
|
1377
|
+
* @summary Create Redtail contact account
|
|
1378
|
+
*/
|
|
1379
|
+
const redtailCreateContactAccount = (redtailCreateContactAccountBody) => {
|
|
1380
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'POST',
|
|
1381
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1382
|
+
data: redtailCreateContactAccountBody
|
|
1383
|
+
});
|
|
1384
|
+
};
|
|
1385
|
+
/**
|
|
1386
|
+
* Updates a contact account.
|
|
1387
|
+
* @summary Update Redtail contact account
|
|
1388
|
+
*/
|
|
1389
|
+
const redtailUpdateContactAccount = (redtailUpdateContactAccountBody) => {
|
|
1390
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'PUT',
|
|
1391
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1392
|
+
data: redtailUpdateContactAccountBody
|
|
1393
|
+
});
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* Deletes a contact account.
|
|
1397
|
+
* @summary Delete Redtail contact account
|
|
1398
|
+
*/
|
|
1399
|
+
const redtailDeleteContactAccount = (redtailDeleteContactAccountBody) => {
|
|
1400
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts`, method: 'DELETE',
|
|
1401
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1402
|
+
data: redtailDeleteContactAccountBody
|
|
1403
|
+
});
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* Updates account details.
|
|
1407
|
+
* @summary Update Redtail account details
|
|
1408
|
+
*/
|
|
1409
|
+
const redtailUpdateAccountDetails = (redtailUpdateAccountDetailsBody) => {
|
|
1410
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/accounts/details`, method: 'PUT',
|
|
1411
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1412
|
+
data: redtailUpdateAccountDetailsBody
|
|
1413
|
+
});
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* Fetches important information for a contact.
|
|
1417
|
+
* @summary Get Redtail important information
|
|
1418
|
+
*/
|
|
1419
|
+
const redtailGetImportantInformation = (redtailGetImportantInformationBody) => {
|
|
1420
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/important_information/get`, method: 'POST',
|
|
1421
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1422
|
+
data: redtailGetImportantInformationBody
|
|
1423
|
+
});
|
|
1424
|
+
};
|
|
1425
|
+
/**
|
|
1426
|
+
* Updates important information for a contact.
|
|
1427
|
+
* @summary Update Redtail important information
|
|
1428
|
+
*/
|
|
1429
|
+
const redtailUpdateImportantInformation = (redtailUpdateImportantInformationBody) => {
|
|
1430
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/important_information`, method: 'PUT',
|
|
1431
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1432
|
+
data: redtailUpdateImportantInformationBody
|
|
1433
|
+
});
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* Fetches role/advisor assignment for a contact.
|
|
1437
|
+
* @summary Get Redtail contact role
|
|
1438
|
+
*/
|
|
1439
|
+
const redtailGetContactRole = (redtailGetContactRoleBody) => {
|
|
1440
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/role/get`, method: 'POST',
|
|
1441
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1442
|
+
data: redtailGetContactRoleBody
|
|
1443
|
+
});
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Updates role/advisor assignment for a contact.
|
|
1447
|
+
* @summary Update Redtail contact role
|
|
1448
|
+
*/
|
|
1449
|
+
const redtailUpdateContactRole = (redtailUpdateContactRoleBody) => {
|
|
1450
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/role`, method: 'PUT',
|
|
1451
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1452
|
+
data: redtailUpdateContactRoleBody
|
|
1453
|
+
});
|
|
1454
|
+
};
|
|
1455
|
+
/**
|
|
1456
|
+
* Fetches SAM profile data for a contact.
|
|
1457
|
+
* @summary Get Redtail contact SAM
|
|
1458
|
+
*/
|
|
1459
|
+
const redtailGetContactSam = (redtailGetContactSamBody) => {
|
|
1460
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/sam/get`, method: 'POST',
|
|
1461
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1462
|
+
data: redtailGetContactSamBody
|
|
1463
|
+
});
|
|
1464
|
+
};
|
|
1465
|
+
/**
|
|
1466
|
+
* Updates SAM profile data for a contact.
|
|
1467
|
+
* @summary Update Redtail contact SAM
|
|
1468
|
+
*/
|
|
1469
|
+
const redtailUpdateContactSam = (redtailUpdateContactSamBody) => {
|
|
1470
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/sam`, method: 'PUT',
|
|
1471
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1472
|
+
data: redtailUpdateContactSamBody
|
|
1473
|
+
});
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* Fetches tax profile data for a contact.
|
|
1477
|
+
* @summary Get Redtail contact tax
|
|
1478
|
+
*/
|
|
1479
|
+
const redtailGetContactTax = (redtailGetContactTaxBody) => {
|
|
1480
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/tax/get`, method: 'POST',
|
|
1481
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1482
|
+
data: redtailGetContactTaxBody
|
|
1483
|
+
});
|
|
1484
|
+
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Updates tax profile data for a contact.
|
|
1487
|
+
* @summary Update Redtail contact tax
|
|
1488
|
+
*/
|
|
1489
|
+
const redtailUpdateContactTax = (redtailUpdateContactTaxBody) => {
|
|
1490
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/tax`, method: 'PUT',
|
|
1491
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1492
|
+
data: redtailUpdateContactTaxBody
|
|
1493
|
+
});
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* Fetches account type lookup values.
|
|
1497
|
+
* @summary Get Redtail account types
|
|
1498
|
+
*/
|
|
1499
|
+
const redtailGetAccountTypes = (redtailGetAccountTypesBody) => {
|
|
1500
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/account_types`, method: 'POST',
|
|
1501
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1502
|
+
data: redtailGetAccountTypesBody
|
|
1503
|
+
});
|
|
1504
|
+
};
|
|
1505
|
+
/**
|
|
1506
|
+
* Fetches account tax qualified lookup values.
|
|
1507
|
+
* @summary Get Redtail account tax qualified types
|
|
1508
|
+
*/
|
|
1509
|
+
const redtailGetAccountTaxQualifiedTypes = (redtailGetAccountTaxQualifiedTypesBody) => {
|
|
1510
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/account_tax_qualified_types`, method: 'POST',
|
|
1511
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1512
|
+
data: redtailGetAccountTaxQualifiedTypesBody
|
|
1513
|
+
});
|
|
1514
|
+
};
|
|
1515
|
+
/**
|
|
1516
|
+
* Fetches contact category lookup values.
|
|
1517
|
+
* @summary Get Redtail contact categories
|
|
1518
|
+
*/
|
|
1519
|
+
const redtailGetContactCategories = (redtailGetContactCategoriesBody) => {
|
|
1520
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_categories`, method: 'POST',
|
|
1521
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1522
|
+
data: redtailGetContactCategoriesBody
|
|
1523
|
+
});
|
|
1524
|
+
};
|
|
1525
|
+
/**
|
|
1526
|
+
* Fetches contact status lookup values.
|
|
1527
|
+
* @summary Get Redtail contact statuses
|
|
1528
|
+
*/
|
|
1529
|
+
const redtailGetContactStatuses = (redtailGetContactStatusesBody) => {
|
|
1530
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_statuses`, method: 'POST',
|
|
1531
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1532
|
+
data: redtailGetContactStatusesBody
|
|
1533
|
+
});
|
|
1534
|
+
};
|
|
1535
|
+
/**
|
|
1536
|
+
* Fetches source lookup values.
|
|
1537
|
+
* @summary Get Redtail sources
|
|
1538
|
+
*/
|
|
1539
|
+
const redtailGetSources = (redtailGetSourcesBody) => {
|
|
1540
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/sources`, method: 'POST',
|
|
1541
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1542
|
+
data: redtailGetSourcesBody
|
|
1543
|
+
});
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* Fetches contact salutation lookup values.
|
|
1547
|
+
* @summary Get Redtail contact salutations
|
|
1548
|
+
*/
|
|
1549
|
+
const redtailGetContactSalutations = (redtailGetContactSalutationsBody) => {
|
|
1550
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/contact_salutations`, method: 'POST',
|
|
1551
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1552
|
+
data: redtailGetContactSalutationsBody
|
|
1553
|
+
});
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Fetches servicing advisor lookup values.
|
|
1557
|
+
* @summary Get Redtail servicing advisors
|
|
1558
|
+
*/
|
|
1559
|
+
const redtailGetServicingAdvisors = (redtailGetServicingAdvisorsBody) => {
|
|
1560
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/servicing_advisors`, method: 'POST',
|
|
1561
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1562
|
+
data: redtailGetServicingAdvisorsBody
|
|
1563
|
+
});
|
|
1564
|
+
};
|
|
1565
|
+
/**
|
|
1566
|
+
* Fetches writing advisor lookup values.
|
|
1567
|
+
* @summary Get Redtail writing advisors
|
|
1568
|
+
*/
|
|
1569
|
+
const redtailGetWritingAdvisors = (redtailGetWritingAdvisorsBody) => {
|
|
1570
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/writing_advisors`, method: 'POST',
|
|
1571
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1572
|
+
data: redtailGetWritingAdvisorsBody
|
|
1573
|
+
});
|
|
1574
|
+
};
|
|
1575
|
+
/**
|
|
1576
|
+
* Fetches database teams.
|
|
1577
|
+
* @summary Get Redtail database teams
|
|
1578
|
+
*/
|
|
1579
|
+
const redtailGetDatabaseTeams = (redtailGetDatabaseTeamsBody) => {
|
|
1580
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_teams`, method: 'POST',
|
|
1581
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1582
|
+
data: redtailGetDatabaseTeamsBody
|
|
1583
|
+
});
|
|
1584
|
+
};
|
|
1585
|
+
/**
|
|
1586
|
+
* Fetches activity templates.
|
|
1587
|
+
* @summary Get Redtail activity templates
|
|
1588
|
+
*/
|
|
1589
|
+
const redtailGetActivityTemplates = (redtailGetActivityTemplatesBody) => {
|
|
1590
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/templates`, method: 'POST',
|
|
1591
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1592
|
+
data: redtailGetActivityTemplatesBody
|
|
1593
|
+
});
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* Fetches an activity template by ID.
|
|
1597
|
+
* @summary Get Redtail activity template
|
|
1598
|
+
*/
|
|
1599
|
+
const redtailGetActivityTemplate = (redtailGetActivityTemplateBody) => {
|
|
1600
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/activities/templates/get`, method: 'POST',
|
|
1601
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1602
|
+
data: redtailGetActivityTemplateBody
|
|
1603
|
+
});
|
|
1604
|
+
};
|
|
1605
|
+
/**
|
|
1606
|
+
* Fetches note templates.
|
|
1607
|
+
* @summary Get Redtail note templates
|
|
1608
|
+
*/
|
|
1609
|
+
const redtailGetNoteTemplates = (redtailGetNoteTemplatesBody) => {
|
|
1610
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/notes/templates`, method: 'POST',
|
|
1611
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1612
|
+
data: redtailGetNoteTemplatesBody
|
|
1613
|
+
});
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* Fetches a note template by ID.
|
|
1617
|
+
* @summary Get Redtail note template
|
|
1618
|
+
*/
|
|
1619
|
+
const redtailGetNoteTemplate = (redtailGetNoteTemplateBody) => {
|
|
1620
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/notes/templates/get`, method: 'POST',
|
|
1621
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1622
|
+
data: redtailGetNoteTemplateBody
|
|
1623
|
+
});
|
|
1624
|
+
};
|
|
1625
|
+
/**
|
|
1626
|
+
* Creates a comment on a Redtail note.
|
|
1627
|
+
* @summary Create Redtail note comment
|
|
1628
|
+
*/
|
|
1629
|
+
const redtailCreateNoteComment = (redtailCreateNoteCommentBody) => {
|
|
1630
|
+
return (0, http_client_1.customAxios)({ url: `/redtail/notes/comments`, method: 'POST',
|
|
1631
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1632
|
+
data: redtailCreateNoteCommentBody
|
|
1633
|
+
});
|
|
1634
|
+
};
|
|
659
1635
|
/**
|
|
660
1636
|
* Stores a generated app user Resend API key for PerUser integration configs.
|
|
661
1637
|
* @summary Store per-user Resend credentials
|
|
@@ -746,15 +1722,15 @@ const getIntegrationsAPI = () => {
|
|
|
746
1722
|
/**
|
|
747
1723
|
* @summary Get all contacts
|
|
748
1724
|
*/
|
|
749
|
-
const wealthboxGetContacts = (wealthboxGetContactsBody
|
|
1725
|
+
const wealthboxGetContacts = (wealthboxGetContactsBody) => {
|
|
750
1726
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/list`, method: 'POST',
|
|
751
1727
|
headers: { 'Content-Type': 'application/json', },
|
|
752
|
-
data: wealthboxGetContactsBody
|
|
753
|
-
params
|
|
1728
|
+
data: wealthboxGetContactsBody
|
|
754
1729
|
});
|
|
755
1730
|
};
|
|
756
1731
|
/**
|
|
757
|
-
*
|
|
1732
|
+
* Retrieve a specific contact using its unique identifier.
|
|
1733
|
+
* @summary Retrieve an existing contact
|
|
758
1734
|
*/
|
|
759
1735
|
const wealthboxGetContact = (wealthboxGetContactBody) => {
|
|
760
1736
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/get`, method: 'POST',
|
|
@@ -792,11 +1768,10 @@ const getIntegrationsAPI = () => {
|
|
|
792
1768
|
/**
|
|
793
1769
|
* @summary Get all tasks
|
|
794
1770
|
*/
|
|
795
|
-
const wealthboxGetTasks = (wealthboxGetTasksBody
|
|
1771
|
+
const wealthboxGetTasks = (wealthboxGetTasksBody) => {
|
|
796
1772
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/tasks/list`, method: 'POST',
|
|
797
1773
|
headers: { 'Content-Type': 'application/json', },
|
|
798
|
-
data: wealthboxGetTasksBody
|
|
799
|
-
params
|
|
1774
|
+
data: wealthboxGetTasksBody
|
|
800
1775
|
});
|
|
801
1776
|
};
|
|
802
1777
|
/**
|
|
@@ -838,11 +1813,10 @@ const getIntegrationsAPI = () => {
|
|
|
838
1813
|
/**
|
|
839
1814
|
* @summary Get all events
|
|
840
1815
|
*/
|
|
841
|
-
const wealthboxGetEvents = (wealthboxGetEventsBody
|
|
1816
|
+
const wealthboxGetEvents = (wealthboxGetEventsBody) => {
|
|
842
1817
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/events/list`, method: 'POST',
|
|
843
1818
|
headers: { 'Content-Type': 'application/json', },
|
|
844
|
-
data: wealthboxGetEventsBody
|
|
845
|
-
params
|
|
1819
|
+
data: wealthboxGetEventsBody
|
|
846
1820
|
});
|
|
847
1821
|
};
|
|
848
1822
|
/**
|
|
@@ -884,11 +1858,10 @@ const getIntegrationsAPI = () => {
|
|
|
884
1858
|
/**
|
|
885
1859
|
* @summary Get all opportunities
|
|
886
1860
|
*/
|
|
887
|
-
const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody
|
|
1861
|
+
const wealthboxGetOpportunities = (wealthboxGetOpportunitiesBody) => {
|
|
888
1862
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/opportunities/list`, method: 'POST',
|
|
889
1863
|
headers: { 'Content-Type': 'application/json', },
|
|
890
|
-
data: wealthboxGetOpportunitiesBody
|
|
891
|
-
params
|
|
1864
|
+
data: wealthboxGetOpportunitiesBody
|
|
892
1865
|
});
|
|
893
1866
|
};
|
|
894
1867
|
/**
|
|
@@ -930,11 +1903,10 @@ const getIntegrationsAPI = () => {
|
|
|
930
1903
|
/**
|
|
931
1904
|
* @summary Get all notes
|
|
932
1905
|
*/
|
|
933
|
-
const wealthboxGetNotes = (wealthboxGetNotesBody
|
|
1906
|
+
const wealthboxGetNotes = (wealthboxGetNotesBody) => {
|
|
934
1907
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/notes/list`, method: 'POST',
|
|
935
1908
|
headers: { 'Content-Type': 'application/json', },
|
|
936
|
-
data: wealthboxGetNotesBody
|
|
937
|
-
params
|
|
1909
|
+
data: wealthboxGetNotesBody
|
|
938
1910
|
});
|
|
939
1911
|
};
|
|
940
1912
|
/**
|
|
@@ -967,11 +1939,10 @@ const getIntegrationsAPI = () => {
|
|
|
967
1939
|
/**
|
|
968
1940
|
* @summary Get all projects
|
|
969
1941
|
*/
|
|
970
|
-
const wealthboxGetProjects = (wealthboxGetProjectsBody
|
|
1942
|
+
const wealthboxGetProjects = (wealthboxGetProjectsBody) => {
|
|
971
1943
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/projects/list`, method: 'POST',
|
|
972
1944
|
headers: { 'Content-Type': 'application/json', },
|
|
973
|
-
data: wealthboxGetProjectsBody
|
|
974
|
-
params
|
|
1945
|
+
data: wealthboxGetProjectsBody
|
|
975
1946
|
});
|
|
976
1947
|
};
|
|
977
1948
|
/**
|
|
@@ -1013,11 +1984,10 @@ const getIntegrationsAPI = () => {
|
|
|
1013
1984
|
/**
|
|
1014
1985
|
* @summary Get all workflows
|
|
1015
1986
|
*/
|
|
1016
|
-
const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody
|
|
1987
|
+
const wealthboxGetWorkflows = (wealthboxGetWorkflowsBody) => {
|
|
1017
1988
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflows/list`, method: 'POST',
|
|
1018
1989
|
headers: { 'Content-Type': 'application/json', },
|
|
1019
|
-
data: wealthboxGetWorkflowsBody
|
|
1020
|
-
params
|
|
1990
|
+
data: wealthboxGetWorkflowsBody
|
|
1021
1991
|
});
|
|
1022
1992
|
};
|
|
1023
1993
|
/**
|
|
@@ -1083,6 +2053,15 @@ const getIntegrationsAPI = () => {
|
|
|
1083
2053
|
data: wealthboxRemoveHouseholdMemberBody
|
|
1084
2054
|
});
|
|
1085
2055
|
};
|
|
2056
|
+
/**
|
|
2057
|
+
* @summary Get all user groups
|
|
2058
|
+
*/
|
|
2059
|
+
const wealthboxGetUserGroups = (wealthboxGetUserGroupsBody) => {
|
|
2060
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/user_groups`, method: 'POST',
|
|
2061
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2062
|
+
data: wealthboxGetUserGroupsBody
|
|
2063
|
+
});
|
|
2064
|
+
};
|
|
1086
2065
|
/**
|
|
1087
2066
|
* @summary Get current user information
|
|
1088
2067
|
*/
|
|
@@ -1114,7 +2093,7 @@ const getIntegrationsAPI = () => {
|
|
|
1114
2093
|
* @summary Get all tags
|
|
1115
2094
|
*/
|
|
1116
2095
|
const wealthboxGetTags = (wealthboxGetTagsBody) => {
|
|
1117
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: 'POST',
|
|
2096
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/categories/tags`, method: 'POST',
|
|
1118
2097
|
headers: { 'Content-Type': 'application/json', },
|
|
1119
2098
|
data: wealthboxGetTagsBody
|
|
1120
2099
|
});
|
|
@@ -1123,11 +2102,29 @@ const getIntegrationsAPI = () => {
|
|
|
1123
2102
|
* @summary Get all custom fields
|
|
1124
2103
|
*/
|
|
1125
2104
|
const wealthboxGetCustomFields = (wealthboxGetCustomFieldsBody) => {
|
|
1126
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/custom_fields`, method: 'POST',
|
|
2105
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/categories/custom_fields`, method: 'POST',
|
|
1127
2106
|
headers: { 'Content-Type': 'application/json', },
|
|
1128
2107
|
data: wealthboxGetCustomFieldsBody
|
|
1129
2108
|
});
|
|
1130
2109
|
};
|
|
2110
|
+
/**
|
|
2111
|
+
* @summary Get members of a category
|
|
2112
|
+
*/
|
|
2113
|
+
const wealthboxGetCategoryMembers = (wealthboxGetCategoryMembersBody) => {
|
|
2114
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/categories/get`, method: 'POST',
|
|
2115
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2116
|
+
data: wealthboxGetCategoryMembersBody
|
|
2117
|
+
});
|
|
2118
|
+
};
|
|
2119
|
+
/**
|
|
2120
|
+
* @summary Get all comments
|
|
2121
|
+
*/
|
|
2122
|
+
const wealthboxGetComments = (wealthboxGetCommentsBody) => {
|
|
2123
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/comments/list`, method: 'POST',
|
|
2124
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2125
|
+
data: wealthboxGetCommentsBody
|
|
2126
|
+
});
|
|
2127
|
+
};
|
|
1131
2128
|
/**
|
|
1132
2129
|
* @summary Get all contact roles
|
|
1133
2130
|
*/
|
|
@@ -1146,6 +2143,15 @@ const getIntegrationsAPI = () => {
|
|
|
1146
2143
|
data: wealthboxGetWorkflowTemplatesBody
|
|
1147
2144
|
});
|
|
1148
2145
|
};
|
|
2146
|
+
/**
|
|
2147
|
+
* @summary Get workflow template by ID
|
|
2148
|
+
*/
|
|
2149
|
+
const wealthboxGetWorkflowTemplate = (wealthboxGetWorkflowTemplateBody) => {
|
|
2150
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/workflow_templates/get`, method: 'POST',
|
|
2151
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2152
|
+
data: wealthboxGetWorkflowTemplateBody
|
|
2153
|
+
});
|
|
2154
|
+
};
|
|
1149
2155
|
/**
|
|
1150
2156
|
* @summary Get all activity
|
|
1151
2157
|
*/
|
|
@@ -1155,7 +2161,7 @@ const getIntegrationsAPI = () => {
|
|
|
1155
2161
|
data: wealthboxGetActivityBody
|
|
1156
2162
|
});
|
|
1157
2163
|
};
|
|
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 };
|
|
2164
|
+
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, wealthboxGetUserGroups, wealthboxGetMe, wealthboxGetUsers, wealthboxGetTeams, wealthboxGetTags, wealthboxGetCustomFields, wealthboxGetCategoryMembers, wealthboxGetComments, wealthboxGetContactRoles, wealthboxGetWorkflowTemplates, wealthboxGetWorkflowTemplate, wealthboxGetActivity };
|
|
1159
2165
|
};
|
|
1160
2166
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
1161
2167
|
//# sourceMappingURL=generated-api.js.map
|