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