@putdotio/sdk 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  import { Context, Effect, Layer, Schema } from "effect";
2
-
3
2
  //#region src/core/errors.d.ts
4
3
  declare const PutioErrorEnvelopeSchema: Schema.Struct<{
5
4
  readonly error_message: Schema.optional<Schema.String>;
@@ -44,19 +43,19 @@ type PutioKnownOperationErrorContract = {
44
43
  readonly errorType?: undefined;
45
44
  readonly statusCode: number;
46
45
  };
47
- declare const PutioTransportError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
46
+ declare const PutioTransportError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
48
47
  readonly _tag: "PutioTransportError";
49
48
  } & Readonly<A>;
50
49
  declare class PutioTransportError extends PutioTransportError_base<{
51
50
  readonly cause: unknown;
52
51
  }> {}
53
- declare const PutioConfigurationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
52
+ declare const PutioConfigurationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
54
53
  readonly _tag: "PutioConfigurationError";
55
54
  } & Readonly<A>;
56
55
  declare class PutioConfigurationError extends PutioConfigurationError_base<{
57
56
  readonly cause: unknown;
58
57
  }> {}
59
- declare const PutioValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
58
+ declare const PutioValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
60
59
  readonly _tag: "PutioValidationError";
61
60
  } & Readonly<A>;
62
61
  declare class PutioValidationError extends PutioValidationError_base<{
@@ -83,12 +82,6 @@ declare const PutioAuthError_base: Schema.Class<PutioAuthError, Schema.TaggedStr
83
82
  }>, import("effect/Cause").YieldableError>;
84
83
  declare class PutioAuthError extends PutioAuthError_base {}
85
84
  declare const PutioRateLimitError_base: Schema.Class<PutioRateLimitError, Schema.TaggedStruct<"PutioRateLimitError", {
86
- readonly action: Schema.optional<Schema.String>;
87
- readonly id: Schema.optional<Schema.String>;
88
- readonly limit: Schema.optional<Schema.String>;
89
- readonly remaining: Schema.optional<Schema.String>;
90
- readonly retryAfter: Schema.optional<Schema.String>;
91
- readonly reset: Schema.optional<Schema.String>;
92
85
  readonly status: Schema.Int;
93
86
  readonly body: Schema.Struct<{
94
87
  readonly error_message: Schema.optional<Schema.String>;
@@ -96,9 +89,15 @@ declare const PutioRateLimitError_base: Schema.Class<PutioRateLimitError, Schema
96
89
  readonly status_code: Schema.optional<Schema.Int>;
97
90
  readonly details: Schema.optional<Schema.Unknown>;
98
91
  }>;
92
+ readonly action: Schema.optional<Schema.String>;
93
+ readonly id: Schema.optional<Schema.String>;
94
+ readonly limit: Schema.optional<Schema.String>;
95
+ readonly remaining: Schema.optional<Schema.String>;
96
+ readonly retryAfter: Schema.optional<Schema.String>;
97
+ readonly reset: Schema.optional<Schema.String>;
99
98
  }>, import("effect/Cause").YieldableError>;
100
99
  declare class PutioRateLimitError extends PutioRateLimitError_base {}
101
- declare const PutioOperationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P] }>) => import("effect/Cause").YieldableError & {
100
+ declare const PutioOperationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
102
101
  readonly _tag: "PutioOperationError";
103
102
  } & Readonly<A>;
