samuel-integrations-sdk 0.0.29 → 0.0.31

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