@atiproto/lexicons 0.3.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.
Files changed (52) hide show
  1. package/dist/index.js +1855 -1050
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1855 -1050
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/lexicons/com/atiproto/account/cart/clone.defs.d.ts +6 -6
  6. package/dist/lexicons/com/atiproto/account/cart/create.defs.d.ts +2 -2
  7. package/dist/lexicons/com/atiproto/account/cart/get.defs.d.ts +6 -6
  8. package/dist/lexicons/com/atiproto/account/cart/list.defs.d.ts +1 -1
  9. package/dist/lexicons/com/atiproto/account/profile/get.defs.d.ts +2 -2
  10. package/dist/lexicons/com/atiproto/account/profile/put.defs.d.ts +2 -2
  11. package/dist/lexicons/com/atiproto/account/subscription/get.d.ts +2 -0
  12. package/dist/lexicons/com/atiproto/account/subscription/get.defs.d.ts +29 -0
  13. package/dist/lexicons/com/atiproto/account/subscription/list.d.ts +2 -0
  14. package/dist/lexicons/com/atiproto/account/subscription/list.defs.d.ts +31 -0
  15. package/dist/lexicons/com/atiproto/account/subscription/validate.d.ts +2 -0
  16. package/dist/lexicons/com/atiproto/account/subscription/validate.defs.d.ts +44 -0
  17. package/dist/lexicons/com/atiproto/account/subscription.d.ts +3 -0
  18. package/dist/lexicons/com/atiproto/account/tip/get.d.ts +2 -0
  19. package/dist/lexicons/com/atiproto/account/tip/get.defs.d.ts +35 -0
  20. package/dist/lexicons/com/atiproto/account/tip/list.d.ts +2 -0
  21. package/dist/lexicons/com/atiproto/account/tip/list.defs.d.ts +43 -0
  22. package/dist/lexicons/com/atiproto/account/tip/validate.d.ts +2 -0
  23. package/dist/lexicons/com/atiproto/account/tip/validate.defs.d.ts +50 -0
  24. package/dist/lexicons/com/atiproto/account/tip.d.ts +3 -0
  25. package/dist/lexicons/com/atiproto/account.d.ts +2 -0
  26. package/dist/lexicons/com/atiproto/cart.defs.d.ts +33 -0
  27. package/dist/lexicons/com/atiproto/feed/subscription/cancel.defs.d.ts +2 -2
  28. package/dist/lexicons/com/atiproto/feed/subscription/create.defs.d.ts +6 -4
  29. package/dist/lexicons/com/atiproto/feed/subscription/get.defs.d.ts +2 -2
  30. package/dist/lexicons/com/atiproto/feed/subscription/list.defs.d.ts +1 -1
  31. package/dist/lexicons/com/atiproto/feed/subscription/validate.d.ts +2 -0
  32. package/dist/lexicons/com/atiproto/feed/subscription/validate.defs.d.ts +44 -0
  33. package/dist/lexicons/com/atiproto/feed/subscription.d.ts +1 -0
  34. package/dist/lexicons/com/atiproto/feed/tip/create.defs.d.ts +6 -4
  35. package/dist/lexicons/com/atiproto/feed/tip/get.defs.d.ts +2 -2
  36. package/dist/lexicons/com/atiproto/feed/tip/list.defs.d.ts +2 -2
  37. package/dist/lexicons/com/atiproto/feed/tip/validate.d.ts +2 -0
  38. package/dist/lexicons/com/atiproto/feed/tip/validate.defs.d.ts +50 -0
  39. package/dist/lexicons/com/atiproto/feed/tip.d.ts +1 -0
  40. package/dist/lexicons/com/atiproto/profile.defs.d.ts +28 -0
  41. package/dist/lexicons/com/atiproto/repo/profile/get.defs.d.ts +2 -2
  42. package/dist/lexicons/com/atiproto/repo/subscription/count.d.ts +2 -0
  43. package/dist/lexicons/com/atiproto/repo/subscription/count.defs.d.ts +42 -0
  44. package/dist/lexicons/com/atiproto/repo/subscription/search.defs.d.ts +1 -1
  45. package/dist/lexicons/com/atiproto/repo/subscription.d.ts +1 -2
  46. package/dist/lexicons/com/atiproto/repo/tip/count.d.ts +2 -0
  47. package/dist/lexicons/com/atiproto/repo/tip/count.defs.d.ts +48 -0
  48. package/dist/lexicons/com/atiproto/repo/tip/search.defs.d.ts +1 -1
  49. package/dist/lexicons/com/atiproto/repo/tip.d.ts +1 -2
  50. package/dist/lexicons/com/atiproto/subscription.defs.d.ts +44 -0
  51. package/dist/lexicons/com/atiproto/tip.defs.d.ts +91 -11
  52. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -20,15 +20,17 @@ __export(atiproto_exports, {
20
20
  feed: () => feed_exports,
21
21
  profile: () => profile_exports2,
22
22
  repo: () => repo_exports,
23
- subscription: () => subscription_exports3,
24
- tip: () => tip_exports3
23
+ subscription: () => subscription_exports4,
24
+ tip: () => tip_exports4
25
25
  });
26
26
 
27
27
  // src/lexicons/com/atiproto/account.ts
28
28
  var account_exports = {};
29
29
  __export(account_exports, {
30
30
  cart: () => cart_exports,
31
- profile: () => profile_exports
31
+ profile: () => profile_exports,
32
+ subscription: () => subscription_exports,
33
+ tip: () => tip_exports
32
34
  });
33
35
 
34
36
  // src/lexicons/com/atiproto/account/cart.ts
@@ -82,7 +84,8 @@ __export(cart_defs_exports, {
82
84
  $type: () => $type,
83
85
  $validate: () => $validate,
84
86
  cartItem: () => cartItem,
85
- main: () => main
87
+ main: () => main,
88
+ view: () => view
86
89
  });
87
90
  import { l } from "@atproto/lex";
88
91
  var $nsid = "com.atiproto.cart";
@@ -111,6 +114,19 @@ var $parse = /* @__PURE__ */ main.parse.bind(main);
111
114
  var $safeParse = /* @__PURE__ */ main.safeParse.bind(main);
112
115
  var $validate = /* @__PURE__ */ main.validate.bind(main);
113
116
  var $safeValidate = /* @__PURE__ */ main.safeValidate.bind(main);
