@atproto/ozone 0.1.161 → 0.1.163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE.txt +1 -1
  3. package/dist/daemon/materialized-view-refresher.d.ts.map +1 -1
  4. package/dist/daemon/materialized-view-refresher.js +8 -1
  5. package/dist/daemon/materialized-view-refresher.js.map +1 -1
  6. package/dist/lexicon/index.d.ts +13 -0
  7. package/dist/lexicon/index.d.ts.map +1 -1
  8. package/dist/lexicon/index.js +37 -1
  9. package/dist/lexicon/index.js.map +1 -1
  10. package/dist/lexicon/lexicons.d.ts +914 -12
  11. package/dist/lexicon/lexicons.d.ts.map +1 -1
  12. package/dist/lexicon/lexicons.js +474 -5
  13. package/dist/lexicon/lexicons.js.map +1 -1
  14. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +23 -1
  15. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  16. package/dist/lexicon/types/app/bsky/actor/defs.js +18 -0
  17. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  18. package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts +2 -0
  19. package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
  20. package/dist/lexicon/types/app/bsky/ageassurance/defs.js.map +1 -1
  21. package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts +27 -0
  22. package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts.map +1 -0
  23. package/dist/lexicon/types/app/bsky/draft/createDraft.js +7 -0
  24. package/dist/lexicon/types/app/bsky/draft/createDraft.js.map +1 -0
  25. package/dist/lexicon/types/app/bsky/draft/defs.d.ts +110 -0
  26. package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -0
  27. package/dist/lexicon/types/app/bsky/draft/defs.js +97 -0
  28. package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -0
  29. package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts +14 -0
  30. package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts.map +1 -0
  31. package/dist/lexicon/types/app/bsky/draft/deleteDraft.js +7 -0
  32. package/dist/lexicon/types/app/bsky/draft/deleteDraft.js.map +1 -0
  33. package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts +24 -0
  34. package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts.map +1 -0
  35. package/dist/lexicon/types/app/bsky/draft/getDrafts.js +7 -0
  36. package/dist/lexicon/types/app/bsky/draft/getDrafts.js.map +1 -0
  37. package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts +15 -0
  38. package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts.map +1 -0
  39. package/dist/lexicon/types/app/bsky/draft/updateDraft.js +7 -0
  40. package/dist/lexicon/types/app/bsky/draft/updateDraft.js.map +1 -0
  41. package/dist/lexicon/types/app/bsky/embed/video.d.ts +4 -0
  42. package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
  43. package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
  44. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts +2 -0
  45. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
  46. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
  47. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +2 -0
  48. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts.map +1 -1
  49. package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
  50. package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts +1 -0
  51. package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts.map +1 -1
  52. package/dist/lexicon/types/com/atproto/server/deleteSession.js.map +1 -1
  53. package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -3
  54. package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
  55. package/dist/lexicon/types/com/atproto/server/getSession.js.map +1 -1
  56. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +4 -1
  57. package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
  58. package/dist/lexicon/types/com/atproto/server/refreshSession.js.map +1 -1
  59. package/dist/mod-service/util.d.ts.map +1 -1
  60. package/dist/mod-service/util.js +3 -1
  61. package/dist/mod-service/util.js.map +1 -1
  62. package/dist/verification/issuer.d.ts.map +1 -1
  63. package/dist/verification/issuer.js +9 -0
  64. package/dist/verification/issuer.js.map +1 -1
  65. package/package.json +8 -8
  66. package/src/daemon/materialized-view-refresher.ts +9 -3
  67. package/src/lexicon/index.ts +62 -0
  68. package/src/lexicon/lexicons.ts +491 -5
  69. package/src/lexicon/types/app/bsky/actor/defs.ts +41 -0
  70. package/src/lexicon/types/app/bsky/ageassurance/defs.ts +2 -0
  71. package/src/lexicon/types/app/bsky/draft/createDraft.ts +46 -0
  72. package/src/lexicon/types/app/bsky/draft/defs.ts +212 -0
  73. package/src/lexicon/types/app/bsky/draft/deleteDraft.ts +33 -0
  74. package/src/lexicon/types/app/bsky/draft/getDrafts.ts +42 -0
  75. package/src/lexicon/types/app/bsky/draft/updateDraft.ts +34 -0
  76. package/src/lexicon/types/app/bsky/embed/video.ts +4 -0
  77. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts +2 -0
  78. package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +2 -0
  79. package/src/lexicon/types/com/atproto/server/deleteSession.ts +1 -0
  80. package/src/lexicon/types/com/atproto/server/getSession.ts +1 -1
  81. package/src/lexicon/types/com/atproto/server/refreshSession.ts +4 -1
  82. package/src/mod-service/util.ts +3 -2
  83. package/src/verification/issuer.ts +11 -0
  84. package/tests/query-labels.test.ts +0 -2
  85. package/tests/verification.test.ts +20 -0
  86. package/tsconfig.build.tsbuildinfo +1 -1
  87. package/tsconfig.tests.tsbuildinfo +0 -1
@@ -244,6 +244,10 @@ export declare const schemaDict: {
244
244
  readonly type: "ref";
245
245
  readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
246
246
  };
247
+ readonly germ: {
248
+ readonly type: "ref";
249
+ readonly ref: "lex:app.bsky.actor.defs#profileAssociatedGerm";
250
+ };
247
251
  };
248
252
  };
249
253
  readonly profileAssociatedChat: {
@@ -256,6 +260,20 @@ export declare const schemaDict: {
256
260
  };
257
261
  };
258
262
  };
