@zinn-digital/sdk 0.1.1712 → 0.1.1713
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.
|
@@ -193248,6 +193248,8 @@ export interface operations {
|
|
|
193248
193248
|
* @description The email already has an account (sign in to complete the purchase), or a domain in the cart is no longer available. Nothing was created either way.
|
|
193249
193249
|
*
|
|
193250
193250
|
* The two are told apart by `error.code`, and a client MUST branch on it rather than on the status: the remedies are opposite. `ACCOUNT_EXISTS` means sign in and the basket follows you; the generic `CONFLICT` means a name went while it sat in the basket and the customer must search again. Until W42-N both returned `CONFLICT`, and the public funnel showed every returning customer the "your domain was taken" copy on the last click of a purchase.
|
|
193251
|
+
*
|
|
193252
|
+
* Or (`error.details[0].code` `COUPON_WITHDRAWN`, `field: promo_code`, docs/1311) a replayed checkout resumed an order whose coupon claim had lapsed and could not be re-taken: the code was removed and the order repriced to the full total before any gateway call, so nothing was charged. The keyed message (`refusal.commerce.couponWithdrawn`) states the new total; the public checkout shows its own localized sentence and re-quotes.
|
|
193251
193253
|
*/
|
|
193252
193254
|
409: {
|
|
193253
193255
|
headers: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1713",
|
|
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>",
|