@middlewr/contracts 0.0.47 → 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,11 +373,33 @@ 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"),
379
398
  position: PositionSchema,
380
- next: import_zod6.z.string().nullable()
399
+ next: import_zod6.z.string().nullable(),
400
+ starts_at: import_zod6.z.string().nullable(),
401
+ expires_at: import_zod6.z.string().nullable(),
402
+ fallback_url: import_zod6.z.string().nullable()
381
403
  });
382
404
  var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [
383
405
  ConditionNodeSchema,
@@ -385,6 +407,8 @@ var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [
385
407
  DestinationNodeSchema,
386
408
  TransformNodeSchema,
387
409
  PasswordNodeSchema,
410
+ CountdownNodeSchema,
411
+ WebhookNodeSchema,
388
412
  EntryNodeSchema
389
413
  ]);
390
414
  var BaseRuleGraphSchema = import_zod6.z.object({
@@ -504,9 +528,6 @@ var LinkSchema = import_zod9.z.object({
504
528
  utm_term: import_zod9.z.string().nullable(),
505
529
  utm_content: import_zod9.z.string().nullable(),
506
530
  password: import_zod9.z.string().nullable(),
507
- starts_at: import_zod9.z.coerce.date().nullable(),
508
- expires_at: import_zod9.z.coerce.date().nullable(),
509
- fallback_url: import_zod9.z.string().nullable(),
510
531
  is_active: import_zod9.z.boolean(),
511
532
  redirect_type: import_zod9.z.number().int(),
512
533
  click_count: import_zod9.z.coerce.number().int(),
@@ -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
  });
@@ -532,17 +552,10 @@ var CreateLinkInputSchema = import_zod9.z.object({
532
552
  utm_term: import_zod9.z.string().max(255).optional(),
533
553
  utm_content: import_zod9.z.string().max(255).optional(),
534
554
  password: import_zod9.z.string().min(4).max(100).optional(),
535
- starts_at: import_zod9.z.coerce.date().optional(),
536
- expires_at: import_zod9.z.coerce.date().optional(),
537
- fallback_url: import_zod9.z.string().url().max(2048).optional(),
538
555
  redirect_type: import_zod9.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
539
556
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
540
557
  tag_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
541
- link_type: import_zod9.z.enum(["redirect", "rules"]).optional(),
542
558
  rule_graph: RuleGraphSchema.nullable().optional()
543
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
544
- message: 'rule_graph is required when link_type is "rules"',
545
- path: ["rule_graph"]
546
559
  });
547
560
  var UpdateLinkInputSchema = import_zod9.z.object({
548
561
  original_url: import_zod9.z.string().url().max(2048).optional(),
@@ -556,30 +569,19 @@ var UpdateLinkInputSchema = import_zod9.z.object({
556
569
  utm_term: import_zod9.z.string().max(255).nullable().optional(),
557
570
  utm_content: import_zod9.z.string().max(255).nullable().optional(),
558
571
  password: import_zod9.z.string().min(4).max(100).nullable().optional(),
559
- starts_at: import_zod9.z.coerce.date().nullable().optional(),
560
- expires_at: import_zod9.z.coerce.date().nullable().optional(),
561
- fallback_url: import_zod9.z.string().url().max(2048).nullable().optional(),
562
572
  is_active: import_zod9.z.boolean().optional(),
563
573
  redirect_type: import_zod9.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
564
574
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
565
575
  tag_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
566
- link_type: import_zod9.z.enum(["redirect", "rules"]).optional(),
567
576
  rule_graph: RuleGraphSchema.nullable().optional()
568
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
569
- message: 'rule_graph is required when link_type is "rules"',
570
- path: ["rule_graph"]
571
577
  });
572
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);
573
579
  var LinkFiltersSchema = import_zod9.z.object({
574
580
  search: import_zod9.z.string().optional(),
575
581
  domain_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
576
582
  is_active: stringToBoolean.optional(),
577
- has_expiration: stringToBoolean.optional(),
578
- expired: stringToBoolean.optional(),
579
583
  created_from: import_zod9.z.coerce.date().optional(),
580
584
  created_to: import_zod9.z.coerce.date().optional(),
581
- expires_from: import_zod9.z.coerce.date().optional(),
582
- expires_to: import_zod9.z.coerce.date().optional(),
583
585
  tag_ids: import_zod9.z.array(import_zod9.z.string().uuid()).optional(),
584
586
  sort_by: import_zod9.z.enum(["created_at", "title", "click_count", "original_url"]).default("created_at"),
585
587
  sort_order: import_zod9.z.enum(["asc", "desc"]).default("desc"),
@@ -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">;
@@ -94,6 +118,9 @@ export declare const LinkTemplateSchema: z.ZodObject<{
94
118
  y: z.ZodNumber;
95
119
  }, z.core.$strip>;
96
120
  next: z.ZodNullable<z.ZodString>;
121
+ starts_at: z.ZodNullable<z.ZodString>;
122
+ expires_at: z.ZodNullable<z.ZodString>;
123
+ fallback_url: z.ZodNullable<z.ZodString>;
97
124
  }, z.core.$strip>], "type">>;
98
125
  }, z.core.$strip>>;
99
126
  created_at: z.ZodCoercedDate<unknown>;
@@ -184,6 +211,30 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
184
211
  y: z.ZodNumber;
185
212
  }, z.core.$strip>;
186
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>;
187
238
  }, z.core.$strip>, z.ZodObject<{
188
239
  id: z.ZodString;
189
240
  type: z.ZodLiteral<"entry">;
@@ -192,6 +243,9 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
192
243
  y: z.ZodNumber;
193
244
  }, z.core.$strip>;
