@putdotio/sdk 11.5.0 → 12.0.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/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as Transfer, $a as denyFriendRequest, $c as listFileSubtitles, $d as generateTOTP, $f as queryOAuthApps, $i as RedeemPaymentVoucherError, $l as HistoryFileSharedEvent, $m as mapConfigurationError, $n as getSharingCloneInfo, $o as FileExtractionsErrorSpec, $p as listAccountSubtitleLanguages, $r as getPodcastLinks, $s as FolderType, $t as listTrash, $u as ForgotPasswordErrorSpec, A as TunnelRoute, Aa as DenyFriendRequestErrorSpec, Ac as createFileUploadFormData, Ad as ResetPasswordErrorSpec, Af as OAuthAppSession, Ai as PaymentHistoryItemSchema, Al as ListFamilyInvitesError, Am as PutioErrorEnvelope, An as SharedFileSchema, Ao as FileActiveConversionSchema, Ap as AccountInfoBroad, Ar as RssFeedParams, As as FileTouchInput, At as reannounceTransfer, Au as GetDownloadLinksError, B as GetTransferErrorSpec, Ba as ListSentRequestsErrorSpec, Bc as getApiContentUrl, Bd as ValidateTokenResponseSchema, Bf as PopularOAuthAppSchema, Bi as PaymentPaddleWaitingPaymentInput, Bl as removeFamilyMember, Bm as PutioTransportError, Bn as SharingShareInput, Bo as FileBroadSchema, Bp as AccountWarnings, Br as listRssFeeds, Bs as FileUploadTransfer, Bt as ListTrashError, Bu as getConfigKey, C as ZipSummary, Ca as stopPaymentSubscription, Cc as canWriteFile, Cd as RegenerateRecoveryCodesError, Cf as GetOAuthAppErrorSpec, Ci as PaymentChangePlanPreview, Cl as FamilyInvite, Cm as requestVoid, Cn as PublicShare, Co as CopyFileError, Cp as AccountConfirmationSchema, Cr as RetryRssFeedItemError, Cs as FileSort, Ct as cleanTransfers, Cu as DownloadLinksCreateInputSchema, D as listZips, Da as CountWaitingRequestsError, Dc as convertFileToMp4, Dd as RegisterInput, Df as OAuthAppCreateInput, Di as PaymentChangePlanSubmitResponse, Dl as FamilyMemberSchema, Dm as PutioApiError, Dn as ShareFilesError, Do as DownloadUrlError, Dp as AccountDiskSchema, Dr as RssFeedItemFailedSchema, Ds as FileSubtitleSchema, Dt as getTransferInfo, Du as DownloadLinksPayloadSchema, E as getZip, Ea as ApproveFriendRequestErrorSpec, Ec as convertFileSelectionToMp4, Ed as RegisterErrorSpec, Ef as OAuthApp, Ei as PaymentChangePlanSubmitInput, El as FamilyMember, Em as AnyPutioOperationError, En as PublicShareSchema, Eo as CreateFolderErrorSpec, Ep as AccountDisk, Er as RssFeedItem, Es as FileSubtitle, Et as getTransfer, Eu as DownloadLinksPayload, F as AddTransferError, Fa as FriendSharedFolderError, Fc as deleteFileSelection, Fd as RevokeOAuthGrantError, Ff as OAuthSetIconInput, Fi as PaymentInvite, Fl as RemoveFamilyMemberErrorSpec, Fm as PutioOperationErrorFromSpec, Fn as SharingCloneInfo, Fo as FileBase, Fp as AccountSettings, Fr as clearRssFeedLogs, Fs as FileUploadError, Ft as ContinueTrashErrorSpec, Fu as JsonValueSchema, G as ReannounceTransferError, Ga as SearchFriendsError, Gc as getFileChild, Gd as VoucherLookupError, Gf as UpdateOAuthAppError, Gi as PaymentProviderNameSchema, Gl as EventsListQuery, Gm as definePutioOperationErrorSpec, Gn as UnshareFileErrorSpec, Go as FileCore, Gp as SaveAccountSettingsErrorSpec, Gr as updateRssFeed, Gs as FilesBulkSelection, Gt as TrashContinueResponse, Gu as writeConfig, H as GetTransferTorrentErrorSpec, Ha as ListWaitingRequestsErrorSpec, Hc as getApiMp4DownloadUrl, Hd as VerifyTOTPErrorSpec, Hf as QueryOAuthAppsErrorSpec, Hi as PaymentPlanGroupSchema, Hl as ClearEventsErrorSpec, Hm as PutioUnhandledSdkError, Hn as SharingUnshareInput, Ho as FileConversionStatusSchema, Hp as PasInfo, Hr as resumeRssFeed, Hs as FileWatchStatusError, Ht as RestoreTrashError, Hu as readConfig, I as AddTransferErrorSpec, Ia as FriendSharedFolderErrorSpec, Ic as deleteFiles, Id as RevokeOAuthGrantErrorSpec, If as OAuthSetIconInputSchema, Ii as PaymentInviteSchema, Il as createFamilyInvite, Im as PutioOperationErrorSpec, In as SharingCloneInfoSchema, Io as FileBaseSchema, Ip as AccountSettingsSchema, Ir as createRssFeed, Is as FileUploadErrorSpec, It as DeleteTrashError, Iu as PutioJsonObject, J as RemoveTransfersErrorSpec, Ja as SendFriendRequestErrorSpec, Jc as getMp4Status, Jd as checkCodeMatch, Jf as buildOAuthAuthorizeUrl, Ji as PaymentTypeSchema, Jl as GetEventTorrentError, Jm as isPutioAuthError, Jn as createPublicShare, Jo as FileExtraction, Jp as clearAccount, Jr as PodcastLinkType, Js as FilesListQuerySchema, Jt as TrashListQuery, Ju as ClientsError, K as ReannounceTransferErrorSpec, Ka as SearchFriendsErrorSpec, Kc as getHlsMasterPlaylist, Kd as VoucherLookupErrorSpec, Kf as UpdateOAuthAppErrorSpec, Ki as PaymentProviderSchema, Kl as EventsListQuerySchema, Km as fallbackPutioErrorEnvelope, Kn as cloneSharedFiles, Ko as FileCreateFolderInput, Kp as SaveAccountSettingsPayload, Kr as PodcastGetLinksInput, Ks as FilesListEnvelopeSchema, Kt as TrashFile, Ku as AuthGetCodeInput, L as AddTransferTrackersError, La as ListFriendsError, Lc as extractFiles, Ld as TwoFactorRecoveryCodes, Lf as OwnedOAuthApp, Li as PaymentOption, Ll as joinFamily, Lm as PutioOperationFailure, Ln as SharingCloneInput, Lo as FileBreadcrumb, Lp as AccountSubtitleLanguage, Lr as deleteRssFeed, Ls as FileUploadInput, Lt as DeleteTrashErrorSpec, Lu as PutioJsonPrimitive, M as listTunnelRoutes, Ma as FriendBase, Mc as createFolder, Md as RevokeAllOAuthClientsErrorSpec, Mf as OAuthAppUpdateInput, Mi as PaymentInfo, Ml as ListFamilyMembersError, Mm as PutioKnownErrorContract, Mn as SharedFileShareSchema, Mo as FileActiveConversionsErrorSpec, Mp as AccountInfoQuery, Mr as RssFeedSchema, Ms as FileType, Mt as retryTransfer, Mu as createDownloadLinks, N as AddManyTransfersError, Na as FriendBaseSchema, Nc as deleteFileExtraction, Nd as RevokeOAuthClientError, Nf as OAuthAppUpdateInputSchema, Ni as PaymentInfoPlanSchema, Nl as ListFamilyMembersErrorSpec, Nm as PutioKnownOperationErrorContract, Nn as SharedFileSharedWith, No as FileApiDownloadUrlOptions, Np as AccountInfoQuerySchema, Nr as UpdateRssFeedError, Ns as FileTypeSchema, Nt as stopTransferRecording, Nu as getDownloadLinks, O as ListTunnelRoutesError, Oa as CountWaitingRequestsErrorSpec, Oc as convertFilesToMp4, Od as RegisterInputSchema, Of as OAuthAppCreateInputSchema, Oi as PaymentChangePlanSubmitSchema, Ol as JoinFamilyError, Om as PutioAuthError, On as ShareFilesErrorSpec, Oo as DownloadUrlErrorSpec, Op as AccountInfoBase, Or as RssFeedItemSchema, Os as FileSubtitlesError, Ot as getTransferTorrent, Ou as DownloadLinksStatus, P as AddManyTransfersErrorSpec, Pa as FriendSchema, Pc as deleteFileMp4, Pd as RevokeOAuthClientErrorSpec, Pf as OAuthAppWithTokenSchema, Pi as PaymentInfoSchema, Pl as RemoveFamilyMemberError, Pm as PutioOperationError, Pn as SharedFileSharedWithSchema, Po as FileApiMp4DownloadUrlOptions, Pp as AccountInfoResponseFor, Pr as UpdateRssFeedErrorSpec, Ps as FileUploadEnvelope, Pt as ContinueTrashError, Pu as JsonObjectSchema, Q as StopRecordingTransferErrorSpec, Qa as countWaitingRequests, Qc as listFileExtractions, Qd as forgotPassword, Qf as getPopularOAuthApps, Qi as PreviewPaymentChangePlanErrorSpec, Ql as HistoryFileFromRssDeletedEventSchema, Qm as makeResponseError, Qn as getSharedWith, Qo as FileExtractionsError, Qp as listAccountConfirmations, Qr as PodcastLinksSchema, Qs as FilesSearchQuerySchema, Qt as emptyTrash, Qu as ForgotPasswordError, R as AddTransferTrackersErrorSpec, Ra as ListFriendsErrorSpec, Rc as findNextFile, Rd as TwoFactorRecoveryCodesSchema, Rf as OwnedOAuthAppSchema, Ri as PaymentOptionPlanTypeSchema, Rl as listFamilyInvites, Rm as PutioRateLimitError, Rn as SharingCloneInputSchema, Ro as FileBreadcrumbSchema, Rp as AccountSubtitleLanguageSchema, Rr as getRssFeed, Rs as FileUploadRequestDescriptor, Rt as EmptyTrashError, Ru as PutioJsonValue, S as ZipStatusSchema, Sa as reportPayments, Sc as buildFileXspfPlaylistUrl, Sd as RecoveryCodesErrorSpec, Sf as GetOAuthAppError, Si as ListPaymentPlansErrorSpec, Sl as CreateFamilyInviteErrorSpec, Sm as requestText, Sn as ListSharedFilesErrorSpec, So as ContinueFilesErrorSpec, Sp as AccountConfirmation, Sr as RetryAllRssFeedItemsErrorSpec, Ss as FileSetSortInputSchema, St as cancelTransfers, Su as DownloadLinksCreateInput, T as createZip, Ta as ApproveFriendRequestError, Tc as continueSearch, Td as RegisterError, Tf as MyOAuthAppSchema, Ti as PaymentChangePlanPreviewSchema, Tl as FamilyInvitesResponse, Tm as selectJsonFields, Tn as PublicShareListQuerySchema, To as CreateFolderError, Tp as AccountConfirmationsErrorSpec, Tr as RssFeed, Ts as FileStartFromSetInput, Tt as countTransfers, Tu as DownloadLinksInfoSchema, U as ListTransfersError, Ua as RemoveFriendError, Uc as getDownloadUrl, Ud as VerifyTOTPResponse, Uf as RegenerateOAuthAppTokenError, Ui as PaymentPlanTypeSchema, Ul as DeleteEventError, Um as PutioValidationError, Un as SharingUnshareInputSchema, Uo as FileCopyInput, Up as PasInfoSchema, Ur as retryAllRssFeedItems, Us as FileWatchStatusErrorSpec, Ut as RestoreTrashErrorSpec, Uu as readConfigWith, V as GetTransferTorrentError, Va as ListWaitingRequestsError, Vc as getApiDownloadUrl, Vd as VerifyTOTPError, Vf as QueryOAuthAppsError, Vi as PaymentPlanGroup, Vl as ClearEventsError, Vm as PutioTypedErrorEnvelope, Vn as SharingShareInputSchema, Vo as FileConversionStatus, Vp as AccountWarningsSchema, Vr as pauseRssFeed, Vs as FileVideoMetadata, Vt as ListTrashErrorSpec, Vu as getConfigKeyWith, W as ListTransfersErrorSpec, Wa as RemoveFriendErrorSpec, Wc as getFile, Wd as VerifyTOTPResponseSchema, Wf as RegenerateOAuthAppTokenErrorSpec, Wi as PaymentProvider, Wl as DeleteEventErrorSpec, Wm as decodePutioErrorEnvelope, Wn as UnshareFileError, Wo as FileCopyInputSchema, Wp as SaveAccountSettingsError, Wr as retryRssFeedItem, Ws as FileXspfPlaylistUrlOptions, Wt as TrashBulkInput, Wu as setConfigKey, X as RetryTransferErrorSpec, Xa as UserSearchResultSchema, Xc as getXspfPlaylistUrl, Xd as exchangeOAuthAuthorizationCode, Xf as deleteOAuthApp, Xi as PaymentVoucherInfoSchema, Xl as HistoryEvent, Xm as isPutioOperationError, Xn as getPublicShare, Xo as FileExtractionStatus, Xp as getAccountInfo, Xr as PodcastLinks, Xs as FilesMoveErrorSchema, Xt as continueTrash, Xu as FamilyInviteLookupError, Y as RetryTransferError, Ya as UserSearchResult, Yc as getStartFrom, Yd as clients, Yf as createOAuthApp, Yi as PaymentVoucherInfo, Yl as GetEventTorrentErrorSpec, Ym as isPutioErrorEnvelope, Yn as deletePublicShare, Yo as FileExtractionSchema, Yp as destroyAccount, Yr as PodcastLinkTypeSchema, Ys as FilesMoveError, Yt as TrashListResponse, Yu as ClientsErrorSpec, Z as StopRecordingTransferError, Za as approveFriendRequest, Zc as listActiveMp4Conversions, Zd as exists, Zf as getOAuthApp, Zi as PreviewPaymentChangePlanError, Zl as HistoryEventSchema, Zm as isPutioRateLimitError, Zn as getPublicShareFileUrl, Zo as FileExtractionStatusSchema, Zp as getAccountSettings, Zr as PodcastLinksResponse, Zs as FilesSearchQuery, Zt as deleteTrash, Zu as FamilyInviteLookupErrorSpec, _ as GetZipErrorSpec, _a as listPaymentInvites, _c as TouchFilesErrorSpec, _d as OAuthAuthorizationCodeExchangeError, _f as verifyTOTP, _i as ListPaymentInvitesError, _l as SendIftttEventError, _m as makePutioSdkConfig, _n as ListPublicShareFilesError, _o as createFriendInvite, _p as deleteAllAppSpecificPasswords, _r as PauseRssFeedError, _s as FileQuerySchema, _t as TransfersListQuerySchema, _u as deleteEvent, a as PutioSdkEffectClient, aa as SubmitPaymentChangePlanError, ac as GetHlsMasterPlaylistError, ad as GenerateTOTPResponseSchema, af as getVoucher, ai as CreatePaddleBillingUpdatePaymentMethodTransactionError, al as resetFileSortSettings, am as PutioHttpRequest, an as CreateSharingCloneError, ao as searchFriends, ap as CreateAppSpecificPasswordError, ar as ClearRssFeedLogsError, as as FileListResponse, at as TransferInfoItem, au as HistoryTransferCallbackErrorEventSchema, b as ZipCreateResponse, ba as previewPaymentChangePlan, bc as buildFileApiMp4DownloadUrl, bd as OAuthAuthorizationCodeExchangeInputSchema, bf as DeleteOAuthAppError, bi as ListPaymentOptionsErrorSpec, bl as sendIftttEvent, bm as requestArrayBuffer, bn as ListPublicSharesErrorSpec, bo as CanWriteFileErrorSpec, bp as AccountClearOptions, br as ResumeRssFeedErrorSpec, bs as FileSearchResponse, bt as addTransfer, bu as CreateDownloadLinksError, c as createPutioSdkPromiseClient, ca as classifyPaymentChangePlanResponse, cc as QueryFilesErrorSpec, cd as GrantsError, cf as login, ci as CreatePaddleWaitingPaymentErrorSpec, cl as setFileSort, cm as PutioQuery, cn as DeletePublicShareErrorSpec, co as CreateFriendInviteErrorSpec, cp as CreateAppSpecificPasswordInputSchema, cr as CreateRssFeedErrorSpec, cs as FileMediaInfoSchema, ct as TransferRemoveInputSchema, cu as HistoryTransferErrorEventSchema, d as CancelZipError, da as createPaddleBillingUpdatePaymentMethodTransaction, dc as SHARED_WITH_YOU_ROOT_ID, dd as LinkDeviceErrorSpec, df as register, di as GetPaymentInfoError, dl as touchFiles, dm as PutioSdkConfigShape, dn as GetPublicShareFileUrlError, do as FriendInviteJoinedUserSchema, dp as DeleteAllAppSpecificPasswordsErrorSpec, dr as GetRssFeedError, ds as FileMediaMetadataSchema, dt as TransferStatusSchema, du as HistoryVoucherEventSchema, ea as RedeemPaymentVoucherErrorSpec, ec as FolderTypeSchema, ed as FriendInviteLookupError, ef as getCode, eh as mapDecodeErrorToValidationError, ei as ClassifiedPaymentChangePlanSubmitResponse, el as moveFileSelection, em as saveAccountSettings, en as restoreTrash, eo as getFriendSharedFolder, ep as regenerateOAuthAppToken, er as listPublicShareFiles, es as FileGetChildInput, et as TransferAddInput, eu as HistoryFileSharedEventSchema, f as CancelZipErrorSpec, fa as createPaddleWaitingPayment, fc as SearchFilesError, fd as LoginError, ff as resetPassword, fi as GetPaymentInfoErrorSpec, fl as uploadFile, fm as PutioSdkContext, fn as GetPublicShareFileUrlErrorSpec, fo as FriendInviteJoinedUserStatus, fp as DeleteAppSpecificPasswordError, fr as GetRssFeedErrorSpec, fs as FileMp4Error, ft as TransferType, fu as HistoryZipCreatedEvent, g as GetZipError, ga as listPaymentHistory, gc as TouchFilesError, gd as LoginResponseSchema, gf as validateToken, gi as ListPaymentHistoryErrorSpec, gl as IftttEventType, gm as makePutioFetchLayer, gn as GetSharingCloneInfoErrorSpec, go as ListFriendInvitesErrorSpec, gp as createAppSpecificPassword, gr as ListRssFeedsErrorSpec, gs as FileQuery, gt as TransfersListQuery, gu as clearEvents, h as CreateZipInput, ha as getPaymentVoucherInfo, hc as StartFromErrorSpec, hd as LoginResponse, hf as revokeClient, hi as ListPaymentHistoryError, hl as IftttEventInput, hm as makePutioFetchClient, hn as GetSharingCloneInfoError, ho as ListFriendInvitesError, hp as ListAppSpecificPasswordsErrorSpec, hr as ListRssFeedsError, hs as FileMp4MutationErrorSpec, ht as TransfersContinueResponse, hu as ListEventsErrorSpec, i as PutioSdk, ia as StopSubscriptionErrorSpec, ic as GetFileErrorSpec, id as GenerateTOTPResponse, if as getRecoveryCodes, ih as withOperationErrors, ii as CreateOpenNodeChargeErrorSpec, il as renameFile, im as PutioHttpClientShape, in as CreatePublicShareErrorSpec, io as removeFriend, ip as AppSpecificPasswordSchema, ir as unshareFile, is as FileListContinuationResponse, it as TransferBaseSchema, iu as HistoryRssFilterPausedEventSchema, j as TunnelRouteSchema, ja as Friend, jc as createFileUploadRequest, jd as RevokeAllOAuthClientsError, jf as OAuthAppSessionSchema, ji as PaymentHistoryQuery, jl as ListFamilyInvitesErrorSpec, jm as PutioErrorEnvelopeSchema, jn as SharedFileShare, jo as FileActiveConversionsError, jp as AccountInfoBroadSchema, jr as RssFeedParamsSchema, js as FileTouchInputSchema, jt as removeTransfers, ju as GetDownloadLinksErrorSpec, k as ListTunnelRoutesErrorSpec, ka as DenyFriendRequestError, kc as copyFile, kd as ResetPasswordError, kf as OAuthAppSchema, ki as PaymentHistoryItem, kl as JoinFamilyErrorSpec, km as PutioConfigurationError, kn as SharedFile, ko as FileActiveConversion, kp as AccountInfoBaseSchema, kr as RssFeedItemSucceededSchema, ks as FileSubtitlesErrorSpec, kt as listTransfers, ku as DownloadLinksStatusSchema, l as makePutioSdkEffectClientLayer, la as confirmFastspringOrder, lc as RenameFileError, ld as GrantsErrorSpec, lf as logout, li as GetPaddleBillingInvoiceUrlError, ll as setFilesWatchStatus, lm as PutioQueryValue, ln as GetPublicShareError, lo as FriendInvite, lp as CreateAppSpecificPasswordResult, lr as DeleteRssFeedError, ls as FileMediaInfoStreamSchema, lt as TransferSchema, lu as HistoryTransferFromRssErrorEventSchema, m as CreateZipErrorSpec, ma as getPaymentInfo, mc as StartFromError, md as LoginInput, mf as revokeApp, mi as GetPaymentVoucherInfoErrorSpec, ml as GetIftttStatusErrorSpec, mm as encodePathSegment, mn as GetSharedWithErrorSpec, mo as FriendInviteSchema, mp as ListAppSpecificPasswordsError, mr as ListRssFeedItemsErrorSpec, ms as FileMp4MutationError, mt as TransfersAddMultiError, mu as ListEventsError, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as ReportPaymentsErrorSpec, nc as GetFileChildErrorSpec, nd as GenerateTOTPError, nf as getFriendInvite, nh as parseErrorBody, ni as ConfirmFastspringOrderErrorSpec, nl as putMp4ToMyFiles, nm as PutioAuth, nn as ContinuePublicShareFilesErrorSpec, no as listSentRequests, np as updateOAuthApp, nr as listSharedFiles, ns as FileHlsMasterPlaylistOptions, nt as TransferAddTrackersInput, nu as HistoryKnownEventTypeSchema, o as PutioSdkPromiseClient, oa as SubmitPaymentChangePlanErrorSpec, oc as GetHlsMasterPlaylistErrorSpec, od as GiftCardLookupError, of as grants, oi as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ol as resetStartFrom, om as PutioHttpResponse, on as CreateSharingCloneErrorSpec, oo as sendFriendRequest, op as CreateAppSpecificPasswordErrorSpec, or as ClearRssFeedLogsErrorSpec, os as FileMediaInfo, ot as TransferLink, ou as HistoryTransferCompletedEvent, p as CreateZipError, pa as getPaddleBillingInvoiceUrl, pc as SearchFilesErrorSpec, pd as LoginErrorSpec, pf as revokeAllClients, pi as GetPaymentVoucherInfoError, pl as GetIftttStatusError, pm as buildPutioUrl, pn as GetSharedWithError, po as FriendInviteJoinedUserStatusSchema, pp as DeleteAppSpecificPasswordErrorSpec, pr as ListRssFeedItemsError, ps as FileMp4ErrorSpec, pt as TransferTypeSchema, pu as HistoryZipCreatedEventSchema, q as RemoveTransfersError, qa as SendFriendRequestError, qc as getHlsStreamUrl, qd as buildAuthLoginUrl, qf as buildOAuthAppIconUrl, qi as PaymentSubscriptionInfoSchema, ql as EventsListResponse, qm as isPutioApiError, qn as continuePublicShareFiles, qo as FileDirectAccessOptions, qp as SaveAccountSettingsPayloadSchema, qr as PodcastGetLinksInputSchema, qs as FilesListQuery, qt as TrashFileSchema, qu as AuthorizationCodeSchema, r as DEFAULT_PUTIO_WEB_APP_URL, ra as StopSubscriptionError, rc as GetFileError, rd as GenerateTOTPErrorSpec, rf as getGiftCard, rh as responseRateLimitHeaders, ri as CreateOpenNodeChargeError, rl as queryFiles, rm as PutioHttpClient, rn as CreatePublicShareError, ro as listWaitingRequests, rp as AppSpecificPassword, rr as shareFiles, rs as FileHlsStreamUrlOptions, rt as TransferAddTrackersInputSchema, ru as HistoryPrivateTorrentPinEventSchema, s as createPutioSdkEffectClient, sa as UserSubscriptionStatusSchema, sc as QueryFilesError, sd as GiftCardLookupErrorSpec, sf as linkDevice, si as CreatePaddleWaitingPaymentError, sl as searchFiles, sm as PutioPathSegment, sn as DeletePublicShareError, so as CreateFriendInviteError, sp as CreateAppSpecificPasswordInput, sr as CreateRssFeedError, ss as FileMediaInfoFormatSchema, st as TransferRemoveInput, su as HistoryTransferCompletedEventSchema, t as DEFAULT_PUTIO_API_BASE_URL, ta as ReportPaymentsError, tc as GetFileChildError, td as FriendInviteLookupErrorSpec, tf as getFamilyInvite, th as mapTransportError, ti as ConfirmFastspringOrderError, tl as moveFiles, tm as OkResponseSchema, tn as ContinuePublicShareFilesError, to as listFriends, tp as setOAuthAppIcon, tr as listPublicShares, ts as FileGetChildInputSchema, tt as TransferAddInputSchema, tu as HistoryKnownEventType, u as makePutioSdkLiveClientLayer, ua as createOpenNodeCharge, uc as RenameFileErrorSpec, ud as LinkDeviceError, uf as regenerateRecoveryCodes, ui as GetPaddleBillingInvoiceUrlErrorSpec, ul as setStartFrom, um as PutioSdkConfig, un as GetPublicShareErrorSpec, uo as FriendInviteJoinedUser, up as DeleteAllAppSpecificPasswordsError, ur as DeleteRssFeedErrorSpec, us as FileMediaMetadata, ut as TransferStatus, uu as HistoryUploadEventSchema, v as ListZipsError, va as listPaymentOptions, vc as buildFileApiContentUrl, vd as OAuthAuthorizationCodeExchangeErrorCodeSchema, vf as CreateOAuthAppError, vi as ListPaymentInvitesErrorSpec, vl as SendIftttEventErrorSpec, vm as makePutioSdkLayer, vn as ListPublicShareFilesErrorSpec, vo as listFriendInvites, vp as deleteAppSpecificPassword, vr as PauseRssFeedErrorSpec, vs as FileRenameInput, vt as TransfersListResponse, vu as getEventTorrent, w as cancelZip, wa as submitPaymentChangePlan, wc as continueFiles, wd as RegenerateRecoveryCodesErrorSpec, wf as MyOAuthApp, wi as PaymentChangePlanPreviewInput, wl as FamilyInviteSchema, wm as selectJsonField, wn as PublicShareListQuery, wo as CopyFileErrorSpec, wp as AccountConfirmationsError, wr as RetryRssFeedItemErrorSpec, ws as FileSortSchema, wt as continueTransfers, wu as DownloadLinksInfo, x as ZipInfo, xa as redeemPaymentVoucher, xc as buildFileHlsStreamUrl, xd as RecoveryCodesError, xf as DeleteOAuthAppErrorSpec, xi as ListPaymentPlansError, xl as CreateFamilyInviteError, xm as requestJson, xn as ListSharedFilesError, xo as ContinueFilesError, xp as AccountClearOptionsSchema, xr as RetryAllRssFeedItemsError, xs as FileSetSortInput, xt as addTransferTrackers, xu as CreateDownloadLinksErrorSpec, y as ListZipsErrorSpec, ya as listPaymentPlans, yc as buildFileApiDownloadUrl, yd as OAuthAuthorizationCodeExchangeInput, yf as CreateOAuthAppErrorSpec, yi as ListPaymentOptionsError, yl as getIftttStatus, ym as makePutioSdkLiveLayer, yn as ListPublicSharesError, yo as CanWriteFileError, yp as listAppSpecificPasswords, yr as ResumeRssFeedError, ys as FileResponseFor, yt as addManyTransfers, yu as listEvents, z as GetTransferError, za as ListSentRequestsError, zc as findNextVideo, zd as ValidateTokenResponse, zf as PopularOAuthApp, zi as PaymentOptionSchema, zl as listFamilyMembers, zm as PutioSdkError, zn as SharingCloneStatusSchema, zo as FileBroad, zp as AccountTwoFactorSettingsSchema, zr as listRssFeedItems, zs as FileUploadResult, zt as EmptyTrashErrorSpec, zu as deleteConfigKey } from "./index-BTZhke9H.js";
1
+ import { $ as Transfer, $a as denyFriendRequest, $c as listFileSubtitles, $d as generateTOTP, $f as queryOAuthApps, $i as RedeemPaymentVoucherError, $l as HistoryFileSharedEvent, $m as mapConfigurationError, $n as getSharingCloneInfo, $o as FileExtractionsErrorSpec, $p as listAccountSubtitleLanguages, $r as getPodcastLinks, $s as FolderType, $t as listTrash, $u as ForgotPasswordErrorSpec, A as TunnelRoute, Aa as DenyFriendRequestErrorSpec, Ac as createFileUploadFormData, Ad as ResetPasswordErrorSpec, Af as OAuthAppSession, Ai as PaymentHistoryItemSchema, Al as ListFamilyInvitesError, Am as PutioErrorEnvelope, An as SharedFileSchema, Ao as FileActiveConversionSchema, Ap as AccountInfoBroad, Ar as RssFeedParams, As as FileTouchInput, At as reannounceTransfer, Au as GetDownloadLinksError, B as GetTransferErrorSpec, Ba as ListSentRequestsErrorSpec, Bc as getApiContentUrl, Bd as ValidateTokenResponseSchema, Bf as PopularOAuthAppSchema, Bi as PaymentPaddleWaitingPaymentInput, Bl as removeFamilyMember, Bm as PutioTransportError, Bn as SharingShareInput, Bo as FileBroadSchema, Bp as AccountWarnings, Br as listRssFeeds, Bs as FileUploadTransfer, Bt as ListTrashError, Bu as getConfigKey, C as ZipSummary, Ca as stopPaymentSubscription, Cc as canWriteFile, Cd as RegenerateRecoveryCodesError, Cf as GetOAuthAppErrorSpec, Ci as PaymentChangePlanPreview, Cl as FamilyInvite, Cm as requestVoid, Cn as PublicShare, Co as CopyFileError, Cp as AccountConfirmationSchema, Cr as RetryRssFeedItemError, Cs as FileSort, Ct as cleanTransfers, Cu as DownloadLinksCreateInputSchema, D as listZips, Da as CountWaitingRequestsError, Dc as convertFileToMp4, Dd as RegisterInput, Df as OAuthAppCreateInput, Di as PaymentChangePlanSubmitResponse, Dl as FamilyMemberSchema, Dm as PutioApiError, Dn as ShareFilesError, Do as DownloadUrlError, Dp as AccountDiskSchema, Dr as RssFeedItemFailedSchema, Ds as FileSubtitleSchema, Dt as getTransferInfo, Du as DownloadLinksPayloadSchema, E as getZip, Ea as ApproveFriendRequestErrorSpec, Ec as convertFileSelectionToMp4, Ed as RegisterErrorSpec, Ef as OAuthApp, Ei as PaymentChangePlanSubmitInput, El as FamilyMember, Em as AnyPutioOperationError, En as PublicShareSchema, Eo as CreateFolderErrorSpec, Ep as AccountDisk, Er as RssFeedItem, Es as FileSubtitle, Et as getTransfer, Eu as DownloadLinksPayload, F as AddTransferError, Fa as FriendSharedFolderError, Fc as deleteFileSelection, Fd as RevokeOAuthGrantError, Ff as OAuthSetIconInput, Fi as PaymentInvite, Fl as RemoveFamilyMemberErrorSpec, Fm as PutioOperationErrorFromSpec, Fn as SharingCloneInfo, Fo as FileBase, Fp as AccountSettings, Fr as clearRssFeedLogs, Fs as FileUploadError, Ft as ContinueTrashErrorSpec, Fu as JsonValueSchema, G as ReannounceTransferError, Ga as SearchFriendsError, Gc as getFileChild, Gd as VoucherLookupError, Gf as UpdateOAuthAppError, Gi as PaymentProviderNameSchema, Gl as EventsListQuery, Gm as definePutioOperationErrorSpec, Gn as UnshareFileErrorSpec, Go as FileCore, Gp as SaveAccountSettingsErrorSpec, Gr as updateRssFeed, Gs as FilesBulkSelection, Gt as TrashContinueResponse, Gu as writeConfig, H as GetTransferTorrentErrorSpec, Ha as ListWaitingRequestsErrorSpec, Hc as getApiMp4DownloadUrl, Hd as VerifyTOTPErrorSpec, Hf as QueryOAuthAppsErrorSpec, Hi as PaymentPlanGroupSchema, Hl as ClearEventsErrorSpec, Hm as PutioUnhandledSdkError, Hn as SharingUnshareInput, Ho as FileConversionStatusSchema, Hp as PasInfo, Hr as resumeRssFeed, Hs as FileWatchStatusError, Ht as RestoreTrashError, Hu as readConfig, I as AddTransferErrorSpec, Ia as FriendSharedFolderErrorSpec, Ic as deleteFiles, Id as RevokeOAuthGrantErrorSpec, If as OAuthSetIconInputSchema, Ii as PaymentInviteSchema, Il as createFamilyInvite, Im as PutioOperationErrorSpec, In as SharingCloneInfoSchema, Io as FileBaseSchema, Ip as AccountSettingsSchema, Ir as createRssFeed, Is as FileUploadErrorSpec, It as DeleteTrashError, Iu as PutioJsonObject, J as RemoveTransfersErrorSpec, Ja as SendFriendRequestErrorSpec, Jc as getMp4Status, Jd as checkCodeMatch, Jf as buildOAuthAuthorizeUrl, Ji as PaymentTypeSchema, Jl as GetEventTorrentError, Jm as isPutioAuthError, Jn as createPublicShare, Jo as FileExtraction, Jp as clearAccount, Jr as PodcastLinkType, Js as FilesListQuerySchema, Jt as TrashListQuery, Ju as ClientsError, K as ReannounceTransferErrorSpec, Ka as SearchFriendsErrorSpec, Kc as getHlsMasterPlaylist, Kd as VoucherLookupErrorSpec, Kf as UpdateOAuthAppErrorSpec, Ki as PaymentProviderSchema, Kl as EventsListQuerySchema, Km as fallbackPutioErrorEnvelope, Kn as cloneSharedFiles, Ko as FileCreateFolderInput, Kp as SaveAccountSettingsPayload, Kr as PodcastGetLinksInput, Ks as FilesListEnvelopeSchema, Kt as TrashFile, Ku as AuthGetCodeInput, L as AddTransferTrackersError, La as ListFriendsError, Lc as extractFiles, Ld as TwoFactorRecoveryCodes, Lf as OwnedOAuthApp, Li as PaymentOption, Ll as joinFamily, Lm as PutioOperationFailure, Ln as SharingCloneInput, Lo as FileBreadcrumb, Lp as AccountSubtitleLanguage, Lr as deleteRssFeed, Ls as FileUploadInput, Lt as DeleteTrashErrorSpec, Lu as PutioJsonPrimitive, M as listTunnelRoutes, Ma as FriendBase, Mc as createFolder, Md as RevokeAllOAuthClientsErrorSpec, Mf as OAuthAppUpdateInput, Mi as PaymentInfo, Ml as ListFamilyMembersError, Mm as PutioKnownErrorContract, Mn as SharedFileShareSchema, Mo as FileActiveConversionsErrorSpec, Mp as AccountInfoQuery, Mr as RssFeedSchema, Ms as FileType, Mt as retryTransfer, Mu as createDownloadLinks, N as AddManyTransfersError, Na as FriendBaseSchema, Nc as deleteFileExtraction, Nd as RevokeOAuthClientError, Nf as OAuthAppUpdateInputSchema, Ni as PaymentInfoPlanSchema, Nl as ListFamilyMembersErrorSpec, Nm as PutioKnownOperationErrorContract, Nn as SharedFileSharedWith, No as FileApiDownloadUrlOptions, Np as AccountInfoQuerySchema, Nr as UpdateRssFeedError, Ns as FileTypeSchema, Nt as stopTransferRecording, Nu as getDownloadLinks, O as ListTunnelRoutesError, Oa as CountWaitingRequestsErrorSpec, Oc as convertFilesToMp4, Od as RegisterInputSchema, Of as OAuthAppCreateInputSchema, Oi as PaymentChangePlanSubmitSchema, Ol as JoinFamilyError, Om as PutioAuthError, On as ShareFilesErrorSpec, Oo as DownloadUrlErrorSpec, Op as AccountInfoBase, Or as RssFeedItemSchema, Os as FileSubtitlesError, Ot as getTransferTorrent, Ou as DownloadLinksStatus, P as AddManyTransfersErrorSpec, Pa as FriendSchema, Pc as deleteFileMp4, Pd as RevokeOAuthClientErrorSpec, Pf as OAuthAppWithTokenSchema, Pi as PaymentInfoSchema, Pl as RemoveFamilyMemberError, Pm as PutioOperationError, Pn as SharedFileSharedWithSchema, Po as FileApiMp4DownloadUrlOptions, Pp as AccountInfoResponseFor, Pr as UpdateRssFeedErrorSpec, Ps as FileUploadEnvelope, Pt as ContinueTrashError, Pu as JsonObjectSchema, Q as StopRecordingTransferErrorSpec, Qa as countWaitingRequests, Qc as listFileExtractions, Qd as forgotPassword, Qf as getPopularOAuthApps, Qi as PreviewPaymentChangePlanErrorSpec, Ql as HistoryFileFromRssDeletedEventSchema, Qm as makeResponseError, Qn as getSharedWith, Qo as FileExtractionsError, Qp as listAccountConfirmations, Qr as PodcastLinksSchema, Qs as FilesSearchQuerySchema, Qt as emptyTrash, Qu as ForgotPasswordError, R as AddTransferTrackersErrorSpec, Ra as ListFriendsErrorSpec, Rc as findNextFile, Rd as TwoFactorRecoveryCodesSchema, Rf as OwnedOAuthAppSchema, Ri as PaymentOptionPlanTypeSchema, Rl as listFamilyInvites, Rm as PutioRateLimitError, Rn as SharingCloneInputSchema, Ro as FileBreadcrumbSchema, Rp as AccountSubtitleLanguageSchema, Rr as getRssFeed, Rs as FileUploadRequestDescriptor, Rt as EmptyTrashError, Ru as PutioJsonValue, S as ZipStatusSchema, Sa as reportPayments, Sc as buildFileXspfPlaylistUrl, Sd as RecoveryCodesErrorSpec, Sf as GetOAuthAppError, Si as ListPaymentPlansErrorSpec, Sl as CreateFamilyInviteErrorSpec, Sm as requestText, Sn as ListSharedFilesErrorSpec, So as ContinueFilesErrorSpec, Sp as AccountConfirmation, Sr as RetryAllRssFeedItemsErrorSpec, Ss as FileSetSortInputSchema, St as cancelTransfers, Su as DownloadLinksCreateInput, T as createZip, Ta as ApproveFriendRequestError, Tc as continueSearch, Td as RegisterError, Tf as MyOAuthAppSchema, Ti as PaymentChangePlanPreviewSchema, Tl as FamilyInvitesResponse, Tm as selectJsonFields, Tn as PublicShareListQuerySchema, To as CreateFolderError, Tp as AccountConfirmationsErrorSpec, Tr as RssFeed, Ts as FileStartFromSetInput, Tt as countTransfers, Tu as DownloadLinksInfoSchema, U as ListTransfersError, Ua as RemoveFriendError, Uc as getDownloadUrl, Ud as VerifyTOTPResponse, Uf as RegenerateOAuthAppTokenError, Ui as PaymentPlanTypeSchema, Ul as DeleteEventError, Um as PutioValidationError, Un as SharingUnshareInputSchema, Uo as FileCopyInput, Up as PasInfoSchema, Ur as retryAllRssFeedItems, Us as FileWatchStatusErrorSpec, Ut as RestoreTrashErrorSpec, Uu as readConfigWith, V as GetTransferTorrentError, Va as ListWaitingRequestsError, Vc as getApiDownloadUrl, Vd as VerifyTOTPError, Vf as QueryOAuthAppsError, Vi as PaymentPlanGroup, Vl as ClearEventsError, Vm as PutioTypedErrorEnvelope, Vn as SharingShareInputSchema, Vo as FileConversionStatus, Vp as AccountWarningsSchema, Vr as pauseRssFeed, Vs as FileVideoMetadata, Vt as ListTrashErrorSpec, Vu as getConfigKeyWith, W as ListTransfersErrorSpec, Wa as RemoveFriendErrorSpec, Wc as getFile, Wd as VerifyTOTPResponseSchema, Wf as RegenerateOAuthAppTokenErrorSpec, Wi as PaymentProvider, Wl as DeleteEventErrorSpec, Wm as decodePutioErrorEnvelope, Wn as UnshareFileError, Wo as FileCopyInputSchema, Wp as SaveAccountSettingsError, Wr as retryRssFeedItem, Ws as FileXspfPlaylistUrlOptions, Wt as TrashBulkInput, Wu as setConfigKey, X as RetryTransferErrorSpec, Xa as UserSearchResultSchema, Xc as getXspfPlaylistUrl, Xd as exchangeOAuthAuthorizationCode, Xf as deleteOAuthApp, Xi as PaymentVoucherInfoSchema, Xl as HistoryEvent, Xm as isPutioOperationError, Xn as getPublicShare, Xo as FileExtractionStatus, Xp as getAccountInfo, Xr as PodcastLinks, Xs as FilesMoveErrorSchema, Xt as continueTrash, Xu as FamilyInviteLookupError, Y as RetryTransferError, Ya as UserSearchResult, Yc as getStartFrom, Yd as clients, Yf as createOAuthApp, Yi as PaymentVoucherInfo, Yl as GetEventTorrentErrorSpec, Ym as isPutioErrorEnvelope, Yn as deletePublicShare, Yo as FileExtractionSchema, Yp as destroyAccount, Yr as PodcastLinkTypeSchema, Ys as FilesMoveError, Yt as TrashListResponse, Yu as ClientsErrorSpec, Z as StopRecordingTransferError, Za as approveFriendRequest, Zc as listActiveMp4Conversions, Zd as exists, Zf as getOAuthApp, Zi as PreviewPaymentChangePlanError, Zl as HistoryEventSchema, Zm as isPutioRateLimitError, Zn as getPublicShareFileUrl, Zo as FileExtractionStatusSchema, Zp as getAccountSettings, Zr as PodcastLinksResponse, Zs as FilesSearchQuery, Zt as deleteTrash, Zu as FamilyInviteLookupErrorSpec, _ as GetZipErrorSpec, _a as listPaymentInvites, _c as TouchFilesErrorSpec, _d as OAuthAuthorizationCodeExchangeError, _f as verifyTOTP, _i as ListPaymentInvitesError, _l as SendIftttEventError, _m as makePutioSdkConfig, _n as ListPublicShareFilesError, _o as createFriendInvite, _p as deleteAllAppSpecificPasswords, _r as PauseRssFeedError, _s as FileQuerySchema, _t as TransfersListQuerySchema, _u as deleteEvent, a as PutioSdkEffectClient, aa as SubmitPaymentChangePlanError, ac as GetHlsMasterPlaylistError, ad as GenerateTOTPResponseSchema, af as getVoucher, ai as CreatePaddleBillingUpdatePaymentMethodTransactionError, al as resetFileSortSettings, am as PutioHttpRequest, an as CreateSharingCloneError, ao as searchFriends, ap as CreateAppSpecificPasswordError, ar as ClearRssFeedLogsError, as as FileListResponse, at as TransferInfoItem, au as HistoryTransferCallbackErrorEventSchema, b as ZipCreateResponse, ba as previewPaymentChangePlan, bc as buildFileApiMp4DownloadUrl, bd as OAuthAuthorizationCodeExchangeInputSchema, bf as DeleteOAuthAppError, bi as ListPaymentOptionsErrorSpec, bl as sendIftttEvent, bm as requestArrayBuffer, bn as ListPublicSharesErrorSpec, bo as CanWriteFileErrorSpec, bp as AccountClearOptions, br as ResumeRssFeedErrorSpec, bs as FileSearchResponse, bt as addTransfer, bu as CreateDownloadLinksError, c as createPutioSdkPromiseClient, ca as classifyPaymentChangePlanResponse, cc as QueryFilesErrorSpec, cd as GrantsError, cf as login, ci as CreatePaddleWaitingPaymentErrorSpec, cl as setFileSort, cm as PutioQuery, cn as DeletePublicShareErrorSpec, co as CreateFriendInviteErrorSpec, cp as CreateAppSpecificPasswordInputSchema, cr as CreateRssFeedErrorSpec, cs as FileMediaInfoSchema, ct as TransferRemoveInputSchema, cu as HistoryTransferErrorEventSchema, d as CancelZipError, da as createPaddleBillingUpdatePaymentMethodTransaction, dc as SHARED_WITH_YOU_ROOT_ID, dd as LinkDeviceErrorSpec, df as register, di as GetPaymentInfoError, dl as touchFiles, dm as PutioSdkConfigShape, dn as GetPublicShareFileUrlError, do as FriendInviteJoinedUserSchema, dp as DeleteAllAppSpecificPasswordsErrorSpec, dr as GetRssFeedError, ds as FileMediaMetadataSchema, dt as TransferStatusSchema, du as HistoryVoucherEventSchema, ea as RedeemPaymentVoucherErrorSpec, ec as FolderTypeSchema, ed as FriendInviteLookupError, ef as getCode, eh as mapDecodeErrorToValidationError, ei as ClassifiedPaymentChangePlanSubmitResponse, el as moveFileSelection, em as saveAccountSettings, en as restoreTrash, eo as getFriendSharedFolder, ep as regenerateOAuthAppToken, er as listPublicShareFiles, es as FileGetChildInput, et as TransferAddInput, eu as HistoryFileSharedEventSchema, f as CancelZipErrorSpec, fa as createPaddleWaitingPayment, fc as SearchFilesError, fd as LoginError, ff as resetPassword, fi as GetPaymentInfoErrorSpec, fl as uploadFile, fm as PutioSdkContext, fn as GetPublicShareFileUrlErrorSpec, fo as FriendInviteJoinedUserStatus, fp as DeleteAppSpecificPasswordError, fr as GetRssFeedErrorSpec, fs as FileMp4Error, ft as TransferType, fu as HistoryZipCreatedEvent, g as GetZipError, ga as listPaymentHistory, gc as TouchFilesError, gd as LoginResponseSchema, gf as validateToken, gi as ListPaymentHistoryErrorSpec, gl as IftttEventType, gm as makePutioFetchLayer, gn as GetSharingCloneInfoErrorSpec, go as ListFriendInvitesErrorSpec, gp as createAppSpecificPassword, gr as ListRssFeedsErrorSpec, gs as FileQuery, gt as TransfersListQuery, gu as clearEvents, h as CreateZipInput, ha as getPaymentVoucherInfo, hc as StartFromErrorSpec, hd as LoginResponse, hf as revokeClient, hi as ListPaymentHistoryError, hl as IftttEventInput, hm as makePutioFetchClient, hn as GetSharingCloneInfoError, ho as ListFriendInvitesError, hp as ListAppSpecificPasswordsErrorSpec, hr as ListRssFeedsError, hs as FileMp4MutationErrorSpec, ht as TransfersContinueResponse, hu as ListEventsErrorSpec, i as PutioSdk, ia as StopSubscriptionErrorSpec, ic as GetFileErrorSpec, id as GenerateTOTPResponse, if as getRecoveryCodes, ih as withOperationErrors, ii as CreateOpenNodeChargeErrorSpec, il as renameFile, im as PutioHttpClientShape, in as CreatePublicShareErrorSpec, io as removeFriend, ip as AppSpecificPasswordSchema, ir as unshareFile, is as FileListContinuationResponse, it as TransferBaseSchema, iu as HistoryRssFilterPausedEventSchema, j as TunnelRouteSchema, ja as Friend, jc as createFileUploadRequest, jd as RevokeAllOAuthClientsError, jf as OAuthAppSessionSchema, ji as PaymentHistoryQuery, jl as ListFamilyInvitesErrorSpec, jm as PutioErrorEnvelopeSchema, jn as SharedFileShare, jo as FileActiveConversionsError, jp as AccountInfoBroadSchema, jr as RssFeedParamsSchema, js as FileTouchInputSchema, jt as removeTransfers, ju as GetDownloadLinksErrorSpec, k as ListTunnelRoutesErrorSpec, ka as DenyFriendRequestError, kc as copyFile, kd as ResetPasswordError, kf as OAuthAppSchema, ki as PaymentHistoryItem, kl as JoinFamilyErrorSpec, km as PutioConfigurationError, kn as SharedFile, ko as FileActiveConversion, kp as AccountInfoBaseSchema, kr as RssFeedItemSucceededSchema, ks as FileSubtitlesErrorSpec, kt as listTransfers, ku as DownloadLinksStatusSchema, l as makePutioSdkEffectClientLayer, la as confirmFastspringOrder, lc as RenameFileError, ld as GrantsErrorSpec, lf as logout, li as GetPaddleBillingInvoiceUrlError, ll as setFilesWatchStatus, lm as PutioQueryValue, ln as GetPublicShareError, lo as FriendInvite, lp as CreateAppSpecificPasswordResult, lr as DeleteRssFeedError, ls as FileMediaInfoStreamSchema, lt as TransferSchema, lu as HistoryTransferFromRssErrorEventSchema, m as CreateZipErrorSpec, ma as getPaymentInfo, mc as StartFromError, md as LoginInput, mf as revokeApp, mi as GetPaymentVoucherInfoErrorSpec, ml as GetIftttStatusErrorSpec, mm as encodePathSegment, mn as GetSharedWithErrorSpec, mo as FriendInviteSchema, mp as ListAppSpecificPasswordsError, mr as ListRssFeedItemsErrorSpec, ms as FileMp4MutationError, mt as TransfersAddMultiError, mu as ListEventsError, n as DEFAULT_PUTIO_UPLOAD_BASE_URL, na as ReportPaymentsErrorSpec, nc as GetFileChildErrorSpec, nd as GenerateTOTPError, nf as getFriendInvite, nh as parseErrorBody, ni as ConfirmFastspringOrderErrorSpec, nl as putMp4ToMyFiles, nm as PutioAuth, nn as ContinuePublicShareFilesErrorSpec, no as listSentRequests, np as updateOAuthApp, nr as listSharedFiles, ns as FileHlsMasterPlaylistOptions, nt as TransferAddTrackersInput, nu as HistoryKnownEventTypeSchema, o as PutioSdkPromiseClient, oa as SubmitPaymentChangePlanErrorSpec, oc as GetHlsMasterPlaylistErrorSpec, od as GiftCardLookupError, of as grants, oi as CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, ol as resetStartFrom, om as PutioHttpResponse, on as CreateSharingCloneErrorSpec, oo as sendFriendRequest, op as CreateAppSpecificPasswordErrorSpec, or as ClearRssFeedLogsErrorSpec, os as FileMediaInfo, ot as TransferLink, ou as HistoryTransferCompletedEvent, p as CreateZipError, pa as getPaddleBillingInvoiceUrl, pc as SearchFilesErrorSpec, pd as LoginErrorSpec, pf as revokeAllClients, pi as GetPaymentVoucherInfoError, pl as GetIftttStatusError, pm as buildPutioUrl, pn as GetSharedWithError, po as FriendInviteJoinedUserStatusSchema, pp as DeleteAppSpecificPasswordErrorSpec, pr as ListRssFeedItemsError, ps as FileMp4ErrorSpec, pt as TransferTypeSchema, pu as HistoryZipCreatedEventSchema, q as RemoveTransfersError, qa as SendFriendRequestError, qc as getHlsStreamUrl, qd as buildAuthLoginUrl, qf as buildOAuthAppIconUrl, qi as PaymentSubscriptionInfoSchema, ql as EventsListResponse, qm as isPutioApiError, qn as continuePublicShareFiles, qo as FileDirectAccessOptions, qp as SaveAccountSettingsPayloadSchema, qr as PodcastGetLinksInputSchema, qs as FilesListQuery, qt as TrashFileSchema, qu as AuthorizationCodeSchema, r as DEFAULT_PUTIO_WEB_APP_URL, ra as StopSubscriptionError, rc as GetFileError, rd as GenerateTOTPErrorSpec, rf as getGiftCard, rh as responseRateLimitHeaders, ri as CreateOpenNodeChargeError, rl as queryFiles, rm as PutioHttpClient, rn as CreatePublicShareError, ro as listWaitingRequests, rp as AppSpecificPassword, rr as shareFiles, rs as FileHlsStreamUrlOptions, rt as TransferAddTrackersInputSchema, ru as HistoryPrivateTorrentPinEventSchema, s as createPutioSdkEffectClient, sa as UserSubscriptionStatusSchema, sc as QueryFilesError, sd as GiftCardLookupErrorSpec, sf as linkDevice, si as CreatePaddleWaitingPaymentError, sl as searchFiles, sm as PutioPathSegment, sn as DeletePublicShareError, so as CreateFriendInviteError, sp as CreateAppSpecificPasswordInput, sr as CreateRssFeedError, ss as FileMediaInfoFormatSchema, st as TransferRemoveInput, su as HistoryTransferCompletedEventSchema, t as DEFAULT_PUTIO_API_BASE_URL, ta as ReportPaymentsError, tc as GetFileChildError, td as FriendInviteLookupErrorSpec, tf as getFamilyInvite, th as mapTransportError, ti as ConfirmFastspringOrderError, tl as moveFiles, tm as OkResponseSchema, tn as ContinuePublicShareFilesError, to as listFriends, tp as setOAuthAppIcon, tr as listPublicShares, ts as FileGetChildInputSchema, tt as TransferAddInputSchema, tu as HistoryKnownEventType, u as makePutioSdkLiveClientLayer, ua as createOpenNodeCharge, uc as RenameFileErrorSpec, ud as LinkDeviceError, uf as regenerateRecoveryCodes, ui as GetPaddleBillingInvoiceUrlErrorSpec, ul as setStartFrom, um as PutioSdkConfig, un as GetPublicShareErrorSpec, uo as FriendInviteJoinedUser, up as DeleteAllAppSpecificPasswordsError, ur as DeleteRssFeedErrorSpec, us as FileMediaMetadata, ut as TransferStatus, uu as HistoryUploadEventSchema, v as ListZipsError, va as listPaymentOptions, vc as buildFileApiContentUrl, vd as OAuthAuthorizationCodeExchangeErrorCodeSchema, vf as CreateOAuthAppError, vi as ListPaymentInvitesErrorSpec, vl as SendIftttEventErrorSpec, vm as makePutioSdkLayer, vn as ListPublicShareFilesErrorSpec, vo as listFriendInvites, vp as deleteAppSpecificPassword, vr as PauseRssFeedErrorSpec, vs as FileRenameInput, vt as TransfersListResponse, vu as getEventTorrent, w as cancelZip, wa as submitPaymentChangePlan, wc as continueFiles, wd as RegenerateRecoveryCodesErrorSpec, wf as MyOAuthApp, wi as PaymentChangePlanPreviewInput, wl as FamilyInviteSchema, wm as selectJsonField, wn as PublicShareListQuery, wo as CopyFileErrorSpec, wp as AccountConfirmationsError, wr as RetryRssFeedItemErrorSpec, ws as FileSortSchema, wt as continueTransfers, wu as DownloadLinksInfo, x as ZipInfo, xa as redeemPaymentVoucher, xc as buildFileHlsStreamUrl, xd as RecoveryCodesError, xf as DeleteOAuthAppErrorSpec, xi as ListPaymentPlansError, xl as CreateFamilyInviteError, xm as requestJson, xn as ListSharedFilesError, xo as ContinueFilesError, xp as AccountClearOptionsSchema, xr as RetryAllRssFeedItemsError, xs as FileSetSortInput, xt as addTransferTrackers, xu as CreateDownloadLinksErrorSpec, y as ListZipsErrorSpec, ya as listPaymentPlans, yc as buildFileApiDownloadUrl, yd as OAuthAuthorizationCodeExchangeInput, yf as CreateOAuthAppErrorSpec, yi as ListPaymentOptionsError, yl as getIftttStatus, ym as makePutioSdkLiveLayer, yn as ListPublicSharesError, yo as CanWriteFileError, yp as listAppSpecificPasswords, yr as ResumeRssFeedError, ys as FileResponseFor, yt as addManyTransfers, yu as listEvents, z as GetTransferError, za as ListSentRequestsError, zc as findNextVideo, zd as ValidateTokenResponse, zf as PopularOAuthApp, zi as PaymentOptionSchema, zl as listFamilyMembers, zm as PutioSdkError, zn as SharingCloneStatusSchema, zo as FileBroad, zp as AccountTwoFactorSettingsSchema, zr as listRssFeedItems, zs as FileUploadResult, zt as EmptyTrashErrorSpec, zu as deleteConfigKey } from "./index-BdlCuqLB.js";
2
2
  export { AccountClearOptions, AccountClearOptionsSchema, AccountConfirmation, AccountConfirmationSchema, AccountConfirmationsError, AccountConfirmationsErrorSpec, AccountDisk, AccountDiskSchema, AccountInfoBase, AccountInfoBaseSchema, AccountInfoBroad, AccountInfoBroadSchema, AccountInfoQuery, AccountInfoQuerySchema, AccountInfoResponseFor, AccountSettings, AccountSettingsSchema, AccountSubtitleLanguage, AccountSubtitleLanguageSchema, AccountTwoFactorSettingsSchema, AccountWarnings, AccountWarningsSchema, AddManyTransfersError, AddManyTransfersErrorSpec, AddTransferError, AddTransferErrorSpec, AddTransferTrackersError, AddTransferTrackersErrorSpec, AnyPutioOperationError, AppSpecificPassword, AppSpecificPasswordSchema, ApproveFriendRequestError, ApproveFriendRequestErrorSpec, AuthGetCodeInput, AuthorizationCodeSchema, CanWriteFileError, CanWriteFileErrorSpec, CancelZipError, CancelZipErrorSpec, ClassifiedPaymentChangePlanSubmitResponse, ClearEventsError, ClearEventsErrorSpec, ClearRssFeedLogsError, ClearRssFeedLogsErrorSpec, ClientsError, ClientsErrorSpec, ConfirmFastspringOrderError, ConfirmFastspringOrderErrorSpec, ContinueFilesError, ContinueFilesErrorSpec, ContinuePublicShareFilesError, ContinuePublicShareFilesErrorSpec, ContinueTrashError, ContinueTrashErrorSpec, CopyFileError, CopyFileErrorSpec, CountWaitingRequestsError, CountWaitingRequestsErrorSpec, CreateAppSpecificPasswordError, CreateAppSpecificPasswordErrorSpec, CreateAppSpecificPasswordInput, CreateAppSpecificPasswordInputSchema, CreateAppSpecificPasswordResult, CreateDownloadLinksError, CreateDownloadLinksErrorSpec, CreateFamilyInviteError, CreateFamilyInviteErrorSpec, CreateFolderError, CreateFolderErrorSpec, CreateFriendInviteError, CreateFriendInviteErrorSpec, CreateOAuthAppError, CreateOAuthAppErrorSpec, CreateOpenNodeChargeError, CreateOpenNodeChargeErrorSpec, CreatePaddleBillingUpdatePaymentMethodTransactionError, CreatePaddleBillingUpdatePaymentMethodTransactionErrorSpec, CreatePaddleWaitingPaymentError, CreatePaddleWaitingPaymentErrorSpec, CreatePublicShareError, CreatePublicShareErrorSpec, CreateRssFeedError, CreateRssFeedErrorSpec, CreateSharingCloneError, CreateSharingCloneErrorSpec, CreateZipError, CreateZipErrorSpec, CreateZipInput, DEFAULT_PUTIO_API_BASE_URL, DEFAULT_PUTIO_UPLOAD_BASE_URL, DEFAULT_PUTIO_WEB_APP_URL, DeleteAllAppSpecificPasswordsError, DeleteAllAppSpecificPasswordsErrorSpec, DeleteAppSpecificPasswordError, DeleteAppSpecificPasswordErrorSpec, DeleteEventError, DeleteEventErrorSpec, DeleteOAuthAppError, DeleteOAuthAppErrorSpec, DeletePublicShareError, DeletePublicShareErrorSpec, DeleteRssFeedError, DeleteRssFeedErrorSpec, DeleteTrashError, DeleteTrashErrorSpec, DenyFriendRequestError, DenyFriendRequestErrorSpec, DownloadLinksCreateInput, DownloadLinksCreateInputSchema, DownloadLinksInfo, DownloadLinksInfoSchema, DownloadLinksPayload, DownloadLinksPayloadSchema, DownloadLinksStatus, DownloadLinksStatusSchema, DownloadUrlError, DownloadUrlErrorSpec, EmptyTrashError, EmptyTrashErrorSpec, EventsListQuery, EventsListQuerySchema, EventsListResponse, FamilyInvite, FamilyInviteLookupError, FamilyInviteLookupErrorSpec, FamilyInviteSchema, FamilyInvitesResponse, FamilyMember, FamilyMemberSchema, FileActiveConversion, FileActiveConversionSchema, FileActiveConversionsError, FileActiveConversionsErrorSpec, FileApiDownloadUrlOptions, FileApiMp4DownloadUrlOptions, FileBase, FileBaseSchema, FileBreadcrumb, FileBreadcrumbSchema, FileBroad, FileBroadSchema, FileConversionStatus, FileConversionStatusSchema, FileCopyInput, FileCopyInputSchema, FileCore, FileCreateFolderInput, FileDirectAccessOptions, FileExtraction, FileExtractionSchema, FileExtractionStatus, FileExtractionStatusSchema, FileExtractionsError, FileExtractionsErrorSpec, FileGetChildInput, FileGetChildInputSchema, FileHlsMasterPlaylistOptions, FileHlsStreamUrlOptions, FileListContinuationResponse, FileListResponse, FileMediaInfo, FileMediaInfoFormatSchema, FileMediaInfoSchema, FileMediaInfoStreamSchema, FileMediaMetadata, FileMediaMetadataSchema, FileMp4Error, FileMp4ErrorSpec, FileMp4MutationError, FileMp4MutationErrorSpec, FileQuery, FileQuerySchema, FileRenameInput, FileResponseFor, FileSearchResponse, FileSetSortInput, FileSetSortInputSchema, FileSort, FileSortSchema, FileStartFromSetInput, FileSubtitle, FileSubtitleSchema, FileSubtitlesError, FileSubtitlesErrorSpec, FileTouchInput, FileTouchInputSchema, FileType, FileTypeSchema, FileUploadEnvelope, FileUploadError, FileUploadErrorSpec, FileUploadInput, FileUploadRequestDescriptor, FileUploadResult, FileUploadTransfer, FileVideoMetadata, FileWatchStatusError, FileWatchStatusErrorSpec, FileXspfPlaylistUrlOptions, FilesBulkSelection, FilesListEnvelopeSchema, FilesListQuery, FilesListQuerySchema, FilesMoveError, FilesMoveErrorSchema, FilesSearchQuery, FilesSearchQuerySchema, FolderType, FolderTypeSchema, ForgotPasswordError, ForgotPasswordErrorSpec, Friend, FriendBase, FriendBaseSchema, FriendInvite, FriendInviteJoinedUser, FriendInviteJoinedUserSchema, FriendInviteJoinedUserStatus, FriendInviteJoinedUserStatusSchema, FriendInviteLookupError, FriendInviteLookupErrorSpec, FriendInviteSchema, FriendSchema, FriendSharedFolderError, FriendSharedFolderErrorSpec, GenerateTOTPError, GenerateTOTPErrorSpec, GenerateTOTPResponse, GenerateTOTPResponseSchema, GetDownloadLinksError, GetDownloadLinksErrorSpec, GetEventTorrentError, GetEventTorrentErrorSpec, GetFileChildError, GetFileChildErrorSpec, GetFileError, GetFileErrorSpec, GetHlsMasterPlaylistError, GetHlsMasterPlaylistErrorSpec, GetIftttStatusError, GetIftttStatusErrorSpec, GetOAuthAppError, GetOAuthAppErrorSpec, GetPaddleBillingInvoiceUrlError, GetPaddleBillingInvoiceUrlErrorSpec, GetPaymentInfoError, GetPaymentInfoErrorSpec, GetPaymentVoucherInfoError, GetPaymentVoucherInfoErrorSpec, GetPublicShareError, GetPublicShareErrorSpec, GetPublicShareFileUrlError, GetPublicShareFileUrlErrorSpec, GetRssFeedError, GetRssFeedErrorSpec, GetSharedWithError, GetSharedWithErrorSpec, GetSharingCloneInfoError, GetSharingCloneInfoErrorSpec, GetTransferError, GetTransferErrorSpec, GetTransferTorrentError, GetTransferTorrentErrorSpec, GetZipError, GetZipErrorSpec, GiftCardLookupError, GiftCardLookupErrorSpec, GrantsError, GrantsErrorSpec, HistoryEvent, HistoryEventSchema, HistoryFileFromRssDeletedEventSchema, HistoryFileSharedEvent, HistoryFileSharedEventSchema, HistoryKnownEventType, HistoryKnownEventTypeSchema, HistoryPrivateTorrentPinEventSchema, HistoryRssFilterPausedEventSchema, HistoryTransferCallbackErrorEventSchema, HistoryTransferCompletedEvent, HistoryTransferCompletedEventSchema, HistoryTransferErrorEventSchema, HistoryTransferFromRssErrorEventSchema, HistoryUploadEventSchema, HistoryVoucherEventSchema, HistoryZipCreatedEvent, HistoryZipCreatedEventSchema, IftttEventInput, IftttEventType, JoinFamilyError, JoinFamilyErrorSpec, JsonObjectSchema, JsonValueSchema, LinkDeviceError, LinkDeviceErrorSpec, ListAppSpecificPasswordsError, ListAppSpecificPasswordsErrorSpec, ListEventsError, ListEventsErrorSpec, ListFamilyInvitesError, ListFamilyInvitesErrorSpec, ListFamilyMembersError, ListFamilyMembersErrorSpec, ListFriendInvitesError, ListFriendInvitesErrorSpec, ListFriendsError, ListFriendsErrorSpec, ListPaymentHistoryError, ListPaymentHistoryErrorSpec, ListPaymentInvitesError, ListPaymentInvitesErrorSpec, ListPaymentOptionsError, ListPaymentOptionsErrorSpec, ListPaymentPlansError, ListPaymentPlansErrorSpec, ListPublicShareFilesError, ListPublicShareFilesErrorSpec, ListPublicSharesError, ListPublicSharesErrorSpec, ListRssFeedItemsError, ListRssFeedItemsErrorSpec, ListRssFeedsError, ListRssFeedsErrorSpec, ListSentRequestsError, ListSentRequestsErrorSpec, ListSharedFilesError, ListSharedFilesErrorSpec, ListTransfersError, ListTransfersErrorSpec, ListTrashError, ListTrashErrorSpec, ListTunnelRoutesError, ListTunnelRoutesErrorSpec, ListWaitingRequestsError, ListWaitingRequestsErrorSpec, ListZipsError, ListZipsErrorSpec, LoginError, LoginErrorSpec, LoginInput, LoginResponse, LoginResponseSchema, MyOAuthApp, MyOAuthAppSchema, OAuthApp, OAuthAppCreateInput, OAuthAppCreateInputSchema, OAuthAppSchema, OAuthAppSession, OAuthAppSessionSchema, OAuthAppUpdateInput, OAuthAppUpdateInputSchema, OAuthAppWithTokenSchema, OAuthAuthorizationCodeExchangeError, OAuthAuthorizationCodeExchangeErrorCodeSchema, OAuthAuthorizationCodeExchangeInput, OAuthAuthorizationCodeExchangeInputSchema, OAuthSetIconInput, OAuthSetIconInputSchema, OkResponseSchema, OwnedOAuthApp, OwnedOAuthAppSchema, PasInfo, PasInfoSchema, PauseRssFeedError, PauseRssFeedErrorSpec, PaymentChangePlanPreview, PaymentChangePlanPreviewInput, PaymentChangePlanPreviewSchema, PaymentChangePlanSubmitInput, PaymentChangePlanSubmitResponse, PaymentChangePlanSubmitSchema, PaymentHistoryItem, PaymentHistoryItemSchema, PaymentHistoryQuery, PaymentInfo, PaymentInfoPlanSchema, PaymentInfoSchema, PaymentInvite, PaymentInviteSchema, PaymentOption, PaymentOptionPlanTypeSchema, PaymentOptionSchema, PaymentPaddleWaitingPaymentInput, PaymentPlanGroup, PaymentPlanGroupSchema, PaymentPlanTypeSchema, PaymentProvider, PaymentProviderNameSchema, PaymentProviderSchema, PaymentSubscriptionInfoSchema, PaymentTypeSchema, PaymentVoucherInfo, PaymentVoucherInfoSchema, PodcastGetLinksInput, PodcastGetLinksInputSchema, PodcastLinkType, PodcastLinkTypeSchema, PodcastLinks, PodcastLinksResponse, PodcastLinksSchema, PopularOAuthApp, PopularOAuthAppSchema, PreviewPaymentChangePlanError, PreviewPaymentChangePlanErrorSpec, PublicShare, PublicShareListQuery, PublicShareListQuerySchema, PublicShareSchema, PutioApiError, PutioAuth, PutioAuthError, PutioConfigurationError, PutioErrorEnvelope, PutioErrorEnvelopeSchema, PutioHttpClient, PutioHttpClientShape, PutioHttpRequest, PutioHttpResponse, PutioJsonObject, PutioJsonPrimitive, PutioJsonValue, PutioKnownErrorContract, PutioKnownOperationErrorContract, PutioOperationError, PutioOperationErrorFromSpec, PutioOperationErrorSpec, PutioOperationFailure, PutioPathSegment, PutioQuery, PutioQueryValue, PutioRateLimitError, PutioSdk, PutioSdkConfig, PutioSdkConfigShape, PutioSdkContext, PutioSdkEffectClient, PutioSdkError, PutioSdkPromiseClient, PutioTransportError, PutioTypedErrorEnvelope, PutioUnhandledSdkError, PutioValidationError, QueryFilesError, QueryFilesErrorSpec, QueryOAuthAppsError, QueryOAuthAppsErrorSpec, ReannounceTransferError, ReannounceTransferErrorSpec, RecoveryCodesError, RecoveryCodesErrorSpec, RedeemPaymentVoucherError, RedeemPaymentVoucherErrorSpec, RegenerateOAuthAppTokenError, RegenerateOAuthAppTokenErrorSpec, RegenerateRecoveryCodesError, RegenerateRecoveryCodesErrorSpec, RegisterError, RegisterErrorSpec, RegisterInput, RegisterInputSchema, RemoveFamilyMemberError, RemoveFamilyMemberErrorSpec, RemoveFriendError, RemoveFriendErrorSpec, RemoveTransfersError, RemoveTransfersErrorSpec, RenameFileError, RenameFileErrorSpec, ReportPaymentsError, ReportPaymentsErrorSpec, ResetPasswordError, ResetPasswordErrorSpec, RestoreTrashError, RestoreTrashErrorSpec, ResumeRssFeedError, ResumeRssFeedErrorSpec, RetryAllRssFeedItemsError, RetryAllRssFeedItemsErrorSpec, RetryRssFeedItemError, RetryRssFeedItemErrorSpec, RetryTransferError, RetryTransferErrorSpec, RevokeAllOAuthClientsError, RevokeAllOAuthClientsErrorSpec, RevokeOAuthClientError, RevokeOAuthClientErrorSpec, RevokeOAuthGrantError, RevokeOAuthGrantErrorSpec, RssFeed, RssFeedItem, RssFeedItemFailedSchema, RssFeedItemSchema, RssFeedItemSucceededSchema, RssFeedParams, RssFeedParamsSchema, RssFeedSchema, SHARED_WITH_YOU_ROOT_ID, SaveAccountSettingsError, SaveAccountSettingsErrorSpec, SaveAccountSettingsPayload, SaveAccountSettingsPayloadSchema, SearchFilesError, SearchFilesErrorSpec, SearchFriendsError, SearchFriendsErrorSpec, SendFriendRequestError, SendFriendRequestErrorSpec, SendIftttEventError, SendIftttEventErrorSpec, ShareFilesError, ShareFilesErrorSpec, SharedFile, SharedFileSchema, SharedFileShare, SharedFileShareSchema, SharedFileSharedWith, SharedFileSharedWithSchema, SharingCloneInfo, SharingCloneInfoSchema, SharingCloneInput, SharingCloneInputSchema, SharingCloneStatusSchema, SharingShareInput, SharingShareInputSchema, SharingUnshareInput, SharingUnshareInputSchema, StartFromError, StartFromErrorSpec, StopRecordingTransferError, StopRecordingTransferErrorSpec, StopSubscriptionError, StopSubscriptionErrorSpec, SubmitPaymentChangePlanError, SubmitPaymentChangePlanErrorSpec, TouchFilesError, TouchFilesErrorSpec, Transfer, TransferAddInput, TransferAddInputSchema, TransferAddTrackersInput, TransferAddTrackersInputSchema, TransferBaseSchema, TransferInfoItem, TransferLink, TransferRemoveInput, TransferRemoveInputSchema, TransferSchema, TransferStatus, TransferStatusSchema, TransferType, TransferTypeSchema, TransfersAddMultiError, TransfersContinueResponse, TransfersListQuery, TransfersListQuerySchema, TransfersListResponse, TrashBulkInput, TrashContinueResponse, TrashFile, TrashFileSchema, TrashListQuery, TrashListResponse, TunnelRoute, TunnelRouteSchema, TwoFactorRecoveryCodes, TwoFactorRecoveryCodesSchema, UnshareFileError, UnshareFileErrorSpec, UpdateOAuthAppError, UpdateOAuthAppErrorSpec, UpdateRssFeedError, UpdateRssFeedErrorSpec, UserSearchResult, UserSearchResultSchema, UserSubscriptionStatusSchema, ValidateTokenResponse, ValidateTokenResponseSchema, VerifyTOTPError, VerifyTOTPErrorSpec, VerifyTOTPResponse, VerifyTOTPResponseSchema, VoucherLookupError, VoucherLookupErrorSpec, ZipCreateResponse, ZipInfo, ZipStatusSchema, ZipSummary, addManyTransfers, addTransfer, addTransferTrackers, approveFriendRequest, buildAuthLoginUrl, buildFileApiContentUrl, buildFileApiDownloadUrl, buildFileApiMp4DownloadUrl, buildFileHlsStreamUrl, buildFileXspfPlaylistUrl, buildOAuthAppIconUrl, buildOAuthAuthorizeUrl, buildPutioUrl, canWriteFile, cancelTransfers, cancelZip, checkCodeMatch, classifyPaymentChangePlanResponse, cleanTransfers, clearAccount, clearEvents, clearRssFeedLogs, clients, cloneSharedFiles, confirmFastspringOrder, continueFiles, continuePublicShareFiles, continueSearch, continueTransfers, continueTrash, convertFileSelectionToMp4, convertFileToMp4, convertFilesToMp4, copyFile, countTransfers, countWaitingRequests, createAppSpecificPassword, createDownloadLinks, createFamilyInvite, createFileUploadFormData, createFileUploadRequest, createFolder, createFriendInvite, createOAuthApp, createOpenNodeCharge, createPaddleBillingUpdatePaymentMethodTransaction, createPaddleWaitingPayment, createPublicShare, createPutioSdkEffectClient, createPutioSdkPromiseClient, createRssFeed, createZip, decodePutioErrorEnvelope, definePutioOperationErrorSpec, deleteAllAppSpecificPasswords, deleteAppSpecificPassword, deleteConfigKey, deleteEvent, deleteFileExtraction, deleteFileMp4, deleteFileSelection, deleteFiles, deleteOAuthApp, deletePublicShare, deleteRssFeed, deleteTrash, denyFriendRequest, destroyAccount, emptyTrash, encodePathSegment, exchangeOAuthAuthorizationCode, exists, extractFiles, fallbackPutioErrorEnvelope, findNextFile, findNextVideo, forgotPassword, generateTOTP, getAccountInfo, getAccountSettings, getApiContentUrl, getApiDownloadUrl, getApiMp4DownloadUrl, getCode, getConfigKey, getConfigKeyWith, getDownloadLinks, getDownloadUrl, getEventTorrent, getFamilyInvite, getFile, getFileChild, getFriendInvite, getFriendSharedFolder, getGiftCard, getHlsMasterPlaylist, getHlsStreamUrl, getIftttStatus, getMp4Status, getOAuthApp, getPaddleBillingInvoiceUrl, getPaymentInfo, getPaymentVoucherInfo, getPodcastLinks, getPopularOAuthApps, getPublicShare, getPublicShareFileUrl, getRecoveryCodes, getRssFeed, getSharedWith, getSharingCloneInfo, getStartFrom, getTransfer, getTransferInfo, getTransferTorrent, getVoucher, getXspfPlaylistUrl, getZip, grants, isPutioApiError, isPutioAuthError, isPutioErrorEnvelope, isPutioOperationError, isPutioRateLimitError, joinFamily, linkDevice, listAccountConfirmations, listAccountSubtitleLanguages, listActiveMp4Conversions, listAppSpecificPasswords, listEvents, listFamilyInvites, listFamilyMembers, listFileExtractions, listFileSubtitles, listFriendInvites, listFriends, listPaymentHistory, listPaymentInvites, listPaymentOptions, listPaymentPlans, listPublicShareFiles, listPublicShares, listRssFeedItems, listRssFeeds, listSentRequests, listSharedFiles, listTransfers, listTrash, listTunnelRoutes, listWaitingRequests, listZips, login, logout, makePutioFetchClient, makePutioFetchLayer, makePutioSdkConfig, makePutioSdkEffectClientLayer, makePutioSdkLayer, makePutioSdkLiveClientLayer, makePutioSdkLiveLayer, makeResponseError, mapConfigurationError, mapDecodeErrorToValidationError, mapTransportError, moveFileSelection, moveFiles, parseErrorBody, pauseRssFeed, previewPaymentChangePlan, putMp4ToMyFiles, queryFiles, queryOAuthApps, readConfig, readConfigWith, reannounceTransfer, redeemPaymentVoucher, regenerateOAuthAppToken, regenerateRecoveryCodes, register, removeFamilyMember, removeFriend, removeTransfers, renameFile, reportPayments, requestArrayBuffer, requestJson, requestText, requestVoid, resetFileSortSettings, resetPassword, resetStartFrom, responseRateLimitHeaders, restoreTrash, resumeRssFeed, retryAllRssFeedItems, retryRssFeedItem, retryTransfer, revokeAllClients, revokeApp, revokeClient, saveAccountSettings, searchFiles, searchFriends, selectJsonField, selectJsonFields, sendFriendRequest, sendIftttEvent, setConfigKey, setFileSort, setFilesWatchStatus, setOAuthAppIcon, setStartFrom, shareFiles, stopPaymentSubscription, stopTransferRecording, submitPaymentChangePlan, touchFiles, unshareFile, updateOAuthApp, updateRssFeed, uploadFile, validateToken, verifyTOTP, withOperationErrors, writeConfig };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as decodePutioErrorEnvelope, B as mapDecodeErrorToValidationError, C as PutioAuthError, D as PutioRateLimitError, E as PutioOperationError, F as isPutioErrorEnvelope, H as parseErrorBody, I as isPutioOperationError, L as isPutioRateLimitError, M as fallbackPutioErrorEnvelope, N as isPutioApiError, O as PutioTransportError, P as isPutioAuthError, R as makeResponseError, S as PutioApiError, T as PutioErrorEnvelopeSchema, U as responseRateLimitHeaders, V as mapTransportError, W as withOperationErrors, _ as selectJsonField, a as PutioSdkConfig, b as DEFAULT_PUTIO_UPLOAD_BASE_URL, c as makePutioFetchClient, d as makePutioSdkLayer, f as makePutioSdkLiveLayer, g as requestVoid, h as requestText, i as PutioHttpClient, j as definePutioOperationErrorSpec, k as PutioValidationError, l as makePutioFetchLayer, m as requestJson, n as toCursorSelectionForm, o as buildPutioUrl, p as requestArrayBuffer, r as OkResponseSchema, s as encodePathSegment, t as joinCsv, u as makePutioSdkConfig, v as selectJsonFields, w as PutioConfigurationError, x as DEFAULT_PUTIO_WEB_APP_URL, y as DEFAULT_PUTIO_API_BASE_URL, z as mapConfigurationError } from "./forms-Ch5rwD58.js";
