@putdotio/sdk 10.0.1 → 10.2.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,24 +1,31 @@
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<{
4
+ readonly status: Schema.optional<Schema.String>;
5
5
  readonly error_message: Schema.optional<Schema.String>;
6
6
  readonly error_type: Schema.optional<Schema.String>;
7
+ readonly error_uri: Schema.optional<Schema.String>;
8
+ readonly error_id: Schema.optional<Schema.NullOr<Schema.String>>;
9
+ readonly extra: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
7
10
  readonly status_code: Schema.optional<Schema.Int>;
8
11
  readonly details: Schema.optional<Schema.Unknown>;
9
12
  }>;
10
13
  type PutioErrorEnvelope = Schema.Schema.Type<typeof PutioErrorEnvelopeSchema>;
11
- interface PutioKnownErrorContract<TType extends string = string, TStatus extends number = number> {
14
+ interface PutioKnownErrorContract<TType extends string = string, TStatus extends number = number, TBody extends PutioErrorEnvelope = PutioErrorEnvelope> {
15
+ readonly bodySchema?: Schema.Schema<TBody> | undefined;
12
16
  readonly errorType?: TType | undefined;
13
17
  readonly statusCode?: TStatus | undefined;
14
18
  }
15
19
  type ContractErrorType<TContract extends PutioKnownErrorContract> = TContract extends PutioKnownErrorContract<infer TType, number> ? TType : never;
16
20
  type ContractStatusCode<TContract extends PutioKnownErrorContract> = TContract extends PutioKnownErrorContract<string, infer TStatus> ? TStatus : never;
17
- type PutioTypedErrorEnvelope<TContract extends PutioKnownErrorContract> = Omit<PutioErrorEnvelope, "error_message" | "error_type" | "status_code"> & {
21
+ type ContractBody<TContract extends PutioKnownErrorContract> = TContract extends {
22
+ readonly bodySchema: Schema.Schema<infer TBody extends PutioErrorEnvelope>;
23
+ } ? TBody : PutioErrorEnvelope;
24
+ type PutioTypedErrorEnvelope<TContract extends PutioKnownErrorContract> = TContract extends PutioKnownErrorContract ? Omit<ContractBody<TContract>, "error_message" | "error_type" | "status_code"> & {
18
25
  readonly error_message?: string;
19
26
  readonly error_type?: [ContractErrorType<TContract>] extends [never] ? string : ContractErrorType<TContract>;
20
27
  readonly status_code?: [ContractStatusCode<TContract>] extends [never] ? number : ContractStatusCode<TContract>;
21
- };
28
+ } : never;
22
29
  interface PutioOperationErrorSpec<TDomain extends string = string, TOperation extends string = string, TContracts extends ReadonlyArray<PutioKnownErrorContract> = ReadonlyArray<PutioKnownErrorContract>> {
23
30
  readonly domain: TDomain;
24
31
  readonly operation: TOperation;
@@ -44,19 +51,19 @@ type PutioKnownOperationErrorContract = {
44
51
  readonly errorType?: undefined;
45
52
  readonly statusCode: number;
46
53
  };
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 & {
54
+ 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
55
  readonly _tag: "PutioTransportError";
49
56
  } & Readonly<A>;
50
57
  declare class PutioTransportError extends PutioTransportError_base<{
51
58
  readonly cause: unknown;
52
59
  }> {}
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 & {
60
+ 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
61
  readonly _tag: "PutioConfigurationError";
55
62
  } & Readonly<A>;
56
63
  declare class PutioConfigurationError extends PutioConfigurationError_base<{
57
64
  readonly cause: unknown;
58
65
  }> {}
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 & {
66
+ 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
67
  readonly _tag: "PutioValidationError";
61
68
  } & Readonly<A>;
62
69
  declare class PutioValidationError extends PutioValidationError_base<{
@@ -65,8 +72,12 @@ declare class PutioValidationError extends PutioValidationError_base<{
65
72
  declare const PutioApiError_base: Schema.Class<PutioApiError, Schema.TaggedStruct<"PutioApiError", {
66
73
  readonly status: Schema.Int;
67
74
  readonly body: Schema.Struct<{
75
+ readonly status: Schema.optional<Schema.String>;
68
76
  readonly error_message: Schema.optional<Schema.String>;
69
77
  readonly error_type: Schema.optional<Schema.String>;
78
+ readonly error_uri: Schema.optional<Schema.String>;
79
+ readonly error_id: Schema.optional<Schema.NullOr<Schema.String>>;
80
+ readonly extra: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
70
81
  readonly status_code: Schema.optional<Schema.Int>;
71
82
  readonly details: Schema.optional<Schema.Unknown>;
72
83
  }>;
@@ -75,30 +86,38 @@ declare class PutioApiError extends PutioApiError_base {}
75
86
  declare const PutioAuthError_base: Schema.Class<PutioAuthError, Schema.TaggedStruct<"PutioAuthError", {
76
87
  readonly status: Schema.Int;
77
88
  readonly body: Schema.Struct<{
89
+ readonly status: Schema.optional<Schema.String>;
78
90
  readonly error_message: Schema.optional<Schema.String>;
79
91
  readonly error_type: Schema.optional<Schema.String>;
92
+ readonly error_uri: Schema.optional<Schema.String>;
93
+ readonly error_id: Schema.optional<Schema.NullOr<Schema.String>>;
94
+ readonly extra: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
80
95
  readonly status_code: Schema.optional<Schema.Int>;
81
96
  readonly details: Schema.optional<Schema.Unknown>;
82
97
  }>;
83
98
  }>, import("effect/Cause").YieldableError>;
84
99
  declare class PutioAuthError extends PutioAuthError_base {}
85
100
  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
101
  readonly status: Schema.Int;
93
102
  readonly body: Schema.Struct<{
103
+ readonly status: Schema.optional<Schema.String>;
94
104
  readonly error_message: Schema.optional<Schema.String>;
95
105
  readonly error_type: Schema.optional<Schema.String>;
106
+ readonly error_uri: Schema.optional<Schema.String>;
107
+ readonly error_id: Schema.optional<Schema.NullOr<Schema.String>>;
108
+ readonly extra: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
96
109
  readonly status_code: Schema.optional<Schema.Int>;
97
110
  readonly details: Schema.optional<Schema.Unknown>;
98
111
  }>;
112
+ readonly action: Schema.optional<Schema.String>;
113
+ readonly id: Schema.optional<Schema.String>;
114
+ readonly limit: Schema.optional<Schema.String>;
115
+ readonly remaining: Schema.optional<Schema.String>;
116
+ readonly retryAfter: Schema.optional<Schema.String>;
117
+ readonly reset: Schema.optional<Schema.String>;
99
118
  }>, import("effect/Cause").YieldableError>;
100
119
  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 & {
120
+ 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
121
  readonly _tag: "PutioOperationError";
103
122
  } & Readonly<A>;
104
123
  declare class PutioOperationError<TDomain extends string, TOperation extends string, TContract extends PutioKnownOperationErrorContract> extends PutioOperationError_base<{
@@ -116,9 +135,15 @@ type PutioOperationFailure<TSpec extends PutioOperationErrorSpec> = PutioUnhandl
116
135
  type AnyPutioOperationError = PutioOperationError<string, string, PutioKnownOperationErrorContract>;
117
136
  declare const definePutioOperationErrorSpec: <const TDomain extends string, const TOperation extends string, const TContracts extends ReadonlyArray<PutioKnownErrorContract>>(spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>) => PutioOperationErrorSpec<TDomain, TOperation, TContracts>;
118
137
  declare const decodePutioErrorEnvelope: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<{
138
+ readonly status?: string | undefined;
139
+ readonly error_message?: string | undefined;
119
140
  readonly error_type?: string | undefined;
141
+ readonly error_uri?: string | undefined;
142
+ readonly error_id?: string | null | undefined;
143
+ readonly extra?: {
144
+ readonly [x: string]: unknown;
145
+ } | undefined;
120
146
  readonly status_code?: number | undefined;
121
- readonly error_message?: string | undefined;
122
147
  readonly details?: unknown;
123
148
  }, Schema.SchemaError, never>;
124
149
  declare const isPutioErrorEnvelope: (value: unknown) => value is PutioErrorEnvelope;
@@ -140,9 +165,15 @@ declare const mapConfigurationError: (cause: unknown) => PutioConfigurationError
140
165
  declare const mapTransportError: (cause: unknown) => PutioTransportError;
141
166
  declare const makeResponseError: (status: number, headers: Headers, body: PutioErrorEnvelope) => PutioSdkError;
142
167
  declare const parseErrorBody: (status: number, json: unknown) => Effect.Effect<{
168
+ readonly status?: string | undefined;
169
+ readonly error_message?: string | undefined;
143
170
  readonly error_type?: string | undefined;
171
+ readonly error_uri?: string | undefined;
172
+ readonly error_id?: string | null | undefined;
173
+ readonly extra?: {
174
+ readonly [x: string]: unknown;
175
+ } | undefined;
144
176
  readonly status_code?: number | undefined;
145
- readonly error_message?: string | undefined;
146
177
  readonly details?: unknown;
147
178
  }, never, never>;
148
179
  declare function withOperationErrors<A, E extends PutioSdkError, R, const TDomain extends string, const TOperation extends string, const TContracts extends ReadonlyArray<PutioKnownErrorContract>>(effect: Effect.Effect<A, E, R>, spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>): Effect.Effect<A, E | PutioOperationError<TDomain, TOperation, OperationContractOfParts<TDomain, TOperation, TContracts>>, R>;
@@ -180,7 +211,7 @@ declare class PutioHttpClient extends PutioHttpClient_base {}
180
211
  type PutioSdkContext = PutioSdkConfig | PutioHttpClient;
181
212
  declare const makePutioSdkConfig: (config: PutioSdkConfigShape) => PutioSdkConfigShape;
182
213
  declare const makePutioSdkLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig, never, never>;
183
- declare const makePutioSdkLiveLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig | PutioHttpClient, never, never>;
214
+ declare const makePutioSdkLiveLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioHttpClient | PutioSdkConfig, never, never>;
184
215
  declare const makePutioFetchLayer: (fetchImplementation?: typeof globalThis.fetch) => Layer.Layer<PutioHttpClient, never, never>;
185
216
  declare const makePutioFetchClient: (fetchImplementation?: typeof globalThis.fetch) => PutioHttpClientShape;
186
217
  declare const encodePathSegment: (value: PutioPathSegment) => string;
@@ -223,8 +254,8 @@ interface PutioRequestOptions {
223
254
  readonly body?: PutioRequestBody;
224
255
  }
225
256
  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>;
257
+ 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>;
258
+ 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
259
  declare const requestArrayBuffer: (options: PutioRequestOptions) => Effect.Effect<Uint8Array, PutioSdkError, PutioSdkContext>;
229
260
  declare const requestVoid: (options: PutioRequestOptions) => Effect.Effect<void, PutioSdkError, PutioSdkContext>;
230
261
  //#endregion
@@ -329,7 +360,7 @@ declare const AccountInfoQuerySchema: Schema.Struct<{
329
360
  readonly features: Schema.optional<Schema.Literal<1>>;
330
361
  readonly intercom: Schema.optional<Schema.Literal<1>>;
331
362
  readonly pas: Schema.optional<Schema.Literal<1>>;
332
- readonly platform: Schema.optional<Schema.String>;
363
+ readonly platform: Schema.optional<Schema.Literals<readonly ["web", "ios"]>>;
333
364
  readonly profitwell: Schema.optional<Schema.Literal<1>>;
334
365
  readonly push_token: Schema.optional<Schema.Literal<1>>;
335
366
  }>;
@@ -389,18 +420,53 @@ declare const AccountInfoBroadSchema: Schema.Struct<{
389
420
  }>;
390
421
  readonly download_token: Schema.optional<Schema.String>;
391
422
  readonly features: Schema.optional<Schema.$Record<Schema.String, Schema.Boolean>>;
392
- readonly paddle_user_id: Schema.optional<Schema.NullOr<Schema.Int>>;
423
+ readonly paddle_user_id: Schema.optional<Schema.NullOr<Schema.Union<readonly [Schema.Int, Schema.String]>>>;
393
424
  readonly pas: Schema.optional<Schema.Struct<{
394
425
  readonly user_hash: Schema.String;
395
426
  }>>;
396
427
  readonly push_token: Schema.optional<Schema.String>;
397
428
  readonly user_hash: Schema.optional<Schema.String>;
398
429
  }>;
430
+ declare const AccountSubtitleLanguageSchema: Schema.Struct<{
431
+ readonly code: Schema.String;
432
+ readonly name: Schema.String;
433
+ }>;
399
434
  declare const AccountTwoFactorSettingsSchema: Schema.Struct<{
400
435
  readonly code: Schema.String;
401
436
  readonly enable: Schema.Boolean;
402
437
  }>;
403
438
  declare const SaveAccountSettingsPayloadSchema: Schema.Union<readonly [Schema.Struct<{
439
+ beta_user: Schema.optional<Schema.Boolean>;
440
+ callback_url: Schema.optional<Schema.NullOr<Schema.String>>;
441
+ dark_theme: Schema.optional<Schema.Boolean>;
442
+ default_download_folder: Schema.optional<Schema.Int>;
443
+ dont_autoselect_subtitles: Schema.optional<Schema.Boolean>;
444
+ fluid_layout: Schema.optional<Schema.Boolean>;
445
+ hide_subtitles: Schema.optional<Schema.Boolean>;
446
+ history_enabled: Schema.optional<Schema.Boolean>;
447
+ is_invisible: Schema.optional<Schema.Boolean>;
448
+ locale: Schema.optional<Schema.NullOr<Schema.String>>;
449
+ login_mails_enabled: Schema.optional<Schema.Boolean>;
450
+ next_episode: Schema.optional<Schema.Boolean>;
451
+ pushover_token: Schema.optional<Schema.NullOr<Schema.String>>;
452
+ show_optimistic_usage: Schema.optional<Schema.Boolean>;
453
+ sort_by: Schema.optional<Schema.String>;
454
+ start_from: Schema.optional<Schema.Boolean>;
455
+ subtitle_languages: Schema.optional<Schema.$Array<Schema.NullOr<Schema.String>>>;
456
+ theater_mode: Schema.optional<Schema.Boolean>;
457
+ theme: Schema.optional<Schema.Literals<readonly ["dark", "light", "auto"]>>;
458
+ transfer_sort_by: Schema.optional<Schema.NullOr<Schema.String>>;
459
+ trash_enabled: Schema.optional<Schema.Boolean>;
460
+ tunnel_route_name: Schema.optional<Schema.NullOr<Schema.String>>;
461
+ use_private_download_ip: Schema.optional<Schema.Boolean>;
462
+ use_start_from: Schema.optional<Schema.Boolean>;
463
+ video_player: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["html5", "flash"]>>>;
464
+ two_factor_enabled: Schema.optional<Schema.Struct<{
465
+ readonly code: Schema.String;
466
+ readonly enable: Schema.Boolean;
467
+ }>>;
468
+ username: Schema.optional<Schema.String>;
469
+ }>, Schema.Struct<{
404
470
  readonly beta_user: Schema.optional<Schema.Boolean>;
405
471
  readonly callback_url: Schema.optional<Schema.NullOr<Schema.String>>;
406
472
  readonly dark_theme: Schema.optional<Schema.Boolean>;
@@ -423,23 +489,51 @@ declare const SaveAccountSettingsPayloadSchema: Schema.Union<readonly [Schema.St
423
489
  readonly transfer_sort_by: Schema.optional<Schema.NullOr<Schema.String>>;
424
490
  readonly trash_enabled: Schema.optional<Schema.Boolean>;
425
491
  readonly tunnel_route_name: Schema.optional<Schema.NullOr<Schema.String>>;
426
- readonly two_factor_enabled: Schema.optional<Schema.Boolean>;
427
492
  readonly use_private_download_ip: Schema.optional<Schema.Boolean>;
428
493
  readonly use_start_from: Schema.optional<Schema.Boolean>;
429
494
  readonly video_player: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["html5", "flash"]>>>;
430
- }>, Schema.Struct<{
431
- readonly username: Schema.String;
432
- }>, Schema.Struct<{
495
+ readonly two_factor_enabled: Schema.optional<Schema.Struct<{
496
+ readonly code: Schema.String;
497
+ readonly enable: Schema.Boolean;
498
+ }>>;
499
+ readonly username: Schema.optional<Schema.String>;
433
500
  readonly current_password: Schema.String;
434
501
  readonly mail: Schema.String;
502
+ readonly password: Schema.optional<Schema.String>;
435
503
  }>, Schema.Struct<{
436
- readonly current_password: Schema.String;
437
- readonly password: Schema.String;
438
- }>, Schema.Struct<{
439
- readonly two_factor_enabled: Schema.Struct<{
504
+ readonly beta_user: Schema.optional<Schema.Boolean>;
505
+ readonly callback_url: Schema.optional<Schema.NullOr<Schema.String>>;
506
+ readonly dark_theme: Schema.optional<Schema.Boolean>;
507
+ readonly default_download_folder: Schema.optional<Schema.Int>;
508
+ readonly dont_autoselect_subtitles: Schema.optional<Schema.Boolean>;
509
+ readonly fluid_layout: Schema.optional<Schema.Boolean>;
510
+ readonly hide_subtitles: Schema.optional<Schema.Boolean>;
511
+ readonly history_enabled: Schema.optional<Schema.Boolean>;
512
+ readonly is_invisible: Schema.optional<Schema.Boolean>;
513
+ readonly locale: Schema.optional<Schema.NullOr<Schema.String>>;
514
+ readonly login_mails_enabled: Schema.optional<Schema.Boolean>;
515
+ readonly next_episode: Schema.optional<Schema.Boolean>;
516
+ readonly pushover_token: Schema.optional<Schema.NullOr<Schema.String>>;
517
+ readonly show_optimistic_usage: Schema.optional<Schema.Boolean>;
518
+ readonly sort_by: Schema.optional<Schema.String>;
519
+ readonly start_from: Schema.optional<Schema.Boolean>;
520
+ readonly subtitle_languages: Schema.optional<Schema.$Array<Schema.NullOr<Schema.String>>>;
521
+ readonly theater_mode: Schema.optional<Schema.Boolean>;
522
+ readonly theme: Schema.optional<Schema.Literals<readonly ["dark", "light", "auto"]>>;
523
+ readonly transfer_sort_by: Schema.optional<Schema.NullOr<Schema.String>>;
524
+ readonly trash_enabled: Schema.optional<Schema.Boolean>;
525
+ readonly tunnel_route_name: Schema.optional<Schema.NullOr<Schema.String>>;
526
+ readonly use_private_download_ip: Schema.optional<Schema.Boolean>;
527
+ readonly use_start_from: Schema.optional<Schema.Boolean>;
528
+ readonly video_player: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["html5", "flash"]>>>;
529
+ readonly two_factor_enabled: Schema.optional<Schema.Struct<{
440
530
  readonly code: Schema.String;
441
531
  readonly enable: Schema.Boolean;
442
- }>;
532
+ }>>;
533
+ readonly username: Schema.optional<Schema.String>;
534
+ readonly current_password: Schema.String;
535
+ readonly mail: Schema.optional<Schema.String>;
536
+ readonly password: Schema.String;
443
537
  }>]>;
444
538
  declare const AccountClearOptionsSchema: Schema.Struct<{
445
539
  readonly active_transfers: Schema.Boolean;
@@ -465,16 +559,17 @@ type AccountInfoBroad = Schema.Schema.Type<typeof AccountInfoBroadSchema>;
465
559
  type SaveAccountSettingsPayload = Schema.Schema.Type<typeof SaveAccountSettingsPayloadSchema>;
466
560
  type AccountClearOptions = Schema.Schema.Type<typeof AccountClearOptionsSchema>;
467
561
  type AccountConfirmation = Schema.Schema.Type<typeof AccountConfirmationSchema>;
562
+ type AccountSubtitleLanguage = Schema.Schema.Type<typeof AccountSubtitleLanguageSchema>;
468
563
  type AccountInfoResponseFor<TQuery extends AccountInfoQuery> = AccountInfoBase & (TQuery["download_token"] extends 1 ? {
469
564
  readonly download_token: string;
470
565
  } : {}) & (TQuery["features"] extends 1 ? {
471
566
  readonly features: Record<string, boolean>;
472
567
  } : {}) & (TQuery["intercom"] extends 1 ? {
473
- readonly user_hash: string;
568
+ readonly user_hash?: string;
474
569
  } : {}) & (TQuery["pas"] extends 1 ? {
475
570
  readonly pas: PasInfo;
476
571
  } : {}) & (TQuery["profitwell"] extends 1 ? {
477
- readonly paddle_user_id: number | null;
572
+ readonly paddle_user_id: number | string | null;
478
573
  } : {}) & (TQuery["push_token"] extends 1 ? {
479
574
  readonly push_token: string;
480
575
  } : {});
@@ -558,9 +653,9 @@ declare function getAccountInfo(query: {
558
653
  }, PutioSdkError, PutioSdkContext>;
559
654
  declare function getAccountInfo(query: {
560
655
  readonly intercom: 1;
561
- readonly platform?: string;
656
+ readonly platform?: "web" | "ios";
562
657
  }): Effect.Effect<AccountInfoBase & {
563
- readonly user_hash: string;
658
+ readonly user_hash?: string;
564
659
  }, PutioSdkError, PutioSdkContext>;
565
660
  declare function getAccountInfo(query: {
566
661
  readonly pas: 1;
@@ -570,7 +665,7 @@ declare function getAccountInfo(query: {
570
665
  declare function getAccountInfo(query: {
571
666
  readonly profitwell: 1;
572
667
  }): Effect.Effect<AccountInfoBase & {
573
- readonly paddle_user_id: number | null;
668
+ readonly paddle_user_id: number | string | null;
574
669
  }, PutioSdkError, PutioSdkContext>;
575
670
  declare function getAccountInfo(query: {
576
671
  readonly push_token: 1;
@@ -580,11 +675,74 @@ declare function getAccountInfo(query: {
580
675
  declare function getAccountInfo(): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext>;
581
676
  declare function getAccountInfo(query: AccountInfoQuery): Effect.Effect<AccountInfoBroad, PutioSdkError, PutioSdkContext>;
582
677
  declare const getAccountSettings: () => Effect.Effect<AccountSettings, PutioSdkError, PutioSdkContext>;
678
+ declare const listAccountSubtitleLanguages: () => Effect.Effect<ReadonlyArray<AccountSubtitleLanguage>, PutioSdkError, PutioSdkContext>;
583
679
  declare const saveAccountSettings: (payload: SaveAccountSettingsPayload) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, SaveAccountSettingsError, PutioSdkContext>;
584
680
  declare const clearAccount: (options: AccountClearOptions) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
585
681
  declare const destroyAccount: (currentPassword: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
586
682
  declare const listAccountConfirmations: (subject?: AccountConfirmation["subject"]) => Effect.Effect<ReadonlyArray<AccountConfirmation>, AccountConfirmationsError, PutioSdkContext>;
587
683
  //#endregion
684
+ //#region src/domains/app-specific-passwords.d.ts
685
+ declare const AppSpecificPasswordSchema: Schema.Struct<{
686
+ readonly created_at: Schema.String;
687
+ readonly id: Schema.Int;
688
+ readonly ip_address: Schema.NullOr<Schema.String>;
689
+ readonly last_used_at: Schema.NullOr<Schema.String>;
690
+ readonly note: Schema.String;
691
+ }>;
692
+ declare const CreateAppSpecificPasswordInputSchema: Schema.Struct<{
693
+ readonly note: Schema.Trim;
694
+ }>;
695
+ type AppSpecificPassword = Schema.Schema.Type<typeof AppSpecificPasswordSchema>;
696
+ type CreateAppSpecificPasswordInput = Schema.Schema.Type<typeof CreateAppSpecificPasswordInputSchema>;
697
+ type CreateAppSpecificPasswordResult = AppSpecificPassword & {
698
+ readonly password: string;
699
+ };
700
+ declare const CreateAppSpecificPasswordErrorSpec: PutioOperationErrorSpec<"account", "appSpecificPasswords.create", readonly [{
701
+ readonly errorType: "NOTE_REQUIRED";
702
+ readonly statusCode: 400;
703
+ }, {
704
+ readonly errorType: "NOTE_TOO_LONG";
705
+ readonly statusCode: 400;
706
+ }, {
707
+ readonly bodySchema: Schema.Struct<{
708
+ readonly status: Schema.optional<Schema.String>;
709
+ readonly error_message: Schema.optional<Schema.String>;
710
+ readonly error_type: Schema.optional<Schema.String>;
711
+ readonly error_uri: Schema.optional<Schema.String>;
712
+ readonly error_id: Schema.optional<Schema.NullOr<Schema.String>>;
713
+ readonly status_code: Schema.optional<Schema.Int>;
714
+ readonly details: Schema.optional<Schema.Unknown>;
715
+ readonly extra: Schema.Struct<{
716
+ readonly limit: Schema.Int;
717
+ }>;
718
+ }>;
719
+ readonly errorType: "TOO_MANY_APP_SPECIFIC_PASSWORDS";
720
+ readonly statusCode: 403;
721
+ }, {
722
+ readonly errorType: "invalid_scope";
723
+ readonly statusCode: 401;
724
+ }]>;
725
+ declare const ListAppSpecificPasswordsErrorSpec: PutioOperationErrorSpec<"account", "appSpecificPasswords.list", readonly [{
726
+ readonly errorType: "invalid_scope";
727
+ readonly statusCode: 401;
728
+ }]>;
729
+ declare const DeleteAppSpecificPasswordErrorSpec: PutioOperationErrorSpec<"account", "appSpecificPasswords.delete", readonly [{
730
+ readonly errorType: "invalid_scope";
731
+ readonly statusCode: 401;
732
+ }]>;
733
+ declare const DeleteAllAppSpecificPasswordsErrorSpec: PutioOperationErrorSpec<"account", "appSpecificPasswords.deleteAll", readonly [{
734
+ readonly errorType: "invalid_scope";
735
+ readonly statusCode: 401;
736
+ }]>;
737
+ type CreateAppSpecificPasswordError = PutioOperationFailure<typeof CreateAppSpecificPasswordErrorSpec>;
738
+ type ListAppSpecificPasswordsError = PutioOperationFailure<typeof ListAppSpecificPasswordsErrorSpec>;
739
+ type DeleteAppSpecificPasswordError = PutioOperationFailure<typeof DeleteAppSpecificPasswordErrorSpec>;
740
+ type DeleteAllAppSpecificPasswordsError = PutioOperationFailure<typeof DeleteAllAppSpecificPasswordsErrorSpec>;
741
+ declare const createAppSpecificPassword: (input: CreateAppSpecificPasswordInput) => Effect.Effect<CreateAppSpecificPasswordResult, CreateAppSpecificPasswordError, PutioSdkContext>;
742
+ declare const listAppSpecificPasswords: () => Effect.Effect<ReadonlyArray<AppSpecificPassword>, ListAppSpecificPasswordsError, PutioSdkContext>;
743
+ declare const deleteAppSpecificPassword: (id: number) => Effect.Effect<void, DeleteAppSpecificPasswordError, PutioSdkContext>;
744
+ declare const deleteAllAppSpecificPasswords: () => Effect.Effect<void, DeleteAllAppSpecificPasswordsError, PutioSdkContext>;
745
+ //#endregion
588
746
  //#region src/domains/oauth.d.ts
589
747
  declare const OAuthAppSchema: Schema.Struct<{
590
748
  readonly description: Schema.String;
@@ -1056,8 +1214,8 @@ type PutioJsonValue = PutioJsonPrimitive | {
1056
1214
  type PutioJsonObject = {
1057
1215
  readonly [key: string]: PutioJsonValue;
1058
1216
  };
1059
- declare const JsonValueSchema: Schema.refine<PutioJsonValue, Schema.Unknown>;
1060
- declare const JsonObjectSchema: Schema.refine<PutioJsonObject, Schema.Unknown>;
1217
+ declare const JsonValueSchema: Schema.declareConstructor<PutioJsonValue, PutioJsonValue, readonly [], PutioJsonValue>;
1218
+ declare const JsonObjectSchema: Schema.declareConstructor<PutioJsonObject, PutioJsonObject, readonly [], PutioJsonObject>;
1061
1219
  declare const readConfig: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
1062
1220
  declare const readConfigWith: <A>(schema: Schema.ConstraintDecoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
1063
1221
  declare const writeConfig: (config: PutioJsonObject) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
@@ -2180,7 +2338,7 @@ declare const FileConversionStatusSchema: Schema.Union<readonly [Schema.Struct<{
2180
2338
  readonly status: Schema.Literal<"NOT_AVAILABLE">;
2181
2339
  }>, Schema.Struct<{
2182
2340
  readonly id: Schema.Int;
2183
- readonly percent_done: Schema.Number;
2341
+ readonly percent_done: Schema.optional<Schema.Number>;
2184
2342
  readonly status: Schema.Literal<"IN_QUEUE">;
2185
2343
  }>, Schema.Struct<{
2186
2344
  readonly id: Schema.Int;
@@ -2201,7 +2359,7 @@ declare const FileActiveConversionSchema: Schema.Union<readonly [Schema.Struct<{
2201
2359
  name: Schema.String;
2202
2360
  }>, Schema.Struct<{
2203
2361
  readonly id: Schema.Int;
2204
- readonly percent_done: Schema.Number;
2362
+ readonly percent_done: Schema.optional<Schema.Number>;
2205
2363
  readonly status: Schema.Literal<"IN_QUEUE">;
2206
2364
  name: Schema.String;
2207
2365
  }>, Schema.Struct<{
@@ -5207,1249 +5365,479 @@ declare const cancelZip: (id: number) => Effect.Effect<void, CancelZipError, Put
5207
5365
  //#region src/core/client.d.ts
5208
5366
  declare const createPutioSdkEffectClient: () => {
5209
5367
  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>;
5368
+ appSpecificPasswords: {
5369
+ create: typeof createAppSpecificPassword;
5370
+ delete: typeof deleteAppSpecificPassword;
5371
+ deleteAll: typeof deleteAllAppSpecificPasswords;
5372
+ list: typeof listAppSpecificPasswords;
5373
+ };
5374
+ clear: typeof clearAccount;
5375
+ destroy: typeof destroyAccount;
5212
5376
  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>;
5377
+ getSettings: typeof getAccountSettings;
5378
+ listSubtitleLanguages: typeof listAccountSubtitleLanguages;
5379
+ listConfirmations: typeof listAccountConfirmations;
5380
+ saveSettings: typeof saveAccountSettings;
5216
5381
  };
5217
5382
  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>;
5383
+ buildLoginUrl: typeof buildAuthLoginUrl;
5384
+ checkCodeMatch: typeof checkCodeMatch;
5385
+ clients: typeof clients;
5386
+ exists: typeof exists;
5387
+ forgotPassword: typeof forgotPassword;
5388
+ getCode: typeof getCode;
5389
+ getFamilyInvite: typeof getFamilyInvite;
5390
+ getFriendInvite: typeof getFriendInvite;
5391
+ getGiftCard: typeof getGiftCard;
5392
+ getVoucher: typeof getVoucher;
5393
+ grants: typeof grants;
5394
+ linkDevice: typeof linkDevice;
5395
+ login: typeof login;
5396
+ logout: typeof logout;
5397
+ register: typeof register;
5398
+ resetPassword: typeof resetPassword;
5399
+ revokeAllClients: typeof revokeAllClients;
5400
+ revokeApp: typeof revokeApp;
5401
+ revokeClient: typeof revokeClient;
5279
5402
  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>;
5403
+ generateTOTP: typeof generateTOTP;
5404
+ getRecoveryCodes: typeof getRecoveryCodes;
5405
+ regenerateRecoveryCodes: typeof regenerateRecoveryCodes;
5406
+ verifyTOTP: typeof verifyTOTP;
5284
5407
  };
5285
- validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
5408
+ validateToken: typeof validateToken;
5286
5409
  };
5287
5410
  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.ConstraintDecoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5291
- read: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
5292
- readWith: <A>(schema: Schema.ConstraintDecoder<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>;
5411
+ deleteKey: typeof deleteConfigKey;
5412
+ getKey: typeof getConfigKey;
5413
+ getKeyWith: typeof getConfigKeyWith;
5414
+ read: typeof readConfig;
5415
+ readWith: typeof readConfigWith;
5416
+ setKey: typeof setConfigKey;
5417
+ write: typeof writeConfig;
5295
5418
  };
5296
5419
  downloadLinks: {
5297
- create: (input?: DownloadLinksCreateInput) => Effect.Effect<{
5298
- readonly id: number;
5299
- }, CreateDownloadLinksError, PutioSdkContext>;
5300
- get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
5420
+ create: typeof createDownloadLinks;
5421
+ get: typeof getDownloadLinks;
5301
5422
  };
5302
5423
  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>;
5424
+ clear: typeof clearEvents;
5425
+ delete: typeof deleteEvent;
5426
+ getTorrent: typeof getEventTorrent;
5427
+ list: typeof listEvents;
5307
5428
  };
5308
5429
  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>;
5430
+ createInvite: typeof createFamilyInvite;
5431
+ join: typeof joinFamily;
5432
+ listInvites: typeof listFamilyInvites;
5433
+ listMembers: typeof listFamilyMembers;
5434
+ removeMember: typeof removeFamilyMember;
5316
5435
  };
5317
5436
  ifttt: {
5318
- getStatus: () => Effect.Effect<{
5319
- readonly enabled: boolean;
5320
- }, GetIftttStatusError, PutioSdkContext>;
5321
- sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
5437
+ getStatus: typeof getIftttStatus;
5438
+ sendEvent: typeof sendIftttEvent;
5322
5439
  };
5323
5440
  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>;
5441
+ continue: typeof continueFiles;
5442
+ continueSearch: typeof continueSearch;
5443
+ convertToMp4: typeof convertFileToMp4;
5444
+ convertManyToMp4: typeof convertFilesToMp4;
5445
+ convertSelectionToMp4: typeof convertFileSelectionToMp4;
5446
+ createUploadRequest: typeof createFileUploadRequest;
5447
+ createFolder: typeof createFolder;
5448
+ deleteExtraction: typeof deleteFileExtraction;
5449
+ deleteMp4: typeof deleteFileMp4;
5450
+ deleteSelection: typeof deleteFileSelection;
5451
+ delete: typeof deleteFiles;
5452
+ extract: typeof extractFiles;
5453
+ findNext: typeof findNextFile;
5454
+ findNextVideo: typeof findNextVideo;
5455
+ getApiContentUrl: typeof getApiContentUrl;
5456
+ getApiDownloadUrl: typeof getApiDownloadUrl;
5457
+ getApiMp4DownloadUrl: typeof getApiMp4DownloadUrl;
5372
5458
  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>;
5459
+ getDownloadUrl: typeof getDownloadUrl;
5460
+ getHlsStreamUrl: typeof getHlsStreamUrl;
5461
+ getMp4Status: typeof getMp4Status;
5462
+ getStartFrom: typeof getStartFrom;
5463
+ list: typeof queryFiles;
5464
+ listActiveConversions: typeof listActiveMp4Conversions;
5465
+ listExtractions: typeof listFileExtractions;
5466
+ listSubtitles: typeof listFileSubtitles;
5467
+ move: typeof moveFiles;
5468
+ moveSelection: typeof moveFileSelection;
5469
+ putMp4ToMyFiles: typeof putMp4ToMyFiles;
5470
+ rename: typeof renameFile;
5471
+ resetStartFrom: typeof resetStartFrom;
5472
+ search: typeof searchFiles;
5473
+ setWatchStatus: typeof setFilesWatchStatus;
5474
+ setStartFrom: typeof setStartFrom;
5475
+ upload: typeof uploadFile;
5399
5476
  };
5400
5477
  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>;
5478
+ create: typeof createFriendInvite;
5479
+ list: typeof listFriendInvites;
5408
5480
  };
5409
5481
  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>;
5482
+ approve: typeof approveFriendRequest;
5483
+ countWaitingRequests: typeof countWaitingRequests;
5484
+ deny: typeof denyFriendRequest;
5485
+ list: typeof listFriends;
5486
+ listSentRequests: typeof listSentRequests;
5487
+ listWaitingRequests: typeof listWaitingRequests;
5488
+ remove: typeof removeFriend;
5489
+ search: typeof searchFriends;
5490
+ sendRequest: typeof sendFriendRequest;
5491
+ sharedFolder: typeof getFriendSharedFolder;
5423
5492
  };
5424
5493
  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>;
5494
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
5495
+ buildIconUrl: typeof buildOAuthAppIconUrl;
5496
+ create: typeof createOAuthApp;
5497
+ delete: typeof deleteOAuthApp;
5498
+ get: typeof getOAuthApp;
5499
+ getPopularApps: typeof getPopularOAuthApps;
5500
+ query: typeof queryOAuthApps;
5501
+ regenerateToken: typeof regenerateOAuthAppToken;
5502
+ setIcon: typeof setOAuthAppIcon;
5503
+ update: typeof updateOAuthApp;
5463
5504
  };
5464
5505
  payment: {
5465
5506
  changePlan: {
5466
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
5467
- preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
5468
- submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
5507
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
5508
+ preview: typeof previewPaymentChangePlan;
5509
+ submit: typeof submitPaymentChangePlan;
5469
5510
  };
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>;
5511
+ confirmFastspringOrder: typeof confirmFastspringOrder;
5512
+ getInfo: typeof getPaymentInfo;
5513
+ listHistory: typeof listPaymentHistory;
5514
+ listInvites: typeof listPaymentInvites;
5515
+ listOptions: typeof listPaymentOptions;
5516
+ listPlans: typeof listPaymentPlans;
5476
5517
  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>;
5518
+ addPaddleWaitingPayment: typeof createPaddleWaitingPayment;
5519
+ createCoinbaseCharge: typeof createCoinbaseCharge;
5520
+ createOpenNodeCharge: typeof createOpenNodeCharge;
5521
+ createPaddleBillingUpdatePaymentMethodTransaction: typeof createPaddleBillingUpdatePaymentMethodTransaction;
5522
+ getPaddleBillingInvoiceUrl: typeof getPaddleBillingInvoiceUrl;
5482
5523
  };
5483
- report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
5484
- stopSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
5524
+ report: typeof reportPayments;
5525
+ stopSubscription: typeof stopPaymentSubscription;
5485
5526
  voucher: {
5486
- getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
5487
- redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
5527
+ getInfo: typeof getPaymentVoucherInfo;
5528
+ redeem: typeof redeemPaymentVoucher;
5488
5529
  };
5489
5530
  };
5490
5531
  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>;
5532
+ clearLogs: typeof clearRssFeedLogs;
5533
+ create: typeof createRssFeed;
5534
+ delete: typeof deleteRssFeed;
5535
+ get: typeof getRssFeed;
5536
+ list: typeof listRssFeeds;
5537
+ listItems: typeof listRssFeedItems;
5538
+ pause: typeof pauseRssFeed;
5539
+ resume: typeof resumeRssFeed;
5540
+ retryAll: typeof retryAllRssFeedItems;
5541
+ retryItem: typeof retryRssFeedItem;
5542
+ update: typeof updateRssFeed;
5505
5543
  };
5506
5544
  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>;
5545
+ clone: typeof cloneSharedFiles;
5546
+ getCloneInfo: typeof getSharingCloneInfo;
5547
+ getSharedWith: typeof getSharedWith;
5548
+ listSharedFiles: typeof listSharedFiles;
5513
5549
  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>;
5550
+ continueFiles: typeof continuePublicShareFiles;
5551
+ get: typeof getPublicShare;
5552
+ getFileUrl: typeof getPublicShareFileUrl;
5553
+ listFiles: typeof listPublicShareFiles;
5774
5554
  };
5775
5555
  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>;
5556
+ create: typeof createPublicShare;
5557
+ delete: typeof deletePublicShare;
5558
+ list: typeof listPublicShares;
5779
5559
  };
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>;
5560
+ shareFiles: typeof shareFiles;
5561
+ unshare: typeof unshareFile;
5782
5562
  };
5783
5563
  tunnel: {
5784
- listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
5564
+ listRoutes: typeof listTunnelRoutes;
5785
5565
  };
5786
5566
  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>;
5567
+ continue: typeof continueTrash;
5568
+ delete: typeof deleteTrash;
5569
+ empty: typeof emptyTrash;
5570
+ list: typeof listTrash;
5571
+ restore: typeof restoreTrash;
5792
5572
  };
5793
5573
  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>;
5574
+ add: typeof addTransfer;
5575
+ addMany: typeof addManyTransfers;
5576
+ cancel: typeof cancelTransfers;
5577
+ clean: typeof cleanTransfers;
5578
+ continue: typeof continueTransfers;
5579
+ count: typeof countTransfers;
5580
+ get: typeof getTransfer;
5581
+ info: typeof getTransferInfo;
5582
+ list: typeof listTransfers;
5583
+ reannounce: typeof reannounceTransfer;
5584
+ retry: typeof retryTransfer;
5585
+ stopRecording: typeof stopTransferRecording;
5816
5586
  };
5817
5587
  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>;
5588
+ cancel: typeof cancelZip;
5589
+ create: typeof createZip;
5590
+ get: typeof getZip;
5591
+ list: typeof listZips;
5822
5592
  };
5823
5593
  };
5824
5594
  type PutioSdkEffectClient = ReturnType<typeof createPutioSdkEffectClient>;
5825
5595
  declare const PutioSdk_base: Context.ServiceClass<PutioSdk, "PutioSdk", {
5826
5596
  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>;
5597
+ appSpecificPasswords: {
5598
+ create: typeof createAppSpecificPassword;
5599
+ delete: typeof deleteAppSpecificPassword;
5600
+ deleteAll: typeof deleteAllAppSpecificPasswords;
5601
+ list: typeof listAppSpecificPasswords;
5602
+ };
5603
+ clear: typeof clearAccount;
5604
+ destroy: typeof destroyAccount;
5829
5605
  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>;
5606
+ getSettings: typeof getAccountSettings;
5607
+ listSubtitleLanguages: typeof listAccountSubtitleLanguages;
5608
+ listConfirmations: typeof listAccountConfirmations;
5609
+ saveSettings: typeof saveAccountSettings;
5833
5610
  };
5834
5611
  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>;
5612
+ buildLoginUrl: typeof buildAuthLoginUrl;
5613
+ checkCodeMatch: typeof checkCodeMatch;
5614
+ clients: typeof clients;
5615
+ exists: typeof exists;
5616
+ forgotPassword: typeof forgotPassword;
5617
+ getCode: typeof getCode;
5618
+ getFamilyInvite: typeof getFamilyInvite;
5619
+ getFriendInvite: typeof getFriendInvite;
5620
+ getGiftCard: typeof getGiftCard;
5621
+ getVoucher: typeof getVoucher;
5622
+ grants: typeof grants;
5623
+ linkDevice: typeof linkDevice;
5624
+ login: typeof login;
5625
+ logout: typeof logout;
5626
+ register: typeof register;
5627
+ resetPassword: typeof resetPassword;
5628
+ revokeAllClients: typeof revokeAllClients;
5629
+ revokeApp: typeof revokeApp;
5630
+ revokeClient: typeof revokeClient;
5896
5631
  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>;
5632
+ generateTOTP: typeof generateTOTP;
5633
+ getRecoveryCodes: typeof getRecoveryCodes;
5634
+ regenerateRecoveryCodes: typeof regenerateRecoveryCodes;
5635
+ verifyTOTP: typeof verifyTOTP;
5901
5636
  };
5902
- validateToken: (token: string) => Effect.Effect<ValidateTokenResponse, PutioSdkError, PutioSdkContext>;
5637
+ validateToken: typeof validateToken;
5903
5638
  };
5904
5639
  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.ConstraintDecoder<A, never>) => Effect.Effect<A, PutioSdkError, PutioSdkContext>;
5908
- read: () => Effect.Effect<PutioJsonObject, PutioSdkError, PutioSdkContext>;
5909
- readWith: <A>(schema: Schema.ConstraintDecoder<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>;
5640
+ deleteKey: typeof deleteConfigKey;
5641
+ getKey: typeof getConfigKey;
5642
+ getKeyWith: typeof getConfigKeyWith;
5643
+ read: typeof readConfig;
5644
+ readWith: typeof readConfigWith;
5645
+ setKey: typeof setConfigKey;
5646
+ write: typeof writeConfig;
5912
5647
  };
5913
5648
  downloadLinks: {
5914
- create: (input?: DownloadLinksCreateInput) => Effect.Effect<{
5915
- readonly id: number;
5916
- }, CreateDownloadLinksError, PutioSdkContext>;
5917
- get: (id: number) => Effect.Effect<DownloadLinksInfo, GetDownloadLinksError, PutioSdkContext>;
5649
+ create: typeof createDownloadLinks;
5650
+ get: typeof getDownloadLinks;
5918
5651
  };
5919
5652
  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>;
5653
+ clear: typeof clearEvents;
5654
+ delete: typeof deleteEvent;
5655
+ getTorrent: typeof getEventTorrent;
5656
+ list: typeof listEvents;
5924
5657
  };
5925
5658
  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>;
5659
+ createInvite: typeof createFamilyInvite;
5660
+ join: typeof joinFamily;
5661
+ listInvites: typeof listFamilyInvites;
5662
+ listMembers: typeof listFamilyMembers;
5663
+ removeMember: typeof removeFamilyMember;
5933
5664
  };
5934
5665
  ifttt: {
5935
- getStatus: () => Effect.Effect<{
5936
- readonly enabled: boolean;
5937
- }, GetIftttStatusError, PutioSdkContext>;
5938
- sendEvent: (input: IftttEventInput) => Effect.Effect<void, SendIftttEventError, PutioSdkContext>;
5666
+ getStatus: typeof getIftttStatus;
5667
+ sendEvent: typeof sendIftttEvent;
5939
5668
  };
5940
5669
  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>;
5670
+ continue: typeof continueFiles;
5671
+ continueSearch: typeof continueSearch;
5672
+ convertToMp4: typeof convertFileToMp4;
5673
+ convertManyToMp4: typeof convertFilesToMp4;
5674
+ convertSelectionToMp4: typeof convertFileSelectionToMp4;
5675
+ createUploadRequest: typeof createFileUploadRequest;
5676
+ createFolder: typeof createFolder;
5677
+ deleteExtraction: typeof deleteFileExtraction;
5678
+ deleteMp4: typeof deleteFileMp4;
5679
+ deleteSelection: typeof deleteFileSelection;
5680
+ delete: typeof deleteFiles;
5681
+ extract: typeof extractFiles;
5682
+ findNext: typeof findNextFile;
5683
+ findNextVideo: typeof findNextVideo;
5684
+ getApiContentUrl: typeof getApiContentUrl;
5685
+ getApiDownloadUrl: typeof getApiDownloadUrl;
5686
+ getApiMp4DownloadUrl: typeof getApiMp4DownloadUrl;
5989
5687
  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>;
5688
+ getDownloadUrl: typeof getDownloadUrl;
5689
+ getHlsStreamUrl: typeof getHlsStreamUrl;
5690
+ getMp4Status: typeof getMp4Status;
5691
+ getStartFrom: typeof getStartFrom;
5692
+ list: typeof queryFiles;
5693
+ listActiveConversions: typeof listActiveMp4Conversions;
5694
+ listExtractions: typeof listFileExtractions;
5695
+ listSubtitles: typeof listFileSubtitles;
5696
+ move: typeof moveFiles;
5697
+ moveSelection: typeof moveFileSelection;
5698
+ putMp4ToMyFiles: typeof putMp4ToMyFiles;
5699
+ rename: typeof renameFile;
5700
+ resetStartFrom: typeof resetStartFrom;
5701
+ search: typeof searchFiles;
5702
+ setWatchStatus: typeof setFilesWatchStatus;
5703
+ setStartFrom: typeof setStartFrom;
5704
+ upload: typeof uploadFile;
6016
5705
  };
