@uptiqai/integrations-sdk 1.2.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole = exports.AnthropicCreateStreamBodyMessagesItemRole = exports.GmailSendEmail200Provider = exports.GmailSendEmail200Status = exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = exports.GoogleGenerativeAIGenerateImageBodyAspectRatio = exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = exports.OpenaiGenerateTextBodyMessagesItemRole = exports.OpenaiCreateStreamBodyMessagesItemRole = exports.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.WealthboxUpdateContactBodyAllOfContactSource = exports.WealthboxUpdateContactBodyAllOfContactType = exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = exports.WealthboxUpdateContactBodyAllOfGender = exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = exports.WealthboxUpdateContactBodyAllOfInvestmentObjective = exports.WealthboxUpdateContactBodyAllOfMaritalStatus = exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = exports.WealthboxUpdateContactBodyAllOfRiskTolerance = exports.WealthboxUpdateContactBodyAllOfStatus = exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = exports.WealthboxUpdateContactBodyAllOfTimeHorizon = exports.WealthboxUpdateContactBodyAllOfType = exports.WealthboxUpdateContactBodyAllOfWebsitesItemKind = exports.WealthboxCreateTaskBodyPriority = exports.WealthboxUpdateTaskBodyPriority = exports.WealthboxCreateEventBodyState = exports.WealthboxUpdateEventBodyState = exports.WealthboxAddHouseholdMemberBodyTitle = void 0;
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.
@@ -50,26 +51,26 @@ exports.WealthboxCreateTaskBodyPriority = {
50
51
  High: 'High',
51
52
  };
52
53
  // eslint-disable-next-line @typescript-eslint/no-redeclare
