@atiproto/lexicons 0.4.0 → 0.5.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 +1432 -885
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1432 -885
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/account/subscription/get.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/get.defs.d.ts +29 -0
- package/dist/lexicons/com/atiproto/account/subscription/list.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/list.defs.d.ts +31 -0
- package/dist/lexicons/com/atiproto/account/subscription/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/subscription/validate.defs.d.ts +44 -0
- package/dist/lexicons/com/atiproto/account/subscription.d.ts +3 -0
- package/dist/lexicons/com/atiproto/account/tip/get.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/get.defs.d.ts +35 -0
- package/dist/lexicons/com/atiproto/account/tip/list.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/list.defs.d.ts +43 -0
- package/dist/lexicons/com/atiproto/account/tip/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/account/tip/validate.defs.d.ts +50 -0
- package/dist/lexicons/com/atiproto/account/tip.d.ts +3 -0
- package/dist/lexicons/com/atiproto/account.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/create.defs.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/subscription/validate.defs.d.ts +44 -0
- package/dist/lexicons/com/atiproto/feed/subscription.d.ts +1 -0
- package/dist/lexicons/com/atiproto/feed/tip/create.defs.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/tip/validate.d.ts +2 -0
- package/dist/lexicons/com/atiproto/feed/tip/validate.defs.d.ts +50 -0
- package/dist/lexicons/com/atiproto/feed/tip.d.ts +1 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.d.ts +2 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.defs.d.ts +42 -0
- package/dist/lexicons/com/atiproto/repo/subscription.d.ts +1 -2
- package/dist/lexicons/com/atiproto/repo/tip/count.d.ts +2 -0
- package/dist/lexicons/com/atiproto/repo/tip/count.defs.d.ts +48 -0
- package/dist/lexicons/com/atiproto/repo/tip.d.ts +1 -2
- package/dist/lexicons/com/atiproto/subscription.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/tip.defs.d.ts +52 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,15 +41,17 @@ __export(atiproto_exports, {
|
|
|
41
41
|
feed: () => feed_exports,
|
|
42
42
|
profile: () => profile_exports2,
|
|
43
43
|
repo: () => repo_exports,
|
|
44
|
-
subscription: () =>
|
|
45
|
-
tip: () =>
|
|
44
|
+
subscription: () => subscription_exports4,
|
|
45
|
+
tip: () => tip_exports4
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
// src/lexicons/com/atiproto/account.ts
|
|
49
49
|
var account_exports = {};
|
|
50
50
|
__export(account_exports, {
|
|
51
51
|
cart: () => cart_exports,
|
|
52
|
-
profile: () => profile_exports
|
|
52
|
+
profile: () => profile_exports,
|
|
53
|
+
subscription: () => subscription_exports,
|
|
54
|
+
tip: () => tip_exports
|
|
53
55
|
});
|
|
54
56
|
|
|
55
57
|
// src/lexicons/com/atiproto/account/cart.ts
|
|
@@ -180,7 +182,7 @@ var main2 = import_lex2.l.record(
|
|
|
180
182
|
"any",
|
|
181
183
|
$nsid2,
|
|
182
184
|
import_lex2.l.object({
|
|
183
|
-
subject: import_lex2.l.string({ format: "did" }),
|
|
185
|
+
subject: import_lex2.l.optional(import_lex2.l.string({ format: "did" })),
|
|
184
186
|
recordUri: import_lex2.l.optional(import_lex2.l.string({ format: "at-uri" })),
|
|
185
187
|
amount: import_lex2.l.integer({ minimum: 0 }),
|
|
186
188
|
currency: import_lex2.l.string({ maxLength: 3 }),
|
|
@@ -212,7 +214,7 @@ var view2 = import_lex2.l.typedObject(
|
|
|
212
214
|
$nsid2,
|
|
213
215
|
"view",
|
|
214
216
|
import_lex2.l.object({
|
|
215
|
-
subject: import_lex2.l.string({ format: "did" }),
|
|
217
|
+
subject: import_lex2.l.optional(import_lex2.l.string({ format: "did" })),
|
|
216
218
|
recordUri: import_lex2.l.optional(import_lex2.l.string({ format: "at-uri" })),
|
|
217
219
|
amount: import_lex2.l.integer({ minimum: 0 }),
|
|
218
220
|
currency: import_lex2.l.string({ maxLength: 3 }),
|
|
@@ -281,7 +283,7 @@ var view3 = import_lex3.l.typedObject(
|
|
|
281
283
|
$nsid3,
|
|
282
284
|
"view",
|
|
283
285
|
import_lex3.l.object({
|
|
284
|
-
subject: import_lex3.l.string({ format: "did" }),
|
|
286
|
+
subject: import_lex3.l.optional(import_lex3.l.string({ format: "did" })),
|
|
285
287
|
amount: import_lex3.l.integer({ minimum: 0 }),
|
|
286
288
|
currency: import_lex3.l.string({ maxLength: 3 }),
|
|
287
289
|
interval: import_lex3.l.enum(["monthly", "yearly"]),
|
|
@@ -636,26 +638,282 @@ var $params7 = main11.parameters;
|
|
|
636
638
|
var $input4 = main11.input;
|
|
637
639
|
var $output7 = main11.output;
|
|
638
640
|
|
|
641
|
+
// src/lexicons/com/atiproto/account/subscription.ts
|
|
642
|
+
var subscription_exports = {};
|
|
643
|
+
__export(subscription_exports, {
|
|
644
|
+
get: () => get_exports3,
|
|
645
|
+
list: () => list_exports2,
|
|
646
|
+
validate: () => validate_exports
|
|
647
|
+
});
|
|
648
|
+
|
|
649
|
+
// src/lexicons/com/atiproto/account/subscription/get.ts
|
|
650
|
+
var get_exports3 = {};
|
|
651
|
+
__export(get_exports3, {
|
|
652
|
+
$defs: () => get_defs_exports3,
|
|
653
|
+
$lxm: () => $lxm8,
|
|
654
|
+
$nsid: () => $nsid12,
|
|
655
|
+
$output: () => $output8,
|
|
656
|
+
$params: () => $params8,
|
|
657
|
+
main: () => main12
|
|
658
|
+
});
|
|
659
|
+
|
|
660
|
+
// src/lexicons/com/atiproto/account/subscription/get.defs.ts
|
|
661
|
+
var get_defs_exports3 = {};
|
|
662
|
+
__export(get_defs_exports3, {
|
|
663
|
+
$lxm: () => $lxm8,
|
|
664
|
+
$nsid: () => $nsid12,
|
|
665
|
+
$output: () => $output8,
|
|
666
|
+
$params: () => $params8,
|
|
667
|
+
main: () => main12
|
|
668
|
+
});
|
|
669
|
+
var import_lex12 = require("@atproto/lex");
|
|
670
|
+
var $nsid12 = "com.atiproto.account.subscription.get";
|
|
671
|
+
var main12 = import_lex12.l.query(
|
|
672
|
+
$nsid12,
|
|
673
|
+
import_lex12.l.params({
|
|
674
|
+
uri: import_lex12.l.optional(import_lex12.l.string({ format: "at-uri" })),
|
|
675
|
+
sender: import_lex12.l.optional(import_lex12.l.string({ format: "did" }))
|
|
676
|
+
}),
|
|
677
|
+
import_lex12.l.jsonPayload({
|
|
678
|
+
subscription: import_lex12.l.ref(
|
|
679
|
+
(() => view3)
|
|
680
|
+
)
|
|
681
|
+
})
|
|
682
|
+
);
|
|
683
|
+
var $lxm8 = main12.nsid;
|
|
684
|
+
var $params8 = main12.parameters;
|
|
685
|
+
var $output8 = main12.output;
|
|
686
|
+
|
|
687
|
+
// src/lexicons/com/atiproto/account/subscription/list.ts
|
|
688
|
+
var list_exports2 = {};
|
|
689
|
+
__export(list_exports2, {
|
|
690
|
+
$defs: () => list_defs_exports2,
|
|
691
|
+
$lxm: () => $lxm9,
|
|
692
|
+
$nsid: () => $nsid13,
|
|
693
|
+
$output: () => $output9,
|
|
694
|
+
$params: () => $params9,
|
|
695
|
+
main: () => main13
|
|
696
|
+
});
|
|
697
|
+
|
|
698
|
+
// src/lexicons/com/atiproto/account/subscription/list.defs.ts
|
|
699
|
+
var list_defs_exports2 = {};
|
|
700
|
+
__export(list_defs_exports2, {
|
|
701
|
+
$lxm: () => $lxm9,
|
|
702
|
+
$nsid: () => $nsid13,
|
|
703
|
+
$output: () => $output9,
|
|
704
|
+
$params: () => $params9,
|
|
705
|
+
main: () => main13
|
|
706
|
+
});
|
|
707
|
+
var import_lex13 = require("@atproto/lex");
|
|
708
|
+
var $nsid13 = "com.atiproto.account.subscription.list";
|
|
709
|
+
var main13 = import_lex13.l.query(
|
|
710
|
+
$nsid13,
|
|
711
|
+
import_lex13.l.params({
|
|
712
|
+
cursor: import_lex13.l.optional(import_lex13.l.string({ maxLength: 512 })),
|
|
713
|
+
limit: import_lex13.l.optional(
|
|
714
|
+
import_lex13.l.withDefault(import_lex13.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
715
|
+
)
|
|
716
|
+
}),
|
|
717
|
+
import_lex13.l.jsonPayload({
|
|
718
|
+
subscriptions: import_lex13.l.array(
|
|
719
|
+
import_lex13.l.ref(
|
|
720
|
+
(() => view3)
|
|
721
|
+
)
|
|
722
|
+
),
|
|
723
|
+
cursor: import_lex13.l.optional(import_lex13.l.string({ maxLength: 512 }))
|
|
724
|
+
})
|
|
725
|
+
);
|
|
726
|
+
var $lxm9 = main13.nsid;
|
|
727
|
+
var $params9 = main13.parameters;
|
|
728
|
+
var $output9 = main13.output;
|
|
729
|
+
|
|
730
|
+
// src/lexicons/com/atiproto/account/subscription/validate.ts
|
|
731
|
+
var validate_exports = {};
|
|
732
|
+
__export(validate_exports, {
|
|
733
|
+
$defs: () => validate_defs_exports,
|
|
734
|
+
$lxm: () => $lxm10,
|
|
735
|
+
$nsid: () => $nsid14,
|
|
736
|
+
$output: () => $output10,
|
|
737
|
+
$params: () => $params10,
|
|
738
|
+
main: () => main14
|
|
739
|
+
});
|
|
740
|
+
|
|
741
|
+
// src/lexicons/com/atiproto/account/subscription/validate.defs.ts
|
|
742
|
+
var validate_defs_exports = {};
|
|
743
|
+
__export(validate_defs_exports, {
|
|
744
|
+
$lxm: () => $lxm10,
|
|
745
|
+
$nsid: () => $nsid14,
|
|
746
|
+
$output: () => $output10,
|
|
747
|
+
$params: () => $params10,
|
|
748
|
+
main: () => main14
|
|
749
|
+
});
|
|
750
|
+
var import_lex14 = require("@atproto/lex");
|
|
751
|
+
var $nsid14 = "com.atiproto.account.subscription.validate";
|
|
752
|
+
var main14 = import_lex14.l.query(
|
|
753
|
+
$nsid14,
|
|
754
|
+
import_lex14.l.params({
|
|
755
|
+
subscriptionUri: import_lex14.l.optional(import_lex14.l.string({ format: "at-uri" })),
|
|
756
|
+
sender: import_lex14.l.optional(import_lex14.l.string({ format: "did" })),
|
|
757
|
+
amount: import_lex14.l.optional(import_lex14.l.integer())
|
|
758
|
+
}),
|
|
759
|
+
import_lex14.l.jsonPayload({
|
|
760
|
+
valid: import_lex14.l.boolean(),
|
|
761
|
+
amount: import_lex14.l.optional(import_lex14.l.integer()),
|
|
762
|
+
currency: import_lex14.l.optional(import_lex14.l.string({ maxLength: 3 })),
|
|
763
|
+
reason: import_lex14.l.optional(import_lex14.l.string({ maxLength: 1024 }))
|
|
764
|
+
})
|
|
765
|
+
);
|
|
766
|
+
var $lxm10 = main14.nsid;
|
|
767
|
+
var $params10 = main14.parameters;
|
|
768
|
+
var $output10 = main14.output;
|
|
769
|
+
|
|
770
|
+
// src/lexicons/com/atiproto/account/tip.ts
|
|
771
|
+
var tip_exports = {};
|
|
772
|
+
__export(tip_exports, {
|
|
773
|
+
get: () => get_exports4,
|
|
774
|
+
list: () => list_exports3,
|
|
775
|
+
validate: () => validate_exports2
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
// src/lexicons/com/atiproto/account/tip/get.ts
|
|
779
|
+
var get_exports4 = {};
|
|
780
|
+
__export(get_exports4, {
|
|
781
|
+
$defs: () => get_defs_exports4,
|
|
782
|
+
$lxm: () => $lxm11,
|
|
783
|
+
$nsid: () => $nsid15,
|
|
784
|
+
$output: () => $output11,
|
|
785
|
+
$params: () => $params11,
|
|
786
|
+
main: () => main15
|
|
787
|
+
});
|
|
788
|
+
|
|
789
|
+
// src/lexicons/com/atiproto/account/tip/get.defs.ts
|
|
790
|
+
var get_defs_exports4 = {};
|
|
791
|
+
__export(get_defs_exports4, {
|
|
792
|
+
$lxm: () => $lxm11,
|
|
793
|
+
$nsid: () => $nsid15,
|
|
794
|
+
$output: () => $output11,
|
|
795
|
+
$params: () => $params11,
|
|
796
|
+
main: () => main15
|
|
797
|
+
});
|
|
798
|
+
var import_lex15 = require("@atproto/lex");
|
|
799
|
+
var $nsid15 = "com.atiproto.account.tip.get";
|
|
800
|
+
var main15 = import_lex15.l.query(
|
|
801
|
+
$nsid15,
|
|
802
|
+
import_lex15.l.params({
|
|
803
|
+
uri: import_lex15.l.optional(import_lex15.l.string({ format: "at-uri" })),
|
|
804
|
+
sender: import_lex15.l.optional(import_lex15.l.string({ format: "did" })),
|
|
805
|
+
recordUri: import_lex15.l.optional(import_lex15.l.string({ format: "at-uri" }))
|
|
806
|
+
}),
|
|
807
|
+
import_lex15.l.jsonPayload({
|
|
808
|
+
tip: import_lex15.l.ref((() => view2))
|
|
809
|
+
})
|
|
810
|
+
);
|
|
811
|
+
var $lxm11 = main15.nsid;
|
|
812
|
+
var $params11 = main15.parameters;
|
|
813
|
+
var $output11 = main15.output;
|
|
814
|
+
|
|
815
|
+
// src/lexicons/com/atiproto/account/tip/list.ts
|
|
816
|
+
var list_exports3 = {};
|
|
817
|
+
__export(list_exports3, {
|
|
818
|
+
$defs: () => list_defs_exports3,
|
|
819
|
+
$lxm: () => $lxm12,
|
|
820
|
+
$nsid: () => $nsid16,
|
|
821
|
+
$output: () => $output12,
|
|
822
|
+
$params: () => $params12,
|
|
823
|
+
main: () => main16
|
|
824
|
+
});
|
|
825
|
+
|
|
826
|
+
// src/lexicons/com/atiproto/account/tip/list.defs.ts
|
|
827
|
+
var list_defs_exports3 = {};
|
|
828
|
+
__export(list_defs_exports3, {
|
|
829
|
+
$lxm: () => $lxm12,
|
|
830
|
+
$nsid: () => $nsid16,
|
|
831
|
+
$output: () => $output12,
|
|
832
|
+
$params: () => $params12,
|
|
833
|
+
main: () => main16
|
|
834
|
+
});
|
|
835
|
+
var import_lex16 = require("@atproto/lex");
|
|
836
|
+
var $nsid16 = "com.atiproto.account.tip.list";
|
|
837
|
+
var main16 = import_lex16.l.query(
|
|
838
|
+
$nsid16,
|
|
839
|
+
import_lex16.l.params({
|
|
840
|
+
sender: import_lex16.l.optional(import_lex16.l.string({ format: "did" })),
|
|
841
|
+
recordUri: import_lex16.l.optional(import_lex16.l.string({ format: "at-uri" })),
|
|
842
|
+
cursor: import_lex16.l.optional(import_lex16.l.string({ maxLength: 512 })),
|
|
843
|
+
limit: import_lex16.l.optional(
|
|
844
|
+
import_lex16.l.withDefault(import_lex16.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
845
|
+
)
|
|
846
|
+
}),
|
|
847
|
+
import_lex16.l.jsonPayload({
|
|
848
|
+
tips: import_lex16.l.array(import_lex16.l.ref((() => view2))),
|
|
849
|
+
cursor: import_lex16.l.optional(import_lex16.l.string({ maxLength: 512 }))
|
|
850
|
+
})
|
|
851
|
+
);
|
|
852
|
+
var $lxm12 = main16.nsid;
|
|
853
|
+
var $params12 = main16.parameters;
|
|
854
|
+
var $output12 = main16.output;
|
|
855
|
+
|
|
856
|
+
// src/lexicons/com/atiproto/account/tip/validate.ts
|
|
857
|
+
var validate_exports2 = {};
|
|
858
|
+
__export(validate_exports2, {
|
|
859
|
+
$defs: () => validate_defs_exports2,
|
|
860
|
+
$lxm: () => $lxm13,
|
|
861
|
+
$nsid: () => $nsid17,
|
|
862
|
+
$output: () => $output13,
|
|
863
|
+
$params: () => $params13,
|
|
864
|
+
main: () => main17
|
|
865
|
+
});
|
|
866
|
+
|
|
867
|
+
// src/lexicons/com/atiproto/account/tip/validate.defs.ts
|
|
868
|
+
var validate_defs_exports2 = {};
|
|
869
|
+
__export(validate_defs_exports2, {
|
|
870
|
+
$lxm: () => $lxm13,
|
|
871
|
+
$nsid: () => $nsid17,
|
|
872
|
+
$output: () => $output13,
|
|
873
|
+
$params: () => $params13,
|
|
874
|
+
main: () => main17
|
|
875
|
+
});
|
|
876
|
+
var import_lex17 = require("@atproto/lex");
|
|
877
|
+
var $nsid17 = "com.atiproto.account.tip.validate";
|
|
878
|
+
var main17 = import_lex17.l.query(
|
|
879
|
+
$nsid17,
|
|
880
|
+
import_lex17.l.params({
|
|
881
|
+
tipUri: import_lex17.l.optional(import_lex17.l.string({ format: "at-uri" })),
|
|
882
|
+
recordUri: import_lex17.l.optional(import_lex17.l.string({ format: "at-uri" })),
|
|
883
|
+
sender: import_lex17.l.optional(import_lex17.l.string({ format: "did" })),
|
|
884
|
+
amount: import_lex17.l.optional(import_lex17.l.integer())
|
|
885
|
+
}),
|
|
886
|
+
import_lex17.l.jsonPayload({
|
|
887
|
+
valid: import_lex17.l.boolean(),
|
|
888
|
+
amount: import_lex17.l.optional(import_lex17.l.integer()),
|
|
889
|
+
currency: import_lex17.l.optional(import_lex17.l.string({ maxLength: 3 })),
|
|
890
|
+
reason: import_lex17.l.optional(import_lex17.l.string({ maxLength: 1024 }))
|
|
891
|
+
})
|
|
892
|
+
);
|
|
893
|
+
var $lxm13 = main17.nsid;
|
|
894
|
+
var $params13 = main17.parameters;
|
|
895
|
+
var $output13 = main17.output;
|
|
896
|
+
|
|
639
897
|
// src/lexicons/com/atiproto/authEnhanced.ts
|
|
640
898
|
var authEnhanced_exports = {};
|
|
641
899
|
__export(authEnhanced_exports, {
|
|
642
900
|
$defs: () => authEnhanced_defs_exports,
|
|
643
|
-
$nsid: () => $
|
|
644
|
-
main: () =>
|
|
901
|
+
$nsid: () => $nsid18,
|
|
902
|
+
main: () => main18
|
|
645
903
|
});
|
|
646
904
|
|
|
647
905
|
// src/lexicons/com/atiproto/authEnhanced.defs.ts
|
|
648
906
|
var authEnhanced_defs_exports = {};
|
|
649
907
|
__export(authEnhanced_defs_exports, {
|
|
650
|
-
$nsid: () => $
|
|
651
|
-
main: () =>
|
|
908
|
+
$nsid: () => $nsid18,
|
|
909
|
+
main: () => main18
|
|
652
910
|
});
|
|
653
|
-
var
|
|
654
|
-
var $
|
|
655
|
-
var
|
|
656
|
-
$
|
|
911
|
+
var import_lex18 = require("@atproto/lex");
|
|
912
|
+
var $nsid18 = "com.atiproto.authEnhanced";
|
|
913
|
+
var main18 = import_lex18.l.permissionSet(
|
|
914
|
+
$nsid18,
|
|
657
915
|
[
|
|
658
|
-
|
|
916
|
+
import_lex18.l.permission("repo", {
|
|
659
917
|
collection: [
|
|
660
918
|
"com.atiproto.cart",
|
|
661
919
|
"com.atiproto.subscription",
|
|
@@ -663,7 +921,7 @@ var main12 = import_lex12.l.permissionSet(
|
|
|
663
921
|
"com.atiproto.profile"
|
|
664
922
|
]
|
|
665
923
|
}),
|
|
666
|
-
|
|
924
|
+
import_lex18.l.permission("rpc", {
|
|
667
925
|
inheritAud: true,
|
|
668
926
|
lxm: [
|
|
669
927
|
"com.atiproto.account.cart.clone",
|
|
@@ -673,21 +931,27 @@ var main12 = import_lex12.l.permissionSet(
|
|
|
673
931
|
"com.atiproto.account.cart.put",
|
|
674
932
|
"com.atiproto.account.profile.get",
|
|
675
933
|
"com.atiproto.account.profile.put",
|
|
934
|
+
"com.atiproto.account.subscription.get",
|
|
935
|
+
"com.atiproto.account.subscription.list",
|
|
936
|
+
"com.atiproto.account.subscription.validate",
|
|
937
|
+
"com.atiproto.account.tip.get",
|
|
938
|
+
"com.atiproto.account.tip.list",
|
|
939
|
+
"com.atiproto.account.tip.validate",
|
|
676
940
|
"com.atiproto.feed.list",
|
|
677
941
|
"com.atiproto.feed.subscription.cancel",
|
|
678
942
|
"com.atiproto.feed.subscription.create",
|
|
679
943
|
"com.atiproto.feed.subscription.get",
|
|
680
944
|
"com.atiproto.feed.subscription.list",
|
|
681
945
|
"com.atiproto.feed.subscription.put",
|
|
946
|
+
"com.atiproto.feed.subscription.validate",
|
|
682
947
|
"com.atiproto.feed.tip.create",
|
|
683
948
|
"com.atiproto.feed.tip.get",
|
|
684
949
|
"com.atiproto.feed.tip.list",
|
|
685
950
|
"com.atiproto.feed.tip.put",
|
|
951
|
+
"com.atiproto.feed.tip.validate",
|
|
686
952
|
"com.atiproto.repo.profile.get",
|
|
687
|
-
"com.atiproto.repo.subscription.
|
|
688
|
-
"com.atiproto.repo.
|
|
689
|
-
"com.atiproto.repo.tip.search",
|
|
690
|
-
"com.atiproto.repo.tip.validate"
|
|
953
|
+
"com.atiproto.repo.subscription.count",
|
|
954
|
+
"com.atiproto.repo.tip.count"
|
|
691
955
|
]
|
|
692
956
|
})
|
|
693
957
|
],
|
|
@@ -701,29 +965,29 @@ var main12 = import_lex12.l.permissionSet(
|
|
|
701
965
|
var authGeneral_exports = {};
|
|
702
966
|
__export(authGeneral_exports, {
|
|
703
967
|
$defs: () => authGeneral_defs_exports,
|
|
704
|
-
$nsid: () => $
|
|
705
|
-
main: () =>
|
|
968
|
+
$nsid: () => $nsid19,
|
|
969
|
+
main: () => main19
|
|
706
970
|
});
|
|
707
971
|
|
|
708
972
|
// src/lexicons/com/atiproto/authGeneral.defs.ts
|
|
709
973
|
var authGeneral_defs_exports = {};
|
|
710
974
|
__export(authGeneral_defs_exports, {
|
|
711
|
-
$nsid: () => $
|
|
712
|
-
main: () =>
|
|
975
|
+
$nsid: () => $nsid19,
|
|
976
|
+
main: () => main19
|
|
713
977
|
});
|
|
714
|
-
var
|
|
715
|
-
var $
|
|
716
|
-
var
|
|
717
|
-
$
|
|
978
|
+
var import_lex19 = require("@atproto/lex");
|
|
979
|
+
var $nsid19 = "com.atiproto.authGeneral";
|
|
980
|
+
var main19 = import_lex19.l.permissionSet(
|
|
981
|
+
$nsid19,
|
|
718
982
|
[
|
|
719
|
-
|
|
983
|
+
import_lex19.l.permission("repo", {
|
|
720
984
|
collection: [
|
|
721
985
|
"com.atiproto.cart",
|
|
722
986
|
"com.atiproto.subscription",
|
|
723
987
|
"com.atiproto.tip"
|
|
724
988
|
]
|
|
725
989
|
}),
|
|
726
|
-
|
|
990
|
+
import_lex19.l.permission("rpc", {
|
|
727
991
|
inheritAud: true,
|
|
728
992
|
lxm: [
|
|
729
993
|
"com.atiproto.account.cart.clone",
|
|
@@ -731,21 +995,27 @@ var main13 = import_lex13.l.permissionSet(
|
|
|
731
995
|
"com.atiproto.account.cart.get",
|
|
732
996
|
"com.atiproto.account.cart.list",
|
|
733
997
|
"com.atiproto.account.cart.put",
|
|
998
|
+
"com.atiproto.account.subscription.get",
|
|
999
|
+
"com.atiproto.account.subscription.list",
|
|
1000
|
+
"com.atiproto.account.subscription.validate",
|
|
1001
|
+
"com.atiproto.account.tip.get",
|
|
1002
|
+
"com.atiproto.account.tip.list",
|
|
1003
|
+
"com.atiproto.account.tip.validate",
|
|
734
1004
|
"com.atiproto.feed.list",
|
|
735
1005
|
"com.atiproto.feed.subscription.cancel",
|
|
736
1006
|
"com.atiproto.feed.subscription.create",
|
|
737
1007
|
"com.atiproto.feed.subscription.get",
|
|
738
1008
|
"com.atiproto.feed.subscription.list",
|
|
739
1009
|
"com.atiproto.feed.subscription.put",
|
|
1010
|
+
"com.atiproto.feed.subscription.validate",
|
|
740
1011
|
"com.atiproto.feed.tip.create",
|
|
741
1012
|
"com.atiproto.feed.tip.get",
|
|
742
1013
|
"com.atiproto.feed.tip.list",
|
|
743
1014
|
"com.atiproto.feed.tip.put",
|
|
1015
|
+
"com.atiproto.feed.tip.validate",
|
|
744
1016
|
"com.atiproto.repo.profile.get",
|
|
745
|
-
"com.atiproto.repo.subscription.
|
|
746
|
-
"com.atiproto.repo.
|
|
747
|
-
"com.atiproto.repo.tip.search",
|
|
748
|
-
"com.atiproto.repo.tip.validate"
|
|
1017
|
+
"com.atiproto.repo.subscription.count",
|
|
1018
|
+
"com.atiproto.repo.tip.count"
|
|
749
1019
|
]
|
|
750
1020
|
})
|
|
751
1021
|
],
|
|
@@ -780,63 +1050,64 @@ __export(cart_exports2, {
|
|
|
780
1050
|
// src/lexicons/com/atiproto/feed.ts
|
|
781
1051
|
var feed_exports = {};
|
|
782
1052
|
__export(feed_exports, {
|
|
783
|
-
list: () =>
|
|
784
|
-
subscription: () =>
|
|
785
|
-
tip: () =>
|
|
1053
|
+
list: () => list_exports4,
|
|
1054
|
+
subscription: () => subscription_exports2,
|
|
1055
|
+
tip: () => tip_exports2
|
|
786
1056
|
});
|
|
787
1057
|
|
|
788
1058
|
// src/lexicons/com/atiproto/feed/list.ts
|
|
789
|
-
var
|
|
790
|
-
__export(
|
|
791
|
-
$defs: () =>
|
|
792
|
-
$lxm: () => $
|
|
793
|
-
$nsid: () => $
|
|
794
|
-
$output: () => $
|
|
795
|
-
$params: () => $
|
|
796
|
-
main: () =>
|
|
1059
|
+
var list_exports4 = {};
|
|
1060
|
+
__export(list_exports4, {
|
|
1061
|
+
$defs: () => list_defs_exports4,
|
|
1062
|
+
$lxm: () => $lxm14,
|
|
1063
|
+
$nsid: () => $nsid20,
|
|
1064
|
+
$output: () => $output14,
|
|
1065
|
+
$params: () => $params14,
|
|
1066
|
+
main: () => main20
|
|
797
1067
|
});
|
|
798
1068
|
|
|
799
1069
|
// src/lexicons/com/atiproto/feed/list.defs.ts
|
|
800
|
-
var
|
|
801
|
-
__export(
|
|
802
|
-
$lxm: () => $
|
|
803
|
-
$nsid: () => $
|
|
804
|
-
$output: () => $
|
|
805
|
-
$params: () => $
|
|
806
|
-
main: () =>
|
|
1070
|
+
var list_defs_exports4 = {};
|
|
1071
|
+
__export(list_defs_exports4, {
|
|
1072
|
+
$lxm: () => $lxm14,
|
|
1073
|
+
$nsid: () => $nsid20,
|
|
1074
|
+
$output: () => $output14,
|
|
1075
|
+
$params: () => $params14,
|
|
1076
|
+
main: () => main20
|
|
807
1077
|
});
|
|
808
|
-
var
|
|
809
|
-
var $
|
|
810
|
-
var
|
|
811
|
-
$
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
items:
|
|
815
|
-
|
|
1078
|
+
var import_lex20 = require("@atproto/lex");
|
|
1079
|
+
var $nsid20 = "com.atiproto.feed.list";
|
|
1080
|
+
var main20 = import_lex20.l.query(
|
|
1081
|
+
$nsid20,
|
|
1082
|
+
import_lex20.l.params(),
|
|
1083
|
+
import_lex20.l.jsonPayload({
|
|
1084
|
+
items: import_lex20.l.array(
|
|
1085
|
+
import_lex20.l.typedUnion(
|
|
816
1086
|
[
|
|
817
|
-
|
|
818
|
-
|
|
1087
|
+
import_lex20.l.typedRef((() => main2)),
|
|
1088
|
+
import_lex20.l.typedRef(
|
|
819
1089
|
(() => main3)
|
|
820
1090
|
)
|
|
821
1091
|
],
|
|
822
1092
|
false
|
|
823
1093
|
)
|
|
824
1094
|
),
|
|
825
|
-
cursor:
|
|
1095
|
+
cursor: import_lex20.l.optional(import_lex20.l.string({ maxLength: 512 }))
|
|
826
1096
|
})
|
|
827
1097
|
);
|
|
828
|
-
var $
|
|
829
|
-
var $
|
|
830
|
-
var $
|
|
1098
|
+
var $lxm14 = main20.nsid;
|
|
1099
|
+
var $params14 = main20.parameters;
|
|
1100
|
+
var $output14 = main20.output;
|
|
831
1101
|
|
|
832
1102
|
// src/lexicons/com/atiproto/feed/subscription.ts
|
|
833
|
-
var
|
|
834
|
-
__export(
|
|
1103
|
+
var subscription_exports2 = {};
|
|
1104
|
+
__export(subscription_exports2, {
|
|
835
1105
|
cancel: () => cancel_exports,
|
|
836
1106
|
create: () => create_exports2,
|
|
837
|
-
get: () =>
|
|
838
|
-
list: () =>
|
|
839
|
-
put: () => put_exports3
|
|
1107
|
+
get: () => get_exports5,
|
|
1108
|
+
list: () => list_exports5,
|
|
1109
|
+
put: () => put_exports3,
|
|
1110
|
+
validate: () => validate_exports3
|
|
840
1111
|
});
|
|
841
1112
|
|
|
842
1113
|
// src/lexicons/com/atiproto/feed/subscription/cancel.ts
|
|
@@ -844,174 +1115,175 @@ var cancel_exports = {};
|
|
|
844
1115
|
__export(cancel_exports, {
|
|
845
1116
|
$defs: () => cancel_defs_exports,
|
|
846
1117
|
$input: () => $input5,
|
|
847
|
-
$lxm: () => $
|
|
848
|
-
$nsid: () => $
|
|
849
|
-
$output: () => $
|
|
850
|
-
$params: () => $
|
|
851
|
-
main: () =>
|
|
1118
|
+
$lxm: () => $lxm15,
|
|
1119
|
+
$nsid: () => $nsid21,
|
|
1120
|
+
$output: () => $output15,
|
|
1121
|
+
$params: () => $params15,
|
|
1122
|
+
main: () => main21
|
|
852
1123
|
});
|
|
853
1124
|
|
|
854
1125
|
// src/lexicons/com/atiproto/feed/subscription/cancel.defs.ts
|
|
855
1126
|
var cancel_defs_exports = {};
|
|
856
1127
|
__export(cancel_defs_exports, {
|
|
857
1128
|
$input: () => $input5,
|
|
858
|
-
$lxm: () => $
|
|
859
|
-
$nsid: () => $
|
|
860
|
-
$output: () => $
|
|
861
|
-
$params: () => $
|
|
862
|
-
main: () =>
|
|
1129
|
+
$lxm: () => $lxm15,
|
|
1130
|
+
$nsid: () => $nsid21,
|
|
1131
|
+
$output: () => $output15,
|
|
1132
|
+
$params: () => $params15,
|
|
1133
|
+
main: () => main21
|
|
863
1134
|
});
|
|
864
|
-
var
|
|
865
|
-
var $
|
|
866
|
-
var
|
|
867
|
-
$
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
subscriptionUri:
|
|
872
|
-
subscription:
|
|
1135
|
+
var import_lex21 = require("@atproto/lex");
|
|
1136
|
+
var $nsid21 = "com.atiproto.feed.subscription.cancel";
|
|
1137
|
+
var main21 = import_lex21.l.procedure(
|
|
1138
|
+
$nsid21,
|
|
1139
|
+
import_lex21.l.params(),
|
|
1140
|
+
import_lex21.l.jsonPayload({ subscriptionUri: import_lex21.l.string({ format: "at-uri" }) }),
|
|
1141
|
+
import_lex21.l.jsonPayload({
|
|
1142
|
+
subscriptionUri: import_lex21.l.string({ format: "at-uri" }),
|
|
1143
|
+
subscription: import_lex21.l.ref(
|
|
873
1144
|
(() => view3)
|
|
874
1145
|
),
|
|
875
|
-
accessUntil:
|
|
1146
|
+
accessUntil: import_lex21.l.string({ format: "datetime" })
|
|
876
1147
|
})
|
|
877
1148
|
);
|
|
878
|
-
var $
|
|
879
|
-
var $
|
|
880
|
-
var $input5 =
|
|
881
|
-
var $
|
|
1149
|
+
var $lxm15 = main21.nsid;
|
|
1150
|
+
var $params15 = main21.parameters;
|
|
1151
|
+
var $input5 = main21.input;
|
|
1152
|
+
var $output15 = main21.output;
|
|
882
1153
|
|
|
883
1154
|
// src/lexicons/com/atiproto/feed/subscription/create.ts
|
|
884
1155
|
var create_exports2 = {};
|
|
885
1156
|
__export(create_exports2, {
|
|
886
1157
|
$defs: () => create_defs_exports2,
|
|
887
1158
|
$input: () => $input6,
|
|
888
|
-
$lxm: () => $
|
|
889
|
-
$nsid: () => $
|
|
890
|
-
$output: () => $
|
|
891
|
-
$params: () => $
|
|
892
|
-
main: () =>
|
|
1159
|
+
$lxm: () => $lxm16,
|
|
1160
|
+
$nsid: () => $nsid22,
|
|
1161
|
+
$output: () => $output16,
|
|
1162
|
+
$params: () => $params16,
|
|
1163
|
+
main: () => main22
|
|
893
1164
|
});
|
|
894
1165
|
|
|
895
1166
|
// src/lexicons/com/atiproto/feed/subscription/create.defs.ts
|
|
896
1167
|
var create_defs_exports2 = {};
|
|
897
1168
|
__export(create_defs_exports2, {
|
|
898
1169
|
$input: () => $input6,
|
|
899
|
-
$lxm: () => $
|
|
900
|
-
$nsid: () => $
|
|
901
|
-
$output: () => $
|
|
902
|
-
$params: () => $
|
|
903
|
-
main: () =>
|
|
1170
|
+
$lxm: () => $lxm16,
|
|
1171
|
+
$nsid: () => $nsid22,
|
|
1172
|
+
$output: () => $output16,
|
|
1173
|
+
$params: () => $params16,
|
|
1174
|
+
main: () => main22
|
|
904
1175
|
});
|
|
905
|
-
var
|
|
906
|
-
var $
|
|
907
|
-
var
|
|
908
|
-
$
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
subject:
|
|
912
|
-
amount:
|
|
913
|
-
currency:
|
|
914
|
-
interval:
|
|
915
|
-
cartUri:
|
|
916
|
-
redirectUrl:
|
|
1176
|
+
var import_lex22 = require("@atproto/lex");
|
|
1177
|
+
var $nsid22 = "com.atiproto.feed.subscription.create";
|
|
1178
|
+
var main22 = import_lex22.l.procedure(
|
|
1179
|
+
$nsid22,
|
|
1180
|
+
import_lex22.l.params(),
|
|
1181
|
+
import_lex22.l.jsonPayload({
|
|
1182
|
+
subject: import_lex22.l.string({ format: "did" }),
|
|
1183
|
+
amount: import_lex22.l.optional(import_lex22.l.integer()),
|
|
1184
|
+
currency: import_lex22.l.string({ maxLength: 3 }),
|
|
1185
|
+
interval: import_lex22.l.enum(["monthly", "yearly"]),
|
|
1186
|
+
cartUri: import_lex22.l.optional(import_lex22.l.string({ format: "at-uri" })),
|
|
1187
|
+
redirectUrl: import_lex22.l.optional(import_lex22.l.string({ format: "uri" })),
|
|
1188
|
+
isPrivate: import_lex22.l.optional(import_lex22.l.boolean())
|
|
917
1189
|
}),
|
|
918
|
-
|
|
919
|
-
subscriptionUri:
|
|
920
|
-
subscription:
|
|
1190
|
+
import_lex22.l.jsonPayload({
|
|
1191
|
+
subscriptionUri: import_lex22.l.string({ format: "at-uri" }),
|
|
1192
|
+
subscription: import_lex22.l.ref(
|
|
921
1193
|
(() => view3)
|
|
922
1194
|
),
|
|
923
|
-
cartUri:
|
|
924
|
-
cart:
|
|
925
|
-
|
|
1195
|
+
cartUri: import_lex22.l.optional(import_lex22.l.string({ format: "at-uri" })),
|
|
1196
|
+
cart: import_lex22.l.optional(
|
|
1197
|
+
import_lex22.l.ref((() => view))
|
|
926
1198
|
),
|
|
927
|
-
checkoutUrl:
|
|
1199
|
+
checkoutUrl: import_lex22.l.optional(import_lex22.l.string({ format: "uri" }))
|
|
928
1200
|
})
|
|
929
1201
|
);
|
|
930
|
-
var $
|
|
931
|
-
var $
|
|
932
|
-
var $input6 =
|
|
933
|
-
var $
|
|
1202
|
+
var $lxm16 = main22.nsid;
|
|
1203
|
+
var $params16 = main22.parameters;
|
|
1204
|
+
var $input6 = main22.input;
|
|
1205
|
+
var $output16 = main22.output;
|
|
934
1206
|
|
|
935
1207
|
// src/lexicons/com/atiproto/feed/subscription/get.ts
|
|
936
|
-
var
|
|
937
|
-
__export(
|
|
938
|
-
$defs: () =>
|
|
939
|
-
$lxm: () => $
|
|
940
|
-
$nsid: () => $
|
|
941
|
-
$output: () => $
|
|
942
|
-
$params: () => $
|
|
943
|
-
main: () =>
|
|
1208
|
+
var get_exports5 = {};
|
|
1209
|
+
__export(get_exports5, {
|
|
1210
|
+
$defs: () => get_defs_exports5,
|
|
1211
|
+
$lxm: () => $lxm17,
|
|
1212
|
+
$nsid: () => $nsid23,
|
|
1213
|
+
$output: () => $output17,
|
|
1214
|
+
$params: () => $params17,
|
|
1215
|
+
main: () => main23
|
|
944
1216
|
});
|
|
945
1217
|
|
|
946
1218
|
// src/lexicons/com/atiproto/feed/subscription/get.defs.ts
|
|
947
|
-
var
|
|
948
|
-
__export(
|
|
949
|
-
$lxm: () => $
|
|
950
|
-
$nsid: () => $
|
|
951
|
-
$output: () => $
|
|
952
|
-
$params: () => $
|
|
953
|
-
main: () =>
|
|
1219
|
+
var get_defs_exports5 = {};
|
|
1220
|
+
__export(get_defs_exports5, {
|
|
1221
|
+
$lxm: () => $lxm17,
|
|
1222
|
+
$nsid: () => $nsid23,
|
|
1223
|
+
$output: () => $output17,
|
|
1224
|
+
$params: () => $params17,
|
|
1225
|
+
main: () => main23
|
|
954
1226
|
});
|
|
955
|
-
var
|
|
956
|
-
var $
|
|
957
|
-
var
|
|
958
|
-
$
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
uri:
|
|
962
|
-
cid:
|
|
963
|
-
record:
|
|
1227
|
+
var import_lex23 = require("@atproto/lex");
|
|
1228
|
+
var $nsid23 = "com.atiproto.feed.subscription.get";
|
|
1229
|
+
var main23 = import_lex23.l.query(
|
|
1230
|
+
$nsid23,
|
|
1231
|
+
import_lex23.l.params({ uri: import_lex23.l.string({ format: "at-uri" }) }),
|
|
1232
|
+
import_lex23.l.jsonPayload({
|
|
1233
|
+
uri: import_lex23.l.string({ format: "at-uri" }),
|
|
1234
|
+
cid: import_lex23.l.string({ format: "cid" }),
|
|
1235
|
+
record: import_lex23.l.ref(
|
|
964
1236
|
(() => view3)
|
|
965
1237
|
)
|
|
966
1238
|
})
|
|
967
1239
|
);
|
|
968
|
-
var $
|
|
969
|
-
var $
|
|
970
|
-
var $
|
|
1240
|
+
var $lxm17 = main23.nsid;
|
|
1241
|
+
var $params17 = main23.parameters;
|
|
1242
|
+
var $output17 = main23.output;
|
|
971
1243
|
|
|
972
1244
|
// src/lexicons/com/atiproto/feed/subscription/list.ts
|
|
973
|
-
var
|
|
974
|
-
__export(
|
|
975
|
-
$defs: () =>
|
|
976
|
-
$lxm: () => $
|
|
977
|
-
$nsid: () => $
|
|
978
|
-
$output: () => $
|
|
979
|
-
$params: () => $
|
|
980
|
-
main: () =>
|
|
1245
|
+
var list_exports5 = {};
|
|
1246
|
+
__export(list_exports5, {
|
|
1247
|
+
$defs: () => list_defs_exports5,
|
|
1248
|
+
$lxm: () => $lxm18,
|
|
1249
|
+
$nsid: () => $nsid24,
|
|
1250
|
+
$output: () => $output18,
|
|
1251
|
+
$params: () => $params18,
|
|
1252
|
+
main: () => main24,
|
|
981
1253
|
subscriptionResponse: () => subscriptionResponse
|
|
982
1254
|
});
|
|
983
1255
|
|
|
984
1256
|
// src/lexicons/com/atiproto/feed/subscription/list.defs.ts
|
|
985
|
-
var
|
|
986
|
-
__export(
|
|
987
|
-
$lxm: () => $
|
|
988
|
-
$nsid: () => $
|
|
989
|
-
$output: () => $
|
|
990
|
-
$params: () => $
|
|
991
|
-
main: () =>
|
|
1257
|
+
var list_defs_exports5 = {};
|
|
1258
|
+
__export(list_defs_exports5, {
|
|
1259
|
+
$lxm: () => $lxm18,
|
|
1260
|
+
$nsid: () => $nsid24,
|
|
1261
|
+
$output: () => $output18,
|
|
1262
|
+
$params: () => $params18,
|
|
1263
|
+
main: () => main24,
|
|
992
1264
|
subscriptionResponse: () => subscriptionResponse
|
|
993
1265
|
});
|
|
994
|
-
var
|
|
995
|
-
var $
|
|
996
|
-
var
|
|
997
|
-
$
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
subscriptions:
|
|
1001
|
-
|
|
1266
|
+
var import_lex24 = require("@atproto/lex");
|
|
1267
|
+
var $nsid24 = "com.atiproto.feed.subscription.list";
|
|
1268
|
+
var main24 = import_lex24.l.query(
|
|
1269
|
+
$nsid24,
|
|
1270
|
+
import_lex24.l.params(),
|
|
1271
|
+
import_lex24.l.jsonPayload({
|
|
1272
|
+
subscriptions: import_lex24.l.array(
|
|
1273
|
+
import_lex24.l.ref((() => subscriptionResponse))
|
|
1002
1274
|
),
|
|
1003
|
-
cursor:
|
|
1275
|
+
cursor: import_lex24.l.optional(import_lex24.l.string({ maxLength: 512 }))
|
|
1004
1276
|
})
|
|
1005
1277
|
);
|
|
1006
|
-
var $
|
|
1007
|
-
var $
|
|
1008
|
-
var $
|
|
1009
|
-
var subscriptionResponse =
|
|
1010
|
-
$
|
|
1278
|
+
var $lxm18 = main24.nsid;
|
|
1279
|
+
var $params18 = main24.parameters;
|
|
1280
|
+
var $output18 = main24.output;
|
|
1281
|
+
var subscriptionResponse = import_lex24.l.typedObject(
|
|
1282
|
+
$nsid24,
|
|
1011
1283
|
"subscriptionResponse",
|
|
1012
|
-
|
|
1013
|
-
uri:
|
|
1014
|
-
record:
|
|
1284
|
+
import_lex24.l.object({
|
|
1285
|
+
uri: import_lex24.l.string({ format: "at-uri" }),
|
|
1286
|
+
record: import_lex24.l.ref(
|
|
1015
1287
|
(() => view3)
|
|
1016
1288
|
)
|
|
1017
1289
|
})
|
|
@@ -1022,51 +1294,92 @@ var put_exports3 = {};
|
|
|
1022
1294
|
__export(put_exports3, {
|
|
1023
1295
|
$defs: () => put_defs_exports3,
|
|
1024
1296
|
$input: () => $input7,
|
|
1025
|
-
$lxm: () => $
|
|
1026
|
-
$nsid: () => $
|
|
1027
|
-
$output: () => $
|
|
1028
|
-
$params: () => $
|
|
1029
|
-
main: () =>
|
|
1297
|
+
$lxm: () => $lxm19,
|
|
1298
|
+
$nsid: () => $nsid25,
|
|
1299
|
+
$output: () => $output19,
|
|
1300
|
+
$params: () => $params19,
|
|
1301
|
+
main: () => main25
|
|
1030
1302
|
});
|
|
1031
1303
|
|
|
1032
1304
|
// src/lexicons/com/atiproto/feed/subscription/put.defs.ts
|
|
1033
1305
|
var put_defs_exports3 = {};
|
|
1034
1306
|
__export(put_defs_exports3, {
|
|
1035
1307
|
$input: () => $input7,
|
|
1036
|
-
$lxm: () => $
|
|
1037
|
-
$nsid: () => $
|
|
1038
|
-
$output: () => $
|
|
1039
|
-
$params: () => $
|
|
1040
|
-
main: () =>
|
|
1308
|
+
$lxm: () => $lxm19,
|
|
1309
|
+
$nsid: () => $nsid25,
|
|
1310
|
+
$output: () => $output19,
|
|
1311
|
+
$params: () => $params19,
|
|
1312
|
+
main: () => main25
|
|
1041
1313
|
});
|
|
1042
|
-
var
|
|
1043
|
-
var $
|
|
1044
|
-
var
|
|
1045
|
-
$
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
uri:
|
|
1049
|
-
record:
|
|
1314
|
+
var import_lex25 = require("@atproto/lex");
|
|
1315
|
+
var $nsid25 = "com.atiproto.feed.subscription.put";
|
|
1316
|
+
var main25 = import_lex25.l.procedure(
|
|
1317
|
+
$nsid25,
|
|
1318
|
+
import_lex25.l.params(),
|
|
1319
|
+
import_lex25.l.jsonPayload({
|
|
1320
|
+
uri: import_lex25.l.string({ format: "at-uri" }),
|
|
1321
|
+
record: import_lex25.l.ref(
|
|
1050
1322
|
(() => main3)
|
|
1051
1323
|
)
|
|
1052
1324
|
}),
|
|
1053
|
-
|
|
1054
|
-
uri:
|
|
1055
|
-
cid:
|
|
1325
|
+
import_lex25.l.jsonPayload({
|
|
1326
|
+
uri: import_lex25.l.string({ format: "at-uri" }),
|
|
1327
|
+
cid: import_lex25.l.string({ format: "cid" })
|
|
1328
|
+
})
|
|
1329
|
+
);
|
|
1330
|
+
var $lxm19 = main25.nsid;
|
|
1331
|
+
var $params19 = main25.parameters;
|
|
1332
|
+
var $input7 = main25.input;
|
|
1333
|
+
var $output19 = main25.output;
|
|
1334
|
+
|
|
1335
|
+
// src/lexicons/com/atiproto/feed/subscription/validate.ts
|
|
1336
|
+
var validate_exports3 = {};
|
|
1337
|
+
__export(validate_exports3, {
|
|
1338
|
+
$defs: () => validate_defs_exports3,
|
|
1339
|
+
$lxm: () => $lxm20,
|
|
1340
|
+
$nsid: () => $nsid26,
|
|
1341
|
+
$output: () => $output20,
|
|
1342
|
+
$params: () => $params20,
|
|
1343
|
+
main: () => main26
|
|
1344
|
+
});
|
|
1345
|
+
|
|
1346
|
+
// src/lexicons/com/atiproto/feed/subscription/validate.defs.ts
|
|
1347
|
+
var validate_defs_exports3 = {};
|
|
1348
|
+
__export(validate_defs_exports3, {
|
|
1349
|
+
$lxm: () => $lxm20,
|
|
1350
|
+
$nsid: () => $nsid26,
|
|
1351
|
+
$output: () => $output20,
|
|
1352
|
+
$params: () => $params20,
|
|
1353
|
+
main: () => main26
|
|
1354
|
+
});
|
|
1355
|
+
var import_lex26 = require("@atproto/lex");
|
|
1356
|
+
var $nsid26 = "com.atiproto.feed.subscription.validate";
|
|
1357
|
+
var main26 = import_lex26.l.query(
|
|
1358
|
+
$nsid26,
|
|
1359
|
+
import_lex26.l.params({
|
|
1360
|
+
subscriptionUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
|
|
1361
|
+
subject: import_lex26.l.optional(import_lex26.l.string({ format: "did" })),
|
|
1362
|
+
amount: import_lex26.l.optional(import_lex26.l.integer())
|
|
1363
|
+
}),
|
|
1364
|
+
import_lex26.l.jsonPayload({
|
|
1365
|
+
valid: import_lex26.l.boolean(),
|
|
1366
|
+
amount: import_lex26.l.optional(import_lex26.l.integer()),
|
|
1367
|
+
currency: import_lex26.l.optional(import_lex26.l.string({ maxLength: 3 })),
|
|
1368
|
+
reason: import_lex26.l.optional(import_lex26.l.string({ maxLength: 1024 }))
|
|
1056
1369
|
})
|
|
1057
1370
|
);
|
|
1058
|
-
var $
|
|
1059
|
-
var $
|
|
1060
|
-
var $
|
|
1061
|
-
var $output13 = main19.output;
|
|
1371
|
+
var $lxm20 = main26.nsid;
|
|
1372
|
+
var $params20 = main26.parameters;
|
|
1373
|
+
var $output20 = main26.output;
|
|
1062
1374
|
|
|
1063
1375
|
// src/lexicons/com/atiproto/feed/tip.ts
|
|
1064
|
-
var
|
|
1065
|
-
__export(
|
|
1376
|
+
var tip_exports2 = {};
|
|
1377
|
+
__export(tip_exports2, {
|
|
1066
1378
|
create: () => create_exports3,
|
|
1067
|
-
get: () =>
|
|
1068
|
-
list: () =>
|
|
1069
|
-
put: () => put_exports4
|
|
1379
|
+
get: () => get_exports6,
|
|
1380
|
+
list: () => list_exports6,
|
|
1381
|
+
put: () => put_exports4,
|
|
1382
|
+
validate: () => validate_exports4
|
|
1070
1383
|
});
|
|
1071
1384
|
|
|
1072
1385
|
// src/lexicons/com/atiproto/feed/tip/create.ts
|
|
@@ -1074,161 +1387,203 @@ var create_exports3 = {};
|
|
|
1074
1387
|
__export(create_exports3, {
|
|
1075
1388
|
$defs: () => create_defs_exports3,
|
|
1076
1389
|
$input: () => $input8,
|
|
1077
|
-
$lxm: () => $
|
|
1078
|
-
$nsid: () => $
|
|
1079
|
-
$output: () => $
|
|
1080
|
-
$params: () => $
|
|
1081
|
-
main: () =>
|
|
1390
|
+
$lxm: () => $lxm21,
|
|
1391
|
+
$nsid: () => $nsid27,
|
|
1392
|
+
$output: () => $output21,
|
|
1393
|
+
$params: () => $params21,
|
|
1394
|
+
main: () => main27
|
|
1082
1395
|
});
|
|
1083
1396
|
|
|
1084
1397
|
// src/lexicons/com/atiproto/feed/tip/create.defs.ts
|
|
1085
1398
|
var create_defs_exports3 = {};
|
|
1086
1399
|
__export(create_defs_exports3, {
|
|
1087
1400
|
$input: () => $input8,
|
|
1088
|
-
$lxm: () => $
|
|
1089
|
-
$nsid: () => $
|
|
1090
|
-
$output: () => $
|
|
1091
|
-
$params: () => $
|
|
1092
|
-
main: () =>
|
|
1401
|
+
$lxm: () => $lxm21,
|
|
1402
|
+
$nsid: () => $nsid27,
|
|
1403
|
+
$output: () => $output21,
|
|
1404
|
+
$params: () => $params21,
|
|
1405
|
+
main: () => main27
|
|
1093
1406
|
});
|
|
1094
|
-
var
|
|
1095
|
-
var $
|
|
1096
|
-
var
|
|
1097
|
-
$
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
subject:
|
|
1101
|
-
recordUri:
|
|
1102
|
-
amount:
|
|
1103
|
-
currency:
|
|
1104
|
-
cartUri:
|
|
1105
|
-
redirectUrl:
|
|
1106
|
-
message:
|
|
1407
|
+
var import_lex27 = require("@atproto/lex");
|
|
1408
|
+
var $nsid27 = "com.atiproto.feed.tip.create";
|
|
1409
|
+
var main27 = import_lex27.l.procedure(
|
|
1410
|
+
$nsid27,
|
|
1411
|
+
import_lex27.l.params(),
|
|
1412
|
+
import_lex27.l.jsonPayload({
|
|
1413
|
+
subject: import_lex27.l.string({ format: "did" }),
|
|
1414
|
+
recordUri: import_lex27.l.optional(import_lex27.l.string({ format: "at-uri" })),
|
|
1415
|
+
amount: import_lex27.l.integer(),
|
|
1416
|
+
currency: import_lex27.l.string({ maxLength: 3 }),
|
|
1417
|
+
cartUri: import_lex27.l.optional(import_lex27.l.string({ format: "at-uri" })),
|
|
1418
|
+
redirectUrl: import_lex27.l.optional(import_lex27.l.string({ format: "uri" })),
|
|
1419
|
+
message: import_lex27.l.optional(import_lex27.l.string({ maxGraphemes: 500, maxLength: 5e3 })),
|
|
1420
|
+
isPrivate: import_lex27.l.optional(import_lex27.l.boolean())
|
|
1107
1421
|
}),
|
|
1108
|
-
|
|
1109
|
-
tipUri:
|
|
1110
|
-
tip:
|
|
1111
|
-
cartUri:
|
|
1112
|
-
cart:
|
|
1113
|
-
|
|
1422
|
+
import_lex27.l.jsonPayload({
|
|
1423
|
+
tipUri: import_lex27.l.string({ format: "at-uri" }),
|
|
1424
|
+
tip: import_lex27.l.ref((() => view2)),
|
|
1425
|
+
cartUri: import_lex27.l.optional(import_lex27.l.string({ format: "at-uri" })),
|
|
1426
|
+
cart: import_lex27.l.optional(
|
|
1427
|
+
import_lex27.l.ref((() => view))
|
|
1114
1428
|
),
|
|
1115
|
-
checkoutUrl:
|
|
1429
|
+
checkoutUrl: import_lex27.l.optional(import_lex27.l.string({ format: "uri" }))
|
|
1116
1430
|
})
|
|
1117
1431
|
);
|
|
1118
|
-
var $
|
|
1119
|
-
var $
|
|
1120
|
-
var $input8 =
|
|
1121
|
-
var $
|
|
1432
|
+
var $lxm21 = main27.nsid;
|
|
1433
|
+
var $params21 = main27.parameters;
|
|
1434
|
+
var $input8 = main27.input;
|
|
1435
|
+
var $output21 = main27.output;
|
|
1122
1436
|
|
|
1123
1437
|
// src/lexicons/com/atiproto/feed/tip/get.ts
|
|
1124
|
-
var
|
|
1125
|
-
__export(
|
|
1126
|
-
$defs: () =>
|
|
1127
|
-
$lxm: () => $
|
|
1128
|
-
$nsid: () => $
|
|
1129
|
-
$output: () => $
|
|
1130
|
-
$params: () => $
|
|
1131
|
-
main: () =>
|
|
1438
|
+
var get_exports6 = {};
|
|
1439
|
+
__export(get_exports6, {
|
|
1440
|
+
$defs: () => get_defs_exports6,
|
|
1441
|
+
$lxm: () => $lxm22,
|
|
1442
|
+
$nsid: () => $nsid28,
|
|
1443
|
+
$output: () => $output22,
|
|
1444
|
+
$params: () => $params22,
|
|
1445
|
+
main: () => main28
|
|
1132
1446
|
});
|
|
1133
1447
|
|
|
1134
1448
|
// src/lexicons/com/atiproto/feed/tip/get.defs.ts
|
|
1135
|
-
var
|
|
1136
|
-
__export(
|
|
1137
|
-
$lxm: () => $
|
|
1138
|
-
$nsid: () => $
|
|
1139
|
-
$output: () => $
|
|
1140
|
-
$params: () => $
|
|
1141
|
-
main: () =>
|
|
1449
|
+
var get_defs_exports6 = {};
|
|
1450
|
+
__export(get_defs_exports6, {
|
|
1451
|
+
$lxm: () => $lxm22,
|
|
1452
|
+
$nsid: () => $nsid28,
|
|
1453
|
+
$output: () => $output22,
|
|
1454
|
+
$params: () => $params22,
|
|
1455
|
+
main: () => main28
|
|
1142
1456
|
});
|
|
1143
|
-
var
|
|
1144
|
-
var $
|
|
1145
|
-
var
|
|
1146
|
-
$
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
uri:
|
|
1150
|
-
cid:
|
|
1151
|
-
value:
|
|
1457
|
+
var import_lex28 = require("@atproto/lex");
|
|
1458
|
+
var $nsid28 = "com.atiproto.feed.tip.get";
|
|
1459
|
+
var main28 = import_lex28.l.query(
|
|
1460
|
+
$nsid28,
|
|
1461
|
+
import_lex28.l.params({ uri: import_lex28.l.string({ format: "at-uri" }) }),
|
|
1462
|
+
import_lex28.l.jsonPayload({
|
|
1463
|
+
uri: import_lex28.l.string({ format: "at-uri" }),
|
|
1464
|
+
cid: import_lex28.l.string({ format: "cid" }),
|
|
1465
|
+
value: import_lex28.l.ref((() => view2))
|
|
1152
1466
|
})
|
|
1153
1467
|
);
|
|
1154
|
-
var $
|
|
1155
|
-
var $
|
|
1156
|
-
var $
|
|
1468
|
+
var $lxm22 = main28.nsid;
|
|
1469
|
+
var $params22 = main28.parameters;
|
|
1470
|
+
var $output22 = main28.output;
|
|
1157
1471
|
|
|
1158
1472
|
// src/lexicons/com/atiproto/feed/tip/list.ts
|
|
1159
|
-
var
|
|
1160
|
-
__export(
|
|
1161
|
-
$defs: () =>
|
|
1162
|
-
$lxm: () => $
|
|
1163
|
-
$nsid: () => $
|
|
1164
|
-
$output: () => $
|
|
1165
|
-
$params: () => $
|
|
1166
|
-
main: () =>
|
|
1473
|
+
var list_exports6 = {};
|
|
1474
|
+
__export(list_exports6, {
|
|
1475
|
+
$defs: () => list_defs_exports6,
|
|
1476
|
+
$lxm: () => $lxm23,
|
|
1477
|
+
$nsid: () => $nsid29,
|
|
1478
|
+
$output: () => $output23,
|
|
1479
|
+
$params: () => $params23,
|
|
1480
|
+
main: () => main29
|
|
1167
1481
|
});
|
|
1168
1482
|
|
|
1169
1483
|
// src/lexicons/com/atiproto/feed/tip/list.defs.ts
|
|
1170
|
-
var
|
|
1171
|
-
__export(
|
|
1172
|
-
$lxm: () => $
|
|
1173
|
-
$nsid: () => $
|
|
1174
|
-
$output: () => $
|
|
1175
|
-
$params: () => $
|
|
1176
|
-
main: () =>
|
|
1177
|
-
});
|
|
1178
|
-
var
|
|
1179
|
-
var $
|
|
1180
|
-
var
|
|
1181
|
-
$
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
records:
|
|
1185
|
-
cursor:
|
|
1484
|
+
var list_defs_exports6 = {};
|
|
1485
|
+
__export(list_defs_exports6, {
|
|
1486
|
+
$lxm: () => $lxm23,
|
|
1487
|
+
$nsid: () => $nsid29,
|
|
1488
|
+
$output: () => $output23,
|
|
1489
|
+
$params: () => $params23,
|
|
1490
|
+
main: () => main29
|
|
1491
|
+
});
|
|
1492
|
+
var import_lex29 = require("@atproto/lex");
|
|
1493
|
+
var $nsid29 = "com.atiproto.feed.tip.list";
|
|
1494
|
+
var main29 = import_lex29.l.query(
|
|
1495
|
+
$nsid29,
|
|
1496
|
+
import_lex29.l.params(),
|
|
1497
|
+
import_lex29.l.jsonPayload({
|
|
1498
|
+
records: import_lex29.l.array(import_lex29.l.ref((() => view2))),
|
|
1499
|
+
cursor: import_lex29.l.optional(import_lex29.l.string({ maxLength: 512 }))
|
|
1186
1500
|
})
|
|
1187
1501
|
);
|
|
1188
|
-
var $
|
|
1189
|
-
var $
|
|
1190
|
-
var $
|
|
1502
|
+
var $lxm23 = main29.nsid;
|
|
1503
|
+
var $params23 = main29.parameters;
|
|
1504
|
+
var $output23 = main29.output;
|
|
1191
1505
|
|
|
1192
1506
|
// src/lexicons/com/atiproto/feed/tip/put.ts
|
|
1193
1507
|
var put_exports4 = {};
|
|
1194
1508
|
__export(put_exports4, {
|
|
1195
1509
|
$defs: () => put_defs_exports4,
|
|
1196
1510
|
$input: () => $input9,
|
|
1197
|
-
$lxm: () => $
|
|
1198
|
-
$nsid: () => $
|
|
1199
|
-
$output: () => $
|
|
1200
|
-
$params: () => $
|
|
1201
|
-
main: () =>
|
|
1511
|
+
$lxm: () => $lxm24,
|
|
1512
|
+
$nsid: () => $nsid30,
|
|
1513
|
+
$output: () => $output24,
|
|
1514
|
+
$params: () => $params24,
|
|
1515
|
+
main: () => main30
|
|
1202
1516
|
});
|
|
1203
1517
|
|
|
1204
1518
|
// src/lexicons/com/atiproto/feed/tip/put.defs.ts
|
|
1205
1519
|
var put_defs_exports4 = {};
|
|
1206
1520
|
__export(put_defs_exports4, {
|
|
1207
1521
|
$input: () => $input9,
|
|
1208
|
-
$lxm: () => $
|
|
1209
|
-
$nsid: () => $
|
|
1210
|
-
$output: () => $
|
|
1211
|
-
$params: () => $
|
|
1212
|
-
main: () =>
|
|
1213
|
-
});
|
|
1214
|
-
var
|
|
1215
|
-
var $
|
|
1216
|
-
var
|
|
1217
|
-
$
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
uri:
|
|
1221
|
-
record:
|
|
1522
|
+
$lxm: () => $lxm24,
|
|
1523
|
+
$nsid: () => $nsid30,
|
|
1524
|
+
$output: () => $output24,
|
|
1525
|
+
$params: () => $params24,
|
|
1526
|
+
main: () => main30
|
|
1527
|
+
});
|
|
1528
|
+
var import_lex30 = require("@atproto/lex");
|
|
1529
|
+
var $nsid30 = "com.atiproto.feed.tip.put";
|
|
1530
|
+
var main30 = import_lex30.l.procedure(
|
|
1531
|
+
$nsid30,
|
|
1532
|
+
import_lex30.l.params(),
|
|
1533
|
+
import_lex30.l.jsonPayload({
|
|
1534
|
+
uri: import_lex30.l.string({ format: "at-uri" }),
|
|
1535
|
+
record: import_lex30.l.ref((() => main2))
|
|
1222
1536
|
}),
|
|
1223
|
-
|
|
1224
|
-
uri:
|
|
1225
|
-
cid:
|
|
1537
|
+
import_lex30.l.jsonPayload({
|
|
1538
|
+
uri: import_lex30.l.string({ format: "at-uri" }),
|
|
1539
|
+
cid: import_lex30.l.string({ format: "cid" })
|
|
1226
1540
|
})
|
|
1227
1541
|
);
|
|
1228
|
-
var $
|
|
1229
|
-
var $
|
|
1230
|
-
var $input9 =
|
|
1231
|
-
var $
|
|
1542
|
+
var $lxm24 = main30.nsid;
|
|
1543
|
+
var $params24 = main30.parameters;
|
|
1544
|
+
var $input9 = main30.input;
|
|
1545
|
+
var $output24 = main30.output;
|
|
1546
|
+
|
|
1547
|
+
// src/lexicons/com/atiproto/feed/tip/validate.ts
|
|
1548
|
+
var validate_exports4 = {};
|
|
1549
|
+
__export(validate_exports4, {
|
|
1550
|
+
$defs: () => validate_defs_exports4,
|
|
1551
|
+
$lxm: () => $lxm25,
|
|
1552
|
+
$nsid: () => $nsid31,
|
|
1553
|
+
$output: () => $output25,
|
|
1554
|
+
$params: () => $params25,
|
|
1555
|
+
main: () => main31
|
|
1556
|
+
});
|
|
1557
|
+
|
|
1558
|
+
// src/lexicons/com/atiproto/feed/tip/validate.defs.ts
|
|
1559
|
+
var validate_defs_exports4 = {};
|
|
1560
|
+
__export(validate_defs_exports4, {
|
|
1561
|
+
$lxm: () => $lxm25,
|
|
1562
|
+
$nsid: () => $nsid31,
|
|
1563
|
+
$output: () => $output25,
|
|
1564
|
+
$params: () => $params25,
|
|
1565
|
+
main: () => main31
|
|
1566
|
+
});
|
|
1567
|
+
var import_lex31 = require("@atproto/lex");
|
|
1568
|
+
var $nsid31 = "com.atiproto.feed.tip.validate";
|
|
1569
|
+
var main31 = import_lex31.l.query(
|
|
1570
|
+
$nsid31,
|
|
1571
|
+
import_lex31.l.params({
|
|
1572
|
+
tipUri: import_lex31.l.optional(import_lex31.l.string({ format: "at-uri" })),
|
|
1573
|
+
recordUri: import_lex31.l.optional(import_lex31.l.string({ format: "at-uri" })),
|
|
1574
|
+
subject: import_lex31.l.optional(import_lex31.l.string({ format: "did" })),
|
|
1575
|
+
amount: import_lex31.l.optional(import_lex31.l.integer())
|
|
1576
|
+
}),
|
|
1577
|
+
import_lex31.l.jsonPayload({
|
|
1578
|
+
valid: import_lex31.l.boolean(),
|
|
1579
|
+
amount: import_lex31.l.optional(import_lex31.l.integer()),
|
|
1580
|
+
currency: import_lex31.l.optional(import_lex31.l.string({ maxLength: 3 })),
|
|
1581
|
+
reason: import_lex31.l.optional(import_lex31.l.string({ maxLength: 1024 }))
|
|
1582
|
+
})
|
|
1583
|
+
);
|
|
1584
|
+
var $lxm25 = main31.nsid;
|
|
1585
|
+
var $params25 = main31.parameters;
|
|
1586
|
+
var $output25 = main31.output;
|
|
1232
1587
|
|
|
1233
1588
|
// src/lexicons/com/atiproto/profile.ts
|
|
1234
1589
|
var profile_exports2 = {};
|
|
@@ -1255,254 +1610,144 @@ __export(profile_exports2, {
|
|
|
1255
1610
|
var repo_exports = {};
|
|
1256
1611
|
__export(repo_exports, {
|
|
1257
1612
|
profile: () => profile_exports3,
|
|
1258
|
-
subscription: () =>
|
|
1259
|
-
tip: () =>
|
|
1613
|
+
subscription: () => subscription_exports3,
|
|
1614
|
+
tip: () => tip_exports3
|
|
1260
1615
|
});
|
|
1261
1616
|
|
|
1262
1617
|
// src/lexicons/com/atiproto/repo/profile.ts
|
|
1263
1618
|
var profile_exports3 = {};
|
|
1264
1619
|
__export(profile_exports3, {
|
|
1265
|
-
get: () =>
|
|
1620
|
+
get: () => get_exports7
|
|
1266
1621
|
});
|
|
1267
1622
|
|
|
1268
1623
|
// src/lexicons/com/atiproto/repo/profile/get.ts
|
|
1269
|
-
var
|
|
1270
|
-
__export(
|
|
1271
|
-
$defs: () =>
|
|
1272
|
-
$lxm: () => $
|
|
1273
|
-
$nsid: () => $
|
|
1274
|
-
$output: () => $
|
|
1275
|
-
$params: () => $
|
|
1276
|
-
main: () =>
|
|
1624
|
+
var get_exports7 = {};
|
|
1625
|
+
__export(get_exports7, {
|
|
1626
|
+
$defs: () => get_defs_exports7,
|
|
1627
|
+
$lxm: () => $lxm26,
|
|
1628
|
+
$nsid: () => $nsid32,
|
|
1629
|
+
$output: () => $output26,
|
|
1630
|
+
$params: () => $params26,
|
|
1631
|
+
main: () => main32
|
|
1277
1632
|
});
|
|
1278
1633
|
|
|
1279
1634
|
// src/lexicons/com/atiproto/repo/profile/get.defs.ts
|
|
1280
|
-
var
|
|
1281
|
-
__export(
|
|
1282
|
-
$lxm: () => $
|
|
1283
|
-
$nsid: () => $
|
|
1284
|
-
$output: () => $
|
|
1285
|
-
$params: () => $
|
|
1286
|
-
main: () =>
|
|
1287
|
-
});
|
|
1288
|
-
var
|
|
1289
|
-
var $
|
|
1290
|
-
var
|
|
1291
|
-
$
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
did:
|
|
1295
|
-
profile:
|
|
1635
|
+
var get_defs_exports7 = {};
|
|
1636
|
+
__export(get_defs_exports7, {
|
|
1637
|
+
$lxm: () => $lxm26,
|
|
1638
|
+
$nsid: () => $nsid32,
|
|
1639
|
+
$output: () => $output26,
|
|
1640
|
+
$params: () => $params26,
|
|
1641
|
+
main: () => main32
|
|
1642
|
+
});
|
|
1643
|
+
var import_lex32 = require("@atproto/lex");
|
|
1644
|
+
var $nsid32 = "com.atiproto.repo.profile.get";
|
|
1645
|
+
var main32 = import_lex32.l.query(
|
|
1646
|
+
$nsid32,
|
|
1647
|
+
import_lex32.l.params({ did: import_lex32.l.string({ format: "did" }) }),
|
|
1648
|
+
import_lex32.l.jsonPayload({
|
|
1649
|
+
did: import_lex32.l.string({ format: "did" }),
|
|
1650
|
+
profile: import_lex32.l.ref((() => view4))
|
|
1296
1651
|
})
|
|
1297
1652
|
);
|
|
1298
|
-
var $
|
|
1299
|
-
var $
|
|
1300
|
-
var $
|
|
1653
|
+
var $lxm26 = main32.nsid;
|
|
1654
|
+
var $params26 = main32.parameters;
|
|
1655
|
+
var $output26 = main32.output;
|
|
1301
1656
|
|
|
1302
1657
|
// src/lexicons/com/atiproto/repo/subscription.ts
|
|
1303
|
-
var
|
|
1304
|
-
__export(
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
$
|
|
1313
|
-
$
|
|
1314
|
-
$
|
|
1315
|
-
$
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
$
|
|
1325
|
-
$
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
subject: import_lex25.l.string({ format: "did" }),
|
|
1337
|
-
cursor: import_lex25.l.optional(import_lex25.l.string({ maxLength: 512 })),
|
|
1338
|
-
limit: import_lex25.l.optional(
|
|
1339
|
-
import_lex25.l.withDefault(import_lex25.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
1340
|
-
)
|
|
1341
|
-
}),
|
|
1342
|
-
import_lex25.l.jsonPayload({
|
|
1343
|
-
subscriptions: import_lex25.l.array(
|
|
1344
|
-
import_lex25.l.ref((() => subscriptionResponse2))
|
|
1345
|
-
),
|
|
1346
|
-
cursor: import_lex25.l.optional(import_lex25.l.string({ maxLength: 512 }))
|
|
1347
|
-
})
|
|
1348
|
-
);
|
|
1349
|
-
var $lxm19 = main25.nsid;
|
|
1350
|
-
var $params19 = main25.parameters;
|
|
1351
|
-
var $output19 = main25.output;
|
|
1352
|
-
var subscriptionResponse2 = import_lex25.l.typedObject(
|
|
1353
|
-
$nsid25,
|
|
1354
|
-
"subscriptionResponse",
|
|
1355
|
-
import_lex25.l.object({
|
|
1356
|
-
uri: import_lex25.l.string({ format: "at-uri" }),
|
|
1357
|
-
record: import_lex25.l.ref(
|
|
1358
|
-
(() => view3)
|
|
1359
|
-
)
|
|
1360
|
-
})
|
|
1361
|
-
);
|
|
1362
|
-
|
|
1363
|
-
// src/lexicons/com/atiproto/repo/subscription/validate.ts
|
|
1364
|
-
var validate_exports = {};
|
|
1365
|
-
__export(validate_exports, {
|
|
1366
|
-
$defs: () => validate_defs_exports,
|
|
1367
|
-
$lxm: () => $lxm20,
|
|
1368
|
-
$nsid: () => $nsid26,
|
|
1369
|
-
$output: () => $output20,
|
|
1370
|
-
$params: () => $params20,
|
|
1371
|
-
main: () => main26
|
|
1372
|
-
});
|
|
1373
|
-
|
|
1374
|
-
// src/lexicons/com/atiproto/repo/subscription/validate.defs.ts
|
|
1375
|
-
var validate_defs_exports = {};
|
|
1376
|
-
__export(validate_defs_exports, {
|
|
1377
|
-
$lxm: () => $lxm20,
|
|
1378
|
-
$nsid: () => $nsid26,
|
|
1379
|
-
$output: () => $output20,
|
|
1380
|
-
$params: () => $params20,
|
|
1381
|
-
main: () => main26
|
|
1382
|
-
});
|
|
1383
|
-
var import_lex26 = require("@atproto/lex");
|
|
1384
|
-
var $nsid26 = "com.atiproto.repo.subscription.validate";
|
|
1385
|
-
var main26 = import_lex26.l.query(
|
|
1386
|
-
$nsid26,
|
|
1387
|
-
import_lex26.l.params({
|
|
1388
|
-
sender: import_lex26.l.string({ format: "did" }),
|
|
1389
|
-
subscriptionUri: import_lex26.l.optional(import_lex26.l.string({ format: "at-uri" })),
|
|
1390
|
-
subject: import_lex26.l.optional(import_lex26.l.string({ format: "did" })),
|
|
1391
|
-
amount: import_lex26.l.optional(import_lex26.l.integer())
|
|
1658
|
+
var subscription_exports3 = {};
|
|
1659
|
+
__export(subscription_exports3, {
|
|
1660
|
+
count: () => count_exports
|
|
1661
|
+
});
|
|
1662
|
+
|
|
1663
|
+
// src/lexicons/com/atiproto/repo/subscription/count.ts
|
|
1664
|
+
var count_exports = {};
|
|
1665
|
+
__export(count_exports, {
|
|
1666
|
+
$defs: () => count_defs_exports,
|
|
1667
|
+
$lxm: () => $lxm27,
|
|
1668
|
+
$nsid: () => $nsid33,
|
|
1669
|
+
$output: () => $output27,
|
|
1670
|
+
$params: () => $params27,
|
|
1671
|
+
main: () => main33
|
|
1672
|
+
});
|
|
1673
|
+
|
|
1674
|
+
// src/lexicons/com/atiproto/repo/subscription/count.defs.ts
|
|
1675
|
+
var count_defs_exports = {};
|
|
1676
|
+
__export(count_defs_exports, {
|
|
1677
|
+
$lxm: () => $lxm27,
|
|
1678
|
+
$nsid: () => $nsid33,
|
|
1679
|
+
$output: () => $output27,
|
|
1680
|
+
$params: () => $params27,
|
|
1681
|
+
main: () => main33
|
|
1682
|
+
});
|
|
1683
|
+
var import_lex33 = require("@atproto/lex");
|
|
1684
|
+
var $nsid33 = "com.atiproto.repo.subscription.count";
|
|
1685
|
+
var main33 = import_lex33.l.query(
|
|
1686
|
+
$nsid33,
|
|
1687
|
+
import_lex33.l.params({
|
|
1688
|
+
subject: import_lex33.l.optional(import_lex33.l.string({ format: "did" })),
|
|
1689
|
+
startDate: import_lex33.l.optional(import_lex33.l.string({ format: "datetime" })),
|
|
1690
|
+
endDate: import_lex33.l.optional(import_lex33.l.string({ format: "datetime" }))
|
|
1392
1691
|
}),
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
amount:
|
|
1396
|
-
currency:
|
|
1397
|
-
reason: import_lex26.l.optional(import_lex26.l.string({ maxLength: 1024 }))
|
|
1692
|
+
import_lex33.l.jsonPayload({
|
|
1693
|
+
count: import_lex33.l.integer(),
|
|
1694
|
+
amount: import_lex33.l.optional(import_lex33.l.integer()),
|
|
1695
|
+
currency: import_lex33.l.optional(import_lex33.l.string({ maxLength: 3 }))
|
|
1398
1696
|
})
|
|
1399
1697
|
);
|
|
1400
|
-
var $
|
|
1401
|
-
var $
|
|
1402
|
-
var $
|
|
1698
|
+
var $lxm27 = main33.nsid;
|
|
1699
|
+
var $params27 = main33.parameters;
|
|
1700
|
+
var $output27 = main33.output;
|
|
1403
1701
|
|
|
1404
1702
|
// src/lexicons/com/atiproto/repo/tip.ts
|
|
1405
|
-
var
|
|
1406
|
-
__export(
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
$
|
|
1415
|
-
$
|
|
1416
|
-
$
|
|
1417
|
-
$
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
$
|
|
1427
|
-
$
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
cursor: import_lex27.l.optional(import_lex27.l.string({ maxLength: 512 })),
|
|
1440
|
-
limit: import_lex27.l.optional(
|
|
1441
|
-
import_lex27.l.withDefault(import_lex27.l.integer({ minimum: 1, maximum: 100 }), 50)
|
|
1442
|
-
)
|
|
1443
|
-
}),
|
|
1444
|
-
import_lex27.l.jsonPayload({
|
|
1445
|
-
tips: import_lex27.l.array(import_lex27.l.ref((() => tipResponse))),
|
|
1446
|
-
cursor: import_lex27.l.optional(import_lex27.l.string({ maxLength: 512 }))
|
|
1447
|
-
})
|
|
1448
|
-
);
|
|
1449
|
-
var $lxm21 = main27.nsid;
|
|
1450
|
-
var $params21 = main27.parameters;
|
|
1451
|
-
var $output21 = main27.output;
|
|
1452
|
-
var tipResponse = import_lex27.l.typedObject(
|
|
1453
|
-
$nsid27,
|
|
1454
|
-
"tipResponse",
|
|
1455
|
-
import_lex27.l.object({
|
|
1456
|
-
uri: import_lex27.l.string({ format: "at-uri" }),
|
|
1457
|
-
record: import_lex27.l.ref((() => view2))
|
|
1458
|
-
})
|
|
1459
|
-
);
|
|
1460
|
-
|
|
1461
|
-
// src/lexicons/com/atiproto/repo/tip/validate.ts
|
|
1462
|
-
var validate_exports2 = {};
|
|
1463
|
-
__export(validate_exports2, {
|
|
1464
|
-
$defs: () => validate_defs_exports2,
|
|
1465
|
-
$lxm: () => $lxm22,
|
|
1466
|
-
$nsid: () => $nsid28,
|
|
1467
|
-
$output: () => $output22,
|
|
1468
|
-
$params: () => $params22,
|
|
1469
|
-
main: () => main28
|
|
1470
|
-
});
|
|
1471
|
-
|
|
1472
|
-
// src/lexicons/com/atiproto/repo/tip/validate.defs.ts
|
|
1473
|
-
var validate_defs_exports2 = {};
|
|
1474
|
-
__export(validate_defs_exports2, {
|
|
1475
|
-
$lxm: () => $lxm22,
|
|
1476
|
-
$nsid: () => $nsid28,
|
|
1477
|
-
$output: () => $output22,
|
|
1478
|
-
$params: () => $params22,
|
|
1479
|
-
main: () => main28
|
|
1480
|
-
});
|
|
1481
|
-
var import_lex28 = require("@atproto/lex");
|
|
1482
|
-
var $nsid28 = "com.atiproto.repo.tip.validate";
|
|
1483
|
-
var main28 = import_lex28.l.query(
|
|
1484
|
-
$nsid28,
|
|
1485
|
-
import_lex28.l.params({
|
|
1486
|
-
sender: import_lex28.l.string({ format: "did" }),
|
|
1487
|
-
tipUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
|
|
1488
|
-
recordUri: import_lex28.l.optional(import_lex28.l.string({ format: "at-uri" })),
|
|
1489
|
-
subject: import_lex28.l.optional(import_lex28.l.string({ format: "did" })),
|
|
1490
|
-
amount: import_lex28.l.optional(import_lex28.l.integer())
|
|
1703
|
+
var tip_exports3 = {};
|
|
1704
|
+
__export(tip_exports3, {
|
|
1705
|
+
count: () => count_exports2
|
|
1706
|
+
});
|
|
1707
|
+
|
|
1708
|
+
// src/lexicons/com/atiproto/repo/tip/count.ts
|
|
1709
|
+
var count_exports2 = {};
|
|
1710
|
+
__export(count_exports2, {
|
|
1711
|
+
$defs: () => count_defs_exports2,
|
|
1712
|
+
$lxm: () => $lxm28,
|
|
1713
|
+
$nsid: () => $nsid34,
|
|
1714
|
+
$output: () => $output28,
|
|
1715
|
+
$params: () => $params28,
|
|
1716
|
+
main: () => main34
|
|
1717
|
+
});
|
|
1718
|
+
|
|
1719
|
+
// src/lexicons/com/atiproto/repo/tip/count.defs.ts
|
|
1720
|
+
var count_defs_exports2 = {};
|
|
1721
|
+
__export(count_defs_exports2, {
|
|
1722
|
+
$lxm: () => $lxm28,
|
|
1723
|
+
$nsid: () => $nsid34,
|
|
1724
|
+
$output: () => $output28,
|
|
1725
|
+
$params: () => $params28,
|
|
1726
|
+
main: () => main34
|
|
1727
|
+
});
|
|
1728
|
+
var import_lex34 = require("@atproto/lex");
|
|
1729
|
+
var $nsid34 = "com.atiproto.repo.tip.count";
|
|
1730
|
+
var main34 = import_lex34.l.query(
|
|
1731
|
+
$nsid34,
|
|
1732
|
+
import_lex34.l.params({
|
|
1733
|
+
recordUri: import_lex34.l.optional(import_lex34.l.string({ format: "at-uri" })),
|
|
1734
|
+
subject: import_lex34.l.optional(import_lex34.l.string({ format: "did" })),
|
|
1735
|
+
startDate: import_lex34.l.optional(import_lex34.l.string({ format: "datetime" })),
|
|
1736
|
+
endDate: import_lex34.l.optional(import_lex34.l.string({ format: "datetime" }))
|
|
1491
1737
|
}),
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
amount:
|
|
1495
|
-
currency:
|
|
1496
|
-
reason: import_lex28.l.optional(import_lex28.l.string({ maxLength: 1024 }))
|
|
1738
|
+
import_lex34.l.jsonPayload({
|
|
1739
|
+
count: import_lex34.l.integer(),
|
|
1740
|
+
amount: import_lex34.l.optional(import_lex34.l.integer()),
|
|
1741
|
+
currency: import_lex34.l.optional(import_lex34.l.string({ maxLength: 3 }))
|
|
1497
1742
|
})
|
|
1498
1743
|
);
|
|
1499
|
-
var $
|
|
1500
|
-
var $
|
|
1501
|
-
var $
|
|
1744
|
+
var $lxm28 = main34.nsid;
|
|
1745
|
+
var $params28 = main34.parameters;
|
|
1746
|
+
var $output28 = main34.output;
|
|
1502
1747
|
|
|
1503
1748
|
// src/lexicons/com/atiproto/subscription.ts
|
|
1504
|
-
var
|
|
1505
|
-
__export(
|
|
1749
|
+
var subscription_exports4 = {};
|
|
1750
|
+
__export(subscription_exports4, {
|
|
1506
1751
|
$assert: () => $assert3,
|
|
1507
1752
|
$build: () => $build3,
|
|
1508
1753
|
$cast: () => $cast3,
|
|
@@ -1522,8 +1767,8 @@ __export(subscription_exports3, {
|
|
|
1522
1767
|
});
|
|
1523
1768
|
|
|
1524
1769
|
// src/lexicons/com/atiproto/tip.ts
|
|
1525
|
-
var
|
|
1526
|
-
__export(
|
|
1770
|
+
var tip_exports4 = {};
|
|
1771
|
+
__export(tip_exports4, {
|
|
1527
1772
|
$assert: () => $assert2,
|
|
1528
1773
|
$build: () => $build2,
|
|
1529
1774
|
$cast: () => $cast2,
|
|
@@ -1821,29 +2066,343 @@ var list_default = {
|
|
|
1821
2066
|
}
|
|
1822
2067
|
};
|
|
1823
2068
|
|
|
1824
|
-
// src/schemas/account/cart/put.json
|
|
1825
|
-
var put_default = {
|
|
2069
|
+
// src/schemas/account/cart/put.json
|
|
2070
|
+
var put_default = {
|
|
2071
|
+
lexicon: 1,
|
|
2072
|
+
id: "com.atiproto.account.cart.put",
|
|
2073
|
+
defs: {
|
|
2074
|
+
main: {
|
|
2075
|
+
type: "procedure",
|
|
2076
|
+
description: "Update a cart. Only open carts can be updated.",
|
|
2077
|
+
input: {
|
|
2078
|
+
encoding: "application/json",
|
|
2079
|
+
schema: {
|
|
2080
|
+
type: "object",
|
|
2081
|
+
required: ["uri", "record"],
|
|
2082
|
+
properties: {
|
|
2083
|
+
uri: {
|
|
2084
|
+
type: "string",
|
|
2085
|
+
format: "at-uri",
|
|
2086
|
+
description: "AT-URI of the cart to update"
|
|
2087
|
+
},
|
|
2088
|
+
record: {
|
|
2089
|
+
type: "ref",
|
|
2090
|
+
ref: "com.atiproto.cart"
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2095
|
+
output: {
|
|
2096
|
+
encoding: "application/json",
|
|
2097
|
+
schema: {
|
|
2098
|
+
type: "object",
|
|
2099
|
+
required: ["uri", "cid"],
|
|
2100
|
+
properties: {
|
|
2101
|
+
uri: {
|
|
2102
|
+
type: "string",
|
|
2103
|
+
format: "at-uri",
|
|
2104
|
+
description: "Updated cart record URI"
|
|
2105
|
+
},
|
|
2106
|
+
cid: {
|
|
2107
|
+
type: "string",
|
|
2108
|
+
format: "cid",
|
|
2109
|
+
description: "New CID of the updated record"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
// src/schemas/account/profile/get.json
|
|
2119
|
+
var get_default2 = {
|
|
2120
|
+
lexicon: 1,
|
|
2121
|
+
id: "com.atiproto.account.profile.get",
|
|
2122
|
+
defs: {
|
|
2123
|
+
main: {
|
|
2124
|
+
type: "query",
|
|
2125
|
+
description: "Get the authenticated user's profile settings. Returns defaults if no profile exists.",
|
|
2126
|
+
output: {
|
|
2127
|
+
encoding: "application/json",
|
|
2128
|
+
schema: {
|
|
2129
|
+
type: "object",
|
|
2130
|
+
required: ["profile", "hasProfile", "readyForPayment"],
|
|
2131
|
+
properties: {
|
|
2132
|
+
uri: {
|
|
2133
|
+
type: "string",
|
|
2134
|
+
format: "at-uri",
|
|
2135
|
+
description: "Profile record URI (absent if no profile configured)"
|
|
2136
|
+
},
|
|
2137
|
+
cid: {
|
|
2138
|
+
type: "string",
|
|
2139
|
+
format: "cid",
|
|
2140
|
+
description: "Profile record CID (absent if no profile configured)"
|
|
2141
|
+
},
|
|
2142
|
+
profile: {
|
|
2143
|
+
type: "ref",
|
|
2144
|
+
ref: "com.atiproto.profile#view",
|
|
2145
|
+
description: "The profile record data (defaults if not configured)"
|
|
2146
|
+
},
|
|
2147
|
+
hasProfile: {
|
|
2148
|
+
type: "boolean",
|
|
2149
|
+
description: "Whether the user has saved a profile record"
|
|
2150
|
+
},
|
|
2151
|
+
readyForPayment: {
|
|
2152
|
+
type: "boolean",
|
|
2153
|
+
description: "Whether the user's payment account is set up and enabled"
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
};
|
|
2161
|
+
|
|
2162
|
+
// src/schemas/account/profile/put.json
|
|
2163
|
+
var put_default2 = {
|
|
2164
|
+
lexicon: 1,
|
|
2165
|
+
id: "com.atiproto.account.profile.put",
|
|
2166
|
+
defs: {
|
|
2167
|
+
main: {
|
|
2168
|
+
type: "procedure",
|
|
2169
|
+
description: "Create or update the authenticated user's profile settings",
|
|
2170
|
+
input: {
|
|
2171
|
+
encoding: "application/json",
|
|
2172
|
+
schema: {
|
|
2173
|
+
type: "object",
|
|
2174
|
+
properties: {
|
|
2175
|
+
acceptsTips: {
|
|
2176
|
+
type: "boolean",
|
|
2177
|
+
description: "Enable accepting tips"
|
|
2178
|
+
},
|
|
2179
|
+
acceptsSubscriptions: {
|
|
2180
|
+
type: "boolean",
|
|
2181
|
+
description: "Enable accepting subscriptions"
|
|
2182
|
+
},
|
|
2183
|
+
disableReceiptNotifications: {
|
|
2184
|
+
type: "boolean",
|
|
2185
|
+
description: "Opt out of payment receipt DMs"
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
output: {
|
|
2191
|
+
encoding: "application/json",
|
|
2192
|
+
schema: {
|
|
2193
|
+
type: "object",
|
|
2194
|
+
required: [
|
|
2195
|
+
"uri",
|
|
2196
|
+
"cid",
|
|
2197
|
+
"profile",
|
|
2198
|
+
"hasProfile",
|
|
2199
|
+
"readyForPayment"
|
|
2200
|
+
],
|
|
2201
|
+
properties: {
|
|
2202
|
+
uri: {
|
|
2203
|
+
type: "string",
|
|
2204
|
+
format: "at-uri",
|
|
2205
|
+
description: "Profile record URI"
|
|
2206
|
+
},
|
|
2207
|
+
cid: {
|
|
2208
|
+
type: "string",
|
|
2209
|
+
format: "cid",
|
|
2210
|
+
description: "Profile record CID"
|
|
2211
|
+
},
|
|
2212
|
+
profile: {
|
|
2213
|
+
type: "ref",
|
|
2214
|
+
ref: "com.atiproto.profile#view",
|
|
2215
|
+
description: "The profile record data"
|
|
2216
|
+
},
|
|
2217
|
+
hasProfile: {
|
|
2218
|
+
type: "boolean",
|
|
2219
|
+
description: "Whether the user has saved a profile record"
|
|
2220
|
+
},
|
|
2221
|
+
readyForPayment: {
|
|
2222
|
+
type: "boolean",
|
|
2223
|
+
description: "Whether the user's payment account is set up and enabled"
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
// src/schemas/account/subscription/get.json
|
|
2233
|
+
var get_default3 = {
|
|
2234
|
+
lexicon: 1,
|
|
2235
|
+
id: "com.atiproto.account.subscription.get",
|
|
2236
|
+
defs: {
|
|
2237
|
+
main: {
|
|
2238
|
+
type: "query",
|
|
2239
|
+
description: "Get a specific subscription received by the authenticated user (as the recipient/subject). Looks up by subscription record uri or sender DID. These are mutually exclusive; uri takes precedence.",
|
|
2240
|
+
parameters: {
|
|
2241
|
+
type: "params",
|
|
2242
|
+
properties: {
|
|
2243
|
+
uri: {
|
|
2244
|
+
type: "string",
|
|
2245
|
+
format: "at-uri",
|
|
2246
|
+
description: "AT-URI of the subscription record. Takes precedence over sender."
|
|
2247
|
+
},
|
|
2248
|
+
sender: {
|
|
2249
|
+
type: "string",
|
|
2250
|
+
format: "did",
|
|
2251
|
+
description: "DID of the subscriber. Ignored if uri is provided."
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2255
|
+
output: {
|
|
2256
|
+
encoding: "application/json",
|
|
2257
|
+
schema: {
|
|
2258
|
+
type: "object",
|
|
2259
|
+
required: ["subscription"],
|
|
2260
|
+
properties: {
|
|
2261
|
+
subscription: {
|
|
2262
|
+
type: "ref",
|
|
2263
|
+
ref: "com.atiproto.subscription#view",
|
|
2264
|
+
description: "The subscription record data"
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
};
|
|
2272
|
+
|
|
2273
|
+
// src/schemas/account/subscription/list.json
|
|
2274
|
+
var list_default2 = {
|
|
2275
|
+
lexicon: 1,
|
|
2276
|
+
id: "com.atiproto.account.subscription.list",
|
|
2277
|
+
defs: {
|
|
2278
|
+
main: {
|
|
2279
|
+
type: "query",
|
|
2280
|
+
description: "List subscriptions received by the authenticated user (subscriptions where the authed user is the recipient/subject). Includes subscriptions marked private, which are only stored in atiproto's database.",
|
|
2281
|
+
parameters: {
|
|
2282
|
+
type: "params",
|
|
2283
|
+
properties: {
|
|
2284
|
+
cursor: {
|
|
2285
|
+
type: "string",
|
|
2286
|
+
maxLength: 512,
|
|
2287
|
+
description: "Pagination cursor"
|
|
2288
|
+
},
|
|
2289
|
+
limit: {
|
|
2290
|
+
type: "integer",
|
|
2291
|
+
minimum: 1,
|
|
2292
|
+
maximum: 100,
|
|
2293
|
+
default: 50,
|
|
2294
|
+
description: "Results per page (1-100, default: 50)"
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
output: {
|
|
2299
|
+
encoding: "application/json",
|
|
2300
|
+
schema: {
|
|
2301
|
+
type: "object",
|
|
2302
|
+
required: ["subscriptions"],
|
|
2303
|
+
properties: {
|
|
2304
|
+
subscriptions: {
|
|
2305
|
+
type: "array",
|
|
2306
|
+
items: {
|
|
2307
|
+
type: "ref",
|
|
2308
|
+
ref: "com.atiproto.subscription#view"
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
cursor: {
|
|
2312
|
+
type: "string",
|
|
2313
|
+
maxLength: 512,
|
|
2314
|
+
description: "Pagination cursor for next page"
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
};
|
|
2322
|
+
|
|
2323
|
+
// src/schemas/account/subscription/validate.json
|
|
2324
|
+
var validate_default = {
|
|
2325
|
+
lexicon: 1,
|
|
2326
|
+
id: "com.atiproto.account.subscription.validate",
|
|
2327
|
+
defs: {
|
|
2328
|
+
main: {
|
|
2329
|
+
type: "query",
|
|
2330
|
+
description: "Validate that a sender has an active, Stripe-verified subscription to the authenticated user (as the recipient/subject). Looks up by subscriptionUri (a specific subscription record) or sender (subscriber DID). These are mutually exclusive; subscriptionUri takes precedence.",
|
|
2331
|
+
parameters: {
|
|
2332
|
+
type: "params",
|
|
2333
|
+
properties: {
|
|
2334
|
+
subscriptionUri: {
|
|
2335
|
+
type: "string",
|
|
2336
|
+
format: "at-uri",
|
|
2337
|
+
description: "AT-URI of a specific subscription record. Takes precedence over sender."
|
|
2338
|
+
},
|
|
2339
|
+
sender: {
|
|
2340
|
+
type: "string",
|
|
2341
|
+
format: "did",
|
|
2342
|
+
description: "DID of the subscriber. Ignored if subscriptionUri is provided."
|
|
2343
|
+
},
|
|
2344
|
+
amount: {
|
|
2345
|
+
type: "integer",
|
|
2346
|
+
description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
output: {
|
|
2351
|
+
encoding: "application/json",
|
|
2352
|
+
schema: {
|
|
2353
|
+
type: "object",
|
|
2354
|
+
required: ["valid"],
|
|
2355
|
+
properties: {
|
|
2356
|
+
valid: {
|
|
2357
|
+
type: "boolean",
|
|
2358
|
+
description: "Whether a sender has an active, verified subscription to the authed recipient"
|
|
2359
|
+
},
|
|
2360
|
+
amount: {
|
|
2361
|
+
type: "integer",
|
|
2362
|
+
description: "Subscription amount in cents"
|
|
2363
|
+
},
|
|
2364
|
+
currency: {
|
|
2365
|
+
type: "string",
|
|
2366
|
+
maxLength: 3,
|
|
2367
|
+
description: "Currency of the subscription"
|
|
2368
|
+
},
|
|
2369
|
+
reason: {
|
|
2370
|
+
type: "string",
|
|
2371
|
+
maxLength: 1024,
|
|
2372
|
+
description: "If invalid, reason for rejection"
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
// src/schemas/account/tip/get.json
|
|
2382
|
+
var get_default4 = {
|
|
1826
2383
|
lexicon: 1,
|
|
1827
|
-
id: "com.atiproto.account.
|
|
2384
|
+
id: "com.atiproto.account.tip.get",
|
|
1828
2385
|
defs: {
|
|
1829
2386
|
main: {
|
|
1830
|
-
type: "
|
|
1831
|
-
description: "
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
2387
|
+
type: "query",
|
|
2388
|
+
description: "Get a specific tip received by the authenticated user (as the recipient/subject). Looks up by tip record uri, sender DID, or record uri. These are mutually exclusive and resolved in that order.",
|
|
2389
|
+
parameters: {
|
|
2390
|
+
type: "params",
|
|
2391
|
+
properties: {
|
|
2392
|
+
uri: {
|
|
2393
|
+
type: "string",
|
|
2394
|
+
format: "at-uri",
|
|
2395
|
+
description: "AT-URI of the tip record. Takes precedence over sender and recordUri."
|
|
2396
|
+
},
|
|
2397
|
+
sender: {
|
|
2398
|
+
type: "string",
|
|
2399
|
+
format: "did",
|
|
2400
|
+
description: "DID of the tip sender. Takes precedence over recordUri."
|
|
2401
|
+
},
|
|
2402
|
+
recordUri: {
|
|
2403
|
+
type: "string",
|
|
2404
|
+
format: "at-uri",
|
|
2405
|
+
description: "AT-URI of the record being tipped. Ignored if uri or sender is provided."
|
|
1847
2406
|
}
|
|
1848
2407
|
}
|
|
1849
2408
|
},
|
|
@@ -1851,17 +2410,12 @@ var put_default = {
|
|
|
1851
2410
|
encoding: "application/json",
|
|
1852
2411
|
schema: {
|
|
1853
2412
|
type: "object",
|
|
1854
|
-
required: ["
|
|
2413
|
+
required: ["tip"],
|
|
1855
2414
|
properties: {
|
|
1856
|
-
|
|
1857
|
-
type: "
|
|
1858
|
-
|
|
1859
|
-
description: "
|
|
1860
|
-
},
|
|
1861
|
-
cid: {
|
|
1862
|
-
type: "string",
|
|
1863
|
-
format: "cid",
|
|
1864
|
-
description: "New CID of the updated record"
|
|
2415
|
+
tip: {
|
|
2416
|
+
type: "ref",
|
|
2417
|
+
ref: "com.atiproto.tip#view",
|
|
2418
|
+
description: "The tip record data"
|
|
1865
2419
|
}
|
|
1866
2420
|
}
|
|
1867
2421
|
}
|
|
@@ -1870,42 +2424,58 @@ var put_default = {
|
|
|
1870
2424
|
}
|
|
1871
2425
|
};
|
|
1872
2426
|
|
|
1873
|
-
// src/schemas/account/
|
|
1874
|
-
var
|
|
2427
|
+
// src/schemas/account/tip/list.json
|
|
2428
|
+
var list_default3 = {
|
|
1875
2429
|
lexicon: 1,
|
|
1876
|
-
id: "com.atiproto.account.
|
|
2430
|
+
id: "com.atiproto.account.tip.list",
|
|
1877
2431
|
defs: {
|
|
1878
2432
|
main: {
|
|
1879
2433
|
type: "query",
|
|
1880
|
-
description: "
|
|
2434
|
+
description: "List tips received by the authenticated user (tips where the authed user is the recipient/subject). Includes tips marked private, which are only stored in atiproto's database.",
|
|
2435
|
+
parameters: {
|
|
2436
|
+
type: "params",
|
|
2437
|
+
properties: {
|
|
2438
|
+
sender: {
|
|
2439
|
+
type: "string",
|
|
2440
|
+
format: "did",
|
|
2441
|
+
description: "Optional: only return tips sent by this DID"
|
|
2442
|
+
},
|
|
2443
|
+
recordUri: {
|
|
2444
|
+
type: "string",
|
|
2445
|
+
format: "at-uri",
|
|
2446
|
+
description: "Optional: only return tips received for this specific record"
|
|
2447
|
+
},
|
|
2448
|
+
cursor: {
|
|
2449
|
+
type: "string",
|
|
2450
|
+
maxLength: 512,
|
|
2451
|
+
description: "Pagination cursor"
|
|
2452
|
+
},
|
|
2453
|
+
limit: {
|
|
2454
|
+
type: "integer",
|
|
2455
|
+
minimum: 1,
|
|
2456
|
+
maximum: 100,
|
|
2457
|
+
default: 50,
|
|
2458
|
+
description: "Results per page (1-100, default: 50)"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
1881
2462
|
output: {
|
|
1882
2463
|
encoding: "application/json",
|
|
1883
2464
|
schema: {
|
|
1884
2465
|
type: "object",
|
|
1885
|
-
required: ["
|
|
2466
|
+
required: ["tips"],
|
|
1886
2467
|
properties: {
|
|
1887
|
-
|
|
1888
|
-
type: "
|
|
1889
|
-
|
|
1890
|
-
|
|
2468
|
+
tips: {
|
|
2469
|
+
type: "array",
|
|
2470
|
+
items: {
|
|
2471
|
+
type: "ref",
|
|
2472
|
+
ref: "com.atiproto.tip#view"
|
|
2473
|
+
}
|
|
1891
2474
|
},
|
|
1892
|
-
|
|
2475
|
+
cursor: {
|
|
1893
2476
|
type: "string",
|
|
1894
|
-
|
|
1895
|
-
description: "
|
|
1896
|
-
},
|
|
1897
|
-
profile: {
|
|
1898
|
-
type: "ref",
|
|
1899
|
-
ref: "com.atiproto.profile#view",
|
|
1900
|
-
description: "The profile record data (defaults if not configured)"
|
|
1901
|
-
},
|
|
1902
|
-
hasProfile: {
|
|
1903
|
-
type: "boolean",
|
|
1904
|
-
description: "Whether the user has saved a profile record"
|
|
1905
|
-
},
|
|
1906
|
-
readyForPayment: {
|
|
1907
|
-
type: "boolean",
|
|
1908
|
-
description: "Whether the user's payment account is set up and enabled"
|
|
2477
|
+
maxLength: 512,
|
|
2478
|
+
description: "Pagination cursor for next page"
|
|
1909
2479
|
}
|
|
1910
2480
|
}
|
|
1911
2481
|
}
|
|
@@ -1914,31 +2484,35 @@ var get_default2 = {
|
|
|
1914
2484
|
}
|
|
1915
2485
|
};
|
|
1916
2486
|
|
|
1917
|
-
// src/schemas/account/
|
|
1918
|
-
var
|
|
2487
|
+
// src/schemas/account/tip/validate.json
|
|
2488
|
+
var validate_default2 = {
|
|
1919
2489
|
lexicon: 1,
|
|
1920
|
-
id: "com.atiproto.account.
|
|
2490
|
+
id: "com.atiproto.account.tip.validate",
|
|
1921
2491
|
defs: {
|
|
1922
2492
|
main: {
|
|
1923
|
-
type: "
|
|
1924
|
-
description: "
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
2493
|
+
type: "query",
|
|
2494
|
+
description: "Validate that a sender has completed tip payment(s) to the authenticated user (as the recipient/subject). Looks up by tipUri (a specific tip record), recordUri (sums all tips for that record), or sender (sender DID). These are mutually exclusive and resolved in that order.",
|
|
2495
|
+
parameters: {
|
|
2496
|
+
type: "params",
|
|
2497
|
+
properties: {
|
|
2498
|
+
tipUri: {
|
|
2499
|
+
type: "string",
|
|
2500
|
+
format: "at-uri",
|
|
2501
|
+
description: "AT-URI of a specific tip record. Takes precedence over recordUri and sender."
|
|
2502
|
+
},
|
|
2503
|
+
recordUri: {
|
|
2504
|
+
type: "string",
|
|
2505
|
+
format: "at-uri",
|
|
2506
|
+
description: "AT-URI of the record being tipped. Takes precedence over sender."
|
|
2507
|
+
},
|
|
2508
|
+
sender: {
|
|
2509
|
+
type: "string",
|
|
2510
|
+
format: "did",
|
|
2511
|
+
description: "DID of the tip sender. Ignored if tipUri or recordUri is provided."
|
|
2512
|
+
},
|
|
2513
|
+
amount: {
|
|
2514
|
+
type: "integer",
|
|
2515
|
+
description: "Expected tip amount in cents. If omitted, only checks that a tip exists."
|
|
1942
2516
|
}
|
|
1943
2517
|
}
|
|
1944
2518
|
},
|
|
@@ -1946,36 +2520,25 @@ var put_default2 = {
|
|
|
1946
2520
|
encoding: "application/json",
|
|
1947
2521
|
schema: {
|
|
1948
2522
|
type: "object",
|
|
1949
|
-
required: [
|
|
1950
|
-
"uri",
|
|
1951
|
-
"cid",
|
|
1952
|
-
"profile",
|
|
1953
|
-
"hasProfile",
|
|
1954
|
-
"readyForPayment"
|
|
1955
|
-
],
|
|
2523
|
+
required: ["valid"],
|
|
1956
2524
|
properties: {
|
|
1957
|
-
|
|
1958
|
-
type: "
|
|
1959
|
-
|
|
1960
|
-
description: "Profile record URI"
|
|
1961
|
-
},
|
|
1962
|
-
cid: {
|
|
1963
|
-
type: "string",
|
|
1964
|
-
format: "cid",
|
|
1965
|
-
description: "Profile record CID"
|
|
2525
|
+
valid: {
|
|
2526
|
+
type: "boolean",
|
|
2527
|
+
description: "Whether a sender has completed and verified tip(s) to the authed recipient"
|
|
1966
2528
|
},
|
|
1967
|
-
|
|
1968
|
-
type: "
|
|
1969
|
-
|
|
1970
|
-
description: "The profile record data"
|
|
2529
|
+
amount: {
|
|
2530
|
+
type: "integer",
|
|
2531
|
+
description: "Sum of all verified completed tip amounts in cents"
|
|
1971
2532
|
},
|
|
1972
|
-
|
|
1973
|
-
type: "
|
|
1974
|
-
|
|
2533
|
+
currency: {
|
|
2534
|
+
type: "string",
|
|
2535
|
+
maxLength: 3,
|
|
2536
|
+
description: "Currency of the tips"
|
|
1975
2537
|
},
|
|
1976
|
-
|
|
1977
|
-
type: "
|
|
1978
|
-
|
|
2538
|
+
reason: {
|
|
2539
|
+
type: "string",
|
|
2540
|
+
maxLength: 1024,
|
|
2541
|
+
description: "If invalid, reason for rejection"
|
|
1979
2542
|
}
|
|
1980
2543
|
}
|
|
1981
2544
|
}
|
|
@@ -2116,7 +2679,7 @@ var cart_default = {
|
|
|
2116
2679
|
};
|
|
2117
2680
|
|
|
2118
2681
|
// src/schemas/feed/list.json
|
|
2119
|
-
var
|
|
2682
|
+
var list_default4 = {
|
|
2120
2683
|
lexicon: 1,
|
|
2121
2684
|
id: "com.atiproto.feed.list",
|
|
2122
2685
|
defs: {
|
|
@@ -2256,6 +2819,10 @@ var create_default2 = {
|
|
|
2256
2819
|
description: "URL to redirect to after checkout completes",
|
|
2257
2820
|
format: "uri",
|
|
2258
2821
|
type: "string"
|
|
2822
|
+
},
|
|
2823
|
+
isPrivate: {
|
|
2824
|
+
description: "If true, the recipient (subject) is stored only in atiproto's private database and is omitted from the PDS subscription record.",
|
|
2825
|
+
type: "boolean"
|
|
2259
2826
|
}
|
|
2260
2827
|
},
|
|
2261
2828
|
required: ["subject", "currency", "interval"],
|
|
@@ -2304,7 +2871,7 @@ var create_default2 = {
|
|
|
2304
2871
|
};
|
|
2305
2872
|
|
|
2306
2873
|
// src/schemas/feed/subscription/get.json
|
|
2307
|
-
var
|
|
2874
|
+
var get_default5 = {
|
|
2308
2875
|
defs: {
|
|
2309
2876
|
main: {
|
|
2310
2877
|
description: "Get a specific subscription by URI",
|
|
@@ -2351,7 +2918,7 @@ var get_default3 = {
|
|
|
2351
2918
|
};
|
|
2352
2919
|
|
|
2353
2920
|
// src/schemas/feed/subscription/list.json
|
|
2354
|
-
var
|
|
2921
|
+
var list_default5 = {
|
|
2355
2922
|
lexicon: 1,
|
|
2356
2923
|
id: "com.atiproto.feed.subscription.list",
|
|
2357
2924
|
defs: {
|
|
@@ -2467,6 +3034,64 @@ var put_default3 = {
|
|
|
2467
3034
|
}
|
|
2468
3035
|
};
|
|
2469
3036
|
|
|
3037
|
+
// src/schemas/feed/subscription/validate.json
|
|
3038
|
+
var validate_default3 = {
|
|
3039
|
+
lexicon: 1,
|
|
3040
|
+
id: "com.atiproto.feed.subscription.validate",
|
|
3041
|
+
defs: {
|
|
3042
|
+
main: {
|
|
3043
|
+
type: "query",
|
|
3044
|
+
description: "Validate that the authenticated user (as the sender/subscriber) has an active, Stripe-verified subscription. Looks up by subscriptionUri (a specific subscription record) or subject (recipient DID). These are mutually exclusive; subscriptionUri takes precedence.",
|
|
3045
|
+
parameters: {
|
|
3046
|
+
type: "params",
|
|
3047
|
+
properties: {
|
|
3048
|
+
subscriptionUri: {
|
|
3049
|
+
type: "string",
|
|
3050
|
+
format: "at-uri",
|
|
3051
|
+
description: "AT-URI of a specific subscription record. Takes precedence over subject."
|
|
3052
|
+
},
|
|
3053
|
+
subject: {
|
|
3054
|
+
type: "string",
|
|
3055
|
+
format: "did",
|
|
3056
|
+
description: "DID of the creator being subscribed to. Ignored if subscriptionUri is provided."
|
|
3057
|
+
},
|
|
3058
|
+
amount: {
|
|
3059
|
+
type: "integer",
|
|
3060
|
+
description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
output: {
|
|
3065
|
+
encoding: "application/json",
|
|
3066
|
+
schema: {
|
|
3067
|
+
type: "object",
|
|
3068
|
+
required: ["valid"],
|
|
3069
|
+
properties: {
|
|
3070
|
+
valid: {
|
|
3071
|
+
type: "boolean",
|
|
3072
|
+
description: "Whether the authed sender has an active, verified subscription"
|
|
3073
|
+
},
|
|
3074
|
+
amount: {
|
|
3075
|
+
type: "integer",
|
|
3076
|
+
description: "Subscription amount in cents"
|
|
3077
|
+
},
|
|
3078
|
+
currency: {
|
|
3079
|
+
type: "string",
|
|
3080
|
+
maxLength: 3,
|
|
3081
|
+
description: "Currency of the subscription"
|
|
3082
|
+
},
|
|
3083
|
+
reason: {
|
|
3084
|
+
type: "string",
|
|
3085
|
+
maxLength: 1024,
|
|
3086
|
+
description: "If invalid, reason for rejection"
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
};
|
|
3094
|
+
|
|
2470
3095
|
// src/schemas/feed/tip/create.json
|
|
2471
3096
|
var create_default3 = {
|
|
2472
3097
|
lexicon: 1,
|
|
@@ -2515,6 +3140,10 @@ var create_default3 = {
|
|
|
2515
3140
|
description: "Optional message (max 500 chars)",
|
|
2516
3141
|
maxGraphemes: 500,
|
|
2517
3142
|
maxLength: 5e3
|
|
3143
|
+
},
|
|
3144
|
+
isPrivate: {
|
|
3145
|
+
type: "boolean",
|
|
3146
|
+
description: "If true, the recipient (subject) and recordUri are stored only in atiproto's private database and are omitted from the PDS tip record."
|
|
2518
3147
|
}
|
|
2519
3148
|
}
|
|
2520
3149
|
}
|
|
@@ -2558,7 +3187,7 @@ var create_default3 = {
|
|
|
2558
3187
|
};
|
|
2559
3188
|
|
|
2560
3189
|
// src/schemas/feed/tip/get.json
|
|
2561
|
-
var
|
|
3190
|
+
var get_default6 = {
|
|
2562
3191
|
defs: {
|
|
2563
3192
|
main: {
|
|
2564
3193
|
description: "Get a specific tip by URI",
|
|
@@ -2605,7 +3234,7 @@ var get_default4 = {
|
|
|
2605
3234
|
};
|
|
2606
3235
|
|
|
2607
3236
|
// src/schemas/feed/tip/list.json
|
|
2608
|
-
var
|
|
3237
|
+
var list_default6 = {
|
|
2609
3238
|
lexicon: 1,
|
|
2610
3239
|
id: "com.atiproto.feed.tip.list",
|
|
2611
3240
|
defs: {
|
|
@@ -2706,6 +3335,69 @@ var put_default4 = {
|
|
|
2706
3335
|
}
|
|
2707
3336
|
};
|
|
2708
3337
|
|
|
3338
|
+
// src/schemas/feed/tip/validate.json
|
|
3339
|
+
var validate_default4 = {
|
|
3340
|
+
lexicon: 1,
|
|
3341
|
+
id: "com.atiproto.feed.tip.validate",
|
|
3342
|
+
defs: {
|
|
3343
|
+
main: {
|
|
3344
|
+
type: "query",
|
|
3345
|
+
description: "Validate that the authenticated user (as the sender) has completed tip payment(s). Looks up by tipUri (a specific tip record), recordUri (sums all tips for that record), or subject (recipient DID). These are mutually exclusive and resolved in that order.",
|
|
3346
|
+
parameters: {
|
|
3347
|
+
type: "params",
|
|
3348
|
+
properties: {
|
|
3349
|
+
tipUri: {
|
|
3350
|
+
type: "string",
|
|
3351
|
+
format: "at-uri",
|
|
3352
|
+
description: "AT-URI of a specific tip record. Takes precedence over recordUri and subject."
|
|
3353
|
+
},
|
|
3354
|
+
recordUri: {
|
|
3355
|
+
type: "string",
|
|
3356
|
+
format: "at-uri",
|
|
3357
|
+
description: "AT-URI of the record being tipped. Takes precedence over subject."
|
|
3358
|
+
},
|
|
3359
|
+
subject: {
|
|
3360
|
+
type: "string",
|
|
3361
|
+
format: "did",
|
|
3362
|
+
description: "DID of the tip recipient. Ignored if tipUri or recordUri is provided."
|
|
3363
|
+
},
|
|
3364
|
+
amount: {
|
|
3365
|
+
type: "integer",
|
|
3366
|
+
description: "Expected tip amount in cents. If omitted, only checks that a tip exists."
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
},
|
|
3370
|
+
output: {
|
|
3371
|
+
encoding: "application/json",
|
|
3372
|
+
schema: {
|
|
3373
|
+
type: "object",
|
|
3374
|
+
required: ["valid"],
|
|
3375
|
+
properties: {
|
|
3376
|
+
valid: {
|
|
3377
|
+
type: "boolean",
|
|
3378
|
+
description: "Whether the authed sender has completed and verified tip(s)"
|
|
3379
|
+
},
|
|
3380
|
+
amount: {
|
|
3381
|
+
type: "integer",
|
|
3382
|
+
description: "Sum of all verified completed tip amounts in cents"
|
|
3383
|
+
},
|
|
3384
|
+
currency: {
|
|
3385
|
+
type: "string",
|
|
3386
|
+
maxLength: 3,
|
|
3387
|
+
description: "Currency of the tips"
|
|
3388
|
+
},
|
|
3389
|
+
reason: {
|
|
3390
|
+
type: "string",
|
|
3391
|
+
maxLength: 1024,
|
|
3392
|
+
description: "If invalid, reason for rejection"
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
};
|
|
3400
|
+
|
|
2709
3401
|
// src/schemas/profile.json
|
|
2710
3402
|
var profile_default = {
|
|
2711
3403
|
lexicon: 1,
|
|
@@ -2777,7 +3469,7 @@ var profile_default = {
|
|
|
2777
3469
|
};
|
|
2778
3470
|
|
|
2779
3471
|
// src/schemas/repo/profile/get.json
|
|
2780
|
-
var
|
|
3472
|
+
var get_default7 = {
|
|
2781
3473
|
lexicon: 1,
|
|
2782
3474
|
id: "com.atiproto.repo.profile.get",
|
|
2783
3475
|
defs: {
|
|
@@ -2818,107 +3510,31 @@ var get_default5 = {
|
|
|
2818
3510
|
}
|
|
2819
3511
|
};
|
|
2820
3512
|
|
|
2821
|
-
// src/schemas/repo/subscription/
|
|
2822
|
-
var
|
|
3513
|
+
// src/schemas/repo/subscription/count.json
|
|
3514
|
+
var count_default = {
|
|
2823
3515
|
lexicon: 1,
|
|
2824
|
-
id: "com.atiproto.repo.subscription.
|
|
3516
|
+
id: "com.atiproto.repo.subscription.count",
|
|
2825
3517
|
defs: {
|
|
2826
3518
|
main: {
|
|
2827
3519
|
type: "query",
|
|
2828
|
-
description: "
|
|
3520
|
+
description: "Count active subscriptions. If subject is provided, counts subscriptions received by that DID. If omitted, counts subscriptions the authenticated user has active (as the subscriber). Optionally filtered by a start/end datetime window (matching billingStartDate). When the authenticated user is the subject/owner of the target, the response also includes the sum of amounts.",
|
|
2829
3521
|
parameters: {
|
|
2830
3522
|
type: "params",
|
|
2831
3523
|
properties: {
|
|
2832
3524
|
subject: {
|
|
2833
3525
|
type: "string",
|
|
2834
3526
|
format: "did",
|
|
2835
|
-
description: "DID of the user being subscribed to"
|
|
2836
|
-
},
|
|
2837
|
-
cursor: {
|
|
2838
|
-
type: "string",
|
|
2839
|
-
maxLength: 512,
|
|
2840
|
-
description: "Pagination cursor"
|
|
2841
|
-
},
|
|
2842
|
-
limit: {
|
|
2843
|
-
type: "integer",
|
|
2844
|
-
minimum: 1,
|
|
2845
|
-
maximum: 100,
|
|
2846
|
-
default: 50,
|
|
2847
|
-
description: "Results per page (1-100, default: 50)"
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
required: ["subject"]
|
|
2851
|
-
},
|
|
2852
|
-
output: {
|
|
2853
|
-
encoding: "application/json",
|
|
2854
|
-
schema: {
|
|
2855
|
-
type: "object",
|
|
2856
|
-
required: ["subscriptions"],
|
|
2857
|
-
properties: {
|
|
2858
|
-
subscriptions: {
|
|
2859
|
-
type: "array",
|
|
2860
|
-
items: {
|
|
2861
|
-
type: "ref",
|
|
2862
|
-
ref: "#subscriptionResponse"
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
cursor: {
|
|
2866
|
-
type: "string",
|
|
2867
|
-
maxLength: 512,
|
|
2868
|
-
description: "Pagination cursor for next page"
|
|
2869
|
-
}
|
|
2870
|
-
}
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
},
|
|
2874
|
-
subscriptionResponse: {
|
|
2875
|
-
type: "object",
|
|
2876
|
-
required: ["uri", "record"],
|
|
2877
|
-
properties: {
|
|
2878
|
-
uri: {
|
|
2879
|
-
type: "string",
|
|
2880
|
-
format: "at-uri",
|
|
2881
|
-
description: "AT-URI of the subscription record"
|
|
2882
|
-
},
|
|
2883
|
-
record: {
|
|
2884
|
-
type: "ref",
|
|
2885
|
-
ref: "com.atiproto.subscription#view"
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
};
|
|
2891
|
-
|
|
2892
|
-
// src/schemas/repo/subscription/validate.json
|
|
2893
|
-
var validate_default = {
|
|
2894
|
-
lexicon: 1,
|
|
2895
|
-
id: "com.atiproto.repo.subscription.validate",
|
|
2896
|
-
defs: {
|
|
2897
|
-
main: {
|
|
2898
|
-
type: "query",
|
|
2899
|
-
description: "Validate that a sender has an active, Stripe-verified subscription. Looks up by subscriptionUri (a specific subscription record) or subject (recipient DID). These are mutually exclusive; subscriptionUri takes precedence.",
|
|
2900
|
-
parameters: {
|
|
2901
|
-
type: "params",
|
|
2902
|
-
required: ["sender"],
|
|
2903
|
-
properties: {
|
|
2904
|
-
sender: {
|
|
2905
|
-
type: "string",
|
|
2906
|
-
format: "did",
|
|
2907
|
-
description: "DID of the subscriber"
|
|
3527
|
+
description: "DID of the user being subscribed to. If omitted, the query counts subscriptions the authenticated user has active as the subscriber."
|
|
2908
3528
|
},
|
|
2909
|
-
|
|
3529
|
+
startDate: {
|
|
2910
3530
|
type: "string",
|
|
2911
|
-
format: "
|
|
2912
|
-
description: "
|
|
3531
|
+
format: "datetime",
|
|
3532
|
+
description: "Only count subscriptions whose billingStartDate is at or after this timestamp"
|
|
2913
3533
|
},
|
|
2914
|
-
|
|
3534
|
+
endDate: {
|
|
2915
3535
|
type: "string",
|
|
2916
|
-
format: "
|
|
2917
|
-
description: "
|
|
2918
|
-
},
|
|
2919
|
-
amount: {
|
|
2920
|
-
type: "integer",
|
|
2921
|
-
description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
|
|
3536
|
+
format: "datetime",
|
|
3537
|
+
description: "Only count subscriptions whose billingStartDate is at or before this timestamp"
|
|
2922
3538
|
}
|
|
2923
3539
|
}
|
|
2924
3540
|
},
|
|
@@ -2926,126 +3542,39 @@ var validate_default = {
|
|
|
2926
3542
|
encoding: "application/json",
|
|
2927
3543
|
schema: {
|
|
2928
3544
|
type: "object",
|
|
2929
|
-
required: ["
|
|
3545
|
+
required: ["count"],
|
|
2930
3546
|
properties: {
|
|
2931
|
-
|
|
2932
|
-
type: "
|
|
2933
|
-
description: "
|
|
3547
|
+
count: {
|
|
3548
|
+
type: "integer",
|
|
3549
|
+
description: "Number of active subscriptions matching the filter"
|
|
2934
3550
|
},
|
|
2935
3551
|
amount: {
|
|
2936
3552
|
type: "integer",
|
|
2937
|
-
description: "
|
|
3553
|
+
description: "Sum of all subscription amounts in cents. Only returned when the authenticated user is the subject/owner of the target (or when counting their own active subscriptions)."
|
|
2938
3554
|
},
|
|
2939
3555
|
currency: {
|
|
2940
3556
|
type: "string",
|
|
2941
3557
|
maxLength: 3,
|
|
2942
|
-
description: "Currency of the
|
|
2943
|
-
},
|
|
2944
|
-
reason: {
|
|
2945
|
-
type: "string",
|
|
2946
|
-
maxLength: 1024,
|
|
2947
|
-
description: "If invalid, reason for rejection"
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
|
-
}
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2954
|
-
};
|
|
2955
|
-
|
|
2956
|
-
// src/schemas/repo/tip/search.json
|
|
2957
|
-
var search_default2 = {
|
|
2958
|
-
lexicon: 1,
|
|
2959
|
-
id: "com.atiproto.repo.tip.search",
|
|
2960
|
-
defs: {
|
|
2961
|
-
main: {
|
|
2962
|
-
type: "query",
|
|
2963
|
-
description: "Search for tips sent to a user (tips where subject matches the given DID)",
|
|
2964
|
-
parameters: {
|
|
2965
|
-
type: "params",
|
|
2966
|
-
properties: {
|
|
2967
|
-
subject: {
|
|
2968
|
-
type: "string",
|
|
2969
|
-
format: "did",
|
|
2970
|
-
description: "DID of the user receiving tips"
|
|
2971
|
-
},
|
|
2972
|
-
cursor: {
|
|
2973
|
-
type: "string",
|
|
2974
|
-
maxLength: 512,
|
|
2975
|
-
description: "Pagination cursor"
|
|
2976
|
-
},
|
|
2977
|
-
limit: {
|
|
2978
|
-
type: "integer",
|
|
2979
|
-
minimum: 1,
|
|
2980
|
-
maximum: 100,
|
|
2981
|
-
default: 50,
|
|
2982
|
-
description: "Results per page (1-100, default: 50)"
|
|
2983
|
-
}
|
|
2984
|
-
},
|
|
2985
|
-
required: ["subject"]
|
|
2986
|
-
},
|
|
2987
|
-
output: {
|
|
2988
|
-
encoding: "application/json",
|
|
2989
|
-
schema: {
|
|
2990
|
-
type: "object",
|
|
2991
|
-
required: ["tips"],
|
|
2992
|
-
properties: {
|
|
2993
|
-
tips: {
|
|
2994
|
-
type: "array",
|
|
2995
|
-
items: {
|
|
2996
|
-
type: "ref",
|
|
2997
|
-
ref: "#tipResponse"
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
cursor: {
|
|
3001
|
-
type: "string",
|
|
3002
|
-
maxLength: 512,
|
|
3003
|
-
description: "Pagination cursor for next page"
|
|
3558
|
+
description: "Currency of the summed amount. Only returned when the authenticated user is the subject/owner of the target (or when counting their own active subscriptions)."
|
|
3004
3559
|
}
|
|
3005
3560
|
}
|
|
3006
3561
|
}
|
|
3007
3562
|
}
|
|
3008
|
-
},
|
|
3009
|
-
tipResponse: {
|
|
3010
|
-
type: "object",
|
|
3011
|
-
required: ["uri", "record"],
|
|
3012
|
-
properties: {
|
|
3013
|
-
uri: {
|
|
3014
|
-
type: "string",
|
|
3015
|
-
format: "at-uri",
|
|
3016
|
-
description: "AT-URI of the tip record"
|
|
3017
|
-
},
|
|
3018
|
-
record: {
|
|
3019
|
-
type: "ref",
|
|
3020
|
-
ref: "com.atiproto.tip#view"
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
3563
|
}
|
|
3024
3564
|
}
|
|
3025
3565
|
};
|
|
3026
3566
|
|
|
3027
|
-
// src/schemas/repo/tip/
|
|
3028
|
-
var
|
|
3567
|
+
// src/schemas/repo/tip/count.json
|
|
3568
|
+
var count_default2 = {
|
|
3029
3569
|
lexicon: 1,
|
|
3030
|
-
id: "com.atiproto.repo.tip.
|
|
3570
|
+
id: "com.atiproto.repo.tip.count",
|
|
3031
3571
|
defs: {
|
|
3032
3572
|
main: {
|
|
3033
3573
|
type: "query",
|
|
3034
|
-
description: "
|
|
3574
|
+
description: "Count active (completed) tips. If recordUri is provided, counts tips for that record. If subject is provided, counts tips received by that DID. If neither is provided, counts tips sent by the authenticated user. Optionally filtered by a start/end datetime window. When the authenticated user is the subject/owner of the target, the response also includes the sum of amounts.",
|
|
3035
3575
|
parameters: {
|
|
3036
3576
|
type: "params",
|
|
3037
|
-
required: ["sender"],
|
|
3038
3577
|
properties: {
|
|
3039
|
-
sender: {
|
|
3040
|
-
type: "string",
|
|
3041
|
-
format: "did",
|
|
3042
|
-
description: "DID of the tip sender"
|
|
3043
|
-
},
|
|
3044
|
-
tipUri: {
|
|
3045
|
-
type: "string",
|
|
3046
|
-
format: "at-uri",
|
|
3047
|
-
description: "AT-URI of a specific tip record. Takes precedence over recordUri and subject."
|
|
3048
|
-
},
|
|
3049
3578
|
recordUri: {
|
|
3050
3579
|
type: "string",
|
|
3051
3580
|
format: "at-uri",
|
|
@@ -3054,11 +3583,17 @@ var validate_default2 = {
|
|
|
3054
3583
|
subject: {
|
|
3055
3584
|
type: "string",
|
|
3056
3585
|
format: "did",
|
|
3057
|
-
description: "DID of the tip recipient. Ignored if
|
|
3586
|
+
description: "DID of the tip recipient. Ignored if recordUri is provided. If omitted (and recordUri is omitted), the query counts tips sent by the authenticated user."
|
|
3058
3587
|
},
|
|
3059
|
-
|
|
3060
|
-
type: "
|
|
3061
|
-
|
|
3588
|
+
startDate: {
|
|
3589
|
+
type: "string",
|
|
3590
|
+
format: "datetime",
|
|
3591
|
+
description: "Only count tips completed at or after this timestamp"
|
|
3592
|
+
},
|
|
3593
|
+
endDate: {
|
|
3594
|
+
type: "string",
|
|
3595
|
+
format: "datetime",
|
|
3596
|
+
description: "Only count tips completed at or before this timestamp"
|
|
3062
3597
|
}
|
|
3063
3598
|
}
|
|
3064
3599
|
},
|
|
@@ -3066,25 +3601,20 @@ var validate_default2 = {
|
|
|
3066
3601
|
encoding: "application/json",
|
|
3067
3602
|
schema: {
|
|
3068
3603
|
type: "object",
|
|
3069
|
-
required: ["
|
|
3604
|
+
required: ["count"],
|
|
3070
3605
|
properties: {
|
|
3071
|
-
|
|
3072
|
-
type: "
|
|
3073
|
-
description: "
|
|
3606
|
+
count: {
|
|
3607
|
+
type: "integer",
|
|
3608
|
+
description: "Number of active (completed) tips matching the filter"
|
|
3074
3609
|
},
|
|
3075
3610
|
amount: {
|
|
3076
3611
|
type: "integer",
|
|
3077
|
-
description: "Sum of all
|
|
3612
|
+
description: "Sum of all tip amounts in cents. Only returned when the authenticated user is the subject/owner of the target (or when counting their own sent tips)."
|
|
3078
3613
|
},
|
|
3079
3614
|
currency: {
|
|
3080
3615
|
type: "string",
|
|
3081
3616
|
maxLength: 3,
|
|
3082
|
-
description: "Currency of the tips"
|
|
3083
|
-
},
|
|
3084
|
-
reason: {
|
|
3085
|
-
type: "string",
|
|
3086
|
-
maxLength: 1024,
|
|
3087
|
-
description: "If invalid, reason for rejection"
|
|
3617
|
+
description: "Currency of the summed amount. Only returned when the authenticated user is the subject/owner of the target (or when counting their own sent tips)."
|
|
3088
3618
|
}
|
|
3089
3619
|
}
|
|
3090
3620
|
}
|
|
@@ -3125,21 +3655,27 @@ var authEnhanced_default = {
|
|
|
3125
3655
|
"com.atiproto.account.cart.put",
|
|
3126
3656
|
"com.atiproto.account.profile.get",
|
|
3127
3657
|
"com.atiproto.account.profile.put",
|
|
3658
|
+
"com.atiproto.account.subscription.get",
|
|
3659
|
+
"com.atiproto.account.subscription.list",
|
|
3660
|
+
"com.atiproto.account.subscription.validate",
|
|
3661
|
+
"com.atiproto.account.tip.get",
|
|
3662
|
+
"com.atiproto.account.tip.list",
|
|
3663
|
+
"com.atiproto.account.tip.validate",
|
|
3128
3664
|
"com.atiproto.feed.list",
|
|
3129
3665
|
"com.atiproto.feed.subscription.cancel",
|
|
3130
3666
|
"com.atiproto.feed.subscription.create",
|
|
3131
3667
|
"com.atiproto.feed.subscription.get",
|
|
3132
3668
|
"com.atiproto.feed.subscription.list",
|
|
3133
3669
|
"com.atiproto.feed.subscription.put",
|
|
3670
|
+
"com.atiproto.feed.subscription.validate",
|
|
3134
3671
|
"com.atiproto.feed.tip.create",
|
|
3135
3672
|
"com.atiproto.feed.tip.get",
|
|
3136
3673
|
"com.atiproto.feed.tip.list",
|
|
3137
3674
|
"com.atiproto.feed.tip.put",
|
|
3675
|
+
"com.atiproto.feed.tip.validate",
|
|
3138
3676
|
"com.atiproto.repo.profile.get",
|
|
3139
|
-
"com.atiproto.repo.subscription.
|
|
3140
|
-
"com.atiproto.repo.
|
|
3141
|
-
"com.atiproto.repo.tip.search",
|
|
3142
|
-
"com.atiproto.repo.tip.validate"
|
|
3677
|
+
"com.atiproto.repo.subscription.count",
|
|
3678
|
+
"com.atiproto.repo.tip.count"
|
|
3143
3679
|
]
|
|
3144
3680
|
}
|
|
3145
3681
|
]
|
|
@@ -3176,21 +3712,27 @@ var authGeneral_default = {
|
|
|
3176
3712
|
"com.atiproto.account.cart.get",
|
|
3177
3713
|
"com.atiproto.account.cart.list",
|
|
3178
3714
|
"com.atiproto.account.cart.put",
|
|
3715
|
+
"com.atiproto.account.subscription.get",
|
|
3716
|
+
"com.atiproto.account.subscription.list",
|
|
3717
|
+
"com.atiproto.account.subscription.validate",
|
|
3718
|
+
"com.atiproto.account.tip.get",
|
|
3719
|
+
"com.atiproto.account.tip.list",
|
|
3720
|
+
"com.atiproto.account.tip.validate",
|
|
3179
3721
|
"com.atiproto.feed.list",
|
|
3180
3722
|
"com.atiproto.feed.subscription.cancel",
|
|
3181
3723
|
"com.atiproto.feed.subscription.create",
|
|
3182
3724
|
"com.atiproto.feed.subscription.get",
|
|
3183
3725
|
"com.atiproto.feed.subscription.list",
|
|
3184
3726
|
"com.atiproto.feed.subscription.put",
|
|
3727
|
+
"com.atiproto.feed.subscription.validate",
|
|
3185
3728
|
"com.atiproto.feed.tip.create",
|
|
3186
3729
|
"com.atiproto.feed.tip.get",
|
|
3187
3730
|
"com.atiproto.feed.tip.list",
|
|
3188
3731
|
"com.atiproto.feed.tip.put",
|
|
3732
|
+
"com.atiproto.feed.tip.validate",
|
|
3189
3733
|
"com.atiproto.repo.profile.get",
|
|
3190
|
-
"com.atiproto.repo.subscription.
|
|
3191
|
-
"com.atiproto.repo.
|
|
3192
|
-
"com.atiproto.repo.tip.search",
|
|
3193
|
-
"com.atiproto.repo.tip.validate"
|
|
3734
|
+
"com.atiproto.repo.subscription.count",
|
|
3735
|
+
"com.atiproto.repo.tip.count"
|
|
3194
3736
|
]
|
|
3195
3737
|
}
|
|
3196
3738
|
]
|
|
@@ -3271,7 +3813,6 @@ var subscription_default = {
|
|
|
3271
3813
|
type: "object",
|
|
3272
3814
|
description: "View of a subscription record for use in API responses",
|
|
3273
3815
|
required: [
|
|
3274
|
-
"subject",
|
|
3275
3816
|
"amount",
|
|
3276
3817
|
"currency",
|
|
3277
3818
|
"interval",
|
|
@@ -3385,7 +3926,7 @@ var tip_default = {
|
|
|
3385
3926
|
type: "string"
|
|
3386
3927
|
}
|
|
3387
3928
|
},
|
|
3388
|
-
required: ["
|
|
3929
|
+
required: ["amount", "currency", "status", "createdAt"],
|
|
3389
3930
|
type: "object"
|
|
3390
3931
|
},
|
|
3391
3932
|
type: "record"
|
|
@@ -3393,7 +3934,7 @@ var tip_default = {
|
|
|
3393
3934
|
view: {
|
|
3394
3935
|
type: "object",
|
|
3395
3936
|
description: "View of a tip record for use in API responses",
|
|
3396
|
-
required: ["
|
|
3937
|
+
required: ["amount", "currency", "status", "createdAt"],
|
|
3397
3938
|
properties: {
|
|
3398
3939
|
subject: {
|
|
3399
3940
|
description: "DID of the user receiving the tip",
|
|
@@ -3453,23 +3994,29 @@ var schemas = [
|
|
|
3453
3994
|
put_default,
|
|
3454
3995
|
get_default2,
|
|
3455
3996
|
put_default2,
|
|
3456
|
-
|
|
3997
|
+
get_default3,
|
|
3457
3998
|
list_default2,
|
|
3999
|
+
validate_default,
|
|
4000
|
+
get_default4,
|
|
4001
|
+
list_default3,
|
|
4002
|
+
validate_default2,
|
|
4003
|
+
cart_default,
|
|
4004
|
+
list_default4,
|
|
3458
4005
|
cancel_default,
|
|
3459
4006
|
create_default2,
|
|
3460
|
-
|
|
3461
|
-
|
|
4007
|
+
get_default5,
|
|
4008
|
+
list_default5,
|
|
3462
4009
|
put_default3,
|
|
4010
|
+
validate_default3,
|
|
3463
4011
|
create_default3,
|
|
3464
|
-
|
|
3465
|
-
|
|
4012
|
+
get_default6,
|
|
4013
|
+
list_default6,
|
|
3466
4014
|
put_default4,
|
|
4015
|
+
validate_default4,
|
|
3467
4016
|
profile_default,
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
search_default2,
|
|
3472
|
-
validate_default2,
|
|
4017
|
+
get_default7,
|
|
4018
|
+
count_default,
|
|
4019
|
+
count_default2,
|
|
3473
4020
|
authEnhanced_default,
|
|
3474
4021
|
authGeneral_default,
|
|
3475
4022
|
subscription_default,
|