@putdotio/sdk 11.1.1 → 11.1.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/README.md +0 -1
- package/dist/{forms-69GUrpXE.js → forms-bd8oHsdi.js} +15 -16
- package/dist/forms-bd8oHsdi.js.map +1 -0
- package/dist/{index-93hWYV6K.d.ts → index-TmCCLdXz.d.ts} +8 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/utilities.d.ts +1 -1
- package/dist/utilities.js +4 -4
- package/dist/utilities.js.map +1 -1
- package/package.json +3 -6
- package/dist/forms-69GUrpXE.js.map +0 -1
package/README.md
CHANGED
|
@@ -440,7 +440,6 @@ export const useFiles = (parentId: number) =>
|
|
|
440
440
|
- [Migrating to v11](./docs/MIGRATING_V11.md) for the removed Coinbase and file-search contracts
|
|
441
441
|
- [Architecture](./docs/ARCHITECTURE.md) for package shape and boundaries
|
|
442
442
|
- [Testing](./docs/TESTING.md) for local and live verification
|
|
443
|
-
- [Readiness](./docs/READINESS.md) for domain readiness
|
|
444
443
|
- [Distribution](./docs/DISTRIBUTION.md) for release automation
|
|
445
444
|
- [Security](./SECURITY.md) for private-first vulnerability disclosure
|
|
446
445
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Context, Data, Effect, Layer, Schema } from "effect";
|
|
1
|
+
import { Context, Data, Effect, Layer, Predicate, Schema } from "effect";
|
|
2
2
|
//#region src/core/errors.ts
|
|
3
3
|
const PutioErrorEnvelopeSchema = Schema.Struct({
|
|
4
4
|
status: Schema.optional(Schema.String),
|
|
@@ -21,14 +21,13 @@ const isKnownContractMatch = (contract, error) => {
|
|
|
21
21
|
return false;
|
|
22
22
|
};
|
|
23
23
|
const isMatchableApiError = (error) => error._tag === "PutioApiError" || error._tag === "PutioAuthError";
|
|
24
|
-
const isRecord = (value) => typeof value === "object" && value !== null;
|
|
25
24
|
const hasOptionalString = (record, key) => !(key in record) || record[key] === void 0 || typeof record[key] === "string";
|
|
26
25
|
const hasOptionalInteger = (record, key) => !(key in record) || record[key] === void 0 || typeof record[key] === "number" && Number.isInteger(record[key]);
|
|
27
26
|
const hasOptionalNullableString = (record, key) => !(key in record) || record[key] === void 0 || record[key] === null || typeof record[key] === "string";
|
|
28
|
-
const hasOptionalRecord = (record, key) => !(key in record) || record[key] === void 0 ||
|
|
29
|
-
const isKnownOperationErrorContract = (value) =>
|
|
27
|
+
const hasOptionalRecord = (record, key) => !(key in record) || record[key] === void 0 || Predicate.isObject(record[key]);
|
|
28
|
+
const isKnownOperationErrorContract = (value) => Predicate.isObject(value) && (typeof value.errorType === "string" || typeof value.statusCode === "number") && hasOptionalString(value, "errorType") && hasOptionalInteger(value, "statusCode");
|
|
30
29
|
const isOperationReason = (value) => {
|
|
31
|
-
if (!
|
|
30
|
+
if (!Predicate.isObject(value)) return false;
|
|
32
31
|
if (value.kind === "error_type") return typeof value.errorType === "string";
|
|
33
32
|
if (value.kind === "status_code") return typeof value.statusCode === "number";
|
|
34
33
|
return false;
|
|
@@ -50,9 +49,9 @@ const PutioResponseErrorFields = {
|
|
|
50
49
|
status: Schema.Int,
|
|
51
50
|
body: PutioErrorEnvelopeSchema
|
|
52
51
|
};
|
|
53
|
-
var PutioApiError = class extends Schema.
|
|
54
|
-
var PutioAuthError = class extends Schema.
|
|
55
|
-
var PutioRateLimitError = class extends Schema.
|
|
52
|
+
var PutioApiError = class extends Schema.TaggedError()("PutioApiError", { ...PutioResponseErrorFields }) {};
|
|
53
|
+
var PutioAuthError = class extends Schema.TaggedError()("PutioAuthError", { ...PutioResponseErrorFields }) {};
|
|
54
|
+
var PutioRateLimitError = class extends Schema.TaggedError()("PutioRateLimitError", {
|
|
56
55
|
...PutioResponseErrorFields,
|
|
57
56
|
action: Schema.optional(Schema.String),
|
|
58
57
|
id: Schema.optional(Schema.String),
|
|
@@ -64,12 +63,12 @@ var PutioRateLimitError = class extends Schema.TaggedErrorClass()("PutioRateLimi
|
|
|
64
63
|
var PutioOperationError = class extends Data.TaggedError("PutioOperationError") {};
|
|
65
64
|
const definePutioOperationErrorSpec = (spec) => spec;
|
|
66
65
|
const decodePutioErrorEnvelope = Schema.decodeUnknownEffect(PutioErrorEnvelopeSchema);
|
|
67
|
-
const isPutioErrorEnvelope = (value) =>
|
|
68
|
-
const hasStatusAndBody = (value, tag) =>
|
|
66
|
+
const isPutioErrorEnvelope = (value) => Predicate.isObject(value) && hasOptionalString(value, "status") && hasOptionalString(value, "error") && hasOptionalString(value, "error_message") && hasOptionalString(value, "error_type") && hasOptionalString(value, "error_uri") && hasOptionalNullableString(value, "error_id") && hasOptionalRecord(value, "extra") && hasOptionalInteger(value, "status_code");
|
|
67
|
+
const hasStatusAndBody = (value, tag) => Predicate.isObject(value) && value._tag === tag && typeof value.status === "number" && isPutioErrorEnvelope(value.body);
|
|
69
68
|
const isPutioApiError = (value) => hasStatusAndBody(value, "PutioApiError");
|
|
70
69
|
const isPutioAuthError = (value) => hasStatusAndBody(value, "PutioAuthError");
|
|
71
|
-
const isPutioRateLimitError = (value) => hasStatusAndBody(value, "PutioRateLimitError") &&
|
|
72
|
-
const isPutioOperationError = (value) =>
|
|
70
|
+
const isPutioRateLimitError = (value) => hasStatusAndBody(value, "PutioRateLimitError") && Predicate.isObject(value) && hasOptionalString(value, "action") && hasOptionalString(value, "id") && hasOptionalString(value, "limit") && hasOptionalString(value, "remaining") && hasOptionalString(value, "retryAfter") && hasOptionalString(value, "reset");
|
|
71
|
+
const isPutioOperationError = (value) => Predicate.isObject(value) && value._tag === "PutioOperationError" && isPutioErrorEnvelope(value.body) && isKnownOperationErrorContract(value.contract) && typeof value.domain === "string" && typeof value.operation === "string" && isOperationReason(value.reason) && typeof value.status === "number";
|
|
73
72
|
const fallbackPutioErrorEnvelope = (status) => ({
|
|
74
73
|
error_message: `put.io API request failed with status ${status}`,
|
|
75
74
|
status_code: status
|
|
@@ -180,8 +179,8 @@ const buildPutioUrl = (baseUrl, path, query) => {
|
|
|
180
179
|
const mapUrlBuildError = (cause) => cause instanceof PutioConfigurationError ? cause : mapConfigurationError(cause);
|
|
181
180
|
const OkResponseSchema = Schema.Struct({ status: Schema.Literal("OK") });
|
|
182
181
|
const isSuccessStatus = (status) => status >= 200 && status < 300;
|
|
183
|
-
const decodeSuccessJson = (schema, response) => response.json.pipe(Effect.flatMap(Schema.decodeUnknownEffect(schema))
|
|
184
|
-
const decodeFailure = (response, headers) => response.json.pipe(Effect.flatMap((json) => parseErrorBody(response.status, json)), Effect.
|
|
182
|
+
const decodeSuccessJson = (schema, response) => response.json.pipe(Effect.flatMap((json) => Schema.decodeUnknownEffect(schema)(json).pipe(Effect.mapError(mapDecodeErrorToValidationError))));
|
|
183
|
+
const decodeFailure = (response, headers) => response.json.pipe(Effect.flatMap((json) => parseErrorBody(response.status, json)), Effect.map((body) => makeResponseError(response.status, headers, body)));
|
|
185
184
|
const toBasicAuthorization = (username, password) => {
|
|
186
185
|
if (typeof globalThis.btoa === "function") return `Basic ${globalThis.btoa(`${username}:${password}`)}`;
|
|
187
186
|
throw mapConfigurationError("This runtime does not provide btoa(), so Basic auth cannot be encoded safely");
|
|
@@ -244,7 +243,7 @@ const executeRequest = (options) => Effect.gen(function* () {
|
|
|
244
243
|
const requestJson = (schema, options) => executeRequest(options).pipe(Effect.flatMap((response) => isSuccessStatus(response.status) ? decodeSuccessJson(schema, response) : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail))));
|
|
245
244
|
const selectJsonField = (field) => (effect) => effect.pipe(Effect.map((value) => value[field]));
|
|
246
245
|
const selectJsonFields = (...fields) => (effect) => effect.pipe(Effect.map((value) => Object.fromEntries(fields.map((field) => [field, value[field]]))));
|
|
247
|
-
const requestArrayBuffer = (options) => executeRequest(options).pipe(Effect.flatMap((response) => isSuccessStatus(response.status) ? response.arrayBuffer.pipe(Effect.
|
|
246
|
+
const requestArrayBuffer = (options) => executeRequest(options).pipe(Effect.flatMap((response) => isSuccessStatus(response.status) ? response.arrayBuffer.pipe(Effect.map((buffer) => new Uint8Array(buffer))) : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail))));
|
|
248
247
|
const requestVoid = (options) => executeRequest(options).pipe(Effect.flatMap((response) => isSuccessStatus(response.status) ? Effect.void : decodeFailure(response, response.headers).pipe(Effect.flatMap(Effect.fail))));
|
|
249
248
|
//#endregion
|
|
250
249
|
//#region src/core/forms.ts
|
|
@@ -260,4 +259,4 @@ const toCursorSelectionForm = (selection, idsFieldName) => {
|
|
|
260
259
|
//#endregion
|
|
261
260
|
export { definePutioOperationErrorSpec as A, mapTransportError as B, PutioConfigurationError as C, PutioTransportError as D, PutioRateLimitError as E, isPutioOperationError as F, responseRateLimitHeaders as H, isPutioRateLimitError as I, makeResponseError as L, isPutioApiError as M, isPutioAuthError as N, PutioValidationError as O, isPutioErrorEnvelope as P, mapConfigurationError as R, PutioAuthError as S, PutioOperationError as T, withOperationErrors as U, parseErrorBody as V, selectJsonFields as _, PutioSdkConfig as a, DEFAULT_PUTIO_WEB_APP_URL as b, makePutioFetchClient as c, makePutioSdkLayer as d, makePutioSdkLiveLayer as f, selectJsonField as g, requestVoid as h, PutioHttpClient as i, fallbackPutioErrorEnvelope as j, decodePutioErrorEnvelope as k, makePutioFetchLayer as l, requestJson as m, toCursorSelectionForm as n, buildPutioUrl as o, requestArrayBuffer as p, OkResponseSchema as r, encodePathSegment as s, joinCsv as t, makePutioSdkConfig as u, DEFAULT_PUTIO_API_BASE_URL as v, PutioErrorEnvelopeSchema as w, PutioApiError as x, DEFAULT_PUTIO_UPLOAD_BASE_URL as y, mapDecodeErrorToValidationError as z };
|
|
262
261
|
|
|
263
|
-
//# sourceMappingURL=forms-
|
|
262
|
+
//# sourceMappingURL=forms-bd8oHsdi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forms-bd8oHsdi.js","names":[],"sources":["../src/core/errors.ts","../src/core/defaults.ts","../src/core/http.ts","../src/core/forms.ts"],"sourcesContent":["import { Data, Effect, Predicate, Schema } from \"effect\";\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 OperationContractOf<TSpec extends PutioOperationErrorSpec> = Extract<\n TSpec[\"knownErrors\"][number],\n PutioKnownOperationErrorContract\n>;\n\ntype OperationContractOfParts<\n TDomain extends string,\n TOperation extends string,\n TContracts extends ReadonlyArray<PutioKnownErrorContract>,\n> = OperationContractOf<PutioOperationErrorSpec<TDomain, TOperation, TContracts>>;\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 Extract<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 error._tag === \"PutioApiError\" || error._tag === \"PutioAuthError\";\n\nconst hasOptionalString = (record: Readonly<Record<string, unknown>>, key: string): boolean =>\n !(key in record) || record[key] === undefined || typeof record[key] === \"string\";\n\nconst hasOptionalInteger = (record: Readonly<Record<string, unknown>>, key: string): boolean =>\n !(key in record) ||\n record[key] === undefined ||\n (typeof record[key] === \"number\" && Number.isInteger(record[key]));\n\nconst hasOptionalNullableString = (\n record: Readonly<Record<string, unknown>>,\n key: string,\n): boolean =>\n !(key in record) ||\n record[key] === undefined ||\n record[key] === null ||\n typeof record[key] === \"string\";\n\nconst hasOptionalRecord = (record: Readonly<Record<string, unknown>>, key: string): boolean =>\n !(key in record) || record[key] === undefined || Predicate.isObject(record[key]);\n\nconst isKnownOperationErrorContract = (value: unknown): value is PutioKnownOperationErrorContract =>\n Predicate.isObject(value) &&\n (typeof value.errorType === \"string\" || typeof value.statusCode === \"number\") &&\n hasOptionalString(value, \"errorType\") &&\n hasOptionalInteger(value, \"statusCode\");\n\nconst isOperationReason = (\n value: unknown,\n): value is PutioOperationErrorReason<PutioKnownOperationErrorContract> => {\n if (!Predicate.isObject(value)) {\n return false;\n }\n\n if (value.kind === \"error_type\") {\n return typeof value.errorType === \"string\";\n }\n\n if (value.kind === \"status_code\") {\n return typeof value.statusCode === \"number\";\n }\n\n return false;\n};\n\nfunction toOperationReason<TContract extends { readonly errorType: string }>(\n contract: TContract,\n): PutioOperationErrorReason<TContract>;\nfunction toOperationReason<TContract extends { readonly statusCode: number }>(\n contract: TContract,\n): PutioOperationErrorReason<TContract>;\nfunction 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 PutioResponseErrorFields = {\n status: Schema.Int,\n body: PutioErrorEnvelopeSchema,\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 {\n ...PutioResponseErrorFields,\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) {}\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 =\n | PutioConfigurationError\n | PutioTransportError\n | PutioValidationError\n | PutioApiError\n | PutioAuthError\n | PutioRateLimitError;\n\nexport type PutioOperationErrorFromSpec<TSpec extends PutioOperationErrorSpec> =\n PutioOperationError<TSpec[\"domain\"], TSpec[\"operation\"], OperationContractOf<TSpec>>;\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\nexport const isPutioErrorEnvelope = (value: unknown): value is PutioErrorEnvelope =>\n Predicate.isObject(value) &&\n hasOptionalString(value, \"status\") &&\n hasOptionalString(value, \"error\") &&\n hasOptionalString(value, \"error_message\") &&\n hasOptionalString(value, \"error_type\") &&\n hasOptionalString(value, \"error_uri\") &&\n hasOptionalNullableString(value, \"error_id\") &&\n hasOptionalRecord(value, \"extra\") &&\n hasOptionalInteger(value, \"status_code\");\n\nconst hasStatusAndBody = <TTag extends string>(\n value: unknown,\n tag: TTag,\n): value is {\n readonly _tag: TTag;\n readonly body: PutioErrorEnvelope;\n readonly status: number;\n} =>\n Predicate.isObject(value) &&\n value._tag === tag &&\n typeof value.status === \"number\" &&\n isPutioErrorEnvelope(value.body);\n\nexport const isPutioApiError = (value: unknown): value is PutioApiError =>\n hasStatusAndBody(value, \"PutioApiError\");\n\nexport const isPutioAuthError = (value: unknown): value is PutioAuthError =>\n hasStatusAndBody(value, \"PutioAuthError\");\n\nexport const isPutioRateLimitError = (value: unknown): value is PutioRateLimitError =>\n hasStatusAndBody(value, \"PutioRateLimitError\") &&\n Predicate.isObject(value) &&\n hasOptionalString(value, \"action\") &&\n hasOptionalString(value, \"id\") &&\n hasOptionalString(value, \"limit\") &&\n hasOptionalString(value, \"remaining\") &&\n hasOptionalString(value, \"retryAfter\") &&\n hasOptionalString(value, \"reset\");\n\nexport const isPutioOperationError = (value: unknown): value is AnyPutioOperationError =>\n Predicate.isObject(value) &&\n value._tag === \"PutioOperationError\" &&\n isPutioErrorEnvelope(value.body) &&\n isKnownOperationErrorContract(value.contract) &&\n typeof value.domain === \"string\" &&\n typeof value.operation === \"string\" &&\n isOperationReason(value.reason) &&\n typeof value.status === \"number\";\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 makeResponseError = (\n status: number,\n headers: Headers,\n body: PutioErrorEnvelope,\n): PutioSdkError => {\n if (status === 429) {\n return new PutioRateLimitError({\n status,\n body,\n ...responseRateLimitHeaders(headers),\n });\n }\n\n if (status === 401 || status === 403) {\n return new PutioAuthError({ status, body });\n }\n\n return new PutioApiError({ status, body });\n};\n\nexport const parseErrorBody = (status: number, json: unknown) =>\n decodePutioErrorEnvelope(json).pipe(\n Effect.orElseSucceed(() => fallbackPutioErrorEnvelope(status)),\n );\n\nexport function withOperationErrors<\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\n | PutioOperationError<\n TDomain,\n TOperation,\n OperationContractOfParts<TDomain, TOperation, TContracts>\n >,\n R\n>;\nexport function withOperationErrors<\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\n | PutioOperationError<\n TDomain,\n TOperation,\n OperationContractOfParts<TDomain, TOperation, TContracts>\n >,\n R\n>;\nexport function withOperationErrors<\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 effectOrSpec: Effect.Effect<A, E, R> | PutioOperationErrorSpec<TDomain, TOperation, TContracts>,\n maybeSpec?: PutioOperationErrorSpec<TDomain, TOperation, TContracts>,\n):\n | Effect.Effect<\n A,\n | E\n | PutioOperationError<\n TDomain,\n TOperation,\n OperationContractOfParts<TDomain, TOperation, TContracts>\n >,\n R\n >\n | (<A2, E2 extends PutioSdkError, R2>(\n effect: Effect.Effect<A2, E2, R2>,\n ) => Effect.Effect<\n A2,\n | E2\n | PutioOperationError<\n TDomain,\n TOperation,\n OperationContractOfParts<TDomain, TOperation, TContracts>\n >,\n R2\n >) {\n if (maybeSpec === undefined) {\n const spec = effectOrSpec as PutioOperationErrorSpec<TDomain, TOperation, TContracts>;\n\n return <A2, E2 extends PutioSdkError, R2>(effect: Effect.Effect<A2, E2, R2>) =>\n withOperationErrors(effect, spec);\n }\n\n const effect = effectOrSpec as Effect.Effect<A, E, R>;\n const spec = maybeSpec;\n\n return effect.pipe(\n Effect.mapError((error) => {\n if (!isMatchableApiError(error)) {\n return error;\n }\n\n const contract = spec.knownErrors.find((candidate) => isKnownContractMatch(candidate, error));\n\n if (!contract) {\n return error;\n }\n\n return new PutioOperationError({\n body: error.body as PutioTypedErrorEnvelope<\n OperationContractOfParts<TDomain, TOperation, TContracts>\n >,\n contract,\n domain: spec.domain,\n operation: spec.operation,\n reason: toOperationReason(contract),\n status: error.status,\n });\n }),\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, Schema } 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 makeResponseError,\n mapConfigurationError,\n mapDecodeErrorToValidationError,\n mapTransportError,\n parseErrorBody,\n PutioConfigurationError,\n type PutioSdkError,\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 PutioSdkConfigShape {\n readonly accessToken?: string;\n readonly baseUrl?: string | URL;\n readonly uploadBaseUrl?: string | URL;\n readonly webAppUrl?: string | URL;\n}\n\nexport class PutioSdkConfig extends Context.Service<PutioSdkConfig, PutioSdkConfigShape>()(\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 PutioHttpClientShape {\n readonly execute: (request: PutioHttpRequest) => Effect.Effect<PutioHttpResponse, PutioSdkError>;\n}\n\nexport class PutioHttpClient extends Context.Service<PutioHttpClient, PutioHttpClientShape>()(\n \"PutioHttpClient\",\n) {}\n\nexport type PutioSdkContext = PutioSdkConfig | PutioHttpClient;\n\nexport const makePutioSdkConfig = (config: PutioSdkConfigShape): PutioSdkConfigShape => ({\n accessToken: config.accessToken,\n baseUrl: config.baseUrl ?? DEFAULT_PUTIO_API_BASE_URL,\n uploadBaseUrl: config.uploadBaseUrl ?? DEFAULT_PUTIO_UPLOAD_BASE_URL,\n webAppUrl: config.webAppUrl ?? DEFAULT_PUTIO_WEB_APP_URL,\n});\n\nexport const makePutioSdkLayer = (config: PutioSdkConfigShape) =>\n Layer.succeed(PutioSdkConfig, makePutioSdkConfig(config));\n\nexport const makePutioSdkLiveLayer = (config: PutioSdkConfigShape) =>\n Layer.mergeAll(makePutioSdkLayer(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): PutioHttpClientShape => ({\n execute: (request) =>\n Effect.tryPromise({\n try: async (signal) => {\n const response = await fetchImplementation(request.url, {\n body: request.body,\n headers: request.headers,\n method: request.method,\n signal,\n });\n\n return {\n arrayBuffer: Effect.tryPromise({\n try: () => response.arrayBuffer(),\n catch: mapTransportError,\n }),\n headers: response.headers,\n json: Effect.tryPromise({\n try: () => response.json(),\n catch: mapTransportError,\n }),\n status: response.status,\n };\n },\n catch: mapTransportError,\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: Record<string, unknown> }\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((json) => parseErrorBody(response.status, json)),\n Effect.map((body) => makeResponseError(response.status, headers, body)),\n );\n\nconst toBasicAuthorization = (username: string, password: string) => {\n if (typeof globalThis.btoa === \"function\") {\n return `Basic ${globalThis.btoa(`${username}:${password}`)}`;\n }\n\n throw mapConfigurationError(\n \"This runtime does not provide btoa(), so Basic auth cannot be encoded safely\",\n );\n};\n\nconst resolveAuthorization = (\n config: PutioSdkConfigShape,\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: () => toBasicAuthorization(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: unknown): string => {\n if (value === null || value === undefined) {\n return \"\";\n }\n\n if (typeof value === \"string\") {\n return value;\n }\n\n if (typeof value === \"number\" || typeof value === \"boolean\") {\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 = (url: string, options: PutioRequestOptions, authorization?: string) =>\n Effect.gen(function* () {\n const headers = new Headers(options.headers);\n\n const body = options.body ?? { type: \"none\" as const };\n headers.set(\"accept\", \"application/json\");\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 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 const request = yield* makeRequest(url, options, 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(\n Effect.map(\n (value) =>\n Object.fromEntries(fields.map((field) => [field, value[field as K[number]]])) as Pick<\n A,\n K[number]\n >,\n ),\n );\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 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\nexport const toCursorSelectionForm = <\n TValue extends CsvValue,\n const TIdsFieldName extends string = \"file_ids\",\n>(\n selection: CursorSelectionInput<TValue>,\n idsFieldName?: TIdsFieldName,\n): {\n readonly cursor?: string;\n readonly exclude_ids?: string;\n} & Record<TIdsFieldName, string | undefined> => {\n const resolvedIdsFieldName = (idsFieldName ?? \"file_ids\") as TIdsFieldName;\n\n return {\n cursor: selection.cursor,\n exclude_ids: joinCsv(selection.excludeIds),\n [resolvedIdsFieldName]: joinCsv(selection.ids),\n } as {\n readonly cursor?: string;\n readonly exclude_ids?: string;\n } & Record<TIdsFieldName, string | undefined>;\n};\n"],"mappings":";;AAEA,MAAa,2BAA2B,OAAO,OAAO;CACpD,QAAQ,OAAO,SAAS,OAAO,MAAM;CACrC,OAAO,OAAO,SAAS,OAAO,MAAM;CACpC,eAAe,OAAO,SAAS,OAAO,MAAM;CAC5C,YAAY,OAAO,SAAS,OAAO,MAAM;CACzC,WAAW,OAAO,SAAS,OAAO,MAAM;CACxC,UAAU,OAAO,SAAS,OAAO,OAAO,OAAO,MAAM,CAAC;CACtD,OAAO,OAAO,SAAS,OAAO,OAAO,OAAO,QAAQ,OAAO,OAAO,CAAC;CACnE,aAAa,OAAO,SAAS,OAAO,GAAG;CACvC,SAAS,OAAO,SAAS,OAAO,OAAO;AACzC,CAAC;AAqFD,MAAM,wBACJ,UACA,UACqE;CACrE,IAAI,SAAS,eAAe,KAAA,KAAa,CAAC,OAAO,GAAG,SAAS,UAAU,CAAC,CAAC,MAAM,IAAI,GACjF,OAAO;CAGT,IAAI,SAAS,cAAc,KAAA,GAAW;EACpC,IAAI,MAAM,KAAK,eAAe,SAAS,WACrC,OAAO;EAGT,OAAO,SAAS,eAAe,KAAA,KAAa,MAAM,WAAW,SAAS;CACxE;CAEA,IAAI,SAAS,eAAe,KAAA,GAC1B,OAAO,MAAM,WAAW,SAAS;CAGnC,OAAO;AACT;AAEA,MAAM,uBAAuB,UAC3B,MAAM,SAAS,mBAAmB,MAAM,SAAS;AAEnD,MAAM,qBAAqB,QAA2C,QACpE,EAAE,OAAO,WAAW,OAAO,SAAS,KAAA,KAAa,OAAO,OAAO,SAAS;AAE1E,MAAM,sBAAsB,QAA2C,QACrE,EAAE,OAAO,WACT,OAAO,SAAS,KAAA,KACf,OAAO,OAAO,SAAS,YAAY,OAAO,UAAU,OAAO,IAAI;AAElE,MAAM,6BACJ,QACA,QAEA,EAAE,OAAO,WACT,OAAO,SAAS,KAAA,KAChB,OAAO,SAAS,QAChB,OAAO,OAAO,SAAS;AAEzB,MAAM,qBAAqB,QAA2C,QACpE,EAAE,OAAO,WAAW,OAAO,SAAS,KAAA,KAAa,UAAU,SAAS,OAAO,IAAI;AAEjF,MAAM,iCAAiC,UACrC,UAAU,SAAS,KAAK,MACvB,OAAO,MAAM,cAAc,YAAY,OAAO,MAAM,eAAe,aACpE,kBAAkB,OAAO,WAAW,KACpC,mBAAmB,OAAO,YAAY;AAExC,MAAM,qBACJ,UACyE;CACzE,IAAI,CAAC,UAAU,SAAS,KAAK,GAC3B,OAAO;CAGT,IAAI,MAAM,SAAS,cACjB,OAAO,OAAO,MAAM,cAAc;CAGpC,IAAI,MAAM,SAAS,eACjB,OAAO,OAAO,MAAM,eAAe;CAGrC,OAAO;AACT;AAQA,SAAS,kBACP,UAC6D;CAC7D,IAAI,SAAS,cAAc,KAAA,GACzB,OAAO;EACL,MAAM;EACN,WAAW,SAAS;CACtB;CAGF,OAAO;EACL,MAAM;EACN,YAAY,SAAS;CACvB;AACF;AAEA,IAAa,sBAAb,cAAyC,KAAK,YAAY,qBAAqB,CAAC,CAE7E,CAAC;AAEJ,IAAa,0BAAb,cAA6C,KAAK,YAAY,yBAAyB,CAAC,CAErF,CAAC;AAEJ,IAAa,uBAAb,cAA0C,KAAK,YAAY,sBAAsB,CAAC,CAE/E,CAAC;AAEJ,MAAM,2BAA2B;CAC/B,QAAQ,OAAO;CACf,MAAM;AACR;AAEA,IAAa,gBAAb,cAAmC,OAAO,YAA2B,CAAC,CAAC,iBAAiB,EACtF,GAAG,yBACL,CAAC,CAAC,CAAC,CAAC;AAEJ,IAAa,iBAAb,cAAoC,OAAO,YAA4B,CAAC,CAAC,kBAAkB,EACzF,GAAG,yBACL,CAAC,CAAC,CAAC,CAAC;AAEJ,IAAa,sBAAb,cAAyC,OAAO,YAAiC,CAAC,CAChF,uBACA;CACE,GAAG;CACH,QAAQ,OAAO,SAAS,OAAO,MAAM;CACrC,IAAI,OAAO,SAAS,OAAO,MAAM;CACjC,OAAO,OAAO,SAAS,OAAO,MAAM;CACpC,WAAW,OAAO,SAAS,OAAO,MAAM;CACxC,YAAY,OAAO,SAAS,OAAO,MAAM;CACzC,OAAO,OAAO,SAAS,OAAO,MAAM;AACtC,CACF,CAAC,CAAC,CAAC;AAEH,IAAa,sBAAb,cAIU,KAAK,YAAY,qBAAqB,CAAC,CAO9C,CAAC;AA+BJ,MAAa,iCAKX,SACG;AAEL,MAAa,2BAA2B,OAAO,oBAAoB,wBAAwB;AAE3F,MAAa,wBAAwB,UACnC,UAAU,SAAS,KAAK,KACxB,kBAAkB,OAAO,QAAQ,KACjC,kBAAkB,OAAO,OAAO,KAChC,kBAAkB,OAAO,eAAe,KACxC,kBAAkB,OAAO,YAAY,KACrC,kBAAkB,OAAO,WAAW,KACpC,0BAA0B,OAAO,UAAU,KAC3C,kBAAkB,OAAO,OAAO,KAChC,mBAAmB,OAAO,aAAa;AAEzC,MAAM,oBACJ,OACA,QAMA,UAAU,SAAS,KAAK,KACxB,MAAM,SAAS,OACf,OAAO,MAAM,WAAW,YACxB,qBAAqB,MAAM,IAAI;AAEjC,MAAa,mBAAmB,UAC9B,iBAAiB,OAAO,eAAe;AAEzC,MAAa,oBAAoB,UAC/B,iBAAiB,OAAO,gBAAgB;AAE1C,MAAa,yBAAyB,UACpC,iBAAiB,OAAO,qBAAqB,KAC7C,UAAU,SAAS,KAAK,KACxB,kBAAkB,OAAO,QAAQ,KACjC,kBAAkB,OAAO,IAAI,KAC7B,kBAAkB,OAAO,OAAO,KAChC,kBAAkB,OAAO,WAAW,KACpC,kBAAkB,OAAO,YAAY,KACrC,kBAAkB,OAAO,OAAO;AAElC,MAAa,yBAAyB,UACpC,UAAU,SAAS,KAAK,KACxB,MAAM,SAAS,yBACf,qBAAqB,MAAM,IAAI,KAC/B,8BAA8B,MAAM,QAAQ,KAC5C,OAAO,MAAM,WAAW,YACxB,OAAO,MAAM,cAAc,YAC3B,kBAAkB,MAAM,MAAM,KAC9B,OAAO,MAAM,WAAW;AAE1B,MAAa,8BAA8B,YAAwC;CACjF,eAAe,yCAAyC;CACxD,aAAa;AACf;AAEA,MAAM,aAAa,SAAkB,SACnC,QAAQ,IAAI,IAAI,KAAK,KAAA;AAEvB,MAAa,4BAA4B,aAAsB;CAC7D,QAAQ,UAAU,SAAS,oBAAoB;CAC/C,IAAI,UAAU,SAAS,gBAAgB;CACvC,OAAO,UAAU,SAAS,mBAAmB;CAC7C,WAAW,UAAU,SAAS,uBAAuB;CACrD,YAAY,UAAU,SAAS,aAAa;CAC5C,OAAO,UAAU,SAAS,mBAAmB;AAC/C;AAEA,MAAa,mCAAmC,UAC9C,IAAI,qBAAqB,EAAE,MAAM,CAAC;AAEpC,MAAa,yBAAyB,UAAmB,IAAI,wBAAwB,EAAE,MAAM,CAAC;AAE9F,MAAa,qBAAqB,UAAmB,IAAI,oBAAoB,EAAE,MAAM,CAAC;AAEtF,MAAa,qBACX,QACA,SACA,SACkB;CAClB,IAAI,WAAW,KACb,OAAO,IAAI,oBAAoB;EAC7B;EACA;EACA,GAAG,yBAAyB,OAAO;CACrC,CAAC;CAGH,IAAI,WAAW,OAAO,WAAW,KAC/B,OAAO,IAAI,eAAe;EAAE;EAAQ;CAAK,CAAC;CAG5C,OAAO,IAAI,cAAc;EAAE;EAAQ;CAAK,CAAC;AAC3C;AAEA,MAAa,kBAAkB,QAAgB,SAC7C,yBAAyB,IAAI,CAAC,CAAC,KAC7B,OAAO,oBAAoB,2BAA2B,MAAM,CAAC,CAC/D;AAwCF,SAAgB,oBAQd,cACA,WAuBK;CACL,IAAI,cAAc,KAAA,GAAW;EAC3B,MAAM,OAAO;EAEb,QAA0C,WACxC,oBAAoB,QAAQ,IAAI;CACpC;CAEA,MAAM,SAAS;CACf,MAAM,OAAO;CAEb,OAAO,OAAO,KACZ,OAAO,UAAU,UAAU;EACzB,IAAI,CAAC,oBAAoB,KAAK,GAC5B,OAAO;EAGT,MAAM,WAAW,KAAK,YAAY,MAAM,cAAc,qBAAqB,WAAW,KAAK,CAAC;EAE5F,IAAI,CAAC,UACH,OAAO;EAGT,OAAO,IAAI,oBAAoB;GAC7B,MAAM,MAAM;GAGZ;GACA,QAAQ,KAAK;GACb,WAAW,KAAK;GAChB,QAAQ,kBAAkB,QAAQ;GAClC,QAAQ,MAAM;EAChB,CAAC;CACH,CAAC,CACH;AACF;;;ACneA,MAAa,6BAA6B;AAC1C,MAAa,gCAAgC;AAC7C,MAAa,4BAA4B;;;AC4BzC,IAAa,iBAAb,cAAoC,QAAQ,QAA6C,CAAC,CACxF,gBACF,CAAC,CAAC,CAAC;AAoBH,IAAa,kBAAb,cAAqC,QAAQ,QAA+C,CAAC,CAC3F,iBACF,CAAC,CAAC,CAAC;AAIH,MAAa,sBAAsB,YAAsD;CACvF,aAAa,OAAO;CACpB,SAAS,OAAO,WAAA;CAChB,eAAe,OAAO,iBAAA;CACtB,WAAW,OAAO,aAAA;AACpB;AAEA,MAAa,qBAAqB,WAChC,MAAM,QAAQ,gBAAgB,mBAAmB,MAAM,CAAC;AAE1D,MAAa,yBAAyB,WACpC,MAAM,SAAS,kBAAkB,MAAM,GAAG,oBAAoB,CAAC;AAEjE,MAAa,uBACX,sBAA+C,WAAW,UACvD,MAAM,QAAQ,iBAAiB,qBAAqB,mBAAmB,CAAC;AAE7E,MAAa,wBACX,sBAA+C,WAAW,WAChC,EAC1B,UAAU,YACR,OAAO,WAAW;CAChB,KAAK,OAAO,WAAW;EACrB,MAAM,WAAW,MAAM,oBAAoB,QAAQ,KAAK;GACtD,MAAM,QAAQ;GACd,SAAS,QAAQ;GACjB,QAAQ,QAAQ;GAChB;EACF,CAAC;EAED,OAAO;GACL,aAAa,OAAO,WAAW;IAC7B,WAAW,SAAS,YAAY;IAChC,OAAO;GACT,CAAC;GACD,SAAS,SAAS;GAClB,MAAM,OAAO,WAAW;IACtB,WAAW,SAAS,KAAK;IACzB,OAAO;GACT,CAAC;GACD,QAAQ,SAAS;EACnB;CACF;CACA,OAAO;AACT,CAAC,EACL;AAEA,MAAa,qBAAqB,UAChC,mBAAmB,OAAO,KAAK,CAAC;AAElC,MAAM,qBAAqB;AAE3B,MAAM,oBAAoB,SAAyB;CACjD,IAAI,mBAAmB,KAAK,IAAI,GAC9B,MAAM,sBAAsB,kEAAkE;CAGhG,OAAO,KAAK,WAAW,GAAG,IAAI,OAAO,IAAI;AAC3C;AAEA,MAAa,iBAAiB,SAAuB,MAAc,UAA+B;CAChG,MAAM,MAAM,IAAI,IAAI,iBAAiB,IAAI,GAAG,OAAO;CAEnD,IAAI,OACG;OAAA,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,KAAK,GAC7C,IAAI,UAAU,KAAA,KAAa,UAAU,MACnC,IAAI,aAAa,IAAI,KAAK,OAAO,KAAK,CAAC;CAAA;CAK7C,OAAO,IAAI,SAAS;AACtB;AAEA,MAAM,oBAAoB,UACxB,iBAAiB,0BAA0B,QAAQ,sBAAsB,KAAK;AAEhF,MAAa,mBAAmB,OAAO,OAAO,EAC5C,QAAQ,OAAO,QAAQ,IAAI,EAC7B,CAAC;AA0BD,MAAM,mBAAmB,WAAmB,UAAU,OAAO,SAAS;AAEtE,MAAM,qBAA2C,QAAW,aAC1D,SAAS,KAAK,KACZ,OAAO,SAAS,SACd,OAAO,oBAAoB,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,KACvC,OAAO,SAAS,+BAA+B,CACjD,CACF,CACF;AAEF,MAAM,iBAAiB,UAA6B,YAClD,SAAS,KAAK,KACZ,OAAO,SAAS,SAAS,eAAe,SAAS,QAAQ,IAAI,CAAC,GAC9D,OAAO,KAAK,SAAS,kBAAkB,SAAS,QAAQ,SAAS,IAAI,CAAC,CACxE;AAEF,MAAM,wBAAwB,UAAkB,aAAqB;CACnE,IAAI,OAAO,WAAW,SAAS,YAC7B,OAAO,SAAS,WAAW,KAAK,GAAG,SAAS,GAAG,UAAU;CAG3D,MAAM,sBACJ,8EACF;AACF;AAEA,MAAM,wBACJ,QACA,SACqD;CACrD,MAAM,eAAe,QAAQ,EAAE,MAAM,eAAwB;CAE7D,QAAQ,aAAa,MAArB;EACE,KAAK,QACH,OAAO,OAAO,QAAQ,KAAA,CAAS;EACjC,KAAK,SACH,OAAO,OAAO,QAAQ,SAAS,aAAa,OAAO;EACrD,KAAK,SACH,OAAO,OAAO,IAAI;GAChB,WAAW,qBAAqB,aAAa,UAAU,aAAa,QAAQ;GAC5E,OAAO;EACT,CAAC;EACH,KAAK;GACH,IAAI,CAAC,OAAO,aACV,OAAO,OAAO,KACZ,sBACE,mFACF,CACF;GAGF,OAAO,OAAO,QAAQ,SAAS,OAAO,aAAa;CACvD;AACF;AAEA,MAAM,sBAAsB,UAA2B;CACrD,IAAI,UAAU,QAAQ,UAAU,KAAA,GAC9B,OAAO;CAGT,IAAI,OAAO,UAAU,UACnB,OAAO;CAGT,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,WAChD,OAAO,OAAO,KAAK;CAGrB,OAAO,KAAK,UAAU,KAAK;AAC7B;AAEA,MAAM,YAAY,SAA+E;CAC/F,QAAQ,KAAK,MAAb;EACE,KAAK,QACH,OAAO,OAAO,QAAQ,KAAA,CAAS;EACjC,KAAK,QACH,OAAO,OAAO,IAAI;GAChB,WAAW,KAAK,UAAU,KAAK,KAAK;GACpC,OAAO;EACT,CAAC;EACH,KAAK,QACH,OAAO,OAAO,QACZ,IAAI,gBACF,OAAO,QAAQ,KAAK,KAAK,CAAC,CAAC,SAAS,CAAC,KAAK,WACxC,UAAU,KAAA,IAAY,CAAC,IAAI,CAAC,CAAC,KAAK,mBAAmB,KAAK,CAAC,CAAC,CAC9D,CACF,CACF;EACF,KAAK,aACH,OAAO,OAAO,QAAQ,KAAK,KAAK;CACpC;AACF;AAEA,MAAM,eAAe,KAAa,SAA8B,kBAC9D,OAAO,IAAI,aAAa;CACtB,MAAM,UAAU,IAAI,QAAQ,QAAQ,OAAO;CAE3C,MAAM,OAAO,QAAQ,QAAQ,EAAE,MAAM,OAAgB;CACrD,QAAQ,IAAI,UAAU,kBAAkB;CAExC,IAAI,eACF,QAAQ,IAAI,iBAAiB,aAAa;CAG5C,IAAI,KAAK,SAAS,UAAU,CAAC,QAAQ,IAAI,cAAc,GACrD,QAAQ,IAAI,gBAAgB,kBAAkB;CAGhD,OAAO;EACL,MAAM,OAAO,SAAS,IAAI;EAC1B;EACA,QAAQ,QAAQ;EAChB;CACF;AACF,CAAC;AAEH,MAAM,kBAAkB,YACtB,OAAO,IAAI,aAAa;CACtB,MAAM,SAAS,OAAO;CACtB,MAAM,aAAa,OAAO;CAC1B,MAAM,gBAAgB,OAAO,qBAAqB,QAAQ,QAAQ,IAAI;CACtE,MAAM,MAAM,OAAO,OAAO,IAAI;EAC5B,WACE,cACE,QAAQ,WAAW,OAAO,WAAA,sBAC1B,QAAQ,MACR,QAAQ,KACV;EACF,OAAO;CACT,CAAC;CACD,MAAM,UAAU,OAAO,YAAY,KAAK,SAAS,aAAa;CAE9D,OAAO,OAAO,WAAW,QAAQ,OAAO;AAC1C,CAAC;AAEH,MAAa,eACX,QACA,YAEA,eAAe,OAAO,CAAC,CAAC,KACtB,OAAO,SAAS,aACd,gBAAgB,SAAS,MAAM,IAC3B,kBAAkB,QAAQ,QAAQ,IAClC,cAAc,UAAU,SAAS,OAAO,CAAC,CAAC,KAAK,OAAO,QAAQ,OAAO,IAAI,CAAC,CAChF,CACF;AAEF,MAAa,mBACQ,WAEjB,WAEA,OAAO,KAAK,OAAO,KAAK,UAAU,MAAM,MAAM,CAAC;AAEnD,MAAa,oBACyB,GAAG,YAErC,WAEA,OAAO,KACL,OAAO,KACJ,UACC,OAAO,YAAY,OAAO,KAAK,UAAU,CAAC,OAAO,MAAM,MAAmB,CAAC,CAAC,CAIhF,CACF;AAEJ,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,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;;;ACzVF,MAAa,WACX,WACwB,UAAU,OAAO,SAAS,IAAI,OAAO,KAAK,GAAG,IAAI,KAAA;AAE3E,MAAa,yBAIX,WACA,iBAI+C;CAC/C,MAAM,uBAAwB,gBAAgB;CAE9C,OAAO;EACL,QAAQ,UAAU;EAClB,aAAa,QAAQ,UAAU,UAAU;GACxC,uBAAuB,QAAQ,UAAU,GAAG;CAC/C;AAIF"}
|
|
@@ -1799,7 +1799,7 @@ declare const FileCopyInputSchema: Schema.Struct<{
|
|
|
1799
1799
|
}>;
|
|
1800
1800
|
declare const FileTouchInputSchema: Schema.Struct<{
|
|
1801
1801
|
readonly fileIds: Schema.$Array<Schema.Int>;
|
|
1802
|
-
readonly updatedAt: Schema.optional<Schema.
|
|
1802
|
+
readonly updatedAt: Schema.optional<Schema.Date>;
|
|
1803
1803
|
}>;
|
|
1804
1804
|
declare const FileMediaMetadataSchema: Schema.Struct<{
|
|
1805
1805
|
readonly aspect_ratio: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
@@ -9731,6 +9731,12 @@ declare const DEFAULT_PUTIO_UPLOAD_BASE_URL = "https://upload.put.io";
|
|
|
9731
9731
|
declare const DEFAULT_PUTIO_WEB_APP_URL = "https://app.put.io";
|
|
9732
9732
|
//#endregion
|
|
9733
9733
|
//#region src/index.d.ts
|
|
9734
|
+
declare module "effect/SchemaAST" {
|
|
9735
|
+
interface Sentinel {
|
|
9736
|
+
readonly key: PropertyKey;
|
|
9737
|
+
readonly literal: LiteralValue | symbol;
|
|
9738
|
+
}
|
|
9739
|
+
}
|
|
9734
9740
|
declare global {
|
|
9735
9741
|
interface SymbolConstructor {
|
|
9736
9742
|
readonly asyncDispose: unique symbol;
|
|
@@ -9746,4 +9752,4 @@ declare global {
|
|
|
9746
9752
|
}
|
|
9747
9753
|
//#endregion
|
|
9748
9754
|
export { Transfer as $, denyFriendRequest as $a, searchFiles as $c, linkDevice as $d, CreateAppSpecificPasswordInput as $f, RedeemPaymentVoucherError as $i, HistoryTransferCompletedEventSchema as $l, getSharingCloneInfo as $n, FileExtractionsErrorSpec as $o, PutioPathSegment as $p, getPodcastLinks as $r, GetFileChildError as $s, listTrash as $t, GiftCardLookupErrorSpec as $u, TunnelRoute as A, DenyFriendRequestErrorSpec as Aa, deleteFiles as Ac, TwoFactorRecoveryCodesSchema as Ad, OwnedOAuthAppSchema as Af, PaymentHistoryItemSchema as Ai, listFamilyInvites as Al, PutioSdkError as Am, SharedFileSchema as An, FileActiveConversionSchema as Ao, AccountSubtitleLanguageSchema as Ap, RssFeedParams as Ar, FileTouchInputSchema as As, reannounceTransfer as At, PutioJsonValue as Au, GetTransferErrorSpec as B, ListSentRequestsErrorSpec as Ba, getHlsStreamUrl as Bc, checkCodeMatch as Bd, buildOAuthAuthorizeUrl as Bf, PaymentPaddleWaitingPaymentInput as Bi, GetEventTorrentError as Bl, isPutioErrorEnvelope as Bm, SharingShareInput as Bn, FileBroadSchema as Bo, clearAccount as Bp, listRssFeeds as Br, FileVideoMetadata as Bs, ListTrashError as Bt, ClientsError as Bu, ZipSummary as C, stopPaymentSubscription as Ca, copyFile as Cc, RevokeAllOAuthClientsError as Cd, OAuthAppSessionSchema as Cf, PaymentChangePlanPreview as Ci, ListFamilyInvitesErrorSpec as Cl, PutioKnownErrorContract as Cm, PublicShare as Cn, CopyFileError as Co, AccountInfoBroadSchema as Cp, RetryRssFeedItemError as Cr, FileSortSchema as Cs, cleanTransfers as Ct, GetDownloadLinksErrorSpec as Cu, listZips as D, CountWaitingRequestsError as Da, deleteFileExtraction as Dc, RevokeOAuthGrantError as Dd, OAuthSetIconInput as Df, PaymentChangePlanSubmitResponse as Di, RemoveFamilyMemberErrorSpec as Dl, PutioOperationErrorSpec as Dm, ShareFilesError as Dn, DownloadUrlError as Do, AccountSettings as Dp, RssFeedItemFailedSchema as Dr, FileSubtitlesError as Ds, getTransferInfo as Dt, JsonValueSchema as Du, getZip as E, ApproveFriendRequestErrorSpec as Ea, createFolder as Ec, RevokeOAuthClientErrorSpec as Ed, OAuthAppWithTokenSchema as Ef, PaymentChangePlanSubmitInput as Ei, RemoveFamilyMemberError as El, PutioOperationErrorFromSpec as Em, PublicShareSchema as En, CreateFolderErrorSpec as Eo, AccountInfoResponseFor as Ep, RssFeedItem as Er, FileSubtitleSchema as Es, getTransfer as Et, JsonObjectSchema as Eu, AddTransferError as F, FriendSharedFolderError as Fa, getApiDownloadUrl as Fc, VerifyTOTPResponse as Fd, RegenerateOAuthAppTokenError as Ff, PaymentInvite as Fi, DeleteEventError as Fl, decodePutioErrorEnvelope as Fm, SharingCloneInfo as Fn, FileBase as Fo, PasInfoSchema as Fp, clearRssFeedLogs as Fr, FileUploadErrorSpec as Fs, ContinueTrashErrorSpec as Ft, readConfigWith as Fu, ReannounceTransferError as G, SearchFriendsError as Ga, listFileSubtitles as Gc, generateTOTP as Gd, queryOAuthApps as Gf, PaymentProviderNameSchema as Gi, HistoryFileSharedEvent as Gl, mapDecodeErrorToValidationError as Gm, UnshareFileErrorSpec as Gn, FileCore as Go, listAccountSubtitleLanguages as Gp, updateRssFeed as Gr, FilesListQuery as Gs, TrashContinueResponse as Gt, ForgotPasswordErrorSpec as Gu, GetTransferTorrentErrorSpec as H, ListWaitingRequestsErrorSpec as Ha, getStartFrom as Hc, exchangeOAuthAuthorizationCode as Hd, deleteOAuthApp as Hf, PaymentPlanGroupSchema as Hi, HistoryEvent as Hl, isPutioRateLimitError as Hm, SharingUnshareInput as Hn, FileConversionStatusSchema as Ho, getAccountInfo as Hp, resumeRssFeed as Hr, FileWatchStatusErrorSpec as Hs, RestoreTrashError as Ht, FamilyInviteLookupError as Hu, AddTransferErrorSpec as I, FriendSharedFolderErrorSpec as Ia, getApiMp4DownloadUrl as Ic, VerifyTOTPResponseSchema as Id, RegenerateOAuthAppTokenErrorSpec as If, PaymentInviteSchema as Ii, DeleteEventErrorSpec as Il, definePutioOperationErrorSpec as Im, SharingCloneInfoSchema as In, FileBaseSchema as Io, SaveAccountSettingsError as Ip, createRssFeed as Ir, FileUploadInput as Is, DeleteTrashError as It, setConfigKey as Iu, RemoveTransfersErrorSpec as J, SendFriendRequestErrorSpec as Ja, putMp4ToMyFiles as Jc, getFriendInvite as Jd, updateOAuthApp as Jf, PaymentTypeSchema as Ji, HistoryKnownEventTypeSchema as Jl, responseRateLimitHeaders as Jm, createPublicShare as Jn, FileExtraction as Jo, PutioAuth as Jp, PodcastLinkType as Jr, FilesMoveErrorSchema as Js, TrashListQuery as Jt, GenerateTOTPError as Ju, ReannounceTransferErrorSpec as K, SearchFriendsErrorSpec as Ka, moveFileSelection as Kc, getCode as Kd, regenerateOAuthAppToken as Kf, PaymentProviderSchema as Ki, HistoryFileSharedEventSchema as Kl, mapTransportError as Km, cloneSharedFiles as Kn, FileCreateFolderInput as Ko, saveAccountSettings as Kp, PodcastGetLinksInput as Kr, FilesListQuerySchema as Ks, TrashFile as Kt, FriendInviteLookupError as Ku, AddTransferTrackersError as L, ListFriendsError as La, getDownloadUrl as Lc, VoucherLookupError as Ld, UpdateOAuthAppError as Lf, PaymentOption as Li, EventsListQuery as Ll, fallbackPutioErrorEnvelope as Lm, SharingCloneInput as Ln, FileBreadcrumb as Lo, SaveAccountSettingsErrorSpec as Lp, deleteRssFeed as Lr, FileUploadRequestDescriptor as Ls, DeleteTrashErrorSpec as Lt, writeConfig as Lu, listTunnelRoutes as M, FriendBase as Ma, findNextFile as Mc, ValidateTokenResponseSchema as Md, PopularOAuthAppSchema as Mf, PaymentInfo as Mi, removeFamilyMember as Ml, PutioTypedErrorEnvelope as Mm, SharedFileShareSchema as Mn, FileActiveConversionsErrorSpec as Mo, AccountWarnings as Mp, RssFeedSchema as Mr, FileTypeSchema as Ms, retryTransfer as Mt, getConfigKey as Mu, AddManyTransfersError as N, FriendBaseSchema as Na, findNextVideo as Nc, VerifyTOTPError as Nd, QueryOAuthAppsError as Nf, PaymentInfoPlanSchema as Ni, ClearEventsError as Nl, PutioUnhandledSdkError as Nm, SharedFileSharedWith as Nn, FileApiDownloadUrlOptions as No, AccountWarningsSchema as Np, UpdateRssFeedError as Nr, FileUploadEnvelope as Ns, stopTransferRecording as Nt, getConfigKeyWith as Nu, ListTunnelRoutesError as O, CountWaitingRequestsErrorSpec as Oa, deleteFileMp4 as Oc, RevokeOAuthGrantErrorSpec as Od, OAuthSetIconInputSchema as Of, PaymentChangePlanSubmitSchema as Oi, createFamilyInvite as Ol, PutioOperationFailure as Om, ShareFilesErrorSpec as On, DownloadUrlErrorSpec as Oo, AccountSettingsSchema as Op, RssFeedItemSchema as Or, FileSubtitlesErrorSpec as Os, getTransferTorrent as Ot, PutioJsonObject as Ou, AddManyTransfersErrorSpec as P, FriendSchema as Pa, getApiContentUrl as Pc, VerifyTOTPErrorSpec as Pd, QueryOAuthAppsErrorSpec as Pf, PaymentInfoSchema as Pi, ClearEventsErrorSpec as Pl, PutioValidationError as Pm, SharedFileSharedWithSchema as Pn, FileApiMp4DownloadUrlOptions as Po, PasInfo as Pp, UpdateRssFeedErrorSpec as Pr, FileUploadError as Ps, ContinueTrashError as Pt, readConfig as Pu, StopRecordingTransferErrorSpec as Q, countWaitingRequests as Qa, resetStartFrom as Qc, grants as Qd, CreateAppSpecificPasswordErrorSpec as Qf, PreviewPaymentChangePlanErrorSpec as Qi, HistoryTransferCompletedEvent as Ql, getSharedWith as Qn, FileExtractionsError as Qo, PutioHttpResponse as Qp, PodcastLinksSchema as Qr, FolderTypeSchema as Qs, emptyTrash as Qt, GiftCardLookupError as Qu, AddTransferTrackersErrorSpec as R, ListFriendsErrorSpec as Ra, getFile as Rc, VoucherLookupErrorSpec as Rd, UpdateOAuthAppErrorSpec as Rf, PaymentOptionPlanTypeSchema as Ri, EventsListQuerySchema as Rl, isPutioApiError as Rm, SharingCloneInputSchema as Rn, FileBreadcrumbSchema as Ro, SaveAccountSettingsPayload as Rp, getRssFeed as Rr, FileUploadResult as Rs, EmptyTrashError as Rt, AuthGetCodeInput as Ru, ZipStatusSchema as S, reportPayments as Sa, convertFilesToMp4 as Sc, ResetPasswordErrorSpec as Sd, OAuthAppSession as Sf, ListPaymentPlansErrorSpec as Si, ListFamilyInvitesError as Sl, PutioErrorEnvelopeSchema as Sm, ListSharedFilesErrorSpec as Sn, ContinueFilesErrorSpec as So, AccountInfoBroad as Sp, RetryAllRssFeedItemsErrorSpec as Sr, FileSort as Ss, cancelTransfers as St, GetDownloadLinksError as Su, createZip as T, ApproveFriendRequestError as Ta, createFileUploadRequest as Tc, RevokeOAuthClientError as Td, OAuthAppUpdateInputSchema as Tf, PaymentChangePlanPreviewSchema as Ti, ListFamilyMembersErrorSpec as Tl, PutioOperationError as Tm, PublicShareListQuerySchema as Tn, CreateFolderError as To, AccountInfoQuerySchema as Tp, RssFeed as Tr, FileSubtitle as Ts, countTransfers as Tt, getDownloadLinks as Tu, ListTransfersError as U, RemoveFriendError as Ua, listActiveMp4Conversions as Uc, exists as Ud, getOAuthApp as Uf, PaymentPlanTypeSchema as Ui, HistoryEventSchema as Ul, makeResponseError as Um, SharingUnshareInputSchema as Un, FileCopyInput as Uo, getAccountSettings as Up, retryAllRssFeedItems as Ur, FilesBulkSelection as Us, RestoreTrashErrorSpec as Ut, FamilyInviteLookupErrorSpec as Uu, GetTransferTorrentError as V, ListWaitingRequestsError as Va, getMp4Status as Vc, clients as Vd, createOAuthApp as Vf, PaymentPlanGroup as Vi, GetEventTorrentErrorSpec as Vl, isPutioOperationError as Vm, SharingShareInputSchema as Vn, FileConversionStatus as Vo, destroyAccount as Vp, pauseRssFeed as Vr, FileWatchStatusError as Vs, ListTrashErrorSpec as Vt, ClientsErrorSpec as Vu, ListTransfersErrorSpec as W, RemoveFriendErrorSpec as Wa, listFileExtractions as Wc, forgotPassword as Wd, getPopularOAuthApps as Wf, PaymentProvider as Wi, HistoryFileFromRssDeletedEventSchema as Wl, mapConfigurationError as Wm, UnshareFileError as Wn, FileCopyInputSchema as Wo, listAccountConfirmations as Wp, retryRssFeedItem as Wr, FilesListEnvelopeSchema as Ws, TrashBulkInput as Wt, ForgotPasswordError as Wu, RetryTransferErrorSpec as X, UserSearchResultSchema as Xa, renameFile as Xc, getRecoveryCodes as Xd, AppSpecificPasswordSchema as Xf, PaymentVoucherInfoSchema as Xi, HistoryRssFilterPausedEventSchema as Xl, getPublicShare as Xn, FileExtractionStatus as Xo, PutioHttpClientShape as Xp, PodcastLinks as Xr, FilesSearchQuerySchema as Xs, continueTrash as Xt, GenerateTOTPResponse as Xu, RetryTransferError as Y, UserSearchResult as Ya, queryFiles as Yc, getGiftCard as Yd, AppSpecificPassword as Yf, PaymentVoucherInfo as Yi, HistoryPrivateTorrentPinEventSchema as Yl, withOperationErrors as Ym, deletePublicShare as Yn, FileExtractionSchema as Yo, PutioHttpClient as Yp, PodcastLinkTypeSchema as Yr, FilesSearchQuery as Ys, TrashListResponse as Yt, GenerateTOTPErrorSpec as Yu, StopRecordingTransferError as Z, approveFriendRequest as Za, resetFileSortSettings as Zc, getVoucher as Zd, CreateAppSpecificPasswordError as Zf, PreviewPaymentChangePlanError as Zi, HistoryTransferCallbackErrorEventSchema as Zl, getPublicShareFileUrl as Zn, FileExtractionStatusSchema as Zo, PutioHttpRequest as Zp, PodcastLinksResponse as Zr, FolderType as Zs, deleteTrash as Zt, GenerateTOTPResponseSchema as Zu, GetZipErrorSpec as _, listPaymentInvites as _a, canWriteFile as _c, RegisterError as _d, MyOAuthAppSchema as _f, ListPaymentInvitesError as _i, FamilyInvitesResponse as _l, AnyPutioOperationError as _m, ListPublicShareFilesError as _n, createFriendInvite as _o, AccountConfirmationsErrorSpec as _p, PauseRssFeedError as _r, FileRenameInput as _s, TransfersListQuerySchema as _t, DownloadLinksInfoSchema as _u, PutioSdkEffectClient as a, SubmitPaymentChangePlanError as aa, RenameFileError as ac, LoginErrorSpec as ad, revokeAllClients as af, CreatePaddleBillingUpdatePaymentMethodTransactionError as ai, GetIftttStatusError as al, buildPutioUrl as am, CreateSharingCloneError as an, searchFriends as ao, DeleteAppSpecificPasswordErrorSpec as ap, ClearRssFeedLogsError as ar, FileMediaInfo as as, TransferInfoItem as at, HistoryZipCreatedEventSchema as au, ZipCreateResponse as b, previewPaymentChangePlan as ba, convertFileSelectionToMp4 as bc, RegisterInputSchema as bd, OAuthAppCreateInputSchema as bf, ListPaymentOptionsErrorSpec as bi, JoinFamilyError as bl, PutioConfigurationError as bm, ListPublicSharesErrorSpec as bn, CanWriteFileErrorSpec as bo, AccountInfoBase as bp, ResumeRssFeedErrorSpec as br, FileSetSortInput as bs, addTransfer as bt, DownloadLinksStatus as bu, createPutioSdkPromiseClient as c, classifyPaymentChangePlanResponse as ca, SearchFilesErrorSpec as cc, LoginResponseSchema as cd, validateToken as cf, CreatePaddleWaitingPaymentErrorSpec as ci, IftttEventType as cl, makePutioFetchLayer as cm, DeletePublicShareErrorSpec as cn, CreateFriendInviteErrorSpec as co, createAppSpecificPassword as cp, CreateRssFeedErrorSpec as cr, FileMediaInfoStreamSchema as cs, TransferRemoveInputSchema as ct, clearEvents as cu, CancelZipError as d, createPaddleBillingUpdatePaymentMethodTransaction as da, TouchFilesError as dc, OAuthAuthorizationCodeExchangeInput as dd, CreateOAuthAppErrorSpec as df, GetPaymentInfoError as di, getIftttStatus as dl, makePutioSdkLiveLayer as dm, GetPublicShareFileUrlError as dn, FriendInviteJoinedUserSchema as do, listAppSpecificPasswords as dp, GetRssFeedError as dr, FileMp4Error as ds, TransferStatusSchema as dt, listEvents as du, RedeemPaymentVoucherErrorSpec as ea, GetFileChildErrorSpec as ec, GrantsError as ed, login as ef, ClassifiedPaymentChangePlanSubmitResponse as ei, setFileSort as el, PutioQuery as em, restoreTrash as en, getFriendSharedFolder as eo, CreateAppSpecificPasswordInputSchema as ep, listPublicShareFiles as er, FileGetChildInput as es, TransferAddInput as et, HistoryTransferErrorEventSchema as eu, CancelZipErrorSpec as f, createPaddleWaitingPayment as fa, TouchFilesErrorSpec as fc, OAuthAuthorizationCodeExchangeInputSchema as fd, DeleteOAuthAppError as ff, GetPaymentInfoErrorSpec as fi, sendIftttEvent as fl, requestArrayBuffer as fm, GetPublicShareFileUrlErrorSpec as fn, FriendInviteJoinedUserStatus as fo, AccountClearOptions as fp, GetRssFeedErrorSpec as fr, FileMp4ErrorSpec as fs, TransferType as ft, CreateDownloadLinksError as fu, GetZipError as g, listPaymentHistory as ga, buildFileHlsStreamUrl as gc, RegenerateRecoveryCodesErrorSpec as gd, MyOAuthApp as gf, ListPaymentHistoryErrorSpec as gi, FamilyInviteSchema as gl, selectJsonFields as gm, GetSharingCloneInfoErrorSpec as gn, ListFriendInvitesErrorSpec as go, AccountConfirmationsError as gp, ListRssFeedsErrorSpec as gr, FileQuerySchema as gs, TransfersListQuery as gt, DownloadLinksInfo as gu, CreateZipInput as h, getPaymentVoucherInfo as ha, buildFileApiMp4DownloadUrl as hc, RegenerateRecoveryCodesError as hd, GetOAuthAppErrorSpec as hf, ListPaymentHistoryError as hi, FamilyInvite as hl, selectJsonField as hm, GetSharingCloneInfoError as hn, ListFriendInvitesError as ho, AccountConfirmationSchema as hp, ListRssFeedsError as hr, FileQuery as hs, TransfersContinueResponse as ht, DownloadLinksCreateInputSchema as hu, PutioSdk as i, StopSubscriptionErrorSpec as ia, QueryFilesErrorSpec as ic, LoginError as id, resetPassword as if, CreateOpenNodeChargeErrorSpec as ii, uploadFile as il, PutioSdkContext as im, CreatePublicShareErrorSpec as in, removeFriend as io, DeleteAppSpecificPasswordError as ip, unshareFile as ir, FileListResponse as is, TransferBaseSchema as it, HistoryZipCreatedEvent as iu, TunnelRouteSchema as j, Friend as ja, extractFiles as jc, ValidateTokenResponse as jd, PopularOAuthApp as jf, PaymentHistoryQuery as ji, listFamilyMembers as jl, PutioTransportError as jm, SharedFileShare as jn, FileActiveConversionsError as jo, AccountTwoFactorSettingsSchema as jp, RssFeedParamsSchema as jr, FileType as js, removeTransfers as jt, deleteConfigKey as ju, ListTunnelRoutesErrorSpec as k, DenyFriendRequestError as ka, deleteFileSelection as kc, TwoFactorRecoveryCodes as kd, OwnedOAuthApp as kf, PaymentHistoryItem as ki, joinFamily as kl, PutioRateLimitError as km, SharedFile as kn, FileActiveConversion as ko, AccountSubtitleLanguage as kp, RssFeedItemSucceededSchema as kr, FileTouchInput as ks, listTransfers as kt, PutioJsonPrimitive as ku, makePutioSdkEffectClientLayer as l, confirmFastspringOrder as la, StartFromError as lc, OAuthAuthorizationCodeExchangeError as ld, verifyTOTP as lf, GetPaddleBillingInvoiceUrlError as li, SendIftttEventError as ll, makePutioSdkConfig as lm, GetPublicShareError as ln, FriendInvite as lo, deleteAllAppSpecificPasswords as lp, DeleteRssFeedError as lr, FileMediaMetadata as ls, TransferSchema as lt, deleteEvent as lu, CreateZipErrorSpec as m, getPaymentInfo as ma, buildFileApiDownloadUrl as mc, RecoveryCodesErrorSpec as md, GetOAuthAppError as mf, GetPaymentVoucherInfoErrorSpec as mi, CreateFamilyInviteErrorSpec as ml, requestVoid as mm, GetSharedWithErrorSpec as mn, FriendInviteSchema as mo, AccountConfirmation as mp, ListRssFeedItemsErrorSpec as mr, FileMp4MutationErrorSpec as ms, TransfersAddMultiError as mt, DownloadLinksCreateInput as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, ReportPaymentsErrorSpec as na, GetFileErrorSpec as nc, LinkDeviceError as nd, regenerateRecoveryCodes as nf, ConfirmFastspringOrderErrorSpec as ni, setStartFrom as nl, PutioSdkConfig as nm, ContinuePublicShareFilesErrorSpec as nn, listSentRequests as no, DeleteAllAppSpecificPasswordsError as np, listSharedFiles as nr, FileHlsStreamUrlOptions as ns, TransferAddTrackersInput as nt, HistoryUploadEventSchema as nu, PutioSdkPromiseClient as o, SubmitPaymentChangePlanErrorSpec as oa, RenameFileErrorSpec as oc, LoginInput as od, revokeApp as of, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as oi, GetIftttStatusErrorSpec as ol, encodePathSegment as om, CreateSharingCloneErrorSpec as on, sendFriendRequest as oo, ListAppSpecificPasswordsError as op, ClearRssFeedLogsErrorSpec as or, FileMediaInfoFormatSchema as os, TransferLink as ot, ListEventsError as ou, CreateZipError as p, getPaddleBillingInvoiceUrl as pa, buildFileApiContentUrl as pc, RecoveryCodesError as pd, DeleteOAuthAppErrorSpec as pf, GetPaymentVoucherInfoError as pi, CreateFamilyInviteError as pl, requestJson as pm, GetSharedWithError as pn, FriendInviteJoinedUserStatusSchema as po, AccountClearOptionsSchema as pp, ListRssFeedItemsError as pr, FileMp4MutationError as ps, TransferTypeSchema as pt, CreateDownloadLinksErrorSpec as pu, RemoveTransfersError as q, SendFriendRequestError as qa, moveFiles as qc, getFamilyInvite as qd, setOAuthAppIcon as qf, PaymentSubscriptionInfoSchema as qi, HistoryKnownEventType as ql, parseErrorBody as qm, continuePublicShareFiles as qn, FileDirectAccessOptions as qo, OkResponseSchema as qp, PodcastGetLinksInputSchema as qr, FilesMoveError as qs, TrashFileSchema as qt, FriendInviteLookupErrorSpec as qu, DEFAULT_PUTIO_WEB_APP_URL as r, StopSubscriptionError as ra, QueryFilesError as rc, LinkDeviceErrorSpec as rd, register as rf, CreateOpenNodeChargeError as ri, touchFiles as rl, PutioSdkConfigShape as rm, CreatePublicShareError as rn, listWaitingRequests as ro, DeleteAllAppSpecificPasswordsErrorSpec as rp, shareFiles as rr, FileListContinuationResponse as rs, TransferAddTrackersInputSchema as rt, HistoryVoucherEventSchema as ru, createPutioSdkEffectClient as s, UserSubscriptionStatusSchema as sa, SearchFilesError as sc, LoginResponse as sd, revokeClient as sf, CreatePaddleWaitingPaymentError as si, IftttEventInput as sl, makePutioFetchClient as sm, DeletePublicShareError as sn, CreateFriendInviteError as so, ListAppSpecificPasswordsErrorSpec as sp, CreateRssFeedError as sr, FileMediaInfoSchema as ss, TransferRemoveInput as st, ListEventsErrorSpec as su, DEFAULT_PUTIO_API_BASE_URL as t, ReportPaymentsError as ta, GetFileError as tc, GrantsErrorSpec as td, logout as tf, ConfirmFastspringOrderError as ti, setFilesWatchStatus as tl, PutioQueryValue as tm, ContinuePublicShareFilesError as tn, listFriends as to, CreateAppSpecificPasswordResult as tp, listPublicShares as tr, FileGetChildInputSchema as ts, TransferAddInputSchema as tt, HistoryTransferFromRssErrorEventSchema as tu, makePutioSdkLiveClientLayer as u, createOpenNodeCharge as ua, StartFromErrorSpec as uc, OAuthAuthorizationCodeExchangeErrorCodeSchema as ud, CreateOAuthAppError as uf, GetPaddleBillingInvoiceUrlErrorSpec as ui, SendIftttEventErrorSpec as ul, makePutioSdkLayer as um, GetPublicShareErrorSpec as un, FriendInviteJoinedUser as uo, deleteAppSpecificPassword as up, DeleteRssFeedErrorSpec as ur, FileMediaMetadataSchema as us, TransferStatus as ut, getEventTorrent as uu, ListZipsError as v, listPaymentOptions as va, continueFiles as vc, RegisterErrorSpec as vd, OAuthApp as vf, ListPaymentInvitesErrorSpec as vi, FamilyMember as vl, PutioApiError as vm, ListPublicShareFilesErrorSpec as vn, listFriendInvites as vo, AccountDisk as vp, PauseRssFeedErrorSpec as vr, FileResponseFor as vs, TransfersListResponse as vt, DownloadLinksPayload as vu, cancelZip as w, submitPaymentChangePlan as wa, createFileUploadFormData as wc, RevokeAllOAuthClientsErrorSpec as wd, OAuthAppUpdateInput as wf, PaymentChangePlanPreviewInput as wi, ListFamilyMembersError as wl, PutioKnownOperationErrorContract as wm, PublicShareListQuery as wn, CopyFileErrorSpec as wo, AccountInfoQuery as wp, RetryRssFeedItemErrorSpec as wr, FileStartFromSetInput as ws, continueTransfers as wt, createDownloadLinks as wu, ZipInfo as x, redeemPaymentVoucher as xa, convertFileToMp4 as xc, ResetPasswordError as xd, OAuthAppSchema as xf, ListPaymentPlansError as xi, JoinFamilyErrorSpec as xl, PutioErrorEnvelope as xm, ListSharedFilesError as xn, ContinueFilesError as xo, AccountInfoBaseSchema as xp, RetryAllRssFeedItemsError as xr, FileSetSortInputSchema as xs, addTransferTrackers as xt, DownloadLinksStatusSchema as xu, ListZipsErrorSpec as y, listPaymentPlans as ya, continueSearch as yc, RegisterInput as yd, OAuthAppCreateInput as yf, ListPaymentOptionsError as yi, FamilyMemberSchema as yl, PutioAuthError as ym, ListPublicSharesError as yn, CanWriteFileError as yo, AccountDiskSchema as yp, ResumeRssFeedError as yr, FileSearchResponse as ys, addManyTransfers as yt, DownloadLinksPayloadSchema as yu, GetTransferError as z, ListSentRequestsError as za, getFileChild as zc, buildAuthLoginUrl as zd, buildOAuthAppIconUrl as zf, PaymentOptionSchema as zi, EventsListResponse as zl, isPutioAuthError as zm, SharingCloneStatusSchema as zn, FileBroad as zo, SaveAccountSettingsPayloadSchema as zp, listRssFeedItems as zr, FileUploadTransfer as zs, EmptyTrashErrorSpec as zt, AuthorizationCodeSchema as zu };
|
|
9749
|
-
//# sourceMappingURL=index-
|
|
9755
|
+
//# sourceMappingURL=index-TmCCLdXz.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as Transfer, $a as denyFriendRequest, $c as searchFiles, $d as linkDevice, $f as CreateAppSpecificPasswordInput, $i as RedeemPaymentVoucherError, $l as HistoryTransferCompletedEventSchema, $n as getSharingCloneInfo, $o as FileExtractionsErrorSpec, $p as PutioPathSegment, $r as getPodcastLinks, $s as GetFileChildError, $t as listTrash, $u as GiftCardLookupErrorSpec, A as TunnelRoute, Aa as DenyFriendRequestErrorSpec, Ac as deleteFiles, Ad as TwoFactorRecoveryCodesSchema, Af as OwnedOAuthAppSchema, Ai as PaymentHistoryItemSchema, Al as listFamilyInvites, Am as PutioSdkError, An as SharedFileSchema, Ao as FileActiveConversionSchema, Ap as AccountSubtitleLanguageSchema, Ar as RssFeedParams, As as FileTouchInputSchema, At as reannounceTransfer, Au as PutioJsonValue, B as GetTransferErrorSpec, Ba as ListSentRequestsErrorSpec, Bc as getHlsStreamUrl, Bd as checkCodeMatch, Bf as buildOAuthAuthorizeUrl, Bi as PaymentPaddleWaitingPaymentInput, Bl as GetEventTorrentError, Bm as isPutioErrorEnvelope, Bn as SharingShareInput, Bo as FileBroadSchema, Bp as clearAccount, Br as listRssFeeds, Bs as FileVideoMetadata, Bt as ListTrashError, Bu as ClientsError, C as ZipSummary, Ca as stopPaymentSubscription, Cc as copyFile, Cd as RevokeAllOAuthClientsError, Cf as OAuthAppSessionSchema, Ci as PaymentChangePlanPreview, Cl as ListFamilyInvitesErrorSpec, Cm as PutioKnownErrorContract, Cn as PublicShare, Co as CopyFileError, Cp as AccountInfoBroadSchema, Cr as RetryRssFeedItemError, Cs as FileSortSchema, Ct as cleanTransfers, Cu as GetDownloadLinksErrorSpec, D as listZips, Da as CountWaitingRequestsError, Dc as deleteFileExtraction, Dd as RevokeOAuthGrantError, Df as OAuthSetIconInput, Di as PaymentChangePlanSubmitResponse, Dl as RemoveFamilyMemberErrorSpec, Dm as PutioOperationErrorSpec, Dn as ShareFilesError, Do as DownloadUrlError, Dp as AccountSettings, Dr as RssFeedItemFailedSchema, Ds as FileSubtitlesError, Dt as getTransferInfo, Du as JsonValueSchema, E as getZip, Ea as ApproveFriendRequestErrorSpec, Ec as createFolder, Ed as RevokeOAuthClientErrorSpec, Ef as OAuthAppWithTokenSchema, Ei as PaymentChangePlanSubmitInput, El as RemoveFamilyMemberError, Em as PutioOperationErrorFromSpec, En as PublicShareSchema, Eo as CreateFolderErrorSpec, Ep as AccountInfoResponseFor, Er as RssFeedItem, Es as FileSubtitleSchema, Et as getTransfer, Eu as JsonObjectSchema, F as AddTransferError, Fa as FriendSharedFolderError, Fc as getApiDownloadUrl, Fd as VerifyTOTPResponse, Ff as RegenerateOAuthAppTokenError, Fi as PaymentInvite, Fl as DeleteEventError, Fm as decodePutioErrorEnvelope, Fn as SharingCloneInfo, Fo as FileBase, Fp as PasInfoSchema, Fr as clearRssFeedLogs, Fs as FileUploadErrorSpec, Ft as ContinueTrashErrorSpec, Fu as readConfigWith, G as ReannounceTransferError, Ga as SearchFriendsError, Gc as listFileSubtitles, Gd as generateTOTP, Gf as queryOAuthApps, Gi as PaymentProviderNameSchema, Gl as HistoryFileSharedEvent, Gm as mapDecodeErrorToValidationError, Gn as UnshareFileErrorSpec, Go as FileCore, Gp as listAccountSubtitleLanguages, Gr as updateRssFeed, Gs as FilesListQuery, Gt as TrashContinueResponse, Gu as ForgotPasswordErrorSpec, H as GetTransferTorrentErrorSpec, Ha as ListWaitingRequestsErrorSpec, Hc as getStartFrom, Hd as exchangeOAuthAuthorizationCode, Hf as deleteOAuthApp, Hi as PaymentPlanGroupSchema, Hl as HistoryEvent, Hm as isPutioRateLimitError, Hn as SharingUnshareInput, Ho as FileConversionStatusSchema, Hp as getAccountInfo, Hr as resumeRssFeed, Hs as FileWatchStatusErrorSpec, Ht as RestoreTrashError, Hu as FamilyInviteLookupError, I as AddTransferErrorSpec, Ia as FriendSharedFolderErrorSpec, Ic as getApiMp4DownloadUrl, Id as VerifyTOTPResponseSchema, If as RegenerateOAuthAppTokenErrorSpec, Ii as PaymentInviteSchema, Il as DeleteEventErrorSpec, Im as definePutioOperationErrorSpec, In as SharingCloneInfoSchema, Io as FileBaseSchema, Ip as SaveAccountSettingsError, Ir as createRssFeed, Is as FileUploadInput, It as DeleteTrashError, Iu as setConfigKey, J as RemoveTransfersErrorSpec, Ja as SendFriendRequestErrorSpec, Jc as putMp4ToMyFiles, Jd as getFriendInvite, Jf as updateOAuthApp, Ji as PaymentTypeSchema, Jl as HistoryKnownEventTypeSchema, Jm as responseRateLimitHeaders, Jn as createPublicShare, Jo as FileExtraction, Jp as PutioAuth, Jr as PodcastLinkType, Js as FilesMoveErrorSchema, Jt as TrashListQuery, Ju as GenerateTOTPError, K as ReannounceTransferErrorSpec, Ka as SearchFriendsErrorSpec, Kc as moveFileSelection, Kd as getCode, Kf as regenerateOAuthAppToken, Ki as PaymentProviderSchema, Kl as HistoryFileSharedEventSchema, Km as mapTransportError, Kn as cloneSharedFiles, Ko as FileCreateFolderInput, Kp as saveAccountSettings, Kr as PodcastGetLinksInput, Ks as FilesListQuerySchema, Kt as TrashFile, Ku as FriendInviteLookupError, L as AddTransferTrackersError, La as ListFriendsError, Lc as getDownloadUrl, Ld as VoucherLookupError, Lf as UpdateOAuthAppError, Li as PaymentOption, Ll as EventsListQuery, Lm as fallbackPutioErrorEnvelope, Ln as SharingCloneInput, Lo as FileBreadcrumb, Lp as SaveAccountSettingsErrorSpec, Lr as deleteRssFeed, Ls as FileUploadRequestDescriptor, Lt as DeleteTrashErrorSpec, Lu as writeConfig, M as listTunnelRoutes, Ma as FriendBase, Mc as findNextFile, Md as ValidateTokenResponseSchema, Mf as PopularOAuthAppSchema, Mi as PaymentInfo, Ml as removeFamilyMember, Mm as PutioTypedErrorEnvelope, Mn as SharedFileShareSchema, Mo as FileActiveConversionsErrorSpec, Mp as AccountWarnings, Mr as RssFeedSchema, Ms as FileTypeSchema, Mt as retryTransfer, Mu as getConfigKey, N as AddManyTransfersError, Na as FriendBaseSchema, Nc as findNextVideo, Nd as VerifyTOTPError, Nf as QueryOAuthAppsError, Ni as PaymentInfoPlanSchema, Nl as ClearEventsError, Nm as PutioUnhandledSdkError, Nn as SharedFileSharedWith, No as FileApiDownloadUrlOptions, Np as AccountWarningsSchema, Nr as UpdateRssFeedError, Ns as FileUploadEnvelope, Nt as stopTransferRecording, Nu as getConfigKeyWith, O as ListTunnelRoutesError, Oa as CountWaitingRequestsErrorSpec, Oc as deleteFileMp4, Od as RevokeOAuthGrantErrorSpec, Of as OAuthSetIconInputSchema, Oi as PaymentChangePlanSubmitSchema, Ol as createFamilyInvite, Om as PutioOperationFailure, On as ShareFilesErrorSpec, Oo as DownloadUrlErrorSpec, Op as AccountSettingsSchema, Or as RssFeedItemSchema, Os as FileSubtitlesErrorSpec, Ot as getTransferTorrent, Ou as PutioJsonObject, P as AddManyTransfersErrorSpec, Pa as FriendSchema, Pc as getApiContentUrl, Pd as VerifyTOTPErrorSpec, Pf as QueryOAuthAppsErrorSpec, Pi as PaymentInfoSchema, Pl as ClearEventsErrorSpec, Pm as PutioValidationError, Pn as SharedFileSharedWithSchema, Po as FileApiMp4DownloadUrlOptions, Pp as PasInfo, Pr as UpdateRssFeedErrorSpec, Ps as FileUploadError, Pt as ContinueTrashError, Pu as readConfig, Q as StopRecordingTransferErrorSpec, Qa as countWaitingRequests, Qc as resetStartFrom, Qd as grants, Qf as CreateAppSpecificPasswordErrorSpec, Qi as PreviewPaymentChangePlanErrorSpec, Ql as HistoryTransferCompletedEvent, Qn as getSharedWith, Qo as FileExtractionsError, Qp as PutioHttpResponse, Qr as PodcastLinksSchema, Qs as FolderTypeSchema, Qt as emptyTrash, Qu as GiftCardLookupError, R as AddTransferTrackersErrorSpec, Ra as ListFriendsErrorSpec, Rc as getFile, Rd as VoucherLookupErrorSpec, Rf as UpdateOAuthAppErrorSpec, Ri as PaymentOptionPlanTypeSchema, Rl as EventsListQuerySchema, Rm as isPutioApiError, Rn as SharingCloneInputSchema, Ro as FileBreadcrumbSchema, Rp as SaveAccountSettingsPayload, Rr as getRssFeed, Rs as FileUploadResult, Rt as EmptyTrashError, Ru as AuthGetCodeInput, S as ZipStatusSchema, Sa as reportPayments, Sc as convertFilesToMp4, Sd as ResetPasswordErrorSpec, Sf as OAuthAppSession, Si as ListPaymentPlansErrorSpec, Sl as ListFamilyInvitesError, Sm as PutioErrorEnvelopeSchema, Sn as ListSharedFilesErrorSpec, So as ContinueFilesErrorSpec, Sp as AccountInfoBroad, Sr as RetryAllRssFeedItemsErrorSpec, Ss as FileSort, St as cancelTransfers, Su as GetDownloadLinksError, T as createZip, Ta as ApproveFriendRequestError, Tc as createFileUploadRequest, Td as RevokeOAuthClientError, Tf as OAuthAppUpdateInputSchema, Ti as PaymentChangePlanPreviewSchema, Tl as ListFamilyMembersErrorSpec, Tm as PutioOperationError, Tn as PublicShareListQuerySchema, To as CreateFolderError, Tp as AccountInfoQuerySchema, Tr as RssFeed, Ts as FileSubtitle, Tt as countTransfers, Tu as getDownloadLinks, U as ListTransfersError, Ua as RemoveFriendError, Uc as listActiveMp4Conversions, Ud as exists, Uf as getOAuthApp, Ui as PaymentPlanTypeSchema, Ul as HistoryEventSchema, Um as makeResponseError, Un as SharingUnshareInputSchema, Uo as FileCopyInput, Up as getAccountSettings, Ur as retryAllRssFeedItems, Us as FilesBulkSelection, Ut as RestoreTrashErrorSpec, Uu as FamilyInviteLookupErrorSpec, V as GetTransferTorrentError, Va as ListWaitingRequestsError, Vc as getMp4Status, Vd as clients, Vf as createOAuthApp, Vi as PaymentPlanGroup, Vl as GetEventTorrentErrorSpec, Vm as isPutioOperationError, Vn as SharingShareInputSchema, Vo as FileConversionStatus, Vp as destroyAccount, Vr as pauseRssFeed, Vs as FileWatchStatusError, Vt as ListTrashErrorSpec, Vu as ClientsErrorSpec, W as ListTransfersErrorSpec, Wa as RemoveFriendErrorSpec, Wc as listFileExtractions, Wd as forgotPassword, Wf as getPopularOAuthApps, Wi as PaymentProvider, Wl as HistoryFileFromRssDeletedEventSchema, Wm as mapConfigurationError, Wn as UnshareFileError, Wo as FileCopyInputSchema, Wp as listAccountConfirmations, Wr as retryRssFeedItem, Ws as FilesListEnvelopeSchema, Wt as TrashBulkInput, Wu as ForgotPasswordError, X as RetryTransferErrorSpec, Xa as UserSearchResultSchema, Xc as renameFile, Xd as getRecoveryCodes, Xf as AppSpecificPasswordSchema, Xi as PaymentVoucherInfoSchema, Xl as HistoryRssFilterPausedEventSchema, Xn as getPublicShare, Xo as FileExtractionStatus, Xp as PutioHttpClientShape, Xr as PodcastLinks, Xs as FilesSearchQuerySchema, Xt as continueTrash, Xu as GenerateTOTPResponse, Y as RetryTransferError, Ya as UserSearchResult, Yc as queryFiles, Yd as getGiftCard, Yf as AppSpecificPassword, Yi as PaymentVoucherInfo, Yl as HistoryPrivateTorrentPinEventSchema, Ym as withOperationErrors, Yn as deletePublicShare, Yo as FileExtractionSchema, Yp as PutioHttpClient, Yr as PodcastLinkTypeSchema, Ys as FilesSearchQuery, Yt as TrashListResponse, Yu as GenerateTOTPErrorSpec, Z as StopRecordingTransferError, Za as approveFriendRequest, Zc as resetFileSortSettings, Zd as getVoucher, Zf as CreateAppSpecificPasswordError, Zi as PreviewPaymentChangePlanError, Zl as HistoryTransferCallbackErrorEventSchema, Zn as getPublicShareFileUrl, Zo as FileExtractionStatusSchema, Zp as PutioHttpRequest, Zr as PodcastLinksResponse, Zs as FolderType, Zt as deleteTrash, Zu as GenerateTOTPResponseSchema, _ as GetZipErrorSpec, _a as listPaymentInvites, _c as canWriteFile, _d as RegisterError, _f as MyOAuthAppSchema, _i as ListPaymentInvitesError, _l as FamilyInvitesResponse, _m as AnyPutioOperationError, _n as ListPublicShareFilesError, _o as createFriendInvite, _p as AccountConfirmationsErrorSpec, _r as PauseRssFeedError, _s as FileRenameInput, _t as TransfersListQuerySchema, _u as DownloadLinksInfoSchema, a as PutioSdkEffectClient, aa as SubmitPaymentChangePlanError, ac as RenameFileError, ad as LoginErrorSpec, af as revokeAllClients, ai as CreatePaddleBillingUpdatePaymentMethodTransactionError, al as GetIftttStatusError, am as buildPutioUrl, an as CreateSharingCloneError, ao as searchFriends, ap as DeleteAppSpecificPasswordErrorSpec, ar as ClearRssFeedLogsError, as as FileMediaInfo, at as TransferInfoItem, au as HistoryZipCreatedEventSchema, b as ZipCreateResponse, ba as previewPaymentChangePlan, bc as convertFileSelectionToMp4, bd as RegisterInputSchema, bf as OAuthAppCreateInputSchema, bi as ListPaymentOptionsErrorSpec, bl as JoinFamilyError, bm as PutioConfigurationError, bn as ListPublicSharesErrorSpec, bo as CanWriteFileErrorSpec, bp as AccountInfoBase, br as ResumeRssFeedErrorSpec, bs as FileSetSortInput, bt as addTransfer, bu as DownloadLinksStatus, c as createPutioSdkPromiseClient, ca as classifyPaymentChangePlanResponse, cc as SearchFilesErrorSpec, cd as LoginResponseSchema, cf as validateToken, ci as CreatePaddleWaitingPaymentErrorSpec, cl as IftttEventType, cm as makePutioFetchLayer, cn as DeletePublicShareErrorSpec, co as CreateFriendInviteErrorSpec, cp as createAppSpecificPassword, cr as CreateRssFeedErrorSpec, cs as FileMediaInfoStreamSchema, ct as TransferRemoveInputSchema, cu as clearEvents, d as CancelZipError, da as createPaddleBillingUpdatePaymentMethodTransaction, dc as TouchFilesError, dd as OAuthAuthorizationCodeExchangeInput, df as CreateOAuthAppErrorSpec, di as GetPaymentInfoError, dl as getIftttStatus, dm as makePutioSdkLiveLayer, dn as GetPublicShareFileUrlError, do as FriendInviteJoinedUserSchema, dp as listAppSpecificPasswords, dr as GetRssFeedError, ds as FileMp4Error, dt as TransferStatusSchema, du as listEvents, ea as RedeemPaymentVoucherErrorSpec, ec as GetFileChildErrorSpec, ed as GrantsError, ef as login, ei as ClassifiedPaymentChangePlanSubmitResponse, el as setFileSort, em as PutioQuery, en as restoreTrash, eo as getFriendSharedFolder, ep as CreateAppSpecificPasswordInputSchema, er as listPublicShareFiles, es as FileGetChildInput, et as TransferAddInput, eu as HistoryTransferErrorEventSchema, f as CancelZipErrorSpec, fa as createPaddleWaitingPayment, fc as TouchFilesErrorSpec, fd as OAuthAuthorizationCodeExchangeInputSchema, ff as DeleteOAuthAppError, fi as GetPaymentInfoErrorSpec, fl as sendIftttEvent, fm as requestArrayBuffer, fn as GetPublicShareFileUrlErrorSpec, fo as FriendInviteJoinedUserStatus, fp as AccountClearOptions, fr as GetRssFeedErrorSpec, fs as FileMp4ErrorSpec, ft as TransferType, fu as CreateDownloadLinksError, g as GetZipError, ga as listPaymentHistory, gc as buildFileHlsStreamUrl, gd as RegenerateRecoveryCodesErrorSpec, gf as MyOAuthApp, gi as ListPaymentHistoryErrorSpec, gl as FamilyInviteSchema, gm as selectJsonFields, gn as GetSharingCloneInfoErrorSpec, go as ListFriendInvitesErrorSpec, gp as AccountConfirmationsError, gr as ListRssFeedsErrorSpec, gs as FileQuerySchema, gt as TransfersListQuery, gu as DownloadLinksInfo, h as CreateZipInput, ha as getPaymentVoucherInfo, hc as buildFileApiMp4DownloadUrl, hd as RegenerateRecoveryCodesError, hf as GetOAuthAppErrorSpec, hi as ListPaymentHistoryError, hl as FamilyInvite, hm as selectJsonField, hn as GetSharingCloneInfoError, ho as ListFriendInvitesError, hp as AccountConfirmationSchema, hr as ListRssFeedsError, hs as FileQuery, ht as TransfersContinueResponse, hu as DownloadLinksCreateInputSchema, i as PutioSdk, ia as StopSubscriptionErrorSpec, ic as QueryFilesErrorSpec, id as LoginError, if as resetPassword, ii as CreateOpenNodeChargeErrorSpec, il as uploadFile, im as PutioSdkContext, in as CreatePublicShareErrorSpec, io as removeFriend, ip as DeleteAppSpecificPasswordError, ir as unshareFile, is as FileListResponse, it as TransferBaseSchema, iu as HistoryZipCreatedEvent, j as TunnelRouteSchema, ja as Friend, jc as extractFiles, jd as ValidateTokenResponse, jf as PopularOAuthApp, ji as PaymentHistoryQuery, jl as listFamilyMembers, jm as PutioTransportError, jn as SharedFileShare, jo as FileActiveConversionsError, jp as AccountTwoFactorSettingsSchema, jr as RssFeedParamsSchema, js as FileType, jt as removeTransfers, ju as deleteConfigKey, k as ListTunnelRoutesErrorSpec, ka as DenyFriendRequestError, kc as deleteFileSelection, kd as TwoFactorRecoveryCodes, kf as OwnedOAuthApp, ki as PaymentHistoryItem, kl as joinFamily, km as PutioRateLimitError, kn as SharedFile, ko as FileActiveConversion, kp as AccountSubtitleLanguage, kr as RssFeedItemSucceededSchema, ks as FileTouchInput, kt as listTransfers, ku as PutioJsonPrimitive, l as makePutioSdkEffectClientLayer, la as confirmFastspringOrder, lc as StartFromError, ld as OAuthAuthorizationCodeExchangeError, lf as verifyTOTP, li as GetPaddleBillingInvoiceUrlError, ll as SendIftttEventError, lm as makePutioSdkConfig, ln as GetPublicShareError, lo as FriendInvite, lp as deleteAllAppSpecificPasswords, lr as DeleteRssFeedError, ls as FileMediaMetadata, lt as TransferSchema, lu as deleteEvent, m as CreateZipErrorSpec, ma as getPaymentInfo, mc as buildFileApiDownloadUrl, md as RecoveryCodesErrorSpec, mf as GetOAuthAppError, mi as GetPaymentVoucherInfoErrorSpec, ml as CreateFamilyInviteErrorSpec, mm as requestVoid, mn as GetSharedWithErrorSpec, mo as FriendInviteSchema, mp as AccountConfirmation, mr as ListRssFeedItemsErrorSpec, ms as FileMp4MutationErrorSpec, mt as TransfersAddMultiError, mu as DownloadLinksCreateInput, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as ReportPaymentsErrorSpec, nc as GetFileErrorSpec, nd as LinkDeviceError, nf as regenerateRecoveryCodes, ni as ConfirmFastspringOrderErrorSpec, nl as setStartFrom, nm as PutioSdkConfig, nn as ContinuePublicShareFilesErrorSpec, no as listSentRequests, np as DeleteAllAppSpecificPasswordsError, nr as listSharedFiles, ns as FileHlsStreamUrlOptions, nt as TransferAddTrackersInput, nu as HistoryUploadEventSchema, o as PutioSdkPromiseClient, oa as SubmitPaymentChangePlanErrorSpec, oc as RenameFileErrorSpec, od as LoginInput, of as revokeApp, oi as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ol as GetIftttStatusErrorSpec, om as encodePathSegment, on as CreateSharingCloneErrorSpec, oo as sendFriendRequest, op as ListAppSpecificPasswordsError, or as ClearRssFeedLogsErrorSpec, os as FileMediaInfoFormatSchema, ot as TransferLink, ou as ListEventsError, p as CreateZipError, pa as getPaddleBillingInvoiceUrl, pc as buildFileApiContentUrl, pd as RecoveryCodesError, pf as DeleteOAuthAppErrorSpec, pi as GetPaymentVoucherInfoError, pl as CreateFamilyInviteError, pm as requestJson, pn as GetSharedWithError, po as FriendInviteJoinedUserStatusSchema, pp as AccountClearOptionsSchema, pr as ListRssFeedItemsError, ps as FileMp4MutationError, pt as TransferTypeSchema, pu as CreateDownloadLinksErrorSpec, q as RemoveTransfersError, qa as SendFriendRequestError, qc as moveFiles, qd as getFamilyInvite, qf as setOAuthAppIcon, qi as PaymentSubscriptionInfoSchema, ql as HistoryKnownEventType, qm as parseErrorBody, qn as continuePublicShareFiles, qo as FileDirectAccessOptions, qp as OkResponseSchema, qr as PodcastGetLinksInputSchema, qs as FilesMoveError, qt as TrashFileSchema, qu as FriendInviteLookupErrorSpec, r as DEFAULT_PUTIO_WEB_APP_URL, ra as StopSubscriptionError, rc as QueryFilesError, rd as LinkDeviceErrorSpec, rf as register, ri as CreateOpenNodeChargeError, rl as touchFiles, rm as PutioSdkConfigShape, rn as CreatePublicShareError, ro as listWaitingRequests, rp as DeleteAllAppSpecificPasswordsErrorSpec, rr as shareFiles, rs as FileListContinuationResponse, rt as TransferAddTrackersInputSchema, ru as HistoryVoucherEventSchema, s as createPutioSdkEffectClient, sa as UserSubscriptionStatusSchema, sc as SearchFilesError, sd as LoginResponse, sf as revokeClient, si as CreatePaddleWaitingPaymentError, sl as IftttEventInput, sm as makePutioFetchClient, sn as DeletePublicShareError, so as CreateFriendInviteError, sp as ListAppSpecificPasswordsErrorSpec, sr as CreateRssFeedError, ss as FileMediaInfoSchema, st as TransferRemoveInput, su as ListEventsErrorSpec, t as DEFAULT_PUTIO_API_BASE_URL, ta as ReportPaymentsError, tc as GetFileError, td as GrantsErrorSpec, tf as logout, ti as ConfirmFastspringOrderError, tl as setFilesWatchStatus, tm as PutioQueryValue, tn as ContinuePublicShareFilesError, to as listFriends, tp as CreateAppSpecificPasswordResult, tr as listPublicShares, ts as FileGetChildInputSchema, tt as TransferAddInputSchema, tu as HistoryTransferFromRssErrorEventSchema, u as makePutioSdkLiveClientLayer, ua as createOpenNodeCharge, uc as StartFromErrorSpec, ud as OAuthAuthorizationCodeExchangeErrorCodeSchema, uf as CreateOAuthAppError, ui as GetPaddleBillingInvoiceUrlErrorSpec, ul as SendIftttEventErrorSpec, um as makePutioSdkLayer, un as GetPublicShareErrorSpec, uo as FriendInviteJoinedUser, up as deleteAppSpecificPassword, ur as DeleteRssFeedErrorSpec, us as FileMediaMetadataSchema, ut as TransferStatus, uu as getEventTorrent, v as ListZipsError, va as listPaymentOptions, vc as continueFiles, vd as RegisterErrorSpec, vf as OAuthApp, vi as ListPaymentInvitesErrorSpec, vl as FamilyMember, vm as PutioApiError, vn as ListPublicShareFilesErrorSpec, vo as listFriendInvites, vp as AccountDisk, vr as PauseRssFeedErrorSpec, vs as FileResponseFor, vt as TransfersListResponse, vu as DownloadLinksPayload, w as cancelZip, wa as submitPaymentChangePlan, wc as createFileUploadFormData, wd as RevokeAllOAuthClientsErrorSpec, wf as OAuthAppUpdateInput, wi as PaymentChangePlanPreviewInput, wl as ListFamilyMembersError, wm as PutioKnownOperationErrorContract, wn as PublicShareListQuery, wo as CopyFileErrorSpec, wp as AccountInfoQuery, wr as RetryRssFeedItemErrorSpec, ws as FileStartFromSetInput, wt as continueTransfers, wu as createDownloadLinks, x as ZipInfo, xa as redeemPaymentVoucher, xc as convertFileToMp4, xd as ResetPasswordError, xf as OAuthAppSchema, xi as ListPaymentPlansError, xl as JoinFamilyErrorSpec, xm as PutioErrorEnvelope, xn as ListSharedFilesError, xo as ContinueFilesError, xp as AccountInfoBaseSchema, xr as RetryAllRssFeedItemsError, xs as FileSetSortInputSchema, xt as addTransferTrackers, xu as DownloadLinksStatusSchema, y as ListZipsErrorSpec, ya as listPaymentPlans, yc as continueSearch, yd as RegisterInput, yf as OAuthAppCreateInput, yi as ListPaymentOptionsError, yl as FamilyMemberSchema, ym as PutioAuthError, yn as ListPublicSharesError, yo as CanWriteFileError, yp as AccountDiskSchema, yr as ResumeRssFeedError, ys as FileSearchResponse, yt as addManyTransfers, yu as DownloadLinksPayloadSchema, z as GetTransferError, za as ListSentRequestsError, zc as getFileChild, zd as buildAuthLoginUrl, zf as buildOAuthAppIconUrl, zi as PaymentOptionSchema, zl as EventsListResponse, zm as isPutioAuthError, zn as SharingCloneStatusSchema, zo as FileBroad, zp as SaveAccountSettingsPayloadSchema, zr as listRssFeedItems, zs as FileUploadTransfer, zt as EmptyTrashErrorSpec, zu as AuthorizationCodeSchema } from "./index-93hWYV6K.js";
|
|
1
|
+
import { $ as Transfer, $a as denyFriendRequest, $c as searchFiles, $d as linkDevice, $f as CreateAppSpecificPasswordInput, $i as RedeemPaymentVoucherError, $l as HistoryTransferCompletedEventSchema, $n as getSharingCloneInfo, $o as FileExtractionsErrorSpec, $p as PutioPathSegment, $r as getPodcastLinks, $s as GetFileChildError, $t as listTrash, $u as GiftCardLookupErrorSpec, A as TunnelRoute, Aa as DenyFriendRequestErrorSpec, Ac as deleteFiles, Ad as TwoFactorRecoveryCodesSchema, Af as OwnedOAuthAppSchema, Ai as PaymentHistoryItemSchema, Al as listFamilyInvites, Am as PutioSdkError, An as SharedFileSchema, Ao as FileActiveConversionSchema, Ap as AccountSubtitleLanguageSchema, Ar as RssFeedParams, As as FileTouchInputSchema, At as reannounceTransfer, Au as PutioJsonValue, B as GetTransferErrorSpec, Ba as ListSentRequestsErrorSpec, Bc as getHlsStreamUrl, Bd as checkCodeMatch, Bf as buildOAuthAuthorizeUrl, Bi as PaymentPaddleWaitingPaymentInput, Bl as GetEventTorrentError, Bm as isPutioErrorEnvelope, Bn as SharingShareInput, Bo as FileBroadSchema, Bp as clearAccount, Br as listRssFeeds, Bs as FileVideoMetadata, Bt as ListTrashError, Bu as ClientsError, C as ZipSummary, Ca as stopPaymentSubscription, Cc as copyFile, Cd as RevokeAllOAuthClientsError, Cf as OAuthAppSessionSchema, Ci as PaymentChangePlanPreview, Cl as ListFamilyInvitesErrorSpec, Cm as PutioKnownErrorContract, Cn as PublicShare, Co as CopyFileError, Cp as AccountInfoBroadSchema, Cr as RetryRssFeedItemError, Cs as FileSortSchema, Ct as cleanTransfers, Cu as GetDownloadLinksErrorSpec, D as listZips, Da as CountWaitingRequestsError, Dc as deleteFileExtraction, Dd as RevokeOAuthGrantError, Df as OAuthSetIconInput, Di as PaymentChangePlanSubmitResponse, Dl as RemoveFamilyMemberErrorSpec, Dm as PutioOperationErrorSpec, Dn as ShareFilesError, Do as DownloadUrlError, Dp as AccountSettings, Dr as RssFeedItemFailedSchema, Ds as FileSubtitlesError, Dt as getTransferInfo, Du as JsonValueSchema, E as getZip, Ea as ApproveFriendRequestErrorSpec, Ec as createFolder, Ed as RevokeOAuthClientErrorSpec, Ef as OAuthAppWithTokenSchema, Ei as PaymentChangePlanSubmitInput, El as RemoveFamilyMemberError, Em as PutioOperationErrorFromSpec, En as PublicShareSchema, Eo as CreateFolderErrorSpec, Ep as AccountInfoResponseFor, Er as RssFeedItem, Es as FileSubtitleSchema, Et as getTransfer, Eu as JsonObjectSchema, F as AddTransferError, Fa as FriendSharedFolderError, Fc as getApiDownloadUrl, Fd as VerifyTOTPResponse, Ff as RegenerateOAuthAppTokenError, Fi as PaymentInvite, Fl as DeleteEventError, Fm as decodePutioErrorEnvelope, Fn as SharingCloneInfo, Fo as FileBase, Fp as PasInfoSchema, Fr as clearRssFeedLogs, Fs as FileUploadErrorSpec, Ft as ContinueTrashErrorSpec, Fu as readConfigWith, G as ReannounceTransferError, Ga as SearchFriendsError, Gc as listFileSubtitles, Gd as generateTOTP, Gf as queryOAuthApps, Gi as PaymentProviderNameSchema, Gl as HistoryFileSharedEvent, Gm as mapDecodeErrorToValidationError, Gn as UnshareFileErrorSpec, Go as FileCore, Gp as listAccountSubtitleLanguages, Gr as updateRssFeed, Gs as FilesListQuery, Gt as TrashContinueResponse, Gu as ForgotPasswordErrorSpec, H as GetTransferTorrentErrorSpec, Ha as ListWaitingRequestsErrorSpec, Hc as getStartFrom, Hd as exchangeOAuthAuthorizationCode, Hf as deleteOAuthApp, Hi as PaymentPlanGroupSchema, Hl as HistoryEvent, Hm as isPutioRateLimitError, Hn as SharingUnshareInput, Ho as FileConversionStatusSchema, Hp as getAccountInfo, Hr as resumeRssFeed, Hs as FileWatchStatusErrorSpec, Ht as RestoreTrashError, Hu as FamilyInviteLookupError, I as AddTransferErrorSpec, Ia as FriendSharedFolderErrorSpec, Ic as getApiMp4DownloadUrl, Id as VerifyTOTPResponseSchema, If as RegenerateOAuthAppTokenErrorSpec, Ii as PaymentInviteSchema, Il as DeleteEventErrorSpec, Im as definePutioOperationErrorSpec, In as SharingCloneInfoSchema, Io as FileBaseSchema, Ip as SaveAccountSettingsError, Ir as createRssFeed, Is as FileUploadInput, It as DeleteTrashError, Iu as setConfigKey, J as RemoveTransfersErrorSpec, Ja as SendFriendRequestErrorSpec, Jc as putMp4ToMyFiles, Jd as getFriendInvite, Jf as updateOAuthApp, Ji as PaymentTypeSchema, Jl as HistoryKnownEventTypeSchema, Jm as responseRateLimitHeaders, Jn as createPublicShare, Jo as FileExtraction, Jp as PutioAuth, Jr as PodcastLinkType, Js as FilesMoveErrorSchema, Jt as TrashListQuery, Ju as GenerateTOTPError, K as ReannounceTransferErrorSpec, Ka as SearchFriendsErrorSpec, Kc as moveFileSelection, Kd as getCode, Kf as regenerateOAuthAppToken, Ki as PaymentProviderSchema, Kl as HistoryFileSharedEventSchema, Km as mapTransportError, Kn as cloneSharedFiles, Ko as FileCreateFolderInput, Kp as saveAccountSettings, Kr as PodcastGetLinksInput, Ks as FilesListQuerySchema, Kt as TrashFile, Ku as FriendInviteLookupError, L as AddTransferTrackersError, La as ListFriendsError, Lc as getDownloadUrl, Ld as VoucherLookupError, Lf as UpdateOAuthAppError, Li as PaymentOption, Ll as EventsListQuery, Lm as fallbackPutioErrorEnvelope, Ln as SharingCloneInput, Lo as FileBreadcrumb, Lp as SaveAccountSettingsErrorSpec, Lr as deleteRssFeed, Ls as FileUploadRequestDescriptor, Lt as DeleteTrashErrorSpec, Lu as writeConfig, M as listTunnelRoutes, Ma as FriendBase, Mc as findNextFile, Md as ValidateTokenResponseSchema, Mf as PopularOAuthAppSchema, Mi as PaymentInfo, Ml as removeFamilyMember, Mm as PutioTypedErrorEnvelope, Mn as SharedFileShareSchema, Mo as FileActiveConversionsErrorSpec, Mp as AccountWarnings, Mr as RssFeedSchema, Ms as FileTypeSchema, Mt as retryTransfer, Mu as getConfigKey, N as AddManyTransfersError, Na as FriendBaseSchema, Nc as findNextVideo, Nd as VerifyTOTPError, Nf as QueryOAuthAppsError, Ni as PaymentInfoPlanSchema, Nl as ClearEventsError, Nm as PutioUnhandledSdkError, Nn as SharedFileSharedWith, No as FileApiDownloadUrlOptions, Np as AccountWarningsSchema, Nr as UpdateRssFeedError, Ns as FileUploadEnvelope, Nt as stopTransferRecording, Nu as getConfigKeyWith, O as ListTunnelRoutesError, Oa as CountWaitingRequestsErrorSpec, Oc as deleteFileMp4, Od as RevokeOAuthGrantErrorSpec, Of as OAuthSetIconInputSchema, Oi as PaymentChangePlanSubmitSchema, Ol as createFamilyInvite, Om as PutioOperationFailure, On as ShareFilesErrorSpec, Oo as DownloadUrlErrorSpec, Op as AccountSettingsSchema, Or as RssFeedItemSchema, Os as FileSubtitlesErrorSpec, Ot as getTransferTorrent, Ou as PutioJsonObject, P as AddManyTransfersErrorSpec, Pa as FriendSchema, Pc as getApiContentUrl, Pd as VerifyTOTPErrorSpec, Pf as QueryOAuthAppsErrorSpec, Pi as PaymentInfoSchema, Pl as ClearEventsErrorSpec, Pm as PutioValidationError, Pn as SharedFileSharedWithSchema, Po as FileApiMp4DownloadUrlOptions, Pp as PasInfo, Pr as UpdateRssFeedErrorSpec, Ps as FileUploadError, Pt as ContinueTrashError, Pu as readConfig, Q as StopRecordingTransferErrorSpec, Qa as countWaitingRequests, Qc as resetStartFrom, Qd as grants, Qf as CreateAppSpecificPasswordErrorSpec, Qi as PreviewPaymentChangePlanErrorSpec, Ql as HistoryTransferCompletedEvent, Qn as getSharedWith, Qo as FileExtractionsError, Qp as PutioHttpResponse, Qr as PodcastLinksSchema, Qs as FolderTypeSchema, Qt as emptyTrash, Qu as GiftCardLookupError, R as AddTransferTrackersErrorSpec, Ra as ListFriendsErrorSpec, Rc as getFile, Rd as VoucherLookupErrorSpec, Rf as UpdateOAuthAppErrorSpec, Ri as PaymentOptionPlanTypeSchema, Rl as EventsListQuerySchema, Rm as isPutioApiError, Rn as SharingCloneInputSchema, Ro as FileBreadcrumbSchema, Rp as SaveAccountSettingsPayload, Rr as getRssFeed, Rs as FileUploadResult, Rt as EmptyTrashError, Ru as AuthGetCodeInput, S as ZipStatusSchema, Sa as reportPayments, Sc as convertFilesToMp4, Sd as ResetPasswordErrorSpec, Sf as OAuthAppSession, Si as ListPaymentPlansErrorSpec, Sl as ListFamilyInvitesError, Sm as PutioErrorEnvelopeSchema, Sn as ListSharedFilesErrorSpec, So as ContinueFilesErrorSpec, Sp as AccountInfoBroad, Sr as RetryAllRssFeedItemsErrorSpec, Ss as FileSort, St as cancelTransfers, Su as GetDownloadLinksError, T as createZip, Ta as ApproveFriendRequestError, Tc as createFileUploadRequest, Td as RevokeOAuthClientError, Tf as OAuthAppUpdateInputSchema, Ti as PaymentChangePlanPreviewSchema, Tl as ListFamilyMembersErrorSpec, Tm as PutioOperationError, Tn as PublicShareListQuerySchema, To as CreateFolderError, Tp as AccountInfoQuerySchema, Tr as RssFeed, Ts as FileSubtitle, Tt as countTransfers, Tu as getDownloadLinks, U as ListTransfersError, Ua as RemoveFriendError, Uc as listActiveMp4Conversions, Ud as exists, Uf as getOAuthApp, Ui as PaymentPlanTypeSchema, Ul as HistoryEventSchema, Um as makeResponseError, Un as SharingUnshareInputSchema, Uo as FileCopyInput, Up as getAccountSettings, Ur as retryAllRssFeedItems, Us as FilesBulkSelection, Ut as RestoreTrashErrorSpec, Uu as FamilyInviteLookupErrorSpec, V as GetTransferTorrentError, Va as ListWaitingRequestsError, Vc as getMp4Status, Vd as clients, Vf as createOAuthApp, Vi as PaymentPlanGroup, Vl as GetEventTorrentErrorSpec, Vm as isPutioOperationError, Vn as SharingShareInputSchema, Vo as FileConversionStatus, Vp as destroyAccount, Vr as pauseRssFeed, Vs as FileWatchStatusError, Vt as ListTrashErrorSpec, Vu as ClientsErrorSpec, W as ListTransfersErrorSpec, Wa as RemoveFriendErrorSpec, Wc as listFileExtractions, Wd as forgotPassword, Wf as getPopularOAuthApps, Wi as PaymentProvider, Wl as HistoryFileFromRssDeletedEventSchema, Wm as mapConfigurationError, Wn as UnshareFileError, Wo as FileCopyInputSchema, Wp as listAccountConfirmations, Wr as retryRssFeedItem, Ws as FilesListEnvelopeSchema, Wt as TrashBulkInput, Wu as ForgotPasswordError, X as RetryTransferErrorSpec, Xa as UserSearchResultSchema, Xc as renameFile, Xd as getRecoveryCodes, Xf as AppSpecificPasswordSchema, Xi as PaymentVoucherInfoSchema, Xl as HistoryRssFilterPausedEventSchema, Xn as getPublicShare, Xo as FileExtractionStatus, Xp as PutioHttpClientShape, Xr as PodcastLinks, Xs as FilesSearchQuerySchema, Xt as continueTrash, Xu as GenerateTOTPResponse, Y as RetryTransferError, Ya as UserSearchResult, Yc as queryFiles, Yd as getGiftCard, Yf as AppSpecificPassword, Yi as PaymentVoucherInfo, Yl as HistoryPrivateTorrentPinEventSchema, Ym as withOperationErrors, Yn as deletePublicShare, Yo as FileExtractionSchema, Yp as PutioHttpClient, Yr as PodcastLinkTypeSchema, Ys as FilesSearchQuery, Yt as TrashListResponse, Yu as GenerateTOTPErrorSpec, Z as StopRecordingTransferError, Za as approveFriendRequest, Zc as resetFileSortSettings, Zd as getVoucher, Zf as CreateAppSpecificPasswordError, Zi as PreviewPaymentChangePlanError, Zl as HistoryTransferCallbackErrorEventSchema, Zn as getPublicShareFileUrl, Zo as FileExtractionStatusSchema, Zp as PutioHttpRequest, Zr as PodcastLinksResponse, Zs as FolderType, Zt as deleteTrash, Zu as GenerateTOTPResponseSchema, _ as GetZipErrorSpec, _a as listPaymentInvites, _c as canWriteFile, _d as RegisterError, _f as MyOAuthAppSchema, _i as ListPaymentInvitesError, _l as FamilyInvitesResponse, _m as AnyPutioOperationError, _n as ListPublicShareFilesError, _o as createFriendInvite, _p as AccountConfirmationsErrorSpec, _r as PauseRssFeedError, _s as FileRenameInput, _t as TransfersListQuerySchema, _u as DownloadLinksInfoSchema, a as PutioSdkEffectClient, aa as SubmitPaymentChangePlanError, ac as RenameFileError, ad as LoginErrorSpec, af as revokeAllClients, ai as CreatePaddleBillingUpdatePaymentMethodTransactionError, al as GetIftttStatusError, am as buildPutioUrl, an as CreateSharingCloneError, ao as searchFriends, ap as DeleteAppSpecificPasswordErrorSpec, ar as ClearRssFeedLogsError, as as FileMediaInfo, at as TransferInfoItem, au as HistoryZipCreatedEventSchema, b as ZipCreateResponse, ba as previewPaymentChangePlan, bc as convertFileSelectionToMp4, bd as RegisterInputSchema, bf as OAuthAppCreateInputSchema, bi as ListPaymentOptionsErrorSpec, bl as JoinFamilyError, bm as PutioConfigurationError, bn as ListPublicSharesErrorSpec, bo as CanWriteFileErrorSpec, bp as AccountInfoBase, br as ResumeRssFeedErrorSpec, bs as FileSetSortInput, bt as addTransfer, bu as DownloadLinksStatus, c as createPutioSdkPromiseClient, ca as classifyPaymentChangePlanResponse, cc as SearchFilesErrorSpec, cd as LoginResponseSchema, cf as validateToken, ci as CreatePaddleWaitingPaymentErrorSpec, cl as IftttEventType, cm as makePutioFetchLayer, cn as DeletePublicShareErrorSpec, co as CreateFriendInviteErrorSpec, cp as createAppSpecificPassword, cr as CreateRssFeedErrorSpec, cs as FileMediaInfoStreamSchema, ct as TransferRemoveInputSchema, cu as clearEvents, d as CancelZipError, da as createPaddleBillingUpdatePaymentMethodTransaction, dc as TouchFilesError, dd as OAuthAuthorizationCodeExchangeInput, df as CreateOAuthAppErrorSpec, di as GetPaymentInfoError, dl as getIftttStatus, dm as makePutioSdkLiveLayer, dn as GetPublicShareFileUrlError, do as FriendInviteJoinedUserSchema, dp as listAppSpecificPasswords, dr as GetRssFeedError, ds as FileMp4Error, dt as TransferStatusSchema, du as listEvents, ea as RedeemPaymentVoucherErrorSpec, ec as GetFileChildErrorSpec, ed as GrantsError, ef as login, ei as ClassifiedPaymentChangePlanSubmitResponse, el as setFileSort, em as PutioQuery, en as restoreTrash, eo as getFriendSharedFolder, ep as CreateAppSpecificPasswordInputSchema, er as listPublicShareFiles, es as FileGetChildInput, et as TransferAddInput, eu as HistoryTransferErrorEventSchema, f as CancelZipErrorSpec, fa as createPaddleWaitingPayment, fc as TouchFilesErrorSpec, fd as OAuthAuthorizationCodeExchangeInputSchema, ff as DeleteOAuthAppError, fi as GetPaymentInfoErrorSpec, fl as sendIftttEvent, fm as requestArrayBuffer, fn as GetPublicShareFileUrlErrorSpec, fo as FriendInviteJoinedUserStatus, fp as AccountClearOptions, fr as GetRssFeedErrorSpec, fs as FileMp4ErrorSpec, ft as TransferType, fu as CreateDownloadLinksError, g as GetZipError, ga as listPaymentHistory, gc as buildFileHlsStreamUrl, gd as RegenerateRecoveryCodesErrorSpec, gf as MyOAuthApp, gi as ListPaymentHistoryErrorSpec, gl as FamilyInviteSchema, gm as selectJsonFields, gn as GetSharingCloneInfoErrorSpec, go as ListFriendInvitesErrorSpec, gp as AccountConfirmationsError, gr as ListRssFeedsErrorSpec, gs as FileQuerySchema, gt as TransfersListQuery, gu as DownloadLinksInfo, h as CreateZipInput, ha as getPaymentVoucherInfo, hc as buildFileApiMp4DownloadUrl, hd as RegenerateRecoveryCodesError, hf as GetOAuthAppErrorSpec, hi as ListPaymentHistoryError, hl as FamilyInvite, hm as selectJsonField, hn as GetSharingCloneInfoError, ho as ListFriendInvitesError, hp as AccountConfirmationSchema, hr as ListRssFeedsError, hs as FileQuery, ht as TransfersContinueResponse, hu as DownloadLinksCreateInputSchema, i as PutioSdk, ia as StopSubscriptionErrorSpec, ic as QueryFilesErrorSpec, id as LoginError, if as resetPassword, ii as CreateOpenNodeChargeErrorSpec, il as uploadFile, im as PutioSdkContext, in as CreatePublicShareErrorSpec, io as removeFriend, ip as DeleteAppSpecificPasswordError, ir as unshareFile, is as FileListResponse, it as TransferBaseSchema, iu as HistoryZipCreatedEvent, j as TunnelRouteSchema, ja as Friend, jc as extractFiles, jd as ValidateTokenResponse, jf as PopularOAuthApp, ji as PaymentHistoryQuery, jl as listFamilyMembers, jm as PutioTransportError, jn as SharedFileShare, jo as FileActiveConversionsError, jp as AccountTwoFactorSettingsSchema, jr as RssFeedParamsSchema, js as FileType, jt as removeTransfers, ju as deleteConfigKey, k as ListTunnelRoutesErrorSpec, ka as DenyFriendRequestError, kc as deleteFileSelection, kd as TwoFactorRecoveryCodes, kf as OwnedOAuthApp, ki as PaymentHistoryItem, kl as joinFamily, km as PutioRateLimitError, kn as SharedFile, ko as FileActiveConversion, kp as AccountSubtitleLanguage, kr as RssFeedItemSucceededSchema, ks as FileTouchInput, kt as listTransfers, ku as PutioJsonPrimitive, l as makePutioSdkEffectClientLayer, la as confirmFastspringOrder, lc as StartFromError, ld as OAuthAuthorizationCodeExchangeError, lf as verifyTOTP, li as GetPaddleBillingInvoiceUrlError, ll as SendIftttEventError, lm as makePutioSdkConfig, ln as GetPublicShareError, lo as FriendInvite, lp as deleteAllAppSpecificPasswords, lr as DeleteRssFeedError, ls as FileMediaMetadata, lt as TransferSchema, lu as deleteEvent, m as CreateZipErrorSpec, ma as getPaymentInfo, mc as buildFileApiDownloadUrl, md as RecoveryCodesErrorSpec, mf as GetOAuthAppError, mi as GetPaymentVoucherInfoErrorSpec, ml as CreateFamilyInviteErrorSpec, mm as requestVoid, mn as GetSharedWithErrorSpec, mo as FriendInviteSchema, mp as AccountConfirmation, mr as ListRssFeedItemsErrorSpec, ms as FileMp4MutationErrorSpec, mt as TransfersAddMultiError, mu as DownloadLinksCreateInput, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as ReportPaymentsErrorSpec, nc as GetFileErrorSpec, nd as LinkDeviceError, nf as regenerateRecoveryCodes, ni as ConfirmFastspringOrderErrorSpec, nl as setStartFrom, nm as PutioSdkConfig, nn as ContinuePublicShareFilesErrorSpec, no as listSentRequests, np as DeleteAllAppSpecificPasswordsError, nr as listSharedFiles, ns as FileHlsStreamUrlOptions, nt as TransferAddTrackersInput, nu as HistoryUploadEventSchema, o as PutioSdkPromiseClient, oa as SubmitPaymentChangePlanErrorSpec, oc as RenameFileErrorSpec, od as LoginInput, of as revokeApp, oi as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ol as GetIftttStatusErrorSpec, om as encodePathSegment, on as CreateSharingCloneErrorSpec, oo as sendFriendRequest, op as ListAppSpecificPasswordsError, or as ClearRssFeedLogsErrorSpec, os as FileMediaInfoFormatSchema, ot as TransferLink, ou as ListEventsError, p as CreateZipError, pa as getPaddleBillingInvoiceUrl, pc as buildFileApiContentUrl, pd as RecoveryCodesError, pf as DeleteOAuthAppErrorSpec, pi as GetPaymentVoucherInfoError, pl as CreateFamilyInviteError, pm as requestJson, pn as GetSharedWithError, po as FriendInviteJoinedUserStatusSchema, pp as AccountClearOptionsSchema, pr as ListRssFeedItemsError, ps as FileMp4MutationError, pt as TransferTypeSchema, pu as CreateDownloadLinksErrorSpec, q as RemoveTransfersError, qa as SendFriendRequestError, qc as moveFiles, qd as getFamilyInvite, qf as setOAuthAppIcon, qi as PaymentSubscriptionInfoSchema, ql as HistoryKnownEventType, qm as parseErrorBody, qn as continuePublicShareFiles, qo as FileDirectAccessOptions, qp as OkResponseSchema, qr as PodcastGetLinksInputSchema, qs as FilesMoveError, qt as TrashFileSchema, qu as FriendInviteLookupErrorSpec, r as DEFAULT_PUTIO_WEB_APP_URL, ra as StopSubscriptionError, rc as QueryFilesError, rd as LinkDeviceErrorSpec, rf as register, ri as CreateOpenNodeChargeError, rl as touchFiles, rm as PutioSdkConfigShape, rn as CreatePublicShareError, ro as listWaitingRequests, rp as DeleteAllAppSpecificPasswordsErrorSpec, rr as shareFiles, rs as FileListContinuationResponse, rt as TransferAddTrackersInputSchema, ru as HistoryVoucherEventSchema, s as createPutioSdkEffectClient, sa as UserSubscriptionStatusSchema, sc as SearchFilesError, sd as LoginResponse, sf as revokeClient, si as CreatePaddleWaitingPaymentError, sl as IftttEventInput, sm as makePutioFetchClient, sn as DeletePublicShareError, so as CreateFriendInviteError, sp as ListAppSpecificPasswordsErrorSpec, sr as CreateRssFeedError, ss as FileMediaInfoSchema, st as TransferRemoveInput, su as ListEventsErrorSpec, t as DEFAULT_PUTIO_API_BASE_URL, ta as ReportPaymentsError, tc as GetFileError, td as GrantsErrorSpec, tf as logout, ti as ConfirmFastspringOrderError, tl as setFilesWatchStatus, tm as PutioQueryValue, tn as ContinuePublicShareFilesError, to as listFriends, tp as CreateAppSpecificPasswordResult, tr as listPublicShares, ts as FileGetChildInputSchema, tt as TransferAddInputSchema, tu as HistoryTransferFromRssErrorEventSchema, u as makePutioSdkLiveClientLayer, ua as createOpenNodeCharge, uc as StartFromErrorSpec, ud as OAuthAuthorizationCodeExchangeErrorCodeSchema, uf as CreateOAuthAppError, ui as GetPaddleBillingInvoiceUrlErrorSpec, ul as SendIftttEventErrorSpec, um as makePutioSdkLayer, un as GetPublicShareErrorSpec, uo as FriendInviteJoinedUser, up as deleteAppSpecificPassword, ur as DeleteRssFeedErrorSpec, us as FileMediaMetadataSchema, ut as TransferStatus, uu as getEventTorrent, v as ListZipsError, va as listPaymentOptions, vc as continueFiles, vd as RegisterErrorSpec, vf as OAuthApp, vi as ListPaymentInvitesErrorSpec, vl as FamilyMember, vm as PutioApiError, vn as ListPublicShareFilesErrorSpec, vo as listFriendInvites, vp as AccountDisk, vr as PauseRssFeedErrorSpec, vs as FileResponseFor, vt as TransfersListResponse, vu as DownloadLinksPayload, w as cancelZip, wa as submitPaymentChangePlan, wc as createFileUploadFormData, wd as RevokeAllOAuthClientsErrorSpec, wf as OAuthAppUpdateInput, wi as PaymentChangePlanPreviewInput, wl as ListFamilyMembersError, wm as PutioKnownOperationErrorContract, wn as PublicShareListQuery, wo as CopyFileErrorSpec, wp as AccountInfoQuery, wr as RetryRssFeedItemErrorSpec, ws as FileStartFromSetInput, wt as continueTransfers, wu as createDownloadLinks, x as ZipInfo, xa as redeemPaymentVoucher, xc as convertFileToMp4, xd as ResetPasswordError, xf as OAuthAppSchema, xi as ListPaymentPlansError, xl as JoinFamilyErrorSpec, xm as PutioErrorEnvelope, xn as ListSharedFilesError, xo as ContinueFilesError, xp as AccountInfoBaseSchema, xr as RetryAllRssFeedItemsError, xs as FileSetSortInputSchema, xt as addTransferTrackers, xu as DownloadLinksStatusSchema, y as ListZipsErrorSpec, ya as listPaymentPlans, yc as continueSearch, yd as RegisterInput, yf as OAuthAppCreateInput, yi as ListPaymentOptionsError, yl as FamilyMemberSchema, ym as PutioAuthError, yn as ListPublicSharesError, yo as CanWriteFileError, yp as AccountDiskSchema, yr as ResumeRssFeedError, ys as FileSearchResponse, yt as addManyTransfers, yu as DownloadLinksPayloadSchema, z as GetTransferError, za as ListSentRequestsError, zc as getFileChild, zd as buildAuthLoginUrl, zf as buildOAuthAppIconUrl, zi as PaymentOptionSchema, zl as EventsListResponse, zm as isPutioAuthError, zn as SharingCloneStatusSchema, zo as FileBroad, zp as SaveAccountSettingsPayloadSchema, zr as listRssFeedItems, zs as FileUploadTransfer, zt as EmptyTrashErrorSpec, zu as AuthorizationCodeSchema } from "./index-TmCCLdXz.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, 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, 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, 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, PutioHttpClientShape, PutioHttpRequest, PutioHttpResponse, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioKnownOperationErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioPathSegment, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdk, PutioSdkConfig, PutioSdkConfigShape, PutioSdkContext, PutioSdkEffectClient, PutioSdkError, 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, 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, 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, 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, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaddleBillingInvoiceUrl, getPaymentInfo, getPaymentVoucherInfo, getPodcastLinks, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getTransferTorrent, getVoucher, 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, makePutioSdkConfig, makePutioSdkEffectClientLayer, makePutioSdkLayer, makePutioSdkLiveClientLayer, makePutioSdkLiveLayer, makeResponseError, mapConfigurationError, mapDecodeErrorToValidationError, mapTransportError, moveFileSelection, moveFiles, parseErrorBody, pauseRssFeed, previewPaymentChangePlan, putMp4ToMyFiles, queryFiles, queryOAuthApps, readConfig, readConfigWith, reannounceTransfer, redeemPaymentVoucher, regenerateOAuthAppToken, regenerateRecoveryCodes, register, removeFamilyMember, removeFriend, removeTransfers, renameFile, reportPayments, requestArrayBuffer, requestJson, 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, touchFiles, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as definePutioOperationErrorSpec, B as mapTransportError, C as PutioConfigurationError, D as PutioTransportError, E as PutioRateLimitError, F as isPutioOperationError, H as responseRateLimitHeaders, I as isPutioRateLimitError, L as makeResponseError, M as isPutioApiError, N as isPutioAuthError, O as PutioValidationError, P as isPutioErrorEnvelope, R as mapConfigurationError, S as PutioAuthError, T as PutioOperationError, U as withOperationErrors, V as parseErrorBody, _ as selectJsonFields, a as PutioSdkConfig, b as DEFAULT_PUTIO_WEB_APP_URL, c as makePutioFetchClient, d as makePutioSdkLayer, f as makePutioSdkLiveLayer, g as selectJsonField, h as requestVoid, i as PutioHttpClient, j as fallbackPutioErrorEnvelope, k as decodePutioErrorEnvelope, l as makePutioFetchLayer, m as requestJson, n as toCursorSelectionForm, o as buildPutioUrl, p as requestArrayBuffer, r as OkResponseSchema, s as encodePathSegment, t as joinCsv, u as makePutioSdkConfig, v as DEFAULT_PUTIO_API_BASE_URL, w as PutioErrorEnvelopeSchema, x as PutioApiError, y as DEFAULT_PUTIO_UPLOAD_BASE_URL, z as mapDecodeErrorToValidationError } from "./forms-
|
|
2
|
-
import { Cause, Context, Effect, Exit, Layer, ManagedRuntime,
|
|
1
|
+
import { A as definePutioOperationErrorSpec, B as mapTransportError, C as PutioConfigurationError, D as PutioTransportError, E as PutioRateLimitError, F as isPutioOperationError, H as responseRateLimitHeaders, I as isPutioRateLimitError, L as makeResponseError, M as isPutioApiError, N as isPutioAuthError, O as PutioValidationError, P as isPutioErrorEnvelope, R as mapConfigurationError, S as PutioAuthError, T as PutioOperationError, U as withOperationErrors, V as parseErrorBody, _ as selectJsonFields, a as PutioSdkConfig, b as DEFAULT_PUTIO_WEB_APP_URL, c as makePutioFetchClient, d as makePutioSdkLayer, f as makePutioSdkLiveLayer, g as selectJsonField, h as requestVoid, i as PutioHttpClient, j as fallbackPutioErrorEnvelope, k as decodePutioErrorEnvelope, l as makePutioFetchLayer, m as requestJson, n as toCursorSelectionForm, o as buildPutioUrl, p as requestArrayBuffer, r as OkResponseSchema, s as encodePathSegment, t as joinCsv, u as makePutioSdkConfig, v as DEFAULT_PUTIO_API_BASE_URL, w as PutioErrorEnvelopeSchema, x as PutioApiError, y as DEFAULT_PUTIO_UPLOAD_BASE_URL, z as mapDecodeErrorToValidationError } from "./forms-bd8oHsdi.js";
|
|
2
|
+
import { Cause, Context, Effect, Exit, Layer, ManagedRuntime, Schema, SchemaIssue, SchemaParser } from "effect";
|
|
3
3
|
//#region src/domains/account.ts
|
|
4
4
|
const RequestedFlag$1 = Schema.Literal(1);
|
|
5
5
|
const AccountDiskSchema = Schema.Struct({
|
|
@@ -657,7 +657,7 @@ const OAuthAuthorizationCodeExchangeErrorCodeSchema = Schema.Literals([
|
|
|
657
657
|
"invalid_request",
|
|
658
658
|
"unauthorized_client"
|
|
659
659
|
]);
|
|
660
|
-
var OAuthAuthorizationCodeExchangeError = class extends Schema.
|
|
660
|
+
var OAuthAuthorizationCodeExchangeError = class extends Schema.TaggedError()("OAuthAuthorizationCodeExchangeError", {
|
|
661
661
|
code: OAuthAuthorizationCodeExchangeErrorCodeSchema,
|
|
662
662
|
status: Schema.Literal(400)
|
|
663
663
|
}) {};
|
|
@@ -1340,15 +1340,15 @@ const snapshotJsonObject = (value) => {
|
|
|
1340
1340
|
};
|
|
1341
1341
|
const isJsonValue = (value) => walkJsonValue(value, "validate")._tag === "Validated";
|
|
1342
1342
|
const isJsonObject = (value) => typeof value === "object" && value !== null && isJsonValue(value) && !Array.isArray(value);
|
|
1343
|
-
const JsonValueSchema = Schema.declareConstructor()([], () => (input, ast) => {
|
|
1343
|
+
const JsonValueSchema = Schema.declareConstructor()([], () => (input, ast, options) => {
|
|
1344
1344
|
const snapshot = snapshotJsonValue(input);
|
|
1345
|
-
return snapshot === void 0 ? Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1345
|
+
return snapshot === void 0 ? Effect.fail(new SchemaIssue.InvalidType(ast, input, options)) : Effect.succeed(snapshot);
|
|
1346
1346
|
}, { expected: "a JSON-compatible value" });
|
|
1347
|
-
const JsonValueResponseSchema = Schema.declareConstructor()([], () => (input, ast) => isJsonValue(input) ? Effect.succeed(input) : Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1348
|
-
const JsonObjectResponseSchema = Schema.declareConstructor()([], () => (input, ast) => isJsonObject(input) ? Effect.succeed(input) : Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1349
|
-
const JsonObjectSchema = Schema.declareConstructor()([], () => (input, ast) => {
|
|
1347
|
+
const JsonValueResponseSchema = Schema.declareConstructor()([], () => (input, ast, options) => isJsonValue(input) ? Effect.succeed(input) : Effect.fail(new SchemaIssue.InvalidType(ast, input, options)), { expected: "a JSON-compatible value" });
|
|
1348
|
+
const JsonObjectResponseSchema = Schema.declareConstructor()([], () => (input, ast, options) => isJsonObject(input) ? Effect.succeed(input) : Effect.fail(new SchemaIssue.InvalidType(ast, input, options)), { expected: "a JSON object" });
|
|
1349
|
+
const JsonObjectSchema = Schema.declareConstructor()([], () => (input, ast, options) => {
|
|
1350
1350
|
const snapshot = snapshotJsonObject(input);
|
|
1351
|
-
return snapshot === void 0 ? Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1351
|
+
return snapshot === void 0 ? Effect.fail(new SchemaIssue.InvalidType(ast, input, options)) : Effect.succeed(snapshot);
|
|
1352
1352
|
}, { expected: "a JSON object" });
|
|
1353
1353
|
const ConfigKeySchema = Schema.String.check(Schema.isMinLength(1), Schema.isPattern(/^(?!\.{1,2}$)/), Schema.makeFilter((key) => key.isWellFormed(), { expected: "a well-formed Unicode config key" }));
|
|
1354
1354
|
const ConfigSetKeyInputSchema = Schema.Struct({
|
|
@@ -1371,7 +1371,7 @@ const getResponseEnvelopeFields = (input, valueField) => {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
const makeConfigEnvelopeSchema = (schema) => Schema.declareConstructor()([schema], ([configSchema]) => (input, ast, options) => {
|
|
1373
1373
|
const fields = getResponseEnvelopeFields(input, "config");
|
|
1374
|
-
if (fields === void 0 || fields.status !== "OK") return Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1374
|
+
if (fields === void 0 || fields.status !== "OK") return Effect.fail(new SchemaIssue.InvalidType(ast, input, options));
|
|
1375
1375
|
return SchemaParser.decodeUnknownEffect(configSchema)(fields.value, options).pipe(Effect.map((config) => ({
|
|
1376
1376
|
config,
|
|
1377
1377
|
status: "OK"
|
|
@@ -1379,7 +1379,7 @@ const makeConfigEnvelopeSchema = (schema) => Schema.declareConstructor()([schema
|
|
|
1379
1379
|
});
|
|
1380
1380
|
const makeConfigValueEnvelopeSchema = (schema) => Schema.declareConstructor()([schema], ([valueSchema]) => (input, ast, options) => {
|
|
1381
1381
|
const fields = getResponseEnvelopeFields(input, "value");
|
|
1382
|
-
if (fields === void 0 || fields.status !== "OK") return Effect.fail(new SchemaIssue.InvalidType(ast,
|
|
1382
|
+
if (fields === void 0 || fields.status !== "OK") return Effect.fail(new SchemaIssue.InvalidType(ast, input, options));
|
|
1383
1383
|
return SchemaParser.decodeUnknownEffect(valueSchema)(fields.value, options).pipe(Effect.map((value) => ({
|
|
1384
1384
|
status: "OK",
|
|
1385
1385
|
value
|
|
@@ -1916,7 +1916,7 @@ const FileCopyInputSchema = Schema.Struct({
|
|
|
1916
1916
|
});
|
|
1917
1917
|
const FileTouchInputSchema = Schema.Struct({
|
|
1918
1918
|
fileIds: Schema.Array(NonNegativeFileIdSchema).check(Schema.isMinLength(1)),
|
|
1919
|
-
updatedAt: Schema.optional(Schema.
|
|
1919
|
+
updatedAt: Schema.optional(Schema.Date)
|
|
1920
1920
|
});
|
|
1921
1921
|
const FileMediaMetadataSchema = Schema.Struct({
|
|
1922
1922
|
aspect_ratio: Schema.optional(Schema.NullOr(Schema.Number.check(Schema.isGreaterThanOrEqualTo(0)))),
|