104
103
  declare class PutioOperationError<TDomain extends string, TOperation extends string, TContract extends PutioKnownOperationErrorContract> extends PutioOperationError_base<{
@@ -180,7 +179,7 @@ declare class PutioHttpClient extends PutioHttpClient_base {}
180
179
  type PutioSdkContext = PutioSdkConfig | PutioHttpClient;
181
180
  declare const makePutioSdkConfig: (config: PutioSdkConfigShape) => PutioSdkConfigShape;
182
181
  declare const makePutioSdkLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig, never, never>;
183
- declare const makePutioSdkLiveLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig | PutioHttpClient, never, never>;
182
+ declare const makePutioSdkLiveLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioHttpClient | PutioSdkConfig, never, never>;
184
183
  declare const makePutioFetchLayer: (fetchImplementation?: typeof globalThis.fetch) => Layer.Layer<PutioHttpClient, never, never>;
185
184
  declare const makePutioFetchClient: (fetchImplementation?: typeof globalThis.fetch) => PutioHttpClientShape;
186
185
  declare const encodePathSegment: (value: PutioPathSegment) => string;
@@ -223,8 +222,8 @@ interface PutioRequestOptions {
223
222
  readonly body?: PutioRequestBody;
224
223
  }
225
224
  declare const requestJson: <S extends Schema.Top>(schema: S, options: PutioRequestOptions) => Effect.Effect<S["Type"], PutioSdkError, PutioSdkContext | S["DecodingServices"]>;
226
- declare const selectJsonField: <K extends string>(field: K) => <A extends { readonly [P in K]: unknown }, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A[K], E, R>;
227
- declare const selectJsonFields: <const K extends readonly string[]>(...fields: K) => <A extends { readonly [P in K[number]]: unknown }, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<Pick<A, K[number]>, E, R>;
225
+ declare const selectJsonField: <K extends string>(field: K) => <A extends { readonly [P in K]: unknown; }, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A[K], E, R>;
226
+ declare const selectJsonFields: <const K extends readonly string[]>(...fields: K) => <A extends { readonly [P in K[number]]: unknown; }, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<Pick<A, K[number]>, E, R>;
228
227
  declare const requestArrayBuffer: (options: PutioRequestOptions) => Effect.Effect<Uint8Array, PutioSdkError, PutioSdkContext>;
229
228
  declare const requestVoid: (options: PutioRequestOptions) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
230
229
  //#endregion
@@ -396,6 +395,10 @@ declare const AccountInfoBroadSchema: Schema.Struct<{
396
395
  readonly push_token: Schema.optional<Schema.String>;
397
396
  readonly user_hash: Schema.optional<Schema.String>;
398
397
  }>;
398
+ declare const AccountSubtitleLanguageSchema: Schema.Struct<{
399
+ readonly code: Schema.String;
400
+ readonly name: Schema.String;
401
+ }>;
399
402
  declare const AccountTwoFactorSettingsSchema: Schema.Struct<{
400
403
  readonly code: Schema.String;
401
404
  readonly enable: Schema.Boolean;
@@ -465,6 +468,7 @@ type AccountInfoBroad = Schema.Schema.Type<typeof AccountInfoBroadSchema>;
465
468
  type SaveAccountSettingsPayload = Schema.Schema.Type<typeof SaveAccountSettingsPayloadSchema>;
466
469
  type AccountClearOptions = Schema.Schema.Type<typeof AccountClearOptionsSchema>;
467
470
  type AccountConfirmation = Schema.Schema.Type<typeof AccountConfirmationSchema>;
471
+ type AccountSubtitleLanguage = Schema.Schema.Type<typeof AccountSubtitleLanguageSchema>;
468
472
  type AccountInfoResponseFor<TQuery extends AccountInfoQuery> = AccountInfoBase & (TQuery["download_token"] extends 1 ? {
469
473
  readonly download_token: string;
470
474
  } : {}) & (TQuery["features"] extends 1 ? {
@@ -580,6 +584,7 @@ declare function getAccountInfo(query: {
580
584
  declare function getAccountInfo(): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext>;
581
585
  declare function getAccountInfo(query: AccountInfoQuery): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext>;
582
586
  declare const getAccountSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
587
+ declare const listAccountSubtitleLanguages: () => Effect.Effect<ReadonlyArray<AccountSubtitleLanguage>, PutioSdkError, PutioSdkContext>;
583
588
  declare const saveAccountSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
584
589
  declare const clearAccount: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
585
590
  declare const destroyAccount: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
@@ -1059,10 +1064,10 @@ type PutioJsonObject = {
1059
1064
  declare const JsonValueSchema: Schema.refine<PutioJsonValue, Schema.Unknown>;
1060
1065
  declare const JsonObjectSchema: Schema.refine<PutioJsonObject, Schema.Unknown>;
1061
1066
  declare const readConfig: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
1062
- declare const readConfigWith: <A>(schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
1067
+ declare const readConfigWith: <A>(schema: Schema.ConstraintDecoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
1063
1068
  declare const writeConfig: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
1064
1069
  declare const getConfigKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError, PutioSdkContext>;
1065
- declare const getConfigKeyWith: <A>(key: string, schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
1070
+ declare const getConfigKeyWith: <A>(key: string, schema: Schema.ConstraintDecoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
1066
1071
  declare const setConfigKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
1067
1072
  declare const deleteConfigKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
1068
1073
  //#endregion
@@ -2746,7 +2751,7 @@ declare const getFriendSharedFolder: (username: string) => Effect.Effect<FileBro
2746
2751
  //#region src/domains/payment.d.ts
2747
2752
  declare const PaymentPlanTypeSchema: Schema.Literals<readonly ["onetime", "subscription"]>;
2748
2753
  declare const PaymentOptionPlanTypeSchema: Schema.Literals<readonly ["onetime", "subscription", "trial"]>;
2749
- declare const PaymentProviderNameSchema: Schema.Literals<readonly ["Paddle", "Paddle Billing", "Fastspring", "OpenNode"]>;
2754
+ declare const PaymentProviderNameSchema: Schema.Literals<readonly ["Paddle", "PaddleBilling", "Fastspring", "OpenNode"]>;
2750
2755
  declare const PaymentTypeSchema: Schema.Literals<readonly ["credit-card", "cryptocurrency"]>;
2751
2756
  declare const UserSubscriptionStatusSchema: Schema.Literals<readonly ["ACTIVE", "CANCELED", "PAST_DUE", "TRIALING"]>;
2752
2757
  declare const PaymentSubscriptionInfoSchema: Schema.Struct<{
@@ -2863,7 +2868,7 @@ declare const PaymentChangePlanPreviewSchema: Schema.Struct<{
2863
2868
  readonly currency: Schema.String;
2864
2869
  readonly next_billing_date: Schema.NullOr<Schema.String>;
2865
2870
  }>;
2866
- readonly "Paddle Billing": Schema.Struct<{
2871
+ readonly PaddleBilling: Schema.Struct<{
2867
2872
  readonly next_billing_date: Schema.NullOr<Schema.String>;
2868
2873
  }>;
2869
2874
  readonly amount: Schema.NullOr<Schema.String>;
@@ -2872,7 +2877,7 @@ declare const PaymentChangePlanPreviewSchema: Schema.Struct<{
2872
2877
  readonly currency: Schema.String;
2873
2878
  readonly current_plan: Schema.Struct<{
2874
2879
  readonly plan_type: Schema.NullOr<Schema.Literals<readonly ["onetime", "subscription"]>>;
2875
- readonly subscription_payment_provider: Schema.NullOr<Schema.Literals<readonly ["Paddle", "Paddle Billing", "Fastspring", "OpenNode"]>>;
2880
+ readonly subscription_payment_provider: Schema.NullOr<Schema.Literals<readonly ["Paddle", "PaddleBilling", "Fastspring", "OpenNode"]>>;
2876
2881
  }>;
2877
2882
  readonly discount: Schema.optional<Schema.Struct<{
2878
2883
  readonly discount: Schema.Number;
@@ -2905,7 +2910,7 @@ declare const PaymentProviderSchema: Schema.Union<readonly [Schema.Struct<{
2905
2910
  readonly type: Schema.Literal<"cryptocurrency">;
2906
2911
  }>, Schema.Struct<{
2907
2912
  readonly price_id: Schema.NullOr<Schema.String>;
2908
- readonly provider: Schema.Literal<"Paddle Billing">;
2913
+ readonly provider: Schema.Literal<"PaddleBilling">;
2909
2914
  readonly type: Schema.Literal<"credit-card">;
2910
2915
  }>, Schema.Struct<{
2911
2916
  readonly plan_id: Schema.Int;
@@ -2925,7 +2930,7 @@ declare const PaymentChangePlanCheckoutSchema: Schema.Struct<{
2925
2930
  readonly type: Schema.Literal<"cryptocurrency">;
2926
2931
  }>, Schema.Struct<{
2927
2932
  readonly price_id: Schema.NullOr<Schema.String>;
2928
- readonly provider: Schema.Literal<"Paddle Billing">;
2933
+ readonly provider: Schema.Literal<"PaddleBilling">;
2929
2934
  readonly type: Schema.Literal<"credit-card">;
2930
2935
  }>, Schema.Struct<{
2931
2936
  readonly plan_id: Schema.Int;
@@ -2963,7 +2968,7 @@ declare const PaymentChangePlanSubmitSchema: Schema.Union<readonly [Schema.Struc
2963
2968
  readonly type: Schema.Literal<"cryptocurrency">;
2964
2969
  }>, Schema.Struct<{
2965
2970
  readonly price_id: Schema.NullOr<Schema.String>;
2966
- readonly provider: Schema.Literal<"Paddle Billing">;
2971
+ readonly provider: Schema.Literal<"PaddleBilling">;
2967
2972
  readonly type: Schema.Literal<"credit-card">;
2968
2973
  }>, Schema.Struct<{
2969
2974
  readonly plan_id: Schema.Int;
@@ -5207,1249 +5212,461 @@ declare const cancelZip: (id: number) => Effect.Effect<void, CancelZipError, Put
5207
5212
  //#region src/core/client.d.ts
5208
5213
  declare const createPutioSdkEffectClient: () => {
5209
5214
  account: {
5210
- clear: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5211
- destroy: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5215
+ clear: typeof clearAccount;
5216
+ destroy: typeof destroyAccount;
5212
5217
  getInfo: typeof getAccountInfo;
5213
- getSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
5214
- listConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext>;
5215
- saveSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
5218
+ getSettings: typeof getAccountSettings;
5219
+ listSubtitleLanguages: typeof listAccountSubtitleLanguages;
5220
+ listConfirmations: typeof listAccountConfirmations;
5221
+ saveSettings: typeof saveAccountSettings;
5216
5222
  };
5217
5223
  auth: {
5218
- buildLoginUrl: (options: {
5219
- readonly clientId: string | number;
5220
- readonly redirectUri: string;
5221
- readonly responseType?: string;
5222
- readonly state: string;
5223
- readonly clientName?: string;
5224
- readonly webAppUrl?: string | URL;
5225
- }) => string;
5226
- checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError, PutioSdkContext>;
5227
- clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError, PutioSdkContext>;
5228
- exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError, PutioSdkContext>;
5229
- forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError, PutioSdkContext>;
5230
- getCode: (input: {
5231
- readonly appId: number | string;
5232
- readonly clientName?: string;
5233
- }) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError, PutioSdkContext>;
5234
- getFamilyInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5235
- readonly invite: Schema.Struct<{
5236
- readonly owner: Schema.String;
5237
- readonly plan: Schema.String;
5238
- }>;
5239
- readonly status: Schema.Literal<"OK">;
5240
- }>>["invite"], FamilyInviteLookupError, PutioSdkContext>;
5241
- getFriendInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5242
- readonly invite: Schema.Struct<{
5243
- readonly inviter: Schema.String;
5244
- readonly plan: Schema.Struct<{
5245
- readonly code: Schema.String;
5246
- readonly name: Schema.String;
5247
- readonly period: Schema.Int;
5248
- }>;
5249
- }>;
5250
- readonly status: Schema.Literal<"OK">;
5251
- }>>["invite"], FriendInviteLookupError, PutioSdkContext>;
5252
- getGiftCard: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5253
- readonly gift_card: Schema.Struct<{
5254
- readonly days: Schema.Int;
5255
- readonly plan: Schema.Boolean;
5256
- }>;
5257
- readonly status: Schema.Literal<"OK">;
5258
- }>>["gift_card"], GiftCardLookupError, PutioSdkContext>;
5259
- getVoucher: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5260
- readonly status: Schema.Literal<"OK">;
5261
- readonly voucher: Schema.Struct<{
5262
- readonly days: Schema.Int;
5263
- readonly owner: Schema.NullOr<Schema.String>;
5264
- }>;
5265
- }>>["voucher"], VoucherLookupError, PutioSdkContext>;
5266
- grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError, PutioSdkContext>;
5267
- linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError, PutioSdkContext>;
5268
- login: (input: LoginInput) => Effect.Effect<LoginResponse, LoginError, PutioSdkContext>;
5269
- logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5270
- register: (input: RegisterInput) => Effect.Effect<{
5271
- readonly access_token: string;
5272
- }, RegisterError, PutioSdkContext>;
5273
- resetPassword: (key: string, password: string) => Effect.Effect<{
5274
- readonly access_token: string;
5275
- }, ResetPasswordError, PutioSdkContext>;
5276
- revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError, PutioSdkContext>;
5277
- revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError, PutioSdkContext>;
5278
- revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError, PutioSdkContext>;
5224
+ buildLoginUrl: typeof buildAuthLoginUrl;
5225
+ checkCodeMatch: typeof checkCodeMatch;
5226
+ clients: typeof clients;
5227
+ exists: typeof exists;
5228
+ forgotPassword: typeof forgotPassword;
5229
+ getCode: typeof getCode;
5230
+ getFamilyInvite: typeof getFamilyInvite;
5231
+ getFriendInvite: typeof getFriendInvite;
5232
+ getGiftCard: typeof getGiftCard;
5233
+ getVoucher: typeof getVoucher;
5234
+ grants: typeof grants;
5235
+ linkDevice: typeof linkDevice;
5236
+ login: typeof login;
5237
+ logout: typeof logout;
5238
+ register: typeof register;
5239
+ resetPassword: typeof resetPassword;
5240
+ revokeAllClients: typeof revokeAllClients;
5241
+ revokeApp: typeof revokeApp;
5242
+ revokeClient: typeof revokeClient;
5279
5243
  twoFactor: {
5280
- generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError, PutioSdkContext>;
5281
- getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError, PutioSdkContext>;
5282
- regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError, PutioSdkContext>;
5283
- verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError, PutioSdkContext>;
5244
+ generateTOTP: typeof generateTOTP;
5245
+ getRecoveryCodes: typeof getRecoveryCodes;
5246
+ regenerateRecoveryCodes: typeof regenerateRecoveryCodes;
5247
+ verifyTOTP: typeof verifyTOTP;
5284
5248
  };
5285
- validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
5249
+ validateToken: typeof validateToken;
5286
5250
  };
5287
5251
  config: {
5288
- deleteKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5289
- getKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError, PutioSdkContext>;
5290
- getKeyWith: <A>(key: string, schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5291
- read: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
5292
- readWith: <A>(schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5293
- setKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5294
- write: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5252
+ deleteKey: typeof deleteConfigKey;
5253
+ getKey: typeof getConfigKey;
5254
+ getKeyWith: typeof getConfigKeyWith;
5255
+ read: typeof readConfig;
5256
+ readWith: typeof readConfigWith;
5257
+ setKey: typeof setConfigKey;
5258
+ write: typeof writeConfig;
5295
5259
  };
5296
5260
  downloadLinks: {
5297
- create: (input?: DownloadLinksCreateInput) => Effect.Effect<{
5298
- readonly id: number;
5299
- }, CreateDownloadLinksError, PutioSdkContext>;
5300
- get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
5261
+ create: typeof createDownloadLinks;
5262
+ get: typeof getDownloadLinks;
5301
5263
  };
5302
5264
  events: {
5303
- clear: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError, PutioSdkContext>;
5304
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError, PutioSdkContext>;
5305
- getTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError, PutioSdkContext>;
5306
- list: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError, PutioSdkContext>;
5265
+ clear: typeof clearEvents;
5266
+ delete: typeof deleteEvent;
5267
+ getTorrent: typeof getEventTorrent;
5268
+ list: typeof listEvents;
5307
5269
  };
5308
5270
  family: {
5309
- createInvite: () => Effect.Effect<{
5310
- readonly code: string;
5311
- }, CreateFamilyInviteError, PutioSdkContext>;
5312
- join: (inviteCode: string) => Effect.Effect<void, JoinFamilyError, PutioSdkContext>;
5313
- listInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError, PutioSdkContext>;
5314
- listMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError, PutioSdkContext>;
5315
- removeMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError, PutioSdkContext>;
5271
+ createInvite: typeof createFamilyInvite;
5272
+ join: typeof joinFamily;
5273
+ listInvites: typeof listFamilyInvites;
5274
+ listMembers: typeof listFamilyMembers;
5275
+ removeMember: typeof removeFamilyMember;
5316
5276
  };
5317
5277
  ifttt: {
5318
- getStatus: () => Effect.Effect<{
5319
- readonly enabled: boolean;
5320
- }, GetIftttStatusError, PutioSdkContext>;
5321
- sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
5278
+ getStatus: typeof getIftttStatus;
5279
+ sendEvent: typeof sendIftttEvent;
5322
5280
  };
5323
5281
  files: {
5324
- continue: (cursor: string, query?: {
5325
- readonly per_page?: number;
5326
- }) => Effect.Effect<FileListContinuationResponse, ContinueFilesError, PutioSdkContext>;
5327
- continueSearch: (cursor: string, query?: {
5328
- readonly per_page?: number;
5329
- }) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
5330
- convertToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
5331
- convertManyToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
5332
- convertSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
5333
- createUploadRequest: (input: FileUploadInput, options?: {
5334
- readonly oauthToken?: string;
5335
- }) => Effect.Effect<FileUploadRequestDescriptor, PutioSdkError, PutioSdkConfig>;
5336
- createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError, PutioSdkContext>;
5337
- deleteExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
5338
- deleteMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
5339
- deleteSelection: (selection: FilesBulkSelection, options?: {
5340
- readonly partialDelete?: boolean;
5341
- readonly skipTrash?: boolean;
5342
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5343
- readonly cursor: Schema.NullOr<Schema.String>;
5344
- readonly skipped: Schema.Int;
5345
- readonly status: Schema.Literal<"OK">;
5346
- }>>, PutioSdkError, PutioSdkContext>;
5347
- delete: (ids: ReadonlyArray<number>, options?: {
5348
- readonly ignoreFileOwner?: boolean;
5349
- readonly partialDelete?: boolean;
5350
- readonly skipTrash?: boolean;
5351
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5352
- readonly cursor: Schema.NullOr<Schema.String>;
5353
- readonly skipped: Schema.Int;
5354
- readonly status: Schema.Literal<"OK">;
5355
- }>>, PutioSdkError, PutioSdkContext>;
5356
- extract: (selection: FilesBulkSelection & {
5357
- readonly password?: string;
5358
- }) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
5359
- findNext: (fileId: number, fileType: FileType) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5360
- readonly id: Schema.Int;
5361
- readonly name: Schema.String;
5362
- readonly parent_id: Schema.NullOr<Schema.Int>;
5363
- }>>, PutioSdkError, PutioSdkContext>;
5364
- findNextVideo: (fileId: number) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5365
- readonly id: Schema.Int;
5366
- readonly name: Schema.String;
5367
- readonly parent_id: Schema.NullOr<Schema.Int>;
5368
- }>>, PutioSdkError, PutioSdkContext>;
5369
- getApiContentUrl: (fileId: number, options?: FileDirectAccessOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5370
- getApiDownloadUrl: (fileId: number, options?: FileApiDownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5371
- getApiMp4DownloadUrl: (fileId: number, options?: FileApiMp4DownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5282
+ continue: typeof continueFiles;
5283
+ continueSearch: typeof continueSearch;
5284
+ convertToMp4: typeof convertFileToMp4;
5285
+ convertManyToMp4: typeof convertFilesToMp4;
5286
+ convertSelectionToMp4: typeof convertFileSelectionToMp4;
5287
+ createUploadRequest: typeof createFileUploadRequest;
5288
+ createFolder: typeof createFolder;
5289
+ deleteExtraction: typeof deleteFileExtraction;
5290
+ deleteMp4: typeof deleteFileMp4;
5291
+ deleteSelection: typeof deleteFileSelection;
5292
+ delete: typeof deleteFiles;
5293
+ extract: typeof extractFiles;
5294
+ findNext: typeof findNextFile;
5295
+ findNextVideo: typeof findNextVideo;
5296
+ getApiContentUrl: typeof getApiContentUrl;
5297
+ getApiDownloadUrl: typeof getApiDownloadUrl;
5298
+ getApiMp4DownloadUrl: typeof getApiMp4DownloadUrl;
5372
5299
  get: typeof getFile;
5373
- getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError, PutioSdkContext>;
5374
- getHlsStreamUrl: (fileId: number, options?: FileHlsStreamUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5375
- getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
5376
- getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError, PutioSdkContext>;
5377
- list: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError, PutioSdkContext>;
5378
- listActiveConversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError, PutioSdkContext>;
5379
- listExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
5380
- listSubtitles: (fileId: number, options?: {
5381
- readonly languages?: ReadonlyArray<string>;
5382
- }) => Effect.Effect<{
5383
- readonly default: string | null;
5384
- readonly subtitles: ReadonlyArray<FileSubtitle>;
5385
- }, FileSubtitlesError, PutioSdkContext>;
5386
- move: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
5387
- moveSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
5388
- putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
5389
- rename: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError, PutioSdkContext>;
5390
- resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
5391
- search: (query: FilesSearchQuery) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
5392
- setWatchStatus: (selection: FilesBulkSelection & {
5393
- readonly watched: boolean;
5394
- }) => Effect.Effect<void, FileWatchStatusError, PutioSdkContext>;
5395
- setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
5396
- upload: (input: FileUploadInput, options?: {
5397
- readonly oauthToken?: string;
5398
- }) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError, PutioSdkContext>;
5300
+ getDownloadUrl: typeof getDownloadUrl;
5301
+ getHlsStreamUrl: typeof getHlsStreamUrl;
5302
+ getMp4Status: typeof getMp4Status;
5303
+ getStartFrom: typeof getStartFrom;
5304
+ list: typeof queryFiles;
5305
+ listActiveConversions: typeof listActiveMp4Conversions;
5306
+ listExtractions: typeof listFileExtractions;
5307
+ listSubtitles: typeof listFileSubtitles;
5308
+ move: typeof moveFiles;
5309
+ moveSelection: typeof moveFileSelection;
5310
+ putMp4ToMyFiles: typeof putMp4ToMyFiles;
5311
+ rename: typeof renameFile;
5312
+ resetStartFrom: typeof resetStartFrom;
5313
+ search: typeof searchFiles;
5314
+ setWatchStatus: typeof setFilesWatchStatus;
5315
+ setStartFrom: typeof setStartFrom;
5316
+ upload: typeof uploadFile;
5399
5317
  };
5400
5318
  friendInvites: {
5401
- create: () => Effect.Effect<{
5402
- readonly code: string;
5403
- }, CreateFriendInviteError, PutioSdkContext>;
5404
- list: () => Effect.Effect<{
5405
- readonly invites: ReadonlyArray<FriendInvite>;
5406
- readonly remaining_limit: number;
5407
- }, ListFriendInvitesError, PutioSdkContext>;
5319
+ create: typeof createFriendInvite;
5320
+ list: typeof listFriendInvites;
5408
5321
  };
5409
5322
  friends: {
5410
- approve: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError, PutioSdkContext>;
5411
- countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError, PutioSdkContext>;
5412
- deny: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError, PutioSdkContext>;
5413
- list: () => Effect.Effect<{
5414
- readonly friends: ReadonlyArray<Friend>;
5415
- readonly total: number;
5416
- }, ListFriendsError, PutioSdkContext>;
5417
- listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError, PutioSdkContext>;
5418
- listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError, PutioSdkContext>;
5419
- remove: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError, PutioSdkContext>;
5420
- search: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError, PutioSdkContext>;
5421
- sendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError, PutioSdkContext>;
5422
- sharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError, PutioSdkContext>;
5323
+ approve: typeof approveFriendRequest;
5324
+ countWaitingRequests: typeof countWaitingRequests;
5325
+ deny: typeof denyFriendRequest;
5326
+ list: typeof listFriends;
5327
+ listSentRequests: typeof listSentRequests;
5328
+ listWaitingRequests: typeof listWaitingRequests;
5329
+ remove: typeof removeFriend;
5330
+ search: typeof searchFriends;
5331
+ sendRequest: typeof sendFriendRequest;
5332
+ sharedFolder: typeof getFriendSharedFolder;
5423
5333
  };
5424
5334
  oauth: {
5425
- buildAuthorizeUrl: (options: {
5426
- readonly baseUrl?: string | URL;
5427
- readonly oauthToken: string;
5428
- readonly query?: Readonly<Record<string, PutioQueryValue>>;
5429
- }) => string;
5430
- buildIconUrl: (options: {
5431
- readonly baseUrl?: string | URL;
5432
- readonly id: number;
5433
- readonly oauthToken: string;
5434
- }) => string;
5435
- create: (input: OAuthAppCreateInput) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5436
- readonly app: Schema.Union<readonly [Schema.Struct<{
5437
- readonly description: Schema.String;
5438
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
5439
- readonly id: Schema.Int;
5440
- readonly name: Schema.String;
5441
- readonly website: Schema.String;
5442
- readonly callback: Schema.String;
5443
- readonly hidden: Schema.Boolean;
5444
- readonly secret: Schema.String;
5445
- }>, Schema.Struct<{
5446
- readonly description: Schema.String;
5447
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
5448
- readonly id: Schema.Int;
5449
- readonly name: Schema.String;
5450
- readonly website: Schema.String;
5451
- }>]>;
5452
- readonly status: Schema.Literal<"OK">;
5453
- }>>, CreateOAuthAppError, PutioSdkContext>;
5454
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError, PutioSdkContext>;
5455
- get: (id: number, options?: {
5456
- readonly edit?: boolean;
5457
- }) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError, PutioSdkContext>;
5458
- getPopularApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError, PutioSdkContext>;
5459
- query: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError, PutioSdkContext>;
5460
- regenerateToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError, PutioSdkContext>;
5461
- setIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5462
- update: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError, PutioSdkContext>;
5335
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
5336
+ buildIconUrl: typeof buildOAuthAppIconUrl;
5337
+ create: typeof createOAuthApp;
5338
+ delete: typeof deleteOAuthApp;
5339
+ get: typeof getOAuthApp;
5340
+ getPopularApps: typeof getPopularOAuthApps;
5341
+ query: typeof queryOAuthApps;
5342
+ regenerateToken: typeof regenerateOAuthAppToken;
5343
+ setIcon: typeof setOAuthAppIcon;
5344
+ update: typeof updateOAuthApp;
5463
5345
  };
5464
5346
  payment: {
5465
5347
  changePlan: {
5466
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
5467
- preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
5468
- submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
5348
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
5349
+ preview: typeof previewPaymentChangePlan;
5350
+ submit: typeof submitPaymentChangePlan;
5469
5351
  };
5470
- confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError, PutioSdkContext>;
5471
- getInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError, PutioSdkContext>;
5472
- listHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError, PutioSdkContext>;
5473
- listInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError, PutioSdkContext>;
5474
- listOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError, PutioSdkContext>;
5475
- listPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError, PutioSdkContext>;
5352
+ confirmFastspringOrder: typeof confirmFastspringOrder;
5353
+ getInfo: typeof getPaymentInfo;
5354
+ listHistory: typeof listPaymentHistory;
5355
+ listInvites: typeof listPaymentInvites;
5356
+ listOptions: typeof listPaymentOptions;
5357
+ listPlans: typeof listPaymentPlans;
5476
5358
  methods: {
5477
- addPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError, PutioSdkContext>;
5478
- createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError, PutioSdkContext>;
5479
- createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError, PutioSdkContext>;
5480
- createPaddleBillingUpdatePaymentMethodTransaction: (userSubscriptionId: number) => Effect.Effect<string, CreatePaddleBillingUpdatePaymentMethodTransactionError, PutioSdkContext>;
5481
- getPaddleBillingInvoiceUrl: (paymentId: number) => Effect.Effect<string, GetPaddleBillingInvoiceUrlError, PutioSdkContext>;
5359
+ addPaddleWaitingPayment: typeof createPaddleWaitingPayment;
5360
+ createCoinbaseCharge: typeof createCoinbaseCharge;
5361
+ createOpenNodeCharge: typeof createOpenNodeCharge;
5362
+ createPaddleBillingUpdatePaymentMethodTransaction: typeof createPaddleBillingUpdatePaymentMethodTransaction;
5363
+ getPaddleBillingInvoiceUrl: typeof getPaddleBillingInvoiceUrl;
5482
5364
  };
5483
- report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
5484
- stopSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
5365
+ report: typeof reportPayments;
5366
+ stopSubscription: typeof stopPaymentSubscription;
5485
5367
  voucher: {
5486
- getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
5487
- redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
5368
+ getInfo: typeof getPaymentVoucherInfo;
5369
+ redeem: typeof redeemPaymentVoucher;
5488
5370
  };
5489
5371
  };
5490
5372
  rss: {
5491
- clearLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError, PutioSdkContext>;
5492
- create: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError, PutioSdkContext>;
5493
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError, PutioSdkContext>;
5494
- get: (id: number) => Effect.Effect<RssFeed, GetRssFeedError, PutioSdkContext>;
5495
- list: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError, PutioSdkContext>;
5496
- listItems: (id: number) => Effect.Effect<{
5497
- readonly feed: RssFeed;
5498
- readonly items: ReadonlyArray<RssFeedItem>;
5499
- }, ListRssFeedItemsError, PutioSdkContext>;
5500
- pause: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError, PutioSdkContext>;
5501
- resume: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError, PutioSdkContext>;
5502
- retryAll: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError, PutioSdkContext>;
5503
- retryItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError, PutioSdkContext>;
5504
- update: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError, PutioSdkContext>;
5373
+ clearLogs: typeof clearRssFeedLogs;
5374
+ create: typeof createRssFeed;
5375
+ delete: typeof deleteRssFeed;
5376
+ get: typeof getRssFeed;
5377
+ list: typeof listRssFeeds;
5378
+ listItems: typeof listRssFeedItems;
5379
+ pause: typeof pauseRssFeed;
5380
+ resume: typeof resumeRssFeed;
5381
+ retryAll: typeof retryAllRssFeedItems;
5382
+ retryItem: typeof retryRssFeedItem;
5383
+ update: typeof updateRssFeed;
5505
5384
  };
5506
5385
  sharing: {
5507
- clone: (input?: SharingCloneInput) => Effect.Effect<{
5508
- readonly id: number;
5509
- }, CreateSharingCloneError, PutioSdkContext>;
5510
- getCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError, PutioSdkContext>;
5511
- getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError, PutioSdkContext>;
5512
- listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError, PutioSdkContext>;
5386
+ clone: typeof cloneSharedFiles;
5387
+ getCloneInfo: typeof getSharingCloneInfo;
5388
+ getSharedWith: typeof getSharedWith;
5389
+ listSharedFiles: typeof listSharedFiles;
5513
5390
  publicAccess: {
5514
- continueFiles: (cursor: string, query?: {
5515
- readonly per_page?: number;
5516
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5517
- readonly breadcrumbs: Schema.optional<Schema.$Array<Schema.Tuple<readonly [Schema.Int, Schema.String]>>>;
5518
- readonly cursor: Schema.NullOr<Schema.String>;
5519
- readonly files: Schema.$Array<Schema.Struct<{
5520
- readonly content_type: Schema.NullOr<Schema.String>;
5521
- readonly created_at: Schema.String;
5522
- readonly crc32: Schema.NullOr<Schema.String>;
5523
- readonly extension: Schema.NullOr<Schema.String>;
5524
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
5525
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
5526
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
5527
- readonly icon: Schema.NullOr<Schema.String>;
5528
- readonly id: Schema.Int;
5529
- readonly is_hidden: Schema.Boolean;
5530
- readonly is_mp4_available: Schema.Boolean;
5531
- readonly is_shared: Schema.Boolean;
5532
- readonly name: Schema.String;
5533
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
5534
- readonly parent_id: Schema.NullOr<Schema.Int>;
5535
- readonly screenshot: Schema.NullOr<Schema.String>;
5536
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
5537
- readonly size: Schema.Number;
5538
- readonly start_from: Schema.optional<Schema.Number>;
5539
- readonly updated_at: Schema.String;
5540
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
5541
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
5542
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
5543
- readonly bit_rate: Schema.optional<Schema.Number>;
5544
- readonly duration: Schema.optional<Schema.Number>;
5545
- readonly name: Schema.optional<Schema.String>;
5546
- }>>>;
5547
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
5548
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
5549
- readonly channels: Schema.optional<Schema.Int>;
5550
- readonly codec_name: Schema.optional<Schema.String>;
5551
- readonly codec_type: Schema.optional<Schema.String>;
5552
- readonly height: Schema.optional<Schema.Int>;
5553
- readonly level: Schema.optional<Schema.Int>;
5554
- readonly profile: Schema.optional<Schema.String>;
5555
- readonly rfc6381_codec: Schema.optional<Schema.String>;
5556
- readonly width: Schema.optional<Schema.Int>;
5557
- }>>>;
5558
- }>>>;
5559
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5560
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5561
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5562
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5563
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5564
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5565
- }>>>;
5566
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
5567
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5568
- readonly need_convert: Schema.optional<Schema.Boolean>;
5569
- readonly sender_name: Schema.optional<Schema.String>;
5570
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
5571
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5572
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5573
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5574
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5575
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5576
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5577
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5578
- }>>>;
5579
- }>>;
5580
- readonly parent: Schema.optional<Schema.NullOr<Schema.Struct<{
5581
- readonly content_type: Schema.NullOr<Schema.String>;
5582
- readonly created_at: Schema.String;
5583
- readonly crc32: Schema.NullOr<Schema.String>;
5584
- readonly extension: Schema.NullOr<Schema.String>;
5585
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
5586
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
5587
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
5588
- readonly icon: Schema.NullOr<Schema.String>;
5589
- readonly id: Schema.Int;
5590
- readonly is_hidden: Schema.Boolean;
5591
- readonly is_mp4_available: Schema.Boolean;
5592
- readonly is_shared: Schema.Boolean;
5593
- readonly name: Schema.String;
5594
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
5595
- readonly parent_id: Schema.NullOr<Schema.Int>;
5596
- readonly screenshot: Schema.NullOr<Schema.String>;
5597
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
5598
- readonly size: Schema.Number;
5599
- readonly start_from: Schema.optional<Schema.Number>;
5600
- readonly updated_at: Schema.String;
5601
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
5602
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
5603
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
5604
- readonly bit_rate: Schema.optional<Schema.Number>;
5605
- readonly duration: Schema.optional<Schema.Number>;
5606
- readonly name: Schema.optional<Schema.String>;
5607
- }>>>;
5608
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
5609
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
5610
- readonly channels: Schema.optional<Schema.Int>;
5611
- readonly codec_name: Schema.optional<Schema.String>;
5612
- readonly codec_type: Schema.optional<Schema.String>;
5613
- readonly height: Schema.optional<Schema.Int>;
5614
- readonly level: Schema.optional<Schema.Int>;
5615
- readonly profile: Schema.optional<Schema.String>;
5616
- readonly rfc6381_codec: Schema.optional<Schema.String>;
5617
- readonly width: Schema.optional<Schema.Int>;
5618
- }>>>;
5619
- }>>>;
5620
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5621
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5622
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5623
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5624
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5625
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5626
- }>>>;
5627
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
5628
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5629
- readonly need_convert: Schema.optional<Schema.Boolean>;
5630
- readonly sender_name: Schema.optional<Schema.String>;
5631
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
5632
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5633
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5634
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5635
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5636
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5637
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5638
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5639
- }>>>;
5640
- }>>>;
5641
- readonly status: Schema.Literal<"OK">;
5642
- readonly total: Schema.optional<Schema.Int>;
5643
- }>>, ContinuePublicShareFilesError, PutioSdkContext>;
5644
- get: () => Effect.Effect<PublicShare, GetPublicShareError, PutioSdkContext>;
5645
- getFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError, PutioSdkContext>;
5646
- listFiles: (query?: PublicShareListQuery) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5647
- readonly breadcrumbs: Schema.optional<Schema.$Array<Schema.Tuple<readonly [Schema.Int, Schema.String]>>>;
5648
- readonly cursor: Schema.NullOr<Schema.String>;
5649
- readonly files: Schema.$Array<Schema.Struct<{
5650
- readonly content_type: Schema.NullOr<Schema.String>;
5651
- readonly created_at: Schema.String;
5652
- readonly crc32: Schema.NullOr<Schema.String>;
5653
- readonly extension: Schema.NullOr<Schema.String>;
5654
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
5655
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
5656
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
5657
- readonly icon: Schema.NullOr<Schema.String>;
5658
- readonly id: Schema.Int;
5659
- readonly is_hidden: Schema.Boolean;
5660
- readonly is_mp4_available: Schema.Boolean;
5661
- readonly is_shared: Schema.Boolean;
5662
- readonly name: Schema.String;
5663
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
5664
- readonly parent_id: Schema.NullOr<Schema.Int>;
5665
- readonly screenshot: Schema.NullOr<Schema.String>;
5666
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
5667
- readonly size: Schema.Number;
5668
- readonly start_from: Schema.optional<Schema.Number>;
5669
- readonly updated_at: Schema.String;
5670
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
5671
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
5672
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
5673
- readonly bit_rate: Schema.optional<Schema.Number>;
5674
- readonly duration: Schema.optional<Schema.Number>;
5675
- readonly name: Schema.optional<Schema.String>;
5676
- }>>>;
5677
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
5678
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
5679
- readonly channels: Schema.optional<Schema.Int>;
5680
- readonly codec_name: Schema.optional<Schema.String>;
5681
- readonly codec_type: Schema.optional<Schema.String>;
5682
- readonly height: Schema.optional<Schema.Int>;
5683
- readonly level: Schema.optional<Schema.Int>;
5684
- readonly profile: Schema.optional<Schema.String>;
5685
- readonly rfc6381_codec: Schema.optional<Schema.String>;
5686
- readonly width: Schema.optional<Schema.Int>;
5687
- }>>>;
5688
- }>>>;
5689
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5690
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5691
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5692
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5693
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5694
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5695
- }>>>;
5696
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
5697
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5698
- readonly need_convert: Schema.optional<Schema.Boolean>;
5699
- readonly sender_name: Schema.optional<Schema.String>;
5700
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
5701
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5702
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5703
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5704
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5705
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5706
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5707
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5708
- }>>>;
5709
- }>>;
5710
- readonly parent: Schema.NullOr<Schema.Struct<{
5711
- readonly content_type: Schema.NullOr<Schema.String>;
5712
- readonly created_at: Schema.String;
5713
- readonly crc32: Schema.NullOr<Schema.String>;
5714
- readonly extension: Schema.NullOr<Schema.String>;
5715
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
5716
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
5717
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
5718
- readonly icon: Schema.NullOr<Schema.String>;
5719
- readonly id: Schema.Int;
5720
- readonly is_hidden: Schema.Boolean;
5721
- readonly is_mp4_available: Schema.Boolean;
5722
- readonly is_shared: Schema.Boolean;
5723
- readonly name: Schema.String;
5724
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
5725
- readonly parent_id: Schema.NullOr<Schema.Int>;
5726
- readonly screenshot: Schema.NullOr<Schema.String>;
5727
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
5728
- readonly size: Schema.Number;
5729
- readonly start_from: Schema.optional<Schema.Number>;
5730
- readonly updated_at: Schema.String;
5731
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
5732
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
5733
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
5734
- readonly bit_rate: Schema.optional<Schema.Number>;
5735
- readonly duration: Schema.optional<Schema.Number>;
5736
- readonly name: Schema.optional<Schema.String>;
5737
- }>>>;
5738
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
5739
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
5740
- readonly channels: Schema.optional<Schema.Int>;
5741
- readonly codec_name: Schema.optional<Schema.String>;
5742
- readonly codec_type: Schema.optional<Schema.String>;
5743
- readonly height: Schema.optional<Schema.Int>;
5744
- readonly level: Schema.optional<Schema.Int>;
5745
- readonly profile: Schema.optional<Schema.String>;
5746
- readonly rfc6381_codec: Schema.optional<Schema.String>;
5747
- readonly width: Schema.optional<Schema.Int>;
5748
- }>>>;
5749
- }>>>;
5750
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5751
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5752
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5753
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5754
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5755
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5756
- }>>>;
5757
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
5758
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5759
- readonly need_convert: Schema.optional<Schema.Boolean>;
5760
- readonly sender_name: Schema.optional<Schema.String>;
5761
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
5762
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
5763
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
5764
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
5765
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
5766
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
5767
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
5768
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
5769
- }>>>;
5770
- }>>;
5771
- readonly status: Schema.Literal<"OK">;
5772
- readonly total: Schema.optional<Schema.Int>;
5773
- }>>, ListPublicShareFilesError, PutioSdkContext>;
5391
+ continueFiles: typeof continuePublicShareFiles;
5392
+ get: typeof getPublicShare;
5393
+ getFileUrl: typeof getPublicShareFileUrl;
5394
+ listFiles: typeof listPublicShareFiles;
5774
5395
  };
5775
5396
  publicShares: {
5776
- create: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError, PutioSdkContext>;
5777
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError, PutioSdkContext>;
5778
- list: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError, PutioSdkContext>;
5397
+ create: typeof createPublicShare;
5398
+ delete: typeof deletePublicShare;
5399
+ list: typeof listPublicShares;
5779
5400
  };
5780
- shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError, PutioSdkContext>;
5781
- unshare: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError, PutioSdkContext>;
5401
+ shareFiles: typeof shareFiles;
5402
+ unshare: typeof unshareFile;
5782
5403
  };
5783
5404
  tunnel: {
5784
- listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
5405
+ listRoutes: typeof listTunnelRoutes;
5785
5406
  };
5786
5407
  trash: {
5787
- continue: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError, PutioSdkContext>;
5788
- delete: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError, PutioSdkContext>;
5789
- empty: () => Effect.Effect<void, EmptyTrashError, PutioSdkContext>;
5790
- list: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError, PutioSdkContext>;
5791
- restore: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError, PutioSdkContext>;
5408
+ continue: typeof continueTrash;
5409
+ delete: typeof deleteTrash;
5410
+ empty: typeof emptyTrash;
5411
+ list: typeof listTrash;
5412
+ restore: typeof restoreTrash;
5792
5413
  };
5793
5414
  transfers: {
5794
- add: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError, PutioSdkContext>;
5795
- addMany: (inputs: ReadonlyArray<TransferAddInput>) => Effect.Effect<{
5796
- readonly errors: ReadonlyArray<TransfersAddMultiError>;
5797
- readonly transfers: ReadonlyArray<Transfer>;
5798
- }, AddManyTransfersError, PutioSdkContext>;
5799
- cancel: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5800
- clean: (ids?: ReadonlyArray<number>) => Effect.Effect<{
5801
- readonly deleted_ids: ReadonlyArray<number>;
5802
- }, PutioSdkError, PutioSdkContext>;
5803
- continue: (cursor: string, query?: {
5804
- readonly per_page?: number;
5805
- }) => Effect.Effect<TransfersContinueResponse, ListTransfersError, PutioSdkContext>;
5806
- count: () => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
5807
- get: (id: number) => Effect.Effect<Transfer, GetTransferError, PutioSdkContext>;
5808
- info: (urls: ReadonlyArray<string>) => Effect.Effect<{
5809
- readonly disk_avail: number;
5810
- readonly ret: ReadonlyArray<TransferInfoItem>;
5811
- }, PutioSdkError, PutioSdkContext>;
5812
- list: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError, PutioSdkContext>;
5813
- reannounce: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError, PutioSdkContext>;
5814
- retry: (id: number) => Effect.Effect<Transfer, RetryTransferError, PutioSdkContext>;
5815
- stopRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError, PutioSdkContext>;
5415
+ add: typeof addTransfer;
5416
+ addMany: typeof addManyTransfers;
5417
+ cancel: typeof cancelTransfers;
5418
+ clean: typeof cleanTransfers;
5419
+ continue: typeof continueTransfers;
5420
+ count: typeof countTransfers;
5421
+ get: typeof getTransfer;
5422
+ info: typeof getTransferInfo;
5423
+ list: typeof listTransfers;
5424
+ reannounce: typeof reannounceTransfer;
5425
+ retry: typeof retryTransfer;
5426
+ stopRecording: typeof stopTransferRecording;
5816
5427
  };
5817
5428
  zips: {
5818
- cancel: (id: number) => Effect.Effect<void, CancelZipError, PutioSdkContext>;
5819
- create: (input: CreateZipInput) => Effect.Effect<number, CreateZipError, PutioSdkContext>;
5820
- get: (id: number) => Effect.Effect<ZipInfo, GetZipError, PutioSdkContext>;
5821
- list: () => Effect.Effect<ReadonlyArray<ZipSummary>, ListZipsError, PutioSdkContext>;
5429
+ cancel: typeof cancelZip;
5430
+ create: typeof createZip;
5431
+ get: typeof getZip;
5432
+ list: typeof listZips;
5822
5433
  };
5823
5434
  };
