@uptiqai/integrations-sdk 1.3.0 → 1.4.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 +6071 -4567
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +826 -236
- package/dist/generated-api.js.map +1 -1
- package/dist/index.d.ts +185 -45
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +359 -86
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +162 -44
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
- 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.GmailSendEmail200Provider = exports.GmailSendEmail200Status = 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,6 +366,34 @@ exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = {
|
|
|
339
366
|
system: 'system',
|
|
340
367
|
};
|
|
341
368
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
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
|
|
342
397
|
exports.GmailSendEmail200Status = {
|
|
343
398
|
queued: 'queued',
|
|
344
399
|
};
|
|
@@ -347,6 +402,16 @@ exports.GmailSendEmail200Provider = {
|
|
|
347
402
|
gmail: 'gmail',
|
|
348
403
|
};
|
|
349
404
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
405
|
+
exports.GitlabListMergeRequestNotesBodySort = {
|
|
406
|
+
asc: 'asc',
|
|
407
|
+
desc: 'desc',
|
|
408
|
+
};
|
|
409
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
410
|
+
exports.GitlabListMergeRequestNotesBodyOrderBy = {
|
|
411
|
+
created_at: 'created_at',
|
|
412
|
+
updated_at: 'updated_at',
|
|
413
|
+
};
|
|
414
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
350
415
|
exports.AnthropicCreateStreamBodyMessagesItemRole = {
|
|
351
416
|
user: 'user',
|
|
352
417
|
assistant: 'assistant',
|
|
@@ -608,6 +673,116 @@ const getIntegrationsAPI = () => {
|
|
|
608
673
|
params
|
|
609
674
|
});
|
|
610
675
|
};
|
|
676
|
+
/**
|
|
677
|
+
* Stores clientId and clientSecret for PerUser GitLab configs without starting OAuth.
|
|
678
|
+
* @summary Set GitLab OAuth app credentials for a user
|
|
679
|
+
*/
|
|
680
|
+
const gitlabSetUserCredentials = (gitlabSetUserCredentialsBody) => {
|
|
681
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/auth/set-user-credentials`, method: 'POST',
|
|
682
|
+
headers: { 'Content-Type': 'application/json', },
|
|
683
|
+
data: gitlabSetUserCredentialsBody
|
|
684
|
+
});
|
|
685
|
+
};
|
|
686
|
+
/**
|
|
687
|
+
* Returns the authorization URL for the user to complete the OAuth flow.
|
|
688
|
+
* @summary Initiate GitLab OAuth flow
|
|
689
|
+
*/
|
|
690
|
+
const gitlabOauthInitiate = (gitlabOauthInitiateBody) => {
|
|
691
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/oauth/initiate`, method: 'POST',
|
|
692
|
+
headers: { 'Content-Type': 'application/json', },
|
|
693
|
+
data: gitlabOauthInitiateBody
|
|
694
|
+
});
|
|
695
|
+
};
|
|
696
|
+
/**
|
|
697
|
+
* Receives the OAuth callback from GitLab and stores user credentials.
|
|
698
|
+
* @summary Handle GitLab OAuth callback
|
|
699
|
+
*/
|
|
700
|
+
const gitlabOauthCallback = (params) => {
|
|
701
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/oauth/callback`, method: 'GET',
|
|
702
|
+
params
|
|
703
|
+
});
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* @summary Get the current user
|
|
707
|
+
*/
|
|
708
|
+
const gitlabGetCurrentUser = (gitlabGetCurrentUserBody) => {
|
|
709
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/user`, method: 'POST',
|
|
710
|
+
headers: { 'Content-Type': 'application/json', },
|
|
711
|
+
data: gitlabGetCurrentUserBody
|
|
712
|
+
});
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* @summary List projects
|
|
716
|
+
*/
|
|
717
|
+
const gitlabListProjects = (gitlabListProjectsBody) => {
|
|
718
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/projects/list`, method: 'POST',
|
|
719
|
+
headers: { 'Content-Type': 'application/json', },
|
|
720
|
+
data: gitlabListProjectsBody
|
|
721
|
+
});
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* @summary Retrieve a project
|
|
725
|
+
*/
|
|
726
|
+
const gitlabGetProject = (gitlabGetProjectBody) => {
|
|
727
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/projects/get`, method: 'POST',
|
|
728
|
+
headers: { 'Content-Type': 'application/json', },
|
|
729
|
+
data: gitlabGetProjectBody
|
|
730
|
+
});
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* @summary List merge requests
|
|
734
|
+
*/
|
|
735
|
+
const gitlabListMergeRequests = (gitlabListMergeRequestsBody) => {
|
|
736
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/list`, method: 'POST',
|
|
737
|
+
headers: { 'Content-Type': 'application/json', },
|
|
738
|
+
data: gitlabListMergeRequestsBody
|
|
739
|
+
});
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* @summary Retrieve a merge request
|
|
743
|
+
*/
|
|
744
|
+
const gitlabGetMergeRequest = (gitlabGetMergeRequestBody) => {
|
|
745
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/get`, method: 'POST',
|
|
746
|
+
headers: { 'Content-Type': 'application/json', },
|
|
747
|
+
data: gitlabGetMergeRequestBody
|
|
748
|
+
});
|
|
749
|
+
};
|
|
750
|
+
/**
|
|
751
|
+
* @summary Retrieve merge request diffs
|
|
752
|
+
*/
|
|
753
|
+
const gitlabGetMergeRequestDiffs = (gitlabGetMergeRequestDiffsBody) => {
|
|
754
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/diffs`, method: 'POST',
|
|
755
|
+
headers: { 'Content-Type': 'application/json', },
|
|
756
|
+
data: gitlabGetMergeRequestDiffsBody
|
|
757
|
+
});
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* @summary Merge a merge request
|
|
761
|
+
*/
|
|
762
|
+
const gitlabMergeMergeRequest = (gitlabMergeMergeRequestBody) => {
|
|
763
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/merge`, method: 'POST',
|
|
764
|
+
headers: { 'Content-Type': 'application/json', },
|
|
765
|
+
data: gitlabMergeMergeRequestBody
|
|
766
|
+
});
|
|
767
|
+
};
|
|
768
|
+
/**
|
|
769
|
+
* @summary List merge request notes
|
|
770
|
+
*/
|
|
771
|
+
const gitlabListMergeRequestNotes = (gitlabListMergeRequestNotesBody) => {
|
|
772
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/notes/list`, method: 'POST',
|
|
773
|
+
headers: { 'Content-Type': 'application/json', },
|
|
774
|
+
data: gitlabListMergeRequestNotesBody
|
|
775
|
+
});
|
|
776
|
+
};
|
|
777
|
+
/**
|
|
778
|
+
* @summary Add a note to a merge request
|
|
779
|
+
*/
|
|
780
|
+
const gitlabCreateMergeRequestNote = (gitlabCreateMergeRequestNoteBody) => {
|
|
781
|
+
return (0, http_client_1.customAxios)({ url: `/gitlab/merge-requests/notes`, method: 'POST',
|
|
782
|
+
headers: { 'Content-Type': 'application/json', },
|
|
783
|
+
data: gitlabCreateMergeRequestNoteBody
|
|
784
|
+
});
|
|
785
|
+
};
|
|
611
786
|
/**
|
|
612
787
|
* Starts a Gmail OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
613
788
|
* @summary Start Gmail OAuth flow
|
|
@@ -618,6 +793,16 @@ const getIntegrationsAPI = () => {
|
|
|
618
793
|
data: gmailAuthStartBody
|
|
619
794
|
});
|
|
620
795
|
};
|
|
796
|
+
/**
|
|
797
|
+
* Stores clientId and clientSecret for PerUser Gmail configs without starting OAuth.
|
|
798
|
+
* @summary Set Gmail OAuth app credentials for a user
|
|
799
|
+
*/
|
|
800
|
+
const gmailSetUserCredentials = (gmailSetUserCredentialsBody) => {
|
|
801
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/auth/set-user-credentials`, method: 'POST',
|
|
802
|
+
headers: { 'Content-Type': 'application/json', },
|
|
803
|
+
data: gmailSetUserCredentialsBody
|
|
804
|
+
});
|
|
805
|
+
};
|
|
621
806
|
/**
|
|
622
807
|
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
623
808
|
* @summary Handle Gmail OAuth callback
|
|
@@ -751,6 +936,100 @@ const getIntegrationsAPI = () => {
|
|
|
751
936
|
params
|
|
752
937
|
});
|
|
753
938
|
};
|
|
939
|
+
/**
|
|
940
|
+
* @summary Start Google Drive OAuth flow
|
|
941
|
+
*/
|
|
942
|
+
const googleDriveAuthStart = (googleDriveAuthStartBody) => {
|
|
943
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/auth/start`, method: 'POST',
|
|
944
|
+
headers: { 'Content-Type': 'application/json', },
|
|
945
|
+
data: googleDriveAuthStartBody
|
|
946
|
+
});
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* Stores clientId and clientSecret for PerUser Google Drive configs without starting OAuth.
|
|
950
|
+
* @summary Set Google Drive OAuth app credentials for a user
|
|
951
|
+
*/
|
|
952
|
+
const googleDriveSetUserCredentials = (googleDriveSetUserCredentialsBody) => {
|
|
953
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/auth/set-user-credentials`, method: 'POST',
|
|
954
|
+
headers: { 'Content-Type': 'application/json', },
|
|
955
|
+
data: googleDriveSetUserCredentialsBody
|
|
956
|
+
});
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* @summary Handle Google Drive OAuth callback
|
|
960
|
+
*/
|
|
961
|
+
const googleDriveOauthCallback = (params) => {
|
|
962
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/oauth/callback`, method: 'GET',
|
|
963
|
+
params
|
|
964
|
+
});
|
|
965
|
+
};
|
|
966
|
+
const googleDriveCreateFile = (googleDriveCreateFileBody) => {
|
|
967
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'POST',
|
|
968
|
+
headers: { 'Content-Type': 'application/json', },
|
|
969
|
+
data: googleDriveCreateFileBody
|
|
970
|
+
});
|
|
971
|
+
};
|
|
972
|
+
const googleDriveListFiles = (params) => {
|
|
973
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'GET',
|
|
974
|
+
params
|
|
975
|
+
});
|
|
976
|
+
};
|
|
977
|
+
const googleDriveUpdateFile = (googleDriveUpdateFileBody) => {
|
|
978
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'PATCH',
|
|
979
|
+
headers: { 'Content-Type': 'application/json', },
|
|
980
|
+
data: googleDriveUpdateFileBody
|
|
981
|
+
});
|
|
982
|
+
};
|
|
983
|
+
const googleDriveDeleteFile = (googleDriveDeleteFileBody) => {
|
|
984
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files`, method: 'DELETE',
|
|
985
|
+
headers: { 'Content-Type': 'application/json', },
|
|
986
|
+
data: googleDriveDeleteFileBody
|
|
987
|
+
});
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* Get Google Drive file metadata or content using fileId (or id) in the request body.
|
|
991
|
+
* @summary Get a Google Drive file
|
|
992
|
+
*/
|
|
993
|
+
const googleDriveGetFile = (googleDriveGetFileBody) => {
|
|
994
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files/get`, method: 'POST',
|
|
995
|
+
headers: { 'Content-Type': 'application/json', },
|
|
996
|
+
data: googleDriveGetFileBody
|
|
997
|
+
});
|
|
998
|
+
};
|
|
999
|
+
const googleDriveCopyFile = (googleDriveCopyFileBody) => {
|
|
1000
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/files/copy`, method: 'POST',
|
|
1001
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1002
|
+
data: googleDriveCopyFileBody
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
const googleDriveCreatePermission = (googleDriveCreatePermissionBody) => {
|
|
1006
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions`, method: 'POST',
|
|
1007
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1008
|
+
data: googleDriveCreatePermissionBody
|
|
1009
|
+
});
|
|
1010
|
+
};
|
|
1011
|
+
const googleDriveDeletePermission = (googleDriveDeletePermissionBody) => {
|
|
1012
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions`, method: 'DELETE',
|
|
1013
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1014
|
+
data: googleDriveDeletePermissionBody
|
|
1015
|
+
});
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* List Google Drive file permissions using fileId (or id) in the request body.
|
|
1019
|
+
* @summary List Google Drive file permissions
|
|
1020
|
+
*/
|
|
1021
|
+
const googleDriveListPermissions = (googleDriveListPermissionsBody) => {
|
|
1022
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/permissions/list`, method: 'POST',
|
|
1023
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1024
|
+
data: googleDriveListPermissionsBody
|
|
1025
|
+
});
|
|
1026
|
+
};
|
|
1027
|
+
const googleDriveSelectDocuments = (googleDriveSelectDocumentsBody) => {
|
|
1028
|
+
return (0, http_client_1.customAxios)({ url: `/google-drive/select-documents`, method: 'POST',
|
|
1029
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1030
|
+
data: googleDriveSelectDocumentsBody
|
|
1031
|
+
});
|
|
1032
|
+
};
|
|
754
1033
|
/**
|
|
755
1034
|
* Stores a generated app user Google Gemini API key for PerUser integration configs.
|
|
756
1035
|
* @summary Store per-user Google Generative AI credentials
|
|
@@ -776,85 +1055,561 @@ const getIntegrationsAPI = () => {
|
|
|
776
1055
|
const googleGenerativeAIGenerateImage = (googleGenerativeAIGenerateImageBody) => {
|
|
777
1056
|
return (0, http_client_1.customAxios)({ url: `/google-generative-ai/generate-image`, method: 'POST',
|
|
778
1057
|
headers: { 'Content-Type': 'application/json', },
|
|
779
|
-
data: googleGenerativeAIGenerateImageBody,
|
|
780
|
-
responseType: 'blob'
|
|
1058
|
+
data: googleGenerativeAIGenerateImageBody,
|
|
1059
|
+
responseType: 'blob'
|
|
1060
|
+
});
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
1064
|
+
* @summary Stream text generation with GoogleGenerativeAI
|
|
1065
|
+
*/
|
|
1066
|
+
const googleGenerativeAICreateStream = (googleGenerativeAICreateStreamBody) => {
|
|
1067
|
+
return (0, http_client_1.customAxios)({ url: `/google-generative-ai/create-stream`, method: 'POST',
|
|
1068
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1069
|
+
data: googleGenerativeAICreateStreamBody
|
|
1070
|
+
});
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* @summary Generate image with GoogleGenerativeAIImage
|
|
1074
|
+
*/
|
|
1075
|
+
const googleGenerativeAIImageGenerateImage = (googleGenerativeAIImageGenerateImageBody) => {
|
|
1076
|
+
return (0, http_client_1.customAxios)({ url: `/google-generative-ai-image/generate-image`, method: 'POST',
|
|
1077
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1078
|
+
data: googleGenerativeAIImageGenerateImageBody,
|
|
1079
|
+
responseType: 'blob'
|
|
1080
|
+
});
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* Generate a Google OAuth authorization URL using the resolved integration config.
|
|
1084
|
+
* @summary Get Google OAuth authorization URL
|
|
1085
|
+
*/
|
|
1086
|
+
const googleOAuthGetAuthorizationUrl = (googleOAuthGetAuthorizationUrlBody) => {
|
|
1087
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/get-authorization-url`, method: 'POST',
|
|
1088
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1089
|
+
data: googleOAuthGetAuthorizationUrlBody
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1092
|
+
/**
|
|
1093
|
+
* Fetch the stored Google OAuth profile for an integration user.
|
|
1094
|
+
* @summary Get Google OAuth user profile
|
|
1095
|
+
*/
|
|
1096
|
+
const googleOAuthGetUserProfile = (googleOAuthGetUserProfileBody) => {
|
|
1097
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/get-user-profile`, method: 'POST',
|
|
1098
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1099
|
+
data: googleOAuthGetUserProfileBody
|
|
1100
|
+
});
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Public callback used by Google to complete browser-based Google login.
|
|
1104
|
+
* @summary Handle Google OAuth browser callback
|
|
1105
|
+
*/
|
|
1106
|
+
const googleOAuthOauthCallback = () => {
|
|
1107
|
+
return (0, http_client_1.customAxios)({ url: `/google-oauth/oauth/callback`, method: 'GET'
|
|
1108
|
+
});
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* Starts a Google Sheets OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
1112
|
+
* @summary Start Google Sheets OAuth flow
|
|
1113
|
+
*/
|
|
1114
|
+
const googleSheetsAuthStart = (googleSheetsAuthStartBody) => {
|
|
1115
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/auth/start`, method: 'POST',
|
|
1116
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1117
|
+
data: googleSheetsAuthStartBody
|
|
1118
|
+
});
|
|
1119
|
+
};
|
|
1120
|
+
/**
|
|
1121
|
+
* Stores clientId and clientSecret for PerUser Google Sheets configs without starting OAuth.
|
|
1122
|
+
* @summary Set Google Sheets OAuth app credentials for a user
|
|
1123
|
+
*/
|
|
1124
|
+
const googleSheetsSetUserCredentials = (googleSheetsSetUserCredentialsBody) => {
|
|
1125
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/auth/set-user-credentials`, method: 'POST',
|
|
1126
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1127
|
+
data: googleSheetsSetUserCredentialsBody
|
|
1128
|
+
});
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
1132
|
+
* @summary Handle Google Sheets OAuth callback
|
|
1133
|
+
*/
|
|
1134
|
+
const googleSheetsOauthCallback = () => {
|
|
1135
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/oauth/callback`, method: 'GET'
|
|
1136
|
+
});
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* Creates a new spreadsheet with an optional title and initial tabs.
|
|
1140
|
+
* @summary Create a Google Sheets spreadsheet
|
|
1141
|
+
*/
|
|
1142
|
+
const googleSheetsCreateSpreadsheet = (googleSheetsCreateSpreadsheetBody) => {
|
|
1143
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/create`, method: 'POST',
|
|
1144
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1145
|
+
data: googleSheetsCreateSpreadsheetBody
|
|
1146
|
+
});
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* Reads cell values from a specified range using A1 or R1C1 notation.
|
|
1150
|
+
* @summary Read values from a Google Sheets spreadsheet
|
|
1151
|
+
*/
|
|
1152
|
+
const googleSheetsGetValues = (googleSheetsGetValuesBody) => {
|
|
1153
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/get`, method: 'POST',
|
|
1154
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1155
|
+
data: googleSheetsGetValuesBody
|
|
1156
|
+
});
|
|
1157
|
+
};
|
|
1158
|
+
/**
|
|
1159
|
+
* Writes or overwrites cell values in a specified range.
|
|
1160
|
+
* @summary Update values in a Google Sheets spreadsheet
|
|
1161
|
+
*/
|
|
1162
|
+
const googleSheetsUpdateValues = (googleSheetsUpdateValuesBody) => {
|
|
1163
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/update`, method: 'POST',
|
|
1164
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1165
|
+
data: googleSheetsUpdateValuesBody
|
|
1166
|
+
});
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* Appends rows of data after the last row of existing data in a spreadsheet.
|
|
1170
|
+
* @summary Append rows to a Google Sheets spreadsheet
|
|
1171
|
+
*/
|
|
1172
|
+
const googleSheetsAppendValues = (googleSheetsAppendValuesBody) => {
|
|
1173
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/values/append`, method: 'POST',
|
|
1174
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1175
|
+
data: googleSheetsAppendValuesBody
|
|
1176
|
+
});
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* Applies one or more batch update requests such as adding tabs, formatting cells, or merging cells.
|
|
1180
|
+
* @summary Apply structural changes to a Google Sheets spreadsheet
|
|
1181
|
+
*/
|
|
1182
|
+
const googleSheetsBatchUpdate = (googleSheetsBatchUpdateBody) => {
|
|
1183
|
+
return (0, http_client_1.customAxios)({ url: `/google-sheets/spreadsheets/batch-update`, method: 'POST',
|
|
1184
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1185
|
+
data: googleSheetsBatchUpdateBody
|
|
1186
|
+
});
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Starts a Google Slides OAuth connection and returns the authorization URL.
|
|
1190
|
+
* @summary Start Google Slides OAuth flow
|
|
1191
|
+
*/
|
|
1192
|
+
const googleSlidesAuthStart = (googleSlidesAuthStartBody) => {
|
|
1193
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/auth/start`, method: 'POST',
|
|
1194
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1195
|
+
data: googleSlidesAuthStartBody
|
|
1196
|
+
});
|
|
1197
|
+
};
|
|
1198
|
+
/**
|
|
1199
|
+
* Stores clientId and clientSecret for PerUser Google Slides configs without starting OAuth.
|
|
1200
|
+
* @summary Set Google Slides OAuth app credentials for a user
|
|
1201
|
+
*/
|
|
1202
|
+
const googleSlidesSetUserCredentials = (googleSlidesSetUserCredentialsBody) => {
|
|
1203
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/auth/set-user-credentials`, method: 'POST',
|
|
1204
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1205
|
+
data: googleSlidesSetUserCredentialsBody
|
|
1206
|
+
});
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
1210
|
+
* @summary Handle Google Slides OAuth callback
|
|
1211
|
+
*/
|
|
1212
|
+
const googleSlidesOauthCallback = () => {
|
|
1213
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/oauth/callback`, method: 'GET'
|
|
1214
|
+
});
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* Creates a new presentation in the connected Google account.
|
|
1218
|
+
* @summary Create a Google Slides presentation
|
|
1219
|
+
*/
|
|
1220
|
+
const googleSlidesCreatePresentation = (googleSlidesCreatePresentationBody) => {
|
|
1221
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/create`, method: 'POST',
|
|
1222
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1223
|
+
data: googleSlidesCreatePresentationBody
|
|
1224
|
+
});
|
|
1225
|
+
};
|
|
1226
|
+
/**
|
|
1227
|
+
* Retrieves a presentation — slides, layouts and page elements — by id.
|
|
1228
|
+
* @summary Get a Google Slides presentation
|
|
1229
|
+
*/
|
|
1230
|
+
const googleSlidesGetPresentation = (googleSlidesGetPresentationBody) => {
|
|
1231
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/get`, method: 'POST',
|
|
1232
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1233
|
+
data: googleSlidesGetPresentationBody
|
|
1234
|
+
});
|
|
1235
|
+
};
|
|
1236
|
+
/**
|
|
1237
|
+
* Applies a batch of edit requests (create slides, insert text, delete elements) to a presentation.
|
|
1238
|
+
* @summary Edit a Google Slides presentation
|
|
1239
|
+
*/
|
|
1240
|
+
const googleSlidesBatchUpdatePresentation = (googleSlidesBatchUpdatePresentationBody) => {
|
|
1241
|
+
return (0, http_client_1.customAxios)({ url: `/google-slides/presentations/batch-update`, method: 'POST',
|
|
1242
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1243
|
+
data: googleSlidesBatchUpdatePresentationBody
|
|
1244
|
+
});
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Returns the authorization URL for the user to complete the OAuth flow.
|
|
1248
|
+
* @summary Initiate Jira OAuth flow
|
|
1249
|
+
*/
|
|
1250
|
+
const jiraOauthInitiate = (jiraOauthInitiateBody) => {
|
|
1251
|
+
return (0, http_client_1.customAxios)({ url: `/jira/oauth/initiate`, method: 'POST',
|
|
1252
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1253
|
+
data: jiraOauthInitiateBody
|
|
1254
|
+
});
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* Stores clientId and clientSecret for PerUser Jira configs without starting OAuth.
|
|
1258
|
+
* @summary Set Jira OAuth app credentials for a user
|
|
1259
|
+
*/
|
|
1260
|
+
const jiraSetUserCredentials = (jiraSetUserCredentialsBody) => {
|
|
1261
|
+
return (0, http_client_1.customAxios)({ url: `/jira/auth/set-user-credentials`, method: 'POST',
|
|
1262
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1263
|
+
data: jiraSetUserCredentialsBody
|
|
1264
|
+
});
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* Receives the OAuth callback from Jira and stores user credentials.
|
|
1268
|
+
* @summary Handle Jira OAuth callback
|
|
1269
|
+
*/
|
|
1270
|
+
const jiraOauthCallback = (params) => {
|
|
1271
|
+
return (0, http_client_1.customAxios)({ url: `/jira/oauth/callback`, method: 'GET',
|
|
1272
|
+
params
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* @summary Create an issue
|
|
1277
|
+
*/
|
|
1278
|
+
const jiraCreateIssue = (jiraCreateIssueBody) => {
|
|
1279
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues`, method: 'POST',
|
|
1280
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1281
|
+
data: jiraCreateIssueBody
|
|
1282
|
+
});
|
|
1283
|
+
};
|
|
1284
|
+
/**
|
|
1285
|
+
* @summary Search issues with JQL
|
|
1286
|
+
*/
|
|
1287
|
+
const jiraSearchIssues = (jiraSearchIssuesBody) => {
|
|
1288
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/search`, method: 'POST',
|
|
1289
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1290
|
+
data: jiraSearchIssuesBody
|
|
1291
|
+
});
|
|
1292
|
+
};
|
|
1293
|
+
/**
|
|
1294
|
+
* @summary Retrieve an issue
|
|
1295
|
+
*/
|
|
1296
|
+
const jiraGetIssue = (jiraGetIssueBody) => {
|
|
1297
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/get`, method: 'POST',
|
|
1298
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1299
|
+
data: jiraGetIssueBody
|
|
1300
|
+
});
|
|
1301
|
+
};
|
|
1302
|
+
/**
|
|
1303
|
+
* @summary Update an issue
|
|
1304
|
+
*/
|
|
1305
|
+
const jiraUpdateIssue = (jiraUpdateIssueBody) => {
|
|
1306
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/update`, method: 'POST',
|
|
1307
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1308
|
+
data: jiraUpdateIssueBody
|
|
1309
|
+
});
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* @summary Add a comment to an issue
|
|
1313
|
+
*/
|
|
1314
|
+
const jiraAddComment = (jiraAddCommentBody) => {
|
|
1315
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/comments`, method: 'POST',
|
|
1316
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1317
|
+
data: jiraAddCommentBody
|
|
1318
|
+
});
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* @summary List projects
|
|
1322
|
+
*/
|
|
1323
|
+
const jiraListProjects = (jiraListProjectsBody) => {
|
|
1324
|
+
return (0, http_client_1.customAxios)({ url: `/jira/projects/list`, method: 'POST',
|
|
1325
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1326
|
+
data: jiraListProjectsBody
|
|
1327
|
+
});
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* @summary List issue transitions
|
|
1331
|
+
*/
|
|
1332
|
+
const jiraListTransitions = (jiraListTransitionsBody) => {
|
|
1333
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/transitions/list`, method: 'POST',
|
|
1334
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1335
|
+
data: jiraListTransitionsBody
|
|
1336
|
+
});
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* @summary Transition an issue
|
|
1340
|
+
*/
|
|
1341
|
+
const jiraTransitionIssue = (jiraTransitionIssueBody) => {
|
|
1342
|
+
return (0, http_client_1.customAxios)({ url: `/jira/issues/transitions`, method: 'POST',
|
|
1343
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1344
|
+
data: jiraTransitionIssueBody
|
|
1345
|
+
});
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* @summary List boards
|
|
1349
|
+
*/
|
|
1350
|
+
const jiraListBoards = (jiraListBoardsBody) => {
|
|
1351
|
+
return (0, http_client_1.customAxios)({ url: `/jira/boards/list`, method: 'POST',
|
|
1352
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1353
|
+
data: jiraListBoardsBody
|
|
1354
|
+
});
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* @summary List sprints for a board
|
|
1358
|
+
*/
|
|
1359
|
+
const jiraListSprints = (jiraListSprintsBody) => {
|
|
1360
|
+
return (0, http_client_1.customAxios)({ url: `/jira/boards/sprints/list`, method: 'POST',
|
|
1361
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1362
|
+
data: jiraListSprintsBody
|
|
1363
|
+
});
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* @summary Create a sprint
|
|
1367
|
+
*/
|
|
1368
|
+
const jiraCreateSprint = (jiraCreateSprintBody) => {
|
|
1369
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints`, method: 'POST',
|
|
1370
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1371
|
+
data: jiraCreateSprintBody
|
|
1372
|
+
});
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* @summary Update a sprint
|
|
1376
|
+
*/
|
|
1377
|
+
const jiraUpdateSprint = (jiraUpdateSprintBody) => {
|
|
1378
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints/update`, method: 'POST',
|
|
1379
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1380
|
+
data: jiraUpdateSprintBody
|
|
1381
|
+
});
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* @summary Move issues to the backlog
|
|
1385
|
+
*/
|
|
1386
|
+
const jiraMoveIssuesToBacklog = (jiraMoveIssuesToBacklogBody) => {
|
|
1387
|
+
return (0, http_client_1.customAxios)({ url: `/jira/backlog/issues`, method: 'POST',
|
|
1388
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1389
|
+
data: jiraMoveIssuesToBacklogBody
|
|
1390
|
+
});
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* @summary Move issues to a sprint
|
|
1394
|
+
*/
|
|
1395
|
+
const jiraMoveIssuesToSprint = (jiraMoveIssuesToSprintBody) => {
|
|
1396
|
+
return (0, http_client_1.customAxios)({ url: `/jira/sprints/issues`, method: 'POST',
|
|
1397
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1398
|
+
data: jiraMoveIssuesToSprintBody
|
|
1399
|
+
});
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* Stores a generated app user OpenAI API key for PerUser integration configs.
|
|
1403
|
+
* @summary Store per-user OpenAI credentials
|
|
1404
|
+
*/
|
|
1405
|
+
const openaiSetUserCredentials = (openaiSetUserCredentialsBody) => {
|
|
1406
|
+
return (0, http_client_1.customAxios)({ url: `/openai/set-user-credentials`, method: 'POST',
|
|
1407
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1408
|
+
data: openaiSetUserCredentialsBody
|
|
1409
|
+
});
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* @summary Generate text with OpenAI
|
|
1413
|
+
*/
|
|
1414
|
+
const openaiGenerateText = (openaiGenerateTextBody) => {
|
|
1415
|
+
return (0, http_client_1.customAxios)({ url: `/openai/generate-text`, method: 'POST',
|
|
1416
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1417
|
+
data: openaiGenerateTextBody
|
|
1418
|
+
});
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
1422
|
+
* @summary Stream text generation with OpenAI
|
|
1423
|
+
*/
|
|
1424
|
+
const openaiCreateStream = (openaiCreateStreamBody) => {
|
|
1425
|
+
return (0, http_client_1.customAxios)({ url: `/openai/create-stream`, method: 'POST',
|
|
1426
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1427
|
+
data: openaiCreateStreamBody
|
|
1428
|
+
});
|
|
1429
|
+
};
|
|
1430
|
+
/**
|
|
1431
|
+
* 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.
|
|
1432
|
+
* @summary Start Plaid Hosted Link
|
|
1433
|
+
*/
|
|
1434
|
+
const plaidStartHostedLink = (plaidStartHostedLinkBody) => {
|
|
1435
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/hosted-link/start`, method: 'POST',
|
|
1436
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1437
|
+
data: plaidStartHostedLinkBody
|
|
1438
|
+
});
|
|
1439
|
+
};
|
|
1440
|
+
/**
|
|
1441
|
+
* Stores Plaid client ID and client secret for a user.
|
|
1442
|
+
* @summary Set Plaid user credentials
|
|
1443
|
+
*/
|
|
1444
|
+
const plaidSetUserCredentials = (plaidSetUserCredentialsBody) => {
|
|
1445
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/auth/set-user-credentials`, method: 'POST',
|
|
1446
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1447
|
+
data: plaidSetUserCredentialsBody
|
|
1448
|
+
});
|
|
1449
|
+
};
|
|
1450
|
+
/**
|
|
1451
|
+
* Completes Hosted Link: exchanges public_token and stores Plaid access_token on the integration user.
|
|
1452
|
+
* @summary Plaid Hosted Link browser callback
|
|
1453
|
+
*/
|
|
1454
|
+
const plaidHostedLinkCallback = (params) => {
|
|
1455
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/oauth/callback`, method: 'GET',
|
|
1456
|
+
params
|
|
1457
|
+
});
|
|
1458
|
+
};
|
|
1459
|
+
/**
|
|
1460
|
+
* @summary Get accounts for the linked Item
|
|
1461
|
+
*/
|
|
1462
|
+
const plaidGetAccounts = (plaidGetAccountsBody) => {
|
|
1463
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/get`, method: 'POST',
|
|
1464
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1465
|
+
data: plaidGetAccountsBody
|
|
1466
|
+
});
|
|
1467
|
+
};
|
|
1468
|
+
/**
|
|
1469
|
+
* @summary Get real-time account balances
|
|
1470
|
+
*/
|
|
1471
|
+
const plaidGetAccountsBalance = (plaidGetAccountsBalanceBody) => {
|
|
1472
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/accounts/balance/get`, method: 'POST',
|
|
1473
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1474
|
+
data: plaidGetAccountsBalanceBody
|
|
1475
|
+
});
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* @summary Get Auth (ACH) numbers
|
|
1479
|
+
*/
|
|
1480
|
+
const plaidGetAuth = (plaidGetAuthBody) => {
|
|
1481
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/auth/get`, method: 'POST',
|
|
1482
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1483
|
+
data: plaidGetAuthBody
|
|
1484
|
+
});
|
|
1485
|
+
};
|
|
1486
|
+
/**
|
|
1487
|
+
* @summary Sync transactions (cursor-based)
|
|
1488
|
+
*/
|
|
1489
|
+
const plaidTransactionsSync = (plaidTransactionsSyncBody) => {
|
|
1490
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/sync`, method: 'POST',
|
|
1491
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1492
|
+
data: plaidTransactionsSyncBody
|
|
1493
|
+
});
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* @summary Get recurring transactions
|
|
1497
|
+
*/
|
|
1498
|
+
const plaidGetRecurringTransactions = (plaidGetRecurringTransactionsBody) => {
|
|
1499
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/recurring/get`, method: 'POST',
|
|
1500
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1501
|
+
data: plaidGetRecurringTransactionsBody
|
|
1502
|
+
});
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* @summary Get transactions (legacy date range)
|
|
1506
|
+
*/
|
|
1507
|
+
const plaidGetTransactions = (plaidGetTransactionsBody) => {
|
|
1508
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/transactions/get`, method: 'POST',
|
|
1509
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1510
|
+
data: plaidGetTransactionsBody
|
|
1511
|
+
});
|
|
1512
|
+
};
|
|
1513
|
+
/**
|
|
1514
|
+
* @summary Get Identity
|
|
1515
|
+
*/
|
|
1516
|
+
const plaidGetIdentity = (plaidGetIdentityBody) => {
|
|
1517
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/identity/get`, method: 'POST',
|
|
1518
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1519
|
+
data: plaidGetIdentityBody
|
|
1520
|
+
});
|
|
1521
|
+
};
|
|
1522
|
+
/**
|
|
1523
|
+
* @summary Get Item metadata for the user’s linked Item
|
|
1524
|
+
*/
|
|
1525
|
+
const plaidGetItem = (plaidGetItemBody) => {
|
|
1526
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/item/get`, method: 'POST',
|
|
1527
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1528
|
+
data: plaidGetItemBody
|
|
1529
|
+
});
|
|
1530
|
+
};
|
|
1531
|
+
/**
|
|
1532
|
+
* @summary Remove Item at Plaid and drop stored tokens
|
|
1533
|
+
*/
|
|
1534
|
+
const plaidRemoveItem = (plaidRemoveItemBody) => {
|
|
1535
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/item/remove`, method: 'POST',
|
|
1536
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1537
|
+
data: plaidRemoveItemBody
|
|
781
1538
|
});
|
|
782
1539
|
};
|
|
783
1540
|
/**
|
|
784
|
-
*
|
|
785
|
-
* @summary
|
|
1541
|
+
* PerUser integration configs require `userId` in the body so Plaid developer credentials resolve from the user row.
|
|
1542
|
+
* @summary Get institution by ID
|
|
786
1543
|
*/
|
|
787
|
-
const
|
|
788
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1544
|
+
const plaidGetInstitutionById = (plaidGetInstitutionByIdBody) => {
|
|
1545
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/institutions/get-by-id`, method: 'POST',
|
|
789
1546
|
headers: { 'Content-Type': 'application/json', },
|
|
790
|
-
data:
|
|
1547
|
+
data: plaidGetInstitutionByIdBody
|
|
791
1548
|
});
|
|
792
1549
|
};
|
|
793
1550
|
/**
|
|
794
|
-
* @summary
|
|
1551
|
+
* @summary Get investment holdings
|
|
795
1552
|
*/
|
|
796
|
-
const
|
|
797
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1553
|
+
const plaidGetInvestmentHoldings = (plaidGetInvestmentHoldingsBody) => {
|
|
1554
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/investments/holdings/get`, method: 'POST',
|
|
798
1555
|
headers: { 'Content-Type': 'application/json', },
|
|
799
|
-
data:
|
|
800
|
-
responseType: 'blob'
|
|
1556
|
+
data: plaidGetInvestmentHoldingsBody
|
|
801
1557
|
});
|
|
802
1558
|
};
|
|
803
1559
|
/**
|
|
804
|
-
*
|
|
805
|
-
* @summary Get Google OAuth authorization URL
|
|
1560
|
+
* @summary Get investment transactions
|
|
806
1561
|
*/
|
|
807
|
-
const
|
|
808
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1562
|
+
const plaidGetInvestmentTransactions = (plaidGetInvestmentTransactionsBody) => {
|
|
1563
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/investments/transactions/get`, method: 'POST',
|
|
809
1564
|
headers: { 'Content-Type': 'application/json', },
|
|
810
|
-
data:
|
|
1565
|
+
data: plaidGetInvestmentTransactionsBody
|
|
811
1566
|
});
|
|
812
1567
|
};
|
|
813
1568
|
/**
|
|
814
|
-
*
|
|
815
|
-
* @summary Get Google OAuth user profile
|
|
1569
|
+
* @summary Get liabilities
|
|
816
1570
|
*/
|
|
817
|
-
const
|
|
818
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1571
|
+
const plaidGetLiabilities = (plaidGetLiabilitiesBody) => {
|
|
1572
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/liabilities/get`, method: 'POST',
|
|
819
1573
|
headers: { 'Content-Type': 'application/json', },
|
|
820
|
-
data:
|
|
1574
|
+
data: plaidGetLiabilitiesBody
|
|
821
1575
|
});
|
|
822
1576
|
};
|
|
823
1577
|
/**
|
|
824
|
-
*
|
|
825
|
-
* @summary
|
|
1578
|
+
* POST /asset_report/create using the stored Plaid Item access token for `userId`. The Item must include the assets product at link time.
|
|
1579
|
+
* @summary Create Asset Report
|
|
826
1580
|
*/
|
|
827
|
-
const
|
|
828
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1581
|
+
const plaidCreateAssetReport = (plaidCreateAssetReportBody) => {
|
|
1582
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/create`, method: 'POST',
|
|
1583
|
+
headers: { 'Content-Type': 'application/json', },
|
|
1584
|
+
data: plaidCreateAssetReportBody
|
|
829
1585
|
});
|
|
830
1586
|
};
|
|
831
1587
|
/**
|
|
832
|
-
*
|
|
833
|
-
* @summary Store per-user OpenAI credentials
|
|
1588
|
+
* @summary Get Asset Report
|
|
834
1589
|
*/
|
|
835
|
-
const
|
|
836
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1590
|
+
const plaidGetAssetReport = (plaidGetAssetReportBody) => {
|
|
1591
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/get`, method: 'POST',
|
|
837
1592
|
headers: { 'Content-Type': 'application/json', },
|
|
838
|
-
data:
|
|
1593
|
+
data: plaidGetAssetReportBody
|
|
839
1594
|
});
|
|
840
1595
|
};
|
|
841
1596
|
/**
|
|
842
|
-
* @summary
|
|
1597
|
+
* @summary Refresh Asset Report
|
|
843
1598
|
*/
|
|
844
|
-
const
|
|
845
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1599
|
+
const plaidRefreshAssetReport = (plaidRefreshAssetReportBody) => {
|
|
1600
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/refresh`, method: 'POST',
|
|
846
1601
|
headers: { 'Content-Type': 'application/json', },
|
|
847
|
-
data:
|
|
1602
|
+
data: plaidRefreshAssetReportBody
|
|
848
1603
|
});
|
|
849
1604
|
};
|
|
850
1605
|
/**
|
|
851
|
-
*
|
|
852
|
-
* @summary
|
|
1606
|
+
* Calls Plaid /asset_report/pdf/get and returns PDF as base64 JSON (report must be ready, e.g. after PRODUCT_READY webhook).
|
|
1607
|
+
* @summary Get Asset Report PDF
|
|
853
1608
|
*/
|
|
854
|
-
const
|
|
855
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
1609
|
+
const plaidGetAssetReportPdf = (plaidGetAssetReportPdfBody) => {
|
|
1610
|
+
return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/pdf/get`, method: 'POST',
|
|
856
1611
|
headers: { 'Content-Type': 'application/json', },
|
|
857
|
-
data:
|
|
1612
|
+
data: plaidGetAssetReportPdfBody
|
|
858
1613
|
});
|
|
859
1614
|
};
|
|
860
1615
|
/**
|
|
@@ -1733,6 +2488,16 @@ const getIntegrationsAPI = () => {
|
|
|
1733
2488
|
data: wealthboxOauthInitiateBody
|
|
1734
2489
|
});
|
|
1735
2490
|
};
|
|
2491
|
+
/**
|
|
2492
|
+
* Stores clientId and clientSecret for PerUser Wealthbox configs without starting OAuth.
|
|
2493
|
+
* @summary Set Wealthbox OAuth app credentials for a user
|
|
2494
|
+
*/
|
|
2495
|
+
const wealthboxSetUserCredentials = (wealthboxSetUserCredentialsBody) => {
|
|
2496
|
+
return (0, http_client_1.customAxios)({ url: `/wealthbox/auth/set-user-credentials`, method: 'POST',
|
|
2497
|
+
headers: { 'Content-Type': 'application/json', },
|
|
2498
|
+
data: wealthboxSetUserCredentialsBody
|
|
2499
|
+
});
|
|
2500
|
+
};
|
|
1736
2501
|
/**
|
|
1737
2502
|
* Receives OAuth callback from Wealthbox and stores user credentials.
|
|
1738
2503
|
* @summary Handle Wealthbox OAuth callback
|
|
@@ -2184,182 +2949,7 @@ const getIntegrationsAPI = () => {
|
|
|
2184
2949
|
data: wealthboxGetActivityBody
|
|
2185
2950
|
});
|
|
2186
2951
|
};
|
|
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 };
|
|
2952
|
+
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, googleCloudStorageSetUserCredentials, googleCloudStorageUploadData, googleCloudStorageDeleteFile, googleCloudStorageDocumentExists, googleCloudStorageGenerateDownloadSignedUrl, googleCloudStorageGetData, googleCloudStorageGenerateUploadSignedUrl, googleCloudStorageCopyFile, googleCloudStorageGetFileMetadata, googleCloudStorageUploadFile, googleCloudStorageCreateReadStream, googleCloudStorageCreateWriteStream, 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, 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
2953
|
};
|
|
2364
2954
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
2365
2955
|
//# sourceMappingURL=generated-api.js.map
|