194
245
  next: z.ZodNullable<z.ZodString>;
246
+ starts_at: z.ZodNullable<z.ZodString>;
247
+ expires_at: z.ZodNullable<z.ZodString>;
248
+ fallback_url: z.ZodNullable<z.ZodString>;
195
249
  }, z.core.$strip>], "type">>;
196
250
  }, z.core.$strip>>>;
197
251
  }, z.core.$strip>;
@@ -280,6 +334,30 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
280
334
  y: z.ZodNumber;
281
335
  }, z.core.$strip>;
282
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>;
283
361
  }, z.core.$strip>, z.ZodObject<{
284
362
  id: z.ZodString;
285
363
  type: z.ZodLiteral<"entry">;
@@ -288,6 +366,9 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
288
366
  y: z.ZodNumber;
289
367
  }, z.core.$strip>;
290
368
  next: z.ZodNullable<z.ZodString>;
369
+ starts_at: z.ZodNullable<z.ZodString>;
370
+ expires_at: z.ZodNullable<z.ZodString>;
371
+ fallback_url: z.ZodNullable<z.ZodString>;
291
372
  }, z.core.$strip>], "type">>;
292
373
  }, z.core.$strip>>;
293
374
  }, z.core.$strip>;
@@ -384,6 +465,30 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
384
465
  y: z.ZodNumber;
385
466
  }, z.core.$strip>;
386
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>;
387
492
  }, z.core.$strip>, z.ZodObject<{
388
493
  id: z.ZodString;
389
494
  type: z.ZodLiteral<"entry">;
@@ -392,6 +497,9 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
392
497
  y: z.ZodNumber;
393
498
  }, z.core.$strip>;
394
499
  next: z.ZodNullable<z.ZodString>;
500
+ starts_at: z.ZodNullable<z.ZodString>;
501
+ expires_at: z.ZodNullable<z.ZodString>;
502
+ fallback_url: z.ZodNullable<z.ZodString>;
395
503
  }, z.core.$strip>], "type">>;
396
504
  }, z.core.$strip>>;
397
505
  created_at: z.ZodCoercedDate<unknown>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