6017
5706
  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>;
5707
+ create: typeof createFriendInvite;
5708
+ list: typeof listFriendInvites;
6025
5709
  };
6026
5710
  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>;
5711
+ approve: typeof approveFriendRequest;
5712
+ countWaitingRequests: typeof countWaitingRequests;
5713
+ deny: typeof denyFriendRequest;
5714
+ list: typeof listFriends;
5715
+ listSentRequests: typeof listSentRequests;
5716
+ listWaitingRequests: typeof listWaitingRequests;
5717
+ remove: typeof removeFriend;
5718
+ search: typeof searchFriends;
5719
+ sendRequest: typeof sendFriendRequest;
5720
+ sharedFolder: typeof getFriendSharedFolder;
6040
5721
  };
6041
5722
  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>;
5723
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
5724
+ buildIconUrl: typeof buildOAuthAppIconUrl;
5725
+ create: typeof createOAuthApp;
5726
+ delete: typeof deleteOAuthApp;
5727
+ get: typeof getOAuthApp;
5728
+ getPopularApps: typeof getPopularOAuthApps;
5729
+ query: typeof queryOAuthApps;
5730
+ regenerateToken: typeof regenerateOAuthAppToken;
5731
+ setIcon: typeof setOAuthAppIcon;
5732
+ update: typeof updateOAuthApp;
6080
5733
  };
