@middlewr/contracts 0.0.48 → 0.0.49

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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+DxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D9B,CAAC;AAGF,eAAO,MAAM,mBAAmB;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -373,6 +373,25 @@ var PasswordNodeSchema = import_zod6.z.object({
373
373
  position: PositionSchema,
374
374
  next: import_zod6.z.string().nullable()
375
375
  });
376
+ var CountdownNodeSchema = import_zod6.z.object({
377
+ id: import_zod6.z.string(),
378
+ type: import_zod6.z.literal("countdown"),
379
+ position: PositionSchema,
380
+ seconds: import_zod6.z.number().int().min(1).max(300),
381
+ message: import_zod6.z.string().max(500).nullable(),
382
+ next: import_zod6.z.string().nullable()
383
+ });
384
+ var WebhookNodeSchema = import_zod6.z.object({
385
+ id: import_zod6.z.string(),
386
+ type: import_zod6.z.literal("webhook"),
387
+ position: PositionSchema,
388
+ url: import_zod6.z.string().url().refine((u) => u.startsWith("https://") || u.startsWith("http://"), {
389
+ message: "Webhook URL must use http or https protocol"
390
+ }),
391
+ method: import_zod6.z.enum(["POST", "GET"]),
392
+ headers: import_zod6.z.record(import_zod6.z.string(), import_zod6.z.string().regex(/^[^\r\n]*$/, "Header value must not contain newlines")).optional(),
393
+ next: import_zod6.z.string().nullable()
394
+ });
376
395
  var EntryNodeSchema = import_zod6.z.object({
377
396
  id: import_zod6.z.string(),
378
397
  type: import_zod6.z.literal("entry"),
@@ -388,6 +407,8 @@ var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [
388
407
  DestinationNodeSchema,
389
408
  TransformNodeSchema,
390
409
  PasswordNodeSchema,
410
+ CountdownNodeSchema,
411
+ WebhookNodeSchema,
391
412
  EntryNodeSchema
392
413
  ]);
393
414
  var BaseRuleGraphSchema = import_zod6.z.object({
@@ -516,7 +537,6 @@ var LinkSchema = import_zod9.z.object({
516
537
  qr_code_settings: QrCodeSettingsSchema.nullable(),
517
538
  qr_logo_key: import_zod9.z.string().nullable(),
518
539
  logo_url: import_zod9.z.string().nullable(),
519
- link_type: import_zod9.z.enum(["redirect", "rules"]).default("redirect"),
520
540
  rule_graph: RuleGraphOutputSchema.nullable().optional(),
521
541
  tags: import_zod9.z.array(TagSchema)
522
542
  });
@@ -535,11 +555,7 @@ var CreateLinkInputSchema = import_zod9.z.object({
535
555
  redirect_type: import_zod9.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
536
556
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
537
557
  tag_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
538
- link_type: import_zod9.z.enum(["redirect", "rules"]).optional(),
539
558
  rule_graph: RuleGraphSchema.nullable().optional()
540
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
541
- message: 'rule_graph is required when link_type is "rules"',
542
- path: ["rule_graph"]
543
559
  });
544
560
  var UpdateLinkInputSchema = import_zod9.z.object({
545
561
  original_url: import_zod9.z.string().url().max(2048).optional(),
@@ -557,11 +573,7 @@ var UpdateLinkInputSchema = import_zod9.z.object({
557
573
  redirect_type: import_zod9.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
558
574
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
559
575
  tag_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
560
- link_type: import_zod9.z.enum(["redirect", "rules"]).optional(),
561
576
  rule_graph: RuleGraphSchema.nullable().optional()
562
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
563
- message: 'rule_graph is required when link_type is "rules"',
564
- path: ["rule_graph"]
565
577
  });
566
578
  var stringToBoolean = import_zod9.z.union([import_zod9.z.boolean(), import_zod9.z.enum(["true", "false"])]).transform((val) => typeof val === "string" ? val === "true" : val);
567
579
  var LinkFiltersSchema = import_zod9.z.object({
@@ -86,6 +86,30 @@ export declare const LinkTemplateSchema: z.ZodObject<{
86
86
  y: z.ZodNumber;
87
87
  }, z.core.$strip>;
88
88
  next: z.ZodNullable<z.ZodString>;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ id: z.ZodString;
91
+ type: z.ZodLiteral<"countdown">;
92
+ position: z.ZodObject<{
93
+ x: z.ZodNumber;
94
+ y: z.ZodNumber;
95
+ }, z.core.$strip>;
96
+ seconds: z.ZodNumber;
97
+ message: z.ZodNullable<z.ZodString>;
98
+ next: z.ZodNullable<z.ZodString>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ id: z.ZodString;
101
+ type: z.ZodLiteral<"webhook">;
102
+ position: z.ZodObject<{
103
+ x: z.ZodNumber;
104
+ y: z.ZodNumber;
105
+ }, z.core.$strip>;
106
+ url: z.ZodString;
107
+ method: z.ZodEnum<{
108
+ POST: "POST";
109
+ GET: "GET";
110
+ }>;
111
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
112
+ next: z.ZodNullable<z.ZodString>;
89
113
  }, z.core.$strip>, z.ZodObject<{
90
114
  id: z.ZodString;
91
115
  type: z.ZodLiteral<"entry">;
@@ -187,6 +211,30 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
187
211
  y: z.ZodNumber;
188
212
  }, z.core.$strip>;
189
213
  next: z.ZodNullable<z.ZodString>;
214
+ }, z.core.$strip>, z.ZodObject<{
215
+ id: z.ZodString;
216
+ type: z.ZodLiteral<"countdown">;
217
+ position: z.ZodObject<{
218
+ x: z.ZodNumber;
219
+ y: z.ZodNumber;
220
+ }, z.core.$strip>;
221
+ seconds: z.ZodNumber;
222
+ message: z.ZodNullable<z.ZodString>;
223
+ next: z.ZodNullable<z.ZodString>;
224
+ }, z.core.$strip>, z.ZodObject<{
225
+ id: z.ZodString;
226
+ type: z.ZodLiteral<"webhook">;
227
+ position: z.ZodObject<{
228
+ x: z.ZodNumber;
229
+ y: z.ZodNumber;
230
+ }, z.core.$strip>;
231
+ url: z.ZodString;
232
+ method: z.ZodEnum<{
233
+ POST: "POST";
234
+ GET: "GET";
235
+ }>;
236
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
237
+ next: z.ZodNullable<z.ZodString>;
190
238
  }, z.core.$strip>, z.ZodObject<{
191
239
  id: z.ZodString;
192
240
  type: z.ZodLiteral<"entry">;
@@ -286,6 +334,30 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
286
334
  y: z.ZodNumber;
287
335
  }, z.core.$strip>;
288
336
  next: z.ZodNullable<z.ZodString>;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ id: z.ZodString;
339
+ type: z.ZodLiteral<"countdown">;
340
+ position: z.ZodObject<{
341
+ x: z.ZodNumber;
342
+ y: z.ZodNumber;
343
+ }, z.core.$strip>;
344
+ seconds: z.ZodNumber;
345
+ message: z.ZodNullable<z.ZodString>;
346
+ next: z.ZodNullable<z.ZodString>;
347
+ }, z.core.$strip>, z.ZodObject<{
348
+ id: z.ZodString;
349
+ type: z.ZodLiteral<"webhook">;
350
+ position: z.ZodObject<{
351
+ x: z.ZodNumber;
352
+ y: z.ZodNumber;
353
+ }, z.core.$strip>;
354
+ url: z.ZodString;
355
+ method: z.ZodEnum<{
356
+ POST: "POST";
357
+ GET: "GET";
358
+ }>;
359
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
360
+ next: z.ZodNullable<z.ZodString>;
289
361
  }, z.core.$strip>, z.ZodObject<{
290
362
  id: z.ZodString;
291
363
  type: z.ZodLiteral<"entry">;
@@ -393,6 +465,30 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
393
465
  y: z.ZodNumber;
394
466
  }, z.core.$strip>;
395
467
  next: z.ZodNullable<z.ZodString>;
468
+ }, z.core.$strip>, z.ZodObject<{
469
+ id: z.ZodString;
470
+ type: z.ZodLiteral<"countdown">;
471
+ position: z.ZodObject<{
472
+ x: z.ZodNumber;
473
+ y: z.ZodNumber;
474
+ }, z.core.$strip>;
475
+ seconds: z.ZodNumber;
476
+ message: z.ZodNullable<z.ZodString>;
477
+ next: z.ZodNullable<z.ZodString>;
478
+ }, z.core.$strip>, z.ZodObject<{
479
+ id: z.ZodString;
480
+ type: z.ZodLiteral<"webhook">;
481
+ position: z.ZodObject<{
482
+ x: z.ZodNumber;
483
+ y: z.ZodNumber;
484
+ }, z.core.$strip>;
485
+ url: z.ZodString;
486
+ method: z.ZodEnum<{
487
+ POST: "POST";
488
+ GET: "GET";
489
+ }>;
490
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
491
+ next: z.ZodNullable<z.ZodString>;
396
492
  }, z.core.$strip>, z.ZodObject<{
397
493
  id: z.ZodString;
398
494
  type: z.ZodLiteral<"entry">;
@@ -1 +1 @@
1
- {"version":3,"file":"link-templates.schema.d.ts","sourceRoot":"","sources":["../../src/link-templates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIx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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
@@ -74,10 +74,6 @@ export declare const LinkSchema: z.ZodObject<{
74
74
  }, z.core.$strip>>;
75
75
  qr_logo_key: z.ZodNullable<z.ZodString>;
76
76
  logo_url: z.ZodNullable<z.ZodString>;
77
- link_type: z.ZodDefault<z.ZodEnum<{
78
- redirect: "redirect";
79
- rules: "rules";
80
- }>>;
81
77
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
82
78
  entry: z.ZodString;
83
79
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -160,6 +156,30 @@ export declare const LinkSchema: z.ZodObject<{
160
156
  y: z.ZodNumber;
161
157
  }, z.core.$strip>;
162
158
  next: z.ZodNullable<z.ZodString>;
159
+ }, z.core.$strip>, z.ZodObject<{
160
+ id: z.ZodString;
161
+ type: z.ZodLiteral<"countdown">;
162
+ position: z.ZodObject<{
163
+ x: z.ZodNumber;
164
+ y: z.ZodNumber;
165
+ }, z.core.$strip>;
166
+ seconds: z.ZodNumber;
167
+ message: z.ZodNullable<z.ZodString>;
168
+ next: z.ZodNullable<z.ZodString>;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ id: z.ZodString;
171
+ type: z.ZodLiteral<"webhook">;
172
+ position: z.ZodObject<{
173
+ x: z.ZodNumber;
174
+ y: z.ZodNumber;
175
+ }, z.core.$strip>;
176
+ url: z.ZodString;
177
+ method: z.ZodEnum<{
178
+ POST: "POST";
179
+ GET: "GET";
180
+ }>;
181
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
182
+ next: z.ZodNullable<z.ZodString>;
163
183
  }, z.core.$strip>, z.ZodObject<{
164
184
  id: z.ZodString;
165
185
  type: z.ZodLiteral<"entry">;
@@ -222,10 +242,6 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
222
242
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
223
243
  }, z.core.$strip>>>;
224
244
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
225
- link_type: z.ZodOptional<z.ZodEnum<{
226
- redirect: "redirect";
227
- rules: "rules";
228
- }>>;
229
245
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
230
246
  entry: z.ZodString;
231
247
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -308,6 +324,30 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
308
324
  y: z.ZodNumber;
309
325
  }, z.core.$strip>;
310
326
  next: z.ZodNullable<z.ZodString>;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ id: z.ZodString;
329
+ type: z.ZodLiteral<"countdown">;
330
+ position: z.ZodObject<{
331
+ x: z.ZodNumber;
332
+ y: z.ZodNumber;
333
+ }, z.core.$strip>;
334
+ seconds: z.ZodNumber;
335
+ message: z.ZodNullable<z.ZodString>;
336
+ next: z.ZodNullable<z.ZodString>;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ id: z.ZodString;
339
+ type: z.ZodLiteral<"webhook">;
340
+ position: z.ZodObject<{
341
+ x: z.ZodNumber;
342
+ y: z.ZodNumber;
343
+ }, z.core.$strip>;
344
+ url: z.ZodString;
345
+ method: z.ZodEnum<{
346
+ POST: "POST";
347
+ GET: "GET";
348
+ }>;
349
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
350
+ next: z.ZodNullable<z.ZodString>;
311
351
  }, z.core.$strip>, z.ZodObject<{
312
352
  id: z.ZodString;
313
353
  type: z.ZodLiteral<"entry">;
@@ -363,10 +403,6 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
363
403
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
364
404
  }, z.core.$strip>>>;
365
405
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
366
- link_type: z.ZodOptional<z.ZodEnum<{
367
- redirect: "redirect";
368
- rules: "rules";
369
- }>>;
370
406
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
371
407
  entry: z.ZodString;
372
408
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -449,6 +485,30 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
449
485
  y: z.ZodNumber;
450
486
  }, z.core.$strip>;
451
487
  next: z.ZodNullable<z.ZodString>;
488
+ }, z.core.$strip>, z.ZodObject<{
489
+ id: z.ZodString;
490
+ type: z.ZodLiteral<"countdown">;
491
+ position: z.ZodObject<{
492
+ x: z.ZodNumber;
493
+ y: z.ZodNumber;
494
+ }, z.core.$strip>;
495
+ seconds: z.ZodNumber;
496
+ message: z.ZodNullable<z.ZodString>;
497
+ next: z.ZodNullable<z.ZodString>;
498
+ }, z.core.$strip>, z.ZodObject<{
499
+ id: z.ZodString;
500
+ type: z.ZodLiteral<"webhook">;
501
+ position: z.ZodObject<{
502
+ x: z.ZodNumber;
503
+ y: z.ZodNumber;
504
+ }, z.core.$strip>;
505
+ url: z.ZodString;
506
+ method: z.ZodEnum<{
507
+ POST: "POST";
508
+ GET: "GET";
509
+ }>;
510
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
511
+ next: z.ZodNullable<z.ZodString>;
452
512
  }, z.core.$strip>, z.ZodObject<{
453
513
  id: z.ZodString;
454
514
  type: z.ZodLiteral<"entry">;
@@ -557,10 +617,6 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
557
617
  }, z.core.$strip>>;
558
618
  qr_logo_key: z.ZodNullable<z.ZodString>;
559
619
  logo_url: z.ZodNullable<z.ZodString>;
560
- link_type: z.ZodDefault<z.ZodEnum<{
561
- redirect: "redirect";
562
- rules: "rules";
563
- }>>;
564
620
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
565
621
  entry: z.ZodString;
566
622
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -643,6 +699,30 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
643
699
  y: z.ZodNumber;
644
700
  }, z.core.$strip>;
