@middlewr/contracts 0.0.40 → 0.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/common.schema.d.ts +4 -0
- package/dist/cjs/common.schema.d.ts.map +1 -1
- package/dist/cjs/index.d.ts +1807 -548
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +295 -226
- package/dist/cjs/link-templates.schema.d.ts +373 -0
- package/dist/cjs/link-templates.schema.d.ts.map +1 -0
- package/dist/cjs/links.schema.d.ts +35 -3
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +16 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -1
- package/dist/esm/common.schema.d.ts +4 -0
- package/dist/esm/common.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1807 -548
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +288 -226
- package/dist/esm/link-templates.schema.d.ts +373 -0
- package/dist/esm/link-templates.schema.d.ts.map +1 -0
- package/dist/esm/links.schema.d.ts +35 -3
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +16 -0
- package/dist/esm/rules.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common.schema.ts +5 -0
- package/src/index.ts +38 -0
- package/src/link-templates.schema.ts +39 -0
- package/src/rules.schema.ts +8 -0
package/dist/esm/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './api-keys.schema';
|
|
|
5
5
|
export * from './billing.schema';
|
|
6
6
|
export * from './common.schema';
|
|
7
7
|
export * from './domains.schema';
|
|
8
|
+
export * from './link-templates.schema';
|
|
8
9
|
export * from './links.schema';
|
|
9
10
|
export * from './rules.schema';
|
|
10
11
|
export * from './tags.schema';
|
|
@@ -396,56 +397,12 @@ export declare const invitationsContract: {
|
|
|
396
397
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
397
398
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
398
399
|
};
|
|
399
|
-
export declare const
|
|
400
|
+
export declare const linkTemplatesContract: {
|
|
400
401
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
401
402
|
workspace_id: z.ZodString;
|
|
402
|
-
|
|
403
|
-
domain_id: z.ZodOptional<z.ZodString>;
|
|
404
|
-
short_code: z.ZodOptional<z.ZodString>;
|
|
405
|
-
title: z.ZodOptional<z.ZodString>;
|
|
403
|
+
title: z.ZodString;
|
|
406
404
|
description: z.ZodOptional<z.ZodString>;
|
|
407
|
-
|
|
408
|
-
utm_medium: z.ZodOptional<z.ZodString>;
|
|
409
|
-
utm_campaign: z.ZodOptional<z.ZodString>;
|
|
410
|
-
utm_term: z.ZodOptional<z.ZodString>;
|
|
411
|
-
utm_content: z.ZodOptional<z.ZodString>;
|
|
412
|
-
password: z.ZodOptional<z.ZodString>;
|
|
413
|
-
starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
414
|
-
expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
415
|
-
fallback_url: z.ZodOptional<z.ZodString>;
|
|
416
|
-
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
417
|
-
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
418
|
-
fg_color: z.ZodString;
|
|
419
|
-
bg_color: z.ZodString;
|
|
420
|
-
dot_style: z.ZodEnum<{
|
|
421
|
-
square: "square";
|
|
422
|
-
dots: "dots";
|
|
423
|
-
rounded: "rounded";
|
|
424
|
-
classy: "classy";
|
|
425
|
-
"classy-rounded": "classy-rounded";
|
|
426
|
-
"extra-rounded": "extra-rounded";
|
|
427
|
-
}>;
|
|
428
|
-
eye_outer_style: z.ZodEnum<{
|
|
429
|
-
square: "square";
|
|
430
|
-
"extra-rounded": "extra-rounded";
|
|
431
|
-
dot: "dot";
|
|
432
|
-
}>;
|
|
433
|
-
eye_inner_style: z.ZodEnum<{
|
|
434
|
-
square: "square";
|
|
435
|
-
dot: "dot";
|
|
436
|
-
}>;
|
|
437
|
-
frame_enabled: z.ZodBoolean;
|
|
438
|
-
frame_text: z.ZodString;
|
|
439
|
-
frame_color: z.ZodString;
|
|
440
|
-
frame_text_color: z.ZodString;
|
|
441
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
442
|
-
}, z.core.$strip>>>;
|
|
443
|
-
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
444
|
-
link_type: z.ZodOptional<z.ZodEnum<{
|
|
445
|
-
redirect: "redirect";
|
|
446
|
-
rules: "rules";
|
|
447
|
-
}>>;
|
|
448
|
-
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
405
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
449
406
|
entry: z.ZodString;
|
|
450
407
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
451
408
|
id: z.ZodString;
|
|
@@ -519,65 +476,22 @@ export declare const linksContract: {
|
|
|
519
476
|
}, z.core.$strip>>>;
|
|
520
477
|
}, z.core.$strip>;
|
|
521
478
|
next: z.ZodNullable<z.ZodString>;
|
|
479
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
480
|
+
id: z.ZodString;
|
|
481
|
+
type: z.ZodLiteral<"password">;
|
|
482
|
+
position: z.ZodObject<{
|
|
483
|
+
x: z.ZodNumber;
|
|
484
|
+
y: z.ZodNumber;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
next: z.ZodNullable<z.ZodString>;
|
|
522
487
|
}, z.core.$strip>], "type">>;
|
|
523
|
-
}, z.core.$strip
|
|
488
|
+
}, z.core.$strip>>;
|
|
524
489
|
}, z.core.$strip>, z.ZodObject<{
|
|
525
490
|
id: z.ZodString;
|
|
526
491
|
workspace_id: z.ZodString;
|
|
527
|
-
|
|
528
|
-
created_by_id: z.ZodString;
|
|
529
|
-
original_url: z.ZodString;
|
|
530
|
-
short_code: z.ZodString;
|
|
531
|
-
title: z.ZodNullable<z.ZodString>;
|
|
492
|
+
title: z.ZodString;
|
|
532
493
|
description: z.ZodNullable<z.ZodString>;
|
|
533
|
-
|
|
534
|
-
utm_medium: z.ZodNullable<z.ZodString>;
|
|
535
|
-
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
536
|
-
utm_term: z.ZodNullable<z.ZodString>;
|
|
537
|
-
utm_content: z.ZodNullable<z.ZodString>;
|
|
538
|
-
password: z.ZodNullable<z.ZodString>;
|
|
539
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
540
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
541
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
542
|
-
is_active: z.ZodBoolean;
|
|
543
|
-
redirect_type: z.ZodNumber;
|
|
544
|
-
click_count: z.ZodCoercedNumber<unknown>;
|
|
545
|
-
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
546
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
547
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
548
|
-
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
549
|
-
fg_color: z.ZodString;
|
|
550
|
-
bg_color: z.ZodString;
|
|
551
|
-
dot_style: z.ZodEnum<{
|
|
552
|
-
square: "square";
|
|
553
|
-
dots: "dots";
|
|
554
|
-
rounded: "rounded";
|
|
555
|
-
classy: "classy";
|
|
556
|
-
"classy-rounded": "classy-rounded";
|
|
557
|
-
"extra-rounded": "extra-rounded";
|
|
558
|
-
}>;
|
|
559
|
-
eye_outer_style: z.ZodEnum<{
|
|
560
|
-
square: "square";
|
|
561
|
-
"extra-rounded": "extra-rounded";
|
|
562
|
-
dot: "dot";
|
|
563
|
-
}>;
|
|
564
|
-
eye_inner_style: z.ZodEnum<{
|
|
565
|
-
square: "square";
|
|
566
|
-
dot: "dot";
|
|
567
|
-
}>;
|
|
568
|
-
frame_enabled: z.ZodBoolean;
|
|
569
|
-
frame_text: z.ZodString;
|
|
570
|
-
frame_color: z.ZodString;
|
|
571
|
-
frame_text_color: z.ZodString;
|
|
572
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
573
|
-
}, z.core.$strip>>;
|
|
574
|
-
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
575
|
-
logo_url: z.ZodNullable<z.ZodString>;
|
|
576
|
-
link_type: z.ZodDefault<z.ZodEnum<{
|
|
577
|
-
redirect: "redirect";
|
|
578
|
-
rules: "rules";
|
|
579
|
-
}>>;
|
|
580
|
-
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
494
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
581
495
|
entry: z.ZodString;
|
|
582
496
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
583
497
|
id: z.ZodString;
|
|
@@ -651,108 +565,31 @@ export declare const linksContract: {
|
|
|
651
565
|
}, z.core.$strip>>>;
|
|
652
566
|
}, z.core.$strip>;
|
|
653
567
|
next: z.ZodNullable<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
569
|
+
id: z.ZodString;
|
|
570
|
+
type: z.ZodLiteral<"password">;
|
|
571
|
+
position: z.ZodObject<{
|
|
572
|
+
x: z.ZodNumber;
|
|
573
|
+
y: z.ZodNumber;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
next: z.ZodNullable<z.ZodString>;
|
|
654
576
|
}, z.core.$strip>], "type">>;
|
|
655
|
-
}, z.core.$strip>>>;
|
|
656
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
657
|
-
id: z.ZodString;
|
|
658
|
-
workspace_id: z.ZodString;
|
|
659
|
-
name: z.ZodString;
|
|
660
|
-
color: z.ZodNullable<z.ZodString>;
|
|
661
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
662
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
663
577
|
}, z.core.$strip>>;
|
|
578
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
579
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
664
580
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
665
581
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
666
582
|
workspace_id: z.ZodString;
|
|
667
583
|
search: z.ZodOptional<z.ZodString>;
|
|
668
|
-
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
669
|
-
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
670
|
-
true: "true";
|
|
671
|
-
false: "false";
|
|
672
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
673
|
-
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
674
|
-
true: "true";
|
|
675
|
-
false: "false";
|
|
676
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
677
|
-
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
678
|
-
true: "true";
|
|
679
|
-
false: "false";
|
|
680
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
681
|
-
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
682
|
-
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
683
|
-
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
684
|
-
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
685
|
-
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
686
|
-
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
687
|
-
created_at: "created_at";
|
|
688
|
-
original_url: "original_url";
|
|
689
|
-
title: "title";
|
|
690
|
-
click_count: "click_count";
|
|
691
|
-
}>>;
|
|
692
|
-
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
693
|
-
asc: "asc";
|
|
694
|
-
desc: "desc";
|
|
695
|
-
}>>;
|
|
696
584
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
697
585
|
per_page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
698
586
|
}, z.core.$strip>, z.ZodObject<{
|
|
699
|
-
|
|
587
|
+
link_templates: z.ZodArray<z.ZodObject<{
|
|
700
588
|
id: z.ZodString;
|
|
701
589
|
workspace_id: z.ZodString;
|
|
702
|
-
|
|
703
|
-
created_by_id: z.ZodString;
|
|
704
|
-
original_url: z.ZodString;
|
|
705
|
-
short_code: z.ZodString;
|
|
706
|
-
title: z.ZodNullable<z.ZodString>;
|
|
590
|
+
title: z.ZodString;
|
|
707
591
|
description: z.ZodNullable<z.ZodString>;
|
|
708
|
-
|
|
709
|
-
utm_medium: z.ZodNullable<z.ZodString>;
|
|
710
|
-
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
711
|
-
utm_term: z.ZodNullable<z.ZodString>;
|
|
712
|
-
utm_content: z.ZodNullable<z.ZodString>;
|
|
713
|
-
password: z.ZodNullable<z.ZodString>;
|
|
714
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
715
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
716
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
717
|
-
is_active: z.ZodBoolean;
|
|
718
|
-
redirect_type: z.ZodNumber;
|
|
719
|
-
click_count: z.ZodCoercedNumber<unknown>;
|
|
720
|
-
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
721
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
722
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
723
|
-
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
724
|
-
fg_color: z.ZodString;
|
|
725
|
-
bg_color: z.ZodString;
|
|
726
|
-
dot_style: z.ZodEnum<{
|
|
727
|
-
square: "square";
|
|
728
|
-
dots: "dots";
|
|
729
|
-
rounded: "rounded";
|
|
730
|
-
classy: "classy";
|
|
731
|
-
"classy-rounded": "classy-rounded";
|
|
732
|
-
"extra-rounded": "extra-rounded";
|
|
733
|
-
}>;
|
|
734
|
-
eye_outer_style: z.ZodEnum<{
|
|
735
|
-
square: "square";
|
|
736
|
-
"extra-rounded": "extra-rounded";
|
|
737
|
-
dot: "dot";
|
|
738
|
-
}>;
|
|
739
|
-
eye_inner_style: z.ZodEnum<{
|
|
740
|
-
square: "square";
|
|
741
|
-
dot: "dot";
|
|
742
|
-
}>;
|
|
743
|
-
frame_enabled: z.ZodBoolean;
|
|
744
|
-
frame_text: z.ZodString;
|
|
745
|
-
frame_color: z.ZodString;
|
|
746
|
-
frame_text_color: z.ZodString;
|
|
747
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
748
|
-
}, z.core.$strip>>;
|
|
749
|
-
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
750
|
-
logo_url: z.ZodNullable<z.ZodString>;
|
|
751
|
-
link_type: z.ZodDefault<z.ZodEnum<{
|
|
752
|
-
redirect: "redirect";
|
|
753
|
-
rules: "rules";
|
|
754
|
-
}>>;
|
|
755
|
-
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
592
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
756
593
|
entry: z.ZodString;
|
|
757
594
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
758
595
|
id: z.ZodString;
|
|
@@ -826,114 +663,33 @@ export declare const linksContract: {
|
|
|
826
663
|
}, z.core.$strip>>>;
|
|
827
664
|
}, z.core.$strip>;
|
|
828
665
|
next: z.ZodNullable<z.ZodString>;
|
|
666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
667
|
+
id: z.ZodString;
|
|
668
|
+
type: z.ZodLiteral<"password">;
|
|
669
|
+
position: z.ZodObject<{
|
|
670
|
+
x: z.ZodNumber;
|
|
671
|
+
y: z.ZodNumber;
|
|
672
|
+
}, z.core.$strip>;
|
|
673
|
+
next: z.ZodNullable<z.ZodString>;
|
|
829
674
|
}, z.core.$strip>], "type">>;
|
|
830
|
-
}, z.core.$strip>>>;
|
|
831
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
832
|
-
id: z.ZodString;
|
|
833
|
-
workspace_id: z.ZodString;
|
|
834
|
-
name: z.ZodString;
|
|
835
|
-
color: z.ZodNullable<z.ZodString>;
|
|
836
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
837
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
838
675
|
}, z.core.$strip>>;
|
|
676
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
677
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
839
678
|
}, z.core.$strip>>;
|
|
840
679
|
total: z.ZodNumber;
|
|
841
680
|
page: z.ZodNumber;
|
|
842
681
|
per_page: z.ZodNumber;
|
|
843
682
|
total_pages: z.ZodNumber;
|
|
844
683
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
845
|
-
|
|
684
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
846
685
|
workspace_id: z.ZodString;
|
|
847
|
-
|
|
848
|
-
true: "true";
|
|
849
|
-
false: "false";
|
|
850
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
851
|
-
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
852
|
-
search: z.ZodOptional<z.ZodString>;
|
|
853
|
-
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
854
|
-
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
855
|
-
true: "true";
|
|
856
|
-
false: "false";
|
|
857
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
858
|
-
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
859
|
-
true: "true";
|
|
860
|
-
false: "false";
|
|
861
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
862
|
-
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
863
|
-
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
864
|
-
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
865
|
-
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
866
|
-
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
867
|
-
created_at: "created_at";
|
|
868
|
-
original_url: "original_url";
|
|
869
|
-
title: "title";
|
|
870
|
-
click_count: "click_count";
|
|
871
|
-
}>>;
|
|
872
|
-
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
873
|
-
asc: "asc";
|
|
874
|
-
desc: "desc";
|
|
875
|
-
}>>;
|
|
876
|
-
}, z.core.$strip>, z.ZodCustom<File, File>, Record<never, never>, Record<never, never>>;
|
|
877
|
-
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
878
|
-
workspace_id: z.ZodString;
|
|
879
|
-
link_id: z.ZodString;
|
|
686
|
+
link_template_id: z.ZodString;
|
|
880
687
|
}, z.core.$strip>, z.ZodObject<{
|
|
881
688
|
id: z.ZodString;
|
|
882
689
|
workspace_id: z.ZodString;
|
|
883
|
-
|
|
884
|
-
created_by_id: z.ZodString;
|
|
885
|
-
original_url: z.ZodString;
|
|
886
|
-
short_code: z.ZodString;
|
|
887
|
-
title: z.ZodNullable<z.ZodString>;
|
|
690
|
+
title: z.ZodString;
|
|
888
691
|
description: z.ZodNullable<z.ZodString>;
|
|
889
|
-
|
|
890
|
-
utm_medium: z.ZodNullable<z.ZodString>;
|
|
891
|
-
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
892
|
-
utm_term: z.ZodNullable<z.ZodString>;
|
|
893
|
-
utm_content: z.ZodNullable<z.ZodString>;
|
|
894
|
-
password: z.ZodNullable<z.ZodString>;
|
|
895
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
896
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
897
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
898
|
-
is_active: z.ZodBoolean;
|
|
899
|
-
redirect_type: z.ZodNumber;
|
|
900
|
-
click_count: z.ZodCoercedNumber<unknown>;
|
|
901
|
-
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
902
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
903
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
904
|
-
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
905
|
-
fg_color: z.ZodString;
|
|
906
|
-
bg_color: z.ZodString;
|
|
907
|
-
dot_style: z.ZodEnum<{
|
|
908
|
-
square: "square";
|
|
909
|
-
dots: "dots";
|
|
910
|
-
rounded: "rounded";
|
|
911
|
-
classy: "classy";
|
|
912
|
-
"classy-rounded": "classy-rounded";
|
|
913
|
-
"extra-rounded": "extra-rounded";
|
|
914
|
-
}>;
|
|
915
|
-
eye_outer_style: z.ZodEnum<{
|
|
916
|
-
square: "square";
|
|
917
|
-
"extra-rounded": "extra-rounded";
|
|
918
|
-
dot: "dot";
|
|
919
|
-
}>;
|
|
920
|
-
eye_inner_style: z.ZodEnum<{
|
|
921
|
-
square: "square";
|
|
922
|
-
dot: "dot";
|
|
923
|
-
}>;
|
|
924
|
-
frame_enabled: z.ZodBoolean;
|
|
925
|
-
frame_text: z.ZodString;
|
|
926
|
-
frame_color: z.ZodString;
|
|
927
|
-
frame_text_color: z.ZodString;
|
|
928
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
929
|
-
}, z.core.$strip>>;
|
|
930
|
-
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
931
|
-
logo_url: z.ZodNullable<z.ZodString>;
|
|
932
|
-
link_type: z.ZodDefault<z.ZodEnum<{
|
|
933
|
-
redirect: "redirect";
|
|
934
|
-
rules: "rules";
|
|
935
|
-
}>>;
|
|
936
|
-
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
692
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
937
693
|
entry: z.ZodString;
|
|
938
694
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
939
695
|
id: z.ZodString;
|
|
@@ -1007,67 +763,24 @@ export declare const linksContract: {
|
|
|
1007
763
|
}, z.core.$strip>>>;
|
|
1008
764
|
}, z.core.$strip>;
|
|
1009
765
|
next: z.ZodNullable<z.ZodString>;
|
|
766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
type: z.ZodLiteral<"password">;
|
|
769
|
+
position: z.ZodObject<{
|
|
770
|
+
x: z.ZodNumber;
|
|
771
|
+
y: z.ZodNumber;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1010
774
|
}, z.core.$strip>], "type">>;
|
|
1011
|
-
}, z.core.$strip>>>;
|
|
1012
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
1013
|
-
id: z.ZodString;
|
|
1014
|
-
workspace_id: z.ZodString;
|
|
1015
|
-
name: z.ZodString;
|
|
1016
|
-
color: z.ZodNullable<z.ZodString>;
|
|
1017
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
1018
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1019
775
|
}, z.core.$strip>>;
|
|
776
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
777
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1020
778
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1021
779
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1022
780
|
workspace_id: z.ZodString;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
domain_id: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
short_code: z.ZodOptional<z.ZodString>;
|
|
1027
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
781
|
+
link_template_id: z.ZodString;
|
|
782
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1028
783
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1029
|
-
utm_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1030
|
-
utm_medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1031
|
-
utm_campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1032
|
-
utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1033
|
-
utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1034
|
-
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1035
|
-
starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
1036
|
-
expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
1037
|
-
fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1038
|
-
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
-
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1040
|
-
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1041
|
-
fg_color: z.ZodString;
|
|
1042
|
-
bg_color: z.ZodString;
|
|
1043
|
-
dot_style: z.ZodEnum<{
|
|
1044
|
-
square: "square";
|
|
1045
|
-
dots: "dots";
|
|
1046
|
-
rounded: "rounded";
|
|
1047
|
-
classy: "classy";
|
|
1048
|
-
"classy-rounded": "classy-rounded";
|
|
1049
|
-
"extra-rounded": "extra-rounded";
|
|
1050
|
-
}>;
|
|
1051
|
-
eye_outer_style: z.ZodEnum<{
|
|
1052
|
-
square: "square";
|
|
1053
|
-
"extra-rounded": "extra-rounded";
|
|
1054
|
-
dot: "dot";
|
|
1055
|
-
}>;
|
|
1056
|
-
eye_inner_style: z.ZodEnum<{
|
|
1057
|
-
square: "square";
|
|
1058
|
-
dot: "dot";
|
|
1059
|
-
}>;
|
|
1060
|
-
frame_enabled: z.ZodBoolean;
|
|
1061
|
-
frame_text: z.ZodString;
|
|
1062
|
-
frame_color: z.ZodString;
|
|
1063
|
-
frame_text_color: z.ZodString;
|
|
1064
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1065
|
-
}, z.core.$strip>>>;
|
|
1066
|
-
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1067
|
-
link_type: z.ZodOptional<z.ZodEnum<{
|
|
1068
|
-
redirect: "redirect";
|
|
1069
|
-
rules: "rules";
|
|
1070
|
-
}>>;
|
|
1071
784
|
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1072
785
|
entry: z.ZodString;
|
|
1073
786
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1142,65 +855,22 @@ export declare const linksContract: {
|
|
|
1142
855
|
}, z.core.$strip>>>;
|
|
1143
856
|
}, z.core.$strip>;
|
|
1144
857
|
next: z.ZodNullable<z.ZodString>;
|
|
858
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
859
|
+
id: z.ZodString;
|
|
860
|
+
type: z.ZodLiteral<"password">;
|
|
861
|
+
position: z.ZodObject<{
|
|
862
|
+
x: z.ZodNumber;
|
|
863
|
+
y: z.ZodNumber;
|
|
864
|
+
}, z.core.$strip>;
|
|
865
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1145
866
|
}, z.core.$strip>], "type">>;
|
|
1146
867
|
}, z.core.$strip>>>;
|
|
1147
868
|
}, z.core.$strip>, z.ZodObject<{
|
|
1148
869
|
id: z.ZodString;
|
|
1149
870
|
workspace_id: z.ZodString;
|
|
1150
|
-
|
|
1151
|
-
created_by_id: z.ZodString;
|
|
1152
|
-
original_url: z.ZodString;
|
|
1153
|
-
short_code: z.ZodString;
|
|
1154
|
-
title: z.ZodNullable<z.ZodString>;
|
|
871
|
+
title: z.ZodString;
|
|
1155
872
|
description: z.ZodNullable<z.ZodString>;
|
|
1156
|
-
|
|
1157
|
-
utm_medium: z.ZodNullable<z.ZodString>;
|
|
1158
|
-
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
1159
|
-
utm_term: z.ZodNullable<z.ZodString>;
|
|
1160
|
-
utm_content: z.ZodNullable<z.ZodString>;
|
|
1161
|
-
password: z.ZodNullable<z.ZodString>;
|
|
1162
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1163
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1164
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
1165
|
-
is_active: z.ZodBoolean;
|
|
1166
|
-
redirect_type: z.ZodNumber;
|
|
1167
|
-
click_count: z.ZodCoercedNumber<unknown>;
|
|
1168
|
-
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1169
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
1170
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1171
|
-
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1172
|
-
fg_color: z.ZodString;
|
|
1173
|
-
bg_color: z.ZodString;
|
|
1174
|
-
dot_style: z.ZodEnum<{
|
|
1175
|
-
square: "square";
|
|
1176
|
-
dots: "dots";
|
|
1177
|
-
rounded: "rounded";
|
|
1178
|
-
classy: "classy";
|
|
1179
|
-
"classy-rounded": "classy-rounded";
|
|
1180
|
-
"extra-rounded": "extra-rounded";
|
|
1181
|
-
}>;
|
|
1182
|
-
eye_outer_style: z.ZodEnum<{
|
|
1183
|
-
square: "square";
|
|
1184
|
-
"extra-rounded": "extra-rounded";
|
|
1185
|
-
dot: "dot";
|
|
1186
|
-
}>;
|
|
1187
|
-
eye_inner_style: z.ZodEnum<{
|
|
1188
|
-
square: "square";
|
|
1189
|
-
dot: "dot";
|
|
1190
|
-
}>;
|
|
1191
|
-
frame_enabled: z.ZodBoolean;
|
|
1192
|
-
frame_text: z.ZodString;
|
|
1193
|
-
frame_color: z.ZodString;
|
|
1194
|
-
frame_text_color: z.ZodString;
|
|
1195
|
-
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1196
|
-
}, z.core.$strip>>;
|
|
1197
|
-
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1198
|
-
logo_url: z.ZodNullable<z.ZodString>;
|
|
1199
|
-
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1200
|
-
redirect: "redirect";
|
|
1201
|
-
rules: "rules";
|
|
1202
|
-
}>>;
|
|
1203
|
-
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
873
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
1204
874
|
entry: z.ZodString;
|
|
1205
875
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1206
876
|
id: z.ZodString;
|
|
@@ -1274,60 +944,43 @@ export declare const linksContract: {
|
|
|
1274
944
|
}, z.core.$strip>>>;
|
|
1275
945
|
}, z.core.$strip>;
|
|
1276
946
|
next: z.ZodNullable<z.ZodString>;
|
|
947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
948
|
+
id: z.ZodString;
|
|
949
|
+
type: z.ZodLiteral<"password">;
|
|
950
|
+
position: z.ZodObject<{
|
|
951
|
+
x: z.ZodNumber;
|
|
952
|
+
y: z.ZodNumber;
|
|
953
|
+
}, z.core.$strip>;
|
|
954
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1277
955
|
}, z.core.$strip>], "type">>;
|
|
1278
|
-
}, z.core.$strip>>>;
|
|
1279
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
1280
|
-
id: z.ZodString;
|
|
1281
|
-
workspace_id: z.ZodString;
|
|
1282
|
-
name: z.ZodString;
|
|
1283
|
-
color: z.ZodNullable<z.ZodString>;
|
|
1284
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
1285
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1286
956
|
}, z.core.$strip>>;
|
|
957
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
958
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1287
959
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1288
960
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1289
961
|
workspace_id: z.ZodString;
|
|
1290
|
-
|
|
1291
|
-
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1292
|
-
edgeSync: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1293
|
-
workspace_id: z.ZodString;
|
|
1294
|
-
link_id: z.ZodString;
|
|
962
|
+
link_template_id: z.ZodString;
|
|
1295
963
|
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1300
|
-
synced: z.ZodBoolean;
|
|
1301
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1302
|
-
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1303
|
-
workspace_id: z.ZodString;
|
|
1304
|
-
link_id: z.ZodString;
|
|
1305
|
-
file: z.ZodFile;
|
|
1306
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1307
|
-
id: z.ZodString;
|
|
964
|
+
};
|
|
965
|
+
export declare const linksContract: {
|
|
966
|
+
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1308
967
|
workspace_id: z.ZodString;
|
|
1309
|
-
domain_id: z.ZodString;
|
|
1310
|
-
created_by_id: z.ZodString;
|
|
1311
968
|
original_url: z.ZodString;
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
redirect_type: z.
|
|
1326
|
-
|
|
1327
|
-
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1328
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
1329
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1330
|
-
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
969
|
+
domain_id: z.ZodOptional<z.ZodString>;
|
|
970
|
+
short_code: z.ZodOptional<z.ZodString>;
|
|
971
|
+
title: z.ZodOptional<z.ZodString>;
|
|
972
|
+
description: z.ZodOptional<z.ZodString>;
|
|
973
|
+
utm_source: z.ZodOptional<z.ZodString>;
|
|
974
|
+
utm_medium: z.ZodOptional<z.ZodString>;
|
|
975
|
+
utm_campaign: z.ZodOptional<z.ZodString>;
|
|
976
|
+
utm_term: z.ZodOptional<z.ZodString>;
|
|
977
|
+
utm_content: z.ZodOptional<z.ZodString>;
|
|
978
|
+
password: z.ZodOptional<z.ZodString>;
|
|
979
|
+
starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
980
|
+
expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
981
|
+
fallback_url: z.ZodOptional<z.ZodString>;
|
|
982
|
+
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
983
|
+
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1331
984
|
fg_color: z.ZodString;
|
|
1332
985
|
bg_color: z.ZodString;
|
|
1333
986
|
dot_style: z.ZodEnum<{
|
|
@@ -1352,10 +1005,9 @@ export declare const linksContract: {
|
|
|
1352
1005
|
frame_color: z.ZodString;
|
|
1353
1006
|
frame_text_color: z.ZodString;
|
|
1354
1007
|
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1355
|
-
}, z.core.$strip
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1008
|
+
}, z.core.$strip>>>;
|
|
1009
|
+
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1010
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
1359
1011
|
redirect: "redirect";
|
|
1360
1012
|
rules: "rules";
|
|
1361
1013
|
}>>;
|
|
@@ -1433,20 +1085,16 @@ export declare const linksContract: {
|
|
|
1433
1085
|
}, z.core.$strip>>>;
|
|
1434
1086
|
}, z.core.$strip>;
|
|
1435
1087
|
next: z.ZodNullable<z.ZodString>;
|
|
1088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1089
|
+
id: z.ZodString;
|
|
1090
|
+
type: z.ZodLiteral<"password">;
|
|
1091
|
+
position: z.ZodObject<{
|
|
1092
|
+
x: z.ZodNumber;
|
|
1093
|
+
y: z.ZodNumber;
|
|
1094
|
+
}, z.core.$strip>;
|
|
1095
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1436
1096
|
}, z.core.$strip>], "type">>;
|
|
1437
1097
|
}, z.core.$strip>>>;
|
|
1438
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
1439
|
-
id: z.ZodString;
|
|
1440
|
-
workspace_id: z.ZodString;
|
|
1441
|
-
name: z.ZodString;
|
|
1442
|
-
color: z.ZodNullable<z.ZodString>;
|
|
1443
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
1444
|
-
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1445
|
-
}, z.core.$strip>>;
|
|
1446
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1447
|
-
deleteLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1448
|
-
workspace_id: z.ZodString;
|
|
1449
|
-
link_id: z.ZodString;
|
|
1450
1098
|
}, z.core.$strip>, z.ZodObject<{
|
|
1451
1099
|
id: z.ZodString;
|
|
1452
1100
|
workspace_id: z.ZodString;
|
|
@@ -1577,6 +1225,14 @@ export declare const linksContract: {
|
|
|
1577
1225
|
}, z.core.$strip>>>;
|
|
1578
1226
|
}, z.core.$strip>;
|
|
1579
1227
|
next: z.ZodNullable<z.ZodString>;
|
|
1228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1229
|
+
id: z.ZodString;
|
|
1230
|
+
type: z.ZodLiteral<"password">;
|
|
1231
|
+
position: z.ZodObject<{
|
|
1232
|
+
x: z.ZodNumber;
|
|
1233
|
+
y: z.ZodNumber;
|
|
1234
|
+
}, z.core.$strip>;
|
|
1235
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1580
1236
|
}, z.core.$strip>], "type">>;
|
|
1581
1237
|
}, z.core.$strip>>>;
|
|
1582
1238
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1588,48 +1244,1022 @@ export declare const linksContract: {
|
|
|
1588
1244
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1589
1245
|
}, z.core.$strip>>;
|
|
1590
1246
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1591
|
-
|
|
1592
|
-
workspace_id: z.ZodString;
|
|
1593
|
-
job_id: z.ZodString;
|
|
1594
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1595
|
-
id: z.ZodString;
|
|
1596
|
-
workspace_id: z.ZodString;
|
|
1597
|
-
type: z.ZodString;
|
|
1598
|
-
status: z.ZodEnum<{
|
|
1599
|
-
pending: "pending";
|
|
1600
|
-
processing: "processing";
|
|
1601
|
-
completed: "completed";
|
|
1602
|
-
failed: "failed";
|
|
1603
|
-
}>;
|
|
1604
|
-
total_rows: z.ZodNumber;
|
|
1605
|
-
succeeded_count: z.ZodNumber;
|
|
1606
|
-
failed_count: z.ZodNumber;
|
|
1607
|
-
error: z.ZodNullable<z.ZodString>;
|
|
1608
|
-
created_by_id: z.ZodString;
|
|
1609
|
-
created_at: z.ZodDate;
|
|
1610
|
-
completed_at: z.ZodNullable<z.ZodDate>;
|
|
1611
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1612
|
-
jobResults: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1613
|
-
workspace_id: z.ZodString;
|
|
1614
|
-
job_id: z.ZodString;
|
|
1615
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1616
|
-
url: z.ZodString;
|
|
1617
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1618
|
-
};
|
|
1619
|
-
export declare const tagsContract: {
|
|
1620
|
-
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1247
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1621
1248
|
workspace_id: z.ZodString;
|
|
1622
|
-
|
|
1623
|
-
|
|
1249
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1251
|
+
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1252
|
+
true: "true";
|
|
1253
|
+
false: "false";
|
|
1254
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1255
|
+
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1256
|
+
true: "true";
|
|
1257
|
+
false: "false";
|
|
1258
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1259
|
+
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1260
|
+
true: "true";
|
|
1261
|
+
false: "false";
|
|
1262
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1263
|
+
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1264
|
+
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1265
|
+
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1266
|
+
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1267
|
+
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1268
|
+
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
1269
|
+
created_at: "created_at";
|
|
1270
|
+
title: "title";
|
|
1271
|
+
original_url: "original_url";
|
|
1272
|
+
click_count: "click_count";
|
|
1273
|
+
}>>;
|
|
1274
|
+
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
1275
|
+
asc: "asc";
|
|
1276
|
+
desc: "desc";
|
|
1277
|
+
}>>;
|
|
1278
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1279
|
+
per_page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1624
1280
|
}, z.core.$strip>, z.ZodObject<{
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1281
|
+
links: z.ZodArray<z.ZodObject<{
|
|
1282
|
+
id: z.ZodString;
|
|
1283
|
+
workspace_id: z.ZodString;
|
|
1284
|
+
domain_id: z.ZodString;
|
|
1285
|
+
created_by_id: z.ZodString;
|
|
1286
|
+
original_url: z.ZodString;
|
|
1287
|
+
short_code: z.ZodString;
|
|
1288
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1289
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1290
|
+
utm_source: z.ZodNullable<z.ZodString>;
|
|
1291
|
+
utm_medium: z.ZodNullable<z.ZodString>;
|
|
1292
|
+
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
1293
|
+
utm_term: z.ZodNullable<z.ZodString>;
|
|
1294
|
+
utm_content: z.ZodNullable<z.ZodString>;
|
|
1295
|
+
password: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1297
|
+
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1298
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
1299
|
+
is_active: z.ZodBoolean;
|
|
1300
|
+
redirect_type: z.ZodNumber;
|
|
1301
|
+
click_count: z.ZodCoercedNumber<unknown>;
|
|
1302
|
+
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1303
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1304
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1305
|
+
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1306
|
+
fg_color: z.ZodString;
|
|
1307
|
+
bg_color: z.ZodString;
|
|
1308
|
+
dot_style: z.ZodEnum<{
|
|
1309
|
+
square: "square";
|
|
1310
|
+
dots: "dots";
|
|
1311
|
+
rounded: "rounded";
|
|
1312
|
+
classy: "classy";
|
|
1313
|
+
"classy-rounded": "classy-rounded";
|
|
1314
|
+
"extra-rounded": "extra-rounded";
|
|
1315
|
+
}>;
|
|
1316
|
+
eye_outer_style: z.ZodEnum<{
|
|
1317
|
+
square: "square";
|
|
1318
|
+
"extra-rounded": "extra-rounded";
|
|
1319
|
+
dot: "dot";
|
|
1320
|
+
}>;
|
|
1321
|
+
eye_inner_style: z.ZodEnum<{
|
|
1322
|
+
square: "square";
|
|
1323
|
+
dot: "dot";
|
|
1324
|
+
}>;
|
|
1325
|
+
frame_enabled: z.ZodBoolean;
|
|
1326
|
+
frame_text: z.ZodString;
|
|
1327
|
+
frame_color: z.ZodString;
|
|
1328
|
+
frame_text_color: z.ZodString;
|
|
1329
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1330
|
+
}, z.core.$strip>>;
|
|
1331
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1333
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1334
|
+
redirect: "redirect";
|
|
1335
|
+
rules: "rules";
|
|
1336
|
+
}>>;
|
|
1337
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1338
|
+
entry: z.ZodString;
|
|
1339
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1340
|
+
id: z.ZodString;
|
|
1341
|
+
type: z.ZodLiteral<"condition">;
|
|
1342
|
+
position: z.ZodObject<{
|
|
1343
|
+
x: z.ZodNumber;
|
|
1344
|
+
y: z.ZodNumber;
|
|
1345
|
+
}, z.core.$strip>;
|
|
1346
|
+
field: z.ZodString;
|
|
1347
|
+
operator: z.ZodEnum<{
|
|
1348
|
+
eq: "eq";
|
|
1349
|
+
neq: "neq";
|
|
1350
|
+
in: "in";
|
|
1351
|
+
not_in: "not_in";
|
|
1352
|
+
contains: "contains";
|
|
1353
|
+
not_contains: "not_contains";
|
|
1354
|
+
gt: "gt";
|
|
1355
|
+
lt: "lt";
|
|
1356
|
+
gte: "gte";
|
|
1357
|
+
lte: "lte";
|
|
1358
|
+
regex: "regex";
|
|
1359
|
+
}>;
|
|
1360
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1361
|
+
outputs: z.ZodObject<{
|
|
1362
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1363
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1364
|
+
}, z.core.$strip>;
|
|
1365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1366
|
+
id: z.ZodString;
|
|
1367
|
+
type: z.ZodLiteral<"split">;
|
|
1368
|
+
position: z.ZodObject<{
|
|
1369
|
+
x: z.ZodNumber;
|
|
1370
|
+
y: z.ZodNumber;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1373
|
+
weight: z.ZodNumber;
|
|
1374
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1375
|
+
}, z.core.$strip>>;
|
|
1376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
+
id: z.ZodString;
|
|
1378
|
+
type: z.ZodLiteral<"destination">;
|
|
1379
|
+
position: z.ZodObject<{
|
|
1380
|
+
x: z.ZodNumber;
|
|
1381
|
+
y: z.ZodNumber;
|
|
1382
|
+
}, z.core.$strip>;
|
|
1383
|
+
url: z.ZodString;
|
|
1384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1385
|
+
id: z.ZodString;
|
|
1386
|
+
type: z.ZodLiteral<"transform">;
|
|
1387
|
+
position: z.ZodObject<{
|
|
1388
|
+
x: z.ZodNumber;
|
|
1389
|
+
y: z.ZodNumber;
|
|
1390
|
+
}, z.core.$strip>;
|
|
1391
|
+
transforms: z.ZodObject<{
|
|
1392
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1393
|
+
key: z.ZodString;
|
|
1394
|
+
value: z.ZodString;
|
|
1395
|
+
mode: z.ZodEnum<{
|
|
1396
|
+
set: "set";
|
|
1397
|
+
append: "append";
|
|
1398
|
+
}>;
|
|
1399
|
+
}, z.core.$strip>>>;
|
|
1400
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1401
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1402
|
+
key: z.ZodString;
|
|
1403
|
+
value: z.ZodString;
|
|
1404
|
+
mode: z.ZodEnum<{
|
|
1405
|
+
set: "set";
|
|
1406
|
+
append: "append";
|
|
1407
|
+
}>;
|
|
1408
|
+
}, z.core.$strip>>>;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1411
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1412
|
+
id: z.ZodString;
|
|
1413
|
+
type: z.ZodLiteral<"password">;
|
|
1414
|
+
position: z.ZodObject<{
|
|
1415
|
+
x: z.ZodNumber;
|
|
1416
|
+
y: z.ZodNumber;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1419
|
+
}, z.core.$strip>], "type">>;
|
|
1420
|
+
}, z.core.$strip>>>;
|
|
1421
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1422
|
+
id: z.ZodString;
|
|
1423
|
+
workspace_id: z.ZodString;
|
|
1424
|
+
name: z.ZodString;
|
|
1425
|
+
color: z.ZodNullable<z.ZodString>;
|
|
1426
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1427
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1428
|
+
}, z.core.$strip>>;
|
|
1429
|
+
}, z.core.$strip>>;
|
|
1430
|
+
total: z.ZodNumber;
|
|
1431
|
+
page: z.ZodNumber;
|
|
1432
|
+
per_page: z.ZodNumber;
|
|
1433
|
+
total_pages: z.ZodNumber;
|
|
1631
1434
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1632
|
-
|
|
1435
|
+
exportCsv: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1436
|
+
workspace_id: z.ZodString;
|
|
1437
|
+
search: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1439
|
+
true: "true";
|
|
1440
|
+
false: "false";
|
|
1441
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1442
|
+
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1443
|
+
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1444
|
+
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1445
|
+
true: "true";
|
|
1446
|
+
false: "false";
|
|
1447
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1448
|
+
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
1449
|
+
true: "true";
|
|
1450
|
+
false: "false";
|
|
1451
|
+
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
1452
|
+
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1453
|
+
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1454
|
+
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1455
|
+
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1456
|
+
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
1457
|
+
created_at: "created_at";
|
|
1458
|
+
title: "title";
|
|
1459
|
+
original_url: "original_url";
|
|
1460
|
+
click_count: "click_count";
|
|
1461
|
+
}>>;
|
|
1462
|
+
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
1463
|
+
asc: "asc";
|
|
1464
|
+
desc: "desc";
|
|
1465
|
+
}>>;
|
|
1466
|
+
}, z.core.$strip>, z.ZodCustom<File, File>, Record<never, never>, Record<never, never>>;
|
|
1467
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1468
|
+
workspace_id: z.ZodString;
|
|
1469
|
+
link_id: z.ZodString;
|
|
1470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1471
|
+
id: z.ZodString;
|
|
1472
|
+
workspace_id: z.ZodString;
|
|
1473
|
+
domain_id: z.ZodString;
|
|
1474
|
+
created_by_id: z.ZodString;
|
|
1475
|
+
original_url: z.ZodString;
|
|
1476
|
+
short_code: z.ZodString;
|
|
1477
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1478
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1479
|
+
utm_source: z.ZodNullable<z.ZodString>;
|
|
1480
|
+
utm_medium: z.ZodNullable<z.ZodString>;
|
|
1481
|
+
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
1482
|
+
utm_term: z.ZodNullable<z.ZodString>;
|
|
1483
|
+
utm_content: z.ZodNullable<z.ZodString>;
|
|
1484
|
+
password: z.ZodNullable<z.ZodString>;
|
|
1485
|
+
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1486
|
+
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1487
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
1488
|
+
is_active: z.ZodBoolean;
|
|
1489
|
+
redirect_type: z.ZodNumber;
|
|
1490
|
+
click_count: z.ZodCoercedNumber<unknown>;
|
|
1491
|
+
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1492
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1493
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1494
|
+
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1495
|
+
fg_color: z.ZodString;
|
|
1496
|
+
bg_color: z.ZodString;
|
|
1497
|
+
dot_style: z.ZodEnum<{
|
|
1498
|
+
square: "square";
|
|
1499
|
+
dots: "dots";
|
|
1500
|
+
rounded: "rounded";
|
|
1501
|
+
classy: "classy";
|
|
1502
|
+
"classy-rounded": "classy-rounded";
|
|
1503
|
+
"extra-rounded": "extra-rounded";
|
|
1504
|
+
}>;
|
|
1505
|
+
eye_outer_style: z.ZodEnum<{
|
|
1506
|
+
square: "square";
|
|
1507
|
+
"extra-rounded": "extra-rounded";
|
|
1508
|
+
dot: "dot";
|
|
1509
|
+
}>;
|
|
1510
|
+
eye_inner_style: z.ZodEnum<{
|
|
1511
|
+
square: "square";
|
|
1512
|
+
dot: "dot";
|
|
1513
|
+
}>;
|
|
1514
|
+
frame_enabled: z.ZodBoolean;
|
|
1515
|
+
frame_text: z.ZodString;
|
|
1516
|
+
frame_color: z.ZodString;
|
|
1517
|
+
frame_text_color: z.ZodString;
|
|
1518
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1519
|
+
}, z.core.$strip>>;
|
|
1520
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1521
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1522
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1523
|
+
redirect: "redirect";
|
|
1524
|
+
rules: "rules";
|
|
1525
|
+
}>>;
|
|
1526
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1527
|
+
entry: z.ZodString;
|
|
1528
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1529
|
+
id: z.ZodString;
|
|
1530
|
+
type: z.ZodLiteral<"condition">;
|
|
1531
|
+
position: z.ZodObject<{
|
|
1532
|
+
x: z.ZodNumber;
|
|
1533
|
+
y: z.ZodNumber;
|
|
1534
|
+
}, z.core.$strip>;
|
|
1535
|
+
field: z.ZodString;
|
|
1536
|
+
operator: z.ZodEnum<{
|
|
1537
|
+
eq: "eq";
|
|
1538
|
+
neq: "neq";
|
|
1539
|
+
in: "in";
|
|
1540
|
+
not_in: "not_in";
|
|
1541
|
+
contains: "contains";
|
|
1542
|
+
not_contains: "not_contains";
|
|
1543
|
+
gt: "gt";
|
|
1544
|
+
lt: "lt";
|
|
1545
|
+
gte: "gte";
|
|
1546
|
+
lte: "lte";
|
|
1547
|
+
regex: "regex";
|
|
1548
|
+
}>;
|
|
1549
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1550
|
+
outputs: z.ZodObject<{
|
|
1551
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1552
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1553
|
+
}, z.core.$strip>;
|
|
1554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1555
|
+
id: z.ZodString;
|
|
1556
|
+
type: z.ZodLiteral<"split">;
|
|
1557
|
+
position: z.ZodObject<{
|
|
1558
|
+
x: z.ZodNumber;
|
|
1559
|
+
y: z.ZodNumber;
|
|
1560
|
+
}, z.core.$strip>;
|
|
1561
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1562
|
+
weight: z.ZodNumber;
|
|
1563
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1564
|
+
}, z.core.$strip>>;
|
|
1565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1566
|
+
id: z.ZodString;
|
|
1567
|
+
type: z.ZodLiteral<"destination">;
|
|
1568
|
+
position: z.ZodObject<{
|
|
1569
|
+
x: z.ZodNumber;
|
|
1570
|
+
y: z.ZodNumber;
|
|
1571
|
+
}, z.core.$strip>;
|
|
1572
|
+
url: z.ZodString;
|
|
1573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1574
|
+
id: z.ZodString;
|
|
1575
|
+
type: z.ZodLiteral<"transform">;
|
|
1576
|
+
position: z.ZodObject<{
|
|
1577
|
+
x: z.ZodNumber;
|
|
1578
|
+
y: z.ZodNumber;
|
|
1579
|
+
}, z.core.$strip>;
|
|
1580
|
+
transforms: z.ZodObject<{
|
|
1581
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1582
|
+
key: z.ZodString;
|
|
1583
|
+
value: z.ZodString;
|
|
1584
|
+
mode: z.ZodEnum<{
|
|
1585
|
+
set: "set";
|
|
1586
|
+
append: "append";
|
|
1587
|
+
}>;
|
|
1588
|
+
}, z.core.$strip>>>;
|
|
1589
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1590
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1591
|
+
key: z.ZodString;
|
|
1592
|
+
value: z.ZodString;
|
|
1593
|
+
mode: z.ZodEnum<{
|
|
1594
|
+
set: "set";
|
|
1595
|
+
append: "append";
|
|
1596
|
+
}>;
|
|
1597
|
+
}, z.core.$strip>>>;
|
|
1598
|
+
}, z.core.$strip>;
|
|
1599
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1600
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1601
|
+
id: z.ZodString;
|
|
1602
|
+
type: z.ZodLiteral<"password">;
|
|
1603
|
+
position: z.ZodObject<{
|
|
1604
|
+
x: z.ZodNumber;
|
|
1605
|
+
y: z.ZodNumber;
|
|
1606
|
+
}, z.core.$strip>;
|
|
1607
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1608
|
+
}, z.core.$strip>], "type">>;
|
|
1609
|
+
}, z.core.$strip>>>;
|
|
1610
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1611
|
+
id: z.ZodString;
|
|
1612
|
+
workspace_id: z.ZodString;
|
|
1613
|
+
name: z.ZodString;
|
|
1614
|
+
color: z.ZodNullable<z.ZodString>;
|
|
1615
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1616
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1617
|
+
}, z.core.$strip>>;
|
|
1618
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1619
|
+
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1620
|
+
workspace_id: z.ZodString;
|
|
1621
|
+
link_id: z.ZodString;
|
|
1622
|
+
original_url: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
domain_id: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
short_code: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
|
+
utm_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
|
+
utm_medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
|
+
utm_campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
|
+
utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1631
|
+
utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
+
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
+
starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
1634
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
1635
|
+
fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
1637
|
+
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1638
|
+
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1639
|
+
fg_color: z.ZodString;
|
|
1640
|
+
bg_color: z.ZodString;
|
|
1641
|
+
dot_style: z.ZodEnum<{
|
|
1642
|
+
square: "square";
|
|
1643
|
+
dots: "dots";
|
|
1644
|
+
rounded: "rounded";
|
|
1645
|
+
classy: "classy";
|
|
1646
|
+
"classy-rounded": "classy-rounded";
|
|
1647
|
+
"extra-rounded": "extra-rounded";
|
|
1648
|
+
}>;
|
|
1649
|
+
eye_outer_style: z.ZodEnum<{
|
|
1650
|
+
square: "square";
|
|
1651
|
+
"extra-rounded": "extra-rounded";
|
|
1652
|
+
dot: "dot";
|
|
1653
|
+
}>;
|
|
1654
|
+
eye_inner_style: z.ZodEnum<{
|
|
1655
|
+
square: "square";
|
|
1656
|
+
dot: "dot";
|
|
1657
|
+
}>;
|
|
1658
|
+
frame_enabled: z.ZodBoolean;
|
|
1659
|
+
frame_text: z.ZodString;
|
|
1660
|
+
frame_color: z.ZodString;
|
|
1661
|
+
frame_text_color: z.ZodString;
|
|
1662
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1663
|
+
}, z.core.$strip>>>;
|
|
1664
|
+
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1665
|
+
link_type: z.ZodOptional<z.ZodEnum<{
|
|
1666
|
+
redirect: "redirect";
|
|
1667
|
+
rules: "rules";
|
|
1668
|
+
}>>;
|
|
1669
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1670
|
+
entry: z.ZodString;
|
|
1671
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1672
|
+
id: z.ZodString;
|
|
1673
|
+
type: z.ZodLiteral<"condition">;
|
|
1674
|
+
position: z.ZodObject<{
|
|
1675
|
+
x: z.ZodNumber;
|
|
1676
|
+
y: z.ZodNumber;
|
|
1677
|
+
}, z.core.$strip>;
|
|
1678
|
+
field: z.ZodString;
|
|
1679
|
+
operator: z.ZodEnum<{
|
|
1680
|
+
eq: "eq";
|
|
1681
|
+
neq: "neq";
|
|
1682
|
+
in: "in";
|
|
1683
|
+
not_in: "not_in";
|
|
1684
|
+
contains: "contains";
|
|
1685
|
+
not_contains: "not_contains";
|
|
1686
|
+
gt: "gt";
|
|
1687
|
+
lt: "lt";
|
|
1688
|
+
gte: "gte";
|
|
1689
|
+
lte: "lte";
|
|
1690
|
+
regex: "regex";
|
|
1691
|
+
}>;
|
|
1692
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1693
|
+
outputs: z.ZodObject<{
|
|
1694
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1695
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1696
|
+
}, z.core.$strip>;
|
|
1697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1698
|
+
id: z.ZodString;
|
|
1699
|
+
type: z.ZodLiteral<"split">;
|
|
1700
|
+
position: z.ZodObject<{
|
|
1701
|
+
x: z.ZodNumber;
|
|
1702
|
+
y: z.ZodNumber;
|
|
1703
|
+
}, z.core.$strip>;
|
|
1704
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1705
|
+
weight: z.ZodNumber;
|
|
1706
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1707
|
+
}, z.core.$strip>>;
|
|
1708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1709
|
+
id: z.ZodString;
|
|
1710
|
+
type: z.ZodLiteral<"destination">;
|
|
1711
|
+
position: z.ZodObject<{
|
|
1712
|
+
x: z.ZodNumber;
|
|
1713
|
+
y: z.ZodNumber;
|
|
1714
|
+
}, z.core.$strip>;
|
|
1715
|
+
url: z.ZodString;
|
|
1716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1717
|
+
id: z.ZodString;
|
|
1718
|
+
type: z.ZodLiteral<"transform">;
|
|
1719
|
+
position: z.ZodObject<{
|
|
1720
|
+
x: z.ZodNumber;
|
|
1721
|
+
y: z.ZodNumber;
|
|
1722
|
+
}, z.core.$strip>;
|
|
1723
|
+
transforms: z.ZodObject<{
|
|
1724
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1725
|
+
key: z.ZodString;
|
|
1726
|
+
value: z.ZodString;
|
|
1727
|
+
mode: z.ZodEnum<{
|
|
1728
|
+
set: "set";
|
|
1729
|
+
append: "append";
|
|
1730
|
+
}>;
|
|
1731
|
+
}, z.core.$strip>>>;
|
|
1732
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1733
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1734
|
+
key: z.ZodString;
|
|
1735
|
+
value: z.ZodString;
|
|
1736
|
+
mode: z.ZodEnum<{
|
|
1737
|
+
set: "set";
|
|
1738
|
+
append: "append";
|
|
1739
|
+
}>;
|
|
1740
|
+
}, z.core.$strip>>>;
|
|
1741
|
+
}, z.core.$strip>;
|
|
1742
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1744
|
+
id: z.ZodString;
|
|
1745
|
+
type: z.ZodLiteral<"password">;
|
|
1746
|
+
position: z.ZodObject<{
|
|
1747
|
+
x: z.ZodNumber;
|
|
1748
|
+
y: z.ZodNumber;
|
|
1749
|
+
}, z.core.$strip>;
|
|
1750
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1751
|
+
}, z.core.$strip>], "type">>;
|
|
1752
|
+
}, z.core.$strip>>>;
|
|
1753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
workspace_id: z.ZodString;
|
|
1756
|
+
domain_id: z.ZodString;
|
|
1757
|
+
created_by_id: z.ZodString;
|
|
1758
|
+
original_url: z.ZodString;
|
|
1759
|
+
short_code: z.ZodString;
|
|
1760
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1761
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1762
|
+
utm_source: z.ZodNullable<z.ZodString>;
|
|
1763
|
+
utm_medium: z.ZodNullable<z.ZodString>;
|
|
1764
|
+
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
1765
|
+
utm_term: z.ZodNullable<z.ZodString>;
|
|
1766
|
+
utm_content: z.ZodNullable<z.ZodString>;
|
|
1767
|
+
password: z.ZodNullable<z.ZodString>;
|
|
1768
|
+
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1769
|
+
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1770
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
1771
|
+
is_active: z.ZodBoolean;
|
|
1772
|
+
redirect_type: z.ZodNumber;
|
|
1773
|
+
click_count: z.ZodCoercedNumber<unknown>;
|
|
1774
|
+
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1775
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1776
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1777
|
+
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1778
|
+
fg_color: z.ZodString;
|
|
1779
|
+
bg_color: z.ZodString;
|
|
1780
|
+
dot_style: z.ZodEnum<{
|
|
1781
|
+
square: "square";
|
|
1782
|
+
dots: "dots";
|
|
1783
|
+
rounded: "rounded";
|
|
1784
|
+
classy: "classy";
|
|
1785
|
+
"classy-rounded": "classy-rounded";
|
|
1786
|
+
"extra-rounded": "extra-rounded";
|
|
1787
|
+
}>;
|
|
1788
|
+
eye_outer_style: z.ZodEnum<{
|
|
1789
|
+
square: "square";
|
|
1790
|
+
"extra-rounded": "extra-rounded";
|
|
1791
|
+
dot: "dot";
|
|
1792
|
+
}>;
|
|
1793
|
+
eye_inner_style: z.ZodEnum<{
|
|
1794
|
+
square: "square";
|
|
1795
|
+
dot: "dot";
|
|
1796
|
+
}>;
|
|
1797
|
+
frame_enabled: z.ZodBoolean;
|
|
1798
|
+
frame_text: z.ZodString;
|
|
1799
|
+
frame_color: z.ZodString;
|
|
1800
|
+
frame_text_color: z.ZodString;
|
|
1801
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1802
|
+
}, z.core.$strip>>;
|
|
1803
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1804
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1806
|
+
redirect: "redirect";
|
|
1807
|
+
rules: "rules";
|
|
1808
|
+
}>>;
|
|
1809
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1810
|
+
entry: z.ZodString;
|
|
1811
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1812
|
+
id: z.ZodString;
|
|
1813
|
+
type: z.ZodLiteral<"condition">;
|
|
1814
|
+
position: z.ZodObject<{
|
|
1815
|
+
x: z.ZodNumber;
|
|
1816
|
+
y: z.ZodNumber;
|
|
1817
|
+
}, z.core.$strip>;
|
|
1818
|
+
field: z.ZodString;
|
|
1819
|
+
operator: z.ZodEnum<{
|
|
1820
|
+
eq: "eq";
|
|
1821
|
+
neq: "neq";
|
|
1822
|
+
in: "in";
|
|
1823
|
+
not_in: "not_in";
|
|
1824
|
+
contains: "contains";
|
|
1825
|
+
not_contains: "not_contains";
|
|
1826
|
+
gt: "gt";
|
|
1827
|
+
lt: "lt";
|
|
1828
|
+
gte: "gte";
|
|
1829
|
+
lte: "lte";
|
|
1830
|
+
regex: "regex";
|
|
1831
|
+
}>;
|
|
1832
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
1833
|
+
outputs: z.ZodObject<{
|
|
1834
|
+
true: z.ZodNullable<z.ZodString>;
|
|
1835
|
+
false: z.ZodNullable<z.ZodString>;
|
|
1836
|
+
}, z.core.$strip>;
|
|
1837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1838
|
+
id: z.ZodString;
|
|
1839
|
+
type: z.ZodLiteral<"split">;
|
|
1840
|
+
position: z.ZodObject<{
|
|
1841
|
+
x: z.ZodNumber;
|
|
1842
|
+
y: z.ZodNumber;
|
|
1843
|
+
}, z.core.$strip>;
|
|
1844
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
1845
|
+
weight: z.ZodNumber;
|
|
1846
|
+
target: z.ZodNullable<z.ZodString>;
|
|
1847
|
+
}, z.core.$strip>>;
|
|
1848
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1849
|
+
id: z.ZodString;
|
|
1850
|
+
type: z.ZodLiteral<"destination">;
|
|
1851
|
+
position: z.ZodObject<{
|
|
1852
|
+
x: z.ZodNumber;
|
|
1853
|
+
y: z.ZodNumber;
|
|
1854
|
+
}, z.core.$strip>;
|
|
1855
|
+
url: z.ZodString;
|
|
1856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1857
|
+
id: z.ZodString;
|
|
1858
|
+
type: z.ZodLiteral<"transform">;
|
|
1859
|
+
position: z.ZodObject<{
|
|
1860
|
+
x: z.ZodNumber;
|
|
1861
|
+
y: z.ZodNumber;
|
|
1862
|
+
}, z.core.$strip>;
|
|
1863
|
+
transforms: z.ZodObject<{
|
|
1864
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1865
|
+
key: z.ZodString;
|
|
1866
|
+
value: z.ZodString;
|
|
1867
|
+
mode: z.ZodEnum<{
|
|
1868
|
+
set: "set";
|
|
1869
|
+
append: "append";
|
|
1870
|
+
}>;
|
|
1871
|
+
}, z.core.$strip>>>;
|
|
1872
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
1873
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1874
|
+
key: z.ZodString;
|
|
1875
|
+
value: z.ZodString;
|
|
1876
|
+
mode: z.ZodEnum<{
|
|
1877
|
+
set: "set";
|
|
1878
|
+
append: "append";
|
|
1879
|
+
}>;
|
|
1880
|
+
}, z.core.$strip>>>;
|
|
1881
|
+
}, z.core.$strip>;
|
|
1882
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1883
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1884
|
+
id: z.ZodString;
|
|
1885
|
+
type: z.ZodLiteral<"password">;
|
|
1886
|
+
position: z.ZodObject<{
|
|
1887
|
+
x: z.ZodNumber;
|
|
1888
|
+
y: z.ZodNumber;
|
|
1889
|
+
}, z.core.$strip>;
|
|
1890
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1891
|
+
}, z.core.$strip>], "type">>;
|
|
1892
|
+
}, z.core.$strip>>>;
|
|
1893
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1894
|
+
id: z.ZodString;
|
|
1895
|
+
workspace_id: z.ZodString;
|
|
1896
|
+
name: z.ZodString;
|
|
1897
|
+
color: z.ZodNullable<z.ZodString>;
|
|
1898
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1899
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1900
|
+
}, z.core.$strip>>;
|
|
1901
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1902
|
+
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1903
|
+
workspace_id: z.ZodString;
|
|
1904
|
+
link_id: z.ZodString;
|
|
1905
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1906
|
+
edgeSync: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1907
|
+
workspace_id: z.ZodString;
|
|
1908
|
+
link_id: z.ZodString;
|
|
1909
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1910
|
+
edgeStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1911
|
+
workspace_id: z.ZodString;
|
|
1912
|
+
link_id: z.ZodString;
|
|
1913
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1914
|
+
synced: z.ZodBoolean;
|
|
1915
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1916
|
+
uploadLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1917
|
+
workspace_id: z.ZodString;
|
|
1918
|
+
link_id: z.ZodString;
|
|
1919
|
+
file: z.ZodFile;
|
|
1920
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1921
|
+
id: z.ZodString;
|
|
1922
|
+
workspace_id: z.ZodString;
|
|
1923
|
+
domain_id: z.ZodString;
|
|
1924
|
+
created_by_id: z.ZodString;
|
|
1925
|
+
original_url: z.ZodString;
|
|
1926
|
+
short_code: z.ZodString;
|
|
1927
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1928
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1929
|
+
utm_source: z.ZodNullable<z.ZodString>;
|
|
1930
|
+
utm_medium: z.ZodNullable<z.ZodString>;
|
|
1931
|
+
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
1932
|
+
utm_term: z.ZodNullable<z.ZodString>;
|
|
1933
|
+
utm_content: z.ZodNullable<z.ZodString>;
|
|
1934
|
+
password: z.ZodNullable<z.ZodString>;
|
|
1935
|
+
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1936
|
+
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1937
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
1938
|
+
is_active: z.ZodBoolean;
|
|
1939
|
+
redirect_type: z.ZodNumber;
|
|
1940
|
+
click_count: z.ZodCoercedNumber<unknown>;
|
|
1941
|
+
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1942
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1943
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1944
|
+
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
1945
|
+
fg_color: z.ZodString;
|
|
1946
|
+
bg_color: z.ZodString;
|
|
1947
|
+
dot_style: z.ZodEnum<{
|
|
1948
|
+
square: "square";
|
|
1949
|
+
dots: "dots";
|
|
1950
|
+
rounded: "rounded";
|
|
1951
|
+
classy: "classy";
|
|
1952
|
+
"classy-rounded": "classy-rounded";
|
|
1953
|
+
"extra-rounded": "extra-rounded";
|
|
1954
|
+
}>;
|
|
1955
|
+
eye_outer_style: z.ZodEnum<{
|
|
1956
|
+
square: "square";
|
|
1957
|
+
"extra-rounded": "extra-rounded";
|
|
1958
|
+
dot: "dot";
|
|
1959
|
+
}>;
|
|
1960
|
+
eye_inner_style: z.ZodEnum<{
|
|
1961
|
+
square: "square";
|
|
1962
|
+
dot: "dot";
|
|
1963
|
+
}>;
|
|
1964
|
+
frame_enabled: z.ZodBoolean;
|
|
1965
|
+
frame_text: z.ZodString;
|
|
1966
|
+
frame_color: z.ZodString;
|
|
1967
|
+
frame_text_color: z.ZodString;
|
|
1968
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1969
|
+
}, z.core.$strip>>;
|
|
1970
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
1971
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
1972
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
1973
|
+
redirect: "redirect";
|
|
1974
|
+
rules: "rules";
|
|
1975
|
+
}>>;
|
|
1976
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1977
|
+
entry: z.ZodString;
|
|
1978
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1979
|
+
id: z.ZodString;
|
|
1980
|
+
type: z.ZodLiteral<"condition">;
|
|
1981
|
+
position: z.ZodObject<{
|
|
1982
|
+
x: z.ZodNumber;
|
|
1983
|
+
y: z.ZodNumber;
|
|
1984
|
+
}, z.core.$strip>;
|
|
1985
|
+
field: z.ZodString;
|
|
1986
|
+
operator: z.ZodEnum<{
|
|
1987
|
+
eq: "eq";
|
|
1988
|
+
neq: "neq";
|
|
1989
|
+
in: "in";
|
|
1990
|
+
not_in: "not_in";
|
|
1991
|
+
contains: "contains";
|
|
1992
|
+
not_contains: "not_contains";
|
|
1993
|
+
gt: "gt";
|
|
1994
|
+
lt: "lt";
|
|
1995
|
+
gte: "gte";
|
|
1996
|
+
lte: "lte";
|
|
1997
|
+
regex: "regex";
|
|
1998
|
+
}>;
|
|
1999
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2000
|
+
outputs: z.ZodObject<{
|
|
2001
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2002
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2003
|
+
}, z.core.$strip>;
|
|
2004
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2005
|
+
id: z.ZodString;
|
|
2006
|
+
type: z.ZodLiteral<"split">;
|
|
2007
|
+
position: z.ZodObject<{
|
|
2008
|
+
x: z.ZodNumber;
|
|
2009
|
+
y: z.ZodNumber;
|
|
2010
|
+
}, z.core.$strip>;
|
|
2011
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2012
|
+
weight: z.ZodNumber;
|
|
2013
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2014
|
+
}, z.core.$strip>>;
|
|
2015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2016
|
+
id: z.ZodString;
|
|
2017
|
+
type: z.ZodLiteral<"destination">;
|
|
2018
|
+
position: z.ZodObject<{
|
|
2019
|
+
x: z.ZodNumber;
|
|
2020
|
+
y: z.ZodNumber;
|
|
2021
|
+
}, z.core.$strip>;
|
|
2022
|
+
url: z.ZodString;
|
|
2023
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2024
|
+
id: z.ZodString;
|
|
2025
|
+
type: z.ZodLiteral<"transform">;
|
|
2026
|
+
position: z.ZodObject<{
|
|
2027
|
+
x: z.ZodNumber;
|
|
2028
|
+
y: z.ZodNumber;
|
|
2029
|
+
}, z.core.$strip>;
|
|
2030
|
+
transforms: z.ZodObject<{
|
|
2031
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2032
|
+
key: z.ZodString;
|
|
2033
|
+
value: z.ZodString;
|
|
2034
|
+
mode: z.ZodEnum<{
|
|
2035
|
+
set: "set";
|
|
2036
|
+
append: "append";
|
|
2037
|
+
}>;
|
|
2038
|
+
}, z.core.$strip>>>;
|
|
2039
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2040
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2041
|
+
key: z.ZodString;
|
|
2042
|
+
value: z.ZodString;
|
|
2043
|
+
mode: z.ZodEnum<{
|
|
2044
|
+
set: "set";
|
|
2045
|
+
append: "append";
|
|
2046
|
+
}>;
|
|
2047
|
+
}, z.core.$strip>>>;
|
|
2048
|
+
}, z.core.$strip>;
|
|
2049
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2050
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2051
|
+
id: z.ZodString;
|
|
2052
|
+
type: z.ZodLiteral<"password">;
|
|
2053
|
+
position: z.ZodObject<{
|
|
2054
|
+
x: z.ZodNumber;
|
|
2055
|
+
y: z.ZodNumber;
|
|
2056
|
+
}, z.core.$strip>;
|
|
2057
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2058
|
+
}, z.core.$strip>], "type">>;
|
|
2059
|
+
}, z.core.$strip>>>;
|
|
2060
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
2061
|
+
id: z.ZodString;
|
|
2062
|
+
workspace_id: z.ZodString;
|
|
2063
|
+
name: z.ZodString;
|
|
2064
|
+
color: z.ZodNullable<z.ZodString>;
|
|
2065
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2066
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2067
|
+
}, z.core.$strip>>;
|
|
2068
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2069
|
+
deleteLogo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2070
|
+
workspace_id: z.ZodString;
|
|
2071
|
+
link_id: z.ZodString;
|
|
2072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2073
|
+
id: z.ZodString;
|
|
2074
|
+
workspace_id: z.ZodString;
|
|
2075
|
+
domain_id: z.ZodString;
|
|
2076
|
+
created_by_id: z.ZodString;
|
|
2077
|
+
original_url: z.ZodString;
|
|
2078
|
+
short_code: z.ZodString;
|
|
2079
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2080
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2081
|
+
utm_source: z.ZodNullable<z.ZodString>;
|
|
2082
|
+
utm_medium: z.ZodNullable<z.ZodString>;
|
|
2083
|
+
utm_campaign: z.ZodNullable<z.ZodString>;
|
|
2084
|
+
utm_term: z.ZodNullable<z.ZodString>;
|
|
2085
|
+
utm_content: z.ZodNullable<z.ZodString>;
|
|
2086
|
+
password: z.ZodNullable<z.ZodString>;
|
|
2087
|
+
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2088
|
+
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2089
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
2090
|
+
is_active: z.ZodBoolean;
|
|
2091
|
+
redirect_type: z.ZodNumber;
|
|
2092
|
+
click_count: z.ZodCoercedNumber<unknown>;
|
|
2093
|
+
click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2094
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2095
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2096
|
+
qr_code_settings: z.ZodNullable<z.ZodObject<{
|
|
2097
|
+
fg_color: z.ZodString;
|
|
2098
|
+
bg_color: z.ZodString;
|
|
2099
|
+
dot_style: z.ZodEnum<{
|
|
2100
|
+
square: "square";
|
|
2101
|
+
dots: "dots";
|
|
2102
|
+
rounded: "rounded";
|
|
2103
|
+
classy: "classy";
|
|
2104
|
+
"classy-rounded": "classy-rounded";
|
|
2105
|
+
"extra-rounded": "extra-rounded";
|
|
2106
|
+
}>;
|
|
2107
|
+
eye_outer_style: z.ZodEnum<{
|
|
2108
|
+
square: "square";
|
|
2109
|
+
"extra-rounded": "extra-rounded";
|
|
2110
|
+
dot: "dot";
|
|
2111
|
+
}>;
|
|
2112
|
+
eye_inner_style: z.ZodEnum<{
|
|
2113
|
+
square: "square";
|
|
2114
|
+
dot: "dot";
|
|
2115
|
+
}>;
|
|
2116
|
+
frame_enabled: z.ZodBoolean;
|
|
2117
|
+
frame_text: z.ZodString;
|
|
2118
|
+
frame_color: z.ZodString;
|
|
2119
|
+
frame_text_color: z.ZodString;
|
|
2120
|
+
logo_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2121
|
+
}, z.core.$strip>>;
|
|
2122
|
+
qr_logo_key: z.ZodNullable<z.ZodString>;
|
|
2123
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
2124
|
+
link_type: z.ZodDefault<z.ZodEnum<{
|
|
2125
|
+
redirect: "redirect";
|
|
2126
|
+
rules: "rules";
|
|
2127
|
+
}>>;
|
|
2128
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2129
|
+
entry: z.ZodString;
|
|
2130
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2131
|
+
id: z.ZodString;
|
|
2132
|
+
type: z.ZodLiteral<"condition">;
|
|
2133
|
+
position: z.ZodObject<{
|
|
2134
|
+
x: z.ZodNumber;
|
|
2135
|
+
y: z.ZodNumber;
|
|
2136
|
+
}, z.core.$strip>;
|
|
2137
|
+
field: z.ZodString;
|
|
2138
|
+
operator: z.ZodEnum<{
|
|
2139
|
+
eq: "eq";
|
|
2140
|
+
neq: "neq";
|
|
2141
|
+
in: "in";
|
|
2142
|
+
not_in: "not_in";
|
|
2143
|
+
contains: "contains";
|
|
2144
|
+
not_contains: "not_contains";
|
|
2145
|
+
gt: "gt";
|
|
2146
|
+
lt: "lt";
|
|
2147
|
+
gte: "gte";
|
|
2148
|
+
lte: "lte";
|
|
2149
|
+
regex: "regex";
|
|
2150
|
+
}>;
|
|
2151
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2152
|
+
outputs: z.ZodObject<{
|
|
2153
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2154
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2155
|
+
}, z.core.$strip>;
|
|
2156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2157
|
+
id: z.ZodString;
|
|
2158
|
+
type: z.ZodLiteral<"split">;
|
|
2159
|
+
position: z.ZodObject<{
|
|
2160
|
+
x: z.ZodNumber;
|
|
2161
|
+
y: z.ZodNumber;
|
|
2162
|
+
}, z.core.$strip>;
|
|
2163
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2164
|
+
weight: z.ZodNumber;
|
|
2165
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2166
|
+
}, z.core.$strip>>;
|
|
2167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2168
|
+
id: z.ZodString;
|
|
2169
|
+
type: z.ZodLiteral<"destination">;
|
|
2170
|
+
position: z.ZodObject<{
|
|
2171
|
+
x: z.ZodNumber;
|
|
2172
|
+
y: z.ZodNumber;
|
|
2173
|
+
}, z.core.$strip>;
|
|
2174
|
+
url: z.ZodString;
|
|
2175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2176
|
+
id: z.ZodString;
|
|
2177
|
+
type: z.ZodLiteral<"transform">;
|
|
2178
|
+
position: z.ZodObject<{
|
|
2179
|
+
x: z.ZodNumber;
|
|
2180
|
+
y: z.ZodNumber;
|
|
2181
|
+
}, z.core.$strip>;
|
|
2182
|
+
transforms: z.ZodObject<{
|
|
2183
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2184
|
+
key: z.ZodString;
|
|
2185
|
+
value: z.ZodString;
|
|
2186
|
+
mode: z.ZodEnum<{
|
|
2187
|
+
set: "set";
|
|
2188
|
+
append: "append";
|
|
2189
|
+
}>;
|
|
2190
|
+
}, z.core.$strip>>>;
|
|
2191
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2192
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2193
|
+
key: z.ZodString;
|
|
2194
|
+
value: z.ZodString;
|
|
2195
|
+
mode: z.ZodEnum<{
|
|
2196
|
+
set: "set";
|
|
2197
|
+
append: "append";
|
|
2198
|
+
}>;
|
|
2199
|
+
}, z.core.$strip>>>;
|
|
2200
|
+
}, z.core.$strip>;
|
|
2201
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2203
|
+
id: z.ZodString;
|
|
2204
|
+
type: z.ZodLiteral<"password">;
|
|
2205
|
+
position: z.ZodObject<{
|
|
2206
|
+
x: z.ZodNumber;
|
|
2207
|
+
y: z.ZodNumber;
|
|
2208
|
+
}, z.core.$strip>;
|
|
2209
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2210
|
+
}, z.core.$strip>], "type">>;
|
|
2211
|
+
}, z.core.$strip>>>;
|
|
2212
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
2213
|
+
id: z.ZodString;
|
|
2214
|
+
workspace_id: z.ZodString;
|
|
2215
|
+
name: z.ZodString;
|
|
2216
|
+
color: z.ZodNullable<z.ZodString>;
|
|
2217
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2218
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2219
|
+
}, z.core.$strip>>;
|
|
2220
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2221
|
+
getJob: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2222
|
+
workspace_id: z.ZodString;
|
|
2223
|
+
job_id: z.ZodString;
|
|
2224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2225
|
+
id: z.ZodString;
|
|
2226
|
+
workspace_id: z.ZodString;
|
|
2227
|
+
type: z.ZodString;
|
|
2228
|
+
status: z.ZodEnum<{
|
|
2229
|
+
pending: "pending";
|
|
2230
|
+
processing: "processing";
|
|
2231
|
+
completed: "completed";
|
|
2232
|
+
failed: "failed";
|
|
2233
|
+
}>;
|
|
2234
|
+
total_rows: z.ZodNumber;
|
|
2235
|
+
succeeded_count: z.ZodNumber;
|
|
2236
|
+
failed_count: z.ZodNumber;
|
|
2237
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2238
|
+
created_by_id: z.ZodString;
|
|
2239
|
+
created_at: z.ZodDate;
|
|
2240
|
+
completed_at: z.ZodNullable<z.ZodDate>;
|
|
2241
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2242
|
+
jobResults: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2243
|
+
workspace_id: z.ZodString;
|
|
2244
|
+
job_id: z.ZodString;
|
|
2245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2246
|
+
url: z.ZodString;
|
|
2247
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2248
|
+
};
|
|
2249
|
+
export declare const tagsContract: {
|
|
2250
|
+
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2251
|
+
workspace_id: z.ZodString;
|
|
2252
|
+
name: z.ZodString;
|
|
2253
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2255
|
+
id: z.ZodString;
|
|
2256
|
+
workspace_id: z.ZodString;
|
|
2257
|
+
name: z.ZodString;
|
|
2258
|
+
color: z.ZodNullable<z.ZodString>;
|
|
2259
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2260
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2261
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2262
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1633
2263
|
workspace_id: z.ZodString;
|
|
1634
2264
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1635
2265
|
id: z.ZodString;
|
|
@@ -2170,71 +2800,636 @@ export declare const contract: {
|
|
|
2170
2800
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2171
2801
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2172
2802
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2173
|
-
removeMember: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2174
|
-
workspace_id: z.ZodString;
|
|
2175
|
-
user_id: z.ZodString;
|
|
2176
|
-
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2177
|
-
listInvitations: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2178
|
-
workspace_id: z.ZodString;
|
|
2179
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2180
|
-
id: z.ZodString;
|
|
2181
|
-
workspace_id: z.ZodString;
|
|
2182
|
-
email: z.ZodString;
|
|
2183
|
-
token: z.ZodString;
|
|
2184
|
-
permissions: z.ZodNumber;
|
|
2185
|
-
invited_by_id: z.ZodString;
|
|
2186
|
-
expires_at: z.ZodCoercedDate<unknown>;
|
|
2187
|
-
created_at: z.ZodCoercedDate<unknown>;
|
|
2188
|
-
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
2189
|
-
createInvitation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2803
|
+
removeMember: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2804
|
+
workspace_id: z.ZodString;
|
|
2805
|
+
user_id: z.ZodString;
|
|
2806
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2807
|
+
listInvitations: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2808
|
+
workspace_id: z.ZodString;
|
|
2809
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
2810
|
+
id: z.ZodString;
|
|
2811
|
+
workspace_id: z.ZodString;
|
|
2812
|
+
email: z.ZodString;
|
|
2813
|
+
token: z.ZodString;
|
|
2814
|
+
permissions: z.ZodNumber;
|
|
2815
|
+
invited_by_id: z.ZodString;
|
|
2816
|
+
expires_at: z.ZodCoercedDate<unknown>;
|
|
2817
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2818
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
2819
|
+
createInvitation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2820
|
+
workspace_id: z.ZodString;
|
|
2821
|
+
email: z.ZodString;
|
|
2822
|
+
permissions: z.ZodNumber;
|
|
2823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2824
|
+
id: z.ZodString;
|
|
2825
|
+
workspace_id: z.ZodString;
|
|
2826
|
+
email: z.ZodString;
|
|
2827
|
+
token: z.ZodString;
|
|
2828
|
+
permissions: z.ZodNumber;
|
|
2829
|
+
invited_by_id: z.ZodString;
|
|
2830
|
+
expires_at: z.ZodCoercedDate<unknown>;
|
|
2831
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2832
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2833
|
+
revokeInvitation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2834
|
+
workspace_id: z.ZodString;
|
|
2835
|
+
invitation_id: z.ZodString;
|
|
2836
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2837
|
+
};
|
|
2838
|
+
invitations: {
|
|
2839
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2840
|
+
token: z.ZodString;
|
|
2841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2842
|
+
id: z.ZodString;
|
|
2843
|
+
workspace_id: z.ZodString;
|
|
2844
|
+
email: z.ZodString;
|
|
2845
|
+
token: z.ZodString;
|
|
2846
|
+
permissions: z.ZodNumber;
|
|
2847
|
+
invited_by_id: z.ZodString;
|
|
2848
|
+
expires_at: z.ZodCoercedDate<unknown>;
|
|
2849
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2850
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2851
|
+
accept: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2852
|
+
token: z.ZodString;
|
|
2853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2854
|
+
id: z.ZodString;
|
|
2855
|
+
workspace_id: z.ZodString;
|
|
2856
|
+
user_id: z.ZodString;
|
|
2857
|
+
user: z.ZodObject<{
|
|
2858
|
+
id: z.ZodString;
|
|
2859
|
+
email: z.ZodString;
|
|
2860
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2861
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2862
|
+
}, z.core.$strip>;
|
|
2863
|
+
permissions: z.ZodNumber;
|
|
2864
|
+
joined_at: z.ZodCoercedDate<unknown>;
|
|
2865
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
2866
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2867
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2868
|
+
};
|
|
2869
|
+
linkTemplates: {
|
|
2870
|
+
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2871
|
+
workspace_id: z.ZodString;
|
|
2872
|
+
title: z.ZodString;
|
|
2873
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
2875
|
+
entry: z.ZodString;
|
|
2876
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2877
|
+
id: z.ZodString;
|
|
2878
|
+
type: z.ZodLiteral<"condition">;
|
|
2879
|
+
position: z.ZodObject<{
|
|
2880
|
+
x: z.ZodNumber;
|
|
2881
|
+
y: z.ZodNumber;
|
|
2882
|
+
}, z.core.$strip>;
|
|
2883
|
+
field: z.ZodString;
|
|
2884
|
+
operator: z.ZodEnum<{
|
|
2885
|
+
eq: "eq";
|
|
2886
|
+
neq: "neq";
|
|
2887
|
+
in: "in";
|
|
2888
|
+
not_in: "not_in";
|
|
2889
|
+
contains: "contains";
|
|
2890
|
+
not_contains: "not_contains";
|
|
2891
|
+
gt: "gt";
|
|
2892
|
+
lt: "lt";
|
|
2893
|
+
gte: "gte";
|
|
2894
|
+
lte: "lte";
|
|
2895
|
+
regex: "regex";
|
|
2896
|
+
}>;
|
|
2897
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2898
|
+
outputs: z.ZodObject<{
|
|
2899
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2900
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2901
|
+
}, z.core.$strip>;
|
|
2902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2903
|
+
id: z.ZodString;
|
|
2904
|
+
type: z.ZodLiteral<"split">;
|
|
2905
|
+
position: z.ZodObject<{
|
|
2906
|
+
x: z.ZodNumber;
|
|
2907
|
+
y: z.ZodNumber;
|
|
2908
|
+
}, z.core.$strip>;
|
|
2909
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2910
|
+
weight: z.ZodNumber;
|
|
2911
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2912
|
+
}, z.core.$strip>>;
|
|
2913
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2914
|
+
id: z.ZodString;
|
|
2915
|
+
type: z.ZodLiteral<"destination">;
|
|
2916
|
+
position: z.ZodObject<{
|
|
2917
|
+
x: z.ZodNumber;
|
|
2918
|
+
y: z.ZodNumber;
|
|
2919
|
+
}, z.core.$strip>;
|
|
2920
|
+
url: z.ZodString;
|
|
2921
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2922
|
+
id: z.ZodString;
|
|
2923
|
+
type: z.ZodLiteral<"transform">;
|
|
2924
|
+
position: z.ZodObject<{
|
|
2925
|
+
x: z.ZodNumber;
|
|
2926
|
+
y: z.ZodNumber;
|
|
2927
|
+
}, z.core.$strip>;
|
|
2928
|
+
transforms: z.ZodObject<{
|
|
2929
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2930
|
+
key: z.ZodString;
|
|
2931
|
+
value: z.ZodString;
|
|
2932
|
+
mode: z.ZodEnum<{
|
|
2933
|
+
set: "set";
|
|
2934
|
+
append: "append";
|
|
2935
|
+
}>;
|
|
2936
|
+
}, z.core.$strip>>>;
|
|
2937
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
2938
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2939
|
+
key: z.ZodString;
|
|
2940
|
+
value: z.ZodString;
|
|
2941
|
+
mode: z.ZodEnum<{
|
|
2942
|
+
set: "set";
|
|
2943
|
+
append: "append";
|
|
2944
|
+
}>;
|
|
2945
|
+
}, z.core.$strip>>>;
|
|
2946
|
+
}, z.core.$strip>;
|
|
2947
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2949
|
+
id: z.ZodString;
|
|
2950
|
+
type: z.ZodLiteral<"password">;
|
|
2951
|
+
position: z.ZodObject<{
|
|
2952
|
+
x: z.ZodNumber;
|
|
2953
|
+
y: z.ZodNumber;
|
|
2954
|
+
}, z.core.$strip>;
|
|
2955
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2956
|
+
}, z.core.$strip>], "type">>;
|
|
2957
|
+
}, z.core.$strip>>;
|
|
2958
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2959
|
+
id: z.ZodString;
|
|
2960
|
+
workspace_id: z.ZodString;
|
|
2961
|
+
title: z.ZodString;
|
|
2962
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2963
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
2964
|
+
entry: z.ZodString;
|
|
2965
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2966
|
+
id: z.ZodString;
|
|
2967
|
+
type: z.ZodLiteral<"condition">;
|
|
2968
|
+
position: z.ZodObject<{
|
|
2969
|
+
x: z.ZodNumber;
|
|
2970
|
+
y: z.ZodNumber;
|
|
2971
|
+
}, z.core.$strip>;
|
|
2972
|
+
field: z.ZodString;
|
|
2973
|
+
operator: z.ZodEnum<{
|
|
2974
|
+
eq: "eq";
|
|
2975
|
+
neq: "neq";
|
|
2976
|
+
in: "in";
|
|
2977
|
+
not_in: "not_in";
|
|
2978
|
+
contains: "contains";
|
|
2979
|
+
not_contains: "not_contains";
|
|
2980
|
+
gt: "gt";
|
|
2981
|
+
lt: "lt";
|
|
2982
|
+
gte: "gte";
|
|
2983
|
+
lte: "lte";
|
|
2984
|
+
regex: "regex";
|
|
2985
|
+
}>;
|
|
2986
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
2987
|
+
outputs: z.ZodObject<{
|
|
2988
|
+
true: z.ZodNullable<z.ZodString>;
|
|
2989
|
+
false: z.ZodNullable<z.ZodString>;
|
|
2990
|
+
}, z.core.$strip>;
|
|
2991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2992
|
+
id: z.ZodString;
|
|
2993
|
+
type: z.ZodLiteral<"split">;
|
|
2994
|
+
position: z.ZodObject<{
|
|
2995
|
+
x: z.ZodNumber;
|
|
2996
|
+
y: z.ZodNumber;
|
|
2997
|
+
}, z.core.$strip>;
|
|
2998
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
2999
|
+
weight: z.ZodNumber;
|
|
3000
|
+
target: z.ZodNullable<z.ZodString>;
|
|
3001
|
+
}, z.core.$strip>>;
|
|
3002
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3003
|
+
id: z.ZodString;
|
|
3004
|
+
type: z.ZodLiteral<"destination">;
|
|
3005
|
+
position: z.ZodObject<{
|
|
3006
|
+
x: z.ZodNumber;
|
|
3007
|
+
y: z.ZodNumber;
|
|
3008
|
+
}, z.core.$strip>;
|
|
3009
|
+
url: z.ZodString;
|
|
3010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3011
|
+
id: z.ZodString;
|
|
3012
|
+
type: z.ZodLiteral<"transform">;
|
|
3013
|
+
position: z.ZodObject<{
|
|
3014
|
+
x: z.ZodNumber;
|
|
3015
|
+
y: z.ZodNumber;
|
|
3016
|
+
}, z.core.$strip>;
|
|
3017
|
+
transforms: z.ZodObject<{
|
|
3018
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3019
|
+
key: z.ZodString;
|
|
3020
|
+
value: z.ZodString;
|
|
3021
|
+
mode: z.ZodEnum<{
|
|
3022
|
+
set: "set";
|
|
3023
|
+
append: "append";
|
|
3024
|
+
}>;
|
|
3025
|
+
}, z.core.$strip>>>;
|
|
3026
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
3027
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3028
|
+
key: z.ZodString;
|
|
3029
|
+
value: z.ZodString;
|
|
3030
|
+
mode: z.ZodEnum<{
|
|
3031
|
+
set: "set";
|
|
3032
|
+
append: "append";
|
|
3033
|
+
}>;
|
|
3034
|
+
}, z.core.$strip>>>;
|
|
3035
|
+
}, z.core.$strip>;
|
|
3036
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3037
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3038
|
+
id: z.ZodString;
|
|
3039
|
+
type: z.ZodLiteral<"password">;
|
|
3040
|
+
position: z.ZodObject<{
|
|
3041
|
+
x: z.ZodNumber;
|
|
3042
|
+
y: z.ZodNumber;
|
|
3043
|
+
}, z.core.$strip>;
|
|
3044
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3045
|
+
}, z.core.$strip>], "type">>;
|
|
3046
|
+
}, z.core.$strip>>;
|
|
3047
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
3048
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
3049
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
3050
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2190
3051
|
workspace_id: z.ZodString;
|
|
2191
|
-
|
|
2192
|
-
|
|
3052
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3053
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3054
|
+
per_page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2193
3055
|
}, z.core.$strip>, z.ZodObject<{
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
3056
|
+
link_templates: z.ZodArray<z.ZodObject<{
|
|
3057
|
+
id: z.ZodString;
|
|
3058
|
+
workspace_id: z.ZodString;
|
|
3059
|
+
title: z.ZodString;
|
|
3060
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3061
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
3062
|
+
entry: z.ZodString;
|
|
3063
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3064
|
+
id: z.ZodString;
|
|
3065
|
+
type: z.ZodLiteral<"condition">;
|
|
3066
|
+
position: z.ZodObject<{
|
|
3067
|
+
x: z.ZodNumber;
|
|
3068
|
+
y: z.ZodNumber;
|
|
3069
|
+
}, z.core.$strip>;
|
|
3070
|
+
field: z.ZodString;
|
|
3071
|
+
operator: z.ZodEnum<{
|
|
3072
|
+
eq: "eq";
|
|
3073
|
+
neq: "neq";
|
|
3074
|
+
in: "in";
|
|
3075
|
+
not_in: "not_in";
|
|
3076
|
+
contains: "contains";
|
|
3077
|
+
not_contains: "not_contains";
|
|
3078
|
+
gt: "gt";
|
|
3079
|
+
lt: "lt";
|
|
3080
|
+
gte: "gte";
|
|
3081
|
+
lte: "lte";
|
|
3082
|
+
regex: "regex";
|
|
3083
|
+
}>;
|
|
3084
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
3085
|
+
outputs: z.ZodObject<{
|
|
3086
|
+
true: z.ZodNullable<z.ZodString>;
|
|
3087
|
+
false: z.ZodNullable<z.ZodString>;
|
|
3088
|
+
}, z.core.$strip>;
|
|
3089
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3090
|
+
id: z.ZodString;
|
|
3091
|
+
type: z.ZodLiteral<"split">;
|
|
3092
|
+
position: z.ZodObject<{
|
|
3093
|
+
x: z.ZodNumber;
|
|
3094
|
+
y: z.ZodNumber;
|
|
3095
|
+
}, z.core.$strip>;
|
|
3096
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3097
|
+
weight: z.ZodNumber;
|
|
3098
|
+
target: z.ZodNullable<z.ZodString>;
|
|
3099
|
+
}, z.core.$strip>>;
|
|
3100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3101
|
+
id: z.ZodString;
|
|
3102
|
+
type: z.ZodLiteral<"destination">;
|
|
3103
|
+
position: z.ZodObject<{
|
|
3104
|
+
x: z.ZodNumber;
|
|
3105
|
+
y: z.ZodNumber;
|
|
3106
|
+
}, z.core.$strip>;
|
|
3107
|
+
url: z.ZodString;
|
|
3108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3109
|
+
id: z.ZodString;
|
|
3110
|
+
type: z.ZodLiteral<"transform">;
|
|
3111
|
+
position: z.ZodObject<{
|
|
3112
|
+
x: z.ZodNumber;
|
|
3113
|
+
y: z.ZodNumber;
|
|
3114
|
+
}, z.core.$strip>;
|
|
3115
|
+
transforms: z.ZodObject<{
|
|
3116
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3117
|
+
key: z.ZodString;
|
|
3118
|
+
value: z.ZodString;
|
|
3119
|
+
mode: z.ZodEnum<{
|
|
3120
|
+
set: "set";
|
|
3121
|
+
append: "append";
|
|
3122
|
+
}>;
|
|
3123
|
+
}, z.core.$strip>>>;
|
|
3124
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
3125
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3126
|
+
key: z.ZodString;
|
|
3127
|
+
value: z.ZodString;
|
|
3128
|
+
mode: z.ZodEnum<{
|
|
3129
|
+
set: "set";
|
|
3130
|
+
append: "append";
|
|
3131
|
+
}>;
|
|
3132
|
+
}, z.core.$strip>>>;
|
|
3133
|
+
}, z.core.$strip>;
|
|
3134
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3136
|
+
id: z.ZodString;
|
|
3137
|
+
type: z.ZodLiteral<"password">;
|
|
3138
|
+
position: z.ZodObject<{
|
|
3139
|
+
x: z.ZodNumber;
|
|
3140
|
+
y: z.ZodNumber;
|
|
3141
|
+
}, z.core.$strip>;
|
|
3142
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3143
|
+
}, z.core.$strip>], "type">>;
|
|
3144
|
+
}, z.core.$strip>>;
|
|
3145
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
3146
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
3147
|
+
}, z.core.$strip>>;
|
|
3148
|
+
total: z.ZodNumber;
|
|
3149
|
+
page: z.ZodNumber;
|
|
3150
|
+
per_page: z.ZodNumber;
|
|
3151
|
+
total_pages: z.ZodNumber;
|
|
2202
3152
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2203
|
-
revokeInvitation: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2204
|
-
workspace_id: z.ZodString;
|
|
2205
|
-
invitation_id: z.ZodString;
|
|
2206
|
-
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2207
|
-
};
|
|
2208
|
-
invitations: {
|
|
2209
3153
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2210
|
-
|
|
3154
|
+
workspace_id: z.ZodString;
|
|
3155
|
+
link_template_id: z.ZodString;
|
|
2211
3156
|
}, z.core.$strip>, z.ZodObject<{
|
|
2212
3157
|
id: z.ZodString;
|
|
2213
3158
|
workspace_id: z.ZodString;
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
3159
|
+
title: z.ZodString;
|
|
3160
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3161
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
3162
|
+
entry: z.ZodString;
|
|
3163
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3164
|
+
id: z.ZodString;
|
|
3165
|
+
type: z.ZodLiteral<"condition">;
|
|
3166
|
+
position: z.ZodObject<{
|
|
3167
|
+
x: z.ZodNumber;
|
|
3168
|
+
y: z.ZodNumber;
|
|
3169
|
+
}, z.core.$strip>;
|
|
3170
|
+
field: z.ZodString;
|
|
3171
|
+
operator: z.ZodEnum<{
|
|
3172
|
+
eq: "eq";
|
|
3173
|
+
neq: "neq";
|
|
3174
|
+
in: "in";
|
|
3175
|
+
not_in: "not_in";
|
|
3176
|
+
contains: "contains";
|
|
3177
|
+
not_contains: "not_contains";
|
|
3178
|
+
gt: "gt";
|
|
3179
|
+
lt: "lt";
|
|
3180
|
+
gte: "gte";
|
|
3181
|
+
lte: "lte";
|
|
3182
|
+
regex: "regex";
|
|
3183
|
+
}>;
|
|
3184
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
3185
|
+
outputs: z.ZodObject<{
|
|
3186
|
+
true: z.ZodNullable<z.ZodString>;
|
|
3187
|
+
false: z.ZodNullable<z.ZodString>;
|
|
3188
|
+
}, z.core.$strip>;
|
|
3189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3190
|
+
id: z.ZodString;
|
|
3191
|
+
type: z.ZodLiteral<"split">;
|
|
3192
|
+
position: z.ZodObject<{
|
|
3193
|
+
x: z.ZodNumber;
|
|
3194
|
+
y: z.ZodNumber;
|
|
3195
|
+
}, z.core.$strip>;
|
|
3196
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3197
|
+
weight: z.ZodNumber;
|
|
3198
|
+
target: z.ZodNullable<z.ZodString>;
|
|
3199
|
+
}, z.core.$strip>>;
|
|
3200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3201
|
+
id: z.ZodString;
|
|
3202
|
+
type: z.ZodLiteral<"destination">;
|
|
3203
|
+
position: z.ZodObject<{
|
|
3204
|
+
x: z.ZodNumber;
|
|
3205
|
+
y: z.ZodNumber;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3207
|
+
url: z.ZodString;
|
|
3208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3209
|
+
id: z.ZodString;
|
|
3210
|
+
type: z.ZodLiteral<"transform">;
|
|
3211
|
+
position: z.ZodObject<{
|
|
3212
|
+
x: z.ZodNumber;
|
|
3213
|
+
y: z.ZodNumber;
|
|
3214
|
+
}, z.core.$strip>;
|
|
3215
|
+
transforms: z.ZodObject<{
|
|
3216
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3217
|
+
key: z.ZodString;
|
|
3218
|
+
value: z.ZodString;
|
|
3219
|
+
mode: z.ZodEnum<{
|
|
3220
|
+
set: "set";
|
|
3221
|
+
append: "append";
|
|
3222
|
+
}>;
|
|
3223
|
+
}, z.core.$strip>>>;
|
|
3224
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
3225
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3226
|
+
key: z.ZodString;
|
|
3227
|
+
value: z.ZodString;
|
|
3228
|
+
mode: z.ZodEnum<{
|
|
3229
|
+
set: "set";
|
|
3230
|
+
append: "append";
|
|
3231
|
+
}>;
|
|
3232
|
+
}, z.core.$strip>>>;
|
|
3233
|
+
}, z.core.$strip>;
|
|
3234
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3236
|
+
id: z.ZodString;
|
|
3237
|
+
type: z.ZodLiteral<"password">;
|
|
3238
|
+
position: z.ZodObject<{
|
|
3239
|
+
x: z.ZodNumber;
|
|
3240
|
+
y: z.ZodNumber;
|
|
3241
|
+
}, z.core.$strip>;
|
|
3242
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3243
|
+
}, z.core.$strip>], "type">>;
|
|
3244
|
+
}, z.core.$strip>>;
|
|
2219
3245
|
created_at: z.ZodCoercedDate<unknown>;
|
|
3246
|
+
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2220
3247
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2221
|
-
|
|
2222
|
-
|
|
3248
|
+
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3249
|
+
workspace_id: z.ZodString;
|
|
3250
|
+
link_template_id: z.ZodString;
|
|
3251
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3252
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3253
|
+
rule_graph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3254
|
+
entry: z.ZodString;
|
|
3255
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3256
|
+
id: z.ZodString;
|
|
3257
|
+
type: z.ZodLiteral<"condition">;
|
|
3258
|
+
position: z.ZodObject<{
|
|
3259
|
+
x: z.ZodNumber;
|
|
3260
|
+
y: z.ZodNumber;
|
|
3261
|
+
}, z.core.$strip>;
|
|
3262
|
+
field: z.ZodString;
|
|
3263
|
+
operator: z.ZodEnum<{
|
|
3264
|
+
eq: "eq";
|
|
3265
|
+
neq: "neq";
|
|
3266
|
+
in: "in";
|
|
3267
|
+
not_in: "not_in";
|
|
3268
|
+
contains: "contains";
|
|
3269
|
+
not_contains: "not_contains";
|
|
3270
|
+
gt: "gt";
|
|
3271
|
+
lt: "lt";
|
|
3272
|
+
gte: "gte";
|
|
3273
|
+
lte: "lte";
|
|
3274
|
+
regex: "regex";
|
|
3275
|
+
}>;
|
|
3276
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
3277
|
+
outputs: z.ZodObject<{
|
|
3278
|
+
true: z.ZodNullable<z.ZodString>;
|
|
3279
|
+
false: z.ZodNullable<z.ZodString>;
|
|
3280
|
+
}, z.core.$strip>;
|
|
3281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3282
|
+
id: z.ZodString;
|
|
3283
|
+
type: z.ZodLiteral<"split">;
|
|
3284
|
+
position: z.ZodObject<{
|
|
3285
|
+
x: z.ZodNumber;
|
|
3286
|
+
y: z.ZodNumber;
|
|
3287
|
+
}, z.core.$strip>;
|
|
3288
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3289
|
+
weight: z.ZodNumber;
|
|
3290
|
+
target: z.ZodNullable<z.ZodString>;
|
|
3291
|
+
}, z.core.$strip>>;
|
|
3292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3293
|
+
id: z.ZodString;
|
|
3294
|
+
type: z.ZodLiteral<"destination">;
|
|
3295
|
+
position: z.ZodObject<{
|
|
3296
|
+
x: z.ZodNumber;
|
|
3297
|
+
y: z.ZodNumber;
|
|
3298
|
+
}, z.core.$strip>;
|
|
3299
|
+
url: z.ZodString;
|
|
3300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3301
|
+
id: z.ZodString;
|
|
3302
|
+
type: z.ZodLiteral<"transform">;
|
|
3303
|
+
position: z.ZodObject<{
|
|
3304
|
+
x: z.ZodNumber;
|
|
3305
|
+
y: z.ZodNumber;
|
|
3306
|
+
}, z.core.$strip>;
|
|
3307
|
+
transforms: z.ZodObject<{
|
|
3308
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3309
|
+
key: z.ZodString;
|
|
3310
|
+
value: z.ZodString;
|
|
3311
|
+
mode: z.ZodEnum<{
|
|
3312
|
+
set: "set";
|
|
3313
|
+
append: "append";
|
|
3314
|
+
}>;
|
|
3315
|
+
}, z.core.$strip>>>;
|
|
3316
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
3317
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3318
|
+
key: z.ZodString;
|
|
3319
|
+
value: z.ZodString;
|
|
3320
|
+
mode: z.ZodEnum<{
|
|
3321
|
+
set: "set";
|
|
3322
|
+
append: "append";
|
|
3323
|
+
}>;
|
|
3324
|
+
}, z.core.$strip>>>;
|
|
3325
|
+
}, z.core.$strip>;
|
|
3326
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3328
|
+
id: z.ZodString;
|
|
3329
|
+
type: z.ZodLiteral<"password">;
|
|
3330
|
+
position: z.ZodObject<{
|
|
3331
|
+
x: z.ZodNumber;
|
|
3332
|
+
y: z.ZodNumber;
|
|
3333
|
+
}, z.core.$strip>;
|
|
3334
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3335
|
+
}, z.core.$strip>], "type">>;
|
|
3336
|
+
}, z.core.$strip>>>;
|
|
2223
3337
|
}, z.core.$strip>, z.ZodObject<{
|
|
2224
3338
|
id: z.ZodString;
|
|
2225
3339
|
workspace_id: z.ZodString;
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
3340
|
+
title: z.ZodString;
|
|
3341
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3342
|
+
rule_graph: z.ZodNullable<z.ZodObject<{
|
|
3343
|
+
entry: z.ZodString;
|
|
3344
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3345
|
+
id: z.ZodString;
|
|
3346
|
+
type: z.ZodLiteral<"condition">;
|
|
3347
|
+
position: z.ZodObject<{
|
|
3348
|
+
x: z.ZodNumber;
|
|
3349
|
+
y: z.ZodNumber;
|
|
3350
|
+
}, z.core.$strip>;
|
|
3351
|
+
field: z.ZodString;
|
|
3352
|
+
operator: z.ZodEnum<{
|
|
3353
|
+
eq: "eq";
|
|
3354
|
+
neq: "neq";
|
|
3355
|
+
in: "in";
|
|
3356
|
+
not_in: "not_in";
|
|
3357
|
+
contains: "contains";
|
|
3358
|
+
not_contains: "not_contains";
|
|
3359
|
+
gt: "gt";
|
|
3360
|
+
lt: "lt";
|
|
3361
|
+
gte: "gte";
|
|
3362
|
+
lte: "lte";
|
|
3363
|
+
regex: "regex";
|
|
3364
|
+
}>;
|
|
3365
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
3366
|
+
outputs: z.ZodObject<{
|
|
3367
|
+
true: z.ZodNullable<z.ZodString>;
|
|
3368
|
+
false: z.ZodNullable<z.ZodString>;
|
|
3369
|
+
}, z.core.$strip>;
|
|
3370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3371
|
+
id: z.ZodString;
|
|
3372
|
+
type: z.ZodLiteral<"split">;
|
|
3373
|
+
position: z.ZodObject<{
|
|
3374
|
+
x: z.ZodNumber;
|
|
3375
|
+
y: z.ZodNumber;
|
|
3376
|
+
}, z.core.$strip>;
|
|
3377
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
3378
|
+
weight: z.ZodNumber;
|
|
3379
|
+
target: z.ZodNullable<z.ZodString>;
|
|
3380
|
+
}, z.core.$strip>>;
|
|
3381
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3382
|
+
id: z.ZodString;
|
|
3383
|
+
type: z.ZodLiteral<"destination">;
|
|
3384
|
+
position: z.ZodObject<{
|
|
3385
|
+
x: z.ZodNumber;
|
|
3386
|
+
y: z.ZodNumber;
|
|
3387
|
+
}, z.core.$strip>;
|
|
3388
|
+
url: z.ZodString;
|
|
3389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3390
|
+
id: z.ZodString;
|
|
3391
|
+
type: z.ZodLiteral<"transform">;
|
|
3392
|
+
position: z.ZodObject<{
|
|
3393
|
+
x: z.ZodNumber;
|
|
3394
|
+
y: z.ZodNumber;
|
|
3395
|
+
}, z.core.$strip>;
|
|
3396
|
+
transforms: z.ZodObject<{
|
|
3397
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3398
|
+
key: z.ZodString;
|
|
3399
|
+
value: z.ZodString;
|
|
3400
|
+
mode: z.ZodEnum<{
|
|
3401
|
+
set: "set";
|
|
3402
|
+
append: "append";
|
|
3403
|
+
}>;
|
|
3404
|
+
}, z.core.$strip>>>;
|
|
3405
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
3406
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3407
|
+
key: z.ZodString;
|
|
3408
|
+
value: z.ZodString;
|
|
3409
|
+
mode: z.ZodEnum<{
|
|
3410
|
+
set: "set";
|
|
3411
|
+
append: "append";
|
|
3412
|
+
}>;
|
|
3413
|
+
}, z.core.$strip>>>;
|
|
3414
|
+
}, z.core.$strip>;
|
|
3415
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3417
|
+
id: z.ZodString;
|
|
3418
|
+
type: z.ZodLiteral<"password">;
|
|
3419
|
+
position: z.ZodObject<{
|
|
3420
|
+
x: z.ZodNumber;
|
|
3421
|
+
y: z.ZodNumber;
|
|
3422
|
+
}, z.core.$strip>;
|
|
3423
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3424
|
+
}, z.core.$strip>], "type">>;
|
|
3425
|
+
}, z.core.$strip>>;
|
|
2235
3426
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2236
3427
|
updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2237
3428
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
3429
|
+
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3430
|
+
workspace_id: z.ZodString;
|
|
3431
|
+
link_template_id: z.ZodString;
|
|
3432
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2238
3433
|
};
|
|
2239
3434
|
links: {
|
|
2240
3435
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -2359,6 +3554,14 @@ export declare const contract: {
|
|
|
2359
3554
|
}, z.core.$strip>>>;
|
|
2360
3555
|
}, z.core.$strip>;
|
|
2361
3556
|
next: z.ZodNullable<z.ZodString>;
|
|
3557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3558
|
+
id: z.ZodString;
|
|
3559
|
+
type: z.ZodLiteral<"password">;
|
|
3560
|
+
position: z.ZodObject<{
|
|
3561
|
+
x: z.ZodNumber;
|
|
3562
|
+
y: z.ZodNumber;
|
|
3563
|
+
}, z.core.$strip>;
|
|
3564
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2362
3565
|
}, z.core.$strip>], "type">>;
|
|
2363
3566
|
}, z.core.$strip>>>;
|
|
2364
3567
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2491,6 +3694,14 @@ export declare const contract: {
|
|
|
2491
3694
|
}, z.core.$strip>>>;
|
|
2492
3695
|
}, z.core.$strip>;
|
|
2493
3696
|
next: z.ZodNullable<z.ZodString>;
|
|
3697
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3698
|
+
id: z.ZodString;
|
|
3699
|
+
type: z.ZodLiteral<"password">;
|
|
3700
|
+
position: z.ZodObject<{
|
|
3701
|
+
x: z.ZodNumber;
|
|
3702
|
+
y: z.ZodNumber;
|
|
3703
|
+
}, z.core.$strip>;
|
|
3704
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2494
3705
|
}, z.core.$strip>], "type">>;
|
|
2495
3706
|
}, z.core.$strip>>>;
|
|
2496
3707
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2525,8 +3736,8 @@ export declare const contract: {
|
|
|
2525
3736
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2526
3737
|
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
2527
3738
|
created_at: "created_at";
|
|
2528
|
-
original_url: "original_url";
|
|
2529
3739
|
title: "title";
|
|
3740
|
+
original_url: "original_url";
|
|
2530
3741
|
click_count: "click_count";
|
|
2531
3742
|
}>>;
|
|
2532
3743
|
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
@@ -2666,6 +3877,14 @@ export declare const contract: {
|
|
|
2666
3877
|
}, z.core.$strip>>>;
|
|
2667
3878
|
}, z.core.$strip>;
|
|
2668
3879
|
next: z.ZodNullable<z.ZodString>;
|
|
3880
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3881
|
+
id: z.ZodString;
|
|
3882
|
+
type: z.ZodLiteral<"password">;
|
|
3883
|
+
position: z.ZodObject<{
|
|
3884
|
+
x: z.ZodNumber;
|
|
3885
|
+
y: z.ZodNumber;
|
|
3886
|
+
}, z.core.$strip>;
|
|
3887
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2669
3888
|
}, z.core.$strip>], "type">>;
|
|
2670
3889
|
}, z.core.$strip>>>;
|
|
2671
3890
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2684,12 +3903,12 @@ export declare const contract: {
|
|
|
2684
3903
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
2685
3904
|
exportCsv: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2686
3905
|
workspace_id: z.ZodString;
|
|
3906
|
+
search: z.ZodOptional<z.ZodString>;
|
|
2687
3907
|
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
2688
3908
|
true: "true";
|
|
2689
3909
|
false: "false";
|
|
2690
3910
|
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
2691
3911
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2692
|
-
search: z.ZodOptional<z.ZodString>;
|
|
2693
3912
|
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2694
3913
|
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
2695
3914
|
true: "true";
|
|
@@ -2705,8 +3924,8 @@ export declare const contract: {
|
|
|
2705
3924
|
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
2706
3925
|
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
2707
3926
|
created_at: "created_at";
|
|
2708
|
-
original_url: "original_url";
|
|
2709
3927
|
title: "title";
|
|
3928
|
+
original_url: "original_url";
|
|
2710
3929
|
click_count: "click_count";
|
|
2711
3930
|
}>>;
|
|
2712
3931
|
sort_order: z.ZodDefault<z.ZodEnum<{
|
|
@@ -2847,6 +4066,14 @@ export declare const contract: {
|
|
|
2847
4066
|
}, z.core.$strip>>>;
|
|
2848
4067
|
}, z.core.$strip>;
|
|
2849
4068
|
next: z.ZodNullable<z.ZodString>;
|
|
4069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4070
|
+
id: z.ZodString;
|
|
4071
|
+
type: z.ZodLiteral<"password">;
|
|
4072
|
+
position: z.ZodObject<{
|
|
4073
|
+
x: z.ZodNumber;
|
|
4074
|
+
y: z.ZodNumber;
|
|
4075
|
+
}, z.core.$strip>;
|
|
4076
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2850
4077
|
}, z.core.$strip>], "type">>;
|
|
2851
4078
|
}, z.core.$strip>>>;
|
|
2852
4079
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2982,6 +4209,14 @@ export declare const contract: {
|
|
|
2982
4209
|
}, z.core.$strip>>>;
|
|
2983
4210
|
}, z.core.$strip>;
|
|
2984
4211
|
next: z.ZodNullable<z.ZodString>;
|
|
4212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4213
|
+
id: z.ZodString;
|
|
4214
|
+
type: z.ZodLiteral<"password">;
|
|
4215
|
+
position: z.ZodObject<{
|
|
4216
|
+
x: z.ZodNumber;
|
|
4217
|
+
y: z.ZodNumber;
|
|
4218
|
+
}, z.core.$strip>;
|
|
4219
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2985
4220
|
}, z.core.$strip>], "type">>;
|
|
2986
4221
|
}, z.core.$strip>>>;
|
|
2987
4222
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3114,6 +4349,14 @@ export declare const contract: {
|
|
|
3114
4349
|
}, z.core.$strip>>>;
|
|
3115
4350
|
}, z.core.$strip>;
|
|
3116
4351
|
next: z.ZodNullable<z.ZodString>;
|
|
4352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4353
|
+
id: z.ZodString;
|
|
4354
|
+
type: z.ZodLiteral<"password">;
|
|
4355
|
+
position: z.ZodObject<{
|
|
4356
|
+
x: z.ZodNumber;
|
|
4357
|
+
y: z.ZodNumber;
|
|
4358
|
+
}, z.core.$strip>;
|
|
4359
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3117
4360
|
}, z.core.$strip>], "type">>;
|
|
3118
4361
|
}, z.core.$strip>>>;
|
|
3119
4362
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3273,6 +4516,14 @@ export declare const contract: {
|
|
|
3273
4516
|
}, z.core.$strip>>>;
|
|
3274
4517
|
}, z.core.$strip>;
|
|
3275
4518
|
next: z.ZodNullable<z.ZodString>;
|
|
4519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4520
|
+
id: z.ZodString;
|
|
4521
|
+
type: z.ZodLiteral<"password">;
|
|
4522
|
+
position: z.ZodObject<{
|
|
4523
|
+
x: z.ZodNumber;
|
|
4524
|
+
y: z.ZodNumber;
|
|
4525
|
+
}, z.core.$strip>;
|
|
4526
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3276
4527
|
}, z.core.$strip>], "type">>;
|
|
3277
4528
|
}, z.core.$strip>>>;
|
|
3278
4529
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3417,6 +4668,14 @@ export declare const contract: {
|
|
|
3417
4668
|
}, z.core.$strip>>>;
|
|
3418
4669
|
}, z.core.$strip>;
|
|
3419
4670
|
next: z.ZodNullable<z.ZodString>;
|
|
4671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4672
|
+
id: z.ZodString;
|
|
4673
|
+
type: z.ZodLiteral<"password">;
|
|
4674
|
+
position: z.ZodObject<{
|
|
4675
|
+
x: z.ZodNumber;
|
|
4676
|
+
y: z.ZodNumber;
|
|
4677
|
+
}, z.core.$strip>;
|
|
4678
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3420
4679
|
}, z.core.$strip>], "type">>;
|
|
3421
4680
|
}, z.core.$strip>>>;
|
|
3422
4681
|
tags: z.ZodArray<z.ZodObject<{
|