@putdotio/sdk 14.0.1 → 14.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{forms-B9-NYUR5.js → forms-HC4fghtO.js} +5 -5
- package/dist/forms-HC4fghtO.js.map +1 -0
- package/dist/{index-DJs7suHM.d.ts → index-DqyRVg9G.d.ts} +6 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/utilities.d.ts +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +1 -1
- package/dist/forms-B9-NYUR5.js.map +0 -1
|
@@ -154,12 +154,12 @@ const withOperationErrors = dual(2, (effect, spec) => effect.pipe(Effect.mapErro
|
|
|
154
154
|
const PositiveIntegerSchema = Schema.Int.check(Schema.isGreaterThan(0));
|
|
155
155
|
const NonEmptyStringSchema = Schema.String.check(Schema.isMinLength(1));
|
|
156
156
|
const decodeAndRun = (schema, input, run) => Schema.decodeUnknownEffect(schema, { onExcessProperty: "error" })(input).pipe(Effect.mapError(mapDecodeErrorToValidationError), Effect.flatMap(run));
|
|
157
|
-
const cursorSelectionSchema = (
|
|
157
|
+
const cursorSelectionSchema = (fields) => Schema.Struct({
|
|
158
158
|
cursor: Schema.optional(NonEmptyStringSchema),
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
excludeIds: Schema.optional(Schema.Array(PositiveIntegerSchema)),
|
|
160
|
+
ids: Schema.optional(Schema.Array(PositiveIntegerSchema).check(Schema.isMinLength(1))),
|
|
161
161
|
...fields
|
|
162
|
-
}).check(Schema.makeFilter((input) => input.cursor !== void 0 || input
|
|
162
|
+
}).check(Schema.makeFilter((input) => input.cursor !== void 0 || input.ids !== void 0, { expected: "a non-empty cursor or file ID selection" }));
|
|
163
163
|
// src/core/defaults.ts
|
|
164
164
|
const DEFAULT_PUTIO_API_BASE_URL = "https://api.put.io";
|
|
165
165
|
const DEFAULT_PUTIO_UPLOAD_BASE_URL = "https://upload.put.io";
|
|
@@ -290,4 +290,4 @@ function toCursorSelectionForm(selection, idsFieldName = "file_ids") {
|
|
|
290
290
|
}
|
|
291
291
|
export { PutioOperationError as A, isPutioOperationError as B, PositiveIntegerSchema as C, PutioAuthError as D, PutioApiError as E, definePutioOperationErrorSpec as F, parseErrorBody as G, mapConfigurationError as H, fallbackPutioErrorEnvelope as I, withOperationErrors as J, responseRateLimitHeaders as K, isPutioApiError as L, PutioTransportError as M, PutioValidationError as N, PutioConfigurationError as O, decodePutioErrorEnvelope as P, isPutioAuthError as R, NonEmptyStringSchema as S, decodeAndRun as T, mapDecodeErrorToValidationError as U, isPutioRateLimitError as V, mapTransportError as W, selectJsonField as _, PutioSdkConfig as a, DEFAULT_PUTIO_UPLOAD_BASE_URL as b, makePutioFetchClient as c, putioSdkLayer as d, putioSdkLiveLayer as f, requestVoid as g, requestText as h, PutioHttpClient as i, PutioRateLimitError as j, PutioErrorEnvelopeSchema as k, makePutioFetchLayer as l, requestJson as m, toCursorSelectionForm as n, buildPutioUrl as o, requestArrayBuffer as p, toPutioResponseError as q, OkResponseSchema as r, encodePathSegment as s, joinCsv as t, normalizePutioSdkOptions as u, selectJsonFields as v, cursorSelectionSchema as w, DEFAULT_PUTIO_WEB_APP_URL as x, DEFAULT_PUTIO_API_BASE_URL as y, isPutioErrorEnvelope as z };
|
|
292
292
|
|
|
293
|
-
//# sourceMappingURL=forms-
|
|
293
|
+
//# sourceMappingURL=forms-HC4fghtO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms-HC4fghtO.js","names":[],"sources":["../src/core/errors.ts","../src/core/validation.ts","../src/core/defaults.ts","../src/core/http.ts","../src/core/forms.ts"],"sourcesContent":["import { Data, Effect, Predicate, Schema } from \"effect\";\nimport { dual, flow } from \"effect/Function\";\n\nexport const PutioErrorEnvelopeSchema = Schema.Struct({\n status: Schema.optional(Schema.String),\n error: Schema.optional(Schema.String),\n error_message: Schema.optional(Schema.String),\n error_type: Schema.optional(Schema.String),\n error_uri: Schema.optional(Schema.String),\n error_id: Schema.optional(Schema.NullOr(Schema.String)),\n extra: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),\n status_code: Schema.optional(Schema.Int),\n details: Schema.optional(Schema.Unknown),\n});\n\nexport type PutioErrorEnvelope = Schema.Schema.Type<typeof PutioErrorEnvelopeSchema>;\n\nexport interface PutioKnownErrorContract<\n TType extends string = string,\n TStatus extends number = number,\n TBody extends PutioErrorEnvelope = PutioErrorEnvelope,\n> {\n readonly bodySchema?: Schema.Schema<TBody> | undefined;\n readonly errorType?: TType | undefined;\n readonly statusCode?: TStatus | undefined;\n}\n\ntype ContractErrorType<TContract extends PutioKnownErrorContract> =\n TContract extends PutioKnownErrorContract<infer TType, number> ? TType : never;\n\ntype ContractStatusCode<TContract extends PutioKnownErrorContract> =\n TContract extends PutioKnownErrorContract<string, infer TStatus> ? TStatus : never;\n\ntype ContractBody<TContract extends PutioKnownErrorContract> = TContract extends {\n readonly bodySchema: Schema.Schema<infer TBody extends PutioErrorEnvelope>;\n}\n ? TBody\n : PutioErrorEnvelope;\n\nexport type PutioTypedErrorEnvelope<TContract extends PutioKnownErrorContract> =\n TContract extends PutioKnownErrorContract\n ? Omit<ContractBody<TContract>, \"error_message\" | \"error_type\" | \"status_code\"> & {\n readonly error_message?: string;\n readonly error_type?: [ContractErrorType<TContract>] extends [never]\n ? string\n : ContractErrorType<TContract>;\n readonly status_code?: [ContractStatusCode<TContract>] extends [never]\n ? number\n : ContractStatusCode<TContract>;\n }\n : never;\n\nexport interface PutioOperationErrorSpec<\n TDomain extends string = string,\n TOperation extends string = string,\n TContracts extends ReadonlyArray<PutioKnownErrorContract> =\n ReadonlyArray<PutioKnownErrorContract>,\n> {\n readonly domain: TDomain;\n readonly operation: TOperation;\n readonly knownErrors: TContracts;\n}\n\ntype KnownOperationContractOf<TContracts extends ReadonlyArray<PutioKnownErrorContract>> = Extract<\n TContracts[number],\n PutioKnownOperationErrorContract\n>;\n\ntype PutioOperationErrorReason<TContract extends PutioKnownErrorContract> = TContract extends {\n readonly errorType: infer TType extends string;\n}\n ? {\n readonly kind: \"error_type\";\n readonly errorType: TType;\n }\n : TContract extends { readonly statusCode: infer TStatus extends number }\n ? {\n readonly kind: \"status_code\";\n readonly statusCode: TStatus;\n }\n : never;\n\nexport type PutioKnownOperationErrorContract =\n | {\n readonly errorType: string;\n readonly statusCode?: number;\n }\n | {\n readonly errorType?: undefined;\n readonly statusCode: number;\n };\n\nconst isKnownContractMatch = <TContract extends PutioKnownErrorContract>(\n contract: TContract,\n error: PutioApiError | PutioAuthError,\n): contract is TContract & PutioKnownOperationErrorContract => {\n if (contract.bodySchema !== undefined && !Schema.is(contract.bodySchema)(error.body)) {\n return false;\n }\n\n if (contract.errorType !== undefined) {\n if (error.body.error_type !== contract.errorType) {\n return false;\n }\n\n return contract.statusCode === undefined || error.status === contract.statusCode;\n }\n\n if (contract.statusCode !== undefined) {\n return error.status === contract.statusCode;\n }\n\n return false;\n};\n\nconst isMatchableApiError = (error: PutioSdkError): error is PutioApiError | PutioAuthError =>\n Predicate.isTagged(error, \"PutioApiError\") || Predicate.isTagged(error, \"PutioAuthError\");\n\nconst PutioKnownOperationErrorContractSchema = Schema.Union([\n Schema.Struct({\n errorType: Schema.String,\n statusCode: Schema.optional(Schema.Int),\n }),\n Schema.Struct({\n errorType: Schema.optional(Schema.Undefined),\n statusCode: Schema.Int,\n }),\n]);\n\nconst PutioOperationErrorReasonSchema = Schema.Union([\n Schema.Struct({\n kind: Schema.Literal(\"error_type\"),\n errorType: Schema.String,\n }),\n Schema.Struct({\n kind: Schema.Literal(\"status_code\"),\n statusCode: Schema.Number,\n }),\n]);\n\nconst toOperationReason = (\n contract: PutioKnownOperationErrorContract,\n): PutioOperationErrorReason<PutioKnownOperationErrorContract> => {\n if (contract.errorType !== undefined) {\n return {\n kind: \"error_type\",\n errorType: contract.errorType,\n };\n }\n\n return {\n kind: \"status_code\",\n statusCode: contract.statusCode,\n };\n};\n\nexport class PutioTransportError extends Data.TaggedError(\"PutioTransportError\")<{\n readonly cause: unknown;\n}> {}\n\nexport class PutioConfigurationError extends Data.TaggedError(\"PutioConfigurationError\")<{\n readonly cause: unknown;\n}> {}\n\nexport class PutioValidationError extends Data.TaggedError(\"PutioValidationError\")<{\n readonly cause: unknown;\n}> {}\n\nconst RateLimitHeaderFields = {\n action: Schema.optional(Schema.String),\n id: Schema.optional(Schema.String),\n limit: Schema.optional(Schema.String),\n remaining: Schema.optional(Schema.String),\n retryAfter: Schema.optional(Schema.String),\n reset: Schema.optional(Schema.String),\n};\n\nconst PutioResponseErrorFields = {\n status: Schema.Int,\n body: PutioErrorEnvelopeSchema,\n cause: Schema.optional(Schema.Defect()),\n};\n\nexport class PutioApiError extends Schema.TaggedError<PutioApiError>()(\"PutioApiError\", {\n ...PutioResponseErrorFields,\n}) {}\n\nexport class PutioAuthError extends Schema.TaggedError<PutioAuthError>()(\"PutioAuthError\", {\n ...PutioResponseErrorFields,\n}) {}\n\nexport class PutioRateLimitError extends Schema.TaggedError<PutioRateLimitError>()(\n \"PutioRateLimitError\",\n { ...PutioResponseErrorFields, ...RateLimitHeaderFields },\n) {}\n\nexport class PutioOperationError<\n TDomain extends string,\n TOperation extends string,\n TContract extends PutioKnownOperationErrorContract,\n> extends Data.TaggedError(\"PutioOperationError\")<{\n readonly body: PutioTypedErrorEnvelope<TContract>;\n readonly contract: TContract;\n readonly domain: TDomain;\n readonly operation: TOperation;\n readonly reason: PutioOperationErrorReason<TContract>;\n readonly status: number;\n}> {}\n\nexport type PutioSdkError =\n | PutioConfigurationError\n | PutioTransportError\n | PutioValidationError\n | PutioApiError\n | PutioAuthError\n | PutioRateLimitError;\n\nexport type PutioUnhandledSdkError = PutioSdkError;\n\nexport type PutioOperationErrorFromSpec<TSpec extends PutioOperationErrorSpec> =\n PutioOperationError<\n TSpec[\"domain\"],\n TSpec[\"operation\"],\n KnownOperationContractOf<TSpec[\"knownErrors\"]>\n >;\n\nexport type PutioOperationFailure<TSpec extends PutioOperationErrorSpec> =\n | PutioUnhandledSdkError\n | PutioOperationErrorFromSpec<TSpec>;\n\nexport type AnyPutioOperationError = PutioOperationError<\n string,\n string,\n PutioKnownOperationErrorContract\n>;\n\nexport const definePutioOperationErrorSpec = <\n const TDomain extends string,\n const TOperation extends string,\n const TContracts extends ReadonlyArray<PutioKnownErrorContract>,\n>(\n spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>,\n) => spec;\n\nexport const decodePutioErrorEnvelope = Schema.decodeUnknownEffect(PutioErrorEnvelopeSchema);\n\nconst isPutioErrorEnvelopeValue = Schema.is(PutioErrorEnvelopeSchema);\n\nexport const isPutioErrorEnvelope = (value: unknown): value is PutioErrorEnvelope =>\n isPutioErrorEnvelopeValue(value);\n\nconst responseErrorFields = {\n body: PutioErrorEnvelopeSchema,\n status: Schema.Number,\n};\n\nconst isPutioApiErrorValue = Schema.is(\n Schema.Struct({ _tag: Schema.Literal(\"PutioApiError\"), ...responseErrorFields }),\n);\n\nconst isPutioAuthErrorValue = Schema.is(\n Schema.Struct({ _tag: Schema.Literal(\"PutioAuthError\"), ...responseErrorFields }),\n);\n\nconst isPutioRateLimitErrorValue = Schema.is(\n Schema.Struct({\n _tag: Schema.Literal(\"PutioRateLimitError\"),\n ...responseErrorFields,\n ...RateLimitHeaderFields,\n }),\n);\n\nconst isPutioOperationErrorValue = Schema.is(\n Schema.Struct({\n _tag: Schema.Literal(\"PutioOperationError\"),\n ...responseErrorFields,\n contract: PutioKnownOperationErrorContractSchema,\n domain: Schema.String,\n operation: Schema.String,\n reason: PutioOperationErrorReasonSchema,\n }),\n);\n\nexport const isPutioApiError = (value: unknown): value is PutioApiError =>\n isPutioApiErrorValue(value);\n\nexport const isPutioAuthError = (value: unknown): value is PutioAuthError =>\n isPutioAuthErrorValue(value);\n\nexport const isPutioRateLimitError = (value: unknown): value is PutioRateLimitError =>\n isPutioRateLimitErrorValue(value);\n\nexport const isPutioOperationError = (value: unknown): value is AnyPutioOperationError =>\n isPutioOperationErrorValue(value);\n\nexport const fallbackPutioErrorEnvelope = (status: number): PutioErrorEnvelope => ({\n error_message: `put.io API request failed with status ${status}`,\n status_code: status,\n});\n\nconst getHeader = (headers: Headers, name: string): string | undefined =>\n headers.get(name) ?? undefined;\n\nexport const responseRateLimitHeaders = (headers: Headers) => ({\n action: getHeader(headers, \"x-ratelimit-action\"),\n id: getHeader(headers, \"x-ratelimit-id\"),\n limit: getHeader(headers, \"x-ratelimit-limit\"),\n remaining: getHeader(headers, \"x-ratelimit-remaining\"),\n retryAfter: getHeader(headers, \"retry-after\"),\n reset: getHeader(headers, \"x-ratelimit-reset\"),\n});\n\nexport const mapDecodeErrorToValidationError = (cause: unknown) =>\n new PutioValidationError({ cause });\n\nexport const mapConfigurationError = (cause: unknown) => new PutioConfigurationError({ cause });\n\nexport const mapTransportError = (cause: unknown) => new PutioTransportError({ cause });\n\nexport const toPutioResponseError = (\n status: number,\n headers: Headers,\n body: PutioErrorEnvelope,\n cause?: unknown,\n): PutioSdkError => {\n if (status === 429) {\n return new PutioRateLimitError({\n status,\n body,\n ...responseRateLimitHeaders(headers),\n cause,\n });\n }\n\n if (status === 401 || status === 403) {\n return new PutioAuthError({ status, body, cause });\n }\n\n return new PutioApiError({ status, body, cause });\n};\n\nexport const parseErrorBody = (status: number) =>\n flow(\n decodePutioErrorEnvelope,\n Effect.orElseSucceed(() => fallbackPutioErrorEnvelope(status)),\n );\n\nexport const withOperationErrors: {\n <\n const TDomain extends string,\n const TOperation extends string,\n const TContracts extends ReadonlyArray<PutioKnownErrorContract>,\n >(\n spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>,\n ): <A, E extends PutioSdkError, R>(\n effect: Effect.Effect<A, E, R>,\n ) => Effect.Effect<\n A,\n E | PutioOperationError<TDomain, TOperation, KnownOperationContractOf<TContracts>>,\n R\n >;\n <\n A,\n E extends PutioSdkError,\n R,\n const TDomain extends string,\n const TOperation extends string,\n const TContracts extends ReadonlyArray<PutioKnownErrorContract>,\n >(\n effect: Effect.Effect<A, E, R>,\n spec: PutioOperationErrorSpec<TDomain, TOperation, TContracts>,\n ): Effect.Effect<\n A,\n E | PutioOperationError<TDomain, TOperation, KnownOperationContractOf<TContracts>>,\n R\n >;\n} = dual(\n 2,\n <A, E extends PutioSdkError, R>(\n effect: Effect.Effect<A, E, R>,\n spec: PutioOperationErrorSpec,\n ): Effect.Effect<A, E | AnyPutioOperationError, R> =>\n effect.pipe(\n Effect.mapError((error) => {\n if (!isMatchableApiError(error)) {\n return error;\n }\n\n const contract = spec.knownErrors.find((candidate) =>\n isKnownContractMatch(candidate, error),\n );\n\n if (!contract) {\n return error;\n }\n\n return new PutioOperationError({\n body: error.body,\n contract,\n domain: spec.domain,\n operation: spec.operation,\n reason: toOperationReason(contract),\n status: error.status,\n });\n }),\n ),\n);\n","import { Effect, Schema } from \"effect\";\n\nimport { mapDecodeErrorToValidationError } from \"./errors.js\";\n\nexport const PositiveIntegerSchema = Schema.Int.check(Schema.isGreaterThan(0));\nexport const NonEmptyStringSchema = Schema.String.check(Schema.isMinLength(1));\n\nexport const decodeAndRun = <S extends Schema.Top, I, A, E, R>(\n schema: S,\n input: I,\n run: (decoded: S[\"Type\"]) => Effect.Effect<A, E, R>,\n) =>\n Schema.decodeUnknownEffect(schema, { onExcessProperty: \"error\" })(input).pipe(\n Effect.mapError(mapDecodeErrorToValidationError),\n Effect.flatMap(run),\n );\n\ntype CursorOrIdsSelection = {\n readonly cursor?: string;\n readonly ids?: ReadonlyArray<number>;\n};\n\nexport const cursorSelectionSchema = <const TFields extends Schema.Struct.Fields>(\n fields: TFields,\n) =>\n Schema.Struct({\n cursor: Schema.optional(NonEmptyStringSchema),\n excludeIds: Schema.optional(Schema.Array(PositiveIntegerSchema)),\n ids: Schema.optional(Schema.Array(PositiveIntegerSchema).check(Schema.isMinLength(1))),\n ...fields,\n }).check(\n Schema.makeFilter(\n (input: CursorOrIdsSelection) => input.cursor !== undefined || input.ids !== undefined,\n { expected: \"a non-empty cursor or file ID selection\" },\n ),\n );\n","export const DEFAULT_PUTIO_API_BASE_URL = \"https://api.put.io\";\nexport const DEFAULT_PUTIO_UPLOAD_BASE_URL = \"https://upload.put.io\";\nexport const DEFAULT_PUTIO_WEB_APP_URL = \"https://app.put.io\";\n","import { Context, Effect, Layer, Predicate, Schema, Struct } from \"effect\";\n\nimport {\n DEFAULT_PUTIO_API_BASE_URL,\n DEFAULT_PUTIO_UPLOAD_BASE_URL,\n DEFAULT_PUTIO_WEB_APP_URL,\n} from \"./defaults.js\";\nimport {\n fallbackPutioErrorEnvelope,\n mapConfigurationError,\n mapDecodeErrorToValidationError,\n mapTransportError,\n parseErrorBody,\n PutioConfigurationError,\n type PutioSdkError,\n toPutioResponseError,\n} from \"./errors.js\";\n\nexport type PutioQueryValue = string | number | boolean | null | undefined;\n\nexport type PutioQuery = Readonly<Record<string, PutioQueryValue>>;\n\nexport type PutioPathSegment = string | number | boolean;\n\nexport interface PutioSdkOptions {\n readonly accessToken?: string;\n readonly baseUrl?: string | URL;\n readonly headers?: HeadersInit;\n readonly uploadBaseUrl?: string | URL;\n readonly webAppUrl?: string | URL;\n}\n\nexport class PutioSdkConfig extends Context.Service<PutioSdkConfig, PutioSdkOptions>()(\n \"PutioSdkConfig\",\n) {}\n\nexport interface PutioHttpRequest {\n readonly body?: BodyInit;\n readonly headers: Headers;\n readonly method: PutioRequestMethod;\n readonly url: string;\n}\n\nexport interface PutioHttpResponse {\n readonly arrayBuffer: Effect.Effect<ArrayBuffer, PutioSdkError>;\n readonly headers: Headers;\n readonly json: Effect.Effect<unknown, PutioSdkError>;\n readonly status: number;\n}\n\nexport interface PutioHttpClientService {\n readonly execute: (request: PutioHttpRequest) => Effect.Effect<PutioHttpResponse, PutioSdkError>;\n}\n\nexport class PutioHttpClient extends Context.Service<PutioHttpClient, PutioHttpClientService>()(\n \"PutioHttpClient\",\n) {}\n\nexport type PutioSdkContext = PutioSdkConfig | PutioHttpClient;\n\nexport const normalizePutioSdkOptions = (config: PutioSdkOptions): PutioSdkOptions => ({\n accessToken: config.accessToken,\n baseUrl: config.baseUrl ?? DEFAULT_PUTIO_API_BASE_URL,\n headers: config.headers,\n uploadBaseUrl: config.uploadBaseUrl ?? DEFAULT_PUTIO_UPLOAD_BASE_URL,\n webAppUrl: config.webAppUrl ?? DEFAULT_PUTIO_WEB_APP_URL,\n});\n\nexport const putioSdkLayer = (config: PutioSdkOptions) =>\n Layer.succeed(PutioSdkConfig, normalizePutioSdkOptions(config));\n\nexport const putioSdkLiveLayer = (config: PutioSdkOptions) =>\n Layer.mergeAll(putioSdkLayer(config), makePutioFetchLayer());\n\nexport const makePutioFetchLayer = (\n fetchImplementation: typeof globalThis.fetch = globalThis.fetch,\n) => Layer.succeed(PutioHttpClient, makePutioFetchClient(fetchImplementation));\n\nexport const makePutioFetchClient = (\n fetchImplementation: typeof globalThis.fetch = globalThis.fetch,\n): PutioHttpClientService => ({\n execute: (request) =>\n Effect.suspend(() => {\n const controller = new AbortController();\n\n const read = <A>(body: () => Promise<A>) =>\n Effect.tryPromise({ try: body, catch: mapTransportError }).pipe(\n Effect.onInterrupt(() => Effect.sync(() => controller.abort())),\n );\n\n return read(async () => {\n const response = await fetchImplementation(request.url, {\n body: request.body,\n headers: request.headers,\n method: request.method,\n signal: controller.signal,\n });\n\n return {\n arrayBuffer: read(() => response.arrayBuffer()),\n headers: response.headers,\n json: isSuccessStatus(response.status)\n ? read(() => response.json())\n : read(() => response.text()).pipe(\n Effect.flatMap((text) =>\n Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown))(text).pipe(\n Effect.mapError(() =>\n toPutioResponseError(\n response.status,\n response.headers,\n fallbackPutioErrorEnvelope(response.status),\n new SyntaxError(\"The HTTP error response body is not valid JSON\"),\n ),\n ),\n ),\n ),\n ),\n status: response.status,\n };\n });\n }),\n});\n\nexport const encodePathSegment = (value: PutioPathSegment): string =>\n encodeURIComponent(String(value));\n\nconst absoluteUrlPattern = /^(?:[a-z][a-z\\d+.-]*:|\\/\\/)/i;\n\nconst normalizeApiPath = (path: string): string => {\n if (absoluteUrlPattern.test(path)) {\n throw mapConfigurationError(\"SDK API request paths must be relative to the configured baseUrl\");\n }\n\n return path.startsWith(\"/\") ? path : `/${path}`;\n};\n\nexport const buildPutioUrl = (baseUrl: string | URL, path: string, query?: PutioQuery): string => {\n const url = new URL(normalizeApiPath(path), baseUrl);\n\n if (query) {\n for (const [key, value] of Object.entries(query)) {\n if (value !== undefined && value !== null) {\n url.searchParams.set(key, String(value));\n }\n }\n }\n\n return url.toString();\n};\n\nconst mapUrlBuildError = (cause: unknown) =>\n cause instanceof PutioConfigurationError ? cause : mapConfigurationError(cause);\n\nexport const OkResponseSchema = Schema.Struct({\n status: Schema.Literal(\"OK\"),\n});\n\nexport type PutioAuth =\n | { readonly type: \"config-token\" }\n | { readonly type: \"token\"; readonly token: string }\n | { readonly type: \"basic\"; readonly username: string; readonly password: string }\n | { readonly type: \"none\" };\n\ntype PutioRequestMethod = \"GET\" | \"POST\" | \"PUT\" | \"PATCH\" | \"DELETE\";\n\ntype PutioRequestBody =\n | { readonly type: \"none\" }\n | { readonly type: \"json\"; readonly value: unknown }\n | { readonly type: \"form\"; readonly value: Readonly<Record<string, Schema.Json | undefined>> }\n | { readonly type: \"form-data\"; readonly value: FormData };\n\ninterface PutioRequestOptions {\n readonly method: PutioRequestMethod;\n readonly path: string;\n readonly baseUrl?: string | URL;\n readonly query?: PutioQuery;\n readonly headers?: HeadersInit;\n readonly auth?: PutioAuth;\n readonly body?: PutioRequestBody;\n}\n\nconst isSuccessStatus = (status: number) => status >= 200 && status < 300;\n\nconst decodeSuccessJson = <S extends Schema.Top>(schema: S, response: PutioHttpResponse) =>\n response.json.pipe(\n Effect.flatMap((json) =>\n Schema.decodeUnknownEffect(schema)(json).pipe(\n Effect.mapError(mapDecodeErrorToValidationError),\n ),\n ),\n );\n\nconst decodeFailure = (response: PutioHttpResponse, headers: Headers) =>\n response.json.pipe(\n Effect.flatMap(parseErrorBody(response.status)),\n Effect.map((body) => toPutioResponseError(response.status, headers, body)),\n );\n\nconst resolveAuthorization = (\n config: PutioSdkOptions,\n auth: PutioAuth | undefined,\n): Effect.Effect<string | undefined, PutioSdkError> => {\n const resolvedAuth = auth ?? { type: \"config-token\" as const };\n\n switch (resolvedAuth.type) {\n case \"none\":\n return Effect.succeed(undefined);\n case \"token\":\n return Effect.succeed(`Token ${resolvedAuth.token}`);\n case \"basic\":\n return Effect.try({\n try: () => `Basic ${btoa(`${resolvedAuth.username}:${resolvedAuth.password}`)}`,\n catch: mapConfigurationError,\n });\n case \"config-token\":\n if (!config.accessToken) {\n return Effect.fail(\n mapConfigurationError(\n \"This endpoint requires an access token, but PutioSdkConfig.accessToken is missing\",\n ),\n );\n }\n\n return Effect.succeed(`Token ${config.accessToken}`);\n }\n};\n\nconst normalizeFormValue = (value: Schema.Json): string => {\n if (value === null) {\n return \"\";\n }\n\n if (Predicate.isString(value)) {\n return value;\n }\n\n if (Predicate.isNumber(value) || Predicate.isBoolean(value)) {\n return String(value);\n }\n\n return JSON.stringify(value);\n};\n\nconst withBody = (body: PutioRequestBody): Effect.Effect<BodyInit | undefined, PutioSdkError> => {\n switch (body.type) {\n case \"none\":\n return Effect.succeed(undefined);\n case \"json\":\n return Effect.try({\n try: () => JSON.stringify(body.value),\n catch: mapDecodeErrorToValidationError,\n });\n case \"form\":\n return Effect.succeed(\n new URLSearchParams(\n Object.entries(body.value).flatMap(([key, value]) =>\n value === undefined ? [] : [[key, normalizeFormValue(value)]],\n ),\n ),\n );\n case \"form-data\":\n return Effect.succeed(body.value);\n }\n};\n\nconst makeRequest = (\n url: string,\n options: PutioRequestOptions,\n configHeaders: HeadersInit | undefined,\n authorization?: string,\n) =>\n Effect.gen(function* () {\n const headers = new Headers(configHeaders);\n headers.delete(\"authorization\");\n new Headers(options.headers).forEach((value, name) => headers.set(name, value));\n\n const body = options.body ?? { type: \"none\" as const };\n\n if (!headers.has(\"accept\")) {\n headers.set(\"accept\", \"application/json\");\n }\n\n if (authorization) {\n headers.set(\"authorization\", authorization);\n }\n\n if (body.type === \"json\" && !headers.has(\"content-type\")) {\n headers.set(\"content-type\", \"application/json\");\n }\n\n return {\n body: yield* withBody(body),\n headers,\n method: options.method,\n url,\n };\n });\n\nconst executeRequest = (options: PutioRequestOptions) =>\n Effect.gen(function* () {\n const config = yield* PutioSdkConfig;\n const httpClient = yield* PutioHttpClient;\n const authorization = yield* resolveAuthorization(config, options.auth);\n\n const url = yield* Effect.try({\n try: () =>\n buildPutioUrl(\n options.baseUrl ?? config.baseUrl ?? DEFAULT_PUTIO_API_BASE_URL,\n options.path,\n options.query,\n ),\n catch: mapUrlBuildError,\n });\n\n const request = yield* makeRequest(url, options, config.headers, authorization);\n\n return yield* httpClient.execute(request);\n });\n\nexport const requestJson = <S extends Schema.Top>(\n schema: S,\n options: PutioRequestOptions,\n): Effect.Effect<S[\"Type\"], PutioSdkError, PutioSdkContext | S[\"DecodingServices\"]> =>\n executeRequest(options).pipe(\n Effect.flatMap((response) =>\n isSuccessStatus(response.status)\n ? decodeSuccessJson(schema, response)\n : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail)),\n ),\n );\n\nexport const selectJsonField =\n <K extends string>(field: K) =>\n <A extends { readonly [P in K]: unknown }, E, R>(\n effect: Effect.Effect<A, E, R>,\n ): Effect.Effect<A[K], E, R> =>\n effect.pipe(Effect.map((value) => value[field]));\n\nexport const selectJsonFields =\n <const K extends readonly string[]>(...fields: K) =>\n <A extends { readonly [P in K[number]]: unknown }, E, R>(\n effect: Effect.Effect<A, E, R>,\n ): Effect.Effect<Pick<A, K[number]>, E, R> =>\n effect.pipe(Effect.map((value) => Struct.pick(value, fields)));\n\nexport const requestArrayBuffer = (\n options: PutioRequestOptions,\n): Effect.Effect<Uint8Array, PutioSdkError, PutioSdkContext> =>\n executeRequest(options).pipe(\n Effect.flatMap((response) =>\n isSuccessStatus(response.status)\n ? response.arrayBuffer.pipe(Effect.map((buffer) => new Uint8Array(buffer)))\n : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail)),\n ),\n );\n\nexport const requestText = (\n options: PutioRequestOptions,\n): Effect.Effect<string, PutioSdkError, PutioSdkContext> =>\n requestArrayBuffer(options).pipe(Effect.map((bytes) => new TextDecoder().decode(bytes)));\n\nexport const requestVoid = (\n options: PutioRequestOptions,\n): Effect.Effect<void, PutioSdkError, PutioSdkContext> =>\n executeRequest(options).pipe(\n Effect.flatMap((response) =>\n isSuccessStatus(response.status)\n ? Effect.void\n : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail)),\n ),\n );\n","type CsvValue = string | number;\n\nexport interface CursorSelectionInput<TValue extends CsvValue = number> {\n readonly cursor?: string;\n readonly excludeIds?: ReadonlyArray<TValue>;\n readonly ids?: ReadonlyArray<TValue>;\n}\n\nexport const joinCsv = <TValue extends CsvValue>(\n values: ReadonlyArray<TValue> | undefined,\n): string | undefined => (values && values.length > 0 ? values.join(\",\") : undefined);\n\ntype CursorSelectionForm<TIdsFieldName extends string> = {\n readonly cursor?: string;\n readonly exclude_ids?: string;\n} & Record<TIdsFieldName, string | undefined>;\n\nexport function toCursorSelectionForm<TValue extends CsvValue>(\n selection: CursorSelectionInput<TValue>,\n): CursorSelectionForm<\"file_ids\">;\nexport function toCursorSelectionForm<TValue extends CsvValue, const TIdsFieldName extends string>(\n selection: CursorSelectionInput<TValue>,\n idsFieldName: TIdsFieldName,\n): CursorSelectionForm<TIdsFieldName>;\nexport function toCursorSelectionForm(\n selection: CursorSelectionInput<CsvValue>,\n idsFieldName = \"file_ids\",\n): CursorSelectionForm<string> {\n return {\n cursor: selection.cursor,\n exclude_ids: joinCsv(selection.excludeIds),\n [idsFieldName]: joinCsv(selection.ids),\n };\n}\n"],"mappings":";;;AAGA,MAAa,2BAA2B,OAAO,OAAO;CACpD,QAAQ,OAAO,SAAS,OAAO,MAAM;CACrC,OAAO,OAAO,SAAS,OAAO,MAAM;CACpC,e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a,mBACQ,WAEjB,WAEA,OAAO,KAAK,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AAEnD,MAAa,oBACyB,GAAG,YAErC,WAEA,OAAO,KAAK,OAAO,KAAK,UAAU,OAAO,KAAK,OAAO,MAAM,CAAC,CAAC;AAEjE,MAAa,sBACX,YAEA,eAAe,OAAO,CAAC,CAAC,KACtB,OAAO,SAAS,aACd,gBAAgB,SAAS,MAAM,IAC3B,SAAS,YAAY,KAAK,OAAO,KAAK,WAAW,IAAI,WAAW,MAAM,CAAC,CAAC,IACxE,cAAc,UAAU,SAAS,OAAO,CAAC,CAAC,KAAK,OAAO,QAAQ,OAAO,IAAI,CAAC,CAChF,CACF;AAEF,MAAa,eACX,YAEA,mBAAmB,OAAO,CAAC,CAAC,KAAK,OAAO,KAAK,UAAU,IAAI,YAAY,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzF,MAAa,eACX,YAEA,eAAe,OAAO,CAAC,CAAC,KACtB,OAAO,SAAS,aACd,gBAAgB,SAAS,MAAM,IAC3B,OAAO,OACP,cAAc,UAAU,SAAS,OAAO,CAAC,CAAC,KAAK,OAAO,QAAQ,OAAO,IAAI,CAAC,CAChF,CACF;;AC1WF,MAAa,WACX,WACwB,UAAU,OAAO,SAAS,IAAI,OAAO,KAAK,GAAG,IAAI,KAAA;AAc3E,SAAgB,sBACd,WACA,eAAe,YACc;CAC7B,OAAO;EACL,QAAQ,UAAU;EAClB,aAAa,QAAQ,UAAU,UAAU;GACxC,eAAe,QAAQ,UAAU,GAAG;CACvC;AACF"}
|
|
@@ -1258,8 +1258,9 @@ declare const setConfigKey: (key: string, value: PutioJsonValue) => Effect.Effec
|
|
|
1258
1258
|
declare const deleteConfigKey: (key: string) => Effect.Effect<Schema.Schema.Type<typeof OkResponseSchema>, PutioSdkError, PutioSdkContext>;
|
|
1259
1259
|
declare const DownloadLinksStatusSchema: Schema.Literals<readonly ["NEW", "PROCESSING", "DONE", "ERROR"]>;
|
|
1260
1260
|
declare const DownloadLinksCreateInputSchema: Schema.Struct<{
|
|
1261
|
-
readonly [x: string]: Schema.optional<Schema.$Array<Schema.Int>> | Schema.optional<Schema.String>;
|
|
1262
1261
|
readonly cursor: Schema.optional<Schema.String>;
|
|
1262
|
+
readonly excludeIds: Schema.optional<Schema.$Array<Schema.Int>>;
|
|
1263
|
+
readonly ids: Schema.optional<Schema.$Array<Schema.Int>>;
|
|
1263
1264
|
}>;
|
|
1264
1265
|
declare const DownloadLinksPayloadSchema: Schema.Struct<{
|
|
1265
1266
|
readonly download_links: Schema.$Array<Schema.String>;
|
|
@@ -6005,8 +6006,9 @@ declare const makePutioSdkLiveClientLayer: (config: PutioSdkOptions) => Layer.La
|
|
|
6005
6006
|
declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkOptions) => {
|
|
6006
6007
|
downloadLinks: {
|
|
6007
6008
|
create: (input?: {
|
|
6008
|
-
readonly
|
|
6009
|
-
readonly
|
|
6009
|
+
readonly cursor?: string | undefined;
|
|
6010
|
+
readonly excludeIds?: readonly number[] | undefined;
|
|
6011
|
+
readonly ids?: readonly number[] | undefined;
|
|
6010
6012
|
} | undefined) => Promise<{
|
|
6011
6013
|
readonly id: number;
|
|
6012
6014
|
}>;
|
|
@@ -9741,4 +9743,4 @@ declare global {
|
|
|
9741
9743
|
var SchemaErrorTypeId: symbol;
|
|
9742
9744
|
}
|
|
9743
9745
|
export { RetryTransferError as $, UserSearchResult as $a, getStartFrom as $c, clients as $d, createOAuthApp as $f, PaymentVoucherInfo as $i, GetEventTorrentErrorSpec as $l, isPutioErrorEnvelope as $m, deletePublicShare as $n, FileExtractionSchema as $o, destroyAccount as $p, PodcastLinkTypeSchema as $r, FilesMoveError as $s, TrashListResponse as $t, ClientsErrorSpec as $u, TunnelRoute as A, ApproveFriendRequestErrorSpec as Aa, convertFileSelectionToMp4 as Ac, RegisterErrorSpec as Ad, OAuthApp as Af, PaymentChangePlanSubmitInput as Ai, FamilyMember as Al, AnyPutioOperationError as Am, PublicShareSchema as An, CreateFolderErrorSpec as Ao, AccountDisk as Ap, RssFeedItem as Ar, FileSubtitle as As, getTransfer as At, DownloadLinksPayload as Au, AddTransferErrorSpec as B, FriendSharedFolderErrorSpec as Ba, deleteFiles as Bc, RevokeOAuthGrantErrorSpec as Bd, OAuthSetIconInputSchema as Bf, PaymentInviteSchema as Bi, createFamilyInvite as Bl, PutioOperationErrorSpec as Bm, SharingCloneInfoSchema as Bn, FileBaseSchema as Bo, AccountSettingsSchema as Bp, createRssFeed as Br, FileUploadErrorSpec as Bs, DeleteTrashError as Bt, PutioJsonObject as Bu, ZipSummary as C, listPaymentPlans as Ca, buildFileApiDownloadUrl as Cc, OAuthAuthorizationCodeExchangeInput as Cd, CreateOAuthAppErrorSpec as Cf, ListPaymentOptionsError as Ci, getIftttStatus as Cl, putioSdkLiveLayer as Cm, ListPublicSharesError as Cn, CanWriteFileError as Co, listAppSpecificPasswords as Cp, ResumeRssFeedError as Cr, FileResponseFor as Cs, addManyTransfers as Ct, listEvents as Cu, listZips as D, stopPaymentSubscription as Da, canWriteFile as Dc, RegenerateRecoveryCodesError as Dd, GetOAuthAppErrorSpec as Df, PaymentChangePlanPreview as Di, FamilyInvite as Dl, requestVoid as Dm, PublicShare as Dn, CopyFileError as Do, AccountConfirmationSchema as Dp, RetryRssFeedItemError as Dr, FileSort as Ds, cleanTransfers as Dt, DownloadLinksCreateInputSchema as Du, getZip as E, reportPayments as Ea, buildFileXspfPlaylistUrl as Ec, RecoveryCodesErrorSpec as Ed, GetOAuthAppError as Ef, ListPaymentPlansErrorSpec as Ei, CreateFamilyInviteErrorSpec as El, requestText as Em, ListSharedFilesErrorSpec as En, ContinueFilesErrorSpec as Eo, AccountConfirmation as Ep, RetryAllRssFeedItemsErrorSpec as Er, FileSetSortInputSchema as Es, cancelTransfers as Et, DownloadLinksCreateInput as Eu, RemoveRateLimitBanInput as F, Friend as Fa, createFileUploadRequest as Fc, RevokeAllOAuthClientsError as Fd, OAuthAppSessionSchema as Ff, PaymentHistoryQuery as Fi, ListFamilyInvitesErrorSpec as Fl, PutioErrorEnvelopeSchema as Fm, SharedFileShare as Fn, FileActiveConversionsError as Fo, AccountInfoBroadSchema as Fp, RssFeedParamsSchema as Fr, FileTouchInputSchema as Fs, removeTransfers as Ft, GetDownloadLinksErrorSpec as Fu, GetTransferTorrentError as G, ListWaitingRequestsError as Ga, getApiDownloadUrl as Gc, VerifyTOTPError as Gd, QueryOAuthAppsError as Gf, PaymentPlanGroup as Gi, ClearEventsError as Gl, PutioTypedErrorEnvelope as Gm, SharingShareInputSchema as Gn, FileConversionStatus as Go, AccountWarningsSchema as Gp, pauseRssFeed as Gr, FileVideoMetadata as Gs, ListTrashErrorSpec as Gt, getConfigKeyWith as Gu, AddTransferTrackersErrorSpec as H, ListFriendsErrorSpec as Ha, findNextFile as Hc, TwoFactorRecoveryCodesSchema as Hd, OwnedOAuthAppSchema as Hf, PaymentOptionPlanTypeSchema as Hi, listFamilyInvites as Hl, PutioRateLimitError as Hm, SharingCloneInputSchema as Hn, FileBreadcrumbSchema as Ho, AccountSubtitleLanguageSchema as Hp, getRssFeed as Hr, FileUploadRequestDescriptor as Hs, EmptyTrashError as Ht, PutioJsonValue as Hu, removeRateLimitBan as I, FriendBase as Ia, createFolder as Ic, RevokeAllOAuthClientsErrorSpec as Id, OAuthAppUpdateInput as If, PaymentInfo as Ii, ListFamilyMembersError as Il, PutioKnownErrorContract as Im, SharedFileShareSchema as In, FileActiveConversionsErrorSpec as Io, AccountInfoQuery as Ip, RssFeedSchema as Ir, FileType as Is, retryTransfer as It, createDownloadLinks as Iu, ListTransfersErrorSpec as J, RemoveFriendErrorSpec as Ja, getFile as Jc, VerifyTOTPResponseSchema as Jd, RegenerateOAuthAppTokenErrorSpec as Jf, PaymentProvider as Ji, DeleteEventErrorSpec as Jl, decodePutioErrorEnvelope as Jm, UnshareFileError as Jn, FileCopyInputSchema as Jo, SaveAccountSettingsError as Jp, retryRssFeedItem as Jr, FileXspfPlaylistUrlOptions as Js, TrashBulkInput as Jt, setConfigKey as Ju, GetTransferTorrentErrorSpec as K, ListWaitingRequestsErrorSpec as Ka, getApiMp4DownloadUrl as Kc, VerifyTOTPErrorSpec as Kd, QueryOAuthAppsErrorSpec as Kf, PaymentPlanGroupSchema as Ki, ClearEventsErrorSpec as Kl, PutioUnhandledSdkError as Km, SharingUnshareInput as Kn, FileConversionStatusSchema as Ko, PasInfo as Kp, resumeRssFeed as Kr, FileWatchStatusError as Ks, RestoreTrashError as Kt, readConfig as Ku, AddManyTransfersError as L, FriendBaseSchema as La, deleteFileExtraction as Lc, RevokeOAuthClientError as Ld, OAuthAppUpdateInputSchema as Lf, PaymentInfoPlanSchema as Li, ListFamilyMembersErrorSpec as Ll, PutioKnownOperationErrorContract as Lm, SharedFileSharedWith as Ln, FileApiDownloadUrlOptions as Lo, AccountInfoQuerySchema as Lp, UpdateRssFeedError as Lr, FileTypeSchema as Ls, stopTransferRecording as Lt, getDownloadLinks as Lu, listTunnelRoutes as M, CountWaitingRequestsErrorSpec as Ma, convertFilesToMp4 as Mc, RegisterInputSchema as Md, OAuthAppCreateInputSchema as Mf, PaymentChangePlanSubmitSchema as Mi, JoinFamilyError as Ml, PutioAuthError as Mm, ShareFilesErrorSpec as Mn, DownloadUrlErrorSpec as Mo, AccountInfoBase as Mp, RssFeedItemSchema as Mr, FileSubtitlesError as Ms, getTransferTorrent as Mt, DownloadLinksStatus as Mu, RemoveRateLimitBanError as N, DenyFriendRequestError as Na, copyFile as Nc, ResetPasswordError as Nd, OAuthAppSchema as Nf, PaymentHistoryItem as Ni, JoinFamilyErrorSpec as Nl, PutioConfigurationError as Nm, SharedFile as Nn, FileActiveConversion as No, AccountInfoBaseSchema as Np, RssFeedItemSucceededSchema as Nr, FileSubtitlesErrorSpec as Ns, listTransfers as Nt, DownloadLinksStatusSchema as Nu, ListTunnelRoutesError as O, submitPaymentChangePlan as Oa, continueFiles as Oc, RegenerateRecoveryCodesErrorSpec as Od, MyOAuthApp as Of, PaymentChangePlanPreviewInput as Oi, FamilyInviteSchema as Ol, selectJsonField as Om, PublicShareListQuery as On, CopyFileErrorSpec as Oo, AccountConfirmationsError as Op, RetryRssFeedItemErrorSpec as Or, FileSortSchema as Os, continueTransfers as Ot, DownloadLinksInfo as Ou, RemoveRateLimitBanErrorSpec as P, DenyFriendRequestErrorSpec as Pa, createFileUploadFormData as Pc, ResetPasswordErrorSpec as Pd, OAuthAppSession as Pf, PaymentHistoryItemSchema as Pi, ListFamilyInvitesError as Pl, PutioErrorEnvelope as Pm, SharedFileSchema as Pn, FileActiveConversionSchema as Po, AccountInfoBroad as Pp, RssFeedParams as Pr, FileTouchInput as Ps, reannounceTransfer as Pt, GetDownloadLinksError as Pu, RemoveTransfersErrorSpec as Q, SendFriendRequestErrorSpec as Qa, getMp4Status as Qc, checkCodeMatch as Qd, buildOAuthAuthorizeUrl as Qf, PaymentTypeSchema as Qi, GetEventTorrentError as Ql, isPutioAuthError as Qm, createPublicShare as Qn, FileExtraction as Qo, clearAccount as Qp, PodcastLinkType as Qr, FilesListQuerySchema as Qs, TrashListQuery as Qt, ClientsError as Qu, AddManyTransfersErrorSpec as R, FriendSchema as Ra, deleteFileMp4 as Rc, RevokeOAuthClientErrorSpec as Rd, OAuthAppWithTokenSchema as Rf, PaymentInfoSchema as Ri, RemoveFamilyMemberError as Rl, PutioOperationError as Rm, SharedFileSharedWithSchema as Rn, FileApiMp4DownloadUrlOptions as Ro, AccountInfoResponseFor as Rp, UpdateRssFeedErrorSpec as Rr, FileUploadEnvelope as Rs, ContinueTrashError as Rt, JsonObjectSchema as Ru, ZipStatusSchema as S, listPaymentOptions as Sa, buildFileApiContentUrl as Sc, OAuthAuthorizationCodeExchangeErrorCodeSchema as Sd, CreateOAuthAppError as Sf, ListPaymentInvitesErrorSpec as Si, SendIftttEventErrorSpec as Sl, putioSdkLayer as Sm, ListPublicShareFilesErrorSpec as Sn, listFriendInvites as So, deleteAppSpecificPassword as Sp, PauseRssFeedErrorSpec as Sr, FileRenameInput as Ss, TransfersListResponse as St, getEventTorrent as Su, createZip as T, redeemPaymentVoucher as Ta, buildFileHlsStreamUrl as Tc, RecoveryCodesError as Td, DeleteOAuthAppErrorSpec as Tf, ListPaymentPlansError as Ti, CreateFamilyInviteError as Tl, requestJson as Tm, ListSharedFilesError as Tn, ContinueFilesError as To, AccountClearOptionsSchema as Tp, RetryAllRssFeedItemsError as Tr, FileSetSortInput as Ts, addTransferTrackers as Tt, CreateDownloadLinksErrorSpec as Tu, GetTransferError as U, ListSentRequestsError as Ua, findNextVideo as Uc, ValidateTokenResponse as Ud, PopularOAuthApp as Uf, PaymentOptionSchema as Ui, listFamilyMembers as Ul, PutioSdkError as Um, SharingCloneStatusSchema as Un, FileBroad as Uo, AccountTwoFactorSettingsSchema as Up, listRssFeedItems as Ur, FileUploadResult as Us, EmptyTrashErrorSpec as Ut, deleteConfigKey as Uu, AddTransferTrackersError as V, ListFriendsError as Va, extractFiles as Vc, TwoFactorRecoveryCodes as Vd, OwnedOAuthApp as Vf, PaymentOption as Vi, joinFamily as Vl, PutioOperationFailure as Vm, SharingCloneInput as Vn, FileBreadcrumb as Vo, AccountSubtitleLanguage as Vp, deleteRssFeed as Vr, FileUploadInput as Vs, DeleteTrashErrorSpec as Vt, PutioJsonPrimitive as Vu, GetTransferErrorSpec as W, ListSentRequestsErrorSpec as Wa, getApiContentUrl as Wc, ValidateTokenResponseSchema as Wd, PopularOAuthAppSchema as Wf, PaymentPaddleWaitingPaymentInput as Wi, removeFamilyMember as Wl, PutioTransportError as Wm, SharingShareInput as Wn, FileBroadSchema as Wo, AccountWarnings as Wp, listRssFeeds as Wr, FileUploadTransfer as Ws, ListTrashError as Wt, getConfigKey as Wu, ReannounceTransferErrorSpec as X, SearchFriendsErrorSpec as Xa, getHlsMasterPlaylist as Xc, VoucherLookupErrorSpec as Xd, UpdateOAuthAppErrorSpec as Xf, PaymentProviderSchema as Xi, EventsListQuerySchema as Xl, fallbackPutioErrorEnvelope as Xm, cloneSharedFiles as Xn, FileCreateFolderInput as Xo, SaveAccountSettingsPayload as Xp, PodcastGetLinksInput as Xr, FilesListEnvelopeSchema as Xs, TrashFile as Xt, AuthGetCodeInput as Xu, ReannounceTransferError as Y, SearchFriendsError as Ya, getFileChild as Yc, VoucherLookupError as Yd, UpdateOAuthAppError as Yf, PaymentProviderNameSchema as Yi, EventsListQuery as Yl, definePutioOperationErrorSpec as Ym, UnshareFileErrorSpec as Yn, FileCore as Yo, SaveAccountSettingsErrorSpec as Yp, updateRssFeed as Yr, FilesBulkSelection as Ys, TrashContinueResponse as Yt, writeConfig as Yu, RemoveTransfersError as Z, SendFriendRequestError as Za, getHlsStreamUrl as Zc, buildAuthLoginUrl as Zd, buildOAuthAppIconUrl as Zf, PaymentSubscriptionInfoSchema as Zi, EventsListResponse as Zl, isPutioApiError as Zm, continuePublicShareFiles as Zn, FileDirectAccessOptions as Zo, SaveAccountSettingsPayloadSchema as Zp, PodcastGetLinksInputSchema as Zr, FilesListQuery as Zs, TrashFileSchema as Zt, AuthorizationCodeSchema as Zu, GetZipErrorSpec as _, getPaddleBillingInvoiceUrl as _a, SearchFilesErrorSpec as _c, LoginErrorSpec as _d, revokeAllClients as _f, GetPaymentVoucherInfoError as _i, GetIftttStatusError as _l, buildPutioUrl as _m, GetSharedWithError as _n, FriendInviteJoinedUserStatusSchema as _o, DeleteAppSpecificPasswordErrorSpec as _p, ListRssFeedItemsError as _r, FileMp4ErrorSpec as _s, TransferTypeSchema as _t, HistoryZipCreatedEventSchema as _u, PutioSdkEffectClient as a, ReportPaymentsError as aa, GetFileChildError as ac, FriendInviteLookupErrorSpec as ad, getFamilyInvite as af, parseErrorBody as ah, ConfirmFastspringOrderError as ai, moveFiles as al, OkResponseSchema as am, ContinuePublicShareFilesError as an, listFriends as ao, setOAuthAppIcon as ap, listPublicShares as ar, FileGetChildInputSchema as as, TransferAddInputSchema as at, HistoryKnownEventType as au, ZipCreateResponse as b, listPaymentHistory as ba, TouchFilesError as bc, LoginResponseSchema as bd, validateToken as bf, ListPaymentHistoryErrorSpec as bi, IftttEventType as bl, makePutioFetchLayer as bm, GetSharingCloneInfoErrorSpec as bn, ListFriendInvitesErrorSpec as bo, createAppSpecificPassword as bp, ListRssFeedsErrorSpec as br, FileQuery as bs, TransfersListQuery as bt, clearEvents as bu, createPutioSdkPromiseClient as c, StopSubscriptionErrorSpec as ca, GetFileErrorSpec as cc, GenerateTOTPResponse as cd, getRecoveryCodes as cf, withOperationErrors as ch, CreateOpenNodeChargeErrorSpec as ci, renameFile as cl, PutioHttpClientService as cm, CreatePublicShareErrorSpec as cn, removeFriend as co, AppSpecificPasswordSchema as cp, unshareFile as cr, FileListContinuationResponse as cs, TransferBaseSchema as ct, HistoryRssFilterPausedEventSchema as cu, CancelZipError as d, UserSubscriptionStatusSchema as da, QueryFilesError as dc, GiftCardLookupErrorSpec as dd, linkDevice as df, CreatePaddleWaitingPaymentError as di, searchFiles as dl, PutioPathSegment as dm, DeletePublicShareError as dn, CreateFriendInviteError as do, CreateAppSpecificPasswordInput as dp, CreateRssFeedError as dr, FileMediaInfoFormatSchema as ds, TransferRemoveInput as dt, HistoryTransferCompletedEventSchema as du, PaymentVoucherInfoSchema as ea, FilesMoveErrorSchema as ec, FamilyInviteLookupError as ed, exchangeOAuthAuthorizationCode as ef, isPutioOperationError as eh, PodcastLinks as ei, getXspfPlaylistUrl as el, getAccountInfo as em, continueTrash as en, UserSearchResultSchema as eo, deleteOAuthApp as ep, getPublicShare as er, FileExtractionStatus as es, RetryTransferErrorSpec as et, HistoryEvent as eu, CancelZipErrorSpec as f, classifyPaymentChangePlanResponse as fa, QueryFilesErrorSpec as fc, GrantsError as fd, login as ff, CreatePaddleWaitingPaymentErrorSpec as fi, setFileSort as fl, PutioQuery as fm, DeletePublicShareErrorSpec as fn, CreateFriendInviteErrorSpec as fo, CreateAppSpecificPasswordInputSchema as fp, CreateRssFeedErrorSpec as fr, FileMediaInfoSchema as fs, TransferRemoveInputSchema as ft, HistoryTransferErrorEventSchema as fu, GetZipError as g, createPaddleWaitingPayment as ga, SearchFilesError as gc, LoginError as gd, resetPassword as gf, GetPaymentInfoErrorSpec as gi, uploadFile as gl, PutioSdkOptions as gm, GetPublicShareFileUrlErrorSpec as gn, FriendInviteJoinedUserStatus as go, DeleteAppSpecificPasswordError as gp, GetRssFeedErrorSpec as gr, FileMp4Error as gs, TransferType as gt, HistoryZipCreatedEvent as gu, CreateZipInput as h, createPaddleBillingUpdatePaymentMethodTransaction as ha, SHARED_WITH_YOU_ROOT_ID as hc, LinkDeviceErrorSpec as hd, register as hf, GetPaymentInfoError as hi, touchFiles as hl, PutioSdkContext as hm, GetPublicShareFileUrlError as hn, FriendInviteJoinedUserSchema as ho, DeleteAllAppSpecificPasswordsErrorSpec as hp, GetRssFeedError as hr, FileMediaMetadataSchema as hs, TransferStatusSchema as ht, HistoryVoucherEventSchema as hu, PutioSdk as i, RedeemPaymentVoucherErrorSpec as ia, FolderTypeSchema as ic, FriendInviteLookupError as id, getCode as if, mapTransportError as ih, ClassifiedPaymentChangePlanSubmitResponse as ii, moveFileSelection as il, saveAccountSettings as im, restoreTrash as in, getFriendSharedFolder as io, regenerateOAuthAppToken as ip, listPublicShareFiles as ir, FileGetChildInput as is, TransferAddInput as it, HistoryFileSharedEventSchema as iu, TunnelRouteSchema as j, CountWaitingRequestsError as ja, convertFileToMp4 as jc, RegisterInput as jd, OAuthAppCreateInput as jf, PaymentChangePlanSubmitResponse as ji, FamilyMemberSchema as jl, PutioApiError as jm, ShareFilesError as jn, DownloadUrlError as jo, AccountDiskSchema as jp, RssFeedItemFailedSchema as jr, FileSubtitleSchema as js, getTransferInfo as jt, DownloadLinksPayloadSchema as ju, ListTunnelRoutesErrorSpec as k, ApproveFriendRequestError as ka, continueSearch as kc, RegisterError as kd, MyOAuthAppSchema as kf, PaymentChangePlanPreviewSchema as ki, FamilyInvitesResponse as kl, selectJsonFields as km, PublicShareListQuerySchema as kn, CreateFolderError as ko, AccountConfirmationsErrorSpec as kp, RssFeed as kr, FileStartFromSetInput as ks, countTransfers as kt, DownloadLinksInfoSchema as ku, makePutioSdkEffectClientLayer as l, SubmitPaymentChangePlanError as la, GetHlsMasterPlaylistError as lc, GenerateTOTPResponseSchema as ld, getVoucher as lf, CreatePaddleBillingUpdatePaymentMethodTransactionError as li, resetFileSortSettings as ll, PutioHttpRequest as lm, CreateSharingCloneError as ln, searchFriends as lo, CreateAppSpecificPasswordError as lp, ClearRssFeedLogsError as lr, FileListResponse as ls, TransferInfoItem as lt, HistoryTransferCallbackErrorEventSchema as lu, CreateZipErrorSpec as m, createOpenNodeCharge as ma, RenameFileErrorSpec as mc, LinkDeviceError as md, regenerateRecoveryCodes as mf, GetPaddleBillingInvoiceUrlErrorSpec as mi, setStartFrom as ml, PutioSdkConfig as mm, GetPublicShareErrorSpec as mn, FriendInviteJoinedUser as mo, DeleteAllAppSpecificPasswordsError as mp, DeleteRssFeedErrorSpec as mr, FileMediaMetadata as ms, TransferStatus as mt, HistoryUploadEventSchema as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, PreviewPaymentChangePlanErrorSpec as na, FilesSearchQuerySchema as nc, ForgotPasswordError as nd, forgotPassword as nf, mapConfigurationError as nh, PodcastLinksSchema as ni, listFileExtractions as nl, listAccountConfirmations as nm, emptyTrash as nn, countWaitingRequests as no, getPopularOAuthApps as np, getSharedWith as nr, FileExtractionsError as ns, StopRecordingTransferErrorSpec as nt, HistoryFileFromRssDeletedEventSchema as nu, PutioSdkPromiseClient as o, ReportPaymentsErrorSpec as oa, GetFileChildErrorSpec as oc, GenerateTOTPError as od, getFriendInvite as of, responseRateLimitHeaders as oh, ConfirmFastspringOrderErrorSpec as oi, putMp4ToMyFiles as ol, PutioAuth as om, ContinuePublicShareFilesErrorSpec as on, listSentRequests as oo, updateOAuthApp as op, listSharedFiles as or, FileHlsMasterPlaylistOptions as os, TransferAddTrackersInput as ot, HistoryKnownEventTypeSchema as ou, CreateZipError as p, confirmFastspringOrder as pa, RenameFileError as pc, GrantsErrorSpec as pd, logout as pf, GetPaddleBillingInvoiceUrlError as pi, setFilesWatchStatus as pl, PutioQueryValue as pm, GetPublicShareError as pn, FriendInvite as po, CreateAppSpecificPasswordResult as pp, DeleteRssFeedError as pr, FileMediaInfoStreamSchema as ps, TransferSchema as pt, HistoryTransferFromRssErrorEventSchema as pu, ListTransfersError as q, RemoveFriendError as qa, getDownloadUrl as qc, VerifyTOTPResponse as qd, RegenerateOAuthAppTokenError as qf, PaymentPlanTypeSchema as qi, DeleteEventError as ql, PutioValidationError as qm, SharingUnshareInputSchema as qn, FileCopyInput as qo, PasInfoSchema as qp, retryAllRssFeedItems as qr, FileWatchStatusErrorSpec as qs, RestoreTrashErrorSpec as qt, readConfigWith as qu, DEFAULT_PUTIO_WEB_APP_URL as r, RedeemPaymentVoucherError as ra, FolderType as rc, ForgotPasswordErrorSpec as rd, generateTOTP as rf, mapDecodeErrorToValidationError as rh, getPodcastLinks as ri, listFileSubtitles as rl, listAccountSubtitleLanguages as rm, listTrash as rn, denyFriendRequest as ro, queryOAuthApps as rp, getSharingCloneInfo as rr, FileExtractionsErrorSpec as rs, Transfer as rt, HistoryFileSharedEvent as ru, createPutioSdkEffectClient as s, StopSubscriptionError as sa, GetFileError as sc, GenerateTOTPErrorSpec as sd, getGiftCard as sf, toPutioResponseError as sh, CreateOpenNodeChargeError as si, queryFiles as sl, PutioHttpClient as sm, CreatePublicShareError as sn, listWaitingRequests as so, AppSpecificPassword as sp, shareFiles as sr, FileHlsStreamUrlOptions as ss, TransferAddTrackersInputSchema as st, HistoryPrivateTorrentPinEventSchema as su, DEFAULT_PUTIO_API_BASE_URL as t, PreviewPaymentChangePlanError as ta, FilesSearchQuery as tc, FamilyInviteLookupErrorSpec as td, exists as tf, isPutioRateLimitError as th, PodcastLinksResponse as ti, listActiveMp4Conversions as tl, getAccountSettings as tm, deleteTrash as tn, approveFriendRequest as to, getOAuthApp as tp, getPublicShareFileUrl as tr, FileExtractionStatusSchema as ts, StopRecordingTransferError as tt, HistoryEventSchema as tu, makePutioSdkLiveClientLayer as u, SubmitPaymentChangePlanErrorSpec as ua, GetHlsMasterPlaylistErrorSpec as uc, GiftCardLookupError as ud, grants as uf, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as ui, resetStartFrom as ul, PutioHttpResponse as um, CreateSharingCloneErrorSpec as un, sendFriendRequest as uo, CreateAppSpecificPasswordErrorSpec as up, ClearRssFeedLogsErrorSpec as ur, FileMediaInfo as us, TransferLink as ut, HistoryTransferCompletedEvent as uu, ListZipsError as v, getPaymentInfo as va, StartFromError as vc, LoginInput as vd, revokeApp as vf, GetPaymentVoucherInfoErrorSpec as vi, GetIftttStatusErrorSpec as vl, encodePathSegment as vm, GetSharedWithErrorSpec as vn, FriendInviteSchema as vo, ListAppSpecificPasswordsError as vp, ListRssFeedItemsErrorSpec as vr, FileMp4MutationError as vs, TransfersAddMultiError as vt, ListEventsError as vu, cancelZip as w, previewPaymentChangePlan as wa, buildFileApiMp4DownloadUrl as wc, OAuthAuthorizationCodeExchangeInputSchema as wd, DeleteOAuthAppError as wf, ListPaymentOptionsErrorSpec as wi, sendIftttEvent as wl, requestArrayBuffer as wm, ListPublicSharesErrorSpec as wn, CanWriteFileErrorSpec as wo, AccountClearOptions as wp, ResumeRssFeedErrorSpec as wr, FileSearchResponse as ws, addTransfer as wt, CreateDownloadLinksError as wu, ZipInfo as x, listPaymentInvites as xa, TouchFilesErrorSpec as xc, OAuthAuthorizationCodeExchangeError as xd, verifyTOTP as xf, ListPaymentInvitesError as xi, SendIftttEventError as xl, normalizePutioSdkOptions as xm, ListPublicShareFilesError as xn, createFriendInvite as xo, deleteAllAppSpecificPasswords as xp, PauseRssFeedError as xr, FileQuerySchema as xs, TransfersListQuerySchema as xt, deleteEvent as xu, ListZipsErrorSpec as y, getPaymentVoucherInfo as ya, StartFromErrorSpec as yc, LoginResponse as yd, revokeClient as yf, ListPaymentHistoryError as yi, IftttEventInput as yl, makePutioFetchClient as ym, GetSharingCloneInfoError as yn, ListFriendInvitesError as yo, ListAppSpecificPasswordsErrorSpec as yp, ListRssFeedsError as yr, FileMp4MutationErrorSpec as ys, TransfersContinueResponse as yt, ListEventsErrorSpec as yu, AddTransferError as z, FriendSharedFolderError as za, deleteFileSelection as zc, RevokeOAuthGrantError as zd, OAuthSetIconInput as zf, PaymentInvite as zi, RemoveFamilyMemberErrorSpec as zl, PutioOperationErrorFromSpec as zm, SharingCloneInfo as zn, FileBase as zo, AccountSettings as zp, clearRssFeedLogs as zr, FileUploadError as zs, ContinueTrashErrorSpec as zt, JsonValueSchema as zu };
|
|
9744
|
-
//# sourceMappingURL=index-
|
|
9746
|
+
//# sourceMappingURL=index-DqyRVg9G.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RetryTransferError, $a as UserSearchResult, $c as getStartFrom, $d as clients, $f as createOAuthApp, $i as PaymentVoucherInfo, $l as GetEventTorrentErrorSpec, $m as isPutioErrorEnvelope, $n as deletePublicShare, $o as FileExtractionSchema, $p as destroyAccount, $r as PodcastLinkTypeSchema, $s as FilesMoveError, $t as TrashListResponse, $u as ClientsErrorSpec, A as TunnelRoute, Aa as ApproveFriendRequestErrorSpec, Ac as convertFileSelectionToMp4, Ad as RegisterErrorSpec, Af as OAuthApp, Ai as PaymentChangePlanSubmitInput, Al as FamilyMember, Am as AnyPutioOperationError, An as PublicShareSchema, Ao as CreateFolderErrorSpec, Ap as AccountDisk, Ar as RssFeedItem, As as FileSubtitle, At as getTransfer, Au as DownloadLinksPayload, B as AddTransferErrorSpec, Ba as FriendSharedFolderErrorSpec, Bc as deleteFiles, Bd as RevokeOAuthGrantErrorSpec, Bf as OAuthSetIconInputSchema, Bi as PaymentInviteSchema, Bl as createFamilyInvite, Bm as PutioOperationErrorSpec, Bn as SharingCloneInfoSchema, Bo as FileBaseSchema, Bp as AccountSettingsSchema, Br as createRssFeed, Bs as FileUploadErrorSpec, Bt as DeleteTrashError, Bu as PutioJsonObject, C as ZipSummary, Ca as listPaymentPlans, Cc as buildFileApiDownloadUrl, Cd as OAuthAuthorizationCodeExchangeInput, Cf as CreateOAuthAppErrorSpec, Ci as ListPaymentOptionsError, Cl as getIftttStatus, Cm as putioSdkLiveLayer, Cn as ListPublicSharesError, Co as CanWriteFileError, Cp as listAppSpecificPasswords, Cr as ResumeRssFeedError, Cs as FileResponseFor, Ct as addManyTransfers, Cu as listEvents, D as listZips, Da as stopPaymentSubscription, Dc as canWriteFile, Dd as RegenerateRecoveryCodesError, Df as GetOAuthAppErrorSpec, Di as PaymentChangePlanPreview, Dl as FamilyInvite, Dm as requestVoid, Dn as PublicShare, Do as CopyFileError, Dp as AccountConfirmationSchema, Dr as RetryRssFeedItemError, Ds as FileSort, Dt as cleanTransfers, Du as DownloadLinksCreateInputSchema, E as getZip, Ea as reportPayments, Ec as buildFileXspfPlaylistUrl, Ed as RecoveryCodesErrorSpec, Ef as GetOAuthAppError, Ei as ListPaymentPlansErrorSpec, El as CreateFamilyInviteErrorSpec, Em as requestText, En as ListSharedFilesErrorSpec, Eo as ContinueFilesErrorSpec, Ep as AccountConfirmation, Er as RetryAllRssFeedItemsErrorSpec, Es as FileSetSortInputSchema, Et as cancelTransfers, Eu as DownloadLinksCreateInput, F as RemoveRateLimitBanInput, Fa as Friend, Fc as createFileUploadRequest, Fd as RevokeAllOAuthClientsError, Ff as OAuthAppSessionSchema, Fi as PaymentHistoryQuery, Fl as ListFamilyInvitesErrorSpec, Fm as PutioErrorEnvelopeSchema, Fn as SharedFileShare, Fo as FileActiveConversionsError, Fp as AccountInfoBroadSchema, Fr as RssFeedParamsSchema, Fs as FileTouchInputSchema, Ft as removeTransfers, Fu as GetDownloadLinksErrorSpec, G as GetTransferTorrentError, Ga as ListWaitingRequestsError, Gc as getApiDownloadUrl, Gd as VerifyTOTPError, Gf as QueryOAuthAppsError, Gi as PaymentPlanGroup, Gl as ClearEventsError, Gm as PutioTypedErrorEnvelope, Gn as SharingShareInputSchema, Go as FileConversionStatus, Gp as AccountWarningsSchema, Gr as pauseRssFeed, Gs as FileVideoMetadata, Gt as ListTrashErrorSpec, Gu as getConfigKeyWith, H as AddTransferTrackersErrorSpec, Ha as ListFriendsErrorSpec, Hc as findNextFile, Hd as TwoFactorRecoveryCodesSchema, Hf as OwnedOAuthAppSchema, Hi as PaymentOptionPlanTypeSchema, Hl as listFamilyInvites, Hm as PutioRateLimitError, Hn as SharingCloneInputSchema, Ho as FileBreadcrumbSchema, Hp as AccountSubtitleLanguageSchema, Hr as getRssFeed, Hs as FileUploadRequestDescriptor, Ht as EmptyTrashError, Hu as PutioJsonValue, I as removeRateLimitBan, Ia as FriendBase, Ic as createFolder, Id as RevokeAllOAuthClientsErrorSpec, If as OAuthAppUpdateInput, Ii as PaymentInfo, Il as ListFamilyMembersError, Im as PutioKnownErrorContract, In as SharedFileShareSchema, Io as FileActiveConversionsErrorSpec, Ip as AccountInfoQuery, Ir as RssFeedSchema, Is as FileType, It as retryTransfer, Iu as createDownloadLinks, J as ListTransfersErrorSpec, Ja as RemoveFriendErrorSpec, Jc as getFile, Jd as VerifyTOTPResponseSchema, Jf as RegenerateOAuthAppTokenErrorSpec, Ji as PaymentProvider, Jl as DeleteEventErrorSpec, Jm as decodePutioErrorEnvelope, Jn as UnshareFileError, Jo as FileCopyInputSchema, Jp as SaveAccountSettingsError, Jr as retryRssFeedItem, Js as FileXspfPlaylistUrlOptions, Jt as TrashBulkInput, Ju as setConfigKey, K as GetTransferTorrentErrorSpec, Ka as ListWaitingRequestsErrorSpec, Kc as getApiMp4DownloadUrl, Kd as VerifyTOTPErrorSpec, Kf as QueryOAuthAppsErrorSpec, Ki as PaymentPlanGroupSchema, Kl as ClearEventsErrorSpec, Km as PutioUnhandledSdkError, Kn as SharingUnshareInput, Ko as FileConversionStatusSchema, Kp as PasInfo, Kr as resumeRssFeed, Ks as FileWatchStatusError, Kt as RestoreTrashError, Ku as readConfig, L as AddManyTransfersError, La as FriendBaseSchema, Lc as deleteFileExtraction, Ld as RevokeOAuthClientError, Lf as OAuthAppUpdateInputSchema, Li as PaymentInfoPlanSchema, Ll as ListFamilyMembersErrorSpec, Lm as PutioKnownOperationErrorContract, Ln as SharedFileSharedWith, Lo as FileApiDownloadUrlOptions, Lp as AccountInfoQuerySchema, Lr as UpdateRssFeedError, Ls as FileTypeSchema, Lt as stopTransferRecording, Lu as getDownloadLinks, M as listTunnelRoutes, Ma as CountWaitingRequestsErrorSpec, Mc as convertFilesToMp4, Md as RegisterInputSchema, Mf as OAuthAppCreateInputSchema, Mi as PaymentChangePlanSubmitSchema, Ml as JoinFamilyError, Mm as PutioAuthError, Mn as ShareFilesErrorSpec, Mo as DownloadUrlErrorSpec, Mp as AccountInfoBase, Mr as RssFeedItemSchema, Ms as FileSubtitlesError, Mt as getTransferTorrent, Mu as DownloadLinksStatus, N as RemoveRateLimitBanError, Na as DenyFriendRequestError, Nc as copyFile, Nd as ResetPasswordError, Nf as OAuthAppSchema, Ni as PaymentHistoryItem, Nl as JoinFamilyErrorSpec, Nm as PutioConfigurationError, Nn as SharedFile, No as FileActiveConversion, Np as AccountInfoBaseSchema, Nr as RssFeedItemSucceededSchema, Ns as FileSubtitlesErrorSpec, Nt as listTransfers, Nu as DownloadLinksStatusSchema, O as ListTunnelRoutesError, Oa as submitPaymentChangePlan, Oc as continueFiles, Od as RegenerateRecoveryCodesErrorSpec, Of as MyOAuthApp, Oi as PaymentChangePlanPreviewInput, Ol as FamilyInviteSchema, Om as selectJsonField, On as PublicShareListQuery, Oo as CopyFileErrorSpec, Op as AccountConfirmationsError, Or as RetryRssFeedItemErrorSpec, Os as FileSortSchema, Ot as continueTransfers, Ou as DownloadLinksInfo, P as RemoveRateLimitBanErrorSpec, Pa as DenyFriendRequestErrorSpec, Pc as createFileUploadFormData, Pd as ResetPasswordErrorSpec, Pf as OAuthAppSession, Pi as PaymentHistoryItemSchema, Pl as ListFamilyInvitesError, Pm as PutioErrorEnvelope, Pn as SharedFileSchema, Po as FileActiveConversionSchema, Pp as AccountInfoBroad, Pr as RssFeedParams, Ps as FileTouchInput, Pt as reannounceTransfer, Pu as GetDownloadLinksError, Q as RemoveTransfersErrorSpec, Qa as SendFriendRequestErrorSpec, Qc as getMp4Status, Qd as checkCodeMatch, Qf as buildOAuthAuthorizeUrl, Qi as PaymentTypeSchema, Ql as GetEventTorrentError, Qm as isPutioAuthError, Qn as createPublicShare, Qo as FileExtraction, Qp as clearAccount, Qr as PodcastLinkType, Qs as FilesListQuerySchema, Qt as TrashListQuery, Qu as ClientsError, R as AddManyTransfersErrorSpec, Ra as FriendSchema, Rc as deleteFileMp4, Rd as RevokeOAuthClientErrorSpec, Rf as OAuthAppWithTokenSchema, Ri as PaymentInfoSchema, Rl as RemoveFamilyMemberError, Rm as PutioOperationError, Rn as SharedFileSharedWithSchema, Ro as FileApiMp4DownloadUrlOptions, Rp as AccountInfoResponseFor, Rr as UpdateRssFeedErrorSpec, Rs as FileUploadEnvelope, Rt as ContinueTrashError, Ru as JsonObjectSchema, S as ZipStatusSchema, Sa as listPaymentOptions, Sc as buildFileApiContentUrl, Sd as OAuthAuthorizationCodeExchangeErrorCodeSchema, Sf as CreateOAuthAppError, Si as ListPaymentInvitesErrorSpec, Sl as SendIftttEventErrorSpec, Sm as putioSdkLayer, Sn as ListPublicShareFilesErrorSpec, So as listFriendInvites, Sp as deleteAppSpecificPassword, Sr as PauseRssFeedErrorSpec, Ss as FileRenameInput, St as TransfersListResponse, Su as getEventTorrent, T as createZip, Ta as redeemPaymentVoucher, Tc as buildFileHlsStreamUrl, Td as RecoveryCodesError, Tf as DeleteOAuthAppErrorSpec, Ti as ListPaymentPlansError, Tl as CreateFamilyInviteError, Tm as requestJson, Tn as ListSharedFilesError, To as ContinueFilesError, Tp as AccountClearOptionsSchema, Tr as RetryAllRssFeedItemsError, Ts as FileSetSortInput, Tt as addTransferTrackers, Tu as CreateDownloadLinksErrorSpec, U as GetTransferError, Ua as ListSentRequestsError, Uc as findNextVideo, Ud as ValidateTokenResponse, Uf as PopularOAuthApp, Ui as PaymentOptionSchema, Ul as listFamilyMembers, Um as PutioSdkError, Un as SharingCloneStatusSchema, Uo as FileBroad, Up as AccountTwoFactorSettingsSchema, Ur as listRssFeedItems, Us as FileUploadResult, Ut as EmptyTrashErrorSpec, Uu as deleteConfigKey, V as AddTransferTrackersError, Va as ListFriendsError, Vc as extractFiles, Vd as TwoFactorRecoveryCodes, Vf as OwnedOAuthApp, Vi as PaymentOption, Vl as joinFamily, Vm as PutioOperationFailure, Vn as SharingCloneInput, Vo as FileBreadcrumb, Vp as AccountSubtitleLanguage, Vr as deleteRssFeed, Vs as FileUploadInput, Vt as DeleteTrashErrorSpec, Vu as PutioJsonPrimitive, W as GetTransferErrorSpec, Wa as ListSentRequestsErrorSpec, Wc as getApiContentUrl, Wd as ValidateTokenResponseSchema, Wf as PopularOAuthAppSchema, Wi as PaymentPaddleWaitingPaymentInput, Wl as removeFamilyMember, Wm as PutioTransportError, Wn as SharingShareInput, Wo as FileBroadSchema, Wp as AccountWarnings, Wr as listRssFeeds, Ws as FileUploadTransfer, Wt as ListTrashError, Wu as getConfigKey, X as ReannounceTransferErrorSpec, Xa as SearchFriendsErrorSpec, Xc as getHlsMasterPlaylist, Xd as VoucherLookupErrorSpec, Xf as UpdateOAuthAppErrorSpec, Xi as PaymentProviderSchema, Xl as EventsListQuerySchema, Xm as fallbackPutioErrorEnvelope, Xn as cloneSharedFiles, Xo as FileCreateFolderInput, Xp as SaveAccountSettingsPayload, Xr as PodcastGetLinksInput, Xs as FilesListEnvelopeSchema, Xt as TrashFile, Xu as AuthGetCodeInput, Y as ReannounceTransferError, Ya as SearchFriendsError, Yc as getFileChild, Yd as VoucherLookupError, Yf as UpdateOAuthAppError, Yi as PaymentProviderNameSchema, Yl as EventsListQuery, Ym as definePutioOperationErrorSpec, Yn as UnshareFileErrorSpec, Yo as FileCore, Yp as SaveAccountSettingsErrorSpec, Yr as updateRssFeed, Ys as FilesBulkSelection, Yt as TrashContinueResponse, Yu as writeConfig, Z as RemoveTransfersError, Za as SendFriendRequestError, Zc as getHlsStreamUrl, Zd as buildAuthLoginUrl, Zf as buildOAuthAppIconUrl, Zi as PaymentSubscriptionInfoSchema, Zl as EventsListResponse, Zm as isPutioApiError, Zn as continuePublicShareFiles, Zo as FileDirectAccessOptions, Zp as SaveAccountSettingsPayloadSchema, Zr as PodcastGetLinksInputSchema, Zs as FilesListQuery, Zt as TrashFileSchema, Zu as AuthorizationCodeSchema, _ as GetZipErrorSpec, _a as getPaddleBillingInvoiceUrl, _c as SearchFilesErrorSpec, _d as LoginErrorSpec, _f as revokeAllClients, _i as GetPaymentVoucherInfoError, _l as GetIftttStatusError, _m as buildPutioUrl, _n as GetSharedWithError, _o as FriendInviteJoinedUserStatusSchema, _p as DeleteAppSpecificPasswordErrorSpec, _r as ListRssFeedItemsError, _s as FileMp4ErrorSpec, _t as TransferTypeSchema, _u as HistoryZipCreatedEventSchema, a as PutioSdkEffectClient, aa as ReportPaymentsError, ac as GetFileChildError, ad as FriendInviteLookupErrorSpec, af as getFamilyInvite, ah as parseErrorBody, ai as ConfirmFastspringOrderError, al as moveFiles, am as OkResponseSchema, an as ContinuePublicShareFilesError, ao as listFriends, ap as setOAuthAppIcon, ar as listPublicShares, as as FileGetChildInputSchema, at as TransferAddInputSchema, au as HistoryKnownEventType, b as ZipCreateResponse, ba as listPaymentHistory, bc as TouchFilesError, bd as LoginResponseSchema, bf as validateToken, bi as ListPaymentHistoryErrorSpec, bl as IftttEventType, bm as makePutioFetchLayer, bn as GetSharingCloneInfoErrorSpec, bo as ListFriendInvitesErrorSpec, bp as createAppSpecificPassword, br as ListRssFeedsErrorSpec, bs as FileQuery, bt as TransfersListQuery, bu as clearEvents, c as createPutioSdkPromiseClient, ca as StopSubscriptionErrorSpec, cc as GetFileErrorSpec, cd as GenerateTOTPResponse, cf as getRecoveryCodes, ch as withOperationErrors, ci as CreateOpenNodeChargeErrorSpec, cl as renameFile, cm as PutioHttpClientService, cn as CreatePublicShareErrorSpec, co as removeFriend, cp as AppSpecificPasswordSchema, cr as unshareFile, cs as FileListContinuationResponse, ct as TransferBaseSchema, cu as HistoryRssFilterPausedEventSchema, d as CancelZipError, da as UserSubscriptionStatusSchema, dc as QueryFilesError, dd as GiftCardLookupErrorSpec, df as linkDevice, di as CreatePaddleWaitingPaymentError, dl as searchFiles, dm as PutioPathSegment, dn as DeletePublicShareError, do as CreateFriendInviteError, dp as CreateAppSpecificPasswordInput, dr as CreateRssFeedError, ds as FileMediaInfoFormatSchema, dt as TransferRemoveInput, du as HistoryTransferCompletedEventSchema, ea as PaymentVoucherInfoSchema, ec as FilesMoveErrorSchema, ed as FamilyInviteLookupError, ef as exchangeOAuthAuthorizationCode, eh as isPutioOperationError, ei as PodcastLinks, el as getXspfPlaylistUrl, em as getAccountInfo, en as continueTrash, eo as UserSearchResultSchema, ep as deleteOAuthApp, er as getPublicShare, es as FileExtractionStatus, et as RetryTransferErrorSpec, eu as HistoryEvent, f as CancelZipErrorSpec, fa as classifyPaymentChangePlanResponse, fc as QueryFilesErrorSpec, fd as GrantsError, ff as login, fi as CreatePaddleWaitingPaymentErrorSpec, fl as setFileSort, fm as PutioQuery, fn as DeletePublicShareErrorSpec, fo as CreateFriendInviteErrorSpec, fp as CreateAppSpecificPasswordInputSchema, fr as CreateRssFeedErrorSpec, fs as FileMediaInfoSchema, ft as TransferRemoveInputSchema, fu as HistoryTransferErrorEventSchema, g as GetZipError, ga as createPaddleWaitingPayment, gc as SearchFilesError, gd as LoginError, gf as resetPassword, gi as GetPaymentInfoErrorSpec, gl as uploadFile, gm as PutioSdkOptions, gn as GetPublicShareFileUrlErrorSpec, go as FriendInviteJoinedUserStatus, gp as DeleteAppSpecificPasswordError, gr as GetRssFeedErrorSpec, gs as FileMp4Error, gt as TransferType, gu as HistoryZipCreatedEvent, h as CreateZipInput, ha as createPaddleBillingUpdatePaymentMethodTransaction, hc as SHARED_WITH_YOU_ROOT_ID, hd as LinkDeviceErrorSpec, hf as register, hi as GetPaymentInfoError, hl as touchFiles, hm as PutioSdkContext, hn as GetPublicShareFileUrlError, ho as FriendInviteJoinedUserSchema, hp as DeleteAllAppSpecificPasswordsErrorSpec, hr as GetRssFeedError, hs as FileMediaMetadataSchema, ht as TransferStatusSchema, hu as HistoryVoucherEventSchema, i as PutioSdk, ia as RedeemPaymentVoucherErrorSpec, ic as FolderTypeSchema, id as FriendInviteLookupError, if as getCode, ih as mapTransportError, ii as ClassifiedPaymentChangePlanSubmitResponse, il as moveFileSelection, im as saveAccountSettings, in as restoreTrash, io as getFriendSharedFolder, ip as regenerateOAuthAppToken, ir as listPublicShareFiles, is as FileGetChildInput, it as TransferAddInput, iu as HistoryFileSharedEventSchema, j as TunnelRouteSchema, ja as CountWaitingRequestsError, jc as convertFileToMp4, jd as RegisterInput, jf as OAuthAppCreateInput, ji as PaymentChangePlanSubmitResponse, jl as FamilyMemberSchema, jm as PutioApiError, jn as ShareFilesError, jo as DownloadUrlError, jp as AccountDiskSchema, jr as RssFeedItemFailedSchema, js as FileSubtitleSchema, jt as getTransferInfo, ju as DownloadLinksPayloadSchema, k as ListTunnelRoutesErrorSpec, ka as ApproveFriendRequestError, kc as continueSearch, kd as RegisterError, kf as MyOAuthAppSchema, ki as PaymentChangePlanPreviewSchema, kl as FamilyInvitesResponse, km as selectJsonFields, kn as PublicShareListQuerySchema, ko as CreateFolderError, kp as AccountConfirmationsErrorSpec, kr as RssFeed, ks as FileStartFromSetInput, kt as countTransfers, ku as DownloadLinksInfoSchema, l as makePutioSdkEffectClientLayer, la as SubmitPaymentChangePlanError, lc as GetHlsMasterPlaylistError, ld as GenerateTOTPResponseSchema, lf as getVoucher, li as CreatePaddleBillingUpdatePaymentMethodTransactionError, ll as resetFileSortSettings, lm as PutioHttpRequest, ln as CreateSharingCloneError, lo as searchFriends, lp as CreateAppSpecificPasswordError, lr as ClearRssFeedLogsError, ls as FileListResponse, lt as TransferInfoItem, lu as HistoryTransferCallbackErrorEventSchema, m as CreateZipErrorSpec, ma as createOpenNodeCharge, mc as RenameFileErrorSpec, md as LinkDeviceError, mf as regenerateRecoveryCodes, mi as GetPaddleBillingInvoiceUrlErrorSpec, ml as setStartFrom, mm as PutioSdkConfig, mn as GetPublicShareErrorSpec, mo as FriendInviteJoinedUser, mp as DeleteAllAppSpecificPasswordsError, mr as DeleteRssFeedErrorSpec, ms as FileMediaMetadata, mt as TransferStatus, mu as HistoryUploadEventSchema, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as PreviewPaymentChangePlanErrorSpec, nc as FilesSearchQuerySchema, nd as ForgotPasswordError, nf as forgotPassword, nh as mapConfigurationError, ni as PodcastLinksSchema, nl as listFileExtractions, nm as listAccountConfirmations, nn as emptyTrash, no as countWaitingRequests, np as getPopularOAuthApps, nr as getSharedWith, ns as FileExtractionsError, nt as StopRecordingTransferErrorSpec, nu as HistoryFileFromRssDeletedEventSchema, o as PutioSdkPromiseClient, oa as ReportPaymentsErrorSpec, oc as GetFileChildErrorSpec, od as GenerateTOTPError, of as getFriendInvite, oh as responseRateLimitHeaders, oi as ConfirmFastspringOrderErrorSpec, ol as putMp4ToMyFiles, om as PutioAuth, on as ContinuePublicShareFilesErrorSpec, oo as listSentRequests, op as updateOAuthApp, or as listSharedFiles, os as FileHlsMasterPlaylistOptions, ot as TransferAddTrackersInput, ou as HistoryKnownEventTypeSchema, p as CreateZipError, pa as confirmFastspringOrder, pc as RenameFileError, pd as GrantsErrorSpec, pf as logout, pi as GetPaddleBillingInvoiceUrlError, pl as setFilesWatchStatus, pm as PutioQueryValue, pn as GetPublicShareError, po as FriendInvite, pp as CreateAppSpecificPasswordResult, pr as DeleteRssFeedError, ps as FileMediaInfoStreamSchema, pt as TransferSchema, pu as HistoryTransferFromRssErrorEventSchema, q as ListTransfersError, qa as RemoveFriendError, qc as getDownloadUrl, qd as VerifyTOTPResponse, qf as RegenerateOAuthAppTokenError, qi as PaymentPlanTypeSchema, ql as DeleteEventError, qm as PutioValidationError, qn as SharingUnshareInputSchema, qo as FileCopyInput, qp as PasInfoSchema, qr as retryAllRssFeedItems, qs as FileWatchStatusErrorSpec, qt as RestoreTrashErrorSpec, qu as readConfigWith, r as DEFAULT_PUTIO_WEB_APP_URL, ra as RedeemPaymentVoucherError, rc as FolderType, rd as ForgotPasswordErrorSpec, rf as generateTOTP, rh as mapDecodeErrorToValidationError, ri as getPodcastLinks, rl as listFileSubtitles, rm as listAccountSubtitleLanguages, rn as listTrash, ro as denyFriendRequest, rp as queryOAuthApps, rr as getSharingCloneInfo, rs as FileExtractionsErrorSpec, rt as Transfer, ru as HistoryFileSharedEvent, s as createPutioSdkEffectClient, sa as StopSubscriptionError, sc as GetFileError, sd as GenerateTOTPErrorSpec, sf as getGiftCard, sh as toPutioResponseError, si as CreateOpenNodeChargeError, sl as queryFiles, sm as PutioHttpClient, sn as CreatePublicShareError, so as listWaitingRequests, sp as AppSpecificPassword, sr as shareFiles, ss as FileHlsStreamUrlOptions, st as TransferAddTrackersInputSchema, su as HistoryPrivateTorrentPinEventSchema, t as DEFAULT_PUTIO_API_BASE_URL, ta as PreviewPaymentChangePlanError, tc as FilesSearchQuery, td as FamilyInviteLookupErrorSpec, tf as exists, th as isPutioRateLimitError, ti as PodcastLinksResponse, tl as listActiveMp4Conversions, tm as getAccountSettings, tn as deleteTrash, to as approveFriendRequest, tp as getOAuthApp, tr as getPublicShareFileUrl, ts as FileExtractionStatusSchema, tt as StopRecordingTransferError, tu as HistoryEventSchema, u as makePutioSdkLiveClientLayer, ua as SubmitPaymentChangePlanErrorSpec, uc as GetHlsMasterPlaylistErrorSpec, ud as GiftCardLookupError, uf as grants, ui as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ul as resetStartFrom, um as PutioHttpResponse, un as CreateSharingCloneErrorSpec, uo as sendFriendRequest, up as CreateAppSpecificPasswordErrorSpec, ur as ClearRssFeedLogsErrorSpec, us as FileMediaInfo, ut as TransferLink, uu as HistoryTransferCompletedEvent, v as ListZipsError, va as getPaymentInfo, vc as StartFromError, vd as LoginInput, vf as revokeApp, vi as GetPaymentVoucherInfoErrorSpec, vl as GetIftttStatusErrorSpec, vm as encodePathSegment, vn as GetSharedWithErrorSpec, vo as FriendInviteSchema, vp as ListAppSpecificPasswordsError, vr as ListRssFeedItemsErrorSpec, vs as FileMp4MutationError, vt as TransfersAddMultiError, vu as ListEventsError, w as cancelZip, wa as previewPaymentChangePlan, wc as buildFileApiMp4DownloadUrl, wd as OAuthAuthorizationCodeExchangeInputSchema, wf as DeleteOAuthAppError, wi as ListPaymentOptionsErrorSpec, wl as sendIftttEvent, wm as requestArrayBuffer, wn as ListPublicSharesErrorSpec, wo as CanWriteFileErrorSpec, wp as AccountClearOptions, wr as ResumeRssFeedErrorSpec, ws as FileSearchResponse, wt as addTransfer, wu as CreateDownloadLinksError, x as ZipInfo, xa as listPaymentInvites, xc as TouchFilesErrorSpec, xd as OAuthAuthorizationCodeExchangeError, xf as verifyTOTP, xi as ListPaymentInvitesError, xl as SendIftttEventError, xm as normalizePutioSdkOptions, xn as ListPublicShareFilesError, xo as createFriendInvite, xp as deleteAllAppSpecificPasswords, xr as PauseRssFeedError, xs as FileQuerySchema, xt as TransfersListQuerySchema, xu as deleteEvent, y as ListZipsErrorSpec, ya as getPaymentVoucherInfo, yc as StartFromErrorSpec, yd as LoginResponse, yf as revokeClient, yi as ListPaymentHistoryError, yl as IftttEventInput, ym as makePutioFetchClient, yn as GetSharingCloneInfoError, yo as ListFriendInvitesError, yp as ListAppSpecificPasswordsErrorSpec, yr as ListRssFeedsError, ys as FileMp4MutationErrorSpec, yt as TransfersContinueResponse, yu as ListEventsErrorSpec, z as AddTransferError, za as FriendSharedFolderError, zc as deleteFileSelection, zd as RevokeOAuthGrantError, zf as OAuthSetIconInput, zi as PaymentInvite, zl as RemoveFamilyMemberErrorSpec, zm as PutioOperationErrorFromSpec, zn as SharingCloneInfo, zo as FileBase, zp as AccountSettings, zr as clearRssFeedLogs, zs as FileUploadError, zt as ContinueTrashErrorSpec, zu as JsonValueSchema } from "./index-DJs7suHM.js";
|
|
1
|
+
import { $ as RetryTransferError, $a as UserSearchResult, $c as getStartFrom, $d as clients, $f as createOAuthApp, $i as PaymentVoucherInfo, $l as GetEventTorrentErrorSpec, $m as isPutioErrorEnvelope, $n as deletePublicShare, $o as FileExtractionSchema, $p as destroyAccount, $r as PodcastLinkTypeSchema, $s as FilesMoveError, $t as TrashListResponse, $u as ClientsErrorSpec, A as TunnelRoute, Aa as ApproveFriendRequestErrorSpec, Ac as convertFileSelectionToMp4, Ad as RegisterErrorSpec, Af as OAuthApp, Ai as PaymentChangePlanSubmitInput, Al as FamilyMember, Am as AnyPutioOperationError, An as PublicShareSchema, Ao as CreateFolderErrorSpec, Ap as AccountDisk, Ar as RssFeedItem, As as FileSubtitle, At as getTransfer, Au as DownloadLinksPayload, B as AddTransferErrorSpec, Ba as FriendSharedFolderErrorSpec, Bc as deleteFiles, Bd as RevokeOAuthGrantErrorSpec, Bf as OAuthSetIconInputSchema, Bi as PaymentInviteSchema, Bl as createFamilyInvite, Bm as PutioOperationErrorSpec, Bn as SharingCloneInfoSchema, Bo as FileBaseSchema, Bp as AccountSettingsSchema, Br as createRssFeed, Bs as FileUploadErrorSpec, Bt as DeleteTrashError, Bu as PutioJsonObject, C as ZipSummary, Ca as listPaymentPlans, Cc as buildFileApiDownloadUrl, Cd as OAuthAuthorizationCodeExchangeInput, Cf as CreateOAuthAppErrorSpec, Ci as ListPaymentOptionsError, Cl as getIftttStatus, Cm as putioSdkLiveLayer, Cn as ListPublicSharesError, Co as CanWriteFileError, Cp as listAppSpecificPasswords, Cr as ResumeRssFeedError, Cs as FileResponseFor, Ct as addManyTransfers, Cu as listEvents, D as listZips, Da as stopPaymentSubscription, Dc as canWriteFile, Dd as RegenerateRecoveryCodesError, Df as GetOAuthAppErrorSpec, Di as PaymentChangePlanPreview, Dl as FamilyInvite, Dm as requestVoid, Dn as PublicShare, Do as CopyFileError, Dp as AccountConfirmationSchema, Dr as RetryRssFeedItemError, Ds as FileSort, Dt as cleanTransfers, Du as DownloadLinksCreateInputSchema, E as getZip, Ea as reportPayments, Ec as buildFileXspfPlaylistUrl, Ed as RecoveryCodesErrorSpec, Ef as GetOAuthAppError, Ei as ListPaymentPlansErrorSpec, El as CreateFamilyInviteErrorSpec, Em as requestText, En as ListSharedFilesErrorSpec, Eo as ContinueFilesErrorSpec, Ep as AccountConfirmation, Er as RetryAllRssFeedItemsErrorSpec, Es as FileSetSortInputSchema, Et as cancelTransfers, Eu as DownloadLinksCreateInput, F as RemoveRateLimitBanInput, Fa as Friend, Fc as createFileUploadRequest, Fd as RevokeAllOAuthClientsError, Ff as OAuthAppSessionSchema, Fi as PaymentHistoryQuery, Fl as ListFamilyInvitesErrorSpec, Fm as PutioErrorEnvelopeSchema, Fn as SharedFileShare, Fo as FileActiveConversionsError, Fp as AccountInfoBroadSchema, Fr as RssFeedParamsSchema, Fs as FileTouchInputSchema, Ft as removeTransfers, Fu as GetDownloadLinksErrorSpec, G as GetTransferTorrentError, Ga as ListWaitingRequestsError, Gc as getApiDownloadUrl, Gd as VerifyTOTPError, Gf as QueryOAuthAppsError, Gi as PaymentPlanGroup, Gl as ClearEventsError, Gm as PutioTypedErrorEnvelope, Gn as SharingShareInputSchema, Go as FileConversionStatus, Gp as AccountWarningsSchema, Gr as pauseRssFeed, Gs as FileVideoMetadata, Gt as ListTrashErrorSpec, Gu as getConfigKeyWith, H as AddTransferTrackersErrorSpec, Ha as ListFriendsErrorSpec, Hc as findNextFile, Hd as TwoFactorRecoveryCodesSchema, Hf as OwnedOAuthAppSchema, Hi as PaymentOptionPlanTypeSchema, Hl as listFamilyInvites, Hm as PutioRateLimitError, Hn as SharingCloneInputSchema, Ho as FileBreadcrumbSchema, Hp as AccountSubtitleLanguageSchema, Hr as getRssFeed, Hs as FileUploadRequestDescriptor, Ht as EmptyTrashError, Hu as PutioJsonValue, I as removeRateLimitBan, Ia as FriendBase, Ic as createFolder, Id as RevokeAllOAuthClientsErrorSpec, If as OAuthAppUpdateInput, Ii as PaymentInfo, Il as ListFamilyMembersError, Im as PutioKnownErrorContract, In as SharedFileShareSchema, Io as FileActiveConversionsErrorSpec, Ip as AccountInfoQuery, Ir as RssFeedSchema, Is as FileType, It as retryTransfer, Iu as createDownloadLinks, J as ListTransfersErrorSpec, Ja as RemoveFriendErrorSpec, Jc as getFile, Jd as VerifyTOTPResponseSchema, Jf as RegenerateOAuthAppTokenErrorSpec, Ji as PaymentProvider, Jl as DeleteEventErrorSpec, Jm as decodePutioErrorEnvelope, Jn as UnshareFileError, Jo as FileCopyInputSchema, Jp as SaveAccountSettingsError, Jr as retryRssFeedItem, Js as FileXspfPlaylistUrlOptions, Jt as TrashBulkInput, Ju as setConfigKey, K as GetTransferTorrentErrorSpec, Ka as ListWaitingRequestsErrorSpec, Kc as getApiMp4DownloadUrl, Kd as VerifyTOTPErrorSpec, Kf as QueryOAuthAppsErrorSpec, Ki as PaymentPlanGroupSchema, Kl as ClearEventsErrorSpec, Km as PutioUnhandledSdkError, Kn as SharingUnshareInput, Ko as FileConversionStatusSchema, Kp as PasInfo, Kr as resumeRssFeed, Ks as FileWatchStatusError, Kt as RestoreTrashError, Ku as readConfig, L as AddManyTransfersError, La as FriendBaseSchema, Lc as deleteFileExtraction, Ld as RevokeOAuthClientError, Lf as OAuthAppUpdateInputSchema, Li as PaymentInfoPlanSchema, Ll as ListFamilyMembersErrorSpec, Lm as PutioKnownOperationErrorContract, Ln as SharedFileSharedWith, Lo as FileApiDownloadUrlOptions, Lp as AccountInfoQuerySchema, Lr as UpdateRssFeedError, Ls as FileTypeSchema, Lt as stopTransferRecording, Lu as getDownloadLinks, M as listTunnelRoutes, Ma as CountWaitingRequestsErrorSpec, Mc as convertFilesToMp4, Md as RegisterInputSchema, Mf as OAuthAppCreateInputSchema, Mi as PaymentChangePlanSubmitSchema, Ml as JoinFamilyError, Mm as PutioAuthError, Mn as ShareFilesErrorSpec, Mo as DownloadUrlErrorSpec, Mp as AccountInfoBase, Mr as RssFeedItemSchema, Ms as FileSubtitlesError, Mt as getTransferTorrent, Mu as DownloadLinksStatus, N as RemoveRateLimitBanError, Na as DenyFriendRequestError, Nc as copyFile, Nd as ResetPasswordError, Nf as OAuthAppSchema, Ni as PaymentHistoryItem, Nl as JoinFamilyErrorSpec, Nm as PutioConfigurationError, Nn as SharedFile, No as FileActiveConversion, Np as AccountInfoBaseSchema, Nr as RssFeedItemSucceededSchema, Ns as FileSubtitlesErrorSpec, Nt as listTransfers, Nu as DownloadLinksStatusSchema, O as ListTunnelRoutesError, Oa as submitPaymentChangePlan, Oc as continueFiles, Od as RegenerateRecoveryCodesErrorSpec, Of as MyOAuthApp, Oi as PaymentChangePlanPreviewInput, Ol as FamilyInviteSchema, Om as selectJsonField, On as PublicShareListQuery, Oo as CopyFileErrorSpec, Op as AccountConfirmationsError, Or as RetryRssFeedItemErrorSpec, Os as FileSortSchema, Ot as continueTransfers, Ou as DownloadLinksInfo, P as RemoveRateLimitBanErrorSpec, Pa as DenyFriendRequestErrorSpec, Pc as createFileUploadFormData, Pd as ResetPasswordErrorSpec, Pf as OAuthAppSession, Pi as PaymentHistoryItemSchema, Pl as ListFamilyInvitesError, Pm as PutioErrorEnvelope, Pn as SharedFileSchema, Po as FileActiveConversionSchema, Pp as AccountInfoBroad, Pr as RssFeedParams, Ps as FileTouchInput, Pt as reannounceTransfer, Pu as GetDownloadLinksError, Q as RemoveTransfersErrorSpec, Qa as SendFriendRequestErrorSpec, Qc as getMp4Status, Qd as checkCodeMatch, Qf as buildOAuthAuthorizeUrl, Qi as PaymentTypeSchema, Ql as GetEventTorrentError, Qm as isPutioAuthError, Qn as createPublicShare, Qo as FileExtraction, Qp as clearAccount, Qr as PodcastLinkType, Qs as FilesListQuerySchema, Qt as TrashListQuery, Qu as ClientsError, R as AddManyTransfersErrorSpec, Ra as FriendSchema, Rc as deleteFileMp4, Rd as RevokeOAuthClientErrorSpec, Rf as OAuthAppWithTokenSchema, Ri as PaymentInfoSchema, Rl as RemoveFamilyMemberError, Rm as PutioOperationError, Rn as SharedFileSharedWithSchema, Ro as FileApiMp4DownloadUrlOptions, Rp as AccountInfoResponseFor, Rr as UpdateRssFeedErrorSpec, Rs as FileUploadEnvelope, Rt as ContinueTrashError, Ru as JsonObjectSchema, S as ZipStatusSchema, Sa as listPaymentOptions, Sc as buildFileApiContentUrl, Sd as OAuthAuthorizationCodeExchangeErrorCodeSchema, Sf as CreateOAuthAppError, Si as ListPaymentInvitesErrorSpec, Sl as SendIftttEventErrorSpec, Sm as putioSdkLayer, Sn as ListPublicShareFilesErrorSpec, So as listFriendInvites, Sp as deleteAppSpecificPassword, Sr as PauseRssFeedErrorSpec, Ss as FileRenameInput, St as TransfersListResponse, Su as getEventTorrent, T as createZip, Ta as redeemPaymentVoucher, Tc as buildFileHlsStreamUrl, Td as RecoveryCodesError, Tf as DeleteOAuthAppErrorSpec, Ti as ListPaymentPlansError, Tl as CreateFamilyInviteError, Tm as requestJson, Tn as ListSharedFilesError, To as ContinueFilesError, Tp as AccountClearOptionsSchema, Tr as RetryAllRssFeedItemsError, Ts as FileSetSortInput, Tt as addTransferTrackers, Tu as CreateDownloadLinksErrorSpec, U as GetTransferError, Ua as ListSentRequestsError, Uc as findNextVideo, Ud as ValidateTokenResponse, Uf as PopularOAuthApp, Ui as PaymentOptionSchema, Ul as listFamilyMembers, Um as PutioSdkError, Un as SharingCloneStatusSchema, Uo as FileBroad, Up as AccountTwoFactorSettingsSchema, Ur as listRssFeedItems, Us as FileUploadResult, Ut as EmptyTrashErrorSpec, Uu as deleteConfigKey, V as AddTransferTrackersError, Va as ListFriendsError, Vc as extractFiles, Vd as TwoFactorRecoveryCodes, Vf as OwnedOAuthApp, Vi as PaymentOption, Vl as joinFamily, Vm as PutioOperationFailure, Vn as SharingCloneInput, Vo as FileBreadcrumb, Vp as AccountSubtitleLanguage, Vr as deleteRssFeed, Vs as FileUploadInput, Vt as DeleteTrashErrorSpec, Vu as PutioJsonPrimitive, W as GetTransferErrorSpec, Wa as ListSentRequestsErrorSpec, Wc as getApiContentUrl, Wd as ValidateTokenResponseSchema, Wf as PopularOAuthAppSchema, Wi as PaymentPaddleWaitingPaymentInput, Wl as removeFamilyMember, Wm as PutioTransportError, Wn as SharingShareInput, Wo as FileBroadSchema, Wp as AccountWarnings, Wr as listRssFeeds, Ws as FileUploadTransfer, Wt as ListTrashError, Wu as getConfigKey, X as ReannounceTransferErrorSpec, Xa as SearchFriendsErrorSpec, Xc as getHlsMasterPlaylist, Xd as VoucherLookupErrorSpec, Xf as UpdateOAuthAppErrorSpec, Xi as PaymentProviderSchema, Xl as EventsListQuerySchema, Xm as fallbackPutioErrorEnvelope, Xn as cloneSharedFiles, Xo as FileCreateFolderInput, Xp as SaveAccountSettingsPayload, Xr as PodcastGetLinksInput, Xs as FilesListEnvelopeSchema, Xt as TrashFile, Xu as AuthGetCodeInput, Y as ReannounceTransferError, Ya as SearchFriendsError, Yc as getFileChild, Yd as VoucherLookupError, Yf as UpdateOAuthAppError, Yi as PaymentProviderNameSchema, Yl as EventsListQuery, Ym as definePutioOperationErrorSpec, Yn as UnshareFileErrorSpec, Yo as FileCore, Yp as SaveAccountSettingsErrorSpec, Yr as updateRssFeed, Ys as FilesBulkSelection, Yt as TrashContinueResponse, Yu as writeConfig, Z as RemoveTransfersError, Za as SendFriendRequestError, Zc as getHlsStreamUrl, Zd as buildAuthLoginUrl, Zf as buildOAuthAppIconUrl, Zi as PaymentSubscriptionInfoSchema, Zl as EventsListResponse, Zm as isPutioApiError, Zn as continuePublicShareFiles, Zo as FileDirectAccessOptions, Zp as SaveAccountSettingsPayloadSchema, Zr as PodcastGetLinksInputSchema, Zs as FilesListQuery, Zt as TrashFileSchema, Zu as AuthorizationCodeSchema, _ as GetZipErrorSpec, _a as getPaddleBillingInvoiceUrl, _c as SearchFilesErrorSpec, _d as LoginErrorSpec, _f as revokeAllClients, _i as GetPaymentVoucherInfoError, _l as GetIftttStatusError, _m as buildPutioUrl, _n as GetSharedWithError, _o as FriendInviteJoinedUserStatusSchema, _p as DeleteAppSpecificPasswordErrorSpec, _r as ListRssFeedItemsError, _s as FileMp4ErrorSpec, _t as TransferTypeSchema, _u as HistoryZipCreatedEventSchema, a as PutioSdkEffectClient, aa as ReportPaymentsError, ac as GetFileChildError, ad as FriendInviteLookupErrorSpec, af as getFamilyInvite, ah as parseErrorBody, ai as ConfirmFastspringOrderError, al as moveFiles, am as OkResponseSchema, an as ContinuePublicShareFilesError, ao as listFriends, ap as setOAuthAppIcon, ar as listPublicShares, as as FileGetChildInputSchema, at as TransferAddInputSchema, au as HistoryKnownEventType, b as ZipCreateResponse, ba as listPaymentHistory, bc as TouchFilesError, bd as LoginResponseSchema, bf as validateToken, bi as ListPaymentHistoryErrorSpec, bl as IftttEventType, bm as makePutioFetchLayer, bn as GetSharingCloneInfoErrorSpec, bo as ListFriendInvitesErrorSpec, bp as createAppSpecificPassword, br as ListRssFeedsErrorSpec, bs as FileQuery, bt as TransfersListQuery, bu as clearEvents, c as createPutioSdkPromiseClient, ca as StopSubscriptionErrorSpec, cc as GetFileErrorSpec, cd as GenerateTOTPResponse, cf as getRecoveryCodes, ch as withOperationErrors, ci as CreateOpenNodeChargeErrorSpec, cl as renameFile, cm as PutioHttpClientService, cn as CreatePublicShareErrorSpec, co as removeFriend, cp as AppSpecificPasswordSchema, cr as unshareFile, cs as FileListContinuationResponse, ct as TransferBaseSchema, cu as HistoryRssFilterPausedEventSchema, d as CancelZipError, da as UserSubscriptionStatusSchema, dc as QueryFilesError, dd as GiftCardLookupErrorSpec, df as linkDevice, di as CreatePaddleWaitingPaymentError, dl as searchFiles, dm as PutioPathSegment, dn as DeletePublicShareError, do as CreateFriendInviteError, dp as CreateAppSpecificPasswordInput, dr as CreateRssFeedError, ds as FileMediaInfoFormatSchema, dt as TransferRemoveInput, du as HistoryTransferCompletedEventSchema, ea as PaymentVoucherInfoSchema, ec as FilesMoveErrorSchema, ed as FamilyInviteLookupError, ef as exchangeOAuthAuthorizationCode, eh as isPutioOperationError, ei as PodcastLinks, el as getXspfPlaylistUrl, em as getAccountInfo, en as continueTrash, eo as UserSearchResultSchema, ep as deleteOAuthApp, er as getPublicShare, es as FileExtractionStatus, et as RetryTransferErrorSpec, eu as HistoryEvent, f as CancelZipErrorSpec, fa as classifyPaymentChangePlanResponse, fc as QueryFilesErrorSpec, fd as GrantsError, ff as login, fi as CreatePaddleWaitingPaymentErrorSpec, fl as setFileSort, fm as PutioQuery, fn as DeletePublicShareErrorSpec, fo as CreateFriendInviteErrorSpec, fp as CreateAppSpecificPasswordInputSchema, fr as CreateRssFeedErrorSpec, fs as FileMediaInfoSchema, ft as TransferRemoveInputSchema, fu as HistoryTransferErrorEventSchema, g as GetZipError, ga as createPaddleWaitingPayment, gc as SearchFilesError, gd as LoginError, gf as resetPassword, gi as GetPaymentInfoErrorSpec, gl as uploadFile, gm as PutioSdkOptions, gn as GetPublicShareFileUrlErrorSpec, go as FriendInviteJoinedUserStatus, gp as DeleteAppSpecificPasswordError, gr as GetRssFeedErrorSpec, gs as FileMp4Error, gt as TransferType, gu as HistoryZipCreatedEvent, h as CreateZipInput, ha as createPaddleBillingUpdatePaymentMethodTransaction, hc as SHARED_WITH_YOU_ROOT_ID, hd as LinkDeviceErrorSpec, hf as register, hi as GetPaymentInfoError, hl as touchFiles, hm as PutioSdkContext, hn as GetPublicShareFileUrlError, ho as FriendInviteJoinedUserSchema, hp as DeleteAllAppSpecificPasswordsErrorSpec, hr as GetRssFeedError, hs as FileMediaMetadataSchema, ht as TransferStatusSchema, hu as HistoryVoucherEventSchema, i as PutioSdk, ia as RedeemPaymentVoucherErrorSpec, ic as FolderTypeSchema, id as FriendInviteLookupError, if as getCode, ih as mapTransportError, ii as ClassifiedPaymentChangePlanSubmitResponse, il as moveFileSelection, im as saveAccountSettings, in as restoreTrash, io as getFriendSharedFolder, ip as regenerateOAuthAppToken, ir as listPublicShareFiles, is as FileGetChildInput, it as TransferAddInput, iu as HistoryFileSharedEventSchema, j as TunnelRouteSchema, ja as CountWaitingRequestsError, jc as convertFileToMp4, jd as RegisterInput, jf as OAuthAppCreateInput, ji as PaymentChangePlanSubmitResponse, jl as FamilyMemberSchema, jm as PutioApiError, jn as ShareFilesError, jo as DownloadUrlError, jp as AccountDiskSchema, jr as RssFeedItemFailedSchema, js as FileSubtitleSchema, jt as getTransferInfo, ju as DownloadLinksPayloadSchema, k as ListTunnelRoutesErrorSpec, ka as ApproveFriendRequestError, kc as continueSearch, kd as RegisterError, kf as MyOAuthAppSchema, ki as PaymentChangePlanPreviewSchema, kl as FamilyInvitesResponse, km as selectJsonFields, kn as PublicShareListQuerySchema, ko as CreateFolderError, kp as AccountConfirmationsErrorSpec, kr as RssFeed, ks as FileStartFromSetInput, kt as countTransfers, ku as DownloadLinksInfoSchema, l as makePutioSdkEffectClientLayer, la as SubmitPaymentChangePlanError, lc as GetHlsMasterPlaylistError, ld as GenerateTOTPResponseSchema, lf as getVoucher, li as CreatePaddleBillingUpdatePaymentMethodTransactionError, ll as resetFileSortSettings, lm as PutioHttpRequest, ln as CreateSharingCloneError, lo as searchFriends, lp as CreateAppSpecificPasswordError, lr as ClearRssFeedLogsError, ls as FileListResponse, lt as TransferInfoItem, lu as HistoryTransferCallbackErrorEventSchema, m as CreateZipErrorSpec, ma as createOpenNodeCharge, mc as RenameFileErrorSpec, md as LinkDeviceError, mf as regenerateRecoveryCodes, mi as GetPaddleBillingInvoiceUrlErrorSpec, ml as setStartFrom, mm as PutioSdkConfig, mn as GetPublicShareErrorSpec, mo as FriendInviteJoinedUser, mp as DeleteAllAppSpecificPasswordsError, mr as DeleteRssFeedErrorSpec, ms as FileMediaMetadata, mt as TransferStatus, mu as HistoryUploadEventSchema, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as PreviewPaymentChangePlanErrorSpec, nc as FilesSearchQuerySchema, nd as ForgotPasswordError, nf as forgotPassword, nh as mapConfigurationError, ni as PodcastLinksSchema, nl as listFileExtractions, nm as listAccountConfirmations, nn as emptyTrash, no as countWaitingRequests, np as getPopularOAuthApps, nr as getSharedWith, ns as FileExtractionsError, nt as StopRecordingTransferErrorSpec, nu as HistoryFileFromRssDeletedEventSchema, o as PutioSdkPromiseClient, oa as ReportPaymentsErrorSpec, oc as GetFileChildErrorSpec, od as GenerateTOTPError, of as getFriendInvite, oh as responseRateLimitHeaders, oi as ConfirmFastspringOrderErrorSpec, ol as putMp4ToMyFiles, om as PutioAuth, on as ContinuePublicShareFilesErrorSpec, oo as listSentRequests, op as updateOAuthApp, or as listSharedFiles, os as FileHlsMasterPlaylistOptions, ot as TransferAddTrackersInput, ou as HistoryKnownEventTypeSchema, p as CreateZipError, pa as confirmFastspringOrder, pc as RenameFileError, pd as GrantsErrorSpec, pf as logout, pi as GetPaddleBillingInvoiceUrlError, pl as setFilesWatchStatus, pm as PutioQueryValue, pn as GetPublicShareError, po as FriendInvite, pp as CreateAppSpecificPasswordResult, pr as DeleteRssFeedError, ps as FileMediaInfoStreamSchema, pt as TransferSchema, pu as HistoryTransferFromRssErrorEventSchema, q as ListTransfersError, qa as RemoveFriendError, qc as getDownloadUrl, qd as VerifyTOTPResponse, qf as RegenerateOAuthAppTokenError, qi as PaymentPlanTypeSchema, ql as DeleteEventError, qm as PutioValidationError, qn as SharingUnshareInputSchema, qo as FileCopyInput, qp as PasInfoSchema, qr as retryAllRssFeedItems, qs as FileWatchStatusErrorSpec, qt as RestoreTrashErrorSpec, qu as readConfigWith, r as DEFAULT_PUTIO_WEB_APP_URL, ra as RedeemPaymentVoucherError, rc as FolderType, rd as ForgotPasswordErrorSpec, rf as generateTOTP, rh as mapDecodeErrorToValidationError, ri as getPodcastLinks, rl as listFileSubtitles, rm as listAccountSubtitleLanguages, rn as listTrash, ro as denyFriendRequest, rp as queryOAuthApps, rr as getSharingCloneInfo, rs as FileExtractionsErrorSpec, rt as Transfer, ru as HistoryFileSharedEvent, s as createPutioSdkEffectClient, sa as StopSubscriptionError, sc as GetFileError, sd as GenerateTOTPErrorSpec, sf as getGiftCard, sh as toPutioResponseError, si as CreateOpenNodeChargeError, sl as queryFiles, sm as PutioHttpClient, sn as CreatePublicShareError, so as listWaitingRequests, sp as AppSpecificPassword, sr as shareFiles, ss as FileHlsStreamUrlOptions, st as TransferAddTrackersInputSchema, su as HistoryPrivateTorrentPinEventSchema, t as DEFAULT_PUTIO_API_BASE_URL, ta as PreviewPaymentChangePlanError, tc as FilesSearchQuery, td as FamilyInviteLookupErrorSpec, tf as exists, th as isPutioRateLimitError, ti as PodcastLinksResponse, tl as listActiveMp4Conversions, tm as getAccountSettings, tn as deleteTrash, to as approveFriendRequest, tp as getOAuthApp, tr as getPublicShareFileUrl, ts as FileExtractionStatusSchema, tt as StopRecordingTransferError, tu as HistoryEventSchema, u as makePutioSdkLiveClientLayer, ua as SubmitPaymentChangePlanErrorSpec, uc as GetHlsMasterPlaylistErrorSpec, ud as GiftCardLookupError, uf as grants, ui as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ul as resetStartFrom, um as PutioHttpResponse, un as CreateSharingCloneErrorSpec, uo as sendFriendRequest, up as CreateAppSpecificPasswordErrorSpec, ur as ClearRssFeedLogsErrorSpec, us as FileMediaInfo, ut as TransferLink, uu as HistoryTransferCompletedEvent, v as ListZipsError, va as getPaymentInfo, vc as StartFromError, vd as LoginInput, vf as revokeApp, vi as GetPaymentVoucherInfoErrorSpec, vl as GetIftttStatusErrorSpec, vm as encodePathSegment, vn as GetSharedWithErrorSpec, vo as FriendInviteSchema, vp as ListAppSpecificPasswordsError, vr as ListRssFeedItemsErrorSpec, vs as FileMp4MutationError, vt as TransfersAddMultiError, vu as ListEventsError, w as cancelZip, wa as previewPaymentChangePlan, wc as buildFileApiMp4DownloadUrl, wd as OAuthAuthorizationCodeExchangeInputSchema, wf as DeleteOAuthAppError, wi as ListPaymentOptionsErrorSpec, wl as sendIftttEvent, wm as requestArrayBuffer, wn as ListPublicSharesErrorSpec, wo as CanWriteFileErrorSpec, wp as AccountClearOptions, wr as ResumeRssFeedErrorSpec, ws as FileSearchResponse, wt as addTransfer, wu as CreateDownloadLinksError, x as ZipInfo, xa as listPaymentInvites, xc as TouchFilesErrorSpec, xd as OAuthAuthorizationCodeExchangeError, xf as verifyTOTP, xi as ListPaymentInvitesError, xl as SendIftttEventError, xm as normalizePutioSdkOptions, xn as ListPublicShareFilesError, xo as createFriendInvite, xp as deleteAllAppSpecificPasswords, xr as PauseRssFeedError, xs as FileQuerySchema, xt as TransfersListQuerySchema, xu as deleteEvent, y as ListZipsErrorSpec, ya as getPaymentVoucherInfo, yc as StartFromErrorSpec, yd as LoginResponse, yf as revokeClient, yi as ListPaymentHistoryError, yl as IftttEventInput, ym as makePutioFetchClient, yn as GetSharingCloneInfoError, yo as ListFriendInvitesError, yp as ListAppSpecificPasswordsErrorSpec, yr as ListRssFeedsError, ys as FileMp4MutationErrorSpec, yt as TransfersContinueResponse, yu as ListEventsErrorSpec, z as AddTransferError, za as FriendSharedFolderError, zc as deleteFileSelection, zd as RevokeOAuthGrantError, zf as OAuthSetIconInput, zi as PaymentInvite, zl as RemoveFamilyMemberErrorSpec, zm as PutioOperationErrorFromSpec, zn as SharingCloneInfo, zo as FileBase, zp as AccountSettings, zr as clearRssFeedLogs, zs as FileUploadError, zt as ContinueTrashErrorSpec, zu as JsonValueSchema } from "./index-DqyRVg9G.js";
|
|
2
2
|
export { AccountClearOptions, AccountClearOptionsSchema, AccountConfirmation, AccountConfirmationSchema, AccountConfirmationsError, AccountConfirmationsErrorSpec, AccountDisk, AccountDiskSchema, AccountInfoBase, AccountInfoBaseSchema, AccountInfoBroad, AccountInfoBroadSchema, AccountInfoQuery, AccountInfoQuerySchema, AccountInfoResponseFor, AccountSettings, AccountSettingsSchema, AccountSubtitleLanguage, AccountSubtitleLanguageSchema, AccountTwoFactorSettingsSchema, AccountWarnings, AccountWarningsSchema, AddManyTransfersError, AddManyTransfersErrorSpec, AddTransferError, AddTransferErrorSpec, AddTransferTrackersError, AddTransferTrackersErrorSpec, AnyPutioOperationError, AppSpecificPassword, AppSpecificPasswordSchema, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthGetCodeInput, AuthorizationCodeSchema, CanWriteFileError, CanWriteFileErrorSpec, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CopyFileError, CopyFileErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateAppSpecificPasswordError, CreateAppSpecificPasswordErrorSpec, CreateAppSpecificPasswordInput, CreateAppSpecificPasswordInputSchema, CreateAppSpecificPasswordResult, CreateDownloadLinksError, CreateDownloadLinksErrorSpec, CreateFamilyInviteError, CreateFamilyInviteErrorSpec, CreateFolderError, CreateFolderErrorSpec, CreateFriendInviteError, CreateFriendInviteErrorSpec, CreateOAuthAppError, CreateOAuthAppErrorSpec, CreateOpenNodeChargeError, CreateOpenNodeChargeErrorSpec, CreatePaddleBillingUpdatePaymentMethodTransactionError, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, CreatePaddleWaitingPaymentError, CreatePaddleWaitingPaymentErrorSpec, CreatePublicShareError, CreatePublicShareErrorSpec, CreateRssFeedError, CreateRssFeedErrorSpec, CreateSharingCloneError, CreateSharingCloneErrorSpec, CreateZipError, CreateZipErrorSpec, CreateZipInput, DEFAULT_PUTIO_API_BASE_URL, DEFAULT_PUTIO_UPLOAD_BASE_URL, DEFAULT_PUTIO_WEB_APP_URL, DeleteAllAppSpecificPasswordsError, DeleteAllAppSpecificPasswordsErrorSpec, DeleteAppSpecificPasswordError, DeleteAppSpecificPasswordErrorSpec, DeleteEventError, DeleteEventErrorSpec, DeleteOAuthAppError, DeleteOAuthAppErrorSpec, DeletePublicShareError, DeletePublicShareErrorSpec, DeleteRssFeedError, DeleteRssFeedErrorSpec, DeleteTrashError, DeleteTrashErrorSpec, DenyFriendRequestError, DenyFriendRequestErrorSpec, DownloadLinksCreateInput, DownloadLinksCreateInputSchema, DownloadLinksInfo, DownloadLinksInfoSchema, DownloadLinksPayload, DownloadLinksPayloadSchema, DownloadLinksStatus, DownloadLinksStatusSchema, DownloadUrlError, DownloadUrlErrorSpec, EmptyTrashError, EmptyTrashErrorSpec, EventsListQuery, EventsListQuerySchema, EventsListResponse, FamilyInvite, FamilyInviteLookupError, FamilyInviteLookupErrorSpec, FamilyInviteSchema, FamilyInvitesResponse, FamilyMember, FamilyMemberSchema, FileActiveConversion, FileActiveConversionSchema, FileActiveConversionsError, FileActiveConversionsErrorSpec, FileApiDownloadUrlOptions, FileApiMp4DownloadUrlOptions, FileBase, FileBaseSchema, FileBreadcrumb, FileBreadcrumbSchema, FileBroad, FileBroadSchema, FileConversionStatus, FileConversionStatusSchema, FileCopyInput, FileCopyInputSchema, FileCore, FileCreateFolderInput, FileDirectAccessOptions, FileExtraction, FileExtractionSchema, FileExtractionStatus, FileExtractionStatusSchema, FileExtractionsError, FileExtractionsErrorSpec, FileGetChildInput, FileGetChildInputSchema, FileHlsMasterPlaylistOptions, FileHlsStreamUrlOptions, FileListContinuationResponse, FileListResponse, FileMediaInfo, FileMediaInfoFormatSchema, FileMediaInfoSchema, FileMediaInfoStreamSchema, FileMediaMetadata, FileMediaMetadataSchema, FileMp4Error, FileMp4ErrorSpec, FileMp4MutationError, FileMp4MutationErrorSpec, FileQuery, FileQuerySchema, FileRenameInput, FileResponseFor, FileSearchResponse, FileSetSortInput, FileSetSortInputSchema, FileSort, FileSortSchema, FileStartFromSetInput, FileSubtitle, FileSubtitleSchema, FileSubtitlesError, FileSubtitlesErrorSpec, FileTouchInput, FileTouchInputSchema, FileType, FileTypeSchema, FileUploadEnvelope, FileUploadError, FileUploadErrorSpec, FileUploadInput, FileUploadRequestDescriptor, FileUploadResult, FileUploadTransfer, FileVideoMetadata, FileWatchStatusError, FileWatchStatusErrorSpec, FileXspfPlaylistUrlOptions, FilesBulkSelection, FilesListEnvelopeSchema, FilesListQuery, FilesListQuerySchema, FilesMoveError, FilesMoveErrorSchema, FilesSearchQuery, FilesSearchQuerySchema, FolderType, FolderTypeSchema, ForgotPasswordError, ForgotPasswordErrorSpec, Friend, FriendBase, FriendBaseSchema, FriendInvite, FriendInviteJoinedUser, FriendInviteJoinedUserSchema, FriendInviteJoinedUserStatus, FriendInviteJoinedUserStatusSchema, FriendInviteLookupError, FriendInviteLookupErrorSpec, FriendInviteSchema, FriendSchema, FriendSharedFolderError, FriendSharedFolderErrorSpec, GenerateTOTPError, GenerateTOTPErrorSpec, GenerateTOTPResponse, GenerateTOTPResponseSchema, GetDownloadLinksError, GetDownloadLinksErrorSpec, GetEventTorrentError, GetEventTorrentErrorSpec, GetFileChildError, GetFileChildErrorSpec, GetFileError, GetFileErrorSpec, GetHlsMasterPlaylistError, GetHlsMasterPlaylistErrorSpec, GetIftttStatusError, GetIftttStatusErrorSpec, GetOAuthAppError, GetOAuthAppErrorSpec, GetPaddleBillingInvoiceUrlError, GetPaddleBillingInvoiceUrlErrorSpec, GetPaymentInfoError, GetPaymentInfoErrorSpec, GetPaymentVoucherInfoError, GetPaymentVoucherInfoErrorSpec, GetPublicShareError, GetPublicShareErrorSpec, GetPublicShareFileUrlError, GetPublicShareFileUrlErrorSpec, GetRssFeedError, GetRssFeedErrorSpec, GetSharedWithError, GetSharedWithErrorSpec, GetSharingCloneInfoError, GetSharingCloneInfoErrorSpec, GetTransferError, GetTransferErrorSpec, GetTransferTorrentError, GetTransferTorrentErrorSpec, GetZipError, GetZipErrorSpec, GiftCardLookupError, GiftCardLookupErrorSpec, GrantsError, GrantsErrorSpec, HistoryEvent, HistoryEventSchema, HistoryFileFromRssDeletedEventSchema, HistoryFileSharedEvent, HistoryFileSharedEventSchema, HistoryKnownEventType, HistoryKnownEventTypeSchema, HistoryPrivateTorrentPinEventSchema, HistoryRssFilterPausedEventSchema, HistoryTransferCallbackErrorEventSchema, HistoryTransferCompletedEvent, HistoryTransferCompletedEventSchema, HistoryTransferErrorEventSchema, HistoryTransferFromRssErrorEventSchema, HistoryUploadEventSchema, HistoryVoucherEventSchema, HistoryZipCreatedEvent, HistoryZipCreatedEventSchema, IftttEventInput, IftttEventType, JoinFamilyError, JoinFamilyErrorSpec, JsonObjectSchema, JsonValueSchema, LinkDeviceError, LinkDeviceErrorSpec, ListAppSpecificPasswordsError, ListAppSpecificPasswordsErrorSpec, ListEventsError, ListEventsErrorSpec, ListFamilyInvitesError, ListFamilyInvitesErrorSpec, ListFamilyMembersError, ListFamilyMembersErrorSpec, ListFriendInvitesError, ListFriendInvitesErrorSpec, ListFriendsError, ListFriendsErrorSpec, ListPaymentHistoryError, ListPaymentHistoryErrorSpec, ListPaymentInvitesError, ListPaymentInvitesErrorSpec, ListPaymentOptionsError, ListPaymentOptionsErrorSpec, ListPaymentPlansError, ListPaymentPlansErrorSpec, ListPublicShareFilesError, ListPublicShareFilesErrorSpec, ListPublicSharesError, ListPublicSharesErrorSpec, ListRssFeedItemsError, ListRssFeedItemsErrorSpec, ListRssFeedsError, ListRssFeedsErrorSpec, ListSentRequestsError, ListSentRequestsErrorSpec, ListSharedFilesError, ListSharedFilesErrorSpec, ListTransfersError, ListTransfersErrorSpec, ListTrashError, ListTrashErrorSpec, ListTunnelRoutesError, ListTunnelRoutesErrorSpec, ListWaitingRequestsError, ListWaitingRequestsErrorSpec, ListZipsError, ListZipsErrorSpec, LoginError, LoginErrorSpec, LoginInput, LoginResponse, LoginResponseSchema, MyOAuthApp, MyOAuthAppSchema, OAuthApp, OAuthAppCreateInput, OAuthAppCreateInputSchema, OAuthAppSchema, OAuthAppSession, OAuthAppSessionSchema, OAuthAppUpdateInput, OAuthAppUpdateInputSchema, OAuthAppWithTokenSchema, OAuthAuthorizationCodeExchangeError, OAuthAuthorizationCodeExchangeErrorCodeSchema, OAuthAuthorizationCodeExchangeInput, OAuthAuthorizationCodeExchangeInputSchema, OAuthSetIconInput, OAuthSetIconInputSchema, OkResponseSchema, OwnedOAuthApp, OwnedOAuthAppSchema, PasInfo, PasInfoSchema, PauseRssFeedError, PauseRssFeedErrorSpec, PaymentChangePlanPreview, PaymentChangePlanPreviewInput, PaymentChangePlanPreviewSchema, PaymentChangePlanSubmitInput, PaymentChangePlanSubmitResponse, PaymentChangePlanSubmitSchema, PaymentHistoryItem, PaymentHistoryItemSchema, PaymentHistoryQuery, PaymentInfo, PaymentInfoPlanSchema, PaymentInfoSchema, PaymentInvite, PaymentInviteSchema, PaymentOption, PaymentOptionPlanTypeSchema, PaymentOptionSchema, PaymentPaddleWaitingPaymentInput, PaymentPlanGroup, PaymentPlanGroupSchema, PaymentPlanTypeSchema, PaymentProvider, PaymentProviderNameSchema, PaymentProviderSchema, PaymentSubscriptionInfoSchema, PaymentTypeSchema, PaymentVoucherInfo, PaymentVoucherInfoSchema, PodcastGetLinksInput, PodcastGetLinksInputSchema, PodcastLinkType, PodcastLinkTypeSchema, PodcastLinks, PodcastLinksResponse, PodcastLinksSchema, PopularOAuthApp, PopularOAuthAppSchema, PreviewPaymentChangePlanError, PreviewPaymentChangePlanErrorSpec, PublicShare, PublicShareListQuery, PublicShareListQuerySchema, PublicShareSchema, PutioApiError, PutioAuth, PutioAuthError, PutioConfigurationError, PutioErrorEnvelope, PutioErrorEnvelopeSchema, PutioHttpClient, PutioHttpClientService, PutioHttpRequest, PutioHttpResponse, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioKnownOperationErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioPathSegment, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdk, PutioSdkConfig, PutioSdkContext, PutioSdkEffectClient, PutioSdkError, PutioSdkOptions, PutioSdkPromiseClient, PutioTransportError, PutioTypedErrorEnvelope, PutioUnhandledSdkError, PutioValidationError, QueryFilesError, QueryFilesErrorSpec, QueryOAuthAppsError, QueryOAuthAppsErrorSpec, ReannounceTransferError, ReannounceTransferErrorSpec, RecoveryCodesError, RecoveryCodesErrorSpec, RedeemPaymentVoucherError, RedeemPaymentVoucherErrorSpec, RegenerateOAuthAppTokenError, RegenerateOAuthAppTokenErrorSpec, RegenerateRecoveryCodesError, RegenerateRecoveryCodesErrorSpec, RegisterError, RegisterErrorSpec, RegisterInput, RegisterInputSchema, RemoveFamilyMemberError, RemoveFamilyMemberErrorSpec, RemoveFriendError, RemoveFriendErrorSpec, RemoveRateLimitBanError, RemoveRateLimitBanErrorSpec, RemoveRateLimitBanInput, RemoveTransfersError, RemoveTransfersErrorSpec, RenameFileError, RenameFileErrorSpec, ReportPaymentsError, ReportPaymentsErrorSpec, ResetPasswordError, ResetPasswordErrorSpec, RestoreTrashError, RestoreTrashErrorSpec, ResumeRssFeedError, ResumeRssFeedErrorSpec, RetryAllRssFeedItemsError, RetryAllRssFeedItemsErrorSpec, RetryRssFeedItemError, RetryRssFeedItemErrorSpec, RetryTransferError, RetryTransferErrorSpec, RevokeAllOAuthClientsError, RevokeAllOAuthClientsErrorSpec, RevokeOAuthClientError, RevokeOAuthClientErrorSpec, RevokeOAuthGrantError, RevokeOAuthGrantErrorSpec, RssFeed, RssFeedItem, RssFeedItemFailedSchema, RssFeedItemSchema, RssFeedItemSucceededSchema, RssFeedParams, RssFeedParamsSchema, RssFeedSchema, SHARED_WITH_YOU_ROOT_ID, SaveAccountSettingsError, SaveAccountSettingsErrorSpec, SaveAccountSettingsPayload, SaveAccountSettingsPayloadSchema, SearchFilesError, SearchFilesErrorSpec, SearchFriendsError, SearchFriendsErrorSpec, SendFriendRequestError, SendFriendRequestErrorSpec, SendIftttEventError, SendIftttEventErrorSpec, ShareFilesError, ShareFilesErrorSpec, SharedFile, SharedFileSchema, SharedFileShare, SharedFileShareSchema, SharedFileSharedWith, SharedFileSharedWithSchema, SharingCloneInfo, SharingCloneInfoSchema, SharingCloneInput, SharingCloneInputSchema, SharingCloneStatusSchema, SharingShareInput, SharingShareInputSchema, SharingUnshareInput, SharingUnshareInputSchema, StartFromError, StartFromErrorSpec, StopRecordingTransferError, StopRecordingTransferErrorSpec, StopSubscriptionError, StopSubscriptionErrorSpec, SubmitPaymentChangePlanError, SubmitPaymentChangePlanErrorSpec, TouchFilesError, TouchFilesErrorSpec, Transfer, TransferAddInput, TransferAddInputSchema, TransferAddTrackersInput, TransferAddTrackersInputSchema, TransferBaseSchema, TransferInfoItem, TransferLink, TransferRemoveInput, TransferRemoveInputSchema, TransferSchema, TransferStatus, TransferStatusSchema, TransferType, TransferTypeSchema, TransfersAddMultiError, TransfersContinueResponse, TransfersListQuery, TransfersListQuerySchema, TransfersListResponse, TrashBulkInput, TrashContinueResponse, TrashFile, TrashFileSchema, TrashListQuery, TrashListResponse, TunnelRoute, TunnelRouteSchema, TwoFactorRecoveryCodes, TwoFactorRecoveryCodesSchema, UnshareFileError, UnshareFileErrorSpec, UpdateOAuthAppError, UpdateOAuthAppErrorSpec, UpdateRssFeedError, UpdateRssFeedErrorSpec, UserSearchResult, UserSearchResultSchema, UserSubscriptionStatusSchema, ValidateTokenResponse, ValidateTokenResponseSchema, VerifyTOTPError, VerifyTOTPErrorSpec, VerifyTOTPResponse, VerifyTOTPResponseSchema, VoucherLookupError, VoucherLookupErrorSpec, ZipCreateResponse, ZipInfo, ZipStatusSchema, ZipSummary, addManyTransfers, addTransfer, addTransferTrackers, approveFriendRequest, buildAuthLoginUrl, buildFileApiContentUrl, buildFileApiDownloadUrl, buildFileApiMp4DownloadUrl, buildFileHlsStreamUrl, buildFileXspfPlaylistUrl, buildOAuthAppIconUrl, buildOAuthAuthorizeUrl, buildPutioUrl, canWriteFile, cancelTransfers, cancelZip, checkCodeMatch, classifyPaymentChangePlanResponse, cleanTransfers, clearAccount, clearEvents, clearRssFeedLogs, clients, cloneSharedFiles, confirmFastspringOrder, continueFiles, continuePublicShareFiles, continueSearch, continueTransfers, continueTrash, convertFileSelectionToMp4, convertFileToMp4, convertFilesToMp4, copyFile, countTransfers, countWaitingRequests, createAppSpecificPassword, createDownloadLinks, createFamilyInvite, createFileUploadFormData, createFileUploadRequest, createFolder, createFriendInvite, createOAuthApp, createOpenNodeCharge, createPaddleBillingUpdatePaymentMethodTransaction, createPaddleWaitingPayment, createPublicShare, createPutioSdkEffectClient, createPutioSdkPromiseClient, createRssFeed, createZip, decodePutioErrorEnvelope, definePutioOperationErrorSpec, deleteAllAppSpecificPasswords, deleteAppSpecificPassword, deleteConfigKey, deleteEvent, deleteFileExtraction, deleteFileMp4, deleteFileSelection, deleteFiles, deleteOAuthApp, deletePublicShare, deleteRssFeed, deleteTrash, denyFriendRequest, destroyAccount, emptyTrash, encodePathSegment, exchangeOAuthAuthorizationCode, exists, extractFiles, fallbackPutioErrorEnvelope, findNextFile, findNextVideo, forgotPassword, generateTOTP, getAccountInfo, getAccountSettings, getApiContentUrl, getApiDownloadUrl, getApiMp4DownloadUrl, getCode, getConfigKey, getConfigKeyWith, getDownloadLinks, getDownloadUrl, getEventTorrent, getFamilyInvite, getFile, getFileChild, getFriendInvite, getFriendSharedFolder, getGiftCard, getHlsMasterPlaylist, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaddleBillingInvoiceUrl, getPaymentInfo, getPaymentVoucherInfo, getPodcastLinks, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getTransferTorrent, getVoucher, getXspfPlaylistUrl, getZip, grants, isPutioApiError, isPutioAuthError, isPutioErrorEnvelope, isPutioOperationError, isPutioRateLimitError, joinFamily, linkDevice, listAccountConfirmations, listAccountSubtitleLanguages, listActiveMp4Conversions, listAppSpecificPasswords, listEvents, listFamilyInvites, listFamilyMembers, listFileExtractions, listFileSubtitles, listFriendInvites, listFriends, listPaymentHistory, listPaymentInvites, listPaymentOptions, listPaymentPlans, listPublicShareFiles, listPublicShares, listRssFeedItems, listRssFeeds, listSentRequests, listSharedFiles, listTransfers, listTrash, listTunnelRoutes, listWaitingRequests, listZips, login, logout, makePutioFetchClient, makePutioFetchLayer, makePutioSdkEffectClientLayer, makePutioSdkLiveClientLayer, mapConfigurationError, mapDecodeErrorToValidationError, mapTransportError, moveFileSelection, moveFiles, normalizePutioSdkOptions, parseErrorBody, pauseRssFeed, previewPaymentChangePlan, putMp4ToMyFiles, putioSdkLayer, putioSdkLiveLayer, queryFiles, queryOAuthApps, readConfig, readConfigWith, reannounceTransfer, redeemPaymentVoucher, regenerateOAuthAppToken, regenerateRecoveryCodes, register, removeFamilyMember, removeFriend, removeRateLimitBan, removeTransfers, renameFile, reportPayments, requestArrayBuffer, requestJson, requestText, requestVoid, resetFileSortSettings, resetPassword, resetStartFrom, responseRateLimitHeaders, restoreTrash, resumeRssFeed, retryAllRssFeedItems, retryRssFeedItem, retryTransfer, revokeAllClients, revokeApp, revokeClient, saveAccountSettings, searchFiles, searchFriends, selectJsonField, selectJsonFields, sendFriendRequest, sendIftttEvent, setConfigKey, setFileSort, setFilesWatchStatus, setOAuthAppIcon, setStartFrom, shareFiles, stopPaymentSubscription, stopTransferRecording, submitPaymentChangePlan, toPutioResponseError, touchFiles, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as PutioOperationError, B as isPutioOperationError, C as PositiveIntegerSchema, D as PutioAuthError, E as PutioApiError, F as definePutioOperationErrorSpec, G as parseErrorBody, H as mapConfigurationError, I as fallbackPutioErrorEnvelope, J as withOperationErrors, K as responseRateLimitHeaders, L as isPutioApiError, M as PutioTransportError, N as PutioValidationError, O as PutioConfigurationError, P as decodePutioErrorEnvelope, R as isPutioAuthError, S as NonEmptyStringSchema, T as decodeAndRun, U as mapDecodeErrorToValidationError, V as isPutioRateLimitError, W as mapTransportError, _ as selectJsonField, a as PutioSdkConfig, b as DEFAULT_PUTIO_UPLOAD_BASE_URL, c as makePutioFetchClient, d as putioSdkLayer, f as putioSdkLiveLayer, g as requestVoid, h as requestText, i as PutioHttpClient, j as PutioRateLimitError, k as PutioErrorEnvelopeSchema, l as makePutioFetchLayer, m as requestJson, n as toCursorSelectionForm, o as buildPutioUrl, p as requestArrayBuffer, q as toPutioResponseError, r as OkResponseSchema, s as encodePathSegment, t as joinCsv, u as normalizePutioSdkOptions, v as selectJsonFields, w as cursorSelectionSchema, x as DEFAULT_PUTIO_WEB_APP_URL, y as DEFAULT_PUTIO_API_BASE_URL, z as isPutioErrorEnvelope } from "./forms-
|
|
1
|
+
import { A as PutioOperationError, B as isPutioOperationError, C as PositiveIntegerSchema, D as PutioAuthError, E as PutioApiError, F as definePutioOperationErrorSpec, G as parseErrorBody, H as mapConfigurationError, I as fallbackPutioErrorEnvelope, J as withOperationErrors, K as responseRateLimitHeaders, L as isPutioApiError, M as PutioTransportError, N as PutioValidationError, O as PutioConfigurationError, P as decodePutioErrorEnvelope, R as isPutioAuthError, S as NonEmptyStringSchema, T as decodeAndRun, U as mapDecodeErrorToValidationError, V as isPutioRateLimitError, W as mapTransportError, _ as selectJsonField, a as PutioSdkConfig, b as DEFAULT_PUTIO_UPLOAD_BASE_URL, c as makePutioFetchClient, d as putioSdkLayer, f as putioSdkLiveLayer, g as requestVoid, h as requestText, i as PutioHttpClient, j as PutioRateLimitError, k as PutioErrorEnvelopeSchema, l as makePutioFetchLayer, m as requestJson, n as toCursorSelectionForm, o as buildPutioUrl, p as requestArrayBuffer, q as toPutioResponseError, r as OkResponseSchema, s as encodePathSegment, t as joinCsv, u as normalizePutioSdkOptions, v as selectJsonFields, w as cursorSelectionSchema, x as DEFAULT_PUTIO_WEB_APP_URL, y as DEFAULT_PUTIO_API_BASE_URL, z as isPutioErrorEnvelope } from "./forms-HC4fghtO.js";
|
|
2
2
|
import { Context, Effect, Layer, ManagedRuntime, Predicate, Schema, SchemaIssue, SchemaParser, Struct } from "effect";
|
|
3
3
|
// src/domains/account.ts
|
|
4
4
|
const RequestedFlag$1 = Schema.Literal(1);
|
|
@@ -1354,7 +1354,7 @@ const DownloadLinksStatusSchema = Schema.Literals([
|
|
|
1354
1354
|
"DONE",
|
|
1355
1355
|
"ERROR"
|
|
1356
1356
|
]);
|
|
1357
|
-
const DownloadLinksCreateInputSchema = cursorSelectionSchema(
|
|
1357
|
+
const DownloadLinksCreateInputSchema = cursorSelectionSchema({});
|
|
1358
1358
|
const DownloadLinksPayloadSchema = Schema.Struct({
|
|
1359
1359
|
download_links: Schema.Array(Schema.String),
|
|
1360
1360
|
media_links: Schema.Array(Schema.String),
|
|
@@ -2128,8 +2128,8 @@ const FilesMoveSelectionInputSchema = Schema.Struct({
|
|
|
2128
2128
|
parentId: NonNegativeFileIdSchema,
|
|
2129
2129
|
selection: FilesBulkSelectionSchema
|
|
2130
2130
|
});
|
|
2131
|
-
const FilesWatchStatusInputSchema = cursorSelectionSchema(
|
|
2132
|
-
const FilesExtractInputSchema = cursorSelectionSchema(
|
|
2131
|
+
const FilesWatchStatusInputSchema = cursorSelectionSchema({ watched: Schema.Boolean });
|
|
2132
|
+
const FilesExtractInputSchema = cursorSelectionSchema({ password: Schema.optional(NonEmptyStringSchema) });
|
|
2133
2133
|
const FileUploadInputSchema = Schema.Struct({
|
|
2134
2134
|
file: Schema.instanceOf(Blob),
|
|
2135
2135
|
fileName: Schema.optional(NonEmptyStringSchema),
|