6081
5734
  payment: {
6082
5735
  changePlan: {
6083
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
6084
- preview: (input: PaymentChangePlanPreviewInput) => Effect.Effect<PaymentChangePlanPreview, PreviewPaymentChangePlanError, PutioSdkContext>;
6085
- submit: (input: PaymentChangePlanSubmitInput) => Effect.Effect<PaymentChangePlanSubmitResponse, SubmitPaymentChangePlanError, PutioSdkContext>;
5736
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
5737
+ preview: typeof previewPaymentChangePlan;
5738
+ submit: typeof submitPaymentChangePlan;
6086
5739
  };
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>;
5740
+ confirmFastspringOrder: typeof confirmFastspringOrder;
5741
+ getInfo: typeof getPaymentInfo;
5742
+ listHistory: typeof listPaymentHistory;
5743
+ listInvites: typeof listPaymentInvites;
5744
+ listOptions: typeof listPaymentOptions;
5745
+ listPlans: typeof listPaymentPlans;
6093
5746
  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>;
5747
+ addPaddleWaitingPayment: typeof createPaddleWaitingPayment;
5748
+ createCoinbaseCharge: typeof createCoinbaseCharge;
5749
+ createOpenNodeCharge: typeof createOpenNodeCharge;
5750
+ createPaddleBillingUpdatePaymentMethodTransaction: typeof createPaddleBillingUpdatePaymentMethodTransaction;
5751
+ getPaddleBillingInvoiceUrl: typeof getPaddleBillingInvoiceUrl;
6099
5752
  };