1
+ import { A as PutioOperationError, B as isPutioOperationError, C as DEFAULT_PUTIO_API_BASE_URL, D as PutioAuthError, E as PutioApiError, F as definePutioOperationErrorSpec, G as mapTransportError, H as makeResponseError, I as fallbackPutioErrorEnvelope, J as withOperationErrors, K as parseErrorBody, L as isPutioApiError, M as PutioTransportError, N as PutioValidationError, O as PutioConfigurationError, P as decodePutioErrorEnvelope, R as isPutioAuthError, S as selectJsonFields, T as DEFAULT_PUTIO_WEB_APP_URL, U as mapConfigurationError, V as isPutioRateLimitError, W as mapDecodeErrorToValidationError, _ as requestArrayBuffer, a as decodeAndRun, b as requestVoid, c as PutioHttpClient, d as encodePathSegment, f as makePutioFetchClient, g as makePutioSdkLiveLayer, h as makePutioSdkLayer, i as PositiveIntegerSchema, j as PutioRateLimitError, k as PutioErrorEnvelopeSchema, l as PutioSdkConfig, m as makePutioSdkConfig, n as toCursorSelectionForm, o as makeCursorSelectionSchema, p as makePutioFetchLayer, q as responseRateLimitHeaders, r as NonEmptyStringSchema, s as OkResponseSchema, t as joinCsv, u as buildPutioUrl, v as requestJson, w as DEFAULT_PUTIO_UPLOAD_BASE_URL, x as selectJsonField, y as requestText, z as isPutioErrorEnvelope } from "./forms-Bd1tWyx0.js";
2
2
  import { Cause, Context, Effect, Exit, Layer, ManagedRuntime, Schema, SchemaIssue, SchemaParser } from "effect";
