@uptiqai/integrations-sdk 1.0.23 → 1.0.25
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 +5599 -2961
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +239 -42
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +97 -89
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +95 -79
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +166 -158
- 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 = 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;
|
|
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.
|
|
@@ -50,6 +50,12 @@ exports.WealthboxCreateTaskBodyPriority = {
|
|
|
50
50
|
High: 'High',
|
|
51
51
|
};
|
|
52
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
|
|
53
59
|
exports.WealthboxUpdateContactBodyAllOfType = {
|
|
54
60
|
Person: 'Person',
|
|
55
61
|
Household: 'Household',
|
|
@@ -57,11 +63,41 @@ exports.WealthboxUpdateContactBodyAllOfType = {
|
|
|
57
63
|
Trust: 'Trust',
|
|
58
64
|
};
|
|
59
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
|
|
60
81
|
exports.WealthboxUpdateContactBodyAllOfStatus = {
|
|
61
82
|
Active: 'Active',
|
|
62
83
|
Inactive: 'Inactive',
|
|
63
84
|
};
|
|
64
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
|
|
65
101
|
exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
|
|
66
102
|
Married: 'Married',
|
|
67
103
|
Single: 'Single',
|
|
@@ -72,6 +108,25 @@ exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
|
|
|
72
108
|
Unknown: 'Unknown',
|
|
73
109
|
};
|
|
74
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
|
|
75
130
|
exports.WealthboxUpdateContactBodyAllOfGender = {
|
|
76
131
|
Female: 'Female',
|
|
77
132
|
Male: 'Male',
|
|
@@ -79,6 +134,37 @@ exports.WealthboxUpdateContactBodyAllOfGender = {
|
|
|
79
134
|
Unknown: 'Unknown',
|
|
80
135
|
};
|
|
81
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
|
|
82
168
|
exports.WealthboxCreateContactBodyType = {
|
|
83
169
|
Person: 'Person',
|
|
84
170
|
Household: 'Household',
|
|
@@ -86,11 +172,41 @@ exports.WealthboxCreateContactBodyType = {
|
|
|
86
172
|
Trust: 'Trust',
|
|
87
173
|
};
|
|
88
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
|
|
89
190
|
exports.WealthboxCreateContactBodyStatus = {
|
|
90
191
|
Active: 'Active',
|
|
91
192
|
Inactive: 'Inactive',
|
|
92
193
|
};
|
|
93
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
|
|
94
210
|
exports.WealthboxCreateContactBodyMaritalStatus = {
|
|
95
211
|
Married: 'Married',
|
|
96
212
|
Single: 'Single',
|
|
@@ -101,6 +217,25 @@ exports.WealthboxCreateContactBodyMaritalStatus = {
|
|
|
101
217
|
Unknown: 'Unknown',
|
|
102
218
|
};
|
|
103
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
|
|
104
239
|
exports.WealthboxCreateContactBodyGender = {
|
|
105
240
|
Female: 'Female',
|
|
106
241
|
Male: 'Male',
|
|
@@ -108,6 +243,31 @@ exports.WealthboxCreateContactBodyGender = {
|
|
|
108
243
|
Unknown: 'Unknown',
|
|
109
244
|
};
|
|
110
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
|
|
111
271
|
exports.OpenaiCreateStreamBodyMessagesItemRole = {
|
|
112
272
|
user: 'user',
|
|
113
273
|
assistant: 'assistant',
|
|
@@ -698,107 +858,107 @@ const getIntegrationsAPI = () => {
|
|
|
698
858
|
* Fetches family records from Redtail with optional pagination and family member expansion.
|
|
699
859
|
* @summary Get families from Redtail
|
|
700
860
|
*/
|
|
701
|
-
const
|
|
861
|
+
const redtailGetFamilies = (redtailGetFamiliesBody) => {
|
|
702
862
|
return (0, http_client_1.customAxios)({ url: `/redtail/families`, method: 'POST',
|
|
703
863
|
headers: { 'Content-Type': 'application/json', },
|
|
704
|
-
data:
|
|
864
|
+
data: redtailGetFamiliesBody
|
|
705
865
|
});
|
|
706
866
|
};
|
|
707
867
|
/**
|
|
708
868
|
* Fetches a Redtail contact by contact ID.
|
|
709
869
|
* @summary Get Redtail contact by id
|
|
710
870
|
*/
|
|
711
|
-
const
|
|
871
|
+
const redtailGetContact = (redtailGetContactBody) => {
|
|
712
872
|
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/get`, method: 'POST',
|
|
713
873
|
headers: { 'Content-Type': 'application/json', },
|
|
714
|
-
data:
|
|
874
|
+
data: redtailGetContactBody
|
|
715
875
|
});
|
|
716
876
|
};
|
|
717
877
|
/**
|
|
718
878
|
* Fetches Redtail contacts with optional pagination.
|
|
719
879
|
* @summary Get Redtail contacts
|
|
720
880
|
*/
|
|
721
|
-
const
|
|
881
|
+
const redtailGetContacts = (redtailGetContactsBody) => {
|
|
722
882
|
return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'POST',
|
|
723
883
|
headers: { 'Content-Type': 'application/json', },
|
|
724
|
-
data:
|
|
884
|
+
data: redtailGetContactsBody
|
|
725
885
|
});
|
|
726
886
|
};
|
|
727
887
|
/**
|
|
728
888
|
* Updates a Redtail contact by contact ID.
|
|
729
889
|
* @summary Update Redtail contact
|
|
730
890
|
*/
|
|
731
|
-
const
|
|
891
|
+
const redtailUpdateContact = (redtailUpdateContactBody) => {
|
|
732
892
|
return (0, http_client_1.customAxios)({ url: `/redtail/contacts`, method: 'PUT',
|
|
733
893
|
headers: { 'Content-Type': 'application/json', },
|
|
734
|
-
data:
|
|
894
|
+
data: redtailUpdateContactBody
|
|
735
895
|
});
|
|
736
896
|
};
|
|
737
897
|
/**
|
|
738
898
|
* Fetches the personal profile for a Redtail contact.
|
|
739
899
|
* @summary Get Redtail contact personal profile
|
|
740
900
|
*/
|
|
741
|
-
const
|
|
901
|
+
const redtailGetContactPersonalProfile = (redtailGetContactPersonalProfileBody) => {
|
|
742
902
|
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/personal_profile/get`, method: 'POST',
|
|
743
903
|
headers: { 'Content-Type': 'application/json', },
|
|
744
|
-
data:
|
|
904
|
+
data: redtailGetContactPersonalProfileBody
|
|
745
905
|
});
|
|
746
906
|
};
|
|
747
907
|
/**
|
|
748
908
|
* Fetches account records associated with a Redtail contact.
|
|
749
909
|
* @summary Get Redtail contact accounts
|
|
750
910
|
*/
|
|
751
|
-
const
|
|
911
|
+
const redtailGetContactAccounts = (redtailGetContactAccountsBody) => {
|
|
752
912
|
return (0, http_client_1.customAxios)({ url: `/redtail/contacts/accounts/get`, method: 'POST',
|
|
753
913
|
headers: { 'Content-Type': 'application/json', },
|
|
754
|
-
data:
|
|
914
|
+
data: redtailGetContactAccountsBody
|
|
755
915
|
});
|
|
756
916
|
};
|
|
757
917
|
/**
|
|
758
918
|
* Fetches owners associated with a Redtail account.
|
|
759
919
|
* @summary Get Redtail account owners
|
|
760
920
|
*/
|
|
761
|
-
const
|
|
921
|
+
const redtailGetAccountOwners = (redtailGetAccountOwnersBody) => {
|
|
762
922
|
return (0, http_client_1.customAxios)({ url: `/redtail/accounts/owners/get`, method: 'POST',
|
|
763
923
|
headers: { 'Content-Type': 'application/json', },
|
|
764
|
-
data:
|
|
924
|
+
data: redtailGetAccountOwnersBody
|
|
765
925
|
});
|
|
766
926
|
};
|
|
767
927
|
/**
|
|
768
928
|
* Fetches detailed information for a Redtail account.
|
|
769
929
|
* @summary Get Redtail account details
|
|
770
930
|
*/
|
|
771
|
-
const
|
|
931
|
+
const redtailGetAccountDetails = (redtailGetAccountDetailsBody) => {
|
|
772
932
|
return (0, http_client_1.customAxios)({ url: `/redtail/accounts/details/get`, method: 'POST',
|
|
773
933
|
headers: { 'Content-Type': 'application/json', },
|
|
774
|
-
data:
|
|
934
|
+
data: redtailGetAccountDetailsBody
|
|
775
935
|
});
|
|
776
936
|
};
|
|
777
937
|
/**
|
|
778
938
|
* Fetches Redtail activities for a date range.
|
|
779
939
|
* @summary Get Redtail activities
|
|
780
940
|
*/
|
|
781
|
-
const
|
|
941
|
+
const redtailGetActivities = (redtailGetActivitiesBody) => {
|
|
782
942
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities/list`, method: 'POST',
|
|
783
943
|
headers: { 'Content-Type': 'application/json', },
|
|
784
|
-
data:
|
|
944
|
+
data: redtailGetActivitiesBody
|
|
785
945
|
});
|
|
786
946
|
};
|
|
787
947
|
/**
|
|
788
948
|
* Fetches a Redtail activity by activity ID.
|
|
789
949
|
* @summary Get Redtail activity by id
|
|
790
950
|
*/
|
|
791
|
-
const
|
|
951
|
+
const redtailGetActivity = (redtailGetActivityBody) => {
|
|
792
952
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities/get`, method: 'POST',
|
|
793
953
|
headers: { 'Content-Type': 'application/json', },
|
|
794
|
-
data:
|
|
954
|
+
data: redtailGetActivityBody
|
|
795
955
|
});
|
|
796
956
|
};
|
|
797
957
|
/**
|
|
798
958
|
* Creates a Redtail activity.
|
|
799
959
|
* @summary Create Redtail activity
|
|
800
960
|
*/
|
|
801
|
-
const
|
|
961
|
+
const redtailCreateActivity = () => {
|
|
802
962
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'POST'
|
|
803
963
|
});
|
|
804
964
|
};
|
|
@@ -806,10 +966,10 @@ const getIntegrationsAPI = () => {
|
|
|
806
966
|
* Updates a Redtail activity by activity ID.
|
|
807
967
|
* @summary Update Redtail activity
|
|
808
968
|
*/
|
|
809
|
-
const
|
|
969
|
+
const redtailUpdateActivity = (redtailUpdateActivityBody) => {
|
|
810
970
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities`, method: 'PUT',
|
|
811
971
|
headers: { 'Content-Type': 'application/json', },
|
|
812
|
-
data:
|
|
972
|
+
data: redtailUpdateActivityBody
|
|
813
973
|
});
|
|
814
974
|
};
|
|
815
975
|
/**
|
|
@@ -826,70 +986,70 @@ const getIntegrationsAPI = () => {
|
|
|
826
986
|
* Creates a note for a Redtail activity.
|
|
827
987
|
* @summary Create Redtail activity note
|
|
828
988
|
*/
|
|
829
|
-
const
|
|
989
|
+
const redtailCreateActivityNote = (redtailCreateActivityNoteBody) => {
|
|
830
990
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'POST',
|
|
831
991
|
headers: { 'Content-Type': 'application/json', },
|
|
832
|
-
data:
|
|
992
|
+
data: redtailCreateActivityNoteBody
|
|
833
993
|
});
|
|
834
994
|
};
|
|
835
995
|
/**
|
|
836
996
|
* Deletes a Redtail activity note.
|
|
837
997
|
* @summary Delete Redtail activity note
|
|
838
998
|
*/
|
|
839
|
-
const
|
|
999
|
+
const redtailDeleteActivityNote = (redtailDeleteActivityNoteBody) => {
|
|
840
1000
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes`, method: 'DELETE',
|
|
841
1001
|
headers: { 'Content-Type': 'application/json', },
|
|
842
|
-
data:
|
|
1002
|
+
data: redtailDeleteActivityNoteBody
|
|
843
1003
|
});
|
|
844
1004
|
};
|
|
845
1005
|
/**
|
|
846
1006
|
* Fetches notes for a Redtail activity.
|
|
847
1007
|
* @summary Get Redtail activity notes
|
|
848
1008
|
*/
|
|
849
|
-
const
|
|
1009
|
+
const redtailGetActivityNotes = (redtailGetActivityNotesBody) => {
|
|
850
1010
|
return (0, http_client_1.customAxios)({ url: `/redtail/activities/notes/get`, method: 'POST',
|
|
851
1011
|
headers: { 'Content-Type': 'application/json', },
|
|
852
|
-
data:
|
|
1012
|
+
data: redtailGetActivityNotesBody
|
|
853
1013
|
});
|
|
854
1014
|
};
|
|
855
1015
|
/**
|
|
856
1016
|
* Fetches Redtail database users.
|
|
857
1017
|
* @summary Get Redtail database users
|
|
858
1018
|
*/
|
|
859
|
-
const
|
|
1019
|
+
const redtailGetDatabaseUsers = (redtailGetDatabaseUsersBody) => {
|
|
860
1020
|
return (0, http_client_1.customAxios)({ url: `/redtail/lists/database_users`, method: 'POST',
|
|
861
1021
|
headers: { 'Content-Type': 'application/json', },
|
|
862
|
-
data:
|
|
1022
|
+
data: redtailGetDatabaseUsersBody
|
|
863
1023
|
});
|
|
864
1024
|
};
|
|
865
1025
|
/**
|
|
866
1026
|
* Fetches Redtail categories.
|
|
867
1027
|
* @summary Get Redtail categories
|
|
868
1028
|
*/
|
|
869
|
-
const
|
|
1029
|
+
const redtailGetCategories = (redtailGetCategoriesBody) => {
|
|
870
1030
|
return (0, http_client_1.customAxios)({ url: `/redtail/lists/categories`, method: 'POST',
|
|
871
1031
|
headers: { 'Content-Type': 'application/json', },
|
|
872
|
-
data:
|
|
1032
|
+
data: redtailGetCategoriesBody
|
|
873
1033
|
});
|
|
874
1034
|
};
|
|
875
1035
|
/**
|
|
876
1036
|
* Fetches Redtail activity codes.
|
|
877
1037
|
* @summary Get Redtail activity codes
|
|
878
1038
|
*/
|
|
879
|
-
const
|
|
1039
|
+
const redtailGetActivityCodes = (redtailGetActivityCodesBody) => {
|
|
880
1040
|
return (0, http_client_1.customAxios)({ url: `/redtail/lists/activity_codes`, method: 'POST',
|
|
881
1041
|
headers: { 'Content-Type': 'application/json', },
|
|
882
|
-
data:
|
|
1042
|
+
data: redtailGetActivityCodesBody
|
|
883
1043
|
});
|
|
884
1044
|
};
|
|
885
1045
|
/**
|
|
886
1046
|
* Fetches Redtail notes.
|
|
887
1047
|
* @summary Get Redtail notes
|
|
888
1048
|
*/
|
|
889
|
-
const
|
|
1049
|
+
const redtailGetNotes = (redtailGetNotesBody) => {
|
|
890
1050
|
return (0, http_client_1.customAxios)({ url: `/redtail/notes`, method: 'POST',
|
|
891
1051
|
headers: { 'Content-Type': 'application/json', },
|
|
892
|
-
data:
|
|
1052
|
+
data: redtailGetNotesBody
|
|
893
1053
|
});
|
|
894
1054
|
};
|
|
895
1055
|
/**
|
|
@@ -1569,7 +1729,8 @@ const getIntegrationsAPI = () => {
|
|
|
1569
1729
|
});
|
|
1570
1730
|
};
|
|
1571
1731
|
/**
|
|
1572
|
-
*
|
|
1732
|
+
* Retrieve a specific contact using its unique identifier.
|
|
1733
|
+
* @summary Retrieve an existing contact
|
|
1573
1734
|
*/
|
|
1574
1735
|
const wealthboxGetContact = (wealthboxGetContactBody) => {
|
|
1575
1736
|
return (0, http_client_1.customAxios)({ url: `/wealthbox/contacts/get`, method: 'POST',
|
|
@@ -1892,6 +2053,15 @@ const getIntegrationsAPI = () => {
|
|
|
1892
2053
|
data: wealthboxRemoveHouseholdMemberBody
|
|
1893
2054
|
});
|
|
1894
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
|
+
};
|
|
1895
2065
|
/**
|
|
1896
2066
|
* @summary Get current user information
|
|
1897
2067
|
*/
|
|
@@ -1923,7 +2093,7 @@ const getIntegrationsAPI = () => {
|
|
|
1923
2093
|
* @summary Get all tags
|
|
1924
2094
|
*/
|
|
1925
2095
|
const wealthboxGetTags = (wealthboxGetTagsBody) => {
|
|
1926
|
-
return (0, http_client_1.customAxios)({ url: `/wealthbox/tags`, method: 'POST',
|
|
2096
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/categories/tags`, method: 'POST',
|
|
1927
2097
|
headers: { 'Content-Type': 'application/json', },
|
|
1928
2098
|
data: wealthboxGetTagsBody
|
|
1929
2099
|
});
|
|
@@ -1932,11 +2102,29 @@ const getIntegrationsAPI = () => {
|
|
|
1932
2102
|
* @summary Get all custom fields
|
|
1933
2103
|
*/
|
|
1934
2104
|
const wealthboxGetCustomFields = (wealthboxGetCustomFieldsBody) => {
|
|
1935
|
-
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',
|
|
1936
2106
|
headers: { 'Content-Type': 'application/json', },
|
|
1937
2107
|
data: wealthboxGetCustomFieldsBody
|
|
1938
2108
|
});
|
|
1939
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
|
+
};
|
|
1940
2128
|
/**
|
|
1941
2129
|
* @summary Get all contact roles
|
|
1942
2130
|
*/
|
|
@@ -1955,6 +2143,15 @@ const getIntegrationsAPI = () => {
|
|
|
1955
2143
|
data: wealthboxGetWorkflowTemplatesBody
|
|
1956
2144
|
});
|
|
1957
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
|
+
};
|
|
1958
2155
|
/**
|
|
1959
2156
|
* @summary Get all activity
|
|
1960
2157
|
*/
|
|
@@ -1964,7 +2161,7 @@ const getIntegrationsAPI = () => {
|
|
|
1964
2161
|
data: wealthboxGetActivityBody
|
|
1965
2162
|
});
|
|
1966
2163
|
};
|
|
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,
|
|
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, redtailGetFamilies, redtailGetContact, redtailGetContacts, redtailUpdateContact, redtailGetContactPersonalProfile, redtailGetContactAccounts, redtailGetAccountOwners, redtailGetAccountDetails, redtailGetActivities, redtailGetActivity, redtailCreateActivity, redtailUpdateActivity, redtailDeleteActivity, redtailCreateActivityNote, redtailDeleteActivityNote, redtailGetActivityNotes, redtailGetDatabaseUsers, redtailGetCategories, redtailGetActivityCodes, redtailGetNotes, 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 };
|
|
1968
2165
|
};
|
|
1969
2166
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
1970
2167
|
//# sourceMappingURL=generated-api.js.map
|