6100
- report: (paymentIds: ReadonlyArray<number>) => Effect.Effect<void, ReportPaymentsError, PutioSdkContext>;
6101
- stopSubscription: () => Effect.Effect<void, StopSubscriptionError, PutioSdkContext>;
5753
+ report: typeof reportPayments;
5754
+ stopSubscription: typeof stopPaymentSubscription;
6102
5755
  voucher: {
6103
- getInfo: (code: string) => Effect.Effect<PaymentVoucherInfo, GetPaymentVoucherInfoError, PutioSdkContext>;
6104
- redeem: (code: string) => Effect.Effect<void, RedeemPaymentVoucherError, PutioSdkContext>;
5756
+ getInfo: typeof getPaymentVoucherInfo;
5757
+ redeem: typeof redeemPaymentVoucher;
6105
5758
  };
6106
5759
  };
6107
5760
  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>;
5761
+ clearLogs: typeof clearRssFeedLogs;
5762
+ create: typeof createRssFeed;
5763
+ delete: typeof deleteRssFeed;
5764
+ get: typeof getRssFeed;
5765
+ list: typeof listRssFeeds;
5766
+ listItems: typeof listRssFeedItems;
5767
+ pause: typeof pauseRssFeed;
5768
+ resume: typeof resumeRssFeed;
5769
+ retryAll: typeof retryAllRssFeedItems;
5770
+ retryItem: typeof retryRssFeedItem;
5771
+ update: typeof updateRssFeed;
6122
5772
  };
6123
5773
  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>;
5774
+ clone: typeof cloneSharedFiles;
5775
+ getCloneInfo: typeof getSharingCloneInfo;
5776
+ getSharedWith: typeof getSharedWith;
5777
+ listSharedFiles: typeof listSharedFiles;
6130
5778
  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>;
5779
+ continueFiles: typeof continuePublicShareFiles;
5780
+ get: typeof getPublicShare;
5781
+ getFileUrl: typeof getPublicShareFileUrl;
5782
+ listFiles: typeof listPublicShareFiles;
6391
5783
  };
6392
5784
  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>;
5785
+ create: typeof createPublicShare;
5786
+ delete: typeof deletePublicShare;
5787
+ list: typeof listPublicShares;
6396
5788
  };
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>;
5789
+ shareFiles: typeof shareFiles;
5790
+ unshare: typeof unshareFile;
6399
5791
  };
6400
5792
  tunnel: {
6401
- listRoutes: () => Effect.Effect<ReadonlyArray<TunnelRoute>, ListTunnelRoutesError, PutioSdkContext>;
5793
+ listRoutes: typeof listTunnelRoutes;
6402
5794
  };
6403
5795
  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>;
5796
+ continue: typeof continueTrash;
5797
+ delete: typeof deleteTrash;
5798
+ empty: typeof emptyTrash;
5799
+ list: typeof listTrash;
5800
+ restore: typeof restoreTrash;
6409
5801
  };
6410
5802
  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>;
5803
+ add: typeof addTransfer;
5804
+ addMany: typeof addManyTransfers;
5805
+ cancel: typeof cancelTransfers;
5806
+ clean: typeof cleanTransfers;
5807
+ continue: typeof continueTransfers;
5808
+ count: typeof countTransfers;
5809
+ get: typeof getTransfer;
5810
+ info: typeof getTransferInfo;
5811
+ list: typeof listTransfers;
5812
+ reannounce: typeof reannounceTransfer;
5813
+ retry: typeof retryTransfer;
5814
+ stopRecording: typeof stopTransferRecording;
6433
5815
  };
6434
5816
  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>;
5817
+ cancel: typeof cancelZip;
5818
+ create: typeof createZip;
5819
+ get: typeof getZip;
5820
+ list: typeof listZips;
6439
5821
  };
6440
5822
  }>;
6441
5823
  declare class PutioSdk extends PutioSdk_base {}
6442
5824
  declare const makePutioSdkEffectClientLayer: () => Layer.Layer<PutioSdk, never, never>;
