@putdotio/sdk 10.2.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -2
- package/dist/{index-rAQFKGNX.d.ts → index-FAgKSXHO.d.ts} +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +41 -13
- package/dist/index.js.map +1 -1
- package/dist/utilities.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,17 @@ await sdk.account.appSpecificPasswords.deleteAll();
|
|
|
77
77
|
|
|
78
78
|
The plaintext `password` is returned only by `create`. List results contain metadata instead, including a nullable `last_used_at` timestamp and a null or masked `ip_address`. The Effect client exposes the same namespace with typed errors in its Effect channel.
|
|
79
79
|
|
|
80
|
+
Long-lived Promise clients can replace or clear their token without recreating the client:
|
|
81
|
+
|
|
82
|
+
```ts
|
|
83
|
+
sdk.setAccessToken(nextUserAccessToken);
|
|
84
|
+
const account = await sdk.account.getInfo({});
|
|
85
|
+
|
|
86
|
+
sdk.setAccessToken(undefined);
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
The token is snapshotted when each Promise-client operation is invoked. Token changes apply to subsequent operations; an operation already in flight keeps the snapshot it started with. Base, upload, and web app URLs remain fixed from client creation.
|
|
90
|
+
|
|
80
91
|
## Utilities
|
|
81
92
|
|
|
82
93
|
Shared formatting, URL, and error-localization helpers are available from the utilities subpath:
|
|
@@ -133,12 +144,15 @@ Use `makePutioSdkLayer(...)` with `makePutioFetchLayer(...)` or your own `PutioH
|
|
|
133
144
|
## Side-By-Side Usage
|
|
134
145
|
|
|
135
146
|
Both client styles expose the same domain surface. The Promise client also exposes
|
|
136
|
-
`
|
|
137
|
-
FormData construction.
|
|
147
|
+
`setAccessToken(...)` for token rotation, `dispose()` for runtime teardown, and
|
|
148
|
+
`files.createUploadFormData(...)` for pure FormData construction.
|
|
138
149
|
|
|
139
150
|
```ts
|
|
140
151
|
promiseClient.files.list(0, { per_page: 20 });
|
|
141
152
|
effectClient.files.list(0, { per_page: 20 });
|
|
153
|
+
|
|
154
|
+
promiseClient.setAccessToken(refreshedAccessToken);
|
|
155
|
+
promiseClient.setAccessToken(undefined);
|
|
142
156
|
```
|
|
143
157
|
|
|
144
158
|
Choose the Promise client when you want standard async functions.
|
|
@@ -157,6 +171,7 @@ Effect is the canonical typed surface. The Promise client is an adapter for envi
|
|
|
157
171
|
- Authenticated endpoints need a token through client config or the Effect layer config
|
|
158
172
|
- Effect client: keeps errors in the Effect error channel with operation-specific typing
|
|
159
173
|
- Promise client: throws tagged SDK error objects such as `PutioOperationError`, `PutioApiError`, and `PutioRateLimitError`
|
|
174
|
+
- Promise client: rotates or clears credentials synchronously with `setAccessToken(...)`; each operation snapshots the token active when invoked without recreating its runtime
|
|
160
175
|
- Promise client: owns a managed Effect runtime and exposes `dispose()` for explicit teardown
|
|
161
176
|
|
|
162
177
|
If you create a long-lived Promise client in a script, test harness, or server integration, call `await sdk.dispose()` during teardown.
|
|
@@ -5825,6 +5825,7 @@ declare const makePutioSdkEffectClientLayer: () => Layer.Layer<PutioSdk, never,
|
|
|
5825
5825
|
declare const makePutioSdkLiveClientLayer: (config: PutioSdkConfigShape) => Layer.Layer<PutioHttpClient | PutioSdk | PutioSdkConfig, never, never>;
|
|
5826
5826
|
declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape) => {
|
|
5827
5827
|
dispose: () => Promise<void>;
|
|
5828
|
+
setAccessToken: (accessToken: string | undefined) => void;
|
|
5828
5829
|
account: {
|
|
5829
5830
|
appSpecificPasswords: {
|
|
5830
5831
|
create: (input: CreateAppSpecificPasswordInput) => Promise<CreateAppSpecificPasswordResult>;
|
|
@@ -5891,7 +5892,7 @@ declare const createPutioSdkPromiseClient: (initialConfig?: PutioSdkConfigShape)
|
|
|
5891
5892
|
}>;
|
|
5892
5893
|
};
|
|
5893
5894
|
auth: {
|
|
5894
|
-
buildLoginUrl: typeof buildAuthLoginUrl;
|
|
5895
|
+
buildLoginUrl: (options: Parameters<typeof buildAuthLoginUrl>[0]) => string;
|
|
5895
5896
|
checkCodeMatch: (code: string) => Promise<string | null>;
|
|
5896
5897
|
clients: () => Promise<ReadonlyArray<OAuthAppSession>>;
|
|
5897
5898
|
exists: (key: "mail" | "username", value: string) => Promise<boolean>;
|
|
@@ -6758,4 +6759,4 @@ declare global {
|
|
|
6758
6759
|
}
|
|
6759
6760
|
//#endregion
|
|
6760
6761
|
export { TransferSchema as $, createFriendInvite as $a, EventsListResponse as $c, queryOAuthApps as $d, listAccountSubtitleLanguages as $f, listPaymentInvites as $i, ClientsError as $l, GetRssFeedErrorSpec as $n, FileSubtitlesError as $o, mapDecodeErrorToValidationError as $p, ListPaymentInvitesErrorSpec as $r, getApiDownloadUrl as $s, GetPublicShareFileUrlErrorSpec as $t, generateTOTP as $u, TunnelRoute as A, SendFriendRequestErrorSpec as Aa, FamilyInviteSchema as Ac, OAuthAppSession as Ad, AccountInfoBroad as Af, PaymentVoucherInfo as Ai, DownloadLinksInfo as Al, SharingUnshareInputSchema as An, FileHlsStreamUrlOptions as Ao, PutioErrorEnvelopeSchema as Ap, retryAllRssFeedItems as Ar, SearchFilesErrorSpec as As, RestoreTrashErrorSpec as At, ResetPasswordError as Au, ListTransfersErrorSpec as B, removeFriend as Ba, RemoveFamilyMemberError as Bc, PopularOAuthAppSchema as Bd, AccountWarnings as Bf, SubmitPaymentChangePlanError as Bi, JsonObjectSchema as Bl, getSharingCloneInfo as Bn, FileMp4ErrorSpec as Bo, PutioTypedErrorEnvelope as Bp, CreatePaddleBillingUpdatePaymentMethodTransactionError as Br, convertFileToMp4 as Bs, listTrash as Bt, ValidateTokenResponse as Bu, ZipSummary as C, ListWaitingRequestsError as Ca, SendIftttEventError as Cc, GetOAuthAppErrorSpec as Cd, AccountConfirmationSchema as Cf, PaymentPlanGroupSchema as Ci, deleteEvent as Cl, SharingCloneInfoSchema as Cn, FileDirectAccessOptions as Co, selectJsonField as Cp, createRssFeed as Cr, GetFileError as Cs, DeleteTrashError as Ct, RecoveryCodesErrorSpec as Cu, listZips as D, SearchFriendsError as Da, CreateFamilyInviteError as Dc, OAuthAppCreateInput as Dd, AccountDiskSchema as Df, PaymentProviderSchema as Di, CreateDownloadLinksErrorSpec as Dl, SharingShareInput as Dn, FileExtractionStatusSchema as Do, PutioAuthError as Dp, listRssFeeds as Dr, RenameFileError as Ds, ListTrashError as Dt, RegisterErrorSpec as Du, getZip as E, RemoveFriendErrorSpec as Ea, sendIftttEvent as Ec, OAuthApp as Ed, AccountDisk as Ef, PaymentProviderNameSchema as Ei, CreateDownloadLinksError as El, SharingCloneStatusSchema as En, FileExtractionStatus as Eo, PutioApiError as Ep, listRssFeedItems as Er, QueryFilesErrorSpec as Es, EmptyTrashErrorSpec as Et, RegisterError as Eu, AddTransferError as F, denyFriendRequest as Fa, JoinFamilyErrorSpec as Fc, OAuthSetIconInput as Fd, AccountSettings as Ff, RedeemPaymentVoucherErrorSpec as Fi, DownloadLinksStatusSchema as Fl, createPublicShare as Fn, FileMediaInfoSchema as Fo, PutioOperationErrorSpec as Fp, ConfirmFastspringOrderErrorSpec as Fr, buildFileApiMp4DownloadUrl as Fs, TrashListQuery as Ft, RevokeOAuthClientErrorSpec as Fu, StopRecordingTransferError as G, FriendInvite as Ga, listFamilyMembers as Gc, UpdateOAuthAppError as Gd, SaveAccountSettingsErrorSpec as Gf, createCoinbaseCharge as Gi, deleteConfigKey as Gl, unshareFile as Gn, FileRenameInput as Go, fallbackPutioErrorEnvelope as Gp, GetPaddleBillingInvoiceUrlErrorSpec as Gr, deleteFileExtraction as Gs, CreatePublicShareErrorSpec as Gt, VerifyTOTPResponseSchema as Gu, ReannounceTransferErrorSpec as H, sendFriendRequest as Ha, createFamilyInvite as Hc, QueryOAuthAppsErrorSpec as Hd, PasInfo as Hf, UserSubscriptionStatusSchema as Hi, PutioJsonObject as Hl, listPublicShares as Hn, FileMp4MutationErrorSpec as Ho, PutioValidationError as Hp, CreatePaddleWaitingPaymentError as Hr, createFileUploadFormData as Hs, ContinuePublicShareFilesError as Ht, VerifyTOTPError as Hu, AddTransferErrorSpec as I, getFriendSharedFolder as Ia, ListFamilyInvitesError as Ic, OAuthSetIconInputSchema as Id, AccountSettingsSchema as If, ReportPaymentsError as Ii, GetDownloadLinksError as Il, deletePublicShare as In, FileMediaInfoStreamSchema as Io, PutioOperationFailure as Ip, CreateCoinbaseChargeError as Ir, buildFileHlsStreamUrl as Is, TrashListResponse as It, RevokeOAuthGrantError as Iu, TransferAddInput as J, FriendInviteJoinedUserStatus as Ja, ClearEventsErrorSpec as Jc, buildOAuthAuthorizeUrl as Jd, clearAccount as Jf, createPaddleWaitingPayment as Ji, readConfig as Jl, CreateRssFeedError as Jn, FileSort as Jo, isPutioErrorEnvelope as Jp, GetPaymentVoucherInfoError as Jr, deleteFiles as Js, DeletePublicShareError as Jt, buildAuthLoginUrl as Ju, StopRecordingTransferErrorSpec as K, FriendInviteJoinedUser as Ka, removeFamilyMember as Kc, UpdateOAuthAppErrorSpec as Kd, SaveAccountSettingsPayload as Kf, createOpenNodeCharge as Ki, getConfigKey as Kl, ClearRssFeedLogsError as Kn, FileResponseFor as Ko, isPutioApiError as Kp, GetPaymentInfoError as Kr, deleteFileMp4 as Ks, CreateSharingCloneError as Kt, VoucherLookupError as Ku, GetTransferError as L, listFriends as La, ListFamilyInvitesErrorSpec as Lc, OwnedOAuthApp as Ld, AccountSubtitleLanguage as Lf, ReportPaymentsErrorSpec as Li, GetDownloadLinksErrorSpec as Ll, getPublicShare as Ln, FileMediaMetadata as Lo, PutioRateLimitError as Lp, CreateCoinbaseChargeErrorSpec as Lr, continueFiles as Ls, continueTrash as Lt, RevokeOAuthGrantErrorSpec as Lu, listTunnelRoutes as M, UserSearchResultSchema as Ma, FamilyMember as Mc, OAuthAppUpdateInput as Md, AccountInfoQuery as Mf, PreviewPaymentChangePlanError as Mi, DownloadLinksPayload as Ml, UnshareFileErrorSpec as Mn, FileListResponse as Mo, PutioKnownOperationErrorContract as Mp, updateRssFeed as Mr, StartFromErrorSpec as Ms, TrashContinueResponse as Mt, RevokeAllOAuthClientsError as Mu, AddManyTransfersError as N, approveFriendRequest as Na, FamilyMemberSchema as Nc, OAuthAppUpdateInputSchema as Nd, AccountInfoQuerySchema as Nf, PreviewPaymentChangePlanErrorSpec as Ni, DownloadLinksPayloadSchema as Nl, cloneSharedFiles as Nn, FileMediaInfo as No, PutioOperationError as Np, ClassifiedPaymentChangePlanSubmitResponse as Nr, buildFileApiContentUrl as Ns, TrashFile as Nt, RevokeAllOAuthClientsErrorSpec as Nu, ListTunnelRoutesError as O, SearchFriendsErrorSpec as Oa, CreateFamilyInviteErrorSpec as Oc, OAuthAppCreateInputSchema as Od, AccountInfoBase as Of, PaymentSubscriptionInfoSchema as Oi, DownloadLinksCreateInput as Ol, SharingShareInputSchema as On, FileExtractionsError as Oo, PutioConfigurationError as Op, pauseRssFeed as Or, RenameFileErrorSpec as Os, ListTrashErrorSpec as Ot, RegisterInput as Ou, AddManyTransfersErrorSpec as P, countWaitingRequests as Pa, JoinFamilyError as Pc, OAuthAppWithTokenSchema as Pd, AccountInfoResponseFor as Pf, RedeemPaymentVoucherError as Pi, DownloadLinksStatus as Pl, continuePublicShareFiles as Pn, FileMediaInfoFormatSchema as Po, PutioOperationErrorFromSpec as Pp, ConfirmFastspringOrderError as Pr, buildFileApiDownloadUrl as Ps, TrashFileSchema as Pt, RevokeOAuthClientError as Pu, TransferLink as Q, ListFriendInvitesErrorSpec as Qa, EventsListQuerySchema as Qc, getPopularOAuthApps as Qd, listAccountConfirmations as Qf, listPaymentHistory as Qi, AuthorizationCodeSchema as Ql, GetRssFeedError as Qn, FileSubtitleSchema as Qo, mapConfigurationError as Qp, ListPaymentInvitesError as Qr, getApiContentUrl as Qs, GetPublicShareFileUrlError as Qt, forgotPassword as Qu, GetTransferErrorSpec as R, listSentRequests as Ra, ListFamilyMembersError as Rc, OwnedOAuthAppSchema as Rd, AccountSubtitleLanguageSchema as Rf, StopSubscriptionError as Ri, createDownloadLinks as Rl, getPublicShareFileUrl as Rn, FileMediaMetadataSchema as Ro, PutioSdkError as Rp, CreateOpenNodeChargeError as Rr, continueSearch as Rs, deleteTrash as Rt, TwoFactorRecoveryCodes as Ru, ZipStatusSchema as S, ListSentRequestsErrorSpec as Sa, IftttEventType as Sc, GetOAuthAppError as Sd, AccountConfirmation as Sf, PaymentPlanGroup as Si, clearEvents as Sl, SharingCloneInfo as Sn, FileCreateFolderInput as So, requestVoid as Sp, clearRssFeedLogs as Sr, FolderTypeSchema as Ss, ContinueTrashErrorSpec as St, RecoveryCodesError as Su, createZip as T, RemoveFriendError as Ta, getIftttStatus as Tc, MyOAuthAppSchema as Td, AccountConfirmationsErrorSpec as Tf, PaymentProvider as Ti, listEvents as Tl, SharingCloneInputSchema as Tn, FileExtractionSchema as To, AnyPutioOperationError as Tp, getRssFeed as Tr, QueryFilesError as Ts, EmptyTrashError as Tt, RegenerateRecoveryCodesErrorSpec as Tu, RetryTransferError as U, CreateFriendInviteError as Ua, joinFamily as Uc, RegenerateOAuthAppTokenError as Ud, PasInfoSchema as Uf, classifyPaymentChangePlanResponse as Ui, PutioJsonPrimitive as Ul, listSharedFiles as Un, FileQuery as Uo, decodePutioErrorEnvelope as Up, CreatePaddleWaitingPaymentErrorSpec as Ur, createFileUploadRequest as Us, ContinuePublicShareFilesErrorSpec as Ut, VerifyTOTPErrorSpec as Uu, ReannounceTransferError as V, searchFriends as Va, RemoveFamilyMemberErrorSpec as Vc, QueryOAuthAppsError as Vd, AccountWarningsSchema as Vf, SubmitPaymentChangePlanErrorSpec as Vi, JsonValueSchema as Vl, listPublicShareFiles as Vn, FileMp4MutationError as Vo, PutioUnhandledSdkError as Vp, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec as Vr, convertFilesToMp4 as Vs, restoreTrash as Vt, ValidateTokenResponseSchema as Vu, RetryTransferErrorSpec as W, CreateFriendInviteErrorSpec as Wa, listFamilyInvites as Wc, RegenerateOAuthAppTokenErrorSpec as Wd, SaveAccountSettingsError as Wf, confirmFastspringOrder as Wi, PutioJsonValue as Wl, shareFiles as Wn, FileQuerySchema as Wo, definePutioOperationErrorSpec as Wp, GetPaddleBillingInvoiceUrlError as Wr, createFolder as Ws, CreatePublicShareError as Wt, VerifyTOTPResponse as Wu, TransferBaseSchema as X, FriendInviteSchema as Xa, DeleteEventErrorSpec as Xc, deleteOAuthApp as Xd, getAccountInfo as Xf, getPaymentInfo as Xi, setConfigKey as Xl, DeleteRssFeedError as Xn, FileStartFromSetInput as Xo, isPutioRateLimitError as Xp, ListPaymentHistoryError as Xr, findNextFile as Xs, GetPublicShareError as Xt, clients as Xu, TransferAddInputSchema as Y, FriendInviteJoinedUserStatusSchema as Ya, DeleteEventError as Yc, createOAuthApp as Yd, destroyAccount as Yf, getPaddleBillingInvoiceUrl as Yi, readConfigWith as Yl, CreateRssFeedErrorSpec as Yn, FileSortSchema as Yo, isPutioOperationError as Yp, GetPaymentVoucherInfoErrorSpec as Yr, extractFiles as Ys, DeletePublicShareErrorSpec as Yt, checkCodeMatch as Yu, TransferInfoItem as Z, ListFriendInvitesError as Za, EventsListQuery as Zc, getOAuthApp as Zd, getAccountSettings as Zf, getPaymentVoucherInfo as Zi, writeConfig as Zl, DeleteRssFeedErrorSpec as Zn, FileSubtitle as Zo, makeResponseError as Zp, ListPaymentHistoryErrorSpec as Zr, findNextVideo as Zs, GetPublicShareErrorSpec as Zt, exists as Zu, GetZipErrorSpec as _, FriendSharedFolderError as _a, setStartFrom as _c, verifyTOTP as _d, deleteAllAppSpecificPasswords as _f, PaymentInviteSchema as _i, HistoryVoucherEventSchema as _l, SharedFileSchema as _n, FileBroad as _o, makePutioSdkConfig as _p, RssFeedParams as _r, FilesMoveError as _s, listTransfers as _t, LoginError as _u, PutioSdkEffectClient as a, stopPaymentSubscription as aa, getStartFrom as ac, getVoucher as ad, CreateAppSpecificPasswordError as af, PaymentChangePlanPreviewInput as ai, HistoryFileSharedEvent as al, ListPublicShareFilesErrorSpec as an, DownloadUrlError as ao, PutioHttpRequest as ap, PauseRssFeedErrorSpec as ar, FileUploadErrorSpec as as, TransfersContinueResponse as at, FriendInviteLookupError as au, ZipCreateResponse as b, ListFriendsErrorSpec as ba, GetIftttStatusErrorSpec as bc, DeleteOAuthAppError as bd, AccountClearOptions as bf, PaymentOptionSchema as bi, ListEventsError as bl, SharedFileSharedWith as bn, FileConversionStatusSchema as bo, requestArrayBuffer as bp, UpdateRssFeedError as br, FilesSearchQuerySchema as bs, stopTransferRecording as bt, LoginResponse as bu, createPutioSdkPromiseClient as c, ApproveFriendRequestErrorSpec as ca, listFileSubtitles as cc, login as cd, CreateAppSpecificPasswordInputSchema as cf, PaymentChangePlanSubmitResponse as ci, HistoryKnownEventTypeSchema as cl, ListSharedFilesError as cn, FileActiveConversionSchema as co, PutioQuery as cp, RetryAllRssFeedItemsError as cr, FileUploadResult as cs, TransfersListResponse as ct, GenerateTOTPErrorSpec as cu, CancelZipError as d, DenyFriendRequestError as da, putMp4ToMyFiles as dc, register as dd, DeleteAllAppSpecificPasswordsErrorSpec as df, PaymentHistoryItemSchema as di, HistoryTransferCallbackErrorEventSchema as dl, PublicShareListQuery as dn, FileApiDownloadUrlOptions as do, PutioSdkConfigShape as dp, RetryRssFeedItemErrorSpec as dr, FileWatchStatusError as ds, cancelTransfers as dt, GiftCardLookupError as du, listPaymentOptions as ea, getApiMp4DownloadUrl as ec, getCode as ed, regenerateOAuthAppToken as ef, ListPaymentOptionsError as ei, GetEventTorrentError as el, mapTransportError as em, GetSharedWithError as en, listFriendInvites as eo, saveAccountSettings as ep, ListRssFeedItemsError as er, FileSubtitlesErrorSpec as es, TransferStatus as et, ClientsErrorSpec as eu, CancelZipErrorSpec as f, DenyFriendRequestErrorSpec as fa, queryFiles as fc, resetPassword as fd, DeleteAppSpecificPasswordError as ff, PaymentHistoryQuery as fi, HistoryTransferCompletedEvent as fl, PublicShareListQuerySchema as fn, FileApiMp4DownloadUrlOptions as fo, PutioSdkContext as fp, RssFeed as fr, FileWatchStatusErrorSpec as fs, cleanTransfers as ft, GiftCardLookupErrorSpec as fu, GetZipError as g, FriendSchema as ga, setFilesWatchStatus as gc, validateToken as gd, createAppSpecificPassword as gf, PaymentInvite as gi, HistoryUploadEventSchema as gl, SharedFile as gn, FileBreadcrumbSchema as go, makePutioFetchLayer as gp, RssFeedItemSucceededSchema as gr, FilesListQuerySchema as gs, getTransferInfo as gt, LinkDeviceErrorSpec as gu, CreateZipInput as h, FriendBaseSchema as ha, searchFiles as hc, revokeClient as hd, ListAppSpecificPasswordsErrorSpec as hf, PaymentInfoSchema as hi, HistoryTransferFromRssErrorEventSchema as hl, ShareFilesErrorSpec as hn, FileBreadcrumb as ho, makePutioFetchClient as hp, RssFeedItemSchema as hr, FilesListQuery as hs, getTransfer as ht, LinkDeviceError as hu, PutioSdk as i, reportPayments as ia, getMp4Status as ic, getRecoveryCodes as id, AppSpecificPasswordSchema as if, PaymentChangePlanPreview as ii, HistoryFileFromRssDeletedEventSchema as il, ListPublicShareFilesError as in, CreateFolderErrorSpec as io, PutioHttpClientShape as ip, PauseRssFeedError as ir, FileUploadError as is, TransfersAddMultiError as it, ForgotPasswordErrorSpec as iu, TunnelRouteSchema as j, UserSearchResult as ja, FamilyInvitesResponse as jc, OAuthAppSessionSchema as jd, AccountInfoBroadSchema as jf, PaymentVoucherInfoSchema as ji, DownloadLinksInfoSchema as jl, UnshareFileError as jn, FileListContinuationResponse as jo, PutioKnownErrorContract as jp, retryRssFeedItem as jr, StartFromError as js, TrashBulkInput as jt, ResetPasswordErrorSpec as ju, ListTunnelRoutesErrorSpec as k, SendFriendRequestError as ka, FamilyInvite as kc, OAuthAppSchema as kd, AccountInfoBaseSchema as kf, PaymentTypeSchema as ki, DownloadLinksCreateInputSchema as kl, SharingUnshareInput as kn, FileExtractionsErrorSpec as ko, PutioErrorEnvelope as kp, resumeRssFeed as kr, SearchFilesError as ks, RestoreTrashError as kt, RegisterInputSchema as ku, makePutioSdkEffectClientLayer as l, CountWaitingRequestsError as la, moveFileSelection as lc, logout as ld, CreateAppSpecificPasswordResult as lf, PaymentChangePlanSubmitSchema as li, HistoryPrivateTorrentPinEventSchema as ll, ListSharedFilesErrorSpec as ln, FileActiveConversionsError as lo, PutioQueryValue as lp, RetryAllRssFeedItemsErrorSpec as lr, FileUploadTransfer as ls, addManyTransfers as lt, GenerateTOTPResponse as lu, CreateZipErrorSpec as m, FriendBase as ma, resetStartFrom as mc, revokeApp as md, ListAppSpecificPasswordsError as mf, PaymentInfoPlanSchema as mi, HistoryTransferErrorEventSchema as ml, ShareFilesError as mn, FileBaseSchema as mo, encodePathSegment as mp, RssFeedItemFailedSchema as mr, FilesListEnvelopeSchema as ms, countTransfers as mt, GrantsErrorSpec as mu, DEFAULT_PUTIO_UPLOAD_BASE_URL as n, previewPaymentChangePlan as na, getFile as nc, getFriendInvite as nd, updateOAuthApp as nf, ListPaymentPlansError as ni, HistoryEvent as nl, responseRateLimitHeaders as nm, GetSharingCloneInfoError as nn, ContinueFilesErrorSpec as no, PutioAuth as np, ListRssFeedsError as nr, FileTypeSchema as ns, TransferType as nt, FamilyInviteLookupErrorSpec as nu, PutioSdkPromiseClient as o, submitPaymentChangePlan as oa, listActiveMp4Conversions as oc, grants as od, CreateAppSpecificPasswordErrorSpec as of, PaymentChangePlanPreviewSchema as oi, HistoryFileSharedEventSchema as ol, ListPublicSharesError as on, DownloadUrlErrorSpec as oo, PutioHttpResponse as op, ResumeRssFeedError as or, FileUploadInput as os, TransfersListQuery as ot, FriendInviteLookupErrorSpec as ou, CreateZipError as p, Friend as pa, renameFile as pc, revokeAllClients as pd, DeleteAppSpecificPasswordErrorSpec as pf, PaymentInfo as pi, HistoryTransferCompletedEventSchema as pl, PublicShareSchema as pn, FileBase as po, buildPutioUrl as pp, RssFeedItem as pr, FilesBulkSelection as ps, continueTransfers as pt, GrantsError as pu, Transfer as q, FriendInviteJoinedUserSchema as qa, ClearEventsError as qc, buildOAuthAppIconUrl as qd, SaveAccountSettingsPayloadSchema as qf, createPaddleBillingUpdatePaymentMethodTransaction as qi, getConfigKeyWith as ql, ClearRssFeedLogsErrorSpec as qn, FileSearchResponse as qo, isPutioAuthError as qp, GetPaymentInfoErrorSpec as qr, deleteFileSelection as qs, CreateSharingCloneErrorSpec as qt, VoucherLookupErrorSpec as qu, DEFAULT_PUTIO_WEB_APP_URL as r, redeemPaymentVoucher as ra, getHlsStreamUrl as rc, getGiftCard as rd, AppSpecificPassword as rf, ListPaymentPlansErrorSpec as ri, HistoryEventSchema as rl, withOperationErrors as rm, GetSharingCloneInfoErrorSpec as rn, CreateFolderError as ro, PutioHttpClient as rp, ListRssFeedsErrorSpec as rr, FileUploadEnvelope as rs, TransferTypeSchema as rt, ForgotPasswordError as ru, createPutioSdkEffectClient as s, ApproveFriendRequestError as sa, listFileExtractions as sc, linkDevice as sd, CreateAppSpecificPasswordInput as sf, PaymentChangePlanSubmitInput as si, HistoryKnownEventType as sl, ListPublicSharesErrorSpec as sn, FileActiveConversion as so, PutioPathSegment as sp, ResumeRssFeedErrorSpec as sr, FileUploadRequestDescriptor as ss, TransfersListQuerySchema as st, GenerateTOTPError as su, DEFAULT_PUTIO_API_BASE_URL as t, listPaymentPlans as ta, getDownloadUrl as tc, getFamilyInvite as td, setOAuthAppIcon as tf, ListPaymentOptionsErrorSpec as ti, GetEventTorrentErrorSpec as tl, parseErrorBody as tm, GetSharedWithErrorSpec as tn, ContinueFilesError as to, OkResponseSchema as tp, ListRssFeedItemsErrorSpec as tr, FileType as ts, TransferStatusSchema as tt, FamilyInviteLookupError as tu, makePutioSdkLiveClientLayer as u, CountWaitingRequestsErrorSpec as ua, moveFiles as uc, regenerateRecoveryCodes as ud, DeleteAllAppSpecificPasswordsError as uf, PaymentHistoryItem as ui, HistoryRssFilterPausedEventSchema as ul, PublicShare as un, FileActiveConversionsErrorSpec as uo, PutioSdkConfig as up, RetryRssFeedItemError as ur, FileVideoMetadata as us, addTransfer as ut, GenerateTOTPResponseSchema as uu, ListZipsError as v, FriendSharedFolderErrorSpec as va, uploadFile as vc, CreateOAuthAppError as vd, deleteAppSpecificPassword as vf, PaymentOption as vi, HistoryZipCreatedEvent as vl, SharedFileShare as vn, FileBroadSchema as vo, makePutioSdkLayer as vp, RssFeedParamsSchema as vr, FilesMoveErrorSchema as vs, reannounceTransfer as vt, LoginErrorSpec as vu, cancelZip as w, ListWaitingRequestsErrorSpec as wa, SendIftttEventErrorSpec as wc, MyOAuthApp as wd, AccountConfirmationsError as wf, PaymentPlanTypeSchema as wi, getEventTorrent as wl, SharingCloneInput as wn, FileExtraction as wo, selectJsonFields as wp, deleteRssFeed as wr, GetFileErrorSpec as ws, DeleteTrashErrorSpec as wt, RegenerateRecoveryCodesError as wu, ZipInfo as x, ListSentRequestsError as xa, IftttEventInput as xc, DeleteOAuthAppErrorSpec as xd, AccountClearOptionsSchema as xf, PaymentPaddleWaitingPaymentInput as xi, ListEventsErrorSpec as xl, SharedFileSharedWithSchema as xn, FileCore as xo, requestJson as xp, UpdateRssFeedErrorSpec as xr, FolderType as xs, ContinueTrashError as xt, LoginResponseSchema as xu, ListZipsErrorSpec as y, ListFriendsError as ya, GetIftttStatusError as yc, CreateOAuthAppErrorSpec as yd, listAppSpecificPasswords as yf, PaymentOptionPlanTypeSchema as yi, HistoryZipCreatedEventSchema as yl, SharedFileShareSchema as yn, FileConversionStatus as yo, makePutioSdkLiveLayer as yp, RssFeedSchema as yr, FilesSearchQuery as ys, retryTransfer as yt, LoginInput as yu, ListTransfersError as z, listWaitingRequests as za, ListFamilyMembersErrorSpec as zc, PopularOAuthApp as zd, AccountTwoFactorSettingsSchema as zf, StopSubscriptionErrorSpec as zi, getDownloadLinks as zl, getSharedWith as zn, FileMp4Error as zo, PutioTransportError as zp, CreateOpenNodeChargeErrorSpec as zr, convertFileSelectionToMp4 as zs, emptyTrash as zt, TwoFactorRecoveryCodesSchema as zu };
|
|
6761
|
-
//# sourceMappingURL=index-
|
|
6762
|
+
//# sourceMappingURL=index-FAgKSXHO.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TransferSchema, $a as createFriendInvite, $c as EventsListResponse, $d as queryOAuthApps, $f as listAccountSubtitleLanguages, $i as listPaymentInvites, $l as ClientsError, $n as GetRssFeedErrorSpec, $o as FileSubtitlesError, $p as mapDecodeErrorToValidationError, $r as ListPaymentInvitesErrorSpec, $s as getApiDownloadUrl, $t as GetPublicShareFileUrlErrorSpec, $u as generateTOTP, A as TunnelRoute, Aa as SendFriendRequestErrorSpec, Ac as FamilyInviteSchema, Ad as OAuthAppSession, Af as AccountInfoBroad, Ai as PaymentVoucherInfo, Al as DownloadLinksInfo, An as SharingUnshareInputSchema, Ao as FileHlsStreamUrlOptions, Ap as PutioErrorEnvelopeSchema, Ar as retryAllRssFeedItems, As as SearchFilesErrorSpec, At as RestoreTrashErrorSpec, Au as ResetPasswordError, B as ListTransfersErrorSpec, Ba as removeFriend, Bc as RemoveFamilyMemberError, Bd as PopularOAuthAppSchema, Bf as AccountWarnings, Bi as SubmitPaymentChangePlanError, Bl as JsonObjectSchema, Bn as getSharingCloneInfo, Bo as FileMp4ErrorSpec, Bp as PutioTypedErrorEnvelope, Br as CreatePaddleBillingUpdatePaymentMethodTransactionError, Bs as convertFileToMp4, Bt as listTrash, Bu as ValidateTokenResponse, C as ZipSummary, Ca as ListWaitingRequestsError, Cc as SendIftttEventError, Cd as GetOAuthAppErrorSpec, Cf as AccountConfirmationSchema, Ci as PaymentPlanGroupSchema, Cl as deleteEvent, Cn as SharingCloneInfoSchema, Co as FileDirectAccessOptions, Cp as selectJsonField, Cr as createRssFeed, Cs as GetFileError, Ct as DeleteTrashError, Cu as RecoveryCodesErrorSpec, D as listZips, Da as SearchFriendsError, Dc as CreateFamilyInviteError, Dd as OAuthAppCreateInput, Df as AccountDiskSchema, Di as PaymentProviderSchema, Dl as CreateDownloadLinksErrorSpec, Dn as SharingShareInput, Do as FileExtractionStatusSchema, Dp as PutioAuthError, Dr as listRssFeeds, Ds as RenameFileError, Dt as ListTrashError, Du as RegisterErrorSpec, E as getZip, Ea as RemoveFriendErrorSpec, Ec as sendIftttEvent, Ed as OAuthApp, Ef as AccountDisk, Ei as PaymentProviderNameSchema, El as CreateDownloadLinksError, En as SharingCloneStatusSchema, Eo as FileExtractionStatus, Ep as PutioApiError, Er as listRssFeedItems, Es as QueryFilesErrorSpec, Et as EmptyTrashErrorSpec, Eu as RegisterError, F as AddTransferError, Fa as denyFriendRequest, Fc as JoinFamilyErrorSpec, Fd as OAuthSetIconInput, Ff as AccountSettings, Fi as RedeemPaymentVoucherErrorSpec, Fl as DownloadLinksStatusSchema, Fn as createPublicShare, Fo as FileMediaInfoSchema, Fp as PutioOperationErrorSpec, Fr as ConfirmFastspringOrderErrorSpec, Fs as buildFileApiMp4DownloadUrl, Ft as TrashListQuery, Fu as RevokeOAuthClientErrorSpec, G as StopRecordingTransferError, Ga as FriendInvite, Gc as listFamilyMembers, Gd as UpdateOAuthAppError, Gf as SaveAccountSettingsErrorSpec, Gi as createCoinbaseCharge, Gl as deleteConfigKey, Gn as unshareFile, Go as FileRenameInput, Gp as fallbackPutioErrorEnvelope, Gr as GetPaddleBillingInvoiceUrlErrorSpec, Gs as deleteFileExtraction, Gt as CreatePublicShareErrorSpec, Gu as VerifyTOTPResponseSchema, H as ReannounceTransferErrorSpec, Ha as sendFriendRequest, Hc as createFamilyInvite, Hd as QueryOAuthAppsErrorSpec, Hf as PasInfo, Hi as UserSubscriptionStatusSchema, Hl as PutioJsonObject, Hn as listPublicShares, Ho as FileMp4MutationErrorSpec, Hp as PutioValidationError, Hr as CreatePaddleWaitingPaymentError, Hs as createFileUploadFormData, Ht as ContinuePublicShareFilesError, Hu as VerifyTOTPError, I as AddTransferErrorSpec, Ia as getFriendSharedFolder, Ic as ListFamilyInvitesError, Id as OAuthSetIconInputSchema, If as AccountSettingsSchema, Ii as ReportPaymentsError, Il as GetDownloadLinksError, In as deletePublicShare, Io as FileMediaInfoStreamSchema, Ip as PutioOperationFailure, Ir as CreateCoinbaseChargeError, Is as buildFileHlsStreamUrl, It as TrashListResponse, Iu as RevokeOAuthGrantError, J as TransferAddInput, Ja as FriendInviteJoinedUserStatus, Jc as ClearEventsErrorSpec, Jd as buildOAuthAuthorizeUrl, Jf as clearAccount, Ji as createPaddleWaitingPayment, Jl as readConfig, Jn as CreateRssFeedError, Jo as FileSort, Jp as isPutioErrorEnvelope, Jr as GetPaymentVoucherInfoError, Js as deleteFiles, Jt as DeletePublicShareError, Ju as buildAuthLoginUrl, K as StopRecordingTransferErrorSpec, Ka as FriendInviteJoinedUser, Kc as removeFamilyMember, Kd as UpdateOAuthAppErrorSpec, Kf as SaveAccountSettingsPayload, Ki as createOpenNodeCharge, Kl as getConfigKey, Kn as ClearRssFeedLogsError, Ko as FileResponseFor, Kp as isPutioApiError, Kr as GetPaymentInfoError, Ks as deleteFileMp4, Kt as CreateSharingCloneError, Ku as VoucherLookupError, L as GetTransferError, La as listFriends, Lc as ListFamilyInvitesErrorSpec, Ld as OwnedOAuthApp, Lf as AccountSubtitleLanguage, Li as ReportPaymentsErrorSpec, Ll as GetDownloadLinksErrorSpec, Ln as getPublicShare, Lo as FileMediaMetadata, Lp as PutioRateLimitError, Lr as CreateCoinbaseChargeErrorSpec, Ls as continueFiles, Lt as continueTrash, Lu as RevokeOAuthGrantErrorSpec, M as listTunnelRoutes, Ma as UserSearchResultSchema, Mc as FamilyMember, Md as OAuthAppUpdateInput, Mf as AccountInfoQuery, Mi as PreviewPaymentChangePlanError, Ml as DownloadLinksPayload, Mn as UnshareFileErrorSpec, Mo as FileListResponse, Mp as PutioKnownOperationErrorContract, Mr as updateRssFeed, Ms as StartFromErrorSpec, Mt as TrashContinueResponse, Mu as RevokeAllOAuthClientsError, N as AddManyTransfersError, Na as approveFriendRequest, Nc as FamilyMemberSchema, Nd as OAuthAppUpdateInputSchema, Nf as AccountInfoQuerySchema, Ni as PreviewPaymentChangePlanErrorSpec, Nl as DownloadLinksPayloadSchema, Nn as cloneSharedFiles, No as FileMediaInfo, Np as PutioOperationError, Nr as ClassifiedPaymentChangePlanSubmitResponse, Ns as buildFileApiContentUrl, Nt as TrashFile, Nu as RevokeAllOAuthClientsErrorSpec, O as ListTunnelRoutesError, Oa as SearchFriendsErrorSpec, Oc as CreateFamilyInviteErrorSpec, Od as OAuthAppCreateInputSchema, Of as AccountInfoBase, Oi as PaymentSubscriptionInfoSchema, Ol as DownloadLinksCreateInput, On as SharingShareInputSchema, Oo as FileExtractionsError, Op as PutioConfigurationError, Or as pauseRssFeed, Os as RenameFileErrorSpec, Ot as ListTrashErrorSpec, Ou as RegisterInput, P as AddManyTransfersErrorSpec, Pa as countWaitingRequests, Pc as JoinFamilyError, Pd as OAuthAppWithTokenSchema, Pf as AccountInfoResponseFor, Pi as RedeemPaymentVoucherError, Pl as DownloadLinksStatus, Pn as continuePublicShareFiles, Po as FileMediaInfoFormatSchema, Pp as PutioOperationErrorFromSpec, Pr as ConfirmFastspringOrderError, Ps as buildFileApiDownloadUrl, Pt as TrashFileSchema, Pu as RevokeOAuthClientError, Q as TransferLink, Qa as ListFriendInvitesErrorSpec, Qc as EventsListQuerySchema, Qd as getPopularOAuthApps, Qf as listAccountConfirmations, Qi as listPaymentHistory, Ql as AuthorizationCodeSchema, Qn as GetRssFeedError, Qo as FileSubtitleSchema, Qp as mapConfigurationError, Qr as ListPaymentInvitesError, Qs as getApiContentUrl, Qt as GetPublicShareFileUrlError, Qu as forgotPassword, R as GetTransferErrorSpec, Ra as listSentRequests, Rc as ListFamilyMembersError, Rd as OwnedOAuthAppSchema, Rf as AccountSubtitleLanguageSchema, Ri as StopSubscriptionError, Rl as createDownloadLinks, Rn as getPublicShareFileUrl, Ro as FileMediaMetadataSchema, Rp as PutioSdkError, Rr as CreateOpenNodeChargeError, Rs as continueSearch, Rt as deleteTrash, Ru as TwoFactorRecoveryCodes, S as ZipStatusSchema, Sa as ListSentRequestsErrorSpec, Sc as IftttEventType, Sd as GetOAuthAppError, Sf as AccountConfirmation, Si as PaymentPlanGroup, Sl as clearEvents, Sn as SharingCloneInfo, So as FileCreateFolderInput, Sp as requestVoid, Sr as clearRssFeedLogs, Ss as FolderTypeSchema, St as ContinueTrashErrorSpec, Su as RecoveryCodesError, T as createZip, Ta as RemoveFriendError, Tc as getIftttStatus, Td as MyOAuthAppSchema, Tf as AccountConfirmationsErrorSpec, Ti as PaymentProvider, Tl as listEvents, Tn as SharingCloneInputSchema, To as FileExtractionSchema, Tp as AnyPutioOperationError, Tr as getRssFeed, Ts as QueryFilesError, Tt as EmptyTrashError, Tu as RegenerateRecoveryCodesErrorSpec, U as RetryTransferError, Ua as CreateFriendInviteError, Uc as joinFamily, Ud as RegenerateOAuthAppTokenError, Uf as PasInfoSchema, Ui as classifyPaymentChangePlanResponse, Ul as PutioJsonPrimitive, Un as listSharedFiles, Uo as FileQuery, Up as decodePutioErrorEnvelope, Ur as CreatePaddleWaitingPaymentErrorSpec, Us as createFileUploadRequest, Ut as ContinuePublicShareFilesErrorSpec, Uu as VerifyTOTPErrorSpec, V as ReannounceTransferError, Va as searchFriends, Vc as RemoveFamilyMemberErrorSpec, Vd as QueryOAuthAppsError, Vf as AccountWarningsSchema, Vi as SubmitPaymentChangePlanErrorSpec, Vl as JsonValueSchema, Vn as listPublicShareFiles, Vo as FileMp4MutationError, Vp as PutioUnhandledSdkError, Vr as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, Vs as convertFilesToMp4, Vt as restoreTrash, Vu as ValidateTokenResponseSchema, W as RetryTransferErrorSpec, Wa as CreateFriendInviteErrorSpec, Wc as listFamilyInvites, Wd as RegenerateOAuthAppTokenErrorSpec, Wf as SaveAccountSettingsError, Wi as confirmFastspringOrder, Wl as PutioJsonValue, Wn as shareFiles, Wo as FileQuerySchema, Wp as definePutioOperationErrorSpec, Wr as GetPaddleBillingInvoiceUrlError, Ws as createFolder, Wt as CreatePublicShareError, Wu as VerifyTOTPResponse, X as TransferBaseSchema, Xa as FriendInviteSchema, Xc as DeleteEventErrorSpec, Xd as deleteOAuthApp, Xf as getAccountInfo, Xi as getPaymentInfo, Xl as setConfigKey, Xn as DeleteRssFeedError, Xo as FileStartFromSetInput, Xp as isPutioRateLimitError, Xr as ListPaymentHistoryError, Xs as findNextFile, Xt as GetPublicShareError, Xu as clients, Y as TransferAddInputSchema, Ya as FriendInviteJoinedUserStatusSchema, Yc as DeleteEventError, Yd as createOAuthApp, Yf as destroyAccount, Yi as getPaddleBillingInvoiceUrl, Yl as readConfigWith, Yn as CreateRssFeedErrorSpec, Yo as FileSortSchema, Yp as isPutioOperationError, Yr as GetPaymentVoucherInfoErrorSpec, Ys as extractFiles, Yt as DeletePublicShareErrorSpec, Yu as checkCodeMatch, Z as TransferInfoItem, Za as ListFriendInvitesError, Zc as EventsListQuery, Zd as getOAuthApp, Zf as getAccountSettings, Zi as getPaymentVoucherInfo, Zl as writeConfig, Zn as DeleteRssFeedErrorSpec, Zo as FileSubtitle, Zp as makeResponseError, Zr as ListPaymentHistoryErrorSpec, Zs as findNextVideo, Zt as GetPublicShareErrorSpec, Zu as exists, _ as GetZipErrorSpec, _a as FriendSharedFolderError, _c as setStartFrom, _d as verifyTOTP, _f as deleteAllAppSpecificPasswords, _i as PaymentInviteSchema, _l as HistoryVoucherEventSchema, _n as SharedFileSchema, _o as FileBroad, _p as makePutioSdkConfig, _r as RssFeedParams, _s as FilesMoveError, _t as listTransfers, _u as LoginError, a as PutioSdkEffectClient, aa as stopPaymentSubscription, ac as getStartFrom, ad as getVoucher, af as CreateAppSpecificPasswordError, ai as PaymentChangePlanPreviewInput, al as HistoryFileSharedEvent, an as ListPublicShareFilesErrorSpec, ao as DownloadUrlError, ap as PutioHttpRequest, ar as PauseRssFeedErrorSpec, as as FileUploadErrorSpec, at as TransfersContinueResponse, au as FriendInviteLookupError, b as ZipCreateResponse, ba as ListFriendsErrorSpec, bc as GetIftttStatusErrorSpec, bd as DeleteOAuthAppError, bf as AccountClearOptions, bi as PaymentOptionSchema, bl as ListEventsError, bn as SharedFileSharedWith, bo as FileConversionStatusSchema, bp as requestArrayBuffer, br as UpdateRssFeedError, bs as FilesSearchQuerySchema, bt as stopTransferRecording, bu as LoginResponse, c as createPutioSdkPromiseClient, ca as ApproveFriendRequestErrorSpec, cc as listFileSubtitles, cd as login, cf as CreateAppSpecificPasswordInputSchema, ci as PaymentChangePlanSubmitResponse, cl as HistoryKnownEventTypeSchema, cn as ListSharedFilesError, co as FileActiveConversionSchema, cp as PutioQuery, cr as RetryAllRssFeedItemsError, cs as FileUploadResult, ct as TransfersListResponse, cu as GenerateTOTPErrorSpec, d as CancelZipError, da as DenyFriendRequestError, dc as putMp4ToMyFiles, dd as register, df as DeleteAllAppSpecificPasswordsErrorSpec, di as PaymentHistoryItemSchema, dl as HistoryTransferCallbackErrorEventSchema, dn as PublicShareListQuery, do as FileApiDownloadUrlOptions, dp as PutioSdkConfigShape, dr as RetryRssFeedItemErrorSpec, ds as FileWatchStatusError, dt as cancelTransfers, du as GiftCardLookupError, ea as listPaymentOptions, ec as getApiMp4DownloadUrl, ed as getCode, ef as regenerateOAuthAppToken, ei as ListPaymentOptionsError, el as GetEventTorrentError, em as mapTransportError, en as GetSharedWithError, eo as listFriendInvites, ep as saveAccountSettings, er as ListRssFeedItemsError, es as FileSubtitlesErrorSpec, et as TransferStatus, eu as ClientsErrorSpec, f as CancelZipErrorSpec, fa as DenyFriendRequestErrorSpec, fc as queryFiles, fd as resetPassword, ff as DeleteAppSpecificPasswordError, fi as PaymentHistoryQuery, fl as HistoryTransferCompletedEvent, fn as PublicShareListQuerySchema, fo as FileApiMp4DownloadUrlOptions, fp as PutioSdkContext, fr as RssFeed, fs as FileWatchStatusErrorSpec, ft as cleanTransfers, fu as GiftCardLookupErrorSpec, g as GetZipError, ga as FriendSchema, gc as setFilesWatchStatus, gd as validateToken, gf as createAppSpecificPassword, gi as PaymentInvite, gl as HistoryUploadEventSchema, gn as SharedFile, go as FileBreadcrumbSchema, gp as makePutioFetchLayer, gr as RssFeedItemSucceededSchema, gs as FilesListQuerySchema, gt as getTransferInfo, gu as LinkDeviceErrorSpec, h as CreateZipInput, ha as FriendBaseSchema, hc as searchFiles, hd as revokeClient, hf as ListAppSpecificPasswordsErrorSpec, hi as PaymentInfoSchema, hl as HistoryTransferFromRssErrorEventSchema, hn as ShareFilesErrorSpec, ho as FileBreadcrumb, hp as makePutioFetchClient, hr as RssFeedItemSchema, hs as FilesListQuery, ht as getTransfer, hu as LinkDeviceError, i as PutioSdk, ia as reportPayments, ic as getMp4Status, id as getRecoveryCodes, if as AppSpecificPasswordSchema, ii as PaymentChangePlanPreview, il as HistoryFileFromRssDeletedEventSchema, in as ListPublicShareFilesError, io as CreateFolderErrorSpec, ip as PutioHttpClientShape, ir as PauseRssFeedError, is as FileUploadError, it as TransfersAddMultiError, iu as ForgotPasswordErrorSpec, j as TunnelRouteSchema, ja as UserSearchResult, jc as FamilyInvitesResponse, jd as OAuthAppSessionSchema, jf as AccountInfoBroadSchema, ji as PaymentVoucherInfoSchema, jl as DownloadLinksInfoSchema, jn as UnshareFileError, jo as FileListContinuationResponse, jp as PutioKnownErrorContract, jr as retryRssFeedItem, js as StartFromError, jt as TrashBulkInput, ju as ResetPasswordErrorSpec, k as ListTunnelRoutesErrorSpec, ka as SendFriendRequestError, kc as FamilyInvite, kd as OAuthAppSchema, kf as AccountInfoBaseSchema, ki as PaymentTypeSchema, kl as DownloadLinksCreateInputSchema, kn as SharingUnshareInput, ko as FileExtractionsErrorSpec, kp as PutioErrorEnvelope, kr as resumeRssFeed, ks as SearchFilesError, kt as RestoreTrashError, ku as RegisterInputSchema, l as makePutioSdkEffectClientLayer, la as CountWaitingRequestsError, lc as moveFileSelection, ld as logout, lf as CreateAppSpecificPasswordResult, li as PaymentChangePlanSubmitSchema, ll as HistoryPrivateTorrentPinEventSchema, ln as ListSharedFilesErrorSpec, lo as FileActiveConversionsError, lp as PutioQueryValue, lr as RetryAllRssFeedItemsErrorSpec, ls as FileUploadTransfer, lt as addManyTransfers, lu as GenerateTOTPResponse, m as CreateZipErrorSpec, ma as FriendBase, mc as resetStartFrom, md as revokeApp, mf as ListAppSpecificPasswordsError, mi as PaymentInfoPlanSchema, ml as HistoryTransferErrorEventSchema, mn as ShareFilesError, mo as FileBaseSchema, mp as encodePathSegment, mr as RssFeedItemFailedSchema, ms as FilesListEnvelopeSchema, mt as countTransfers, mu as GrantsErrorSpec, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as previewPaymentChangePlan, nc as getFile, nd as getFriendInvite, nf as updateOAuthApp, ni as ListPaymentPlansError, nl as HistoryEvent, nm as responseRateLimitHeaders, nn as GetSharingCloneInfoError, no as ContinueFilesErrorSpec, np as PutioAuth, nr as ListRssFeedsError, ns as FileTypeSchema, nt as TransferType, nu as FamilyInviteLookupErrorSpec, o as PutioSdkPromiseClient, oa as submitPaymentChangePlan, oc as listActiveMp4Conversions, od as grants, of as CreateAppSpecificPasswordErrorSpec, oi as PaymentChangePlanPreviewSchema, ol as HistoryFileSharedEventSchema, on as ListPublicSharesError, oo as DownloadUrlErrorSpec, op as PutioHttpResponse, or as ResumeRssFeedError, os as FileUploadInput, ot as TransfersListQuery, ou as FriendInviteLookupErrorSpec, p as CreateZipError, pa as Friend, pc as renameFile, pd as revokeAllClients, pf as DeleteAppSpecificPasswordErrorSpec, pi as PaymentInfo, pl as HistoryTransferCompletedEventSchema, pn as PublicShareSchema, po as FileBase, pp as buildPutioUrl, pr as RssFeedItem, ps as FilesBulkSelection, pt as continueTransfers, pu as GrantsError, q as Transfer, qa as FriendInviteJoinedUserSchema, qc as ClearEventsError, qd as buildOAuthAppIconUrl, qf as SaveAccountSettingsPayloadSchema, qi as createPaddleBillingUpdatePaymentMethodTransaction, ql as getConfigKeyWith, qn as ClearRssFeedLogsErrorSpec, qo as FileSearchResponse, qp as isPutioAuthError, qr as GetPaymentInfoErrorSpec, qs as deleteFileSelection, qt as CreateSharingCloneErrorSpec, qu as VoucherLookupErrorSpec, r as DEFAULT_PUTIO_WEB_APP_URL, ra as redeemPaymentVoucher, rc as getHlsStreamUrl, rd as getGiftCard, rf as AppSpecificPassword, ri as ListPaymentPlansErrorSpec, rl as HistoryEventSchema, rm as withOperationErrors, rn as GetSharingCloneInfoErrorSpec, ro as CreateFolderError, rp as PutioHttpClient, rr as ListRssFeedsErrorSpec, rs as FileUploadEnvelope, rt as TransferTypeSchema, ru as ForgotPasswordError, s as createPutioSdkEffectClient, sa as ApproveFriendRequestError, sc as listFileExtractions, sd as linkDevice, sf as CreateAppSpecificPasswordInput, si as PaymentChangePlanSubmitInput, sl as HistoryKnownEventType, sn as ListPublicSharesErrorSpec, so as FileActiveConversion, sp as PutioPathSegment, sr as ResumeRssFeedErrorSpec, ss as FileUploadRequestDescriptor, st as TransfersListQuerySchema, su as GenerateTOTPError, t as DEFAULT_PUTIO_API_BASE_URL, ta as listPaymentPlans, tc as getDownloadUrl, td as getFamilyInvite, tf as setOAuthAppIcon, ti as ListPaymentOptionsErrorSpec, tl as GetEventTorrentErrorSpec, tm as parseErrorBody, tn as GetSharedWithErrorSpec, to as ContinueFilesError, tp as OkResponseSchema, tr as ListRssFeedItemsErrorSpec, ts as FileType, tt as TransferStatusSchema, tu as FamilyInviteLookupError, u as makePutioSdkLiveClientLayer, ua as CountWaitingRequestsErrorSpec, uc as moveFiles, ud as regenerateRecoveryCodes, uf as DeleteAllAppSpecificPasswordsError, ui as PaymentHistoryItem, ul as HistoryRssFilterPausedEventSchema, un as PublicShare, uo as FileActiveConversionsErrorSpec, up as PutioSdkConfig, ur as RetryRssFeedItemError, us as FileVideoMetadata, ut as addTransfer, uu as GenerateTOTPResponseSchema, v as ListZipsError, va as FriendSharedFolderErrorSpec, vc as uploadFile, vd as CreateOAuthAppError, vf as deleteAppSpecificPassword, vi as PaymentOption, vl as HistoryZipCreatedEvent, vn as SharedFileShare, vo as FileBroadSchema, vp as makePutioSdkLayer, vr as RssFeedParamsSchema, vs as FilesMoveErrorSchema, vt as reannounceTransfer, vu as LoginErrorSpec, w as cancelZip, wa as ListWaitingRequestsErrorSpec, wc as SendIftttEventErrorSpec, wd as MyOAuthApp, wf as AccountConfirmationsError, wi as PaymentPlanTypeSchema, wl as getEventTorrent, wn as SharingCloneInput, wo as FileExtraction, wp as selectJsonFields, wr as deleteRssFeed, ws as GetFileErrorSpec, wt as DeleteTrashErrorSpec, wu as RegenerateRecoveryCodesError, x as ZipInfo, xa as ListSentRequestsError, xc as IftttEventInput, xd as DeleteOAuthAppErrorSpec, xf as AccountClearOptionsSchema, xi as PaymentPaddleWaitingPaymentInput, xl as ListEventsErrorSpec, xn as SharedFileSharedWithSchema, xo as FileCore, xp as requestJson, xr as UpdateRssFeedErrorSpec, xs as FolderType, xt as ContinueTrashError, xu as LoginResponseSchema, y as ListZipsErrorSpec, ya as ListFriendsError, yc as GetIftttStatusError, yd as CreateOAuthAppErrorSpec, yf as listAppSpecificPasswords, yi as PaymentOptionPlanTypeSchema, yl as HistoryZipCreatedEventSchema, yn as SharedFileShareSchema, yo as FileConversionStatus, yp as makePutioSdkLiveLayer, yr as RssFeedSchema, ys as FilesSearchQuery, yt as retryTransfer, yu as LoginInput, z as ListTransfersError, za as listWaitingRequests, zc as ListFamilyMembersErrorSpec, zd as PopularOAuthApp, zf as AccountTwoFactorSettingsSchema, zi as StopSubscriptionErrorSpec, zl as getDownloadLinks, zn as getSharedWith, zo as FileMp4Error, zp as PutioTransportError, zr as CreateOpenNodeChargeErrorSpec, zs as convertFileSelectionToMp4, zt as emptyTrash, zu as TwoFactorRecoveryCodesSchema } from "./index-rAQFKGNX.js";
|
|
1
|
+
import { $ as TransferSchema, $a as createFriendInvite, $c as EventsListResponse, $d as queryOAuthApps, $f as listAccountSubtitleLanguages, $i as listPaymentInvites, $l as ClientsError, $n as GetRssFeedErrorSpec, $o as FileSubtitlesError, $p as mapDecodeErrorToValidationError, $r as ListPaymentInvitesErrorSpec, $s as getApiDownloadUrl, $t as GetPublicShareFileUrlErrorSpec, $u as generateTOTP, A as TunnelRoute, Aa as SendFriendRequestErrorSpec, Ac as FamilyInviteSchema, Ad as OAuthAppSession, Af as AccountInfoBroad, Ai as PaymentVoucherInfo, Al as DownloadLinksInfo, An as SharingUnshareInputSchema, Ao as FileHlsStreamUrlOptions, Ap as PutioErrorEnvelopeSchema, Ar as retryAllRssFeedItems, As as SearchFilesErrorSpec, At as RestoreTrashErrorSpec, Au as ResetPasswordError, B as ListTransfersErrorSpec, Ba as removeFriend, Bc as RemoveFamilyMemberError, Bd as PopularOAuthAppSchema, Bf as AccountWarnings, Bi as SubmitPaymentChangePlanError, Bl as JsonObjectSchema, Bn as getSharingCloneInfo, Bo as FileMp4ErrorSpec, Bp as PutioTypedErrorEnvelope, Br as CreatePaddleBillingUpdatePaymentMethodTransactionError, Bs as convertFileToMp4, Bt as listTrash, Bu as ValidateTokenResponse, C as ZipSummary, Ca as ListWaitingRequestsError, Cc as SendIftttEventError, Cd as GetOAuthAppErrorSpec, Cf as AccountConfirmationSchema, Ci as PaymentPlanGroupSchema, Cl as deleteEvent, Cn as SharingCloneInfoSchema, Co as FileDirectAccessOptions, Cp as selectJsonField, Cr as createRssFeed, Cs as GetFileError, Ct as DeleteTrashError, Cu as RecoveryCodesErrorSpec, D as listZips, Da as SearchFriendsError, Dc as CreateFamilyInviteError, Dd as OAuthAppCreateInput, Df as AccountDiskSchema, Di as PaymentProviderSchema, Dl as CreateDownloadLinksErrorSpec, Dn as SharingShareInput, Do as FileExtractionStatusSchema, Dp as PutioAuthError, Dr as listRssFeeds, Ds as RenameFileError, Dt as ListTrashError, Du as RegisterErrorSpec, E as getZip, Ea as RemoveFriendErrorSpec, Ec as sendIftttEvent, Ed as OAuthApp, Ef as AccountDisk, Ei as PaymentProviderNameSchema, El as CreateDownloadLinksError, En as SharingCloneStatusSchema, Eo as FileExtractionStatus, Ep as PutioApiError, Er as listRssFeedItems, Es as QueryFilesErrorSpec, Et as EmptyTrashErrorSpec, Eu as RegisterError, F as AddTransferError, Fa as denyFriendRequest, Fc as JoinFamilyErrorSpec, Fd as OAuthSetIconInput, Ff as AccountSettings, Fi as RedeemPaymentVoucherErrorSpec, Fl as DownloadLinksStatusSchema, Fn as createPublicShare, Fo as FileMediaInfoSchema, Fp as PutioOperationErrorSpec, Fr as ConfirmFastspringOrderErrorSpec, Fs as buildFileApiMp4DownloadUrl, Ft as TrashListQuery, Fu as RevokeOAuthClientErrorSpec, G as StopRecordingTransferError, Ga as FriendInvite, Gc as listFamilyMembers, Gd as UpdateOAuthAppError, Gf as SaveAccountSettingsErrorSpec, Gi as createCoinbaseCharge, Gl as deleteConfigKey, Gn as unshareFile, Go as FileRenameInput, Gp as fallbackPutioErrorEnvelope, Gr as GetPaddleBillingInvoiceUrlErrorSpec, Gs as deleteFileExtraction, Gt as CreatePublicShareErrorSpec, Gu as VerifyTOTPResponseSchema, H as ReannounceTransferErrorSpec, Ha as sendFriendRequest, Hc as createFamilyInvite, Hd as QueryOAuthAppsErrorSpec, Hf as PasInfo, Hi as UserSubscriptionStatusSchema, Hl as PutioJsonObject, Hn as listPublicShares, Ho as FileMp4MutationErrorSpec, Hp as PutioValidationError, Hr as CreatePaddleWaitingPaymentError, Hs as createFileUploadFormData, Ht as ContinuePublicShareFilesError, Hu as VerifyTOTPError, I as AddTransferErrorSpec, Ia as getFriendSharedFolder, Ic as ListFamilyInvitesError, Id as OAuthSetIconInputSchema, If as AccountSettingsSchema, Ii as ReportPaymentsError, Il as GetDownloadLinksError, In as deletePublicShare, Io as FileMediaInfoStreamSchema, Ip as PutioOperationFailure, Ir as CreateCoinbaseChargeError, Is as buildFileHlsStreamUrl, It as TrashListResponse, Iu as RevokeOAuthGrantError, J as TransferAddInput, Ja as FriendInviteJoinedUserStatus, Jc as ClearEventsErrorSpec, Jd as buildOAuthAuthorizeUrl, Jf as clearAccount, Ji as createPaddleWaitingPayment, Jl as readConfig, Jn as CreateRssFeedError, Jo as FileSort, Jp as isPutioErrorEnvelope, Jr as GetPaymentVoucherInfoError, Js as deleteFiles, Jt as DeletePublicShareError, Ju as buildAuthLoginUrl, K as StopRecordingTransferErrorSpec, Ka as FriendInviteJoinedUser, Kc as removeFamilyMember, Kd as UpdateOAuthAppErrorSpec, Kf as SaveAccountSettingsPayload, Ki as createOpenNodeCharge, Kl as getConfigKey, Kn as ClearRssFeedLogsError, Ko as FileResponseFor, Kp as isPutioApiError, Kr as GetPaymentInfoError, Ks as deleteFileMp4, Kt as CreateSharingCloneError, Ku as VoucherLookupError, L as GetTransferError, La as listFriends, Lc as ListFamilyInvitesErrorSpec, Ld as OwnedOAuthApp, Lf as AccountSubtitleLanguage, Li as ReportPaymentsErrorSpec, Ll as GetDownloadLinksErrorSpec, Ln as getPublicShare, Lo as FileMediaMetadata, Lp as PutioRateLimitError, Lr as CreateCoinbaseChargeErrorSpec, Ls as continueFiles, Lt as continueTrash, Lu as RevokeOAuthGrantErrorSpec, M as listTunnelRoutes, Ma as UserSearchResultSchema, Mc as FamilyMember, Md as OAuthAppUpdateInput, Mf as AccountInfoQuery, Mi as PreviewPaymentChangePlanError, Ml as DownloadLinksPayload, Mn as UnshareFileErrorSpec, Mo as FileListResponse, Mp as PutioKnownOperationErrorContract, Mr as updateRssFeed, Ms as StartFromErrorSpec, Mt as TrashContinueResponse, Mu as RevokeAllOAuthClientsError, N as AddManyTransfersError, Na as approveFriendRequest, Nc as FamilyMemberSchema, Nd as OAuthAppUpdateInputSchema, Nf as AccountInfoQuerySchema, Ni as PreviewPaymentChangePlanErrorSpec, Nl as DownloadLinksPayloadSchema, Nn as cloneSharedFiles, No as FileMediaInfo, Np as PutioOperationError, Nr as ClassifiedPaymentChangePlanSubmitResponse, Ns as buildFileApiContentUrl, Nt as TrashFile, Nu as RevokeAllOAuthClientsErrorSpec, O as ListTunnelRoutesError, Oa as SearchFriendsErrorSpec, Oc as CreateFamilyInviteErrorSpec, Od as OAuthAppCreateInputSchema, Of as AccountInfoBase, Oi as PaymentSubscriptionInfoSchema, Ol as DownloadLinksCreateInput, On as SharingShareInputSchema, Oo as FileExtractionsError, Op as PutioConfigurationError, Or as pauseRssFeed, Os as RenameFileErrorSpec, Ot as ListTrashErrorSpec, Ou as RegisterInput, P as AddManyTransfersErrorSpec, Pa as countWaitingRequests, Pc as JoinFamilyError, Pd as OAuthAppWithTokenSchema, Pf as AccountInfoResponseFor, Pi as RedeemPaymentVoucherError, Pl as DownloadLinksStatus, Pn as continuePublicShareFiles, Po as FileMediaInfoFormatSchema, Pp as PutioOperationErrorFromSpec, Pr as ConfirmFastspringOrderError, Ps as buildFileApiDownloadUrl, Pt as TrashFileSchema, Pu as RevokeOAuthClientError, Q as TransferLink, Qa as ListFriendInvitesErrorSpec, Qc as EventsListQuerySchema, Qd as getPopularOAuthApps, Qf as listAccountConfirmations, Qi as listPaymentHistory, Ql as AuthorizationCodeSchema, Qn as GetRssFeedError, Qo as FileSubtitleSchema, Qp as mapConfigurationError, Qr as ListPaymentInvitesError, Qs as getApiContentUrl, Qt as GetPublicShareFileUrlError, Qu as forgotPassword, R as GetTransferErrorSpec, Ra as listSentRequests, Rc as ListFamilyMembersError, Rd as OwnedOAuthAppSchema, Rf as AccountSubtitleLanguageSchema, Ri as StopSubscriptionError, Rl as createDownloadLinks, Rn as getPublicShareFileUrl, Ro as FileMediaMetadataSchema, Rp as PutioSdkError, Rr as CreateOpenNodeChargeError, Rs as continueSearch, Rt as deleteTrash, Ru as TwoFactorRecoveryCodes, S as ZipStatusSchema, Sa as ListSentRequestsErrorSpec, Sc as IftttEventType, Sd as GetOAuthAppError, Sf as AccountConfirmation, Si as PaymentPlanGroup, Sl as clearEvents, Sn as SharingCloneInfo, So as FileCreateFolderInput, Sp as requestVoid, Sr as clearRssFeedLogs, Ss as FolderTypeSchema, St as ContinueTrashErrorSpec, Su as RecoveryCodesError, T as createZip, Ta as RemoveFriendError, Tc as getIftttStatus, Td as MyOAuthAppSchema, Tf as AccountConfirmationsErrorSpec, Ti as PaymentProvider, Tl as listEvents, Tn as SharingCloneInputSchema, To as FileExtractionSchema, Tp as AnyPutioOperationError, Tr as getRssFeed, Ts as QueryFilesError, Tt as EmptyTrashError, Tu as RegenerateRecoveryCodesErrorSpec, U as RetryTransferError, Ua as CreateFriendInviteError, Uc as joinFamily, Ud as RegenerateOAuthAppTokenError, Uf as PasInfoSchema, Ui as classifyPaymentChangePlanResponse, Ul as PutioJsonPrimitive, Un as listSharedFiles, Uo as FileQuery, Up as decodePutioErrorEnvelope, Ur as CreatePaddleWaitingPaymentErrorSpec, Us as createFileUploadRequest, Ut as ContinuePublicShareFilesErrorSpec, Uu as VerifyTOTPErrorSpec, V as ReannounceTransferError, Va as searchFriends, Vc as RemoveFamilyMemberErrorSpec, Vd as QueryOAuthAppsError, Vf as AccountWarningsSchema, Vi as SubmitPaymentChangePlanErrorSpec, Vl as JsonValueSchema, Vn as listPublicShareFiles, Vo as FileMp4MutationError, Vp as PutioUnhandledSdkError, Vr as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, Vs as convertFilesToMp4, Vt as restoreTrash, Vu as ValidateTokenResponseSchema, W as RetryTransferErrorSpec, Wa as CreateFriendInviteErrorSpec, Wc as listFamilyInvites, Wd as RegenerateOAuthAppTokenErrorSpec, Wf as SaveAccountSettingsError, Wi as confirmFastspringOrder, Wl as PutioJsonValue, Wn as shareFiles, Wo as FileQuerySchema, Wp as definePutioOperationErrorSpec, Wr as GetPaddleBillingInvoiceUrlError, Ws as createFolder, Wt as CreatePublicShareError, Wu as VerifyTOTPResponse, X as TransferBaseSchema, Xa as FriendInviteSchema, Xc as DeleteEventErrorSpec, Xd as deleteOAuthApp, Xf as getAccountInfo, Xi as getPaymentInfo, Xl as setConfigKey, Xn as DeleteRssFeedError, Xo as FileStartFromSetInput, Xp as isPutioRateLimitError, Xr as ListPaymentHistoryError, Xs as findNextFile, Xt as GetPublicShareError, Xu as clients, Y as TransferAddInputSchema, Ya as FriendInviteJoinedUserStatusSchema, Yc as DeleteEventError, Yd as createOAuthApp, Yf as destroyAccount, Yi as getPaddleBillingInvoiceUrl, Yl as readConfigWith, Yn as CreateRssFeedErrorSpec, Yo as FileSortSchema, Yp as isPutioOperationError, Yr as GetPaymentVoucherInfoErrorSpec, Ys as extractFiles, Yt as DeletePublicShareErrorSpec, Yu as checkCodeMatch, Z as TransferInfoItem, Za as ListFriendInvitesError, Zc as EventsListQuery, Zd as getOAuthApp, Zf as getAccountSettings, Zi as getPaymentVoucherInfo, Zl as writeConfig, Zn as DeleteRssFeedErrorSpec, Zo as FileSubtitle, Zp as makeResponseError, Zr as ListPaymentHistoryErrorSpec, Zs as findNextVideo, Zt as GetPublicShareErrorSpec, Zu as exists, _ as GetZipErrorSpec, _a as FriendSharedFolderError, _c as setStartFrom, _d as verifyTOTP, _f as deleteAllAppSpecificPasswords, _i as PaymentInviteSchema, _l as HistoryVoucherEventSchema, _n as SharedFileSchema, _o as FileBroad, _p as makePutioSdkConfig, _r as RssFeedParams, _s as FilesMoveError, _t as listTransfers, _u as LoginError, a as PutioSdkEffectClient, aa as stopPaymentSubscription, ac as getStartFrom, ad as getVoucher, af as CreateAppSpecificPasswordError, ai as PaymentChangePlanPreviewInput, al as HistoryFileSharedEvent, an as ListPublicShareFilesErrorSpec, ao as DownloadUrlError, ap as PutioHttpRequest, ar as PauseRssFeedErrorSpec, as as FileUploadErrorSpec, at as TransfersContinueResponse, au as FriendInviteLookupError, b as ZipCreateResponse, ba as ListFriendsErrorSpec, bc as GetIftttStatusErrorSpec, bd as DeleteOAuthAppError, bf as AccountClearOptions, bi as PaymentOptionSchema, bl as ListEventsError, bn as SharedFileSharedWith, bo as FileConversionStatusSchema, bp as requestArrayBuffer, br as UpdateRssFeedError, bs as FilesSearchQuerySchema, bt as stopTransferRecording, bu as LoginResponse, c as createPutioSdkPromiseClient, ca as ApproveFriendRequestErrorSpec, cc as listFileSubtitles, cd as login, cf as CreateAppSpecificPasswordInputSchema, ci as PaymentChangePlanSubmitResponse, cl as HistoryKnownEventTypeSchema, cn as ListSharedFilesError, co as FileActiveConversionSchema, cp as PutioQuery, cr as RetryAllRssFeedItemsError, cs as FileUploadResult, ct as TransfersListResponse, cu as GenerateTOTPErrorSpec, d as CancelZipError, da as DenyFriendRequestError, dc as putMp4ToMyFiles, dd as register, df as DeleteAllAppSpecificPasswordsErrorSpec, di as PaymentHistoryItemSchema, dl as HistoryTransferCallbackErrorEventSchema, dn as PublicShareListQuery, do as FileApiDownloadUrlOptions, dp as PutioSdkConfigShape, dr as RetryRssFeedItemErrorSpec, ds as FileWatchStatusError, dt as cancelTransfers, du as GiftCardLookupError, ea as listPaymentOptions, ec as getApiMp4DownloadUrl, ed as getCode, ef as regenerateOAuthAppToken, ei as ListPaymentOptionsError, el as GetEventTorrentError, em as mapTransportError, en as GetSharedWithError, eo as listFriendInvites, ep as saveAccountSettings, er as ListRssFeedItemsError, es as FileSubtitlesErrorSpec, et as TransferStatus, eu as ClientsErrorSpec, f as CancelZipErrorSpec, fa as DenyFriendRequestErrorSpec, fc as queryFiles, fd as resetPassword, ff as DeleteAppSpecificPasswordError, fi as PaymentHistoryQuery, fl as HistoryTransferCompletedEvent, fn as PublicShareListQuerySchema, fo as FileApiMp4DownloadUrlOptions, fp as PutioSdkContext, fr as RssFeed, fs as FileWatchStatusErrorSpec, ft as cleanTransfers, fu as GiftCardLookupErrorSpec, g as GetZipError, ga as FriendSchema, gc as setFilesWatchStatus, gd as validateToken, gf as createAppSpecificPassword, gi as PaymentInvite, gl as HistoryUploadEventSchema, gn as SharedFile, go as FileBreadcrumbSchema, gp as makePutioFetchLayer, gr as RssFeedItemSucceededSchema, gs as FilesListQuerySchema, gt as getTransferInfo, gu as LinkDeviceErrorSpec, h as CreateZipInput, ha as FriendBaseSchema, hc as searchFiles, hd as revokeClient, hf as ListAppSpecificPasswordsErrorSpec, hi as PaymentInfoSchema, hl as HistoryTransferFromRssErrorEventSchema, hn as ShareFilesErrorSpec, ho as FileBreadcrumb, hp as makePutioFetchClient, hr as RssFeedItemSchema, hs as FilesListQuery, ht as getTransfer, hu as LinkDeviceError, i as PutioSdk, ia as reportPayments, ic as getMp4Status, id as getRecoveryCodes, if as AppSpecificPasswordSchema, ii as PaymentChangePlanPreview, il as HistoryFileFromRssDeletedEventSchema, in as ListPublicShareFilesError, io as CreateFolderErrorSpec, ip as PutioHttpClientShape, ir as PauseRssFeedError, is as FileUploadError, it as TransfersAddMultiError, iu as ForgotPasswordErrorSpec, j as TunnelRouteSchema, ja as UserSearchResult, jc as FamilyInvitesResponse, jd as OAuthAppSessionSchema, jf as AccountInfoBroadSchema, ji as PaymentVoucherInfoSchema, jl as DownloadLinksInfoSchema, jn as UnshareFileError, jo as FileListContinuationResponse, jp as PutioKnownErrorContract, jr as retryRssFeedItem, js as StartFromError, jt as TrashBulkInput, ju as ResetPasswordErrorSpec, k as ListTunnelRoutesErrorSpec, ka as SendFriendRequestError, kc as FamilyInvite, kd as OAuthAppSchema, kf as AccountInfoBaseSchema, ki as PaymentTypeSchema, kl as DownloadLinksCreateInputSchema, kn as SharingUnshareInput, ko as FileExtractionsErrorSpec, kp as PutioErrorEnvelope, kr as resumeRssFeed, ks as SearchFilesError, kt as RestoreTrashError, ku as RegisterInputSchema, l as makePutioSdkEffectClientLayer, la as CountWaitingRequestsError, lc as moveFileSelection, ld as logout, lf as CreateAppSpecificPasswordResult, li as PaymentChangePlanSubmitSchema, ll as HistoryPrivateTorrentPinEventSchema, ln as ListSharedFilesErrorSpec, lo as FileActiveConversionsError, lp as PutioQueryValue, lr as RetryAllRssFeedItemsErrorSpec, ls as FileUploadTransfer, lt as addManyTransfers, lu as GenerateTOTPResponse, m as CreateZipErrorSpec, ma as FriendBase, mc as resetStartFrom, md as revokeApp, mf as ListAppSpecificPasswordsError, mi as PaymentInfoPlanSchema, ml as HistoryTransferErrorEventSchema, mn as ShareFilesError, mo as FileBaseSchema, mp as encodePathSegment, mr as RssFeedItemFailedSchema, ms as FilesListEnvelopeSchema, mt as countTransfers, mu as GrantsErrorSpec, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as previewPaymentChangePlan, nc as getFile, nd as getFriendInvite, nf as updateOAuthApp, ni as ListPaymentPlansError, nl as HistoryEvent, nm as responseRateLimitHeaders, nn as GetSharingCloneInfoError, no as ContinueFilesErrorSpec, np as PutioAuth, nr as ListRssFeedsError, ns as FileTypeSchema, nt as TransferType, nu as FamilyInviteLookupErrorSpec, o as PutioSdkPromiseClient, oa as submitPaymentChangePlan, oc as listActiveMp4Conversions, od as grants, of as CreateAppSpecificPasswordErrorSpec, oi as PaymentChangePlanPreviewSchema, ol as HistoryFileSharedEventSchema, on as ListPublicSharesError, oo as DownloadUrlErrorSpec, op as PutioHttpResponse, or as ResumeRssFeedError, os as FileUploadInput, ot as TransfersListQuery, ou as FriendInviteLookupErrorSpec, p as CreateZipError, pa as Friend, pc as renameFile, pd as revokeAllClients, pf as DeleteAppSpecificPasswordErrorSpec, pi as PaymentInfo, pl as HistoryTransferCompletedEventSchema, pn as PublicShareSchema, po as FileBase, pp as buildPutioUrl, pr as RssFeedItem, ps as FilesBulkSelection, pt as continueTransfers, pu as GrantsError, q as Transfer, qa as FriendInviteJoinedUserSchema, qc as ClearEventsError, qd as buildOAuthAppIconUrl, qf as SaveAccountSettingsPayloadSchema, qi as createPaddleBillingUpdatePaymentMethodTransaction, ql as getConfigKeyWith, qn as ClearRssFeedLogsErrorSpec, qo as FileSearchResponse, qp as isPutioAuthError, qr as GetPaymentInfoErrorSpec, qs as deleteFileSelection, qt as CreateSharingCloneErrorSpec, qu as VoucherLookupErrorSpec, r as DEFAULT_PUTIO_WEB_APP_URL, ra as redeemPaymentVoucher, rc as getHlsStreamUrl, rd as getGiftCard, rf as AppSpecificPassword, ri as ListPaymentPlansErrorSpec, rl as HistoryEventSchema, rm as withOperationErrors, rn as GetSharingCloneInfoErrorSpec, ro as CreateFolderError, rp as PutioHttpClient, rr as ListRssFeedsErrorSpec, rs as FileUploadEnvelope, rt as TransferTypeSchema, ru as ForgotPasswordError, s as createPutioSdkEffectClient, sa as ApproveFriendRequestError, sc as listFileExtractions, sd as linkDevice, sf as CreateAppSpecificPasswordInput, si as PaymentChangePlanSubmitInput, sl as HistoryKnownEventType, sn as ListPublicSharesErrorSpec, so as FileActiveConversion, sp as PutioPathSegment, sr as ResumeRssFeedErrorSpec, ss as FileUploadRequestDescriptor, st as TransfersListQuerySchema, su as GenerateTOTPError, t as DEFAULT_PUTIO_API_BASE_URL, ta as listPaymentPlans, tc as getDownloadUrl, td as getFamilyInvite, tf as setOAuthAppIcon, ti as ListPaymentOptionsErrorSpec, tl as GetEventTorrentErrorSpec, tm as parseErrorBody, tn as GetSharedWithErrorSpec, to as ContinueFilesError, tp as OkResponseSchema, tr as ListRssFeedItemsErrorSpec, ts as FileType, tt as TransferStatusSchema, tu as FamilyInviteLookupError, u as makePutioSdkLiveClientLayer, ua as CountWaitingRequestsErrorSpec, uc as moveFiles, ud as regenerateRecoveryCodes, uf as DeleteAllAppSpecificPasswordsError, ui as PaymentHistoryItem, ul as HistoryRssFilterPausedEventSchema, un as PublicShare, uo as FileActiveConversionsErrorSpec, up as PutioSdkConfig, ur as RetryRssFeedItemError, us as FileVideoMetadata, ut as addTransfer, uu as GenerateTOTPResponseSchema, v as ListZipsError, va as FriendSharedFolderErrorSpec, vc as uploadFile, vd as CreateOAuthAppError, vf as deleteAppSpecificPassword, vi as PaymentOption, vl as HistoryZipCreatedEvent, vn as SharedFileShare, vo as FileBroadSchema, vp as makePutioSdkLayer, vr as RssFeedParamsSchema, vs as FilesMoveErrorSchema, vt as reannounceTransfer, vu as LoginErrorSpec, w as cancelZip, wa as ListWaitingRequestsErrorSpec, wc as SendIftttEventErrorSpec, wd as MyOAuthApp, wf as AccountConfirmationsError, wi as PaymentPlanTypeSchema, wl as getEventTorrent, wn as SharingCloneInput, wo as FileExtraction, wp as selectJsonFields, wr as deleteRssFeed, ws as GetFileErrorSpec, wt as DeleteTrashErrorSpec, wu as RegenerateRecoveryCodesError, x as ZipInfo, xa as ListSentRequestsError, xc as IftttEventInput, xd as DeleteOAuthAppErrorSpec, xf as AccountClearOptionsSchema, xi as PaymentPaddleWaitingPaymentInput, xl as ListEventsErrorSpec, xn as SharedFileSharedWithSchema, xo as FileCore, xp as requestJson, xr as UpdateRssFeedErrorSpec, xs as FolderType, xt as ContinueTrashError, xu as LoginResponseSchema, y as ListZipsErrorSpec, ya as ListFriendsError, yc as GetIftttStatusError, yd as CreateOAuthAppErrorSpec, yf as listAppSpecificPasswords, yi as PaymentOptionPlanTypeSchema, yl as HistoryZipCreatedEventSchema, yn as SharedFileShareSchema, yo as FileConversionStatus, yp as makePutioSdkLiveLayer, yr as RssFeedSchema, ys as FilesSearchQuery, yt as retryTransfer, yu as LoginInput, z as ListTransfersError, za as listWaitingRequests, zc as ListFamilyMembersErrorSpec, zd as PopularOAuthApp, zf as AccountTwoFactorSettingsSchema, zi as StopSubscriptionErrorSpec, zl as getDownloadLinks, zn as getSharedWith, zo as FileMp4Error, zp as PutioTransportError, zr as CreateOpenNodeChargeErrorSpec, zs as convertFileSelectionToMp4, zt as emptyTrash, zu as TwoFactorRecoveryCodesSchema } from "./index-FAgKSXHO.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, AnyPutioOperationError, AppSpecificPassword, AppSpecificPasswordSchema, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthorizationCodeSchema, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateAppSpecificPasswordError, CreateAppSpecificPasswordErrorSpec, CreateAppSpecificPasswordInput, CreateAppSpecificPasswordInputSchema, CreateAppSpecificPasswordResult, CreateCoinbaseChargeError, CreateCoinbaseChargeErrorSpec, 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, FileCore, FileCreateFolderInput, FileDirectAccessOptions, FileExtraction, FileExtractionSchema, FileExtractionStatus, FileExtractionStatusSchema, FileExtractionsError, FileExtractionsErrorSpec, FileHlsStreamUrlOptions, FileListContinuationResponse, FileListResponse, FileMediaInfo, FileMediaInfoFormatSchema, FileMediaInfoSchema, FileMediaInfoStreamSchema, FileMediaMetadata, FileMediaMetadataSchema, FileMp4Error, FileMp4ErrorSpec, FileMp4MutationError, FileMp4MutationErrorSpec, FileQuery, FileQuerySchema, FileRenameInput, FileResponseFor, FileSearchResponse, FileSort, FileSortSchema, FileStartFromSetInput, FileSubtitle, FileSubtitleSchema, FileSubtitlesError, FileSubtitlesErrorSpec, FileType, FileTypeSchema, FileUploadEnvelope, FileUploadError, FileUploadErrorSpec, FileUploadInput, FileUploadRequestDescriptor, FileUploadResult, FileUploadTransfer, FileVideoMetadata, FileWatchStatusError, FileWatchStatusErrorSpec, FilesBulkSelection, FilesListEnvelopeSchema, FilesListQuery, FilesListQuerySchema, FilesMoveError, FilesMoveErrorSchema, FilesSearchQuery, FilesSearchQuerySchema, FolderType, FolderTypeSchema, ForgotPasswordError, ForgotPasswordErrorSpec, Friend, FriendBase, FriendBaseSchema, FriendInvite, FriendInviteJoinedUser, FriendInviteJoinedUserSchema, FriendInviteJoinedUserStatus, FriendInviteJoinedUserStatusSchema, FriendInviteLookupError, FriendInviteLookupErrorSpec, FriendInviteSchema, FriendSchema, FriendSharedFolderError, FriendSharedFolderErrorSpec, GenerateTOTPError, GenerateTOTPErrorSpec, GenerateTOTPResponse, GenerateTOTPResponseSchema, GetDownloadLinksError, GetDownloadLinksErrorSpec, GetEventTorrentError, GetEventTorrentErrorSpec, GetFileError, GetFileErrorSpec, GetIftttStatusError, GetIftttStatusErrorSpec, GetOAuthAppError, GetOAuthAppErrorSpec, GetPaddleBillingInvoiceUrlError, GetPaddleBillingInvoiceUrlErrorSpec, GetPaymentInfoError, GetPaymentInfoErrorSpec, GetPaymentVoucherInfoError, GetPaymentVoucherInfoErrorSpec, GetPublicShareError, GetPublicShareErrorSpec, GetPublicShareFileUrlError, GetPublicShareFileUrlErrorSpec, GetRssFeedError, GetRssFeedErrorSpec, GetSharedWithError, GetSharedWithErrorSpec, GetSharingCloneInfoError, GetSharingCloneInfoErrorSpec, GetTransferError, GetTransferErrorSpec, GetZipError, GetZipErrorSpec, GiftCardLookupError, GiftCardLookupErrorSpec, GrantsError, GrantsErrorSpec, HistoryEvent, HistoryEventSchema, HistoryFileFromRssDeletedEventSchema, HistoryFileSharedEvent, HistoryFileSharedEventSchema, HistoryKnownEventType, HistoryKnownEventTypeSchema, HistoryPrivateTorrentPinEventSchema, HistoryRssFilterPausedEventSchema, HistoryTransferCallbackErrorEventSchema, HistoryTransferCompletedEvent, HistoryTransferCompletedEventSchema, HistoryTransferErrorEventSchema, HistoryTransferFromRssErrorEventSchema, HistoryUploadEventSchema, HistoryVoucherEventSchema, HistoryZipCreatedEvent, HistoryZipCreatedEventSchema, IftttEventInput, IftttEventType, JoinFamilyError, JoinFamilyErrorSpec, JsonObjectSchema, JsonValueSchema, LinkDeviceError, LinkDeviceErrorSpec, 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, OAuthSetIconInput, OAuthSetIconInputSchema, OkResponseSchema, OwnedOAuthApp, OwnedOAuthAppSchema, PasInfo, PasInfoSchema, PauseRssFeedError, PauseRssFeedErrorSpec, PaymentChangePlanPreview, PaymentChangePlanPreviewInput, PaymentChangePlanPreviewSchema, PaymentChangePlanSubmitInput, PaymentChangePlanSubmitResponse, PaymentChangePlanSubmitSchema, PaymentHistoryItem, PaymentHistoryItemSchema, PaymentHistoryQuery, PaymentInfo, PaymentInfoPlanSchema, PaymentInfoSchema, PaymentInvite, PaymentInviteSchema, PaymentOption, PaymentOptionPlanTypeSchema, PaymentOptionSchema, PaymentPaddleWaitingPaymentInput, PaymentPlanGroup, PaymentPlanGroupSchema, PaymentPlanTypeSchema, PaymentProvider, PaymentProviderNameSchema, PaymentProviderSchema, PaymentSubscriptionInfoSchema, PaymentTypeSchema, PaymentVoucherInfo, PaymentVoucherInfoSchema, PopularOAuthApp, PopularOAuthAppSchema, PreviewPaymentChangePlanError, PreviewPaymentChangePlanErrorSpec, PublicShare, PublicShareListQuery, PublicShareListQuerySchema, PublicShareSchema, PutioApiError, PutioAuth, PutioAuthError, PutioConfigurationError, PutioErrorEnvelope, PutioErrorEnvelopeSchema, 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, RenameFileError, RenameFileErrorSpec, ReportPaymentsError, ReportPaymentsErrorSpec, ResetPasswordError, ResetPasswordErrorSpec, RestoreTrashError, RestoreTrashErrorSpec, ResumeRssFeedError, ResumeRssFeedErrorSpec, RetryAllRssFeedItemsError, RetryAllRssFeedItemsErrorSpec, RetryRssFeedItemError, RetryRssFeedItemErrorSpec, RetryTransferError, RetryTransferErrorSpec, RevokeAllOAuthClientsError, RevokeAllOAuthClientsErrorSpec, RevokeOAuthClientError, RevokeOAuthClientErrorSpec, RevokeOAuthGrantError, RevokeOAuthGrantErrorSpec, RssFeed, RssFeedItem, RssFeedItemFailedSchema, RssFeedItemSchema, RssFeedItemSucceededSchema, RssFeedParams, RssFeedParamsSchema, RssFeedSchema, SaveAccountSettingsError, SaveAccountSettingsErrorSpec, SaveAccountSettingsPayload, SaveAccountSettingsPayloadSchema, SearchFilesError, SearchFilesErrorSpec, SearchFriendsError, SearchFriendsErrorSpec, SendFriendRequestError, SendFriendRequestErrorSpec, SendIftttEventError, SendIftttEventErrorSpec, ShareFilesError, ShareFilesErrorSpec, SharedFile, SharedFileSchema, SharedFileShare, SharedFileShareSchema, SharedFileSharedWith, SharedFileSharedWithSchema, SharingCloneInfo, SharingCloneInfoSchema, SharingCloneInput, SharingCloneInputSchema, SharingCloneStatusSchema, SharingShareInput, SharingShareInputSchema, SharingUnshareInput, SharingUnshareInputSchema, StartFromError, StartFromErrorSpec, StopRecordingTransferError, StopRecordingTransferErrorSpec, StopSubscriptionError, StopSubscriptionErrorSpec, SubmitPaymentChangePlanError, SubmitPaymentChangePlanErrorSpec, Transfer, TransferAddInput, TransferAddInputSchema, TransferBaseSchema, TransferInfoItem, TransferLink, TransferSchema, TransferStatus, TransferStatusSchema, TransferType, TransferTypeSchema, TransfersAddMultiError, TransfersContinueResponse, TransfersListQuery, TransfersListQuerySchema, TransfersListResponse, TrashBulkInput, TrashContinueResponse, TrashFile, TrashFileSchema, TrashListQuery, TrashListResponse, TunnelRoute, TunnelRouteSchema, TwoFactorRecoveryCodes, TwoFactorRecoveryCodesSchema, UnshareFileError, UnshareFileErrorSpec, UpdateOAuthAppError, UpdateOAuthAppErrorSpec, UpdateRssFeedError, UpdateRssFeedErrorSpec, UserSearchResult, UserSearchResultSchema, UserSubscriptionStatusSchema, ValidateTokenResponse, ValidateTokenResponseSchema, VerifyTOTPError, VerifyTOTPErrorSpec, VerifyTOTPResponse, VerifyTOTPResponseSchema, VoucherLookupError, VoucherLookupErrorSpec, ZipCreateResponse, ZipInfo, ZipStatusSchema, ZipSummary, addManyTransfers, addTransfer, approveFriendRequest, buildAuthLoginUrl, buildFileApiContentUrl, buildFileApiDownloadUrl, buildFileApiMp4DownloadUrl, buildFileHlsStreamUrl, buildOAuthAppIconUrl, buildOAuthAuthorizeUrl, buildPutioUrl, cancelTransfers, cancelZip, checkCodeMatch, classifyPaymentChangePlanResponse, cleanTransfers, clearAccount, clearEvents, clearRssFeedLogs, clients, cloneSharedFiles, confirmFastspringOrder, continueFiles, continuePublicShareFiles, continueSearch, continueTransfers, continueTrash, convertFileSelectionToMp4, convertFileToMp4, convertFilesToMp4, countTransfers, countWaitingRequests, createAppSpecificPassword, createCoinbaseCharge, 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, exists, extractFiles, fallbackPutioErrorEnvelope, findNextFile, findNextVideo, forgotPassword, generateTOTP, getAccountInfo, getAccountSettings, getApiContentUrl, getApiDownloadUrl, getApiMp4DownloadUrl, getCode, getConfigKey, getConfigKeyWith, getDownloadLinks, getDownloadUrl, getEventTorrent, getFamilyInvite, getFile, getFriendInvite, getFriendSharedFolder, getGiftCard, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaddleBillingInvoiceUrl, getPaymentInfo, getPaymentVoucherInfo, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, 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, renameFile, reportPayments, requestArrayBuffer, requestJson, requestVoid, resetPassword, resetStartFrom, responseRateLimitHeaders, restoreTrash, resumeRssFeed, retryAllRssFeedItems, retryRssFeedItem, retryTransfer, revokeAllClients, revokeApp, revokeClient, saveAccountSettings, searchFiles, searchFriends, selectJsonField, selectJsonFields, sendFriendRequest, sendIftttEvent, setConfigKey, setFilesWatchStatus, setOAuthAppIcon, setStartFrom, shareFiles, stopPaymentSubscription, stopTransferRecording, submitPaymentChangePlan, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
|
package/dist/index.js
CHANGED
|
@@ -4871,19 +4871,19 @@ const cancelZip = (id) => requestJson(OkResponseSchema, {
|
|
|
4871
4871
|
//#endregion
|
|
4872
4872
|
//#region src/core/client.ts
|
|
4873
4873
|
const promiseClientRuntimeCache = /* @__PURE__ */ new WeakMap();
|
|
4874
|
-
const
|
|
4875
|
-
const getPromiseClientRuntime = (
|
|
4876
|
-
if (
|
|
4877
|
-
const cachedRuntime = promiseClientRuntimeCache.get(
|
|
4874
|
+
const disposedPromiseClientStates = /* @__PURE__ */ new WeakSet();
|
|
4875
|
+
const getPromiseClientRuntime = (state) => {
|
|
4876
|
+
if (disposedPromiseClientStates.has(state)) throw mapConfigurationError("This Promise client has been disposed and can no longer execute SDK effects");
|
|
4877
|
+
const cachedRuntime = promiseClientRuntimeCache.get(state);
|
|
4878
4878
|
if (cachedRuntime) return cachedRuntime;
|
|
4879
|
-
const runtime = ManagedRuntime.make(makePutioSdkLiveLayer(
|
|
4880
|
-
promiseClientRuntimeCache.set(
|
|
4879
|
+
const runtime = ManagedRuntime.make(makePutioSdkLiveLayer(state.runtimeConfig));
|
|
4880
|
+
promiseClientRuntimeCache.set(state, runtime);
|
|
4881
4881
|
return runtime;
|
|
4882
4882
|
};
|
|
4883
|
-
const disposePromiseClientRuntime = async (
|
|
4884
|
-
|
|
4885
|
-
const runtime = promiseClientRuntimeCache.get(
|
|
4886
|
-
promiseClientRuntimeCache.delete(
|
|
4883
|
+
const disposePromiseClientRuntime = async (state) => {
|
|
4884
|
+
disposedPromiseClientStates.add(state);
|
|
4885
|
+
const runtime = promiseClientRuntimeCache.get(state);
|
|
4886
|
+
promiseClientRuntimeCache.delete(state);
|
|
4887
4887
|
if (!runtime) return;
|
|
4888
4888
|
await runtime.dispose();
|
|
4889
4889
|
};
|
|
@@ -4895,7 +4895,15 @@ const rejectWithSdkFailure = (exit) => Exit.match(exit, {
|
|
|
4895
4895
|
return Promise.reject(Cause.squash(cause));
|
|
4896
4896
|
}
|
|
4897
4897
|
});
|
|
4898
|
-
const provideSdk = async (
|
|
4898
|
+
const provideSdk = async (state, effect) => {
|
|
4899
|
+
const operationConfig = {
|
|
4900
|
+
...state.runtimeConfig,
|
|
4901
|
+
accessToken: state.accessToken
|
|
4902
|
+
};
|
|
4903
|
+
const operation = Effect.provideService(effect, PutioSdkConfig, operationConfig);
|
|
4904
|
+
return rejectWithSdkFailure(await getPromiseClientRuntime(state).runPromiseExit(operation));
|
|
4905
|
+
};
|
|
4906
|
+
const snapshotUrl = (value) => typeof value === "string" || value === void 0 ? value : new URL(value.href);
|
|
4899
4907
|
const createPutioSdkEffectClient = () => ({
|
|
4900
4908
|
account: {
|
|
4901
4909
|
appSpecificPasswords: {
|
|
@@ -5126,7 +5134,21 @@ var PutioSdk = class extends Context.Service()("PutioSdk") {};
|
|
|
5126
5134
|
const makePutioSdkEffectClientLayer = () => Layer.succeed(PutioSdk, createPutioSdkEffectClient());
|
|
5127
5135
|
const makePutioSdkLiveClientLayer = (config) => Layer.mergeAll(makePutioSdkEffectClientLayer(), makePutioSdkLiveLayer(config));
|
|
5128
5136
|
const createPutioSdkPromiseClient = (initialConfig = {}) => {
|
|
5129
|
-
const
|
|
5137
|
+
const normalizedConfig = makePutioSdkConfig({
|
|
5138
|
+
...initialConfig,
|
|
5139
|
+
baseUrl: snapshotUrl(initialConfig.baseUrl),
|
|
5140
|
+
uploadBaseUrl: snapshotUrl(initialConfig.uploadBaseUrl),
|
|
5141
|
+
webAppUrl: snapshotUrl(initialConfig.webAppUrl)
|
|
5142
|
+
});
|
|
5143
|
+
const runtimeConfig = {
|
|
5144
|
+
baseUrl: normalizedConfig.baseUrl,
|
|
5145
|
+
uploadBaseUrl: normalizedConfig.uploadBaseUrl,
|
|
5146
|
+
webAppUrl: normalizedConfig.webAppUrl
|
|
5147
|
+
};
|
|
5148
|
+
const config = {
|
|
5149
|
+
accessToken: initialConfig.accessToken,
|
|
5150
|
+
runtimeConfig
|
|
5151
|
+
};
|
|
5130
5152
|
function getInfo(query = {}) {
|
|
5131
5153
|
return provideSdk(config, getAccountInfo(query));
|
|
5132
5154
|
}
|
|
@@ -5135,6 +5157,9 @@ const createPutioSdkPromiseClient = (initialConfig = {}) => {
|
|
|
5135
5157
|
}
|
|
5136
5158
|
return {
|
|
5137
5159
|
dispose: () => disposePromiseClientRuntime(config),
|
|
5160
|
+
setAccessToken: (accessToken) => {
|
|
5161
|
+
config.accessToken = accessToken;
|
|
5162
|
+
},
|
|
5138
5163
|
account: {
|
|
5139
5164
|
appSpecificPasswords: {
|
|
5140
5165
|
create: (input) => provideSdk(config, createAppSpecificPassword(input)),
|
|
@@ -5151,7 +5176,10 @@ const createPutioSdkPromiseClient = (initialConfig = {}) => {
|
|
|
5151
5176
|
saveSettings: (payload) => provideSdk(config, saveAccountSettings(payload))
|
|
5152
5177
|
},
|
|
5153
5178
|
auth: {
|
|
5154
|
-
buildLoginUrl: buildAuthLoginUrl
|
|
5179
|
+
buildLoginUrl: (options) => buildAuthLoginUrl({
|
|
5180
|
+
...options,
|
|
5181
|
+
webAppUrl: options.webAppUrl ?? config.runtimeConfig.webAppUrl
|
|
5182
|
+
}),
|
|
5155
5183
|
checkCodeMatch: (code) => provideSdk(config, checkCodeMatch(code)),
|
|
5156
5184
|
clients: () => provideSdk(config, clients()),
|
|
5157
5185
|
exists: (key, value) => provideSdk(config, exists(key, value)),
|