5824
5435
  type PutioSdkEffectClient = ReturnType<typeof createPutioSdkEffectClient>;
5825
5436
  declare const PutioSdk_base: Context.ServiceClass<PutioSdk, "PutioSdk", {
5826
5437
  account: {
5827
- clear: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5828
- destroy: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5438
+ clear: typeof clearAccount;
5439
+ destroy: typeof destroyAccount;
5829
5440
  getInfo: typeof getAccountInfo;
5830
- getSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
5831
- listConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext>;
5832
- saveSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
5441
+ getSettings: typeof getAccountSettings;
5442
+ listSubtitleLanguages: typeof listAccountSubtitleLanguages;
5443
+ listConfirmations: typeof listAccountConfirmations;
5444
+ saveSettings: typeof saveAccountSettings;
5833
5445
  };
5834
5446
  auth: {
5835
- buildLoginUrl: (options: {
5836
- readonly clientId: string | number;
5837
- readonly redirectUri: string;
5838
- readonly responseType?: string;
5839
- readonly state: string;
5840
- readonly clientName?: string;
5841
- readonly webAppUrl?: string | URL;
5842
- }) => string;
5843
- checkCodeMatch: (code: string) => Effect.Effect<string | null, PutioSdkError, PutioSdkContext>;
5844
- clients: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSessionSchema>>, ClientsError, PutioSdkContext>;
5845
- exists: (key: "mail" | "username", value: string) => Effect.Effect<boolean, PutioSdkError, PutioSdkContext>;
5846
- forgotPassword: (mail: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ForgotPasswordError, PutioSdkContext>;
5847
- getCode: (input: {
5848
- readonly appId: number | string;
5849
- readonly clientName?: string;
5850
- }) => Effect.Effect<Schema.Schema.Type<typeof AuthorizationCodeSchema>, PutioSdkError, PutioSdkContext>;
5851
- getFamilyInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5852
- readonly invite: Schema.Struct<{
5853
- readonly owner: Schema.String;
5854
- readonly plan: Schema.String;
5855
- }>;
5856
- readonly status: Schema.Literal<"OK">;
5857
- }>>["invite"], FamilyInviteLookupError, PutioSdkContext>;
5858
- getFriendInvite: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5859
- readonly invite: Schema.Struct<{
5860
- readonly inviter: Schema.String;
5861
- readonly plan: Schema.Struct<{
5862
- readonly code: Schema.String;
5863
- readonly name: Schema.String;
5864
- readonly period: Schema.Int;
5865
- }>;
5866
- }>;
5867
- readonly status: Schema.Literal<"OK">;
5868
- }>>["invite"], FriendInviteLookupError, PutioSdkContext>;
5869
- getGiftCard: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5870
- readonly gift_card: Schema.Struct<{
5871
- readonly days: Schema.Int;
5872
- readonly plan: Schema.Boolean;
5873
- }>;
5874
- readonly status: Schema.Literal<"OK">;
5875
- }>>["gift_card"], GiftCardLookupError, PutioSdkContext>;
5876
- getVoucher: (code: string) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5877
- readonly status: Schema.Literal<"OK">;
5878
- readonly voucher: Schema.Struct<{
5879
- readonly days: Schema.Int;
5880
- readonly owner: Schema.NullOr<Schema.String>;
5881
- }>;
5882
- }>>["voucher"], VoucherLookupError, PutioSdkContext>;
5883
- grants: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof OAuthAppSchema>>, GrantsError, PutioSdkContext>;
5884
- linkDevice: (code: string) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppSchema>, LinkDeviceError, PutioSdkContext>;
5885
- login: (input: LoginInput) => Effect.Effect<LoginResponse, LoginError, PutioSdkContext>;
5886
- logout: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5887
- register: (input: RegisterInput) => Effect.Effect<{
5888
- readonly access_token: string;
5889
- }, RegisterError, PutioSdkContext>;
5890
- resetPassword: (key: string, password: string) => Effect.Effect<{
5891
- readonly access_token: string;
5892
- }, ResetPasswordError, PutioSdkContext>;
5893
- revokeAllClients: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeAllOAuthClientsError, PutioSdkContext>;
5894
- revokeApp: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthGrantError, PutioSdkContext>;
5895
- revokeClient: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RevokeOAuthClientError, PutioSdkContext>;
5447
+ buildLoginUrl: typeof buildAuthLoginUrl;
5448
+ checkCodeMatch: typeof checkCodeMatch;
5449
+ clients: typeof clients;
5450
+ exists: typeof exists;
5451
+ forgotPassword: typeof forgotPassword;
5452
+ getCode: typeof getCode;
5453
+ getFamilyInvite: typeof getFamilyInvite;
5454
+ getFriendInvite: typeof getFriendInvite;
5455
+ getGiftCard: typeof getGiftCard;
5456
+ getVoucher: typeof getVoucher;
5457
+ grants: typeof grants;
5458
+ linkDevice: typeof linkDevice;
5459
+ login: typeof login;
5460
+ logout: typeof logout;
5461
+ register: typeof register;
5462
+ resetPassword: typeof resetPassword;
5463
+ revokeAllClients: typeof revokeAllClients;
5464
+ revokeApp: typeof revokeApp;
5465
+ revokeClient: typeof revokeClient;
5896
5466
  twoFactor: {
5897
- generateTOTP: () => Effect.Effect<GenerateTOTPResponse, GenerateTOTPError, PutioSdkContext>;
5898
- getRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RecoveryCodesError, PutioSdkContext>;
5899
- regenerateRecoveryCodes: () => Effect.Effect<TwoFactorRecoveryCodes, RegenerateRecoveryCodesError, PutioSdkContext>;
5900
- verifyTOTP: (twoFactorScopedToken: string, code: string) => Effect.Effect<VerifyTOTPResponse, VerifyTOTPError, PutioSdkContext>;
5467
+ generateTOTP: typeof generateTOTP;
5468
+ getRecoveryCodes: typeof getRecoveryCodes;
5469
+ regenerateRecoveryCodes: typeof regenerateRecoveryCodes;
5470
+ verifyTOTP: typeof verifyTOTP;
5901
5471
  };
5902
- validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
5472
+ validateToken: typeof validateToken;
5903
5473
  };
