@shipstatic/ship 3.4.0-beta.2 → 3.4.0-beta.21

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.cts CHANGED
@@ -724,7 +724,7 @@ type AccountPlanType = (typeof AccountPlan)[keyof typeof AccountPlan];
724
724
  * than the 403 uses.
725
725
  *
726
726
  * All three are counts plans SELL, and every plan publishes a number for each.
727
- * A platform subdomain (`my-app.shipstatic.com`) is among them: the namespace
727
+ * A platform domain (`my-app.shipstatic.com`) is among them: the namespace
728
728
  * is the platform's, so every plan bounds how many names one account may take
729
729
  * from it — which is not the address every deployment gets by construction
730
730
  * (`happy-cat-abc1234.shipstatic.com`), one per deployment and bounded by
@@ -734,8 +734,9 @@ type AccountPlanType = (typeof AccountPlan)[keyof typeof AccountPlan];
734
734
  * "unlimited" — so no consumer needs an "is it bounded?" branch. A cap of `0`
735
735
  * means the plan does not have the feature at all; a cap of `N` bounds
736
736
  * creation, and what an account already holds above a cap stays until a plan
737
- * TRANSITION fits it (excess paused, newest first — a domain is the only kind
738
- * that pauses).
737
+ * TRANSITION fits it: excess domains are paused, newest first, and members
738
+ * are paused together while the account holds more than its cap. Deployments
739
+ * never pause; above their cap they only block creation.
739
740
  *
740
741
  * A count is an aggregate over a collection, so it lives on the summary
