@reduck-ai/sdk 2.0.1 → 3.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/generated/index.d.ts +2 -2
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +60 -30
- package/dist/generated/sdk.gen.js +97 -39
- package/dist/generated/types.gen.d.ts +704 -389
- package/dist/generated/types.gen.js +10 -4
- package/openapi.json +1738 -930
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { addScriptEvals, archiveAppImage, archiveScript, batchDeleteRuns, createApp, createAppImage,
|
|
2
|
-
export { type AddScriptEvalsData, type AddScriptEvalsError, type AddScriptEvalsErrors, type AddScriptEvalsResponse, type AddScriptEvalsResponses, type App, type AppImage, type AppImageHooks, type AppImageManifest, type AppImageRef, type AppImageRelease, type AppImageReleaseSummary, type AppImageSecretDeclaration, type AppImageSummary, type AppImageToolDeclaration, AppImageVisibility, type AppOwner, type AppSecret, type AppSecrets, type AppSummary, type AppUpdate, type ArchiveAppImageData, type ArchiveAppImageError, type ArchiveAppImageErrors, type ArchiveAppImageResponse, type ArchiveAppImageResponses, type ArchiveScriptData, type ArchiveScriptError, type ArchiveScriptErrors, type ArchiveScriptResponse, type ArchiveScriptResponses, type BatchDeleteRunsData, type BatchDeleteRunsError, type BatchDeleteRunsErrors, type BatchDeleteRunsResponse, type BatchDeleteRunsResponses, type ClientOptions, ClientSurface, type Connector, type ConnectorCookie, type ConnectorLoginCredential, type ConnectorLoginHost, ConnectorLoginStatus, type ConnectorProfile, type ConnectorWithCookies, type CreateAppData, type CreateAppError, type CreateAppErrors, type CreateAppImageData, type CreateAppImageError, type CreateAppImageErrors, type CreateAppImageResponse, type CreateAppImageResponses, type CreateAppResponse, type CreateAppResponses, type CreateConnectorData, type CreateConnectorError, type CreateConnectorErrors, type CreateConnectorResponse, type CreateConnectorResponses, type CreateDraftScriptVersionData, type CreateDraftScriptVersionError, type CreateDraftScriptVersionErrors, type CreateDraftScriptVersionResponse, type CreateDraftScriptVersionResponses, type CreateScriptData, type CreateScriptError, type CreateScriptErrors, type CreateScriptResponse, type CreateScriptResponses, CredentialKind, type DeleteConnectorByIdData, type DeleteConnectorByIdError, type DeleteConnectorByIdErrors, type DeleteConnectorByIdResponse, type DeleteConnectorByIdResponses, type DeleteConnectorData, type DeleteConnectorError, type DeleteConnectorErrors, type DeleteConnectorResponse, type DeleteConnectorResponses, type DeleteDraftScriptVersionData, type DeleteDraftScriptVersionError, type DeleteDraftScriptVersionErrors, type DeleteDraftScriptVersionResponse, type DeleteDraftScriptVersionResponses, type DeleteHostReadmeData, type DeleteHostReadmeError, type DeleteHostReadmeErrors, type DeleteHostReadmeResponse, type DeleteHostReadmeResponses, type DeleteRunData, type DeleteRunError, type DeleteRunErrors, type DeleteRunResponse, type DeleteRunResponses, type Device, type ErrorResponse, EvalOutcome, type EvalVerdict, type EvalVerdictStatus, type FinishConnectorLoginData, type FinishConnectorLoginError, type FinishConnectorLoginErrors, type FinishConnectorLoginResponse, type FinishConnectorLoginResponses, type GetAppData, type GetAppError, type GetAppErrors, type GetAppImageData, type GetAppImageError, type GetAppImageErrors, type GetAppImageReleaseData, type GetAppImageReleaseError, type GetAppImageReleaseErrors, type GetAppImageReleaseResponse, type GetAppImageReleaseResponses, type GetAppImageResponse, type GetAppImageResponses, type GetAppResponse, type GetAppResponses, type GetAppSecretsData, type GetAppSecretsError, type GetAppSecretsErrors, type GetAppSecretsResponse, type GetAppSecretsResponses, type GetAppToolsData, type GetAppToolsError, type GetAppToolsErrors, type GetAppToolsResponse, type GetAppToolsResponses, type GetConnectorData, type GetConnectorError, type GetConnectorErrors, type GetConnectorLoginData, type GetConnectorLoginError, type GetConnectorLoginErrors, type GetConnectorLoginResponse, type GetConnectorLoginResponses, type GetConnectorResponse, type GetConnectorResponses, type GetHostReadmeData, type GetHostReadmeError, type GetHostReadmeErrors, type GetHostReadmeResponse, type GetHostReadmeResponses, type GetMeData, type GetMeError, type GetMeErrors, type GetMeResponse, type GetMeResponses, type GetPingData, type GetPingResponse, type GetPingResponses, type GetRunData, type GetRunError, type GetRunErrors, type GetRunResponse, type GetRunResponses, type GetRunTraceData, type GetRunTraceError, type GetRunTraceErrors, type GetRunTraceResponses, type GetScriptData, type GetScriptError, type GetScriptErrors, type GetScriptLibData, type GetScriptLibError, type GetScriptLibErrors, type GetScriptLibResponse, type GetScriptLibResponses, type GetScriptLibVersionData, type GetScriptLibVersionError, type GetScriptLibVersionErrors, type GetScriptLibVersionResponse, type GetScriptLibVersionResponses, type GetScriptResponse, type GetScriptResponses, type GetScriptVersionData, type GetScriptVersionError, type GetScriptVersionErrors, type GetScriptVersionResponse, type GetScriptVersionResponses, type GetVersionData, type GetVersionResponse, type GetVersionResponses, type HostReadme, type ListAllAppImagesData, type ListAllAppImagesError, type ListAllAppImagesErrors, type ListAllAppImagesResponse, type ListAllAppImagesResponses, type ListAllAppsData, type ListAllAppsError, type ListAllAppsErrors, type ListAllAppsResponse, type ListAllAppsResponses, type ListAllScriptsData, type ListAllScriptsError, type ListAllScriptsErrors, type ListAllScriptsResponse, type ListAllScriptsResponses, type ListAppImageReleasesData, type ListAppImageReleasesError, type ListAppImageReleasesErrors, type ListAppImageReleasesResponse, type ListAppImageReleasesResponses, type ListAppImagesData, type ListAppImagesError, type ListAppImagesErrors, type ListAppImagesResponse, type ListAppImagesResponses, type ListAppsData, type ListAppsError, type ListAppsErrors, type ListAppsResponse, type ListAppsResponses, type ListAppUpdatesData, type ListAppUpdatesError, type ListAppUpdatesErrors, type ListAppUpdatesResponse, type ListAppUpdatesResponses, type ListConnectorProfilesData, type ListConnectorProfilesError, type ListConnectorProfilesErrors, type ListConnectorProfilesResponse, type ListConnectorProfilesResponses, type ListConnectorsData, type ListConnectorsError, type ListConnectorsErrors, type ListConnectorsResponse, type ListConnectorsResponses, type ListDevicesData, type ListDevicesError, type ListDevicesErrors, type ListDevicesResponse, type ListDevicesResponses, type ListRunsData, type ListRunsError, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, type ListScriptEvalsData, type ListScriptEvalsError, type ListScriptEvalsErrors, type ListScriptEvalsResponse, type ListScriptEvalsResponses, type ListScriptLibVersionsData, type ListScriptLibVersionsError, type ListScriptLibVersionsErrors, type ListScriptLibVersionsResponse, type ListScriptLibVersionsResponses, type ListScriptRunsData, type ListScriptRunsError, type ListScriptRunsErrors, type ListScriptRunsResponse, type ListScriptRunsResponses, type ListScriptsData, type ListScriptsError, type ListScriptsErrors, type ListScriptsResponse, type ListScriptsResponses, type ListScriptTransferTargetsData, type ListScriptTransferTargetsError, type ListScriptTransferTargetsErrors, type ListScriptTransferTargetsResponse, type ListScriptTransferTargetsResponses, type ListScriptVersionsData, type ListScriptVersionsError, type ListScriptVersionsErrors, type ListScriptVersionsResponse, type ListScriptVersionsResponses, type ManagedQuota, type ManagedUsage, type PaginatedResponseAppImageReleaseSummary, type PaginatedResponseAppImageSummary, type PaginatedResponseAppSummary, type PaginatedResponseAppUpdate, type PaginatedResponseRun, type PaginatedResponseScriptLibVersionSummary, type PaginatedResponseScriptSummary, type PaginatedResponseScriptVersionSummary, type PatchConnectorData, type PatchConnectorError, type PatchConnectorErrors, type PatchConnectorResponse, type PatchConnectorResponses, type PatchDraftScriptVersionData, type PatchDraftScriptVersionError, type PatchDraftScriptVersionErrors, type PatchDraftScriptVersionResponse, type PatchDraftScriptVersionResponses, type PatchScriptData, type PatchScriptError, type PatchScriptErrors, type PatchScriptResponse, type PatchScriptResponses, type PromoteScriptLibVersionData, type PromoteScriptLibVersionError, type PromoteScriptLibVersionErrors, type PromoteScriptLibVersionResponse, type PromoteScriptLibVersionResponses, type PromoteScriptVersionData, type PromoteScriptVersionError, type PromoteScriptVersionErrors, type PromoteScriptVersionResponse, type PromoteScriptVersionResponses, type PublishAppImageReleaseData, type PublishAppImageReleaseError, type PublishAppImageReleaseErrors, type PublishAppImageReleaseResponse, type PublishAppImageReleaseResponses, type PublishScriptData, type PublishScriptError, type PublishScriptErrors, type PublishScriptLibVersionData, type PublishScriptLibVersionError, type PublishScriptLibVersionErrors, type PublishScriptLibVersionResponse, type PublishScriptLibVersionResponses, type PublishScriptResponse, type PublishScriptResponses, type PutConnectorByIdData, type PutConnectorByIdError, type PutConnectorByIdErrors, type PutConnectorByIdResponse, type PutConnectorByIdResponses, type PutConnectorData, type PutConnectorError, type PutConnectorErrors, type PutConnectorResponse, type PutConnectorResponses, type RecordScriptEvalRunsData, type RecordScriptEvalRunsError, type RecordScriptEvalRunsErrors, type RecordScriptEvalRunsResponse, type RecordScriptEvalRunsResponses, type Recordstringstring, type Recordstringunknown, type RestoreAppImageData, type RestoreAppImageError, type RestoreAppImageErrors, type RestoreAppImageResponse, type RestoreAppImageResponses, type RestoreScriptData, type RestoreScriptError, type RestoreScriptErrors, type RestoreScriptResponse, type RestoreScriptResponses, type RollbackAppImageData, type RollbackAppImageError, type RollbackAppImageErrors, type RollbackAppImageResponse, type RollbackAppImageResponses, type Run, RunBrowser, type RunDevice, RunErrorType, type RunResult, type RunScriptData, type RunScriptError, type RunScriptErrors, type RunScriptResponse, type RunScriptResponses, type RunScriptsData, type RunScriptsError, type RunScriptsErrors, type RunScriptsResponse, type RunScriptsResponses, RunStatus, type ScriptAuthor, ScriptAuthorApproved, ScriptAuthorKind, type ScriptEval, type ScriptLib, type ScriptLibDependent, type ScriptLibVersion, type ScriptLibVersionSummary, ScriptSideEffects, type ScriptSummary, type ScriptVersion, type ScriptVersionSummary, type ScriptWithVersion, type SetHostReadmeData, type SetHostReadmeError, type SetHostReadmeErrors, type SetHostReadmeResponse, type SetHostReadmeResponses, type SetScriptEvalsActiveData, type SetScriptEvalsActiveError, type SetScriptEvalsActiveErrors, type SetScriptEvalsActiveResponse, type SetScriptEvalsActiveResponses, type StartAppImageReleaseData, type StartAppImageReleaseError, type StartAppImageReleaseErrors, type StartAppImageReleaseResponse, type StartAppImageReleaseResponses, type StartConnectorLoginData, type StartConnectorLoginError, type StartConnectorLoginErrors, type StartConnectorLoginResponse, type StartConnectorLoginResponses, type TransferScriptData, type TransferScriptError, type TransferScriptErrors, type TransferScriptResponse, type TransferScriptResponses, type TransferTarget, type UninstallAppData, type UninstallAppError, type UninstallAppErrors, type UninstallAppResponse, type UninstallAppResponses, type UnpublishScriptData, type UnpublishScriptError, type UnpublishScriptErrors, type UnpublishScriptResponse, type UnpublishScriptResponses, type UpdateAppData, type UpdateAppError, type UpdateAppErrors, type UpdateAppImageData, type UpdateAppImageError, type UpdateAppImageErrors, type UpdateAppImageResponse, type UpdateAppImageResponses, type UpdateAppResponse, type UpdateAppResponses, type UpdateAppSecretsData, type UpdateAppSecretsError, type UpdateAppSecretsErrors, type UpdateAppSecretsResponse, type UpdateAppSecretsResponses, type UpdateDeviceData, type UpdateDeviceError, type UpdateDeviceErrors, type UpdateDeviceResponse, type UpdateDeviceResponses, type VersionDiff, type VersionFieldChange } from './types.gen.js';
|
|
1
|
+
export { addScriptEvals, archiveAppImage, archiveScript, batchDeleteConnectors, batchDeleteRuns, createApp, createAppImage, createConnectorLink, createConnectorProfile, createDraftScriptVersion, createScript, deleteConnector, deleteConnectorLink, deleteConnectorProfile, deleteDraftScriptVersion, deleteHostReadme, deleteRun, getApp, getAppImage, getAppImageRelease, getAppSecrets, getAppTools, getConnector, getConnectorLink, getConnectorProfile, getHostReadme, getMe, getPing, getRun, getRunTrace, getScript, getScriptLib, getScriptLibVersion, getScriptVersion, getVersion, identifyConnectorAccount, listAllAppImages, listAllApps, listAllScripts, listAppImageReleases, listAppImages, listApps, listAppUpdates, listConnectorLinks, listConnectorProfiles, listConnectors, listDevices, listRuns, listScriptEvals, listScriptLibVersions, listScriptRuns, listScripts, listScriptTransferTargets, listScriptVersions, type Options, patchConnectorProfile, patchDraftScriptVersion, patchScript, promoteScriptLibVersion, promoteScriptVersion, publishAppImageRelease, publishScript, publishScriptLibVersion, recordScriptEvalRuns, replaceConnectorCookies, resolveConnector, restoreAppImage, restoreScript, rollbackAppImage, runScript, runScripts, saveConnector, setHostReadme, setScriptEvalsActive, startAppImageRelease, transferScript, uninstallApp, unpublishScript, updateApp, updateAppImage, updateAppSecrets, updateDevice } from './sdk.gen.js';
|
|
2
|
+
export { type AddScriptEvalsData, type AddScriptEvalsError, type AddScriptEvalsErrors, type AddScriptEvalsResponse, type AddScriptEvalsResponses, type App, type AppImage, type AppImageHooks, type AppImageManifest, type AppImageRef, type AppImageRelease, type AppImageReleaseSummary, type AppImageSecretDeclaration, type AppImageSummary, type AppImageToolDeclaration, AppImageVisibility, type AppOwner, type AppSecret, type AppSecrets, type AppSummary, type AppUpdate, type ArchiveAppImageData, type ArchiveAppImageError, type ArchiveAppImageErrors, type ArchiveAppImageResponse, type ArchiveAppImageResponses, type ArchiveScriptData, type ArchiveScriptError, type ArchiveScriptErrors, type ArchiveScriptResponse, type ArchiveScriptResponses, type BatchDeleteConnectorsData, type BatchDeleteConnectorsError, type BatchDeleteConnectorsErrors, type BatchDeleteConnectorsResponse, type BatchDeleteConnectorsResponses, type BatchDeleteRunsData, type BatchDeleteRunsError, type BatchDeleteRunsErrors, type BatchDeleteRunsResponse, type BatchDeleteRunsResponses, type ClientOptions, ClientSurface, type Connector, type ConnectorCookie, type ConnectorLink, ConnectorLinkStatus, type ConnectorProfile, type ConnectorSummary, type ConnectorWithCookies, type CreateAppData, type CreateAppError, type CreateAppErrors, type CreateAppImageData, type CreateAppImageError, type CreateAppImageErrors, type CreateAppImageResponse, type CreateAppImageResponses, type CreateAppResponse, type CreateAppResponses, type CreateConnectorLinkData, type CreateConnectorLinkError, type CreateConnectorLinkErrors, type CreateConnectorLinkResponse, type CreateConnectorLinkResponses, type CreateConnectorProfileData, type CreateConnectorProfileError, type CreateConnectorProfileErrors, type CreateConnectorProfileResponse, type CreateConnectorProfileResponses, type CreatedConnectorLink, type CreateDraftScriptVersionData, type CreateDraftScriptVersionError, type CreateDraftScriptVersionErrors, type CreateDraftScriptVersionResponse, type CreateDraftScriptVersionResponses, type CreateScriptData, type CreateScriptError, type CreateScriptErrors, type CreateScriptResponse, type CreateScriptResponses, CredentialKind, type DeleteConnectorData, type DeleteConnectorError, type DeleteConnectorErrors, type DeleteConnectorLinkData, type DeleteConnectorLinkError, type DeleteConnectorLinkErrors, type DeleteConnectorLinkResponse, type DeleteConnectorLinkResponses, type DeleteConnectorProfileData, type DeleteConnectorProfileError, type DeleteConnectorProfileErrors, type DeleteConnectorProfileResponse, type DeleteConnectorProfileResponses, type DeleteConnectorResponse, type DeleteConnectorResponses, type DeleteDraftScriptVersionData, type DeleteDraftScriptVersionError, type DeleteDraftScriptVersionErrors, type DeleteDraftScriptVersionResponse, type DeleteDraftScriptVersionResponses, type DeleteHostReadmeData, type DeleteHostReadmeError, type DeleteHostReadmeErrors, type DeleteHostReadmeResponse, type DeleteHostReadmeResponses, type DeleteRunData, type DeleteRunError, type DeleteRunErrors, type DeleteRunResponse, type DeleteRunResponses, type Device, type ErrorResponse, EvalOutcome, type EvalVerdict, type EvalVerdictStatus, type GetAppData, type GetAppError, type GetAppErrors, type GetAppImageData, type GetAppImageError, type GetAppImageErrors, type GetAppImageReleaseData, type GetAppImageReleaseError, type GetAppImageReleaseErrors, type GetAppImageReleaseResponse, type GetAppImageReleaseResponses, type GetAppImageResponse, type GetAppImageResponses, type GetAppResponse, type GetAppResponses, type GetAppSecretsData, type GetAppSecretsError, type GetAppSecretsErrors, type GetAppSecretsResponse, type GetAppSecretsResponses, type GetAppToolsData, type GetAppToolsError, type GetAppToolsErrors, type GetAppToolsResponse, type GetAppToolsResponses, type GetConnectorData, type GetConnectorError, type GetConnectorErrors, type GetConnectorLinkData, type GetConnectorLinkError, type GetConnectorLinkErrors, type GetConnectorLinkResponse, type GetConnectorLinkResponses, type GetConnectorProfileData, type GetConnectorProfileError, type GetConnectorProfileErrors, type GetConnectorProfileResponse, type GetConnectorProfileResponses, type GetConnectorResponse, type GetConnectorResponses, type GetHostReadmeData, type GetHostReadmeError, type GetHostReadmeErrors, type GetHostReadmeResponse, type GetHostReadmeResponses, type GetMeData, type GetMeError, type GetMeErrors, type GetMeResponse, type GetMeResponses, type GetPingData, type GetPingResponse, type GetPingResponses, type GetRunData, type GetRunError, type GetRunErrors, type GetRunResponse, type GetRunResponses, type GetRunTraceData, type GetRunTraceError, type GetRunTraceErrors, type GetRunTraceResponses, type GetScriptData, type GetScriptError, type GetScriptErrors, type GetScriptLibData, type GetScriptLibError, type GetScriptLibErrors, type GetScriptLibResponse, type GetScriptLibResponses, type GetScriptLibVersionData, type GetScriptLibVersionError, type GetScriptLibVersionErrors, type GetScriptLibVersionResponse, type GetScriptLibVersionResponses, type GetScriptResponse, type GetScriptResponses, type GetScriptVersionData, type GetScriptVersionError, type GetScriptVersionErrors, type GetScriptVersionResponse, type GetScriptVersionResponses, type GetVersionData, type GetVersionResponse, type GetVersionResponses, type HostReadme, type IdentifyConnectorAccountData, type IdentifyConnectorAccountError, type IdentifyConnectorAccountErrors, type IdentifyConnectorAccountResponse, type IdentifyConnectorAccountResponses, type ListAllAppImagesData, type ListAllAppImagesError, type ListAllAppImagesErrors, type ListAllAppImagesResponse, type ListAllAppImagesResponses, type ListAllAppsData, type ListAllAppsError, type ListAllAppsErrors, type ListAllAppsResponse, type ListAllAppsResponses, type ListAllScriptsData, type ListAllScriptsError, type ListAllScriptsErrors, type ListAllScriptsResponse, type ListAllScriptsResponses, type ListAppImageReleasesData, type ListAppImageReleasesError, type ListAppImageReleasesErrors, type ListAppImageReleasesResponse, type ListAppImageReleasesResponses, type ListAppImagesData, type ListAppImagesError, type ListAppImagesErrors, type ListAppImagesResponse, type ListAppImagesResponses, type ListAppsData, type ListAppsError, type ListAppsErrors, type ListAppsResponse, type ListAppsResponses, type ListAppUpdatesData, type ListAppUpdatesError, type ListAppUpdatesErrors, type ListAppUpdatesResponse, type ListAppUpdatesResponses, type ListConnectorLinksData, type ListConnectorLinksError, type ListConnectorLinksErrors, type ListConnectorLinksResponse, type ListConnectorLinksResponses, type ListConnectorProfilesData, type ListConnectorProfilesError, type ListConnectorProfilesErrors, type ListConnectorProfilesResponse, type ListConnectorProfilesResponses, type ListConnectorsData, type ListConnectorsError, type ListConnectorsErrors, type ListConnectorsResponse, type ListConnectorsResponses, type ListDevicesData, type ListDevicesError, type ListDevicesErrors, type ListDevicesResponse, type ListDevicesResponses, type ListRunsData, type ListRunsError, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, type ListScriptEvalsData, type ListScriptEvalsError, type ListScriptEvalsErrors, type ListScriptEvalsResponse, type ListScriptEvalsResponses, type ListScriptLibVersionsData, type ListScriptLibVersionsError, type ListScriptLibVersionsErrors, type ListScriptLibVersionsResponse, type ListScriptLibVersionsResponses, type ListScriptRunsData, type ListScriptRunsError, type ListScriptRunsErrors, type ListScriptRunsResponse, type ListScriptRunsResponses, type ListScriptsData, type ListScriptsError, type ListScriptsErrors, type ListScriptsResponse, type ListScriptsResponses, type ListScriptTransferTargetsData, type ListScriptTransferTargetsError, type ListScriptTransferTargetsErrors, type ListScriptTransferTargetsResponse, type ListScriptTransferTargetsResponses, type ListScriptVersionsData, type ListScriptVersionsError, type ListScriptVersionsErrors, type ListScriptVersionsResponse, type ListScriptVersionsResponses, type ManagedQuota, ManagedRegion, type ManagedUsage, type PaginatedResponseAppImageReleaseSummary, type PaginatedResponseAppImageSummary, type PaginatedResponseAppSummary, type PaginatedResponseAppUpdate, type PaginatedResponseConnectorLink, type PaginatedResponseConnectorProfile, type PaginatedResponseConnectorSummary, type PaginatedResponseRun, type PaginatedResponseScriptLibVersionSummary, type PaginatedResponseScriptSummary, type PaginatedResponseScriptVersionSummary, type PatchConnectorProfileData, type PatchConnectorProfileError, type PatchConnectorProfileErrors, type PatchConnectorProfileResponse, type PatchConnectorProfileResponses, type PatchDraftScriptVersionData, type PatchDraftScriptVersionError, type PatchDraftScriptVersionErrors, type PatchDraftScriptVersionResponse, type PatchDraftScriptVersionResponses, type PatchScriptData, type PatchScriptError, type PatchScriptErrors, type PatchScriptResponse, type PatchScriptResponses, type PromoteScriptLibVersionData, type PromoteScriptLibVersionError, type PromoteScriptLibVersionErrors, type PromoteScriptLibVersionResponse, type PromoteScriptLibVersionResponses, type PromoteScriptVersionData, type PromoteScriptVersionError, type PromoteScriptVersionErrors, type PromoteScriptVersionResponse, type PromoteScriptVersionResponses, type PublishAppImageReleaseData, type PublishAppImageReleaseError, type PublishAppImageReleaseErrors, type PublishAppImageReleaseResponse, type PublishAppImageReleaseResponses, type PublishScriptData, type PublishScriptError, type PublishScriptErrors, type PublishScriptLibVersionData, type PublishScriptLibVersionError, type PublishScriptLibVersionErrors, type PublishScriptLibVersionResponse, type PublishScriptLibVersionResponses, type PublishScriptResponse, type PublishScriptResponses, type RecordScriptEvalRunsData, type RecordScriptEvalRunsError, type RecordScriptEvalRunsErrors, type RecordScriptEvalRunsResponse, type RecordScriptEvalRunsResponses, type Recordstringstring, type Recordstringunknown, type ReplaceConnectorCookiesData, type ReplaceConnectorCookiesError, type ReplaceConnectorCookiesErrors, type ReplaceConnectorCookiesResponse, type ReplaceConnectorCookiesResponses, type ResolveConnectorData, type ResolveConnectorError, type ResolveConnectorErrors, type ResolveConnectorResponse, type ResolveConnectorResponses, type RestoreAppImageData, type RestoreAppImageError, type RestoreAppImageErrors, type RestoreAppImageResponse, type RestoreAppImageResponses, type RestoreScriptData, type RestoreScriptError, type RestoreScriptErrors, type RestoreScriptResponse, type RestoreScriptResponses, type RollbackAppImageData, type RollbackAppImageError, type RollbackAppImageErrors, type RollbackAppImageResponse, type RollbackAppImageResponses, type Run, RunBrowser, type RunDevice, RunErrorType, type RunResult, type RunScriptData, type RunScriptError, type RunScriptErrors, type RunScriptResponse, type RunScriptResponses, type RunScriptsData, type RunScriptsError, type RunScriptsErrors, type RunScriptsResponse, type RunScriptsResponses, RunStatus, type SaveConnectorData, type SaveConnectorError, type SaveConnectorErrors, type SaveConnectorResponse, type SaveConnectorResponses, type ScriptAuthor, ScriptAuthorApproved, ScriptAuthorKind, type ScriptEval, type ScriptLib, type ScriptLibDependent, type ScriptLibVersion, type ScriptLibVersionSummary, ScriptSideEffects, type ScriptSummary, type ScriptVersion, type ScriptVersionSummary, type ScriptWithVersion, type SetHostReadmeData, type SetHostReadmeError, type SetHostReadmeErrors, type SetHostReadmeResponse, type SetHostReadmeResponses, type SetScriptEvalsActiveData, type SetScriptEvalsActiveError, type SetScriptEvalsActiveErrors, type SetScriptEvalsActiveResponse, type SetScriptEvalsActiveResponses, type StartAppImageReleaseData, type StartAppImageReleaseError, type StartAppImageReleaseErrors, type StartAppImageReleaseResponse, type StartAppImageReleaseResponses, type TransferScriptData, type TransferScriptError, type TransferScriptErrors, type TransferScriptResponse, type TransferScriptResponses, type TransferTarget, type UninstallAppData, type UninstallAppError, type UninstallAppErrors, type UninstallAppResponse, type UninstallAppResponses, type UnpublishScriptData, type UnpublishScriptError, type UnpublishScriptErrors, type UnpublishScriptResponse, type UnpublishScriptResponses, type UpdateAppData, type UpdateAppError, type UpdateAppErrors, type UpdateAppImageData, type UpdateAppImageError, type UpdateAppImageErrors, type UpdateAppImageResponse, type UpdateAppImageResponses, type UpdateAppResponse, type UpdateAppResponses, type UpdateAppSecretsData, type UpdateAppSecretsError, type UpdateAppSecretsErrors, type UpdateAppSecretsResponse, type UpdateAppSecretsResponses, type UpdateDeviceData, type UpdateDeviceError, type UpdateDeviceErrors, type UpdateDeviceResponse, type UpdateDeviceResponses, type VersionDiff, type VersionFieldChange } from './types.gen.js';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { addScriptEvals, archiveAppImage, archiveScript, batchDeleteRuns, createApp, createAppImage,
|
|
3
|
-
export { AppImageVisibility, ClientSurface,
|
|
2
|
+
export { addScriptEvals, archiveAppImage, archiveScript, batchDeleteConnectors, batchDeleteRuns, createApp, createAppImage, createConnectorLink, createConnectorProfile, createDraftScriptVersion, createScript, deleteConnector, deleteConnectorLink, deleteConnectorProfile, deleteDraftScriptVersion, deleteHostReadme, deleteRun, getApp, getAppImage, getAppImageRelease, getAppSecrets, getAppTools, getConnector, getConnectorLink, getConnectorProfile, getHostReadme, getMe, getPing, getRun, getRunTrace, getScript, getScriptLib, getScriptLibVersion, getScriptVersion, getVersion, identifyConnectorAccount, listAllAppImages, listAllApps, listAllScripts, listAppImageReleases, listAppImages, listApps, listAppUpdates, listConnectorLinks, listConnectorProfiles, listConnectors, listDevices, listRuns, listScriptEvals, listScriptLibVersions, listScriptRuns, listScripts, listScriptTransferTargets, listScriptVersions, patchConnectorProfile, patchDraftScriptVersion, patchScript, promoteScriptLibVersion, promoteScriptVersion, publishAppImageRelease, publishScript, publishScriptLibVersion, recordScriptEvalRuns, replaceConnectorCookies, resolveConnector, restoreAppImage, restoreScript, rollbackAppImage, runScript, runScripts, saveConnector, setHostReadme, setScriptEvalsActive, startAppImageRelease, transferScript, uninstallApp, unpublishScript, updateApp, updateAppImage, updateAppSecrets, updateDevice } from './sdk.gen.js';
|
|
3
|
+
export { AppImageVisibility, ClientSurface, ConnectorLinkStatus, CredentialKind, EvalOutcome, ManagedRegion, RunBrowser, RunErrorType, RunStatus, ScriptAuthorApproved, ScriptAuthorKind, ScriptSideEffects } from './types.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.js';
|
|
2
|
-
import type { AddScriptEvalsData, AddScriptEvalsErrors, AddScriptEvalsResponses, ArchiveAppImageData, ArchiveAppImageErrors, ArchiveAppImageResponses, ArchiveScriptData, ArchiveScriptErrors, ArchiveScriptResponses, BatchDeleteRunsData, BatchDeleteRunsErrors, BatchDeleteRunsResponses, CreateAppData, CreateAppErrors, CreateAppImageData, CreateAppImageErrors, CreateAppImageResponses, CreateAppResponses,
|
|
2
|
+
import type { AddScriptEvalsData, AddScriptEvalsErrors, AddScriptEvalsResponses, ArchiveAppImageData, ArchiveAppImageErrors, ArchiveAppImageResponses, ArchiveScriptData, ArchiveScriptErrors, ArchiveScriptResponses, BatchDeleteConnectorsData, BatchDeleteConnectorsErrors, BatchDeleteConnectorsResponses, BatchDeleteRunsData, BatchDeleteRunsErrors, BatchDeleteRunsResponses, CreateAppData, CreateAppErrors, CreateAppImageData, CreateAppImageErrors, CreateAppImageResponses, CreateAppResponses, CreateConnectorLinkData, CreateConnectorLinkErrors, CreateConnectorLinkResponses, CreateConnectorProfileData, CreateConnectorProfileErrors, CreateConnectorProfileResponses, CreateDraftScriptVersionData, CreateDraftScriptVersionErrors, CreateDraftScriptVersionResponses, CreateScriptData, CreateScriptErrors, CreateScriptResponses, DeleteConnectorData, DeleteConnectorErrors, DeleteConnectorLinkData, DeleteConnectorLinkErrors, DeleteConnectorLinkResponses, DeleteConnectorProfileData, DeleteConnectorProfileErrors, DeleteConnectorProfileResponses, DeleteConnectorResponses, DeleteDraftScriptVersionData, DeleteDraftScriptVersionErrors, DeleteDraftScriptVersionResponses, DeleteHostReadmeData, DeleteHostReadmeErrors, DeleteHostReadmeResponses, DeleteRunData, DeleteRunErrors, DeleteRunResponses, GetAppData, GetAppErrors, GetAppImageData, GetAppImageErrors, GetAppImageReleaseData, GetAppImageReleaseErrors, GetAppImageReleaseResponses, GetAppImageResponses, GetAppResponses, GetAppSecretsData, GetAppSecretsErrors, GetAppSecretsResponses, GetAppToolsData, GetAppToolsErrors, GetAppToolsResponses, GetConnectorData, GetConnectorErrors, GetConnectorLinkData, GetConnectorLinkErrors, GetConnectorLinkResponses, GetConnectorProfileData, GetConnectorProfileErrors, GetConnectorProfileResponses, GetConnectorResponses, GetHostReadmeData, GetHostReadmeErrors, GetHostReadmeResponses, GetMeData, GetMeErrors, GetMeResponses, GetPingData, GetPingResponses, GetRunData, GetRunErrors, GetRunResponses, GetRunTraceData, GetRunTraceErrors, GetRunTraceResponses, GetScriptData, GetScriptErrors, GetScriptLibData, GetScriptLibErrors, GetScriptLibResponses, GetScriptLibVersionData, GetScriptLibVersionErrors, GetScriptLibVersionResponses, GetScriptResponses, GetScriptVersionData, GetScriptVersionErrors, GetScriptVersionResponses, GetVersionData, GetVersionResponses, IdentifyConnectorAccountData, IdentifyConnectorAccountErrors, IdentifyConnectorAccountResponses, ListAllAppImagesData, ListAllAppImagesErrors, ListAllAppImagesResponses, ListAllAppsData, ListAllAppsErrors, ListAllAppsResponses, ListAllScriptsData, ListAllScriptsErrors, ListAllScriptsResponses, ListAppImageReleasesData, ListAppImageReleasesErrors, ListAppImageReleasesResponses, ListAppImagesData, ListAppImagesErrors, ListAppImagesResponses, ListAppsData, ListAppsErrors, ListAppsResponses, ListAppUpdatesData, ListAppUpdatesErrors, ListAppUpdatesResponses, ListConnectorLinksData, ListConnectorLinksErrors, ListConnectorLinksResponses, ListConnectorProfilesData, ListConnectorProfilesErrors, ListConnectorProfilesResponses, ListConnectorsData, ListConnectorsErrors, ListConnectorsResponses, ListDevicesData, ListDevicesErrors, ListDevicesResponses, ListRunsData, ListRunsErrors, ListRunsResponses, ListScriptEvalsData, ListScriptEvalsErrors, ListScriptEvalsResponses, ListScriptLibVersionsData, ListScriptLibVersionsErrors, ListScriptLibVersionsResponses, ListScriptRunsData, ListScriptRunsErrors, ListScriptRunsResponses, ListScriptsData, ListScriptsErrors, ListScriptsResponses, ListScriptTransferTargetsData, ListScriptTransferTargetsErrors, ListScriptTransferTargetsResponses, ListScriptVersionsData, ListScriptVersionsErrors, ListScriptVersionsResponses, PatchConnectorProfileData, PatchConnectorProfileErrors, PatchConnectorProfileResponses, PatchDraftScriptVersionData, PatchDraftScriptVersionErrors, PatchDraftScriptVersionResponses, PatchScriptData, PatchScriptErrors, PatchScriptResponses, PromoteScriptLibVersionData, PromoteScriptLibVersionErrors, PromoteScriptLibVersionResponses, PromoteScriptVersionData, PromoteScriptVersionErrors, PromoteScriptVersionResponses, PublishAppImageReleaseData, PublishAppImageReleaseErrors, PublishAppImageReleaseResponses, PublishScriptData, PublishScriptErrors, PublishScriptLibVersionData, PublishScriptLibVersionErrors, PublishScriptLibVersionResponses, PublishScriptResponses, RecordScriptEvalRunsData, RecordScriptEvalRunsErrors, RecordScriptEvalRunsResponses, ReplaceConnectorCookiesData, ReplaceConnectorCookiesErrors, ReplaceConnectorCookiesResponses, ResolveConnectorData, ResolveConnectorErrors, ResolveConnectorResponses, RestoreAppImageData, RestoreAppImageErrors, RestoreAppImageResponses, RestoreScriptData, RestoreScriptErrors, RestoreScriptResponses, RollbackAppImageData, RollbackAppImageErrors, RollbackAppImageResponses, RunScriptData, RunScriptErrors, RunScriptResponses, RunScriptsData, RunScriptsErrors, RunScriptsResponses, SaveConnectorData, SaveConnectorErrors, SaveConnectorResponses, SetHostReadmeData, SetHostReadmeErrors, SetHostReadmeResponses, SetScriptEvalsActiveData, SetScriptEvalsActiveErrors, SetScriptEvalsActiveResponses, StartAppImageReleaseData, StartAppImageReleaseErrors, StartAppImageReleaseResponses, TransferScriptData, TransferScriptErrors, TransferScriptResponses, UninstallAppData, UninstallAppErrors, UninstallAppResponses, UnpublishScriptData, UnpublishScriptErrors, UnpublishScriptResponses, UpdateAppData, UpdateAppErrors, UpdateAppImageData, UpdateAppImageErrors, UpdateAppImageResponses, UpdateAppResponses, UpdateAppSecretsData, UpdateAppSecretsErrors, UpdateAppSecretsResponses, UpdateDeviceData, UpdateDeviceErrors, UpdateDeviceResponses } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -148,75 +148,105 @@ export declare const listAppUpdates: <ThrowOnError extends boolean = false>(opti
|
|
|
148
148
|
/**
|
|
149
149
|
* List connectors
|
|
150
150
|
*
|
|
151
|
-
* List your
|
|
151
|
+
* List your Auth session cookies, one entry for each website, without the cookies.
|
|
152
152
|
*/
|
|
153
153
|
export declare const listConnectors: <ThrowOnError extends boolean = false>(options?: Options<ListConnectorsData, ThrowOnError>) => RequestResult<ListConnectorsResponses, ListConnectorsErrors, ThrowOnError>;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
155
|
+
* Batch delete connectors
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
* Delete several entries of Auth session cookies and the cookies they hold.
|
|
158
158
|
*/
|
|
159
|
-
export declare const
|
|
159
|
+
export declare const batchDeleteConnectors: <ThrowOnError extends boolean = false>(options: Options<BatchDeleteConnectorsData, ThrowOnError>) => RequestResult<BatchDeleteConnectorsResponses, BatchDeleteConnectorsErrors, ThrowOnError>;
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Resolve connector
|
|
162
162
|
*
|
|
163
|
-
*
|
|
163
|
+
* Get the Auth session cookies of the website a host belongs to, with the cookies.
|
|
164
164
|
*/
|
|
165
|
-
export declare const
|
|
165
|
+
export declare const resolveConnector: <ThrowOnError extends boolean = false>(options: Options<ResolveConnectorData, ThrowOnError>) => RequestResult<ResolveConnectorResponses, ResolveConnectorErrors, ThrowOnError>;
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Save connector
|
|
168
168
|
*
|
|
169
|
-
*
|
|
169
|
+
* Save a website's cookies as its Auth session cookies: they replace the cookies saved for the website, or create the entry. The account recorded for them does not change.
|
|
170
170
|
*/
|
|
171
|
-
export declare const
|
|
171
|
+
export declare const saveConnector: <ThrowOnError extends boolean = false>(options: Options<SaveConnectorData, ThrowOnError>) => RequestResult<SaveConnectorResponses, SaveConnectorErrors, ThrowOnError>;
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* Identify connector account
|
|
174
174
|
*
|
|
175
|
-
*
|
|
175
|
+
* Check who the Auth session cookies of a website are signed in as: run a whoami script with these cookies on a cloud browser, and record what it finds with them. This is a run on a cloud browser, billed as one, and the call waits up to 60 seconds for it to end. When the session is signed out, the account recorded for them does not change.
|
|
176
176
|
*/
|
|
177
|
-
export declare const
|
|
177
|
+
export declare const identifyConnectorAccount: <ThrowOnError extends boolean = false>(options: Options<IdentifyConnectorAccountData, ThrowOnError>) => RequestResult<IdentifyConnectorAccountResponses, IdentifyConnectorAccountErrors, ThrowOnError>;
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* List connector links
|
|
180
180
|
*
|
|
181
|
-
*
|
|
181
|
+
* List your login links, newest first, each as last recorded. Read one link to see where its browser stands.
|
|
182
182
|
*/
|
|
183
|
-
export declare const
|
|
183
|
+
export declare const listConnectorLinks: <ThrowOnError extends boolean = false>(options?: Options<ListConnectorLinksData, ThrowOnError>) => RequestResult<ListConnectorLinksResponses, ListConnectorLinksErrors, ThrowOnError>;
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* Create connector link
|
|
186
186
|
*
|
|
187
|
-
*
|
|
187
|
+
* Create a link to a Reduck page where a person signs in to a website in a cloud browser. Give the link to the person who has the account on the website: they do not need a Reduck account. When they sign in, Reduck saves the cookies of the website as your Auth session cookies. Anyone who has the link can use it. The link stops opening 7 days after its creation if nobody opens it. It is over when its browser closes, about 10 minutes after it opens. The browser spends your cloud browser time.
|
|
188
188
|
*/
|
|
189
|
-
export declare const
|
|
189
|
+
export declare const createConnectorLink: <ThrowOnError extends boolean = false>(options: Options<CreateConnectorLinkData, ThrowOnError>) => RequestResult<CreateConnectorLinkResponses, CreateConnectorLinkErrors, ThrowOnError>;
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* Delete connector link
|
|
192
192
|
*
|
|
193
|
-
*
|
|
193
|
+
* Delete a login link, so it no longer opens. A browser it already opened is closed, and nothing it holds is saved.
|
|
194
194
|
*/
|
|
195
|
-
export declare const
|
|
195
|
+
export declare const deleteConnectorLink: <ThrowOnError extends boolean = false>(options: Options<DeleteConnectorLinkData, ThrowOnError>) => RequestResult<DeleteConnectorLinkResponses, DeleteConnectorLinkErrors, ThrowOnError>;
|
|
196
|
+
/**
|
|
197
|
+
* Get connector link
|
|
198
|
+
*
|
|
199
|
+
* How a login link is going: whether someone opened it and signed in, and whether the cookies were saved.
|
|
200
|
+
*/
|
|
201
|
+
export declare const getConnectorLink: <ThrowOnError extends boolean = false>(options: Options<GetConnectorLinkData, ThrowOnError>) => RequestResult<GetConnectorLinkResponses, GetConnectorLinkErrors, ThrowOnError>;
|
|
196
202
|
/**
|
|
197
203
|
* List connector profiles
|
|
198
204
|
*
|
|
199
|
-
* List
|
|
205
|
+
* List your profiles, by name. A profile holds one entry of Auth session cookies per website, so a second account on a site goes into a second profile.
|
|
200
206
|
*/
|
|
201
207
|
export declare const listConnectorProfiles: <ThrowOnError extends boolean = false>(options?: Options<ListConnectorProfilesData, ThrowOnError>) => RequestResult<ListConnectorProfilesResponses, ListConnectorProfilesErrors, ThrowOnError>;
|
|
208
|
+
/**
|
|
209
|
+
* Create connector profile
|
|
210
|
+
*
|
|
211
|
+
* Create an empty profile.
|
|
212
|
+
*/
|
|
213
|
+
export declare const createConnectorProfile: <ThrowOnError extends boolean = false>(options: Options<CreateConnectorProfileData, ThrowOnError>) => RequestResult<CreateConnectorProfileResponses, CreateConnectorProfileErrors, ThrowOnError>;
|
|
214
|
+
/**
|
|
215
|
+
* Delete connector profile
|
|
216
|
+
*
|
|
217
|
+
* Delete a profile, with all the Auth session cookies in it.
|
|
218
|
+
*/
|
|
219
|
+
export declare const deleteConnectorProfile: <ThrowOnError extends boolean = false>(options: Options<DeleteConnectorProfileData, ThrowOnError>) => RequestResult<DeleteConnectorProfileResponses, DeleteConnectorProfileErrors, ThrowOnError>;
|
|
220
|
+
/**
|
|
221
|
+
* Get connector profile
|
|
222
|
+
*
|
|
223
|
+
* Fetch one profile.
|
|
224
|
+
*/
|
|
225
|
+
export declare const getConnectorProfile: <ThrowOnError extends boolean = false>(options: Options<GetConnectorProfileData, ThrowOnError>) => RequestResult<GetConnectorProfileResponses, GetConnectorProfileErrors, ThrowOnError>;
|
|
226
|
+
/**
|
|
227
|
+
* Patch connector profile
|
|
228
|
+
*
|
|
229
|
+
* Rename a profile.
|
|
230
|
+
*/
|
|
231
|
+
export declare const patchConnectorProfile: <ThrowOnError extends boolean = false>(options: Options<PatchConnectorProfileData, ThrowOnError>) => RequestResult<PatchConnectorProfileResponses, PatchConnectorProfileErrors, ThrowOnError>;
|
|
202
232
|
/**
|
|
203
233
|
* Delete connector
|
|
204
234
|
*
|
|
205
|
-
* Delete
|
|
235
|
+
* Delete one entry of Auth session cookies and the cookies it holds.
|
|
206
236
|
*/
|
|
207
237
|
export declare const deleteConnector: <ThrowOnError extends boolean = false>(options: Options<DeleteConnectorData, ThrowOnError>) => RequestResult<DeleteConnectorResponses, DeleteConnectorErrors, ThrowOnError>;
|
|
208
238
|
/**
|
|
209
239
|
* Get connector
|
|
210
240
|
*
|
|
211
|
-
*
|
|
241
|
+
* Get one entry of Auth session cookies, without the cookies.
|
|
212
242
|
*/
|
|
213
243
|
export declare const getConnector: <ThrowOnError extends boolean = false>(options: Options<GetConnectorData, ThrowOnError>) => RequestResult<GetConnectorResponses, GetConnectorErrors, ThrowOnError>;
|
|
214
244
|
/**
|
|
215
|
-
*
|
|
245
|
+
* Replace connector cookies
|
|
216
246
|
*
|
|
217
|
-
* Replace the cookies of
|
|
247
|
+
* Replace the cookies of one entry of Auth session cookies.
|
|
218
248
|
*/
|
|
219
|
-
export declare const
|
|
249
|
+
export declare const replaceConnectorCookies: <ThrowOnError extends boolean = false>(options: Options<ReplaceConnectorCookiesData, ThrowOnError>) => RequestResult<ReplaceConnectorCookiesResponses, ReplaceConnectorCookiesErrors, ThrowOnError>;
|
|
220
250
|
/**
|
|
221
251
|
* List devices
|
|
222
252
|
*
|
|
@@ -442,7 +472,7 @@ export declare const createDraftScriptVersion: <ThrowOnError extends boolean = f
|
|
|
442
472
|
/**
|
|
443
473
|
* Delete draft script version
|
|
444
474
|
*
|
|
445
|
-
* Discard a draft version.
|
|
475
|
+
* Discard a draft version. If it is the only version of the script, the script is deleted too.
|
|
446
476
|
*/
|
|
447
477
|
export declare const deleteDraftScriptVersion: <ThrowOnError extends boolean = false>(options: Options<DeleteDraftScriptVersionData, ThrowOnError>) => RequestResult<DeleteDraftScriptVersionResponses, DeleteDraftScriptVersionErrors, ThrowOnError>;
|
|
448
478
|
/**
|
|
@@ -251,7 +251,7 @@ export const listAppUpdates = (options) => (options.client ?? client).get({
|
|
|
251
251
|
/**
|
|
252
252
|
* List connectors
|
|
253
253
|
*
|
|
254
|
-
* List your
|
|
254
|
+
* List your Auth session cookies, one entry for each website, without the cookies.
|
|
255
255
|
*/
|
|
256
256
|
export const listConnectors = (options) => (options?.client ?? client).get({
|
|
257
257
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
@@ -259,13 +259,13 @@ export const listConnectors = (options) => (options?.client ?? client).get({
|
|
|
259
259
|
...options
|
|
260
260
|
});
|
|
261
261
|
/**
|
|
262
|
-
*
|
|
262
|
+
* Batch delete connectors
|
|
263
263
|
*
|
|
264
|
-
*
|
|
264
|
+
* Delete several entries of Auth session cookies and the cookies they hold.
|
|
265
265
|
*/
|
|
266
|
-
export const
|
|
266
|
+
export const batchDeleteConnectors = (options) => (options.client ?? client).post({
|
|
267
267
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
268
|
-
url: '/api/connectors',
|
|
268
|
+
url: '/api/connectors/delete',
|
|
269
269
|
...options,
|
|
270
270
|
headers: {
|
|
271
271
|
'Content-Type': 'application/json',
|
|
@@ -273,23 +273,23 @@ export const createConnector = (options) => (options.client ?? client).post({
|
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
/**
|
|
276
|
-
*
|
|
276
|
+
* Resolve connector
|
|
277
277
|
*
|
|
278
|
-
*
|
|
278
|
+
* Get the Auth session cookies of the website a host belongs to, with the cookies.
|
|
279
279
|
*/
|
|
280
|
-
export const
|
|
280
|
+
export const resolveConnector = (options) => (options.client ?? client).get({
|
|
281
281
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
282
|
-
url: '/api/connectors/
|
|
282
|
+
url: '/api/connectors/hosts/{host}',
|
|
283
283
|
...options
|
|
284
284
|
});
|
|
285
285
|
/**
|
|
286
|
-
*
|
|
286
|
+
* Save connector
|
|
287
287
|
*
|
|
288
|
-
*
|
|
288
|
+
* Save a website's cookies as its Auth session cookies: they replace the cookies saved for the website, or create the entry. The account recorded for them does not change.
|
|
289
289
|
*/
|
|
290
|
-
export const
|
|
290
|
+
export const saveConnector = (options) => (options.client ?? client).put({
|
|
291
291
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
292
|
-
url: '/api/connectors/
|
|
292
|
+
url: '/api/connectors/hosts/{host}',
|
|
293
293
|
...options,
|
|
294
294
|
headers: {
|
|
295
295
|
'Content-Type': 'application/json',
|
|
@@ -297,13 +297,13 @@ export const patchConnector = (options) => (options.client ?? client).patch({
|
|
|
297
297
|
}
|
|
298
298
|
});
|
|
299
299
|
/**
|
|
300
|
-
*
|
|
300
|
+
* Identify connector account
|
|
301
301
|
*
|
|
302
|
-
*
|
|
302
|
+
* Check who the Auth session cookies of a website are signed in as: run a whoami script with these cookies on a cloud browser, and record what it finds with them. This is a run on a cloud browser, billed as one, and the call waits up to 60 seconds for it to end. When the session is signed out, the account recorded for them does not change.
|
|
303
303
|
*/
|
|
304
|
-
export const
|
|
304
|
+
export const identifyConnectorAccount = (options) => (options.client ?? client).post({
|
|
305
305
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
306
|
-
url: '/api/connectors/
|
|
306
|
+
url: '/api/connectors/hosts/{host}/whoami',
|
|
307
307
|
...options,
|
|
308
308
|
headers: {
|
|
309
309
|
'Content-Type': 'application/json',
|
|
@@ -311,13 +311,23 @@ export const putConnectorById = (options) => (options.client ?? client).put({
|
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
314
|
+
* List connector links
|
|
315
|
+
*
|
|
316
|
+
* List your login links, newest first, each as last recorded. Read one link to see where its browser stands.
|
|
317
|
+
*/
|
|
318
|
+
export const listConnectorLinks = (options) => (options?.client ?? client).get({
|
|
319
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
320
|
+
url: '/api/connectors/links',
|
|
321
|
+
...options
|
|
322
|
+
});
|
|
323
|
+
/**
|
|
324
|
+
* Create connector link
|
|
315
325
|
*
|
|
316
|
-
*
|
|
326
|
+
* Create a link to a Reduck page where a person signs in to a website in a cloud browser. Give the link to the person who has the account on the website: they do not need a Reduck account. When they sign in, Reduck saves the cookies of the website as your Auth session cookies. Anyone who has the link can use it. The link stops opening 7 days after its creation if nobody opens it. It is over when its browser closes, about 10 minutes after it opens. The browser spends your cloud browser time.
|
|
317
327
|
*/
|
|
318
|
-
export const
|
|
328
|
+
export const createConnectorLink = (options) => (options.client ?? client).post({
|
|
319
329
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
320
|
-
url: '/api/connectors/
|
|
330
|
+
url: '/api/connectors/links',
|
|
321
331
|
...options,
|
|
322
332
|
headers: {
|
|
323
333
|
'Content-Type': 'application/json',
|
|
@@ -325,63 +335,111 @@ export const startConnectorLogin = (options) => (options.client ?? client).post(
|
|
|
325
335
|
}
|
|
326
336
|
});
|
|
327
337
|
/**
|
|
328
|
-
*
|
|
338
|
+
* Delete connector link
|
|
329
339
|
*
|
|
330
|
-
*
|
|
340
|
+
* Delete a login link, so it no longer opens. A browser it already opened is closed, and nothing it holds is saved.
|
|
331
341
|
*/
|
|
332
|
-
export const
|
|
342
|
+
export const deleteConnectorLink = (options) => (options.client ?? client).delete({
|
|
333
343
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
334
|
-
url: '/api/connectors/
|
|
344
|
+
url: '/api/connectors/links/{link_id}',
|
|
335
345
|
...options
|
|
336
346
|
});
|
|
337
347
|
/**
|
|
338
|
-
*
|
|
348
|
+
* Get connector link
|
|
339
349
|
*
|
|
340
|
-
*
|
|
350
|
+
* How a login link is going: whether someone opened it and signed in, and whether the cookies were saved.
|
|
341
351
|
*/
|
|
342
|
-
export const
|
|
352
|
+
export const getConnectorLink = (options) => (options.client ?? client).get({
|
|
343
353
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
344
|
-
url: '/api/connectors/
|
|
354
|
+
url: '/api/connectors/links/{link_id}',
|
|
345
355
|
...options
|
|
346
356
|
});
|
|
347
357
|
/**
|
|
348
358
|
* List connector profiles
|
|
349
359
|
*
|
|
350
|
-
* List
|
|
360
|
+
* List your profiles, by name. A profile holds one entry of Auth session cookies per website, so a second account on a site goes into a second profile.
|
|
351
361
|
*/
|
|
352
362
|
export const listConnectorProfiles = (options) => (options?.client ?? client).get({
|
|
353
363
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
354
364
|
url: '/api/connectors/profiles',
|
|
355
365
|
...options
|
|
356
366
|
});
|
|
367
|
+
/**
|
|
368
|
+
* Create connector profile
|
|
369
|
+
*
|
|
370
|
+
* Create an empty profile.
|
|
371
|
+
*/
|
|
372
|
+
export const createConnectorProfile = (options) => (options.client ?? client).post({
|
|
373
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
374
|
+
url: '/api/connectors/profiles',
|
|
375
|
+
...options,
|
|
376
|
+
headers: {
|
|
377
|
+
'Content-Type': 'application/json',
|
|
378
|
+
...options.headers
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
/**
|
|
382
|
+
* Delete connector profile
|
|
383
|
+
*
|
|
384
|
+
* Delete a profile, with all the Auth session cookies in it.
|
|
385
|
+
*/
|
|
386
|
+
export const deleteConnectorProfile = (options) => (options.client ?? client).delete({
|
|
387
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
388
|
+
url: '/api/connectors/profiles/{profile_id}',
|
|
389
|
+
...options
|
|
390
|
+
});
|
|
391
|
+
/**
|
|
392
|
+
* Get connector profile
|
|
393
|
+
*
|
|
394
|
+
* Fetch one profile.
|
|
395
|
+
*/
|
|
396
|
+
export const getConnectorProfile = (options) => (options.client ?? client).get({
|
|
397
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
398
|
+
url: '/api/connectors/profiles/{profile_id}',
|
|
399
|
+
...options
|
|
400
|
+
});
|
|
401
|
+
/**
|
|
402
|
+
* Patch connector profile
|
|
403
|
+
*
|
|
404
|
+
* Rename a profile.
|
|
405
|
+
*/
|
|
406
|
+
export const patchConnectorProfile = (options) => (options.client ?? client).patch({
|
|
407
|
+
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
408
|
+
url: '/api/connectors/profiles/{profile_id}',
|
|
409
|
+
...options,
|
|
410
|
+
headers: {
|
|
411
|
+
'Content-Type': 'application/json',
|
|
412
|
+
...options.headers
|
|
413
|
+
}
|
|
414
|
+
});
|
|
357
415
|
/**
|
|
358
416
|
* Delete connector
|
|
359
417
|
*
|
|
360
|
-
* Delete
|
|
418
|
+
* Delete one entry of Auth session cookies and the cookies it holds.
|
|
361
419
|
*/
|
|
362
420
|
export const deleteConnector = (options) => (options.client ?? client).delete({
|
|
363
421
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
364
|
-
url: '/api/connectors/{
|
|
422
|
+
url: '/api/connectors/{connector_id}',
|
|
365
423
|
...options
|
|
366
424
|
});
|
|
367
425
|
/**
|
|
368
426
|
* Get connector
|
|
369
427
|
*
|
|
370
|
-
*
|
|
428
|
+
* Get one entry of Auth session cookies, without the cookies.
|
|
371
429
|
*/
|
|
372
430
|
export const getConnector = (options) => (options.client ?? client).get({
|
|
373
431
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
374
|
-
url: '/api/connectors/{
|
|
432
|
+
url: '/api/connectors/{connector_id}',
|
|
375
433
|
...options
|
|
376
434
|
});
|
|
377
435
|
/**
|
|
378
|
-
*
|
|
436
|
+
* Replace connector cookies
|
|
379
437
|
*
|
|
380
|
-
* Replace the cookies of
|
|
438
|
+
* Replace the cookies of one entry of Auth session cookies.
|
|
381
439
|
*/
|
|
382
|
-
export const
|
|
440
|
+
export const replaceConnectorCookies = (options) => (options.client ?? client).put({
|
|
383
441
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|
|
384
|
-
url: '/api/connectors/{
|
|
442
|
+
url: '/api/connectors/{connector_id}',
|
|
385
443
|
...options,
|
|
386
444
|
headers: {
|
|
387
445
|
'Content-Type': 'application/json',
|
|
@@ -809,7 +867,7 @@ export const createDraftScriptVersion = (options) => (options.client ?? client).
|
|
|
809
867
|
/**
|
|
810
868
|
* Delete draft script version
|
|
811
869
|
*
|
|
812
|
-
* Discard a draft version.
|
|
870
|
+
* Discard a draft version. If it is the only version of the script, the script is deleted too.
|
|
813
871
|
*/
|
|
814
872
|
export const deleteDraftScriptVersion = (options) => (options.client ?? client).delete({
|
|
815
873
|
security: [{ scheme: 'bearer', type: 'http' }, { name: 'X-API-Key', type: 'apiKey' }],
|