@automate.ax/integration-contracts 0.110.0 → 0.111.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.
@@ -0,0 +1,104 @@
1
+ import * as z from "zod";
2
+ import { ASANA_RESOURCE_SCHEMA } from "./base.js";
3
+ import { ASANA_EVENT_CHANGE_SCHEMA, ASANA_EVENT_SCHEMA, ASANA_TASK_SCHEMA, } from "./schemas.js";
4
+ /**
5
+ * Builds a lifecycle-event schema for one resource and action.
6
+ *
7
+ * @param resourceType - Provider resource category.
8
+ * @param action - Provider lifecycle action.
9
+ */
10
+ function resourceEventSchema(resourceType, action) {
11
+ return ASANA_RESOURCE_SCHEMA.extend({
12
+ event: ASANA_EVENT_SCHEMA.extend({
13
+ action: z.literal(action),
14
+ resourceType: z.literal(resourceType),
15
+ }),
16
+ type: z.literal(resourceType),
17
+ });
18
+ }
19
+ /**
20
+ * Builds a field-change event schema for one resource field.
21
+ *
22
+ * @param resourceType - Provider resource category.
23
+ * @param field - Normalized changed field.
24
+ * @param changeAction - Provider field-change action.
25
+ */
26
+ function changedFieldEventSchema(resourceType, field, changeAction) {
27
+ return ASANA_RESOURCE_SCHEMA.extend({
28
+ event: ASANA_EVENT_SCHEMA.extend({
29
+ action: z.literal("changed"),
30
+ change: ASANA_EVENT_CHANGE_SCHEMA.extend({
31
+ action: z.literal(changeAction),
32
+ field: z.literal(field),
33
+ }),
34
+ resourceType: z.literal(resourceType),
35
+ }),
36
+ type: z.literal(resourceType),
37
+ });
38
+ }
39
+ export const ASANA_TASK_RESTORED_EVENT_SCHEMA = resourceEventSchema("task", "undeleted");
40
+ const ASANA_TASK_COMPLETION_CHANGED_EVENT_SCHEMA = ASANA_EVENT_SCHEMA.extend({
41
+ action: z.literal("changed"),
42
+ change: ASANA_EVENT_CHANGE_SCHEMA.extend({
43
+ action: z.literal("changed"),
44
+ field: z.literal("completed"),
45
+ }),
46
+ resourceType: z.literal("task"),
47
+ });
48
+ export const ASANA_TASK_INCOMPLETE_EVENT_SCHEMA = ASANA_TASK_SCHEMA.extend({
49
+ completed: z.literal(false),
50
+ event: ASANA_TASK_COMPLETION_CHANGED_EVENT_SCHEMA,
51
+ type: z.literal("task"),
52
+ });
53
+ const ASANA_TASK_ASSIGNEE_CHANGED_EVENT_SCHEMA = ASANA_EVENT_SCHEMA.extend({
54
+ action: z.literal("changed"),
55
+ change: ASANA_EVENT_CHANGE_SCHEMA.extend({
56
+ action: z.literal("changed"),
57
+ field: z.literal("assignee"),
58
+ }),
59
+ resourceType: z.literal("task"),
60
+ });
61
+ export const ASANA_TASK_ASSIGNED_EVENT_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
62
+ event: ASANA_TASK_ASSIGNEE_CHANGED_EVENT_SCHEMA.extend({
63
+ change: ASANA_TASK_ASSIGNEE_CHANGED_EVENT_SCHEMA.shape.change.extend({
64
+ newValue: ASANA_RESOURCE_SCHEMA,
65
+ }),
66
+ }),
67
+ type: z.literal("task"),
68
+ });
69
+ export const ASANA_TASK_UNASSIGNED_EVENT_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
70
+ event: ASANA_TASK_ASSIGNEE_CHANGED_EVENT_SCHEMA.extend({
71
+ change: ASANA_TASK_ASSIGNEE_CHANGED_EVENT_SCHEMA.shape.change.extend({
72
+ newValue: z.null().optional(),
73
+ }),
74
+ }),
75
+ type: z.literal("task"),
76
+ });
77
+ export const ASANA_TASK_DUE_DATE_CHANGED_EVENT_SCHEMA = z.union([
78
+ changedFieldEventSchema("task", "dueAt", "changed"),
79
+ changedFieldEventSchema("task", "dueOn", "changed"),
80
+ ]);
81
+ export const ASANA_TASK_FOLLOWER_ADDED_EVENT_SCHEMA = changedFieldEventSchema("task", "followers", "added");
82
+ export const ASANA_TASK_FOLLOWER_REMOVED_EVENT_SCHEMA = changedFieldEventSchema("task", "followers", "removed");
83
+ export const ASANA_TASK_PROJECT_ADDED_EVENT_SCHEMA = changedFieldEventSchema("task", "projects", "added");
84
+ export const ASANA_TASK_PROJECT_REMOVED_EVENT_SCHEMA = changedFieldEventSchema("task", "projects", "removed");
85
+ export const ASANA_TASK_TAG_ADDED_EVENT_SCHEMA = changedFieldEventSchema("task", "tags", "added");
86
+ export const ASANA_TASK_TAG_REMOVED_EVENT_SCHEMA = changedFieldEventSchema("task", "tags", "removed");
87
+ export const ASANA_COMMENT_UPDATED_EVENT_SCHEMA = resourceEventSchema("story", "changed");
88
+ export const ASANA_COMMENT_DELETED_EVENT_SCHEMA = resourceEventSchema("story", "removed");
89
+ export const ASANA_COMMENT_RESTORED_EVENT_SCHEMA = resourceEventSchema("story", "undeleted");
90
+ export const ASANA_SECTION_ADDED_EVENT_SCHEMA = resourceEventSchema("section", "added");
91
+ export const ASANA_SECTION_CHANGED_EVENT_SCHEMA = resourceEventSchema("section", "changed");
92
+ export const ASANA_SECTION_DELETED_EVENT_SCHEMA = resourceEventSchema("section", "deleted");
93
+ export const ASANA_SECTION_RESTORED_EVENT_SCHEMA = resourceEventSchema("section", "undeleted");
94
+ export const ASANA_PROJECT_ADDED_EVENT_SCHEMA = resourceEventSchema("project", "added");
95
+ export const ASANA_PROJECT_CHANGED_EVENT_SCHEMA = resourceEventSchema("project", "changed");
96
+ export const ASANA_PROJECT_REMOVED_EVENT_SCHEMA = resourceEventSchema("project", "removed");
97
+ export const ASANA_PROJECT_DELETED_EVENT_SCHEMA = resourceEventSchema("project", "deleted");
98
+ export const ASANA_PROJECT_RESTORED_EVENT_SCHEMA = resourceEventSchema("project", "undeleted");
99
+ export const ASANA_ATTACHMENT_DELETED_EVENT_SCHEMA = resourceEventSchema("attachment", "deleted");
100
+ export const ASANA_ATTACHMENT_RESTORED_EVENT_SCHEMA = resourceEventSchema("attachment", "undeleted");
101
+ export const ASANA_TAG_ADDED_EVENT_SCHEMA = resourceEventSchema("tag", "added");
102
+ export const ASANA_TAG_CHANGED_EVENT_SCHEMA = resourceEventSchema("tag", "changed");
103
+ export const ASANA_TAG_DELETED_EVENT_SCHEMA = resourceEventSchema("tag", "deleted");
104
+ export const ASANA_TAG_RESTORED_EVENT_SCHEMA = resourceEventSchema("tag", "undeleted");
@@ -1610,8 +1610,8 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
1610
1610
  errorMessage: z.ZodNullable<z.ZodString>;
