@zinn-digital/sdk 0.1.2019 → 0.1.2021
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.
|
@@ -119754,7 +119754,7 @@ export interface components {
|
|
|
119754
119754
|
}[];
|
|
119755
119755
|
/**
|
|
119756
119756
|
* Format: uuid
|
|
119757
|
-
* @description Signed-in route only, optional (the public route ignores it). The caller's ACTIVE organisation, as the dashboard's org switcher scopes every read: the quote is rated on that org's stored billing country and VAT status. Honoured only when the caller is a member of it; any other id is ignored (never looked up, never a 403), so a quote can never reveal another organisation's country. Without it, a caller with more than one membership is rated as a guest (CARTVAT-1121).
|
|
119757
|
+
* @description Signed-in route only, optional (the public route ignores it). The caller's ACTIVE organisation, as the dashboard's org switcher scopes every read: the quote is rated on that org's stored billing country and VAT status, and sold by that org's seller (a reseller's client is rated under its reseller, exactly as checkout rates it). Honoured only when the caller is a member of it or may pay for it (`billing.payment.manage`, which includes a reseller admin's client orgs); any other id is ignored (never looked up, never a 403), so a quote can never reveal another organisation's country. Without it, a caller with more than one membership is rated as a guest (CARTVAT-1121, RESELLERPAY C17).
|
|
119758
119758
|
*/
|
|
119759
119759
|
org_id?: string;
|
|
119760
119760
|
/** @description Absent means false. Which question is asked. `false` prices a BASKET exactly as its invoice will be rounded (VAT once per rate group, leftover cents by largest remainder), so the totals are what checkout charges: use it for a cart or checkout. `true` prices a LIST of independent items, each rated as its own one-item invoice, so an item shows the same cents whatever else is in the request: use it for a price list or plan table. The totals of a `per_item` quote are a sum of standalone prices, not a basket. Only a literal `true` enables it. */
|
|
@@ -197390,7 +197390,7 @@ export interface operations {
|
|
|
197390
197390
|
401: components["responses"]["Unauthorized"];
|
|
197391
197391
|
403: components["responses"]["Forbidden"];
|
|
197392
197392
|
404: components["responses"]["NotFound"];
|
|
197393
|
-
/** @description There is nothing for the customer to do — the order is already paid, is in a state that cannot be paid, has no payment in progress yet, or its checkout can no longer be reopened. The message says which, and is safe to show. */
|
|
197393
|
+
/** @description There is nothing for the customer to do — the order is already paid, is in a state that cannot be paid, has no payment in progress yet, or its checkout can no longer be reopened. The message says which, and is safe to show. A browser card payment whose card form was closed before any card was submitted has no next action: it is retired at the processor (it can take no money) and answered as "no payment in progress", so the order can be paid again from the start. */
|
|
197394
197394
|
422: {
|
|
197395
197395
|
headers: {
|
|
197396
197396
|
[name: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2021",
|
|
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>",
|