@putdotio/sdk 15.0.1 → 15.1.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/README.md +23 -2
- package/dist/{forms-C_Ti7aer.js → forms-CbYS70jk.js} +31 -12
- package/dist/forms-CbYS70jk.js.map +1 -0
- package/dist/{index-cA579zP3.d.ts → index-BOD2bQhk.d.ts} +3737 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +79 -52
- package/dist/index.js.map +1 -1
- package/dist/utilities.d.ts +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +3 -3
- package/dist/forms-C_Ti7aer.js.map +0 -1
|
@@ -106,6 +106,7 @@ declare const PutioRateLimitError_base: Schema.Class<PutioRateLimitError, Schema
|
|
|
106
106
|
readonly limit: Schema.optional<Schema.String>;
|
|
107
107
|
readonly remaining: Schema.optional<Schema.String>;
|
|
108
108
|
readonly retryAfter: Schema.optional<Schema.String>;
|
|
109
|
+
readonly retryAfterSeconds: Schema.optional<Schema.Number>;
|
|
109
110
|
readonly reset: Schema.optional<Schema.String>;
|
|
110
111
|
readonly status: Schema.Int;
|
|
111
112
|
readonly body: Schema.Struct<{
|
|
@@ -189,6 +190,7 @@ declare const PutioRateLimitErrorValueSchema: Schema.Struct<{
|
|
|
189
190
|
readonly limit: Schema.optional<Schema.String>;
|
|
190
191
|
readonly remaining: Schema.optional<Schema.String>;
|
|
191
192
|
readonly retryAfter: Schema.optional<Schema.String>;
|
|
193
|
+
readonly retryAfterSeconds: Schema.optional<Schema.Number>;
|
|
192
194
|
readonly reset: Schema.optional<Schema.String>;
|
|
193
195
|
readonly body: Schema.Struct<{
|
|
194
196
|
readonly status: Schema.optional<Schema.String>;
|
|
@@ -279,6 +281,7 @@ declare const isPutioRateLimitError: <I>(input: I) => input is I & {
|
|
|
279
281
|
readonly limit?: string | undefined;
|
|
280
282
|
readonly remaining?: string | undefined;
|
|
281
283
|
readonly retryAfter?: string | undefined;
|
|
284
|
+
readonly retryAfterSeconds?: number | undefined;
|
|
282
285
|
readonly reset?: string | undefined;
|
|
283
286
|
readonly body: {
|
|
284
287
|
readonly status?: string | undefined;
|
|
@@ -336,6 +339,7 @@ declare const responseRateLimitHeaders: (headers: Headers) => {
|
|
|
336
339
|
limit: string | undefined;
|
|
337
340
|
remaining: string | undefined;
|
|
338
341
|
retryAfter: string | undefined;
|
|
342
|
+
retryAfterSeconds: number | undefined;
|
|
339
343
|
reset: string | undefined;
|
|
340
344
|
};
|
|
341
345
|
declare const mapDecodeErrorToValidationError: (cause: unknown) => PutioValidationError;
|
|
@@ -5672,11 +5676,15 @@ interface PutioSdkPromiseState {
|
|
|
5672
5676
|
runtime: ManagedRuntime.ManagedRuntime<PutioSdkContext, never> | undefined;
|
|
5673
5677
|
readonly runtimeConfig: PutioSdkPromiseRuntimeConfig;
|
|
5674
5678
|
}
|
|
5679
|
+
interface PutioSdkPromiseRunner {
|
|
5680
|
+
readonly signal: AbortSignal | undefined;
|
|
5681
|
+
readonly state: PutioSdkPromiseState;
|
|
5682
|
+
}
|
|
5675
5683
|
type Operation = (...args: never[]) => void;
|
|
5676
5684
|
declare class OperationEntry<T extends Operation> {
|
|
5677
5685
|
readonly run: T;
|
|
5678
|
-
readonly toPromise: (
|
|
5679
|
-
constructor(run: T, toPromise: (
|
|
5686
|
+
readonly toPromise: (runner: PutioSdkPromiseRunner) => (...args: Parameters<T>) => void;
|
|
5687
|
+
constructor(run: T, toPromise: (runner: PutioSdkPromiseRunner) => (...args: Parameters<T>) => void);
|
|
5680
5688
|
}
|
|
5681
5689
|
type EffectOperationTree<T> = T extends OperationEntry<infer TOperation> ? TOperation : T extends object ? { [Key in keyof T]: EffectOperationTree<T[Key]>; } : never;
|
|
5682
5690
|
declare const sharedOperationTree: {
|
|
@@ -6175,7 +6183,7 @@ declare const PutioSdk_base: Context.ServiceClass<PutioSdk, "PutioSdk", {
|
|
|
6175
6183
|
declare class PutioSdk extends PutioSdk_base {}
|
|
6176
6184
|
declare const makePutioSdkEffectClientLayer: () => Layer.Layer<PutioSdk, never, never>;
|
|
6177
6185
|
declare const makePutioSdkLiveClientLayer: (config: PutioSdkOptions) => Layer.Layer<PutioHttpClient | PutioSdk | PutioSdkConfig, never, never>;
|
|
6178
|
-
declare const
|
|
6186
|
+
declare const createPromiseOperations: (state: PutioSdkPromiseState, signal: AbortSignal | undefined) => {
|
|
6179
6187
|
downloadLinks: {
|
|
6180
6188
|
create: (input?: {
|
|
6181
6189
|
readonly cursor?: string | undefined;
|
|
@@ -8736,8 +8744,6 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkOptions) =>
|
|
|
8736
8744
|
readonly id: number;
|
|
8737
8745
|
}[]>;
|
|
8738
8746
|
};
|
|
8739
|
-
dispose: () => Promise<void>;
|
|
8740
|
-
setAccessToken: (accessToken: string | undefined) => void;
|
|
8741
8747
|
account: {
|
|
8742
8748
|
appSpecificPasswords: {
|
|
8743
8749
|
create: (input: {
|
|
@@ -9897,6 +9903,3730 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkOptions) =>
|
|
|
9897
9903
|
};
|
|
9898
9904
|
};
|
|
9899
9905
|
};
|
|
9906
|
+
type PutioSdkPromiseOperations = ReturnType<typeof createPromiseOperations>;
|
|
9907
|
+
declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkOptions) => {
|
|
9908
|
+
downloadLinks: {
|
|
9909
|
+
create: (input?: {
|
|
9910
|
+
readonly cursor?: string | undefined;
|
|
9911
|
+
readonly excludeIds?: readonly number[] | undefined;
|
|
9912
|
+
readonly ids?: readonly number[] | undefined;
|
|
9913
|
+
} | undefined) => Promise<{
|
|
9914
|
+
readonly id: number;
|
|
9915
|
+
}>;
|
|
9916
|
+
get: (id: number) => Promise<{
|
|
9917
|
+
readonly error_msg?: string | null | undefined;
|
|
9918
|
+
readonly links: null;
|
|
9919
|
+
readonly links_status: "NEW" | "PROCESSING";
|
|
9920
|
+
readonly status: "OK";
|
|
9921
|
+
} | {
|
|
9922
|
+
readonly error_msg?: string | null | undefined;
|
|
9923
|
+
readonly links: {
|
|
9924
|
+
readonly download_links: readonly string[];
|
|
9925
|
+
readonly media_links: readonly string[];
|
|
9926
|
+
readonly mp4_links: readonly string[];
|
|
9927
|
+
};
|
|
9928
|
+
readonly links_status: "DONE";
|
|
9929
|
+
readonly status: "OK";
|
|
9930
|
+
} | {
|
|
9931
|
+
readonly error_msg: string;
|
|
9932
|
+
readonly links: null;
|
|
9933
|
+
readonly links_status: "ERROR";
|
|
9934
|
+
readonly status: "OK";
|
|
9935
|
+
}>;
|
|
9936
|
+
};
|
|
9937
|
+
events: {
|
|
9938
|
+
clear: () => Promise<{
|
|
9939
|
+
readonly status: "OK";
|
|
9940
|
+
}>;
|
|
9941
|
+
delete: (id: number) => Promise<{
|
|
9942
|
+
readonly status: "OK";
|
|
9943
|
+
}>;
|
|
9944
|
+
getTorrent: (id: number) => Promise<Uint8Array<ArrayBufferLike>>;
|
|
9945
|
+
list: (query?: {
|
|
9946
|
+
readonly before?: number | undefined;
|
|
9947
|
+
readonly per_page?: number | undefined;
|
|
9948
|
+
} | undefined) => Promise<{
|
|
9949
|
+
readonly events: readonly ({
|
|
9950
|
+
readonly created_at: string;
|
|
9951
|
+
readonly id: number;
|
|
9952
|
+
readonly user_id: number;
|
|
9953
|
+
readonly file_id: number;
|
|
9954
|
+
readonly file_name: string;
|
|
9955
|
+
readonly file_size: number;
|
|
9956
|
+
readonly sharing_user_name: string;
|
|
9957
|
+
readonly type: "file_shared";
|
|
9958
|
+
} | {
|
|
9959
|
+
readonly created_at: string;
|
|
9960
|
+
readonly id: number;
|
|
9961
|
+
readonly user_id: number;
|
|
9962
|
+
readonly file_id: number;
|
|
9963
|
+
readonly file_name: string;
|
|
9964
|
+
readonly file_size: number;
|
|
9965
|
+
readonly type: "upload";
|
|
9966
|
+
} | {
|
|
9967
|
+
readonly created_at: string;
|
|
9968
|
+
readonly id: number;
|
|
9969
|
+
readonly user_id: number;
|
|
9970
|
+
readonly file_id: number;
|
|
9971
|
+
readonly file_name: string;
|
|
9972
|
+
readonly file_size: number;
|
|
9973
|
+
readonly file_source: string;
|
|
9974
|
+
readonly type: "file_from_rss_deleted_for_space";
|
|
9975
|
+
} | {
|
|
9976
|
+
readonly created_at: string;
|
|
9977
|
+
readonly id: number;
|
|
9978
|
+
readonly user_id: number;
|
|
9979
|
+
readonly source: string;
|
|
9980
|
+
readonly transfer_name: string;
|
|
9981
|
+
readonly file_id: number;
|
|
9982
|
+
readonly transfer_size: number;
|
|
9983
|
+
readonly type: "transfer_completed";
|
|
9984
|
+
} | {
|
|
9985
|
+
readonly created_at: string;
|
|
9986
|
+
readonly id: number;
|
|
9987
|
+
readonly user_id: number;
|
|
9988
|
+
readonly source: string;
|
|
9989
|
+
readonly transfer_name: string;
|
|
9990
|
+
readonly type: "transfer_error";
|
|
9991
|
+
} | {
|
|
9992
|
+
readonly created_at: string;
|
|
9993
|
+
readonly id: number;
|
|
9994
|
+
readonly user_id: number;
|
|
9995
|
+
readonly rss_id: number;
|
|
9996
|
+
readonly transfer_name: string;
|
|
9997
|
+
readonly type: "transfer_from_rss_error";
|
|
9998
|
+
} | {
|
|
9999
|
+
readonly created_at: string;
|
|
10000
|
+
readonly id: number;
|
|
10001
|
+
readonly user_id: number;
|
|
10002
|
+
readonly message: string;
|
|
10003
|
+
readonly transfer_id: number;
|
|
10004
|
+
readonly transfer_name: string;
|
|
10005
|
+
readonly type: "transfer_callback_error";
|
|
10006
|
+
} | {
|
|
10007
|
+
readonly created_at: string;
|
|
10008
|
+
readonly id: number;
|
|
10009
|
+
readonly user_id: number;
|
|
10010
|
+
readonly new_host_ip: string;
|
|
10011
|
+
readonly pinned_host_ip: string;
|
|
10012
|
+
readonly type: "private_torrent_pin";
|
|
10013
|
+
readonly user_download_name: string;
|
|
10014
|
+
} | {
|
|
10015
|
+
readonly created_at: string;
|
|
10016
|
+
readonly id: number;
|
|
10017
|
+
readonly user_id: number;
|
|
10018
|
+
readonly rss_filter_id: number;
|
|
10019
|
+
readonly rss_filter_title: string;
|
|
10020
|
+
readonly type: "rss_filter_paused";
|
|
10021
|
+
} | {
|
|
10022
|
+
readonly created_at: string;
|
|
10023
|
+
readonly id: number;
|
|
10024
|
+
readonly user_id: number;
|
|
10025
|
+
readonly type: "voucher";
|
|
10026
|
+
readonly voucher: number;
|
|
10027
|
+
readonly voucher_owner_id: number;
|
|
10028
|
+
readonly voucher_owner_name: string;
|
|
10029
|
+
} | {
|
|
10030
|
+
readonly created_at: string;
|
|
10031
|
+
readonly id: number;
|
|
10032
|
+
readonly user_id: number;
|
|
10033
|
+
readonly type: "zip_created";
|
|
10034
|
+
readonly zip_id: number;
|
|
10035
|
+
readonly zip_size: number;
|
|
10036
|
+
} | {
|
|
10037
|
+
readonly created_at: string;
|
|
10038
|
+
readonly id: number;
|
|
10039
|
+
readonly type: string;
|
|
10040
|
+
readonly user_id: number;
|
|
10041
|
+
})[];
|
|
10042
|
+
readonly has_more: boolean;
|
|
10043
|
+
readonly status: "OK";
|
|
10044
|
+
}>;
|
|
10045
|
+
};
|
|
10046
|
+
family: {
|
|
10047
|
+
createInvite: () => Promise<{
|
|
10048
|
+
readonly code: string;
|
|
10049
|
+
}>;
|
|
10050
|
+
join: (inviteCode: string) => Promise<void>;
|
|
10051
|
+
listInvites: () => Promise<FamilyInvitesResponse>;
|
|
10052
|
+
listMembers: () => Promise<readonly {
|
|
10053
|
+
readonly avatar_url: string;
|
|
10054
|
+
readonly created_at: string;
|
|
10055
|
+
readonly disk_used: number;
|
|
10056
|
+
readonly id: number;
|
|
10057
|
+
readonly is_owner: boolean;
|
|
10058
|
+
readonly name: string;
|
|
10059
|
+
}[]>;
|
|
10060
|
+
removeMember: (username: string) => Promise<void>;
|
|
10061
|
+
};
|
|
10062
|
+
ifttt: {
|
|
10063
|
+
getStatus: () => Promise<{
|
|
10064
|
+
readonly enabled: boolean;
|
|
10065
|
+
}>;
|
|
10066
|
+
sendEvent: (input: IftttEventInput) => Promise<void>;
|
|
10067
|
+
};
|
|
10068
|
+
podcast: {
|
|
10069
|
+
getLinks: (input: {
|
|
10070
|
+
readonly parentId: number;
|
|
10071
|
+
readonly types?: readonly ("all" | "audio" | "mp4" | "video")[] | undefined;
|
|
10072
|
+
}) => Promise<PodcastLinksResponse>;
|
|
10073
|
+
};
|
|
10074
|
+
friendInvites: {
|
|
10075
|
+
create: () => Promise<{
|
|
10076
|
+
readonly code: string;
|
|
10077
|
+
}>;
|
|
10078
|
+
list: () => Promise<{
|
|
10079
|
+
readonly invites: ReadonlyArray<FriendInvite>;
|
|
10080
|
+
readonly remaining_limit: number;
|
|
10081
|
+
}>;
|
|
10082
|
+
};
|
|
10083
|
+
friends: {
|
|
10084
|
+
approve: (username: string) => Promise<{
|
|
10085
|
+
readonly status: "OK";
|
|
10086
|
+
}>;
|
|
10087
|
+
countWaitingRequests: () => Promise<number>;
|
|
10088
|
+
deny: (username: string) => Promise<{
|
|
10089
|
+
readonly status: "OK";
|
|
10090
|
+
}>;
|
|
10091
|
+
list: () => Promise<{
|
|
10092
|
+
readonly friends: ReadonlyArray<Friend>;
|
|
10093
|
+
readonly total: number;
|
|
10094
|
+
}>;
|
|
10095
|
+
listSentRequests: () => Promise<readonly {
|
|
10096
|
+
readonly avatar_url: string;
|
|
10097
|
+
readonly id: number;
|
|
10098
|
+
readonly name: string;
|
|
10099
|
+
}[]>;
|
|
10100
|
+
listWaitingRequests: () => Promise<readonly {
|
|
10101
|
+
readonly avatar_url: string;
|
|
10102
|
+
readonly id: number;
|
|
10103
|
+
readonly name: string;
|
|
10104
|
+
}[]>;
|
|
10105
|
+
remove: (username: string) => Promise<{
|
|
10106
|
+
readonly status: "OK";
|
|
10107
|
+
}>;
|
|
10108
|
+
search: (username: string) => Promise<readonly {
|
|
10109
|
+
readonly avatar_url: string;
|
|
10110
|
+
readonly id: number;
|
|
10111
|
+
readonly name: string;
|
|
10112
|
+
readonly invited: boolean;
|
|
10113
|
+
}[]>;
|
|
10114
|
+
sendRequest: (username: string) => Promise<{
|
|
10115
|
+
readonly status: "OK";
|
|
10116
|
+
}>;
|
|
10117
|
+
sharedFolder: (username: string) => Promise<{
|
|
10118
|
+
readonly content_type: string | null;
|
|
10119
|
+
readonly created_at: string;
|
|
10120
|
+
readonly crc32: string | null;
|
|
10121
|
+
readonly extension: string | null;
|
|
10122
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
10123
|
+
readonly first_accessed_at: string | null;
|
|
10124
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
10125
|
+
readonly icon: string | null;
|
|
10126
|
+
readonly id: number;
|
|
10127
|
+
readonly is_hidden: boolean;
|
|
10128
|
+
readonly is_mp4_available: boolean;
|
|
10129
|
+
readonly is_shared: boolean;
|
|
10130
|
+
readonly name: string;
|
|
10131
|
+
readonly opensubtitles_hash: string | null;
|
|
10132
|
+
readonly parent_id: number | null;
|
|
10133
|
+
readonly screenshot: string | null;
|
|
10134
|
+
readonly sha1?: string | null | undefined;
|
|
10135
|
+
readonly size: number;
|
|
10136
|
+
readonly start_from?: number | undefined;
|
|
10137
|
+
readonly updated_at: string;
|
|
10138
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
10139
|
+
readonly media_info?: {
|
|
10140
|
+
readonly format?: {
|
|
10141
|
+
readonly bit_rate?: number | undefined;
|
|
10142
|
+
readonly duration?: number | undefined;
|
|
10143
|
+
readonly name?: string | undefined;
|
|
10144
|
+
} | null | undefined;
|
|
10145
|
+
readonly mime_type?: string | null | undefined;
|
|
10146
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
10147
|
+
readonly streams?: readonly {
|
|
10148
|
+
readonly channels?: number | undefined;
|
|
10149
|
+
readonly codec_name?: string | null | undefined;
|
|
10150
|
+
readonly codec_type?: string | undefined;
|
|
10151
|
+
readonly height?: number | undefined;
|
|
10152
|
+
readonly level?: number | undefined;
|
|
10153
|
+
readonly profile?: string | null | undefined;
|
|
10154
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
10155
|
+
readonly width?: number | undefined;
|
|
10156
|
+
}[] | undefined;
|
|
10157
|
+
} | null | undefined;
|
|
10158
|
+
readonly media_metadata?: {
|
|
10159
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10160
|
+
readonly codec?: string | null | undefined;
|
|
10161
|
+
readonly duration?: number | null | undefined;
|
|
10162
|
+
readonly height?: number | null | undefined;
|
|
10163
|
+
readonly width?: number | null | undefined;
|
|
10164
|
+
} | null | undefined;
|
|
10165
|
+
readonly mp4_size?: number | null | undefined;
|
|
10166
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
10167
|
+
readonly need_convert?: boolean | undefined;
|
|
10168
|
+
readonly sender_name?: string | undefined;
|
|
10169
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
10170
|
+
readonly stream_url?: string | null | undefined;
|
|
10171
|
+
readonly video_metadata?: {
|
|
10172
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10173
|
+
readonly codec?: string | null | undefined;
|
|
10174
|
+
readonly duration?: number | null | undefined;
|
|
10175
|
+
readonly height?: number | null | undefined;
|
|
10176
|
+
readonly width?: number | null | undefined;
|
|
10177
|
+
} | null | undefined;
|
|
10178
|
+
} | null>;
|
|
10179
|
+
};
|
|
10180
|
+
oauth: {
|
|
10181
|
+
buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
|
|
10182
|
+
buildIconUrl: typeof buildOAuthAppIconUrl;
|
|
10183
|
+
create: (input: {
|
|
10184
|
+
readonly callback: string;
|
|
10185
|
+
readonly description: string;
|
|
10186
|
+
readonly hidden?: boolean | undefined;
|
|
10187
|
+
readonly icon?: Blob | undefined;
|
|
10188
|
+
readonly name: string;
|
|
10189
|
+
readonly website: string;
|
|
10190
|
+
}) => Promise<{
|
|
10191
|
+
readonly app: {
|
|
10192
|
+
readonly description: string;
|
|
10193
|
+
readonly has_icon: boolean | null;
|
|
10194
|
+
readonly id: number;
|
|
10195
|
+
readonly name: string;
|
|
10196
|
+
readonly website: string;
|
|
10197
|
+
} | {
|
|
10198
|
+
readonly description: string;
|
|
10199
|
+
readonly has_icon: boolean | null;
|
|
10200
|
+
readonly id: number;
|
|
10201
|
+
readonly name: string;
|
|
10202
|
+
readonly website: string;
|
|
10203
|
+
readonly callback: string;
|
|
10204
|
+
readonly hidden: boolean;
|
|
10205
|
+
readonly secret: string;
|
|
10206
|
+
};
|
|
10207
|
+
readonly status: "OK";
|
|
10208
|
+
}>;
|
|
10209
|
+
delete: (id: number) => Promise<{
|
|
10210
|
+
readonly status: "OK";
|
|
10211
|
+
}>;
|
|
10212
|
+
get: (id: number, options?: {
|
|
10213
|
+
readonly edit?: boolean;
|
|
10214
|
+
} | undefined) => Promise<{
|
|
10215
|
+
readonly app: {
|
|
10216
|
+
readonly description: string;
|
|
10217
|
+
readonly has_icon: boolean | null;
|
|
10218
|
+
readonly id: number;
|
|
10219
|
+
readonly name: string;
|
|
10220
|
+
readonly website: string;
|
|
10221
|
+
} | {
|
|
10222
|
+
readonly description: string;
|
|
10223
|
+
readonly has_icon: boolean | null;
|
|
10224
|
+
readonly id: number;
|
|
10225
|
+
readonly name: string;
|
|
10226
|
+
readonly website: string;
|
|
10227
|
+
readonly callback: string;
|
|
10228
|
+
readonly hidden: boolean;
|
|
10229
|
+
readonly secret: string;
|
|
10230
|
+
};
|
|
10231
|
+
readonly status: "OK";
|
|
10232
|
+
readonly token: string | null;
|
|
10233
|
+
}>;
|
|
10234
|
+
getPopularApps: () => Promise<readonly {
|
|
10235
|
+
readonly description: string;
|
|
10236
|
+
readonly has_icon: boolean | null;
|
|
10237
|
+
readonly id: number;
|
|
10238
|
+
readonly name: string;
|
|
10239
|
+
readonly website: string;
|
|
10240
|
+
readonly hidden?: boolean | undefined;
|
|
10241
|
+
readonly maker: string;
|
|
10242
|
+
readonly users?: number | undefined;
|
|
10243
|
+
}[]>;
|
|
10244
|
+
query: () => Promise<readonly {
|
|
10245
|
+
readonly description: string;
|
|
10246
|
+
readonly has_icon: boolean | null;
|
|
10247
|
+
readonly id: number;
|
|
10248
|
+
readonly name: string;
|
|
10249
|
+
readonly website: string;
|
|
10250
|
+
readonly callback: string;
|
|
10251
|
+
readonly hidden: boolean;
|
|
10252
|
+
readonly secret: string;
|
|
10253
|
+
readonly users: number;
|
|
10254
|
+
}[]>;
|
|
10255
|
+
regenerateToken: (id: number) => Promise<string>;
|
|
10256
|
+
setIcon: (id: number, input: {
|
|
10257
|
+
readonly icon: Blob;
|
|
10258
|
+
}) => Promise<{
|
|
10259
|
+
readonly status: "OK";
|
|
10260
|
+
}>;
|
|
10261
|
+
update: (input: {
|
|
10262
|
+
readonly callback: string;
|
|
10263
|
+
readonly description: string;
|
|
10264
|
+
readonly hidden?: boolean | undefined;
|
|
10265
|
+
readonly icon?: Blob | undefined;
|
|
10266
|
+
readonly id: number;
|
|
10267
|
+
readonly website: string;
|
|
10268
|
+
}) => Promise<{
|
|
10269
|
+
readonly app: {
|
|
10270
|
+
readonly description: string;
|
|
10271
|
+
readonly has_icon: boolean | null;
|
|
10272
|
+
readonly id: number;
|
|
10273
|
+
readonly name: string;
|
|
10274
|
+
readonly website: string;
|
|
10275
|
+
} | {
|
|
10276
|
+
readonly description: string;
|
|
10277
|
+
readonly has_icon: boolean | null;
|
|
10278
|
+
readonly id: number;
|
|
10279
|
+
readonly name: string;
|
|
10280
|
+
readonly website: string;
|
|
10281
|
+
readonly callback: string;
|
|
10282
|
+
readonly hidden: boolean;
|
|
10283
|
+
readonly secret: string;
|
|
10284
|
+
};
|
|
10285
|
+
readonly status: "OK";
|
|
10286
|
+
readonly token: string | null;
|
|
10287
|
+
}>;
|
|
10288
|
+
};
|
|
10289
|
+
payment: {
|
|
10290
|
+
changePlan: {
|
|
10291
|
+
classifyResponse: (((response: {
|
|
10292
|
+
readonly status: "OK";
|
|
10293
|
+
} | {
|
|
10294
|
+
readonly status: "OK";
|
|
10295
|
+
readonly urls: readonly ({
|
|
10296
|
+
readonly provider: "Fastspring";
|
|
10297
|
+
readonly type: "credit-card";
|
|
10298
|
+
readonly url: string;
|
|
10299
|
+
} | {
|
|
10300
|
+
readonly discount_percent: number;
|
|
10301
|
+
readonly provider: "OpenNode";
|
|
10302
|
+
readonly type: "cryptocurrency";
|
|
10303
|
+
} | {
|
|
10304
|
+
readonly price_id: string | null;
|
|
10305
|
+
readonly provider: "PaddleBilling";
|
|
10306
|
+
readonly type: "credit-card";
|
|
10307
|
+
} | {
|
|
10308
|
+
readonly plan_id: number;
|
|
10309
|
+
readonly provider: "Paddle";
|
|
10310
|
+
readonly type: "credit-card";
|
|
10311
|
+
readonly vendor_id: number;
|
|
10312
|
+
})[];
|
|
10313
|
+
} | {
|
|
10314
|
+
readonly confirmation: true;
|
|
10315
|
+
readonly status: "OK";
|
|
10316
|
+
} | {
|
|
10317
|
+
readonly charged_amount: string;
|
|
10318
|
+
readonly charged_currency: string;
|
|
10319
|
+
readonly next_payment: {
|
|
10320
|
+
readonly amount: string;
|
|
10321
|
+
readonly billing_date: string;
|
|
10322
|
+
readonly currency: string;
|
|
10323
|
+
};
|
|
10324
|
+
readonly status: "OK";
|
|
10325
|
+
}) => {
|
|
10326
|
+
readonly data: Schema.Schema.Type<Schema.Struct<{
|
|
10327
|
+
readonly status: Schema.Literal<"OK">;
|
|
10328
|
+
readonly urls: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
10329
|
+
readonly provider: Schema.Literal<"Fastspring">;
|
|
10330
|
+
readonly type: Schema.Literal<"credit-card">;
|
|
10331
|
+
readonly url: Schema.String;
|
|
10332
|
+
}>, Schema.Struct<{
|
|
10333
|
+
readonly discount_percent: Schema.Number;
|
|
10334
|
+
readonly provider: Schema.Literal<"OpenNode">;
|
|
10335
|
+
readonly type: Schema.Literal<"cryptocurrency">;
|
|
10336
|
+
}>, Schema.Struct<{
|
|
10337
|
+
readonly price_id: Schema.NullOr<Schema.String>;
|
|
10338
|
+
readonly provider: Schema.Literal<"PaddleBilling">;
|
|
10339
|
+
readonly type: Schema.Literal<"credit-card">;
|
|
10340
|
+
}>, Schema.Struct<{
|
|
10341
|
+
readonly plan_id: Schema.Int;
|
|
10342
|
+
readonly provider: Schema.Literal<"Paddle">;
|
|
10343
|
+
readonly type: Schema.Literal<"credit-card">;
|
|
10344
|
+
readonly vendor_id: Schema.Int;
|
|
10345
|
+
}>]>>;
|
|
10346
|
+
}>>;
|
|
10347
|
+
readonly type: "checkout";
|
|
10348
|
+
}) & typeof classifyPaymentChangePlanResponse) | (((response: {
|
|
10349
|
+
readonly status: "OK";
|
|
10350
|
+
} | {
|
|
10351
|
+
readonly status: "OK";
|
|
10352
|
+
readonly urls: readonly ({
|
|
10353
|
+
readonly provider: "Fastspring";
|
|
10354
|
+
readonly type: "credit-card";
|
|
10355
|
+
readonly url: string;
|
|
10356
|
+
} | {
|
|
10357
|
+
readonly discount_percent: number;
|
|
10358
|
+
readonly provider: "OpenNode";
|
|
10359
|
+
readonly type: "cryptocurrency";
|
|
10360
|
+
} | {
|
|
10361
|
+
readonly price_id: string | null;
|
|
10362
|
+
readonly provider: "PaddleBilling";
|
|
10363
|
+
readonly type: "credit-card";
|
|
10364
|
+
} | {
|
|
10365
|
+
readonly plan_id: number;
|
|
10366
|
+
readonly provider: "Paddle";
|
|
10367
|
+
readonly type: "credit-card";
|
|
10368
|
+
readonly vendor_id: number;
|
|
10369
|
+
})[];
|
|
10370
|
+
} | {
|
|
10371
|
+
readonly confirmation: true;
|
|
10372
|
+
readonly status: "OK";
|
|
10373
|
+
} | {
|
|
10374
|
+
readonly charged_amount: string;
|
|
10375
|
+
readonly charged_currency: string;
|
|
10376
|
+
readonly next_payment: {
|
|
10377
|
+
readonly amount: string;
|
|
10378
|
+
readonly billing_date: string;
|
|
10379
|
+
readonly currency: string;
|
|
10380
|
+
};
|
|
10381
|
+
readonly status: "OK";
|
|
10382
|
+
}) => {
|
|
10383
|
+
readonly data: Schema.Schema.Type<Schema.Struct<{
|
|
10384
|
+
readonly confirmation: Schema.Literal<true>;
|
|
10385
|
+
readonly status: Schema.Literal<"OK">;
|
|
10386
|
+
}>>;
|
|
10387
|
+
readonly type: "confirmation_required";
|
|
10388
|
+
}) & typeof classifyPaymentChangePlanResponse) | (((response: {
|
|
10389
|
+
readonly status: "OK";
|
|
10390
|
+
} | {
|
|
10391
|
+
readonly status: "OK";
|
|
10392
|
+
readonly urls: readonly ({
|
|
10393
|
+
readonly provider: "Fastspring";
|
|
10394
|
+
readonly type: "credit-card";
|
|
10395
|
+
readonly url: string;
|
|
10396
|
+
} | {
|
|
10397
|
+
readonly discount_percent: number;
|
|
10398
|
+
readonly provider: "OpenNode";
|
|
10399
|
+
readonly type: "cryptocurrency";
|
|
10400
|
+
} | {
|
|
10401
|
+
readonly price_id: string | null;
|
|
10402
|
+
readonly provider: "PaddleBilling";
|
|
10403
|
+
readonly type: "credit-card";
|
|
10404
|
+
} | {
|
|
10405
|
+
readonly plan_id: number;
|
|
10406
|
+
readonly provider: "Paddle";
|
|
10407
|
+
readonly type: "credit-card";
|
|
10408
|
+
readonly vendor_id: number;
|
|
10409
|
+
})[];
|
|
10410
|
+
} | {
|
|
10411
|
+
readonly confirmation: true;
|
|
10412
|
+
readonly status: "OK";
|
|
10413
|
+
} | {
|
|
10414
|
+
readonly charged_amount: string;
|
|
10415
|
+
readonly charged_currency: string;
|
|
10416
|
+
readonly next_payment: {
|
|
10417
|
+
readonly amount: string;
|
|
10418
|
+
readonly billing_date: string;
|
|
10419
|
+
readonly currency: string;
|
|
10420
|
+
};
|
|
10421
|
+
readonly status: "OK";
|
|
10422
|
+
}) => {
|
|
10423
|
+
readonly data: Schema.Schema.Type<Schema.Struct<{
|
|
10424
|
+
readonly charged_amount: Schema.String;
|
|
10425
|
+
readonly charged_currency: Schema.String;
|
|
10426
|
+
readonly next_payment: Schema.Struct<{
|
|
10427
|
+
readonly amount: Schema.String;
|
|
10428
|
+
readonly billing_date: Schema.String;
|
|
10429
|
+
readonly currency: Schema.String;
|
|
10430
|
+
}>;
|
|
10431
|
+
readonly status: Schema.Literal<"OK">;
|
|
10432
|
+
}>>;
|
|
10433
|
+
readonly type: "subscription_updated";
|
|
10434
|
+
}) & typeof classifyPaymentChangePlanResponse) | (((response: {
|
|
10435
|
+
readonly status: "OK";
|
|
10436
|
+
} | {
|
|
10437
|
+
readonly status: "OK";
|
|
10438
|
+
readonly urls: readonly ({
|
|
10439
|
+
readonly provider: "Fastspring";
|
|
10440
|
+
readonly type: "credit-card";
|
|
10441
|
+
readonly url: string;
|
|
10442
|
+
} | {
|
|
10443
|
+
readonly discount_percent: number;
|
|
10444
|
+
readonly provider: "OpenNode";
|
|
10445
|
+
readonly type: "cryptocurrency";
|
|
10446
|
+
} | {
|
|
10447
|
+
readonly price_id: string | null;
|
|
10448
|
+
readonly provider: "PaddleBilling";
|
|
10449
|
+
readonly type: "credit-card";
|
|
10450
|
+
} | {
|
|
10451
|
+
readonly plan_id: number;
|
|
10452
|
+
readonly provider: "Paddle";
|
|
10453
|
+
readonly type: "credit-card";
|
|
10454
|
+
readonly vendor_id: number;
|
|
10455
|
+
})[];
|
|
10456
|
+
} | {
|
|
10457
|
+
readonly confirmation: true;
|
|
10458
|
+
readonly status: "OK";
|
|
10459
|
+
} | {
|
|
10460
|
+
readonly charged_amount: string;
|
|
10461
|
+
readonly charged_currency: string;
|
|
10462
|
+
readonly next_payment: {
|
|
10463
|
+
readonly amount: string;
|
|
10464
|
+
readonly billing_date: string;
|
|
10465
|
+
readonly currency: string;
|
|
10466
|
+
};
|
|
10467
|
+
readonly status: "OK";
|
|
10468
|
+
}) => {
|
|
10469
|
+
readonly data: Schema.Schema.Type<Schema.Struct<{
|
|
10470
|
+
readonly status: Schema.Literal<"OK">;
|
|
10471
|
+
}>>;
|
|
10472
|
+
readonly type: "success";
|
|
10473
|
+
}) & typeof classifyPaymentChangePlanResponse);
|
|
10474
|
+
preview: (input: {
|
|
10475
|
+
readonly coupon_code?: string | undefined;
|
|
10476
|
+
readonly payment_type?: "credit-card" | "cryptocurrency" | undefined;
|
|
10477
|
+
readonly plan_path: string;
|
|
10478
|
+
}) => Promise<{
|
|
10479
|
+
readonly Fastspring: {
|
|
10480
|
+
readonly charge_amount: string | null;
|
|
10481
|
+
readonly currency: string;
|
|
10482
|
+
readonly prorated_amount: string | null;
|
|
10483
|
+
readonly refund_amount: string | null;
|
|
10484
|
+
};
|
|
10485
|
+
readonly Paddle: {
|
|
10486
|
+
readonly charge_amount: string | null;
|
|
10487
|
+
readonly currency: string;
|
|
10488
|
+
readonly next_billing_date: string | null;
|
|
10489
|
+
};
|
|
10490
|
+
readonly PaddleBilling: {
|
|
10491
|
+
readonly next_billing_date: string | null;
|
|
10492
|
+
};
|
|
10493
|
+
readonly amount: string | null;
|
|
10494
|
+
readonly charge_amount: boolean;
|
|
10495
|
+
readonly credit: string | null;
|
|
10496
|
+
readonly currency: string;
|
|
10497
|
+
readonly current_plan: {
|
|
10498
|
+
readonly plan_type: "onetime" | "subscription" | null;
|
|
10499
|
+
readonly subscription_payment_provider: "Fastspring" | "OpenNode" | "Paddle" | "PaddleBilling" | null;
|
|
10500
|
+
};
|
|
10501
|
+
readonly discount?: {
|
|
10502
|
+
readonly discount: number;
|
|
10503
|
+
readonly type: "amount" | "percentage";
|
|
10504
|
+
} | undefined;
|
|
10505
|
+
readonly is_product_change: boolean | null;
|
|
10506
|
+
readonly new_remaining_days: number | null;
|
|
10507
|
+
readonly prorated: string | null;
|
|
10508
|
+
readonly status: "OK";
|
|
10509
|
+
readonly target_plan: {
|
|
10510
|
+
readonly hd_avail: number;
|
|
10511
|
+
readonly is_trial_subscription: boolean;
|
|
10512
|
+
readonly new_code: string;
|
|
10513
|
+
readonly period_days: number | null;
|
|
10514
|
+
readonly plan_code: string;
|
|
10515
|
+
readonly plan_name: string;
|
|
10516
|
+
readonly plan_type: "onetime" | "subscription";
|
|
10517
|
+
readonly price: string;
|
|
10518
|
+
readonly simulated_expiration: string | null;
|
|
10519
|
+
readonly subscription_trial_period: number | null;
|
|
10520
|
+
};
|
|
10521
|
+
}>;
|
|
10522
|
+
submit: (input: {
|
|
10523
|
+
readonly confirmation_code?: string | undefined;
|
|
10524
|
+
readonly coupon_code?: string | undefined;
|
|
10525
|
+
readonly payment_type?: "credit-card" | "cryptocurrency" | undefined;
|
|
10526
|
+
readonly plan_path: string;
|
|
10527
|
+
}) => Promise<{
|
|
10528
|
+
readonly status: "OK";
|
|
10529
|
+
} | {
|
|
10530
|
+
readonly status: "OK";
|
|
10531
|
+
readonly urls: readonly ({
|
|
10532
|
+
readonly provider: "Fastspring";
|
|
10533
|
+
readonly type: "credit-card";
|
|
10534
|
+
readonly url: string;
|
|
10535
|
+
} | {
|
|
10536
|
+
readonly discount_percent: number;
|
|
10537
|
+
readonly provider: "OpenNode";
|
|
10538
|
+
readonly type: "cryptocurrency";
|
|
10539
|
+
} | {
|
|
10540
|
+
readonly price_id: string | null;
|
|
10541
|
+
readonly provider: "PaddleBilling";
|
|
10542
|
+
readonly type: "credit-card";
|
|
10543
|
+
} | {
|
|
10544
|
+
readonly plan_id: number;
|
|
10545
|
+
readonly provider: "Paddle";
|
|
10546
|
+
readonly type: "credit-card";
|
|
10547
|
+
readonly vendor_id: number;
|
|
10548
|
+
})[];
|
|
10549
|
+
} | {
|
|
10550
|
+
readonly confirmation: true;
|
|
10551
|
+
readonly status: "OK";
|
|
10552
|
+
} | {
|
|
10553
|
+
readonly charged_amount: string;
|
|
10554
|
+
readonly charged_currency: string;
|
|
10555
|
+
readonly next_payment: {
|
|
10556
|
+
readonly amount: string;
|
|
10557
|
+
readonly billing_date: string;
|
|
10558
|
+
readonly currency: string;
|
|
10559
|
+
};
|
|
10560
|
+
readonly status: "OK";
|
|
10561
|
+
}>;
|
|
10562
|
+
};
|
|
10563
|
+
confirmFastspringOrder: (reference: string) => Promise<boolean>;
|
|
10564
|
+
getInfo: () => Promise<{
|
|
10565
|
+
readonly expiration_date?: string | undefined;
|
|
10566
|
+
readonly extend_30: string | null;
|
|
10567
|
+
readonly extend_365: string | null;
|
|
10568
|
+
readonly has_pending_payment: boolean;
|
|
10569
|
+
readonly last_payment?: {
|
|
10570
|
+
readonly method?: string | undefined;
|
|
10571
|
+
readonly provider?: string | undefined;
|
|
10572
|
+
} | undefined;
|
|
10573
|
+
readonly pending_bitpay: string | null;
|
|
10574
|
+
readonly plan?: {
|
|
10575
|
+
readonly code?: string | undefined;
|
|
10576
|
+
readonly group_code?: string | undefined;
|
|
10577
|
+
readonly period_days?: number | null | undefined;
|
|
10578
|
+
readonly storage_space?: number | undefined;
|
|
10579
|
+
readonly subscription?: {
|
|
10580
|
+
readonly id?: number | undefined;
|
|
10581
|
+
readonly need_payment_information_update?: boolean | undefined;
|
|
10582
|
+
readonly next_billing_date?: string | null | undefined;
|
|
10583
|
+
readonly next_retry_date?: string | null | undefined;
|
|
10584
|
+
readonly status?: "ACTIVE" | "CANCELED" | "PAST_DUE" | "TRIALING" | null | undefined;
|
|
10585
|
+
readonly update_url?: string | null | undefined;
|
|
10586
|
+
} | undefined;
|
|
10587
|
+
readonly type?: "onetime" | "subscription" | null | undefined;
|
|
10588
|
+
} | undefined;
|
|
10589
|
+
readonly status: "OK";
|
|
10590
|
+
}>;
|
|
10591
|
+
listHistory: (query?: {
|
|
10592
|
+
readonly unreported_only?: boolean | undefined;
|
|
10593
|
+
} | undefined) => Promise<readonly {
|
|
10594
|
+
readonly amount: string;
|
|
10595
|
+
readonly amount_actual?: string | undefined;
|
|
10596
|
+
readonly amount_currency: string;
|
|
10597
|
+
readonly actual_currency_code?: string | undefined;
|
|
10598
|
+
readonly coupon_code: string | null;
|
|
10599
|
+
readonly date: string;
|
|
10600
|
+
readonly id: number;
|
|
10601
|
+
readonly invoice: string | null;
|
|
10602
|
+
readonly plan: {
|
|
10603
|
+
readonly name: string;
|
|
10604
|
+
readonly period_days: number | null;
|
|
10605
|
+
readonly price: string | null;
|
|
10606
|
+
readonly type: "onetime" | "subscription" | null;
|
|
10607
|
+
};
|
|
10608
|
+
readonly refunded: boolean;
|
|
10609
|
+
readonly refunds: readonly {
|
|
10610
|
+
readonly amount_actual: string;
|
|
10611
|
+
}[];
|
|
10612
|
+
readonly return_status: string;
|
|
10613
|
+
readonly type: string;
|
|
10614
|
+
}[]>;
|
|
10615
|
+
listInvites: () => Promise<readonly {
|
|
10616
|
+
readonly is_converted: boolean;
|
|
10617
|
+
readonly url: string;
|
|
10618
|
+
readonly used_by: string | null;
|
|
10619
|
+
}[]>;
|
|
10620
|
+
listOptions: () => Promise<readonly {
|
|
10621
|
+
readonly discount_percent: number;
|
|
10622
|
+
readonly name: "credit-card" | "cryptocurrency";
|
|
10623
|
+
readonly suitable_plan_types: readonly ("onetime" | "subscription" | "trial")[];
|
|
10624
|
+
}[]>;
|
|
10625
|
+
listPlans: () => Promise<readonly {
|
|
10626
|
+
readonly common_properties: {
|
|
10627
|
+
readonly family_invites: number;
|
|
10628
|
+
readonly seed_ratio: number;
|
|
10629
|
+
readonly seed_time: number;
|
|
10630
|
+
readonly storage_space: number;
|
|
10631
|
+
readonly torrent_slot: number;
|
|
10632
|
+
};
|
|
10633
|
+
readonly plan_group_code: string;
|
|
10634
|
+
readonly sub_plans: readonly {
|
|
10635
|
+
readonly code: string;
|
|
10636
|
+
readonly daily_price: string | null;
|
|
10637
|
+
readonly fastspring_url: string | null;
|
|
10638
|
+
readonly is_trial_subscription: boolean;
|
|
10639
|
+
readonly period_days: number | null;
|
|
10640
|
+
readonly price: string | null;
|
|
10641
|
+
readonly subscription_trial_period: number | null;
|
|
10642
|
+
readonly type: "onetime" | "subscription";
|
|
10643
|
+
}[];
|
|
10644
|
+
}[]>;
|
|
10645
|
+
methods: {
|
|
10646
|
+
addPaddleWaitingPayment: (input: {
|
|
10647
|
+
readonly checkout_id: string;
|
|
10648
|
+
readonly product_id: string | number;
|
|
10649
|
+
}) => Promise<void>;
|
|
10650
|
+
createOpenNodeCharge: (planPath: string) => Promise<string>;
|
|
10651
|
+
createPaddleBillingUpdatePaymentMethodTransaction: (userSubscriptionId: number) => Promise<string>;
|
|
10652
|
+
getPaddleBillingInvoiceUrl: (paymentId: number) => Promise<string>;
|
|
10653
|
+
};
|
|
10654
|
+
report: (paymentIds: readonly number[]) => Promise<void>;
|
|
10655
|
+
stopSubscription: () => Promise<void>;
|
|
10656
|
+
voucher: {
|
|
10657
|
+
getInfo: (code: string) => Promise<{
|
|
10658
|
+
readonly current_plan: {
|
|
10659
|
+
readonly expiration_date: string | null;
|
|
10660
|
+
readonly type: "onetime" | "subscription" | null;
|
|
10661
|
+
};
|
|
10662
|
+
readonly new_remaining_days: number;
|
|
10663
|
+
readonly status: "OK";
|
|
10664
|
+
readonly target_plan: {
|
|
10665
|
+
readonly code: string;
|
|
10666
|
+
readonly group_code: string;
|
|
10667
|
+
readonly hd_avail: number;
|
|
10668
|
+
readonly name: string;
|
|
10669
|
+
readonly simulated_expiration?: string | null | undefined;
|
|
10670
|
+
readonly type: "onetime" | "subscription";
|
|
10671
|
+
};
|
|
10672
|
+
}>;
|
|
10673
|
+
redeem: (code: string) => Promise<void>;
|
|
10674
|
+
};
|
|
10675
|
+
};
|
|
10676
|
+
rateLimits: {
|
|
10677
|
+
removeBan: (input: {
|
|
10678
|
+
readonly captchaToken: string;
|
|
10679
|
+
readonly id: string;
|
|
10680
|
+
}) => Promise<{
|
|
10681
|
+
readonly status: "OK";
|
|
10682
|
+
}>;
|
|
10683
|
+
};
|
|
10684
|
+
rss: {
|
|
10685
|
+
clearLogs: (id: number) => Promise<{
|
|
10686
|
+
readonly status: "OK";
|
|
10687
|
+
}>;
|
|
10688
|
+
create: (params: {
|
|
10689
|
+
readonly delete_old_files?: boolean | undefined;
|
|
10690
|
+
readonly dont_process_whole_feed?: boolean | undefined;
|
|
10691
|
+
readonly keyword?: string | null | undefined;
|
|
10692
|
+
readonly parent_dir_id?: number | "newf" | undefined;
|
|
10693
|
+
readonly rss_source_url: string;
|
|
10694
|
+
readonly title: string;
|
|
10695
|
+
readonly unwanted_keywords?: string | undefined;
|
|
10696
|
+
}) => Promise<{
|
|
10697
|
+
readonly created_at: string;
|
|
10698
|
+
readonly delete_old_files: boolean;
|
|
10699
|
+
readonly extract: boolean;
|
|
10700
|
+
readonly failed_item_count?: number | undefined;
|
|
10701
|
+
readonly id: number;
|
|
10702
|
+
readonly keyword: string | null;
|
|
10703
|
+
readonly last_error: string | null;
|
|
10704
|
+
readonly last_fetch: string | null;
|
|
10705
|
+
readonly parent_dir_id: number;
|
|
10706
|
+
readonly parentdirid: number;
|
|
10707
|
+
readonly paused: boolean;
|
|
10708
|
+
readonly paused_at: string | null;
|
|
10709
|
+
readonly rss_source_url: string;
|
|
10710
|
+
readonly start_at: string | null;
|
|
10711
|
+
readonly title: string;
|
|
10712
|
+
readonly unwanted_keywords: string;
|
|
10713
|
+
readonly updated_at: string;
|
|
10714
|
+
}>;
|
|
10715
|
+
delete: (id: number) => Promise<{
|
|
10716
|
+
readonly status: "OK";
|
|
10717
|
+
}>;
|
|
10718
|
+
get: (id: number) => Promise<{
|
|
10719
|
+
readonly created_at: string;
|
|
10720
|
+
readonly delete_old_files: boolean;
|
|
10721
|
+
readonly extract: boolean;
|
|
10722
|
+
readonly failed_item_count?: number | undefined;
|
|
10723
|
+
readonly id: number;
|
|
10724
|
+
readonly keyword: string | null;
|
|
10725
|
+
readonly last_error: string | null;
|
|
10726
|
+
readonly last_fetch: string | null;
|
|
10727
|
+
readonly parent_dir_id: number;
|
|
10728
|
+
readonly parentdirid: number;
|
|
10729
|
+
readonly paused: boolean;
|
|
10730
|
+
readonly paused_at: string | null;
|
|
10731
|
+
readonly rss_source_url: string;
|
|
10732
|
+
readonly start_at: string | null;
|
|
10733
|
+
readonly title: string;
|
|
10734
|
+
readonly unwanted_keywords: string;
|
|
10735
|
+
readonly updated_at: string;
|
|
10736
|
+
}>;
|
|
10737
|
+
list: () => Promise<readonly {
|
|
10738
|
+
readonly created_at: string;
|
|
10739
|
+
readonly delete_old_files: boolean;
|
|
10740
|
+
readonly extract: boolean;
|
|
10741
|
+
readonly failed_item_count?: number | undefined;
|
|
10742
|
+
readonly id: number;
|
|
10743
|
+
readonly keyword: string | null;
|
|
10744
|
+
readonly last_error: string | null;
|
|
10745
|
+
readonly last_fetch: string | null;
|
|
10746
|
+
readonly parent_dir_id: number;
|
|
10747
|
+
readonly parentdirid: number;
|
|
10748
|
+
readonly paused: boolean;
|
|
10749
|
+
readonly paused_at: string | null;
|
|
10750
|
+
readonly rss_source_url: string;
|
|
10751
|
+
readonly start_at: string | null;
|
|
10752
|
+
readonly title: string;
|
|
10753
|
+
readonly unwanted_keywords: string;
|
|
10754
|
+
readonly updated_at: string;
|
|
10755
|
+
}[]>;
|
|
10756
|
+
listItems: (id: number) => Promise<{
|
|
10757
|
+
readonly feed: RssFeed;
|
|
10758
|
+
readonly items: ReadonlyArray<RssFeedItem>;
|
|
10759
|
+
}>;
|
|
10760
|
+
pause: (id: number) => Promise<{
|
|
10761
|
+
readonly status: "OK";
|
|
10762
|
+
}>;
|
|
10763
|
+
resume: (id: number) => Promise<{
|
|
10764
|
+
readonly status: "OK";
|
|
10765
|
+
}>;
|
|
10766
|
+
retryAll: (feedId: number) => Promise<{
|
|
10767
|
+
readonly status: "OK";
|
|
10768
|
+
}>;
|
|
10769
|
+
retryItem: (feedId: number, itemId: number) => Promise<{
|
|
10770
|
+
readonly status: "OK";
|
|
10771
|
+
}>;
|
|
10772
|
+
update: (id: number, params: {
|
|
10773
|
+
readonly delete_old_files?: boolean | undefined;
|
|
10774
|
+
readonly dont_process_whole_feed?: boolean | undefined;
|
|
10775
|
+
readonly keyword?: string | null | undefined;
|
|
10776
|
+
readonly parent_dir_id?: number | "newf" | undefined;
|
|
10777
|
+
readonly rss_source_url: string;
|
|
10778
|
+
readonly title: string;
|
|
10779
|
+
readonly unwanted_keywords?: string | undefined;
|
|
10780
|
+
}) => Promise<{
|
|
10781
|
+
readonly status: "OK";
|
|
10782
|
+
}>;
|
|
10783
|
+
};
|
|
10784
|
+
sharing: {
|
|
10785
|
+
clone: (input?: {
|
|
10786
|
+
readonly cursor?: string | undefined;
|
|
10787
|
+
readonly excludeIds?: readonly number[] | undefined;
|
|
10788
|
+
readonly ids?: readonly number[] | undefined;
|
|
10789
|
+
readonly parentId?: number | undefined;
|
|
10790
|
+
} | undefined) => Promise<{
|
|
10791
|
+
readonly id: number;
|
|
10792
|
+
}>;
|
|
10793
|
+
getCloneInfo: (id: number) => Promise<{
|
|
10794
|
+
readonly shared_file_clone_status: "DONE" | "NEW" | "PROCESSING";
|
|
10795
|
+
readonly status: "OK";
|
|
10796
|
+
} | {
|
|
10797
|
+
readonly error_msg: string;
|
|
10798
|
+
readonly shared_file_clone_status: "ERROR";
|
|
10799
|
+
readonly status: "OK";
|
|
10800
|
+
}>;
|
|
10801
|
+
getSharedWith: (fileId: number) => Promise<{
|
|
10802
|
+
readonly share_type: "everyone";
|
|
10803
|
+
readonly status?: "OK" | undefined;
|
|
10804
|
+
} | {
|
|
10805
|
+
readonly share_type: "friends";
|
|
10806
|
+
readonly shares: readonly {
|
|
10807
|
+
readonly share_id: number;
|
|
10808
|
+
readonly user_avatar_url: string;
|
|
10809
|
+
readonly user_name: string;
|
|
10810
|
+
}[];
|
|
10811
|
+
readonly status?: "OK" | undefined;
|
|
10812
|
+
}>;
|
|
10813
|
+
listSharedFiles: () => Promise<readonly {
|
|
10814
|
+
readonly content_type: string | null;
|
|
10815
|
+
readonly created_at: string;
|
|
10816
|
+
readonly crc32: string | null;
|
|
10817
|
+
readonly extension: string | null;
|
|
10818
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
10819
|
+
readonly first_accessed_at: string | null;
|
|
10820
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
10821
|
+
readonly icon: string | null;
|
|
10822
|
+
readonly id: number;
|
|
10823
|
+
readonly is_hidden: boolean;
|
|
10824
|
+
readonly is_mp4_available: boolean;
|
|
10825
|
+
readonly is_shared: boolean;
|
|
10826
|
+
readonly name: string;
|
|
10827
|
+
readonly opensubtitles_hash: string | null;
|
|
10828
|
+
readonly parent_id: number | null;
|
|
10829
|
+
readonly screenshot: string | null;
|
|
10830
|
+
readonly sha1?: string | null | undefined;
|
|
10831
|
+
readonly size: number;
|
|
10832
|
+
readonly start_from?: number | undefined;
|
|
10833
|
+
readonly updated_at: string;
|
|
10834
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
10835
|
+
readonly media_info?: {
|
|
10836
|
+
readonly format?: {
|
|
10837
|
+
readonly bit_rate?: number | undefined;
|
|
10838
|
+
readonly duration?: number | undefined;
|
|
10839
|
+
readonly name?: string | undefined;
|
|
10840
|
+
} | null | undefined;
|
|
10841
|
+
readonly mime_type?: string | null | undefined;
|
|
10842
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
10843
|
+
readonly streams?: readonly {
|
|
10844
|
+
readonly channels?: number | undefined;
|
|
10845
|
+
readonly codec_name?: string | null | undefined;
|
|
10846
|
+
readonly codec_type?: string | undefined;
|
|
10847
|
+
readonly height?: number | undefined;
|
|
10848
|
+
readonly level?: number | undefined;
|
|
10849
|
+
readonly profile?: string | null | undefined;
|
|
10850
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
10851
|
+
readonly width?: number | undefined;
|
|
10852
|
+
}[] | undefined;
|
|
10853
|
+
} | null | undefined;
|
|
10854
|
+
readonly media_metadata?: {
|
|
10855
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10856
|
+
readonly codec?: string | null | undefined;
|
|
10857
|
+
readonly duration?: number | null | undefined;
|
|
10858
|
+
readonly height?: number | null | undefined;
|
|
10859
|
+
readonly width?: number | null | undefined;
|
|
10860
|
+
} | null | undefined;
|
|
10861
|
+
readonly mp4_size?: number | null | undefined;
|
|
10862
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
10863
|
+
readonly need_convert?: boolean | undefined;
|
|
10864
|
+
readonly sender_name?: string | undefined;
|
|
10865
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
10866
|
+
readonly stream_url?: string | null | undefined;
|
|
10867
|
+
readonly video_metadata?: {
|
|
10868
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10869
|
+
readonly codec?: string | null | undefined;
|
|
10870
|
+
readonly duration?: number | null | undefined;
|
|
10871
|
+
readonly height?: number | null | undefined;
|
|
10872
|
+
readonly width?: number | null | undefined;
|
|
10873
|
+
} | null | undefined;
|
|
10874
|
+
readonly shared_with: number | "everyone";
|
|
10875
|
+
}[]>;
|
|
10876
|
+
publicAccess: {
|
|
10877
|
+
continueFiles: (cursor: string, query?: {
|
|
10878
|
+
readonly per_page?: number;
|
|
10879
|
+
} | undefined) => Promise<{
|
|
10880
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
10881
|
+
readonly cursor: string | null;
|
|
10882
|
+
readonly files: readonly {
|
|
10883
|
+
readonly content_type: string | null;
|
|
10884
|
+
readonly created_at: string;
|
|
10885
|
+
readonly crc32: string | null;
|
|
10886
|
+
readonly extension: string | null;
|
|
10887
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
10888
|
+
readonly first_accessed_at: string | null;
|
|
10889
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
10890
|
+
readonly icon: string | null;
|
|
10891
|
+
readonly id: number;
|
|
10892
|
+
readonly is_hidden: boolean;
|
|
10893
|
+
readonly is_mp4_available: boolean;
|
|
10894
|
+
readonly is_shared: boolean;
|
|
10895
|
+
readonly name: string;
|
|
10896
|
+
readonly opensubtitles_hash: string | null;
|
|
10897
|
+
readonly parent_id: number | null;
|
|
10898
|
+
readonly screenshot: string | null;
|
|
10899
|
+
readonly sha1?: string | null | undefined;
|
|
10900
|
+
readonly size: number;
|
|
10901
|
+
readonly start_from?: number | undefined;
|
|
10902
|
+
readonly updated_at: string;
|
|
10903
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
10904
|
+
readonly media_info?: {
|
|
10905
|
+
readonly format?: {
|
|
10906
|
+
readonly bit_rate?: number | undefined;
|
|
10907
|
+
readonly duration?: number | undefined;
|
|
10908
|
+
readonly name?: string | undefined;
|
|
10909
|
+
} | null | undefined;
|
|
10910
|
+
readonly mime_type?: string | null | undefined;
|
|
10911
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
10912
|
+
readonly streams?: readonly {
|
|
10913
|
+
readonly channels?: number | undefined;
|
|
10914
|
+
readonly codec_name?: string | null | undefined;
|
|
10915
|
+
readonly codec_type?: string | undefined;
|
|
10916
|
+
readonly height?: number | undefined;
|
|
10917
|
+
readonly level?: number | undefined;
|
|
10918
|
+
readonly profile?: string | null | undefined;
|
|
10919
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
10920
|
+
readonly width?: number | undefined;
|
|
10921
|
+
}[] | undefined;
|
|
10922
|
+
} | null | undefined;
|
|
10923
|
+
readonly media_metadata?: {
|
|
10924
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10925
|
+
readonly codec?: string | null | undefined;
|
|
10926
|
+
readonly duration?: number | null | undefined;
|
|
10927
|
+
readonly height?: number | null | undefined;
|
|
10928
|
+
readonly width?: number | null | undefined;
|
|
10929
|
+
} | null | undefined;
|
|
10930
|
+
readonly mp4_size?: number | null | undefined;
|
|
10931
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
10932
|
+
readonly need_convert?: boolean | undefined;
|
|
10933
|
+
readonly sender_name?: string | undefined;
|
|
10934
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
10935
|
+
readonly stream_url?: string | null | undefined;
|
|
10936
|
+
readonly video_metadata?: {
|
|
10937
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10938
|
+
readonly codec?: string | null | undefined;
|
|
10939
|
+
readonly duration?: number | null | undefined;
|
|
10940
|
+
readonly height?: number | null | undefined;
|
|
10941
|
+
readonly width?: number | null | undefined;
|
|
10942
|
+
} | null | undefined;
|
|
10943
|
+
}[];
|
|
10944
|
+
readonly status: "OK";
|
|
10945
|
+
readonly total?: number | undefined;
|
|
10946
|
+
readonly parent?: {
|
|
10947
|
+
readonly content_type: string | null;
|
|
10948
|
+
readonly created_at: string;
|
|
10949
|
+
readonly crc32: string | null;
|
|
10950
|
+
readonly extension: string | null;
|
|
10951
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
10952
|
+
readonly first_accessed_at: string | null;
|
|
10953
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
10954
|
+
readonly icon: string | null;
|
|
10955
|
+
readonly id: number;
|
|
10956
|
+
readonly is_hidden: boolean;
|
|
10957
|
+
readonly is_mp4_available: boolean;
|
|
10958
|
+
readonly is_shared: boolean;
|
|
10959
|
+
readonly name: string;
|
|
10960
|
+
readonly opensubtitles_hash: string | null;
|
|
10961
|
+
readonly parent_id: number | null;
|
|
10962
|
+
readonly screenshot: string | null;
|
|
10963
|
+
readonly sha1?: string | null | undefined;
|
|
10964
|
+
readonly size: number;
|
|
10965
|
+
readonly start_from?: number | undefined;
|
|
10966
|
+
readonly updated_at: string;
|
|
10967
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
10968
|
+
readonly media_info?: {
|
|
10969
|
+
readonly format?: {
|
|
10970
|
+
readonly bit_rate?: number | undefined;
|
|
10971
|
+
readonly duration?: number | undefined;
|
|
10972
|
+
readonly name?: string | undefined;
|
|
10973
|
+
} | null | undefined;
|
|
10974
|
+
readonly mime_type?: string | null | undefined;
|
|
10975
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
10976
|
+
readonly streams?: readonly {
|
|
10977
|
+
readonly channels?: number | undefined;
|
|
10978
|
+
readonly codec_name?: string | null | undefined;
|
|
10979
|
+
readonly codec_type?: string | undefined;
|
|
10980
|
+
readonly height?: number | undefined;
|
|
10981
|
+
readonly level?: number | undefined;
|
|
10982
|
+
readonly profile?: string | null | undefined;
|
|
10983
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
10984
|
+
readonly width?: number | undefined;
|
|
10985
|
+
}[] | undefined;
|
|
10986
|
+
} | null | undefined;
|
|
10987
|
+
readonly media_metadata?: {
|
|
10988
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
10989
|
+
readonly codec?: string | null | undefined;
|
|
10990
|
+
readonly duration?: number | null | undefined;
|
|
10991
|
+
readonly height?: number | null | undefined;
|
|
10992
|
+
readonly width?: number | null | undefined;
|
|
10993
|
+
} | null | undefined;
|
|
10994
|
+
readonly mp4_size?: number | null | undefined;
|
|
10995
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
10996
|
+
readonly need_convert?: boolean | undefined;
|
|
10997
|
+
readonly sender_name?: string | undefined;
|
|
10998
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
10999
|
+
readonly stream_url?: string | null | undefined;
|
|
11000
|
+
readonly video_metadata?: {
|
|
11001
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
11002
|
+
readonly codec?: string | null | undefined;
|
|
11003
|
+
readonly duration?: number | null | undefined;
|
|
11004
|
+
readonly height?: number | null | undefined;
|
|
11005
|
+
readonly width?: number | null | undefined;
|
|
11006
|
+
} | null | undefined;
|
|
11007
|
+
} | null | undefined;
|
|
11008
|
+
}>;
|
|
11009
|
+
get: () => Promise<{
|
|
11010
|
+
readonly created_at: string;
|
|
11011
|
+
readonly expiration_date: string;
|
|
11012
|
+
readonly id: number;
|
|
11013
|
+
readonly owner: {
|
|
11014
|
+
readonly name: string;
|
|
11015
|
+
};
|
|
11016
|
+
readonly push_token: string;
|
|
11017
|
+
readonly token: string;
|
|
11018
|
+
readonly user_file: {
|
|
11019
|
+
readonly file_type: string;
|
|
11020
|
+
readonly id: number;
|
|
11021
|
+
readonly name: string;
|
|
11022
|
+
};
|
|
11023
|
+
}>;
|
|
11024
|
+
getFileUrl: (fileId: number) => Promise<string>;
|
|
11025
|
+
listFiles: (query?: {
|
|
11026
|
+
readonly breadcrumbs?: 1 | undefined;
|
|
11027
|
+
readonly content_type?: string | undefined;
|
|
11028
|
+
readonly file_type?: string | undefined;
|
|
11029
|
+
readonly hidden?: 1 | undefined;
|
|
11030
|
+
readonly media_info_parent?: 1 | undefined;
|
|
11031
|
+
readonly mp4_status_parent?: 1 | undefined;
|
|
11032
|
+
readonly parent_id?: number | undefined;
|
|
11033
|
+
readonly per_page?: number | undefined;
|
|
11034
|
+
readonly sort?: string | undefined;
|
|
11035
|
+
readonly sort_by?: string | undefined;
|
|
11036
|
+
readonly stream_url_parent?: 1 | undefined;
|
|
11037
|
+
readonly total?: 1 | undefined;
|
|
11038
|
+
readonly video_metadata_parent?: 1 | undefined;
|
|
11039
|
+
} | undefined) => Promise<{
|
|
11040
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
11041
|
+
readonly cursor: string | null;
|
|
11042
|
+
readonly files: readonly {
|
|
11043
|
+
readonly content_type: string | null;
|
|
11044
|
+
readonly created_at: string;
|
|
11045
|
+
readonly crc32: string | null;
|
|
11046
|
+
readonly extension: string | null;
|
|
11047
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
11048
|
+
readonly first_accessed_at: string | null;
|
|
11049
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
11050
|
+
readonly icon: string | null;
|
|
11051
|
+
readonly id: number;
|
|
11052
|
+
readonly is_hidden: boolean;
|
|
11053
|
+
readonly is_mp4_available: boolean;
|
|
11054
|
+
readonly is_shared: boolean;
|
|
11055
|
+
readonly name: string;
|
|
11056
|
+
readonly opensubtitles_hash: string | null;
|
|
11057
|
+
readonly parent_id: number | null;
|
|
11058
|
+
readonly screenshot: string | null;
|
|
11059
|
+
readonly sha1?: string | null | undefined;
|
|
11060
|
+
readonly size: number;
|
|
11061
|
+
readonly start_from?: number | undefined;
|
|
11062
|
+
readonly updated_at: string;
|
|
11063
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
11064
|
+
readonly media_info?: {
|
|
11065
|
+
readonly format?: {
|
|
11066
|
+
readonly bit_rate?: number | undefined;
|
|
11067
|
+
readonly duration?: number | undefined;
|
|
11068
|
+
readonly name?: string | undefined;
|
|
11069
|
+
} | null | undefined;
|
|
11070
|
+
readonly mime_type?: string | null | undefined;
|
|
11071
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
11072
|
+
readonly streams?: readonly {
|
|
11073
|
+
readonly channels?: number | undefined;
|
|
11074
|
+
readonly codec_name?: string | null | undefined;
|
|
11075
|
+
readonly codec_type?: string | undefined;
|
|
11076
|
+
readonly height?: number | undefined;
|
|
11077
|
+
readonly level?: number | undefined;
|
|
11078
|
+
readonly profile?: string | null | undefined;
|
|
11079
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
11080
|
+
readonly width?: number | undefined;
|
|
11081
|
+
}[] | undefined;
|
|
11082
|
+
} | null | undefined;
|
|
11083
|
+
readonly media_metadata?: {
|
|
11084
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
11085
|
+
readonly codec?: string | null | undefined;
|
|
11086
|
+
readonly duration?: number | null | undefined;
|
|
11087
|
+
readonly height?: number | null | undefined;
|
|
11088
|
+
readonly width?: number | null | undefined;
|
|
11089
|
+
} | null | undefined;
|
|
11090
|
+
readonly mp4_size?: number | null | undefined;
|
|
11091
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
11092
|
+
readonly need_convert?: boolean | undefined;
|
|
11093
|
+
readonly sender_name?: string | undefined;
|
|
11094
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
11095
|
+
readonly stream_url?: string | null | undefined;
|
|
11096
|
+
readonly video_metadata?: {
|
|
11097
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
11098
|
+
readonly codec?: string | null | undefined;
|
|
11099
|
+
readonly duration?: number | null | undefined;
|
|
11100
|
+
readonly height?: number | null | undefined;
|
|
11101
|
+
readonly width?: number | null | undefined;
|
|
11102
|
+
} | null | undefined;
|
|
11103
|
+
}[];
|
|
11104
|
+
readonly parent: {
|
|
11105
|
+
readonly content_type: string | null;
|
|
11106
|
+
readonly created_at: string;
|
|
11107
|
+
readonly crc32: string | null;
|
|
11108
|
+
readonly extension: string | null;
|
|
11109
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
11110
|
+
readonly first_accessed_at: string | null;
|
|
11111
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
11112
|
+
readonly icon: string | null;
|
|
11113
|
+
readonly id: number;
|
|
11114
|
+
readonly is_hidden: boolean;
|
|
11115
|
+
readonly is_mp4_available: boolean;
|
|
11116
|
+
readonly is_shared: boolean;
|
|
11117
|
+
readonly name: string;
|
|
11118
|
+
readonly opensubtitles_hash: string | null;
|
|
11119
|
+
readonly parent_id: number | null;
|
|
11120
|
+
readonly screenshot: string | null;
|
|
11121
|
+
readonly sha1?: string | null | undefined;
|
|
11122
|
+
readonly size: number;
|
|
11123
|
+
readonly start_from?: number | undefined;
|
|
11124
|
+
readonly updated_at: string;
|
|
11125
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
11126
|
+
readonly media_info?: {
|
|
11127
|
+
readonly format?: {
|
|
11128
|
+
readonly bit_rate?: number | undefined;
|
|
11129
|
+
readonly duration?: number | undefined;
|
|
11130
|
+
readonly name?: string | undefined;
|
|
11131
|
+
} | null | undefined;
|
|
11132
|
+
readonly mime_type?: string | null | undefined;
|
|
11133
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
11134
|
+
readonly streams?: readonly {
|
|
11135
|
+
readonly channels?: number | undefined;
|
|
11136
|
+
readonly codec_name?: string | null | undefined;
|
|
11137
|
+
readonly codec_type?: string | undefined;
|
|
11138
|
+
readonly height?: number | undefined;
|
|
11139
|
+
readonly level?: number | undefined;
|
|
11140
|
+
readonly profile?: string | null | undefined;
|
|
11141
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
11142
|
+
readonly width?: number | undefined;
|
|
11143
|
+
}[] | undefined;
|
|
11144
|
+
} | null | undefined;
|
|
11145
|
+
readonly media_metadata?: {
|
|
11146
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
11147
|
+
readonly codec?: string | null | undefined;
|
|
11148
|
+
readonly duration?: number | null | undefined;
|
|
11149
|
+
readonly height?: number | null | undefined;
|
|
11150
|
+
readonly width?: number | null | undefined;
|
|
11151
|
+
} | null | undefined;
|
|
11152
|
+
readonly mp4_size?: number | null | undefined;
|
|
11153
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
11154
|
+
readonly need_convert?: boolean | undefined;
|
|
11155
|
+
readonly sender_name?: string | undefined;
|
|
11156
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
11157
|
+
readonly stream_url?: string | null | undefined;
|
|
11158
|
+
readonly video_metadata?: {
|
|
11159
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
11160
|
+
readonly codec?: string | null | undefined;
|
|
11161
|
+
readonly duration?: number | null | undefined;
|
|
11162
|
+
readonly height?: number | null | undefined;
|
|
11163
|
+
readonly width?: number | null | undefined;
|
|
11164
|
+
} | null | undefined;
|
|
11165
|
+
} | null;
|
|
11166
|
+
readonly status: "OK";
|
|
11167
|
+
readonly total?: number | undefined;
|
|
11168
|
+
}>;
|
|
11169
|
+
};
|
|
11170
|
+
publicShares: {
|
|
11171
|
+
create: (fileId: number) => Promise<{
|
|
11172
|
+
readonly created_at: string;
|
|
11173
|
+
readonly expiration_date: string;
|
|
11174
|
+
readonly id: number;
|
|
11175
|
+
readonly owner: {
|
|
11176
|
+
readonly name: string;
|
|
11177
|
+
};
|
|
11178
|
+
readonly push_token: string;
|
|
11179
|
+
readonly token: string;
|
|
11180
|
+
readonly user_file: {
|
|
11181
|
+
readonly file_type: string;
|
|
11182
|
+
readonly id: number;
|
|
11183
|
+
readonly name: string;
|
|
11184
|
+
};
|
|
11185
|
+
}>;
|
|
11186
|
+
delete: (id: number) => Promise<{
|
|
11187
|
+
readonly status: "OK";
|
|
11188
|
+
}>;
|
|
11189
|
+
list: () => Promise<readonly {
|
|
11190
|
+
readonly created_at: string;
|
|
11191
|
+
readonly expiration_date: string;
|
|
11192
|
+
readonly id: number;
|
|
11193
|
+
readonly owner: {
|
|
11194
|
+
readonly name: string;
|
|
11195
|
+
};
|
|
11196
|
+
readonly push_token: string;
|
|
11197
|
+
readonly token: string;
|
|
11198
|
+
readonly user_file: {
|
|
11199
|
+
readonly file_type: string;
|
|
11200
|
+
readonly id: number;
|
|
11201
|
+
readonly name: string;
|
|
11202
|
+
};
|
|
11203
|
+
}[]>;
|
|
11204
|
+
};
|
|
11205
|
+
shareFiles: (input: {
|
|
11206
|
+
readonly cursor?: string | undefined;
|
|
11207
|
+
readonly excludeIds?: readonly number[] | undefined;
|
|
11208
|
+
readonly ids?: readonly number[] | undefined;
|
|
11209
|
+
readonly target: {
|
|
11210
|
+
readonly type: "everyone";
|
|
11211
|
+
} | {
|
|
11212
|
+
readonly friendNames: readonly string[];
|
|
11213
|
+
readonly type: "friends";
|
|
11214
|
+
};
|
|
11215
|
+
}) => Promise<{
|
|
11216
|
+
readonly status: "OK";
|
|
11217
|
+
}>;
|
|
11218
|
+
unshare: (input: {
|
|
11219
|
+
readonly fileId: number;
|
|
11220
|
+
readonly shares?: readonly (string | number)[] | undefined;
|
|
11221
|
+
}) => Promise<{
|
|
11222
|
+
readonly status: "OK";
|
|
11223
|
+
}>;
|
|
11224
|
+
};
|
|
11225
|
+
tunnel: {
|
|
11226
|
+
listRoutes: () => Promise<readonly {
|
|
11227
|
+
readonly description: string;
|
|
11228
|
+
readonly hosts: readonly string[];
|
|
11229
|
+
readonly name: string;
|
|
11230
|
+
}[]>;
|
|
11231
|
+
};
|
|
11232
|
+
trash: {
|
|
11233
|
+
continue: (cursor: string, query?: {
|
|
11234
|
+
readonly per_page?: number | undefined;
|
|
11235
|
+
} | undefined) => Promise<{
|
|
11236
|
+
readonly cursor: string | null;
|
|
11237
|
+
readonly files: readonly {
|
|
11238
|
+
readonly content_type: string | null;
|
|
11239
|
+
readonly created_at: string;
|
|
11240
|
+
readonly deleted_at: string;
|
|
11241
|
+
readonly expiration_date: string;
|
|
11242
|
+
readonly extension: string | null;
|
|
11243
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
11244
|
+
readonly first_accessed_at: string | null;
|
|
11245
|
+
readonly folder_type: "REGULAR";
|
|
11246
|
+
readonly icon: string | null;
|
|
11247
|
+
readonly id: number;
|
|
11248
|
+
readonly name: string;
|
|
11249
|
+
readonly parent_id: number | null;
|
|
11250
|
+
readonly screenshot: unknown;
|
|
11251
|
+
readonly size: number;
|
|
11252
|
+
}[];
|
|
11253
|
+
readonly status: "OK";
|
|
11254
|
+
}>;
|
|
11255
|
+
delete: (input: {
|
|
11256
|
+
readonly cursor: string;
|
|
11257
|
+
readonly file_ids?: undefined;
|
|
11258
|
+
readonly useCursor: true;
|
|
11259
|
+
} | {
|
|
11260
|
+
readonly cursor?: undefined;
|
|
11261
|
+
readonly file_ids: readonly number[];
|
|
11262
|
+
readonly useCursor?: false | undefined;
|
|
11263
|
+
}) => Promise<void>;
|
|
11264
|
+
empty: () => Promise<void>;
|
|
11265
|
+
list: (query?: {
|
|
11266
|
+
readonly per_page?: number | undefined;
|
|
11267
|
+
} | undefined) => Promise<{
|
|
11268
|
+
readonly cursor: string | null;
|
|
11269
|
+
readonly files: readonly {
|
|
11270
|
+
readonly content_type: string | null;
|
|
11271
|
+
readonly created_at: string;
|
|
11272
|
+
readonly deleted_at: string;
|
|
11273
|
+
readonly expiration_date: string;
|
|
11274
|
+
readonly extension: string | null;
|
|
11275
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
11276
|
+
readonly first_accessed_at: string | null;
|
|
11277
|
+
readonly folder_type: "REGULAR";
|
|
11278
|
+
readonly icon: string | null;
|
|
11279
|
+
readonly id: number;
|
|
11280
|
+
readonly name: string;
|
|
11281
|
+
readonly parent_id: number | null;
|
|
11282
|
+
readonly screenshot: unknown;
|
|
11283
|
+
readonly size: number;
|
|
11284
|
+
}[];
|
|
11285
|
+
readonly status: "OK";
|
|
11286
|
+
readonly total: number;
|
|
11287
|
+
readonly trash_size: number;
|
|
11288
|
+
}>;
|
|
11289
|
+
restore: (input: {
|
|
11290
|
+
readonly cursor: string;
|
|
11291
|
+
readonly file_ids?: undefined;
|
|
11292
|
+
readonly useCursor: true;
|
|
11293
|
+
} | {
|
|
11294
|
+
readonly cursor?: undefined;
|
|
11295
|
+
readonly file_ids: readonly number[];
|
|
11296
|
+
readonly useCursor?: false | undefined;
|
|
11297
|
+
}) => Promise<void>;
|
|
11298
|
+
};
|
|
11299
|
+
transfers: {
|
|
11300
|
+
add: (input: {
|
|
11301
|
+
readonly callback_url?: string | undefined;
|
|
11302
|
+
readonly save_parent_id?: number | undefined;
|
|
11303
|
+
readonly url: string;
|
|
11304
|
+
}) => Promise<{
|
|
11305
|
+
readonly availability: number | null;
|
|
11306
|
+
readonly callback_url: string | null;
|
|
11307
|
+
readonly client_ip: string | null;
|
|
11308
|
+
readonly completion_percent: number | null;
|
|
11309
|
+
readonly created_at: string;
|
|
11310
|
+
readonly created_torrent: boolean;
|
|
11311
|
+
readonly current_ratio: number | null;
|
|
11312
|
+
readonly download_id: number | null;
|
|
11313
|
+
readonly down_speed: number | null;
|
|
11314
|
+
readonly downloaded: number | null;
|
|
11315
|
+
readonly estimated_time: number | null;
|
|
11316
|
+
readonly file_id: number | null;
|
|
11317
|
+
readonly finished_at: string | null;
|
|
11318
|
+
readonly hash: string | null;
|
|
11319
|
+
readonly id: number;
|
|
11320
|
+
readonly is_private: boolean;
|
|
11321
|
+
readonly links?: readonly {
|
|
11322
|
+
readonly label: string;
|
|
11323
|
+
readonly url: string | null;
|
|
11324
|
+
}[] | undefined;
|
|
11325
|
+
readonly name: string;
|
|
11326
|
+
readonly peers_connected: number | null;
|
|
11327
|
+
readonly peers_getting_from_us: number | null;
|
|
11328
|
+
readonly peers_sending_to_us: number | null;
|
|
11329
|
+
readonly percent_done: number | null;
|
|
11330
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11331
|
+
readonly save_parent_id: number;
|
|
11332
|
+
readonly seconds_seeding: number | null;
|
|
11333
|
+
readonly simulated: boolean;
|
|
11334
|
+
readonly size: number | null;
|
|
11335
|
+
readonly source: string;
|
|
11336
|
+
readonly started_at: string | null;
|
|
11337
|
+
readonly subscription_id: number | null;
|
|
11338
|
+
readonly torrent_link: string | null;
|
|
11339
|
+
readonly tracker: string | null;
|
|
11340
|
+
readonly tracker_message: string | null;
|
|
11341
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11342
|
+
readonly uploaded: number | null;
|
|
11343
|
+
readonly up_speed: number | null;
|
|
11344
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11345
|
+
readonly error_message: string;
|
|
11346
|
+
readonly status: "ERROR";
|
|
11347
|
+
} | {
|
|
11348
|
+
readonly availability: number | null;
|
|
11349
|
+
readonly callback_url: string | null;
|
|
11350
|
+
readonly client_ip: string | null;
|
|
11351
|
+
readonly completion_percent: number | null;
|
|
11352
|
+
readonly created_at: string;
|
|
11353
|
+
readonly created_torrent: boolean;
|
|
11354
|
+
readonly current_ratio: number | null;
|
|
11355
|
+
readonly download_id: number | null;
|
|
11356
|
+
readonly down_speed: number | null;
|
|
11357
|
+
readonly downloaded: number | null;
|
|
11358
|
+
readonly error_message: string | null;
|
|
11359
|
+
readonly estimated_time: number | null;
|
|
11360
|
+
readonly file_id: number | null;
|
|
11361
|
+
readonly finished_at: string | null;
|
|
11362
|
+
readonly hash: string | null;
|
|
11363
|
+
readonly id: number;
|
|
11364
|
+
readonly is_private: boolean;
|
|
11365
|
+
readonly links?: readonly {
|
|
11366
|
+
readonly label: string;
|
|
11367
|
+
readonly url: string | null;
|
|
11368
|
+
}[] | undefined;
|
|
11369
|
+
readonly name: string;
|
|
11370
|
+
readonly peers_connected: number | null;
|
|
11371
|
+
readonly peers_getting_from_us: number | null;
|
|
11372
|
+
readonly peers_sending_to_us: number | null;
|
|
11373
|
+
readonly percent_done: number | null;
|
|
11374
|
+
readonly save_parent_id: number;
|
|
11375
|
+
readonly seconds_seeding: number | null;
|
|
11376
|
+
readonly simulated: boolean;
|
|
11377
|
+
readonly size: number | null;
|
|
11378
|
+
readonly source: string;
|
|
11379
|
+
readonly started_at: string | null;
|
|
11380
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11381
|
+
readonly subscription_id: number | null;
|
|
11382
|
+
readonly torrent_link: string | null;
|
|
11383
|
+
readonly tracker: string | null;
|
|
11384
|
+
readonly tracker_message: string | null;
|
|
11385
|
+
readonly uploaded: number | null;
|
|
11386
|
+
readonly up_speed: number | null;
|
|
11387
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11388
|
+
readonly recorded_seconds: number;
|
|
11389
|
+
readonly type: "LIVE_STREAM";
|
|
11390
|
+
} | {
|
|
11391
|
+
readonly availability: number | null;
|
|
11392
|
+
readonly callback_url: string | null;
|
|
11393
|
+
readonly client_ip: string | null;
|
|
11394
|
+
readonly completion_percent: number | null;
|
|
11395
|
+
readonly created_at: string;
|
|
11396
|
+
readonly created_torrent: boolean;
|
|
11397
|
+
readonly download_id: number | null;
|
|
11398
|
+
readonly down_speed: number | null;
|
|
11399
|
+
readonly downloaded: number | null;
|
|
11400
|
+
readonly error_message: string | null;
|
|
11401
|
+
readonly estimated_time: number | null;
|
|
11402
|
+
readonly file_id: number | null;
|
|
11403
|
+
readonly finished_at: string | null;
|
|
11404
|
+
readonly hash: string | null;
|
|
11405
|
+
readonly id: number;
|
|
11406
|
+
readonly is_private: boolean;
|
|
11407
|
+
readonly links?: readonly {
|
|
11408
|
+
readonly label: string;
|
|
11409
|
+
readonly url: string | null;
|
|
11410
|
+
}[] | undefined;
|
|
11411
|
+
readonly name: string;
|
|
11412
|
+
readonly peers_connected: number | null;
|
|
11413
|
+
readonly peers_getting_from_us: number | null;
|
|
11414
|
+
readonly peers_sending_to_us: number | null;
|
|
11415
|
+
readonly percent_done: number | null;
|
|
11416
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11417
|
+
readonly save_parent_id: number;
|
|
11418
|
+
readonly simulated: boolean;
|
|
11419
|
+
readonly size: number | null;
|
|
11420
|
+
readonly source: string;
|
|
11421
|
+
readonly started_at: string | null;
|
|
11422
|
+
readonly subscription_id: number | null;
|
|
11423
|
+
readonly torrent_link: string | null;
|
|
11424
|
+
readonly tracker: string | null;
|
|
11425
|
+
readonly tracker_message: string | null;
|
|
11426
|
+
readonly uploaded: number | null;
|
|
11427
|
+
readonly up_speed: number | null;
|
|
11428
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11429
|
+
readonly current_ratio: number;
|
|
11430
|
+
readonly seconds_seeding: number;
|
|
11431
|
+
readonly status: "COMPLETED" | "PREPARING_SEED" | "SEEDING";
|
|
11432
|
+
readonly type: "TORRENT";
|
|
11433
|
+
} | {
|
|
11434
|
+
readonly availability: number | null;
|
|
11435
|
+
readonly callback_url: string | null;
|
|
11436
|
+
readonly client_ip: string | null;
|
|
11437
|
+
readonly completion_percent: number | null;
|
|
11438
|
+
readonly created_at: string;
|
|
11439
|
+
readonly created_torrent: boolean;
|
|
11440
|
+
readonly current_ratio: number | null;
|
|
11441
|
+
readonly download_id: number | null;
|
|
11442
|
+
readonly down_speed: number | null;
|
|
11443
|
+
readonly downloaded: number | null;
|
|
11444
|
+
readonly error_message: string | null;
|
|
11445
|
+
readonly estimated_time: number | null;
|
|
11446
|
+
readonly file_id: number | null;
|
|
11447
|
+
readonly finished_at: string | null;
|
|
11448
|
+
readonly hash: string | null;
|
|
11449
|
+
readonly id: number;
|
|
11450
|
+
readonly is_private: boolean;
|
|
11451
|
+
readonly links?: readonly {
|
|
11452
|
+
readonly label: string;
|
|
11453
|
+
readonly url: string | null;
|
|
11454
|
+
}[] | undefined;
|
|
11455
|
+
readonly name: string;
|
|
11456
|
+
readonly peers_connected: number | null;
|
|
11457
|
+
readonly peers_getting_from_us: number | null;
|
|
11458
|
+
readonly peers_sending_to_us: number | null;
|
|
11459
|
+
readonly percent_done: number | null;
|
|
11460
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11461
|
+
readonly save_parent_id: number;
|
|
11462
|
+
readonly seconds_seeding: number | null;
|
|
11463
|
+
readonly simulated: boolean;
|
|
11464
|
+
readonly size: number | null;
|
|
11465
|
+
readonly source: string;
|
|
11466
|
+
readonly started_at: string | null;
|
|
11467
|
+
readonly subscription_id: number | null;
|
|
11468
|
+
readonly torrent_link: string | null;
|
|
11469
|
+
readonly tracker: string | null;
|
|
11470
|
+
readonly tracker_message: string | null;
|
|
11471
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11472
|
+
readonly uploaded: number | null;
|
|
11473
|
+
readonly up_speed: number | null;
|
|
11474
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11475
|
+
readonly status: "COMPLETED";
|
|
11476
|
+
} | {
|
|
11477
|
+
readonly availability: number | null;
|
|
11478
|
+
readonly callback_url: string | null;
|
|
11479
|
+
readonly client_ip: string | null;
|
|
11480
|
+
readonly completion_percent: number | null;
|
|
11481
|
+
readonly created_at: string;
|
|
11482
|
+
readonly created_torrent: boolean;
|
|
11483
|
+
readonly current_ratio: number | null;
|
|
11484
|
+
readonly download_id: number | null;
|
|
11485
|
+
readonly down_speed: number | null;
|
|
11486
|
+
readonly downloaded: number | null;
|
|
11487
|
+
readonly error_message: string | null;
|
|
11488
|
+
readonly estimated_time: number | null;
|
|
11489
|
+
readonly file_id: number | null;
|
|
11490
|
+
readonly finished_at: string | null;
|
|
11491
|
+
readonly hash: string | null;
|
|
11492
|
+
readonly id: number;
|
|
11493
|
+
readonly is_private: boolean;
|
|
11494
|
+
readonly links?: readonly {
|
|
11495
|
+
readonly label: string;
|
|
11496
|
+
readonly url: string | null;
|
|
11497
|
+
}[] | undefined;
|
|
11498
|
+
readonly name: string;
|
|
11499
|
+
readonly peers_connected: number | null;
|
|
11500
|
+
readonly peers_getting_from_us: number | null;
|
|
11501
|
+
readonly peers_sending_to_us: number | null;
|
|
11502
|
+
readonly percent_done: number | null;
|
|
11503
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11504
|
+
readonly save_parent_id: number;
|
|
11505
|
+
readonly seconds_seeding: number | null;
|
|
11506
|
+
readonly simulated: boolean;
|
|
11507
|
+
readonly size: number | null;
|
|
11508
|
+
readonly source: string;
|
|
11509
|
+
readonly started_at: string | null;
|
|
11510
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11511
|
+
readonly subscription_id: number | null;
|
|
11512
|
+
readonly torrent_link: string | null;
|
|
11513
|
+
readonly tracker: string | null;
|
|
11514
|
+
readonly tracker_message: string | null;
|
|
11515
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11516
|
+
readonly uploaded: number | null;
|
|
11517
|
+
readonly up_speed: number | null;
|
|
11518
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11519
|
+
}>;
|
|
11520
|
+
addMany: (inputs: readonly {
|
|
11521
|
+
readonly callback_url?: string | undefined;
|
|
11522
|
+
readonly save_parent_id?: number | undefined;
|
|
11523
|
+
readonly url: string;
|
|
11524
|
+
}[]) => Promise<{
|
|
11525
|
+
readonly errors: ReadonlyArray<TransfersAddMultiError>;
|
|
11526
|
+
readonly transfers: ReadonlyArray<Transfer>;
|
|
11527
|
+
}>;
|
|
11528
|
+
addTrackers: (input: {
|
|
11529
|
+
readonly trackers: readonly string[];
|
|
11530
|
+
readonly transferId: number;
|
|
11531
|
+
}) => Promise<void>;
|
|
11532
|
+
cancel: (ids: readonly number[]) => Promise<{
|
|
11533
|
+
readonly status: "OK";
|
|
11534
|
+
}>;
|
|
11535
|
+
clean: (ids?: readonly number[] | undefined) => Promise<{
|
|
11536
|
+
readonly deleted_ids: ReadonlyArray<number>;
|
|
11537
|
+
}>;
|
|
11538
|
+
continue: (cursor: string, query?: {
|
|
11539
|
+
readonly per_page?: number | undefined;
|
|
11540
|
+
} | undefined) => Promise<{
|
|
11541
|
+
readonly cursor: string | null;
|
|
11542
|
+
readonly status: "OK";
|
|
11543
|
+
readonly transfers: readonly ({
|
|
11544
|
+
readonly availability: number | null;
|
|
11545
|
+
readonly callback_url: string | null;
|
|
11546
|
+
readonly client_ip: string | null;
|
|
11547
|
+
readonly completion_percent: number | null;
|
|
11548
|
+
readonly created_at: string;
|
|
11549
|
+
readonly created_torrent: boolean;
|
|
11550
|
+
readonly current_ratio: number | null;
|
|
11551
|
+
readonly download_id: number | null;
|
|
11552
|
+
readonly down_speed: number | null;
|
|
11553
|
+
readonly downloaded: number | null;
|
|
11554
|
+
readonly estimated_time: number | null;
|
|
11555
|
+
readonly file_id: number | null;
|
|
11556
|
+
readonly finished_at: string | null;
|
|
11557
|
+
readonly hash: string | null;
|
|
11558
|
+
readonly id: number;
|
|
11559
|
+
readonly is_private: boolean;
|
|
11560
|
+
readonly links?: readonly {
|
|
11561
|
+
readonly label: string;
|
|
11562
|
+
readonly url: string | null;
|
|
11563
|
+
}[] | undefined;
|
|
11564
|
+
readonly name: string;
|
|
11565
|
+
readonly peers_connected: number | null;
|
|
11566
|
+
readonly peers_getting_from_us: number | null;
|
|
11567
|
+
readonly peers_sending_to_us: number | null;
|
|
11568
|
+
readonly percent_done: number | null;
|
|
11569
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11570
|
+
readonly save_parent_id: number;
|
|
11571
|
+
readonly seconds_seeding: number | null;
|
|
11572
|
+
readonly simulated: boolean;
|
|
11573
|
+
readonly size: number | null;
|
|
11574
|
+
readonly source: string;
|
|
11575
|
+
readonly started_at: string | null;
|
|
11576
|
+
readonly subscription_id: number | null;
|
|
11577
|
+
readonly torrent_link: string | null;
|
|
11578
|
+
readonly tracker: string | null;
|
|
11579
|
+
readonly tracker_message: string | null;
|
|
11580
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11581
|
+
readonly uploaded: number | null;
|
|
11582
|
+
readonly up_speed: number | null;
|
|
11583
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11584
|
+
readonly error_message: string;
|
|
11585
|
+
readonly status: "ERROR";
|
|
11586
|
+
} | {
|
|
11587
|
+
readonly availability: number | null;
|
|
11588
|
+
readonly callback_url: string | null;
|
|
11589
|
+
readonly client_ip: string | null;
|
|
11590
|
+
readonly completion_percent: number | null;
|
|
11591
|
+
readonly created_at: string;
|
|
11592
|
+
readonly created_torrent: boolean;
|
|
11593
|
+
readonly current_ratio: number | null;
|
|
11594
|
+
readonly download_id: number | null;
|
|
11595
|
+
readonly down_speed: number | null;
|
|
11596
|
+
readonly downloaded: number | null;
|
|
11597
|
+
readonly error_message: string | null;
|
|
11598
|
+
readonly estimated_time: number | null;
|
|
11599
|
+
readonly file_id: number | null;
|
|
11600
|
+
readonly finished_at: string | null;
|
|
11601
|
+
readonly hash: string | null;
|
|
11602
|
+
readonly id: number;
|
|
11603
|
+
readonly is_private: boolean;
|
|
11604
|
+
readonly links?: readonly {
|
|
11605
|
+
readonly label: string;
|
|
11606
|
+
readonly url: string | null;
|
|
11607
|
+
}[] | undefined;
|
|
11608
|
+
readonly name: string;
|
|
11609
|
+
readonly peers_connected: number | null;
|
|
11610
|
+
readonly peers_getting_from_us: number | null;
|
|
11611
|
+
readonly peers_sending_to_us: number | null;
|
|
11612
|
+
readonly percent_done: number | null;
|
|
11613
|
+
readonly save_parent_id: number;
|
|
11614
|
+
readonly seconds_seeding: number | null;
|
|
11615
|
+
readonly simulated: boolean;
|
|
11616
|
+
readonly size: number | null;
|
|
11617
|
+
readonly source: string;
|
|
11618
|
+
readonly started_at: string | null;
|
|
11619
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11620
|
+
readonly subscription_id: number | null;
|
|
11621
|
+
readonly torrent_link: string | null;
|
|
11622
|
+
readonly tracker: string | null;
|
|
11623
|
+
readonly tracker_message: string | null;
|
|
11624
|
+
readonly uploaded: number | null;
|
|
11625
|
+
readonly up_speed: number | null;
|
|
11626
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11627
|
+
readonly recorded_seconds: number;
|
|
11628
|
+
readonly type: "LIVE_STREAM";
|
|
11629
|
+
} | {
|
|
11630
|
+
readonly availability: number | null;
|
|
11631
|
+
readonly callback_url: string | null;
|
|
11632
|
+
readonly client_ip: string | null;
|
|
11633
|
+
readonly completion_percent: number | null;
|
|
11634
|
+
readonly created_at: string;
|
|
11635
|
+
readonly created_torrent: boolean;
|
|
11636
|
+
readonly download_id: number | null;
|
|
11637
|
+
readonly down_speed: number | null;
|
|
11638
|
+
readonly downloaded: number | null;
|
|
11639
|
+
readonly error_message: string | null;
|
|
11640
|
+
readonly estimated_time: number | null;
|
|
11641
|
+
readonly file_id: number | null;
|
|
11642
|
+
readonly finished_at: string | null;
|
|
11643
|
+
readonly hash: string | null;
|
|
11644
|
+
readonly id: number;
|
|
11645
|
+
readonly is_private: boolean;
|
|
11646
|
+
readonly links?: readonly {
|
|
11647
|
+
readonly label: string;
|
|
11648
|
+
readonly url: string | null;
|
|
11649
|
+
}[] | undefined;
|
|
11650
|
+
readonly name: string;
|
|
11651
|
+
readonly peers_connected: number | null;
|
|
11652
|
+
readonly peers_getting_from_us: number | null;
|
|
11653
|
+
readonly peers_sending_to_us: number | null;
|
|
11654
|
+
readonly percent_done: number | null;
|
|
11655
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11656
|
+
readonly save_parent_id: number;
|
|
11657
|
+
readonly simulated: boolean;
|
|
11658
|
+
readonly size: number | null;
|
|
11659
|
+
readonly source: string;
|
|
11660
|
+
readonly started_at: string | null;
|
|
11661
|
+
readonly subscription_id: number | null;
|
|
11662
|
+
readonly torrent_link: string | null;
|
|
11663
|
+
readonly tracker: string | null;
|
|
11664
|
+
readonly tracker_message: string | null;
|
|
11665
|
+
readonly uploaded: number | null;
|
|
11666
|
+
readonly up_speed: number | null;
|
|
11667
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11668
|
+
readonly current_ratio: number;
|
|
11669
|
+
readonly seconds_seeding: number;
|
|
11670
|
+
readonly status: "COMPLETED" | "PREPARING_SEED" | "SEEDING";
|
|
11671
|
+
readonly type: "TORRENT";
|
|
11672
|
+
} | {
|
|
11673
|
+
readonly availability: number | null;
|
|
11674
|
+
readonly callback_url: string | null;
|
|
11675
|
+
readonly client_ip: string | null;
|
|
11676
|
+
readonly completion_percent: number | null;
|
|
11677
|
+
readonly created_at: string;
|
|
11678
|
+
readonly created_torrent: boolean;
|
|
11679
|
+
readonly current_ratio: number | null;
|
|
11680
|
+
readonly download_id: number | null;
|
|
11681
|
+
readonly down_speed: number | null;
|
|
11682
|
+
readonly downloaded: number | null;
|
|
11683
|
+
readonly error_message: string | null;
|
|
11684
|
+
readonly estimated_time: number | null;
|
|
11685
|
+
readonly file_id: number | null;
|
|
11686
|
+
readonly finished_at: string | null;
|
|
11687
|
+
readonly hash: string | null;
|
|
11688
|
+
readonly id: number;
|
|
11689
|
+
readonly is_private: boolean;
|
|
11690
|
+
readonly links?: readonly {
|
|
11691
|
+
readonly label: string;
|
|
11692
|
+
readonly url: string | null;
|
|
11693
|
+
}[] | undefined;
|
|
11694
|
+
readonly name: string;
|
|
11695
|
+
readonly peers_connected: number | null;
|
|
11696
|
+
readonly peers_getting_from_us: number | null;
|
|
11697
|
+
readonly peers_sending_to_us: number | null;
|
|
11698
|
+
readonly percent_done: number | null;
|
|
11699
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11700
|
+
readonly save_parent_id: number;
|
|
11701
|
+
readonly seconds_seeding: number | null;
|
|
11702
|
+
readonly simulated: boolean;
|
|
11703
|
+
readonly size: number | null;
|
|
11704
|
+
readonly source: string;
|
|
11705
|
+
readonly started_at: string | null;
|
|
11706
|
+
readonly subscription_id: number | null;
|
|
11707
|
+
readonly torrent_link: string | null;
|
|
11708
|
+
readonly tracker: string | null;
|
|
11709
|
+
readonly tracker_message: string | null;
|
|
11710
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11711
|
+
readonly uploaded: number | null;
|
|
11712
|
+
readonly up_speed: number | null;
|
|
11713
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11714
|
+
readonly status: "COMPLETED";
|
|
11715
|
+
} | {
|
|
11716
|
+
readonly availability: number | null;
|
|
11717
|
+
readonly callback_url: string | null;
|
|
11718
|
+
readonly client_ip: string | null;
|
|
11719
|
+
readonly completion_percent: number | null;
|
|
11720
|
+
readonly created_at: string;
|
|
11721
|
+
readonly created_torrent: boolean;
|
|
11722
|
+
readonly current_ratio: number | null;
|
|
11723
|
+
readonly download_id: number | null;
|
|
11724
|
+
readonly down_speed: number | null;
|
|
11725
|
+
readonly downloaded: number | null;
|
|
11726
|
+
readonly error_message: string | null;
|
|
11727
|
+
readonly estimated_time: number | null;
|
|
11728
|
+
readonly file_id: number | null;
|
|
11729
|
+
readonly finished_at: string | null;
|
|
11730
|
+
readonly hash: string | null;
|
|
11731
|
+
readonly id: number;
|
|
11732
|
+
readonly is_private: boolean;
|
|
11733
|
+
readonly links?: readonly {
|
|
11734
|
+
readonly label: string;
|
|
11735
|
+
readonly url: string | null;
|
|
11736
|
+
}[] | undefined;
|
|
11737
|
+
readonly name: string;
|
|
11738
|
+
readonly peers_connected: number | null;
|
|
11739
|
+
readonly peers_getting_from_us: number | null;
|
|
11740
|
+
readonly peers_sending_to_us: number | null;
|
|
11741
|
+
readonly percent_done: number | null;
|
|
11742
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11743
|
+
readonly save_parent_id: number;
|
|
11744
|
+
readonly seconds_seeding: number | null;
|
|
11745
|
+
readonly simulated: boolean;
|
|
11746
|
+
readonly size: number | null;
|
|
11747
|
+
readonly source: string;
|
|
11748
|
+
readonly started_at: string | null;
|
|
11749
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11750
|
+
readonly subscription_id: number | null;
|
|
11751
|
+
readonly torrent_link: string | null;
|
|
11752
|
+
readonly tracker: string | null;
|
|
11753
|
+
readonly tracker_message: string | null;
|
|
11754
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11755
|
+
readonly uploaded: number | null;
|
|
11756
|
+
readonly up_speed: number | null;
|
|
11757
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11758
|
+
})[];
|
|
11759
|
+
}>;
|
|
11760
|
+
count: () => Promise<number>;
|
|
11761
|
+
get: (id: number) => Promise<{
|
|
11762
|
+
readonly availability: number | null;
|
|
11763
|
+
readonly callback_url: string | null;
|
|
11764
|
+
readonly client_ip: string | null;
|
|
11765
|
+
readonly completion_percent: number | null;
|
|
11766
|
+
readonly created_at: string;
|
|
11767
|
+
readonly created_torrent: boolean;
|
|
11768
|
+
readonly current_ratio: number | null;
|
|
11769
|
+
readonly download_id: number | null;
|
|
11770
|
+
readonly down_speed: number | null;
|
|
11771
|
+
readonly downloaded: number | null;
|
|
11772
|
+
readonly estimated_time: number | null;
|
|
11773
|
+
readonly file_id: number | null;
|
|
11774
|
+
readonly finished_at: string | null;
|
|
11775
|
+
readonly hash: string | null;
|
|
11776
|
+
readonly id: number;
|
|
11777
|
+
readonly is_private: boolean;
|
|
11778
|
+
readonly links?: readonly {
|
|
11779
|
+
readonly label: string;
|
|
11780
|
+
readonly url: string | null;
|
|
11781
|
+
}[] | undefined;
|
|
11782
|
+
readonly name: string;
|
|
11783
|
+
readonly peers_connected: number | null;
|
|
11784
|
+
readonly peers_getting_from_us: number | null;
|
|
11785
|
+
readonly peers_sending_to_us: number | null;
|
|
11786
|
+
readonly percent_done: number | null;
|
|
11787
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11788
|
+
readonly save_parent_id: number;
|
|
11789
|
+
readonly seconds_seeding: number | null;
|
|
11790
|
+
readonly simulated: boolean;
|
|
11791
|
+
readonly size: number | null;
|
|
11792
|
+
readonly source: string;
|
|
11793
|
+
readonly started_at: string | null;
|
|
11794
|
+
readonly subscription_id: number | null;
|
|
11795
|
+
readonly torrent_link: string | null;
|
|
11796
|
+
readonly tracker: string | null;
|
|
11797
|
+
readonly tracker_message: string | null;
|
|
11798
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11799
|
+
readonly uploaded: number | null;
|
|
11800
|
+
readonly up_speed: number | null;
|
|
11801
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11802
|
+
readonly error_message: string;
|
|
11803
|
+
readonly status: "ERROR";
|
|
11804
|
+
} | {
|
|
11805
|
+
readonly availability: number | null;
|
|
11806
|
+
readonly callback_url: string | null;
|
|
11807
|
+
readonly client_ip: string | null;
|
|
11808
|
+
readonly completion_percent: number | null;
|
|
11809
|
+
readonly created_at: string;
|
|
11810
|
+
readonly created_torrent: boolean;
|
|
11811
|
+
readonly current_ratio: number | null;
|
|
11812
|
+
readonly download_id: number | null;
|
|
11813
|
+
readonly down_speed: number | null;
|
|
11814
|
+
readonly downloaded: number | null;
|
|
11815
|
+
readonly error_message: string | null;
|
|
11816
|
+
readonly estimated_time: number | null;
|
|
11817
|
+
readonly file_id: number | null;
|
|
11818
|
+
readonly finished_at: string | null;
|
|
11819
|
+
readonly hash: string | null;
|
|
11820
|
+
readonly id: number;
|
|
11821
|
+
readonly is_private: boolean;
|
|
11822
|
+
readonly links?: readonly {
|
|
11823
|
+
readonly label: string;
|
|
11824
|
+
readonly url: string | null;
|
|
11825
|
+
}[] | undefined;
|
|
11826
|
+
readonly name: string;
|
|
11827
|
+
readonly peers_connected: number | null;
|
|
11828
|
+
readonly peers_getting_from_us: number | null;
|
|
11829
|
+
readonly peers_sending_to_us: number | null;
|
|
11830
|
+
readonly percent_done: number | null;
|
|
11831
|
+
readonly save_parent_id: number;
|
|
11832
|
+
readonly seconds_seeding: number | null;
|
|
11833
|
+
readonly simulated: boolean;
|
|
11834
|
+
readonly size: number | null;
|
|
11835
|
+
readonly source: string;
|
|
11836
|
+
readonly started_at: string | null;
|
|
11837
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11838
|
+
readonly subscription_id: number | null;
|
|
11839
|
+
readonly torrent_link: string | null;
|
|
11840
|
+
readonly tracker: string | null;
|
|
11841
|
+
readonly tracker_message: string | null;
|
|
11842
|
+
readonly uploaded: number | null;
|
|
11843
|
+
readonly up_speed: number | null;
|
|
11844
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11845
|
+
readonly recorded_seconds: number;
|
|
11846
|
+
readonly type: "LIVE_STREAM";
|
|
11847
|
+
} | {
|
|
11848
|
+
readonly availability: number | null;
|
|
11849
|
+
readonly callback_url: string | null;
|
|
11850
|
+
readonly client_ip: string | null;
|
|
11851
|
+
readonly completion_percent: number | null;
|
|
11852
|
+
readonly created_at: string;
|
|
11853
|
+
readonly created_torrent: boolean;
|
|
11854
|
+
readonly download_id: number | null;
|
|
11855
|
+
readonly down_speed: number | null;
|
|
11856
|
+
readonly downloaded: number | null;
|
|
11857
|
+
readonly error_message: string | null;
|
|
11858
|
+
readonly estimated_time: number | null;
|
|
11859
|
+
readonly file_id: number | null;
|
|
11860
|
+
readonly finished_at: string | null;
|
|
11861
|
+
readonly hash: string | null;
|
|
11862
|
+
readonly id: number;
|
|
11863
|
+
readonly is_private: boolean;
|
|
11864
|
+
readonly links?: readonly {
|
|
11865
|
+
readonly label: string;
|
|
11866
|
+
readonly url: string | null;
|
|
11867
|
+
}[] | undefined;
|
|
11868
|
+
readonly name: string;
|
|
11869
|
+
readonly peers_connected: number | null;
|
|
11870
|
+
readonly peers_getting_from_us: number | null;
|
|
11871
|
+
readonly peers_sending_to_us: number | null;
|
|
11872
|
+
readonly percent_done: number | null;
|
|
11873
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11874
|
+
readonly save_parent_id: number;
|
|
11875
|
+
readonly simulated: boolean;
|
|
11876
|
+
readonly size: number | null;
|
|
11877
|
+
readonly source: string;
|
|
11878
|
+
readonly started_at: string | null;
|
|
11879
|
+
readonly subscription_id: number | null;
|
|
11880
|
+
readonly torrent_link: string | null;
|
|
11881
|
+
readonly tracker: string | null;
|
|
11882
|
+
readonly tracker_message: string | null;
|
|
11883
|
+
readonly uploaded: number | null;
|
|
11884
|
+
readonly up_speed: number | null;
|
|
11885
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11886
|
+
readonly current_ratio: number;
|
|
11887
|
+
readonly seconds_seeding: number;
|
|
11888
|
+
readonly status: "COMPLETED" | "PREPARING_SEED" | "SEEDING";
|
|
11889
|
+
readonly type: "TORRENT";
|
|
11890
|
+
} | {
|
|
11891
|
+
readonly availability: number | null;
|
|
11892
|
+
readonly callback_url: string | null;
|
|
11893
|
+
readonly client_ip: string | null;
|
|
11894
|
+
readonly completion_percent: number | null;
|
|
11895
|
+
readonly created_at: string;
|
|
11896
|
+
readonly created_torrent: boolean;
|
|
11897
|
+
readonly current_ratio: number | null;
|
|
11898
|
+
readonly download_id: number | null;
|
|
11899
|
+
readonly down_speed: number | null;
|
|
11900
|
+
readonly downloaded: number | null;
|
|
11901
|
+
readonly error_message: string | null;
|
|
11902
|
+
readonly estimated_time: number | null;
|
|
11903
|
+
readonly file_id: number | null;
|
|
11904
|
+
readonly finished_at: string | null;
|
|
11905
|
+
readonly hash: string | null;
|
|
11906
|
+
readonly id: number;
|
|
11907
|
+
readonly is_private: boolean;
|
|
11908
|
+
readonly links?: readonly {
|
|
11909
|
+
readonly label: string;
|
|
11910
|
+
readonly url: string | null;
|
|
11911
|
+
}[] | undefined;
|
|
11912
|
+
readonly name: string;
|
|
11913
|
+
readonly peers_connected: number | null;
|
|
11914
|
+
readonly peers_getting_from_us: number | null;
|
|
11915
|
+
readonly peers_sending_to_us: number | null;
|
|
11916
|
+
readonly percent_done: number | null;
|
|
11917
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11918
|
+
readonly save_parent_id: number;
|
|
11919
|
+
readonly seconds_seeding: number | null;
|
|
11920
|
+
readonly simulated: boolean;
|
|
11921
|
+
readonly size: number | null;
|
|
11922
|
+
readonly source: string;
|
|
11923
|
+
readonly started_at: string | null;
|
|
11924
|
+
readonly subscription_id: number | null;
|
|
11925
|
+
readonly torrent_link: string | null;
|
|
11926
|
+
readonly tracker: string | null;
|
|
11927
|
+
readonly tracker_message: string | null;
|
|
11928
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11929
|
+
readonly uploaded: number | null;
|
|
11930
|
+
readonly up_speed: number | null;
|
|
11931
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11932
|
+
readonly status: "COMPLETED";
|
|
11933
|
+
} | {
|
|
11934
|
+
readonly availability: number | null;
|
|
11935
|
+
readonly callback_url: string | null;
|
|
11936
|
+
readonly client_ip: string | null;
|
|
11937
|
+
readonly completion_percent: number | null;
|
|
11938
|
+
readonly created_at: string;
|
|
11939
|
+
readonly created_torrent: boolean;
|
|
11940
|
+
readonly current_ratio: number | null;
|
|
11941
|
+
readonly download_id: number | null;
|
|
11942
|
+
readonly down_speed: number | null;
|
|
11943
|
+
readonly downloaded: number | null;
|
|
11944
|
+
readonly error_message: string | null;
|
|
11945
|
+
readonly estimated_time: number | null;
|
|
11946
|
+
readonly file_id: number | null;
|
|
11947
|
+
readonly finished_at: string | null;
|
|
11948
|
+
readonly hash: string | null;
|
|
11949
|
+
readonly id: number;
|
|
11950
|
+
readonly is_private: boolean;
|
|
11951
|
+
readonly links?: readonly {
|
|
11952
|
+
readonly label: string;
|
|
11953
|
+
readonly url: string | null;
|
|
11954
|
+
}[] | undefined;
|
|
11955
|
+
readonly name: string;
|
|
11956
|
+
readonly peers_connected: number | null;
|
|
11957
|
+
readonly peers_getting_from_us: number | null;
|
|
11958
|
+
readonly peers_sending_to_us: number | null;
|
|
11959
|
+
readonly percent_done: number | null;
|
|
11960
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
11961
|
+
readonly save_parent_id: number;
|
|
11962
|
+
readonly seconds_seeding: number | null;
|
|
11963
|
+
readonly simulated: boolean;
|
|
11964
|
+
readonly size: number | null;
|
|
11965
|
+
readonly source: string;
|
|
11966
|
+
readonly started_at: string | null;
|
|
11967
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
11968
|
+
readonly subscription_id: number | null;
|
|
11969
|
+
readonly torrent_link: string | null;
|
|
11970
|
+
readonly tracker: string | null;
|
|
11971
|
+
readonly tracker_message: string | null;
|
|
11972
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
11973
|
+
readonly uploaded: number | null;
|
|
11974
|
+
readonly up_speed: number | null;
|
|
11975
|
+
readonly userfile_exists?: boolean | undefined;
|
|
11976
|
+
}>;
|
|
11977
|
+
getTorrent: (id: number) => Promise<Uint8Array<ArrayBufferLike>>;
|
|
11978
|
+
info: (urls: readonly string[]) => Promise<{
|
|
11979
|
+
readonly disk_avail: number;
|
|
11980
|
+
readonly ret: ReadonlyArray<TransferInfoItem>;
|
|
11981
|
+
}>;
|
|
11982
|
+
list: (query?: {
|
|
11983
|
+
readonly per_page?: number | undefined;
|
|
11984
|
+
} | undefined) => Promise<{
|
|
11985
|
+
readonly cursor?: string | null | undefined;
|
|
11986
|
+
readonly status: "OK";
|
|
11987
|
+
readonly total?: number | undefined;
|
|
11988
|
+
readonly transfers: readonly ({
|
|
11989
|
+
readonly availability: number | null;
|
|
11990
|
+
readonly callback_url: string | null;
|
|
11991
|
+
readonly client_ip: string | null;
|
|
11992
|
+
readonly completion_percent: number | null;
|
|
11993
|
+
readonly created_at: string;
|
|
11994
|
+
readonly created_torrent: boolean;
|
|
11995
|
+
readonly current_ratio: number | null;
|
|
11996
|
+
readonly download_id: number | null;
|
|
11997
|
+
readonly down_speed: number | null;
|
|
11998
|
+
readonly downloaded: number | null;
|
|
11999
|
+
readonly estimated_time: number | null;
|
|
12000
|
+
readonly file_id: number | null;
|
|
12001
|
+
readonly finished_at: string | null;
|
|
12002
|
+
readonly hash: string | null;
|
|
12003
|
+
readonly id: number;
|
|
12004
|
+
readonly is_private: boolean;
|
|
12005
|
+
readonly links?: readonly {
|
|
12006
|
+
readonly label: string;
|
|
12007
|
+
readonly url: string | null;
|
|
12008
|
+
}[] | undefined;
|
|
12009
|
+
readonly name: string;
|
|
12010
|
+
readonly peers_connected: number | null;
|
|
12011
|
+
readonly peers_getting_from_us: number | null;
|
|
12012
|
+
readonly peers_sending_to_us: number | null;
|
|
12013
|
+
readonly percent_done: number | null;
|
|
12014
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12015
|
+
readonly save_parent_id: number;
|
|
12016
|
+
readonly seconds_seeding: number | null;
|
|
12017
|
+
readonly simulated: boolean;
|
|
12018
|
+
readonly size: number | null;
|
|
12019
|
+
readonly source: string;
|
|
12020
|
+
readonly started_at: string | null;
|
|
12021
|
+
readonly subscription_id: number | null;
|
|
12022
|
+
readonly torrent_link: string | null;
|
|
12023
|
+
readonly tracker: string | null;
|
|
12024
|
+
readonly tracker_message: string | null;
|
|
12025
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12026
|
+
readonly uploaded: number | null;
|
|
12027
|
+
readonly up_speed: number | null;
|
|
12028
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12029
|
+
readonly error_message: string;
|
|
12030
|
+
readonly status: "ERROR";
|
|
12031
|
+
} | {
|
|
12032
|
+
readonly availability: number | null;
|
|
12033
|
+
readonly callback_url: string | null;
|
|
12034
|
+
readonly client_ip: string | null;
|
|
12035
|
+
readonly completion_percent: number | null;
|
|
12036
|
+
readonly created_at: string;
|
|
12037
|
+
readonly created_torrent: boolean;
|
|
12038
|
+
readonly current_ratio: number | null;
|
|
12039
|
+
readonly download_id: number | null;
|
|
12040
|
+
readonly down_speed: number | null;
|
|
12041
|
+
readonly downloaded: number | null;
|
|
12042
|
+
readonly error_message: string | null;
|
|
12043
|
+
readonly estimated_time: number | null;
|
|
12044
|
+
readonly file_id: number | null;
|
|
12045
|
+
readonly finished_at: string | null;
|
|
12046
|
+
readonly hash: string | null;
|
|
12047
|
+
readonly id: number;
|
|
12048
|
+
readonly is_private: boolean;
|
|
12049
|
+
readonly links?: readonly {
|
|
12050
|
+
readonly label: string;
|
|
12051
|
+
readonly url: string | null;
|
|
12052
|
+
}[] | undefined;
|
|
12053
|
+
readonly name: string;
|
|
12054
|
+
readonly peers_connected: number | null;
|
|
12055
|
+
readonly peers_getting_from_us: number | null;
|
|
12056
|
+
readonly peers_sending_to_us: number | null;
|
|
12057
|
+
readonly percent_done: number | null;
|
|
12058
|
+
readonly save_parent_id: number;
|
|
12059
|
+
readonly seconds_seeding: number | null;
|
|
12060
|
+
readonly simulated: boolean;
|
|
12061
|
+
readonly size: number | null;
|
|
12062
|
+
readonly source: string;
|
|
12063
|
+
readonly started_at: string | null;
|
|
12064
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
12065
|
+
readonly subscription_id: number | null;
|
|
12066
|
+
readonly torrent_link: string | null;
|
|
12067
|
+
readonly tracker: string | null;
|
|
12068
|
+
readonly tracker_message: string | null;
|
|
12069
|
+
readonly uploaded: number | null;
|
|
12070
|
+
readonly up_speed: number | null;
|
|
12071
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12072
|
+
readonly recorded_seconds: number;
|
|
12073
|
+
readonly type: "LIVE_STREAM";
|
|
12074
|
+
} | {
|
|
12075
|
+
readonly availability: number | null;
|
|
12076
|
+
readonly callback_url: string | null;
|
|
12077
|
+
readonly client_ip: string | null;
|
|
12078
|
+
readonly completion_percent: number | null;
|
|
12079
|
+
readonly created_at: string;
|
|
12080
|
+
readonly created_torrent: boolean;
|
|
12081
|
+
readonly download_id: number | null;
|
|
12082
|
+
readonly down_speed: number | null;
|
|
12083
|
+
readonly downloaded: number | null;
|
|
12084
|
+
readonly error_message: string | null;
|
|
12085
|
+
readonly estimated_time: number | null;
|
|
12086
|
+
readonly file_id: number | null;
|
|
12087
|
+
readonly finished_at: string | null;
|
|
12088
|
+
readonly hash: string | null;
|
|
12089
|
+
readonly id: number;
|
|
12090
|
+
readonly is_private: boolean;
|
|
12091
|
+
readonly links?: readonly {
|
|
12092
|
+
readonly label: string;
|
|
12093
|
+
readonly url: string | null;
|
|
12094
|
+
}[] | undefined;
|
|
12095
|
+
readonly name: string;
|
|
12096
|
+
readonly peers_connected: number | null;
|
|
12097
|
+
readonly peers_getting_from_us: number | null;
|
|
12098
|
+
readonly peers_sending_to_us: number | null;
|
|
12099
|
+
readonly percent_done: number | null;
|
|
12100
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12101
|
+
readonly save_parent_id: number;
|
|
12102
|
+
readonly simulated: boolean;
|
|
12103
|
+
readonly size: number | null;
|
|
12104
|
+
readonly source: string;
|
|
12105
|
+
readonly started_at: string | null;
|
|
12106
|
+
readonly subscription_id: number | null;
|
|
12107
|
+
readonly torrent_link: string | null;
|
|
12108
|
+
readonly tracker: string | null;
|
|
12109
|
+
readonly tracker_message: string | null;
|
|
12110
|
+
readonly uploaded: number | null;
|
|
12111
|
+
readonly up_speed: number | null;
|
|
12112
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12113
|
+
readonly current_ratio: number;
|
|
12114
|
+
readonly seconds_seeding: number;
|
|
12115
|
+
readonly status: "COMPLETED" | "PREPARING_SEED" | "SEEDING";
|
|
12116
|
+
readonly type: "TORRENT";
|
|
12117
|
+
} | {
|
|
12118
|
+
readonly availability: number | null;
|
|
12119
|
+
readonly callback_url: string | null;
|
|
12120
|
+
readonly client_ip: string | null;
|
|
12121
|
+
readonly completion_percent: number | null;
|
|
12122
|
+
readonly created_at: string;
|
|
12123
|
+
readonly created_torrent: boolean;
|
|
12124
|
+
readonly current_ratio: number | null;
|
|
12125
|
+
readonly download_id: number | null;
|
|
12126
|
+
readonly down_speed: number | null;
|
|
12127
|
+
readonly downloaded: number | null;
|
|
12128
|
+
readonly error_message: string | null;
|
|
12129
|
+
readonly estimated_time: number | null;
|
|
12130
|
+
readonly file_id: number | null;
|
|
12131
|
+
readonly finished_at: string | null;
|
|
12132
|
+
readonly hash: string | null;
|
|
12133
|
+
readonly id: number;
|
|
12134
|
+
readonly is_private: boolean;
|
|
12135
|
+
readonly links?: readonly {
|
|
12136
|
+
readonly label: string;
|
|
12137
|
+
readonly url: string | null;
|
|
12138
|
+
}[] | undefined;
|
|
12139
|
+
readonly name: string;
|
|
12140
|
+
readonly peers_connected: number | null;
|
|
12141
|
+
readonly peers_getting_from_us: number | null;
|
|
12142
|
+
readonly peers_sending_to_us: number | null;
|
|
12143
|
+
readonly percent_done: number | null;
|
|
12144
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12145
|
+
readonly save_parent_id: number;
|
|
12146
|
+
readonly seconds_seeding: number | null;
|
|
12147
|
+
readonly simulated: boolean;
|
|
12148
|
+
readonly size: number | null;
|
|
12149
|
+
readonly source: string;
|
|
12150
|
+
readonly started_at: string | null;
|
|
12151
|
+
readonly subscription_id: number | null;
|
|
12152
|
+
readonly torrent_link: string | null;
|
|
12153
|
+
readonly tracker: string | null;
|
|
12154
|
+
readonly tracker_message: string | null;
|
|
12155
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12156
|
+
readonly uploaded: number | null;
|
|
12157
|
+
readonly up_speed: number | null;
|
|
12158
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12159
|
+
readonly status: "COMPLETED";
|
|
12160
|
+
} | {
|
|
12161
|
+
readonly availability: number | null;
|
|
12162
|
+
readonly callback_url: string | null;
|
|
12163
|
+
readonly client_ip: string | null;
|
|
12164
|
+
readonly completion_percent: number | null;
|
|
12165
|
+
readonly created_at: string;
|
|
12166
|
+
readonly created_torrent: boolean;
|
|
12167
|
+
readonly current_ratio: number | null;
|
|
12168
|
+
readonly download_id: number | null;
|
|
12169
|
+
readonly down_speed: number | null;
|
|
12170
|
+
readonly downloaded: number | null;
|
|
12171
|
+
readonly error_message: string | null;
|
|
12172
|
+
readonly estimated_time: number | null;
|
|
12173
|
+
readonly file_id: number | null;
|
|
12174
|
+
readonly finished_at: string | null;
|
|
12175
|
+
readonly hash: string | null;
|
|
12176
|
+
readonly id: number;
|
|
12177
|
+
readonly is_private: boolean;
|
|
12178
|
+
readonly links?: readonly {
|
|
12179
|
+
readonly label: string;
|
|
12180
|
+
readonly url: string | null;
|
|
12181
|
+
}[] | undefined;
|
|
12182
|
+
readonly name: string;
|
|
12183
|
+
readonly peers_connected: number | null;
|
|
12184
|
+
readonly peers_getting_from_us: number | null;
|
|
12185
|
+
readonly peers_sending_to_us: number | null;
|
|
12186
|
+
readonly percent_done: number | null;
|
|
12187
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12188
|
+
readonly save_parent_id: number;
|
|
12189
|
+
readonly seconds_seeding: number | null;
|
|
12190
|
+
readonly simulated: boolean;
|
|
12191
|
+
readonly size: number | null;
|
|
12192
|
+
readonly source: string;
|
|
12193
|
+
readonly started_at: string | null;
|
|
12194
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
12195
|
+
readonly subscription_id: number | null;
|
|
12196
|
+
readonly torrent_link: string | null;
|
|
12197
|
+
readonly tracker: string | null;
|
|
12198
|
+
readonly tracker_message: string | null;
|
|
12199
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12200
|
+
readonly uploaded: number | null;
|
|
12201
|
+
readonly up_speed: number | null;
|
|
12202
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12203
|
+
})[];
|
|
12204
|
+
}>;
|
|
12205
|
+
reannounce: (id: number) => Promise<{
|
|
12206
|
+
readonly status: "OK";
|
|
12207
|
+
}>;
|
|
12208
|
+
remove: (input: {
|
|
12209
|
+
readonly filter?: undefined;
|
|
12210
|
+
readonly ids: readonly number[];
|
|
12211
|
+
} | {
|
|
12212
|
+
readonly filter: "all" | "completed";
|
|
12213
|
+
readonly ids?: undefined;
|
|
12214
|
+
}) => Promise<void>;
|
|
12215
|
+
retry: (id: number) => Promise<{
|
|
12216
|
+
readonly availability: number | null;
|
|
12217
|
+
readonly callback_url: string | null;
|
|
12218
|
+
readonly client_ip: string | null;
|
|
12219
|
+
readonly completion_percent: number | null;
|
|
12220
|
+
readonly created_at: string;
|
|
12221
|
+
readonly created_torrent: boolean;
|
|
12222
|
+
readonly current_ratio: number | null;
|
|
12223
|
+
readonly download_id: number | null;
|
|
12224
|
+
readonly down_speed: number | null;
|
|
12225
|
+
readonly downloaded: number | null;
|
|
12226
|
+
readonly estimated_time: number | null;
|
|
12227
|
+
readonly file_id: number | null;
|
|
12228
|
+
readonly finished_at: string | null;
|
|
12229
|
+
readonly hash: string | null;
|
|
12230
|
+
readonly id: number;
|
|
12231
|
+
readonly is_private: boolean;
|
|
12232
|
+
readonly links?: readonly {
|
|
12233
|
+
readonly label: string;
|
|
12234
|
+
readonly url: string | null;
|
|
12235
|
+
}[] | undefined;
|
|
12236
|
+
readonly name: string;
|
|
12237
|
+
readonly peers_connected: number | null;
|
|
12238
|
+
readonly peers_getting_from_us: number | null;
|
|
12239
|
+
readonly peers_sending_to_us: number | null;
|
|
12240
|
+
readonly percent_done: number | null;
|
|
12241
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12242
|
+
readonly save_parent_id: number;
|
|
12243
|
+
readonly seconds_seeding: number | null;
|
|
12244
|
+
readonly simulated: boolean;
|
|
12245
|
+
readonly size: number | null;
|
|
12246
|
+
readonly source: string;
|
|
12247
|
+
readonly started_at: string | null;
|
|
12248
|
+
readonly subscription_id: number | null;
|
|
12249
|
+
readonly torrent_link: string | null;
|
|
12250
|
+
readonly tracker: string | null;
|
|
12251
|
+
readonly tracker_message: string | null;
|
|
12252
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12253
|
+
readonly uploaded: number | null;
|
|
12254
|
+
readonly up_speed: number | null;
|
|
12255
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12256
|
+
readonly error_message: string;
|
|
12257
|
+
readonly status: "ERROR";
|
|
12258
|
+
} | {
|
|
12259
|
+
readonly availability: number | null;
|
|
12260
|
+
readonly callback_url: string | null;
|
|
12261
|
+
readonly client_ip: string | null;
|
|
12262
|
+
readonly completion_percent: number | null;
|
|
12263
|
+
readonly created_at: string;
|
|
12264
|
+
readonly created_torrent: boolean;
|
|
12265
|
+
readonly current_ratio: number | null;
|
|
12266
|
+
readonly download_id: number | null;
|
|
12267
|
+
readonly down_speed: number | null;
|
|
12268
|
+
readonly downloaded: number | null;
|
|
12269
|
+
readonly error_message: string | null;
|
|
12270
|
+
readonly estimated_time: number | null;
|
|
12271
|
+
readonly file_id: number | null;
|
|
12272
|
+
readonly finished_at: string | null;
|
|
12273
|
+
readonly hash: string | null;
|
|
12274
|
+
readonly id: number;
|
|
12275
|
+
readonly is_private: boolean;
|
|
12276
|
+
readonly links?: readonly {
|
|
12277
|
+
readonly label: string;
|
|
12278
|
+
readonly url: string | null;
|
|
12279
|
+
}[] | undefined;
|
|
12280
|
+
readonly name: string;
|
|
12281
|
+
readonly peers_connected: number | null;
|
|
12282
|
+
readonly peers_getting_from_us: number | null;
|
|
12283
|
+
readonly peers_sending_to_us: number | null;
|
|
12284
|
+
readonly percent_done: number | null;
|
|
12285
|
+
readonly save_parent_id: number;
|
|
12286
|
+
readonly seconds_seeding: number | null;
|
|
12287
|
+
readonly simulated: boolean;
|
|
12288
|
+
readonly size: number | null;
|
|
12289
|
+
readonly source: string;
|
|
12290
|
+
readonly started_at: string | null;
|
|
12291
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
12292
|
+
readonly subscription_id: number | null;
|
|
12293
|
+
readonly torrent_link: string | null;
|
|
12294
|
+
readonly tracker: string | null;
|
|
12295
|
+
readonly tracker_message: string | null;
|
|
12296
|
+
readonly uploaded: number | null;
|
|
12297
|
+
readonly up_speed: number | null;
|
|
12298
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12299
|
+
readonly recorded_seconds: number;
|
|
12300
|
+
readonly type: "LIVE_STREAM";
|
|
12301
|
+
} | {
|
|
12302
|
+
readonly availability: number | null;
|
|
12303
|
+
readonly callback_url: string | null;
|
|
12304
|
+
readonly client_ip: string | null;
|
|
12305
|
+
readonly completion_percent: number | null;
|
|
12306
|
+
readonly created_at: string;
|
|
12307
|
+
readonly created_torrent: boolean;
|
|
12308
|
+
readonly download_id: number | null;
|
|
12309
|
+
readonly down_speed: number | null;
|
|
12310
|
+
readonly downloaded: number | null;
|
|
12311
|
+
readonly error_message: string | null;
|
|
12312
|
+
readonly estimated_time: number | null;
|
|
12313
|
+
readonly file_id: number | null;
|
|
12314
|
+
readonly finished_at: string | null;
|
|
12315
|
+
readonly hash: string | null;
|
|
12316
|
+
readonly id: number;
|
|
12317
|
+
readonly is_private: boolean;
|
|
12318
|
+
readonly links?: readonly {
|
|
12319
|
+
readonly label: string;
|
|
12320
|
+
readonly url: string | null;
|
|
12321
|
+
}[] | undefined;
|
|
12322
|
+
readonly name: string;
|
|
12323
|
+
readonly peers_connected: number | null;
|
|
12324
|
+
readonly peers_getting_from_us: number | null;
|
|
12325
|
+
readonly peers_sending_to_us: number | null;
|
|
12326
|
+
readonly percent_done: number | null;
|
|
12327
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12328
|
+
readonly save_parent_id: number;
|
|
12329
|
+
readonly simulated: boolean;
|
|
12330
|
+
readonly size: number | null;
|
|
12331
|
+
readonly source: string;
|
|
12332
|
+
readonly started_at: string | null;
|
|
12333
|
+
readonly subscription_id: number | null;
|
|
12334
|
+
readonly torrent_link: string | null;
|
|
12335
|
+
readonly tracker: string | null;
|
|
12336
|
+
readonly tracker_message: string | null;
|
|
12337
|
+
readonly uploaded: number | null;
|
|
12338
|
+
readonly up_speed: number | null;
|
|
12339
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12340
|
+
readonly current_ratio: number;
|
|
12341
|
+
readonly seconds_seeding: number;
|
|
12342
|
+
readonly status: "COMPLETED" | "PREPARING_SEED" | "SEEDING";
|
|
12343
|
+
readonly type: "TORRENT";
|
|
12344
|
+
} | {
|
|
12345
|
+
readonly availability: number | null;
|
|
12346
|
+
readonly callback_url: string | null;
|
|
12347
|
+
readonly client_ip: string | null;
|
|
12348
|
+
readonly completion_percent: number | null;
|
|
12349
|
+
readonly created_at: string;
|
|
12350
|
+
readonly created_torrent: boolean;
|
|
12351
|
+
readonly current_ratio: number | null;
|
|
12352
|
+
readonly download_id: number | null;
|
|
12353
|
+
readonly down_speed: number | null;
|
|
12354
|
+
readonly downloaded: number | null;
|
|
12355
|
+
readonly error_message: string | null;
|
|
12356
|
+
readonly estimated_time: number | null;
|
|
12357
|
+
readonly file_id: number | null;
|
|
12358
|
+
readonly finished_at: string | null;
|
|
12359
|
+
readonly hash: string | null;
|
|
12360
|
+
readonly id: number;
|
|
12361
|
+
readonly is_private: boolean;
|
|
12362
|
+
readonly links?: readonly {
|
|
12363
|
+
readonly label: string;
|
|
12364
|
+
readonly url: string | null;
|
|
12365
|
+
}[] | undefined;
|
|
12366
|
+
readonly name: string;
|
|
12367
|
+
readonly peers_connected: number | null;
|
|
12368
|
+
readonly peers_getting_from_us: number | null;
|
|
12369
|
+
readonly peers_sending_to_us: number | null;
|
|
12370
|
+
readonly percent_done: number | null;
|
|
12371
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12372
|
+
readonly save_parent_id: number;
|
|
12373
|
+
readonly seconds_seeding: number | null;
|
|
12374
|
+
readonly simulated: boolean;
|
|
12375
|
+
readonly size: number | null;
|
|
12376
|
+
readonly source: string;
|
|
12377
|
+
readonly started_at: string | null;
|
|
12378
|
+
readonly subscription_id: number | null;
|
|
12379
|
+
readonly torrent_link: string | null;
|
|
12380
|
+
readonly tracker: string | null;
|
|
12381
|
+
readonly tracker_message: string | null;
|
|
12382
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12383
|
+
readonly uploaded: number | null;
|
|
12384
|
+
readonly up_speed: number | null;
|
|
12385
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12386
|
+
readonly status: "COMPLETED";
|
|
12387
|
+
} | {
|
|
12388
|
+
readonly availability: number | null;
|
|
12389
|
+
readonly callback_url: string | null;
|
|
12390
|
+
readonly client_ip: string | null;
|
|
12391
|
+
readonly completion_percent: number | null;
|
|
12392
|
+
readonly created_at: string;
|
|
12393
|
+
readonly created_torrent: boolean;
|
|
12394
|
+
readonly current_ratio: number | null;
|
|
12395
|
+
readonly download_id: number | null;
|
|
12396
|
+
readonly down_speed: number | null;
|
|
12397
|
+
readonly downloaded: number | null;
|
|
12398
|
+
readonly error_message: string | null;
|
|
12399
|
+
readonly estimated_time: number | null;
|
|
12400
|
+
readonly file_id: number | null;
|
|
12401
|
+
readonly finished_at: string | null;
|
|
12402
|
+
readonly hash: string | null;
|
|
12403
|
+
readonly id: number;
|
|
12404
|
+
readonly is_private: boolean;
|
|
12405
|
+
readonly links?: readonly {
|
|
12406
|
+
readonly label: string;
|
|
12407
|
+
readonly url: string | null;
|
|
12408
|
+
}[] | undefined;
|
|
12409
|
+
readonly name: string;
|
|
12410
|
+
readonly peers_connected: number | null;
|
|
12411
|
+
readonly peers_getting_from_us: number | null;
|
|
12412
|
+
readonly peers_sending_to_us: number | null;
|
|
12413
|
+
readonly percent_done: number | null;
|
|
12414
|
+
readonly recorded_seconds?: number | null | undefined;
|
|
12415
|
+
readonly save_parent_id: number;
|
|
12416
|
+
readonly seconds_seeding: number | null;
|
|
12417
|
+
readonly simulated: boolean;
|
|
12418
|
+
readonly size: number | null;
|
|
12419
|
+
readonly source: string;
|
|
12420
|
+
readonly started_at: string | null;
|
|
12421
|
+
readonly status: "COMPLETED" | "COMPLETING" | "DOWNLOADING" | "ERROR" | "IN_QUEUE" | "PREPARING_DOWNLOAD" | "PREPARING_SEED" | "SEEDING" | "STOPPING" | "WAITING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER";
|
|
12422
|
+
readonly subscription_id: number | null;
|
|
12423
|
+
readonly torrent_link: string | null;
|
|
12424
|
+
readonly tracker: string | null;
|
|
12425
|
+
readonly tracker_message: string | null;
|
|
12426
|
+
readonly type: "LIVE_STREAM" | "N/A" | "PLAYLIST" | "TORRENT" | "URL";
|
|
12427
|
+
readonly uploaded: number | null;
|
|
12428
|
+
readonly up_speed: number | null;
|
|
12429
|
+
readonly userfile_exists?: boolean | undefined;
|
|
12430
|
+
}>;
|
|
12431
|
+
stopRecording: (id: number) => Promise<{
|
|
12432
|
+
readonly status: "OK";
|
|
12433
|
+
}>;
|
|
12434
|
+
};
|
|
12435
|
+
zips: {
|
|
12436
|
+
cancel: (id: number) => Promise<void>;
|
|
12437
|
+
create: (input: {
|
|
12438
|
+
readonly cursor?: string | undefined;
|
|
12439
|
+
readonly exclude_ids?: readonly number[] | undefined;
|
|
12440
|
+
readonly file_ids?: readonly number[] | undefined;
|
|
12441
|
+
}) => Promise<number>;
|
|
12442
|
+
get: (id: number) => Promise<{
|
|
12443
|
+
readonly status: "OK";
|
|
12444
|
+
readonly url: null;
|
|
12445
|
+
readonly zip_status: "NEW" | "PROCESSING";
|
|
12446
|
+
} | {
|
|
12447
|
+
readonly error_msg: string;
|
|
12448
|
+
readonly status: "OK";
|
|
12449
|
+
readonly url: null;
|
|
12450
|
+
readonly zip_status: "ERROR";
|
|
12451
|
+
} | {
|
|
12452
|
+
readonly id?: number | undefined;
|
|
12453
|
+
readonly missing_files: readonly (string | {
|
|
12454
|
+
readonly id: number;
|
|
12455
|
+
readonly missing: boolean;
|
|
12456
|
+
readonly name: string;
|
|
12457
|
+
})[];
|
|
12458
|
+
readonly size: number;
|
|
12459
|
+
readonly status: "OK";
|
|
12460
|
+
readonly url: string;
|
|
12461
|
+
readonly zip_status: "DONE";
|
|
12462
|
+
}>;
|
|
12463
|
+
list: () => Promise<readonly {
|
|
12464
|
+
readonly created_at: string;
|
|
12465
|
+
readonly id: number;
|
|
12466
|
+
}[]>;
|
|
12467
|
+
};
|
|
12468
|
+
account: {
|
|
12469
|
+
appSpecificPasswords: {
|
|
12470
|
+
create: (input: {
|
|
12471
|
+
readonly note: string;
|
|
12472
|
+
}) => Promise<CreateAppSpecificPasswordResult>;
|
|
12473
|
+
delete: (id: number) => Promise<void>;
|
|
12474
|
+
deleteAll: () => Promise<void>;
|
|
12475
|
+
list: () => Promise<readonly {
|
|
12476
|
+
readonly created_at: string;
|
|
12477
|
+
readonly id: number;
|
|
12478
|
+
readonly ip_address: string | null;
|
|
12479
|
+
readonly last_used_at: string | null;
|
|
12480
|
+
readonly note: string;
|
|
12481
|
+
}[]>;
|
|
12482
|
+
};
|
|
12483
|
+
clear: (options: {
|
|
12484
|
+
readonly active_transfers: boolean;
|
|
12485
|
+
readonly files: boolean;
|
|
12486
|
+
readonly finished_transfers: boolean;
|
|
12487
|
+
readonly friends: boolean;
|
|
12488
|
+
readonly history: boolean;
|
|
12489
|
+
readonly rss_feeds: boolean;
|
|
12490
|
+
readonly rss_logs: boolean;
|
|
12491
|
+
readonly trash: boolean;
|
|
12492
|
+
}) => Promise<{
|
|
12493
|
+
readonly status: "OK";
|
|
12494
|
+
}>;
|
|
12495
|
+
destroy: (currentPassword: string) => Promise<{
|
|
12496
|
+
readonly status: "OK";
|
|
12497
|
+
}>;
|
|
12498
|
+
getSettings: () => Promise<{
|
|
12499
|
+
readonly beta_user: boolean;
|
|
12500
|
+
readonly callback_url: string | null;
|
|
12501
|
+
readonly dark_theme: boolean;
|
|
12502
|
+
readonly default_download_folder: number;
|
|
12503
|
+
readonly diagnostics_enabled: boolean;
|
|
12504
|
+
readonly dont_autoselect_subtitles: boolean;
|
|
12505
|
+
readonly fluid_layout: boolean;
|
|
12506
|
+
readonly hide_subtitles: boolean;
|
|
12507
|
+
readonly history_enabled: boolean;
|
|
12508
|
+
readonly is_invisible: boolean;
|
|
12509
|
+
readonly locale: string | null;
|
|
12510
|
+
readonly login_mails_enabled: boolean;
|
|
12511
|
+
readonly next_episode: boolean;
|
|
12512
|
+
readonly product_analytics_enabled: boolean;
|
|
12513
|
+
readonly pushover_token: string | null;
|
|
12514
|
+
readonly show_optimistic_usage: boolean;
|
|
12515
|
+
readonly sort_by: string;
|
|
12516
|
+
readonly start_from: boolean;
|
|
12517
|
+
readonly subtitle_languages: readonly (string | null)[];
|
|
12518
|
+
readonly theater_mode: boolean;
|
|
12519
|
+
readonly theme: "auto" | "dark" | "light";
|
|
12520
|
+
readonly transfer_sort_by: string | null;
|
|
12521
|
+
readonly trash_enabled: boolean;
|
|
12522
|
+
readonly tunnel_route_name: string | null;
|
|
12523
|
+
readonly two_factor_enabled: boolean;
|
|
12524
|
+
readonly use_private_download_ip: boolean;
|
|
12525
|
+
readonly use_start_from: boolean;
|
|
12526
|
+
readonly video_player: "flash" | "html5" | null;
|
|
12527
|
+
}>;
|
|
12528
|
+
listSubtitleLanguages: () => Promise<readonly {
|
|
12529
|
+
readonly code: string;
|
|
12530
|
+
readonly name: string;
|
|
12531
|
+
}[]>;
|
|
12532
|
+
listConfirmations: (subject?: "mail_change" | "password_change" | "subscription_upgrade" | undefined) => Promise<readonly {
|
|
12533
|
+
readonly created_at: string;
|
|
12534
|
+
readonly subject: "mail_change" | "password_change" | "subscription_upgrade";
|
|
12535
|
+
}[]>;
|
|
12536
|
+
saveSettings: (payload: {
|
|
12537
|
+
readonly beta_user?: boolean | undefined;
|
|
12538
|
+
readonly callback_url?: string | null | undefined;
|
|
12539
|
+
readonly dark_theme?: boolean | undefined;
|
|
12540
|
+
readonly default_download_folder?: number | undefined;
|
|
12541
|
+
readonly diagnostics_enabled?: boolean | undefined;
|
|
12542
|
+
readonly dont_autoselect_subtitles?: boolean | undefined;
|
|
12543
|
+
readonly fluid_layout?: boolean | undefined;
|
|
12544
|
+
readonly hide_subtitles?: boolean | undefined;
|
|
12545
|
+
readonly history_enabled?: boolean | undefined;
|
|
12546
|
+
readonly is_invisible?: boolean | undefined;
|
|
12547
|
+
readonly locale?: string | null | undefined;
|
|
12548
|
+
readonly login_mails_enabled?: boolean | undefined;
|
|
12549
|
+
readonly next_episode?: boolean | undefined;
|
|
12550
|
+
readonly product_analytics_enabled?: boolean | undefined;
|
|
12551
|
+
readonly pushover_token?: string | null | undefined;
|
|
12552
|
+
readonly show_optimistic_usage?: boolean | undefined;
|
|
12553
|
+
readonly sort_by?: string | undefined;
|
|
12554
|
+
readonly start_from?: boolean | undefined;
|
|
12555
|
+
readonly subtitle_languages?: readonly (string | null)[] | undefined;
|
|
12556
|
+
readonly theater_mode?: boolean | undefined;
|
|
12557
|
+
readonly theme?: "auto" | "dark" | "light" | undefined;
|
|
12558
|
+
readonly transfer_sort_by?: string | null | undefined;
|
|
12559
|
+
readonly trash_enabled?: boolean | undefined;
|
|
12560
|
+
readonly tunnel_route_name?: string | null | undefined;
|
|
12561
|
+
readonly use_private_download_ip?: boolean | undefined;
|
|
12562
|
+
readonly use_start_from?: boolean | undefined;
|
|
12563
|
+
readonly video_player?: "flash" | "html5" | null | undefined;
|
|
12564
|
+
readonly two_factor_enabled?: {
|
|
12565
|
+
readonly code: string;
|
|
12566
|
+
readonly enable: boolean;
|
|
12567
|
+
} | undefined;
|
|
12568
|
+
readonly username?: string | undefined;
|
|
12569
|
+
} | {
|
|
12570
|
+
readonly beta_user?: boolean | undefined;
|
|
12571
|
+
readonly callback_url?: string | null | undefined;
|
|
12572
|
+
readonly dark_theme?: boolean | undefined;
|
|
12573
|
+
readonly default_download_folder?: number | undefined;
|
|
12574
|
+
readonly diagnostics_enabled?: boolean | undefined;
|
|
12575
|
+
readonly dont_autoselect_subtitles?: boolean | undefined;
|
|
12576
|
+
readonly fluid_layout?: boolean | undefined;
|
|
12577
|
+
readonly hide_subtitles?: boolean | undefined;
|
|
12578
|
+
readonly history_enabled?: boolean | undefined;
|
|
12579
|
+
readonly is_invisible?: boolean | undefined;
|
|
12580
|
+
readonly locale?: string | null | undefined;
|
|
12581
|
+
readonly login_mails_enabled?: boolean | undefined;
|
|
12582
|
+
readonly next_episode?: boolean | undefined;
|
|
12583
|
+
readonly product_analytics_enabled?: boolean | undefined;
|
|
12584
|
+
readonly pushover_token?: string | null | undefined;
|
|
12585
|
+
readonly show_optimistic_usage?: boolean | undefined;
|
|
12586
|
+
readonly sort_by?: string | undefined;
|
|
12587
|
+
readonly start_from?: boolean | undefined;
|
|
12588
|
+
readonly subtitle_languages?: readonly (string | null)[] | undefined;
|
|
12589
|
+
readonly theater_mode?: boolean | undefined;
|
|
12590
|
+
readonly theme?: "auto" | "dark" | "light" | undefined;
|
|
12591
|
+
readonly transfer_sort_by?: string | null | undefined;
|
|
12592
|
+
readonly trash_enabled?: boolean | undefined;
|
|
12593
|
+
readonly tunnel_route_name?: string | null | undefined;
|
|
12594
|
+
readonly use_private_download_ip?: boolean | undefined;
|
|
12595
|
+
readonly use_start_from?: boolean | undefined;
|
|
12596
|
+
readonly video_player?: "flash" | "html5" | null | undefined;
|
|
12597
|
+
readonly two_factor_enabled?: {
|
|
12598
|
+
readonly code: string;
|
|
12599
|
+
readonly enable: boolean;
|
|
12600
|
+
} | undefined;
|
|
12601
|
+
readonly username?: string | undefined;
|
|
12602
|
+
readonly current_password: string;
|
|
12603
|
+
readonly mail: string;
|
|
12604
|
+
readonly password?: string | undefined;
|
|
12605
|
+
} | {
|
|
12606
|
+
readonly beta_user?: boolean | undefined;
|
|
12607
|
+
readonly callback_url?: string | null | undefined;
|
|
12608
|
+
readonly dark_theme?: boolean | undefined;
|
|
12609
|
+
readonly default_download_folder?: number | undefined;
|
|
12610
|
+
readonly diagnostics_enabled?: boolean | undefined;
|
|
12611
|
+
readonly dont_autoselect_subtitles?: boolean | undefined;
|
|
12612
|
+
readonly fluid_layout?: boolean | undefined;
|
|
12613
|
+
readonly hide_subtitles?: boolean | undefined;
|
|
12614
|
+
readonly history_enabled?: boolean | undefined;
|
|
12615
|
+
readonly is_invisible?: boolean | undefined;
|
|
12616
|
+
readonly locale?: string | null | undefined;
|
|
12617
|
+
readonly login_mails_enabled?: boolean | undefined;
|
|
12618
|
+
readonly next_episode?: boolean | undefined;
|
|
12619
|
+
readonly product_analytics_enabled?: boolean | undefined;
|
|
12620
|
+
readonly pushover_token?: string | null | undefined;
|
|
12621
|
+
readonly show_optimistic_usage?: boolean | undefined;
|
|
12622
|
+
readonly sort_by?: string | undefined;
|
|
12623
|
+
readonly start_from?: boolean | undefined;
|
|
12624
|
+
readonly subtitle_languages?: readonly (string | null)[] | undefined;
|
|
12625
|
+
readonly theater_mode?: boolean | undefined;
|
|
12626
|
+
readonly theme?: "auto" | "dark" | "light" | undefined;
|
|
12627
|
+
readonly transfer_sort_by?: string | null | undefined;
|
|
12628
|
+
readonly trash_enabled?: boolean | undefined;
|
|
12629
|
+
readonly tunnel_route_name?: string | null | undefined;
|
|
12630
|
+
readonly use_private_download_ip?: boolean | undefined;
|
|
12631
|
+
readonly use_start_from?: boolean | undefined;
|
|
12632
|
+
readonly video_player?: "flash" | "html5" | null | undefined;
|
|
12633
|
+
readonly two_factor_enabled?: {
|
|
12634
|
+
readonly code: string;
|
|
12635
|
+
readonly enable: boolean;
|
|
12636
|
+
} | undefined;
|
|
12637
|
+
readonly username?: string | undefined;
|
|
12638
|
+
readonly current_password: string;
|
|
12639
|
+
readonly mail?: string | undefined;
|
|
12640
|
+
readonly password: string;
|
|
12641
|
+
}) => Promise<{
|
|
12642
|
+
readonly status: "OK";
|
|
12643
|
+
}>;
|
|
12644
|
+
getInfo: {
|
|
12645
|
+
(query: {
|
|
12646
|
+
readonly download_token: 1;
|
|
12647
|
+
readonly pas: 1;
|
|
12648
|
+
}): Promise<AccountInfoBase & {
|
|
12649
|
+
readonly download_token: string;
|
|
12650
|
+
readonly pas: PasInfo;
|
|
12651
|
+
}>;
|
|
12652
|
+
(query: {
|
|
12653
|
+
readonly download_token: 1;
|
|
12654
|
+
}): Promise<AccountInfoBase & {
|
|
12655
|
+
readonly download_token: string;
|
|
12656
|
+
}>;
|
|
12657
|
+
(query: {
|
|
12658
|
+
readonly features: 1;
|
|
12659
|
+
}): Promise<AccountInfoBase & {
|
|
12660
|
+
readonly features: Record<string, boolean>;
|
|
12661
|
+
}>;
|
|
12662
|
+
(query: {
|
|
12663
|
+
readonly intercom: 1;
|
|
12664
|
+
readonly platform?: "web" | "ios";
|
|
12665
|
+
}): Promise<AccountInfoBase & {
|
|
12666
|
+
readonly user_hash?: string;
|
|
12667
|
+
}>;
|
|
12668
|
+
(query: {
|
|
12669
|
+
readonly pas: 1;
|
|
12670
|
+
}): Promise<AccountInfoBase & {
|
|
12671
|
+
readonly pas: PasInfo;
|
|
12672
|
+
}>;
|
|
12673
|
+
(query: {
|
|
12674
|
+
readonly profitwell: 1;
|
|
12675
|
+
}): Promise<AccountInfoBase & {
|
|
12676
|
+
readonly paddle_user_id: number | string | null;
|
|
12677
|
+
}>;
|
|
12678
|
+
(query: {
|
|
12679
|
+
readonly push_token: 1;
|
|
12680
|
+
}): Promise<AccountInfoBase & {
|
|
12681
|
+
readonly push_token: string;
|
|
12682
|
+
}>;
|
|
12683
|
+
(): Promise<AccountInfoBroad>;
|
|
12684
|
+
(query: AccountInfoQuery): Promise<AccountInfoBroad>;
|
|
12685
|
+
};
|
|
12686
|
+
};
|
|
12687
|
+
auth: {
|
|
12688
|
+
checkCodeMatch: (code: string) => Promise<string | null>;
|
|
12689
|
+
clients: () => Promise<readonly {
|
|
12690
|
+
readonly active: boolean;
|
|
12691
|
+
readonly app_id: number;
|
|
12692
|
+
readonly app_name?: string | undefined;
|
|
12693
|
+
readonly client_name: string;
|
|
12694
|
+
readonly created_at: string;
|
|
12695
|
+
readonly id: number;
|
|
12696
|
+
readonly ip_address: string;
|
|
12697
|
+
readonly last_used_at: string | null;
|
|
12698
|
+
readonly note: string | null;
|
|
12699
|
+
readonly user_agent: string;
|
|
12700
|
+
}[]>;
|
|
12701
|
+
exchangeAuthorizationCode: (input: {
|
|
12702
|
+
readonly clientId: string | number;
|
|
12703
|
+
readonly clientSecret: string;
|
|
12704
|
+
readonly code: string;
|
|
12705
|
+
readonly redirectUri?: string | undefined;
|
|
12706
|
+
}) => Promise<string>;
|
|
12707
|
+
exists: (key: "mail" | "username", value: string) => Promise<boolean>;
|
|
12708
|
+
forgotPassword: (mail: string) => Promise<{
|
|
12709
|
+
readonly status: "OK";
|
|
12710
|
+
}>;
|
|
12711
|
+
getCode: (input: {
|
|
12712
|
+
readonly appId: string | number;
|
|
12713
|
+
readonly clientName?: string | undefined;
|
|
12714
|
+
}) => Promise<{
|
|
12715
|
+
readonly code: string;
|
|
12716
|
+
readonly qr_code_url: string;
|
|
12717
|
+
}>;
|
|
12718
|
+
getFamilyInvite: (code: string) => Promise<{
|
|
12719
|
+
readonly owner: string;
|
|
12720
|
+
readonly plan: string;
|
|
12721
|
+
}>;
|
|
12722
|
+
getFriendInvite: (code: string) => Promise<{
|
|
12723
|
+
readonly inviter: string;
|
|
12724
|
+
readonly plan: {
|
|
12725
|
+
readonly code: string;
|
|
12726
|
+
readonly name: string;
|
|
12727
|
+
readonly period: number;
|
|
12728
|
+
};
|
|
12729
|
+
}>;
|
|
12730
|
+
getGiftCard: (code: string) => Promise<{
|
|
12731
|
+
readonly days: number;
|
|
12732
|
+
readonly plan: boolean;
|
|
12733
|
+
}>;
|
|
12734
|
+
getVoucher: (code: string) => Promise<{
|
|
12735
|
+
readonly days: number;
|
|
12736
|
+
readonly owner: string | null;
|
|
12737
|
+
}>;
|
|
12738
|
+
grants: () => Promise<readonly {
|
|
12739
|
+
readonly description: string;
|
|
12740
|
+
readonly has_icon: boolean | null;
|
|
12741
|
+
readonly id: number;
|
|
12742
|
+
readonly name: string;
|
|
12743
|
+
readonly website: string;
|
|
12744
|
+
}[]>;
|
|
12745
|
+
linkDevice: (code: string) => Promise<{
|
|
12746
|
+
readonly description: string;
|
|
12747
|
+
readonly has_icon: boolean | null;
|
|
12748
|
+
readonly id: number;
|
|
12749
|
+
readonly name: string;
|
|
12750
|
+
readonly website: string;
|
|
12751
|
+
}>;
|
|
12752
|
+
login: (input: {
|
|
12753
|
+
readonly callbackUrl?: string | undefined;
|
|
12754
|
+
readonly clientId: string | number;
|
|
12755
|
+
readonly clientName?: string | undefined;
|
|
12756
|
+
readonly clientSecret: string;
|
|
12757
|
+
readonly fingerprint?: string | undefined;
|
|
12758
|
+
readonly password: string;
|
|
12759
|
+
readonly username: string;
|
|
12760
|
+
}) => Promise<{
|
|
12761
|
+
readonly access_token: string;
|
|
12762
|
+
readonly user_id: number;
|
|
12763
|
+
}>;
|
|
12764
|
+
logout: () => Promise<{
|
|
12765
|
+
readonly status: "OK";
|
|
12766
|
+
}>;
|
|
12767
|
+
register: (input: {
|
|
12768
|
+
readonly client_id: string | number;
|
|
12769
|
+
readonly family_invite_code?: string | undefined;
|
|
12770
|
+
readonly friend_invite_code?: string | undefined;
|
|
12771
|
+
readonly gift_card_confirmation_code?: string | undefined;
|
|
12772
|
+
readonly mail: string;
|
|
12773
|
+
readonly password: string;
|
|
12774
|
+
readonly plan_name?: string | undefined;
|
|
12775
|
+
readonly product_analytics_enabled?: boolean | undefined;
|
|
12776
|
+
readonly username: string;
|
|
12777
|
+
readonly voucher_code?: string | undefined;
|
|
12778
|
+
}) => Promise<{
|
|
12779
|
+
readonly access_token: string;
|
|
12780
|
+
}>;
|
|
12781
|
+
resetPassword: (key: string, password: string) => Promise<{
|
|
12782
|
+
readonly access_token: string;
|
|
12783
|
+
}>;
|
|
12784
|
+
revokeAllClients: () => Promise<{
|
|
12785
|
+
readonly status: "OK";
|
|
12786
|
+
}>;
|
|
12787
|
+
revokeApp: (id: number) => Promise<{
|
|
12788
|
+
readonly status: "OK";
|
|
12789
|
+
}>;
|
|
12790
|
+
revokeClient: (id: number) => Promise<{
|
|
12791
|
+
readonly status: "OK";
|
|
12792
|
+
}>;
|
|
12793
|
+
twoFactor: {
|
|
12794
|
+
generateTOTP: () => Promise<{
|
|
12795
|
+
readonly recovery_codes: {
|
|
12796
|
+
readonly codes: readonly {
|
|
12797
|
+
readonly code: string;
|
|
12798
|
+
readonly used_at: string | null;
|
|
12799
|
+
}[];
|
|
12800
|
+
readonly created_at: string;
|
|
12801
|
+
};
|
|
12802
|
+
readonly secret: string;
|
|
12803
|
+
readonly uri: string;
|
|
12804
|
+
}>;
|
|
12805
|
+
getRecoveryCodes: () => Promise<{
|
|
12806
|
+
readonly codes: readonly {
|
|
12807
|
+
readonly code: string;
|
|
12808
|
+
readonly used_at: string | null;
|
|
12809
|
+
}[];
|
|
12810
|
+
readonly created_at: string;
|
|
12811
|
+
}>;
|
|
12812
|
+
regenerateRecoveryCodes: () => Promise<{
|
|
12813
|
+
readonly codes: readonly {
|
|
12814
|
+
readonly code: string;
|
|
12815
|
+
readonly used_at: string | null;
|
|
12816
|
+
}[];
|
|
12817
|
+
readonly created_at: string;
|
|
12818
|
+
}>;
|
|
12819
|
+
verifyTOTP: (twoFactorScopedToken: string, code: string) => Promise<{
|
|
12820
|
+
readonly token: string;
|
|
12821
|
+
readonly user_id: number;
|
|
12822
|
+
}>;
|
|
12823
|
+
};
|
|
12824
|
+
validateToken: (token: string) => Promise<{
|
|
12825
|
+
readonly result: boolean;
|
|
12826
|
+
readonly token_id: number | null;
|
|
12827
|
+
readonly token_scope: "default" | "files_download" | "files_public_access" | "token_validate" | "two_factor" | null;
|
|
12828
|
+
readonly user_id: number | null;
|
|
12829
|
+
}>;
|
|
12830
|
+
buildLoginUrl: (options: Parameters<typeof buildAuthLoginUrl>[0]) => string;
|
|
12831
|
+
};
|
|
12832
|
+
config: {
|
|
12833
|
+
deleteKey: (key: string) => Promise<{
|
|
12834
|
+
readonly status: "OK";
|
|
12835
|
+
}>;
|
|
12836
|
+
getKey: (key: string) => Promise<PutioJsonValue>;
|
|
12837
|
+
read: () => Promise<PutioJsonObject>;
|
|
12838
|
+
setKey: (key: string, value: PutioJsonValue) => Promise<{
|
|
12839
|
+
readonly status: "OK";
|
|
12840
|
+
}>;
|
|
12841
|
+
write: (config: PutioJsonObject) => Promise<{
|
|
12842
|
+
readonly status: "OK";
|
|
12843
|
+
}>;
|
|
12844
|
+
getKeyWith: <A>(key: string, schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
|
|
12845
|
+
readWith: <A>(schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
|
|
12846
|
+
};
|
|
12847
|
+
files: {
|
|
12848
|
+
canWrite: (fileId: number) => Promise<number>;
|
|
12849
|
+
continue: (cursor: string, query?: {
|
|
12850
|
+
readonly per_page?: number;
|
|
12851
|
+
} | undefined) => Promise<{
|
|
12852
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
12853
|
+
readonly cursor: string | null;
|
|
12854
|
+
readonly files: readonly {
|
|
12855
|
+
readonly content_type: string | null;
|
|
12856
|
+
readonly created_at: string;
|
|
12857
|
+
readonly crc32: string | null;
|
|
12858
|
+
readonly extension: string | null;
|
|
12859
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
12860
|
+
readonly first_accessed_at: string | null;
|
|
12861
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
12862
|
+
readonly icon: string | null;
|
|
12863
|
+
readonly id: number;
|
|
12864
|
+
readonly is_hidden: boolean;
|
|
12865
|
+
readonly is_mp4_available: boolean;
|
|
12866
|
+
readonly is_shared: boolean;
|
|
12867
|
+
readonly name: string;
|
|
12868
|
+
readonly opensubtitles_hash: string | null;
|
|
12869
|
+
readonly parent_id: number | null;
|
|
12870
|
+
readonly screenshot: string | null;
|
|
12871
|
+
readonly sha1?: string | null | undefined;
|
|
12872
|
+
readonly size: number;
|
|
12873
|
+
readonly start_from?: number | undefined;
|
|
12874
|
+
readonly updated_at: string;
|
|
12875
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
12876
|
+
readonly media_info?: {
|
|
12877
|
+
readonly format?: {
|
|
12878
|
+
readonly bit_rate?: number | undefined;
|
|
12879
|
+
readonly duration?: number | undefined;
|
|
12880
|
+
readonly name?: string | undefined;
|
|
12881
|
+
} | null | undefined;
|
|
12882
|
+
readonly mime_type?: string | null | undefined;
|
|
12883
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
12884
|
+
readonly streams?: readonly {
|
|
12885
|
+
readonly channels?: number | undefined;
|
|
12886
|
+
readonly codec_name?: string | null | undefined;
|
|
12887
|
+
readonly codec_type?: string | undefined;
|
|
12888
|
+
readonly height?: number | undefined;
|
|
12889
|
+
readonly level?: number | undefined;
|
|
12890
|
+
readonly profile?: string | null | undefined;
|
|
12891
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
12892
|
+
readonly width?: number | undefined;
|
|
12893
|
+
}[] | undefined;
|
|
12894
|
+
} | null | undefined;
|
|
12895
|
+
readonly media_metadata?: {
|
|
12896
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
12897
|
+
readonly codec?: string | null | undefined;
|
|
12898
|
+
readonly duration?: number | null | undefined;
|
|
12899
|
+
readonly height?: number | null | undefined;
|
|
12900
|
+
readonly width?: number | null | undefined;
|
|
12901
|
+
} | null | undefined;
|
|
12902
|
+
readonly mp4_size?: number | null | undefined;
|
|
12903
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
12904
|
+
readonly need_convert?: boolean | undefined;
|
|
12905
|
+
readonly sender_name?: string | undefined;
|
|
12906
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
12907
|
+
readonly stream_url?: string | null | undefined;
|
|
12908
|
+
readonly video_metadata?: {
|
|
12909
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
12910
|
+
readonly codec?: string | null | undefined;
|
|
12911
|
+
readonly duration?: number | null | undefined;
|
|
12912
|
+
readonly height?: number | null | undefined;
|
|
12913
|
+
readonly width?: number | null | undefined;
|
|
12914
|
+
} | null | undefined;
|
|
12915
|
+
}[];
|
|
12916
|
+
readonly status: "OK";
|
|
12917
|
+
readonly total?: number | undefined;
|
|
12918
|
+
readonly parent?: {
|
|
12919
|
+
readonly content_type: string | null;
|
|
12920
|
+
readonly created_at: string;
|
|
12921
|
+
readonly crc32: string | null;
|
|
12922
|
+
readonly extension: string | null;
|
|
12923
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
12924
|
+
readonly first_accessed_at: string | null;
|
|
12925
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
12926
|
+
readonly icon: string | null;
|
|
12927
|
+
readonly id: number;
|
|
12928
|
+
readonly is_hidden: boolean;
|
|
12929
|
+
readonly is_mp4_available: boolean;
|
|
12930
|
+
readonly is_shared: boolean;
|
|
12931
|
+
readonly name: string;
|
|
12932
|
+
readonly opensubtitles_hash: string | null;
|
|
12933
|
+
readonly parent_id: number | null;
|
|
12934
|
+
readonly screenshot: string | null;
|
|
12935
|
+
readonly sha1?: string | null | undefined;
|
|
12936
|
+
readonly size: number;
|
|
12937
|
+
readonly start_from?: number | undefined;
|
|
12938
|
+
readonly updated_at: string;
|
|
12939
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
12940
|
+
readonly media_info?: {
|
|
12941
|
+
readonly format?: {
|
|
12942
|
+
readonly bit_rate?: number | undefined;
|
|
12943
|
+
readonly duration?: number | undefined;
|
|
12944
|
+
readonly name?: string | undefined;
|
|
12945
|
+
} | null | undefined;
|
|
12946
|
+
readonly mime_type?: string | null | undefined;
|
|
12947
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
12948
|
+
readonly streams?: readonly {
|
|
12949
|
+
readonly channels?: number | undefined;
|
|
12950
|
+
readonly codec_name?: string | null | undefined;
|
|
12951
|
+
readonly codec_type?: string | undefined;
|
|
12952
|
+
readonly height?: number | undefined;
|
|
12953
|
+
readonly level?: number | undefined;
|
|
12954
|
+
readonly profile?: string | null | undefined;
|
|
12955
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
12956
|
+
readonly width?: number | undefined;
|
|
12957
|
+
}[] | undefined;
|
|
12958
|
+
} | null | undefined;
|
|
12959
|
+
readonly media_metadata?: {
|
|
12960
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
12961
|
+
readonly codec?: string | null | undefined;
|
|
12962
|
+
readonly duration?: number | null | undefined;
|
|
12963
|
+
readonly height?: number | null | undefined;
|
|
12964
|
+
readonly width?: number | null | undefined;
|
|
12965
|
+
} | null | undefined;
|
|
12966
|
+
readonly mp4_size?: number | null | undefined;
|
|
12967
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
12968
|
+
readonly need_convert?: boolean | undefined;
|
|
12969
|
+
readonly sender_name?: string | undefined;
|
|
12970
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
12971
|
+
readonly stream_url?: string | null | undefined;
|
|
12972
|
+
readonly video_metadata?: {
|
|
12973
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
12974
|
+
readonly codec?: string | null | undefined;
|
|
12975
|
+
readonly duration?: number | null | undefined;
|
|
12976
|
+
readonly height?: number | null | undefined;
|
|
12977
|
+
readonly width?: number | null | undefined;
|
|
12978
|
+
} | null | undefined;
|
|
12979
|
+
} | null | undefined;
|
|
12980
|
+
}>;
|
|
12981
|
+
continueSearch: (cursor: string, query?: {
|
|
12982
|
+
readonly per_page?: number;
|
|
12983
|
+
} | undefined) => Promise<{
|
|
12984
|
+
readonly cursor: string | null;
|
|
12985
|
+
readonly files: readonly {
|
|
12986
|
+
readonly content_type: string | null;
|
|
12987
|
+
readonly created_at: string;
|
|
12988
|
+
readonly crc32: string | null;
|
|
12989
|
+
readonly extension: string | null;
|
|
12990
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
12991
|
+
readonly first_accessed_at: string | null;
|
|
12992
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
12993
|
+
readonly icon: string | null;
|
|
12994
|
+
readonly id: number;
|
|
12995
|
+
readonly is_hidden: boolean;
|
|
12996
|
+
readonly is_mp4_available: boolean;
|
|
12997
|
+
readonly is_shared: boolean;
|
|
12998
|
+
readonly name: string;
|
|
12999
|
+
readonly opensubtitles_hash: string | null;
|
|
13000
|
+
readonly parent_id: number | null;
|
|
13001
|
+
readonly screenshot: string | null;
|
|
13002
|
+
readonly sha1?: string | null | undefined;
|
|
13003
|
+
readonly size: number;
|
|
13004
|
+
readonly start_from?: number | undefined;
|
|
13005
|
+
readonly updated_at: string;
|
|
13006
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13007
|
+
readonly media_info?: {
|
|
13008
|
+
readonly format?: {
|
|
13009
|
+
readonly bit_rate?: number | undefined;
|
|
13010
|
+
readonly duration?: number | undefined;
|
|
13011
|
+
readonly name?: string | undefined;
|
|
13012
|
+
} | null | undefined;
|
|
13013
|
+
readonly mime_type?: string | null | undefined;
|
|
13014
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13015
|
+
readonly streams?: readonly {
|
|
13016
|
+
readonly channels?: number | undefined;
|
|
13017
|
+
readonly codec_name?: string | null | undefined;
|
|
13018
|
+
readonly codec_type?: string | undefined;
|
|
13019
|
+
readonly height?: number | undefined;
|
|
13020
|
+
readonly level?: number | undefined;
|
|
13021
|
+
readonly profile?: string | null | undefined;
|
|
13022
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13023
|
+
readonly width?: number | undefined;
|
|
13024
|
+
}[] | undefined;
|
|
13025
|
+
} | null | undefined;
|
|
13026
|
+
readonly media_metadata?: {
|
|
13027
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13028
|
+
readonly codec?: string | null | undefined;
|
|
13029
|
+
readonly duration?: number | null | undefined;
|
|
13030
|
+
readonly height?: number | null | undefined;
|
|
13031
|
+
readonly width?: number | null | undefined;
|
|
13032
|
+
} | null | undefined;
|
|
13033
|
+
readonly mp4_size?: number | null | undefined;
|
|
13034
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13035
|
+
readonly need_convert?: boolean | undefined;
|
|
13036
|
+
readonly sender_name?: string | undefined;
|
|
13037
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13038
|
+
readonly stream_url?: string | null | undefined;
|
|
13039
|
+
readonly video_metadata?: {
|
|
13040
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13041
|
+
readonly codec?: string | null | undefined;
|
|
13042
|
+
readonly duration?: number | null | undefined;
|
|
13043
|
+
readonly height?: number | null | undefined;
|
|
13044
|
+
readonly width?: number | null | undefined;
|
|
13045
|
+
} | null | undefined;
|
|
13046
|
+
}[];
|
|
13047
|
+
readonly status: "OK";
|
|
13048
|
+
readonly total: number;
|
|
13049
|
+
}>;
|
|
13050
|
+
copy: (input: {
|
|
13051
|
+
readonly fileId: number;
|
|
13052
|
+
readonly name?: string | undefined;
|
|
13053
|
+
readonly parentId: number;
|
|
13054
|
+
}) => Promise<{
|
|
13055
|
+
readonly content_type: string | null;
|
|
13056
|
+
readonly created_at: string;
|
|
13057
|
+
readonly crc32: string | null;
|
|
13058
|
+
readonly extension: string | null;
|
|
13059
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
13060
|
+
readonly first_accessed_at: string | null;
|
|
13061
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
13062
|
+
readonly icon: string | null;
|
|
13063
|
+
readonly id: number;
|
|
13064
|
+
readonly is_hidden: boolean;
|
|
13065
|
+
readonly is_mp4_available: boolean;
|
|
13066
|
+
readonly is_shared: boolean;
|
|
13067
|
+
readonly name: string;
|
|
13068
|
+
readonly opensubtitles_hash: string | null;
|
|
13069
|
+
readonly parent_id: number | null;
|
|
13070
|
+
readonly screenshot: string | null;
|
|
13071
|
+
readonly sha1?: string | null | undefined;
|
|
13072
|
+
readonly size: number;
|
|
13073
|
+
readonly start_from?: number | undefined;
|
|
13074
|
+
readonly updated_at: string;
|
|
13075
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13076
|
+
readonly media_info?: {
|
|
13077
|
+
readonly format?: {
|
|
13078
|
+
readonly bit_rate?: number | undefined;
|
|
13079
|
+
readonly duration?: number | undefined;
|
|
13080
|
+
readonly name?: string | undefined;
|
|
13081
|
+
} | null | undefined;
|
|
13082
|
+
readonly mime_type?: string | null | undefined;
|
|
13083
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13084
|
+
readonly streams?: readonly {
|
|
13085
|
+
readonly channels?: number | undefined;
|
|
13086
|
+
readonly codec_name?: string | null | undefined;
|
|
13087
|
+
readonly codec_type?: string | undefined;
|
|
13088
|
+
readonly height?: number | undefined;
|
|
13089
|
+
readonly level?: number | undefined;
|
|
13090
|
+
readonly profile?: string | null | undefined;
|
|
13091
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13092
|
+
readonly width?: number | undefined;
|
|
13093
|
+
}[] | undefined;
|
|
13094
|
+
} | null | undefined;
|
|
13095
|
+
readonly media_metadata?: {
|
|
13096
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13097
|
+
readonly codec?: string | null | undefined;
|
|
13098
|
+
readonly duration?: number | null | undefined;
|
|
13099
|
+
readonly height?: number | null | undefined;
|
|
13100
|
+
readonly width?: number | null | undefined;
|
|
13101
|
+
} | null | undefined;
|
|
13102
|
+
readonly mp4_size?: number | null | undefined;
|
|
13103
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13104
|
+
readonly need_convert?: boolean | undefined;
|
|
13105
|
+
readonly sender_name?: string | undefined;
|
|
13106
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13107
|
+
readonly stream_url?: string | null | undefined;
|
|
13108
|
+
readonly video_metadata?: {
|
|
13109
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13110
|
+
readonly codec?: string | null | undefined;
|
|
13111
|
+
readonly duration?: number | null | undefined;
|
|
13112
|
+
readonly height?: number | null | undefined;
|
|
13113
|
+
readonly width?: number | null | undefined;
|
|
13114
|
+
} | null | undefined;
|
|
13115
|
+
}>;
|
|
13116
|
+
convertToMp4: (fileId: number) => Promise<{
|
|
13117
|
+
readonly id: number;
|
|
13118
|
+
readonly status: "NOT_AVAILABLE";
|
|
13119
|
+
} | {
|
|
13120
|
+
readonly id: number;
|
|
13121
|
+
readonly percent_done?: number | undefined;
|
|
13122
|
+
readonly status: "IN_QUEUE";
|
|
13123
|
+
} | {
|
|
13124
|
+
readonly id: number;
|
|
13125
|
+
readonly percent_done: number;
|
|
13126
|
+
readonly status: "CONVERTING";
|
|
13127
|
+
} | {
|
|
13128
|
+
readonly id: number;
|
|
13129
|
+
readonly percent_done: number;
|
|
13130
|
+
readonly size: number;
|
|
13131
|
+
readonly status: "COMPLETED";
|
|
13132
|
+
} | {
|
|
13133
|
+
readonly id: number;
|
|
13134
|
+
readonly status: "ERROR";
|
|
13135
|
+
}>;
|
|
13136
|
+
convertManyToMp4: (ids: readonly number[]) => Promise<number>;
|
|
13137
|
+
convertSelectionToMp4: (selection: FilesBulkSelection) => Promise<number>;
|
|
13138
|
+
createUploadRequest: (input: FileUploadInput, options?: {
|
|
13139
|
+
readonly oauthToken?: string;
|
|
13140
|
+
} | undefined) => Promise<FileUploadRequestDescriptor>;
|
|
13141
|
+
createFolder: (input: {
|
|
13142
|
+
readonly name?: string | undefined;
|
|
13143
|
+
readonly parent_id?: number | undefined;
|
|
13144
|
+
readonly path?: string | undefined;
|
|
13145
|
+
}) => Promise<{
|
|
13146
|
+
readonly content_type: string | null;
|
|
13147
|
+
readonly created_at: string;
|
|
13148
|
+
readonly crc32: string | null;
|
|
13149
|
+
readonly extension: string | null;
|
|
13150
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
13151
|
+
readonly first_accessed_at: string | null;
|
|
13152
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
13153
|
+
readonly icon: string | null;
|
|
13154
|
+
readonly id: number;
|
|
13155
|
+
readonly is_hidden: boolean;
|
|
13156
|
+
readonly is_mp4_available: boolean;
|
|
13157
|
+
readonly is_shared: boolean;
|
|
13158
|
+
readonly name: string;
|
|
13159
|
+
readonly opensubtitles_hash: string | null;
|
|
13160
|
+
readonly parent_id: number | null;
|
|
13161
|
+
readonly screenshot: string | null;
|
|
13162
|
+
readonly sha1?: string | null | undefined;
|
|
13163
|
+
readonly size: number;
|
|
13164
|
+
readonly start_from?: number | undefined;
|
|
13165
|
+
readonly updated_at: string;
|
|
13166
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13167
|
+
readonly media_info?: {
|
|
13168
|
+
readonly format?: {
|
|
13169
|
+
readonly bit_rate?: number | undefined;
|
|
13170
|
+
readonly duration?: number | undefined;
|
|
13171
|
+
readonly name?: string | undefined;
|
|
13172
|
+
} | null | undefined;
|
|
13173
|
+
readonly mime_type?: string | null | undefined;
|
|
13174
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13175
|
+
readonly streams?: readonly {
|
|
13176
|
+
readonly channels?: number | undefined;
|
|
13177
|
+
readonly codec_name?: string | null | undefined;
|
|
13178
|
+
readonly codec_type?: string | undefined;
|
|
13179
|
+
readonly height?: number | undefined;
|
|
13180
|
+
readonly level?: number | undefined;
|
|
13181
|
+
readonly profile?: string | null | undefined;
|
|
13182
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13183
|
+
readonly width?: number | undefined;
|
|
13184
|
+
}[] | undefined;
|
|
13185
|
+
} | null | undefined;
|
|
13186
|
+
readonly media_metadata?: {
|
|
13187
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13188
|
+
readonly codec?: string | null | undefined;
|
|
13189
|
+
readonly duration?: number | null | undefined;
|
|
13190
|
+
readonly height?: number | null | undefined;
|
|
13191
|
+
readonly width?: number | null | undefined;
|
|
13192
|
+
} | null | undefined;
|
|
13193
|
+
readonly mp4_size?: number | null | undefined;
|
|
13194
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13195
|
+
readonly need_convert?: boolean | undefined;
|
|
13196
|
+
readonly sender_name?: string | undefined;
|
|
13197
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13198
|
+
readonly stream_url?: string | null | undefined;
|
|
13199
|
+
readonly video_metadata?: {
|
|
13200
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13201
|
+
readonly codec?: string | null | undefined;
|
|
13202
|
+
readonly duration?: number | null | undefined;
|
|
13203
|
+
readonly height?: number | null | undefined;
|
|
13204
|
+
readonly width?: number | null | undefined;
|
|
13205
|
+
} | null | undefined;
|
|
13206
|
+
}>;
|
|
13207
|
+
deleteExtraction: (extractionId: number) => Promise<void>;
|
|
13208
|
+
deleteMp4: (fileId: number) => Promise<void>;
|
|
13209
|
+
deleteSelection: (selection: FilesBulkSelection, options?: {
|
|
13210
|
+
readonly partialDelete?: boolean;
|
|
13211
|
+
readonly skipTrash?: boolean;
|
|
13212
|
+
} | undefined) => Promise<{
|
|
13213
|
+
readonly cursor: string | null;
|
|
13214
|
+
readonly skipped: number;
|
|
13215
|
+
readonly status: "OK";
|
|
13216
|
+
}>;
|
|
13217
|
+
delete: (ids: readonly number[], options?: {
|
|
13218
|
+
readonly ignoreFileOwner?: boolean;
|
|
13219
|
+
readonly partialDelete?: boolean;
|
|
13220
|
+
readonly skipTrash?: boolean;
|
|
13221
|
+
} | undefined) => Promise<{
|
|
13222
|
+
readonly cursor: string | null;
|
|
13223
|
+
readonly skipped: number;
|
|
13224
|
+
readonly status: "OK";
|
|
13225
|
+
}>;
|
|
13226
|
+
extract: (selection: FilesBulkSelection & {
|
|
13227
|
+
readonly password?: string;
|
|
13228
|
+
}) => Promise<readonly {
|
|
13229
|
+
readonly files: readonly number[];
|
|
13230
|
+
readonly id: number;
|
|
13231
|
+
readonly message: string | null;
|
|
13232
|
+
readonly name: string;
|
|
13233
|
+
readonly num_parts: number;
|
|
13234
|
+
readonly status: "ERROR" | "EXTRACTED" | "EXTRACTING" | "NEW" | "PASSWORD" | "PASSWORD_OBTAINED" | "SENT_TO_QUEUE";
|
|
13235
|
+
}[]>;
|
|
13236
|
+
findNext: (fileId: number, fileType: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO") => Promise<{
|
|
13237
|
+
readonly id: number;
|
|
13238
|
+
readonly name: string;
|
|
13239
|
+
readonly parent_id: number | null;
|
|
13240
|
+
}>;
|
|
13241
|
+
findNextVideo: (fileId: number) => Promise<{
|
|
13242
|
+
readonly id: number;
|
|
13243
|
+
readonly name: string;
|
|
13244
|
+
readonly parent_id: number | null;
|
|
13245
|
+
}>;
|
|
13246
|
+
getApiContentUrl: (fileId: number, options: FileDirectAccessOptions) => Promise<string>;
|
|
13247
|
+
getApiDownloadUrl: (fileId: number, options: FileApiDownloadUrlOptions) => Promise<string>;
|
|
13248
|
+
getApiMp4DownloadUrl: (fileId: number, options: FileApiMp4DownloadUrlOptions) => Promise<string>;
|
|
13249
|
+
getDownloadUrl: (fileId: number) => Promise<string>;
|
|
13250
|
+
getHlsMasterPlaylist: (fileId: number, options?: {
|
|
13251
|
+
readonly maxSubtitleCount?: number | undefined;
|
|
13252
|
+
readonly playOriginal?: boolean | undefined;
|
|
13253
|
+
readonly subtitleLanguages?: readonly string[] | undefined;
|
|
13254
|
+
} | undefined) => Promise<string>;
|
|
13255
|
+
getHlsStreamUrl: (fileId: number, options: FileHlsStreamUrlOptions) => Promise<string>;
|
|
13256
|
+
getXspfPlaylistUrl: (fileId: number, options: FileXspfPlaylistUrlOptions) => Promise<string>;
|
|
13257
|
+
getMp4Status: (fileId: number) => Promise<{
|
|
13258
|
+
readonly id: number;
|
|
13259
|
+
readonly status: "NOT_AVAILABLE";
|
|
13260
|
+
} | {
|
|
13261
|
+
readonly id: number;
|
|
13262
|
+
readonly percent_done?: number | undefined;
|
|
13263
|
+
readonly status: "IN_QUEUE";
|
|
13264
|
+
} | {
|
|
13265
|
+
readonly id: number;
|
|
13266
|
+
readonly percent_done: number;
|
|
13267
|
+
readonly status: "CONVERTING";
|
|
13268
|
+
} | {
|
|
13269
|
+
readonly id: number;
|
|
13270
|
+
readonly percent_done: number;
|
|
13271
|
+
readonly size: number;
|
|
13272
|
+
readonly status: "COMPLETED";
|
|
13273
|
+
} | {
|
|
13274
|
+
readonly id: number;
|
|
13275
|
+
readonly status: "ERROR";
|
|
13276
|
+
}>;
|
|
13277
|
+
getStartFrom: (fileId: number) => Promise<number>;
|
|
13278
|
+
list: (parent: number | "friends", query?: {
|
|
13279
|
+
readonly media_metadata?: 1 | undefined;
|
|
13280
|
+
readonly mp4_status?: 1 | undefined;
|
|
13281
|
+
readonly mp4_stream_url?: 1 | undefined;
|
|
13282
|
+
readonly stream_url?: 1 | undefined;
|
|
13283
|
+
readonly video_metadata?: 1 | undefined;
|
|
13284
|
+
readonly breadcrumbs?: 1 | undefined;
|
|
13285
|
+
readonly codecs_parent?: 1 | undefined;
|
|
13286
|
+
readonly content_type?: string | undefined;
|
|
13287
|
+
readonly file_type?: string | undefined;
|
|
13288
|
+
readonly hidden?: 1 | undefined;
|
|
13289
|
+
readonly media_info_parent?: 1 | undefined;
|
|
13290
|
+
readonly media_metadata_parent?: 1 | undefined;
|
|
13291
|
+
readonly mp4_status_parent?: 1 | undefined;
|
|
13292
|
+
readonly mp4_stream_url_parent?: 1 | undefined;
|
|
13293
|
+
readonly no_cursor?: 1 | undefined;
|
|
13294
|
+
readonly per_page?: number | undefined;
|
|
13295
|
+
readonly sort?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13296
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13297
|
+
readonly stream_url_parent?: 1 | undefined;
|
|
13298
|
+
readonly total?: 1 | undefined;
|
|
13299
|
+
readonly video_metadata_parent?: 1 | undefined;
|
|
13300
|
+
} | undefined) => Promise<{
|
|
13301
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
13302
|
+
readonly cursor: string | null;
|
|
13303
|
+
readonly files: readonly {
|
|
13304
|
+
readonly content_type: string | null;
|
|
13305
|
+
readonly created_at: string;
|
|
13306
|
+
readonly crc32: string | null;
|
|
13307
|
+
readonly extension: string | null;
|
|
13308
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
13309
|
+
readonly first_accessed_at: string | null;
|
|
13310
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
13311
|
+
readonly icon: string | null;
|
|
13312
|
+
readonly id: number;
|
|
13313
|
+
readonly is_hidden: boolean;
|
|
13314
|
+
readonly is_mp4_available: boolean;
|
|
13315
|
+
readonly is_shared: boolean;
|
|
13316
|
+
readonly name: string;
|
|
13317
|
+
readonly opensubtitles_hash: string | null;
|
|
13318
|
+
readonly parent_id: number | null;
|
|
13319
|
+
readonly screenshot: string | null;
|
|
13320
|
+
readonly sha1?: string | null | undefined;
|
|
13321
|
+
readonly size: number;
|
|
13322
|
+
readonly start_from?: number | undefined;
|
|
13323
|
+
readonly updated_at: string;
|
|
13324
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13325
|
+
readonly media_info?: {
|
|
13326
|
+
readonly format?: {
|
|
13327
|
+
readonly bit_rate?: number | undefined;
|
|
13328
|
+
readonly duration?: number | undefined;
|
|
13329
|
+
readonly name?: string | undefined;
|
|
13330
|
+
} | null | undefined;
|
|
13331
|
+
readonly mime_type?: string | null | undefined;
|
|
13332
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13333
|
+
readonly streams?: readonly {
|
|
13334
|
+
readonly channels?: number | undefined;
|
|
13335
|
+
readonly codec_name?: string | null | undefined;
|
|
13336
|
+
readonly codec_type?: string | undefined;
|
|
13337
|
+
readonly height?: number | undefined;
|
|
13338
|
+
readonly level?: number | undefined;
|
|
13339
|
+
readonly profile?: string | null | undefined;
|
|
13340
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13341
|
+
readonly width?: number | undefined;
|
|
13342
|
+
}[] | undefined;
|
|
13343
|
+
} | null | undefined;
|
|
13344
|
+
readonly media_metadata?: {
|
|
13345
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13346
|
+
readonly codec?: string | null | undefined;
|
|
13347
|
+
readonly duration?: number | null | undefined;
|
|
13348
|
+
readonly height?: number | null | undefined;
|
|
13349
|
+
readonly width?: number | null | undefined;
|
|
13350
|
+
} | null | undefined;
|
|
13351
|
+
readonly mp4_size?: number | null | undefined;
|
|
13352
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13353
|
+
readonly need_convert?: boolean | undefined;
|
|
13354
|
+
readonly sender_name?: string | undefined;
|
|
13355
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13356
|
+
readonly stream_url?: string | null | undefined;
|
|
13357
|
+
readonly video_metadata?: {
|
|
13358
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13359
|
+
readonly codec?: string | null | undefined;
|
|
13360
|
+
readonly duration?: number | null | undefined;
|
|
13361
|
+
readonly height?: number | null | undefined;
|
|
13362
|
+
readonly width?: number | null | undefined;
|
|
13363
|
+
} | null | undefined;
|
|
13364
|
+
}[];
|
|
13365
|
+
readonly parent: {
|
|
13366
|
+
readonly content_type: string | null;
|
|
13367
|
+
readonly created_at: string;
|
|
13368
|
+
readonly crc32: string | null;
|
|
13369
|
+
readonly extension: string | null;
|
|
13370
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
13371
|
+
readonly first_accessed_at: string | null;
|
|
13372
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
13373
|
+
readonly icon: string | null;
|
|
13374
|
+
readonly id: number;
|
|
13375
|
+
readonly is_hidden: boolean;
|
|
13376
|
+
readonly is_mp4_available: boolean;
|
|
13377
|
+
readonly is_shared: boolean;
|
|
13378
|
+
readonly name: string;
|
|
13379
|
+
readonly opensubtitles_hash: string | null;
|
|
13380
|
+
readonly parent_id: number | null;
|
|
13381
|
+
readonly screenshot: string | null;
|
|
13382
|
+
readonly sha1?: string | null | undefined;
|
|
13383
|
+
readonly size: number;
|
|
13384
|
+
readonly start_from?: number | undefined;
|
|
13385
|
+
readonly updated_at: string;
|
|
13386
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13387
|
+
readonly media_info?: {
|
|
13388
|
+
readonly format?: {
|
|
13389
|
+
readonly bit_rate?: number | undefined;
|
|
13390
|
+
readonly duration?: number | undefined;
|
|
13391
|
+
readonly name?: string | undefined;
|
|
13392
|
+
} | null | undefined;
|
|
13393
|
+
readonly mime_type?: string | null | undefined;
|
|
13394
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13395
|
+
readonly streams?: readonly {
|
|
13396
|
+
readonly channels?: number | undefined;
|
|
13397
|
+
readonly codec_name?: string | null | undefined;
|
|
13398
|
+
readonly codec_type?: string | undefined;
|
|
13399
|
+
readonly height?: number | undefined;
|
|
13400
|
+
readonly level?: number | undefined;
|
|
13401
|
+
readonly profile?: string | null | undefined;
|
|
13402
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13403
|
+
readonly width?: number | undefined;
|
|
13404
|
+
}[] | undefined;
|
|
13405
|
+
} | null | undefined;
|
|
13406
|
+
readonly media_metadata?: {
|
|
13407
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13408
|
+
readonly codec?: string | null | undefined;
|
|
13409
|
+
readonly duration?: number | null | undefined;
|
|
13410
|
+
readonly height?: number | null | undefined;
|
|
13411
|
+
readonly width?: number | null | undefined;
|
|
13412
|
+
} | null | undefined;
|
|
13413
|
+
readonly mp4_size?: number | null | undefined;
|
|
13414
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13415
|
+
readonly need_convert?: boolean | undefined;
|
|
13416
|
+
readonly sender_name?: string | undefined;
|
|
13417
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13418
|
+
readonly stream_url?: string | null | undefined;
|
|
13419
|
+
readonly video_metadata?: {
|
|
13420
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13421
|
+
readonly codec?: string | null | undefined;
|
|
13422
|
+
readonly duration?: number | null | undefined;
|
|
13423
|
+
readonly height?: number | null | undefined;
|
|
13424
|
+
readonly width?: number | null | undefined;
|
|
13425
|
+
} | null | undefined;
|
|
13426
|
+
} | null;
|
|
13427
|
+
readonly status: "OK";
|
|
13428
|
+
readonly total?: number | undefined;
|
|
13429
|
+
}>;
|
|
13430
|
+
listActiveConversions: () => Promise<readonly ({
|
|
13431
|
+
readonly id: number;
|
|
13432
|
+
readonly status: "NOT_AVAILABLE";
|
|
13433
|
+
readonly name: string;
|
|
13434
|
+
} | {
|
|
13435
|
+
readonly id: number;
|
|
13436
|
+
readonly percent_done?: number | undefined;
|
|
13437
|
+
readonly status: "IN_QUEUE";
|
|
13438
|
+
readonly name: string;
|
|
13439
|
+
} | {
|
|
13440
|
+
readonly id: number;
|
|
13441
|
+
readonly percent_done: number;
|
|
13442
|
+
readonly status: "CONVERTING";
|
|
13443
|
+
readonly name: string;
|
|
13444
|
+
} | {
|
|
13445
|
+
readonly id: number;
|
|
13446
|
+
readonly percent_done: number;
|
|
13447
|
+
readonly size: number;
|
|
13448
|
+
readonly status: "COMPLETED";
|
|
13449
|
+
readonly name: string;
|
|
13450
|
+
} | {
|
|
13451
|
+
readonly id: number;
|
|
13452
|
+
readonly status: "ERROR";
|
|
13453
|
+
readonly name: string;
|
|
13454
|
+
})[]>;
|
|
13455
|
+
listExtractions: () => Promise<readonly {
|
|
13456
|
+
readonly files: readonly number[];
|
|
13457
|
+
readonly id: number;
|
|
13458
|
+
readonly message: string | null;
|
|
13459
|
+
readonly name: string;
|
|
13460
|
+
readonly num_parts: number;
|
|
13461
|
+
readonly status: "ERROR" | "EXTRACTED" | "EXTRACTING" | "NEW" | "PASSWORD" | "PASSWORD_OBTAINED" | "SENT_TO_QUEUE";
|
|
13462
|
+
}[]>;
|
|
13463
|
+
listSubtitles: (fileId: number, options?: {
|
|
13464
|
+
readonly languages?: ReadonlyArray<string>;
|
|
13465
|
+
} | undefined) => Promise<{
|
|
13466
|
+
readonly default: string | null;
|
|
13467
|
+
readonly subtitles: ReadonlyArray<FileSubtitle>;
|
|
13468
|
+
}>;
|
|
13469
|
+
move: (ids: readonly number[], parentId: number) => Promise<readonly {
|
|
13470
|
+
readonly error_type: string;
|
|
13471
|
+
readonly id: number;
|
|
13472
|
+
readonly name: string | null;
|
|
13473
|
+
readonly status_code: number;
|
|
13474
|
+
}[]>;
|
|
13475
|
+
moveSelection: (selection: FilesBulkSelection, parentId: number) => Promise<readonly {
|
|
13476
|
+
readonly error_type: string;
|
|
13477
|
+
readonly id: number;
|
|
13478
|
+
readonly name: string | null;
|
|
13479
|
+
readonly status_code: number;
|
|
13480
|
+
}[]>;
|
|
13481
|
+
putMp4ToMyFiles: (fileId: number) => Promise<void>;
|
|
13482
|
+
rename: (input: {
|
|
13483
|
+
readonly file_id: number;
|
|
13484
|
+
readonly name: string;
|
|
13485
|
+
}) => Promise<{
|
|
13486
|
+
readonly status: "OK";
|
|
13487
|
+
}>;
|
|
13488
|
+
resetSortSettings: () => Promise<void>;
|
|
13489
|
+
resetStartFrom: (fileId: number) => Promise<{
|
|
13490
|
+
readonly status: "OK";
|
|
13491
|
+
}>;
|
|
13492
|
+
search: (query: {
|
|
13493
|
+
readonly per_page?: number | undefined;
|
|
13494
|
+
readonly query: string;
|
|
13495
|
+
}) => Promise<{
|
|
13496
|
+
readonly cursor: string | null;
|
|
13497
|
+
readonly files: readonly {
|
|
13498
|
+
readonly content_type: string | null;
|
|
13499
|
+
readonly created_at: string;
|
|
13500
|
+
readonly crc32: string | null;
|
|
13501
|
+
readonly extension: string | null;
|
|
13502
|
+
readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
|
|
13503
|
+
readonly first_accessed_at: string | null;
|
|
13504
|
+
readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
|
|
13505
|
+
readonly icon: string | null;
|
|
13506
|
+
readonly id: number;
|
|
13507
|
+
readonly is_hidden: boolean;
|
|
13508
|
+
readonly is_mp4_available: boolean;
|
|
13509
|
+
readonly is_shared: boolean;
|
|
13510
|
+
readonly name: string;
|
|
13511
|
+
readonly opensubtitles_hash: string | null;
|
|
13512
|
+
readonly parent_id: number | null;
|
|
13513
|
+
readonly screenshot: string | null;
|
|
13514
|
+
readonly sha1?: string | null | undefined;
|
|
13515
|
+
readonly size: number;
|
|
13516
|
+
readonly start_from?: number | undefined;
|
|
13517
|
+
readonly updated_at: string;
|
|
13518
|
+
readonly content_type_and_codecs?: string | null | undefined;
|
|
13519
|
+
readonly media_info?: {
|
|
13520
|
+
readonly format?: {
|
|
13521
|
+
readonly bit_rate?: number | undefined;
|
|
13522
|
+
readonly duration?: number | undefined;
|
|
13523
|
+
readonly name?: string | undefined;
|
|
13524
|
+
} | null | undefined;
|
|
13525
|
+
readonly mime_type?: string | null | undefined;
|
|
13526
|
+
readonly playback_issues?: readonly string[] | undefined;
|
|
13527
|
+
readonly streams?: readonly {
|
|
13528
|
+
readonly channels?: number | undefined;
|
|
13529
|
+
readonly codec_name?: string | null | undefined;
|
|
13530
|
+
readonly codec_type?: string | undefined;
|
|
13531
|
+
readonly height?: number | undefined;
|
|
13532
|
+
readonly level?: number | undefined;
|
|
13533
|
+
readonly profile?: string | null | undefined;
|
|
13534
|
+
readonly rfc6381_codec?: string | null | undefined;
|
|
13535
|
+
readonly width?: number | undefined;
|
|
13536
|
+
}[] | undefined;
|
|
13537
|
+
} | null | undefined;
|
|
13538
|
+
readonly media_metadata?: {
|
|
13539
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13540
|
+
readonly codec?: string | null | undefined;
|
|
13541
|
+
readonly duration?: number | null | undefined;
|
|
13542
|
+
readonly height?: number | null | undefined;
|
|
13543
|
+
readonly width?: number | null | undefined;
|
|
13544
|
+
} | null | undefined;
|
|
13545
|
+
readonly mp4_size?: number | null | undefined;
|
|
13546
|
+
readonly mp4_stream_url?: string | null | undefined;
|
|
13547
|
+
readonly need_convert?: boolean | undefined;
|
|
13548
|
+
readonly sender_name?: string | undefined;
|
|
13549
|
+
readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
13550
|
+
readonly stream_url?: string | null | undefined;
|
|
13551
|
+
readonly video_metadata?: {
|
|
13552
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
13553
|
+
readonly codec?: string | null | undefined;
|
|
13554
|
+
readonly duration?: number | null | undefined;
|
|
13555
|
+
readonly height?: number | null | undefined;
|
|
13556
|
+
readonly width?: number | null | undefined;
|
|
13557
|
+
} | null | undefined;
|
|
13558
|
+
}[];
|
|
13559
|
+
readonly status: "OK";
|
|
13560
|
+
readonly total: number;
|
|
13561
|
+
}>;
|
|
13562
|
+
setSort: (input: {
|
|
13563
|
+
readonly fileId: number;
|
|
13564
|
+
readonly sortBy: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC";
|
|
13565
|
+
}) => Promise<void>;
|
|
13566
|
+
setWatchStatus: (selection: FilesBulkSelection & {
|
|
13567
|
+
readonly watched: boolean;
|
|
13568
|
+
}) => Promise<void>;
|
|
13569
|
+
setStartFrom: (input: {
|
|
13570
|
+
readonly file_id: number;
|
|
13571
|
+
readonly time: number;
|
|
13572
|
+
}) => Promise<{
|
|
13573
|
+
readonly status: "OK";
|
|
13574
|
+
}>;
|
|
13575
|
+
touch: (input: {
|
|
13576
|
+
readonly fileIds: readonly number[];
|
|
13577
|
+
readonly updatedAt?: Date | undefined;
|
|
13578
|
+
}) => Promise<void>;
|
|
13579
|
+
upload: (input: FileUploadInput, options?: {
|
|
13580
|
+
readonly oauthToken?: string;
|
|
13581
|
+
} | undefined) => Promise<FileUploadResult>;
|
|
13582
|
+
createUploadFormData: typeof createFileUploadFormData;
|
|
13583
|
+
get: {
|
|
13584
|
+
(input: {
|
|
13585
|
+
readonly id: number;
|
|
13586
|
+
readonly query: {
|
|
13587
|
+
readonly stream_url: 1;
|
|
13588
|
+
readonly video_metadata: 1;
|
|
13589
|
+
};
|
|
13590
|
+
}): Promise<FileCore & {
|
|
13591
|
+
readonly stream_url: string | null;
|
|
13592
|
+
readonly video_metadata: FileVideoMetadata;
|
|
13593
|
+
}>;
|
|
13594
|
+
(input: {
|
|
13595
|
+
readonly id: number;
|
|
13596
|
+
readonly query: {
|
|
13597
|
+
readonly mp4_stream_url: 1;
|
|
13598
|
+
};
|
|
13599
|
+
}): Promise<FileCore & ({
|
|
13600
|
+
readonly is_mp4_available: true;
|
|
13601
|
+
readonly mp4_stream_url: string | null;
|
|
13602
|
+
readonly mp4_size: number | null;
|
|
13603
|
+
readonly need_convert: boolean;
|
|
13604
|
+
} | {
|
|
13605
|
+
readonly is_mp4_available: false;
|
|
13606
|
+
readonly mp4_size: number | null;
|
|
13607
|
+
readonly need_convert: boolean;
|
|
13608
|
+
})>;
|
|
13609
|
+
(input: {
|
|
13610
|
+
readonly id: number;
|
|
13611
|
+
readonly query?: FileQuery;
|
|
13612
|
+
}): Promise<FileCore>;
|
|
13613
|
+
};
|
|
13614
|
+
getChild: {
|
|
13615
|
+
(input: {
|
|
13616
|
+
readonly name: string;
|
|
13617
|
+
readonly parentId: number;
|
|
13618
|
+
}): Promise<FileCore>;
|
|
13619
|
+
<TQuery extends FileQuery>(input: {
|
|
13620
|
+
readonly name: string;
|
|
13621
|
+
readonly parentId: number;
|
|
13622
|
+
readonly query: TQuery;
|
|
13623
|
+
}): Promise<FileResponseFor<TQuery>>;
|
|
13624
|
+
};
|
|
13625
|
+
};
|
|
13626
|
+
dispose: () => Promise<void>;
|
|
13627
|
+
setAccessToken: (accessToken: string | undefined) => void;
|
|
13628
|
+
withSignal: (signal: AbortSignal) => PutioSdkPromiseOperations;
|
|
13629
|
+
};
|
|
9900
13630
|
type PutioSdkPromiseClient = ReturnType<typeof createPutioSdkPromiseClient>;
|
|
9901
13631
|
declare const DEFAULT_PUTIO_API_BASE_URL = "https://api.put.io";
|
|
9902
13632
|
declare const DEFAULT_PUTIO_UPLOAD_BASE_URL = "https://upload.put.io";
|
|
@@ -9914,5 +13644,5 @@ declare global {
|
|
|
9914
13644
|
}
|
|
9915
13645
|
var SchemaErrorTypeId: symbol;
|
|
9916
13646
|
}
|
|
9917
|
-
export { RetryTransferError as $, UserSearchResult as $a, getStartFrom as $c, clients as $d, createOAuthApp as $f, PaymentVoucherInfo as $i, GetEventTorrentErrorSpec as $l, definePutioOperationErrorSpec as $m, deletePublicShare as $n, FileExtractionSchema as $o, destroyAccount as $p, PodcastLinkTypeSchema as $r, FilesMoveError as $s, TrashListResponse as $t, ClientsErrorSpec as $u, TunnelRoute as A, ApproveFriendRequestErrorSpec as Aa, convertFileSelectionToMp4 as Ac, RegisterErrorSpec as Ad, OAuthApp as Af, PaymentChangePlanSubmitInput as Ai, FamilyMember as Al, AnyPutioOperationError as Am, PublicShareSchema as An, CreateFolderErrorSpec as Ao, AccountDisk as Ap, RssFeedItem as Ar, FileSubtitle as As, getTransfer as At, DownloadLinksPayload as Au, AddTransferErrorSpec as B, FriendSharedFolderErrorSpec as Ba, deleteFiles as Bc, RevokeOAuthGrantErrorSpec as Bd, OAuthSetIconInputSchema as Bf, PaymentInviteSchema as Bi, createFamilyInvite as Bl, PutioOperationError as Bm, SharingCloneInfoSchema as Bn, FileBaseSchema as Bo, AccountSettingsSchema as Bp, createRssFeed as Br, FileUploadErrorSpec as Bs, DeleteTrashError as Bt, PutioJsonObject as Bu, ZipSummary as C, listPaymentPlans as Ca, buildFileApiDownloadUrl as Cc, OAuthAuthorizationCodeExchangeInput as Cd, CreateOAuthAppErrorSpec as Cf, ListPaymentOptionsError as Ci, getIftttStatus as Cl, putioSdkLiveLayer as Cm, ListPublicSharesError as Cn, CanWriteFileError as Co, listAppSpecificPasswords as Cp, ResumeRssFeedError as Cr, FileResponseFor as Cs, addManyTransfers as Ct, listEvents as Cu, listZips as D, stopPaymentSubscription as Da, canWriteFile as Dc, RegenerateRecoveryCodesError as Dd, GetOAuthAppErrorSpec as Df, PaymentChangePlanPreview as Di, FamilyInvite as Dl, requestVoid as Dm, PublicShare as Dn, CopyFileError as Do, AccountConfirmationSchema as Dp, RetryRssFeedItemError as Dr, FileSort as Ds, cleanTransfers as Dt, DownloadLinksCreateInputSchema as Du, getZip as E, reportPayments as Ea, buildFileXspfPlaylistUrl as Ec, RecoveryCodesErrorSpec as Ed, GetOAuthAppError as Ef, ListPaymentPlansErrorSpec as Ei, CreateFamilyInviteErrorSpec as El, requestText as Em, ListSharedFilesErrorSpec as En, ContinueFilesErrorSpec as Eo, AccountConfirmation as Ep, RetryAllRssFeedItemsErrorSpec as Er, FileSetSortInputSchema as Es, cancelTransfers as Et, DownloadLinksCreateInput as Eu, RemoveRateLimitBanInput as F, Friend as Fa, createFileUploadRequest as Fc, RevokeAllOAuthClientsError as Fd, OAuthAppSessionSchema as Ff, PaymentHistoryQuery as Fi, ListFamilyInvitesErrorSpec as Fl, PutioConfigurationError as Fm, SharedFileShare as Fn, FileActiveConversionsError as Fo, AccountInfoBroadSchema as Fp, RssFeedParamsSchema as Fr, FileTouchInputSchema as Fs, removeTransfers as Ft, GetDownloadLinksErrorSpec as Fu, GetTransferTorrentError as G, ListWaitingRequestsError as Ga, getApiDownloadUrl as Gc, VerifyTOTPError as Gd, QueryOAuthAppsError as Gf, PaymentPlanGroup as Gi, ClearEventsError as Gl, PutioRateLimitError as Gm, SharingShareInputSchema as Gn, FileConversionStatus as Go, AccountWarningsSchema as Gp, pauseRssFeed as Gr, FileVideoMetadata as Gs, ListTrashErrorSpec as Gt, getConfigKeyWith as Gu, AddTransferTrackersErrorSpec as H, ListFriendsErrorSpec as Ha, findNextFile as Hc, TwoFactorRecoveryCodesSchema as Hd, OwnedOAuthAppSchema as Hf, PaymentOptionPlanTypeSchema as Hi, listFamilyInvites as Hl, PutioOperationErrorSpec as Hm, SharingCloneInputSchema as Hn, FileBreadcrumbSchema as Ho, AccountSubtitleLanguageSchema as Hp, getRssFeed as Hr, FileUploadRequestDescriptor as Hs, EmptyTrashError as Ht, PutioJsonValue as Hu, removeRateLimitBan as I, FriendBase as Ia, createFolder as Ic, RevokeAllOAuthClientsErrorSpec as Id, OAuthAppUpdateInput as If, PaymentInfo as Ii, ListFamilyMembersError as Il, PutioErrorEnvelope as Im, SharedFileShareSchema as In, FileActiveConversionsErrorSpec as Io, AccountInfoQuery as Ip, RssFeedSchema as Ir, FileType as Is, retryTransfer as It, createDownloadLinks as Iu, ListTransfersErrorSpec as J, RemoveFriendErrorSpec as Ja, getFile as Jc, VerifyTOTPResponseSchema as Jd, RegenerateOAuthAppTokenErrorSpec as Jf, PaymentProvider as Ji, DeleteEventErrorSpec as Jl, PutioTransportError as Jm, UnshareFileError as Jn, FileCopyInputSchema as Jo, SaveAccountSettingsError as Jp, retryRssFeedItem as Jr, FileXspfPlaylistUrlOptions as Js, TrashBulkInput as Jt, setConfigKey as Ju, GetTransferTorrentErrorSpec as K, ListWaitingRequestsErrorSpec as Ka, getApiMp4DownloadUrl as Kc, VerifyTOTPErrorSpec as Kd, QueryOAuthAppsErrorSpec as Kf, PaymentPlanGroupSchema as Ki, ClearEventsErrorSpec as Kl, PutioRateLimitErrorValue as Km, SharingUnshareInput as Kn, FileConversionStatusSchema as Ko, PasInfo as Kp, resumeRssFeed as Kr, FileWatchStatusError as Ks, RestoreTrashError as Kt, readConfig as Ku, AddManyTransfersError as L, FriendBaseSchema as La, deleteFileExtraction as Lc, RevokeOAuthClientError as Ld, OAuthAppUpdateInputSchema as Lf, PaymentInfoPlanSchema as Li, ListFamilyMembersErrorSpec as Ll, PutioErrorEnvelopeSchema as Lm, SharedFileSharedWith as Ln, FileApiDownloadUrlOptions as Lo, AccountInfoQuerySchema as Lp, UpdateRssFeedError as Lr, FileTypeSchema as Ls, stopTransferRecording as Lt, getDownloadLinks as Lu, listTunnelRoutes as M, CountWaitingRequestsErrorSpec as Ma, convertFilesToMp4 as Mc, RegisterInputSchema as Md, OAuthAppCreateInputSchema as Mf, PaymentChangePlanSubmitSchema as Mi, JoinFamilyError as Ml, PutioApiErrorValue as Mm, ShareFilesErrorSpec as Mn, DownloadUrlErrorSpec as Mo, AccountInfoBase as Mp, RssFeedItemSchema as Mr, FileSubtitlesError as Ms, getTransferTorrent as Mt, DownloadLinksStatus as Mu, RemoveRateLimitBanError as N, DenyFriendRequestError as Na, copyFile as Nc, ResetPasswordError as Nd, OAuthAppSchema as Nf, PaymentHistoryItem as Ni, JoinFamilyErrorSpec as Nl, PutioAuthError as Nm, SharedFile as Nn, FileActiveConversion as No, AccountInfoBaseSchema as Np, RssFeedItemSucceededSchema as Nr, FileSubtitlesErrorSpec as Ns, listTransfers as Nt, DownloadLinksStatusSchema as Nu, ListTunnelRoutesError as O, submitPaymentChangePlan as Oa, continueFiles as Oc, RegenerateRecoveryCodesErrorSpec as Od, MyOAuthApp as Of, PaymentChangePlanPreviewInput as Oi, FamilyInviteSchema as Ol, selectJsonField as Om, PublicShareListQuery as On, CopyFileErrorSpec as Oo, AccountConfirmationsError as Op, RetryRssFeedItemErrorSpec as Or, FileSortSchema as Os, continueTransfers as Ot, DownloadLinksInfo as Ou, RemoveRateLimitBanErrorSpec as P, DenyFriendRequestErrorSpec as Pa, createFileUploadFormData as Pc, ResetPasswordErrorSpec as Pd, OAuthAppSession as Pf, PaymentHistoryItemSchema as Pi, ListFamilyInvitesError as Pl, PutioAuthErrorValue as Pm, SharedFileSchema as Pn, FileActiveConversionSchema as Po, AccountInfoBroad as Pp, RssFeedParams as Pr, FileTouchInput as Ps, reannounceTransfer as Pt, GetDownloadLinksError as Pu, RemoveTransfersErrorSpec as Q, SendFriendRequestErrorSpec as Qa, getMp4Status as Qc, checkCodeMatch as Qd, buildOAuthAuthorizeUrl as Qf, PaymentTypeSchema as Qi, GetEventTorrentError as Ql, decodePutioErrorEnvelope as Qm, createPublicShare as Qn, FileExtraction as Qo, clearAccount as Qp, PodcastLinkType as Qr, FilesListQuerySchema as Qs, TrashListQuery as Qt, ClientsError as Qu, AddManyTransfersErrorSpec as R, FriendSchema as Ra, deleteFileMp4 as Rc, RevokeOAuthClientErrorSpec as Rd, OAuthAppWithTokenSchema as Rf, PaymentInfoSchema as Ri, RemoveFamilyMemberError as Rl, PutioKnownErrorContract as Rm, SharedFileSharedWithSchema as Rn, FileApiMp4DownloadUrlOptions as Ro, AccountInfoResponseFor as Rp, UpdateRssFeedErrorSpec as Rr, FileUploadEnvelope as Rs, ContinueTrashError as Rt, JsonObjectSchema as Ru, ZipStatusSchema as S, listPaymentOptions as Sa, buildFileApiContentUrl as Sc, OAuthAuthorizationCodeExchangeErrorCodeSchema as Sd, CreateOAuthAppError as Sf, ListPaymentInvitesErrorSpec as Si, SendIftttEventErrorSpec as Sl, putioSdkLayer as Sm, ListPublicShareFilesErrorSpec as Sn, listFriendInvites as So, deleteAppSpecificPassword as Sp, PauseRssFeedErrorSpec as Sr, FileRenameInput as Ss, TransfersListResponse as St, getEventTorrent as Su, createZip as T, redeemPaymentVoucher as Ta, buildFileHlsStreamUrl as Tc, RecoveryCodesError as Td, DeleteOAuthAppErrorSpec as Tf, ListPaymentPlansError as Ti, CreateFamilyInviteError as Tl, requestJson as Tm, ListSharedFilesError as Tn, ContinueFilesError as To, AccountClearOptionsSchema as Tp, RetryAllRssFeedItemsError as Tr, FileSetSortInput as Ts, addTransferTrackers as Tt, CreateDownloadLinksErrorSpec as Tu, GetTransferError as U, ListSentRequestsError as Ua, findNextVideo as Uc, ValidateTokenResponse as Ud, PopularOAuthApp as Uf, PaymentOptionSchema as Ui, listFamilyMembers as Ul, PutioOperationErrorValue as Um, SharingCloneStatusSchema as Un, FileBroad as Uo, AccountTwoFactorSettingsSchema as Up, listRssFeedItems as Ur, FileUploadResult as Us, EmptyTrashErrorSpec as Ut, deleteConfigKey as Uu, AddTransferTrackersError as V, ListFriendsError as Va, extractFiles as Vc, TwoFactorRecoveryCodes as Vd, OwnedOAuthApp as Vf, PaymentOption as Vi, joinFamily as Vl, PutioOperationErrorFromSpec as Vm, SharingCloneInput as Vn, FileBreadcrumb as Vo, AccountSubtitleLanguage as Vp, deleteRssFeed as Vr, FileUploadInput as Vs, DeleteTrashErrorSpec as Vt, PutioJsonPrimitive as Vu, GetTransferErrorSpec as W, ListSentRequestsErrorSpec as Wa, getApiContentUrl as Wc, ValidateTokenResponseSchema as Wd, PopularOAuthAppSchema as Wf, PaymentPaddleWaitingPaymentInput as Wi, removeFamilyMember as Wl, PutioOperationFailure as Wm, SharingShareInput as Wn, FileBroadSchema as Wo, AccountWarnings as Wp, listRssFeeds as Wr, FileUploadTransfer as Ws, ListTrashError as Wt, getConfigKey as Wu, ReannounceTransferErrorSpec as X, SearchFriendsErrorSpec as Xa, getHlsMasterPlaylist as Xc, VoucherLookupErrorSpec as Xd, UpdateOAuthAppErrorSpec as Xf, PaymentProviderSchema as Xi, EventsListQuerySchema as Xl, PutioUnhandledSdkError as Xm, cloneSharedFiles as Xn, FileCreateFolderInput as Xo, SaveAccountSettingsPayload as Xp, PodcastGetLinksInput as Xr, FilesListEnvelopeSchema as Xs, TrashFile as Xt, AuthGetCodeInput as Xu, ReannounceTransferError as Y, SearchFriendsError as Ya, getFileChild as Yc, VoucherLookupError as Yd, UpdateOAuthAppError as Yf, PaymentProviderNameSchema as Yi, EventsListQuery as Yl, PutioTypedErrorEnvelope as Ym, UnshareFileErrorSpec as Yn, FileCore as Yo, SaveAccountSettingsErrorSpec as Yp, updateRssFeed as Yr, FilesBulkSelection as Ys, TrashContinueResponse as Yt, writeConfig as Yu, RemoveTransfersError as Z, SendFriendRequestError as Za, getHlsStreamUrl as Zc, buildAuthLoginUrl as Zd, buildOAuthAppIconUrl as Zf, PaymentSubscriptionInfoSchema as Zi, EventsListResponse as Zl, PutioValidationError as Zm, continuePublicShareFiles as Zn, FileDirectAccessOptions as Zo, SaveAccountSettingsPayloadSchema as Zp, PodcastGetLinksInputSchema as Zr, FilesListQuery as Zs, TrashFileSchema as Zt, AuthorizationCodeSchema as Zu, GetZipErrorSpec as _, getPaddleBillingInvoiceUrl as _a, SearchFilesErrorSpec as _c, LoginErrorSpec as _d, revokeAllClients as _f, GetPaymentVoucherInfoError as _i, GetIftttStatusError as _l, buildPutioUrl as _m, GetSharedWithError as _n, FriendInviteJoinedUserStatusSchema as _o, DeleteAppSpecificPasswordErrorSpec as _p, ListRssFeedItemsError as _r, FileMp4ErrorSpec as _s, TransferTypeSchema as _t, HistoryZipCreatedEventSchema as _u, PutioSdkEffectClient as a, ReportPaymentsError as aa, GetFileChildError as ac, FriendInviteLookupErrorSpec as ad, getFamilyInvite as af, isPutioRateLimitError as ah, ConfirmFastspringOrderError as ai, moveFiles as al, OkResponseSchema as am, ContinuePublicShareFilesError as an, listFriends as ao, setOAuthAppIcon as ap, listPublicShares as ar, FileGetChildInputSchema as as, TransferAddInputSchema as at, HistoryKnownEventType as au, ZipCreateResponse as b, listPaymentHistory as ba, TouchFilesError as bc, LoginResponseSchema as bd, validateToken as bf, ListPaymentHistoryErrorSpec as bi, IftttEventType as bl, makePutioFetchLayer as bm, GetSharingCloneInfoErrorSpec as bn, ListFriendInvitesErrorSpec as bo, createAppSpecificPassword as bp, ListRssFeedsErrorSpec as br, FileQuery as bs, TransfersListQuery as bt, clearEvents as bu, createPutioSdkPromiseClient as c, StopSubscriptionErrorSpec as ca, GetFileErrorSpec as cc, GenerateTOTPResponse as cd, getRecoveryCodes as cf, mapTransportError as ch, CreateOpenNodeChargeErrorSpec as ci, renameFile as cl, PutioHttpClientService as cm, CreatePublicShareErrorSpec as cn, removeFriend as co, AppSpecificPasswordSchema as cp, unshareFile as cr, FileListContinuationResponse as cs, TransferBaseSchema as ct, HistoryRssFilterPausedEventSchema as cu, CancelZipError as d, UserSubscriptionStatusSchema as da, QueryFilesError as dc, GiftCardLookupErrorSpec as dd, linkDevice as df, toPutioResponseError as dh, CreatePaddleWaitingPaymentError as di, searchFiles as dl, PutioPathSegment as dm, DeletePublicShareError as dn, CreateFriendInviteError as do, CreateAppSpecificPasswordInput as dp, CreateRssFeedError as dr, FileMediaInfoFormatSchema as ds, TransferRemoveInput as dt, HistoryTransferCompletedEventSchema as du, PaymentVoucherInfoSchema as ea, FilesMoveErrorSchema as ec, FamilyInviteLookupError as ed, exchangeOAuthAuthorizationCode as ef, fallbackPutioErrorEnvelope as eh, PodcastLinks as ei, getXspfPlaylistUrl as el, getAccountInfo as em, continueTrash as en, UserSearchResultSchema as eo, deleteOAuthApp as ep, getPublicShare as er, FileExtractionStatus as es, RetryTransferErrorSpec as et, HistoryEvent as eu, CancelZipErrorSpec as f, classifyPaymentChangePlanResponse as fa, QueryFilesErrorSpec as fc, GrantsError as fd, login as ff, withOperationErrors as fh, CreatePaddleWaitingPaymentErrorSpec as fi, setFileSort as fl, PutioQuery as fm, DeletePublicShareErrorSpec as fn, CreateFriendInviteErrorSpec as fo, CreateAppSpecificPasswordInputSchema as fp, CreateRssFeedErrorSpec as fr, FileMediaInfoSchema as fs, TransferRemoveInputSchema as ft, HistoryTransferErrorEventSchema as fu, GetZipError as g, createPaddleWaitingPayment as ga, SearchFilesError as gc, LoginError as gd, resetPassword as gf, GetPaymentInfoErrorSpec as gi, uploadFile as gl, PutioSdkOptions as gm, GetPublicShareFileUrlErrorSpec as gn, FriendInviteJoinedUserStatus as go, DeleteAppSpecificPasswordError as gp, GetRssFeedErrorSpec as gr, FileMp4Error as gs, TransferType as gt, HistoryZipCreatedEvent as gu, CreateZipInput as h, createPaddleBillingUpdatePaymentMethodTransaction as ha, SHARED_WITH_YOU_ROOT_ID as hc, LinkDeviceErrorSpec as hd, register as hf, GetPaymentInfoError as hi, touchFiles as hl, PutioSdkContext as hm, GetPublicShareFileUrlError as hn, FriendInviteJoinedUserSchema as ho, DeleteAllAppSpecificPasswordsErrorSpec as hp, GetRssFeedError as hr, FileMediaMetadataSchema as hs, TransferStatusSchema as ht, HistoryVoucherEventSchema as hu, PutioSdk as i, RedeemPaymentVoucherErrorSpec as ia, FolderTypeSchema as ic, FriendInviteLookupError as id, getCode as if, isPutioOperationError as ih, ClassifiedPaymentChangePlanSubmitResponse as ii, moveFileSelection as il, saveAccountSettings as im, restoreTrash as in, getFriendSharedFolder as io, regenerateOAuthAppToken as ip, listPublicShareFiles as ir, FileGetChildInput as is, TransferAddInput as it, HistoryFileSharedEventSchema as iu, TunnelRouteSchema as j, CountWaitingRequestsError as ja, convertFileToMp4 as jc, RegisterInput as jd, OAuthAppCreateInput as jf, PaymentChangePlanSubmitResponse as ji, FamilyMemberSchema as jl, PutioApiError as jm, ShareFilesError as jn, DownloadUrlError as jo, AccountDiskSchema as jp, RssFeedItemFailedSchema as jr, FileSubtitleSchema as js, getTransferInfo as jt, DownloadLinksPayloadSchema as ju, ListTunnelRoutesErrorSpec as k, ApproveFriendRequestError as ka, continueSearch as kc, RegisterError as kd, MyOAuthAppSchema as kf, PaymentChangePlanPreviewSchema as ki, FamilyInvitesResponse as kl, selectJsonFields as km, PublicShareListQuerySchema as kn, CreateFolderError as ko, AccountConfirmationsErrorSpec as kp, RssFeed as kr, FileStartFromSetInput as ks, countTransfers as kt, DownloadLinksInfoSchema as ku, makePutioSdkEffectClientLayer as l, SubmitPaymentChangePlanError as la, GetHlsMasterPlaylistError as lc, GenerateTOTPResponseSchema as ld, getVoucher as lf, parseErrorBody as lh, CreatePaddleBillingUpdatePaymentMethodTransactionError as li, resetFileSortSettings as ll, PutioHttpRequest as lm, CreateSharingCloneError as ln, searchFriends as lo, CreateAppSpecificPasswordError as lp, ClearRssFeedLogsError as lr, FileListResponse as ls, TransferInfoItem as lt, HistoryTransferCallbackErrorEventSchema as lu, CreateZipErrorSpec as m, createOpenNodeCharge as ma, RenameFileErrorSpec as mc, LinkDeviceError as md, regenerateRecoveryCodes as mf, GetPaddleBillingInvoiceUrlErrorSpec as mi, setStartFrom as ml, PutioSdkConfig as mm, GetPublicShareErrorSpec as mn, FriendInviteJoinedUser as mo, DeleteAllAppSpecificPasswordsError as mp, DeleteRssFeedErrorSpec as mr, FileMediaMetadata as ms, TransferStatus as mt, HistoryUploadEventSchema as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, PreviewPaymentChangePlanErrorSpec as na, FilesSearchQuerySchema as nc, ForgotPasswordError as nd, forgotPassword as nf, isPutioAuthError as nh, PodcastLinksSchema as ni, listFileExtractions as nl, listAccountConfirmations as nm, emptyTrash as nn, countWaitingRequests as no, getPopularOAuthApps as np, getSharedWith as nr, FileExtractionsError as ns, StopRecordingTransferErrorSpec as nt, HistoryFileFromRssDeletedEventSchema as nu, PutioSdkPromiseClient as o, ReportPaymentsErrorSpec as oa, GetFileChildErrorSpec as oc, GenerateTOTPError as od, getFriendInvite as of, mapConfigurationError as oh, ConfirmFastspringOrderErrorSpec as oi, putMp4ToMyFiles as ol, PutioAuth as om, ContinuePublicShareFilesErrorSpec as on, listSentRequests as oo, updateOAuthApp as op, listSharedFiles as or, FileHlsMasterPlaylistOptions as os, TransferAddTrackersInput as ot, HistoryKnownEventTypeSchema as ou, CreateZipError as p, confirmFastspringOrder as pa, RenameFileError as pc, GrantsErrorSpec as pd, logout as pf, GetPaddleBillingInvoiceUrlError as pi, setFilesWatchStatus as pl, PutioQueryValue as pm, GetPublicShareError as pn, FriendInvite as po, CreateAppSpecificPasswordResult as pp, DeleteRssFeedError as pr, FileMediaInfoStreamSchema as ps, TransferSchema as pt, HistoryTransferFromRssErrorEventSchema as pu, ListTransfersError as q, RemoveFriendError as qa, getDownloadUrl as qc, VerifyTOTPResponse as qd, RegenerateOAuthAppTokenError as qf, PaymentPlanTypeSchema as qi, DeleteEventError as ql, PutioSdkError as qm, SharingUnshareInputSchema as qn, FileCopyInput as qo, PasInfoSchema as qp, retryAllRssFeedItems as qr, FileWatchStatusErrorSpec as qs, RestoreTrashErrorSpec as qt, readConfigWith as qu, DEFAULT_PUTIO_WEB_APP_URL as r, RedeemPaymentVoucherError as ra, FolderType as rc, ForgotPasswordErrorSpec as rd, generateTOTP as rf, isPutioErrorEnvelope as rh, getPodcastLinks as ri, listFileSubtitles as rl, listAccountSubtitleLanguages as rm, listTrash as rn, denyFriendRequest as ro, queryOAuthApps as rp, getSharingCloneInfo as rr, FileExtractionsErrorSpec as rs, Transfer as rt, HistoryFileSharedEvent as ru, createPutioSdkEffectClient as s, StopSubscriptionError as sa, GetFileError as sc, GenerateTOTPErrorSpec as sd, getGiftCard as sf, mapDecodeErrorToValidationError as sh, CreateOpenNodeChargeError as si, queryFiles as sl, PutioHttpClient as sm, CreatePublicShareError as sn, listWaitingRequests as so, AppSpecificPassword as sp, shareFiles as sr, FileHlsStreamUrlOptions as ss, TransferAddTrackersInputSchema as st, HistoryPrivateTorrentPinEventSchema as su, DEFAULT_PUTIO_API_BASE_URL as t, PreviewPaymentChangePlanError as ta, FilesSearchQuery as tc, FamilyInviteLookupErrorSpec as td, exists as tf, isPutioApiError as th, PodcastLinksResponse as ti, listActiveMp4Conversions as tl, getAccountSettings as tm, deleteTrash as tn, approveFriendRequest as to, getOAuthApp as tp, getPublicShareFileUrl as tr, FileExtractionStatusSchema as ts, StopRecordingTransferError as tt, HistoryEventSchema as tu, makePutioSdkLiveClientLayer as u, SubmitPaymentChangePlanErrorSpec as ua, GetHlsMasterPlaylistErrorSpec as uc, GiftCardLookupError as ud, grants as uf, responseRateLimitHeaders as uh, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as ui, resetStartFrom as ul, PutioHttpResponse as um, CreateSharingCloneErrorSpec as un, sendFriendRequest as uo, CreateAppSpecificPasswordErrorSpec as up, ClearRssFeedLogsErrorSpec as ur, FileMediaInfo as us, TransferLink as ut, HistoryTransferCompletedEvent as uu, ListZipsError as v, getPaymentInfo as va, StartFromError as vc, LoginInput as vd, revokeApp as vf, GetPaymentVoucherInfoErrorSpec as vi, GetIftttStatusErrorSpec as vl, encodePathSegment as vm, GetSharedWithErrorSpec as vn, FriendInviteSchema as vo, ListAppSpecificPasswordsError as vp, ListRssFeedItemsErrorSpec as vr, FileMp4MutationError as vs, TransfersAddMultiError as vt, ListEventsError as vu, cancelZip as w, previewPaymentChangePlan as wa, buildFileApiMp4DownloadUrl as wc, OAuthAuthorizationCodeExchangeInputSchema as wd, DeleteOAuthAppError as wf, ListPaymentOptionsErrorSpec as wi, sendIftttEvent as wl, requestArrayBuffer as wm, ListPublicSharesErrorSpec as wn, CanWriteFileErrorSpec as wo, AccountClearOptions as wp, ResumeRssFeedErrorSpec as wr, FileSearchResponse as ws, addTransfer as wt, CreateDownloadLinksError as wu, ZipInfo as x, listPaymentInvites as xa, TouchFilesErrorSpec as xc, OAuthAuthorizationCodeExchangeError as xd, verifyTOTP as xf, ListPaymentInvitesError as xi, SendIftttEventError as xl, normalizePutioSdkOptions as xm, ListPublicShareFilesError as xn, createFriendInvite as xo, deleteAllAppSpecificPasswords as xp, PauseRssFeedError as xr, FileQuerySchema as xs, TransfersListQuerySchema as xt, deleteEvent as xu, ListZipsErrorSpec as y, getPaymentVoucherInfo as ya, StartFromErrorSpec as yc, LoginResponse as yd, revokeClient as yf, ListPaymentHistoryError as yi, IftttEventInput as yl, makePutioFetchClient as ym, GetSharingCloneInfoError as yn, ListFriendInvitesError as yo, ListAppSpecificPasswordsErrorSpec as yp, ListRssFeedsError as yr, FileMp4MutationErrorSpec as ys, TransfersContinueResponse as yt, ListEventsErrorSpec as yu, AddTransferError as z, FriendSharedFolderError as za, deleteFileSelection as zc, RevokeOAuthGrantError as zd, OAuthSetIconInput as zf, PaymentInvite as zi, RemoveFamilyMemberErrorSpec as zl, PutioKnownOperationErrorContract as zm, SharingCloneInfo as zn, FileBase as zo, AccountSettings as zp, clearRssFeedLogs as zr, FileUploadError as zs, ContinueTrashErrorSpec as zt, JsonValueSchema as zu };
|
|
9918
|
-
//# sourceMappingURL=index-
|
|
13647
|
+
export { RemoveTransfersErrorSpec as $, SendFriendRequestErrorSpec as $a, getMp4Status as $c, checkCodeMatch as $d, buildOAuthAuthorizeUrl as $f, PaymentTypeSchema as $i, GetEventTorrentError as $l, decodePutioErrorEnvelope as $m, createPublicShare as $n, FileExtraction as $o, clearAccount as $p, PodcastLinkType as $r, FilesListQuerySchema as $s, TrashListQuery as $t, ClientsError as $u, ListTunnelRoutesErrorSpec as A, ApproveFriendRequestError as Aa, continueSearch as Ac, RegisterError as Ad, MyOAuthAppSchema as Af, PaymentChangePlanPreviewSchema as Ai, FamilyInvitesResponse as Al, selectJsonFields as Am, PublicShareListQuerySchema as An, CreateFolderError as Ao, AccountConfirmationsErrorSpec as Ap, RssFeed as Ar, FileStartFromSetInput as As, countTransfers as At, DownloadLinksInfoSchema as Au, AddTransferError as B, FriendSharedFolderError as Ba, deleteFileSelection as Bc, RevokeOAuthGrantError as Bd, OAuthSetIconInput as Bf, PaymentInvite as Bi, RemoveFamilyMemberErrorSpec as Bl, PutioKnownOperationErrorContract as Bm, SharingCloneInfo as Bn, FileBase as Bo, AccountSettings as Bp, clearRssFeedLogs as Br, FileUploadError as Bs, ContinueTrashErrorSpec as Bt, JsonValueSchema as Bu, ZipStatusSchema as C, listPaymentOptions as Ca, buildFileApiContentUrl as Cc, OAuthAuthorizationCodeExchangeErrorCodeSchema as Cd, CreateOAuthAppError as Cf, ListPaymentInvitesErrorSpec as Ci, SendIftttEventErrorSpec as Cl, putioSdkLayer as Cm, ListPublicShareFilesErrorSpec as Cn, listFriendInvites as Co, deleteAppSpecificPassword as Cp, PauseRssFeedErrorSpec as Cr, FileRenameInput as Cs, TransfersListResponse as Ct, getEventTorrent as Cu, getZip as D, reportPayments as Da, buildFileXspfPlaylistUrl as Dc, RecoveryCodesErrorSpec as Dd, GetOAuthAppError as Df, ListPaymentPlansErrorSpec as Di, CreateFamilyInviteErrorSpec as Dl, requestText as Dm, ListSharedFilesErrorSpec as Dn, ContinueFilesErrorSpec as Do, AccountConfirmation as Dp, RetryAllRssFeedItemsErrorSpec as Dr, FileSetSortInputSchema as Ds, cancelTransfers as Dt, DownloadLinksCreateInput as Du, createZip as E, redeemPaymentVoucher as Ea, buildFileHlsStreamUrl as Ec, RecoveryCodesError as Ed, DeleteOAuthAppErrorSpec as Ef, ListPaymentPlansError as Ei, CreateFamilyInviteError as El, requestJson as Em, ListSharedFilesError as En, ContinueFilesError as Eo, AccountClearOptionsSchema as Ep, RetryAllRssFeedItemsError as Er, FileSetSortInput as Es, addTransferTrackers as Et, CreateDownloadLinksErrorSpec as Eu, RemoveRateLimitBanErrorSpec as F, DenyFriendRequestErrorSpec as Fa, createFileUploadFormData as Fc, ResetPasswordErrorSpec as Fd, OAuthAppSession as Ff, PaymentHistoryItemSchema as Fi, ListFamilyInvitesError as Fl, PutioAuthErrorValue as Fm, SharedFileSchema as Fn, FileActiveConversionSchema as Fo, AccountInfoBroad as Fp, RssFeedParams as Fr, FileTouchInput as Fs, reannounceTransfer as Ft, GetDownloadLinksError as Fu, GetTransferErrorSpec as G, ListSentRequestsErrorSpec as Ga, getApiContentUrl as Gc, ValidateTokenResponseSchema as Gd, PopularOAuthAppSchema as Gf, PaymentPaddleWaitingPaymentInput as Gi, removeFamilyMember as Gl, PutioOperationFailure as Gm, SharingShareInput as Gn, FileBroadSchema as Go, AccountWarnings as Gp, listRssFeeds as Gr, FileUploadTransfer as Gs, ListTrashError as Gt, getConfigKey as Gu, AddTransferTrackersError as H, ListFriendsError as Ha, extractFiles as Hc, TwoFactorRecoveryCodes as Hd, OwnedOAuthApp as Hf, PaymentOption as Hi, joinFamily as Hl, PutioOperationErrorFromSpec as Hm, SharingCloneInput as Hn, FileBreadcrumb as Ho, AccountSubtitleLanguage as Hp, deleteRssFeed as Hr, FileUploadInput as Hs, DeleteTrashErrorSpec as Ht, PutioJsonPrimitive as Hu, RemoveRateLimitBanInput as I, Friend as Ia, createFileUploadRequest as Ic, RevokeAllOAuthClientsError as Id, OAuthAppSessionSchema as If, PaymentHistoryQuery as Ii, ListFamilyInvitesErrorSpec as Il, PutioConfigurationError as Im, SharedFileShare as In, FileActiveConversionsError as Io, AccountInfoBroadSchema as Ip, RssFeedParamsSchema as Ir, FileTouchInputSchema as Is, removeTransfers as It, GetDownloadLinksErrorSpec as Iu, ListTransfersError as J, RemoveFriendError as Ja, getDownloadUrl as Jc, VerifyTOTPResponse as Jd, RegenerateOAuthAppTokenError as Jf, PaymentPlanTypeSchema as Ji, DeleteEventError as Jl, PutioSdkError as Jm, SharingUnshareInputSchema as Jn, FileCopyInput as Jo, PasInfoSchema as Jp, retryAllRssFeedItems as Jr, FileWatchStatusErrorSpec as Js, RestoreTrashErrorSpec as Jt, readConfigWith as Ju, GetTransferTorrentError as K, ListWaitingRequestsError as Ka, getApiDownloadUrl as Kc, VerifyTOTPError as Kd, QueryOAuthAppsError as Kf, PaymentPlanGroup as Ki, ClearEventsError as Kl, PutioRateLimitError as Km, SharingShareInputSchema as Kn, FileConversionStatus as Ko, AccountWarningsSchema as Kp, pauseRssFeed as Kr, FileVideoMetadata as Ks, ListTrashErrorSpec as Kt, getConfigKeyWith as Ku, removeRateLimitBan as L, FriendBase as La, createFolder as Lc, RevokeAllOAuthClientsErrorSpec as Ld, OAuthAppUpdateInput as Lf, PaymentInfo as Li, ListFamilyMembersError as Ll, PutioErrorEnvelope as Lm, SharedFileShareSchema as Ln, FileActiveConversionsErrorSpec as Lo, AccountInfoQuery as Lp, RssFeedSchema as Lr, FileType as Ls, retryTransfer as Lt, createDownloadLinks as Lu, TunnelRouteSchema as M, CountWaitingRequestsError as Ma, convertFileToMp4 as Mc, RegisterInput as Md, OAuthAppCreateInput as Mf, PaymentChangePlanSubmitResponse as Mi, FamilyMemberSchema as Ml, PutioApiError as Mm, ShareFilesError as Mn, DownloadUrlError as Mo, AccountDiskSchema as Mp, RssFeedItemFailedSchema as Mr, FileSubtitleSchema as Ms, getTransferInfo as Mt, DownloadLinksPayloadSchema as Mu, listTunnelRoutes as N, CountWaitingRequestsErrorSpec as Na, convertFilesToMp4 as Nc, RegisterInputSchema as Nd, OAuthAppCreateInputSchema as Nf, PaymentChangePlanSubmitSchema as Ni, JoinFamilyError as Nl, PutioApiErrorValue as Nm, ShareFilesErrorSpec as Nn, DownloadUrlErrorSpec as No, AccountInfoBase as Np, RssFeedItemSchema as Nr, FileSubtitlesError as Ns, getTransferTorrent as Nt, DownloadLinksStatus as Nu, listZips as O, stopPaymentSubscription as Oa, canWriteFile as Oc, RegenerateRecoveryCodesError as Od, GetOAuthAppErrorSpec as Of, PaymentChangePlanPreview as Oi, FamilyInvite as Ol, requestVoid as Om, PublicShare as On, CopyFileError as Oo, AccountConfirmationSchema as Op, RetryRssFeedItemError as Or, FileSort as Os, cleanTransfers as Ot, DownloadLinksCreateInputSchema as Ou, RemoveRateLimitBanError as P, DenyFriendRequestError as Pa, copyFile as Pc, ResetPasswordError as Pd, OAuthAppSchema as Pf, PaymentHistoryItem as Pi, JoinFamilyErrorSpec as Pl, PutioAuthError as Pm, SharedFile as Pn, FileActiveConversion as Po, AccountInfoBaseSchema as Pp, RssFeedItemSucceededSchema as Pr, FileSubtitlesErrorSpec as Ps, listTransfers as Pt, DownloadLinksStatusSchema as Pu, RemoveTransfersError as Q, SendFriendRequestError as Qa, getHlsStreamUrl as Qc, buildAuthLoginUrl as Qd, buildOAuthAppIconUrl as Qf, PaymentSubscriptionInfoSchema as Qi, EventsListResponse as Ql, PutioValidationError as Qm, continuePublicShareFiles as Qn, FileDirectAccessOptions as Qo, SaveAccountSettingsPayloadSchema as Qp, PodcastGetLinksInputSchema as Qr, FilesListQuery as Qs, TrashFileSchema as Qt, AuthorizationCodeSchema as Qu, AddManyTransfersError as R, FriendBaseSchema as Ra, deleteFileExtraction as Rc, RevokeOAuthClientError as Rd, OAuthAppUpdateInputSchema as Rf, PaymentInfoPlanSchema as Ri, ListFamilyMembersErrorSpec as Rl, PutioErrorEnvelopeSchema as Rm, SharedFileSharedWith as Rn, FileApiDownloadUrlOptions as Ro, AccountInfoQuerySchema as Rp, UpdateRssFeedError as Rr, FileTypeSchema as Rs, stopTransferRecording as Rt, getDownloadLinks as Ru, ZipInfo as S, listPaymentInvites as Sa, TouchFilesErrorSpec as Sc, OAuthAuthorizationCodeExchangeError as Sd, verifyTOTP as Sf, ListPaymentInvitesError as Si, SendIftttEventError as Sl, normalizePutioSdkOptions as Sm, ListPublicShareFilesError as Sn, createFriendInvite as So, deleteAllAppSpecificPasswords as Sp, PauseRssFeedError as Sr, FileQuerySchema as Ss, TransfersListQuerySchema as St, deleteEvent as Su, cancelZip as T, previewPaymentChangePlan as Ta, buildFileApiMp4DownloadUrl as Tc, OAuthAuthorizationCodeExchangeInputSchema as Td, DeleteOAuthAppError as Tf, ListPaymentOptionsErrorSpec as Ti, sendIftttEvent as Tl, requestArrayBuffer as Tm, ListPublicSharesErrorSpec as Tn, CanWriteFileErrorSpec as To, AccountClearOptions as Tp, ResumeRssFeedErrorSpec as Tr, FileSearchResponse as Ts, addTransfer as Tt, CreateDownloadLinksError as Tu, AddTransferTrackersErrorSpec as U, ListFriendsErrorSpec as Ua, findNextFile as Uc, TwoFactorRecoveryCodesSchema as Ud, OwnedOAuthAppSchema as Uf, PaymentOptionPlanTypeSchema as Ui, listFamilyInvites as Ul, PutioOperationErrorSpec as Um, SharingCloneInputSchema as Un, FileBreadcrumbSchema as Uo, AccountSubtitleLanguageSchema as Up, getRssFeed as Ur, FileUploadRequestDescriptor as Us, EmptyTrashError as Ut, PutioJsonValue as Uu, AddTransferErrorSpec as V, FriendSharedFolderErrorSpec as Va, deleteFiles as Vc, RevokeOAuthGrantErrorSpec as Vd, OAuthSetIconInputSchema as Vf, PaymentInviteSchema as Vi, createFamilyInvite as Vl, PutioOperationError as Vm, SharingCloneInfoSchema as Vn, FileBaseSchema as Vo, AccountSettingsSchema as Vp, createRssFeed as Vr, FileUploadErrorSpec as Vs, DeleteTrashError as Vt, PutioJsonObject as Vu, GetTransferError as W, ListSentRequestsError as Wa, findNextVideo as Wc, ValidateTokenResponse as Wd, PopularOAuthApp as Wf, PaymentOptionSchema as Wi, listFamilyMembers as Wl, PutioOperationErrorValue as Wm, SharingCloneStatusSchema as Wn, FileBroad as Wo, AccountTwoFactorSettingsSchema as Wp, listRssFeedItems as Wr, FileUploadResult as Ws, EmptyTrashErrorSpec as Wt, deleteConfigKey as Wu, ReannounceTransferError as X, SearchFriendsError as Xa, getFileChild as Xc, VoucherLookupError as Xd, UpdateOAuthAppError as Xf, PaymentProviderNameSchema as Xi, EventsListQuery as Xl, PutioTypedErrorEnvelope as Xm, UnshareFileErrorSpec as Xn, FileCore as Xo, SaveAccountSettingsErrorSpec as Xp, updateRssFeed as Xr, FilesBulkSelection as Xs, TrashContinueResponse as Xt, writeConfig as Xu, ListTransfersErrorSpec as Y, RemoveFriendErrorSpec as Ya, getFile as Yc, VerifyTOTPResponseSchema as Yd, RegenerateOAuthAppTokenErrorSpec as Yf, PaymentProvider as Yi, DeleteEventErrorSpec as Yl, PutioTransportError as Ym, UnshareFileError as Yn, FileCopyInputSchema as Yo, SaveAccountSettingsError as Yp, retryRssFeedItem as Yr, FileXspfPlaylistUrlOptions as Ys, TrashBulkInput as Yt, setConfigKey as Yu, ReannounceTransferErrorSpec as Z, SearchFriendsErrorSpec as Za, getHlsMasterPlaylist as Zc, VoucherLookupErrorSpec as Zd, UpdateOAuthAppErrorSpec as Zf, PaymentProviderSchema as Zi, EventsListQuerySchema as Zl, PutioUnhandledSdkError as Zm, cloneSharedFiles as Zn, FileCreateFolderInput as Zo, SaveAccountSettingsPayload as Zp, PodcastGetLinksInput as Zr, FilesListEnvelopeSchema as Zs, TrashFile as Zt, AuthGetCodeInput as Zu, GetZipError as _, createPaddleWaitingPayment as _a, SearchFilesError as _c, LoginError as _d, resetPassword as _f, GetPaymentInfoErrorSpec as _i, uploadFile as _l, PutioSdkOptions as _m, GetPublicShareFileUrlErrorSpec as _n, FriendInviteJoinedUserStatus as _o, DeleteAppSpecificPasswordError as _p, GetRssFeedErrorSpec as _r, FileMp4Error as _s, TransferType as _t, HistoryZipCreatedEvent as _u, PutioSdkEffectClient as a, RedeemPaymentVoucherErrorSpec as aa, FolderTypeSchema as ac, FriendInviteLookupError as ad, getCode as af, isPutioOperationError as ah, ClassifiedPaymentChangePlanSubmitResponse as ai, moveFileSelection as al, saveAccountSettings as am, restoreTrash as an, getFriendSharedFolder as ao, regenerateOAuthAppToken as ap, listPublicShareFiles as ar, FileGetChildInput as as, TransferAddInput as at, HistoryFileSharedEventSchema as au, ListZipsErrorSpec as b, getPaymentVoucherInfo as ba, StartFromErrorSpec as bc, LoginResponse as bd, revokeClient as bf, ListPaymentHistoryError as bi, IftttEventInput as bl, makePutioFetchClient as bm, GetSharingCloneInfoError as bn, ListFriendInvitesError as bo, ListAppSpecificPasswordsErrorSpec as bp, ListRssFeedsError as br, FileMp4MutationErrorSpec as bs, TransfersContinueResponse as bt, ListEventsErrorSpec as bu, createPutioSdkEffectClient as c, StopSubscriptionError as ca, GetFileError as cc, GenerateTOTPErrorSpec as cd, getGiftCard as cf, mapDecodeErrorToValidationError as ch, CreateOpenNodeChargeError as ci, queryFiles as cl, PutioHttpClient as cm, CreatePublicShareError as cn, listWaitingRequests as co, AppSpecificPassword as cp, shareFiles as cr, FileHlsStreamUrlOptions as cs, TransferAddTrackersInputSchema as ct, HistoryPrivateTorrentPinEventSchema as cu, makePutioSdkLiveClientLayer as d, SubmitPaymentChangePlanErrorSpec as da, GetHlsMasterPlaylistErrorSpec as dc, GiftCardLookupError as dd, grants as df, responseRateLimitHeaders as dh, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as di, resetStartFrom as dl, PutioHttpResponse as dm, CreateSharingCloneErrorSpec as dn, sendFriendRequest as do, CreateAppSpecificPasswordErrorSpec as dp, ClearRssFeedLogsErrorSpec as dr, FileMediaInfo as ds, TransferLink as dt, HistoryTransferCompletedEvent as du, PaymentVoucherInfo as ea, FilesMoveError as ec, ClientsErrorSpec as ed, clients as ef, definePutioOperationErrorSpec as eh, PodcastLinkTypeSchema as ei, getStartFrom as el, destroyAccount as em, TrashListResponse as en, UserSearchResult as eo, createOAuthApp as ep, deletePublicShare as er, FileExtractionSchema as es, RetryTransferError as et, GetEventTorrentErrorSpec as eu, CancelZipError as f, UserSubscriptionStatusSchema as fa, QueryFilesError as fc, GiftCardLookupErrorSpec as fd, linkDevice as ff, toPutioResponseError as fh, CreatePaddleWaitingPaymentError as fi, searchFiles as fl, PutioPathSegment as fm, DeletePublicShareError as fn, CreateFriendInviteError as fo, CreateAppSpecificPasswordInput as fp, CreateRssFeedError as fr, FileMediaInfoFormatSchema as fs, TransferRemoveInput as ft, HistoryTransferCompletedEventSchema as fu, CreateZipInput as g, createPaddleBillingUpdatePaymentMethodTransaction as ga, SHARED_WITH_YOU_ROOT_ID as gc, LinkDeviceErrorSpec as gd, register as gf, GetPaymentInfoError as gi, touchFiles as gl, PutioSdkContext as gm, GetPublicShareFileUrlError as gn, FriendInviteJoinedUserSchema as go, DeleteAllAppSpecificPasswordsErrorSpec as gp, GetRssFeedError as gr, FileMediaMetadataSchema as gs, TransferStatusSchema as gt, HistoryVoucherEventSchema as gu, CreateZipErrorSpec as h, createOpenNodeCharge as ha, RenameFileErrorSpec as hc, LinkDeviceError as hd, regenerateRecoveryCodes as hf, GetPaddleBillingInvoiceUrlErrorSpec as hi, setStartFrom as hl, PutioSdkConfig as hm, GetPublicShareErrorSpec as hn, FriendInviteJoinedUser as ho, DeleteAllAppSpecificPasswordsError as hp, DeleteRssFeedErrorSpec as hr, FileMediaMetadata as hs, TransferStatus as ht, HistoryUploadEventSchema as hu, PutioSdk as i, RedeemPaymentVoucherError as ia, FolderType as ic, ForgotPasswordErrorSpec as id, generateTOTP as if, isPutioErrorEnvelope as ih, getPodcastLinks as ii, listFileSubtitles as il, listAccountSubtitleLanguages as im, listTrash as in, denyFriendRequest as io, queryOAuthApps as ip, getSharingCloneInfo as ir, FileExtractionsErrorSpec as is, Transfer as it, HistoryFileSharedEvent as iu, TunnelRoute as j, ApproveFriendRequestErrorSpec as ja, convertFileSelectionToMp4 as jc, RegisterErrorSpec as jd, OAuthApp as jf, PaymentChangePlanSubmitInput as ji, FamilyMember as jl, AnyPutioOperationError as jm, PublicShareSchema as jn, CreateFolderErrorSpec as jo, AccountDisk as jp, RssFeedItem as jr, FileSubtitle as js, getTransfer as jt, DownloadLinksPayload as ju, ListTunnelRoutesError as k, submitPaymentChangePlan as ka, continueFiles as kc, RegenerateRecoveryCodesErrorSpec as kd, MyOAuthApp as kf, PaymentChangePlanPreviewInput as ki, FamilyInviteSchema as kl, selectJsonField as km, PublicShareListQuery as kn, CopyFileErrorSpec as ko, AccountConfirmationsError as kp, RetryRssFeedItemErrorSpec as kr, FileSortSchema as ks, continueTransfers as kt, DownloadLinksInfo as ku, createPutioSdkPromiseClient as l, StopSubscriptionErrorSpec as la, GetFileErrorSpec as lc, GenerateTOTPResponse as ld, getRecoveryCodes as lf, mapTransportError as lh, CreateOpenNodeChargeErrorSpec as li, renameFile as ll, PutioHttpClientService as lm, CreatePublicShareErrorSpec as ln, removeFriend as lo, AppSpecificPasswordSchema as lp, unshareFile as lr, FileListContinuationResponse as ls, TransferBaseSchema as lt, HistoryRssFilterPausedEventSchema as lu, CreateZipError as m, confirmFastspringOrder as ma, RenameFileError as mc, GrantsErrorSpec as md, logout as mf, GetPaddleBillingInvoiceUrlError as mi, setFilesWatchStatus as ml, PutioQueryValue as mm, GetPublicShareError as mn, FriendInvite as mo, CreateAppSpecificPasswordResult as mp, DeleteRssFeedError as mr, FileMediaInfoStreamSchema as ms, TransferSchema as mt, HistoryTransferFromRssErrorEventSchema as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, PreviewPaymentChangePlanError as na, FilesSearchQuery as nc, FamilyInviteLookupErrorSpec as nd, exists as nf, isPutioApiError as nh, PodcastLinksResponse as ni, listActiveMp4Conversions as nl, getAccountSettings as nm, deleteTrash as nn, approveFriendRequest as no, getOAuthApp as np, getPublicShareFileUrl as nr, FileExtractionStatusSchema as ns, StopRecordingTransferError as nt, HistoryEventSchema as nu, PutioSdkPromiseClient as o, ReportPaymentsError as oa, GetFileChildError as oc, FriendInviteLookupErrorSpec as od, getFamilyInvite as of, isPutioRateLimitError as oh, ConfirmFastspringOrderError as oi, moveFiles as ol, OkResponseSchema as om, ContinuePublicShareFilesError as on, listFriends as oo, setOAuthAppIcon as op, listPublicShares as or, FileGetChildInputSchema as os, TransferAddInputSchema as ot, HistoryKnownEventType as ou, CancelZipErrorSpec as p, classifyPaymentChangePlanResponse as pa, QueryFilesErrorSpec as pc, GrantsError as pd, login as pf, withOperationErrors as ph, CreatePaddleWaitingPaymentErrorSpec as pi, setFileSort as pl, PutioQuery as pm, DeletePublicShareErrorSpec as pn, CreateFriendInviteErrorSpec as po, CreateAppSpecificPasswordInputSchema as pp, CreateRssFeedErrorSpec as pr, FileMediaInfoSchema as ps, TransferRemoveInputSchema as pt, HistoryTransferErrorEventSchema as pu, GetTransferTorrentErrorSpec as q, ListWaitingRequestsErrorSpec as qa, getApiMp4DownloadUrl as qc, VerifyTOTPErrorSpec as qd, QueryOAuthAppsErrorSpec as qf, PaymentPlanGroupSchema as qi, ClearEventsErrorSpec as ql, PutioRateLimitErrorValue as qm, SharingUnshareInput as qn, FileConversionStatusSchema as qo, PasInfo as qp, resumeRssFeed as qr, FileWatchStatusError as qs, RestoreTrashError as qt, readConfig as qu, DEFAULT_PUTIO_WEB_APP_URL as r, PreviewPaymentChangePlanErrorSpec as ra, FilesSearchQuerySchema as rc, ForgotPasswordError as rd, forgotPassword as rf, isPutioAuthError as rh, PodcastLinksSchema as ri, listFileExtractions as rl, listAccountConfirmations as rm, emptyTrash as rn, countWaitingRequests as ro, getPopularOAuthApps as rp, getSharedWith as rr, FileExtractionsError as rs, StopRecordingTransferErrorSpec as rt, HistoryFileFromRssDeletedEventSchema as ru, PutioSdkPromiseOperations as s, ReportPaymentsErrorSpec as sa, GetFileChildErrorSpec as sc, GenerateTOTPError as sd, getFriendInvite as sf, mapConfigurationError as sh, ConfirmFastspringOrderErrorSpec as si, putMp4ToMyFiles as sl, PutioAuth as sm, ContinuePublicShareFilesErrorSpec as sn, listSentRequests as so, updateOAuthApp as sp, listSharedFiles as sr, FileHlsMasterPlaylistOptions as ss, TransferAddTrackersInput as st, HistoryKnownEventTypeSchema as su, DEFAULT_PUTIO_API_BASE_URL as t, PaymentVoucherInfoSchema as ta, FilesMoveErrorSchema as tc, FamilyInviteLookupError as td, exchangeOAuthAuthorizationCode as tf, fallbackPutioErrorEnvelope as th, PodcastLinks as ti, getXspfPlaylistUrl as tl, getAccountInfo as tm, continueTrash as tn, UserSearchResultSchema as to, deleteOAuthApp as tp, getPublicShare as tr, FileExtractionStatus as ts, RetryTransferErrorSpec as tt, HistoryEvent as tu, makePutioSdkEffectClientLayer as u, SubmitPaymentChangePlanError as ua, GetHlsMasterPlaylistError as uc, GenerateTOTPResponseSchema as ud, getVoucher as uf, parseErrorBody as uh, CreatePaddleBillingUpdatePaymentMethodTransactionError as ui, resetFileSortSettings as ul, PutioHttpRequest as um, CreateSharingCloneError as un, searchFriends as uo, CreateAppSpecificPasswordError as up, ClearRssFeedLogsError as ur, FileListResponse as us, TransferInfoItem as ut, HistoryTransferCallbackErrorEventSchema as uu, GetZipErrorSpec as v, getPaddleBillingInvoiceUrl as va, SearchFilesErrorSpec as vc, LoginErrorSpec as vd, revokeAllClients as vf, GetPaymentVoucherInfoError as vi, GetIftttStatusError as vl, buildPutioUrl as vm, GetSharedWithError as vn, FriendInviteJoinedUserStatusSchema as vo, DeleteAppSpecificPasswordErrorSpec as vp, ListRssFeedItemsError as vr, FileMp4ErrorSpec as vs, TransferTypeSchema as vt, HistoryZipCreatedEventSchema as vu, ZipSummary as w, listPaymentPlans as wa, buildFileApiDownloadUrl as wc, OAuthAuthorizationCodeExchangeInput as wd, CreateOAuthAppErrorSpec as wf, ListPaymentOptionsError as wi, getIftttStatus as wl, putioSdkLiveLayer as wm, ListPublicSharesError as wn, CanWriteFileError as wo, listAppSpecificPasswords as wp, ResumeRssFeedError as wr, FileResponseFor as ws, addManyTransfers as wt, listEvents as wu, ZipCreateResponse as x, listPaymentHistory as xa, TouchFilesError as xc, LoginResponseSchema as xd, validateToken as xf, ListPaymentHistoryErrorSpec as xi, IftttEventType as xl, makePutioFetchLayer as xm, GetSharingCloneInfoErrorSpec as xn, ListFriendInvitesErrorSpec as xo, createAppSpecificPassword as xp, ListRssFeedsErrorSpec as xr, FileQuery as xs, TransfersListQuery as xt, clearEvents as xu, ListZipsError as y, getPaymentInfo as ya, StartFromError as yc, LoginInput as yd, revokeApp as yf, GetPaymentVoucherInfoErrorSpec as yi, GetIftttStatusErrorSpec as yl, encodePathSegment as ym, GetSharedWithErrorSpec as yn, FriendInviteSchema as yo, ListAppSpecificPasswordsError as yp, ListRssFeedItemsErrorSpec as yr, FileMp4MutationError as ys, TransfersAddMultiError as yt, ListEventsError as yu, AddManyTransfersErrorSpec as z, FriendSchema as za, deleteFileMp4 as zc, RevokeOAuthClientErrorSpec as zd, OAuthAppWithTokenSchema as zf, PaymentInfoSchema as zi, RemoveFamilyMemberError as zl, PutioKnownErrorContract as zm, SharedFileSharedWithSchema as zn, FileApiMp4DownloadUrlOptions as zo, AccountInfoResponseFor as zp, UpdateRssFeedErrorSpec as zr, FileUploadEnvelope as zs, ContinueTrashError as zt, JsonObjectSchema as zu };
|
|
13648
|
+
//# sourceMappingURL=index-BOD2bQhk.d.ts.map
|