6443
- declare const makePutioSdkLiveClientLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioSdkConfig | PutioHttpClient | PutioSdk, never, never>;
5825
+ declare const makePutioSdkLiveClientLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioHttpClient | PutioSdk | PutioSdkConfig, never, never>;
6444
5826
  declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape) => {
6445
5827
  dispose: () => Promise<void>;
6446
5828
  account: {
6447
- clear: (options: AccountClearOptions) => Promise<Schema.Struct.ReadonlySide<{
6448
- readonly status: Schema.Literal<"OK">;
6449
- }, "Type">>;
6450
- destroy: (currentPassword: string) => Promise<Schema.Struct.ReadonlySide<{
6451
- readonly status: Schema.Literal<"OK">;
6452
- }, "Type">>;
5829
+ appSpecificPasswords: {
5830
+ create: (input: CreateAppSpecificPasswordInput) => Promise<CreateAppSpecificPasswordResult>;
5831
+ delete: (id: number) => Promise<void>;
5832
+ deleteAll: () => Promise<void>;
5833
+ list: () => Promise<ReadonlyArray<AppSpecificPassword>>;
5834
+ };
5835
+ clear: (options: AccountClearOptions) => Promise<{
5836
+ readonly status: "OK";
5837
+ }>;
5838
+ destroy: (currentPassword: string) => Promise<{
5839
+ readonly status: "OK";
5840
+ }>;
6453
5841
  getInfo: {
6454
5842
  (query: {
6455
5843
  readonly download_token: 1;
@@ -6470,9 +5858,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6470
5858
  }>;
6471
5859
  (query: {
6472
5860
  readonly intercom: 1;
6473
- readonly platform?: string;
5861
+ readonly platform?: "web" | "ios";
6474
5862
  }): Promise<AccountInfoBase & {
6475
- readonly user_hash: string;
5863
+ readonly user_hash?: string;
6476
5864
  }>;
6477
5865
  (query: {
6478
5866
  readonly pas: 1;
@@ -6482,93 +5870,88 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6482
5870
  (query: {
6483
5871
  readonly profitwell: 1;
6484
5872
  }): Promise<AccountInfoBase & {
6485
- readonly paddle_user_id: number | null;
5873
+ readonly paddle_user_id: number | string | null;
6486
5874
  }>;
6487
5875
  (query: {
6488
5876
  readonly push_token: 1;
6489
5877
  }): Promise<AccountInfoBase & {
6490
5878
  readonly push_token: string;
6491
5879
  }>;
5880
+ (): Promise<AccountInfoBroad>;
6492
5881
  (query: AccountInfoQuery): Promise<AccountInfoBroad>;
6493
5882
  };
6494
5883
  getSettings: () => Promise<AccountSettings>;
6495
- listConfirmations: (subject?: AccountConfirmation["subject"]) => Promise<readonly Schema.Struct.ReadonlySide<{
6496
- readonly created_at: Schema.String;
6497
- readonly subject: Schema.Literals<readonly ["mail_change", "password_change", "subscription_upgrade"]>;
6498
- }, "Type">[]>;
6499
- saveSettings: (payload: SaveAccountSettingsPayload) => Promise<Schema.Struct.ReadonlySide<{
6500
- readonly status: Schema.Literal<"OK">;
6501
- }, "Type">>;
5884
+ listSubtitleLanguages: () => Promise<ReadonlyArray<AccountSubtitleLanguage>>;
5885
+ listConfirmations: (subject?: AccountConfirmation["subject"]) => Promise<readonly {
5886
+ readonly created_at: string;
5887
+ readonly subject: "mail_change" | "password_change" | "subscription_upgrade";
5888
+ }[]>;
5889
+ saveSettings: (payload: SaveAccountSettingsPayload) => Promise<{
5890
+ readonly status: "OK";
5891
+ }>;
6502
5892
  };
6503
5893
  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;
5894
+ buildLoginUrl: typeof buildAuthLoginUrl;
6512
5895
  checkCodeMatch: (code: string) => Promise<string | null>;
6513
5896
  clients: () => Promise<ReadonlyArray<OAuthAppSession>>;
6514
5897
  exists: (key: "mail" | "username", value: string) => Promise<boolean>;
6515
- forgotPassword: (mail: string) => Promise<Schema.Struct.ReadonlySide<{
6516
- readonly status: Schema.Literal<"OK">;
6517
- }, "Type">>;
5898
+ forgotPassword: (mail: string) => Promise<{
5899
+ readonly status: "OK";
5900
+ }>;
6518
5901
  getCode: (input: {
6519
5902
  readonly appId: number | string;
6520
5903
  readonly clientName?: string;
6521
- }) => Promise<Schema.Struct.ReadonlySide<{
6522
- readonly code: Schema.String;
6523
- readonly qr_code_url: Schema.String;
6524
- }, "Type">>;
6525
- getFamilyInvite: (code: string) => Promise<Schema.Struct.ReadonlySide<{
6526
- readonly owner: Schema.String;
6527
- readonly plan: Schema.String;
6528
- }, "Type">>;
6529
- getFriendInvite: (code: string) => Promise<Schema.Struct.ReadonlySide<{
6530
- readonly inviter: Schema.String;
6531
- readonly plan: Schema.Struct<{
6532
- readonly code: Schema.String;
6533
- readonly name: Schema.String;
6534
- readonly period: Schema.Int;
6535
- }>;
6536
- }, "Type">>;
6537
- getGiftCard: (code: string) => Promise<Schema.Struct.ReadonlySide<{
6538
- readonly days: Schema.Int;
6539
- readonly plan: Schema.Boolean;
6540
- }, "Type">>;
6541
- getVoucher: (code: string) => Promise<Schema.Struct.ReadonlySide<{
6542
- readonly days: Schema.Int;
6543
- readonly owner: Schema.NullOr<Schema.String>;
6544
- }, "Type">>;
5904
+ }) => Promise<{
5905
+ readonly code: string;
5906
+ readonly qr_code_url: string;
5907
+ }>;
5908
+ getFamilyInvite: (code: string) => Promise<{
5909
+ readonly owner: string;
5910
+ readonly plan: string;
5911
+ }>;
5912
+ getFriendInvite: (code: string) => Promise<{
5913
+ readonly inviter: string;
5914
+ readonly plan: {
5915
+ readonly code: string;
5916
+ readonly name: string;
5917
+ readonly period: number;
5918
+ };
5919
+ }>;
5920
+ getGiftCard: (code: string) => Promise<{
5921
+ readonly days: number;
5922
+ readonly plan: boolean;
5923
+ }>;
5924
+ getVoucher: (code: string) => Promise<{
5925
+ readonly days: number;
5926
+ readonly owner: string | null;
5927
+ }>;
6545
5928
  grants: () => Promise<ReadonlyArray<OAuthApp>>;
6546
- linkDevice: (code: string) => Promise<Schema.Struct.ReadonlySide<{
6547
- readonly description: Schema.String;
6548
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6549
- readonly id: Schema.Int;
6550
- readonly name: Schema.String;
6551
- readonly website: Schema.String;
6552
- }, "Type">>;
5929
+ linkDevice: (code: string) => Promise<{
5930
+ readonly description: string;
5931
+ readonly has_icon: boolean | null;
5932
+ readonly id: number;
5933
+ readonly name: string;
5934
+ readonly website: string;
5935
+ }>;
6553
5936
  login: (input: LoginInput) => Promise<LoginResponse>;
6554
- logout: () => Promise<Schema.Struct.ReadonlySide<{
6555
- readonly status: Schema.Literal<"OK">;
6556
- }, "Type">>;
5937
+ logout: () => Promise<{
5938
+ readonly status: "OK";
5939
+ }>;
6557
5940
  register: (input: RegisterInput) => Promise<{
6558
5941
  readonly access_token: string;
6559
5942
  }>;
6560
5943
  resetPassword: (key: string, password: string) => Promise<{
6561
5944
  readonly access_token: string;
6562
5945
  }>;
6563
- revokeAllClients: () => Promise<Schema.Struct.ReadonlySide<{
6564
- readonly status: Schema.Literal<"OK">;
6565
- }, "Type">>;
6566
- revokeApp: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6567
- readonly status: Schema.Literal<"OK">;
6568
- }, "Type">>;
6569
- revokeClient: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6570
- readonly status: Schema.Literal<"OK">;
6571
- }, "Type">>;
5946
+ revokeAllClients: () => Promise<{
5947
+ readonly status: "OK";
5948
+ }>;
5949
+ revokeApp: (id: number) => Promise<{
5950
+ readonly status: "OK";
5951
+ }>;
5952
+ revokeClient: (id: number) => Promise<{
5953
+ readonly status: "OK";
5954
+ }>;
6572
5955
  twoFactor: {
6573
5956
  generateTOTP: () => Promise<GenerateTOTPResponse>;
6574
5957
  getRecoveryCodes: () => Promise<TwoFactorRecoveryCodes>;
@@ -6578,19 +5961,19 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6578
5961
  validateToken: (token: string) => Promise<ValidateTokenResponse>;
6579
5962
  };
6580
5963
  config: {
6581
- deleteKey: (key: string) => Promise<Schema.Struct.ReadonlySide<{
6582
- readonly status: Schema.Literal<"OK">;
6583
- }, "Type">>;
5964
+ deleteKey: (key: string) => Promise<{
5965
+ readonly status: "OK";
5966
+ }>;
6584
5967
  getKey: (key: string) => Promise<PutioJsonValue>;
6585
5968
  getKeyWith: <A>(key: string, schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
6586
5969
  read: () => Promise<PutioJsonObject>;
6587
5970
  readWith: <A>(schema: Schema.ConstraintDecoder<A, never>) => Promise<A>;
6588
- setKey: (key: string, value: PutioJsonValue) => Promise<Schema.Struct.ReadonlySide<{
6589
- readonly status: Schema.Literal<"OK">;
6590
- }, "Type">>;
6591
- write: (value: PutioJsonObject) => Promise<Schema.Struct.ReadonlySide<{
6592
- readonly status: Schema.Literal<"OK">;
6593
- }, "Type">>;
5971
+ setKey: (key: string, value: PutioJsonValue) => Promise<{
5972
+ readonly status: "OK";
5973
+ }>;
5974
+ write: (value: PutioJsonObject) => Promise<{
5975
+ readonly status: "OK";
5976
+ }>;
6594
5977
  };
6595
5978
  downloadLinks: {
6596
5979
  create: (input?: DownloadLinksCreateInput) => Promise<{
@@ -6599,12 +5982,12 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6599
5982
  get: (id: number) => Promise<DownloadLinksInfo>;
6600
5983
  };
6601
5984
  events: {
6602
- clear: () => Promise<Schema.Struct.ReadonlySide<{
6603
- readonly status: Schema.Literal<"OK">;
6604
- }, "Type">>;
6605
- delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6606
- readonly status: Schema.Literal<"OK">;
6607
- }, "Type">>;
5985
+ clear: () => Promise<{
5986
+ readonly status: "OK";
5987
+ }>;
5988
+ delete: (id: number) => Promise<{
5989
+ readonly status: "OK";
5990
+ }>;
6608
5991
  getTorrent: (id: number) => Promise<Uint8Array>;
6609
5992
  list: (query?: EventsListQuery) => Promise<EventsListResponse>;
6610
5993
  };
@@ -6636,7 +6019,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6636
6019
  readonly excludeIds?: ReadonlyArray<number>;
6637
6020
  readonly ids?: ReadonlyArray<number>;
6638
6021
  }) => Promise<number>;
6639
- createUploadFormData: (input: FileUploadInput) => FormData;
6022
+ createUploadFormData: typeof createFileUploadFormData;
6640
6023
  createUploadRequest: (input: {
6641
6024
  readonly file: Blob;
6642
6025
  readonly fileName?: string;
@@ -6653,31 +6036,31 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6653
6036
  readonly path?: string;
6654
6037
  }) => Promise<{
6655
6038
  readonly content_type: string | null;
6039
+ readonly created_at: string;
6656
6040
  readonly crc32: string | null;
6657
6041
  readonly extension: string | null;
6042
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
6658
6043
  readonly first_accessed_at: string | null;
6044
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
6659
6045
  readonly icon: string | null;
6660
- readonly opensubtitles_hash: string | null;
6661
- readonly parent_id: number | null;
6662
- readonly screenshot: string | null;
6663
- readonly created_at: string;
6664
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
6665
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
6666
6046
  readonly id: number;
6667
6047
  readonly is_hidden: boolean;
6668
6048
  readonly is_mp4_available: boolean;
6669
6049
  readonly is_shared: boolean;
6670
6050
  readonly name: string;
6671
- readonly size: number;
6672
- readonly updated_at: string;
6051
+ readonly opensubtitles_hash: string | null;
6052
+ readonly parent_id: number | null;
6053
+ readonly screenshot: string | null;
6673
6054
  readonly sha1?: string | null | undefined;
6055
+ readonly size: number;
6674
6056
  readonly start_from?: number | undefined;
6057
+ readonly updated_at: string;
6675
6058
  readonly content_type_and_codecs?: string | null | undefined;
6676
6059
  readonly media_info?: {
6677
6060
  readonly format?: {
6678
- readonly name?: string | undefined;
6679
6061
  readonly bit_rate?: number | undefined;
6680
6062
  readonly duration?: number | undefined;
6063
+ readonly name?: string | undefined;
6681
6064
  } | null | undefined;
6682
6065
  readonly mime_type?: string | null | undefined;
6683
6066
  readonly streams?: readonly {
@@ -6692,24 +6075,24 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6692
6075
  }[] | undefined;
6693
6076
  } | null | undefined;
6694
6077
  readonly media_metadata?: {
6078
+ readonly aspect_ratio?: number | null | undefined;
6079
+ readonly codec?: string | null | undefined;
6695
6080
  readonly duration?: number | null | undefined;
6696
6081
  readonly height?: number | null | undefined;
6697
6082
  readonly width?: number | null | undefined;
6698
- readonly aspect_ratio?: number | null | undefined;
6699
- readonly codec?: string | null | undefined;
6700
6083
  } | null | undefined;
6701
6084
  readonly mp4_size?: number | null | undefined;
6702
6085
  readonly mp4_stream_url?: string | null | undefined;
6703
6086
  readonly need_convert?: boolean | undefined;
6704
6087
  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;
6088
+ 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
6089
  readonly stream_url?: string | null | undefined;
6707
6090
  readonly video_metadata?: {
6091
+ readonly aspect_ratio?: number | null | undefined;
6092
+ readonly codec?: string | null | undefined;
6708
6093
  readonly duration?: number | null | undefined;
6709
6094
  readonly height?: number | null | undefined;
6710
6095
  readonly width?: number | null | undefined;
6711
- readonly aspect_ratio?: number | null | undefined;
6712
- readonly codec?: string | null | undefined;
6713
6096
  } | null | undefined;
6714
6097
  }>;
6715
6098
  deleteExtraction: (extractionId: number) => Promise<void>;
@@ -6721,36 +6104,36 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6721
6104
  }, options?: {
6722
6105
  readonly partialDelete?: boolean;
6723
6106
  readonly skipTrash?: boolean;
6724
- }) => Promise<Schema.Struct.ReadonlySide<{
6725
- readonly cursor: Schema.NullOr<Schema.String>;
6726
- readonly skipped: Schema.Int;
6727
- readonly status: Schema.Literal<"OK">;
6728
- }, "Type">>;
6107
+ }) => Promise<{
6108
+ readonly cursor: string | null;
6109
+ readonly skipped: number;
6110
+ readonly status: "OK";
6111
+ }>;
6729
6112
  delete: (ids: ReadonlyArray<number>, options?: {
6730
6113
  readonly ignoreFileOwner?: boolean;
6731
6114
  readonly partialDelete?: boolean;
6732
6115
  readonly skipTrash?: boolean;
6733
- }) => Promise<Schema.Struct.ReadonlySide<{
6734
- readonly cursor: Schema.NullOr<Schema.String>;
6735
- readonly skipped: Schema.Int;
6736
- readonly status: Schema.Literal<"OK">;
6737
- }, "Type">>;
6116
+ }) => Promise<{
6117
+ readonly cursor: string | null;
6118
+ readonly skipped: number;
6119
+ readonly status: "OK";
6120
+ }>;
6738
6121
  extract: (selection: {
6739
6122
  readonly cursor?: string;
6740
6123
  readonly excludeIds?: ReadonlyArray<number>;
6741
6124
  readonly ids?: ReadonlyArray<number>;
6742
6125
  readonly password?: string;
6743
6126
  }) => Promise<ReadonlyArray<FileExtraction>>;
6744
- findNext: (fileId: number, fileType: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF") => Promise<Schema.Struct.ReadonlySide<{
6745
- readonly id: Schema.Int;
6746
- readonly name: Schema.String;
6747
- readonly parent_id: Schema.NullOr<Schema.Int>;
6748
- }, "Type">>;
6749
- findNextVideo: (fileId: number) => Promise<Schema.Struct.ReadonlySide<{
6750
- readonly id: Schema.Int;
6751
- readonly name: Schema.String;
6752
- readonly parent_id: Schema.NullOr<Schema.Int>;
6753
- }, "Type">>;
6127
+ findNext: (fileId: number, fileType: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF") => Promise<{
6128
+ readonly id: number;
6129
+ readonly name: string;
6130
+ readonly parent_id: number | null;
6131
+ }>;
6132
+ findNextVideo: (fileId: number) => Promise<{
6133
+ readonly id: number;
6134
+ readonly name: string;
6135
+ readonly parent_id: number | null;
6136
+ }>;
6754
6137
  getApiContentUrl: (fileId: number, options?: {
6755
6138
  readonly oauthToken?: string;
6756
6139
  readonly useTunnel?: boolean;
@@ -6825,12 +6208,12 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6825
6208
  rename: (input: {
6826
6209
  readonly file_id: number;
6827
6210
  readonly name: string;
6828
- }) => Promise<Schema.Struct.ReadonlySide<{
6829
- readonly status: Schema.Literal<"OK">;
6830
- }, "Type">>;
6831
- resetStartFrom: (fileId: number) => Promise<Schema.Struct.ReadonlySide<{
6832
- readonly status: Schema.Literal<"OK">;
6833
- }, "Type">>;
6211
+ }) => Promise<{
6212
+ readonly status: "OK";
6213
+ }>;
6214
+ resetStartFrom: (fileId: number) => Promise<{
6215
+ readonly status: "OK";
6216
+ }>;
6834
6217
  search: (query: FilesSearchQuery) => Promise<FileSearchResponse>;