117
+ var view = l.typedObject(
118
+ $nsid,
119
+ "view",
120
+ l.object({
121
+ items: l.array(l.ref((() => cartItem))),
122
+ currency: l.string({ maxLength: 3 }),
123
+ total: l.integer(),
124
+ status: l.enum(["open", "completed", "expired", "abandoned"]),
125
+ createdAt: l.string({ format: "datetime" }),
126
+ expiresAt: l.string({ format: "datetime" }),
127
+ completedAt: l.optional(l.string({ format: "datetime" }))
128
+ })
129
+ );
114
130
  var cartItem = l.typedObject(
115
131
  $nsid,
116
132
  "cartItem",
@@ -136,7 +152,8 @@ __export(tip_defs_exports, {
136
152
  $safeValidate: () => $safeValidate2,
137
153
  $type: () => $type2,
138
154
  $validate: () => $validate2,
139
- main: () => main2
155
+ main: () => main2,
156
+ view: () => view2
140
157
  });
141
158
  import { l as l2 } from "@atproto/lex";
142
159
  var $nsid2 = "com.atiproto.tip";
@@ -144,7 +161,7 @@ var main2 = l2.record(
144
161
  "any",
145
162
  $nsid2,
146
163
  l2.object({
147
- subject: l2.string({ format: "did" }),
164
+ subject: l2.optional(l2.string({ format: "did" })),
148
165
  recordUri: l2.optional(l2.string({ format: "at-uri" })),
149
166
  amount: l2.integer({ minimum: 0 }),
150
167
  currency: l2.string({ maxLength: 3 }),
@@ -172,6 +189,26 @@ var $parse2 = /* @__PURE__ */ main2.parse.bind(main2);
172
189
  var $safeParse2 = /* @__PURE__ */ main2.safeParse.bind(main2);
173
190
  var $validate2 = /* @__PURE__ */ main2.validate.bind(main2);
174
191
  var $safeValidate2 = /* @__PURE__ */ main2.safeValidate.bind(main2);
192
+ var view2 = l2.typedObject(
193
+ $nsid2,
194
+ "view",
195
+ l2.object({
196
+ subject: l2.optional(l2.string({ format: "did" })),
197
+ recordUri: l2.optional(l2.string({ format: "at-uri" })),
198
+ amount: l2.integer({ minimum: 0 }),
199
+ currency: l2.string({ maxLength: 3 }),
200
+ status: l2.enum([
201
+ "pending",
202
+ "authorized",
203
+ "completed",
204
+ "failed",
205
+ "refunded"
206
+ ]),
207
+ message: l2.optional(l2.string({ maxGraphemes: 500, maxLength: 5e3 })),
208
+ createdAt: l2.string({ format: "datetime" }),
209
+ completedAt: l2.optional(l2.string({ format: "datetime" }))
210
+ })
211
+ );
175
212
 
176
213
  // src/lexicons/com/atiproto/subscription.defs.ts
177
214
  var subscription_defs_exports = {};
@@ -189,7 +226,8 @@ __export(subscription_defs_exports, {
189
226
  $safeValidate: () => $safeValidate3,
190
227
  $type: () => $type3,
191
228
  $validate: () => $validate3,
192
- main: () => main3
229
+ main: () => main3,
230
+ view: () => view3
193
231
  });
194
232
  import { l as l3 } from "@atproto/lex";
195
233
  var $nsid3 = "com.atiproto.subscription";
@@ -220,6 +258,21 @@ var $parse3 = /* @__PURE__ */ main3.parse.bind(main3);
220
258
  var $safeParse3 = /* @__PURE__ */ main3.safeParse.bind(main3);
221
259
  var $validate3 = /* @__PURE__ */ main3.validate.bind(main3);
222
260
  var $safeValidate3 = /* @__PURE__ */ main3.safeValidate.bind(main3);
261
+ var view3 = l3.typedObject(
262
+ $nsid3,
263
+ "view",
264
+ l3.object({
265
+ subject: l3.optional(l3.string({ format: "did" })),
266
+ amount: l3.integer({ minimum: 0 }),
267
+ currency: l3.string({ maxLength: 3 }),
268
+ interval: l3.enum(["monthly", "yearly"]),
269
+ status: l3.enum(["pending", "active", "past_due", "cancelled", "expired"]),
270
+ billingStartDate: l3.string({ format: "datetime" }),
271
+ cancelledAt: l3.optional(l3.string({ format: "datetime" })),
272
+ accessUntil: l3.optional(l3.string({ format: "datetime" })),
273
+ createdAt: l3.string({ format: "datetime" })
274
+ })
275
+ );
223
276
 
224
277
  // src/lexicons/com/atiproto/account/cart/clone.defs.ts
225
278
  var $nsid4 = "com.atiproto.account.cart.clone";
@@ -231,13 +284,13 @@ var main4 = l4.procedure(
231
284
  redirectUrl: l4.optional(l4.string({ format: "uri" }))
232
285
  }),
233
286
  l4.jsonPayload({
234
- cart: l4.ref((() => main)),
287
+ cart: l4.ref((() => view)),
235
288
  cartUri: l4.string({ format: "at-uri" }),
236
289
  checkoutUrl: l4.string({ format: "uri" }),
237
- tips: l4.array(l4.ref((() => main2))),
290
+ tips: l4.array(l4.ref((() => view2))),
238
291
  subscriptions: l4.array(
239
292
  l4.ref(
240
- (() => main3)
293
+ (() => view3)
241
294
  )
242
295
  )
243
296
  })
@@ -279,7 +332,7 @@ var main5 = l5.procedure(
279
332
  redirectUrl: l5.optional(l5.string({ format: "uri" }))
280
333
  }),
281
334
  l5.jsonPayload({
282
- cart: l5.ref((() => main)),
335
+ cart: l5.ref((() => view)),
283
336
  cartUri: l5.string({ format: "at-uri" }),
284
337
  checkoutUrl: l5.string({ format: "uri" })
285
338
  })
@@ -317,12 +370,12 @@ var main6 = l6.query(
317
370
  l6.jsonPayload({
318
371
  uri: l6.string({ format: "at-uri" }),
319
372
  cid: l6.optional(l6.string({ format: "cid" })),
320
- cart: l6.ref((() => main)),
373
+ cart: l6.ref((() => view)),
321
374
  checkoutUrl: l6.optional(l6.string({ format: "uri" })),
322
- tips: l6.array(l6.ref((() => main2))),
375
+ tips: l6.array(l6.ref((() => view2))),
323
376
  subscriptions: l6.array(
324
377
  l6.ref(
325
- (() => main3)
378
+ (() => view3)
326
379
  )
327
380
  )
328
381
  })
@@ -372,7 +425,7 @@ var cartResponse = l7.typedObject(
372
425
  l7.object({
373
426
  uri: l7.string({ format: "at-uri" }),
374
427
  cid: l7.string({ format: "cid" }),
375
- record: l7.ref((() => main))
428
+ record: l7.ref((() => view))
376
429
  })
377
430
  );
378
431
 
@@ -462,7 +515,8 @@ __export(profile_defs_exports, {
462
515
  $safeValidate: () => $safeValidate4,
463
516
  $type: () => $type4,
464
517
  $validate: () => $validate4,
465
- main: () => main9
518
+ main: () => main9,
519
+ view: () => view4
466
520
  });
467
521
  import { l as l9 } from "@atproto/lex";
468
522
  var $nsid9 = "com.atiproto.profile";
@@ -489,6 +543,17 @@ var $parse4 = /* @__PURE__ */ main9.parse.bind(main9);
489
543
  var $safeParse4 = /* @__PURE__ */ main9.safeParse.bind(main9);
490
544
  var $validate4 = /* @__PURE__ */ main9.validate.bind(main9);
491
545
  var $safeValidate4 = /* @__PURE__ */ main9.safeValidate.bind(main9);
546
+ var view4 = l9.typedObject(
547
+ $nsid9,
548
+ "view",
549
+ l9.object({
550
+ acceptsTips: l9.optional(l9.boolean()),
551
+ acceptsSubscriptions: l9.optional(l9.boolean()),
552
+ disableReceiptNotifications: l9.optional(l9.boolean()),
553
+ createdAt: l9.string({ format: "datetime" }),
554
+ updatedAt: l9.optional(l9.string({ format: "datetime" }))
555
+ })
556
+ );
492
557
 
493
558
  // src/lexicons/com/atiproto/account/profile/get.defs.ts
494
559
  var $nsid10 = "com.atiproto.account.profile.get";
@@ -498,7 +563,7 @@ var main10 = l10.query(
498
563
  l10.jsonPayload({
499
564
  uri: l10.optional(l10.string({ format: "at-uri" })),
500
565
  cid: l10.optional(l10.string({ format: "cid" })),
501
- profile: l10.ref((() => main9)),
566
+ profile: l10.ref((() => view4)),
502
567
  hasProfile: l10.boolean(),
503
568
  readyForPayment: l10.boolean()
504
569
  })
@@ -542,7 +607,7 @@ var main11 = l11.procedure(
542
607
  l11.jsonPayload({
543
608
  uri: l11.string({ format: "at-uri" }),
544
609
  cid: l11.string({ format: "cid" }),
545
- profile: l11.ref((() => main9)),
610
+ profile: l11.ref((() => view4)),
546
611
  hasProfile: l11.boolean(),
547
612
  readyForPayment: l11.boolean()
548
613
  })
@@ -552,26 +617,282 @@ var $params7 = main11.parameters;
552
617
  var $input4 = main11.input;
553
618
  var $output7 = main11.output;
554
619
 
620
+ // src/lexicons/com/atiproto/account/subscription.ts
621
+ var subscription_exports = {};
622
+ __export(subscription_exports, {
623
+ get: () => get_exports3,
624
+ list: () => list_exports2,
625
+ validate: () => validate_exports
626
+ });
627
+
628
+ // src/lexicons/com/atiproto/account/subscription/get.ts
629
+ var get_exports3 = {};
630
+ __export(get_exports3, {
631
+ $defs: () => get_defs_exports3,
632
+ $lxm: () => $lxm8,
633
+ $nsid: () => $nsid12,
634
+ $output: () => $output8,
635
+ $params: () => $params8,
636
+ main: () => main12
637
+ });
638
+
639
+ // src/lexicons/com/atiproto/account/subscription/get.defs.ts
640
+ var get_defs_exports3 = {};
641
+ __export(get_defs_exports3, {
642
+ $lxm: () => $lxm8,
643
+ $nsid: () => $nsid12,
644
+ $output: () => $output8,
645
+ $params: () => $params8,
646
+ main: () => main12
647
+ });
648
+ import { l as l12 } from "@atproto/lex";
649
+ var $nsid12 = "com.atiproto.account.subscription.get";
650
+ var main12 = l12.query(
651
+ $nsid12,
652
+ l12.params({
653
+ uri: l12.optional(l12.string({ format: "at-uri" })),
654
+ sender: l12.optional(l12.string({ format: "did" }))
655
+ }),
656
+ l12.jsonPayload({
657
+ subscription: l12.ref(
658
+ (() => view3)
659
+ )
660
+ })
661
+ );
662
+ var $lxm8 = main12.nsid;
663
+ var $params8 = main12.parameters;
664
+ var $output8 = main12.output;
665
+
666
+ // src/lexicons/com/atiproto/account/subscription/list.ts
667
+ var list_exports2 = {};
668
+ __export(list_exports2, {
669
+ $defs: () => list_defs_exports2,
670
+ $lxm: () => $lxm9,
671
+ $nsid: () => $nsid13,
672
+ $output: () => $output9,
673
+ $params: () => $params9,
674
+ main: () => main13
675
+ });
676
+
677
+ // src/lexicons/com/atiproto/account/subscription/list.defs.ts
678
+ var list_defs_exports2 = {};
679
+ __export(list_defs_exports2, {
680
+ $lxm: () => $lxm9,
681
+ $nsid: () => $nsid13,
682
+ $output: () => $output9,
683
+ $params: () => $params9,
684
+ main: () => main13
685
+ });
686
+ import { l as l13 } from "@atproto/lex";
687
+ var $nsid13 = "com.atiproto.account.subscription.list";
688
+ var main13 = l13.query(
689
+ $nsid13,
690
+ l13.params({
691
+ cursor: l13.optional(l13.string({ maxLength: 512 })),
692
+ limit: l13.optional(
693
+ l13.withDefault(l13.integer({ minimum: 1, maximum: 100 }), 50)
694
+ )
695
+ }),
696
+ l13.jsonPayload({
697
+ subscriptions: l13.array(
698
+ l13.ref(
699
+ (() => view3)
700
+ )
701
+ ),
702
+ cursor: l13.optional(l13.string({ maxLength: 512 }))
703
+ })
704
+ );
705
+ var $lxm9 = main13.nsid;
706
+ var $params9 = main13.parameters;
707
+ var $output9 = main13.output;
708
+
709
+ // src/lexicons/com/atiproto/account/subscription/validate.ts
710
+ var validate_exports = {};
711
+ __export(validate_exports, {
712
+ $defs: () => validate_defs_exports,
713
+ $lxm: () => $lxm10,
714
+ $nsid: () => $nsid14,
715
+ $output: () => $output10,
716
+ $params: () => $params10,
717
+ main: () => main14
718
+ });
719
+
720
+ // src/lexicons/com/atiproto/account/subscription/validate.defs.ts
721
+ var validate_defs_exports = {};
722
+ __export(validate_defs_exports, {
723
+ $lxm: () => $lxm10,
724
+ $nsid: () => $nsid14,
725
+ $output: () => $output10,
726
+ $params: () => $params10,
727
+ main: () => main14
728
+ });
729
+ import { l as l14 } from "@atproto/lex";
730
+ var $nsid14 = "com.atiproto.account.subscription.validate";
731
+ var main14 = l14.query(
732
+ $nsid14,
733
+ l14.params({
734
+ subscriptionUri: l14.optional(l14.string({ format: "at-uri" })),
735
+ sender: l14.optional(l14.string({ format: "did" })),
736
+ amount: l14.optional(l14.integer())
737
+ }),
738
+ l14.jsonPayload({
739
+ valid: l14.boolean(),
740
+ amount: l14.optional(l14.integer()),
741
+ currency: l14.optional(l14.string({ maxLength: 3 })),
742
+ reason: l14.optional(l14.string({ maxLength: 1024 }))
743
+ })
744
+ );
745
+ var $lxm10 = main14.nsid;
746
+ var $params10 = main14.parameters;
747
+ var $output10 = main14.output;
748
+
749
+ // src/lexicons/com/atiproto/account/tip.ts
750
+ var tip_exports = {};
751
+ __export(tip_exports, {
752
+ get: () => get_exports4,
753
+ list: () => list_exports3,
754
+ validate: () => validate_exports2
755
+ });
756
+
757
+ // src/lexicons/com/atiproto/account/tip/get.ts
758
+ var get_exports4 = {};
759
+ __export(get_exports4, {
760
+ $defs: () => get_defs_exports4,
761
+ $lxm: () => $lxm11,
762
+ $nsid: () => $nsid15,
763
+ $output: () => $output11,
764
+ $params: () => $params11,
765
+ main: () => main15
766
+ });
767
+
768
+ // src/lexicons/com/atiproto/account/tip/get.defs.ts
769
+ var get_defs_exports4 = {};
770
+ __export(get_defs_exports4, {
771
+ $lxm: () => $lxm11,
772
+ $nsid: () => $nsid15,
773
+ $output: () => $output11,
774
+ $params: () => $params11,
775
+ main: () => main15
776
+ });
777
+ import { l as l15 } from "@atproto/lex";
778
+ var $nsid15 = "com.atiproto.account.tip.get";
779
+ var main15 = l15.query(
780
+ $nsid15,
781
+ l15.params({
782
+ uri: l15.optional(l15.string({ format: "at-uri" })),
783
+ sender: l15.optional(l15.string({ format: "did" })),
784
+ recordUri: l15.optional(l15.string({ format: "at-uri" }))
785
+ }),
786
+ l15.jsonPayload({
787
+ tip: l15.ref((() => view2))
788
+ })
789
+ );
790
+ var $lxm11 = main15.nsid;
791
+ var $params11 = main15.parameters;
792
+ var $output11 = main15.output;
793
+
794
+ // src/lexicons/com/atiproto/account/tip/list.ts
795
+ var list_exports3 = {};
796
+ __export(list_exports3, {
797
+ $defs: () => list_defs_exports3,
798
+ $lxm: () => $lxm12,
799
+ $nsid: () => $nsid16,
800
+ $output: () => $output12,
801
+ $params: () => $params12,
802
+ main: () => main16
803
+ });
804
+
805
+ // src/lexicons/com/atiproto/account/tip/list.defs.ts
806
+ var list_defs_exports3 = {};
807
+ __export(list_defs_exports3, {
808
+ $lxm: () => $lxm12,
809
+ $nsid: () => $nsid16,
810
+ $output: () => $output12,
811
+ $params: () => $params12,
812
+ main: () => main16
813
+ });
814
+ import { l as l16 } from "@atproto/lex";
815
+ var $nsid16 = "com.atiproto.account.tip.list";
816
+ var main16 = l16.query(
817
+ $nsid16,
818
+ l16.params({
819
+ sender: l16.optional(l16.string({ format: "did" })),
820
+ recordUri: l16.optional(l16.string({ format: "at-uri" })),
821
+ cursor: l16.optional(l16.string({ maxLength: 512 })),
822
+ limit: l16.optional(
823
+ l16.withDefault(l16.integer({ minimum: 1, maximum: 100 }), 50)
824
+ )
825
+ }),
826
+ l16.jsonPayload({
827
+ tips: l16.array(l16.ref((() => view2))),
828
+ cursor: l16.optional(l16.string({ maxLength: 512 }))
829
+ })
830
+ );
831
+ var $lxm12 = main16.nsid;
832
+ var $params12 = main16.parameters;
833
+ var $output12 = main16.output;
834
+
835
+ // src/lexicons/com/atiproto/account/tip/validate.ts
836
+ var validate_exports2 = {};
837
+ __export(validate_exports2, {
838
+ $defs: () => validate_defs_exports2,
839
+ $lxm: () => $lxm13,
840
+ $nsid: () => $nsid17,
841
+ $output: () => $output13,
842
+ $params: () => $params13,
843
+ main: () => main17
844
+ });
845
+
846
+ // src/lexicons/com/atiproto/account/tip/validate.defs.ts
847
+ var validate_defs_exports2 = {};
848
+ __export(validate_defs_exports2, {
849
+ $lxm: () => $lxm13,
850
+ $nsid: () => $nsid17,
851
+ $output: () => $output13,
852
+ $params: () => $params13,
853
+ main: () => main17
854
+ });
855
+ import { l as l17 } from "@atproto/lex";
856
+ var $nsid17 = "com.atiproto.account.tip.validate";
857
+ var main17 = l17.query(
858
+ $nsid17,
859
+ l17.params({
860
+ tipUri: l17.optional(l17.string({ format: "at-uri" })),
861
+ recordUri: l17.optional(l17.string({ format: "at-uri" })),
862
+ sender: l17.optional(l17.string({ format: "did" })),
863
+ amount: l17.optional(l17.integer())
864
+ }),
865
+ l17.jsonPayload({
866
+ valid: l17.boolean(),
867
+ amount: l17.optional(l17.integer()),
868
+ currency: l17.optional(l17.string({ maxLength: 3 })),
869
+ reason: l17.optional(l17.string({ maxLength: 1024 }))
870
+ })
871
+ );
872
+ var $lxm13 = main17.nsid;
873
+ var $params13 = main17.parameters;
874
+ var $output13 = main17.output;
875
+
555
876
  // src/lexicons/com/atiproto/authEnhanced.ts
556
877
  var authEnhanced_exports = {};
557
878
  __export(authEnhanced_exports, {
558
879
  $defs: () => authEnhanced_defs_exports,
559
- $nsid: () => $nsid12,
560
- main: () => main12
880
+ $nsid: () => $nsid18,
881
+ main: () => main18
561
882
  });
562
883
 
563
884
  // src/lexicons/com/atiproto/authEnhanced.defs.ts
564
885
  var authEnhanced_defs_exports = {};
565
886
  __export(authEnhanced_defs_exports, {
566
- $nsid: () => $nsid12,
567
- main: () => main12
887
+ $nsid: () => $nsid18,
888
+ main: () => main18
568
889
  });
569
- import { l as l12 } from "@atproto/lex";
570
- var $nsid12 = "com.atiproto.authEnhanced";
571
- var main12 = l12.permissionSet(
572
- $nsid12,
890
+ import { l as l18 } from "@atproto/lex";
891
+ var $nsid18 = "com.atiproto.authEnhanced";
892
+ var main18 = l18.permissionSet(
893
+ $nsid18,
573
894
  [
574
- l12.permission("repo", {
895
+ l18.permission("repo", {
575
896
  collection: [
576
897
  "com.atiproto.cart",
577
898
  "com.atiproto.subscription",
@@ -579,7 +900,7 @@ var main12 = l12.permissionSet(
579
900
  "com.atiproto.profile"
580
901
  ]
581
902
  }),
582
- l12.permission("rpc", {
903
+ l18.permission("rpc", {
583
904
  inheritAud: true,
584
905
  lxm: [
585
906
  "com.atiproto.account.cart.clone",
@@ -589,21 +910,27 @@ var main12 = l12.permissionSet(
589
910
  "com.atiproto.account.cart.put",
590
911
  "com.atiproto.account.profile.get",
591
912
  "com.atiproto.account.profile.put",
913
+ "com.atiproto.account.subscription.get",
914
+ "com.atiproto.account.subscription.list",
915
+ "com.atiproto.account.subscription.validate",
916
+ "com.atiproto.account.tip.get",
917
+ "com.atiproto.account.tip.list",
918
+ "com.atiproto.account.tip.validate",
592
919
  "com.atiproto.feed.list",
593
920
  "com.atiproto.feed.subscription.cancel",
594
921
  "com.atiproto.feed.subscription.create",
595
922
  "com.atiproto.feed.subscription.get",
596
923
  "com.atiproto.feed.subscription.list",
597
924
  "com.atiproto.feed.subscription.put",
925
+ "com.atiproto.feed.subscription.validate",
598
926
  "com.atiproto.feed.tip.create",
599
927
  "com.atiproto.feed.tip.get",
600
928
  "com.atiproto.feed.tip.list",
601
929
  "com.atiproto.feed.tip.put",
930
+ "com.atiproto.feed.tip.validate",
602
931
  "com.atiproto.repo.profile.get",
603
- "com.atiproto.repo.subscription.search",
604
- "com.atiproto.repo.subscription.validate",
605
- "com.atiproto.repo.tip.search",
606
- "com.atiproto.repo.tip.validate"
932
+ "com.atiproto.repo.subscription.count",
933
+ "com.atiproto.repo.tip.count"
607
934
  ]
608
935
  })
609
936
  ],
@@ -617,29 +944,29 @@ var main12 = l12.permissionSet(
617
944
  var authGeneral_exports = {};
618
945
  __export(authGeneral_exports, {
619
946
  $defs: () => authGeneral_defs_exports,
620
- $nsid: () => $nsid13,
621
- main: () => main13
947
+ $nsid: () => $nsid19,
948
+ main: () => main19
622
949
  });
623
950
 
624
951
  // src/lexicons/com/atiproto/authGeneral.defs.ts
625
952
  var authGeneral_defs_exports = {};
626
953
  __export(authGeneral_defs_exports, {
627
- $nsid: () => $nsid13,
628
- main: () => main13
954
+ $nsid: () => $nsid19,
955
+ main: () => main19
629
956
  });
630
- import { l as l13 } from "@atproto/lex";
631
- var $nsid13 = "com.atiproto.authGeneral";
632
- var main13 = l13.permissionSet(
633
- $nsid13,
957
+ import { l as l19 } from "@atproto/lex";
958
+ var $nsid19 = "com.atiproto.authGeneral";
959
+ var main19 = l19.permissionSet(
960
+ $nsid19,
634
961
  [
635
- l13.permission("repo", {
962
+ l19.permission("repo", {
636
963
  collection: [
637
964
  "com.atiproto.cart",
638
965
  "com.atiproto.subscription",
639
966
  "com.atiproto.tip"
640
967
  ]
641
968
  }),
642
- l13.permission("rpc", {
969
+ l19.permission("rpc", {
643
970
  inheritAud: true,
644
971
  lxm: [
645
972
  "com.atiproto.account.cart.clone",
@@ -647,21 +974,27 @@ var main13 = l13.permissionSet(
647
974
  "com.atiproto.account.cart.get",
648
975
  "com.atiproto.account.cart.list",
649
976
  "com.atiproto.account.cart.put",
977
+ "com.atiproto.account.subscription.get",
978
+ "com.atiproto.account.subscription.list",
979
+ "com.atiproto.account.subscription.validate",
980
+ "com.atiproto.account.tip.get",
981
+ "com.atiproto.account.tip.list",
982
+ "com.atiproto.account.tip.validate",
650
983
  "com.atiproto.feed.list",
651
984
  "com.atiproto.feed.subscription.cancel",
652
985
  "com.atiproto.feed.subscription.create",
653
986
  "com.atiproto.feed.subscription.get",
654
987
  "com.atiproto.feed.subscription.list",
655
988
  "com.atiproto.feed.subscription.put",
989
+ "com.atiproto.feed.subscription.validate",
656
990
  "com.atiproto.feed.tip.create",
657
991
  "com.atiproto.feed.tip.get",
658
992
  "com.atiproto.feed.tip.list",
659
993
  "com.atiproto.feed.tip.put",
994
+ "com.atiproto.feed.tip.validate",
660
995
  "com.atiproto.repo.profile.get",
661
- "com.atiproto.repo.subscription.search",
662
- "com.atiproto.repo.subscription.validate",
663
- "com.atiproto.repo.tip.search",
664
- "com.atiproto.repo.tip.validate"
996
+ "com.atiproto.repo.subscription.count",
997
+ "com.atiproto.repo.tip.count"
665
998
  ]
666
999
  })
667
1000
  ],
@@ -689,69 +1022,71 @@ __export(cart_exports2, {
689
1022
  $type: () => $type,
690
1023
  $validate: () => $validate,
691
1024
  cartItem: () => cartItem,
692
- main: () => main
1025
+ main: () => main,
1026
+ view: () => view
693
1027
  });
694
1028
 
695
1029
  // src/lexicons/com/atiproto/feed.ts
696
1030
  var feed_exports = {};
697
1031
  __export(feed_exports, {
698
- list: () => list_exports2,
699
- subscription: () => subscription_exports,
700
- tip: () => tip_exports
1032
+ list: () => list_exports4,
1033
+ subscription: () => subscription_exports2,
1034
+ tip: () => tip_exports2
701
1035
  });
702
1036
 
703
1037
  // src/lexicons/com/atiproto/feed/list.ts
704
- var list_exports2 = {};
705
- __export(list_exports2, {
706
- $defs: () => list_defs_exports2,
707
- $lxm: () => $lxm8,
708
- $nsid: () => $nsid14,
709
- $output: () => $output8,
710
- $params: () => $params8,
711
- main: () => main14
1038
+ var list_exports4 = {};
1039
+ __export(list_exports4, {
1040
+ $defs: () => list_defs_exports4,
1041
+ $lxm: () => $lxm14,
1042
+ $nsid: () => $nsid20,
1043
+ $output: () => $output14,
1044
+ $params: () => $params14,
1045
+ main: () => main20
712
1046
  });
713
1047
 
714
1048
  // src/lexicons/com/atiproto/feed/list.defs.ts
715
- var list_defs_exports2 = {};
716
- __export(list_defs_exports2, {
717
- $lxm: () => $lxm8,
718
- $nsid: () => $nsid14,
719
- $output: () => $output8,
720
- $params: () => $params8,
721
- main: () => main14
1049
+ var list_defs_exports4 = {};
1050
+ __export(list_defs_exports4, {
1051
+ $lxm: () => $lxm14,
1052
+ $nsid: () => $nsid20,
1053
+ $output: () => $output14,
1054
+ $params: () => $params14,
1055
+ main: () => main20
722
1056
  });
723
- import { l as l14 } from "@atproto/lex";
724
- var $nsid14 = "com.atiproto.feed.list";
725
- var main14 = l14.query(
726
- $nsid14,
727
- l14.params(),
728
- l14.jsonPayload({
729
- items: l14.array(
730
- l14.typedUnion(
1057
+ import { l as l20 } from "@atproto/lex";
1058
+ var $nsid20 = "com.atiproto.feed.list";
1059
+ var main20 = l20.query(
1060
+ $nsid20,
1061
+ l20.params(),
1062
+ l20.jsonPayload({
1063
+ items: l20.array(
1064
+ l20.typedUnion(
731
1065
  [
732
- l14.typedRef((() => main2)),
733
- l14.typedRef(
1066
+ l20.typedRef((() => main2)),
1067
+ l20.typedRef(
734
1068
  (() => main3)
735
1069
  )
736
1070
  ],
737
1071
  false
738
1072
  )
739
1073
  ),
740
- cursor: l14.optional(l14.string({ maxLength: 512 }))
1074
+ cursor: l20.optional(l20.string({ maxLength: 512 }))
741
1075
  })
742
1076
  );
743
- var $lxm8 = main14.nsid;
744
- var $params8 = main14.parameters;
745
- var $output8 = main14.output;
1077
+ var $lxm14 = main20.nsid;
1078
+ var $params14 = main20.parameters;
1079
+ var $output14 = main20.output;
746
1080
 
747
1081
  // src/lexicons/com/atiproto/feed/subscription.ts
748
- var subscription_exports = {};
749
- __export(subscription_exports, {
1082
+ var subscription_exports2 = {};
1083
+ __export(subscription_exports2, {
750
1084
  cancel: () => cancel_exports,
751
1085
  create: () => create_exports2,
752
- get: () => get_exports3,
753
- list: () => list_exports3,
754
- put: () => put_exports3
1086
+ get: () => get_exports5,
1087
+ list: () => list_exports5,
1088
+ put: () => put_exports3,
1089
+ validate: () => validate_exports3
755
1090
  });
756
1091
 
757
1092
  // src/lexicons/com/atiproto/feed/subscription/cancel.ts
@@ -759,175 +1094,176 @@ var cancel_exports = {};
759
1094
  __export(cancel_exports, {
760
1095
  $defs: () => cancel_defs_exports,
761
1096
  $input: () => $input5,
762
- $lxm: () => $lxm9,
763
- $nsid: () => $nsid15,
764
- $output: () => $output9,
765
- $params: () => $params9,
766
- main: () => main15
1097
+ $lxm: () => $lxm15,
1098
+ $nsid: () => $nsid21,
1099
+ $output: () => $output15,
1100
+ $params: () => $params15,
1101
+ main: () => main21
767
1102
  });
768
1103
 
769
1104
  // src/lexicons/com/atiproto/feed/subscription/cancel.defs.ts
770
1105
  var cancel_defs_exports = {};
771
1106
  __export(cancel_defs_exports, {
772
1107
  $input: () => $input5,
773
- $lxm: () => $lxm9,
774
- $nsid: () => $nsid15,
775
- $output: () => $output9,
776
- $params: () => $params9,
777
- main: () => main15
1108
+ $lxm: () => $lxm15,
1109
+ $nsid: () => $nsid21,
1110
+ $output: () => $output15,
1111
+ $params: () => $params15,
1112
+ main: () => main21
778
1113
  });
779
- import { l as l15 } from "@atproto/lex";
780
- var $nsid15 = "com.atiproto.feed.subscription.cancel";
781
- var main15 = l15.procedure(
782
- $nsid15,
783
- l15.params(),
784
- l15.jsonPayload({ subscriptionUri: l15.string({ format: "at-uri" }) }),
785
- l15.jsonPayload({
786
- subscriptionUri: l15.string({ format: "at-uri" }),
787
- subscription: l15.ref(
788
- (() => main3)
1114
+ import { l as l21 } from "@atproto/lex";
1115
+ var $nsid21 = "com.atiproto.feed.subscription.cancel";
1116
+ var main21 = l21.procedure(
1117
+ $nsid21,
1118
+ l21.params(),
1119
+ l21.jsonPayload({ subscriptionUri: l21.string({ format: "at-uri" }) }),
1120
+ l21.jsonPayload({
1121
+ subscriptionUri: l21.string({ format: "at-uri" }),
1122
+ subscription: l21.ref(
1123
+ (() => view3)
789
1124
  ),
790
- accessUntil: l15.string({ format: "datetime" })
1125
+ accessUntil: l21.string({ format: "datetime" })
791
1126
  })
792
1127
  );
793
- var $lxm9 = main15.nsid;
794
- var $params9 = main15.parameters;
795
- var $input5 = main15.input;
796
- var $output9 = main15.output;
1128
+ var $lxm15 = main21.nsid;
1129
+ var $params15 = main21.parameters;
1130
+ var $input5 = main21.input;
1131
+ var $output15 = main21.output;
797
1132
 
798
1133
  // src/lexicons/com/atiproto/feed/subscription/create.ts
799
1134
  var create_exports2 = {};
800
1135
  __export(create_exports2, {
801
1136
  $defs: () => create_defs_exports2,
802
1137
  $input: () => $input6,
803
- $lxm: () => $lxm10,
804
- $nsid: () => $nsid16,
805
- $output: () => $output10,
806
- $params: () => $params10,
807
- main: () => main16
1138
+ $lxm: () => $lxm16,
1139
+ $nsid: () => $nsid22,
1140
+ $output: () => $output16,
1141
+ $params: () => $params16,
1142
+ main: () => main22
808
1143
  });
809
1144
 
810
1145
  // src/lexicons/com/atiproto/feed/subscription/create.defs.ts
811
1146
  var create_defs_exports2 = {};
812
1147
  __export(create_defs_exports2, {
813
1148
  $input: () => $input6,
814
- $lxm: () => $lxm10,
815
- $nsid: () => $nsid16,
816
- $output: () => $output10,
817
- $params: () => $params10,
818
- main: () => main16
1149
+ $lxm: () => $lxm16,
1150
+ $nsid: () => $nsid22,
1151
+ $output: () => $output16,
1152
+ $params: () => $params16,
1153
+ main: () => main22
819
1154
  });
820
- import { l as l16 } from "@atproto/lex";
821
- var $nsid16 = "com.atiproto.feed.subscription.create";
822
- var main16 = l16.procedure(
823
- $nsid16,
824
- l16.params(),
825
- l16.jsonPayload({
826
- subject: l16.string({ format: "did" }),
827
- amount: l16.optional(l16.integer()),
828
- currency: l16.string({ maxLength: 3 }),
829
- interval: l16.enum(["monthly", "yearly"]),
830
- cartUri: l16.optional(l16.string({ format: "at-uri" })),
831
- redirectUrl: l16.optional(l16.string({ format: "uri" }))
1155
+ import { l as l22 } from "@atproto/lex";
1156
+ var $nsid22 = "com.atiproto.feed.subscription.create";
1157
+ var main22 = l22.procedure(
1158
+ $nsid22,
1159
+ l22.params(),
1160
+ l22.jsonPayload({
1161
+ subject: l22.string({ format: "did" }),
1162
+ amount: l22.optional(l22.integer()),
1163
+ currency: l22.string({ maxLength: 3 }),
1164
+ interval: l22.enum(["monthly", "yearly"]),
1165
+ cartUri: l22.optional(l22.string({ format: "at-uri" })),
1166
+ redirectUrl: l22.optional(l22.string({ format: "uri" })),
1167
+ isPrivate: l22.optional(l22.boolean())
832
1168
  }),
833
- l16.jsonPayload({
834
- subscriptionUri: l16.string({ format: "at-uri" }),
835
- subscription: l16.ref(
836
- (() => main3)
1169
+ l22.jsonPayload({
1170
+ subscriptionUri: l22.string({ format: "at-uri" }),
1171
+ subscription: l22.ref(
1172
+ (() => view3)
837
1173
  ),
838
- cartUri: l16.optional(l16.string({ format: "at-uri" })),
839
- cart: l16.optional(
840
- l16.ref((() => main))
1174
+ cartUri: l22.optional(l22.string({ format: "at-uri" })),
1175
+ cart: l22.optional(
1176
+ l22.ref((() => view))
841
1177
  ),
842
- checkoutUrl: l16.optional(l16.string({ format: "uri" }))
1178
+ checkoutUrl: l22.optional(l22.string({ format: "uri" }))
843
1179
  })
844
1180
  );
845
- var $lxm10 = main16.nsid;
846
- var $params10 = main16.parameters;
847
- var $input6 = main16.input;
848
- var $output10 = main16.output;
1181
+ var $lxm16 = main22.nsid;
1182
+ var $params16 = main22.parameters;
1183
+ var $input6 = main22.input;
1184
+ var $output16 = main22.output;
849
1185
 
850
1186
  // src/lexicons/com/atiproto/feed/subscription/get.ts
851
- var get_exports3 = {};
852
- __export(get_exports3, {
853
- $defs: () => get_defs_exports3,
854
- $lxm: () => $lxm11,
855
- $nsid: () => $nsid17,
856
- $output: () => $output11,
857
- $params: () => $params11,
858
- main: () => main17
1187
+ var get_exports5 = {};
1188
+ __export(get_exports5, {
1189
+ $defs: () => get_defs_exports5,
1190
+ $lxm: () => $lxm17,
1191
+ $nsid: () => $nsid23,
1192
+ $output: () => $output17,
1193
+ $params: () => $params17,
1194
+ main: () => main23
859
1195
  });
860
1196
 
861
1197
  // src/lexicons/com/atiproto/feed/subscription/get.defs.ts
862
- var get_defs_exports3 = {};
863
- __export(get_defs_exports3, {
864
- $lxm: () => $lxm11,
865
- $nsid: () => $nsid17,
866
- $output: () => $output11,
867
- $params: () => $params11,
868
- main: () => main17
1198
+ var get_defs_exports5 = {};
1199
+ __export(get_defs_exports5, {
1200
+ $lxm: () => $lxm17,
1201
+ $nsid: () => $nsid23,
1202
+ $output: () => $output17,
1203
+ $params: () => $params17,
1204
+ main: () => main23
869
1205
  });
870
- import { l as l17 } from "@atproto/lex";
871
- var $nsid17 = "com.atiproto.feed.subscription.get";
872
- var main17 = l17.query(
873
- $nsid17,
874
- l17.params({ uri: l17.string({ format: "at-uri" }) }),
875
- l17.jsonPayload({
876
- uri: l17.string({ format: "at-uri" }),
877
- cid: l17.string({ format: "cid" }),
878
- record: l17.ref(
879
- (() => main3)
1206
+ import { l as l23 } from "@atproto/lex";
1207
+ var $nsid23 = "com.atiproto.feed.subscription.get";
1208
+ var main23 = l23.query(
1209
+ $nsid23,
1210
+ l23.params({ uri: l23.string({ format: "at-uri" }) }),
1211
+ l23.jsonPayload({
1212
+ uri: l23.string({ format: "at-uri" }),
1213
+ cid: l23.string({ format: "cid" }),
1214
+ record: l23.ref(
1215
+ (() => view3)
880
1216
  )
881
1217
  })
882
1218
  );
883
- var $lxm11 = main17.nsid;
884
- var $params11 = main17.parameters;
885
- var $output11 = main17.output;
1219
+ var $lxm17 = main23.nsid;
1220
+ var $params17 = main23.parameters;
1221
+ var $output17 = main23.output;
886
1222
 
887
1223
  // src/lexicons/com/atiproto/feed/subscription/list.ts
888
- var list_exports3 = {};
889
- __export(list_exports3, {
890
- $defs: () => list_defs_exports3,
891
- $lxm: () => $lxm12,
892
- $nsid: () => $nsid18,
893
- $output: () => $output12,
894
- $params: () => $params12,
895
- main: () => main18,
1224
+ var list_exports5 = {};
1225
+ __export(list_exports5, {
1226
+ $defs: () => list_defs_exports5,
1227
+ $lxm: () => $lxm18,
1228
+ $nsid: () => $nsid24,
1229
+ $output: () => $output18,
1230
+ $params: () => $params18,
1231
+ main: () => main24,
896
1232
  subscriptionResponse: () => subscriptionResponse
897
1233
  });
898
1234
 
899
1235
  // src/lexicons/com/atiproto/feed/subscription/list.defs.ts
900
- var list_defs_exports3 = {};
901
- __export(list_defs_exports3, {
902
- $lxm: () => $lxm12,
903
- $nsid: () => $nsid18,
904
- $output: () => $output12,
905
- $params: () => $params12,
906
- main: () => main18,
1236
+ var list_defs_exports5 = {};
1237
+ __export(list_defs_exports5, {
1238
+ $lxm: () => $lxm18,
1239
+ $nsid: () => $nsid24,
1240
+ $output: () => $output18,
1241
+ $params: () => $params18,
1242
+ main: () => main24,
907
1243
  subscriptionResponse: () => subscriptionResponse
908
1244
  });
909
- import { l as l18 } from "@atproto/lex";
910
- var $nsid18 = "com.atiproto.feed.subscription.list";
911
- var main18 = l18.query(
912
- $nsid18,
913
- l18.params(),
914
- l18.jsonPayload({
915
- subscriptions: l18.array(
916
- l18.ref((() => subscriptionResponse))
1245
+ import { l as l24 } from "@atproto/lex";
1246
+ var $nsid24 = "com.atiproto.feed.subscription.list";
1247
+ var main24 = l24.query(
1248
+ $nsid24,
1249
+ l24.params(),
1250
+ l24.jsonPayload({
1251
+ subscriptions: l24.array(
1252
+ l24.ref((() => subscriptionResponse))
917
1253
  ),
918
- cursor: l18.optional(l18.string({ maxLength: 512 }))
1254
+ cursor: l24.optional(l24.string({ maxLength: 512 }))
919
1255
  })
920
1256
  );
921
- var $lxm12 = main18.nsid;
922
- var $params12 = main18.parameters;
923
- var $output12 = main18.output;
924
- var subscriptionResponse = l18.typedObject(
925
- $nsid18,
1257
+ var $lxm18 = main24.nsid;
1258
+ var $params18 = main24.parameters;
1259
+ var $output18 = main24.output;
1260
+ var subscriptionResponse = l24.typedObject(
1261
+ $nsid24,
926
1262
  "subscriptionResponse",
927
- l18.object({
928
- uri: l18.string({ format: "at-uri" }),
929
- record: l18.ref(
930
- (() => main3)
1263
+ l24.object({
1264
+ uri: l24.string({ format: "at-uri" }),
1265
+ record: l24.ref(
1266
+ (() => view3)
931
1267
  )
932
1268
  })
933
1269
  );
@@ -937,51 +1273,92 @@ var put_exports3 = {};
937
1273
  __export(put_exports3, {
938
1274
  $defs: () => put_defs_exports3,
939
1275
  $input: () => $input7,
940
- $lxm: () => $lxm13,
941
- $nsid: () => $nsid19,
942
- $output: () => $output13,
943
- $params: () => $params13,
944
- main: () => main19
1276
+ $lxm: () => $lxm19,
1277
+ $nsid: () => $nsid25,
1278
+ $output: () => $output19,
1279
+ $params: () => $params19,
1280
+ main: () => main25
945
1281
  });
946
1282
 
947
1283
  // src/lexicons/com/atiproto/feed/subscription/put.defs.ts
948
1284
  var put_defs_exports3 = {};
949
1285
  __export(put_defs_exports3, {
950
1286
  $input: () => $input7,
951
- $lxm: () => $lxm13,
952
- $nsid: () => $nsid19,
953
- $output: () => $output13,
954
- $params: () => $params13,
955
- main: () => main19
1287
+ $lxm: () => $lxm19,
1288
+ $nsid: () => $nsid25,
1289
+ $output: () => $output19,
1290
+ $params: () => $params19,
1291
+ main: () => main25
956
1292
  });
957
- import { l as l19 } from "@atproto/lex";
958
- var $nsid19 = "com.atiproto.feed.subscription.put";
959
- var main19 = l19.procedure(
960
- $nsid19,
961
- l19.params(),
962
- l19.jsonPayload({
963
- uri: l19.string({ format: "at-uri" }),
964
- record: l19.ref(
1293
+ import { l as l25 } from "@atproto/lex";
1294
+ var $nsid25 = "com.atiproto.feed.subscription.put";
1295
+ var main25 = l25.procedure(
1296
+ $nsid25,
1297
+ l25.params(),
1298
+ l25.jsonPayload({
1299
+ uri: l25.string({ format: "at-uri" }),
1300
+ record: l25.ref(
965
1301
  (() => main3)
966
1302
  )
967
1303
  }),
968
- l19.jsonPayload({
969
- uri: l19.string({ format: "at-uri" }),
970
- cid: l19.string({ format: "cid" })
1304
+ l25.jsonPayload({
1305
+ uri: l25.string({ format: "at-uri" }),
1306
+ cid: l25.string({ format: "cid" })
1307
+ })
1308
+ );
1309
+ var $lxm19 = main25.nsid;
1310
+ var $params19 = main25.parameters;
1311
+ var $input7 = main25.input;
1312
+ var $output19 = main25.output;
1313
+
1314
+ // src/lexicons/com/atiproto/feed/subscription/validate.ts
1315
+ var validate_exports3 = {};
1316
+ __export(validate_exports3, {
1317
+ $defs: () => validate_defs_exports3,
1318
+ $lxm: () => $lxm20,
1319
+ $nsid: () => $nsid26,
1320
+ $output: () => $output20,
1321
+ $params: () => $params20,
1322
+ main: () => main26
1323
+ });
1324
+
1325
+ // src/lexicons/com/atiproto/feed/subscription/validate.defs.ts
1326
+ var validate_defs_exports3 = {};
1327
+ __export(validate_defs_exports3, {
1328
+ $lxm: () => $lxm20,
1329
+ $nsid: () => $nsid26,
1330
+ $output: () => $output20,
1331
+ $params: () => $params20,
1332
+ main: () => main26
1333
+ });
1334
+ import { l as l26 } from "@atproto/lex";
1335
+ var $nsid26 = "com.atiproto.feed.subscription.validate";
1336
+ var main26 = l26.query(
1337
+ $nsid26,
1338
+ l26.params({
1339
+ subscriptionUri: l26.optional(l26.string({ format: "at-uri" })),
1340
+ subject: l26.optional(l26.string({ format: "did" })),
1341
+ amount: l26.optional(l26.integer())
1342
+ }),
1343
+ l26.jsonPayload({
1344
+ valid: l26.boolean(),
1345
+ amount: l26.optional(l26.integer()),
1346
+ currency: l26.optional(l26.string({ maxLength: 3 })),
1347
+ reason: l26.optional(l26.string({ maxLength: 1024 }))
971
1348
  })
972
1349
  );
973
- var $lxm13 = main19.nsid;
974
- var $params13 = main19.parameters;
975
- var $input7 = main19.input;
976
- var $output13 = main19.output;
1350
+ var $lxm20 = main26.nsid;
1351
+ var $params20 = main26.parameters;
1352
+ var $output20 = main26.output;
977
1353
 
978
1354
  // src/lexicons/com/atiproto/feed/tip.ts
979
- var tip_exports = {};
980
- __export(tip_exports, {
1355
+ var tip_exports2 = {};
1356
+ __export(tip_exports2, {
981
1357
  create: () => create_exports3,
982
- get: () => get_exports4,
983
- list: () => list_exports4,
984
- put: () => put_exports4
1358
+ get: () => get_exports6,
1359
+ list: () => list_exports6,
1360
+ put: () => put_exports4,
1361
+ validate: () => validate_exports4
985
1362
  });
986
1363
 
987
1364
  // src/lexicons/com/atiproto/feed/tip/create.ts
@@ -989,161 +1366,203 @@ var create_exports3 = {};
989
1366
  __export(create_exports3, {
990
1367
  $defs: () => create_defs_exports3,
991
1368
  $input: () => $input8,
992
- $lxm: () => $lxm14,
993
- $nsid: () => $nsid20,
994
- $output: () => $output14,
995
- $params: () => $params14,
996
- main: () => main20
1369
+ $lxm: () => $lxm21,
1370
+ $nsid: () => $nsid27,
1371
+ $output: () => $output21,
1372
+ $params: () => $params21,
1373
+ main: () => main27
997
1374
  });
998
1375
 
999
1376
  // src/lexicons/com/atiproto/feed/tip/create.defs.ts
1000
1377
  var create_defs_exports3 = {};
1001
1378
  __export(create_defs_exports3, {
1002
1379
  $input: () => $input8,
1003
- $lxm: () => $lxm14,
1004
- $nsid: () => $nsid20,
1005
- $output: () => $output14,
1006
- $params: () => $params14,
1007
- main: () => main20
1380
+ $lxm: () => $lxm21,
1381
+ $nsid: () => $nsid27,
1382
+ $output: () => $output21,
1383
+ $params: () => $params21,
1384
+ main: () => main27
1008
1385
  });
1009
- import { l as l20 } from "@atproto/lex";
1010
- var $nsid20 = "com.atiproto.feed.tip.create";
1011
- var main20 = l20.procedure(
1012
- $nsid20,
1013
- l20.params(),
1014
- l20.jsonPayload({
1015
- subject: l20.string({ format: "did" }),
1016
- recordUri: l20.optional(l20.string({ format: "at-uri" })),
1017
- amount: l20.integer(),
1018
- currency: l20.string({ maxLength: 3 }),
1019
- cartUri: l20.optional(l20.string({ format: "at-uri" })),
1020
- redirectUrl: l20.optional(l20.string({ format: "uri" })),
1021
- message: l20.optional(l20.string({ maxGraphemes: 500, maxLength: 5e3 }))
1386
+ import { l as l27 } from "@atproto/lex";
1387
+ var $nsid27 = "com.atiproto.feed.tip.create";
1388
+ var main27 = l27.procedure(
1389
+ $nsid27,
1390
+ l27.params(),
1391
+ l27.jsonPayload({
1392
+ subject: l27.string({ format: "did" }),
1393
+ recordUri: l27.optional(l27.string({ format: "at-uri" })),
1394
+ amount: l27.integer(),
1395
+ currency: l27.string({ maxLength: 3 }),
1396
+ cartUri: l27.optional(l27.string({ format: "at-uri" })),
1397
+ redirectUrl: l27.optional(l27.string({ format: "uri" })),
1398
+ message: l27.optional(l27.string({ maxGraphemes: 500, maxLength: 5e3 })),
1399
+ isPrivate: l27.optional(l27.boolean())
1022
1400
  }),
1023
- l20.jsonPayload({
1024
- tipUri: l20.string({ format: "at-uri" }),
1025
- tip: l20.ref((() => main2)),
1026
- cartUri: l20.optional(l20.string({ format: "at-uri" })),
1027
- cart: l20.optional(
1028
- l20.ref((() => main))
1401
+ l27.jsonPayload({
1402
+ tipUri: l27.string({ format: "at-uri" }),
1403
+ tip: l27.ref((() => view2)),
1404
+ cartUri: l27.optional(l27.string({ format: "at-uri" })),
1405
+ cart: l27.optional(
1406
+ l27.ref((() => view))
1029
1407
  ),
1030
- checkoutUrl: l20.optional(l20.string({ format: "uri" }))
1408
+ checkoutUrl: l27.optional(l27.string({ format: "uri" }))
1031
1409
  })
1032
1410
  );
1033
- var $lxm14 = main20.nsid;
1034
- var $params14 = main20.parameters;
1035
- var $input8 = main20.input;
1036
- var $output14 = main20.output;
1411
+ var $lxm21 = main27.nsid;
1412
+ var $params21 = main27.parameters;
1413
+ var $input8 = main27.input;
1414
+ var $output21 = main27.output;
1037
1415
 
1038
1416
  // src/lexicons/com/atiproto/feed/tip/get.ts
1039
- var get_exports4 = {};
1040
- __export(get_exports4, {
1041
- $defs: () => get_defs_exports4,
1042
- $lxm: () => $lxm15,
1043
- $nsid: () => $nsid21,
1044
- $output: () => $output15,
1045
- $params: () => $params15,
1046
- main: () => main21
1417
+ var get_exports6 = {};
1418
+ __export(get_exports6, {
1419
+ $defs: () => get_defs_exports6,
1420
+ $lxm: () => $lxm22,
1421
+ $nsid: () => $nsid28,
1422
+ $output: () => $output22,
1423
+ $params: () => $params22,
1424
+ main: () => main28
1047
1425
  });
1048
1426
 
1049
1427
  // src/lexicons/com/atiproto/feed/tip/get.defs.ts
1050
- var get_defs_exports4 = {};
1051
- __export(get_defs_exports4, {
1052
- $lxm: () => $lxm15,
1053
- $nsid: () => $nsid21,
1054
- $output: () => $output15,
1055
- $params: () => $params15,
1056
- main: () => main21
1428
+ var get_defs_exports6 = {};
1429
+ __export(get_defs_exports6, {
1430
+ $lxm: () => $lxm22,
1431
+ $nsid: () => $nsid28,
1432
+ $output: () => $output22,
1433
+ $params: () => $params22,
1434
+ main: () => main28
1057
1435
  });
1058
- import { l as l21 } from "@atproto/lex";
1059
- var $nsid21 = "com.atiproto.feed.tip.get";
1060
- var main21 = l21.query(
1061
- $nsid21,
1062
- l21.params({ uri: l21.string({ format: "at-uri" }) }),
1063
- l21.jsonPayload({
1064
- uri: l21.string({ format: "at-uri" }),
1065
- cid: l21.string({ format: "cid" }),
1066
- value: l21.ref((() => main2))
1436
+ import { l as l28 } from "@atproto/lex";
1437
+ var $nsid28 = "com.atiproto.feed.tip.get";
1438
+ var main28 = l28.query(
1439
+ $nsid28,
1440
+ l28.params({ uri: l28.string({ format: "at-uri" }) }),
1441
+ l28.jsonPayload({
1442
+ uri: l28.string({ format: "at-uri" }),
1443
+ cid: l28.string({ format: "cid" }),
1444
+ value: l28.ref((() => view2))
1067
1445
  })
1068
1446
  );
1069
- var $lxm15 = main21.nsid;
1070
- var $params15 = main21.parameters;
1071
- var $output15 = main21.output;
1447
+ var $lxm22 = main28.nsid;
1448
+ var $params22 = main28.parameters;
1449
+ var $output22 = main28.output;
1072
1450
 
1073
1451
  // src/lexicons/com/atiproto/feed/tip/list.ts
1074
- var list_exports4 = {};
1075
- __export(list_exports4, {
1076
- $defs: () => list_defs_exports4,
1077
- $lxm: () => $lxm16,
1078
- $nsid: () => $nsid22,
1079
- $output: () => $output16,
1080
- $params: () => $params16,
1081
- main: () => main22
1452
+ var list_exports6 = {};
1453
+ __export(list_exports6, {
1454
+ $defs: () => list_defs_exports6,
1455
+ $lxm: () => $lxm23,
1456
+ $nsid: () => $nsid29,
1457
+ $output: () => $output23,
1458
+ $params: () => $params23,
1459
+ main: () => main29
1082
1460
  });
1083
1461
 
1084
1462
  // src/lexicons/com/atiproto/feed/tip/list.defs.ts
1085
- var list_defs_exports4 = {};
1086
- __export(list_defs_exports4, {
1087
- $lxm: () => $lxm16,
1088
- $nsid: () => $nsid22,
1089
- $output: () => $output16,
1090
- $params: () => $params16,
1091
- main: () => main22
1092
- });
1093
- import { l as l22 } from "@atproto/lex";
1094
- var $nsid22 = "com.atiproto.feed.tip.list";
1095
- var main22 = l22.query(
1096
- $nsid22,
1097
- l22.params(),
1098
- l22.jsonPayload({
1099
- records: l22.array(l22.ref((() => main2))),
1100
- cursor: l22.optional(l22.string({ maxLength: 512 }))
1463
+ var list_defs_exports6 = {};
1464
+ __export(list_defs_exports6, {
1465
+ $lxm: () => $lxm23,
1466
+ $nsid: () => $nsid29,
1467
+ $output: () => $output23,
1468
+ $params: () => $params23,
1469
+ main: () => main29
1470
+ });
1471
+ import { l as l29 } from "@atproto/lex";
1472
+ var $nsid29 = "com.atiproto.feed.tip.list";
1473
+ var main29 = l29.query(
1474
+ $nsid29,
1475
+ l29.params(),
1476
+ l29.jsonPayload({
1477
+ records: l29.array(l29.ref((() => view2))),
1478
+ cursor: l29.optional(l29.string({ maxLength: 512 }))
1101
1479
  })
1102
1480
  );
1103
- var $lxm16 = main22.nsid;
1104
- var $params16 = main22.parameters;
1105
- var $output16 = main22.output;
1481
+ var $lxm23 = main29.nsid;
1482
+ var $params23 = main29.parameters;
1483
+ var $output23 = main29.output;
1106
1484
 
1107
1485
  // src/lexicons/com/atiproto/feed/tip/put.ts
1108
1486
  var put_exports4 = {};
1109
1487
  __export(put_exports4, {
1110
1488
  $defs: () => put_defs_exports4,
1111
1489
  $input: () => $input9,
1112
- $lxm: () => $lxm17,
1113
- $nsid: () => $nsid23,
1114
- $output: () => $output17,
1115
- $params: () => $params17,
1116
- main: () => main23
1490
+ $lxm: () => $lxm24,
1491
+ $nsid: () => $nsid30,
1492
+ $output: () => $output24,
1493
+ $params: () => $params24,
1494
+ main: () => main30
1117
1495
  });
1118
1496
 
1119
1497
  // src/lexicons/com/atiproto/feed/tip/put.defs.ts
1120
1498
  var put_defs_exports4 = {};
1121
1499
  __export(put_defs_exports4, {
1122
1500
  $input: () => $input9,
1123
- $lxm: () => $lxm17,
1124
- $nsid: () => $nsid23,
1125
- $output: () => $output17,
1126
- $params: () => $params17,
1127
- main: () => main23
1128
- });
1129
- import { l as l23 } from "@atproto/lex";
1130
- var $nsid23 = "com.atiproto.feed.tip.put";
1131
- var main23 = l23.procedure(
1132
- $nsid23,
1133
- l23.params(),
1134
- l23.jsonPayload({
1135
- uri: l23.string({ format: "at-uri" }),
1136
- record: l23.ref((() => main2))
1501
+ $lxm: () => $lxm24,
1502
+ $nsid: () => $nsid30,
1503
+ $output: () => $output24,
1504
+ $params: () => $params24,
1505
+ main: () => main30
1506
+ });
1507
+ import { l as l30 } from "@atproto/lex";
1508
+ var $nsid30 = "com.atiproto.feed.tip.put";
1509
+ var main30 = l30.procedure(
1510
+ $nsid30,
1511
+ l30.params(),
1512
+ l30.jsonPayload({
1513
+ uri: l30.string({ format: "at-uri" }),
1514
+ record: l30.ref((() => main2))
1137
1515
  }),
1138
- l23.jsonPayload({
1139
- uri: l23.string({ format: "at-uri" }),
1140
- cid: l23.string({ format: "cid" })
1516
+ l30.jsonPayload({
1517
+ uri: l30.string({ format: "at-uri" }),
1518
+ cid: l30.string({ format: "cid" })
1141
1519
  })
1142
1520
  );
1143
- var $lxm17 = main23.nsid;
1144
- var $params17 = main23.parameters;
1145
- var $input9 = main23.input;
1146
- var $output17 = main23.output;
1521
+ var $lxm24 = main30.nsid;
1522
+ var $params24 = main30.parameters;
1523
+ var $input9 = main30.input;
1524
+ var $output24 = main30.output;
1525
+
1526
+ // src/lexicons/com/atiproto/feed/tip/validate.ts
1527
+ var validate_exports4 = {};
1528
+ __export(validate_exports4, {
1529
+ $defs: () => validate_defs_exports4,
1530
+ $lxm: () => $lxm25,
1531
+ $nsid: () => $nsid31,
1532
+ $output: () => $output25,
1533
+ $params: () => $params25,
1534
+ main: () => main31
1535
+ });
1536
+
1537
+ // src/lexicons/com/atiproto/feed/tip/validate.defs.ts
1538
+ var validate_defs_exports4 = {};
1539
+ __export(validate_defs_exports4, {
1540
+ $lxm: () => $lxm25,
1541
+ $nsid: () => $nsid31,
1542
+ $output: () => $output25,
1543
+ $params: () => $params25,
1544
+ main: () => main31
1545
+ });
1546
+ import { l as l31 } from "@atproto/lex";
1547
+ var $nsid31 = "com.atiproto.feed.tip.validate";
1548
+ var main31 = l31.query(
1549
+ $nsid31,
1550
+ l31.params({
1551
+ tipUri: l31.optional(l31.string({ format: "at-uri" })),
1552
+ recordUri: l31.optional(l31.string({ format: "at-uri" })),
1553
+ subject: l31.optional(l31.string({ format: "did" })),
1554
+ amount: l31.optional(l31.integer())
1555
+ }),
1556
+ l31.jsonPayload({
1557
+ valid: l31.boolean(),
1558
+ amount: l31.optional(l31.integer()),
1559
+ currency: l31.optional(l31.string({ maxLength: 3 })),
1560
+ reason: l31.optional(l31.string({ maxLength: 1024 }))
1561
+ })
1562
+ );
1563
+ var $lxm25 = main31.nsid;
1564
+ var $params25 = main31.parameters;
1565
+ var $output25 = main31.output;
1147
1566
 
1148
1567
  // src/lexicons/com/atiproto/profile.ts
1149
1568
  var profile_exports2 = {};
@@ -1162,296 +1581,189 @@ __export(profile_exports2, {
1162
1581
  $safeValidate: () => $safeValidate4,
1163
1582
  $type: () => $type4,
1164
1583
  $validate: () => $validate4,
1165
- main: () => main9
1584
+ main: () => main9,
1585
+ view: () => view4
1166
1586
  });
1167
1587
 
1168
1588
  // src/lexicons/com/atiproto/repo.ts
1169
1589
  var repo_exports = {};
1170
1590
  __export(repo_exports, {
1171
1591
  profile: () => profile_exports3,
1172
- subscription: () => subscription_exports2,
1173
- tip: () => tip_exports2
1592
+ subscription: () => subscription_exports3,
1593
+ tip: () => tip_exports3
1174
1594
  });
1175
1595
 
1176
1596
  // src/lexicons/com/atiproto/repo/profile.ts
1177
1597
  var profile_exports3 = {};
1178
1598
  __export(profile_exports3, {
1179
- get: () => get_exports5
1599
+ get: () => get_exports7
1180
1600
  });
1181
1601
 
1182
1602
  // src/lexicons/com/atiproto/repo/profile/get.ts
1183
- var get_exports5 = {};
1184
- __export(get_exports5, {
1185
- $defs: () => get_defs_exports5,
1186
- $lxm: () => $lxm18,
1187
- $nsid: () => $nsid24,
1188
- $output: () => $output18,
1189
- $params: () => $params18,
1190
- main: () => main24
1603
+ var get_exports7 = {};
1604
+ __export(get_exports7, {
1605
+ $defs: () => get_defs_exports7,
1606
+ $lxm: () => $lxm26,
1607
+ $nsid: () => $nsid32,
1608
+ $output: () => $output26,
1609
+ $params: () => $params26,
1610
+ main: () => main32
1191
1611
  });
1192
1612
 
1193
1613
  // src/lexicons/com/atiproto/repo/profile/get.defs.ts
1194
- var get_defs_exports5 = {};
1195
- __export(get_defs_exports5, {
1196
- $lxm: () => $lxm18,
1197
- $nsid: () => $nsid24,
1198
- $output: () => $output18,
1199
- $params: () => $params18,
1200
- main: () => main24
1201
- });
1202
- import { l as l24 } from "@atproto/lex";
1203
- var $nsid24 = "com.atiproto.repo.profile.get";
1204
- var main24 = l24.query(
1205
- $nsid24,
1206
- l24.params({ did: l24.string({ format: "did" }) }),
1207
- l24.jsonPayload({
1208
- did: l24.string({ format: "did" }),
1209
- profile: l24.ref((() => main9))
1614
+ var get_defs_exports7 = {};
1615
+ __export(get_defs_exports7, {
1616
+ $lxm: () => $lxm26,
1617
+ $nsid: () => $nsid32,
1618
+ $output: () => $output26,
1619
+ $params: () => $params26,
1620
+ main: () => main32
1621
+ });
1622
+ import { l as l32 } from "@atproto/lex";
1623
+ var $nsid32 = "com.atiproto.repo.profile.get";
1624
+ var main32 = l32.query(
1625
+ $nsid32,
1626
+ l32.params({ did: l32.string({ format: "did" }) }),
1627
+ l32.jsonPayload({
1628
+ did: l32.string({ format: "did" }),
1629
+ profile: l32.ref((() => view4))
1210
1630
  })
1211
1631
  );
1212
- var $lxm18 = main24.nsid;
1213
- var $params18 = main24.parameters;
1214
- var $output18 = main24.output;
1632
+ var $lxm26 = main32.nsid;
1633
+ var $params26 = main32.parameters;
1634
+ var $output26 = main32.output;
1215
1635
 
1216
1636
  // src/lexicons/com/atiproto/repo/subscription.ts
1217
- var subscription_exports2 = {};
1218
- __export(subscription_exports2, {
1219
- search: () => search_exports,
1220
- validate: () => validate_exports
1221
- });
1222
-
1223
- // src/lexicons/com/atiproto/repo/subscription/search.ts
1224
- var search_exports = {};
1225
- __export(search_exports, {
1226
- $defs: () => search_defs_exports,
1227
- $lxm: () => $lxm19,
1228
- $nsid: () => $nsid25,
1229
- $output: () => $output19,
1230
- $params: () => $params19,
1231
- main: () => main25,
1232
- subscriptionResponse: () => subscriptionResponse2
1233
- });
1234
-
1235
- // src/lexicons/com/atiproto/repo/subscription/search.defs.ts
1236
- var search_defs_exports = {};
1237
- __export(search_defs_exports, {
1238
- $lxm: () => $lxm19,
1239
- $nsid: () => $nsid25,
1240
- $output: () => $output19,
1241
- $params: () => $params19,
1242
- main: () => main25,
1243
- subscriptionResponse: () => subscriptionResponse2
1244
- });
1245
- import { l as l25 } from "@atproto/lex";
1246
- var $nsid25 = "com.atiproto.repo.subscription.search";
1247
- var main25 = l25.query(
1248
- $nsid25,
1249
- l25.params({
1250
- subject: l25.string({ format: "did" }),
1251
- cursor: l25.optional(l25.string({ maxLength: 512 })),
1252
- limit: l25.optional(
1253
- l25.withDefault(l25.integer({ minimum: 1, maximum: 100 }), 50)
1254
- )
1637
+ var subscription_exports3 = {};
1638
+ __export(subscription_exports3, {
1639
+ count: () => count_exports
1640
+ });
1641
+
1642
+ // src/lexicons/com/atiproto/repo/subscription/count.ts
1643
+ var count_exports = {};
1644
+ __export(count_exports, {
1645
+ $defs: () => count_defs_exports,
1646
+ $lxm: () => $lxm27,
1647
+ $nsid: () => $nsid33,
1648
+ $output: () => $output27,
1649
+ $params: () => $params27,
1650
+ main: () => main33
1651
+ });
1652
+
1653
+ // src/lexicons/com/atiproto/repo/subscription/count.defs.ts
1654
+ var count_defs_exports = {};
1655
+ __export(count_defs_exports, {
1656
+ $lxm: () => $lxm27,
1657
+ $nsid: () => $nsid33,
1658
+ $output: () => $output27,
1659
+ $params: () => $params27,
1660
+ main: () => main33
1661
+ });
1662
+ import { l as l33 } from "@atproto/lex";
1663
+ var $nsid33 = "com.atiproto.repo.subscription.count";
1664
+ var main33 = l33.query(
1665
+ $nsid33,
1666
+ l33.params({
1667
+ subject: l33.optional(l33.string({ format: "did" })),
1668
+ startDate: l33.optional(l33.string({ format: "datetime" })),
1669
+ endDate: l33.optional(l33.string({ format: "datetime" }))
1255
1670
  }),
1256
- l25.jsonPayload({
1257
- subscriptions: l25.array(
1258
- l25.ref((() => subscriptionResponse2))
1259
- ),
1260
- cursor: l25.optional(l25.string({ maxLength: 512 }))
1261
- })
1262
- );
1263
- var $lxm19 = main25.nsid;
1264
- var $params19 = main25.parameters;
1265
- var $output19 = main25.output;
1266
- var subscriptionResponse2 = l25.typedObject(
1267
- $nsid25,
1268
- "subscriptionResponse",
1269
- l25.object({
1270
- uri: l25.string({ format: "at-uri" }),
1271
- record: l25.ref(
1272
- (() => main3)
1273
- )
1671
+ l33.jsonPayload({
1672
+ count: l33.integer(),
1673
+ amount: l33.optional(l33.integer()),
1674
+ currency: l33.optional(l33.string({ maxLength: 3 }))
1274
1675
  })
1275
1676
  );
1677
+ var $lxm27 = main33.nsid;
1678
+ var $params27 = main33.parameters;
1679
+ var $output27 = main33.output;
1276
1680
 
1277
- // src/lexicons/com/atiproto/repo/subscription/validate.ts
1278
- var validate_exports = {};
1279
- __export(validate_exports, {
1280
- $defs: () => validate_defs_exports,
1281
- $lxm: () => $lxm20,
1282
- $nsid: () => $nsid26,
1283
- $output: () => $output20,
1284
- $params: () => $params20,
1285
- main: () => main26
1286
- });
1287
-
1288
- // src/lexicons/com/atiproto/repo/subscription/validate.defs.ts
1289
- var validate_defs_exports = {};
1290
- __export(validate_defs_exports, {
1291
- $lxm: () => $lxm20,
1292
- $nsid: () => $nsid26,
1293
- $output: () => $output20,
1294
- $params: () => $params20,
1295
- main: () => main26
1296
- });
1297
- import { l as l26 } from "@atproto/lex";
1298
- var $nsid26 = "com.atiproto.repo.subscription.validate";
1299
- var main26 = l26.query(
1300
- $nsid26,
1301
- l26.params({
1302
- sender: l26.string({ format: "did" }),
1303
- subscriptionUri: l26.optional(l26.string({ format: "at-uri" })),
1304
- subject: l26.optional(l26.string({ format: "did" })),
1305
- amount: l26.optional(l26.integer())
1681
+ // src/lexicons/com/atiproto/repo/tip.ts
1682
+ var tip_exports3 = {};
1683
+ __export(tip_exports3, {
1684
+ count: () => count_exports2
1685
+ });
1686
+
1687
+ // src/lexicons/com/atiproto/repo/tip/count.ts
1688
+ var count_exports2 = {};
1689
+ __export(count_exports2, {
1690
+ $defs: () => count_defs_exports2,
1691
+ $lxm: () => $lxm28,
1692
+ $nsid: () => $nsid34,
1693
+ $output: () => $output28,
1694
+ $params: () => $params28,
1695
+ main: () => main34
1696
+ });
1697
+
1698
+ // src/lexicons/com/atiproto/repo/tip/count.defs.ts
1699
+ var count_defs_exports2 = {};
1700
+ __export(count_defs_exports2, {
1701
+ $lxm: () => $lxm28,
1702
+ $nsid: () => $nsid34,
1703
+ $output: () => $output28,
1704
+ $params: () => $params28,
1705
+ main: () => main34
1706
+ });
1707
+ import { l as l34 } from "@atproto/lex";
1708
+ var $nsid34 = "com.atiproto.repo.tip.count";
1709
+ var main34 = l34.query(
1710
+ $nsid34,
1711
+ l34.params({
1712
+ recordUri: l34.optional(l34.string({ format: "at-uri" })),
1713
+ subject: l34.optional(l34.string({ format: "did" })),
1714
+ startDate: l34.optional(l34.string({ format: "datetime" })),
1715
+ endDate: l34.optional(l34.string({ format: "datetime" }))
1306
1716
  }),
1307
- l26.jsonPayload({
1308
- valid: l26.boolean(),
1309
- amount: l26.optional(l26.integer()),
1310
- currency: l26.optional(l26.string({ maxLength: 3 })),
1311
- reason: l26.optional(l26.string({ maxLength: 1024 }))
1717
+ l34.jsonPayload({
1718
+ count: l34.integer(),
1719
+ amount: l34.optional(l34.integer()),
1720
+ currency: l34.optional(l34.string({ maxLength: 3 }))
1312
1721
  })
1313
1722
  );
1314
- var $lxm20 = main26.nsid;
1315
- var $params20 = main26.parameters;
1316
- var $output20 = main26.output;
1723
+ var $lxm28 = main34.nsid;
1724
+ var $params28 = main34.parameters;
1725
+ var $output28 = main34.output;
1317
1726
 
1318
- // src/lexicons/com/atiproto/repo/tip.ts
1319
- var tip_exports2 = {};
1320
- __export(tip_exports2, {
1321
- search: () => search_exports2,
1322
- validate: () => validate_exports2
1727
+ // src/lexicons/com/atiproto/subscription.ts
1728
+ var subscription_exports4 = {};
1729
+ __export(subscription_exports4, {
1730
+ $assert: () => $assert3,
1731
+ $build: () => $build3,
1732
+ $cast: () => $cast3,
1733
+ $check: () => $check3,
1734
+ $defs: () => subscription_defs_exports,
1735
+ $ifMatches: () => $ifMatches3,
1736
+ $isTypeOf: () => $isTypeOf3,
1737
+ $matches: () => $matches3,
1738
+ $nsid: () => $nsid3,
1739
+ $parse: () => $parse3,
1740
+ $safeParse: () => $safeParse3,
1741
+ $safeValidate: () => $safeValidate3,
1742
+ $type: () => $type3,
1743
+ $validate: () => $validate3,
1744
+ main: () => main3,
1745
+ view: () => view3
1323
1746
  });
1324
1747
 
1325
- // src/lexicons/com/atiproto/repo/tip/search.ts
1326
- var search_exports2 = {};
1327
- __export(search_exports2, {
1328
- $defs: () => search_defs_exports2,
1329
- $lxm: () => $lxm21,
1330
- $nsid: () => $nsid27,
1331
- $output: () => $output21,
1332
- $params: () => $params21,
1333
- main: () => main27,
1334
- tipResponse: () => tipResponse
1335
- });
1336
-
1337
- // src/lexicons/com/atiproto/repo/tip/search.defs.ts
1338
- var search_defs_exports2 = {};
1339
- __export(search_defs_exports2, {
1340
- $lxm: () => $lxm21,
1341
- $nsid: () => $nsid27,
1342
- $output: () => $output21,
1343
- $params: () => $params21,
1344
- main: () => main27,
1345
- tipResponse: () => tipResponse
1346
- });
1347
- import { l as l27 } from "@atproto/lex";
1348
- var $nsid27 = "com.atiproto.repo.tip.search";
1349
- var main27 = l27.query(
1350
- $nsid27,
1351
- l27.params({
1352
- subject: l27.string({ format: "did" }),
1353
- cursor: l27.optional(l27.string({ maxLength: 512 })),
1354
- limit: l27.optional(
1355
- l27.withDefault(l27.integer({ minimum: 1, maximum: 100 }), 50)
1356
- )
1357
- }),
1358
- l27.jsonPayload({
1359
- tips: l27.array(l27.ref((() => tipResponse))),
1360
- cursor: l27.optional(l27.string({ maxLength: 512 }))
1361
- })
1362
- );
1363
- var $lxm21 = main27.nsid;
1364
- var $params21 = main27.parameters;
1365
- var $output21 = main27.output;
1366
- var tipResponse = l27.typedObject(
1367
- $nsid27,
1368
- "tipResponse",
1369
- l27.object({
1370
- uri: l27.string({ format: "at-uri" }),
1371
- record: l27.ref((() => main2))
1372
- })
1373
- );
1374
-
1375
- // src/lexicons/com/atiproto/repo/tip/validate.ts
1376
- var validate_exports2 = {};
1377
- __export(validate_exports2, {
1378
- $defs: () => validate_defs_exports2,
1379
- $lxm: () => $lxm22,
1380
- $nsid: () => $nsid28,
1381
- $output: () => $output22,
1382
- $params: () => $params22,
1383
- main: () => main28
1384
- });
1385
-
1386
- // src/lexicons/com/atiproto/repo/tip/validate.defs.ts
1387
- var validate_defs_exports2 = {};
1388
- __export(validate_defs_exports2, {
1389
- $lxm: () => $lxm22,
1390
- $nsid: () => $nsid28,
1391
- $output: () => $output22,
1392
- $params: () => $params22,
1393
- main: () => main28
1394
- });
1395
- import { l as l28 } from "@atproto/lex";
1396
- var $nsid28 = "com.atiproto.repo.tip.validate";
1397
- var main28 = l28.query(
1398
- $nsid28,
1399
- l28.params({
1400
- sender: l28.string({ format: "did" }),
1401
- tipUri: l28.optional(l28.string({ format: "at-uri" })),
1402
- recordUri: l28.optional(l28.string({ format: "at-uri" })),
1403
- subject: l28.optional(l28.string({ format: "did" })),
1404
- amount: l28.optional(l28.integer())
1405
- }),
1406
- l28.jsonPayload({
1407
- valid: l28.boolean(),
1408
- amount: l28.optional(l28.integer()),
1409
- currency: l28.optional(l28.string({ maxLength: 3 })),
1410
- reason: l28.optional(l28.string({ maxLength: 1024 }))
1411
- })
1412
- );
1413
- var $lxm22 = main28.nsid;
1414
- var $params22 = main28.parameters;
1415
- var $output22 = main28.output;
1416
-
1417
- // src/lexicons/com/atiproto/subscription.ts
1418
- var subscription_exports3 = {};
1419
- __export(subscription_exports3, {
1420
- $assert: () => $assert3,
1421
- $build: () => $build3,
1422
- $cast: () => $cast3,
1423
- $check: () => $check3,
1424
- $defs: () => subscription_defs_exports,
1425
- $ifMatches: () => $ifMatches3,
1426
- $isTypeOf: () => $isTypeOf3,
1427
- $matches: () => $matches3,
1428
- $nsid: () => $nsid3,
1429
- $parse: () => $parse3,
1430
- $safeParse: () => $safeParse3,
1431
- $safeValidate: () => $safeValidate3,
1432
- $type: () => $type3,
1433
- $validate: () => $validate3,
1434
- main: () => main3
1435
- });
1436
-
1437
- // src/lexicons/com/atiproto/tip.ts
1438
- var tip_exports3 = {};
1439
- __export(tip_exports3, {
1440
- $assert: () => $assert2,
1441
- $build: () => $build2,
1442
- $cast: () => $cast2,
1443
- $check: () => $check2,
1444
- $defs: () => tip_defs_exports,
1445
- $ifMatches: () => $ifMatches2,
1446
- $isTypeOf: () => $isTypeOf2,
1447
- $matches: () => $matches2,
1448
- $nsid: () => $nsid2,
1449
- $parse: () => $parse2,
1450
- $safeParse: () => $safeParse2,
1451
- $safeValidate: () => $safeValidate2,
1452
- $type: () => $type2,
1453
- $validate: () => $validate2,
1454
- main: () => main2
1748
+ // src/lexicons/com/atiproto/tip.ts
1749
+ var tip_exports4 = {};
1750
+ __export(tip_exports4, {
1751
+ $assert: () => $assert2,
1752
+ $build: () => $build2,
1753
+ $cast: () => $cast2,
1754
+ $check: () => $check2,
1755
+ $defs: () => tip_defs_exports,
1756
+ $ifMatches: () => $ifMatches2,
1757
+ $isTypeOf: () => $isTypeOf2,
1758
+ $matches: () => $matches2,
1759
+ $nsid: () => $nsid2,
1760
+ $parse: () => $parse2,
1761
+ $safeParse: () => $safeParse2,
1762
+ $safeValidate: () => $safeValidate2,
1763
+ $type: () => $type2,
1764
+ $validate: () => $validate2,
1765
+ main: () => main2,
1766
+ view: () => view2
1455
1767
  });
1456
1768
 
1457
1769
  // src/schemas/account/cart/clone.json
@@ -1495,7 +1807,7 @@ var clone_default = {
1495
1807
  properties: {
1496
1808
  cart: {
1497
1809
  type: "ref",
1498
- ref: "com.atiproto.cart",
1810
+ ref: "com.atiproto.cart#view",
1499
1811
  description: "The new cart record"
1500
1812
  },
1501
1813
  cartUri: {
@@ -1512,7 +1824,7 @@ var clone_default = {
1512
1824
  type: "array",
1513
1825
  items: {
1514
1826
  type: "ref",
1515
- ref: "com.atiproto.tip"
1827
+ ref: "com.atiproto.tip#view"
1516
1828
  },
1517
1829
  description: "Newly created tip records"
1518
1830
  },
@@ -1520,7 +1832,7 @@ var clone_default = {
1520
1832
  type: "array",
1521
1833
  items: {
1522
1834
  type: "ref",
1523
- ref: "com.atiproto.subscription"
1835
+ ref: "com.atiproto.subscription#view"
1524
1836
  },
1525
1837
  description: "Newly created subscription records"
1526
1838
  }
@@ -1562,22 +1874,332 @@ var create_default = {
1562
1874
  encoding: "application/json",
1563
1875
  schema: {
1564
1876
  type: "object",
1565
- required: ["cart", "cartUri", "checkoutUrl"],
1877
+ required: ["cart", "cartUri", "checkoutUrl"],
1878
+ properties: {
1879
+ cart: {
1880
+ type: "ref",
1881
+ ref: "com.atiproto.cart#view",
1882
+ description: "The created cart record"
1883
+ },
1884
+ cartUri: {
1885
+ type: "string",
1886
+ format: "at-uri",
1887
+ description: "URI of the cart record"
1888
+ },
1889
+ checkoutUrl: {
1890
+ type: "string",
1891
+ format: "uri",
1892
+ description: "Checkout URL hosted by atiproto"
1893
+ }
1894
+ }
1895
+ }
1896
+ }
1897
+ }
1898
+ }
1899
+ };
1900
+
1901
+ // src/schemas/account/cart/get.json
1902
+ var get_default = {
1903
+ lexicon: 1,
1904
+ id: "com.atiproto.account.cart.get",
1905
+ defs: {
1906
+ main: {
1907
+ type: "query",
1908
+ description: "Get a specific cart by URI, including resolved tip and subscription records",
1909
+ parameters: {
1910
+ type: "params",
1911
+ required: ["uri"],
1912
+ properties: {
1913
+ uri: {
1914
+ type: "string",
1915
+ format: "at-uri",
1916
+ description: "AT-URI of the cart record"
1917
+ }
1918
+ }
1919
+ },
1920
+ output: {
1921
+ encoding: "application/json",
1922
+ schema: {
1923
+ type: "object",
1924
+ required: ["uri", "cart", "tips", "subscriptions"],
1925
+ properties: {
1926
+ uri: {
1927
+ type: "string",
1928
+ format: "at-uri",
1929
+ description: "Cart record URI"
1930
+ },
1931
+ cid: {
1932
+ type: "string",
1933
+ format: "cid",
1934
+ description: "Cart record CID"
1935
+ },
1936
+ cart: {
1937
+ type: "ref",
1938
+ ref: "com.atiproto.cart#view",
1939
+ description: "The cart record data"
1940
+ },
1941
+ checkoutUrl: {
1942
+ type: "string",
1943
+ format: "uri",
1944
+ description: "Checkout URL, only present when cart status is open"
1945
+ },
1946
+ tips: {
1947
+ type: "array",
1948
+ items: {
1949
+ type: "ref",
1950
+ ref: "com.atiproto.tip#view"
1951
+ },
1952
+ description: "Resolved tip records referenced by this cart"
1953
+ },
1954
+ subscriptions: {
1955
+ type: "array",
1956
+ items: {
1957
+ type: "ref",
1958
+ ref: "com.atiproto.subscription#view"
1959
+ },
1960
+ description: "Resolved subscription records referenced by this cart"
1961
+ }
1962
+ }
1963
+ }
1964
+ }
1965
+ }
1966
+ }
1967
+ };
1968
+
1969
+ // src/schemas/account/cart/list.json
1970
+ var list_default = {
1971
+ lexicon: 1,
1972
+ id: "com.atiproto.account.cart.list",
1973
+ defs: {
1974
+ main: {
1975
+ type: "query",
1976
+ description: "List carts for the authenticated user",
1977
+ input: {
1978
+ encoding: "application/json",
1979
+ schema: {
1980
+ type: "object",
1981
+ properties: {
1982
+ status: {
1983
+ type: "string",
1984
+ maxLength: 64,
1985
+ enum: ["open", "completed", "expired", "abandoned"],
1986
+ description: "Filter by cart status"
1987
+ },
1988
+ cursor: {
1989
+ type: "string",
1990
+ maxLength: 512,
1991
+ description: "Pagination cursor"
1992
+ },
1993
+ limit: {
1994
+ type: "integer",
1995
+ default: 20,
1996
+ minimum: 1,
1997
+ maximum: 100,
1998
+ description: "Results per page (1-100, default: 20)"
1999
+ }
2000
+ }
2001
+ }
2002
+ },
2003
+ output: {
2004
+ encoding: "application/json",
2005
+ schema: {
2006
+ type: "object",
2007
+ properties: {
2008
+ carts: {
2009
+ type: "array",
2010
+ items: {
2011
+ type: "ref",
2012
+ ref: "#cartResponse"
2013
+ }
2014
+ },
2015
+ cursor: {
2016
+ type: "string",
2017
+ maxLength: 512,
2018
+ description: "Pagination cursor for next page"
2019
+ }
2020
+ },
2021
+ required: ["carts"]
2022
+ }
2023
+ }
2024
+ },
2025
+ cartResponse: {
2026
+ type: "object",
2027
+ required: ["uri", "cid", "record"],
2028
+ properties: {
2029
+ uri: {
2030
+ type: "string",
2031
+ format: "at-uri",
2032
+ description: "AT-URI of the cart record"
2033
+ },
2034
+ cid: {
2035
+ type: "string",
2036
+ format: "cid",
2037
+ description: "CID of the cart record"
2038
+ },
2039
+ record: {
2040
+ type: "ref",
2041
+ ref: "com.atiproto.cart#view"
2042
+ }
2043
+ }
2044
+ }
2045
+ }
2046
+ };
2047
+
2048
+ // src/schemas/account/cart/put.json
2049
+ var put_default = {
2050
+ lexicon: 1,
2051
+ id: "com.atiproto.account.cart.put",
2052
+ defs: {
2053
+ main: {
2054
+ type: "procedure",
2055
+ description: "Update a cart. Only open carts can be updated.",
2056
+ input: {
2057
+ encoding: "application/json",
2058
+ schema: {
2059
+ type: "object",
2060
+ required: ["uri", "record"],
2061
+ properties: {
2062
+ uri: {
2063
+ type: "string",
2064
+ format: "at-uri",
2065
+ description: "AT-URI of the cart to update"
2066
+ },
2067
+ record: {
2068
+ type: "ref",
2069
+ ref: "com.atiproto.cart"
2070
+ }
2071
+ }
2072
+ }
2073
+ },
2074
+ output: {
2075
+ encoding: "application/json",
2076
+ schema: {
2077
+ type: "object",
2078
+ required: ["uri", "cid"],
2079
+ properties: {
2080
+ uri: {
2081
+ type: "string",
2082
+ format: "at-uri",
2083
+ description: "Updated cart record URI"
2084
+ },
2085
+ cid: {
2086
+ type: "string",
2087
+ format: "cid",
2088
+ description: "New CID of the updated record"
2089
+ }
2090
+ }
2091
+ }
2092
+ }
2093
+ }
2094
+ }
2095
+ };
2096
+
2097
+ // src/schemas/account/profile/get.json
2098
+ var get_default2 = {
2099
+ lexicon: 1,
2100
+ id: "com.atiproto.account.profile.get",
2101
+ defs: {
2102
+ main: {
2103
+ type: "query",
2104
+ description: "Get the authenticated user's profile settings. Returns defaults if no profile exists.",
2105
+ output: {
2106
+ encoding: "application/json",
2107
+ schema: {
2108
+ type: "object",
2109
+ required: ["profile", "hasProfile", "readyForPayment"],
2110
+ properties: {
2111
+ uri: {
2112
+ type: "string",
2113
+ format: "at-uri",
2114
+ description: "Profile record URI (absent if no profile configured)"
2115
+ },
2116
+ cid: {
2117
+ type: "string",
2118
+ format: "cid",
2119
+ description: "Profile record CID (absent if no profile configured)"
2120
+ },
2121
+ profile: {
2122
+ type: "ref",
2123
+ ref: "com.atiproto.profile#view",
2124
+ description: "The profile record data (defaults if not configured)"
2125
+ },
2126
+ hasProfile: {
2127
+ type: "boolean",
2128
+ description: "Whether the user has saved a profile record"
2129
+ },
2130
+ readyForPayment: {
2131
+ type: "boolean",
2132
+ description: "Whether the user's payment account is set up and enabled"
2133
+ }
2134
+ }
2135
+ }
2136
+ }
2137
+ }
2138
+ }
2139
+ };
2140
+
2141
+ // src/schemas/account/profile/put.json
2142
+ var put_default2 = {
2143
+ lexicon: 1,
2144
+ id: "com.atiproto.account.profile.put",
2145
+ defs: {
2146
+ main: {
2147
+ type: "procedure",
2148
+ description: "Create or update the authenticated user's profile settings",
2149
+ input: {
2150
+ encoding: "application/json",
2151
+ schema: {
2152
+ type: "object",
2153
+ properties: {
2154
+ acceptsTips: {
2155
+ type: "boolean",
2156
+ description: "Enable accepting tips"
2157
+ },
2158
+ acceptsSubscriptions: {
2159
+ type: "boolean",
2160
+ description: "Enable accepting subscriptions"
2161
+ },
2162
+ disableReceiptNotifications: {
2163
+ type: "boolean",
2164
+ description: "Opt out of payment receipt DMs"
2165
+ }
2166
+ }
2167
+ }
2168
+ },
2169
+ output: {
2170
+ encoding: "application/json",
2171
+ schema: {
2172
+ type: "object",
2173
+ required: [
2174
+ "uri",
2175
+ "cid",
2176
+ "profile",
2177
+ "hasProfile",
2178
+ "readyForPayment"
2179
+ ],
1566
2180
  properties: {
1567
- cart: {
1568
- type: "ref",
1569
- ref: "com.atiproto.cart",
1570
- description: "The created cart record"
1571
- },
1572
- cartUri: {
2181
+ uri: {
1573
2182
  type: "string",
1574
2183
  format: "at-uri",
1575
- description: "URI of the cart record"
2184
+ description: "Profile record URI"
1576
2185
  },
1577
- checkoutUrl: {
2186
+ cid: {
1578
2187
  type: "string",
1579
- format: "uri",
1580
- description: "Checkout URL hosted by atiproto"
2188
+ format: "cid",
2189
+ description: "Profile record CID"
2190
+ },
2191
+ profile: {
2192
+ type: "ref",
2193
+ ref: "com.atiproto.profile#view",
2194
+ description: "The profile record data"
2195
+ },
2196
+ hasProfile: {
2197
+ type: "boolean",
2198
+ description: "Whether the user has saved a profile record"
2199
+ },
2200
+ readyForPayment: {
2201
+ type: "boolean",
2202
+ description: "Whether the user's payment account is set up and enabled"
1581
2203
  }
1582
2204
  }
1583
2205
  }
@@ -1586,22 +2208,26 @@ var create_default = {
1586
2208
  }
1587
2209
  };
1588
2210
 
1589
- // src/schemas/account/cart/get.json
1590
- var get_default = {
2211
+ // src/schemas/account/subscription/get.json
2212
+ var get_default3 = {
1591
2213
  lexicon: 1,
1592
- id: "com.atiproto.account.cart.get",
2214
+ id: "com.atiproto.account.subscription.get",
1593
2215
  defs: {
1594
2216
  main: {
1595
2217
  type: "query",
1596
- description: "Get a specific cart by URI, including resolved tip and subscription records",
2218
+ 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.",
1597
2219
  parameters: {
1598
2220
  type: "params",
1599
- required: ["uri"],
1600
2221
  properties: {
1601
2222
  uri: {
1602
2223
  type: "string",
1603
2224
  format: "at-uri",
1604
- description: "AT-URI of the cart record"
2225
+ description: "AT-URI of the subscription record. Takes precedence over sender."
2226
+ },
2227
+ sender: {
2228
+ type: "string",
2229
+ format: "did",
2230
+ description: "DID of the subscriber. Ignored if uri is provided."
1605
2231
  }
1606
2232
  }
1607
2233
  },
@@ -1609,43 +2235,12 @@ var get_default = {
1609
2235
  encoding: "application/json",
1610
2236
  schema: {
1611
2237
  type: "object",
1612
- required: ["uri", "cart", "tips", "subscriptions"],
2238
+ required: ["subscription"],
1613
2239
  properties: {
1614
- uri: {
1615
- type: "string",
1616
- format: "at-uri",
1617
- description: "Cart record URI"
1618
- },
1619
- cid: {
1620
- type: "string",
1621
- format: "cid",
1622
- description: "Cart record CID"
1623
- },
1624
- cart: {
2240
+ subscription: {
1625
2241
  type: "ref",
1626
- ref: "com.atiproto.cart",
1627
- description: "The cart record data"
1628
- },
1629
- checkoutUrl: {
1630
- type: "string",
1631
- format: "uri",
1632
- description: "Checkout URL, only present when cart status is open"
1633
- },
1634
- tips: {
1635
- type: "array",
1636
- items: {
1637
- type: "ref",
1638
- ref: "com.atiproto.tip"
1639
- },
1640
- description: "Resolved tip records referenced by this cart"
1641
- },
1642
- subscriptions: {
1643
- type: "array",
1644
- items: {
1645
- type: "ref",
1646
- ref: "com.atiproto.subscription"
1647
- },
1648
- description: "Resolved subscription records referenced by this cart"
2242
+ ref: "com.atiproto.subscription#view",
2243
+ description: "The subscription record data"
1649
2244
  }
1650
2245
  }
1651
2246
  }
@@ -1654,37 +2249,28 @@ var get_default = {
1654
2249
  }
1655
2250
  };
1656
2251
 
1657
- // src/schemas/account/cart/list.json
1658
- var list_default = {
2252
+ // src/schemas/account/subscription/list.json
2253
+ var list_default2 = {
1659
2254
  lexicon: 1,
1660
- id: "com.atiproto.account.cart.list",
2255
+ id: "com.atiproto.account.subscription.list",
1661
2256
  defs: {
1662
2257
  main: {
1663
2258
  type: "query",
1664
- description: "List carts for the authenticated user",
1665
- input: {
1666
- encoding: "application/json",
1667
- schema: {
1668
- type: "object",
1669
- properties: {
1670
- status: {
1671
- type: "string",
1672
- maxLength: 64,
1673
- enum: ["open", "completed", "expired", "abandoned"],
1674
- description: "Filter by cart status"
1675
- },
1676
- cursor: {
1677
- type: "string",
1678
- maxLength: 512,
1679
- description: "Pagination cursor"
1680
- },
1681
- limit: {
1682
- type: "integer",
1683
- default: 20,
1684
- minimum: 1,
1685
- maximum: 100,
1686
- description: "Results per page (1-100, default: 20)"
1687
- }
2259
+ 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.",
2260
+ parameters: {
2261
+ type: "params",
2262
+ properties: {
2263
+ cursor: {
2264
+ type: "string",
2265
+ maxLength: 512,
2266
+ description: "Pagination cursor"
2267
+ },
2268
+ limit: {
2269
+ type: "integer",
2270
+ minimum: 1,
2271
+ maximum: 100,
2272
+ default: 50,
2273
+ description: "Results per page (1-100, default: 50)"
1688
2274
  }
1689
2275
  }
1690
2276
  },
@@ -1692,12 +2278,13 @@ var list_default = {
1692
2278
  encoding: "application/json",
1693
2279
  schema: {
1694
2280
  type: "object",
2281
+ required: ["subscriptions"],
1695
2282
  properties: {
1696
- carts: {
2283
+ subscriptions: {
1697
2284
  type: "array",
1698
2285
  items: {
1699
2286
  type: "ref",
1700
- ref: "#cartResponse"
2287
+ ref: "com.atiproto.subscription#view"
1701
2288
  }
1702
2289
  },
1703
2290
  cursor: {
@@ -1705,75 +2292,109 @@ var list_default = {
1705
2292
  maxLength: 512,
1706
2293
  description: "Pagination cursor for next page"
1707
2294
  }
1708
- },
1709
- required: ["carts"]
1710
- }
1711
- }
1712
- },
1713
- cartResponse: {
1714
- type: "object",
1715
- required: ["uri", "cid", "record"],
1716
- properties: {
1717
- uri: {
1718
- type: "string",
1719
- format: "at-uri",
1720
- description: "AT-URI of the cart record"
1721
- },
1722
- cid: {
1723
- type: "string",
1724
- format: "cid",
1725
- description: "CID of the cart record"
1726
- },
1727
- record: {
1728
- type: "ref",
1729
- ref: "com.atiproto.cart"
2295
+ }
1730
2296
  }
1731
2297
  }
1732
2298
  }
1733
2299
  }
1734
2300
  };
1735
2301
 
1736
- // src/schemas/account/cart/put.json
1737
- var put_default = {
2302
+ // src/schemas/account/subscription/validate.json
2303
+ var validate_default = {
1738
2304
  lexicon: 1,
1739
- id: "com.atiproto.account.cart.put",
2305
+ id: "com.atiproto.account.subscription.validate",
1740
2306
  defs: {
1741
2307
  main: {
1742
- type: "procedure",
1743
- description: "Update a cart. Only open carts can be updated.",
1744
- input: {
2308
+ type: "query",
2309
+ 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.",
2310
+ parameters: {
2311
+ type: "params",
2312
+ properties: {
2313
+ subscriptionUri: {
2314
+ type: "string",
2315
+ format: "at-uri",
2316
+ description: "AT-URI of a specific subscription record. Takes precedence over sender."
2317
+ },
2318
+ sender: {
2319
+ type: "string",
2320
+ format: "did",
2321
+ description: "DID of the subscriber. Ignored if subscriptionUri is provided."
2322
+ },
2323
+ amount: {
2324
+ type: "integer",
2325
+ description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
2326
+ }
2327
+ }
2328
+ },
2329
+ output: {
1745
2330
  encoding: "application/json",
1746
2331
  schema: {
1747
2332
  type: "object",
1748
- required: ["uri", "record"],
2333
+ required: ["valid"],
1749
2334
  properties: {
1750
- uri: {
2335
+ valid: {
2336
+ type: "boolean",
2337
+ description: "Whether a sender has an active, verified subscription to the authed recipient"
2338
+ },
2339
+ amount: {
2340
+ type: "integer",
2341
+ description: "Subscription amount in cents"
2342
+ },
2343
+ currency: {
1751
2344
  type: "string",
1752
- format: "at-uri",
1753
- description: "AT-URI of the cart to update"
2345
+ maxLength: 3,
2346
+ description: "Currency of the subscription"
1754
2347
  },
1755
- record: {
1756
- type: "ref",
1757
- ref: "com.atiproto.cart"
2348
+ reason: {
2349
+ type: "string",
2350
+ maxLength: 1024,
2351
+ description: "If invalid, reason for rejection"
1758
2352
  }
1759
2353
  }
1760
2354
  }
2355
+ }
2356
+ }
2357
+ }
2358
+ };
2359
+
2360
+ // src/schemas/account/tip/get.json
2361
+ var get_default4 = {
2362
+ lexicon: 1,
2363
+ id: "com.atiproto.account.tip.get",
2364
+ defs: {
2365
+ main: {
2366
+ type: "query",
2367
+ 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.",
2368
+ parameters: {
2369
+ type: "params",
2370
+ properties: {
2371
+ uri: {
2372
+ type: "string",
2373
+ format: "at-uri",
2374
+ description: "AT-URI of the tip record. Takes precedence over sender and recordUri."
2375
+ },
2376
+ sender: {
2377
+ type: "string",
2378
+ format: "did",
2379
+ description: "DID of the tip sender. Takes precedence over recordUri."
2380
+ },
2381
+ recordUri: {
2382
+ type: "string",
2383
+ format: "at-uri",
2384
+ description: "AT-URI of the record being tipped. Ignored if uri or sender is provided."
2385
+ }
2386
+ }
1761
2387
  },
1762
2388
  output: {
1763
2389
  encoding: "application/json",
1764
2390
  schema: {
1765
2391
  type: "object",
1766
- required: ["uri", "cid"],
2392
+ required: ["tip"],
1767
2393
  properties: {
1768
- uri: {
1769
- type: "string",
1770
- format: "at-uri",
1771
- description: "Updated cart record URI"
1772
- },
1773
- cid: {
1774
- type: "string",
1775
- format: "cid",
1776
- description: "New CID of the updated record"
2394
+ tip: {
2395
+ type: "ref",
2396
+ ref: "com.atiproto.tip#view",
2397
+ description: "The tip record data"
1777
2398
  }
1778
2399
  }
1779
2400
  }
@@ -1782,42 +2403,58 @@ var put_default = {
1782
2403
  }
1783
2404
  };
1784
2405
 
1785
- // src/schemas/account/profile/get.json
1786
- var get_default2 = {
2406
+ // src/schemas/account/tip/list.json
2407
+ var list_default3 = {
1787
2408
  lexicon: 1,
1788
- id: "com.atiproto.account.profile.get",
2409
+ id: "com.atiproto.account.tip.list",
1789
2410
  defs: {
1790
2411
  main: {
1791
2412
  type: "query",
1792
- description: "Get the authenticated user's profile settings. Returns defaults if no profile exists.",
2413
+ 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.",
2414
+ parameters: {
2415
+ type: "params",
2416
+ properties: {
2417
+ sender: {
2418
+ type: "string",
2419
+ format: "did",
2420
+ description: "Optional: only return tips sent by this DID"
2421
+ },
2422
+ recordUri: {
2423
+ type: "string",
2424
+ format: "at-uri",
2425
+ description: "Optional: only return tips received for this specific record"
2426
+ },
2427
+ cursor: {
2428
+ type: "string",
2429
+ maxLength: 512,
2430
+ description: "Pagination cursor"
2431
+ },
2432
+ limit: {
2433
+ type: "integer",
2434
+ minimum: 1,
2435
+ maximum: 100,
2436
+ default: 50,
2437
+ description: "Results per page (1-100, default: 50)"
2438
+ }
2439
+ }
2440
+ },
1793
2441
  output: {
1794
2442
  encoding: "application/json",
1795
2443
  schema: {
1796
2444
  type: "object",
1797
- required: ["profile", "hasProfile", "readyForPayment"],
2445
+ required: ["tips"],
1798
2446
  properties: {
1799
- uri: {
1800
- type: "string",
1801
- format: "at-uri",
1802
- description: "Profile record URI (absent if no profile configured)"
2447
+ tips: {
2448
+ type: "array",
2449
+ items: {
2450
+ type: "ref",
2451
+ ref: "com.atiproto.tip#view"
2452
+ }
1803
2453
  },
1804
- cid: {
2454
+ cursor: {
1805
2455
  type: "string",
1806
- format: "cid",
1807
- description: "Profile record CID (absent if no profile configured)"
1808
- },
1809
- profile: {
1810
- type: "ref",
1811
- ref: "com.atiproto.profile",
1812
- description: "The profile record data (defaults if not configured)"
1813
- },
1814
- hasProfile: {
1815
- type: "boolean",
1816
- description: "Whether the user has saved a profile record"
1817
- },
1818
- readyForPayment: {
1819
- type: "boolean",
1820
- description: "Whether the user's payment account is set up and enabled"
2456
+ maxLength: 512,
2457
+ description: "Pagination cursor for next page"
1821
2458
  }
1822
2459
  }
1823
2460
  }
@@ -1826,31 +2463,35 @@ var get_default2 = {
1826
2463
  }
1827
2464
  };
1828
2465
 
1829
- // src/schemas/account/profile/put.json
1830
- var put_default2 = {
2466
+ // src/schemas/account/tip/validate.json
2467
+ var validate_default2 = {
1831
2468
  lexicon: 1,
1832
- id: "com.atiproto.account.profile.put",
2469
+ id: "com.atiproto.account.tip.validate",
1833
2470
  defs: {
1834
2471
  main: {
1835
- type: "procedure",
1836
- description: "Create or update the authenticated user's profile settings",
1837
- input: {
1838
- encoding: "application/json",
1839
- schema: {
1840
- type: "object",
1841
- properties: {
1842
- acceptsTips: {
1843
- type: "boolean",
1844
- description: "Enable accepting tips"
1845
- },
1846
- acceptsSubscriptions: {
1847
- type: "boolean",
1848
- description: "Enable accepting subscriptions"
1849
- },
1850
- disableReceiptNotifications: {
1851
- type: "boolean",
1852
- description: "Opt out of payment receipt DMs"
1853
- }
2472
+ type: "query",
2473
+ 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.",
2474
+ parameters: {
2475
+ type: "params",
2476
+ properties: {
2477
+ tipUri: {
2478
+ type: "string",
2479
+ format: "at-uri",
2480
+ description: "AT-URI of a specific tip record. Takes precedence over recordUri and sender."
2481
+ },
2482
+ recordUri: {
2483
+ type: "string",
2484
+ format: "at-uri",
2485
+ description: "AT-URI of the record being tipped. Takes precedence over sender."
2486
+ },
2487
+ sender: {
2488
+ type: "string",
2489
+ format: "did",
2490
+ description: "DID of the tip sender. Ignored if tipUri or recordUri is provided."
2491
+ },
2492
+ amount: {
2493
+ type: "integer",
2494
+ description: "Expected tip amount in cents. If omitted, only checks that a tip exists."
1854
2495
  }
1855
2496
  }
1856
2497
  },
@@ -1858,36 +2499,25 @@ var put_default2 = {
1858
2499
  encoding: "application/json",
1859
2500
  schema: {
1860
2501
  type: "object",
1861
- required: [
1862
- "uri",
1863
- "cid",
1864
- "profile",
1865
- "hasProfile",
1866
- "readyForPayment"
1867
- ],
2502
+ required: ["valid"],
1868
2503
  properties: {
1869
- uri: {
1870
- type: "string",
1871
- format: "at-uri",
1872
- description: "Profile record URI"
1873
- },
1874
- cid: {
1875
- type: "string",
1876
- format: "cid",
1877
- description: "Profile record CID"
2504
+ valid: {
2505
+ type: "boolean",
2506
+ description: "Whether a sender has completed and verified tip(s) to the authed recipient"
1878
2507
  },
1879
- profile: {
1880
- type: "ref",
1881
- ref: "com.atiproto.profile",
1882
- description: "The profile record data"
2508
+ amount: {
2509
+ type: "integer",
2510
+ description: "Sum of all verified completed tip amounts in cents"
1883
2511
  },
1884
- hasProfile: {
1885
- type: "boolean",
1886
- description: "Whether the user has saved a profile record"
2512
+ currency: {
2513
+ type: "string",
2514
+ maxLength: 3,
2515
+ description: "Currency of the tips"
1887
2516
  },
1888
- readyForPayment: {
1889
- type: "boolean",
1890
- description: "Whether the user's payment account is set up and enabled"
2517
+ reason: {
2518
+ type: "string",
2519
+ maxLength: 1024,
2520
+ description: "If invalid, reason for rejection"
1891
2521
  }
1892
2522
  }
1893
2523
  }
@@ -1956,6 +2586,57 @@ var cart_default = {
1956
2586
  }
1957
2587
  }
1958
2588
  },
2589
+ view: {
2590
+ type: "object",
2591
+ description: "View of a cart record for use in API responses",
2592
+ required: [
2593
+ "items",
2594
+ "currency",
2595
+ "total",
2596
+ "status",
2597
+ "createdAt",
2598
+ "expiresAt"
2599
+ ],
2600
+ properties: {
2601
+ items: {
2602
+ type: "array",
2603
+ items: {
2604
+ type: "ref",
2605
+ ref: "#cartItem"
2606
+ }
2607
+ },
2608
+ currency: {
2609
+ type: "string",
2610
+ maxLength: 3,
2611
+ description: "ISO 4217 currency code"
2612
+ },
2613
+ total: {
2614
+ type: "integer",
2615
+ description: "Total amount in cents"
2616
+ },
2617
+ status: {
2618
+ type: "string",
2619
+ maxLength: 64,
2620
+ enum: ["open", "completed", "expired", "abandoned"],
2621
+ description: "Cart status"
2622
+ },
2623
+ createdAt: {
2624
+ type: "string",
2625
+ format: "datetime",
2626
+ description: "Creation timestamp"
2627
+ },
2628
+ expiresAt: {
2629
+ type: "string",
2630
+ format: "datetime",
2631
+ description: "Expiration timestamp"
2632
+ },
2633
+ completedAt: {
2634
+ type: "string",
2635
+ format: "datetime",
2636
+ description: "Completion timestamp"
2637
+ }
2638
+ }
2639
+ },
1959
2640
  cartItem: {
1960
2641
  type: "object",
1961
2642
  required: ["type", "recordUri"],
@@ -1977,7 +2658,7 @@ var cart_default = {
1977
2658
  };
1978
2659
 
1979
2660
  // src/schemas/feed/list.json
1980
- var list_default2 = {
2661
+ var list_default4 = {
1981
2662
  lexicon: 1,
1982
2663
  id: "com.atiproto.feed.list",
1983
2664
  defs: {
@@ -2064,7 +2745,7 @@ var cancel_default = {
2064
2745
  },
2065
2746
  subscription: {
2066
2747
  type: "ref",
2067
- ref: "com.atiproto.subscription",
2748
+ ref: "com.atiproto.subscription#view",
2068
2749
  description: "Updated subscription record"
2069
2750
  },
2070
2751
  accessUntil: {
@@ -2117,6 +2798,10 @@ var create_default2 = {
2117
2798
  description: "URL to redirect to after checkout completes",
2118
2799
  format: "uri",
2119
2800
  type: "string"
2801
+ },
2802
+ isPrivate: {
2803
+ description: "If true, the recipient (subject) is stored only in atiproto's private database and is omitted from the PDS subscription record.",
2804
+ type: "boolean"
2120
2805
  }
2121
2806
  },
2122
2807
  required: ["subject", "currency", "interval"],
@@ -2135,7 +2820,7 @@ var create_default2 = {
2135
2820
  subscription: {
2136
2821
  description: "The created subscription record (status: pending)",
2137
2822
  type: "ref",
2138
- ref: "com.atiproto.subscription"
2823
+ ref: "com.atiproto.subscription#view"
2139
2824
  },
2140
2825
  cartUri: {
2141
2826
  description: "URI of the cart record in PDS",
@@ -2145,7 +2830,7 @@ var create_default2 = {
2145
2830
  cart: {
2146
2831
  description: "The created cart record (status: open)",
2147
2832
  type: "ref",
2148
- ref: "com.atiproto.cart"
2833
+ ref: "com.atiproto.cart#view"
2149
2834
  },
2150
2835
  checkoutUrl: {
2151
2836
  description: "Checkout URL hosted by atiproto",
@@ -2165,7 +2850,7 @@ var create_default2 = {
2165
2850
  };
2166
2851
 
2167
2852
  // src/schemas/feed/subscription/get.json
2168
- var get_default3 = {
2853
+ var get_default5 = {
2169
2854
  defs: {
2170
2855
  main: {
2171
2856
  description: "Get a specific subscription by URI",
@@ -2197,7 +2882,7 @@ var get_default3 = {
2197
2882
  record: {
2198
2883
  description: "The subscription record data",
2199
2884
  type: "ref",
2200
- ref: "com.atiproto.subscription"
2885
+ ref: "com.atiproto.subscription#view"
2201
2886
  }
2202
2887
  },
2203
2888
  required: ["uri", "cid", "record"],
@@ -2212,7 +2897,7 @@ var get_default3 = {
2212
2897
  };
2213
2898
 
2214
2899
  // src/schemas/feed/subscription/list.json
2215
- var list_default3 = {
2900
+ var list_default5 = {
2216
2901
  lexicon: 1,
2217
2902
  id: "com.atiproto.feed.subscription.list",
2218
2903
  defs: {
@@ -2272,7 +2957,7 @@ var list_default3 = {
2272
2957
  },
2273
2958
  record: {
2274
2959
  type: "ref",
2275
- ref: "com.atiproto.subscription"
2960
+ ref: "com.atiproto.subscription#view"
2276
2961
  }
2277
2962
  }
2278
2963
  }
@@ -2328,6 +3013,64 @@ var put_default3 = {
2328
3013
  }
2329
3014
  };
2330
3015
 
3016
+ // src/schemas/feed/subscription/validate.json
3017
+ var validate_default3 = {
3018
+ lexicon: 1,
3019
+ id: "com.atiproto.feed.subscription.validate",
3020
+ defs: {
3021
+ main: {
3022
+ type: "query",
3023
+ 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.",
3024
+ parameters: {
3025
+ type: "params",
3026
+ properties: {
3027
+ subscriptionUri: {
3028
+ type: "string",
3029
+ format: "at-uri",
3030
+ description: "AT-URI of a specific subscription record. Takes precedence over subject."
3031
+ },
3032
+ subject: {
3033
+ type: "string",
3034
+ format: "did",
3035
+ description: "DID of the creator being subscribed to. Ignored if subscriptionUri is provided."
3036
+ },
3037
+ amount: {
3038
+ type: "integer",
3039
+ description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
3040
+ }
3041
+ }
3042
+ },
3043
+ output: {
3044
+ encoding: "application/json",
3045
+ schema: {
3046
+ type: "object",
3047
+ required: ["valid"],
3048
+ properties: {
3049
+ valid: {
3050
+ type: "boolean",
3051
+ description: "Whether the authed sender has an active, verified subscription"
3052
+ },
3053
+ amount: {
3054
+ type: "integer",
3055
+ description: "Subscription amount in cents"
3056
+ },
3057
+ currency: {
3058
+ type: "string",
3059
+ maxLength: 3,
3060
+ description: "Currency of the subscription"
3061
+ },
3062
+ reason: {
3063
+ type: "string",
3064
+ maxLength: 1024,
3065
+ description: "If invalid, reason for rejection"
3066
+ }
3067
+ }
3068
+ }
3069
+ }
3070
+ }
3071
+ }
3072
+ };
3073
+
2331
3074
  // src/schemas/feed/tip/create.json
2332
3075
  var create_default3 = {
2333
3076
  lexicon: 1,
@@ -2376,6 +3119,10 @@ var create_default3 = {
2376
3119
  description: "Optional message (max 500 chars)",
2377
3120
  maxGraphemes: 500,
2378
3121
  maxLength: 5e3
3122
+ },
3123
+ isPrivate: {
3124
+ type: "boolean",
3125
+ description: "If true, the recipient (subject) and recordUri are stored only in atiproto's private database and are omitted from the PDS tip record."
2379
3126
  }
2380
3127
  }
2381
3128
  }
@@ -2393,7 +3140,7 @@ var create_default3 = {
2393
3140
  },
2394
3141
  tip: {
2395
3142
  type: "ref",
2396
- ref: "com.atiproto.tip",
3143
+ ref: "com.atiproto.tip#view",
2397
3144
  description: "The created tip record (status: pending)"
2398
3145
  },
2399
3146
  cartUri: {
@@ -2403,7 +3150,7 @@ var create_default3 = {
2403
3150
  },
2404
3151
  cart: {
2405
3152
  type: "ref",
2406
- ref: "com.atiproto.cart",
3153
+ ref: "com.atiproto.cart#view",
2407
3154
  description: "The cart record (new or updated)"
2408
3155
  },
2409
3156
  checkoutUrl: {
@@ -2419,7 +3166,7 @@ var create_default3 = {
2419
3166
  };
2420
3167
 
2421
3168
  // src/schemas/feed/tip/get.json
2422
- var get_default4 = {
3169
+ var get_default6 = {
2423
3170
  defs: {
2424
3171
  main: {
2425
3172
  description: "Get a specific tip by URI",
@@ -2451,7 +3198,7 @@ var get_default4 = {
2451
3198
  value: {
2452
3199
  description: "The tip record data",
2453
3200
  type: "ref",
2454
- ref: "com.atiproto.tip"
3201
+ ref: "com.atiproto.tip#view"
2455
3202
  }
2456
3203
  },
2457
3204
  required: ["uri", "cid", "value"],
@@ -2466,7 +3213,7 @@ var get_default4 = {
2466
3213
  };
2467
3214
 
2468
3215
  // src/schemas/feed/tip/list.json
2469
- var list_default4 = {
3216
+ var list_default6 = {
2470
3217
  lexicon: 1,
2471
3218
  id: "com.atiproto.feed.tip.list",
2472
3219
  defs: {
@@ -2503,7 +3250,7 @@ var list_default4 = {
2503
3250
  type: "array",
2504
3251
  items: {
2505
3252
  type: "ref",
2506
- ref: "com.atiproto.tip"
3253
+ ref: "com.atiproto.tip#view"
2507
3254
  }
2508
3255
  },
2509
3256
  cursor: {
@@ -2548,17 +3295,80 @@ var put_default4 = {
2548
3295
  encoding: "application/json",
2549
3296
  schema: {
2550
3297
  type: "object",
2551
- required: ["uri", "cid"],
3298
+ required: ["uri", "cid"],
3299
+ properties: {
3300
+ uri: {
3301
+ type: "string",
3302
+ format: "at-uri",
3303
+ description: "Updated tip record URI"
3304
+ },
3305
+ cid: {
3306
+ type: "string",
3307
+ format: "cid",
3308
+ description: "New CID of the updated record"
3309
+ }
3310
+ }
3311
+ }
3312
+ }
3313
+ }
3314
+ }
3315
+ };
3316
+
3317
+ // src/schemas/feed/tip/validate.json
3318
+ var validate_default4 = {
3319
+ lexicon: 1,
3320
+ id: "com.atiproto.feed.tip.validate",
3321
+ defs: {
3322
+ main: {
3323
+ type: "query",
3324
+ 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.",
3325
+ parameters: {
3326
+ type: "params",
3327
+ properties: {
3328
+ tipUri: {
3329
+ type: "string",
3330
+ format: "at-uri",
3331
+ description: "AT-URI of a specific tip record. Takes precedence over recordUri and subject."
3332
+ },
3333
+ recordUri: {
3334
+ type: "string",
3335
+ format: "at-uri",
3336
+ description: "AT-URI of the record being tipped. Takes precedence over subject."
3337
+ },
3338
+ subject: {
3339
+ type: "string",
3340
+ format: "did",
3341
+ description: "DID of the tip recipient. Ignored if tipUri or recordUri is provided."
3342
+ },
3343
+ amount: {
3344
+ type: "integer",
3345
+ description: "Expected tip amount in cents. If omitted, only checks that a tip exists."
3346
+ }
3347
+ }
3348
+ },
3349
+ output: {
3350
+ encoding: "application/json",
3351
+ schema: {
3352
+ type: "object",
3353
+ required: ["valid"],
2552
3354
  properties: {
2553
- uri: {
3355
+ valid: {
3356
+ type: "boolean",
3357
+ description: "Whether the authed sender has completed and verified tip(s)"
3358
+ },
3359
+ amount: {
3360
+ type: "integer",
3361
+ description: "Sum of all verified completed tip amounts in cents"
3362
+ },
3363
+ currency: {
2554
3364
  type: "string",
2555
- format: "at-uri",
2556
- description: "Updated tip record URI"
3365
+ maxLength: 3,
3366
+ description: "Currency of the tips"
2557
3367
  },
2558
- cid: {
3368
+ reason: {
2559
3369
  type: "string",
2560
- format: "cid",
2561
- description: "New CID of the updated record"
3370
+ maxLength: 1024,
3371
+ description: "If invalid, reason for rejection"
2562
3372
  }
2563
3373
  }
2564
3374
  }
@@ -2604,12 +3414,41 @@ var profile_default = {
2604
3414
  }
2605
3415
  }
2606
3416
  }
3417
+ },
3418
+ view: {
3419
+ type: "object",
3420
+ description: "View of a user's profile settings for use in API responses",
3421
+ required: ["createdAt"],
3422
+ properties: {
3423
+ acceptsTips: {
3424
+ type: "boolean",
3425
+ description: "Whether user accepts tips (default: true)"
3426
+ },
3427
+ acceptsSubscriptions: {
3428
+ type: "boolean",
3429
+ description: "Whether user accepts subscriptions (default: true)"
3430
+ },
3431
+ disableReceiptNotifications: {
3432
+ type: "boolean",
3433
+ description: "Opt out of payment receipt DMs (default: false)"
3434
+ },
3435
+ createdAt: {
3436
+ type: "string",
3437
+ format: "datetime",
3438
+ description: "Creation timestamp"
3439
+ },
3440
+ updatedAt: {
3441
+ type: "string",
3442
+ format: "datetime",
3443
+ description: "Last update timestamp"
3444
+ }
3445
+ }
2607
3446
  }
2608
3447
  }
2609
3448
  };
2610
3449
 
2611
3450
  // src/schemas/repo/profile/get.json
2612
- var get_default5 = {
3451
+ var get_default7 = {
2613
3452
  lexicon: 1,
2614
3453
  id: "com.atiproto.repo.profile.get",
2615
3454
  defs: {
@@ -2640,7 +3479,7 @@ var get_default5 = {
2640
3479
  },
2641
3480
  profile: {
2642
3481
  type: "ref",
2643
- ref: "com.atiproto.profile",
3482
+ ref: "com.atiproto.profile#view",
2644
3483
  description: "Public profile data"
2645
3484
  }
2646
3485
  }
@@ -2650,107 +3489,31 @@ var get_default5 = {
2650
3489
  }
2651
3490
  };
2652
3491
 
2653
- // src/schemas/repo/subscription/search.json
2654
- var search_default = {
3492
+ // src/schemas/repo/subscription/count.json
3493
+ var count_default = {
2655
3494
  lexicon: 1,
2656
- id: "com.atiproto.repo.subscription.search",
3495
+ id: "com.atiproto.repo.subscription.count",
2657
3496
  defs: {
2658
3497
  main: {
2659
3498
  type: "query",
2660
- description: "Search for subscriptions to a user (subscriptions where subject matches the given DID)",
3499
+ 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.",
2661
3500
  parameters: {
2662
3501
  type: "params",
2663
3502
  properties: {
2664
3503
  subject: {
2665
3504
  type: "string",
2666
3505
  format: "did",
2667
- description: "DID of the user being subscribed to"
2668
- },
2669
- cursor: {
2670
- type: "string",
2671
- maxLength: 512,
2672
- description: "Pagination cursor"
2673
- },
2674
- limit: {
2675
- type: "integer",
2676
- minimum: 1,
2677
- maximum: 100,
2678
- default: 50,
2679
- description: "Results per page (1-100, default: 50)"
2680
- }
2681
- },
2682
- required: ["subject"]
2683
- },
2684
- output: {
2685
- encoding: "application/json",
2686
- schema: {
2687
- type: "object",
2688
- required: ["subscriptions"],
2689
- properties: {
2690
- subscriptions: {
2691
- type: "array",
2692
- items: {
2693
- type: "ref",
2694
- ref: "#subscriptionResponse"
2695
- }
2696
- },
2697
- cursor: {
2698
- type: "string",
2699
- maxLength: 512,
2700
- description: "Pagination cursor for next page"
2701
- }
2702
- }
2703
- }
2704
- }
2705
- },
2706
- subscriptionResponse: {
2707
- type: "object",
2708
- required: ["uri", "record"],
2709
- properties: {
2710
- uri: {
2711
- type: "string",
2712
- format: "at-uri",
2713
- description: "AT-URI of the subscription record"
2714
- },
2715
- record: {
2716
- type: "ref",
2717
- ref: "com.atiproto.subscription"
2718
- }
2719
- }
2720
- }
2721
- }
2722
- };
2723
-
2724
- // src/schemas/repo/subscription/validate.json
2725
- var validate_default = {
2726
- lexicon: 1,
2727
- id: "com.atiproto.repo.subscription.validate",
2728
- defs: {
2729
- main: {
2730
- type: "query",
2731
- 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.",
2732
- parameters: {
2733
- type: "params",
2734
- required: ["sender"],
2735
- properties: {
2736
- sender: {
2737
- type: "string",
2738
- format: "did",
2739
- description: "DID of the subscriber"
3506
+ description: "DID of the user being subscribed to. If omitted, the query counts subscriptions the authenticated user has active as the subscriber."
2740
3507
  },
2741
- subscriptionUri: {
3508
+ startDate: {
2742
3509
  type: "string",
2743
- format: "at-uri",
2744
- description: "AT-URI of a specific subscription record. Takes precedence over subject."
3510
+ format: "datetime",
3511
+ description: "Only count subscriptions whose billingStartDate is at or after this timestamp"
2745
3512
  },
2746
- subject: {
3513
+ endDate: {
2747
3514
  type: "string",
2748
- format: "did",
2749
- description: "DID of the creator being subscribed to. Ignored if subscriptionUri is provided."
2750
- },
2751
- amount: {
2752
- type: "integer",
2753
- description: "Expected subscription amount in cents. If omitted, only checks that a subscription exists."
3515
+ format: "datetime",
3516
+ description: "Only count subscriptions whose billingStartDate is at or before this timestamp"
2754
3517
  }
2755
3518
  }
2756
3519
  },
@@ -2758,126 +3521,39 @@ var validate_default = {
2758
3521
  encoding: "application/json",
2759
3522
  schema: {
2760
3523
  type: "object",
2761
- required: ["valid"],
3524
+ required: ["count"],
2762
3525
  properties: {
2763
- valid: {
2764
- type: "boolean",
2765
- description: "Whether the sender has an active, verified subscription"
3526
+ count: {
3527
+ type: "integer",
3528
+ description: "Number of active subscriptions matching the filter"
2766
3529
  },
2767
3530
  amount: {
2768
3531
  type: "integer",
2769
- description: "Subscription amount in cents"
3532
+ 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)."
2770
3533
  },
2771
3534
  currency: {
2772
3535
  type: "string",
2773
3536
  maxLength: 3,
2774
- description: "Currency of the subscription"
2775
- },
2776
- reason: {
2777
- type: "string",
2778
- maxLength: 1024,
2779
- description: "If invalid, reason for rejection"
2780
- }
2781
- }
2782
- }
2783
- }
2784
- }
2785
- }
2786
- };
2787
-
2788
- // src/schemas/repo/tip/search.json
2789
- var search_default2 = {
2790
- lexicon: 1,
2791
- id: "com.atiproto.repo.tip.search",
2792
- defs: {
2793
- main: {
2794
- type: "query",
2795
- description: "Search for tips sent to a user (tips where subject matches the given DID)",
2796
- parameters: {
2797
- type: "params",
2798
- properties: {
2799
- subject: {
2800
- type: "string",
2801
- format: "did",
2802
- description: "DID of the user receiving tips"
2803
- },
2804
- cursor: {
2805
- type: "string",
2806
- maxLength: 512,
2807
- description: "Pagination cursor"
2808
- },
2809
- limit: {
2810
- type: "integer",
2811
- minimum: 1,
2812
- maximum: 100,
2813
- default: 50,
2814
- description: "Results per page (1-100, default: 50)"
2815
- }
2816
- },
2817
- required: ["subject"]
2818
- },
2819
- output: {
2820
- encoding: "application/json",
2821
- schema: {
2822
- type: "object",
2823
- required: ["tips"],
2824
- properties: {
2825
- tips: {
2826
- type: "array",
2827
- items: {
2828
- type: "ref",
2829
- ref: "#tipResponse"
2830
- }
2831
- },
2832
- cursor: {
2833
- type: "string",
2834
- maxLength: 512,
2835
- description: "Pagination cursor for next page"
3537
+ 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)."
2836
3538
  }
2837
3539
  }
2838
3540
  }
2839
3541
  }
2840
- },
2841
- tipResponse: {
2842
- type: "object",
2843
- required: ["uri", "record"],
2844
- properties: {
2845
- uri: {
2846
- type: "string",
2847
- format: "at-uri",
2848
- description: "AT-URI of the tip record"
2849
- },
2850
- record: {
2851
- type: "ref",
2852
- ref: "com.atiproto.tip"
2853
- }
2854
- }
2855
3542
  }
2856
3543
  }
2857
3544
  };
2858
3545
 
2859
- // src/schemas/repo/tip/validate.json
2860
- var validate_default2 = {
3546
+ // src/schemas/repo/tip/count.json
3547
+ var count_default2 = {
2861
3548
  lexicon: 1,
2862
- id: "com.atiproto.repo.tip.validate",
3549
+ id: "com.atiproto.repo.tip.count",
2863
3550
  defs: {
2864
3551
  main: {
2865
3552
  type: "query",
2866
- description: "Validate that a 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.",
3553
+ 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.",
2867
3554
  parameters: {
2868
3555
  type: "params",
2869
- required: ["sender"],
2870
3556
  properties: {
2871
- sender: {
2872
- type: "string",
2873
- format: "did",
2874
- description: "DID of the tip sender"
2875
- },
2876
- tipUri: {
2877
- type: "string",
2878
- format: "at-uri",
2879
- description: "AT-URI of a specific tip record. Takes precedence over recordUri and subject."
2880
- },
2881
3557
  recordUri: {
2882
3558
  type: "string",
2883
3559
  format: "at-uri",
@@ -2886,11 +3562,17 @@ var validate_default2 = {
2886
3562
  subject: {
2887
3563
  type: "string",
2888
3564
  format: "did",
2889
- description: "DID of the tip recipient. Ignored if tipUri or recordUri is provided."
3565
+ 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."
2890
3566
  },
2891
- amount: {
2892
- type: "integer",
2893
- description: "Expected tip amount in cents. If omitted, only checks that a tip exists."
3567
+ startDate: {
3568
+ type: "string",
3569
+ format: "datetime",
3570
+ description: "Only count tips completed at or after this timestamp"
3571
+ },
3572
+ endDate: {
3573
+ type: "string",
3574
+ format: "datetime",
3575
+ description: "Only count tips completed at or before this timestamp"
2894
3576
  }
2895
3577
  }
2896
3578
  },
@@ -2898,25 +3580,20 @@ var validate_default2 = {
2898
3580
  encoding: "application/json",
2899
3581
  schema: {
2900
3582
  type: "object",
2901
- required: ["valid"],
3583
+ required: ["count"],
2902
3584
  properties: {
2903
- valid: {
2904
- type: "boolean",
2905
- description: "Whether the sender has completed and verified tip(s)"
3585
+ count: {
3586
+ type: "integer",
3587
+ description: "Number of active (completed) tips matching the filter"
2906
3588
  },
2907
3589
  amount: {
2908
3590
  type: "integer",
2909
- description: "Sum of all verified completed tip amounts in cents"
3591
+ 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)."
2910
3592
  },
2911
3593
  currency: {
2912
3594
  type: "string",
2913
3595
  maxLength: 3,
2914
- description: "Currency of the tips"
2915
- },
2916
- reason: {
2917
- type: "string",
2918
- maxLength: 1024,
2919
- description: "If invalid, reason for rejection"
3596
+ 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)."
2920
3597
  }
2921
3598
  }
2922
3599
  }
@@ -2957,21 +3634,27 @@ var authEnhanced_default = {
2957
3634
  "com.atiproto.account.cart.put",
2958
3635
  "com.atiproto.account.profile.get",
2959
3636
  "com.atiproto.account.profile.put",
3637
+ "com.atiproto.account.subscription.get",
3638
+ "com.atiproto.account.subscription.list",
3639
+ "com.atiproto.account.subscription.validate",
3640
+ "com.atiproto.account.tip.get",
3641
+ "com.atiproto.account.tip.list",
3642
+ "com.atiproto.account.tip.validate",
2960
3643
  "com.atiproto.feed.list",
2961
3644
  "com.atiproto.feed.subscription.cancel",
2962
3645
  "com.atiproto.feed.subscription.create",
2963
3646
  "com.atiproto.feed.subscription.get",
2964
3647
  "com.atiproto.feed.subscription.list",
2965
3648
  "com.atiproto.feed.subscription.put",
3649
+ "com.atiproto.feed.subscription.validate",
2966
3650
  "com.atiproto.feed.tip.create",
2967
3651
  "com.atiproto.feed.tip.get",
2968
3652
  "com.atiproto.feed.tip.list",
2969
3653
  "com.atiproto.feed.tip.put",
3654
+ "com.atiproto.feed.tip.validate",
2970
3655
  "com.atiproto.repo.profile.get",
2971
- "com.atiproto.repo.subscription.search",
2972
- "com.atiproto.repo.subscription.validate",
2973
- "com.atiproto.repo.tip.search",
2974
- "com.atiproto.repo.tip.validate"
3656
+ "com.atiproto.repo.subscription.count",
3657
+ "com.atiproto.repo.tip.count"
2975
3658
  ]
2976
3659
  }
2977
3660
  ]
@@ -3008,21 +3691,27 @@ var authGeneral_default = {
3008
3691
  "com.atiproto.account.cart.get",
3009
3692
  "com.atiproto.account.cart.list",
3010
3693
  "com.atiproto.account.cart.put",
3694
+ "com.atiproto.account.subscription.get",
3695
+ "com.atiproto.account.subscription.list",
3696
+ "com.atiproto.account.subscription.validate",
3697
+ "com.atiproto.account.tip.get",
3698
+ "com.atiproto.account.tip.list",
3699
+ "com.atiproto.account.tip.validate",
3011
3700
  "com.atiproto.feed.list",
3012
3701
  "com.atiproto.feed.subscription.cancel",
3013
3702
  "com.atiproto.feed.subscription.create",
3014
3703
  "com.atiproto.feed.subscription.get",
3015
3704
  "com.atiproto.feed.subscription.list",
3016
3705
  "com.atiproto.feed.subscription.put",
3706
+ "com.atiproto.feed.subscription.validate",
3017
3707
  "com.atiproto.feed.tip.create",
3018
3708
  "com.atiproto.feed.tip.get",
3019
3709
  "com.atiproto.feed.tip.list",
3020
3710
  "com.atiproto.feed.tip.put",
3711
+ "com.atiproto.feed.tip.validate",
3021
3712
  "com.atiproto.repo.profile.get",
3022
- "com.atiproto.repo.subscription.search",
3023
- "com.atiproto.repo.subscription.validate",
3024
- "com.atiproto.repo.tip.search",
3025
- "com.atiproto.repo.tip.validate"
3713
+ "com.atiproto.repo.subscription.count",
3714
+ "com.atiproto.repo.tip.count"
3026
3715
  ]
3027
3716
  }
3028
3717
  ]
@@ -3098,6 +3787,67 @@ var subscription_default = {
3098
3787
  type: "object"
3099
3788
  },
3100
3789
  type: "record"
3790
+ },
3791
+ view: {
3792
+ type: "object",
3793
+ description: "View of a subscription record for use in API responses",
3794
+ required: [
3795
+ "amount",
3796
+ "currency",
3797
+ "interval",
3798
+ "status",
3799
+ "billingStartDate",
3800
+ "createdAt"
3801
+ ],
3802
+ properties: {
3803
+ subject: {
3804
+ description: "DID of the user being subscribed to",
3805
+ format: "did",
3806
+ type: "string"
3807
+ },
3808
+ amount: {
3809
+ description: "Subscription amount in cents (0 for free subscriptions)",
3810
+ minimum: 0,
3811
+ type: "integer"
3812
+ },
3813
+ currency: {
3814
+ description: "ISO 4217 currency code",
3815
+ maxLength: 3,
3816
+ type: "string"
3817
+ },
3818
+ interval: {
3819
+ description: "Billing interval",
3820
+ maxLength: 64,
3821
+ enum: ["monthly", "yearly"],
3822
+ type: "string"
3823
+ },
3824
+ status: {
3825
+ description: "Subscription status",
3826
+ maxLength: 64,
3827
+ enum: ["pending", "active", "past_due", "cancelled", "expired"],
3828
+ type: "string"
3829
+ },
3830
+ billingStartDate: {
3831
+ description: "First billing period, can be used to determine recurrence",
3832
+ format: "datetime",
3833
+ type: "string"
3834
+ },
3835
+ cancelledAt: {
3836
+ description: "Cancellation timestamp",
3837
+ format: "datetime",
3838
+ type: "string"
3839
+ },
3840
+ accessUntil: {
3841
+ description: "Date until which the subscriber retains access after cancellation",
3842
+ format: "datetime",
3843
+ type: "string"
3844
+ },
3845
+ createdAt: {
3846
+ description: "Creation timestamp",
3847
+ format: "datetime",
3848
+ type: "string"
3849
+ }
3850
+ }
3101
3851
  }
3102
3852
  },
3103
3853
  id: "com.atiproto.subscription",
@@ -3155,10 +3905,59 @@ var tip_default = {
3155
3905
  type: "string"
3156
3906
  }
3157
3907
  },
3158
- required: ["subject", "amount", "currency", "status", "createdAt"],
3908
+ required: ["amount", "currency", "status", "createdAt"],
3159
3909
  type: "object"
3160
3910
  },
3161
3911
  type: "record"
3912
+ },
3913
+ view: {
3914
+ type: "object",
3915
+ description: "View of a tip record for use in API responses",
3916
+ required: ["amount", "currency", "status", "createdAt"],
3917
+ properties: {
3918
+ subject: {
3919
+ description: "DID of the user receiving the tip",
3920
+ format: "did",
3921
+ type: "string"
3922
+ },
3923
+ recordUri: {
3924
+ description: "AT-URI of specific record being tipped",
3925
+ format: "at-uri",
3926
+ type: "string"
3927
+ },
3928
+ amount: {
3929
+ description: "Tip amount in cents (0 when recipient allows zero tips)",
3930
+ minimum: 0,
3931
+ type: "integer"
3932
+ },
3933
+ currency: {
3934
+ description: "ISO 4217 currency code",
3935
+ maxLength: 3,
3936
+ type: "string"
3937
+ },
3938
+ status: {
3939
+ description: "Tip status",
3940
+ maxLength: 64,
3941
+ type: "string",
3942
+ enum: ["pending", "authorized", "completed", "failed", "refunded"]
3943
+ },
3944
+ message: {
3945
+ description: "Optional message (max 500 chars)",
3946
+ maxGraphemes: 500,
3947
+ maxLength: 5e3,
3948
+ type: "string"
3949
+ },
3950
+ createdAt: {
3951
+ description: "Creation timestamp",
3952
+ format: "datetime",
3953
+ type: "string"
3954
+ },
3955
+ completedAt: {
3956
+ description: "Completion timestamp",
3957
+ format: "datetime",
3958
+ type: "string"
3959
+ }
3960
+ }
3162
3961
  }
3163
3962
  },
3164
3963
  id: "com.atiproto.tip",
@@ -3174,23 +3973,29 @@ var schemas = [
3174
3973
  put_default,
3175
3974
  get_default2,
3176
3975
  put_default2,
3177
- cart_default,
3976
+ get_default3,
3178
3977
  list_default2,
3978
+ validate_default,
3979
+ get_default4,
3980
+ list_default3,
3981
+ validate_default2,
3982
+ cart_default,
3983
+ list_default4,
3179
3984
  cancel_default,
3180
3985
  create_default2,
3181
- get_default3,
3182
- list_default3,
3986
+ get_default5,
3987
+ list_default5,
3183
3988
  put_default3,
3989
+ validate_default3,
3184
3990
  create_default3,
3185
- get_default4,
3186
- list_default4,
3991
+ get_default6,
3992
+ list_default6,
3187
3993
  put_default4,
3994
+ validate_default4,
3188
3995
  profile_default,
3189
- get_default5,
3190
- search_default,
3191
- validate_default,
3192
- search_default2,
3193
- validate_default2,
3996
+ get_default7,
3997
+ count_default,
3998
+ count_default2,
3194
3999
  authEnhanced_default,
3195
4000
  authGeneral_default,
3196
4001
  subscription_default,