samuel-integrations-sdk 0.0.29 → 0.0.30

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