@automate.ax/integration-contracts 0.105.0 → 0.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/airtable/api.js +6 -4
- package/dist/airtable/index.d.ts +997 -19
- package/dist/airtable/index.js +30 -2
- package/dist/airtable/schemas.d.ts +2034 -44
- package/dist/airtable/schemas.js +231 -47
- package/dist/brevo/api.d.ts +41 -0
- package/dist/brevo/api.js +74 -4
- package/dist/close/events.d.ts +13 -13
- package/dist/close/schemas.d.ts +9 -9
- package/dist/cloudflare/api.d.ts +93 -0
- package/dist/cloudflare/api.js +250 -0
- package/dist/cloudflare/events.d.ts +1340 -0
- package/dist/cloudflare/events.js +178 -0
- package/dist/cloudflare/index.d.ts +3 -0
- package/dist/cloudflare/index.js +3 -0
- package/dist/cloudflare/schemas.d.ts +608 -0
- package/dist/cloudflare/schemas.js +340 -0
- package/dist/linear/api.d.ts +1 -1
- package/dist/linear/api.js +9 -6
- package/dist/linear/index.d.ts +3479 -782
- package/dist/linear/index.js +249 -13
- package/dist/linear/schemas.d.ts +2724 -31
- package/dist/linear/schemas.js +515 -2
- package/dist/notion/schemas.d.ts +112 -112
- package/dist/outlook/schemas.d.ts +2 -2
- package/dist/resend/action-schemas.d.ts +9 -9
- package/dist/resend/index.d.ts +36 -36
- package/dist/resend/schemas.d.ts +40 -40
- package/dist/teams/schemas.d.ts +5 -5
- package/dist/triggers.d.ts +2 -1
- package/dist/whatsapp/index.d.ts +2 -2
- package/dist/whatsapp/schemas.d.ts +5 -5
- package/package.json +8 -2
- package/src/airtable/api.ts +7 -4
- package/src/airtable/index.ts +36 -1
- package/src/airtable/schemas.ts +294 -63
- package/src/brevo/api.ts +103 -8
- package/src/cloudflare/api.ts +340 -0
- package/src/cloudflare/events.ts +212 -0
- package/src/cloudflare/index.ts +3 -0
- package/src/cloudflare/schemas.ts +359 -0
- package/src/linear/api.ts +10 -6
- package/src/linear/index.ts +249 -26
- package/src/linear/schemas.ts +688 -2
- package/src/triggers.ts +2 -0
|
@@ -491,8 +491,8 @@ export declare const OUTLOOK_ATTACHMENT_SCHEMA: z.ZodObject<{
|
|
|
491
491
|
type: z.ZodEnum<{
|
|
492
492
|
unknown: "unknown";
|
|
493
493
|
file: "file";
|
|
494
|
-
reference: "reference";
|
|
495
494
|
item: "item";
|
|
495
|
+
reference: "reference";
|
|
496
496
|
}>;
|
|
497
497
|
}, z.core.$strip>;
|
|
498
498
|
export declare const GRAPH_ATTACHMENT_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
@@ -513,7 +513,7 @@ export declare const GRAPH_ATTACHMENT_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
513
513
|
isInline: boolean;
|
|
514
514
|
name: string;
|
|
515
515
|
size: number;
|
|
516
|
-
type: "unknown" | "file" | "
|
|
516
|
+
type: "unknown" | "file" | "item" | "reference";
|
|
517
517
|
file?: File | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
[x: string]: unknown;
|
|
@@ -3,8 +3,8 @@ export declare const RESEND_EMAIL_STATUS_SCHEMA: z.ZodEnum<{
|
|
|
3
3
|
failed: "failed";
|
|
4
4
|
delivered: "delivered";
|
|
5
5
|
opened: "opened";
|
|
6
|
-
scheduled: "scheduled";
|
|
7
6
|
sent: "sent";
|
|
7
|
+
scheduled: "scheduled";
|
|
8
8
|
canceled: "canceled";
|
|
9
9
|
queued: "queued";
|
|
10
10
|
suppressed: "suppressed";
|
|
@@ -78,8 +78,8 @@ export declare const RESEND_EMAIL_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
|
|
|
78
78
|
failed: "failed";
|
|
79
79
|
delivered: "delivered";
|
|
80
80
|
opened: "opened";
|
|
81
|
-
scheduled: "scheduled";
|
|
82
81
|
sent: "sent";
|
|
82
|
+
scheduled: "scheduled";
|
|
83
83
|
canceled: "canceled";
|
|
84
84
|
queued: "queued";
|
|
85
85
|
suppressed: "suppressed";
|
|
@@ -105,8 +105,8 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
105
105
|
failed: "failed";
|
|
106
106
|
delivered: "delivered";
|
|
107
107
|
opened: "opened";
|
|
108
|
-
scheduled: "scheduled";
|
|
109
108
|
sent: "sent";
|
|
109
|
+
scheduled: "scheduled";
|
|
110
110
|
canceled: "canceled";
|
|
111
111
|
queued: "queued";
|
|
112
112
|
suppressed: "suppressed";
|
|
@@ -123,7 +123,7 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
123
123
|
topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
124
|
}, z.core.$strip>, z.ZodTransform<{
|
|
125
125
|
createdAt: string;
|
|
126
|
-
lastEvent: "failed" | "delivered" | "opened" | "
|
|
126
|
+
lastEvent: "failed" | "delivered" | "opened" | "sent" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
|
|
127
127
|
messageId: string | null | undefined;
|
|
128
128
|
replyTo: string[] | null | undefined;
|
|
129
129
|
scheduledAt: string | null | undefined;
|
|
@@ -138,7 +138,7 @@ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
138
138
|
created_at: string;
|
|
139
139
|
from: string;
|
|
140
140
|
id: string;
|
|
141
|
-
last_event: "failed" | "delivered" | "opened" | "
|
|
141
|
+
last_event: "failed" | "delivered" | "opened" | "sent" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
|
|
142
142
|
subject: string;
|
|
143
143
|
to: string[];
|
|
144
144
|
bcc?: string[] | null | undefined;
|
|
@@ -156,8 +156,8 @@ export declare const RESEND_EMAIL_WIRE_SCHEMA: z.ZodObject<{
|
|
|
156
156
|
failed: "failed";
|
|
157
157
|
delivered: "delivered";
|
|
158
158
|
opened: "opened";
|
|
159
|
-
scheduled: "scheduled";
|
|
160
159
|
sent: "sent";
|
|
160
|
+
scheduled: "scheduled";
|
|
161
161
|
canceled: "canceled";
|
|
162
162
|
queued: "queued";
|
|
163
163
|
suppressed: "suppressed";
|
|
@@ -190,8 +190,8 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
190
190
|
failed: "failed";
|
|
191
191
|
delivered: "delivered";
|
|
192
192
|
opened: "opened";
|
|
193
|
-
scheduled: "scheduled";
|
|
194
193
|
sent: "sent";
|
|
194
|
+
scheduled: "scheduled";
|
|
195
195
|
canceled: "canceled";
|
|
196
196
|
queued: "queued";
|
|
197
197
|
suppressed: "suppressed";
|
|
@@ -217,7 +217,7 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
217
217
|
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
218
|
}, z.core.$strip>, z.ZodTransform<{
|
|
219
219
|
createdAt: string;
|
|
220
|
-
lastEvent: "failed" | "delivered" | "opened" | "
|
|
220
|
+
lastEvent: "failed" | "delivered" | "opened" | "sent" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
|
|
221
221
|
messageId: string | null | undefined;
|
|
222
222
|
replyTo: string[] | null | undefined;
|
|
223
223
|
scheduledAt: string | null | undefined;
|
|
@@ -239,7 +239,7 @@ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
239
239
|
created_at: string;
|
|
240
240
|
from: string;
|
|
241
241
|
id: string;
|
|
242
|
-
last_event: "failed" | "delivered" | "opened" | "
|
|
242
|
+
last_event: "failed" | "delivered" | "opened" | "sent" | "scheduled" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
|
|
243
243
|
subject: string;
|
|
244
244
|
to: string[];
|
|
245
245
|
object: "email";
|
package/dist/resend/index.d.ts
CHANGED
|
@@ -204,10 +204,10 @@ export declare const resendTriggerContracts: {
|
|
|
204
204
|
}>;
|
|
205
205
|
ttl: z.ZodString;
|
|
206
206
|
type: z.ZodEnum<{
|
|
207
|
+
CAA: "CAA";
|
|
208
|
+
CNAME: "CNAME";
|
|
207
209
|
MX: "MX";
|
|
208
210
|
TXT: "TXT";
|
|
209
|
-
CNAME: "CNAME";
|
|
210
|
-
CAA: "CAA";
|
|
211
211
|
}>;
|
|
212
212
|
value: z.ZodString;
|
|
213
213
|
}, z.core.$strip>>;
|
|
@@ -260,10 +260,10 @@ export declare const resendTriggerContracts: {
|
|
|
260
260
|
}>;
|
|
261
261
|
ttl: z.ZodString;
|
|
262
262
|
type: z.ZodEnum<{
|
|
263
|
+
CAA: "CAA";
|
|
264
|
+
CNAME: "CNAME";
|
|
263
265
|
MX: "MX";
|
|
264
266
|
TXT: "TXT";
|
|
265
|
-
CNAME: "CNAME";
|
|
266
|
-
CAA: "CAA";
|
|
267
267
|
}>;
|
|
268
268
|
value: z.ZodString;
|
|
269
269
|
}, z.core.$strip>>;
|
|
@@ -321,10 +321,10 @@ export declare const resendTriggerContracts: {
|
|
|
321
321
|
}>;
|
|
322
322
|
ttl: z.ZodString;
|
|
323
323
|
type: z.ZodEnum<{
|
|
324
|
+
CAA: "CAA";
|
|
325
|
+
CNAME: "CNAME";
|
|
324
326
|
MX: "MX";
|
|
325
327
|
TXT: "TXT";
|
|
326
|
-
CNAME: "CNAME";
|
|
327
|
-
CAA: "CAA";
|
|
328
328
|
}>;
|
|
329
329
|
value: z.ZodString;
|
|
330
330
|
}, z.core.$strip>>;
|
|
@@ -377,10 +377,10 @@ export declare const resendTriggerContracts: {
|
|
|
377
377
|
}>;
|
|
378
378
|
ttl: z.ZodString;
|
|
379
379
|
type: z.ZodEnum<{
|
|
380
|
+
CAA: "CAA";
|
|
381
|
+
CNAME: "CNAME";
|
|
380
382
|
MX: "MX";
|
|
381
383
|
TXT: "TXT";
|
|
382
|
-
CNAME: "CNAME";
|
|
383
|
-
CAA: "CAA";
|
|
384
384
|
}>;
|
|
385
385
|
value: z.ZodString;
|
|
386
386
|
}, z.core.$strip>>;
|
|
@@ -438,10 +438,10 @@ export declare const resendTriggerContracts: {
|
|
|
438
438
|
}>;
|
|
439
439
|
ttl: z.ZodString;
|
|
440
440
|
type: z.ZodEnum<{
|
|
441
|
+
CAA: "CAA";
|
|
442
|
+
CNAME: "CNAME";
|
|
441
443
|
MX: "MX";
|
|
442
444
|
TXT: "TXT";
|
|
443
|
-
CNAME: "CNAME";
|
|
444
|
-
CAA: "CAA";
|
|
445
445
|
}>;
|
|
446
446
|
value: z.ZodString;
|
|
447
447
|
}, z.core.$strip>>;
|
|
@@ -494,10 +494,10 @@ export declare const resendTriggerContracts: {
|
|
|
494
494
|
}>;
|
|
495
495
|
ttl: z.ZodString;
|
|
496
496
|
type: z.ZodEnum<{
|
|
497
|
+
CAA: "CAA";
|
|
498
|
+
CNAME: "CNAME";
|
|
497
499
|
MX: "MX";
|
|
498
500
|
TXT: "TXT";
|
|
499
|
-
CNAME: "CNAME";
|
|
500
|
-
CAA: "CAA";
|
|
501
501
|
}>;
|
|
502
502
|
value: z.ZodString;
|
|
503
503
|
}, z.core.$strip>>;
|
|
@@ -551,10 +551,10 @@ export declare const resendTriggerContracts: {
|
|
|
551
551
|
}>;
|
|
552
552
|
ttl: z.ZodString;
|
|
553
553
|
type: z.ZodEnum<{
|
|
554
|
+
CAA: "CAA";
|
|
555
|
+
CNAME: "CNAME";
|
|
554
556
|
MX: "MX";
|
|
555
557
|
TXT: "TXT";
|
|
556
|
-
CNAME: "CNAME";
|
|
557
|
-
CAA: "CAA";
|
|
558
558
|
}>;
|
|
559
559
|
value: z.ZodString;
|
|
560
560
|
}, z.core.$strip>>;
|
|
@@ -607,10 +607,10 @@ export declare const resendTriggerContracts: {
|
|
|
607
607
|
}>;
|
|
608
608
|
ttl: z.ZodString;
|
|
609
609
|
type: z.ZodEnum<{
|
|
610
|
+
CAA: "CAA";
|
|
611
|
+
CNAME: "CNAME";
|
|
610
612
|
MX: "MX";
|
|
611
613
|
TXT: "TXT";
|
|
612
|
-
CNAME: "CNAME";
|
|
613
|
-
CAA: "CAA";
|
|
614
614
|
}>;
|
|
615
615
|
value: z.ZodString;
|
|
616
616
|
}, z.core.$strip>>;
|
|
@@ -664,10 +664,10 @@ export declare const resendTriggerContracts: {
|
|
|
664
664
|
}>;
|
|
665
665
|
ttl: z.ZodString;
|
|
666
666
|
type: z.ZodEnum<{
|
|
667
|
+
CAA: "CAA";
|
|
668
|
+
CNAME: "CNAME";
|
|
667
669
|
MX: "MX";
|
|
668
670
|
TXT: "TXT";
|
|
669
|
-
CNAME: "CNAME";
|
|
670
|
-
CAA: "CAA";
|
|
671
671
|
}>;
|
|
672
672
|
value: z.ZodString;
|
|
673
673
|
}, z.core.$strip>>;
|
|
@@ -720,10 +720,10 @@ export declare const resendTriggerContracts: {
|
|
|
720
720
|
}>;
|
|
721
721
|
ttl: z.ZodString;
|
|
722
722
|
type: z.ZodEnum<{
|
|
723
|
+
CAA: "CAA";
|
|
724
|
+
CNAME: "CNAME";
|
|
723
725
|
MX: "MX";
|
|
724
726
|
TXT: "TXT";
|
|
725
|
-
CNAME: "CNAME";
|
|
726
|
-
CAA: "CAA";
|
|
727
727
|
}>;
|
|
728
728
|
value: z.ZodString;
|
|
729
729
|
}, z.core.$strip>>;
|
|
@@ -781,10 +781,10 @@ export declare const resendTriggerContracts: {
|
|
|
781
781
|
}>;
|
|
782
782
|
ttl: z.ZodString;
|
|
783
783
|
type: z.ZodEnum<{
|
|
784
|
+
CAA: "CAA";
|
|
785
|
+
CNAME: "CNAME";
|
|
784
786
|
MX: "MX";
|
|
785
787
|
TXT: "TXT";
|
|
786
|
-
CNAME: "CNAME";
|
|
787
|
-
CAA: "CAA";
|
|
788
788
|
}>;
|
|
789
789
|
value: z.ZodString;
|
|
790
790
|
}, z.core.$strip>>;
|
|
@@ -837,10 +837,10 @@ export declare const resendTriggerContracts: {
|
|
|
837
837
|
}>;
|
|
838
838
|
ttl: z.ZodString;
|
|
839
839
|
type: z.ZodEnum<{
|
|
840
|
+
CAA: "CAA";
|
|
841
|
+
CNAME: "CNAME";
|
|
840
842
|
MX: "MX";
|
|
841
843
|
TXT: "TXT";
|
|
842
|
-
CNAME: "CNAME";
|
|
843
|
-
CAA: "CAA";
|
|
844
844
|
}>;
|
|
845
845
|
value: z.ZodString;
|
|
846
846
|
}, z.core.$strip>>;
|
|
@@ -2254,10 +2254,10 @@ export declare const resendTriggerContracts: {
|
|
|
2254
2254
|
}>;
|
|
2255
2255
|
ttl: z.ZodString;
|
|
2256
2256
|
type: z.ZodEnum<{
|
|
2257
|
+
CAA: "CAA";
|
|
2258
|
+
CNAME: "CNAME";
|
|
2257
2259
|
MX: "MX";
|
|
2258
2260
|
TXT: "TXT";
|
|
2259
|
-
CNAME: "CNAME";
|
|
2260
|
-
CAA: "CAA";
|
|
2261
2261
|
}>;
|
|
2262
2262
|
value: z.ZodString;
|
|
2263
2263
|
}, z.core.$strip>>;
|
|
@@ -2310,10 +2310,10 @@ export declare const resendTriggerContracts: {
|
|
|
2310
2310
|
}>;
|
|
2311
2311
|
ttl: z.ZodString;
|
|
2312
2312
|
type: z.ZodEnum<{
|
|
2313
|
+
CAA: "CAA";
|
|
2314
|
+
CNAME: "CNAME";
|
|
2313
2315
|
MX: "MX";
|
|
2314
2316
|
TXT: "TXT";
|
|
2315
|
-
CNAME: "CNAME";
|
|
2316
|
-
CAA: "CAA";
|
|
2317
2317
|
}>;
|
|
2318
2318
|
value: z.ZodString;
|
|
2319
2319
|
}, z.core.$strip>>;
|
|
@@ -2367,10 +2367,10 @@ export declare const resendTriggerContracts: {
|
|
|
2367
2367
|
}>;
|
|
2368
2368
|
ttl: z.ZodString;
|
|
2369
2369
|
type: z.ZodEnum<{
|
|
2370
|
+
CAA: "CAA";
|
|
2371
|
+
CNAME: "CNAME";
|
|
2370
2372
|
MX: "MX";
|
|
2371
2373
|
TXT: "TXT";
|
|
2372
|
-
CNAME: "CNAME";
|
|
2373
|
-
CAA: "CAA";
|
|
2374
2374
|
}>;
|
|
2375
2375
|
value: z.ZodString;
|
|
2376
2376
|
}, z.core.$strip>>;
|
|
@@ -2423,10 +2423,10 @@ export declare const resendTriggerContracts: {
|
|
|
2423
2423
|
}>;
|
|
2424
2424
|
ttl: z.ZodString;
|
|
2425
2425
|
type: z.ZodEnum<{
|
|
2426
|
+
CAA: "CAA";
|
|
2427
|
+
CNAME: "CNAME";
|
|
2426
2428
|
MX: "MX";
|
|
2427
2429
|
TXT: "TXT";
|
|
2428
|
-
CNAME: "CNAME";
|
|
2429
|
-
CAA: "CAA";
|
|
2430
2430
|
}>;
|
|
2431
2431
|
value: z.ZodString;
|
|
2432
2432
|
}, z.core.$strip>>;
|
|
@@ -2480,10 +2480,10 @@ export declare const resendTriggerContracts: {
|
|
|
2480
2480
|
}>;
|
|
2481
2481
|
ttl: z.ZodString;
|
|
2482
2482
|
type: z.ZodEnum<{
|
|
2483
|
+
CAA: "CAA";
|
|
2484
|
+
CNAME: "CNAME";
|
|
2483
2485
|
MX: "MX";
|
|
2484
2486
|
TXT: "TXT";
|
|
2485
|
-
CNAME: "CNAME";
|
|
2486
|
-
CAA: "CAA";
|
|
2487
2487
|
}>;
|
|
2488
2488
|
value: z.ZodString;
|
|
2489
2489
|
}, z.core.$strip>>;
|
|
@@ -2536,10 +2536,10 @@ export declare const resendTriggerContracts: {
|
|
|
2536
2536
|
}>;
|
|
2537
2537
|
ttl: z.ZodString;
|
|
2538
2538
|
type: z.ZodEnum<{
|
|
2539
|
+
CAA: "CAA";
|
|
2540
|
+
CNAME: "CNAME";
|
|
2539
2541
|
MX: "MX";
|
|
2540
2542
|
TXT: "TXT";
|
|
2541
|
-
CNAME: "CNAME";
|
|
2542
|
-
CAA: "CAA";
|
|
2543
2543
|
}>;
|
|
2544
2544
|
value: z.ZodString;
|
|
2545
2545
|
}, z.core.$strip>>;
|
package/dist/resend/schemas.d.ts
CHANGED
|
@@ -1030,10 +1030,10 @@ export declare const RESEND_DOMAIN_CREATED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1030
1030
|
}>;
|
|
1031
1031
|
ttl: z.ZodString;
|
|
1032
1032
|
type: z.ZodEnum<{
|
|
1033
|
+
CAA: "CAA";
|
|
1034
|
+
CNAME: "CNAME";
|
|
1033
1035
|
MX: "MX";
|
|
1034
1036
|
TXT: "TXT";
|
|
1035
|
-
CNAME: "CNAME";
|
|
1036
|
-
CAA: "CAA";
|
|
1037
1037
|
}>;
|
|
1038
1038
|
value: z.ZodString;
|
|
1039
1039
|
}, z.core.$strip>>;
|
|
@@ -1086,10 +1086,10 @@ export declare const RESEND_DOMAIN_CREATED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1086
1086
|
}>;
|
|
1087
1087
|
ttl: z.ZodString;
|
|
1088
1088
|
type: z.ZodEnum<{
|
|
1089
|
+
CAA: "CAA";
|
|
1090
|
+
CNAME: "CNAME";
|
|
1089
1091
|
MX: "MX";
|
|
1090
1092
|
TXT: "TXT";
|
|
1091
|
-
CNAME: "CNAME";
|
|
1092
|
-
CAA: "CAA";
|
|
1093
1093
|
}>;
|
|
1094
1094
|
value: z.ZodString;
|
|
1095
1095
|
}, z.core.$strip>>;
|
|
@@ -1144,10 +1144,10 @@ export declare const RESEND_DOMAIN_UPDATED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1144
1144
|
}>;
|
|
1145
1145
|
ttl: z.ZodString;
|
|
1146
1146
|
type: z.ZodEnum<{
|
|
1147
|
+
CAA: "CAA";
|
|
1148
|
+
CNAME: "CNAME";
|
|
1147
1149
|
MX: "MX";
|
|
1148
1150
|
TXT: "TXT";
|
|
1149
|
-
CNAME: "CNAME";
|
|
1150
|
-
CAA: "CAA";
|
|
1151
1151
|
}>;
|
|
1152
1152
|
value: z.ZodString;
|
|
1153
1153
|
}, z.core.$strip>>;
|
|
@@ -1200,10 +1200,10 @@ export declare const RESEND_DOMAIN_UPDATED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1200
1200
|
}>;
|
|
1201
1201
|
ttl: z.ZodString;
|
|
1202
1202
|
type: z.ZodEnum<{
|
|
1203
|
+
CAA: "CAA";
|
|
1204
|
+
CNAME: "CNAME";
|
|
1203
1205
|
MX: "MX";
|
|
1204
1206
|
TXT: "TXT";
|
|
1205
|
-
CNAME: "CNAME";
|
|
1206
|
-
CAA: "CAA";
|
|
1207
1207
|
}>;
|
|
1208
1208
|
value: z.ZodString;
|
|
1209
1209
|
}, z.core.$strip>>;
|
|
@@ -1258,10 +1258,10 @@ export declare const RESEND_DOMAIN_DELETED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1258
1258
|
}>;
|
|
1259
1259
|
ttl: z.ZodString;
|
|
1260
1260
|
type: z.ZodEnum<{
|
|
1261
|
+
CAA: "CAA";
|
|
1262
|
+
CNAME: "CNAME";
|
|
1261
1263
|
MX: "MX";
|
|
1262
1264
|
TXT: "TXT";
|
|
1263
|
-
CNAME: "CNAME";
|
|
1264
|
-
CAA: "CAA";
|
|
1265
1265
|
}>;
|
|
1266
1266
|
value: z.ZodString;
|
|
1267
1267
|
}, z.core.$strip>>;
|
|
@@ -1314,10 +1314,10 @@ export declare const RESEND_DOMAIN_DELETED_EVENT_SCHEMA: z.ZodObject<{
|
|
|
1314
1314
|
}>;
|
|
1315
1315
|
ttl: z.ZodString;
|
|
1316
1316
|
type: z.ZodEnum<{
|
|
1317
|
+
CAA: "CAA";
|
|
1318
|
+
CNAME: "CNAME";
|
|
1317
1319
|
MX: "MX";
|
|
1318
1320
|
TXT: "TXT";
|
|
1319
|
-
CNAME: "CNAME";
|
|
1320
|
-
CAA: "CAA";
|
|
1321
1321
|
}>;
|
|
1322
1322
|
value: z.ZodString;
|
|
1323
1323
|
}, z.core.$strip>>;
|
|
@@ -1372,10 +1372,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1372
1372
|
}>;
|
|
1373
1373
|
ttl: z.ZodString;
|
|
1374
1374
|
type: z.ZodEnum<{
|
|
1375
|
+
CAA: "CAA";
|
|
1376
|
+
CNAME: "CNAME";
|
|
1375
1377
|
MX: "MX";
|
|
1376
1378
|
TXT: "TXT";
|
|
1377
|
-
CNAME: "CNAME";
|
|
1378
|
-
CAA: "CAA";
|
|
1379
1379
|
}>;
|
|
1380
1380
|
value: z.ZodString;
|
|
1381
1381
|
}, z.core.$strip>>;
|
|
@@ -1428,10 +1428,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1428
1428
|
}>;
|
|
1429
1429
|
ttl: z.ZodString;
|
|
1430
1430
|
type: z.ZodEnum<{
|
|
1431
|
+
CAA: "CAA";
|
|
1432
|
+
CNAME: "CNAME";
|
|
1431
1433
|
MX: "MX";
|
|
1432
1434
|
TXT: "TXT";
|
|
1433
|
-
CNAME: "CNAME";
|
|
1434
|
-
CAA: "CAA";
|
|
1435
1435
|
}>;
|
|
1436
1436
|
value: z.ZodString;
|
|
1437
1437
|
}, z.core.$strip>>;
|
|
@@ -1485,10 +1485,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1485
1485
|
}>;
|
|
1486
1486
|
ttl: z.ZodString;
|
|
1487
1487
|
type: z.ZodEnum<{
|
|
1488
|
+
CAA: "CAA";
|
|
1489
|
+
CNAME: "CNAME";
|
|
1488
1490
|
MX: "MX";
|
|
1489
1491
|
TXT: "TXT";
|
|
1490
|
-
CNAME: "CNAME";
|
|
1491
|
-
CAA: "CAA";
|
|
1492
1492
|
}>;
|
|
1493
1493
|
value: z.ZodString;
|
|
1494
1494
|
}, z.core.$strip>>;
|
|
@@ -1541,10 +1541,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1541
1541
|
}>;
|
|
1542
1542
|
ttl: z.ZodString;
|
|
1543
1543
|
type: z.ZodEnum<{
|
|
1544
|
+
CAA: "CAA";
|
|
1545
|
+
CNAME: "CNAME";
|
|
1544
1546
|
MX: "MX";
|
|
1545
1547
|
TXT: "TXT";
|
|
1546
|
-
CNAME: "CNAME";
|
|
1547
|
-
CAA: "CAA";
|
|
1548
1548
|
}>;
|
|
1549
1549
|
value: z.ZodString;
|
|
1550
1550
|
}, z.core.$strip>>;
|
|
@@ -1598,10 +1598,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1598
1598
|
}>;
|
|
1599
1599
|
ttl: z.ZodString;
|
|
1600
1600
|
type: z.ZodEnum<{
|
|
1601
|
+
CAA: "CAA";
|
|
1602
|
+
CNAME: "CNAME";
|
|
1601
1603
|
MX: "MX";
|
|
1602
1604
|
TXT: "TXT";
|
|
1603
|
-
CNAME: "CNAME";
|
|
1604
|
-
CAA: "CAA";
|
|
1605
1605
|
}>;
|
|
1606
1606
|
value: z.ZodString;
|
|
1607
1607
|
}, z.core.$strip>>;
|
|
@@ -1654,10 +1654,10 @@ export declare const RESEND_DOMAIN_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodObjec
|
|
|
1654
1654
|
}>;
|
|
1655
1655
|
ttl: z.ZodString;
|
|
1656
1656
|
type: z.ZodEnum<{
|
|
1657
|
+
CAA: "CAA";
|
|
1658
|
+
CNAME: "CNAME";
|
|
1657
1659
|
MX: "MX";
|
|
1658
1660
|
TXT: "TXT";
|
|
1659
|
-
CNAME: "CNAME";
|
|
1660
|
-
CAA: "CAA";
|
|
1661
1661
|
}>;
|
|
1662
1662
|
value: z.ZodString;
|
|
1663
1663
|
}, z.core.$strip>>;
|
|
@@ -2301,10 +2301,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2301
2301
|
}>;
|
|
2302
2302
|
ttl: z.ZodString;
|
|
2303
2303
|
type: z.ZodEnum<{
|
|
2304
|
+
CAA: "CAA";
|
|
2305
|
+
CNAME: "CNAME";
|
|
2304
2306
|
MX: "MX";
|
|
2305
2307
|
TXT: "TXT";
|
|
2306
|
-
CNAME: "CNAME";
|
|
2307
|
-
CAA: "CAA";
|
|
2308
2308
|
}>;
|
|
2309
2309
|
value: z.ZodString;
|
|
2310
2310
|
}, z.core.$strip>>;
|
|
@@ -2357,10 +2357,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2357
2357
|
}>;
|
|
2358
2358
|
ttl: z.ZodString;
|
|
2359
2359
|
type: z.ZodEnum<{
|
|
2360
|
+
CAA: "CAA";
|
|
2361
|
+
CNAME: "CNAME";
|
|
2360
2362
|
MX: "MX";
|
|
2361
2363
|
TXT: "TXT";
|
|
2362
|
-
CNAME: "CNAME";
|
|
2363
|
-
CAA: "CAA";
|
|
2364
2364
|
}>;
|
|
2365
2365
|
value: z.ZodString;
|
|
2366
2366
|
}, z.core.$strip>>;
|
|
@@ -2414,10 +2414,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2414
2414
|
}>;
|
|
2415
2415
|
ttl: z.ZodString;
|
|
2416
2416
|
type: z.ZodEnum<{
|
|
2417
|
+
CAA: "CAA";
|
|
2418
|
+
CNAME: "CNAME";
|
|
2417
2419
|
MX: "MX";
|
|
2418
2420
|
TXT: "TXT";
|
|
2419
|
-
CNAME: "CNAME";
|
|
2420
|
-
CAA: "CAA";
|
|
2421
2421
|
}>;
|
|
2422
2422
|
value: z.ZodString;
|
|
2423
2423
|
}, z.core.$strip>>;
|
|
@@ -2470,10 +2470,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2470
2470
|
}>;
|
|
2471
2471
|
ttl: z.ZodString;
|
|
2472
2472
|
type: z.ZodEnum<{
|
|
2473
|
+
CAA: "CAA";
|
|
2474
|
+
CNAME: "CNAME";
|
|
2473
2475
|
MX: "MX";
|
|
2474
2476
|
TXT: "TXT";
|
|
2475
|
-
CNAME: "CNAME";
|
|
2476
|
-
CAA: "CAA";
|
|
2477
2477
|
}>;
|
|
2478
2478
|
value: z.ZodString;
|
|
2479
2479
|
}, z.core.$strip>>;
|
|
@@ -2527,10 +2527,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2527
2527
|
}>;
|
|
2528
2528
|
ttl: z.ZodString;
|
|
2529
2529
|
type: z.ZodEnum<{
|
|
2530
|
+
CAA: "CAA";
|
|
2531
|
+
CNAME: "CNAME";
|
|
2530
2532
|
MX: "MX";
|
|
2531
2533
|
TXT: "TXT";
|
|
2532
|
-
CNAME: "CNAME";
|
|
2533
|
-
CAA: "CAA";
|
|
2534
2534
|
}>;
|
|
2535
2535
|
value: z.ZodString;
|
|
2536
2536
|
}, z.core.$strip>>;
|
|
@@ -2583,10 +2583,10 @@ export declare const RESEND_EVENT_SCHEMA: z.ZodUnion<readonly [z.ZodUnion<readon
|
|
|
2583
2583
|
}>;
|
|
2584
2584
|
ttl: z.ZodString;
|
|
2585
2585
|
type: z.ZodEnum<{
|
|
2586
|
+
CAA: "CAA";
|
|
2587
|
+
CNAME: "CNAME";
|
|
2586
2588
|
MX: "MX";
|
|
2587
2589
|
TXT: "TXT";
|
|
2588
|
-
CNAME: "CNAME";
|
|
2589
|
-
CAA: "CAA";
|
|
2590
2590
|
}>;
|
|
2591
2591
|
value: z.ZodString;
|
|
2592
2592
|
}, z.core.$strip>>;
|
|
@@ -3104,7 +3104,7 @@ export declare function normalizeResendEvent(value: unknown): {
|
|
|
3104
3104
|
record: "SPF" | "DKIM" | "Receiving MX" | "Tracking" | "TrackingCAA";
|
|
3105
3105
|
status: "failed" | "pending" | "verified" | "not_started" | "temporary_failure";
|
|
3106
3106
|
ttl: string;
|
|
3107
|
-
type: "
|
|
3107
|
+
type: "CAA" | "CNAME" | "MX" | "TXT";
|
|
3108
3108
|
value: string;
|
|
3109
3109
|
priority?: number | undefined;
|
|
3110
3110
|
}[];
|
|
@@ -3129,7 +3129,7 @@ export declare function normalizeResendEvent(value: unknown): {
|
|
|
3129
3129
|
record: "SPF" | "DKIM" | "Receiving MX" | "Tracking" | "TrackingCAA";
|
|
3130
3130
|
status: "failed" | "pending" | "verified" | "not_started" | "temporary_failure";
|
|
3131
3131
|
ttl: string;
|
|
3132
|
-
type: "
|
|
3132
|
+
type: "CAA" | "CNAME" | "MX" | "TXT";
|
|
3133
3133
|
value: string;
|
|
3134
3134
|
priority?: number | undefined;
|
|
3135
3135
|
}[];
|
|
@@ -3154,7 +3154,7 @@ export declare function normalizeResendEvent(value: unknown): {
|
|
|
3154
3154
|
record: "SPF" | "DKIM" | "Receiving MX" | "Tracking" | "TrackingCAA";
|
|
3155
3155
|
status: "failed" | "pending" | "verified" | "not_started" | "temporary_failure";
|
|
3156
3156
|
ttl: string;
|
|
3157
|
-
type: "
|
|
3157
|
+
type: "CAA" | "CNAME" | "MX" | "TXT";
|
|
3158
3158
|
value: string;
|
|
3159
3159
|
priority?: number | undefined;
|
|
3160
3160
|
}[];
|
|
@@ -3175,7 +3175,7 @@ export declare function normalizeResendEvent(value: unknown): {
|
|
|
3175
3175
|
record: "SPF" | "DKIM" | "Receiving MX" | "Tracking" | "TrackingCAA";
|
|
3176
3176
|
status: "failed" | "pending" | "verified" | "not_started" | "temporary_failure";
|
|
3177
3177
|
ttl: string;
|
|
3178
|
-
type: "
|
|
3178
|
+
type: "CAA" | "CNAME" | "MX" | "TXT";
|
|
3179
3179
|
value: string;
|
|
3180
3180
|
priority?: number | undefined;
|
|
3181
3181
|
}[];
|
package/dist/teams/schemas.d.ts
CHANGED
|
@@ -56,11 +56,11 @@ export declare const TEAMS_CHANNEL_SCHEMA: z.ZodObject<{
|
|
|
56
56
|
channelId: z.ZodString;
|
|
57
57
|
isArchived: z.ZodPrefault<z.ZodBoolean>;
|
|
58
58
|
membershipType: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
standard: "standard";
|
|
59
60
|
private: "private";
|
|
60
61
|
shared: "shared";
|
|
61
62
|
unknownFutureValue: "unknownFutureValue";
|
|
62
|
-
|
|
63
|
-
}>>>, z.ZodTransform<"private" | "shared" | "unknownFutureValue" | "standard" | undefined, "private" | "shared" | "unknownFutureValue" | "standard" | null | undefined>>;
|
|
63
|
+
}>>>, z.ZodTransform<"standard" | "private" | "shared" | "unknownFutureValue" | undefined, "standard" | "private" | "shared" | "unknownFutureValue" | null | undefined>>;
|
|
64
64
|
webUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
|
|
65
65
|
}, z.core.$strip>;
|
|
66
66
|
export declare const GRAPH_CHANNEL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
@@ -71,10 +71,10 @@ export declare const GRAPH_CHANNEL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
73
73
|
membershipType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
74
|
+
standard: "standard";
|
|
74
75
|
private: "private";
|
|
75
76
|
shared: "shared";
|
|
76
77
|
unknownFutureValue: "unknownFutureValue";
|
|
77
|
-
standard: "standard";
|
|
78
78
|
}>>>;
|
|
79
79
|
webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
}, z.core.$loose>, z.ZodTransform<{
|
|
@@ -84,7 +84,7 @@ export declare const GRAPH_CHANNEL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
84
84
|
email: string | undefined;
|
|
85
85
|
channelId: string;
|
|
86
86
|
isArchived: boolean;
|
|
87
|
-
membershipType: "
|
|
87
|
+
membershipType: "standard" | "private" | "shared" | "unknownFutureValue" | undefined;
|
|
88
88
|
webUrl: string | undefined;
|
|
89
89
|
}, {
|
|
90
90
|
[x: string]: unknown;
|
|
@@ -94,7 +94,7 @@ export declare const GRAPH_CHANNEL_SCHEMA: z.ZodPipe<z.ZodObject<{
|
|
|
94
94
|
description?: string | null | undefined;
|
|
95
95
|
email?: string | null | undefined;
|
|
96
96
|
isArchived?: boolean | undefined;
|
|
97
|
-
membershipType?: "
|
|
97
|
+
membershipType?: "standard" | "private" | "shared" | "unknownFutureValue" | null | undefined;
|
|
98
98
|
webUrl?: string | null | undefined;
|
|
99
99
|
}>>;
|
|
100
100
|
export declare const TEAMS_MEMBER_SCHEMA: z.ZodObject<{
|
package/dist/triggers.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { asanaTriggerContracts } from "./asana/index.js";
|
|
|
4
4
|
import type { brevoTriggerContracts } from "./brevo/index.js";
|
|
5
5
|
import type { convexTriggerContracts } from "./convex/index.js";
|
|
6
6
|
import type { closeTriggerContracts } from "./close/index.js";
|
|
7
|
+
import type { cloudflareTriggerContracts } from "./cloudflare/index.js";
|
|
7
8
|
import type { githubTriggerContracts } from "./github/index.js";
|
|
8
9
|
import type { gmailTriggerContracts } from "./gmail/index.js";
|
|
9
10
|
import type { googleCalendarTriggerContracts } from "./google-calendar/index.js";
|
|
@@ -21,7 +22,7 @@ import type { vercelTriggerContracts } from "./vercel/index.js";
|
|
|
21
22
|
import type { webflowTriggerContracts } from "./webflow/index.js";
|
|
22
23
|
import type { whatsappTriggerContracts } from "./whatsapp/index.js";
|
|
23
24
|
import type { z } from "zod";
|
|
24
|
-
export type TriggerContractMap = typeof airtableTriggerContracts & typeof automateTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof convexTriggerContracts & typeof closeTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleFormsTriggerContracts & typeof googleMeetTriggerContracts & typeof linearTriggerContracts & typeof notionTriggerContracts & typeof outlookTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof stripeTriggerContracts & typeof teamsTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof webflowTriggerContracts & typeof whatsappTriggerContracts;
|
|
25
|
+
export type TriggerContractMap = typeof airtableTriggerContracts & typeof automateTriggerContracts & typeof asanaTriggerContracts & typeof brevoTriggerContracts & typeof convexTriggerContracts & typeof closeTriggerContracts & typeof cloudflareTriggerContracts & typeof githubTriggerContracts & typeof gmailTriggerContracts & typeof googleCalendarTriggerContracts & typeof googleFormsTriggerContracts & typeof googleMeetTriggerContracts & typeof linearTriggerContracts & typeof notionTriggerContracts & typeof outlookTriggerContracts & typeof resendTriggerContracts & typeof slackTriggerContracts & typeof stripeTriggerContracts & typeof teamsTriggerContracts & typeof trelloTriggerContracts & typeof vercelTriggerContracts & typeof webflowTriggerContracts & typeof whatsappTriggerContracts;
|
|
25
26
|
export type IntegrationTriggerType = keyof TriggerContractMap;
|
|
26
27
|
/** Canonical authoring configuration for one integration trigger type. */
|
|
27
28
|
export type TriggerConfig<TType extends IntegrationTriggerType> = z.input<TriggerContractMap[TType]["configSchema"]> extends Record<string, never> ? object : z.input<TriggerContractMap[TType]["configSchema"]>;
|