263
+ readonly profileAssociatedGerm: {
264
+ readonly type: "object";
265
+ readonly required: ["showButtonTo", "messageMeUrl"];
266
+ readonly properties: {
267
+ readonly messageMeUrl: {
268
+ readonly type: "string";
269
+ readonly format: "uri";
270
+ };
271
+ readonly showButtonTo: {
272
+ readonly type: "string";
273
+ readonly knownValues: ["usersIFollow", "everyone"];
274
+ };
275
+ };
276
+ };
259
277
  readonly profileAssociatedActivitySubscription: {
260
278
  readonly type: "object";
261
279
  readonly required: ["allowSubscriptions"];
@@ -382,7 +400,7 @@ export declare const schemaDict: {
382
400
  readonly type: "array";
383
401
  readonly items: {
384
402
  readonly type: "union";
385
- readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
403
+ readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs", "lex:app.bsky.actor.defs#liveEventPreferences"];
386
404
  };
387
405
  };
388
406
  readonly adultContentPref: {
@@ -722,6 +740,24 @@ export declare const schemaDict: {
722
740
  };
723
741
  };
724
742
  };
743
+ readonly liveEventPreferences: {
744
+ readonly type: "object";
745
+ readonly description: "Preferences for live events.";
746
+ readonly properties: {
747
+ readonly hiddenFeedIds: {
748
+ readonly description: "A list of feed IDs that the user has hidden from live events.";
749
+ readonly type: "array";
750
+ readonly items: {
751
+ readonly type: "string";
752
+ };
753
+ };
754
+ readonly hideAllFeeds: {
755
+ readonly description: "Whether to hide all feeds from live events.";
756
+ readonly type: "boolean";
757
+ readonly default: false;
758
+ };
759
+ };
760
+ };
725
761
  readonly postInteractionSettingsPref: {
726
762
  readonly type: "object";
727
763
  readonly description: "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.";
@@ -751,6 +787,14 @@ export declare const schemaDict: {
751
787
  readonly type: "object";
752
788
  readonly required: ["status", "record"];
753
789
  readonly properties: {
790
+ readonly uri: {
791
+ readonly type: "string";
792
+ readonly format: "at-uri";
793
+ };
794
+ readonly cid: {
795
+ readonly type: "string";
796
+ readonly format: "cid";
797
+ };
754
798
  readonly status: {
755
799
  readonly type: "string";
756
800
  readonly description: "The status for the account.";
@@ -773,6 +817,10 @@ export declare const schemaDict: {
773
817
  readonly type: "boolean";
774
818
  readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
775
819
  };
820
+ readonly isDisabled: {
821
+ readonly type: "boolean";
822
+ readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise.";
823
+ };
776
824
  };
777
825
  };
778
826
  };
@@ -1259,7 +1307,7 @@ export declare const schemaDict: {
1259
1307
  readonly configRegion: {
1260
1308
  readonly type: "object";
1261
1309
  readonly description: "The Age Assurance configuration for a specific region.";
1262
- readonly required: ["countryCode", "rules"];
1310
+ readonly required: ["countryCode", "minAccessAge", "rules"];
1263
1311
  readonly properties: {
1264
1312
  readonly countryCode: {
1265
1313
  readonly type: "string";
@@ -1269,6 +1317,10 @@ export declare const schemaDict: {
1269
1317
  readonly type: "string";
1270
1318
  readonly description: "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.";
1271
1319
  };
1320
+ readonly minAccessAge: {
1321
+ readonly type: "integer";
1322
+ readonly description: "The minimum age (as a whole integer) required to use Bluesky in this region.";
1323
+ };
1272
1324
  readonly rules: {
1273
1325
  readonly type: "array";
1274
1326
  readonly description: "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.";
@@ -2024,6 +2076,369 @@ export declare const schemaDict: {
2024
2076
  };
2025
2077
  };
2026
2078
  };
2079
+ readonly AppBskyDraftCreateDraft: {
2080
+ readonly lexicon: 1;
2081
+ readonly id: "app.bsky.draft.createDraft";
2082
+ readonly defs: {
2083
+ readonly main: {
2084
+ readonly type: "procedure";
2085
+ readonly description: "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.";
2086
+ readonly input: {
2087
+ readonly encoding: "application/json";
2088
+ readonly schema: {
2089
+ readonly type: "object";
2090
+ readonly required: ["draft"];
2091
+ readonly properties: {
2092
+ readonly draft: {
2093
+ readonly type: "ref";
2094
+ readonly ref: "lex:app.bsky.draft.defs#draft";
2095
+ };
2096
+ };
2097
+ };
2098
+ };
2099
+ readonly output: {
2100
+ readonly encoding: "application/json";
2101
+ readonly schema: {
2102
+ readonly type: "object";
2103
+ readonly required: ["id"];
2104
+ readonly properties: {
2105
+ readonly id: {
2106
+ readonly type: "string";
2107
+ readonly description: "The ID of the created draft.";
2108
+ };
2109
+ };
2110
+ };
2111
+ };
2112
+ readonly errors: [{
2113
+ readonly name: "DraftLimitReached";
2114
+ readonly description: "Trying to insert a new draft when the limit was already reached.";
2115
+ }];
2116
+ };
2117
+ };
2118
+ };
2119
+ readonly AppBskyDraftDefs: {
2120
+ readonly lexicon: 1;
2121
+ readonly id: "app.bsky.draft.defs";
2122
+ readonly defs: {
2123
+ readonly draftWithId: {
2124
+ readonly description: "A draft with an identifier, used to store drafts in private storage (stash).";
2125
+ readonly type: "object";
2126
+ readonly required: ["id", "draft"];
2127
+ readonly properties: {
2128
+ readonly id: {
2129
+ readonly description: "A TID to be used as a draft identifier.";
2130
+ readonly type: "string";
2131
+ readonly format: "tid";
2132
+ };
2133
+ readonly draft: {
2134
+ readonly type: "ref";
2135
+ readonly ref: "lex:app.bsky.draft.defs#draft";
2136
+ };
2137
+ };
2138
+ };
2139
+ readonly draft: {
2140
+ readonly description: "A draft containing an array of draft posts.";
2141
+ readonly type: "object";
2142
+ readonly required: ["posts"];
2143
+ readonly properties: {
2144
+ readonly deviceId: {
2145
+ readonly type: "string";
2146
+ readonly description: "UUIDv4 identifier of the device that created this draft.";
2147
+ readonly maxLength: 100;
2148
+ };
2149
+ readonly deviceName: {
2150
+ readonly type: "string";
2151
+ readonly description: "The device and/or platform on which the draft was created.";
2152
+ readonly maxLength: 100;
2153
+ };
2154
+ readonly posts: {
2155
+ readonly description: "Array of draft posts that compose this draft.";
2156
+ readonly type: "array";
2157
+ readonly minLength: 1;
2158
+ readonly maxLength: 100;
2159
+ readonly items: {
2160
+ readonly type: "ref";
2161
+ readonly ref: "lex:app.bsky.draft.defs#draftPost";
2162
+ };
2163
+ };
2164
+ readonly langs: {
2165
+ readonly type: "array";
2166
+ readonly description: "Indicates human language of posts primary text content.";
2167
+ readonly maxLength: 3;
2168
+ readonly items: {
2169
+ readonly type: "string";
2170
+ readonly format: "language";
2171
+ };
2172
+ };
2173
+ readonly postgateEmbeddingRules: {
2174
+ readonly description: "Embedding rules for the postgates to be created when this draft is published.";
2175
+ readonly type: "array";
2176
+ readonly maxLength: 5;
2177
+ readonly items: {
2178
+ readonly type: "union";
2179
+ readonly refs: ["lex:app.bsky.feed.postgate#disableRule"];
2180
+ };
2181
+ };
2182
+ readonly threadgateAllow: {
2183
+ readonly description: "Allow-rules for the threadgate to be created when this draft is published.";
2184
+ readonly type: "array";
2185
+ readonly maxLength: 5;
2186
+ readonly items: {
2187
+ readonly type: "union";
2188
+ readonly refs: ["lex:app.bsky.feed.threadgate#mentionRule", "lex:app.bsky.feed.threadgate#followerRule", "lex:app.bsky.feed.threadgate#followingRule", "lex:app.bsky.feed.threadgate#listRule"];
2189
+ };
2190
+ };
2191
+ };
2192
+ };
2193
+ readonly draftPost: {
2194
+ readonly description: "One of the posts that compose a draft.";
2195
+ readonly type: "object";
2196
+ readonly required: ["text"];
2197
+ readonly properties: {
2198
+ readonly text: {
2199
+ readonly type: "string";
2200
+ readonly maxLength: 3000;
2201
+ readonly maxGraphemes: 300;
2202
+ readonly description: "The primary post content.";
2203
+ };
2204
+ readonly labels: {
2205
+ readonly type: "union";
2206
+ readonly description: "Self-label values for this post. Effectively content warnings.";
2207
+ readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
2208
+ };
2209
+ readonly embedImages: {
2210
+ readonly type: "array";
2211
+ readonly items: {
2212
+ readonly type: "ref";
2213
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedImage";
2214
+ };
2215
+ readonly maxLength: 4;
2216
+ };
2217
+ readonly embedVideos: {
2218
+ readonly type: "array";
2219
+ readonly items: {
2220
+ readonly type: "ref";
2221
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedVideo";
2222
+ };
2223
+ readonly maxLength: 1;
2224
+ };
2225
+ readonly embedExternals: {
2226
+ readonly type: "array";
2227
+ readonly items: {
2228
+ readonly type: "ref";
2229
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedExternal";
2230
+ };
2231
+ readonly maxLength: 1;
2232
+ };
2233
+ readonly embedRecords: {
2234
+ readonly type: "array";
2235
+ readonly items: {
2236
+ readonly type: "ref";
2237
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedRecord";
2238
+ };
2239
+ readonly maxLength: 1;
2240
+ };
2241
+ };
2242
+ };
2243
+ readonly draftView: {
2244
+ readonly description: "View to present drafts data to users.";
2245
+ readonly type: "object";
2246
+ readonly required: ["id", "draft", "createdAt", "updatedAt"];
2247
+ readonly properties: {
2248
+ readonly id: {
2249
+ readonly description: "A TID to be used as a draft identifier.";
2250
+ readonly type: "string";
2251
+ readonly format: "tid";
2252
+ };
2253
+ readonly draft: {
2254
+ readonly type: "ref";
2255
+ readonly ref: "lex:app.bsky.draft.defs#draft";
2256
+ };
2257
+ readonly createdAt: {
2258
+ readonly description: "The time the draft was created.";
2259
+ readonly type: "string";
2260
+ readonly format: "datetime";
2261
+ };
2262
+ readonly updatedAt: {
2263
+ readonly description: "The time the draft was last updated.";
2264
+ readonly type: "string";
2265
+ readonly format: "datetime";
2266
+ };
2267
+ };
2268
+ };
2269
+ readonly draftEmbedLocalRef: {
2270
+ readonly type: "object";
2271
+ readonly required: ["path"];
2272
+ readonly properties: {
2273
+ readonly path: {
2274
+ readonly type: "string";
2275
+ readonly description: "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.";
2276
+ readonly minLength: 1;
2277
+ readonly maxLength: 1024;
2278
+ };
2279
+ };
2280
+ };
2281
+ readonly draftEmbedCaption: {
2282
+ readonly type: "object";
2283
+ readonly required: ["lang", "content"];
2284
+ readonly properties: {
2285
+ readonly lang: {
2286
+ readonly type: "string";
2287
+ readonly format: "language";
2288
+ };
2289
+ readonly content: {
2290
+ readonly type: "string";
2291
+ readonly maxLength: 10000;
2292
+ };
2293
+ };
2294
+ };
2295
+ readonly draftEmbedImage: {
2296
+ readonly type: "object";
2297
+ readonly required: ["localRef"];
2298
+ readonly properties: {
2299
+ readonly localRef: {
2300
+ readonly type: "ref";
2301
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
2302
+ };
2303
+ readonly alt: {
2304
+ readonly type: "string";
2305
+ readonly maxGraphemes: 2000;
2306
+ };
2307
+ };
2308
+ };
2309
+ readonly draftEmbedVideo: {
2310
+ readonly type: "object";
2311
+ readonly required: ["localRef"];
2312
+ readonly properties: {
2313
+ readonly localRef: {
2314
+ readonly type: "ref";
2315
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
2316
+ };
2317
+ readonly alt: {
2318
+ readonly type: "string";
2319
+ readonly maxGraphemes: 2000;
2320
+ };
2321
+ readonly captions: {
2322
+ readonly type: "array";
2323
+ readonly items: {
2324
+ readonly type: "ref";
2325
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedCaption";
2326
+ };
2327
+ readonly maxLength: 20;
2328
+ };
2329
+ };
2330
+ };
2331
+ readonly draftEmbedExternal: {
2332
+ readonly type: "object";
2333
+ readonly required: ["uri"];
2334
+ readonly properties: {
2335
+ readonly uri: {
2336
+ readonly type: "string";
2337
+ readonly format: "uri";
2338
+ };
2339
+ };
2340
+ };
2341
+ readonly draftEmbedRecord: {
2342
+ readonly type: "object";
2343
+ readonly required: ["record"];
2344
+ readonly properties: {
2345
+ readonly record: {
2346
+ readonly type: "ref";
2347
+ readonly ref: "lex:com.atproto.repo.strongRef";
2348
+ };
2349
+ };
2350
+ };
2351
+ };
2352
+ };
2353
+ readonly AppBskyDraftDeleteDraft: {
2354
+ readonly lexicon: 1;
2355
+ readonly id: "app.bsky.draft.deleteDraft";
2356
+ readonly defs: {
2357
+ readonly main: {
2358
+ readonly type: "procedure";
2359
+ readonly description: "Deletes a draft by ID. Requires authentication.";
2360
+ readonly input: {
2361
+ readonly encoding: "application/json";
2362
+ readonly schema: {
2363
+ readonly type: "object";
2364
+ readonly required: ["id"];
2365
+ readonly properties: {
2366
+ readonly id: {
2367
+ readonly type: "string";
2368
+ readonly format: "tid";
2369
+ };
2370
+ };
2371
+ };
2372
+ };
2373
+ };
2374
+ };
2375
+ };
2376
+ readonly AppBskyDraftGetDrafts: {
2377
+ readonly lexicon: 1;
2378
+ readonly id: "app.bsky.draft.getDrafts";
2379
+ readonly defs: {
2380
+ readonly main: {
2381
+ readonly type: "query";
2382
+ readonly description: "Gets views of user drafts. Requires authentication.";
2383
+ readonly parameters: {
2384
+ readonly type: "params";
2385
+ readonly properties: {
2386
+ readonly limit: {
2387
+ readonly type: "integer";
2388
+ readonly minimum: 1;
2389
+ readonly maximum: 100;
2390
+ readonly default: 50;
2391
+ };
2392
+ readonly cursor: {
2393
+ readonly type: "string";
2394
+ };
2395
+ };
2396
+ };
2397
+ readonly output: {
2398
+ readonly encoding: "application/json";
2399
+ readonly schema: {
2400
+ readonly type: "object";
2401
+ readonly required: ["drafts"];
2402
+ readonly properties: {
2403
+ readonly cursor: {
2404
+ readonly type: "string";
2405
+ };
2406
+ readonly drafts: {
2407
+ readonly type: "array";
2408
+ readonly items: {
2409
+ readonly type: "ref";
2410
+ readonly ref: "lex:app.bsky.draft.defs#draftView";
2411
+ };
2412
+ };
2413
+ };
2414
+ };
2415
+ };
2416
+ };
2417
+ };
2418
+ };
2419
+ readonly AppBskyDraftUpdateDraft: {
2420
+ readonly lexicon: 1;
2421
+ readonly id: "app.bsky.draft.updateDraft";
2422
+ readonly defs: {
2423
+ readonly main: {
2424
+ readonly type: "procedure";
2425
+ readonly description: "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.";
2426
+ readonly input: {
2427
+ readonly encoding: "application/json";
2428
+ readonly schema: {
2429
+ readonly type: "object";
2430
+ readonly required: ["draft"];
2431
+ readonly properties: {
2432
+ readonly draft: {
2433
+ readonly type: "ref";
2434
+ readonly ref: "lex:app.bsky.draft.defs#draftWithId";
2435
+ };
2436
+ };
2437
+ };
2438
+ };
2439
+ };
2440
+ };
2441
+ };
2027
2442
  readonly AppBskyEmbedDefs: {
2028
2443
  readonly lexicon: 1;
2029
2444
  readonly id: "app.bsky.embed.defs";
@@ -2384,6 +2799,11 @@ export declare const schemaDict: {
2384
2799
  readonly type: "ref";
2385
2800
  readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
2386
2801
  };
2802
+ readonly presentation: {
2803
+ readonly type: "string";
2804
+ readonly description: "A hint to the client about how to present the video.";
2805
+ readonly knownValues: ["default", "gif"];
2806
+ };
2387
2807
  };
2388
2808
  };
2389
2809
  readonly caption: {
@@ -2426,6 +2846,11 @@ export declare const schemaDict: {
2426
2846
  readonly type: "ref";
2427
2847
  readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
2428
2848
  };
2849
+ readonly presentation: {
2850
+ readonly type: "string";
2851
+ readonly description: "A hint to the client about how to present the video.";
2852
+ readonly knownValues: ["default", "gif"];
2853
+ };
2429
2854
  };
2430
2855
  };
2431
2856
  };
@@ -7478,6 +7903,10 @@ export declare const schemaDict: {
7478
7903
  readonly ref: "lex:app.bsky.actor.defs#profileView";
7479
7904
  };
7480
7905
  };