6835
6218
  setWatchStatus: (selection: {
6836
6219
  readonly cursor?: string;
@@ -6841,9 +6224,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6841
6224
  setStartFrom: (input: {
6842
6225
  readonly file_id: number;
6843
6226
  readonly time: number;
6844
- }) => Promise<Schema.Struct.ReadonlySide<{
6845
- readonly status: Schema.Literal<"OK">;
6846
- }, "Type">>;
6227
+ }) => Promise<{
6228
+ readonly status: "OK";
6229
+ }>;
6847
6230
  upload: (input: {
6848
6231
  readonly file: Blob;
6849
6232
  readonly fileName?: string;
@@ -6860,115 +6243,107 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6860
6243
  }>;
6861
6244
  };
6862
6245
  friends: {
6863
- approve: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6864
- readonly status: Schema.Literal<"OK">;
6865
- }, "Type">>;
6246
+ approve: (username: string) => Promise<{
6247
+ readonly status: "OK";
6248
+ }>;
6866
6249
  countWaitingRequests: () => Promise<number>;
6867
- deny: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6868
- readonly status: Schema.Literal<"OK">;
6869
- }, "Type">>;
6250
+ deny: (username: string) => Promise<{
6251
+ readonly status: "OK";
6252
+ }>;
6870
6253
  list: () => Promise<{
6871
6254
  readonly friends: ReadonlyArray<Friend>;
6872
6255
  readonly total: number;
6873
6256
  }>;
6874
6257
  listSentRequests: () => Promise<ReadonlyArray<FriendBase>>;
6875
6258
  listWaitingRequests: () => Promise<ReadonlyArray<FriendBase>>;
6876
- remove: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6877
- readonly status: Schema.Literal<"OK">;
6878
- }, "Type">>;
6259
+ remove: (username: string) => Promise<{
6260
+ readonly status: "OK";
6261
+ }>;
6879
6262
  search: (username: string) => Promise<ReadonlyArray<UserSearchResult>>;
6880
- sendRequest: (username: string) => Promise<Schema.Struct.ReadonlySide<{
6881
- readonly status: Schema.Literal<"OK">;
6882
- }, "Type">>;
6263
+ sendRequest: (username: string) => Promise<{
6264
+ readonly status: "OK";
6265
+ }>;
6883
6266
  sharedFolder: (username: string) => Promise<FileCore | null>;
6884
6267
  };
6885
6268
  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<Schema.Struct.ReadonlySide<{
6897
- readonly app: Schema.Union<readonly [Schema.Struct<{
6898
- readonly description: Schema.String;
6899
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6900
- readonly id: Schema.Int;
6901
- readonly name: Schema.String;
6902
- readonly website: Schema.String;
6903
- readonly callback: Schema.String;
6904
- readonly hidden: Schema.Boolean;
6905
- readonly secret: Schema.String;
6906
- }>, Schema.Struct<{
6907
- readonly description: Schema.String;
6908
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6909
- readonly id: Schema.Int;
6910
- readonly name: Schema.String;
6911
- readonly website: Schema.String;
6912
- }>]>;
6913
- readonly status: Schema.Literal<"OK">;
6914
- }, "Type">>;
6915
- delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6916
- readonly status: Schema.Literal<"OK">;
6917
- }, "Type">>;
6269
+ buildAuthorizeUrl: typeof buildOAuthAuthorizeUrl;
6270
+ buildIconUrl: typeof buildOAuthAppIconUrl;
6271
+ create: (input: OAuthAppCreateInput) => Promise<{
6272
+ readonly app: {
6273
+ readonly description: string;
6274
+ readonly has_icon: boolean | null;
6275
+ readonly id: number;
6276
+ readonly name: string;
6277
+ readonly website: string;
6278
+ } | {
6279
+ readonly description: string;
6280
+ readonly has_icon: boolean | null;
6281
+ readonly id: number;
6282
+ readonly name: string;
6283
+ readonly website: string;
6284
+ readonly callback: string;
6285
+ readonly hidden: boolean;
6286
+ readonly secret: string;
6287
+ };
6288
+ readonly status: "OK";
6289
+ }>;
6290
+ delete: (id: number) => Promise<{
6291
+ readonly status: "OK";
6292
+ }>;
6918
6293
  get: (id: number, options?: {
6919
6294
  readonly edit?: boolean;
6920
- }) => Promise<Schema.Struct.ReadonlySide<{
6921
- readonly app: Schema.Union<readonly [Schema.Struct<{
6922
- readonly description: Schema.String;
6923
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6924
- readonly id: Schema.Int;
6925
- readonly name: Schema.String;
6926
- readonly website: Schema.String;
6927
- readonly callback: Schema.String;
6928
- readonly hidden: Schema.Boolean;
6929
- readonly secret: Schema.String;
6930
- }>, Schema.Struct<{
6931
- readonly description: Schema.String;
6932
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6933
- readonly id: Schema.Int;
6934
- readonly name: Schema.String;
6935
- readonly website: Schema.String;
6936
- }>]>;
6937
- readonly status: Schema.Literal<"OK">;
6938
- readonly token: Schema.NullOr<Schema.String>;
6939
- }, "Type">>;
6295
+ }) => Promise<{
6296
+ readonly app: {
6297
+ readonly description: string;
6298
+ readonly has_icon: boolean | null;
6299
+ readonly id: number;
6300
+ readonly name: string;
6301
+ readonly website: string;
6302
+ } | {
6303
+ readonly description: string;
6304
+ readonly has_icon: boolean | null;
6305
+ readonly id: number;
6306
+ readonly name: string;
6307
+ readonly website: string;
6308
+ readonly callback: string;
6309
+ readonly hidden: boolean;
6310
+ readonly secret: string;
6311
+ };
6312
+ readonly status: "OK";
6313
+ readonly token: string | null;
6314
+ }>;
6940
6315
  getPopularApps: () => Promise<ReadonlyArray<PopularOAuthApp>>;
6941
6316
  query: () => Promise<ReadonlyArray<MyOAuthApp>>;
6942
6317
  regenerateToken: (id: number) => Promise<string>;
6943
6318
  setIcon: (id: number, input: {
6944
6319
  readonly icon: Blob;
6945
- }) => Promise<Schema.Struct.ReadonlySide<{
6946
- readonly status: Schema.Literal<"OK">;
6947
- }, "Type">>;
6948
- update: (input: OAuthAppUpdateInput) => Promise<Schema.Struct.ReadonlySide<{
6949
- readonly app: Schema.Union<readonly [Schema.Struct<{
6950
- readonly description: Schema.String;
6951
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6952
- readonly id: Schema.Int;
6953
- readonly name: Schema.String;
6954
- readonly website: Schema.String;
6955
- readonly callback: Schema.String;
6956
- readonly hidden: Schema.Boolean;
6957
- readonly secret: Schema.String;
6958
- }>, Schema.Struct<{
6959
- readonly description: Schema.String;
6960
- readonly has_icon: Schema.NullOr<Schema.Boolean>;
6961
- readonly id: Schema.Int;
6962
- readonly name: Schema.String;
6963
- readonly website: Schema.String;
6964
- }>]>;
6965
- readonly status: Schema.Literal<"OK">;
6966
- readonly token: Schema.NullOr<Schema.String>;
6967
- }, "Type">>;
6320
+ }) => Promise<{
6321
+ readonly status: "OK";
6322
+ }>;
6323
+ update: (input: OAuthAppUpdateInput) => Promise<{
6324
+ readonly app: {
6325
+ readonly description: string;
6326
+ readonly has_icon: boolean | null;
6327
+ readonly id: number;
6328
+ readonly name: string;
6329
+ readonly website: string;
6330
+ } | {
6331
+ readonly description: string;
6332
+ readonly has_icon: boolean | null;
6333
+ readonly id: number;
6334
+ readonly name: string;
6335
+ readonly website: string;
6336
+ readonly callback: string;
6337
+ readonly hidden: boolean;
6338
+ readonly secret: string;
6339
+ };
6340
+ readonly status: "OK";
6341
+ readonly token: string | null;
6342
+ }>;
6968
6343
  };
6969
6344
  payment: {
6970
6345
  changePlan: {
6971
- classifyResponse: (response: PaymentChangePlanSubmitResponse) => ClassifiedPaymentChangePlanSubmitResponse;
6346
+ classifyResponse: typeof classifyPaymentChangePlanResponse;
6972
6347
  preview: (input: PaymentChangePlanPreviewInput) => Promise<PaymentChangePlanPreview>;
6973
6348
  submit: (input: PaymentChangePlanSubmitInput) => Promise<PaymentChangePlanSubmitResponse>;
6974
6349
  };
@@ -6993,34 +6368,34 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
6993
6368
  };
6994
6369
  };
6995
6370
  rss: {
6996
- clearLogs: (id: number) => Promise<Schema.Struct.ReadonlySide<{
6997
- readonly status: Schema.Literal<"OK">;
6998
- }, "Type">>;
6371
+ clearLogs: (id: number) => Promise<{
6372
+ readonly status: "OK";
6373
+ }>;
6999
6374
  create: (params: RssFeedParams) => Promise<RssFeed>;
7000
- delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7001
- readonly status: Schema.Literal<"OK">;
7002
- }, "Type">>;
6375
+ delete: (id: number) => Promise<{
6376
+ readonly status: "OK";
6377
+ }>;
7003
6378
  get: (id: number) => Promise<RssFeed>;
7004
6379
  list: () => Promise<ReadonlyArray<RssFeed>>;
7005
6380
  listItems: (id: number) => Promise<{
7006
6381
  readonly feed: RssFeed;
7007
6382
  readonly items: ReadonlyArray<RssFeedItem>;
7008
6383
  }>;
7009
- pause: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7010
- readonly status: Schema.Literal<"OK">;
7011
- }, "Type">>;
7012
- resume: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7013
- readonly status: Schema.Literal<"OK">;
7014
- }, "Type">>;
7015
- retryAll: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7016
- readonly status: Schema.Literal<"OK">;
7017
- }, "Type">>;
7018
- retryItem: (feedId: number, itemId: number) => Promise<Schema.Struct.ReadonlySide<{
7019
- readonly status: Schema.Literal<"OK">;
7020
- }, "Type">>;
7021
- update: (id: number, params: RssFeedParams) => Promise<Schema.Struct.ReadonlySide<{
7022
- readonly status: Schema.Literal<"OK">;
7023
- }, "Type">>;
6384
+ pause: (id: number) => Promise<{
6385
+ readonly status: "OK";
6386
+ }>;
6387
+ resume: (id: number) => Promise<{
6388
+ readonly status: "OK";
6389
+ }>;
6390
+ retryAll: (id: number) => Promise<{
6391
+ readonly status: "OK";
6392
+ }>;
6393
+ retryItem: (feedId: number, itemId: number) => Promise<{
6394
+ readonly status: "OK";
6395
+ }>;
6396
+ update: (id: number, params: RssFeedParams) => Promise<{
6397
+ readonly status: "OK";
6398
+ }>;
7024
6399
  };
