@atiproto/lexicons 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -35,6 +35,8 @@ __export(com_exports, {
35
35
  var atiproto_exports = {};
36
36
  __export(atiproto_exports, {
37
37
  account: () => account_exports,
38
+ authEnhanced: () => authEnhanced_exports,
39
+ authGeneral: () => authGeneral_exports,
38
40
  cart: () => cart_exports2,
39
41
  feed: () => feed_exports,
40
42
  profile: () => profile_exports2,
@@ -571,6 +573,125 @@ var $params7 = main11.parameters;
571
573
  var $input4 = main11.input;
572
574
  var $output7 = main11.output;
573
575
 
576
+ // src/lexicons/com/atiproto/authEnhanced.ts
577
+ var authEnhanced_exports = {};
578
+ __export(authEnhanced_exports, {
579
+ $defs: () => authEnhanced_defs_exports,
580
+ $nsid: () => $nsid12,
581
+ main: () => main12
582
+ });
583
+
584
+ // src/lexicons/com/atiproto/authEnhanced.defs.ts
585
+ var authEnhanced_defs_exports = {};
586
+ __export(authEnhanced_defs_exports, {
587
+ $nsid: () => $nsid12,
588
+ main: () => main12
589
+ });
590
+ var import_lex12 = require("@atproto/lex");
591
+ var $nsid12 = "com.atiproto.authEnhanced";
592
+ var main12 = import_lex12.l.permissionSet(
593
+ $nsid12,
594
+ [
595
+ import_lex12.l.permission("repo", {
596
+ collection: [
597
+ "com.atiproto.cart",
598
+ "com.atiproto.subscription",
599
+ "com.atiproto.tip",
600
+ "com.atiproto.profile"
601
+ ]
602
+ }),
603
+ import_lex12.l.permission("rpc", {
604
+ aud: "did:web:atiproto.com#payments",
605
+ lxm: [
606
+ "com.atiproto.account.cart.clone",
607
+ "com.atiproto.account.cart.create",
608
+ "com.atiproto.account.cart.get",
609
+ "com.atiproto.account.cart.list",
610
+ "com.atiproto.account.cart.put",
611
+ "com.atiproto.account.profile.get",
612
+ "com.atiproto.account.profile.put",
613
+ "com.atiproto.feed.list",
614
+ "com.atiproto.feed.subscription.cancel",
615
+ "com.atiproto.feed.subscription.create",
616
+ "com.atiproto.feed.subscription.get",
617
+ "com.atiproto.feed.subscription.list",
618
+ "com.atiproto.feed.subscription.put",
619
+ "com.atiproto.feed.tip.create",
620
+ "com.atiproto.feed.tip.get",
621
+ "com.atiproto.feed.tip.list",
622
+ "com.atiproto.feed.tip.put",
623
+ "com.atiproto.repo.profile.get",
624
+ "com.atiproto.repo.subscription.search",
625
+ "com.atiproto.repo.subscription.validate",
626
+ "com.atiproto.repo.tip.search",
627
+ "com.atiproto.repo.tip.validate"
628
+ ]
629
+ })
630
+ ],
631
+ {
632
+ title: "Enhanced Access",
633
+ detail: "Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints."
634
+ }
635
+ );
636
+
637
+ // src/lexicons/com/atiproto/authGeneral.ts
638
+ var authGeneral_exports = {};
639
+ __export(authGeneral_exports, {
640
+ $defs: () => authGeneral_defs_exports,
641
+ $nsid: () => $nsid13,
642
+ main: () => main13
643
+ });
644
+
645
+ // src/lexicons/com/atiproto/authGeneral.defs.ts
646
+ var authGeneral_defs_exports = {};
647
+ __export(authGeneral_defs_exports, {
648
+ $nsid: () => $nsid13,
649
+ main: () => main13
650
+ });
651
+ var import_lex13 = require("@atproto/lex");
652
+ var $nsid13 = "com.atiproto.authGeneral";
653
+ var main13 = import_lex13.l.permissionSet(
654
+ $nsid13,
655
+ [
656
+ import_lex13.l.permission("repo", {
657
+ collection: [
658
+ "com.atiproto.cart",
659
+ "com.atiproto.subscription",
660
+ "com.atiproto.tip"
661
+ ]
662
+ }),
663
+ import_lex13.l.permission("rpc", {
664
+ aud: "did:web:atiproto.com#payments",
665
+ lxm: [
666
+ "com.atiproto.account.cart.clone",
667
+ "com.atiproto.account.cart.create",
668
+ "com.atiproto.account.cart.get",
669
+ "com.atiproto.account.cart.list",
670
+ "com.atiproto.account.cart.put",
671
+ "com.atiproto.feed.list",
672
+ "com.atiproto.feed.subscription.cancel",
673
+ "com.atiproto.feed.subscription.create",
674
+ "com.atiproto.feed.subscription.get",
675
+ "com.atiproto.feed.subscription.list",
676
+ "com.atiproto.feed.subscription.put",
677
+ "com.atiproto.feed.tip.create",
678
+ "com.atiproto.feed.tip.get",
679
+ "com.atiproto.feed.tip.list",
680
+ "com.atiproto.feed.tip.put",
681
+ "com.atiproto.repo.profile.get",
682
+ "com.atiproto.repo.subscription.search",
683
+ "com.atiproto.repo.subscription.validate",
684
+ "com.atiproto.repo.tip.search",
685
+ "com.atiproto.repo.tip.validate"
686
+ ]
687
+ })
688
+ ],
689
+ {
690
+ title: "General Access",
691
+ detail: "Write access to cart, subscription, and tip records, plus RPC access to all non-profile endpoints."
692
+ }
693
+ );
694
+
574
695
  // src/lexicons/com/atiproto/cart.ts
575
696
  var cart_exports2 = {};
576
697
  __export(cart_exports2, {
@@ -605,44 +726,44 @@ var list_exports2 = {};
605
726
  __export(list_exports2, {
606
727
  $defs: () => list_defs_exports2,
607
728
  $lxm: () => $lxm8,
608
- $nsid: () => $nsid12,
729
+ $nsid: () => $nsid14,
609
730
  $output: () => $output8,
610
731
  $params: () => $params8,
611
- main: () => main12
732
+ main: () => main14
612
733
  });
613
734
 
614
735
  // src/lexicons/com/atiproto/feed/list.defs.ts
615
736
  var list_defs_exports2 = {};
616
737
  __export(list_defs_exports2, {
617
738
  $lxm: () => $lxm8,
618
- $nsid: () => $nsid12,
739
+ $nsid: () => $nsid14,
619
740
  $output: () => $output8,
620
741
  $params: () => $params8,
621
- main: () => main12
742
+ main: () => main14
622
743
  });
623
- var import_lex12 = require("@atproto/lex");
624
- var $nsid12 = "com.atiproto.feed.list";
625
- var main12 = import_lex12.l.query(
626
- $nsid12,
627
- import_lex12.l.params(),
628
- import_lex12.l.jsonPayload({
629
- items: import_lex12.l.array(
630
- import_lex12.l.typedUnion(
744
+ var import_lex14 = require("@atproto/lex");
745
+ var $nsid14 = "com.atiproto.feed.list";
746
+ var main14 = import_lex14.l.query(
747
+ $nsid14,
748
+ import_lex14.l.params(),
749
+ import_lex14.l.jsonPayload({
750
+ items: import_lex14.l.array(
751
+ import_lex14.l.typedUnion(
631
752
  [
632
- import_lex12.l.typedRef((() => main2)),
633
- import_lex12.l.typedRef(
753
+ import_lex14.l.typedRef((() => main2)),
754
+ import_lex14.l.typedRef(
634
755
  (() => main3)
635
756
  )
636
757
  ],
637
758
  false
638
759
  )
639
760
  ),
640
- cursor: import_lex12.l.optional(import_lex12.l.string())
761
+ cursor: import_lex14.l.optional(import_lex14.l.string())
641
762
  })
642
763
  );
643
- var $lxm8 = main12.nsid;
644
- var $params8 = main12.parameters;
645
- var $output8 = main12.output;
764
+ var $lxm8 = main14.nsid;
765
+ var $params8 = main14.parameters;
766
+ var $output8 = main14.output;
646
767
 
647
768
  // src/lexicons/com/atiproto/feed/subscription.ts
648
769
  var subscription_exports = {};
@@ -660,10 +781,10 @@ __export(cancel_exports, {
660
781
  $defs: () => cancel_defs_exports,
661
782
  $input: () => $input5,
662
783
  $lxm: () => $lxm9,
663
- $nsid: () => $nsid13,
784
+ $nsid: () => $nsid15,
664
785
  $output: () => $output9,
665
786
  $params: () => $params9,
666
- main: () => main13
787
+ main: () => main15
667
788
  });
668
789
 
669
790
  // src/lexicons/com/atiproto/feed/subscription/cancel.defs.ts
@@ -671,29 +792,29 @@ var cancel_defs_exports = {};
671
792
  __export(cancel_defs_exports, {
672
793
  $input: () => $input5,
673
794
  $lxm: () => $lxm9,
674
- $nsid: () => $nsid13,
795
+ $nsid: () => $nsid15,
675
796
  $output: () => $output9,
676
797
  $params: () => $params9,
677
- main: () => main13
798
+ main: () => main15
678
799
  });
679
- var import_lex13 = require("@atproto/lex");
680
- var $nsid13 = "com.atiproto.feed.subscription.cancel";
681
- var main13 = import_lex13.l.procedure(
682
- $nsid13,
683
- import_lex13.l.params(),
684
- import_lex13.l.jsonPayload({ subscriptionUri: import_lex13.l.string({ format: "at-uri" }) }),
685
- import_lex13.l.jsonPayload({
686
- subscriptionUri: import_lex13.l.string({ format: "at-uri" }),
687
- subscription: import_lex13.l.ref(
800
+ var import_lex15 = require("@atproto/lex");
801
+ var $nsid15 = "com.atiproto.feed.subscription.cancel";
802
+ var main15 = import_lex15.l.procedure(
803
+ $nsid15,
804
+ import_lex15.l.params(),
805
+ import_lex15.l.jsonPayload({ subscriptionUri: import_lex15.l.string({ format: "at-uri" }) }),
806
+ import_lex15.l.jsonPayload({
807
+ subscriptionUri: import_lex15.l.string({ format: "at-uri" }),
808
+ subscription: import_lex15.l.ref(
688
809
  (() => main3)
689
810
  ),
690
- accessUntil: import_lex13.l.string({ format: "datetime" })
811
+ accessUntil: import_lex15.l.string({ format: "datetime" })
691
812
  })
692
813
  );
693
- var $lxm9 = main13.nsid;
694
- var $params9 = main13.parameters;
695
- var $input5 = main13.input;
696
- var $output9 = main13.output;
814
+ var $lxm9 = main15.nsid;
815
+ var $params9 = main15.parameters;
816
+ var $input5 = main15.input;
817
+ var $output9 = main15.output;
697
818
 
698
819
  // src/lexicons/com/atiproto/feed/subscription/create.ts
699
820
  var create_exports2 = {};
@@ -701,10 +822,10 @@ __export(create_exports2, {
701
822
  $defs: () => create_defs_exports2,
702
823
  $input: () => $input6,
703
824
  $lxm: () => $lxm10,
704
- $nsid: () => $nsid14,
825
+ $nsid: () => $nsid16,
705
826
  $output: () => $output10,
706
827
  $params: () => $params10,
707
- main: () => main14
828
+ main: () => main16
708
829
  });
709
830
 
710
831
  // src/lexicons/com/atiproto/feed/subscription/create.defs.ts
@@ -712,83 +833,83 @@ var create_defs_exports2 = {};
712
833
  __export(create_defs_exports2, {
713
834
  $input: () => $input6,
714
835
  $lxm: () => $lxm10,
715
- $nsid: () => $nsid14,
836
+ $nsid: () => $nsid16,
716
837
  $output: () => $output10,
717
838
  $params: () => $params10,
718
- main: () => main14
839
+ main: () => main16
719
840
  });
720
- var import_lex14 = require("@atproto/lex");
721
- var $nsid14 = "com.atiproto.feed.subscription.create";
722
- var main14 = import_lex14.l.procedure(
723
- $nsid14,
724
- import_lex14.l.params(),
725
- import_lex14.l.jsonPayload({
726
- subject: import_lex14.l.string({ format: "did" }),
727
- amount: import_lex14.l.optional(import_lex14.l.integer()),
728
- currency: import_lex14.l.string(),
729
- interval: import_lex14.l.string()
841
+ var import_lex16 = require("@atproto/lex");
842
+ var $nsid16 = "com.atiproto.feed.subscription.create";
843
+ var main16 = import_lex16.l.procedure(
844
+ $nsid16,
845
+ import_lex16.l.params(),
846
+ import_lex16.l.jsonPayload({
847
+ subject: import_lex16.l.string({ format: "did" }),
848
+ amount: import_lex16.l.optional(import_lex16.l.integer()),
849
+ currency: import_lex16.l.string(),
850
+ interval: import_lex16.l.string()
730
851
  }),
731
- import_lex14.l.jsonPayload({
732
- subscriptionUri: import_lex14.l.string({ format: "at-uri" }),
733
- subscription: import_lex14.l.ref(
852
+ import_lex16.l.jsonPayload({
853
+ subscriptionUri: import_lex16.l.string({ format: "at-uri" }),
854
+ subscription: import_lex16.l.ref(
734
855
  (() => main3)
735
856
  ),
736
- cartUri: import_lex14.l.string({ format: "at-uri" }),
737
- cart: import_lex14.l.ref((() => main)),
738
- checkoutUrl: import_lex14.l.string({ format: "uri" })
857
+ cartUri: import_lex16.l.string({ format: "at-uri" }),
858
+ cart: import_lex16.l.ref((() => main)),
859
+ checkoutUrl: import_lex16.l.string({ format: "uri" })
739
860
  })
740
861
  );
741
- var $lxm10 = main14.nsid;
742
- var $params10 = main14.parameters;
743
- var $input6 = main14.input;
744
- var $output10 = main14.output;
862
+ var $lxm10 = main16.nsid;
863
+ var $params10 = main16.parameters;
864
+ var $input6 = main16.input;
865
+ var $output10 = main16.output;
745
866
 
746
867
  // src/lexicons/com/atiproto/feed/subscription/get.ts
747
868
  var get_exports3 = {};
748
869
  __export(get_exports3, {
749
870
  $defs: () => get_defs_exports3,
750
871
  $lxm: () => $lxm11,
751
- $nsid: () => $nsid15,
872
+ $nsid: () => $nsid17,
752
873
  $output: () => $output11,
753
874
  $params: () => $params11,
754
- main: () => main15
875
+ main: () => main17
755
876
  });
756
877
 
757
878
  // src/lexicons/com/atiproto/feed/subscription/get.defs.ts
758
879
  var get_defs_exports3 = {};
759
880
  __export(get_defs_exports3, {
760
881
  $lxm: () => $lxm11,
761
- $nsid: () => $nsid15,
882
+ $nsid: () => $nsid17,
762
883
  $output: () => $output11,
763
884
  $params: () => $params11,
764
- main: () => main15
885
+ main: () => main17
765
886
  });
766
- var import_lex15 = require("@atproto/lex");
767
- var $nsid15 = "com.atiproto.feed.subscription.get";
768
- var main15 = import_lex15.l.query(
769
- $nsid15,
770
- import_lex15.l.params({ uri: import_lex15.l.string({ format: "at-uri" }) }),
771
- import_lex15.l.jsonPayload({
772
- uri: import_lex15.l.string({ format: "at-uri" }),
773
- cid: import_lex15.l.string({ format: "cid" }),
774
- record: import_lex15.l.ref(
887
+ var import_lex17 = require("@atproto/lex");
888
+ var $nsid17 = "com.atiproto.feed.subscription.get";
889
+ var main17 = import_lex17.l.query(
890
+ $nsid17,
891
+ import_lex17.l.params({ uri: import_lex17.l.string({ format: "at-uri" }) }),
892
+ import_lex17.l.jsonPayload({
893
+ uri: import_lex17.l.string({ format: "at-uri" }),
894
+ cid: import_lex17.l.string({ format: "cid" }),
895
+ record: import_lex17.l.ref(
775
896
  (() => main3)
776
897
  )
777
898
  })
778
899
  );
779
- var $lxm11 = main15.nsid;
780
- var $params11 = main15.parameters;
781
- var $output11 = main15.output;
900
+ var $lxm11 = main17.nsid;
901
+ var $params11 = main17.parameters;
902
+ var $output11 = main17.output;
782
903
 
783
904
  // src/lexicons/com/atiproto/feed/subscription/list.ts
784
905
  var list_exports3 = {};
785
906
  __export(list_exports3, {
786
907
  $defs: () => list_defs_exports3,
787
908
  $lxm: () => $lxm12,
788
- $nsid: () => $nsid16,
909
+ $nsid: () => $nsid18,
789
910
  $output: () => $output12,
790
911
  $params: () => $params12,
791
- main: () => main16,
912
+ main: () => main18,
792
913
  subscriptionResponse: () => subscriptionResponse
793
914
  });
794
915
 
@@ -796,33 +917,33 @@ __export(list_exports3, {
796
917
  var list_defs_exports3 = {};
797
918
  __export(list_defs_exports3, {
798
919
  $lxm: () => $lxm12,
799
- $nsid: () => $nsid16,
920
+ $nsid: () => $nsid18,
800
921
  $output: () => $output12,
801
922
  $params: () => $params12,
802
- main: () => main16,
923
+ main: () => main18,
803
924
  subscriptionResponse: () => subscriptionResponse
804
925
  });
805
- var import_lex16 = require("@atproto/lex");
806
- var $nsid16 = "com.atiproto.feed.subscription.list";
807
- var main16 = import_lex16.l.query(
808
- $nsid16,
809
- import_lex16.l.params(),
810
- import_lex16.l.jsonPayload({
811
- subscriptions: import_lex16.l.array(
812
- import_lex16.l.ref((() => subscriptionResponse))
926
+ var import_lex18 = require("@atproto/lex");
927
+ var $nsid18 = "com.atiproto.feed.subscription.list";
928
+ var main18 = import_lex18.l.query(
929
+ $nsid18,
930
+ import_lex18.l.params(),
931
+ import_lex18.l.jsonPayload({
932
+ subscriptions: import_lex18.l.array(
933
+ import_lex18.l.ref((() => subscriptionResponse))
813
934
  ),
814
- cursor: import_lex16.l.optional(import_lex16.l.string())
935
+ cursor: import_lex18.l.optional(import_lex18.l.string())
815
936
  })
816
937
  );
817
- var $lxm12 = main16.nsid;
818
- var $params12 = main16.parameters;
819
- var $output12 = main16.output;
820
- var subscriptionResponse = import_lex16.l.typedObject(
821
- $nsid16,
938
+ var $lxm12 = main18.nsid;
939
+ var $params12 = main18.parameters;
940
+ var $output12 = main18.output;
941
+ var subscriptionResponse = import_lex18.l.typedObject(
942
+ $nsid18,
822
943
  "subscriptionResponse",
823
- import_lex16.l.object({
824
- uri: import_lex16.l.string({ format: "at-uri" }),
825
- record: import_lex16.l.ref(
944
+ import_lex18.l.object({
945
+ uri: import_lex18.l.string({ format: "at-uri" }),
946
+ record: import_lex18.l.ref(
826
947
  (() => main3)
827
948
  )
828
949
  })
@@ -834,10 +955,10 @@ __export(put_exports3, {
834
955
  $defs: () => put_defs_exports3,
835
956
  $input: () => $input7,
836
957
  $lxm: () => $lxm13,
837
- $nsid: () => $nsid17,
958
+ $nsid: () => $nsid19,
838
959
  $output: () => $output13,
839
960
  $params: () => $params13,
840
- main: () => main17
961
+ main: () => main19
841
962
  });
842
963
 
843
964
  // src/lexicons/com/atiproto/feed/subscription/put.defs.ts
@@ -845,31 +966,31 @@ var put_defs_exports3 = {};
845
966
  __export(put_defs_exports3, {
846
967
  $input: () => $input7,
847
968
  $lxm: () => $lxm13,
848
- $nsid: () => $nsid17,
969
+ $nsid: () => $nsid19,
849
970
  $output: () => $output13,
850
971
  $params: () => $params13,
851
- main: () => main17
972
+ main: () => main19
852
973
  });
853
- var import_lex17 = require("@atproto/lex");
854
- var $nsid17 = "com.atiproto.feed.subscription.put";
855
- var main17 = import_lex17.l.procedure(
856
- $nsid17,
857
- import_lex17.l.params(),
858
- import_lex17.l.jsonPayload({
859
- uri: import_lex17.l.string({ format: "at-uri" }),
860
- record: import_lex17.l.ref(
974
+ var import_lex19 = require("@atproto/lex");
975
+ var $nsid19 = "com.atiproto.feed.subscription.put";
976
+ var main19 = import_lex19.l.procedure(
977
+ $nsid19,
978
+ import_lex19.l.params(),
979
+ import_lex19.l.jsonPayload({
980
+ uri: import_lex19.l.string({ format: "at-uri" }),
981
+ record: import_lex19.l.ref(
861
982
  (() => main3)
862
983
  )
863
984
  }),
864
- import_lex17.l.jsonPayload({
865
- uri: import_lex17.l.string({ format: "at-uri" }),
866
- cid: import_lex17.l.string({ format: "cid" })
985
+ import_lex19.l.jsonPayload({
986
+ uri: import_lex19.l.string({ format: "at-uri" }),
987
+ cid: import_lex19.l.string({ format: "cid" })
867
988
  })
868
989
  );
869
- var $lxm13 = main17.nsid;
870
- var $params13 = main17.parameters;
871
- var $input7 = main17.input;
872
- var $output13 = main17.output;
990
+ var $lxm13 = main19.nsid;
991
+ var $params13 = main19.parameters;
992
+ var $input7 = main19.input;
993
+ var $output13 = main19.output;
873
994
 
874
995
  // src/lexicons/com/atiproto/feed/tip.ts
875
996
  var tip_exports = {};
@@ -886,10 +1007,10 @@ __export(create_exports3, {
886
1007
  $defs: () => create_defs_exports3,
887
1008
  $input: () => $input8,
888
1009
  $lxm: () => $lxm14,
889
- $nsid: () => $nsid18,
1010
+ $nsid: () => $nsid20,
890
1011
  $output: () => $output14,
891
1012
  $params: () => $params14,
892
- main: () => main18
1013
+ main: () => main20
893
1014
  });
894
1015
 
895
1016
  // src/lexicons/com/atiproto/feed/tip/create.defs.ts
@@ -897,106 +1018,106 @@ var create_defs_exports3 = {};
897
1018
  __export(create_defs_exports3, {
898
1019
  $input: () => $input8,
899
1020
  $lxm: () => $lxm14,
900
- $nsid: () => $nsid18,
1021
+ $nsid: () => $nsid20,
901
1022
  $output: () => $output14,
902
1023
  $params: () => $params14,
903
- main: () => main18
1024
+ main: () => main20
904
1025
  });
905
- var import_lex18 = require("@atproto/lex");
906
- var $nsid18 = "com.atiproto.feed.tip.create";
907
- var main18 = import_lex18.l.procedure(
908
- $nsid18,
909
- import_lex18.l.params(),
910
- import_lex18.l.jsonPayload({
911
- subject: import_lex18.l.string({ format: "did" }),
912
- recordUri: import_lex18.l.optional(import_lex18.l.string({ format: "at-uri" })),
913
- amount: import_lex18.l.integer(),
914
- currency: import_lex18.l.string(),
915
- cartUri: import_lex18.l.optional(import_lex18.l.string({ format: "at-uri" })),
916
- redirectUrl: import_lex18.l.optional(import_lex18.l.string({ format: "uri" })),
917
- message: import_lex18.l.optional(import_lex18.l.string({ maxGraphemes: 500, maxLength: 5e3 }))
1026
+ var import_lex20 = require("@atproto/lex");
1027
+ var $nsid20 = "com.atiproto.feed.tip.create";
1028
+ var main20 = import_lex20.l.procedure(
1029
+ $nsid20,
1030
+ import_lex20.l.params(),
1031
+ import_lex20.l.jsonPayload({
1032
+ subject: import_lex20.l.string({ format: "did" }),
1033
+ recordUri: import_lex20.l.optional(import_lex20.l.string({ format: "at-uri" })),
1034
+ amount: import_lex20.l.integer(),
1035
+ currency: import_lex20.l.string(),
1036
+ cartUri: import_lex20.l.optional(import_lex20.l.string({ format: "at-uri" })),
1037
+ redirectUrl: import_lex20.l.optional(import_lex20.l.string({ format: "uri" })),
1038
+ message: import_lex20.l.optional(import_lex20.l.string({ maxGraphemes: 500, maxLength: 5e3 }))
918
1039
  }),
919
- import_lex18.l.jsonPayload({
920
- tipUri: import_lex18.l.string({ format: "at-uri" }),
921
- tip: import_lex18.l.ref((() => main2)),
922
- cartUri: import_lex18.l.string({ format: "at-uri" }),
923
- cart: import_lex18.l.ref((() => main)),
924
- checkoutUrl: import_lex18.l.string({ format: "uri" })
1040
+ import_lex20.l.jsonPayload({
1041
+ tipUri: import_lex20.l.string({ format: "at-uri" }),
1042
+ tip: import_lex20.l.ref((() => main2)),
1043
+ cartUri: import_lex20.l.string({ format: "at-uri" }),
1044
+ cart: import_lex20.l.ref((() => main)),
1045
+ checkoutUrl: import_lex20.l.string({ format: "uri" })
925
1046
  })
926
1047
  );
927
- var $lxm14 = main18.nsid;
928
- var $params14 = main18.parameters;
929
- var $input8 = main18.input;
930
- var $output14 = main18.output;
1048
+ var $lxm14 = main20.nsid;
1049
+ var $params14 = main20.parameters;
1050
+ var $input8 = main20.input;
1051
+ var $output14 = main20.output;
931
1052
 
932
1053
  // src/lexicons/com/atiproto/feed/tip/get.ts
933
1054
  var get_exports4 = {};
934
1055
  __export(get_exports4, {
935
1056
  $defs: () => get_defs_exports4,
936
1057
  $lxm: () => $lxm15,
937
- $nsid: () => $nsid19,
1058
+ $nsid: () => $nsid21,
938
1059
  $output: () => $output15,
939
1060
  $params: () => $params15,
940
- main: () => main19
1061
+ main: () => main21
941
1062
  });
942
1063
 
943
1064
  // src/lexicons/com/atiproto/feed/tip/get.defs.ts
944
1065
  var get_defs_exports4 = {};
945
1066
  __export(get_defs_exports4, {
946
1067
  $lxm: () => $lxm15,
947
- $nsid: () => $nsid19,
1068
+ $nsid: () => $nsid21,
948
1069
  $output: () => $output15,
949
1070
  $params: () => $params15,
950
- main: () => main19
1071
+ main: () => main21
951
1072
  });
952
- var import_lex19 = require("@atproto/lex");
953
- var $nsid19 = "com.atiproto.feed.tip.get";
954
- var main19 = import_lex19.l.query(
955
- $nsid19,
956
- import_lex19.l.params({ uri: import_lex19.l.string({ format: "at-uri" }) }),
957
- import_lex19.l.jsonPayload({
958
- uri: import_lex19.l.string({ format: "at-uri" }),
959
- cid: import_lex19.l.string({ format: "cid" }),
960
- value: import_lex19.l.ref((() => main2))
1073
+ var import_lex21 = require("@atproto/lex");
1074
+ var $nsid21 = "com.atiproto.feed.tip.get";
1075
+ var main21 = import_lex21.l.query(
1076
+ $nsid21,
1077
+ import_lex21.l.params({ uri: import_lex21.l.string({ format: "at-uri" }) }),
1078
+ import_lex21.l.jsonPayload({
1079
+ uri: import_lex21.l.string({ format: "at-uri" }),
1080
+ cid: import_lex21.l.string({ format: "cid" }),
1081
+ value: import_lex21.l.ref((() => main2))
961
1082
  })
962
1083
  );
963
- var $lxm15 = main19.nsid;
964
- var $params15 = main19.parameters;
965
- var $output15 = main19.output;
1084
+ var $lxm15 = main21.nsid;
1085
+ var $params15 = main21.parameters;
1086
+ var $output15 = main21.output;
966
1087
 
967
1088
  // src/lexicons/com/atiproto/feed/tip/list.ts
968
1089
  var list_exports4 = {};
969
1090
  __export(list_exports4, {
970
1091
  $defs: () => list_defs_exports4,
971
1092
  $lxm: () => $lxm16,
972
- $nsid: () => $nsid20,
1093
+ $nsid: () => $nsid22,
973
1094
  $output: () => $output16,
974
1095
  $params: () => $params16,
975
- main: () => main20
1096
+ main: () => main22
976
1097
  });
977
1098
 
978
1099
  // src/lexicons/com/atiproto/feed/tip/list.defs.ts
979
1100
  var list_defs_exports4 = {};
980
1101
  __export(list_defs_exports4, {
981
1102
  $lxm: () => $lxm16,
982
- $nsid: () => $nsid20,
1103
+ $nsid: () => $nsid22,
983
1104
  $output: () => $output16,
984
1105
  $params: () => $params16,
985
- main: () => main20
1106
+ main: () => main22
986
1107
  });
987
- var import_lex20 = require("@atproto/lex");
988
- var $nsid20 = "com.atiproto.feed.tip.list";
989
- var main20 = import_lex20.l.query(
990
- $nsid20,
991
- import_lex20.l.params(),
992
- import_lex20.l.jsonPayload({
993
- records: import_lex20.l.array(import_lex20.l.ref((() => main2))),
994
- cursor: import_lex20.l.optional(import_lex20.l.string())
1108
+ var import_lex22 = require("@atproto/lex");
1109
+ var $nsid22 = "com.atiproto.feed.tip.list";
1110
+ var main22 = import_lex22.l.query(
1111
+ $nsid22,
1112
+ import_lex22.l.params(),
1113
+ import_lex22.l.jsonPayload({
1114
+ records: import_lex22.l.array(import_lex22.l.ref((() => main2))),
1115
+ cursor: import_lex22.l.optional(import_lex22.l.string())
995
1116
  })
996
1117
  );
997
- var $lxm16 = main20.nsid;
998
- var $params16 = main20.parameters;
999
- var $output16 = main20.output;
1118
+ var $lxm16 = main22.nsid;
1119
+ var $params16 = main22.parameters;
1120
+ var $output16 = main22.output;
1000
1121
 
1001
1122
  // src/lexicons/com/atiproto/feed/tip/put.ts
1002
1123
  var put_exports4 = {};
@@ -1004,10 +1125,10 @@ __export(put_exports4, {
1004
1125
  $defs: () => put_defs_exports4,
1005
1126
  $input: () => $input9,
1006
1127
  $lxm: () => $lxm17,
1007
- $nsid: () => $nsid21,
1128
+ $nsid: () => $nsid23,
1008
1129
  $output: () => $output17,
1009
1130
  $params: () => $params17,
1010
- main: () => main21
1131
+ main: () => main23
1011
1132
  });
1012
1133
 
1013
1134
  // src/lexicons/com/atiproto/feed/tip/put.defs.ts
@@ -1015,29 +1136,29 @@ var put_defs_exports4 = {};
1015
1136
  __export(put_defs_exports4, {
1016
1137
  $input: () => $input9,
1017
1138
  $lxm: () => $lxm17,
1018
- $nsid: () => $nsid21,
1139
+ $nsid: () => $nsid23,
1019
1140
  $output: () => $output17,
1020
1141
  $params: () => $params17,
1021
- main: () => main21
1142
+ main: () => main23
1022
1143
  });
1023
- var import_lex21 = require("@atproto/lex");
1024
- var $nsid21 = "com.atiproto.feed.tip.put";
1025
- var main21 = import_lex21.l.procedure(
1026
- $nsid21,
1027
- import_lex21.l.params(),
1028
- import_lex21.l.jsonPayload({
1029
- uri: import_lex21.l.string({ format: "at-uri" }),
1030
- record: import_lex21.l.ref((() => main2))
1144
+ var import_lex23 = require("@atproto/lex");
1145
+ var $nsid23 = "com.atiproto.feed.tip.put";
1146
+ var main23 = import_lex23.l.procedure(
1147
+ $nsid23,
1148
+ import_lex23.l.params(),
1149
+ import_lex23.l.jsonPayload({
1150
+ uri: import_lex23.l.string({ format: "at-uri" }),
1151
+ record: import_lex23.l.ref((() => main2))
1031
1152
  }),
1032
- import_lex21.l.jsonPayload({
1033
- uri: import_lex21.l.string({ format: "at-uri" }),
1034
- cid: import_lex21.l.string({ format: "cid" })
1153
+ import_lex23.l.jsonPayload({
1154
+ uri: import_lex23.l.string({ format: "at-uri" }),
1155
+ cid: import_lex23.l.string({ format: "cid" })
1035
1156
  })
1036
1157
  );
1037
- var $lxm17 = main21.nsid;
1038
- var $params17 = main21.parameters;
1039
- var $input9 = main21.input;
1040
- var $output17 = main21.output;
1158
+ var $lxm17 = main23.nsid;
1159
+ var $params17 = main23.parameters;
1160
+ var $input9 = main23.input;
1161
+ var $output17 = main23.output;
1041
1162
 
1042
1163
  // src/lexicons/com/atiproto/profile.ts
1043
1164
  var profile_exports2 = {};
@@ -1078,34 +1199,34 @@ var get_exports5 = {};
1078
1199
  __export(get_exports5, {
1079
1200
  $defs: () => get_defs_exports5,
1080
1201
  $lxm: () => $lxm18,
1081
- $nsid: () => $nsid22,
1202
+ $nsid: () => $nsid24,
1082
1203
  $output: () => $output18,
1083
1204
  $params: () => $params18,
1084
- main: () => main22
1205
+ main: () => main24
1085
1206
  });
1086
1207
 
1087
1208
  // src/lexicons/com/atiproto/repo/profile/get.defs.ts
1088
1209
  var get_defs_exports5 = {};
1089
1210
  __export(get_defs_exports5, {
1090
1211
  $lxm: () => $lxm18,
1091
- $nsid: () => $nsid22,
1212
+ $nsid: () => $nsid24,
1092
1213
  $output: () => $output18,
1093
1214
  $params: () => $params18,
1094
- main: () => main22
1215
+ main: () => main24
1095
1216
  });
1096
- var import_lex22 = require("@atproto/lex");
1097
- var $nsid22 = "com.atiproto.repo.profile.get";
1098
- var main22 = import_lex22.l.query(
1099
- $nsid22,
1100
- import_lex22.l.params({ did: import_lex22.l.string({ format: "did" }) }),
1101
- import_lex22.l.jsonPayload({
1102
- did: import_lex22.l.string({ format: "did" }),
1103
- profile: import_lex22.l.ref((() => main9))
1217
+ var import_lex24 = require("@atproto/lex");
1218
+ var $nsid24 = "com.atiproto.repo.profile.get";
1219
+ var main24 = import_lex24.l.query(
1220
+ $nsid24,
1221
+ import_lex24.l.params({ did: import_lex24.l.string({ format: "did" }) }),
1222
+ import_lex24.l.jsonPayload({
1223
+ did: import_lex24.l.string({ format: "did" }),
1224
+ profile: import_lex24.l.ref((() => main9))
1104
1225
  })
1105
1226
  );
1106
- var $lxm18 = main22.nsid;
1107
- var $params18 = main22.parameters;
1108
- var $output18 = main22.output;
1227
+ var $lxm18 = main24.nsid;
1228
+ var $params18 = main24.parameters;
1229
+ var $output18 = main24.output;
1109
1230
 
1110
1231
  // src/lexicons/com/atiproto/repo/subscription.ts
1111
1232
  var subscription_exports2 = {};
@@ -1119,10 +1240,10 @@ var search_exports = {};
1119
1240
  __export(search_exports, {
1120
1241
  $defs: () => search_defs_exports,
1121
1242
  $lxm: () => $lxm19,
1122
- $nsid: () => $nsid23,
1243
+ $nsid: () => $nsid25,
1123
1244
  $output: () => $output19,
1124
1245
  $params: () => $params19,
1125
- main: () => main23,
1246
+ main: () => main25,
1126
1247
  subscriptionResponse: () => subscriptionResponse2
1127
1248
  });
1128
1249
 
@@ -1130,39 +1251,39 @@ __export(search_exports, {
1130
1251
  var search_defs_exports = {};
1131
1252
  __export(search_defs_exports, {
1132
1253
  $lxm: () => $lxm19,
1133
- $nsid: () => $nsid23,
1254
+ $nsid: () => $nsid25,
1134
1255
  $output: () => $output19,
1135
1256
  $params: () => $params19,
1136
- main: () => main23,
1257
+ main: () => main25,
1137
1258
  subscriptionResponse: () => subscriptionResponse2
1138
1259
  });
1139
- var import_lex23 = require("@atproto/lex");
1140
- var $nsid23 = "com.atiproto.repo.subscription.search";
1141
- var main23 = import_lex23.l.query(
1142
- $nsid23,
1143
- import_lex23.l.params({
1144
- subject: import_lex23.l.string({ format: "did" }),
1145
- cursor: import_lex23.l.optional(import_lex23.l.string()),
1146
- limit: import_lex23.l.optional(
1147
- import_lex23.l.withDefault(import_lex23.l.integer({ minimum: 1, maximum: 100 }), 50)
1260
+ var import_lex25 = require("@atproto/lex");
1261
+ var $nsid25 = "com.atiproto.repo.subscription.search";
1262
+ var main25 = import_lex25.l.query(
1263
+ $nsid25,
1264
+ import_lex25.l.params({
1265
+ subject: import_lex25.l.string({ format: "did" }),
1266
+ cursor: import_lex25.l.optional(import_lex25.l.string()),
1267
+ limit: import_lex25.l.optional(
1268
+ import_lex25.l.withDefault(import_lex25.l.integer({ minimum: 1, maximum: 100 }), 50)
1148
1269
  )
1149
1270
  }),
1150
- import_lex23.l.jsonPayload({
1151
- subscriptions: import_lex23.l.array(
1152
- import_lex23.l.ref((() => subscriptionResponse2))
1271
+ import_lex25.l.jsonPayload({
1272
+ subscriptions: import_lex25.l.array(
1273
+ import_lex25.l.ref((() => subscriptionResponse2))
1153
1274
  ),
1154
- cursor: import_lex23.l.optional(import_lex23.l.string())
1275
+ cursor: import_lex25.l.optional(import_lex25.l.string())
1155
1276
  })
1156
1277
  );
1157
- var $lxm19 = main23.nsid;
1158
- var $params19 = main23.parameters;
1159
- var $output19 = main23.output;
1160
- var subscriptionResponse2 = import_lex23.l.typedObject(
1161
- $nsid23,
1278
+ var $lxm19 = main25.nsid;
1279
+ var $params19 = main25.parameters;
1280
+ var $output19 = main25.output;
1281
+ var subscriptionResponse2 = import_lex25.l.typedObject(
1282
+ $nsid25,
1162
1283
  "subscriptionResponse",
1163
- import_lex23.l.object({
1164
- uri: import_lex23.l.string({ format: "at-uri" }),
1165
- record: import_lex23.l.ref(
1284
+ import_lex25.l.object({
1285
+ uri: import_lex25.l.string({ format: "at-uri" }),
1286
+ record: import_lex25.l.ref(
1166
1287
  (() => main3)
1167
1288
  )
1168
1289
  })
@@ -1173,41 +1294,41 @@ var validate_exports = {};
1173
1294
  __export(validate_exports, {
1174
1295
  $defs: () => validate_defs_exports,
1175
1296
  $lxm: () => $lxm20,
1176
- $nsid: () => $nsid24,
1297
+ $nsid: () => $nsid26,
1177
1298
  $output: () => $output20,
1178
1299
  $params: () => $params20,
1179
- main: () => main24
1300
+ main: () => main26
1180
1301
  });
1181
1302
 
1182
1303
  // src/lexicons/com/atiproto/repo/subscription/validate.defs.ts
1183
1304
  var validate_defs_exports = {};
1184
1305
  __export(validate_defs_exports, {
1185
1306
  $lxm: () => $lxm20,
1186
- $nsid: () => $nsid24,
1307
+ $nsid: () => $nsid26,
1187
1308
  $output: () => $output20,
1188
1309
  $params: () => $params20,
1189
- main: () => main24
1310
+ main: () => main26
1190
1311
  });
1191
- var import_lex24 = require("@atproto/lex");
1192
- var $nsid24 = "com.atiproto.repo.subscription.validate";
1193
- var main24 = import_lex24.l.query(
1194
- $nsid24,
1195
- import_lex24.l.params({
1196
- sender: import_lex24.l.string({ format: "did" }),
1197
- subscriptionUri: import_lex24.l.optional(import_lex24.l.string({ format: "at-uri" })),
1198
- subject: import_lex24.l.optional(import_lex24.l.string({ format: "did" })),
1199
- amount: import_lex24.l.optional(import_lex24.l.integer())
1312
+ var import_lex26 = require("@atproto/lex");
1313
+ var $nsid26 = "com.atiproto.repo.subscription.validate";
1314
+ var main26 = import_lex26.l.query(
1315
+ $nsid26,
1316
+ import_lex26.l.params({
1317
+ sender: import_lex26.l.string({ format: "did" }),
1318
+ subscriptionUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
1319
+ subject: import_lex26.l.optional(import_lex26.l.string({ format: "did" })),
1320
+ amount: import_lex26.l.optional(import_lex26.l.integer())
1200
1321
  }),
1201
- import_lex24.l.jsonPayload({
1202
- valid: import_lex24.l.boolean(),
1203
- amount: import_lex24.l.optional(import_lex24.l.integer()),
1204
- currency: import_lex24.l.optional(import_lex24.l.string()),
1205
- reason: import_lex24.l.optional(import_lex24.l.string())
1322
+ import_lex26.l.jsonPayload({
1323
+ valid: import_lex26.l.boolean(),
1324
+ amount: import_lex26.l.optional(import_lex26.l.integer()),
1325
+ currency: import_lex26.l.optional(import_lex26.l.string()),
1326
+ reason: import_lex26.l.optional(import_lex26.l.string())
1206
1327
  })
1207
1328
  );
1208
- var $lxm20 = main24.nsid;
1209
- var $params20 = main24.parameters;
1210
- var $output20 = main24.output;
1329
+ var $lxm20 = main26.nsid;
1330
+ var $params20 = main26.parameters;
1331
+ var $output20 = main26.output;
1211
1332
 
1212
1333
  // src/lexicons/com/atiproto/repo/tip.ts
1213
1334
  var tip_exports2 = {};
@@ -1221,10 +1342,10 @@ var search_exports2 = {};
1221
1342
  __export(search_exports2, {
1222
1343
  $defs: () => search_defs_exports2,
1223
1344
  $lxm: () => $lxm21,
1224
- $nsid: () => $nsid25,
1345
+ $nsid: () => $nsid27,
1225
1346
  $output: () => $output21,
1226
1347
  $params: () => $params21,
1227
- main: () => main25,
1348
+ main: () => main27,
1228
1349
  tipResponse: () => tipResponse
1229
1350
  });
1230
1351
 
@@ -1232,37 +1353,37 @@ __export(search_exports2, {
1232
1353
  var search_defs_exports2 = {};
1233
1354
  __export(search_defs_exports2, {
1234
1355
  $lxm: () => $lxm21,
1235
- $nsid: () => $nsid25,
1356
+ $nsid: () => $nsid27,
1236
1357
  $output: () => $output21,
1237
1358
  $params: () => $params21,
1238
- main: () => main25,
1359
+ main: () => main27,
1239
1360
  tipResponse: () => tipResponse
1240
1361
  });
1241
- var import_lex25 = require("@atproto/lex");
1242
- var $nsid25 = "com.atiproto.repo.tip.search";
1243
- var main25 = import_lex25.l.query(
1244
- $nsid25,
1245
- import_lex25.l.params({
1246
- subject: import_lex25.l.string({ format: "did" }),
1247
- cursor: import_lex25.l.optional(import_lex25.l.string()),
1248
- limit: import_lex25.l.optional(
1249
- import_lex25.l.withDefault(import_lex25.l.integer({ minimum: 1, maximum: 100 }), 50)
1362
+ var import_lex27 = require("@atproto/lex");
1363
+ var $nsid27 = "com.atiproto.repo.tip.search";
1364
+ var main27 = import_lex27.l.query(
1365
+ $nsid27,
1366
+ import_lex27.l.params({
1367
+ subject: import_lex27.l.string({ format: "did" }),
1368
+ cursor: import_lex27.l.optional(import_lex27.l.string()),
1369
+ limit: import_lex27.l.optional(
1370
+ import_lex27.l.withDefault(import_lex27.l.integer({ minimum: 1, maximum: 100 }), 50)
1250
1371
  )
1251
1372
  }),
1252
- import_lex25.l.jsonPayload({
1253
- tips: import_lex25.l.array(import_lex25.l.ref((() => tipResponse))),
1254
- cursor: import_lex25.l.optional(import_lex25.l.string())
1373
+ import_lex27.l.jsonPayload({
1374
+ tips: import_lex27.l.array(import_lex27.l.ref((() => tipResponse))),
1375
+ cursor: import_lex27.l.optional(import_lex27.l.string())
1255
1376
  })
1256
1377
  );
1257
- var $lxm21 = main25.nsid;
1258
- var $params21 = main25.parameters;
1259
- var $output21 = main25.output;
1260
- var tipResponse = import_lex25.l.typedObject(
1261
- $nsid25,
1378
+ var $lxm21 = main27.nsid;
1379
+ var $params21 = main27.parameters;
1380
+ var $output21 = main27.output;
1381
+ var tipResponse = import_lex27.l.typedObject(
1382
+ $nsid27,
1262
1383
  "tipResponse",
1263
- import_lex25.l.object({
1264
- uri: import_lex25.l.string({ format: "at-uri" }),
1265
- record: import_lex25.l.ref((() => main2))
1384
+ import_lex27.l.object({
1385
+ uri: import_lex27.l.string({ format: "at-uri" }),
1386
+ record: import_lex27.l.ref((() => main2))
1266
1387
  })
1267
1388
  );
1268
1389
 
@@ -1271,42 +1392,42 @@ var validate_exports2 = {};
1271
1392
  __export(validate_exports2, {
1272
1393
  $defs: () => validate_defs_exports2,
1273
1394
  $lxm: () => $lxm22,
1274
- $nsid: () => $nsid26,
1395
+ $nsid: () => $nsid28,
1275
1396
  $output: () => $output22,
1276
1397
  $params: () => $params22,
1277
- main: () => main26
1398
+ main: () => main28
1278
1399
  });
1279
1400
 
1280
1401
  // src/lexicons/com/atiproto/repo/tip/validate.defs.ts
1281
1402
  var validate_defs_exports2 = {};
1282
1403
  __export(validate_defs_exports2, {
1283
1404
  $lxm: () => $lxm22,
1284
- $nsid: () => $nsid26,
1405
+ $nsid: () => $nsid28,
1285
1406
  $output: () => $output22,
1286
1407
  $params: () => $params22,
1287
- main: () => main26
1288
- });
1289
- var import_lex26 = require("@atproto/lex");
1290
- var $nsid26 = "com.atiproto.repo.tip.validate";
1291
- var main26 = import_lex26.l.query(
1292
- $nsid26,
1293
- import_lex26.l.params({
1294
- sender: import_lex26.l.string({ format: "did" }),
1295
- tipUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
1296
- recordUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
1297
- subject: import_lex26.l.optional(import_lex26.l.string({ format: "did" })),
1298
- amount: import_lex26.l.optional(import_lex26.l.integer())
1408
+ main: () => main28
1409
+ });
1410
+ var import_lex28 = require("@atproto/lex");
1411
+ var $nsid28 = "com.atiproto.repo.tip.validate";
1412
+ var main28 = import_lex28.l.query(
1413
+ $nsid28,
1414
+ import_lex28.l.params({
1415
+ sender: import_lex28.l.string({ format: "did" }),
1416
+ tipUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
1417
+ recordUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
1418
+ subject: import_lex28.l.optional(import_lex28.l.string({ format: "did" })),
1419
+ amount: import_lex28.l.optional(import_lex28.l.integer())
1299
1420
  }),
1300
- import_lex26.l.jsonPayload({
1301
- valid: import_lex26.l.boolean(),
1302
- amount: import_lex26.l.optional(import_lex26.l.integer()),
1303
- currency: import_lex26.l.optional(import_lex26.l.string()),
1304
- reason: import_lex26.l.optional(import_lex26.l.string())
1421
+ import_lex28.l.jsonPayload({
1422
+ valid: import_lex28.l.boolean(),
1423
+ amount: import_lex28.l.optional(import_lex28.l.integer()),
1424
+ currency: import_lex28.l.optional(import_lex28.l.string()),
1425
+ reason: import_lex28.l.optional(import_lex28.l.string())
1305
1426
  })
1306
1427
  );
1307
- var $lxm22 = main26.nsid;
1308
- var $params22 = main26.parameters;
1309
- var $output22 = main26.output;
1428
+ var $lxm22 = main28.nsid;
1429
+ var $params22 = main28.parameters;
1430
+ var $output22 = main28.output;
1310
1431
 
1311
1432
  // src/lexicons/com/atiproto/subscription.ts
1312
1433
  var subscription_exports3 = {};
@@ -2788,6 +2909,111 @@ var validate_default2 = {
2788
2909
  }
2789
2910
  };
2790
2911
 
2912
+ // src/schemas/authEnhanced.json
2913
+ var authEnhanced_default = {
2914
+ lexicon: 1,
2915
+ id: "com.atiproto.authEnhanced",
2916
+ defs: {
2917
+ main: {
2918
+ type: "permission-set",
2919
+ title: "Enhanced Access",
2920
+ detail: "Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints.",
2921
+ permissions: [
2922
+ {
2923
+ type: "permission",
2924
+ resource: "repo",
2925
+ collection: [
2926
+ "com.atiproto.cart",
2927
+ "com.atiproto.subscription",
2928
+ "com.atiproto.tip",
2929
+ "com.atiproto.profile"
2930
+ ]
2931
+ },
2932
+ {
2933
+ type: "permission",
2934
+ resource: "rpc",
2935
+ aud: "did:web:atiproto.com#payments",
2936
+ lxm: [
2937
+ "com.atiproto.account.cart.clone",
2938
+ "com.atiproto.account.cart.create",
2939
+ "com.atiproto.account.cart.get",
2940
+ "com.atiproto.account.cart.list",
2941
+ "com.atiproto.account.cart.put",
2942
+ "com.atiproto.account.profile.get",
2943
+ "com.atiproto.account.profile.put",
2944
+ "com.atiproto.feed.list",
2945
+ "com.atiproto.feed.subscription.cancel",
2946
+ "com.atiproto.feed.subscription.create",
2947
+ "com.atiproto.feed.subscription.get",
2948
+ "com.atiproto.feed.subscription.list",
2949
+ "com.atiproto.feed.subscription.put",
2950
+ "com.atiproto.feed.tip.create",
2951
+ "com.atiproto.feed.tip.get",
2952
+ "com.atiproto.feed.tip.list",
2953
+ "com.atiproto.feed.tip.put",
2954
+ "com.atiproto.repo.profile.get",
2955
+ "com.atiproto.repo.subscription.search",
2956
+ "com.atiproto.repo.subscription.validate",
2957
+ "com.atiproto.repo.tip.search",
2958
+ "com.atiproto.repo.tip.validate"
2959
+ ]
2960
+ }
2961
+ ]
2962
+ }
2963
+ }
2964
+ };
2965
+
2966
+ // src/schemas/authGeneral.json
2967
+ var authGeneral_default = {
2968
+ lexicon: 1,
2969
+ id: "com.atiproto.authGeneral",
2970
+ defs: {
2971
+ main: {
2972
+ type: "permission-set",
2973
+ title: "General Access",
2974
+ detail: "Write access to cart, subscription, and tip records, plus RPC access to all non-profile endpoints.",
2975
+ permissions: [
2976
+ {
2977
+ type: "permission",
2978
+ resource: "repo",
2979
+ collection: [
2980
+ "com.atiproto.cart",
2981
+ "com.atiproto.subscription",
2982
+ "com.atiproto.tip"
2983
+ ]
2984
+ },
2985
+ {
2986
+ type: "permission",
2987
+ resource: "rpc",
2988
+ aud: "did:web:atiproto.com#payments",
2989
+ lxm: [
2990
+ "com.atiproto.account.cart.clone",
2991
+ "com.atiproto.account.cart.create",
2992
+ "com.atiproto.account.cart.get",
2993
+ "com.atiproto.account.cart.list",
2994
+ "com.atiproto.account.cart.put",
2995
+ "com.atiproto.feed.list",
2996
+ "com.atiproto.feed.subscription.cancel",
2997
+ "com.atiproto.feed.subscription.create",
2998
+ "com.atiproto.feed.subscription.get",
2999
+ "com.atiproto.feed.subscription.list",
3000
+ "com.atiproto.feed.subscription.put",
3001
+ "com.atiproto.feed.tip.create",
3002
+ "com.atiproto.feed.tip.get",
3003
+ "com.atiproto.feed.tip.list",
3004
+ "com.atiproto.feed.tip.put",
3005
+ "com.atiproto.repo.profile.get",
3006
+ "com.atiproto.repo.subscription.search",
3007
+ "com.atiproto.repo.subscription.validate",
3008
+ "com.atiproto.repo.tip.search",
3009
+ "com.atiproto.repo.tip.validate"
3010
+ ]
3011
+ }
3012
+ ]
3013
+ }
3014
+ }
3015
+ };
3016
+
2791
3017
  // src/schemas/subscription.json
2792
3018
  var subscription_default = {
2793
3019
  defs: {
@@ -2942,6 +3168,8 @@ var schemas = [
2942
3168
  validate_default,
2943
3169
  search_default2,
2944
3170
  validate_default2,
3171
+ authEnhanced_default,
3172
+ authGeneral_default,
2945
3173
  subscription_default,
2946
3174
  tip_default
2947
3175
  ];