7906
+ readonly recId: {
7907
+ readonly type: "string";
7908
+ readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
7909
+ };
7481
7910
  };
7482
7911
  };
7483
7912
  };
@@ -7524,6 +7953,10 @@ export declare const schemaDict: {
7524
7953
  readonly format: "did";
7525
7954
  };
7526
7955
  };
7956
+ readonly recId: {
7957
+ readonly type: "string";
7958
+ readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
7959
+ };
7527
7960
  };
7528
7961
  };
7529
7962
  };
@@ -12106,7 +12539,12 @@ export declare const schemaDict: {
12106
12539
  readonly defs: {
12107
12540
  readonly main: {
12108
12541
  readonly type: "procedure";
12109
- readonly description: "Delete the current session. Requires auth.";
12542
+ readonly description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').";
12543
+ readonly errors: [{
12544
+ readonly name: "InvalidToken";
12545
+ }, {
12546
+ readonly name: "ExpiredToken";
12547
+ }];
12110
12548
  };
12111
12549
  };
12112
12550
  };
@@ -12289,6 +12727,9 @@ export declare const schemaDict: {
12289
12727
  readonly type: "string";
12290
12728
  readonly format: "did";
12291
12729
  };
12730
+ readonly didDoc: {
12731
+ readonly type: "unknown";
12732
+ };
12292
12733
  readonly email: {
12293
12734
  readonly type: "string";
12294
12735
  };
