@commercengine/pos 0.4.2 → 0.4.4

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/README.md CHANGED
@@ -577,9 +577,9 @@ If you're migrating from the storefront SDK:
577
577
  ### Updated Initialization
578
578
  ```typescript
579
579
  // Old (storefront)
580
- const storefront = new StorefrontSDK({
581
- storeId: 'your-store-id'
582
- // apiKey was optional
580
+ const storefront = createStorefront({
581
+ storeId: 'your-store-id',
582
+ apiKey: 'your-api-key'
583
583
  });
584
584
 
585
585
  // New (POS)
@@ -619,4 +619,4 @@ pnpm run check-exports
619
619
 
620
620
  ## Support
621
621
 
622
- For issues, questions, or feature requests, please contact the Commerce Engine team or check the main repository documentation.
622
+ For issues, questions, or feature requests, please contact the Commerce Engine team or check the main repository documentation.
@@ -1072,6 +1072,12 @@ interface components {
1072
1072
  url_zoom?: string;
1073
1073
  file_id?: string; /** @enum {unknown} */
1074
1074
  file_type?: "image";
1075
+ }; /** SalesChannel */
1076
+ SalesChannel: {
1077
+ id: string;
1078
+ name: $Read<string>; /** @enum {string} */
1079
+ kind: "storefront" | "marketplace";
1080
+ active: $Read<boolean>;
1075
1081
  }; /** Shipment */
1076
1082
  Shipment: components["schemas"]["ShipmentInfo"] & {
1077
1083
  shipment_items?: components["schemas"]["ShipmentItem"][];
@@ -1242,7 +1248,8 @@ interface components {
1242
1248
  can_collect: boolean; /** @description this field will be always true for warehouse_type = retail-store. */
1243
1249
  is_checkout_point: boolean;
1244
1250
  accepts_returns: boolean;
1245
- opening_hours?: components["schemas"]["OpeningHours"];
1251
+ opening_hours?: components["schemas"]["OpeningHours"]; /** @description channels associated with the warehouse */
1252
+ channels?: $Read<components["schemas"]["SalesChannel"][]>;
1246
1253
  }; /** WarehouseBasicDetail */
1247
1254
  WarehouseBasicDetail: {
1248
1255
  id?: string;
@@ -1880,6 +1887,7 @@ type Pagination = Readable<components['schemas']['Pagination']>;
1880
1887
  type PartialCollectAndDelivery = Readable<components['schemas']['PartialCollectAndDelivery']>;
1881
1888
  type PaymentStatus = Readable<components['schemas']['PaymentStatus']>;
1882
1889
  type ProductImage = Readable<components['schemas']['ProductImage']>;
1890
+ type SalesChannel = Readable<components['schemas']['SalesChannel']>;
1883
1891
  type Shipment = Readable<components['schemas']['Shipment']>;
1884
1892
  type ShipmentAction = Readable<components['schemas']['ShipmentAction']>;
1885
1893
  type ShipmentActivity = Readable<components['schemas']['ShipmentActivity']>;
@@ -1955,4 +1963,4 @@ type PosUpdateShipmentContent = PosUpdateShipmentResponse['content'];
1955
1963
  type PosUpdateShipmentPathParams = paths['/pos/shipping/shipments/{reference_number}/manual-update']['put']['parameters']['path'];
1956
1964
  type PosUpdateShipmentBody = Writable<NonNullable<paths['/pos/shipping/shipments/{reference_number}/manual-update']['put']['requestBody']>['content']['application/json']>;
1957
1965
  //#endregion
1958
- export { AppliedCoupon, AppliedPromotion, BankTransfer, BusinessInfo, CardPayment, CheckInventoryResponse, CollectInStoreFulfillment, Customer, CustomerAddress, CustomerDetail, CustomerInfo, CustomerLoyalty, CustomerSegment, CustomerStatus, DeliveryFulfillment, FulfillmentItem, FulfillmentPreference, InventoryAction, InventoryActivity, InventoryDetail, InventoryStatus, Invoice, InvoiceDetail, InvoiceItem, ItemWiseInventory, KycStatus, LotBatchWiseInventory, LoyaltyPointPayment, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, OpeningHours, Order, OrderAction, OrderActivity, OrderDetail, OrderItem, OrderList, OrderPayment, OrderPaymentInfo, OrderReceiptJsonFormat, OrderShipment, OrderShipmentDetail, OrderStatus, Pagination, PartialCollectAndDelivery, PaymentStatus, PosCheckOrderInventoryContent, PosCheckOrderInventoryPathParams, PosCheckOrderInventoryResponse, PosGetCustomerDetailContent, PosGetCustomerDetailPathParams, PosGetCustomerDetailResponse, PosGetOrderDetailContent, PosGetOrderDetailPathParams, PosGetOrderDetailResponse, PosGetOrderInvoiceContent, PosGetOrderInvoicePathParams, PosGetOrderInvoiceQuery, PosGetOrderInvoiceResponse, PosGetOrderReceiptContent, PosGetOrderReceiptPathParams, PosGetOrderReceiptQuery, PosGetOrderReceiptResponse, PosGetShipmentActivitiesContent, PosGetShipmentActivitiesPathParams, PosGetShipmentActivitiesResponse, PosGetShipmentDetailContent, PosGetShipmentDetailPathParams, PosGetShipmentDetailResponse, PosGetShipmentInvoiceContent, PosGetShipmentInvoicePathParams, PosGetShipmentInvoiceQuery, PosGetShipmentInvoiceResponse, PosListCustomersContent, PosListCustomersQuery, PosListCustomersResponse, PosListInventoryActivityContent, PosListInventoryActivityQuery, PosListInventoryActivityResponse, PosListInventoryContent, PosListInventoryDetailContent, PosListInventoryDetailQuery, PosListInventoryDetailResponse, PosListInventoryQuery, PosListInventoryResponse, PosListOrderActivityContent, PosListOrderActivityPathParams, PosListOrderActivityResponse, PosListOrderShipmentsContent, PosListOrderShipmentsPathParams, PosListOrderShipmentsResponse, PosListOrdersContent, PosListOrdersQuery, PosListOrdersResponse, PosListShipmentsContent, PosListShipmentsQuery, PosListShipmentsResponse, PosRefundShortfallBody, PosRefundShortfallPathParams, PosRefundShortfallResponse, PosUpdateShipmentBody, PosUpdateShipmentContent, PosUpdateShipmentPathParams, PosUpdateShipmentResponse, ProductImage, type Readable, Shipment, ShipmentAction, ShipmentActivity, ShipmentBox, ShipmentDetail, ShipmentInfo, ShipmentItem, ShipmentList, ShipmentPackaging, ShipmentProgression, ShipmentStatus, UpiPayment, WalletPayment, Warehouse, WarehouseBasicDetail, WarehouseWiseInventory, type Writable, type components, type operations, type paths };
1966
+ export { AppliedCoupon, AppliedPromotion, BankTransfer, BusinessInfo, CardPayment, CheckInventoryResponse, CollectInStoreFulfillment, Customer, CustomerAddress, CustomerDetail, CustomerInfo, CustomerLoyalty, CustomerSegment, CustomerStatus, DeliveryFulfillment, FulfillmentItem, FulfillmentPreference, InventoryAction, InventoryActivity, InventoryDetail, InventoryStatus, Invoice, InvoiceDetail, InvoiceItem, ItemWiseInventory, KycStatus, LotBatchWiseInventory, LoyaltyPointPayment, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, OpeningHours, Order, OrderAction, OrderActivity, OrderDetail, OrderItem, OrderList, OrderPayment, OrderPaymentInfo, OrderReceiptJsonFormat, OrderShipment, OrderShipmentDetail, OrderStatus, Pagination, PartialCollectAndDelivery, PaymentStatus, PosCheckOrderInventoryContent, PosCheckOrderInventoryPathParams, PosCheckOrderInventoryResponse, PosGetCustomerDetailContent, PosGetCustomerDetailPathParams, PosGetCustomerDetailResponse, PosGetOrderDetailContent, PosGetOrderDetailPathParams, PosGetOrderDetailResponse, PosGetOrderInvoiceContent, PosGetOrderInvoicePathParams, PosGetOrderInvoiceQuery, PosGetOrderInvoiceResponse, PosGetOrderReceiptContent, PosGetOrderReceiptPathParams, PosGetOrderReceiptQuery, PosGetOrderReceiptResponse, PosGetShipmentActivitiesContent, PosGetShipmentActivitiesPathParams, PosGetShipmentActivitiesResponse, PosGetShipmentDetailContent, PosGetShipmentDetailPathParams, PosGetShipmentDetailResponse, PosGetShipmentInvoiceContent, PosGetShipmentInvoicePathParams, PosGetShipmentInvoiceQuery, PosGetShipmentInvoiceResponse, PosListCustomersContent, PosListCustomersQuery, PosListCustomersResponse, PosListInventoryActivityContent, PosListInventoryActivityQuery, PosListInventoryActivityResponse, PosListInventoryContent, PosListInventoryDetailContent, PosListInventoryDetailQuery, PosListInventoryDetailResponse, PosListInventoryQuery, PosListInventoryResponse, PosListOrderActivityContent, PosListOrderActivityPathParams, PosListOrderActivityResponse, PosListOrderShipmentsContent, PosListOrderShipmentsPathParams, PosListOrderShipmentsResponse, PosListOrdersContent, PosListOrdersQuery, PosListOrdersResponse, PosListShipmentsContent, PosListShipmentsQuery, PosListShipmentsResponse, PosRefundShortfallBody, PosRefundShortfallPathParams, PosRefundShortfallResponse, PosUpdateShipmentBody, PosUpdateShipmentContent, PosUpdateShipmentPathParams, PosUpdateShipmentResponse, ProductImage, type Readable, SalesChannel, Shipment, ShipmentAction, ShipmentActivity, ShipmentBox, ShipmentDetail, ShipmentInfo, ShipmentItem, ShipmentList, ShipmentPackaging, ShipmentProgression, ShipmentStatus, UpiPayment, WalletPayment, Warehouse, WarehouseBasicDetail, WarehouseWiseInventory, type Writable, type components, type operations, type paths };
package/dist/index.d.mts CHANGED
@@ -570,7 +570,7 @@ interface paths {
570
570
  patch?: never;
571
571
  trace?: never;
572
572
  };
573
- "/pos/catalog/products/{product_id_or_slug}": {
573
+ "/pos/catalog/products/{product_id}": {
574
574
  parameters: {
575
575
  query?: never;
576
576
  header?: never;
@@ -579,7 +579,7 @@ interface paths {
579
579
  };
580
580
  /**
581
581
  * Retrieve a product detail
582
- * @description Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
582
+ * @description Retrieves the details of an existing product. Product slug is supported in place of product ID in the path. Commerce Engine returns the corresponding product information.
583
583
  */
584
584
  get: operations["pos-get-product-detail"];
585
585
  put?: never;
@@ -619,7 +619,7 @@ interface paths {
619
619
  };
620
620
  /**
621
621
  * Retrieve product variants
622
- * @description Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
622
+ * @description Retrieves the variants of an existing product. Product slug is supported in place of product ID in the path. Commerce Engine returns the corresponding product variants information.
623
623
  */
624
624
  get: operations["pos-list-product-variants"];
625
625
  put?: never;
@@ -639,7 +639,7 @@ interface paths {
639
639
  };
640
640
  /**
641
641
  * Retrieve variant detail
642
- * @description Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
642
+ * @description Retrieves the details of a particular variant. Product slug is supported in place of product ID, and variant slug in place of variant ID, in the path.
643
643
  */
644
644
  get: operations["pos-get-variant-detail"];
645
645
  put?: never;
@@ -1576,7 +1576,8 @@ interface components {
1576
1576
  product_id: string;
1577
1577
  variant_id: string | null;
1578
1578
  sku: string;
1579
- slug: string;
1579
+ product_slug: string;
1580
+ variant_slug: string;
1580
1581
  product_name: string;
1581
1582
  variant_name: string | null;
1582
1583
  /**
@@ -1590,7 +1591,8 @@ interface components {
1590
1591
  backorder?: boolean;
1591
1592
  on_subscription: boolean;
1592
1593
  on_promotion: boolean;
1593
- category_ids: string[];
1594
+ category_ids: string[]; /** @description Expanded category objects. */
1595
+ categories?: components["schemas"]["Category"][];
1594
1596
  tags: string[] | null;
1595
1597
  reviews_count: number;
1596
1598
  reviews_rating_sum: number | null;
@@ -1625,6 +1627,11 @@ interface components {
1625
1627
  type: "multi-select"; /** @description For multi-select attributes */
1626
1628
  value: string[];
1627
1629
  };
1630
+ /**
1631
+ * NachPayment
1632
+ * @description NACH mandate payment via LotusPay.
1633
+ */
1634
+ NachPayment: components["schemas"]["PaymentInfo"];
1628
1635
  /**
1629
1636
  * NetbankingPayment
1630
1637
  * @description Payments using payment gateway netbanking option.
@@ -1734,7 +1741,7 @@ interface components {
1734
1741
  * @description payment mode for refund.
1735
1742
  * @enum {string}
1736
1743
  */
1737
- payment_mode?: "original-payment-mode" | "bank-transfer";
1744
+ payment_mode?: "original-payment-mode" | "bank-transfer" | "nach-mandate";
1738
1745
  };
1739
1746
  feedback?: string | null;
1740
1747
  }; /** OrderDetail */
@@ -1791,7 +1798,7 @@ interface components {
1791
1798
  * OrderPayment
1792
1799
  * @description Order Payment
1793
1800
  */
1794
- OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"];
1801
+ OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"] | components["schemas"]["NachPayment"];
1795
1802
  /**
1796
1803
  * OrderRefund
1797
1804
  * @description Order refund model
@@ -1801,7 +1808,7 @@ interface components {
1801
1808
  refund_amount?: number; /** Format: date-time */
1802
1809
  refund_date?: string; /** @enum {string} */
1803
1810
  status?: "pending" | "approved" | "success" | "failed"; /** @enum {string} */
1804
- payment_mode?: "PaymentGateway" | "ClubAI" | "BankTransfer";
1811
+ payment_mode?: "original-payment-mode" | "loyalty-point" | "bank-transfer" | "nach-mandate";
1805
1812
  payment_method?: string;
1806
1813
  payment_reference_number?: string;
1807
1814
  bank_account_number?: string;
@@ -2122,22 +2129,9 @@ interface components {
2122
2129
  * Format: date-time
2123
2130
  * @description The ISO 8601 date-time for when review was first submitted or last modified by the original submitter.
2124
2131
  */
2125
- review_date?: $Read$1<string>;
2126
- images?: {
2127
- blur_url?: string;
2128
- thumbnail_url?: string;
2129
- standard_url?: string;
2130
- }[];
2131
- videos?: {
2132
- cover_image_url?: string;
2133
- video_preview_url?: string;
2134
- playback?: {
2135
- hls?: string;
2136
- dash?: string;
2137
- }; /** @description seconds */
2138
- duration?: string; /** @description bytes */
2139
- size?: string;
2140
- }[];
2132
+ review_date?: $Read$1<string>; /** @description Product review images ordered by display priority. */
2133
+ images?: components["schemas"]["ProductImage"][];
2134
+ videos?: components["schemas"]["ProductVideo"][];
2141
2135
  /**
2142
2136
  * Format: date-time
2143
2137
  * @description The ISO 8601 date-time for when review is created.
@@ -2209,17 +2203,55 @@ interface components {
2209
2203
  * @description Maximum number of records returned for a page.
2210
2204
  * @default 25
2211
2205
  */
2212
- limit: number;
2206
+ limit: number; /** @description provide list of attributes for specific facets or * for all facets. All attributes supported in the filter parameter are also supported here. */
2207
+ facets?: string[];
2213
2208
  /**
2214
- * @description provide list of attributes for specific facets or * for all facets.
2215
- * ```json
2216
- * For specific facets: ["size", "color", "brand"]
2217
- * ```
2218
- * ```json
2219
- * For all facets: ["*"]
2220
- * ```
2209
+ * @description Filter expression(s) to narrow results. Omit for no filtering.
2210
+ *
2211
+ * **Syntax:** `attribute OPERATOR value`
2212
+ *
2213
+ * **Operators:**
2214
+ *
2215
+ * | Operator | Description | Example |
2216
+ * |---|---|---|
2217
+ * | `=` | Equal to | `product_type = physical` |
2218
+ * | `!=` | Not equal to | `product_type != bundle` |
2219
+ * | `>`, `>=`, `<`, `<=` | Comparison | `rating > 4` |
2220
+ * | `TO` | Inclusive range (`>=` AND `<=`) | `pricing.selling_price 100 TO 500` |
2221
+ * | `IN [...]` | Matches any value in the list | `product_type IN [physical,bundle]` |
2222
+ * | `NOT IN [...]` | Excludes all values in the list | `product_type NOT IN [physical,bundle]` |
2223
+ * | `EXISTS` | Attribute is present (even if `null` or empty) | `tags EXISTS` |
2224
+ * | `NOT EXISTS` | Attribute is absent | `tags NOT EXISTS` |
2225
+ * | `IS NULL` | Value is `null` | `variant_id IS NULL` |
2226
+ * | `IS NOT NULL` | Value is not `null` | `variant_id IS NOT NULL` |
2227
+ * | `IS EMPTY` | Value is `""`, `[]`, or `{}` | `tags IS EMPTY` |
2228
+ * | `IS NOT EMPTY` | Value is not empty | `tags IS NOT EMPTY` |
2229
+ * | `AND` | Both conditions must match | `rating > 4 AND product_type = physical` |
2230
+ * | `OR` | Either condition must match | `product_type = physical OR product_type = bundle` |
2231
+ * | `NOT` | Negates a condition | `NOT product_type = bundle` |
2232
+ *
2233
+ * **Important rules:**
2234
+ * - Operators are **case-sensitive** — must be uppercase (`AND`, not `and`).
2235
+ * - String value comparison is **case-insensitive** — `product_type = Physical` matches `physical`.
2236
+ * - Operator precedence: `NOT` > `AND` > `OR`. Use parentheses to override.
2237
+ * - String values containing whitespace must be wrapped in single quotes.
2238
+ * - `IN` takes comma-separated values in square brackets.
2239
+ * - Maximum array nesting depth is **2 levels**.
2240
+ *
2241
+ * **Supported attributes:** `product_type`, `categories.name`, `attributes.key`, `pricing.listing_price`, `pricing.selling_price`, `pricing.tax_rate`, `product_id`, `variant_id`, `product_name`, `variant_name`, `tags`, `sku`, `stock_available`, `rating`
2242
+ *
2243
+ * **Combining conditions:**
2244
+ * - **String:** Use `AND`/`OR` operators inline — `"rating > 4 AND product_type = physical"`
2245
+ * - **Array of strings:** Conditions are combined with AND — `["rating > 4", "product_type = physical"]`
2246
+ * - **Nested arrays:** Inner arrays express OR, outer array expresses AND — `["product_type = physical", ["product_type = bundle", "rating > 4"]]`
2221
2247
  */
2222
- facets?: string[];
2248
+ filter?: string | (string | string[])[];
2249
+ /**
2250
+ * @description Sort results by attributes. Use `asc` for ascending order and `desc` for descending order.
2251
+ * @example product_type:desc
2252
+ * @example product_name:asc
2253
+ */
2254
+ sort?: string[];
2223
2255
  }; /** SellerInfo */
2224
2256
  SellerInfo: {
2225
2257
  id: string;
@@ -2229,7 +2261,6 @@ interface components {
2229
2261
  tax_identification_number: string;
2230
2262
  }; /** Seo */
2231
2263
  Seo: {
2232
- slug: string;
2233
2264
  title: string | null;
2234
2265
  description: string | null;
2235
2266
  keywords: string[] | null;
@@ -2333,6 +2364,7 @@ interface components {
2333
2364
  is_default: $Read$1<boolean>; /** @description This object contains multiple dynamic keys. Each key is a string derived from the attribute key, and the value is an object of the type `AssociatedOption`. */
2334
2365
  associated_options: components["schemas"]["AssociatedOption"];
2335
2366
  images: components["schemas"]["ProductImage"][];
2367
+ videos: components["schemas"]["ProductVideo"][];
2336
2368
  pricing: components["schemas"]["ProductPricing"];
2337
2369
  subscription: components["schemas"]["ProductSubscription"][];
2338
2370
  promotion: components["schemas"]["ProductPromotion"];
@@ -2353,7 +2385,6 @@ interface components {
2353
2385
  variant_options: components["schemas"]["VariantOption"][];
2354
2386
  product_attributes: components["schemas"]["ProductAttribute"][];
2355
2387
  variant_attributes: components["schemas"]["ProductAttribute"][];
2356
- videos: components["schemas"]["ProductVideo"][];
2357
2388
  shipping: components["schemas"]["ProductShipping"];
2358
2389
  seo: components["schemas"]["Seo"];
2359
2390
  metadata: {
@@ -3557,7 +3588,7 @@ interface operations {
3557
3588
  /** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
3558
3589
  };
3559
3590
  path: {
3560
- /** @description The unique identifier of the product. Can be either the product ID or the slug. */product_id_or_slug: string;
3591
+ /** @description Product ID or product slug. Either is accepted in the path. */product_id: string;
3561
3592
  };
3562
3593
  cookie?: never;
3563
3594
  };
@@ -3627,7 +3658,7 @@ interface operations {
3627
3658
  /** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
3628
3659
  };
3629
3660
  path: {
3630
- /** @description ID of a particular product */product_id: string;
3661
+ /** @description Product ID or product slug. Either is accepted in the path. */product_id: string;
3631
3662
  };
3632
3663
  cookie?: never;
3633
3664
  };
@@ -3660,7 +3691,7 @@ interface operations {
3660
3691
  /** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
3661
3692
  };
3662
3693
  path: {
3663
- /** @description product id */product_id: string; /** @description variant id */
3694
+ /** @description Product ID or product slug. Either is accepted in the path. */product_id: string; /** @description Variant ID or variant slug. Either is accepted in the path. */
3664
3695
  variant_id: string;
3665
3696
  };
3666
3697
  cookie?: never;
@@ -5322,6 +5353,12 @@ interface components$1 {
5322
5353
  url_zoom?: string;
5323
5354
  file_id?: string; /** @enum {unknown} */
5324
5355
  file_type?: "image";
5356
+ }; /** SalesChannel */
5357
+ SalesChannel: {
5358
+ id: string;
5359
+ name: $Read<string>; /** @enum {string} */
5360
+ kind: "storefront" | "marketplace";
5361
+ active: $Read<boolean>;
5325
5362
  }; /** Shipment */
5326
5363
  Shipment: components$1["schemas"]["ShipmentInfo"] & {
5327
5364
  shipment_items?: components$1["schemas"]["ShipmentItem"][];
@@ -5492,7 +5529,8 @@ interface components$1 {
5492
5529
  can_collect: boolean; /** @description this field will be always true for warehouse_type = retail-store. */
5493
5530
  is_checkout_point: boolean;
5494
5531
  accepts_returns: boolean;
5495
- opening_hours?: components$1["schemas"]["OpeningHours"];
5532
+ opening_hours?: components$1["schemas"]["OpeningHours"]; /** @description channels associated with the warehouse */
5533
+ channels?: $Read<components$1["schemas"]["SalesChannel"][]>;
5496
5534
  }; /** WarehouseBasicDetail */
5497
5535
  WarehouseBasicDetail: {
5498
5536
  id?: string;
@@ -6313,7 +6351,6 @@ declare class ResponseUtils {
6313
6351
  */
6314
6352
  declare class DebugLogger {
6315
6353
  private logger;
6316
- private responseTextCache;
6317
6354
  constructor(logger?: DebugLoggerFn);
6318
6355
  /**
6319
6356
  * Log debug information about API request
@@ -6328,11 +6365,13 @@ declare class DebugLogger {
6328
6365
  */
6329
6366
  logError(message: string, error: any): void;
6330
6367
  /**
6331
- * Get cached response text for a URL (if available)
6368
+ * Compatibility shim retained for older internal callers.
6369
+ * Response bodies are no longer cached by the debug logger.
6332
6370
  */
6333
- getCachedResponseText(url: string): string | null;
6371
+ getCachedResponseText(_url: string): string | null;
6334
6372
  /**
6335
- * Clear cached response texts
6373
+ * Compatibility shim retained for older internal callers.
6374
+ * Response bodies are no longer cached by the debug logger.
6336
6375
  */
6337
6376
  clearCache(): void;
6338
6377
  info(message: string, data?: any): void;
@@ -6365,6 +6404,20 @@ declare function createTimeoutMiddleware(timeoutMs: number): {
6365
6404
  }: {
6366
6405
  request: Request;
6367
6406
  }) => Promise<Request>;
6407
+ onResponse: ({
6408
+ request,
6409
+ response
6410
+ }: {
6411
+ request: Request;
6412
+ response: Response;
6413
+ }) => Promise<Response>;
6414
+ onError: ({
6415
+ request,
6416
+ error
6417
+ }: {
6418
+ request: Request;
6419
+ error: unknown;
6420
+ }) => Promise<never>;
6368
6421
  }; //#endregion
6369
6422
  //#region src/middleware/headers.d.ts
6370
6423
  /**
@@ -6552,6 +6605,7 @@ type InapplicablePromotion = Readable<components['schemas']['InapplicablePromoti
6552
6605
  type Item = Readable<components['schemas']['Item']>;
6553
6606
  type LotBatchDetail = Readable<components['schemas']['LotBatchDetail']>;
6554
6607
  type MultiSelectAttribute = Readable<components['schemas']['MultiSelectAttribute']>;
6608
+ type NachPayment = Readable<components['schemas']['NachPayment']>;
6555
6609
  type NetbankingPayment = Readable<components['schemas']['NetbankingPayment']>;
6556
6610
  type NumberAttribute = Readable<components['schemas']['NumberAttribute']>;
6557
6611
  type Order = Readable<components['schemas']['Order']>;
@@ -6711,11 +6765,11 @@ type PosListUpsellProductsResponse = Readable<paths['/pos/catalog/products/up-se
6711
6765
  type PosListUpsellProductsContent = PosListUpsellProductsResponse['content'];
6712
6766
  type PosListUpsellProductsQuery = paths['/pos/catalog/products/up-sell']['get']['parameters']['query'];
6713
6767
  type PosListUpsellProductsHeaderParams = paths['/pos/catalog/products/up-sell']['get']['parameters']['header'];
6714
- type PosGetProductDetailResponse = Readable<paths['/pos/catalog/products/{product_id_or_slug}']['get']['responses'][200]['content']['application/json']>;
6768
+ type PosGetProductDetailResponse = Readable<paths['/pos/catalog/products/{product_id}']['get']['responses'][200]['content']['application/json']>;
6715
6769
  type PosGetProductDetailContent = PosGetProductDetailResponse['content'];
6716
- type PosGetProductDetailQuery = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['query'];
6717
- type PosGetProductDetailPathParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['path'];
6718
- type PosGetProductDetailHeaderParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['header'];
6770
+ type PosGetProductDetailQuery = paths['/pos/catalog/products/{product_id}']['get']['parameters']['query'];
6771
+ type PosGetProductDetailPathParams = paths['/pos/catalog/products/{product_id}']['get']['parameters']['path'];
6772
+ type PosGetProductDetailHeaderParams = paths['/pos/catalog/products/{product_id}']['get']['parameters']['header'];
6719
6773
  type PosListProductReviewsResponse = Readable<paths['/pos/catalog/products/{product_id}/reviews']['get']['responses'][200]['content']['application/json']>;
6720
6774
  type PosListProductReviewsContent = PosListProductReviewsResponse['content'];
6721
6775
  type PosListProductReviewsQuery = paths['/pos/catalog/products/{product_id}/reviews']['get']['parameters']['query'];
@@ -7695,16 +7749,12 @@ declare class PosClient extends PosAPIClient {
7695
7749
  * Search products
7696
7750
  * @param body - Search criteria and parameters
7697
7751
  * @param headers - Optional header parameters
7698
- * @returns Promise with search results
7752
+ * @returns Promise with search results including SKUs, facet distribution, facet stats, and pagination
7699
7753
  * @example
7700
7754
  * ```typescript