@@ -40,9 +40,6 @@ export declare const LinkSchema: z.ZodObject<{
40
40
  utm_term: z.ZodNullable<z.ZodString>;
41
41
  utm_content: z.ZodNullable<z.ZodString>;
42
42
  password: z.ZodNullable<z.ZodString>;
43
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
44
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
45
- fallback_url: z.ZodNullable<z.ZodString>;
46
43
  is_active: z.ZodBoolean;
47
44
  redirect_type: z.ZodNumber;
48
45
  click_count: z.ZodCoercedNumber<unknown>;
@@ -77,10 +74,6 @@ export declare const LinkSchema: z.ZodObject<{
77
74
  }, z.core.$strip>>;
78
75
  qr_logo_key: z.ZodNullable<z.ZodString>;
79
76
  logo_url: z.ZodNullable<z.ZodString>;
80
- link_type: z.ZodDefault<z.ZodEnum<{
81
- redirect: "redirect";
82
- rules: "rules";
83
- }>>;
84
77
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
85
78
  entry: z.ZodString;
86
79
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -163,6 +156,30 @@ export declare const LinkSchema: z.ZodObject<{
163
156
  y: z.ZodNumber;
164
157
  }, z.core.$strip>;
165
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>;
166
183
  }, z.core.$strip>, z.ZodObject<{
167
184
  id: z.ZodString;
168
185
  type: z.ZodLiteral<"entry">;
@@ -171,6 +188,9 @@ export declare const LinkSchema: z.ZodObject<{
171
188
  y: z.ZodNumber;
172
189
  }, z.core.$strip>;
173
190
  next: z.ZodNullable<z.ZodString>;
191
+ starts_at: z.ZodNullable<z.ZodString>;
192
+ expires_at: z.ZodNullable<z.ZodString>;
193
+ fallback_url: z.ZodNullable<z.ZodString>;
174
194
  }, z.core.$strip>], "type">>;
175
195
  }, z.core.$strip>>>;
176
196
  tags: z.ZodArray<z.ZodObject<{
@@ -194,9 +214,6 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
194
214
  utm_term: z.ZodOptional<z.ZodString>;
195
215
  utm_content: z.ZodOptional<z.ZodString>;
196
216
  password: z.ZodOptional<z.ZodString>;
197
- starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
198
- expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
199
- fallback_url: z.ZodOptional<z.ZodString>;
200
217
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
201
218
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
202
219
  fg_color: z.ZodString;
@@ -225,10 +242,6 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
225
242
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
226
243
  }, z.core.$strip>>>;
227
244
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
- link_type: z.ZodOptional<z.ZodEnum<{
229
- redirect: "redirect";
230
- rules: "rules";
231
- }>>;
232
245
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
233
246
  entry: z.ZodString;
234
247
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -311,6 +324,30 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
311
324
  y: z.ZodNumber;
312
325
  }, z.core.$strip>;
313
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>;
314
351
  }, z.core.$strip>, z.ZodObject<{
315
352
  id: z.ZodString;
316
353
  type: z.ZodLiteral<"entry">;
@@ -319,6 +356,9 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
319
356
  y: z.ZodNumber;
320
357
  }, z.core.$strip>;
321
358
  next: z.ZodNullable<z.ZodString>;
359
+ starts_at: z.ZodNullable<z.ZodString>;
360
+ expires_at: z.ZodNullable<z.ZodString>;
361
+ fallback_url: z.ZodNullable<z.ZodString>;
322
362
  }, z.core.$strip>], "type">>;
323
363
  }, z.core.$strip>>>;
324
364
  }, z.core.$strip>;
@@ -334,9 +374,6 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
334
374
  utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
375
  utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
376
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
- starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
338
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
339
- fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
340
377
  is_active: z.ZodOptional<z.ZodBoolean>;
341
378
  redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
342
379
  qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -366,10 +403,6 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
366
403
  logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
367
404
  }, z.core.$strip>>>;