5904
5474
  config: {
5905
- deleteKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5906
- getKey: (key: string) => Effect.Effect<PutioJsonValue, PutioSdkError, PutioSdkContext>;
5907
- getKeyWith: <A>(key: string, schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5908
- read: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
5909
- readWith: <A>(schema: Schema.Decoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5910
- setKey: (key: string, value: PutioJsonValue) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5911
- write: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
5475
+ deleteKey: typeof deleteConfigKey;
5476
+ getKey: typeof getConfigKey;
5477
+ getKeyWith: typeof getConfigKeyWith;
5478
+ read: typeof readConfig;
5479
+ readWith: typeof readConfigWith;
5480
+ setKey: typeof setConfigKey;
5481
+ write: typeof writeConfig;
5912
5482
  };
5913
5483
  downloadLinks: {
5914
- create: (input?: DownloadLinksCreateInput) => Effect.Effect<{
5915
- readonly id: number;
5916
- }, CreateDownloadLinksError, PutioSdkContext>;
5917
- get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
5484
+ create: typeof createDownloadLinks;
5485
+ get: typeof getDownloadLinks;
5918
5486
  };
5919
5487
  events: {
5920
- clear: () => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearEventsError, PutioSdkContext>;
5921
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteEventError, PutioSdkContext>;
5922
- getTorrent: (id: number) => Effect.Effect<Uint8Array, GetEventTorrentError, PutioSdkContext>;
5923
- list: (query?: EventsListQuery) => Effect.Effect<EventsListResponse, ListEventsError, PutioSdkContext>;
5488
+ clear: typeof clearEvents;
5489
+ delete: typeof deleteEvent;
5490
+ getTorrent: typeof getEventTorrent;
5491
+ list: typeof listEvents;
5924
5492
  };
5925
5493
  family: {
5926
- createInvite: () => Effect.Effect<{
5927
- readonly code: string;
5928
- }, CreateFamilyInviteError, PutioSdkContext>;
5929
- join: (inviteCode: string) => Effect.Effect<void, JoinFamilyError, PutioSdkContext>;
5930
- listInvites: () => Effect.Effect<FamilyInvitesResponse, ListFamilyInvitesError, PutioSdkContext>;
5931
- listMembers: () => Effect.Effect<ReadonlyArray<FamilyMember>, ListFamilyMembersError, PutioSdkContext>;
5932
- removeMember: (username: string) => Effect.Effect<void, RemoveFamilyMemberError, PutioSdkContext>;
5494
+ createInvite: typeof createFamilyInvite;
5495
+ join: typeof joinFamily;
5496
+ listInvites: typeof listFamilyInvites;
5497
+ listMembers: typeof listFamilyMembers;
5498
+ removeMember: typeof removeFamilyMember;
5933
5499
  };
5934
5500
  ifttt: {
5935
- getStatus: () => Effect.Effect<{
5936
- readonly enabled: boolean;
5937
- }, GetIftttStatusError, PutioSdkContext>;
5938
- sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
5501
+ getStatus: typeof getIftttStatus;
5502
+ sendEvent: typeof sendIftttEvent;
5939
5503
  };
5940
5504
  files: {
5941
- continue: (cursor: string, query?: {
5942
- readonly per_page?: number;
5943
- }) => Effect.Effect<FileListContinuationResponse, ContinueFilesError, PutioSdkContext>;
5944
- continueSearch: (cursor: string, query?: {
5945
- readonly per_page?: number;
5946
- }) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
5947
- convertToMp4: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
5948
- convertManyToMp4: (ids: ReadonlyArray<number>) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
5949
- convertSelectionToMp4: (selection: FilesBulkSelection) => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
5950
- createUploadRequest: (input: FileUploadInput, options?: {
5951
- readonly oauthToken?: string;
5952
- }) => Effect.Effect<FileUploadRequestDescriptor, PutioSdkError, PutioSdkConfig>;
5953
- createFolder: (input: FileCreateFolderInput) => Effect.Effect<FileBroad, CreateFolderError, PutioSdkContext>;
5954
- deleteExtraction: (extractionId: number) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
5955
- deleteMp4: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
5956
- deleteSelection: (selection: FilesBulkSelection, options?: {
5957
- readonly partialDelete?: boolean;
5958
- readonly skipTrash?: boolean;
5959
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5960
- readonly cursor: Schema.NullOr<Schema.String>;
5961
- readonly skipped: Schema.Int;
5962
- readonly status: Schema.Literal<"OK">;
5963
- }>>, PutioSdkError, PutioSdkContext>;
5964
- delete: (ids: ReadonlyArray<number>, options?: {
5965
- readonly ignoreFileOwner?: boolean;
5966
- readonly partialDelete?: boolean;
5967
- readonly skipTrash?: boolean;
5968
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5969
- readonly cursor: Schema.NullOr<Schema.String>;
5970
- readonly skipped: Schema.Int;
5971
- readonly status: Schema.Literal<"OK">;
5972
- }>>, PutioSdkError, PutioSdkContext>;
5973
- extract: (selection: FilesBulkSelection & {
5974
- readonly password?: string;
5975
- }) => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
5976
- findNext: (fileId: number, fileType: FileType) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5977
- readonly id: Schema.Int;
5978
- readonly name: Schema.String;
5979
- readonly parent_id: Schema.NullOr<Schema.Int>;
5980
- }>>, PutioSdkError, PutioSdkContext>;
5981
- findNextVideo: (fileId: number) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
5982
- readonly id: Schema.Int;
5983
- readonly name: Schema.String;
5984
- readonly parent_id: Schema.NullOr<Schema.Int>;
5985
- }>>, PutioSdkError, PutioSdkContext>;
5986
- getApiContentUrl: (fileId: number, options?: FileDirectAccessOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5987
- getApiDownloadUrl: (fileId: number, options?: FileApiDownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5988
- getApiMp4DownloadUrl: (fileId: number, options?: FileApiMp4DownloadUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5505
+ continue: typeof continueFiles;
5506
+ continueSearch: typeof continueSearch;
5507
+ convertToMp4: typeof convertFileToMp4;
5508
+ convertManyToMp4: typeof convertFilesToMp4;
5509
+ convertSelectionToMp4: typeof convertFileSelectionToMp4;
5510
+ createUploadRequest: typeof createFileUploadRequest;
5511
+ createFolder: typeof createFolder;
5512
+ deleteExtraction: typeof deleteFileExtraction;
5513
+ deleteMp4: typeof deleteFileMp4;
5514
+ deleteSelection: typeof deleteFileSelection;
5515
+ delete: typeof deleteFiles;
5516
+ extract: typeof extractFiles;
5517
+ findNext: typeof findNextFile;
5518
+ findNextVideo: typeof findNextVideo;
5519
+ getApiContentUrl: typeof getApiContentUrl;
5520
+ getApiDownloadUrl: typeof getApiDownloadUrl;
5521
+ getApiMp4DownloadUrl: typeof getApiMp4DownloadUrl;
5989
5522
  get: typeof getFile;
5990
- getDownloadUrl: (fileId: number) => Effect.Effect<string, DownloadUrlError, PutioSdkContext>;
5991
- getHlsStreamUrl: (fileId: number, options?: FileHlsStreamUrlOptions) => Effect.Effect<string, PutioSdkError, PutioSdkConfig>;
5992
- getMp4Status: (fileId: number) => Effect.Effect<FileConversionStatus, FileMp4Error, PutioSdkContext>;
5993
- getStartFrom: (fileId: number) => Effect.Effect<number, StartFromError, PutioSdkContext>;
5994
- list: (parent: number | "friends", query?: FilesListQuery) => Effect.Effect<FileListResponse, QueryFilesError, PutioSdkContext>;
5995
- listActiveConversions: () => Effect.Effect<ReadonlyArray<FileActiveConversion>, FileActiveConversionsError, PutioSdkContext>;
5996
- listExtractions: () => Effect.Effect<ReadonlyArray<FileExtraction>, FileExtractionsError, PutioSdkContext>;
5997
- listSubtitles: (fileId: number, options?: {
5998
- readonly languages?: ReadonlyArray<string>;
5999
- }) => Effect.Effect<{
6000
- readonly default: string | null;
6001
- readonly subtitles: ReadonlyArray<FileSubtitle>;
6002
- }, FileSubtitlesError, PutioSdkContext>;
6003
- move: (ids: ReadonlyArray<number>, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
6004
- moveSelection: (selection: FilesBulkSelection, parentId: number) => Effect.Effect<ReadonlyArray<FilesMoveError>, PutioSdkError, PutioSdkContext>;
6005
- putMp4ToMyFiles: (fileId: number) => Effect.Effect<void, FileMp4MutationError, PutioSdkContext>;
6006
- rename: (input: FileRenameInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RenameFileError, PutioSdkContext>;
6007
- resetStartFrom: (fileId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
6008
- search: (query: FilesSearchQuery) => Effect.Effect<FileSearchResponse, SearchFilesError, PutioSdkContext>;
6009
- setWatchStatus: (selection: FilesBulkSelection & {
6010
- readonly watched: boolean;
6011
- }) => Effect.Effect<void, FileWatchStatusError, PutioSdkContext>;
6012
- setStartFrom: (input: FileStartFromSetInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StartFromError, PutioSdkContext>;
6013
- upload: (input: FileUploadInput, options?: {
6014
- readonly oauthToken?: string;
6015
- }) => Effect.Effect<FileUploadResult, FileUploadError | PutioValidationError, PutioSdkContext>;
5523
+ getDownloadUrl: typeof getDownloadUrl;
5524
+ getHlsStreamUrl: typeof getHlsStreamUrl;
5525
+ getMp4Status: typeof getMp4Status;
5526
+ getStartFrom: typeof getStartFrom;
5527
+ list: typeof queryFiles;
5528
+ listActiveConversions: typeof listActiveMp4Conversions;
5529
+ listExtractions: typeof listFileExtractions;
5530
+ listSubtitles: typeof listFileSubtitles;
5531
+ move: typeof moveFiles;
5532
+ moveSelection: typeof moveFileSelection;
5533
+ putMp4ToMyFiles: typeof putMp4ToMyFiles;
5534
+ rename: typeof renameFile;
5535
+ resetStartFrom: typeof resetStartFrom;
5536
+ search: typeof searchFiles;
5537
+ setWatchStatus: typeof setFilesWatchStatus;
5538
+ setStartFrom: typeof setStartFrom;
5539
+ upload: typeof uploadFile;
6016
5540
  };
6017
5541
  friendInvites: {
6018
- create: () => Effect.Effect<{
6019
- readonly code: string;
6020
- }, CreateFriendInviteError, PutioSdkContext>;
6021
- list: () => Effect.Effect<{
6022
- readonly invites: ReadonlyArray<FriendInvite>;
6023
- readonly remaining_limit: number;
6024
- }, ListFriendInvitesError, PutioSdkContext>;
5542
+ create: typeof createFriendInvite;
5543
+ list: typeof listFriendInvites;
6025
5544
  };
6026
5545
  friends: {
6027
- approve: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ApproveFriendRequestError, PutioSdkContext>;
6028
- countWaitingRequests: () => Effect.Effect<number, CountWaitingRequestsError, PutioSdkContext>;
6029
- deny: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DenyFriendRequestError, PutioSdkContext>;
6030
- list: () => Effect.Effect<{
6031
- readonly friends: ReadonlyArray<Friend>;
6032
- readonly total: number;
6033
- }, ListFriendsError, PutioSdkContext>;
6034
- listSentRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListSentRequestsError, PutioSdkContext>;
6035
- listWaitingRequests: () => Effect.Effect<ReadonlyArray<FriendBase>, ListWaitingRequestsError, PutioSdkContext>;
6036
- remove: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RemoveFriendError, PutioSdkContext>;
6037
- search: (username: string) => Effect.Effect<ReadonlyArray<UserSearchResult>, SearchFriendsError, PutioSdkContext>;
6038
- sendRequest: (username: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SendFriendRequestError, PutioSdkContext>;
6039
- sharedFolder: (username: string) => Effect.Effect<FileBroad | null, FriendSharedFolderError, PutioSdkContext>;
5546
+ approve: typeof approveFriendRequest;
5547
+ countWaitingRequests: typeof countWaitingRequests;
5548
+ deny: typeof denyFriendRequest;
5549
+ list: typeof listFriends;
5550
+ listSentRequests: typeof listSentRequests;
5551
+ listWaitingRequests: typeof listWaitingRequests;
5552
+ remove: typeof removeFriend;
5553
+ search: typeof searchFriends;
5554
+ sendRequest: typeof sendFriendRequest;
5555
+ sharedFolder: typeof getFriendSharedFolder;
6040
5556
  };
6041
5557
  oauth: {
6042
- buildAuthorizeUrl: (options: {
6043
- readonly baseUrl?: string | URL;
6044
- readonly oauthToken: string;
6045
- readonly query?: Readonly<Record<string, PutioQueryValue>>;
6046
- }) => string;
6047
- buildIconUrl: (options: {
6048
- readonly baseUrl?: string | URL;
6049
- readonly id: number;
6050
- readonly oauthToken: string;
6051
- }) => string;
6052
- create: (input: OAuthAppCreateInput) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
6053
- readonly app: Schema.Union<readonly [Schema.Struct<{
6054
- readonly description: Schema.String;
6055
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6056
- readonly id: Schema.Int;
6057
- readonly name: Schema.String;
6058
- readonly website: Schema.String;
6059
- readonly callback: Schema.String;
6060
- readonly hidden: Schema.Boolean;
6061
- readonly secret: Schema.String;
6062
- }>, Schema.Struct<{
6063
- readonly description: Schema.String;
6064
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6065
- readonly id: Schema.Int;
6066
- readonly name: Schema.String;
6067
- readonly website: Schema.String;
6068
- }>]>;
6069
- readonly status: Schema.Literal<"OK">;
6070
- }>>, CreateOAuthAppError, PutioSdkContext>;
6071
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteOAuthAppError, PutioSdkContext>;
6072
- get: (id: number, options?: {
6073
- readonly edit?: boolean;
6074
- }) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, GetOAuthAppError, PutioSdkContext>;
6075
- getPopularApps: () => Effect.Effect<ReadonlyArray<PopularOAuthApp>, PutioSdkError, PutioSdkContext>;
6076
- query: () => Effect.Effect<ReadonlyArray<MyOAuthApp>, QueryOAuthAppsError, PutioSdkContext>;
6077
- regenerateToken: (id: number) => Effect.Effect<string, RegenerateOAuthAppTokenError, PutioSdkContext>;
6078
- setIcon: (id: number, input: OAuthSetIconInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
6079
- update: (input: OAuthAppUpdateInput) => Effect.Effect<Schema.Schema.Type<typeof OAuthAppWithTokenSchema>, UpdateOAuthAppError, PutioSdkContext>;
5558
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
5559
+ buildIconUrl: typeof buildOAuthAppIconUrl;
5560
+ create: typeof createOAuthApp;
5561
+ delete: typeof deleteOAuthApp;
5562
+ get: typeof getOAuthApp;
5563
+ getPopularApps: typeof getPopularOAuthApps;
5564
+ query: typeof queryOAuthApps;
5565
+ regenerateToken: typeof regenerateOAuthAppToken;
5566
+ setIcon: typeof setOAuthAppIcon;
5567
+ update: typeof updateOAuthApp;
6080
5568
  };
6081
5569
  payment: {
6082
5570
  changePlan: {
6083
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
6084
- preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
6085
- submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
5571
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
5572
+ preview: typeof previewPaymentChangePlan;
5573
+ submit: typeof submitPaymentChangePlan;
6086
5574
  };
6087
- confirmFastspringOrder: (reference: string) => Effect.Effect<boolean, ConfirmFastspringOrderError, PutioSdkContext>;
6088
- getInfo: () => Effect.Effect<PaymentInfo, GetPaymentInfoError, PutioSdkContext>;
6089
- listHistory: (query?: PaymentHistoryQuery) => Effect.Effect<ReadonlyArray<PaymentHistoryItem>, ListPaymentHistoryError, PutioSdkContext>;
6090
- listInvites: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentInviteSchema>>, ListPaymentInvitesError, PutioSdkContext>;
6091
- listOptions: () => Effect.Effect<ReadonlyArray<Schema.Schema.Type<typeof PaymentOptionSchema>>, ListPaymentOptionsError, PutioSdkContext>;
6092
- listPlans: () => Effect.Effect<ReadonlyArray<PaymentPlanGroup>, ListPaymentPlansError, PutioSdkContext>;
5575
+ confirmFastspringOrder: typeof confirmFastspringOrder;
5576
+ getInfo: typeof getPaymentInfo;
5577
+ listHistory: typeof listPaymentHistory;
5578
+ listInvites: typeof listPaymentInvites;
5579
+ listOptions: typeof listPaymentOptions;
5580
+ listPlans: typeof listPaymentPlans;
6093
5581
  methods: {
6094
- addPaddleWaitingPayment: (input: PaymentPaddleWaitingPaymentInput) => Effect.Effect<void, CreatePaddleWaitingPaymentError, PutioSdkContext>;
6095
- createCoinbaseCharge: (planPath: string) => Effect.Effect<string, CreateCoinbaseChargeError, PutioSdkContext>;
6096
- createOpenNodeCharge: (planPath: string) => Effect.Effect<string, CreateOpenNodeChargeError, PutioSdkContext>;
6097
- createPaddleBillingUpdatePaymentMethodTransaction: (userSubscriptionId: number) => Effect.Effect<string, CreatePaddleBillingUpdatePaymentMethodTransactionError, PutioSdkContext>;
6098
- getPaddleBillingInvoiceUrl: (paymentId: number) => Effect.Effect<string, GetPaddleBillingInvoiceUrlError, PutioSdkContext>;
5582
+ addPaddleWaitingPayment: typeof createPaddleWaitingPayment;
5583
+ createCoinbaseCharge: typeof createCoinbaseCharge;
5584
+ createOpenNodeCharge: typeof createOpenNodeCharge;
5585
+ createPaddleBillingUpdatePaymentMethodTransaction: typeof createPaddleBillingUpdatePaymentMethodTransaction;
5586
+ getPaddleBillingInvoiceUrl: typeof getPaddleBillingInvoiceUrl;
6099
5587
  };
6100
- report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
6101
- stopSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
5588
+ report: typeof reportPayments;
5589
+ stopSubscription: typeof stopPaymentSubscription;
6102
5590
  voucher: {
6103
- getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
6104
- redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
5591
+ getInfo: typeof getPaymentVoucherInfo;
5592
+ redeem: typeof redeemPaymentVoucher;
6105
5593
  };
6106
5594
  };
6107
5595
  rss: {
6108
- clearLogs: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ClearRssFeedLogsError, PutioSdkContext>;
6109
- create: (params: RssFeedParams) => Effect.Effect<RssFeed, CreateRssFeedError, PutioSdkContext>;
6110
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeleteRssFeedError, PutioSdkContext>;
6111
- get: (id: number) => Effect.Effect<RssFeed, GetRssFeedError, PutioSdkContext>;
6112
- list: () => Effect.Effect<ReadonlyArray<RssFeed>, ListRssFeedsError, PutioSdkContext>;
6113
- listItems: (id: number) => Effect.Effect<{
6114
- readonly feed: RssFeed;
6115
- readonly items: ReadonlyArray<RssFeedItem>;
6116
- }, ListRssFeedItemsError, PutioSdkContext>;
6117
- pause: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PauseRssFeedError, PutioSdkContext>;
6118
- resume: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ResumeRssFeedError, PutioSdkContext>;
6119
- retryAll: (feedId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryAllRssFeedItemsError, PutioSdkContext>;
6120
- retryItem: (feedId: number, itemId: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, RetryRssFeedItemError, PutioSdkContext>;
6121
- update: (id: number, params: RssFeedParams) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UpdateRssFeedError, PutioSdkContext>;
5596
+ clearLogs: typeof clearRssFeedLogs;
5597
+ create: typeof createRssFeed;
5598
+ delete: typeof deleteRssFeed;
5599
+ get: typeof getRssFeed;
5600
+ list: typeof listRssFeeds;
5601
+ listItems: typeof listRssFeedItems;
5602
+ pause: typeof pauseRssFeed;
5603
+ resume: typeof resumeRssFeed;
5604
+ retryAll: typeof retryAllRssFeedItems;
5605
+ retryItem: typeof retryRssFeedItem;
5606
+ update: typeof updateRssFeed;
6122
5607
  };
6123
5608
  sharing: {
6124
- clone: (input?: SharingCloneInput) => Effect.Effect<{
6125
- readonly id: number;
6126
- }, CreateSharingCloneError, PutioSdkContext>;
6127
- getCloneInfo: (id: number) => Effect.Effect<SharingCloneInfo, GetSharingCloneInfoError, PutioSdkContext>;
6128
- getSharedWith: (fileId: number) => Effect.Effect<SharedFileSharedWith, GetSharedWithError, PutioSdkContext>;
6129
- listSharedFiles: () => Effect.Effect<ReadonlyArray<SharedFile>, ListSharedFilesError, PutioSdkContext>;
5609
+ clone: typeof cloneSharedFiles;
5610
+ getCloneInfo: typeof getSharingCloneInfo;
5611
+ getSharedWith: typeof getSharedWith;
5612
+ listSharedFiles: typeof listSharedFiles;
6130
5613
  publicAccess: {
6131
- continueFiles: (cursor: string, query?: {
6132
- readonly per_page?: number;
6133
- }) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
6134
- readonly breadcrumbs: Schema.optional<Schema.$Array<Schema.Tuple<readonly [Schema.Int, Schema.String]>>>;
6135
- readonly cursor: Schema.NullOr<Schema.String>;
6136
- readonly files: Schema.$Array<Schema.Struct<{
6137
- readonly content_type: Schema.NullOr<Schema.String>;
6138
- readonly created_at: Schema.String;
6139
- readonly crc32: Schema.NullOr<Schema.String>;
6140
- readonly extension: Schema.NullOr<Schema.String>;
6141
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
6142
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
6143
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
6144
- readonly icon: Schema.NullOr<Schema.String>;
6145
- readonly id: Schema.Int;
6146
- readonly is_hidden: Schema.Boolean;
6147
- readonly is_mp4_available: Schema.Boolean;
6148
- readonly is_shared: Schema.Boolean;
6149
- readonly name: Schema.String;
6150
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
6151
- readonly parent_id: Schema.NullOr<Schema.Int>;
6152
- readonly screenshot: Schema.NullOr<Schema.String>;
6153
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
6154
- readonly size: Schema.Number;
6155
- readonly start_from: Schema.optional<Schema.Number>;
6156
- readonly updated_at: Schema.String;
6157
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
6158
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
6159
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
6160
- readonly bit_rate: Schema.optional<Schema.Number>;
6161
- readonly duration: Schema.optional<Schema.Number>;
6162
- readonly name: Schema.optional<Schema.String>;
6163
- }>>>;
6164
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
6165
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
6166
- readonly channels: Schema.optional<Schema.Int>;
6167
- readonly codec_name: Schema.optional<Schema.String>;
6168
- readonly codec_type: Schema.optional<Schema.String>;
6169
- readonly height: Schema.optional<Schema.Int>;
6170
- readonly level: Schema.optional<Schema.Int>;
6171
- readonly profile: Schema.optional<Schema.String>;
6172
- readonly rfc6381_codec: Schema.optional<Schema.String>;
6173
- readonly width: Schema.optional<Schema.Int>;
6174
- }>>>;
6175
- }>>>;
6176
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6177
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6178
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6179
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6180
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6181
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6182
- }>>>;
6183
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
6184
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6185
- readonly need_convert: Schema.optional<Schema.Boolean>;
6186
- readonly sender_name: Schema.optional<Schema.String>;
6187
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
6188
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6189
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6190
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6191
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6192
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6193
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6194
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6195
- }>>>;
6196
- }>>;
6197
- readonly parent: Schema.optional<Schema.NullOr<Schema.Struct<{
6198
- readonly content_type: Schema.NullOr<Schema.String>;
6199
- readonly created_at: Schema.String;
6200
- readonly crc32: Schema.NullOr<Schema.String>;
6201
- readonly extension: Schema.NullOr<Schema.String>;
6202
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
6203
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
6204
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
6205
- readonly icon: Schema.NullOr<Schema.String>;
6206
- readonly id: Schema.Int;
6207
- readonly is_hidden: Schema.Boolean;
6208
- readonly is_mp4_available: Schema.Boolean;
6209
- readonly is_shared: Schema.Boolean;
6210
- readonly name: Schema.String;
6211
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
6212
- readonly parent_id: Schema.NullOr<Schema.Int>;
6213
- readonly screenshot: Schema.NullOr<Schema.String>;
6214
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
6215
- readonly size: Schema.Number;
6216
- readonly start_from: Schema.optional<Schema.Number>;
6217
- readonly updated_at: Schema.String;
6218
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
6219
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
6220
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
6221
- readonly bit_rate: Schema.optional<Schema.Number>;
6222
- readonly duration: Schema.optional<Schema.Number>;
6223
- readonly name: Schema.optional<Schema.String>;
6224
- }>>>;
6225
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
6226
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
6227
- readonly channels: Schema.optional<Schema.Int>;
6228
- readonly codec_name: Schema.optional<Schema.String>;
6229
- readonly codec_type: Schema.optional<Schema.String>;
6230
- readonly height: Schema.optional<Schema.Int>;
6231
- readonly level: Schema.optional<Schema.Int>;
6232
- readonly profile: Schema.optional<Schema.String>;
6233
- readonly rfc6381_codec: Schema.optional<Schema.String>;
6234
- readonly width: Schema.optional<Schema.Int>;
6235
- }>>>;
6236
- }>>>;
6237
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6238
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6239
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6240
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6241
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6242
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6243
- }>>>;
6244
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
6245
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6246
- readonly need_convert: Schema.optional<Schema.Boolean>;
6247
- readonly sender_name: Schema.optional<Schema.String>;
6248
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
6249
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6250
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6251
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6252
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6253
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6254
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6255
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6256
- }>>>;
6257
- }>>>;
6258
- readonly status: Schema.Literal<"OK">;
6259
- readonly total: Schema.optional<Schema.Int>;
6260
- }>>, ContinuePublicShareFilesError, PutioSdkContext>;
6261
- get: () => Effect.Effect<PublicShare, GetPublicShareError, PutioSdkContext>;
6262
- getFileUrl: (fileId: number) => Effect.Effect<string, GetPublicShareFileUrlError, PutioSdkContext>;
6263
- listFiles: (query?: PublicShareListQuery) => Effect.Effect<Schema.Schema.Type<Schema.Struct<{
6264
- readonly breadcrumbs: Schema.optional<Schema.$Array<Schema.Tuple<readonly [Schema.Int, Schema.String]>>>;
6265
- readonly cursor: Schema.NullOr<Schema.String>;
6266
- readonly files: Schema.$Array<Schema.Struct<{
6267
- readonly content_type: Schema.NullOr<Schema.String>;
6268
- readonly created_at: Schema.String;
6269
- readonly crc32: Schema.NullOr<Schema.String>;
6270
- readonly extension: Schema.NullOr<Schema.String>;
6271
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
6272
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
6273
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
6274
- readonly icon: Schema.NullOr<Schema.String>;
6275
- readonly id: Schema.Int;
6276
- readonly is_hidden: Schema.Boolean;
6277
- readonly is_mp4_available: Schema.Boolean;
6278
- readonly is_shared: Schema.Boolean;
6279
- readonly name: Schema.String;
6280
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
6281
- readonly parent_id: Schema.NullOr<Schema.Int>;
6282
- readonly screenshot: Schema.NullOr<Schema.String>;
6283
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
6284
- readonly size: Schema.Number;
6285
- readonly start_from: Schema.optional<Schema.Number>;
6286
- readonly updated_at: Schema.String;
6287
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
6288
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
6289
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
6290
- readonly bit_rate: Schema.optional<Schema.Number>;
6291
- readonly duration: Schema.optional<Schema.Number>;
6292
- readonly name: Schema.optional<Schema.String>;
6293
- }>>>;
6294
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
6295
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
6296
- readonly channels: Schema.optional<Schema.Int>;
6297
- readonly codec_name: Schema.optional<Schema.String>;
6298
- readonly codec_type: Schema.optional<Schema.String>;
6299
- readonly height: Schema.optional<Schema.Int>;
6300
- readonly level: Schema.optional<Schema.Int>;
6301
- readonly profile: Schema.optional<Schema.String>;
6302
- readonly rfc6381_codec: Schema.optional<Schema.String>;
6303
- readonly width: Schema.optional<Schema.Int>;
6304
- }>>>;
6305
- }>>>;
6306
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6307
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6308
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6309
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6310
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6311
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6312
- }>>>;
6313
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
6314
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6315
- readonly need_convert: Schema.optional<Schema.Boolean>;
6316
- readonly sender_name: Schema.optional<Schema.String>;
6317
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
6318
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6319
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6320
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6321
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6322
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6323
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6324
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6325
- }>>>;
6326
- }>>;
6327
- readonly parent: Schema.NullOr<Schema.Struct<{
6328
- readonly content_type: Schema.NullOr<Schema.String>;
6329
- readonly created_at: Schema.String;
6330
- readonly crc32: Schema.NullOr<Schema.String>;
6331
- readonly extension: Schema.NullOr<Schema.String>;
6332
- readonly file_type: Schema.Literals<readonly ["FOLDER", "FILE", "AUDIO", "VIDEO", "IMAGE", "ARCHIVE", "PDF", "TEXT", "SWF"]>;
6333
- readonly first_accessed_at: Schema.NullOr<Schema.String>;
6334
- readonly folder_type: Schema.Literals<readonly ["REGULAR", "SHARED_ROOT", "SHARED_FRIEND"]>;
6335
- readonly icon: Schema.NullOr<Schema.String>;
6336
- readonly id: Schema.Int;
6337
- readonly is_hidden: Schema.Boolean;
6338
- readonly is_mp4_available: Schema.Boolean;
6339
- readonly is_shared: Schema.Boolean;
6340
- readonly name: Schema.String;
6341
- readonly opensubtitles_hash: Schema.NullOr<Schema.String>;
6342
- readonly parent_id: Schema.NullOr<Schema.Int>;
6343
- readonly screenshot: Schema.NullOr<Schema.String>;
6344
- readonly sha1: Schema.optional<Schema.NullOr<Schema.String>>;
6345
- readonly size: Schema.Number;
6346
- readonly start_from: Schema.optional<Schema.Number>;
6347
- readonly updated_at: Schema.String;
6348
- readonly content_type_and_codecs: Schema.optional<Schema.NullOr<Schema.String>>;
6349
- readonly media_info: Schema.optional<Schema.NullOr<Schema.Struct<{
6350
- readonly format: Schema.optional<Schema.NullOr<Schema.Struct<{
6351
- readonly bit_rate: Schema.optional<Schema.Number>;
6352
- readonly duration: Schema.optional<Schema.Number>;
6353
- readonly name: Schema.optional<Schema.String>;
6354
- }>>>;
6355
- readonly mime_type: Schema.optional<Schema.NullOr<Schema.String>>;
6356
- readonly streams: Schema.optional<Schema.$Array<Schema.Struct<{
6357
- readonly channels: Schema.optional<Schema.Int>;
6358
- readonly codec_name: Schema.optional<Schema.String>;
6359
- readonly codec_type: Schema.optional<Schema.String>;
6360
- readonly height: Schema.optional<Schema.Int>;
6361
- readonly level: Schema.optional<Schema.Int>;
6362
- readonly profile: Schema.optional<Schema.String>;
6363
- readonly rfc6381_codec: Schema.optional<Schema.String>;
6364
- readonly width: Schema.optional<Schema.Int>;
6365
- }>>>;
6366
- }>>>;
6367
- readonly media_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6368
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6369
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6370
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6371
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6372
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6373
- }>>>;
6374
- readonly mp4_size: Schema.optional<Schema.NullOr<Schema.Number>>;
6375
- readonly mp4_stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6376
- readonly need_convert: Schema.optional<Schema.Boolean>;
6377
- readonly sender_name: Schema.optional<Schema.String>;
6378
- readonly sort_by: Schema.optional<Schema.Literals<readonly ["NAME_ASC", "NAME_DESC", "SIZE_ASC", "SIZE_DESC", "DATE_ASC", "DATE_DESC", "MODIFIED_ASC", "MODIFIED_DESC", "TYPE_ASC", "TYPE_DESC", "WATCH_ASC", "WATCH_DESC"]>>;
6379
- readonly stream_url: Schema.optional<Schema.NullOr<Schema.String>>;
6380
- readonly video_metadata: Schema.optional<Schema.NullOr<Schema.Struct<{
6381
- readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
6382
- readonly codec: Schema.optional<Schema.NullOr<Schema.String>>;
6383
- readonly duration: Schema.optional<Schema.NullOr<Schema.Number>>;
6384
- readonly height: Schema.optional<Schema.NullOr<Schema.Int>>;
6385
- readonly width: Schema.optional<Schema.NullOr<Schema.Int>>;
6386
- }>>>;
6387
- }>>;
6388
- readonly status: Schema.Literal<"OK">;
6389
- readonly total: Schema.optional<Schema.Int>;
6390
- }>>, ListPublicShareFilesError, PutioSdkContext>;
5614
+ continueFiles: typeof continuePublicShareFiles;
5615
+ get: typeof getPublicShare;
5616
+ getFileUrl: typeof getPublicShareFileUrl;
5617
+ listFiles: typeof listPublicShareFiles;
6391
5618
  };
6392
5619
  publicShares: {
6393
- create: (fileId: number) => Effect.Effect<PublicShare, CreatePublicShareError, PutioSdkContext>;
6394
- delete: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, DeletePublicShareError, PutioSdkContext>;
6395
- list: () => Effect.Effect<ReadonlyArray<PublicShare>, ListPublicSharesError, PutioSdkContext>;
5620
+ create: typeof createPublicShare;
5621
+ delete: typeof deletePublicShare;
5622
+ list: typeof listPublicShares;
6396
5623
  };
6397
- shareFiles: (input: SharingShareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ShareFilesError, PutioSdkContext>;
6398
- unshare: (input: SharingUnshareInput) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, UnshareFileError, PutioSdkContext>;
5624
+ shareFiles: typeof shareFiles;
5625
+ unshare: typeof unshareFile;
6399
5626
  };
6400
5627
  tunnel: {
6401
- listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
5628
+ listRoutes: typeof listTunnelRoutes;
6402
5629
  };
6403
5630
  trash: {
6404
- continue: (cursor: string, query?: TrashListQuery) => Effect.Effect<TrashContinueResponse, ContinueTrashError, PutioSdkContext>;
6405
- delete: (input: TrashBulkInput) => Effect.Effect<void, DeleteTrashError, PutioSdkContext>;
6406
- empty: () => Effect.Effect<void, EmptyTrashError, PutioSdkContext>;
6407
- list: (query?: TrashListQuery) => Effect.Effect<TrashListResponse, ListTrashError, PutioSdkContext>;
6408
- restore: (input: TrashBulkInput) => Effect.Effect<void, RestoreTrashError, PutioSdkContext>;
5631
+ continue: typeof continueTrash;
5632
+ delete: typeof deleteTrash;
5633
+ empty: typeof emptyTrash;
5634
+ list: typeof listTrash;
5635
+ restore: typeof restoreTrash;
6409
5636
  };