@@ -12298,9 +12739,6 @@ export declare const schemaDict: {
12298
12739
  readonly emailAuthFactor: {
12299
12740
  readonly type: "boolean";
12300
12741
  };
12301
- readonly didDoc: {
12302
- readonly type: "unknown";
12303
- };
12304
12742
  readonly active: {
12305
12743
  readonly type: "boolean";
12306
12744
  };
@@ -12390,6 +12828,15 @@ export declare const schemaDict: {
12390
12828
  readonly didDoc: {
12391
12829
  readonly type: "unknown";
12392
12830
  };
12831
+ readonly email: {
12832
+ readonly type: "string";
12833
+ };
12834
+ readonly emailConfirmed: {
12835
+ readonly type: "boolean";
12836
+ };
12837
+ readonly emailAuthFactor: {
12838
+ readonly type: "boolean";
12839
+ };
12393
12840
  readonly active: {
12394
12841
  readonly type: "boolean";
12395
12842
  };
@@ -12403,6 +12850,10 @@ export declare const schemaDict: {
12403
12850
  };
12404
12851
  readonly errors: [{
12405
12852
  readonly name: "AccountTakedown";
12853
+ }, {
12854
+ readonly name: "InvalidToken";
12855
+ }, {
12856
+ readonly name: "ExpiredToken";
12406
12857
  }];
12407
12858
  };
12408
12859
  };
