@atproto/ozone 0.2.27 → 0.2.29
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 +19 -0
- package/dist/lexicon/index.d.ts +10 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +25 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +782 -10
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +454 -5
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/contentVisibilityDeclaration.d.ts +14 -0
- package/dist/lexicon/types/app/bsky/actor/contentVisibilityDeclaration.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/actor/contentVisibilityDeclaration.js +18 -0
- package/dist/lexicon/types/app/bsky/actor/contentVisibilityDeclaration.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/abortUpload.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/video/abortUpload.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/abortUpload.js +10 -0
- package/dist/lexicon/types/app/bsky/video/abortUpload.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/defs.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/video/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/video/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/video/finishUpload.d.ts +28 -0
- package/dist/lexicon/types/app/bsky/video/finishUpload.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/finishUpload.js +10 -0
- package/dist/lexicon/types/app/bsky/video/finishUpload.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getUploadStatus.d.ts +33 -0
- package/dist/lexicon/types/app/bsky/video/getUploadStatus.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/getUploadStatus.js +10 -0
- package/dist/lexicon/types/app/bsky/video/getUploadStatus.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/startUpload.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/video/startUpload.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/startUpload.js +10 -0
- package/dist/lexicon/types/app/bsky/video/startUpload.js.map +1 -0
- package/dist/lexicon/types/app/bsky/video/uploadPart.d.ts +31 -0
- package/dist/lexicon/types/app/bsky/video/uploadPart.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/video/uploadPart.js +11 -0
- package/dist/lexicon/types/app/bsky/video/uploadPart.js.map +1 -0
- package/package.json +10 -9
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Lexicons, type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
export declare const schemaDict: {
|
|
6
|
+
readonly AppBskyActorContentVisibilityDeclaration: {
|
|
7
|
+
readonly lexicon: 1;
|
|
8
|
+
readonly id: 'app.bsky.actor.contentVisibilityDeclaration';
|
|
9
|
+
readonly defs: {
|
|
10
|
+
readonly main: {
|
|
11
|
+
readonly type: 'record';
|
|
12
|
+
readonly description: "A declaration of an account's preferences for appearing in content discovery surfaces.";
|
|
13
|
+
readonly key: 'literal:self';
|
|
14
|
+
readonly record: {
|
|
15
|
+
readonly type: 'object';
|
|
16
|
+
readonly required: ["hideFromAlgorithmicRecommendations"];
|
|
17
|
+
readonly properties: {
|
|
18
|
+
readonly hideFromAlgorithmicRecommendations: {
|
|
19
|
+
readonly type: 'boolean';
|
|
20
|
+
readonly description: 'Whether the account requests that its posts be hidden from algorithmic recommendations. Consumers must treat a missing record as false.';
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
6
27
|
readonly AppBskyActorDefs: {
|
|
7
28
|
readonly lexicon: 1;
|
|
8
29
|
readonly id: 'app.bsky.actor.defs';
|
|
@@ -3127,8 +3148,6 @@ export declare const schemaDict: {
|
|
|
3127
3148
|
readonly alt: {
|
|
3128
3149
|
readonly type: 'string';
|
|
3129
3150
|
readonly description: 'Alt text description of the video, for accessibility.';
|
|
3130
|
-
readonly maxGraphemes: 1000;
|
|
3131
|
-
readonly maxLength: 10000;
|
|
3132
3151
|
};
|
|
3133
3152
|
readonly aspectRatio: {
|
|
3134
3153
|
readonly type: 'ref';
|
|
@@ -3174,8 +3193,6 @@ export declare const schemaDict: {
|
|
|
3174
3193
|
};
|
|
3175
3194
|
readonly alt: {
|
|
3176
3195
|
readonly type: 'string';
|
|
3177
|
-
readonly maxGraphemes: 1000;
|
|
3178
|
-
readonly maxLength: 10000;
|
|
3179
3196
|
};
|
|
3180
3197
|
readonly aspectRatio: {
|
|
3181
3198
|
readonly type: 'ref';
|
|
@@ -9543,6 +9560,62 @@ export declare const schemaDict: {
|
|
|
9543
9560
|
};
|
|
9544
9561
|
};
|
|
9545
9562
|
};
|
|
9563
|
+
readonly AppBskyVideoAbortUpload: {
|
|
9564
|
+
readonly lexicon: 1;
|
|
9565
|
+
readonly id: 'app.bsky.video.abortUpload';
|
|
9566
|
+
readonly defs: {
|
|
9567
|
+
readonly main: {
|
|
9568
|
+
readonly type: 'procedure';
|
|
9569
|
+
readonly description: 'Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.';
|
|
9570
|
+
readonly input: {
|
|
9571
|
+
readonly encoding: 'application/json';
|
|
9572
|
+
readonly schema: {
|
|
9573
|
+
readonly type: 'object';
|
|
9574
|
+
readonly required: ["jobId"];
|
|
9575
|
+
readonly properties: {
|
|
9576
|
+
readonly jobId: {
|
|
9577
|
+
readonly type: 'string';
|
|
9578
|
+
readonly minLength: 1;
|
|
9579
|
+
readonly maxLength: 256;
|
|
9580
|
+
};
|
|
9581
|
+
};
|
|
9582
|
+
};
|
|
9583
|
+
};
|
|
9584
|
+
readonly output: {
|
|
9585
|
+
readonly encoding: 'application/json';
|
|
9586
|
+
readonly schema: {
|
|
9587
|
+
readonly type: 'object';
|
|
9588
|
+
readonly required: ["state"];
|
|
9589
|
+
readonly properties: {
|
|
9590
|
+
readonly state: {
|
|
9591
|
+
readonly type: 'string';
|
|
9592
|
+
readonly maxLength: 32;
|
|
9593
|
+
readonly knownValues: ["aborted", "completed", "failed", "expired"];
|
|
9594
|
+
};
|
|
9595
|
+
readonly completedJobId: {
|
|
9596
|
+
readonly type: 'string';
|
|
9597
|
+
readonly minLength: 1;
|
|
9598
|
+
readonly maxLength: 256;
|
|
9599
|
+
readonly description: 'Present only when state is completed.';
|
|
9600
|
+
};
|
|
9601
|
+
readonly failureReason: {
|
|
9602
|
+
readonly type: 'string';
|
|
9603
|
+
readonly maxLength: 1024;
|
|
9604
|
+
readonly description: 'Present only when state is failed.';
|
|
9605
|
+
};
|
|
9606
|
+
};
|
|
9607
|
+
};
|
|
9608
|
+
};
|
|
9609
|
+
readonly errors: [{
|
|
9610
|
+
readonly name: 'UploadNotFound';
|
|
9611
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions return their outcome and are never reported as not found.';
|
|
9612
|
+
}, {
|
|
9613
|
+
readonly name: 'UploadNotReady';
|
|
9614
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
9615
|
+
}];
|
|
9616
|
+
};
|
|
9617
|
+
};
|
|
9618
|
+
};
|
|
9546
9619
|
readonly AppBskyVideoDefs: {
|
|
9547
9620
|
readonly lexicon: 1;
|
|
9548
9621
|
readonly id: 'app.bsky.video.defs';
|
|
@@ -9561,7 +9634,7 @@ export declare const schemaDict: {
|
|
|
9561
9634
|
readonly state: {
|
|
9562
9635
|
readonly type: 'string';
|
|
9563
9636
|
readonly description: 'The state of the video processing job. All values not listed as a known value indicate that the job is in process.';
|
|
9564
|
-
readonly knownValues: ["JOB_STATE_COMPLETED", "JOB_STATE_FAILED"];
|
|
9637
|
+
readonly knownValues: ["JOB_STATE_CREATED", "JOB_STATE_ENCODING", "JOB_STATE_ENCODED", "JOB_STATE_SCANNING", "JOB_STATE_SCANNED", "JOB_STATE_UPLOADING", "JOB_STATE_UPLOADED", "JOB_STATE_COMPLETED", "JOB_STATE_FAILED"];
|
|
9565
9638
|
};
|
|
9566
9639
|
readonly progress: {
|
|
9567
9640
|
readonly type: 'integer';
|
|
@@ -9587,6 +9660,74 @@ export declare const schemaDict: {
|
|
|
9587
9660
|
};
|
|
9588
9661
|
};
|
|
9589
9662
|
};
|
|
9663
|
+
readonly AppBskyVideoFinishUpload: {
|
|
9664
|
+
readonly lexicon: 1;
|
|
9665
|
+
readonly id: 'app.bsky.video.finishUpload';
|
|
9666
|
+
readonly defs: {
|
|
9667
|
+
readonly main: {
|
|
9668
|
+
readonly type: 'procedure';
|
|
9669
|
+
readonly description: 'Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call.';
|
|
9670
|
+
readonly input: {
|
|
9671
|
+
readonly encoding: 'application/json';
|
|
9672
|
+
readonly schema: {
|
|
9673
|
+
readonly type: 'object';
|
|
9674
|
+
readonly required: ["jobId"];
|
|
9675
|
+
readonly properties: {
|
|
9676
|
+
readonly jobId: {
|
|
9677
|
+
readonly type: 'string';
|
|
9678
|
+
readonly minLength: 1;
|
|
9679
|
+
readonly maxLength: 256;
|
|
9680
|
+
};
|
|
9681
|
+
};
|
|
9682
|
+
};
|
|
9683
|
+
};
|
|
9684
|
+
readonly output: {
|
|
9685
|
+
readonly encoding: 'application/json';
|
|
9686
|
+
readonly schema: {
|
|
9687
|
+
readonly type: 'object';
|
|
9688
|
+
readonly required: ["completedJobId", "jobStatus"];
|
|
9689
|
+
readonly properties: {
|
|
9690
|
+
readonly completedJobId: {
|
|
9691
|
+
readonly type: 'string';
|
|
9692
|
+
readonly minLength: 1;
|
|
9693
|
+
readonly maxLength: 256;
|
|
9694
|
+
readonly description: 'The processing job to poll with getJobStatus; on deduplication this may differ from the input jobId.';
|
|
9695
|
+
};
|
|
9696
|
+
readonly jobStatus: {
|
|
9697
|
+
readonly type: 'ref';
|
|
9698
|
+
readonly ref: 'lex:app.bsky.video.defs#jobStatus';
|
|
9699
|
+
};
|
|
9700
|
+
};
|
|
9701
|
+
};
|
|
9702
|
+
};
|
|
9703
|
+
readonly errors: [{
|
|
9704
|
+
readonly name: 'UploadNotFound';
|
|
9705
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions are never reported as not found.';
|
|
9706
|
+
}, {
|
|
9707
|
+
readonly name: 'UploadExpired';
|
|
9708
|
+
readonly description: 'The upload session expired before finalization began.';
|
|
9709
|
+
}, {
|
|
9710
|
+
readonly name: 'MissingParts';
|
|
9711
|
+
readonly description: 'Not all parts are recorded; the error message lists the missing part numbers.';
|
|
9712
|
+
}, {
|
|
9713
|
+
readonly name: 'UploadNotReady';
|
|
9714
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
9715
|
+
}, {
|
|
9716
|
+
readonly name: 'UnsupportedContentType';
|
|
9717
|
+
readonly description: "The assembled object's detected content type is not supported.";
|
|
9718
|
+
}, {
|
|
9719
|
+
readonly name: 'UploadFailed';
|
|
9720
|
+
readonly description: 'The session is known to have failed; the error carries its failure reason.';
|
|
9721
|
+
}, {
|
|
9722
|
+
readonly name: 'UploadAborted';
|
|
9723
|
+
readonly description: 'The session is known to have been aborted.';
|
|
9724
|
+
}, {
|
|
9725
|
+
readonly name: 'ServiceOverloaded';
|
|
9726
|
+
readonly description: 'The service is draining or temporarily at capacity; retry later.';
|
|
9727
|
+
}];
|
|
9728
|
+
};
|
|
9729
|
+
};
|
|
9730
|
+
};
|
|
9590
9731
|
readonly AppBskyVideoGetJobStatus: {
|
|
9591
9732
|
readonly lexicon: 1;
|
|
9592
9733
|
readonly id: 'app.bsky.video.getJobStatus';
|
|
@@ -9653,6 +9794,251 @@ export declare const schemaDict: {
|
|
|
9653
9794
|
};
|
|
9654
9795
|
};
|
|
9655
9796
|
};
|
|
9797
|
+
readonly AppBskyVideoGetUploadStatus: {
|
|
9798
|
+
readonly lexicon: 1;
|
|
9799
|
+
readonly id: 'app.bsky.video.getUploadStatus';
|
|
9800
|
+
readonly defs: {
|
|
9801
|
+
readonly main: {
|
|
9802
|
+
readonly type: 'query';
|
|
9803
|
+
readonly description: 'Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.';
|
|
9804
|
+
readonly parameters: {
|
|
9805
|
+
readonly type: 'params';
|
|
9806
|
+
readonly required: ["jobId"];
|
|
9807
|
+
readonly properties: {
|
|
9808
|
+
readonly jobId: {
|
|
9809
|
+
readonly type: 'string';
|
|
9810
|
+
readonly minLength: 1;
|
|
9811
|
+
readonly maxLength: 256;
|
|
9812
|
+
};
|
|
9813
|
+
};
|
|
9814
|
+
};
|
|
9815
|
+
readonly output: {
|
|
9816
|
+
readonly encoding: 'application/json';
|
|
9817
|
+
readonly schema: {
|
|
9818
|
+
readonly type: 'object';
|
|
9819
|
+
readonly required: ["jobId", "partSizeBytes", "partCount", "receivedParts", "expiresAt", "state"];
|
|
9820
|
+
readonly properties: {
|
|
9821
|
+
readonly jobId: {
|
|
9822
|
+
readonly type: 'string';
|
|
9823
|
+
readonly minLength: 1;
|
|
9824
|
+
readonly maxLength: 256;
|
|
9825
|
+
};
|
|
9826
|
+
readonly partSizeBytes: {
|
|
9827
|
+
readonly type: 'integer';
|
|
9828
|
+
};
|
|
9829
|
+
readonly partCount: {
|
|
9830
|
+
readonly type: 'integer';
|
|
9831
|
+
};
|
|
9832
|
+
readonly receivedParts: {
|
|
9833
|
+
readonly type: 'array';
|
|
9834
|
+
readonly items: {
|
|
9835
|
+
readonly type: 'integer';
|
|
9836
|
+
readonly minimum: 1;
|
|
9837
|
+
};
|
|
9838
|
+
};
|
|
9839
|
+
readonly expiresAt: {
|
|
9840
|
+
readonly type: 'string';
|
|
9841
|
+
readonly format: 'datetime';
|
|
9842
|
+
};
|
|
9843
|
+
readonly state: {
|
|
9844
|
+
readonly type: 'string';
|
|
9845
|
+
readonly maxLength: 32;
|
|
9846
|
+
readonly knownValues: ["created", "finishing", "completed", "failed", "aborted", "expired"];
|
|
9847
|
+
};
|
|
9848
|
+
readonly completedJobId: {
|
|
9849
|
+
readonly type: 'string';
|
|
9850
|
+
readonly minLength: 1;
|
|
9851
|
+
readonly maxLength: 256;
|
|
9852
|
+
readonly description: 'Present only when state is completed; may differ from jobId on deduplication.';
|
|
9853
|
+
};
|
|
9854
|
+
readonly jobStatus: {
|
|
9855
|
+
readonly type: 'ref';
|
|
9856
|
+
readonly ref: 'lex:app.bsky.video.defs#jobStatus';
|
|
9857
|
+
readonly description: 'Present only when state is completed.';
|
|
9858
|
+
};
|
|
9859
|
+
readonly failureReason: {
|
|
9860
|
+
readonly type: 'string';
|
|
9861
|
+
readonly maxLength: 1024;
|
|
9862
|
+
readonly description: 'Present only when state is failed.';
|
|
9863
|
+
};
|
|
9864
|
+
};
|
|
9865
|
+
};
|
|
9866
|
+
};
|
|
9867
|
+
readonly errors: [{
|
|
9868
|
+
readonly name: 'UploadNotFound';
|
|
9869
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions remain readable and are never reported as not found.';
|
|
9870
|
+
}];
|
|
9871
|
+
};
|
|
9872
|
+
};
|
|
9873
|
+
};
|
|
9874
|
+
readonly AppBskyVideoStartUpload: {
|
|
9875
|
+
readonly lexicon: 1;
|
|
9876
|
+
readonly id: 'app.bsky.video.startUpload';
|
|
9877
|
+
readonly defs: {
|
|
9878
|
+
readonly main: {
|
|
9879
|
+
readonly type: 'procedure';
|
|
9880
|
+
readonly description: 'Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
9881
|
+
readonly input: {
|
|
9882
|
+
readonly encoding: 'application/json';
|
|
9883
|
+
readonly schema: {
|
|
9884
|
+
readonly type: 'object';
|
|
9885
|
+
readonly required: ["sizeBytes", "mimeType"];
|
|
9886
|
+
readonly properties: {
|
|
9887
|
+
readonly sizeBytes: {
|
|
9888
|
+
readonly type: 'integer';
|
|
9889
|
+
readonly minimum: 1;
|
|
9890
|
+
readonly description: 'Exact byte size of the complete upload-ready video file before it is split into parts.';
|
|
9891
|
+
};
|
|
9892
|
+
readonly mimeType: {
|
|
9893
|
+
readonly type: 'string';
|
|
9894
|
+
readonly minLength: 3;
|
|
9895
|
+
readonly maxLength: 255;
|
|
9896
|
+
readonly description: 'Declared MIME type of the video.';
|
|
9897
|
+
};
|
|
9898
|
+
readonly name: {
|
|
9899
|
+
readonly type: 'string';
|
|
9900
|
+
readonly maxLength: 256;
|
|
9901
|
+
readonly description: 'Optional client-provided file name.';
|
|
9902
|
+
};
|
|
9903
|
+
readonly durationMs: {
|
|
9904
|
+
readonly type: 'integer';
|
|
9905
|
+
readonly description: 'Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
9906
|
+
};
|
|
9907
|
+
readonly width: {
|
|
9908
|
+
readonly type: 'integer';
|
|
9909
|
+
readonly description: 'Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
9910
|
+
};
|
|
9911
|
+
readonly height: {
|
|
9912
|
+
readonly type: 'integer';
|
|
9913
|
+
readonly description: 'Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
9914
|
+
};
|
|
9915
|
+
};
|
|
9916
|
+
};
|
|
9917
|
+
};
|
|
9918
|
+
readonly output: {
|
|
9919
|
+
readonly encoding: 'application/json';
|
|
9920
|
+
readonly schema: {
|
|
9921
|
+
readonly type: 'object';
|
|
9922
|
+
readonly required: ["jobId", "partSizeBytes", "partCount", "expiresAt"];
|
|
9923
|
+
readonly properties: {
|
|
9924
|
+
readonly jobId: {
|
|
9925
|
+
readonly type: 'string';
|
|
9926
|
+
readonly minLength: 1;
|
|
9927
|
+
readonly maxLength: 256;
|
|
9928
|
+
};
|
|
9929
|
+
readonly partSizeBytes: {
|
|
9930
|
+
readonly type: 'integer';
|
|
9931
|
+
};
|
|
9932
|
+
readonly partCount: {
|
|
9933
|
+
readonly type: 'integer';
|
|
9934
|
+
};
|
|
9935
|
+
readonly expiresAt: {
|
|
9936
|
+
readonly type: 'string';
|
|
9937
|
+
readonly format: 'datetime';
|
|
9938
|
+
};
|
|
9939
|
+
};
|
|
9940
|
+
};
|
|
9941
|
+
};
|
|
9942
|
+
readonly errors: [{
|
|
9943
|
+
readonly name: 'UnsupportedContentType';
|
|
9944
|
+
readonly description: 'The declared MIME type is not supported.';
|
|
9945
|
+
}, {
|
|
9946
|
+
readonly name: 'VideoTooLarge';
|
|
9947
|
+
readonly description: 'The exact file size exceeds the per-file cap or remaining daily byte allowance.';
|
|
9948
|
+
}, {
|
|
9949
|
+
readonly name: 'VideoTooLong';
|
|
9950
|
+
readonly description: 'The advisory declared duration exceeds the limit.';
|
|
9951
|
+
}, {
|
|
9952
|
+
readonly name: 'BadAspectRatio';
|
|
9953
|
+
readonly description: 'The advisory declared dimensions have an unsupported aspect ratio.';
|
|
9954
|
+
}, {
|
|
9955
|
+
readonly name: 'DailyLimitExceeded';
|
|
9956
|
+
readonly description: 'The daily video or byte allowance, including active reservations, is exhausted.';
|
|
9957
|
+
}, {
|
|
9958
|
+
readonly name: 'TooManyOpenUploads';
|
|
9959
|
+
readonly description: 'The account has reached its open multipart upload limit.';
|
|
9960
|
+
}, {
|
|
9961
|
+
readonly name: 'UploadForbidden';
|
|
9962
|
+
readonly description: 'The account is not permitted to upload video.';
|
|
9963
|
+
}, {
|
|
9964
|
+
readonly name: 'ServiceOverloaded';
|
|
9965
|
+
readonly description: 'The service is draining, at capacity, or temporarily unable to create the multipart upload.';
|
|
9966
|
+
}];
|
|
9967
|
+
};
|
|
9968
|
+
};
|
|
9969
|
+
};
|
|
9970
|
+
readonly AppBskyVideoUploadPart: {
|
|
9971
|
+
readonly lexicon: 1;
|
|
9972
|
+
readonly id: 'app.bsky.video.uploadPart';
|
|
9973
|
+
readonly defs: {
|
|
9974
|
+
readonly main: {
|
|
9975
|
+
readonly type: 'procedure';
|
|
9976
|
+
readonly description: 'Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.';
|
|
9977
|
+
readonly parameters: {
|
|
9978
|
+
readonly type: 'params';
|
|
9979
|
+
readonly required: ["jobId", "partNumber"];
|
|
9980
|
+
readonly properties: {
|
|
9981
|
+
readonly jobId: {
|
|
9982
|
+
readonly type: 'string';
|
|
9983
|
+
readonly minLength: 1;
|
|
9984
|
+
readonly maxLength: 256;
|
|
9985
|
+
};
|
|
9986
|
+
readonly partNumber: {
|
|
9987
|
+
readonly type: 'integer';
|
|
9988
|
+
readonly minimum: 1;
|
|
9989
|
+
};
|
|
9990
|
+
};
|
|
9991
|
+
};
|
|
9992
|
+
readonly input: {
|
|
9993
|
+
readonly encoding: 'application/octet-stream';
|
|
9994
|
+
};
|
|
9995
|
+
readonly output: {
|
|
9996
|
+
readonly encoding: 'application/json';
|
|
9997
|
+
readonly schema: {
|
|
9998
|
+
readonly type: 'object';
|
|
9999
|
+
readonly required: ["partNumber", "sizeBytes"];
|
|
10000
|
+
readonly properties: {
|
|
10001
|
+
readonly partNumber: {
|
|
10002
|
+
readonly type: 'integer';
|
|
10003
|
+
readonly minimum: 1;
|
|
10004
|
+
};
|
|
10005
|
+
readonly sizeBytes: {
|
|
10006
|
+
readonly type: 'integer';
|
|
10007
|
+
};
|
|
10008
|
+
};
|
|
10009
|
+
};
|
|
10010
|
+
};
|
|
10011
|
+
readonly errors: [{
|
|
10012
|
+
readonly name: 'UploadNotFound';
|
|
10013
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions are never reported as not found.';
|
|
10014
|
+
}, {
|
|
10015
|
+
readonly name: 'UploadExpired';
|
|
10016
|
+
readonly description: 'The upload session expired before completion.';
|
|
10017
|
+
}, {
|
|
10018
|
+
readonly name: 'InvalidPartNumber';
|
|
10019
|
+
readonly description: "The part number is outside the upload's valid part range.";
|
|
10020
|
+
}, {
|
|
10021
|
+
readonly name: 'PartSizeMismatch';
|
|
10022
|
+
readonly description: 'Content-Length does not exactly match the expected size for this part.';
|
|
10023
|
+
}, {
|
|
10024
|
+
readonly name: 'UploadNotReady';
|
|
10025
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
10026
|
+
}, {
|
|
10027
|
+
readonly name: 'UploadFailed';
|
|
10028
|
+
readonly description: 'The session is known to have failed; the error carries its failure reason.';
|
|
10029
|
+
}, {
|
|
10030
|
+
readonly name: 'UploadAborted';
|
|
10031
|
+
readonly description: 'The session is known to have been aborted.';
|
|
10032
|
+
}, {
|
|
10033
|
+
readonly name: 'UploadAlreadyCompleted';
|
|
10034
|
+
readonly description: 'The session is known to have already completed.';
|
|
10035
|
+
}, {
|
|
10036
|
+
readonly name: 'ServiceOverloaded';
|
|
10037
|
+
readonly description: 'The service is draining or temporarily at capacity; retry on another worker.';
|
|
10038
|
+
}];
|
|
10039
|
+
};
|
|
10040
|
+
};
|
|
10041
|
+
};
|
|
9656
10042
|
readonly AppBskyVideoUploadVideo: {
|
|
9657
10043
|
readonly lexicon: 1;
|
|
9658
10044
|
readonly id: 'app.bsky.video.uploadVideo';
|
|
@@ -24517,6 +24903,26 @@ export declare const schemaDict: {
|
|
|
24517
24903
|
};
|
|
24518
24904
|
};
|
|
24519
24905
|
export declare const schemas: ({
|
|
24906
|
+
readonly lexicon: 1;
|
|
24907
|
+
readonly id: 'app.bsky.actor.contentVisibilityDeclaration';
|
|
24908
|
+
readonly defs: {
|
|
24909
|
+
readonly main: {
|
|
24910
|
+
readonly type: 'record';
|
|
24911
|
+
readonly description: "A declaration of an account's preferences for appearing in content discovery surfaces.";
|
|
24912
|
+
readonly key: 'literal:self';
|
|
24913
|
+
readonly record: {
|
|
24914
|
+
readonly type: 'object';
|
|
24915
|
+
readonly required: ["hideFromAlgorithmicRecommendations"];
|
|
24916
|
+
readonly properties: {
|
|
24917
|
+
readonly hideFromAlgorithmicRecommendations: {
|
|
24918
|
+
readonly type: 'boolean';
|
|
24919
|
+
readonly description: 'Whether the account requests that its posts be hidden from algorithmic recommendations. Consumers must treat a missing record as false.';
|
|
24920
|
+
};
|
|
24921
|
+
};
|
|
24922
|
+
};
|
|
24923
|
+
};
|
|
24924
|
+
};
|
|
24925
|
+
} | {
|
|
24520
24926
|
readonly lexicon: 1;
|
|
24521
24927
|
readonly id: 'app.bsky.actor.defs';
|
|
24522
24928
|
readonly defs: {
|
|
@@ -27601,8 +28007,6 @@ export declare const schemas: ({
|
|
|
27601
28007
|
readonly alt: {
|
|
27602
28008
|
readonly type: 'string';
|
|
27603
28009
|
readonly description: 'Alt text description of the video, for accessibility.';
|
|
27604
|
-
readonly maxGraphemes: 1000;
|
|
27605
|
-
readonly maxLength: 10000;
|
|
27606
28010
|
};
|
|
27607
28011
|
readonly aspectRatio: {
|
|
27608
28012
|
readonly type: 'ref';
|
|
@@ -27648,8 +28052,6 @@ export declare const schemas: ({
|
|
|
27648
28052
|
};
|
|
27649
28053
|
readonly alt: {
|
|
27650
28054
|
readonly type: 'string';
|
|
27651
|
-
readonly maxGraphemes: 1000;
|
|
27652
|
-
readonly maxLength: 10000;
|
|
27653
28055
|
};
|
|
27654
28056
|
readonly aspectRatio: {
|
|
27655
28057
|
readonly type: 'ref';
|
|
@@ -33911,6 +34313,61 @@ export declare const schemas: ({
|
|
|
33911
34313
|
}];
|
|
33912
34314
|
};
|
|
33913
34315
|
};
|
|
34316
|
+
} | {
|
|
34317
|
+
readonly lexicon: 1;
|
|
34318
|
+
readonly id: 'app.bsky.video.abortUpload';
|
|
34319
|
+
readonly defs: {
|
|
34320
|
+
readonly main: {
|
|
34321
|
+
readonly type: 'procedure';
|
|
34322
|
+
readonly description: 'Abort an upload only while it is created, releasing its quota reservation immediately. Terminal sessions are unchanged and return their terminal outcome. A finishing session returns UploadNotReady.';
|
|
34323
|
+
readonly input: {
|
|
34324
|
+
readonly encoding: 'application/json';
|
|
34325
|
+
readonly schema: {
|
|
34326
|
+
readonly type: 'object';
|
|
34327
|
+
readonly required: ["jobId"];
|
|
34328
|
+
readonly properties: {
|
|
34329
|
+
readonly jobId: {
|
|
34330
|
+
readonly type: 'string';
|
|
34331
|
+
readonly minLength: 1;
|
|
34332
|
+
readonly maxLength: 256;
|
|
34333
|
+
};
|
|
34334
|
+
};
|
|
34335
|
+
};
|
|
34336
|
+
};
|
|
34337
|
+
readonly output: {
|
|
34338
|
+
readonly encoding: 'application/json';
|
|
34339
|
+
readonly schema: {
|
|
34340
|
+
readonly type: 'object';
|
|
34341
|
+
readonly required: ["state"];
|
|
34342
|
+
readonly properties: {
|
|
34343
|
+
readonly state: {
|
|
34344
|
+
readonly type: 'string';
|
|
34345
|
+
readonly maxLength: 32;
|
|
34346
|
+
readonly knownValues: ["aborted", "completed", "failed", "expired"];
|
|
34347
|
+
};
|
|
34348
|
+
readonly completedJobId: {
|
|
34349
|
+
readonly type: 'string';
|
|
34350
|
+
readonly minLength: 1;
|
|
34351
|
+
readonly maxLength: 256;
|
|
34352
|
+
readonly description: 'Present only when state is completed.';
|
|
34353
|
+
};
|
|
34354
|
+
readonly failureReason: {
|
|
34355
|
+
readonly type: 'string';
|
|
34356
|
+
readonly maxLength: 1024;
|
|
34357
|
+
readonly description: 'Present only when state is failed.';
|
|
34358
|
+
};
|
|
34359
|
+
};
|
|
34360
|
+
};
|
|
34361
|
+
};
|
|
34362
|
+
readonly errors: [{
|
|
34363
|
+
readonly name: 'UploadNotFound';
|
|
34364
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions return their outcome and are never reported as not found.';
|
|
34365
|
+
}, {
|
|
34366
|
+
readonly name: 'UploadNotReady';
|
|
34367
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
34368
|
+
}];
|
|
34369
|
+
};
|
|
34370
|
+
};
|
|
33914
34371
|
} | {
|
|
33915
34372
|
readonly lexicon: 1;
|
|
33916
34373
|
readonly id: 'app.bsky.video.defs';
|
|
@@ -33929,7 +34386,7 @@ export declare const schemas: ({
|
|
|
33929
34386
|
readonly state: {
|
|
33930
34387
|
readonly type: 'string';
|
|
33931
34388
|
readonly description: 'The state of the video processing job. All values not listed as a known value indicate that the job is in process.';
|
|
33932
|
-
readonly knownValues: ["JOB_STATE_COMPLETED", "JOB_STATE_FAILED"];
|
|
34389
|
+
readonly knownValues: ["JOB_STATE_CREATED", "JOB_STATE_ENCODING", "JOB_STATE_ENCODED", "JOB_STATE_SCANNING", "JOB_STATE_SCANNED", "JOB_STATE_UPLOADING", "JOB_STATE_UPLOADED", "JOB_STATE_COMPLETED", "JOB_STATE_FAILED"];
|
|
33933
34390
|
};
|
|
33934
34391
|
readonly progress: {
|
|
33935
34392
|
readonly type: 'integer';
|
|
@@ -33954,6 +34411,73 @@ export declare const schemas: ({
|
|
|
33954
34411
|
};
|
|
33955
34412
|
};
|
|
33956
34413
|
};
|
|
34414
|
+
} | {
|
|
34415
|
+
readonly lexicon: 1;
|
|
34416
|
+
readonly id: 'app.bsky.video.finishUpload';
|
|
34417
|
+
readonly defs: {
|
|
34418
|
+
readonly main: {
|
|
34419
|
+
readonly type: 'procedure';
|
|
34420
|
+
readonly description: 'Finish an upload. This call is idempotent and safe to retry. On deduplication completedJobId may differ from the input jobId; poll getJobStatus with completedJobId. Probe-based validation failures surface later as JOB_STATE_FAILED from getJobStatus, not as errors from this call.';
|
|
34421
|
+
readonly input: {
|
|
34422
|
+
readonly encoding: 'application/json';
|
|
34423
|
+
readonly schema: {
|
|
34424
|
+
readonly type: 'object';
|
|
34425
|
+
readonly required: ["jobId"];
|
|
34426
|
+
readonly properties: {
|
|
34427
|
+
readonly jobId: {
|
|
34428
|
+
readonly type: 'string';
|
|
34429
|
+
readonly minLength: 1;
|
|
34430
|
+
readonly maxLength: 256;
|
|
34431
|
+
};
|
|
34432
|
+
};
|
|
34433
|
+
};
|
|
34434
|
+
};
|
|
34435
|
+
readonly output: {
|
|
34436
|
+
readonly encoding: 'application/json';
|
|
34437
|
+
readonly schema: {
|
|
34438
|
+
readonly type: 'object';
|
|
34439
|
+
readonly required: ["completedJobId", "jobStatus"];
|
|
34440
|
+
readonly properties: {
|
|
34441
|
+
readonly completedJobId: {
|
|
34442
|
+
readonly type: 'string';
|
|
34443
|
+
readonly minLength: 1;
|
|
34444
|
+
readonly maxLength: 256;
|
|
34445
|
+
readonly description: 'The processing job to poll with getJobStatus; on deduplication this may differ from the input jobId.';
|
|
34446
|
+
};
|
|
34447
|
+
readonly jobStatus: {
|
|
34448
|
+
readonly type: 'ref';
|
|
34449
|
+
readonly ref: 'lex:app.bsky.video.defs#jobStatus';
|
|
34450
|
+
};
|
|
34451
|
+
};
|
|
34452
|
+
};
|
|
34453
|
+
};
|
|
34454
|
+
readonly errors: [{
|
|
34455
|
+
readonly name: 'UploadNotFound';
|
|
34456
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions are never reported as not found.';
|
|
34457
|
+
}, {
|
|
34458
|
+
readonly name: 'UploadExpired';
|
|
34459
|
+
readonly description: 'The upload session expired before finalization began.';
|
|
34460
|
+
}, {
|
|
34461
|
+
readonly name: 'MissingParts';
|
|
34462
|
+
readonly description: 'Not all parts are recorded; the error message lists the missing part numbers.';
|
|
34463
|
+
}, {
|
|
34464
|
+
readonly name: 'UploadNotReady';
|
|
34465
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
34466
|
+
}, {
|
|
34467
|
+
readonly name: 'UnsupportedContentType';
|
|
34468
|
+
readonly description: "The assembled object's detected content type is not supported.";
|
|
34469
|
+
}, {
|
|
34470
|
+
readonly name: 'UploadFailed';
|
|
34471
|
+
readonly description: 'The session is known to have failed; the error carries its failure reason.';
|
|
34472
|
+
}, {
|
|
34473
|
+
readonly name: 'UploadAborted';
|
|
34474
|
+
readonly description: 'The session is known to have been aborted.';
|
|
34475
|
+
}, {
|
|
34476
|
+
readonly name: 'ServiceOverloaded';
|
|
34477
|
+
readonly description: 'The service is draining or temporarily at capacity; retry later.';
|
|
34478
|
+
}];
|
|
34479
|
+
};
|
|
34480
|
+
};
|
|
33957
34481
|
} | {
|
|
33958
34482
|
readonly lexicon: 1;
|
|
33959
34483
|
readonly id: 'app.bsky.video.getJobStatus';
|
|
@@ -34018,6 +34542,248 @@ export declare const schemas: ({
|
|
|
34018
34542
|
};
|
|
34019
34543
|
};
|
|
34020
34544
|
};
|
|
34545
|
+
} | {
|
|
34546
|
+
readonly lexicon: 1;
|
|
34547
|
+
readonly id: 'app.bsky.video.getUploadStatus';
|
|
34548
|
+
readonly defs: {
|
|
34549
|
+
readonly main: {
|
|
34550
|
+
readonly type: 'query';
|
|
34551
|
+
readonly description: 'Get the authoritative status of the upload phase. Terminal states remain readable. completedJobId and jobStatus are present only for completed sessions; failureReason is present only for failed sessions.';
|
|
34552
|
+
readonly parameters: {
|
|
34553
|
+
readonly type: 'params';
|
|
34554
|
+
readonly required: ["jobId"];
|
|
34555
|
+
readonly properties: {
|
|
34556
|
+
readonly jobId: {
|
|
34557
|
+
readonly type: 'string';
|
|
34558
|
+
readonly minLength: 1;
|
|
34559
|
+
readonly maxLength: 256;
|
|
34560
|
+
};
|
|
34561
|
+
};
|
|
34562
|
+
};
|
|
34563
|
+
readonly output: {
|
|
34564
|
+
readonly encoding: 'application/json';
|
|
34565
|
+
readonly schema: {
|
|
34566
|
+
readonly type: 'object';
|
|
34567
|
+
readonly required: ["jobId", "partSizeBytes", "partCount", "receivedParts", "expiresAt", "state"];
|
|
34568
|
+
readonly properties: {
|
|
34569
|
+
readonly jobId: {
|
|
34570
|
+
readonly type: 'string';
|
|
34571
|
+
readonly minLength: 1;
|
|
34572
|
+
readonly maxLength: 256;
|
|
34573
|
+
};
|
|
34574
|
+
readonly partSizeBytes: {
|
|
34575
|
+
readonly type: 'integer';
|
|
34576
|
+
};
|
|
34577
|
+
readonly partCount: {
|
|
34578
|
+
readonly type: 'integer';
|
|
34579
|
+
};
|
|
34580
|
+
readonly receivedParts: {
|
|
34581
|
+
readonly type: 'array';
|
|
34582
|
+
readonly items: {
|
|
34583
|
+
readonly type: 'integer';
|
|
34584
|
+
readonly minimum: 1;
|
|
34585
|
+
};
|
|
34586
|
+
};
|
|
34587
|
+
readonly expiresAt: {
|
|
34588
|
+
readonly type: 'string';
|
|
34589
|
+
readonly format: 'datetime';
|
|
34590
|
+
};
|
|
34591
|
+
readonly state: {
|
|
34592
|
+
readonly type: 'string';
|
|
34593
|
+
readonly maxLength: 32;
|
|
34594
|
+
readonly knownValues: ["created", "finishing", "completed", "failed", "aborted", "expired"];
|
|
34595
|
+
};
|
|
34596
|
+
readonly completedJobId: {
|
|
34597
|
+
readonly type: 'string';
|
|
34598
|
+
readonly minLength: 1;
|
|
34599
|
+
readonly maxLength: 256;
|
|
34600
|
+
readonly description: 'Present only when state is completed; may differ from jobId on deduplication.';
|
|
34601
|
+
};
|
|
34602
|
+
readonly jobStatus: {
|
|
34603
|
+
readonly type: 'ref';
|
|
34604
|
+
readonly ref: 'lex:app.bsky.video.defs#jobStatus';
|
|
34605
|
+
readonly description: 'Present only when state is completed.';
|
|
34606
|
+
};
|
|
34607
|
+
readonly failureReason: {
|
|
34608
|
+
readonly type: 'string';
|
|
34609
|
+
readonly maxLength: 1024;
|
|
34610
|
+
readonly description: 'Present only when state is failed.';
|
|
34611
|
+
};
|
|
34612
|
+
};
|
|
34613
|
+
};
|
|
34614
|
+
};
|
|
34615
|
+
readonly errors: [{
|
|
34616
|
+
readonly name: 'UploadNotFound';
|
|
34617
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions remain readable and are never reported as not found.';
|
|
34618
|
+
}];
|
|
34619
|
+
};
|
|
34620
|
+
};
|
|
34621
|
+
} | {
|
|
34622
|
+
readonly lexicon: 1;
|
|
34623
|
+
readonly id: 'app.bsky.video.startUpload';
|
|
34624
|
+
readonly defs: {
|
|
34625
|
+
readonly main: {
|
|
34626
|
+
readonly type: 'procedure';
|
|
34627
|
+
readonly description: 'Start a multipart video upload. The declared size is exact, while optional media properties are advisory and used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
34628
|
+
readonly input: {
|
|
34629
|
+
readonly encoding: 'application/json';
|
|
34630
|
+
readonly schema: {
|
|
34631
|
+
readonly type: 'object';
|
|
34632
|
+
readonly required: ["sizeBytes", "mimeType"];
|
|
34633
|
+
readonly properties: {
|
|
34634
|
+
readonly sizeBytes: {
|
|
34635
|
+
readonly type: 'integer';
|
|
34636
|
+
readonly minimum: 1;
|
|
34637
|
+
readonly description: 'Exact byte size of the complete upload-ready video file before it is split into parts.';
|
|
34638
|
+
};
|
|
34639
|
+
readonly mimeType: {
|
|
34640
|
+
readonly type: 'string';
|
|
34641
|
+
readonly minLength: 3;
|
|
34642
|
+
readonly maxLength: 255;
|
|
34643
|
+
readonly description: 'Declared MIME type of the video.';
|
|
34644
|
+
};
|
|
34645
|
+
readonly name: {
|
|
34646
|
+
readonly type: 'string';
|
|
34647
|
+
readonly maxLength: 256;
|
|
34648
|
+
readonly description: 'Optional client-provided file name.';
|
|
34649
|
+
};
|
|
34650
|
+
readonly durationMs: {
|
|
34651
|
+
readonly type: 'integer';
|
|
34652
|
+
readonly description: 'Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
34653
|
+
};
|
|
34654
|
+
readonly width: {
|
|
34655
|
+
readonly type: 'integer';
|
|
34656
|
+
readonly description: 'Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
34657
|
+
};
|
|
34658
|
+
readonly height: {
|
|
34659
|
+
readonly type: 'integer';
|
|
34660
|
+
readonly description: 'Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.';
|
|
34661
|
+
};
|
|
34662
|
+
};
|
|
34663
|
+
};
|
|
34664
|
+
};
|
|
34665
|
+
readonly output: {
|
|
34666
|
+
readonly encoding: 'application/json';
|
|
34667
|
+
readonly schema: {
|
|
34668
|
+
readonly type: 'object';
|
|
34669
|
+
readonly required: ["jobId", "partSizeBytes", "partCount", "expiresAt"];
|
|
34670
|
+
readonly properties: {
|
|
34671
|
+
readonly jobId: {
|
|
34672
|
+
readonly type: 'string';
|
|
34673
|
+
readonly minLength: 1;
|
|
34674
|
+
readonly maxLength: 256;
|
|
34675
|
+
};
|
|
34676
|
+
readonly partSizeBytes: {
|
|
34677
|
+
readonly type: 'integer';
|
|
34678
|
+
};
|
|
34679
|
+
readonly partCount: {
|
|
34680
|
+
readonly type: 'integer';
|
|
34681
|
+
};
|
|
34682
|
+
readonly expiresAt: {
|
|
34683
|
+
readonly type: 'string';
|
|
34684
|
+
readonly format: 'datetime';
|
|
34685
|
+
};
|
|
34686
|
+
};
|
|
34687
|
+
};
|
|
34688
|
+
};
|
|
34689
|
+
readonly errors: [{
|
|
34690
|
+
readonly name: 'UnsupportedContentType';
|
|
34691
|
+
readonly description: 'The declared MIME type is not supported.';
|
|
34692
|
+
}, {
|
|
34693
|
+
readonly name: 'VideoTooLarge';
|
|
34694
|
+
readonly description: 'The exact file size exceeds the per-file cap or remaining daily byte allowance.';
|
|
34695
|
+
}, {
|
|
34696
|
+
readonly name: 'VideoTooLong';
|
|
34697
|
+
readonly description: 'The advisory declared duration exceeds the limit.';
|
|
34698
|
+
}, {
|
|
34699
|
+
readonly name: 'BadAspectRatio';
|
|
34700
|
+
readonly description: 'The advisory declared dimensions have an unsupported aspect ratio.';
|
|
34701
|
+
}, {
|
|
34702
|
+
readonly name: 'DailyLimitExceeded';
|
|
34703
|
+
readonly description: 'The daily video or byte allowance, including active reservations, is exhausted.';
|
|
34704
|
+
}, {
|
|
34705
|
+
readonly name: 'TooManyOpenUploads';
|
|
34706
|
+
readonly description: 'The account has reached its open multipart upload limit.';
|
|
34707
|
+
}, {
|
|
34708
|
+
readonly name: 'UploadForbidden';
|
|
34709
|
+
readonly description: 'The account is not permitted to upload video.';
|
|
34710
|
+
}, {
|
|
34711
|
+
readonly name: 'ServiceOverloaded';
|
|
34712
|
+
readonly description: 'The service is draining, at capacity, or temporarily unable to create the multipart upload.';
|
|
34713
|
+
}];
|
|
34714
|
+
};
|
|
34715
|
+
};
|
|
34716
|
+
} | {
|
|
34717
|
+
readonly lexicon: 1;
|
|
34718
|
+
readonly id: 'app.bsky.video.uploadPart';
|
|
34719
|
+
readonly defs: {
|
|
34720
|
+
readonly main: {
|
|
34721
|
+
readonly type: 'procedure';
|
|
34722
|
+
readonly description: 'Upload one part. Parts are idempotent and may be retried or re-sent while the session is created. Each expected length is derived from the upload size and part size, and Content-Length must match exactly. ETags are never exposed to clients.';
|
|
34723
|
+
readonly parameters: {
|
|
34724
|
+
readonly type: 'params';
|
|
34725
|
+
readonly required: ["jobId", "partNumber"];
|
|
34726
|
+
readonly properties: {
|
|
34727
|
+
readonly jobId: {
|
|
34728
|
+
readonly type: 'string';
|
|
34729
|
+
readonly minLength: 1;
|
|
34730
|
+
readonly maxLength: 256;
|
|
34731
|
+
};
|
|
34732
|
+
readonly partNumber: {
|
|
34733
|
+
readonly type: 'integer';
|
|
34734
|
+
readonly minimum: 1;
|
|
34735
|
+
};
|
|
34736
|
+
};
|
|
34737
|
+
};
|
|
34738
|
+
readonly input: {
|
|
34739
|
+
readonly encoding: 'application/octet-stream';
|
|
34740
|
+
};
|
|
34741
|
+
readonly output: {
|
|
34742
|
+
readonly encoding: 'application/json';
|
|
34743
|
+
readonly schema: {
|
|
34744
|
+
readonly type: 'object';
|
|
34745
|
+
readonly required: ["partNumber", "sizeBytes"];
|
|
34746
|
+
readonly properties: {
|
|
34747
|
+
readonly partNumber: {
|
|
34748
|
+
readonly type: 'integer';
|
|
34749
|
+
readonly minimum: 1;
|
|
34750
|
+
};
|
|
34751
|
+
readonly sizeBytes: {
|
|
34752
|
+
readonly type: 'integer';
|
|
34753
|
+
};
|
|
34754
|
+
};
|
|
34755
|
+
};
|
|
34756
|
+
};
|
|
34757
|
+
readonly errors: [{
|
|
34758
|
+
readonly name: 'UploadNotFound';
|
|
34759
|
+
readonly description: 'The job ID is unknown or aged out of retention; known terminal sessions are never reported as not found.';
|
|
34760
|
+
}, {
|
|
34761
|
+
readonly name: 'UploadExpired';
|
|
34762
|
+
readonly description: 'The upload session expired before completion.';
|
|
34763
|
+
}, {
|
|
34764
|
+
readonly name: 'InvalidPartNumber';
|
|
34765
|
+
readonly description: "The part number is outside the upload's valid part range.";
|
|
34766
|
+
}, {
|
|
34767
|
+
readonly name: 'PartSizeMismatch';
|
|
34768
|
+
readonly description: 'Content-Length does not exactly match the expected size for this part.';
|
|
34769
|
+
}, {
|
|
34770
|
+
readonly name: 'UploadNotReady';
|
|
34771
|
+
readonly description: 'A finish is in progress; check getUploadStatus and retry.';
|
|
34772
|
+
}, {
|
|
34773
|
+
readonly name: 'UploadFailed';
|
|
34774
|
+
readonly description: 'The session is known to have failed; the error carries its failure reason.';
|
|
34775
|
+
}, {
|
|
34776
|
+
readonly name: 'UploadAborted';
|
|
34777
|
+
readonly description: 'The session is known to have been aborted.';
|
|
34778
|
+
}, {
|
|
34779
|
+
readonly name: 'UploadAlreadyCompleted';
|
|
34780
|
+
readonly description: 'The session is known to have already completed.';
|
|
34781
|
+
}, {
|
|
34782
|
+
readonly name: 'ServiceOverloaded';
|
|
34783
|
+
readonly description: 'The service is draining or temporarily at capacity; retry on another worker.';
|
|
34784
|
+
}];
|
|
34785
|
+
};
|
|
34786
|
+
};
|
|
34021
34787
|
} | {
|
|
34022
34788
|
readonly lexicon: 1;
|
|
34023
34789
|
readonly id: 'app.bsky.video.uploadVideo';
|
|
@@ -48659,6 +49425,7 @@ export declare function validate<T extends {
|
|
|
48659
49425
|
$type?: string;
|
|
48660
49426
|
}>(v: unknown, id: string, hash: string, requiredType?: false): ValidationResult<T>;
|
|
48661
49427
|
export declare const ids: {
|
|
49428
|
+
readonly AppBskyActorContentVisibilityDeclaration: 'app.bsky.actor.contentVisibilityDeclaration';
|
|
48662
49429
|
readonly AppBskyActorDefs: 'app.bsky.actor.defs';
|
|
48663
49430
|
readonly AppBskyActorGetPreferences: 'app.bsky.actor.getPreferences';
|
|
48664
49431
|
readonly AppBskyActorGetProfile: 'app.bsky.actor.getProfile';
|
|
@@ -48804,9 +49571,14 @@ export declare const ids: {
|
|
|
48804
49571
|
readonly AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton';
|
|
48805
49572
|
readonly AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton';
|
|
48806
49573
|
readonly AppBskyUnspeccedSearchStarterPacksSkeleton: 'app.bsky.unspecced.searchStarterPacksSkeleton';
|
|
49574
|
+
readonly AppBskyVideoAbortUpload: 'app.bsky.video.abortUpload';
|
|
48807
49575
|
readonly AppBskyVideoDefs: 'app.bsky.video.defs';
|
|
49576
|
+
readonly AppBskyVideoFinishUpload: 'app.bsky.video.finishUpload';
|
|
48808
49577
|
readonly AppBskyVideoGetJobStatus: 'app.bsky.video.getJobStatus';
|
|
48809
49578
|
readonly AppBskyVideoGetUploadLimits: 'app.bsky.video.getUploadLimits';
|
|
49579
|
+
readonly AppBskyVideoGetUploadStatus: 'app.bsky.video.getUploadStatus';
|
|
49580
|
+
readonly AppBskyVideoStartUpload: 'app.bsky.video.startUpload';
|
|
49581
|
+
readonly AppBskyVideoUploadPart: 'app.bsky.video.uploadPart';
|
|
48810
49582
|
readonly AppBskyVideoUploadVideo: 'app.bsky.video.uploadVideo';
|
|
48811
49583
|
readonly ChatBskyActorDeclaration: 'chat.bsky.actor.declaration';
|
|
48812
49584
|
readonly ChatBskyActorDefs: 'chat.bsky.actor.defs';
|