6410
5637
  transfers: {
6411
- add: (input: TransferAddInput) => Effect.Effect<Transfer, AddTransferError, PutioSdkContext>;
6412
- addMany: (inputs: ReadonlyArray<TransferAddInput>) => Effect.Effect<{
6413
- readonly errors: ReadonlyArray<TransfersAddMultiError>;
6414
- readonly transfers: ReadonlyArray<Transfer>;
6415
- }, AddManyTransfersError, PutioSdkContext>;
6416
- cancel: (ids: ReadonlyArray<number>) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
6417
- clean: (ids?: ReadonlyArray<number>) => Effect.Effect<{
6418
- readonly deleted_ids: ReadonlyArray<number>;
6419
- }, PutioSdkError, PutioSdkContext>;
6420
- continue: (cursor: string, query?: {
6421
- readonly per_page?: number;
6422
- }) => Effect.Effect<TransfersContinueResponse, ListTransfersError, PutioSdkContext>;
6423
- count: () => Effect.Effect<number, PutioSdkError, PutioSdkContext>;
6424
- get: (id: number) => Effect.Effect<Transfer, GetTransferError, PutioSdkContext>;
6425
- info: (urls: ReadonlyArray<string>) => Effect.Effect<{
6426
- readonly disk_avail: number;
6427
- readonly ret: ReadonlyArray<TransferInfoItem>;
6428
- }, PutioSdkError, PutioSdkContext>;
6429
- list: (query?: TransfersListQuery) => Effect.Effect<TransfersListResponse, ListTransfersError, PutioSdkContext>;
6430
- reannounce: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, ReannounceTransferError, PutioSdkContext>;
6431
- retry: (id: number) => Effect.Effect<Transfer, RetryTransferError, PutioSdkContext>;
6432
- stopRecording: (id: number) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, StopRecordingTransferError, PutioSdkContext>;
5638
+ add: typeof addTransfer;
5639
+ addMany: typeof addManyTransfers;
5640
+ cancel: typeof cancelTransfers;
5641
+ clean: typeof cleanTransfers;
5642
+ continue: typeof continueTransfers;
5643
+ count: typeof countTransfers;
5644
+ get: typeof getTransfer;
5645
+ info: typeof getTransferInfo;
5646
+ list: typeof listTransfers;
5647
+ reannounce: typeof reannounceTransfer;
5648
+ retry: typeof retryTransfer;
5649
+ stopRecording: typeof stopTransferRecording;
6433
5650
  };
6434
5651
  zips: {
6435
- cancel: (id: number) => Effect.Effect<void, CancelZipError, PutioSdkContext>;
6436
- create: (input: CreateZipInput) => Effect.Effect<number, CreateZipError, PutioSdkContext>;
6437
- get: (id: number) => Effect.Effect<ZipInfo, GetZipError, PutioSdkContext>;
6438
- list: () => Effect.Effect<ReadonlyArray<ZipSummary>, ListZipsError, PutioSdkContext>;
5652
+ cancel: typeof cancelZip;
5653
+ create: typeof createZip;
5654
+ get: typeof getZip;
5655
+ list: typeof listZips;
6439
5656
  };
6440
5657
  }>;
6441
5658
  declare class PutioSdk extends PutioSdk_base {}
6442
5659
  declare const makePutioSdkEffectClientLayer: () => Layer.Layer<PutioSdk, never, never>;
6443
- declare const makePutioSdkLiveClientLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig | PutioHttpClient | PutioSdk, never, never>;
5660
+ declare const makePutioSdkLiveClientLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioHttpClient | PutioSdk | PutioSdkConfig, never, never>;
6444
5661
  declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape) => {
6445
5662
  dispose: () => Promise<void>;
6446
5663
  account: {
6447
- clear: (options: AccountClearOptions) => Promise<{
6448
- readonly status: "OK";
6449
- }>;
6450
- destroy: (currentPassword: string) => Promise<{
6451
- readonly status: "OK";
6452
- }>;
5664
+ clear: (options: AccountClearOptions) => Promise<Schema.Struct.ReadonlySide<{
5665
+ readonly status: Schema.Literal<"OK">;
5666
+ }, "Type">>;
5667
+ destroy: (currentPassword: string) => Promise<Schema.Struct.ReadonlySide<{
5668
+ readonly status: Schema.Literal<"OK">;
5669
+ }, "Type">>;
6453
5670
  getInfo: {
6454
5671
  (query: {
6455
5672
  readonly download_token: 1;
@@ -6492,83 +5709,77 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6492
5709
  (query: AccountInfoQuery): Promise<AccountInfoBroad>;
6493
5710
  };
6494
5711
  getSettings: () => Promise<AccountSettings>;
6495
- listConfirmations: (subject?: AccountConfirmation["subject"]) => Promise<readonly {
6496
- readonly created_at: string;
6497
- readonly subject: "mail_change" | "password_change" | "subscription_upgrade";
6498
- }[]>;
6499
- saveSettings: (payload: SaveAccountSettingsPayload) => Promise<{
6500
- readonly status: "OK";
6501
- }>;
5712
+ listSubtitleLanguages: () => Promise<ReadonlyArray<AccountSubtitleLanguage>>;
5713
+ listConfirmations: (subject?: AccountConfirmation["subject"]) => Promise<readonly Schema.Struct.ReadonlySide<{
5714
+ readonly created_at: Schema.String;
5715
+ readonly subject: Schema.Literals<readonly ["mail_change", "password_change", "subscription_upgrade"]>;
5716
+ }, "Type">[]>;
5717
+ saveSettings: (payload: SaveAccountSettingsPayload) => Promise<Schema.Struct.ReadonlySide<{
5718
+ readonly status: Schema.Literal<"OK">;
5719
+ }, "Type">>;
6502
5720
  };
6503
5721
  auth: {
6504
- buildLoginUrl: (options: {
6505
- readonly clientId: string | number;
6506
- readonly redirectUri: string;
6507
- readonly responseType?: string;
6508
- readonly state: string;
6509
- readonly clientName?: string;
6510
- readonly webAppUrl?: string | URL;
6511
- }) => string;
5722
+ buildLoginUrl: typeof buildAuthLoginUrl;
6512
5723
  checkCodeMatch: (code: string) => Promise<string | null>;
6513
5724
  clients: () => Promise<ReadonlyArray<OAuthAppSession>>;
6514
5725
  exists: (key: "mail" | "username", value: string) => Promise<boolean>;
6515
- forgotPassword: (mail: string) => Promise<{
6516
- readonly status: "OK";
6517
- }>;
5726
+ forgotPassword: (mail: string) => Promise<Schema.Struct.ReadonlySide<{
5727
+ readonly status: Schema.Literal<"OK">;
5728
+ }, "Type">>;
6518
5729
  getCode: (input: {
6519
5730
  readonly appId: number | string;
6520
5731
  readonly clientName?: string;
6521
- }) => Promise<{
6522
- readonly code: string;
6523
- readonly qr_code_url: string;
6524
- }>;
6525
- getFamilyInvite: (code: string) => Promise<{
6526
- readonly owner: string;
6527
- readonly plan: string;
6528
- }>;
6529
- getFriendInvite: (code: string) => Promise<{
6530
- readonly inviter: string;
6531
- readonly plan: {
6532
- readonly code: string;
6533
- readonly name: string;
6534
- readonly period: number;
6535
- };
6536
- }>;
6537
- getGiftCard: (code: string) => Promise<{
6538
- readonly days: number;
6539
- readonly plan: boolean;
6540
- }>;
6541
- getVoucher: (code: string) => Promise<{
6542
- readonly days: number;
6543
- readonly owner: string | null;
6544
- }>;
5732
+ }) => Promise<Schema.Struct.ReadonlySide<{
5733
+ readonly code: Schema.String;
5734
+ readonly qr_code_url: Schema.String;
5735
+ }, "Type">>;
5736
+ getFamilyInvite: (code: string) => Promise<Schema.Struct.ReadonlySide<{
5737
+ readonly owner: Schema.String;
5738
+ readonly plan: Schema.String;
5739
+ }, "Type">>;
5740
+ getFriendInvite: (code: string) => Promise<Schema.Struct.ReadonlySide<{
5741
+ readonly inviter: Schema.String;
5742
+ readonly plan: Schema.Struct<{
5743
+ readonly code: Schema.String;
5744
+ readonly name: Schema.String;
5745
+ readonly period: Schema.Int;
5746
+ }>;
5747
+ }, "Type">>;
5748
+ getGiftCard: (code: string) => Promise<Schema.Struct.ReadonlySide<{
5749
+ readonly days: Schema.Int;
5750
+ readonly plan: Schema.Boolean;
5751
+ }, "Type">>;
5752
+ getVoucher: (code: string) => Promise<Schema.Struct.ReadonlySide<{
5753
+ readonly days: Schema.Int;
5754
+ readonly owner: Schema.NullOr<Schema.String>;
5755
+ }, "Type">>;
6545
5756
  grants: () => Promise<ReadonlyArray<OAuthApp>>;
6546
- linkDevice: (code: string) => Promise<{
6547
- readonly description: string;
6548
- readonly has_icon: boolean | null;
6549
- readonly id: number;
6550
- readonly name: string;
6551
- readonly website: string;
6552
- }>;
5757
+ linkDevice: (code: string) => Promise<Schema.Struct.ReadonlySide<{
5758
+ readonly description: Schema.String;
5759
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
5760
+ readonly id: Schema.Int;
5761
+ readonly name: Schema.String;
5762
+ readonly website: Schema.String;
5763
+ }, "Type">>;
6553
5764
  login: (input: LoginInput) => Promise<LoginResponse>;
6554
- logout: () => Promise<{
6555
- readonly status: "OK";
6556
- }>;
5765
+ logout: () => Promise<Schema.Struct.ReadonlySide<{
5766
+ readonly status: Schema.Literal<"OK">;
5767
+ }, "Type">>;
6557
5768
  register: (input: RegisterInput) => Promise<{
6558
5769
  readonly access_token: string;
6559
5770
  }>;
6560
5771
  resetPassword: (key: string, password: string) => Promise<{
6561
5772
  readonly access_token: string;
6562
5773
  }>;
6563
- revokeAllClients: () => Promise<{
6564
- readonly status: "OK";
6565
- }>;
6566
- revokeApp: (id: number) => Promise<{
6567
- readonly status: "OK";
6568
- }>;
6569
- revokeClient: (id: number) => Promise<{
6570
- readonly status: "OK";
6571
- }>;
5774
+ revokeAllClients: () => Promise<Schema.Struct.ReadonlySide<{
5775
+ readonly status: Schema.Literal<"OK">;
5776
+ }, "Type">>;
5777
+ revokeApp: (id: number) => Promise<Schema.Struct.ReadonlySide<{
5778
+ readonly status: Schema.Literal<"OK">;
5779
+ }, "Type">>;
5780
+ revokeClient: (id: number) => Promise<Schema.Struct.ReadonlySide<{
5781
+ readonly status: Schema.Literal<"OK">;
5782
+ }, "Type">>;
6572
5783
  twoFactor: {
6573
5784
  generateTOTP: () => Promise<GenerateTOTPResponse>;
6574
5785
  getRecoveryCodes: () => Promise<TwoFactorRecoveryCodes>;
@@ -6578,19 +5789,19 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6578
5789
  validateToken: (token: string) => Promise<ValidateTokenResponse>;
6579
5790
  };
6580
5791
  config: {
6581
- deleteKey: (key: string) => Promise<{
6582
- readonly status: "OK";
6583
- }>;
5792
+ deleteKey: (key: string) => Promise<Schema.Struct.ReadonlySide<{
5793
+ readonly status: Schema.Literal<"OK">;
5794
+ }, "Type">>;
6584
5795
  getKey: (key: string) => Promise<PutioJsonValue>;
6585
- getKeyWith: <A>(key: string, schema: Schema.Decoder<A, never>) => Promise<A>;
5796
+ getKeyWith: <A>(key: string, schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
6586
5797
  read: () => Promise<PutioJsonObject>;
6587
- readWith: <A>(schema: Schema.Decoder<A, never>) => Promise<A>;
6588
- setKey: (key: string, value: PutioJsonValue) => Promise<{
6589
- readonly status: "OK";
6590
- }>;
6591
- write: (value: PutioJsonObject) => Promise<{
6592
- readonly status: "OK";
6593
- }>;
5798
+ readWith: <A>(schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
5799
+ setKey: (key: string, value: PutioJsonValue) => Promise<Schema.Struct.ReadonlySide<{
5800
+ readonly status: Schema.Literal<"OK">;
5801
+ }, "Type">>;
5802
+ write: (value: PutioJsonObject) => Promise<Schema.Struct.ReadonlySide<{
5803
+ readonly status: Schema.Literal<"OK">;
5804
+ }, "Type">>;
6594
5805
  };
6595
5806
  downloadLinks: {
6596
5807
  create: (input?: DownloadLinksCreateInput) => Promise<{
@@ -6599,12 +5810,12 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6599
5810
  get: (id: number) => Promise<DownloadLinksInfo>;
6600
5811
  };
6601
5812
  events: {
6602
- clear: () => Promise<{
6603
- readonly status: "OK";
6604
- }>;
6605
- delete: (id: number) => Promise<{
6606
- readonly status: "OK";
6607
- }>;
5813
+ clear: () => Promise<Schema.Struct.ReadonlySide<{
5814
+ readonly status: Schema.Literal<"OK">;
5815
+ }, "Type">>;
5816
+ delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
5817
+ readonly status: Schema.Literal<"OK">;
5818
+ }, "Type">>;
6608
5819
  getTorrent: (id: number) => Promise<Uint8Array>;
6609
5820
  list: (query?: EventsListQuery) => Promise<EventsListResponse>;
6610
5821
  };
@@ -6636,7 +5847,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6636
5847
  readonly excludeIds?: ReadonlyArray<number>;
6637
5848
  readonly ids?: ReadonlyArray<number>;
6638
5849
  }) => Promise<number>;
6639
- createUploadFormData: (input: FileUploadInput) => FormData;
5850
+ createUploadFormData: typeof createFileUploadFormData;
6640
5851
  createUploadRequest: (input: {
6641
5852
  readonly file: Blob;
6642
5853
  readonly fileName?: string;
@@ -6656,9 +5867,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6656
5867
  readonly created_at: string;
6657
5868
  readonly crc32: string | null;
6658
5869
  readonly extension: string | null;
6659
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
5870
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
6660
5871
  readonly first_accessed_at: string | null;
6661
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
5872
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
6662
5873
  readonly icon: string | null;
6663
5874
  readonly id: number;
6664
5875
  readonly is_hidden: boolean;
@@ -6668,10 +5879,10 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6668
5879
  readonly opensubtitles_hash: string | null;
6669
5880
  readonly parent_id: number | null;
6670
5881
  readonly screenshot: string | null;
6671
- readonly size: number;
6672
- readonly updated_at: string;
6673
5882
  readonly sha1?: string | null | undefined;
5883
+ readonly size: number;
6674
5884
  readonly start_from?: number | undefined;
5885
+ readonly updated_at: string;
6675
5886
  readonly content_type_and_codecs?: string | null | undefined;
6676
5887
  readonly media_info?: {
6677
5888
  readonly format?: {
@@ -6702,7 +5913,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6702
5913
  readonly mp4_stream_url?: string | null | undefined;
6703
5914
  readonly need_convert?: boolean | undefined;
6704
5915
  readonly sender_name?: string | undefined;
6705
- 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;
5916
+ readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
6706
5917
  readonly stream_url?: string | null | undefined;
6707
5918
  readonly video_metadata?: {
6708
5919
  readonly aspect_ratio?: number | null | undefined;
@@ -6721,36 +5932,36 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6721
5932
  }, options?: {
6722
5933
  readonly partialDelete?: boolean;
6723
5934
  readonly skipTrash?: boolean;
6724
- }) => Promise<{
6725
- readonly cursor: string | null;
6726
- readonly skipped: number;
6727
- readonly status: "OK";
6728
- }>;
5935
+ }) => Promise<Schema.Struct.ReadonlySide<{
5936
+ readonly cursor: Schema.NullOr<Schema.String>;
5937
+ readonly skipped: Schema.Int;
5938
+ readonly status: Schema.Literal<"OK">;
5939
+ }, "Type">>;
6729
5940
  delete: (ids: ReadonlyArray<number>, options?: {
6730
5941
  readonly ignoreFileOwner?: boolean;
6731
5942
  readonly partialDelete?: boolean;
6732
5943
  readonly skipTrash?: boolean;
6733
- }) => Promise<{
6734
- readonly cursor: string | null;
6735
- readonly skipped: number;
6736
- readonly status: "OK";
6737
- }>;
5944
+ }) => Promise<Schema.Struct.ReadonlySide<{
5945
+ readonly cursor: Schema.NullOr<Schema.String>;
5946
+ readonly skipped: Schema.Int;
5947
+ readonly status: Schema.Literal<"OK">;
5948
+ }, "Type">>;
6738
5949
  extract: (selection: {
6739
5950
  readonly cursor?: string;
6740
5951
  readonly excludeIds?: ReadonlyArray<number>;
6741
5952
  readonly ids?: ReadonlyArray<number>;
6742
5953
  readonly password?: string;
6743
5954
  }) => Promise<ReadonlyArray<FileExtraction>>;
6744
- findNext: (fileId: number, fileType: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF") => Promise<{
6745
- readonly id: number;
6746
- readonly name: string;
6747
- readonly parent_id: number | null;
6748
- }>;
6749
- findNextVideo: (fileId: number) => Promise<{
6750
- readonly id: number;
6751
- readonly name: string;
6752
- readonly parent_id: number | null;
6753
- }>;
5955
+ findNext: (fileId: number, fileType: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF") => Promise<Schema.Struct.ReadonlySide<{
5956
+ readonly id: Schema.Int;
5957
+ readonly name: Schema.String;
5958
+ readonly parent_id: Schema.NullOr<Schema.Int>;
5959
+ }, "Type">>;
5960
+ findNextVideo: (fileId: number) => Promise<Schema.Struct.ReadonlySide<{
5961
+ readonly id: Schema.Int;
5962
+ readonly name: Schema.String;
5963
+ readonly parent_id: Schema.NullOr<Schema.Int>;
5964
+ }, "Type">>;
6754
5965
  getApiContentUrl: (fileId: number, options?: {
6755
5966
  readonly oauthToken?: string;
6756
5967
  readonly useTunnel?: boolean;
@@ -6825,12 +6036,12 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6825
6036
  rename: (input: {
6826
6037
  readonly file_id: number;
6827
6038
  readonly name: string;
6828
- }) => Promise<{
6829
- readonly status: "OK";
6830
- }>;
6831
- resetStartFrom: (fileId: number) => Promise<{
6832
- readonly status: "OK";
6833
- }>;
6039
+ }) => Promise<Schema.Struct.ReadonlySide<{
6040
+ readonly status: Schema.Literal<"OK">;
6041
+ }, "Type">>;
6042
+ resetStartFrom: (fileId: number) => Promise<Schema.Struct.ReadonlySide<{
6043
+ readonly status: Schema.Literal<"OK">;
6044
+ }, "Type">>;
6834
6045
  search: (query: FilesSearchQuery) => Promise<FileSearchResponse>;
6835
6046
  setWatchStatus: (selection: {
6836
6047
  readonly cursor?: string;
@@ -6841,9 +6052,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6841
6052
  setStartFrom: (input: {
6842
6053
  readonly file_id: number;
6843
6054
  readonly time: number;
6844
- }) => Promise<{
6845
- readonly status: "OK";
6846
- }>;
6055
+ }) => Promise<Schema.Struct.ReadonlySide<{
6056
+ readonly status: Schema.Literal<"OK">;
6057
+ }, "Type">>;
6847
6058
  upload: (input: {
6848
6059
  readonly file: Blob;
6849
6060
  readonly fileName?: string;
@@ -6860,115 +6071,107 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6860
6071
  }>;
6861
6072
  };
6862
6073
  friends: {
6863
- approve: (username: string) => Promise<{
6864
- readonly status: "OK";
6865
- }>;
6074
+ approve: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6075
+ readonly status: Schema.Literal<"OK">;
6076
+ }, "Type">>;
6866
6077
  countWaitingRequests: () => Promise<number>;
6867
- deny: (username: string) => Promise<{
6868
- readonly status: "OK";
6869
- }>;
6078
+ deny: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6079
+ readonly status: Schema.Literal<"OK">;
6080
+ }, "Type">>;
6870
6081
  list: () => Promise<{
6871
6082
  readonly friends: ReadonlyArray<Friend>;
6872
6083
  readonly total: number;
6873
6084
  }>;
6874
6085
  listSentRequests: () => Promise<ReadonlyArray<FriendBase>>;
6875
6086
  listWaitingRequests: () => Promise<ReadonlyArray<FriendBase>>;
6876
- remove: (username: string) => Promise<{
6877
- readonly status: "OK";
6878
- }>;
6087
+ remove: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6088
+ readonly status: Schema.Literal<"OK">;
6089
+ }, "Type">>;
6879
6090
  search: (username: string) => Promise<ReadonlyArray<UserSearchResult>>;
6880
- sendRequest: (username: string) => Promise<{
6881
- readonly status: "OK";
6882
- }>;
6091
+ sendRequest: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6092
+ readonly status: Schema.Literal<"OK">;
6093
+ }, "Type">>;
6883
6094
  sharedFolder: (username: string) => Promise<FileCore | null>;
6884
6095
  };
6885
6096
  oauth: {
6886
- buildAuthorizeUrl: (options: {
6887
- readonly baseUrl?: string | URL;
6888
- readonly oauthToken: string;
6889
- readonly query?: Readonly<Record<string, PutioQueryValue>>;
6890
- }) => string;
6891
- buildIconUrl: (options: {
6892
- readonly baseUrl?: string | URL;
6893
- readonly id: number;
6894
- readonly oauthToken: string;
6895
- }) => string;
6896
- create: (input: OAuthAppCreateInput) => Promise<{
6897
- readonly app: {
6898
- readonly description: string;
6899
- readonly has_icon: boolean | null;
6900
- readonly id: number;
6901
- readonly name: string;
6902
- readonly website: string;
6903
- } | {
6904
- readonly description: string;
6905
- readonly has_icon: boolean | null;
6906
- readonly id: number;
6907
- readonly name: string;
6908
- readonly website: string;
6909
- readonly callback: string;
6910
- readonly hidden: boolean;
6911
- readonly secret: string;
6912
- };
6913
- readonly status: "OK";
6914
- }>;
6915
- delete: (id: number) => Promise<{
6916
- readonly status: "OK";
6917
- }>;
6097
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
6098
+ buildIconUrl: typeof buildOAuthAppIconUrl;
6099
+ create: (input: OAuthAppCreateInput) => Promise<Schema.Struct.ReadonlySide<{
6100
+ readonly app: Schema.Union<readonly [Schema.Struct<{
6101
+ readonly description: Schema.String;
6102
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6103
+ readonly id: Schema.Int;
6104
+ readonly name: Schema.String;
6105
+ readonly website: Schema.String;
6106
+ readonly callback: Schema.String;
6107
+ readonly hidden: Schema.Boolean;
6108
+ readonly secret: Schema.String;
6109
+ }>, Schema.Struct<{
6110
+ readonly description: Schema.String;
6111
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6112
+ readonly id: Schema.Int;
6113
+ readonly name: Schema.String;
6114
+ readonly website: Schema.String;
6115
+ }>]>;
6116
+ readonly status: Schema.Literal<"OK">;
6117
+ }, "Type">>;
6118
+ delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6119
+ readonly status: Schema.Literal<"OK">;
6120
+ }, "Type">>;
6918
6121
  get: (id: number, options?: {
6919
6122
  readonly edit?: boolean;
6920
- }) => Promise<{
6921
- readonly app: {
6922
- readonly description: string;
6923
- readonly has_icon: boolean | null;
6924
- readonly id: number;
6925
- readonly name: string;
6926
- readonly website: string;
6927
- } | {
6928
- readonly description: string;
6929
- readonly has_icon: boolean | null;
6930
- readonly id: number;
6931
- readonly name: string;
6932
- readonly website: string;
6933
- readonly callback: string;
6934
- readonly hidden: boolean;
6935
- readonly secret: string;
6936
- };
6937
- readonly status: "OK";
6938
- readonly token: string | null;
6939
- }>;
6123
+ }) => Promise<Schema.Struct.ReadonlySide<{
6124
+ readonly app: Schema.Union<readonly [Schema.Struct<{
6125
+ readonly description: Schema.String;
6126
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6127
+ readonly id: Schema.Int;
6128
+ readonly name: Schema.String;
6129
+ readonly website: Schema.String;
6130
+ readonly callback: Schema.String;
6131
+ readonly hidden: Schema.Boolean;
6132
+ readonly secret: Schema.String;
6133
+ }>, Schema.Struct<{
6134
+ readonly description: Schema.String;
6135
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6136
+ readonly id: Schema.Int;
6137
+ readonly name: Schema.String;
6138
+ readonly website: Schema.String;
6139
+ }>]>;
6140
+ readonly status: Schema.Literal<"OK">;
6141
+ readonly token: Schema.NullOr<Schema.String>;
6142
+ }, "Type">>;
6940
6143
  getPopularApps: () => Promise<ReadonlyArray<PopularOAuthApp>>;