3
3
  //#region src/domains/account.ts
4
4
  const RequestedFlag$1 = Schema.Literal(1);
@@ -428,17 +428,6 @@ const deleteAllAppSpecificPasswords = () => requestJson(OkResponseSchema, {
428
428
  path: "/v2/app_specific_password/delete_all"
429
429
  }).pipe(Effect.asVoid, withOperationErrors(DeleteAllAppSpecificPasswordsErrorSpec));
430
430
  //#endregion
431
- //#region src/core/validation.ts
432
- const PositiveIntegerSchema = Schema.Int.check(Schema.isGreaterThan(0));
433
- const NonEmptyStringSchema = Schema.String.check(Schema.isMinLength(1));
434
- const decodeAndRun = (schema, input, run) => Schema.decodeUnknownEffect(schema, { onExcessProperty: "error" })(input).pipe(Effect.mapError(mapDecodeErrorToValidationError), Effect.flatMap(run));
435
- const makeCursorSelectionSchema = (idsField, excludeIdsField, fields) => Schema.Struct({
436
- cursor: Schema.optional(NonEmptyStringSchema),
437
- [excludeIdsField]: Schema.optional(Schema.Array(PositiveIntegerSchema)),
438
- [idsField]: Schema.optional(Schema.Array(PositiveIntegerSchema).check(Schema.isMinLength(1))),
439
- ...fields
440
- }).check(Schema.makeFilter((input) => input.cursor !== void 0 || input[idsField] !== void 0, { expected: "a non-empty cursor or file ID selection" }));
441
- //#endregion
442
431
  //#region src/domains/oauth.ts
