@zinn-digital/sdk 0.1.1946 → 0.1.1950
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 +369 -0
- package/package.json +1 -1
|
@@ -10802,6 +10802,49 @@ export interface paths {
|
|
|
10802
10802
|
patch?: never;
|
|
10803
10803
|
trace?: never;
|
|
10804
10804
|
};
|
|
10805
|
+
"/v1/admin/orphan-debits": {
|
|
10806
|
+
parameters: {
|
|
10807
|
+
query?: never;
|
|
10808
|
+
header?: never;
|
|
10809
|
+
path?: never;
|
|
10810
|
+
cookie?: never;
|
|
10811
|
+
};
|
|
10812
|
+
/**
|
|
10813
|
+
* Every unresolved orphan wallet debit (credit taken, no payment recorded) — staff queue.
|
|
10814
|
+
* @description DAY-0351 / X173 R2. A wallet debit keyed to an order whose matching payment was never recorded is NEVER repaired by itself; this is the queue staff decide from (one row per debit, across orgs, last 60 days; a debit with a resolution is gone from it). Requires staff + `billing.entitlement.manage`.
|
|
10815
|
+
*/
|
|
10816
|
+
get: operations["listOrphanDebits"];
|
|
10817
|
+
put?: never;
|
|
10818
|
+
post?: never;
|
|
10819
|
+
delete?: never;
|
|
10820
|
+
options?: never;
|
|
10821
|
+
head?: never;
|
|
10822
|
+
patch?: never;
|
|
10823
|
+
trace?: never;
|
|
10824
|
+
};
|
|
10825
|
+
"/v1/admin/orphan-debits/{debitId}/resolve": {
|
|
10826
|
+
parameters: {
|
|
10827
|
+
query?: never;
|
|
10828
|
+
header?: never;
|
|
10829
|
+
path: {
|
|
10830
|
+
/** @description The wallet debit (`CreditDrawdown` / `ClientWalletEntry`) id. */
|
|
10831
|
+
debitId: string;
|
|
10832
|
+
};
|
|
10833
|
+
cookie?: never;
|
|
10834
|
+
};
|
|
10835
|
+
get?: never;
|
|
10836
|
+
put?: never;
|
|
10837
|
+
/**
|
|
10838
|
+
* Resolve one orphan wallet debit ONCE — apply it to the order, or give it back as credit (staff, audit-logged).
|
|
10839
|
+
* @description Records ONE resolution per debit and carries it out in the debit's own org scope. `apply` settles the order from the debit already taken (no second debit) and is refused (409, `details[0].code`) unless the order still awaits payment (`order_not_awaiting`) and the debit covers its whole total (`amount_mismatch`). When a later credit to the org names the order/debit OR equals the amount, both actions answer **422 `later_credit_found`** whose detail names that credit (`credit_id`, `credit_at`; staff only) and nothing is recorded: `apply` is never allowed then (it would pay the customer twice); `give_back` may be repeated WITH `already_given_back: true` (and the required reason) to record the debit as already given back, which moves NO money and names the found credit on the resolution and the audit row. `already_given_back: true` with no such later credit is refused 422 `no_later_credit` (it never closes a debit without money given back); with `apply` it is refused 422 `bad_action`. Otherwise `give_back` credits the amount back to the wallet (credit only, never a card). The two exclude each other (`other_action_taken`); a second press of the same action returns the first result with `created: false` and writes no second audit row. Audit actions `orphan_debit.apply` / `orphan_debit.give_back` (platform rows; the org in metadata). Requires staff + `billing.entitlement.manage`.
|
|
10840
|
+
*/
|
|
10841
|
+
post: operations["resolveOrphanDebit"];
|
|
10842
|
+
delete?: never;
|
|
10843
|
+
options?: never;
|
|
10844
|
+
head?: never;
|
|
10845
|
+
patch?: never;
|
|
10846
|
+
trace?: never;
|
|
10847
|
+
};
|
|
10805
10848
|
"/v1/admin/orphan-payments": {
|
|
10806
10849
|
parameters: {
|
|
10807
10850
|
query?: never;
|
|
@@ -41878,6 +41921,60 @@ export interface paths {
|
|
|
41878
41921
|
patch?: never;
|
|
41879
41922
|
trace?: never;
|
|
41880
41923
|
};
|
|
41924
|
+
"/v1/orders/{orderId}/card-payment": {
|
|
41925
|
+
parameters: {
|
|
41926
|
+
query?: never;
|
|
41927
|
+
header?: never;
|
|
41928
|
+
path: {
|
|
41929
|
+
/** @description The order's id. */
|
|
41930
|
+
orderId: components["parameters"]["OrderId"];
|
|
41931
|
+
};
|
|
41932
|
+
cookie?: never;
|
|
41933
|
+
};
|
|
41934
|
+
get?: never;
|
|
41935
|
+
put?: never;
|
|
41936
|
+
/**
|
|
41937
|
+
* Open a card payment the customer's browser confirms.
|
|
41938
|
+
* @description CARDAUTH (DAY-0434). Opens ONE card payment per order at the processor, for the browser to confirm with the processor's library, so a 3-D Secure challenge opens in the page. Calling it again while that payment is open returns the same one. The amount is computed here from the order, never from the request.
|
|
41939
|
+
*
|
|
41940
|
+
* Account credit pays first, exactly as on `payOrder`: the card is asked only for the remainder, and the credit is drawn only when the card part is confirmed captured, so an abandoned or failed challenge costs no credit. When credit pays the whole order no card payment is opened and `status` is `covered_by_credit`: settle with `payOrder`.
|
|
41941
|
+
*
|
|
41942
|
+
* Pay once is the default: the card is kept for renewals only when `save_card` is true.
|
|
41943
|
+
*
|
|
41944
|
+
* Opens are limited per organisation and per order (each one reads the processor); over the limit the answer is `429` with `Retry-After`. A repeated call for the same order within the limit returns the same open payment.
|
|
41945
|
+
*/
|
|
41946
|
+
post: operations["startOrderCardPayment"];
|
|
41947
|
+
delete?: never;
|
|
41948
|
+
options?: never;
|
|
41949
|
+
head?: never;
|
|
41950
|
+
patch?: never;
|
|
41951
|
+
trace?: never;
|
|
41952
|
+
};
|
|
41953
|
+
"/v1/orders/{orderId}/card-payment/confirm": {
|
|
41954
|
+
parameters: {
|
|
41955
|
+
query?: never;
|
|
41956
|
+
header?: never;
|
|
41957
|
+
path: {
|
|
41958
|
+
/** @description The order's id. */
|
|
41959
|
+
orderId: components["parameters"]["OrderId"];
|
|
41960
|
+
};
|
|
41961
|
+
cookie?: never;
|
|
41962
|
+
};
|
|
41963
|
+
get?: never;
|
|
41964
|
+
put?: never;
|
|
41965
|
+
/**
|
|
41966
|
+
* Settle the order from the card payment the browser confirmed.
|
|
41967
|
+
* @description ⛔ **The browser is not believed.** The engine re-reads the payment from the processor and settles only when it succeeded, for this order's remainder, in its currency, with this order and organisation in its metadata. The processor's webhook is the second path to the same single settlement, so a closed tab still pays the order.
|
|
41968
|
+
*
|
|
41969
|
+
* A declined card or a failed 3-D Secure challenge answers 200 with `payment_failed`, the class of failure and the other rails; nothing was taken and the order is payable again.
|
|
41970
|
+
*/
|
|
41971
|
+
post: operations["confirmOrderCardPayment"];
|
|
41972
|
+
delete?: never;
|
|
41973
|
+
options?: never;
|
|
41974
|
+
head?: never;
|
|
41975
|
+
patch?: never;
|
|
41976
|
+
trace?: never;
|
|
41977
|
+
};
|
|
41881
41978
|
"/v1/orders/{orderId}/customer-action": {
|
|
41882
41979
|
parameters: {
|
|
41883
41980
|
query?: never;
|
|
@@ -65780,6 +65877,68 @@ export interface components {
|
|
|
65780
65877
|
site_id: components["schemas"]["Uuid"];
|
|
65781
65878
|
verdict: string;
|
|
65782
65879
|
};
|
|
65880
|
+
/** @description One wallet debit keyed to an order with no payment recorded at its attempt key (DAY-0351). */
|
|
65881
|
+
AdminOrphanDebit: {
|
|
65882
|
+
/**
|
|
65883
|
+
* Format: int64
|
|
65884
|
+
* @description The debit in integer minor units (§2.8).
|
|
65885
|
+
*/
|
|
65886
|
+
amount_minor: number;
|
|
65887
|
+
currency: components["schemas"]["CurrencyCode"];
|
|
65888
|
+
/** Format: uuid */
|
|
65889
|
+
debit_id: string;
|
|
65890
|
+
/** @enum {string} */
|
|
65891
|
+
ledger: "account_credit" | "client_float";
|
|
65892
|
+
order_currency: components["schemas"]["CurrencyCode"];
|
|
65893
|
+
/** Format: uuid */
|
|
65894
|
+
order_id: string;
|
|
65895
|
+
order_ref: string;
|
|
65896
|
+
order_status: string;
|
|
65897
|
+
/** Format: int64 */
|
|
65898
|
+
order_total_minor: number;
|
|
65899
|
+
/** Format: uuid */
|
|
65900
|
+
org_id: string;
|
|
65901
|
+
};
|
|
65902
|
+
/** @description The ONE staff decision on an orphan wallet debit. */
|
|
65903
|
+
AdminOrphanDebitResolution: {
|
|
65904
|
+
/** @enum {string} */
|
|
65905
|
+
action: "apply" | "give_back";
|
|
65906
|
+
actor: string;
|
|
65907
|
+
/** @description True when staff recorded the debit as already given back by an earlier credit: no money moved. */
|
|
65908
|
+
already_given_back: boolean;
|
|
65909
|
+
/** Format: int64 */
|
|
65910
|
+
amount_minor: number;
|
|
65911
|
+
/** @description False on a second press (nothing was done). */
|
|
65912
|
+
created: boolean;
|
|
65913
|
+
/** Format: date-time */
|
|
65914
|
+
created_at: string;
|
|
65915
|
+
currency: components["schemas"]["CurrencyCode"];
|
|
65916
|
+
debit_id: string;
|
|
65917
|
+
/** @description When `already_given_back`: the later credit found (`<ledger>:<id>`); else empty. */
|
|
65918
|
+
found_credit_ref: string;
|
|
65919
|
+
/** Format: uuid */
|
|
65920
|
+
id: string;
|
|
65921
|
+
/** @enum {string} */
|
|
65922
|
+
ledger: "account_credit" | "client_float";
|
|
65923
|
+
/** Format: uuid */
|
|
65924
|
+
order_id: string;
|
|
65925
|
+
/** Format: uuid */
|
|
65926
|
+
org_id: string;
|
|
65927
|
+
reason: string;
|
|
65928
|
+
/** @description `apply`: the Payment id; `give_back`: the credit's idempotency key; empty when `already_given_back` (no money moved). */
|
|
65929
|
+
result_ref: string;
|
|
65930
|
+
};
|
|
65931
|
+
AdminOrphanDebitResolveRequest: {
|
|
65932
|
+
/** @enum {string} */
|
|
65933
|
+
action: "apply" | "give_back";
|
|
65934
|
+
/**
|
|
65935
|
+
* @description Only with `give_back`, and only after a 422 `later_credit_found`: staff confirm that the credit it named already gave this debit back. Records the resolution and moves no money. Refused (`no_later_credit`) when no such credit exists.
|
|
65936
|
+
* @default false
|
|
65937
|
+
*/
|
|
65938
|
+
already_given_back: boolean;
|
|
65939
|
+
/** @description Recorded on the resolution and in the audit row. */
|
|
65940
|
+
reason: string;
|
|
65941
|
+
};
|
|
65783
65942
|
/** @description A customer's own outbound mail service, as staff see it. Read-only, and it carries no credential and no vault path - only what answers "is their sender verified, and is it refusing messages?". The pointer to their API key answers neither. */
|
|
65784
65943
|
AdminOutboundMail: {
|
|
65785
65944
|
consecutive_failures: number;
|
|
@@ -88687,6 +88846,13 @@ export interface components {
|
|
|
88687
88846
|
checkout_url?: string;
|
|
88688
88847
|
/** @example INVALID */
|
|
88689
88848
|
code: string;
|
|
88849
|
+
/**
|
|
88850
|
+
* Format: date-time
|
|
88851
|
+
* @description Only beside `credit_id`: when that credit was given.
|
|
88852
|
+
*/
|
|
88853
|
+
credit_at?: string;
|
|
88854
|
+
/** @description Only on a `later_credit_found` detail of a 422 from the staff-only `POST /v1/admin/orphan-debits/{debitId}/resolve`: the later credit found (`<ledger>:<id>`, ledger `account_credit` or `client_float`). */
|
|
88855
|
+
credit_id?: string;
|
|
88690
88856
|
/**
|
|
88691
88857
|
* @description JSON path to the offending field.
|
|
88692
88858
|
* @example default_currency
|
|
@@ -98019,6 +98185,44 @@ export interface components {
|
|
|
98019
98185
|
/** @description Elapsed-time SLA for an automated service; `null` where there is no committed one. A database optimisation does not care that it is Sunday. */
|
|
98020
98186
|
sla_hours: number | null;
|
|
98021
98187
|
};
|
|
98188
|
+
/** @description The order after the engine re-read the card payment from the processor. `paid`: settled. `requires_action`: the browser still has a step to finish (3-D Secure). `processing`: the processor has not decided; the webhook settles it. `held`: money was captured but cannot settle this order as recorded (another payment paid it, or the amount changed); staff were told and nothing is refunded automatically. `payment_failed`: nothing was taken; read `failure_class` and offer `other_rails`. */
|
|
98189
|
+
OrderCardPaymentResult: {
|
|
98190
|
+
failure_class?: components["schemas"]["PaymentDeclineClass"];
|
|
98191
|
+
order_status?: string;
|
|
98192
|
+
/** @description The other gateways this order may be paid on (`getOrderPaymentOptions`). */
|
|
98193
|
+
other_rails?: string[];
|
|
98194
|
+
settled: boolean;
|
|
98195
|
+
/** @enum {string} */
|
|
98196
|
+
status: "paid" | "requires_action" | "processing" | "held" | "payment_failed";
|
|
98197
|
+
};
|
|
98198
|
+
/** @description A card payment the customer's browser confirms (CARDAUTH, DAY-0434), so a 3-D Secure challenge opens in the page. `covered_by_credit`: account credit pays the whole order, no card payment was opened, and the client settles with `payOrder`. */
|
|
98199
|
+
OrderCardPaymentStart: {
|
|
98200
|
+
/**
|
|
98201
|
+
* Format: int64
|
|
98202
|
+
* @description What the card is asked for, in minor units (the order total less credit).
|
|
98203
|
+
*/
|
|
98204
|
+
amount_minor: number;
|
|
98205
|
+
/** @description True only when the customer ticked "save this card": the processor keeps the card for off-session renewals. False (the default) is pay once; nothing is kept. */
|
|
98206
|
+
card_reuse_applied?: boolean;
|
|
98207
|
+
/** @description The processor's client secret, for `confirmPayment` in the browser only. Never stored or logged by the client. Absent when `status` is `covered_by_credit`. */
|
|
98208
|
+
client_token?: string;
|
|
98209
|
+
/**
|
|
98210
|
+
* Format: int64
|
|
98211
|
+
* @description The account credit that pays the rest, drawn only once the card part is captured.
|
|
98212
|
+
*/
|
|
98213
|
+
credit_minor: number;
|
|
98214
|
+
currency: string;
|
|
98215
|
+
/** @enum {string} */
|
|
98216
|
+
intent_kind?: "payment";
|
|
98217
|
+
/** @description The processor's payment id, posted back to `confirmOrderCardPayment`. */
|
|
98218
|
+
payment_intent_id?: string;
|
|
98219
|
+
/** @description The processor's publishable key for the browser library. */
|
|
98220
|
+
publishable_key?: string;
|
|
98221
|
+
/** @enum {string} */
|
|
98222
|
+
rail: "card";
|
|
98223
|
+
/** @enum {string} */
|
|
98224
|
+
status: "requires_payment" | "covered_by_credit";
|
|
98225
|
+
};
|
|
98022
98226
|
/** @description ⛔ Shape only. Everything that decides whether the provider would accept the order — the provider, the zone, the size, the disk/bandwidth pair — is validated in the engine, because those rules must hold for a workflow activity and a management command too, and the sentence a customer reads must be the same whichever door they came through. */
|
|
98023
98227
|
OrderComputeServerRequest: {
|
|
98024
98228
|
/** @description An explicit transfer allocation, for a provider whose `supports_disk_and_bandwidth` is true. */
|
|
@@ -139958,6 +140162,64 @@ export interface operations {
|
|
|
139958
140162
|
429: components["responses"]["TooManyRequests"];
|
|
139959
140163
|
};
|
|
139960
140164
|
};
|
|
140165
|
+
listOrphanDebits: {
|
|
140166
|
+
parameters: {
|
|
140167
|
+
query?: never;
|
|
140168
|
+
header?: never;
|
|
140169
|
+
path?: never;
|
|
140170
|
+
cookie?: never;
|
|
140171
|
+
};
|
|
140172
|
+
requestBody?: never;
|
|
140173
|
+
responses: {
|
|
140174
|
+
/** @description The unresolved orphan debits. */
|
|
140175
|
+
200: {
|
|
140176
|
+
headers: {
|
|
140177
|
+
[name: string]: unknown;
|
|
140178
|
+
};
|
|
140179
|
+
content: {
|
|
140180
|
+
"application/json": {
|
|
140181
|
+
data: components["schemas"]["AdminOrphanDebit"][];
|
|
140182
|
+
};
|
|
140183
|
+
};
|
|
140184
|
+
};
|
|
140185
|
+
401: components["responses"]["Unauthorized"];
|
|
140186
|
+
403: components["responses"]["Forbidden"];
|
|
140187
|
+
429: components["responses"]["TooManyRequests"];
|
|
140188
|
+
};
|
|
140189
|
+
};
|
|
140190
|
+
resolveOrphanDebit: {
|
|
140191
|
+
parameters: {
|
|
140192
|
+
query?: never;
|
|
140193
|
+
header?: never;
|
|
140194
|
+
path: {
|
|
140195
|
+
/** @description The wallet debit (`CreditDrawdown` / `ClientWalletEntry`) id. */
|
|
140196
|
+
debitId: string;
|
|
140197
|
+
};
|
|
140198
|
+
cookie?: never;
|
|
140199
|
+
};
|
|
140200
|
+
requestBody: {
|
|
140201
|
+
content: {
|
|
140202
|
+
"application/json": components["schemas"]["AdminOrphanDebitResolveRequest"];
|
|
140203
|
+
};
|
|
140204
|
+
};
|
|
140205
|
+
responses: {
|
|
140206
|
+
/** @description The resolution (the first one, on a second press). */
|
|
140207
|
+
200: {
|
|
140208
|
+
headers: {
|
|
140209
|
+
[name: string]: unknown;
|
|
140210
|
+
};
|
|
140211
|
+
content: {
|
|
140212
|
+
"application/json": components["schemas"]["AdminOrphanDebitResolution"];
|
|
140213
|
+
};
|
|
140214
|
+
};
|
|
140215
|
+
401: components["responses"]["Unauthorized"];
|
|
140216
|
+
403: components["responses"]["Forbidden"];
|
|
140217
|
+
404: components["responses"]["NotFound"];
|
|
140218
|
+
409: components["responses"]["Conflict"];
|
|
140219
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
140220
|
+
429: components["responses"]["TooManyRequests"];
|
|
140221
|
+
};
|
|
140222
|
+
};
|
|
139961
140223
|
listOrphanPayments: {
|
|
139962
140224
|
parameters: {
|
|
139963
140225
|
query?: {
|
|
@@ -193305,6 +193567,113 @@ export interface operations {
|
|
|
193305
193567
|
429: components["responses"]["TooManyRequests"];
|
|
193306
193568
|
};
|
|
193307
193569
|
};
|
|
193570
|
+
startOrderCardPayment: {
|
|
193571
|
+
parameters: {
|
|
193572
|
+
query?: never;
|
|
193573
|
+
header?: never;
|
|
193574
|
+
path: {
|
|
193575
|
+
/** @description The order's id. */
|
|
193576
|
+
orderId: components["parameters"]["OrderId"];
|
|
193577
|
+
};
|
|
193578
|
+
cookie?: never;
|
|
193579
|
+
};
|
|
193580
|
+
requestBody?: {
|
|
193581
|
+
content: {
|
|
193582
|
+
"application/json": {
|
|
193583
|
+
/**
|
|
193584
|
+
* @description The customer ticked "save this card" for automatic renewals.
|
|
193585
|
+
* @default false
|
|
193586
|
+
*/
|
|
193587
|
+
save_card?: boolean;
|
|
193588
|
+
};
|
|
193589
|
+
};
|
|
193590
|
+
};
|
|
193591
|
+
responses: {
|
|
193592
|
+
/** @description The card payment to confirm in the browser, or `covered_by_credit`. */
|
|
193593
|
+
200: {
|
|
193594
|
+
headers: {
|
|
193595
|
+
[name: string]: unknown;
|
|
193596
|
+
};
|
|
193597
|
+
content: {
|
|
193598
|
+
"application/json": components["schemas"]["OrderCardPaymentStart"];
|
|
193599
|
+
};
|
|
193600
|
+
};
|
|
193601
|
+
401: components["responses"]["Unauthorized"];
|
|
193602
|
+
403: components["responses"]["Forbidden"];
|
|
193603
|
+
404: components["responses"]["NotFound"];
|
|
193604
|
+
/** @description Another payment for this order is already being processed (`refusal.commerce.paymentInFlight`), or an included domain is no longer available. */
|
|
193605
|
+
409: {
|
|
193606
|
+
headers: {
|
|
193607
|
+
[name: string]: unknown;
|
|
193608
|
+
};
|
|
193609
|
+
content: {
|
|
193610
|
+
"application/json": components["schemas"]["Error"];
|
|
193611
|
+
};
|
|
193612
|
+
};
|
|
193613
|
+
/** @description The order is already paid, cannot be paid, or cannot be paid by card in the browser. */
|
|
193614
|
+
422: {
|
|
193615
|
+
headers: {
|
|
193616
|
+
[name: string]: unknown;
|
|
193617
|
+
};
|
|
193618
|
+
content: {
|
|
193619
|
+
"application/json": components["schemas"]["Error"];
|
|
193620
|
+
};
|
|
193621
|
+
};
|
|
193622
|
+
429: components["responses"]["TooManyRequests"];
|
|
193623
|
+
};
|
|
193624
|
+
};
|
|
193625
|
+
confirmOrderCardPayment: {
|
|
193626
|
+
parameters: {
|
|
193627
|
+
query?: never;
|
|
193628
|
+
header?: never;
|
|
193629
|
+
path: {
|
|
193630
|
+
/** @description The order's id. */
|
|
193631
|
+
orderId: components["parameters"]["OrderId"];
|
|
193632
|
+
};
|
|
193633
|
+
cookie?: never;
|
|
193634
|
+
};
|
|
193635
|
+
requestBody: {
|
|
193636
|
+
content: {
|
|
193637
|
+
"application/json": {
|
|
193638
|
+
/** @description The id returned by `startOrderCardPayment`. */
|
|
193639
|
+
payment_intent_id: string;
|
|
193640
|
+
};
|
|
193641
|
+
};
|
|
193642
|
+
};
|
|
193643
|
+
responses: {
|
|
193644
|
+
/** @description The result of the re-read. Read `status`. */
|
|
193645
|
+
200: {
|
|
193646
|
+
headers: {
|
|
193647
|
+
[name: string]: unknown;
|
|
193648
|
+
};
|
|
193649
|
+
content: {
|
|
193650
|
+
"application/json": components["schemas"]["OrderCardPaymentResult"];
|
|
193651
|
+
};
|
|
193652
|
+
};
|
|
193653
|
+
401: components["responses"]["Unauthorized"];
|
|
193654
|
+
403: components["responses"]["Forbidden"];
|
|
193655
|
+
404: components["responses"]["NotFound"];
|
|
193656
|
+
/** @description Nothing was settled: the payment named is not this order's, or the processor holds another amount or currency (`refusal.commerce.cardPaymentMismatch`, audited), or another payment for this order is being processed (`refusal.commerce.paymentInFlight`). */
|
|
193657
|
+
409: {
|
|
193658
|
+
headers: {
|
|
193659
|
+
[name: string]: unknown;
|
|
193660
|
+
};
|
|
193661
|
+
content: {
|
|
193662
|
+
"application/json": components["schemas"]["Error"];
|
|
193663
|
+
};
|
|
193664
|
+
};
|
|
193665
|
+
/** @description No `payment_intent_id`, or the order cannot be paid. */
|
|
193666
|
+
422: {
|
|
193667
|
+
headers: {
|
|
193668
|
+
[name: string]: unknown;
|
|
193669
|
+
};
|
|
193670
|
+
content: {
|
|
193671
|
+
"application/json": components["schemas"]["Error"];
|
|
193672
|
+
};
|
|
193673
|
+
};
|
|
193674
|
+
429: components["responses"]["TooManyRequests"];
|
|
193675
|
+
};
|
|
193676
|
+
};
|
|
193308
193677
|
openOrderCustomerAction: {
|
|
193309
193678
|
parameters: {
|
|
193310
193679
|
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.1950",
|
|
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>",
|