7025
6400
  sharing: {
7026
6401
  clone: (input?: {
@@ -7038,34 +6413,35 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7038
6413
  continueFiles: (cursor: string, query?: {
7039
6414
  readonly per_page?: number;
7040
6415
  }) => Promise<{
6416
+ readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7041
6417
  readonly cursor: string | null;
7042
6418
  readonly files: readonly {
7043
6419
  readonly content_type: string | null;
6420
+ readonly created_at: string;
7044
6421
  readonly crc32: string | null;
7045
6422
  readonly extension: string | null;
6423
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7046
6424
  readonly first_accessed_at: string | null;
6425
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7047
6426
  readonly icon: string | null;
7048
- readonly opensubtitles_hash: string | null;
7049
- readonly parent_id: number | null;
7050
- readonly screenshot: string | null;
7051
- readonly created_at: string;
7052
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
7053
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
7054
6427
  readonly id: number;
7055
6428
  readonly is_hidden: boolean;
7056
6429
  readonly is_mp4_available: boolean;
7057
6430
  readonly is_shared: boolean;
7058
6431
  readonly name: string;
7059
- readonly size: number;
7060
- readonly updated_at: string;
6432
+ readonly opensubtitles_hash: string | null;
6433
+ readonly parent_id: number | null;
6434
+ readonly screenshot: string | null;
7061
6435
  readonly sha1?: string | null | undefined;
6436
+ readonly size: number;
7062
6437
  readonly start_from?: number | undefined;
6438
+ readonly updated_at: string;
7063
6439
  readonly content_type_and_codecs?: string | null | undefined;
7064
6440
  readonly media_info?: {
7065
6441
  readonly format?: {
7066
- readonly name?: string | undefined;
7067
6442
  readonly bit_rate?: number | undefined;
7068
6443
  readonly duration?: number | undefined;
6444
+ readonly name?: string | undefined;
7069
6445
  } | null | undefined;
7070
6446
  readonly mime_type?: string | null | undefined;
7071
6447
  readonly streams?: readonly {
@@ -7080,56 +6456,53 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7080
6456
  }[] | undefined;
7081
6457
  } | null | undefined;
7082
6458
  readonly media_metadata?: {
6459
+ readonly aspect_ratio?: number | null | undefined;
6460
+ readonly codec?: string | null | undefined;
7083
6461
  readonly duration?: number | null | undefined;
7084
6462
  readonly height?: number | null | undefined;
7085
6463
  readonly width?: number | null | undefined;
7086
- readonly aspect_ratio?: number | null | undefined;
7087
- readonly codec?: string | null | undefined;
7088
6464
  } | null | undefined;
7089
6465
  readonly mp4_size?: number | null | undefined;
7090
6466
  readonly mp4_stream_url?: string | null | undefined;
7091
6467
  readonly need_convert?: boolean | undefined;
7092
6468
  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;
6469
+ 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
6470
  readonly stream_url?: string | null | undefined;
7095
6471
  readonly video_metadata?: {
6472
+ readonly aspect_ratio?: number | null | undefined;
6473
+ readonly codec?: string | null | undefined;
7096
6474
  readonly duration?: number | null | undefined;
7097
6475
  readonly height?: number | null | undefined;
7098
6476
  readonly width?: number | null | undefined;
7099
- readonly aspect_ratio?: number | null | undefined;
7100
- readonly codec?: string | null | undefined;
7101
6477
  } | null | undefined;
7102
6478
  }[];
7103
- readonly status: "OK";
7104
- readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7105
- readonly total?: number | undefined;
7106
6479
  readonly parent?: {
7107
6480
  readonly content_type: string | null;
6481
+ readonly created_at: string;
7108
6482
  readonly crc32: string | null;
7109
6483
  readonly extension: string | null;
6484
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7110
6485
  readonly first_accessed_at: string | null;
6486
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7111
6487
  readonly icon: string | null;
7112
- readonly opensubtitles_hash: string | null;
7113
- readonly parent_id: number | null;
7114
- readonly screenshot: string | null;
7115
- readonly created_at: string;
7116
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
7117
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
7118
6488
  readonly id: number;
7119
6489
  readonly is_hidden: boolean;
7120
6490
  readonly is_mp4_available: boolean;
7121
6491
  readonly is_shared: boolean;
7122
6492
  readonly name: string;
7123
- readonly size: number;
7124
- readonly updated_at: string;
6493
+ readonly opensubtitles_hash: string | null;
6494
+ readonly parent_id: number | null;
6495
+ readonly screenshot: string | null;
7125
6496
  readonly sha1?: string | null | undefined;
6497
+ readonly size: number;
7126
6498
  readonly start_from?: number | undefined;
6499
+ readonly updated_at: string;
7127
6500
  readonly content_type_and_codecs?: string | null | undefined;
7128
6501
  readonly media_info?: {
7129
6502
  readonly format?: {
7130
- readonly name?: string | undefined;
7131
6503
  readonly bit_rate?: number | undefined;
7132
6504
  readonly duration?: number | undefined;
6505
+ readonly name?: string | undefined;
7133
6506
  } | null | undefined;
7134
6507
  readonly mime_type?: string | null | undefined;
7135
6508
  readonly streams?: readonly {
@@ -7144,58 +6517,61 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7144
6517
  }[] | undefined;
7145
6518
  } | null | undefined;
7146
6519
  readonly media_metadata?: {
6520
+ readonly aspect_ratio?: number | null | undefined;
6521
+ readonly codec?: string | null | undefined;
7147
6522
  readonly duration?: number | null | undefined;
7148
6523
  readonly height?: number | null | undefined;
7149
6524
  readonly width?: number | null | undefined;
7150
- readonly aspect_ratio?: number | null | undefined;
7151
- readonly codec?: string | null | undefined;
7152
6525
  } | null | undefined;
7153
6526
  readonly mp4_size?: number | null | undefined;
7154
6527
  readonly mp4_stream_url?: string | null | undefined;
7155
6528
  readonly need_convert?: boolean | undefined;
7156
6529
  readonly sender_name?: string | undefined;
7157
- 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;
6530
+ 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;
7158
6531
  readonly stream_url?: string | null | undefined;
7159
6532
  readonly video_metadata?: {
6533
+ readonly aspect_ratio?: number | null | undefined;
6534
+ readonly codec?: string | null | undefined;
7160
6535
  readonly duration?: number | null | undefined;
7161
6536
  readonly height?: number | null | undefined;
7162
6537
  readonly width?: number | null | undefined;
7163
- readonly aspect_ratio?: number | null | undefined;
7164
- readonly codec?: string | null | undefined;
7165
6538
  } | null | undefined;
7166
6539
  } | null | undefined;
6540
+ readonly status: "OK";
6541
+ readonly total?: number | undefined;
7167
6542
  }>;
7168
6543
  get: () => Promise<PublicShare>;
7169
6544
  getFileUrl: (fileId: number) => Promise<string>;
7170
6545
  listFiles: (query?: PublicShareListQuery) => Promise<{
6546
+ readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7171
6547
  readonly cursor: string | null;
7172
6548
  readonly files: readonly {
7173
6549
  readonly content_type: string | null;
6550
+ readonly created_at: string;
7174
6551
  readonly crc32: string | null;
7175
6552
  readonly extension: string | null;
6553
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7176
6554
  readonly first_accessed_at: string | null;
6555
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7177
6556
  readonly icon: string | null;
7178
- readonly opensubtitles_hash: string | null;
7179
- readonly parent_id: number | null;
7180
- readonly screenshot: string | null;
7181
- readonly created_at: string;
7182
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
7183
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
7184
6557
  readonly id: number;
7185
6558
  readonly is_hidden: boolean;
7186
6559
  readonly is_mp4_available: boolean;
7187
6560
  readonly is_shared: boolean;
7188
6561
  readonly name: string;
7189
- readonly size: number;
7190
- readonly updated_at: string;
6562
+ readonly opensubtitles_hash: string | null;
6563
+ readonly parent_id: number | null;
6564
+ readonly screenshot: string | null;
7191
6565
  readonly sha1?: string | null | undefined;
6566
+ readonly size: number;
7192
6567
  readonly start_from?: number | undefined;
6568
+ readonly updated_at: string;
7193
6569
  readonly content_type_and_codecs?: string | null | undefined;
7194
6570
  readonly media_info?: {
7195
6571
  readonly format?: {
7196
- readonly name?: string | undefined;
7197
6572
  readonly bit_rate?: number | undefined;
7198
6573
  readonly duration?: number | undefined;
6574
+ readonly name?: string | undefined;
7199
6575
  } | null | undefined;
7200
6576
  readonly mime_type?: string | null | undefined;
7201
6577
  readonly streams?: readonly {
@@ -7210,53 +6586,53 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7210
6586
  }[] | undefined;
7211
6587
  } | null | undefined;
7212
6588
  readonly media_metadata?: {
6589
+ readonly aspect_ratio?: number | null | undefined;
6590
+ readonly codec?: string | null | undefined;
7213
6591
  readonly duration?: number | null | undefined;
7214
6592
  readonly height?: number | null | undefined;
7215
6593
  readonly width?: number | null | undefined;
7216
- readonly aspect_ratio?: number | null | undefined;
7217
- readonly codec?: string | null | undefined;
7218
6594
  } | null | undefined;
7219
6595
  readonly mp4_size?: number | null | undefined;
7220
6596
  readonly mp4_stream_url?: string | null | undefined;
7221
6597
  readonly need_convert?: boolean | undefined;
7222
6598
  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;
6599
+ 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
6600
  readonly stream_url?: string | null | undefined;
7225
6601
  readonly video_metadata?: {
6602
+ readonly aspect_ratio?: number | null | undefined;
6603
+ readonly codec?: string | null | undefined;
7226
6604
  readonly duration?: number | null | undefined;
7227
6605
  readonly height?: number | null | undefined;
7228
6606
  readonly width?: number | null | undefined;
7229
- readonly aspect_ratio?: number | null | undefined;
7230
- readonly codec?: string | null | undefined;
7231
6607
  } | null | undefined;
7232
6608
  }[];
7233
6609
  readonly parent: {
7234
6610
  readonly content_type: string | null;
6611
+ readonly created_at: string;
7235
6612
  readonly crc32: string | null;
7236
6613
  readonly extension: string | null;
6614
+ readonly file_type: "ARCHIVE" | "AUDIO" | "FILE" | "FOLDER" | "IMAGE" | "PDF" | "SWF" | "TEXT" | "VIDEO";
7237
6615
  readonly first_accessed_at: string | null;
6616
+ readonly folder_type: "REGULAR" | "SHARED_FRIEND" | "SHARED_ROOT";
7238
6617
  readonly icon: string | null;
7239
- readonly opensubtitles_hash: string | null;
7240
- readonly parent_id: number | null;
7241
- readonly screenshot: string | null;
7242
- readonly created_at: string;
7243
- readonly file_type: "FOLDER" | "FILE" | "AUDIO" | "VIDEO" | "IMAGE" | "ARCHIVE" | "PDF" | "TEXT" | "SWF";
7244
- readonly folder_type: "REGULAR" | "SHARED_ROOT" | "SHARED_FRIEND";
7245
6618
  readonly id: number;
7246
6619
  readonly is_hidden: boolean;
7247
6620
  readonly is_mp4_available: boolean;
7248
6621
  readonly is_shared: boolean;
7249
6622
  readonly name: string;
7250
- readonly size: number;
7251
- readonly updated_at: string;
6623
+ readonly opensubtitles_hash: string | null;
6624
+ readonly parent_id: number | null;
6625
+ readonly screenshot: string | null;
7252
6626
  readonly sha1?: string | null | undefined;
6627
+ readonly size: number;
7253
6628
  readonly start_from?: number | undefined;
6629
+ readonly updated_at: string;
7254
6630
  readonly content_type_and_codecs?: string | null | undefined;
7255
6631
  readonly media_info?: {
7256
6632
  readonly format?: {
7257
- readonly name?: string | undefined;
7258
6633
  readonly bit_rate?: number | undefined;
7259
6634
  readonly duration?: number | undefined;
6635
+ readonly name?: string | undefined;
7260
6636
  } | null | undefined;
7261
6637
  readonly mime_type?: string | null | undefined;
7262
6638
  readonly streams?: readonly {
@@ -7271,47 +6647,46 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7271
6647
  }[] | undefined;
7272
6648
  } | null | undefined;
7273
6649
  readonly media_metadata?: {
6650
+ readonly aspect_ratio?: number | null | undefined;
6651
+ readonly codec?: string | null | undefined;
7274
6652
  readonly duration?: number | null | undefined;
7275
6653
  readonly height?: number | null | undefined;
7276
6654
  readonly width?: number | null | undefined;
7277
- readonly aspect_ratio?: number | null | undefined;
7278
- readonly codec?: string | null | undefined;
7279
6655
  } | null | undefined;
7280
6656
  readonly mp4_size?: number | null | undefined;
7281
6657
  readonly mp4_stream_url?: string | null | undefined;
7282
6658
  readonly need_convert?: boolean | undefined;
7283
6659
  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;
6660
+ 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
6661
  readonly stream_url?: string | null | undefined;
7286
6662
  readonly video_metadata?: {
6663
+ readonly aspect_ratio?: number | null | undefined;
6664
+ readonly codec?: string | null | undefined;
7287
6665
  readonly duration?: number | null | undefined;
7288
6666
  readonly height?: number | null | undefined;
7289
6667
  readonly width?: number | null | undefined;
7290
- readonly aspect_ratio?: number | null | undefined;
7291
- readonly codec?: string | null | undefined;
7292
6668
  } | null | undefined;
7293
6669
  } | null;
7294
6670
  readonly status: "OK";
7295
- readonly breadcrumbs?: readonly (readonly [number, string])[] | undefined;
7296
6671
  readonly total?: number | undefined;
7297
6672
  }>;
7298
6673
  };
7299
6674
  publicShares: {
7300
6675
  create: (fileId: number) => Promise<PublicShare>;
7301
- delete: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7302
- readonly status: Schema.Literal<"OK">;
7303
- }, "Type">>;
6676
+ delete: (id: number) => Promise<{
6677
+ readonly status: "OK";
6678
+ }>;
7304
6679
  list: () => Promise<ReadonlyArray<PublicShare>>;
7305
6680
  };
7306
- shareFiles: (input: SharingShareInput) => Promise<Schema.Struct.ReadonlySide<{
7307
- readonly status: Schema.Literal<"OK">;
7308
- }, "Type">>;
6681
+ shareFiles: (input: SharingShareInput) => Promise<{
6682
+ readonly status: "OK";
6683
+ }>;
7309
6684
  unshare: (input: {
7310
6685
  readonly fileId: number;
7311
6686
  readonly shares?: ReadonlyArray<number | string>;
7312
- }) => Promise<Schema.Struct.ReadonlySide<{
7313
- readonly status: Schema.Literal<"OK">;
7314
- }, "Type">>;
6687
+ }) => Promise<{
6688
+ readonly status: "OK";
6689
+ }>;
7315
6690
  };
7316
6691
  tunnel: {
7317
6692
  listRoutes: () => Promise<ReadonlyArray<TunnelRoute>>;
@@ -7329,9 +6704,9 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7329
6704
  readonly errors: ReadonlyArray<TransfersAddMultiError>;
7330
6705
  readonly transfers: ReadonlyArray<Transfer>;
7331
6706
  }>;
7332
- cancel: (ids: ReadonlyArray<number>) => Promise<Schema.Struct.ReadonlySide<{
7333
- readonly status: Schema.Literal<"OK">;
7334
- }, "Type">>;
6707
+ cancel: (ids: ReadonlyArray<number>) => Promise<{
6708
+ readonly status: "OK";
6709
+ }>;
7335
6710
  clean: (ids?: ReadonlyArray<number>) => Promise<{
7336
6711
  readonly deleted_ids: ReadonlyArray<number>;
7337
6712
  }>;
@@ -7345,13 +6720,13 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
7345
6720
  readonly ret: ReadonlyArray<TransferInfoItem>;
7346
6721
  }>;
7347
6722
  list: (query?: TransfersListQuery) => Promise<TransfersListResponse>;
7348
- reannounce: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7349
- readonly status: Schema.Literal<"OK">;
7350
- }, "Type">>;
6723
+ reannounce: (id: number) => Promise<{
6724
+ readonly status: "OK";
6725
+ }>;
7351
6726
  retry: (id: number) => Promise<Transfer>;
7352
- stopRecording: (id: number) => Promise<Schema.Struct.ReadonlySide<{
7353
- readonly status: Schema.Literal<"OK">;
7354
- }, "Type">>;
6727
+ stopRecording: (id: number) => Promise<{
6728
+ readonly status: "OK";
6729
+ }>;
7355
6730
  };