741
742
  * resource that owns the collection: `GET /account` for one caller, `GET
@@ -1266,11 +1267,12 @@ interface ErrorResponse {
1266
1267
  /**
1267
1268
  * `details` of an `ErrorType.Build` error: the evidence behind the verdict.
1268
1269
  *
1269
- * The one `details` shape this file names, because it is the one a HUMAN
1270
- * surface renders rather than a machine reads. The sentence in `message`
1271
- * says what went wrong; the log is how the person fixing the project sees
1272
- * where. A surface that builds shows both, the log as a block rather than
1273
- * as prose.
1270
+ * Named, like {@link PlanChangeRefusalDetails}, because a surface reads it:
1271
+ * `ErrorResponse.details` stays `unknown`, and a shape a client narrows to is
1272
+ * owned here rather than restated at its read site. The sentence in
1273
+ * `message` says what went wrong; the log is how the person fixing the
1274
+ * project sees where. A surface that builds shows both, the log as a block
1275
+ * rather than as prose.
1274
1276
  */
1275
1277
  interface BuildFailureDetails {
1276
1278
  /**
@@ -1476,7 +1478,27 @@ interface PlatformLimits {
1476
1478
  * retire with it (tracked in root `backlog.md`).
1477
1479
  */
1478
1480
  readonly blockedExtensions?: readonly string[];
1481
+ /**
1482
+ * The way forward past each limit, in the API's own words, for the account
1483
+ * that asked: `"Upgrade to Pro for more."` where a sold plan allows more,
1484
+ * `"Please contact support if you need more."` where none does. The API
1485
+ * writes it with the same function its own refusals use, so a client that
1486
+ * refuses a file before uploading it appends this sentence to its refusal
1487
+ * verbatim and says exactly what the server would have said. Which plans
1488
+ * exist, which are sold and what an account's grant raises are the server's
1489
+ * to know; a client never learns a plan name from this field, only a
1490
+ * sentence. An anonymous caller is answered the free plan's sentence, as it
1491
+ * is the free plan's numbers.
1492
+ *
1493
+ * **Optional, and the absence is load-bearing**, as `blockedExtensions`
1494
+ * above: an API deployed before this field existed sends nothing, and a
1495
+ * client then appends nothing. It hardens to required at the entity's next
1496
+ * natural break, with the blocklist.
1497
+ */
1498
+ readonly suggestions?: Readonly<Record<PlatformLimitKey, string>>;
1479
1499
  }
1500
+ /** The three request limits, named as `PlatformLimits` names them. */
1501
+ type PlatformLimitKey = 'maxFileSize' | 'maxFilesCount' | 'maxTotalSize';
1480
1502
  /**
1481
1503
  * Whether a file is one the platform refuses to host.
1482
1504
  *
@@ -1824,15 +1846,17 @@ declare const SPA_DEFAULT_CONFIG: {
1824
1846
  * "100KB". `INDEX_FILE` is the selection rule (the file whose content rides
1825
1847
  * `SPACheckRequest.index`), restated by every client that builds the request.
1826
1848
  *
1827
- * Neither member is a validation boundary: a client over the cap simply
1828
- * skips the pre-flight, because the server answers an oversized index
1829
- * `isSPA: false` anyway. A consumer that cannot import this (n8n) needs no
1830
- * size copy at all — outcome parity is the server's, not the client's.
1849
+ * Neither member is a validation boundary: a client over the cap skips the
1850
+ * pre-flight and answers "no" itself, which is the answer the server gives an
1851
+ * oversized index. Every client holds the cap, in bytes: the server's own
1852
+ * route refuses a body over the JSON intake cap, so a client that asked about
1853
+ * any index would fail a deploy whose upload succeeds. The n8n node, which
1854
+ * cannot import this, restates the number under its contract fence.
1831
1855
  */
1832
1856
  declare const SPA_CHECK_CONSTRAINTS: {
1833
1857
  /** The file whose content is the check's subject. */
1834
1858
  readonly INDEX_FILE: "index.html";
1835
- /** Skip the pre-flight above this size — the server would answer false. */
1859
+ /** Skip the pre-flight above this many UTF-8 bytes: the server answers no. */
1836
1860
  readonly MAX_INDEX_BYTES: number;
1837
1861
  };
1838
1862
  /**
@@ -1957,28 +1981,19 @@ interface SPACheckRequest {
1957
1981
  index: string;
1958
1982
  }
1959
1983
  /**
1960
- * Response from SPA check endpoint
1961
- */
1962
- /**
1963
- * Which of the classifier's tiers reached the verdict, and why. Named rather
1964
- * than inline so the API's own `checkSPA` can return `SPACheckResponse`
1965
- * instead of restating its shape.
1966
- */
1967
- interface SPACheckDebug {
1968
- /** Which tier made the detection */
1969
- tier: 'exclusions' | 'inclusions' | 'scoring' | 'ai' | 'fallback';
1970
- /** The reason for the detection result */
1971
- reason: string;
1972
- }
1973
- /**
1974
- * A report: it answers a question and carries only the answer (`CLAUDE.md`,
1975
- * "A report answers a question").
1984
+ * The `/spa-check` answer: whether the upload is a single-page app, and the
1985
+ * one sentence saying why it was or was not detected.
1986
+ *
1987
+ * `reason` is there so anyone can ask the open route about an upload and
1988
+ * read the answer. It is human-readable text under the message authoring law:
1989
+ * clients branch on `isSPA`, never on the sentence, so its wording is not a
1990
+ * contract.
1976
1991
  */
1977
1992
  interface SPACheckResponse {
1978
- /** Whether the project is detected as a Single Page Application */
1993
+ /** Whether the upload is detected as a single-page app */
1979
1994
  isSPA: boolean;
1980
- /** Debugging information about detection */
1981
- debug: SPACheckDebug;
1995
+ /** Why it was or was not detected, for a person to read */
1996
+ reason: string;
1982
1997
  }
1983
1998
  /**
1984
1999
  * Represents a file that has been processed and is ready for deploy.
@@ -2014,10 +2029,12 @@ interface StaticFile {
2014
2029
  * console: under `/<account>/` and at the root.
2015
2030
  *
2016
2031
  * `owner` marks a section that means the person's OWN account: a bare path
2017
- * into it opens the person's own account rather than the one entered last,
2018
- * since a pricing link's `/upgrade/pro` and the published API-key link speak
2019
- * about the reader's plan and key. Modals inside a section carry their own
2020
- * owner rule in the console; this flag is the section's alone.
2032
+ * into it opens the person's own account rather than the one entered last.
2033
+ * A pricing link's `/upgrade/pro` and the published API-key link speak about
2034
+ * the reader's plan and key, and `/success` is where a purchase lands: only
2035
+ * an owner buys, and a person owns exactly one account. Modals inside a
2036
+ * section carry their own owner rule in the console; this flag is the
2037
+ * section's alone.
2021
2038
  */
2022
2039
  declare const SECTIONS: {
2023
2040
  readonly new: {
@@ -2036,7 +2053,7 @@ declare const SECTIONS: {
2036
2053
  readonly owner: true;
2037
2054
  };
2038
2055
  readonly success: {
2039
- readonly owner: false;
2056
+ readonly owner: true;
2040
2057
  };
2041
2058
  readonly 'api-key': {
2042
2059
  readonly owner: true;
@@ -2484,11 +2501,29 @@ interface PlansResponse {
2484
2501
  * consent), and a billed account moving down gets a Stripe Subscription
2485
2502
  * Schedule that applies the change at period end. The answer says which
2486
2503
  * happened ({@link PlanChangeResponse}).
2504
+ *
2505
+ * A move down a tier is booked only by an account that fits it: until it
2506
+ * does, the door refuses (400) with a sentence naming what to remove, and
2507
+ * the same counts as {@link PlanChangeRefusalDetails}.
2487
2508
  */
2488
2509
  interface PlanChangeRequest {
2489
2510
  readonly plan: AccountPlanType;
2490
2511
  readonly interval: BillingInterval;
2491
2512
  }
2513
+ /**
2514
+ * `details` of the change door's refusal of a move down a tier the account
2515
+ * does not fit: the account holds more members, custom domains or platform
2516
+ * domains than the destination allows.
2517
+ *
2518
+ * `excess` counts what to REMOVE before asking again, per kind, keyed like
2519
+ * {@link Caps}; only the kinds over the destination's caps appear. The
2520
+ * door's `message` names the same counts in a sentence, and that sentence is
2521
+ * what a surface shows; the counts are for a client that acts on the
2522
+ * refusal.
2523
+ */
2524
+ interface PlanChangeRefusalDetails {
2525
+ readonly excess: Partial<Caps>;
2526
+ }
2492
2527
  /**
2493
2528
  * The pending plan change — a Stripe Subscription Schedule, mirrored onto the
2494
2529
  * account. `at` is when it applies (the current period's end, Unix seconds).
@@ -2755,7 +2790,7 @@ interface UploadedFile {
2755
2790
  */
2756
2791
  declare function isPlatformDomain(domain: string, platformDomain: string): boolean;
2757
2792
  /**
2758
- * Check if a domain is a custom domain (not a platform subdomain).
2793
+ * Check if a domain is a custom domain (not a platform domain).
2759
2794
  * Custom domains are billable and require DNS verification.
2760
2795
  *
2761
2796
  * @example isCustomDomain("example.com", "shipstatic.com") → true
@@ -2901,8 +2936,11 @@ declare function validatePassword(value: unknown): string | undefined;
2901
2936
  interface DeploymentOptions extends DeploymentUploadOptions {
2902
2937
  /**
2903
2938
  * An AbortSignal to allow cancellation of the deploy operation. The one
2904
- * cancellation mechanism — abort the signal and the request rejects with
2905
- * a typed `Cancelled` error. Request timeouts are a client concern
2939
+ * cancellation mechanism: it reaches every request the deploy makes (the
2940
+ * limits it validates against, the SPA question and the upload itself),
2941
+ * and aborting it rejects the deploy with a typed `Cancelled` error
2942
+ * wherever it stands. A deploy the server had already committed stays
2943
+ * committed. Request timeouts are a client concern
2906
2944
  * (`ShipClientOptions.timeout`), not a per-deploy one.
2907
2945
  */
2908
2946
  signal?: AbortSignal;
@@ -3391,9 +3429,12 @@ declare abstract class Ship$1 {
3391
3429
  /**
3392
3430
  * Get the platform limits the server states now (max file size, file count,
3393
3431
  * total size, and the blocked extensions). Asked every time and never held,
3394
- * since a plan move or an operator's grant changes them.
3432
+ * since a plan move or an operator's grant changes them. A `signal` aborts
3433
+ * the request, rejecting with the typed `Cancelled` error.
3395
3434
  */
3396
- getLimits(): Promise<PlatformLimits>;
3435
+ getLimits(options?: {
3436
+ signal?: AbortSignal;
3437
+ }): Promise<PlatformLimits>;
3397
3438
  on<K extends keyof ShipEvents>(event: K, handler: (...args: ShipEvents[K]) => void): void;
3398
3439
  off<K extends keyof ShipEvents>(event: K, handler: (...args: ShipEvents[K]) => void): void;
3399
3440
  /**
@@ -3500,6 +3541,9 @@ declare function getENV(): ExecutionEnvironment;
3500
3541
  * Everything else is allowed — browser percent-encodes, Worker decodes, R2 matches.
3501
3542
  *
3502
3543
  * Additional checks: path traversal, reserved names, leading/trailing dots or spaces.
3544
+ *
3545
+ * The reason is a complete sentence naming the file, so every surface shows it
3546
+ * as it is (`file-rules.ts` on why).
3503
3547
  */
3504
3548
  declare function validateFileName(filename: string): {
3505
3549
  valid: boolean;
@@ -3628,35 +3672,40 @@ declare function calculateMD5(input: Blob | Buffer | string): Promise<MD5Result>
3628
3672
  * @file One ordered table of deploy-file rules, and the single evaluation two
3629
3673
  * renderers share.
3630
3674
  *
3631
- * **The defect this closes:** one rule was rendering as three sentences. A
3632
- * file over the size cap said `File x is too large. Maximum allowed size is
3633
- * 20MB.` from the deploy pipelines, `File size (21 MB) exceeds limit of 20 MB`
3634
- * from `validateFiles`, and `File too large. Maximum 20971520 bytes allowed`
3635
- * from the API — against the dual-validation doctrine that an error reads the
3636
- * same wherever it was caught (root `CLAUDE.md`). Both pipelines also restated
3637
- * the whole ordered check, so node/browser parity was a comment.
3638
- *
3639
3675
  * **A rule states a predicate and a sentence; a renderer chooses only how to
3640
3676
  * DELIVER it.** That is the `SHAPES`-table move (`cli/formatters.ts`) applied
3641
3677
  * to validation: the throwing renderer raises the first broken rule, the
3642
3678
  * collecting renderer records it, and neither authors prose. Adding a rule is
3643
- * a row, and both surfaces get it in the same position by construction.
3644
- *
3645
- * **Wording follows the API where a choice existed**, so the deferred Phase B
3646
- * — promoting this table to `@shipstatic/types` with the API consuming it —
3647
- * has less to move. Two deliberate deviations, recorded rather than silent:
3648
- *
3649
- * - **Sizes are formatted, not raw bytes.** The API says `20971520 bytes`;
3650
- * a browser upload UI showing that is worse for the person reading it, and
3651
- * the unit is the smaller half of the sentence to reconcile later.
3652
- * - **The path is named.** The API has no path to name; the throwing renderer
3653
- * has nothing BUT the message, so dropping it would leave a CLI user asking
3654
- * which file.
3679
+ * a row, and both surfaces get it in the same position by construction. One
3680
+ * table is also what keeps a rule from reading three ways: the deploy
3681
+ * pipelines, `validateFiles` and the API once each worded the size cap
3682
+ * differently, against the dual-validation doctrine that an error reads the
3683
+ * same wherever it is caught (root `CLAUDE.md`).
3684
+ *
3685
+ * **Every sentence is complete on its own.** The SDK is where a refusal is
3686
+ * worded; drop, the console, the CLI and the MCPs show the sentence verbatim
3687
+ * and add nothing, so a sentence names its file exactly once and states the
3688
+ * limit, and reads without a prefix. The family is subject first: `File
3689
+ * "<path>" <verdict>. Maximum <limit> allowed.`, and `File name "<path>" …`
3690
+ * where the name is the subject. The two rules about the SET, the count and
3691
+ * the total, name no path. A limit's sentence ends with the suggestion the
3692
+ * API delivered for it (`withSuggestion`), so the whole reads `File "x" is
3693
+ * too large. Maximum 20 MB allowed. Upgrade to Pro for more.`
3694
+ *
3695
+ * **The API words the same rules the same way, in the same order**
3696
+ * (`cloudflare/api/src/lib/validation.ts`), so a refusal reads alike whether
3697
+ * the SDK made it before uploading or the boundary made it after. Sizes are
3698
+ * formatted on both sides, and the path is named on both. That is a
3699
+ * restatement, and it is fenced from the API's side: a test there imports
3700
+ * this package's `validateFiles` and compares every shared rule's sentence to
3701
+ * `validateUpload`'s. The fence dies the day the table is promoted to
3702
+ * `@shipstatic/types` and the API imports it (Phase B, `CLAUDE.md`).
3655
3703
  *
3656
3704
  * Out of scope, and left where they are: `validateDeployPath` (a rule about
3657
3705
  * the deploy PATH rather than the file, and pipelines-only), and
3658
- * `validateFiles`' UI-tier pre-checks — empty, negative, count, unbuilt
3659
- * marker, processing error — which have one holder each and no drift.
3706
+ * `validateFiles`' UI-tier pre-checks (empty, negative, unbuilt marker,
3707
+ * processing error), which have one holder each and no drift, and word their
3708
+ * sentences by the same family.
3660
3709
  */
3661
3710
 
3662
3711
  /** What a rule is asked about: one file, and the deploy so far. */
@@ -3708,6 +3757,15 @@ declare function validateDeployPath(deployPath: string, sourceIdentifier: string
3708
3757
  * @throws {ShipError} The first broken rule's sentence
3709
3758
  */
3710
3759
  declare function validateDeployFile(input: FileRuleInput, limits: PlatformLimits): void;
3760
+ /**
3761
+ * The throwing renderer of `COUNT_RULE`: the deploy's file count, judged over
3762
+ * the files the pipeline will send.
3763
+ *
3764
+ * @param count - How many files the deploy carries
3765
+ * @param limits - The platform's limits, from `/limits`
3766
+ * @throws {ShipError} The count rule's sentence
3767
+ */
3768
+ declare function validateDeployCount(count: number, limits: PlatformLimits): void;
3711
3769
 
3712
3770
  /**
3713
3771
  * Utility functions for string manipulation.
@@ -3797,6 +3855,6 @@ declare class Ship extends Ship$1 {
3797
3855
  }
3798
3856
 
3799
3857
  declare namespace Ship {
3800
- export { ACCOUNT_HEADER, API_KEY, API_PATHS, AUTH_BASE_PATH, Account, AccountAccess, AccountDeleteResponse, AccountKeyResponse, AccountPlan, AccountPlanType, AccountRefusal, AccountRefusalType, AccountResource, AccountRole, Activity, ActivityEvent, ActivityListResponse, ActivityMeta, ApiDeployOptions, ApiHttp, ApiHttpOptions, AuthMethod, AuthMethodType, BUILD_SETTINGS, BillingInterval, BillingPortalSession, BillingSyncResponse, BuildFailureDetails, CALLER, Caps, ConsoleErrand, ConsolePaths, ConsoleSection, DEFAULT_API, DEPLOYMENT_CONFIG_FILENAME, DEPLOY_FIELDS, DEPLOY_FILE_GRAMMAR, DEPLOY_TOKEN, DeployBodyContext, DeployFile, DeployFileEncoding, DeployFileSpec, DeployInput, DeployTransport, Deployment, DeploymentCreateResponse, DeploymentDeleteResponse, DeploymentListResponse, DeploymentOptions, DeploymentResource, DeploymentResourceContext, DeploymentSetOptions, DeploymentStatus, DeploymentStatusType, DeploymentUploadOptions, DeploymentVia, DeploymentViaType, DnsLookup, DnsProvider, DnsRecord, DnsRecordType, Domain, DomainDeleteResponse, DomainDnsResponse, DomainListResponse, DomainRecordsResponse, DomainResource, DomainSetOptions, DomainSetResult, DomainShareResponse, DomainStatus, DomainStatusType, DomainValidateResponse, DomainVerification, DomainVerificationType, DomainVerifyResponse, ErrorResponse, ErrorType, ExecutionEnvironment, FileValidationStatus as FILE_VALIDATION_STATUS, Fetch, FileValidationResult, FileValidationStatus, FileValidationStatusType, IDEMPOTENCY_KEY_CONSTRAINTS, JUNK_DIRECTORIES, LABEL_CONSTRAINTS, LABEL_PATTERN, LabelsResponse, ListOptions, ListResponse, MD5Result, MY_API_KEY_URL, OAUTH_TOKEN, OAuthScope, OAuthScopeType, PASSWORD_CONSTRAINTS, PUBLIC_DEPLOYMENT_TTL_SECONDS, PingResponse, Plan, PlanChangeRequest, PlanChangeResponse, PlanDestination, PlansResponse, PlatformLimits, RequestResult, ResourceContext, SECTIONS, SETUP_TROUBLESHOOTING_ANCHOR, SHIP_ENV, SHIP_VIA_ENV, SIGN_IN_RETURN_PARAM, SPACheckDebug, SPACheckRequest, SPACheckResponse, SPA_CHECK_CONSTRAINTS, SPA_DEFAULT_CONFIG, ScheduledChange, SettingsFragment, SetupInstructionsResponse, ShipClientOptions, ShipError, ShipEvents, ShipRequestInit, StaticFile, TTL_CONSTRAINTS, Token, TokenCreateOptions, TokenCreateResponse, TokenDeleteResponse, TokenKind, TokenKindType, TokenListResponse, TokenProvider, TokenResource, Transport, UNBUILT_PROJECT_MARKERS, UNSAFE_FILENAME_CHARS, USER_VISIBLE_EVENTS, UploadedFile, UserVisibleActivityEvent, ValidatableFile, ValidationIssue, WEB_FILE_ACCEPT, __setTestEnvironment, accountOfPath, allValidFilesReady, assertShipJsonSyntax, billingReturnOf, calculateMD5, classifyToken, consolePaths, createAccountResource, createDeploymentResource, createDomainResource, createTokenResource, deserializeLabels, doors, errandOf, extractSubdomain, filterJunk, formatDuration, formatFileSize, formatTimeRemaining, generateDeploymentUrl, generateDomainUrl, getENV, getValidFiles, hasUnbuiltMarker, hasUnsafeChars, isBlockedExtension, isClaimPath, isCustomDomain, isDeployment, isInvitationPath, isPlatformDomain, isShipError, isUpgradePath, normalizeVia, optimizeDeployPaths, personName, personShortName, pluralize, processFilesForNode, readBearerValue, serializeLabels, validateApiKey, validateApiUrl, validateBuildCommand, validateCaller, validateDeployFile, validateDeployPath, validateDeployToken, validateFileName, validateFiles, validateIdempotencyKey, validateOAuthToken, validateOutputDir, validatePassword, validateToken, validateTtl };
3858
+ export { ACCOUNT_HEADER, API_KEY, API_PATHS, AUTH_BASE_PATH, Account, AccountAccess, AccountDeleteResponse, AccountKeyResponse, AccountPlan, AccountPlanType, AccountRefusal, AccountRefusalType, AccountResource, AccountRole, Activity, ActivityEvent, ActivityListResponse, ActivityMeta, ApiDeployOptions, ApiHttp, ApiHttpOptions, AuthMethod, AuthMethodType, BUILD_SETTINGS, BillingInterval, BillingPortalSession, BillingSyncResponse, BuildFailureDetails, CALLER, Caps, ConsoleErrand, ConsolePaths, ConsoleSection, DEFAULT_API, DEPLOYMENT_CONFIG_FILENAME, DEPLOY_FIELDS, DEPLOY_FILE_GRAMMAR, DEPLOY_TOKEN, DeployBodyContext, DeployFile, DeployFileEncoding, DeployFileSpec, DeployInput, DeployTransport, Deployment, DeploymentCreateResponse, DeploymentDeleteResponse, DeploymentListResponse, DeploymentOptions, DeploymentResource, DeploymentResourceContext, DeploymentSetOptions, DeploymentStatus, DeploymentStatusType, DeploymentUploadOptions, DeploymentVia, DeploymentViaType, DnsLookup, DnsProvider, DnsRecord, DnsRecordType, Domain, DomainDeleteResponse, DomainDnsResponse, DomainListResponse, DomainRecordsResponse, DomainResource, DomainSetOptions, DomainSetResult, DomainShareResponse, DomainStatus, DomainStatusType, DomainValidateResponse, DomainVerification, DomainVerificationType, DomainVerifyResponse, ErrorResponse, ErrorType, ExecutionEnvironment, FileValidationStatus as FILE_VALIDATION_STATUS, Fetch, FileValidationResult, FileValidationStatus, FileValidationStatusType, IDEMPOTENCY_KEY_CONSTRAINTS, JUNK_DIRECTORIES, LABEL_CONSTRAINTS, LABEL_PATTERN, LabelsResponse, ListOptions, ListResponse, MD5Result, MY_API_KEY_URL, OAUTH_TOKEN, OAuthScope, OAuthScopeType, PASSWORD_CONSTRAINTS, PUBLIC_DEPLOYMENT_TTL_SECONDS, PingResponse, Plan, PlanChangeRefusalDetails, PlanChangeRequest, PlanChangeResponse, PlanDestination, PlansResponse, PlatformLimitKey, PlatformLimits, RequestResult, ResourceContext, SECTIONS, SETUP_TROUBLESHOOTING_ANCHOR, SHIP_ENV, SHIP_VIA_ENV, SIGN_IN_RETURN_PARAM, SPACheckRequest, SPACheckResponse, SPA_CHECK_CONSTRAINTS, SPA_DEFAULT_CONFIG, ScheduledChange, SettingsFragment, SetupInstructionsResponse, ShipClientOptions, ShipError, ShipEvents, ShipRequestInit, StaticFile, TTL_CONSTRAINTS, Token, TokenCreateOptions, TokenCreateResponse, TokenDeleteResponse, TokenKind, TokenKindType, TokenListResponse, TokenProvider, TokenResource, Transport, UNBUILT_PROJECT_MARKERS, UNSAFE_FILENAME_CHARS, USER_VISIBLE_EVENTS, UploadedFile, UserVisibleActivityEvent, ValidatableFile, ValidationIssue, WEB_FILE_ACCEPT, __setTestEnvironment, accountOfPath, allValidFilesReady, assertShipJsonSyntax, billingReturnOf, calculateMD5, classifyToken, consolePaths, createAccountResource, createDeploymentResource, createDomainResource, createTokenResource, deserializeLabels, doors, errandOf, extractSubdomain, filterJunk, formatDuration, formatFileSize, formatTimeRemaining, generateDeploymentUrl, generateDomainUrl, getENV, getValidFiles, hasUnbuiltMarker, hasUnsafeChars, isBlockedExtension, isClaimPath, isCustomDomain, isDeployment, isInvitationPath, isPlatformDomain, isShipError, isUpgradePath, normalizeVia, optimizeDeployPaths, personName, personShortName, pluralize, processFilesForNode, readBearerValue, serializeLabels, validateApiKey, validateApiUrl, validateBuildCommand, validateCaller, validateDeployCount, validateDeployFile, validateDeployPath, validateDeployToken, validateFileName, validateFiles, validateIdempotencyKey, validateOAuthToken, validateOutputDir, validatePassword, validateToken, validateTtl };
3801
3859
  }
3802
3860
  export = Ship;