@atproto/ozone 0.1.176 → 0.2.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/CHANGELOG.md +13 -0
- package/dist/api/chat/getConvo.d.ts +4 -0
- package/dist/api/chat/getConvo.d.ts.map +1 -0
- package/dist/api/chat/getConvo.js +18 -0
- package/dist/api/chat/getConvo.js.map +1 -0
- package/dist/api/chat/getConvoMembers.d.ts +4 -0
- package/dist/api/chat/getConvoMembers.d.ts.map +1 -0
- package/dist/api/chat/getConvoMembers.js +18 -0
- package/dist/api/chat/getConvoMembers.js.map +1 -0
- package/dist/api/chat/index.d.ts.map +1 -1
- package/dist/api/chat/index.js +4 -0
- package/dist/api/chat/index.js.map +1 -1
- package/dist/daemon/event-reverser.d.ts.map +1 -1
- package/dist/daemon/event-reverser.js +1 -0
- package/dist/daemon/event-reverser.js.map +1 -1
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts +4 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts.map +1 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js +107 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +1 -0
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/db/schema/expiring_tag.d.ts +1 -0
- package/dist/db/schema/expiring_tag.d.ts.map +1 -1
- package/dist/db/schema/expiring_tag.js.map +1 -1
- package/dist/db/schema/moderation_event.d.ts +2 -1
- package/dist/db/schema/moderation_event.d.ts.map +1 -1
- package/dist/db/schema/moderation_event.js.map +1 -1
- package/dist/db/schema/moderation_subject_status.d.ts +1 -0
- package/dist/db/schema/moderation_subject_status.d.ts.map +1 -1
- package/dist/db/schema/moderation_subject_status.js.map +1 -1
- package/dist/db/schema/report.d.ts +1 -0
- package/dist/db/schema/report.d.ts.map +1 -1
- package/dist/db/schema/report.js.map +1 -1
- package/dist/lexicon/index.d.ts +19 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +32 -2
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +1364 -132
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +721 -44
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +4 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/external.d.ts +48 -2
- package/dist/lexicon/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/external.js +21 -0
- package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts +31 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js +5 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/{group/getJoinLinkPreview.js → actor/getStatus.js} +2 -2
- package/dist/lexicon/types/chat/bsky/actor/getStatus.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -7
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +21 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts +19 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.js +19 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/defs.d.ts +23 -0
- package/dist/lexicon/types/chat/bsky/group/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/defs.js +14 -0
- package/dist/lexicon/types/chat/bsky/group/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/{getJoinLinkPreview.d.ts → getJoinLinkPreviews.d.ts} +3 -4
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts +42 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.js +26 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts +23 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.js +5 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts +26 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js +5 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts +13 -1
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +10 -3
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +7 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/mod-service/expiring-tags.d.ts +3 -0
- package/dist/mod-service/expiring-tags.d.ts.map +1 -1
- package/dist/mod-service/expiring-tags.js +5 -2
- package/dist/mod-service/expiring-tags.js.map +1 -1
- package/dist/mod-service/index.d.ts +3 -1
- package/dist/mod-service/index.d.ts.map +1 -1
- package/dist/mod-service/index.js +48 -10
- package/dist/mod-service/index.js.map +1 -1
- package/dist/mod-service/status.d.ts +7 -1
- package/dist/mod-service/status.d.ts.map +1 -1
- package/dist/mod-service/status.js +18 -3
- package/dist/mod-service/status.js.map +1 -1
- package/dist/mod-service/subject.d.ts +38 -2
- package/dist/mod-service/subject.d.ts.map +1 -1
- package/dist/mod-service/subject.js +67 -0
- package/dist/mod-service/subject.js.map +1 -1
- package/dist/mod-service/views.d.ts +2 -1
- package/dist/mod-service/views.d.ts.map +1 -1
- package/dist/mod-service/views.js +24 -22
- package/dist/mod-service/views.js.map +1 -1
- package/dist/queue/service.d.ts.map +1 -1
- package/dist/queue/service.js +7 -3
- package/dist/queue/service.js.map +1 -1
- package/dist/safelink/service.d.ts +1 -1
- package/package.json +5 -5
- package/src/api/chat/getConvo.ts +23 -0
- package/src/api/chat/getConvoMembers.ts +23 -0
- package/src/api/chat/index.ts +4 -0
- package/src/daemon/event-reverser.ts +1 -0
- package/src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts +114 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/db/schema/expiring_tag.ts +1 -0
- package/src/db/schema/moderation_event.ts +2 -0
- package/src/db/schema/moderation_subject_status.ts +4 -0
- package/src/db/schema/report.ts +2 -1
- package/src/mod-service/expiring-tags.ts +8 -2
- package/src/mod-service/index.ts +52 -16
- package/src/mod-service/status.ts +24 -2
- package/src/mod-service/subject.ts +79 -1
- package/src/mod-service/views.ts +28 -23
- package/src/queue/service.ts +8 -4
- package/tests/__snapshots__/verification.test.ts.snap +2 -0
- package/tests/expiring-tags.test.ts +1 -0
- package/tests/moderation-events.test.ts +108 -1
- package/tests/moderation-status-tags.test.ts +23 -0
- package/tests/moderation-statuses.test.ts +82 -0
- package/tests/moderation.test.ts +73 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
|
@@ -384,6 +384,15 @@ export declare const schemaDict: {
|
|
|
384
384
|
readonly description: "The user who issued this verification.";
|
|
385
385
|
readonly format: "did";
|
|
386
386
|
};
|
|
387
|
+
readonly issuerDisplayName: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
readonly description: "The display name of the issuer.";
|
|
390
|
+
};
|
|
391
|
+
readonly issuerHandle: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly description: "The handle of the issuer.";
|
|
394
|
+
readonly format: "handle";
|
|
395
|
+
};
|
|
387
396
|
readonly uri: {
|
|
388
397
|
readonly type: "string";
|
|
389
398
|
readonly description: "The AT-URI of the verification record.";
|
|
@@ -2509,13 +2518,13 @@ export declare const schemaDict: {
|
|
|
2509
2518
|
readonly accept: ["image/*"];
|
|
2510
2519
|
readonly maxSize: 1000000;
|
|
2511
2520
|
};
|
|
2512
|
-
readonly
|
|
2521
|
+
readonly associatedRefs: {
|
|
2513
2522
|
readonly type: "array";
|
|
2514
2523
|
readonly items: {
|
|
2515
2524
|
readonly type: "ref";
|
|
2516
2525
|
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2517
2526
|
};
|
|
2518
|
-
readonly description: "
|
|
2527
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
2519
2528
|
};
|
|
2520
2529
|
};
|
|
2521
2530
|
};
|
|
@@ -2547,6 +2556,176 @@ export declare const schemaDict: {
|
|
|
2547
2556
|
readonly type: "string";
|
|
2548
2557
|
readonly format: "uri";
|
|
2549
2558
|
};
|
|
2559
|
+
readonly createdAt: {
|
|
2560
|
+
readonly type: "string";
|
|
2561
|
+
readonly format: "datetime";
|
|
2562
|
+
readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
|
|
2563
|
+
};
|
|
2564
|
+
readonly updatedAt: {
|
|
2565
|
+
readonly type: "string";
|
|
2566
|
+
readonly format: "datetime";
|
|
2567
|
+
readonly description: "When the external content was updated, if available.";
|
|
2568
|
+
};
|
|
2569
|
+
readonly readingTime: {
|
|
2570
|
+
readonly type: "integer";
|
|
2571
|
+
readonly description: "Estimated reading time in minutes, if applicable and available.";
|
|
2572
|
+
};
|
|
2573
|
+
readonly labels: {
|
|
2574
|
+
readonly type: "array";
|
|
2575
|
+
readonly items: {
|
|
2576
|
+
readonly type: "ref";
|
|
2577
|
+
readonly ref: "lex:com.atproto.label.defs#label";
|
|
2578
|
+
};
|
|
2579
|
+
};
|
|
2580
|
+
readonly source: {
|
|
2581
|
+
readonly type: "ref";
|
|
2582
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
|
|
2583
|
+
};
|
|
2584
|
+
readonly associatedRefs: {
|
|
2585
|
+
readonly type: "array";
|
|
2586
|
+
readonly items: {
|
|
2587
|
+
readonly type: "ref";
|
|
2588
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2589
|
+
};
|
|
2590
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
2591
|
+
};
|
|
2592
|
+
readonly associatedProfiles: {
|
|
2593
|
+
readonly type: "array";
|
|
2594
|
+
readonly items: {
|
|
2595
|
+
readonly type: "ref";
|
|
2596
|
+
readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
|
|
2597
|
+
};
|
|
2598
|
+
readonly description: "Profiles of the owners of the Atmosphere records that backed this view.";
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
};
|
|
2602
|
+
readonly viewExternalSource: {
|
|
2603
|
+
readonly type: "object";
|
|
2604
|
+
readonly description: "The source of an external embed, such as a standard.site publication.";
|
|
2605
|
+
readonly required: ["uri", "title"];
|
|
2606
|
+
readonly properties: {
|
|
2607
|
+
readonly uri: {
|
|
2608
|
+
readonly type: "string";
|
|
2609
|
+
readonly format: "uri";
|
|
2610
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
2611
|
+
};
|
|
2612
|
+
readonly icon: {
|
|
2613
|
+
readonly type: "string";
|
|
2614
|
+
readonly format: "uri";
|
|
2615
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
2616
|
+
};
|
|
2617
|
+
readonly title: {
|
|
2618
|
+
readonly type: "string";
|
|
2619
|
+
};
|
|
2620
|
+
readonly description: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
};
|
|
2623
|
+
readonly theme: {
|
|
2624
|
+
readonly type: "ref";
|
|
2625
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
readonly viewExternalSourceTheme: {
|
|
2630
|
+
readonly type: "object";
|
|
2631
|
+
readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
|
|
2632
|
+
readonly properties: {
|
|
2633
|
+
readonly backgroundRGB: {
|
|
2634
|
+
readonly type: "ref";
|
|
2635
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2636
|
+
};
|
|
2637
|
+
readonly foregroundRGB: {
|
|
2638
|
+
readonly type: "ref";
|
|
2639
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2640
|
+
};
|
|
2641
|
+
readonly accentRGB: {
|
|
2642
|
+
readonly type: "ref";
|
|
2643
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2644
|
+
};
|
|
2645
|
+
readonly accentForegroundRGB: {
|
|
2646
|
+
readonly type: "ref";
|
|
2647
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
readonly colorRGB: {
|
|
2652
|
+
readonly type: "object";
|
|
2653
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
2654
|
+
readonly required: ["r", "g", "b"];
|
|
2655
|
+
readonly properties: {
|
|
2656
|
+
readonly r: {
|
|
2657
|
+
readonly type: "integer";
|
|
2658
|
+
readonly minimum: 0;
|
|
2659
|
+
readonly maximum: 255;
|
|
2660
|
+
};
|
|
2661
|
+
readonly g: {
|
|
2662
|
+
readonly type: "integer";
|
|
2663
|
+
readonly minimum: 0;
|
|
2664
|
+
readonly maximum: 255;
|
|
2665
|
+
};
|
|
2666
|
+
readonly b: {
|
|
2667
|
+
readonly type: "integer";
|
|
2668
|
+
readonly minimum: 0;
|
|
2669
|
+
readonly maximum: 255;
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
};
|
|
2675
|
+
readonly AppBskyEmbedGetEmbedExternalView: {
|
|
2676
|
+
readonly lexicon: 1;
|
|
2677
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
2678
|
+
readonly defs: {
|
|
2679
|
+
readonly main: {
|
|
2680
|
+
readonly type: "query";
|
|
2681
|
+
readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
|
|
2682
|
+
readonly parameters: {
|
|
2683
|
+
readonly type: "params";
|
|
2684
|
+
readonly required: ["url", "uris"];
|
|
2685
|
+
readonly properties: {
|
|
2686
|
+
readonly url: {
|
|
2687
|
+
readonly type: "string";
|
|
2688
|
+
readonly format: "uri";
|
|
2689
|
+
readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
|
|
2690
|
+
};
|
|
2691
|
+
readonly uris: {
|
|
2692
|
+
readonly type: "array";
|
|
2693
|
+
readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
|
|
2694
|
+
readonly items: {
|
|
2695
|
+
readonly type: "string";
|
|
2696
|
+
readonly format: "at-uri";
|
|
2697
|
+
};
|
|
2698
|
+
readonly maxLength: 4;
|
|
2699
|
+
};
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2702
|
+
readonly output: {
|
|
2703
|
+
readonly encoding: "application/json";
|
|
2704
|
+
readonly schema: {
|
|
2705
|
+
readonly type: "object";
|
|
2706
|
+
readonly properties: {
|
|
2707
|
+
readonly view: {
|
|
2708
|
+
readonly type: "ref";
|
|
2709
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
2710
|
+
readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
|
|
2711
|
+
};
|
|
2712
|
+
readonly associatedRefs: {
|
|
2713
|
+
readonly type: "array";
|
|
2714
|
+
readonly items: {
|
|
2715
|
+
readonly type: "ref";
|
|
2716
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2717
|
+
};
|
|
2718
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
2719
|
+
};
|
|
2720
|
+
readonly associatedRecords: {
|
|
2721
|
+
readonly type: "array";
|
|
2722
|
+
readonly items: {
|
|
2723
|
+
readonly type: "unknown";
|
|
2724
|
+
readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
|
|
2725
|
+
};
|
|
2726
|
+
};
|
|
2727
|
+
};
|
|
2728
|
+
};
|
|
2550
2729
|
};
|
|
2551
2730
|
};
|
|
2552
2731
|
};
|
|
@@ -9181,6 +9360,37 @@ export declare const schemaDict: {
|
|
|
9181
9360
|
};
|
|
9182
9361
|
};
|
|
9183
9362
|
};
|
|
9363
|
+
readonly ChatBskyActorGetStatus: {
|
|
9364
|
+
readonly lexicon: 1;
|
|
9365
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
9366
|
+
readonly defs: {
|
|
9367
|
+
readonly main: {
|
|
9368
|
+
readonly type: "query";
|
|
9369
|
+
readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
|
|
9370
|
+
readonly output: {
|
|
9371
|
+
readonly encoding: "application/json";
|
|
9372
|
+
readonly schema: {
|
|
9373
|
+
readonly type: "object";
|
|
9374
|
+
readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
|
|
9375
|
+
readonly properties: {
|
|
9376
|
+
readonly chatDisabled: {
|
|
9377
|
+
readonly type: "boolean";
|
|
9378
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
9379
|
+
};
|
|
9380
|
+
readonly canCreateGroups: {
|
|
9381
|
+
readonly type: "boolean";
|
|
9382
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
9383
|
+
};
|
|
9384
|
+
readonly groupMemberLimit: {
|
|
9385
|
+
readonly type: "integer";
|
|
9386
|
+
readonly description: "The maximum number of members allowed in a group conversation.";
|
|
9387
|
+
};
|
|
9388
|
+
};
|
|
9389
|
+
};
|
|
9390
|
+
};
|
|
9391
|
+
};
|
|
9392
|
+
};
|
|
9393
|
+
};
|
|
9184
9394
|
readonly ChatBskyConvoAcceptConvo: {
|
|
9185
9395
|
readonly lexicon: 1;
|
|
9186
9396
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -9342,7 +9552,7 @@ export declare const schemaDict: {
|
|
|
9342
9552
|
};
|
|
9343
9553
|
readonly embed: {
|
|
9344
9554
|
readonly type: "union";
|
|
9345
|
-
readonly refs: ["lex:app.bsky.embed.record"];
|
|
9555
|
+
readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
|
|
9346
9556
|
};
|
|
9347
9557
|
};
|
|
9348
9558
|
};
|
|
@@ -9371,7 +9581,7 @@ export declare const schemaDict: {
|
|
|
9371
9581
|
};
|
|
9372
9582
|
readonly embed: {
|
|
9373
9583
|
readonly type: "union";
|
|
9374
|
-
readonly refs: ["lex:app.bsky.embed.record#view"];
|
|
9584
|
+
readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
|
|
9375
9585
|
};
|
|
9376
9586
|
readonly reactions: {
|
|
9377
9587
|
readonly type: "array";
|
|
@@ -9686,18 +9896,8 @@ export declare const schemaDict: {
|
|
|
9686
9896
|
readonly groupConvo: {
|
|
9687
9897
|
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
|
|
9688
9898
|
readonly type: "object";
|
|
9689
|
-
readonly required: ["
|
|
9899
|
+
readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
|
|
9690
9900
|
readonly properties: {
|
|
9691
|
-
readonly name: {
|
|
9692
|
-
readonly type: "string";
|
|
9693
|
-
readonly description: "The display name of the group conversation.";
|
|
9694
|
-
readonly maxGraphemes: 128;
|
|
9695
|
-
readonly maxLength: 1280;
|
|
9696
|
-
};
|
|
9697
|
-
readonly memberCount: {
|
|
9698
|
-
readonly type: "integer";
|
|
9699
|
-
readonly description: "The total number of members in the group conversation.";
|
|
9700
|
-
};
|
|
9701
9901
|
readonly createdAt: {
|
|
9702
9902
|
readonly type: "string";
|
|
9703
9903
|
readonly format: "datetime";
|
|
@@ -9706,11 +9906,33 @@ export declare const schemaDict: {
|
|
|
9706
9906
|
readonly type: "ref";
|
|
9707
9907
|
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
9708
9908
|
};
|
|
9909
|
+
readonly joinRequestCount: {
|
|
9910
|
+
readonly type: "integer";
|
|
9911
|
+
readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
|
|
9912
|
+
};
|
|
9709
9913
|
readonly lockStatus: {
|
|
9710
9914
|
readonly description: "The lock status of the conversation.";
|
|
9711
9915
|
readonly type: "ref";
|
|
9712
9916
|
readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
|
|
9713
9917
|
};
|
|
9918
|
+
readonly memberCount: {
|
|
9919
|
+
readonly type: "integer";
|
|
9920
|
+
readonly description: "The total number of members in the group conversation.";
|
|
9921
|
+
};
|
|
9922
|
+
readonly memberLimit: {
|
|
9923
|
+
readonly type: "integer";
|
|
9924
|
+
readonly description: "The maximum number of members allowed in the group conversation.";
|
|
9925
|
+
};
|
|
9926
|
+
readonly name: {
|
|
9927
|
+
readonly type: "string";
|
|
9928
|
+
readonly description: "The display name of the group conversation.";
|
|
9929
|
+
readonly maxGraphemes: 128;
|
|
9930
|
+
readonly maxLength: 1280;
|
|
9931
|
+
};
|
|
9932
|
+
readonly unreadJoinRequestCount: {
|
|
9933
|
+
readonly type: "integer";
|
|
9934
|
+
readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
|
|
9935
|
+
};
|
|
9714
9936
|
};
|
|
9715
9937
|
};
|
|
9716
9938
|
readonly logBeginConvo: {
|
|
@@ -10239,7 +10461,51 @@ export declare const schemaDict: {
|
|
|
10239
10461
|
};
|
|
10240
10462
|
};
|
|
10241
10463
|
readonly logOutgoingJoinRequest: {
|
|
10242
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the
|
|
10464
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
|
|
10465
|
+
readonly type: "object";
|
|
10466
|
+
readonly required: ["rev", "convoId"];
|
|
10467
|
+
readonly properties: {
|
|
10468
|
+
readonly rev: {
|
|
10469
|
+
readonly type: "string";
|
|
10470
|
+
};
|
|
10471
|
+
readonly convoId: {
|
|
10472
|
+
readonly type: "string";
|
|
10473
|
+
};
|
|
10474
|
+
};
|
|
10475
|
+
};
|
|
10476
|
+
readonly logWithdrawIncomingJoinRequest: {
|
|
10477
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
|
|
10478
|
+
readonly type: "object";
|
|
10479
|
+
readonly required: ["rev", "convoId", "member"];
|
|
10480
|
+
readonly properties: {
|
|
10481
|
+
readonly rev: {
|
|
10482
|
+
readonly type: "string";
|
|
10483
|
+
};
|
|
10484
|
+
readonly convoId: {
|
|
10485
|
+
readonly type: "string";
|
|
10486
|
+
};
|
|
10487
|
+
readonly member: {
|
|
10488
|
+
readonly description: "Prospective member who withdrew their join request.";
|
|
10489
|
+
readonly type: "ref";
|
|
10490
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
10491
|
+
};
|
|
10492
|
+
};
|
|
10493
|
+
};
|
|
10494
|
+
readonly logWithdrawOutgoingJoinRequest: {
|
|
10495
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
|
|
10496
|
+
readonly type: "object";
|
|
10497
|
+
readonly required: ["rev", "convoId"];
|
|
10498
|
+
readonly properties: {
|
|
10499
|
+
readonly rev: {
|
|
10500
|
+
readonly type: "string";
|
|
10501
|
+
};
|
|
10502
|
+
readonly convoId: {
|
|
10503
|
+
readonly type: "string";
|
|
10504
|
+
};
|
|
10505
|
+
};
|
|
10506
|
+
};
|
|
10507
|
+
readonly logReadJoinRequests: {
|
|
10508
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
|
|
10243
10509
|
readonly type: "object";
|
|
10244
10510
|
readonly required: ["rev", "convoId"];
|
|
10245
10511
|
readonly properties: {
|
|
@@ -10378,6 +10644,8 @@ export declare const schemaDict: {
|
|
|
10378
10644
|
readonly name: "AccountSuspended";
|
|
10379
10645
|
}, {
|
|
10380
10646
|
readonly name: "BlockedActor";
|
|
10647
|
+
}, {
|
|
10648
|
+
readonly name: "BlockedSubject";
|
|
10381
10649
|
}, {
|
|
10382
10650
|
readonly name: "MessagesDisabled";
|
|
10383
10651
|
}, {
|
|
@@ -10494,7 +10762,7 @@ export declare const schemaDict: {
|
|
|
10494
10762
|
readonly type: "array";
|
|
10495
10763
|
readonly items: {
|
|
10496
10764
|
readonly type: "union";
|
|
10497
|
-
readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
|
|
10765
|
+
readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
|
|
10498
10766
|
};
|
|
10499
10767
|
};
|
|
10500
10768
|
};
|
|
@@ -10610,7 +10878,7 @@ export declare const schemaDict: {
|
|
|
10610
10878
|
readonly defs: {
|
|
10611
10879
|
readonly main: {
|
|
10612
10880
|
readonly type: "query";
|
|
10613
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as
|
|
10881
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.";
|
|
10614
10882
|
readonly parameters: {
|
|
10615
10883
|
readonly type: "params";
|
|
10616
10884
|
readonly properties: {
|
|
@@ -10638,7 +10906,7 @@ export declare const schemaDict: {
|
|
|
10638
10906
|
readonly type: "array";
|
|
10639
10907
|
readonly items: {
|
|
10640
10908
|
readonly type: "union";
|
|
10641
|
-
readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#
|
|
10909
|
+
readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestConvoView"];
|
|
10642
10910
|
};
|
|
10643
10911
|
};
|
|
10644
10912
|
};
|
|
@@ -11099,6 +11367,33 @@ export declare const schemaDict: {
|
|
|
11099
11367
|
};
|
|
11100
11368
|
};
|
|
11101
11369
|
};
|
|
11370
|
+
readonly ChatBskyEmbedJoinLink: {
|
|
11371
|
+
readonly lexicon: 1;
|
|
11372
|
+
readonly id: "chat.bsky.embed.joinLink";
|
|
11373
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
|
|
11374
|
+
readonly defs: {
|
|
11375
|
+
readonly main: {
|
|
11376
|
+
readonly type: "object";
|
|
11377
|
+
readonly required: ["code"];
|
|
11378
|
+
readonly properties: {
|
|
11379
|
+
readonly code: {
|
|
11380
|
+
readonly type: "string";
|
|
11381
|
+
readonly description: "The join link code.";
|
|
11382
|
+
};
|
|
11383
|
+
};
|
|
11384
|
+
};
|
|
11385
|
+
readonly view: {
|
|
11386
|
+
readonly type: "object";
|
|
11387
|
+
readonly required: ["joinLinkPreview"];
|
|
11388
|
+
readonly properties: {
|
|
11389
|
+
readonly joinLinkPreview: {
|
|
11390
|
+
readonly type: "ref";
|
|
11391
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
|
|
11392
|
+
};
|
|
11393
|
+
};
|
|
11394
|
+
};
|
|
11395
|
+
};
|
|
11396
|
+
};
|
|
11102
11397
|
readonly ChatBskyGroupAddMembers: {
|
|
11103
11398
|
readonly lexicon: 1;
|
|
11104
11399
|
readonly id: "chat.bsky.group.addMembers";
|
|
@@ -11111,7 +11406,7 @@ export declare const schemaDict: {
|
|
|
11111
11406
|
}, {
|
|
11112
11407
|
readonly name: "BlockedActor";
|
|
11113
11408
|
}, {
|
|
11114
|
-
readonly name: "
|
|
11409
|
+
readonly name: "BlockedSubject";
|
|
11115
11410
|
}, {
|
|
11116
11411
|
readonly name: "ConvoLocked";
|
|
11117
11412
|
}, {
|
|
@@ -11124,6 +11419,8 @@ export declare const schemaDict: {
|
|
|
11124
11419
|
readonly name: "NotFollowedBySender";
|
|
11125
11420
|
}, {
|
|
11126
11421
|
readonly name: "RecipientNotFound";
|
|
11422
|
+
}, {
|
|
11423
|
+
readonly name: "UserForbidsGroups";
|
|
11127
11424
|
}];
|
|
11128
11425
|
readonly input: {
|
|
11129
11426
|
readonly encoding: "application/json";
|
|
@@ -11226,11 +11523,15 @@ export declare const schemaDict: {
|
|
|
11226
11523
|
}, {
|
|
11227
11524
|
readonly name: "BlockedActor";
|
|
11228
11525
|
}, {
|
|
11229
|
-
readonly name: "
|
|
11526
|
+
readonly name: "BlockedSubject";
|
|
11527
|
+
}, {
|
|
11528
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
11230
11529
|
}, {
|
|
11231
11530
|
readonly name: "NotFollowedBySender";
|
|
11232
11531
|
}, {
|
|
11233
11532
|
readonly name: "RecipientNotFound";
|
|
11533
|
+
}, {
|
|
11534
|
+
readonly name: "UserForbidsGroups";
|
|
11234
11535
|
}];
|
|
11235
11536
|
readonly input: {
|
|
11236
11537
|
readonly encoding: "application/json";
|
|
@@ -11360,8 +11661,11 @@ export declare const schemaDict: {
|
|
|
11360
11661
|
};
|
|
11361
11662
|
readonly joinLinkPreviewView: {
|
|
11362
11663
|
readonly type: "object";
|
|
11363
|
-
readonly required: ["name", "owner", "memberCount", "requireApproval"];
|
|
11664
|
+
readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
11364
11665
|
readonly properties: {
|
|
11666
|
+
readonly code: {
|
|
11667
|
+
readonly type: "string";
|
|
11668
|
+
};
|
|
11365
11669
|
readonly name: {
|
|
11366
11670
|
readonly type: "string";
|
|
11367
11671
|
};
|
|
@@ -11372,14 +11676,38 @@ export declare const schemaDict: {
|
|
|
11372
11676
|
readonly memberCount: {
|
|
11373
11677
|
readonly type: "integer";
|
|
11374
11678
|
};
|
|
11679
|
+
readonly memberLimit: {
|
|
11680
|
+
readonly type: "integer";
|
|
11681
|
+
};
|
|
11375
11682
|
readonly requireApproval: {
|
|
11376
11683
|
readonly type: "boolean";
|
|
11377
11684
|
};
|
|
11685
|
+
readonly joinRule: {
|
|
11686
|
+
readonly type: "ref";
|
|
11687
|
+
readonly ref: "lex:chat.bsky.group.defs#joinRule";
|
|
11688
|
+
};
|
|
11689
|
+
readonly enabledStatus: {
|
|
11690
|
+
readonly type: "ref";
|
|
11691
|
+
readonly ref: "lex:chat.bsky.group.defs#linkEnabledStatus";
|
|
11692
|
+
};
|
|
11378
11693
|
readonly convo: {
|
|
11379
11694
|
readonly type: "ref";
|
|
11380
11695
|
readonly ref: "lex:chat.bsky.convo.defs#convoView";
|
|
11381
11696
|
readonly description: "Present only if the request is authenticated and the user is a member of the group.";
|
|
11382
11697
|
};
|
|
11698
|
+
readonly viewer: {
|
|
11699
|
+
readonly type: "ref";
|
|
11700
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
|
|
11701
|
+
};
|
|
11702
|
+
};
|
|
11703
|
+
};
|
|
11704
|
+
readonly joinLinkViewerState: {
|
|
11705
|
+
readonly type: "object";
|
|
11706
|
+
readonly properties: {
|
|
11707
|
+
readonly requestedAt: {
|
|
11708
|
+
readonly type: "string";
|
|
11709
|
+
readonly format: "datetime";
|
|
11710
|
+
};
|
|
11383
11711
|
};
|
|
11384
11712
|
};
|
|
11385
11713
|
readonly joinRequestView: {
|
|
@@ -11399,6 +11727,33 @@ export declare const schemaDict: {
|
|
|
11399
11727
|
};
|
|
11400
11728
|
};
|
|
11401
11729
|
};
|
|
11730
|
+
readonly joinRequestConvoView: {
|
|
11731
|
+
readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
|
|
11732
|
+
readonly type: "object";
|
|
11733
|
+
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "requestedAt"];
|
|
11734
|
+
readonly properties: {
|
|
11735
|
+
readonly convoId: {
|
|
11736
|
+
readonly type: "string";
|
|
11737
|
+
};
|
|
11738
|
+
readonly name: {
|
|
11739
|
+
readonly type: "string";
|
|
11740
|
+
};
|
|
11741
|
+
readonly owner: {
|
|
11742
|
+
readonly type: "ref";
|
|
11743
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
11744
|
+
};
|
|
11745
|
+
readonly memberCount: {
|
|
11746
|
+
readonly type: "integer";
|
|
11747
|
+
};
|
|
11748
|
+
readonly memberLimit: {
|
|
11749
|
+
readonly type: "integer";
|
|
11750
|
+
};
|
|
11751
|
+
readonly requestedAt: {
|
|
11752
|
+
readonly type: "string";
|
|
11753
|
+
readonly format: "datetime";
|
|
11754
|
+
};
|
|
11755
|
+
};
|
|
11756
|
+
};
|
|
11402
11757
|
};
|
|
11403
11758
|
};
|
|
11404
11759
|
readonly ChatBskyGroupDisableJoinLink: {
|
|
@@ -11584,22 +11939,24 @@ export declare const schemaDict: {
|
|
|
11584
11939
|
};
|
|
11585
11940
|
};
|
|
11586
11941
|
};
|
|
11587
|
-
readonly
|
|
11942
|
+
readonly ChatBskyGroupGetJoinLinkPreviews: {
|
|
11588
11943
|
readonly lexicon: 1;
|
|
11589
|
-
readonly id: "chat.bsky.group.
|
|
11944
|
+
readonly id: "chat.bsky.group.getJoinLinkPreviews";
|
|
11590
11945
|
readonly defs: {
|
|
11591
11946
|
readonly main: {
|
|
11592
11947
|
readonly type: "query";
|
|
11593
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about
|
|
11594
|
-
readonly errors: [{
|
|
11595
|
-
readonly name: "InvalidCode";
|
|
11596
|
-
}];
|
|
11948
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
|
|
11597
11949
|
readonly parameters: {
|
|
11598
11950
|
readonly type: "params";
|
|
11599
|
-
readonly required: ["
|
|
11951
|
+
readonly required: ["codes"];
|
|
11600
11952
|
readonly properties: {
|
|
11601
|
-
readonly
|
|
11602
|
-
readonly type: "
|
|
11953
|
+
readonly codes: {
|
|
11954
|
+
readonly type: "array";
|
|
11955
|
+
readonly minLength: 1;
|
|
11956
|
+
readonly maxLength: 50;
|
|
11957
|
+
readonly items: {
|
|
11958
|
+
readonly type: "string";
|
|
11959
|
+
};
|
|
11603
11960
|
};
|
|
11604
11961
|
};
|
|
11605
11962
|
};
|
|
@@ -11607,11 +11964,14 @@ export declare const schemaDict: {
|
|
|
11607
11964
|
readonly encoding: "application/json";
|
|
11608
11965
|
readonly schema: {
|
|
11609
11966
|
readonly type: "object";
|
|
11610
|
-
readonly required: ["
|
|
11967
|
+
readonly required: ["joinLinkPreviews"];
|
|
11611
11968
|
readonly properties: {
|
|
11612
|
-
readonly
|
|
11613
|
-
readonly type: "
|
|
11614
|
-
readonly
|
|
11969
|
+
readonly joinLinkPreviews: {
|
|
11970
|
+
readonly type: "array";
|
|
11971
|
+
readonly items: {
|
|
11972
|
+
readonly type: "ref";
|
|
11973
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
|
|
11974
|
+
};
|
|
11615
11975
|
};
|
|
11616
11976
|
};
|
|
11617
11977
|
};
|
|
@@ -11859,6 +12219,141 @@ export declare const schemaDict: {
|
|
|
11859
12219
|
};
|
|
11860
12220
|
};
|
|
11861
12221
|
};
|
|
12222
|
+
readonly ChatBskyGroupUpdateJoinRequestsRead: {
|
|
12223
|
+
readonly lexicon: 1;
|
|
12224
|
+
readonly id: "chat.bsky.group.updateJoinRequestsRead";
|
|
12225
|
+
readonly defs: {
|
|
12226
|
+
readonly main: {
|
|
12227
|
+
readonly type: "procedure";
|
|
12228
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
|
|
12229
|
+
readonly errors: [{
|
|
12230
|
+
readonly name: "InvalidConvo";
|
|
12231
|
+
}, {
|
|
12232
|
+
readonly name: "InsufficientRole";
|
|
12233
|
+
}];
|
|
12234
|
+
readonly input: {
|
|
12235
|
+
readonly encoding: "application/json";
|
|
12236
|
+
readonly schema: {
|
|
12237
|
+
readonly type: "object";
|
|
12238
|
+
readonly required: ["convoId"];
|
|
12239
|
+
readonly properties: {
|
|
12240
|
+
readonly convoId: {
|
|
12241
|
+
readonly type: "string";
|
|
12242
|
+
};
|
|
12243
|
+
};
|
|
12244
|
+
};
|
|
12245
|
+
};
|
|
12246
|
+
readonly output: {
|
|
12247
|
+
readonly encoding: "application/json";
|
|
12248
|
+
readonly schema: {
|
|
12249
|
+
readonly type: "object";
|
|
12250
|
+
readonly required: [];
|
|
12251
|
+
readonly properties: {};
|
|
12252
|
+
};
|
|
12253
|
+
};
|
|
12254
|
+
};
|
|
12255
|
+
};
|
|
12256
|
+
};
|
|
12257
|
+
readonly ChatBskyGroupWithdrawJoinRequest: {
|
|
12258
|
+
readonly lexicon: 1;
|
|
12259
|
+
readonly id: "chat.bsky.group.withdrawJoinRequest";
|
|
12260
|
+
readonly defs: {
|
|
12261
|
+
readonly main: {
|
|
12262
|
+
readonly type: "procedure";
|
|
12263
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
|
|
12264
|
+
readonly errors: [{
|
|
12265
|
+
readonly name: "InvalidJoinRequest";
|
|
12266
|
+
}];
|
|
12267
|
+
readonly input: {
|
|
12268
|
+
readonly encoding: "application/json";
|
|
12269
|
+
readonly schema: {
|
|
12270
|
+
readonly type: "object";
|
|
12271
|
+
readonly required: ["convoId"];
|
|
12272
|
+
readonly properties: {
|
|
12273
|
+
readonly convoId: {
|
|
12274
|
+
readonly type: "string";
|
|
12275
|
+
};
|
|
12276
|
+
};
|
|
12277
|
+
};
|
|
12278
|
+
};
|
|
12279
|
+
readonly output: {
|
|
12280
|
+
readonly encoding: "application/json";
|
|
12281
|
+
readonly schema: {
|
|
12282
|
+
readonly type: "object";
|
|
12283
|
+
readonly required: [];
|
|
12284
|
+
readonly properties: {};
|
|
12285
|
+
};
|
|
12286
|
+
};
|
|
12287
|
+
};
|
|
12288
|
+
};
|
|
12289
|
+
};
|
|
12290
|
+
readonly ChatBskyModerationDefs: {
|
|
12291
|
+
readonly lexicon: 1;
|
|
12292
|
+
readonly id: "chat.bsky.moderation.defs";
|
|
12293
|
+
readonly defs: {
|
|
12294
|
+
readonly convoView: {
|
|
12295
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
|
|
12296
|
+
readonly type: "object";
|
|
12297
|
+
readonly required: ["id", "rev"];
|
|
12298
|
+
readonly properties: {
|
|
12299
|
+
readonly id: {
|
|
12300
|
+
readonly type: "string";
|
|
12301
|
+
};
|
|
12302
|
+
readonly rev: {
|
|
12303
|
+
readonly type: "string";
|
|
12304
|
+
};
|
|
12305
|
+
readonly kind: {
|
|
12306
|
+
readonly description: "Union field that has data specific to different kinds of convos.";
|
|
12307
|
+
readonly type: "union";
|
|
12308
|
+
readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
|
|
12309
|
+
};
|
|
12310
|
+
};
|
|
12311
|
+
};
|
|
12312
|
+
readonly directConvo: {
|
|
12313
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
|
|
12314
|
+
readonly type: "object";
|
|
12315
|
+
readonly properties: {};
|
|
12316
|
+
};
|
|
12317
|
+
readonly groupConvo: {
|
|
12318
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
|
|
12319
|
+
readonly type: "object";
|
|
12320
|
+
readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
|
|
12321
|
+
readonly properties: {
|
|
12322
|
+
readonly createdAt: {
|
|
12323
|
+
readonly type: "string";
|
|
12324
|
+
readonly format: "datetime";
|
|
12325
|
+
};
|
|
12326
|
+
readonly joinLink: {
|
|
12327
|
+
readonly type: "ref";
|
|
12328
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
12329
|
+
};
|
|
12330
|
+
readonly joinRequestCount: {
|
|
12331
|
+
readonly type: "integer";
|
|
12332
|
+
readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
|
|
12333
|
+
};
|
|
12334
|
+
readonly lockStatus: {
|
|
12335
|
+
readonly description: "The lock status of the conversation.";
|
|
12336
|
+
readonly type: "ref";
|
|
12337
|
+
readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
|
|
12338
|
+
};
|
|
12339
|
+
readonly memberCount: {
|
|
12340
|
+
readonly type: "integer";
|
|
12341
|
+
readonly description: "The total number of members in the group conversation.";
|
|
12342
|
+
};
|
|
12343
|
+
readonly memberLimit: {
|
|
12344
|
+
readonly type: "integer";
|
|
12345
|
+
readonly description: "The maximum number of members allowed in the group conversation.";
|
|
12346
|
+
};
|
|
12347
|
+
readonly name: {
|
|
12348
|
+
readonly type: "string";
|
|
12349
|
+
readonly description: "The display name of the group conversation.";
|
|
12350
|
+
readonly maxGraphemes: 128;
|
|
12351
|
+
readonly maxLength: 1280;
|
|
12352
|
+
};
|
|
12353
|
+
};
|
|
12354
|
+
};
|
|
12355
|
+
};
|
|
12356
|
+
};
|
|
11862
12357
|
readonly ChatBskyModerationGetActorMetadata: {
|
|
11863
12358
|
readonly lexicon: 1;
|
|
11864
12359
|
readonly id: "chat.bsky.moderation.getActorMetadata";
|
|
@@ -11917,6 +12412,91 @@ export declare const schemaDict: {
|
|
|
11917
12412
|
};
|
|
11918
12413
|
};
|
|
11919
12414
|
};
|
|
12415
|
+
readonly ChatBskyModerationGetConvo: {
|
|
12416
|
+
readonly lexicon: 1;
|
|
12417
|
+
readonly id: "chat.bsky.moderation.getConvo";
|
|
12418
|
+
readonly defs: {
|
|
12419
|
+
readonly main: {
|
|
12420
|
+
readonly type: "query";
|
|
12421
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
|
|
12422
|
+
readonly errors: [{
|
|
12423
|
+
readonly name: "InvalidConvo";
|
|
12424
|
+
}];
|
|
12425
|
+
readonly parameters: {
|
|
12426
|
+
readonly type: "params";
|
|
12427
|
+
readonly required: ["convoId"];
|
|
12428
|
+
readonly properties: {
|
|
12429
|
+
readonly convoId: {
|
|
12430
|
+
readonly type: "string";
|
|
12431
|
+
};
|
|
12432
|
+
};
|
|
12433
|
+
};
|
|
12434
|
+
readonly output: {
|
|
12435
|
+
readonly encoding: "application/json";
|
|
12436
|
+
readonly schema: {
|
|
12437
|
+
readonly type: "object";
|
|
12438
|
+
readonly required: ["convo"];
|
|
12439
|
+
readonly properties: {
|
|
12440
|
+
readonly convo: {
|
|
12441
|
+
readonly type: "ref";
|
|
12442
|
+
readonly ref: "lex:chat.bsky.moderation.defs#convoView";
|
|
12443
|
+
};
|
|
12444
|
+
};
|
|
12445
|
+
};
|
|
12446
|
+
};
|
|
12447
|
+
};
|
|
12448
|
+
};
|
|
12449
|
+
};
|
|
12450
|
+
readonly ChatBskyModerationGetConvoMembers: {
|
|
12451
|
+
readonly lexicon: 1;
|
|
12452
|
+
readonly id: "chat.bsky.moderation.getConvoMembers";
|
|
12453
|
+
readonly defs: {
|
|
12454
|
+
readonly main: {
|
|
12455
|
+
readonly type: "query";
|
|
12456
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
|
|
12457
|
+
readonly errors: [{
|
|
12458
|
+
readonly name: "InvalidConvo";
|
|
12459
|
+
}];
|
|
12460
|
+
readonly parameters: {
|
|
12461
|
+
readonly type: "params";
|
|
12462
|
+
readonly required: ["convoId"];
|
|
12463
|
+
readonly properties: {
|
|
12464
|
+
readonly convoId: {
|
|
12465
|
+
readonly type: "string";
|
|
12466
|
+
};
|
|
12467
|
+
readonly limit: {
|
|
12468
|
+
readonly type: "integer";
|
|
12469
|
+
readonly minimum: 1;
|
|
12470
|
+
readonly maximum: 100;
|
|
12471
|
+
readonly default: 50;
|
|
12472
|
+
};
|
|
12473
|
+
readonly cursor: {
|
|
12474
|
+
readonly type: "string";
|
|
12475
|
+
};
|
|
12476
|
+
};
|
|
12477
|
+
};
|
|
12478
|
+
readonly output: {
|
|
12479
|
+
readonly encoding: "application/json";
|
|
12480
|
+
readonly schema: {
|
|
12481
|
+
readonly type: "object";
|
|
12482
|
+
readonly required: ["members"];
|
|
12483
|
+
readonly properties: {
|
|
12484
|
+
readonly cursor: {
|
|
12485
|
+
readonly type: "string";
|
|
12486
|
+
};
|
|
12487
|
+
readonly members: {
|
|
12488
|
+
readonly type: "array";
|
|
12489
|
+
readonly items: {
|
|
12490
|
+
readonly type: "ref";
|
|
12491
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
12492
|
+
};
|
|
12493
|
+
};
|
|
12494
|
+
};
|
|
12495
|
+
};
|
|
12496
|
+
};
|
|
12497
|
+
};
|
|
12498
|
+
};
|
|
12499
|
+
};
|
|
11920
12500
|
readonly ChatBskyModerationGetMessageContext: {
|
|
11921
12501
|
readonly lexicon: 1;
|
|
11922
12502
|
readonly id: "chat.bsky.moderation.getMessageContext";
|
|
@@ -11991,7 +12571,7 @@ export declare const schemaDict: {
|
|
|
11991
12571
|
readonly message: {
|
|
11992
12572
|
readonly schema: {
|
|
11993
12573
|
readonly type: "union";
|
|
11994
|
-
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
|
|
12574
|
+
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
|
|
11995
12575
|
};
|
|
11996
12576
|
};
|
|
11997
12577
|
readonly errors: [{
|
|
@@ -12480,6 +13060,29 @@ export declare const schemaDict: {
|
|
|
12480
13060
|
};
|
|
12481
13061
|
};
|
|
12482
13062
|
};
|
|
13063
|
+
readonly eventRateLimitExceeded: {
|
|
13064
|
+
readonly type: "object";
|
|
13065
|
+
readonly description: "Fired when a user exceeds a rate limit.";
|
|
13066
|
+
readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
|
|
13067
|
+
readonly properties: {
|
|
13068
|
+
readonly actorDid: {
|
|
13069
|
+
readonly description: "The DID of the user who hit the rate limit.";
|
|
13070
|
+
readonly type: "string";
|
|
13071
|
+
readonly format: "did";
|
|
13072
|
+
};
|
|
13073
|
+
readonly createdAt: {
|
|
13074
|
+
readonly type: "string";
|
|
13075
|
+
readonly format: "datetime";
|
|
13076
|
+
};
|
|
13077
|
+
readonly endpoint: {
|
|
13078
|
+
readonly description: "The NSID of the endpoint that was rate limited.";
|
|
13079
|
+
readonly type: "string";
|
|
13080
|
+
};
|
|
13081
|
+
readonly rev: {
|
|
13082
|
+
readonly type: "string";
|
|
13083
|
+
};
|
|
13084
|
+
};
|
|
13085
|
+
};
|
|
12483
13086
|
};
|
|
12484
13087
|
};
|
|
12485
13088
|
readonly ChatBskyModerationUpdateActorAccess: {
|
|
@@ -15319,8 +15922,8 @@ export declare const schemaDict: {
|
|
|
15319
15922
|
readonly properties: {
|
|
15320
15923
|
readonly aud: {
|
|
15321
15924
|
readonly type: "string";
|
|
15322
|
-
readonly
|
|
15323
|
-
readonly description: "The DID of the service that the token will be used to authenticate with";
|
|
15925
|
+
readonly maxLength: 2048;
|
|
15926
|
+
readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
|
|
15324
15927
|
};
|
|
15325
15928
|
readonly exp: {
|
|
15326
15929
|
readonly type: "integer";
|
|
@@ -17275,7 +17878,7 @@ export declare const schemaDict: {
|
|
|
17275
17878
|
};
|
|
17276
17879
|
readonly subject: {
|
|
17277
17880
|
readonly type: "union";
|
|
17278
|
-
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
|
|
17881
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
|
|
17279
17882
|
};
|
|
17280
17883
|
readonly subjectBlobCids: {
|
|
17281
17884
|
readonly type: "array";
|
|
@@ -17316,7 +17919,7 @@ export declare const schemaDict: {
|
|
|
17316
17919
|
};
|
|
17317
17920
|
readonly subject: {
|
|
17318
17921
|
readonly type: "union";
|
|
17319
|
-
readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
|
|
17922
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
|
|
17320
17923
|
};
|
|
17321
17924
|
readonly subjectBlobs: {
|
|
17322
17925
|
readonly type: "array";
|
|
@@ -17348,7 +17951,7 @@ export declare const schemaDict: {
|
|
|
17348
17951
|
};
|
|
17349
17952
|
readonly subject: {
|
|
17350
17953
|
readonly type: "union";
|
|
17351
|
-
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
|
|
17954
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
|
|
17352
17955
|
};
|
|
17353
17956
|
readonly hosting: {
|
|
17354
17957
|
readonly type: "union";
|
|
@@ -18312,6 +18915,19 @@ export declare const schemaDict: {
|
|
|
18312
18915
|
};
|
|
18313
18916
|
};
|
|
18314
18917
|
};
|
|
18918
|
+
readonly convoView: {
|
|
18919
|
+
readonly type: "object";
|
|
18920
|
+
readonly required: ["did", "convoId"];
|
|
18921
|
+
readonly properties: {
|
|
18922
|
+
readonly did: {
|
|
18923
|
+
readonly type: "string";
|
|
18924
|
+
readonly format: "did";
|
|
18925
|
+
};
|
|
18926
|
+
readonly convoId: {
|
|
18927
|
+
readonly type: "string";
|
|
18928
|
+
};
|
|
18929
|
+
};
|
|
18930
|
+
};
|
|
18315
18931
|
readonly moderation: {
|
|
18316
18932
|
readonly type: "object";
|
|
18317
18933
|
readonly properties: {
|
|
@@ -19129,8 +19745,8 @@ export declare const schemaDict: {
|
|
|
19129
19745
|
};
|
|
19130
19746
|
readonly subjectType: {
|
|
19131
19747
|
readonly type: "string";
|
|
19132
|
-
readonly description: "If specified, only events where the subject is of the given type (account or
|
|
19133
|
-
readonly knownValues: ["account", "record"];
|
|
19748
|
+
readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
|
|
19749
|
+
readonly knownValues: ["account", "record", "conversation"];
|
|
19134
19750
|
};
|
|
19135
19751
|
readonly includeAllUserRecords: {
|
|
19136
19752
|
readonly type: "boolean";
|
|
@@ -19398,8 +20014,8 @@ export declare const schemaDict: {
|
|
|
19398
20014
|
};
|
|
19399
20015
|
readonly subjectType: {
|
|
19400
20016
|
readonly type: "string";
|
|
19401
|
-
readonly description: "If specified, subjects of the given type (account or
|
|
19402
|
-
readonly knownValues: ["account", "record"];
|
|
20017
|
+
readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
|
|
20018
|
+
readonly knownValues: ["account", "record", "conversation"];
|
|
19403
20019
|
};
|
|
19404
20020
|
readonly minAccountSuspendCount: {
|
|
19405
20021
|
readonly type: "integer";
|
|
@@ -23422,6 +24038,15 @@ export declare const schemas: ({
|
|
|
23422
24038
|
readonly description: "The user who issued this verification.";
|
|
23423
24039
|
readonly format: "did";
|
|
23424
24040
|
};
|
|
24041
|
+
readonly issuerDisplayName: {
|
|
24042
|
+
readonly type: "string";
|
|
24043
|
+
readonly description: "The display name of the issuer.";
|
|
24044
|
+
};
|
|
24045
|
+
readonly issuerHandle: {
|
|
24046
|
+
readonly type: "string";
|
|
24047
|
+
readonly description: "The handle of the issuer.";
|
|
24048
|
+
readonly format: "handle";
|
|
24049
|
+
};
|
|
23425
24050
|
readonly uri: {
|
|
23426
24051
|
readonly type: "string";
|
|
23427
24052
|
readonly description: "The AT-URI of the verification record.";
|
|
@@ -25514,13 +26139,13 @@ export declare const schemas: ({
|
|
|
25514
26139
|
readonly accept: ["image/*"];
|
|
25515
26140
|
readonly maxSize: 1000000;
|
|
25516
26141
|
};
|
|
25517
|
-
readonly
|
|
26142
|
+
readonly associatedRefs: {
|
|
25518
26143
|
readonly type: "array";
|
|
25519
26144
|
readonly items: {
|
|
25520
26145
|
readonly type: "ref";
|
|
25521
26146
|
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
25522
26147
|
};
|
|
25523
|
-
readonly description: "
|
|
26148
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
25524
26149
|
};
|
|
25525
26150
|
};
|
|
25526
26151
|
};
|
|
@@ -25552,6 +26177,175 @@ export declare const schemas: ({
|
|
|
25552
26177
|
readonly type: "string";
|
|
25553
26178
|
readonly format: "uri";
|
|
25554
26179
|
};
|
|
26180
|
+
readonly createdAt: {
|
|
26181
|
+
readonly type: "string";
|
|
26182
|
+
readonly format: "datetime";
|
|
26183
|
+
readonly description: "When the external content was created, if available. Example: a publication date, for an article.";
|
|
26184
|
+
};
|
|
26185
|
+
readonly updatedAt: {
|
|
26186
|
+
readonly type: "string";
|
|
26187
|
+
readonly format: "datetime";
|
|
26188
|
+
readonly description: "When the external content was updated, if available.";
|
|
26189
|
+
};
|
|
26190
|
+
readonly readingTime: {
|
|
26191
|
+
readonly type: "integer";
|
|
26192
|
+
readonly description: "Estimated reading time in minutes, if applicable and available.";
|
|
26193
|
+
};
|
|
26194
|
+
readonly labels: {
|
|
26195
|
+
readonly type: "array";
|
|
26196
|
+
readonly items: {
|
|
26197
|
+
readonly type: "ref";
|
|
26198
|
+
readonly ref: "lex:com.atproto.label.defs#label";
|
|
26199
|
+
};
|
|
26200
|
+
};
|
|
26201
|
+
readonly source: {
|
|
26202
|
+
readonly type: "ref";
|
|
26203
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSource";
|
|
26204
|
+
};
|
|
26205
|
+
readonly associatedRefs: {
|
|
26206
|
+
readonly type: "array";
|
|
26207
|
+
readonly items: {
|
|
26208
|
+
readonly type: "ref";
|
|
26209
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
26210
|
+
};
|
|
26211
|
+
readonly description: "StrongRefs (uri+cid) of the Atmosphere records that backed this view.";
|
|
26212
|
+
};
|
|
26213
|
+
readonly associatedProfiles: {
|
|
26214
|
+
readonly type: "array";
|
|
26215
|
+
readonly items: {
|
|
26216
|
+
readonly type: "ref";
|
|
26217
|
+
readonly ref: "lex:app.bsky.actor.defs#profileViewBasic";
|
|
26218
|
+
};
|
|
26219
|
+
readonly description: "Profiles of the owners of the Atmosphere records that backed this view.";
|
|
26220
|
+
};
|
|
26221
|
+
};
|
|
26222
|
+
};
|
|
26223
|
+
readonly viewExternalSource: {
|
|
26224
|
+
readonly type: "object";
|
|
26225
|
+
readonly description: "The source of an external embed, such as a standard.site publication.";
|
|
26226
|
+
readonly required: ["uri", "title"];
|
|
26227
|
+
readonly properties: {
|
|
26228
|
+
readonly uri: {
|
|
26229
|
+
readonly type: "string";
|
|
26230
|
+
readonly format: "uri";
|
|
26231
|
+
readonly description: "URI of the source, if available. Example: the https:// URL of a site.standard.publication record.";
|
|
26232
|
+
};
|
|
26233
|
+
readonly icon: {
|
|
26234
|
+
readonly type: "string";
|
|
26235
|
+
readonly format: "uri";
|
|
26236
|
+
readonly description: "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.";
|
|
26237
|
+
};
|
|
26238
|
+
readonly title: {
|
|
26239
|
+
readonly type: "string";
|
|
26240
|
+
};
|
|
26241
|
+
readonly description: {
|
|
26242
|
+
readonly type: "string";
|
|
26243
|
+
};
|
|
26244
|
+
readonly theme: {
|
|
26245
|
+
readonly type: "ref";
|
|
26246
|
+
readonly ref: "lex:app.bsky.embed.external#viewExternalSourceTheme";
|
|
26247
|
+
};
|
|
26248
|
+
};
|
|
26249
|
+
};
|
|
26250
|
+
readonly viewExternalSourceTheme: {
|
|
26251
|
+
readonly type: "object";
|
|
26252
|
+
readonly description: "The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.";
|
|
26253
|
+
readonly properties: {
|
|
26254
|
+
readonly backgroundRGB: {
|
|
26255
|
+
readonly type: "ref";
|
|
26256
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
26257
|
+
};
|
|
26258
|
+
readonly foregroundRGB: {
|
|
26259
|
+
readonly type: "ref";
|
|
26260
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
26261
|
+
};
|
|
26262
|
+
readonly accentRGB: {
|
|
26263
|
+
readonly type: "ref";
|
|
26264
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
26265
|
+
};
|
|
26266
|
+
readonly accentForegroundRGB: {
|
|
26267
|
+
readonly type: "ref";
|
|
26268
|
+
readonly ref: "lex:app.bsky.embed.external#colorRGB";
|
|
26269
|
+
};
|
|
26270
|
+
};
|
|
26271
|
+
};
|
|
26272
|
+
readonly colorRGB: {
|
|
26273
|
+
readonly type: "object";
|
|
26274
|
+
readonly description: "RGB color definition, inspired by site.standard.theme.color#rgb";
|
|
26275
|
+
readonly required: ["r", "g", "b"];
|
|
26276
|
+
readonly properties: {
|
|
26277
|
+
readonly r: {
|
|
26278
|
+
readonly type: "integer";
|
|
26279
|
+
readonly minimum: 0;
|
|
26280
|
+
readonly maximum: 255;
|
|
26281
|
+
};
|
|
26282
|
+
readonly g: {
|
|
26283
|
+
readonly type: "integer";
|
|
26284
|
+
readonly minimum: 0;
|
|
26285
|
+
readonly maximum: 255;
|
|
26286
|
+
};
|
|
26287
|
+
readonly b: {
|
|
26288
|
+
readonly type: "integer";
|
|
26289
|
+
readonly minimum: 0;
|
|
26290
|
+
readonly maximum: 255;
|
|
26291
|
+
};
|
|
26292
|
+
};
|
|
26293
|
+
};
|
|
26294
|
+
};
|
|
26295
|
+
} | {
|
|
26296
|
+
readonly lexicon: 1;
|
|
26297
|
+
readonly id: "app.bsky.embed.getEmbedExternalView";
|
|
26298
|
+
readonly defs: {
|
|
26299
|
+
readonly main: {
|
|
26300
|
+
readonly type: "query";
|
|
26301
|
+
readonly description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.";
|
|
26302
|
+
readonly parameters: {
|
|
26303
|
+
readonly type: "params";
|
|
26304
|
+
readonly required: ["url", "uris"];
|
|
26305
|
+
readonly properties: {
|
|
26306
|
+
readonly url: {
|
|
26307
|
+
readonly type: "string";
|
|
26308
|
+
readonly format: "uri";
|
|
26309
|
+
readonly description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.";
|
|
26310
|
+
};
|
|
26311
|
+
readonly uris: {
|
|
26312
|
+
readonly type: "array";
|
|
26313
|
+
readonly description: "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.";
|
|
26314
|
+
readonly items: {
|
|
26315
|
+
readonly type: "string";
|
|
26316
|
+
readonly format: "at-uri";
|
|
26317
|
+
};
|
|
26318
|
+
readonly maxLength: 4;
|
|
26319
|
+
};
|
|
26320
|
+
};
|
|
26321
|
+
};
|
|
26322
|
+
readonly output: {
|
|
26323
|
+
readonly encoding: "application/json";
|
|
26324
|
+
readonly schema: {
|
|
26325
|
+
readonly type: "object";
|
|
26326
|
+
readonly properties: {
|
|
26327
|
+
readonly view: {
|
|
26328
|
+
readonly type: "ref";
|
|
26329
|
+
readonly ref: "lex:app.bsky.embed.external#view";
|
|
26330
|
+
readonly description: "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.";
|
|
26331
|
+
};
|
|
26332
|
+
readonly associatedRefs: {
|
|
26333
|
+
readonly type: "array";
|
|
26334
|
+
readonly items: {
|
|
26335
|
+
readonly type: "ref";
|
|
26336
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
26337
|
+
};
|
|
26338
|
+
readonly description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.";
|
|
26339
|
+
};
|
|
26340
|
+
readonly associatedRecords: {
|
|
26341
|
+
readonly type: "array";
|
|
26342
|
+
readonly items: {
|
|
26343
|
+
readonly type: "unknown";
|
|
26344
|
+
readonly description: "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.";
|
|
26345
|
+
};
|
|
26346
|
+
};
|
|
26347
|
+
};
|
|
26348
|
+
};
|
|
25555
26349
|
};
|
|
25556
26350
|
};
|
|
25557
26351
|
};
|
|
@@ -32070,6 +32864,36 @@ export declare const schemas: ({
|
|
|
32070
32864
|
};
|
|
32071
32865
|
};
|
|
32072
32866
|
};
|
|
32867
|
+
} | {
|
|
32868
|
+
readonly lexicon: 1;
|
|
32869
|
+
readonly id: "chat.bsky.actor.getStatus";
|
|
32870
|
+
readonly defs: {
|
|
32871
|
+
readonly main: {
|
|
32872
|
+
readonly type: "query";
|
|
32873
|
+
readonly description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.";
|
|
32874
|
+
readonly output: {
|
|
32875
|
+
readonly encoding: "application/json";
|
|
32876
|
+
readonly schema: {
|
|
32877
|
+
readonly type: "object";
|
|
32878
|
+
readonly required: ["chatDisabled", "canCreateGroups", "groupMemberLimit"];
|
|
32879
|
+
readonly properties: {
|
|
32880
|
+
readonly chatDisabled: {
|
|
32881
|
+
readonly type: "boolean";
|
|
32882
|
+
readonly description: "True when the viewer's account is disabled and cannot actively participate in chat.";
|
|
32883
|
+
};
|
|
32884
|
+
readonly canCreateGroups: {
|
|
32885
|
+
readonly type: "boolean";
|
|
32886
|
+
readonly description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.";
|
|
32887
|
+
};
|
|
32888
|
+
readonly groupMemberLimit: {
|
|
32889
|
+
readonly type: "integer";
|
|
32890
|
+
readonly description: "The maximum number of members allowed in a group conversation.";
|
|
32891
|
+
};
|
|
32892
|
+
};
|
|
32893
|
+
};
|
|
32894
|
+
};
|
|
32895
|
+
};
|
|
32896
|
+
};
|
|
32073
32897
|
} | {
|
|
32074
32898
|
readonly lexicon: 1;
|
|
32075
32899
|
readonly id: "chat.bsky.convo.acceptConvo";
|
|
@@ -32229,7 +33053,7 @@ export declare const schemas: ({
|
|
|
32229
33053
|
};
|
|
32230
33054
|
readonly embed: {
|
|
32231
33055
|
readonly type: "union";
|
|
32232
|
-
readonly refs: ["lex:app.bsky.embed.record"];
|
|
33056
|
+
readonly refs: ["lex:app.bsky.embed.record", "lex:chat.bsky.embed.joinLink"];
|
|
32233
33057
|
};
|
|
32234
33058
|
};
|
|
32235
33059
|
};
|
|
@@ -32258,7 +33082,7 @@ export declare const schemas: ({
|
|
|
32258
33082
|
};
|
|
32259
33083
|
readonly embed: {
|
|
32260
33084
|
readonly type: "union";
|
|
32261
|
-
readonly refs: ["lex:app.bsky.embed.record#view"];
|
|
33085
|
+
readonly refs: ["lex:app.bsky.embed.record#view", "lex:chat.bsky.embed.joinLink#view"];
|
|
32262
33086
|
};
|
|
32263
33087
|
readonly reactions: {
|
|
32264
33088
|
readonly type: "array";
|
|
@@ -32573,18 +33397,8 @@ export declare const schemas: ({
|
|
|
32573
33397
|
readonly groupConvo: {
|
|
32574
33398
|
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].";
|
|
32575
33399
|
readonly type: "object";
|
|
32576
|
-
readonly required: ["
|
|
33400
|
+
readonly required: ["createdAt", "lockStatus", "memberCount", "memberLimit", "name"];
|
|
32577
33401
|
readonly properties: {
|
|
32578
|
-
readonly name: {
|
|
32579
|
-
readonly type: "string";
|
|
32580
|
-
readonly description: "The display name of the group conversation.";
|
|
32581
|
-
readonly maxGraphemes: 128;
|
|
32582
|
-
readonly maxLength: 1280;
|
|
32583
|
-
};
|
|
32584
|
-
readonly memberCount: {
|
|
32585
|
-
readonly type: "integer";
|
|
32586
|
-
readonly description: "The total number of members in the group conversation.";
|
|
32587
|
-
};
|
|
32588
33402
|
readonly createdAt: {
|
|
32589
33403
|
readonly type: "string";
|
|
32590
33404
|
readonly format: "datetime";
|
|
@@ -32593,11 +33407,33 @@ export declare const schemas: ({
|
|
|
32593
33407
|
readonly type: "ref";
|
|
32594
33408
|
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
32595
33409
|
};
|
|
33410
|
+
readonly joinRequestCount: {
|
|
33411
|
+
readonly type: "integer";
|
|
33412
|
+
readonly description: "The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.";
|
|
33413
|
+
};
|
|
32596
33414
|
readonly lockStatus: {
|
|
32597
33415
|
readonly description: "The lock status of the conversation.";
|
|
32598
33416
|
readonly type: "ref";
|
|
32599
33417
|
readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
|
|
32600
33418
|
};
|
|
33419
|
+
readonly memberCount: {
|
|
33420
|
+
readonly type: "integer";
|
|
33421
|
+
readonly description: "The total number of members in the group conversation.";
|
|
33422
|
+
};
|
|
33423
|
+
readonly memberLimit: {
|
|
33424
|
+
readonly type: "integer";
|
|
33425
|
+
readonly description: "The maximum number of members allowed in the group conversation.";
|
|
33426
|
+
};
|
|
33427
|
+
readonly name: {
|
|
33428
|
+
readonly type: "string";
|
|
33429
|
+
readonly description: "The display name of the group conversation.";
|
|
33430
|
+
readonly maxGraphemes: 128;
|
|
33431
|
+
readonly maxLength: 1280;
|
|
33432
|
+
};
|
|
33433
|
+
readonly unreadJoinRequestCount: {
|
|
33434
|
+
readonly type: "integer";
|
|
33435
|
+
readonly description: "The number of unread join requests for the group conversation. Only present for the owner.";
|
|
33436
|
+
};
|
|
32601
33437
|
};
|
|
32602
33438
|
};
|
|
32603
33439
|
readonly logBeginConvo: {
|
|
@@ -33126,7 +33962,51 @@ export declare const schemas: ({
|
|
|
33126
33962
|
};
|
|
33127
33963
|
};
|
|
33128
33964
|
readonly logOutgoingJoinRequest: {
|
|
33129
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the
|
|
33965
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.";
|
|
33966
|
+
readonly type: "object";
|
|
33967
|
+
readonly required: ["rev", "convoId"];
|
|
33968
|
+
readonly properties: {
|
|
33969
|
+
readonly rev: {
|
|
33970
|
+
readonly type: "string";
|
|
33971
|
+
};
|
|
33972
|
+
readonly convoId: {
|
|
33973
|
+
readonly type: "string";
|
|
33974
|
+
};
|
|
33975
|
+
};
|
|
33976
|
+
};
|
|
33977
|
+
readonly logWithdrawIncomingJoinRequest: {
|
|
33978
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.";
|
|
33979
|
+
readonly type: "object";
|
|
33980
|
+
readonly required: ["rev", "convoId", "member"];
|
|
33981
|
+
readonly properties: {
|
|
33982
|
+
readonly rev: {
|
|
33983
|
+
readonly type: "string";
|
|
33984
|
+
};
|
|
33985
|
+
readonly convoId: {
|
|
33986
|
+
readonly type: "string";
|
|
33987
|
+
};
|
|
33988
|
+
readonly member: {
|
|
33989
|
+
readonly description: "Prospective member who withdrew their join request.";
|
|
33990
|
+
readonly type: "ref";
|
|
33991
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
33992
|
+
};
|
|
33993
|
+
};
|
|
33994
|
+
};
|
|
33995
|
+
readonly logWithdrawOutgoingJoinRequest: {
|
|
33996
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.";
|
|
33997
|
+
readonly type: "object";
|
|
33998
|
+
readonly required: ["rev", "convoId"];
|
|
33999
|
+
readonly properties: {
|
|
34000
|
+
readonly rev: {
|
|
34001
|
+
readonly type: "string";
|
|
34002
|
+
};
|
|
34003
|
+
readonly convoId: {
|
|
34004
|
+
readonly type: "string";
|
|
34005
|
+
};
|
|
34006
|
+
};
|
|
34007
|
+
};
|
|
34008
|
+
readonly logReadJoinRequests: {
|
|
34009
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.";
|
|
33130
34010
|
readonly type: "object";
|
|
33131
34011
|
readonly required: ["rev", "convoId"];
|
|
33132
34012
|
readonly properties: {
|
|
@@ -33261,6 +34141,8 @@ export declare const schemas: ({
|
|
|
33261
34141
|
readonly name: "AccountSuspended";
|
|
33262
34142
|
}, {
|
|
33263
34143
|
readonly name: "BlockedActor";
|
|
34144
|
+
}, {
|
|
34145
|
+
readonly name: "BlockedSubject";
|
|
33264
34146
|
}, {
|
|
33265
34147
|
readonly name: "MessagesDisabled";
|
|
33266
34148
|
}, {
|
|
@@ -33375,7 +34257,7 @@ export declare const schemas: ({
|
|
|
33375
34257
|
readonly type: "array";
|
|
33376
34258
|
readonly items: {
|
|
33377
34259
|
readonly type: "union";
|
|
33378
|
-
readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest"];
|
|
34260
|
+
readonly refs: ["lex:chat.bsky.convo.defs#logBeginConvo", "lex:chat.bsky.convo.defs#logAcceptConvo", "lex:chat.bsky.convo.defs#logLeaveConvo", "lex:chat.bsky.convo.defs#logMuteConvo", "lex:chat.bsky.convo.defs#logUnmuteConvo", "lex:chat.bsky.convo.defs#logCreateMessage", "lex:chat.bsky.convo.defs#logDeleteMessage", "lex:chat.bsky.convo.defs#logReadMessage", "lex:chat.bsky.convo.defs#logAddReaction", "lex:chat.bsky.convo.defs#logRemoveReaction", "lex:chat.bsky.convo.defs#logReadConvo", "lex:chat.bsky.convo.defs#logAddMember", "lex:chat.bsky.convo.defs#logRemoveMember", "lex:chat.bsky.convo.defs#logMemberJoin", "lex:chat.bsky.convo.defs#logMemberLeave", "lex:chat.bsky.convo.defs#logLockConvo", "lex:chat.bsky.convo.defs#logUnlockConvo", "lex:chat.bsky.convo.defs#logLockConvoPermanently", "lex:chat.bsky.convo.defs#logEditGroup", "lex:chat.bsky.convo.defs#logCreateJoinLink", "lex:chat.bsky.convo.defs#logEditJoinLink", "lex:chat.bsky.convo.defs#logEnableJoinLink", "lex:chat.bsky.convo.defs#logDisableJoinLink", "lex:chat.bsky.convo.defs#logIncomingJoinRequest", "lex:chat.bsky.convo.defs#logApproveJoinRequest", "lex:chat.bsky.convo.defs#logRejectJoinRequest", "lex:chat.bsky.convo.defs#logOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest", "lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest", "lex:chat.bsky.convo.defs#logReadJoinRequests"];
|
|
33379
34261
|
};
|
|
33380
34262
|
};
|
|
33381
34263
|
};
|
|
@@ -33488,7 +34370,7 @@ export declare const schemas: ({
|
|
|
33488
34370
|
readonly defs: {
|
|
33489
34371
|
readonly main: {
|
|
33490
34372
|
readonly type: "query";
|
|
33491
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as
|
|
34373
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.";
|
|
33492
34374
|
readonly parameters: {
|
|
33493
34375
|
readonly type: "params";
|
|
33494
34376
|
readonly properties: {
|
|
@@ -33516,7 +34398,7 @@ export declare const schemas: ({
|
|
|
33516
34398
|
readonly type: "array";
|
|
33517
34399
|
readonly items: {
|
|
33518
34400
|
readonly type: "union";
|
|
33519
|
-
readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#
|
|
34401
|
+
readonly refs: ["lex:chat.bsky.convo.defs#convoView", "lex:chat.bsky.group.defs#joinRequestConvoView"];
|
|
33520
34402
|
};
|
|
33521
34403
|
};
|
|
33522
34404
|
};
|
|
@@ -33966,6 +34848,32 @@ export declare const schemas: ({
|
|
|
33966
34848
|
};
|
|
33967
34849
|
};
|
|
33968
34850
|
};
|
|
34851
|
+
} | {
|
|
34852
|
+
readonly lexicon: 1;
|
|
34853
|
+
readonly id: "chat.bsky.embed.joinLink";
|
|
34854
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.";
|
|
34855
|
+
readonly defs: {
|
|
34856
|
+
readonly main: {
|
|
34857
|
+
readonly type: "object";
|
|
34858
|
+
readonly required: ["code"];
|
|
34859
|
+
readonly properties: {
|
|
34860
|
+
readonly code: {
|
|
34861
|
+
readonly type: "string";
|
|
34862
|
+
readonly description: "The join link code.";
|
|
34863
|
+
};
|
|
34864
|
+
};
|
|
34865
|
+
};
|
|
34866
|
+
readonly view: {
|
|
34867
|
+
readonly type: "object";
|
|
34868
|
+
readonly required: ["joinLinkPreview"];
|
|
34869
|
+
readonly properties: {
|
|
34870
|
+
readonly joinLinkPreview: {
|
|
34871
|
+
readonly type: "ref";
|
|
34872
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
|
|
34873
|
+
};
|
|
34874
|
+
};
|
|
34875
|
+
};
|
|
34876
|
+
};
|
|
33969
34877
|
} | {
|
|
33970
34878
|
readonly lexicon: 1;
|
|
33971
34879
|
readonly id: "chat.bsky.group.addMembers";
|
|
@@ -33978,7 +34886,7 @@ export declare const schemas: ({
|
|
|
33978
34886
|
}, {
|
|
33979
34887
|
readonly name: "BlockedActor";
|
|
33980
34888
|
}, {
|
|
33981
|
-
readonly name: "
|
|
34889
|
+
readonly name: "BlockedSubject";
|
|
33982
34890
|
}, {
|
|
33983
34891
|
readonly name: "ConvoLocked";
|
|
33984
34892
|
}, {
|
|
@@ -33991,6 +34899,8 @@ export declare const schemas: ({
|
|
|
33991
34899
|
readonly name: "NotFollowedBySender";
|
|
33992
34900
|
}, {
|
|
33993
34901
|
readonly name: "RecipientNotFound";
|
|
34902
|
+
}, {
|
|
34903
|
+
readonly name: "UserForbidsGroups";
|
|
33994
34904
|
}];
|
|
33995
34905
|
readonly input: {
|
|
33996
34906
|
readonly encoding: "application/json";
|
|
@@ -34091,11 +35001,15 @@ export declare const schemas: ({
|
|
|
34091
35001
|
}, {
|
|
34092
35002
|
readonly name: "BlockedActor";
|
|
34093
35003
|
}, {
|
|
34094
|
-
readonly name: "
|
|
35004
|
+
readonly name: "BlockedSubject";
|
|
35005
|
+
}, {
|
|
35006
|
+
readonly name: "NewAccountCannotCreateGroup";
|
|
34095
35007
|
}, {
|
|
34096
35008
|
readonly name: "NotFollowedBySender";
|
|
34097
35009
|
}, {
|
|
34098
35010
|
readonly name: "RecipientNotFound";
|
|
35011
|
+
}, {
|
|
35012
|
+
readonly name: "UserForbidsGroups";
|
|
34099
35013
|
}];
|
|
34100
35014
|
readonly input: {
|
|
34101
35015
|
readonly encoding: "application/json";
|
|
@@ -34223,8 +35137,11 @@ export declare const schemas: ({
|
|
|
34223
35137
|
};
|
|
34224
35138
|
readonly joinLinkPreviewView: {
|
|
34225
35139
|
readonly type: "object";
|
|
34226
|
-
readonly required: ["name", "owner", "memberCount", "requireApproval"];
|
|
35140
|
+
readonly required: ["code", "name", "owner", "memberCount", "memberLimit", "requireApproval", "joinRule", "enabledStatus"];
|
|
34227
35141
|
readonly properties: {
|
|
35142
|
+
readonly code: {
|
|
35143
|
+
readonly type: "string";
|
|
35144
|
+
};
|
|
34228
35145
|
readonly name: {
|
|
34229
35146
|
readonly type: "string";
|
|
34230
35147
|
};
|
|
@@ -34235,14 +35152,38 @@ export declare const schemas: ({
|
|
|
34235
35152
|
readonly memberCount: {
|
|
34236
35153
|
readonly type: "integer";
|
|
34237
35154
|
};
|
|
35155
|
+
readonly memberLimit: {
|
|
35156
|
+
readonly type: "integer";
|
|
35157
|
+
};
|
|
34238
35158
|
readonly requireApproval: {
|
|
34239
35159
|
readonly type: "boolean";
|
|
34240
35160
|
};
|
|
35161
|
+
readonly joinRule: {
|
|
35162
|
+
readonly type: "ref";
|
|
35163
|
+
readonly ref: "lex:chat.bsky.group.defs#joinRule";
|
|
35164
|
+
};
|
|
35165
|
+
readonly enabledStatus: {
|
|
35166
|
+
readonly type: "ref";
|
|
35167
|
+
readonly ref: "lex:chat.bsky.group.defs#linkEnabledStatus";
|
|
35168
|
+
};
|
|
34241
35169
|
readonly convo: {
|
|
34242
35170
|
readonly type: "ref";
|
|
34243
35171
|
readonly ref: "lex:chat.bsky.convo.defs#convoView";
|
|
34244
35172
|
readonly description: "Present only if the request is authenticated and the user is a member of the group.";
|
|
34245
35173
|
};
|
|
35174
|
+
readonly viewer: {
|
|
35175
|
+
readonly type: "ref";
|
|
35176
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkViewerState";
|
|
35177
|
+
};
|
|
35178
|
+
};
|
|
35179
|
+
};
|
|
35180
|
+
readonly joinLinkViewerState: {
|
|
35181
|
+
readonly type: "object";
|
|
35182
|
+
readonly properties: {
|
|
35183
|
+
readonly requestedAt: {
|
|
35184
|
+
readonly type: "string";
|
|
35185
|
+
readonly format: "datetime";
|
|
35186
|
+
};
|
|
34246
35187
|
};
|
|
34247
35188
|
};
|
|
34248
35189
|
readonly joinRequestView: {
|
|
@@ -34262,6 +35203,33 @@ export declare const schemas: ({
|
|
|
34262
35203
|
};
|
|
34263
35204
|
};
|
|
34264
35205
|
};
|
|
35206
|
+
readonly joinRequestConvoView: {
|
|
35207
|
+
readonly description: "A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).";
|
|
35208
|
+
readonly type: "object";
|
|
35209
|
+
readonly required: ["convoId", "name", "owner", "memberCount", "memberLimit", "requestedAt"];
|
|
35210
|
+
readonly properties: {
|
|
35211
|
+
readonly convoId: {
|
|
35212
|
+
readonly type: "string";
|
|
35213
|
+
};
|
|
35214
|
+
readonly name: {
|
|
35215
|
+
readonly type: "string";
|
|
35216
|
+
};
|
|
35217
|
+
readonly owner: {
|
|
35218
|
+
readonly type: "ref";
|
|
35219
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
35220
|
+
};
|
|
35221
|
+
readonly memberCount: {
|
|
35222
|
+
readonly type: "integer";
|
|
35223
|
+
};
|
|
35224
|
+
readonly memberLimit: {
|
|
35225
|
+
readonly type: "integer";
|
|
35226
|
+
};
|
|
35227
|
+
readonly requestedAt: {
|
|
35228
|
+
readonly type: "string";
|
|
35229
|
+
readonly format: "datetime";
|
|
35230
|
+
};
|
|
35231
|
+
};
|
|
35232
|
+
};
|
|
34265
35233
|
};
|
|
34266
35234
|
} | {
|
|
34267
35235
|
readonly lexicon: 1;
|
|
@@ -34401,63 +35369,65 @@ export declare const schemas: ({
|
|
|
34401
35369
|
};
|
|
34402
35370
|
} | {
|
|
34403
35371
|
readonly lexicon: 1;
|
|
34404
|
-
readonly id: "chat.bsky.group.enableJoinLink";
|
|
34405
|
-
readonly defs: {
|
|
34406
|
-
readonly main: {
|
|
34407
|
-
readonly type: "procedure";
|
|
34408
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Re-enables a previously disabled join link for the group convo.";
|
|
34409
|
-
readonly errors: [{
|
|
34410
|
-
readonly name: "InvalidConvo";
|
|
34411
|
-
}, {
|
|
34412
|
-
readonly name: "InsufficientRole";
|
|
34413
|
-
}, {
|
|
34414
|
-
readonly name: "NoJoinLink";
|
|
34415
|
-
}, {
|
|
34416
|
-
readonly name: "LinkAlreadyEnabled";
|
|
34417
|
-
}];
|
|
34418
|
-
readonly input: {
|
|
34419
|
-
readonly encoding: "application/json";
|
|
34420
|
-
readonly schema: {
|
|
34421
|
-
readonly type: "object";
|
|
34422
|
-
readonly required: ["convoId"];
|
|
34423
|
-
readonly properties: {
|
|
34424
|
-
readonly convoId: {
|
|
34425
|
-
readonly type: "string";
|
|
34426
|
-
};
|
|
34427
|
-
};
|
|
34428
|
-
};
|
|
34429
|
-
};
|
|
34430
|
-
readonly output: {
|
|
34431
|
-
readonly encoding: "application/json";
|
|
34432
|
-
readonly schema: {
|
|
34433
|
-
readonly type: "object";
|
|
34434
|
-
readonly required: ["joinLink"];
|
|
34435
|
-
readonly properties: {
|
|
34436
|
-
readonly joinLink: {
|
|
34437
|
-
readonly type: "ref";
|
|
34438
|
-
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
34439
|
-
};
|
|
34440
|
-
};
|
|
34441
|
-
};
|
|
34442
|
-
};
|
|
34443
|
-
};
|
|
34444
|
-
};
|
|
34445
|
-
} | {
|
|
34446
|
-
readonly lexicon: 1;
|
|
34447
|
-
readonly id: "chat.bsky.group.getJoinLinkPreview";
|
|
35372
|
+
readonly id: "chat.bsky.group.enableJoinLink";
|
|
34448
35373
|
readonly defs: {
|
|
34449
35374
|
readonly main: {
|
|
34450
|
-
readonly type: "
|
|
34451
|
-
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here].
|
|
35375
|
+
readonly type: "procedure";
|
|
35376
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Re-enables a previously disabled join link for the group convo.";
|
|
34452
35377
|
readonly errors: [{
|
|
34453
|
-
readonly name: "
|
|
35378
|
+
readonly name: "InvalidConvo";
|
|
35379
|
+
}, {
|
|
35380
|
+
readonly name: "InsufficientRole";
|
|
35381
|
+
}, {
|
|
35382
|
+
readonly name: "NoJoinLink";
|
|
35383
|
+
}, {
|
|
35384
|
+
readonly name: "LinkAlreadyEnabled";
|
|
34454
35385
|
}];
|
|
35386
|
+
readonly input: {
|
|
35387
|
+
readonly encoding: "application/json";
|
|
35388
|
+
readonly schema: {
|
|
35389
|
+
readonly type: "object";
|
|
35390
|
+
readonly required: ["convoId"];
|
|
35391
|
+
readonly properties: {
|
|
35392
|
+
readonly convoId: {
|
|
35393
|
+
readonly type: "string";
|
|
35394
|
+
};
|
|
35395
|
+
};
|
|
35396
|
+
};
|
|
35397
|
+
};
|
|
35398
|
+
readonly output: {
|
|
35399
|
+
readonly encoding: "application/json";
|
|
35400
|
+
readonly schema: {
|
|
35401
|
+
readonly type: "object";
|
|
35402
|
+
readonly required: ["joinLink"];
|
|
35403
|
+
readonly properties: {
|
|
35404
|
+
readonly joinLink: {
|
|
35405
|
+
readonly type: "ref";
|
|
35406
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
35407
|
+
};
|
|
35408
|
+
};
|
|
35409
|
+
};
|
|
35410
|
+
};
|
|
35411
|
+
};
|
|
35412
|
+
};
|
|
35413
|
+
} | {
|
|
35414
|
+
readonly lexicon: 1;
|
|
35415
|
+
readonly id: "chat.bsky.group.getJoinLinkPreviews";
|
|
35416
|
+
readonly defs: {
|
|
35417
|
+
readonly main: {
|
|
35418
|
+
readonly type: "query";
|
|
35419
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.";
|
|
34455
35420
|
readonly parameters: {
|
|
34456
35421
|
readonly type: "params";
|
|
34457
|
-
readonly required: ["
|
|
35422
|
+
readonly required: ["codes"];
|
|
34458
35423
|
readonly properties: {
|
|
34459
|
-
readonly
|
|
34460
|
-
readonly type: "
|
|
35424
|
+
readonly codes: {
|
|
35425
|
+
readonly type: "array";
|
|
35426
|
+
readonly minLength: 1;
|
|
35427
|
+
readonly maxLength: 50;
|
|
35428
|
+
readonly items: {
|
|
35429
|
+
readonly type: "string";
|
|
35430
|
+
};
|
|
34461
35431
|
};
|
|
34462
35432
|
};
|
|
34463
35433
|
};
|
|
@@ -34465,11 +35435,14 @@ export declare const schemas: ({
|
|
|
34465
35435
|
readonly encoding: "application/json";
|
|
34466
35436
|
readonly schema: {
|
|
34467
35437
|
readonly type: "object";
|
|
34468
|
-
readonly required: ["
|
|
35438
|
+
readonly required: ["joinLinkPreviews"];
|
|
34469
35439
|
readonly properties: {
|
|
34470
|
-
readonly
|
|
34471
|
-
readonly type: "
|
|
34472
|
-
readonly
|
|
35440
|
+
readonly joinLinkPreviews: {
|
|
35441
|
+
readonly type: "array";
|
|
35442
|
+
readonly items: {
|
|
35443
|
+
readonly type: "ref";
|
|
35444
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkPreviewView";
|
|
35445
|
+
};
|
|
34473
35446
|
};
|
|
34474
35447
|
};
|
|
34475
35448
|
};
|
|
@@ -34711,6 +35684,138 @@ export declare const schemas: ({
|
|
|
34711
35684
|
};
|
|
34712
35685
|
};
|
|
34713
35686
|
};
|
|
35687
|
+
} | {
|
|
35688
|
+
readonly lexicon: 1;
|
|
35689
|
+
readonly id: "chat.bsky.group.updateJoinRequestsRead";
|
|
35690
|
+
readonly defs: {
|
|
35691
|
+
readonly main: {
|
|
35692
|
+
readonly type: "procedure";
|
|
35693
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.";
|
|
35694
|
+
readonly errors: [{
|
|
35695
|
+
readonly name: "InvalidConvo";
|
|
35696
|
+
}, {
|
|
35697
|
+
readonly name: "InsufficientRole";
|
|
35698
|
+
}];
|
|
35699
|
+
readonly input: {
|
|
35700
|
+
readonly encoding: "application/json";
|
|
35701
|
+
readonly schema: {
|
|
35702
|
+
readonly type: "object";
|
|
35703
|
+
readonly required: ["convoId"];
|
|
35704
|
+
readonly properties: {
|
|
35705
|
+
readonly convoId: {
|
|
35706
|
+
readonly type: "string";
|
|
35707
|
+
};
|
|
35708
|
+
};
|
|
35709
|
+
};
|
|
35710
|
+
};
|
|
35711
|
+
readonly output: {
|
|
35712
|
+
readonly encoding: "application/json";
|
|
35713
|
+
readonly schema: {
|
|
35714
|
+
readonly type: "object";
|
|
35715
|
+
readonly required: [];
|
|
35716
|
+
readonly properties: {};
|
|
35717
|
+
};
|
|
35718
|
+
};
|
|
35719
|
+
};
|
|
35720
|
+
};
|
|
35721
|
+
} | {
|
|
35722
|
+
readonly lexicon: 1;
|
|
35723
|
+
readonly id: "chat.bsky.group.withdrawJoinRequest";
|
|
35724
|
+
readonly defs: {
|
|
35725
|
+
readonly main: {
|
|
35726
|
+
readonly type: "procedure";
|
|
35727
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.";
|
|
35728
|
+
readonly errors: [{
|
|
35729
|
+
readonly name: "InvalidJoinRequest";
|
|
35730
|
+
}];
|
|
35731
|
+
readonly input: {
|
|
35732
|
+
readonly encoding: "application/json";
|
|
35733
|
+
readonly schema: {
|
|
35734
|
+
readonly type: "object";
|
|
35735
|
+
readonly required: ["convoId"];
|
|
35736
|
+
readonly properties: {
|
|
35737
|
+
readonly convoId: {
|
|
35738
|
+
readonly type: "string";
|
|
35739
|
+
};
|
|
35740
|
+
};
|
|
35741
|
+
};
|
|
35742
|
+
};
|
|
35743
|
+
readonly output: {
|
|
35744
|
+
readonly encoding: "application/json";
|
|
35745
|
+
readonly schema: {
|
|
35746
|
+
readonly type: "object";
|
|
35747
|
+
readonly required: [];
|
|
35748
|
+
readonly properties: {};
|
|
35749
|
+
};
|
|
35750
|
+
};
|
|
35751
|
+
};
|
|
35752
|
+
};
|
|
35753
|
+
} | {
|
|
35754
|
+
readonly lexicon: 1;
|
|
35755
|
+
readonly id: "chat.bsky.moderation.defs";
|
|
35756
|
+
readonly defs: {
|
|
35757
|
+
readonly convoView: {
|
|
35758
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.";
|
|
35759
|
+
readonly type: "object";
|
|
35760
|
+
readonly required: ["id", "rev"];
|
|
35761
|
+
readonly properties: {
|
|
35762
|
+
readonly id: {
|
|
35763
|
+
readonly type: "string";
|
|
35764
|
+
};
|
|
35765
|
+
readonly rev: {
|
|
35766
|
+
readonly type: "string";
|
|
35767
|
+
};
|
|
35768
|
+
readonly kind: {
|
|
35769
|
+
readonly description: "Union field that has data specific to different kinds of convos.";
|
|
35770
|
+
readonly type: "union";
|
|
35771
|
+
readonly refs: ["lex:chat.bsky.moderation.defs#directConvo", "lex:chat.bsky.moderation.defs#groupConvo"];
|
|
35772
|
+
};
|
|
35773
|
+
};
|
|
35774
|
+
};
|
|
35775
|
+
readonly directConvo: {
|
|
35776
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.";
|
|
35777
|
+
readonly type: "object";
|
|
35778
|
+
readonly properties: {};
|
|
35779
|
+
};
|
|
35780
|
+
readonly groupConvo: {
|
|
35781
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.";
|
|
35782
|
+
readonly type: "object";
|
|
35783
|
+
readonly required: ["createdAt", "joinRequestCount", "lockStatus", "memberCount", "memberLimit", "name"];
|
|
35784
|
+
readonly properties: {
|
|
35785
|
+
readonly createdAt: {
|
|
35786
|
+
readonly type: "string";
|
|
35787
|
+
readonly format: "datetime";
|
|
35788
|
+
};
|
|
35789
|
+
readonly joinLink: {
|
|
35790
|
+
readonly type: "ref";
|
|
35791
|
+
readonly ref: "lex:chat.bsky.group.defs#joinLinkView";
|
|
35792
|
+
};
|
|
35793
|
+
readonly joinRequestCount: {
|
|
35794
|
+
readonly type: "integer";
|
|
35795
|
+
readonly description: "The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.";
|
|
35796
|
+
};
|
|
35797
|
+
readonly lockStatus: {
|
|
35798
|
+
readonly description: "The lock status of the conversation.";
|
|
35799
|
+
readonly type: "ref";
|
|
35800
|
+
readonly ref: "lex:chat.bsky.convo.defs#convoLockStatus";
|
|
35801
|
+
};
|
|
35802
|
+
readonly memberCount: {
|
|
35803
|
+
readonly type: "integer";
|
|
35804
|
+
readonly description: "The total number of members in the group conversation.";
|
|
35805
|
+
};
|
|
35806
|
+
readonly memberLimit: {
|
|
35807
|
+
readonly type: "integer";
|
|
35808
|
+
readonly description: "The maximum number of members allowed in the group conversation.";
|
|
35809
|
+
};
|
|
35810
|
+
readonly name: {
|
|
35811
|
+
readonly type: "string";
|
|
35812
|
+
readonly description: "The display name of the group conversation.";
|
|
35813
|
+
readonly maxGraphemes: 128;
|
|
35814
|
+
readonly maxLength: 1280;
|
|
35815
|
+
};
|
|
35816
|
+
};
|
|
35817
|
+
};
|
|
35818
|
+
};
|
|
34714
35819
|
} | {
|
|
34715
35820
|
readonly lexicon: 1;
|
|
34716
35821
|
readonly id: "chat.bsky.moderation.getActorMetadata";
|
|
@@ -34768,6 +35873,89 @@ export declare const schemas: ({
|
|
|
34768
35873
|
};
|
|
34769
35874
|
};
|
|
34770
35875
|
};
|
|
35876
|
+
} | {
|
|
35877
|
+
readonly lexicon: 1;
|
|
35878
|
+
readonly id: "chat.bsky.moderation.getConvo";
|
|
35879
|
+
readonly defs: {
|
|
35880
|
+
readonly main: {
|
|
35881
|
+
readonly type: "query";
|
|
35882
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.";
|
|
35883
|
+
readonly errors: [{
|
|
35884
|
+
readonly name: "InvalidConvo";
|
|
35885
|
+
}];
|
|
35886
|
+
readonly parameters: {
|
|
35887
|
+
readonly type: "params";
|
|
35888
|
+
readonly required: ["convoId"];
|
|
35889
|
+
readonly properties: {
|
|
35890
|
+
readonly convoId: {
|
|
35891
|
+
readonly type: "string";
|
|
35892
|
+
};
|
|
35893
|
+
};
|
|
35894
|
+
};
|
|
35895
|
+
readonly output: {
|
|
35896
|
+
readonly encoding: "application/json";
|
|
35897
|
+
readonly schema: {
|
|
35898
|
+
readonly type: "object";
|
|
35899
|
+
readonly required: ["convo"];
|
|
35900
|
+
readonly properties: {
|
|
35901
|
+
readonly convo: {
|
|
35902
|
+
readonly type: "ref";
|
|
35903
|
+
readonly ref: "lex:chat.bsky.moderation.defs#convoView";
|
|
35904
|
+
};
|
|
35905
|
+
};
|
|
35906
|
+
};
|
|
35907
|
+
};
|
|
35908
|
+
};
|
|
35909
|
+
};
|
|
35910
|
+
} | {
|
|
35911
|
+
readonly lexicon: 1;
|
|
35912
|
+
readonly id: "chat.bsky.moderation.getConvoMembers";
|
|
35913
|
+
readonly defs: {
|
|
35914
|
+
readonly main: {
|
|
35915
|
+
readonly type: "query";
|
|
35916
|
+
readonly description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.";
|
|
35917
|
+
readonly errors: [{
|
|
35918
|
+
readonly name: "InvalidConvo";
|
|
35919
|
+
}];
|
|
35920
|
+
readonly parameters: {
|
|
35921
|
+
readonly type: "params";
|
|
35922
|
+
readonly required: ["convoId"];
|
|
35923
|
+
readonly properties: {
|
|
35924
|
+
readonly convoId: {
|
|
35925
|
+
readonly type: "string";
|
|
35926
|
+
};
|
|
35927
|
+
readonly limit: {
|
|
35928
|
+
readonly type: "integer";
|
|
35929
|
+
readonly minimum: 1;
|
|
35930
|
+
readonly maximum: 100;
|
|
35931
|
+
readonly default: 50;
|
|
35932
|
+
};
|
|
35933
|
+
readonly cursor: {
|
|
35934
|
+
readonly type: "string";
|
|
35935
|
+
};
|
|
35936
|
+
};
|
|
35937
|
+
};
|
|
35938
|
+
readonly output: {
|
|
35939
|
+
readonly encoding: "application/json";
|
|
35940
|
+
readonly schema: {
|
|
35941
|
+
readonly type: "object";
|
|
35942
|
+
readonly required: ["members"];
|
|
35943
|
+
readonly properties: {
|
|
35944
|
+
readonly cursor: {
|
|
35945
|
+
readonly type: "string";
|
|
35946
|
+
};
|
|
35947
|
+
readonly members: {
|
|
35948
|
+
readonly type: "array";
|
|
35949
|
+
readonly items: {
|
|
35950
|
+
readonly type: "ref";
|
|
35951
|
+
readonly ref: "lex:chat.bsky.actor.defs#profileViewBasic";
|
|
35952
|
+
};
|
|
35953
|
+
};
|
|
35954
|
+
};
|
|
35955
|
+
};
|
|
35956
|
+
};
|
|
35957
|
+
};
|
|
35958
|
+
};
|
|
34771
35959
|
} | {
|
|
34772
35960
|
readonly lexicon: 1;
|
|
34773
35961
|
readonly id: "chat.bsky.moderation.getMessageContext";
|
|
@@ -34841,7 +36029,7 @@ export declare const schemas: ({
|
|
|
34841
36029
|
readonly message: {
|
|
34842
36030
|
readonly schema: {
|
|
34843
36031
|
readonly type: "union";
|
|
34844
|
-
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated"];
|
|
36032
|
+
readonly refs: ["lex:chat.bsky.moderation.subscribeModEvents#eventConvoFirstMessage", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatCreated", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberAdded", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberJoined", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequest", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestApproved", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatJoinRequestRejected", "lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft", "lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated", "lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded"];
|
|
34845
36033
|
};
|
|
34846
36034
|
};
|
|
34847
36035
|
readonly errors: [{
|
|
@@ -35330,6 +36518,29 @@ export declare const schemas: ({
|
|
|
35330
36518
|
};
|
|
35331
36519
|
};
|
|
35332
36520
|
};
|
|
36521
|
+
readonly eventRateLimitExceeded: {
|
|
36522
|
+
readonly type: "object";
|
|
36523
|
+
readonly description: "Fired when a user exceeds a rate limit.";
|
|
36524
|
+
readonly required: ["actorDid", "createdAt", "endpoint", "rev"];
|
|
36525
|
+
readonly properties: {
|
|
36526
|
+
readonly actorDid: {
|
|
36527
|
+
readonly description: "The DID of the user who hit the rate limit.";
|
|
36528
|
+
readonly type: "string";
|
|
36529
|
+
readonly format: "did";
|
|
36530
|
+
};
|
|
36531
|
+
readonly createdAt: {
|
|
36532
|
+
readonly type: "string";
|
|
36533
|
+
readonly format: "datetime";
|
|
36534
|
+
};
|
|
36535
|
+
readonly endpoint: {
|
|
36536
|
+
readonly description: "The NSID of the endpoint that was rate limited.";
|
|
36537
|
+
readonly type: "string";
|
|
36538
|
+
};
|
|
36539
|
+
readonly rev: {
|
|
36540
|
+
readonly type: "string";
|
|
36541
|
+
};
|
|
36542
|
+
};
|
|
36543
|
+
};
|
|
35333
36544
|
};
|
|
35334
36545
|
} | {
|
|
35335
36546
|
readonly lexicon: 1;
|
|
@@ -38108,8 +39319,8 @@ export declare const schemas: ({
|
|
|
38108
39319
|
readonly properties: {
|
|
38109
39320
|
readonly aud: {
|
|
38110
39321
|
readonly type: "string";
|
|
38111
|
-
readonly
|
|
38112
|
-
readonly description: "The DID of the service that the token will be used to authenticate with";
|
|
39322
|
+
readonly maxLength: 2048;
|
|
39323
|
+
readonly description: "The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.";
|
|
38113
39324
|
};
|
|
38114
39325
|
readonly exp: {
|
|
38115
39326
|
readonly type: "integer";
|
|
@@ -40021,7 +41232,7 @@ export declare const schemas: ({
|
|
|
40021
41232
|
};
|
|
40022
41233
|
readonly subject: {
|
|
40023
41234
|
readonly type: "union";
|
|
40024
|
-
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
|
|
41235
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
|
|
40025
41236
|
};
|
|
40026
41237
|
readonly subjectBlobCids: {
|
|
40027
41238
|
readonly type: "array";
|
|
@@ -40062,7 +41273,7 @@ export declare const schemas: ({
|
|
|
40062
41273
|
};
|
|
40063
41274
|
readonly subject: {
|
|
40064
41275
|
readonly type: "union";
|
|
40065
|
-
readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound"];
|
|
41276
|
+
readonly refs: ["lex:tools.ozone.moderation.defs#repoView", "lex:tools.ozone.moderation.defs#repoViewNotFound", "lex:tools.ozone.moderation.defs#recordView", "lex:tools.ozone.moderation.defs#recordViewNotFound", "lex:tools.ozone.moderation.defs#convoView"];
|
|
40066
41277
|
};
|
|
40067
41278
|
readonly subjectBlobs: {
|
|
40068
41279
|
readonly type: "array";
|
|
@@ -40094,7 +41305,7 @@ export declare const schemas: ({
|
|
|
40094
41305
|
};
|
|
40095
41306
|
readonly subject: {
|
|
40096
41307
|
readonly type: "union";
|
|
40097
|
-
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef"];
|
|
41308
|
+
readonly refs: ["lex:com.atproto.admin.defs#repoRef", "lex:com.atproto.repo.strongRef", "lex:chat.bsky.convo.defs#messageRef", "lex:chat.bsky.convo.defs#convoRef"];
|
|
40098
41309
|
};
|
|
40099
41310
|
readonly hosting: {
|
|
40100
41311
|
readonly type: "union";
|
|
@@ -41058,6 +42269,19 @@ export declare const schemas: ({
|
|
|
41058
42269
|
};
|
|
41059
42270
|
};
|
|
41060
42271
|
};
|
|
42272
|
+
readonly convoView: {
|
|
42273
|
+
readonly type: "object";
|
|
42274
|
+
readonly required: ["did", "convoId"];
|
|
42275
|
+
readonly properties: {
|
|
42276
|
+
readonly did: {
|
|
42277
|
+
readonly type: "string";
|
|
42278
|
+
readonly format: "did";
|
|
42279
|
+
};
|
|
42280
|
+
readonly convoId: {
|
|
42281
|
+
readonly type: "string";
|
|
42282
|
+
};
|
|
42283
|
+
};
|
|
42284
|
+
};
|
|
41061
42285
|
readonly moderation: {
|
|
41062
42286
|
readonly type: "object";
|
|
41063
42287
|
readonly properties: {
|
|
@@ -41864,8 +43088,8 @@ export declare const schemas: ({
|
|
|
41864
43088
|
};
|
|
41865
43089
|
readonly subjectType: {
|
|
41866
43090
|
readonly type: "string";
|
|
41867
|
-
readonly description: "If specified, only events where the subject is of the given type (account or
|
|
41868
|
-
readonly knownValues: ["account", "record"];
|
|
43091
|
+
readonly description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
|
|
43092
|
+
readonly knownValues: ["account", "record", "conversation"];
|
|
41869
43093
|
};
|
|
41870
43094
|
readonly includeAllUserRecords: {
|
|
41871
43095
|
readonly type: "boolean";
|
|
@@ -42132,8 +43356,8 @@ export declare const schemas: ({
|
|
|
42132
43356
|
};
|
|
42133
43357
|
readonly subjectType: {
|
|
42134
43358
|
readonly type: "string";
|
|
42135
|
-
readonly description: "If specified, subjects of the given type (account or
|
|
42136
|
-
readonly knownValues: ["account", "record"];
|
|
43359
|
+
readonly description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.";
|
|
43360
|
+
readonly knownValues: ["account", "record", "conversation"];
|
|
42137
43361
|
};
|
|
42138
43362
|
readonly minAccountSuspendCount: {
|
|
42139
43363
|
readonly type: "integer";
|
|
@@ -45761,6 +46985,7 @@ export declare const ids: {
|
|
|
45761
46985
|
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
45762
46986
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
45763
46987
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
46988
|
+
readonly AppBskyEmbedGetEmbedExternalView: "app.bsky.embed.getEmbedExternalView";
|
|
45764
46989
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|
|
45765
46990
|
readonly AppBskyEmbedRecord: "app.bsky.embed.record";
|
|
45766
46991
|
readonly AppBskyEmbedRecordWithMedia: "app.bsky.embed.recordWithMedia";
|
|
@@ -45876,6 +47101,7 @@ export declare const ids: {
|
|
|
45876
47101
|
readonly ChatBskyActorDefs: "chat.bsky.actor.defs";
|
|
45877
47102
|
readonly ChatBskyActorDeleteAccount: "chat.bsky.actor.deleteAccount";
|
|
45878
47103
|
readonly ChatBskyActorExportAccountData: "chat.bsky.actor.exportAccountData";
|
|
47104
|
+
readonly ChatBskyActorGetStatus: "chat.bsky.actor.getStatus";
|
|
45879
47105
|
readonly ChatBskyConvoAcceptConvo: "chat.bsky.convo.acceptConvo";
|
|
45880
47106
|
readonly ChatBskyConvoAddReaction: "chat.bsky.convo.addReaction";
|
|
45881
47107
|
readonly ChatBskyConvoDefs: "chat.bsky.convo.defs";
|
|
@@ -45898,6 +47124,7 @@ export declare const ids: {
|
|
|
45898
47124
|
readonly ChatBskyConvoUnmuteConvo: "chat.bsky.convo.unmuteConvo";
|
|
45899
47125
|
readonly ChatBskyConvoUpdateAllRead: "chat.bsky.convo.updateAllRead";
|
|
45900
47126
|
readonly ChatBskyConvoUpdateRead: "chat.bsky.convo.updateRead";
|
|
47127
|
+
readonly ChatBskyEmbedJoinLink: "chat.bsky.embed.joinLink";
|
|
45901
47128
|
readonly ChatBskyGroupAddMembers: "chat.bsky.group.addMembers";
|
|
45902
47129
|
readonly ChatBskyGroupApproveJoinRequest: "chat.bsky.group.approveJoinRequest";
|
|
45903
47130
|
readonly ChatBskyGroupCreateGroup: "chat.bsky.group.createGroup";
|
|
@@ -45907,13 +47134,18 @@ export declare const ids: {
|
|
|
45907
47134
|
readonly ChatBskyGroupEditGroup: "chat.bsky.group.editGroup";
|
|
45908
47135
|
readonly ChatBskyGroupEditJoinLink: "chat.bsky.group.editJoinLink";
|
|
45909
47136
|
readonly ChatBskyGroupEnableJoinLink: "chat.bsky.group.enableJoinLink";
|
|
45910
|
-
readonly
|
|
47137
|
+
readonly ChatBskyGroupGetJoinLinkPreviews: "chat.bsky.group.getJoinLinkPreviews";
|
|
45911
47138
|
readonly ChatBskyGroupListJoinRequests: "chat.bsky.group.listJoinRequests";
|
|
45912
47139
|
readonly ChatBskyGroupListMutualGroups: "chat.bsky.group.listMutualGroups";
|
|
45913
47140
|
readonly ChatBskyGroupRejectJoinRequest: "chat.bsky.group.rejectJoinRequest";
|
|
45914
47141
|
readonly ChatBskyGroupRemoveMembers: "chat.bsky.group.removeMembers";
|
|
45915
47142
|
readonly ChatBskyGroupRequestJoin: "chat.bsky.group.requestJoin";
|
|
47143
|
+
readonly ChatBskyGroupUpdateJoinRequestsRead: "chat.bsky.group.updateJoinRequestsRead";
|
|
47144
|
+
readonly ChatBskyGroupWithdrawJoinRequest: "chat.bsky.group.withdrawJoinRequest";
|
|
47145
|
+
readonly ChatBskyModerationDefs: "chat.bsky.moderation.defs";
|
|
45916
47146
|
readonly ChatBskyModerationGetActorMetadata: "chat.bsky.moderation.getActorMetadata";
|
|
47147
|
+
readonly ChatBskyModerationGetConvo: "chat.bsky.moderation.getConvo";
|
|
47148
|
+
readonly ChatBskyModerationGetConvoMembers: "chat.bsky.moderation.getConvoMembers";
|
|
45917
47149
|
readonly ChatBskyModerationGetMessageContext: "chat.bsky.moderation.getMessageContext";
|
|
45918
47150
|
readonly ChatBskyModerationSubscribeModEvents: "chat.bsky.moderation.subscribeModEvents";
|
|
45919
47151
|
readonly ChatBskyModerationUpdateActorAccess: "chat.bsky.moderation.updateActorAccess";
|