@zinn-digital/sdk 0.1.1567 → 0.1.1570
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/schema.d.ts +261 -3
- package/package.json +1 -1
|
@@ -13951,6 +13951,33 @@ export interface paths {
|
|
|
13951
13951
|
patch?: never;
|
|
13952
13952
|
trace?: never;
|
|
13953
13953
|
};
|
|
13954
|
+
"/v1/admin/sites/{siteId}/application-reinstall": {
|
|
13955
|
+
parameters: {
|
|
13956
|
+
query?: never;
|
|
13957
|
+
header?: never;
|
|
13958
|
+
path: {
|
|
13959
|
+
/** @description Site ID (UUIDv7). */
|
|
13960
|
+
siteId: components["parameters"]["SiteId"];
|
|
13961
|
+
};
|
|
13962
|
+
cookie?: never;
|
|
13963
|
+
};
|
|
13964
|
+
/**
|
|
13965
|
+
* Staff view of a site's application reinstall surface, with backup paths.
|
|
13966
|
+
* @description **Staff only** (`sites.restart`). The customer's `getSiteApplicationReinstall` plus the backup paths on the server and the failing step's message.
|
|
13967
|
+
*/
|
|
13968
|
+
get: operations["adminGetSiteApplicationReinstall"];
|
|
13969
|
+
put?: never;
|
|
13970
|
+
/**
|
|
13971
|
+
* Staff reinstall of a site's PHP application, after backing it up.
|
|
13972
|
+
* @description **Staff only** (`sites.restart`), audit-logged with the stated `reason` on a staff-only row. Exactly the customer's `startSiteApplicationReinstall` otherwise: the same typed domain, the same backups, the same workflow.
|
|
13973
|
+
*/
|
|
13974
|
+
post: operations["adminStartSiteApplicationReinstall"];
|
|
13975
|
+
delete?: never;
|
|
13976
|
+
options?: never;
|
|
13977
|
+
head?: never;
|
|
13978
|
+
patch?: never;
|
|
13979
|
+
trace?: never;
|
|
13980
|
+
};
|
|
13954
13981
|
"/v1/admin/sites/{siteId}/cdn/rotate": {
|
|
13955
13982
|
parameters: {
|
|
13956
13983
|
query?: never;
|
|
@@ -39230,6 +39257,8 @@ export interface paths {
|
|
|
39230
39257
|
/**
|
|
39231
39258
|
* Open a PayPal order for the browser to complete.
|
|
39232
39259
|
* @description Returns the PayPal order id the JS SDK attaches to. The order carries no `payment_source`, so it is open to **either** rail — the PayPal wallet via Buttons, or a card entered into PayPal's hosted Advanced card fields — and the buyer's choice in the browser decides which. Idempotent per Zinn® order: reloading the checkout page returns the same PayPal order rather than opening a second one.
|
|
39260
|
+
*
|
|
39261
|
+
* When the order lets account credit pay first (`use_credit`, row 1106#49) the PayPal order is opened for the total **less** that credit; the credit is debited just before capture and given back if the capture is declined or the approval abandoned.
|
|
39233
39262
|
*/
|
|
39234
39263
|
post: operations["openPayPalOrder"];
|
|
39235
39264
|
delete?: never;
|
|
@@ -48439,7 +48468,7 @@ export interface paths {
|
|
|
48439
48468
|
};
|
|
48440
48469
|
/**
|
|
48441
48470
|
* Read a site's automatic app updates add-on and its window.
|
|
48442
|
-
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `strapi_auto_updates`, `payload_auto_updates` or `
|
|
48471
|
+
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `strapi_auto_updates`, `payload_auto_updates`, `dolibarr_auto_updates` or `silverstripe_auto_updates`, USD 29 a year per site; `nextcloud_auto_updates`, `owncloud_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates` or `oscommerce_auto_updates`, USD 50 a year per site; s1014 row 41): whether it is on sale and on, its price in the caller's currency, the renewal, the quiet window and the last run. Each run takes a safety backup first and rolls back to it when the homepage breaks. WordPress: core, plugins and themes (a held plugin version is never applied). Joomla!: the core only, through Joomla's own console; extensions and templates are not updated. Nextcloud: the server through its own updater, then every app with an update. Drupal: the core only (the newest release of the installed major version, then its database updates); contributed modules and themes are not updated. MediaWiki: the newest stable release with its bundled extensions and skins, then its own update script; extensions the customer added are not updated. phpBB: the newest release of the installed branch with its bundled style, language and extension, then its own `db:migrate`; styles, language packs and extensions the customer added are not updated. ownCloud: the newest release of the installed major version (the complete build, with its bundled apps), then its own `occ upgrade`; apps from the ownCloud marketplace are not updated. PrestaShop: the newest stable release of the installed major version through PrestaShop's own Update Assistant (files, database and native modules); modules the customer added are kept, never uninstalled, and are not updated. Magento: the newest security patch of the installed 2.x.y line (the source release's code, its Composer lock and `setup:upgrade`); modules and themes the customer added are kept and not updated, and a store that added Composer packages is refused with nothing changed. Strapi and Payload: the newest release of the installed major from npm (every package of the app's own family on the core's version moves together), then the app's own build (`strapi build`; for Payload a schema migration when the release needs one, `payload migrate` and `next build`) and a process restart; other npm packages the customer added are kept and not updated. osCommerce: the vendor's newest osCommerce 4 build (its code over the store's, then its own database migrations and cache rebuild); the store's configuration, images and uploads are kept, and extensions and themes the customer added are kept and not updated. Dolibarr: the newest release of the installed major version (the tag's `htdocs`), then its own CLI upgrade (`install/upgrade.php`, `upgrade2.php`, `step5.php`) until the database records the new version; modules the customer added in `custom/` are kept and not updated. Buy it through `purchaseExtra` with `site_id`. Requires Silverstripe CMS: Composer moves the site to the newest release of the installed major (the newest `silverstripe/installer` constraints for the packages the site already requires), then its own `sake db:build --flush`; packages the customer added move only within their own constraints. `sites.view`.
|
|
48443
48472
|
*/
|
|
48444
48473
|
get: operations["getSiteAppAutoUpdate"];
|
|
48445
48474
|
/**
|
|
@@ -48644,6 +48673,37 @@ export interface paths {
|
|
|
48644
48673
|
patch?: never;
|
|
48645
48674
|
trace?: never;
|
|
48646
48675
|
};
|
|
48676
|
+
"/v1/sites/{siteId}/application-reinstall": {
|
|
48677
|
+
parameters: {
|
|
48678
|
+
query?: never;
|
|
48679
|
+
header?: never;
|
|
48680
|
+
path: {
|
|
48681
|
+
/** @description Site ID (UUIDv7). */
|
|
48682
|
+
siteId: components["parameters"]["SiteId"];
|
|
48683
|
+
};
|
|
48684
|
+
cookie?: never;
|
|
48685
|
+
};
|
|
48686
|
+
/**
|
|
48687
|
+
* Whether this site's PHP application can be reinstalled, and the latest run.
|
|
48688
|
+
* @description MOODLEOPS-r26 (docs/557 §11). The card's one read: which modes are offered (`keep_database` only where the application can reconnect new files to its existing tables) and the latest reinstall with its outcome. Requires `sites.view`. `503` when the workflow engine cannot be asked — "could not ask" never reads as "never ran".
|
|
48689
|
+
*/
|
|
48690
|
+
get: operations["getSiteApplicationReinstall"];
|
|
48691
|
+
put?: never;
|
|
48692
|
+
/**
|
|
48693
|
+
* Reinstall an active site's PHP application, after backing it up.
|
|
48694
|
+
* @description Rebuilds an `active` PHP application site (any application, not only Moodle) — the door for a site whose files are gone, which `retrySiteProvisioning` (failed or pending sites only) cannot reach. The site's domain must be typed in `confirm_domain`.
|
|
48695
|
+
*
|
|
48696
|
+
* **The database and the files are ALWAYS backed up first** into a root-only store on the server, read back (every table in the dump, the archive passes `gzip -t`), and only then cleared. `keep_database` lays down fresh files and reconnects them to the existing tables; `fresh` also clears the application's data directory and tables and installs from nothing. The request is queued through the transactional outbox and a consumer starts the Temporal workflow (one per site, so a press while one is running is absorbed by it): a workflow-engine outage delays a reinstall and never fails this request. The moment it is queued this answers `202`; follow it on the `GET`. With `keep_database` Moodle's own non-interactive upgrade then brings the kept database up to the new release. Audit-logged (`site.application.reinstall_requested`, then `site.application.reinstalled` or `site.application.reinstall_failed`). Requires `sites.view` and `hosting.deploy.manage`.
|
|
48697
|
+
*
|
|
48698
|
+
* `422` with a refusal key: `refusal.sites.reinstallConfirmMismatch`, `reinstallNotActive`, `reinstallNotPhpApp`, `reinstallNoApplication`, `reinstallNotOnFleet`, `reinstallKeepDatabaseUnsupported`, `reinstallBadMode`.
|
|
48699
|
+
*/
|
|
48700
|
+
post: operations["startSiteApplicationReinstall"];
|
|
48701
|
+
delete?: never;
|
|
48702
|
+
options?: never;
|
|
48703
|
+
head?: never;
|
|
48704
|
+
patch?: never;
|
|
48705
|
+
trace?: never;
|
|
48706
|
+
};
|
|
48647
48707
|
"/v1/sites/{siteId}/backups": {
|
|
48648
48708
|
parameters: {
|
|
48649
48709
|
query?: never;
|
|
@@ -77227,6 +77287,8 @@ export interface components {
|
|
|
77227
77287
|
registry_data?: {
|
|
77228
77288
|
[key: string]: components["schemas"]["RegistryData"];
|
|
77229
77289
|
};
|
|
77290
|
+
/** @description Whether the organisation's **account credit pays first** (row 1106#49). Omitted or `true`: credit is debited before the chosen rail and the rail is charged only the remainder (card and crypto through the charge itself; PayPal opens its order for the remainder and the credit is debited just before capture, given back if the capture fails or the approval is abandoned). Credit that covers the whole total settles the order with no gateway. `false`: the balance is left untouched and the rail is charged the whole total. Either way the order is `paid` only when the whole total is settled, and the payment records the credit part in `wallet_applied_minor`. */
|
|
77291
|
+
use_credit?: boolean;
|
|
77230
77292
|
};
|
|
77231
77293
|
CiFleetHealth: {
|
|
77232
77294
|
counts: {
|
|
@@ -101549,7 +101611,7 @@ export interface components {
|
|
|
101549
101611
|
total_ms: number;
|
|
101550
101612
|
transaction: string;
|
|
101551
101613
|
};
|
|
101552
|
-
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates`, `strapi_auto_updates`, `payload_auto_updates`, `oscommerce_auto_updates` or `
|
|
101614
|
+
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates`, `strapi_auto_updates`, `payload_auto_updates`, `oscommerce_auto_updates`, `dolibarr_auto_updates` or `silverstripe_auto_updates`), the window and the last run's outcome. */
|
|
101553
101615
|
SiteAppAutoUpdate: {
|
|
101554
101616
|
/** @description Whether the add-on is on and in good standing now. */
|
|
101555
101617
|
active: boolean;
|
|
@@ -101557,7 +101619,7 @@ export interface components {
|
|
|
101557
101619
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
101558
101620
|
* @enum {string|null}
|
|
101559
101621
|
*/
|
|
101560
|
-
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | "dolibarr" | null;
|
|
101622
|
+
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | "dolibarr" | "silverstripe" | null;
|
|
101561
101623
|
can_buy: boolean;
|
|
101562
101624
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
101563
101625
|
code: string | null;
|
|
@@ -101589,6 +101651,64 @@ export interface components {
|
|
|
101589
101651
|
/** @description 0 = Monday to 6 = Sunday; null = every day. */
|
|
101590
101652
|
window_weekday: number | null;
|
|
101591
101653
|
};
|
|
101654
|
+
SiteApplicationReinstall: {
|
|
101655
|
+
application: {
|
|
101656
|
+
key: string;
|
|
101657
|
+
name: string;
|
|
101658
|
+
} | null;
|
|
101659
|
+
available: boolean;
|
|
101660
|
+
modes: {
|
|
101661
|
+
available: boolean;
|
|
101662
|
+
mode: components["schemas"]["SiteApplicationReinstallMode"];
|
|
101663
|
+
/** @enum {string|null} */
|
|
101664
|
+
reason: "keep_database_unsupported" | null;
|
|
101665
|
+
}[];
|
|
101666
|
+
primary_domain: string;
|
|
101667
|
+
/**
|
|
101668
|
+
* @description Why the site cannot be reinstalled; `null` when it can.
|
|
101669
|
+
* @enum {string|null}
|
|
101670
|
+
*/
|
|
101671
|
+
refusal: "not_php_app" | "no_application" | "not_on_fleet" | "not_active" | null;
|
|
101672
|
+
/** @description The latest reinstall of this site; `null` when there has never been one. */
|
|
101673
|
+
run: {
|
|
101674
|
+
/** Format: date-time */
|
|
101675
|
+
closed_at: string | null;
|
|
101676
|
+
database_backed_up: boolean;
|
|
101677
|
+
/** @description Staff only — the database dump's path on the server. */
|
|
101678
|
+
database_backup?: string | null;
|
|
101679
|
+
/** @description Staff only — the failing step's message. */
|
|
101680
|
+
error?: string | null;
|
|
101681
|
+
files_backed_up: boolean;
|
|
101682
|
+
/** @description Staff only — the files archive's path on the server. */
|
|
101683
|
+
files_backup?: string | null;
|
|
101684
|
+
mode: components["schemas"]["SiteApplicationReinstallMode"] | null;
|
|
101685
|
+
/** @enum {string|null} */
|
|
101686
|
+
outcome: "reinstalled" | "failed" | null;
|
|
101687
|
+
/** Format: date-time */
|
|
101688
|
+
started_at: string | null;
|
|
101689
|
+
/** @description Temporal's status — RUNNING, COMPLETED, FAILED, TERMINATED, TIMED_OUT, ... */
|
|
101690
|
+
status: string;
|
|
101691
|
+
workflow_id: string;
|
|
101692
|
+
} | null;
|
|
101693
|
+
/** Format: uuid */
|
|
101694
|
+
site_id: string;
|
|
101695
|
+
};
|
|
101696
|
+
/**
|
|
101697
|
+
* @description `keep_database` — fresh files reconnected to the existing tables; `fresh` — files, data directory and tables cleared and the application installed from nothing. Both back the database and files up first.
|
|
101698
|
+
* @enum {string}
|
|
101699
|
+
*/
|
|
101700
|
+
SiteApplicationReinstallMode: "keep_database" | "fresh";
|
|
101701
|
+
SiteApplicationReinstallRequest: {
|
|
101702
|
+
/** @description The site's primary domain, typed by the customer (case-insensitive). */
|
|
101703
|
+
confirm_domain: string;
|
|
101704
|
+
mode: components["schemas"]["SiteApplicationReinstallMode"];
|
|
101705
|
+
};
|
|
101706
|
+
SiteApplicationReinstallStart: {
|
|
101707
|
+
mode: components["schemas"]["SiteApplicationReinstallMode"];
|
|
101708
|
+
/** @description `true` once the request is queued. A consumer starts the workflow; a run already going absorbs the request (one workflow id per site). */
|
|
101709
|
+
started: boolean;
|
|
101710
|
+
workflow_id: string;
|
|
101711
|
+
};
|
|
101592
101712
|
SiteBackup: {
|
|
101593
101713
|
/** Format: date-time */
|
|
101594
101714
|
created_at: string;
|
|
@@ -108872,6 +108992,7 @@ export interface components {
|
|
|
108872
108992
|
/** @description Why staff are doing this. Stored in the audit row, never shown to the customer — it is read months later by someone asking why a site was rebuilt or removed. */
|
|
108873
108993
|
reason: string;
|
|
108874
108994
|
};
|
|
108995
|
+
StaffSiteApplicationReinstallRequest: components["schemas"]["StaffRecoveryReason"] & components["schemas"]["SiteApplicationReinstallRequest"];
|
|
108875
108996
|
StaffSiteDeletion: {
|
|
108876
108997
|
deletion: components["schemas"]["SiteDeletion"];
|
|
108877
108998
|
/**
|
|
@@ -137214,6 +137335,64 @@ export interface operations {
|
|
|
137214
137335
|
429: components["responses"]["TooManyRequests"];
|
|
137215
137336
|
};
|
|
137216
137337
|
};
|
|
137338
|
+
adminGetSiteApplicationReinstall: {
|
|
137339
|
+
parameters: {
|
|
137340
|
+
query?: never;
|
|
137341
|
+
header?: never;
|
|
137342
|
+
path: {
|
|
137343
|
+
/** @description Site ID (UUIDv7). */
|
|
137344
|
+
siteId: components["parameters"]["SiteId"];
|
|
137345
|
+
};
|
|
137346
|
+
cookie?: never;
|
|
137347
|
+
};
|
|
137348
|
+
requestBody?: never;
|
|
137349
|
+
responses: {
|
|
137350
|
+
/** @description The reinstall surface for this site. */
|
|
137351
|
+
200: {
|
|
137352
|
+
headers: {
|
|
137353
|
+
[name: string]: unknown;
|
|
137354
|
+
};
|
|
137355
|
+
content: {
|
|
137356
|
+
"application/json": components["schemas"]["SiteApplicationReinstall"];
|
|
137357
|
+
};
|
|
137358
|
+
};
|
|
137359
|
+
401: components["responses"]["Unauthorized"];
|
|
137360
|
+
403: components["responses"]["Forbidden"];
|
|
137361
|
+
404: components["responses"]["NotFound"];
|
|
137362
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
137363
|
+
};
|
|
137364
|
+
};
|
|
137365
|
+
adminStartSiteApplicationReinstall: {
|
|
137366
|
+
parameters: {
|
|
137367
|
+
query?: never;
|
|
137368
|
+
header?: never;
|
|
137369
|
+
path: {
|
|
137370
|
+
/** @description Site ID (UUIDv7). */
|
|
137371
|
+
siteId: components["parameters"]["SiteId"];
|
|
137372
|
+
};
|
|
137373
|
+
cookie?: never;
|
|
137374
|
+
};
|
|
137375
|
+
requestBody: {
|
|
137376
|
+
content: {
|
|
137377
|
+
"application/json": components["schemas"]["StaffSiteApplicationReinstallRequest"];
|
|
137378
|
+
};
|
|
137379
|
+
};
|
|
137380
|
+
responses: {
|
|
137381
|
+
/** @description The reinstall request is durably queued (the outbox), as for the customer. */
|
|
137382
|
+
202: {
|
|
137383
|
+
headers: {
|
|
137384
|
+
[name: string]: unknown;
|
|
137385
|
+
};
|
|
137386
|
+
content: {
|
|
137387
|
+
"application/json": components["schemas"]["SiteApplicationReinstallStart"];
|
|
137388
|
+
};
|
|
137389
|
+
};
|
|
137390
|
+
401: components["responses"]["Unauthorized"];
|
|
137391
|
+
403: components["responses"]["Forbidden"];
|
|
137392
|
+
404: components["responses"]["NotFound"];
|
|
137393
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
137394
|
+
};
|
|
137395
|
+
};
|
|
137217
137396
|
rotateSiteCdn: {
|
|
137218
137397
|
parameters: {
|
|
137219
137398
|
query?: never;
|
|
@@ -180472,6 +180651,16 @@ export interface operations {
|
|
|
180472
180651
|
};
|
|
180473
180652
|
content: {
|
|
180474
180653
|
"application/json": {
|
|
180654
|
+
/**
|
|
180655
|
+
* Format: int64
|
|
180656
|
+
* @description What the PayPal order was opened for, in minor units (the total less any credit).
|
|
180657
|
+
*/
|
|
180658
|
+
amount_minor?: number;
|
|
180659
|
+
/**
|
|
180660
|
+
* Format: int64
|
|
180661
|
+
* @description The account credit that pays the rest, in minor units; 0 when none.
|
|
180662
|
+
*/
|
|
180663
|
+
credit_minor?: number;
|
|
180475
180664
|
/** @description PayPal's order id, for `createOrder` in the JS SDK. */
|
|
180476
180665
|
paypal_order_id: string;
|
|
180477
180666
|
};
|
|
@@ -180532,6 +180721,15 @@ export interface operations {
|
|
|
180532
180721
|
401: components["responses"]["Unauthorized"];
|
|
180533
180722
|
403: components["responses"]["Forbidden"];
|
|
180534
180723
|
404: components["responses"]["NotFound"];
|
|
180724
|
+
/** @description Nothing was captured: the account credit the PayPal order was priced against is no longer there (open PayPal again), or a dedicated server sold since approval. */
|
|
180725
|
+
409: {
|
|
180726
|
+
headers: {
|
|
180727
|
+
[name: string]: unknown;
|
|
180728
|
+
};
|
|
180729
|
+
content: {
|
|
180730
|
+
"application/json": components["schemas"]["Error"];
|
|
180731
|
+
};
|
|
180732
|
+
};
|
|
180535
180733
|
/** @description No `paypal_order_id`, an id that was not opened for this order at its total, or the order cannot be paid. */
|
|
180536
180734
|
422: {
|
|
180537
180735
|
headers: {
|
|
@@ -195360,6 +195558,66 @@ export interface operations {
|
|
|
195360
195558
|
503: components["responses"]["ServiceUnavailable"];
|
|
195361
195559
|
};
|
|
195362
195560
|
};
|
|
195561
|
+
getSiteApplicationReinstall: {
|
|
195562
|
+
parameters: {
|
|
195563
|
+
query?: never;
|
|
195564
|
+
header?: never;
|
|
195565
|
+
path: {
|
|
195566
|
+
/** @description Site ID (UUIDv7). */
|
|
195567
|
+
siteId: components["parameters"]["SiteId"];
|
|
195568
|
+
};
|
|
195569
|
+
cookie?: never;
|
|
195570
|
+
};
|
|
195571
|
+
requestBody?: never;
|
|
195572
|
+
responses: {
|
|
195573
|
+
/** @description The reinstall surface for this site. */
|
|
195574
|
+
200: {
|
|
195575
|
+
headers: {
|
|
195576
|
+
[name: string]: unknown;
|
|
195577
|
+
};
|
|
195578
|
+
content: {
|
|
195579
|
+
"application/json": components["schemas"]["SiteApplicationReinstall"];
|
|
195580
|
+
};
|
|
195581
|
+
};
|
|
195582
|
+
401: components["responses"]["Unauthorized"];
|
|
195583
|
+
403: components["responses"]["Forbidden"];
|
|
195584
|
+
404: components["responses"]["NotFound"];
|
|
195585
|
+
429: components["responses"]["TooManyRequests"];
|
|
195586
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
195587
|
+
};
|
|
195588
|
+
};
|
|
195589
|
+
startSiteApplicationReinstall: {
|
|
195590
|
+
parameters: {
|
|
195591
|
+
query?: never;
|
|
195592
|
+
header?: never;
|
|
195593
|
+
path: {
|
|
195594
|
+
/** @description Site ID (UUIDv7). */
|
|
195595
|
+
siteId: components["parameters"]["SiteId"];
|
|
195596
|
+
};
|
|
195597
|
+
cookie?: never;
|
|
195598
|
+
};
|
|
195599
|
+
requestBody: {
|
|
195600
|
+
content: {
|
|
195601
|
+
"application/json": components["schemas"]["SiteApplicationReinstallRequest"];
|
|
195602
|
+
};
|
|
195603
|
+
};
|
|
195604
|
+
responses: {
|
|
195605
|
+
/** @description The reinstall request is durably queued. */
|
|
195606
|
+
202: {
|
|
195607
|
+
headers: {
|
|
195608
|
+
[name: string]: unknown;
|
|
195609
|
+
};
|
|
195610
|
+
content: {
|
|
195611
|
+
"application/json": components["schemas"]["SiteApplicationReinstallStart"];
|
|
195612
|
+
};
|
|
195613
|
+
};
|
|
195614
|
+
401: components["responses"]["Unauthorized"];
|
|
195615
|
+
403: components["responses"]["Forbidden"];
|
|
195616
|
+
404: components["responses"]["NotFound"];
|
|
195617
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
195618
|
+
429: components["responses"]["TooManyRequests"];
|
|
195619
|
+
};
|
|
195620
|
+
};
|
|
195363
195621
|
getSiteBackups: {
|
|
195364
195622
|
parameters: {
|
|
195365
195623
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1570",
|
|
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>",
|