1611
1611
  mergeStatus: z.ZodEnum<{
1612
1612
  pending: "pending";
1613
- completed: "completed";
1614
1613
  in_progress: "in_progress";
1614
+ completed: "completed";
1615
1615
  errored: "errored";
1616
1616
  }>;
1617
1617
  sourceDisplayName: z.ZodNullable<z.ZodString>;
@@ -4313,10 +4313,10 @@ export declare const LINEAR_PROJECT_UPDATE_SCHEMA: z.ZodObject<{
4313
4313
  }, z.core.$strip>;
4314
4314
  }, z.core.$strip>;
4315
4315
  export declare const LINEAR_PROJECT_MILESTONE_STATUS_SCHEMA: z.ZodEnum<{
4316
+ done: "done";
4316
4317
  unstarted: "unstarted";
4317
4318
  next: "next";
4318
4319
  overdue: "overdue";
4319
- done: "done";
4320
4320
  }>;
4321
4321
  export declare const LINEAR_PROJECT_MILESTONE_SCHEMA: z.ZodObject<{
4322
4322
  archivedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
@@ -4333,10 +4333,10 @@ export declare const LINEAR_PROJECT_MILESTONE_SCHEMA: z.ZodObject<{
4333
4333
  }, z.core.$strip>;
4334
4334
  sortOrder: z.ZodNumber;
4335
4335
  status: z.ZodEnum<{
4336
+ done: "done";
4336
4337
  unstarted: "unstarted";
4337
4338
  next: "next";
4338
4339
  overdue: "overdue";
4339
- done: "done";
4340
4340
  }>;
4341
4341
  targetDate: z.ZodNullable<z.ZodISODate>;
4342
4342
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>;
@@ -4480,6 +4480,12 @@ export declare const LINEAR_PROVIDER_ISSUE_SCHEMA: z.ZodObject<{
4480
4480
  }, z.core.$strip>>;
4481
4481
  completedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
4482
4482
  startedAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>;
4483
+ parent: z.ZodNullable<z.ZodObject<{
4484
+ id: z.ZodString;
4485
+ identifier: z.ZodString;
4486
+ title: z.ZodString;
4487
+ url: z.ZodString;
4488
+ }, z.core.$strip>>;
4483
4489
  team: z.ZodObject<{
4484
4490
  displayName: z.ZodString;
4485
4491
  id: z.ZodString;
@@ -4494,12 +4500,6 @@ export declare const LINEAR_PROVIDER_ISSUE_SCHEMA: z.ZodObject<{
4494
4500
  id: z.ZodString;
4495
4501
  name: z.ZodString;
4496
4502
  }, z.core.$strip>>;
4497
- parent: z.ZodNullable<z.ZodObject<{
4498
- id: z.ZodString;
4499
- identifier: z.ZodString;
4500
- title: z.ZodString;
4501
- url: z.ZodString;
4502
- }, z.core.$strip>>;
4503
4503
  priority: z.ZodNumber;
4504
4504
  url: z.ZodString;
4505
4505
  title: z.ZodString;
@@ -615,8 +615,8 @@ export declare const RESEND_CONTACT_IMPORT_WIRE_SCHEMA: z.ZodObject<{
615
615
  object: z.ZodLiteral<"contact_import">;
616
616
  status: z.ZodEnum<{
617
617
  failed: "failed";
618
- completed: "completed";
619
618
  in_progress: "in_progress";
619
+ completed: "completed";
620
620
  queued: "queued";
621
621
  }>;
622
622
  }, z.core.$strip>;
@@ -634,8 +634,8 @@ export declare const RESEND_CONTACT_IMPORT_SCHEMA: z.ZodPipe<z.ZodObject<{
634
634
  object: z.ZodLiteral<"contact_import">;
635
635
  status: z.ZodEnum<{
636
636
  failed: "failed";
637
- completed: "completed";
638
637
  in_progress: "in_progress";
638
+ completed: "completed";
639
639
  queued: "queued";
640
640
  }>;
641
641
  }, z.core.$strip>, z.ZodTransform<{
@@ -643,7 +643,7 @@ export declare const RESEND_CONTACT_IMPORT_SCHEMA: z.ZodPipe<z.ZodObject<{
643
643
  createdAt: string;
644
644
  id: string;
645
645
  object: "contact_import";
646
- status: "failed" | "completed" | "in_progress" | "queued";
646
+ status: "failed" | "in_progress" | "completed" | "queued";
647
647
  counts?: {
648
648
  created: number;
649
649
  failed: number;
@@ -655,7 +655,7 @@ export declare const RESEND_CONTACT_IMPORT_SCHEMA: z.ZodPipe<z.ZodObject<{
655
655
  created_at: string;
656
656
  id: string;
657
657
  object: "contact_import";
658
- status: "failed" | "completed" | "in_progress" | "queued";
658
+ status: "failed" | "in_progress" | "completed" | "queued";
659
659
  completed_at?: string | null | undefined;
660
660
  counts?: {
661
661
  created: number;
@@ -198,8 +198,8 @@ export declare const resendTriggerContracts: {
198
198
  status: z.ZodEnum<{
199
199
  failed: "failed";
200
200
  pending: "pending";
201
- verified: "verified";
202
201
  not_started: "not_started";
202
+ verified: "verified";
203
203
  temporary_failure: "temporary_failure";
204
204
  }>;
205
205
  ttl: z.ZodString;
@@ -220,10 +220,10 @@ export declare const resendTriggerContracts: {
220
220
  status: z.ZodEnum<{
221
221
  failed: "failed";
222
222
  pending: "pending";
223
+ not_started: "not_started";
223
224
  verified: "verified";
224
225
  partially_verified: "partially_verified";
225
226
  partially_failed: "partially_failed";
226
- not_started: "not_started";
227
227
  }>;
228
228
  event: z.ZodObject<{
229
229
  created_at: z.ZodISODateTime;
@@ -254,8 +254,8 @@ export declare const resendTriggerContracts: {
254
254
  status: z.ZodEnum<{
255
255
  failed: "failed";
256
256
  pending: "pending";
257
- verified: "verified";
258
257
  not_started: "not_started";
258
+ verified: "verified";
259
259
  temporary_failure: "temporary_failure";
260
260
  }>;
261
261
  ttl: z.ZodString;
@@ -276,10 +276,10 @@ export declare const resendTriggerContracts: {
276
276
  status: z.ZodEnum<{
277
277
  failed: "failed";
278
278
  pending: "pending";
279
+ not_started: "not_started";
279
280
  verified: "verified";
280
281
  partially_verified: "partially_verified";
281
282
  partially_failed: "partially_failed";
282
- not_started: "not_started";
283
283
  }>;
284
284
  }, z.core.$catchall<z.ZodJSONSchema>>;
285
285
  type: z.ZodLiteral<"domain.created">;
@@ -315,8 +315,8 @@ export declare const resendTriggerContracts: {
315
315
  status: z.ZodEnum<{
316
316
  failed: "failed";
317
317
  pending: "pending";
318
- verified: "verified";
319
318
  not_started: "not_started";
319
+ verified: "verified";
320
320
  temporary_failure: "temporary_failure";
321
321
  }>;
322
322
  ttl: z.ZodString;
@@ -337,10 +337,10 @@ export declare const resendTriggerContracts: {
337
337
  status: z.ZodEnum<{
338
338
  failed: "failed";
339
339
  pending: "pending";
340
+ not_started: "not_started";
340
341
  verified: "verified";
341
342
  partially_verified: "partially_verified";
342
343
  partially_failed: "partially_failed";
343
- not_started: "not_started";
344
344
  }>;
345
345
  event: z.ZodObject<{
346
346
  created_at: z.ZodISODateTime;
@@ -371,8 +371,8 @@ export declare const resendTriggerContracts: {
371
371
  status: z.ZodEnum<{
372
372
  failed: "failed";
373
373
  pending: "pending";
374
- verified: "verified";
375
374
  not_started: "not_started";
375
+ verified: "verified";
376
376
  temporary_failure: "temporary_failure";
377
377
  }>;
378
378
  ttl: z.ZodString;
@@ -393,10 +393,10 @@ export declare const resendTriggerContracts: {
393
393
  status: z.ZodEnum<{
394
394
  failed: "failed";
395
395
  pending: "pending";
396
+ not_started: "not_started";
396
397
  verified: "verified";
397
398
  partially_verified: "partially_verified";
398
399
  partially_failed: "partially_failed";
399
- not_started: "not_started";
400
400
  }>;
401
401
  }, z.core.$catchall<z.ZodJSONSchema>>;
402
402
  type: z.ZodLiteral<"domain.deleted">;
@@ -432,8 +432,8 @@ export declare const resendTriggerContracts: {
432
432
  status: z.ZodEnum<{
433
433
  failed: "failed";
434
434
  pending: "pending";
435
- verified: "verified";
436
435
  not_started: "not_started";
436
+ verified: "verified";
437
437
  temporary_failure: "temporary_failure";
438
438
  }>;
439
439
  ttl: z.ZodString;
@@ -454,10 +454,10 @@ export declare const resendTriggerContracts: {
454
454
  status: z.ZodEnum<{
455
455
  failed: "failed";
456
456
  pending: "pending";
457
+ not_started: "not_started";
457
458
  verified: "verified";
458
459
  partially_verified: "partially_verified";
459
460
  partially_failed: "partially_failed";
460
- not_started: "not_started";
461
461
  }>;
462
462
  event: z.ZodObject<{
463
463
  created_at: z.ZodISODateTime;
@@ -488,8 +488,8 @@ export declare const resendTriggerContracts: {
488
488
  status: z.ZodEnum<{
489
489
  failed: "failed";
490
490
  pending: "pending";
491
- verified: "verified";
492
491
  not_started: "not_started";
492
+ verified: "verified";
493
493
  temporary_failure: "temporary_failure";
494
494
  }>;
495
495
  ttl: z.ZodString;
@@ -510,10 +510,10 @@ export declare const resendTriggerContracts: {
510
510
  status: z.ZodEnum<{
511
511
  failed: "failed";
512
512
  pending: "pending";
513
+ not_started: "not_started";
513
514
  verified: "verified";
514
515
  partially_verified: "partially_verified";
515
516
  partially_failed: "partially_failed";
516
- not_started: "not_started";
517
517
  }>;
518
518
  }, z.core.$catchall<z.ZodJSONSchema>>;
519
519
  type: z.ZodLiteral<"domain.created">;
@@ -545,8 +545,8 @@ export declare const resendTriggerContracts: {
545
545
  status: z.ZodEnum<{
546
546
  failed: "failed";
547
547
  pending: "pending";
548
- verified: "verified";
549
548
  not_started: "not_started";
549
+ verified: "verified";
550
550
  temporary_failure: "temporary_failure";
551
551
  }>;
552
552
  ttl: z.ZodString;
@@ -567,10 +567,10 @@ export declare const resendTriggerContracts: {
567
567
  status: z.ZodEnum<{
568
568
  failed: "failed";
569
569
  pending: "pending";
570
+ not_started: "not_started";
570
571
  verified: "verified";
571
572
  partially_verified: "partially_verified";
572
573
  partially_failed: "partially_failed";
573
- not_started: "not_started";
574
574
  }>;
575
575
  event: z.ZodObject<{
576
576
  created_at: z.ZodISODateTime;
@@ -601,8 +601,8 @@ export declare const resendTriggerContracts: {
601
601
  status: z.ZodEnum<{
602
602
  failed: "failed";
603
603
  pending: "pending";
604
- verified: "verified";
605
604
  not_started: "not_started";
605
+ verified: "verified";
606
606
  temporary_failure: "temporary_failure";
607
607
  }>;
608
608
  ttl: z.ZodString;
@@ -623,10 +623,10 @@ export declare const resendTriggerContracts: {
623
623
  status: z.ZodEnum<{
624
624
  failed: "failed";
625
625
  pending: "pending";
626
+ not_started: "not_started";
626
627
  verified: "verified";
627
628
  partially_verified: "partially_verified";
628
629
  partially_failed: "partially_failed";
629
- not_started: "not_started";
630
630
  }>;
631
631
  }, z.core.$catchall<z.ZodJSONSchema>>;
632
632
  type: z.ZodLiteral<"domain.updated">;
@@ -658,8 +658,8 @@ export declare const resendTriggerContracts: {
658
658
  status: z.ZodEnum<{
659
659
  failed: "failed";
660
660
  pending: "pending";
661
- verified: "verified";
662
661
  not_started: "not_started";
662
+ verified: "verified";
663
663
  temporary_failure: "temporary_failure";
664
664
  }>;
665
665
  ttl: z.ZodString;
@@ -680,10 +680,10 @@ export declare const resendTriggerContracts: {
680
680
  status: z.ZodEnum<{
681
681
  failed: "failed";
682
682
  pending: "pending";
683
+ not_started: "not_started";
683
684
  verified: "verified";
684
685
  partially_verified: "partially_verified";
685
686
  partially_failed: "partially_failed";
686
- not_started: "not_started";
687
687
  }>;
688
688
  event: z.ZodObject<{
689
689
  created_at: z.ZodISODateTime;
@@ -714,8 +714,8 @@ export declare const resendTriggerContracts: {
714
714
  status: z.ZodEnum<{
715
715
  failed: "failed";
716
716
  pending: "pending";
717
- verified: "verified";
718
717
  not_started: "not_started";
718
+ verified: "verified";
719
719
  temporary_failure: "temporary_failure";
720
720
  }>;
721
721
  ttl: z.ZodString;
@@ -736,10 +736,10 @@ export declare const resendTriggerContracts: {
736
736
  status: z.ZodEnum<{
737
737
  failed: "failed";
738
738
  pending: "pending";
739
+ not_started: "not_started";
739
740
  verified: "verified";
740
741
  partially_verified: "partially_verified";
741
742
  partially_failed: "partially_failed";
742
- not_started: "not_started";
743
743
  }>;
744
744
  }, z.core.$catchall<z.ZodJSONSchema>>;
745
745
  type: z.ZodLiteral<"domain.deleted">;
@@ -775,8 +775,8 @@ export declare const resendTriggerContracts: {
775
775
  status: z.ZodEnum<{
776
776
  failed: "failed";
777
777
  pending: "pending";
778
- verified: "verified";
779
778
  not_started: "not_started";
779
+ verified: "verified";
780
780
  temporary_failure: "temporary_failure";
781
781
  }>;
782
782
  ttl: z.ZodString;
@@ -797,10 +797,10 @@ export declare const resendTriggerContracts: {
797
797
  status: z.ZodEnum<{
798
798
  failed: "failed";
799
799
  pending: "pending";
800
+ not_started: "not_started";
800
801
  verified: "verified";
801
802
  partially_verified: "partially_verified";
802
803
  partially_failed: "partially_failed";
803
- not_started: "not_started";
804
804
  }>;
805
805
  event: z.ZodObject<{
806
806
  created_at: z.ZodISODateTime;
@@ -831,8 +831,8 @@ export declare const resendTriggerContracts: {
831
831
  status: z.ZodEnum<{
832
832
  failed: "failed";
833
833
  pending: "pending";
834
- verified: "verified";
835
834
  not_started: "not_started";
835
+ verified: "verified";
836
836
  temporary_failure: "temporary_failure";
837
837
  }>;
838
838
  ttl: z.ZodString;
@@ -853,10 +853,10 @@ export declare const resendTriggerContracts: {
853
853
  status: z.ZodEnum<{
854
854
  failed: "failed";
855
855
  pending: "pending";
856
+ not_started: "not_started";
856
857
  verified: "verified";
857
858
  partially_verified: "partially_verified";
858
859
  partially_failed: "partially_failed";
859
- not_started: "not_started";
860
860
  }>;
861
861
  }, z.core.$catchall<z.ZodJSONSchema>>;
862
862
  type: z.ZodLiteral<"domain.updated">;
@@ -2248,8 +2248,8 @@ export declare const resendTriggerContracts: {
2248
2248
  status: z.ZodEnum<{
2249
2249
  failed: "failed";
2250
2250
  pending: "pending";
2251
- verified: "verified";
2252
2251
  not_started: "not_started";
2252
+ verified: "verified";
2253
2253
  temporary_failure: "temporary_failure";
2254
2254
  }>;
2255
2255
  ttl: z.ZodString;
@@ -2270,10 +2270,10 @@ export declare const resendTriggerContracts: {
2270
2270
  status: z.ZodEnum<{
2271
2271
  failed: "failed";
2272
2272
  pending: "pending";
2273
+ not_started: "not_started";
2273
2274
  verified: "verified";
2274
2275
  partially_verified: "partially_verified";
2275
2276
  partially_failed: "partially_failed";
2276
- not_started: "not_started";
2277
2277
  }>;
2278
2278
  event: z.ZodObject<{
2279
2279
  created_at: z.ZodISODateTime;
@@ -2304,8 +2304,8 @@ export declare const resendTriggerContracts: {
2304
2304
  status: z.ZodEnum<{
2305
2305
  failed: "failed";
2306
2306
  pending: "pending";
2307
- verified: "verified";
2308
2307
  not_started: "not_started";
2308
+ verified: "verified";
2309
2309
  temporary_failure: "temporary_failure";
2310
2310
  }>;
2311
2311
  ttl: z.ZodString;
@@ -2326,10 +2326,10 @@ export declare const resendTriggerContracts: {
2326
2326
  status: z.ZodEnum<{
2327
2327
  failed: "failed";
2328
2328
  pending: "pending";
2329
+ not_started: "not_started";
2329
2330
  verified: "verified";
2330
2331
  partially_verified: "partially_verified";
2331
2332
  partially_failed: "partially_failed";
2332
- not_started: "not_started";
2333
2333
  }>;
2334
2334
  }, z.core.$catchall<z.ZodJSONSchema>>;
2335
2335
  type: z.ZodLiteral<"domain.created">;
@@ -2361,8 +2361,8 @@ export declare const resendTriggerContracts: {
2361
2361
  status: z.ZodEnum<{
2362
2362
  failed: "failed";
2363
2363
  pending: "pending";
2364
- verified: "verified";
2365
2364
  not_started: "not_started";
2365
+ verified: "verified";
2366
2366
  temporary_failure: "temporary_failure";
2367
2367
  }>;
2368
2368
  ttl: z.ZodString;
@@ -2383,10 +2383,10 @@ export declare const resendTriggerContracts: {
2383
2383
  status: z.ZodEnum<{
2384
2384
  failed: "failed";
2385
2385
  pending: "pending";
2386
+ not_started: "not_started";
2386
2387
  verified: "verified";
2387
2388
  partially_verified: "partially_verified";
2388
2389
  partially_failed: "partially_failed";
2389
- not_started: "not_started";
2390
2390
  }>;
2391
2391
  event: z.ZodObject<{
2392
2392
  created_at: z.ZodISODateTime;
@@ -2417,8 +2417,8 @@ export declare const resendTriggerContracts: {
2417
2417
  status: z.ZodEnum<{
2418
2418
  failed: "failed";
2419
2419
  pending: "pending";
2420
- verified: "verified";
2421
2420
  not_started: "not_started";
2421
+ verified: "verified";
2422
2422
  temporary_failure: "temporary_failure";
2423
2423
  }>;
2424
2424
  ttl: z.ZodString;
@@ -2439,10 +2439,10 @@ export declare const resendTriggerContracts: {
2439
2439
  status: z.ZodEnum<{
2440
2440
  failed: "failed";
2441
2441
  pending: "pending";
2442
+ not_started: "not_started";
2442
2443
  verified: "verified";
2443
2444
  partially_verified: "partially_verified";
2444
2445
  partially_failed: "partially_failed";
2445
- not_started: "not_started";
2446
2446
  }>;
2447
2447
  }, z.core.$catchall<z.ZodJSONSchema>>;
2448
2448
  type: z.ZodLiteral<"domain.updated">;
@@ -2474,8 +2474,8 @@ export declare const resendTriggerContracts: {
2474
2474
  status: z.ZodEnum<{
2475
2475
  failed: "failed";
2476
2476
  pending: "pending";
2477
- verified: "verified";
2478
2477
  not_started: "not_started";
2478
+ verified: "verified";
2479
2479
  temporary_failure: "temporary_failure";
2480
2480
  }>;
2481
2481
  ttl: z.ZodString;
@@ -2496,10 +2496,10 @@ export declare const resendTriggerContracts: {
2496
2496
  status: z.ZodEnum<{
2497
2497
  failed: "failed";
2498
2498
  pending: "pending";
2499
+ not_started: "not_started";
2499
2500
  verified: "verified";
2500
2501
  partially_verified: "partially_verified";
2501
2502
  partially_failed: "partially_failed";
2502
- not_started: "not_started";
2503
2503
  }>;
2504
2504
  event: z.ZodObject<{
2505
2505
  created_at: z.ZodISODateTime;
@@ -2530,8 +2530,8 @@ export declare const resendTriggerContracts: {
2530
2530
  status: z.ZodEnum<{
2531
2531
  failed: "failed";
2532
2532
  pending: "pending";
2533
- verified: "verified";
2534
2533
  not_started: "not_started";
2534
+ verified: "verified";
2535
2535
  temporary_failure: "temporary_failure";
2536
2536
  }>;
2537
2537
  ttl: z.ZodString;
@@ -2552,10 +2552,10 @@ export declare const resendTriggerContracts: {
2552
2552
  status: z.ZodEnum<{
2553
2553
  failed: "failed";
2554
2554
  pending: "pending";
2555
+ not_started: "not_started";
2555
2556
  verified: "verified";
2556
2557
  partially_verified: "partially_verified";
2557
2558
  partially_failed: "partially_failed";
2558
- not_started: "not_started";
2559
2559
  }>;
2560
2560
  }, z.core.$catchall<z.ZodJSONSchema>>;
2561
2561
  type: z.ZodLiteral<"domain.deleted">;