443
432
  const OAuthAppBaseSchema = Schema.Struct({
444
433
  description: Schema.String,
@@ -2239,7 +2228,7 @@ const FileUploadInputSchema = Schema.Struct({
2239
2228
  });
2240
2229
  const FileUploadOptionsSchema = Schema.Struct({ oauthToken: Schema.optional(NonEmptyStringSchema) });
2241
2230
  const FileDirectAccessOptionsSchema = Schema.Struct({
2242
- oauthToken: Schema.optional(NonEmptyStringSchema),
2231
+ downloadToken: NonEmptyStringSchema,
2243
2232
  useTunnel: Schema.optional(Schema.Boolean)
2244
2233
  });
2245
2234
  const FileApiDownloadUrlOptionsSchema = FileDirectAccessOptionsSchema.pipe(Schema.fieldsAssign({ name: Schema.optional(NonEmptyStringSchema) }));
@@ -2249,7 +2238,7 @@ const FileApiMp4DownloadUrlOptionsSchema = FileDirectAccessOptionsSchema.pipe(Sc
2249
2238
  }));
2250
2239
  const FileHlsStreamUrlOptionsSchema = Schema.Struct({
2251
2240
  maxSubtitleCount: Schema.optional(PositiveIntegerSchema),
2252
- oauthToken: Schema.optional(NonEmptyStringSchema),
2241
+ downloadToken: NonEmptyStringSchema,
2253
2242
  playOriginal: Schema.optional(Schema.Boolean),
2254
2243
  subtitleLanguages: Schema.optional(Schema.Array(NonEmptyStringSchema).check(Schema.isMinLength(1)))
2255
2244
  });