@@ -18601,6 +19052,10 @@ export declare const schemas: ({
18601
19052
  readonly type: "ref";
18602
19053
  readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
18603
19054
  };
19055
+ readonly germ: {
19056
+ readonly type: "ref";
19057
+ readonly ref: "lex:app.bsky.actor.defs#profileAssociatedGerm";
19058
+ };
18604
19059
  };
18605
19060
  };
18606
19061
  readonly profileAssociatedChat: {
@@ -18613,6 +19068,20 @@ export declare const schemas: ({
18613
19068
  };
18614
19069
  };
18615
19070
  };
19071
+ readonly profileAssociatedGerm: {
19072
+ readonly type: "object";
19073
+ readonly required: ["showButtonTo", "messageMeUrl"];
19074
+ readonly properties: {
19075
+ readonly messageMeUrl: {
19076
+ readonly type: "string";
19077
+ readonly format: "uri";
19078
+ };
19079
+ readonly showButtonTo: {
19080
+ readonly type: "string";
19081
+ readonly knownValues: ["usersIFollow", "everyone"];
19082
+ };
19083
+ };
19084
+ };
18616
19085
  readonly profileAssociatedActivitySubscription: {
18617
19086
  readonly type: "object";
18618
19087
  readonly required: ["allowSubscriptions"];
@@ -18739,7 +19208,7 @@ export declare const schemas: ({
18739
19208
  readonly type: "array";
18740
19209
  readonly items: {
18741
19210
  readonly type: "union";
18742
- readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
19211
+ readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs", "lex:app.bsky.actor.defs#liveEventPreferences"];
18743
19212
  };
18744
19213
  };
18745
19214
  readonly adultContentPref: {
@@ -19079,6 +19548,24 @@ export declare const schemas: ({
19079
19548
  };
19080
19549
  };
19081
19550
  };
19551
+ readonly liveEventPreferences: {
19552
+ readonly type: "object";
19553
+ readonly description: "Preferences for live events.";
19554
+ readonly properties: {
19555
+ readonly hiddenFeedIds: {
19556
+ readonly description: "A list of feed IDs that the user has hidden from live events.";
19557
+ readonly type: "array";
19558
+ readonly items: {
19559
+ readonly type: "string";
19560
+ };
19561
+ };
19562
+ readonly hideAllFeeds: {
19563
+ readonly description: "Whether to hide all feeds from live events.";
19564
+ readonly type: "boolean";
19565
+ readonly default: false;
19566
+ };
19567
+ };
19568
+ };
19082
19569
  readonly postInteractionSettingsPref: {
19083
19570
  readonly type: "object";
19084
19571
  readonly description: "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.";
@@ -19108,6 +19595,14 @@ export declare const schemas: ({
19108
19595
  readonly type: "object";
19109
19596
  readonly required: ["status", "record"];
19110
19597
  readonly properties: {
19598
+ readonly uri: {
19599
+ readonly type: "string";
19600
+ readonly format: "at-uri";
19601
+ };
19602
+ readonly cid: {
19603
+ readonly type: "string";
19604
+ readonly format: "cid";
19605
+ };
19111
19606
  readonly status: {
19112
19607
  readonly type: "string";
19113
19608
  readonly description: "The status for the account.";
@@ -19130,6 +19625,10 @@ export declare const schemas: ({
19130
19625
  readonly type: "boolean";
19131
19626
  readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
19132
19627
  };
19628
+ readonly isDisabled: {
19629
+ readonly type: "boolean";
19630
+ readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise.";
19631
+ };
19133
19632
  };
19134
19633
  };
19135
19634
  };
@@ -19605,7 +20104,7 @@ export declare const schemas: ({
19605
20104
  readonly configRegion: {
19606
20105
  readonly type: "object";
19607
20106
  readonly description: "The Age Assurance configuration for a specific region.";
19608
- readonly required: ["countryCode", "rules"];
20107
+ readonly required: ["countryCode", "minAccessAge", "rules"];
19609
20108
  readonly properties: {
19610
20109
  readonly countryCode: {
19611
20110
  readonly type: "string";
@@ -19615,6 +20114,10 @@ export declare const schemas: ({
19615
20114
  readonly type: "string";
19616
20115
  readonly description: "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.";
19617
20116
  };
20117
+ readonly minAccessAge: {
20118
+ readonly type: "integer";
20119
+ readonly description: "The minimum age (as a whole integer) required to use Bluesky in this region.";
20120
+ };
19618
20121
  readonly rules: {
19619
20122
  readonly type: "array";
19620
20123
  readonly description: "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.";
@@ -20354,6 +20857,364 @@ export declare const schemas: ({
20354
20857
  }];
20355
20858
  };
20356
20859
  };
20860
+ } | {
20861
+ readonly lexicon: 1;
20862
+ readonly id: "app.bsky.draft.createDraft";
20863
+ readonly defs: {
20864
+ readonly main: {
20865
+ readonly type: "procedure";
20866
+ readonly description: "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.";
20867
+ readonly input: {
20868
+ readonly encoding: "application/json";
20869
+ readonly schema: {
20870
+ readonly type: "object";
20871
+ readonly required: ["draft"];
20872
+ readonly properties: {
20873
+ readonly draft: {
20874
+ readonly type: "ref";
20875
+ readonly ref: "lex:app.bsky.draft.defs#draft";
20876
+ };
20877
+ };
20878
+ };
20879
+ };
20880
+ readonly output: {
20881
+ readonly encoding: "application/json";
20882
+ readonly schema: {
20883
+ readonly type: "object";
20884
+ readonly required: ["id"];
20885
+ readonly properties: {
20886
+ readonly id: {
20887
+ readonly type: "string";
20888
+ readonly description: "The ID of the created draft.";
20889
+ };
20890
+ };
20891
+ };
20892
+ };
20893
+ readonly errors: [{
20894
+ readonly name: "DraftLimitReached";
20895
+ readonly description: "Trying to insert a new draft when the limit was already reached.";
20896
+ }];
20897
+ };
20898
+ };
20899
+ } | {
20900
+ readonly lexicon: 1;
20901
+ readonly id: "app.bsky.draft.defs";
20902
+ readonly defs: {
20903
+ readonly draftWithId: {
20904
+ readonly description: "A draft with an identifier, used to store drafts in private storage (stash).";
20905
+ readonly type: "object";
20906
+ readonly required: ["id", "draft"];
20907
+ readonly properties: {
20908
+ readonly id: {
20909
+ readonly description: "A TID to be used as a draft identifier.";
20910
+ readonly type: "string";
20911
+ readonly format: "tid";
20912
+ };
20913
+ readonly draft: {
20914
+ readonly type: "ref";
20915
+ readonly ref: "lex:app.bsky.draft.defs#draft";
20916
+ };
20917
+ };
20918
+ };
20919
+ readonly draft: {
20920
+ readonly description: "A draft containing an array of draft posts.";
20921
+ readonly type: "object";
20922
+ readonly required: ["posts"];
20923
+ readonly properties: {
20924
+ readonly deviceId: {
20925
+ readonly type: "string";
20926
+ readonly description: "UUIDv4 identifier of the device that created this draft.";
20927
+ readonly maxLength: 100;
20928
+ };
20929
+ readonly deviceName: {
20930
+ readonly type: "string";
20931
+ readonly description: "The device and/or platform on which the draft was created.";
20932
+ readonly maxLength: 100;
20933
+ };
20934
+ readonly posts: {
20935
+ readonly description: "Array of draft posts that compose this draft.";
20936
+ readonly type: "array";
20937
+ readonly minLength: 1;
20938
+ readonly maxLength: 100;
20939
+ readonly items: {
20940
+ readonly type: "ref";
20941
+ readonly ref: "lex:app.bsky.draft.defs#draftPost";
20942
+ };
20943
+ };
20944
+ readonly langs: {
20945
+ readonly type: "array";
20946
+ readonly description: "Indicates human language of posts primary text content.";
20947
+ readonly maxLength: 3;
20948
+ readonly items: {
20949
+ readonly type: "string";
20950
+ readonly format: "language";
20951
+ };
20952
+ };
20953
+ readonly postgateEmbeddingRules: {
20954
+ readonly description: "Embedding rules for the postgates to be created when this draft is published.";
20955
+ readonly type: "array";
20956
+ readonly maxLength: 5;
20957
+ readonly items: {
20958
+ readonly type: "union";
20959
+ readonly refs: ["lex:app.bsky.feed.postgate#disableRule"];
20960
+ };
20961
+ };
20962
+ readonly threadgateAllow: {
20963
+ readonly description: "Allow-rules for the threadgate to be created when this draft is published.";
20964
+ readonly type: "array";
20965
+ readonly maxLength: 5;
20966
+ readonly items: {
20967
+ readonly type: "union";
20968
+ readonly refs: ["lex:app.bsky.feed.threadgate#mentionRule", "lex:app.bsky.feed.threadgate#followerRule", "lex:app.bsky.feed.threadgate#followingRule", "lex:app.bsky.feed.threadgate#listRule"];
20969
+ };
20970
+ };
20971
+ };
20972
+ };
20973
+ readonly draftPost: {
20974
+ readonly description: "One of the posts that compose a draft.";
20975
+ readonly type: "object";
20976
+ readonly required: ["text"];
20977
+ readonly properties: {
20978
+ readonly text: {
20979
+ readonly type: "string";
20980
+ readonly maxLength: 3000;
20981
+ readonly maxGraphemes: 300;
20982
+ readonly description: "The primary post content.";
20983
+ };
20984
+ readonly labels: {
20985
+ readonly type: "union";
20986
+ readonly description: "Self-label values for this post. Effectively content warnings.";
20987
+ readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
20988
+ };
20989
+ readonly embedImages: {
20990
+ readonly type: "array";
20991
+ readonly items: {
20992
+ readonly type: "ref";
20993
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedImage";
20994
+ };
20995
+ readonly maxLength: 4;
20996
+ };
20997
+ readonly embedVideos: {
20998
+ readonly type: "array";
20999
+ readonly items: {
21000
+ readonly type: "ref";
21001
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedVideo";
21002
+ };
21003
+ readonly maxLength: 1;
21004
+ };
21005
+ readonly embedExternals: {
21006
+ readonly type: "array";
21007
+ readonly items: {
21008
+ readonly type: "ref";
21009
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedExternal";
21010
+ };
21011
+ readonly maxLength: 1;
21012
+ };
21013
+ readonly embedRecords: {
21014
+ readonly type: "array";
21015
+ readonly items: {
21016
+ readonly type: "ref";
21017
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedRecord";
21018
+ };
21019
+ readonly maxLength: 1;
21020
+ };
21021
+ };
21022
+ };
21023
+ readonly draftView: {
21024
+ readonly description: "View to present drafts data to users.";
21025
+ readonly type: "object";
21026
+ readonly required: ["id", "draft", "createdAt", "updatedAt"];
21027
+ readonly properties: {
21028
+ readonly id: {
21029
+ readonly description: "A TID to be used as a draft identifier.";
21030
+ readonly type: "string";
21031
+ readonly format: "tid";
21032
+ };
21033
+ readonly draft: {
21034
+ readonly type: "ref";
21035
+ readonly ref: "lex:app.bsky.draft.defs#draft";
21036
+ };
21037
+ readonly createdAt: {
21038
+ readonly description: "The time the draft was created.";
21039
+ readonly type: "string";
21040
+ readonly format: "datetime";
21041
+ };
21042
+ readonly updatedAt: {
21043
+ readonly description: "The time the draft was last updated.";
21044
+ readonly type: "string";
21045
+ readonly format: "datetime";
21046
+ };
21047
+ };
21048
+ };
21049
+ readonly draftEmbedLocalRef: {
21050
+ readonly type: "object";
21051
+ readonly required: ["path"];
21052
+ readonly properties: {
21053
+ readonly path: {
21054
+ readonly type: "string";
21055
+ readonly description: "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.";
21056
+ readonly minLength: 1;
21057
+ readonly maxLength: 1024;
21058
+ };
21059
+ };
21060
+ };
21061
+ readonly draftEmbedCaption: {
21062
+ readonly type: "object";
21063
+ readonly required: ["lang", "content"];
21064
+ readonly properties: {
21065
+ readonly lang: {
21066
+ readonly type: "string";
21067
+ readonly format: "language";
21068
+ };
21069
+ readonly content: {
21070
+ readonly type: "string";
21071
+ readonly maxLength: 10000;
21072
+ };
21073
+ };
21074
+ };
21075
+ readonly draftEmbedImage: {
21076
+ readonly type: "object";
21077
+ readonly required: ["localRef"];
21078
+ readonly properties: {
21079
+ readonly localRef: {
21080
+ readonly type: "ref";
21081
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
21082
+ };
21083
+ readonly alt: {
21084
+ readonly type: "string";
21085
+ readonly maxGraphemes: 2000;
21086
+ };
21087
+ };
21088
+ };
21089
+ readonly draftEmbedVideo: {
21090
+ readonly type: "object";
21091
+ readonly required: ["localRef"];
21092
+ readonly properties: {
21093
+ readonly localRef: {
21094
+ readonly type: "ref";
21095
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
21096
+ };
21097
+ readonly alt: {
21098
+ readonly type: "string";
21099
+ readonly maxGraphemes: 2000;
21100
+ };
21101
+ readonly captions: {
21102
+ readonly type: "array";
21103
+ readonly items: {
21104
+ readonly type: "ref";
21105
+ readonly ref: "lex:app.bsky.draft.defs#draftEmbedCaption";
21106
+ };
21107
+ readonly maxLength: 20;
21108
+ };
21109
+ };
21110
+ };
21111
+ readonly draftEmbedExternal: {
21112
+ readonly type: "object";
21113
+ readonly required: ["uri"];
21114
+ readonly properties: {
21115
+ readonly uri: {
21116
+ readonly type: "string";
21117
+ readonly format: "uri";
21118
+ };
21119
+ };
21120
+ };
21121
+ readonly draftEmbedRecord: {
21122
+ readonly type: "object";
21123
+ readonly required: ["record"];
21124
+ readonly properties: {
21125
+ readonly record: {
21126
+ readonly type: "ref";
21127
+ readonly ref: "lex:com.atproto.repo.strongRef";
21128
+ };
21129
+ };
21130
+ };
21131
+ };
21132
+ } | {
21133
+ readonly lexicon: 1;
21134
+ readonly id: "app.bsky.draft.deleteDraft";
21135
+ readonly defs: {
21136
+ readonly main: {
21137
+ readonly type: "procedure";
21138
+ readonly description: "Deletes a draft by ID. Requires authentication.";
21139
+ readonly input: {
21140
+ readonly encoding: "application/json";
21141
+ readonly schema: {
21142
+ readonly type: "object";
21143
+ readonly required: ["id"];
21144
+ readonly properties: {
21145
+ readonly id: {
21146
+ readonly type: "string";
21147
+ readonly format: "tid";
21148
+ };
21149
+ };
21150
+ };
21151
+ };
21152
+ };
21153
+ };
21154
+ } | {
21155
+ readonly lexicon: 1;
21156
+ readonly id: "app.bsky.draft.getDrafts";
21157
+ readonly defs: {
21158
+ readonly main: {
21159
+ readonly type: "query";
21160
+ readonly description: "Gets views of user drafts. Requires authentication.";
21161
+ readonly parameters: {
21162
+ readonly type: "params";
21163
+ readonly properties: {
21164
+ readonly limit: {
21165
+ readonly type: "integer";
21166
+ readonly minimum: 1;
21167
+ readonly maximum: 100;
21168
+ readonly default: 50;
21169
+ };
21170
+ readonly cursor: {
21171
+ readonly type: "string";
21172
+ };
21173
+ };
21174
+ };
21175
+ readonly output: {
21176
+ readonly encoding: "application/json";
21177
+ readonly schema: {
21178
+ readonly type: "object";
21179
+ readonly required: ["drafts"];
21180
+ readonly properties: {
21181
+ readonly cursor: {
21182
+ readonly type: "string";
21183
+ };
21184
+ readonly drafts: {
21185
+ readonly type: "array";
21186
+ readonly items: {
21187
+ readonly type: "ref";
21188
+ readonly ref: "lex:app.bsky.draft.defs#draftView";
21189
+ };
21190
+ };
21191
+ };
21192
+ };
21193
+ };
21194
+ };
21195
+ };
21196
+ } | {
21197
+ readonly lexicon: 1;
21198
+ readonly id: "app.bsky.draft.updateDraft";
21199
+ readonly defs: {
21200
+ readonly main: {
21201
+ readonly type: "procedure";
21202
+ readonly description: "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.";
21203
+ readonly input: {
21204
+ readonly encoding: "application/json";
21205
+ readonly schema: {
21206
+ readonly type: "object";
21207
+ readonly required: ["draft"];
21208
+ readonly properties: {
21209
+ readonly draft: {
21210
+ readonly type: "ref";
21211
+ readonly ref: "lex:app.bsky.draft.defs#draftWithId";
21212
+ };
21213
+ };
21214
+ };
21215
+ };
21216
+ };
21217
+ };
20357
21218
  } | {
20358
21219
  readonly lexicon: 1;
20359
21220
  readonly id: "app.bsky.embed.defs";
@@ -20709,6 +21570,11 @@ export declare const schemas: ({
20709
21570
  readonly type: "ref";
20710
21571
  readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
20711
21572
  };
21573
+ readonly presentation: {
21574
+ readonly type: "string";
21575
+ readonly description: "A hint to the client about how to present the video.";
21576
+ readonly knownValues: ["default", "gif"];
21577
+ };
20712
21578
  };
20713
21579
  };
20714
21580
  readonly caption: {
@@ -20751,6 +21617,11 @@ export declare const schemas: ({
20751
21617
  readonly type: "ref";
20752
21618
  readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
20753
21619
  };
21620
+ readonly presentation: {
21621
+ readonly type: "string";
21622
+ readonly description: "A hint to the client about how to present the video.";
21623
+ readonly knownValues: ["default", "gif"];
21624
+ };
20754
21625
  };
20755
21626
  };
20756
21627
  };
@@ -25718,6 +26589,10 @@ export declare const schemas: ({
25718
26589
  readonly ref: "lex:app.bsky.actor.defs#profileView";
25719
26590
  };
25720
26591
  };
26592
+ readonly recId: {
26593
+ readonly type: "string";
26594
+ readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
26595
+ };
25721
26596
  };
25722
26597
  };
25723
26598
  };
@@ -25763,6 +26638,10 @@ export declare const schemas: ({
25763
26638
  readonly format: "did";
25764
26639
  };
25765
26640
  };
26641
+ readonly recId: {
26642
+ readonly type: "string";
26643
+ readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
26644
+ };
25766
26645
  };
25767
26646
  };
25768
26647
  };
@@ -30250,7 +31129,12 @@ export declare const schemas: ({
30250
31129
  readonly defs: {
30251
31130
  readonly main: {
30252
31131
  readonly type: "procedure";
30253
- readonly description: "Delete the current session. Requires auth.";
31132
+ readonly description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').";
31133
+ readonly errors: [{
31134
+ readonly name: "InvalidToken";
31135
+ }, {
31136
+ readonly name: "ExpiredToken";
31137
+ }];
30254
31138
  };
30255
31139
  };
30256
31140
  } | {
@@ -30429,6 +31313,9 @@ export declare const schemas: ({
30429
31313
  readonly type: "string";
30430
31314
  readonly format: "did";
30431
31315
  };
31316
+ readonly didDoc: {
31317
+ readonly type: "unknown";
31318
+ };
30432
31319
  readonly email: {
30433
31320
  readonly type: "string";
30434
31321
  };
@@ -30438,9 +31325,6 @@ export declare const schemas: ({
30438
31325
  readonly emailAuthFactor: {
30439
31326
  readonly type: "boolean";
30440
31327
  };
30441
- readonly didDoc: {
30442
- readonly type: "unknown";
30443
- };
30444
31328
  readonly active: {
30445
31329
  readonly type: "boolean";
30446
31330
  };
@@ -30528,6 +31412,15 @@ export declare const schemas: ({
30528
31412
  readonly didDoc: {
30529
31413
  readonly type: "unknown";
30530
31414
  };
31415
+ readonly email: {
31416
+ readonly type: "string";
31417
+ };
31418
+ readonly emailConfirmed: {
31419
+ readonly type: "boolean";
31420
+ };
31421
+ readonly emailAuthFactor: {
31422
+ readonly type: "boolean";
31423
+ };
30531
31424
  readonly active: {
30532
31425
  readonly type: "boolean";
30533
31426
  };
@@ -30541,6 +31434,10 @@ export declare const schemas: ({
30541
31434
  };
30542
31435
  readonly errors: [{
30543
31436
  readonly name: "AccountTakedown";
31437
+ }, {
31438
+ readonly name: "InvalidToken";
31439
+ }, {
31440
+ readonly name: "ExpiredToken";
30544
31441
  }];
30545
31442
  };
30546
31443
  };
@@ -36446,6 +37343,11 @@ export declare const ids: {
36446
37343
  readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
36447
37344
  readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
36448
37345
  readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
37346
+ readonly AppBskyDraftCreateDraft: "app.bsky.draft.createDraft";
37347
+ readonly AppBskyDraftDefs: "app.bsky.draft.defs";
37348
+ readonly AppBskyDraftDeleteDraft: "app.bsky.draft.deleteDraft";
37349
+ readonly AppBskyDraftGetDrafts: "app.bsky.draft.getDrafts";
37350
+ readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
36449
37351
  readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
36450
37352
  readonly AppBskyEmbedExternal: "app.bsky.embed.external";
36451
37353
  readonly AppBskyEmbedImages: "app.bsky.embed.images";