@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.d.mts
CHANGED
|
@@ -1612,8 +1612,12 @@ declare enum shippingServiceLevel {
|
|
|
1612
1612
|
ground = "ground"
|
|
1613
1613
|
}
|
|
1614
1614
|
declare enum financialStatus {
|
|
1615
|
+
pending = "pending",
|
|
1615
1616
|
authorized = "authorized",
|
|
1616
|
-
|
|
1617
|
+
partially_paid = "partially_paid",
|
|
1618
|
+
paid = "paid",
|
|
1619
|
+
partially_refunded = "partially_refunded",
|
|
1620
|
+
refunded = "refunded",
|
|
1617
1621
|
voided = "voided"
|
|
1618
1622
|
}
|
|
1619
1623
|
declare enum fulfillmentStatus {
|
|
@@ -3057,6 +3061,7 @@ declare const defaults: {
|
|
|
3057
3061
|
statementDescriptor: string;
|
|
3058
3062
|
statementDescriptorSuffix: string;
|
|
3059
3063
|
calculatedStatementDescriptor: string;
|
|
3064
|
+
canceledAt: null;
|
|
3060
3065
|
confirm: boolean;
|
|
3061
3066
|
paid: boolean;
|
|
3062
3067
|
captured: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1612,8 +1612,12 @@ declare enum shippingServiceLevel {
|
|
|
1612
1612
|
ground = "ground"
|
|
1613
1613
|
}
|
|
1614
1614
|
declare enum financialStatus {
|
|
1615
|
+
pending = "pending",
|
|
1615
1616
|
authorized = "authorized",
|
|
1616
|
-
|
|
1617
|
+
partially_paid = "partially_paid",
|
|
1618
|
+
paid = "paid",
|
|
1619
|
+
partially_refunded = "partially_refunded",
|
|
1620
|
+
refunded = "refunded",
|
|
1617
1621
|
voided = "voided"
|
|
1618
1622
|
}
|
|
1619
1623
|
declare enum fulfillmentStatus {
|
|
@@ -3057,6 +3061,7 @@ declare const defaults: {
|
|
|
3057
3061
|
statementDescriptor: string;
|
|
3058
3062
|
statementDescriptorSuffix: string;
|
|
3059
3063
|
calculatedStatementDescriptor: string;
|
|
3064
|
+
canceledAt: null;
|
|
3060
3065
|
confirm: boolean;
|
|
3061
3066
|
paid: boolean;
|
|
3062
3067
|
captured: boolean;
|
package/dist/index.js
CHANGED
|
@@ -313,8 +313,12 @@ var shippingServiceLevel = /* @__PURE__ */ ((shippingServiceLevel2) => {
|
|
|
313
313
|
return shippingServiceLevel2;
|
|
314
314
|
})(shippingServiceLevel || {});
|
|
315
315
|
var financialStatus = /* @__PURE__ */ ((financialStatus2) => {
|
|
316
|
+
financialStatus2["pending"] = "pending";
|
|
316
317
|
financialStatus2["authorized"] = "authorized";
|
|
317
|
-
financialStatus2["
|
|
318
|
+
financialStatus2["partially_paid"] = "partially_paid";
|
|
319
|
+
financialStatus2["paid"] = "paid";
|
|
320
|
+
financialStatus2["partially_refunded"] = "partially_refunded";
|
|
321
|
+
financialStatus2["refunded"] = "refunded";
|
|
318
322
|
financialStatus2["voided"] = "voided";
|
|
319
323
|
return financialStatus2;
|
|
320
324
|
})(financialStatus || {});
|
|
@@ -2443,9 +2447,9 @@ var defaults = {
|
|
|
2443
2447
|
description: "",
|
|
2444
2448
|
status: "Ready",
|
|
2445
2449
|
orderNumber: "",
|
|
2446
|
-
fulfillmentStatus: "",
|
|
2447
|
-
paymentStatus: "",
|
|
2448
|
-
financialStatus: "",
|
|
2450
|
+
fulfillmentStatus: "unfulfilled",
|
|
2451
|
+
paymentStatus: "unpaid",
|
|
2452
|
+
financialStatus: "pending",
|
|
2449
2453
|
subtotalAmount: 0,
|
|
2450
2454
|
taxAmount: 0,
|
|
2451
2455
|
shippingAmount: 0,
|
|
@@ -2511,11 +2515,12 @@ var defaults = {
|
|
|
2511
2515
|
amountReceived: 0,
|
|
2512
2516
|
applicationFeeAmount: 0,
|
|
2513
2517
|
cancellationReason: "",
|
|
2514
|
-
captureMethod: "",
|
|
2515
|
-
confirmationMethod: "",
|
|
2518
|
+
captureMethod: "automatic",
|
|
2519
|
+
confirmationMethod: "automatic",
|
|
2516
2520
|
statementDescriptor: "",
|
|
2517
2521
|
statementDescriptorSuffix: "",
|
|
2518
2522
|
calculatedStatementDescriptor: "",
|
|
2523
|
+
canceledAt: null,
|
|
2519
2524
|
confirm: false,
|
|
2520
2525
|
paid: false,
|
|
2521
2526
|
captured: false,
|
|
@@ -2593,7 +2598,7 @@ var defaults = {
|
|
|
2593
2598
|
status: "Ready",
|
|
2594
2599
|
currency: "usd",
|
|
2595
2600
|
disputeStatus: "warning_needs_response",
|
|
2596
|
-
reason: "",
|
|
2601
|
+
reason: "general",
|
|
2597
2602
|
amount: 0,
|
|
2598
2603
|
isChargeRefundable: false,
|
|
2599
2604
|
livemode: false,
|