@uptiqai/integrations-sdk 1.0.6 → 1.0.8

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,481 +1,1045 @@
1
- export type CreateWriteStream500 = {
1
+ export type TwilioWhatsappCreateMessage500 = {
2
+ errorCode?: string;
3
+ message?: string;
4
+ status?: number;
5
+ };
6
+ export type TwilioWhatsappCreateMessage400 = {
7
+ details?: string;
8
+ errorCode?: string;
9
+ message?: string;
10
+ status?: number;
11
+ };
12
+ export type TwilioWhatsappCreateMessage200 = {
13
+ /** Message body */
14
+ body?: string;
15
+ /** Creation date */
16
+ dateCreated?: string;
17
+ /**
18
+ * Error code if any
19
+ * @nullable
20
+ */
21
+ errorCode?: number | null;
22
+ /**
23
+ * Error message if any
24
+ * @nullable
25
+ */
26
+ errorMessage?: string | null;
27
+ /** Sender number */
28
+ from?: string;
29
+ /** Message SID */
30
+ sid: string;
31
+ /** Message status */
32
+ status: string;
33
+ /** Recipient number */
34
+ to: string;
35
+ };
36
+ /**
37
+ * Variables for content templates (optional)
38
+ */
39
+ export type TwilioWhatsappCreateMessageBodyContentVariables = {
40
+ [key: string]: string;
41
+ };
42
+ export type TwilioWhatsappCreateMessageBody = {
43
+ /** Message body text */
44
+ body?: string;
45
+ /** Content SID for template messages (optional) */
46
+ contentSid?: string;
47
+ /** Variables for content templates (optional) */
48
+ contentVariables?: TwilioWhatsappCreateMessageBodyContentVariables;
49
+ /** Sender phone number. Use E.164 or a full whatsapp:+123 format. */
50
+ from?: string;
51
+ /** Media URLs to attach (optional) */
52
+ mediaUrls?: string[];
53
+ /** Messaging Service SID (optional if From is provided) */
54
+ messagingServiceSid?: string;
55
+ /** Webhook URL for message status callbacks (optional) */
56
+ statusCallback?: string;
57
+ /** Recipient phone number. Use E.164 or a full whatsapp:+123 format. */
58
+ to: string;
59
+ /** Required when the Twilio WhatsApp integration config type is PerUser. */
60
+ userId?: string;
61
+ };
62
+ export type TwilioWhatsappSetUserCredentials200 = {
63
+ userId: string;
64
+ };
65
+ export type TwilioWhatsappSetUserCredentialsBody = {
66
+ /**
67
+ * Twilio Account SID for this generated app user.
68
+ * @minLength 1
69
+ */
70
+ accountSid: string;
71
+ /**
72
+ * Twilio Auth Token for this generated app user.
73
+ * @minLength 1
74
+ */
75
+ authToken: string;
76
+ /**
77
+ * Optional per-user sender number. Falls back to the integration config sender.
78
+ * @minLength 1
79
+ */
80
+ from?: string;
81
+ /** Existing integration user id. Omit to create a new integration user credential record. */
82
+ userId?: string;
83
+ };
84
+ export type StripeVerifyWebhook200 = {
85
+ /** Type of webhook event if valid */
86
+ eventType?: string;
87
+ /** Whether the webhook signature is valid */
88
+ valid: boolean;
89
+ };
90
+ export type StripeVerifyWebhookBody = {
91
+ /** Raw webhook payload as string */
92
+ payload: string;
93
+ /** Webhook signature from Stripe */
94
+ signature: string;
95
+ };
96
+ export type StripeCreateCheckoutSession200 = {
97
+ /** Total amount for the checkout session */
98
+ amountTotal: number;
99
+ /** Currency code */
100
+ currency: string;
101
+ /** Checkout session ID */
102
+ id: string;
103
+ /** Current payment status */
104
+ paymentStatus: string;
105
+ /** URL to redirect customer to complete payment */
106
+ url: string;
107
+ };
108
+ /**
109
+ * Additional metadata to attach to the checkout session
110
+ */
111
+ export type StripeCreateCheckoutSessionBodyMetadata = {
112
+ [key: string]: string;
113
+ };
114
+ export type StripeCreateCheckoutSessionBody = {
115
+ /**
116
+ * Payment amount in the smallest currency unit (e.g., cents for USD)
117
+ * @minimum 0
118
+ * @exclusiveMinimum
119
+ */
120
+ amount: number;
121
+ /** URL to redirect to if payment is cancelled */
122
+ cancelUrl: string;
123
+ /**
124
+ * Three-letter ISO currency code
125
+ * @minLength 3
126
+ * @maxLength 3
127
+ */
128
+ currency: string;
129
+ /** Customer email address */
130
+ customerEmail?: string;
131
+ /** Additional metadata to attach to the checkout session */
132
+ metadata?: StripeCreateCheckoutSessionBodyMetadata;
133
+ /** Name of the product or service */
134
+ productName: string;
135
+ /** URL to redirect to after successful payment */
136
+ successUrl: string;
137
+ };
138
+ export type ResendSendEmail200 = {
139
+ /** Provider message ID */
140
+ id?: string;
141
+ };
142
+ export type ResendSendEmailBodyAttachmentsItem = {
143
+ /** Base64-encoded attachment content */
144
+ content: string;
145
+ /** MIME type of the attachment */
146
+ contentType?: string;
147
+ /** Attachment filename */
148
+ filename: string;
149
+ };
150
+ export type ResendSendEmailBody = {
151
+ /** Email attachments */
152
+ attachments?: ResendSendEmailBodyAttachmentsItem[];
153
+ /** BCC recipients */
154
+ bcc?: string[];
155
+ /** CC recipients */
156
+ cc?: string[];
157
+ /** HTML body */
158
+ html?: string;
159
+ /** Reply-to addresses */
160
+ replyTo?: string[];
161
+ /** Email subject */
162
+ subject: string;
163
+ /** Plain text body */
164
+ text?: string;
165
+ /**
166
+ * Recipient email addresses
167
+ * @minItems 1
168
+ */
169
+ to: string[];
170
+ /** Required when the Resend integration config type is PerUser. */
171
+ userId?: string;
172
+ };
173
+ export type ResendSetUserCredentials200 = {
174
+ userId: string;
175
+ };
176
+ export type ResendSetUserCredentialsBody = {
177
+ /**
178
+ * Resend API key for this generated app user.
179
+ * @minLength 1
180
+ */
181
+ apiKey: string;
182
+ /**
183
+ * Optional per-user from address. Falls back to the integration config from address.
184
+ * @minLength 1
185
+ */
186
+ from?: string;
187
+ /** Existing integration user id. Omit to create a new integration user credential record. */
188
+ userId?: string;
189
+ };
190
+ export type OpenaiCreateStream500 = {
2
191
  error?: string;
3
192
  };
4
- export type CreateWriteStream200 = {
193
+ /**
194
+ * Schema for structured output
195
+ * @nullable
196
+ */
197
+ export type OpenaiCreateStreamBodyOutputSchema = unknown | null;
198
+ export type OpenaiCreateStreamBodyOptions = {
199
+ /**
200
+ * Maximum tokens to generate
201
+ * @minimum 0
202
+ * @exclusiveMinimum
203
+ */
204
+ maxTokens?: number;
205
+ /**
206
+ * Sampling temperature (0-2)
207
+ * @minimum 0
208
+ * @maximum 2
209
+ */
210
+ temperature?: number;
211
+ /**
212
+ * Top-p sampling parameter
213
+ * @minimum 0
214
+ * @maximum 1
215
+ */
216
+ topP?: number;
217
+ };
218
+ /**
219
+ * Role of the message sender
220
+ */
221
+ export type OpenaiCreateStreamBodyMessagesItemRole = typeof OpenaiCreateStreamBodyMessagesItemRole[keyof typeof OpenaiCreateStreamBodyMessagesItemRole];
222
+ export declare const OpenaiCreateStreamBodyMessagesItemRole: {
223
+ readonly user: "user";
224
+ readonly assistant: "assistant";
225
+ readonly system: "system";
226
+ };
227
+ export type OpenaiCreateStreamBodyMessagesItemPartsItem = {
228
+ /** Filename for file parts */
229
+ filename?: string;
230
+ /** MIME type of the media */
231
+ mediaType?: string;
232
+ /** Text content */
233
+ text?: string;
234
+ /** Type of message part (text, file, etc.) */
235
+ type: string;
236
+ /** URL for file or media */
237
+ url?: string;
238
+ };
239
+ export type OpenaiCreateStreamBodyMessagesItem = {
240
+ /** Content of the message */
241
+ content?: string;
242
+ /** Multi-part message content */
243
+ parts?: OpenaiCreateStreamBodyMessagesItemPartsItem[];
244
+ /** Role of the message sender */
245
+ role: OpenaiCreateStreamBodyMessagesItemRole;
246
+ };
247
+ export type OpenaiCreateStreamBody = {
248
+ /**
249
+ * Array of chat messages
250
+ * @minItems 1
251
+ */
252
+ messages: OpenaiCreateStreamBodyMessagesItem[];
253
+ /** Specific model to use (defaults to resolved OpenAI model) */
254
+ model?: string;
255
+ options?: OpenaiCreateStreamBodyOptions;
256
+ /**
257
+ * Schema for structured output
258
+ * @nullable
259
+ */
260
+ outputSchema?: OpenaiCreateStreamBodyOutputSchema;
261
+ /** Required when the OpenAI integration config type is PerUser. */
262
+ userId?: string;
263
+ };
264
+ /**
265
+ * Token usage information
266
+ */
267
+ export type OpenaiGenerateText200Usage = {
268
+ completionTokens: number;
269
+ promptTokens: number;
270
+ totalTokens: number;
271
+ };
272
+ /**
273
+ * Structured output if schema provided
274
+ * @nullable
275
+ */
276
+ export type OpenaiGenerateText200Output = unknown | null;
277
+ export type OpenaiGenerateText200 = {
278
+ /** Reason for completion */
279
+ finishReason: string;
280
+ /**
281
+ * Structured output if schema provided
282
+ * @nullable
283
+ */
284
+ output?: OpenaiGenerateText200Output;
285
+ /** Generated text content */
286
+ text: string;
287
+ /** Token usage information */
288
+ usage: OpenaiGenerateText200Usage;
289
+ };
290
+ /**
291
+ * Schema for structured output
292
+ * @nullable
293
+ */
294
+ export type OpenaiGenerateTextBodyOutputSchema = unknown | null;
295
+ export type OpenaiGenerateTextBodyOptions = {
296
+ /**
297
+ * Maximum tokens to generate
298
+ * @minimum 0
299
+ * @exclusiveMinimum
300
+ */
301
+ maxTokens?: number;
302
+ /**
303
+ * Sampling temperature (0-2)
304
+ * @minimum 0
305
+ * @maximum 2
306
+ */
307
+ temperature?: number;
308
+ /**
309
+ * Top-p sampling parameter
310
+ * @minimum 0
311
+ * @maximum 1
312
+ */
313
+ topP?: number;
314
+ };
315
+ /**
316
+ * Role of the message sender
317
+ */
318
+ export type OpenaiGenerateTextBodyMessagesItemRole = typeof OpenaiGenerateTextBodyMessagesItemRole[keyof typeof OpenaiGenerateTextBodyMessagesItemRole];
319
+ export declare const OpenaiGenerateTextBodyMessagesItemRole: {
320
+ readonly user: "user";
321
+ readonly assistant: "assistant";
322
+ readonly system: "system";
323
+ };
324
+ export type OpenaiGenerateTextBodyMessagesItemPartsItem = {
325
+ /** Filename for file parts */
326
+ filename?: string;
327
+ /** MIME type of the media */
328
+ mediaType?: string;
329
+ /** Text content */
330
+ text?: string;
331
+ /** Type of message part (text, file, etc.) */
332
+ type: string;
333
+ /** URL for file or media */
334
+ url?: string;
335
+ };
336
+ export type OpenaiGenerateTextBodyMessagesItem = {
337
+ /** Content of the message */
338
+ content?: string;
339
+ /** Multi-part message content */
340
+ parts?: OpenaiGenerateTextBodyMessagesItemPartsItem[];
341
+ /** Role of the message sender */
342
+ role: OpenaiGenerateTextBodyMessagesItemRole;
343
+ };
344
+ export type OpenaiGenerateTextBody = {
345
+ /**
346
+ * Array of chat messages
347
+ * @minItems 1
348
+ */
349
+ messages: OpenaiGenerateTextBodyMessagesItem[];
350
+ /** Specific model to use (defaults to resolved OpenAI model) */
351
+ model?: string;
352
+ options?: OpenaiGenerateTextBodyOptions;
353
+ /**
354
+ * Schema for structured output
355
+ * @nullable
356
+ */
357
+ outputSchema?: OpenaiGenerateTextBodyOutputSchema;
358
+ /** Required when the OpenAI integration config type is PerUser. */
359
+ userId?: string;
360
+ };
361
+ export type OpenaiSetUserCredentials200 = {
362
+ userId: string;
363
+ };
364
+ export type OpenaiSetUserCredentialsBody = {
365
+ /**
366
+ * OpenAI API key for this generated app user.
367
+ * @minLength 1
368
+ */
369
+ apiKey: string;
370
+ /**
371
+ * Optional per-user default OpenAI model.
372
+ * @minLength 1
373
+ */
374
+ model?: string;
375
+ /** Existing integration user id. Omit to create a new integration user credential record. */
376
+ userId?: string;
377
+ };
378
+ export type GoogleOAuthGetAuthorizationUrl200 = {
379
+ /** Authorization URL to redirect user to */
380
+ url: string;
381
+ };
382
+ export type GoogleOAuthGetAuthorizationUrlBody = {
383
+ /** Required for PerUser Google OAuth configs. Ignored for Shared configs. */
384
+ clientId?: string;
385
+ /** Required for PerUser Google OAuth configs. Ignored for Shared configs. */
386
+ clientSecret?: string;
387
+ /** Generated app URL to redirect the browser to after OAuth completes. */
388
+ originalRedirectUrl?: string;
389
+ /** OAuth scopes to request (default: ["openid", "email", "profile"]) */
390
+ scope?: string[];
391
+ };
392
+ export type GoogleGenerativeAICreateStream500 = {
393
+ error?: string;
394
+ };
395
+ /**
396
+ * Schema for structured output
397
+ * @nullable
398
+ */
399
+ export type GoogleGenerativeAICreateStreamBodyOutputSchema = unknown | null;
400
+ export type GoogleGenerativeAICreateStreamBodyOptions = {
401
+ /**
402
+ * Maximum tokens to generate
403
+ * @minimum 0
404
+ * @exclusiveMinimum
405
+ */
406
+ maxTokens?: number;
407
+ /**
408
+ * Sampling temperature (0-2)
409
+ * @minimum 0
410
+ * @maximum 2
411
+ */
412
+ temperature?: number;
413
+ /**
414
+ * Top-p sampling parameter
415
+ * @minimum 0
416
+ * @maximum 1
417
+ */
418
+ topP?: number;
419
+ };
420
+ /**
421
+ * Role of the message sender
422
+ */
423
+ export type GoogleGenerativeAICreateStreamBodyMessagesItemRole = typeof GoogleGenerativeAICreateStreamBodyMessagesItemRole[keyof typeof GoogleGenerativeAICreateStreamBodyMessagesItemRole];
424
+ export declare const GoogleGenerativeAICreateStreamBodyMessagesItemRole: {
425
+ readonly user: "user";
426
+ readonly assistant: "assistant";
427
+ readonly system: "system";
428
+ };
429
+ export type GoogleGenerativeAICreateStreamBodyMessagesItemPartsItem = {
430
+ /** Filename for file parts */
431
+ filename?: string;
432
+ /** MIME type of the media */
433
+ mediaType?: string;
434
+ /** Text content */
435
+ text?: string;
436
+ /** Type of message part (text, file, etc.) */
437
+ type: string;
438
+ /** URL for file or media */
439
+ url?: string;
440
+ };
441
+ export type GoogleGenerativeAICreateStreamBodyMessagesItem = {
442
+ /** Content of the message */
443
+ content?: string;
444
+ /** Multi-part message content */
445
+ parts?: GoogleGenerativeAICreateStreamBodyMessagesItemPartsItem[];
446
+ /** Role of the message sender */
447
+ role: GoogleGenerativeAICreateStreamBodyMessagesItemRole;
448
+ };
449
+ export type GoogleGenerativeAICreateStreamBody = {
450
+ /**
451
+ * Array of chat messages
452
+ * @minItems 1
453
+ */
454
+ messages: GoogleGenerativeAICreateStreamBodyMessagesItem[];
455
+ /** Specific model to use (defaults to resolved Google model) */
456
+ model?: string;
457
+ options?: GoogleGenerativeAICreateStreamBodyOptions;
458
+ /**
459
+ * Schema for structured output
460
+ * @nullable
461
+ */
462
+ outputSchema?: GoogleGenerativeAICreateStreamBodyOutputSchema;
463
+ /** Required when the Google Generative AI integration config type is PerUser. */
464
+ userId?: string;
465
+ };
466
+ /**
467
+ * Token usage information
468
+ */
469
+ export type GoogleGenerativeAIGenerateText200Usage = {
470
+ completionTokens: number;
471
+ promptTokens: number;
472
+ totalTokens: number;
473
+ };
474
+ /**
475
+ * Structured output if schema provided
476
+ * @nullable
477
+ */
478
+ export type GoogleGenerativeAIGenerateText200Output = unknown | null;
479
+ export type GoogleGenerativeAIGenerateText200 = {
480
+ /** Reason for completion */
481
+ finishReason: string;
482
+ /**
483
+ * Structured output if schema provided
484
+ * @nullable
485
+ */
486
+ output?: GoogleGenerativeAIGenerateText200Output;
487
+ /** Generated text content */
488
+ text: string;
489
+ /** Token usage information */
490
+ usage: GoogleGenerativeAIGenerateText200Usage;
491
+ };
492
+ /**
493
+ * Schema for structured output
494
+ * @nullable
495
+ */
496
+ export type GoogleGenerativeAIGenerateTextBodyOutputSchema = unknown | null;
497
+ export type GoogleGenerativeAIGenerateTextBodyOptions = {
498
+ /**
499
+ * Maximum tokens to generate
500
+ * @minimum 0
501
+ * @exclusiveMinimum
502
+ */
503
+ maxTokens?: number;
504
+ /**
505
+ * Sampling temperature (0-2)
506
+ * @minimum 0
507
+ * @maximum 2
508
+ */
509
+ temperature?: number;
510
+ /**
511
+ * Top-p sampling parameter
512
+ * @minimum 0
513
+ * @maximum 1
514
+ */
515
+ topP?: number;
516
+ };
517
+ export type GoogleGenerativeAIGenerateTextBody = {
518
+ /**
519
+ * Array of chat messages
520
+ * @minItems 1
521
+ */
522
+ messages: GoogleGenerativeAIGenerateTextBodyMessagesItem[];
523
+ /** Specific model to use (defaults to resolved Google model) */
524
+ model?: string;
525
+ options?: GoogleGenerativeAIGenerateTextBodyOptions;
526
+ /**
527
+ * Schema for structured output
528
+ * @nullable
529
+ */
530
+ outputSchema?: GoogleGenerativeAIGenerateTextBodyOutputSchema;
531
+ /** Required when the Google Generative AI integration config type is PerUser. */
532
+ userId?: string;
533
+ };
534
+ /**
535
+ * Role of the message sender
536
+ */
537
+ export type GoogleGenerativeAIGenerateTextBodyMessagesItemRole = typeof GoogleGenerativeAIGenerateTextBodyMessagesItemRole[keyof typeof GoogleGenerativeAIGenerateTextBodyMessagesItemRole];
538
+ export declare const GoogleGenerativeAIGenerateTextBodyMessagesItemRole: {
539
+ readonly user: "user";
540
+ readonly assistant: "assistant";
541
+ readonly system: "system";
542
+ };
543
+ export type GoogleGenerativeAIGenerateTextBodyMessagesItemPartsItem = {
544
+ /** Filename for file parts */
545
+ filename?: string;
546
+ /** MIME type of the media */
547
+ mediaType?: string;
548
+ /** Text content */
549
+ text?: string;
550
+ /** Type of message part (text, file, etc.) */
551
+ type: string;
552
+ /** URL for file or media */
553
+ url?: string;
554
+ };
555
+ export type GoogleGenerativeAIGenerateTextBodyMessagesItem = {
556
+ /** Content of the message */
557
+ content?: string;
558
+ /** Multi-part message content */
559
+ parts?: GoogleGenerativeAIGenerateTextBodyMessagesItemPartsItem[];
560
+ /** Role of the message sender */
561
+ role: GoogleGenerativeAIGenerateTextBodyMessagesItemRole;
562
+ };
563
+ export type GoogleGenerativeAISetUserCredentials200 = {
564
+ userId: string;
565
+ };
566
+ export type GoogleGenerativeAISetUserCredentialsBody = {
567
+ /**
568
+ * Google Gemini API key for this generated app user.
569
+ * @minLength 1
570
+ */
571
+ apiKey: string;
572
+ /**
573
+ * Optional per-user default Google Gemini image generation model.
574
+ * @minLength 1
575
+ */
576
+ imageModel?: string;
577
+ /**
578
+ * Optional per-user default Google Gemini model.
579
+ * @minLength 1
580
+ */
581
+ model?: string;
582
+ /** Existing integration user id. Omit to create a new integration user credential record. */
583
+ userId?: string;
584
+ };
585
+ export type GoogleCloudStorageCreateWriteStream200 = {
586
+ key: string;
587
+ success: boolean;
588
+ };
589
+ export type GoogleCloudStorageCreateWriteStreamParams = {
590
+ userId?: string;
591
+ key: string;
592
+ };
593
+ export type GoogleCloudStorageCreateReadStreamBody = {
594
+ /** Content-Type header. Omit for application/octet-stream */
595
+ contentType?: string;
596
+ /** Suggested filename for Content-Disposition header */
597
+ fileName?: string;
598
+ /** Key of the file to stream */
599
+ key: string;
600
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
601
+ userId?: string;
602
+ };
603
+ export type GoogleCloudStorageUploadFile200 = {
604
+ key: string;
605
+ success: boolean;
606
+ };
607
+ export type GoogleCloudStorageUploadFileBody = {
608
+ /** Destination key/path in storage */
609
+ destinationKey: string;
610
+ /** File to upload */
611
+ file: Blob;
612
+ };
613
+ export type GoogleCloudStorageGetFileMetadata200 = {
614
+ /** File size in bytes */
615
+ size?: number;
616
+ };
617
+ export type GoogleCloudStorageGetFileMetadataBody = {
618
+ /** Key of the file */
619
+ key: string;
620
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
621
+ userId?: string;
622
+ };
623
+ export type GoogleCloudStorageCopyFile200 = {
624
+ /** Destination key of the copied file */
625
+ key: string;
626
+ success: boolean;
627
+ };
628
+ export type GoogleCloudStorageCopyFileBody = {
629
+ /** Destination key for the copied file */
630
+ destinationKey: string;
631
+ /** Source key of the file to copy */
632
+ srcKey: string;
633
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
634
+ userId?: string;
635
+ };
636
+ export type GoogleCloudStorageGenerateUploadSignedUrl200Headers = {
637
+ [key: string]: string;
638
+ };
639
+ export type GoogleCloudStorageGenerateUploadSignedUrl200 = {
640
+ headers?: GoogleCloudStorageGenerateUploadSignedUrl200Headers;
641
+ url: string;
642
+ };
643
+ export type GoogleCloudStorageGenerateUploadSignedUrlBody = {
644
+ /** MIME type of the file to upload */
645
+ contentType?: string;
646
+ /** Key for the upload */
647
+ key: string;
648
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
649
+ userId?: string;
650
+ };
651
+ export type GoogleCloudStorageGetData200 = {
652
+ /** Base64-encoded file content */
653
+ data: string;
654
+ };
655
+ export type GoogleCloudStorageGetDataBody = {
656
+ /** Key of the file */
657
+ key: string;
658
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
659
+ userId?: string;
660
+ };
661
+ export type GoogleCloudStorageGenerateDownloadSignedUrl200 = {
662
+ url: string;
663
+ };
664
+ export type GoogleCloudStorageGenerateDownloadSignedUrlBody = {
665
+ /** Suggested download filename */
666
+ fileName?: string;
667
+ /** Key of the file */
668
+ key: string;
669
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
670
+ userId?: string;
671
+ };
672
+ export type GoogleCloudStorageDocumentExists200 = {
673
+ exists: boolean;
674
+ };
675
+ export type GoogleCloudStorageDocumentExistsBody = {
676
+ /** Key to check */
677
+ key: string;
678
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
679
+ userId?: string;
680
+ };
681
+ export type GoogleCloudStorageDeleteFile200 = {
682
+ success: boolean;
683
+ };
684
+ export type GoogleCloudStorageDeleteFileBody = {
685
+ /** Key of the file to delete */
686
+ key: string;
687
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
688
+ userId?: string;
689
+ };
690
+ export type GoogleCloudStorageUploadData200 = {
691
+ key: string;
692
+ success: boolean;
693
+ };
694
+ export type GoogleCloudStorageUploadDataBody = {
695
+ /** MIME type of the data */
696
+ contentType?: string;
697
+ /** Base64-encoded data to upload */
698
+ data: string;
699
+ /** Destination key/path in storage */
700
+ destinationKey: string;
701
+ /** Required when the Google Cloud Storage integration config type is PerUser. */
702
+ userId?: string;
703
+ };
704
+ export type GoogleCloudStorageSetUserCredentials200 = {
705
+ userId: string;
706
+ };
707
+ /**
708
+ * Google service account credentials JSON for this generated app user.
709
+ */
710
+ export type GoogleCloudStorageSetUserCredentialsBodyCredentialsJson = {
711
+ [key: string]: unknown | null;
712
+ };
713
+ export type GoogleCloudStorageSetUserCredentialsBody = {
714
+ /** Google service account credentials JSON for this generated app user. */
715
+ credentialsJson: GoogleCloudStorageSetUserCredentialsBodyCredentialsJson;
716
+ /** Existing integration user id. Omit to create a new integration user credential record. */
717
+ userId?: string;
718
+ };
719
+ export type GmailSendEmail200Status = typeof GmailSendEmail200Status[keyof typeof GmailSendEmail200Status];
720
+ export declare const GmailSendEmail200Status: {
721
+ readonly queued: "queued";
722
+ };
723
+ export type GmailSendEmail200Provider = typeof GmailSendEmail200Provider[keyof typeof GmailSendEmail200Provider];
724
+ export declare const GmailSendEmail200Provider: {
725
+ readonly gmail: "gmail";
726
+ };
727
+ export type GmailSendEmail200 = {
728
+ id: string;
729
+ provider: GmailSendEmail200Provider;
730
+ status: GmailSendEmail200Status;
731
+ };
732
+ export type GmailSendEmailBody = {
733
+ bcc?: string[];
734
+ cc?: string[];
735
+ html?: string;
736
+ /** @minLength 1 */
737
+ subject: string;
738
+ text?: string;
739
+ /** @minItems 1 */
740
+ to: string[];
741
+ /** Integration user id returned by the Gmail OAuth flow. */
742
+ userId: string;
743
+ };
744
+ export type GmailAuthStart200 = {
745
+ url: string;
746
+ userId: string;
747
+ };
748
+ export type GmailAuthStartBody = {
749
+ /** Required for PerUser Gmail configs. Ignored for Shared configs. */
750
+ clientId?: string;
751
+ /** Required for PerUser Gmail configs. Ignored for Shared configs. */
752
+ clientSecret?: string;
753
+ /** Generated app URL to redirect the browser to after OAuth completes. */
754
+ originalRedirectUrl?: string;
755
+ /** Google OAuth scopes to request. */
756
+ scopes?: string[];
757
+ /** Existing integration user id. Omit to create a new integration user credential record. */
758
+ userId?: string;
759
+ };
760
+ export type AzureBlobStorageCreateWriteStream200 = {
761
+ key: string;
762
+ success: boolean;
763
+ };
764
+ export type AzureBlobStorageCreateWriteStreamParams = {
765
+ userId?: string;
766
+ key: string;
767
+ };
768
+ export type AzureBlobStorageCreateReadStreamBody = {
769
+ /** Content-Type header. Omit for application/octet-stream */
770
+ contentType?: string;
771
+ /** Suggested filename for Content-Disposition header */
772
+ fileName?: string;
773
+ /** Key of the file to stream */
774
+ key: string;
775
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
776
+ userId?: string;
777
+ };
778
+ export type AzureBlobStorageUploadFile200 = {
779
+ key: string;
780
+ success: boolean;
781
+ };
782
+ export type AzureBlobStorageUploadFileBody = {
783
+ /** Destination key/path in storage */
784
+ destinationKey: string;
785
+ /** File to upload */
786
+ file: Blob;
787
+ };
788
+ export type AzureBlobStorageGetFileMetadata200 = {
789
+ /** File size in bytes */
790
+ size?: number;
791
+ };
792
+ export type AzureBlobStorageGetFileMetadataBody = {
793
+ /** Key of the file */
794
+ key: string;
795
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
796
+ userId?: string;
797
+ };
798
+ export type AzureBlobStorageCopyFile200 = {
799
+ /** Destination key of the copied file */
800
+ key: string;
801
+ success: boolean;
802
+ };
803
+ export type AzureBlobStorageCopyFileBody = {
804
+ /** Destination key for the copied file */
805
+ destinationKey: string;
806
+ /** Source key of the file to copy */
807
+ srcKey: string;
808
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
809
+ userId?: string;
810
+ };
811
+ export type AzureBlobStorageGenerateUploadSignedUrl200Headers = {
812
+ [key: string]: string;
813
+ };
814
+ export type AzureBlobStorageGenerateUploadSignedUrl200 = {
815
+ headers?: AzureBlobStorageGenerateUploadSignedUrl200Headers;
816
+ url: string;
817
+ };
818
+ export type AzureBlobStorageGenerateUploadSignedUrlBody = {
819
+ /** MIME type of the file to upload */
820
+ contentType?: string;
821
+ /** Key for the upload */
822
+ key: string;
823
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
824
+ userId?: string;
825
+ };
826
+ export type AzureBlobStorageGetData200 = {
827
+ /** Base64-encoded file content */
828
+ data: string;
829
+ };
830
+ export type AzureBlobStorageGetDataBody = {
831
+ /** Key of the file */
832
+ key: string;
833
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
834
+ userId?: string;
835
+ };
836
+ export type AzureBlobStorageGenerateDownloadSignedUrl200 = {
837
+ url: string;
838
+ };
839
+ export type AzureBlobStorageGenerateDownloadSignedUrlBody = {
840
+ /** Suggested download filename */
841
+ fileName?: string;
842
+ /** Key of the file */
5
843
  key: string;
844
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
845
+ userId?: string;
846
+ };
847
+ export type AzureBlobStorageDocumentExists200 = {
848
+ exists: boolean;
849
+ };
850
+ export type AzureBlobStorageDocumentExistsBody = {
851
+ /** Key to check */
852
+ key: string;
853
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
854
+ userId?: string;
855
+ };
856
+ export type AzureBlobStorageDeleteFile200 = {
6
857
  success: boolean;
7
858
  };
8
- export type CreateWriteStreamProvider = typeof CreateWriteStreamProvider[keyof typeof CreateWriteStreamProvider];
9
- export declare const CreateWriteStreamProvider: {
10
- readonly GCP: "GCP";
11
- readonly AWS: "AWS";
12
- readonly Azure: "Azure";
859
+ export type AzureBlobStorageDeleteFileBody = {
860
+ /** Key of the file to delete */
861
+ key: string;
862
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
863
+ userId?: string;
13
864
  };
14
- export type CreateWriteStreamParams = {
15
- provider: CreateWriteStreamProvider;
865
+ export type AzureBlobStorageUploadData200 = {
16
866
  key: string;
867
+ success: boolean;
868
+ };
869
+ export type AzureBlobStorageUploadDataBody = {
870
+ /** MIME type of the data */
871
+ contentType?: string;
872
+ /** Base64-encoded data to upload */
873
+ data: string;
874
+ /** Destination key/path in storage */
875
+ destinationKey: string;
876
+ /** Required when the Azure Blob Storage integration config type is PerUser. */
877
+ userId?: string;
17
878
  };
18
- export type CreateReadStream500 = {
19
- error?: string;
879
+ export type AzureBlobStorageSetUserCredentials200 = {
880
+ userId: string;
20
881
  };
21
- /**
22
- * Infra provider (GCP, AWS, Azure)
23
- */
24
- export type CreateReadStreamBodyProvider = typeof CreateReadStreamBodyProvider[keyof typeof CreateReadStreamBodyProvider];
25
- export declare const CreateReadStreamBodyProvider: {
26
- readonly GCP: "GCP";
27
- readonly AWS: "AWS";
28
- readonly Azure: "Azure";
882
+ export type AzureBlobStorageSetUserCredentialsBody = {
883
+ /**
884
+ * Azure AD application client ID for this generated app user.
885
+ * @minLength 1
886
+ */
887
+ clientId: string;
888
+ /**
889
+ * Azure AD client secret for this generated app user.
890
+ * @minLength 1
891
+ */
892
+ clientSecret: string;
893
+ /**
894
+ * Azure AD tenant ID for this generated app user.
895
+ * @minLength 1
896
+ */
897
+ tenantId: string;
898
+ /** Existing integration user id. Omit to create a new integration user credential record. */
899
+ userId?: string;
29
900
  };
30
- export type CreateReadStreamBody = {
901
+ export type AwsS3CreateReadStreamBody = {
31
902
  /** Content-Type header. Omit for application/octet-stream */
32
903
  contentType?: string;
33
904
  /** Suggested filename for Content-Disposition header */
34
905
  fileName?: string;
35
906
  /** Key of the file to stream */
36
907
  key: string;
37
- /** Infra provider (GCP, AWS, Azure) */
38
- provider: CreateReadStreamBodyProvider;
39
- };
40
- export type UploadFile500 = {
41
- error?: string;
42
- };
43
- export type UploadFile400 = {
44
- error?: string;
908
+ /** Required when the AWS S3 integration config type is PerUser. */
909
+ userId?: string;
45
910
  };
46
- export type UploadFile200 = {
911
+ export type AwsS3UploadFile200 = {
47
912
  key: string;
48
913
  success: boolean;
49
914
  };
50
- /**
51
- * Storage provider. Omit to use project default.
52
- */
53
- export type UploadFileBodyProvider = typeof UploadFileBodyProvider[keyof typeof UploadFileBodyProvider];
54
- export declare const UploadFileBodyProvider: {
55
- readonly GCP: "GCP";
56
- readonly AWS: "AWS";
57
- readonly Azure: "Azure";
58
- };
59
- export type UploadFileBody = {
915
+ export type AwsS3UploadFileBody = {
60
916
  /** Destination key/path in storage */
61
917
  destinationKey: string;
62
918
  /** File to upload */
63
919
  file: Blob;
64
- /** Storage provider. Omit to use project default. */
65
- provider?: UploadFileBodyProvider;
66
920
  };
67
- export type GetFileMetadata500 = {
68
- error?: string;
69
- };
70
- export type GetFileMetadata200 = {
921
+ export type AwsS3GetFileMetadata200 = {
71
922
  /** File size in bytes */
72
923
  size?: number;
73
924
  };
74
- /**
75
- * Infra provider (GCP, AWS, Azure)
76
- */
77
- export type GetFileMetadataBodyProvider = typeof GetFileMetadataBodyProvider[keyof typeof GetFileMetadataBodyProvider];
78
- export declare const GetFileMetadataBodyProvider: {
79
- readonly GCP: "GCP";
80
- readonly AWS: "AWS";
81
- readonly Azure: "Azure";
82
- };
83
- export type GetFileMetadataBody = {
925
+ export type AwsS3GetFileMetadataBody = {
84
926
  /** Key of the file */
85
927
  key: string;
86
- /** Infra provider (GCP, AWS, Azure) */
87
- provider: GetFileMetadataBodyProvider;
88
- };
89
- export type CopyFile500 = {
90
- error?: string;
928
+ /** Required when the AWS S3 integration config type is PerUser. */
929
+ userId?: string;
91
930
  };
92
- export type CopyFile200 = {
931
+ export type AwsS3CopyFile200 = {
93
932
  /** Destination key of the copied file */
94
933
  key: string;
95
934
  success: boolean;
96
935
  };
97
- /**
98
- * Infra provider (GCP, AWS, Azure)
99
- */
100
- export type CopyFileBodyProvider = typeof CopyFileBodyProvider[keyof typeof CopyFileBodyProvider];
101
- export declare const CopyFileBodyProvider: {
102
- readonly GCP: "GCP";
103
- readonly AWS: "AWS";
104
- readonly Azure: "Azure";
105
- };
106
- export type CopyFileBody = {
936
+ export type AwsS3CopyFileBody = {
107
937
  /** Destination key for the copied file */
108
938
  destinationKey: string;
109
- /** Infra provider (GCP, AWS, Azure) */
110
- provider: CopyFileBodyProvider;
111
939
  /** Source key of the file to copy */
112
940
  srcKey: string;
941
+ /** Required when the AWS S3 integration config type is PerUser. */
942
+ userId?: string;
113
943
  };
114
- export type GenerateUploadSignedUrl500 = {
115
- error?: string;
116
- };
117
- export type GenerateUploadSignedUrl200Headers = {
944
+ export type AwsS3GenerateUploadSignedUrl200Headers = {
118
945
  [key: string]: string;
119
946
  };
120
- export type GenerateUploadSignedUrl200 = {
121
- headers?: GenerateUploadSignedUrl200Headers;
947
+ export type AwsS3GenerateUploadSignedUrl200 = {
948
+ headers?: AwsS3GenerateUploadSignedUrl200Headers;
122
949
  url: string;
123
950
  };
124
- /**
125
- * Infra provider (GCP, AWS, Azure)
126
- */
127
- export type GenerateUploadSignedUrlBodyProvider = typeof GenerateUploadSignedUrlBodyProvider[keyof typeof GenerateUploadSignedUrlBodyProvider];
128
- export declare const GenerateUploadSignedUrlBodyProvider: {
129
- readonly GCP: "GCP";
130
- readonly AWS: "AWS";
131
- readonly Azure: "Azure";
132
- };
133
- export type GenerateUploadSignedUrlBody = {
951
+ export type AwsS3GenerateUploadSignedUrlBody = {
134
952
  /** MIME type of the file to upload */
135
953
  contentType?: string;
136
954
  /** Key for the upload */
137
955
  key: string;
138
- /** Infra provider (GCP, AWS, Azure) */
139
- provider: GenerateUploadSignedUrlBodyProvider;
140
- };
141
- export type GetData500 = {
142
- error?: string;
956
+ /** Required when the AWS S3 integration config type is PerUser. */
957
+ userId?: string;
143
958
  };
144
- export type GetData200 = {
959
+ export type AwsS3GetData200 = {
145
960
  /** Base64-encoded file content */
146
961
  data: string;
147
962
  };
148
- /**
149
- * Infra provider (GCP, AWS, Azure)
150
- */
151
- export type GetDataBodyProvider = typeof GetDataBodyProvider[keyof typeof GetDataBodyProvider];
152
- export declare const GetDataBodyProvider: {
153
- readonly GCP: "GCP";
154
- readonly AWS: "AWS";
155
- readonly Azure: "Azure";
156
- };
157
- export type GetDataBody = {
963
+ export type AwsS3GetDataBody = {
158
964
  /** Key of the file */
159
965
  key: string;
160
- /** Infra provider (GCP, AWS, Azure) */
161
- provider: GetDataBodyProvider;
966
+ /** Required when the AWS S3 integration config type is PerUser. */
967
+ userId?: string;
162
968
  };
163
- export type GenerateDownloadSignedUrl500 = {
164
- error?: string;
165
- };
166
- export type GenerateDownloadSignedUrl200 = {
969
+ export type AwsS3GenerateDownloadSignedUrl200 = {
167
970
  url: string;
168
971
  };
169
- /**
170
- * Infra provider (GCP, AWS, Azure)
171
- */
172
- export type GenerateDownloadSignedUrlBodyProvider = typeof GenerateDownloadSignedUrlBodyProvider[keyof typeof GenerateDownloadSignedUrlBodyProvider];
173
- export declare const GenerateDownloadSignedUrlBodyProvider: {
174
- readonly GCP: "GCP";
175
- readonly AWS: "AWS";
176
- readonly Azure: "Azure";
177
- };
178
- export type GenerateDownloadSignedUrlBody = {
972
+ export type AwsS3GenerateDownloadSignedUrlBody = {
179
973
  /** Suggested download filename */
180
974
  fileName?: string;
181
975
  /** Key of the file */
182
976
  key: string;
183
- /** Infra provider (GCP, AWS, Azure) */
184
- provider: GenerateDownloadSignedUrlBodyProvider;
185
- };
186
- export type DocumentExists500 = {
187
- error?: string;
977
+ /** Required when the AWS S3 integration config type is PerUser. */
978
+ userId?: string;
188
979
  };
189
- export type DocumentExists200 = {
980
+ export type AwsS3DocumentExists200 = {
190
981
  exists: boolean;
191
982
  };
192
- /**
193
- * Infra provider (GCP, AWS, Azure)
194
- */
195
- export type DocumentExistsBodyProvider = typeof DocumentExistsBodyProvider[keyof typeof DocumentExistsBodyProvider];
196
- export declare const DocumentExistsBodyProvider: {
197
- readonly GCP: "GCP";
198
- readonly AWS: "AWS";
199
- readonly Azure: "Azure";
200
- };
201
- export type DocumentExistsBody = {
983
+ export type AwsS3DocumentExistsBody = {
202
984
  /** Key to check */
203
985
  key: string;
204
- /** Infra provider (GCP, AWS, Azure) */
205
- provider: DocumentExistsBodyProvider;
206
- };
207
- export type DeleteFile500 = {
208
- error?: string;
986
+ /** Required when the AWS S3 integration config type is PerUser. */
987
+ userId?: string;
209
988
  };
210
- export type DeleteFile200 = {
989
+ export type AwsS3DeleteFile200 = {
211
990
  success: boolean;
212
991
  };
213
- /**
214
- * Infra provider (GCP, AWS, Azure)
215
- */
216
- export type DeleteFileBodyProvider = typeof DeleteFileBodyProvider[keyof typeof DeleteFileBodyProvider];
217
- export declare const DeleteFileBodyProvider: {
218
- readonly GCP: "GCP";
219
- readonly AWS: "AWS";
220
- readonly Azure: "Azure";
221
- };
222
- export type DeleteFileBody = {
992
+ export type AwsS3DeleteFileBody = {
223
993
  /** Key of the file to delete */
224
994
  key: string;
225
- /** Infra provider (GCP, AWS, Azure) */
226
- provider: DeleteFileBodyProvider;
227
- };
228
- export type UploadData500 = {
229
- error?: string;
995
+ /** Required when the AWS S3 integration config type is PerUser. */
996
+ userId?: string;
230
997
  };
231
- export type UploadData200 = {
998
+ export type AwsS3UploadData200 = {
232
999
  key: string;
233
1000
  success: boolean;
234
1001
  };
235
- /**
236
- * Infra provider (GCP, AWS, Azure)
237
- */
238
- export type UploadDataBodyProvider = typeof UploadDataBodyProvider[keyof typeof UploadDataBodyProvider];
239
- export declare const UploadDataBodyProvider: {
240
- readonly GCP: "GCP";
241
- readonly AWS: "AWS";
242
- readonly Azure: "Azure";
243
- };
244
- export type UploadDataBody = {
1002
+ export type AwsS3UploadDataBody = {
245
1003
  /** MIME type of the data */
246
1004
  contentType?: string;
247
1005
  /** Base64-encoded data to upload */
248
1006
  data: string;
249
1007
  /** Destination key/path in storage */
250
1008
  destinationKey: string;
251
- /** Infra provider (GCP, AWS, Azure) */
252
- provider: UploadDataBodyProvider;
253
- };
254
- export type VerifyWebhook400 = {
255
- error?: string;
256
- valid?: boolean;
257
- };
258
- export type VerifyWebhook200 = {
259
- /** Type of webhook event if valid */
260
- eventType?: string;
261
- /** Whether the webhook signature is valid */
262
- valid: boolean;
263
- };
264
- /**
265
- * Payment provider (Stripe)
266
- */
267
- export type VerifyWebhookBodyProvider = typeof VerifyWebhookBodyProvider[keyof typeof VerifyWebhookBodyProvider];
268
- export declare const VerifyWebhookBodyProvider: {
269
- readonly Stripe: "Stripe";
270
- };
271
- export type VerifyWebhookBody = {
272
- /** Raw webhook payload as string */
273
- payload: string;
274
- /** Payment provider (Stripe) */
275
- provider: VerifyWebhookBodyProvider;
276
- /** Webhook signature from the payment provider */
277
- signature: string;
278
- };
279
- export type CreateCheckoutSession500 = {
280
- error?: string;
281
- };
282
- export type CreateCheckoutSession200 = {
283
- /** Total amount for the checkout session */
284
- amountTotal: number;
285
- /** Currency code */
286
- currency: string;
287
- /** Checkout session ID */
288
- id: string;
289
- /** Current payment status */
290
- paymentStatus: string;
291
- /** URL to redirect customer to complete payment */
292
- url: string;
293
- };
294
- /**
295
- * Payment provider (Stripe)
296
- */
297
- export type CreateCheckoutSessionBodyProvider = typeof CreateCheckoutSessionBodyProvider[keyof typeof CreateCheckoutSessionBodyProvider];
298
- export declare const CreateCheckoutSessionBodyProvider: {
299
- readonly Stripe: "Stripe";
1009
+ /** Required when the AWS S3 integration config type is PerUser. */
1010
+ userId?: string;
300
1011
  };
301
- /**
302
- * Additional metadata to attach to the checkout session
303
- */
304
- export type CreateCheckoutSessionBodyMetadata = {
305
- [key: string]: string;
1012
+ export type AwsS3SetUserCredentials200 = {
1013
+ userId: string;
306
1014
  };
307
- export type CreateCheckoutSessionBody = {
308
- /**
309
- * Payment amount in the smallest currency unit (e.g., cents for USD)
310
- * @minimum 0
311
- * @exclusiveMinimum
312
- */
313
- amount: number;
314
- /** URL to redirect to if payment is cancelled */
315
- cancelUrl: string;
1015
+ export type AwsS3SetUserCredentialsBody = {
316
1016
  /**
317
- * Three-letter ISO currency code
318
- * @minLength 3
319
- * @maxLength 3
1017
+ * AWS access key ID for this generated app user.
1018
+ * @minLength 1
320
1019
  */
321
- currency: string;
322
- /** Customer email address */
323
- customerEmail?: string;
324
- /** Additional metadata to attach to the checkout session */
325
- metadata?: CreateCheckoutSessionBodyMetadata;
326
- /** Name of the product or service */
327
- productName: string;
328
- /** Payment provider (Stripe) */
329
- provider: CreateCheckoutSessionBodyProvider;
330
- /** URL to redirect to after successful payment */
331
- successUrl: string;
332
- };
333
- export type HandleOAuthCallback500 = {
334
- error?: string;
335
- };
336
- /**
337
- * Original provider response
338
- */
339
- export type HandleOAuthCallback200RawProfile = {
340
- [key: string]: unknown | null;
341
- };
342
- export type HandleOAuthCallback200 = {
343
- /** User email address */
344
- email: string;
345
- /** User full name */
346
- name?: string;
347
- /** User profile picture URL */
348
- picture?: string;
349
- /** Auth provider used (Google) */
350
- provider: string;
351
- /** Unique ID from the provider */
352
- providerId: string;
353
- /** Original provider response */
354
- rawProfile?: HandleOAuthCallback200RawProfile;
355
- };
356
- /**
357
- * Auth provider used (Google)
358
- */
359
- export type HandleOAuthCallbackBodyProvider = typeof HandleOAuthCallbackBodyProvider[keyof typeof HandleOAuthCallbackBodyProvider];
360
- export declare const HandleOAuthCallbackBodyProvider: {
361
- readonly Google: "Google";
362
- };
363
- export type HandleOAuthCallbackBody = {
364
- /** Authorization code from OAuth provider */
365
- code: string;
366
- /** Auth provider used (Google) */
367
- provider: HandleOAuthCallbackBodyProvider;
368
- /** State parameter from OAuth flow */
369
- state?: string;
370
- };
371
- export type GetAuthorizationUrl500 = {
372
- error?: string;
373
- };
374
- export type GetAuthorizationUrl200 = {
375
- /** Authorization URL to redirect user to */
376
- url: string;
377
- };
378
- /**
379
- * Auth provider used (Google)
380
- */
381
- export type GetAuthorizationUrlBodyProvider = typeof GetAuthorizationUrlBodyProvider[keyof typeof GetAuthorizationUrlBodyProvider];
382
- export declare const GetAuthorizationUrlBodyProvider: {
383
- readonly Google: "Google";
384
- };
385
- export type GetAuthorizationUrlBody = {
386
- /** Auth provider used (Google) */
387
- provider: GetAuthorizationUrlBodyProvider;
388
- /** OAuth scopes to request (default: ["openid", "email", "profile"]) */
389
- scope?: string[];
390
- /** State parameter for OAuth flow */
391
- state?: string;
392
- };
393
- export type CreateMessage500 = {
394
- errorCode?: string;
395
- message?: string;
396
- status?: number;
397
- };
398
- export type CreateMessage400 = {
399
- details?: string;
400
- errorCode?: string;
401
- message?: string;
402
- status?: number;
403
- };
404
- export type CreateMessage200 = {
405
- /** Message body */
406
- body?: string;
407
- /** Creation date */
408
- dateCreated?: string;
1020
+ accessKeyId: string;
409
1021
  /**
410
- * Error code if any
411
- * @nullable
1022
+ * Optional per-user AWS region. Falls back to the integration config region.
1023
+ * @minLength 1
412
1024
  */
413
- errorCode?: number | null;
1025
+ region?: string;
414
1026
  /**
415
- * Error message if any
416
- * @nullable
1027
+ * AWS secret access key for this generated app user.
1028
+ * @minLength 1
417
1029
  */
418
- errorMessage?: string | null;
419
- /** Sender number */
420
- from?: string;
421
- /** Message SID */
422
- sid: string;
423
- /** Message status */
424
- status: string;
425
- /** Recipient number */
426
- to: string;
427
- };
428
- /**
429
- * Messaging provider to use
430
- */
431
- export type CreateMessageBodyProvider = typeof CreateMessageBodyProvider[keyof typeof CreateMessageBodyProvider];
432
- export declare const CreateMessageBodyProvider: {
433
- readonly TwilioWhatsApp: "TwilioWhatsApp";
1030
+ secretAccessKey: string;
1031
+ /** Existing integration user id. Omit to create a new integration user credential record. */
1032
+ userId?: string;
434
1033
  };
435
- /**
436
- * Variables for content templates (optional)
437
- */
438
- export type CreateMessageBodyContentVariables = {
439
- [key: string]: string;
440
- };
441
- export type CreateMessageBody = {
442
- /** Message body text */
443
- body?: string;
444
- /** Content SID for template messages (optional) */
445
- contentSid?: string;
446
- /** Variables for content templates (optional) */
447
- contentVariables?: CreateMessageBodyContentVariables;
448
- /** Sender phone number. Use E.164 or a full whatsapp:+123 format. */
449
- from?: string;
450
- /** Media URLs to attach (optional) */
451
- mediaUrls?: string[];
452
- /** Messaging Service SID (optional if From is provided) */
453
- messagingServiceSid?: string;
454
- /** Messaging provider to use */
455
- provider: CreateMessageBodyProvider;
456
- /** Webhook URL for message status callbacks (optional) */
457
- statusCallback?: string;
458
- /** Recipient phone number. Use E.164 or a full whatsapp:+123 format. */
459
- to: string;
460
- };
461
- export type CreateStream500 = {
1034
+ export type AnthropicCreateStream500 = {
462
1035
  error?: string;
463
1036
  };
464
- /**
465
- * LLM provider to use
466
- */
467
- export type CreateStreamBodyProvider = typeof CreateStreamBodyProvider[keyof typeof CreateStreamBodyProvider];
468
- export declare const CreateStreamBodyProvider: {
469
- readonly Anthropic: "Anthropic";
470
- readonly OpenAI: "OpenAI";
471
- readonly Google: "Google";
472
- };
473
1037
  /**
474
1038
  * Schema for structured output
475
1039
  * @nullable
476
1040
  */
477
- export type CreateStreamBodyOutputSchema = unknown | null;
478
- export type CreateStreamBodyOptions = {
1041
+ export type AnthropicCreateStreamBodyOutputSchema = unknown | null;
1042
+ export type AnthropicCreateStreamBodyOptions = {
479
1043
  /**
480
1044
  * Maximum tokens to generate
481
1045
  * @minimum 0
@@ -495,35 +1059,16 @@ export type CreateStreamBodyOptions = {
495
1059
  */
496
1060
  topP?: number;
497
1061
  };
498
- export type CreateStreamBody = {
499
- /**
500
- * Array of chat messages
501
- * @minItems 1
502
- */
503
- messages: CreateStreamBodyMessagesItem[];
504
- /** Specific model to use (defaults to provider default) */
505
- model?: string;
506
- options?: CreateStreamBodyOptions;
507
- /**
508
- * Schema for structured output
509
- * @nullable
510
- */
511
- outputSchema?: CreateStreamBodyOutputSchema;
512
- /** LLM provider to use */
513
- provider: CreateStreamBodyProvider;
514
- /** Whether to stream the response */
515
- stream?: boolean;
516
- };
517
1062
  /**
518
1063
  * Role of the message sender
519
1064
  */
520
- export type CreateStreamBodyMessagesItemRole = typeof CreateStreamBodyMessagesItemRole[keyof typeof CreateStreamBodyMessagesItemRole];
521
- export declare const CreateStreamBodyMessagesItemRole: {
1065
+ export type AnthropicCreateStreamBodyMessagesItemRole = typeof AnthropicCreateStreamBodyMessagesItemRole[keyof typeof AnthropicCreateStreamBodyMessagesItemRole];
1066
+ export declare const AnthropicCreateStreamBodyMessagesItemRole: {
522
1067
  readonly user: "user";
523
1068
  readonly assistant: "assistant";
524
1069
  readonly system: "system";
525
1070
  };
526
- export type CreateStreamBodyMessagesItemPartsItem = {
1071
+ export type AnthropicCreateStreamBodyMessagesItemPartsItem = {
527
1072
  /** Filename for file parts */
528
1073
  filename?: string;
529
1074
  /** MIME type of the media */
@@ -535,18 +1080,35 @@ export type CreateStreamBodyMessagesItemPartsItem = {
535
1080
  /** URL for file or media */
536
1081
  url?: string;
537
1082
  };
538
- export type CreateStreamBodyMessagesItem = {
1083
+ export type AnthropicCreateStreamBodyMessagesItem = {
539
1084
  /** Content of the message */
540
1085
  content?: string;
541
- /** Multi-part message content (for files, mixed content, etc.) */
542
- parts?: CreateStreamBodyMessagesItemPartsItem[];
1086
+ /** Multi-part message content */
1087
+ parts?: AnthropicCreateStreamBodyMessagesItemPartsItem[];
543
1088
  /** Role of the message sender */
544
- role: CreateStreamBodyMessagesItemRole;
1089
+ role: AnthropicCreateStreamBodyMessagesItemRole;
1090
+ };
1091
+ export type AnthropicCreateStreamBody = {
1092
+ /**
1093
+ * Array of chat messages
1094
+ * @minItems 1
1095
+ */
1096
+ messages: AnthropicCreateStreamBodyMessagesItem[];
1097
+ /** Specific model to use (defaults to resolved Anthropic model) */
1098
+ model?: string;
1099
+ options?: AnthropicCreateStreamBodyOptions;
1100
+ /**
1101
+ * Schema for structured output
1102
+ * @nullable
1103
+ */
1104
+ outputSchema?: AnthropicCreateStreamBodyOutputSchema;
1105
+ /** Required when the Anthropic integration config type is PerUser. */
1106
+ userId?: string;
545
1107
  };
546
1108
  /**
547
1109
  * Token usage information
548
1110
  */
549
- export type GenerateText200Usage = {
1111
+ export type AnthropicGenerateText200Usage = {
550
1112
  completionTokens: number;
551
1113
  promptTokens: number;
552
1114
  totalTokens: number;
@@ -555,35 +1117,26 @@ export type GenerateText200Usage = {
555
1117
  * Structured output if schema provided
556
1118
  * @nullable
557
1119
  */
558
- export type GenerateText200Output = unknown | null;
559
- export type GenerateText200 = {
1120
+ export type AnthropicGenerateText200Output = unknown | null;
1121
+ export type AnthropicGenerateText200 = {
560
1122
  /** Reason for completion */
561
1123
  finishReason: string;
562
1124
  /**
563
1125
  * Structured output if schema provided
564
1126
  * @nullable
565
1127
  */
566
- output?: GenerateText200Output;
1128
+ output?: AnthropicGenerateText200Output;
567
1129
  /** Generated text content */
568
1130
  text: string;
569
1131
  /** Token usage information */
570
- usage: GenerateText200Usage;
571
- };
572
- /**
573
- * LLM provider to use
574
- */
575
- export type GenerateTextBodyProvider = typeof GenerateTextBodyProvider[keyof typeof GenerateTextBodyProvider];
576
- export declare const GenerateTextBodyProvider: {
577
- readonly Anthropic: "Anthropic";
578
- readonly OpenAI: "OpenAI";
579
- readonly Google: "Google";
1132
+ usage: AnthropicGenerateText200Usage;
580
1133
  };
581
1134
  /**
582
1135
  * Schema for structured output
583
1136
  * @nullable
584
1137
  */
585
- export type GenerateTextBodyOutputSchema = unknown | null;
586
- export type GenerateTextBodyOptions = {
1138
+ export type AnthropicGenerateTextBodyOutputSchema = unknown | null;
1139
+ export type AnthropicGenerateTextBodyOptions = {
587
1140
  /**
588
1141
  * Maximum tokens to generate
589
1142
  * @minimum 0
@@ -603,35 +1156,33 @@ export type GenerateTextBodyOptions = {
603
1156
  */
604
1157
  topP?: number;
605
1158
  };
606
- export type GenerateTextBody = {
1159
+ export type AnthropicGenerateTextBody = {
607
1160
  /**
608
1161
  * Array of chat messages
609
1162
  * @minItems 1
610
1163
  */
611
- messages: GenerateTextBodyMessagesItem[];
612
- /** Specific model to use (defaults to provider default) */
1164
+ messages: AnthropicGenerateTextBodyMessagesItem[];
1165
+ /** Specific model to use (defaults to resolved Anthropic model) */
613
1166
  model?: string;
614
- options?: GenerateTextBodyOptions;
1167
+ options?: AnthropicGenerateTextBodyOptions;
615
1168
  /**
616
1169
  * Schema for structured output
617
1170
  * @nullable
618
1171
  */
619
- outputSchema?: GenerateTextBodyOutputSchema;
620
- /** LLM provider to use */
621
- provider: GenerateTextBodyProvider;
622
- /** Whether to stream the response */
623
- stream?: boolean;
1172
+ outputSchema?: AnthropicGenerateTextBodyOutputSchema;
1173
+ /** Required when the Anthropic integration config type is PerUser. */
1174
+ userId?: string;
624
1175
  };
625
1176
  /**
626
1177
  * Role of the message sender
627
1178
  */
628
- export type GenerateTextBodyMessagesItemRole = typeof GenerateTextBodyMessagesItemRole[keyof typeof GenerateTextBodyMessagesItemRole];
629
- export declare const GenerateTextBodyMessagesItemRole: {
1179
+ export type AnthropicGenerateTextBodyMessagesItemRole = typeof AnthropicGenerateTextBodyMessagesItemRole[keyof typeof AnthropicGenerateTextBodyMessagesItemRole];
1180
+ export declare const AnthropicGenerateTextBodyMessagesItemRole: {
630
1181
  readonly user: "user";
631
1182
  readonly assistant: "assistant";
632
1183
  readonly system: "system";
633
1184
  };
634
- export type GenerateTextBodyMessagesItemPartsItem = {
1185
+ export type AnthropicGenerateTextBodyMessagesItemPartsItem = {
635
1186
  /** Filename for file parts */
636
1187
  filename?: string;
637
1188
  /** MIME type of the media */
@@ -643,159 +1194,141 @@ export type GenerateTextBodyMessagesItemPartsItem = {
643
1194
  /** URL for file or media */
644
1195
  url?: string;
645
1196
  };
646
- export type GenerateTextBodyMessagesItem = {
1197
+ export type AnthropicGenerateTextBodyMessagesItem = {
647
1198
  /** Content of the message */
648
1199
  content?: string;
649
- /** Multi-part message content (for files, mixed content, etc.) */
650
- parts?: GenerateTextBodyMessagesItemPartsItem[];
1200
+ /** Multi-part message content */
1201
+ parts?: AnthropicGenerateTextBodyMessagesItemPartsItem[];
651
1202
  /** Role of the message sender */
652
- role: GenerateTextBodyMessagesItemRole;
653
- };
654
- export type GenerateImage500 = {
655
- error?: string;
656
- };
657
- export type GenerateImage200 = {
658
- /** File size in bytes */
659
- fileSize: number;
660
- /** MIME type of the image */
661
- mimeType: string;
662
- /** Storage key where image is stored */
663
- storageKey: string;
664
- /** Signed URL to access the generated image */
665
- url: string;
666
- };
667
- /**
668
- * Image generation provider (Google)
669
- */
670
- export type GenerateImageBodyProvider = typeof GenerateImageBodyProvider[keyof typeof GenerateImageBodyProvider];
671
- export declare const GenerateImageBodyProvider: {
672
- readonly Google: "Google";
673
- };
674
- /**
675
- * Aspect ratio for generated image
676
- */
677
- export type GenerateImageBodyAspectRatio = typeof GenerateImageBodyAspectRatio[keyof typeof GenerateImageBodyAspectRatio];
678
- export declare const GenerateImageBodyAspectRatio: {
679
- readonly '1:1': "1:1";
680
- readonly '2:3': "2:3";
681
- readonly '3:2': "3:2";
682
- readonly '3:4': "3:4";
683
- readonly '4:3': "4:3";
684
- readonly '4:5': "4:5";
685
- readonly '5:4': "5:4";
686
- readonly '9:16': "9:16";
687
- readonly '16:9': "16:9";
688
- readonly '21:9': "21:9";
689
- };
690
- export type GenerateImageBody = {
691
- /** Aspect ratio for generated image */
692
- aspectRatio?: GenerateImageBodyAspectRatio;
693
- /** Specific model to use */
694
- model?: string;
695
- /** Negative prompt to exclude from generation */
696
- negativePrompt?: string;
697
- /** Text prompt for image generation */
698
- prompt: string;
699
- /** Image generation provider (Google) */
700
- provider: GenerateImageBodyProvider;
701
- };
702
- export type SendEmail500 = {
703
- error?: string;
704
- };
705
- export type SendEmail400 = {
706
- error?: string;
707
- };
708
- /**
709
- * Email provider used
710
- */
711
- export type SendEmail200Provider = typeof SendEmail200Provider[keyof typeof SendEmail200Provider];
712
- export declare const SendEmail200Provider: {
713
- readonly Resend: "Resend";
714
- };
715
- export type SendEmail200 = {
716
- /** Provider message ID */
717
- id?: string;
718
- /** Email provider used */
719
- provider: SendEmail200Provider;
1203
+ role: AnthropicGenerateTextBodyMessagesItemRole;
720
1204
  };
721
- /**
722
- * Email provider (Resend)
723
- */
724
- export type SendEmailBodyProvider = typeof SendEmailBodyProvider[keyof typeof SendEmailBodyProvider];
725
- export declare const SendEmailBodyProvider: {
726
- readonly Resend: "Resend";
727
- };
728
- export type SendEmailBodyAttachmentsItem = {
729
- /** Base64-encoded attachment content */
730
- content: string;
731
- /** MIME type of the attachment */
732
- contentType?: string;
733
- /** Attachment filename */
734
- filename: string;
1205
+ export type AnthropicSetUserCredentials200 = {
1206
+ userId: string;
735
1207
  };
736
- export type SendEmailBody = {
737
- /** Email attachments */
738
- attachments?: SendEmailBodyAttachmentsItem[];
739
- /** BCC recipients */
740
- bcc?: string[];
741
- /** CC recipients */
742
- cc?: string[];
743
- /** HTML body */
744
- html?: string;
745
- /** Email provider (Resend) */
746
- provider: SendEmailBodyProvider;
747
- /** Reply-to addresses */
748
- replyTo?: string[];
749
- /** Email subject */
750
- subject: string;
751
- /** Plain text body */
752
- text?: string;
1208
+ export type AnthropicSetUserCredentialsBody = {
753
1209
  /**
754
- * Recipient email addresses
755
- * @minItems 1
1210
+ * Anthropic API key for this generated app user.
1211
+ * @minLength 1
756
1212
  */
757
- to: string[];
1213
+ apiKey: string;
1214
+ /**
1215
+ * Optional per-user default Anthropic model.
1216
+ * @minLength 1
1217
+ */
1218
+ model?: string;
1219
+ /** Existing integration user id. Omit to create a new integration user credential record. */
1220
+ userId?: string;
758
1221
  };
759
1222
  export declare const getIntegrationsAPI: () => {
760
- sendEmail: (sendEmailBody: SendEmailBody) => Promise<SendEmail200>;
761
- generateImage: (generateImageBody: GenerateImageBody) => Promise<GenerateImage200>;
762
- generateText: (generateTextBody: GenerateTextBody) => Promise<GenerateText200>;
763
- createStream: (createStreamBody: CreateStreamBody) => Promise<string>;
764
- createMessage: (createMessageBody: CreateMessageBody) => Promise<CreateMessage200>;
765
- getAuthorizationUrl: (getAuthorizationUrlBody: GetAuthorizationUrlBody) => Promise<GetAuthorizationUrl200>;
766
- handleOAuthCallback: (handleOAuthCallbackBody: HandleOAuthCallbackBody) => Promise<HandleOAuthCallback200>;
767
- createCheckoutSession: (createCheckoutSessionBody: CreateCheckoutSessionBody) => Promise<CreateCheckoutSession200>;
768
- verifyWebhook: (verifyWebhookBody: VerifyWebhookBody) => Promise<VerifyWebhook200>;
769
- uploadData: (uploadDataBody: UploadDataBody) => Promise<UploadData200>;
770
- deleteFile: (deleteFileBody: DeleteFileBody) => Promise<DeleteFile200>;
771
- documentExists: (documentExistsBody: DocumentExistsBody) => Promise<DocumentExists200>;
772
- generateDownloadSignedUrl: (generateDownloadSignedUrlBody: GenerateDownloadSignedUrlBody) => Promise<GenerateDownloadSignedUrl200>;
773
- getData: (getDataBody: GetDataBody) => Promise<GetData200>;
774
- generateUploadSignedUrl: (generateUploadSignedUrlBody: GenerateUploadSignedUrlBody) => Promise<GenerateUploadSignedUrl200>;
775
- copyFile: (copyFileBody: CopyFileBody) => Promise<CopyFile200>;
776
- getFileMetadata: (getFileMetadataBody: GetFileMetadataBody) => Promise<GetFileMetadata200>;
777
- uploadFile: (uploadFileBody: UploadFileBody) => Promise<UploadFile200>;
778
- createReadStream: (createReadStreamBody: CreateReadStreamBody) => Promise<Blob>;
779
- createWriteStream: (createWriteStreamBody: Blob, params: CreateWriteStreamParams) => Promise<CreateWriteStream200>;
780
- };
781
- export type SendEmailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['sendEmail']>>>;
782
- export type GenerateImageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['generateImage']>>>;
783
- export type GenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['generateText']>>>;
784
- export type CreateStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createStream']>>>;
785
- export type CreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createMessage']>>>;
786
- export type GetAuthorizationUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getAuthorizationUrl']>>>;
787
- export type HandleOAuthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['handleOAuthCallback']>>>;
788
- export type CreateCheckoutSessionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createCheckoutSession']>>>;
789
- export type VerifyWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['verifyWebhook']>>>;
790
- export type UploadDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['uploadData']>>>;
791
- export type DeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['deleteFile']>>>;
792
- export type DocumentExistsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['documentExists']>>>;
793
- export type GenerateDownloadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['generateDownloadSignedUrl']>>>;
794
- export type GetDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getData']>>>;
795
- export type GenerateUploadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['generateUploadSignedUrl']>>>;
796
- export type CopyFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['copyFile']>>>;
797
- export type GetFileMetadataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getFileMetadata']>>>;
798
- export type UploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['uploadFile']>>>;
799
- export type CreateReadStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createReadStream']>>>;
800
- export type CreateWriteStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createWriteStream']>>>;
1223
+ anthropicSetUserCredentials: (anthropicSetUserCredentialsBody: AnthropicSetUserCredentialsBody) => Promise<AnthropicSetUserCredentials200>;
1224
+ anthropicGenerateText: (anthropicGenerateTextBody: AnthropicGenerateTextBody) => Promise<AnthropicGenerateText200>;
1225
+ anthropicCreateStream: (anthropicCreateStreamBody: AnthropicCreateStreamBody) => Promise<string>;
1226
+ awsS3SetUserCredentials: (awsS3SetUserCredentialsBody: AwsS3SetUserCredentialsBody) => Promise<AwsS3SetUserCredentials200>;
1227
+ awsS3UploadData: (awsS3UploadDataBody: AwsS3UploadDataBody) => Promise<AwsS3UploadData200>;
1228
+ awsS3DeleteFile: (awsS3DeleteFileBody: AwsS3DeleteFileBody) => Promise<AwsS3DeleteFile200>;
1229
+ awsS3DocumentExists: (awsS3DocumentExistsBody: AwsS3DocumentExistsBody) => Promise<AwsS3DocumentExists200>;
1230
+ awsS3GenerateDownloadSignedUrl: (awsS3GenerateDownloadSignedUrlBody: AwsS3GenerateDownloadSignedUrlBody) => Promise<AwsS3GenerateDownloadSignedUrl200>;
1231
+ awsS3GetData: (awsS3GetDataBody: AwsS3GetDataBody) => Promise<AwsS3GetData200>;
1232
+ awsS3GenerateUploadSignedUrl: (awsS3GenerateUploadSignedUrlBody: AwsS3GenerateUploadSignedUrlBody) => Promise<AwsS3GenerateUploadSignedUrl200>;
1233
+ awsS3CopyFile: (awsS3CopyFileBody: AwsS3CopyFileBody) => Promise<AwsS3CopyFile200>;
1234
+ awsS3GetFileMetadata: (awsS3GetFileMetadataBody: AwsS3GetFileMetadataBody) => Promise<AwsS3GetFileMetadata200>;
1235
+ awsS3UploadFile: (awsS3UploadFileBody: AwsS3UploadFileBody) => Promise<AwsS3UploadFile200>;
1236
+ awsS3CreateReadStream: (awsS3CreateReadStreamBody: AwsS3CreateReadStreamBody) => Promise<void>;
1237
+ azureBlobStorageSetUserCredentials: (azureBlobStorageSetUserCredentialsBody: AzureBlobStorageSetUserCredentialsBody) => Promise<AzureBlobStorageSetUserCredentials200>;
1238
+ azureBlobStorageUploadData: (azureBlobStorageUploadDataBody: AzureBlobStorageUploadDataBody) => Promise<AzureBlobStorageUploadData200>;
1239
+ azureBlobStorageDeleteFile: (azureBlobStorageDeleteFileBody: AzureBlobStorageDeleteFileBody) => Promise<AzureBlobStorageDeleteFile200>;
1240
+ azureBlobStorageDocumentExists: (azureBlobStorageDocumentExistsBody: AzureBlobStorageDocumentExistsBody) => Promise<AzureBlobStorageDocumentExists200>;
1241
+ azureBlobStorageGenerateDownloadSignedUrl: (azureBlobStorageGenerateDownloadSignedUrlBody: AzureBlobStorageGenerateDownloadSignedUrlBody) => Promise<AzureBlobStorageGenerateDownloadSignedUrl200>;
1242
+ azureBlobStorageGetData: (azureBlobStorageGetDataBody: AzureBlobStorageGetDataBody) => Promise<AzureBlobStorageGetData200>;
1243
+ azureBlobStorageGenerateUploadSignedUrl: (azureBlobStorageGenerateUploadSignedUrlBody: AzureBlobStorageGenerateUploadSignedUrlBody) => Promise<AzureBlobStorageGenerateUploadSignedUrl200>;
1244
+ azureBlobStorageCopyFile: (azureBlobStorageCopyFileBody: AzureBlobStorageCopyFileBody) => Promise<AzureBlobStorageCopyFile200>;
1245
+ azureBlobStorageGetFileMetadata: (azureBlobStorageGetFileMetadataBody: AzureBlobStorageGetFileMetadataBody) => Promise<AzureBlobStorageGetFileMetadata200>;
1246
+ azureBlobStorageUploadFile: (azureBlobStorageUploadFileBody: AzureBlobStorageUploadFileBody) => Promise<AzureBlobStorageUploadFile200>;
1247
+ azureBlobStorageCreateReadStream: (azureBlobStorageCreateReadStreamBody: AzureBlobStorageCreateReadStreamBody) => Promise<void>;
1248
+ azureBlobStorageCreateWriteStream: (azureBlobStorageCreateWriteStreamBody: Blob, params: AzureBlobStorageCreateWriteStreamParams) => Promise<AzureBlobStorageCreateWriteStream200>;
1249
+ gmailAuthStart: (gmailAuthStartBody: GmailAuthStartBody) => Promise<GmailAuthStart200>;
1250
+ gmailOauthCallback: () => Promise<void>;
1251
+ gmailSendEmail: (gmailSendEmailBody: GmailSendEmailBody) => Promise<GmailSendEmail200>;
1252
+ googleCloudStorageSetUserCredentials: (googleCloudStorageSetUserCredentialsBody: GoogleCloudStorageSetUserCredentialsBody) => Promise<GoogleCloudStorageSetUserCredentials200>;
1253
+ googleCloudStorageUploadData: (googleCloudStorageUploadDataBody: GoogleCloudStorageUploadDataBody) => Promise<GoogleCloudStorageUploadData200>;
1254
+ googleCloudStorageDeleteFile: (googleCloudStorageDeleteFileBody: GoogleCloudStorageDeleteFileBody) => Promise<GoogleCloudStorageDeleteFile200>;
1255
+ googleCloudStorageDocumentExists: (googleCloudStorageDocumentExistsBody: GoogleCloudStorageDocumentExistsBody) => Promise<GoogleCloudStorageDocumentExists200>;
1256
+ googleCloudStorageGenerateDownloadSignedUrl: (googleCloudStorageGenerateDownloadSignedUrlBody: GoogleCloudStorageGenerateDownloadSignedUrlBody) => Promise<GoogleCloudStorageGenerateDownloadSignedUrl200>;
1257
+ googleCloudStorageGetData: (googleCloudStorageGetDataBody: GoogleCloudStorageGetDataBody) => Promise<GoogleCloudStorageGetData200>;
1258
+ googleCloudStorageGenerateUploadSignedUrl: (googleCloudStorageGenerateUploadSignedUrlBody: GoogleCloudStorageGenerateUploadSignedUrlBody) => Promise<GoogleCloudStorageGenerateUploadSignedUrl200>;
1259
+ googleCloudStorageCopyFile: (googleCloudStorageCopyFileBody: GoogleCloudStorageCopyFileBody) => Promise<GoogleCloudStorageCopyFile200>;
1260
+ googleCloudStorageGetFileMetadata: (googleCloudStorageGetFileMetadataBody: GoogleCloudStorageGetFileMetadataBody) => Promise<GoogleCloudStorageGetFileMetadata200>;
1261
+ googleCloudStorageUploadFile: (googleCloudStorageUploadFileBody: GoogleCloudStorageUploadFileBody) => Promise<GoogleCloudStorageUploadFile200>;
1262
+ googleCloudStorageCreateReadStream: (googleCloudStorageCreateReadStreamBody: GoogleCloudStorageCreateReadStreamBody) => Promise<void>;
1263
+ googleCloudStorageCreateWriteStream: (googleCloudStorageCreateWriteStreamBody: Blob, params: GoogleCloudStorageCreateWriteStreamParams) => Promise<GoogleCloudStorageCreateWriteStream200>;
1264
+ googleGenerativeAISetUserCredentials: (googleGenerativeAISetUserCredentialsBody: GoogleGenerativeAISetUserCredentialsBody) => Promise<GoogleGenerativeAISetUserCredentials200>;
1265
+ googleGenerativeAIGenerateText: (googleGenerativeAIGenerateTextBody: GoogleGenerativeAIGenerateTextBody) => Promise<GoogleGenerativeAIGenerateText200>;
1266
+ googleGenerativeAICreateStream: (googleGenerativeAICreateStreamBody: GoogleGenerativeAICreateStreamBody) => Promise<string>;
1267
+ googleOAuthGetAuthorizationUrl: (googleOAuthGetAuthorizationUrlBody: GoogleOAuthGetAuthorizationUrlBody) => Promise<GoogleOAuthGetAuthorizationUrl200>;
1268
+ googleOAuthOauthCallback: () => Promise<unknown>;
1269
+ openaiSetUserCredentials: (openaiSetUserCredentialsBody: OpenaiSetUserCredentialsBody) => Promise<OpenaiSetUserCredentials200>;
1270
+ openaiGenerateText: (openaiGenerateTextBody: OpenaiGenerateTextBody) => Promise<OpenaiGenerateText200>;
1271
+ openaiCreateStream: (openaiCreateStreamBody: OpenaiCreateStreamBody) => Promise<string>;
1272
+ resendSetUserCredentials: (resendSetUserCredentialsBody: ResendSetUserCredentialsBody) => Promise<ResendSetUserCredentials200>;
1273
+ resendSendEmail: (resendSendEmailBody: ResendSendEmailBody) => Promise<ResendSendEmail200>;
1274
+ stripeCreateCheckoutSession: (stripeCreateCheckoutSessionBody: StripeCreateCheckoutSessionBody) => Promise<StripeCreateCheckoutSession200>;
1275
+ stripeVerifyWebhook: (stripeVerifyWebhookBody: StripeVerifyWebhookBody) => Promise<StripeVerifyWebhook200>;
1276
+ twilioWhatsappSetUserCredentials: (twilioWhatsappSetUserCredentialsBody: TwilioWhatsappSetUserCredentialsBody) => Promise<TwilioWhatsappSetUserCredentials200>;
1277
+ twilioWhatsappCreateMessage: (twilioWhatsappCreateMessageBody: TwilioWhatsappCreateMessageBody) => Promise<TwilioWhatsappCreateMessage200>;
1278
+ };
1279
+ export type AnthropicSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicSetUserCredentials']>>>;
1280
+ export type AnthropicGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicGenerateText']>>>;
1281
+ export type AnthropicCreateStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicCreateStream']>>>;
1282
+ export type AwsS3SetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3SetUserCredentials']>>>;
1283
+ export type AwsS3UploadDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3UploadData']>>>;
1284
+ export type AwsS3DeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3DeleteFile']>>>;
1285
+ export type AwsS3DocumentExistsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3DocumentExists']>>>;
1286
+ export type AwsS3GenerateDownloadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3GenerateDownloadSignedUrl']>>>;
1287
+ export type AwsS3GetDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3GetData']>>>;
1288
+ export type AwsS3GenerateUploadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3GenerateUploadSignedUrl']>>>;
1289
+ export type AwsS3CopyFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3CopyFile']>>>;
1290
+ export type AwsS3GetFileMetadataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3GetFileMetadata']>>>;
1291
+ export type AwsS3UploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3UploadFile']>>>;
1292
+ export type AwsS3CreateReadStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['awsS3CreateReadStream']>>>;
1293
+ export type AzureBlobStorageSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageSetUserCredentials']>>>;
1294
+ export type AzureBlobStorageUploadDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageUploadData']>>>;
1295
+ export type AzureBlobStorageDeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageDeleteFile']>>>;
1296
+ export type AzureBlobStorageDocumentExistsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageDocumentExists']>>>;
1297
+ export type AzureBlobStorageGenerateDownloadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageGenerateDownloadSignedUrl']>>>;
1298
+ export type AzureBlobStorageGetDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageGetData']>>>;
1299
+ export type AzureBlobStorageGenerateUploadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageGenerateUploadSignedUrl']>>>;
1300
+ export type AzureBlobStorageCopyFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageCopyFile']>>>;
1301
+ export type AzureBlobStorageGetFileMetadataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageGetFileMetadata']>>>;
1302
+ export type AzureBlobStorageUploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageUploadFile']>>>;
1303
+ export type AzureBlobStorageCreateReadStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageCreateReadStream']>>>;
1304
+ export type AzureBlobStorageCreateWriteStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['azureBlobStorageCreateWriteStream']>>>;
1305
+ export type GmailAuthStartResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['gmailAuthStart']>>>;
1306
+ export type GmailOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['gmailOauthCallback']>>>;
1307
+ export type GmailSendEmailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['gmailSendEmail']>>>;
1308
+ export type GoogleCloudStorageSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageSetUserCredentials']>>>;
1309
+ export type GoogleCloudStorageUploadDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageUploadData']>>>;
1310
+ export type GoogleCloudStorageDeleteFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageDeleteFile']>>>;
1311
+ export type GoogleCloudStorageDocumentExistsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageDocumentExists']>>>;
1312
+ export type GoogleCloudStorageGenerateDownloadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageGenerateDownloadSignedUrl']>>>;
1313
+ export type GoogleCloudStorageGetDataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageGetData']>>>;
1314
+ export type GoogleCloudStorageGenerateUploadSignedUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageGenerateUploadSignedUrl']>>>;
1315
+ export type GoogleCloudStorageCopyFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageCopyFile']>>>;
1316
+ export type GoogleCloudStorageGetFileMetadataResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageGetFileMetadata']>>>;
1317
+ export type GoogleCloudStorageUploadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageUploadFile']>>>;
1318
+ export type GoogleCloudStorageCreateReadStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageCreateReadStream']>>>;
1319
+ export type GoogleCloudStorageCreateWriteStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleCloudStorageCreateWriteStream']>>>;
1320
+ export type GoogleGenerativeAISetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleGenerativeAISetUserCredentials']>>>;
1321
+ export type GoogleGenerativeAIGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleGenerativeAIGenerateText']>>>;
1322
+ export type GoogleGenerativeAICreateStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleGenerativeAICreateStream']>>>;
1323
+ export type GoogleOAuthGetAuthorizationUrlResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleOAuthGetAuthorizationUrl']>>>;
1324
+ export type GoogleOAuthOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['googleOAuthOauthCallback']>>>;
1325
+ export type OpenaiSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['openaiSetUserCredentials']>>>;
1326
+ export type OpenaiGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['openaiGenerateText']>>>;
1327
+ export type OpenaiCreateStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['openaiCreateStream']>>>;
1328
+ export type ResendSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['resendSetUserCredentials']>>>;
1329
+ export type ResendSendEmailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['resendSendEmail']>>>;
1330
+ export type StripeCreateCheckoutSessionResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['stripeCreateCheckoutSession']>>>;
1331
+ export type StripeVerifyWebhookResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['stripeVerifyWebhook']>>>;
1332
+ export type TwilioWhatsappSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['twilioWhatsappSetUserCredentials']>>>;
1333
+ export type TwilioWhatsappCreateMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['twilioWhatsappCreateMessage']>>>;
801
1334
  //# sourceMappingURL=generated-api.d.ts.map