@final-commerce/common 2.8.0-preprod.2 → 2.9.0-staging.1
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 +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +1 -0
- package/dist/pos-types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -372,6 +372,16 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
|
372
372
|
InvoiceStatus2["EXPIRED"] = "expired";
|
|
373
373
|
return InvoiceStatus2;
|
|
374
374
|
})(InvoiceStatus || {});
|
|
375
|
+
var HttpMethod = /* @__PURE__ */ ((HttpMethod2) => {
|
|
376
|
+
HttpMethod2["GET"] = "GET";
|
|
377
|
+
HttpMethod2["POST"] = "POST";
|
|
378
|
+
HttpMethod2["PUT"] = "PUT";
|
|
379
|
+
HttpMethod2["PATCH"] = "PATCH";
|
|
380
|
+
HttpMethod2["DELETE"] = "DELETE";
|
|
381
|
+
HttpMethod2["HEAD"] = "HEAD";
|
|
382
|
+
HttpMethod2["OPTIONS"] = "OPTIONS";
|
|
383
|
+
return HttpMethod2;
|
|
384
|
+
})(HttpMethod || {});
|
|
375
385
|
|
|
376
386
|
// enums/stripe-currencies.enum.ts
|
|
377
387
|
var StripeCurrencyCode = /* @__PURE__ */ ((StripeCurrencyCode2) => {
|
|
@@ -486,6 +496,29 @@ var ResourceAvailabilityState = /* @__PURE__ */ ((ResourceAvailabilityState2) =>
|
|
|
486
496
|
return ResourceAvailabilityState2;
|
|
487
497
|
})(ResourceAvailabilityState || {});
|
|
488
498
|
|
|
499
|
+
// enums/sales-line.enum.ts
|
|
500
|
+
var SalesLineAction = /* @__PURE__ */ ((SalesLineAction2) => {
|
|
501
|
+
SalesLineAction2["SALE"] = "sale";
|
|
502
|
+
SalesLineAction2["REFUND"] = "refund";
|
|
503
|
+
return SalesLineAction2;
|
|
504
|
+
})(SalesLineAction || {});
|
|
505
|
+
var SalesLineSourceArray = /* @__PURE__ */ ((SalesLineSourceArray2) => {
|
|
506
|
+
SalesLineSourceArray2["LINE_ITEMS"] = "lineItems";
|
|
507
|
+
SalesLineSourceArray2["RESERVATIONS"] = "reservations";
|
|
508
|
+
SalesLineSourceArray2["CUSTOM_SALES"] = "customSales";
|
|
509
|
+
return SalesLineSourceArray2;
|
|
510
|
+
})(SalesLineSourceArray || {});
|
|
511
|
+
var ProductSalesChartStep = /* @__PURE__ */ ((ProductSalesChartStep2) => {
|
|
512
|
+
ProductSalesChartStep2["DAY"] = "day";
|
|
513
|
+
ProductSalesChartStep2["MONTH"] = "month";
|
|
514
|
+
return ProductSalesChartStep2;
|
|
515
|
+
})(ProductSalesChartStep || {});
|
|
516
|
+
var ProductSalesReportCompare = /* @__PURE__ */ ((ProductSalesReportCompare2) => {
|
|
517
|
+
ProductSalesReportCompare2["PREVIOUS"] = "previous";
|
|
518
|
+
ProductSalesReportCompare2["YEAR"] = "year";
|
|
519
|
+
return ProductSalesReportCompare2;
|
|
520
|
+
})(ProductSalesReportCompare || {});
|
|
521
|
+
|
|
489
522
|
// utils/currency.util.ts
|
|
490
523
|
var CURRENCY_CONFIG = {
|
|
491
524
|
// Major currencies with 2 decimal places
|
|
@@ -3677,6 +3710,7 @@ export {
|
|
|
3677
3710
|
FINANCIAL_INVARIANTS,
|
|
3678
3711
|
FULFILLMENT_STATES,
|
|
3679
3712
|
FeesCustomBillingStatus,
|
|
3713
|
+
HttpMethod,
|
|
3680
3714
|
InventoryBaseActionEnum,
|
|
3681
3715
|
InventorySpecificActionType,
|
|
3682
3716
|
InvoiceStatus,
|
|
@@ -3703,6 +3737,8 @@ export {
|
|
|
3703
3737
|
PricingLevel,
|
|
3704
3738
|
PricingPlanEnum,
|
|
3705
3739
|
PricingRegionEnum,
|
|
3740
|
+
ProductSalesChartStep,
|
|
3741
|
+
ProductSalesReportCompare,
|
|
3706
3742
|
ProductStatus,
|
|
3707
3743
|
ProductType,
|
|
3708
3744
|
PublicationAvailability,
|
|
@@ -3721,6 +3757,8 @@ export {
|
|
|
3721
3757
|
SYSTEM_FAMILY_IDS,
|
|
3722
3758
|
SYSTEM_UNITS,
|
|
3723
3759
|
SYSTEM_UNIT_IDS,
|
|
3760
|
+
SalesLineAction,
|
|
3761
|
+
SalesLineSourceArray,
|
|
3724
3762
|
StationStatus,
|
|
3725
3763
|
StripeCurrencyCode,
|
|
3726
3764
|
StripeStatus,
|