7755
+ * // Basic search
7701
7756
  * const { data, error } = await pos.searchProducts({
7702
7757
  * query: "smartphone",
7703
- * filters: {
7704
- * category: ["electronics", "mobile"],
7705
- * price_range: { min: 100, max: 1000 },
7706
- * brand: ["Apple", "Samsung"] // facet names depend on product configuration
7707
- * },
7708
7758
  * page: 1,
7709
7759
  * limit: 20
7710
7760
  * });
@@ -7714,17 +7764,52 @@ declare class PosClient extends PosAPIClient {
7714
7764
  * } else {
7715
7765
  * console.log("Search results:", data.skus?.length || 0, "products found");
7716
7766
  * console.log("Facet distribution:", data.facet_distribution);
7717
- * console.log("Price range:", data.facet_stats.price_range);
7767
+ * console.log("Facet stats:", data.facet_stats);
7768
+ * console.log("Pagination:", data.pagination);
7769
+ *
7718
7770
  * data.skus?.forEach(sku => {
7719
- * console.log(`Found: ${sku.name} - ${sku.price}`);
7771
+ * console.log(`Found: ${sku.product_name} - ${sku.pricing?.selling_price}`);
7720
7772
  * });
7721
7773
  * }
7722
7774
  *
7775
+ * // With filter (string expression — Meilisearch syntax)
7776
+ * const { data: filtered, error: filteredError } = await pos.searchProducts({
7777
+ * query: "laptop",
7778
+ * filter: "pricing.selling_price 500 TO 2000 AND product_type = physical",
7779
+ * sort: ["pricing.selling_price:asc"],
7780
+ * facets: ["product_type", "categories.name", "tags"],
7781
+ * page: 1,
7782
+ * limit: 10
7783
+ * });
7784
+ *
7785
+ * // With filter (array of conditions — combined with AND)
7786
+ * const { data: arrayFiltered, error: arrayError } = await pos.searchProducts({
7787
+ * query: "shoes",
7788
+ * filter: ["product_type = physical", "rating >= 4", "stock_available > 0"],
7789
+ * sort: ["rating:desc"],
7790
+ * facets: ["*"],
7791
+ * page: 1,
7792
+ * limit: 25
7793
+ * });
7794
+ *
7795
+ * // With filter (nested arrays — inner arrays use OR, outer uses AND)
7796
+ * const { data: nestedFiltered, error: nestedError } = await pos.searchProducts({
7797
+ * query: "headphones",
7798
+ * filter: [
7799
+ * "pricing.selling_price 50 TO 300",
7800
+ * ["product_type = physical", "product_type = bundle"]
7801
+ * ],
7802
+ * page: 1,
7803
+ * limit: 25
7804
+ * });
7805
+ *
7723
7806
  * // Override customer group ID for this specific request
