@zinn-digital/sdk 0.1.1589 → 0.1.1590
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.
|
@@ -38338,6 +38338,8 @@ export interface paths {
|
|
|
38338
38338
|
* ⛔ Not idempotent, and it does not pretend to be — a retry is refused by the hostname uniqueness constraint, which is a clean conflict rather than a second site.
|
|
38339
38339
|
*
|
|
38340
38340
|
* Requires **both** `sites.create` and `hosting.import.manage`: it spends a site slot *and* connects to a third party's production server, and a principal holding one of those powers must not acquire the other by coming through this door.
|
|
38341
|
+
*
|
|
38342
|
+
* ⚖️ **A full plan does not refuse a migration** (row 1107#13, owner 2026-11-07: *"better that than refusing the migration in"*). With no free site slot the site is still created and migrated, then **frozen** (served, but read-only, no cron, no mail) with the `site_slots_frozen` notice; an upgrade or a deleted site unfreezes it within about ten minutes. The oldest such sites get any free room first. The slot refusal stands only past the hard cap of `max(10 × the plan's sites, sites + 9)`, and an organization with no plan on the line is still refused.
|
|
38341
38343
|
*/
|
|
38342
38344
|
post: operations["createMigrationWithSite"];
|
|
38343
38345
|
delete?: never;
|
|
@@ -40776,7 +40778,7 @@ export interface paths {
|
|
|
40776
40778
|
*
|
|
40777
40779
|
* **The site.** It is created in the customer's organization on the plan named by `subscription_id`, on `domain`, with `app` (a key from `getPartnerCapabilities` `site_moves.plans[].apps`). Or pass `replace_site_id` — one of `listPartnerHostingSlots` `replaceable_sites` — to import into that empty site and move it onto `domain` instead of taking a new slot. `domain` may be the replaced site's own name (an `empty_starter` is built on the customer's real domain); that is not `domain_in_use`. A replaced `empty_starter` that has content on it when the move starts fails with `replace_site_not_empty`, and nothing on it is touched. The domain's DNS is never touched: it keeps pointing where it points until you repoint it, and it may stay in your (or your customer's) Cloudflare for good. A subdomain whose apex is somebody else's live site is fine.
|
|
40778
40780
|
*
|
|
40779
|
-
* **Refusals** (`422`, `details[0].code`): `no_free_slot`, `subscription_not_found`, `app_not_supported_by_plan`, `plan_cannot_import`, `domain_invalid`, `domain_in_use`, `archive_url_invalid`, `archive_checksum_invalid`, `replace_site_not_replaceable`, `move_already_running`, `idempotency_key_required`, `moves_not_open`, `no_capacity`, `dns_invalid`, `not_linked`. There is **no size limit** (D28455): room is made for a large archive, and the move is slower, never refused.
|
|
40781
|
+
* **Refusals** (`422`, `details[0].code`): `no_free_slot`, `subscription_not_found`, `app_not_supported_by_plan`, `plan_cannot_import`, `domain_invalid`, `domain_in_use`, `archive_url_invalid`, `archive_checksum_invalid`, `replace_site_not_replaceable`, `move_already_running`, `idempotency_key_required`, `moves_not_open`, `no_capacity`, `dns_invalid`, `not_linked`. There is **no size limit** (D28455): room is made for a large archive, and the move is slower, never refused. ⚖️ **A full plan does not refuse a move** (row 1107#13, owner 2026-11-07): the site lands past the plan's site limit and is **frozen** (served, but read-only, no cron, no mail) until the customer upgrades or frees a slot, when it unfreezes by itself within about ten minutes (the quota sweep). `no_free_slot` is returned only past the hard cap of `max(10 × the plan's sites, sites + 9)`.
|
|
40780
40782
|
*
|
|
40781
40783
|
* **DNS (contract v2).** `dns` says where the zone is held and who changes it: with `auto_switch: true` YOU repoint the record when the move reaches `step: ready_to_switch` (then call go-live); otherwise the customer is shown and e-mailed the exact records, the change is detected automatically, and the move goes live on its own. A retry with the same `Idempotency-Key` returns the same move. Requires `partner.domains`.
|
|
40782
40784
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1590",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|