samuel-integrations-sdk 0.0.29 → 0.0.31
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 +1128 -577
- package/dist/generated-api.d.ts.map +1 -1
- package/dist/generated-api.js +441 -199
- package/dist/generated-api.js.map +1 -1
- package/dist/http-client.js +3 -3
- package/dist/http-client.js.map +1 -1
- package/dist/index.d.ts +146 -151
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +252 -120
- package/dist/index.js.map +1 -1
- package/dist/response-type-map.d.ts.map +1 -1
- package/dist/response-type-map.js +112 -40
- package/dist/response-type-map.js.map +1 -1
- package/package.json +1 -1
package/dist/generated-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getIntegrationsAPI = exports.
|
|
3
|
+
exports.getIntegrationsAPI = exports.AnthropicGenerateTextBodyMessagesItemRole = exports.AnthropicCreateStreamBodyMessagesItemRole = exports.GmailSendEmail200Provider = exports.GmailSendEmail200Status = exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = exports.OpenaiGenerateTextBodyMessagesItemRole = exports.OpenaiCreateStreamBodyMessagesItemRole = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Generated by orval v7.1.0 🍺
|
|
6
6
|
* Do not edit manually.
|
|
@@ -10,338 +10,580 @@ exports.getIntegrationsAPI = exports.SendEmailBodyProvider = exports.SendEmail20
|
|
|
10
10
|
*/
|
|
11
11
|
const http_client_1 = require("./http-client");
|
|
12
12
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
13
|
-
exports.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
19
|
-
exports.CreateReadStreamBodyProvider = {
|
|
20
|
-
GCP: 'GCP',
|
|
21
|
-
AWS: 'AWS',
|
|
22
|
-
Azure: 'Azure',
|
|
23
|
-
};
|
|
24
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
25
|
-
exports.UploadFileBodyProvider = {
|
|
26
|
-
GCP: 'GCP',
|
|
27
|
-
AWS: 'AWS',
|
|
28
|
-
Azure: 'Azure',
|
|
29
|
-
};
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
31
|
-
exports.GetFileMetadataBodyProvider = {
|
|
32
|
-
GCP: 'GCP',
|
|
33
|
-
AWS: 'AWS',
|
|
34
|
-
Azure: 'Azure',
|
|
35
|
-
};
|
|
36
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
37
|
-
exports.CopyFileBodyProvider = {
|
|
38
|
-
GCP: 'GCP',
|
|
39
|
-
AWS: 'AWS',
|
|
40
|
-
Azure: 'Azure',
|
|
41
|
-
};
|
|
42
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
43
|
-
exports.GenerateUploadSignedUrlBodyProvider = {
|
|
44
|
-
GCP: 'GCP',
|
|
45
|
-
AWS: 'AWS',
|
|
46
|
-
Azure: 'Azure',
|
|
47
|
-
};
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
49
|
-
exports.GetDataBodyProvider = {
|
|
50
|
-
GCP: 'GCP',
|
|
51
|
-
AWS: 'AWS',
|
|
52
|
-
Azure: 'Azure',
|
|
53
|
-
};
|
|
54
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
55
|
-
exports.GenerateDownloadSignedUrlBodyProvider = {
|
|
56
|
-
GCP: 'GCP',
|
|
57
|
-
AWS: 'AWS',
|
|
58
|
-
Azure: 'Azure',
|
|
59
|
-
};
|
|
60
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
61
|
-
exports.DocumentExistsBodyProvider = {
|
|
62
|
-
GCP: 'GCP',
|
|
63
|
-
AWS: 'AWS',
|
|
64
|
-
Azure: 'Azure',
|
|
65
|
-
};
|
|
66
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
67
|
-
exports.DeleteFileBodyProvider = {
|
|
68
|
-
GCP: 'GCP',
|
|
69
|
-
AWS: 'AWS',
|
|
70
|
-
Azure: 'Azure',
|
|
71
|
-
};
|
|
72
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
73
|
-
exports.UploadDataBodyProvider = {
|
|
74
|
-
GCP: 'GCP',
|
|
75
|
-
AWS: 'AWS',
|
|
76
|
-
Azure: 'Azure',
|
|
77
|
-
};
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
79
|
-
exports.VerifyWebhookBodyProvider = {
|
|
80
|
-
Stripe: 'Stripe',
|
|
81
|
-
};
|
|
82
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
83
|
-
exports.CreateCheckoutSessionBodyProvider = {
|
|
84
|
-
Stripe: 'Stripe',
|
|
85
|
-
};
|
|
86
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
87
|
-
exports.HandleOAuthCallbackBodyProvider = {
|
|
88
|
-
Google: 'Google',
|
|
89
|
-
};
|
|
90
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
91
|
-
exports.GetAuthorizationUrlBodyProvider = {
|
|
92
|
-
Google: 'Google',
|
|
93
|
-
};
|
|
94
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
95
|
-
exports.CreateMessageBodyProvider = {
|
|
96
|
-
TwilioWhatsApp: 'TwilioWhatsApp',
|
|
97
|
-
};
|
|
98
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
99
|
-
exports.CreateStreamBodyProvider = {
|
|
100
|
-
Anthropic: 'Anthropic',
|
|
101
|
-
OpenAI: 'OpenAI',
|
|
102
|
-
Google: 'Google',
|
|
13
|
+
exports.OpenaiCreateStreamBodyMessagesItemRole = {
|
|
14
|
+
user: 'user',
|
|
15
|
+
assistant: 'assistant',
|
|
16
|
+
system: 'system',
|
|
103
17
|
};
|
|
104
18
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
105
|
-
exports.
|
|
19
|
+
exports.OpenaiGenerateTextBodyMessagesItemRole = {
|
|
106
20
|
user: 'user',
|
|
107
21
|
assistant: 'assistant',
|
|
108
22
|
system: 'system',
|
|
109
23
|
};
|
|
110
24
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
111
|
-
exports.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
25
|
+
exports.GoogleGenerativeAICreateStreamBodyMessagesItemRole = {
|
|
26
|
+
user: 'user',
|
|
27
|
+
assistant: 'assistant',
|
|
28
|
+
system: 'system',
|
|
115
29
|
};
|
|
116
30
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
117
|
-
exports.
|
|
31
|
+
exports.GoogleGenerativeAIGenerateTextBodyMessagesItemRole = {
|
|
118
32
|
user: 'user',
|
|
119
33
|
assistant: 'assistant',
|
|
120
34
|
system: 'system',
|
|
121
35
|
};
|
|
122
36
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
123
|
-
exports.
|
|
124
|
-
|
|
37
|
+
exports.GmailSendEmail200Status = {
|
|
38
|
+
queued: 'queued',
|
|
125
39
|
};
|
|
126
40
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
127
|
-
exports.
|
|
128
|
-
|
|
129
|
-
'2:3': '2:3',
|
|
130
|
-
'3:2': '3:2',
|
|
131
|
-
'3:4': '3:4',
|
|
132
|
-
'4:3': '4:3',
|
|
133
|
-
'4:5': '4:5',
|
|
134
|
-
'5:4': '5:4',
|
|
135
|
-
'9:16': '9:16',
|
|
136
|
-
'16:9': '16:9',
|
|
137
|
-
'21:9': '21:9',
|
|
41
|
+
exports.GmailSendEmail200Provider = {
|
|
42
|
+
gmail: 'gmail',
|
|
138
43
|
};
|
|
139
44
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
140
|
-
exports.
|
|
141
|
-
|
|
45
|
+
exports.AnthropicCreateStreamBodyMessagesItemRole = {
|
|
46
|
+
user: 'user',
|
|
47
|
+
assistant: 'assistant',
|
|
48
|
+
system: 'system',
|
|
142
49
|
};
|
|
143
50
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
144
|
-
exports.
|
|
145
|
-
|
|
51
|
+
exports.AnthropicGenerateTextBodyMessagesItemRole = {
|
|
52
|
+
user: 'user',
|
|
53
|
+
assistant: 'assistant',
|
|
54
|
+
system: 'system',
|
|
146
55
|
};
|
|
147
56
|
const getIntegrationsAPI = () => {
|
|
148
57
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @summary
|
|
58
|
+
* Stores a generated app user Anthropic API key for PerUser integration configs.
|
|
59
|
+
* @summary Store per-user Anthropic credentials
|
|
151
60
|
*/
|
|
152
|
-
const
|
|
153
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
61
|
+
const anthropicSetUserCredentials = (anthropicSetUserCredentialsBody) => {
|
|
62
|
+
return (0, http_client_1.customAxios)({ url: `/anthropic/set-user-credentials`, method: 'POST',
|
|
154
63
|
headers: { 'Content-Type': 'application/json', },
|
|
155
|
-
data:
|
|
64
|
+
data: anthropicSetUserCredentialsBody
|
|
156
65
|
});
|
|
157
66
|
};
|
|
158
67
|
/**
|
|
159
|
-
* Generate
|
|
160
|
-
* @summary Generate image from text prompt
|
|
68
|
+
* @summary Generate text with Anthropic
|
|
161
69
|
*/
|
|
162
|
-
const
|
|
163
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
70
|
+
const anthropicGenerateText = (anthropicGenerateTextBody) => {
|
|
71
|
+
return (0, http_client_1.customAxios)({ url: `/anthropic/generate-text`, method: 'POST',
|
|
164
72
|
headers: { 'Content-Type': 'application/json', },
|
|
165
|
-
data:
|
|
73
|
+
data: anthropicGenerateTextBody
|
|
166
74
|
});
|
|
167
75
|
};
|
|
168
76
|
/**
|
|
169
|
-
*
|
|
77
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
78
|
+
* @summary Stream text generation with Anthropic
|
|
170
79
|
*/
|
|
171
|
-
const
|
|
172
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
80
|
+
const anthropicCreateStream = (anthropicCreateStreamBody) => {
|
|
81
|
+
return (0, http_client_1.customAxios)({ url: `/anthropic/create-stream`, method: 'POST',
|
|
173
82
|
headers: { 'Content-Type': 'application/json', },
|
|
174
|
-
data:
|
|
83
|
+
data: anthropicCreateStreamBody
|
|
175
84
|
});
|
|
176
85
|
};
|
|
177
86
|
/**
|
|
178
|
-
*
|
|
179
|
-
* @summary Stream text generation from LLM
|
|
87
|
+
* @summary Store per-user AWS S3 credentials
|
|
180
88
|
*/
|
|
181
|
-
const
|
|
182
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
89
|
+
const awsS3SetUserCredentials = (awsS3SetUserCredentialsBody) => {
|
|
90
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/set-user-credentials`, method: 'POST',
|
|
183
91
|
headers: { 'Content-Type': 'application/json', },
|
|
184
|
-
data:
|
|
92
|
+
data: awsS3SetUserCredentialsBody
|
|
185
93
|
});
|
|
186
94
|
};
|
|
187
95
|
/**
|
|
188
|
-
*
|
|
189
|
-
* @summary Create message
|
|
96
|
+
* @summary Upload data to storage
|
|
190
97
|
*/
|
|
191
|
-
const
|
|
192
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
98
|
+
const awsS3UploadData = (awsS3UploadDataBody) => {
|
|
99
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/upload-data`, method: 'POST',
|
|
193
100
|
headers: { 'Content-Type': 'application/json', },
|
|
194
|
-
data:
|
|
101
|
+
data: awsS3UploadDataBody
|
|
195
102
|
});
|
|
196
103
|
};
|
|
197
104
|
/**
|
|
198
|
-
*
|
|
199
|
-
* @summary Get OAuth authorization URL
|
|
105
|
+
* @summary Delete a file from storage
|
|
200
106
|
*/
|
|
201
|
-
const
|
|
202
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
107
|
+
const awsS3DeleteFile = (awsS3DeleteFileBody) => {
|
|
108
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/delete-file`, method: 'POST',
|
|
203
109
|
headers: { 'Content-Type': 'application/json', },
|
|
204
|
-
data:
|
|
110
|
+
data: awsS3DeleteFileBody
|
|
205
111
|
});
|
|
206
112
|
};
|
|
207
113
|
/**
|
|
208
|
-
*
|
|
209
|
-
|
|
114
|
+
* @summary Check if a document exists
|
|
115
|
+
*/
|
|
116
|
+
const awsS3DocumentExists = (awsS3DocumentExistsBody) => {
|
|
117
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/document-exists`, method: 'POST',
|
|
118
|
+
headers: { 'Content-Type': 'application/json', },
|
|
119
|
+
data: awsS3DocumentExistsBody
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @summary Generate a signed URL for downloading
|
|
210
124
|
*/
|
|
211
|
-
const
|
|
212
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
125
|
+
const awsS3GenerateDownloadSignedUrl = (awsS3GenerateDownloadSignedUrlBody) => {
|
|
126
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/generate-download-signed-url`, method: 'POST',
|
|
213
127
|
headers: { 'Content-Type': 'application/json', },
|
|
214
|
-
data:
|
|
128
|
+
data: awsS3GenerateDownloadSignedUrlBody
|
|
215
129
|
});
|
|
216
130
|
};
|
|
217
131
|
/**
|
|
218
|
-
*
|
|
219
|
-
* @summary Create a payment checkout session
|
|
132
|
+
* @summary Get file content as base64
|
|
220
133
|
*/
|
|
221
|
-
const
|
|
222
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
134
|
+
const awsS3GetData = (awsS3GetDataBody) => {
|
|
135
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/get-data`, method: 'POST',
|
|
223
136
|
headers: { 'Content-Type': 'application/json', },
|
|
224
|
-
data:
|
|
137
|
+
data: awsS3GetDataBody
|
|
225
138
|
});
|
|
226
139
|
};
|
|
227
140
|
/**
|
|
228
|
-
*
|
|
229
|
-
|
|
141
|
+
* @summary Generate a signed URL for uploading
|
|
142
|
+
*/
|
|
143
|
+
const awsS3GenerateUploadSignedUrl = (awsS3GenerateUploadSignedUrlBody) => {
|
|
144
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/generate-upload-signed-url`, method: 'POST',
|
|
145
|
+
headers: { 'Content-Type': 'application/json', },
|
|
146
|
+
data: awsS3GenerateUploadSignedUrlBody
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @summary Copy a file within storage
|
|
230
151
|
*/
|
|
231
|
-
const
|
|
232
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
152
|
+
const awsS3CopyFile = (awsS3CopyFileBody) => {
|
|
153
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/copy-file`, method: 'POST',
|
|
233
154
|
headers: { 'Content-Type': 'application/json', },
|
|
234
|
-
data:
|
|
155
|
+
data: awsS3CopyFileBody
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @summary Get file metadata (e.g. size)
|
|
160
|
+
*/
|
|
161
|
+
const awsS3GetFileMetadata = (awsS3GetFileMetadataBody) => {
|
|
162
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/get-file-metadata`, method: 'POST',
|
|
163
|
+
headers: { 'Content-Type': 'application/json', },
|
|
164
|
+
data: awsS3GetFileMetadataBody
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @summary Upload a file via multipart/form-data
|
|
169
|
+
*/
|
|
170
|
+
const awsS3UploadFile = (awsS3UploadFileBody) => {
|
|
171
|
+
const formData = new FormData();
|
|
172
|
+
formData.append('file', awsS3UploadFileBody.file);
|
|
173
|
+
formData.append('destinationKey', awsS3UploadFileBody.destinationKey);
|
|
174
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/upload-file`, method: 'POST',
|
|
175
|
+
headers: { 'Content-Type': 'multipart/form-data', },
|
|
176
|
+
data: formData
|
|
177
|
+
});
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* @summary Stream file content
|
|
181
|
+
*/
|
|
182
|
+
const awsS3CreateReadStream = (awsS3CreateReadStreamBody) => {
|
|
183
|
+
return (0, http_client_1.customAxios)({ url: `/awsS3/create-read-stream`, method: 'POST',
|
|
184
|
+
headers: { 'Content-Type': 'application/json', },
|
|
185
|
+
data: awsS3CreateReadStreamBody
|
|
186
|
+
});
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @summary Store per-user Azure Blob Storage credentials
|
|
190
|
+
*/
|
|
191
|
+
const azureBlobStorageSetUserCredentials = (azureBlobStorageSetUserCredentialsBody) => {
|
|
192
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/set-user-credentials`, method: 'POST',
|
|
193
|
+
headers: { 'Content-Type': 'application/json', },
|
|
194
|
+
data: azureBlobStorageSetUserCredentialsBody
|
|
235
195
|
});
|
|
236
196
|
};
|
|
237
197
|
/**
|
|
238
198
|
* @summary Upload data to storage
|
|
239
199
|
*/
|
|
240
|
-
const
|
|
241
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
200
|
+
const azureBlobStorageUploadData = (azureBlobStorageUploadDataBody) => {
|
|
201
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/upload-data`, method: 'POST',
|
|
242
202
|
headers: { 'Content-Type': 'application/json', },
|
|
243
|
-
data:
|
|
203
|
+
data: azureBlobStorageUploadDataBody
|
|
244
204
|
});
|
|
245
205
|
};
|
|
246
206
|
/**
|
|
247
207
|
* @summary Delete a file from storage
|
|
248
208
|
*/
|
|
249
|
-
const
|
|
250
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
209
|
+
const azureBlobStorageDeleteFile = (azureBlobStorageDeleteFileBody) => {
|
|
210
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/delete-file`, method: 'POST',
|
|
251
211
|
headers: { 'Content-Type': 'application/json', },
|
|
252
|
-
data:
|
|
212
|
+
data: azureBlobStorageDeleteFileBody
|
|
253
213
|
});
|
|
254
214
|
};
|
|
255
215
|
/**
|
|
256
216
|
* @summary Check if a document exists
|
|
257
217
|
*/
|
|
258
|
-
const
|
|
259
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
218
|
+
const azureBlobStorageDocumentExists = (azureBlobStorageDocumentExistsBody) => {
|
|
219
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/document-exists`, method: 'POST',
|
|
260
220
|
headers: { 'Content-Type': 'application/json', },
|
|
261
|
-
data:
|
|
221
|
+
data: azureBlobStorageDocumentExistsBody
|
|
262
222
|
});
|
|
263
223
|
};
|
|
264
224
|
/**
|
|
265
225
|
* @summary Generate a signed URL for downloading
|
|
266
226
|
*/
|
|
267
|
-
const
|
|
268
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
227
|
+
const azureBlobStorageGenerateDownloadSignedUrl = (azureBlobStorageGenerateDownloadSignedUrlBody) => {
|
|
228
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/generate-download-signed-url`, method: 'POST',
|
|
269
229
|
headers: { 'Content-Type': 'application/json', },
|
|
270
|
-
data:
|
|
230
|
+
data: azureBlobStorageGenerateDownloadSignedUrlBody
|
|
271
231
|
});
|
|
272
232
|
};
|
|
273
233
|
/**
|
|
274
234
|
* @summary Get file content as base64
|
|
275
235
|
*/
|
|
276
|
-
const
|
|
277
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
236
|
+
const azureBlobStorageGetData = (azureBlobStorageGetDataBody) => {
|
|
237
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/get-data`, method: 'POST',
|
|
278
238
|
headers: { 'Content-Type': 'application/json', },
|
|
279
|
-
data:
|
|
239
|
+
data: azureBlobStorageGetDataBody
|
|
280
240
|
});
|
|
281
241
|
};
|
|
282
242
|
/**
|
|
283
243
|
* @summary Generate a signed URL for uploading
|
|
284
244
|
*/
|
|
285
|
-
const
|
|
286
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
245
|
+
const azureBlobStorageGenerateUploadSignedUrl = (azureBlobStorageGenerateUploadSignedUrlBody) => {
|
|
246
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/generate-upload-signed-url`, method: 'POST',
|
|
287
247
|
headers: { 'Content-Type': 'application/json', },
|
|
288
|
-
data:
|
|
248
|
+
data: azureBlobStorageGenerateUploadSignedUrlBody
|
|
289
249
|
});
|
|
290
250
|
};
|
|
291
251
|
/**
|
|
292
252
|
* @summary Copy a file within storage
|
|
293
253
|
*/
|
|
294
|
-
const
|
|
295
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
254
|
+
const azureBlobStorageCopyFile = (azureBlobStorageCopyFileBody) => {
|
|
255
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/copy-file`, method: 'POST',
|
|
296
256
|
headers: { 'Content-Type': 'application/json', },
|
|
297
|
-
data:
|
|
257
|
+
data: azureBlobStorageCopyFileBody
|
|
298
258
|
});
|
|
299
259
|
};
|
|
300
260
|
/**
|
|
301
261
|
* @summary Get file metadata (e.g. size)
|
|
302
262
|
*/
|
|
303
|
-
const
|
|
304
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
263
|
+
const azureBlobStorageGetFileMetadata = (azureBlobStorageGetFileMetadataBody) => {
|
|
264
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/get-file-metadata`, method: 'POST',
|
|
305
265
|
headers: { 'Content-Type': 'application/json', },
|
|
306
|
-
data:
|
|
266
|
+
data: azureBlobStorageGetFileMetadataBody
|
|
307
267
|
});
|
|
308
268
|
};
|
|
309
269
|
/**
|
|
310
270
|
* @summary Upload a file via multipart/form-data
|
|
311
271
|
*/
|
|
312
|
-
const
|
|
272
|
+
const azureBlobStorageUploadFile = (azureBlobStorageUploadFileBody) => {
|
|
313
273
|
const formData = new FormData();
|
|
314
|
-
formData.append('file',
|
|
315
|
-
formData.append('destinationKey',
|
|
316
|
-
|
|
317
|
-
formData.append('provider', uploadFileBody.provider);
|
|
318
|
-
}
|
|
319
|
-
return (0, http_client_1.customAxios)({ url: `/storage/uploadFile`, method: 'POST',
|
|
274
|
+
formData.append('file', azureBlobStorageUploadFileBody.file);
|
|
275
|
+
formData.append('destinationKey', azureBlobStorageUploadFileBody.destinationKey);
|
|
276
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/upload-file`, method: 'POST',
|
|
320
277
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
321
278
|
data: formData
|
|
322
279
|
});
|
|
323
280
|
};
|
|
324
281
|
/**
|
|
325
|
-
* @summary Stream file content
|
|
282
|
+
* @summary Stream file content
|
|
326
283
|
*/
|
|
327
|
-
const
|
|
328
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
284
|
+
const azureBlobStorageCreateReadStream = (azureBlobStorageCreateReadStreamBody) => {
|
|
285
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/create-read-stream`, method: 'POST',
|
|
329
286
|
headers: { 'Content-Type': 'application/json', },
|
|
330
|
-
data:
|
|
331
|
-
responseType: 'blob'
|
|
287
|
+
data: azureBlobStorageCreateReadStreamBody
|
|
332
288
|
});
|
|
333
289
|
};
|
|
334
290
|
/**
|
|
335
|
-
* @summary Stream upload
|
|
291
|
+
* @summary Stream upload
|
|
336
292
|
*/
|
|
337
|
-
const
|
|
338
|
-
return (0, http_client_1.customAxios)({ url: `/
|
|
293
|
+
const azureBlobStorageCreateWriteStream = (azureBlobStorageCreateWriteStreamBody, params) => {
|
|
294
|
+
return (0, http_client_1.customAxios)({ url: `/azureBlobStorage/create-write-stream`, method: 'POST',
|
|
339
295
|
headers: { 'Content-Type': 'application/octet-stream', },
|
|
340
|
-
data:
|
|
296
|
+
data: azureBlobStorageCreateWriteStreamBody,
|
|
341
297
|
params
|
|
342
298
|
});
|
|
343
299
|
};
|
|
344
|
-
|
|
300
|
+
/**
|
|
301
|
+
* Starts a Gmail OAuth connection. Shared configs use app-level credentials; PerUser configs require clientId/clientSecret in the request.
|
|
302
|
+
* @summary Start Gmail OAuth flow
|
|
303
|
+
*/
|
|
304
|
+
const gmailAuthStart = (gmailAuthStartBody) => {
|
|
305
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/auth/start`, method: 'POST',
|
|
306
|
+
headers: { 'Content-Type': 'application/json', },
|
|
307
|
+
data: gmailAuthStartBody
|
|
308
|
+
});
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* Unauthorized IntegrationHub-owned callback for Google OAuth completion.
|
|
312
|
+
* @summary Handle Gmail OAuth callback
|
|
313
|
+
*/
|
|
314
|
+
const gmailOauthCallback = () => {
|
|
315
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/oauth/callback`, method: 'GET'
|
|
316
|
+
});
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Dummy Gmail send email endpoint that resolves user credentials and exercises the OAuth refresh/retry framework.
|
|
320
|
+
* @summary Send an email via Gmail
|
|
321
|
+
*/
|
|
322
|
+
const gmailSendEmail = (gmailSendEmailBody) => {
|
|
323
|
+
return (0, http_client_1.customAxios)({ url: `/gmail/send-email`, method: 'POST',
|
|
324
|
+
headers: { 'Content-Type': 'application/json', },
|
|
325
|
+
data: gmailSendEmailBody
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* @summary Store per-user Google Cloud Storage credentials
|
|
330
|
+
*/
|
|
331
|
+
const googleCloudStorageSetUserCredentials = (googleCloudStorageSetUserCredentialsBody) => {
|
|
332
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/set-user-credentials`, method: 'POST',
|
|
333
|
+
headers: { 'Content-Type': 'application/json', },
|
|
334
|
+
data: googleCloudStorageSetUserCredentialsBody
|
|
335
|
+
});
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* @summary Upload data to storage
|
|
339
|
+
*/
|
|
340
|
+
const googleCloudStorageUploadData = (googleCloudStorageUploadDataBody) => {
|
|
341
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/upload-data`, method: 'POST',
|
|
342
|
+
headers: { 'Content-Type': 'application/json', },
|
|
343
|
+
data: googleCloudStorageUploadDataBody
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* @summary Delete a file from storage
|
|
348
|
+
*/
|
|
349
|
+
const googleCloudStorageDeleteFile = (googleCloudStorageDeleteFileBody) => {
|
|
350
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/delete-file`, method: 'POST',
|
|
351
|
+
headers: { 'Content-Type': 'application/json', },
|
|
352
|
+
data: googleCloudStorageDeleteFileBody
|
|
353
|
+
});
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* @summary Check if a document exists
|
|
357
|
+
*/
|
|
358
|
+
const googleCloudStorageDocumentExists = (googleCloudStorageDocumentExistsBody) => {
|
|
359
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/document-exists`, method: 'POST',
|
|
360
|
+
headers: { 'Content-Type': 'application/json', },
|
|
361
|
+
data: googleCloudStorageDocumentExistsBody
|
|
362
|
+
});
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* @summary Generate a signed URL for downloading
|
|
366
|
+
*/
|
|
367
|
+
const googleCloudStorageGenerateDownloadSignedUrl = (googleCloudStorageGenerateDownloadSignedUrlBody) => {
|
|
368
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/generate-download-signed-url`, method: 'POST',
|
|
369
|
+
headers: { 'Content-Type': 'application/json', },
|
|
370
|
+
data: googleCloudStorageGenerateDownloadSignedUrlBody
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* @summary Get file content as base64
|
|
375
|
+
*/
|
|
376
|
+
const googleCloudStorageGetData = (googleCloudStorageGetDataBody) => {
|
|
377
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/get-data`, method: 'POST',
|
|
378
|
+
headers: { 'Content-Type': 'application/json', },
|
|
379
|
+
data: googleCloudStorageGetDataBody
|
|
380
|
+
});
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* @summary Generate a signed URL for uploading
|
|
384
|
+
*/
|
|
385
|
+
const googleCloudStorageGenerateUploadSignedUrl = (googleCloudStorageGenerateUploadSignedUrlBody) => {
|
|
386
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/generate-upload-signed-url`, method: 'POST',
|
|
387
|
+
headers: { 'Content-Type': 'application/json', },
|
|
388
|
+
data: googleCloudStorageGenerateUploadSignedUrlBody
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* @summary Copy a file within storage
|
|
393
|
+
*/
|
|
394
|
+
const googleCloudStorageCopyFile = (googleCloudStorageCopyFileBody) => {
|
|
395
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/copy-file`, method: 'POST',
|
|
396
|
+
headers: { 'Content-Type': 'application/json', },
|
|
397
|
+
data: googleCloudStorageCopyFileBody
|
|
398
|
+
});
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* @summary Get file metadata (e.g. size)
|
|
402
|
+
*/
|
|
403
|
+
const googleCloudStorageGetFileMetadata = (googleCloudStorageGetFileMetadataBody) => {
|
|
404
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/get-file-metadata`, method: 'POST',
|
|
405
|
+
headers: { 'Content-Type': 'application/json', },
|
|
406
|
+
data: googleCloudStorageGetFileMetadataBody
|
|
407
|
+
});
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* @summary Upload a file via multipart/form-data
|
|
411
|
+
*/
|
|
412
|
+
const googleCloudStorageUploadFile = (googleCloudStorageUploadFileBody) => {
|
|
413
|
+
const formData = new FormData();
|
|
414
|
+
formData.append('file', googleCloudStorageUploadFileBody.file);
|
|
415
|
+
formData.append('destinationKey', googleCloudStorageUploadFileBody.destinationKey);
|
|
416
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/upload-file`, method: 'POST',
|
|
417
|
+
headers: { 'Content-Type': 'multipart/form-data', },
|
|
418
|
+
data: formData
|
|
419
|
+
});
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* @summary Stream file content
|
|
423
|
+
*/
|
|
424
|
+
const googleCloudStorageCreateReadStream = (googleCloudStorageCreateReadStreamBody) => {
|
|
425
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/create-read-stream`, method: 'POST',
|
|
426
|
+
headers: { 'Content-Type': 'application/json', },
|
|
427
|
+
data: googleCloudStorageCreateReadStreamBody
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* @summary Stream upload
|
|
432
|
+
*/
|
|
433
|
+
const googleCloudStorageCreateWriteStream = (googleCloudStorageCreateWriteStreamBody, params) => {
|
|
434
|
+
return (0, http_client_1.customAxios)({ url: `/googleCloudStorage/create-write-stream`, method: 'POST',
|
|
435
|
+
headers: { 'Content-Type': 'application/octet-stream', },
|
|
436
|
+
data: googleCloudStorageCreateWriteStreamBody,
|
|
437
|
+
params
|
|
438
|
+
});
|
|
439
|
+
};
|
|
440
|
+
/**
|
|
441
|
+
* Stores a generated app user Google Gemini API key for PerUser integration configs.
|
|
442
|
+
* @summary Store per-user Google Generative AI credentials
|
|
443
|
+
*/
|
|
444
|
+
const googleGenerativeAISetUserCredentials = (googleGenerativeAISetUserCredentialsBody) => {
|
|
445
|
+
return (0, http_client_1.customAxios)({ url: `/googleGenerativeAI/set-user-credentials`, method: 'POST',
|
|
446
|
+
headers: { 'Content-Type': 'application/json', },
|
|
447
|
+
data: googleGenerativeAISetUserCredentialsBody
|
|
448
|
+
});
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* @summary Generate text with GoogleGenerativeAI
|
|
452
|
+
*/
|
|
453
|
+
const googleGenerativeAIGenerateText = (googleGenerativeAIGenerateTextBody) => {
|
|
454
|
+
return (0, http_client_1.customAxios)({ url: `/googleGenerativeAI/generate-text`, method: 'POST',
|
|
455
|
+
headers: { 'Content-Type': 'application/json', },
|
|
456
|
+
data: googleGenerativeAIGenerateTextBody
|
|
457
|
+
});
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
461
|
+
* @summary Stream text generation with GoogleGenerativeAI
|
|
462
|
+
*/
|
|
463
|
+
const googleGenerativeAICreateStream = (googleGenerativeAICreateStreamBody) => {
|
|
464
|
+
return (0, http_client_1.customAxios)({ url: `/googleGenerativeAI/create-stream`, method: 'POST',
|
|
465
|
+
headers: { 'Content-Type': 'application/json', },
|
|
466
|
+
data: googleGenerativeAICreateStreamBody
|
|
467
|
+
});
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* Generate a Google OAuth authorization URL using the resolved integration config.
|
|
471
|
+
* @summary Get Google OAuth authorization URL
|
|
472
|
+
*/
|
|
473
|
+
const googleOAuthGetAuthorizationUrl = (googleOAuthGetAuthorizationUrlBody) => {
|
|
474
|
+
return (0, http_client_1.customAxios)({ url: `/googleOAuth/get-authorization-url`, method: 'POST',
|
|
475
|
+
headers: { 'Content-Type': 'application/json', },
|
|
476
|
+
data: googleOAuthGetAuthorizationUrlBody
|
|
477
|
+
});
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Fetch the stored Google OAuth profile for an integration user.
|
|
481
|
+
* @summary Get Google OAuth user profile
|
|
482
|
+
*/
|
|
483
|
+
const googleOAuthGetUserProfile = (googleOAuthGetUserProfileBody) => {
|
|
484
|
+
return (0, http_client_1.customAxios)({ url: `/googleOAuth/get-user-profile`, method: 'POST',
|
|
485
|
+
headers: { 'Content-Type': 'application/json', },
|
|
486
|
+
data: googleOAuthGetUserProfileBody
|
|
487
|
+
});
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* Public callback used by Google to complete browser-based Google login.
|
|
491
|
+
* @summary Handle Google OAuth browser callback
|
|
492
|
+
*/
|
|
493
|
+
const googleOAuthOauthCallback = () => {
|
|
494
|
+
return (0, http_client_1.customAxios)({ url: `/googleOAuth/oauth/callback`, method: 'GET'
|
|
495
|
+
});
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* Stores a generated app user OpenAI API key for PerUser integration configs.
|
|
499
|
+
* @summary Store per-user OpenAI credentials
|
|
500
|
+
*/
|
|
501
|
+
const openaiSetUserCredentials = (openaiSetUserCredentialsBody) => {
|
|
502
|
+
return (0, http_client_1.customAxios)({ url: `/openai/set-user-credentials`, method: 'POST',
|
|
503
|
+
headers: { 'Content-Type': 'application/json', },
|
|
504
|
+
data: openaiSetUserCredentialsBody
|
|
505
|
+
});
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* @summary Generate text with OpenAI
|
|
509
|
+
*/
|
|
510
|
+
const openaiGenerateText = (openaiGenerateTextBody) => {
|
|
511
|
+
return (0, http_client_1.customAxios)({ url: `/openai/generate-text`, method: 'POST',
|
|
512
|
+
headers: { 'Content-Type': 'application/json', },
|
|
513
|
+
data: openaiGenerateTextBody
|
|
514
|
+
});
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* Creates a Server-Sent Events (SSE) stream that returns UI message chunks compatible with Vercel AI SDK clients.
|
|
518
|
+
* @summary Stream text generation with OpenAI
|
|
519
|
+
*/
|
|
520
|
+
const openaiCreateStream = (openaiCreateStreamBody) => {
|
|
521
|
+
return (0, http_client_1.customAxios)({ url: `/openai/create-stream`, method: 'POST',
|
|
522
|
+
headers: { 'Content-Type': 'application/json', },
|
|
523
|
+
data: openaiCreateStreamBody
|
|
524
|
+
});
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* Stores a generated app user Resend API key for PerUser integration configs.
|
|
528
|
+
* @summary Store per-user Resend credentials
|
|
529
|
+
*/
|
|
530
|
+
const resendSetUserCredentials = (resendSetUserCredentialsBody) => {
|
|
531
|
+
return (0, http_client_1.customAxios)({ url: `/resend/set-user-credentials`, method: 'POST',
|
|
532
|
+
headers: { 'Content-Type': 'application/json', },
|
|
533
|
+
data: resendSetUserCredentialsBody
|
|
534
|
+
});
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* Sends an email using Resend. Configuration is resolved via integration config.
|
|
538
|
+
* @summary Send an email via Resend
|
|
539
|
+
*/
|
|
540
|
+
const resendSendEmail = (resendSendEmailBody) => {
|
|
541
|
+
return (0, http_client_1.customAxios)({ url: `/resend/send-email`, method: 'POST',
|
|
542
|
+
headers: { 'Content-Type': 'application/json', },
|
|
543
|
+
data: resendSendEmailBody
|
|
544
|
+
});
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* Creates a new checkout session for accepting payments via Stripe.
|
|
548
|
+
* @summary Create a Stripe checkout session
|
|
549
|
+
*/
|
|
550
|
+
const stripeCreateCheckoutSession = (stripeCreateCheckoutSessionBody) => {
|
|
551
|
+
return (0, http_client_1.customAxios)({ url: `/stripe/create-checkout-session`, method: 'POST',
|
|
552
|
+
headers: { 'Content-Type': 'application/json', },
|
|
553
|
+
data: stripeCreateCheckoutSessionBody
|
|
554
|
+
});
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Verifies the signature of a webhook event from Stripe.
|
|
558
|
+
* @summary Verify a Stripe webhook signature
|
|
559
|
+
*/
|
|
560
|
+
const stripeVerifyWebhook = (stripeVerifyWebhookBody) => {
|
|
561
|
+
return (0, http_client_1.customAxios)({ url: `/stripe/verify-webhook`, method: 'POST',
|
|
562
|
+
headers: { 'Content-Type': 'application/json', },
|
|
563
|
+
data: stripeVerifyWebhookBody
|
|
564
|
+
});
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* Stores generated app user Twilio WhatsApp credentials for PerUser integration configs.
|
|
568
|
+
* @summary Store per-user Twilio WhatsApp credentials
|
|
569
|
+
*/
|
|
570
|
+
const twilioWhatsappSetUserCredentials = (twilioWhatsappSetUserCredentialsBody) => {
|
|
571
|
+
return (0, http_client_1.customAxios)({ url: `/twilioWhatsapp/set-user-credentials`, method: 'POST',
|
|
572
|
+
headers: { 'Content-Type': 'application/json', },
|
|
573
|
+
data: twilioWhatsappSetUserCredentialsBody
|
|
574
|
+
});
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Send a message using a configured messaging provider. Message content must include body, media, or a template.
|
|
578
|
+
* @summary Create message
|
|
579
|
+
*/
|
|
580
|
+
const twilioWhatsappCreateMessage = (twilioWhatsappCreateMessageBody) => {
|
|
581
|
+
return (0, http_client_1.customAxios)({ url: `/twilioWhatsapp/create-message`, method: 'POST',
|
|
582
|
+
headers: { 'Content-Type': 'application/json', },
|
|
583
|
+
data: twilioWhatsappCreateMessageBody
|
|
584
|
+
});
|
|
585
|
+
};
|
|
586
|
+
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, googleGenerativeAICreateStream, googleOAuthGetAuthorizationUrl, googleOAuthGetUserProfile, googleOAuthOauthCallback, openaiSetUserCredentials, openaiGenerateText, openaiCreateStream, resendSetUserCredentials, resendSendEmail, stripeCreateCheckoutSession, stripeVerifyWebhook, twilioWhatsappSetUserCredentials, twilioWhatsappCreateMessage };
|
|
345
587
|
};
|
|
346
588
|
exports.getIntegrationsAPI = getIntegrationsAPI;
|
|
347
589
|
//# sourceMappingURL=generated-api.js.map
|