53
- exports.WealthboxUpdateContactBodyAllOfWebsitesItemKind = {
54
+ exports.WealthboxUpdateContactBodyWebsitesItemKind = {
54
55
  Website: 'Website',
55
56
  Facebook: 'Facebook',
56
57
  Blog: 'Blog',
57
58
  };
58
59
  // eslint-disable-next-line @typescript-eslint/no-redeclare
59
- exports.WealthboxUpdateContactBodyAllOfType = {
60
+ exports.WealthboxUpdateContactBodyType = {
60
61
  Person: 'Person',
61
62
  Household: 'Household',
62
63
  Organization: 'Organization',
63
64
  Trust: 'Trust',
64
65
  };
65
66
  // eslint-disable-next-line @typescript-eslint/no-redeclare
66
- exports.WealthboxUpdateContactBodyAllOfTimeHorizon = {
67
+ exports.WealthboxUpdateContactBodyTimeHorizon = {
67
68
  Short_Term: 'Short Term',
68
69
  Intermediate: 'Intermediate',
69
70
  Long_Term: 'Long Term',
70
71
  };
71
72
  // eslint-disable-next-line @typescript-eslint/no-redeclare
72
- exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = {
73
+ exports.WealthboxUpdateContactBodyStreetAddressesItemKind = {
73
74
  Work: 'Work',
74
75
  Home: 'Home',
75
76
  Mobile: 'Mobile',
@@ -78,18 +79,18 @@ exports.WealthboxUpdateContactBodyAllOfStreetAddressesItemKind = {
78
79
  Other: 'Other',
79
80
  };
80
81
  // eslint-disable-next-line @typescript-eslint/no-redeclare
81
- exports.WealthboxUpdateContactBodyAllOfStatus = {
82
+ exports.WealthboxUpdateContactBodyStatus = {
82
83
  Active: 'Active',
83
84
  Inactive: 'Inactive',
84
85
  };
85
86
  // eslint-disable-next-line @typescript-eslint/no-redeclare
86
- exports.WealthboxUpdateContactBodyAllOfRiskTolerance = {
87
+ exports.WealthboxUpdateContactBodyRiskTolerance = {
87
88
  Low: 'Low',
88
89
  Moderate: 'Moderate',
89
90
  High_Risk: 'High Risk',
90
91
  };
91
92
  // eslint-disable-next-line @typescript-eslint/no-redeclare
92
- exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = {
93
+ exports.WealthboxUpdateContactBodyPhoneNumbersItemKind = {
93
94
  Work: 'Work',
94
95
  Home: 'Home',
95
96
  Mobile: 'Mobile',
@@ -98,7 +99,7 @@ exports.WealthboxUpdateContactBodyAllOfPhoneNumbersItemKind = {
98
99
  Other: 'Other',
99
100
  };
100
101
  // eslint-disable-next-line @typescript-eslint/no-redeclare
101
- exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
102
+ exports.WealthboxUpdateContactBodyMaritalStatus = {
102
103
  Married: 'Married',
103
104
  Single: 'Single',
104
105
  Divorced: 'Divorced',
@@ -108,14 +109,14 @@ exports.WealthboxUpdateContactBodyAllOfMaritalStatus = {
108
109
  Unknown: 'Unknown',
109
110
  };
110
111
  // eslint-disable-next-line @typescript-eslint/no-redeclare
111
- exports.WealthboxUpdateContactBodyAllOfInvestmentObjective = {
112
+ exports.WealthboxUpdateContactBodyInvestmentObjective = {
112
113
  Aggressive_Growth: 'Aggressive Growth',
113
114
  Growth: 'Growth',
114
115
  Income: 'Income',
115
116
  Safety_of_Principal: 'Safety of Principal',
116
117
  };
117
118
  // eslint-disable-next-line @typescript-eslint/no-redeclare
118
- exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = {
119
+ exports.WealthboxUpdateContactBodyHouseholdTitle = {
119
120
  Head: 'Head',
120
121
  Spouse: 'Spouse',
121
122
  Partner: 'Partner',
@@ -127,14 +128,14 @@ exports.WealthboxUpdateContactBodyAllOfHouseholdTitle = {
127
128
  Other_Dependent: 'Other Dependent',
128
129
  };
129
130
  // eslint-disable-next-line @typescript-eslint/no-redeclare
130
- exports.WealthboxUpdateContactBodyAllOfGender = {
131
+ exports.WealthboxUpdateContactBodyGender = {
131
132
  Female: 'Female',
132
133
  Male: 'Male',
133
134
  'Non-binary': 'Non-binary',
134
135
  Unknown: 'Unknown',
135
136
  };
136
137
  // eslint-disable-next-line @typescript-eslint/no-redeclare
137
- exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = {
138
+ exports.WealthboxUpdateContactBodyEmailAddressesItemKind = {
138
139
  Work: 'Work',
139
140
  Home: 'Home',
140
141
  Mobile: 'Mobile',
@@ -143,7 +144,7 @@ exports.WealthboxUpdateContactBodyAllOfEmailAddressesItemKind = {
143
144
  Other: 'Other',
144
145
  };
145
146
  // eslint-disable-next-line @typescript-eslint/no-redeclare
146
- exports.WealthboxUpdateContactBodyAllOfContactType = {
147
+ exports.WealthboxUpdateContactBodyContactType = {
147
148
  Client: 'Client',
148
149
  Past_Client: 'Past Client',
149
150
  Prospect: 'Prospect',
@@ -151,7 +152,7 @@ exports.WealthboxUpdateContactBodyAllOfContactType = {
151
152
  Organization: 'Organization',
152
153
  };
153
154
  // eslint-disable-next-line @typescript-eslint/no-redeclare
154
- exports.WealthboxUpdateContactBodyAllOfContactSource = {
155
+ exports.WealthboxUpdateContactBodyContactSource = {
155
156
  Referral: 'Referral',
156
157
  Conference: 'Conference',
157
158
  Direct_Mail: 'Direct Mail',
@@ -284,6 +285,11 @@ exports.RedtailUpdateContactBodyType = {
284
285
  Union: 'Union',
285
286
  };
286
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
287
293
  exports.OpenaiCreateStreamBodyMessagesItemRole = {
288
294
  user: 'user',
289
295
  assistant: 'assistant',
@@ -296,6 +302,32 @@ exports.OpenaiGenerateTextBodyMessagesItemRole = {
296
302
  system: 'system',
297
303
  };
298
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
299
331
  exports.GoogleGenerativeAIImageGenerateImageBodyAspectRatio = {
300
332
  '1:1': '1:1',
301
333
  '2:3': '2:3',
@@ -334,6 +366,34 @@ exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = {
334
366
  system: 'system',
335
367
  };
336
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
337
397
  exports.GmailSendEmail200Status = {
338
398
  queued: 'queued',
339
399
  };
@@ -342,6 +402,16 @@ exports.GmailSendEmail200Provider = {
342
402
  gmail: 'gmail',
343
403
  };
344
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
345
415
  exports.AnthropicCreateStreamBodyMessagesItemRole = {
346
416
  user: 'user',
347
417
  assistant: 'assistant',
@@ -603,6 +673,116 @@ const getIntegrationsAPI = () => {
603
673
  params
604
674
  });
605
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
+ };
606
786
  /**
607
787
  * Starts a Gmail OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
608
788
  * @summary Start Gmail OAuth flow
@@ -613,6 +793,16 @@ const getIntegrationsAPI = () => {
613
793
  data: gmailAuthStartBody
614
794
  });
615
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
+ };
616
806
  /**
617
807
  * Unauthorized IntegrationHub-owned callback for Google OAuth completion.
618
808
  * @summary Handle Gmail OAuth callback
@@ -746,6 +936,100 @@ const getIntegrationsAPI = () => {
746
936
  params
747
937
  });
748
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
+ };
749
1033
  /**
750
1034
  * Stores a generated app user Google Gemini API key for PerUser integration configs.
751
1035
  * @summary Store per-user Google Generative AI credentials
@@ -823,6 +1107,297 @@ const getIntegrationsAPI = () => {
823
1107
  return (0, http_client_1.customAxios)({ url: `/google-oauth/oauth/callback`, method: 'GET'
824
1108
  });
825
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
+ };
826
1401
  /**
827
1402
  * Stores a generated app user OpenAI API key for PerUser integration configs.
828
1403
  * @summary Store per-user OpenAI credentials
@@ -852,6 +1427,191 @@ const getIntegrationsAPI = () => {
852
1427
  data: openaiCreateStreamBody
853
1428
  });
854
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
1538
+ });
1539
+ };
1540
+ /**
1541
+ * PerUser integration configs require `userId` in the body so Plaid developer credentials resolve from the user row.
1542
+ * @summary Get institution by ID
1543
+ */
1544
+ const plaidGetInstitutionById = (plaidGetInstitutionByIdBody) => {
1545
+ return (0, http_client_1.customAxios)({ url: `/plaid/institutions/get-by-id`, method: 'POST',
1546
+ headers: { 'Content-Type': 'application/json', },
1547
+ data: plaidGetInstitutionByIdBody
1548
+ });
1549
+ };
1550
+ /**
1551
+ * @summary Get investment holdings
1552
+ */
1553
+ const plaidGetInvestmentHoldings = (plaidGetInvestmentHoldingsBody) => {
1554
+ return (0, http_client_1.customAxios)({ url: `/plaid/investments/holdings/get`, method: 'POST',
1555
+ headers: { 'Content-Type': 'application/json', },
1556
+ data: plaidGetInvestmentHoldingsBody
1557
+ });
1558
+ };
1559
+ /**
1560
+ * @summary Get investment transactions
1561
+ */
1562
+ const plaidGetInvestmentTransactions = (plaidGetInvestmentTransactionsBody) => {
1563
+ return (0, http_client_1.customAxios)({ url: `/plaid/investments/transactions/get`, method: 'POST',
1564
+ headers: { 'Content-Type': 'application/json', },
1565
+ data: plaidGetInvestmentTransactionsBody
1566
+ });
1567
+ };
1568
+ /**
1569
+ * @summary Get liabilities
1570
+ */
1571
+ const plaidGetLiabilities = (plaidGetLiabilitiesBody) => {
1572
+ return (0, http_client_1.customAxios)({ url: `/plaid/liabilities/get`, method: 'POST',
1573
+ headers: { 'Content-Type': 'application/json', },
1574
+ data: plaidGetLiabilitiesBody
1575
+ });
1576
+ };
1577
+ /**
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
1580
+ */
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
1585
+ });
1586
+ };
1587
+ /**
1588
+ * @summary Get Asset Report
1589
+ */
1590
+ const plaidGetAssetReport = (plaidGetAssetReportBody) => {
1591
+ return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/get`, method: 'POST',
1592
+ headers: { 'Content-Type': 'application/json', },
1593
+ data: plaidGetAssetReportBody
1594
+ });
1595
+ };
1596
+ /**
1597
+ * @summary Refresh Asset Report
1598
+ */
1599
+ const plaidRefreshAssetReport = (plaidRefreshAssetReportBody) => {
1600
+ return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/refresh`, method: 'POST',
1601
+ headers: { 'Content-Type': 'application/json', },
1602
+ data: plaidRefreshAssetReportBody
1603
+ });
1604
+ };
1605
+ /**
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
1608
+ */
1609
+ const plaidGetAssetReportPdf = (plaidGetAssetReportPdfBody) => {
1610
+ return (0, http_client_1.customAxios)({ url: `/plaid/asset-report/pdf/get`, method: 'POST',
1611
+ headers: { 'Content-Type': 'application/json', },
1612
+ data: plaidGetAssetReportPdfBody
1613
+ });
1614
+ };
855
1615
  /**
856
1616
  * Authenticates with Redtail using config credentials and stores userKey for PerUser integration configs.
857
1617
  * @summary Store per-user Redtail credentials
@@ -1728,6 +2488,16 @@ const getIntegrationsAPI = () => {
1728
2488
  data: wealthboxOauthInitiateBody
1729
2489
  });
1730
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
+ };
1731
2501
  /**
1732
2502
  * Receives OAuth callback from Wealthbox and stores user credentials.
1733
2503
  * @summary Handle Wealthbox OAuth callback
@@ -2179,7 +2949,7 @@ const getIntegrationsAPI = () => {
2179
2949
  data: wealthboxGetActivityBody
2180
2950
  });
2181
2951
  };
2182
- 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 };
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 };
2183
2953
  };
2184
2954
  exports.getIntegrationsAPI = getIntegrationsAPI;
2185
2955
  //# sourceMappingURL=generated-api.js.map