@uptiqai/integrations-sdk 1.3.0 → 1.5.0
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 +3684 -1740
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +1011 -242
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +223 -45
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +432 -86
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +195 -45
- package/dist/response-type-map.js.map +1 -1
- package/package.json +2 -2
- package/README.md +0 -69
package/dist/generated-api.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GoogleDriveGetFileBodyAlt = exports.GoogleDriveCreatePermissionBodyRole = exports.GoogleDriveCreatePermissionBodyType = exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = exports.GoogleGenerativeAIGenerateImageBodyAspectRatio = exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = exports.GoogleSheetsGetValuesBodyMajorDimension = exports.GoogleSheetsGetValuesBodyValueRenderOption = exports.GoogleSheetsUpdateValuesBodyValueInputOption = exports.GoogleSheetsAppendValuesBodyInsertDataOption = exports.GoogleSheetsAppendValuesBodyValueInputOption = exports.OpenaiGenerateTextBodyMessagesItemRole = exports.OpenaiCreateStreamBodyMessagesItemRole = exports.PlaidStartHostedLinkBodyHostedLinkDeliveryMethod = exports.RedtailUpdateContactBodyType = exports.RedtailCreateContactBodyType = 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.WealthboxUpdateContactBodyContactSource = exports.WealthboxUpdateContactBodyContactType = exports.WealthboxUpdateContactBodyEmailAddressesItemKind = exports.WealthboxUpdateContactBodyGender = exports.WealthboxUpdateContactBodyHouseholdTitle = exports.WealthboxUpdateContactBodyInvestmentObjective = exports.WealthboxUpdateContactBodyMaritalStatus = exports.WealthboxUpdateContactBodyPhoneNumbersItemKind = exports.WealthboxUpdateContactBodyRiskTolerance = exports.WealthboxUpdateContactBodyStatus = exports.WealthboxUpdateContactBodyStreetAddressesItemKind = exports.WealthboxUpdateContactBodyTimeHorizon = exports.WealthboxUpdateContactBodyType = exports.WealthboxUpdateContactBodyWebsitesItemKind = exports.WealthboxCreateTaskBodyPriority = exports.WealthboxUpdateTaskBodyPriority = exports.WealthboxCreateEventBodyState = exports.WealthboxUpdateEventBodyState = exports.WealthboxAddHouseholdMemberBodyTitle = void 0;
|
|
4
|
+
exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole = exports.AnthropicCreateStreamBodyMessagesItemRole = exports.GitlabListMergeRequestNotesBodyOrderBy = exports.GitlabListMergeRequestNotesBodySort = exports.GmailGetMessageBodyFormat = exports.GmailCreateLabelBodyLabelListVisibility = exports.GmailCreateLabelBodyMessageListVisibility = exports.GmailUpdateLabelBodyLabelListVisibility = exports.GmailUpdateLabelBodyMessageListVisibility = exports.GoogleDriveListFilesCorpora = void 0;
|
|
4
5
|
/**
|
|
5
6
|
* Generated by orval v7.1.0 🍺
|
|
6
7
|
* Do not edit manually.
|
|
@@ -10,11 +11,6 @@ exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole =
|
|
|
10
11
|
*/
|
|
11
12
|
const http_client_1 = require("./http-client");
|
|
12
13
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
13
|
-
exports.PlaidStartHostedLinkBodyHostedLinkDeliveryMethod = {
|
|
14
|
-
sms: 'sms',
|
|
15
|
-
email: 'email',
|
|
16
|
-
};
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
18
14
|
exports.WealthboxAddHouseholdMemberBodyTitle = {
|
|
19
15
|
Head: 'Head',
|
|
20
16
|
Spouse: 'Spouse',
|
|
@@ -55,26 +51,26 @@ exports.WealthboxCreateTaskBodyPriority = {
|
|
|
55
51
|
High: 'High',
|
|
56
52
|
};
|
|
57
53
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
58
|
-
exports.
|
|
54
|
+
exports.WealthboxUpdateContactBodyWebsitesItemKind = {
|
|
59
55
|
Website: 'Website',
|
|
60
56
|
Facebook: 'Facebook',
|
|
61
57
|
Blog: 'Blog',
|
|
62
58
|
};
|
|
63
59
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
64
|
-
exports.
|
|
60
|
+
exports.WealthboxUpdateContactBodyType = {
|
|
65
61
|
Person: 'Person',
|
|
66
62
|
Household: 'Household',
|
|
67
63
|
Organization: 'Organization',
|
|
68
64
|
Trust: 'Trust',
|
|
69
65
|
};
|
|
70
66
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
71
|
-
exports.
|
|
67
|
+
exports.WealthboxUpdateContactBodyTimeHorizon = {
|
|
72
68
|
Short_Term: 'Short Term',
|
|
73
69
|
Intermediate: 'Intermediate',
|
|
74
70
|
Long_Term: 'Long Term',
|
|
75
71
|
};
|
|
76
72
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
77
|
-
exports.
|
|
73
|
+
exports.WealthboxUpdateContactBodyStreetAddressesItemKind = {
|
|
78
74
|
Work: 'Work',
|
|
79
75
|
Home: 'Home',
|
|
80
76
|
Mobile: 'Mobile',
|
|
@@ -83,18 +79,18 @@ exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = {
|
|
|
83
79
|
Other: 'Other',
|
|
84
80
|
};
|
|
85
81
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
86
|
-
exports.
|
|
82
|
+
exports.WealthboxUpdateContactBodyStatus = {
|
|
87
83
|
Active: 'Active',
|
|
88
84
|
Inactive: 'Inactive',
|
|
89
85
|
};
|
|
90
86
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
91
|
-
exports.
|
|
87
|
+
exports.WealthboxUpdateContactBodyRiskTolerance = {
|
|
92
88
|
Low: 'Low',
|
|
93
89
|
Moderate: 'Moderate',
|
|
94
90
|
High_Risk: 'High Risk',
|
|
95
91
|
};
|
|
96
92
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
97
|
-
exports.
|
|
93
|
+
exports.WealthboxUpdateContactBodyPhoneNumbersItemKind = {
|
|
98
94
|
Work: 'Work',
|
|
99
95
|
Home: 'Home',
|
|
100
96
|
Mobile: 'Mobile',
|
|
@@ -103,7 +99,7 @@ exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = {
|
|
|
103
99
|
Other: 'Other',
|
|
104
100
|
};
|
|
105
101
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
106
|
-
exports.
|
|
102
|
+
exports.WealthboxUpdateContactBodyMaritalStatus = {
|
|
107
103
|
Married: 'Married',
|
|
108
104
|
Single: 'Single',
|
|
109
105
|
Divorced: 'Divorced',
|
|
@@ -113,14 +109,14 @@ exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
|
|
|
113
109
|
Unknown: 'Unknown',
|
|
114
110
|
};
|
|
115
111
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
116
|
-
exports.
|
|
112
|
+
exports.WealthboxUpdateContactBodyInvestmentObjective = {
|
|
117
113
|
Aggressive_Growth: 'Aggressive Growth',
|
|
118
114
|
Growth: 'Growth',
|
|
119
115
|
Income: 'Income',
|
|
120
116
|
Safety_of_Principal: 'Safety of Principal',
|
|
121
117
|
};
|
|
122
118
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
123
|
-
exports.
|
|
119
|
+
exports.WealthboxUpdateContactBodyHouseholdTitle = {
|
|
124
120
|
Head: 'Head',
|
|
125
121
|
Spouse: 'Spouse',
|
|
126
122
|
Partner: 'Partner',
|
|
@@ -132,14 +128,14 @@ exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = {
|
|
|
132
128
|
Other_Dependent: 'Other Dependent',
|
|
133
129
|
};
|
|
134
130
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
135
|
-
exports.
|
|
131
|
+
exports.WealthboxUpdateContactBodyGender = {
|
|
136
132
|
Female: 'Female',
|
|
137
133
|
Male: 'Male',
|
|
138
134
|
'Non-binary': 'Non-binary',
|
|
139
135
|
Unknown: 'Unknown',
|
|
140
136
|
};
|
|
141
137
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
142
|
-
exports.
|
|
138
|
+
exports.WealthboxUpdateContactBodyEmailAddressesItemKind = {
|
|
143
139
|
Work: 'Work',
|
|
144
140
|
Home: 'Home',
|
|
145
141
|
Mobile: 'Mobile',
|
|
@@ -148,7 +144,7 @@ exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = {
|
|
|
148
144
|
Other: 'Other',
|
|
149
145
|
};
|
|
150
146
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
151
|
-
exports.
|
|
147
|
+
exports.WealthboxUpdateContactBodyContactType = {
|
|
152
148
|
Client: 'Client',
|
|
153
149
|
Past_Client: 'Past Client',
|
|
154
150
|
Prospect: 'Prospect',
|
|
@@ -156,7 +152,7 @@ exports.WealthboxUpdateContactBodyAllOfContactType = {
|
|
|
156
152
|
Organization: 'Organization',
|
|
157
153
|
};
|
|
158
154
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
159
|
-
exports.
|
|
155
|
+
exports.WealthboxUpdateContactBodyContactSource = {
|
|
160
156
|
Referral: 'Referral',
|
|
161
157
|
Conference: 'Conference',
|
|
162
158
|
Direct_Mail: 'Direct Mail',
|
|
@@ -289,6 +285,11 @@ exports.RedtailUpdateContactBodyType = {
|
|
|
289
285
|
Union: 'Union',
|
|
290
286
|
};
|
|
291
287
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
288
|
+
exports.PlaidStartHostedLinkBodyHostedLinkDeliveryMethod = {
|
|
289
|
+
sms: 'sms',
|
|
290
|
+
email: 'email',
|
|
291
|
+
};
|
|
292
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
292
293
|
exports.OpenaiCreateStreamBodyMessagesItemRole = {
|
|
293
294
|
user: 'user',
|
|
294
295
|
assistant: 'assistant',
|
|
@@ -301,6 +302,32 @@ exports.OpenaiGenerateTextBodyMessagesItemRole = {
|
|
|
301
302
|
system: 'system',
|
|
302
303
|
};
|
|
303
304
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
305
|
+
exports.GoogleSheetsAppendValuesBodyValueInputOption = {
|
|
306
|
+
RAW: 'RAW',
|
|
307
|
+
USER_ENTERED: 'USER_ENTERED',
|
|
308
|
+
};
|
|
309
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
310
|
+
exports.GoogleSheetsAppendValuesBodyInsertDataOption = {
|
|
311
|
+
OVERWRITE: 'OVERWRITE',
|
|
312
|
+
INSERT_ROWS: 'INSERT_ROWS',
|
|
313
|
+
};
|
|
314
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
315
|
+
exports.GoogleSheetsUpdateValuesBodyValueInputOption = {
|
|
316
|
+
RAW: 'RAW',
|
|
317
|
+
USER_ENTERED: 'USER_ENTERED',
|
|
318
|
+
};
|
|
319
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
320
|
+
exports.GoogleSheetsGetValuesBodyValueRenderOption = {
|
|
321
|
+
FORMATTED_VALUE: 'FORMATTED_VALUE',
|
|
322
|
+
UNFORMATTED_VALUE: 'UNFORMATTED_VALUE',
|
|
323
|
+
FORMULA: 'FORMULA',
|
|
324
|
+
};
|
|
325
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
326
|
+
exports.GoogleSheetsGetValuesBodyMajorDimension = {
|
|
327
|
+
ROWS: 'ROWS',
|
|
328
|
+
COLUMNS: 'COLUMNS',
|
|
329
|
+
};
|
|
330
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
304
331
|
exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = {
|
|
305
332
|
'1:1': '1:1',
|
|
306
333
|
'2:3': '2:3',
|
|
@@ -339,12 +366,71 @@ exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = {
|
|
|
339
366
|
system: 'system',
|
|
340
367
|
};
|
|
341
368
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
342
|
-
exports.
|
|
343
|
-
|
|
369
|
+
exports.GoogleDriveCreatePermissionBodyType = {
|
|
370
|
+
user: 'user',
|
|
371
|
+
group: 'group',
|
|
372
|
+
domain: 'domain',
|
|
373
|
+
anyone: 'anyone',
|
|
374
|
+
};
|
|
375
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
376
|
+
exports.GoogleDriveCreatePermissionBodyRole = {
|
|
377
|
+
owner: 'owner',
|
|
378
|
+
organizer: 'organizer',
|
|
379
|
+
fileOrganizer: 'fileOrganizer',
|
|
380
|
+
writer: 'writer',
|
|
381
|
+
commenter: 'commenter',
|
|
382
|
+
reader: 'reader',
|
|
383
|
+
};
|
|
384
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
385
|
+
exports.GoogleDriveGetFileBodyAlt = {
|
|
386
|
+
json: 'json',
|
|
387
|
+
media: 'media',
|
|
388
|
+
};
|
|
389
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
390
|
+
exports.GoogleDriveListFilesCorpora = {
|
|
391
|
+
user: 'user',
|
|
392
|
+
domain: 'domain',
|
|
393
|
+
drive: 'drive',
|
|
394
|
+
allDrives: 'allDrives',
|
|
395
|
+
};
|
|
396
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
397
|
+
exports.GmailUpdateLabelBodyMessageListVisibility = {
|
|
398
|
+
show: 'show',
|
|
399
|
+
hide: 'hide',
|
|
400
|
+
};
|
|
401
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
402
|
+
exports.GmailUpdateLabelBodyLabelListVisibility = {
|
|
403
|
+
labelShow: 'labelShow',
|
|
404
|
+
labelShowIfUnread: 'labelShowIfUnread',
|
|
405
|
+
labelHide: 'labelHide',
|
|
344
406
|
};
|
|
345
407
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
346
|
-
exports.
|
|
347
|
-
|
|
408
|
+
exports.GmailCreateLabelBodyMessageListVisibility = {
|
|
409
|
+
show: 'show',
|
|
410
|
+
hide: 'hide',
|
|
411
|
+
};
|
|
412
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
413
|
+
exports.GmailCreateLabelBodyLabelListVisibility = {
|
|
414
|
+
labelShow: 'labelShow',
|
|
415
|
+
labelShowIfUnread: 'labelShowIfUnread',
|
|
416
|
+
labelHide: 'labelHide',
|
|
417
|
+
};
|
|
418
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
419
|
+
exports.GmailGetMessageBodyFormat = {
|
|
420
|
+
minimal: 'minimal',
|
|
421
|
+
full: 'full',
|
|
422
|
+
raw: 'raw',
|
|
423
|
+
metadata: 'metadata',
|
|
424
|
+
};
|
|
425
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
426
|
+
exports.GitlabListMergeRequestNotesBodySort = {
|
|
427
|
+
asc: 'asc',
|
|
428
|
+
desc: 'desc',
|
|
429
|
+
};
|
|
430
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
431
|
+
exports.GitlabListMergeRequestNotesBodyOrderBy = {
|
|
432
|
+
created_at: 'created_at',
|
|
433
|
+
updated_at: 'updated_at',
|
|
348
434
|
};
|
|
349
435
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
350
436
|
exports.AnthropicCreateStreamBodyMessagesItemRole = {
|
|
@@ -608,6 +694,116 @@ const getIntegrationsAPI = () => {
|
|
|
608
694
|
params
|
|
609
695
|
});
|
|
610
696
|
};
|
|
697
|
+
/**
|
|
698
|
+
* Stores clientId and clientSecret for PerUser GitLab configs without starting OAuth.
|
|
699
|
+
* @summary Set GitLab OAuth app credentials for a user
|
|
700
|
+
*/
|
|
701
|
+
const gitlabSetUserCredentials = (gitlabSetUserCredentialsBody) => {
|
|
702
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/auth/set-user-credentials`, method: 'POST',
|
|
703
|
+
headers: { 'Content-Type': 'application/json', },
|
|
704
|
+
data: gitlabSetUserCredentialsBody
|
|
705
|
+
});
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* Returns the authorization URL for the user to complete the OAuth flow.
|
|
709
|
+
* @summary Initiate GitLab OAuth flow
|
|
710
|
+
*/
|
|
711
|
+
const gitlabOauthInitiate = (gitlabOauthInitiateBody) => {
|
|
712
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/oauth/initiate`, method: 'POST',
|
|
713
|
+
headers: { 'Content-Type': 'application/json', },
|
|
714
|
+
data: gitlabOauthInitiateBody
|
|
715
|
+
});
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* Receives the OAuth callback from GitLab and stores user credentials.
|
|
719
|
+
* @summary Handle GitLab OAuth callback
|
|
720
|
+
*/
|
|
721
|
+
const gitlabOauthCallback = (params) => {
|
|
722
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/oauth/callback`, method: 'GET',
|
|
723
|
+
params
|
|
724
|
+
});
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* @summary Get the current user
|
|
728
|
+
*/
|
|
729
|
+
const gitlabGetCurrentUser = (gitlabGetCurrentUserBody) => {
|
|
730
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/user`, method: 'POST',
|
|
731
|
+
headers: { 'Content-Type': 'application/json', },
|
|
732
|
+
data: gitlabGetCurrentUserBody
|
|
733
|
+
});
|
|
734
|
+
};
|
|
735
|
+
/**
|
|
736
|
+
* @summary List projects
|
|
737
|
+
*/
|
|
738
|
+
const gitlabListProjects = (gitlabListProjectsBody) => {
|
|
739
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/projects/list`, method: 'POST',
|
|
740
|
+
headers: { 'Content-Type': 'application/json', },
|
|
741
|
+
data: gitlabListProjectsBody
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* @summary Retrieve a project
|
|
746
|
+
*/
|
|
747
|
+
const gitlabGetProject = (gitlabGetProjectBody) => {
|
|
748
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/projects/get`, method: 'POST',
|
|
749
|
+
headers: { 'Content-Type': 'application/json', },
|
|
750
|
+
data: gitlabGetProjectBody
|
|
751
|
+
});
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* @summary List merge requests
|
|
755
|
+
*/
|
|
756
|
+
const gitlabListMergeRequests = (gitlabListMergeRequestsBody) => {
|
|
757
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/list`, method: 'POST',
|
|
758
|
+
headers: { 'Content-Type': 'application/json', },
|
|
759
|
+
data: gitlabListMergeRequestsBody
|
|
760
|
+
});
|
|
761
|
+
};
|
|
762
|
+
/**
|
|
763
|
+
* @summary Retrieve a merge request
|
|
764
|
+
*/
|
|
765
|
+
const gitlabGetMergeRequest = (gitlabGetMergeRequestBody) => {
|
|
766
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/get`, method: 'POST',
|
|
767
|
+
headers: { 'Content-Type': 'application/json', },
|
|
768
|
+
data: gitlabGetMergeRequestBody
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* @summary Retrieve merge request diffs
|
|
773
|
+
*/
|
|
774
|
+
const gitlabGetMergeRequestDiffs = (gitlabGetMergeRequestDiffsBody) => {
|
|
775
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/diffs`, method: 'POST',
|
|
776
|
+
headers: { 'Content-Type': 'application/json', },
|
|
777
|
+
data: gitlabGetMergeRequestDiffsBody
|
|
778
|
+
});
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* @summary Merge a merge request
|
|
782
|
+
*/
|
|
783
|
+
const gitlabMergeMergeRequest = (gitlabMergeMergeRequestBody) => {
|
|
784
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/merge`, method: 'POST',
|
|
785
|
+
headers: { 'Content-Type': 'application/json', },
|
|
786
|
+
data: gitlabMergeMergeRequestBody
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* @summary List merge request notes
|
|
791
|
+
*/
|
|
792
|
+
const gitlabListMergeRequestNotes = (gitlabListMergeRequestNotesBody) => {
|
|
793
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/notes/list`, method: 'POST',
|
|
794
|
+
headers: { 'Content-Type': 'application/json', },
|
|
795
|
+
data: gitlabListMergeRequestNotesBody
|
|
796
|
+
});
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* @summary Add a note to a merge request
|
|
800
|
+
*/
|
|
801
|
+
const gitlabCreateMergeRequestNote = (gitlabCreateMergeRequestNoteBody) => {
|
|
802
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/notes`, method: 'POST',
|
|
803
|
+
headers: { 'Content-Type': 'application/json', },
|
|
804
|
+
data: gitlabCreateMergeRequestNoteBody
|
|
805
|
+
});
|
|
806
|
+
};
|
|
611
807
|
/**
|
|
612
808
|
* Starts a Gmail OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
613
809
|
* @summary Start Gmail OAuth flow
|
|
@@ -618,6 +814,16 @@ const getIntegrationsAPI = () => {
|
|
|
618
814
|
data: gmailAuthStartBody
|
|
619
815
|
});
|
|
620
816
|
};
|
|
817
|
+
/**
|
|
818
|
+
* Stores clientId and clientSecret for PerUser Gmail configs without starting OAuth.
|
|
819
|
+
* @summary Set Gmail OAuth app credentials for a user
|
|
820
|
+
*/
|
|
821
|
+
const gmailSetUserCredentials = (gmailSetUserCredentialsBody) => {
|
|
822
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/auth/set-user-credentials`, method: 'POST',
|
|
823
|
+
headers: { 'Content-Type': 'application/json', },
|
|
824
|
+
data: gmailSetUserCredentialsBody
|
|
825
|
+
});
|
|
826
|
+
};
|
|
621
827
|
/**
|
|
622
828
|
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
623
829
|
* @summary Handle Gmail OAuth callback
|
|
@@ -627,15 +833,85 @@ const getIntegrationsAPI = () => {
|
|
|
627
833
|
});
|
|
628
834
|
};
|
|
629
835
|
/**
|
|
630
|
-
*
|
|
836
|
+
* Sends an email from the connected Gmail account.
|
|
631
837
|
* @summary Send an email via Gmail
|
|
632
838
|
*/
|
|
633
839
|
const gmailSendEmail = (gmailSendEmailBody) => {
|
|
634
|
-
return (0, http_client_1.customAxios)({ url: `/gmail/send
|
|
840
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/messages/send`, method: 'POST',
|
|
635
841
|
headers: { 'Content-Type': 'application/json', },
|
|
636
842
|
data: gmailSendEmailBody
|
|
637
843
|
});
|
|
638
844
|
};
|
|
845
|
+
/**
|
|
846
|
+
* Lists Gmail message ids using optional Gmail search query syntax and labels.
|
|
847
|
+
* @summary Search or list Gmail messages
|
|
848
|
+
*/
|
|
849
|
+
const gmailListMessages = (gmailListMessagesBody) => {
|
|
850
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/messages/list`, method: 'POST',
|
|
851
|
+
headers: { 'Content-Type': 'application/json', },
|
|
852
|
+
data: gmailListMessagesBody
|
|
853
|
+
});
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* Reads a Gmail message by id.
|
|
857
|
+
* @summary Read a Gmail message
|
|
858
|
+
*/
|
|
859
|
+
const gmailGetMessage = (gmailGetMessageBody) => {
|
|
860
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/messages/get`, method: 'POST',
|
|
861
|
+
headers: { 'Content-Type': 'application/json', },
|
|
862
|
+
data: gmailGetMessageBody
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* Creates a draft message in the connected Gmail account.
|
|
867
|
+
* @summary Create a Gmail draft
|
|
868
|
+
*/
|
|
869
|
+
const gmailCreateDraft = (gmailCreateDraftBody) => {
|
|
870
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/drafts/create`, method: 'POST',
|
|
871
|
+
headers: { 'Content-Type': 'application/json', },
|
|
872
|
+
data: gmailCreateDraftBody
|
|
873
|
+
});
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Lists system and user labels from the connected Gmail account.
|
|
877
|
+
* @summary List Gmail labels
|
|
878
|
+
*/
|
|
879
|
+
const gmailListLabels = (gmailListLabelsBody) => {
|
|
880
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/labels/list`, method: 'POST',
|
|
881
|
+
headers: { 'Content-Type': 'application/json', },
|
|
882
|
+
data: gmailListLabelsBody
|
|
883
|
+
});
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* Creates a user label in the connected Gmail account.
|
|
887
|
+
* @summary Create a Gmail label
|
|
888
|
+
*/
|
|
889
|
+
const gmailCreateLabel = (gmailCreateLabelBody) => {
|
|
890
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/labels/create`, method: 'POST',
|
|
891
|
+
headers: { 'Content-Type': 'application/json', },
|
|
892
|
+
data: gmailCreateLabelBody
|
|
893
|
+
});
|
|
894
|
+
};
|
|
895
|
+
/**
|
|
896
|
+
* Updates a Gmail user label.
|
|
897
|
+
* @summary Update a Gmail label
|
|
898
|
+
*/
|
|
899
|
+
const gmailUpdateLabel = (gmailUpdateLabelBody) => {
|
|
900
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/labels/update`, method: 'POST',
|
|
901
|
+
headers: { 'Content-Type': 'application/json', },
|
|
902
|
+
data: gmailUpdateLabelBody
|
|
903
|
+
});
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* Deletes a Gmail user label.
|
|
907
|
+
* @summary Delete a Gmail label
|
|
908
|
+
*/
|
|
909
|
+
const gmailDeleteLabel = (gmailDeleteLabelBody) => {
|
|
910
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/labels/delete`, method: 'POST',
|
|
911
|
+
headers: { 'Content-Type': 'application/json', },
|
|
912
|
+
data: gmailDeleteLabelBody
|
|
913
|
+
});
|
|
914
|
+
};
|
|
639
915
|
/**
|
|
640
916
|
* @summary Store per-user Google Cloud Storage credentials
|
|
641
917
|
*/
|
|
@@ -751,6 +1027,178 @@ const getIntegrationsAPI = () => {
|
|
|
751
1027
|
params
|
|
752
1028
|
});
|
|
753
1029
|
};
|
|
1030
|
+
/**
|
|
1031
|
+
* Starts a Google Docs OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
1032
|
+
* @summary Start Google Docs OAuth flow
|
|
1033
|
+
*/
|
|
1034
|
+
const googleDocsAuthStart = (googleDocsAuthStartBody) => {
|
|
1035
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/auth/start`, method: 'POST',
|
|
1036
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1037
|
+
data: googleDocsAuthStartBody
|
|
1038
|
+
});
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* Stores clientId and clientSecret for PerUser Google Docs configs without starting OAuth.
|
|
1042
|
+
* @summary Set Google Docs OAuth app credentials for a user
|
|
1043
|
+
*/
|
|
1044
|
+
const googleDocsSetUserCredentials = (googleDocsSetUserCredentialsBody) => {
|
|
1045
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/auth/set-user-credentials`, method: 'POST',
|
|
1046
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1047
|
+
data: googleDocsSetUserCredentialsBody
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
1052
|
+
* @summary Handle Google Docs OAuth callback
|
|
1053
|
+
*/
|
|
1054
|
+
const googleDocsOauthCallback = () => {
|
|
1055
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/oauth/callback`, method: 'GET'
|
|
1056
|
+
});
|
|
1057
|
+
};
|
|
1058
|
+
/**
|
|
1059
|
+
* Creates a new Google Docs document with a title.
|
|
1060
|
+
* @summary Create a Google Docs document
|
|
1061
|
+
*/
|
|
1062
|
+
const googleDocsCreateDocument = (googleDocsCreateDocumentBody) => {
|
|
1063
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/documents/create`, method: 'POST',
|
|
1064
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1065
|
+
data: googleDocsCreateDocumentBody
|
|
1066
|
+
});
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* Reads the latest content and structure of a Google Docs document.
|
|
1070
|
+
* @summary Read a Google Docs document
|
|
1071
|
+
*/
|
|
1072
|
+
const googleDocsGetDocument = (googleDocsGetDocumentBody) => {
|
|
1073
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/documents/get`, method: 'POST',
|
|
1074
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1075
|
+
data: googleDocsGetDocumentBody
|
|
1076
|
+
});
|
|
1077
|
+
};
|
|
1078
|
+
/**
|
|
1079
|
+
* Applies one or more Google Docs API batchUpdate requests to a document.
|
|
1080
|
+
* @summary Edit a Google Docs document
|
|
1081
|
+
*/
|
|
1082
|
+
const googleDocsBatchUpdateDocument = (googleDocsBatchUpdateDocumentBody) => {
|
|
1083
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/documents/batch-update`, method: 'POST',
|
|
1084
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1085
|
+
data: googleDocsBatchUpdateDocumentBody
|
|
1086
|
+
});
|
|
1087
|
+
};
|
|
1088
|
+
/**
|
|
1089
|
+
* Returns a Google OAuth token for opening the Google Docs document picker.
|
|
1090
|
+
* @summary Select Google Docs documents
|
|
1091
|
+
*/
|
|
1092
|
+
const googleDocsSelectDocumentsLegacy = (googleDocsSelectDocumentsLegacyBody) => {
|
|
1093
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/documents/select`, method: 'POST',
|
|
1094
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1095
|
+
data: googleDocsSelectDocumentsLegacyBody
|
|
1096
|
+
});
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* Returns a Google OAuth token for opening the Google Docs document picker.
|
|
1100
|
+
* @summary Select Google Docs documents
|
|
1101
|
+
*/
|
|
1102
|
+
const googleDocsSelectDocuments = (googleDocsSelectDocumentsBody) => {
|
|
1103
|
+
return (0, http_client_1.customAxios)({ url: `/google-docs/select-documents`, method: 'POST',
|
|
1104
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1105
|
+
data: googleDocsSelectDocumentsBody
|
|
1106
|
+
});
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* @summary Start Google Drive OAuth flow
|
|
1110
|
+
*/
|
|
1111
|
+
const googleDriveAuthStart = (googleDriveAuthStartBody) => {
|
|
1112
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/auth/start`, method: 'POST',
|
|
1113
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1114
|
+
data: googleDriveAuthStartBody
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* Stores clientId and clientSecret for PerUser Google Drive configs without starting OAuth.
|
|
1119
|
+
* @summary Set Google Drive OAuth app credentials for a user
|
|
1120
|
+
*/
|
|
1121
|
+
const googleDriveSetUserCredentials = (googleDriveSetUserCredentialsBody) => {
|
|
1122
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/auth/set-user-credentials`, method: 'POST',
|
|
1123
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1124
|
+
data: googleDriveSetUserCredentialsBody
|
|
1125
|
+
});
|
|
1126
|
+
};
|
|
1127
|
+
/**
|
|
1128
|
+
* @summary Handle Google Drive OAuth callback
|
|
1129
|
+
*/
|
|
1130
|
+
const googleDriveOauthCallback = (params) => {
|
|
1131
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/oauth/callback`, method: 'GET',
|
|
1132
|
+
params
|
|
1133
|
+
});
|
|
1134
|
+
};
|
|
1135
|
+
const googleDriveCreateFile = (googleDriveCreateFileBody) => {
|
|
1136
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'POST',
|
|
1137
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1138
|
+
data: googleDriveCreateFileBody
|
|
1139
|
+
});
|
|
1140
|
+
};
|
|
1141
|
+
const googleDriveListFiles = (params) => {
|
|
1142
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'GET',
|
|
1143
|
+
params
|
|
1144
|
+
});
|
|
1145
|
+
};
|
|
1146
|
+
const googleDriveUpdateFile = (googleDriveUpdateFileBody) => {
|
|
1147
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'PATCH',
|
|
1148
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1149
|
+
data: googleDriveUpdateFileBody
|
|
1150
|
+
});
|
|
1151
|
+
};
|
|
1152
|
+
const googleDriveDeleteFile = (googleDriveDeleteFileBody) => {
|
|
1153
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'DELETE',
|
|
1154
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1155
|
+
data: googleDriveDeleteFileBody
|
|
1156
|
+
});
|
|
1157
|
+
};
|
|
1158
|
+
/**
|
|
1159
|
+
* Get Google Drive file metadata or content using fileId (or id) in the request body.
|
|
1160
|
+
* @summary Get a Google Drive file
|
|
1161
|
+
*/
|
|
1162
|
+
const googleDriveGetFile = (googleDriveGetFileBody) => {
|
|
1163
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files/get`, method: 'POST',
|
|
1164
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1165
|
+
data: googleDriveGetFileBody
|
|
1166
|
+
});
|
|
1167
|
+
};
|
|
1168
|
+
const googleDriveCopyFile = (googleDriveCopyFileBody) => {
|
|
1169
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files/copy`, method: 'POST',
|
|
1170
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1171
|
+
data: googleDriveCopyFileBody
|
|
1172
|
+
});
|
|
1173
|
+
};
|
|
1174
|
+
const googleDriveCreatePermission = (googleDriveCreatePermissionBody) => {
|
|
1175
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions`, method: 'POST',
|
|
1176
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1177
|
+
data: googleDriveCreatePermissionBody
|
|
1178
|
+
});
|
|
1179
|
+
};
|
|
1180
|
+
const googleDriveDeletePermission = (googleDriveDeletePermissionBody) => {
|
|
1181
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions`, method: 'DELETE',
|
|
1182
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1183
|
+
data: googleDriveDeletePermissionBody
|
|
1184
|
+
});
|
|
1185
|
+
};
|
|
1186
|
+
/**
|
|
1187
|
+
* List Google Drive file permissions using fileId (or id) in the request body.
|
|
1188
|
+
* @summary List Google Drive file permissions
|
|
1189
|
+
*/
|
|
1190
|
+
const googleDriveListPermissions = (googleDriveListPermissionsBody) => {
|
|
1191
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions/list`, method: 'POST',
|
|
1192
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1193
|
+
data: googleDriveListPermissionsBody
|
|
1194
|
+
});
|
|
1195
|
+
};
|
|
1196
|
+
const googleDriveSelectDocuments = (googleDriveSelectDocumentsBody) => {
|
|
1197
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/select-documents`, method: 'POST',
|
|
1198
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1199
|
+
data: googleDriveSelectDocumentsBody
|
|
1200
|
+
});
|
|
1201
|
+
};
|
|
754
1202
|
/**
|
|
755
1203
|
* Stores a generated app user Google Gemini API key for PerUser integration configs.
|
|
756
1204
|
* @summary Store per-user Google Generative AI credentials
|
|
@@ -776,85 +1224,571 @@ const getIntegrationsAPI = () => {
|
|
|
776
1224
|
const googleGenerativeAIGenerateImage = (googleGenerativeAIGenerateImageBody) => {
|
|
777
1225
|
return (0, http_client_1.customAxios)({ url: `/google-generative-ai/generate-image`, method: 'POST',
|
|
778
1226
|
headers: { 'Content-Type': 'application/json', },
|
|
779
|
-
data: googleGenerativeAIGenerateImageBody,
|
|
780
|
-
responseType: 'blob'
|
|
1227
|
+
data: googleGenerativeAIGenerateImageBody,
|
|
1228
|
+
responseType: 'blob'
|
|
1229
|
+
});
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
1233
|
+
* @summary Stream text generation with GoogleGenerativeAI
|
|
1234
|
+
*/
|
|
1235
|
+
const googleGenerativeAICreateStream = (googleGenerativeAICreateStreamBody) => {
|
|
1236
|
+
return (0, http_client_1.customAxios)({ url: `/google-generative-ai/create-stream`, method: 'POST',
|
|
1237
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1238
|
+
data: googleGenerativeAICreateStreamBody
|
|
1239
|
+
});
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* @summary Generate image with GoogleGenerativeAIImage
|
|
1243
|
+
*/
|
|
1244
|
+
const googleGenerativeAIImageGenerateImage = (googleGenerativeAIImageGenerateImageBody) => {
|
|
1245
|
+
return (0, http_client_1.customAxios)({ url: `/google-generative-ai-image/generate-image`, method: 'POST',
|
|
1246
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1247
|
+
data: googleGenerativeAIImageGenerateImageBody,
|
|
1248
|
+
responseType: 'blob'
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* Generate a Google OAuth authorization URL using the resolved integration config.
|
|
1253
|
+
* @summary Get Google OAuth authorization URL
|
|
1254
|
+
*/
|
|
1255
|
+
const googleOAuthGetAuthorizationUrl = (googleOAuthGetAuthorizationUrlBody) => {
|
|
1256
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/get-authorization-url`, method: 'POST',
|
|
1257
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1258
|
+
data: googleOAuthGetAuthorizationUrlBody
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Fetch the stored Google OAuth profile for an integration user.
|
|
1263
|
+
* @summary Get Google OAuth user profile
|
|
1264
|
+
*/
|
|
1265
|
+
const googleOAuthGetUserProfile = (googleOAuthGetUserProfileBody) => {
|
|
1266
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/get-user-profile`, method: 'POST',
|
|
1267
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1268
|
+
data: googleOAuthGetUserProfileBody
|
|
1269
|
+
});
|
|
1270
|
+
};
|
|
1271
|
+
/**
|
|
1272
|
+
* Public callback used by Google to complete browser-based Google login.
|
|
1273
|
+
* @summary Handle Google OAuth browser callback
|
|
1274
|
+
*/
|
|
1275
|
+
const googleOAuthOauthCallback = () => {
|
|
1276
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/oauth/callback`, method: 'GET'
|
|
1277
|
+
});
|
|
1278
|
+
};
|
|
1279
|
+
/**
|
|
1280
|
+
* Starts a Google Sheets OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
1281
|
+
* @summary Start Google Sheets OAuth flow
|
|
1282
|
+
*/
|
|
1283
|
+
const googleSheetsAuthStart = (googleSheetsAuthStartBody) => {
|
|
1284
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/auth/start`, method: 'POST',
|
|
1285
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1286
|
+
data: googleSheetsAuthStartBody
|
|
1287
|
+
});
|
|
1288
|
+
};
|
|
1289
|
+
/**
|
|
1290
|
+
* Stores clientId and clientSecret for PerUser Google Sheets configs without starting OAuth.
|
|
1291
|
+
* @summary Set Google Sheets OAuth app credentials for a user
|
|
1292
|
+
*/
|
|
1293
|
+
const googleSheetsSetUserCredentials = (googleSheetsSetUserCredentialsBody) => {
|
|
1294
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/auth/set-user-credentials`, method: 'POST',
|
|
1295
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1296
|
+
data: googleSheetsSetUserCredentialsBody
|
|
1297
|
+
});
|
|
1298
|
+
};
|
|
1299
|
+
/**
|
|
1300
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
1301
|
+
* @summary Handle Google Sheets OAuth callback
|
|
1302
|
+
*/
|
|
1303
|
+
const googleSheetsOauthCallback = () => {
|
|
1304
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/oauth/callback`, method: 'GET'
|
|
1305
|
+
});
|
|
1306
|
+
};
|
|
1307
|
+
/**
|
|
1308
|
+
* Creates a new spreadsheet with an optional title and initial tabs.
|
|
1309
|
+
* @summary Create a Google Sheets spreadsheet
|
|
1310
|
+
*/
|
|
1311
|
+
const googleSheetsCreateSpreadsheet = (googleSheetsCreateSpreadsheetBody) => {
|
|
1312
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/create`, method: 'POST',
|
|
1313
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1314
|
+
data: googleSheetsCreateSpreadsheetBody
|
|
1315
|
+
});
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
* Reads cell values from a specified range using A1 or R1C1 notation.
|
|
1319
|
+
* @summary Read values from a Google Sheets spreadsheet
|
|
1320
|
+
*/
|
|
1321
|
+
const googleSheetsGetValues = (googleSheetsGetValuesBody) => {
|
|
1322
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/get`, method: 'POST',
|
|
1323
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1324
|
+
data: googleSheetsGetValuesBody
|
|
1325
|
+
});
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* Writes or overwrites cell values in a specified range.
|
|
1329
|
+
* @summary Update values in a Google Sheets spreadsheet
|
|
1330
|
+
*/
|
|
1331
|
+
const googleSheetsUpdateValues = (googleSheetsUpdateValuesBody) => {
|
|
1332
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/update`, method: 'POST',
|
|
1333
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1334
|
+
data: googleSheetsUpdateValuesBody
|
|
1335
|
+
});
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* Appends rows of data after the last row of existing data in a spreadsheet.
|
|
1339
|
+
* @summary Append rows to a Google Sheets spreadsheet
|
|
1340
|
+
*/
|
|
1341
|
+
const googleSheetsAppendValues = (googleSheetsAppendValuesBody) => {
|
|
1342
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/append`, method: 'POST',
|
|
1343
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1344
|
+
data: googleSheetsAppendValuesBody
|
|
1345
|
+
});
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* Applies one or more batch update requests such as adding tabs, formatting cells, or merging cells.
|
|
1349
|
+
* @summary Apply structural changes to a Google Sheets spreadsheet
|
|
1350
|
+
*/
|
|
1351
|
+
const googleSheetsBatchUpdate = (googleSheetsBatchUpdateBody) => {
|
|
1352
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/batch-update`, method: 'POST',
|
|
1353
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1354
|
+
data: googleSheetsBatchUpdateBody
|
|
1355
|
+
});
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Returns a Google OAuth token for opening the Google Sheets spreadsheet picker.
|
|
1359
|
+
* @summary Select Google Sheets spreadsheets
|
|
1360
|
+
*/
|
|
1361
|
+
const googleSheetsSelectSpreadsheets = (googleSheetsSelectSpreadsheetsBody) => {
|
|
1362
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/select-spreadsheets`, method: 'POST',
|
|
1363
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1364
|
+
data: googleSheetsSelectSpreadsheetsBody
|
|
1365
|
+
});
|
|
1366
|
+
};
|
|
1367
|
+
/**
|
|
1368
|
+
* Starts a Google Slides OAuth connection and returns the authorization URL.
|
|
1369
|
+
* @summary Start Google Slides OAuth flow
|
|
1370
|
+
*/
|
|
1371
|
+
const googleSlidesAuthStart = (googleSlidesAuthStartBody) => {
|
|
1372
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/auth/start`, method: 'POST',
|
|
1373
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1374
|
+
data: googleSlidesAuthStartBody
|
|
1375
|
+
});
|
|
1376
|
+
};
|
|
1377
|
+
/**
|
|
1378
|
+
* Stores clientId and clientSecret for PerUser Google Slides configs without starting OAuth.
|
|
1379
|
+
* @summary Set Google Slides OAuth app credentials for a user
|
|
1380
|
+
*/
|
|
1381
|
+
const googleSlidesSetUserCredentials = (googleSlidesSetUserCredentialsBody) => {
|
|
1382
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/auth/set-user-credentials`, method: 'POST',
|
|
1383
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1384
|
+
data: googleSlidesSetUserCredentialsBody
|
|
1385
|
+
});
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
1389
|
+
* @summary Handle Google Slides OAuth callback
|
|
1390
|
+
*/
|
|
1391
|
+
const googleSlidesOauthCallback = () => {
|
|
1392
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/oauth/callback`, method: 'GET'
|
|
1393
|
+
});
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* Creates a new presentation in the connected Google account.
|
|
1397
|
+
* @summary Create a Google Slides presentation
|
|
1398
|
+
*/
|
|
1399
|
+
const googleSlidesCreatePresentation = (googleSlidesCreatePresentationBody) => {
|
|
1400
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/create`, method: 'POST',
|
|
1401
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1402
|
+
data: googleSlidesCreatePresentationBody
|
|
1403
|
+
});
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* Retrieves a presentation — slides, layouts and page elements — by id.
|
|
1407
|
+
* @summary Get a Google Slides presentation
|
|
1408
|
+
*/
|
|
1409
|
+
const googleSlidesGetPresentation = (googleSlidesGetPresentationBody) => {
|
|
1410
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/get`, method: 'POST',
|
|
1411
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1412
|
+
data: googleSlidesGetPresentationBody
|
|
1413
|
+
});
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* Applies a batch of edit requests (create slides, insert text, delete elements) to a presentation.
|
|
1417
|
+
* @summary Edit a Google Slides presentation
|
|
1418
|
+
*/
|
|
1419
|
+
const googleSlidesBatchUpdatePresentation = (googleSlidesBatchUpdatePresentationBody) => {
|
|
1420
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/batch-update`, method: 'POST',
|
|
1421
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1422
|
+
data: googleSlidesBatchUpdatePresentationBody
|
|
1423
|
+
});
|
|
1424
|
+
};
|
|
1425
|
+
/**
|
|
1426
|
+
* Returns the authorization URL for the user to complete the OAuth flow.
|
|
1427
|
+
* @summary Initiate Jira OAuth flow
|
|
1428
|
+
*/
|
|
1429
|
+
const jiraOauthInitiate = (jiraOauthInitiateBody) => {
|
|
1430
|
+
return (0, http_client_1.customAxios)({ url: `/jira/oauth/initiate`, method: 'POST',
|
|
1431
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1432
|
+
data: jiraOauthInitiateBody
|
|
1433
|
+
});
|
|
1434
|
+
};
|
|
1435
|
+
/**
|
|
1436
|
+
* Stores clientId and clientSecret for PerUser Jira configs without starting OAuth.
|
|
1437
|
+
* @summary Set Jira OAuth app credentials for a user
|
|
1438
|
+
*/
|
|
1439
|
+
const jiraSetUserCredentials = (jiraSetUserCredentialsBody) => {
|
|
1440
|
+
return (0, http_client_1.customAxios)({ url: `/jira/auth/set-user-credentials`, method: 'POST',
|
|
1441
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1442
|
+
data: jiraSetUserCredentialsBody
|
|
1443
|
+
});
|
|
1444
|
+
};
|
|
1445
|
+
/**
|
|
1446
|
+
* Receives the OAuth callback from Jira and stores user credentials.
|
|
1447
|
+
* @summary Handle Jira OAuth callback
|
|
1448
|
+
*/
|
|
1449
|
+
const jiraOauthCallback = (params) => {
|
|
1450
|
+
return (0, http_client_1.customAxios)({ url: `/jira/oauth/callback`, method: 'GET',
|
|
1451
|
+
params
|
|
1452
|
+
});
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* @summary Create an issue
|
|
1456
|
+
*/
|
|
1457
|
+
const jiraCreateIssue = (jiraCreateIssueBody) => {
|
|
1458
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues`, method: 'POST',
|
|
1459
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1460
|
+
data: jiraCreateIssueBody
|
|
1461
|
+
});
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
* @summary Search issues with JQL
|
|
1465
|
+
*/
|
|
1466
|
+
const jiraSearchIssues = (jiraSearchIssuesBody) => {
|
|
1467
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/search`, method: 'POST',
|
|
1468
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1469
|
+
data: jiraSearchIssuesBody
|
|
1470
|
+
});
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* @summary Retrieve an issue
|
|
1474
|
+
*/
|
|
1475
|
+
const jiraGetIssue = (jiraGetIssueBody) => {
|
|
1476
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/get`, method: 'POST',
|
|
1477
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1478
|
+
data: jiraGetIssueBody
|
|
1479
|
+
});
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
* @summary Update an issue
|
|
1483
|
+
*/
|
|
1484
|
+
const jiraUpdateIssue = (jiraUpdateIssueBody) => {
|
|
1485
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/update`, method: 'POST',
|
|
1486
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1487
|
+
data: jiraUpdateIssueBody
|
|
1488
|
+
});
|
|
1489
|
+
};
|
|
1490
|
+
/**
|
|
1491
|
+
* @summary Add a comment to an issue
|
|
1492
|
+
*/
|
|
1493
|
+
const jiraAddComment = (jiraAddCommentBody) => {
|
|
1494
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/comments`, method: 'POST',
|
|
1495
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1496
|
+
data: jiraAddCommentBody
|
|
1497
|
+
});
|
|
1498
|
+
};
|
|
1499
|
+
/**
|
|
1500
|
+
* @summary List projects
|
|
1501
|
+
*/
|
|
1502
|
+
const jiraListProjects = (jiraListProjectsBody) => {
|
|
1503
|
+
return (0, http_client_1.customAxios)({ url: `/jira/projects/list`, method: 'POST',
|
|
1504
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1505
|
+
data: jiraListProjectsBody
|
|
1506
|
+
});
|
|
1507
|
+
};
|
|
1508
|
+
/**
|
|
1509
|
+
* @summary List issue transitions
|
|
1510
|
+
*/
|
|
1511
|
+
const jiraListTransitions = (jiraListTransitionsBody) => {
|
|
1512
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/transitions/list`, method: 'POST',
|
|
1513
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1514
|
+
data: jiraListTransitionsBody
|
|
1515
|
+
});
|
|
1516
|
+
};
|
|
1517
|
+
/**
|
|
1518
|
+
* @summary Transition an issue
|
|
1519
|
+
*/
|
|
1520
|
+
const jiraTransitionIssue = (jiraTransitionIssueBody) => {
|
|
1521
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/transitions`, method: 'POST',
|
|
1522
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1523
|
+
data: jiraTransitionIssueBody
|
|
1524
|
+
});
|
|
1525
|
+
};
|
|
1526
|
+
/**
|
|
1527
|
+
* @summary List boards
|
|
1528
|
+
*/
|
|
1529
|
+
const jiraListBoards = (jiraListBoardsBody) => {
|
|
1530
|
+
return (0, http_client_1.customAxios)({ url: `/jira/boards/list`, method: 'POST',
|
|
1531
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1532
|
+
data: jiraListBoardsBody
|
|
1533
|
+
});
|
|
1534
|
+
};
|
|
1535
|
+
/**
|
|
1536
|
+
* @summary List sprints for a board
|
|
1537
|
+
*/
|
|
1538
|
+
const jiraListSprints = (jiraListSprintsBody) => {
|
|
1539
|
+
return (0, http_client_1.customAxios)({ url: `/jira/boards/sprints/list`, method: 'POST',
|
|
1540
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1541
|
+
data: jiraListSprintsBody
|
|
1542
|
+
});
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* @summary Create a sprint
|
|
1546
|
+
*/
|
|
1547
|
+
const jiraCreateSprint = (jiraCreateSprintBody) => {
|
|
1548
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints`, method: 'POST',
|
|
1549
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1550
|
+
data: jiraCreateSprintBody
|
|
1551
|
+
});
|
|
1552
|
+
};
|
|
1553
|
+
/**
|
|
1554
|
+
* @summary Update a sprint
|
|
1555
|
+
*/
|
|
1556
|
+
const jiraUpdateSprint = (jiraUpdateSprintBody) => {
|
|
1557
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints/update`, method: 'POST',
|
|
1558
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1559
|
+
data: jiraUpdateSprintBody
|
|
1560
|
+
});
|
|
1561
|
+
};
|
|
1562
|
+
/**
|
|
1563
|
+
* @summary Move issues to the backlog
|
|
1564
|
+
*/
|
|
1565
|
+
const jiraMoveIssuesToBacklog = (jiraMoveIssuesToBacklogBody) => {
|
|
1566
|
+
return (0, http_client_1.customAxios)({ url: `/jira/backlog/issues`, method: 'POST',
|
|
1567
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1568
|
+
data: jiraMoveIssuesToBacklogBody
|
|
1569
|
+
});
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* @summary Move issues to a sprint
|
|
1573
|
+
*/
|
|
1574
|
+
const jiraMoveIssuesToSprint = (jiraMoveIssuesToSprintBody) => {
|
|
1575
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints/issues`, method: 'POST',
|
|
1576
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1577
|
+
data: jiraMoveIssuesToSprintBody
|
|
1578
|
+
});
|
|
1579
|
+
};
|
|
1580
|
+
/**
|
|
1581
|
+
* Stores a generated app user OpenAI API key for PerUser integration configs.
|
|
1582
|
+
* @summary Store per-user OpenAI credentials
|
|
1583
|
+
*/
|
|
1584
|
+
const openaiSetUserCredentials = (openaiSetUserCredentialsBody) => {
|
|
1585
|
+
return (0, http_client_1.customAxios)({ url: `/openai/set-user-credentials`, method: 'POST',
|
|
1586
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1587
|
+
data: openaiSetUserCredentialsBody
|
|
1588
|
+
});
|
|
1589
|
+
};
|
|
1590
|
+
/**
|
|
1591
|
+
* @summary Generate text with OpenAI
|
|
1592
|
+
*/
|
|
1593
|
+
const openaiGenerateText = (openaiGenerateTextBody) => {
|
|
1594
|
+
return (0, http_client_1.customAxios)({ url: `/openai/generate-text`, method: 'POST',
|
|
1595
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1596
|
+
data: openaiGenerateTextBody
|
|
1597
|
+
});
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
1601
|
+
* @summary Stream text generation with OpenAI
|
|
1602
|
+
*/
|
|
1603
|
+
const openaiCreateStream = (openaiCreateStreamBody) => {
|
|
1604
|
+
return (0, http_client_1.customAxios)({ url: `/openai/create-stream`, method: 'POST',
|
|
1605
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1606
|
+
data: openaiCreateStreamBody
|
|
1607
|
+
});
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* Creates a Plaid link_token with hosted_link and returns hosted_link_url. Shared configs use the integration config only. PerUser configs merge the integration user credentials and require userId.
|
|
1611
|
+
* @summary Start Plaid Hosted Link
|
|
1612
|
+
*/
|
|
1613
|
+
const plaidStartHostedLink = (plaidStartHostedLinkBody) => {
|
|
1614
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/hosted-link/start`, method: 'POST',
|
|
1615
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1616
|
+
data: plaidStartHostedLinkBody
|
|
1617
|
+
});
|
|
1618
|
+
};
|
|
1619
|
+
/**
|
|
1620
|
+
* Stores Plaid client ID and client secret for a user.
|
|
1621
|
+
* @summary Set Plaid user credentials
|
|
1622
|
+
*/
|
|
1623
|
+
const plaidSetUserCredentials = (plaidSetUserCredentialsBody) => {
|
|
1624
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/auth/set-user-credentials`, method: 'POST',
|
|
1625
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1626
|
+
data: plaidSetUserCredentialsBody
|
|
1627
|
+
});
|
|
1628
|
+
};
|
|
1629
|
+
/**
|
|
1630
|
+
* Completes Hosted Link: exchanges public_token and stores Plaid access_token on the integration user.
|
|
1631
|
+
* @summary Plaid Hosted Link browser callback
|
|
1632
|
+
*/
|
|
1633
|
+
const plaidHostedLinkCallback = (params) => {
|
|
1634
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/oauth/callback`, method: 'GET',
|
|
1635
|
+
params
|
|
1636
|
+
});
|
|
1637
|
+
};
|
|
1638
|
+
/**
|
|
1639
|
+
* @summary Get accounts for the linked Item
|
|
1640
|
+
*/
|
|
1641
|
+
const plaidGetAccounts = (plaidGetAccountsBody) => {
|
|
1642
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/get`, method: 'POST',
|
|
1643
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1644
|
+
data: plaidGetAccountsBody
|
|
1645
|
+
});
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* @summary Get real-time account balances
|
|
1649
|
+
*/
|
|
1650
|
+
const plaidGetAccountsBalance = (plaidGetAccountsBalanceBody) => {
|
|
1651
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/balance/get`, method: 'POST',
|
|
1652
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1653
|
+
data: plaidGetAccountsBalanceBody
|
|
1654
|
+
});
|
|
1655
|
+
};
|
|
1656
|
+
/**
|
|
1657
|
+
* @summary Get Auth (ACH) numbers
|
|
1658
|
+
*/
|
|
1659
|
+
const plaidGetAuth = (plaidGetAuthBody) => {
|
|
1660
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/auth/get`, method: 'POST',
|
|
1661
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1662
|
+
data: plaidGetAuthBody
|
|
1663
|
+
});
|
|
1664
|
+
};
|
|
1665
|
+
/**
|
|
1666
|
+
* @summary Sync transactions (cursor-based)
|
|
1667
|
+
*/
|
|
1668
|
+
const plaidTransactionsSync = (plaidTransactionsSyncBody) => {
|
|
1669
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/sync`, method: 'POST',
|
|
1670
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1671
|
+
data: plaidTransactionsSyncBody
|
|
1672
|
+
});
|
|
1673
|
+
};
|
|
1674
|
+
/**
|
|
1675
|
+
* @summary Get recurring transactions
|
|
1676
|
+
*/
|
|
1677
|
+
const plaidGetRecurringTransactions = (plaidGetRecurringTransactionsBody) => {
|
|
1678
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/recurring/get`, method: 'POST',
|
|
1679
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1680
|
+
data: plaidGetRecurringTransactionsBody
|
|
1681
|
+
});
|
|
1682
|
+
};
|
|
1683
|
+
/**
|
|
1684
|
+
* @summary Get transactions (legacy date range)
|
|
1685
|
+
*/
|
|
1686
|
+
const plaidGetTransactions = (plaidGetTransactionsBody) => {
|
|
1687
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/get`, method: 'POST',
|
|
1688
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1689
|
+
data: plaidGetTransactionsBody
|
|
1690
|
+
});
|
|
1691
|
+
};
|
|
1692
|
+
/**
|
|
1693
|
+
* @summary Get Identity
|
|
1694
|
+
*/
|
|
1695
|
+
const plaidGetIdentity = (plaidGetIdentityBody) => {
|
|
1696
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/identity/get`, method: 'POST',
|
|
1697
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1698
|
+
data: plaidGetIdentityBody
|
|
1699
|
+
});
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* @summary Get Item metadata for the user’s linked Item
|
|
1703
|
+
*/
|
|
1704
|
+
const plaidGetItem = (plaidGetItemBody) => {
|
|
1705
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/item/get`, method: 'POST',
|
|
1706
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1707
|
+
data: plaidGetItemBody
|
|
1708
|
+
});
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* @summary Remove Item at Plaid and drop stored tokens
|
|
1712
|
+
*/
|
|
1713
|
+
const plaidRemoveItem = (plaidRemoveItemBody) => {
|
|
1714
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/item/remove`, method: 'POST',
|
|
1715
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1716
|
+
data: plaidRemoveItemBody
|
|
781
1717
|
});
|
|
782
1718
|
};
|
|
783
1719
|
/**
|
|
784
|
-
*
|
|
785
|
-
* @summary
|
|
1720
|
+
* PerUser integration configs require `userId` in the body so Plaid developer credentials resolve from the user row.
|
|
1721
|
+
* @summary Get institution by ID
|
|
786
1722
|
*/
|
|
787
|
-
const
|
|
788
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1723
|
+
const plaidGetInstitutionById = (plaidGetInstitutionByIdBody) => {
|
|
1724
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/institutions/get-by-id`, method: 'POST',
|
|
789
1725
|
headers: { 'Content-Type': 'application/json', },
|
|
790
|
-
data:
|
|
1726
|
+
data: plaidGetInstitutionByIdBody
|
|
791
1727
|
});
|
|
792
1728
|
};
|
|
793
1729
|
/**
|
|
794
|
-
* @summary
|
|
1730
|
+
* @summary Get investment holdings
|
|
795
1731
|
*/
|
|
796
|
-
const
|
|
797
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1732
|
+
const plaidGetInvestmentHoldings = (plaidGetInvestmentHoldingsBody) => {
|
|
1733
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/investments/holdings/get`, method: 'POST',
|
|
798
1734
|
headers: { 'Content-Type': 'application/json', },
|
|
799
|
-
data:
|
|
800
|
-
responseType: 'blob'
|
|
1735
|
+
data: plaidGetInvestmentHoldingsBody
|
|
801
1736
|
});
|
|
802
1737
|
};
|
|
803
1738
|
/**
|
|
804
|
-
*
|
|
805
|
-
* @summary Get Google OAuth authorization URL
|
|
1739
|
+
* @summary Get investment transactions
|
|
806
1740
|
*/
|
|
807
|
-
const
|
|
808
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1741
|
+
const plaidGetInvestmentTransactions = (plaidGetInvestmentTransactionsBody) => {
|
|
1742
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/investments/transactions/get`, method: 'POST',
|
|
809
1743
|
headers: { 'Content-Type': 'application/json', },
|
|
810
|
-
data:
|
|
1744
|
+
data: plaidGetInvestmentTransactionsBody
|
|
811
1745
|
});
|
|
812
1746
|
};
|
|
813
1747
|
/**
|
|
814
|
-
*
|
|
815
|
-
* @summary Get Google OAuth user profile
|
|
1748
|
+
* @summary Get liabilities
|
|
816
1749
|
*/
|
|
817
|
-
const
|
|
818
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1750
|
+
const plaidGetLiabilities = (plaidGetLiabilitiesBody) => {
|
|
1751
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/liabilities/get`, method: 'POST',
|
|
819
1752
|
headers: { 'Content-Type': 'application/json', },
|
|
820
|
-
data:
|
|
1753
|
+
data: plaidGetLiabilitiesBody
|
|
821
1754
|
});
|
|
822
1755
|
};
|
|
823
1756
|
/**
|
|
824
|
-
*
|
|
825
|
-
* @summary
|
|
1757
|
+
* POST /asset_report/create using the stored Plaid Item access token for `userId`. The Item must include the assets product at link time.
|
|
1758
|
+
* @summary Create Asset Report
|
|
826
1759
|
*/
|
|
827
|
-
const
|
|
828
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1760
|
+
const plaidCreateAssetReport = (plaidCreateAssetReportBody) => {
|
|
1761
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/create`, method: 'POST',
|
|
1762
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1763
|
+
data: plaidCreateAssetReportBody
|
|
829
1764
|
});
|
|
830
1765
|
};
|
|
831
1766
|
/**
|
|
832
|
-
*
|
|
833
|
-
* @summary Store per-user OpenAI credentials
|
|
1767
|
+
* @summary Get Asset Report
|
|
834
1768
|
*/
|
|
835
|
-
const
|
|
836
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1769
|
+
const plaidGetAssetReport = (plaidGetAssetReportBody) => {
|
|
1770
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/get`, method: 'POST',
|
|
837
1771
|
headers: { 'Content-Type': 'application/json', },
|
|
838
|
-
data:
|
|
1772
|
+
data: plaidGetAssetReportBody
|
|
839
1773
|
});
|
|
840
1774
|
};
|
|
841
1775
|
/**
|
|
842
|
-
* @summary
|
|
1776
|
+
* @summary Refresh Asset Report
|
|
843
1777
|
*/
|
|
844
|
-
const
|
|
845
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1778
|
+
const plaidRefreshAssetReport = (plaidRefreshAssetReportBody) => {
|
|
1779
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/refresh`, method: 'POST',
|
|
846
1780
|
headers: { 'Content-Type': 'application/json', },
|
|
847
|
-
data:
|
|
1781
|
+
data: plaidRefreshAssetReportBody
|
|
848
1782
|
});
|
|
849
1783
|
};
|
|
850
1784
|
/**
|
|
851
|
-
*
|
|
852
|
-
* @summary
|
|
1785
|
+
* Calls Plaid /asset_report/pdf/get and returns PDF as base64 JSON (report must be ready, e.g. after PRODUCT_READY webhook).
|
|
1786
|
+
* @summary Get Asset Report PDF
|
|
853
1787
|
*/
|
|
854
|
-
const
|
|
855
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1788
|
+
const plaidGetAssetReportPdf = (plaidGetAssetReportPdfBody) => {
|
|
1789
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/pdf/get`, method: 'POST',
|
|
856
1790
|
headers: { 'Content-Type': 'application/json', },
|
|
857
|
-
data:
|
|
1791
|
+
data: plaidGetAssetReportPdfBody
|
|
858
1792
|
});
|
|
859
1793
|
};
|
|
860
1794
|
/**
|
|
@@ -1733,6 +2667,16 @@ const getIntegrationsAPI = () => {
|
|
|
1733
2667
|
data: wealthboxOauthInitiateBody
|
|
1734
2668
|
});
|
|
1735
2669
|
};
|
|
2670
|
+
/**
|
|
2671
|
+
* Stores clientId and clientSecret for PerUser Wealthbox configs without starting OAuth.
|
|
2672
|
+
* @summary Set Wealthbox OAuth app credentials for a user
|
|
2673
|
+
*/
|
|
2674
|
+
const wealthboxSetUserCredentials = (wealthboxSetUserCredentialsBody) => {
|
|
2675
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/auth/set-user-credentials`, method: 'POST',
|
|
2676
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2677
|
+
data: wealthboxSetUserCredentialsBody
|
|
2678
|
+
});
|
|
2679
|
+
};
|
|
1736
2680
|
/**
|
|
1737
2681
|
* Receives OAuth callback from Wealthbox and stores user credentials.
|
|
1738
2682
|
* @summary Handle Wealthbox OAuth callback
|
|
@@ -2184,182 +3128,7 @@ const getIntegrationsAPI = () => {
|
|
|
2184
3128
|
data: wealthboxGetActivityBody
|
|
2185
3129
|
});
|
|
2186
3130
|
};
|
|
2187
|
-
|
|
2188
|
-
* Creates a Plaid link_token with hosted_link and returns hosted_link_url. Shared configs use the integration config only (do not send clientId/clientSecret in the body). PerUser merges the integration user row and requires userId; you may optionally send clientId and clientSecret together on this request to persist them on the integration user before Link (there is no separate Plaid set-user-credentials route).
|
|
2189
|
-
* @summary Start Plaid Hosted Link
|
|
2190
|
-
*/
|
|
2191
|
-
const plaidStartHostedLink = (plaidStartHostedLinkBody) => {
|
|
2192
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/hosted-link/start`, method: 'POST',
|
|
2193
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2194
|
-
data: plaidStartHostedLinkBody
|
|
2195
|
-
});
|
|
2196
|
-
};
|
|
2197
|
-
/**
|
|
2198
|
-
* Completes Hosted Link: exchanges public_token and stores Plaid access_token on the integration user.
|
|
2199
|
-
* @summary Plaid Hosted Link browser callback
|
|
2200
|
-
*/
|
|
2201
|
-
const plaidHostedLinkCallback = (params) => {
|
|
2202
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/oauth/callback`, method: 'GET',
|
|
2203
|
-
params
|
|
2204
|
-
});
|
|
2205
|
-
};
|
|
2206
|
-
/**
|
|
2207
|
-
* @summary Get accounts for the linked Item
|
|
2208
|
-
*/
|
|
2209
|
-
const plaidGetAccounts = (plaidGetAccountsBody) => {
|
|
2210
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/get`, method: 'POST',
|
|
2211
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2212
|
-
data: plaidGetAccountsBody
|
|
2213
|
-
});
|
|
2214
|
-
};
|
|
2215
|
-
/**
|
|
2216
|
-
* @summary Get real-time account balances
|
|
2217
|
-
*/
|
|
2218
|
-
const plaidGetAccountsBalance = (plaidGetAccountsBalanceBody) => {
|
|
2219
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/balance/get`, method: 'POST',
|
|
2220
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2221
|
-
data: plaidGetAccountsBalanceBody
|
|
2222
|
-
});
|
|
2223
|
-
};
|
|
2224
|
-
/**
|
|
2225
|
-
* @summary Get Auth (ACH) numbers
|
|
2226
|
-
*/
|
|
2227
|
-
const plaidGetAuth = (plaidGetAuthBody) => {
|
|
2228
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/auth/get`, method: 'POST',
|
|
2229
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2230
|
-
data: plaidGetAuthBody
|
|
2231
|
-
});
|
|
2232
|
-
};
|
|
2233
|
-
/**
|
|
2234
|
-
* @summary Sync transactions (cursor-based)
|
|
2235
|
-
*/
|
|
2236
|
-
const plaidTransactionsSync = (plaidTransactionsSyncBody) => {
|
|
2237
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/sync`, method: 'POST',
|
|
2238
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2239
|
-
data: plaidTransactionsSyncBody
|
|
2240
|
-
});
|
|
2241
|
-
};
|
|
2242
|
-
/**
|
|
2243
|
-
* @summary Get recurring transactions
|
|
2244
|
-
*/
|
|
2245
|
-
const plaidGetRecurringTransactions = (plaidGetRecurringTransactionsBody) => {
|
|
2246
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/recurring/get`, method: 'POST',
|
|
2247
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2248
|
-
data: plaidGetRecurringTransactionsBody
|
|
2249
|
-
});
|
|
2250
|
-
};
|
|
2251
|
-
/**
|
|
2252
|
-
* @summary Get transactions (legacy date range)
|
|
2253
|
-
*/
|
|
2254
|
-
const plaidGetTransactions = (plaidGetTransactionsBody) => {
|
|
2255
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/get`, method: 'POST',
|
|
2256
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2257
|
-
data: plaidGetTransactionsBody
|
|
2258
|
-
});
|
|
2259
|
-
};
|
|
2260
|
-
/**
|
|
2261
|
-
* @summary Get Identity
|
|
2262
|
-
*/
|
|
2263
|
-
const plaidGetIdentity = (plaidGetIdentityBody) => {
|
|
2264
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/identity/get`, method: 'POST',
|
|
2265
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2266
|
-
data: plaidGetIdentityBody
|
|
2267
|
-
});
|
|
2268
|
-
};
|
|
2269
|
-
/**
|
|
2270
|
-
* @summary Get Item metadata for the user’s linked Item
|
|
2271
|
-
*/
|
|
2272
|
-
const plaidGetItem = (plaidGetItemBody) => {
|
|
2273
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/item/get`, method: 'POST',
|
|
2274
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2275
|
-
data: plaidGetItemBody
|
|
2276
|
-
});
|
|
2277
|
-
};
|
|
2278
|
-
/**
|
|
2279
|
-
* @summary Remove Item at Plaid and drop stored tokens
|
|
2280
|
-
*/
|
|
2281
|
-
const plaidRemoveItem = (plaidRemoveItemBody) => {
|
|
2282
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/item/remove`, method: 'POST',
|
|
2283
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2284
|
-
data: plaidRemoveItemBody
|
|
2285
|
-
});
|
|
2286
|
-
};
|
|
2287
|
-
/**
|
|
2288
|
-
* PerUser integration configs require `userId` in the body so Plaid developer credentials resolve from the user row.
|
|
2289
|
-
* @summary Get institution by ID
|
|
2290
|
-
*/
|
|
2291
|
-
const plaidGetInstitutionById = (plaidGetInstitutionByIdBody) => {
|
|
2292
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/institutions/get-by-id`, method: 'POST',
|
|
2293
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2294
|
-
data: plaidGetInstitutionByIdBody
|
|
2295
|
-
});
|
|
2296
|
-
};
|
|
2297
|
-
/**
|
|
2298
|
-
* @summary Get investment holdings
|
|
2299
|
-
*/
|
|
2300
|
-
const plaidGetInvestmentHoldings = (plaidGetInvestmentHoldingsBody) => {
|
|
2301
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/investments/holdings/get`, method: 'POST',
|
|
2302
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2303
|
-
data: plaidGetInvestmentHoldingsBody
|
|
2304
|
-
});
|
|
2305
|
-
};
|
|
2306
|
-
/**
|
|
2307
|
-
* @summary Get investment transactions
|
|
2308
|
-
*/
|
|
2309
|
-
const plaidGetInvestmentTransactions = (plaidGetInvestmentTransactionsBody) => {
|
|
2310
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/investments/transactions/get`, method: 'POST',
|
|
2311
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2312
|
-
data: plaidGetInvestmentTransactionsBody
|
|
2313
|
-
});
|
|
2314
|
-
};
|
|
2315
|
-
/**
|
|
2316
|
-
* @summary Get liabilities
|
|
2317
|
-
*/
|
|
2318
|
-
const plaidGetLiabilities = (plaidGetLiabilitiesBody) => {
|
|
2319
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/liabilities/get`, method: 'POST',
|
|
2320
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2321
|
-
data: plaidGetLiabilitiesBody
|
|
2322
|
-
});
|
|
2323
|
-
};
|
|
2324
|
-
/**
|
|
2325
|
-
* POST /asset_report/create using the stored Plaid Item access token for `userId`. The Item must include the assets product at link time.
|
|
2326
|
-
* @summary Create Asset Report
|
|
2327
|
-
*/
|
|
2328
|
-
const plaidCreateAssetReport = (plaidCreateAssetReportBody) => {
|
|
2329
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/create`, method: 'POST',
|
|
2330
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2331
|
-
data: plaidCreateAssetReportBody
|
|
2332
|
-
});
|
|
2333
|
-
};
|
|
2334
|
-
/**
|
|
2335
|
-
* @summary Get Asset Report
|
|
2336
|
-
*/
|
|
2337
|
-
const plaidGetAssetReport = (plaidGetAssetReportBody) => {
|
|
2338
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/get`, method: 'POST',
|
|
2339
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2340
|
-
data: plaidGetAssetReportBody
|
|
2341
|
-
});
|
|
2342
|
-
};
|
|
2343
|
-
/**
|
|
2344
|
-
* @summary Refresh Asset Report
|
|
2345
|
-
*/
|
|
2346
|
-
const plaidRefreshAssetReport = (plaidRefreshAssetReportBody) => {
|
|
2347
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/refresh`, method: 'POST',
|
|
2348
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2349
|
-
data: plaidRefreshAssetReportBody
|
|
2350
|
-
});
|
|
2351
|
-
};
|
|
2352
|
-
/**
|
|
2353
|
-
* Calls Plaid /asset_report/pdf/get and returns PDF as base64 JSON (report must be ready, e.g. after PRODUCT_READY webhook).
|
|
2354
|
-
* @summary Get Asset Report PDF
|
|
2355
|
-
*/
|
|
2356
|
-
const plaidGetAssetReportPdf = (plaidGetAssetReportPdfBody) => {
|
|
2357
|
-
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/pdf/get`, method: 'POST',
|
|
2358
|
-
headers: { 'Content-Type': 'application/json', },
|
|
2359
|
-
data: plaidGetAssetReportPdfBody
|
|
2360
|
-
});
|
|
2361
|
-
};
|
|
2362
|
-
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, plaidStartHostedLink, plaidHostedLinkCallback, plaidGetAccounts, plaidGetAccountsBalance, plaidGetAuth, plaidTransactionsSync, plaidGetRecurringTransactions, plaidGetTransactions, plaidGetIdentity, plaidGetItem, plaidRemoveItem, plaidGetInstitutionById, plaidGetInvestmentHoldings, plaidGetInvestmentTransactions, plaidGetLiabilities, plaidCreateAssetReport, plaidGetAssetReport, plaidRefreshAssetReport, plaidGetAssetReportPdf };
|
|
3131
|
+
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, gitlabSetUserCredentials, gitlabOauthInitiate, gitlabOauthCallback, gitlabGetCurrentUser, gitlabListProjects, gitlabGetProject, gitlabListMergeRequests, gitlabGetMergeRequest, gitlabGetMergeRequestDiffs, gitlabMergeMergeRequest, gitlabListMergeRequestNotes, gitlabCreateMergeRequestNote, gmailAuthStart, gmailSetUserCredentials, gmailOauthCallback, gmailSendEmail, gmailListMessages, gmailGetMessage, gmailCreateDraft, gmailListLabels, gmailCreateLabel, gmailUpdateLabel, gmailDeleteLabel, googleCloudStorageSetUserCredentials, googleCloudStorageUploadData, googleCloudStorageDeleteFile, googleCloudStorageDocumentExists, googleCloudStorageGenerateDownloadSignedUrl, googleCloudStorageGetData, googleCloudStorageGenerateUploadSignedUrl, googleCloudStorageCopyFile, googleCloudStorageGetFileMetadata, googleCloudStorageUploadFile, googleCloudStorageCreateReadStream, googleCloudStorageCreateWriteStream, googleDocsAuthStart, googleDocsSetUserCredentials, googleDocsOauthCallback, googleDocsCreateDocument, googleDocsGetDocument, googleDocsBatchUpdateDocument, googleDocsSelectDocumentsLegacy, googleDocsSelectDocuments, googleDriveAuthStart, googleDriveSetUserCredentials, googleDriveOauthCallback, googleDriveCreateFile, googleDriveListFiles, googleDriveUpdateFile, googleDriveDeleteFile, googleDriveGetFile, googleDriveCopyFile, googleDriveCreatePermission, googleDriveDeletePermission, googleDriveListPermissions, googleDriveSelectDocuments, googleGenerativeAISetUserCredentials, googleGenerativeAIGenerateText, googleGenerativeAIGenerateImage, googleGenerativeAICreateStream, googleGenerativeAIImageGenerateImage, googleOAuthGetAuthorizationUrl, googleOAuthGetUserProfile, googleOAuthOauthCallback, googleSheetsAuthStart, googleSheetsSetUserCredentials, googleSheetsOauthCallback, googleSheetsCreateSpreadsheet, googleSheetsGetValues, googleSheetsUpdateValues, googleSheetsAppendValues, googleSheetsBatchUpdate, googleSheetsSelectSpreadsheets, googleSlidesAuthStart, googleSlidesSetUserCredentials, googleSlidesOauthCallback, googleSlidesCreatePresentation, googleSlidesGetPresentation, googleSlidesBatchUpdatePresentation, jiraOauthInitiate, jiraSetUserCredentials, jiraOauthCallback, jiraCreateIssue, jiraSearchIssues, jiraGetIssue, jiraUpdateIssue, jiraAddComment, jiraListProjects, jiraListTransitions, jiraTransitionIssue, jiraListBoards, jiraListSprints, jiraCreateSprint, jiraUpdateSprint, jiraMoveIssuesToBacklog, jiraMoveIssuesToSprint, openaiSetUserCredentials, openaiGenerateText, openaiCreateStream, plaidStartHostedLink, plaidSetUserCredentials, plaidHostedLinkCallback, plaidGetAccounts, plaidGetAccountsBalance, plaidGetAuth, plaidTransactionsSync, plaidGetRecurringTransactions, plaidGetTransactions, plaidGetIdentity, plaidGetItem, plaidRemoveItem, plaidGetInstitutionById, plaidGetInvestmentHoldings, plaidGetInvestmentTransactions, plaidGetLiabilities, plaidCreateAssetReport, plaidGetAssetReport, plaidRefreshAssetReport, plaidGetAssetReportPdf, 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, wealthboxSetUserCredentials, 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 };
|
|
2363
3132
|
};
|
|
2364
3133
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
2365
3134
|
//# sourceMappingURL=generated-api.js.map
|