6941
6144
  query: () => Promise<ReadonlyArray<MyOAuthApp>>;
6942
6145
  regenerateToken: (id: number) => Promise<string>;
6943
6146
  setIcon: (id: number, input: {
6944
6147
  readonly icon: Blob;
6945
- }) => Promise<{
6946
- readonly status: "OK";
6947
- }>;
6948
- update: (input: OAuthAppUpdateInput) => Promise<{
6949
- readonly app: {
6950
- readonly description: string;
6951
- readonly has_icon: boolean | null;
6952
- readonly id: number;
6953
- readonly name: string;
6954
- readonly website: string;
6955
- } | {
6956
- readonly description: string;
6957
- readonly has_icon: boolean | null;
6958
- readonly id: number;
6959
- readonly name: string;
6960
- readonly website: string;
6961
- readonly callback: string;
6962
- readonly hidden: boolean;
6963
- readonly secret: string;
6964
- };
6965
- readonly status: "OK";
6966
- readonly token: string | null;
6967
- }>;
6148
+ }) => Promise<Schema.Struct.ReadonlySide<{
6149
+ readonly status: Schema.Literal<"OK">;
6150
+ }, "Type">>;
6151
+ update: (input: OAuthAppUpdateInput) => Promise<Schema.Struct.ReadonlySide<{
6152
+ readonly app: Schema.Union<readonly [Schema.Struct<{
6153
+ readonly description: Schema.String;
6154
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6155
+ readonly id: Schema.Int;
6156
+ readonly name: Schema.String;
6157
+ readonly website: Schema.String;
6158
+ readonly callback: Schema.String;
6159
+ readonly hidden: Schema.Boolean;
6160
+ readonly secret: Schema.String;
6161
+ }>, Schema.Struct<{
6162
+ readonly description: Schema.String;
6163
+ readonly has_icon: Schema.NullOr<Schema.Boolean>;
6164
+ readonly id: Schema.Int;
6165
+ readonly name: Schema.String;
6166
+ readonly website: Schema.String;
6167
+ }>]>;
6168
+ readonly status: Schema.Literal<"OK">;
6169
+ readonly token: Schema.NullOr<Schema.String>;
6170
+ }, "Type">>;
6968
6171
  };
6969
6172
  payment: {
6970
6173
  changePlan: {
6971
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
6174
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
6972
6175
  preview: (input: PaymentChangePlanPreviewInput) => Promise<PaymentChangePlanPreview>;
6973
6176
  submit: (input: PaymentChangePlanSubmitInput) => Promise<PaymentChangePlanSubmitResponse>;
6974
6177
  };
@@ -6993,34 +6196,34 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6993
6196
  };
6994
6197
  };
6995
6198
  rss: {
6996
- clearLogs: (id: number) => Promise<{
6997
- readonly status: "OK";
6998
- }>;
6199
+ clearLogs: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6200
+ readonly status: Schema.Literal<"OK">;
6201
+ }, "Type">>;
6999
6202
  create: (params: RssFeedParams) => Promise<RssFeed>;
7000
- delete: (id: number) => Promise<{
7001
- readonly status: "OK";
7002
- }>;
6203
+ delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6204
+ readonly status: Schema.Literal<"OK">;
6205
+ }, "Type">>;
7003
6206
  get: (id: number) => Promise<RssFeed>;
7004
6207
  list: () => Promise<ReadonlyArray<RssFeed>>;
7005
6208
  listItems: (id: number) => Promise<{
7006
6209
  readonly feed: RssFeed;
7007
6210
  readonly items: ReadonlyArray<RssFeedItem>;
7008
6211
  }>;
7009
- pause: (id: number) => Promise<{
7010
- readonly status: "OK";
7011
- }>;
7012
- resume: (id: number) => Promise<{
7013
- readonly status: "OK";
7014
- }>;
7015
- retryAll: (id: number) => Promise<{
7016
- readonly status: "OK";
7017
- }>;
7018
- retryItem: (feedId: number, itemId: number) => Promise<{
7019
- readonly status: "OK";
7020
- }>;
7021
- update: (id: number, params: RssFeedParams) => Promise<{
7022
- readonly status: "OK";
7023
- }>;
6212
+ pause: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6213
+ readonly status: Schema.Literal<"OK">;
6214
+ }, "Type">>;
6215
+ resume: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6216
+ readonly status: Schema.Literal<"OK">;
6217
+ }, "Type">>;
6218
+ retryAll: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6219
+ readonly status: Schema.Literal<"OK">;
6220
+ }, "Type">>;
6221
+ retryItem: (feedId: number, itemId: number) => Promise<Schema.Struct.ReadonlySide<{
6222
+ readonly status: Schema.Literal<"OK">;
6223
+ }, "Type">>;
6224
+ update: (id: number, params: RssFeedParams) => Promise<Schema.Struct.ReadonlySide<{
6225
+ readonly status: Schema.Literal<"OK">;
6226
+ }, "Type">>;
7024
6227
  };