7724
7807
  * const { data: overrideData, error: overrideError } = await pos.searchProducts(
7725
7808
  * {
7726
7809
  * query: "laptop",
7727
- * filters: { category: ["computers"] }
7810
+ * filter: "categories.name = computers",
7811
+ * page: 1,
7812
+ * limit: 20
7728
7813
  * },
7729
7814
  * {
7730
7815
  * "x-customer-group-id": "01H9XYZ12345USERID" // Override default SDK config
@@ -7823,32 +7908,33 @@ declare class PosClient extends PosAPIClient {
7823
7908
  listUpsellProducts(query: PosListUpsellProductsQuery, headers?: PosListUpsellProductsHeaderParams): Promise<ApiResult<PosListUpsellProductsContent>>;
7824
7909
  /**
7825
7910
  * Get product details
7826
- * @param pathParams - Product ID or slug
7911
+ * @param pathParams - The path parameters. Accepts product ID or product slug.
7827
7912
  * @param headers - Optional header parameters
7828
7913
  * @returns Promise with product details
7829
7914
  * @example
7830
7915
  * ```typescript
7831
7916
  * // Get product by ID
7832
7917
  * const { data, error } = await pos.getProductDetail(
7833
- * { product_id_or_slug: "prod_123" }
7918
+ * { product_id: "prod_123" }
7834
7919
  * );
7835
7920
  *
7836
7921
  * if (error) {
7837
7922
  * console.error("Failed to get product details:", error.message);
7838
7923
  * } else {
7839
7924
  * console.log("Product:", data.product.name);
7840
- * console.log("Price:", data.product.price);
7841
- * console.log("Description:", data.product.description);
7925
+ * console.log("Price:", data.product.pricing?.selling_price);
7926
+ * console.log("Description:", data.product.short_description);
7842
7927
  * }
7843
7928
  *
7844
- * // Get product by slug
7929
+ * // Get product by slug (also accepted in place of product_id)
7845
7930
  * const { data: slugData, error: slugError } = await pos.getProductDetail({
7846
- * product_id_or_slug: "detox-candy"
7931
+ * product_id: "detox-candy"
7847
7932
  * });
7848
7933
  *
7849
7934
  * // Override customer group ID for this specific request
7850
7935
  * const { data: overrideData, error: overrideError } = await pos.getProductDetail(
7851
- * { product_id_or_slug: "detox-candy" },
7936
+ * { product_id: "detox-candy" },
7937
+ * undefined,
7852
7938
  * {
7853
7939
  * "x-customer-group-id": "premium_customers" // Override default SDK config
7854
7940
  * }
@@ -7890,11 +7976,12 @@ declare class PosClient extends PosAPIClient {
7890
7976
  listProductReviews(pathParams: PosListProductReviewsPathParams, query?: PosListProductReviewsQuery): Promise<ApiResult<PosListProductReviewsContent>>;
7891
7977
  /**
7892
7978
  * List product variants
7893
- * @param pathParams - Product ID
7979
+ * @param pathParams - The path parameters. Accepts product ID or product slug.
7894
7980
  * @param headers - Optional header parameters
7895
7981
  * @returns Promise with product variants
7896
7982
  * @example
7897
7983
  * ```typescript
7984
+ * // By product ID
7898
7985
  * const { data, error } = await pos.listProductVariants(
7899
7986
  * { product_id: "prod_123" }
7900
7987
  * );
@@ -7904,13 +7991,19 @@ declare class PosClient extends PosAPIClient {
7904
7991
  * } else {
7905
7992
  * console.log("Variants found:", data.variants?.length || 0);
7906
7993
  * data.variants?.forEach(variant => {
7907
- * console.log(`Variant: ${variant.name} - SKU: ${variant.sku} - Price: ${variant.price}`);
7994
+ * console.log(`Variant: ${variant.name} - SKU: ${variant.sku} - Price: ${variant.pricing?.selling_price}`);
7908
7995
  * });
7909
7996
  * }
7910
7997
  *
7998
+ * // By product slug (also accepted in place of product_id)
7999
+ * const { data: slugData, error: slugError } = await pos.listProductVariants(
8000
+ * { product_id: "detox-candy" }
8001
+ * );
8002
+ *
7911
8003
  * // Override customer group ID for this specific request
7912
8004
  * const { data: overrideData, error: overrideError } = await pos.listProductVariants(
7913
8005
  * { product_id: "prod_123" },
8006
+ * undefined,
7914
8007
  * {
7915
8008
  * "x-customer-group-id": "wholesale_customers" // Override default SDK config
7916
8009
  * }
@@ -7920,11 +8013,12 @@ declare class PosClient extends PosAPIClient {
7920
8013
  listProductVariants(pathParams: PosListProductVariantsPathParams, query?: PosListProductVariantsQuery, headers?: PosListProductVariantsHeaderParams): Promise<ApiResult<PosListProductVariantsContent>>;
7921
8014
  /**
7922
8015
  * Get variant details
7923
- * @param pathParams - Product ID and variant ID
8016
+ * @param pathParams - The path parameters. Accepts product ID or slug for product_id, and variant ID or slug for variant_id.
7924
8017
  * @param headers - Optional header parameters
7925
8018
  * @returns Promise with variant details
7926
8019
  * @example
7927
8020
  * ```typescript
8021
+ * // By product ID and variant ID
7928
8022
  * const { data, error } = await pos.getVariantDetail(
7929
8023
  * {
7930
8024
  * product_id: "prod_123",
@@ -7937,16 +8031,25 @@ declare class PosClient extends PosAPIClient {
7937
8031
  * } else {
7938
8032
  * console.log("Variant:", data.variant.name);
7939
8033
  * console.log("SKU:", data.variant.sku);
7940
- * console.log("Price:", data.variant.price);
7941
- * console.log("Stock:", data.variant.stock);
8034
+ * console.log("Price:", data.variant.pricing?.selling_price);
8035
+ * console.log("Stock available:", data.variant.stock_available);
7942
8036
  * }
7943
8037
  *
8038
+ * // By product slug and variant slug (also accepted in place of IDs)
8039
+ * const { data: slugData, error: slugError } = await pos.getVariantDetail(
8040
+ * {
8041
+ * product_id: "detox-candy",
8042
+ * variant_id: "detox-candy-100g"
8043
+ * }
8044
+ * );
8045
+ *
7944
8046
  * // Override customer group ID for this specific request
7945
8047
  * const { data: overrideData, error: overrideError } = await pos.getVariantDetail(
7946
8048
  * {
7947
8049
  * product_id: "prod_123",
7948
8050
  * variant_id: "var_456"
7949
8051
  * },
8052
+ * undefined,
7950
8053
  * {
7951
8054
  * "x-customer-group-id": "wholesale_customers" // Override default SDK config
7952
8055
  * }
@@ -8731,5 +8834,5 @@ declare class PosSDK {
8731
8834
  getTenantId(): Promise<string | null>;
8732
8835
  }
8733
8836
  //#endregion
8734
- export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AdditionalProductDetails, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, AssociatedOption, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, BrowserTokenStorage, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CardPayment, Cart, CartBasedFulfillmentOptionInput, CartItem, CartShipment, Category, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, CollectInStoreFulfillmentInput, ColorAttribute, ColorOption, Coupon, CouponPromotionCommonDetail, CouponType, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerAddressInput, DateAttribute, DebugLogger, DebugLoggerFn, DeliveryFulfillment, DeliveryFulfillmentInput, DeliveryOption, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Environment, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentItemInput, FulfillmentPreference, FulfillmentPreferenceInput, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, HeaderConfig, InapplicableCoupon, InapplicablePromotion, Item, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LogoutFromPosDeviceResponse, LotBatchDetail, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NumberAttribute, Order, OrderDetail, OrderItem, OrderPayment, OrderRefund, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PartialCollectAndDelivery, PartialCollectAndDeliveryInput, PayWithCardInput, PayWithCashInput, PayWithUpiInput, PaymentInfo, PercentageDiscountRule, PosAPIClient, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosClient, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSDK, PosSDK as default, PosSDKOptions, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmailInput, PosUpdateCustomerWithIdInput, PosUpdateCustomerWithPhoneInput, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, type Readable, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, ResponseUtils, SearchProductInput, SellerInfo, Seo, ShipmentItem, ShipmentStatus, SingleSelectAttribute, SingleSelectOption, SupportedDefaultHeaders, TextAttribute, type TokenStorage, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateCartItemInput, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpiPayment, type UserInfo, Variant, VariantDetail, VariantOption, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type Writable, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
8837
+ export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AdditionalProductDetails, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, AssociatedOption, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, BrowserTokenStorage, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CardPayment, Cart, CartBasedFulfillmentOptionInput, CartItem, CartShipment, Category, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, CollectInStoreFulfillmentInput, ColorAttribute, ColorOption, Coupon, CouponPromotionCommonDetail, CouponType, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerAddressInput, DateAttribute, DebugLogger, DebugLoggerFn, DeliveryFulfillment, DeliveryFulfillmentInput, DeliveryOption, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Environment, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentItemInput, FulfillmentPreference, FulfillmentPreferenceInput, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, HeaderConfig, InapplicableCoupon, InapplicablePromotion, Item, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LogoutFromPosDeviceResponse, LotBatchDetail, MemoryTokenStorage, MultiSelectAttribute, NachPayment, NetbankingPayment, NumberAttribute, Order, OrderDetail, OrderItem, OrderPayment, OrderRefund, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PartialCollectAndDelivery, PartialCollectAndDeliveryInput, PayWithCardInput, PayWithCashInput, PayWithUpiInput, PaymentInfo, PercentageDiscountRule, PosAPIClient, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosClient, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSDK, PosSDK as default, PosSDKOptions, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmailInput, PosUpdateCustomerWithIdInput, PosUpdateCustomerWithPhoneInput, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, type Readable, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, ResponseUtils, SearchProductInput, SellerInfo, Seo, ShipmentItem, ShipmentStatus, SingleSelectAttribute, SingleSelectOption, SupportedDefaultHeaders, TextAttribute, type TokenStorage, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateCartItemInput, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpiPayment, type UserInfo, Variant, VariantDetail, VariantOption, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type Writable, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
8735
8838
  //# sourceMappingURL=index.d.mts.map