@commercengine/pos 0.4.0 → 0.4.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.
@@ -1832,70 +1832,70 @@ interface operations {
1832
1832
  }
1833
1833
  //#endregion
1834
1834
  //#region src/types/admin-pos-api-types.d.ts
1835
- type AppliedCoupon = components['schemas']['AppliedCoupon'];
1836
- type AppliedPromotion = components['schemas']['AppliedPromotion'];
1837
- type BankTransfer = components['schemas']['BankTransfer'];
1838
- type BusinessInfo = components['schemas']['BusinessInfo'];
1839
- type CardPayment = components['schemas']['CardPayment'];
1840
- type CheckInventoryResponse = components['schemas']['CheckInventoryResponse'];
1841
- type CollectInStoreFulfillment = components['schemas']['CollectInStoreFulfillment'];
1842
- type Customer = components['schemas']['Customer'];
1843
- type CustomerAddress = components['schemas']['CustomerAddress'];
1844
- type CustomerDetail = components['schemas']['CustomerDetail'];
1845
- type CustomerInfo = components['schemas']['CustomerInfo'];
1846
- type CustomerLoyalty = components['schemas']['CustomerLoyalty'];
1847
- type CustomerSegment = components['schemas']['CustomerSegment'];
1848
- type CustomerStatus = components['schemas']['CustomerStatus'];
1849
- type DeliveryFulfillment = components['schemas']['DeliveryFulfillment'];
1850
- type FulfillmentItem = components['schemas']['FulfillmentItem'];
1851
- type FulfillmentPreference = components['schemas']['FulfillmentPreference'];
1852
- type InventoryAction = components['schemas']['InventoryAction'];
1853
- type InventoryActivity = components['schemas']['InventoryActivity'];
1854
- type InventoryDetail = components['schemas']['InventoryDetail'];
1855
- type InventoryStatus = components['schemas']['InventoryStatus'];
1856
- type Invoice = components['schemas']['Invoice'];
1857
- type InvoiceDetail = components['schemas']['InvoiceDetail'];
1858
- type InvoiceItem = components['schemas']['InvoiceItem'];
1859
- type ItemWiseInventory = components['schemas']['ItemWiseInventory'];
1860
- type KycStatus = components['schemas']['KycStatus'];
1861
- type LotBatchWiseInventory = components['schemas']['LotBatchWiseInventory'];
1862
- type LoyaltyPointPayment = components['schemas']['LoyaltyPointPayment'];
1863
- type NetbankingPayment = components['schemas']['NetbankingPayment'];
1864
- type NotificationChannelPreferences = components['schemas']['NotificationChannelPreferences'];
1865
- type NotificationPreferences = components['schemas']['NotificationPreferences'];
1866
- type OpeningHours = components['schemas']['OpeningHours'];
1867
- type Order = components['schemas']['Order'];
1868
- type OrderAction = components['schemas']['OrderAction'];
1869
- type OrderActivity = components['schemas']['OrderActivity'];
1870
- type OrderDetail = components['schemas']['OrderDetail'];
1871
- type OrderItem = components['schemas']['OrderItem'];
1872
- type OrderList = components['schemas']['OrderList'];
1873
- type OrderPayment = components['schemas']['OrderPayment'];
1874
- type OrderPaymentInfo = components['schemas']['OrderPaymentInfo'];
1875
- type OrderReceiptJsonFormat = components['schemas']['OrderReceiptJsonFormat'];
1876
- type OrderShipment = components['schemas']['OrderShipment'];
1877
- type OrderShipmentDetail = components['schemas']['OrderShipmentDetail'];
1878
- type OrderStatus = components['schemas']['OrderStatus'];
1879
- type Pagination = components['schemas']['Pagination'];
1880
- type PartialCollectAndDelivery = components['schemas']['PartialCollectAndDelivery'];
1881
- type PaymentStatus = components['schemas']['PaymentStatus'];
1882
- type ProductImage = components['schemas']['ProductImage'];
1883
- type Shipment = components['schemas']['Shipment'];
1884
- type ShipmentAction = components['schemas']['ShipmentAction'];
1885
- type ShipmentActivity = components['schemas']['ShipmentActivity'];
1886
- type ShipmentBox = components['schemas']['ShipmentBox'];
1887
- type ShipmentDetail = components['schemas']['ShipmentDetail'];
1888
- type ShipmentInfo = components['schemas']['ShipmentInfo'];
1889
- type ShipmentItem = components['schemas']['ShipmentItem'];
1890
- type ShipmentList = components['schemas']['ShipmentList'];
1891
- type ShipmentPackaging = components['schemas']['ShipmentPackaging'];
1892
- type ShipmentProgression = components['schemas']['ShipmentProgression'];
1893
- type ShipmentStatus = components['schemas']['ShipmentStatus'];
1894
- type UpiPayment = components['schemas']['UpiPayment'];
1895
- type WalletPayment = components['schemas']['WalletPayment'];
1896
- type Warehouse = components['schemas']['Warehouse'];
1897
- type WarehouseBasicDetail = components['schemas']['WarehouseBasicDetail'];
1898
- type WarehouseWiseInventory = components['schemas']['WarehouseWiseInventory'];
1835
+ type AppliedCoupon = Readable<components['schemas']['AppliedCoupon']>;
1836
+ type AppliedPromotion = Readable<components['schemas']['AppliedPromotion']>;
1837
+ type BankTransfer = Readable<components['schemas']['BankTransfer']>;
1838
+ type BusinessInfo = Readable<components['schemas']['BusinessInfo']>;
1839
+ type CardPayment = Readable<components['schemas']['CardPayment']>;
1840
+ type CheckInventoryResponse = Readable<components['schemas']['CheckInventoryResponse']>;
1841
+ type CollectInStoreFulfillment = Readable<components['schemas']['CollectInStoreFulfillment']>;
1842
+ type Customer = Readable<components['schemas']['Customer']>;
1843
+ type CustomerAddress = Readable<components['schemas']['CustomerAddress']>;
1844
+ type CustomerDetail = Readable<components['schemas']['CustomerDetail']>;
1845
+ type CustomerInfo = Readable<components['schemas']['CustomerInfo']>;
1846
+ type CustomerLoyalty = Readable<components['schemas']['CustomerLoyalty']>;
1847
+ type CustomerSegment = Readable<components['schemas']['CustomerSegment']>;
1848
+ type CustomerStatus = Readable<components['schemas']['CustomerStatus']>;
1849
+ type DeliveryFulfillment = Readable<components['schemas']['DeliveryFulfillment']>;
1850
+ type FulfillmentItem = Readable<components['schemas']['FulfillmentItem']>;
1851
+ type FulfillmentPreference = Readable<components['schemas']['FulfillmentPreference']>;
1852
+ type InventoryAction = Readable<components['schemas']['InventoryAction']>;
1853
+ type InventoryActivity = Readable<components['schemas']['InventoryActivity']>;
1854
+ type InventoryDetail = Readable<components['schemas']['InventoryDetail']>;
1855
+ type InventoryStatus = Readable<components['schemas']['InventoryStatus']>;
1856
+ type Invoice = Readable<components['schemas']['Invoice']>;
1857
+ type InvoiceDetail = Readable<components['schemas']['InvoiceDetail']>;
1858
+ type InvoiceItem = Readable<components['schemas']['InvoiceItem']>;
1859
+ type ItemWiseInventory = Readable<components['schemas']['ItemWiseInventory']>;
1860
+ type KycStatus = Readable<components['schemas']['KycStatus']>;
1861
+ type LotBatchWiseInventory = Readable<components['schemas']['LotBatchWiseInventory']>;
1862
+ type LoyaltyPointPayment = Readable<components['schemas']['LoyaltyPointPayment']>;
1863
+ type NetbankingPayment = Readable<components['schemas']['NetbankingPayment']>;
1864
+ type NotificationChannelPreferences = Readable<components['schemas']['NotificationChannelPreferences']>;
1865
+ type NotificationPreferences = Readable<components['schemas']['NotificationPreferences']>;
1866
+ type OpeningHours = Readable<components['schemas']['OpeningHours']>;
1867
+ type Order = Readable<components['schemas']['Order']>;
1868
+ type OrderAction = Readable<components['schemas']['OrderAction']>;
1869
+ type OrderActivity = Readable<components['schemas']['OrderActivity']>;
1870
+ type OrderDetail = Readable<components['schemas']['OrderDetail']>;
1871
+ type OrderItem = Readable<components['schemas']['OrderItem']>;
1872
+ type OrderList = Readable<components['schemas']['OrderList']>;
1873
+ type OrderPayment = Readable<components['schemas']['OrderPayment']>;
1874
+ type OrderPaymentInfo = Readable<components['schemas']['OrderPaymentInfo']>;
1875
+ type OrderReceiptJsonFormat = Readable<components['schemas']['OrderReceiptJsonFormat']>;
1876
+ type OrderShipment = Readable<components['schemas']['OrderShipment']>;
1877
+ type OrderShipmentDetail = Readable<components['schemas']['OrderShipmentDetail']>;
1878
+ type OrderStatus = Readable<components['schemas']['OrderStatus']>;
1879
+ type Pagination = Readable<components['schemas']['Pagination']>;
1880
+ type PartialCollectAndDelivery = Readable<components['schemas']['PartialCollectAndDelivery']>;
1881
+ type PaymentStatus = Readable<components['schemas']['PaymentStatus']>;
1882
+ type ProductImage = Readable<components['schemas']['ProductImage']>;
1883
+ type Shipment = Readable<components['schemas']['Shipment']>;
1884
+ type ShipmentAction = Readable<components['schemas']['ShipmentAction']>;
1885
+ type ShipmentActivity = Readable<components['schemas']['ShipmentActivity']>;
1886
+ type ShipmentBox = Readable<components['schemas']['ShipmentBox']>;
1887
+ type ShipmentDetail = Readable<components['schemas']['ShipmentDetail']>;
1888
+ type ShipmentInfo = Readable<components['schemas']['ShipmentInfo']>;
1889
+ type ShipmentItem = Readable<components['schemas']['ShipmentItem']>;
1890
+ type ShipmentList = Readable<components['schemas']['ShipmentList']>;
1891
+ type ShipmentPackaging = Readable<components['schemas']['ShipmentPackaging']>;
1892
+ type ShipmentProgression = Readable<components['schemas']['ShipmentProgression']>;
1893
+ type ShipmentStatus = Readable<components['schemas']['ShipmentStatus']>;
1894
+ type UpiPayment = Readable<components['schemas']['UpiPayment']>;
1895
+ type WalletPayment = Readable<components['schemas']['WalletPayment']>;
1896
+ type Warehouse = Readable<components['schemas']['Warehouse']>;
1897
+ type WarehouseBasicDetail = Readable<components['schemas']['WarehouseBasicDetail']>;
1898
+ type WarehouseWiseInventory = Readable<components['schemas']['WarehouseWiseInventory']>;
1899
1899
  type PosListInventoryResponse = Readable<paths['/pos/catalog/inventories']['get']['responses'][200]['content']['application/json']>;
