@atiproto/lexicons 0.7.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3223 -2409
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3223 -2409
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/actions.d.ts +2 -0
- package/dist/lexicons/com/atiproto/actions.defs.d.ts +120 -0
- package/dist/lexicons/com/atiproto/authEnhanced.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/authGeneral.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/cart.defs.d.ts +5 -5
- package/dist/lexicons/com/atiproto/item.d.ts +2 -0
- package/dist/lexicons/com/atiproto/{tip.defs.d.ts → item.defs.d.ts} +55 -55
- package/dist/lexicons/com/atiproto/payment/cart/clone.defs.d.ts +54 -0
- package/dist/lexicons/com/atiproto/{account → payment}/cart/create.defs.d.ts +18 -13
- package/dist/lexicons/com/atiproto/{account → payment}/cart/get.defs.d.ts +23 -11
- package/dist/lexicons/com/atiproto/{account → payment}/cart/list.defs.d.ts +12 -6
- package/dist/lexicons/com/atiproto/{account → payment}/cart/put.defs.d.ts +16 -11
- package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/create.defs.d.ts +16 -11
- package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/get.defs.d.ts +7 -7
- package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/list.defs.d.ts +7 -7
- package/dist/lexicons/com/atiproto/payment/item/put.defs.d.ts +42 -0
- package/dist/lexicons/com/atiproto/{feed/tip → payment/item}/validate.defs.d.ts +6 -6
- package/dist/lexicons/com/atiproto/payment/item.d.ts +5 -0
- package/dist/lexicons/com/atiproto/{feed → payment}/list.defs.d.ts +7 -7
- package/dist/lexicons/com/atiproto/payment/subscription/cancel.defs.d.ts +42 -0
- package/dist/lexicons/com/atiproto/{feed → payment}/subscription/create.defs.d.ts +14 -9
- package/dist/lexicons/com/atiproto/{feed → payment}/subscription/get.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/{feed → payment}/subscription/list.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/{feed → payment}/subscription/put.defs.d.ts +16 -11
- package/dist/lexicons/com/atiproto/{feed → payment}/subscription/validate.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/payment.d.ts +4 -0
- package/dist/lexicons/com/atiproto/profile.defs.d.ts +14 -14
- package/dist/lexicons/com/atiproto/recipient/payment/cart/get.defs.d.ts +53 -0
- package/dist/lexicons/com/atiproto/recipient/payment/cart/list.defs.d.ts +54 -0
- package/dist/lexicons/com/atiproto/recipient/payment/cart.d.ts +2 -0
- package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/get.defs.d.ts +7 -7
- package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/list.defs.d.ts +7 -7
- package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/validate.defs.d.ts +6 -6
- package/dist/lexicons/com/atiproto/recipient/payment/item.d.ts +3 -0
- package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/get.defs.d.ts +4 -4
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/list.d.ts +2 -0
- package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/list.defs.d.ts +4 -4
- package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/validate.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/recipient/payment.d.ts +3 -0
- package/dist/lexicons/com/atiproto/recipient/profile/get.d.ts +2 -0
- package/dist/lexicons/com/atiproto/{account → recipient}/profile/get.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/recipient/profile/put.defs.d.ts +46 -0
- package/dist/lexicons/com/atiproto/recipient.d.ts +2 -0
- package/dist/lexicons/com/atiproto/repo/{tip → item}/count.defs.d.ts +4 -4
- package/dist/lexicons/com/atiproto/repo/item.d.ts +1 -0
- package/dist/lexicons/com/atiproto/repo.d.ts +1 -1
- package/dist/lexicons/com/atiproto/subscription.defs.d.ts +4 -0
- package/dist/lexicons/com/atiproto.d.ts +4 -3
- package/package.json +1 -1
- package/dist/lexicons/com/atiproto/account/cart/clone.defs.d.ts +0 -49
- package/dist/lexicons/com/atiproto/account/profile/put.defs.d.ts +0 -41
- package/dist/lexicons/com/atiproto/account/tip.d.ts +0 -3
- package/dist/lexicons/com/atiproto/account.d.ts +0 -4
- package/dist/lexicons/com/atiproto/feed/subscription/cancel.defs.d.ts +0 -37
- package/dist/lexicons/com/atiproto/feed/tip/put.defs.d.ts +0 -37
- package/dist/lexicons/com/atiproto/feed/tip.d.ts +0 -5
- package/dist/lexicons/com/atiproto/feed.d.ts +0 -3
- package/dist/lexicons/com/atiproto/repo/subscription/search.d.ts +0 -2
- package/dist/lexicons/com/atiproto/repo/subscription/search.defs.d.ts +0 -48
- package/dist/lexicons/com/atiproto/repo/subscription/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/repo/subscription/validate.defs.d.ts +0 -50
- package/dist/lexicons/com/atiproto/repo/tip/search.d.ts +0 -2
- package/dist/lexicons/com/atiproto/repo/tip/search.defs.d.ts +0 -48
- package/dist/lexicons/com/atiproto/repo/tip/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/repo/tip/validate.defs.d.ts +0 -56
- package/dist/lexicons/com/atiproto/repo/tip.d.ts +0 -1
- package/dist/lexicons/com/atiproto/tip.d.ts +0 -2
- /package/dist/lexicons/com/atiproto/{account → payment}/cart/clone.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/cart/create.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/cart/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/cart/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/cart/put.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/cart.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/subscription → payment/item}/create.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/profile → payment/item}/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/subscription → payment/item}/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/profile → payment/item}/put.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/subscription → payment/item}/validate.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/tip → payment}/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed → payment}/subscription/cancel.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/tip → payment/subscription}/create.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → payment}/subscription/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed → payment/subscription}/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed → payment}/subscription/put.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/tip → payment/subscription}/validate.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed → payment}/subscription.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/cart}/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/cart}/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/item}/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/item}/list.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/subscription → recipient/payment/item}/validate.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/subscription}/get.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/tip → recipient/payment/subscription}/validate.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{feed/tip → recipient/profile}/put.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/{account → recipient}/profile.d.ts +0 -0
- /package/dist/lexicons/com/atiproto/repo/{tip → item}/count.d.ts +0 -0
|
@@ -5,9 +5,9 @@ export { $nsid };
|
|
|
5
5
|
type Main = {
|
|
6
6
|
$type: 'com.atiproto.profile';
|
|
7
7
|
/**
|
|
8
|
-
* Whether user accepts
|
|
8
|
+
* Whether user accepts items (default: true)
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
acceptsItems?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* Whether user accepts subscriptions (default: true)
|
|
13
13
|
*/
|
|
@@ -34,7 +34,7 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
34
34
|
}>(value: TValue) => value is l.TypedRecord<"com.atiproto.profile", TValue>, $build: {
|
|
35
35
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
36
36
|
createdAt: l.DatetimeString;
|
|
37
|
-
|
|
37
|
+
acceptsItems?: boolean
|
|
38
38
|
/**
|
|
39
39
|
* Whether user accepts subscriptions (default: true)
|
|
40
40
|
*/
|
|
@@ -54,7 +54,7 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
54
54
|
};
|
|
55
55
|
(input: Omit<Omit<Main, "$type">, "$type">): {
|
|
56
56
|
createdAt: l.DatetimeString;
|
|
57
|
-
|
|
57
|
+
acceptsItems?: boolean
|
|
58
58
|
/**
|
|
59
59
|
* Whether user accepts subscriptions (default: true)
|
|
60
60
|
*/
|
|
@@ -75,7 +75,7 @@ export declare const $isTypeOf: <TValue extends {
|
|
|
75
75
|
}, $type: "com.atiproto.profile";
|
|
76
76
|
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
77
77
|
createdAt: l.DatetimeString;
|
|
78
|
-
|
|
78
|
+
acceptsItems?: boolean
|
|
79
79
|
/**
|
|
80
80
|
* Whether user accepts subscriptions (default: true)
|
|
81
81
|
*/
|
|
@@ -94,7 +94,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
94
94
|
$type: "com.atiproto.profile";
|
|
95
95
|
}, $check: (input: unknown, options?: l.ValidateOptions) => void, $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
96
96
|
createdAt: l.DatetimeString;
|
|
97
|
-
|
|
97
|
+
acceptsItems?: boolean
|
|
98
98
|
/**
|
|
99
99
|
* Whether user accepts subscriptions (default: true)
|
|
100
100
|
*/
|
|
@@ -113,7 +113,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
113
113
|
$type: "com.atiproto.profile";
|
|
114
114
|
}, $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
115
115
|
createdAt: l.DatetimeString;
|
|
116
|
-
|
|
116
|
+
acceptsItems?: boolean
|
|
117
117
|
/**
|
|
118
118
|
* Whether user accepts subscriptions (default: true)
|
|
119
119
|
*/
|
|
@@ -132,7 +132,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
132
132
|
$type: "com.atiproto.profile";
|
|
133
133
|
}) | undefined, $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
134
134
|
createdAt: l.DatetimeString;
|
|
135
|
-
|
|
135
|
+
acceptsItems?: boolean
|
|
136
136
|
/**
|
|
137
137
|
* Whether user accepts subscriptions (default: true)
|
|
138
138
|
*/
|
|
@@ -151,7 +151,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
151
151
|
$type: "com.atiproto.profile";
|
|
152
152
|
}, $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
153
153
|
createdAt: l.DatetimeString;
|
|
154
|
-
|
|
154
|
+
acceptsItems?: boolean
|
|
155
155
|
/**
|
|
156
156
|
* Whether user accepts subscriptions (default: true)
|
|
157
157
|
*/
|
|
@@ -170,7 +170,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
170
170
|
$type: "com.atiproto.profile";
|
|
171
171
|
}, $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
172
172
|
createdAt: l.DatetimeString;
|
|
173
|
-
|
|
173
|
+
acceptsItems?: boolean
|
|
174
174
|
/**
|
|
175
175
|
* Whether user accepts subscriptions (default: true)
|
|
176
176
|
*/
|
|
@@ -189,7 +189,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
189
189
|
$type: "com.atiproto.profile";
|
|
190
190
|
}>, $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
191
191
|
createdAt: l.DatetimeString;
|
|
192
|
-
|
|
192
|
+
acceptsItems?: boolean
|
|
193
193
|
/**
|
|
194
194
|
* Whether user accepts subscriptions (default: true)
|
|
195
195
|
*/
|
|
@@ -208,7 +208,7 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
|
|
|
208
208
|
$type: "com.atiproto.profile";
|
|
209
209
|
}, $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
210
210
|
createdAt: l.DatetimeString;
|
|
211
|
-
|
|
211
|
+
acceptsItems?: boolean
|
|
212
212
|
/**
|
|
213
213
|
* Whether user accepts subscriptions (default: true)
|
|
214
214
|
*/
|
|
@@ -234,9 +234,9 @@ type View = {
|
|
|
234
234
|
*/
|
|
235
235
|
uri: l.AtUriString;
|
|
236
236
|
/**
|
|
237
|
-
* Whether user accepts
|
|
237
|
+
* Whether user accepts items (default: true)
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
acceptsItems?: boolean;
|
|
240
240
|
/**
|
|
241
241
|
* Whether user accepts subscriptions (default: true)
|
|
242
242
|
*/
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AtiprotoCart from '../../../cart.defs.js';
|
|
3
|
+
import * as AtiprotoItem from '../../../item.defs.js';
|
|
4
|
+
import * as AtiprotoSubscription from '../../../subscription.defs.js';
|
|
5
|
+
declare const $nsid = "com.atiproto.recipient.payment.cart.get";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Get a cart that pays the authenticated user — a cart whose items target this user. Look up by cart URI, by a contained item record URI, or by a contained subscription record URI. One of `uri`, `itemUri`, or `subscriptionUri` is required. */
|
|
8
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.cart.get", l.ParamsSchema<{
|
|
9
|
+
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
10
|
+
readonly format: "at-uri";
|
|
11
|
+
}>>;
|
|
12
|
+
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
13
|
+
readonly format: "at-uri";
|
|
14
|
+
}>>;
|
|
15
|
+
readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
|
|
16
|
+
readonly format: "at-uri";
|
|
17
|
+
}>>;
|
|
18
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
19
|
+
uri: l.StringSchema<{
|
|
20
|
+
readonly format: "at-uri";
|
|
21
|
+
}>;
|
|
22
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
23
|
+
readonly format: "cid";
|
|
24
|
+
}>>;
|
|
25
|
+
cart: l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>;
|
|
26
|
+
items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
|
|
27
|
+
subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
|
|
28
|
+
}>>, undefined>;
|
|
29
|
+
export { main };
|
|
30
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
31
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
32
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
33
|
+
export declare const $lxm: "com.atiproto.recipient.payment.cart.get", $params: l.ParamsSchema<{
|
|
34
|
+
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
35
|
+
readonly format: "at-uri";
|
|
36
|
+
}>>;
|
|
37
|
+
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
38
|
+
readonly format: "at-uri";
|
|
39
|
+
}>>;
|
|
40
|
+
readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
|
|
41
|
+
readonly format: "at-uri";
|
|
42
|
+
}>>;
|
|
43
|
+
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
44
|
+
uri: l.StringSchema<{
|
|
45
|
+
readonly format: "at-uri";
|
|
46
|
+
}>;
|
|
47
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
48
|
+
readonly format: "cid";
|
|
49
|
+
}>>;
|
|
50
|
+
cart: l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>;
|
|
51
|
+
items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
|
|
52
|
+
subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
|
|
53
|
+
}>>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AtiprotoCart from '../../../cart.defs.js';
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.payment.cart.list";
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** List carts whose items pay the authenticated user — i.e. carts targeting this user as a payment recipient. Read-only, no PDS writes. */
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.cart.list", l.ParamsSchema<{
|
|
7
|
+
readonly sender: l.OptionalSchema<l.StringSchema<{
|
|
8
|
+
readonly format: "did";
|
|
9
|
+
}>>;
|
|
10
|
+
readonly status: l.OptionalSchema<l.EnumSchema<"open" | "completed" | "expired" | "abandoned">>;
|
|
11
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
12
|
+
readonly maxLength: 512;
|
|
13
|
+
}>>;
|
|
14
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
15
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
16
|
+
carts: l.ArraySchema<l.RefSchema<l.Validator<CartResponse, CartResponse>>>;
|
|
17
|
+
cursor: l.OptionalSchema<l.StringSchema<{
|
|
18
|
+
readonly maxLength: 512;
|
|
19
|
+
}>>;
|
|
20
|
+
}>>, undefined>;
|
|
21
|
+
export { main };
|
|
22
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
23
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
24
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
25
|
+
export declare const $lxm: "com.atiproto.recipient.payment.cart.list", $params: l.ParamsSchema<{
|
|
26
|
+
readonly sender: l.OptionalSchema<l.StringSchema<{
|
|
27
|
+
readonly format: "did";
|
|
28
|
+
}>>;
|
|
29
|
+
readonly status: l.OptionalSchema<l.EnumSchema<"open" | "completed" | "expired" | "abandoned">>;
|
|
30
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
31
|
+
readonly maxLength: 512;
|
|
32
|
+
}>>;
|
|
33
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
34
|
+
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
35
|
+
carts: l.ArraySchema<l.RefSchema<l.Validator<CartResponse, CartResponse>>>;
|
|
36
|
+
cursor: l.OptionalSchema<l.StringSchema<{
|
|
37
|
+
readonly maxLength: 512;
|
|
38
|
+
}>>;
|
|
39
|
+
}>>;
|
|
40
|
+
type CartResponse = {
|
|
41
|
+
$type?: 'com.atiproto.recipient.payment.cart.list#cartResponse';
|
|
42
|
+
/**
|
|
43
|
+
* AT-URI of the cart record
|
|
44
|
+
*/
|
|
45
|
+
uri: l.AtUriString;
|
|
46
|
+
/**
|
|
47
|
+
* CID of the cart record
|
|
48
|
+
*/
|
|
49
|
+
cid: l.CidString;
|
|
50
|
+
record: AtiprotoCart.View;
|
|
51
|
+
};
|
|
52
|
+
export type { CartResponse };
|
|
53
|
+
declare const cartResponse: l.TypedObjectSchema<"com.atiproto.recipient.payment.cart.list#cartResponse", l.Validator<CartResponse, CartResponse>>;
|
|
54
|
+
export { cartResponse };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
import * as
|
|
3
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
import * as AtiprotoItem from '../../../item.defs.js';
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.payment.item.get";
|
|
4
4
|
export { $nsid };
|
|
5
|
-
/** Get a specific
|
|
6
|
-
declare const main: l.Query<"com.atiproto.
|
|
5
|
+
/** Get a specific item received by the authenticated user (as the recipient/subject). Looks up by item record uri, sender DID, or record uri. These are mutually exclusive and resolved in that order. */
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.item.get", l.ParamsSchema<{
|
|
7
7
|
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
8
8
|
readonly format: "at-uri";
|
|
9
9
|
}>>;
|
|
@@ -14,13 +14,13 @@ declare const main: l.Query<"com.atiproto.account.tip.get", l.ParamsSchema<{
|
|
|
14
14
|
readonly format: "at-uri";
|
|
15
15
|
}>>;
|
|
16
16
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
17
|
-
|
|
17
|
+
item: l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>;
|
|
18
18
|
}>>, undefined>;
|
|
19
19
|
export { main };
|
|
20
20
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
21
21
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
22
22
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
23
|
-
export declare const $lxm: "com.atiproto.
|
|
23
|
+
export declare const $lxm: "com.atiproto.recipient.payment.item.get", $params: l.ParamsSchema<{
|
|
24
24
|
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
25
25
|
readonly format: "at-uri";
|
|
26
26
|
}>>;
|
|
@@ -31,5 +31,5 @@ export declare const $lxm: "com.atiproto.account.tip.get", $params: l.ParamsSche
|
|
|
31
31
|
readonly format: "at-uri";
|
|
32
32
|
}>>;
|
|
33
33
|
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
34
|
-
|
|
34
|
+
item: l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>;
|
|
35
35
|
}>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
import * as
|
|
3
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
import * as AtiprotoItem from '../../../item.defs.js';
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.payment.item.list";
|
|
4
4
|
export { $nsid };
|
|
5
|
-
/** List
|
|
6
|
-
declare const main: l.Query<"com.atiproto.
|
|
5
|
+
/** List items received by the authenticated user (items where the authed user is the recipient/subject). Includes items marked private, which are only stored in atiproto's database. */
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.item.list", l.ParamsSchema<{
|
|
7
7
|
readonly sender: l.OptionalSchema<l.StringSchema<{
|
|
8
8
|
readonly format: "did";
|
|
9
9
|
}>>;
|
|
@@ -15,7 +15,7 @@ declare const main: l.Query<"com.atiproto.account.tip.list", l.ParamsSchema<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
17
17
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
18
|
-
|
|
18
|
+
items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
|
|
19
19
|
cursor: l.OptionalSchema<l.StringSchema<{
|
|
20
20
|
readonly maxLength: 512;
|
|
21
21
|
}>>;
|
|
@@ -24,7 +24,7 @@ export { main };
|
|
|
24
24
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
25
25
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
26
26
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
27
|
-
export declare const $lxm: "com.atiproto.
|
|
27
|
+
export declare const $lxm: "com.atiproto.recipient.payment.item.list", $params: l.ParamsSchema<{
|
|
28
28
|
readonly sender: l.OptionalSchema<l.StringSchema<{
|
|
29
29
|
readonly format: "did";
|
|
30
30
|
}>>;
|
|
@@ -36,7 +36,7 @@ export declare const $lxm: "com.atiproto.account.tip.list", $params: l.ParamsSch
|
|
|
36
36
|
}>>;
|
|
37
37
|
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
38
38
|
}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
39
|
-
|
|
39
|
+
items: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoItem.View, AtiprotoItem.View>>>;
|
|
40
40
|
cursor: l.OptionalSchema<l.StringSchema<{
|
|
41
41
|
readonly maxLength: 512;
|
|
42
42
|
}>>;
|
package/dist/lexicons/com/atiproto/{account/tip → recipient/payment/item}/validate.defs.d.ts
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
declare const $nsid = "com.atiproto.recipient.payment.item.validate";
|
|
3
3
|
export { $nsid };
|
|
4
|
-
/** Validate that a sender has completed
|
|
5
|
-
declare const main: l.Query<"com.atiproto.
|
|
6
|
-
readonly
|
|
4
|
+
/** Validate that a sender has completed item payment(s) to the authenticated user (as the recipient/subject). Looks up by itemUri (a specific item record), recordUri (sums all items for that record), or sender (sender DID). These are mutually exclusive and resolved in that order. */
|
|
5
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.item.validate", l.ParamsSchema<{
|
|
6
|
+
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
7
7
|
readonly format: "at-uri";
|
|
8
8
|
}>>;
|
|
9
9
|
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
@@ -27,8 +27,8 @@ export { main };
|
|
|
27
27
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
28
28
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
29
29
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
30
|
-
export declare const $lxm: "com.atiproto.
|
|
31
|
-
readonly
|
|
30
|
+
export declare const $lxm: "com.atiproto.recipient.payment.item.validate", $params: l.ParamsSchema<{
|
|
31
|
+
readonly itemUri: l.OptionalSchema<l.StringSchema<{
|
|
32
32
|
readonly format: "at-uri";
|
|
33
33
|
}>>;
|
|
34
34
|
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
import * as AtiprotoSubscription from '
|
|
3
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
import * as AtiprotoSubscription from '../../../subscription.defs.js';
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.payment.subscription.get";
|
|
4
4
|
export { $nsid };
|
|
5
5
|
/** 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. */
|
|
6
|
-
declare const main: l.Query<"com.atiproto.
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.subscription.get", l.ParamsSchema<{
|
|
7
7
|
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
8
8
|
readonly format: "at-uri";
|
|
9
9
|
}>>;
|
|
@@ -17,7 +17,7 @@ export { main };
|
|
|
17
17
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
18
18
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
19
19
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
20
|
-
export declare const $lxm: "com.atiproto.
|
|
20
|
+
export declare const $lxm: "com.atiproto.recipient.payment.subscription.get", $params: l.ParamsSchema<{
|
|
21
21
|
readonly uri: l.OptionalSchema<l.StringSchema<{
|
|
22
22
|
readonly format: "at-uri";
|
|
23
23
|
}>>;
|
package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/list.defs.d.ts
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
import * as AtiprotoSubscription from '
|
|
3
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
import * as AtiprotoSubscription from '../../../subscription.defs.js';
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.payment.subscription.list";
|
|
4
4
|
export { $nsid };
|
|
5
5
|
/** 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. */
|
|
6
|
-
declare const main: l.Query<"com.atiproto.
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.subscription.list", l.ParamsSchema<{
|
|
7
7
|
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
8
8
|
readonly maxLength: 512;
|
|
9
9
|
}>>;
|
|
@@ -18,7 +18,7 @@ export { main };
|
|
|
18
18
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
19
19
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
20
20
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
21
|
-
export declare const $lxm: "com.atiproto.
|
|
21
|
+
export declare const $lxm: "com.atiproto.recipient.payment.subscription.list", $params: l.ParamsSchema<{
|
|
22
22
|
readonly cursor: l.OptionalSchema<l.StringSchema<{
|
|
23
23
|
readonly maxLength: 512;
|
|
24
24
|
}>>;
|
package/dist/lexicons/com/atiproto/{account → recipient/payment}/subscription/validate.defs.d.ts
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
declare const $nsid = "com.atiproto.
|
|
2
|
+
declare const $nsid = "com.atiproto.recipient.payment.subscription.validate";
|
|
3
3
|
export { $nsid };
|
|
4
4
|
/** 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. */
|
|
5
|
-
declare const main: l.Query<"com.atiproto.
|
|
5
|
+
declare const main: l.Query<"com.atiproto.recipient.payment.subscription.validate", l.ParamsSchema<{
|
|
6
6
|
readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
|
|
7
7
|
readonly format: "at-uri";
|
|
8
8
|
}>>;
|
|
@@ -24,7 +24,7 @@ export { main };
|
|
|
24
24
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
25
25
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
26
26
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
27
|
-
export declare const $lxm: "com.atiproto.
|
|
27
|
+
export declare const $lxm: "com.atiproto.recipient.payment.subscription.validate", $params: l.ParamsSchema<{
|
|
28
28
|
readonly subscriptionUri: l.OptionalSchema<l.StringSchema<{
|
|
29
29
|
readonly format: "at-uri";
|
|
30
30
|
}>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
2
|
import * as AtiprotoProfile from '../../profile.defs.js';
|
|
3
|
-
declare const $nsid = "com.atiproto.
|
|
3
|
+
declare const $nsid = "com.atiproto.recipient.profile.get";
|
|
4
4
|
export { $nsid };
|
|
5
5
|
/** Get the authenticated user's profile settings. Returns defaults if no profile exists. */
|
|
6
|
-
declare const main: l.Query<"com.atiproto.
|
|
6
|
+
declare const main: l.Query<"com.atiproto.recipient.profile.get", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
7
7
|
uri: l.OptionalSchema<l.StringSchema<{
|
|
8
8
|
readonly format: "at-uri";
|
|
9
9
|
}>>;
|
|
@@ -18,7 +18,7 @@ export { main };
|
|
|
18
18
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
19
19
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
20
20
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
21
|
-
export declare const $lxm: "com.atiproto.
|
|
21
|
+
export declare const $lxm: "com.atiproto.recipient.profile.get", $params: l.ParamsSchema<{}>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
22
22
|
uri: l.OptionalSchema<l.StringSchema<{
|
|
23
23
|
readonly format: "at-uri";
|
|
24
24
|
}>>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AtiprotoActions from '../../actions.defs.js';
|
|
3
|
+
import * as AtiprotoProfile from '../../profile.defs.js';
|
|
4
|
+
declare const $nsid = "com.atiproto.recipient.profile.put";
|
|
5
|
+
export { $nsid };
|
|
6
|
+
/** Create or update the authenticated user's profile settings */
|
|
7
|
+
declare const main: l.Procedure<"com.atiproto.recipient.profile.put", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
acceptsItems: l.OptionalSchema<l.BooleanSchema>;
|
|
9
|
+
acceptsSubscriptions: l.OptionalSchema<l.BooleanSchema>;
|
|
10
|
+
disableReceiptNotifications: l.OptionalSchema<l.BooleanSchema>;
|
|
11
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
|
|
12
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
13
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
14
|
+
uri: l.OptionalSchema<l.StringSchema<{
|
|
15
|
+
readonly format: "at-uri";
|
|
16
|
+
}>>;
|
|
17
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
18
|
+
readonly format: "cid";
|
|
19
|
+
}>>;
|
|
20
|
+
profile: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoProfile.View, AtiprotoProfile.View>>>;
|
|
21
|
+
hasProfile: l.OptionalSchema<l.BooleanSchema>;
|
|
22
|
+
readyForPayment: l.OptionalSchema<l.BooleanSchema>;
|
|
23
|
+
}>>, undefined>;
|
|
24
|
+
export { main };
|
|
25
|
+
export type $Params = l.InferMethodParams<typeof main>;
|
|
26
|
+
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
27
|
+
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
28
|
+
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
29
|
+
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
30
|
+
export declare const $lxm: "com.atiproto.recipient.profile.put", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
31
|
+
acceptsItems: l.OptionalSchema<l.BooleanSchema>;
|
|
32
|
+
acceptsSubscriptions: l.OptionalSchema<l.BooleanSchema>;
|
|
33
|
+
disableReceiptNotifications: l.OptionalSchema<l.BooleanSchema>;
|
|
34
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.InboundWorkflow, AtiprotoActions.InboundWorkflow>>>;
|
|
35
|
+
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
+
workflow: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoActions.OutboundWorkflow, AtiprotoActions.OutboundWorkflow>>>;
|
|
37
|
+
uri: l.OptionalSchema<l.StringSchema<{
|
|
38
|
+
readonly format: "at-uri";
|
|
39
|
+
}>>;
|
|
40
|
+
cid: l.OptionalSchema<l.StringSchema<{
|
|
41
|
+
readonly format: "cid";
|
|
42
|
+
}>>;
|
|
43
|
+
profile: l.OptionalSchema<l.RefSchema<l.Validator<AtiprotoProfile.View, AtiprotoProfile.View>>>;
|
|
44
|
+
hasProfile: l.OptionalSchema<l.BooleanSchema>;
|
|
45
|
+
readyForPayment: l.OptionalSchema<l.BooleanSchema>;
|
|
46
|
+
}>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l } from '@atproto/lex';
|
|
2
|
-
declare const $nsid = "com.atiproto.repo.
|
|
2
|
+
declare const $nsid = "com.atiproto.repo.item.count";
|
|
3
3
|
export { $nsid };
|
|
4
|
-
/** Count active (completed)
|
|
5
|
-
declare const main: l.Query<"com.atiproto.repo.
|
|
4
|
+
/** Count active (completed) items. If recordUri is provided, counts items for that record. If subject is provided, counts items received by that DID. If neither is provided, counts items 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. */
|
|
5
|
+
declare const main: l.Query<"com.atiproto.repo.item.count", l.ParamsSchema<{
|
|
6
6
|
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
7
7
|
readonly format: "at-uri";
|
|
8
8
|
}>>;
|
|
@@ -26,7 +26,7 @@ export { main };
|
|
|
26
26
|
export type $Params = l.InferMethodParams<typeof main>;
|
|
27
27
|
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
28
28
|
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
29
|
-
export declare const $lxm: "com.atiproto.repo.
|
|
29
|
+
export declare const $lxm: "com.atiproto.repo.item.count", $params: l.ParamsSchema<{
|
|
30
30
|
readonly recordUri: l.OptionalSchema<l.StringSchema<{
|
|
31
31
|
readonly format: "at-uri";
|
|
32
32
|
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as count from './item/count.js';
|
|
@@ -273,6 +273,10 @@ type View = {
|
|
|
273
273
|
* First billing period, can be used to determine recurrence
|
|
274
274
|
*/
|
|
275
275
|
billingStartDate: l.DatetimeString;
|
|
276
|
+
/**
|
|
277
|
+
* Next scheduled renewal/billing date. Server-derived from the billing schedule; not stored in PDS. Omitted when not applicable (e.g. cancelled or unauthenticated views).
|
|
278
|
+
*/
|
|
279
|
+
renewalDate?: l.DatetimeString;
|
|
276
280
|
/**
|
|
277
281
|
* Cancellation timestamp
|
|
278
282
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as actions from './atiproto/actions.js';
|
|
2
2
|
export * as authEnhanced from './atiproto/authEnhanced.js';
|
|
3
3
|
export * as authGeneral from './atiproto/authGeneral.js';
|
|
4
4
|
export * as cart from './atiproto/cart.js';
|
|
5
|
-
export * as
|
|
5
|
+
export * as item from './atiproto/item.js';
|
|
6
|
+
export * as payment from './atiproto/payment.js';
|
|
6
7
|
export * as profile from './atiproto/profile.js';
|
|
8
|
+
export * as recipient from './atiproto/recipient.js';
|
|
7
9
|
export * as repo from './atiproto/repo.js';
|
|
8
10
|
export * as subscription from './atiproto/subscription.js';
|
|
9
|
-
export * as tip from './atiproto/tip.js';
|
package/package.json
CHANGED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { l } from '@atproto/lex';
|
|
2
|
-
import * as AtiprotoCart from '../../cart.defs.js';
|
|
3
|
-
import * as AtiprotoTip from '../../tip.defs.js';
|
|
4
|
-
import * as AtiprotoSubscription from '../../subscription.defs.js';
|
|
5
|
-
declare const $nsid = "com.atiproto.account.cart.clone";
|
|
6
|
-
export { $nsid };
|
|
7
|
-
/** Clone an existing cart, creating new tip and subscription records. Useful for reopening expired carts or repeating tips. */
|
|
8
|
-
declare const main: l.Procedure<"com.atiproto.account.cart.clone", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
9
|
-
uri: l.StringSchema<{
|
|
10
|
-
readonly format: "at-uri";
|
|
11
|
-
}>;
|
|
12
|
-
redirectUrl: l.OptionalSchema<l.StringSchema<{
|
|
13
|
-
readonly format: "uri";
|
|
14
|
-
}>>;
|
|
15
|
-
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
16
|
-
cart: l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>;
|
|
17
|
-
cartUri: l.StringSchema<{
|
|
18
|
-
readonly format: "at-uri";
|
|
19
|
-
}>;
|
|
20
|
-
checkoutUrl: l.StringSchema<{
|
|
21
|
-
readonly format: "uri";
|
|
22
|
-
}>;
|
|
23
|
-
tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
|
|
24
|
-
subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
|
|
25
|
-
}>>, undefined>;
|
|
26
|
-
export { main };
|
|
27
|
-
export type $Params = l.InferMethodParams<typeof main>;
|
|
28
|
-
export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
|
|
29
|
-
export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
|
|
30
|
-
export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
|
|
31
|
-
export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
|
|
32
|
-
export declare const $lxm: "com.atiproto.account.cart.clone", $params: l.ParamsSchema<{}>, $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
33
|
-
uri: l.StringSchema<{
|
|
34
|
-
readonly format: "at-uri";
|
|
35
|
-
}>;
|
|
36
|
-
redirectUrl: l.OptionalSchema<l.StringSchema<{
|
|
37
|
-
readonly format: "uri";
|
|
38
|
-
}>>;
|
|
39
|
-
}>>, $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
40
|
-
cart: l.RefSchema<l.Validator<AtiprotoCart.View, AtiprotoCart.View>>;
|
|
41
|
-
cartUri: l.StringSchema<{
|
|
42
|
-
readonly format: "at-uri";
|
|
43
|
-
}>;
|
|
44
|
-
checkoutUrl: l.StringSchema<{
|
|
45
|
-
readonly format: "uri";
|
|
46
|
-
}>;
|
|
47
|
-
tips: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoTip.View, AtiprotoTip.View>>>;
|
|
48
|
-
subscriptions: l.ArraySchema<l.RefSchema<l.Validator<AtiprotoSubscription.View, AtiprotoSubscription.View>>>;
|
|
49
|
-
}>>;
|