7356
6731
  zips: {
7357
6732
  cancel: (id: number) => Promise<void>;
@@ -7382,5 +6757,5 @@ declare global {
7382
6757
  var SchemaErrorTypeId: symbol;
7383
6758
  }
7384
6759
  //#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-DuVB7yhw.d.ts.map
6760
+ export { TransferSchema as $, createFriendInvite as $a, EventsListResponse as $c, queryOAuthApps as $d, listAccountSubtitleLanguages as $f, listPaymentInvites as $i, ClientsError as $l, GetRssFeedErrorSpec as $n, FileSubtitlesError as $o, mapDecodeErrorToValidationError as $p, ListPaymentInvitesErrorSpec as $r, getApiDownloadUrl as $s, GetPublicShareFileUrlErrorSpec as $t, generateTOTP as $u, TunnelRoute as A, SendFriendRequestErrorSpec as Aa, FamilyInviteSchema as Ac, OAuthAppSession as Ad, AccountInfoBroad as Af, PaymentVoucherInfo as Ai, DownloadLinksInfo as Al, SharingUnshareInputSchema as An, FileHlsStreamUrlOptions as Ao, PutioErrorEnvelopeSchema 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, AccountWarnings as Bf, SubmitPaymentChangePlanError as Bi, JsonObjectSchema as Bl, getSharingCloneInfo as Bn, FileMp4ErrorSpec as Bo, PutioTypedErrorEnvelope 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, AccountConfirmationSchema as Cf, PaymentPlanGroupSchema as Ci, deleteEvent as Cl, SharingCloneInfoSchema as Cn, FileDirectAccessOptions as Co, selectJsonField 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, AccountDiskSchema as Df, PaymentProviderSchema as Di, CreateDownloadLinksErrorSpec as Dl, SharingShareInput as Dn, FileExtractionStatusSchema as Do, PutioAuthError 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, AccountDisk as Ef, PaymentProviderNameSchema as Ei, CreateDownloadLinksError as El, SharingCloneStatusSchema as En, FileExtractionStatus as Eo, PutioApiError 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, AccountSettings as Ff, RedeemPaymentVoucherErrorSpec as Fi, DownloadLinksStatusSchema as Fl, createPublicShare as Fn, FileMediaInfoSchema as Fo, PutioOperationErrorSpec 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, SaveAccountSettingsErrorSpec as Gf, createCoinbaseCharge as Gi, deleteConfigKey as Gl, unshareFile as Gn, FileRenameInput as Go, fallbackPutioErrorEnvelope as Gp, GetPaddleBillingInvoiceUrlErrorSpec as Gr, deleteFileExtraction as Gs, CreatePublicShareErrorSpec as Gt, VerifyTOTPResponseSchema as Gu, ReannounceTransferErrorSpec as H, sendFriendRequest as Ha, createFamilyInvite as Hc, QueryOAuthAppsErrorSpec as Hd, PasInfo as Hf, UserSubscriptionStatusSchema as Hi, PutioJsonObject as Hl, listPublicShares as Hn, FileMp4MutationErrorSpec as Ho, PutioValidationError as Hp, CreatePaddleWaitingPaymentError as Hr, createFileUploadFormData as Hs, ContinuePublicShareFilesError as Ht, VerifyTOTPError as Hu, AddTransferErrorSpec as I, getFriendSharedFolder as Ia, ListFamilyInvitesError as Ic, OAuthSetIconInputSchema as Id, AccountSettingsSchema as If, ReportPaymentsError as Ii, GetDownloadLinksError as Il, deletePublicShare as In, FileMediaInfoStreamSchema as Io, PutioOperationFailure 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, clearAccount as Jf, createPaddleWaitingPayment as Ji, readConfig as Jl, CreateRssFeedError as Jn, FileSort as Jo, isPutioErrorEnvelope as Jp, GetPaymentVoucherInfoError as Jr, deleteFiles as Js, DeletePublicShareError as Jt, buildAuthLoginUrl as Ju, StopRecordingTransferErrorSpec as K, FriendInviteJoinedUser as Ka, removeFamilyMember as Kc, UpdateOAuthAppErrorSpec as Kd, SaveAccountSettingsPayload as Kf, createOpenNodeCharge as Ki, getConfigKey as Kl, ClearRssFeedLogsError as Kn, FileResponseFor as Ko, isPutioApiError as Kp, GetPaymentInfoError as Kr, deleteFileMp4 as Ks, CreateSharingCloneError as Kt, VoucherLookupError as Ku, GetTransferError as L, listFriends as La, ListFamilyInvitesErrorSpec as Lc, OwnedOAuthApp as Ld, AccountSubtitleLanguage as Lf, ReportPaymentsErrorSpec as Li, GetDownloadLinksErrorSpec as Ll, getPublicShare as Ln, FileMediaMetadata as Lo, PutioRateLimitError 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, AccountInfoQuery as Mf, PreviewPaymentChangePlanError as Mi, DownloadLinksPayload as Ml, UnshareFileErrorSpec as Mn, FileListResponse as Mo, PutioKnownOperationErrorContract 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, AccountInfoQuerySchema as Nf, PreviewPaymentChangePlanErrorSpec as Ni, DownloadLinksPayloadSchema as Nl, cloneSharedFiles as Nn, FileMediaInfo as No, PutioOperationError 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, AccountInfoBase as Of, PaymentSubscriptionInfoSchema as Oi, DownloadLinksCreateInput as Ol, SharingShareInputSchema as On, FileExtractionsError as Oo, PutioConfigurationError 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, AccountInfoResponseFor as Pf, RedeemPaymentVoucherError as Pi, DownloadLinksStatus as Pl, continuePublicShareFiles as Pn, FileMediaInfoFormatSchema as Po, PutioOperationErrorFromSpec 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, listAccountConfirmations as Qf, listPaymentHistory as Qi, AuthorizationCodeSchema as Ql, GetRssFeedError as Qn, FileSubtitleSchema as Qo, mapConfigurationError as Qp, ListPaymentInvitesError as Qr, getApiContentUrl as Qs, GetPublicShareFileUrlError as Qt, forgotPassword as Qu, GetTransferErrorSpec as R, listSentRequests as Ra, ListFamilyMembersError as Rc, OwnedOAuthAppSchema as Rd, AccountSubtitleLanguageSchema as Rf, StopSubscriptionError as Ri, createDownloadLinks as Rl, getPublicShareFileUrl as Rn, FileMediaMetadataSchema as Ro, PutioSdkError 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, AccountConfirmation as Sf, PaymentPlanGroup as Si, clearEvents as Sl, SharingCloneInfo as Sn, FileCreateFolderInput as So, requestVoid 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, AccountConfirmationsErrorSpec as Tf, PaymentProvider as Ti, listEvents as Tl, SharingCloneInputSchema as Tn, FileExtractionSchema as To, AnyPutioOperationError 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, PasInfoSchema as Uf, classifyPaymentChangePlanResponse as Ui, PutioJsonPrimitive as Ul, listSharedFiles as Un, FileQuery as Uo, decodePutioErrorEnvelope as Up, CreatePaddleWaitingPaymentErrorSpec as Ur, createFileUploadRequest as Us, ContinuePublicShareFilesErrorSpec as Ut, VerifyTOTPErrorSpec as Uu, ReannounceTransferError as V, searchFriends as Va, RemoveFamilyMemberErrorSpec as Vc, QueryOAuthAppsError as Vd, AccountWarningsSchema as Vf, SubmitPaymentChangePlanErrorSpec as Vi, JsonValueSchema as Vl, listPublicShareFiles as Vn, FileMp4MutationError as Vo, PutioUnhandledSdkError as Vp, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as Vr, convertFilesToMp4 as Vs, restoreTrash as Vt, ValidateTokenResponseSchema as Vu, RetryTransferErrorSpec as W, CreateFriendInviteErrorSpec as Wa, listFamilyInvites as Wc, RegenerateOAuthAppTokenErrorSpec as Wd, SaveAccountSettingsError as Wf, confirmFastspringOrder as Wi, PutioJsonValue as Wl, shareFiles as Wn, FileQuerySchema as Wo, definePutioOperationErrorSpec as Wp, GetPaddleBillingInvoiceUrlError as Wr, createFolder as Ws, CreatePublicShareError as Wt, VerifyTOTPResponse as Wu, TransferBaseSchema as X, FriendInviteSchema as Xa, DeleteEventErrorSpec as Xc, deleteOAuthApp as Xd, getAccountInfo as Xf, getPaymentInfo as Xi, setConfigKey as Xl, DeleteRssFeedError as Xn, FileStartFromSetInput as Xo, isPutioRateLimitError as Xp, ListPaymentHistoryError as Xr, findNextFile as Xs, GetPublicShareError as Xt, clients as Xu, TransferAddInputSchema as Y, FriendInviteJoinedUserStatusSchema as Ya, DeleteEventError as Yc, createOAuthApp as Yd, destroyAccount as Yf, getPaddleBillingInvoiceUrl as Yi, readConfigWith as Yl, CreateRssFeedErrorSpec as Yn, FileSortSchema as Yo, isPutioOperationError as Yp, GetPaymentVoucherInfoErrorSpec as Yr, extractFiles as Ys, DeletePublicShareErrorSpec as Yt, checkCodeMatch as Yu, TransferInfoItem as Z, ListFriendInvitesError as Za, EventsListQuery as Zc, getOAuthApp as Zd, getAccountSettings as Zf, getPaymentVoucherInfo as Zi, writeConfig as Zl, DeleteRssFeedErrorSpec as Zn, FileSubtitle as Zo, makeResponseError as Zp, ListPaymentHistoryErrorSpec as Zr, findNextVideo as Zs, GetPublicShareErrorSpec as Zt, exists as Zu, GetZipErrorSpec as _, FriendSharedFolderError as _a, setStartFrom as _c, verifyTOTP as _d, deleteAllAppSpecificPasswords as _f, PaymentInviteSchema as _i, HistoryVoucherEventSchema as _l, SharedFileSchema as _n, FileBroad as _o, makePutioSdkConfig 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, CreateAppSpecificPasswordError as af, PaymentChangePlanPreviewInput as ai, HistoryFileSharedEvent as al, ListPublicShareFilesErrorSpec as an, DownloadUrlError as ao, PutioHttpRequest 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, AccountClearOptions as bf, PaymentOptionSchema as bi, ListEventsError as bl, SharedFileSharedWith as bn, FileConversionStatusSchema as bo, requestArrayBuffer 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, CreateAppSpecificPasswordInputSchema as cf, PaymentChangePlanSubmitResponse as ci, HistoryKnownEventTypeSchema as cl, ListSharedFilesError as cn, FileActiveConversionSchema as co, PutioQuery 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, DeleteAllAppSpecificPasswordsErrorSpec as df, PaymentHistoryItemSchema as di, HistoryTransferCallbackErrorEventSchema as dl, PublicShareListQuery as dn, FileApiDownloadUrlOptions as do, PutioSdkConfigShape 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, mapTransportError as em, GetSharedWithError as en, listFriendInvites as eo, saveAccountSettings 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, DeleteAppSpecificPasswordError as ff, PaymentHistoryQuery as fi, HistoryTransferCompletedEvent as fl, PublicShareListQuerySchema as fn, FileApiMp4DownloadUrlOptions as fo, PutioSdkContext 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, createAppSpecificPassword as gf, PaymentInvite as gi, HistoryUploadEventSchema as gl, SharedFile as gn, FileBreadcrumbSchema as go, makePutioFetchLayer 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, ListAppSpecificPasswordsErrorSpec as hf, PaymentInfoSchema as hi, HistoryTransferFromRssErrorEventSchema as hl, ShareFilesErrorSpec as hn, FileBreadcrumb as ho, makePutioFetchClient 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, AppSpecificPasswordSchema as if, PaymentChangePlanPreview as ii, HistoryFileFromRssDeletedEventSchema as il, ListPublicShareFilesError as in, CreateFolderErrorSpec as io, PutioHttpClientShape 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, AccountInfoBroadSchema as jf, PaymentVoucherInfoSchema as ji, DownloadLinksInfoSchema as jl, UnshareFileError as jn, FileListContinuationResponse as jo, PutioKnownErrorContract 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, AccountInfoBaseSchema as kf, PaymentTypeSchema as ki, DownloadLinksCreateInputSchema as kl, SharingUnshareInput as kn, FileExtractionsErrorSpec as ko, PutioErrorEnvelope 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, CreateAppSpecificPasswordResult as lf, PaymentChangePlanSubmitSchema as li, HistoryPrivateTorrentPinEventSchema as ll, ListSharedFilesErrorSpec as ln, FileActiveConversionsError as lo, PutioQueryValue 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, ListAppSpecificPasswordsError as mf, PaymentInfoPlanSchema as mi, HistoryTransferErrorEventSchema as ml, ShareFilesError as mn, FileBaseSchema as mo, encodePathSegment 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, responseRateLimitHeaders as nm, GetSharingCloneInfoError as nn, ContinueFilesErrorSpec as no, PutioAuth 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, CreateAppSpecificPasswordErrorSpec as of, PaymentChangePlanPreviewSchema as oi, HistoryFileSharedEventSchema as ol, ListPublicSharesError as on, DownloadUrlErrorSpec as oo, PutioHttpResponse 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, DeleteAppSpecificPasswordErrorSpec as pf, PaymentInfo as pi, HistoryTransferCompletedEventSchema as pl, PublicShareSchema as pn, FileBase as po, buildPutioUrl 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, SaveAccountSettingsPayloadSchema as qf, createPaddleBillingUpdatePaymentMethodTransaction as qi, getConfigKeyWith as ql, ClearRssFeedLogsErrorSpec as qn, FileSearchResponse as qo, isPutioAuthError as qp, 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, AppSpecificPassword as rf, ListPaymentPlansErrorSpec as ri, HistoryEventSchema as rl, withOperationErrors as rm, GetSharingCloneInfoErrorSpec as rn, CreateFolderError as ro, PutioHttpClient 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, CreateAppSpecificPasswordInput as sf, PaymentChangePlanSubmitInput as si, HistoryKnownEventType as sl, ListPublicSharesErrorSpec as sn, FileActiveConversion as so, PutioPathSegment 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, parseErrorBody as tm, GetSharedWithErrorSpec as tn, ContinueFilesError as to, OkResponseSchema 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, DeleteAllAppSpecificPasswordsError as uf, PaymentHistoryItem as ui, HistoryRssFilterPausedEventSchema as ul, PublicShare as un, FileActiveConversionsErrorSpec as uo, PutioSdkConfig 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, deleteAppSpecificPassword as vf, PaymentOption as vi, HistoryZipCreatedEvent as vl, SharedFileShare as vn, FileBroadSchema as vo, makePutioSdkLayer 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, AccountConfirmationsError as wf, PaymentPlanTypeSchema as wi, getEventTorrent as wl, SharingCloneInput as wn, FileExtraction as wo, selectJsonFields 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, AccountClearOptionsSchema as xf, PaymentPaddleWaitingPaymentInput as xi, ListEventsErrorSpec as xl, SharedFileSharedWithSchema as xn, FileCore as xo, requestJson 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, listAppSpecificPasswords as yf, PaymentOptionPlanTypeSchema as yi, HistoryZipCreatedEventSchema as yl, SharedFileShareSchema as yn, FileConversionStatus as yo, makePutioSdkLiveLayer 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, AccountTwoFactorSettingsSchema as zf, StopSubscriptionErrorSpec as zi, getDownloadLinks as zl, getSharedWith as zn, FileMp4Error as zo, PutioTransportError as zp, CreateOpenNodeChargeErrorSpec as zr, convertFileSelectionToMp4 as zs, emptyTrash as zt, TwoFactorRecoveryCodesSchema as zu };
6761
+ //# sourceMappingURL=index-rAQFKGNX.d.ts.map