@putdotio/sdk 9.1.0 → 9.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 +27 -41
- package/dist/{index-BXhxIJsZ.d.ts → index-J_maUhU1.d.ts} +67 -67
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/utilities.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TransfersAddMultiError, $a as FileActiveConversion, $c as HistoryKnownEventType, $d as AccountConfirmationsErrorSpec, $f as PutioTransportError, $i as ApproveFriendRequestError, $l as GenerateTOTPError, $n as PauseRssFeedError, $o as FileUploadRequestDescriptor, $r as PaymentChangePlanPreviewSchema, $s as listFileExtractions, $t as ListPublicShareFilesError, $u as login, A as AddTransferError, Aa as listSentRequests, Ac as ListFamilyMembersError, Ad as PopularOAuthApp, Af as PutioSdkConfig, Ai as ReportPaymentsErrorSpec, Al as createDownloadLinks, An as createPublicShare, Ao as FileMediaMetadataSchema, Ar as ConfirmFastspringOrderErrorSpec, As as continueSearch, At as TrashListQuery, Au as TwoFactorRecoveryCodesSchema, B as StopRecordingTransferError, Ba as FriendInviteJoinedUserStatus, Bc as ClearEventsErrorSpec, Bd as createOAuthApp, Bf as selectJsonFields, Bi as createOpenNodeCharge, Bl as readConfig, Bn as unshareFile, Bo as FileSort, Br as GetPaymentInfoErrorSpec, Bs as deleteFiles, Bt as CreatePublicShareErrorSpec, Bu as checkCodeMatch, C as ListTunnelRoutesError, Ca as UserSearchResult, Cc as FamilyInvitesResponse, Cd as OAuthAppUpdateInput, Cf as getAccountSettings, Ci as PaymentVoucherInfo, Cl as DownloadLinksInfoSchema, Cn as SharingShareInputSchema, Co as FileListContinuationResponse, Cr as pauseRssFeed, Cs as StartFromError, Ct as ListTrashErrorSpec, Cu as RevokeAllOAuthClientsError, D as listTunnelRoutes, Da as denyFriendRequest, Dc as JoinFamilyErrorSpec, Dd as OAuthSetIconInputSchema, Df as PutioAuth, Di as RedeemPaymentVoucherError, Dl as DownloadLinksStatusSchema, Dn as UnshareFileErrorSpec, Do as FileMediaInfoSchema, Dr as updateRssFeed, Ds as buildFileApiMp4DownloadUrl, Dt as TrashContinueResponse, Du as RevokeOAuthGrantError, E as TunnelRouteSchema, Ea as countWaitingRequests, Ec as JoinFamilyError, Ed as OAuthSetIconInput, Ef as OkResponseSchema, Ei as PreviewPaymentChangePlanErrorSpec, El as DownloadLinksStatus, En as UnshareFileError, Eo as FileMediaInfoFormatSchema, Er as retryRssFeedItem, Es as buildFileApiDownloadUrl, Et as TrashBulkInput, Eu as RevokeOAuthClientErrorSpec, F as ListTransfersErrorSpec, Fa as CreateFriendInviteError, Fc as joinFamily, Fd as RegenerateOAuthAppTokenErrorSpec, Ff as makePutioSdkLayer, Fi as UserSubscriptionStatusSchema, Fl as PutioJsonPrimitive, Fn as getSharingCloneInfo, Fo as FileQuery, Fr as CreateOpenNodeChargeError, Fs as createFileUploadRequest, Ft as listTrash, Fu as VerifyTOTPResponse, G as TransferBaseSchema, Ga as createFriendInvite, Gc as EventsListResponse, Gd as regenerateOAuthAppToken, Gf as PutioErrorEnvelopeSchema, Gi as listPaymentInvites, Gl as ClientsError, Gn as DeleteRssFeedError, Go as FileSubtitlesError, Gr as ListPaymentInvitesError, Gs as getApiDownloadUrl, Gt as GetPublicShareError, Gu as getCode, H as Transfer, Ha as FriendInviteSchema, Hc as DeleteEventErrorSpec, Hd as getOAuthApp, Hf as PutioAuthError, Hi as getPaymentInfo, Hl as setConfigKey, Hn as ClearRssFeedLogsErrorSpec, Ho as FileStartFromSetInput, Hr as GetPaymentVoucherInfoErrorSpec, Hs as findNextFile, Ht as CreateSharingCloneErrorSpec, Hu as exists, I as ReannounceTransferError, Ia as CreateFriendInviteErrorSpec, Ic as listFamilyInvites, Id as UpdateOAuthAppError, If as requestArrayBuffer, Ii as classifyPaymentChangePlanResponse, Il as PutioJsonValue, In as listPublicShareFiles, Io as FileQuerySchema, Ir as CreateOpenNodeChargeErrorSpec, Is as createFolder, It as restoreTrash, Iu as VerifyTOTPResponseSchema, J as TransferSchema, Ja as ContinueFilesErrorSpec, Jc as HistoryEvent, Jd as AccountClearOptions, Jf as PutioOperationErrorFromSpec, Ji as previewPaymentChangePlan, Jl as FamilyInviteLookupErrorSpec, Jn as GetRssFeedErrorSpec, Jo as FileTypeSchema, Jr as ListPaymentOptionsErrorSpec, Js as getFile, Jt as GetPublicShareFileUrlErrorSpec, Ju as getGiftCard, K as TransferInfoItem, Ka as listFriendInvites, Kc as GetEventTorrentError, Kd as setOAuthAppIcon, Kf as PutioKnownErrorContract, Ki as listPaymentOptions, Kl as ClientsErrorSpec, Kn as DeleteRssFeedErrorSpec, Ko as FileSubtitlesErrorSpec, Kr as ListPaymentInvitesErrorSpec, Ks as getApiMp4DownloadUrl, Kt as GetPublicShareErrorSpec, Ku as getFamilyInvite, L as ReannounceTransferErrorSpec, La as FriendInvite, Lc as listFamilyMembers, Ld as UpdateOAuthAppErrorSpec, Lf as requestJson, Li as confirmFastspringOrder, Ll as deleteConfigKey, Ln as listPublicShares, Lo as FileRenameInput, Lr as CreatePaddleWaitingPaymentError, Ls as deleteFileExtraction, Lt as ContinuePublicShareFilesError, Lu as VoucherLookupError, M as GetTransferError, Ma as removeFriend, Mc as RemoveFamilyMemberError, Md as QueryOAuthAppsError, Mf as PutioSdkContext, Mi as StopSubscriptionErrorSpec, Ml as JsonObjectSchema, Mn as getPublicShare, Mo as FileMp4ErrorSpec, Mr as CreateCoinbaseChargeErrorSpec, Ms as convertFileToMp4, Mt as continueTrash, Mu as ValidateTokenResponseSchema, N as GetTransferErrorSpec, Na as searchFriends, Nc as RemoveFamilyMemberErrorSpec, Nd as QueryOAuthAppsErrorSpec, Nf as buildPutioUrl, Ni as SubmitPaymentChangePlanError, Nl as JsonValueSchema, Nn as getPublicShareFileUrl, No as FileMp4MutationError, Nr as CreateNanoPaymentRequestError, Ns as convertFilesToMp4, Nt as deleteTrash, Nu as VerifyTOTPError, O as AddManyTransfersError, Oa as getFriendSharedFolder, Oc as ListFamilyInvitesError, Od as OwnedOAuthApp, Of as PutioQuery, Oi as RedeemPaymentVoucherErrorSpec, Ol as GetDownloadLinksError, On as cloneSharedFiles, Oo as FileMediaInfoStreamSchema, Or as ClassifiedPaymentChangePlanSubmitResponse, Os as buildFileHlsStreamUrl, Ot as TrashFile, Ou as RevokeOAuthGrantErrorSpec, P as ListTransfersError, Pa as sendFriendRequest, Pc as createFamilyInvite, Pd as RegenerateOAuthAppTokenError, Pf as makePutioSdkConfig, Pi as SubmitPaymentChangePlanErrorSpec, Pl as PutioJsonObject, Pn as getSharedWith, Po as FileMp4MutationErrorSpec, Pr as CreateNanoPaymentRequestErrorSpec, Ps as createFileUploadFormData, Pt as emptyTrash, Pu as VerifyTOTPErrorSpec, Q as TransferTypeSchema, Qa as DownloadUrlErrorSpec, Qc as HistoryFileSharedEventSchema, Qd as AccountConfirmationsError, Qf as PutioSdkError, Qi as submitPaymentChangePlan, Ql as FriendInviteLookupErrorSpec, Qn as ListRssFeedsErrorSpec, Qo as FileUploadInput, Qr as PaymentChangePlanPreviewInput, Qs as listActiveMp4Conversions, Qt as GetSharingCloneInfoErrorSpec, Qu as linkDevice, R as RetryTransferError, Ra as FriendInviteJoinedUser, Rc as removeFamilyMember, Rd as buildOAuthAppIconUrl, Rf as requestVoid, Ri as createCoinbaseCharge, Rl as getConfigKey, Rn as listSharedFiles, Ro as FileResponseFor, Rr as CreatePaddleWaitingPaymentErrorSpec, Rs as deleteFileMp4, Rt as ContinuePublicShareFilesErrorSpec, Ru as VoucherLookupErrorSpec, S as listZips, Sa as SendFriendRequestErrorSpec, Sc as FamilyInviteSchema, Sd as OAuthAppSessionSchema, Sf as getAccountInfo, Si as PaymentTypeSchema, Sl as DownloadLinksInfo, Sn as SharingShareInput, So as FileHlsStreamUrlOptions, Sr as listRssFeeds, Ss as SearchFilesErrorSpec, St as ListTrashError, Su as ResetPasswordErrorSpec, T as TunnelRoute, Ta as approveFriendRequest, Tc as FamilyMemberSchema, Td as OAuthAppWithTokenSchema, Tf as saveAccountSettings, Ti as PreviewPaymentChangePlanError, Tl as DownloadLinksPayloadSchema, Tn as SharingUnshareInputSchema, To as FileMediaInfo, Tr as retryAllRssFeedItems, Ts as buildFileApiContentUrl, Tt as RestoreTrashErrorSpec, Tu as RevokeOAuthClientError, U as TransferAddInput, Ua as ListFriendInvitesError, Uc as EventsListQuery, Ud as getPopularOAuthApps, Uf as PutioConfigurationError, Ui as getPaymentVoucherInfo, Ul as writeConfig, Un as CreateRssFeedError, Uo as FileSubtitle, Ur as ListPaymentHistoryError, Us as findNextVideo, Ut as DeletePublicShareError, Uu as forgotPassword, V as StopRecordingTransferErrorSpec, Va as FriendInviteJoinedUserStatusSchema, Vc as DeleteEventError, Vd as deleteOAuthApp, Vf as PutioApiError, Vi as createPaddleWaitingPayment, Vl as readConfigWith, Vn as ClearRssFeedLogsError, Vo as FileSortSchema, Vr as GetPaymentVoucherInfoError, Vs as extractFiles, Vt as CreateSharingCloneError, Vu as clients, W as TransferAddInputSchema, Wa as ListFriendInvitesErrorSpec, Wc as EventsListQuerySchema, Wd as queryOAuthApps, Wf as PutioErrorEnvelope, Wi as listPaymentHistory, Wl as AuthorizationCodeSchema, Wn as CreateRssFeedErrorSpec, Wo as FileSubtitleSchema, Wr as ListPaymentHistoryErrorSpec, Ws as getApiContentUrl, Wt as DeletePublicShareErrorSpec, Wu as generateTOTP, X as TransferStatusSchema, Xa as CreateFolderErrorSpec, Xc as HistoryFileFromRssDeletedEventSchema, Xd as AccountConfirmation, Xf as PutioOperationFailure, Xi as reportPayments, Xl as ForgotPasswordErrorSpec, Xn as ListRssFeedItemsErrorSpec, Xo as FileUploadError, Xr as ListPaymentPlansErrorSpec, Xs as getMp4Status, Xt as GetSharedWithErrorSpec, Xu as getVoucher, Y as TransferStatus, Ya as CreateFolderError, Yc as HistoryEventSchema, Yd as AccountClearOptionsSchema, Yf as PutioOperationErrorSpec, Yi as redeemPaymentVoucher, Yl as ForgotPasswordError, Yn as ListRssFeedItemsError, Yo as FileUploadEnvelope, Yr as ListPaymentPlansError, Ys as getHlsStreamUrl, Yt as GetSharedWithError, Yu as getRecoveryCodes, Z as TransferType, Za as DownloadUrlError, Zc as HistoryFileSharedEvent, Zd as AccountConfirmationSchema, Zf as PutioRateLimitError, Zi as stopPaymentSubscription, Zl as FriendInviteLookupError, Zn as ListRssFeedsError, Zo as FileUploadErrorSpec, Zr as PaymentChangePlanPreview, Zs as getStartFrom, Zt as GetSharingCloneInfoError, Zu as grants, _ as ZipStatusSchema, _a as RemoveFriendError, _c as getIftttStatus, _d as OAuthApp, _f as SaveAccountSettingsErrorSpec, _i as PaymentPlanTypeSchema, _l as listEvents, _n as SharingCloneInfo, _o as FileExtractionSchema, _r as clearRssFeedLogs, _s as QueryFilesError, _t as ContinueTrashErrorSpec, _u as RegisterError, a as createPutioSdkPromiseClient, aa as Friend, ac as renameFile, ad as revokeApp, af as AccountInfoBroadSchema, ai as PaymentHistoryQuery, al as HistoryTransferCompletedEventSchema, an as PublicShare, ao as FileBase, ap as fallbackPutioErrorEnvelope, ar as RetryRssFeedItemError, as as FilesBulkSelection, at as addTransfer, au as GrantsError, b as createZip, ba as SearchFriendsErrorSpec, bc as CreateFamilyInviteErrorSpec, bd as OAuthAppSchema, bf as clearAccount, bi as PaymentProviderSchema, bl as DownloadLinksCreateInput, bn as SharingCloneInputSchema, bo as FileExtractionsError, br as getRssFeed, bs as RenameFileErrorSpec, bt as EmptyTrashError, bu as RegisterInputSchema, c as CreateZipError, ca as FriendSchema, cc as setFilesWatchStatus, cd as verifyTOTP, cf as AccountInfoResponseFor, ci as PaymentInfoSchema, cl as HistoryUploadEventSchema, cn as PublicShareSchema, co as FileBreadcrumbSchema, cp as mapDecodeErrorToValidationError, cr as RssFeedItem, cs as FilesListQuerySchema, ct as continueTransfers, cu as LinkDeviceErrorSpec, d as GetZipError, da as ListFriendsError, dc as GetIftttStatusError, dd as DeleteOAuthAppError, df as AccountTwoFactorSettingsSchema, di as PaymentOption, dl as HistoryZipCreatedEventSchema, dn as SharedFile, do as FileConversionStatus, dp as responseRateLimitHeaders, dr as RssFeedItemSucceededSchema, ds as FilesSearchQuery, dt as getTransferInfo, du as LoginResponse, ea as ApproveFriendRequestErrorSpec, ec as listFileSubtitles, ed as logout, ef as AccountDisk, ei as PaymentChangePlanSubmitInput, el as HistoryKnownEventTypeSchema, en as ListPublicShareFilesErrorSpec, eo as FileActiveConversionSchema, ep as PutioTypedErrorEnvelope, er as PauseRssFeedErrorSpec, es as FileUploadResult, et as TransfersContinueResponse, eu as GenerateTOTPErrorSpec, f as GetZipErrorSpec, fa as ListFriendsErrorSpec, fc as GetIftttStatusErrorSpec, fd as DeleteOAuthAppErrorSpec, ff as AccountWarnings, fi as PaymentOptionPlanTypeSchema, fl as ListEventsError, fn as SharedFileSchema, fo as FileConversionStatusSchema, fp as withOperationErrors, fr as RssFeedParams, fs as FilesSearchQuerySchema, ft as listTransfers, fu as LoginResponseSchema, g as ZipInfo, ga as ListWaitingRequestsErrorSpec, gc as SendIftttEventErrorSpec, gd as MyOAuthAppSchema, gf as SaveAccountSettingsError, gi as PaymentPlanGroupSchema, gl as getEventTorrent, gn as SharedFileSharedWithSchema, go as FileExtraction, gr as UpdateRssFeedErrorSpec, gs as GetFileErrorSpec, gt as ContinueTrashError, gu as RegenerateRecoveryCodesErrorSpec, h as ZipCreateResponse, ha as ListWaitingRequestsError, hc as SendIftttEventError, hd as MyOAuthApp, hf as PasInfoSchema, hi as PaymentPlanGroup, hl as deleteEvent, hn as SharedFileSharedWith, ho as FileDirectAccessOptions, hr as UpdateRssFeedError, hs as GetFileError, ht as stopTransferRecording, hu as RegenerateRecoveryCodesError, i as createPutioSdkEffectClient, ia as DenyFriendRequestErrorSpec, ic as queryFiles, id as revokeAllClients, if as AccountInfoBroad, ii as PaymentHistoryItemSchema, il as HistoryTransferCompletedEvent, in as ListSharedFilesErrorSpec, io as FileApiMp4DownloadUrlOptions, ip as definePutioOperationErrorSpec, ir as RetryAllRssFeedItemsErrorSpec, is as FileWatchStatusErrorSpec, it as addManyTransfers, iu as GiftCardLookupErrorSpec, j as AddTransferErrorSpec, ja as listWaitingRequests, jc as ListFamilyMembersErrorSpec, jd as PopularOAuthAppSchema, jf as PutioSdkConfigShape, ji as StopSubscriptionError, jl as getDownloadLinks, jn as deletePublicShare, jo as FileMp4Error, jr as CreateCoinbaseChargeError, js as convertFileSelectionToMp4, jt as TrashListResponse, ju as ValidateTokenResponse, k as AddManyTransfersErrorSpec, ka as listFriends, kc as ListFamilyInvitesErrorSpec, kd as OwnedOAuthAppSchema, kf as PutioQueryValue, ki as ReportPaymentsError, kl as GetDownloadLinksErrorSpec, kn as continuePublicShareFiles, ko as FileMediaMetadata, kr as ConfirmFastspringOrderError, ks as continueFiles, kt as TrashFileSchema, ku as TwoFactorRecoveryCodes, l as CreateZipErrorSpec, la as FriendSharedFolderError, lc as setStartFrom, ld as CreateOAuthAppError, lf as AccountSettings, li as PaymentInvite, ll as HistoryVoucherEventSchema, ln as ShareFilesError, lo as FileBroad, lp as mapTransportError, lr as RssFeedItemFailedSchema, ls as FilesMoveError, lt as countTransfers, lu as LoginError, m as ListZipsErrorSpec, ma as ListSentRequestsErrorSpec, mc as IftttEventType, md as GetOAuthAppErrorSpec, mf as PasInfo, mi as PaymentPaddleWaitingPaymentInput, ml as clearEvents, mn as SharedFileShareSchema, mo as FileCreateFolderInput, mr as RssFeedSchema, ms as FolderTypeSchema, mt as retryTransfer, mu as RecoveryCodesErrorSpec, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as CountWaitingRequestsErrorSpec, nc as moveFiles, nd as register, nf as AccountInfoBase, ni as PaymentChangePlanSubmitSchema, nl as HistoryRssFilterPausedEventSchema, nn as ListPublicSharesErrorSpec, no as FileActiveConversionsErrorSpec, np as PutioValidationError, nr as ResumeRssFeedErrorSpec, ns as FileVideoMetadata, nt as TransfersListQuerySchema, nu as GenerateTOTPResponseSchema, o as CancelZipError, oa as FriendBase, oc as resetStartFrom, od as revokeClient, of as AccountInfoQuery, oi as PaymentInfo, ol as HistoryTransferErrorEventSchema, on as PublicShareListQuery, oo as FileBaseSchema, op as makeResponseError, or as RetryRssFeedItemErrorSpec, os as FilesListEnvelopeSchema, ot as cancelTransfers, ou as GrantsErrorSpec, p as ListZipsError, pa as ListSentRequestsError, pc as IftttEventInput, pd as GetOAuthAppError, pf as AccountWarningsSchema, pi as PaymentOptionSchema, pl as ListEventsErrorSpec, pn as SharedFileShare, po as FileCore, pr as RssFeedParamsSchema, ps as FolderType, pt as reannounceTransfer, pu as RecoveryCodesError, q as TransferLink, qa as ContinueFilesError, qc as GetEventTorrentErrorSpec, qd as updateOAuthApp, qf as PutioOperationError, qi as listPaymentPlans, ql as FamilyInviteLookupError, qn as GetRssFeedError, qo as FileType, qr as ListPaymentOptionsError, qs as getDownloadUrl, qt as GetPublicShareFileUrlError, qu as getFriendInvite, r as DEFAULT_PUTIO_WEB_APP_URL, ra as DenyFriendRequestError, rc as putMp4ToMyFiles, rd as resetPassword, rf as AccountInfoBaseSchema, ri as PaymentHistoryItem, rl as HistoryTransferCallbackErrorEventSchema, rn as ListSharedFilesError, ro as FileApiDownloadUrlOptions, rp as decodePutioErrorEnvelope, rr as RetryAllRssFeedItemsError, rs as FileWatchStatusError, rt as TransfersListResponse, ru as GiftCardLookupError, s as CancelZipErrorSpec, sa as FriendBaseSchema, sc as searchFiles, sd as validateToken, sf as AccountInfoQuerySchema, si as PaymentInfoPlanSchema, sl as HistoryTransferFromRssErrorEventSchema, sn as PublicShareListQuerySchema, so as FileBreadcrumb, sp as mapConfigurationError, sr as RssFeed, ss as FilesListQuery, st as cleanTransfers, su as LinkDeviceError, t as DEFAULT_PUTIO_API_BASE_URL, ta as CountWaitingRequestsError, tc as moveFileSelection, td as regenerateRecoveryCodes, tf as AccountDiskSchema, ti as PaymentChangePlanSubmitResponse, tl as HistoryPrivateTorrentPinEventSchema, tn as ListPublicSharesError, to as FileActiveConversionsError, tp as PutioUnhandledSdkError, tr as ResumeRssFeedError, ts as FileUploadTransfer, tt as TransfersListQuery, tu as GenerateTOTPResponse, u as CreateZipInput, ua as FriendSharedFolderErrorSpec, uc as uploadFile, ud as CreateOAuthAppErrorSpec, uf as AccountSettingsSchema, ui as PaymentInviteSchema, ul as HistoryZipCreatedEvent, un as ShareFilesErrorSpec, uo as FileBroadSchema, up as parseErrorBody, ur as RssFeedItemSchema, us as FilesMoveErrorSchema, ut as getTransfer, uu as LoginErrorSpec, v as ZipSummary, va as RemoveFriendErrorSpec, vc as sendIftttEvent, vd as OAuthAppCreateInput, vf as SaveAccountSettingsPayload, vi as PaymentProvider, vl as CreateDownloadLinksError, vn as SharingCloneInfoSchema, vo as FileExtractionStatus, vr as createRssFeed, vs as QueryFilesErrorSpec, vt as DeleteTrashError, vu as RegisterErrorSpec, w as ListTunnelRoutesErrorSpec, wa as UserSearchResultSchema, wc as FamilyMember, wd as OAuthAppUpdateInputSchema, wf as listAccountConfirmations, wi as PaymentVoucherInfoSchema, wl as DownloadLinksPayload, wn as SharingUnshareInput, wo as FileListResponse, wr as resumeRssFeed, ws as StartFromErrorSpec, wt as RestoreTrashError, wu as RevokeAllOAuthClientsErrorSpec, x as getZip, xa as SendFriendRequestError, xc as FamilyInvite, xd as OAuthAppSession, xf as destroyAccount, xi as PaymentSubscriptionInfoSchema, xl as DownloadLinksCreateInputSchema, xn as SharingCloneStatusSchema, xo as FileExtractionsErrorSpec, xr as listRssFeedItems, xs as SearchFilesError, xt as EmptyTrashErrorSpec, xu as ResetPasswordError, y as cancelZip, ya as SearchFriendsError, yc as CreateFamilyInviteError, yd as OAuthAppCreateInputSchema, yf as SaveAccountSettingsPayloadSchema, yi as PaymentProviderNameSchema, yl as CreateDownloadLinksErrorSpec, yn as SharingCloneInput, yo as FileExtractionStatusSchema, yr as deleteRssFeed, ys as RenameFileError, yt as DeleteTrashErrorSpec, yu as RegisterInput, z as RetryTransferErrorSpec, za as FriendInviteJoinedUserSchema, zc as ClearEventsError, zd as buildOAuthAuthorizeUrl, zf as selectJsonField, zi as createNanoPaymentRequest, zl as getConfigKeyWith, zn as shareFiles, zo as FileSearchResponse, zr as GetPaymentInfoError, zs as deleteFileSelection, zt as CreatePublicShareError, zu as buildAuthLoginUrl } from "./index-BXhxIJsZ.js";
|
|
1
|
+
import { $ as TransfersAddMultiError, $a as FileActiveConversion, $c as HistoryKnownEventType, $d as AccountConfirmationsErrorSpec, $f as PutioTransportError, $i as ApproveFriendRequestError, $l as GenerateTOTPError, $n as PauseRssFeedError, $o as FileUploadRequestDescriptor, $r as PaymentChangePlanPreviewSchema, $s as listFileExtractions, $t as ListPublicShareFilesError, $u as login, A as AddTransferError, Aa as listSentRequests, Ac as ListFamilyMembersError, Ad as PopularOAuthApp, Af as PutioSdkConfig, Ai as ReportPaymentsErrorSpec, Al as createDownloadLinks, An as createPublicShare, Ao as FileMediaMetadataSchema, Ar as ConfirmFastspringOrderErrorSpec, As as continueSearch, At as TrashListQuery, Au as TwoFactorRecoveryCodesSchema, B as StopRecordingTransferError, Ba as FriendInviteJoinedUserStatus, Bc as ClearEventsErrorSpec, Bd as createOAuthApp, Bf as selectJsonFields, Bi as createOpenNodeCharge, Bl as readConfig, Bn as unshareFile, Bo as FileSort, Br as GetPaymentInfoErrorSpec, Bs as deleteFiles, Bt as CreatePublicShareErrorSpec, Bu as checkCodeMatch, C as ListTunnelRoutesError, Ca as UserSearchResult, Cc as FamilyInvitesResponse, Cd as OAuthAppUpdateInput, Cf as getAccountSettings, Ci as PaymentVoucherInfo, Cl as DownloadLinksInfoSchema, Cn as SharingShareInputSchema, Co as FileListContinuationResponse, Cr as pauseRssFeed, Cs as StartFromError, Ct as ListTrashErrorSpec, Cu as RevokeAllOAuthClientsError, D as listTunnelRoutes, Da as denyFriendRequest, Dc as JoinFamilyErrorSpec, Dd as OAuthSetIconInputSchema, Df as PutioAuth, Di as RedeemPaymentVoucherError, Dl as DownloadLinksStatusSchema, Dn as UnshareFileErrorSpec, Do as FileMediaInfoSchema, Dr as updateRssFeed, Ds as buildFileApiMp4DownloadUrl, Dt as TrashContinueResponse, Du as RevokeOAuthGrantError, E as TunnelRouteSchema, Ea as countWaitingRequests, Ec as JoinFamilyError, Ed as OAuthSetIconInput, Ef as OkResponseSchema, Ei as PreviewPaymentChangePlanErrorSpec, El as DownloadLinksStatus, En as UnshareFileError, Eo as FileMediaInfoFormatSchema, Er as retryRssFeedItem, Es as buildFileApiDownloadUrl, Et as TrashBulkInput, Eu as RevokeOAuthClientErrorSpec, F as ListTransfersErrorSpec, Fa as CreateFriendInviteError, Fc as joinFamily, Fd as RegenerateOAuthAppTokenErrorSpec, Ff as makePutioSdkLayer, Fi as UserSubscriptionStatusSchema, Fl as PutioJsonPrimitive, Fn as getSharingCloneInfo, Fo as FileQuery, Fr as CreateOpenNodeChargeError, Fs as createFileUploadRequest, Ft as listTrash, Fu as VerifyTOTPResponse, G as TransferBaseSchema, Ga as createFriendInvite, Gc as EventsListResponse, Gd as regenerateOAuthAppToken, Gf as PutioErrorEnvelopeSchema, Gi as listPaymentInvites, Gl as ClientsError, Gn as DeleteRssFeedError, Go as FileSubtitlesError, Gr as ListPaymentInvitesError, Gs as getApiDownloadUrl, Gt as GetPublicShareError, Gu as getCode, H as Transfer, Ha as FriendInviteSchema, Hc as DeleteEventErrorSpec, Hd as getOAuthApp, Hf as PutioAuthError, Hi as getPaymentInfo, Hl as setConfigKey, Hn as ClearRssFeedLogsErrorSpec, Ho as FileStartFromSetInput, Hr as GetPaymentVoucherInfoErrorSpec, Hs as findNextFile, Ht as CreateSharingCloneErrorSpec, Hu as exists, I as ReannounceTransferError, Ia as CreateFriendInviteErrorSpec, Ic as listFamilyInvites, Id as UpdateOAuthAppError, If as requestArrayBuffer, Ii as classifyPaymentChangePlanResponse, Il as PutioJsonValue, In as listPublicShareFiles, Io as FileQuerySchema, Ir as CreateOpenNodeChargeErrorSpec, Is as createFolder, It as restoreTrash, Iu as VerifyTOTPResponseSchema, J as TransferSchema, Ja as ContinueFilesErrorSpec, Jc as HistoryEvent, Jd as AccountClearOptions, Jf as PutioOperationErrorFromSpec, Ji as previewPaymentChangePlan, Jl as FamilyInviteLookupErrorSpec, Jn as GetRssFeedErrorSpec, Jo as FileTypeSchema, Jr as ListPaymentOptionsErrorSpec, Js as getFile, Jt as GetPublicShareFileUrlErrorSpec, Ju as getGiftCard, K as TransferInfoItem, Ka as listFriendInvites, Kc as GetEventTorrentError, Kd as setOAuthAppIcon, Kf as PutioKnownErrorContract, Ki as listPaymentOptions, Kl as ClientsErrorSpec, Kn as DeleteRssFeedErrorSpec, Ko as FileSubtitlesErrorSpec, Kr as ListPaymentInvitesErrorSpec, Ks as getApiMp4DownloadUrl, Kt as GetPublicShareErrorSpec, Ku as getFamilyInvite, L as ReannounceTransferErrorSpec, La as FriendInvite, Lc as listFamilyMembers, Ld as UpdateOAuthAppErrorSpec, Lf as requestJson, Li as confirmFastspringOrder, Ll as deleteConfigKey, Ln as listPublicShares, Lo as FileRenameInput, Lr as CreatePaddleWaitingPaymentError, Ls as deleteFileExtraction, Lt as ContinuePublicShareFilesError, Lu as VoucherLookupError, M as GetTransferError, Ma as removeFriend, Mc as RemoveFamilyMemberError, Md as QueryOAuthAppsError, Mf as PutioSdkContext, Mi as StopSubscriptionErrorSpec, Ml as JsonObjectSchema, Mn as getPublicShare, Mo as FileMp4ErrorSpec, Mr as CreateCoinbaseChargeErrorSpec, Ms as convertFileToMp4, Mt as continueTrash, Mu as ValidateTokenResponseSchema, N as GetTransferErrorSpec, Na as searchFriends, Nc as RemoveFamilyMemberErrorSpec, Nd as QueryOAuthAppsErrorSpec, Nf as buildPutioUrl, Ni as SubmitPaymentChangePlanError, Nl as JsonValueSchema, Nn as getPublicShareFileUrl, No as FileMp4MutationError, Nr as CreateNanoPaymentRequestError, Ns as convertFilesToMp4, Nt as deleteTrash, Nu as VerifyTOTPError, O as AddManyTransfersError, Oa as getFriendSharedFolder, Oc as ListFamilyInvitesError, Od as OwnedOAuthApp, Of as PutioQuery, Oi as RedeemPaymentVoucherErrorSpec, Ol as GetDownloadLinksError, On as cloneSharedFiles, Oo as FileMediaInfoStreamSchema, Or as ClassifiedPaymentChangePlanSubmitResponse, Os as buildFileHlsStreamUrl, Ot as TrashFile, Ou as RevokeOAuthGrantErrorSpec, P as ListTransfersError, Pa as sendFriendRequest, Pc as createFamilyInvite, Pd as RegenerateOAuthAppTokenError, Pf as makePutioSdkConfig, Pi as SubmitPaymentChangePlanErrorSpec, Pl as PutioJsonObject, Pn as getSharedWith, Po as FileMp4MutationErrorSpec, Pr as CreateNanoPaymentRequestErrorSpec, Ps as createFileUploadFormData, Pt as emptyTrash, Pu as VerifyTOTPErrorSpec, Q as TransferTypeSchema, Qa as DownloadUrlErrorSpec, Qc as HistoryFileSharedEventSchema, Qd as AccountConfirmationsError, Qf as PutioSdkError, Qi as submitPaymentChangePlan, Ql as FriendInviteLookupErrorSpec, Qn as ListRssFeedsErrorSpec, Qo as FileUploadInput, Qr as PaymentChangePlanPreviewInput, Qs as listActiveMp4Conversions, Qt as GetSharingCloneInfoErrorSpec, Qu as linkDevice, R as RetryTransferError, Ra as FriendInviteJoinedUser, Rc as removeFamilyMember, Rd as buildOAuthAppIconUrl, Rf as requestVoid, Ri as createCoinbaseCharge, Rl as getConfigKey, Rn as listSharedFiles, Ro as FileResponseFor, Rr as CreatePaddleWaitingPaymentErrorSpec, Rs as deleteFileMp4, Rt as ContinuePublicShareFilesErrorSpec, Ru as VoucherLookupErrorSpec, S as listZips, Sa as SendFriendRequestErrorSpec, Sc as FamilyInviteSchema, Sd as OAuthAppSessionSchema, Sf as getAccountInfo, Si as PaymentTypeSchema, Sl as DownloadLinksInfo, Sn as SharingShareInput, So as FileHlsStreamUrlOptions, Sr as listRssFeeds, Ss as SearchFilesErrorSpec, St as ListTrashError, Su as ResetPasswordErrorSpec, T as TunnelRoute, Ta as approveFriendRequest, Tc as FamilyMemberSchema, Td as OAuthAppWithTokenSchema, Tf as saveAccountSettings, Ti as PreviewPaymentChangePlanError, Tl as DownloadLinksPayloadSchema, Tn as SharingUnshareInputSchema, To as FileMediaInfo, Tr as retryAllRssFeedItems, Ts as buildFileApiContentUrl, Tt as RestoreTrashErrorSpec, Tu as RevokeOAuthClientError, U as TransferAddInput, Ua as ListFriendInvitesError, Uc as EventsListQuery, Ud as getPopularOAuthApps, Uf as PutioConfigurationError, Ui as getPaymentVoucherInfo, Ul as writeConfig, Un as CreateRssFeedError, Uo as FileSubtitle, Ur as ListPaymentHistoryError, Us as findNextVideo, Ut as DeletePublicShareError, Uu as forgotPassword, V as StopRecordingTransferErrorSpec, Va as FriendInviteJoinedUserStatusSchema, Vc as DeleteEventError, Vd as deleteOAuthApp, Vf as PutioApiError, Vi as createPaddleWaitingPayment, Vl as readConfigWith, Vn as ClearRssFeedLogsError, Vo as FileSortSchema, Vr as GetPaymentVoucherInfoError, Vs as extractFiles, Vt as CreateSharingCloneError, Vu as clients, W as TransferAddInputSchema, Wa as ListFriendInvitesErrorSpec, Wc as EventsListQuerySchema, Wd as queryOAuthApps, Wf as PutioErrorEnvelope, Wi as listPaymentHistory, Wl as AuthorizationCodeSchema, Wn as CreateRssFeedErrorSpec, Wo as FileSubtitleSchema, Wr as ListPaymentHistoryErrorSpec, Ws as getApiContentUrl, Wt as DeletePublicShareErrorSpec, Wu as generateTOTP, X as TransferStatusSchema, Xa as CreateFolderErrorSpec, Xc as HistoryFileFromRssDeletedEventSchema, Xd as AccountConfirmation, Xf as PutioOperationFailure, Xi as reportPayments, Xl as ForgotPasswordErrorSpec, Xn as ListRssFeedItemsErrorSpec, Xo as FileUploadError, Xr as ListPaymentPlansErrorSpec, Xs as getMp4Status, Xt as GetSharedWithErrorSpec, Xu as getVoucher, Y as TransferStatus, Ya as CreateFolderError, Yc as HistoryEventSchema, Yd as AccountClearOptionsSchema, Yf as PutioOperationErrorSpec, Yi as redeemPaymentVoucher, Yl as ForgotPasswordError, Yn as ListRssFeedItemsError, Yo as FileUploadEnvelope, Yr as ListPaymentPlansError, Ys as getHlsStreamUrl, Yt as GetSharedWithError, Yu as getRecoveryCodes, Z as TransferType, Za as DownloadUrlError, Zc as HistoryFileSharedEvent, Zd as AccountConfirmationSchema, Zf as PutioRateLimitError, Zi as stopPaymentSubscription, Zl as FriendInviteLookupError, Zn as ListRssFeedsError, Zo as FileUploadErrorSpec, Zr as PaymentChangePlanPreview, Zs as getStartFrom, Zt as GetSharingCloneInfoError, Zu as grants, _ as ZipStatusSchema, _a as RemoveFriendError, _c as getIftttStatus, _d as OAuthApp, _f as SaveAccountSettingsErrorSpec, _i as PaymentPlanTypeSchema, _l as listEvents, _n as SharingCloneInfo, _o as FileExtractionSchema, _r as clearRssFeedLogs, _s as QueryFilesError, _t as ContinueTrashErrorSpec, _u as RegisterError, a as createPutioSdkPromiseClient, aa as Friend, ac as renameFile, ad as revokeApp, af as AccountInfoBroadSchema, ai as PaymentHistoryQuery, al as HistoryTransferCompletedEventSchema, an as PublicShare, ao as FileBase, ap as fallbackPutioErrorEnvelope, ar as RetryRssFeedItemError, as as FilesBulkSelection, at as addTransfer, au as GrantsError, b as createZip, ba as SearchFriendsErrorSpec, bc as CreateFamilyInviteErrorSpec, bd as OAuthAppSchema, bf as clearAccount, bi as PaymentProviderSchema, bl as DownloadLinksCreateInput, bn as SharingCloneInputSchema, bo as FileExtractionsError, br as getRssFeed, bs as RenameFileErrorSpec, bt as EmptyTrashError, bu as RegisterInputSchema, c as CreateZipError, ca as FriendSchema, cc as setFilesWatchStatus, cd as verifyTOTP, cf as AccountInfoResponseFor, ci as PaymentInfoSchema, cl as HistoryUploadEventSchema, cn as PublicShareSchema, co as FileBreadcrumbSchema, cp as mapDecodeErrorToValidationError, cr as RssFeedItem, cs as FilesListQuerySchema, ct as continueTransfers, cu as LinkDeviceErrorSpec, d as GetZipError, da as ListFriendsError, dc as GetIftttStatusError, dd as DeleteOAuthAppError, df as AccountTwoFactorSettingsSchema, di as PaymentOption, dl as HistoryZipCreatedEventSchema, dn as SharedFile, do as FileConversionStatus, dp as responseRateLimitHeaders, dr as RssFeedItemSucceededSchema, ds as FilesSearchQuery, dt as getTransferInfo, du as LoginResponse, ea as ApproveFriendRequestErrorSpec, ec as listFileSubtitles, ed as logout, ef as AccountDisk, ei as PaymentChangePlanSubmitInput, el as HistoryKnownEventTypeSchema, en as ListPublicShareFilesErrorSpec, eo as FileActiveConversionSchema, ep as PutioTypedErrorEnvelope, er as PauseRssFeedErrorSpec, es as FileUploadResult, et as TransfersContinueResponse, eu as GenerateTOTPErrorSpec, f as GetZipErrorSpec, fa as ListFriendsErrorSpec, fc as GetIftttStatusErrorSpec, fd as DeleteOAuthAppErrorSpec, ff as AccountWarnings, fi as PaymentOptionPlanTypeSchema, fl as ListEventsError, fn as SharedFileSchema, fo as FileConversionStatusSchema, fp as withOperationErrors, fr as RssFeedParams, fs as FilesSearchQuerySchema, ft as listTransfers, fu as LoginResponseSchema, g as ZipInfo, ga as ListWaitingRequestsErrorSpec, gc as SendIftttEventErrorSpec, gd as MyOAuthAppSchema, gf as SaveAccountSettingsError, gi as PaymentPlanGroupSchema, gl as getEventTorrent, gn as SharedFileSharedWithSchema, go as FileExtraction, gr as UpdateRssFeedErrorSpec, gs as GetFileErrorSpec, gt as ContinueTrashError, gu as RegenerateRecoveryCodesErrorSpec, h as ZipCreateResponse, ha as ListWaitingRequestsError, hc as SendIftttEventError, hd as MyOAuthApp, hf as PasInfoSchema, hi as PaymentPlanGroup, hl as deleteEvent, hn as SharedFileSharedWith, ho as FileDirectAccessOptions, hr as UpdateRssFeedError, hs as GetFileError, ht as stopTransferRecording, hu as RegenerateRecoveryCodesError, i as createPutioSdkEffectClient, ia as DenyFriendRequestErrorSpec, ic as queryFiles, id as revokeAllClients, if as AccountInfoBroad, ii as PaymentHistoryItemSchema, il as HistoryTransferCompletedEvent, in as ListSharedFilesErrorSpec, io as FileApiMp4DownloadUrlOptions, ip as definePutioOperationErrorSpec, ir as RetryAllRssFeedItemsErrorSpec, is as FileWatchStatusErrorSpec, it as addManyTransfers, iu as GiftCardLookupErrorSpec, j as AddTransferErrorSpec, ja as listWaitingRequests, jc as ListFamilyMembersErrorSpec, jd as PopularOAuthAppSchema, jf as PutioSdkConfigShape, ji as StopSubscriptionError, jl as getDownloadLinks, jn as deletePublicShare, jo as FileMp4Error, jr as CreateCoinbaseChargeError, js as convertFileSelectionToMp4, jt as TrashListResponse, ju as ValidateTokenResponse, k as AddManyTransfersErrorSpec, ka as listFriends, kc as ListFamilyInvitesErrorSpec, kd as OwnedOAuthAppSchema, kf as PutioQueryValue, ki as ReportPaymentsError, kl as GetDownloadLinksErrorSpec, kn as continuePublicShareFiles, ko as FileMediaMetadata, kr as ConfirmFastspringOrderError, ks as continueFiles, kt as TrashFileSchema, ku as TwoFactorRecoveryCodes, l as CreateZipErrorSpec, la as FriendSharedFolderError, lc as setStartFrom, ld as CreateOAuthAppError, lf as AccountSettings, li as PaymentInvite, ll as HistoryVoucherEventSchema, ln as ShareFilesError, lo as FileBroad, lp as mapTransportError, lr as RssFeedItemFailedSchema, ls as FilesMoveError, lt as countTransfers, lu as LoginError, m as ListZipsErrorSpec, ma as ListSentRequestsErrorSpec, mc as IftttEventType, md as GetOAuthAppErrorSpec, mf as PasInfo, mi as PaymentPaddleWaitingPaymentInput, ml as clearEvents, mn as SharedFileShareSchema, mo as FileCreateFolderInput, mr as RssFeedSchema, ms as FolderTypeSchema, mt as retryTransfer, mu as RecoveryCodesErrorSpec, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as CountWaitingRequestsErrorSpec, nc as moveFiles, nd as register, nf as AccountInfoBase, ni as PaymentChangePlanSubmitSchema, nl as HistoryRssFilterPausedEventSchema, nn as ListPublicSharesErrorSpec, no as FileActiveConversionsErrorSpec, np as PutioValidationError, nr as ResumeRssFeedErrorSpec, ns as FileVideoMetadata, nt as TransfersListQuerySchema, nu as GenerateTOTPResponseSchema, o as CancelZipError, oa as FriendBase, oc as resetStartFrom, od as revokeClient, of as AccountInfoQuery, oi as PaymentInfo, ol as HistoryTransferErrorEventSchema, on as PublicShareListQuery, oo as FileBaseSchema, op as makeResponseError, or as RetryRssFeedItemErrorSpec, os as FilesListEnvelopeSchema, ot as cancelTransfers, ou as GrantsErrorSpec, p as ListZipsError, pa as ListSentRequestsError, pc as IftttEventInput, pd as GetOAuthAppError, pf as AccountWarningsSchema, pi as PaymentOptionSchema, pl as ListEventsErrorSpec, pn as SharedFileShare, po as FileCore, pr as RssFeedParamsSchema, ps as FolderType, pt as reannounceTransfer, pu as RecoveryCodesError, q as TransferLink, qa as ContinueFilesError, qc as GetEventTorrentErrorSpec, qd as updateOAuthApp, qf as PutioOperationError, qi as listPaymentPlans, ql as FamilyInviteLookupError, qn as GetRssFeedError, qo as FileType, qr as ListPaymentOptionsError, qs as getDownloadUrl, qt as GetPublicShareFileUrlError, qu as getFriendInvite, r as DEFAULT_PUTIO_WEB_APP_URL, ra as DenyFriendRequestError, rc as putMp4ToMyFiles, rd as resetPassword, rf as AccountInfoBaseSchema, ri as PaymentHistoryItem, rl as HistoryTransferCallbackErrorEventSchema, rn as ListSharedFilesError, ro as FileApiDownloadUrlOptions, rp as decodePutioErrorEnvelope, rr as RetryAllRssFeedItemsError, rs as FileWatchStatusError, rt as TransfersListResponse, ru as GiftCardLookupError, s as CancelZipErrorSpec, sa as FriendBaseSchema, sc as searchFiles, sd as validateToken, sf as AccountInfoQuerySchema, si as PaymentInfoPlanSchema, sl as HistoryTransferFromRssErrorEventSchema, sn as PublicShareListQuerySchema, so as FileBreadcrumb, sp as mapConfigurationError, sr as RssFeed, ss as FilesListQuery, st as cleanTransfers, su as LinkDeviceError, t as DEFAULT_PUTIO_API_BASE_URL, ta as CountWaitingRequestsError, tc as moveFileSelection, td as regenerateRecoveryCodes, tf as AccountDiskSchema, ti as PaymentChangePlanSubmitResponse, tl as HistoryPrivateTorrentPinEventSchema, tn as ListPublicSharesError, to as FileActiveConversionsError, tp as PutioUnhandledSdkError, tr as ResumeRssFeedError, ts as FileUploadTransfer, tt as TransfersListQuery, tu as GenerateTOTPResponse, u as CreateZipInput, ua as FriendSharedFolderErrorSpec, uc as uploadFile, ud as CreateOAuthAppErrorSpec, uf as AccountSettingsSchema, ui as PaymentInviteSchema, ul as HistoryZipCreatedEvent, un as ShareFilesErrorSpec, uo as FileBroadSchema, up as parseErrorBody, ur as RssFeedItemSchema, us as FilesMoveErrorSchema, ut as getTransfer, uu as LoginErrorSpec, v as ZipSummary, va as RemoveFriendErrorSpec, vc as sendIftttEvent, vd as OAuthAppCreateInput, vf as SaveAccountSettingsPayload, vi as PaymentProvider, vl as CreateDownloadLinksError, vn as SharingCloneInfoSchema, vo as FileExtractionStatus, vr as createRssFeed, vs as QueryFilesErrorSpec, vt as DeleteTrashError, vu as RegisterErrorSpec, w as ListTunnelRoutesErrorSpec, wa as UserSearchResultSchema, wc as FamilyMember, wd as OAuthAppUpdateInputSchema, wf as listAccountConfirmations, wi as PaymentVoucherInfoSchema, wl as DownloadLinksPayload, wn as SharingUnshareInput, wo as FileListResponse, wr as resumeRssFeed, ws as StartFromErrorSpec, wt as RestoreTrashError, wu as RevokeAllOAuthClientsErrorSpec, x as getZip, xa as SendFriendRequestError, xc as FamilyInvite, xd as OAuthAppSession, xf as destroyAccount, xi as PaymentSubscriptionInfoSchema, xl as DownloadLinksCreateInputSchema, xn as SharingCloneStatusSchema, xo as FileExtractionsErrorSpec, xr as listRssFeedItems, xs as SearchFilesError, xt as EmptyTrashErrorSpec, xu as ResetPasswordError, y as cancelZip, ya as SearchFriendsError, yc as CreateFamilyInviteError, yd as OAuthAppCreateInputSchema, yf as SaveAccountSettingsPayloadSchema, yi as PaymentProviderNameSchema, yl as CreateDownloadLinksErrorSpec, yn as SharingCloneInput, yo as FileExtractionStatusSchema, yr as deleteRssFeed, ys as RenameFileError, yt as DeleteTrashErrorSpec, yu as RegisterInput, z as RetryTransferErrorSpec, za as FriendInviteJoinedUserSchema, zc as ClearEventsError, zd as buildOAuthAuthorizeUrl, zf as selectJsonField, zi as createNanoPaymentRequest, zl as getConfigKeyWith, zn as shareFiles, zo as FileSearchResponse, zr as GetPaymentInfoError, zs as deleteFileSelection, zt as CreatePublicShareError, zu as buildAuthLoginUrl } from "./index-J_maUhU1.js";
|
|
2
2
|
export { AccountClearOptions, AccountClearOptionsSchema, AccountConfirmation, AccountConfirmationSchema, AccountConfirmationsError, AccountConfirmationsErrorSpec, AccountDisk, AccountDiskSchema, AccountInfoBase, AccountInfoBaseSchema, AccountInfoBroad, AccountInfoBroadSchema, AccountInfoQuery, AccountInfoQuerySchema, AccountInfoResponseFor, AccountSettings, AccountSettingsSchema, AccountTwoFactorSettingsSchema, AccountWarnings, AccountWarningsSchema, AddManyTransfersError, AddManyTransfersErrorSpec, AddTransferError, AddTransferErrorSpec, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthorizationCodeSchema, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateCoinbaseChargeError, CreateCoinbaseChargeErrorSpec, CreateDownloadLinksError, CreateDownloadLinksErrorSpec, CreateFamilyInviteError, CreateFamilyInviteErrorSpec, CreateFolderError, CreateFolderErrorSpec, CreateFriendInviteError, CreateFriendInviteErrorSpec, CreateNanoPaymentRequestError, CreateNanoPaymentRequestErrorSpec, CreateOAuthAppError, CreateOAuthAppErrorSpec, CreateOpenNodeChargeError, CreateOpenNodeChargeErrorSpec, 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, 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, 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, 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, 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, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdkConfig, PutioSdkConfigShape, PutioSdkContext, PutioSdkError, 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, createCoinbaseCharge, createDownloadLinks, createFamilyInvite, createFileUploadFormData, createFileUploadRequest, createFolder, createFriendInvite, createNanoPaymentRequest, createOAuthApp, createOpenNodeCharge, createPaddleWaitingPayment, createPublicShare, createPutioSdkEffectClient, createPutioSdkPromiseClient, createRssFeed, createZip, decodePutioErrorEnvelope, definePutioOperationErrorSpec, deleteConfigKey, deleteEvent, deleteFileExtraction, deleteFileMp4, deleteFileSelection, deleteFiles, deleteOAuthApp, deletePublicShare, deleteRssFeed, deleteTrash, denyFriendRequest, destroyAccount, emptyTrash, 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, getPaymentInfo, getPaymentVoucherInfo, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getVoucher, getZip, grants, joinFamily, linkDevice, listAccountConfirmations, listActiveMp4Conversions, listEvents, listFamilyInvites, listFamilyMembers, listFileExtractions, listFileSubtitles, listFriendInvites, listFriends, listPaymentHistory, listPaymentInvites, listPaymentOptions, listPaymentPlans, listPublicShareFiles, listPublicShares, listRssFeedItems, listRssFeeds, listSentRequests, listSharedFiles, listTransfers, listTrash, listTunnelRoutes, listWaitingRequests, listZips, login, logout, makePutioSdkConfig, makePutioSdkLayer, 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as mapTransportError, C as PutioValidationError, D as makeResponseError, E as fallbackPutioErrorEnvelope, M as responseRateLimitHeaders, N as withOperationErrors, O as mapConfigurationError, S as PutioTransportError, T as definePutioOperationErrorSpec, _ as PutioAuthError, a as buildPutioUrl, b as PutioOperationError, c as requestArrayBuffer, d as selectJsonField, f as selectJsonFields, g as PutioApiError, h as DEFAULT_PUTIO_WEB_APP_URL, i as PutioSdkConfig, j as parseErrorBody, k as mapDecodeErrorToValidationError, l as requestJson, m as DEFAULT_PUTIO_UPLOAD_BASE_URL, n as toCursorSelectionForm, o as makePutioSdkConfig, p as DEFAULT_PUTIO_API_BASE_URL, r as OkResponseSchema, s as makePutioSdkLayer, t as joinCsv, u as requestVoid, v as PutioConfigurationError, w as decodePutioErrorEnvelope, x as PutioRateLimitError, y as PutioErrorEnvelopeSchema } from "./forms-DM_sjuyz.js";
|
|
2
2
|
import { FetchHttpClient } from "@effect/platform";
|
|
3
|
-
import { Effect, Layer, ManagedRuntime, Schema } from "effect";
|
|
3
|
+
import { Cause, Effect, Exit, Layer, ManagedRuntime, Option, Schema } from "effect";
|
|
4
4
|
//#region src/domains/account.ts
|
|
5
5
|
const RequestedFlag$1 = Schema.Literal(1);
|
|
6
6
|
const AccountDiskSchema = Schema.Struct({
|
|
@@ -4390,7 +4390,15 @@ const disposePromiseClientRuntime = async (config) => {
|
|
|
4390
4390
|
if (!runtime) return;
|
|
4391
4391
|
await runtime.dispose();
|
|
4392
4392
|
};
|
|
4393
|
-
const
|
|
4393
|
+
const rejectWithSdkFailure = (exit) => Exit.match(exit, {
|
|
4394
|
+
onSuccess: (value) => Promise.resolve(value),
|
|
4395
|
+
onFailure: (cause) => {
|
|
4396
|
+
const failure = Cause.failureOption(cause);
|
|
4397
|
+
if (Option.isSome(failure)) return Promise.reject(failure.value);
|
|
4398
|
+
return Promise.reject(Cause.squash(cause));
|
|
4399
|
+
}
|
|
4400
|
+
});
|
|
4401
|
+
const provideSdk = async (config, effect) => rejectWithSdkFailure(await getPromiseClientRuntime(config).runPromiseExit(effect));
|
|
4394
4402
|
const createPutioSdkEffectClient = () => ({
|
|
4395
4403
|
account: {
|
|
4396
4404
|
clear: clearAccount,
|