1900
1900
  type PosListInventoryContent = PosListInventoryResponse['content'];
1901
1901
  type PosListInventoryQuery = paths['/pos/catalog/inventories']['get']['parameters']['query'];
package/dist/index.d.mts CHANGED
@@ -6490,116 +6490,116 @@ declare enum Environment {
6490
6490
  }
6491
6491
  //#endregion
6492
6492
  //#region src/types/pos-api-types.d.ts
6493
- type AcceleratedRewardCouponPromotion = components['schemas']['AcceleratedRewardCouponPromotion'];
6494
- type AcceleratedRewardRule = components['schemas']['AcceleratedRewardRule'];
6495
- type AdditionalProductDetails = components['schemas']['AdditionalProductDetails'];
6496
- type ApplicableCoupon = components['schemas']['ApplicableCoupon'];
6497
- type ApplicablePromotion = components['schemas']['ApplicablePromotion'];
6498
- type AppliedCoupon = components['schemas']['AppliedCoupon'];
6499
- type AppliedPromotion = components['schemas']['AppliedPromotion'];
6500
- type AssociatedOption = components['schemas']['AssociatedOption'];
6501
- type AutoScaleBasedOnAmount = components['schemas']['AutoScaleBasedOnAmount'];
6502
- type AutoScaleBasedOnQuantity = components['schemas']['AutoScaleBasedOnQuantity'];
6503
- type BankTransfer = components['schemas']['BankTransfer'];
6504
- type BooleanAttribute = components['schemas']['BooleanAttribute'];
6505
- type BuyXGetYCouponPromotion = components['schemas']['BuyXGetYCouponPromotion'];
6506
- type BuyXGetYRule = components['schemas']['BuyXGetYRule'];
6507
- type BuyXGetYRuleBasedOnAmount = components['schemas']['BuyXGetYRuleBasedOnAmount'];
6508
- type BuyXGetYRuleBasedOnQuantity = components['schemas']['BuyXGetYRuleBasedOnQuantity'];
6509
- type CardPayment = components['schemas']['CardPayment'];
6510
- type Cart = components['schemas']['Cart'];
6511
- type CartBasedFulfillmentOption = components['schemas']['CartBasedFulfillmentOption'];
6512
- type CartItem = components['schemas']['CartItem'];
6513
- type CartShipment = components['schemas']['CartShipment'];
6514
- type Category = components['schemas']['Category'];
6515
- type CollectInStore = components['schemas']['CollectInStore'];
6516
- type CollectInStoreAddress = components['schemas']['CollectInStoreAddress'];
6517
- type CollectInStoreFulfillment = components['schemas']['CollectInStoreFulfillment'];
6518
- type ColorAttribute = components['schemas']['ColorAttribute'];
6519
- type ColorOption = components['schemas']['ColorOption'];
6520
- type Coupon = components['schemas']['Coupon'];
6521
- type CouponPromotionCommonDetail = components['schemas']['CouponPromotionCommonDetail'];
6522
- type CouponType = components['schemas']['CouponType'];
6523
- type Currency = components['schemas']['Currency'];
6524
- type CustomSlabsBasedOnAmount = components['schemas']['CustomSlabsBasedOnAmount'];
6525
- type CustomSlabsBasedOnQuantity = components['schemas']['CustomSlabsBasedOnQuantity'];
6526
- type CustomerAddress = components['schemas']['CustomerAddress'];
6527
- type DateAttribute = components['schemas']['DateAttribute'];
6528
- type DeliveryFulfillment = components['schemas']['DeliveryFulfillment'];
6529
- type DeliveryOption = components['schemas']['DeliveryOption'];
6530
- type DiscountBasedPromotion = components['schemas']['DiscountBasedPromotion'];
6531
- type DiscountCouponPromotion = components['schemas']['DiscountCouponPromotion'];
6532
- type DiscountRule = components['schemas']['DiscountRule'];
6533
- type FixedAmountDiscountRule = components['schemas']['FixedAmountDiscountRule'];
6534
- type FixedPriceCouponPromotion = components['schemas']['FixedPriceCouponPromotion'];
6535
- type FixedPricePromotion = components['schemas']['FixedPricePromotion'];
6536
- type FixedPriceRule = components['schemas']['FixedPriceRule'];
6537
- type FixedPriceRuleBasedAmount = components['schemas']['FixedPriceRuleBasedAmount'];
6538
- type FixedPriceRuleBasedQuantity = components['schemas']['FixedPriceRuleBasedQuantity'];
6539
- type FreeGoodCouponPromotion = components['schemas']['FreeGoodCouponPromotion'];
6540
- type FreeGoodsPromotion = components['schemas']['FreeGoodsPromotion'];
6541
- type FreeGoodsRule = components['schemas']['FreeGoodsRule'];
6542
- type FreeShipingCouponPromotion = components['schemas']['FreeShipingCouponPromotion'];
6543
- type FulfillmentItem = components['schemas']['FulfillmentItem'];
6544
- type FulfillmentPreference = components['schemas']['FulfillmentPreference'];
6545
- type InapplicableCoupon = components['schemas']['InapplicableCoupon'];
6546
- type InapplicablePromotion = components['schemas']['InapplicablePromotion'];
6547
- type Item = components['schemas']['Item'];
6548
- type LotBatchDetail = components['schemas']['LotBatchDetail'];
6549
- type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
6550
- type NetbankingPayment = components['schemas']['NetbankingPayment'];
6551
- type NumberAttribute = components['schemas']['NumberAttribute'];
6552
- type Order = components['schemas']['Order'];
6553
- type OrderDetail = components['schemas']['OrderDetail'];
6554
- type OrderItem = components['schemas']['OrderItem'];
6555
- type OrderPayment = components['schemas']['OrderPayment'];
6556
- type OrderRefund = components['schemas']['OrderRefund'];
6557
- type OrderShipment = components['schemas']['OrderShipment'];
6558
- type Pagination = components['schemas']['Pagination'];
6559
- type PartialCollectAndDelivery = components['schemas']['PartialCollectAndDelivery'];
6560
- type PayWithCard = components['schemas']['PayWithCard'];
6561
- type PayWithCash = components['schemas']['PayWithCash'];
6562
- type PayWithUpi = components['schemas']['PayWithUpi'];
6563
- type PaymentInfo = components['schemas']['PaymentInfo'];
6564
- type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
6565
- type PosDevice = components['schemas']['PosDevice'];
6566
- type PosDeviceClaimedUser = components['schemas']['PosDeviceClaimedUser'];
6567
- type PosLocation = components['schemas']['PosLocation'];
6568
- type PosUpdateCustomerWithEmail = components['schemas']['PosUpdateCustomerWithEmail'];
6569
- type PosUpdateCustomerWithId = components['schemas']['PosUpdateCustomerWithId'];
6570
- type PosUpdateCustomerWithPhone = components['schemas']['PosUpdateCustomerWithPhone'];
6571
- type PosUser = components['schemas']['PosUser'];
6572
- type Product = components['schemas']['Product'];
6573
- type ProductAttribute = components['schemas']['ProductAttribute'];
6574
- type ProductBundleItem = components['schemas']['ProductBundleItem'];
6575
- type ProductCategory = components['schemas']['ProductCategory'];
6576
- type ProductDetail = components['schemas']['ProductDetail'];
6577
- type ProductImage = components['schemas']['ProductImage'];
6578
- type ProductPricing = components['schemas']['ProductPricing'];
6579
- type ProductPromotion = components['schemas']['ProductPromotion'];
6580
- type ProductReview = components['schemas']['ProductReview'];
6581
- type ProductShipping = components['schemas']['ProductShipping'];
6582
- type ProductSubscription = components['schemas']['ProductSubscription'];
6583
- type ProductVideo = components['schemas']['ProductVideo'];
6584
- type Promotion = components['schemas']['Promotion'];
6585
- type PromotionType = components['schemas']['PromotionType'];
6586
- type SearchProduct = components['schemas']['SearchProduct'];
6587
- type SellerInfo = components['schemas']['SellerInfo'];
6588
- type Seo = components['schemas']['Seo'];
6589
- type ShipmentItem = components['schemas']['ShipmentItem'];
6590
- type ShipmentStatus = components['schemas']['ShipmentStatus'];
6591
- type SingleSelectAttribute = components['schemas']['SingleSelectAttribute'];
6592
- type SingleSelectOption = components['schemas']['SingleSelectOption'];
6593
- type TextAttribute = components['schemas']['TextAttribute'];
6594
- type UpdateCartItem = components['schemas']['UpdateCartItem'];
6595
- type UpiPayment = components['schemas']['UpiPayment'];
6596
- type Variant = components['schemas']['Variant'];
6597
- type VariantDetail = components['schemas']['VariantDetail'];
6598
- type VariantOption = components['schemas']['VariantOption'];
6599
- type VolumeBasedCouponPromotion = components['schemas']['VolumeBasedCouponPromotion'];
6600
- type VolumeBasedPromotion = components['schemas']['VolumeBasedPromotion'];
6601
- type VolumeBasedRule = components['schemas']['VolumeBasedRule'];
6602
- type WalletPayment = components['schemas']['WalletPayment'];
6493
+ type AcceleratedRewardCouponPromotion = Readable$1<components['schemas']['AcceleratedRewardCouponPromotion']>;
6494
+ type AcceleratedRewardRule = Readable$1<components['schemas']['AcceleratedRewardRule']>;
6495
+ type AdditionalProductDetails = Readable$1<components['schemas']['AdditionalProductDetails']>;
6496
+ type ApplicableCoupon = Readable$1<components['schemas']['ApplicableCoupon']>;
6497
+ type ApplicablePromotion = Readable$1<components['schemas']['ApplicablePromotion']>;
6498
+ type AppliedCoupon = Readable$1<components['schemas']['AppliedCoupon']>;
6499
+ type AppliedPromotion = Readable$1<components['schemas']['AppliedPromotion']>;
6500
+ type AssociatedOption = Readable$1<components['schemas']['AssociatedOption']>;
6501
+ type AutoScaleBasedOnAmount = Readable$1<components['schemas']['AutoScaleBasedOnAmount']>;
6502
+ type AutoScaleBasedOnQuantity = Readable$1<components['schemas']['AutoScaleBasedOnQuantity']>;
6503
+ type BankTransfer = Readable$1<components['schemas']['BankTransfer']>;
6504
+ type BooleanAttribute = Readable$1<components['schemas']['BooleanAttribute']>;
6505
+ type BuyXGetYCouponPromotion = Readable$1<components['schemas']['BuyXGetYCouponPromotion']>;
6506
+ type BuyXGetYRule = Readable$1<components['schemas']['BuyXGetYRule']>;
6507
+ type BuyXGetYRuleBasedOnAmount = Readable$1<components['schemas']['BuyXGetYRuleBasedOnAmount']>;
6508
+ type BuyXGetYRuleBasedOnQuantity = Readable$1<components['schemas']['BuyXGetYRuleBasedOnQuantity']>;
6509
+ type CardPayment = Readable$1<components['schemas']['CardPayment']>;
6510
+ type Cart = Readable$1<components['schemas']['Cart']>;
6511
+ type CartBasedFulfillmentOption = Readable$1<components['schemas']['CartBasedFulfillmentOption']>;
6512
+ type CartItem = Readable$1<components['schemas']['CartItem']>;
6513
+ type CartShipment = Readable$1<components['schemas']['CartShipment']>;
6514
+ type Category = Readable$1<components['schemas']['Category']>;
6515
+ type CollectInStore = Readable$1<components['schemas']['CollectInStore']>;
6516
+ type CollectInStoreAddress = Readable$1<components['schemas']['CollectInStoreAddress']>;
6517
+ type CollectInStoreFulfillment = Readable$1<components['schemas']['CollectInStoreFulfillment']>;
6518
+ type ColorAttribute = Readable$1<components['schemas']['ColorAttribute']>;
6519
+ type ColorOption = Readable$1<components['schemas']['ColorOption']>;
6520
+ type Coupon = Readable$1<components['schemas']['Coupon']>;
6521
+ type CouponPromotionCommonDetail = Readable$1<components['schemas']['CouponPromotionCommonDetail']>;
6522
+ type CouponType = Readable$1<components['schemas']['CouponType']>;
6523
+ type Currency = Readable$1<components['schemas']['Currency']>;
6524
+ type CustomSlabsBasedOnAmount = Readable$1<components['schemas']['CustomSlabsBasedOnAmount']>;
6525
+ type CustomSlabsBasedOnQuantity = Readable$1<components['schemas']['CustomSlabsBasedOnQuantity']>;
6526
+ type CustomerAddress = Readable$1<components['schemas']['CustomerAddress']>;
6527
+ type DateAttribute = Readable$1<components['schemas']['DateAttribute']>;
6528
+ type DeliveryFulfillment = Readable$1<components['schemas']['DeliveryFulfillment']>;
6529
+ type DeliveryOption = Readable$1<components['schemas']['DeliveryOption']>;
6530
+ type DiscountBasedPromotion = Readable$1<components['schemas']['DiscountBasedPromotion']>;
6531
+ type DiscountCouponPromotion = Readable$1<components['schemas']['DiscountCouponPromotion']>;
6532
+ type DiscountRule = Readable$1<components['schemas']['DiscountRule']>;
6533
+ type FixedAmountDiscountRule = Readable$1<components['schemas']['FixedAmountDiscountRule']>;
6534
+ type FixedPriceCouponPromotion = Readable$1<components['schemas']['FixedPriceCouponPromotion']>;
6535
+ type FixedPricePromotion = Readable$1<components['schemas']['FixedPricePromotion']>;
6536
+ type FixedPriceRule = Readable$1<components['schemas']['FixedPriceRule']>;
6537
+ type FixedPriceRuleBasedAmount = Readable$1<components['schemas']['FixedPriceRuleBasedAmount']>;
6538
+ type FixedPriceRuleBasedQuantity = Readable$1<components['schemas']['FixedPriceRuleBasedQuantity']>;
6539
+ type FreeGoodCouponPromotion = Readable$1<components['schemas']['FreeGoodCouponPromotion']>;
6540
+ type FreeGoodsPromotion = Readable$1<components['schemas']['FreeGoodsPromotion']>;
6541
+ type FreeGoodsRule = Readable$1<components['schemas']['FreeGoodsRule']>;
6542
+ type FreeShipingCouponPromotion = Readable$1<components['schemas']['FreeShipingCouponPromotion']>;
6543
+ type FulfillmentItem = Readable$1<components['schemas']['FulfillmentItem']>;
6544
+ type FulfillmentPreference = Readable$1<components['schemas']['FulfillmentPreference']>;
6545
+ type InapplicableCoupon = Readable$1<components['schemas']['InapplicableCoupon']>;
6546
+ type InapplicablePromotion = Readable$1<components['schemas']['InapplicablePromotion']>;
6547
+ type Item = Readable$1<components['schemas']['Item']>;
6548
+ type LotBatchDetail = Readable$1<components['schemas']['LotBatchDetail']>;
6549
+ type MultiSelectAttribute = Readable$1<components['schemas']['MultiSelectAttribute']>;
6550
+ type NetbankingPayment = Readable$1<components['schemas']['NetbankingPayment']>;
6551
+ type NumberAttribute = Readable$1<components['schemas']['NumberAttribute']>;
6552
+ type Order = Readable$1<components['schemas']['Order']>;
6553
+ type OrderDetail = Readable$1<components['schemas']['OrderDetail']>;
6554
+ type OrderItem = Readable$1<components['schemas']['OrderItem']>;
6555
+ type OrderPayment = Readable$1<components['schemas']['OrderPayment']>;
6556
+ type OrderRefund = Readable$1<components['schemas']['OrderRefund']>;
6557
+ type OrderShipment = Readable$1<components['schemas']['OrderShipment']>;
6558
+ type Pagination = Readable$1<components['schemas']['Pagination']>;
6559
+ type PartialCollectAndDelivery = Readable$1<components['schemas']['PartialCollectAndDelivery']>;
6560
+ type PayWithCard = Readable$1<components['schemas']['PayWithCard']>;
6561
+ type PayWithCash = Readable$1<components['schemas']['PayWithCash']>;
6562
+ type PayWithUpi = Readable$1<components['schemas']['PayWithUpi']>;
6563
+ type PaymentInfo = Readable$1<components['schemas']['PaymentInfo']>;
6564
+ type PercentageDiscountRule = Readable$1<components['schemas']['PercentageDiscountRule']>;
6565
+ type PosDevice = Readable$1<components['schemas']['PosDevice']>;
6566
+ type PosDeviceClaimedUser = Readable$1<components['schemas']['PosDeviceClaimedUser']>;
6567
+ type PosLocation = Readable$1<components['schemas']['PosLocation']>;
6568
+ type PosUpdateCustomerWithEmail = Readable$1<components['schemas']['PosUpdateCustomerWithEmail']>;
6569
+ type PosUpdateCustomerWithId = Readable$1<components['schemas']['PosUpdateCustomerWithId']>;
6570
+ type PosUpdateCustomerWithPhone = Readable$1<components['schemas']['PosUpdateCustomerWithPhone']>;
6571
+ type PosUser = Readable$1<components['schemas']['PosUser']>;
6572
+ type Product = Readable$1<components['schemas']['Product']>;
6573
+ type ProductAttribute = Readable$1<components['schemas']['ProductAttribute']>;
6574
+ type ProductBundleItem = Readable$1<components['schemas']['ProductBundleItem']>;
6575
+ type ProductCategory = Readable$1<components['schemas']['ProductCategory']>;
6576
+ type ProductDetail = Readable$1<components['schemas']['ProductDetail']>;
6577
+ type ProductImage = Readable$1<components['schemas']['ProductImage']>;
6578
+ type ProductPricing = Readable$1<components['schemas']['ProductPricing']>;
6579
+ type ProductPromotion = Readable$1<components['schemas']['ProductPromotion']>;
6580
+ type ProductReview = Readable$1<components['schemas']['ProductReview']>;
6581
+ type ProductShipping = Readable$1<components['schemas']['ProductShipping']>;
6582
+ type ProductSubscription = Readable$1<components['schemas']['ProductSubscription']>;
6583
+ type ProductVideo = Readable$1<components['schemas']['ProductVideo']>;
6584
+ type Promotion = Readable$1<components['schemas']['Promotion']>;
6585
+ type PromotionType = Readable$1<components['schemas']['PromotionType']>;
6586
+ type SearchProduct = Readable$1<components['schemas']['SearchProduct']>;
6587
+ type SellerInfo = Readable$1<components['schemas']['SellerInfo']>;
6588
+ type Seo = Readable$1<components['schemas']['Seo']>;
6589
+ type ShipmentItem = Readable$1<components['schemas']['ShipmentItem']>;
6590
+ type ShipmentStatus = Readable$1<components['schemas']['ShipmentStatus']>;
6591
+ type SingleSelectAttribute = Readable$1<components['schemas']['SingleSelectAttribute']>;
6592
+ type SingleSelectOption = Readable$1<components['schemas']['SingleSelectOption']>;
6593
+ type TextAttribute = Readable$1<components['schemas']['TextAttribute']>;
6594
+ type UpdateCartItem = Readable$1<components['schemas']['UpdateCartItem']>;
6595
+ type UpiPayment = Readable$1<components['schemas']['UpiPayment']>;
6596
+ type Variant = Readable$1<components['schemas']['Variant']>;
6597
+ type VariantDetail = Readable$1<components['schemas']['VariantDetail']>;
6598
+ type VariantOption = Readable$1<components['schemas']['VariantOption']>;
6599
+ type VolumeBasedCouponPromotion = Readable$1<components['schemas']['VolumeBasedCouponPromotion']>;
6600
+ type VolumeBasedPromotion = Readable$1<components['schemas']['VolumeBasedPromotion']>;
6601
+ type VolumeBasedRule = Readable$1<components['schemas']['VolumeBasedRule']>;
6602
+ type WalletPayment = Readable$1<components['schemas']['WalletPayment']>;
6603
6603
  type LoginPosDeviceWithEmailResponse = Readable$1<paths['/pos/auth/login/email']['post']['responses'][200]['content']['application/json']>;
6604
6604
  type LoginPosDeviceWithEmailContent = LoginPosDeviceWithEmailResponse['content'];
6605
6605
  type LoginPosDeviceWithEmailHeaderParams = paths['/pos/auth/login/email']['post']['parameters']['header'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercengine/pos",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "TypeScript SDK for the POS API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -51,6 +51,7 @@
51
51
  "generate-typed-exports": "python3 src/types/generate-typed-exports.py --openapi-url ./openapi/storefront/pos.openapi.json --input src/types/pos.d.ts --output src/types/pos-api-types.ts && python3 src/types/generate-typed-exports.py --openapi-url ./openapi/admin/pos.openapi.json --input src/types/admin-pos.d.ts --output src/types/admin-pos-api-types.ts",
52
52
  "codegen": "pnpm run generate-storefront-pos-spec && pnpm run generate-admin-pos-spec && pnpm run generate-types && pnpm run generate-typed-exports",
53
53
  "clean": "rimraf dist",
54
- "check-exports": "attw --pack ."
54
+ "check-exports": "attw --pack .",
55
+ "typecheck": "tsc --noEmit"
55
56
  }
56
57
  }