@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/esm/index.js CHANGED
@@ -272,11 +272,33 @@ var PasswordNodeSchema = z6.object({
272
272
  position: PositionSchema,
273
273
  next: z6.string().nullable()
274
274
  });
275
+ var CountdownNodeSchema = z6.object({
276
+ id: z6.string(),
277
+ type: z6.literal("countdown"),
278
+ position: PositionSchema,
279
+ seconds: z6.number().int().min(1).max(300),
280
+ message: z6.string().max(500).nullable(),
281
+ next: z6.string().nullable()
282
+ });
283
+ var WebhookNodeSchema = z6.object({
284
+ id: z6.string(),
285
+ type: z6.literal("webhook"),
286
+ position: PositionSchema,
287
+ url: z6.string().url().refine((u) => u.startsWith("https://") || u.startsWith("http://"), {
288
+ message: "Webhook URL must use http or https protocol"
289
+ }),
290
+ method: z6.enum(["POST", "GET"]),
291
+ headers: z6.record(z6.string(), z6.string().regex(/^[^\r\n]*$/, "Header value must not contain newlines")).optional(),
292
+ next: z6.string().nullable()
293
+ });
275
294
  var EntryNodeSchema = z6.object({
276
295
  id: z6.string(),
277
296
  type: z6.literal("entry"),
278
297
  position: PositionSchema,
279
- next: z6.string().nullable()
298
+ next: z6.string().nullable(),
299
+ starts_at: z6.string().nullable(),
300
+ expires_at: z6.string().nullable(),
301
+ fallback_url: z6.string().nullable()
280
302
  });
281
303
  var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
282
304
  ConditionNodeSchema,
@@ -284,6 +306,8 @@ var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
284
306
  DestinationNodeSchema,
285
307
  TransformNodeSchema,
286
308
  PasswordNodeSchema,
309
+ CountdownNodeSchema,
310
+ WebhookNodeSchema,
287
311
  EntryNodeSchema
288
312
  ]);
289
313
  var BaseRuleGraphSchema = z6.object({
@@ -403,9 +427,6 @@ var LinkSchema = z9.object({
403
427
  utm_term: z9.string().nullable(),
404
428
  utm_content: z9.string().nullable(),
405
429
  password: z9.string().nullable(),
406
- starts_at: z9.coerce.date().nullable(),
407
- expires_at: z9.coerce.date().nullable(),
408
- fallback_url: z9.string().nullable(),
409
430
  is_active: z9.boolean(),
410
431
  redirect_type: z9.number().int(),
411
432
  click_count: z9.coerce.number().int(),
@@ -415,7 +436,6 @@ var LinkSchema = z9.object({
415
436
  qr_code_settings: QrCodeSettingsSchema.nullable(),
416
437
  qr_logo_key: z9.string().nullable(),
417
438
  logo_url: z9.string().nullable(),
418
- link_type: z9.enum(["redirect", "rules"]).default("redirect"),
419
439
  rule_graph: RuleGraphOutputSchema.nullable().optional(),
420
440
  tags: z9.array(TagSchema)
421
441
  });
@@ -431,17 +451,10 @@ var CreateLinkInputSchema = z9.object({
431
451
  utm_term: z9.string().max(255).optional(),
432
452
  utm_content: z9.string().max(255).optional(),
433
453
  password: z9.string().min(4).max(100).optional(),
434
- starts_at: z9.coerce.date().optional(),
435
- expires_at: z9.coerce.date().optional(),
436
- fallback_url: z9.string().url().max(2048).optional(),
437
454
  redirect_type: z9.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
438
455
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
439
456
  tag_ids: z9.array(z9.string().uuid()).optional(),
440
- link_type: z9.enum(["redirect", "rules"]).optional(),
441
457
  rule_graph: RuleGraphSchema.nullable().optional()
442
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
443
- message: 'rule_graph is required when link_type is "rules"',
444
- path: ["rule_graph"]
445
458
  });
446
459
  var UpdateLinkInputSchema = z9.object({
447
460
  original_url: z9.string().url().max(2048).optional(),
@@ -455,30 +468,19 @@ var UpdateLinkInputSchema = z9.object({
455
468
  utm_term: z9.string().max(255).nullable().optional(),
456
469
  utm_content: z9.string().max(255).nullable().optional(),
457
470
  password: z9.string().min(4).max(100).nullable().optional(),
458
- starts_at: z9.coerce.date().nullable().optional(),
459
- expires_at: z9.coerce.date().nullable().optional(),
460
- fallback_url: z9.string().url().max(2048).nullable().optional(),
461
471
  is_active: z9.boolean().optional(),
462
472
  redirect_type: z9.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
463
473
  qr_code_settings: QrCodeSettingsSchema.nullable().optional(),
464
474
  tag_ids: z9.array(z9.string().uuid()).optional(),
465
- link_type: z9.enum(["redirect", "rules"]).optional(),
466
475
  rule_graph: RuleGraphSchema.nullable().optional()
467
- }).refine((data) => data.link_type !== "rules" || data.rule_graph != null, {
468
- message: 'rule_graph is required when link_type is "rules"',
469
- path: ["rule_graph"]
470
476
  });
471
477
  var stringToBoolean = z9.union([z9.boolean(), z9.enum(["true", "false"])]).transform((val) => typeof val === "string" ? val === "true" : val);
472
478
  var LinkFiltersSchema = z9.object({
473
479
  search: z9.string().optional(),
474
480
  domain_ids: z9.array(z9.string().uuid()).optional(),
475
481
  is_active: stringToBoolean.optional(),
476
- has_expiration: stringToBoolean.optional(),
477
- expired: stringToBoolean.optional(),
478
482
  created_from: z9.coerce.date().optional(),
479
483
  created_to: z9.coerce.date().optional(),
480
- expires_from: z9.coerce.date().optional(),
481
- expires_to: z9.coerce.date().optional(),
482
484
  tag_ids: z9.array(z9.string().uuid()).optional(),
483
485
  sort_by: z9.enum(["created_at", "title", "click_count", "original_url"]).default("created_at"),
484
486
  sort_order: z9.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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