@shapio/client 0.2.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/LICENSE +201 -0
- package/dist/errors-BXMW0adL.js +149 -0
- package/dist/errors-BXMW0adL.js.map +1 -0
- package/dist/index-BpSg5A3V.d.ts +2768 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1009 -0
- package/dist/index.js.map +1 -0
- package/dist/node.d.ts +23 -0
- package/dist/node.js +62 -0
- package/dist/node.js.map +1 -0
- package/package.json +49 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as AltTextResult, $i as UpdateDeploymentConnectionInput, $n as SetupInput, $r as DefinitionRevision, $t as MoveMediaAssetsResult, A as ADMIN_PATHS, Aa as ContentFilter, Ai as DeploymentRunTrigger, An as CsrfResponse, Ar as ReviewSchemaItem, At as SnapshotChange, B as HEALTH_RULES, Ba as EntryAuthor, Bi as JobSummary, Bn as NETWORK_ACTIONS, Br as SnapshotSource, Bt as MediaAsset, C as AdminApi, Ca as DeliveryList, Ci as DEPLOYMENT_TRIGGERS, Cn as AuditQuery, Cr as FieldDiff, Ct as ShapioClientOptions, D as toContentQueryString, Da as AdminEntry, Di as DeploymentRun, Dn as CreateApiTokenInput, Dr as PutSchemaDraftInput, Dt as ReadyResponse, E as resolveUploadUrl, Ea as DeliveryPagination, Ei as DeploymentProvider, En as ContentAction, Er as NotRestorableReason, Et as HealthResponse, F as ContentHealthFinding, Fa as ContentPagination, Fi as DeploymentTriggerPolicy, Fn as Invitation, Fr as ShipChangeSetInput, Ft as SchemaApplyResult, G as PreflightLocale, Ga as EntryReferrer, Gi as PreviewTarget, Gn as Role, Gr as ChangeOutcome, Gt as MediaFolder, H as ModelPresence, Ha as EntryLocaleState, Hi as OpenPreviewResult, Hn as PasswordResetConfirmInput, Hr as UpdateChangeSetInput, Ht as MediaAssetQuery, I as ContentHealthPage, Ia as ContentSort, Ii as JOB_STATUSES, In as InvitationLink, Ir as ShipPhase, It as SchemaExport, J as PresenceHeartbeatInput, Ja as RevisionSummary, Ji as PublicationAction, Jn as RoleKind, Jr as CreateLocaleInput, Jt as MediaUsagePage, K as PreflightResponse, Ka as EntryStatus, Ki as PreviewToken, Kn as RoleAssignment, Kr as ChangePlan, Kt as MediaStorageDriver, L as ContentHealthQuery, La as CreateEntryInput, Li as Job, Ln as InviteUserInput, Lr as Snapshot, Lt as SchemaSyncResult, M as CheckSeverity, Ma as ContentFilterValue, Mi as DeploymentSecretsInput, Mn as GLOBAL_ACTIONS, Mr as ScheduleChangeSetInput, Mt as SnapshotChangesPage, N as ContentCount, Na as ContentIssue, Ni as DeploymentSettings, Nn as GlobalAction, Nr as SchemaDraft, Nt as SnapshotChangesQuery, O as SITES_PATHS, Oa as AdminEntryListItem, Oi as DeploymentRunQuery, On as CreateRoleInput, Or as ReviewEntryItem, Ot as VersionResponse, P as ContentCounts, Pa as ContentListQuery, Pi as DeploymentTimelineEvent, Pn as InspectInvitationResponse, Pr as SchemaOperation, Pt as SchemaApplyInput, Q as AltTextInput, Qi as ScheduledPublication, Qn as SessionStarted, Qr as DefinitionPayload, Qt as MoveMediaAssetsInput, R as ContentHealthSummary, Ra as EditorManifest, Ri as JobQuery, Rn as LoginInput, Rr as SnapshotPage, Rt as CreateMediaFolderInput, S as DeliveryApi, Sa as DeliveryItem, Si as DEPLOYMENT_RUN_STATUSES, Sn as AuditPage, Sr as FieldConsumers, St as ShapioClient, T as buildUploadForm, Ta as DeliveryMeta, Ti as DeploymentConnectionCreated, Tn as ChangePasswordInput, Tr as NotRestorable, Tt as CheckStatus, U as PreflightCheck, Ua as EntryLocaleStatus, Ui as PUBLICATION_ACTIONS, Un as PasswordResetRequestInput, Ur as Acknowledgement, Ut as MediaAssetStatus, V as HealthRule, Va as EntryData, Vi as OpenPreviewInput, Vn as NetworkAction, Vr as UnassignedEntry, Vt as MediaAssetPage, W as PreflightInput, Wa as EntryLocalesInput, Wi as Page, Wn as PermissionAction, Wr as ActiveDefinition, Wt as MediaFocalPoint, X as AltMissingResult, Xa as RequestFn, Xi as ScheduleQuery, Xn as RoleSummary, Xr as DefinitionDetail, Xt as MediaVariantStatus, Y as PresencePerson, Ya as UpdateEntryInput, Yi as SCHEDULE_STATUSES, Yn as RolePermission, Yr as DefinitionCategory, Yt as MediaVariant, Z as AltProposal, Za as RequestOptions, Zi as ScheduleStatus, Zn as SITE_ACTIONS, Zr as DefinitionListItem, Zt as MediaVisibility, _ as WebhookSignatureCheck, _a as SiteAppRoles, _i as CreateDeploymentConnectionInput, _n as AdminUser, _r as ChangeSetStatus, _t as SummarizeInput, a as AppAuthApi, aa as WebhookEventBody, ai as PlanStepImpact, an as AdminAppUser, ar as AddChangeSetEntryInput, at as CONTENT_OPS_RULES, b as SITE_QUERY_PARAMETER, ba as UpdateSiteInput, bi as CreateWebhookInput, bn as AuditActorType, br as CreateChangeSetInput, bt as ShapioApiError, c as AppOAuthProvider, ca as FieldPrincipalUsage, ci as SchemaChangeStatus, cn as AppRolePermission, cr as ChangeSetActor, ct as ContentOpsRule, d as AppSession, da as ModelFieldUsage, di as SchemaSummaryItem, dn as BUILT_IN_APP_ROLE_KEYS, dr as ChangeSetItem, dt as ContentOpsStatus, ea as UpdateWebhookInput, ei as DeleteLocaleResult, en as ReplaceUploadInput, er as SetupStatusResponse, et as AssistIssue, f as AppUser, fa as PrincipalUsageSummary, fi as SetDefaultLocaleResult, fn as CreateAppRoleInput, fr as ChangeSetItemStatus, ft as ContentOpsWritten, g as WEBHOOK_TOLERANCE_SECONDS, ga as Site, gi as ConnectionTestResult, gn as AdminSession, gr as ChangeSetSource, gt as SchemaDraftResult, h as WEBHOOK_TIMESTAMP_HEADER, ha as SetSiteAppRolesInput, hi as UpdateSchemaSettingsInput, hn as AcceptInvitationInput, hr as ChangeSetSchemaItem, ht as SchemaDraftInput, i as APP_AUTH_PATHS, ia as WebhookDeliveryStatus, ii as PlanStep, in as APP_CONTENT_ACTIONS, ir as UpdateRoleInput, it as AssistUsage, j as CheckParams, ja as ContentFilterOperator, ji as DeploymentSecretState, jn as EmailDelivery, jr as SNAPSHOT_SOURCES, jt as SnapshotChangeKind, k as SITE_HEADER, ka as AdminEntryPage, ki as DeploymentRunStatus, kn as CreatedApiToken, kr as ReviewIssue, kt as CurrentSnapshot, l as AppRegisterInput, la as FieldUsageQuery, li as SchemaSettings, ln as AppUserPage, lr as ChangeSetEntryItem, lt as ContentOpsRun, m as WEBHOOK_SIGNATURE_HEADER, ma as CreateSiteInput, mi as UpdateLocaleInput, mn as UpdateAppUserInput, mr as ChangeSetReview, mt as RewriteInput, n as codeChallengeOf, na as WebhookAttempt, ni as PlanImpact, nn as UpdateMediaFolderInput, nr as UpdateAdminUserInput, nt as AssistStatus, o as AppChangePasswordInput, oa as WebhookEventType, oi as PlanUpdateInput, on as AppContentAction, or as CHANGE_SET_STATUSES, ot as ContentOpsInput, p as WEBHOOK_EVENT_HEADER, pa as UsageSelection, pi as UpdateDefinitionInput, pn as UpdateAppRoleInput, pr as ChangeSetQuery, pt as LocaleMissingResult, q as PreflightRule, qa as RevisionDetail, qi as PreviewTokenCreated, qn as RoleCondition, qr as CreateDefinitionInput, qt as MediaUsage, r as createPkcePair, ra as WebhookDelivery, ri as PlanPreview, rn as UploadGrant, rr as UpdateProfileInput, rt as AssistTextResult, s as AppLoginInput, sa as WebhookWithSecret, si as SchemaChangeJob, sn as AppRole, sr as ChangeSet, st as ContentOpsResult, t as AppPkcePair, ta as Webhook, ti as Locale, tn as UpdateMediaAssetInput, tr as SiteAction, tt as AssistProvider, u as AppRegisterResult, ua as FieldUsageResponse, ui as SchemaSummary, un as AppUserQuery, ur as ChangeSetError, ut as ContentOpsSkip, v as WebhookSignatureInput, va as SiteRef, vi as CreatePreviewTokenInput, vn as AdminUserStatus, vr as ChangeSetSummary, vt as TranslateInput, w as ASSIST_PATHS, wa as DeliveryListQuery, wi as DeploymentConnection, wn as CONTENT_ACTIONS, wr as NOT_RESTORABLE_REASONS, wt as createClient, x as DELIVERY_PATH, xa as DeliveryGetQuery, xi as DEPLOYMENT_PROVIDERS, xn as AuditEvent, xr as FieldConsumer, xt as ShapioErrorBody, y as verifyWebhookSignature, ya as SiteSummary, yi as CreateScheduleInput, yn as ApiToken, yr as ChangeSetTimelineEvent, yt as TranslateResult, z as EntryPresence, za as EditorManifestItem, zi as JobStatus, zn as MeResponse, zr as SnapshotQuery, zt as CreateUploadInput } from "./index-BpSg5A3V.js";
|
|
2
|
+
export { ADMIN_PATHS, APP_AUTH_PATHS, APP_CONTENT_ACTIONS, ASSIST_PATHS, type AcceptInvitationInput, type Acknowledgement, type ActiveDefinition, type AddChangeSetEntryInput, type AdminApi, type AdminAppUser, type AdminEntry, type AdminEntryListItem, type AdminEntryPage, type AdminSession, type AdminUser, type AdminUserStatus, type AltMissingResult, type AltProposal, type AltTextInput, type AltTextResult, type ApiToken, type AppAuthApi, type AppChangePasswordInput, type AppContentAction, type AppLoginInput, type AppOAuthProvider, type AppPkcePair, type AppRegisterInput, type AppRegisterResult, type AppRole, type AppRolePermission, type AppSession, type AppUser, type AppUserPage, type AppUserQuery, type AssistIssue, type AssistProvider, type AssistStatus, type AssistTextResult, type AssistUsage, type AuditActorType, type AuditEvent, type AuditPage, type AuditQuery, BUILT_IN_APP_ROLE_KEYS, CHANGE_SET_STATUSES, CONTENT_ACTIONS, CONTENT_OPS_RULES, type ChangeOutcome, type ChangePasswordInput, type ChangePlan, type ChangeSet, type ChangeSetActor, type ChangeSetEntryItem, type ChangeSetError, type ChangeSetItem, type ChangeSetItemStatus, type ChangeSetQuery, type ChangeSetReview, type ChangeSetSchemaItem, type ChangeSetSource, type ChangeSetStatus, type ChangeSetSummary, type ChangeSetTimelineEvent, type CheckParams, type CheckSeverity, type CheckStatus, type ConnectionTestResult, type ContentAction, type ContentCount, type ContentCounts, type ContentFilter, type ContentFilterOperator, type ContentFilterValue, type ContentHealthFinding, type ContentHealthPage, type ContentHealthQuery, type ContentHealthSummary, type ContentIssue, type ContentListQuery, type ContentOpsInput, type ContentOpsResult, type ContentOpsRule, type ContentOpsRun, type ContentOpsSkip, type ContentOpsStatus, type ContentOpsWritten, type ContentPagination, type ContentSort, type CreateApiTokenInput, type CreateAppRoleInput, type CreateChangeSetInput, type CreateDefinitionInput, type CreateDeploymentConnectionInput, type CreateEntryInput, type CreateLocaleInput, type CreateMediaFolderInput, type CreatePreviewTokenInput, type CreateRoleInput, type CreateScheduleInput, type CreateSiteInput, type CreateUploadInput, type CreateWebhookInput, type CreatedApiToken, type CsrfResponse, type CurrentSnapshot, DELIVERY_PATH, DEPLOYMENT_PROVIDERS, DEPLOYMENT_RUN_STATUSES, DEPLOYMENT_TRIGGERS, type DefinitionCategory, type DefinitionDetail, type DefinitionListItem, type DefinitionPayload, type DefinitionRevision, type DeleteLocaleResult, type DeliveryApi, type DeliveryGetQuery, type DeliveryItem, type DeliveryList, type DeliveryListQuery, type DeliveryMeta, type DeliveryPagination, type DeploymentConnection, type DeploymentConnectionCreated, type DeploymentProvider, type DeploymentRun, type DeploymentRunQuery, type DeploymentRunStatus, type DeploymentRunTrigger, type DeploymentSecretState, type DeploymentSecretsInput, type DeploymentSettings, type DeploymentTimelineEvent, type DeploymentTriggerPolicy, type EditorManifest, type EditorManifestItem, type EmailDelivery, type EntryAuthor, type EntryData, type EntryLocaleState, type EntryLocaleStatus, type EntryLocalesInput, type EntryPresence, type EntryReferrer, type EntryStatus, type FieldConsumer, type FieldConsumers, type FieldDiff, type FieldPrincipalUsage, type FieldUsageQuery, type FieldUsageResponse, GLOBAL_ACTIONS, type GlobalAction, HEALTH_RULES, type HealthResponse, type HealthRule, type InspectInvitationResponse, type Invitation, type InvitationLink, type InviteUserInput, JOB_STATUSES, type Job, type JobQuery, type JobStatus, type JobSummary, type Locale, type LocaleMissingResult, type LoginInput, type MeResponse, type MediaAsset, type MediaAssetPage, type MediaAssetQuery, type MediaAssetStatus, type MediaFocalPoint, type MediaFolder, type MediaStorageDriver, type MediaUsage, type MediaUsagePage, type MediaVariant, type MediaVariantStatus, type MediaVisibility, type ModelFieldUsage, type ModelPresence, type MoveMediaAssetsInput, type MoveMediaAssetsResult, NETWORK_ACTIONS, NOT_RESTORABLE_REASONS, type NetworkAction, type NotRestorable, type NotRestorableReason, type OpenPreviewInput, type OpenPreviewResult, PUBLICATION_ACTIONS, type Page, type PasswordResetConfirmInput, type PasswordResetRequestInput, type PermissionAction, type PlanImpact, type PlanPreview, type PlanStep, type PlanStepImpact, type PlanUpdateInput, type PreflightCheck, type PreflightInput, type PreflightLocale, type PreflightResponse, type PreflightRule, type PresenceHeartbeatInput, type PresencePerson, type PreviewTarget, type PreviewToken, type PreviewTokenCreated, type PrincipalUsageSummary, type PublicationAction, type PutSchemaDraftInput, type ReadyResponse, type ReplaceUploadInput, type RequestFn, type RequestOptions, type ReviewEntryItem, type ReviewIssue, type ReviewSchemaItem, type RevisionDetail, type RevisionSummary, type RewriteInput, type Role, type RoleAssignment, type RoleCondition, type RoleKind, type RolePermission, type RoleSummary, SCHEDULE_STATUSES, SITES_PATHS, SITE_ACTIONS, SITE_HEADER, SITE_QUERY_PARAMETER, SNAPSHOT_SOURCES, type ScheduleChangeSetInput, type ScheduleQuery, type ScheduleStatus, type ScheduledPublication, type SchemaApplyInput, type SchemaApplyResult, type SchemaChangeJob, type SchemaChangeStatus, type SchemaDraft, type SchemaDraftInput, type SchemaDraftResult, type SchemaExport, type SchemaOperation, type SchemaSettings, type SchemaSummary, type SchemaSummaryItem, type SchemaSyncResult, type SessionStarted, type SetDefaultLocaleResult, type SetSiteAppRolesInput, type SetupInput, type SetupStatusResponse, ShapioApiError, type ShapioClient, type ShapioClientOptions, type ShapioErrorBody, type ShipChangeSetInput, type ShipPhase, type Site, type SiteAction, type SiteAppRoles, type SiteRef, type SiteSummary, type Snapshot, type SnapshotChange, type SnapshotChangeKind, type SnapshotChangesPage, type SnapshotChangesQuery, type SnapshotPage, type SnapshotQuery, type SnapshotSource, type SummarizeInput, type TranslateInput, type TranslateResult, type UnassignedEntry, type UpdateAdminUserInput, type UpdateAppRoleInput, type UpdateAppUserInput, type UpdateChangeSetInput, type UpdateDefinitionInput, type UpdateDeploymentConnectionInput, type UpdateEntryInput, type UpdateLocaleInput, type UpdateMediaAssetInput, type UpdateMediaFolderInput, type UpdateProfileInput, type UpdateRoleInput, type UpdateSchemaSettingsInput, type UpdateSiteInput, type UpdateWebhookInput, type UploadGrant, type UsageSelection, type VersionResponse, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, type Webhook, type WebhookAttempt, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookEventBody, type WebhookEventType, type WebhookSignatureCheck, type WebhookSignatureInput, type WebhookWithSecret, buildUploadForm, codeChallengeOf, createClient, createPkcePair, resolveUploadUrl, toContentQueryString, verifyWebhookSignature };
|