@@ -2258,7 +2247,7 @@ const FileHlsMasterPlaylistOptionsSchema = Schema.Struct({
2258
2247
  playOriginal: Schema.optional(Schema.Boolean),
2259
2248
  subtitleLanguages: Schema.optional(Schema.Array(NonEmptyStringSchema).check(Schema.isMinLength(1)))
2260
2249
  });
2261
- const FileXspfPlaylistUrlOptionsSchema = Schema.Struct({ oauthToken: Schema.optional(NonEmptyStringSchema) });
2250
+ const FileXspfPlaylistUrlOptionsSchema = Schema.Struct({ downloadToken: NonEmptyStringSchema });
2262
2251
  const FilesNextFileSchema = Schema.Struct({
2263
2252
  id: Schema.Int,
2264
2253
  name: Schema.String,
@@ -2581,14 +2570,17 @@ const hasMediaMetadata = (value) => "media_metadata" in value;
2581
2570
  const hasCodecs = (value) => "content_type_and_codecs" in value;
2582
2571
  const hasMediaInfo = (value) => "media_info" in value;
2583
2572
  const useTunnelToQuery = (useTunnel) => useTunnel === false ? { notunnel: 1 } : {};
2584
- const resolveRouteContext = (oauthToken) => Effect.gen(function* () {
2573
+ const resolveRouteContext = (token) => Effect.gen(function* () {
2585
2574
  const config = yield* PutioSdkConfig;
2586
- const resolvedOauthToken = oauthToken ?? config.accessToken;
2587
- if (resolvedOauthToken) return {
2575
+ const resolvedToken = token ?? config.accessToken;
2576
+ if (resolvedToken) return {
2588
2577
  config,
2589
- oauthToken: resolvedOauthToken
2578
+ token: resolvedToken
2590
2579
  };
2591
- return yield* Effect.fail(mapConfigurationError("This helper requires an oauth token, but neither an override nor PutioSdkConfig.accessToken was provided"));
2580
+ return yield* Effect.fail(mapConfigurationError("This helper requires a token, but neither an override nor PutioSdkConfig.accessToken was provided"));
2581
+ });
2582
+ const resolveApiBaseUrl = Effect.gen(function* () {
2583
+ return (yield* PutioSdkConfig).baseUrl ?? "https://api.put.io";
2592
2584
  });
2593
2585
  const normalizeFileName = (name) => encodeURIComponent(name);
2594
2586
  const toUploadResult = (value) => {
@@ -2602,26 +2594,26 @@ const toUploadResult = (value) => {
2602
2594
  };
2603
2595
  throw new PutioValidationError({ cause: "Expected put.io upload response to contain either \"file\" or \"transfer\"" });
2604
2596
  };
2605
- const buildFileApiDownloadUrl = (baseUrl, fileId, options = {}) => buildPutioUrl(baseUrl, options.name ? `/v2/files/${encodePathSegment(fileId)}/download/${normalizeFileName(options.name)}` : `/v2/files/${encodePathSegment(fileId)}/download`, {
2597
+ const buildFileApiDownloadUrl = (baseUrl, fileId, options) => buildPutioUrl(baseUrl, options.name ? `/v2/files/${encodePathSegment(fileId)}/download/${normalizeFileName(options.name)}` : `/v2/files/${encodePathSegment(fileId)}/download`, {
2606
2598
  ...useTunnelToQuery(options.useTunnel),
2607
- oauth_token: options.oauthToken
2599
+ oauth_token: options.downloadToken
2608
2600
  });
2609
- const buildFileApiContentUrl = (baseUrl, fileId, options = {}) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/stream`, {
2601
+ const buildFileApiContentUrl = (baseUrl, fileId, options) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/stream`, {
2610
2602
  ...useTunnelToQuery(options.useTunnel),
2611
- oauth_token: options.oauthToken
2603
+ oauth_token: options.downloadToken
2612
2604
  });
2613
- const buildFileApiMp4DownloadUrl = (baseUrl, fileId, options = {}) => buildPutioUrl(baseUrl, options.name ? `/v2/files/${encodePathSegment(fileId)}/mp4/download/${normalizeFileName(options.name)}` : `/v2/files/${encodePathSegment(fileId)}/mp4/download`, {
2605
+ const buildFileApiMp4DownloadUrl = (baseUrl, fileId, options) => buildPutioUrl(baseUrl, options.name ? `/v2/files/${encodePathSegment(fileId)}/mp4/download/${normalizeFileName(options.name)}` : `/v2/files/${encodePathSegment(fileId)}/mp4/download`, {
2614
2606
  ...useTunnelToQuery(options.useTunnel),
2615
2607
  convert: options.convert ? 1 : void 0,
2616
- oauth_token: options.oauthToken
2608
+ oauth_token: options.downloadToken
2617
2609
  });
2618
- const buildFileHlsStreamUrl = (baseUrl, fileId, options = {}) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/hls/media.m3u8`, {
2610
+ const buildFileHlsStreamUrl = (baseUrl, fileId, options) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/hls/media.m3u8`, {
2619
2611
  max_subtitle_count: options.maxSubtitleCount,
2620
- oauth_token: options.oauthToken,
2612
+ oauth_token: options.downloadToken,
2621
2613
  original: typeof options.playOriginal === "boolean" ? options.playOriginal ? 1 : 0 : void 0,
2622
2614
  subtitle_languages: joinCsv(options.subtitleLanguages)
2623
2615
  });
2624
- const buildFileXspfPlaylistUrl = (baseUrl, fileId, options = {}) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/xspf`, { oauth_token: options.oauthToken });
2616
+ const buildFileXspfPlaylistUrl = (baseUrl, fileId, options) => buildPutioUrl(baseUrl, `/v2/files/${encodePathSegment(fileId)}/xspf`, { oauth_token: options.downloadToken });
2625
2617
  const createFileUploadFormData = (input) => {
2626
2618
  const formData = new FormData();
2627
2619
  formData.append("file", input.file);
@@ -2836,46 +2828,34 @@ const getDownloadUrl = (fileId) => decodeAndRun(PositiveFileIdSchema, fileId, (d
2836
2828
  method: "GET",
2837
2829
  path: `/v2/files/${encodePathSegment(decodedFileId)}/url`
2838
2830
  })).pipe(selectJsonField("url"), withOperationErrors(DownloadUrlErrorSpec));
2839
- const getApiDownloadUrl = (fileId, options = {}) => decodeAndRun(Schema.Struct({
2831
+ const getApiDownloadUrl = (fileId, options) => decodeAndRun(Schema.Struct({
2840
2832
  fileId: PositiveFileIdSchema,
2841
2833
  options: FileApiDownloadUrlOptionsSchema
2842
2834
  }), {
2843
2835
  fileId,
2844
2836
  options
2845
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => buildFileApiDownloadUrl(config.baseUrl ?? "https://api.put.io", decoded.fileId, {
2846
- ...decoded.options,
2847
- oauthToken
2848
- }))));
2849
- const getApiContentUrl = (fileId, options = {}) => decodeAndRun(Schema.Struct({
2837
+ }, (decoded) => resolveApiBaseUrl.pipe(Effect.map((baseUrl) => buildFileApiDownloadUrl(baseUrl, decoded.fileId, decoded.options))));
2838
+ const getApiContentUrl = (fileId, options) => decodeAndRun(Schema.Struct({
2850
2839
  fileId: PositiveFileIdSchema,
2851
2840
  options: FileDirectAccessOptionsSchema
2852
2841
  }), {
2853
2842
  fileId,
2854
2843
  options
2855
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => buildFileApiContentUrl(config.baseUrl ?? "https://api.put.io", decoded.fileId, {
2856
- ...decoded.options,
2857
- oauthToken
2858
- }))));
2859
- const getApiMp4DownloadUrl = (fileId, options = {}) => decodeAndRun(Schema.Struct({
2844
+ }, (decoded) => resolveApiBaseUrl.pipe(Effect.map((baseUrl) => buildFileApiContentUrl(baseUrl, decoded.fileId, decoded.options))));
2845
+ const getApiMp4DownloadUrl = (fileId, options) => decodeAndRun(Schema.Struct({
2860
2846
  fileId: PositiveFileIdSchema,
2861
2847
  options: FileApiMp4DownloadUrlOptionsSchema
2862
2848
  }), {
2863
2849
  fileId,
2864
2850
  options
2865
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => buildFileApiMp4DownloadUrl(config.baseUrl ?? "https://api.put.io", decoded.fileId, {
2866
- ...decoded.options,
2867
- oauthToken
2868
- }))));
2869
- const getHlsStreamUrl = (fileId, options = {}) => decodeAndRun(Schema.Struct({
2851
+ }, (decoded) => resolveApiBaseUrl.pipe(Effect.map((baseUrl) => buildFileApiMp4DownloadUrl(baseUrl, decoded.fileId, decoded.options))));
2852
+ const getHlsStreamUrl = (fileId, options) => decodeAndRun(Schema.Struct({
2870
2853
  fileId: PositiveFileIdSchema,
2871
2854
  options: FileHlsStreamUrlOptionsSchema
2872
2855
  }), {
2873
2856
  fileId,
2874
2857
  options
2875
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => buildFileHlsStreamUrl(config.baseUrl ?? "https://api.put.io", decoded.fileId, {
2876
- ...decoded.options,
2877
- oauthToken
2878
- }))));
2858
+ }, (decoded) => resolveApiBaseUrl.pipe(Effect.map((baseUrl) => buildFileHlsStreamUrl(baseUrl, decoded.fileId, decoded.options))));
2879
2859
  /**
2880
2860
  * Fetches the HLS master playlist the player would load, so callers can
2881
2861
  * inspect the served variant's CODECS, VIDEO-RANGE, and rendition set without
@@ -2898,13 +2878,13 @@ const getHlsMasterPlaylist = (fileId, options = {}) => decodeAndRun(Schema.Struc
2898
2878
  subtitle_languages: joinCsv(decoded.options.subtitleLanguages)
2899
2879
  }
2900
2880
  })).pipe(withOperationErrors(GetHlsMasterPlaylistErrorSpec));
2901
- const getXspfPlaylistUrl = (fileId, options = {}) => decodeAndRun(Schema.Struct({
2881
+ const getXspfPlaylistUrl = (fileId, options) => decodeAndRun(Schema.Struct({
2902
2882
  fileId: PositiveFileIdSchema,
2903
2883
  options: FileXspfPlaylistUrlOptionsSchema
2904
2884
  }), {
2905
2885
  fileId,
2906
2886
  options
2907
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => buildFileXspfPlaylistUrl(config.baseUrl ?? "https://api.put.io", decoded.fileId, { oauthToken }))));
2887
+ }, (decoded) => resolveApiBaseUrl.pipe(Effect.map((baseUrl) => buildFileXspfPlaylistUrl(baseUrl, decoded.fileId, decoded.options))));
2908
2888
  const listFileSubtitles = (fileId, options = {}) => decodeAndRun(FileSubtitlesInputSchema, {
2909
2889
  fileId,
2910
2890
  options
@@ -3009,10 +2989,10 @@ const createFileUploadRequest = (input, options = {}) => decodeAndRun(Schema.Str
3009
2989
  }), {
3010
2990
  input,
3011
2991
  options
3012
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, oauthToken }) => ({
2992
+ }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.map(({ config, token }) => ({
3013
2993
  body: createFileUploadFormData(decoded.input),
3014
2994
  method: "POST",
3015
- url: buildPutioUrl(config.uploadBaseUrl ?? "https://upload.put.io", "/v2/files/upload", { oauth_token: oauthToken })
2995
+ url: buildPutioUrl(config.uploadBaseUrl ?? "https://upload.put.io", "/v2/files/upload", { oauth_token: token })
3016
2996
  }))));
3017
2997
  const uploadFile = (input, options = {}) => decodeAndRun(Schema.Struct({
3018
2998
  input: FileUploadInputSchema,
@@ -3020,7 +3000,7 @@ const uploadFile = (input, options = {}) => decodeAndRun(Schema.Struct({
3020
3000
  }), {
3021
3001
  input,
3022
3002
  options
3023
- }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.flatMap(({ config, oauthToken }) => requestJson(FileUploadEnvelopeSchema, {
3003
+ }, (decoded) => resolveRouteContext(decoded.options.oauthToken).pipe(Effect.flatMap(({ config, token }) => requestJson(FileUploadEnvelopeSchema, {
3024
3004
  auth: { type: "none" },
3025
3005
  baseUrl: config.uploadBaseUrl ?? "https://upload.put.io",
3026
3006
  body: {
@@ -3029,7 +3009,7 @@ const uploadFile = (input, options = {}) => decodeAndRun(Schema.Struct({
3029
3009
  },
3030
3010
  method: "POST",
3031
3011
  path: "/v2/files/upload",
3032
- query: { oauth_token: oauthToken }
3012
+ query: { oauth_token: token }
3033
3013
  })))).pipe(Effect.map(toUploadResult), withOperationErrors(FileUploadErrorSpec));
3034
3014
  //#endregion
3035
3015
  //#region src/domains/friend-invites.ts