645
701
  next: z.ZodNullable<z.ZodString>;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ id: z.ZodString;
704
+ type: z.ZodLiteral<"countdown">;
705
+ position: z.ZodObject<{
706
+ x: z.ZodNumber;
707
+ y: z.ZodNumber;
708
+ }, z.core.$strip>;
709
+ seconds: z.ZodNumber;
710
+ message: z.ZodNullable<z.ZodString>;
711
+ next: z.ZodNullable<z.ZodString>;
712
+ }, z.core.$strip>, z.ZodObject<{
713
+ id: z.ZodString;
714
+ type: z.ZodLiteral<"webhook">;
715
+ position: z.ZodObject<{
716
+ x: z.ZodNumber;
717
+ y: z.ZodNumber;
718
+ }, z.core.$strip>;
719
+ url: z.ZodString;
720
+ method: z.ZodEnum<{
721
+ POST: "POST";
722
+ GET: "GET";
723
+ }>;
724
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
725
+ next: z.ZodNullable<z.ZodString>;
646
726
  }, z.core.$strip>, z.ZodObject<{
647
727
  id: z.ZodString;
648
728
  type: z.ZodLiteral<"entry">;
@@ -1 +1 @@
1
- {"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBhC,CAAC;AAMH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
@@ -79,6 +79,30 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
79
79
  y: z.ZodNumber;
80
80
  }, z.core.$strip>;
81
81
  next: z.ZodNullable<z.ZodString>;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ id: z.ZodString;
84
+ type: z.ZodLiteral<"countdown">;
85
+ position: z.ZodObject<{
86
+ x: z.ZodNumber;
87
+ y: z.ZodNumber;
88
+ }, z.core.$strip>;
89
+ seconds: z.ZodNumber;
90
+ message: z.ZodNullable<z.ZodString>;
91
+ next: z.ZodNullable<z.ZodString>;
92
+ }, z.core.$strip>, z.ZodObject<{
93
+ id: z.ZodString;
94
+ type: z.ZodLiteral<"webhook">;
95
+ position: z.ZodObject<{
96
+ x: z.ZodNumber;
97
+ y: z.ZodNumber;
98
+ }, z.core.$strip>;
99
+ url: z.ZodString;
100
+ method: z.ZodEnum<{
101
+ POST: "POST";
102
+ GET: "GET";
103
+ }>;
104
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
105
+ next: z.ZodNullable<z.ZodString>;
82
106
  }, z.core.$strip>, z.ZodObject<{
83
107
  id: z.ZodString;
84
108
  type: z.ZodLiteral<"entry">;
@@ -173,6 +197,30 @@ export declare const RuleGraphOutputSchema: z.ZodObject<{
173
197
  y: z.ZodNumber;
174
198
  }, z.core.$strip>;
175
199
  next: z.ZodNullable<z.ZodString>;
200
+ }, z.core.$strip>, z.ZodObject<{
201
+ id: z.ZodString;
202
+ type: z.ZodLiteral<"countdown">;
203
+ position: z.ZodObject<{
204
+ x: z.ZodNumber;
205
+ y: z.ZodNumber;
206
+ }, z.core.$strip>;
207
+ seconds: z.ZodNumber;
208
+ message: z.ZodNullable<z.ZodString>;
209
+ next: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strip>, z.ZodObject<{
211
+ id: z.ZodString;
212
+ type: z.ZodLiteral<"webhook">;
213
+ position: z.ZodObject<{
214
+ x: z.ZodNumber;
215
+ y: z.ZodNumber;
216
+ }, z.core.$strip>;
217
+ url: z.ZodString;
218
+ method: z.ZodEnum<{
219
+ POST: "POST";
220
+ GET: "GET";
221
+ }>;
222
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
223
+ next: z.ZodNullable<z.ZodString>;
176
224
  }, z.core.$strip>, z.ZodObject<{
177
225
  id: z.ZodString;
178
226
  type: z.ZodLiteral<"entry">;
@@ -268,6 +316,30 @@ export declare const RuleGraphSchema: z.ZodObject<{
268
316
  y: z.ZodNumber;
269
317
  }, z.core.$strip>;
270
318
  next: z.ZodNullable<z.ZodString>;
319
+ }, z.core.$strip>, z.ZodObject<{
320
+ id: z.ZodString;
321
+ type: z.ZodLiteral<"countdown">;
322
+ position: z.ZodObject<{
323
+ x: z.ZodNumber;
324
+ y: z.ZodNumber;
325
+ }, z.core.$strip>;
326
+ seconds: z.ZodNumber;
327
+ message: z.ZodNullable<z.ZodString>;
328
+ next: z.ZodNullable<z.ZodString>;
329
+ }, z.core.$strip>, z.ZodObject<{
330
+ id: z.ZodString;
331
+ type: z.ZodLiteral<"webhook">;
332
+ position: z.ZodObject<{
333
+ x: z.ZodNumber;
334
+ y: z.ZodNumber;
335
+ }, z.core.$strip>;
336
+ url: z.ZodString;
337
+ method: z.ZodEnum<{
338
+ POST: "POST";
339
+ GET: "GET";
340
+ }>;
341
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
342
+ next: z.ZodNullable<z.ZodString>;
271
343
  }, z.core.$strip>, z.ZodObject<{
272
344
  id: z.ZodString;
273
345
  type: z.ZodLiteral<"entry">;
@@ -1 +1 @@
1
- {"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkGxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAO9B,CAAC;AAOH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBvB,CAAC"}
1
+ {"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0HxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAS9B,CAAC;AAOH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBvB,CAAC"}