@zinn-digital/sdk 0.1.1385 → 0.1.1387
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 +15 -0
- package/package.json +1 -1
|
@@ -77970,6 +77970,15 @@ export interface components {
|
|
|
77970
77970
|
* @example strapi
|
|
77971
77971
|
*/
|
|
77972
77972
|
key: string;
|
|
77973
|
+
/** @description The licence we sell with this application (create the site with `application_licence_source: zinn`), or `null` when it takes no licence or we are not selling one to the acting organisation just now (the sale has a launch switch; until it is on, only its pilot organisations are offered it). The price is per month, net of tax, in integer minor units. */
|
|
77974
|
+
licence_offer?: {
|
|
77975
|
+
/** @example USD */
|
|
77976
|
+
currency: string;
|
|
77977
|
+
/** @example 1595 */
|
|
77978
|
+
price_monthly_minor: number;
|
|
77979
|
+
/** @example WHMCS Starter */
|
|
77980
|
+
tier: string;
|
|
77981
|
+
} | null;
|
|
77973
77982
|
/**
|
|
77974
77983
|
* @description The project's own name, as a proper noun. Not translated.
|
|
77975
77984
|
* @example Strapi
|
|
@@ -97294,6 +97303,12 @@ export interface components {
|
|
|
97294
97303
|
* @example Owned-1a2b3c4d5e6f7g8h9i0j
|
|
97295
97304
|
*/
|
|
97296
97305
|
application_licence_key?: string;
|
|
97306
|
+
/**
|
|
97307
|
+
* @description Where a licensed application's licence comes from. `own` (the default) means `application_licence_key` is required. `zinn` means a licence from our reseller pool is assigned to the site and billed monthly at `FleetApplication.licence_offer`'s price; `application_licence_key` must then be absent. A `422` on this field (code `UNAVAILABLE`) when no licence can be supplied just now, (code `INVALID`) for an application that takes no licence.
|
|
97308
|
+
* @example zinn
|
|
97309
|
+
* @enum {string}
|
|
97310
|
+
*/
|
|
97311
|
+
application_licence_source?: "own" | "zinn";
|
|
97297
97312
|
/** @description A published blueprint version to build from. When given, `stack_type` and `runtime` are taken from the blueprint and must not be sent; when omitted, `stack_type` is required. */
|
|
97298
97313
|
blueprint_id?: components["schemas"]["Uuid"] | null;
|
|
97299
97314
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1387",
|
|
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>",
|