@verma-consulting/common-library 0.1.53 → 0.1.55
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/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -196,8 +196,12 @@ var shippingServiceLevel = /* @__PURE__ */ ((shippingServiceLevel2) => {
|
|
|
196
196
|
return shippingServiceLevel2;
|
|
197
197
|
})(shippingServiceLevel || {});
|
|
198
198
|
var financialStatus = /* @__PURE__ */ ((financialStatus2) => {
|
|
199
|
+
financialStatus2["pending"] = "pending";
|
|
199
200
|
financialStatus2["authorized"] = "authorized";
|
|
200
|
-
financialStatus2["
|
|
201
|
+
financialStatus2["partially_paid"] = "partially_paid";
|
|
202
|
+
financialStatus2["paid"] = "paid";
|
|
203
|
+
financialStatus2["partially_refunded"] = "partially_refunded";
|
|
204
|
+
financialStatus2["refunded"] = "refunded";
|
|
201
205
|
financialStatus2["voided"] = "voided";
|
|
202
206
|
return financialStatus2;
|
|
203
207
|
})(financialStatus || {});
|
|
@@ -2326,9 +2330,9 @@ var defaults = {
|
|
|
2326
2330
|
description: "",
|
|
2327
2331
|
status: "Ready",
|
|
2328
2332
|
orderNumber: "",
|
|
2329
|
-
fulfillmentStatus: "",
|
|
2330
|
-
paymentStatus: "",
|
|
2331
|
-
financialStatus: "",
|
|
2333
|
+
fulfillmentStatus: "unfulfilled",
|
|
2334
|
+
paymentStatus: "unpaid",
|
|
2335
|
+
financialStatus: "pending",
|
|
2332
2336
|
subtotalAmount: 0,
|
|
2333
2337
|
taxAmount: 0,
|
|
2334
2338
|
shippingAmount: 0,
|
|
@@ -2394,11 +2398,12 @@ var defaults = {
|
|
|
2394
2398
|
amountReceived: 0,
|
|
2395
2399
|
applicationFeeAmount: 0,
|
|
2396
2400
|
cancellationReason: "",
|
|
2397
|
-
captureMethod: "",
|
|
2398
|
-
confirmationMethod: "",
|
|
2401
|
+
captureMethod: "automatic",
|
|
2402
|
+
confirmationMethod: "automatic",
|
|
2399
2403
|
statementDescriptor: "",
|
|
2400
2404
|
statementDescriptorSuffix: "",
|
|
2401
2405
|
calculatedStatementDescriptor: "",
|
|
2406
|
+
canceledAt: null,
|
|
2402
2407
|
confirm: false,
|
|
2403
2408
|
paid: false,
|
|
2404
2409
|
captured: false,
|
|
@@ -2476,7 +2481,7 @@ var defaults = {
|
|
|
2476
2481
|
status: "Ready",
|
|
2477
2482
|
currency: "usd",
|
|
2478
2483
|
disputeStatus: "warning_needs_response",
|
|
2479
|
-
reason: "",
|
|
2484
|
+
reason: "general",
|
|
2480
2485
|
amount: 0,
|
|
2481
2486
|
isChargeRefundable: false,
|
|
2482
2487
|
livemode: false,
|