@atiproto/lexicons 1.0.0 → 2.0.0-beta.1
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.d.ts +1 -1
- package/dist/index.js +3459 -2459
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3456 -2459
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons/com/atiproto/authCreateCart.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authCreateCart.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authCreatePayment.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authCreatePayment.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadCart.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadCart.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadEntitlements.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadEntitlements.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadPayments.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadPayments.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadPublic.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadPublic.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authReadRecipient.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authReadRecipient.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/authWriteProfile.d.ts +2 -0
- package/dist/lexicons/com/atiproto/authWriteProfile.defs.d.ts +5 -0
- package/dist/lexicons/com/atiproto/cart.defs.d.ts +277 -112
- package/dist/lexicons/com/atiproto/item.defs.d.ts +97 -202
- package/dist/lexicons/com/atiproto/payment/cart/checkout.d.ts +2 -0
- package/dist/lexicons/com/atiproto/payment/cart/checkout.defs.d.ts +69 -0
- package/dist/lexicons/com/atiproto/payment/cart/create.defs.d.ts +11 -21
- package/dist/lexicons/com/atiproto/payment/cart/get.defs.d.ts +7 -39
- package/dist/lexicons/com/atiproto/payment/cart/list.defs.d.ts +17 -20
- package/dist/lexicons/com/atiproto/payment/cart/put.defs.d.ts +3 -13
- package/dist/lexicons/com/atiproto/payment/cart.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/item/create.defs.d.ts +19 -53
- package/dist/lexicons/com/atiproto/payment/item/get.defs.d.ts +5 -17
- package/dist/lexicons/com/atiproto/payment/item/list.defs.d.ts +1 -7
- package/dist/lexicons/com/atiproto/payment/item/put.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/item.d.ts +0 -1
- package/dist/lexicons/com/atiproto/payment/subscription/cancel.defs.d.ts +1 -7
- package/dist/lexicons/com/atiproto/payment/subscription/create.defs.d.ts +22 -45
- package/dist/lexicons/com/atiproto/payment/subscription/get.defs.d.ts +5 -11
- package/dist/lexicons/com/atiproto/payment/subscription/list.defs.d.ts +7 -1
- package/dist/lexicons/com/atiproto/payment/subscription/put.defs.d.ts +1 -1
- package/dist/lexicons/com/atiproto/payment/subscription.d.ts +0 -1
- package/dist/lexicons/com/atiproto/payment.d.ts +0 -1
- package/dist/lexicons/com/atiproto/profile.defs.d.ts +26 -143
- package/dist/lexicons/com/atiproto/recipient/payment/cart/get.defs.d.ts +7 -33
- package/dist/lexicons/com/atiproto/recipient/payment/cart/list.defs.d.ts +23 -20
- package/dist/lexicons/com/atiproto/recipient/payment/item/get.defs.d.ts +5 -17
- package/dist/lexicons/com/atiproto/recipient/payment/item/list.defs.d.ts +3 -3
- package/dist/lexicons/com/atiproto/recipient/payment/item.d.ts +0 -1
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/get.defs.d.ts +5 -11
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/list.defs.d.ts +13 -1
- package/dist/lexicons/com/atiproto/recipient/payment/subscription.d.ts +0 -1
- package/dist/lexicons/com/atiproto/recipient/profile/get.defs.d.ts +39 -19
- package/dist/lexicons/com/atiproto/repo/item/count.defs.d.ts +3 -9
- package/dist/lexicons/com/atiproto/repo/profile/get.defs.d.ts +6 -0
- package/dist/lexicons/com/atiproto/repo/subscription/count.defs.d.ts +5 -5
- package/dist/lexicons/com/atiproto/subscription.defs.d.ts +90 -157
- package/dist/lexicons/com/atiproto.d.ts +8 -2
- package/dist/lexicons/com/atproto/repo/strongRef.d.ts +2 -0
- package/dist/lexicons/com/atproto/repo/strongRef.defs.d.ts +56 -0
- package/dist/lexicons/com/atproto/repo.d.ts +1 -0
- package/dist/lexicons/com/atproto.d.ts +1 -0
- package/dist/lexicons/com.d.ts +1 -0
- package/dist/lexicons/index.d.ts +1 -0
- package/dist/lexicons/network/attested/entitlement.d.ts +2 -0
- package/dist/lexicons/network/attested/entitlement.defs.d.ts +185 -0
- package/dist/lexicons/network/attested/payment/initiate.d.ts +2 -0
- package/dist/lexicons/network/attested/payment/initiate.defs.d.ts +102 -0
- package/dist/lexicons/network/attested/payment/status.d.ts +2 -0
- package/dist/lexicons/network/attested/payment/status.defs.d.ts +56 -0
- package/dist/lexicons/network/attested/payment.d.ts +4 -0
- package/dist/lexicons/network/attested/payment.defs.d.ts +156 -0
- package/dist/lexicons/network/attested/proof.d.ts +2 -0
- package/dist/lexicons/network/attested/proof.defs.d.ts +172 -0
- package/dist/lexicons/network/attested/signature.d.ts +2 -0
- package/dist/lexicons/network/attested/signature.defs.d.ts +230 -0
- package/dist/lexicons/network/attested/verify.d.ts +2 -0
- package/dist/lexicons/network/attested/verify.defs.d.ts +41 -0
- package/dist/lexicons/network/attested.d.ts +5 -0
- package/dist/lexicons/network.d.ts +1 -0
- package/dist/schemas.d.ts +2 -0
- package/package.json +6 -2
- package/dist/lexicons/com/atiproto/payment/cart/clone.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/cart/clone.defs.d.ts +0 -54
- package/dist/lexicons/com/atiproto/payment/item/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/item/validate.defs.d.ts +0 -50
- package/dist/lexicons/com/atiproto/payment/list.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/list.defs.d.ts +0 -32
- package/dist/lexicons/com/atiproto/payment/subscription/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/payment/subscription/validate.defs.d.ts +0 -44
- package/dist/lexicons/com/atiproto/recipient/payment/item/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/recipient/payment/item/validate.defs.d.ts +0 -50
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/validate.d.ts +0 -2
- package/dist/lexicons/com/atiproto/recipient/payment/subscription/validate.defs.d.ts +0 -44
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/lexicons/com.ts","../src/lexicons/com/atiproto.ts","../src/lexicons/com/atiproto/actions.ts","../src/lexicons/com/atiproto/actions.defs.ts","../src/lexicons/com/atiproto/authEnhanced.ts","../src/lexicons/com/atiproto/authEnhanced.defs.ts","../src/lexicons/com/atiproto/authGeneral.ts","../src/lexicons/com/atiproto/authGeneral.defs.ts","../src/lexicons/com/atiproto/cart.ts","../src/lexicons/com/atiproto/cart.defs.ts","../src/lexicons/com/atiproto/item.ts","../src/lexicons/com/atiproto/item.defs.ts","../src/lexicons/com/atiproto/payment.ts","../src/lexicons/com/atiproto/payment/cart.ts","../src/lexicons/com/atiproto/payment/cart/clone.ts","../src/lexicons/com/atiproto/payment/cart/clone.defs.ts","../src/lexicons/com/atiproto/subscription.defs.ts","../src/lexicons/com/atiproto/payment/cart/create.ts","../src/lexicons/com/atiproto/payment/cart/create.defs.ts","../src/lexicons/com/atiproto/payment/cart/get.ts","../src/lexicons/com/atiproto/payment/cart/get.defs.ts","../src/lexicons/com/atiproto/payment/cart/list.ts","../src/lexicons/com/atiproto/payment/cart/list.defs.ts","../src/lexicons/com/atiproto/payment/cart/put.ts","../src/lexicons/com/atiproto/payment/cart/put.defs.ts","../src/lexicons/com/atiproto/payment/item.ts","../src/lexicons/com/atiproto/payment/item/create.ts","../src/lexicons/com/atiproto/payment/item/create.defs.ts","../src/lexicons/com/atiproto/payment/item/get.ts","../src/lexicons/com/atiproto/payment/item/get.defs.ts","../src/lexicons/com/atiproto/payment/item/list.ts","../src/lexicons/com/atiproto/payment/item/list.defs.ts","../src/lexicons/com/atiproto/payment/item/put.ts","../src/lexicons/com/atiproto/payment/item/put.defs.ts","../src/lexicons/com/atiproto/payment/item/validate.ts","../src/lexicons/com/atiproto/payment/item/validate.defs.ts","../src/lexicons/com/atiproto/payment/list.ts","../src/lexicons/com/atiproto/payment/list.defs.ts","../src/lexicons/com/atiproto/payment/subscription.ts","../src/lexicons/com/atiproto/payment/subscription/cancel.ts","../src/lexicons/com/atiproto/payment/subscription/cancel.defs.ts","../src/lexicons/com/atiproto/payment/subscription/create.ts","../src/lexicons/com/atiproto/payment/subscription/create.defs.ts","../src/lexicons/com/atiproto/payment/subscription/get.ts","../src/lexicons/com/atiproto/payment/subscription/get.defs.ts","../src/lexicons/com/atiproto/payment/subscription/list.ts","../src/lexicons/com/atiproto/payment/subscription/list.defs.ts","../src/lexicons/com/atiproto/payment/subscription/put.ts","../src/lexicons/com/atiproto/payment/subscription/put.defs.ts","../src/lexicons/com/atiproto/payment/subscription/validate.ts","../src/lexicons/com/atiproto/payment/subscription/validate.defs.ts","../src/lexicons/com/atiproto/profile.ts","../src/lexicons/com/atiproto/profile.defs.ts","../src/lexicons/com/atiproto/recipient.ts","../src/lexicons/com/atiproto/recipient/payment.ts","../src/lexicons/com/atiproto/recipient/payment/cart.ts","../src/lexicons/com/atiproto/recipient/payment/cart/get.ts","../src/lexicons/com/atiproto/recipient/payment/cart/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/cart/list.ts","../src/lexicons/com/atiproto/recipient/payment/cart/list.defs.ts","../src/lexicons/com/atiproto/recipient/payment/item.ts","../src/lexicons/com/atiproto/recipient/payment/item/get.ts","../src/lexicons/com/atiproto/recipient/payment/item/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/item/list.ts","../src/lexicons/com/atiproto/recipient/payment/item/list.defs.ts","../src/lexicons/com/atiproto/recipient/payment/item/validate.ts","../src/lexicons/com/atiproto/recipient/payment/item/validate.defs.ts","../src/lexicons/com/atiproto/recipient/payment/subscription.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/get.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/list.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/list.defs.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/validate.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/validate.defs.ts","../src/lexicons/com/atiproto/recipient/profile.ts","../src/lexicons/com/atiproto/recipient/profile/get.ts","../src/lexicons/com/atiproto/recipient/profile/get.defs.ts","../src/lexicons/com/atiproto/recipient/profile/put.ts","../src/lexicons/com/atiproto/recipient/profile/put.defs.ts","../src/lexicons/com/atiproto/repo.ts","../src/lexicons/com/atiproto/repo/item.ts","../src/lexicons/com/atiproto/repo/item/count.ts","../src/lexicons/com/atiproto/repo/item/count.defs.ts","../src/lexicons/com/atiproto/repo/profile.ts","../src/lexicons/com/atiproto/repo/profile/get.ts","../src/lexicons/com/atiproto/repo/profile/get.defs.ts","../src/lexicons/com/atiproto/repo/subscription.ts","../src/lexicons/com/atiproto/repo/subscription/count.ts","../src/lexicons/com/atiproto/repo/subscription/count.defs.ts","../src/lexicons/com/atiproto/subscription.ts","../src/schemas/actions.json","../src/schemas/authEnhanced.json","../src/schemas/authGeneral.json","../src/schemas/cart.json","../src/schemas/item.json","../src/schemas/profile.json","../src/schemas/subscription.json","../src/schemas/payment/list.json","../src/schemas/payment/cart/clone.json","../src/schemas/payment/cart/create.json","../src/schemas/payment/cart/get.json","../src/schemas/payment/cart/list.json","../src/schemas/payment/cart/put.json","../src/schemas/payment/item/create.json","../src/schemas/payment/item/get.json","../src/schemas/payment/item/list.json","../src/schemas/payment/item/put.json","../src/schemas/payment/item/validate.json","../src/schemas/payment/subscription/cancel.json","../src/schemas/payment/subscription/create.json","../src/schemas/payment/subscription/get.json","../src/schemas/payment/subscription/list.json","../src/schemas/payment/subscription/put.json","../src/schemas/payment/subscription/validate.json","../src/schemas/recipient/profile/get.json","../src/schemas/recipient/profile/put.json","../src/schemas/recipient/payment/cart/get.json","../src/schemas/recipient/payment/cart/list.json","../src/schemas/recipient/payment/item/get.json","../src/schemas/recipient/payment/item/list.json","../src/schemas/recipient/payment/item/validate.json","../src/schemas/recipient/payment/subscription/get.json","../src/schemas/recipient/payment/subscription/list.json","../src/schemas/recipient/payment/subscription/validate.json","../src/schemas/repo/item/count.json","../src/schemas/repo/profile/get.json","../src/schemas/repo/subscription/count.json","../src/schemas.ts"],"sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as atiproto from './com/atiproto.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as actions from './atiproto/actions.js'\nexport * as authEnhanced from './atiproto/authEnhanced.js'\nexport * as authGeneral from './atiproto/authGeneral.js'\nexport * as cart from './atiproto/cart.js'\nexport * as item from './atiproto/item.js'\nexport * as payment from './atiproto/payment.js'\nexport * as profile from './atiproto/profile.js'\nexport * as recipient from './atiproto/recipient.js'\nexport * as repo from './atiproto/repo.js'\nexport * as subscription from './atiproto/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './actions.defs.js'\nexport * as $defs from './actions.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.actions'\n\nexport { $nsid }\n\n/** Instructs the agent to call com.atproto.repo.createRecord on the user's PDS. */\ntype Create = {\n $type?: 'com.atiproto.actions#create'\n\n /**\n * DID of the repo to write to. The PDS auth check is the source of truth for whether the write is allowed.\n */\n repo: l.DidString\n\n /**\n * Server-assigned name for this action; echoed back on the corresponding response so the server can correlate.\n */\n name: string\n collection: l.NsidString\n\n /**\n * Optional. When omitted (the default), the PDS generates the rkey and returns the resulting URI on the response. Server-assigned rkeys are reserved for fixed-rkey records like com.atiproto.profile/self.\n */\n rkey?: string\n record: l.LexMap\n}\n\nexport type { Create }\n\n/** Instructs the agent to call com.atproto.repo.createRecord on the user's PDS. */\nconst create = l.typedObject<Create>(\n $nsid,\n 'create',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.optional(l.string({ maxLength: 128 })),\n record: l.lexMap(),\n }),\n)\n\nexport { create }\n\n/** Instructs the agent to call com.atproto.repo.putRecord on the user's PDS. */\ntype Update = {\n $type?: 'com.atiproto.actions#update'\n repo: l.DidString\n name: string\n collection: l.NsidString\n rkey: string\n record: l.LexMap\n swapCommit?: l.CidString\n}\n\nexport type { Update }\n\n/** Instructs the agent to call com.atproto.repo.putRecord on the user's PDS. */\nconst update = l.typedObject<Update>(\n $nsid,\n 'update',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.string({ maxLength: 128 }),\n record: l.lexMap(),\n swapCommit: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { update }\n\n/** Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS. */\ntype Delete$0 = {\n $type?: 'com.atiproto.actions#delete'\n repo: l.DidString\n name: string\n collection: l.NsidString\n rkey: string\n swapCommit?: l.CidString\n}\n\nexport type { Delete$0 as Delete }\n\n/** Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS. */\nconst delete$0 = l.typedObject<Delete$0>(\n $nsid,\n 'delete',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.string({ maxLength: 128 }),\n swapCommit: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { delete$0 as 'delete' }\n\n/** Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed. */\ntype Raise = {\n $type?: 'com.atiproto.actions#raise'\n message: string\n code?: string\n}\n\nexport type { Raise }\n\n/** Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed. */\nconst raise = l.typedObject<Raise>(\n $nsid,\n 'raise',\n l.object({\n message: l.string({ maxLength: 1024 }),\n code: l.optional(l.string({ maxLength: 64 })),\n }),\n)\n\nexport { raise }\n\n/** Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference. */\ntype Response = {\n $type?: 'com.atiproto.actions#response'\n action: 'create' | 'update' | 'delete' | l.UnknownString\n name: string\n result: RecordResult\n}\n\nexport type { Response }\n\n/** Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference. */\nconst response = l.typedObject<Response>(\n $nsid,\n 'response',\n l.object({\n action: l.string<{\n maxLength: 32\n knownValues: ['create', 'update', 'delete']\n }>({ maxLength: 32 }),\n name: l.string({ maxLength: 64 }),\n result: l.ref<RecordResult>((() => recordResult) as any),\n }),\n)\n\nexport { response }\n\ntype RecordResult = {\n $type?: 'com.atiproto.actions#recordResult'\n uri: l.AtUriString\n\n /**\n * Present on create/update responses; absent on delete (the record is gone).\n */\n cid?: l.CidString\n}\n\nexport type { RecordResult }\n\nconst recordResult = l.typedObject<RecordResult>(\n $nsid,\n 'recordResult',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { recordResult }\n\n/** Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise. */\ntype Error = {\n $type?: 'com.atiproto.actions#error'\n\n /**\n * The verb of the action that failed (create/update/delete).\n */\n action: string\n name?: string\n message: string\n code?: string\n}\n\nexport type { Error }\n\n/** Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise. */\nconst error = l.typedObject<Error>(\n $nsid,\n 'error',\n l.object({\n action: l.string({ maxLength: 32 }),\n name: l.optional(l.string({ maxLength: 64 })),\n message: l.string({ maxLength: 1024 }),\n code: l.optional(l.string({ maxLength: 64 })),\n }),\n)\n\nexport { error }\n\n/** Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \"error\" after an action failure. */\ntype InboundWorkflow = {\n $type?: 'com.atiproto.actions#inboundWorkflow'\n intent: string\n responses: Response[]\n error?: Error\n}\n\nexport type { InboundWorkflow }\n\n/** Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \"error\" after an action failure. */\nconst inboundWorkflow = l.typedObject<InboundWorkflow>(\n $nsid,\n 'inboundWorkflow',\n l.object({\n intent: l.string({ maxLength: 64 }),\n responses: l.array(l.ref<Response>((() => response) as any)),\n error: l.optional(l.ref<Error>((() => error) as any)),\n }),\n)\n\nexport { inboundWorkflow }\n\n/** Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`. */\ntype OutboundWorkflow = {\n $type?: 'com.atiproto.actions#outboundWorkflow'\n intent: string\n actions: (\n | l.$Typed<Create>\n | l.$Typed<Update>\n | l.$Typed<Delete$0>\n | l.$Typed<Raise>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { OutboundWorkflow }\n\n/** Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`. */\nconst outboundWorkflow = l.typedObject<OutboundWorkflow>(\n $nsid,\n 'outboundWorkflow',\n l.object({\n intent: l.string({ maxLength: 64 }),\n actions: l.array(\n l.typedUnion(\n [\n l.typedRef<Create>((() => create) as any),\n l.typedRef<Update>((() => update) as any),\n l.typedRef<Delete$0>((() => delete$0) as any),\n l.typedRef<Raise>((() => raise) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { outboundWorkflow }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authEnhanced.defs.js'\nexport * as $defs from './authEnhanced.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authEnhanced'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', {\n collection: [\n 'com.atiproto.cart',\n 'com.atiproto.item',\n 'com.atiproto.profile',\n 'com.atiproto.subscription',\n ],\n }),\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.payment.cart.clone',\n 'com.atiproto.payment.cart.create',\n 'com.atiproto.payment.cart.get',\n 'com.atiproto.payment.cart.list',\n 'com.atiproto.payment.cart.put',\n 'com.atiproto.payment.item.create',\n 'com.atiproto.payment.item.get',\n 'com.atiproto.payment.item.list',\n 'com.atiproto.payment.item.put',\n 'com.atiproto.payment.item.validate',\n 'com.atiproto.payment.list',\n 'com.atiproto.payment.subscription.cancel',\n 'com.atiproto.payment.subscription.create',\n 'com.atiproto.payment.subscription.get',\n 'com.atiproto.payment.subscription.list',\n 'com.atiproto.payment.subscription.put',\n 'com.atiproto.payment.subscription.validate',\n 'com.atiproto.recipient.payment.cart.get',\n 'com.atiproto.recipient.payment.cart.list',\n 'com.atiproto.recipient.payment.item.get',\n 'com.atiproto.recipient.payment.item.list',\n 'com.atiproto.recipient.payment.item.validate',\n 'com.atiproto.recipient.payment.subscription.get',\n 'com.atiproto.recipient.payment.subscription.list',\n 'com.atiproto.recipient.payment.subscription.validate',\n 'com.atiproto.recipient.profile.get',\n 'com.atiproto.recipient.profile.put',\n 'com.atiproto.repo.item.count',\n 'com.atiproto.repo.profile.get',\n 'com.atiproto.repo.subscription.count',\n ],\n }),\n ],\n {\n title: 'Enhanced Access',\n detail:\n 'Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints.',\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authGeneral.defs.js'\nexport * as $defs from './authGeneral.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authGeneral'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', {\n collection: [\n 'com.atiproto.cart',\n 'com.atiproto.item',\n 'com.atiproto.subscription',\n ],\n }),\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.payment.cart.clone',\n 'com.atiproto.payment.cart.create',\n 'com.atiproto.payment.cart.get',\n 'com.atiproto.payment.cart.list',\n 'com.atiproto.payment.cart.put',\n 'com.atiproto.payment.item.create',\n 'com.atiproto.payment.item.get',\n 'com.atiproto.payment.item.list',\n 'com.atiproto.payment.item.put',\n 'com.atiproto.payment.item.validate',\n 'com.atiproto.payment.list',\n 'com.atiproto.payment.subscription.cancel',\n 'com.atiproto.payment.subscription.create',\n 'com.atiproto.payment.subscription.get',\n 'com.atiproto.payment.subscription.list',\n 'com.atiproto.payment.subscription.put',\n 'com.atiproto.payment.subscription.validate',\n 'com.atiproto.recipient.payment.cart.get',\n 'com.atiproto.recipient.payment.cart.list',\n 'com.atiproto.recipient.payment.item.get',\n 'com.atiproto.recipient.payment.item.list',\n 'com.atiproto.recipient.payment.item.validate',\n 'com.atiproto.recipient.payment.subscription.get',\n 'com.atiproto.recipient.payment.subscription.list',\n 'com.atiproto.recipient.payment.subscription.validate',\n 'com.atiproto.repo.item.count',\n 'com.atiproto.repo.profile.get',\n 'com.atiproto.repo.subscription.count',\n ],\n }),\n ],\n {\n title: 'General Access',\n detail:\n 'Write access to cart, subscription, and item records, plus RPC access to payment, recipient, and public profile lookup endpoints.',\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './cart.defs.js'\nexport * as $defs from './cart.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.cart'\n\nexport { $nsid }\n\n/** A record representing a shopping cart for items/subscriptions */\ntype Main = {\n $type: 'com.atiproto.cart'\n items: CartItem[]\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Total amount in cents\n */\n total: number\n\n /**\n * Cart status\n */\n status: 'open' | 'completed' | 'expired' | 'abandoned'\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Expiration timestamp\n */\n expiresAt: l.DatetimeString\n\n /**\n * Completion timestamp\n */\n completedAt?: l.DatetimeString\n}\n\nexport type { Main }\n\n/** A record representing a shopping cart for items/subscriptions */\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n items: l.array(l.ref<CartItem>((() => cartItem) as any)),\n currency: l.string({ maxLength: 3 }),\n total: l.integer(),\n status: l.enum(['open', 'completed', 'expired', 'abandoned']),\n createdAt: l.string({ format: 'datetime' }),\n expiresAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** View of a cart record for use in API responses */\ntype View = {\n $type?: 'com.atiproto.cart#view'\n\n /**\n * AT-URI of the cart record\n */\n uri: l.AtUriString\n items: CartItem[]\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Total amount in cents\n */\n total: number\n\n /**\n * Cart status\n */\n status: 'open' | 'completed' | 'expired' | 'abandoned'\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Expiration timestamp\n */\n expiresAt: l.DatetimeString\n\n /**\n * Completion timestamp\n */\n completedAt?: l.DatetimeString\n}\n\nexport type { View }\n\n/** View of a cart record for use in API responses */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n items: l.array(l.ref<CartItem>((() => cartItem) as any)),\n currency: l.string({ maxLength: 3 }),\n total: l.integer(),\n status: l.enum(['open', 'completed', 'expired', 'abandoned']),\n createdAt: l.string({ format: 'datetime' }),\n expiresAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { view }\n\ntype CartItem = {\n $type?: 'com.atiproto.cart#cartItem'\n\n /**\n * Type of cart item: item or subscription\n */\n type: 'com.atiproto.item' | 'com.atiproto.subscription'\n\n /**\n * AT-URI for item on record\n */\n recordUri: l.AtUriString\n}\n\nexport type { CartItem }\n\nconst cartItem = l.typedObject<CartItem>(\n $nsid,\n 'cartItem',\n l.object({\n type: l.enum(['com.atiproto.item', 'com.atiproto.subscription']),\n recordUri: l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { cartItem }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './item.defs.js'\nexport * as $defs from './item.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.item'\n\nexport { $nsid }\n\n/** A record representing a item given by one user to another */\ntype Main = {\n $type: 'com.atiproto.item'\n\n /**\n * DID of the user receiving the item\n */\n subject?: l.DidString\n\n /**\n * AT-URI of specific record being tipped\n */\n recordUri?: l.AtUriString\n\n /**\n * Tip amount in cents (0 when recipient allows zero items)\n */\n amount: number\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Tip status\n */\n status: 'pending' | 'authorized' | 'completed' | 'failed' | 'refunded'\n\n /**\n * Optional message (max 500 chars)\n */\n message?: string\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Completion timestamp\n */\n completedAt?: l.DatetimeString\n}\n\nexport type { Main }\n\n/** A record representing a item given by one user to another */\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n status: l.enum([\n 'pending',\n 'authorized',\n 'completed',\n 'failed',\n 'refunded',\n ]),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** View of a item record for use in API responses */\ntype View = {\n $type?: 'com.atiproto.item#view'\n\n /**\n * AT-URI of the item record\n */\n uri: l.AtUriString\n\n /**\n * DID of the user receiving the item\n */\n subject?: l.DidString\n\n /**\n * AT-URI of specific record being tipped\n */\n recordUri?: l.AtUriString\n\n /**\n * Tip amount in cents (0 when recipient allows zero items)\n */\n amount: number\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Tip status\n */\n status: 'pending' | 'authorized' | 'completed' | 'failed' | 'refunded'\n\n /**\n * Optional message (max 500 chars)\n */\n message?: string\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Completion timestamp\n */\n completedAt?: l.DatetimeString\n}\n\nexport type { View }\n\n/** View of a item record for use in API responses */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n subject: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n status: l.enum([\n 'pending',\n 'authorized',\n 'completed',\n 'failed',\n 'refunded',\n ]),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cart from './payment/cart.js'\nexport * as item from './payment/item.js'\nexport * as list from './payment/list.js'\nexport * as subscription from './payment/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as clone from './cart/clone.js'\nexport * as create from './cart/create.js'\nexport * as 'get' from './cart/get.js'\nexport * as list from './cart/list.js'\nexport * as put from './cart/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './clone.defs.js'\nexport * as $defs from './clone.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoCart from '../../cart.defs.js'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.clone'\n\nexport { $nsid }\n\n/** Clone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n cart: l.optional(\n l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n ),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n items: l.optional(\n l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n ),\n subscriptions: l.optional(\n l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.subscription'\n\nexport { $nsid }\n\n/** A record representing a subscription from one user to another */\ntype Main = {\n $type: 'com.atiproto.subscription'\n\n /**\n * DID of the user being subscribed to\n */\n subject: l.DidString\n\n /**\n * Subscription amount in cents (0 for free subscriptions)\n */\n amount: number\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Billing interval\n */\n interval: 'monthly' | 'yearly'\n\n /**\n * Subscription status\n */\n status: 'pending' | 'active' | 'past_due' | 'cancelled' | 'expired'\n\n /**\n * First billing period, can be used to determine recurrence\n */\n billingStartDate: l.DatetimeString\n\n /**\n * Cancellation timestamp\n */\n cancelledAt?: l.DatetimeString\n\n /**\n * Date until which the subscriber retains access after cancellation\n */\n accessUntil?: l.DatetimeString\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n}\n\nexport type { Main }\n\n/** A record representing a subscription from one user to another */\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.string({ format: 'did' }),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n interval: l.enum(['monthly', 'yearly']),\n status: l.enum(['pending', 'active', 'past_due', 'cancelled', 'expired']),\n billingStartDate: l.string({ format: 'datetime' }),\n cancelledAt: l.optional(l.string({ format: 'datetime' })),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** View of a subscription record for use in API responses */\ntype View = {\n $type?: 'com.atiproto.subscription#view'\n\n /**\n * AT-URI of the subscription record\n */\n uri: l.AtUriString\n\n /**\n * DID of the user being subscribed to\n */\n subject?: l.DidString\n\n /**\n * Subscription amount in cents (0 for free subscriptions)\n */\n amount: number\n\n /**\n * ISO 4217 currency code\n */\n currency: string\n\n /**\n * Billing interval\n */\n interval: 'monthly' | 'yearly'\n\n /**\n * Subscription status\n */\n status: 'pending' | 'active' | 'past_due' | 'cancelled' | 'expired'\n\n /**\n * First billing period, can be used to determine recurrence\n */\n billingStartDate: l.DatetimeString\n\n /**\n * 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).\n */\n renewalDate?: l.DatetimeString\n\n /**\n * Cancellation timestamp\n */\n cancelledAt?: l.DatetimeString\n\n /**\n * Date until which the subscriber retains access after cancellation\n */\n accessUntil?: l.DatetimeString\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n}\n\nexport type { View }\n\n/** View of a subscription record for use in API responses */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n subject: l.optional(l.string({ format: 'did' })),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n interval: l.enum(['monthly', 'yearly']),\n status: l.enum(['pending', 'active', 'past_due', 'cancelled', 'expired']),\n billingStartDate: l.string({ format: 'datetime' }),\n renewalDate: l.optional(l.string({ format: 'datetime' })),\n cancelledAt: l.optional(l.string({ format: 'datetime' })),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.string({ format: 'datetime' }),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.create'\n\nexport { $nsid }\n\n/** Create a new empty cart */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n currency: l.string({ maxLength: 3 }),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n cart: l.optional(\n l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n ),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.get'\n\nexport { $nsid }\n\n/** Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n itemUri: l.optional(l.string({ format: 'at-uri' })),\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n }),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n cart: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.list'\n\nexport { $nsid }\n\n/** List carts created by the authenticated user. */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'did' })),\n status: l.optional(l.enum(['open', 'completed', 'expired', 'abandoned'])),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 20),\n ),\n }),\n l.jsonPayload({\n carts: l.array(l.ref<CartResponse>((() => cartResponse) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n\ntype CartResponse = {\n $type?: 'com.atiproto.payment.cart.list#cartResponse'\n\n /**\n * AT-URI of the cart record\n */\n uri: l.AtUriString\n\n /**\n * CID of the cart record\n */\n cid: l.CidString\n record: AtiprotoCart.View\n}\n\nexport type { CartResponse }\n\nconst cartResponse = l.typedObject<CartResponse>(\n $nsid,\n 'cartResponse',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.string({ format: 'cid' }),\n record: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n }),\n)\n\nexport { cartResponse }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.put'\n\nexport { $nsid }\n\n/** Update a cart. Only open carts can be updated. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoCart.Main>((() => AtiprotoCart.main) as any),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as create from './item/create.js'\nexport * as 'get' from './item/get.js'\nexport * as list from './item/list.js'\nexport * as put from './item/put.js'\nexport * as validate from './item/validate.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.create'\n\nexport { $nsid }\n\n/** Create a item on a DID or specific record. Creates or adds to a cart and returns a checkout URL. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.string({ format: 'did' }),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n amount: l.integer(),\n currency: l.string({ maxLength: 3 }),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n isPrivate: l.optional(l.boolean()),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n itemUri: l.optional(l.string({ format: 'at-uri' })),\n item: l.optional(\n l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n ),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n cart: l.optional(\n l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n ),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.get'\n\nexport { $nsid }\n\n/** Get a specific item sent by the authenticated user. Looks up by item record uri, subject (recipient) DID, or record uri. These are mutually exclusive and resolved in that order. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n subject: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n }),\n l.jsonPayload({\n item: l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.list'\n\nexport { $nsid }\n\n/** List items sent by the authenticated user */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.put'\n\nexport { $nsid }\n\n/** Update a pending item. Only pending items can be updated. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoItem.Main>((() => AtiprotoItem.main) as any),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './validate.defs.js'\nexport * as $defs from './validate.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.payment.item.validate'\n\nexport { $nsid }\n\n/** Validate that the authenticated user (as the sender) has completed item payment(s). Looks up by itemUri (a specific item record), recordUri (sums all items for that record), or subject (recipient DID). These are mutually exclusive and resolved in that order. */\nconst main = l.query(\n $nsid,\n l.params({\n itemUri: l.optional(l.string({ format: 'at-uri' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n subject: l.optional(l.string({ format: 'did' })),\n amount: l.optional(l.integer()),\n }),\n l.jsonPayload({\n valid: l.boolean(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n reason: l.optional(l.string({ maxLength: 1024 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../item.defs.js'\nimport * as AtiprotoSubscription from '../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.list'\n\nexport { $nsid }\n\n/** List items and subscriptions for the authenticated user. Always returns items given by the user and subscriptions the user has created. */\nconst main = l.query(\n $nsid,\n l.params({\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n items: l.array(\n l.typedUnion(\n [\n l.typedRef<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n l.typedRef<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ],\n false,\n ),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cancel from './subscription/cancel.js'\nexport * as create from './subscription/create.js'\nexport * as 'get' from './subscription/get.js'\nexport * as list from './subscription/list.js'\nexport * as put from './subscription/put.js'\nexport * as validate from './subscription/validate.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './cancel.defs.js'\nexport * as $defs from './cancel.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.cancel'\n\nexport { $nsid }\n\n/** Cancel an active subscription */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subscriptionUri: l.string({ format: 'at-uri' }),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n subscription: l.optional(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.create'\n\nexport { $nsid }\n\n/** Create a subscription to a user. Returns a one-off cart with checkout URL. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.string({ format: 'did' }),\n amount: l.optional(l.integer()),\n currency: l.string({ maxLength: 3 }),\n interval: l.enum(['monthly', 'yearly']),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n isPrivate: l.optional(l.boolean()),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n subscription: l.optional(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n cart: l.optional(\n l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n ),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.get'\n\nexport { $nsid }\n\n/** Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n subject: l.optional(l.string({ format: 'did' })),\n }),\n l.jsonPayload({\n subscription: l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.list'\n\nexport { $nsid }\n\n/** List subscriptions for the authenticated user */\nconst main = l.query(\n $nsid,\n l.params({\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.put'\n\nexport { $nsid }\n\n/** Update a pending subscription. Only pending subscriptions can be updated. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoSubscription.Main>(\n (() => AtiprotoSubscription.main) as any,\n ),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './validate.defs.js'\nexport * as $defs from './validate.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.payment.subscription.validate'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n subject: l.optional(l.string({ format: 'did' })),\n amount: l.optional(l.integer()),\n }),\n l.jsonPayload({\n valid: l.boolean(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n reason: l.optional(l.string({ maxLength: 1024 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './profile.defs.js'\nexport * as $defs from './profile.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.profile'\n\nexport { $nsid }\n\n/** A record representing a user's tipping/subscription settings */\ntype Main = {\n $type: 'com.atiproto.profile'\n\n /**\n * Whether user accepts items (default: true)\n */\n acceptsItems?: boolean\n\n /**\n * Whether user accepts subscriptions (default: true)\n */\n acceptsSubscriptions?: boolean\n\n /**\n * Opt out of payment receipt DMs (default: false)\n */\n disableReceiptNotifications?: boolean\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Last update timestamp\n */\n updatedAt?: l.DatetimeString\n}\n\nexport type { Main }\n\n/** A record representing a user's tipping/subscription settings */\nconst main = l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n l.object({\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n disableReceiptNotifications: l.optional(l.boolean()),\n createdAt: l.string({ format: 'datetime' }),\n updatedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** View of a user's profile settings for use in API responses */\ntype View = {\n $type?: 'com.atiproto.profile#view'\n\n /**\n * AT-URI of the profile record\n */\n uri: l.AtUriString\n\n /**\n * Whether user accepts items (default: true)\n */\n acceptsItems?: boolean\n\n /**\n * Whether user accepts subscriptions (default: true)\n */\n acceptsSubscriptions?: boolean\n\n /**\n * Opt out of payment receipt DMs (default: false)\n */\n disableReceiptNotifications?: boolean\n\n /**\n * Creation timestamp\n */\n createdAt: l.DatetimeString\n\n /**\n * Last update timestamp\n */\n updatedAt?: l.DatetimeString\n}\n\nexport type { View }\n\n/** View of a user's profile settings for use in API responses */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n disableReceiptNotifications: l.optional(l.boolean()),\n createdAt: l.string({ format: 'datetime' }),\n updatedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as payment from './recipient/payment.js'\nexport * as profile from './recipient/profile.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cart from './payment/cart.js'\nexport * as item from './payment/item.js'\nexport * as subscription from './payment/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './cart/get.js'\nexport * as list from './cart/list.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../../cart.defs.js'\nimport * as AtiprotoItem from '../../../item.defs.js'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.cart.get'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n itemUri: l.optional(l.string({ format: 'at-uri' })),\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n }),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n cart: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.cart.list'\n\nexport { $nsid }\n\n/** List carts whose items pay the authenticated user — i.e. carts targeting this user as a payment recipient. Read-only, no PDS writes. */\nconst main = l.query(\n $nsid,\n l.params({\n sender: l.optional(l.string({ format: 'did' })),\n status: l.optional(l.enum(['open', 'completed', 'expired', 'abandoned'])),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 20),\n ),\n }),\n l.jsonPayload({\n carts: l.array(l.ref<CartResponse>((() => cartResponse) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n\ntype CartResponse = {\n $type?: 'com.atiproto.recipient.payment.cart.list#cartResponse'\n\n /**\n * AT-URI of the cart record\n */\n uri: l.AtUriString\n\n /**\n * CID of the cart record\n */\n cid: l.CidString\n record: AtiprotoCart.View\n}\n\nexport type { CartResponse }\n\nconst cartResponse = l.typedObject<CartResponse>(\n $nsid,\n 'cartResponse',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.string({ format: 'cid' }),\n record: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n }),\n)\n\nexport { cartResponse }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './item/get.js'\nexport * as list from './item/list.js'\nexport * as validate from './item/validate.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../../item.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.item.get'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n sender: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n }),\n l.jsonPayload({\n item: l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../../item.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.item.list'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n sender: l.optional(l.string({ format: 'did' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './validate.defs.js'\nexport * as $defs from './validate.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.recipient.payment.item.validate'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n itemUri: l.optional(l.string({ format: 'at-uri' })),\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n sender: l.optional(l.string({ format: 'did' })),\n amount: l.optional(l.integer()),\n }),\n l.jsonPayload({\n valid: l.boolean(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n reason: l.optional(l.string({ maxLength: 1024 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './subscription/get.js'\nexport * as list from './subscription/list.js'\nexport * as validate from './subscription/validate.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.subscription.get'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n uri: l.optional(l.string({ format: 'at-uri' })),\n sender: l.optional(l.string({ format: 'did' })),\n }),\n l.jsonPayload({\n subscription: l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.subscription.list'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './validate.defs.js'\nexport * as $defs from './validate.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.recipient.payment.subscription.validate'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n subscriptionUri: l.optional(l.string({ format: 'at-uri' })),\n sender: l.optional(l.string({ format: 'did' })),\n amount: l.optional(l.integer()),\n }),\n l.jsonPayload({\n valid: l.boolean(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n reason: l.optional(l.string({ maxLength: 1024 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './profile/get.js'\nexport * as put from './profile/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.profile.get'\n\nexport { $nsid }\n\n/** Get the authenticated user's profile settings. Returns defaults if no profile exists. */\nconst main = l.query(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n profile: l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n hasProfile: l.boolean(),\n readyForPayment: l.boolean(),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.profile.put'\n\nexport { $nsid }\n\n/** Create or update the authenticated user's profile settings */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n disableReceiptNotifications: l.optional(l.boolean()),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n profile: l.optional(\n l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n ),\n hasProfile: l.optional(l.boolean()),\n readyForPayment: l.optional(l.boolean()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as item from './repo/item.js'\nexport * as profile from './repo/profile.js'\nexport * as subscription from './repo/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as count from './item/count.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './count.defs.js'\nexport * as $defs from './count.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.repo.item.count'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n recordUri: l.optional(l.string({ format: 'at-uri' })),\n subject: l.optional(l.string({ format: 'did' })),\n startDate: l.optional(l.string({ format: 'datetime' })),\n endDate: l.optional(l.string({ format: 'datetime' })),\n }),\n l.jsonPayload({\n count: l.integer(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './profile/get.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.repo.profile.get'\n\nexport { $nsid }\n\n/** Look up public profile information for any user */\nconst main = l.query(\n $nsid,\n l.params({ did: l.string({ format: 'did' }) }),\n l.jsonPayload({\n did: l.string({ format: 'did' }),\n profile: l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as count from './subscription/count.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './count.defs.js'\nexport * as $defs from './count.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.repo.subscription.count'\n\nexport { $nsid }\n\n/** 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. */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'did' })),\n startDate: l.optional(l.string({ format: 'datetime' })),\n endDate: l.optional(l.string({ format: 'datetime' })),\n }),\n l.jsonPayload({\n count: l.integer(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './subscription.defs.js'\nexport * as $defs from './subscription.defs.js'\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.actions\",\n \"description\": \"Workflow envelope shared between atiproto XRPC endpoints and the agent interpreter. The server emits an outboundWorkflow when it needs the agent to execute repo writes against the user's PDS; the agent runs the actions and calls back with an inboundWorkflow.\",\n \"defs\": {\n \"create\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.createRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"record\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the repo to write to. The PDS auth check is the source of truth for whether the write is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"description\": \"Server-assigned name for this action; echoed back on the corresponding response so the server can correlate.\"\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128,\n \"description\": \"Optional. When omitted (the default), the PDS generates the rkey and returns the resulting URI on the response. Server-assigned rkeys are reserved for fixed-rkey records like com.atiproto.profile/self.\"\n },\n \"record\": {\n \"type\": \"unknown\"\n }\n }\n },\n \"update\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.putRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"rkey\", \"record\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128\n },\n \"record\": {\n \"type\": \"unknown\"\n },\n \"swapCommit\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n }\n }\n },\n \"delete\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"rkey\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128\n },\n \"swapCommit\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n }\n }\n },\n \"raise\": {\n \"type\": \"object\",\n \"description\": \"Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed.\",\n \"required\": [\"message\"],\n \"properties\": {\n \"message\": {\n \"type\": \"string\",\n \"maxLength\": 1024\n },\n \"code\": {\n \"type\": \"string\",\n \"maxLength\": 64\n }\n }\n },\n \"response\": {\n \"type\": \"object\",\n \"description\": \"Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference.\",\n \"required\": [\"action\", \"name\", \"result\"],\n \"properties\": {\n \"action\": {\n \"type\": \"string\",\n \"maxLength\": 32,\n \"knownValues\": [\"create\", \"update\", \"delete\"]\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"result\": {\n \"type\": \"ref\",\n \"ref\": \"#recordResult\"\n }\n }\n },\n \"recordResult\": {\n \"type\": \"object\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Present on create/update responses; absent on delete (the record is gone).\"\n }\n }\n },\n \"error\": {\n \"type\": \"object\",\n \"description\": \"Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise.\",\n \"required\": [\"action\", \"message\"],\n \"properties\": {\n \"action\": {\n \"type\": \"string\",\n \"maxLength\": 32,\n \"description\": \"The verb of the action that failed (create/update/delete).\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"message\": {\n \"type\": \"string\",\n \"maxLength\": 1024\n },\n \"code\": {\n \"type\": \"string\",\n \"maxLength\": 64\n }\n }\n },\n \"inboundWorkflow\": {\n \"type\": \"object\",\n \"description\": \"Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \\\"error\\\" after an action failure.\",\n \"required\": [\"intent\", \"responses\"],\n \"properties\": {\n \"intent\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"responses\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#response\"\n }\n },\n \"error\": {\n \"type\": \"ref\",\n \"ref\": \"#error\"\n }\n }\n },\n \"outboundWorkflow\": {\n \"type\": \"object\",\n \"description\": \"Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`.\",\n \"required\": [\"intent\", \"actions\"],\n \"properties\": {\n \"intent\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"actions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"#create\", \"#update\", \"#delete\", \"#raise\"]\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authEnhanced\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Enhanced Access\",\n \"detail\": \"Full atiproto access. Extends general access with write access to the profile record and RPC access to all profile endpoints.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\n \"com.atiproto.cart\",\n \"com.atiproto.item\",\n \"com.atiproto.profile\",\n \"com.atiproto.subscription\"\n ]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.payment.cart.clone\",\n \"com.atiproto.payment.cart.create\",\n \"com.atiproto.payment.cart.get\",\n \"com.atiproto.payment.cart.list\",\n \"com.atiproto.payment.cart.put\",\n \"com.atiproto.payment.item.create\",\n \"com.atiproto.payment.item.get\",\n \"com.atiproto.payment.item.list\",\n \"com.atiproto.payment.item.put\",\n \"com.atiproto.payment.item.validate\",\n \"com.atiproto.payment.list\",\n \"com.atiproto.payment.subscription.cancel\",\n \"com.atiproto.payment.subscription.create\",\n \"com.atiproto.payment.subscription.get\",\n \"com.atiproto.payment.subscription.list\",\n \"com.atiproto.payment.subscription.put\",\n \"com.atiproto.payment.subscription.validate\",\n \"com.atiproto.recipient.payment.cart.get\",\n \"com.atiproto.recipient.payment.cart.list\",\n \"com.atiproto.recipient.payment.item.get\",\n \"com.atiproto.recipient.payment.item.list\",\n \"com.atiproto.recipient.payment.item.validate\",\n \"com.atiproto.recipient.payment.subscription.get\",\n \"com.atiproto.recipient.payment.subscription.list\",\n \"com.atiproto.recipient.payment.subscription.validate\",\n \"com.atiproto.recipient.profile.get\",\n \"com.atiproto.recipient.profile.put\",\n \"com.atiproto.repo.item.count\",\n \"com.atiproto.repo.profile.get\",\n \"com.atiproto.repo.subscription.count\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authGeneral\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"General Access\",\n \"detail\": \"Write access to cart, subscription, and item records, plus RPC access to payment, recipient, and public profile lookup endpoints.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\n \"com.atiproto.cart\",\n \"com.atiproto.item\",\n \"com.atiproto.subscription\"\n ]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.payment.cart.clone\",\n \"com.atiproto.payment.cart.create\",\n \"com.atiproto.payment.cart.get\",\n \"com.atiproto.payment.cart.list\",\n \"com.atiproto.payment.cart.put\",\n \"com.atiproto.payment.item.create\",\n \"com.atiproto.payment.item.get\",\n \"com.atiproto.payment.item.list\",\n \"com.atiproto.payment.item.put\",\n \"com.atiproto.payment.item.validate\",\n \"com.atiproto.payment.list\",\n \"com.atiproto.payment.subscription.cancel\",\n \"com.atiproto.payment.subscription.create\",\n \"com.atiproto.payment.subscription.get\",\n \"com.atiproto.payment.subscription.list\",\n \"com.atiproto.payment.subscription.put\",\n \"com.atiproto.payment.subscription.validate\",\n \"com.atiproto.recipient.payment.cart.get\",\n \"com.atiproto.recipient.payment.cart.list\",\n \"com.atiproto.recipient.payment.item.get\",\n \"com.atiproto.recipient.payment.item.list\",\n \"com.atiproto.recipient.payment.item.validate\",\n \"com.atiproto.recipient.payment.subscription.get\",\n \"com.atiproto.recipient.payment.subscription.list\",\n \"com.atiproto.recipient.payment.subscription.validate\",\n \"com.atiproto.repo.item.count\",\n \"com.atiproto.repo.profile.get\",\n \"com.atiproto.repo.subscription.count\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.cart\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"description\": \"A record representing a shopping cart for items/subscriptions\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\n \"items\",\n \"currency\",\n \"total\",\n \"status\",\n \"createdAt\",\n \"expiresAt\"\n ],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#cartItem\"\n }\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"description\": \"Total amount in cents\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"enum\": [\"open\", \"completed\", \"expired\", \"abandoned\"],\n \"description\": \"Cart status\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Creation timestamp\"\n },\n \"expiresAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Expiration timestamp\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Completion timestamp\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"View of a cart record for use in API responses\",\n \"required\": [\n \"uri\",\n \"items\",\n \"currency\",\n \"total\",\n \"status\",\n \"createdAt\",\n \"expiresAt\"\n ],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart record\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#cartItem\"\n }\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"description\": \"Total amount in cents\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"enum\": [\"open\", \"completed\", \"expired\", \"abandoned\"],\n \"description\": \"Cart status\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Creation timestamp\"\n },\n \"expiresAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Expiration timestamp\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Completion timestamp\"\n }\n }\n },\n \"cartItem\": {\n \"type\": \"object\",\n \"required\": [\"type\", \"recordUri\"],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"maxLength\": 128,\n \"description\": \"Type of cart item: item or subscription\",\n \"enum\": [\"com.atiproto.item\", \"com.atiproto.subscription\"]\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI for item on record\"\n }\n }\n }\n }\n}\n","{\n \"defs\": {\n \"main\": {\n \"description\": \"A record representing a item given by one user to another\",\n \"key\": \"any\",\n \"record\": {\n \"properties\": {\n \"subject\": {\n \"description\": \"DID of the user receiving the item\",\n \"format\": \"did\",\n \"type\": \"string\"\n },\n \"recordUri\": {\n \"description\": \"AT-URI of specific record being tipped\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"amount\": {\n \"description\": \"Tip amount in cents (0 when recipient allows zero items)\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"ISO 4217 currency code\",\n \"maxLength\": 3,\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Tip status\",\n \"maxLength\": 64,\n \"type\": \"string\",\n \"enum\": [\"pending\", \"authorized\", \"completed\", \"failed\", \"refunded\"]\n },\n \"message\": {\n \"description\": \"Optional message (max 500 chars)\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000,\n \"type\": \"string\"\n },\n \"createdAt\": {\n \"description\": \"Creation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"completedAt\": {\n \"description\": \"Completion timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n }\n },\n \"required\": [\"amount\", \"currency\", \"status\", \"createdAt\"],\n \"type\": \"object\"\n },\n \"type\": \"record\"\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"View of a item record for use in API responses\",\n \"required\": [\"uri\", \"amount\", \"currency\", \"status\", \"createdAt\"],\n \"properties\": {\n \"uri\": {\n \"description\": \"AT-URI of the item record\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"subject\": {\n \"description\": \"DID of the user receiving the item\",\n \"format\": \"did\",\n \"type\": \"string\"\n },\n \"recordUri\": {\n \"description\": \"AT-URI of specific record being tipped\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"amount\": {\n \"description\": \"Tip amount in cents (0 when recipient allows zero items)\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"ISO 4217 currency code\",\n \"maxLength\": 3,\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Tip status\",\n \"maxLength\": 64,\n \"type\": \"string\",\n \"enum\": [\"pending\", \"authorized\", \"completed\", \"failed\", \"refunded\"]\n },\n \"message\": {\n \"description\": \"Optional message (max 500 chars)\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000,\n \"type\": \"string\"\n },\n \"createdAt\": {\n \"description\": \"Creation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"completedAt\": {\n \"description\": \"Completion timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n }\n }\n }\n },\n \"id\": \"com.atiproto.item\",\n \"lexicon\": 1\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.profile\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"description\": \"A record representing a user's tipping/subscription settings\",\n \"key\": \"literal:self\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"createdAt\"],\n \"properties\": {\n \"acceptsItems\": {\n \"type\": \"boolean\",\n \"description\": \"Whether user accepts items (default: true)\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\",\n \"description\": \"Whether user accepts subscriptions (default: true)\"\n },\n \"disableReceiptNotifications\": {\n \"type\": \"boolean\",\n \"description\": \"Opt out of payment receipt DMs (default: false)\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Creation timestamp\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Last update timestamp\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"View of a user's profile settings for use in API responses\",\n \"required\": [\"uri\", \"createdAt\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the profile record\"\n },\n \"acceptsItems\": {\n \"type\": \"boolean\",\n \"description\": \"Whether user accepts items (default: true)\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\",\n \"description\": \"Whether user accepts subscriptions (default: true)\"\n },\n \"disableReceiptNotifications\": {\n \"type\": \"boolean\",\n \"description\": \"Opt out of payment receipt DMs (default: false)\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Creation timestamp\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Last update timestamp\"\n }\n }\n }\n }\n}\n","{\n \"defs\": {\n \"main\": {\n \"description\": \"A record representing a subscription from one user to another\",\n \"key\": \"any\",\n \"record\": {\n \"properties\": {\n \"subject\": {\n \"description\": \"DID of the user being subscribed to\",\n \"format\": \"did\",\n \"type\": \"string\"\n },\n \"amount\": {\n \"description\": \"Subscription amount in cents (0 for free subscriptions)\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"ISO 4217 currency code\",\n \"maxLength\": 3,\n \"type\": \"string\"\n },\n \"interval\": {\n \"description\": \"Billing interval\",\n \"maxLength\": 64,\n \"enum\": [\"monthly\", \"yearly\"],\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Subscription status\",\n \"maxLength\": 64,\n \"enum\": [\"pending\", \"active\", \"past_due\", \"cancelled\", \"expired\"],\n \"type\": \"string\"\n },\n \"billingStartDate\": {\n \"description\": \"First billing period, can be used to determine recurrence\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"cancelledAt\": {\n \"description\": \"Cancellation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"accessUntil\": {\n \"description\": \"Date until which the subscriber retains access after cancellation\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"createdAt\": {\n \"description\": \"Creation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"subject\",\n \"amount\",\n \"currency\",\n \"interval\",\n \"status\",\n \"billingStartDate\",\n \"createdAt\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"record\"\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"View of a subscription record for use in API responses\",\n \"required\": [\n \"uri\",\n \"amount\",\n \"currency\",\n \"interval\",\n \"status\",\n \"billingStartDate\",\n \"createdAt\"\n ],\n \"properties\": {\n \"uri\": {\n \"description\": \"AT-URI of the subscription record\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"subject\": {\n \"description\": \"DID of the user being subscribed to\",\n \"format\": \"did\",\n \"type\": \"string\"\n },\n \"amount\": {\n \"description\": \"Subscription amount in cents (0 for free subscriptions)\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"ISO 4217 currency code\",\n \"maxLength\": 3,\n \"type\": \"string\"\n },\n \"interval\": {\n \"description\": \"Billing interval\",\n \"maxLength\": 64,\n \"enum\": [\"monthly\", \"yearly\"],\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Subscription status\",\n \"maxLength\": 64,\n \"enum\": [\"pending\", \"active\", \"past_due\", \"cancelled\", \"expired\"],\n \"type\": \"string\"\n },\n \"billingStartDate\": {\n \"description\": \"First billing period, can be used to determine recurrence\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"renewalDate\": {\n \"description\": \"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).\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"cancelledAt\": {\n \"description\": \"Cancellation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"accessUntil\": {\n \"description\": \"Date until which the subscriber retains access after cancellation\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n },\n \"createdAt\": {\n \"description\": \"Creation timestamp\",\n \"format\": \"datetime\",\n \"type\": \"string\"\n }\n }\n }\n },\n \"id\": \"com.atiproto.subscription\",\n \"lexicon\": 1\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List items and subscriptions for the authenticated user. Always returns items given by the user and subscriptions the user has created.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"items\"],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"com.atiproto.item#view\",\n \"com.atiproto.subscription#view\"\n ]\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.clone\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Clone an existing cart, creating new item and subscription records. Useful for reopening expired carts or repeating payments.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart to clone\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URI to redirect to after checkout is complete/cancelled\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The new cart record\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the new cart record\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Checkout URL for the new cart\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n },\n \"description\": \"Newly created item records\"\n },\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n },\n \"description\": \"Newly created subscription records\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create a new empty cart\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"currency\"],\n \"properties\": {\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URI to redirect to after checkout is complete/cancelled\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The created cart record\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart record\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Checkout URL hosted by atiproto\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Get a specific cart sent by the authenticated user, including resolved item and subscription records. One of `uri`, `itemUri`, or `subscriptionUri` is required.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart record. Takes precedence over itemUri and subscriptionUri.\"\n },\n \"itemUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of an item record. Returns the cart that contains this item. Ignored if uri is provided.\"\n },\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a subscription record. Returns the cart that contains this subscription. Ignored if uri or itemUri is provided.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"cart\", \"items\", \"subscriptions\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Cart record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Cart record CID\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The cart record data\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Checkout URL, only present when cart status is open\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n },\n \"description\": \"Resolved item records referenced by this cart\"\n },\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n },\n \"description\": \"Resolved subscription records referenced by this cart\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List carts created by the authenticated user.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return carts whose items pay this recipient DID\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"enum\": [\"open\", \"completed\", \"expired\", \"abandoned\"],\n \"description\": \"Filter by cart status\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"default\": 20,\n \"minimum\": 1,\n \"maximum\": 100,\n \"description\": \"Results per page (1-100, default: 20)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"carts\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#cartResponse\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n },\n \"required\": [\"carts\"]\n }\n }\n },\n \"cartResponse\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"cid\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart record\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"CID of the cart record\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update a cart. Only open carts can be updated.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart to update\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Updated cart record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"New CID of the updated record\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create a item on a DID or specific record. Creates or adds to a cart and returns a checkout URL.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"amount\", \"currency\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the user being tipped\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of specific record being tipped\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Tip amount in cents\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of an existing cart to add this item to. If omitted, a new cart is created.\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URL to redirect to after checkout completes\"\n },\n \"message\": {\n \"type\": \"string\",\n \"description\": \"Optional message (max 500 chars)\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000\n },\n \"isPrivate\": {\n \"type\": \"boolean\",\n \"description\": \"If true, the recipient (subject) and recordUri are stored only in atiproto's private database and are omitted from the PDS item record.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"itemUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the item record in PDS\"\n },\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\",\n \"description\": \"The created item record (status: pending)\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart record in PDS\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The cart record (new or updated)\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Checkout URL hosted by atiproto\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"defs\": {\n \"main\": {\n \"description\": \"Get a specific item sent by the authenticated user. Looks up by item record uri, subject (recipient) DID, or record uri. These are mutually exclusive and resolved in that order.\",\n \"parameters\": {\n \"properties\": {\n \"uri\": {\n \"description\": \"AT-URI of the item record. Takes precedence over subject and recordUri.\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"subject\": {\n \"description\": \"DID of the item recipient. Takes precedence over recordUri.\",\n \"format\": \"did\",\n \"type\": \"string\"\n },\n \"recordUri\": {\n \"description\": \"AT-URI of the record being tipped. Ignored if uri or subject is provided.\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n }\n },\n \"type\": \"params\"\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"item\"],\n \"properties\": {\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\",\n \"description\": \"The item record data\"\n }\n }\n }\n },\n \"type\": \"query\"\n }\n },\n \"id\": \"com.atiproto.payment.item.get\",\n \"lexicon\": 1\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List items sent by the authenticated user\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return items sent to this recipient DID\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional: only return items for this specific record\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"items\"],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update a pending item. Only pending items can be updated.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the item record to update\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Updated item record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"New CID of the updated record\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.validate\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Validate that the authenticated user (as the sender) has completed item payment(s). Looks up by itemUri (a specific item record), recordUri (sums all items for that record), or subject (recipient DID). These are mutually exclusive and resolved in that order.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"itemUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a specific item record. Takes precedence over recordUri and subject.\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the record being tipped. Takes precedence over subject.\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the item recipient. Ignored if itemUri or recordUri is provided.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Expected item amount in cents. If omitted, only checks that a item exists.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"valid\"],\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the authed sender has completed and verified item(s)\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Sum of all verified completed item amounts in cents\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the items\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"maxLength\": 1024,\n \"description\": \"If invalid, reason for rejection\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.cancel\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Cancel an active subscription\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptionUri\"],\n \"properties\": {\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the subscription to cancel\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the updated subscription record\"\n },\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\",\n \"description\": \"Updated subscription record\"\n },\n \"accessUntil\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Timestamp when access expires\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create a subscription to a user. Returns a one-off cart with checkout URL.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"currency\", \"interval\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the user to subscribe to\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Custom amount in cents (if pay-as-you-want enabled)\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code\"\n },\n \"interval\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"enum\": [\"monthly\", \"yearly\"],\n \"description\": \"Billing interval\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of an existing cart to add this subscription to. If omitted, a new cart is created.\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URL to redirect to after checkout completes\"\n },\n \"isPrivate\": {\n \"type\": \"boolean\",\n \"description\": \"If true, the recipient (subject) is stored only in atiproto's private database and is omitted from the PDS subscription record.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the subscription record in PDS\"\n },\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\",\n \"description\": \"The created subscription record (status: pending)\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart record in PDS\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The created cart record (status: open)\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Checkout URL hosted by atiproto\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"defs\": {\n \"main\": {\n \"description\": \"Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence.\",\n \"parameters\": {\n \"properties\": {\n \"uri\": {\n \"description\": \"AT-URI of the subscription record. Takes precedence over subject.\",\n \"format\": \"at-uri\",\n \"type\": \"string\"\n },\n \"subject\": {\n \"description\": \"DID of the user being subscribed to. Ignored if uri is provided.\",\n \"format\": \"did\",\n \"type\": \"string\"\n }\n },\n \"type\": \"params\"\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscription\"],\n \"properties\": {\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\",\n \"description\": \"The subscription record data\"\n }\n }\n }\n },\n \"type\": \"query\"\n }\n },\n \"id\": \"com.atiproto.payment.subscription.get\",\n \"lexicon\": 1\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List subscriptions for the authenticated user\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptions\"],\n \"properties\": {\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update a pending subscription. Only pending subscriptions can be updated.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the subscription record to update\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Updated subscription record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"New CID of the updated record\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.validate\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a specific subscription record. Takes precedence over subject.\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the creator being subscribed to. Ignored if subscriptionUri is provided.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Expected subscription amount in cents. If omitted, only checks that a subscription exists.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"valid\"],\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the authed sender has an active, verified subscription\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Subscription amount in cents\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the subscription\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"maxLength\": 1024,\n \"description\": \"If invalid, reason for rejection\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.profile.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Get the authenticated user's profile settings. Returns defaults if no profile exists.\",\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"profile\", \"hasProfile\", \"readyForPayment\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Profile record URI (absent if no profile configured)\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Profile record CID (absent if no profile configured)\"\n },\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"The profile record data (defaults if not configured)\"\n },\n \"hasProfile\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user has saved a profile record\"\n },\n \"readyForPayment\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user's payment account is set up and enabled\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.profile.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create or update the authenticated user's profile settings\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"acceptsItems\": {\n \"type\": \"boolean\",\n \"description\": \"Enable accepting items\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\",\n \"description\": \"Enable accepting subscriptions\"\n },\n \"disableReceiptNotifications\": {\n \"type\": \"boolean\",\n \"description\": \"Opt out of payment receipt DMs\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Profile record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Profile record CID\"\n },\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"The profile record data\"\n },\n \"hasProfile\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user has saved a profile record\"\n },\n \"readyForPayment\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user's payment account is set up and enabled\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.cart.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart record. Takes precedence over itemUri and subscriptionUri.\"\n },\n \"itemUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of an item record received by the authed user. Returns the cart that contains this item. Ignored if uri is provided.\"\n },\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a subscription record received by the authed user. Returns the cart that contains this subscription. Ignored if uri or itemUri is provided.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"cart\", \"items\", \"subscriptions\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Cart record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Cart record CID\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The cart record data\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n },\n \"description\": \"Resolved item records in this cart that target the authed user\"\n },\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n },\n \"description\": \"Resolved subscription records in this cart that target the authed user\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.cart.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List carts whose items pay the authenticated user — i.e. carts targeting this user as a payment recipient. Read-only, no PDS writes.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return carts created by this sender DID\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"enum\": [\"open\", \"completed\", \"expired\", \"abandoned\"],\n \"description\": \"Filter by cart status\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"default\": 20,\n \"minimum\": 1,\n \"maximum\": 100,\n \"description\": \"Results per page (1-100, default: 20)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"carts\"],\n \"properties\": {\n \"carts\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#cartResponse\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n },\n \"cartResponse\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"cid\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the cart record\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"CID of the cart record\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.item.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the item record. Takes precedence over sender and recordUri.\"\n },\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the item sender. Takes precedence over recordUri.\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the record being tipped. Ignored if uri or sender is provided.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"item\"],\n \"properties\": {\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\",\n \"description\": \"The item record data\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.item.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return items sent by this DID\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional: only return items received for this specific record\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"items\"],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.item.validate\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"itemUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a specific item record. Takes precedence over recordUri and sender.\"\n },\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the record being tipped. Takes precedence over sender.\"\n },\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the item sender. Ignored if itemUri or recordUri is provided.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Expected item amount in cents. If omitted, only checks that a item exists.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"valid\"],\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether a sender has completed and verified item(s) to the authed recipient\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Sum of all verified completed item amounts in cents\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the items\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"maxLength\": 1024,\n \"description\": \"If invalid, reason for rejection\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.subscription.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the subscription record. Takes precedence over sender.\"\n },\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the subscriber. Ignored if uri is provided.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscription\"],\n \"properties\": {\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\",\n \"description\": \"The subscription record data\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.subscription.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptions\"],\n \"properties\": {\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.subscription.validate\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of a specific subscription record. Takes precedence over sender.\"\n },\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the subscriber. Ignored if subscriptionUri is provided.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Expected subscription amount in cents. If omitted, only checks that a subscription exists.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"valid\"],\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether a sender has an active, verified subscription to the authed recipient\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Subscription amount in cents\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the subscription\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"maxLength\": 1024,\n \"description\": \"If invalid, reason for rejection\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.item.count\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"recordUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the record being tipped. Takes precedence over subject.\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the item recipient. Ignored if recordUri is provided. If omitted (and recordUri is omitted), the query counts items sent by the authenticated user.\"\n },\n \"startDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count items completed at or after this timestamp\"\n },\n \"endDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count items completed at or before this timestamp\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"count\"],\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"description\": \"Number of active (completed) items matching the filter\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Sum of all item amounts in cents. Only returned when the authenticated user is the subject/owner of the target (or when counting their own sent items).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"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 items).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.profile.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Look up public profile information for any user\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"did\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the user to look up\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"did\", \"profile\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"User's DID\"\n },\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"Public profile data\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.subscription.count\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"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.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the user being subscribed to. If omitted, the query counts subscriptions the authenticated user has active as the subscriber.\"\n },\n \"startDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count subscriptions whose billingStartDate is at or after this timestamp\"\n },\n \"endDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count subscriptions whose billingStartDate is at or before this timestamp\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"count\"],\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"description\": \"Number of active subscriptions matching the filter\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"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).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"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).\"\n }\n }\n }\n }\n }\n }\n}\n","import type { LexiconDoc } from \"@atproto/lexicon\";\n\nimport Actions from \"./schemas/actions.json\";\nimport AuthEnhanced from \"./schemas/authEnhanced.json\";\nimport AuthGeneral from \"./schemas/authGeneral.json\";\nimport Cart from \"./schemas/cart.json\";\nimport Item from \"./schemas/item.json\";\nimport Profile from \"./schemas/profile.json\";\nimport Subscription from \"./schemas/subscription.json\";\n\nimport PaymentList from \"./schemas/payment/list.json\";\nimport PaymentCartClone from \"./schemas/payment/cart/clone.json\";\nimport PaymentCartCreate from \"./schemas/payment/cart/create.json\";\nimport PaymentCartGet from \"./schemas/payment/cart/get.json\";\nimport PaymentCartList from \"./schemas/payment/cart/list.json\";\nimport PaymentCartPut from \"./schemas/payment/cart/put.json\";\nimport PaymentItemCreate from \"./schemas/payment/item/create.json\";\nimport PaymentItemGet from \"./schemas/payment/item/get.json\";\nimport PaymentItemList from \"./schemas/payment/item/list.json\";\nimport PaymentItemPut from \"./schemas/payment/item/put.json\";\nimport PaymentItemValidate from \"./schemas/payment/item/validate.json\";\nimport PaymentSubscriptionCancel from \"./schemas/payment/subscription/cancel.json\";\nimport PaymentSubscriptionCreate from \"./schemas/payment/subscription/create.json\";\nimport PaymentSubscriptionGet from \"./schemas/payment/subscription/get.json\";\nimport PaymentSubscriptionList from \"./schemas/payment/subscription/list.json\";\nimport PaymentSubscriptionPut from \"./schemas/payment/subscription/put.json\";\nimport PaymentSubscriptionValidate from \"./schemas/payment/subscription/validate.json\";\n\nimport RecipientProfileGet from \"./schemas/recipient/profile/get.json\";\nimport RecipientProfilePut from \"./schemas/recipient/profile/put.json\";\nimport RecipientPaymentCartGet from \"./schemas/recipient/payment/cart/get.json\";\nimport RecipientPaymentCartList from \"./schemas/recipient/payment/cart/list.json\";\nimport RecipientPaymentItemGet from \"./schemas/recipient/payment/item/get.json\";\nimport RecipientPaymentItemList from \"./schemas/recipient/payment/item/list.json\";\nimport RecipientPaymentItemValidate from \"./schemas/recipient/payment/item/validate.json\";\nimport RecipientPaymentSubscriptionGet from \"./schemas/recipient/payment/subscription/get.json\";\nimport RecipientPaymentSubscriptionList from \"./schemas/recipient/payment/subscription/list.json\";\nimport RecipientPaymentSubscriptionValidate from \"./schemas/recipient/payment/subscription/validate.json\";\n\nimport RepoItemCount from \"./schemas/repo/item/count.json\";\nimport RepoProfileGet from \"./schemas/repo/profile/get.json\";\nimport RepoSubscriptionCount from \"./schemas/repo/subscription/count.json\";\n\nexport const schemas: LexiconDoc[] = [\n Actions,\n AuthEnhanced,\n AuthGeneral,\n Cart,\n Item,\n Profile,\n Subscription,\n\n PaymentList,\n PaymentCartClone,\n PaymentCartCreate,\n PaymentCartGet,\n PaymentCartList,\n PaymentCartPut,\n PaymentItemCreate,\n PaymentItemGet,\n PaymentItemList,\n PaymentItemPut,\n PaymentItemValidate,\n PaymentSubscriptionCancel,\n PaymentSubscriptionCreate,\n PaymentSubscriptionGet,\n PaymentSubscriptionList,\n PaymentSubscriptionPut,\n PaymentSubscriptionValidate,\n\n RecipientProfileGet,\n RecipientProfilePut,\n RecipientPaymentCartGet,\n RecipientPaymentCartList,\n RecipientPaymentItemGet,\n RecipientPaymentItemList,\n RecipientPaymentItemValidate,\n RecipientPaymentSubscriptionGet,\n RecipientPaymentSubscriptionList,\n RecipientPaymentSubscriptionValidate,\n\n RepoItemCount,\n RepoProfileGet,\n RepoSubscriptionCount,\n] as LexiconDoc[];\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,SAAS,SAAS;AAElB,IAAM,QAAQ;AA6Bd,IAAM,SAAS,E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;AAAA,MACR,aAAe;AAAA,MACf,YAAc;AAAA,QACZ,MAAQ;AAAA,QACR,YAAc;AAAA,UACZ,SAAW;AAAA,YACT,MAAQ;AAAA,YACR,QAAU;AAAA,YACV,aAAe;AAAA,UACjB;AAAA,UACA,WAAa;AAAA,YACX,MAAQ;AAAA,YACR,QAAU;AAAA,YACV,aAAe;AAAA,UACjB;AAAA,UACA,SAAW;AAAA,YACT,MAAQ;AAAA,YACR,QAAU;AAAA,YACV,aAAe;AAAA,UACjB;AAAA,QACF;AAAA,MACF;AAAA,MACA,QAAU;AAAA,QACR,UAAY;AAAA,QACZ,QAAU;AAAA,UACR,MAAQ;AAAA,UACR,UAAY,CAAC,OAAO;AAAA,UACpB,YAAc;AAAA,YACZ,OAAS;AAAA,cACP,MAAQ;AAAA,cACR,aAAe;AAAA,YACjB;AAAA,YACA,QAAU;AAAA,cACR,MAAQ;AAAA,cACR,aAAe;AAAA,YACjB;AAAA,YACA,UAAY;AAAA,cACV,MAAQ;AAAA,cACR,WAAa;AAAA,cACb,aAAe;AAAA,YACjB;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;;;ACRO,IAAM,UAAwB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACAC;AAAA,EACA;AAAA,EACAC;AAAA,EACAC;AAAA,EACAF;AAAA,EACAG;AAAA,EACA;AAAA,EACA;AAAA,EACAF;AAAA,EACAC;AAAA,EACAF;AAAA,EACAG;AAAA,EACAC;AAAA,EAEAF;AAAA,EACAC;AAAA,EACAD;AAAA,EACAF;AAAA,EACAE;AAAA,EACAF;AAAA,EACAI;AAAA,EACAF;AAAA,EACAF;AAAA,EACAI;AAAA,EAEA;AAAA,EACAF;AAAA,EACAG;AACF;","names":["subscription_exports","$nsid","$nsid","l","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","main","l","$nsid","l","$nsid","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","cart_exports","item_exports","list_exports","cart_exports","$nsid","main","$nsid","main","l","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","$nsid","main","l","$nsid","view","main","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$output","l","$nsid","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","item_exports","create_exports","get_exports","list_exports","put_exports","create_exports","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","create_exports","get_exports","list_exports","put_exports","validate_exports","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","create_exports","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","validate_exports","validate_defs_exports","$lxm","$nsid","$output","$params","main","validate_defs_exports","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","payment_exports","profile_exports","payment_exports","cart_exports","item_exports","subscription_exports","cart_exports","get_exports","list_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","cartResponse","main","list_defs_exports","$lxm","$nsid","$output","$params","cartResponse","main","l","$nsid","main","l","$nsid","cartResponse","$lxm","main","$params","$output","cartResponse","l","$nsid","item_exports","get_exports","list_exports","validate_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","validate_exports","validate_defs_exports","$lxm","$nsid","$output","$params","main","validate_defs_exports","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","subscription_exports","get_exports","list_exports","validate_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","validate_exports","validate_defs_exports","$lxm","$nsid","$output","$params","main","validate_defs_exports","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","profile_exports","get_exports","put_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","item_exports","profile_exports","subscription_exports","item_exports","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","profile_exports","get_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","subscription_exports","count_exports","count_exports","count_defs_exports","$lxm","$nsid","$output","$params","main","count_defs_exports","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","subscription_exports","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","list_default","create_default","get_default","list_default","put_default","create_default","get_default","list_default","put_default","validate_default","get_default","put_default","get_default","list_default","get_default","list_default","validate_default","get_default","list_default","validate_default","get_default","count_default","list_default","create_default","get_default","put_default","validate_default","count_default"]}
|
|
1
|
+
{"version":3,"sources":["../src/lexicons/com.ts","../src/lexicons/com/atiproto.ts","../src/lexicons/com/atiproto/actions.ts","../src/lexicons/com/atiproto/actions.defs.ts","../src/lexicons/com/atiproto/authCreateCart.ts","../src/lexicons/com/atiproto/authCreateCart.defs.ts","../src/lexicons/com/atiproto/authCreatePayment.ts","../src/lexicons/com/atiproto/authCreatePayment.defs.ts","../src/lexicons/com/atiproto/authReadCart.ts","../src/lexicons/com/atiproto/authReadCart.defs.ts","../src/lexicons/com/atiproto/authReadEntitlements.ts","../src/lexicons/com/atiproto/authReadEntitlements.defs.ts","../src/lexicons/com/atiproto/authReadPayments.ts","../src/lexicons/com/atiproto/authReadPayments.defs.ts","../src/lexicons/com/atiproto/authReadPublic.ts","../src/lexicons/com/atiproto/authReadPublic.defs.ts","../src/lexicons/com/atiproto/authReadRecipient.ts","../src/lexicons/com/atiproto/authReadRecipient.defs.ts","../src/lexicons/com/atiproto/authWriteProfile.ts","../src/lexicons/com/atiproto/authWriteProfile.defs.ts","../src/lexicons/com/atiproto/cart.ts","../src/lexicons/com/atiproto/cart.defs.ts","../src/lexicons/com/atproto/repo/strongRef.defs.ts","../src/lexicons/network/attested/signature.defs.ts","../src/lexicons/com/atiproto/item.ts","../src/lexicons/com/atiproto/item.defs.ts","../src/lexicons/com/atiproto/payment.ts","../src/lexicons/com/atiproto/payment/cart.ts","../src/lexicons/com/atiproto/payment/cart/checkout.ts","../src/lexicons/com/atiproto/payment/cart/checkout.defs.ts","../src/lexicons/network/attested/payment/initiate.defs.ts","../src/lexicons/com/atiproto/payment/cart/create.ts","../src/lexicons/com/atiproto/payment/cart/create.defs.ts","../src/lexicons/com/atiproto/payment/cart/get.ts","../src/lexicons/com/atiproto/payment/cart/get.defs.ts","../src/lexicons/com/atiproto/subscription.defs.ts","../src/lexicons/com/atiproto/payment/cart/list.ts","../src/lexicons/com/atiproto/payment/cart/list.defs.ts","../src/lexicons/com/atiproto/payment/cart/put.ts","../src/lexicons/com/atiproto/payment/cart/put.defs.ts","../src/lexicons/com/atiproto/payment/item.ts","../src/lexicons/com/atiproto/payment/item/create.ts","../src/lexicons/com/atiproto/payment/item/create.defs.ts","../src/lexicons/com/atiproto/payment/item/get.ts","../src/lexicons/com/atiproto/payment/item/get.defs.ts","../src/lexicons/com/atiproto/payment/item/list.ts","../src/lexicons/com/atiproto/payment/item/list.defs.ts","../src/lexicons/com/atiproto/payment/item/put.ts","../src/lexicons/com/atiproto/payment/item/put.defs.ts","../src/lexicons/com/atiproto/payment/subscription.ts","../src/lexicons/com/atiproto/payment/subscription/cancel.ts","../src/lexicons/com/atiproto/payment/subscription/cancel.defs.ts","../src/lexicons/com/atiproto/payment/subscription/create.ts","../src/lexicons/com/atiproto/payment/subscription/create.defs.ts","../src/lexicons/com/atiproto/payment/subscription/get.ts","../src/lexicons/com/atiproto/payment/subscription/get.defs.ts","../src/lexicons/com/atiproto/payment/subscription/list.ts","../src/lexicons/com/atiproto/payment/subscription/list.defs.ts","../src/lexicons/com/atiproto/payment/subscription/put.ts","../src/lexicons/com/atiproto/payment/subscription/put.defs.ts","../src/lexicons/com/atiproto/profile.ts","../src/lexicons/com/atiproto/profile.defs.ts","../src/lexicons/com/atiproto/recipient.ts","../src/lexicons/com/atiproto/recipient/payment.ts","../src/lexicons/com/atiproto/recipient/payment/cart.ts","../src/lexicons/com/atiproto/recipient/payment/cart/get.ts","../src/lexicons/com/atiproto/recipient/payment/cart/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/cart/list.ts","../src/lexicons/com/atiproto/recipient/payment/cart/list.defs.ts","../src/lexicons/com/atiproto/recipient/payment/item.ts","../src/lexicons/com/atiproto/recipient/payment/item/get.ts","../src/lexicons/com/atiproto/recipient/payment/item/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/item/list.ts","../src/lexicons/com/atiproto/recipient/payment/item/list.defs.ts","../src/lexicons/com/atiproto/recipient/payment/subscription.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/get.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/get.defs.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/list.ts","../src/lexicons/com/atiproto/recipient/payment/subscription/list.defs.ts","../src/lexicons/com/atiproto/recipient/profile.ts","../src/lexicons/com/atiproto/recipient/profile/get.ts","../src/lexicons/com/atiproto/recipient/profile/get.defs.ts","../src/lexicons/com/atiproto/recipient/profile/put.ts","../src/lexicons/com/atiproto/recipient/profile/put.defs.ts","../src/lexicons/com/atiproto/repo.ts","../src/lexicons/com/atiproto/repo/item.ts","../src/lexicons/com/atiproto/repo/item/count.ts","../src/lexicons/com/atiproto/repo/item/count.defs.ts","../src/lexicons/com/atiproto/repo/profile.ts","../src/lexicons/com/atiproto/repo/profile/get.ts","../src/lexicons/com/atiproto/repo/profile/get.defs.ts","../src/lexicons/com/atiproto/repo/subscription.ts","../src/lexicons/com/atiproto/repo/subscription/count.ts","../src/lexicons/com/atiproto/repo/subscription/count.defs.ts","../src/lexicons/com/atiproto/subscription.ts","../src/lexicons/com/atproto.ts","../src/lexicons/com/atproto/repo.ts","../src/lexicons/com/atproto/repo/strongRef.ts","../src/lexicons/network.ts","../src/lexicons/network/attested.ts","../src/lexicons/network/attested/entitlement.ts","../src/lexicons/network/attested/entitlement.defs.ts","../src/lexicons/network/attested/payment.ts","../src/lexicons/network/attested/payment/initiate.ts","../src/lexicons/network/attested/payment/status.ts","../src/lexicons/network/attested/payment/status.defs.ts","../src/lexicons/network/attested/payment.defs.ts","../src/lexicons/network/attested/proof.ts","../src/lexicons/network/attested/proof.defs.ts","../src/lexicons/network/attested/signature.ts","../src/lexicons/network/attested/verify.ts","../src/lexicons/network/attested/verify.defs.ts","../src/schemas/actions.json","../src/schemas/authReadEntitlements.json","../src/schemas/authReadCart.json","../src/schemas/authReadPayments.json","../src/schemas/authReadPublic.json","../src/schemas/authCreateCart.json","../src/schemas/authCreatePayment.json","../src/schemas/authReadRecipient.json","../src/schemas/authWriteProfile.json","../src/schemas/cart.json","../src/schemas/item.json","../src/schemas/profile.json","../src/schemas/subscription.json","../src/schemas/payment/cart/checkout.json","../src/schemas/payment/cart/create.json","../src/schemas/payment/cart/get.json","../src/schemas/payment/cart/list.json","../src/schemas/payment/cart/put.json","../src/schemas/payment/item/create.json","../src/schemas/payment/item/get.json","../src/schemas/payment/item/list.json","../src/schemas/payment/item/put.json","../src/schemas/payment/subscription/cancel.json","../src/schemas/payment/subscription/create.json","../src/schemas/payment/subscription/get.json","../src/schemas/payment/subscription/list.json","../src/schemas/payment/subscription/put.json","../src/schemas/recipient/profile/get.json","../src/schemas/recipient/profile/put.json","../src/schemas/recipient/payment/cart/get.json","../src/schemas/recipient/payment/cart/list.json","../src/schemas/recipient/payment/item/get.json","../src/schemas/recipient/payment/item/list.json","../src/schemas/recipient/payment/subscription/get.json","../src/schemas/recipient/payment/subscription/list.json","../src/schemas/repo/item/count.json","../src/schemas/repo/profile/get.json","../src/schemas/repo/subscription/count.json","../src/associated-schemas/strongRef.json","../src/associated-schemas/signature.json","../src/associated-schemas/proof.json","../src/associated-schemas/payment.json","../src/associated-schemas/entitlement.json","../src/associated-schemas/payment/initiate.json","../src/associated-schemas/payment/status.json","../src/associated-schemas/verify.json","../src/schemas.ts"],"sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as atiproto from './com/atiproto.js'\nexport * as atproto from './com/atproto.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as actions from './atiproto/actions.js'\nexport * as authCreateCart from './atiproto/authCreateCart.js'\nexport * as authCreatePayment from './atiproto/authCreatePayment.js'\nexport * as authReadCart from './atiproto/authReadCart.js'\nexport * as authReadEntitlements from './atiproto/authReadEntitlements.js'\nexport * as authReadPayments from './atiproto/authReadPayments.js'\nexport * as authReadPublic from './atiproto/authReadPublic.js'\nexport * as authReadRecipient from './atiproto/authReadRecipient.js'\nexport * as authWriteProfile from './atiproto/authWriteProfile.js'\nexport * as cart from './atiproto/cart.js'\nexport * as item from './atiproto/item.js'\nexport * as payment from './atiproto/payment.js'\nexport * as profile from './atiproto/profile.js'\nexport * as recipient from './atiproto/recipient.js'\nexport * as repo from './atiproto/repo.js'\nexport * as subscription from './atiproto/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './actions.defs.js'\nexport * as $defs from './actions.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.actions'\n\nexport { $nsid }\n\n/** Instructs the agent to call com.atproto.repo.createRecord on the user's PDS. */\ntype Create = {\n $type?: 'com.atiproto.actions#create'\n\n /**\n * DID of the repo to write to. The PDS auth check is the source of truth for whether the write is allowed.\n */\n repo: l.DidString\n\n /**\n * Server-assigned name for this action; echoed back on the corresponding response so the server can correlate.\n */\n name: string\n collection: l.NsidString\n\n /**\n * Optional. When omitted (the default), the PDS generates the rkey and returns the resulting URI on the response. Server-assigned rkeys are reserved for fixed-rkey records like com.atiproto.profile/self.\n */\n rkey?: string\n record: l.LexMap\n}\n\nexport type { Create }\n\n/** Instructs the agent to call com.atproto.repo.createRecord on the user's PDS. */\nconst create = l.typedObject<Create>(\n $nsid,\n 'create',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.optional(l.string({ maxLength: 128 })),\n record: l.lexMap(),\n }),\n)\n\nexport { create }\n\n/** Instructs the agent to call com.atproto.repo.putRecord on the user's PDS. */\ntype Update = {\n $type?: 'com.atiproto.actions#update'\n repo: l.DidString\n name: string\n collection: l.NsidString\n rkey: string\n record: l.LexMap\n swapCommit?: l.CidString\n}\n\nexport type { Update }\n\n/** Instructs the agent to call com.atproto.repo.putRecord on the user's PDS. */\nconst update = l.typedObject<Update>(\n $nsid,\n 'update',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.string({ maxLength: 128 }),\n record: l.lexMap(),\n swapCommit: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { update }\n\n/** Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS. */\ntype Delete$0 = {\n $type?: 'com.atiproto.actions#delete'\n repo: l.DidString\n name: string\n collection: l.NsidString\n rkey: string\n swapCommit?: l.CidString\n}\n\nexport type { Delete$0 as Delete }\n\n/** Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS. */\nconst delete$0 = l.typedObject<Delete$0>(\n $nsid,\n 'delete',\n l.object({\n repo: l.string({ format: 'did' }),\n name: l.string({ maxLength: 64 }),\n collection: l.string({ format: 'nsid' }),\n rkey: l.string({ maxLength: 128 }),\n swapCommit: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { delete$0 as 'delete' }\n\n/** Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed. */\ntype Raise = {\n $type?: 'com.atiproto.actions#raise'\n message: string\n code?: string\n}\n\nexport type { Raise }\n\n/** Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed. */\nconst raise = l.typedObject<Raise>(\n $nsid,\n 'raise',\n l.object({\n message: l.string({ maxLength: 1024 }),\n code: l.optional(l.string({ maxLength: 64 })),\n }),\n)\n\nexport { raise }\n\n/** Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference. */\ntype Response = {\n $type?: 'com.atiproto.actions#response'\n action: 'create' | 'update' | 'delete' | l.UnknownString\n name: string\n result: RecordResult\n}\n\nexport type { Response }\n\n/** Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference. */\nconst response = l.typedObject<Response>(\n $nsid,\n 'response',\n l.object({\n action: l.string<{\n maxLength: 32\n knownValues: ['create', 'update', 'delete']\n }>({ maxLength: 32 }),\n name: l.string({ maxLength: 64 }),\n result: l.ref<RecordResult>((() => recordResult) as any),\n }),\n)\n\nexport { response }\n\ntype RecordResult = {\n $type?: 'com.atiproto.actions#recordResult'\n uri: l.AtUriString\n\n /**\n * Present on create/update responses; absent on delete (the record is gone).\n */\n cid?: l.CidString\n}\n\nexport type { RecordResult }\n\nconst recordResult = l.typedObject<RecordResult>(\n $nsid,\n 'recordResult',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\n\nexport { recordResult }\n\n/** Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise. */\ntype Error = {\n $type?: 'com.atiproto.actions#error'\n\n /**\n * The verb of the action that failed (create/update/delete).\n */\n action: string\n name?: string\n message: string\n code?: string\n}\n\nexport type { Error }\n\n/** Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise. */\nconst error = l.typedObject<Error>(\n $nsid,\n 'error',\n l.object({\n action: l.string({ maxLength: 32 }),\n name: l.optional(l.string({ maxLength: 64 })),\n message: l.string({ maxLength: 1024 }),\n code: l.optional(l.string({ maxLength: 64 })),\n }),\n)\n\nexport { error }\n\n/** Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \"error\" after an action failure. */\ntype InboundWorkflow = {\n $type?: 'com.atiproto.actions#inboundWorkflow'\n intent: string\n responses: Response[]\n error?: Error\n}\n\nexport type { InboundWorkflow }\n\n/** Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \"error\" after an action failure. */\nconst inboundWorkflow = l.typedObject<InboundWorkflow>(\n $nsid,\n 'inboundWorkflow',\n l.object({\n intent: l.string({ maxLength: 64 }),\n responses: l.array(l.ref<Response>((() => response) as any)),\n error: l.optional(l.ref<Error>((() => error) as any)),\n }),\n)\n\nexport { inboundWorkflow }\n\n/** Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`. */\ntype OutboundWorkflow = {\n $type?: 'com.atiproto.actions#outboundWorkflow'\n intent: string\n actions: (\n | l.$Typed<Create>\n | l.$Typed<Update>\n | l.$Typed<Delete$0>\n | l.$Typed<Raise>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { OutboundWorkflow }\n\n/** Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`. */\nconst outboundWorkflow = l.typedObject<OutboundWorkflow>(\n $nsid,\n 'outboundWorkflow',\n l.object({\n intent: l.string({ maxLength: 64 }),\n actions: l.array(\n l.typedUnion(\n [\n l.typedRef<Create>((() => create) as any),\n l.typedRef<Update>((() => update) as any),\n l.typedRef<Delete$0>((() => delete$0) as any),\n l.typedRef<Raise>((() => raise) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { outboundWorkflow }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authCreateCart.defs.js'\nexport * as $defs from './authCreateCart.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authCreateCart'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', {\n collection: [\n 'com.atiproto.cart',\n 'com.atiproto.item',\n 'com.atiproto.subscription',\n ],\n }),\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.payment.cart.create',\n 'com.atiproto.payment.cart.put',\n 'com.atiproto.payment.item.create',\n 'com.atiproto.payment.item.put',\n 'com.atiproto.payment.subscription.create',\n 'com.atiproto.payment.subscription.put',\n 'com.atiproto.payment.subscription.cancel',\n ],\n }),\n ],\n {\n title: 'Create Cart',\n detail:\n 'Create and update carts, items, and subscriptions on the PoS. Grants the PoS-side write endpoints plus the repo collections the corresponding records live in.',\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authCreatePayment.defs.js'\nexport * as $defs from './authCreatePayment.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authCreatePayment'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', {\n collection: [\n 'com.atiproto.cart',\n 'com.atiproto.item',\n 'com.atiproto.subscription',\n 'network.attested.entitlement',\n ],\n }),\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'network.attested.payment.initiate',\n 'network.attested.payment.status',\n 'com.atiproto.payment.cart.checkout',\n 'com.atiproto.payment.cart.put',\n ],\n }),\n ],\n {\n title: 'Create Payment',\n detail:\n \"Initiate broker payments and run the PoS checkout flow. Grants `network.attested.payment.initiate` / `status`, plus the PoS endpoints that drive checkout (cart.checkout / cart.put), and repo write on the records the checkout flow lands on the payer's PDS (cart, item, subscription, stripped entitlement).\",\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authReadCart.defs.js'\nexport * as $defs from './authReadCart.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authReadCart'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', {\n collection: [\n 'com.atiproto.cart',\n 'com.atiproto.item',\n 'com.atiproto.subscription',\n ],\n }),\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.payment.cart.get',\n 'com.atiproto.payment.cart.list',\n 'com.atiproto.payment.item.get',\n 'com.atiproto.payment.item.list',\n 'com.atiproto.payment.subscription.get',\n 'com.atiproto.payment.subscription.list',\n ],\n }),\n ],\n {\n title: 'Read Cart',\n detail:\n \"Read access to the authenticated user's carts and their line items (one-time items and subscriptions). Grants the PoS hydration endpoints plus the repo collections the records live in so callers can read the source records directly.\",\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authReadEntitlements.defs.js'\nexport * as $defs from './authReadEntitlements.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authReadEntitlements'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [l.permission('rpc', { aud: '*', lxm: ['network.attested.verify'] })],\n {\n title: 'Read Entitlements',\n detail:\n 'Verify signed entitlements (and any other `network.attested.*` record) via `network.attested.verify`. Read-only.',\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authReadPayments.defs.js'\nexport * as $defs from './authReadPayments.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authReadPayments'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('rpc', {\n aud: '*',\n lxm: ['network.attested.payment.status', 'network.attested.verify'],\n }),\n ],\n {\n title: 'Read Payments',\n detail:\n 'Look up broker payment records, attestation proofs, and verify signed records via `network.attested.*`. Read-only.',\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authReadPublic.defs.js'\nexport * as $defs from './authReadPublic.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authReadPublic'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.repo.profile.get',\n 'com.atiproto.repo.item.count',\n 'com.atiproto.repo.subscription.count',\n ],\n }),\n ],\n {\n title: 'Read Public',\n detail:\n \"Public, unauthenticated-equivalent lookups: any user's profile, plus completed-item and active-subscription counters. Read-only; no repo writes.\",\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authReadRecipient.defs.js'\nexport * as $defs from './authReadRecipient.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authReadRecipient'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('rpc', {\n aud: '*',\n lxm: [\n 'com.atiproto.recipient.payment.cart.get',\n 'com.atiproto.recipient.payment.cart.list',\n 'com.atiproto.recipient.payment.item.get',\n 'com.atiproto.recipient.payment.item.list',\n 'com.atiproto.recipient.payment.subscription.get',\n 'com.atiproto.recipient.payment.subscription.list',\n 'com.atiproto.recipient.profile.get',\n ],\n }),\n ],\n {\n title: 'Read Recipient',\n detail:\n \"Read access to the authenticated user's incoming carts, items, and subscriptions, plus their own profile. Read-only; no repo writes. Public profile lookup and item / subscription counts live in `com.atiproto.authReadPublic`.\",\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './authWriteProfile.defs.js'\nexport * as $defs from './authWriteProfile.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.authWriteProfile'\n\nexport { $nsid }\n\nconst main = l.permissionSet(\n $nsid,\n [\n l.permission('repo', { collection: ['com.atiproto.profile'] }),\n l.permission('rpc', {\n aud: '*',\n lxm: ['com.atiproto.recipient.profile.put'],\n }),\n ],\n {\n title: 'Write Profile',\n detail:\n \"Update the authenticated user's payment profile. Grants the PoS-side `recipient.profile.put` endpoint plus repo write on the `com.atiproto.profile` collection.\",\n },\n)\n\nexport { main }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './cart.defs.js'\nexport * as $defs from './cart.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../atproto/repo/strongRef.defs.js'\nimport * as AttestedSignature from '../../network/attested/signature.defs.js'\n\nconst $nsid = 'com.atiproto.cart'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'com.atiproto.cart'\n\n /**\n * DID of the recipient. Absent (null) when marked as private.\n */\n subject?: l.DidString\n\n /**\n * Cart line items. Each is a strongRef to a `com.atiproto.item` or `com.atiproto.subscription` record (the at-uri's collection segment identifies which). Empty (or absent) when marked as private.\n */\n items: RepoStrongRef.Main[]\n\n /**\n * ISO 4217 currency code.\n */\n currency: string\n\n /**\n * Total amount in the smallest unit of `currency`.\n */\n total?: number\n\n /**\n * Lifecycle state of the cart. When `payment` is present, the AppView snapshots the broker payment's status here (pending / completed / failed / refunded / cancelled). Before a payment is attached the cart's own lifecycle states apply (open / expired / abandoned). After fulfillment, the AppView (or merchant integration) advances to `fulfilled` to mark delivery. Open to extension via `knownValues` rather than a hard enum.\n */\n status:\n | 'open'\n | 'expired'\n | 'abandoned'\n | 'pending'\n | 'completed'\n | 'failed'\n | 'refunded'\n | 'cancelled'\n | 'fulfilled'\n | l.UnknownString\n createdAt?: l.DatetimeString\n expiresAt?: l.DatetimeString\n completedAt?: l.DatetimeString\n\n /**\n * StrongRef to the `network.attested.payment` record settling this cart. Set during checkout (or attached after the fact via `payment.cart.put`). Only the PoS can validate this field, so it is not writable via `com.atproto.repo.putRecord`.\n */\n payment?: RepoStrongRef.Main\n\n /**\n * Recipient AppView attestation(s). The AppView writes and updates its own cart records directly and signs them so the PoS can trust the validated state. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `items`, `currency`, `status`, plus `subject`, `total`, `createdAt`, `expiresAt`, `completedAt`, and `payment` when present. Mutating any of those fields invalidates every signature in this array.\n */\n signatures?: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(l.string({ format: 'did' })),\n items: l.array(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n currency: l.string({ maxLength: 3 }),\n total: l.optional(l.integer()),\n status: l.string<{\n maxLength: 64\n knownValues: [\n 'open',\n 'expired',\n 'abandoned',\n 'pending',\n 'completed',\n 'failed',\n 'refunded',\n 'cancelled',\n 'fulfilled',\n ]\n }>({ maxLength: 64 }),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n payment: l.optional(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n signatures: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** Hydrated cart view returned by PoS get endpoints. */\ntype View = {\n $type?: 'com.atiproto.cart#view'\n uri: l.AtUriString\n cid?: l.CidString\n subject?: l.DidString\n items: RepoStrongRef.Main[]\n currency: string\n total?: number\n status:\n | 'open'\n | 'expired'\n | 'abandoned'\n | 'pending'\n | 'completed'\n | 'failed'\n | 'refunded'\n | 'cancelled'\n | 'fulfilled'\n | l.UnknownString\n createdAt?: l.DatetimeString\n expiresAt?: l.DatetimeString\n completedAt?: l.DatetimeString\n payment?: RepoStrongRef.Main\n signatures?: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { View }\n\n/** Hydrated cart view returned by PoS get endpoints. */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n subject: l.optional(l.string({ format: 'did' })),\n items: l.array(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n currency: l.string({ maxLength: 3 }),\n total: l.optional(l.integer()),\n status: l.string<{\n maxLength: 64\n knownValues: [\n 'open',\n 'expired',\n 'abandoned',\n 'pending',\n 'completed',\n 'failed',\n 'refunded',\n 'cancelled',\n 'fulfilled',\n ]\n }>({ maxLength: 64 }),\n createdAt: l.optional(l.string({ format: 'datetime' })),\n expiresAt: l.optional(l.string({ format: 'datetime' })),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n payment: l.optional(\n l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ),\n signatures: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n ),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atproto.repo.strongRef'\n\nexport { $nsid }\n\ntype Main = {\n $type?: 'com.atproto.repo.strongRef'\n cid: l.CidString\n uri: l.AtUriString\n}\n\nexport type { Main }\n\nconst main = l.typedObject<Main>(\n $nsid,\n 'main',\n l.object({\n cid: l.string({ format: 'cid' }),\n uri: l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'network.attested.signature'\n\nexport { $nsid }\n\ntype Main = {\n $type?: 'network.attested.signature'\n\n /**\n * did:key public-key reference used to verify this signature.\n */\n key: string\n\n /**\n * CID of the canonical signing payload (the record with `signatures` stripped, `$sig` metadata inserted including the repository DID, DAG-CBOR encoded, SHA-256 wrapped as CIDv1).\n */\n cid: l.CidString\n\n /**\n * Normalized ECDSA signature bytes over the CID. Curve is inferred from `key` (P-256, P-384, or K-256). Serialized as `{ \"$bytes\": \"<base64>\" }` per lex bytes encoding.\n */\n signature: Uint8Array\n\n /**\n * Optional. DID of the issuing party. Useful when `key` does not directly identify the issuer.\n */\n issuer?: l.DidString\n\n /**\n * Optional. When the signature was produced.\n */\n issuedAt?: l.DatetimeString\n\n /**\n * Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).\n */\n role?: 'broker' | 'pos' | 'appview' | 'co-signer' | l.UnknownString\n}\n\nexport type { Main }\n\nconst main = l.typedObject<Main>(\n $nsid,\n 'main',\n l.object({\n key: l.string({ maxLength: 256 }),\n cid: l.string({ format: 'cid' }),\n signature: l.bytes({ maxLength: 256 }),\n issuer: l.optional(l.string({ format: 'did' })),\n issuedAt: l.optional(l.string({ format: 'datetime' })),\n role: l.optional(\n l.string<{\n maxLength: 64\n knownValues: ['broker', 'pos', 'appview', 'co-signer']\n }>({ maxLength: 64 }),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './item.defs.js'\nexport * as $defs from './item.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../atproto/repo/strongRef.defs.js'\nimport * as AttestedSignature from '../../network/attested/signature.defs.js'\n\nconst $nsid = 'com.atiproto.item'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'com.atiproto.item'\n\n /**\n * Reference to the entity being paid for. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a post) or a `#userRef` (a thin wrapper carrying a did string for the user being paid). Absent when marked as private.\n */\n subject?:\n | l.$Typed<RepoStrongRef.Main>\n | l.$Typed<UserRef>\n | l.Unknown$TypedObject\n\n /**\n * Per-unit amount in the smallest unit of the cart's `currency` (0 when the recipient permits zero-value items). Multiply by `quantity` for the line total.\n */\n amount: number\n\n /**\n * Number of units of this item. Defaults to 1.\n */\n quantity: number\n\n /**\n * Implementation-defined status string. PoS does not enforce or interpret this value; payment / cart state lives on the cart's `status` field.\n */\n status: string\n\n /**\n * Optional message attached to the item.\n */\n message?: string\n createdAt: l.DatetimeString\n completedAt?: l.DatetimeString\n\n /**\n * PoS + recipient AppView attestations. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `amount`, `quantity`, `status`, `createdAt`, plus `subject`, `message`, and `completedAt` when present. Mutating any of those fields invalidates every signature in this array.\n */\n signatures: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(\n l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<UserRef>((() => userRef) as any),\n ],\n false,\n ),\n ),\n amount: l.integer({ minimum: 0 }),\n quantity: l.withDefault(l.integer({ minimum: 1 }), 1),\n status: l.string({ maxLength: 64 }),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\ntype View = {\n $type?: 'com.atiproto.item#view'\n uri: l.AtUriString\n cid?: l.CidString\n subject?:\n | l.$Typed<RepoStrongRef.Main>\n | l.$Typed<UserRef>\n | l.Unknown$TypedObject\n amount: number\n quantity: number\n status: string\n message?: string\n createdAt: l.DatetimeString\n completedAt?: l.DatetimeString\n signatures?: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { View }\n\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n subject: l.optional(\n l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<UserRef>((() => userRef) as any),\n ],\n false,\n ),\n ),\n amount: l.integer({ minimum: 0 }),\n quantity: l.withDefault(l.integer({ minimum: 1 }), 1),\n status: l.string({ maxLength: 64 }),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n signatures: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n ),\n }),\n)\n\nexport { view }\n\n/** Thin wrapper that carries a bare did string for the user being paid. The wire shape is `{ \"$type\": \"com.atiproto.item#userRef\", \"did\": \"did:plc:...\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or. */\ntype UserRef = { $type?: 'com.atiproto.item#userRef'; did: l.DidString }\n\nexport type { UserRef }\n\n/** Thin wrapper that carries a bare did string for the user being paid. The wire shape is `{ \"$type\": \"com.atiproto.item#userRef\", \"did\": \"did:plc:...\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or. */\nconst userRef = l.typedObject<UserRef>(\n $nsid,\n 'userRef',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { userRef }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cart from './payment/cart.js'\nexport * as item from './payment/item.js'\nexport * as subscription from './payment/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as checkout from './cart/checkout.js'\nexport * as create from './cart/create.js'\nexport * as 'get' from './cart/get.js'\nexport * as list from './cart/list.js'\nexport * as put from './cart/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './checkout.defs.js'\nexport * as $defs from './checkout.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as RepoStrongRef from '../../../atproto/repo/strongRef.defs.js'\nimport * as PaymentInitiate from '../../../../network/attested/payment/initiate.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.checkout'\n\nexport { $nsid }\n\n/** Check out an existing cart. The cart record already carries subject, items, currency, and total; this procedure only needs the cart uri. When a `broker` is pre-seeded, the PoS runs the broker's `network.attested.payment.initiate` (today via outbound workflow, in the future direct) and the response carries `checkoutUrl` plus a strongRef `payment`. When no broker is pre-seeded, `payment` carries an `#initiateRequest` shape the caller can use to invoke a broker themselves. Callers inspect `$type` on `payment` to discriminate the two cases. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n cart: l.string({ format: 'at-uri' }),\n broker: l.optional(l.string({ format: 'did' })),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n checkoutUrl: l.optional(l.string({ format: 'uri' })),\n payment: l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<InitiateRequest>((() => initiateRequest) as any),\n ],\n false,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n\n/** Unfilled `network.attested.payment.initiate` input. Returned in the `payment` field when the caller did not pre-seed a broker; the caller fills in their chosen broker and invokes initiate, then uses `payment.cart.put` to attach the resulting payment ref. */\ntype InitiateRequest = {\n $type?: 'com.atiproto.payment.cart.checkout#initiateRequest'\n\n /**\n * DID of the payment recipient (mirrors the cart's subject).\n */\n subject: l.DidString\n\n /**\n * Line items derived from the cart, ready to forward to a broker's `network.attested.payment.initiate`.\n */\n items: (\n | l.$Typed<PaymentInitiate.OneTime>\n | l.$Typed<PaymentInitiate.Recurring>\n | l.Unknown$TypedObject\n )[]\n\n /**\n * URI the processor should redirect to after checkout completion or cancellation, when the caller is ready to provide one.\n */\n redirectUrl?: l.UriString\n}\n\nexport type { InitiateRequest }\n\n/** Unfilled `network.attested.payment.initiate` input. Returned in the `payment` field when the caller did not pre-seed a broker; the caller fills in their chosen broker and invokes initiate, then uses `payment.cart.put` to attach the resulting payment ref. */\nconst initiateRequest = l.typedObject<InitiateRequest>(\n $nsid,\n 'initiateRequest',\n l.object({\n subject: l.string({ format: 'did' }),\n items: l.array(\n l.typedUnion(\n [\n l.typedRef<PaymentInitiate.OneTime>(\n (() => PaymentInitiate.oneTime) as any,\n ),\n l.typedRef<PaymentInitiate.Recurring>(\n (() => PaymentInitiate.recurring) as any,\n ),\n ],\n false,\n ),\n ),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n }),\n)\n\nexport { initiateRequest }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\n\nconst $nsid = 'network.attested.payment.initiate'\n\nexport { $nsid }\n\n/** Broker-side checkout procedure. Creates a pending `network.attested.payment` record signed by the broker and returns a checkout URL plus a strongRef to the payment. Line item details are retained internally by the broker; they do not appear on the resulting record. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.string({ format: 'did' }),\n items: l.array(\n l.typedUnion(\n [\n l.typedRef<OneTime>((() => oneTime) as any),\n l.typedRef<Recurring>((() => recurring) as any),\n ],\n false,\n ),\n ),\n redirectUrl: l.optional(l.string({ format: 'uri' })),\n }),\n l.jsonPayload({\n payment: l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n checkoutUrl: l.string({ format: 'uri' }),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n\n/** A one-time line item. */\ntype OneTime = {\n $type?: 'network.attested.payment.initiate#oneTime'\n description: string\n\n /**\n * Line total in the smallest unit of `currency` (PoS-side quantity is already multiplied in).\n */\n amount: number\n\n /**\n * ISO 4217 currency code.\n */\n currency: string\n}\n\nexport type { OneTime }\n\n/** A one-time line item. */\nconst oneTime = l.typedObject<OneTime>(\n $nsid,\n 'oneTime',\n l.object({\n description: l.string({ maxLength: 256 }),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n }),\n)\n\nexport { oneTime }\n\n/** A recurring line item billed at a fixed interval. */\ntype Recurring = {\n $type?: 'network.attested.payment.initiate#recurring'\n description: string\n\n /**\n * Per-period amount in the smallest unit of `currency`.\n */\n amount: number\n\n /**\n * ISO 4217 currency code.\n */\n currency: string\n\n /**\n * Billing cadence. Discriminated by `$type`: `#namedInterval` for the common cases (weekly / monthly / yearly), `#customInterval` for a custom number of days.\n */\n interval:\n | l.$Typed<NamedInterval>\n | l.$Typed<CustomInterval>\n | l.Unknown$TypedObject\n\n /**\n * First billing period.\n */\n billingStartDate?: l.DatetimeString\n}\n\nexport type { Recurring }\n\n/** A recurring line item billed at a fixed interval. */\nconst recurring = l.typedObject<Recurring>(\n $nsid,\n 'recurring',\n l.object({\n description: l.string({ maxLength: 256 }),\n amount: l.integer({ minimum: 0 }),\n currency: l.string({ maxLength: 3 }),\n interval: l.typedUnion(\n [\n l.typedRef<NamedInterval>((() => namedInterval) as any),\n l.typedRef<CustomInterval>((() => customInterval) as any),\n ],\n false,\n ),\n billingStartDate: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { recurring }\n\n/** One of the well-known billing cadences. */\ntype NamedInterval = {\n $type?: 'network.attested.payment.initiate#namedInterval'\n value: 'weekly' | 'monthly' | 'yearly'\n}\n\nexport type { NamedInterval }\n\n/** One of the well-known billing cadences. */\nconst namedInterval = l.typedObject<NamedInterval>(\n $nsid,\n 'namedInterval',\n l.object({ value: l.enum(['weekly', 'monthly', 'yearly']) }),\n)\n\nexport { namedInterval }\n\n/** An arbitrary number-of-days interval. Lets callers set non-standard cadences (every 14 days, every 90 days, etc.). */\ntype CustomInterval = {\n $type?: 'network.attested.payment.initiate#customInterval'\n\n /**\n * Length of one billing period in days.\n */\n days: number\n}\n\nexport type { CustomInterval }\n\n/** An arbitrary number-of-days interval. Lets callers set non-standard cadences (every 14 days, every 90 days, etc.). */\nconst customInterval = l.typedObject<CustomInterval>(\n $nsid,\n 'customInterval',\n l.object({ days: l.integer({ minimum: 1 }) }),\n)\n\nexport { customInterval }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.create'\n\nexport { $nsid }\n\n/** Create a new, empty cart on the PoS. The PoS signs the cart record and returns it via the standard workflow envelope so the agent can write the stripped form to the payer's PDS. Distinct from `payment.cart.checkout`: this only builds the cart, no broker is contacted and no `checkoutUrl` is issued. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.string({ format: 'did' }),\n currency: l.string({ maxLength: 3 }),\n private: l.optional(l.withDefault(l.boolean(), true)),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n cart: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.get'\n\nexport { $nsid }\n\n/** Hydrate a cart by uri. Includes the resolved item and subscription records that the cart references. Broker payment state is reflected on the cart's own `status` field (snapshot maintained by the recipient AppView), so no separate payment lookup is needed. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n cart: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n items: l.array(\n l.typedUnion(\n [\n l.typedRef<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n l.typedRef<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ],\n false,\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../atproto/repo/strongRef.defs.js'\nimport * as PaymentInitiate from '../../network/attested/payment/initiate.defs.js'\nimport * as AttestedSignature from '../../network/attested/signature.defs.js'\n\nconst $nsid = 'com.atiproto.subscription'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'com.atiproto.subscription'\n\n /**\n * Reference to the entity being subscribed to. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a paid feed) or a `#userRef` (a thin wrapper carrying a did string for the user being subscribed to). Absent when marked as private.\n */\n subject?:\n | l.$Typed<RepoStrongRef.Main>\n | l.$Typed<UserRef>\n | l.Unknown$TypedObject\n\n /**\n * Per-period subscription amount in the smallest unit of the cart's `currency` (0 for free).\n */\n amount: number\n\n /**\n * Billing cadence. Mirrors `network.attested.payment.initiate#interval`: either `network.attested.payment.initiate#namedInterval` (weekly / monthly / yearly) or `network.attested.payment.initiate#customInterval` (`{ days: integer >= 1 }`).\n */\n interval:\n | l.$Typed<PaymentInitiate.NamedInterval>\n | l.$Typed<PaymentInitiate.CustomInterval>\n | l.Unknown$TypedObject\n\n /**\n * Subscription lifecycle state. Open to extension via `knownValues`; PoS continues to interpret these values for subscription-specific flows (renewal, dunning, etc.).\n */\n status:\n | 'pending'\n | 'active'\n | 'past_due'\n | 'cancelled'\n | 'expired'\n | l.UnknownString\n\n /**\n * First billing period; can be used to derive recurrence.\n */\n billingStartDate: l.DatetimeString\n cancelledAt?: l.DatetimeString\n\n /**\n * Date until which the subscriber retains access after cancellation.\n */\n accessUntil?: l.DatetimeString\n createdAt: l.DatetimeString\n\n /**\n * PoS + recipient AppView attestations. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `amount`, `interval`, `status`, `billingStartDate`, `createdAt`, plus `subject`, `cancelledAt`, and `accessUntil` when present. Mutating any of those fields invalidates every signature in this array.\n */\n signatures: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(\n l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<UserRef>((() => userRef) as any),\n ],\n false,\n ),\n ),\n amount: l.integer({ minimum: 0 }),\n interval: l.typedUnion(\n [\n l.typedRef<PaymentInitiate.NamedInterval>(\n (() => PaymentInitiate.namedInterval) as any,\n ),\n l.typedRef<PaymentInitiate.CustomInterval>(\n (() => PaymentInitiate.customInterval) as any,\n ),\n ],\n false,\n ),\n status: l.string<{\n maxLength: 64\n knownValues: ['pending', 'active', 'past_due', 'cancelled', 'expired']\n }>({ maxLength: 64 }),\n billingStartDate: l.string({ format: 'datetime' }),\n cancelledAt: l.optional(l.string({ format: 'datetime' })),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.string({ format: 'datetime' }),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\ntype View = {\n $type?: 'com.atiproto.subscription#view'\n uri: l.AtUriString\n cid?: l.CidString\n subject?:\n | l.$Typed<RepoStrongRef.Main>\n | l.$Typed<UserRef>\n | l.Unknown$TypedObject\n amount: number\n interval:\n | l.$Typed<PaymentInitiate.NamedInterval>\n | l.$Typed<PaymentInitiate.CustomInterval>\n | l.Unknown$TypedObject\n status:\n | 'pending'\n | 'active'\n | 'past_due'\n | 'cancelled'\n | 'expired'\n | l.UnknownString\n billingStartDate: l.DatetimeString\n\n /**\n * Next scheduled renewal/billing date. Server-derived from the billing schedule; not stored on the record.\n */\n renewalDate?: l.DatetimeString\n cancelledAt?: l.DatetimeString\n accessUntil?: l.DatetimeString\n createdAt: l.DatetimeString\n signatures?: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { View }\n\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n subject: l.optional(\n l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<UserRef>((() => userRef) as any),\n ],\n false,\n ),\n ),\n amount: l.integer({ minimum: 0 }),\n interval: l.typedUnion(\n [\n l.typedRef<PaymentInitiate.NamedInterval>(\n (() => PaymentInitiate.namedInterval) as any,\n ),\n l.typedRef<PaymentInitiate.CustomInterval>(\n (() => PaymentInitiate.customInterval) as any,\n ),\n ],\n false,\n ),\n status: l.string<{\n maxLength: 64\n knownValues: ['pending', 'active', 'past_due', 'cancelled', 'expired']\n }>({ maxLength: 64 }),\n billingStartDate: l.string({ format: 'datetime' }),\n renewalDate: l.optional(l.string({ format: 'datetime' })),\n cancelledAt: l.optional(l.string({ format: 'datetime' })),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n createdAt: l.string({ format: 'datetime' }),\n signatures: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n ),\n }),\n)\n\nexport { view }\n\n/** Thin wrapper that carries a bare did string for the user being subscribed to. The wire shape is `{ \"$type\": \"com.atiproto.subscription#userRef\", \"did\": \"did:plc:...\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or. */\ntype UserRef = { $type?: 'com.atiproto.subscription#userRef'; did: l.DidString }\n\nexport type { UserRef }\n\n/** Thin wrapper that carries a bare did string for the user being subscribed to. The wire shape is `{ \"$type\": \"com.atiproto.subscription#userRef\", \"did\": \"did:plc:...\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or. */\nconst userRef = l.typedObject<UserRef>(\n $nsid,\n 'userRef',\n l.object({ did: l.string({ format: 'did' }) }),\n)\n\nexport { userRef }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.list'\n\nexport { $nsid }\n\n/** List carts created by the authenticated user. Supports filtering by recipient subject, a specific record (an item / subscription line, or the subject the line points at), and cart status (cart and broker payment statuses are unified on the cart's `status` field). */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'did' })),\n record: l.optional(l.string({ format: 'at-uri' })),\n status: l.optional(\n l.string<{\n maxLength: 64\n knownValues: [\n 'open',\n 'expired',\n 'abandoned',\n 'pending',\n 'completed',\n 'failed',\n 'refunded',\n 'cancelled',\n 'fulfilled',\n ]\n }>({ maxLength: 64 }),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 20),\n ),\n }),\n l.jsonPayload({\n carts: l.array(l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../cart.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.cart.put'\n\nexport { $nsid }\n\n/** Update a cart. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoCart.Main>((() => AtiprotoCart.main) as any),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n cart: l.optional(\n l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as create from './item/create.js'\nexport * as 'get' from './item/get.js'\nexport * as list from './item/list.js'\nexport * as put from './item/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../../atproto/repo/strongRef.defs.js'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.create'\n\nexport { $nsid }\n\n/** Create an item. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<AtiprotoItem.UserRef>((() => AtiprotoItem.userRef) as any),\n ],\n false,\n ),\n amount: l.integer({ minimum: 0 }),\n quantity: l.optional(l.withDefault(l.integer({ minimum: 1 }), 1)),\n currency: l.optional(l.string({ maxLength: 3 })),\n message: l.optional(l.string({ maxGraphemes: 500, maxLength: 5000 })),\n private: l.optional(l.boolean()),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n item: l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.get'\n\nexport { $nsid }\n\n/** Hydrate an item record by uri. The authenticated user must be the sender. Search filters that were previously on this endpoint live on `payment.item.list`. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n item: l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.list'\n\nexport { $nsid }\n\n/** List items sent by the authenticated user. */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../item.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.item.put'\n\nexport { $nsid }\n\n/** Update an item. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoItem.Main>((() => AtiprotoItem.main) as any),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cancel from './subscription/cancel.js'\nexport * as create from './subscription/create.js'\nexport * as 'get' from './subscription/get.js'\nexport * as list from './subscription/list.js'\nexport * as put from './subscription/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './cancel.defs.js'\nexport * as $defs from './cancel.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.cancel'\n\nexport { $nsid }\n\n/** Cancel an active subscription. Should be implemented by broker. May be implemented by PoS to orchestrate with broker. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subscriptionUri: l.string({ format: 'at-uri' }),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n subscription: l.optional(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n accessUntil: l.optional(l.string({ format: 'datetime' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './create.defs.js'\nexport * as $defs from './create.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../../atproto/repo/strongRef.defs.js'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\nimport * as PaymentInitiate from '../../../../network/attested/payment/initiate.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.create'\n\nexport { $nsid }\n\n/** Create a subscription. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n subject: l.typedUnion(\n [\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n l.typedRef<AtiprotoSubscription.UserRef>(\n (() => AtiprotoSubscription.userRef) as any,\n ),\n ],\n false,\n ),\n amount: l.optional(l.integer({ minimum: 0 })),\n currency: l.optional(l.string({ maxLength: 3 })),\n interval: l.typedUnion(\n [\n l.typedRef<PaymentInitiate.NamedInterval>(\n (() => PaymentInitiate.namedInterval) as any,\n ),\n l.typedRef<PaymentInitiate.CustomInterval>(\n (() => PaymentInitiate.customInterval) as any,\n ),\n ],\n false,\n ),\n billingStartDate: l.optional(l.string({ format: 'datetime' })),\n private: l.optional(l.boolean()),\n cartUri: l.optional(l.string({ format: 'at-uri' })),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n subscription: l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.get'\n\nexport { $nsid }\n\n/** Hydrate a subscription record by uri. The authenticated user must be the sender. Search filters that were previously on this endpoint live on `payment.subscription.list`. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n subscription: l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.list'\n\nexport { $nsid }\n\n/** List subscriptions sent by the authenticated user. */\nconst main = l.query(\n $nsid,\n l.params({\n subject: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../subscription.defs.js'\nimport * as AtiprotoActions from '../../actions.defs.js'\n\nconst $nsid = 'com.atiproto.payment.subscription.put'\n\nexport { $nsid }\n\n/** Update a subscription. */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n record: l.ref<AtiprotoSubscription.Main>(\n (() => AtiprotoSubscription.main) as any,\n ),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './profile.defs.js'\nexport * as $defs from './profile.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.profile'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'com.atiproto.profile'\n\n /**\n * Whether the user accepts one-time items (default: true).\n */\n acceptsItems?: boolean\n\n /**\n * Whether the user accepts subscriptions (default: true).\n */\n acceptsSubscriptions?: boolean\n createdAt: l.DatetimeString\n updatedAt?: l.DatetimeString\n}\n\nexport type { Main }\n\nconst main = l.record<'literal:self', Main>(\n 'literal:self',\n $nsid,\n l.object({\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n createdAt: l.string({ format: 'datetime' }),\n updatedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n\n/** Profile view for API responses. `brokers` and `acceptingPayments` are server-derived from the user's DID document; they are not stored on the record. */\ntype View = {\n $type?: 'com.atiproto.profile#view'\n uri: l.AtUriString\n acceptsItems?: boolean\n acceptsSubscriptions?: boolean\n\n /**\n * True when the user's DID document advertises at least one `PaymentBroker` service entry. For v2, the mere presence of a broker is taken as readiness.\n */\n acceptingPayments?: boolean\n createdAt: l.DatetimeString\n updatedAt?: l.DatetimeString\n}\n\nexport type { View }\n\n/** Profile view for API responses. `brokers` and `acceptingPayments` are server-derived from the user's DID document; they are not stored on the record. */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n acceptingPayments: l.optional(l.boolean()),\n createdAt: l.string({ format: 'datetime' }),\n updatedAt: l.optional(l.string({ format: 'datetime' })),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as payment from './recipient/payment.js'\nexport * as profile from './recipient/profile.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as cart from './payment/cart.js'\nexport * as item from './payment/item.js'\nexport * as subscription from './payment/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './cart/get.js'\nexport * as list from './cart/list.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../../cart.defs.js'\nimport * as AtiprotoItem from '../../../item.defs.js'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.cart.get'\n\nexport { $nsid }\n\n/** Hydrate an incoming cart by uri (a cart whose items target the authenticated user). Includes the resolved item and subscription records that target this user. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n cart: l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any),\n items: l.array(\n l.typedUnion(\n [\n l.typedRef<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n l.typedRef<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ],\n false,\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoCart from '../../../cart.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.cart.list'\n\nexport { $nsid }\n\n/** List carts whose items pay the authenticated user (carts targeting this user as a payment recipient). Read-only, no PDS writes. */\nconst main = l.query(\n $nsid,\n l.params({\n sender: l.optional(l.string({ format: 'did' })),\n status: l.optional(\n l.string<{\n maxLength: 64\n knownValues: [\n 'open',\n 'expired',\n 'abandoned',\n 'pending',\n 'completed',\n 'failed',\n 'refunded',\n 'cancelled',\n 'fulfilled',\n ]\n }>({ maxLength: 64 }),\n ),\n startDate: l.optional(l.string({ format: 'datetime' })),\n endDate: l.optional(l.string({ format: 'datetime' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 20),\n ),\n }),\n l.jsonPayload({\n carts: l.array(l.ref<AtiprotoCart.View>((() => AtiprotoCart.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './item/get.js'\nexport * as list from './item/list.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../../item.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.item.get'\n\nexport { $nsid }\n\n/** Hydrate an incoming item record by uri (the authenticated user must be the recipient/subject). Search filters that were previously on this endpoint live on `recipient.payment.item.list`. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n item: l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoItem from '../../../item.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.item.list'\n\nexport { $nsid }\n\n/** List items received by the authenticated user (items whose `subject` is the authed user, or whose `record` points at a record the authed user owns). Includes items marked private, which are retained server-side. */\nconst main = l.query(\n $nsid,\n l.params({\n sender: l.optional(l.string({ format: 'did' })),\n record: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n items: l.array(l.ref<AtiprotoItem.View>((() => AtiprotoItem.view) as any)),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './subscription/get.js'\nexport * as list from './subscription/list.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.subscription.get'\n\nexport { $nsid }\n\n/** Hydrate an incoming subscription record by uri (the authenticated user must be the recipient/subject). Search filters that were previously on this endpoint live on `recipient.payment.subscription.list`. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n subscription: l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './list.defs.js'\nexport * as $defs from './list.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoSubscription from '../../../subscription.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.payment.subscription.list'\n\nexport { $nsid }\n\n/** List subscriptions received by the authenticated user (subscriptions whose `subject` is the authed user, or whose `record` points at a record the authed user owns). Includes subscriptions marked private, which are retained server-side. */\nconst main = l.query(\n $nsid,\n l.params({\n sender: l.optional(l.string({ format: 'did' })),\n record: l.optional(l.string({ format: 'at-uri' })),\n cursor: l.optional(l.string({ maxLength: 512 })),\n limit: l.optional(\n l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),\n ),\n }),\n l.jsonPayload({\n subscriptions: l.array(\n l.ref<AtiprotoSubscription.View>(\n (() => AtiprotoSubscription.view) as any,\n ),\n ),\n cursor: l.optional(l.string({ maxLength: 512 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './profile/get.js'\nexport * as put from './profile/put.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.profile.get'\n\nexport { $nsid }\n\n/** Get the authenticated user's payment-related state. The PoS variant returns the user's profile and their broker list (the same list `repo.profile.get` would surface). The broker variant returns a `brokerView` describing this user's onboarding state with that broker plus a fresh onboarding link. */\nconst main = l.query(\n $nsid,\n l.params({ redirectUrl: l.optional(l.string({ format: 'uri' })) }),\n l.jsonPayload({\n profile: l.optional(\n l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n ),\n brokers: l.optional(l.array(l.string({ format: 'did' }))),\n broker: l.optional(l.ref<BrokerView>((() => brokerView) as any)),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n\n/** Broker-side view of the authed user's account. Returned only when `recipient.profile.get` is called on a broker (rather than a PoS). */\ntype BrokerView = {\n $type?: 'com.atiproto.recipient.profile.get#brokerView'\n\n /**\n * DID of the broker answering the request.\n */\n did: l.DidString\n\n /**\n * Broker-defined onboarding state for the authed user. `ready` means the user can receive payouts; the other values indicate where onboarding is and whether action is needed.\n */\n status:\n | 'none'\n | 'pending'\n | 'needs_info'\n | 'ready'\n | 'restricted'\n | 'disabled'\n | l.UnknownString\n\n /**\n * Optional. Fresh broker-hosted onboarding link. Clients should redirect the user here to complete (or update) their account. When `redirectUrl` was supplied on the request, the broker embeds it so the user lands back at the caller after onboarding.\n */\n onboardingUrl?: l.UriString\n}\n\nexport type { BrokerView }\n\n/** Broker-side view of the authed user's account. Returned only when `recipient.profile.get` is called on a broker (rather than a PoS). */\nconst brokerView = l.typedObject<BrokerView>(\n $nsid,\n 'brokerView',\n l.object({\n did: l.string({ format: 'did' }),\n status: l.string<{\n maxLength: 64\n knownValues: [\n 'none',\n 'pending',\n 'needs_info',\n 'ready',\n 'restricted',\n 'disabled',\n ]\n }>({ maxLength: 64 }),\n onboardingUrl: l.optional(l.string({ format: 'uri' })),\n }),\n)\n\nexport { brokerView }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './put.defs.js'\nexport * as $defs from './put.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoActions from '../../actions.defs.js'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.recipient.profile.put'\n\nexport { $nsid }\n\n/** Create or update the authenticated user's profile settings */\nconst main = l.procedure(\n $nsid,\n l.params(),\n l.jsonPayload({\n acceptsItems: l.optional(l.boolean()),\n acceptsSubscriptions: l.optional(l.boolean()),\n disableReceiptNotifications: l.optional(l.boolean()),\n workflow: l.optional(\n l.ref<AtiprotoActions.InboundWorkflow>(\n (() => AtiprotoActions.inboundWorkflow) as any,\n ),\n ),\n }),\n l.jsonPayload({\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n uri: l.optional(l.string({ format: 'at-uri' })),\n cid: l.optional(l.string({ format: 'cid' })),\n profile: l.optional(\n l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n ),\n hasProfile: l.optional(l.boolean()),\n readyForPayment: l.optional(l.boolean()),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>\nexport type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<\n typeof main,\n B\n>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $input = main.input,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as item from './repo/item.js'\nexport * as profile from './repo/profile.js'\nexport * as subscription from './repo/subscription.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as count from './item/count.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './count.defs.js'\nexport * as $defs from './count.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.repo.item.count'\n\nexport { $nsid }\n\n/** Count active (completed) items. When `record` is provided, counts items targeting that at-uri (either a specific record or, when the at-uri is repo-level like `at://did:plc:...`, all items received by that user). When omitted, counts items sent by the authenticated user. Optionally filtered by a start/end datetime window. When the authenticated caller is the subject/owner of the target (or counting their own sent items), the response also includes the sum of amounts. */\nconst main = l.query(\n $nsid,\n l.params({\n record: l.optional(l.string({ format: 'at-uri' })),\n startDate: l.optional(l.string({ format: 'datetime' })),\n endDate: l.optional(l.string({ format: 'datetime' })),\n }),\n l.jsonPayload({\n count: l.integer(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as 'get' from './profile/get.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './get.defs.js'\nexport * as $defs from './get.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AtiprotoProfile from '../../profile.defs.js'\n\nconst $nsid = 'com.atiproto.repo.profile.get'\n\nexport { $nsid }\n\n/** Look up public profile information for any user */\nconst main = l.query(\n $nsid,\n l.params({ did: l.string({ format: 'did' }) }),\n l.jsonPayload({\n did: l.string({ format: 'did' }),\n profile: l.ref<AtiprotoProfile.View>((() => AtiprotoProfile.view) as any),\n brokers: l.optional(l.array(l.string({ format: 'did' }))),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as count from './subscription/count.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './count.defs.js'\nexport * as $defs from './count.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atiproto.repo.subscription.count'\n\nexport { $nsid }\n\n/** Count active subscriptions. When `record` is provided, counts subscriptions targeting that at-uri (either a specific record or, when the at-uri is repo-level like `at://did:plc:...`, all subscriptions the named user receives). When omitted, counts subscriptions the authenticated user has active as the subscriber. Optionally filtered by a start/end datetime window (matching `billingStartDate`). When the authenticated caller is the subject/owner of the target (or counting their own active subscriptions), the response also includes the sum of amounts. */\nconst main = l.query(\n $nsid,\n l.params({\n record: l.optional(l.string({ format: 'at-uri' })),\n startDate: l.optional(l.string({ format: 'datetime' })),\n endDate: l.optional(l.string({ format: 'datetime' })),\n }),\n l.jsonPayload({\n count: l.integer(),\n amount: l.optional(l.integer()),\n currency: l.optional(l.string({ maxLength: 3 })),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './subscription.defs.js'\nexport * as $defs from './subscription.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as repo from './atproto/repo.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as strongRef from './repo/strongRef.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './strongRef.defs.js'\nexport * as $defs from './strongRef.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as attested from './network/attested.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as entitlement from './attested/entitlement.js'\nexport * as payment from './attested/payment.js'\nexport * as proof from './attested/proof.js'\nexport * as signature from './attested/signature.js'\nexport * as verify from './attested/verify.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './entitlement.defs.js'\nexport * as $defs from './entitlement.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js'\nimport * as AttestedSignature from './signature.defs.js'\n\nconst $nsid = 'network.attested.entitlement'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'network.attested.entitlement'\n\n /**\n * DID of the entitled party. Absent (null) when marked as private.\n */\n subject?: l.DidString\n\n /**\n * Strong references to the records the subject is entitled to. Lexicon-agnostic: refs may point at any record type. Empty (or absent) when marked as private.\n */\n entitlements?: RepoStrongRef.Main[]\n\n /**\n * StrongRef to the `network.attested.payment` record that justified this entitlement. Entitlements reference payments; payments do not reference carts or entitlements back.\n */\n payment: RepoStrongRef.Main\n createdAt: l.DatetimeString\n\n /**\n * PoS attestation(s). Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `payment`, `createdAt`, plus `subject` and `entitlements` when present. Mutating any of those fields invalidates every signature in this array.\n */\n signatures: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(l.string({ format: 'did' })),\n entitlements: l.optional(\n l.array(l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any)),\n ),\n payment: l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n createdAt: l.string({ format: 'datetime' }),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as initiate from './payment/initiate.js'\nexport * as status from './payment/status.js'\nexport * from './payment.defs.js'\nexport * as $defs from './payment.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './initiate.defs.js'\nexport * as $defs from './initiate.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './status.defs.js'\nexport * as $defs from './status.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as PaymentInitiate from './initiate.defs.js'\nimport * as AttestedSignature from '../signature.defs.js'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\n\nconst $nsid = 'network.attested.payment.status'\n\nexport { $nsid }\n\n/** Look up a `network.attested.payment` record by uri. Returns a `#view`: status, broker, timestamps, and signatures are always present; private fields (`subject`, `items`, `total`, `currency`) are auto-filled by the broker only when the caller is one of the signing parties. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({ payment: l.ref<View>((() => view) as any) }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n\n/** Hydrated view of a `network.attested.payment` record. Shape mirrors the `network.attested.payment.initiate` input plus `total`, the record's uri/cid, and signatures. Private fields (`subject`, `items`, `total`, `currency`) are auto-filled by the broker only when the caller is one of the signing parties; for other callers, the view degrades to the record's public surface. */\ntype View = {\n $type?: 'network.attested.payment.status#view'\n uri: l.AtUriString\n cid?: l.CidString\n\n /**\n * DID of the payment recipient. Auto-filled when the caller is authorized; absent otherwise.\n */\n subject?: l.DidString\n\n /**\n * Line items as supplied to `initiate`. Auto-filled when the caller is authorized; absent otherwise.\n */\n items?: (\n | l.$Typed<PaymentInitiate.OneTime>\n | l.$Typed<PaymentInitiate.Recurring>\n | l.Unknown$TypedObject\n )[]\n\n /**\n * Sum of line item amounts in the smallest currency unit. Auto-filled when the caller is authorized; absent otherwise.\n */\n total?: number\n\n /**\n * ISO 4217 currency code of `total`. Auto-filled when the caller is authorized; absent otherwise.\n */\n currency?: string\n status:\n | 'pending'\n | 'completed'\n | 'failed'\n | 'refunded'\n | 'cancelled'\n | l.UnknownString\n broker: l.DidString\n createdAt: l.DatetimeString\n completedAt?: l.DatetimeString\n signatures: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { View }\n\n/** Hydrated view of a `network.attested.payment` record. Shape mirrors the `network.attested.payment.initiate` input plus `total`, the record's uri/cid, and signatures. Private fields (`subject`, `items`, `total`, `currency`) are auto-filled by the broker only when the caller is one of the signing parties; for other callers, the view degrades to the record's public surface. */\nconst view = l.typedObject<View>(\n $nsid,\n 'view',\n l.object({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n subject: l.optional(l.string({ format: 'did' })),\n items: l.optional(\n l.array(\n l.typedUnion(\n [\n l.typedRef<PaymentInitiate.OneTime>(\n (() => PaymentInitiate.oneTime) as any,\n ),\n l.typedRef<PaymentInitiate.Recurring>(\n (() => PaymentInitiate.recurring) as any,\n ),\n ],\n false,\n ),\n ),\n ),\n total: l.optional(l.integer({ minimum: 0 })),\n currency: l.optional(l.string({ maxLength: 3 })),\n status: l.string<{\n maxLength: 64\n knownValues: ['pending', 'completed', 'failed', 'refunded', 'cancelled']\n }>({ maxLength: 64 }),\n broker: l.string({ format: 'did' }),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { view }\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AttestedSignature from './signature.defs.js'\nimport * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js'\n\nconst $nsid = 'network.attested.payment'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'network.attested.payment'\n\n /**\n * Optional DID of the payment recipient. Absent by default; Broker expected to retain the recipient information internally. Setting this on the record makes the recipient publicly visible.\n */\n subject?: l.DidString\n status:\n | 'pending'\n | 'completed'\n | 'failed'\n | 'refunded'\n | 'cancelled'\n | l.UnknownString\n\n /**\n * DID of the broker that issued and is settling this payment.\n */\n broker: l.DidString\n createdAt: l.DatetimeString\n\n /**\n * Set when `status === completed`.\n */\n completedAt?: l.DatetimeString\n\n /**\n * Broker attestation(s). Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `status`, `broker`, `createdAt`, plus `subject` and `completedAt` when present. Mutating any of those fields invalidates every signature in this array.\n */\n signatures: (\n | l.$Typed<AttestedSignature.Main>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n )[]\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n subject: l.optional(l.string({ format: 'did' })),\n status: l.string<{\n maxLength: 64\n knownValues: ['pending', 'completed', 'failed', 'refunded', 'cancelled']\n }>({ maxLength: 64 }),\n broker: l.string({ format: 'did' }),\n createdAt: l.string({ format: 'datetime' }),\n completedAt: l.optional(l.string({ format: 'datetime' })),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './proof.defs.js'\nexport * as $defs from './proof.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'network.attested.proof'\n\nexport { $nsid }\n\ntype Main = {\n $type: 'network.attested.proof'\n\n /**\n * CID of the canonical signing payload of the source record being attested (same computation as `network.attested.signature.cid`).\n */\n cid: l.CidString\n\n /**\n * Optional status indicator for the attestation (implementation-defined).\n */\n status?: string\n\n /**\n * Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.\n */\n issuer?: l.DidString\n\n /**\n * Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).\n */\n role?: 'broker' | 'pos' | 'appview' | 'co-signer' | l.UnknownString\n}\n\nexport type { Main }\n\nconst main = l.record<'any', Main>(\n 'any',\n $nsid,\n l.object({\n cid: l.string({ format: 'cid' }),\n status: l.optional(l.string()),\n issuer: l.optional(l.string({ format: 'did' })),\n role: l.optional(\n l.string<{\n maxLength: 64\n knownValues: ['broker', 'pos', 'appview', 'co-signer']\n }>({ maxLength: 64 }),\n ),\n }),\n)\n\nexport { main }\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),\n $build = /*#__PURE__*/ main.build.bind(main),\n $type = /*#__PURE__*/ main.$type\nexport const $assert = /*#__PURE__*/ main.assert.bind(main),\n $check = /*#__PURE__*/ main.check.bind(main),\n $cast = /*#__PURE__*/ main.cast.bind(main),\n $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),\n $matches = /*#__PURE__*/ main.matches.bind(main),\n $parse = /*#__PURE__*/ main.parse.bind(main),\n $safeParse = /*#__PURE__*/ main.safeParse.bind(main),\n $validate = /*#__PURE__*/ main.validate.bind(main),\n $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './signature.defs.js'\nexport * as $defs from './signature.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './verify.defs.js'\nexport * as $defs from './verify.defs.js'\n","/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AttestedSignature from './signature.defs.js'\nimport * as RepoStrongRef from '../../com/atproto/repo/strongRef.defs.js'\nimport * as AtiprotoActions from '../../com/atiproto/actions.defs.js'\n\nconst $nsid = 'network.attested.verify'\n\nexport { $nsid }\n\n/** Verify signatures on a signed record (`network.attested.payment`, `network.attested.entitlement`, or any `com.atiproto.*` record using the same scheme). Open to any caller. Implemented by both brokers (over their `network.attested.payment` records) and the PoS (over its own records). To retrieve hydrated payment details, call `network.attested.payment.status`, which auto-fills private fields when the caller is a signing party. */\nconst main = l.query(\n $nsid,\n l.params({ uri: l.string({ format: 'at-uri' }) }),\n l.jsonPayload({\n uri: l.string({ format: 'at-uri' }),\n cid: l.optional(l.string({ format: 'cid' })),\n valid: l.boolean(),\n signatures: l.array(\n l.typedUnion(\n [\n l.typedRef<AttestedSignature.Main>(\n (() => AttestedSignature.main) as any,\n ),\n l.typedRef<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),\n ],\n false,\n ),\n ),\n workflow: l.optional(\n l.ref<AtiprotoActions.OutboundWorkflow>(\n (() => AtiprotoActions.outboundWorkflow) as any,\n ),\n ),\n }),\n)\nexport { main }\n\nexport type $Params = l.InferMethodParams<typeof main>\nexport type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<\n typeof main,\n B\n>\n\nexport const $lxm = main.nsid,\n $params = main.parameters,\n $output = main.output\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.actions\",\n \"description\": \"Workflow envelope shared between atiproto XRPC endpoints and the agent interpreter. The server emits an outboundWorkflow when it needs the agent to execute repo writes against the user's PDS; the agent runs the actions and calls back with an inboundWorkflow.\",\n \"defs\": {\n \"create\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.createRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"record\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the repo to write to. The PDS auth check is the source of truth for whether the write is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"description\": \"Server-assigned name for this action; echoed back on the corresponding response so the server can correlate.\"\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128,\n \"description\": \"Optional. When omitted (the default), the PDS generates the rkey and returns the resulting URI on the response. Server-assigned rkeys are reserved for fixed-rkey records like com.atiproto.profile/self.\"\n },\n \"record\": {\n \"type\": \"unknown\"\n }\n }\n },\n \"update\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.putRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"rkey\", \"record\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128\n },\n \"record\": {\n \"type\": \"unknown\"\n },\n \"swapCommit\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n }\n }\n },\n \"delete\": {\n \"type\": \"object\",\n \"description\": \"Instructs the agent to call com.atproto.repo.deleteRecord on the user's PDS.\",\n \"required\": [\"repo\", \"name\", \"collection\", \"rkey\"],\n \"properties\": {\n \"repo\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"collection\": {\n \"type\": \"string\",\n \"format\": \"nsid\"\n },\n \"rkey\": {\n \"type\": \"string\",\n \"maxLength\": 128\n },\n \"swapCommit\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n }\n }\n },\n \"raise\": {\n \"type\": \"object\",\n \"description\": \"Terminal action: the agent throws a WorkflowRaisedError carrying message and code. Subsequent actions in the same batch are not executed.\",\n \"required\": [\"message\"],\n \"properties\": {\n \"message\": {\n \"type\": \"string\",\n \"maxLength\": 1024\n },\n \"code\": {\n \"type\": \"string\",\n \"maxLength\": 64\n }\n }\n },\n \"response\": {\n \"type\": \"object\",\n \"description\": \"Result of executing one action. Carries the verb (so the server can branch without inspecting result shape) plus the action name and the resulting record reference.\",\n \"required\": [\"action\", \"name\", \"result\"],\n \"properties\": {\n \"action\": {\n \"type\": \"string\",\n \"maxLength\": 32,\n \"knownValues\": [\"create\", \"update\", \"delete\"]\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"result\": {\n \"type\": \"ref\",\n \"ref\": \"#recordResult\"\n }\n }\n },\n \"recordResult\": {\n \"type\": \"object\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Present on create/update responses; absent on delete (the record is gone).\"\n }\n }\n },\n \"error\": {\n \"type\": \"object\",\n \"description\": \"Populated by the agent when an action fails. The server's error branch uses this to construct compensating actions and a final raise.\",\n \"required\": [\"action\", \"message\"],\n \"properties\": {\n \"action\": {\n \"type\": \"string\",\n \"maxLength\": 32,\n \"description\": \"The verb of the action that failed (create/update/delete).\"\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"message\": {\n \"type\": \"string\",\n \"maxLength\": 1024\n },\n \"code\": {\n \"type\": \"string\",\n \"maxLength\": 64\n }\n }\n },\n \"inboundWorkflow\": {\n \"type\": \"object\",\n \"description\": \"Agent → server callback envelope. Echoes the server's intent verbatim, except when the agent overrides to \\\"error\\\" after an action failure.\",\n \"required\": [\"intent\", \"responses\"],\n \"properties\": {\n \"intent\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"responses\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"#response\"\n }\n },\n \"error\": {\n \"type\": \"ref\",\n \"ref\": \"#error\"\n }\n }\n },\n \"outboundWorkflow\": {\n \"type\": \"object\",\n \"description\": \"Server → agent envelope. Server-defined intent string acts as a phase marker; the agent treats it as opaque. Each item in `actions` is discriminated by `$type` against `#create` / `#update` / `#delete` / `#raise`.\",\n \"required\": [\"intent\", \"actions\"],\n \"properties\": {\n \"intent\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"actions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"#create\", \"#update\", \"#delete\", \"#raise\"]\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authReadEntitlements\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Read Entitlements\",\n \"detail\": \"Verify signed entitlements (and any other `network.attested.*` record) via `network.attested.verify`. Read-only.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\"network.attested.verify\"]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authReadCart\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Read Cart\",\n \"detail\": \"Read access to the authenticated user's carts and their line items (one-time items and subscriptions). Grants the PoS hydration endpoints plus the repo collections the records live in so callers can read the source records directly.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\n \"com.atiproto.cart\",\n \"com.atiproto.item\",\n \"com.atiproto.subscription\"\n ]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.payment.cart.get\",\n \"com.atiproto.payment.cart.list\",\n \"com.atiproto.payment.item.get\",\n \"com.atiproto.payment.item.list\",\n \"com.atiproto.payment.subscription.get\",\n \"com.atiproto.payment.subscription.list\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authReadPayments\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Read Payments\",\n \"detail\": \"Look up broker payment records, attestation proofs, and verify signed records via `network.attested.*`. Read-only.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\"network.attested.payment.status\", \"network.attested.verify\"]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authReadPublic\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Read Public\",\n \"detail\": \"Public, unauthenticated-equivalent lookups: any user's profile, plus completed-item and active-subscription counters. Read-only; no repo writes.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.repo.profile.get\",\n \"com.atiproto.repo.item.count\",\n \"com.atiproto.repo.subscription.count\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authCreateCart\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Create Cart\",\n \"detail\": \"Create and update carts, items, and subscriptions on the PoS. Grants the PoS-side write endpoints plus the repo collections the corresponding records live in.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\n \"com.atiproto.cart\",\n \"com.atiproto.item\",\n \"com.atiproto.subscription\"\n ]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.payment.cart.create\",\n \"com.atiproto.payment.cart.put\",\n \"com.atiproto.payment.item.create\",\n \"com.atiproto.payment.item.put\",\n \"com.atiproto.payment.subscription.create\",\n \"com.atiproto.payment.subscription.put\",\n \"com.atiproto.payment.subscription.cancel\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authCreatePayment\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Create Payment\",\n \"detail\": \"Initiate broker payments and run the PoS checkout flow. Grants `network.attested.payment.initiate` / `status`, plus the PoS endpoints that drive checkout (cart.checkout / cart.put), and repo write on the records the checkout flow lands on the payer's PDS (cart, item, subscription, stripped entitlement).\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\n \"com.atiproto.cart\",\n \"com.atiproto.item\",\n \"com.atiproto.subscription\",\n \"network.attested.entitlement\"\n ]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"network.attested.payment.initiate\",\n \"network.attested.payment.status\",\n \"com.atiproto.payment.cart.checkout\",\n \"com.atiproto.payment.cart.put\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authReadRecipient\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Read Recipient\",\n \"detail\": \"Read access to the authenticated user's incoming carts, items, and subscriptions, plus their own profile. Read-only; no repo writes. Public profile lookup and item / subscription counts live in `com.atiproto.authReadPublic`.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\n \"com.atiproto.recipient.payment.cart.get\",\n \"com.atiproto.recipient.payment.cart.list\",\n \"com.atiproto.recipient.payment.item.get\",\n \"com.atiproto.recipient.payment.item.list\",\n \"com.atiproto.recipient.payment.subscription.get\",\n \"com.atiproto.recipient.payment.subscription.list\",\n \"com.atiproto.recipient.profile.get\"\n ]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.authWriteProfile\",\n \"defs\": {\n \"main\": {\n \"type\": \"permission-set\",\n \"title\": \"Write Profile\",\n \"detail\": \"Update the authenticated user's payment profile. Grants the PoS-side `recipient.profile.put` endpoint plus repo write on the `com.atiproto.profile` collection.\",\n \"permissions\": [\n {\n \"type\": \"permission\",\n \"resource\": \"repo\",\n \"collection\": [\"com.atiproto.profile\"]\n },\n {\n \"type\": \"permission\",\n \"resource\": \"rpc\",\n \"aud\": \"*\",\n \"lxm\": [\"com.atiproto.recipient.profile.put\"]\n }\n ]\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.cart\",\n \"description\": \"A shopping cart of one-time items and/or subscriptions, payable in one checkout. Signed by the recipient AppView per the network.attested signature scheme. The AppView writes its own cart records directly (no PoS helper required) and signs them so the PoS knows the cart has been validated. When marked as private, `subject` and the line item refs in `items` are absent from the record so a public reader cannot tell who pays whom or what was bought; the issuing PoS retains the hydrated record until shared spaces are available.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"items\", \"currency\", \"status\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the recipient. Absent (null) when marked as private.\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\"\n },\n \"description\": \"Cart line items. Each is a strongRef to a `com.atiproto.item` or `com.atiproto.subscription` record (the at-uri's collection segment identifies which). Empty (or absent) when marked as private.\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"description\": \"Total amount in the smallest unit of `currency`.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"open\",\n \"expired\",\n \"abandoned\",\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\",\n \"fulfilled\"\n ],\n \"description\": \"Lifecycle state of the cart. When `payment` is present, the AppView snapshots the broker payment's status here (pending / completed / failed / refunded / cancelled). Before a payment is attached the cart's own lifecycle states apply (open / expired / abandoned). After fulfillment, the AppView (or merchant integration) advances to `fulfilled` to mark delivery. Open to extension via `knownValues` rather than a hard enum.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"expiresAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"payment\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\",\n \"description\": \"StrongRef to the `network.attested.payment` record settling this cart. Set during checkout (or attached after the fact via `payment.cart.put`). Only the PoS can validate this field, so it is not writable via `com.atproto.repo.putRecord`.\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"Recipient AppView attestation(s). The AppView writes and updates its own cart records directly and signs them so the PoS can trust the validated state. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `items`, `currency`, `status`, plus `subject`, `total`, `createdAt`, `expiresAt`, `completedAt`, and `payment` when present. Mutating any of those fields invalidates every signature in this array.\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"Hydrated cart view returned by PoS get endpoints.\",\n \"required\": [\"uri\", \"items\", \"currency\", \"status\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\"\n }\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3\n },\n \"total\": {\n \"type\": \"integer\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"open\",\n \"expired\",\n \"abandoned\",\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\",\n \"fulfilled\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"expiresAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"payment\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"network.attested.signature\", \"com.atproto.repo.strongRef\"]\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.item\",\n \"description\": \"A one-time payment line item from a sender to a recipient or to a specific record (e.g. a post). Created as part of a `com.atiproto.cart`; the cart owns `currency`. Co-signed by the PoS and the recipient AppView. When marked as private, `subject` is absent from the stored record so a public reader cannot tell who or what was paid for; the issuing PoS retains the hydrated record.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"amount\", \"quantity\", \"status\", \"createdAt\", \"signatures\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\"com.atproto.repo.strongRef\", \"#userRef\"],\n \"description\": \"Reference to the entity being paid for. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a post) or a `#userRef` (a thin wrapper carrying a did string for the user being paid). Absent when marked as private.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Per-unit amount in the smallest unit of the cart's `currency` (0 when the recipient permits zero-value items). Multiply by `quantity` for the line total.\"\n },\n \"quantity\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"default\": 1,\n \"description\": \"Number of units of this item. Defaults to 1.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"description\": \"Implementation-defined status string. PoS does not enforce or interpret this value; payment / cart state lives on the cart's `status` field.\"\n },\n \"message\": {\n \"type\": \"string\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000,\n \"description\": \"Optional message attached to the item.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"PoS + recipient AppView attestations. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `amount`, `quantity`, `status`, `createdAt`, plus `subject`, `message`, and `completedAt` when present. Mutating any of those fields invalidates every signature in this array.\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"amount\", \"quantity\", \"status\", \"createdAt\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n },\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\"com.atproto.repo.strongRef\", \"#userRef\"]\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"quantity\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"default\": 1\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"message\": {\n \"type\": \"string\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"network.attested.signature\", \"com.atproto.repo.strongRef\"]\n }\n }\n }\n },\n \"userRef\": {\n \"type\": \"object\",\n \"description\": \"Thin wrapper that carries a bare did string for the user being paid. The wire shape is `{ \\\"$type\\\": \\\"com.atiproto.item#userRef\\\", \\\"did\\\": \\\"did:plc:...\\\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or.\",\n \"required\": [\"did\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.profile\",\n \"description\": \"A user's payment profile. Records per-channel accepts flags. The user's preferred broker list lives in the DID document's `service[]` block (as `PaymentBroker` entries), not on this record; any compliant PoS or broker resolves who handles payments by reading the DID document.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"literal:self\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"createdAt\"],\n \"properties\": {\n \"acceptsItems\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user accepts one-time items (default: true).\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user accepts subscriptions (default: true).\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"Profile view for API responses. `brokers` and `acceptingPayments` are server-derived from the user's DID document; they are not stored on the record.\",\n \"required\": [\"uri\", \"createdAt\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"acceptsItems\": {\n \"type\": \"boolean\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\"\n },\n \"acceptingPayments\": {\n \"type\": \"boolean\",\n \"description\": \"True when the user's DID document advertises at least one `PaymentBroker` service entry. For v2, the mere presence of a broker is taken as readiness.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"updatedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.subscription\",\n \"description\": \"A recurring payment line item from a sender to a recipient or to a specific record (e.g. a paid feed or post stream). Created as part of a `com.atiproto.cart`; the cart owns `currency`. Co-signed by the PoS and the recipient AppView. When marked as private, `subject` is absent from the stored record so a public reader cannot tell who or what is being subscribed to; the issuing PoS retains the hydrated record.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\n \"amount\",\n \"interval\",\n \"status\",\n \"billingStartDate\",\n \"createdAt\",\n \"signatures\"\n ],\n \"properties\": {\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\"com.atproto.repo.strongRef\", \"#userRef\"],\n \"description\": \"Reference to the entity being subscribed to. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a paid feed) or a `#userRef` (a thin wrapper carrying a did string for the user being subscribed to). Absent when marked as private.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Per-period subscription amount in the smallest unit of the cart's `currency` (0 for free).\"\n },\n \"interval\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.payment.initiate#namedInterval\",\n \"network.attested.payment.initiate#customInterval\"\n ],\n \"description\": \"Billing cadence. Mirrors `network.attested.payment.initiate#interval`: either `network.attested.payment.initiate#namedInterval` (weekly / monthly / yearly) or `network.attested.payment.initiate#customInterval` (`{ days: integer >= 1 }`).\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"pending\",\n \"active\",\n \"past_due\",\n \"cancelled\",\n \"expired\"\n ],\n \"description\": \"Subscription lifecycle state. Open to extension via `knownValues`; PoS continues to interpret these values for subscription-specific flows (renewal, dunning, etc.).\"\n },\n \"billingStartDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"First billing period; can be used to derive recurrence.\"\n },\n \"cancelledAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"accessUntil\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Date until which the subscriber retains access after cancellation.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"PoS + recipient AppView attestations. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `amount`, `interval`, `status`, `billingStartDate`, `createdAt`, plus `subject`, `cancelledAt`, and `accessUntil` when present. Mutating any of those fields invalidates every signature in this array.\"\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"required\": [\n \"uri\",\n \"amount\",\n \"interval\",\n \"status\",\n \"billingStartDate\",\n \"createdAt\"\n ],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n },\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\"com.atproto.repo.strongRef\", \"#userRef\"]\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"interval\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.payment.initiate#namedInterval\",\n \"network.attested.payment.initiate#customInterval\"\n ]\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"pending\",\n \"active\",\n \"past_due\",\n \"cancelled\",\n \"expired\"\n ]\n },\n \"billingStartDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"renewalDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Next scheduled renewal/billing date. Server-derived from the billing schedule; not stored on the record.\"\n },\n \"cancelledAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"accessUntil\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"network.attested.signature\", \"com.atproto.repo.strongRef\"]\n }\n }\n }\n },\n \"userRef\": {\n \"type\": \"object\",\n \"description\": \"Thin wrapper that carries a bare did string for the user being subscribed to. The wire shape is `{ \\\"$type\\\": \\\"com.atiproto.subscription#userRef\\\", \\\"did\\\": \\\"did:plc:...\\\" }`; pair with `com.atproto.repo.strongRef` in a `subject` union to express either-or.\",\n \"required\": [\"did\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.checkout\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Check out an existing cart. The cart record already carries subject, items, currency, and total; this procedure only needs the cart uri. When a `broker` is pre-seeded, the PoS runs the broker's `network.attested.payment.initiate` (today via outbound workflow, in the future direct) and the response carries `checkoutUrl` plus a strongRef `payment`. When no broker is pre-seeded, `payment` carries an `#initiateRequest` shape the caller can use to invoke a broker themselves. Callers inspect `$type` on `payment` to discriminate the two cases.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"cart\"],\n \"properties\": {\n \"cart\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the existing cart to check out.\"\n },\n \"broker\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional. did:web of a single broker to route initiate through. When omitted, the response's `payment` carries the unfilled initiate request instead of a strongRef.\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URI the processor should redirect to after checkout completion or cancellation. Used when a broker is provided.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope carrying the broker's `network.attested.payment.initiate` response. Present only on agent-driven callbacks.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"payment\"],\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions (typically a single call to `network.attested.payment.initiate`) and calls back. When absent, this is the final native result.\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Processor-hosted checkout URL. Present only when a `broker` was provided and initiate succeeded.\"\n },\n \"payment\": {\n \"type\": \"union\",\n \"refs\": [\"com.atproto.repo.strongRef\", \"#initiateRequest\"],\n \"description\": \"Either a `com.atproto.repo.strongRef` to the newly created `network.attested.payment` record (when a broker was provided and initiate completed) or an `#initiateRequest` shape mirroring `network.attested.payment.initiate` input (when no broker was provided; the caller routes to a broker themselves). Callers discriminate by `$type`.\"\n }\n }\n }\n }\n },\n \"initiateRequest\": {\n \"type\": \"object\",\n \"description\": \"Unfilled `network.attested.payment.initiate` input. Returned in the `payment` field when the caller did not pre-seed a broker; the caller fills in their chosen broker and invokes initiate, then uses `payment.cart.put` to attach the resulting payment ref.\",\n \"required\": [\"subject\", \"items\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the payment recipient (mirrors the cart's subject).\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.payment.initiate#oneTime\",\n \"network.attested.payment.initiate#recurring\"\n ]\n },\n \"description\": \"Line items derived from the cart, ready to forward to a broker's `network.attested.payment.initiate`.\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URI the processor should redirect to after checkout completion or cancellation, when the caller is ready to provide one.\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create a new, empty cart on the PoS. The PoS signs the cart record and returns it via the standard workflow envelope so the agent can write the stripped form to the payer's PDS. Distinct from `payment.cart.checkout`: this only builds the cart, no broker is contacted and no `checkoutUrl` is issued.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"currency\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the recipient. Required on create so the PoS knows whom the cart targets. Stripped from the PDS record when private (the default).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code.\"\n },\n \"private\": {\n \"type\": \"boolean\",\n \"default\": true,\n \"description\": \"If true (the default), the issued cart record omits `subject` and `items` line item refs so a public reader cannot tell who pays whom or what was bought.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"cart\"],\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions (typically a single PDS write of the stripped cart) and calls back. When absent, this is the final native result.\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\",\n \"description\": \"The signed cart view (status: open).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate a cart by uri. Includes the resolved item and subscription records that the cart references. Broker payment state is reflected on the cart's own `status` field (snapshot maintained by the recipient AppView), so no separate payment lookup is needed.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"cart\", \"items\"],\n \"properties\": {\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"com.atiproto.item#view\",\n \"com.atiproto.subscription#view\"\n ]\n },\n \"description\": \"Resolved item and subscription records referenced by this cart. Discriminated by `$type`.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List carts created by the authenticated user. Supports filtering by recipient subject, a specific record (an item / subscription line, or the subject the line points at), and cart status (cart and broker payment statuses are unified on the cart's `status` field).\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return carts whose items pay this recipient DID.\"\n },\n \"record\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Pass an at-uri to a specific record (an item / subscription line, a post, a feed, etc.) or `at://did:plc:...` (a repo-level at-uri) to match by user DID. Matches when the cart has a line item with this strongRef in `items[*]`, or when the at-uri equals the `subject` of any line item.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"open\",\n \"expired\",\n \"abandoned\",\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\",\n \"fulfilled\"\n ],\n \"description\": \"Filter by cart status. Accepts cart-lifecycle values (open / expired / abandoned / fulfilled) or broker-payment-snapshot values (pending / completed / failed / refunded / cancelled).\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor.\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"default\": 20,\n \"minimum\": 1,\n \"maximum\": 100,\n \"description\": \"Results per page (1-100, default: 20).\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"carts\"],\n \"properties\": {\n \"carts\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.cart.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update a cart.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart to update.\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create an item.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"amount\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\n \"com.atproto.repo.strongRef\",\n \"com.atiproto.item#userRef\"\n ],\n \"description\": \"Reference to the entity being paid for. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a post) or a `com.atiproto.item#userRef` (a thin wrapper carrying a did string).\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Per-unit amount in the smallest unit of `currency`.\"\n },\n \"quantity\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"default\": 1,\n \"description\": \"Number of units. Defaults to 1.\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code. Required when `cartUri` is blank; otherwise ignored (the cart's currency is used).\"\n },\n \"message\": {\n \"type\": \"string\",\n \"maxGraphemes\": 500,\n \"maxLength\": 5000,\n \"description\": \"Optional message attached to the item.\"\n },\n \"private\": {\n \"type\": \"boolean\",\n \"description\": \"Optional. When `cartUri` is blank, defaults to true (the issued cart's items are private). Ignored when `cartUri` is supplied (the existing cart's privacy mode applies).\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional URI of an existing open cart to add this item to. The cart record is re-signed if updated.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"item\"],\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\",\n \"description\": \"The signed item view (status: pending).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate an item record by uri. The authenticated user must be the sender. Search filters that were previously on this endpoint live on `payment.item.list`.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the item record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"item\"],\n \"properties\": {\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List items sent by the authenticated user.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Mirror of the item's `subject` union: pass an at-uri to a specific record (matches items whose `subject` is that record), or pass `at://did:plc:...` (a repo-level at-uri) to match items whose `subject` is a `#userRef` carrying that DID.\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"items\"],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.item.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update an item.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the item record to update\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Updated item record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"New CID of the updated record\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.cancel\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Cancel an active subscription. Should be implemented by broker. May be implemented by PoS to orchestrate with broker.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptionUri\"],\n \"properties\": {\n \"subscriptionUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the subscription to cancel.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n },\n \"accessUntil\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Timestamp when access expires.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.create\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create a subscription.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"interval\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"union\",\n \"refs\": [\n \"com.atproto.repo.strongRef\",\n \"com.atiproto.subscription#userRef\"\n ],\n \"description\": \"Reference to the entity being subscribed to. Either a `com.atproto.repo.strongRef` (a specific record, e.g. a paid feed) or a `com.atiproto.subscription#userRef` (a thin wrapper carrying a did string).\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Subscription amount in the smallest unit of `currency` (0 for free).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code. Required when `cartUri` is blank; otherwise ignored (the cart's currency is used).\"\n },\n \"interval\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.payment.initiate#namedInterval\",\n \"network.attested.payment.initiate#customInterval\"\n ],\n \"description\": \"Billing cadence. Mirrors `network.attested.payment.initiate#interval`: either `network.attested.payment.initiate#namedInterval` (weekly / monthly / yearly) or `network.attested.payment.initiate#customInterval` (`{ days: integer >= 1 }`).\"\n },\n \"billingStartDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Optional first billing period. Defaults to the time the broker settles the underlying checkout.\"\n },\n \"private\": {\n \"type\": \"boolean\",\n \"description\": \"Optional. When `cartUri` is blank, defaults to true (the issued cart's items are private). Ignored when `cartUri` is supplied (the existing cart's privacy mode applies).\"\n },\n \"cartUri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional URI of an existing open cart to add this subscription to. The cart record is re-signed if updated.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscription\"],\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\",\n \"description\": \"The newly created subscription view (status: pending).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate a subscription record by uri. The authenticated user must be the sender. Search filters that were previously on this endpoint live on `payment.subscription.list`.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the subscription record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscription\"],\n \"properties\": {\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List subscriptions sent by the authenticated user.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Mirror of the subscription's `subject` union: pass an at-uri to a specific record (e.g. a paid feed) or `at://did:plc:...` (a repo-level at-uri) to match subscriptions whose `subject` is a `#userRef` carrying that DID.\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptions\"],\n \"properties\": {\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.payment.subscription.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Update a subscription.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"record\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"AT-URI of the subscription record to update\"\n },\n \"record\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Updated subscription record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"New CID of the updated record\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.profile.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Get the authenticated user's payment-related state. The PoS variant returns the user's profile and their broker list (the same list `repo.profile.get` would surface). The broker variant returns a `brokerView` describing this user's onboarding state with that broker plus a fresh onboarding link.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Optional. URL the broker embeds in the returned `onboardingUrl` so the user is sent back here after completing (or cancelling) onboarding. Brokers should honor this when their hosted flow supports a return URL; ignored by the PoS variant.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"The user's profile view. Present only when the responder is a PoS (not a broker).\"\n },\n \"brokers\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"description\": \"Ordered list of broker DIDs from the user's DID document, identical to the array returned by `repo.profile.get`. Present only when the responder is a PoS.\"\n },\n \"broker\": {\n \"type\": \"ref\",\n \"ref\": \"#brokerView\",\n \"description\": \"Broker-side view: the broker DID, this user's account status with that broker, and a fresh onboarding link. Present only when the responder is a broker.\"\n }\n }\n }\n }\n },\n \"brokerView\": {\n \"type\": \"object\",\n \"description\": \"Broker-side view of the authed user's account. Returned only when `recipient.profile.get` is called on a broker (rather than a PoS).\",\n \"required\": [\"did\", \"status\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the broker answering the request.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"none\",\n \"pending\",\n \"needs_info\",\n \"ready\",\n \"restricted\",\n \"disabled\"\n ],\n \"description\": \"Broker-defined onboarding state for the authed user. `ready` means the user can receive payouts; the other values indicate where onboarding is and whether action is needed.\"\n },\n \"onboardingUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Optional. Fresh broker-hosted onboarding link. Clients should redirect the user here to complete (or update) their account. When `redirectUrl` was supplied on the request, the broker embeds it so the user lands back at the caller after onboarding.\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.profile.put\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Create or update the authenticated user's profile settings\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"acceptsItems\": {\n \"type\": \"boolean\",\n \"description\": \"Enable accepting items\"\n },\n \"acceptsSubscriptions\": {\n \"type\": \"boolean\",\n \"description\": \"Enable accepting subscriptions\"\n },\n \"disableReceiptNotifications\": {\n \"type\": \"boolean\",\n \"description\": \"Opt out of payment receipt DMs\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#inboundWorkflow\",\n \"description\": \"Workflow callback envelope. Present on agent-driven callbacks; absent on initial calls.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Workflow envelope. When present, the agent runs the actions and calls back. When absent, this is the final native result.\"\n },\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Profile record URI\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"Profile record CID\"\n },\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"The profile record data\"\n },\n \"hasProfile\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user has saved a profile record\"\n },\n \"readyForPayment\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the user's payment account is set up and enabled\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.cart.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate an incoming cart by uri (a cart whose items target the authenticated user). Includes the resolved item and subscription records that target this user.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the cart record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"cart\", \"items\"],\n \"properties\": {\n \"cart\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"com.atiproto.item#view\",\n \"com.atiproto.subscription#view\"\n ]\n },\n \"description\": \"Resolved item and subscription records in this cart that target the authed user. Discriminated by `$type`.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.cart.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List carts whose items pay the authenticated user (carts targeting this user as a payment recipient). Read-only, no PDS writes.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return carts created by this sender DID.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"open\",\n \"expired\",\n \"abandoned\",\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\",\n \"fulfilled\"\n ],\n \"description\": \"Filter by cart status. Accepts cart-lifecycle values (open / expired / abandoned / fulfilled) or broker-payment-snapshot values (pending / completed / failed / refunded / cancelled).\"\n },\n \"startDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Optional: only return carts whose `createdAt` is on or after this timestamp.\"\n },\n \"endDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Optional: only return carts whose `createdAt` is on or before this timestamp.\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor.\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"default\": 20,\n \"minimum\": 1,\n \"maximum\": 100,\n \"description\": \"Results per page (1-100, default: 20).\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"carts\"],\n \"properties\": {\n \"carts\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.cart#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.item.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate an incoming item record by uri (the authenticated user must be the recipient/subject). Search filters that were previously on this endpoint live on `recipient.payment.item.list`.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the item record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"item\"],\n \"properties\": {\n \"item\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.item.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List items received by the authenticated user (items whose `subject` is the authed user, or whose `record` points at a record the authed user owns). Includes items marked private, which are retained server-side.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return items sent by this DID.\"\n },\n \"record\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Pass an at-uri to a specific record (the item's `subject` strongRef), or `at://did:plc:...` (a repo-level at-uri) to match items whose `subject` is a `#userRef` carrying that DID.\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"items\"],\n \"properties\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.item#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.subscription.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Hydrate an incoming subscription record by uri (the authenticated user must be the recipient/subject). Search filters that were previously on this endpoint live on `recipient.payment.subscription.list`.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the subscription record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscription\"],\n \"properties\": {\n \"subscription\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.recipient.payment.subscription.list\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"List subscriptions received by the authenticated user (subscriptions whose `subject` is the authed user, or whose `record` points at a record the authed user owns). Includes subscriptions marked private, which are retained server-side.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"sender\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional: only return subscriptions sent by this DID.\"\n },\n \"record\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Pass an at-uri to a specific record (the subscription's `subject` strongRef), or `at://did:plc:...` (a repo-level at-uri) to match subscriptions whose `subject` is a `#userRef` carrying that DID.\"\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor\"\n },\n \"limit\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 50,\n \"description\": \"Results per page (1-100, default: 50)\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subscriptions\"],\n \"properties\": {\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.subscription#view\"\n }\n },\n \"cursor\": {\n \"type\": \"string\",\n \"maxLength\": 512,\n \"description\": \"Pagination cursor for next page\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.item.count\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Count active (completed) items. When `record` is provided, counts items targeting that at-uri (either a specific record or, when the at-uri is repo-level like `at://did:plc:...`, all items received by that user). When omitted, counts items sent by the authenticated user. Optionally filtered by a start/end datetime window. When the authenticated caller is the subject/owner of the target (or counting their own sent items), the response also includes the sum of amounts.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"record\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Pass an at-uri to a specific record (the item's `subject` strongRef), or `at://did:plc:...` (a repo-level at-uri) to match items whose `subject` is a `#userRef` carrying that DID. Omit to count items sent by the authenticated user.\"\n },\n \"startDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count items completed at or after this timestamp.\"\n },\n \"endDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count items completed at or before this timestamp.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"count\"],\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"description\": \"Number of active (completed) items matching the filter.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Sum of all item amounts in the smallest unit of `currency`. Only returned when the authenticated caller is the subject/owner of the target (or when counting their own sent items).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the summed amount. Only returned when the authenticated caller is the subject/owner of the target (or when counting their own sent items).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.profile.get\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Look up public profile information for any user\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"did\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the user to look up\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"did\", \"profile\"],\n \"properties\": {\n \"did\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"User's DID\"\n },\n \"profile\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.profile#view\",\n \"description\": \"Public profile data\"\n },\n \"brokers\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"description\": \"Ordered list of the user's preferred broker DIDs. Server-derived: the PoS reads the user's DID document, filters `service[]` entries with `type: \\\"PaymentBroker\\\"`, and returns each entry's DID (the portion of `id` before `#payment-broker`). First broker that accepts the payment processes it.\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"com.atiproto.repo.subscription.count\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Count active subscriptions. When `record` is provided, counts subscriptions targeting that at-uri (either a specific record or, when the at-uri is repo-level like `at://did:plc:...`, all subscriptions the named user receives). When omitted, counts subscriptions the authenticated user has active as the subscriber. Optionally filtered by a start/end datetime window (matching `billingStartDate`). When the authenticated caller is the subject/owner of the target (or counting their own active subscriptions), the response also includes the sum of amounts.\",\n \"parameters\": {\n \"type\": \"params\",\n \"properties\": {\n \"record\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"Optional. Pass an at-uri to a specific record (the subscription's `subject` strongRef), or `at://did:plc:...` (a repo-level at-uri) to match subscriptions whose `subject` is a `#userRef` carrying that DID. Omit to count subscriptions the authenticated caller is the subscriber on.\"\n },\n \"startDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count subscriptions whose `billingStartDate` is at or after this timestamp.\"\n },\n \"endDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Only count subscriptions whose `billingStartDate` is at or before this timestamp.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"count\"],\n \"properties\": {\n \"count\": {\n \"type\": \"integer\",\n \"description\": \"Number of active subscriptions matching the filter.\"\n },\n \"amount\": {\n \"type\": \"integer\",\n \"description\": \"Sum of all subscription amounts in the smallest unit of `currency`. Only returned when the authenticated caller is the subject/owner of the target (or when counting their own active subscriptions).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"Currency of the summed amount. Only returned when the authenticated caller is the subject/owner of the target (or when counting their own active subscriptions).\"\n }\n }\n }\n }\n }\n }\n}\n","{\n \"defs\": {\n \"main\": {\n \"properties\": {\n \"cid\": {\n \"format\": \"cid\",\n \"type\": \"string\"\n },\n \"uri\": {\n \"format\": \"at-uri\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"uri\",\n \"cid\"\n ],\n \"type\": \"object\"\n }\n },\n \"description\": \"A URI with a content-hash fingerprint.\",\n \"id\": \"com.atproto.repo.strongRef\",\n \"lexicon\": 1\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.signature\",\n \"description\": \"Inline attestation entry per the badge.blue scheme. Embedded directly in a record's `signatures` array. Required fields are `key`, `cid`, and `signature` itself; identity / role metadata (`issuer`, `issuedAt`, `purpose`) is optional. For remote attestations, use `com.atproto.repo.strongRef` in the signatures array instead (typically pointing at a `network.attested.proof` record).\",\n \"defs\": {\n \"main\": {\n \"type\": \"object\",\n \"required\": [\"key\", \"cid\", \"signature\"],\n \"properties\": {\n \"key\": {\n \"type\": \"string\",\n \"maxLength\": 256,\n \"description\": \"did:key public-key reference used to verify this signature.\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"CID of the canonical signing payload (the record with `signatures` stripped, `$sig` metadata inserted including the repository DID, DAG-CBOR encoded, SHA-256 wrapped as CIDv1).\"\n },\n \"signature\": {\n \"type\": \"bytes\",\n \"maxLength\": 256,\n \"description\": \"Normalized ECDSA signature bytes over the CID. Curve is inferred from `key` (P-256, P-384, or K-256). Serialized as `{ \\\"$bytes\\\": \\\"<base64>\\\" }` per lex bytes encoding.\"\n },\n \"issuer\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional. DID of the issuing party. Useful when `key` does not directly identify the issuer.\"\n },\n \"issuedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Optional. When the signature was produced.\"\n },\n \"role\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\"broker\", \"pos\", \"appview\", \"co-signer\"],\n \"description\": \"Optional. Role under which the issuer signed. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.proof\",\n \"description\": \"Remote attestation proof record per the badge.blue scheme. Stored independently in the issuer's repository. Source records reference a proof by appending a `com.atproto.repo.strongRef` (pointing at this record) to their `signatures` array. The signature is implicit: the issuer's PDS commit covering this record is the attestation.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"cid\"],\n \"properties\": {\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"CID of the canonical signing payload of the source record being attested (same computation as `network.attested.signature.cid`).\"\n },\n \"status\": {\n \"type\": \"string\",\n \"description\": \"Optional status indicator for the attestation (implementation-defined).\"\n },\n \"issuer\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional. DID of the issuing party. Usually redundant with the repository owner; useful when the record was written by a delegate or when the issuer wants to be explicit.\"\n },\n \"role\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\"broker\", \"pos\", \"appview\", \"co-signer\"],\n \"description\": \"Optional. Role under which the issuer attested. Lets verifiers reason about completeness (e.g. require both PoS and AppView attestations on a cart).\"\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.payment\",\n \"description\": \"A minimal record attesting that a payment was performed, signed by the broker. Carries only status, broker identity, timestamps, and signatures by default; the recipient `subject` is optional and absent unless the issuer opts in to publishing it. Line item details live in the `network.attested.payment.initiate` input, not on the record itself; carts and entitlements reference this record by uri.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"status\", \"broker\", \"createdAt\", \"signatures\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"Optional DID of the payment recipient. Absent by default; Broker expected to retain the recipient information internally. Setting this on the record makes the recipient publicly visible.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\"\n ]\n },\n \"broker\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the broker that issued and is settling this payment.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"Set when `status === completed`.\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"Broker attestation(s). Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `status`, `broker`, `createdAt`, plus `subject` and `completedAt` when present. Mutating any of those fields invalidates every signature in this array.\"\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.entitlement\",\n \"description\": \"A standalone, lexicon-agnostic entitlement record issued by the PoS as a post-checkout completion step. Carries the entitled subject and a strongRef array of records the subject is entitled to as a result of the linked payment. Signed by the PoS. `subject` and `entitlements` are absent when the record is marked as private; only the existence of an entitlement (with `payment` and signatures) remains.\",\n \"defs\": {\n \"main\": {\n \"type\": \"record\",\n \"key\": \"any\",\n \"record\": {\n \"type\": \"object\",\n \"required\": [\"payment\", \"createdAt\", \"signatures\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the entitled party. Absent (null) when marked as private.\"\n },\n \"entitlements\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\"\n },\n \"description\": \"Strong references to the records the subject is entitled to. Lexicon-agnostic: refs may point at any record type. Empty (or absent) when marked as private.\"\n },\n \"payment\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\",\n \"description\": \"StrongRef to the `network.attested.payment` record that justified this entitlement. Entitlements reference payments; payments do not reference carts or entitlements back.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"PoS attestation(s). Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` pointing at a remote `network.attested.proof` record. The canonical signing payload covers `payment`, `createdAt`, plus `subject` and `entitlements` when present. Mutating any of those fields invalidates every signature in this array.\"\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.payment.initiate\",\n \"defs\": {\n \"main\": {\n \"type\": \"procedure\",\n \"description\": \"Broker-side checkout procedure. Creates a pending `network.attested.payment` record signed by the broker and returns a checkout URL plus a strongRef to the payment. Line item details are retained internally by the broker; they do not appear on the resulting record.\",\n \"input\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"subject\", \"items\"],\n \"properties\": {\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the payment recipient. Required by the broker so it knows whom to pay; the resulting `network.attested.payment` record only carries `subject` if the issuer opts in to publishing it.\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"#oneTime\", \"#recurring\"]\n },\n \"description\": \"Line items being paid for. Each entry is discriminated by `$type` as `#oneTime` or `#recurring`.\"\n },\n \"redirectUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"URI the processor should redirect to after checkout completion or cancellation.\"\n }\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"payment\", \"checkoutUrl\"],\n \"properties\": {\n \"payment\": {\n \"type\": \"ref\",\n \"ref\": \"com.atproto.repo.strongRef\",\n \"description\": \"StrongRef to the newly created `network.attested.payment` record.\"\n },\n \"checkoutUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"Processor-hosted checkout URL the payer should be redirected to.\"\n }\n }\n }\n }\n },\n \"oneTime\": {\n \"type\": \"object\",\n \"description\": \"A one-time line item.\",\n \"required\": [\"description\", \"amount\", \"currency\"],\n \"properties\": {\n \"description\": {\n \"type\": \"string\",\n \"maxLength\": 256\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Line total in the smallest unit of `currency` (PoS-side quantity is already multiplied in).\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code.\"\n }\n }\n },\n \"recurring\": {\n \"type\": \"object\",\n \"description\": \"A recurring line item billed at a fixed interval.\",\n \"required\": [\"description\", \"amount\", \"currency\", \"interval\"],\n \"properties\": {\n \"description\": {\n \"type\": \"string\",\n \"maxLength\": 256\n },\n \"amount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Per-period amount in the smallest unit of `currency`.\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code.\"\n },\n \"interval\": {\n \"type\": \"union\",\n \"refs\": [\"#namedInterval\", \"#customInterval\"],\n \"description\": \"Billing cadence. Discriminated by `$type`: `#namedInterval` for the common cases (weekly / monthly / yearly), `#customInterval` for a custom number of days.\"\n },\n \"billingStartDate\": {\n \"type\": \"string\",\n \"format\": \"datetime\",\n \"description\": \"First billing period.\"\n }\n }\n },\n \"namedInterval\": {\n \"type\": \"object\",\n \"description\": \"One of the well-known billing cadences.\",\n \"required\": [\"value\"],\n \"properties\": {\n \"value\": {\n \"type\": \"string\",\n \"maxLength\": 16,\n \"enum\": [\"weekly\", \"monthly\", \"yearly\"]\n }\n }\n },\n \"customInterval\": {\n \"type\": \"object\",\n \"description\": \"An arbitrary number-of-days interval. Lets callers set non-standard cadences (every 14 days, every 90 days, etc.).\",\n \"required\": [\"days\"],\n \"properties\": {\n \"days\": {\n \"type\": \"integer\",\n \"minimum\": 1,\n \"description\": \"Length of one billing period in days.\"\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.payment.status\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Look up a `network.attested.payment` record by uri. Returns a `#view`: status, broker, timestamps, and signatures are always present; private fields (`subject`, `items`, `total`, `currency`) are auto-filled by the broker only when the caller is one of the signing parties.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the network.attested.payment record.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"payment\"],\n \"properties\": {\n \"payment\": {\n \"type\": \"ref\",\n \"ref\": \"#view\"\n }\n }\n }\n }\n },\n \"view\": {\n \"type\": \"object\",\n \"description\": \"Hydrated view of a `network.attested.payment` record. Shape mirrors the `network.attested.payment.initiate` input plus `total`, the record's uri/cid, and signatures. Private fields (`subject`, `items`, `total`, `currency`) are auto-filled by the broker only when the caller is one of the signing parties; for other callers, the view degrades to the record's public surface.\",\n \"required\": [\"uri\", \"status\", \"broker\", \"createdAt\", \"signatures\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"format\": \"did\",\n \"description\": \"DID of the payment recipient. Auto-filled when the caller is authorized; absent otherwise.\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.payment.initiate#oneTime\",\n \"network.attested.payment.initiate#recurring\"\n ]\n },\n \"description\": \"Line items as supplied to `initiate`. Auto-filled when the caller is authorized; absent otherwise.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Sum of line item amounts in the smallest currency unit. Auto-filled when the caller is authorized; absent otherwise.\"\n },\n \"currency\": {\n \"type\": \"string\",\n \"maxLength\": 3,\n \"description\": \"ISO 4217 currency code of `total`. Auto-filled when the caller is authorized; absent otherwise.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"maxLength\": 64,\n \"knownValues\": [\n \"pending\",\n \"completed\",\n \"failed\",\n \"refunded\",\n \"cancelled\"\n ]\n },\n \"broker\": {\n \"type\": \"string\",\n \"format\": \"did\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"completedAt\": {\n \"type\": \"string\",\n \"format\": \"datetime\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\"network.attested.signature\", \"com.atproto.repo.strongRef\"]\n }\n }\n }\n }\n }\n}\n","{\n \"lexicon\": 1,\n \"id\": \"network.attested.verify\",\n \"defs\": {\n \"main\": {\n \"type\": \"query\",\n \"description\": \"Verify signatures on a signed record (`network.attested.payment`, `network.attested.entitlement`, or any `com.atiproto.*` record using the same scheme). Open to any caller. Implemented by both brokers (over their `network.attested.payment` records) and the PoS (over its own records). To retrieve hydrated payment details, call `network.attested.payment.status`, which auto-fills private fields when the caller is a signing party.\",\n \"parameters\": {\n \"type\": \"params\",\n \"required\": [\"uri\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\",\n \"description\": \"URI of the record to verify.\"\n }\n }\n },\n \"output\": {\n \"encoding\": \"application/json\",\n \"schema\": {\n \"type\": \"object\",\n \"required\": [\"uri\", \"valid\", \"signatures\"],\n \"properties\": {\n \"uri\": {\n \"type\": \"string\",\n \"format\": \"at-uri\"\n },\n \"cid\": {\n \"type\": \"string\",\n \"format\": \"cid\",\n \"description\": \"CID of the record at verification time.\"\n },\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"True when every signature in `signatures` validates against the canonical signing payload.\"\n },\n \"signatures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"union\",\n \"refs\": [\n \"network.attested.signature\",\n \"com.atproto.repo.strongRef\"\n ]\n },\n \"description\": \"Verified signatures from the record. Each entry is either an inline `network.attested.signature` or a `com.atproto.repo.strongRef` to a remote `network.attested.proof` record.\"\n },\n \"workflow\": {\n \"type\": \"ref\",\n \"ref\": \"com.atiproto.actions#outboundWorkflow\",\n \"description\": \"Optional. Present when cross-layer verification requires the agent to call the other party (e.g. PoS verifying a cart wants the broker's payment status).\"\n }\n }\n }\n }\n }\n }\n}\n","import type { LexiconDoc } from \"@atproto/lexicon\";\n\nimport Actions from \"./schemas/actions.json\";\nimport AuthReadEntitlements from \"./schemas/authReadEntitlements.json\";\nimport AuthReadCart from \"./schemas/authReadCart.json\";\nimport AuthReadPayments from \"./schemas/authReadPayments.json\";\nimport AuthReadPublic from \"./schemas/authReadPublic.json\";\nimport AuthCreateCart from \"./schemas/authCreateCart.json\";\nimport AuthCreatePayment from \"./schemas/authCreatePayment.json\";\nimport AuthReadRecipient from \"./schemas/authReadRecipient.json\";\nimport AuthWriteProfile from \"./schemas/authWriteProfile.json\";\nimport Cart from \"./schemas/cart.json\";\nimport Item from \"./schemas/item.json\";\nimport Profile from \"./schemas/profile.json\";\nimport Subscription from \"./schemas/subscription.json\";\n\nimport PaymentCartCheckout from \"./schemas/payment/cart/checkout.json\";\nimport PaymentCartCreate from \"./schemas/payment/cart/create.json\";\nimport PaymentCartGet from \"./schemas/payment/cart/get.json\";\nimport PaymentCartList from \"./schemas/payment/cart/list.json\";\nimport PaymentCartPut from \"./schemas/payment/cart/put.json\";\nimport PaymentItemCreate from \"./schemas/payment/item/create.json\";\nimport PaymentItemGet from \"./schemas/payment/item/get.json\";\nimport PaymentItemList from \"./schemas/payment/item/list.json\";\nimport PaymentItemPut from \"./schemas/payment/item/put.json\";\nimport PaymentSubscriptionCancel from \"./schemas/payment/subscription/cancel.json\";\nimport PaymentSubscriptionCreate from \"./schemas/payment/subscription/create.json\";\nimport PaymentSubscriptionGet from \"./schemas/payment/subscription/get.json\";\nimport PaymentSubscriptionList from \"./schemas/payment/subscription/list.json\";\nimport PaymentSubscriptionPut from \"./schemas/payment/subscription/put.json\";\n\nimport RecipientProfileGet from \"./schemas/recipient/profile/get.json\";\nimport RecipientProfilePut from \"./schemas/recipient/profile/put.json\";\nimport RecipientPaymentCartGet from \"./schemas/recipient/payment/cart/get.json\";\nimport RecipientPaymentCartList from \"./schemas/recipient/payment/cart/list.json\";\nimport RecipientPaymentItemGet from \"./schemas/recipient/payment/item/get.json\";\nimport RecipientPaymentItemList from \"./schemas/recipient/payment/item/list.json\";\nimport RecipientPaymentSubscriptionGet from \"./schemas/recipient/payment/subscription/get.json\";\nimport RecipientPaymentSubscriptionList from \"./schemas/recipient/payment/subscription/list.json\";\n\nimport RepoItemCount from \"./schemas/repo/item/count.json\";\nimport RepoProfileGet from \"./schemas/repo/profile/get.json\";\nimport RepoSubscriptionCount from \"./schemas/repo/subscription/count.json\";\n\n// `network.attested.*` is a shared cross-party protocol vocabulary defined\n// upstream by attested.network. The JSON drafts in `associated-schemas/` are\n// our proposed contributions; they ship in this package so the agent and docs\n// can consume them, but the source of truth is upstream. The same folder\n// vendors stock atproto schemas we depend on (e.g. `com.atproto.repo.strongRef`,\n// pulled via `goat lex pull`) so the lex builder can resolve cross-authority\n// refs without our schemas needing to inline them.\nimport AtprotoRepoStrongRef from \"./associated-schemas/strongRef.json\";\nimport NetworkAttestedSignature from \"./associated-schemas/signature.json\";\nimport NetworkAttestedProof from \"./associated-schemas/proof.json\";\nimport NetworkAttestedPayment from \"./associated-schemas/payment.json\";\nimport NetworkAttestedEntitlement from \"./associated-schemas/entitlement.json\";\nimport NetworkAttestedPaymentInitiate from \"./associated-schemas/payment/initiate.json\";\nimport NetworkAttestedPaymentStatus from \"./associated-schemas/payment/status.json\";\nimport NetworkAttestedVerify from \"./associated-schemas/verify.json\";\n\nexport const schemas: LexiconDoc[] = [\n Actions,\n AuthReadEntitlements,\n AuthReadCart,\n AuthReadPayments,\n AuthReadPublic,\n AuthCreateCart,\n AuthCreatePayment,\n AuthReadRecipient,\n AuthWriteProfile,\n Cart,\n Item,\n Profile,\n Subscription,\n\n PaymentCartCheckout,\n PaymentCartCreate,\n PaymentCartGet,\n PaymentCartList,\n PaymentCartPut,\n PaymentItemCreate,\n PaymentItemGet,\n PaymentItemList,\n PaymentItemPut,\n PaymentSubscriptionCancel,\n PaymentSubscriptionCreate,\n PaymentSubscriptionGet,\n PaymentSubscriptionList,\n PaymentSubscriptionPut,\n\n RecipientProfileGet,\n RecipientProfilePut,\n RecipientPaymentCartGet,\n RecipientPaymentCartList,\n RecipientPaymentItemGet,\n RecipientPaymentItemList,\n RecipientPaymentSubscriptionGet,\n RecipientPaymentSubscriptionList,\n\n RepoItemCount,\n RepoProfileGet,\n RepoSubscriptionCount,\n] as LexiconDoc[];\n\n// Associated `network.attested.*` schemas. Exported separately so consumers\n// (docs, agent) can render them under their own authority section and so the\n// build pipeline can treat them as upstream-owned rather than ours.\nexport const associatedSchemas: LexiconDoc[] = [\n AtprotoRepoStrongRef,\n NetworkAttestedSignature,\n NetworkAttestedProof,\n NetworkAttestedPayment,\n NetworkAttestedEntitlement,\n NetworkAttestedPaymentInitiate,\n NetworkAttestedPaymentStatus,\n NetworkAttestedVerify,\n] as LexiconDoc[];\n\n// `allSchemas` is the combined list used by validators and lex-generated\n// types. Order matters for ref resolution: refs to `network.attested.*` from\n// `com.atiproto.*` records need the target available at validation time.\nexport const allSchemas: LexiconDoc[] = [...associatedSchemas, ...schemas];\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,SAAS,SAAS;AAElB,IAAM,QAAQ;AA6Bd,IAAM,SAAS,EAAE;AAAA,EACf;AAAA,EACA;AAAA,EACA,EAAE,OAAO;AAAA,IACP,MAAM,EAAE,OAAO,EAAE,QAAQ,MAAM,CAAC;AAAA,IAChC,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,CAAC;AAAA,IAChC,YAAY,EAAE,OAAO,EAAE,QAAQ,OAAO,CAAC;AAAA,IACvC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,IAAI,CAAC,CAAC;AAAA,IAC7C,QAAQ,EAAE,OAAO;AAAA,EACnB,CAAC;AACH;AAkBA,IAAM,SAAS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cACF;AAAA,cACA,aAAe;AAAA,YACjB;AAAA,YACA,UAAY;AAAA,cACV,MAAQ;AAAA,cACR,KAAO;AAAA,cACP,aAAe;AAAA,YACjB;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;;;ACEO,IAAM,UAAwB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EACA;AAAA,EACAH;AAAA,EACAC;AAAA,EACAC;AAAA,EACAC;AAAA,EAEAF;AAAA,EACAE;AAAA,EACAF;AAAA,EACAC;AAAA,EACAD;AAAA,EACAC;AAAA,EACAD;AAAA,EACAC;AAAA,EAEA;AAAA,EACAD;AAAA,EACAG;AACF;AAKO,IAAM,oBAAkC;AAAA,EAC7C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAKO,IAAM,aAA2B,CAAC,GAAG,mBAAmB,GAAG,OAAO;","names":["subscription_exports","$nsid","$nsid","l","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$nsid","main","$nsid","main","l","main","l","$nsid","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","l","$nsid","main","l","main","l","$nsid","main","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","$nsid","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","l","$nsid","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","l","$nsid","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","l","$nsid","cart_exports","item_exports","cart_exports","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","main","l","$nsid","main","l","$nsid","l","$nsid","l","$nsid","l","$nsid","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","l","$nsid","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","userRef","view","l","$nsid","main","l","$nsid","userRef","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","userRef","userRef","l","$nsid","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$output","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","item_exports","create_exports","get_exports","list_exports","put_exports","create_exports","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","create_exports","get_exports","list_exports","put_exports","$input","$lxm","$nsid","$output","$params","main","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","create_exports","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","create_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","userRef","view","$lxm","main","$params","$input","$output","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$input","$output","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","view","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","view","l","$nsid","payment_exports","profile_exports","payment_exports","cart_exports","item_exports","subscription_exports","cart_exports","get_exports","list_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$output","item_exports","get_exports","list_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","subscription_exports","get_exports","list_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","list_exports","list_defs_exports","$lxm","$nsid","$output","$params","main","list_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","profile_exports","get_exports","put_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","l","$nsid","put_exports","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","put_defs_exports","$input","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$input","$output","item_exports","profile_exports","subscription_exports","item_exports","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","profile_exports","get_exports","get_exports","get_defs_exports","$lxm","$nsid","$output","$params","main","get_defs_exports","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","subscription_exports","count_exports","count_exports","count_defs_exports","$lxm","$nsid","$output","$params","main","count_defs_exports","$lxm","$nsid","$output","$params","main","l","main","l","$nsid","$lxm","main","$params","$output","subscription_exports","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","userRef","view","repo_exports","repo_exports","$nsid","main","payment_exports","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","l","$nsid","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","payment_exports","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","$nsid","main","$lxm","$nsid","$output","$params","main","view","$lxm","$nsid","$output","$params","main","view","l","$nsid","main","l","$nsid","view","$lxm","main","$params","$output","view","l","$nsid","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","l","$nsid","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","l","main","l","$nsid","$isTypeOf","main","$build","$type","$assert","$check","$cast","$ifMatches","$matches","$parse","$safeParse","$validate","$safeValidate","$assert","$build","$cast","$check","$ifMatches","$isTypeOf","$matches","$nsid","$parse","$safeParse","$safeValidate","$type","$validate","main","$lxm","$nsid","$output","$params","main","$lxm","$nsid","$output","$params","main","l","$nsid","main","l","$nsid","$lxm","main","$params","$output","create_default","get_default","list_default","put_default","create_default","get_default","list_default","put_default","get_default","put_default","get_default","list_default","get_default","list_default","get_default","list_default","get_default","count_default","create_default","get_default","list_default","put_default","count_default"]}
|