techne-sdk 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +85 -2
- package/dist/catalog/catalog.gen.d.ts +841 -0
- package/dist/catalog/catalog.gen.js +29696 -0
- package/dist/catalog/index.d.ts +11 -0
- package/dist/catalog/index.js +11 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +18 -0
- package/dist/generated/index.d.ts +2296 -0
- package/dist/generated/index.js +3320 -0
- package/dist/generated/lexicons.d.ts +17254 -0
- package/dist/generated/lexicons.js +9225 -0
- package/dist/generated/nsid.d.ts +529 -0
- package/dist/generated/nsid.js +1094 -0
- package/dist/generated/nsid.json +1082 -0
- package/dist/generated/records.d.ts +143 -0
- package/dist/generated/records.js +1 -0
- package/dist/generated/types/app/bsky/richtext/facet.d.ts +44 -0
- package/dist/generated/types/app/bsky/richtext/facet.js +39 -0
- package/dist/generated/types/com/atproto/admin/defs.d.ts +10 -0
- package/dist/generated/types/com/atproto/admin/defs.js +11 -0
- package/dist/generated/types/com/atproto/label/defs.d.ts +73 -0
- package/dist/generated/types/com/atproto/label/defs.js +39 -0
- package/dist/generated/types/com/atproto/moderation/createReport.d.ts +39 -0
- package/dist/generated/types/com/atproto/moderation/createReport.js +7 -0
- package/dist/generated/types/com/atproto/moderation/defs.d.ts +15 -0
- package/dist/generated/types/com/atproto/moderation/defs.js +18 -0
- package/dist/generated/types/com/atproto/repo/applyWrites.d.ts +88 -0
- package/dist/generated/types/com/atproto/repo/applyWrites.js +62 -0
- package/dist/generated/types/com/atproto/repo/createRecord.d.ts +43 -0
- package/dist/generated/types/com/atproto/repo/createRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/defs.d.ts +11 -0
- package/dist/generated/types/com/atproto/repo/defs.js +11 -0
- package/dist/generated/types/com/atproto/repo/deleteRecord.d.ts +36 -0
- package/dist/generated/types/com/atproto/repo/deleteRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/getRecord.d.ts +35 -0
- package/dist/generated/types/com/atproto/repo/getRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/listRecords.d.ts +41 -0
- package/dist/generated/types/com/atproto/repo/listRecords.js +14 -0
- package/dist/generated/types/com/atproto/repo/putRecord.d.ts +45 -0
- package/dist/generated/types/com/atproto/repo/putRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/strongRef.d.ts +11 -0
- package/dist/generated/types/com/atproto/repo/strongRef.js +11 -0
- package/dist/generated/types/com/atproto/server/getServiceAuth.d.ts +29 -0
- package/dist/generated/types/com/atproto/server/getServiceAuth.js +20 -0
- package/dist/generated/types/community/lexicon/calendar/event.d.ts +65 -0
- package/dist/generated/types/community/lexicon/calendar/event.js +35 -0
- package/dist/generated/types/community/lexicon/calendar/rsvp.d.ts +20 -0
- package/dist/generated/types/community/lexicon/calendar/rsvp.js +18 -0
- package/dist/generated/types/community/lexicon/location/address.d.ts +22 -0
- package/dist/generated/types/community/lexicon/location/address.js +11 -0
- package/dist/generated/types/community/lexicon/location/fsq.d.ts +16 -0
- package/dist/generated/types/community/lexicon/location/fsq.js +11 -0
- package/dist/generated/types/community/lexicon/location/geo.d.ts +15 -0
- package/dist/generated/types/community/lexicon/location/geo.js +11 -0
- package/dist/generated/types/community/lexicon/location/hthree.d.ts +14 -0
- package/dist/generated/types/community/lexicon/location/hthree.js +11 -0
- package/dist/generated/types/pub/techne/draft/accessRule.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/accessRule.js +33 -0
- package/dist/generated/types/pub/techne/draft/accountLink.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/accountLink.js +12 -0
- package/dist/generated/types/pub/techne/draft/actor/profile.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/actor/profile.js +12 -0
- package/dist/generated/types/pub/techne/draft/appAccess.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/appAccess.js +19 -0
- package/dist/generated/types/pub/techne/draft/appAccessRequest.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/appAccessRequest.js +12 -0
- package/dist/generated/types/pub/techne/draft/appConfig.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/appConfig.js +19 -0
- package/dist/generated/types/pub/techne/draft/approval.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/approval.js +12 -0
- package/dist/generated/types/pub/techne/draft/assessment.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/assessment.js +26 -0
- package/dist/generated/types/pub/techne/draft/attentionPrefs.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/attentionPrefs.js +12 -0
- package/dist/generated/types/pub/techne/draft/beacon.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/beacon.js +12 -0
- package/dist/generated/types/pub/techne/draft/beaconLists.d.ts +13 -0
- package/dist/generated/types/pub/techne/draft/beaconLists.js +12 -0
- package/dist/generated/types/pub/techne/draft/beaconSpot.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/beaconSpot.js +12 -0
- package/dist/generated/types/pub/techne/draft/block.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/block.js +12 -0
- package/dist/generated/types/pub/techne/draft/channelVerification.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/channelVerification.js +12 -0
- package/dist/generated/types/pub/techne/draft/circleBeacon.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/circleBeacon.js +12 -0
- package/dist/generated/types/pub/techne/draft/collective.d.ts +29 -0
- package/dist/generated/types/pub/techne/draft/collective.js +12 -0
- package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.js +55 -0
- package/dist/generated/types/pub/techne/draft/commons/getVersions.d.ts +78 -0
- package/dist/generated/types/pub/techne/draft/commons/getVersions.js +41 -0
- package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.d.ts +45 -0
- package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.js +48 -0
- package/dist/generated/types/pub/techne/draft/commons/runChain.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/commons/runChain.js +34 -0
- package/dist/generated/types/pub/techne/draft/connection.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/connection.js +12 -0
- package/dist/generated/types/pub/techne/draft/contact.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/contact.js +12 -0
- package/dist/generated/types/pub/techne/draft/contactChannel.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/contactChannel.js +12 -0
- package/dist/generated/types/pub/techne/draft/contactList.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/contactList.js +12 -0
- package/dist/generated/types/pub/techne/draft/containedIn.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/containedIn.js +12 -0
- package/dist/generated/types/pub/techne/draft/credential.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/credential.js +19 -0
- package/dist/generated/types/pub/techne/draft/credentialRevocation.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/credentialRevocation.js +12 -0
- package/dist/generated/types/pub/techne/draft/derivation.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/derivation.js +26 -0
- package/dist/generated/types/pub/techne/draft/description.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/description.js +12 -0
- package/dist/generated/types/pub/techne/draft/distinctFrom.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/distinctFrom.js +12 -0
- package/dist/generated/types/pub/techne/draft/evaluation.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/evaluation.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/config.d.ts +22 -0
- package/dist/generated/types/pub/techne/draft/event/config.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/detail.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/event/detail.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/listing.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/event/listing.js +12 -0
- package/dist/generated/types/pub/techne/draft/feed/recipe.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/feed/recipe.js +26 -0
- package/dist/generated/types/pub/techne/draft/geo.d.ts +19 -0
- package/dist/generated/types/pub/techne/draft/geo.js +12 -0
- package/dist/generated/types/pub/techne/draft/heldAt.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/heldAt.js +12 -0
- package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.d.ts +43 -0
- package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +48 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.d.ts +35 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.d.ts +41 -0
- package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +28 -0
- package/dist/generated/types/pub/techne/draft/identity/createCollective.js +20 -0
- package/dist/generated/types/pub/techne/draft/identity/createLinkToken.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/identity/createLinkToken.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +75 -0
- package/dist/generated/types/pub/techne/draft/identity/defs.js +53 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +46 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/fold.d.ts +37 -0
- package/dist/generated/types/pub/techne/draft/identity/fold.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/holdForPhone.d.ts +54 -0
- package/dist/generated/types/pub/techne/draft/identity/holdForPhone.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/link.d.ts +35 -0
- package/dist/generated/types/pub/techne/draft/identity/link.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.d.ts +46 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedemption.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedemption.js +12 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/listMethods.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/identity/listMethods.js +20 -0
- package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.d.ts +49 -0
- package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.js +55 -0
- package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.d.ts +45 -0
- package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/resolve.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/identity/resolve.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.d.ts +29 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.js +27 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/interest.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/interest.js +12 -0
- package/dist/generated/types/pub/techne/draft/introProposal.d.ts +28 -0
- package/dist/generated/types/pub/techne/draft/introProposal.js +19 -0
- package/dist/generated/types/pub/techne/draft/invite.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/invite.js +12 -0
- package/dist/generated/types/pub/techne/draft/market/ask.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/market/ask.js +12 -0
- package/dist/generated/types/pub/techne/draft/market/offer.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/market/offer.js +12 -0
- package/dist/generated/types/pub/techne/draft/membership.d.ts +22 -0
- package/dist/generated/types/pub/techne/draft/membership.js +12 -0
- package/dist/generated/types/pub/techne/draft/notificationState.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/notificationState.js +12 -0
- package/dist/generated/types/pub/techne/draft/operator.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/operator.js +12 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/org.js +19 -0
- package/dist/generated/types/pub/techne/draft/passage.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/passage.js +12 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.d.ts +19 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.js +12 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.js +55 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getGrants.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getGrants.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getRecord.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getRecord.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listChanges.d.ts +71 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listChanges.js +41 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listRecords.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.d.ts +70 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.js +76 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.d.ts +84 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.js +69 -0
- package/dist/generated/types/pub/techne/draft/place.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/place.js +19 -0
- package/dist/generated/types/pub/techne/draft/post.d.ts +30 -0
- package/dist/generated/types/pub/techne/draft/post.js +19 -0
- package/dist/generated/types/pub/techne/draft/presence.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/presence.js +12 -0
- package/dist/generated/types/pub/techne/draft/profile.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/profile.js +33 -0
- package/dist/generated/types/pub/techne/draft/provenance.d.ts +52 -0
- package/dist/generated/types/pub/techne/draft/provenance.js +33 -0
- package/dist/generated/types/pub/techne/draft/publisher.d.ts +43 -0
- package/dist/generated/types/pub/techne/draft/publisher.js +19 -0
- package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/query/countRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +86 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.js +48 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +83 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/query/listRejections.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/query/listRejections.js +27 -0
- package/dist/generated/types/pub/techne/draft/questionSet.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/questionSet.js +19 -0
- package/dist/generated/types/pub/techne/draft/receipt.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/receipt.js +12 -0
- package/dist/generated/types/pub/techne/draft/reflection.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/reflection.js +12 -0
- package/dist/generated/types/pub/techne/draft/retirement.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/retirement.js +12 -0
- package/dist/generated/types/pub/techne/draft/rsvpNote.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/rsvpNote.js +12 -0
- package/dist/generated/types/pub/techne/draft/sameAs.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/sameAs.js +12 -0
- package/dist/generated/types/pub/techne/draft/scraper/cursor.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/scraper/cursor.js +12 -0
- package/dist/generated/types/pub/techne/draft/scraper/raw.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/scraper/raw.js +12 -0
- package/dist/generated/types/pub/techne/draft/share.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/share.js +12 -0
- package/dist/generated/types/pub/techne/draft/source.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/source.js +12 -0
- package/dist/generated/types/pub/techne/draft/sourceAttribution.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/sourceAttribution.js +12 -0
- package/dist/generated/types/pub/techne/draft/sourceRef.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/sourceRef.js +12 -0
- package/dist/generated/types/pub/techne/draft/subjectPrefs.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/subjectPrefs.js +12 -0
- package/dist/generated/types/pub/techne/draft/sync/indexRecord.d.ts +48 -0
- package/dist/generated/types/pub/techne/draft/sync/indexRecord.js +55 -0
- package/dist/generated/types/pub/techne/draft/verdict.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/verdict.js +12 -0
- package/dist/generated/types/pub/techne/draft/verification.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/verification.js +12 -0
- package/dist/generated/types/pub/techne/draft/weeklyCheckIn.d.ts +21 -0
- package/dist/generated/types/pub/techne/draft/weeklyCheckIn.js +12 -0
- package/dist/generated/types/social/scenius/approveAppAccess.d.ts +36 -0
- package/dist/generated/types/social/scenius/approveAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/createCirclePost.d.ts +39 -0
- package/dist/generated/types/social/scenius/createCirclePost.js +41 -0
- package/dist/generated/types/social/scenius/createContactInvite.d.ts +41 -0
- package/dist/generated/types/social/scenius/createContactInvite.js +34 -0
- package/dist/generated/types/social/scenius/deleteCirclePost.d.ts +34 -0
- package/dist/generated/types/social/scenius/deleteCirclePost.js +34 -0
- package/dist/generated/types/social/scenius/deleteCircleProfile.d.ts +33 -0
- package/dist/generated/types/social/scenius/deleteCircleProfile.js +34 -0
- package/dist/generated/types/social/scenius/getAppAccess.d.ts +30 -0
- package/dist/generated/types/social/scenius/getAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/getAppConfig.d.ts +26 -0
- package/dist/generated/types/social/scenius/getAppConfig.js +7 -0
- package/dist/generated/types/social/scenius/getCircleThread.d.ts +48 -0
- package/dist/generated/types/social/scenius/getCircleThread.js +41 -0
- package/dist/generated/types/social/scenius/getContactInvite.d.ts +37 -0
- package/dist/generated/types/social/scenius/getContactInvite.js +27 -0
- package/dist/generated/types/social/scenius/listAppAccess.d.ts +35 -0
- package/dist/generated/types/social/scenius/listAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/listCirclePosts.d.ts +47 -0
- package/dist/generated/types/social/scenius/listCirclePosts.js +34 -0
- package/dist/generated/types/social/scenius/listCircleProfiles.d.ts +50 -0
- package/dist/generated/types/social/scenius/listCircleProfiles.js +41 -0
- package/dist/generated/types/social/scenius/previewContactInvite.d.ts +37 -0
- package/dist/generated/types/social/scenius/previewContactInvite.js +34 -0
- package/dist/generated/types/social/scenius/putCircleProfile.d.ts +39 -0
- package/dist/generated/types/social/scenius/putCircleProfile.js +41 -0
- package/dist/generated/types/social/scenius/redeemContactInvite.d.ts +43 -0
- package/dist/generated/types/social/scenius/redeemContactInvite.js +48 -0
- package/dist/generated/types/social/scenius/revokeContactInvite.d.ts +33 -0
- package/dist/generated/types/social/scenius/revokeContactInvite.js +20 -0
- package/dist/generated/util.d.ts +36 -0
- package/dist/generated/util.js +32 -0
- package/dist/links/index.d.ts +65 -0
- package/dist/links/index.js +119 -0
- package/dist/put/contacts.d.ts +29 -0
- package/dist/put/contacts.js +109 -0
- package/dist/put/index.d.ts +148 -0
- package/dist/put/index.js +252 -0
- package/dist/query/hosts.d.ts +77 -0
- package/dist/query/hosts.js +227 -0
- package/dist/query/index.d.ts +201 -0
- package/dist/query/index.js +167 -0
- package/dist/versions/index.d.ts +121 -0
- package/dist/versions/index.js +90 -0
- package/dist/versions/react.d.ts +53 -0
- package/dist/versions/react.js +81 -0
- package/dist/wasm/index.d.ts +73 -0
- package/dist/wasm/index.js +51 -0
- package/dist/wasm/load.d.ts +2 -0
- package/dist/wasm/load.js +16 -0
- package/dist/wasm/load.native.d.ts +11 -0
- package/dist/wasm/load.native.js +3 -0
- package/dist/wasm/techne-wasm.gen.d.ts +2 -0
- package/dist/wasm/techne-wasm.gen.js +3 -0
- package/dist/wasm/techne-wasm2js.gen.d.ts +6 -0
- package/dist/wasm/techne-wasm2js.gen.js +90023 -0
- package/package.json +126 -4
|
@@ -0,0 +1,3320 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XrpcClient, } from '@atproto/xrpc';
|
|
5
|
+
import { schemas } from './lexicons.js';
|
|
6
|
+
import * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js';
|
|
7
|
+
import * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js';
|
|
8
|
+
import * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js';
|
|
9
|
+
import * as PubTechneDraftCommonsCreateServiceAccount from './types/pub/techne/draft/commons/createServiceAccount.js';
|
|
10
|
+
import * as PubTechneDraftCommonsGetVersions from './types/pub/techne/draft/commons/getVersions.js';
|
|
11
|
+
import * as PubTechneDraftCommonsMoveAccountHandle from './types/pub/techne/draft/commons/moveAccountHandle.js';
|
|
12
|
+
import * as PubTechneDraftCommonsRunChain from './types/pub/techne/draft/commons/runChain.js';
|
|
13
|
+
import * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
|
|
14
|
+
import * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
|
|
15
|
+
import * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
|
|
16
|
+
import * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
|
|
17
|
+
import * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
|
|
18
|
+
import * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
|
|
19
|
+
import * as PubTechneDraftIdentityFinishAddMethod from './types/pub/techne/draft/identity/finishAddMethod.js';
|
|
20
|
+
import * as PubTechneDraftIdentityFold from './types/pub/techne/draft/identity/fold.js';
|
|
21
|
+
import * as PubTechneDraftIdentityHoldForPhone from './types/pub/techne/draft/identity/holdForPhone.js';
|
|
22
|
+
import * as PubTechneDraftIdentityLink from './types/pub/techne/draft/identity/link.js';
|
|
23
|
+
import * as PubTechneDraftIdentityLinkRedeemed from './types/pub/techne/draft/identity/linkRedeemed.js';
|
|
24
|
+
import * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/draft/identity/listLinkRedemptions.js';
|
|
25
|
+
import * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
|
|
26
|
+
import * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
|
|
27
|
+
import * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
|
|
28
|
+
import * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
|
|
29
|
+
import * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
|
|
30
|
+
import * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
|
|
31
|
+
import * as PubTechneDraftIdentityResolve from './types/pub/techne/draft/identity/resolve.js';
|
|
32
|
+
import * as PubTechneDraftIdentityRevokeLinkToken from './types/pub/techne/draft/identity/revokeLinkToken.js';
|
|
33
|
+
import * as PubTechneDraftIdentityUnlinkAccount from './types/pub/techne/draft/identity/unlinkAccount.js';
|
|
34
|
+
import * as PubTechneDraftIdentityUnlinkMethod from './types/pub/techne/draft/identity/unlinkMethod.js';
|
|
35
|
+
import * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
|
|
36
|
+
import * as PubTechneDraftPermissionedGetGrants from './types/pub/techne/draft/permissioned/getGrants.js';
|
|
37
|
+
import * as PubTechneDraftPermissionedGetRecord from './types/pub/techne/draft/permissioned/getRecord.js';
|
|
38
|
+
import * as PubTechneDraftPermissionedListChanges from './types/pub/techne/draft/permissioned/listChanges.js';
|
|
39
|
+
import * as PubTechneDraftPermissionedListRecords from './types/pub/techne/draft/permissioned/listRecords.js';
|
|
40
|
+
import * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/permissioned/putRecord.js';
|
|
41
|
+
import * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
42
|
+
import * as PubTechneDraftQueryCountRecords from './types/pub/techne/draft/query/countRecords.js';
|
|
43
|
+
import * as PubTechneDraftQueryGetRecords from './types/pub/techne/draft/query/getRecords.js';
|
|
44
|
+
import * as PubTechneDraftQueryListRecords from './types/pub/techne/draft/query/listRecords.js';
|
|
45
|
+
import * as PubTechneDraftQueryListRejections from './types/pub/techne/draft/query/listRejections.js';
|
|
46
|
+
import * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
47
|
+
import * as SocialSceniusApproveAppAccess from './types/social/scenius/approveAppAccess.js';
|
|
48
|
+
import * as SocialSceniusCreateCirclePost from './types/social/scenius/createCirclePost.js';
|
|
49
|
+
import * as SocialSceniusCreateContactInvite from './types/social/scenius/createContactInvite.js';
|
|
50
|
+
import * as SocialSceniusDeleteCirclePost from './types/social/scenius/deleteCirclePost.js';
|
|
51
|
+
import * as SocialSceniusDeleteCircleProfile from './types/social/scenius/deleteCircleProfile.js';
|
|
52
|
+
import * as SocialSceniusGetAppAccess from './types/social/scenius/getAppAccess.js';
|
|
53
|
+
import * as SocialSceniusGetCircleThread from './types/social/scenius/getCircleThread.js';
|
|
54
|
+
import * as SocialSceniusGetContactInvite from './types/social/scenius/getContactInvite.js';
|
|
55
|
+
import * as SocialSceniusListAppAccess from './types/social/scenius/listAppAccess.js';
|
|
56
|
+
import * as SocialSceniusListCirclePosts from './types/social/scenius/listCirclePosts.js';
|
|
57
|
+
import * as SocialSceniusListCircleProfiles from './types/social/scenius/listCircleProfiles.js';
|
|
58
|
+
import * as SocialSceniusPreviewContactInvite from './types/social/scenius/previewContactInvite.js';
|
|
59
|
+
import * as SocialSceniusPutCircleProfile from './types/social/scenius/putCircleProfile.js';
|
|
60
|
+
import * as SocialSceniusRedeemContactInvite from './types/social/scenius/redeemContactInvite.js';
|
|
61
|
+
import * as SocialSceniusRevokeContactInvite from './types/social/scenius/revokeContactInvite.js';
|
|
62
|
+
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js';
|
|
63
|
+
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js';
|
|
64
|
+
import * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js';
|
|
65
|
+
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet.js';
|
|
66
|
+
export * as ComAtprotoAdminDefs from './types/com/atproto/admin/defs.js';
|
|
67
|
+
export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js';
|
|
68
|
+
export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js';
|
|
69
|
+
export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js';
|
|
70
|
+
export * as ComAtprotoRepoApplyWrites from './types/com/atproto/repo/applyWrites.js';
|
|
71
|
+
export * as ComAtprotoRepoDefs from './types/com/atproto/repo/defs.js';
|
|
72
|
+
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord.js';
|
|
73
|
+
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef.js';
|
|
74
|
+
export * as ComAtprotoServerGetServiceAuth from './types/com/atproto/server/getServiceAuth.js';
|
|
75
|
+
export * as CommunityLexiconCalendarEvent from './types/community/lexicon/calendar/event.js';
|
|
76
|
+
export * as CommunityLexiconCalendarRsvp from './types/community/lexicon/calendar/rsvp.js';
|
|
77
|
+
export * as CommunityLexiconLocationAddress from './types/community/lexicon/location/address.js';
|
|
78
|
+
export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.js';
|
|
79
|
+
export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.js';
|
|
80
|
+
export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.js';
|
|
81
|
+
export * as PubTechneDraftAccessRule from './types/pub/techne/draft/accessRule.js';
|
|
82
|
+
export * as PubTechneDraftAccountLink from './types/pub/techne/draft/accountLink.js';
|
|
83
|
+
export * as PubTechneDraftActorProfile from './types/pub/techne/draft/actor/profile.js';
|
|
84
|
+
export * as PubTechneDraftAppAccess from './types/pub/techne/draft/appAccess.js';
|
|
85
|
+
export * as PubTechneDraftAppAccessRequest from './types/pub/techne/draft/appAccessRequest.js';
|
|
86
|
+
export * as PubTechneDraftAppConfig from './types/pub/techne/draft/appConfig.js';
|
|
87
|
+
export * as PubTechneDraftApproval from './types/pub/techne/draft/approval.js';
|
|
88
|
+
export * as PubTechneDraftAssessment from './types/pub/techne/draft/assessment.js';
|
|
89
|
+
export * as PubTechneDraftAttentionPrefs from './types/pub/techne/draft/attentionPrefs.js';
|
|
90
|
+
export * as PubTechneDraftBeacon from './types/pub/techne/draft/beacon.js';
|
|
91
|
+
export * as PubTechneDraftBeaconLists from './types/pub/techne/draft/beaconLists.js';
|
|
92
|
+
export * as PubTechneDraftBeaconSpot from './types/pub/techne/draft/beaconSpot.js';
|
|
93
|
+
export * as PubTechneDraftBlock from './types/pub/techne/draft/block.js';
|
|
94
|
+
export * as PubTechneDraftChannelVerification from './types/pub/techne/draft/channelVerification.js';
|
|
95
|
+
export * as PubTechneDraftCircleBeacon from './types/pub/techne/draft/circleBeacon.js';
|
|
96
|
+
export * as PubTechneDraftCollective from './types/pub/techne/draft/collective.js';
|
|
97
|
+
export * as PubTechneDraftCommonsCreateServiceAccount from './types/pub/techne/draft/commons/createServiceAccount.js';
|
|
98
|
+
export * as PubTechneDraftCommonsGetVersions from './types/pub/techne/draft/commons/getVersions.js';
|
|
99
|
+
export * as PubTechneDraftCommonsMoveAccountHandle from './types/pub/techne/draft/commons/moveAccountHandle.js';
|
|
100
|
+
export * as PubTechneDraftCommonsRunChain from './types/pub/techne/draft/commons/runChain.js';
|
|
101
|
+
export * as PubTechneDraftConnection from './types/pub/techne/draft/connection.js';
|
|
102
|
+
export * as PubTechneDraftContact from './types/pub/techne/draft/contact.js';
|
|
103
|
+
export * as PubTechneDraftContactChannel from './types/pub/techne/draft/contactChannel.js';
|
|
104
|
+
export * as PubTechneDraftContactList from './types/pub/techne/draft/contactList.js';
|
|
105
|
+
export * as PubTechneDraftContainedIn from './types/pub/techne/draft/containedIn.js';
|
|
106
|
+
export * as PubTechneDraftCredential from './types/pub/techne/draft/credential.js';
|
|
107
|
+
export * as PubTechneDraftCredentialRevocation from './types/pub/techne/draft/credentialRevocation.js';
|
|
108
|
+
export * as PubTechneDraftDerivation from './types/pub/techne/draft/derivation.js';
|
|
109
|
+
export * as PubTechneDraftDescription from './types/pub/techne/draft/description.js';
|
|
110
|
+
export * as PubTechneDraftDistinctFrom from './types/pub/techne/draft/distinctFrom.js';
|
|
111
|
+
export * as PubTechneDraftEvaluation from './types/pub/techne/draft/evaluation.js';
|
|
112
|
+
export * as PubTechneDraftEventConfig from './types/pub/techne/draft/event/config.js';
|
|
113
|
+
export * as PubTechneDraftEventDetail from './types/pub/techne/draft/event/detail.js';
|
|
114
|
+
export * as PubTechneDraftEventListing from './types/pub/techne/draft/event/listing.js';
|
|
115
|
+
export * as PubTechneDraftFeedRecipe from './types/pub/techne/draft/feed/recipe.js';
|
|
116
|
+
export * as PubTechneDraftGeo from './types/pub/techne/draft/geo.js';
|
|
117
|
+
export * as PubTechneDraftHeldAt from './types/pub/techne/draft/heldAt.js';
|
|
118
|
+
export * as PubTechneDraftIdentityAccountsForPhones from './types/pub/techne/draft/identity/accountsForPhones.js';
|
|
119
|
+
export * as PubTechneDraftIdentityAttest from './types/pub/techne/draft/identity/attest.js';
|
|
120
|
+
export * as PubTechneDraftIdentityBeginAddMethod from './types/pub/techne/draft/identity/beginAddMethod.js';
|
|
121
|
+
export * as PubTechneDraftIdentityCheckLinkToken from './types/pub/techne/draft/identity/checkLinkToken.js';
|
|
122
|
+
export * as PubTechneDraftIdentityCreateCollective from './types/pub/techne/draft/identity/createCollective.js';
|
|
123
|
+
export * as PubTechneDraftIdentityCreateLinkToken from './types/pub/techne/draft/identity/createLinkToken.js';
|
|
124
|
+
export * as PubTechneDraftIdentityDefs from './types/pub/techne/draft/identity/defs.js';
|
|
125
|
+
export * as PubTechneDraftIdentityFinishAddMethod from './types/pub/techne/draft/identity/finishAddMethod.js';
|
|
126
|
+
export * as PubTechneDraftIdentityFold from './types/pub/techne/draft/identity/fold.js';
|
|
127
|
+
export * as PubTechneDraftIdentityHoldForPhone from './types/pub/techne/draft/identity/holdForPhone.js';
|
|
128
|
+
export * as PubTechneDraftIdentityLink from './types/pub/techne/draft/identity/link.js';
|
|
129
|
+
export * as PubTechneDraftIdentityLinkRedeemed from './types/pub/techne/draft/identity/linkRedeemed.js';
|
|
130
|
+
export * as PubTechneDraftIdentityLinkRedemption from './types/pub/techne/draft/identity/linkRedemption.js';
|
|
131
|
+
export * as PubTechneDraftIdentityListLinkRedemptions from './types/pub/techne/draft/identity/listLinkRedemptions.js';
|
|
132
|
+
export * as PubTechneDraftIdentityListLinkTokens from './types/pub/techne/draft/identity/listLinkTokens.js';
|
|
133
|
+
export * as PubTechneDraftIdentityListMethods from './types/pub/techne/draft/identity/listMethods.js';
|
|
134
|
+
export * as PubTechneDraftIdentityListPhoneHolds from './types/pub/techne/draft/identity/listPhoneHolds.js';
|
|
135
|
+
export * as PubTechneDraftIdentityRedeemLinkToken from './types/pub/techne/draft/identity/redeemLinkToken.js';
|
|
136
|
+
export * as PubTechneDraftIdentityReleasePhoneHold from './types/pub/techne/draft/identity/releasePhoneHold.js';
|
|
137
|
+
export * as PubTechneDraftIdentityResetLinkToken from './types/pub/techne/draft/identity/resetLinkToken.js';
|
|
138
|
+
export * as PubTechneDraftIdentityResolve from './types/pub/techne/draft/identity/resolve.js';
|
|
139
|
+
export * as PubTechneDraftIdentityRevokeLinkToken from './types/pub/techne/draft/identity/revokeLinkToken.js';
|
|
140
|
+
export * as PubTechneDraftIdentityUnlinkAccount from './types/pub/techne/draft/identity/unlinkAccount.js';
|
|
141
|
+
export * as PubTechneDraftIdentityUnlinkMethod from './types/pub/techne/draft/identity/unlinkMethod.js';
|
|
142
|
+
export * as PubTechneDraftInterest from './types/pub/techne/draft/interest.js';
|
|
143
|
+
export * as PubTechneDraftIntroProposal from './types/pub/techne/draft/introProposal.js';
|
|
144
|
+
export * as PubTechneDraftInvite from './types/pub/techne/draft/invite.js';
|
|
145
|
+
export * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
|
|
146
|
+
export * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
|
|
147
|
+
export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
|
|
148
|
+
export * as PubTechneDraftNotificationState from './types/pub/techne/draft/notificationState.js';
|
|
149
|
+
export * as PubTechneDraftOperator from './types/pub/techne/draft/operator.js';
|
|
150
|
+
export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
|
|
151
|
+
export * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
|
|
152
|
+
export * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
|
|
153
|
+
export * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
|
|
154
|
+
export * as PubTechneDraftPermissionedGetGrants from './types/pub/techne/draft/permissioned/getGrants.js';
|
|
155
|
+
export * as PubTechneDraftPermissionedGetRecord from './types/pub/techne/draft/permissioned/getRecord.js';
|
|
156
|
+
export * as PubTechneDraftPermissionedListChanges from './types/pub/techne/draft/permissioned/listChanges.js';
|
|
157
|
+
export * as PubTechneDraftPermissionedListRecords from './types/pub/techne/draft/permissioned/listRecords.js';
|
|
158
|
+
export * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/permissioned/putRecord.js';
|
|
159
|
+
export * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
160
|
+
export * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
161
|
+
export * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
162
|
+
export * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
163
|
+
export * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
164
|
+
export * as PubTechneDraftProvenance from './types/pub/techne/draft/provenance.js';
|
|
165
|
+
export * as PubTechneDraftPublisher from './types/pub/techne/draft/publisher.js';
|
|
166
|
+
export * as PubTechneDraftQueryCountRecords from './types/pub/techne/draft/query/countRecords.js';
|
|
167
|
+
export * as PubTechneDraftQueryGetRecords from './types/pub/techne/draft/query/getRecords.js';
|
|
168
|
+
export * as PubTechneDraftQueryListRecords from './types/pub/techne/draft/query/listRecords.js';
|
|
169
|
+
export * as PubTechneDraftQueryListRejections from './types/pub/techne/draft/query/listRejections.js';
|
|
170
|
+
export * as PubTechneDraftQuestionSet from './types/pub/techne/draft/questionSet.js';
|
|
171
|
+
export * as PubTechneDraftReceipt from './types/pub/techne/draft/receipt.js';
|
|
172
|
+
export * as PubTechneDraftReflection from './types/pub/techne/draft/reflection.js';
|
|
173
|
+
export * as PubTechneDraftRetirement from './types/pub/techne/draft/retirement.js';
|
|
174
|
+
export * as PubTechneDraftRsvpNote from './types/pub/techne/draft/rsvpNote.js';
|
|
175
|
+
export * as PubTechneDraftSameAs from './types/pub/techne/draft/sameAs.js';
|
|
176
|
+
export * as PubTechneDraftScraperCursor from './types/pub/techne/draft/scraper/cursor.js';
|
|
177
|
+
export * as PubTechneDraftScraperRaw from './types/pub/techne/draft/scraper/raw.js';
|
|
178
|
+
export * as PubTechneDraftShare from './types/pub/techne/draft/share.js';
|
|
179
|
+
export * as PubTechneDraftSource from './types/pub/techne/draft/source.js';
|
|
180
|
+
export * as PubTechneDraftSourceAttribution from './types/pub/techne/draft/sourceAttribution.js';
|
|
181
|
+
export * as PubTechneDraftSourceRef from './types/pub/techne/draft/sourceRef.js';
|
|
182
|
+
export * as PubTechneDraftSubjectPrefs from './types/pub/techne/draft/subjectPrefs.js';
|
|
183
|
+
export * as PubTechneDraftSyncIndexRecord from './types/pub/techne/draft/sync/indexRecord.js';
|
|
184
|
+
export * as PubTechneDraftVerdict from './types/pub/techne/draft/verdict.js';
|
|
185
|
+
export * as PubTechneDraftVerification from './types/pub/techne/draft/verification.js';
|
|
186
|
+
export * as PubTechneDraftWeeklyCheckIn from './types/pub/techne/draft/weeklyCheckIn.js';
|
|
187
|
+
export * as SocialSceniusApproveAppAccess from './types/social/scenius/approveAppAccess.js';
|
|
188
|
+
export * as SocialSceniusCreateCirclePost from './types/social/scenius/createCirclePost.js';
|
|
189
|
+
export * as SocialSceniusCreateContactInvite from './types/social/scenius/createContactInvite.js';
|
|
190
|
+
export * as SocialSceniusDeleteCirclePost from './types/social/scenius/deleteCirclePost.js';
|
|
191
|
+
export * as SocialSceniusDeleteCircleProfile from './types/social/scenius/deleteCircleProfile.js';
|
|
192
|
+
export * as SocialSceniusGetAppAccess from './types/social/scenius/getAppAccess.js';
|
|
193
|
+
export * as SocialSceniusGetAppConfig from './types/social/scenius/getAppConfig.js';
|
|
194
|
+
export * as SocialSceniusGetCircleThread from './types/social/scenius/getCircleThread.js';
|
|
195
|
+
export * as SocialSceniusGetContactInvite from './types/social/scenius/getContactInvite.js';
|
|
196
|
+
export * as SocialSceniusListAppAccess from './types/social/scenius/listAppAccess.js';
|
|
197
|
+
export * as SocialSceniusListCirclePosts from './types/social/scenius/listCirclePosts.js';
|
|
198
|
+
export * as SocialSceniusListCircleProfiles from './types/social/scenius/listCircleProfiles.js';
|
|
199
|
+
export * as SocialSceniusPreviewContactInvite from './types/social/scenius/previewContactInvite.js';
|
|
200
|
+
export * as SocialSceniusPutCircleProfile from './types/social/scenius/putCircleProfile.js';
|
|
201
|
+
export * as SocialSceniusRedeemContactInvite from './types/social/scenius/redeemContactInvite.js';
|
|
202
|
+
export * as SocialSceniusRevokeContactInvite from './types/social/scenius/revokeContactInvite.js';
|
|
203
|
+
export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord.js';
|
|
204
|
+
export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord.js';
|
|
205
|
+
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords.js';
|
|
206
|
+
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord.js';
|
|
207
|
+
export const COM_ATPROTO_MODERATION = {
|
|
208
|
+
DefsReasonSpam: 'com.atproto.moderation.defs#reasonSpam',
|
|
209
|
+
DefsReasonViolation: 'com.atproto.moderation.defs#reasonViolation',
|
|
210
|
+
DefsReasonMisleading: 'com.atproto.moderation.defs#reasonMisleading',
|
|
211
|
+
DefsReasonSexual: 'com.atproto.moderation.defs#reasonSexual',
|
|
212
|
+
DefsReasonRude: 'com.atproto.moderation.defs#reasonRude',
|
|
213
|
+
DefsReasonOther: 'com.atproto.moderation.defs#reasonOther',
|
|
214
|
+
DefsReasonAppeal: 'com.atproto.moderation.defs#reasonAppeal',
|
|
215
|
+
};
|
|
216
|
+
export const COMMUNITY_LEXICON_CALENDAR = {
|
|
217
|
+
EventVirtual: 'community.lexicon.calendar.event#virtual',
|
|
218
|
+
EventInperson: 'community.lexicon.calendar.event#inperson',
|
|
219
|
+
EventHybrid: 'community.lexicon.calendar.event#hybrid',
|
|
220
|
+
EventPlanned: 'community.lexicon.calendar.event#planned',
|
|
221
|
+
EventScheduled: 'community.lexicon.calendar.event#scheduled',
|
|
222
|
+
EventRescheduled: 'community.lexicon.calendar.event#rescheduled',
|
|
223
|
+
EventCancelled: 'community.lexicon.calendar.event#cancelled',
|
|
224
|
+
EventPostponed: 'community.lexicon.calendar.event#postponed',
|
|
225
|
+
RsvpInterested: 'community.lexicon.calendar.rsvp#interested',
|
|
226
|
+
RsvpGoing: 'community.lexicon.calendar.rsvp#going',
|
|
227
|
+
RsvpNotgoing: 'community.lexicon.calendar.rsvp#notgoing',
|
|
228
|
+
};
|
|
229
|
+
export class AtpBaseClient extends XrpcClient {
|
|
230
|
+
app;
|
|
231
|
+
com;
|
|
232
|
+
community;
|
|
233
|
+
pub;
|
|
234
|
+
social;
|
|
235
|
+
constructor(options) {
|
|
236
|
+
super(options, schemas);
|
|
237
|
+
this.app = new AppNS(this);
|
|
238
|
+
this.com = new ComNS(this);
|
|
239
|
+
this.community = new CommunityNS(this);
|
|
240
|
+
this.pub = new PubNS(this);
|
|
241
|
+
this.social = new SocialNS(this);
|
|
242
|
+
}
|
|
243
|
+
/** @deprecated use `this` instead */
|
|
244
|
+
get xrpc() {
|
|
245
|
+
return this;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
export class AppNS {
|
|
249
|
+
_client;
|
|
250
|
+
bsky;
|
|
251
|
+
constructor(client) {
|
|
252
|
+
this._client = client;
|
|
253
|
+
this.bsky = new AppBskyNS(client);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
export class AppBskyNS {
|
|
257
|
+
_client;
|
|
258
|
+
richtext;
|
|
259
|
+
constructor(client) {
|
|
260
|
+
this._client = client;
|
|
261
|
+
this.richtext = new AppBskyRichtextNS(client);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
export class AppBskyRichtextNS {
|
|
265
|
+
_client;
|
|
266
|
+
constructor(client) {
|
|
267
|
+
this._client = client;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
export class ComNS {
|
|
271
|
+
_client;
|
|
272
|
+
atproto;
|
|
273
|
+
constructor(client) {
|
|
274
|
+
this._client = client;
|
|
275
|
+
this.atproto = new ComAtprotoNS(client);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
export class ComAtprotoNS {
|
|
279
|
+
_client;
|
|
280
|
+
moderation;
|
|
281
|
+
repo;
|
|
282
|
+
server;
|
|
283
|
+
constructor(client) {
|
|
284
|
+
this._client = client;
|
|
285
|
+
this.moderation = new ComAtprotoModerationNS(client);
|
|
286
|
+
this.repo = new ComAtprotoRepoNS(client);
|
|
287
|
+
this.server = new ComAtprotoServerNS(client);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
export class ComAtprotoModerationNS {
|
|
291
|
+
_client;
|
|
292
|
+
constructor(client) {
|
|
293
|
+
this._client = client;
|
|
294
|
+
}
|
|
295
|
+
createReport(data, opts) {
|
|
296
|
+
return this._client.call('com.atproto.moderation.createReport', opts?.qp, data, opts);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
export class ComAtprotoRepoNS {
|
|
300
|
+
_client;
|
|
301
|
+
constructor(client) {
|
|
302
|
+
this._client = client;
|
|
303
|
+
}
|
|
304
|
+
applyWrites(data, opts) {
|
|
305
|
+
return this._client
|
|
306
|
+
.call('com.atproto.repo.applyWrites', opts?.qp, data, opts)
|
|
307
|
+
.catch((e) => {
|
|
308
|
+
throw ComAtprotoRepoApplyWrites.toKnownErr(e);
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
getRecord(params, opts) {
|
|
312
|
+
return this._client
|
|
313
|
+
.call('com.atproto.repo.getRecord', params, undefined, opts)
|
|
314
|
+
.catch((e) => {
|
|
315
|
+
throw ComAtprotoRepoGetRecord.toKnownErr(e);
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
createRecord(data, opts) {
|
|
319
|
+
return this._client
|
|
320
|
+
.call('com.atproto.repo.createRecord', opts?.qp, data, opts)
|
|
321
|
+
.catch((e) => {
|
|
322
|
+
throw ComAtprotoRepoCreateRecord.toKnownErr(e);
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
deleteRecord(data, opts) {
|
|
326
|
+
return this._client
|
|
327
|
+
.call('com.atproto.repo.deleteRecord', opts?.qp, data, opts)
|
|
328
|
+
.catch((e) => {
|
|
329
|
+
throw ComAtprotoRepoDeleteRecord.toKnownErr(e);
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
listRecords(params, opts) {
|
|
333
|
+
return this._client.call('com.atproto.repo.listRecords', params, undefined, opts);
|
|
334
|
+
}
|
|
335
|
+
putRecord(data, opts) {
|
|
336
|
+
return this._client
|
|
337
|
+
.call('com.atproto.repo.putRecord', opts?.qp, data, opts)
|
|
338
|
+
.catch((e) => {
|
|
339
|
+
throw ComAtprotoRepoPutRecord.toKnownErr(e);
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
export class ComAtprotoServerNS {
|
|
344
|
+
_client;
|
|
345
|
+
constructor(client) {
|
|
346
|
+
this._client = client;
|
|
347
|
+
}
|
|
348
|
+
getServiceAuth(params, opts) {
|
|
349
|
+
return this._client
|
|
350
|
+
.call('com.atproto.server.getServiceAuth', params, undefined, opts)
|
|
351
|
+
.catch((e) => {
|
|
352
|
+
throw ComAtprotoServerGetServiceAuth.toKnownErr(e);
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
export class CommunityNS {
|
|
357
|
+
_client;
|
|
358
|
+
lexicon;
|
|
359
|
+
constructor(client) {
|
|
360
|
+
this._client = client;
|
|
361
|
+
this.lexicon = new CommunityLexiconNS(client);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
export class CommunityLexiconNS {
|
|
365
|
+
_client;
|
|
366
|
+
calendar;
|
|
367
|
+
location;
|
|
368
|
+
constructor(client) {
|
|
369
|
+
this._client = client;
|
|
370
|
+
this.calendar = new CommunityLexiconCalendarNS(client);
|
|
371
|
+
this.location = new CommunityLexiconLocationNS(client);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
export class CommunityLexiconCalendarNS {
|
|
375
|
+
_client;
|
|
376
|
+
event;
|
|
377
|
+
rsvp;
|
|
378
|
+
constructor(client) {
|
|
379
|
+
this._client = client;
|
|
380
|
+
this.event = new CommunityLexiconCalendarEventRecord(client);
|
|
381
|
+
this.rsvp = new CommunityLexiconCalendarRsvpRecord(client);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
export class CommunityLexiconCalendarEventRecord {
|
|
385
|
+
_client;
|
|
386
|
+
constructor(client) {
|
|
387
|
+
this._client = client;
|
|
388
|
+
}
|
|
389
|
+
async list(params) {
|
|
390
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
391
|
+
collection: 'community.lexicon.calendar.event',
|
|
392
|
+
...params,
|
|
393
|
+
});
|
|
394
|
+
return res.data;
|
|
395
|
+
}
|
|
396
|
+
async get(params) {
|
|
397
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
398
|
+
collection: 'community.lexicon.calendar.event',
|
|
399
|
+
...params,
|
|
400
|
+
});
|
|
401
|
+
return res.data;
|
|
402
|
+
}
|
|
403
|
+
async create(params, record, headers) {
|
|
404
|
+
const collection = 'community.lexicon.calendar.event';
|
|
405
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
406
|
+
return res.data;
|
|
407
|
+
}
|
|
408
|
+
async put(params, record, headers) {
|
|
409
|
+
const collection = 'community.lexicon.calendar.event';
|
|
410
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
411
|
+
return res.data;
|
|
412
|
+
}
|
|
413
|
+
async delete(params, headers) {
|
|
414
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'community.lexicon.calendar.event', ...params }, { headers });
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
export class CommunityLexiconCalendarRsvpRecord {
|
|
418
|
+
_client;
|
|
419
|
+
constructor(client) {
|
|
420
|
+
this._client = client;
|
|
421
|
+
}
|
|
422
|
+
async list(params) {
|
|
423
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
424
|
+
collection: 'community.lexicon.calendar.rsvp',
|
|
425
|
+
...params,
|
|
426
|
+
});
|
|
427
|
+
return res.data;
|
|
428
|
+
}
|
|
429
|
+
async get(params) {
|
|
430
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
431
|
+
collection: 'community.lexicon.calendar.rsvp',
|
|
432
|
+
...params,
|
|
433
|
+
});
|
|
434
|
+
return res.data;
|
|
435
|
+
}
|
|
436
|
+
async create(params, record, headers) {
|
|
437
|
+
const collection = 'community.lexicon.calendar.rsvp';
|
|
438
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
439
|
+
return res.data;
|
|
440
|
+
}
|
|
441
|
+
async put(params, record, headers) {
|
|
442
|
+
const collection = 'community.lexicon.calendar.rsvp';
|
|
443
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
444
|
+
return res.data;
|
|
445
|
+
}
|
|
446
|
+
async delete(params, headers) {
|
|
447
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'community.lexicon.calendar.rsvp', ...params }, { headers });
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
export class CommunityLexiconLocationNS {
|
|
451
|
+
_client;
|
|
452
|
+
constructor(client) {
|
|
453
|
+
this._client = client;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
export class PubNS {
|
|
457
|
+
_client;
|
|
458
|
+
techne;
|
|
459
|
+
constructor(client) {
|
|
460
|
+
this._client = client;
|
|
461
|
+
this.techne = new PubTechneNS(client);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
export class PubTechneNS {
|
|
465
|
+
_client;
|
|
466
|
+
draft;
|
|
467
|
+
constructor(client) {
|
|
468
|
+
this._client = client;
|
|
469
|
+
this.draft = new PubTechneDraftNS(client);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
export class PubTechneDraftNS {
|
|
473
|
+
_client;
|
|
474
|
+
accessRule;
|
|
475
|
+
accountLink;
|
|
476
|
+
appAccess;
|
|
477
|
+
appAccessRequest;
|
|
478
|
+
appConfig;
|
|
479
|
+
approval;
|
|
480
|
+
assessment;
|
|
481
|
+
attentionPrefs;
|
|
482
|
+
beacon;
|
|
483
|
+
beaconLists;
|
|
484
|
+
beaconSpot;
|
|
485
|
+
block;
|
|
486
|
+
channelVerification;
|
|
487
|
+
circleBeacon;
|
|
488
|
+
collective;
|
|
489
|
+
connection;
|
|
490
|
+
contact;
|
|
491
|
+
contactChannel;
|
|
492
|
+
contactList;
|
|
493
|
+
containedIn;
|
|
494
|
+
credential;
|
|
495
|
+
credentialRevocation;
|
|
496
|
+
derivation;
|
|
497
|
+
description;
|
|
498
|
+
distinctFrom;
|
|
499
|
+
evaluation;
|
|
500
|
+
geo;
|
|
501
|
+
heldAt;
|
|
502
|
+
interest;
|
|
503
|
+
introProposal;
|
|
504
|
+
invite;
|
|
505
|
+
membership;
|
|
506
|
+
notificationState;
|
|
507
|
+
operator;
|
|
508
|
+
org;
|
|
509
|
+
passage;
|
|
510
|
+
pendingBeaconSpot;
|
|
511
|
+
place;
|
|
512
|
+
post;
|
|
513
|
+
presence;
|
|
514
|
+
profile;
|
|
515
|
+
provenance;
|
|
516
|
+
publisher;
|
|
517
|
+
questionSet;
|
|
518
|
+
receipt;
|
|
519
|
+
reflection;
|
|
520
|
+
retirement;
|
|
521
|
+
rsvpNote;
|
|
522
|
+
sameAs;
|
|
523
|
+
share;
|
|
524
|
+
source;
|
|
525
|
+
sourceAttribution;
|
|
526
|
+
sourceRef;
|
|
527
|
+
subjectPrefs;
|
|
528
|
+
verdict;
|
|
529
|
+
verification;
|
|
530
|
+
weeklyCheckIn;
|
|
531
|
+
actor;
|
|
532
|
+
commons;
|
|
533
|
+
event;
|
|
534
|
+
feed;
|
|
535
|
+
identity;
|
|
536
|
+
market;
|
|
537
|
+
permissioned;
|
|
538
|
+
query;
|
|
539
|
+
scraper;
|
|
540
|
+
sync;
|
|
541
|
+
constructor(client) {
|
|
542
|
+
this._client = client;
|
|
543
|
+
this.actor = new PubTechneDraftActorNS(client);
|
|
544
|
+
this.commons = new PubTechneDraftCommonsNS(client);
|
|
545
|
+
this.event = new PubTechneDraftEventNS(client);
|
|
546
|
+
this.feed = new PubTechneDraftFeedNS(client);
|
|
547
|
+
this.identity = new PubTechneDraftIdentityNS(client);
|
|
548
|
+
this.market = new PubTechneDraftMarketNS(client);
|
|
549
|
+
this.permissioned = new PubTechneDraftPermissionedNS(client);
|
|
550
|
+
this.query = new PubTechneDraftQueryNS(client);
|
|
551
|
+
this.scraper = new PubTechneDraftScraperNS(client);
|
|
552
|
+
this.sync = new PubTechneDraftSyncNS(client);
|
|
553
|
+
this.accessRule = new PubTechneDraftAccessRuleRecord(client);
|
|
554
|
+
this.accountLink = new PubTechneDraftAccountLinkRecord(client);
|
|
555
|
+
this.appAccess = new PubTechneDraftAppAccessRecord(client);
|
|
556
|
+
this.appAccessRequest = new PubTechneDraftAppAccessRequestRecord(client);
|
|
557
|
+
this.appConfig = new PubTechneDraftAppConfigRecord(client);
|
|
558
|
+
this.approval = new PubTechneDraftApprovalRecord(client);
|
|
559
|
+
this.assessment = new PubTechneDraftAssessmentRecord(client);
|
|
560
|
+
this.attentionPrefs = new PubTechneDraftAttentionPrefsRecord(client);
|
|
561
|
+
this.beacon = new PubTechneDraftBeaconRecord(client);
|
|
562
|
+
this.beaconLists = new PubTechneDraftBeaconListsRecord(client);
|
|
563
|
+
this.beaconSpot = new PubTechneDraftBeaconSpotRecord(client);
|
|
564
|
+
this.block = new PubTechneDraftBlockRecord(client);
|
|
565
|
+
this.channelVerification = new PubTechneDraftChannelVerificationRecord(client);
|
|
566
|
+
this.circleBeacon = new PubTechneDraftCircleBeaconRecord(client);
|
|
567
|
+
this.collective = new PubTechneDraftCollectiveRecord(client);
|
|
568
|
+
this.connection = new PubTechneDraftConnectionRecord(client);
|
|
569
|
+
this.contact = new PubTechneDraftContactRecord(client);
|
|
570
|
+
this.contactChannel = new PubTechneDraftContactChannelRecord(client);
|
|
571
|
+
this.contactList = new PubTechneDraftContactListRecord(client);
|
|
572
|
+
this.containedIn = new PubTechneDraftContainedInRecord(client);
|
|
573
|
+
this.credential = new PubTechneDraftCredentialRecord(client);
|
|
574
|
+
this.credentialRevocation = new PubTechneDraftCredentialRevocationRecord(client);
|
|
575
|
+
this.derivation = new PubTechneDraftDerivationRecord(client);
|
|
576
|
+
this.description = new PubTechneDraftDescriptionRecord(client);
|
|
577
|
+
this.distinctFrom = new PubTechneDraftDistinctFromRecord(client);
|
|
578
|
+
this.evaluation = new PubTechneDraftEvaluationRecord(client);
|
|
579
|
+
this.geo = new PubTechneDraftGeoRecord(client);
|
|
580
|
+
this.heldAt = new PubTechneDraftHeldAtRecord(client);
|
|
581
|
+
this.interest = new PubTechneDraftInterestRecord(client);
|
|
582
|
+
this.introProposal = new PubTechneDraftIntroProposalRecord(client);
|
|
583
|
+
this.invite = new PubTechneDraftInviteRecord(client);
|
|
584
|
+
this.membership = new PubTechneDraftMembershipRecord(client);
|
|
585
|
+
this.notificationState = new PubTechneDraftNotificationStateRecord(client);
|
|
586
|
+
this.operator = new PubTechneDraftOperatorRecord(client);
|
|
587
|
+
this.org = new PubTechneDraftOrgRecord(client);
|
|
588
|
+
this.passage = new PubTechneDraftPassageRecord(client);
|
|
589
|
+
this.pendingBeaconSpot = new PubTechneDraftPendingBeaconSpotRecord(client);
|
|
590
|
+
this.place = new PubTechneDraftPlaceRecord(client);
|
|
591
|
+
this.post = new PubTechneDraftPostRecord(client);
|
|
592
|
+
this.presence = new PubTechneDraftPresenceRecord(client);
|
|
593
|
+
this.profile = new PubTechneDraftProfileRecord(client);
|
|
594
|
+
this.provenance = new PubTechneDraftProvenanceRecord(client);
|
|
595
|
+
this.publisher = new PubTechneDraftPublisherRecord(client);
|
|
596
|
+
this.questionSet = new PubTechneDraftQuestionSetRecord(client);
|
|
597
|
+
this.receipt = new PubTechneDraftReceiptRecord(client);
|
|
598
|
+
this.reflection = new PubTechneDraftReflectionRecord(client);
|
|
599
|
+
this.retirement = new PubTechneDraftRetirementRecord(client);
|
|
600
|
+
this.rsvpNote = new PubTechneDraftRsvpNoteRecord(client);
|
|
601
|
+
this.sameAs = new PubTechneDraftSameAsRecord(client);
|
|
602
|
+
this.share = new PubTechneDraftShareRecord(client);
|
|
603
|
+
this.source = new PubTechneDraftSourceRecord(client);
|
|
604
|
+
this.sourceAttribution = new PubTechneDraftSourceAttributionRecord(client);
|
|
605
|
+
this.sourceRef = new PubTechneDraftSourceRefRecord(client);
|
|
606
|
+
this.subjectPrefs = new PubTechneDraftSubjectPrefsRecord(client);
|
|
607
|
+
this.verdict = new PubTechneDraftVerdictRecord(client);
|
|
608
|
+
this.verification = new PubTechneDraftVerificationRecord(client);
|
|
609
|
+
this.weeklyCheckIn = new PubTechneDraftWeeklyCheckInRecord(client);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
export class PubTechneDraftActorNS {
|
|
613
|
+
_client;
|
|
614
|
+
profile;
|
|
615
|
+
constructor(client) {
|
|
616
|
+
this._client = client;
|
|
617
|
+
this.profile = new PubTechneDraftActorProfileRecord(client);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
export class PubTechneDraftActorProfileRecord {
|
|
621
|
+
_client;
|
|
622
|
+
constructor(client) {
|
|
623
|
+
this._client = client;
|
|
624
|
+
}
|
|
625
|
+
async list(params) {
|
|
626
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
627
|
+
collection: 'pub.techne.draft.actor.profile',
|
|
628
|
+
...params,
|
|
629
|
+
});
|
|
630
|
+
return res.data;
|
|
631
|
+
}
|
|
632
|
+
async get(params) {
|
|
633
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
634
|
+
collection: 'pub.techne.draft.actor.profile',
|
|
635
|
+
...params,
|
|
636
|
+
});
|
|
637
|
+
return res.data;
|
|
638
|
+
}
|
|
639
|
+
async create(params, record, headers) {
|
|
640
|
+
const collection = 'pub.techne.draft.actor.profile';
|
|
641
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
642
|
+
return res.data;
|
|
643
|
+
}
|
|
644
|
+
async put(params, record, headers) {
|
|
645
|
+
const collection = 'pub.techne.draft.actor.profile';
|
|
646
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
647
|
+
return res.data;
|
|
648
|
+
}
|
|
649
|
+
async delete(params, headers) {
|
|
650
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.actor.profile', ...params }, { headers });
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
export class PubTechneDraftCommonsNS {
|
|
654
|
+
_client;
|
|
655
|
+
constructor(client) {
|
|
656
|
+
this._client = client;
|
|
657
|
+
}
|
|
658
|
+
createServiceAccount(data, opts) {
|
|
659
|
+
return this._client
|
|
660
|
+
.call('pub.techne.draft.commons.createServiceAccount', opts?.qp, data, opts)
|
|
661
|
+
.catch((e) => {
|
|
662
|
+
throw PubTechneDraftCommonsCreateServiceAccount.toKnownErr(e);
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
getVersions(params, opts) {
|
|
666
|
+
return this._client
|
|
667
|
+
.call('pub.techne.draft.commons.getVersions', params, undefined, opts)
|
|
668
|
+
.catch((e) => {
|
|
669
|
+
throw PubTechneDraftCommonsGetVersions.toKnownErr(e);
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
moveAccountHandle(data, opts) {
|
|
673
|
+
return this._client
|
|
674
|
+
.call('pub.techne.draft.commons.moveAccountHandle', opts?.qp, data, opts)
|
|
675
|
+
.catch((e) => {
|
|
676
|
+
throw PubTechneDraftCommonsMoveAccountHandle.toKnownErr(e);
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
runChain(data, opts) {
|
|
680
|
+
return this._client
|
|
681
|
+
.call('pub.techne.draft.commons.runChain', opts?.qp, data, opts)
|
|
682
|
+
.catch((e) => {
|
|
683
|
+
throw PubTechneDraftCommonsRunChain.toKnownErr(e);
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
export class PubTechneDraftEventNS {
|
|
688
|
+
_client;
|
|
689
|
+
config;
|
|
690
|
+
detail;
|
|
691
|
+
listing;
|
|
692
|
+
constructor(client) {
|
|
693
|
+
this._client = client;
|
|
694
|
+
this.config = new PubTechneDraftEventConfigRecord(client);
|
|
695
|
+
this.detail = new PubTechneDraftEventDetailRecord(client);
|
|
696
|
+
this.listing = new PubTechneDraftEventListingRecord(client);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
export class PubTechneDraftEventConfigRecord {
|
|
700
|
+
_client;
|
|
701
|
+
constructor(client) {
|
|
702
|
+
this._client = client;
|
|
703
|
+
}
|
|
704
|
+
async list(params) {
|
|
705
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
706
|
+
collection: 'pub.techne.draft.event.config',
|
|
707
|
+
...params,
|
|
708
|
+
});
|
|
709
|
+
return res.data;
|
|
710
|
+
}
|
|
711
|
+
async get(params) {
|
|
712
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
713
|
+
collection: 'pub.techne.draft.event.config',
|
|
714
|
+
...params,
|
|
715
|
+
});
|
|
716
|
+
return res.data;
|
|
717
|
+
}
|
|
718
|
+
async create(params, record, headers) {
|
|
719
|
+
const collection = 'pub.techne.draft.event.config';
|
|
720
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
721
|
+
return res.data;
|
|
722
|
+
}
|
|
723
|
+
async put(params, record, headers) {
|
|
724
|
+
const collection = 'pub.techne.draft.event.config';
|
|
725
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
726
|
+
return res.data;
|
|
727
|
+
}
|
|
728
|
+
async delete(params, headers) {
|
|
729
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.event.config', ...params }, { headers });
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
export class PubTechneDraftEventDetailRecord {
|
|
733
|
+
_client;
|
|
734
|
+
constructor(client) {
|
|
735
|
+
this._client = client;
|
|
736
|
+
}
|
|
737
|
+
async list(params) {
|
|
738
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
739
|
+
collection: 'pub.techne.draft.event.detail',
|
|
740
|
+
...params,
|
|
741
|
+
});
|
|
742
|
+
return res.data;
|
|
743
|
+
}
|
|
744
|
+
async get(params) {
|
|
745
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
746
|
+
collection: 'pub.techne.draft.event.detail',
|
|
747
|
+
...params,
|
|
748
|
+
});
|
|
749
|
+
return res.data;
|
|
750
|
+
}
|
|
751
|
+
async create(params, record, headers) {
|
|
752
|
+
const collection = 'pub.techne.draft.event.detail';
|
|
753
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
754
|
+
return res.data;
|
|
755
|
+
}
|
|
756
|
+
async put(params, record, headers) {
|
|
757
|
+
const collection = 'pub.techne.draft.event.detail';
|
|
758
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
759
|
+
return res.data;
|
|
760
|
+
}
|
|
761
|
+
async delete(params, headers) {
|
|
762
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.event.detail', ...params }, { headers });
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
export class PubTechneDraftEventListingRecord {
|
|
766
|
+
_client;
|
|
767
|
+
constructor(client) {
|
|
768
|
+
this._client = client;
|
|
769
|
+
}
|
|
770
|
+
async list(params) {
|
|
771
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
772
|
+
collection: 'pub.techne.draft.event.listing',
|
|
773
|
+
...params,
|
|
774
|
+
});
|
|
775
|
+
return res.data;
|
|
776
|
+
}
|
|
777
|
+
async get(params) {
|
|
778
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
779
|
+
collection: 'pub.techne.draft.event.listing',
|
|
780
|
+
...params,
|
|
781
|
+
});
|
|
782
|
+
return res.data;
|
|
783
|
+
}
|
|
784
|
+
async create(params, record, headers) {
|
|
785
|
+
const collection = 'pub.techne.draft.event.listing';
|
|
786
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
787
|
+
return res.data;
|
|
788
|
+
}
|
|
789
|
+
async put(params, record, headers) {
|
|
790
|
+
const collection = 'pub.techne.draft.event.listing';
|
|
791
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
792
|
+
return res.data;
|
|
793
|
+
}
|
|
794
|
+
async delete(params, headers) {
|
|
795
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.event.listing', ...params }, { headers });
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
export class PubTechneDraftFeedNS {
|
|
799
|
+
_client;
|
|
800
|
+
recipe;
|
|
801
|
+
constructor(client) {
|
|
802
|
+
this._client = client;
|
|
803
|
+
this.recipe = new PubTechneDraftFeedRecipeRecord(client);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
export class PubTechneDraftFeedRecipeRecord {
|
|
807
|
+
_client;
|
|
808
|
+
constructor(client) {
|
|
809
|
+
this._client = client;
|
|
810
|
+
}
|
|
811
|
+
async list(params) {
|
|
812
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
813
|
+
collection: 'pub.techne.draft.feed.recipe',
|
|
814
|
+
...params,
|
|
815
|
+
});
|
|
816
|
+
return res.data;
|
|
817
|
+
}
|
|
818
|
+
async get(params) {
|
|
819
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
820
|
+
collection: 'pub.techne.draft.feed.recipe',
|
|
821
|
+
...params,
|
|
822
|
+
});
|
|
823
|
+
return res.data;
|
|
824
|
+
}
|
|
825
|
+
async create(params, record, headers) {
|
|
826
|
+
const collection = 'pub.techne.draft.feed.recipe';
|
|
827
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
828
|
+
return res.data;
|
|
829
|
+
}
|
|
830
|
+
async put(params, record, headers) {
|
|
831
|
+
const collection = 'pub.techne.draft.feed.recipe';
|
|
832
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
833
|
+
return res.data;
|
|
834
|
+
}
|
|
835
|
+
async delete(params, headers) {
|
|
836
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.feed.recipe', ...params }, { headers });
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
export class PubTechneDraftIdentityNS {
|
|
840
|
+
_client;
|
|
841
|
+
linkRedemption;
|
|
842
|
+
constructor(client) {
|
|
843
|
+
this._client = client;
|
|
844
|
+
this.linkRedemption = new PubTechneDraftIdentityLinkRedemptionRecord(client);
|
|
845
|
+
}
|
|
846
|
+
accountsForPhones(data, opts) {
|
|
847
|
+
return this._client
|
|
848
|
+
.call('pub.techne.draft.identity.accountsForPhones', opts?.qp, data, opts)
|
|
849
|
+
.catch((e) => {
|
|
850
|
+
throw PubTechneDraftIdentityAccountsForPhones.toKnownErr(e);
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
attest(data, opts) {
|
|
854
|
+
return this._client
|
|
855
|
+
.call('pub.techne.draft.identity.attest', opts?.qp, data, opts)
|
|
856
|
+
.catch((e) => {
|
|
857
|
+
throw PubTechneDraftIdentityAttest.toKnownErr(e);
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
beginAddMethod(data, opts) {
|
|
861
|
+
return this._client
|
|
862
|
+
.call('pub.techne.draft.identity.beginAddMethod', opts?.qp, data, opts)
|
|
863
|
+
.catch((e) => {
|
|
864
|
+
throw PubTechneDraftIdentityBeginAddMethod.toKnownErr(e);
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
checkLinkToken(data, opts) {
|
|
868
|
+
return this._client
|
|
869
|
+
.call('pub.techne.draft.identity.checkLinkToken', opts?.qp, data, opts)
|
|
870
|
+
.catch((e) => {
|
|
871
|
+
throw PubTechneDraftIdentityCheckLinkToken.toKnownErr(e);
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
createCollective(data, opts) {
|
|
875
|
+
return this._client
|
|
876
|
+
.call('pub.techne.draft.identity.createCollective', opts?.qp, data, opts)
|
|
877
|
+
.catch((e) => {
|
|
878
|
+
throw PubTechneDraftIdentityCreateCollective.toKnownErr(e);
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
createLinkToken(data, opts) {
|
|
882
|
+
return this._client
|
|
883
|
+
.call('pub.techne.draft.identity.createLinkToken', opts?.qp, data, opts)
|
|
884
|
+
.catch((e) => {
|
|
885
|
+
throw PubTechneDraftIdentityCreateLinkToken.toKnownErr(e);
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
finishAddMethod(data, opts) {
|
|
889
|
+
return this._client
|
|
890
|
+
.call('pub.techne.draft.identity.finishAddMethod', opts?.qp, data, opts)
|
|
891
|
+
.catch((e) => {
|
|
892
|
+
throw PubTechneDraftIdentityFinishAddMethod.toKnownErr(e);
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
fold(data, opts) {
|
|
896
|
+
return this._client
|
|
897
|
+
.call('pub.techne.draft.identity.fold', opts?.qp, data, opts)
|
|
898
|
+
.catch((e) => {
|
|
899
|
+
throw PubTechneDraftIdentityFold.toKnownErr(e);
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
holdForPhone(data, opts) {
|
|
903
|
+
return this._client
|
|
904
|
+
.call('pub.techne.draft.identity.holdForPhone', opts?.qp, data, opts)
|
|
905
|
+
.catch((e) => {
|
|
906
|
+
throw PubTechneDraftIdentityHoldForPhone.toKnownErr(e);
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
link(data, opts) {
|
|
910
|
+
return this._client
|
|
911
|
+
.call('pub.techne.draft.identity.link', opts?.qp, data, opts)
|
|
912
|
+
.catch((e) => {
|
|
913
|
+
throw PubTechneDraftIdentityLink.toKnownErr(e);
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
linkRedeemed(data, opts) {
|
|
917
|
+
return this._client
|
|
918
|
+
.call('pub.techne.draft.identity.linkRedeemed', opts?.qp, data, opts)
|
|
919
|
+
.catch((e) => {
|
|
920
|
+
throw PubTechneDraftIdentityLinkRedeemed.toKnownErr(e);
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
listLinkRedemptions(data, opts) {
|
|
924
|
+
return this._client
|
|
925
|
+
.call('pub.techne.draft.identity.listLinkRedemptions', opts?.qp, data, opts)
|
|
926
|
+
.catch((e) => {
|
|
927
|
+
throw PubTechneDraftIdentityListLinkRedemptions.toKnownErr(e);
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
listLinkTokens(data, opts) {
|
|
931
|
+
return this._client
|
|
932
|
+
.call('pub.techne.draft.identity.listLinkTokens', opts?.qp, data, opts)
|
|
933
|
+
.catch((e) => {
|
|
934
|
+
throw PubTechneDraftIdentityListLinkTokens.toKnownErr(e);
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
listMethods(params, opts) {
|
|
938
|
+
return this._client
|
|
939
|
+
.call('pub.techne.draft.identity.listMethods', params, undefined, opts)
|
|
940
|
+
.catch((e) => {
|
|
941
|
+
throw PubTechneDraftIdentityListMethods.toKnownErr(e);
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
listPhoneHolds(params, opts) {
|
|
945
|
+
return this._client
|
|
946
|
+
.call('pub.techne.draft.identity.listPhoneHolds', params, undefined, opts)
|
|
947
|
+
.catch((e) => {
|
|
948
|
+
throw PubTechneDraftIdentityListPhoneHolds.toKnownErr(e);
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
redeemLinkToken(data, opts) {
|
|
952
|
+
return this._client
|
|
953
|
+
.call('pub.techne.draft.identity.redeemLinkToken', opts?.qp, data, opts)
|
|
954
|
+
.catch((e) => {
|
|
955
|
+
throw PubTechneDraftIdentityRedeemLinkToken.toKnownErr(e);
|
|
956
|
+
});
|
|
957
|
+
}
|
|
958
|
+
releasePhoneHold(data, opts) {
|
|
959
|
+
return this._client
|
|
960
|
+
.call('pub.techne.draft.identity.releasePhoneHold', opts?.qp, data, opts)
|
|
961
|
+
.catch((e) => {
|
|
962
|
+
throw PubTechneDraftIdentityReleasePhoneHold.toKnownErr(e);
|
|
963
|
+
});
|
|
964
|
+
}
|
|
965
|
+
resetLinkToken(data, opts) {
|
|
966
|
+
return this._client
|
|
967
|
+
.call('pub.techne.draft.identity.resetLinkToken', opts?.qp, data, opts)
|
|
968
|
+
.catch((e) => {
|
|
969
|
+
throw PubTechneDraftIdentityResetLinkToken.toKnownErr(e);
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
resolve(data, opts) {
|
|
973
|
+
return this._client
|
|
974
|
+
.call('pub.techne.draft.identity.resolve', opts?.qp, data, opts)
|
|
975
|
+
.catch((e) => {
|
|
976
|
+
throw PubTechneDraftIdentityResolve.toKnownErr(e);
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
revokeLinkToken(data, opts) {
|
|
980
|
+
return this._client
|
|
981
|
+
.call('pub.techne.draft.identity.revokeLinkToken', opts?.qp, data, opts)
|
|
982
|
+
.catch((e) => {
|
|
983
|
+
throw PubTechneDraftIdentityRevokeLinkToken.toKnownErr(e);
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
unlinkAccount(data, opts) {
|
|
987
|
+
return this._client
|
|
988
|
+
.call('pub.techne.draft.identity.unlinkAccount', opts?.qp, data, opts)
|
|
989
|
+
.catch((e) => {
|
|
990
|
+
throw PubTechneDraftIdentityUnlinkAccount.toKnownErr(e);
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
unlinkMethod(data, opts) {
|
|
994
|
+
return this._client
|
|
995
|
+
.call('pub.techne.draft.identity.unlinkMethod', opts?.qp, data, opts)
|
|
996
|
+
.catch((e) => {
|
|
997
|
+
throw PubTechneDraftIdentityUnlinkMethod.toKnownErr(e);
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
export class PubTechneDraftIdentityLinkRedemptionRecord {
|
|
1002
|
+
_client;
|
|
1003
|
+
constructor(client) {
|
|
1004
|
+
this._client = client;
|
|
1005
|
+
}
|
|
1006
|
+
async list(params) {
|
|
1007
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1008
|
+
collection: 'pub.techne.draft.identity.linkRedemption',
|
|
1009
|
+
...params,
|
|
1010
|
+
});
|
|
1011
|
+
return res.data;
|
|
1012
|
+
}
|
|
1013
|
+
async get(params) {
|
|
1014
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1015
|
+
collection: 'pub.techne.draft.identity.linkRedemption',
|
|
1016
|
+
...params,
|
|
1017
|
+
});
|
|
1018
|
+
return res.data;
|
|
1019
|
+
}
|
|
1020
|
+
async create(params, record, headers) {
|
|
1021
|
+
const collection = 'pub.techne.draft.identity.linkRedemption';
|
|
1022
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1023
|
+
return res.data;
|
|
1024
|
+
}
|
|
1025
|
+
async put(params, record, headers) {
|
|
1026
|
+
const collection = 'pub.techne.draft.identity.linkRedemption';
|
|
1027
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1028
|
+
return res.data;
|
|
1029
|
+
}
|
|
1030
|
+
async delete(params, headers) {
|
|
1031
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.identity.linkRedemption', ...params }, { headers });
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
export class PubTechneDraftMarketNS {
|
|
1035
|
+
_client;
|
|
1036
|
+
ask;
|
|
1037
|
+
offer;
|
|
1038
|
+
constructor(client) {
|
|
1039
|
+
this._client = client;
|
|
1040
|
+
this.ask = new PubTechneDraftMarketAskRecord(client);
|
|
1041
|
+
this.offer = new PubTechneDraftMarketOfferRecord(client);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
export class PubTechneDraftMarketAskRecord {
|
|
1045
|
+
_client;
|
|
1046
|
+
constructor(client) {
|
|
1047
|
+
this._client = client;
|
|
1048
|
+
}
|
|
1049
|
+
async list(params) {
|
|
1050
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1051
|
+
collection: 'pub.techne.draft.market.ask',
|
|
1052
|
+
...params,
|
|
1053
|
+
});
|
|
1054
|
+
return res.data;
|
|
1055
|
+
}
|
|
1056
|
+
async get(params) {
|
|
1057
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1058
|
+
collection: 'pub.techne.draft.market.ask',
|
|
1059
|
+
...params,
|
|
1060
|
+
});
|
|
1061
|
+
return res.data;
|
|
1062
|
+
}
|
|
1063
|
+
async create(params, record, headers) {
|
|
1064
|
+
const collection = 'pub.techne.draft.market.ask';
|
|
1065
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1066
|
+
return res.data;
|
|
1067
|
+
}
|
|
1068
|
+
async put(params, record, headers) {
|
|
1069
|
+
const collection = 'pub.techne.draft.market.ask';
|
|
1070
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1071
|
+
return res.data;
|
|
1072
|
+
}
|
|
1073
|
+
async delete(params, headers) {
|
|
1074
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.market.ask', ...params }, { headers });
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
export class PubTechneDraftMarketOfferRecord {
|
|
1078
|
+
_client;
|
|
1079
|
+
constructor(client) {
|
|
1080
|
+
this._client = client;
|
|
1081
|
+
}
|
|
1082
|
+
async list(params) {
|
|
1083
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1084
|
+
collection: 'pub.techne.draft.market.offer',
|
|
1085
|
+
...params,
|
|
1086
|
+
});
|
|
1087
|
+
return res.data;
|
|
1088
|
+
}
|
|
1089
|
+
async get(params) {
|
|
1090
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1091
|
+
collection: 'pub.techne.draft.market.offer',
|
|
1092
|
+
...params,
|
|
1093
|
+
});
|
|
1094
|
+
return res.data;
|
|
1095
|
+
}
|
|
1096
|
+
async create(params, record, headers) {
|
|
1097
|
+
const collection = 'pub.techne.draft.market.offer';
|
|
1098
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1099
|
+
return res.data;
|
|
1100
|
+
}
|
|
1101
|
+
async put(params, record, headers) {
|
|
1102
|
+
const collection = 'pub.techne.draft.market.offer';
|
|
1103
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1104
|
+
return res.data;
|
|
1105
|
+
}
|
|
1106
|
+
async delete(params, headers) {
|
|
1107
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.market.offer', ...params }, { headers });
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
export class PubTechneDraftPermissionedNS {
|
|
1111
|
+
_client;
|
|
1112
|
+
constructor(client) {
|
|
1113
|
+
this._client = client;
|
|
1114
|
+
}
|
|
1115
|
+
deleteRecord(data, opts) {
|
|
1116
|
+
return this._client
|
|
1117
|
+
.call('pub.techne.draft.permissioned.deleteRecord', opts?.qp, data, opts)
|
|
1118
|
+
.catch((e) => {
|
|
1119
|
+
throw PubTechneDraftPermissionedDeleteRecord.toKnownErr(e);
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
getGrants(params, opts) {
|
|
1123
|
+
return this._client
|
|
1124
|
+
.call('pub.techne.draft.permissioned.getGrants', params, undefined, opts)
|
|
1125
|
+
.catch((e) => {
|
|
1126
|
+
throw PubTechneDraftPermissionedGetGrants.toKnownErr(e);
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
getRecord(params, opts) {
|
|
1130
|
+
return this._client
|
|
1131
|
+
.call('pub.techne.draft.permissioned.getRecord', params, undefined, opts)
|
|
1132
|
+
.catch((e) => {
|
|
1133
|
+
throw PubTechneDraftPermissionedGetRecord.toKnownErr(e);
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
listChanges(params, opts) {
|
|
1137
|
+
return this._client
|
|
1138
|
+
.call('pub.techne.draft.permissioned.listChanges', params, undefined, opts)
|
|
1139
|
+
.catch((e) => {
|
|
1140
|
+
throw PubTechneDraftPermissionedListChanges.toKnownErr(e);
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
listRecords(params, opts) {
|
|
1144
|
+
return this._client
|
|
1145
|
+
.call('pub.techne.draft.permissioned.listRecords', params, undefined, opts)
|
|
1146
|
+
.catch((e) => {
|
|
1147
|
+
throw PubTechneDraftPermissionedListRecords.toKnownErr(e);
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
putRecord(data, opts) {
|
|
1151
|
+
return this._client
|
|
1152
|
+
.call('pub.techne.draft.permissioned.putRecord', opts?.qp, data, opts)
|
|
1153
|
+
.catch((e) => {
|
|
1154
|
+
throw PubTechneDraftPermissionedPutRecord.toKnownErr(e);
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
putRecords(data, opts) {
|
|
1158
|
+
return this._client
|
|
1159
|
+
.call('pub.techne.draft.permissioned.putRecords', opts?.qp, data, opts)
|
|
1160
|
+
.catch((e) => {
|
|
1161
|
+
throw PubTechneDraftPermissionedPutRecords.toKnownErr(e);
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
export class PubTechneDraftQueryNS {
|
|
1166
|
+
_client;
|
|
1167
|
+
constructor(client) {
|
|
1168
|
+
this._client = client;
|
|
1169
|
+
}
|
|
1170
|
+
countRecords(params, opts) {
|
|
1171
|
+
return this._client
|
|
1172
|
+
.call('pub.techne.draft.query.countRecords', params, undefined, opts)
|
|
1173
|
+
.catch((e) => {
|
|
1174
|
+
throw PubTechneDraftQueryCountRecords.toKnownErr(e);
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
getRecords(params, opts) {
|
|
1178
|
+
return this._client
|
|
1179
|
+
.call('pub.techne.draft.query.getRecords', params, undefined, opts)
|
|
1180
|
+
.catch((e) => {
|
|
1181
|
+
throw PubTechneDraftQueryGetRecords.toKnownErr(e);
|
|
1182
|
+
});
|
|
1183
|
+
}
|
|
1184
|
+
listRecords(params, opts) {
|
|
1185
|
+
return this._client
|
|
1186
|
+
.call('pub.techne.draft.query.listRecords', params, undefined, opts)
|
|
1187
|
+
.catch((e) => {
|
|
1188
|
+
throw PubTechneDraftQueryListRecords.toKnownErr(e);
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
listRejections(params, opts) {
|
|
1192
|
+
return this._client
|
|
1193
|
+
.call('pub.techne.draft.query.listRejections', params, undefined, opts)
|
|
1194
|
+
.catch((e) => {
|
|
1195
|
+
throw PubTechneDraftQueryListRejections.toKnownErr(e);
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
export class PubTechneDraftScraperNS {
|
|
1200
|
+
_client;
|
|
1201
|
+
cursor;
|
|
1202
|
+
raw;
|
|
1203
|
+
constructor(client) {
|
|
1204
|
+
this._client = client;
|
|
1205
|
+
this.cursor = new PubTechneDraftScraperCursorRecord(client);
|
|
1206
|
+
this.raw = new PubTechneDraftScraperRawRecord(client);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
export class PubTechneDraftScraperCursorRecord {
|
|
1210
|
+
_client;
|
|
1211
|
+
constructor(client) {
|
|
1212
|
+
this._client = client;
|
|
1213
|
+
}
|
|
1214
|
+
async list(params) {
|
|
1215
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1216
|
+
collection: 'pub.techne.draft.scraper.cursor',
|
|
1217
|
+
...params,
|
|
1218
|
+
});
|
|
1219
|
+
return res.data;
|
|
1220
|
+
}
|
|
1221
|
+
async get(params) {
|
|
1222
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1223
|
+
collection: 'pub.techne.draft.scraper.cursor',
|
|
1224
|
+
...params,
|
|
1225
|
+
});
|
|
1226
|
+
return res.data;
|
|
1227
|
+
}
|
|
1228
|
+
async create(params, record, headers) {
|
|
1229
|
+
const collection = 'pub.techne.draft.scraper.cursor';
|
|
1230
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
1231
|
+
collection,
|
|
1232
|
+
rkey: 'self',
|
|
1233
|
+
...params,
|
|
1234
|
+
record: { ...record, $type: collection },
|
|
1235
|
+
}, { encoding: 'application/json', headers });
|
|
1236
|
+
return res.data;
|
|
1237
|
+
}
|
|
1238
|
+
async put(params, record, headers) {
|
|
1239
|
+
const collection = 'pub.techne.draft.scraper.cursor';
|
|
1240
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1241
|
+
return res.data;
|
|
1242
|
+
}
|
|
1243
|
+
async delete(params, headers) {
|
|
1244
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.scraper.cursor', ...params }, { headers });
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
export class PubTechneDraftScraperRawRecord {
|
|
1248
|
+
_client;
|
|
1249
|
+
constructor(client) {
|
|
1250
|
+
this._client = client;
|
|
1251
|
+
}
|
|
1252
|
+
async list(params) {
|
|
1253
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1254
|
+
collection: 'pub.techne.draft.scraper.raw',
|
|
1255
|
+
...params,
|
|
1256
|
+
});
|
|
1257
|
+
return res.data;
|
|
1258
|
+
}
|
|
1259
|
+
async get(params) {
|
|
1260
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1261
|
+
collection: 'pub.techne.draft.scraper.raw',
|
|
1262
|
+
...params,
|
|
1263
|
+
});
|
|
1264
|
+
return res.data;
|
|
1265
|
+
}
|
|
1266
|
+
async create(params, record, headers) {
|
|
1267
|
+
const collection = 'pub.techne.draft.scraper.raw';
|
|
1268
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1269
|
+
return res.data;
|
|
1270
|
+
}
|
|
1271
|
+
async put(params, record, headers) {
|
|
1272
|
+
const collection = 'pub.techne.draft.scraper.raw';
|
|
1273
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1274
|
+
return res.data;
|
|
1275
|
+
}
|
|
1276
|
+
async delete(params, headers) {
|
|
1277
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.scraper.raw', ...params }, { headers });
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
export class PubTechneDraftSyncNS {
|
|
1281
|
+
_client;
|
|
1282
|
+
constructor(client) {
|
|
1283
|
+
this._client = client;
|
|
1284
|
+
}
|
|
1285
|
+
indexRecord(data, opts) {
|
|
1286
|
+
return this._client
|
|
1287
|
+
.call('pub.techne.draft.sync.indexRecord', opts?.qp, data, opts)
|
|
1288
|
+
.catch((e) => {
|
|
1289
|
+
throw PubTechneDraftSyncIndexRecord.toKnownErr(e);
|
|
1290
|
+
});
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
export class PubTechneDraftAccessRuleRecord {
|
|
1294
|
+
_client;
|
|
1295
|
+
constructor(client) {
|
|
1296
|
+
this._client = client;
|
|
1297
|
+
}
|
|
1298
|
+
async list(params) {
|
|
1299
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1300
|
+
collection: 'pub.techne.draft.accessRule',
|
|
1301
|
+
...params,
|
|
1302
|
+
});
|
|
1303
|
+
return res.data;
|
|
1304
|
+
}
|
|
1305
|
+
async get(params) {
|
|
1306
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1307
|
+
collection: 'pub.techne.draft.accessRule',
|
|
1308
|
+
...params,
|
|
1309
|
+
});
|
|
1310
|
+
return res.data;
|
|
1311
|
+
}
|
|
1312
|
+
async create(params, record, headers) {
|
|
1313
|
+
const collection = 'pub.techne.draft.accessRule';
|
|
1314
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1315
|
+
return res.data;
|
|
1316
|
+
}
|
|
1317
|
+
async put(params, record, headers) {
|
|
1318
|
+
const collection = 'pub.techne.draft.accessRule';
|
|
1319
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1320
|
+
return res.data;
|
|
1321
|
+
}
|
|
1322
|
+
async delete(params, headers) {
|
|
1323
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.accessRule', ...params }, { headers });
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
export class PubTechneDraftAccountLinkRecord {
|
|
1327
|
+
_client;
|
|
1328
|
+
constructor(client) {
|
|
1329
|
+
this._client = client;
|
|
1330
|
+
}
|
|
1331
|
+
async list(params) {
|
|
1332
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1333
|
+
collection: 'pub.techne.draft.accountLink',
|
|
1334
|
+
...params,
|
|
1335
|
+
});
|
|
1336
|
+
return res.data;
|
|
1337
|
+
}
|
|
1338
|
+
async get(params) {
|
|
1339
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1340
|
+
collection: 'pub.techne.draft.accountLink',
|
|
1341
|
+
...params,
|
|
1342
|
+
});
|
|
1343
|
+
return res.data;
|
|
1344
|
+
}
|
|
1345
|
+
async create(params, record, headers) {
|
|
1346
|
+
const collection = 'pub.techne.draft.accountLink';
|
|
1347
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1348
|
+
return res.data;
|
|
1349
|
+
}
|
|
1350
|
+
async put(params, record, headers) {
|
|
1351
|
+
const collection = 'pub.techne.draft.accountLink';
|
|
1352
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1353
|
+
return res.data;
|
|
1354
|
+
}
|
|
1355
|
+
async delete(params, headers) {
|
|
1356
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.accountLink', ...params }, { headers });
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
export class PubTechneDraftAppAccessRecord {
|
|
1360
|
+
_client;
|
|
1361
|
+
constructor(client) {
|
|
1362
|
+
this._client = client;
|
|
1363
|
+
}
|
|
1364
|
+
async list(params) {
|
|
1365
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1366
|
+
collection: 'pub.techne.draft.appAccess',
|
|
1367
|
+
...params,
|
|
1368
|
+
});
|
|
1369
|
+
return res.data;
|
|
1370
|
+
}
|
|
1371
|
+
async get(params) {
|
|
1372
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1373
|
+
collection: 'pub.techne.draft.appAccess',
|
|
1374
|
+
...params,
|
|
1375
|
+
});
|
|
1376
|
+
return res.data;
|
|
1377
|
+
}
|
|
1378
|
+
async create(params, record, headers) {
|
|
1379
|
+
const collection = 'pub.techne.draft.appAccess';
|
|
1380
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1381
|
+
return res.data;
|
|
1382
|
+
}
|
|
1383
|
+
async put(params, record, headers) {
|
|
1384
|
+
const collection = 'pub.techne.draft.appAccess';
|
|
1385
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1386
|
+
return res.data;
|
|
1387
|
+
}
|
|
1388
|
+
async delete(params, headers) {
|
|
1389
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.appAccess', ...params }, { headers });
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
export class PubTechneDraftAppAccessRequestRecord {
|
|
1393
|
+
_client;
|
|
1394
|
+
constructor(client) {
|
|
1395
|
+
this._client = client;
|
|
1396
|
+
}
|
|
1397
|
+
async list(params) {
|
|
1398
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1399
|
+
collection: 'pub.techne.draft.appAccessRequest',
|
|
1400
|
+
...params,
|
|
1401
|
+
});
|
|
1402
|
+
return res.data;
|
|
1403
|
+
}
|
|
1404
|
+
async get(params) {
|
|
1405
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1406
|
+
collection: 'pub.techne.draft.appAccessRequest',
|
|
1407
|
+
...params,
|
|
1408
|
+
});
|
|
1409
|
+
return res.data;
|
|
1410
|
+
}
|
|
1411
|
+
async create(params, record, headers) {
|
|
1412
|
+
const collection = 'pub.techne.draft.appAccessRequest';
|
|
1413
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1414
|
+
return res.data;
|
|
1415
|
+
}
|
|
1416
|
+
async put(params, record, headers) {
|
|
1417
|
+
const collection = 'pub.techne.draft.appAccessRequest';
|
|
1418
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1419
|
+
return res.data;
|
|
1420
|
+
}
|
|
1421
|
+
async delete(params, headers) {
|
|
1422
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.appAccessRequest', ...params }, { headers });
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
export class PubTechneDraftAppConfigRecord {
|
|
1426
|
+
_client;
|
|
1427
|
+
constructor(client) {
|
|
1428
|
+
this._client = client;
|
|
1429
|
+
}
|
|
1430
|
+
async list(params) {
|
|
1431
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1432
|
+
collection: 'pub.techne.draft.appConfig',
|
|
1433
|
+
...params,
|
|
1434
|
+
});
|
|
1435
|
+
return res.data;
|
|
1436
|
+
}
|
|
1437
|
+
async get(params) {
|
|
1438
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1439
|
+
collection: 'pub.techne.draft.appConfig',
|
|
1440
|
+
...params,
|
|
1441
|
+
});
|
|
1442
|
+
return res.data;
|
|
1443
|
+
}
|
|
1444
|
+
async create(params, record, headers) {
|
|
1445
|
+
const collection = 'pub.techne.draft.appConfig';
|
|
1446
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
1447
|
+
collection,
|
|
1448
|
+
rkey: 'self',
|
|
1449
|
+
...params,
|
|
1450
|
+
record: { ...record, $type: collection },
|
|
1451
|
+
}, { encoding: 'application/json', headers });
|
|
1452
|
+
return res.data;
|
|
1453
|
+
}
|
|
1454
|
+
async put(params, record, headers) {
|
|
1455
|
+
const collection = 'pub.techne.draft.appConfig';
|
|
1456
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1457
|
+
return res.data;
|
|
1458
|
+
}
|
|
1459
|
+
async delete(params, headers) {
|
|
1460
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.appConfig', ...params }, { headers });
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
export class PubTechneDraftApprovalRecord {
|
|
1464
|
+
_client;
|
|
1465
|
+
constructor(client) {
|
|
1466
|
+
this._client = client;
|
|
1467
|
+
}
|
|
1468
|
+
async list(params) {
|
|
1469
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1470
|
+
collection: 'pub.techne.draft.approval',
|
|
1471
|
+
...params,
|
|
1472
|
+
});
|
|
1473
|
+
return res.data;
|
|
1474
|
+
}
|
|
1475
|
+
async get(params) {
|
|
1476
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1477
|
+
collection: 'pub.techne.draft.approval',
|
|
1478
|
+
...params,
|
|
1479
|
+
});
|
|
1480
|
+
return res.data;
|
|
1481
|
+
}
|
|
1482
|
+
async create(params, record, headers) {
|
|
1483
|
+
const collection = 'pub.techne.draft.approval';
|
|
1484
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1485
|
+
return res.data;
|
|
1486
|
+
}
|
|
1487
|
+
async put(params, record, headers) {
|
|
1488
|
+
const collection = 'pub.techne.draft.approval';
|
|
1489
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1490
|
+
return res.data;
|
|
1491
|
+
}
|
|
1492
|
+
async delete(params, headers) {
|
|
1493
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.approval', ...params }, { headers });
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
export class PubTechneDraftAssessmentRecord {
|
|
1497
|
+
_client;
|
|
1498
|
+
constructor(client) {
|
|
1499
|
+
this._client = client;
|
|
1500
|
+
}
|
|
1501
|
+
async list(params) {
|
|
1502
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1503
|
+
collection: 'pub.techne.draft.assessment',
|
|
1504
|
+
...params,
|
|
1505
|
+
});
|
|
1506
|
+
return res.data;
|
|
1507
|
+
}
|
|
1508
|
+
async get(params) {
|
|
1509
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1510
|
+
collection: 'pub.techne.draft.assessment',
|
|
1511
|
+
...params,
|
|
1512
|
+
});
|
|
1513
|
+
return res.data;
|
|
1514
|
+
}
|
|
1515
|
+
async create(params, record, headers) {
|
|
1516
|
+
const collection = 'pub.techne.draft.assessment';
|
|
1517
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1518
|
+
return res.data;
|
|
1519
|
+
}
|
|
1520
|
+
async put(params, record, headers) {
|
|
1521
|
+
const collection = 'pub.techne.draft.assessment';
|
|
1522
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1523
|
+
return res.data;
|
|
1524
|
+
}
|
|
1525
|
+
async delete(params, headers) {
|
|
1526
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.assessment', ...params }, { headers });
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
export class PubTechneDraftAttentionPrefsRecord {
|
|
1530
|
+
_client;
|
|
1531
|
+
constructor(client) {
|
|
1532
|
+
this._client = client;
|
|
1533
|
+
}
|
|
1534
|
+
async list(params) {
|
|
1535
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1536
|
+
collection: 'pub.techne.draft.attentionPrefs',
|
|
1537
|
+
...params,
|
|
1538
|
+
});
|
|
1539
|
+
return res.data;
|
|
1540
|
+
}
|
|
1541
|
+
async get(params) {
|
|
1542
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1543
|
+
collection: 'pub.techne.draft.attentionPrefs',
|
|
1544
|
+
...params,
|
|
1545
|
+
});
|
|
1546
|
+
return res.data;
|
|
1547
|
+
}
|
|
1548
|
+
async create(params, record, headers) {
|
|
1549
|
+
const collection = 'pub.techne.draft.attentionPrefs';
|
|
1550
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
1551
|
+
collection,
|
|
1552
|
+
rkey: 'self',
|
|
1553
|
+
...params,
|
|
1554
|
+
record: { ...record, $type: collection },
|
|
1555
|
+
}, { encoding: 'application/json', headers });
|
|
1556
|
+
return res.data;
|
|
1557
|
+
}
|
|
1558
|
+
async put(params, record, headers) {
|
|
1559
|
+
const collection = 'pub.techne.draft.attentionPrefs';
|
|
1560
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1561
|
+
return res.data;
|
|
1562
|
+
}
|
|
1563
|
+
async delete(params, headers) {
|
|
1564
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.attentionPrefs', ...params }, { headers });
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
export class PubTechneDraftBeaconRecord {
|
|
1568
|
+
_client;
|
|
1569
|
+
constructor(client) {
|
|
1570
|
+
this._client = client;
|
|
1571
|
+
}
|
|
1572
|
+
async list(params) {
|
|
1573
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1574
|
+
collection: 'pub.techne.draft.beacon',
|
|
1575
|
+
...params,
|
|
1576
|
+
});
|
|
1577
|
+
return res.data;
|
|
1578
|
+
}
|
|
1579
|
+
async get(params) {
|
|
1580
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1581
|
+
collection: 'pub.techne.draft.beacon',
|
|
1582
|
+
...params,
|
|
1583
|
+
});
|
|
1584
|
+
return res.data;
|
|
1585
|
+
}
|
|
1586
|
+
async create(params, record, headers) {
|
|
1587
|
+
const collection = 'pub.techne.draft.beacon';
|
|
1588
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1589
|
+
return res.data;
|
|
1590
|
+
}
|
|
1591
|
+
async put(params, record, headers) {
|
|
1592
|
+
const collection = 'pub.techne.draft.beacon';
|
|
1593
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1594
|
+
return res.data;
|
|
1595
|
+
}
|
|
1596
|
+
async delete(params, headers) {
|
|
1597
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.beacon', ...params }, { headers });
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
export class PubTechneDraftBeaconListsRecord {
|
|
1601
|
+
_client;
|
|
1602
|
+
constructor(client) {
|
|
1603
|
+
this._client = client;
|
|
1604
|
+
}
|
|
1605
|
+
async list(params) {
|
|
1606
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1607
|
+
collection: 'pub.techne.draft.beaconLists',
|
|
1608
|
+
...params,
|
|
1609
|
+
});
|
|
1610
|
+
return res.data;
|
|
1611
|
+
}
|
|
1612
|
+
async get(params) {
|
|
1613
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1614
|
+
collection: 'pub.techne.draft.beaconLists',
|
|
1615
|
+
...params,
|
|
1616
|
+
});
|
|
1617
|
+
return res.data;
|
|
1618
|
+
}
|
|
1619
|
+
async create(params, record, headers) {
|
|
1620
|
+
const collection = 'pub.techne.draft.beaconLists';
|
|
1621
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1622
|
+
return res.data;
|
|
1623
|
+
}
|
|
1624
|
+
async put(params, record, headers) {
|
|
1625
|
+
const collection = 'pub.techne.draft.beaconLists';
|
|
1626
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1627
|
+
return res.data;
|
|
1628
|
+
}
|
|
1629
|
+
async delete(params, headers) {
|
|
1630
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.beaconLists', ...params }, { headers });
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
export class PubTechneDraftBeaconSpotRecord {
|
|
1634
|
+
_client;
|
|
1635
|
+
constructor(client) {
|
|
1636
|
+
this._client = client;
|
|
1637
|
+
}
|
|
1638
|
+
async list(params) {
|
|
1639
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1640
|
+
collection: 'pub.techne.draft.beaconSpot',
|
|
1641
|
+
...params,
|
|
1642
|
+
});
|
|
1643
|
+
return res.data;
|
|
1644
|
+
}
|
|
1645
|
+
async get(params) {
|
|
1646
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1647
|
+
collection: 'pub.techne.draft.beaconSpot',
|
|
1648
|
+
...params,
|
|
1649
|
+
});
|
|
1650
|
+
return res.data;
|
|
1651
|
+
}
|
|
1652
|
+
async create(params, record, headers) {
|
|
1653
|
+
const collection = 'pub.techne.draft.beaconSpot';
|
|
1654
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1655
|
+
return res.data;
|
|
1656
|
+
}
|
|
1657
|
+
async put(params, record, headers) {
|
|
1658
|
+
const collection = 'pub.techne.draft.beaconSpot';
|
|
1659
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1660
|
+
return res.data;
|
|
1661
|
+
}
|
|
1662
|
+
async delete(params, headers) {
|
|
1663
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.beaconSpot', ...params }, { headers });
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
export class PubTechneDraftBlockRecord {
|
|
1667
|
+
_client;
|
|
1668
|
+
constructor(client) {
|
|
1669
|
+
this._client = client;
|
|
1670
|
+
}
|
|
1671
|
+
async list(params) {
|
|
1672
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1673
|
+
collection: 'pub.techne.draft.block',
|
|
1674
|
+
...params,
|
|
1675
|
+
});
|
|
1676
|
+
return res.data;
|
|
1677
|
+
}
|
|
1678
|
+
async get(params) {
|
|
1679
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1680
|
+
collection: 'pub.techne.draft.block',
|
|
1681
|
+
...params,
|
|
1682
|
+
});
|
|
1683
|
+
return res.data;
|
|
1684
|
+
}
|
|
1685
|
+
async create(params, record, headers) {
|
|
1686
|
+
const collection = 'pub.techne.draft.block';
|
|
1687
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1688
|
+
return res.data;
|
|
1689
|
+
}
|
|
1690
|
+
async put(params, record, headers) {
|
|
1691
|
+
const collection = 'pub.techne.draft.block';
|
|
1692
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1693
|
+
return res.data;
|
|
1694
|
+
}
|
|
1695
|
+
async delete(params, headers) {
|
|
1696
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.block', ...params }, { headers });
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
export class PubTechneDraftChannelVerificationRecord {
|
|
1700
|
+
_client;
|
|
1701
|
+
constructor(client) {
|
|
1702
|
+
this._client = client;
|
|
1703
|
+
}
|
|
1704
|
+
async list(params) {
|
|
1705
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1706
|
+
collection: 'pub.techne.draft.channelVerification',
|
|
1707
|
+
...params,
|
|
1708
|
+
});
|
|
1709
|
+
return res.data;
|
|
1710
|
+
}
|
|
1711
|
+
async get(params) {
|
|
1712
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1713
|
+
collection: 'pub.techne.draft.channelVerification',
|
|
1714
|
+
...params,
|
|
1715
|
+
});
|
|
1716
|
+
return res.data;
|
|
1717
|
+
}
|
|
1718
|
+
async create(params, record, headers) {
|
|
1719
|
+
const collection = 'pub.techne.draft.channelVerification';
|
|
1720
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1721
|
+
return res.data;
|
|
1722
|
+
}
|
|
1723
|
+
async put(params, record, headers) {
|
|
1724
|
+
const collection = 'pub.techne.draft.channelVerification';
|
|
1725
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1726
|
+
return res.data;
|
|
1727
|
+
}
|
|
1728
|
+
async delete(params, headers) {
|
|
1729
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.channelVerification', ...params }, { headers });
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
export class PubTechneDraftCircleBeaconRecord {
|
|
1733
|
+
_client;
|
|
1734
|
+
constructor(client) {
|
|
1735
|
+
this._client = client;
|
|
1736
|
+
}
|
|
1737
|
+
async list(params) {
|
|
1738
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1739
|
+
collection: 'pub.techne.draft.circleBeacon',
|
|
1740
|
+
...params,
|
|
1741
|
+
});
|
|
1742
|
+
return res.data;
|
|
1743
|
+
}
|
|
1744
|
+
async get(params) {
|
|
1745
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1746
|
+
collection: 'pub.techne.draft.circleBeacon',
|
|
1747
|
+
...params,
|
|
1748
|
+
});
|
|
1749
|
+
return res.data;
|
|
1750
|
+
}
|
|
1751
|
+
async create(params, record, headers) {
|
|
1752
|
+
const collection = 'pub.techne.draft.circleBeacon';
|
|
1753
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1754
|
+
return res.data;
|
|
1755
|
+
}
|
|
1756
|
+
async put(params, record, headers) {
|
|
1757
|
+
const collection = 'pub.techne.draft.circleBeacon';
|
|
1758
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1759
|
+
return res.data;
|
|
1760
|
+
}
|
|
1761
|
+
async delete(params, headers) {
|
|
1762
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.circleBeacon', ...params }, { headers });
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
export class PubTechneDraftCollectiveRecord {
|
|
1766
|
+
_client;
|
|
1767
|
+
constructor(client) {
|
|
1768
|
+
this._client = client;
|
|
1769
|
+
}
|
|
1770
|
+
async list(params) {
|
|
1771
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1772
|
+
collection: 'pub.techne.draft.collective',
|
|
1773
|
+
...params,
|
|
1774
|
+
});
|
|
1775
|
+
return res.data;
|
|
1776
|
+
}
|
|
1777
|
+
async get(params) {
|
|
1778
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1779
|
+
collection: 'pub.techne.draft.collective',
|
|
1780
|
+
...params,
|
|
1781
|
+
});
|
|
1782
|
+
return res.data;
|
|
1783
|
+
}
|
|
1784
|
+
async create(params, record, headers) {
|
|
1785
|
+
const collection = 'pub.techne.draft.collective';
|
|
1786
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
1787
|
+
collection,
|
|
1788
|
+
rkey: 'self',
|
|
1789
|
+
...params,
|
|
1790
|
+
record: { ...record, $type: collection },
|
|
1791
|
+
}, { encoding: 'application/json', headers });
|
|
1792
|
+
return res.data;
|
|
1793
|
+
}
|
|
1794
|
+
async put(params, record, headers) {
|
|
1795
|
+
const collection = 'pub.techne.draft.collective';
|
|
1796
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1797
|
+
return res.data;
|
|
1798
|
+
}
|
|
1799
|
+
async delete(params, headers) {
|
|
1800
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.collective', ...params }, { headers });
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
export class PubTechneDraftConnectionRecord {
|
|
1804
|
+
_client;
|
|
1805
|
+
constructor(client) {
|
|
1806
|
+
this._client = client;
|
|
1807
|
+
}
|
|
1808
|
+
async list(params) {
|
|
1809
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1810
|
+
collection: 'pub.techne.draft.connection',
|
|
1811
|
+
...params,
|
|
1812
|
+
});
|
|
1813
|
+
return res.data;
|
|
1814
|
+
}
|
|
1815
|
+
async get(params) {
|
|
1816
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1817
|
+
collection: 'pub.techne.draft.connection',
|
|
1818
|
+
...params,
|
|
1819
|
+
});
|
|
1820
|
+
return res.data;
|
|
1821
|
+
}
|
|
1822
|
+
async create(params, record, headers) {
|
|
1823
|
+
const collection = 'pub.techne.draft.connection';
|
|
1824
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1825
|
+
return res.data;
|
|
1826
|
+
}
|
|
1827
|
+
async put(params, record, headers) {
|
|
1828
|
+
const collection = 'pub.techne.draft.connection';
|
|
1829
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1830
|
+
return res.data;
|
|
1831
|
+
}
|
|
1832
|
+
async delete(params, headers) {
|
|
1833
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.connection', ...params }, { headers });
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
export class PubTechneDraftContactRecord {
|
|
1837
|
+
_client;
|
|
1838
|
+
constructor(client) {
|
|
1839
|
+
this._client = client;
|
|
1840
|
+
}
|
|
1841
|
+
async list(params) {
|
|
1842
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1843
|
+
collection: 'pub.techne.draft.contact',
|
|
1844
|
+
...params,
|
|
1845
|
+
});
|
|
1846
|
+
return res.data;
|
|
1847
|
+
}
|
|
1848
|
+
async get(params) {
|
|
1849
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1850
|
+
collection: 'pub.techne.draft.contact',
|
|
1851
|
+
...params,
|
|
1852
|
+
});
|
|
1853
|
+
return res.data;
|
|
1854
|
+
}
|
|
1855
|
+
async create(params, record, headers) {
|
|
1856
|
+
const collection = 'pub.techne.draft.contact';
|
|
1857
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1858
|
+
return res.data;
|
|
1859
|
+
}
|
|
1860
|
+
async put(params, record, headers) {
|
|
1861
|
+
const collection = 'pub.techne.draft.contact';
|
|
1862
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1863
|
+
return res.data;
|
|
1864
|
+
}
|
|
1865
|
+
async delete(params, headers) {
|
|
1866
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.contact', ...params }, { headers });
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
export class PubTechneDraftContactChannelRecord {
|
|
1870
|
+
_client;
|
|
1871
|
+
constructor(client) {
|
|
1872
|
+
this._client = client;
|
|
1873
|
+
}
|
|
1874
|
+
async list(params) {
|
|
1875
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1876
|
+
collection: 'pub.techne.draft.contactChannel',
|
|
1877
|
+
...params,
|
|
1878
|
+
});
|
|
1879
|
+
return res.data;
|
|
1880
|
+
}
|
|
1881
|
+
async get(params) {
|
|
1882
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1883
|
+
collection: 'pub.techne.draft.contactChannel',
|
|
1884
|
+
...params,
|
|
1885
|
+
});
|
|
1886
|
+
return res.data;
|
|
1887
|
+
}
|
|
1888
|
+
async create(params, record, headers) {
|
|
1889
|
+
const collection = 'pub.techne.draft.contactChannel';
|
|
1890
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1891
|
+
return res.data;
|
|
1892
|
+
}
|
|
1893
|
+
async put(params, record, headers) {
|
|
1894
|
+
const collection = 'pub.techne.draft.contactChannel';
|
|
1895
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1896
|
+
return res.data;
|
|
1897
|
+
}
|
|
1898
|
+
async delete(params, headers) {
|
|
1899
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.contactChannel', ...params }, { headers });
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
export class PubTechneDraftContactListRecord {
|
|
1903
|
+
_client;
|
|
1904
|
+
constructor(client) {
|
|
1905
|
+
this._client = client;
|
|
1906
|
+
}
|
|
1907
|
+
async list(params) {
|
|
1908
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1909
|
+
collection: 'pub.techne.draft.contactList',
|
|
1910
|
+
...params,
|
|
1911
|
+
});
|
|
1912
|
+
return res.data;
|
|
1913
|
+
}
|
|
1914
|
+
async get(params) {
|
|
1915
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1916
|
+
collection: 'pub.techne.draft.contactList',
|
|
1917
|
+
...params,
|
|
1918
|
+
});
|
|
1919
|
+
return res.data;
|
|
1920
|
+
}
|
|
1921
|
+
async create(params, record, headers) {
|
|
1922
|
+
const collection = 'pub.techne.draft.contactList';
|
|
1923
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1924
|
+
return res.data;
|
|
1925
|
+
}
|
|
1926
|
+
async put(params, record, headers) {
|
|
1927
|
+
const collection = 'pub.techne.draft.contactList';
|
|
1928
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1929
|
+
return res.data;
|
|
1930
|
+
}
|
|
1931
|
+
async delete(params, headers) {
|
|
1932
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.contactList', ...params }, { headers });
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
export class PubTechneDraftContainedInRecord {
|
|
1936
|
+
_client;
|
|
1937
|
+
constructor(client) {
|
|
1938
|
+
this._client = client;
|
|
1939
|
+
}
|
|
1940
|
+
async list(params) {
|
|
1941
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1942
|
+
collection: 'pub.techne.draft.containedIn',
|
|
1943
|
+
...params,
|
|
1944
|
+
});
|
|
1945
|
+
return res.data;
|
|
1946
|
+
}
|
|
1947
|
+
async get(params) {
|
|
1948
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1949
|
+
collection: 'pub.techne.draft.containedIn',
|
|
1950
|
+
...params,
|
|
1951
|
+
});
|
|
1952
|
+
return res.data;
|
|
1953
|
+
}
|
|
1954
|
+
async create(params, record, headers) {
|
|
1955
|
+
const collection = 'pub.techne.draft.containedIn';
|
|
1956
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1957
|
+
return res.data;
|
|
1958
|
+
}
|
|
1959
|
+
async put(params, record, headers) {
|
|
1960
|
+
const collection = 'pub.techne.draft.containedIn';
|
|
1961
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1962
|
+
return res.data;
|
|
1963
|
+
}
|
|
1964
|
+
async delete(params, headers) {
|
|
1965
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.containedIn', ...params }, { headers });
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
export class PubTechneDraftCredentialRecord {
|
|
1969
|
+
_client;
|
|
1970
|
+
constructor(client) {
|
|
1971
|
+
this._client = client;
|
|
1972
|
+
}
|
|
1973
|
+
async list(params) {
|
|
1974
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1975
|
+
collection: 'pub.techne.draft.credential',
|
|
1976
|
+
...params,
|
|
1977
|
+
});
|
|
1978
|
+
return res.data;
|
|
1979
|
+
}
|
|
1980
|
+
async get(params) {
|
|
1981
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1982
|
+
collection: 'pub.techne.draft.credential',
|
|
1983
|
+
...params,
|
|
1984
|
+
});
|
|
1985
|
+
return res.data;
|
|
1986
|
+
}
|
|
1987
|
+
async create(params, record, headers) {
|
|
1988
|
+
const collection = 'pub.techne.draft.credential';
|
|
1989
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1990
|
+
return res.data;
|
|
1991
|
+
}
|
|
1992
|
+
async put(params, record, headers) {
|
|
1993
|
+
const collection = 'pub.techne.draft.credential';
|
|
1994
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1995
|
+
return res.data;
|
|
1996
|
+
}
|
|
1997
|
+
async delete(params, headers) {
|
|
1998
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.credential', ...params }, { headers });
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
export class PubTechneDraftCredentialRevocationRecord {
|
|
2002
|
+
_client;
|
|
2003
|
+
constructor(client) {
|
|
2004
|
+
this._client = client;
|
|
2005
|
+
}
|
|
2006
|
+
async list(params) {
|
|
2007
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2008
|
+
collection: 'pub.techne.draft.credentialRevocation',
|
|
2009
|
+
...params,
|
|
2010
|
+
});
|
|
2011
|
+
return res.data;
|
|
2012
|
+
}
|
|
2013
|
+
async get(params) {
|
|
2014
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2015
|
+
collection: 'pub.techne.draft.credentialRevocation',
|
|
2016
|
+
...params,
|
|
2017
|
+
});
|
|
2018
|
+
return res.data;
|
|
2019
|
+
}
|
|
2020
|
+
async create(params, record, headers) {
|
|
2021
|
+
const collection = 'pub.techne.draft.credentialRevocation';
|
|
2022
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2023
|
+
return res.data;
|
|
2024
|
+
}
|
|
2025
|
+
async put(params, record, headers) {
|
|
2026
|
+
const collection = 'pub.techne.draft.credentialRevocation';
|
|
2027
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2028
|
+
return res.data;
|
|
2029
|
+
}
|
|
2030
|
+
async delete(params, headers) {
|
|
2031
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.credentialRevocation', ...params }, { headers });
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
export class PubTechneDraftDerivationRecord {
|
|
2035
|
+
_client;
|
|
2036
|
+
constructor(client) {
|
|
2037
|
+
this._client = client;
|
|
2038
|
+
}
|
|
2039
|
+
async list(params) {
|
|
2040
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2041
|
+
collection: 'pub.techne.draft.derivation',
|
|
2042
|
+
...params,
|
|
2043
|
+
});
|
|
2044
|
+
return res.data;
|
|
2045
|
+
}
|
|
2046
|
+
async get(params) {
|
|
2047
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2048
|
+
collection: 'pub.techne.draft.derivation',
|
|
2049
|
+
...params,
|
|
2050
|
+
});
|
|
2051
|
+
return res.data;
|
|
2052
|
+
}
|
|
2053
|
+
async create(params, record, headers) {
|
|
2054
|
+
const collection = 'pub.techne.draft.derivation';
|
|
2055
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2056
|
+
return res.data;
|
|
2057
|
+
}
|
|
2058
|
+
async put(params, record, headers) {
|
|
2059
|
+
const collection = 'pub.techne.draft.derivation';
|
|
2060
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2061
|
+
return res.data;
|
|
2062
|
+
}
|
|
2063
|
+
async delete(params, headers) {
|
|
2064
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.derivation', ...params }, { headers });
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
export class PubTechneDraftDescriptionRecord {
|
|
2068
|
+
_client;
|
|
2069
|
+
constructor(client) {
|
|
2070
|
+
this._client = client;
|
|
2071
|
+
}
|
|
2072
|
+
async list(params) {
|
|
2073
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2074
|
+
collection: 'pub.techne.draft.description',
|
|
2075
|
+
...params,
|
|
2076
|
+
});
|
|
2077
|
+
return res.data;
|
|
2078
|
+
}
|
|
2079
|
+
async get(params) {
|
|
2080
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2081
|
+
collection: 'pub.techne.draft.description',
|
|
2082
|
+
...params,
|
|
2083
|
+
});
|
|
2084
|
+
return res.data;
|
|
2085
|
+
}
|
|
2086
|
+
async create(params, record, headers) {
|
|
2087
|
+
const collection = 'pub.techne.draft.description';
|
|
2088
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2089
|
+
return res.data;
|
|
2090
|
+
}
|
|
2091
|
+
async put(params, record, headers) {
|
|
2092
|
+
const collection = 'pub.techne.draft.description';
|
|
2093
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2094
|
+
return res.data;
|
|
2095
|
+
}
|
|
2096
|
+
async delete(params, headers) {
|
|
2097
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.description', ...params }, { headers });
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
export class PubTechneDraftDistinctFromRecord {
|
|
2101
|
+
_client;
|
|
2102
|
+
constructor(client) {
|
|
2103
|
+
this._client = client;
|
|
2104
|
+
}
|
|
2105
|
+
async list(params) {
|
|
2106
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2107
|
+
collection: 'pub.techne.draft.distinctFrom',
|
|
2108
|
+
...params,
|
|
2109
|
+
});
|
|
2110
|
+
return res.data;
|
|
2111
|
+
}
|
|
2112
|
+
async get(params) {
|
|
2113
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2114
|
+
collection: 'pub.techne.draft.distinctFrom',
|
|
2115
|
+
...params,
|
|
2116
|
+
});
|
|
2117
|
+
return res.data;
|
|
2118
|
+
}
|
|
2119
|
+
async create(params, record, headers) {
|
|
2120
|
+
const collection = 'pub.techne.draft.distinctFrom';
|
|
2121
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2122
|
+
return res.data;
|
|
2123
|
+
}
|
|
2124
|
+
async put(params, record, headers) {
|
|
2125
|
+
const collection = 'pub.techne.draft.distinctFrom';
|
|
2126
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2127
|
+
return res.data;
|
|
2128
|
+
}
|
|
2129
|
+
async delete(params, headers) {
|
|
2130
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.distinctFrom', ...params }, { headers });
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
export class PubTechneDraftEvaluationRecord {
|
|
2134
|
+
_client;
|
|
2135
|
+
constructor(client) {
|
|
2136
|
+
this._client = client;
|
|
2137
|
+
}
|
|
2138
|
+
async list(params) {
|
|
2139
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2140
|
+
collection: 'pub.techne.draft.evaluation',
|
|
2141
|
+
...params,
|
|
2142
|
+
});
|
|
2143
|
+
return res.data;
|
|
2144
|
+
}
|
|
2145
|
+
async get(params) {
|
|
2146
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2147
|
+
collection: 'pub.techne.draft.evaluation',
|
|
2148
|
+
...params,
|
|
2149
|
+
});
|
|
2150
|
+
return res.data;
|
|
2151
|
+
}
|
|
2152
|
+
async create(params, record, headers) {
|
|
2153
|
+
const collection = 'pub.techne.draft.evaluation';
|
|
2154
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2155
|
+
return res.data;
|
|
2156
|
+
}
|
|
2157
|
+
async put(params, record, headers) {
|
|
2158
|
+
const collection = 'pub.techne.draft.evaluation';
|
|
2159
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2160
|
+
return res.data;
|
|
2161
|
+
}
|
|
2162
|
+
async delete(params, headers) {
|
|
2163
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.evaluation', ...params }, { headers });
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
export class PubTechneDraftGeoRecord {
|
|
2167
|
+
_client;
|
|
2168
|
+
constructor(client) {
|
|
2169
|
+
this._client = client;
|
|
2170
|
+
}
|
|
2171
|
+
async list(params) {
|
|
2172
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2173
|
+
collection: 'pub.techne.draft.geo',
|
|
2174
|
+
...params,
|
|
2175
|
+
});
|
|
2176
|
+
return res.data;
|
|
2177
|
+
}
|
|
2178
|
+
async get(params) {
|
|
2179
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2180
|
+
collection: 'pub.techne.draft.geo',
|
|
2181
|
+
...params,
|
|
2182
|
+
});
|
|
2183
|
+
return res.data;
|
|
2184
|
+
}
|
|
2185
|
+
async create(params, record, headers) {
|
|
2186
|
+
const collection = 'pub.techne.draft.geo';
|
|
2187
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2188
|
+
return res.data;
|
|
2189
|
+
}
|
|
2190
|
+
async put(params, record, headers) {
|
|
2191
|
+
const collection = 'pub.techne.draft.geo';
|
|
2192
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2193
|
+
return res.data;
|
|
2194
|
+
}
|
|
2195
|
+
async delete(params, headers) {
|
|
2196
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.geo', ...params }, { headers });
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
export class PubTechneDraftHeldAtRecord {
|
|
2200
|
+
_client;
|
|
2201
|
+
constructor(client) {
|
|
2202
|
+
this._client = client;
|
|
2203
|
+
}
|
|
2204
|
+
async list(params) {
|
|
2205
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2206
|
+
collection: 'pub.techne.draft.heldAt',
|
|
2207
|
+
...params,
|
|
2208
|
+
});
|
|
2209
|
+
return res.data;
|
|
2210
|
+
}
|
|
2211
|
+
async get(params) {
|
|
2212
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2213
|
+
collection: 'pub.techne.draft.heldAt',
|
|
2214
|
+
...params,
|
|
2215
|
+
});
|
|
2216
|
+
return res.data;
|
|
2217
|
+
}
|
|
2218
|
+
async create(params, record, headers) {
|
|
2219
|
+
const collection = 'pub.techne.draft.heldAt';
|
|
2220
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2221
|
+
return res.data;
|
|
2222
|
+
}
|
|
2223
|
+
async put(params, record, headers) {
|
|
2224
|
+
const collection = 'pub.techne.draft.heldAt';
|
|
2225
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2226
|
+
return res.data;
|
|
2227
|
+
}
|
|
2228
|
+
async delete(params, headers) {
|
|
2229
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.heldAt', ...params }, { headers });
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
export class PubTechneDraftInterestRecord {
|
|
2233
|
+
_client;
|
|
2234
|
+
constructor(client) {
|
|
2235
|
+
this._client = client;
|
|
2236
|
+
}
|
|
2237
|
+
async list(params) {
|
|
2238
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2239
|
+
collection: 'pub.techne.draft.interest',
|
|
2240
|
+
...params,
|
|
2241
|
+
});
|
|
2242
|
+
return res.data;
|
|
2243
|
+
}
|
|
2244
|
+
async get(params) {
|
|
2245
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2246
|
+
collection: 'pub.techne.draft.interest',
|
|
2247
|
+
...params,
|
|
2248
|
+
});
|
|
2249
|
+
return res.data;
|
|
2250
|
+
}
|
|
2251
|
+
async create(params, record, headers) {
|
|
2252
|
+
const collection = 'pub.techne.draft.interest';
|
|
2253
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
2254
|
+
collection,
|
|
2255
|
+
rkey: 'self',
|
|
2256
|
+
...params,
|
|
2257
|
+
record: { ...record, $type: collection },
|
|
2258
|
+
}, { encoding: 'application/json', headers });
|
|
2259
|
+
return res.data;
|
|
2260
|
+
}
|
|
2261
|
+
async put(params, record, headers) {
|
|
2262
|
+
const collection = 'pub.techne.draft.interest';
|
|
2263
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2264
|
+
return res.data;
|
|
2265
|
+
}
|
|
2266
|
+
async delete(params, headers) {
|
|
2267
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.interest', ...params }, { headers });
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
export class PubTechneDraftIntroProposalRecord {
|
|
2271
|
+
_client;
|
|
2272
|
+
constructor(client) {
|
|
2273
|
+
this._client = client;
|
|
2274
|
+
}
|
|
2275
|
+
async list(params) {
|
|
2276
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2277
|
+
collection: 'pub.techne.draft.introProposal',
|
|
2278
|
+
...params,
|
|
2279
|
+
});
|
|
2280
|
+
return res.data;
|
|
2281
|
+
}
|
|
2282
|
+
async get(params) {
|
|
2283
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2284
|
+
collection: 'pub.techne.draft.introProposal',
|
|
2285
|
+
...params,
|
|
2286
|
+
});
|
|
2287
|
+
return res.data;
|
|
2288
|
+
}
|
|
2289
|
+
async create(params, record, headers) {
|
|
2290
|
+
const collection = 'pub.techne.draft.introProposal';
|
|
2291
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2292
|
+
return res.data;
|
|
2293
|
+
}
|
|
2294
|
+
async put(params, record, headers) {
|
|
2295
|
+
const collection = 'pub.techne.draft.introProposal';
|
|
2296
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2297
|
+
return res.data;
|
|
2298
|
+
}
|
|
2299
|
+
async delete(params, headers) {
|
|
2300
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.introProposal', ...params }, { headers });
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
export class PubTechneDraftInviteRecord {
|
|
2304
|
+
_client;
|
|
2305
|
+
constructor(client) {
|
|
2306
|
+
this._client = client;
|
|
2307
|
+
}
|
|
2308
|
+
async list(params) {
|
|
2309
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2310
|
+
collection: 'pub.techne.draft.invite',
|
|
2311
|
+
...params,
|
|
2312
|
+
});
|
|
2313
|
+
return res.data;
|
|
2314
|
+
}
|
|
2315
|
+
async get(params) {
|
|
2316
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2317
|
+
collection: 'pub.techne.draft.invite',
|
|
2318
|
+
...params,
|
|
2319
|
+
});
|
|
2320
|
+
return res.data;
|
|
2321
|
+
}
|
|
2322
|
+
async create(params, record, headers) {
|
|
2323
|
+
const collection = 'pub.techne.draft.invite';
|
|
2324
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2325
|
+
return res.data;
|
|
2326
|
+
}
|
|
2327
|
+
async put(params, record, headers) {
|
|
2328
|
+
const collection = 'pub.techne.draft.invite';
|
|
2329
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2330
|
+
return res.data;
|
|
2331
|
+
}
|
|
2332
|
+
async delete(params, headers) {
|
|
2333
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.invite', ...params }, { headers });
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
export class PubTechneDraftMembershipRecord {
|
|
2337
|
+
_client;
|
|
2338
|
+
constructor(client) {
|
|
2339
|
+
this._client = client;
|
|
2340
|
+
}
|
|
2341
|
+
async list(params) {
|
|
2342
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2343
|
+
collection: 'pub.techne.draft.membership',
|
|
2344
|
+
...params,
|
|
2345
|
+
});
|
|
2346
|
+
return res.data;
|
|
2347
|
+
}
|
|
2348
|
+
async get(params) {
|
|
2349
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2350
|
+
collection: 'pub.techne.draft.membership',
|
|
2351
|
+
...params,
|
|
2352
|
+
});
|
|
2353
|
+
return res.data;
|
|
2354
|
+
}
|
|
2355
|
+
async create(params, record, headers) {
|
|
2356
|
+
const collection = 'pub.techne.draft.membership';
|
|
2357
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2358
|
+
return res.data;
|
|
2359
|
+
}
|
|
2360
|
+
async put(params, record, headers) {
|
|
2361
|
+
const collection = 'pub.techne.draft.membership';
|
|
2362
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2363
|
+
return res.data;
|
|
2364
|
+
}
|
|
2365
|
+
async delete(params, headers) {
|
|
2366
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.membership', ...params }, { headers });
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
export class PubTechneDraftNotificationStateRecord {
|
|
2370
|
+
_client;
|
|
2371
|
+
constructor(client) {
|
|
2372
|
+
this._client = client;
|
|
2373
|
+
}
|
|
2374
|
+
async list(params) {
|
|
2375
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2376
|
+
collection: 'pub.techne.draft.notificationState',
|
|
2377
|
+
...params,
|
|
2378
|
+
});
|
|
2379
|
+
return res.data;
|
|
2380
|
+
}
|
|
2381
|
+
async get(params) {
|
|
2382
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2383
|
+
collection: 'pub.techne.draft.notificationState',
|
|
2384
|
+
...params,
|
|
2385
|
+
});
|
|
2386
|
+
return res.data;
|
|
2387
|
+
}
|
|
2388
|
+
async create(params, record, headers) {
|
|
2389
|
+
const collection = 'pub.techne.draft.notificationState';
|
|
2390
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2391
|
+
return res.data;
|
|
2392
|
+
}
|
|
2393
|
+
async put(params, record, headers) {
|
|
2394
|
+
const collection = 'pub.techne.draft.notificationState';
|
|
2395
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2396
|
+
return res.data;
|
|
2397
|
+
}
|
|
2398
|
+
async delete(params, headers) {
|
|
2399
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.notificationState', ...params }, { headers });
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
export class PubTechneDraftOperatorRecord {
|
|
2403
|
+
_client;
|
|
2404
|
+
constructor(client) {
|
|
2405
|
+
this._client = client;
|
|
2406
|
+
}
|
|
2407
|
+
async list(params) {
|
|
2408
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2409
|
+
collection: 'pub.techne.draft.operator',
|
|
2410
|
+
...params,
|
|
2411
|
+
});
|
|
2412
|
+
return res.data;
|
|
2413
|
+
}
|
|
2414
|
+
async get(params) {
|
|
2415
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2416
|
+
collection: 'pub.techne.draft.operator',
|
|
2417
|
+
...params,
|
|
2418
|
+
});
|
|
2419
|
+
return res.data;
|
|
2420
|
+
}
|
|
2421
|
+
async create(params, record, headers) {
|
|
2422
|
+
const collection = 'pub.techne.draft.operator';
|
|
2423
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2424
|
+
return res.data;
|
|
2425
|
+
}
|
|
2426
|
+
async put(params, record, headers) {
|
|
2427
|
+
const collection = 'pub.techne.draft.operator';
|
|
2428
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2429
|
+
return res.data;
|
|
2430
|
+
}
|
|
2431
|
+
async delete(params, headers) {
|
|
2432
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.operator', ...params }, { headers });
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
export class PubTechneDraftOrgRecord {
|
|
2436
|
+
_client;
|
|
2437
|
+
constructor(client) {
|
|
2438
|
+
this._client = client;
|
|
2439
|
+
}
|
|
2440
|
+
async list(params) {
|
|
2441
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2442
|
+
collection: 'pub.techne.draft.org',
|
|
2443
|
+
...params,
|
|
2444
|
+
});
|
|
2445
|
+
return res.data;
|
|
2446
|
+
}
|
|
2447
|
+
async get(params) {
|
|
2448
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2449
|
+
collection: 'pub.techne.draft.org',
|
|
2450
|
+
...params,
|
|
2451
|
+
});
|
|
2452
|
+
return res.data;
|
|
2453
|
+
}
|
|
2454
|
+
async create(params, record, headers) {
|
|
2455
|
+
const collection = 'pub.techne.draft.org';
|
|
2456
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2457
|
+
return res.data;
|
|
2458
|
+
}
|
|
2459
|
+
async put(params, record, headers) {
|
|
2460
|
+
const collection = 'pub.techne.draft.org';
|
|
2461
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2462
|
+
return res.data;
|
|
2463
|
+
}
|
|
2464
|
+
async delete(params, headers) {
|
|
2465
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.org', ...params }, { headers });
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
export class PubTechneDraftPassageRecord {
|
|
2469
|
+
_client;
|
|
2470
|
+
constructor(client) {
|
|
2471
|
+
this._client = client;
|
|
2472
|
+
}
|
|
2473
|
+
async list(params) {
|
|
2474
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2475
|
+
collection: 'pub.techne.draft.passage',
|
|
2476
|
+
...params,
|
|
2477
|
+
});
|
|
2478
|
+
return res.data;
|
|
2479
|
+
}
|
|
2480
|
+
async get(params) {
|
|
2481
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2482
|
+
collection: 'pub.techne.draft.passage',
|
|
2483
|
+
...params,
|
|
2484
|
+
});
|
|
2485
|
+
return res.data;
|
|
2486
|
+
}
|
|
2487
|
+
async create(params, record, headers) {
|
|
2488
|
+
const collection = 'pub.techne.draft.passage';
|
|
2489
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2490
|
+
return res.data;
|
|
2491
|
+
}
|
|
2492
|
+
async put(params, record, headers) {
|
|
2493
|
+
const collection = 'pub.techne.draft.passage';
|
|
2494
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2495
|
+
return res.data;
|
|
2496
|
+
}
|
|
2497
|
+
async delete(params, headers) {
|
|
2498
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.passage', ...params }, { headers });
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
export class PubTechneDraftPendingBeaconSpotRecord {
|
|
2502
|
+
_client;
|
|
2503
|
+
constructor(client) {
|
|
2504
|
+
this._client = client;
|
|
2505
|
+
}
|
|
2506
|
+
async list(params) {
|
|
2507
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2508
|
+
collection: 'pub.techne.draft.pendingBeaconSpot',
|
|
2509
|
+
...params,
|
|
2510
|
+
});
|
|
2511
|
+
return res.data;
|
|
2512
|
+
}
|
|
2513
|
+
async get(params) {
|
|
2514
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2515
|
+
collection: 'pub.techne.draft.pendingBeaconSpot',
|
|
2516
|
+
...params,
|
|
2517
|
+
});
|
|
2518
|
+
return res.data;
|
|
2519
|
+
}
|
|
2520
|
+
async create(params, record, headers) {
|
|
2521
|
+
const collection = 'pub.techne.draft.pendingBeaconSpot';
|
|
2522
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2523
|
+
return res.data;
|
|
2524
|
+
}
|
|
2525
|
+
async put(params, record, headers) {
|
|
2526
|
+
const collection = 'pub.techne.draft.pendingBeaconSpot';
|
|
2527
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2528
|
+
return res.data;
|
|
2529
|
+
}
|
|
2530
|
+
async delete(params, headers) {
|
|
2531
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.pendingBeaconSpot', ...params }, { headers });
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
export class PubTechneDraftPlaceRecord {
|
|
2535
|
+
_client;
|
|
2536
|
+
constructor(client) {
|
|
2537
|
+
this._client = client;
|
|
2538
|
+
}
|
|
2539
|
+
async list(params) {
|
|
2540
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2541
|
+
collection: 'pub.techne.draft.place',
|
|
2542
|
+
...params,
|
|
2543
|
+
});
|
|
2544
|
+
return res.data;
|
|
2545
|
+
}
|
|
2546
|
+
async get(params) {
|
|
2547
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2548
|
+
collection: 'pub.techne.draft.place',
|
|
2549
|
+
...params,
|
|
2550
|
+
});
|
|
2551
|
+
return res.data;
|
|
2552
|
+
}
|
|
2553
|
+
async create(params, record, headers) {
|
|
2554
|
+
const collection = 'pub.techne.draft.place';
|
|
2555
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2556
|
+
return res.data;
|
|
2557
|
+
}
|
|
2558
|
+
async put(params, record, headers) {
|
|
2559
|
+
const collection = 'pub.techne.draft.place';
|
|
2560
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2561
|
+
return res.data;
|
|
2562
|
+
}
|
|
2563
|
+
async delete(params, headers) {
|
|
2564
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.place', ...params }, { headers });
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
export class PubTechneDraftPostRecord {
|
|
2568
|
+
_client;
|
|
2569
|
+
constructor(client) {
|
|
2570
|
+
this._client = client;
|
|
2571
|
+
}
|
|
2572
|
+
async list(params) {
|
|
2573
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2574
|
+
collection: 'pub.techne.draft.post',
|
|
2575
|
+
...params,
|
|
2576
|
+
});
|
|
2577
|
+
return res.data;
|
|
2578
|
+
}
|
|
2579
|
+
async get(params) {
|
|
2580
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2581
|
+
collection: 'pub.techne.draft.post',
|
|
2582
|
+
...params,
|
|
2583
|
+
});
|
|
2584
|
+
return res.data;
|
|
2585
|
+
}
|
|
2586
|
+
async create(params, record, headers) {
|
|
2587
|
+
const collection = 'pub.techne.draft.post';
|
|
2588
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2589
|
+
return res.data;
|
|
2590
|
+
}
|
|
2591
|
+
async put(params, record, headers) {
|
|
2592
|
+
const collection = 'pub.techne.draft.post';
|
|
2593
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2594
|
+
return res.data;
|
|
2595
|
+
}
|
|
2596
|
+
async delete(params, headers) {
|
|
2597
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.post', ...params }, { headers });
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
export class PubTechneDraftPresenceRecord {
|
|
2601
|
+
_client;
|
|
2602
|
+
constructor(client) {
|
|
2603
|
+
this._client = client;
|
|
2604
|
+
}
|
|
2605
|
+
async list(params) {
|
|
2606
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2607
|
+
collection: 'pub.techne.draft.presence',
|
|
2608
|
+
...params,
|
|
2609
|
+
});
|
|
2610
|
+
return res.data;
|
|
2611
|
+
}
|
|
2612
|
+
async get(params) {
|
|
2613
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2614
|
+
collection: 'pub.techne.draft.presence',
|
|
2615
|
+
...params,
|
|
2616
|
+
});
|
|
2617
|
+
return res.data;
|
|
2618
|
+
}
|
|
2619
|
+
async create(params, record, headers) {
|
|
2620
|
+
const collection = 'pub.techne.draft.presence';
|
|
2621
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2622
|
+
return res.data;
|
|
2623
|
+
}
|
|
2624
|
+
async put(params, record, headers) {
|
|
2625
|
+
const collection = 'pub.techne.draft.presence';
|
|
2626
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2627
|
+
return res.data;
|
|
2628
|
+
}
|
|
2629
|
+
async delete(params, headers) {
|
|
2630
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.presence', ...params }, { headers });
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
export class PubTechneDraftProfileRecord {
|
|
2634
|
+
_client;
|
|
2635
|
+
constructor(client) {
|
|
2636
|
+
this._client = client;
|
|
2637
|
+
}
|
|
2638
|
+
async list(params) {
|
|
2639
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2640
|
+
collection: 'pub.techne.draft.profile',
|
|
2641
|
+
...params,
|
|
2642
|
+
});
|
|
2643
|
+
return res.data;
|
|
2644
|
+
}
|
|
2645
|
+
async get(params) {
|
|
2646
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2647
|
+
collection: 'pub.techne.draft.profile',
|
|
2648
|
+
...params,
|
|
2649
|
+
});
|
|
2650
|
+
return res.data;
|
|
2651
|
+
}
|
|
2652
|
+
async create(params, record, headers) {
|
|
2653
|
+
const collection = 'pub.techne.draft.profile';
|
|
2654
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2655
|
+
return res.data;
|
|
2656
|
+
}
|
|
2657
|
+
async put(params, record, headers) {
|
|
2658
|
+
const collection = 'pub.techne.draft.profile';
|
|
2659
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2660
|
+
return res.data;
|
|
2661
|
+
}
|
|
2662
|
+
async delete(params, headers) {
|
|
2663
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.profile', ...params }, { headers });
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
export class PubTechneDraftProvenanceRecord {
|
|
2667
|
+
_client;
|
|
2668
|
+
constructor(client) {
|
|
2669
|
+
this._client = client;
|
|
2670
|
+
}
|
|
2671
|
+
async list(params) {
|
|
2672
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2673
|
+
collection: 'pub.techne.draft.provenance',
|
|
2674
|
+
...params,
|
|
2675
|
+
});
|
|
2676
|
+
return res.data;
|
|
2677
|
+
}
|
|
2678
|
+
async get(params) {
|
|
2679
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2680
|
+
collection: 'pub.techne.draft.provenance',
|
|
2681
|
+
...params,
|
|
2682
|
+
});
|
|
2683
|
+
return res.data;
|
|
2684
|
+
}
|
|
2685
|
+
async create(params, record, headers) {
|
|
2686
|
+
const collection = 'pub.techne.draft.provenance';
|
|
2687
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2688
|
+
return res.data;
|
|
2689
|
+
}
|
|
2690
|
+
async put(params, record, headers) {
|
|
2691
|
+
const collection = 'pub.techne.draft.provenance';
|
|
2692
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2693
|
+
return res.data;
|
|
2694
|
+
}
|
|
2695
|
+
async delete(params, headers) {
|
|
2696
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.provenance', ...params }, { headers });
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
export class PubTechneDraftPublisherRecord {
|
|
2700
|
+
_client;
|
|
2701
|
+
constructor(client) {
|
|
2702
|
+
this._client = client;
|
|
2703
|
+
}
|
|
2704
|
+
async list(params) {
|
|
2705
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2706
|
+
collection: 'pub.techne.draft.publisher',
|
|
2707
|
+
...params,
|
|
2708
|
+
});
|
|
2709
|
+
return res.data;
|
|
2710
|
+
}
|
|
2711
|
+
async get(params) {
|
|
2712
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2713
|
+
collection: 'pub.techne.draft.publisher',
|
|
2714
|
+
...params,
|
|
2715
|
+
});
|
|
2716
|
+
return res.data;
|
|
2717
|
+
}
|
|
2718
|
+
async create(params, record, headers) {
|
|
2719
|
+
const collection = 'pub.techne.draft.publisher';
|
|
2720
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
2721
|
+
collection,
|
|
2722
|
+
rkey: 'self',
|
|
2723
|
+
...params,
|
|
2724
|
+
record: { ...record, $type: collection },
|
|
2725
|
+
}, { encoding: 'application/json', headers });
|
|
2726
|
+
return res.data;
|
|
2727
|
+
}
|
|
2728
|
+
async put(params, record, headers) {
|
|
2729
|
+
const collection = 'pub.techne.draft.publisher';
|
|
2730
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2731
|
+
return res.data;
|
|
2732
|
+
}
|
|
2733
|
+
async delete(params, headers) {
|
|
2734
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.publisher', ...params }, { headers });
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
export class PubTechneDraftQuestionSetRecord {
|
|
2738
|
+
_client;
|
|
2739
|
+
constructor(client) {
|
|
2740
|
+
this._client = client;
|
|
2741
|
+
}
|
|
2742
|
+
async list(params) {
|
|
2743
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2744
|
+
collection: 'pub.techne.draft.questionSet',
|
|
2745
|
+
...params,
|
|
2746
|
+
});
|
|
2747
|
+
return res.data;
|
|
2748
|
+
}
|
|
2749
|
+
async get(params) {
|
|
2750
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2751
|
+
collection: 'pub.techne.draft.questionSet',
|
|
2752
|
+
...params,
|
|
2753
|
+
});
|
|
2754
|
+
return res.data;
|
|
2755
|
+
}
|
|
2756
|
+
async create(params, record, headers) {
|
|
2757
|
+
const collection = 'pub.techne.draft.questionSet';
|
|
2758
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2759
|
+
return res.data;
|
|
2760
|
+
}
|
|
2761
|
+
async put(params, record, headers) {
|
|
2762
|
+
const collection = 'pub.techne.draft.questionSet';
|
|
2763
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2764
|
+
return res.data;
|
|
2765
|
+
}
|
|
2766
|
+
async delete(params, headers) {
|
|
2767
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.questionSet', ...params }, { headers });
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
export class PubTechneDraftReceiptRecord {
|
|
2771
|
+
_client;
|
|
2772
|
+
constructor(client) {
|
|
2773
|
+
this._client = client;
|
|
2774
|
+
}
|
|
2775
|
+
async list(params) {
|
|
2776
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2777
|
+
collection: 'pub.techne.draft.receipt',
|
|
2778
|
+
...params,
|
|
2779
|
+
});
|
|
2780
|
+
return res.data;
|
|
2781
|
+
}
|
|
2782
|
+
async get(params) {
|
|
2783
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2784
|
+
collection: 'pub.techne.draft.receipt',
|
|
2785
|
+
...params,
|
|
2786
|
+
});
|
|
2787
|
+
return res.data;
|
|
2788
|
+
}
|
|
2789
|
+
async create(params, record, headers) {
|
|
2790
|
+
const collection = 'pub.techne.draft.receipt';
|
|
2791
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2792
|
+
return res.data;
|
|
2793
|
+
}
|
|
2794
|
+
async put(params, record, headers) {
|
|
2795
|
+
const collection = 'pub.techne.draft.receipt';
|
|
2796
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2797
|
+
return res.data;
|
|
2798
|
+
}
|
|
2799
|
+
async delete(params, headers) {
|
|
2800
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.receipt', ...params }, { headers });
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
export class PubTechneDraftReflectionRecord {
|
|
2804
|
+
_client;
|
|
2805
|
+
constructor(client) {
|
|
2806
|
+
this._client = client;
|
|
2807
|
+
}
|
|
2808
|
+
async list(params) {
|
|
2809
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2810
|
+
collection: 'pub.techne.draft.reflection',
|
|
2811
|
+
...params,
|
|
2812
|
+
});
|
|
2813
|
+
return res.data;
|
|
2814
|
+
}
|
|
2815
|
+
async get(params) {
|
|
2816
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2817
|
+
collection: 'pub.techne.draft.reflection',
|
|
2818
|
+
...params,
|
|
2819
|
+
});
|
|
2820
|
+
return res.data;
|
|
2821
|
+
}
|
|
2822
|
+
async create(params, record, headers) {
|
|
2823
|
+
const collection = 'pub.techne.draft.reflection';
|
|
2824
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2825
|
+
return res.data;
|
|
2826
|
+
}
|
|
2827
|
+
async put(params, record, headers) {
|
|
2828
|
+
const collection = 'pub.techne.draft.reflection';
|
|
2829
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2830
|
+
return res.data;
|
|
2831
|
+
}
|
|
2832
|
+
async delete(params, headers) {
|
|
2833
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.reflection', ...params }, { headers });
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
export class PubTechneDraftRetirementRecord {
|
|
2837
|
+
_client;
|
|
2838
|
+
constructor(client) {
|
|
2839
|
+
this._client = client;
|
|
2840
|
+
}
|
|
2841
|
+
async list(params) {
|
|
2842
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2843
|
+
collection: 'pub.techne.draft.retirement',
|
|
2844
|
+
...params,
|
|
2845
|
+
});
|
|
2846
|
+
return res.data;
|
|
2847
|
+
}
|
|
2848
|
+
async get(params) {
|
|
2849
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2850
|
+
collection: 'pub.techne.draft.retirement',
|
|
2851
|
+
...params,
|
|
2852
|
+
});
|
|
2853
|
+
return res.data;
|
|
2854
|
+
}
|
|
2855
|
+
async create(params, record, headers) {
|
|
2856
|
+
const collection = 'pub.techne.draft.retirement';
|
|
2857
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2858
|
+
return res.data;
|
|
2859
|
+
}
|
|
2860
|
+
async put(params, record, headers) {
|
|
2861
|
+
const collection = 'pub.techne.draft.retirement';
|
|
2862
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2863
|
+
return res.data;
|
|
2864
|
+
}
|
|
2865
|
+
async delete(params, headers) {
|
|
2866
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.retirement', ...params }, { headers });
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
export class PubTechneDraftRsvpNoteRecord {
|
|
2870
|
+
_client;
|
|
2871
|
+
constructor(client) {
|
|
2872
|
+
this._client = client;
|
|
2873
|
+
}
|
|
2874
|
+
async list(params) {
|
|
2875
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2876
|
+
collection: 'pub.techne.draft.rsvpNote',
|
|
2877
|
+
...params,
|
|
2878
|
+
});
|
|
2879
|
+
return res.data;
|
|
2880
|
+
}
|
|
2881
|
+
async get(params) {
|
|
2882
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2883
|
+
collection: 'pub.techne.draft.rsvpNote',
|
|
2884
|
+
...params,
|
|
2885
|
+
});
|
|
2886
|
+
return res.data;
|
|
2887
|
+
}
|
|
2888
|
+
async create(params, record, headers) {
|
|
2889
|
+
const collection = 'pub.techne.draft.rsvpNote';
|
|
2890
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2891
|
+
return res.data;
|
|
2892
|
+
}
|
|
2893
|
+
async put(params, record, headers) {
|
|
2894
|
+
const collection = 'pub.techne.draft.rsvpNote';
|
|
2895
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2896
|
+
return res.data;
|
|
2897
|
+
}
|
|
2898
|
+
async delete(params, headers) {
|
|
2899
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.rsvpNote', ...params }, { headers });
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
export class PubTechneDraftSameAsRecord {
|
|
2903
|
+
_client;
|
|
2904
|
+
constructor(client) {
|
|
2905
|
+
this._client = client;
|
|
2906
|
+
}
|
|
2907
|
+
async list(params) {
|
|
2908
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2909
|
+
collection: 'pub.techne.draft.sameAs',
|
|
2910
|
+
...params,
|
|
2911
|
+
});
|
|
2912
|
+
return res.data;
|
|
2913
|
+
}
|
|
2914
|
+
async get(params) {
|
|
2915
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2916
|
+
collection: 'pub.techne.draft.sameAs',
|
|
2917
|
+
...params,
|
|
2918
|
+
});
|
|
2919
|
+
return res.data;
|
|
2920
|
+
}
|
|
2921
|
+
async create(params, record, headers) {
|
|
2922
|
+
const collection = 'pub.techne.draft.sameAs';
|
|
2923
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2924
|
+
return res.data;
|
|
2925
|
+
}
|
|
2926
|
+
async put(params, record, headers) {
|
|
2927
|
+
const collection = 'pub.techne.draft.sameAs';
|
|
2928
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2929
|
+
return res.data;
|
|
2930
|
+
}
|
|
2931
|
+
async delete(params, headers) {
|
|
2932
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.sameAs', ...params }, { headers });
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
export class PubTechneDraftShareRecord {
|
|
2936
|
+
_client;
|
|
2937
|
+
constructor(client) {
|
|
2938
|
+
this._client = client;
|
|
2939
|
+
}
|
|
2940
|
+
async list(params) {
|
|
2941
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2942
|
+
collection: 'pub.techne.draft.share',
|
|
2943
|
+
...params,
|
|
2944
|
+
});
|
|
2945
|
+
return res.data;
|
|
2946
|
+
}
|
|
2947
|
+
async get(params) {
|
|
2948
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2949
|
+
collection: 'pub.techne.draft.share',
|
|
2950
|
+
...params,
|
|
2951
|
+
});
|
|
2952
|
+
return res.data;
|
|
2953
|
+
}
|
|
2954
|
+
async create(params, record, headers) {
|
|
2955
|
+
const collection = 'pub.techne.draft.share';
|
|
2956
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2957
|
+
return res.data;
|
|
2958
|
+
}
|
|
2959
|
+
async put(params, record, headers) {
|
|
2960
|
+
const collection = 'pub.techne.draft.share';
|
|
2961
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2962
|
+
return res.data;
|
|
2963
|
+
}
|
|
2964
|
+
async delete(params, headers) {
|
|
2965
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.share', ...params }, { headers });
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
export class PubTechneDraftSourceRecord {
|
|
2969
|
+
_client;
|
|
2970
|
+
constructor(client) {
|
|
2971
|
+
this._client = client;
|
|
2972
|
+
}
|
|
2973
|
+
async list(params) {
|
|
2974
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2975
|
+
collection: 'pub.techne.draft.source',
|
|
2976
|
+
...params,
|
|
2977
|
+
});
|
|
2978
|
+
return res.data;
|
|
2979
|
+
}
|
|
2980
|
+
async get(params) {
|
|
2981
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2982
|
+
collection: 'pub.techne.draft.source',
|
|
2983
|
+
...params,
|
|
2984
|
+
});
|
|
2985
|
+
return res.data;
|
|
2986
|
+
}
|
|
2987
|
+
async create(params, record, headers) {
|
|
2988
|
+
const collection = 'pub.techne.draft.source';
|
|
2989
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2990
|
+
return res.data;
|
|
2991
|
+
}
|
|
2992
|
+
async put(params, record, headers) {
|
|
2993
|
+
const collection = 'pub.techne.draft.source';
|
|
2994
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2995
|
+
return res.data;
|
|
2996
|
+
}
|
|
2997
|
+
async delete(params, headers) {
|
|
2998
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.source', ...params }, { headers });
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
3001
|
+
export class PubTechneDraftSourceAttributionRecord {
|
|
3002
|
+
_client;
|
|
3003
|
+
constructor(client) {
|
|
3004
|
+
this._client = client;
|
|
3005
|
+
}
|
|
3006
|
+
async list(params) {
|
|
3007
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3008
|
+
collection: 'pub.techne.draft.sourceAttribution',
|
|
3009
|
+
...params,
|
|
3010
|
+
});
|
|
3011
|
+
return res.data;
|
|
3012
|
+
}
|
|
3013
|
+
async get(params) {
|
|
3014
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3015
|
+
collection: 'pub.techne.draft.sourceAttribution',
|
|
3016
|
+
...params,
|
|
3017
|
+
});
|
|
3018
|
+
return res.data;
|
|
3019
|
+
}
|
|
3020
|
+
async create(params, record, headers) {
|
|
3021
|
+
const collection = 'pub.techne.draft.sourceAttribution';
|
|
3022
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3023
|
+
return res.data;
|
|
3024
|
+
}
|
|
3025
|
+
async put(params, record, headers) {
|
|
3026
|
+
const collection = 'pub.techne.draft.sourceAttribution';
|
|
3027
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3028
|
+
return res.data;
|
|
3029
|
+
}
|
|
3030
|
+
async delete(params, headers) {
|
|
3031
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.sourceAttribution', ...params }, { headers });
|
|
3032
|
+
}
|
|
3033
|
+
}
|
|
3034
|
+
export class PubTechneDraftSourceRefRecord {
|
|
3035
|
+
_client;
|
|
3036
|
+
constructor(client) {
|
|
3037
|
+
this._client = client;
|
|
3038
|
+
}
|
|
3039
|
+
async list(params) {
|
|
3040
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3041
|
+
collection: 'pub.techne.draft.sourceRef',
|
|
3042
|
+
...params,
|
|
3043
|
+
});
|
|
3044
|
+
return res.data;
|
|
3045
|
+
}
|
|
3046
|
+
async get(params) {
|
|
3047
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3048
|
+
collection: 'pub.techne.draft.sourceRef',
|
|
3049
|
+
...params,
|
|
3050
|
+
});
|
|
3051
|
+
return res.data;
|
|
3052
|
+
}
|
|
3053
|
+
async create(params, record, headers) {
|
|
3054
|
+
const collection = 'pub.techne.draft.sourceRef';
|
|
3055
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3056
|
+
return res.data;
|
|
3057
|
+
}
|
|
3058
|
+
async put(params, record, headers) {
|
|
3059
|
+
const collection = 'pub.techne.draft.sourceRef';
|
|
3060
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3061
|
+
return res.data;
|
|
3062
|
+
}
|
|
3063
|
+
async delete(params, headers) {
|
|
3064
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.sourceRef', ...params }, { headers });
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
export class PubTechneDraftSubjectPrefsRecord {
|
|
3068
|
+
_client;
|
|
3069
|
+
constructor(client) {
|
|
3070
|
+
this._client = client;
|
|
3071
|
+
}
|
|
3072
|
+
async list(params) {
|
|
3073
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3074
|
+
collection: 'pub.techne.draft.subjectPrefs',
|
|
3075
|
+
...params,
|
|
3076
|
+
});
|
|
3077
|
+
return res.data;
|
|
3078
|
+
}
|
|
3079
|
+
async get(params) {
|
|
3080
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3081
|
+
collection: 'pub.techne.draft.subjectPrefs',
|
|
3082
|
+
...params,
|
|
3083
|
+
});
|
|
3084
|
+
return res.data;
|
|
3085
|
+
}
|
|
3086
|
+
async create(params, record, headers) {
|
|
3087
|
+
const collection = 'pub.techne.draft.subjectPrefs';
|
|
3088
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3089
|
+
return res.data;
|
|
3090
|
+
}
|
|
3091
|
+
async put(params, record, headers) {
|
|
3092
|
+
const collection = 'pub.techne.draft.subjectPrefs';
|
|
3093
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3094
|
+
return res.data;
|
|
3095
|
+
}
|
|
3096
|
+
async delete(params, headers) {
|
|
3097
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.subjectPrefs', ...params }, { headers });
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
export class PubTechneDraftVerdictRecord {
|
|
3101
|
+
_client;
|
|
3102
|
+
constructor(client) {
|
|
3103
|
+
this._client = client;
|
|
3104
|
+
}
|
|
3105
|
+
async list(params) {
|
|
3106
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3107
|
+
collection: 'pub.techne.draft.verdict',
|
|
3108
|
+
...params,
|
|
3109
|
+
});
|
|
3110
|
+
return res.data;
|
|
3111
|
+
}
|
|
3112
|
+
async get(params) {
|
|
3113
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3114
|
+
collection: 'pub.techne.draft.verdict',
|
|
3115
|
+
...params,
|
|
3116
|
+
});
|
|
3117
|
+
return res.data;
|
|
3118
|
+
}
|
|
3119
|
+
async create(params, record, headers) {
|
|
3120
|
+
const collection = 'pub.techne.draft.verdict';
|
|
3121
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3122
|
+
return res.data;
|
|
3123
|
+
}
|
|
3124
|
+
async put(params, record, headers) {
|
|
3125
|
+
const collection = 'pub.techne.draft.verdict';
|
|
3126
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3127
|
+
return res.data;
|
|
3128
|
+
}
|
|
3129
|
+
async delete(params, headers) {
|
|
3130
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.verdict', ...params }, { headers });
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
export class PubTechneDraftVerificationRecord {
|
|
3134
|
+
_client;
|
|
3135
|
+
constructor(client) {
|
|
3136
|
+
this._client = client;
|
|
3137
|
+
}
|
|
3138
|
+
async list(params) {
|
|
3139
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3140
|
+
collection: 'pub.techne.draft.verification',
|
|
3141
|
+
...params,
|
|
3142
|
+
});
|
|
3143
|
+
return res.data;
|
|
3144
|
+
}
|
|
3145
|
+
async get(params) {
|
|
3146
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3147
|
+
collection: 'pub.techne.draft.verification',
|
|
3148
|
+
...params,
|
|
3149
|
+
});
|
|
3150
|
+
return res.data;
|
|
3151
|
+
}
|
|
3152
|
+
async create(params, record, headers) {
|
|
3153
|
+
const collection = 'pub.techne.draft.verification';
|
|
3154
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3155
|
+
return res.data;
|
|
3156
|
+
}
|
|
3157
|
+
async put(params, record, headers) {
|
|
3158
|
+
const collection = 'pub.techne.draft.verification';
|
|
3159
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3160
|
+
return res.data;
|
|
3161
|
+
}
|
|
3162
|
+
async delete(params, headers) {
|
|
3163
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.verification', ...params }, { headers });
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
export class PubTechneDraftWeeklyCheckInRecord {
|
|
3167
|
+
_client;
|
|
3168
|
+
constructor(client) {
|
|
3169
|
+
this._client = client;
|
|
3170
|
+
}
|
|
3171
|
+
async list(params) {
|
|
3172
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3173
|
+
collection: 'pub.techne.draft.weeklyCheckIn',
|
|
3174
|
+
...params,
|
|
3175
|
+
});
|
|
3176
|
+
return res.data;
|
|
3177
|
+
}
|
|
3178
|
+
async get(params) {
|
|
3179
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3180
|
+
collection: 'pub.techne.draft.weeklyCheckIn',
|
|
3181
|
+
...params,
|
|
3182
|
+
});
|
|
3183
|
+
return res.data;
|
|
3184
|
+
}
|
|
3185
|
+
async create(params, record, headers) {
|
|
3186
|
+
const collection = 'pub.techne.draft.weeklyCheckIn';
|
|
3187
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3188
|
+
return res.data;
|
|
3189
|
+
}
|
|
3190
|
+
async put(params, record, headers) {
|
|
3191
|
+
const collection = 'pub.techne.draft.weeklyCheckIn';
|
|
3192
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3193
|
+
return res.data;
|
|
3194
|
+
}
|
|
3195
|
+
async delete(params, headers) {
|
|
3196
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.weeklyCheckIn', ...params }, { headers });
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
export class SocialNS {
|
|
3200
|
+
_client;
|
|
3201
|
+
scenius;
|
|
3202
|
+
constructor(client) {
|
|
3203
|
+
this._client = client;
|
|
3204
|
+
this.scenius = new SocialSceniusNS(client);
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
export class SocialSceniusNS {
|
|
3208
|
+
_client;
|
|
3209
|
+
constructor(client) {
|
|
3210
|
+
this._client = client;
|
|
3211
|
+
}
|
|
3212
|
+
approveAppAccess(data, opts) {
|
|
3213
|
+
return this._client
|
|
3214
|
+
.call('social.scenius.approveAppAccess', opts?.qp, data, opts)
|
|
3215
|
+
.catch((e) => {
|
|
3216
|
+
throw SocialSceniusApproveAppAccess.toKnownErr(e);
|
|
3217
|
+
});
|
|
3218
|
+
}
|
|
3219
|
+
createCirclePost(data, opts) {
|
|
3220
|
+
return this._client
|
|
3221
|
+
.call('social.scenius.createCirclePost', opts?.qp, data, opts)
|
|
3222
|
+
.catch((e) => {
|
|
3223
|
+
throw SocialSceniusCreateCirclePost.toKnownErr(e);
|
|
3224
|
+
});
|
|
3225
|
+
}
|
|
3226
|
+
createContactInvite(data, opts) {
|
|
3227
|
+
return this._client
|
|
3228
|
+
.call('social.scenius.createContactInvite', opts?.qp, data, opts)
|
|
3229
|
+
.catch((e) => {
|
|
3230
|
+
throw SocialSceniusCreateContactInvite.toKnownErr(e);
|
|
3231
|
+
});
|
|
3232
|
+
}
|
|
3233
|
+
deleteCirclePost(data, opts) {
|
|
3234
|
+
return this._client
|
|
3235
|
+
.call('social.scenius.deleteCirclePost', opts?.qp, data, opts)
|
|
3236
|
+
.catch((e) => {
|
|
3237
|
+
throw SocialSceniusDeleteCirclePost.toKnownErr(e);
|
|
3238
|
+
});
|
|
3239
|
+
}
|
|
3240
|
+
deleteCircleProfile(data, opts) {
|
|
3241
|
+
return this._client
|
|
3242
|
+
.call('social.scenius.deleteCircleProfile', opts?.qp, data, opts)
|
|
3243
|
+
.catch((e) => {
|
|
3244
|
+
throw SocialSceniusDeleteCircleProfile.toKnownErr(e);
|
|
3245
|
+
});
|
|
3246
|
+
}
|
|
3247
|
+
getAppAccess(params, opts) {
|
|
3248
|
+
return this._client
|
|
3249
|
+
.call('social.scenius.getAppAccess', params, undefined, opts)
|
|
3250
|
+
.catch((e) => {
|
|
3251
|
+
throw SocialSceniusGetAppAccess.toKnownErr(e);
|
|
3252
|
+
});
|
|
3253
|
+
}
|
|
3254
|
+
getAppConfig(params, opts) {
|
|
3255
|
+
return this._client.call('social.scenius.getAppConfig', params, undefined, opts);
|
|
3256
|
+
}
|
|
3257
|
+
getCircleThread(params, opts) {
|
|
3258
|
+
return this._client
|
|
3259
|
+
.call('social.scenius.getCircleThread', params, undefined, opts)
|
|
3260
|
+
.catch((e) => {
|
|
3261
|
+
throw SocialSceniusGetCircleThread.toKnownErr(e);
|
|
3262
|
+
});
|
|
3263
|
+
}
|
|
3264
|
+
getContactInvite(params, opts) {
|
|
3265
|
+
return this._client
|
|
3266
|
+
.call('social.scenius.getContactInvite', params, undefined, opts)
|
|
3267
|
+
.catch((e) => {
|
|
3268
|
+
throw SocialSceniusGetContactInvite.toKnownErr(e);
|
|
3269
|
+
});
|
|
3270
|
+
}
|
|
3271
|
+
listAppAccess(params, opts) {
|
|
3272
|
+
return this._client
|
|
3273
|
+
.call('social.scenius.listAppAccess', params, undefined, opts)
|
|
3274
|
+
.catch((e) => {
|
|
3275
|
+
throw SocialSceniusListAppAccess.toKnownErr(e);
|
|
3276
|
+
});
|
|
3277
|
+
}
|
|
3278
|
+
listCirclePosts(params, opts) {
|
|
3279
|
+
return this._client
|
|
3280
|
+
.call('social.scenius.listCirclePosts', params, undefined, opts)
|
|
3281
|
+
.catch((e) => {
|
|
3282
|
+
throw SocialSceniusListCirclePosts.toKnownErr(e);
|
|
3283
|
+
});
|
|
3284
|
+
}
|
|
3285
|
+
listCircleProfiles(params, opts) {
|
|
3286
|
+
return this._client
|
|
3287
|
+
.call('social.scenius.listCircleProfiles', params, undefined, opts)
|
|
3288
|
+
.catch((e) => {
|
|
3289
|
+
throw SocialSceniusListCircleProfiles.toKnownErr(e);
|
|
3290
|
+
});
|
|
3291
|
+
}
|
|
3292
|
+
previewContactInvite(data, opts) {
|
|
3293
|
+
return this._client
|
|
3294
|
+
.call('social.scenius.previewContactInvite', opts?.qp, data, opts)
|
|
3295
|
+
.catch((e) => {
|
|
3296
|
+
throw SocialSceniusPreviewContactInvite.toKnownErr(e);
|
|
3297
|
+
});
|
|
3298
|
+
}
|
|
3299
|
+
putCircleProfile(data, opts) {
|
|
3300
|
+
return this._client
|
|
3301
|
+
.call('social.scenius.putCircleProfile', opts?.qp, data, opts)
|
|
3302
|
+
.catch((e) => {
|
|
3303
|
+
throw SocialSceniusPutCircleProfile.toKnownErr(e);
|
|
3304
|
+
});
|
|
3305
|
+
}
|
|
3306
|
+
redeemContactInvite(data, opts) {
|
|
3307
|
+
return this._client
|
|
3308
|
+
.call('social.scenius.redeemContactInvite', opts?.qp, data, opts)
|
|
3309
|
+
.catch((e) => {
|
|
3310
|
+
throw SocialSceniusRedeemContactInvite.toKnownErr(e);
|
|
3311
|
+
});
|
|
3312
|
+
}
|
|
3313
|
+
revokeContactInvite(data, opts) {
|
|
3314
|
+
return this._client
|
|
3315
|
+
.call('social.scenius.revokeContactInvite', opts?.qp, data, opts)
|
|
3316
|
+
.catch((e) => {
|
|
3317
|
+
throw SocialSceniusRevokeContactInvite.toKnownErr(e);
|
|
3318
|
+
});
|
|
3319
|
+
}
|
|
3320
|
+
}
|