@atproto/pds 0.4.159 → 0.4.160
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/CHANGELOG.md +7 -0
- package/dist/lexicon/index.d.ts +6 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +12 -4
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +308 -82
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +157 -42
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +32 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +18 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.d.ts +18 -0
- package/dist/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts +28 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.js.map +1 -0
- package/package.json +5 -5
- package/src/lexicon/index.ts +37 -11
- package/src/lexicon/lexicons.ts +166 -43
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +50 -0
- package/src/lexicon/types/app/bsky/unspecced/getAgeAssuranceState.ts +34 -0
- package/src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts +47 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -7031,47 +7031,6 @@ exports.schemaDict = {
|
|
7031
7031
|
},
|
7032
7032
|
},
|
7033
7033
|
},
|
7034
|
-
AppBskyFeedGetPosts: {
|
7035
|
-
lexicon: 1,
|
7036
|
-
id: 'app.bsky.feed.getPosts',
|
7037
|
-
defs: {
|
7038
|
-
main: {
|
7039
|
-
type: 'query',
|
7040
|
-
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
7041
|
-
parameters: {
|
7042
|
-
type: 'params',
|
7043
|
-
required: ['uris'],
|
7044
|
-
properties: {
|
7045
|
-
uris: {
|
7046
|
-
type: 'array',
|
7047
|
-
description: 'List of post AT-URIs to return hydrated views for.',
|
7048
|
-
items: {
|
7049
|
-
type: 'string',
|
7050
|
-
format: 'at-uri',
|
7051
|
-
},
|
7052
|
-
maxLength: 25,
|
7053
|
-
},
|
7054
|
-
},
|
7055
|
-
},
|
7056
|
-
output: {
|
7057
|
-
encoding: 'application/json',
|
7058
|
-
schema: {
|
7059
|
-
type: 'object',
|
7060
|
-
required: ['posts'],
|
7061
|
-
properties: {
|
7062
|
-
posts: {
|
7063
|
-
type: 'array',
|
7064
|
-
items: {
|
7065
|
-
type: 'ref',
|
7066
|
-
ref: 'lex:app.bsky.feed.defs#postView',
|
7067
|
-
},
|
7068
|
-
},
|
7069
|
-
},
|
7070
|
-
},
|
7071
|
-
},
|
7072
|
-
},
|
7073
|
-
},
|
7074
|
-
},
|
7075
7034
|
AppBskyFeedGetPostThread: {
|
7076
7035
|
lexicon: 1,
|
7077
7036
|
id: 'app.bsky.feed.getPostThread',
|
@@ -7133,6 +7092,47 @@ exports.schemaDict = {
|
|
7133
7092
|
},
|
7134
7093
|
},
|
7135
7094
|
},
|
7095
|
+
AppBskyFeedGetPosts: {
|
7096
|
+
lexicon: 1,
|
7097
|
+
id: 'app.bsky.feed.getPosts',
|
7098
|
+
defs: {
|
7099
|
+
main: {
|
7100
|
+
type: 'query',
|
7101
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
7102
|
+
parameters: {
|
7103
|
+
type: 'params',
|
7104
|
+
required: ['uris'],
|
7105
|
+
properties: {
|
7106
|
+
uris: {
|
7107
|
+
type: 'array',
|
7108
|
+
description: 'List of post AT-URIs to return hydrated views for.',
|
7109
|
+
items: {
|
7110
|
+
type: 'string',
|
7111
|
+
format: 'at-uri',
|
7112
|
+
},
|
7113
|
+
maxLength: 25,
|
7114
|
+
},
|
7115
|
+
},
|
7116
|
+
},
|
7117
|
+
output: {
|
7118
|
+
encoding: 'application/json',
|
7119
|
+
schema: {
|
7120
|
+
type: 'object',
|
7121
|
+
required: ['posts'],
|
7122
|
+
properties: {
|
7123
|
+
posts: {
|
7124
|
+
type: 'array',
|
7125
|
+
items: {
|
7126
|
+
type: 'ref',
|
7127
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
7128
|
+
},
|
7129
|
+
},
|
7130
|
+
},
|
7131
|
+
},
|
7132
|
+
},
|
7133
|
+
},
|
7134
|
+
},
|
7135
|
+
},
|
7136
7136
|
AppBskyFeedGetQuotes: {
|
7137
7137
|
lexicon: 1,
|
7138
7138
|
id: 'app.bsky.feed.getQuotes',
|
@@ -10321,6 +10321,81 @@ exports.schemaDict = {
|
|
10321
10321
|
},
|
10322
10322
|
},
|
10323
10323
|
},
|
10324
|
+
ageAssuranceState: {
|
10325
|
+
type: 'object',
|
10326
|
+
description: 'The computed state of the age assurance process, returned to the user in question on certain authenticated requests.',
|
10327
|
+
required: ['status'],
|
10328
|
+
properties: {
|
10329
|
+
lastInitiatedAt: {
|
10330
|
+
type: 'string',
|
10331
|
+
format: 'datetime',
|
10332
|
+
description: 'The timestamp when this state was last updated.',
|
10333
|
+
},
|
10334
|
+
status: {
|
10335
|
+
type: 'string',
|
10336
|
+
description: 'The status of the age assurance process.',
|
10337
|
+
knownValues: ['unknown', 'pending', 'assured', 'blocked'],
|
10338
|
+
},
|
10339
|
+
},
|
10340
|
+
},
|
10341
|
+
ageAssuranceEvent: {
|
10342
|
+
type: 'object',
|
10343
|
+
description: 'Object used to store age assurance data in stash.',
|
10344
|
+
required: ['createdAt', 'status', 'attemptId'],
|
10345
|
+
properties: {
|
10346
|
+
createdAt: {
|
10347
|
+
type: 'string',
|
10348
|
+
format: 'datetime',
|
10349
|
+
description: 'The date and time of this write operation.',
|
10350
|
+
},
|
10351
|
+
status: {
|
10352
|
+
type: 'string',
|
10353
|
+
description: 'The status of the age assurance process.',
|
10354
|
+
knownValues: ['unknown', 'pending', 'assured'],
|
10355
|
+
},
|
10356
|
+
attemptId: {
|
10357
|
+
type: 'string',
|
10358
|
+
description: 'The unique identifier for this instance of the age assurance flow, in UUID format.',
|
10359
|
+
},
|
10360
|
+
email: {
|
10361
|
+
type: 'string',
|
10362
|
+
description: 'The email used for AA.',
|
10363
|
+
},
|
10364
|
+
initIp: {
|
10365
|
+
type: 'string',
|
10366
|
+
description: 'The IP address used when initiating the AA flow.',
|
10367
|
+
},
|
10368
|
+
initUa: {
|
10369
|
+
type: 'string',
|
10370
|
+
description: 'The user agent used when initiating the AA flow.',
|
10371
|
+
},
|
10372
|
+
completeIp: {
|
10373
|
+
type: 'string',
|
10374
|
+
description: 'The IP address used when completing the AA flow.',
|
10375
|
+
},
|
10376
|
+
completeUa: {
|
10377
|
+
type: 'string',
|
10378
|
+
description: 'The user agent used when completing the AA flow.',
|
10379
|
+
},
|
10380
|
+
},
|
10381
|
+
},
|
10382
|
+
},
|
10383
|
+
},
|
10384
|
+
AppBskyUnspeccedGetAgeAssuranceState: {
|
10385
|
+
lexicon: 1,
|
10386
|
+
id: 'app.bsky.unspecced.getAgeAssuranceState',
|
10387
|
+
defs: {
|
10388
|
+
main: {
|
10389
|
+
type: 'query',
|
10390
|
+
description: 'Returns the current state of the age assurance process for an account. This is used to check if the user has completed age assurance or if further action is required.',
|
10391
|
+
output: {
|
10392
|
+
encoding: 'application/json',
|
10393
|
+
schema: {
|
10394
|
+
type: 'ref',
|
10395
|
+
ref: 'lex:app.bsky.unspecced.defs#ageAssuranceState',
|
10396
|
+
},
|
10397
|
+
},
|
10398
|
+
},
|
10324
10399
|
},
|
10325
10400
|
},
|
10326
10401
|
AppBskyUnspeccedGetConfig: {
|
@@ -11056,6 +11131,44 @@ exports.schemaDict = {
|
|
11056
11131
|
},
|
11057
11132
|
},
|
11058
11133
|
},
|
11134
|
+
AppBskyUnspeccedInitAgeAssurance: {
|
11135
|
+
lexicon: 1,
|
11136
|
+
id: 'app.bsky.unspecced.initAgeAssurance',
|
11137
|
+
defs: {
|
11138
|
+
main: {
|
11139
|
+
type: 'procedure',
|
11140
|
+
description: "Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user's age.",
|
11141
|
+
input: {
|
11142
|
+
encoding: 'application/json',
|
11143
|
+
schema: {
|
11144
|
+
type: 'object',
|
11145
|
+
required: ['email', 'language', 'countryCode'],
|
11146
|
+
properties: {
|
11147
|
+
email: {
|
11148
|
+
type: 'string',
|
11149
|
+
description: "The user's email address to receive assurance instructions.",
|
11150
|
+
},
|
11151
|
+
language: {
|
11152
|
+
type: 'string',
|
11153
|
+
description: "The user's preferred language for communication during the assurance process.",
|
11154
|
+
},
|
11155
|
+
countryCode: {
|
11156
|
+
type: 'string',
|
11157
|
+
description: "An ISO 3166-1 alpha-2 code of the user's location.",
|
11158
|
+
},
|
11159
|
+
},
|
11160
|
+
},
|
11161
|
+
},
|
11162
|
+
output: {
|
11163
|
+
encoding: 'application/json',
|
11164
|
+
schema: {
|
11165
|
+
type: 'ref',
|
11166
|
+
ref: 'lex:app.bsky.unspecced.defs#ageAssuranceState',
|
11167
|
+
},
|
11168
|
+
},
|
11169
|
+
},
|
11170
|
+
},
|
11171
|
+
},
|
11059
11172
|
AppBskyUnspeccedSearchActorsSkeleton: {
|
11060
11173
|
lexicon: 1,
|
11061
11174
|
id: 'app.bsky.unspecced.searchActorsSkeleton',
|
@@ -16944,8 +17057,8 @@ exports.ids = {
|
|
16944
17057
|
AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
|
16945
17058
|
AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
|
16946
17059
|
AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
|
16947
|
-
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
16948
17060
|
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
17061
|
+
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
16949
17062
|
AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
|
16950
17063
|
AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
|
16951
17064
|
AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
|
@@ -17002,6 +17115,7 @@ exports.ids = {
|
|
17002
17115
|
AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
|
17003
17116
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
17004
17117
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
17118
|
+
AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
|
17005
17119
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
17006
17120
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
17007
17121
|
AppBskyUnspeccedGetPostThreadOtherV2: 'app.bsky.unspecced.getPostThreadOtherV2',
|
@@ -17017,6 +17131,7 @@ exports.ids = {
|
|
17017
17131
|
AppBskyUnspeccedGetTrendingTopics: 'app.bsky.unspecced.getTrendingTopics',
|
17018
17132
|
AppBskyUnspeccedGetTrends: 'app.bsky.unspecced.getTrends',
|
17019
17133
|
AppBskyUnspeccedGetTrendsSkeleton: 'app.bsky.unspecced.getTrendsSkeleton',
|
17134
|
+
AppBskyUnspeccedInitAgeAssurance: 'app.bsky.unspecced.initAgeAssurance',
|
17020
17135
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
17021
17136
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|
17022
17137
|
AppBskyUnspeccedSearchStarterPacksSkeleton: 'app.bsky.unspecced.searchStarterPacksSkeleton',
|