7025
6228
  sharing: {
7026
6229
  clone: (input?: {
@@ -7038,15 +6241,16 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7038
6241
  continueFiles: (cursor: string, query?: {
7039
6242
  readonly per_page?: number;
7040
6243
  }) => Promise<{
6244
+ readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7041
6245
  readonly cursor: string | null;
7042
6246
  readonly files: readonly {
7043
6247
  readonly content_type: string | null;
7044
6248
  readonly created_at: string;
7045
6249
  readonly crc32: string | null;
7046
6250
  readonly extension: string | null;
7047
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
6251
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7048
6252
  readonly first_accessed_at: string | null;
7049
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
6253
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7050
6254
  readonly icon: string | null;
7051
6255
  readonly id: number;
7052
6256
  readonly is_hidden: boolean;
@@ -7056,10 +6260,10 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7056
6260
  readonly opensubtitles_hash: string | null;
7057
6261
  readonly parent_id: number | null;
7058
6262
  readonly screenshot: string | null;
7059
- readonly size: number;
7060
- readonly updated_at: string;
7061
6263
  readonly sha1?: string | null | undefined;
6264
+ readonly size: number;
7062
6265
  readonly start_from?: number | undefined;
6266
+ readonly updated_at: string;
7063
6267
  readonly content_type_and_codecs?: string | null | undefined;
7064
6268
  readonly media_info?: {
7065
6269
  readonly format?: {
@@ -7090,7 +6294,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7090
6294
  readonly mp4_stream_url?: string | null | undefined;
7091
6295
  readonly need_convert?: boolean | undefined;
7092
6296
  readonly sender_name?: string | undefined;
7093
- 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;
6297
+ readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
7094
6298
  readonly stream_url?: string | null | undefined;
7095
6299
  readonly video_metadata?: {
7096
6300
  readonly aspect_ratio?: number | null | undefined;
@@ -7100,16 +6304,14 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7100
6304
  readonly width?: number | null | undefined;
7101
6305
  } | null | undefined;
7102
6306
  }[];
7103
- readonly status: "OK";
7104
- readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7105
6307
  readonly parent?: {
7106
6308
  readonly content_type: string | null;
7107
6309
  readonly created_at: string;
7108
6310
  readonly crc32: string | null;
7109
6311
  readonly extension: string | null;
7110
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
6312
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7111
6313
  readonly first_accessed_at: string | null;
7112
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
6314
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7113
6315
  readonly icon: string | null;
7114
6316
  readonly id: number;
7115
6317
  readonly is_hidden: boolean;
@@ -7119,10 +6321,10 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7119
6321
  readonly opensubtitles_hash: string | null;
7120
6322
  readonly parent_id: number | null;
7121
6323
  readonly screenshot: string | null;
7122
- readonly size: number;
7123
- readonly updated_at: string;
7124
6324
  readonly sha1?: string | null | undefined;
6325
+ readonly size: number;
7125
6326
  readonly start_from?: number | undefined;
6327
+ readonly updated_at: string;
7126
6328
  readonly content_type_and_codecs?: string | null | undefined;
7127
6329
  readonly media_info?: {
7128
6330
  readonly format?: {
@@ -7153,7 +6355,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7153
6355
  readonly mp4_stream_url?: string | null | undefined;
7154
6356
  readonly need_convert?: boolean | undefined;
7155
6357
  readonly sender_name?: string | undefined;
7156
- 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;
6358
+ readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
7157
6359
  readonly stream_url?: string | null | undefined;
7158
6360
  readonly video_metadata?: {
7159
6361
  readonly aspect_ratio?: number | null | undefined;
@@ -7163,20 +6365,22 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7163
6365
  readonly width?: number | null | undefined;
7164
6366
  } | null | undefined;
7165
6367
  } | null | undefined;
6368
+ readonly status: "OK";
7166
6369
  readonly total?: number | undefined;
7167
6370
  }>;
7168
6371
  get: () => Promise<PublicShare>;
7169
6372
  getFileUrl: (fileId: number) => Promise<string>;
7170
6373
  listFiles: (query?: PublicShareListQuery) => Promise<{
6374
+ readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7171
6375
  readonly cursor: string | null;
7172
6376
  readonly files: readonly {
7173
6377
  readonly content_type: string | null;
7174
6378
  readonly created_at: string;
7175
6379
  readonly crc32: string | null;
7176
6380
  readonly extension: string | null;
7177
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
6381
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7178
6382
  readonly first_accessed_at: string | null;
7179
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
6383
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7180
6384
  readonly icon: string | null;
7181
6385
  readonly id: number;
7182
6386
  readonly is_hidden: boolean;
@@ -7186,10 +6390,10 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7186
6390
  readonly opensubtitles_hash: string | null;
7187
6391
  readonly parent_id: number | null;
7188
6392
  readonly screenshot: string | null;
7189
- readonly size: number;
7190
- readonly updated_at: string;
7191
6393
  readonly sha1?: string | null | undefined;
6394
+ readonly size: number;
7192
6395
  readonly start_from?: number | undefined;
6396
+ readonly updated_at: string;
7193
6397
  readonly content_type_and_codecs?: string | null | undefined;
7194
6398
  readonly media_info?: {
7195
6399
  readonly format?: {
@@ -7220,7 +6424,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7220
6424
  readonly mp4_stream_url?: string | null | undefined;
7221
6425
  readonly need_convert?: boolean | undefined;
7222
6426
  readonly sender_name?: string | undefined;
7223
- 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;
6427
+ readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
7224
6428
  readonly stream_url?: string | null | undefined;
7225
6429
  readonly video_metadata?: {
7226
6430
  readonly aspect_ratio?: number | null | undefined;
@@ -7235,9 +6439,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7235
6439
  readonly created_at: string;
7236
6440
  readonly crc32: string | null;
7237
6441
  readonly extension: string | null;
7238
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
6442
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7239
6443
  readonly first_accessed_at: string | null;
7240
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
6444
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7241
6445
  readonly icon: string | null;
7242
6446
  readonly id: number;
7243
6447
  readonly is_hidden: boolean;
@@ -7247,10 +6451,10 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7247
6451
  readonly opensubtitles_hash: string | null;
7248
6452
  readonly parent_id: number | null;
7249
6453
  readonly screenshot: string | null;
7250
- readonly size: number;
7251
- readonly updated_at: string;
7252
6454
  readonly sha1?: string | null | undefined;
6455
+ readonly size: number;
7253
6456
  readonly start_from?: number | undefined;
6457
+ readonly updated_at: string;
7254
6458
  readonly content_type_and_codecs?: string | null | undefined;
7255
6459
  readonly media_info?: {
7256
6460
  readonly format?: {
@@ -7281,7 +6485,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7281
6485
  readonly mp4_stream_url?: string | null | undefined;
7282
6486
  readonly need_convert?: boolean | undefined;
7283
6487
  readonly sender_name?: string | undefined;
7284
- 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;
6488
+ readonly sort_by?: "DATE_ASC" | "DATE_DESC" | "MODIFIED_ASC" | "MODIFIED_DESC" | "NAME_ASC" | "NAME_DESC" | "SIZE_ASC" | "SIZE_DESC" | "TYPE_ASC" | "TYPE_DESC" | "WATCH_ASC" | "WATCH_DESC" | undefined;
7285
6489
  readonly stream_url?: string | null | undefined;
7286
6490
  readonly video_metadata?: {
7287
6491
  readonly aspect_ratio?: number | null | undefined;
@@ -7292,26 +6496,25 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7292
6496
  } | null | undefined;
7293
6497
  } | null;
7294
6498
  readonly status: "OK";
7295
- readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7296
6499
  readonly total?: number | undefined;
7297
6500
  }>;
7298
6501
  };
7299
6502
  publicShares: {
7300
6503
  create: (fileId: number) => Promise<PublicShare>;
7301
- delete: (id: number) => Promise<{
7302
- readonly status: "OK";
7303
- }>;
6504
+ delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6505
+ readonly status: Schema.Literal<"OK">;
6506
+ }, "Type">>;
7304
6507
  list: () => Promise<ReadonlyArray<PublicShare>>;
7305
6508
  };
7306
- shareFiles: (input: SharingShareInput) => Promise<{
7307
- readonly status: "OK";
7308
- }>;
6509
+ shareFiles: (input: SharingShareInput) => Promise<Schema.Struct.ReadonlySide<{
6510
+ readonly status: Schema.Literal<"OK">;
6511
+ }, "Type">>;
7309
6512
  unshare: (input: {
7310
6513
  readonly fileId: number;
7311
6514
  readonly shares?: ReadonlyArray<number | string>;
7312
- }) => Promise<{
7313
- readonly status: "OK";
7314
- }>;
6515
+ }) => Promise<Schema.Struct.ReadonlySide<{
6516
+ readonly status: Schema.Literal<"OK">;
6517
+ }, "Type">>;
7315
6518
  };
7316
6519
  tunnel: {
7317
6520
  listRoutes: () => Promise<ReadonlyArray<TunnelRoute>>;
@@ -7329,9 +6532,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7329
6532
  readonly errors: ReadonlyArray<TransfersAddMultiError>;
7330
6533
  readonly transfers: ReadonlyArray<Transfer>;
7331
6534
  }>;
7332
- cancel: (ids: ReadonlyArray<number>) => Promise<{
7333
- readonly status: "OK";
7334
- }>;
6535
+ cancel: (ids: ReadonlyArray<number>) => Promise<Schema.Struct.ReadonlySide<{
6536
+ readonly status: Schema.Literal<"OK">;
6537
+ }, "Type">>;
7335
6538
  clean: (ids?: ReadonlyArray<number>) => Promise<{
7336
6539
  readonly deleted_ids: ReadonlyArray<number>;
7337
6540
  }>;
@@ -7345,13 +6548,13 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7345
6548
  readonly ret: ReadonlyArray<TransferInfoItem>;
7346
6549
  }>;
7347
6550
  list: (query?: TransfersListQuery) => Promise<TransfersListResponse>;
7348
- reannounce: (id: number) => Promise<{
7349
- readonly status: "OK";
7350
- }>;
6551
+ reannounce: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6552
+ readonly status: Schema.Literal<"OK">;
6553
+ }, "Type">>;
7351
6554
  retry: (id: number) => Promise<Transfer>;
7352
- stopRecording: (id: number) => Promise<{
7353
- readonly status: "OK";
7354
- }>;
6555
+ stopRecording: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6556
+ readonly status: Schema.Literal<"OK">;
6557
+ }, "Type">>;
7355
6558
  };
7356
6559
  zips: {
7357
6560
  cancel: (id: number) => Promise<void>;
@@ -7382,5 +6585,5 @@ declare global {
7382
6585
  var SchemaErrorTypeId: symbol;
7383
6586
  }
7384
6587
  //#endregion
7385
- export { TransferSchema as $, createFriendInvite as $a, EventsListResponse as $c, queryOAuthApps as $d, makePutioSdkLiveLayer as $f, listPaymentInvites as $i, ClientsError as $l, GetRssFeedErrorSpec as $n, FileSubtitlesError as $o, ListPaymentInvitesErrorSpec as $r, getApiDownloadUrl as $s, GetPublicShareFileUrlErrorSpec as $t, generateTOTP as $u, TunnelRoute as A, SendFriendRequestErrorSpec as Aa, FamilyInviteSchema as Ac, OAuthAppSession as Ad, destroyAccount as Af, PaymentVoucherInfo as Ai, DownloadLinksInfo as Al, SharingUnshareInputSchema as An, FileHlsStreamUrlOptions as Ao, isPutioRateLimitError as Ap, retryAllRssFeedItems as Ar, SearchFilesErrorSpec as As, RestoreTrashErrorSpec as At, ResetPasswordError as Au, ListTransfersErrorSpec as B, removeFriend as Ba, RemoveFamilyMemberError as Bc, PopularOAuthAppSchema as Bd, PutioHttpResponse as Bf, SubmitPaymentChangePlanError as Bi, JsonObjectSchema as Bl, getSharingCloneInfo as Bn, FileMp4ErrorSpec as Bo, CreatePaddleBillingUpdatePaymentMethodTransactionError as Br, convertFileToMp4 as Bs, listTrash as Bt, ValidateTokenResponse as Bu, ZipSummary as C, ListWaitingRequestsError as Ca, SendIftttEventError as Cc, GetOAuthAppErrorSpec as Cd, PasInfo as Cf, PaymentPlanGroupSchema as Ci, deleteEvent as Cl, SharingCloneInfoSchema as Cn, FileDirectAccessOptions as Co, decodePutioErrorEnvelope as Cp, createRssFeed as Cr, GetFileError as Cs, DeleteTrashError as Ct, RecoveryCodesErrorSpec as Cu, listZips as D, SearchFriendsError as Da, CreateFamilyInviteError as Dc, OAuthAppCreateInput as Dd, SaveAccountSettingsPayload as Df, PaymentProviderSchema as Di, CreateDownloadLinksErrorSpec as Dl, SharingShareInput as Dn, FileExtractionStatusSchema as Do, isPutioAuthError as Dp, listRssFeeds as Dr, RenameFileError as Ds, ListTrashError as Dt, RegisterErrorSpec as Du, getZip as E, RemoveFriendErrorSpec as Ea, sendIftttEvent as Ec, OAuthApp as Ed, SaveAccountSettingsErrorSpec as Ef, PaymentProviderNameSchema as Ei, CreateDownloadLinksError as El, SharingCloneStatusSchema as En, FileExtractionStatus as Eo, isPutioApiError as Ep, listRssFeedItems as Er, QueryFilesErrorSpec as Es, EmptyTrashErrorSpec as Et, RegisterError as Eu, AddTransferError as F, denyFriendRequest as Fa, JoinFamilyErrorSpec as Fc, OAuthSetIconInput as Fd, OkResponseSchema as Ff, RedeemPaymentVoucherErrorSpec as Fi, DownloadLinksStatusSchema as Fl, createPublicShare as Fn, FileMediaInfoSchema as Fo, parseErrorBody as Fp, ConfirmFastspringOrderErrorSpec as Fr, buildFileApiMp4DownloadUrl as Fs, TrashListQuery as Ft, RevokeOAuthClientErrorSpec as Fu, StopRecordingTransferError as G, FriendInvite as Ga, listFamilyMembers as Gc, UpdateOAuthAppError as Gd, PutioSdkConfigShape as Gf, createCoinbaseCharge as Gi, deleteConfigKey as Gl, unshareFile as Gn, FileRenameInput as Go, GetPaddleBillingInvoiceUrlErrorSpec as Gr, deleteFileExtraction as Gs, CreatePublicShareErrorSpec as Gt, VerifyTOTPResponseSchema as Gu, ReannounceTransferErrorSpec as H, sendFriendRequest as Ha, createFamilyInvite as Hc, QueryOAuthAppsErrorSpec as Hd, PutioQuery as Hf, UserSubscriptionStatusSchema as Hi, PutioJsonObject as Hl, listPublicShares as Hn, FileMp4MutationErrorSpec as Ho, CreatePaddleWaitingPaymentError as Hr, createFileUploadFormData as Hs, ContinuePublicShareFilesError as Ht, VerifyTOTPError as Hu, AddTransferErrorSpec as I, getFriendSharedFolder as Ia, ListFamilyInvitesError as Ic, OAuthSetIconInputSchema as Id, PutioAuth as If, ReportPaymentsError as Ii, GetDownloadLinksError as Il, deletePublicShare as In, FileMediaInfoStreamSchema as Io, responseRateLimitHeaders as Ip, CreateCoinbaseChargeError as Ir, buildFileHlsStreamUrl as Is, TrashListResponse as It, RevokeOAuthGrantError as Iu, TransferAddInput as J, FriendInviteJoinedUserStatus as Ja, ClearEventsErrorSpec as Jc, buildOAuthAuthorizeUrl as Jd, encodePathSegment as Jf, createPaddleWaitingPayment as Ji, readConfig as Jl, CreateRssFeedError as Jn, FileSort as Jo, GetPaymentVoucherInfoError as Jr, deleteFiles as Js, DeletePublicShareError as Jt, buildAuthLoginUrl as Ju, StopRecordingTransferErrorSpec as K, FriendInviteJoinedUser as Ka, removeFamilyMember as Kc, UpdateOAuthAppErrorSpec as Kd, PutioSdkContext as Kf, createOpenNodeCharge as Ki, getConfigKey as Kl, ClearRssFeedLogsError as Kn, FileResponseFor as Ko, GetPaymentInfoError as Kr, deleteFileMp4 as Ks, CreateSharingCloneError as Kt, VoucherLookupError as Ku, GetTransferError as L, listFriends as La, ListFamilyInvitesErrorSpec as Lc, OwnedOAuthApp as Ld, PutioHttpClient as Lf, ReportPaymentsErrorSpec as Li, GetDownloadLinksErrorSpec as Ll, getPublicShare as Ln, FileMediaMetadata as Lo, withOperationErrors as Lp, CreateCoinbaseChargeErrorSpec as Lr, continueFiles as Ls, continueTrash as Lt, RevokeOAuthGrantErrorSpec as Lu, listTunnelRoutes as M, UserSearchResultSchema as Ma, FamilyMember as Mc, OAuthAppUpdateInput as Md, getAccountSettings as Mf, PreviewPaymentChangePlanError as Mi, DownloadLinksPayload as Ml, UnshareFileErrorSpec as Mn, FileListResponse as Mo, mapConfigurationError as Mp, updateRssFeed as Mr, StartFromErrorSpec as Ms, TrashContinueResponse as Mt, RevokeAllOAuthClientsError as Mu, AddManyTransfersError as N, approveFriendRequest as Na, FamilyMemberSchema as Nc, OAuthAppUpdateInputSchema as Nd, listAccountConfirmations as Nf, PreviewPaymentChangePlanErrorSpec as Ni, DownloadLinksPayloadSchema as Nl, cloneSharedFiles as Nn, FileMediaInfo as No, mapDecodeErrorToValidationError as Np, ClassifiedPaymentChangePlanSubmitResponse as Nr, buildFileApiContentUrl as Ns, TrashFile as Nt, RevokeAllOAuthClientsErrorSpec as Nu, ListTunnelRoutesError as O, SearchFriendsErrorSpec as Oa, CreateFamilyInviteErrorSpec as Oc, OAuthAppCreateInputSchema as Od, SaveAccountSettingsPayloadSchema as Of, PaymentSubscriptionInfoSchema as Oi, DownloadLinksCreateInput as Ol, SharingShareInputSchema as On, FileExtractionsError as Oo, isPutioErrorEnvelope as Op, pauseRssFeed as Or, RenameFileErrorSpec as Os, ListTrashErrorSpec as Ot, RegisterInput as Ou, AddManyTransfersErrorSpec as P, countWaitingRequests as Pa, JoinFamilyError as Pc, OAuthAppWithTokenSchema as Pd, saveAccountSettings as Pf, RedeemPaymentVoucherError as Pi, DownloadLinksStatus as Pl, continuePublicShareFiles as Pn, FileMediaInfoFormatSchema as Po, mapTransportError as Pp, ConfirmFastspringOrderError as Pr, buildFileApiDownloadUrl as Ps, TrashFileSchema as Pt, RevokeOAuthClientError as Pu, TransferLink as Q, ListFriendInvitesErrorSpec as Qa, EventsListQuerySchema as Qc, getPopularOAuthApps as Qd, makePutioSdkLayer as Qf, listPaymentHistory as Qi, AuthorizationCodeSchema as Ql, GetRssFeedError as Qn, FileSubtitleSchema as Qo, ListPaymentInvitesError as Qr, getApiContentUrl as Qs, GetPublicShareFileUrlError as Qt, forgotPassword as Qu, GetTransferErrorSpec as R, listSentRequests as Ra, ListFamilyMembersError as Rc, OwnedOAuthAppSchema as Rd, PutioHttpClientShape as Rf, StopSubscriptionError as Ri, createDownloadLinks as Rl, getPublicShareFileUrl as Rn, FileMediaMetadataSchema as Ro, CreateOpenNodeChargeError as Rr, continueSearch as Rs, deleteTrash as Rt, TwoFactorRecoveryCodes as Ru, ZipStatusSchema as S, ListSentRequestsErrorSpec as Sa, IftttEventType as Sc, GetOAuthAppError as Sd, AccountWarningsSchema as Sf, PaymentPlanGroup as Si, clearEvents as Sl, SharingCloneInfo as Sn, FileCreateFolderInput as So, PutioValidationError as Sp, clearRssFeedLogs as Sr, FolderTypeSchema as Ss, ContinueTrashErrorSpec as St, RecoveryCodesError as Su, createZip as T, RemoveFriendError as Ta, getIftttStatus as Tc, MyOAuthAppSchema as Td, SaveAccountSettingsError as Tf, PaymentProvider as Ti, listEvents as Tl, SharingCloneInputSchema as Tn, FileExtractionSchema as To, fallbackPutioErrorEnvelope as Tp, getRssFeed as Tr, QueryFilesError as Ts, EmptyTrashError as Tt, RegenerateRecoveryCodesErrorSpec as Tu, RetryTransferError as U, CreateFriendInviteError as Ua, joinFamily as Uc, RegenerateOAuthAppTokenError as Ud, PutioQueryValue as Uf, classifyPaymentChangePlanResponse as Ui, PutioJsonPrimitive as Ul, listSharedFiles as Un, FileQuery as Uo, CreatePaddleWaitingPaymentErrorSpec as Ur, createFileUploadRequest as Us, ContinuePublicShareFilesErrorSpec as Ut, VerifyTOTPErrorSpec as Uu, ReannounceTransferError as V, searchFriends as Va, RemoveFamilyMemberErrorSpec as Vc, QueryOAuthAppsError as Vd, PutioPathSegment as Vf, SubmitPaymentChangePlanErrorSpec as Vi, JsonValueSchema as Vl, listPublicShareFiles as Vn, FileMp4MutationError as Vo, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as Vr, convertFilesToMp4 as Vs, restoreTrash as Vt, ValidateTokenResponseSchema as Vu, RetryTransferErrorSpec as W, CreateFriendInviteErrorSpec as Wa, listFamilyInvites as Wc, RegenerateOAuthAppTokenErrorSpec as Wd, PutioSdkConfig as Wf, confirmFastspringOrder as Wi, PutioJsonValue as Wl, shareFiles as Wn, FileQuerySchema as Wo, GetPaddleBillingInvoiceUrlError as Wr, createFolder as Ws, CreatePublicShareError as Wt, VerifyTOTPResponse as Wu, TransferBaseSchema as X, FriendInviteSchema as Xa, DeleteEventErrorSpec as Xc, deleteOAuthApp as Xd, makePutioFetchLayer as Xf, getPaymentInfo as Xi, setConfigKey as Xl, DeleteRssFeedError as Xn, FileStartFromSetInput as Xo, ListPaymentHistoryError as Xr, findNextFile as Xs, GetPublicShareError as Xt, clients as Xu, TransferAddInputSchema as Y, FriendInviteJoinedUserStatusSchema as Ya, DeleteEventError as Yc, createOAuthApp as Yd, makePutioFetchClient as Yf, getPaddleBillingInvoiceUrl as Yi, readConfigWith as Yl, CreateRssFeedErrorSpec as Yn, FileSortSchema as Yo, GetPaymentVoucherInfoErrorSpec as Yr, extractFiles as Ys, DeletePublicShareErrorSpec as Yt, checkCodeMatch as Yu, TransferInfoItem as Z, ListFriendInvitesError as Za, EventsListQuery as Zc, getOAuthApp as Zd, makePutioSdkConfig as Zf, getPaymentVoucherInfo as Zi, writeConfig as Zl, DeleteRssFeedErrorSpec as Zn, FileSubtitle as Zo, ListPaymentHistoryErrorSpec as Zr, findNextVideo as Zs, GetPublicShareErrorSpec as Zt, exists as Zu, GetZipErrorSpec as _, FriendSharedFolderError as _a, setStartFrom as _c, verifyTOTP as _d, AccountInfoResponseFor as _f, PaymentInviteSchema as _i, HistoryVoucherEventSchema as _l, SharedFileSchema as _n, FileBroad as _o, PutioRateLimitError as _p, RssFeedParams as _r, FilesMoveError as _s, listTransfers as _t, LoginError as _u, PutioSdkEffectClient as a, stopPaymentSubscription as aa, getStartFrom as ac, getVoucher as ad, AccountConfirmation as af, PaymentChangePlanPreviewInput as ai, HistoryFileSharedEvent as al, ListPublicShareFilesErrorSpec as an, DownloadUrlError as ao, AnyPutioOperationError as ap, PauseRssFeedErrorSpec as ar, FileUploadErrorSpec as as, TransfersContinueResponse as at, FriendInviteLookupError as au, ZipCreateResponse as b, ListFriendsErrorSpec as ba, GetIftttStatusErrorSpec as bc, DeleteOAuthAppError as bd, AccountTwoFactorSettingsSchema as bf, PaymentOptionSchema as bi, ListEventsError as bl, SharedFileSharedWith as bn, FileConversionStatusSchema as bo, PutioTypedErrorEnvelope as bp, UpdateRssFeedError as br, FilesSearchQuerySchema as bs, stopTransferRecording as bt, LoginResponse as bu, createPutioSdkPromiseClient as c, ApproveFriendRequestErrorSpec as ca, listFileSubtitles as cc, login as cd, AccountConfirmationsErrorSpec as cf, PaymentChangePlanSubmitResponse as ci, HistoryKnownEventTypeSchema as cl, ListSharedFilesError as cn, FileActiveConversionSchema as co, PutioConfigurationError as cp, RetryAllRssFeedItemsError as cr, FileUploadResult as cs, TransfersListResponse as ct, GenerateTOTPErrorSpec as cu, CancelZipError as d, DenyFriendRequestError as da, putMp4ToMyFiles as dc, register as dd, AccountInfoBase as df, PaymentHistoryItemSchema as di, HistoryTransferCallbackErrorEventSchema as dl, PublicShareListQuery as dn, FileApiDownloadUrlOptions as do, PutioKnownErrorContract as dp, RetryRssFeedItemErrorSpec as dr, FileWatchStatusError as ds, cancelTransfers as dt, GiftCardLookupError as du, listPaymentOptions as ea, getApiMp4DownloadUrl as ec, getCode as ed, regenerateOAuthAppToken as ef, ListPaymentOptionsError as ei, GetEventTorrentError as el, GetSharedWithError as en, listFriendInvites as eo, requestArrayBuffer as ep, ListRssFeedItemsError as er, FileSubtitlesErrorSpec as es, TransferStatus as et, ClientsErrorSpec as eu, CancelZipErrorSpec as f, DenyFriendRequestErrorSpec as fa, queryFiles as fc, resetPassword as fd, AccountInfoBaseSchema as ff, PaymentHistoryQuery as fi, HistoryTransferCompletedEvent as fl, PublicShareListQuerySchema as fn, FileApiMp4DownloadUrlOptions as fo, PutioKnownOperationErrorContract as fp, RssFeed as fr, FileWatchStatusErrorSpec as fs, cleanTransfers as ft, GiftCardLookupErrorSpec as fu, GetZipError as g, FriendSchema as ga, setFilesWatchStatus as gc, validateToken as gd, AccountInfoQuerySchema as gf, PaymentInvite as gi, HistoryUploadEventSchema as gl, SharedFile as gn, FileBreadcrumbSchema as go, PutioOperationFailure as gp, RssFeedItemSucceededSchema as gr, FilesListQuerySchema as gs, getTransferInfo as gt, LinkDeviceErrorSpec as gu, CreateZipInput as h, FriendBaseSchema as ha, searchFiles as hc, revokeClient as hd, AccountInfoQuery as hf, PaymentInfoSchema as hi, HistoryTransferFromRssErrorEventSchema as hl, ShareFilesErrorSpec as hn, FileBreadcrumb as ho, PutioOperationErrorSpec as hp, RssFeedItemSchema as hr, FilesListQuery as hs, getTransfer as ht, LinkDeviceError as hu, PutioSdk as i, reportPayments as ia, getMp4Status as ic, getRecoveryCodes as id, AccountClearOptionsSchema as if, PaymentChangePlanPreview as ii, HistoryFileFromRssDeletedEventSchema as il, ListPublicShareFilesError as in, CreateFolderErrorSpec as io, selectJsonFields as ip, PauseRssFeedError as ir, FileUploadError as is, TransfersAddMultiError as it, ForgotPasswordErrorSpec as iu, TunnelRouteSchema as j, UserSearchResult as ja, FamilyInvitesResponse as jc, OAuthAppSessionSchema as jd, getAccountInfo as jf, PaymentVoucherInfoSchema as ji, DownloadLinksInfoSchema as jl, UnshareFileError as jn, FileListContinuationResponse as jo, makeResponseError as jp, retryRssFeedItem as jr, StartFromError as js, TrashBulkInput as jt, ResetPasswordErrorSpec as ju, ListTunnelRoutesErrorSpec as k, SendFriendRequestError as ka, FamilyInvite as kc, OAuthAppSchema as kd, clearAccount as kf, PaymentTypeSchema as ki, DownloadLinksCreateInputSchema as kl, SharingUnshareInput as kn, FileExtractionsErrorSpec as ko, isPutioOperationError as kp, resumeRssFeed as kr, SearchFilesError as ks, RestoreTrashError as kt, RegisterInputSchema as ku, makePutioSdkEffectClientLayer as l, CountWaitingRequestsError as la, moveFileSelection as lc, logout as ld, AccountDisk as lf, PaymentChangePlanSubmitSchema as li, HistoryPrivateTorrentPinEventSchema as ll, ListSharedFilesErrorSpec as ln, FileActiveConversionsError as lo, PutioErrorEnvelope as lp, RetryAllRssFeedItemsErrorSpec as lr, FileUploadTransfer as ls, addManyTransfers as lt, GenerateTOTPResponse as lu, CreateZipErrorSpec as m, FriendBase as ma, resetStartFrom as mc, revokeApp as md, AccountInfoBroadSchema as mf, PaymentInfoPlanSchema as mi, HistoryTransferErrorEventSchema as ml, ShareFilesError as mn, FileBaseSchema as mo, PutioOperationErrorFromSpec as mp, RssFeedItemFailedSchema as mr, FilesListEnvelopeSchema as ms, countTransfers as mt, GrantsErrorSpec as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, previewPaymentChangePlan as na, getFile as nc, getFriendInvite as nd, updateOAuthApp as nf, ListPaymentPlansError as ni, HistoryEvent as nl, GetSharingCloneInfoError as nn, ContinueFilesErrorSpec as no, requestVoid as np, ListRssFeedsError as nr, FileTypeSchema as ns, TransferType as nt, FamilyInviteLookupErrorSpec as nu, PutioSdkPromiseClient as o, submitPaymentChangePlan as oa, listActiveMp4Conversions as oc, grants as od, AccountConfirmationSchema as of, PaymentChangePlanPreviewSchema as oi, HistoryFileSharedEventSchema as ol, ListPublicSharesError as on, DownloadUrlErrorSpec as oo, PutioApiError as op, ResumeRssFeedError as or, FileUploadInput as os, TransfersListQuery as ot, FriendInviteLookupErrorSpec as ou, CreateZipError as p, Friend as pa, renameFile as pc, revokeAllClients as pd, AccountInfoBroad as pf, PaymentInfo as pi, HistoryTransferCompletedEventSchema as pl, PublicShareSchema as pn, FileBase as po, PutioOperationError as pp, RssFeedItem as pr, FilesBulkSelection as ps, continueTransfers as pt, GrantsError as pu, Transfer as q, FriendInviteJoinedUserSchema as qa, ClearEventsError as qc, buildOAuthAppIconUrl as qd, buildPutioUrl as qf, createPaddleBillingUpdatePaymentMethodTransaction as qi, getConfigKeyWith as ql, ClearRssFeedLogsErrorSpec as qn, FileSearchResponse as qo, GetPaymentInfoErrorSpec as qr, deleteFileSelection as qs, CreateSharingCloneErrorSpec as qt, VoucherLookupErrorSpec as qu, DEFAULT_PUTIO_WEB_APP_URL as r, redeemPaymentVoucher as ra, getHlsStreamUrl as rc, getGiftCard as rd, AccountClearOptions as rf, ListPaymentPlansErrorSpec as ri, HistoryEventSchema as rl, GetSharingCloneInfoErrorSpec as rn, CreateFolderError as ro, selectJsonField as rp, ListRssFeedsErrorSpec as rr, FileUploadEnvelope as rs, TransferTypeSchema as rt, ForgotPasswordError as ru, createPutioSdkEffectClient as s, ApproveFriendRequestError as sa, listFileExtractions as sc, linkDevice as sd, AccountConfirmationsError as sf, PaymentChangePlanSubmitInput as si, HistoryKnownEventType as sl, ListPublicSharesErrorSpec as sn, FileActiveConversion as so, PutioAuthError as sp, ResumeRssFeedErrorSpec as sr, FileUploadRequestDescriptor as ss, TransfersListQuerySchema as st, GenerateTOTPError as su, DEFAULT_PUTIO_API_BASE_URL as t, listPaymentPlans as ta, getDownloadUrl as tc, getFamilyInvite as td, setOAuthAppIcon as tf, ListPaymentOptionsErrorSpec as ti, GetEventTorrentErrorSpec as tl, GetSharedWithErrorSpec as tn, ContinueFilesError as to, requestJson as tp, ListRssFeedItemsErrorSpec as tr, FileType as ts, TransferStatusSchema as tt, FamilyInviteLookupError as tu, makePutioSdkLiveClientLayer as u, CountWaitingRequestsErrorSpec as ua, moveFiles as uc, regenerateRecoveryCodes as ud, AccountDiskSchema as uf, PaymentHistoryItem as ui, HistoryRssFilterPausedEventSchema as ul, PublicShare as un, FileActiveConversionsErrorSpec as uo, PutioErrorEnvelopeSchema as up, RetryRssFeedItemError as ur, FileVideoMetadata as us, addTransfer as ut, GenerateTOTPResponseSchema as uu, ListZipsError as v, FriendSharedFolderErrorSpec as va, uploadFile as vc, CreateOAuthAppError as vd, AccountSettings as vf, PaymentOption as vi, HistoryZipCreatedEvent as vl, SharedFileShare as vn, FileBroadSchema as vo, PutioSdkError as vp, RssFeedParamsSchema as vr, FilesMoveErrorSchema as vs, reannounceTransfer as vt, LoginErrorSpec as vu, cancelZip as w, ListWaitingRequestsErrorSpec as wa, SendIftttEventErrorSpec as wc, MyOAuthApp as wd, PasInfoSchema as wf, PaymentPlanTypeSchema as wi, getEventTorrent as wl, SharingCloneInput as wn, FileExtraction as wo, definePutioOperationErrorSpec as wp, deleteRssFeed as wr, GetFileErrorSpec as ws, DeleteTrashErrorSpec as wt, RegenerateRecoveryCodesError as wu, ZipInfo as x, ListSentRequestsError as xa, IftttEventInput as xc, DeleteOAuthAppErrorSpec as xd, AccountWarnings as xf, PaymentPaddleWaitingPaymentInput as xi, ListEventsErrorSpec as xl, SharedFileSharedWithSchema as xn, FileCore as xo, PutioUnhandledSdkError as xp, UpdateRssFeedErrorSpec as xr, FolderType as xs, ContinueTrashError as xt, LoginResponseSchema as xu, ListZipsErrorSpec as y, ListFriendsError as ya, GetIftttStatusError as yc, CreateOAuthAppErrorSpec as yd, AccountSettingsSchema as yf, PaymentOptionPlanTypeSchema as yi, HistoryZipCreatedEventSchema as yl, SharedFileShareSchema as yn, FileConversionStatus as yo, PutioTransportError as yp, RssFeedSchema as yr, FilesSearchQuery as ys, retryTransfer as yt, LoginInput as yu, ListTransfersError as z, listWaitingRequests as za, ListFamilyMembersErrorSpec as zc, PopularOAuthApp as zd, PutioHttpRequest as zf, StopSubscriptionErrorSpec as zi, getDownloadLinks as zl, getSharedWith as zn, FileMp4Error as zo, CreateOpenNodeChargeErrorSpec as zr, convertFileSelectionToMp4 as zs, emptyTrash as zt, TwoFactorRecoveryCodesSchema as zu };
7386
- //# sourceMappingURL=index-DG2RyX2R.d.ts.map
6588
+ export { TransferSchema as $, createFriendInvite as $a, EventsListResponse as $c, queryOAuthApps as $d, makePutioFetchLayer as $f, listPaymentInvites as $i, ClientsError as $l, GetRssFeedErrorSpec as $n, FileSubtitlesError as $o, ListPaymentInvitesErrorSpec as $r, getApiDownloadUrl as $s, GetPublicShareFileUrlErrorSpec as $t, generateTOTP as $u, TunnelRoute as A, SendFriendRequestErrorSpec as Aa, FamilyInviteSchema as Ac, OAuthAppSession as Ad, SaveAccountSettingsPayloadSchema as Af, PaymentVoucherInfo as Ai, DownloadLinksInfo as Al, SharingUnshareInputSchema as An, FileHlsStreamUrlOptions as Ao, isPutioAuthError as Ap, retryAllRssFeedItems as Ar, SearchFilesErrorSpec as As, RestoreTrashErrorSpec as At, ResetPasswordError as Au, ListTransfersErrorSpec as B, removeFriend as Ba, RemoveFamilyMemberError as Bc, PopularOAuthAppSchema as Bd, PutioHttpClient as Bf, SubmitPaymentChangePlanError as Bi, JsonObjectSchema as Bl, getSharingCloneInfo as Bn, FileMp4ErrorSpec as Bo, withOperationErrors as Bp, CreatePaddleBillingUpdatePaymentMethodTransactionError as Br, convertFileToMp4 as Bs, listTrash as Bt, ValidateTokenResponse as Bu, ZipSummary as C, ListWaitingRequestsError as Ca, SendIftttEventError as Cc, GetOAuthAppErrorSpec as Cd, AccountWarnings as Cf, PaymentPlanGroupSchema as Ci, deleteEvent as Cl, SharingCloneInfoSchema as Cn, FileDirectAccessOptions as Co, PutioTypedErrorEnvelope as Cp, createRssFeed as Cr, GetFileError as Cs, DeleteTrashError as Ct, RecoveryCodesErrorSpec as Cu, listZips as D, SearchFriendsError as Da, CreateFamilyInviteError as Dc, OAuthAppCreateInput as Dd, SaveAccountSettingsError as Df, PaymentProviderSchema as Di, CreateDownloadLinksErrorSpec as Dl, SharingShareInput as Dn, FileExtractionStatusSchema as Do, definePutioOperationErrorSpec as Dp, listRssFeeds as Dr, RenameFileError as Ds, ListTrashError as Dt, RegisterErrorSpec as Du, getZip as E, RemoveFriendErrorSpec as Ea, sendIftttEvent as Ec, OAuthApp as Ed, PasInfoSchema as Ef, PaymentProviderNameSchema as Ei, CreateDownloadLinksError as El, SharingCloneStatusSchema as En, FileExtractionStatus as Eo, decodePutioErrorEnvelope as Ep, listRssFeedItems as Er, QueryFilesErrorSpec as Es, EmptyTrashErrorSpec as Et, RegisterError as Eu, AddTransferError as F, denyFriendRequest as Fa, JoinFamilyErrorSpec as Fc, OAuthSetIconInput as Fd, listAccountConfirmations as Ff, RedeemPaymentVoucherErrorSpec as Fi, DownloadLinksStatusSchema as Fl, createPublicShare as Fn, FileMediaInfoSchema as Fo, mapConfigurationError as Fp, ConfirmFastspringOrderErrorSpec as Fr, buildFileApiMp4DownloadUrl as Fs, TrashListQuery as Ft, RevokeOAuthClientErrorSpec as Fu, StopRecordingTransferError as G, FriendInvite as Ga, listFamilyMembers as Gc, UpdateOAuthAppError as Gd, PutioQuery as Gf, createCoinbaseCharge as Gi, deleteConfigKey as Gl, unshareFile as Gn, FileRenameInput as Go, GetPaddleBillingInvoiceUrlErrorSpec as Gr, deleteFileExtraction as Gs, CreatePublicShareErrorSpec as Gt, VerifyTOTPResponseSchema as Gu, ReannounceTransferErrorSpec as H, sendFriendRequest as Ha, createFamilyInvite as Hc, QueryOAuthAppsErrorSpec as Hd, PutioHttpRequest as Hf, UserSubscriptionStatusSchema as Hi, PutioJsonObject as Hl, listPublicShares as Hn, FileMp4MutationErrorSpec as Ho, CreatePaddleWaitingPaymentError as Hr, createFileUploadFormData as Hs, ContinuePublicShareFilesError as Ht, VerifyTOTPError as Hu, AddTransferErrorSpec as I, getFriendSharedFolder as Ia, ListFamilyInvitesError as Ic, OAuthSetIconInputSchema as Id, listAccountSubtitleLanguages as If, ReportPaymentsError as Ii, GetDownloadLinksError as Il, deletePublicShare as In, FileMediaInfoStreamSchema as Io, mapDecodeErrorToValidationError as Ip, CreateCoinbaseChargeError as Ir, buildFileHlsStreamUrl as Is, TrashListResponse as It, RevokeOAuthGrantError as Iu, TransferAddInput as J, FriendInviteJoinedUserStatus as Ja, ClearEventsErrorSpec as Jc, buildOAuthAuthorizeUrl as Jd, PutioSdkConfigShape as Jf, createPaddleWaitingPayment as Ji, readConfig as Jl, CreateRssFeedError as Jn, FileSort as Jo, GetPaymentVoucherInfoError as Jr, deleteFiles as Js, DeletePublicShareError as Jt, buildAuthLoginUrl as Ju, StopRecordingTransferErrorSpec as K, FriendInviteJoinedUser as Ka, removeFamilyMember as Kc, UpdateOAuthAppErrorSpec as Kd, PutioQueryValue as Kf, createOpenNodeCharge as Ki, getConfigKey as Kl, ClearRssFeedLogsError as Kn, FileResponseFor as Ko, GetPaymentInfoError as Kr, deleteFileMp4 as Ks, CreateSharingCloneError as Kt, VoucherLookupError as Ku, GetTransferError as L, listFriends as La, ListFamilyInvitesErrorSpec as Lc, OwnedOAuthApp as Ld, saveAccountSettings as Lf, ReportPaymentsErrorSpec as Li, GetDownloadLinksErrorSpec as Ll, getPublicShare as Ln, FileMediaMetadata as Lo, mapTransportError as Lp, CreateCoinbaseChargeErrorSpec as Lr, continueFiles as Ls, continueTrash as Lt, RevokeOAuthGrantErrorSpec as Lu, listTunnelRoutes as M, UserSearchResultSchema as Ma, FamilyMember as Mc, OAuthAppUpdateInput as Md, destroyAccount as Mf, PreviewPaymentChangePlanError as Mi, DownloadLinksPayload as Ml, UnshareFileErrorSpec as Mn, FileListResponse as Mo, isPutioOperationError as Mp, updateRssFeed as Mr, StartFromErrorSpec as Ms, TrashContinueResponse as Mt, RevokeAllOAuthClientsError as Mu, AddManyTransfersError as N, approveFriendRequest as Na, FamilyMemberSchema as Nc, OAuthAppUpdateInputSchema as Nd, getAccountInfo as Nf, PreviewPaymentChangePlanErrorSpec as Ni, DownloadLinksPayloadSchema as Nl, cloneSharedFiles as Nn, FileMediaInfo as No, isPutioRateLimitError as Np, ClassifiedPaymentChangePlanSubmitResponse as Nr, buildFileApiContentUrl as Ns, TrashFile as Nt, RevokeAllOAuthClientsErrorSpec as Nu, ListTunnelRoutesError as O, SearchFriendsErrorSpec as Oa, CreateFamilyInviteErrorSpec as Oc, OAuthAppCreateInputSchema as Od, SaveAccountSettingsErrorSpec as Of, PaymentSubscriptionInfoSchema as Oi, DownloadLinksCreateInput as Ol, SharingShareInputSchema as On, FileExtractionsError as Oo, fallbackPutioErrorEnvelope as Op, pauseRssFeed as Or, RenameFileErrorSpec as Os, ListTrashErrorSpec as Ot, RegisterInput as Ou, AddManyTransfersErrorSpec as P, countWaitingRequests as Pa, JoinFamilyError as Pc, OAuthAppWithTokenSchema as Pd, getAccountSettings as Pf, RedeemPaymentVoucherError as Pi, DownloadLinksStatus as Pl, continuePublicShareFiles as Pn, FileMediaInfoFormatSchema as Po, makeResponseError as Pp, ConfirmFastspringOrderError as Pr, buildFileApiDownloadUrl as Ps, TrashFileSchema as Pt, RevokeOAuthClientError as Pu, TransferLink as Q, ListFriendInvitesErrorSpec as Qa, EventsListQuerySchema as Qc, getPopularOAuthApps as Qd, makePutioFetchClient as Qf, listPaymentHistory as Qi, AuthorizationCodeSchema as Ql, GetRssFeedError as Qn, FileSubtitleSchema as Qo, ListPaymentInvitesError as Qr, getApiContentUrl as Qs, GetPublicShareFileUrlError as Qt, forgotPassword as Qu, GetTransferErrorSpec as R, listSentRequests as Ra, ListFamilyMembersError as Rc, OwnedOAuthAppSchema as Rd, OkResponseSchema as Rf, StopSubscriptionError as Ri, createDownloadLinks as Rl, getPublicShareFileUrl as Rn, FileMediaMetadataSchema as Ro, parseErrorBody as Rp, CreateOpenNodeChargeError as Rr, continueSearch as Rs, deleteTrash as Rt, TwoFactorRecoveryCodes as Ru, ZipStatusSchema as S, ListSentRequestsErrorSpec as Sa, IftttEventType as Sc, GetOAuthAppError as Sd, AccountTwoFactorSettingsSchema as Sf, PaymentPlanGroup as Si, clearEvents as Sl, SharingCloneInfo as Sn, FileCreateFolderInput as So, PutioTransportError as Sp, clearRssFeedLogs as Sr, FolderTypeSchema as Ss, ContinueTrashErrorSpec as St, RecoveryCodesError as Su, createZip as T, RemoveFriendError as Ta, getIftttStatus as Tc, MyOAuthAppSchema as Td, PasInfo as Tf, PaymentProvider as Ti, listEvents as Tl, SharingCloneInputSchema as Tn, FileExtractionSchema as To, PutioValidationError as Tp, getRssFeed as Tr, QueryFilesError as Ts, EmptyTrashError as Tt, RegenerateRecoveryCodesErrorSpec as Tu, RetryTransferError as U, CreateFriendInviteError as Ua, joinFamily as Uc, RegenerateOAuthAppTokenError as Ud, PutioHttpResponse as Uf, classifyPaymentChangePlanResponse as Ui, PutioJsonPrimitive as Ul, listSharedFiles as Un, FileQuery as Uo, CreatePaddleWaitingPaymentErrorSpec as Ur, createFileUploadRequest as Us, ContinuePublicShareFilesErrorSpec as Ut, VerifyTOTPErrorSpec as Uu, ReannounceTransferError as V, searchFriends as Va, RemoveFamilyMemberErrorSpec as Vc, QueryOAuthAppsError as Vd, PutioHttpClientShape as Vf, SubmitPaymentChangePlanErrorSpec as Vi, JsonValueSchema as Vl, listPublicShareFiles as Vn, FileMp4MutationError as Vo, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as Vr, convertFilesToMp4 as Vs, restoreTrash as Vt, ValidateTokenResponseSchema as Vu, RetryTransferErrorSpec as W, CreateFriendInviteErrorSpec as Wa, listFamilyInvites as Wc, RegenerateOAuthAppTokenErrorSpec as Wd, PutioPathSegment as Wf, confirmFastspringOrder as Wi, PutioJsonValue as Wl, shareFiles as Wn, FileQuerySchema as Wo, GetPaddleBillingInvoiceUrlError as Wr, createFolder as Ws, CreatePublicShareError as Wt, VerifyTOTPResponse as Wu, TransferBaseSchema as X, FriendInviteSchema as Xa, DeleteEventErrorSpec as Xc, deleteOAuthApp as Xd, buildPutioUrl as Xf, getPaymentInfo as Xi, setConfigKey as Xl, DeleteRssFeedError as Xn, FileStartFromSetInput as Xo, ListPaymentHistoryError as Xr, findNextFile as Xs, GetPublicShareError as Xt, clients as Xu, TransferAddInputSchema as Y, FriendInviteJoinedUserStatusSchema as Ya, DeleteEventError as Yc, createOAuthApp as Yd, PutioSdkContext as Yf, getPaddleBillingInvoiceUrl as Yi, readConfigWith as Yl, CreateRssFeedErrorSpec as Yn, FileSortSchema as Yo, GetPaymentVoucherInfoErrorSpec as Yr, extractFiles as Ys, DeletePublicShareErrorSpec as Yt, checkCodeMatch as Yu, TransferInfoItem as Z, ListFriendInvitesError as Za, EventsListQuery as Zc, getOAuthApp as Zd, encodePathSegment as Zf, getPaymentVoucherInfo as Zi, writeConfig as Zl, DeleteRssFeedErrorSpec as Zn, FileSubtitle as Zo, ListPaymentHistoryErrorSpec as Zr, findNextVideo as Zs, GetPublicShareErrorSpec as Zt, exists as Zu, GetZipErrorSpec as _, FriendSharedFolderError as _a, setStartFrom as _c, verifyTOTP as _d, AccountInfoResponseFor as _f, PaymentInviteSchema as _i, HistoryVoucherEventSchema as _l, SharedFileSchema as _n, FileBroad as _o, PutioOperationErrorFromSpec as _p, RssFeedParams as _r, FilesMoveError as _s, listTransfers as _t, LoginError as _u, PutioSdkEffectClient as a, stopPaymentSubscription as aa, getStartFrom as ac, getVoucher as ad, AccountConfirmation as af, PaymentChangePlanPreviewInput as ai, HistoryFileSharedEvent as al, ListPublicShareFilesErrorSpec as an, DownloadUrlError as ao, requestVoid as ap, PauseRssFeedErrorSpec as ar, FileUploadErrorSpec as as, TransfersContinueResponse as at, FriendInviteLookupError as au, ZipCreateResponse as b, ListFriendsErrorSpec as ba, GetIftttStatusErrorSpec as bc, DeleteOAuthAppError as bd, AccountSubtitleLanguage as bf, PaymentOptionSchema as bi, ListEventsError as bl, SharedFileSharedWith as bn, FileConversionStatusSchema as bo, PutioRateLimitError as bp, UpdateRssFeedError as br, FilesSearchQuerySchema as bs, stopTransferRecording as bt, LoginResponse as bu, createPutioSdkPromiseClient as c, ApproveFriendRequestErrorSpec as ca, listFileSubtitles as cc, login as cd, AccountConfirmationsErrorSpec as cf, PaymentChangePlanSubmitResponse as ci, HistoryKnownEventTypeSchema as cl, ListSharedFilesError as cn, FileActiveConversionSchema as co, AnyPutioOperationError as cp, RetryAllRssFeedItemsError as cr, FileUploadResult as cs, TransfersListResponse as ct, GenerateTOTPErrorSpec as cu, CancelZipError as d, DenyFriendRequestError as da, putMp4ToMyFiles as dc, register as dd, AccountInfoBase as df, PaymentHistoryItemSchema as di, HistoryTransferCallbackErrorEventSchema as dl, PublicShareListQuery as dn, FileApiDownloadUrlOptions as do, PutioConfigurationError as dp, RetryRssFeedItemErrorSpec as dr, FileWatchStatusError as ds, cancelTransfers as dt, GiftCardLookupError as du, listPaymentOptions as ea, getApiMp4DownloadUrl as ec, getCode as ed, regenerateOAuthAppToken as ef, ListPaymentOptionsError as ei, GetEventTorrentError as el, GetSharedWithError as en, listFriendInvites as eo, makePutioSdkConfig as ep, ListRssFeedItemsError as er, FileSubtitlesErrorSpec as es, TransferStatus as et, ClientsErrorSpec as eu, CancelZipErrorSpec as f, DenyFriendRequestErrorSpec as fa, queryFiles as fc, resetPassword as fd, AccountInfoBaseSchema as ff, PaymentHistoryQuery as fi, HistoryTransferCompletedEvent as fl, PublicShareListQuerySchema as fn, FileApiMp4DownloadUrlOptions as fo, PutioErrorEnvelope as fp, RssFeed as fr, FileWatchStatusErrorSpec as fs, cleanTransfers as ft, GiftCardLookupErrorSpec as fu, GetZipError as g, FriendSchema as ga, setFilesWatchStatus as gc, validateToken as gd, AccountInfoQuerySchema as gf, PaymentInvite as gi, HistoryUploadEventSchema as gl, SharedFile as gn, FileBreadcrumbSchema as go, PutioOperationError as gp, RssFeedItemSucceededSchema as gr, FilesListQuerySchema as gs, getTransferInfo as gt, LinkDeviceErrorSpec as gu, CreateZipInput as h, FriendBaseSchema as ha, searchFiles as hc, revokeClient as hd, AccountInfoQuery as hf, PaymentInfoSchema as hi, HistoryTransferFromRssErrorEventSchema as hl, ShareFilesErrorSpec as hn, FileBreadcrumb as ho, PutioKnownOperationErrorContract as hp, RssFeedItemSchema as hr, FilesListQuery as hs, getTransfer as ht, LinkDeviceError as hu, PutioSdk as i, reportPayments as ia, getMp4Status as ic, getRecoveryCodes as id, AccountClearOptionsSchema as if, PaymentChangePlanPreview as ii, HistoryFileFromRssDeletedEventSchema as il, ListPublicShareFilesError as in, CreateFolderErrorSpec as io, requestJson as ip, PauseRssFeedError as ir, FileUploadError as is, TransfersAddMultiError as it, ForgotPasswordErrorSpec as iu, TunnelRouteSchema as j, UserSearchResult as ja, FamilyInvitesResponse as jc, OAuthAppSessionSchema as jd, clearAccount as jf, PaymentVoucherInfoSchema as ji, DownloadLinksInfoSchema as jl, UnshareFileError as jn, FileListContinuationResponse as jo, isPutioErrorEnvelope as jp, retryRssFeedItem as jr, StartFromError as js, TrashBulkInput as jt, ResetPasswordErrorSpec as ju, ListTunnelRoutesErrorSpec as k, SendFriendRequestError as ka, FamilyInvite as kc, OAuthAppSchema as kd, SaveAccountSettingsPayload as kf, PaymentTypeSchema as ki, DownloadLinksCreateInputSchema as kl, SharingUnshareInput as kn, FileExtractionsErrorSpec as ko, isPutioApiError as kp, resumeRssFeed as kr, SearchFilesError as ks, RestoreTrashError as kt, RegisterInputSchema as ku, makePutioSdkEffectClientLayer as l, CountWaitingRequestsError as la, moveFileSelection as lc, logout as ld, AccountDisk as lf, PaymentChangePlanSubmitSchema as li, HistoryPrivateTorrentPinEventSchema as ll, ListSharedFilesErrorSpec as ln, FileActiveConversionsError as lo, PutioApiError as lp, RetryAllRssFeedItemsErrorSpec as lr, FileUploadTransfer as ls, addManyTransfers as lt, GenerateTOTPResponse as lu, CreateZipErrorSpec as m, FriendBase as ma, resetStartFrom as mc, revokeApp as md, AccountInfoBroadSchema as mf, PaymentInfoPlanSchema as mi, HistoryTransferErrorEventSchema as ml, ShareFilesError as mn, FileBaseSchema as mo, PutioKnownErrorContract as mp, RssFeedItemFailedSchema as mr, FilesListEnvelopeSchema as ms, countTransfers as mt, GrantsErrorSpec as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, previewPaymentChangePlan as na, getFile as nc, getFriendInvite as nd, updateOAuthApp as nf, ListPaymentPlansError as ni, HistoryEvent as nl, GetSharingCloneInfoError as nn, ContinueFilesErrorSpec as no, makePutioSdkLiveLayer as np, ListRssFeedsError as nr, FileTypeSchema as ns, TransferType as nt, FamilyInviteLookupErrorSpec as nu, PutioSdkPromiseClient as o, submitPaymentChangePlan as oa, listActiveMp4Conversions as oc, grants as od, AccountConfirmationSchema as of, PaymentChangePlanPreviewSchema as oi, HistoryFileSharedEventSchema as ol, ListPublicSharesError as on, DownloadUrlErrorSpec as oo, selectJsonField as op, ResumeRssFeedError as or, FileUploadInput as os, TransfersListQuery as ot, FriendInviteLookupErrorSpec as ou, CreateZipError as p, Friend as pa, renameFile as pc, revokeAllClients as pd, AccountInfoBroad as pf, PaymentInfo as pi, HistoryTransferCompletedEventSchema as pl, PublicShareSchema as pn, FileBase as po, PutioErrorEnvelopeSchema as pp, RssFeedItem as pr, FilesBulkSelection as ps, continueTransfers as pt, GrantsError as pu, Transfer as q, FriendInviteJoinedUserSchema as qa, ClearEventsError as qc, buildOAuthAppIconUrl as qd, PutioSdkConfig as qf, createPaddleBillingUpdatePaymentMethodTransaction as qi, getConfigKeyWith as ql, ClearRssFeedLogsErrorSpec as qn, FileSearchResponse as qo, GetPaymentInfoErrorSpec as qr, deleteFileSelection as qs, CreateSharingCloneErrorSpec as qt, VoucherLookupErrorSpec as qu, DEFAULT_PUTIO_WEB_APP_URL as r, redeemPaymentVoucher as ra, getHlsStreamUrl as rc, getGiftCard as rd, AccountClearOptions as rf, ListPaymentPlansErrorSpec as ri, HistoryEventSchema as rl, GetSharingCloneInfoErrorSpec as rn, CreateFolderError as ro, requestArrayBuffer as rp, ListRssFeedsErrorSpec as rr, FileUploadEnvelope as rs, TransferTypeSchema as rt, ForgotPasswordError as ru, createPutioSdkEffectClient as s, ApproveFriendRequestError as sa, listFileExtractions as sc, linkDevice as sd, AccountConfirmationsError as sf, PaymentChangePlanSubmitInput as si, HistoryKnownEventType as sl, ListPublicSharesErrorSpec as sn, FileActiveConversion as so, selectJsonFields as sp, ResumeRssFeedErrorSpec as sr, FileUploadRequestDescriptor as ss, TransfersListQuerySchema as st, GenerateTOTPError as su, DEFAULT_PUTIO_API_BASE_URL as t, listPaymentPlans as ta, getDownloadUrl as tc, getFamilyInvite as td, setOAuthAppIcon as tf, ListPaymentOptionsErrorSpec as ti, GetEventTorrentErrorSpec as tl, GetSharedWithErrorSpec as tn, ContinueFilesError as to, makePutioSdkLayer as tp, ListRssFeedItemsErrorSpec as tr, FileType as ts, TransferStatusSchema as tt, FamilyInviteLookupError as tu, makePutioSdkLiveClientLayer as u, CountWaitingRequestsErrorSpec as ua, moveFiles as uc, regenerateRecoveryCodes as ud, AccountDiskSchema as uf, PaymentHistoryItem as ui, HistoryRssFilterPausedEventSchema as ul, PublicShare as un, FileActiveConversionsErrorSpec as uo, PutioAuthError as up, RetryRssFeedItemError as ur, FileVideoMetadata as us, addTransfer as ut, GenerateTOTPResponseSchema as uu, ListZipsError as v, FriendSharedFolderErrorSpec as va, uploadFile as vc, CreateOAuthAppError as vd, AccountSettings as vf, PaymentOption as vi, HistoryZipCreatedEvent as vl, SharedFileShare as vn, FileBroadSchema as vo, PutioOperationErrorSpec as vp, RssFeedParamsSchema as vr, FilesMoveErrorSchema as vs, reannounceTransfer as vt, LoginErrorSpec as vu, cancelZip as w, ListWaitingRequestsErrorSpec as wa, SendIftttEventErrorSpec as wc, MyOAuthApp as wd, AccountWarningsSchema as wf, PaymentPlanTypeSchema as wi, getEventTorrent as wl, SharingCloneInput as wn, FileExtraction as wo, PutioUnhandledSdkError as wp, deleteRssFeed as wr, GetFileErrorSpec as ws, DeleteTrashErrorSpec as wt, RegenerateRecoveryCodesError as wu, ZipInfo as x, ListSentRequestsError as xa, IftttEventInput as xc, DeleteOAuthAppErrorSpec as xd, AccountSubtitleLanguageSchema as xf, PaymentPaddleWaitingPaymentInput as xi, ListEventsErrorSpec as xl, SharedFileSharedWithSchema as xn, FileCore as xo, PutioSdkError as xp, UpdateRssFeedErrorSpec as xr, FolderType as xs, ContinueTrashError as xt, LoginResponseSchema as xu, ListZipsErrorSpec as y, ListFriendsError as ya, GetIftttStatusError as yc, CreateOAuthAppErrorSpec as yd, AccountSettingsSchema as yf, PaymentOptionPlanTypeSchema as yi, HistoryZipCreatedEventSchema as yl, SharedFileShareSchema as yn, FileConversionStatus as yo, PutioOperationFailure as yp, RssFeedSchema as yr, FilesSearchQuery as ys, retryTransfer as yt, LoginInput as yu, ListTransfersError as z, listWaitingRequests as za, ListFamilyMembersErrorSpec as zc, PopularOAuthApp as zd, PutioAuth as zf, StopSubscriptionErrorSpec as zi, getDownloadLinks as zl, getSharedWith as zn, FileMp4Error as zo, responseRateLimitHeaders as zp, CreateOpenNodeChargeErrorSpec as zr, convertFileSelectionToMp4 as zs, emptyTrash as zt, TwoFactorRecoveryCodesSchema as zu };
6589
+ //# sourceMappingURL=index-BV-E0c_X.d.ts.map