@omelhorsite/sdk 0.2.0 → 0.3.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/dist/index.js +4939 -552
- package/dist/types/client.d.ts +60 -3
- package/dist/types/http.d.ts +444 -19
- package/dist/types/index.d.ts +4 -1
- package/dist/types/resources/account.d.ts +66 -3
- package/dist/types/resources/admin.d.ts +1837 -0
- package/dist/types/resources/auth/index.d.ts +39 -0
- package/dist/types/resources/auth/passkeys.d.ts +652 -0
- package/dist/types/resources/auth/sessions.d.ts +847 -0
- package/dist/types/resources/chests.d.ts +54 -3
- package/dist/types/resources/content.d.ts +2970 -0
- package/dist/types/resources/dynamicQrs.d.ts +39 -3
- package/dist/types/resources/forms.d.ts +176 -35
- package/dist/types/resources/index.d.ts +19 -8
- package/dist/types/resources/ipLookup.d.ts +20 -4
- package/dist/types/resources/jobs.d.ts +62 -21
- package/dist/types/resources/library.d.ts +1435 -0
- package/dist/types/resources/linkTrees.d.ts +142 -30
- package/dist/types/resources/media.d.ts +351 -0
- package/dist/types/resources/movies.d.ts +1186 -0
- package/dist/types/resources/music/artists.d.ts +1066 -0
- package/dist/types/resources/music/imports.d.ts +940 -0
- package/dist/types/resources/music/index.d.ts +61 -0
- package/dist/types/resources/music/playlists.d.ts +1026 -0
- package/dist/types/resources/music/social.d.ts +1132 -0
- package/dist/types/resources/music/songs.d.ts +1183 -0
- package/dist/types/resources/notepads.d.ts +4 -1
- package/dist/types/resources/quotas.d.ts +7 -1
- package/dist/types/resources/realtime.d.ts +855 -0
- package/dist/types/resources/shortLinks.d.ts +45 -4
- package/dist/types/resources/social.d.ts +1330 -0
- package/dist/types/resources/storage/upload.d.ts +158 -11
- package/dist/types/resources/storage.d.ts +88 -22
- package/dist/types/resources/tickets.d.ts +82 -3
- package/dist/types/resources/tools/backgroundRemoval.d.ts +18 -3
- package/dist/types/resources/tools/captions.d.ts +448 -21
- package/dist/types/resources/tools/downloader.d.ts +21 -0
- package/dist/types/resources/tools/index.d.ts +57 -15
- package/dist/types/resources/tools/jumpstyle.d.ts +50 -17
- package/dist/types/resources/tools/transcription.d.ts +35 -13
- package/dist/types/resources/tools/upscale.d.ts +23 -3
- package/dist/types/resources/tools/vocalSeparation.d.ts +30 -13
- package/dist/types/types.d.ts +249 -17
- package/package.json +2 -1
|
@@ -27,7 +27,10 @@ import type { RequestOptions, Timestamp } from "../types";
|
|
|
27
27
|
export interface Notepad {
|
|
28
28
|
/** Word-shaped capability, e.g. `"quick-brown-fox"`. Treat it as a secret. */
|
|
29
29
|
readonly slug: string;
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* The whole document. Empty string, never `null`, for a fresh pad: the
|
|
32
|
+
* column is `NOT NULL DEFAULT ''`.
|
|
33
|
+
*/
|
|
31
34
|
readonly content: string;
|
|
32
35
|
readonly created_at: Timestamp;
|
|
33
36
|
readonly updated_at: Timestamp;
|
|
@@ -57,7 +57,13 @@ export type QuotaUnit = "seconds" | "count" | "bytes";
|
|
|
57
57
|
* stored right now and only falls when something is deleted.
|
|
58
58
|
*/
|
|
59
59
|
export type QuotaPeriod = "daily" | "total";
|
|
60
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* One resource, in the one shape every resource uses.
|
|
62
|
+
*
|
|
63
|
+
* All seven keys are always present. `resource`, `unit` and `period` are Ruby
|
|
64
|
+
* symbols on the server (`:daily`, `:bytes`) and reach the wire as plain
|
|
65
|
+
* strings, so compare them as strings and never against a leading colon.
|
|
66
|
+
*/
|
|
61
67
|
export interface QuotaEntry {
|
|
62
68
|
/** A {@link QuotaResource}, or a name added to the server since this build. */
|
|
63
69
|
readonly resource: QuotaResource | string;
|