@zinn-digital/sdk 0.1.2025 → 0.1.2026
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.
|
@@ -42856,7 +42856,7 @@ export interface paths {
|
|
|
42856
42856
|
put?: never;
|
|
42857
42857
|
/**
|
|
42858
42858
|
* Cancel your own unpaid order.
|
|
42859
|
-
* @description DAY-0296. Cancels an order that is still `pending_payment` or `payment_failed` and has no payment captured, refunded or still being confirmed (our record first, then the payment provider is asked). Nothing is charged. Cancelling an order that is already `canceled` returns it unchanged. A payment taken or still confirming is a `409` (`refusal.commerce.orderPaymentConfirmingCancel`); an order in any other state is a `409` (`refusal.commerce.orderNotUnpaidCancel`); another organization's order is a `404`. Requires `billing.payment.manage`. When the platform's unpaid-order expiry is switched on, an unpaid order is also cancelled automatically 7 days after placing, at least 48 hours after the reminder that named that date.
|
|
42859
|
+
* @description DAY-0296. Cancels an order that is still `pending_payment` or `payment_failed` and has no payment captured, refunded or still being confirmed (our record first, then the payment provider is asked). Nothing is charged. Cancelling an order that is already `canceled` returns it unchanged. A payment taken or still confirming is a `409` (`refusal.commerce.orderPaymentConfirmingCancel`); an order in any other state is a `409` (`refusal.commerce.orderNotUnpaidCancel`); another organization's order is a `404`. A card attempt the provider holds at `requires_payment_method` or `canceled` (nothing authorised) is cancelled at the provider first and does not block the cancel; a provider that cannot be asked keeps the `409`. The cancel is audit-logged (`order.cancelled_unpaid`). Requires `billing.payment.manage`. When the platform's unpaid-order expiry is switched on, an unpaid order is also cancelled automatically 7 days after placing, at least 48 hours after the reminder that named that date.
|
|
42860
42860
|
*/
|
|
42861
42861
|
post: operations["cancelUnpaidOrder"];
|
|
42862
42862
|
delete?: 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.2026",
|
|
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>",
|