368
405
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
369
- link_type: z.ZodOptional<z.ZodEnum<{
370
- redirect: "redirect";
371
- rules: "rules";
372
- }>>;
373
406
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
374
407
  entry: z.ZodString;
375
408
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -452,6 +485,30 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
452
485
  y: z.ZodNumber;
453
486
  }, z.core.$strip>;
454
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>;
455
512
  }, z.core.$strip>, z.ZodObject<{
456
513
  id: z.ZodString;
457
514
  type: z.ZodLiteral<"entry">;
@@ -460,6 +517,9 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
460
517
  y: z.ZodNumber;
461
518
  }, z.core.$strip>;
462
519
  next: z.ZodNullable<z.ZodString>;
520
+ starts_at: z.ZodNullable<z.ZodString>;
521
+ expires_at: z.ZodNullable<z.ZodString>;
522
+ fallback_url: z.ZodNullable<z.ZodString>;
463
523
  }, z.core.$strip>], "type">>;
464
524
  }, z.core.$strip>>>;
465
525
  }, z.core.$strip>;
@@ -470,18 +530,8 @@ export declare const LinkFiltersSchema: z.ZodObject<{
470
530
  true: "true";
471
531
  false: "false";
472
532
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
473
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
474
- true: "true";
475
- false: "false";
476
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
477
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
478
- true: "true";
479
- false: "false";
480
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
481
533
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
482
534
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
483
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
484
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
485
535
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
486
536
  sort_by: z.ZodDefault<z.ZodEnum<{
487
537
  created_at: "created_at";
@@ -504,18 +554,8 @@ export declare const ExportLinksFiltersSchema: z.ZodObject<{
504
554
  }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
505
555
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
506
556
  domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
507
- has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
508
- true: "true";
509
- false: "false";
510
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
511
- expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
512
- true: "true";
513
- false: "false";
514
- }>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
515
557
  created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
516
558
  created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
517
- expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
518
- expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
519
559
  sort_by: z.ZodDefault<z.ZodEnum<{
520
560
  created_at: "created_at";
521
561
  title: "title";
@@ -543,9 +583,6 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
543
583
  utm_term: z.ZodNullable<z.ZodString>;
544
584
  utm_content: z.ZodNullable<z.ZodString>;
545
585
  password: z.ZodNullable<z.ZodString>;
546
- starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
547
- expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
548
- fallback_url: z.ZodNullable<z.ZodString>;
549
586
  is_active: z.ZodBoolean;
550
587
  redirect_type: z.ZodNumber;
551
588
  click_count: z.ZodCoercedNumber<unknown>;
@@ -580,10 +617,6 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
580
617
  }, z.core.$strip>>;
581
618
  qr_logo_key: z.ZodNullable<z.ZodString>;
582
619
  logo_url: z.ZodNullable<z.ZodString>;
583
- link_type: z.ZodDefault<z.ZodEnum<{
584
- redirect: "redirect";
585
- rules: "rules";
586
- }>>;
587
620
  rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
588
621
  entry: z.ZodString;
589
622
  nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -666,6 +699,30 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
666
699
  y: z.ZodNumber;
667
700
  }, z.core.$strip>;
668
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>;
669
726
  }, z.core.$strip>, z.ZodObject<{
670
727
  id: z.ZodString;
671
728
  type: z.ZodLiteral<"entry">;
@@ -674,6 +731,9 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
674
731
  y: z.ZodNumber;
675
732
  }, z.core.$strip>;
676
733
  next: z.ZodNullable<z.ZodString>;
734
+ starts_at: z.ZodNullable<z.ZodString>;
735
+ expires_at: z.ZodNullable<z.ZodString>;
736
+ fallback_url: z.ZodNullable<z.ZodString>;
677
737
  }, z.core.$strip>], "type">>;
678
738
  }, z.core.$strip>>>;
679
739
  tags: z.ZodArray<z.ZodObject<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC5B,CAAC;AAMP,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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