@commercengine/pos 0.5.0 → 0.6.0
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 +40 -1
- package/dist/index.mjs +3045 -2955
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -10818,8 +10818,45 @@ interface AuthLockManager {
|
|
|
10818
10818
|
request<T>(name: string, options: {
|
|
10819
10819
|
mode: "exclusive";
|
|
10820
10820
|
ifAvailable?: boolean;
|
|
10821
|
+
signal?: AbortSignal;
|
|
10821
10822
|
}, callback: (lock?: unknown | null) => Promise<T> | T): Promise<T>;
|
|
10822
10823
|
}
|
|
10824
|
+
/**
|
|
10825
|
+
* A refresh the server answered, and refused — or one that could not even be
|
|
10826
|
+
* asked, because the refresh token itself has expired.
|
|
10827
|
+
*
|
|
10828
|
+
* Only this ends a session. Everything else a refresh can run into — no
|
|
10829
|
+
* network, a gateway timeout, a 5xx, a response that would not parse — says
|
|
10830
|
+
* nothing about whether the session is still good, so the tokens are kept
|
|
10831
|
+
* and the next request tries again. A refresh handler an app installs
|
|
10832
|
+
* (`setRefreshHandler`) says "refused" by throwing this, or any error with
|
|
10833
|
+
* the same `name` and shape: the check is by shape, not by class, so an app
|
|
10834
|
+
* on an older package can speak the contract.
|
|
10835
|
+
*/
|
|
10836
|
+
declare class RefreshRejectedError extends Error {
|
|
10837
|
+
readonly status: number | null;
|
|
10838
|
+
readonly reason: "rejected" | "expired";
|
|
10839
|
+
constructor(detail: {
|
|
10840
|
+
status?: number;
|
|
10841
|
+
reason?: "rejected" | "expired";
|
|
10842
|
+
});
|
|
10843
|
+
}
|
|
10844
|
+
/**
|
|
10845
|
+
* A refresh that could not complete — no network, a timeout, a 5xx, a body
|
|
10846
|
+
* that would not parse. Wrapped so a caller can tell it from a lost lease or
|
|
10847
|
+
* a failed store: those are not the refresh's fault, and a request that
|
|
10848
|
+
* would otherwise go out on the API key alone must stay closed for them.
|
|
10849
|
+
* The cause keeps its message, so callers reading the message see the
|
|
10850
|
+
* original failure.
|
|
10851
|
+
*/
|
|
10852
|
+
declare class RefreshUnavailableError extends Error {
|
|
10853
|
+
readonly cause: unknown;
|
|
10854
|
+
constructor(cause: unknown);
|
|
10855
|
+
}
|
|
10856
|
+
/** Whether a thrown error came out of the refresh itself, refused or not. */
|
|
10857
|
+
declare function isRefreshFailure(error: unknown): boolean;
|
|
10858
|
+
/** Whether a refresh failure means the session is over — see `RefreshRejectedError`. */
|
|
10859
|
+
declare function refreshEndsSession(error: unknown): boolean;
|
|
10823
10860
|
type AuthTokenOwner = RequestOwner;
|
|
10824
10861
|
type TokenAdoption = "adopted" | "failed" | "stale";
|
|
10825
10862
|
type UnauthorizedRecovery = "refreshed" | "failed" | "stale";
|
|
@@ -10839,6 +10876,8 @@ declare class CoordinatedBrowserTokenStorage implements TokenStorage {
|
|
|
10839
10876
|
storage?: () => AuthStorageLike | null;
|
|
10840
10877
|
locks?: () => AuthLockManager | null;
|
|
10841
10878
|
createRevision?: () => string;
|
|
10879
|
+
/** See `DEFAULT_LEASE_WAIT_MS`; tests shorten it. */
|
|
10880
|
+
leaseWaitMs?: number;
|
|
10842
10881
|
});
|
|
10843
10882
|
onOwnershipLost(listener: OwnershipLost): () => void;
|
|
10844
10883
|
setRefreshHandler(handler: RefreshHandler): void;
|
|
@@ -11075,5 +11114,5 @@ declare class PosSDK {
|
|
|
11075
11114
|
getTenantId(): Promise<string | null>;
|
|
11076
11115
|
}
|
|
11077
11116
|
//#endregion
|
|
11078
|
-
export { type AcceleratedRewardCouponPromotion, type AcceleratedRewardRule, type AdditionalProductDetails, type Address, type AddressInput, type AdminAppliedCoupon, type AdminAppliedPromotion, type AdminBankTransfer, type AdminCardPayment, type AdminCollectInStoreFulfillment, type AdminCustomerAddress, type AdminDeliveryFulfillment, type AdminFulfillmentItem, type AdminFulfillmentPreference, type AdminNetbankingPayment, type AdminOrder, type AdminOrderItem, type AdminOrderPayment, type AdminPagination, type AdminPartialCollectAndDelivery, type AdminProductImage, type AdminShipmentItem, type AdminShipmentItemInput, type AdminUpiPayment, type AdminWalletPayment, type ApiErrorResponse, type ApiResult, type ApplicableCoupon, type ApplicablePromotion, type AppliedCoupon, type AppliedPromotion, type AssociatedOption, type AuthStorageLike, type AuthTokenOwner, type AuthTokenPair, type AutoScaleBasedOnAmount, type AutoScaleBasedOnQuantity, type BankTransfer, type BankTransferCheckoutInput, type BaseAPIClient, type BaseSDKOptions, type BooleanAttribute, BrowserTokenStorage, type BusinessInfo, type BuyXGetYCouponPromotion, type BuyXGetYRule, type BuyXGetYRuleBasedOnAmount, type BuyXGetYRuleBasedOnQuantity, type CardPayment, type CardbinInfo, type Cart, type CartBasedFulfillmentOptionInput, type CartItem, type CartShipment, type Category, type CheckInventoryResponse, type ClaimPosDeviceContent, type ClaimPosDevicePathParams, type ClaimPosDeviceResponse, type CollectInStore, type CollectInStoreAddress, type CollectInStoreFulfillment, type CollectInStoreFulfillmentInput, type ColorAttribute, type ColorOption, CoordinatedBrowserTokenStorage, type CountryState, type Coupon, type CouponPromotionCommonDetail, type CouponType, type CreatePosOrderBody, type CreatePosOrderContent, type CreatePosOrderResponse, type CreateReplacementShipmentForCollectInStoreInput, type CreateReplacementShipmentWithAutoMethodInput, type CreateReplacementShipmentWithManualMethodInput, type Currency, type CustomSlabsBasedOnAmount, type CustomSlabsBasedOnQuantity, type Customer, type CustomerAddress, type CustomerAddressInput, type CustomerDetail, type CustomerInfo, type CustomerLoyalty, type CustomerSegment, type CustomerStatus, type DateAttribute, type DebugLogger, type DebugLoggerFn, type DeliveryFulfillment, type DeliveryFulfillmentInput, type DeliveryOption, type DiscountBasedPromotion, type DiscountCouponPromotion, type DiscountRule, Environment, type FixedAmountDiscountRule, type FixedPriceCouponPromotion, type FixedPricePromotion, type FixedPriceRule, type FixedPriceRuleBasedAmount, type FixedPriceRuleBasedQuantity, type FreeGoodCouponPromotion, type FreeGoodsPromotion, type FreeGoodsRule, type FreeShipingCouponPromotion, type FulfillmentItem, type FulfillmentItemInput, type FulfillmentPreference, type FulfillmentPreferenceInput, type GetPosUserContent, type GetPosUserPathParams, type GetPosUserResponse, type HeaderConfig, type InapplicableCoupon, type InapplicablePromotion, type InventoryAction, type InventoryActivity, type InventoryDetail, type InventoryStatus, type Invoice, type InvoiceDetail, type InvoiceItem, type Item, type ItemWiseInventory, type JusPayExpressCheckoutCommonFieldInput, type JusPayExpressCheckoutInput, type JusPayExpressCheckoutResponse, type JusPayHyperCheckoutInput, type JusPayHyperCheckoutResponse, type JusPayNewCardInput, type JusPaySavedCardTokenInput, type JuspayCardPaymentMethod, type JuspayNetBankingInput, type JuspayNetbankingPaymentMethod, type JuspayPaymentMethod, type JuspayPaymentMethodDetail, type JuspayUpiCollectInput, type JuspayUpiIntentInput, type JuspayUpiPaymentMethod, type JuspayWalletPaymentMethod, type KycStatus, type LinkedShipment, type ListPosDevicesContent, type ListPosDevicesResponse, type ListPosLocationsContent, type ListPosLocationsResponse, type LoginPosDeviceWithEmailBody, type LoginPosDeviceWithEmailContent, type LoginPosDeviceWithEmailHeaderParams, type LoginPosDeviceWithEmailResponse, type LoginPosDeviceWithPhoneBody, type LoginPosDeviceWithPhoneContent, type LoginPosDeviceWithPhoneHeaderParams, type LoginPosDeviceWithPhoneResponse, type LoginPosDeviceWithWhatsappBody, type LoginPosDeviceWithWhatsappContent, type LoginPosDeviceWithWhatsappHeaderParams, type LoginPosDeviceWithWhatsappResponse, type LogoutFromPosDeviceResponse, type LotBatchDetail, type LotBatchWiseInventory, type LotusPayCheckoutInput, type LoyaltyPointPayment, type ManualPaymentMethod, MemoryTokenStorage, type MsOrderPayment, type MultiSelectAttribute, type NachPayment, type NetbankingPayment, type NotificationChannelPreferences, type NotificationPreferences, type NumberAttribute, type OpeningHours, type Order, type OrderAction, type OrderActivity, type OrderDetail, type OrderItem, type OrderList, type OrderPayment, type OrderPaymentInfo, type OrderReceiptJsonFormat, type OrderShipment, type OrderShipmentDetail, type OrderStatus, type Pagination, type PairPosDeviceBody, type PairPosDeviceContent, type PairPosDeviceResponse, type PartialCollectAndDelivery, type PartialCollectAndDeliveryInput, type PaymentInfo, type PaymentMethodPayloadInput, type PaymentStatus, type PayuPaymentInfo, type PayuPaymentMethod, type PercentageDiscountRule, type Pincode, PosAPIClient, type PosApplyCouponBody, type PosApplyCouponContent, type PosApplyCouponPathParams, type PosApplyCouponResponse, type PosAuthenticateDirectOtpBody, type PosAuthenticateDirectOtpResponse, type PosCheckOrderInventoryContent, type PosCheckOrderInventoryPathParams, type PosCheckOrderInventoryQuery, type PosCheckOrderInventoryResponse, PosClient, type PosCreateAddressBody, type PosCreateAddressContent, type PosCreateAddressPathParams, type PosCreateAddressResponse, type PosCreateCartAddressBody, type PosCreateCartAddressContent, type PosCreateCartAddressPathParams, type PosCreateCartAddressResponse, type PosCreateCartBody, type PosCreateCartContent, type PosCreateCartResponse, type PosCreateOrderPaymentRequestBody, type PosCreateOrderPaymentRequestContent, type PosCreateOrderPaymentRequestPathParams, type PosCreateOrderPaymentRequestResponse, type PosCreateReplacementShipmentBody, type PosCreateReplacementShipmentPathParams, type PosCreateReplacementShipmentResponse, type PosDeleteAddressPathParams, type PosDeleteAddressResponse, type PosDeleteCartPathParams, type PosDeleteCartResponse, type PosDevice, type PosDeviceClaimedUser, type PosEvaluateCouponsContent, type PosEvaluateCouponsPathParams, type PosEvaluateCouponsResponse, type PosEvaluatePromotionsContent, type PosEvaluatePromotionsPathParams, type PosEvaluatePromotionsResponse, type PosGetCardInfoContent, type PosGetCardInfoQuery, type PosGetCardInfoResponse, type PosGetCartContent, type PosGetCartPathParams, type PosGetCartResponse, type PosGetCustomerDetailContent, type PosGetCustomerDetailPathParams, type PosGetCustomerDetailResponse, type PosGetFulfillmentOptionsBody, type PosGetFulfillmentOptionsContent, type PosGetFulfillmentOptionsResponse, type PosGetOrderDetailContent, type PosGetOrderDetailPathParams, type PosGetOrderDetailResponse, type PosGetOrderInvoiceContent, type PosGetOrderInvoicePathParams, type PosGetOrderInvoiceQuery, type PosGetOrderInvoiceResponse, type PosGetOrderReceiptContent, type PosGetOrderReceiptPathParams, type PosGetOrderReceiptQuery, type PosGetOrderReceiptResponse, type PosGetPaymentStatusContent, type PosGetPaymentStatusPathParams, type PosGetPaymentStatusResponse, type PosGetProductDetailContent, type PosGetProductDetailHeaderParams, type PosGetProductDetailPathParams, type PosGetProductDetailQuery, type PosGetProductDetailResponse, type PosGetShipmentActivitiesContent, type PosGetShipmentActivitiesPathParams, type PosGetShipmentActivitiesResponse, type PosGetShipmentDetailContent, type PosGetShipmentDetailPathParams, type PosGetShipmentDetailResponse, type PosGetShipmentInvoiceContent, type PosGetShipmentInvoicePathParams, type PosGetShipmentInvoiceQuery, type PosGetShipmentInvoiceResponse, type PosGetUserCartContent, type PosGetUserCartPathParams, type PosGetUserCartResponse, type PosGetVariantDetailContent, type PosGetVariantDetailHeaderParams, type PosGetVariantDetailPathParams, type PosGetVariantDetailQuery, type PosGetVariantDetailResponse, type PosListAddressesContent, type PosListAddressesPathParams, type PosListAddressesResponse, type PosListCategoriesContent, type PosListCategoriesQuery, type PosListCategoriesResponse, type PosListCountryPincodesContent, type PosListCountryPincodesPathParams, type PosListCountryPincodesQuery, type PosListCountryPincodesResponse, type PosListCountryStatesContent, type PosListCountryStatesPathParams, type PosListCountryStatesResponse, type PosListCouponsContent, type PosListCouponsHeaderParams, type PosListCouponsResponse, type PosListCrosssellProductsContent, type PosListCrosssellProductsHeaderParams, type PosListCrosssellProductsQuery, type PosListCrosssellProductsResponse, type PosListCustomersContent, type PosListCustomersQuery, type PosListCustomersResponse, type PosListInventoryActivityContent, type PosListInventoryActivityQuery, type PosListInventoryActivityResponse, type PosListInventoryContent, type PosListInventoryDetailContent, type PosListInventoryDetailQuery, type PosListInventoryDetailResponse, type PosListInventoryQuery, type PosListInventoryResponse, type PosListOrderActivityContent, type PosListOrderActivityPathParams, type PosListOrderActivityResponse, type PosListOrderShipmentsContent, type PosListOrderShipmentsPathParams, type PosListOrderShipmentsResponse, type PosListOrdersContent, type PosListOrdersQuery, type PosListOrdersResponse, type PosListPaymentMethodsContent, type PosListPaymentMethodsQuery, type PosListPaymentMethodsResponse, type PosListProductVariantsContent, type PosListProductVariantsHeaderParams, type PosListProductVariantsPathParams, type PosListProductVariantsQuery, type PosListProductVariantsResponse, type PosListProductsContent, type PosListProductsHeaderParams, type PosListProductsQuery, type PosListProductsResponse, type PosListPromotionsContent, type PosListPromotionsHeaderParams, type PosListPromotionsResponse, type PosListShipmentsContent, type PosListShipmentsQuery, type PosListShipmentsResponse, type PosListSimilarProductsContent, type PosListSimilarProductsHeaderParams, type PosListSimilarProductsQuery, type PosListSimilarProductsResponse, type PosListSkusContent, type PosListSkusHeaderParams, type PosListSkusQuery, type PosListSkusResponse, type PosListUpsellProductsContent, type PosListUpsellProductsHeaderParams, type PosListUpsellProductsQuery, type PosListUpsellProductsResponse, type PosLocation, type PosManualPaymentMethodCheckoutInput, type PosPaymentMethodPayloadInput, type PosRedeemCreditBalanceBody, type PosRedeemCreditBalanceContent, type PosRedeemCreditBalancePathParams, type PosRedeemCreditBalanceResponse, type PosRedeemLoyaltyPointsBody, type PosRedeemLoyaltyPointsContent, type PosRedeemLoyaltyPointsPathParams, type PosRedeemLoyaltyPointsResponse, type PosRefundShortfallBody, type PosRefundShortfallPathParams, type PosRefundShortfallResponse, type PosRemoveCouponContent, type PosRemoveCouponPathParams, type PosRemoveCouponResponse, type PosRemoveCreditBalanceContent, type PosRemoveCreditBalancePathParams, type PosRemoveCreditBalanceResponse, type PosRemoveLoyaltyPointsContent, type PosRemoveLoyaltyPointsPathParams, type PosRemoveLoyaltyPointsResponse, type PosResendDirectOtpBody, type PosResendDirectOtpContent, type PosResendDirectOtpResponse, type PosRetryOrderPaymentBody, type PosRetryOrderPaymentContent, type PosRetryOrderPaymentPathParams, type PosRetryOrderPaymentResponse, PosSDK, PosSDK as default, PosSDKOptions, type PosSearchProductsBody, type PosSearchProductsContent, type PosSearchProductsHeaderParams, type PosSearchProductsResponse, type PosUpdateAddressBody, type PosUpdateAddressContent, type PosUpdateAddressPathParams, type PosUpdateAddressResponse, type PosUpdateCartBody, type PosUpdateCartContent, type PosUpdateCartPathParams, type PosUpdateCartResponse, type PosUpdateCustomerWithEmailInput, type PosUpdateCustomerWithIdInput, type PosUpdateCustomerWithPhoneInput, type PosUpdateFulfillmentPreferenceBody, type PosUpdateFulfillmentPreferenceContent, type PosUpdateFulfillmentPreferencePathParams, type PosUpdateFulfillmentPreferenceResponse, type PosUpdateShipmentBody, type PosUpdateShipmentContent, type PosUpdateShipmentPathParams, type PosUpdateShipmentResponse, type PosUser, type PosVerifyVpaContent, type PosVerifyVpaQuery, type PosVerifyVpaResponse, type Product, type ProductAttribute, type ProductBundleItem, type ProductCategory, type ProductDetail, type ProductImage, type ProductPricing, type ProductPromotion, type ProductShipping, type ProductSubscription, type ProductVideo, type Promotion, type PromotionType, type Readable, type RefreshPosAccessTokenBody, type RefreshPosAccessTokenContent, type RefreshPosAccessTokenResponse, type RequestOwner, ResponseUtils, type SalesChannel, type SearchProductInput, type SellerBasicDetail, type SellerBusinessType, type SellerInfo, type Seo, type Shipment, type ShipmentAction, type ShipmentActivity, type ShipmentBox, type ShipmentBoxInput, type ShipmentDetail, type ShipmentInfo, type ShipmentItem, type ShipmentList, type ShipmentPackaging, type ShipmentProgression, type ShipmentStatus, type SingleSelectAttribute, type SingleSelectOption, SupportedDefaultHeaders, type TextAttribute, type TokenAdoption, type TokenStorage, type UnauthorizedRecovery, type UnclaimPosDeviceContent, type UnclaimPosDevicePathParams, type UnclaimPosDeviceResponse, type UpdateCartItemInput, type UpdatePosCartCustomerBody, type UpdatePosCartCustomerContent, type UpdatePosCartCustomerPathParams, type UpdatePosCartCustomerResponse, type UpiPayment, type UserInfo, type Variant, type VariantDetail, type VariantOption, type VerifyPosLoginOtpBody, type VerifyPosLoginOtpContent, type VerifyPosLoginOtpResponse, type VolumeBasedCouponPromotion, type VolumeBasedPromotion, type VolumeBasedRule, type WalletPayment, type Warehouse, type WarehouseBasicDetail, type WarehouseWiseInventory, type Writable, authTokenStorage, type components, type createDebugMiddleware, type createTimeoutMiddleware, type executeRequest, type extractRequestBody, type getPathnameFromUrl, type mergeAndTransformHeaders, type mergeHeaders, type operations, type paths, type transformHeaders };
|
|
11117
|
+
export { type AcceleratedRewardCouponPromotion, type AcceleratedRewardRule, type AdditionalProductDetails, type Address, type AddressInput, type AdminAppliedCoupon, type AdminAppliedPromotion, type AdminBankTransfer, type AdminCardPayment, type AdminCollectInStoreFulfillment, type AdminCustomerAddress, type AdminDeliveryFulfillment, type AdminFulfillmentItem, type AdminFulfillmentPreference, type AdminNetbankingPayment, type AdminOrder, type AdminOrderItem, type AdminOrderPayment, type AdminPagination, type AdminPartialCollectAndDelivery, type AdminProductImage, type AdminShipmentItem, type AdminShipmentItemInput, type AdminUpiPayment, type AdminWalletPayment, type ApiErrorResponse, type ApiResult, type ApplicableCoupon, type ApplicablePromotion, type AppliedCoupon, type AppliedPromotion, type AssociatedOption, type AuthStorageLike, type AuthTokenOwner, type AuthTokenPair, type AutoScaleBasedOnAmount, type AutoScaleBasedOnQuantity, type BankTransfer, type BankTransferCheckoutInput, type BaseAPIClient, type BaseSDKOptions, type BooleanAttribute, BrowserTokenStorage, type BusinessInfo, type BuyXGetYCouponPromotion, type BuyXGetYRule, type BuyXGetYRuleBasedOnAmount, type BuyXGetYRuleBasedOnQuantity, type CardPayment, type CardbinInfo, type Cart, type CartBasedFulfillmentOptionInput, type CartItem, type CartShipment, type Category, type CheckInventoryResponse, type ClaimPosDeviceContent, type ClaimPosDevicePathParams, type ClaimPosDeviceResponse, type CollectInStore, type CollectInStoreAddress, type CollectInStoreFulfillment, type CollectInStoreFulfillmentInput, type ColorAttribute, type ColorOption, CoordinatedBrowserTokenStorage, type CountryState, type Coupon, type CouponPromotionCommonDetail, type CouponType, type CreatePosOrderBody, type CreatePosOrderContent, type CreatePosOrderResponse, type CreateReplacementShipmentForCollectInStoreInput, type CreateReplacementShipmentWithAutoMethodInput, type CreateReplacementShipmentWithManualMethodInput, type Currency, type CustomSlabsBasedOnAmount, type CustomSlabsBasedOnQuantity, type Customer, type CustomerAddress, type CustomerAddressInput, type CustomerDetail, type CustomerInfo, type CustomerLoyalty, type CustomerSegment, type CustomerStatus, type DateAttribute, type DebugLogger, type DebugLoggerFn, type DeliveryFulfillment, type DeliveryFulfillmentInput, type DeliveryOption, type DiscountBasedPromotion, type DiscountCouponPromotion, type DiscountRule, Environment, type FixedAmountDiscountRule, type FixedPriceCouponPromotion, type FixedPricePromotion, type FixedPriceRule, type FixedPriceRuleBasedAmount, type FixedPriceRuleBasedQuantity, type FreeGoodCouponPromotion, type FreeGoodsPromotion, type FreeGoodsRule, type FreeShipingCouponPromotion, type FulfillmentItem, type FulfillmentItemInput, type FulfillmentPreference, type FulfillmentPreferenceInput, type GetPosUserContent, type GetPosUserPathParams, type GetPosUserResponse, type HeaderConfig, type InapplicableCoupon, type InapplicablePromotion, type InventoryAction, type InventoryActivity, type InventoryDetail, type InventoryStatus, type Invoice, type InvoiceDetail, type InvoiceItem, type Item, type ItemWiseInventory, type JusPayExpressCheckoutCommonFieldInput, type JusPayExpressCheckoutInput, type JusPayExpressCheckoutResponse, type JusPayHyperCheckoutInput, type JusPayHyperCheckoutResponse, type JusPayNewCardInput, type JusPaySavedCardTokenInput, type JuspayCardPaymentMethod, type JuspayNetBankingInput, type JuspayNetbankingPaymentMethod, type JuspayPaymentMethod, type JuspayPaymentMethodDetail, type JuspayUpiCollectInput, type JuspayUpiIntentInput, type JuspayUpiPaymentMethod, type JuspayWalletPaymentMethod, type KycStatus, type LinkedShipment, type ListPosDevicesContent, type ListPosDevicesResponse, type ListPosLocationsContent, type ListPosLocationsResponse, type LoginPosDeviceWithEmailBody, type LoginPosDeviceWithEmailContent, type LoginPosDeviceWithEmailHeaderParams, type LoginPosDeviceWithEmailResponse, type LoginPosDeviceWithPhoneBody, type LoginPosDeviceWithPhoneContent, type LoginPosDeviceWithPhoneHeaderParams, type LoginPosDeviceWithPhoneResponse, type LoginPosDeviceWithWhatsappBody, type LoginPosDeviceWithWhatsappContent, type LoginPosDeviceWithWhatsappHeaderParams, type LoginPosDeviceWithWhatsappResponse, type LogoutFromPosDeviceResponse, type LotBatchDetail, type LotBatchWiseInventory, type LotusPayCheckoutInput, type LoyaltyPointPayment, type ManualPaymentMethod, MemoryTokenStorage, type MsOrderPayment, type MultiSelectAttribute, type NachPayment, type NetbankingPayment, type NotificationChannelPreferences, type NotificationPreferences, type NumberAttribute, type OpeningHours, type Order, type OrderAction, type OrderActivity, type OrderDetail, type OrderItem, type OrderList, type OrderPayment, type OrderPaymentInfo, type OrderReceiptJsonFormat, type OrderShipment, type OrderShipmentDetail, type OrderStatus, type Pagination, type PairPosDeviceBody, type PairPosDeviceContent, type PairPosDeviceResponse, type PartialCollectAndDelivery, type PartialCollectAndDeliveryInput, type PaymentInfo, type PaymentMethodPayloadInput, type PaymentStatus, type PayuPaymentInfo, type PayuPaymentMethod, type PercentageDiscountRule, type Pincode, PosAPIClient, type PosApplyCouponBody, type PosApplyCouponContent, type PosApplyCouponPathParams, type PosApplyCouponResponse, type PosAuthenticateDirectOtpBody, type PosAuthenticateDirectOtpResponse, type PosCheckOrderInventoryContent, type PosCheckOrderInventoryPathParams, type PosCheckOrderInventoryQuery, type PosCheckOrderInventoryResponse, PosClient, type PosCreateAddressBody, type PosCreateAddressContent, type PosCreateAddressPathParams, type PosCreateAddressResponse, type PosCreateCartAddressBody, type PosCreateCartAddressContent, type PosCreateCartAddressPathParams, type PosCreateCartAddressResponse, type PosCreateCartBody, type PosCreateCartContent, type PosCreateCartResponse, type PosCreateOrderPaymentRequestBody, type PosCreateOrderPaymentRequestContent, type PosCreateOrderPaymentRequestPathParams, type PosCreateOrderPaymentRequestResponse, type PosCreateReplacementShipmentBody, type PosCreateReplacementShipmentPathParams, type PosCreateReplacementShipmentResponse, type PosDeleteAddressPathParams, type PosDeleteAddressResponse, type PosDeleteCartPathParams, type PosDeleteCartResponse, type PosDevice, type PosDeviceClaimedUser, type PosEvaluateCouponsContent, type PosEvaluateCouponsPathParams, type PosEvaluateCouponsResponse, type PosEvaluatePromotionsContent, type PosEvaluatePromotionsPathParams, type PosEvaluatePromotionsResponse, type PosGetCardInfoContent, type PosGetCardInfoQuery, type PosGetCardInfoResponse, type PosGetCartContent, type PosGetCartPathParams, type PosGetCartResponse, type PosGetCustomerDetailContent, type PosGetCustomerDetailPathParams, type PosGetCustomerDetailResponse, type PosGetFulfillmentOptionsBody, type PosGetFulfillmentOptionsContent, type PosGetFulfillmentOptionsResponse, type PosGetOrderDetailContent, type PosGetOrderDetailPathParams, type PosGetOrderDetailResponse, type PosGetOrderInvoiceContent, type PosGetOrderInvoicePathParams, type PosGetOrderInvoiceQuery, type PosGetOrderInvoiceResponse, type PosGetOrderReceiptContent, type PosGetOrderReceiptPathParams, type PosGetOrderReceiptQuery, type PosGetOrderReceiptResponse, type PosGetPaymentStatusContent, type PosGetPaymentStatusPathParams, type PosGetPaymentStatusResponse, type PosGetProductDetailContent, type PosGetProductDetailHeaderParams, type PosGetProductDetailPathParams, type PosGetProductDetailQuery, type PosGetProductDetailResponse, type PosGetShipmentActivitiesContent, type PosGetShipmentActivitiesPathParams, type PosGetShipmentActivitiesResponse, type PosGetShipmentDetailContent, type PosGetShipmentDetailPathParams, type PosGetShipmentDetailResponse, type PosGetShipmentInvoiceContent, type PosGetShipmentInvoicePathParams, type PosGetShipmentInvoiceQuery, type PosGetShipmentInvoiceResponse, type PosGetUserCartContent, type PosGetUserCartPathParams, type PosGetUserCartResponse, type PosGetVariantDetailContent, type PosGetVariantDetailHeaderParams, type PosGetVariantDetailPathParams, type PosGetVariantDetailQuery, type PosGetVariantDetailResponse, type PosListAddressesContent, type PosListAddressesPathParams, type PosListAddressesResponse, type PosListCategoriesContent, type PosListCategoriesQuery, type PosListCategoriesResponse, type PosListCountryPincodesContent, type PosListCountryPincodesPathParams, type PosListCountryPincodesQuery, type PosListCountryPincodesResponse, type PosListCountryStatesContent, type PosListCountryStatesPathParams, type PosListCountryStatesResponse, type PosListCouponsContent, type PosListCouponsHeaderParams, type PosListCouponsResponse, type PosListCrosssellProductsContent, type PosListCrosssellProductsHeaderParams, type PosListCrosssellProductsQuery, type PosListCrosssellProductsResponse, type PosListCustomersContent, type PosListCustomersQuery, type PosListCustomersResponse, type PosListInventoryActivityContent, type PosListInventoryActivityQuery, type PosListInventoryActivityResponse, type PosListInventoryContent, type PosListInventoryDetailContent, type PosListInventoryDetailQuery, type PosListInventoryDetailResponse, type PosListInventoryQuery, type PosListInventoryResponse, type PosListOrderActivityContent, type PosListOrderActivityPathParams, type PosListOrderActivityResponse, type PosListOrderShipmentsContent, type PosListOrderShipmentsPathParams, type PosListOrderShipmentsResponse, type PosListOrdersContent, type PosListOrdersQuery, type PosListOrdersResponse, type PosListPaymentMethodsContent, type PosListPaymentMethodsQuery, type PosListPaymentMethodsResponse, type PosListProductVariantsContent, type PosListProductVariantsHeaderParams, type PosListProductVariantsPathParams, type PosListProductVariantsQuery, type PosListProductVariantsResponse, type PosListProductsContent, type PosListProductsHeaderParams, type PosListProductsQuery, type PosListProductsResponse, type PosListPromotionsContent, type PosListPromotionsHeaderParams, type PosListPromotionsResponse, type PosListShipmentsContent, type PosListShipmentsQuery, type PosListShipmentsResponse, type PosListSimilarProductsContent, type PosListSimilarProductsHeaderParams, type PosListSimilarProductsQuery, type PosListSimilarProductsResponse, type PosListSkusContent, type PosListSkusHeaderParams, type PosListSkusQuery, type PosListSkusResponse, type PosListUpsellProductsContent, type PosListUpsellProductsHeaderParams, type PosListUpsellProductsQuery, type PosListUpsellProductsResponse, type PosLocation, type PosManualPaymentMethodCheckoutInput, type PosPaymentMethodPayloadInput, type PosRedeemCreditBalanceBody, type PosRedeemCreditBalanceContent, type PosRedeemCreditBalancePathParams, type PosRedeemCreditBalanceResponse, type PosRedeemLoyaltyPointsBody, type PosRedeemLoyaltyPointsContent, type PosRedeemLoyaltyPointsPathParams, type PosRedeemLoyaltyPointsResponse, type PosRefundShortfallBody, type PosRefundShortfallPathParams, type PosRefundShortfallResponse, type PosRemoveCouponContent, type PosRemoveCouponPathParams, type PosRemoveCouponResponse, type PosRemoveCreditBalanceContent, type PosRemoveCreditBalancePathParams, type PosRemoveCreditBalanceResponse, type PosRemoveLoyaltyPointsContent, type PosRemoveLoyaltyPointsPathParams, type PosRemoveLoyaltyPointsResponse, type PosResendDirectOtpBody, type PosResendDirectOtpContent, type PosResendDirectOtpResponse, type PosRetryOrderPaymentBody, type PosRetryOrderPaymentContent, type PosRetryOrderPaymentPathParams, type PosRetryOrderPaymentResponse, PosSDK, PosSDK as default, PosSDKOptions, type PosSearchProductsBody, type PosSearchProductsContent, type PosSearchProductsHeaderParams, type PosSearchProductsResponse, type PosUpdateAddressBody, type PosUpdateAddressContent, type PosUpdateAddressPathParams, type PosUpdateAddressResponse, type PosUpdateCartBody, type PosUpdateCartContent, type PosUpdateCartPathParams, type PosUpdateCartResponse, type PosUpdateCustomerWithEmailInput, type PosUpdateCustomerWithIdInput, type PosUpdateCustomerWithPhoneInput, type PosUpdateFulfillmentPreferenceBody, type PosUpdateFulfillmentPreferenceContent, type PosUpdateFulfillmentPreferencePathParams, type PosUpdateFulfillmentPreferenceResponse, type PosUpdateShipmentBody, type PosUpdateShipmentContent, type PosUpdateShipmentPathParams, type PosUpdateShipmentResponse, type PosUser, type PosVerifyVpaContent, type PosVerifyVpaQuery, type PosVerifyVpaResponse, type Product, type ProductAttribute, type ProductBundleItem, type ProductCategory, type ProductDetail, type ProductImage, type ProductPricing, type ProductPromotion, type ProductShipping, type ProductSubscription, type ProductVideo, type Promotion, type PromotionType, type Readable, type RefreshPosAccessTokenBody, type RefreshPosAccessTokenContent, type RefreshPosAccessTokenResponse, RefreshRejectedError, RefreshUnavailableError, type RequestOwner, ResponseUtils, type SalesChannel, type SearchProductInput, type SellerBasicDetail, type SellerBusinessType, type SellerInfo, type Seo, type Shipment, type ShipmentAction, type ShipmentActivity, type ShipmentBox, type ShipmentBoxInput, type ShipmentDetail, type ShipmentInfo, type ShipmentItem, type ShipmentList, type ShipmentPackaging, type ShipmentProgression, type ShipmentStatus, type SingleSelectAttribute, type SingleSelectOption, SupportedDefaultHeaders, type TextAttribute, type TokenAdoption, type TokenStorage, type UnauthorizedRecovery, type UnclaimPosDeviceContent, type UnclaimPosDevicePathParams, type UnclaimPosDeviceResponse, type UpdateCartItemInput, type UpdatePosCartCustomerBody, type UpdatePosCartCustomerContent, type UpdatePosCartCustomerPathParams, type UpdatePosCartCustomerResponse, type UpiPayment, type UserInfo, type Variant, type VariantDetail, type VariantOption, type VerifyPosLoginOtpBody, type VerifyPosLoginOtpContent, type VerifyPosLoginOtpResponse, type VolumeBasedCouponPromotion, type VolumeBasedPromotion, type VolumeBasedRule, type WalletPayment, type Warehouse, type WarehouseBasicDetail, type WarehouseWiseInventory, type Writable, authTokenStorage, type components, type createDebugMiddleware, type createTimeoutMiddleware, type executeRequest, type extractRequestBody, type getPathnameFromUrl, isRefreshFailure, type mergeAndTransformHeaders, type mergeHeaders, type operations, type paths, refreshEndsSession, type transformHeaders };
|
|
11079
11118
|
//# sourceMappingURL=index.d.mts.map
|