@putdotio/sdk 9.0.0 → 9.0.1
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 +8 -6
- package/dist/index.d.ts +652 -664
- package/dist/index.js +284 -303
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import * as _effect_platform0 from "@effect/platform";
|
|
2
1
|
import { Headers, HttpClient } from "@effect/platform";
|
|
3
2
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
4
3
|
import * as effect_Types0 from "effect/Types";
|
|
5
4
|
import * as effect_Cause0 from "effect/Cause";
|
|
6
5
|
import * as effect_SchemaAST0 from "effect/SchemaAST";
|
|
7
6
|
import * as effect_ParseResult0 from "effect/ParseResult";
|
|
8
|
-
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
9
7
|
|
|
10
8
|
//#region src/core/errors.d.ts
|
|
11
9
|
declare const PutioErrorEnvelopeSchema: Schema.Struct<{
|
|
@@ -129,7 +127,8 @@ declare const parseErrorBody: (status: number, json: unknown) => Effect.Effect<{
|
|
|
129
127
|
readonly error_message?: string | undefined;
|
|
130
128
|
readonly details?: unknown;
|
|
131
129
|
}, never, never>;
|
|
132
|
-
declare
|
|
130
|
+
declare function withOperationErrors<A, E extends PutioSdkError, R, const TDomain extends string, const TOperation extends string, const TContracts extends ReadonlyArray<PutioKnownErrorContract>>(effect: Effect.Effect<A, E, R>, spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>): Effect.Effect<A, E | PutioOperationError<TDomain, TOperation, TContracts[number]>, R>;
|
|
131
|
+
declare function withOperationErrors<const TDomain extends string, const TOperation extends string, const TContracts extends ReadonlyArray<PutioKnownErrorContract>>(spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>): <A, E extends PutioSdkError, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E | PutioOperationError<TDomain, TOperation, TContracts[number]>, R>;
|
|
133
132
|
//#endregion
|
|
134
133
|
//#region src/core/http.d.ts
|
|
135
134
|
type PutioQueryValue = string | number | boolean | null | undefined;
|
|
@@ -142,6 +141,7 @@ interface PutioSdkConfigShape {
|
|
|
142
141
|
}
|
|
143
142
|
declare const PutioSdkConfig_base: Context.TagClass<PutioSdkConfig, "PutioSdkConfig", PutioSdkConfigShape>;
|
|
144
143
|
declare class PutioSdkConfig extends PutioSdkConfig_base {}
|
|
144
|
+
type PutioSdkContext = PutioSdkConfig | HttpClient.HttpClient;
|
|
145
145
|
declare const makePutioSdkConfig: (config: PutioSdkConfigShape) => PutioSdkConfigShape;
|
|
146
146
|
declare const makePutioSdkLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig, never, never>;
|
|
147
147
|
declare const buildPutioUrl: (baseUrl: string | URL, path: string, query?: PutioQuery) => string;
|
|
@@ -181,9 +181,11 @@ interface PutioRequestOptions {
|
|
|
181
181
|
readonly auth?: PutioAuth;
|
|
182
182
|
readonly body?: PutioRequestBody;
|
|
183
183
|
}
|
|
184
|
-
declare const requestJson: <A, I, R>(schema: Schema.Schema<A, I, R>, options: PutioRequestOptions) => Effect.Effect<A, PutioSdkError,
|
|
185
|
-
declare const
|
|
186
|
-
declare const
|
|
184
|
+
declare const requestJson: <A, I, R>(schema: Schema.Schema<A, I, R>, options: PutioRequestOptions) => Effect.Effect<A, PutioSdkError, PutioSdkContext | R>;
|
|
185
|
+
declare const selectJsonField: <K extends string>(field: K) => <A extends Record<K, unknown>, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A[K], E, R>;
|
|
186
|
+
declare const selectJsonFields: <const K extends readonly string[]>(...fields: K) => <A extends Record<K[number], unknown>, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<Pick<A, K[number]>, E, R>;
|
|
187
|
+
declare const requestArrayBuffer: (options: PutioRequestOptions) => Effect.Effect<Uint8Array, PutioSdkError, PutioSdkContext>;
|
|
188
|
+
declare const requestVoid: (options: PutioRequestOptions) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
|
|
187
189
|
//#endregion
|
|
188
190
|
//#region src/domains/account.d.ts
|
|
189
191
|
declare const AccountDiskSchema: Schema.Struct<{
|
|
@@ -359,6 +361,8 @@ declare const AccountTwoFactorSettingsSchema: Schema.Struct<{
|
|
|
359
361
|
enable: typeof Schema.Boolean;
|
|
360
362
|
}>;
|
|
361
363
|
declare const SaveAccountSettingsPayloadSchema: Schema.Union<[Schema.SchemaClass<{
|
|
364
|
+
readonly start_from?: boolean | undefined;
|
|
365
|
+
readonly sort_by?: string | undefined;
|
|
362
366
|
readonly beta_user?: boolean | undefined;
|
|
363
367
|
readonly callback_url?: string | null | undefined;
|
|
364
368
|
readonly dark_theme?: boolean | undefined;
|
|
@@ -373,8 +377,6 @@ declare const SaveAccountSettingsPayloadSchema: Schema.Union<[Schema.SchemaClass
|
|
|
373
377
|
readonly next_episode?: boolean | undefined;
|
|
374
378
|
readonly pushover_token?: string | null | undefined;
|
|
375
379
|
readonly show_optimistic_usage?: boolean | undefined;
|
|
376
|
-
readonly sort_by?: string | undefined;
|
|
377
|
-
readonly start_from?: boolean | undefined;
|
|
378
380
|
readonly subtitle_languages?: readonly (string | null)[] | undefined;
|
|
379
381
|
readonly theater_mode?: boolean | undefined;
|
|
380
382
|
readonly theme?: "dark" | "light" | "auto" | undefined;
|
|
@@ -386,6 +388,8 @@ declare const SaveAccountSettingsPayloadSchema: Schema.Union<[Schema.SchemaClass
|
|
|
386
388
|
readonly use_start_from?: boolean | undefined;
|
|
387
389
|
readonly video_player?: "html5" | "flash" | null | undefined;
|
|
388
390
|
}, {
|
|
391
|
+
readonly start_from?: boolean | undefined;
|
|
392
|
+
readonly sort_by?: string | undefined;
|
|
389
393
|
readonly beta_user?: boolean | undefined;
|
|
390
394
|
readonly callback_url?: string | null | undefined;
|
|
391
395
|
readonly dark_theme?: boolean | undefined;
|
|
@@ -400,8 +404,6 @@ declare const SaveAccountSettingsPayloadSchema: Schema.Union<[Schema.SchemaClass
|
|
|
400
404
|
readonly next_episode?: boolean | undefined;
|
|
401
405
|
readonly pushover_token?: string | null | undefined;
|
|
402
406
|
readonly show_optimistic_usage?: boolean | undefined;
|
|
403
|
-
readonly sort_by?: string | undefined;
|
|
404
|
-
readonly start_from?: boolean | undefined;
|
|
405
407
|
readonly subtitle_languages?: readonly (string | null)[] | undefined;
|
|
406
408
|
readonly theater_mode?: boolean | undefined;
|
|
407
409
|
readonly theme?: "dark" | "light" | "auto" | undefined;
|
|
@@ -463,7 +465,6 @@ type AccountInfoResponseFor<TQuery extends AccountInfoQuery> = AccountInfoBase &
|
|
|
463
465
|
} : {}) & (TQuery["push_token"] extends 1 ? {
|
|
464
466
|
readonly push_token: string;
|
|
465
467
|
} : {});
|
|
466
|
-
type PutioSdkContext$17 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
467
468
|
declare const SaveAccountSettingsErrorSpec: PutioOperationErrorSpec<"account", "saveSettings", readonly [{
|
|
468
469
|
readonly errorType: "INVALID_CURRENT_PASSWORD";
|
|
469
470
|
readonly statusCode: 400;
|
|
@@ -531,44 +532,44 @@ declare function getAccountInfo(query: {
|
|
|
531
532
|
}): Effect.Effect<AccountInfoBase & {
|
|
532
533
|
readonly download_token: string;
|
|
533
534
|
readonly pas: PasInfo;
|
|
534
|
-
}, PutioSdkError, PutioSdkContext
|
|
535
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
535
536
|
declare function getAccountInfo(query: {
|
|
536
537
|
readonly download_token: 1;
|
|
537
538
|
}): Effect.Effect<AccountInfoBase & {
|
|
538
539
|
readonly download_token: string;
|
|
539
|
-
}, PutioSdkError, PutioSdkContext
|
|
540
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
540
541
|
declare function getAccountInfo(query: {
|
|
541
542
|
readonly features: 1;
|
|
542
543
|
}): Effect.Effect<AccountInfoBase & {
|
|
543
544
|
readonly features: Record<string, boolean>;
|
|
544
|
-
}, PutioSdkError, PutioSdkContext
|
|
545
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
545
546
|
declare function getAccountInfo(query: {
|
|
546
547
|
readonly intercom: 1;
|
|
547
548
|
readonly platform?: string;
|
|
548
549
|
}): Effect.Effect<AccountInfoBase & {
|
|
549
550
|
readonly user_hash: string;
|
|
550
|
-
}, PutioSdkError, PutioSdkContext
|
|
551
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
551
552
|
declare function getAccountInfo(query: {
|
|
552
553
|
readonly pas: 1;
|
|
553
554
|
}): Effect.Effect<AccountInfoBase & {
|
|
554
555
|
readonly pas: PasInfo;
|
|
555
|
-
}, PutioSdkError, PutioSdkContext
|
|
556
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
556
557
|
declare function getAccountInfo(query: {
|
|
557
558
|
readonly profitwell: 1;
|
|
558
559
|
}): Effect.Effect<AccountInfoBase & {
|
|
559
560
|
readonly paddle_user_id: number | null;
|
|
560
|
-
}, PutioSdkError, PutioSdkContext
|
|
561
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
561
562
|
declare function getAccountInfo(query: {
|
|
562
563
|
readonly push_token: 1;
|
|
563
564
|
}): Effect.Effect<AccountInfoBase & {
|
|
564
565
|
readonly push_token: string;
|
|
565
|
-
}, PutioSdkError, PutioSdkContext
|
|
566
|
-
declare function getAccountInfo(query: AccountInfoQuery): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext
|
|
567
|
-
declare const getAccountSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext
|
|
568
|
-
declare const saveAccountSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext
|
|
569
|
-
declare const clearAccount: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext
|
|
570
|
-
declare const destroyAccount: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext
|
|
571
|
-
declare const listAccountConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext
|
|
566
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
567
|
+
declare function getAccountInfo(query: AccountInfoQuery): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext>;
|
|
568
|
+
declare const getAccountSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
|
|
569
|
+
declare const saveAccountSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
|
|
570
|
+
declare const clearAccount: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
571
|
+
declare const destroyAccount: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
572
|
+
declare const listAccountConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext>;
|
|
572
573
|
//#endregion
|
|
573
574
|
//#region src/domains/oauth.d.ts
|
|
574
575
|
declare const OAuthAppSchema: Schema.Struct<{
|
|
@@ -693,7 +694,6 @@ type OAuthAppSession = Schema.Schema.Type<typeof OAuthAppSessionSchema>;
|
|
|
693
694
|
type OAuthAppCreateInput = Schema.Schema.Type<typeof OAuthAppCreateInputSchema>;
|
|
694
695
|
type OAuthAppUpdateInput = Schema.Schema.Type<typeof OAuthAppUpdateInputSchema>;
|
|
695
696
|
type OAuthSetIconInput = Schema.Schema.Type<typeof OAuthSetIconInputSchema>;
|
|
696
|
-
type PutioSdkContext$16 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
697
697
|
declare const QueryOAuthAppsErrorSpec: PutioOperationErrorSpec<"oauth", "query", readonly [{
|
|
698
698
|
readonly errorType: "invalid_scope";
|
|
699
699
|
readonly statusCode: 401;
|
|
@@ -734,16 +734,16 @@ declare const buildOAuthAppIconUrl: (options: {
|
|
|
734
734
|
readonly id: number;
|
|
735
735
|
readonly oauthToken: string;
|
|
736
736
|
}) => string;
|
|
737
|
-
declare const queryOAuthApps: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError, PutioSdkContext
|
|
737
|
+
declare const queryOAuthApps: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError, PutioSdkContext>;
|
|
738
738
|
declare const getOAuthApp: (id: number, options?: {
|
|
739
739
|
readonly edit?: boolean;
|
|
740
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError, PutioSdkContext
|
|
741
|
-
declare const setOAuthAppIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext
|
|
742
|
-
declare const createOAuthApp: (input: OAuthAppCreateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppEnvelopeSchema>, CreateOAuthAppError, PutioSdkContext
|
|
743
|
-
declare const updateOAuthApp: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError, PutioSdkContext
|
|
744
|
-
declare const deleteOAuthApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError, PutioSdkContext
|
|
745
|
-
declare const regenerateOAuthAppToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError, PutioSdkContext
|
|
746
|
-
declare const getPopularOAuthApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError, PutioSdkContext
|
|
740
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError, PutioSdkContext>;
|
|
741
|
+
declare const setOAuthAppIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
742
|
+
declare const createOAuthApp: (input: OAuthAppCreateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppEnvelopeSchema>, CreateOAuthAppError, PutioSdkContext>;
|
|
743
|
+
declare const updateOAuthApp: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError, PutioSdkContext>;
|
|
744
|
+
declare const deleteOAuthApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError, PutioSdkContext>;
|
|
745
|
+
declare const regenerateOAuthAppToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError, PutioSdkContext>;
|
|
746
|
+
declare const getPopularOAuthApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError, PutioSdkContext>;
|
|
747
747
|
//#endregion
|
|
748
748
|
//#region src/domains/auth.d.ts
|
|
749
749
|
declare const LoginResponseSchema: Schema.Struct<{
|
|
@@ -831,7 +831,6 @@ type TwoFactorRecoveryCodes = Schema.Schema.Type<typeof TwoFactorRecoveryCodesSc
|
|
|
831
831
|
type GenerateTOTPResponse = Schema.Schema.Type<typeof GenerateTOTPResponseSchema>;
|
|
832
832
|
type VerifyTOTPResponse = Schema.Schema.Type<typeof VerifyTOTPResponseSchema>;
|
|
833
833
|
type RegisterInput = Schema.Schema.Type<typeof RegisterInputSchema>;
|
|
834
|
-
type PutioSdkContext$15 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
835
834
|
declare const LoginErrorSpec: PutioOperationErrorSpec<"auth", "login", readonly [{
|
|
836
835
|
readonly statusCode: 401;
|
|
837
836
|
}, {
|
|
@@ -1008,36 +1007,36 @@ declare const login: (input: {
|
|
|
1008
1007
|
readonly username: string;
|
|
1009
1008
|
readonly clientName?: string;
|
|
1010
1009
|
readonly fingerprint?: string;
|
|
1011
|
-
}) => Effect.Effect<LoginResponse, LoginError, PutioSdkContext
|
|
1012
|
-
declare const logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext
|
|
1010
|
+
}) => Effect.Effect<LoginResponse, LoginError, PutioSdkContext>;
|
|
1011
|
+
declare const logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
1013
1012
|
declare const register: (input: RegisterInput) => Effect.Effect<{
|
|
1014
1013
|
readonly access_token: string;
|
|
1015
|
-
}, RegisterError, PutioSdkContext
|
|
1016
|
-
declare const exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError, PutioSdkContext
|
|
1017
|
-
declare const getVoucher: (code: string) => Effect.Effect<Schema.Schema.Type<typeof VoucherEnvelopeSchema>["voucher"], VoucherLookupError, PutioSdkContext
|
|
1018
|
-
declare const getGiftCard: (code: string) => Effect.Effect<Schema.Schema.Type<typeof GiftCardEnvelopeSchema>["gift_card"], GiftCardLookupError, PutioSdkContext
|
|
1019
|
-
declare const getFamilyInvite: (code: string) => Effect.Effect<Schema.Schema.Type<typeof FamilyInviteEnvelopeSchema>["invite"], FamilyInviteLookupError, PutioSdkContext
|
|
1020
|
-
declare const getFriendInvite: (code: string) => Effect.Effect<Schema.Schema.Type<typeof FriendInviteEnvelopeSchema>["invite"], FriendInviteLookupError, PutioSdkContext
|
|
1021
|
-
declare const forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError, PutioSdkContext
|
|
1014
|
+
}, RegisterError, PutioSdkContext>;
|
|
1015
|
+
declare const exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError, PutioSdkContext>;
|
|
1016
|
+
declare const getVoucher: (code: string) => Effect.Effect<Schema.Schema.Type<typeof VoucherEnvelopeSchema>["voucher"], VoucherLookupError, PutioSdkContext>;
|
|
1017
|
+
declare const getGiftCard: (code: string) => Effect.Effect<Schema.Schema.Type<typeof GiftCardEnvelopeSchema>["gift_card"], GiftCardLookupError, PutioSdkContext>;
|
|
1018
|
+
declare const getFamilyInvite: (code: string) => Effect.Effect<Schema.Schema.Type<typeof FamilyInviteEnvelopeSchema>["invite"], FamilyInviteLookupError, PutioSdkContext>;
|
|
1019
|
+
declare const getFriendInvite: (code: string) => Effect.Effect<Schema.Schema.Type<typeof FriendInviteEnvelopeSchema>["invite"], FriendInviteLookupError, PutioSdkContext>;
|
|
1020
|
+
declare const forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError, PutioSdkContext>;
|
|
1022
1021
|
declare const resetPassword: (key: string, password: string) => Effect.Effect<{
|
|
1023
1022
|
readonly access_token: string;
|
|
1024
|
-
}, ResetPasswordError, PutioSdkContext
|
|
1023
|
+
}, ResetPasswordError, PutioSdkContext>;
|
|
1025
1024
|
declare const getCode: (input: {
|
|
1026
1025
|
readonly appId: number | string;
|
|
1027
1026
|
readonly clientName?: string;
|
|
1028
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError, PutioSdkContext
|
|
1029
|
-
declare const checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError, PutioSdkContext
|
|
1030
|
-
declare const linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError, PutioSdkContext
|
|
1031
|
-
declare const grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError, PutioSdkContext
|
|
1032
|
-
declare const revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError, PutioSdkContext
|
|
1033
|
-
declare const clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError, PutioSdkContext
|
|
1034
|
-
declare const revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError, PutioSdkContext
|
|
1035
|
-
declare const revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError, PutioSdkContext
|
|
1036
|
-
declare const validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext
|
|
1037
|
-
declare const generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError, PutioSdkContext
|
|
1038
|
-
declare const verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError, PutioSdkContext
|
|
1039
|
-
declare const getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError, PutioSdkContext
|
|
1040
|
-
declare const regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError, PutioSdkContext
|
|
1027
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError, PutioSdkContext>;
|
|
1028
|
+
declare const checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError, PutioSdkContext>;
|
|
1029
|
+
declare const linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError, PutioSdkContext>;
|
|
1030
|
+
declare const grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError, PutioSdkContext>;
|
|
1031
|
+
declare const revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError, PutioSdkContext>;
|
|
1032
|
+
declare const clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError, PutioSdkContext>;
|
|
1033
|
+
declare const revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError, PutioSdkContext>;
|
|
1034
|
+
declare const revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError, PutioSdkContext>;
|
|
1035
|
+
declare const validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
|
|
1036
|
+
declare const generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError, PutioSdkContext>;
|
|
1037
|
+
declare const verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError, PutioSdkContext>;
|
|
1038
|
+
declare const getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError, PutioSdkContext>;
|
|
1039
|
+
declare const regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError, PutioSdkContext>;
|
|
1041
1040
|
//#endregion
|
|
1042
1041
|
//#region src/domains/config.d.ts
|
|
1043
1042
|
type PutioJsonPrimitive = string | number | boolean | null;
|
|
@@ -1049,14 +1048,13 @@ type PutioJsonObject = {
|
|
|
1049
1048
|
};
|
|
1050
1049
|
declare const JsonValueSchema: Schema.refine<PutioJsonValue, Schema.Schema<unknown, unknown, never>>;
|
|
1051
1050
|
declare const JsonObjectSchema: Schema.refine<PutioJsonObject, Schema.Schema<unknown, unknown, never>>;
|
|
1052
|
-
|
|
1053
|
-
declare const
|
|
1054
|
-
declare const
|
|
1055
|
-
declare const
|
|
1056
|
-
declare const
|
|
1057
|
-
declare const
|
|
1058
|
-
declare const
|
|
1059
|
-
declare const deleteConfigKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext$14>;
|
|
1051
|
+
declare const readConfig: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
|
|
1052
|
+
declare const readConfigWith: <A, I>(schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
|
|
1053
|
+
declare const writeConfig: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
1054
|
+
declare const getConfigKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError, PutioSdkContext>;
|
|
1055
|
+
declare const getConfigKeyWith: <A, I>(key: string, schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
|
|
1056
|
+
declare const setConfigKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
1057
|
+
declare const deleteConfigKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
1060
1058
|
//#endregion
|
|
1061
1059
|
//#region src/domains/download-links.d.ts
|
|
1062
1060
|
declare const DownloadLinksStatusSchema: Schema.Literal<["NEW", "PROCESSING", "DONE", "ERROR"]>;
|
|
@@ -1090,7 +1088,6 @@ declare const DownloadLinksInfoSchema: Schema.Union<[Schema.Struct<{
|
|
|
1090
1088
|
links_status: Schema.Literal<["ERROR"]>;
|
|
1091
1089
|
status: Schema.Literal<["OK"]>;
|
|
1092
1090
|
}>]>;
|
|
1093
|
-
type PutioSdkContext$13 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
1094
1091
|
type DownloadLinksStatus = Schema.Schema.Type<typeof DownloadLinksStatusSchema>;
|
|
1095
1092
|
type DownloadLinksCreateInput = Schema.Schema.Type<typeof DownloadLinksCreateInputSchema>;
|
|
1096
1093
|
type DownloadLinksPayload = Schema.Schema.Type<typeof DownloadLinksPayloadSchema>;
|
|
@@ -1126,24 +1123,24 @@ type CreateDownloadLinksError = PutioOperationFailure<typeof CreateDownloadLinks
|
|
|
1126
1123
|
type GetDownloadLinksError = PutioOperationFailure<typeof GetDownloadLinksErrorSpec>;
|
|
1127
1124
|
declare const createDownloadLinks: (input?: DownloadLinksCreateInput) => Effect.Effect<{
|
|
1128
1125
|
readonly id: number;
|
|
1129
|
-
}, CreateDownloadLinksError, PutioSdkContext
|
|
1130
|
-
declare const getDownloadLinks: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext
|
|
1126
|
+
}, CreateDownloadLinksError, PutioSdkContext>;
|
|
1127
|
+
declare const getDownloadLinks: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
|
|
1131
1128
|
//#endregion
|
|
1132
1129
|
//#region src/domains/events.d.ts
|
|
1133
1130
|
declare const HistoryFileSharedEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
1134
1131
|
readonly created_at: string;
|
|
1135
1132
|
readonly id: number;
|
|
1136
|
-
readonly user_id: number;
|
|
1137
1133
|
readonly file_id: number;
|
|
1138
|
-
readonly
|
|
1134
|
+
readonly user_id: number;
|
|
1139
1135
|
readonly file_size: number;
|
|
1136
|
+
readonly file_name: string;
|
|
1140
1137
|
}, {
|
|
1141
1138
|
readonly created_at: string;
|
|
1142
1139
|
readonly id: number;
|
|
1143
|
-
readonly user_id: number;
|
|
1144
1140
|
readonly file_id: number;
|
|
1145
|
-
readonly
|
|
1141
|
+
readonly user_id: number;
|
|
1146
1142
|
readonly file_size: number;
|
|
1143
|
+
readonly file_name: string;
|
|
1147
1144
|
}, never>, Schema.Struct<{
|
|
1148
1145
|
sharing_user_name: typeof Schema.String;
|
|
1149
1146
|
type: Schema.Literal<["file_shared"]>;
|
|
@@ -1151,34 +1148,34 @@ declare const HistoryFileSharedEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
|
1151
1148
|
declare const HistoryUploadEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
1152
1149
|
readonly created_at: string;
|
|
1153
1150
|
readonly id: number;
|
|
1154
|
-
readonly user_id: number;
|
|
1155
1151
|
readonly file_id: number;
|
|
1156
|
-
readonly
|
|
1152
|
+
readonly user_id: number;
|
|
1157
1153
|
readonly file_size: number;
|
|
1154
|
+
readonly file_name: string;
|
|
1158
1155
|
}, {
|
|
1159
1156
|
readonly created_at: string;
|
|
1160
1157
|
readonly id: number;
|
|
1161
|
-
readonly user_id: number;
|
|
1162
1158
|
readonly file_id: number;
|
|
1163
|
-
readonly
|
|
1159
|
+
readonly user_id: number;
|
|
1164
1160
|
readonly file_size: number;
|
|
1161
|
+
readonly file_name: string;
|
|
1165
1162
|
}, never>, Schema.Struct<{
|
|
1166
1163
|
type: Schema.Literal<["upload"]>;
|
|
1167
1164
|
}>>;
|
|
1168
1165
|
declare const HistoryFileFromRssDeletedEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
1169
1166
|
readonly created_at: string;
|
|
1170
1167
|
readonly id: number;
|
|
1171
|
-
readonly user_id: number;
|
|
1172
1168
|
readonly file_id: number;
|
|
1173
|
-
readonly
|
|
1169
|
+
readonly user_id: number;
|
|
1174
1170
|
readonly file_size: number;
|
|
1171
|
+
readonly file_name: string;
|
|
1175
1172
|
}, {
|
|
1176
1173
|
readonly created_at: string;
|
|
1177
1174
|
readonly id: number;
|
|
1178
|
-
readonly user_id: number;
|
|
1179
1175
|
readonly file_id: number;
|
|
1180
|
-
readonly
|
|
1176
|
+
readonly user_id: number;
|
|
1181
1177
|
readonly file_size: number;
|
|
1178
|
+
readonly file_name: string;
|
|
1182
1179
|
}, never>, Schema.Struct<{
|
|
1183
1180
|
file_source: typeof Schema.String;
|
|
1184
1181
|
type: Schema.Literal<["file_from_rss_deleted_for_space"]>;
|
|
@@ -1186,14 +1183,14 @@ declare const HistoryFileFromRssDeletedEventSchema: Schema.extend<Schema.SchemaC
|
|
|
1186
1183
|
declare const HistoryTransferCompletedEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
1187
1184
|
readonly created_at: string;
|
|
1188
1185
|
readonly id: number;
|
|
1189
|
-
readonly user_id: number;
|
|
1190
1186
|
readonly source: string;
|
|
1187
|
+
readonly user_id: number;
|
|
1191
1188
|
readonly transfer_name: string;
|
|
1192
1189
|
}, {
|
|
1193
1190
|
readonly created_at: string;
|
|
1194
1191
|
readonly id: number;
|
|
1195
|
-
readonly user_id: number;
|
|
1196
1192
|
readonly source: string;
|
|
1193
|
+
readonly user_id: number;
|
|
1197
1194
|
readonly transfer_name: string;
|
|
1198
1195
|
}, never>, Schema.Struct<{
|
|
1199
1196
|
file_id: Schema.filter<typeof Schema.Number>;
|
|
@@ -1203,14 +1200,14 @@ declare const HistoryTransferCompletedEventSchema: Schema.extend<Schema.SchemaCl
|
|
|
1203
1200
|
declare const HistoryTransferErrorEventSchema: Schema.extend<Schema.SchemaClass<{
|
|
1204
1201
|
readonly created_at: string;
|
|
1205
1202
|
readonly id: number;
|
|
1206
|
-
readonly user_id: number;
|
|
1207
1203
|
readonly source: string;
|
|
1204
|
+
readonly user_id: number;
|
|
1208
1205
|
readonly transfer_name: string;
|
|
1209
1206
|
}, {
|
|
1210
1207
|
readonly created_at: string;
|
|
1211
1208
|
readonly id: number;
|
|
1212
|
-
readonly user_id: number;
|
|
1213
1209
|
readonly source: string;
|
|
1210
|
+
readonly user_id: number;
|
|
1214
1211
|
readonly transfer_name: string;
|
|
1215
1212
|
}, never>, Schema.Struct<{
|
|
1216
1213
|
type: Schema.Literal<["transfer_error"]>;
|
|
@@ -1300,64 +1297,64 @@ declare const HistoryKnownEventTypeSchema: Schema.Literal<["file_shared", "uploa
|
|
|
1300
1297
|
declare const HistoryEventSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
1301
1298
|
readonly created_at: string;
|
|
1302
1299
|
readonly id: number;
|
|
1303
|
-
readonly user_id: number;
|
|
1304
1300
|
readonly file_id: number;
|
|
1305
|
-
readonly
|
|
1301
|
+
readonly user_id: number;
|
|
1306
1302
|
readonly file_size: number;
|
|
1303
|
+
readonly file_name: string;
|
|
1307
1304
|
}, {
|
|
1308
1305
|
readonly created_at: string;
|
|
1309
1306
|
readonly id: number;
|
|
1310
|
-
readonly user_id: number;
|
|
1311
1307
|
readonly file_id: number;
|
|
1312
|
-
readonly
|
|
1308
|
+
readonly user_id: number;
|
|
1313
1309
|
readonly file_size: number;
|
|
1310
|
+
readonly file_name: string;
|
|
1314
1311
|
}, never>, Schema.Struct<{
|
|
1315
1312
|
sharing_user_name: typeof Schema.String;
|
|
1316
1313
|
type: Schema.Literal<["file_shared"]>;
|
|
1317
1314
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1318
1315
|
readonly created_at: string;
|
|
1319
1316
|
readonly id: number;
|
|
1320
|
-
readonly user_id: number;
|
|
1321
1317
|
readonly file_id: number;
|
|
1322
|
-
readonly
|
|
1318
|
+
readonly user_id: number;
|
|
1323
1319
|
readonly file_size: number;
|
|
1320
|
+
readonly file_name: string;
|
|
1324
1321
|
}, {
|
|
1325
1322
|
readonly created_at: string;
|
|
1326
1323
|
readonly id: number;
|
|
1327
|
-
readonly user_id: number;
|
|
1328
1324
|
readonly file_id: number;
|
|
1329
|
-
readonly
|
|
1325
|
+
readonly user_id: number;
|
|
1330
1326
|
readonly file_size: number;
|
|
1327
|
+
readonly file_name: string;
|
|
1331
1328
|
}, never>, Schema.Struct<{
|
|
1332
1329
|
type: Schema.Literal<["upload"]>;
|
|
1333
1330
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1334
1331
|
readonly created_at: string;
|
|
1335
1332
|
readonly id: number;
|
|
1336
|
-
readonly user_id: number;
|
|
1337
1333
|
readonly file_id: number;
|
|
1338
|
-
readonly
|
|
1334
|
+
readonly user_id: number;
|
|
1339
1335
|
readonly file_size: number;
|
|
1336
|
+
readonly file_name: string;
|
|
1340
1337
|
}, {
|
|
1341
1338
|
readonly created_at: string;
|
|
1342
1339
|
readonly id: number;
|
|
1343
|
-
readonly user_id: number;
|
|
1344
1340
|
readonly file_id: number;
|
|
1345
|
-
readonly
|
|
1341
|
+
readonly user_id: number;
|
|
1346
1342
|
readonly file_size: number;
|
|
1343
|
+
readonly file_name: string;
|
|
1347
1344
|
}, never>, Schema.Struct<{
|
|
1348
1345
|
file_source: typeof Schema.String;
|
|
1349
1346
|
type: Schema.Literal<["file_from_rss_deleted_for_space"]>;
|
|
1350
1347
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1351
1348
|
readonly created_at: string;
|
|
1352
1349
|
readonly id: number;
|
|
1353
|
-
readonly user_id: number;
|
|
1354
1350
|
readonly source: string;
|
|
1351
|
+
readonly user_id: number;
|
|
1355
1352
|
readonly transfer_name: string;
|
|
1356
1353
|
}, {
|
|
1357
1354
|
readonly created_at: string;
|
|
1358
1355
|
readonly id: number;
|
|
1359
|
-
readonly user_id: number;
|
|
1360
1356
|
readonly source: string;
|
|
1357
|
+
readonly user_id: number;
|
|
1361
1358
|
readonly transfer_name: string;
|
|
1362
1359
|
}, never>, Schema.Struct<{
|
|
1363
1360
|
file_id: Schema.filter<typeof Schema.Number>;
|
|
@@ -1366,14 +1363,14 @@ declare const HistoryEventSchema: Schema.Union<[Schema.extend<Schema.SchemaClass
|
|
|
1366
1363
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1367
1364
|
readonly created_at: string;
|
|
1368
1365
|
readonly id: number;
|
|
1369
|
-
readonly user_id: number;
|
|
1370
1366
|
readonly source: string;
|
|
1367
|
+
readonly user_id: number;
|
|
1371
1368
|
readonly transfer_name: string;
|
|
1372
1369
|
}, {
|
|
1373
1370
|
readonly created_at: string;
|
|
1374
1371
|
readonly id: number;
|
|
1375
|
-
readonly user_id: number;
|
|
1376
1372
|
readonly source: string;
|
|
1373
|
+
readonly user_id: number;
|
|
1377
1374
|
readonly transfer_name: string;
|
|
1378
1375
|
}, never>, Schema.Struct<{
|
|
1379
1376
|
type: Schema.Literal<["transfer_error"]>;
|
|
@@ -1466,64 +1463,64 @@ declare const EventsListEnvelopeSchema: Schema.Struct<{
|
|
|
1466
1463
|
events: Schema.Array$<Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
1467
1464
|
readonly created_at: string;
|
|
1468
1465
|
readonly id: number;
|
|
1469
|
-
readonly user_id: number;
|
|
1470
1466
|
readonly file_id: number;
|
|
1471
|
-
readonly
|
|
1467
|
+
readonly user_id: number;
|
|
1472
1468
|
readonly file_size: number;
|
|
1469
|
+
readonly file_name: string;
|
|
1473
1470
|
}, {
|
|
1474
1471
|
readonly created_at: string;
|
|
1475
1472
|
readonly id: number;
|
|
1476
|
-
readonly user_id: number;
|
|
1477
1473
|
readonly file_id: number;
|
|
1478
|
-
readonly
|
|
1474
|
+
readonly user_id: number;
|
|
1479
1475
|
readonly file_size: number;
|
|
1476
|
+
readonly file_name: string;
|
|
1480
1477
|
}, never>, Schema.Struct<{
|
|
1481
1478
|
sharing_user_name: typeof Schema.String;
|
|
1482
1479
|
type: Schema.Literal<["file_shared"]>;
|
|
1483
1480
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1484
1481
|
readonly created_at: string;
|
|
1485
1482
|
readonly id: number;
|
|
1486
|
-
readonly user_id: number;
|
|
1487
1483
|
readonly file_id: number;
|
|
1488
|
-
readonly
|
|
1484
|
+
readonly user_id: number;
|
|
1489
1485
|
readonly file_size: number;
|
|
1486
|
+
readonly file_name: string;
|
|
1490
1487
|
}, {
|
|
1491
1488
|
readonly created_at: string;
|
|
1492
1489
|
readonly id: number;
|
|
1493
|
-
readonly user_id: number;
|
|
1494
1490
|
readonly file_id: number;
|
|
1495
|
-
readonly
|
|
1491
|
+
readonly user_id: number;
|
|
1496
1492
|
readonly file_size: number;
|
|
1493
|
+
readonly file_name: string;
|
|
1497
1494
|
}, never>, Schema.Struct<{
|
|
1498
1495
|
type: Schema.Literal<["upload"]>;
|
|
1499
1496
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1500
1497
|
readonly created_at: string;
|
|
1501
1498
|
readonly id: number;
|
|
1502
|
-
readonly user_id: number;
|
|
1503
1499
|
readonly file_id: number;
|
|
1504
|
-
readonly
|
|
1500
|
+
readonly user_id: number;
|
|
1505
1501
|
readonly file_size: number;
|
|
1502
|
+
readonly file_name: string;
|
|
1506
1503
|
}, {
|
|
1507
1504
|
readonly created_at: string;
|
|
1508
1505
|
readonly id: number;
|
|
1509
|
-
readonly user_id: number;
|
|
1510
1506
|
readonly file_id: number;
|
|
1511
|
-
readonly
|
|
1507
|
+
readonly user_id: number;
|
|
1512
1508
|
readonly file_size: number;
|
|
1509
|
+
readonly file_name: string;
|
|
1513
1510
|
}, never>, Schema.Struct<{
|
|
1514
1511
|
file_source: typeof Schema.String;
|
|
1515
1512
|
type: Schema.Literal<["file_from_rss_deleted_for_space"]>;
|
|
1516
1513
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1517
1514
|
readonly created_at: string;
|
|
1518
1515
|
readonly id: number;
|
|
1519
|
-
readonly user_id: number;
|
|
1520
1516
|
readonly source: string;
|
|
1517
|
+
readonly user_id: number;
|
|
1521
1518
|
readonly transfer_name: string;
|
|
1522
1519
|
}, {
|
|
1523
1520
|
readonly created_at: string;
|
|
1524
1521
|
readonly id: number;
|
|
1525
|
-
readonly user_id: number;
|
|
1526
1522
|
readonly source: string;
|
|
1523
|
+
readonly user_id: number;
|
|
1527
1524
|
readonly transfer_name: string;
|
|
1528
1525
|
}, never>, Schema.Struct<{
|
|
1529
1526
|
file_id: Schema.filter<typeof Schema.Number>;
|
|
@@ -1532,14 +1529,14 @@ declare const EventsListEnvelopeSchema: Schema.Struct<{
|
|
|
1532
1529
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
1533
1530
|
readonly created_at: string;
|
|
1534
1531
|
readonly id: number;
|
|
1535
|
-
readonly user_id: number;
|
|
1536
1532
|
readonly source: string;
|
|
1533
|
+
readonly user_id: number;
|
|
1537
1534
|
readonly transfer_name: string;
|
|
1538
1535
|
}, {
|
|
1539
1536
|
readonly created_at: string;
|
|
1540
1537
|
readonly id: number;
|
|
1541
|
-
readonly user_id: number;
|
|
1542
1538
|
readonly source: string;
|
|
1539
|
+
readonly user_id: number;
|
|
1543
1540
|
readonly transfer_name: string;
|
|
1544
1541
|
}, never>, Schema.Struct<{
|
|
1545
1542
|
type: Schema.Literal<["transfer_error"]>;
|
|
@@ -1627,7 +1624,6 @@ declare const EventsListEnvelopeSchema: Schema.Struct<{
|
|
|
1627
1624
|
has_more: typeof Schema.Boolean;
|
|
1628
1625
|
status: Schema.Literal<["OK"]>;
|
|
1629
1626
|
}>;
|
|
1630
|
-
type PutioSdkContext$12 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
1631
1627
|
type HistoryKnownEventType = Schema.Schema.Type<typeof HistoryKnownEventTypeSchema>;
|
|
1632
1628
|
type HistoryEvent = Schema.Schema.Type<typeof HistoryEventSchema>;
|
|
1633
1629
|
type EventsListQuery = Schema.Schema.Type<typeof EventsListQuerySchema>;
|
|
@@ -1667,10 +1663,10 @@ type ListEventsError = PutioOperationFailure<typeof ListEventsErrorSpec>;
|
|
|
1667
1663
|
type DeleteEventError = PutioOperationFailure<typeof DeleteEventErrorSpec>;
|
|
1668
1664
|
type ClearEventsError = PutioOperationFailure<typeof ClearEventsErrorSpec>;
|
|
1669
1665
|
type GetEventTorrentError = PutioOperationFailure<typeof GetEventTorrentErrorSpec>;
|
|
1670
|
-
declare const listEvents: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError, PutioSdkContext
|
|
1671
|
-
declare const deleteEvent: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError, PutioSdkContext
|
|
1672
|
-
declare const clearEvents: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError, PutioSdkContext
|
|
1673
|
-
declare const getEventTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError, PutioSdkContext
|
|
1666
|
+
declare const listEvents: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError, PutioSdkContext>;
|
|
1667
|
+
declare const deleteEvent: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError, PutioSdkContext>;
|
|
1668
|
+
declare const clearEvents: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError, PutioSdkContext>;
|
|
1669
|
+
declare const getEventTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError, PutioSdkContext>;
|
|
1674
1670
|
//#endregion
|
|
1675
1671
|
//#region src/domains/family.d.ts
|
|
1676
1672
|
declare const FamilyInviteSchema: Schema.Struct<{
|
|
@@ -1686,7 +1682,6 @@ declare const FamilyMemberSchema: Schema.Struct<{
|
|
|
1686
1682
|
is_owner: typeof Schema.Boolean;
|
|
1687
1683
|
name: typeof Schema.String;
|
|
1688
1684
|
}>;
|
|
1689
|
-
type PutioSdkContext$11 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
1690
1685
|
type FamilyInvite = Schema.Schema.Type<typeof FamilyInviteSchema>;
|
|
1691
1686
|
type FamilyMember = Schema.Schema.Type<typeof FamilyMemberSchema>;
|
|
1692
1687
|
type FamilyInvitesResponse = {
|
|
@@ -1755,13 +1750,13 @@ type ListFamilyMembersError = PutioOperationFailure<typeof ListFamilyMembersErro
|
|
|
1755
1750
|
type CreateFamilyInviteError = PutioOperationFailure<typeof CreateFamilyInviteErrorSpec>;
|
|
1756
1751
|
type RemoveFamilyMemberError = PutioOperationFailure<typeof RemoveFamilyMemberErrorSpec>;
|
|
1757
1752
|
type JoinFamilyError = PutioOperationFailure<typeof JoinFamilyErrorSpec>;
|
|
1758
|
-
declare const listFamilyInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError, PutioSdkContext
|
|
1759
|
-
declare const listFamilyMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError, PutioSdkContext
|
|
1753
|
+
declare const listFamilyInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError, PutioSdkContext>;
|
|
1754
|
+
declare const listFamilyMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError, PutioSdkContext>;
|
|
1760
1755
|
declare const createFamilyInvite: () => Effect.Effect<{
|
|
1761
1756
|
readonly code: string;
|
|
1762
|
-
}, CreateFamilyInviteError, PutioSdkContext
|
|
1763
|
-
declare const removeFamilyMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError, PutioSdkContext
|
|
1764
|
-
declare const joinFamily: (inviteCode: string) => Effect.Effect<void, JoinFamilyError, PutioSdkContext
|
|
1757
|
+
}, CreateFamilyInviteError, PutioSdkContext>;
|
|
1758
|
+
declare const removeFamilyMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError, PutioSdkContext>;
|
|
1759
|
+
declare const joinFamily: (inviteCode: string) => Effect.Effect<void, JoinFamilyError, PutioSdkContext>;
|
|
1765
1760
|
//#endregion
|
|
1766
1761
|
//#region src/domains/ifttt.d.ts
|
|
1767
1762
|
type IftttEventType = "playback_started" | "playback_stopped" | (string & {});
|
|
@@ -1778,7 +1773,6 @@ type IftttEventInput = {
|
|
|
1778
1773
|
readonly eventType: IftttEventType;
|
|
1779
1774
|
readonly ingredients: Record<string, unknown>;
|
|
1780
1775
|
};
|
|
1781
|
-
type PutioSdkContext$10 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
1782
1776
|
declare const GetIftttStatusErrorSpec: PutioOperationErrorSpec<"ifttt", "getStatus", readonly [{
|
|
1783
1777
|
readonly statusCode: 402;
|
|
1784
1778
|
}]>;
|
|
@@ -1800,8 +1794,8 @@ type GetIftttStatusError = PutioOperationFailure<typeof GetIftttStatusErrorSpec>
|
|
|
1800
1794
|
type SendIftttEventError = PutioOperationFailure<typeof SendIftttEventErrorSpec>;
|
|
1801
1795
|
declare const getIftttStatus: () => Effect.Effect<{
|
|
1802
1796
|
readonly enabled: boolean;
|
|
1803
|
-
}, GetIftttStatusError, PutioSdkContext
|
|
1804
|
-
declare const sendIftttEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext
|
|
1797
|
+
}, GetIftttStatusError, PutioSdkContext>;
|
|
1798
|
+
declare const sendIftttEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
|
|
1805
1799
|
//#endregion
|
|
1806
1800
|
//#region src/domains/files.d.ts
|
|
1807
1801
|
declare const FileTypeSchema: Schema.Literal<["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
|
|
@@ -2723,39 +2717,41 @@ type FileMp4MutationError = PutioOperationFailure<typeof FileMp4MutationErrorSpe
|
|
|
2723
2717
|
type FileExtractionsError = PutioOperationFailure<typeof FileExtractionsErrorSpec>;
|
|
2724
2718
|
type FileWatchStatusError = PutioOperationFailure<typeof FileWatchStatusErrorSpec>;
|
|
2725
2719
|
type FileUploadError = PutioOperationFailure<typeof FileUploadErrorSpec>;
|
|
2726
|
-
type PutioSdkContext$9 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
2727
2720
|
declare const buildFileApiDownloadUrl: (baseUrl: string | URL, fileId: number, options?: FileApiDownloadUrlOptions) => string;
|
|
2728
2721
|
declare const buildFileApiContentUrl: (baseUrl: string | URL, fileId: number, options?: FileDirectAccessOptions) => string;
|
|
2729
2722
|
declare const buildFileApiMp4DownloadUrl: (baseUrl: string | URL, fileId: number, options?: FileApiMp4DownloadUrlOptions) => string;
|
|
2730
2723
|
declare const buildFileHlsStreamUrl: (baseUrl: string | URL, fileId: number, options?: FileHlsStreamUrlOptions) => string;
|
|
2731
2724
|
declare const createFileUploadFormData: (input: FileUploadInput) => FormData;
|
|
2732
|
-
declare const queryFiles: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError, PutioSdkContext
|
|
2725
|
+
declare const queryFiles: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError, PutioSdkContext>;
|
|
2733
2726
|
declare const continueFiles: (cursor: string, query?: {
|
|
2734
2727
|
readonly per_page?: number;
|
|
2735
|
-
}) => Effect.Effect<FileListContinuationResponse, ContinueFilesError, PutioSdkContext
|
|
2736
|
-
declare function getFile
|
|
2728
|
+
}) => Effect.Effect<FileListContinuationResponse, ContinueFilesError, PutioSdkContext>;
|
|
2729
|
+
declare function getFile(input: {
|
|
2737
2730
|
readonly id: number;
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2731
|
+
}): Effect.Effect<FileCore, GetFileError | PutioValidationError, PutioSdkContext>;
|
|
2732
|
+
declare function getFile<TQuery extends FileQuery>(input: {
|
|
2733
|
+
readonly id: number;
|
|
2734
|
+
readonly query: TQuery;
|
|
2735
|
+
}): Effect.Effect<FileResponseFor<TQuery>, GetFileError | PutioValidationError, PutioSdkContext>;
|
|
2736
|
+
declare const searchFiles: (query: FilesSearchQuery) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
|
|
2741
2737
|
declare const continueSearch: (cursor: string, query?: {
|
|
2742
2738
|
readonly per_page?: number;
|
|
2743
|
-
}) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext
|
|
2744
|
-
declare const createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError, PutioSdkContext
|
|
2745
|
-
declare const renameFile: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError, PutioSdkContext
|
|
2739
|
+
}) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
|
|
2740
|
+
declare const createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError, PutioSdkContext>;
|
|
2741
|
+
declare const renameFile: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError, PutioSdkContext>;
|
|
2746
2742
|
declare const deleteFiles: (ids: ReadonlyArray<number>, options?: {
|
|
2747
2743
|
readonly ignoreFileOwner?: boolean;
|
|
2748
2744
|
readonly partialDelete?: boolean;
|
|
2749
2745
|
readonly skipTrash?: boolean;
|
|
2750
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof FileDeleteResultEnvelopeSchema>, PutioSdkError, PutioSdkContext
|
|
2746
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof FileDeleteResultEnvelopeSchema>, PutioSdkError, PutioSdkContext>;
|
|
2751
2747
|
declare const deleteFileSelection: (selection: FilesBulkSelection, options?: {
|
|
2752
2748
|
readonly partialDelete?: boolean;
|
|
2753
2749
|
readonly skipTrash?: boolean;
|
|
2754
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof FileDeleteResultEnvelopeSchema>, PutioSdkError, PutioSdkContext
|
|
2755
|
-
declare const moveFiles: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext
|
|
2756
|
-
declare const moveFileSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext
|
|
2757
|
-
declare const getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError, PutioSdkContext
|
|
2758
|
-
declare const getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError, PutioSdkContext
|
|
2750
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof FileDeleteResultEnvelopeSchema>, PutioSdkError, PutioSdkContext>;
|
|
2751
|
+
declare const moveFiles: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
|
|
2752
|
+
declare const moveFileSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
|
|
2753
|
+
declare const getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError, PutioSdkContext>;
|
|
2754
|
+
declare const getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError, PutioSdkContext>;
|
|
2759
2755
|
declare const getApiDownloadUrl: (fileId: number, options?: FileApiDownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
2760
2756
|
declare const getApiContentUrl: (fileId: number, options?: FileDirectAccessOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
2761
2757
|
declare const getApiMp4DownloadUrl: (fileId: number, options?: FileApiMp4DownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
@@ -2765,32 +2761,32 @@ declare const listFileSubtitles: (fileId: number, options?: {
|
|
|
2765
2761
|
}) => Effect.Effect<{
|
|
2766
2762
|
readonly default: string | null;
|
|
2767
2763
|
readonly subtitles: ReadonlyArray<FileSubtitle>;
|
|
2768
|
-
}, FileSubtitlesError, PutioSdkContext
|
|
2769
|
-
declare const setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext
|
|
2770
|
-
declare const resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext
|
|
2771
|
-
declare const getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext
|
|
2772
|
-
declare const convertFileToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext
|
|
2773
|
-
declare const deleteFileMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext
|
|
2774
|
-
declare const putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext
|
|
2775
|
-
declare const convertFilesToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError, PutioSdkContext
|
|
2776
|
-
declare const convertFileSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError, PutioSdkContext
|
|
2777
|
-
declare const listActiveMp4Conversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError, PutioSdkContext
|
|
2764
|
+
}, FileSubtitlesError, PutioSdkContext>;
|
|
2765
|
+
declare const setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
|
|
2766
|
+
declare const resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
|
|
2767
|
+
declare const getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
|
|
2768
|
+
declare const convertFileToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
|
|
2769
|
+
declare const deleteFileMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
|
|
2770
|
+
declare const putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
|
|
2771
|
+
declare const convertFilesToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
2772
|
+
declare const convertFileSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
2773
|
+
declare const listActiveMp4Conversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError, PutioSdkContext>;
|
|
2778
2774
|
declare const setFilesWatchStatus: (selection: FilesBulkSelection & {
|
|
2779
2775
|
readonly watched: boolean;
|
|
2780
|
-
}) => Effect.Effect<void, FileWatchStatusError, PutioSdkContext
|
|
2776
|
+
}) => Effect.Effect<void, FileWatchStatusError, PutioSdkContext>;
|
|
2781
2777
|
declare const extractFiles: (selection: FilesBulkSelection & {
|
|
2782
2778
|
readonly password?: string;
|
|
2783
|
-
}) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext
|
|
2784
|
-
declare const listFileExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext
|
|
2785
|
-
declare const deleteFileExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError, PutioSdkContext
|
|
2786
|
-
declare const findNextFile: (fileId: number, fileType: FileType) => Effect.Effect<Schema.Schema.Type<typeof FilesNextFileSchema>, PutioSdkError, PutioSdkContext
|
|
2787
|
-
declare const findNextVideo: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof FilesNextFileSchema>, PutioSdkError, PutioSdkContext
|
|
2779
|
+
}) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
|
|
2780
|
+
declare const listFileExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
|
|
2781
|
+
declare const deleteFileExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
|
|
2782
|
+
declare const findNextFile: (fileId: number, fileType: FileType) => Effect.Effect<Schema.Schema.Type<typeof FilesNextFileSchema>, PutioSdkError, PutioSdkContext>;
|
|
2783
|
+
declare const findNextVideo: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof FilesNextFileSchema>, PutioSdkError, PutioSdkContext>;
|
|
2788
2784
|
declare const createFileUploadRequest: (input: FileUploadInput, options?: {
|
|
2789
2785
|
readonly oauthToken?: string;
|
|
2790
2786
|
}) => Effect.Effect<FileUploadRequestDescriptor, PutioSdkError, PutioSdkConfig>;
|
|
2791
2787
|
declare const uploadFile: (input: FileUploadInput, options?: {
|
|
2792
2788
|
readonly oauthToken?: string;
|
|
2793
|
-
}) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError, PutioSdkContext
|
|
2789
|
+
}) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError, PutioSdkContext>;
|
|
2794
2790
|
//#endregion
|
|
2795
2791
|
//#region src/domains/friend-invites.d.ts
|
|
2796
2792
|
declare const FriendInviteJoinedUserStatusSchema: Schema.Literal<["CONVERTED", "IN_TRIAL", "TRIAL_ENDED", "TRIAL_NOT_STARTED", "UNKNOWN"]>;
|
|
@@ -2812,7 +2808,6 @@ declare const FriendInviteSchema: Schema.Struct<{
|
|
|
2812
2808
|
status: Schema.Literal<["CONVERTED", "IN_TRIAL", "TRIAL_ENDED", "TRIAL_NOT_STARTED", "UNKNOWN"]>;
|
|
2813
2809
|
}>>;
|
|
2814
2810
|
}>;
|
|
2815
|
-
type PutioSdkContext$8 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
2816
2811
|
type FriendInviteJoinedUserStatus = Schema.Schema.Type<typeof FriendInviteJoinedUserStatusSchema>;
|
|
2817
2812
|
type FriendInviteJoinedUser = Schema.Schema.Type<typeof FriendInviteJoinedUserSchema>;
|
|
2818
2813
|
type FriendInvite = Schema.Schema.Type<typeof FriendInviteSchema>;
|
|
@@ -2837,10 +2832,10 @@ type CreateFriendInviteError = PutioOperationFailure<typeof CreateFriendInviteEr
|
|
|
2837
2832
|
declare const listFriendInvites: () => Effect.Effect<{
|
|
2838
2833
|
readonly invites: ReadonlyArray<FriendInvite>;
|
|
2839
2834
|
readonly remaining_limit: number;
|
|
2840
|
-
}, ListFriendInvitesError, PutioSdkContext
|
|
2835
|
+
}, ListFriendInvitesError, PutioSdkContext>;
|
|
2841
2836
|
declare const createFriendInvite: () => Effect.Effect<{
|
|
2842
2837
|
readonly code: string;
|
|
2843
|
-
}, CreateFriendInviteError, PutioSdkContext
|
|
2838
|
+
}, CreateFriendInviteError, PutioSdkContext>;
|
|
2844
2839
|
//#endregion
|
|
2845
2840
|
//#region src/domains/friends.d.ts
|
|
2846
2841
|
declare const FriendBaseSchema: Schema.Struct<{
|
|
@@ -2863,7 +2858,6 @@ declare const UserSearchResultSchema: Schema.extend<Schema.Struct<{
|
|
|
2863
2858
|
}>, Schema.Struct<{
|
|
2864
2859
|
invited: typeof Schema.Boolean;
|
|
2865
2860
|
}>>;
|
|
2866
|
-
type PutioSdkContext$7 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
2867
2861
|
type FriendBase = Schema.Schema.Type<typeof FriendBaseSchema>;
|
|
2868
2862
|
type Friend = Schema.Schema.Type<typeof FriendSchema>;
|
|
2869
2863
|
type UserSearchResult = Schema.Schema.Type<typeof UserSearchResultSchema>;
|
|
@@ -2945,16 +2939,16 @@ type FriendSharedFolderError = PutioOperationFailure<typeof FriendSharedFolderEr
|
|
|
2945
2939
|
declare const listFriends: () => Effect.Effect<{
|
|
2946
2940
|
readonly friends: ReadonlyArray<Friend>;
|
|
2947
2941
|
readonly total: number;
|
|
2948
|
-
}, ListFriendsError, PutioSdkContext
|
|
2949
|
-
declare const searchFriends: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError, PutioSdkContext
|
|
2950
|
-
declare const listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError, PutioSdkContext
|
|
2951
|
-
declare const countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError, PutioSdkContext
|
|
2952
|
-
declare const listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError, PutioSdkContext
|
|
2953
|
-
declare const sendFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError, PutioSdkContext
|
|
2954
|
-
declare const removeFriend: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError, PutioSdkContext
|
|
2955
|
-
declare const approveFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError, PutioSdkContext
|
|
2956
|
-
declare const denyFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError, PutioSdkContext
|
|
2957
|
-
declare const getFriendSharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError, PutioSdkContext
|
|
2942
|
+
}, ListFriendsError, PutioSdkContext>;
|
|
2943
|
+
declare const searchFriends: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError, PutioSdkContext>;
|
|
2944
|
+
declare const listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError, PutioSdkContext>;
|
|
2945
|
+
declare const countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError, PutioSdkContext>;
|
|
2946
|
+
declare const listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError, PutioSdkContext>;
|
|
2947
|
+
declare const sendFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError, PutioSdkContext>;
|
|
2948
|
+
declare const removeFriend: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError, PutioSdkContext>;
|
|
2949
|
+
declare const approveFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError, PutioSdkContext>;
|
|
2950
|
+
declare const denyFriendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError, PutioSdkContext>;
|
|
2951
|
+
declare const getFriendSharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError, PutioSdkContext>;
|
|
2958
2952
|
//#endregion
|
|
2959
2953
|
//#region src/domains/payment.d.ts
|
|
2960
2954
|
declare const PaymentPlanTypeSchema: Schema.Literal<["onetime", "subscription"]>;
|
|
@@ -3224,7 +3218,6 @@ declare const PaymentVoucherInfoSchema: Schema.Struct<{
|
|
|
3224
3218
|
type: Schema.Literal<["onetime", "subscription"]>;
|
|
3225
3219
|
}>;
|
|
3226
3220
|
}>;
|
|
3227
|
-
type PutioSdkContext$6 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
3228
3221
|
type PaymentInfo = Schema.Schema.Type<typeof PaymentInfoSchema>;
|
|
3229
3222
|
type PaymentPlanGroup = Schema.Schema.Type<typeof PaymentPlanGroupSchema>;
|
|
3230
3223
|
type PaymentOption = Schema.Schema.Type<typeof PaymentOptionSchema>;
|
|
@@ -3511,22 +3504,22 @@ type ClassifiedPaymentChangePlanSubmitResponse = {
|
|
|
3511
3504
|
readonly type: "success";
|
|
3512
3505
|
};
|
|
3513
3506
|
declare const classifyPaymentChangePlanResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
|
|
3514
|
-
declare const getPaymentInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError, PutioSdkContext
|
|
3515
|
-
declare const listPaymentPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError, PutioSdkContext
|
|
3516
|
-
declare const listPaymentOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError, PutioSdkContext
|
|
3517
|
-
declare const listPaymentHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError, PutioSdkContext
|
|
3518
|
-
declare const listPaymentInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError, PutioSdkContext
|
|
3519
|
-
declare const previewPaymentChangePlan: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext
|
|
3520
|
-
declare const submitPaymentChangePlan: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext
|
|
3521
|
-
declare const confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError, PutioSdkContext
|
|
3522
|
-
declare const stopPaymentSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext
|
|
3523
|
-
declare const getPaymentVoucherInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext
|
|
3524
|
-
declare const redeemPaymentVoucher: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext
|
|
3525
|
-
declare const reportPayments: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext
|
|
3526
|
-
declare const createPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError, PutioSdkContext
|
|
3527
|
-
declare const createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError, PutioSdkContext
|
|
3528
|
-
declare const createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError, PutioSdkContext
|
|
3529
|
-
declare const createNanoPaymentRequest: (planCode: string) => Effect.Effect<string, CreateNanoPaymentRequestError, PutioSdkContext
|
|
3507
|
+
declare const getPaymentInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError, PutioSdkContext>;
|
|
3508
|
+
declare const listPaymentPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError, PutioSdkContext>;
|
|
3509
|
+
declare const listPaymentOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError, PutioSdkContext>;
|
|
3510
|
+
declare const listPaymentHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError, PutioSdkContext>;
|
|
3511
|
+
declare const listPaymentInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError, PutioSdkContext>;
|
|
3512
|
+
declare const previewPaymentChangePlan: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
|
|
3513
|
+
declare const submitPaymentChangePlan: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
|
|
3514
|
+
declare const confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError, PutioSdkContext>;
|
|
3515
|
+
declare const stopPaymentSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
|
|
3516
|
+
declare const getPaymentVoucherInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
|
|
3517
|
+
declare const redeemPaymentVoucher: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
|
|
3518
|
+
declare const reportPayments: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
|
|
3519
|
+
declare const createPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError, PutioSdkContext>;
|
|
3520
|
+
declare const createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError, PutioSdkContext>;
|
|
3521
|
+
declare const createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError, PutioSdkContext>;
|
|
3522
|
+
declare const createNanoPaymentRequest: (planCode: string) => Effect.Effect<string, CreateNanoPaymentRequestError, PutioSdkContext>;
|
|
3530
3523
|
//#endregion
|
|
3531
3524
|
//#region src/domains/rss.d.ts
|
|
3532
3525
|
declare const RssFeedSchema: Schema.Struct<{
|
|
@@ -3596,7 +3589,6 @@ declare const RssFeedItemSchema: Schema.Union<[Schema.extend<Schema.Struct<{
|
|
|
3596
3589
|
failure_reason: typeof Schema.String;
|
|
3597
3590
|
is_failed: Schema.Literal<[true]>;
|
|
3598
3591
|
}>>]>;
|
|
3599
|
-
type PutioSdkContext$5 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
3600
3592
|
type RssFeed = Schema.Schema.Type<typeof RssFeedSchema>;
|
|
3601
3593
|
type RssFeedParams = Schema.Schema.Type<typeof RssFeedParamsSchema>;
|
|
3602
3594
|
type RssFeedItem = Schema.Schema.Type<typeof RssFeedItemSchema>;
|
|
@@ -3745,20 +3737,20 @@ type ListRssFeedItemsError = PutioOperationFailure<typeof ListRssFeedItemsErrorS
|
|
|
3745
3737
|
type ClearRssFeedLogsError = PutioOperationFailure<typeof ClearRssFeedLogsErrorSpec>;
|
|
3746
3738
|
type RetryRssFeedItemError = PutioOperationFailure<typeof RetryRssFeedItemErrorSpec>;
|
|
3747
3739
|
type RetryAllRssFeedItemsError = PutioOperationFailure<typeof RetryAllRssFeedItemsErrorSpec>;
|
|
3748
|
-
declare const listRssFeeds: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError, PutioSdkContext
|
|
3749
|
-
declare const getRssFeed: (id: number) => Effect.Effect<RssFeed, GetRssFeedError, PutioSdkContext
|
|
3750
|
-
declare const createRssFeed: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError, PutioSdkContext
|
|
3751
|
-
declare const updateRssFeed: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError, PutioSdkContext
|
|
3752
|
-
declare const pauseRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError, PutioSdkContext
|
|
3753
|
-
declare const resumeRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError, PutioSdkContext
|
|
3754
|
-
declare const deleteRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError, PutioSdkContext
|
|
3740
|
+
declare const listRssFeeds: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError, PutioSdkContext>;
|
|
3741
|
+
declare const getRssFeed: (id: number) => Effect.Effect<RssFeed, GetRssFeedError, PutioSdkContext>;
|
|
3742
|
+
declare const createRssFeed: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError, PutioSdkContext>;
|
|
3743
|
+
declare const updateRssFeed: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError, PutioSdkContext>;
|
|
3744
|
+
declare const pauseRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError, PutioSdkContext>;
|
|
3745
|
+
declare const resumeRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError, PutioSdkContext>;
|
|
3746
|
+
declare const deleteRssFeed: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError, PutioSdkContext>;
|
|
3755
3747
|
declare const listRssFeedItems: (id: number) => Effect.Effect<{
|
|
3756
3748
|
readonly feed: RssFeed;
|
|
3757
3749
|
readonly items: ReadonlyArray<RssFeedItem>;
|
|
3758
|
-
}, ListRssFeedItemsError, PutioSdkContext
|
|
3759
|
-
declare const clearRssFeedLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError, PutioSdkContext
|
|
3760
|
-
declare const retryRssFeedItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError, PutioSdkContext
|
|
3761
|
-
declare const retryAllRssFeedItems: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError, PutioSdkContext
|
|
3750
|
+
}, ListRssFeedItemsError, PutioSdkContext>;
|
|
3751
|
+
declare const clearRssFeedLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError, PutioSdkContext>;
|
|
3752
|
+
declare const retryRssFeedItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError, PutioSdkContext>;
|
|
3753
|
+
declare const retryAllRssFeedItems: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError, PutioSdkContext>;
|
|
3762
3754
|
//#endregion
|
|
3763
3755
|
//#region src/domains/sharing.d.ts
|
|
3764
3756
|
declare const SharingCloneStatusSchema: Schema.Literal<["NEW", "PROCESSING", "DONE", "ERROR"]>;
|
|
@@ -4162,7 +4154,6 @@ declare const PublicShareListQuerySchema: Schema.Struct<{
|
|
|
4162
4154
|
total: Schema.optional<Schema.Literal<[1]>>;
|
|
4163
4155
|
video_metadata_parent: Schema.optional<Schema.Literal<[1]>>;
|
|
4164
4156
|
}>;
|
|
4165
|
-
type PutioSdkContext$4 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
4166
4157
|
type SharingCloneInput = Schema.Schema.Type<typeof SharingCloneInputSchema>;
|
|
4167
4158
|
type SharingCloneInfo = Schema.Schema.Type<typeof SharingCloneInfoSchema>;
|
|
4168
4159
|
type SharedFile = Schema.Schema.Type<typeof SharedFileSchema>;
|
|
@@ -4315,21 +4306,21 @@ type ContinuePublicShareFilesError = PutioOperationFailure<typeof ContinuePublic
|
|
|
4315
4306
|
type GetPublicShareFileUrlError = PutioOperationFailure<typeof GetPublicShareFileUrlErrorSpec>;
|
|
4316
4307
|
declare const cloneSharedFiles: (input?: SharingCloneInput) => Effect.Effect<{
|
|
4317
4308
|
readonly id: number;
|
|
4318
|
-
}, CreateSharingCloneError, PutioSdkContext
|
|
4319
|
-
declare const getSharingCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError, PutioSdkContext
|
|
4320
|
-
declare const shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError, PutioSdkContext
|
|
4321
|
-
declare const listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError, PutioSdkContext
|
|
4322
|
-
declare const getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError, PutioSdkContext
|
|
4323
|
-
declare const unshareFile: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError, PutioSdkContext
|
|
4324
|
-
declare const createPublicShare: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError, PutioSdkContext
|
|
4325
|
-
declare const listPublicShares: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError, PutioSdkContext
|
|
4326
|
-
declare const deletePublicShare: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError, PutioSdkContext
|
|
4327
|
-
declare const getPublicShare: () => Effect.Effect<PublicShare, GetPublicShareError, PutioSdkContext
|
|
4328
|
-
declare const listPublicShareFiles: (query?: PublicShareListQuery) => Effect.Effect<Schema.Schema.Type<typeof PublicShareFileListEnvelopeSchema>, ListPublicShareFilesError, PutioSdkContext
|
|
4309
|
+
}, CreateSharingCloneError, PutioSdkContext>;
|
|
4310
|
+
declare const getSharingCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError, PutioSdkContext>;
|
|
4311
|
+
declare const shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError, PutioSdkContext>;
|
|
4312
|
+
declare const listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError, PutioSdkContext>;
|
|
4313
|
+
declare const getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError, PutioSdkContext>;
|
|
4314
|
+
declare const unshareFile: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError, PutioSdkContext>;
|
|
4315
|
+
declare const createPublicShare: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError, PutioSdkContext>;
|
|
4316
|
+
declare const listPublicShares: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError, PutioSdkContext>;
|
|
4317
|
+
declare const deletePublicShare: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError, PutioSdkContext>;
|
|
4318
|
+
declare const getPublicShare: () => Effect.Effect<PublicShare, GetPublicShareError, PutioSdkContext>;
|
|
4319
|
+
declare const listPublicShareFiles: (query?: PublicShareListQuery) => Effect.Effect<Schema.Schema.Type<typeof PublicShareFileListEnvelopeSchema>, ListPublicShareFilesError, PutioSdkContext>;
|
|
4329
4320
|
declare const continuePublicShareFiles: (cursor: string, query?: {
|
|
4330
4321
|
readonly per_page?: number;
|
|
4331
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof PublicShareFileListContinueEnvelopeSchema>, ContinuePublicShareFilesError, PutioSdkContext
|
|
4332
|
-
declare const getPublicShareFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError, PutioSdkContext
|
|
4322
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof PublicShareFileListContinueEnvelopeSchema>, ContinuePublicShareFilesError, PutioSdkContext>;
|
|
4323
|
+
declare const getPublicShareFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError, PutioSdkContext>;
|
|
4333
4324
|
//#endregion
|
|
4334
4325
|
//#region src/domains/trash.d.ts
|
|
4335
4326
|
declare const TrashFileSchema: Schema.Struct<{
|
|
@@ -4390,7 +4381,6 @@ declare const TrashContinueEnvelopeSchema: Schema.Struct<{
|
|
|
4390
4381
|
}>>;
|
|
4391
4382
|
status: Schema.Literal<["OK"]>;
|
|
4392
4383
|
}>;
|
|
4393
|
-
type PutioSdkContext$3 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
4394
4384
|
type TrashFile = Schema.Schema.Type<typeof TrashFileSchema>;
|
|
4395
4385
|
type TrashListResponse = Schema.Schema.Type<typeof TrashListEnvelopeSchema>;
|
|
4396
4386
|
type TrashContinueResponse = Schema.Schema.Type<typeof TrashContinueEnvelopeSchema>;
|
|
@@ -4462,11 +4452,11 @@ type ContinueTrashError = PutioOperationFailure<typeof ContinueTrashErrorSpec>;
|
|
|
4462
4452
|
type RestoreTrashError = PutioOperationFailure<typeof RestoreTrashErrorSpec>;
|
|
4463
4453
|
type DeleteTrashError = PutioOperationFailure<typeof DeleteTrashErrorSpec>;
|
|
4464
4454
|
type EmptyTrashError = PutioOperationFailure<typeof EmptyTrashErrorSpec>;
|
|
4465
|
-
declare const listTrash: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError, PutioSdkContext
|
|
4466
|
-
declare const continueTrash: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError, PutioSdkContext
|
|
4467
|
-
declare const restoreTrash: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError, PutioSdkContext
|
|
4468
|
-
declare const deleteTrash: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError, PutioSdkContext
|
|
4469
|
-
declare const emptyTrash: () => Effect.Effect<void, EmptyTrashError, PutioSdkContext
|
|
4455
|
+
declare const listTrash: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError, PutioSdkContext>;
|
|
4456
|
+
declare const continueTrash: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError, PutioSdkContext>;
|
|
4457
|
+
declare const restoreTrash: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError, PutioSdkContext>;
|
|
4458
|
+
declare const deleteTrash: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError, PutioSdkContext>;
|
|
4459
|
+
declare const emptyTrash: () => Effect.Effect<void, EmptyTrashError, PutioSdkContext>;
|
|
4470
4460
|
//#endregion
|
|
4471
4461
|
//#region src/domains/transfers.d.ts
|
|
4472
4462
|
declare const TransferTypeSchema: Schema.Literal<["URL", "TORRENT", "PLAYLIST", "LIVE_STREAM", "N/A"]>;
|
|
@@ -4523,17 +4513,12 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4523
4513
|
readonly created_at: string;
|
|
4524
4514
|
readonly id: number;
|
|
4525
4515
|
readonly size: number | null;
|
|
4526
|
-
readonly callback_url: string | null;
|
|
4527
4516
|
readonly name: string;
|
|
4528
|
-
readonly links?: readonly {
|
|
4529
|
-
readonly url: string | null;
|
|
4530
|
-
readonly label: string;
|
|
4531
|
-
}[] | undefined;
|
|
4532
4517
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4533
|
-
readonly file_id: number | null;
|
|
4534
|
-
readonly source: string;
|
|
4535
4518
|
readonly percent_done: number | null;
|
|
4536
|
-
readonly
|
|
4519
|
+
readonly source: string;
|
|
4520
|
+
readonly file_id: number | null;
|
|
4521
|
+
readonly callback_url: string | null;
|
|
4537
4522
|
readonly availability: number | null;
|
|
4538
4523
|
readonly client_ip: string | null;
|
|
4539
4524
|
readonly completion_percent: number | null;
|
|
@@ -4546,10 +4531,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4546
4531
|
readonly finished_at: string | null;
|
|
4547
4532
|
readonly hash: string | null;
|
|
4548
4533
|
readonly is_private: boolean;
|
|
4534
|
+
readonly links?: readonly {
|
|
4535
|
+
readonly url: string | null;
|
|
4536
|
+
readonly label: string;
|
|
4537
|
+
}[] | undefined;
|
|
4549
4538
|
readonly peers_connected: number | null;
|
|
4550
4539
|
readonly peers_getting_from_us: number | null;
|
|
4551
4540
|
readonly peers_sending_to_us: number | null;
|
|
4552
4541
|
readonly recorded_seconds?: number | null | undefined;
|
|
4542
|
+
readonly save_parent_id: number;
|
|
4553
4543
|
readonly seconds_seeding: number | null;
|
|
4554
4544
|
readonly simulated: boolean;
|
|
4555
4545
|
readonly started_at: string | null;
|
|
@@ -4564,17 +4554,12 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4564
4554
|
readonly created_at: string;
|
|
4565
4555
|
readonly id: number;
|
|
4566
4556
|
readonly size: number | null;
|
|
4567
|
-
readonly callback_url: string | null;
|
|
4568
4557
|
readonly name: string;
|
|
4569
|
-
readonly links?: readonly {
|
|
4570
|
-
readonly url: string | null;
|
|
4571
|
-
readonly label: string;
|
|
4572
|
-
}[] | undefined;
|
|
4573
4558
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4574
|
-
readonly file_id: number | null;
|
|
4575
|
-
readonly source: string;
|
|
4576
4559
|
readonly percent_done: number | null;
|
|
4577
|
-
readonly
|
|
4560
|
+
readonly source: string;
|
|
4561
|
+
readonly file_id: number | null;
|
|
4562
|
+
readonly callback_url: string | null;
|
|
4578
4563
|
readonly availability: number | null;
|
|
4579
4564
|
readonly client_ip: string | null;
|
|
4580
4565
|
readonly completion_percent: number | null;
|
|
@@ -4587,10 +4572,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4587
4572
|
readonly finished_at: string | null;
|
|
4588
4573
|
readonly hash: string | null;
|
|
4589
4574
|
readonly is_private: boolean;
|
|
4575
|
+
readonly links?: readonly {
|
|
4576
|
+
readonly url: string | null;
|
|
4577
|
+
readonly label: string;
|
|
4578
|
+
}[] | undefined;
|
|
4590
4579
|
readonly peers_connected: number | null;
|
|
4591
4580
|
readonly peers_getting_from_us: number | null;
|
|
4592
4581
|
readonly peers_sending_to_us: number | null;
|
|
4593
4582
|
readonly recorded_seconds?: number | null | undefined;
|
|
4583
|
+
readonly save_parent_id: number;
|
|
4594
4584
|
readonly seconds_seeding: number | null;
|
|
4595
4585
|
readonly simulated: boolean;
|
|
4596
4586
|
readonly started_at: string | null;
|
|
@@ -4605,20 +4595,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4605
4595
|
error_message: typeof Schema.String;
|
|
4606
4596
|
status: Schema.Literal<["ERROR"]>;
|
|
4607
4597
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
4608
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
4609
4598
|
readonly created_at: string;
|
|
4610
4599
|
readonly id: number;
|
|
4600
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
4611
4601
|
readonly size: number | null;
|
|
4612
|
-
readonly callback_url: string | null;
|
|
4613
4602
|
readonly name: string;
|
|
4614
|
-
readonly links?: readonly {
|
|
4615
|
-
readonly url: string | null;
|
|
4616
|
-
readonly label: string;
|
|
4617
|
-
}[] | undefined;
|
|
4618
|
-
readonly file_id: number | null;
|
|
4619
|
-
readonly source: string;
|
|
4620
4603
|
readonly percent_done: number | null;
|
|
4621
|
-
readonly
|
|
4604
|
+
readonly source: string;
|
|
4605
|
+
readonly file_id: number | null;
|
|
4606
|
+
readonly callback_url: string | null;
|
|
4622
4607
|
readonly availability: number | null;
|
|
4623
4608
|
readonly client_ip: string | null;
|
|
4624
4609
|
readonly completion_percent: number | null;
|
|
@@ -4632,9 +4617,14 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4632
4617
|
readonly finished_at: string | null;
|
|
4633
4618
|
readonly hash: string | null;
|
|
4634
4619
|
readonly is_private: boolean;
|
|
4620
|
+
readonly links?: readonly {
|
|
4621
|
+
readonly url: string | null;
|
|
4622
|
+
readonly label: string;
|
|
4623
|
+
}[] | undefined;
|
|
4635
4624
|
readonly peers_connected: number | null;
|
|
4636
4625
|
readonly peers_getting_from_us: number | null;
|
|
4637
4626
|
readonly peers_sending_to_us: number | null;
|
|
4627
|
+
readonly save_parent_id: number;
|
|
4638
4628
|
readonly seconds_seeding: number | null;
|
|
4639
4629
|
readonly simulated: boolean;
|
|
4640
4630
|
readonly started_at: string | null;
|
|
@@ -4646,20 +4636,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4646
4636
|
readonly up_speed: number | null;
|
|
4647
4637
|
readonly userfile_exists?: boolean | undefined;
|
|
4648
4638
|
}, {
|
|
4649
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
4650
4639
|
readonly created_at: string;
|
|
4651
4640
|
readonly id: number;
|
|
4641
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
4652
4642
|
readonly size: number | null;
|
|
4653
|
-
readonly callback_url: string | null;
|
|
4654
4643
|
readonly name: string;
|
|
4655
|
-
readonly links?: readonly {
|
|
4656
|
-
readonly url: string | null;
|
|
4657
|
-
readonly label: string;
|
|
4658
|
-
}[] | undefined;
|
|
4659
|
-
readonly file_id: number | null;
|
|
4660
|
-
readonly source: string;
|
|
4661
4644
|
readonly percent_done: number | null;
|
|
4662
|
-
readonly
|
|
4645
|
+
readonly source: string;
|
|
4646
|
+
readonly file_id: number | null;
|
|
4647
|
+
readonly callback_url: string | null;
|
|
4663
4648
|
readonly availability: number | null;
|
|
4664
4649
|
readonly client_ip: string | null;
|
|
4665
4650
|
readonly completion_percent: number | null;
|
|
@@ -4673,9 +4658,14 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4673
4658
|
readonly finished_at: string | null;
|
|
4674
4659
|
readonly hash: string | null;
|
|
4675
4660
|
readonly is_private: boolean;
|
|
4661
|
+
readonly links?: readonly {
|
|
4662
|
+
readonly url: string | null;
|
|
4663
|
+
readonly label: string;
|
|
4664
|
+
}[] | undefined;
|
|
4676
4665
|
readonly peers_connected: number | null;
|
|
4677
4666
|
readonly peers_getting_from_us: number | null;
|
|
4678
4667
|
readonly peers_sending_to_us: number | null;
|
|
4668
|
+
readonly save_parent_id: number;
|
|
4679
4669
|
readonly seconds_seeding: number | null;
|
|
4680
4670
|
readonly simulated: boolean;
|
|
4681
4671
|
readonly started_at: string | null;
|
|
@@ -4693,16 +4683,11 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4693
4683
|
readonly created_at: string;
|
|
4694
4684
|
readonly id: number;
|
|
4695
4685
|
readonly size: number | null;
|
|
4696
|
-
readonly callback_url: string | null;
|
|
4697
4686
|
readonly name: string;
|
|
4698
|
-
readonly links?: readonly {
|
|
4699
|
-
readonly url: string | null;
|
|
4700
|
-
readonly label: string;
|
|
4701
|
-
}[] | undefined;
|
|
4702
|
-
readonly file_id: number | null;
|
|
4703
|
-
readonly source: string;
|
|
4704
4687
|
readonly percent_done: number | null;
|
|
4705
|
-
readonly
|
|
4688
|
+
readonly source: string;
|
|
4689
|
+
readonly file_id: number | null;
|
|
4690
|
+
readonly callback_url: string | null;
|
|
4706
4691
|
readonly availability: number | null;
|
|
4707
4692
|
readonly client_ip: string | null;
|
|
4708
4693
|
readonly completion_percent: number | null;
|
|
@@ -4715,10 +4700,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4715
4700
|
readonly finished_at: string | null;
|
|
4716
4701
|
readonly hash: string | null;
|
|
4717
4702
|
readonly is_private: boolean;
|
|
4703
|
+
readonly links?: readonly {
|
|
4704
|
+
readonly url: string | null;
|
|
4705
|
+
readonly label: string;
|
|
4706
|
+
}[] | undefined;
|
|
4718
4707
|
readonly peers_connected: number | null;
|
|
4719
4708
|
readonly peers_getting_from_us: number | null;
|
|
4720
4709
|
readonly peers_sending_to_us: number | null;
|
|
4721
4710
|
readonly recorded_seconds?: number | null | undefined;
|
|
4711
|
+
readonly save_parent_id: number;
|
|
4722
4712
|
readonly simulated: boolean;
|
|
4723
4713
|
readonly started_at: string | null;
|
|
4724
4714
|
readonly subscription_id: number | null;
|
|
@@ -4732,16 +4722,11 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4732
4722
|
readonly created_at: string;
|
|
4733
4723
|
readonly id: number;
|
|
4734
4724
|
readonly size: number | null;
|
|
4735
|
-
readonly callback_url: string | null;
|
|
4736
4725
|
readonly name: string;
|
|
4737
|
-
readonly links?: readonly {
|
|
4738
|
-
readonly url: string | null;
|
|
4739
|
-
readonly label: string;
|
|
4740
|
-
}[] | undefined;
|
|
4741
|
-
readonly file_id: number | null;
|
|
4742
|
-
readonly source: string;
|
|
4743
4726
|
readonly percent_done: number | null;
|
|
4744
|
-
readonly
|
|
4727
|
+
readonly source: string;
|
|
4728
|
+
readonly file_id: number | null;
|
|
4729
|
+
readonly callback_url: string | null;
|
|
4745
4730
|
readonly availability: number | null;
|
|
4746
4731
|
readonly client_ip: string | null;
|
|
4747
4732
|
readonly completion_percent: number | null;
|
|
@@ -4754,10 +4739,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4754
4739
|
readonly finished_at: string | null;
|
|
4755
4740
|
readonly hash: string | null;
|
|
4756
4741
|
readonly is_private: boolean;
|
|
4742
|
+
readonly links?: readonly {
|
|
4743
|
+
readonly url: string | null;
|
|
4744
|
+
readonly label: string;
|
|
4745
|
+
}[] | undefined;
|
|
4757
4746
|
readonly peers_connected: number | null;
|
|
4758
4747
|
readonly peers_getting_from_us: number | null;
|
|
4759
4748
|
readonly peers_sending_to_us: number | null;
|
|
4760
4749
|
readonly recorded_seconds?: number | null | undefined;
|
|
4750
|
+
readonly save_parent_id: number;
|
|
4761
4751
|
readonly simulated: boolean;
|
|
4762
4752
|
readonly started_at: string | null;
|
|
4763
4753
|
readonly subscription_id: number | null;
|
|
@@ -4776,17 +4766,12 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4776
4766
|
readonly created_at: string;
|
|
4777
4767
|
readonly id: number;
|
|
4778
4768
|
readonly size: number | null;
|
|
4779
|
-
readonly callback_url: string | null;
|
|
4780
4769
|
readonly name: string;
|
|
4781
|
-
readonly links?: readonly {
|
|
4782
|
-
readonly url: string | null;
|
|
4783
|
-
readonly label: string;
|
|
4784
|
-
}[] | undefined;
|
|
4785
4770
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4786
|
-
readonly file_id: number | null;
|
|
4787
|
-
readonly source: string;
|
|
4788
4771
|
readonly percent_done: number | null;
|
|
4789
|
-
readonly
|
|
4772
|
+
readonly source: string;
|
|
4773
|
+
readonly file_id: number | null;
|
|
4774
|
+
readonly callback_url: string | null;
|
|
4790
4775
|
readonly availability: number | null;
|
|
4791
4776
|
readonly client_ip: string | null;
|
|
4792
4777
|
readonly completion_percent: number | null;
|
|
@@ -4800,10 +4785,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4800
4785
|
readonly finished_at: string | null;
|
|
4801
4786
|
readonly hash: string | null;
|
|
4802
4787
|
readonly is_private: boolean;
|
|
4788
|
+
readonly links?: readonly {
|
|
4789
|
+
readonly url: string | null;
|
|
4790
|
+
readonly label: string;
|
|
4791
|
+
}[] | undefined;
|
|
4803
4792
|
readonly peers_connected: number | null;
|
|
4804
4793
|
readonly peers_getting_from_us: number | null;
|
|
4805
4794
|
readonly peers_sending_to_us: number | null;
|
|
4806
4795
|
readonly recorded_seconds?: number | null | undefined;
|
|
4796
|
+
readonly save_parent_id: number;
|
|
4807
4797
|
readonly seconds_seeding: number | null;
|
|
4808
4798
|
readonly simulated: boolean;
|
|
4809
4799
|
readonly started_at: string | null;
|
|
@@ -4818,17 +4808,12 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4818
4808
|
readonly created_at: string;
|
|
4819
4809
|
readonly id: number;
|
|
4820
4810
|
readonly size: number | null;
|
|
4821
|
-
readonly callback_url: string | null;
|
|
4822
4811
|
readonly name: string;
|
|
4823
|
-
readonly links?: readonly {
|
|
4824
|
-
readonly url: string | null;
|
|
4825
|
-
readonly label: string;
|
|
4826
|
-
}[] | undefined;
|
|
4827
4812
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4828
|
-
readonly file_id: number | null;
|
|
4829
|
-
readonly source: string;
|
|
4830
4813
|
readonly percent_done: number | null;
|
|
4831
|
-
readonly
|
|
4814
|
+
readonly source: string;
|
|
4815
|
+
readonly file_id: number | null;
|
|
4816
|
+
readonly callback_url: string | null;
|
|
4832
4817
|
readonly availability: number | null;
|
|
4833
4818
|
readonly client_ip: string | null;
|
|
4834
4819
|
readonly completion_percent: number | null;
|
|
@@ -4842,10 +4827,15 @@ declare const TransferSchema: Schema.Union<[Schema.extend<Schema.SchemaClass<{
|
|
|
4842
4827
|
readonly finished_at: string | null;
|
|
4843
4828
|
readonly hash: string | null;
|
|
4844
4829
|
readonly is_private: boolean;
|
|
4830
|
+
readonly links?: readonly {
|
|
4831
|
+
readonly url: string | null;
|
|
4832
|
+
readonly label: string;
|
|
4833
|
+
}[] | undefined;
|
|
4845
4834
|
readonly peers_connected: number | null;
|
|
4846
4835
|
readonly peers_getting_from_us: number | null;
|
|
4847
4836
|
readonly peers_sending_to_us: number | null;
|
|
4848
4837
|
readonly recorded_seconds?: number | null | undefined;
|
|
4838
|
+
readonly save_parent_id: number;
|
|
4849
4839
|
readonly seconds_seeding: number | null;
|
|
4850
4840
|
readonly simulated: boolean;
|
|
4851
4841
|
readonly started_at: string | null;
|
|
@@ -4927,17 +4917,12 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
4927
4917
|
readonly created_at: string;
|
|
4928
4918
|
readonly id: number;
|
|
4929
4919
|
readonly size: number | null;
|
|
4930
|
-
readonly callback_url: string | null;
|
|
4931
4920
|
readonly name: string;
|
|
4932
|
-
readonly links?: readonly {
|
|
4933
|
-
readonly url: string | null;
|
|
4934
|
-
readonly label: string;
|
|
4935
|
-
}[] | undefined;
|
|
4936
4921
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4937
|
-
readonly file_id: number | null;
|
|
4938
|
-
readonly source: string;
|
|
4939
4922
|
readonly percent_done: number | null;
|
|
4940
|
-
readonly
|
|
4923
|
+
readonly source: string;
|
|
4924
|
+
readonly file_id: number | null;
|
|
4925
|
+
readonly callback_url: string | null;
|
|
4941
4926
|
readonly availability: number | null;
|
|
4942
4927
|
readonly client_ip: string | null;
|
|
4943
4928
|
readonly completion_percent: number | null;
|
|
@@ -4950,10 +4935,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
4950
4935
|
readonly finished_at: string | null;
|
|
4951
4936
|
readonly hash: string | null;
|
|
4952
4937
|
readonly is_private: boolean;
|
|
4938
|
+
readonly links?: readonly {
|
|
4939
|
+
readonly url: string | null;
|
|
4940
|
+
readonly label: string;
|
|
4941
|
+
}[] | undefined;
|
|
4953
4942
|
readonly peers_connected: number | null;
|
|
4954
4943
|
readonly peers_getting_from_us: number | null;
|
|
4955
4944
|
readonly peers_sending_to_us: number | null;
|
|
4956
4945
|
readonly recorded_seconds?: number | null | undefined;
|
|
4946
|
+
readonly save_parent_id: number;
|
|
4957
4947
|
readonly seconds_seeding: number | null;
|
|
4958
4948
|
readonly simulated: boolean;
|
|
4959
4949
|
readonly started_at: string | null;
|
|
@@ -4968,17 +4958,12 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
4968
4958
|
readonly created_at: string;
|
|
4969
4959
|
readonly id: number;
|
|
4970
4960
|
readonly size: number | null;
|
|
4971
|
-
readonly callback_url: string | null;
|
|
4972
4961
|
readonly name: string;
|
|
4973
|
-
readonly links?: readonly {
|
|
4974
|
-
readonly url: string | null;
|
|
4975
|
-
readonly label: string;
|
|
4976
|
-
}[] | undefined;
|
|
4977
4962
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
4978
|
-
readonly file_id: number | null;
|
|
4979
|
-
readonly source: string;
|
|
4980
4963
|
readonly percent_done: number | null;
|
|
4981
|
-
readonly
|
|
4964
|
+
readonly source: string;
|
|
4965
|
+
readonly file_id: number | null;
|
|
4966
|
+
readonly callback_url: string | null;
|
|
4982
4967
|
readonly availability: number | null;
|
|
4983
4968
|
readonly client_ip: string | null;
|
|
4984
4969
|
readonly completion_percent: number | null;
|
|
@@ -4991,10 +4976,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
4991
4976
|
readonly finished_at: string | null;
|
|
4992
4977
|
readonly hash: string | null;
|
|
4993
4978
|
readonly is_private: boolean;
|
|
4979
|
+
readonly links?: readonly {
|
|
4980
|
+
readonly url: string | null;
|
|
4981
|
+
readonly label: string;
|
|
4982
|
+
}[] | undefined;
|
|
4994
4983
|
readonly peers_connected: number | null;
|
|
4995
4984
|
readonly peers_getting_from_us: number | null;
|
|
4996
4985
|
readonly peers_sending_to_us: number | null;
|
|
4997
4986
|
readonly recorded_seconds?: number | null | undefined;
|
|
4987
|
+
readonly save_parent_id: number;
|
|
4998
4988
|
readonly seconds_seeding: number | null;
|
|
4999
4989
|
readonly simulated: boolean;
|
|
5000
4990
|
readonly started_at: string | null;
|
|
@@ -5009,20 +4999,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5009
4999
|
error_message: typeof Schema.String;
|
|
5010
5000
|
status: Schema.Literal<["ERROR"]>;
|
|
5011
5001
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
5012
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5013
5002
|
readonly created_at: string;
|
|
5014
5003
|
readonly id: number;
|
|
5004
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5015
5005
|
readonly size: number | null;
|
|
5016
|
-
readonly callback_url: string | null;
|
|
5017
5006
|
readonly name: string;
|
|
5018
|
-
readonly links?: readonly {
|
|
5019
|
-
readonly url: string | null;
|
|
5020
|
-
readonly label: string;
|
|
5021
|
-
}[] | undefined;
|
|
5022
|
-
readonly file_id: number | null;
|
|
5023
|
-
readonly source: string;
|
|
5024
5007
|
readonly percent_done: number | null;
|
|
5025
|
-
readonly
|
|
5008
|
+
readonly source: string;
|
|
5009
|
+
readonly file_id: number | null;
|
|
5010
|
+
readonly callback_url: string | null;
|
|
5026
5011
|
readonly availability: number | null;
|
|
5027
5012
|
readonly client_ip: string | null;
|
|
5028
5013
|
readonly completion_percent: number | null;
|
|
@@ -5036,9 +5021,14 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5036
5021
|
readonly finished_at: string | null;
|
|
5037
5022
|
readonly hash: string | null;
|
|
5038
5023
|
readonly is_private: boolean;
|
|
5024
|
+
readonly links?: readonly {
|
|
5025
|
+
readonly url: string | null;
|
|
5026
|
+
readonly label: string;
|
|
5027
|
+
}[] | undefined;
|
|
5039
5028
|
readonly peers_connected: number | null;
|
|
5040
5029
|
readonly peers_getting_from_us: number | null;
|
|
5041
5030
|
readonly peers_sending_to_us: number | null;
|
|
5031
|
+
readonly save_parent_id: number;
|
|
5042
5032
|
readonly seconds_seeding: number | null;
|
|
5043
5033
|
readonly simulated: boolean;
|
|
5044
5034
|
readonly started_at: string | null;
|
|
@@ -5050,20 +5040,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5050
5040
|
readonly up_speed: number | null;
|
|
5051
5041
|
readonly userfile_exists?: boolean | undefined;
|
|
5052
5042
|
}, {
|
|
5053
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5054
5043
|
readonly created_at: string;
|
|
5055
5044
|
readonly id: number;
|
|
5045
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5056
5046
|
readonly size: number | null;
|
|
5057
|
-
readonly callback_url: string | null;
|
|
5058
5047
|
readonly name: string;
|
|
5059
|
-
readonly links?: readonly {
|
|
5060
|
-
readonly url: string | null;
|
|
5061
|
-
readonly label: string;
|
|
5062
|
-
}[] | undefined;
|
|
5063
|
-
readonly file_id: number | null;
|
|
5064
|
-
readonly source: string;
|
|
5065
5048
|
readonly percent_done: number | null;
|
|
5066
|
-
readonly
|
|
5049
|
+
readonly source: string;
|
|
5050
|
+
readonly file_id: number | null;
|
|
5051
|
+
readonly callback_url: string | null;
|
|
5067
5052
|
readonly availability: number | null;
|
|
5068
5053
|
readonly client_ip: string | null;
|
|
5069
5054
|
readonly completion_percent: number | null;
|
|
@@ -5077,9 +5062,14 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5077
5062
|
readonly finished_at: string | null;
|
|
5078
5063
|
readonly hash: string | null;
|
|
5079
5064
|
readonly is_private: boolean;
|
|
5065
|
+
readonly links?: readonly {
|
|
5066
|
+
readonly url: string | null;
|
|
5067
|
+
readonly label: string;
|
|
5068
|
+
}[] | undefined;
|
|
5080
5069
|
readonly peers_connected: number | null;
|
|
5081
5070
|
readonly peers_getting_from_us: number | null;
|
|
5082
5071
|
readonly peers_sending_to_us: number | null;
|
|
5072
|
+
readonly save_parent_id: number;
|
|
5083
5073
|
readonly seconds_seeding: number | null;
|
|
5084
5074
|
readonly simulated: boolean;
|
|
5085
5075
|
readonly started_at: string | null;
|
|
@@ -5097,16 +5087,11 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5097
5087
|
readonly created_at: string;
|
|
5098
5088
|
readonly id: number;
|
|
5099
5089
|
readonly size: number | null;
|
|
5100
|
-
readonly callback_url: string | null;
|
|
5101
5090
|
readonly name: string;
|
|
5102
|
-
readonly links?: readonly {
|
|
5103
|
-
readonly url: string | null;
|
|
5104
|
-
readonly label: string;
|
|
5105
|
-
}[] | undefined;
|
|
5106
|
-
readonly file_id: number | null;
|
|
5107
|
-
readonly source: string;
|
|
5108
5091
|
readonly percent_done: number | null;
|
|
5109
|
-
readonly
|
|
5092
|
+
readonly source: string;
|
|
5093
|
+
readonly file_id: number | null;
|
|
5094
|
+
readonly callback_url: string | null;
|
|
5110
5095
|
readonly availability: number | null;
|
|
5111
5096
|
readonly client_ip: string | null;
|
|
5112
5097
|
readonly completion_percent: number | null;
|
|
@@ -5119,10 +5104,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5119
5104
|
readonly finished_at: string | null;
|
|
5120
5105
|
readonly hash: string | null;
|
|
5121
5106
|
readonly is_private: boolean;
|
|
5107
|
+
readonly links?: readonly {
|
|
5108
|
+
readonly url: string | null;
|
|
5109
|
+
readonly label: string;
|
|
5110
|
+
}[] | undefined;
|
|
5122
5111
|
readonly peers_connected: number | null;
|
|
5123
5112
|
readonly peers_getting_from_us: number | null;
|
|
5124
5113
|
readonly peers_sending_to_us: number | null;
|
|
5125
5114
|
readonly recorded_seconds?: number | null | undefined;
|
|
5115
|
+
readonly save_parent_id: number;
|
|
5126
5116
|
readonly simulated: boolean;
|
|
5127
5117
|
readonly started_at: string | null;
|
|
5128
5118
|
readonly subscription_id: number | null;
|
|
@@ -5136,16 +5126,11 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5136
5126
|
readonly created_at: string;
|
|
5137
5127
|
readonly id: number;
|
|
5138
5128
|
readonly size: number | null;
|
|
5139
|
-
readonly callback_url: string | null;
|
|
5140
5129
|
readonly name: string;
|
|
5141
|
-
readonly links?: readonly {
|
|
5142
|
-
readonly url: string | null;
|
|
5143
|
-
readonly label: string;
|
|
5144
|
-
}[] | undefined;
|
|
5145
|
-
readonly file_id: number | null;
|
|
5146
|
-
readonly source: string;
|
|
5147
5130
|
readonly percent_done: number | null;
|
|
5148
|
-
readonly
|
|
5131
|
+
readonly source: string;
|
|
5132
|
+
readonly file_id: number | null;
|
|
5133
|
+
readonly callback_url: string | null;
|
|
5149
5134
|
readonly availability: number | null;
|
|
5150
5135
|
readonly client_ip: string | null;
|
|
5151
5136
|
readonly completion_percent: number | null;
|
|
@@ -5158,10 +5143,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5158
5143
|
readonly finished_at: string | null;
|
|
5159
5144
|
readonly hash: string | null;
|
|
5160
5145
|
readonly is_private: boolean;
|
|
5146
|
+
readonly links?: readonly {
|
|
5147
|
+
readonly url: string | null;
|
|
5148
|
+
readonly label: string;
|
|
5149
|
+
}[] | undefined;
|
|
5161
5150
|
readonly peers_connected: number | null;
|
|
5162
5151
|
readonly peers_getting_from_us: number | null;
|
|
5163
5152
|
readonly peers_sending_to_us: number | null;
|
|
5164
5153
|
readonly recorded_seconds?: number | null | undefined;
|
|
5154
|
+
readonly save_parent_id: number;
|
|
5165
5155
|
readonly simulated: boolean;
|
|
5166
5156
|
readonly started_at: string | null;
|
|
5167
5157
|
readonly subscription_id: number | null;
|
|
@@ -5180,17 +5170,12 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5180
5170
|
readonly created_at: string;
|
|
5181
5171
|
readonly id: number;
|
|
5182
5172
|
readonly size: number | null;
|
|
5183
|
-
readonly callback_url: string | null;
|
|
5184
5173
|
readonly name: string;
|
|
5185
|
-
readonly links?: readonly {
|
|
5186
|
-
readonly url: string | null;
|
|
5187
|
-
readonly label: string;
|
|
5188
|
-
}[] | undefined;
|
|
5189
5174
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5190
|
-
readonly file_id: number | null;
|
|
5191
|
-
readonly source: string;
|
|
5192
5175
|
readonly percent_done: number | null;
|
|
5193
|
-
readonly
|
|
5176
|
+
readonly source: string;
|
|
5177
|
+
readonly file_id: number | null;
|
|
5178
|
+
readonly callback_url: string | null;
|
|
5194
5179
|
readonly availability: number | null;
|
|
5195
5180
|
readonly client_ip: string | null;
|
|
5196
5181
|
readonly completion_percent: number | null;
|
|
@@ -5204,10 +5189,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5204
5189
|
readonly finished_at: string | null;
|
|
5205
5190
|
readonly hash: string | null;
|
|
5206
5191
|
readonly is_private: boolean;
|
|
5192
|
+
readonly links?: readonly {
|
|
5193
|
+
readonly url: string | null;
|
|
5194
|
+
readonly label: string;
|
|
5195
|
+
}[] | undefined;
|
|
5207
5196
|
readonly peers_connected: number | null;
|
|
5208
5197
|
readonly peers_getting_from_us: number | null;
|
|
5209
5198
|
readonly peers_sending_to_us: number | null;
|
|
5210
5199
|
readonly recorded_seconds?: number | null | undefined;
|
|
5200
|
+
readonly save_parent_id: number;
|
|
5211
5201
|
readonly seconds_seeding: number | null;
|
|
5212
5202
|
readonly simulated: boolean;
|
|
5213
5203
|
readonly started_at: string | null;
|
|
@@ -5222,17 +5212,12 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5222
5212
|
readonly created_at: string;
|
|
5223
5213
|
readonly id: number;
|
|
5224
5214
|
readonly size: number | null;
|
|
5225
|
-
readonly callback_url: string | null;
|
|
5226
5215
|
readonly name: string;
|
|
5227
|
-
readonly links?: readonly {
|
|
5228
|
-
readonly url: string | null;
|
|
5229
|
-
readonly label: string;
|
|
5230
|
-
}[] | undefined;
|
|
5231
5216
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5232
|
-
readonly file_id: number | null;
|
|
5233
|
-
readonly source: string;
|
|
5234
5217
|
readonly percent_done: number | null;
|
|
5235
|
-
readonly
|
|
5218
|
+
readonly source: string;
|
|
5219
|
+
readonly file_id: number | null;
|
|
5220
|
+
readonly callback_url: string | null;
|
|
5236
5221
|
readonly availability: number | null;
|
|
5237
5222
|
readonly client_ip: string | null;
|
|
5238
5223
|
readonly completion_percent: number | null;
|
|
@@ -5246,10 +5231,15 @@ declare const TransfersListEnvelopeSchema: Schema.Struct<{
|
|
|
5246
5231
|
readonly finished_at: string | null;
|
|
5247
5232
|
readonly hash: string | null;
|
|
5248
5233
|
readonly is_private: boolean;
|
|
5234
|
+
readonly links?: readonly {
|
|
5235
|
+
readonly url: string | null;
|
|
5236
|
+
readonly label: string;
|
|
5237
|
+
}[] | undefined;
|
|
5249
5238
|
readonly peers_connected: number | null;
|
|
5250
5239
|
readonly peers_getting_from_us: number | null;
|
|
5251
5240
|
readonly peers_sending_to_us: number | null;
|
|
5252
5241
|
readonly recorded_seconds?: number | null | undefined;
|
|
5242
|
+
readonly save_parent_id: number;
|
|
5253
5243
|
readonly seconds_seeding: number | null;
|
|
5254
5244
|
readonly simulated: boolean;
|
|
5255
5245
|
readonly started_at: string | null;
|
|
@@ -5314,17 +5304,12 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5314
5304
|
readonly created_at: string;
|
|
5315
5305
|
readonly id: number;
|
|
5316
5306
|
readonly size: number | null;
|
|
5317
|
-
readonly callback_url: string | null;
|
|
5318
5307
|
readonly name: string;
|
|
5319
|
-
readonly links?: readonly {
|
|
5320
|
-
readonly url: string | null;
|
|
5321
|
-
readonly label: string;
|
|
5322
|
-
}[] | undefined;
|
|
5323
5308
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5324
|
-
readonly file_id: number | null;
|
|
5325
|
-
readonly source: string;
|
|
5326
5309
|
readonly percent_done: number | null;
|
|
5327
|
-
readonly
|
|
5310
|
+
readonly source: string;
|
|
5311
|
+
readonly file_id: number | null;
|
|
5312
|
+
readonly callback_url: string | null;
|
|
5328
5313
|
readonly availability: number | null;
|
|
5329
5314
|
readonly client_ip: string | null;
|
|
5330
5315
|
readonly completion_percent: number | null;
|
|
@@ -5337,10 +5322,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5337
5322
|
readonly finished_at: string | null;
|
|
5338
5323
|
readonly hash: string | null;
|
|
5339
5324
|
readonly is_private: boolean;
|
|
5325
|
+
readonly links?: readonly {
|
|
5326
|
+
readonly url: string | null;
|
|
5327
|
+
readonly label: string;
|
|
5328
|
+
}[] | undefined;
|
|
5340
5329
|
readonly peers_connected: number | null;
|
|
5341
5330
|
readonly peers_getting_from_us: number | null;
|
|
5342
5331
|
readonly peers_sending_to_us: number | null;
|
|
5343
5332
|
readonly recorded_seconds?: number | null | undefined;
|
|
5333
|
+
readonly save_parent_id: number;
|
|
5344
5334
|
readonly seconds_seeding: number | null;
|
|
5345
5335
|
readonly simulated: boolean;
|
|
5346
5336
|
readonly started_at: string | null;
|
|
@@ -5355,17 +5345,12 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5355
5345
|
readonly created_at: string;
|
|
5356
5346
|
readonly id: number;
|
|
5357
5347
|
readonly size: number | null;
|
|
5358
|
-
readonly callback_url: string | null;
|
|
5359
5348
|
readonly name: string;
|
|
5360
|
-
readonly links?: readonly {
|
|
5361
|
-
readonly url: string | null;
|
|
5362
|
-
readonly label: string;
|
|
5363
|
-
}[] | undefined;
|
|
5364
5349
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5365
|
-
readonly file_id: number | null;
|
|
5366
|
-
readonly source: string;
|
|
5367
5350
|
readonly percent_done: number | null;
|
|
5368
|
-
readonly
|
|
5351
|
+
readonly source: string;
|
|
5352
|
+
readonly file_id: number | null;
|
|
5353
|
+
readonly callback_url: string | null;
|
|
5369
5354
|
readonly availability: number | null;
|
|
5370
5355
|
readonly client_ip: string | null;
|
|
5371
5356
|
readonly completion_percent: number | null;
|
|
@@ -5378,10 +5363,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5378
5363
|
readonly finished_at: string | null;
|
|
5379
5364
|
readonly hash: string | null;
|
|
5380
5365
|
readonly is_private: boolean;
|
|
5366
|
+
readonly links?: readonly {
|
|
5367
|
+
readonly url: string | null;
|
|
5368
|
+
readonly label: string;
|
|
5369
|
+
}[] | undefined;
|
|
5381
5370
|
readonly peers_connected: number | null;
|
|
5382
5371
|
readonly peers_getting_from_us: number | null;
|
|
5383
5372
|
readonly peers_sending_to_us: number | null;
|
|
5384
5373
|
readonly recorded_seconds?: number | null | undefined;
|
|
5374
|
+
readonly save_parent_id: number;
|
|
5385
5375
|
readonly seconds_seeding: number | null;
|
|
5386
5376
|
readonly simulated: boolean;
|
|
5387
5377
|
readonly started_at: string | null;
|
|
@@ -5396,20 +5386,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5396
5386
|
error_message: typeof Schema.String;
|
|
5397
5387
|
status: Schema.Literal<["ERROR"]>;
|
|
5398
5388
|
}>>, Schema.extend<Schema.SchemaClass<{
|
|
5399
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5400
5389
|
readonly created_at: string;
|
|
5401
5390
|
readonly id: number;
|
|
5391
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5402
5392
|
readonly size: number | null;
|
|
5403
|
-
readonly callback_url: string | null;
|
|
5404
5393
|
readonly name: string;
|
|
5405
|
-
readonly links?: readonly {
|
|
5406
|
-
readonly url: string | null;
|
|
5407
|
-
readonly label: string;
|
|
5408
|
-
}[] | undefined;
|
|
5409
|
-
readonly file_id: number | null;
|
|
5410
|
-
readonly source: string;
|
|
5411
5394
|
readonly percent_done: number | null;
|
|
5412
|
-
readonly
|
|
5395
|
+
readonly source: string;
|
|
5396
|
+
readonly file_id: number | null;
|
|
5397
|
+
readonly callback_url: string | null;
|
|
5413
5398
|
readonly availability: number | null;
|
|
5414
5399
|
readonly client_ip: string | null;
|
|
5415
5400
|
readonly completion_percent: number | null;
|
|
@@ -5423,9 +5408,14 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5423
5408
|
readonly finished_at: string | null;
|
|
5424
5409
|
readonly hash: string | null;
|
|
5425
5410
|
readonly is_private: boolean;
|
|
5411
|
+
readonly links?: readonly {
|
|
5412
|
+
readonly url: string | null;
|
|
5413
|
+
readonly label: string;
|
|
5414
|
+
}[] | undefined;
|
|
5426
5415
|
readonly peers_connected: number | null;
|
|
5427
5416
|
readonly peers_getting_from_us: number | null;
|
|
5428
5417
|
readonly peers_sending_to_us: number | null;
|
|
5418
|
+
readonly save_parent_id: number;
|
|
5429
5419
|
readonly seconds_seeding: number | null;
|
|
5430
5420
|
readonly simulated: boolean;
|
|
5431
5421
|
readonly started_at: string | null;
|
|
@@ -5437,20 +5427,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5437
5427
|
readonly up_speed: number | null;
|
|
5438
5428
|
readonly userfile_exists?: boolean | undefined;
|
|
5439
5429
|
}, {
|
|
5440
|
-
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5441
5430
|
readonly created_at: string;
|
|
5442
5431
|
readonly id: number;
|
|
5432
|
+
readonly status: "ERROR" | "IN_QUEUE" | "COMPLETED" | "WAITING" | "PREPARING_DOWNLOAD" | "DOWNLOADING" | "WAITING_FOR_COMPLETE_QUEUE" | "WAITING_FOR_DOWNLOADER" | "COMPLETING" | "STOPPING" | "SEEDING" | "PREPARING_SEED";
|
|
5443
5433
|
readonly size: number | null;
|
|
5444
|
-
readonly callback_url: string | null;
|
|
5445
5434
|
readonly name: string;
|
|
5446
|
-
readonly links?: readonly {
|
|
5447
|
-
readonly url: string | null;
|
|
5448
|
-
readonly label: string;
|
|
5449
|
-
}[] | undefined;
|
|
5450
|
-
readonly file_id: number | null;
|
|
5451
|
-
readonly source: string;
|
|
5452
5435
|
readonly percent_done: number | null;
|
|
5453
|
-
readonly
|
|
5436
|
+
readonly source: string;
|
|
5437
|
+
readonly file_id: number | null;
|
|
5438
|
+
readonly callback_url: string | null;
|
|
5454
5439
|
readonly availability: number | null;
|
|
5455
5440
|
readonly client_ip: string | null;
|
|
5456
5441
|
readonly completion_percent: number | null;
|
|
@@ -5464,9 +5449,14 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5464
5449
|
readonly finished_at: string | null;
|
|
5465
5450
|
readonly hash: string | null;
|
|
5466
5451
|
readonly is_private: boolean;
|
|
5452
|
+
readonly links?: readonly {
|
|
5453
|
+
readonly url: string | null;
|
|
5454
|
+
readonly label: string;
|
|
5455
|
+
}[] | undefined;
|
|
5467
5456
|
readonly peers_connected: number | null;
|
|
5468
5457
|
readonly peers_getting_from_us: number | null;
|
|
5469
5458
|
readonly peers_sending_to_us: number | null;
|
|
5459
|
+
readonly save_parent_id: number;
|
|
5470
5460
|
readonly seconds_seeding: number | null;
|
|
5471
5461
|
readonly simulated: boolean;
|
|
5472
5462
|
readonly started_at: string | null;
|
|
@@ -5484,16 +5474,11 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5484
5474
|
readonly created_at: string;
|
|
5485
5475
|
readonly id: number;
|
|
5486
5476
|
readonly size: number | null;
|
|
5487
|
-
readonly callback_url: string | null;
|
|
5488
5477
|
readonly name: string;
|
|
5489
|
-
readonly links?: readonly {
|
|
5490
|
-
readonly url: string | null;
|
|
5491
|
-
readonly label: string;
|
|
5492
|
-
}[] | undefined;
|
|
5493
|
-
readonly file_id: number | null;
|
|
5494
|
-
readonly source: string;
|
|
5495
5478
|
readonly percent_done: number | null;
|
|
5496
|
-
readonly
|
|
5479
|
+
readonly source: string;
|
|
5480
|
+
readonly file_id: number | null;
|
|
5481
|
+
readonly callback_url: string | null;
|
|
5497
5482
|
readonly availability: number | null;
|
|
5498
5483
|
readonly client_ip: string | null;
|
|
5499
5484
|
readonly completion_percent: number | null;
|
|
@@ -5506,10 +5491,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5506
5491
|
readonly finished_at: string | null;
|
|
5507
5492
|
readonly hash: string | null;
|
|
5508
5493
|
readonly is_private: boolean;
|
|
5494
|
+
readonly links?: readonly {
|
|
5495
|
+
readonly url: string | null;
|
|
5496
|
+
readonly label: string;
|
|
5497
|
+
}[] | undefined;
|
|
5509
5498
|
readonly peers_connected: number | null;
|
|
5510
5499
|
readonly peers_getting_from_us: number | null;
|
|
5511
5500
|
readonly peers_sending_to_us: number | null;
|
|
5512
5501
|
readonly recorded_seconds?: number | null | undefined;
|
|
5502
|
+
readonly save_parent_id: number;
|
|
5513
5503
|
readonly simulated: boolean;
|
|
5514
5504
|
readonly started_at: string | null;
|
|
5515
5505
|
readonly subscription_id: number | null;
|
|
@@ -5523,16 +5513,11 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5523
5513
|
readonly created_at: string;
|
|
5524
5514
|
readonly id: number;
|
|
5525
5515
|
readonly size: number | null;
|
|
5526
|
-
readonly callback_url: string | null;
|
|
5527
5516
|
readonly name: string;
|
|
5528
|
-
readonly links?: readonly {
|
|
5529
|
-
readonly url: string | null;
|
|
5530
|
-
readonly label: string;
|
|
5531
|
-
}[] | undefined;
|
|
5532
|
-
readonly file_id: number | null;
|
|
5533
|
-
readonly source: string;
|
|
5534
5517
|
readonly percent_done: number | null;
|
|
5535
|
-
readonly
|
|
5518
|
+
readonly source: string;
|
|
5519
|
+
readonly file_id: number | null;
|
|
5520
|
+
readonly callback_url: string | null;
|
|
5536
5521
|
readonly availability: number | null;
|
|
5537
5522
|
readonly client_ip: string | null;
|
|
5538
5523
|
readonly completion_percent: number | null;
|
|
@@ -5545,10 +5530,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5545
5530
|
readonly finished_at: string | null;
|
|
5546
5531
|
readonly hash: string | null;
|
|
5547
5532
|
readonly is_private: boolean;
|
|
5533
|
+
readonly links?: readonly {
|
|
5534
|
+
readonly url: string | null;
|
|
5535
|
+
readonly label: string;
|
|
5536
|
+
}[] | undefined;
|
|
5548
5537
|
readonly peers_connected: number | null;
|
|
5549
5538
|
readonly peers_getting_from_us: number | null;
|
|
5550
5539
|
readonly peers_sending_to_us: number | null;
|
|
5551
5540
|
readonly recorded_seconds?: number | null | undefined;
|
|
5541
|
+
readonly save_parent_id: number;
|
|
5552
5542
|
readonly simulated: boolean;
|
|
5553
5543
|
readonly started_at: string | null;
|
|
5554
5544
|
readonly subscription_id: number | null;
|
|
@@ -5567,17 +5557,12 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5567
5557
|
readonly created_at: string;
|
|
5568
5558
|
readonly id: number;
|
|
5569
5559
|
readonly size: number | null;
|
|
5570
|
-
readonly callback_url: string | null;
|
|
5571
5560
|
readonly name: string;
|
|
5572
|
-
readonly links?: readonly {
|
|
5573
|
-
readonly url: string | null;
|
|
5574
|
-
readonly label: string;
|
|
5575
|
-
}[] | undefined;
|
|
5576
5561
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5577
|
-
readonly file_id: number | null;
|
|
5578
|
-
readonly source: string;
|
|
5579
5562
|
readonly percent_done: number | null;
|
|
5580
|
-
readonly
|
|
5563
|
+
readonly source: string;
|
|
5564
|
+
readonly file_id: number | null;
|
|
5565
|
+
readonly callback_url: string | null;
|
|
5581
5566
|
readonly availability: number | null;
|
|
5582
5567
|
readonly client_ip: string | null;
|
|
5583
5568
|
readonly completion_percent: number | null;
|
|
@@ -5591,10 +5576,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5591
5576
|
readonly finished_at: string | null;
|
|
5592
5577
|
readonly hash: string | null;
|
|
5593
5578
|
readonly is_private: boolean;
|
|
5579
|
+
readonly links?: readonly {
|
|
5580
|
+
readonly url: string | null;
|
|
5581
|
+
readonly label: string;
|
|
5582
|
+
}[] | undefined;
|
|
5594
5583
|
readonly peers_connected: number | null;
|
|
5595
5584
|
readonly peers_getting_from_us: number | null;
|
|
5596
5585
|
readonly peers_sending_to_us: number | null;
|
|
5597
5586
|
readonly recorded_seconds?: number | null | undefined;
|
|
5587
|
+
readonly save_parent_id: number;
|
|
5598
5588
|
readonly seconds_seeding: number | null;
|
|
5599
5589
|
readonly simulated: boolean;
|
|
5600
5590
|
readonly started_at: string | null;
|
|
@@ -5609,17 +5599,12 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5609
5599
|
readonly created_at: string;
|
|
5610
5600
|
readonly id: number;
|
|
5611
5601
|
readonly size: number | null;
|
|
5612
|
-
readonly callback_url: string | null;
|
|
5613
5602
|
readonly name: string;
|
|
5614
|
-
readonly links?: readonly {
|
|
5615
|
-
readonly url: string | null;
|
|
5616
|
-
readonly label: string;
|
|
5617
|
-
}[] | undefined;
|
|
5618
5603
|
readonly type: "URL" | "TORRENT" | "PLAYLIST" | "LIVE_STREAM" | "N/A";
|
|
5619
|
-
readonly file_id: number | null;
|
|
5620
|
-
readonly source: string;
|
|
5621
5604
|
readonly percent_done: number | null;
|
|
5622
|
-
readonly
|
|
5605
|
+
readonly source: string;
|
|
5606
|
+
readonly file_id: number | null;
|
|
5607
|
+
readonly callback_url: string | null;
|
|
5623
5608
|
readonly availability: number | null;
|
|
5624
5609
|
readonly client_ip: string | null;
|
|
5625
5610
|
readonly completion_percent: number | null;
|
|
@@ -5633,10 +5618,15 @@ declare const TransfersContinueEnvelopeSchema: Schema.Struct<{
|
|
|
5633
5618
|
readonly finished_at: string | null;
|
|
5634
5619
|
readonly hash: string | null;
|
|
5635
5620
|
readonly is_private: boolean;
|
|
5621
|
+
readonly links?: readonly {
|
|
5622
|
+
readonly url: string | null;
|
|
5623
|
+
readonly label: string;
|
|
5624
|
+
}[] | undefined;
|
|
5636
5625
|
readonly peers_connected: number | null;
|
|
5637
5626
|
readonly peers_getting_from_us: number | null;
|
|
5638
5627
|
readonly peers_sending_to_us: number | null;
|
|
5639
5628
|
readonly recorded_seconds?: number | null | undefined;
|
|
5629
|
+
readonly save_parent_id: number;
|
|
5640
5630
|
readonly seconds_seeding: number | null;
|
|
5641
5631
|
readonly simulated: boolean;
|
|
5642
5632
|
readonly started_at: string | null;
|
|
@@ -5699,7 +5689,6 @@ declare const TransfersAddMultiErrorSchema: Schema.Struct<{
|
|
|
5699
5689
|
status_code: Schema.filter<typeof Schema.Number>;
|
|
5700
5690
|
url: typeof Schema.String;
|
|
5701
5691
|
}>;
|
|
5702
|
-
type PutioSdkContext$2 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
5703
5692
|
type TransferType = Schema.Schema.Type<typeof TransferTypeSchema>;
|
|
5704
5693
|
type TransferStatus = Schema.Schema.Type<typeof TransferStatusSchema>;
|
|
5705
5694
|
type TransferLink = Schema.Schema.Type<typeof TransferLinkSchema>;
|
|
@@ -5789,28 +5778,28 @@ type AddManyTransfersError = PutioOperationFailure<typeof AddManyTransfersErrorS
|
|
|
5789
5778
|
type RetryTransferError = PutioOperationFailure<typeof RetryTransferErrorSpec>;
|
|
5790
5779
|
type ReannounceTransferError = PutioOperationFailure<typeof ReannounceTransferErrorSpec>;
|
|
5791
5780
|
type StopRecordingTransferError = PutioOperationFailure<typeof StopRecordingTransferErrorSpec>;
|
|
5792
|
-
declare const listTransfers: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError, PutioSdkContext
|
|
5781
|
+
declare const listTransfers: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError, PutioSdkContext>;
|
|
5793
5782
|
declare const continueTransfers: (cursor: string, query?: {
|
|
5794
5783
|
readonly per_page?: number;
|
|
5795
|
-
}) => Effect.Effect<TransfersContinueResponse, ListTransfersError, PutioSdkContext
|
|
5796
|
-
declare const getTransfer: (id: number) => Effect.Effect<Transfer, GetTransferError, PutioSdkContext
|
|
5797
|
-
declare const countTransfers: () => Effect.Effect<number, PutioSdkError, PutioSdkContext
|
|
5784
|
+
}) => Effect.Effect<TransfersContinueResponse, ListTransfersError, PutioSdkContext>;
|
|
5785
|
+
declare const getTransfer: (id: number) => Effect.Effect<Transfer, GetTransferError, PutioSdkContext>;
|
|
5786
|
+
declare const countTransfers: () => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
5798
5787
|
declare const getTransferInfo: (urls: ReadonlyArray<string>) => Effect.Effect<{
|
|
5799
5788
|
readonly disk_avail: number;
|
|
5800
5789
|
readonly ret: ReadonlyArray<TransferInfoItem>;
|
|
5801
|
-
}, PutioSdkError, PutioSdkContext
|
|
5802
|
-
declare const addTransfer: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError, PutioSdkContext
|
|
5790
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
5791
|
+
declare const addTransfer: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError, PutioSdkContext>;
|
|
5803
5792
|
declare const addManyTransfers: (inputs: ReadonlyArray<TransferAddInput>) => Effect.Effect<{
|
|
5804
5793
|
readonly errors: ReadonlyArray<TransfersAddMultiError>;
|
|
5805
5794
|
readonly transfers: ReadonlyArray<Transfer>;
|
|
5806
|
-
}, AddManyTransfersError, PutioSdkContext
|
|
5807
|
-
declare const cancelTransfers: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext
|
|
5795
|
+
}, AddManyTransfersError, PutioSdkContext>;
|
|
5796
|
+
declare const cancelTransfers: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5808
5797
|
declare const cleanTransfers: (ids?: ReadonlyArray<number>) => Effect.Effect<{
|
|
5809
5798
|
readonly deleted_ids: ReadonlyArray<number>;
|
|
5810
|
-
}, PutioSdkError, PutioSdkContext
|
|
5811
|
-
declare const retryTransfer: (id: number) => Effect.Effect<Transfer, RetryTransferError, PutioSdkContext
|
|
5812
|
-
declare const reannounceTransfer: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError, PutioSdkContext
|
|
5813
|
-
declare const stopTransferRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError, PutioSdkContext
|
|
5799
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
5800
|
+
declare const retryTransfer: (id: number) => Effect.Effect<Transfer, RetryTransferError, PutioSdkContext>;
|
|
5801
|
+
declare const reannounceTransfer: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError, PutioSdkContext>;
|
|
5802
|
+
declare const stopTransferRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError, PutioSdkContext>;
|
|
5814
5803
|
//#endregion
|
|
5815
5804
|
//#region src/domains/tunnel.d.ts
|
|
5816
5805
|
declare const TunnelRouteSchema: Schema.Struct<{
|
|
@@ -5818,14 +5807,13 @@ declare const TunnelRouteSchema: Schema.Struct<{
|
|
|
5818
5807
|
hosts: Schema.Array$<typeof Schema.String>;
|
|
5819
5808
|
name: typeof Schema.String;
|
|
5820
5809
|
}>;
|
|
5821
|
-
type PutioSdkContext$1 = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
5822
5810
|
type TunnelRoute = Schema.Schema.Type<typeof TunnelRouteSchema>;
|
|
5823
5811
|
declare const ListTunnelRoutesErrorSpec: PutioOperationErrorSpec<"tunnel", "listRoutes", readonly [{
|
|
5824
5812
|
readonly errorType: "invalid_scope";
|
|
5825
5813
|
readonly statusCode: 401;
|
|
5826
5814
|
}]>;
|
|
5827
5815
|
type ListTunnelRoutesError = PutioOperationFailure<typeof ListTunnelRoutesErrorSpec>;
|
|
5828
|
-
declare const listTunnelRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext
|
|
5816
|
+
declare const listTunnelRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
|
|
5829
5817
|
//#endregion
|
|
5830
5818
|
//#region src/domains/zips.d.ts
|
|
5831
5819
|
declare const ZipStatusSchema: Schema.Literal<["NEW", "PROCESSING", "DONE", "ERROR"]>;
|
|
@@ -5854,7 +5842,6 @@ declare const ZipInfoSchema: Schema.Union<[Schema.Struct<{
|
|
|
5854
5842
|
url: typeof Schema.String;
|
|
5855
5843
|
zip_status: Schema.Literal<["DONE"]>;
|
|
5856
5844
|
}>]>;
|
|
5857
|
-
type PutioSdkContext = PutioSdkConfig | _effect_platform0.HttpClient.HttpClient;
|
|
5858
5845
|
type ZipSummary = Schema.Schema.Type<typeof ZipSummarySchema>;
|
|
5859
5846
|
type ZipCreateResponse = Schema.Schema.Type<typeof ZipCreateEnvelopeSchema>;
|
|
5860
5847
|
type ZipInfo = Schema.Schema.Type<typeof ZipInfoSchema>;
|
|
@@ -5917,12 +5904,12 @@ declare const cancelZip: (id: number) => Effect.Effect<void, CancelZipError, Put
|
|
|
5917
5904
|
//#region src/core/client.d.ts
|
|
5918
5905
|
declare const createPutioSdkEffectClient: () => {
|
|
5919
5906
|
account: {
|
|
5920
|
-
clear: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
5921
|
-
destroy: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
5907
|
+
clear: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5908
|
+
destroy: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5922
5909
|
getInfo: typeof getAccountInfo;
|
|
5923
|
-
getSettings: () => Effect.Effect<AccountSettings, PutioSdkError,
|
|
5924
|
-
listConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError,
|
|
5925
|
-
saveSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError,
|
|
5910
|
+
getSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
|
|
5911
|
+
listConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext>;
|
|
5912
|
+
saveSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
|
|
5926
5913
|
};
|
|
5927
5914
|
auth: {
|
|
5928
5915
|
buildLoginUrl: (options: {
|
|
@@ -5933,21 +5920,21 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
5933
5920
|
readonly clientName?: string;
|
|
5934
5921
|
readonly webAppUrl?: string | URL;
|
|
5935
5922
|
}) => string;
|
|
5936
|
-
checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError,
|
|
5937
|
-
clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError,
|
|
5938
|
-
exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError,
|
|
5939
|
-
forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError,
|
|
5923
|
+
checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError, PutioSdkContext>;
|
|
5924
|
+
clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError, PutioSdkContext>;
|
|
5925
|
+
exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError, PutioSdkContext>;
|
|
5926
|
+
forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError, PutioSdkContext>;
|
|
5940
5927
|
getCode: (input: {
|
|
5941
5928
|
readonly appId: number | string;
|
|
5942
5929
|
readonly clientName?: string;
|
|
5943
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError,
|
|
5930
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError, PutioSdkContext>;
|
|
5944
5931
|
getFamilyInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
5945
5932
|
invite: Schema.Struct<{
|
|
5946
5933
|
owner: typeof Schema.String;
|
|
5947
5934
|
plan: typeof Schema.String;
|
|
5948
5935
|
}>;
|
|
5949
5936
|
status: Schema.Literal<["OK"]>;
|
|
5950
|
-
}>>["invite"], FamilyInviteLookupError,
|
|
5937
|
+
}>>["invite"], FamilyInviteLookupError, PutioSdkContext>;
|
|
5951
5938
|
getFriendInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
5952
5939
|
invite: Schema.Struct<{
|
|
5953
5940
|
inviter: typeof Schema.String;
|
|
@@ -5958,23 +5945,23 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
5958
5945
|
}>;
|
|
5959
5946
|
}>;
|
|
5960
5947
|
status: Schema.Literal<["OK"]>;
|
|
5961
|
-
}>>["invite"], FriendInviteLookupError,
|
|
5948
|
+
}>>["invite"], FriendInviteLookupError, PutioSdkContext>;
|
|
5962
5949
|
getGiftCard: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
5963
5950
|
gift_card: Schema.Struct<{
|
|
5964
5951
|
days: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
5965
5952
|
plan: typeof Schema.Boolean;
|
|
5966
5953
|
}>;
|
|
5967
5954
|
status: Schema.Literal<["OK"]>;
|
|
5968
|
-
}>>["gift_card"], GiftCardLookupError,
|
|
5955
|
+
}>>["gift_card"], GiftCardLookupError, PutioSdkContext>;
|
|
5969
5956
|
getVoucher: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
5970
5957
|
status: Schema.Literal<["OK"]>;
|
|
5971
5958
|
voucher: Schema.Struct<{
|
|
5972
5959
|
days: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
5973
5960
|
owner: Schema.NullOr<typeof Schema.String>;
|
|
5974
5961
|
}>;
|
|
5975
|
-
}>>["voucher"], VoucherLookupError,
|
|
5976
|
-
grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError,
|
|
5977
|
-
linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError,
|
|
5962
|
+
}>>["voucher"], VoucherLookupError, PutioSdkContext>;
|
|
5963
|
+
grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError, PutioSdkContext>;
|
|
5964
|
+
linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError, PutioSdkContext>;
|
|
5978
5965
|
login: (input: {
|
|
5979
5966
|
readonly clientId: string | number;
|
|
5980
5967
|
readonly clientSecret: string;
|
|
@@ -5982,77 +5969,77 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
5982
5969
|
readonly username: string;
|
|
5983
5970
|
readonly clientName?: string;
|
|
5984
5971
|
readonly fingerprint?: string;
|
|
5985
|
-
}) => Effect.Effect<LoginResponse, LoginError,
|
|
5986
|
-
logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
5972
|
+
}) => Effect.Effect<LoginResponse, LoginError, PutioSdkContext>;
|
|
5973
|
+
logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5987
5974
|
register: (input: RegisterInput) => Effect.Effect<{
|
|
5988
5975
|
readonly access_token: string;
|
|
5989
|
-
}, RegisterError,
|
|
5976
|
+
}, RegisterError, PutioSdkContext>;
|
|
5990
5977
|
resetPassword: (key: string, password: string) => Effect.Effect<{
|
|
5991
5978
|
readonly access_token: string;
|
|
5992
|
-
}, ResetPasswordError,
|
|
5993
|
-
revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError,
|
|
5994
|
-
revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError,
|
|
5995
|
-
revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError,
|
|
5979
|
+
}, ResetPasswordError, PutioSdkContext>;
|
|
5980
|
+
revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError, PutioSdkContext>;
|
|
5981
|
+
revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError, PutioSdkContext>;
|
|
5982
|
+
revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError, PutioSdkContext>;
|
|
5996
5983
|
twoFactor: {
|
|
5997
|
-
generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError,
|
|
5998
|
-
getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError,
|
|
5999
|
-
regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError,
|
|
6000
|
-
verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError,
|
|
5984
|
+
generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError, PutioSdkContext>;
|
|
5985
|
+
getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError, PutioSdkContext>;
|
|
5986
|
+
regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError, PutioSdkContext>;
|
|
5987
|
+
verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError, PutioSdkContext>;
|
|
6001
5988
|
};
|
|
6002
|
-
validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError,
|
|
5989
|
+
validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
|
|
6003
5990
|
};
|
|
6004
5991
|
config: {
|
|
6005
|
-
deleteKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
6006
|
-
getKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError,
|
|
6007
|
-
getKeyWith: <A, I>(key: string, schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError,
|
|
6008
|
-
read: () => Effect.Effect<PutioJsonObject, PutioSdkError,
|
|
6009
|
-
readWith: <A, I>(schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError,
|
|
6010
|
-
setKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
6011
|
-
write: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
5992
|
+
deleteKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5993
|
+
getKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError, PutioSdkContext>;
|
|
5994
|
+
getKeyWith: <A, I>(key: string, schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
|
|
5995
|
+
read: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
|
|
5996
|
+
readWith: <A, I>(schema: Schema.Schema<A, I, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
|
|
5997
|
+
setKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
5998
|
+
write: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
6012
5999
|
};
|
|
6013
6000
|
downloadLinks: {
|
|
6014
6001
|
create: (input?: DownloadLinksCreateInput) => Effect.Effect<{
|
|
6015
6002
|
readonly id: number;
|
|
6016
|
-
}, CreateDownloadLinksError,
|
|
6017
|
-
get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError,
|
|
6003
|
+
}, CreateDownloadLinksError, PutioSdkContext>;
|
|
6004
|
+
get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
|
|
6018
6005
|
};
|
|
6019
6006
|
events: {
|
|
6020
|
-
clear: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError,
|
|
6021
|
-
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError,
|
|
6022
|
-
getTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError,
|
|
6023
|
-
list: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError,
|
|
6007
|
+
clear: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError, PutioSdkContext>;
|
|
6008
|
+
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError, PutioSdkContext>;
|
|
6009
|
+
getTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError, PutioSdkContext>;
|
|
6010
|
+
list: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError, PutioSdkContext>;
|
|
6024
6011
|
};
|
|
6025
6012
|
family: {
|
|
6026
6013
|
createInvite: () => Effect.Effect<{
|
|
6027
6014
|
readonly code: string;
|
|
6028
|
-
}, CreateFamilyInviteError,
|
|
6029
|
-
join: (inviteCode: string) => Effect.Effect<void, JoinFamilyError,
|
|
6030
|
-
listInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError,
|
|
6031
|
-
listMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError,
|
|
6032
|
-
removeMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError,
|
|
6015
|
+
}, CreateFamilyInviteError, PutioSdkContext>;
|
|
6016
|
+
join: (inviteCode: string) => Effect.Effect<void, JoinFamilyError, PutioSdkContext>;
|
|
6017
|
+
listInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError, PutioSdkContext>;
|
|
6018
|
+
listMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError, PutioSdkContext>;
|
|
6019
|
+
removeMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError, PutioSdkContext>;
|
|
6033
6020
|
};
|
|
6034
6021
|
ifttt: {
|
|
6035
6022
|
getStatus: () => Effect.Effect<{
|
|
6036
6023
|
readonly enabled: boolean;
|
|
6037
|
-
}, GetIftttStatusError,
|
|
6038
|
-
sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError,
|
|
6024
|
+
}, GetIftttStatusError, PutioSdkContext>;
|
|
6025
|
+
sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
|
|
6039
6026
|
};
|
|
6040
6027
|
files: {
|
|
6041
6028
|
continue: (cursor: string, query?: {
|
|
6042
6029
|
readonly per_page?: number;
|
|
6043
|
-
}) => Effect.Effect<FileListContinuationResponse, ContinueFilesError,
|
|
6030
|
+
}) => Effect.Effect<FileListContinuationResponse, ContinueFilesError, PutioSdkContext>;
|
|
6044
6031
|
continueSearch: (cursor: string, query?: {
|
|
6045
6032
|
readonly per_page?: number;
|
|
6046
|
-
}) => Effect.Effect<FileSearchResponse, SearchFilesError,
|
|
6047
|
-
convertToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error,
|
|
6048
|
-
convertManyToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError,
|
|
6049
|
-
convertSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError,
|
|
6033
|
+
}) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
|
|
6034
|
+
convertToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
|
|
6035
|
+
convertManyToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
6036
|
+
convertSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
6050
6037
|
createUploadRequest: (input: FileUploadInput, options?: {
|
|
6051
6038
|
readonly oauthToken?: string;
|
|
6052
6039
|
}) => Effect.Effect<FileUploadRequestDescriptor, PutioSdkError, PutioSdkConfig>;
|
|
6053
|
-
createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError,
|
|
6054
|
-
deleteExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError,
|
|
6055
|
-
deleteMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError,
|
|
6040
|
+
createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError, PutioSdkContext>;
|
|
6041
|
+
deleteExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
|
|
6042
|
+
deleteMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
|
|
6056
6043
|
deleteSelection: (selection: FilesBulkSelection, options?: {
|
|
6057
6044
|
readonly partialDelete?: boolean;
|
|
6058
6045
|
readonly skipTrash?: boolean;
|
|
@@ -6060,7 +6047,7 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
6060
6047
|
cursor: Schema.NullOr<typeof Schema.String>;
|
|
6061
6048
|
skipped: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
6062
6049
|
status: Schema.Literal<["OK"]>;
|
|
6063
|
-
}>>, PutioSdkError,
|
|
6050
|
+
}>>, PutioSdkError, PutioSdkContext>;
|
|
6064
6051
|
delete: (ids: ReadonlyArray<number>, options?: {
|
|
6065
6052
|
readonly ignoreFileOwner?: boolean;
|
|
6066
6053
|
readonly partialDelete?: boolean;
|
|
@@ -6069,74 +6056,74 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
6069
6056
|
cursor: Schema.NullOr<typeof Schema.String>;
|
|
6070
6057
|
skipped: Schema.filter<Schema.filter<typeof Schema.Number>>;
|
|
6071
6058
|
status: Schema.Literal<["OK"]>;
|
|
6072
|
-
}>>, PutioSdkError,
|
|
6059
|
+
}>>, PutioSdkError, PutioSdkContext>;
|
|
6073
6060
|
extract: (selection: FilesBulkSelection & {
|
|
6074
6061
|
readonly password?: string;
|
|
6075
|
-
}) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError,
|
|
6062
|
+
}) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
|
|
6076
6063
|
findNext: (fileId: number, fileType: FileType) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
6077
6064
|
id: Schema.filter<typeof Schema.Number>;
|
|
6078
6065
|
name: typeof Schema.String;
|
|
6079
6066
|
parent_id: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
|
|
6080
|
-
}>>, PutioSdkError,
|
|
6067
|
+
}>>, PutioSdkError, PutioSdkContext>;
|
|
6081
6068
|
findNextVideo: (fileId: number) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
6082
6069
|
id: Schema.filter<typeof Schema.Number>;
|
|
6083
6070
|
name: typeof Schema.String;
|
|
6084
6071
|
parent_id: Schema.NullOr<Schema.filter<typeof Schema.Number>>;
|
|
6085
|
-
}>>, PutioSdkError,
|
|
6072
|
+
}>>, PutioSdkError, PutioSdkContext>;
|
|
6086
6073
|
getApiContentUrl: (fileId: number, options?: FileDirectAccessOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
6087
6074
|
getApiDownloadUrl: (fileId: number, options?: FileApiDownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
6088
6075
|
getApiMp4DownloadUrl: (fileId: number, options?: FileApiMp4DownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
6089
6076
|
get: typeof getFile;
|
|
6090
|
-
getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError,
|
|
6077
|
+
getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError, PutioSdkContext>;
|
|
6091
6078
|
getHlsStreamUrl: (fileId: number, options?: FileHlsStreamUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
|
|
6092
|
-
getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error,
|
|
6093
|
-
getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError,
|
|
6094
|
-
list: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError,
|
|
6095
|
-
listActiveConversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError,
|
|
6096
|
-
listExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError,
|
|
6079
|
+
getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
|
|
6080
|
+
getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError, PutioSdkContext>;
|
|
6081
|
+
list: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError, PutioSdkContext>;
|
|
6082
|
+
listActiveConversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError, PutioSdkContext>;
|
|
6083
|
+
listExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
|
|
6097
6084
|
listSubtitles: (fileId: number, options?: {
|
|
6098
6085
|
readonly languages?: ReadonlyArray<string>;
|
|
6099
6086
|
}) => Effect.Effect<{
|
|
6100
6087
|
readonly default: string | null;
|
|
6101
6088
|
readonly subtitles: ReadonlyArray<FileSubtitle>;
|
|
6102
|
-
}, FileSubtitlesError,
|
|
6103
|
-
move: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError,
|
|
6104
|
-
moveSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError,
|
|
6105
|
-
putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError,
|
|
6106
|
-
rename: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError,
|
|
6107
|
-
resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError,
|
|
6108
|
-
search: (query: FilesSearchQuery) => Effect.Effect<FileSearchResponse, SearchFilesError,
|
|
6089
|
+
}, FileSubtitlesError, PutioSdkContext>;
|
|
6090
|
+
move: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
|
|
6091
|
+
moveSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
|
|
6092
|
+
putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
|
|
6093
|
+
rename: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError, PutioSdkContext>;
|
|
6094
|
+
resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
|
|
6095
|
+
search: (query: FilesSearchQuery) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
|
|
6109
6096
|
setWatchStatus: (selection: FilesBulkSelection & {
|
|
6110
6097
|
readonly watched: boolean;
|
|
6111
|
-
}) => Effect.Effect<void, FileWatchStatusError,
|
|
6112
|
-
setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError,
|
|
6098
|
+
}) => Effect.Effect<void, FileWatchStatusError, PutioSdkContext>;
|
|
6099
|
+
setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
|
|
6113
6100
|
upload: (input: FileUploadInput, options?: {
|
|
6114
6101
|
readonly oauthToken?: string;
|
|
6115
|
-
}) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError,
|
|
6102
|
+
}) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError, PutioSdkContext>;
|
|
6116
6103
|
};
|
|
6117
6104
|
friendInvites: {
|
|
6118
6105
|
create: () => Effect.Effect<{
|
|
6119
6106
|
readonly code: string;
|
|
6120
|
-
}, CreateFriendInviteError,
|
|
6107
|
+
}, CreateFriendInviteError, PutioSdkContext>;
|
|
6121
6108
|
list: () => Effect.Effect<{
|
|
6122
6109
|
readonly invites: ReadonlyArray<FriendInvite>;
|
|
6123
6110
|
readonly remaining_limit: number;
|
|
6124
|
-
}, ListFriendInvitesError,
|
|
6111
|
+
}, ListFriendInvitesError, PutioSdkContext>;
|
|
6125
6112
|
};
|
|
6126
6113
|
friends: {
|
|
6127
|
-
approve: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError,
|
|
6128
|
-
countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError,
|
|
6129
|
-
deny: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError,
|
|
6114
|
+
approve: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError, PutioSdkContext>;
|
|
6115
|
+
countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError, PutioSdkContext>;
|
|
6116
|
+
deny: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError, PutioSdkContext>;
|
|
6130
6117
|
list: () => Effect.Effect<{
|
|
6131
6118
|
readonly friends: ReadonlyArray<Friend>;
|
|
6132
6119
|
readonly total: number;
|
|
6133
|
-
}, ListFriendsError,
|
|
6134
|
-
listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError,
|
|
6135
|
-
listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError,
|
|
6136
|
-
remove: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError,
|
|
6137
|
-
search: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError,
|
|
6138
|
-
sendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError,
|
|
6139
|
-
sharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError,
|
|
6120
|
+
}, ListFriendsError, PutioSdkContext>;
|
|
6121
|
+
listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError, PutioSdkContext>;
|
|
6122
|
+
listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError, PutioSdkContext>;
|
|
6123
|
+
remove: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError, PutioSdkContext>;
|
|
6124
|
+
search: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError, PutioSdkContext>;
|
|
6125
|
+
sendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError, PutioSdkContext>;
|
|
6126
|
+
sharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError, PutioSdkContext>;
|
|
6140
6127
|
};
|
|
6141
6128
|
oauth: {
|
|
6142
6129
|
buildAuthorizeUrl: (options: {
|
|
@@ -6168,65 +6155,65 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
6168
6155
|
website: typeof Schema.String;
|
|
6169
6156
|
}>]>;
|
|
6170
6157
|
status: Schema.Literal<["OK"]>;
|
|
6171
|
-
}>>, CreateOAuthAppError,
|
|
6172
|
-
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError,
|
|
6158
|
+
}>>, CreateOAuthAppError, PutioSdkContext>;
|
|
6159
|
+
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError, PutioSdkContext>;
|
|
6173
6160
|
get: (id: number, options?: {
|
|
6174
6161
|
readonly edit?: boolean;
|
|
6175
|
-
}) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError,
|
|
6176
|
-
getPopularApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError,
|
|
6177
|
-
query: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError,
|
|
6178
|
-
regenerateToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError,
|
|
6179
|
-
setIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
6180
|
-
update: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError,
|
|
6162
|
+
}) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError, PutioSdkContext>;
|
|
6163
|
+
getPopularApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError, PutioSdkContext>;
|
|
6164
|
+
query: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError, PutioSdkContext>;
|
|
6165
|
+
regenerateToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError, PutioSdkContext>;
|
|
6166
|
+
setIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
6167
|
+
update: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError, PutioSdkContext>;
|
|
6181
6168
|
};
|
|
6182
6169
|
payment: {
|
|
6183
6170
|
changePlan: {
|
|
6184
6171
|
classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
|
|
6185
|
-
preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError,
|
|
6186
|
-
submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError,
|
|
6172
|
+
preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
|
|
6173
|
+
submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
|
|
6187
6174
|
};
|
|
6188
|
-
confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError,
|
|
6189
|
-
getInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError,
|
|
6190
|
-
listHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError,
|
|
6191
|
-
listInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError,
|
|
6192
|
-
listOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError,
|
|
6193
|
-
listPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError,
|
|
6175
|
+
confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError, PutioSdkContext>;
|
|
6176
|
+
getInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError, PutioSdkContext>;
|
|
6177
|
+
listHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError, PutioSdkContext>;
|
|
6178
|
+
listInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError, PutioSdkContext>;
|
|
6179
|
+
listOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError, PutioSdkContext>;
|
|
6180
|
+
listPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError, PutioSdkContext>;
|
|
6194
6181
|
methods: {
|
|
6195
|
-
addPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError,
|
|
6196
|
-
createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError,
|
|
6197
|
-
createNanoPaymentRequest: (planCode: string) => Effect.Effect<string, CreateNanoPaymentRequestError,
|
|
6198
|
-
createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError,
|
|
6182
|
+
addPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError, PutioSdkContext>;
|
|
6183
|
+
createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError, PutioSdkContext>;
|
|
6184
|
+
createNanoPaymentRequest: (planCode: string) => Effect.Effect<string, CreateNanoPaymentRequestError, PutioSdkContext>;
|
|
6185
|
+
createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError, PutioSdkContext>;
|
|
6199
6186
|
};
|
|
6200
|
-
report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError,
|
|
6201
|
-
stopSubscription: () => Effect.Effect<void, StopSubscriptionError,
|
|
6187
|
+
report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
|
|
6188
|
+
stopSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
|
|
6202
6189
|
voucher: {
|
|
6203
|
-
getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError,
|
|
6204
|
-
redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError,
|
|
6190
|
+
getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
|
|
6191
|
+
redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
|
|
6205
6192
|
};
|
|
6206
6193
|
};
|
|
6207
6194
|
rss: {
|
|
6208
|
-
clearLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError,
|
|
6209
|
-
create: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError,
|
|
6210
|
-
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError,
|
|
6211
|
-
get: (id: number) => Effect.Effect<RssFeed, GetRssFeedError,
|
|
6212
|
-
list: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError,
|
|
6195
|
+
clearLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError, PutioSdkContext>;
|
|
6196
|
+
create: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError, PutioSdkContext>;
|
|
6197
|
+
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError, PutioSdkContext>;
|
|
6198
|
+
get: (id: number) => Effect.Effect<RssFeed, GetRssFeedError, PutioSdkContext>;
|
|
6199
|
+
list: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError, PutioSdkContext>;
|
|
6213
6200
|
listItems: (id: number) => Effect.Effect<{
|
|
6214
6201
|
readonly feed: RssFeed;
|
|
6215
6202
|
readonly items: ReadonlyArray<RssFeedItem>;
|
|
6216
|
-
}, ListRssFeedItemsError,
|
|
6217
|
-
pause: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError,
|
|
6218
|
-
resume: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError,
|
|
6219
|
-
retryAll: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError,
|
|
6220
|
-
retryItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError,
|
|
6221
|
-
update: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError,
|
|
6203
|
+
}, ListRssFeedItemsError, PutioSdkContext>;
|
|
6204
|
+
pause: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError, PutioSdkContext>;
|
|
6205
|
+
resume: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError, PutioSdkContext>;
|
|
6206
|
+
retryAll: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError, PutioSdkContext>;
|
|
6207
|
+
retryItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError, PutioSdkContext>;
|
|
6208
|
+
update: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError, PutioSdkContext>;
|
|
6222
6209
|
};
|
|
6223
6210
|
sharing: {
|
|
6224
6211
|
clone: (input?: SharingCloneInput) => Effect.Effect<{
|
|
6225
6212
|
readonly id: number;
|
|
6226
|
-
}, CreateSharingCloneError,
|
|
6227
|
-
getCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError,
|
|
6228
|
-
getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError,
|
|
6229
|
-
listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError,
|
|
6213
|
+
}, CreateSharingCloneError, PutioSdkContext>;
|
|
6214
|
+
getCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError, PutioSdkContext>;
|
|
6215
|
+
getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError, PutioSdkContext>;
|
|
6216
|
+
listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError, PutioSdkContext>;
|
|
6230
6217
|
publicAccess: {
|
|
6231
6218
|
continueFiles: (cursor: string, query?: {
|
|
6232
6219
|
readonly per_page?: number;
|
|
@@ -6359,9 +6346,9 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
6359
6346
|
}>>>>;
|
|
6360
6347
|
status: Schema.Literal<["OK"]>;
|
|
6361
6348
|
total: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
6362
|
-
}>>, ContinuePublicShareFilesError,
|
|
6363
|
-
get: () => Effect.Effect<PublicShare, GetPublicShareError,
|
|
6364
|
-
getFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError,
|
|
6349
|
+
}>>, ContinuePublicShareFilesError, PutioSdkContext>;
|
|
6350
|
+
get: () => Effect.Effect<PublicShare, GetPublicShareError, PutioSdkContext>;
|
|
6351
|
+
getFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError, PutioSdkContext>;
|
|
6365
6352
|
listFiles: (query?: PublicShareListQuery) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
|
|
6366
6353
|
breadcrumbs: Schema.optional<Schema.Array$<Schema.Tuple2<Schema.filter<typeof Schema.Number>, typeof Schema.String>>>;
|
|
6367
6354
|
cursor: Schema.NullOr<typeof Schema.String>;
|
|
@@ -6491,58 +6478,59 @@ declare const createPutioSdkEffectClient: () => {
|
|
|
6491
6478
|
}>>>;
|
|
6492
6479
|
status: Schema.Literal<["OK"]>;
|
|
6493
6480
|
total: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
|
|
6494
|
-
}>>, ListPublicShareFilesError,
|
|
6481
|
+
}>>, ListPublicShareFilesError, PutioSdkContext>;
|
|
6495
6482
|
};
|
|
6496
6483
|
publicShares: {
|
|
6497
|
-
create: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError,
|
|
6498
|
-
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError,
|
|
6499
|
-
list: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError,
|
|
6484
|
+
create: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError, PutioSdkContext>;
|
|
6485
|
+
delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError, PutioSdkContext>;
|
|
6486
|
+
list: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError, PutioSdkContext>;
|
|
6500
6487
|
};
|
|
6501
|
-
shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError,
|
|
6502
|
-
unshare: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError,
|
|
6488
|
+
shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError, PutioSdkContext>;
|
|
6489
|
+
unshare: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError, PutioSdkContext>;
|
|
6503
6490
|
};
|
|
6504
6491
|
tunnel: {
|
|
6505
|
-
listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError,
|
|
6492
|
+
listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
|
|
6506
6493
|
};
|
|
6507
6494
|
trash: {
|
|
6508
|
-
continue: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError,
|
|
6509
|
-
delete: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError,
|
|
6510
|
-
empty: () => Effect.Effect<void, EmptyTrashError,
|
|
6511
|
-
list: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError,
|
|
6512
|
-
restore: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError,
|
|
6495
|
+
continue: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError, PutioSdkContext>;
|
|
6496
|
+
delete: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError, PutioSdkContext>;
|
|
6497
|
+
empty: () => Effect.Effect<void, EmptyTrashError, PutioSdkContext>;
|
|
6498
|
+
list: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError, PutioSdkContext>;
|
|
6499
|
+
restore: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError, PutioSdkContext>;
|
|
6513
6500
|
};
|
|
6514
6501
|
transfers: {
|
|
6515
|
-
add: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError,
|
|
6502
|
+
add: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError, PutioSdkContext>;
|
|
6516
6503
|
addMany: (inputs: ReadonlyArray<TransferAddInput>) => Effect.Effect<{
|
|
6517
6504
|
readonly errors: ReadonlyArray<TransfersAddMultiError>;
|
|
6518
6505
|
readonly transfers: ReadonlyArray<Transfer>;
|
|
6519
|
-
}, AddManyTransfersError,
|
|
6520
|
-
cancel: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError,
|
|
6506
|
+
}, AddManyTransfersError, PutioSdkContext>;
|
|
6507
|
+
cancel: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
6521
6508
|
clean: (ids?: ReadonlyArray<number>) => Effect.Effect<{
|
|
6522
6509
|
readonly deleted_ids: ReadonlyArray<number>;
|
|
6523
|
-
}, PutioSdkError,
|
|
6510
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
6524
6511
|
continue: (cursor: string, query?: {
|
|
6525
6512
|
readonly per_page?: number;
|
|
6526
|
-
}) => Effect.Effect<TransfersContinueResponse, ListTransfersError,
|
|
6527
|
-
count: () => Effect.Effect<number, PutioSdkError,
|
|
6528
|
-
get: (id: number) => Effect.Effect<Transfer, GetTransferError,
|
|
6513
|
+
}) => Effect.Effect<TransfersContinueResponse, ListTransfersError, PutioSdkContext>;
|
|
6514
|
+
count: () => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
|
|
6515
|
+
get: (id: number) => Effect.Effect<Transfer, GetTransferError, PutioSdkContext>;
|
|
6529
6516
|
info: (urls: ReadonlyArray<string>) => Effect.Effect<{
|
|
6530
6517
|
readonly disk_avail: number;
|
|
6531
6518
|
readonly ret: ReadonlyArray<TransferInfoItem>;
|
|
6532
|
-
}, PutioSdkError,
|
|
6533
|
-
list: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError,
|
|
6534
|
-
reannounce: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError,
|
|
6535
|
-
retry: (id: number) => Effect.Effect<Transfer, RetryTransferError,
|
|
6536
|
-
stopRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError,
|
|
6519
|
+
}, PutioSdkError, PutioSdkContext>;
|
|
6520
|
+
list: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError, PutioSdkContext>;
|
|
6521
|
+
reannounce: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError, PutioSdkContext>;
|
|
6522
|
+
retry: (id: number) => Effect.Effect<Transfer, RetryTransferError, PutioSdkContext>;
|
|
6523
|
+
stopRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError, PutioSdkContext>;
|
|
6537
6524
|
};
|
|
6538
6525
|
zips: {
|
|
6539
|
-
cancel: (id: number) => Effect.Effect<void, CancelZipError,
|
|
6540
|
-
create: (input: CreateZipInput) => Effect.Effect<number, CreateZipError,
|
|
6541
|
-
get: (id: number) => Effect.Effect<ZipInfo, GetZipError,
|
|
6542
|
-
list: () => Effect.Effect<ReadonlyArray<ZipSummary>, ListZipsError,
|
|
6526
|
+
cancel: (id: number) => Effect.Effect<void, CancelZipError, PutioSdkContext>;
|
|
6527
|
+
create: (input: CreateZipInput) => Effect.Effect<number, CreateZipError, PutioSdkContext>;
|
|
6528
|
+
get: (id: number) => Effect.Effect<ZipInfo, GetZipError, PutioSdkContext>;
|
|
6529
|
+
list: () => Effect.Effect<ReadonlyArray<ZipSummary>, ListZipsError, PutioSdkContext>;
|
|
6543
6530
|
};
|
|
6544
6531
|
};
|
|
6545
|
-
declare const createPutioSdkPromiseClient: (
|
|
6532
|
+
declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape) => {
|
|
6533
|
+
dispose: () => Promise<void>;
|
|
6546
6534
|
account: {
|
|
6547
6535
|
clear: (options: AccountClearOptions) => Promise<{
|
|
6548
6536
|
readonly status: "OK";
|
|
@@ -6623,13 +6611,13 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
6623
6611
|
readonly qr_code_url: string;
|
|
6624
6612
|
}>;
|
|
6625
6613
|
getFamilyInvite: (code: string) => Promise<{
|
|
6626
|
-
readonly owner: string;
|
|
6627
6614
|
readonly plan: string;
|
|
6615
|
+
readonly owner: string;
|
|
6628
6616
|
}>;
|
|
6629
6617
|
getFriendInvite: (code: string) => Promise<{
|
|
6630
6618
|
readonly plan: {
|
|
6631
|
-
readonly code: string;
|
|
6632
6619
|
readonly name: string;
|
|
6620
|
+
readonly code: string;
|
|
6633
6621
|
readonly period: number;
|
|
6634
6622
|
};
|
|
6635
6623
|
readonly inviter: string;
|
|
@@ -6762,7 +6750,6 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
6762
6750
|
readonly created_at: string;
|
|
6763
6751
|
readonly id: number;
|
|
6764
6752
|
readonly size: number;
|
|
6765
|
-
readonly start_from?: number | undefined;
|
|
6766
6753
|
readonly name: string;
|
|
6767
6754
|
readonly content_type: string | null;
|
|
6768
6755
|
readonly crc32: string | null;
|
|
@@ -6778,46 +6765,47 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
6778
6765
|
readonly parent_id: number | null;
|
|
6779
6766
|
readonly screenshot: string | null;
|
|
6780
6767
|
readonly sha1?: string | null | undefined;
|
|
6768
|
+
readonly start_from?: number | undefined;
|
|
6781
6769
|
readonly updated_at: string;
|
|
6782
6770
|
} & {
|
|
6783
|
-
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
6784
6771
|
readonly content_type_and_codecs?: string | null | undefined;
|
|
6785
6772
|
readonly media_info?: {
|
|
6786
6773
|
readonly format?: {
|
|
6787
|
-
readonly name?: string | undefined;
|
|
6788
|
-
readonly bit_rate?: number | undefined;
|
|
6789
6774
|
readonly duration?: number | undefined;
|
|
6775
|
+
readonly bit_rate?: number | undefined;
|
|
6776
|
+
readonly name?: string | undefined;
|
|
6790
6777
|
} | null | undefined;
|
|
6791
6778
|
readonly mime_type?: string | null | undefined;
|
|
6792
6779
|
readonly streams?: readonly {
|
|
6780
|
+
readonly height?: number | undefined;
|
|
6781
|
+
readonly width?: number | undefined;
|
|
6793
6782
|
readonly channels?: number | undefined;
|
|
6794
6783
|
readonly codec_name?: string | undefined;
|
|
6795
6784
|
readonly codec_type?: string | undefined;
|
|
6796
|
-
readonly height?: number | undefined;
|
|
6797
6785
|
readonly level?: number | undefined;
|
|
6798
6786
|
readonly profile?: string | undefined;
|
|
6799
6787
|
readonly rfc6381_codec?: string | undefined;
|
|
6800
|
-
readonly width?: number | undefined;
|
|
6801
6788
|
}[] | undefined;
|
|
6802
6789
|
} | null | undefined;
|
|
6803
6790
|
readonly media_metadata?: {
|
|
6791
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
6792
|
+
readonly codec?: string | null | undefined;
|
|
6804
6793
|
readonly duration?: number | null | undefined;
|
|
6805
6794
|
readonly height?: number | null | undefined;
|
|
6806
6795
|
readonly width?: number | null | undefined;
|
|
6807
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
6808
|
-
readonly codec?: string | null | undefined;
|
|
6809
6796
|
} | null | undefined;
|
|
6810
6797
|
readonly mp4_size?: number | null | undefined;
|
|
6811
6798
|
readonly mp4_stream_url?: string | null | undefined;
|
|
6812
6799
|
readonly need_convert?: boolean | undefined;
|
|
6813
6800
|
readonly sender_name?: string | undefined;
|
|
6801
|
+
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
6814
6802
|
readonly stream_url?: string | null | undefined;
|
|
6815
6803
|
readonly video_metadata?: {
|
|
6804
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
6805
|
+
readonly codec?: string | null | undefined;
|
|
6816
6806
|
readonly duration?: number | null | undefined;
|
|
6817
6807
|
readonly height?: number | null | undefined;
|
|
6818
6808
|
readonly width?: number | null | undefined;
|
|
6819
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
6820
|
-
readonly codec?: string | null | undefined;
|
|
6821
6809
|
} | null | undefined;
|
|
6822
6810
|
}>;
|
|
6823
6811
|
deleteExtraction: (extractionId: number) => Promise<void>;
|
|
@@ -7016,9 +7004,9 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7016
7004
|
readonly has_icon: boolean | null;
|
|
7017
7005
|
readonly website: string;
|
|
7018
7006
|
} & {
|
|
7019
|
-
readonly secret: string;
|
|
7020
7007
|
readonly hidden: boolean;
|
|
7021
7008
|
readonly callback: string;
|
|
7009
|
+
readonly secret: string;
|
|
7022
7010
|
});
|
|
7023
7011
|
}>;
|
|
7024
7012
|
delete: (id: number) => Promise<{
|
|
@@ -7028,7 +7016,6 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7028
7016
|
readonly edit?: boolean;
|
|
7029
7017
|
}) => Promise<{
|
|
7030
7018
|
readonly status: "OK";
|
|
7031
|
-
readonly token: string | null;
|
|
7032
7019
|
readonly app: {
|
|
7033
7020
|
readonly id: number;
|
|
7034
7021
|
readonly name: string;
|
|
@@ -7042,10 +7029,11 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7042
7029
|
readonly has_icon: boolean | null;
|
|
7043
7030
|
readonly website: string;
|
|
7044
7031
|
} & {
|
|
7045
|
-
readonly secret: string;
|
|
7046
7032
|
readonly hidden: boolean;
|
|
7047
7033
|
readonly callback: string;
|
|
7034
|
+
readonly secret: string;
|
|
7048
7035
|
});
|
|
7036
|
+
readonly token: string | null;
|
|
7049
7037
|
}>;
|
|
7050
7038
|
getPopularApps: () => Promise<ReadonlyArray<PopularOAuthApp>>;
|
|
7051
7039
|
query: () => Promise<ReadonlyArray<MyOAuthApp>>;
|
|
@@ -7057,7 +7045,6 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7057
7045
|
}>;
|
|
7058
7046
|
update: (input: OAuthAppUpdateInput) => Promise<{
|
|
7059
7047
|
readonly status: "OK";
|
|
7060
|
-
readonly token: string | null;
|
|
7061
7048
|
readonly app: {
|
|
7062
7049
|
readonly id: number;
|
|
7063
7050
|
readonly name: string;
|
|
@@ -7071,10 +7058,11 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7071
7058
|
readonly has_icon: boolean | null;
|
|
7072
7059
|
readonly website: string;
|
|
7073
7060
|
} & {
|
|
7074
|
-
readonly secret: string;
|
|
7075
7061
|
readonly hidden: boolean;
|
|
7076
7062
|
readonly callback: string;
|
|
7063
|
+
readonly secret: string;
|
|
7077
7064
|
});
|
|
7065
|
+
readonly token: string | null;
|
|
7078
7066
|
}>;
|
|
7079
7067
|
};
|
|
7080
7068
|
payment: {
|
|
@@ -7149,11 +7137,13 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7149
7137
|
readonly per_page?: number;
|
|
7150
7138
|
}) => Promise<{
|
|
7151
7139
|
readonly status: "OK";
|
|
7140
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
7141
|
+
readonly total?: number | undefined;
|
|
7142
|
+
readonly cursor: string | null;
|
|
7152
7143
|
readonly files: readonly ({
|
|
7153
7144
|
readonly created_at: string;
|
|
7154
7145
|
readonly id: number;
|
|
7155
7146
|
readonly size: number;
|
|
7156
|
-
readonly start_from?: number | undefined;
|
|
7157
7147
|
readonly name: string;
|
|
7158
7148
|
readonly content_type: string | null;
|
|
7159
7149
|
readonly crc32: string | null;
|
|
@@ -7169,55 +7159,53 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7169
7159
|
readonly parent_id: number | null;
|
|
7170
7160
|
readonly screenshot: string | null;
|
|
7171
7161
|
readonly sha1?: string | null | undefined;
|
|
7162
|
+
readonly start_from?: number | undefined;
|
|
7172
7163
|
readonly updated_at: string;
|
|
7173
7164
|
} & {
|
|
7174
|
-
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7175
7165
|
readonly content_type_and_codecs?: string | null | undefined;
|
|
7176
7166
|
readonly media_info?: {
|
|
7177
7167
|
readonly format?: {
|
|
7178
|
-
readonly name?: string | undefined;
|
|
7179
|
-
readonly bit_rate?: number | undefined;
|
|
7180
7168
|
readonly duration?: number | undefined;
|
|
7169
|
+
readonly bit_rate?: number | undefined;
|
|
7170
|
+
readonly name?: string | undefined;
|
|
7181
7171
|
} | null | undefined;
|
|
7182
7172
|
readonly mime_type?: string | null | undefined;
|
|
7183
7173
|
readonly streams?: readonly {
|
|
7174
|
+
readonly height?: number | undefined;
|
|
7175
|
+
readonly width?: number | undefined;
|
|
7184
7176
|
readonly channels?: number | undefined;
|
|
7185
7177
|
readonly codec_name?: string | undefined;
|
|
7186
7178
|
readonly codec_type?: string | undefined;
|
|
7187
|
-
readonly height?: number | undefined;
|
|
7188
7179
|
readonly level?: number | undefined;
|
|
7189
7180
|
readonly profile?: string | undefined;
|
|
7190
7181
|
readonly rfc6381_codec?: string | undefined;
|
|
7191
|
-
readonly width?: number | undefined;
|
|
7192
7182
|
}[] | undefined;
|
|
7193
7183
|
} | null | undefined;
|
|
7194
7184
|
readonly media_metadata?: {
|
|
7185
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7186
|
+
readonly codec?: string | null | undefined;
|
|
7195
7187
|
readonly duration?: number | null | undefined;
|
|
7196
7188
|
readonly height?: number | null | undefined;
|
|
7197
7189
|
readonly width?: number | null | undefined;
|
|
7198
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7199
|
-
readonly codec?: string | null | undefined;
|
|
7200
7190
|
} | null | undefined;
|
|
7201
7191
|
readonly mp4_size?: number | null | undefined;
|
|
7202
7192
|
readonly mp4_stream_url?: string | null | undefined;
|
|
7203
7193
|
readonly need_convert?: boolean | undefined;
|
|
7204
7194
|
readonly sender_name?: string | undefined;
|
|
7195
|
+
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7205
7196
|
readonly stream_url?: string | null | undefined;
|
|
7206
7197
|
readonly video_metadata?: {
|
|
7198
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7199
|
+
readonly codec?: string | null | undefined;
|
|
7207
7200
|
readonly duration?: number | null | undefined;
|
|
7208
7201
|
readonly height?: number | null | undefined;
|
|
7209
7202
|
readonly width?: number | null | undefined;
|
|
7210
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7211
|
-
readonly codec?: string | null | undefined;
|
|
7212
7203
|
} | null | undefined;
|
|
7213
7204
|
})[];
|
|
7214
|
-
readonly cursor: string | null;
|
|
7215
|
-
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
7216
7205
|
readonly parent?: ({
|
|
7217
7206
|
readonly created_at: string;
|
|
7218
7207
|
readonly id: number;
|
|
7219
7208
|
readonly size: number;
|
|
7220
|
-
readonly start_from?: number | undefined;
|
|
7221
7209
|
readonly name: string;
|
|
7222
7210
|
readonly content_type: string | null;
|
|
7223
7211
|
readonly crc32: string | null;
|
|
@@ -7233,59 +7221,61 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7233
7221
|
readonly parent_id: number | null;
|
|
7234
7222
|
readonly screenshot: string | null;
|
|
7235
7223
|
readonly sha1?: string | null | undefined;
|
|
7224
|
+
readonly start_from?: number | undefined;
|
|
7236
7225
|
readonly updated_at: string;
|
|
7237
7226
|
} & {
|
|
7238
|
-
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7239
7227
|
readonly content_type_and_codecs?: string | null | undefined;
|
|
7240
7228
|
readonly media_info?: {
|
|
7241
7229
|
readonly format?: {
|
|
7242
|
-
readonly name?: string | undefined;
|
|
7243
|
-
readonly bit_rate?: number | undefined;
|
|
7244
7230
|
readonly duration?: number | undefined;
|
|
7231
|
+
readonly bit_rate?: number | undefined;
|
|
7232
|
+
readonly name?: string | undefined;
|
|
7245
7233
|
} | null | undefined;
|
|
7246
7234
|
readonly mime_type?: string | null | undefined;
|
|
7247
7235
|
readonly streams?: readonly {
|
|
7236
|
+
readonly height?: number | undefined;
|
|
7237
|
+
readonly width?: number | undefined;
|
|
7248
7238
|
readonly channels?: number | undefined;
|
|
7249
7239
|
readonly codec_name?: string | undefined;
|
|
7250
7240
|
readonly codec_type?: string | undefined;
|
|
7251
|
-
readonly height?: number | undefined;
|
|
7252
7241
|
readonly level?: number | undefined;
|
|
7253
7242
|
readonly profile?: string | undefined;
|
|
7254
7243
|
readonly rfc6381_codec?: string | undefined;
|
|
7255
|
-
readonly width?: number | undefined;
|
|
7256
7244
|
}[] | undefined;
|
|
7257
7245
|
} | null | undefined;
|
|
7258
7246
|
readonly media_metadata?: {
|
|
7247
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7248
|
+
readonly codec?: string | null | undefined;
|
|
7259
7249
|
readonly duration?: number | null | undefined;
|
|
7260
7250
|
readonly height?: number | null | undefined;
|
|
7261
7251
|
readonly width?: number | null | undefined;
|
|
7262
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7263
|
-
readonly codec?: string | null | undefined;
|
|
7264
7252
|
} | null | undefined;
|
|
7265
7253
|
readonly mp4_size?: number | null | undefined;
|
|
7266
7254
|
readonly mp4_stream_url?: string | null | undefined;
|
|
7267
7255
|
readonly need_convert?: boolean | undefined;
|
|
7268
7256
|
readonly sender_name?: string | undefined;
|
|
7257
|
+
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7269
7258
|
readonly stream_url?: string | null | undefined;
|
|
7270
7259
|
readonly video_metadata?: {
|
|
7260
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7261
|
+
readonly codec?: string | null | undefined;
|
|
7271
7262
|
readonly duration?: number | null | undefined;
|
|
7272
7263
|
readonly height?: number | null | undefined;
|
|
7273
7264
|
readonly width?: number | null | undefined;
|
|
7274
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7275
|
-
readonly codec?: string | null | undefined;
|
|
7276
7265
|
} | null | undefined;
|
|
7277
7266
|
}) | null | undefined;
|
|
7278
|
-
readonly total?: number | undefined;
|
|
7279
7267
|
}>;
|
|
7280
7268
|
get: () => Promise<PublicShare>;
|
|
7281
7269
|
getFileUrl: (fileId: number) => Promise<string>;
|
|
7282
7270
|
listFiles: (query?: PublicShareListQuery) => Promise<{
|
|
7283
7271
|
readonly status: "OK";
|
|
7272
|
+
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
7273
|
+
readonly total?: number | undefined;
|
|
7274
|
+
readonly cursor: string | null;
|
|
7284
7275
|
readonly files: readonly ({
|
|
7285
7276
|
readonly created_at: string;
|
|
7286
7277
|
readonly id: number;
|
|
7287
7278
|
readonly size: number;
|
|
7288
|
-
readonly start_from?: number | undefined;
|
|
7289
7279
|
readonly name: string;
|
|
7290
7280
|
readonly content_type: string | null;
|
|
7291
7281
|
readonly crc32: string | null;
|
|
@@ -7301,55 +7291,53 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7301
7291
|
readonly parent_id: number | null;
|
|
7302
7292
|
readonly screenshot: string | null;
|
|
7303
7293
|
readonly sha1?: string | null | undefined;
|
|
7294
|
+
readonly start_from?: number | undefined;
|
|
7304
7295
|
readonly updated_at: string;
|
|
7305
7296
|
} & {
|
|
7306
|
-
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7307
7297
|
readonly content_type_and_codecs?: string | null | undefined;
|
|
7308
7298
|
readonly media_info?: {
|
|
7309
7299
|
readonly format?: {
|
|
7310
|
-
readonly name?: string | undefined;
|
|
7311
|
-
readonly bit_rate?: number | undefined;
|
|
7312
7300
|
readonly duration?: number | undefined;
|
|
7301
|
+
readonly bit_rate?: number | undefined;
|
|
7302
|
+
readonly name?: string | undefined;
|
|
7313
7303
|
} | null | undefined;
|
|
7314
7304
|
readonly mime_type?: string | null | undefined;
|
|
7315
7305
|
readonly streams?: readonly {
|
|
7306
|
+
readonly height?: number | undefined;
|
|
7307
|
+
readonly width?: number | undefined;
|
|
7316
7308
|
readonly channels?: number | undefined;
|
|
7317
7309
|
readonly codec_name?: string | undefined;
|
|
7318
7310
|
readonly codec_type?: string | undefined;
|
|
7319
|
-
readonly height?: number | undefined;
|
|
7320
7311
|
readonly level?: number | undefined;
|
|
7321
7312
|
readonly profile?: string | undefined;
|
|
7322
7313
|
readonly rfc6381_codec?: string | undefined;
|
|
7323
|
-
readonly width?: number | undefined;
|
|
7324
7314
|
}[] | undefined;
|
|
7325
7315
|
} | null | undefined;
|
|
7326
7316
|
readonly media_metadata?: {
|
|
7317
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7318
|
+
readonly codec?: string | null | undefined;
|
|
7327
7319
|
readonly duration?: number | null | undefined;
|
|
7328
7320
|
readonly height?: number | null | undefined;
|
|
7329
7321
|
readonly width?: number | null | undefined;
|
|
7330
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7331
|
-
readonly codec?: string | null | undefined;
|
|
7332
7322
|
} | null | undefined;
|
|
7333
7323
|
readonly mp4_size?: number | null | undefined;
|
|
7334
7324
|
readonly mp4_stream_url?: string | null | undefined;
|
|
7335
7325
|
readonly need_convert?: boolean | undefined;
|
|
7336
7326
|
readonly sender_name?: string | undefined;
|
|
7327
|
+
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7337
7328
|
readonly stream_url?: string | null | undefined;
|
|
7338
7329
|
readonly video_metadata?: {
|
|
7330
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7331
|
+
readonly codec?: string | null | undefined;
|
|
7339
7332
|
readonly duration?: number | null | undefined;
|
|
7340
7333
|
readonly height?: number | null | undefined;
|
|
7341
7334
|
readonly width?: number | null | undefined;
|
|
7342
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7343
|
-
readonly codec?: string | null | undefined;
|
|
7344
7335
|
} | null | undefined;
|
|
7345
7336
|
})[];
|
|
7346
|
-
readonly cursor: string | null;
|
|
7347
|
-
readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
|
|
7348
7337
|
readonly parent: ({
|
|
7349
7338
|
readonly created_at: string;
|
|
7350
7339
|
readonly id: number;
|
|
7351
7340
|
readonly size: number;
|
|
7352
|
-
readonly start_from?: number | undefined;
|
|
7353
7341
|
readonly name: string;
|
|
7354
7342
|
readonly content_type: string | null;
|
|
7355
7343
|
readonly crc32: string | null;
|
|
@@ -7365,49 +7353,49 @@ declare const createPutioSdkPromiseClient: (config?: PutioSdkConfigShape) => {
|
|
|
7365
7353
|
readonly parent_id: number | null;
|
|
7366
7354
|
readonly screenshot: string | null;
|
|
7367
7355
|
readonly sha1?: string | null | undefined;
|
|
7356
|
+
readonly start_from?: number | undefined;
|
|
7368
7357
|
readonly updated_at: string;
|
|
7369
7358
|
} & {
|
|
7370
|
-
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7371
7359
|
readonly content_type_and_codecs?: string | null | undefined;
|
|
7372
7360
|
readonly media_info?: {
|
|
7373
7361
|
readonly format?: {
|
|
7374
|
-
readonly name?: string | undefined;
|
|
7375
|
-
readonly bit_rate?: number | undefined;
|
|
7376
7362
|
readonly duration?: number | undefined;
|
|
7363
|
+
readonly bit_rate?: number | undefined;
|
|
7364
|
+
readonly name?: string | undefined;
|
|
7377
7365
|
} | null | undefined;
|
|
7378
7366
|
readonly mime_type?: string | null | undefined;
|
|
7379
7367
|
readonly streams?: readonly {
|
|
7368
|
+
readonly height?: number | undefined;
|
|
7369
|
+
readonly width?: number | undefined;
|
|
7380
7370
|
readonly channels?: number | undefined;
|
|
7381
7371
|
readonly codec_name?: string | undefined;
|
|
7382
7372
|
readonly codec_type?: string | undefined;
|
|
7383
|
-
readonly height?: number | undefined;
|
|
7384
7373
|
readonly level?: number | undefined;
|
|
7385
7374
|
readonly profile?: string | undefined;
|
|
7386
7375
|
readonly rfc6381_codec?: string | undefined;
|
|
7387
|
-
readonly width?: number | undefined;
|
|
7388
7376
|
}[] | undefined;
|
|
7389
7377
|
} | null | undefined;
|
|
7390
7378
|
readonly media_metadata?: {
|
|
7379
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7380
|
+
readonly codec?: string | null | undefined;
|
|
7391
7381
|
readonly duration?: number | null | undefined;
|
|
7392
7382
|
readonly height?: number | null | undefined;
|
|
7393
7383
|
readonly width?: number | null | undefined;
|
|
7394
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7395
|
-
readonly codec?: string | null | undefined;
|
|
7396
7384
|
} | null | undefined;
|
|
7397
7385
|
readonly mp4_size?: number | null | undefined;
|
|
7398
7386
|
readonly mp4_stream_url?: string | null | undefined;
|
|
7399
7387
|
readonly need_convert?: boolean | undefined;
|
|
7400
7388
|
readonly sender_name?: string | undefined;
|
|
7389
|
+
readonly sort_by?: "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
|
|
7401
7390
|
readonly stream_url?: string | null | undefined;
|
|
7402
7391
|
readonly video_metadata?: {
|
|
7392
|
+
readonly aspect_ratio?: number | null | undefined;
|
|
7393
|
+
readonly codec?: string | null | undefined;
|
|
7403
7394
|
readonly duration?: number | null | undefined;
|
|
7404
7395
|
readonly height?: number | null | undefined;
|
|
7405
7396
|
readonly width?: number | null | undefined;
|
|
7406
|
-
readonly aspect_ratio?: number | null | undefined;
|
|
7407
|
-
readonly codec?: string | null | undefined;
|
|
7408
7397
|
} | null | undefined;
|
|
7409
7398
|
}) | null;
|
|
7410
|
-
readonly total?: number | undefined;
|
|
7411
7399
|
}>;
|
|
7412
7400
|
};
|
|
7413
7401
|
publicShares: {
|
|
@@ -7480,5 +7468,5 @@ declare const DEFAULT_PUTIO_API_BASE_URL = "https://api.put.io";
|
|
|
7480
7468
|
declare const DEFAULT_PUTIO_UPLOAD_BASE_URL = "https://upload.put.io";
|
|
7481
7469
|
declare const DEFAULT_PUTIO_WEB_APP_URL = "https://app.put.io";
|
|
7482
7470
|
//#endregion
|
|
7483
|
-
export { AccountClearOptions, AccountClearOptionsSchema, AccountConfirmation, AccountConfirmationSchema, AccountConfirmationsError, AccountConfirmationsErrorSpec, AccountDisk, AccountDiskSchema, AccountInfoBase, AccountInfoBaseSchema, AccountInfoBroad, AccountInfoBroadSchema, AccountInfoQuery, AccountInfoQuerySchema, AccountInfoResponseFor, AccountSettings, AccountSettingsSchema, AccountTwoFactorSettingsSchema, AccountWarnings, AccountWarningsSchema, AddManyTransfersError, AddManyTransfersErrorSpec, AddTransferError, AddTransferErrorSpec, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthorizationCodeSchema, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateCoinbaseChargeError, CreateCoinbaseChargeErrorSpec, CreateDownloadLinksError, CreateDownloadLinksErrorSpec, CreateFamilyInviteError, CreateFamilyInviteErrorSpec, CreateFolderError, CreateFolderErrorSpec, CreateFriendInviteError, CreateFriendInviteErrorSpec, CreateNanoPaymentRequestError, CreateNanoPaymentRequestErrorSpec, CreateOAuthAppError, CreateOAuthAppErrorSpec, CreateOpenNodeChargeError, CreateOpenNodeChargeErrorSpec, CreatePaddleWaitingPaymentError, CreatePaddleWaitingPaymentErrorSpec, CreatePublicShareError, CreatePublicShareErrorSpec, CreateRssFeedError, CreateRssFeedErrorSpec, CreateSharingCloneError, CreateSharingCloneErrorSpec, CreateZipError, CreateZipErrorSpec, CreateZipInput, DEFAULT_PUTIO_API_BASE_URL, DEFAULT_PUTIO_UPLOAD_BASE_URL, DEFAULT_PUTIO_WEB_APP_URL, DeleteEventError, DeleteEventErrorSpec, DeleteOAuthAppError, DeleteOAuthAppErrorSpec, DeletePublicShareError, DeletePublicShareErrorSpec, DeleteRssFeedError, DeleteRssFeedErrorSpec, DeleteTrashError, DeleteTrashErrorSpec, DenyFriendRequestError, DenyFriendRequestErrorSpec, DownloadLinksCreateInput, DownloadLinksCreateInputSchema, DownloadLinksInfo, DownloadLinksInfoSchema, DownloadLinksPayload, DownloadLinksPayloadSchema, DownloadLinksStatus, DownloadLinksStatusSchema, DownloadUrlError, DownloadUrlErrorSpec, EmptyTrashError, EmptyTrashErrorSpec, EventsListQuery, EventsListQuerySchema, EventsListResponse, FamilyInvite, FamilyInviteLookupError, FamilyInviteLookupErrorSpec, FamilyInviteSchema, FamilyInvitesResponse, FamilyMember, FamilyMemberSchema, FileActiveConversion, FileActiveConversionSchema, FileActiveConversionsError, FileActiveConversionsErrorSpec, FileApiDownloadUrlOptions, FileApiMp4DownloadUrlOptions, FileBase, FileBaseSchema, FileBreadcrumb, FileBreadcrumbSchema, FileBroad, FileBroadSchema, FileConversionStatus, FileConversionStatusSchema, FileCore, FileCreateFolderInput, FileDirectAccessOptions, FileExtraction, FileExtractionSchema, FileExtractionStatus, FileExtractionStatusSchema, FileExtractionsError, FileExtractionsErrorSpec, FileHlsStreamUrlOptions, FileListContinuationResponse, FileListResponse, FileMediaInfo, FileMediaInfoFormatSchema, FileMediaInfoSchema, FileMediaInfoStreamSchema, FileMediaMetadata, FileMediaMetadataSchema, FileMp4Error, FileMp4ErrorSpec, FileMp4MutationError, FileMp4MutationErrorSpec, FileQuery, FileQuerySchema, FileRenameInput, FileResponseFor, FileSearchResponse, FileSort, FileSortSchema, FileStartFromSetInput, FileSubtitle, FileSubtitleSchema, FileSubtitlesError, FileSubtitlesErrorSpec, FileType, FileTypeSchema, FileUploadEnvelope, FileUploadError, FileUploadErrorSpec, FileUploadInput, FileUploadRequestDescriptor, FileUploadResult, FileUploadTransfer, FileVideoMetadata, FileWatchStatusError, FileWatchStatusErrorSpec, FilesBulkSelection, FilesListEnvelopeSchema, FilesListQuery, FilesListQuerySchema, FilesMoveError, FilesMoveErrorSchema, FilesSearchQuery, FilesSearchQuerySchema, FolderType, FolderTypeSchema, ForgotPasswordError, ForgotPasswordErrorSpec, Friend, FriendBase, FriendBaseSchema, FriendInvite, FriendInviteJoinedUser, FriendInviteJoinedUserSchema, FriendInviteJoinedUserStatus, FriendInviteJoinedUserStatusSchema, FriendInviteLookupError, FriendInviteLookupErrorSpec, FriendInviteSchema, FriendSchema, FriendSharedFolderError, FriendSharedFolderErrorSpec, GenerateTOTPError, GenerateTOTPErrorSpec, GenerateTOTPResponse, GenerateTOTPResponseSchema, GetDownloadLinksError, GetDownloadLinksErrorSpec, GetEventTorrentError, GetEventTorrentErrorSpec, GetFileError, GetFileErrorSpec, GetIftttStatusError, GetIftttStatusErrorSpec, GetOAuthAppError, GetOAuthAppErrorSpec, GetPaymentInfoError, GetPaymentInfoErrorSpec, GetPaymentVoucherInfoError, GetPaymentVoucherInfoErrorSpec, GetPublicShareError, GetPublicShareErrorSpec, GetPublicShareFileUrlError, GetPublicShareFileUrlErrorSpec, GetRssFeedError, GetRssFeedErrorSpec, GetSharedWithError, GetSharedWithErrorSpec, GetSharingCloneInfoError, GetSharingCloneInfoErrorSpec, GetTransferError, GetTransferErrorSpec, GetZipError, GetZipErrorSpec, GiftCardLookupError, GiftCardLookupErrorSpec, GrantsError, GrantsErrorSpec, HistoryEvent, HistoryEventSchema, HistoryFileFromRssDeletedEventSchema, HistoryFileSharedEvent, HistoryFileSharedEventSchema, HistoryKnownEventType, HistoryKnownEventTypeSchema, HistoryPrivateTorrentPinEventSchema, HistoryRssFilterPausedEventSchema, HistoryTransferCallbackErrorEventSchema, HistoryTransferCompletedEvent, HistoryTransferCompletedEventSchema, HistoryTransferErrorEventSchema, HistoryTransferFromRssErrorEventSchema, HistoryUploadEventSchema, HistoryVoucherEventSchema, HistoryZipCreatedEvent, HistoryZipCreatedEventSchema, IftttEventInput, IftttEventType, JoinFamilyError, JoinFamilyErrorSpec, JsonObjectSchema, JsonValueSchema, LinkDeviceError, LinkDeviceErrorSpec, ListEventsError, ListEventsErrorSpec, ListFamilyInvitesError, ListFamilyInvitesErrorSpec, ListFamilyMembersError, ListFamilyMembersErrorSpec, ListFriendInvitesError, ListFriendInvitesErrorSpec, ListFriendsError, ListFriendsErrorSpec, ListPaymentHistoryError, ListPaymentHistoryErrorSpec, ListPaymentInvitesError, ListPaymentInvitesErrorSpec, ListPaymentOptionsError, ListPaymentOptionsErrorSpec, ListPaymentPlansError, ListPaymentPlansErrorSpec, ListPublicShareFilesError, ListPublicShareFilesErrorSpec, ListPublicSharesError, ListPublicSharesErrorSpec, ListRssFeedItemsError, ListRssFeedItemsErrorSpec, ListRssFeedsError, ListRssFeedsErrorSpec, ListSentRequestsError, ListSentRequestsErrorSpec, ListSharedFilesError, ListSharedFilesErrorSpec, ListTransfersError, ListTransfersErrorSpec, ListTrashError, ListTrashErrorSpec, ListTunnelRoutesError, ListTunnelRoutesErrorSpec, ListWaitingRequestsError, ListWaitingRequestsErrorSpec, ListZipsError, ListZipsErrorSpec, LoginError, LoginErrorSpec, LoginResponse, LoginResponseSchema, MyOAuthApp, MyOAuthAppSchema, OAuthApp, OAuthAppCreateInput, OAuthAppCreateInputSchema, OAuthAppSchema, OAuthAppSession, OAuthAppSessionSchema, OAuthAppUpdateInput, OAuthAppUpdateInputSchema, OAuthAppWithTokenSchema, OAuthSetIconInput, OAuthSetIconInputSchema, OkResponseSchema, OwnedOAuthApp, OwnedOAuthAppSchema, PasInfo, PasInfoSchema, PauseRssFeedError, PauseRssFeedErrorSpec, PaymentChangePlanPreview, PaymentChangePlanPreviewInput, PaymentChangePlanPreviewSchema, PaymentChangePlanSubmitInput, PaymentChangePlanSubmitResponse, PaymentChangePlanSubmitSchema, PaymentHistoryItem, PaymentHistoryItemSchema, PaymentHistoryQuery, PaymentInfo, PaymentInfoPlanSchema, PaymentInfoSchema, PaymentInvite, PaymentInviteSchema, PaymentOption, PaymentOptionPlanTypeSchema, PaymentOptionSchema, PaymentPaddleWaitingPaymentInput, PaymentPlanGroup, PaymentPlanGroupSchema, PaymentPlanTypeSchema, PaymentProvider, PaymentProviderNameSchema, PaymentProviderSchema, PaymentSubscriptionInfoSchema, PaymentTypeSchema, PaymentVoucherInfo, PaymentVoucherInfoSchema, PopularOAuthApp, PopularOAuthAppSchema, PreviewPaymentChangePlanError, PreviewPaymentChangePlanErrorSpec, PublicShare, PublicShareListQuery, PublicShareListQuerySchema, PublicShareSchema, PutioApiError, PutioAuth, PutioAuthError, PutioConfigurationError, PutioErrorEnvelope, PutioErrorEnvelopeSchema, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdkConfig, PutioSdkConfigShape, PutioSdkError, PutioTransportError, PutioTypedErrorEnvelope, PutioUnhandledSdkError, PutioValidationError, QueryFilesError, QueryFilesErrorSpec, QueryOAuthAppsError, QueryOAuthAppsErrorSpec, ReannounceTransferError, ReannounceTransferErrorSpec, RecoveryCodesError, RecoveryCodesErrorSpec, RedeemPaymentVoucherError, RedeemPaymentVoucherErrorSpec, RegenerateOAuthAppTokenError, RegenerateOAuthAppTokenErrorSpec, RegenerateRecoveryCodesError, RegenerateRecoveryCodesErrorSpec, RegisterError, RegisterErrorSpec, RegisterInput, RegisterInputSchema, RemoveFamilyMemberError, RemoveFamilyMemberErrorSpec, RemoveFriendError, RemoveFriendErrorSpec, RenameFileError, RenameFileErrorSpec, ReportPaymentsError, ReportPaymentsErrorSpec, ResetPasswordError, ResetPasswordErrorSpec, RestoreTrashError, RestoreTrashErrorSpec, ResumeRssFeedError, ResumeRssFeedErrorSpec, RetryAllRssFeedItemsError, RetryAllRssFeedItemsErrorSpec, RetryRssFeedItemError, RetryRssFeedItemErrorSpec, RetryTransferError, RetryTransferErrorSpec, RevokeAllOAuthClientsError, RevokeAllOAuthClientsErrorSpec, RevokeOAuthClientError, RevokeOAuthClientErrorSpec, RevokeOAuthGrantError, RevokeOAuthGrantErrorSpec, RssFeed, RssFeedItem, RssFeedItemFailedSchema, RssFeedItemSchema, RssFeedItemSucceededSchema, RssFeedParams, RssFeedParamsSchema, RssFeedSchema, SaveAccountSettingsError, SaveAccountSettingsErrorSpec, SaveAccountSettingsPayload, SaveAccountSettingsPayloadSchema, SearchFilesError, SearchFilesErrorSpec, SearchFriendsError, SearchFriendsErrorSpec, SendFriendRequestError, SendFriendRequestErrorSpec, SendIftttEventError, SendIftttEventErrorSpec, ShareFilesError, ShareFilesErrorSpec, SharedFile, SharedFileSchema, SharedFileShare, SharedFileShareSchema, SharedFileSharedWith, SharedFileSharedWithSchema, SharingCloneInfo, SharingCloneInfoSchema, SharingCloneInput, SharingCloneInputSchema, SharingCloneStatusSchema, SharingShareInput, SharingShareInputSchema, SharingUnshareInput, SharingUnshareInputSchema, StartFromError, StartFromErrorSpec, StopRecordingTransferError, StopRecordingTransferErrorSpec, StopSubscriptionError, StopSubscriptionErrorSpec, SubmitPaymentChangePlanError, SubmitPaymentChangePlanErrorSpec, Transfer, TransferAddInput, TransferAddInputSchema, TransferBaseSchema, TransferInfoItem, TransferLink, TransferSchema, TransferStatus, TransferStatusSchema, TransferType, TransferTypeSchema, TransfersAddMultiError, TransfersContinueResponse, TransfersListQuery, TransfersListQuerySchema, TransfersListResponse, TrashBulkInput, TrashContinueResponse, TrashFile, TrashFileSchema, TrashListQuery, TrashListResponse, TunnelRoute, TunnelRouteSchema, TwoFactorRecoveryCodes, TwoFactorRecoveryCodesSchema, UnshareFileError, UnshareFileErrorSpec, UpdateOAuthAppError, UpdateOAuthAppErrorSpec, UpdateRssFeedError, UpdateRssFeedErrorSpec, UserSearchResult, UserSearchResultSchema, UserSubscriptionStatusSchema, ValidateTokenResponse, ValidateTokenResponseSchema, VerifyTOTPError, VerifyTOTPErrorSpec, VerifyTOTPResponse, VerifyTOTPResponseSchema, VoucherLookupError, VoucherLookupErrorSpec, ZipCreateResponse, ZipInfo, ZipStatusSchema, ZipSummary, addManyTransfers, addTransfer, approveFriendRequest, buildAuthLoginUrl, buildFileApiContentUrl, buildFileApiDownloadUrl, buildFileApiMp4DownloadUrl, buildFileHlsStreamUrl, buildOAuthAppIconUrl, buildOAuthAuthorizeUrl, buildPutioUrl, cancelTransfers, cancelZip, checkCodeMatch, classifyPaymentChangePlanResponse, cleanTransfers, clearAccount, clearEvents, clearRssFeedLogs, clients, cloneSharedFiles, confirmFastspringOrder, continueFiles, continuePublicShareFiles, continueSearch, continueTransfers, continueTrash, convertFileSelectionToMp4, convertFileToMp4, convertFilesToMp4, countTransfers, countWaitingRequests, createCoinbaseCharge, createDownloadLinks, createFamilyInvite, createFileUploadFormData, createFileUploadRequest, createFolder, createFriendInvite, createNanoPaymentRequest, createOAuthApp, createOpenNodeCharge, createPaddleWaitingPayment, createPublicShare, createPutioSdkEffectClient, createPutioSdkPromiseClient, createRssFeed, createZip, decodePutioErrorEnvelope, definePutioOperationErrorSpec, deleteConfigKey, deleteEvent, deleteFileExtraction, deleteFileMp4, deleteFileSelection, deleteFiles, deleteOAuthApp, deletePublicShare, deleteRssFeed, deleteTrash, denyFriendRequest, destroyAccount, emptyTrash, exists, extractFiles, fallbackPutioErrorEnvelope, findNextFile, findNextVideo, forgotPassword, generateTOTP, getAccountInfo, getAccountSettings, getApiContentUrl, getApiDownloadUrl, getApiMp4DownloadUrl, getCode, getConfigKey, getConfigKeyWith, getDownloadLinks, getDownloadUrl, getEventTorrent, getFamilyInvite, getFile, getFriendInvite, getFriendSharedFolder, getGiftCard, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaymentInfo, getPaymentVoucherInfo, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getVoucher, getZip, grants, joinFamily, linkDevice, listAccountConfirmations, listActiveMp4Conversions, listEvents, listFamilyInvites, listFamilyMembers, listFileExtractions, listFileSubtitles, listFriendInvites, listFriends, listPaymentHistory, listPaymentInvites, listPaymentOptions, listPaymentPlans, listPublicShareFiles, listPublicShares, listRssFeedItems, listRssFeeds, listSentRequests, listSharedFiles, listTransfers, listTrash, listTunnelRoutes, listWaitingRequests, listZips, login, logout, makePutioSdkConfig, makePutioSdkLayer, makeResponseError, mapConfigurationError, mapDecodeErrorToValidationError, mapTransportError, moveFileSelection, moveFiles, parseErrorBody, pauseRssFeed, previewPaymentChangePlan, putMp4ToMyFiles, queryFiles, queryOAuthApps, readConfig, readConfigWith, reannounceTransfer, redeemPaymentVoucher, regenerateOAuthAppToken, regenerateRecoveryCodes, register, removeFamilyMember, removeFriend, renameFile, reportPayments, requestArrayBuffer, requestJson, requestVoid, resetPassword, resetStartFrom, responseRateLimitHeaders, restoreTrash, resumeRssFeed, retryAllRssFeedItems, retryRssFeedItem, retryTransfer, revokeAllClients, revokeApp, revokeClient, saveAccountSettings, searchFiles, searchFriends, sendFriendRequest, sendIftttEvent, setConfigKey, setFilesWatchStatus, setOAuthAppIcon, setStartFrom, shareFiles, stopPaymentSubscription, stopTransferRecording, submitPaymentChangePlan, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
|
|
7471
|
+
export { AccountClearOptions, AccountClearOptionsSchema, AccountConfirmation, AccountConfirmationSchema, AccountConfirmationsError, AccountConfirmationsErrorSpec, AccountDisk, AccountDiskSchema, AccountInfoBase, AccountInfoBaseSchema, AccountInfoBroad, AccountInfoBroadSchema, AccountInfoQuery, AccountInfoQuerySchema, AccountInfoResponseFor, AccountSettings, AccountSettingsSchema, AccountTwoFactorSettingsSchema, AccountWarnings, AccountWarningsSchema, AddManyTransfersError, AddManyTransfersErrorSpec, AddTransferError, AddTransferErrorSpec, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthorizationCodeSchema, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateCoinbaseChargeError, CreateCoinbaseChargeErrorSpec, CreateDownloadLinksError, CreateDownloadLinksErrorSpec, CreateFamilyInviteError, CreateFamilyInviteErrorSpec, CreateFolderError, CreateFolderErrorSpec, CreateFriendInviteError, CreateFriendInviteErrorSpec, CreateNanoPaymentRequestError, CreateNanoPaymentRequestErrorSpec, CreateOAuthAppError, CreateOAuthAppErrorSpec, CreateOpenNodeChargeError, CreateOpenNodeChargeErrorSpec, CreatePaddleWaitingPaymentError, CreatePaddleWaitingPaymentErrorSpec, CreatePublicShareError, CreatePublicShareErrorSpec, CreateRssFeedError, CreateRssFeedErrorSpec, CreateSharingCloneError, CreateSharingCloneErrorSpec, CreateZipError, CreateZipErrorSpec, CreateZipInput, DEFAULT_PUTIO_API_BASE_URL, DEFAULT_PUTIO_UPLOAD_BASE_URL, DEFAULT_PUTIO_WEB_APP_URL, DeleteEventError, DeleteEventErrorSpec, DeleteOAuthAppError, DeleteOAuthAppErrorSpec, DeletePublicShareError, DeletePublicShareErrorSpec, DeleteRssFeedError, DeleteRssFeedErrorSpec, DeleteTrashError, DeleteTrashErrorSpec, DenyFriendRequestError, DenyFriendRequestErrorSpec, DownloadLinksCreateInput, DownloadLinksCreateInputSchema, DownloadLinksInfo, DownloadLinksInfoSchema, DownloadLinksPayload, DownloadLinksPayloadSchema, DownloadLinksStatus, DownloadLinksStatusSchema, DownloadUrlError, DownloadUrlErrorSpec, EmptyTrashError, EmptyTrashErrorSpec, EventsListQuery, EventsListQuerySchema, EventsListResponse, FamilyInvite, FamilyInviteLookupError, FamilyInviteLookupErrorSpec, FamilyInviteSchema, FamilyInvitesResponse, FamilyMember, FamilyMemberSchema, FileActiveConversion, FileActiveConversionSchema, FileActiveConversionsError, FileActiveConversionsErrorSpec, FileApiDownloadUrlOptions, FileApiMp4DownloadUrlOptions, FileBase, FileBaseSchema, FileBreadcrumb, FileBreadcrumbSchema, FileBroad, FileBroadSchema, FileConversionStatus, FileConversionStatusSchema, FileCore, FileCreateFolderInput, FileDirectAccessOptions, FileExtraction, FileExtractionSchema, FileExtractionStatus, FileExtractionStatusSchema, FileExtractionsError, FileExtractionsErrorSpec, FileHlsStreamUrlOptions, FileListContinuationResponse, FileListResponse, FileMediaInfo, FileMediaInfoFormatSchema, FileMediaInfoSchema, FileMediaInfoStreamSchema, FileMediaMetadata, FileMediaMetadataSchema, FileMp4Error, FileMp4ErrorSpec, FileMp4MutationError, FileMp4MutationErrorSpec, FileQuery, FileQuerySchema, FileRenameInput, FileResponseFor, FileSearchResponse, FileSort, FileSortSchema, FileStartFromSetInput, FileSubtitle, FileSubtitleSchema, FileSubtitlesError, FileSubtitlesErrorSpec, FileType, FileTypeSchema, FileUploadEnvelope, FileUploadError, FileUploadErrorSpec, FileUploadInput, FileUploadRequestDescriptor, FileUploadResult, FileUploadTransfer, FileVideoMetadata, FileWatchStatusError, FileWatchStatusErrorSpec, FilesBulkSelection, FilesListEnvelopeSchema, FilesListQuery, FilesListQuerySchema, FilesMoveError, FilesMoveErrorSchema, FilesSearchQuery, FilesSearchQuerySchema, FolderType, FolderTypeSchema, ForgotPasswordError, ForgotPasswordErrorSpec, Friend, FriendBase, FriendBaseSchema, FriendInvite, FriendInviteJoinedUser, FriendInviteJoinedUserSchema, FriendInviteJoinedUserStatus, FriendInviteJoinedUserStatusSchema, FriendInviteLookupError, FriendInviteLookupErrorSpec, FriendInviteSchema, FriendSchema, FriendSharedFolderError, FriendSharedFolderErrorSpec, GenerateTOTPError, GenerateTOTPErrorSpec, GenerateTOTPResponse, GenerateTOTPResponseSchema, GetDownloadLinksError, GetDownloadLinksErrorSpec, GetEventTorrentError, GetEventTorrentErrorSpec, GetFileError, GetFileErrorSpec, GetIftttStatusError, GetIftttStatusErrorSpec, GetOAuthAppError, GetOAuthAppErrorSpec, GetPaymentInfoError, GetPaymentInfoErrorSpec, GetPaymentVoucherInfoError, GetPaymentVoucherInfoErrorSpec, GetPublicShareError, GetPublicShareErrorSpec, GetPublicShareFileUrlError, GetPublicShareFileUrlErrorSpec, GetRssFeedError, GetRssFeedErrorSpec, GetSharedWithError, GetSharedWithErrorSpec, GetSharingCloneInfoError, GetSharingCloneInfoErrorSpec, GetTransferError, GetTransferErrorSpec, GetZipError, GetZipErrorSpec, GiftCardLookupError, GiftCardLookupErrorSpec, GrantsError, GrantsErrorSpec, HistoryEvent, HistoryEventSchema, HistoryFileFromRssDeletedEventSchema, HistoryFileSharedEvent, HistoryFileSharedEventSchema, HistoryKnownEventType, HistoryKnownEventTypeSchema, HistoryPrivateTorrentPinEventSchema, HistoryRssFilterPausedEventSchema, HistoryTransferCallbackErrorEventSchema, HistoryTransferCompletedEvent, HistoryTransferCompletedEventSchema, HistoryTransferErrorEventSchema, HistoryTransferFromRssErrorEventSchema, HistoryUploadEventSchema, HistoryVoucherEventSchema, HistoryZipCreatedEvent, HistoryZipCreatedEventSchema, IftttEventInput, IftttEventType, JoinFamilyError, JoinFamilyErrorSpec, JsonObjectSchema, JsonValueSchema, LinkDeviceError, LinkDeviceErrorSpec, ListEventsError, ListEventsErrorSpec, ListFamilyInvitesError, ListFamilyInvitesErrorSpec, ListFamilyMembersError, ListFamilyMembersErrorSpec, ListFriendInvitesError, ListFriendInvitesErrorSpec, ListFriendsError, ListFriendsErrorSpec, ListPaymentHistoryError, ListPaymentHistoryErrorSpec, ListPaymentInvitesError, ListPaymentInvitesErrorSpec, ListPaymentOptionsError, ListPaymentOptionsErrorSpec, ListPaymentPlansError, ListPaymentPlansErrorSpec, ListPublicShareFilesError, ListPublicShareFilesErrorSpec, ListPublicSharesError, ListPublicSharesErrorSpec, ListRssFeedItemsError, ListRssFeedItemsErrorSpec, ListRssFeedsError, ListRssFeedsErrorSpec, ListSentRequestsError, ListSentRequestsErrorSpec, ListSharedFilesError, ListSharedFilesErrorSpec, ListTransfersError, ListTransfersErrorSpec, ListTrashError, ListTrashErrorSpec, ListTunnelRoutesError, ListTunnelRoutesErrorSpec, ListWaitingRequestsError, ListWaitingRequestsErrorSpec, ListZipsError, ListZipsErrorSpec, LoginError, LoginErrorSpec, LoginResponse, LoginResponseSchema, MyOAuthApp, MyOAuthAppSchema, OAuthApp, OAuthAppCreateInput, OAuthAppCreateInputSchema, OAuthAppSchema, OAuthAppSession, OAuthAppSessionSchema, OAuthAppUpdateInput, OAuthAppUpdateInputSchema, OAuthAppWithTokenSchema, OAuthSetIconInput, OAuthSetIconInputSchema, OkResponseSchema, OwnedOAuthApp, OwnedOAuthAppSchema, PasInfo, PasInfoSchema, PauseRssFeedError, PauseRssFeedErrorSpec, PaymentChangePlanPreview, PaymentChangePlanPreviewInput, PaymentChangePlanPreviewSchema, PaymentChangePlanSubmitInput, PaymentChangePlanSubmitResponse, PaymentChangePlanSubmitSchema, PaymentHistoryItem, PaymentHistoryItemSchema, PaymentHistoryQuery, PaymentInfo, PaymentInfoPlanSchema, PaymentInfoSchema, PaymentInvite, PaymentInviteSchema, PaymentOption, PaymentOptionPlanTypeSchema, PaymentOptionSchema, PaymentPaddleWaitingPaymentInput, PaymentPlanGroup, PaymentPlanGroupSchema, PaymentPlanTypeSchema, PaymentProvider, PaymentProviderNameSchema, PaymentProviderSchema, PaymentSubscriptionInfoSchema, PaymentTypeSchema, PaymentVoucherInfo, PaymentVoucherInfoSchema, PopularOAuthApp, PopularOAuthAppSchema, PreviewPaymentChangePlanError, PreviewPaymentChangePlanErrorSpec, PublicShare, PublicShareListQuery, PublicShareListQuerySchema, PublicShareSchema, PutioApiError, PutioAuth, PutioAuthError, PutioConfigurationError, PutioErrorEnvelope, PutioErrorEnvelopeSchema, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdkConfig, PutioSdkConfigShape, PutioSdkContext, PutioSdkError, PutioTransportError, PutioTypedErrorEnvelope, PutioUnhandledSdkError, PutioValidationError, QueryFilesError, QueryFilesErrorSpec, QueryOAuthAppsError, QueryOAuthAppsErrorSpec, ReannounceTransferError, ReannounceTransferErrorSpec, RecoveryCodesError, RecoveryCodesErrorSpec, RedeemPaymentVoucherError, RedeemPaymentVoucherErrorSpec, RegenerateOAuthAppTokenError, RegenerateOAuthAppTokenErrorSpec, RegenerateRecoveryCodesError, RegenerateRecoveryCodesErrorSpec, RegisterError, RegisterErrorSpec, RegisterInput, RegisterInputSchema, RemoveFamilyMemberError, RemoveFamilyMemberErrorSpec, RemoveFriendError, RemoveFriendErrorSpec, RenameFileError, RenameFileErrorSpec, ReportPaymentsError, ReportPaymentsErrorSpec, ResetPasswordError, ResetPasswordErrorSpec, RestoreTrashError, RestoreTrashErrorSpec, ResumeRssFeedError, ResumeRssFeedErrorSpec, RetryAllRssFeedItemsError, RetryAllRssFeedItemsErrorSpec, RetryRssFeedItemError, RetryRssFeedItemErrorSpec, RetryTransferError, RetryTransferErrorSpec, RevokeAllOAuthClientsError, RevokeAllOAuthClientsErrorSpec, RevokeOAuthClientError, RevokeOAuthClientErrorSpec, RevokeOAuthGrantError, RevokeOAuthGrantErrorSpec, RssFeed, RssFeedItem, RssFeedItemFailedSchema, RssFeedItemSchema, RssFeedItemSucceededSchema, RssFeedParams, RssFeedParamsSchema, RssFeedSchema, SaveAccountSettingsError, SaveAccountSettingsErrorSpec, SaveAccountSettingsPayload, SaveAccountSettingsPayloadSchema, SearchFilesError, SearchFilesErrorSpec, SearchFriendsError, SearchFriendsErrorSpec, SendFriendRequestError, SendFriendRequestErrorSpec, SendIftttEventError, SendIftttEventErrorSpec, ShareFilesError, ShareFilesErrorSpec, SharedFile, SharedFileSchema, SharedFileShare, SharedFileShareSchema, SharedFileSharedWith, SharedFileSharedWithSchema, SharingCloneInfo, SharingCloneInfoSchema, SharingCloneInput, SharingCloneInputSchema, SharingCloneStatusSchema, SharingShareInput, SharingShareInputSchema, SharingUnshareInput, SharingUnshareInputSchema, StartFromError, StartFromErrorSpec, StopRecordingTransferError, StopRecordingTransferErrorSpec, StopSubscriptionError, StopSubscriptionErrorSpec, SubmitPaymentChangePlanError, SubmitPaymentChangePlanErrorSpec, Transfer, TransferAddInput, TransferAddInputSchema, TransferBaseSchema, TransferInfoItem, TransferLink, TransferSchema, TransferStatus, TransferStatusSchema, TransferType, TransferTypeSchema, TransfersAddMultiError, TransfersContinueResponse, TransfersListQuery, TransfersListQuerySchema, TransfersListResponse, TrashBulkInput, TrashContinueResponse, TrashFile, TrashFileSchema, TrashListQuery, TrashListResponse, TunnelRoute, TunnelRouteSchema, TwoFactorRecoveryCodes, TwoFactorRecoveryCodesSchema, UnshareFileError, UnshareFileErrorSpec, UpdateOAuthAppError, UpdateOAuthAppErrorSpec, UpdateRssFeedError, UpdateRssFeedErrorSpec, UserSearchResult, UserSearchResultSchema, UserSubscriptionStatusSchema, ValidateTokenResponse, ValidateTokenResponseSchema, VerifyTOTPError, VerifyTOTPErrorSpec, VerifyTOTPResponse, VerifyTOTPResponseSchema, VoucherLookupError, VoucherLookupErrorSpec, ZipCreateResponse, ZipInfo, ZipStatusSchema, ZipSummary, addManyTransfers, addTransfer, approveFriendRequest, buildAuthLoginUrl, buildFileApiContentUrl, buildFileApiDownloadUrl, buildFileApiMp4DownloadUrl, buildFileHlsStreamUrl, buildOAuthAppIconUrl, buildOAuthAuthorizeUrl, buildPutioUrl, cancelTransfers, cancelZip, checkCodeMatch, classifyPaymentChangePlanResponse, cleanTransfers, clearAccount, clearEvents, clearRssFeedLogs, clients, cloneSharedFiles, confirmFastspringOrder, continueFiles, continuePublicShareFiles, continueSearch, continueTransfers, continueTrash, convertFileSelectionToMp4, convertFileToMp4, convertFilesToMp4, countTransfers, countWaitingRequests, createCoinbaseCharge, createDownloadLinks, createFamilyInvite, createFileUploadFormData, createFileUploadRequest, createFolder, createFriendInvite, createNanoPaymentRequest, createOAuthApp, createOpenNodeCharge, createPaddleWaitingPayment, createPublicShare, createPutioSdkEffectClient, createPutioSdkPromiseClient, createRssFeed, createZip, decodePutioErrorEnvelope, definePutioOperationErrorSpec, deleteConfigKey, deleteEvent, deleteFileExtraction, deleteFileMp4, deleteFileSelection, deleteFiles, deleteOAuthApp, deletePublicShare, deleteRssFeed, deleteTrash, denyFriendRequest, destroyAccount, emptyTrash, exists, extractFiles, fallbackPutioErrorEnvelope, findNextFile, findNextVideo, forgotPassword, generateTOTP, getAccountInfo, getAccountSettings, getApiContentUrl, getApiDownloadUrl, getApiMp4DownloadUrl, getCode, getConfigKey, getConfigKeyWith, getDownloadLinks, getDownloadUrl, getEventTorrent, getFamilyInvite, getFile, getFriendInvite, getFriendSharedFolder, getGiftCard, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaymentInfo, getPaymentVoucherInfo, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getVoucher, getZip, grants, joinFamily, linkDevice, listAccountConfirmations, listActiveMp4Conversions, listEvents, listFamilyInvites, listFamilyMembers, listFileExtractions, listFileSubtitles, listFriendInvites, listFriends, listPaymentHistory, listPaymentInvites, listPaymentOptions, listPaymentPlans, listPublicShareFiles, listPublicShares, listRssFeedItems, listRssFeeds, listSentRequests, listSharedFiles, listTransfers, listTrash, listTunnelRoutes, listWaitingRequests, listZips, login, logout, makePutioSdkConfig, makePutioSdkLayer, makeResponseError, mapConfigurationError, mapDecodeErrorToValidationError, mapTransportError, moveFileSelection, moveFiles, parseErrorBody, pauseRssFeed, previewPaymentChangePlan, putMp4ToMyFiles, queryFiles, queryOAuthApps, readConfig, readConfigWith, reannounceTransfer, redeemPaymentVoucher, regenerateOAuthAppToken, regenerateRecoveryCodes, register, removeFamilyMember, removeFriend, renameFile, reportPayments, requestArrayBuffer, requestJson, requestVoid, resetPassword, resetStartFrom, responseRateLimitHeaders, restoreTrash, resumeRssFeed, retryAllRssFeedItems, retryRssFeedItem, retryTransfer, revokeAllClients, revokeApp, revokeClient, saveAccountSettings, searchFiles, searchFriends, selectJsonField, selectJsonFields, sendFriendRequest, sendIftttEvent, setConfigKey, setFilesWatchStatus, setOAuthAppIcon, setStartFrom, shareFiles, stopPaymentSubscription, stopTransferRecording, submitPaymentChangePlan, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
|
|
7484
7472
|
//# sourceMappingURL=index.d.ts.map
|