@commercengine/storefront-sdk 0.9.2 → 0.9.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/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import "openapi-fetch";
2
- import { ApiResult, BaseAPIClient, BaseSDKOptions, DebugLoggerFn, ResponseUtils } from "@commercengine/sdk-core";
1
+ import createClient, { Middleware } from "openapi-fetch";
3
2
 
4
3
  //#region src/types/storefront.d.ts
5
4
 
@@ -1810,6 +1809,26 @@ interface paths {
1810
1809
  patch?: never;
1811
1810
  trace?: never;
1812
1811
  };
1812
+ "/pos/auth/logout": {
1813
+ parameters: {
1814
+ query?: never;
1815
+ header?: never;
1816
+ path?: never;
1817
+ cookie?: never;
1818
+ };
1819
+ get?: never;
1820
+ put?: never;
1821
+ /**
1822
+ * Logout
1823
+ * @description This endpoint ends the current loggedin session for the POS device. This action immediately invalidates the previously issued access token(s), preventing any further use. A new login is required to regain access.
1824
+ */
1825
+ post: operations["logout-from-pos-device"];
1826
+ delete?: never;
1827
+ options?: never;
1828
+ head?: never;
1829
+ patch?: never;
1830
+ trace?: never;
1831
+ };
1813
1832
  "/pos/auth/pair-device": {
1814
1833
  parameters: {
1815
1834
  query?: never;
@@ -1934,10 +1953,7 @@ interface paths {
1934
1953
  parameters: {
1935
1954
  query?: never;
1936
1955
  header?: never;
1937
- path: {
1938
- /** @description Cart ID */
1939
- id: string;
1940
- };
1956
+ path?: never;
1941
1957
  cookie?: never;
1942
1958
  };
1943
1959
  /**
@@ -1961,10 +1977,7 @@ interface paths {
1961
1977
  parameters: {
1962
1978
  query?: never;
1963
1979
  header?: never;
1964
- path: {
1965
- /** @description Cart ID */
1966
- id: string;
1967
- };
1980
+ path?: never;
1968
1981
  cookie?: never;
1969
1982
  };
1970
1983
  get?: never;
@@ -1984,10 +1997,7 @@ interface paths {
1984
1997
  parameters: {
1985
1998
  query?: never;
1986
1999
  header?: never;
1987
- path: {
1988
- /** @description Cart ID */
1989
- id: string;
1990
- };
2000
+ path?: never;
1991
2001
  cookie?: never;
1992
2002
  };
1993
2003
  get?: never;
@@ -2011,10 +2021,7 @@ interface paths {
2011
2021
  parameters: {
2012
2022
  query?: never;
2013
2023
  header?: never;
2014
- path: {
2015
- /** @description Cart ID */
2016
- id: string;
2017
- };
2024
+ path?: never;
2018
2025
  cookie?: never;
2019
2026
  };
2020
2027
  get?: never;
@@ -2038,10 +2045,7 @@ interface paths {
2038
2045
  parameters: {
2039
2046
  query?: never;
2040
2047
  header?: never;
2041
- path: {
2042
- /** @description Cart Id */
2043
- id: string;
2044
- };
2048
+ path?: never;
2045
2049
  cookie?: never;
2046
2050
  };
2047
2051
  /**
@@ -2061,10 +2065,7 @@ interface paths {
2061
2065
  parameters: {
2062
2066
  query?: never;
2063
2067
  header?: never;
2064
- path: {
2065
- /** @description Cart Id */
2066
- id: string;
2067
- };
2068
+ path?: never;
2068
2069
  cookie?: never;
2069
2070
  };
2070
2071
  /**
@@ -2084,10 +2085,7 @@ interface paths {
2084
2085
  parameters: {
2085
2086
  query?: never;
2086
2087
  header?: never;
2087
- path: {
2088
- /** @description Cart ID */
2089
- id: string;
2090
- };
2088
+ path?: never;
2091
2089
  cookie?: never;
2092
2090
  };
2093
2091
  get?: never;
@@ -2107,10 +2105,7 @@ interface paths {
2107
2105
  parameters: {
2108
2106
  query?: never;
2109
2107
  header?: never;
2110
- path: {
2111
- /** @description Cart ID */
2112
- id: string;
2113
- };
2108
+ path?: never;
2114
2109
  cookie?: never;
2115
2110
  };
2116
2111
  get?: never;
@@ -2134,10 +2129,7 @@ interface paths {
2134
2129
  parameters: {
2135
2130
  query?: never;
2136
2131
  header?: never;
2137
- path: {
2138
- /** @description Cart ID */
2139
- id: string;
2140
- };
2132
+ path?: never;
2141
2133
  cookie?: never;
2142
2134
  };
2143
2135
  get?: never;
@@ -2157,10 +2149,7 @@ interface paths {
2157
2149
  parameters: {
2158
2150
  query?: never;
2159
2151
  header?: never;
2160
- path: {
2161
- /** @description Cart ID */
2162
- id: string;
2163
- };
2152
+ path?: never;
2164
2153
  cookie?: never;
2165
2154
  };
2166
2155
  get?: never;
@@ -2184,10 +2173,7 @@ interface paths {
2184
2173
  parameters: {
2185
2174
  query?: never;
2186
2175
  header?: never;
2187
- path: {
2188
- /** @description cart id */
2189
- id: string;
2190
- };
2176
+ path?: never;
2191
2177
  cookie?: never;
2192
2178
  };
2193
2179
  get?: never;
@@ -2203,47 +2189,67 @@ interface paths {
2203
2189
  patch?: never;
2204
2190
  trace?: never;
2205
2191
  };
2206
- "/pos/fulfillment-options": {
2192
+ "/pos/catalog/categories": {
2207
2193
  parameters: {
2208
2194
  query?: never;
2209
2195
  header?: never;
2210
2196
  path?: never;
2211
2197
  cookie?: never;
2212
2198
  };
2213
- get?: never;
2214
- put?: never;
2215
2199
  /**
2216
- * Retrieve fulfillment options
2217
- * @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
2200
+ * List all categories
2201
+ * @description Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
2218
2202
  */
2219
- post: operations["get-pos-fulfillment-options"];
2203
+ get: operations["pos-list-categories"];
2204
+ put?: never;
2205
+ post?: never;
2220
2206
  delete?: never;
2221
2207
  options?: never;
2222
2208
  head?: never;
2223
2209
  patch?: never;
2224
2210
  trace?: never;
2225
2211
  };
2226
- "/pos/orders": {
2212
+ "/pos/catalog/products": {
2227
2213
  parameters: {
2228
2214
  query?: never;
2229
2215
  header?: never;
2230
2216
  path?: never;
2231
2217
  cookie?: never;
2232
2218
  };
2233
- get?: never;
2219
+ /**
2220
+ * List all products
2221
+ * @description Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
2222
+ */
2223
+ get: operations["pos-list-products"];
2234
2224
  put?: never;
2225
+ post?: never;
2226
+ delete?: never;
2227
+ options?: never;
2228
+ head?: never;
2229
+ patch?: never;
2230
+ trace?: never;
2231
+ };
2232
+ "/pos/catalog/products/cross-sell": {
2233
+ parameters: {
2234
+ query?: never;
2235
+ header?: never;
2236
+ path?: never;
2237
+ cookie?: never;
2238
+ };
2235
2239
  /**
2236
- * Create order
2237
- * @description Creates a new order from a POS device.
2240
+ * Retrieve cross-sell products
2241
+ * @description Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
2238
2242
  */
2239
- post: operations["create-pos-order"];
2243
+ get: operations["pos-list-crosssell-products"];
2244
+ put?: never;
2245
+ post?: never;
2240
2246
  delete?: never;
2241
2247
  options?: never;
2242
2248
  head?: never;
2243
2249
  patch?: never;
2244
2250
  trace?: never;
2245
2251
  };
2246
- "/shipping/fulfillment-options": {
2252
+ "/pos/catalog/products/search": {
2247
2253
  parameters: {
2248
2254
  query?: never;
2249
2255
  header?: never;
@@ -2253,31 +2259,28 @@ interface paths {
2253
2259
  get?: never;
2254
2260
  put?: never;
2255
2261
  /**
2256
- * Retrieve fulfillment options
2257
- * @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
2262
+ * Search products
2263
+ * @description Search for products matching a specific words or characters given.
2258
2264
  */
2259
- post: operations["get-fulfillment-options"];
2265
+ post: operations["pos-search-products"];
2260
2266
  delete?: never;
2261
2267
  options?: never;
2262
2268
  head?: never;
2263
2269
  patch?: never;
2264
2270
  trace?: never;
2265
2271
  };
2266
- "/shipping/serviceability/{pincode}": {
2272
+ "/pos/catalog/products/similar": {
2267
2273
  parameters: {
2268
2274
  query?: never;
2269
2275
  header?: never;
2270
- path: {
2271
- /** @description delivery pincode */
2272
- pincode: string;
2273
- };
2276
+ path?: never;
2274
2277
  cookie?: never;
2275
2278
  };
2276
2279
  /**
2277
- * Check serviceability
2278
- * @description Checking if delivery is available to the entered pincode based on shipping zones.
2280
+ * Retrieve similar products
2281
+ * @description Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
2279
2282
  */
2280
- get: operations["check-pincode-serviceability"];
2283
+ get: operations["pos-list-similar-products"];
2281
2284
  put?: never;
2282
2285
  post?: never;
2283
2286
  delete?: never;
@@ -2286,27 +2289,27 @@ interface paths {
2286
2289
  patch?: never;
2287
2290
  trace?: never;
2288
2291
  };
2289
- "/shipping/shipping-methods": {
2292
+ "/pos/catalog/products/up-sell": {
2290
2293
  parameters: {
2291
2294
  query?: never;
2292
2295
  header?: never;
2293
2296
  path?: never;
2294
2297
  cookie?: never;
2295
2298
  };
2296
- get?: never;
2297
- put?: never;
2298
2299
  /**
2299
- * List available shipping methods
2300
- * @description Checks whether a given pincode is serviceable and returns all available shipping methods based on delivery address
2300
+ * Retrieve up-sell products
2301
+ * @description Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
2301
2302
  */
2302
- post: operations["get-shipping-methods"];
2303
+ get: operations["pos-list-upsell-products"];
2304
+ put?: never;
2305
+ post?: never;
2303
2306
  delete?: never;
2304
2307
  options?: never;
2305
2308
  head?: never;
2306
2309
  patch?: never;
2307
2310
  trace?: never;
2308
2311
  };
2309
- "/store/config": {
2312
+ "/pos/catalog/products/{product_id_or_slug}": {
2310
2313
  parameters: {
2311
2314
  query?: never;
2312
2315
  header?: never;
@@ -2314,10 +2317,10 @@ interface paths {
2314
2317
  cookie?: never;
2315
2318
  };
2316
2319
  /**
2317
- * Retrieve store config
2318
- * @description Retrieve store config detail
2320
+ * Retrieve a product detail
2321
+ * @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.
2319
2322
  */
2320
- get: operations["get-config"];
2323
+ get: operations["pos-get-product-detail"];
2321
2324
  put?: never;
2322
2325
  post?: never;
2323
2326
  delete?: never;
@@ -2326,7 +2329,7 @@ interface paths {
2326
2329
  patch?: never;
2327
2330
  trace?: never;
2328
2331
  };
2329
- "/store/kyc-document": {
2332
+ "/pos/catalog/products/{product_id}/reviews": {
2330
2333
  parameters: {
2331
2334
  query?: never;
2332
2335
  header?: never;
@@ -2334,10 +2337,10 @@ interface paths {
2334
2337
  cookie?: never;
2335
2338
  };
2336
2339
  /**
2337
- * List all kyc documents
2338
- * @description List all kyc documents added for a particular store.
2340
+ * List all product reviews
2341
+ * @description List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
2339
2342
  */
2340
- get: operations["list-kyc-document"];
2343
+ get: operations["pos-list-product-reviews"];
2341
2344
  put?: never;
2342
2345
  post?: never;
2343
2346
  delete?: never;
@@ -2346,7 +2349,7 @@ interface paths {
2346
2349
  patch?: never;
2347
2350
  trace?: never;
2348
2351
  };
2349
- "/subscriptions": {
2352
+ "/pos/catalog/products/{product_id}/variants": {
2350
2353
  parameters: {
2351
2354
  query?: never;
2352
2355
  header?: never;
@@ -2354,42 +2357,51 @@ interface paths {
2354
2357
  cookie?: never;
2355
2358
  };
2356
2359
  /**
2357
- * List all subscriptions
2358
- * @description List all subscriptions
2360
+ * Retrieve product variants
2361
+ * @description Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
2359
2362
  */
2360
- get: operations["list-subscriptions"];
2363
+ get: operations["pos-list-product-variants"];
2361
2364
  put?: never;
2362
- /**
2363
- * Create subscription
2364
- * @description List all subscriptions
2365
- */
2366
- post: operations["create-subscription"];
2365
+ post?: never;
2367
2366
  delete?: never;
2368
2367
  options?: never;
2369
2368
  head?: never;
2370
2369
  patch?: never;
2371
2370
  trace?: never;
2372
2371
  };
2373
- "/subscriptions/{id}": {
2372
+ "/pos/catalog/products/{product_id}/variants/{variant_id}": {
2374
2373
  parameters: {
2375
2374
  query?: never;
2376
2375
  header?: never;
2377
- path: {
2378
- /** @description subscription id */
2379
- id: string;
2380
- };
2376
+ path?: never;
2381
2377
  cookie?: never;
2382
2378
  };
2383
2379
  /**
2384
- * Retrieve subscription details
2385
- * @description Retrieve subscription details
2380
+ * Retrieve variant detail
2381
+ * @description Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
2386
2382
  */
2387
- get: operations["get-subscription"];
2383
+ get: operations["pos-get-variant-detail"];
2384
+ put?: never;
2385
+ post?: never;
2386
+ delete?: never;
2387
+ options?: never;
2388
+ head?: never;
2389
+ patch?: never;
2390
+ trace?: never;
2391
+ };
2392
+ "/pos/catalog/skus": {
2393
+ parameters: {
2394
+ query?: never;
2395
+ header?: never;
2396
+ path?: never;
2397
+ cookie?: never;
2398
+ };
2388
2399
  /**
2389
- * Update a specific subscription
2390
- * @description Update a specific subscription
2400
+ * List all SKUs
2401
+ * @description Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
2391
2402
  */
2392
- put: operations["update-subscription"];
2403
+ get: operations["pos-list-skus"];
2404
+ put?: never;
2393
2405
  post?: never;
2394
2406
  delete?: never;
2395
2407
  options?: never;
@@ -2397,49 +2409,243 @@ interface paths {
2397
2409
  patch?: never;
2398
2410
  trace?: never;
2399
2411
  };
2400
- "/wishlist/{user_id}": {
2412
+ "/pos/fulfillment-options": {
2401
2413
  parameters: {
2402
2414
  query?: never;
2403
2415
  header?: never;
2404
2416
  path?: never;
2405
2417
  cookie?: never;
2406
2418
  };
2419
+ get?: never;
2420
+ put?: never;
2407
2421
  /**
2408
- * Retrieve wishlist
2409
- * @description Retrieve products in wishlist
2422
+ * Retrieve fulfillment options
2423
+ * @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
2410
2424
  */
2411
- get: operations["get-wishlist"];
2425
+ post: operations["get-pos-fulfillment-options"];
2426
+ delete?: never;
2427
+ options?: never;
2428
+ head?: never;
2429
+ patch?: never;
2430
+ trace?: never;
2431
+ };
2432
+ "/pos/orders": {
2433
+ parameters: {
2434
+ query?: never;
2435
+ header?: never;
2436
+ path?: never;
2437
+ cookie?: never;
2438
+ };
2439
+ get?: never;
2412
2440
  put?: never;
2413
2441
  /**
2414
- * Add product to wishlist
2415
- * @description wishlist
2442
+ * Create order
2443
+ * @description Creates a new order from a POS device.
2416
2444
  */
2417
- post: operations["add-to-wishlist"];
2445
+ post: operations["create-pos-order"];
2446
+ delete?: never;
2447
+ options?: never;
2448
+ head?: never;
2449
+ patch?: never;
2450
+ trace?: never;
2451
+ };
2452
+ "/shipping/fulfillment-options": {
2453
+ parameters: {
2454
+ query?: never;
2455
+ header?: never;
2456
+ path?: never;
2457
+ cookie?: never;
2458
+ };
2459
+ get?: never;
2460
+ put?: never;
2418
2461
  /**
2419
- * Delete product from wishlist
2420
- * @description Remove product from wishlist
2462
+ * Retrieve fulfillment options
2463
+ * @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
2421
2464
  */
2422
- delete: operations["delete-from-wishlist"];
2465
+ post: operations["get-fulfillment-options"];
2466
+ delete?: never;
2423
2467
  options?: never;
2424
2468
  head?: never;
2425
2469
  patch?: never;
2426
2470
  trace?: never;
2427
2471
  };
2428
- }
2429
- interface components {
2430
- schemas: {
2431
- /** AcceleratedRewardCouponPromotion */
2432
- AcceleratedRewardCouponPromotion: components["schemas"]["CouponPromotionCommonDetail"] & {
2433
- details: components["schemas"]["AcceleratedRewardRule"];
2434
- /** @enum {unknown} */
2435
- applies_to_product: "product" | "category";
2436
- };
2437
- /** AcceleratedRewardRule */
2438
- AcceleratedRewardRule: {
2439
- products: {
2440
- product_id: string | null;
2441
- variant_id: string | null;
2442
- minimum_quantity: number | null;
2472
+ "/shipping/serviceability/{pincode}": {
2473
+ parameters: {
2474
+ query?: never;
2475
+ header?: never;
2476
+ path: {
2477
+ /** @description delivery pincode */
2478
+ pincode: string;
2479
+ };
2480
+ cookie?: never;
2481
+ };
2482
+ /**
2483
+ * Check serviceability
2484
+ * @description Checking if delivery is available to the entered pincode based on shipping zones.
2485
+ */
2486
+ get: operations["check-pincode-serviceability"];
2487
+ put?: never;
2488
+ post?: never;
2489
+ delete?: never;
2490
+ options?: never;
2491
+ head?: never;
2492
+ patch?: never;
2493
+ trace?: never;
2494
+ };
2495
+ "/shipping/shipping-methods": {
2496
+ parameters: {
2497
+ query?: never;
2498
+ header?: never;
2499
+ path?: never;
2500
+ cookie?: never;
2501
+ };
2502
+ get?: never;
2503
+ put?: never;
2504
+ /**
2505
+ * List available shipping methods
2506
+ * @description Checks whether a given pincode is serviceable and returns all available shipping methods based on delivery address
2507
+ */
2508
+ post: operations["get-shipping-methods"];
2509
+ delete?: never;
2510
+ options?: never;
2511
+ head?: never;
2512
+ patch?: never;
2513
+ trace?: never;
2514
+ };
2515
+ "/store/config": {
2516
+ parameters: {
2517
+ query?: never;
2518
+ header?: never;
2519
+ path?: never;
2520
+ cookie?: never;
2521
+ };
2522
+ /**
2523
+ * Retrieve store config
2524
+ * @description Retrieve store config detail
2525
+ */
2526
+ get: operations["get-config"];
2527
+ put?: never;
2528
+ post?: never;
2529
+ delete?: never;
2530
+ options?: never;
2531
+ head?: never;
2532
+ patch?: never;
2533
+ trace?: never;
2534
+ };
2535
+ "/store/kyc-document": {
2536
+ parameters: {
2537
+ query?: never;
2538
+ header?: never;
2539
+ path?: never;
2540
+ cookie?: never;
2541
+ };
2542
+ /**
2543
+ * List all kyc documents
2544
+ * @description List all kyc documents added for a particular store.
2545
+ */
2546
+ get: operations["list-kyc-document"];
2547
+ put?: never;
2548
+ post?: never;
2549
+ delete?: never;
2550
+ options?: never;
2551
+ head?: never;
2552
+ patch?: never;
2553
+ trace?: never;
2554
+ };
2555
+ "/subscriptions": {
2556
+ parameters: {
2557
+ query?: never;
2558
+ header?: never;
2559
+ path?: never;
2560
+ cookie?: never;
2561
+ };
2562
+ /**
2563
+ * List all subscriptions
2564
+ * @description List all subscriptions
2565
+ */
2566
+ get: operations["list-subscriptions"];
2567
+ put?: never;
2568
+ /**
2569
+ * Create subscription
2570
+ * @description List all subscriptions
2571
+ */
2572
+ post: operations["create-subscription"];
2573
+ delete?: never;
2574
+ options?: never;
2575
+ head?: never;
2576
+ patch?: never;
2577
+ trace?: never;
2578
+ };
2579
+ "/subscriptions/{id}": {
2580
+ parameters: {
2581
+ query?: never;
2582
+ header?: never;
2583
+ path: {
2584
+ /** @description subscription id */
2585
+ id: string;
2586
+ };
2587
+ cookie?: never;
2588
+ };
2589
+ /**
2590
+ * Retrieve subscription details
2591
+ * @description Retrieve subscription details
2592
+ */
2593
+ get: operations["get-subscription"];
2594
+ /**
2595
+ * Update a specific subscription
2596
+ * @description Update a specific subscription
2597
+ */
2598
+ put: operations["update-subscription"];
2599
+ post?: never;
2600
+ delete?: never;
2601
+ options?: never;
2602
+ head?: never;
2603
+ patch?: never;
2604
+ trace?: never;
2605
+ };
2606
+ "/wishlist/{user_id}": {
2607
+ parameters: {
2608
+ query?: never;
2609
+ header?: never;
2610
+ path?: never;
2611
+ cookie?: never;
2612
+ };
2613
+ /**
2614
+ * Retrieve wishlist
2615
+ * @description Retrieve products in wishlist
2616
+ */
2617
+ get: operations["get-wishlist"];
2618
+ put?: never;
2619
+ /**
2620
+ * Add product to wishlist
2621
+ * @description wishlist
2622
+ */
2623
+ post: operations["add-to-wishlist"];
2624
+ /**
2625
+ * Delete product from wishlist
2626
+ * @description Remove product from wishlist
2627
+ */
2628
+ delete: operations["delete-from-wishlist"];
2629
+ options?: never;
2630
+ head?: never;
2631
+ patch?: never;
2632
+ trace?: never;
2633
+ };
2634
+ }
2635
+ interface components {
2636
+ schemas: {
2637
+ /** AcceleratedRewardCouponPromotion */
2638
+ AcceleratedRewardCouponPromotion: components["schemas"]["CouponPromotionCommonDetail"] & {
2639
+ details: components["schemas"]["AcceleratedRewardRule"];
2640
+ /** @enum {unknown} */
2641
+ applies_to_product: "product" | "category";
2642
+ };
2643
+ /** AcceleratedRewardRule */
2644
+ AcceleratedRewardRule: {
2645
+ products: {
2646
+ product_id: string | null;
2647
+ variant_id: string | null;
2648
+ minimum_quantity: number | null;
2443
2649
  minimum_value: number | null;
2444
2650
  }[];
2445
2651
  /** @description Array of category ids. */
@@ -4480,6 +4686,10 @@ interface components {
4480
4686
  phone?: string;
4481
4687
  /** Format: email */
4482
4688
  email?: string;
4689
+ channel?: {
4690
+ id?: string;
4691
+ name?: string;
4692
+ };
4483
4693
  device?: {
4484
4694
  id?: string;
4485
4695
  name?: string;
@@ -6618,10 +6828,10 @@ interface operations {
6618
6828
  };
6619
6829
  content: {
6620
6830
  "application/json": {
6621
- message?: string;
6622
- success?: boolean;
6623
- content?: {
6624
- coupons?: components["schemas"]["Coupon"][];
6831
+ message: string;
6832
+ success: boolean;
6833
+ content: {
6834
+ coupons: components["schemas"]["Coupon"][];
6625
6835
  };
6626
6836
  };
6627
6837
  };
@@ -6650,10 +6860,10 @@ interface operations {
6650
6860
  };
6651
6861
  content: {
6652
6862
  "application/json": {
6653
- message?: string;
6654
- success?: boolean;
6655
- content?: {
6656
- promotions?: components["schemas"]["Promotion"][];
6863
+ message: string;
6864
+ success: boolean;
6865
+ content: {
6866
+ promotions: components["schemas"]["Promotion"][];
6657
6867
  };
6658
6868
  };
6659
6869
  };
@@ -7002,11 +7212,11 @@ interface operations {
7002
7212
  };
7003
7213
  content: {
7004
7214
  "application/json": {
7005
- message?: string;
7006
- success?: boolean;
7007
- content?: {
7008
- applicable_coupons?: components["schemas"]["ApplicableCoupon"][];
7009
- inapplicable_coupons?: components["schemas"]["InapplicableCoupon"][];
7215
+ message: string;
7216
+ success: boolean;
7217
+ content: {
7218
+ applicable_coupons: components["schemas"]["ApplicableCoupon"][];
7219
+ inapplicable_coupons: components["schemas"]["InapplicableCoupon"][];
7010
7220
  };
7011
7221
  };
7012
7222
  };
@@ -7033,11 +7243,11 @@ interface operations {
7033
7243
  };
7034
7244
  content: {
7035
7245
  "application/json": {
7036
- message?: string;
7037
- success?: boolean;
7038
- content?: {
7039
- applicable_promotions?: components["schemas"]["ApplicablePromotion"][];
7040
- inapplicable_promotions?: components["schemas"]["InapplicablePromotion"][];
7246
+ message: string;
7247
+ success: boolean;
7248
+ content: {
7249
+ applicable_promotions: components["schemas"]["ApplicablePromotion"][];
7250
+ inapplicable_promotions: components["schemas"]["InapplicablePromotion"][];
7041
7251
  };
7042
7252
  };
7043
7253
  };
@@ -9226,7 +9436,7 @@ interface operations {
9226
9436
  content: {
9227
9437
  "application/json": {
9228
9438
  message: string;
9229
- success: string;
9439
+ success: boolean;
9230
9440
  content: {
9231
9441
  otp_token: string;
9232
9442
  /** @constant */
@@ -9269,7 +9479,7 @@ interface operations {
9269
9479
  content: {
9270
9480
  "application/json": {
9271
9481
  message: string;
9272
- success: string;
9482
+ success: boolean;
9273
9483
  content: {
9274
9484
  otp_token: string;
9275
9485
  /** @constant */
@@ -9312,7 +9522,7 @@ interface operations {
9312
9522
  content: {
9313
9523
  "application/json": {
9314
9524
  message: string;
9315
- success: string;
9525
+ success: boolean;
9316
9526
  content: {
9317
9527
  otp_token: string;
9318
9528
  /** @constant */
@@ -9325,6 +9535,30 @@ interface operations {
9325
9535
  401: components["responses"]["Unauthorized"];
9326
9536
  };
9327
9537
  };
9538
+ "logout-from-pos-device": {
9539
+ parameters: {
9540
+ query?: never;
9541
+ header?: never;
9542
+ path?: never;
9543
+ cookie?: never;
9544
+ };
9545
+ requestBody?: never;
9546
+ responses: {
9547
+ /** @description OK */
9548
+ 200: {
9549
+ headers: {
9550
+ [name: string]: unknown;
9551
+ };
9552
+ content: {
9553
+ "application/json": {
9554
+ message: string;
9555
+ success: boolean;
9556
+ };
9557
+ };
9558
+ };
9559
+ 401: components["responses"]["Unauthorized"];
9560
+ };
9561
+ };
9328
9562
  "pair-pos-device": {
9329
9563
  parameters: {
9330
9564
  query?: never;
@@ -9347,10 +9581,10 @@ interface operations {
9347
9581
  };
9348
9582
  content: {
9349
9583
  "application/json": {
9350
- message?: string;
9351
- success?: string;
9352
- content?: {
9353
- device?: components["schemas"]["PosDevice"];
9584
+ message: string;
9585
+ success: boolean;
9586
+ content: {
9587
+ device: components["schemas"]["PosDevice"];
9354
9588
  };
9355
9589
  };
9356
9590
  };
@@ -9381,11 +9615,11 @@ interface operations {
9381
9615
  };
9382
9616
  content: {
9383
9617
  "application/json": {
9384
- message?: string;
9385
- success?: string;
9386
- content?: {
9387
- access_token?: string;
9388
- refresh_token?: string;
9618
+ message: string;
9619
+ success: boolean;
9620
+ content: {
9621
+ access_token: string;
9622
+ refresh_token: string;
9389
9623
  };
9390
9624
  };
9391
9625
  };
@@ -9424,7 +9658,7 @@ interface operations {
9424
9658
  content: {
9425
9659
  "application/json": {
9426
9660
  message: string;
9427
- success: string;
9661
+ success: boolean;
9428
9662
  content: {
9429
9663
  user: components["schemas"]["PosUser"];
9430
9664
  access_token: string;
@@ -9494,10 +9728,10 @@ interface operations {
9494
9728
  };
9495
9729
  content: {
9496
9730
  "application/json": {
9497
- message?: string;
9498
- success?: boolean;
9499
- content?: {
9500
- coupons?: components["schemas"]["Coupon"][];
9731
+ message: string;
9732
+ success: boolean;
9733
+ content: {
9734
+ coupons: components["schemas"]["Coupon"][];
9501
9735
  };
9502
9736
  };
9503
9737
  };
@@ -9526,10 +9760,10 @@ interface operations {
9526
9760
  };
9527
9761
  content: {
9528
9762
  "application/json": {
9529
- message?: string;
9530
- success?: boolean;
9531
- content?: {
9532
- promotions?: components["schemas"]["Promotion"][];
9763
+ message: string;
9764
+ success: boolean;
9765
+ content: {
9766
+ promotions: components["schemas"]["Promotion"][];
9533
9767
  };
9534
9768
  };
9535
9769
  };
@@ -9817,11 +10051,11 @@ interface operations {
9817
10051
  };
9818
10052
  content: {
9819
10053
  "application/json": {
9820
- message?: string;
9821
- success?: boolean;
9822
- content?: {
9823
- applicable_coupons?: components["schemas"]["ApplicableCoupon"][];
9824
- inapplicable_coupons?: components["schemas"]["InapplicableCoupon"][];
10054
+ message: string;
10055
+ success: boolean;
10056
+ content: {
10057
+ applicable_coupons: components["schemas"]["ApplicableCoupon"][];
10058
+ inapplicable_coupons: components["schemas"]["InapplicableCoupon"][];
9825
10059
  };
9826
10060
  };
9827
10061
  };
@@ -9848,11 +10082,11 @@ interface operations {
9848
10082
  };
9849
10083
  content: {
9850
10084
  "application/json": {
9851
- message?: string;
9852
- success?: boolean;
9853
- content?: {
9854
- applicable_promotions?: components["schemas"]["ApplicablePromotion"][];
9855
- inapplicable_promotions?: components["schemas"]["InapplicablePromotion"][];
10085
+ message: string;
10086
+ success: boolean;
10087
+ content: {
10088
+ applicable_promotions: components["schemas"]["ApplicablePromotion"][];
10089
+ inapplicable_promotions: components["schemas"]["InapplicablePromotion"][];
9856
10090
  };
9857
10091
  };
9858
10092
  };
@@ -9954,28 +10188,474 @@ interface operations {
9954
10188
  };
9955
10189
  };
9956
10190
  };
9957
- 400: components["responses"]["BadRequest"];
9958
- 401: components["responses"]["Unauthorized"];
9959
- 404: components["responses"]["NotFound"];
9960
- };
9961
- };
9962
- "pos-update-cart": {
9963
- parameters: {
9964
- query?: never;
10191
+ 400: components["responses"]["BadRequest"];
10192
+ 401: components["responses"]["Unauthorized"];
10193
+ 404: components["responses"]["NotFound"];
10194
+ };
10195
+ };
10196
+ "pos-update-cart": {
10197
+ parameters: {
10198
+ query?: never;
10199
+ header?: never;
10200
+ path: {
10201
+ /** @description cart id */
10202
+ id: string;
10203
+ };
10204
+ cookie?: never;
10205
+ };
10206
+ requestBody: {
10207
+ content: {
10208
+ "application/json": components["schemas"]["UpdateCartItem"];
10209
+ };
10210
+ };
10211
+ responses: {
10212
+ /** @description OK */
10213
+ 200: {
10214
+ headers: {
10215
+ [name: string]: unknown;
10216
+ };
10217
+ content: {
10218
+ "application/json": {
10219
+ message: string;
10220
+ success: boolean;
10221
+ content: {
10222
+ cart: components["schemas"]["Cart"];
10223
+ };
10224
+ };
10225
+ };
10226
+ };
10227
+ 400: components["responses"]["BadRequest"];
10228
+ 401: components["responses"]["Unauthorized"];
10229
+ 404: components["responses"]["NotFound"];
10230
+ };
10231
+ };
10232
+ "pos-redeem-loyalty-points": {
10233
+ parameters: {
10234
+ query?: never;
10235
+ header?: never;
10236
+ path: {
10237
+ /** @description Cart ID */
10238
+ id: string;
10239
+ };
10240
+ cookie?: never;
10241
+ };
10242
+ requestBody: {
10243
+ content: {
10244
+ "application/json": {
10245
+ /** @example 1000 */
10246
+ loyalty_point_redeemed: number;
10247
+ };
10248
+ };
10249
+ };
10250
+ responses: {
10251
+ /** @description OK */
10252
+ 200: {
10253
+ headers: {
10254
+ [name: string]: unknown;
10255
+ };
10256
+ content: {
10257
+ "application/json": {
10258
+ message: string;
10259
+ success: boolean;
10260
+ content: {
10261
+ cart: components["schemas"]["Cart"];
10262
+ };
10263
+ };
10264
+ };
10265
+ };
10266
+ 400: components["responses"]["BadRequest"];
10267
+ 401: components["responses"]["Unauthorized"];
10268
+ };
10269
+ };
10270
+ "pos-remove-loyalty-points": {
10271
+ parameters: {
10272
+ query?: never;
10273
+ header?: never;
10274
+ path: {
10275
+ /** @description Cart ID */
10276
+ id: string;
10277
+ };
10278
+ cookie?: never;
10279
+ };
10280
+ requestBody?: never;
10281
+ responses: {
10282
+ /** @description OK */
10283
+ 200: {
10284
+ headers: {
10285
+ [name: string]: unknown;
10286
+ };
10287
+ content: {
10288
+ "application/json": {
10289
+ message: string;
10290
+ success: boolean;
10291
+ content: {
10292
+ cart: components["schemas"]["Cart"];
10293
+ };
10294
+ };
10295
+ };
10296
+ };
10297
+ 400: components["responses"]["BadRequest"];
10298
+ 401: components["responses"]["Unauthorized"];
10299
+ /** @description Not Found */
10300
+ 404: {
10301
+ headers: {
10302
+ [name: string]: unknown;
10303
+ };
10304
+ content?: never;
10305
+ };
10306
+ };
10307
+ };
10308
+ "update-pos-cart-customer": {
10309
+ parameters: {
10310
+ query?: never;
10311
+ header?: never;
10312
+ path: {
10313
+ /** @description cart id */
10314
+ id: string;
10315
+ };
10316
+ cookie?: never;
10317
+ };
10318
+ requestBody: {
10319
+ content: {
10320
+ "application/json": components["schemas"]["PosUpdateCustomerWithId"] | components["schemas"]["PosUpdateCustomerWithPhone"] | components["schemas"]["PosUpdateCustomerWithEmail"];
10321
+ };
10322
+ };
10323
+ responses: {
10324
+ /** @description OK */
10325
+ 200: {
10326
+ headers: {
10327
+ [name: string]: unknown;
10328
+ };
10329
+ content: {
10330
+ "application/json": {
10331
+ message: string;
10332
+ success: boolean;
10333
+ content: {
10334
+ cart: components["schemas"]["Cart"];
10335
+ };
10336
+ };
10337
+ };
10338
+ };
10339
+ 400: components["responses"]["BadRequest"];
10340
+ 401: components["responses"]["Unauthorized"];
10341
+ 404: components["responses"]["NotFound"];
10342
+ };
10343
+ };
10344
+ "pos-list-categories": {
10345
+ parameters: {
10346
+ query?: {
10347
+ /** @description search keyword */
10348
+ search?: components["parameters"]["searchKeyword"];
10349
+ /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
10350
+ sort_by?: components["parameters"]["sortingParam"];
10351
+ /** @description return child categories up to nesting level */
10352
+ nested_level?: number;
10353
+ /** @description To return child categories using category id. */
10354
+ parent_category_id?: string;
10355
+ /** @description To return child categories using category slug */
10356
+ parent_category_slug?: string;
10357
+ };
10358
+ header?: never;
10359
+ path?: never;
10360
+ cookie?: never;
10361
+ };
10362
+ requestBody?: never;
10363
+ responses: {
10364
+ /** @description OK */
10365
+ 200: {
10366
+ headers: {
10367
+ [name: string]: unknown;
10368
+ };
10369
+ content: {
10370
+ "application/json": {
10371
+ /** @example all categories */
10372
+ message: string;
10373
+ success: boolean;
10374
+ content: {
10375
+ categories: components["schemas"]["ProductCategory"][];
10376
+ pagination: components["schemas"]["Pagination"];
10377
+ };
10378
+ };
10379
+ };
10380
+ };
10381
+ 400: components["responses"]["BadRequest"];
10382
+ 401: components["responses"]["Unauthorized"];
10383
+ 404: components["responses"]["NotFound"];
10384
+ };
10385
+ };
10386
+ "pos-list-products": {
10387
+ parameters: {
10388
+ query?: {
10389
+ /** @description page number of pagination list */
10390
+ page?: components["parameters"]["pageParam"];
10391
+ /** @description no of rows per page */
10392
+ limit?: components["parameters"]["pageLimitParam"];
10393
+ /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
10394
+ sort_by?: components["parameters"]["sortingParam"];
10395
+ /** @description filter products by categories ids */
10396
+ category_id?: string[];
10397
+ /** @description filter products by categories slugs */
10398
+ category_slug?: string[];
10399
+ };
10400
+ header?: {
10401
+ /** @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. */
10402
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10403
+ };
10404
+ path?: never;
10405
+ cookie?: never;
10406
+ };
10407
+ requestBody?: never;
10408
+ responses: {
10409
+ /** @description Success response */
10410
+ 200: {
10411
+ headers: {
10412
+ [name: string]: unknown;
10413
+ };
10414
+ content: {
10415
+ "application/json": {
10416
+ /** @example Products retrieved successfully. */
10417
+ message: string;
10418
+ success: boolean;
10419
+ content: {
10420
+ products: components["schemas"]["Product"][];
10421
+ pagination: components["schemas"]["Pagination"];
10422
+ };
10423
+ };
10424
+ };
10425
+ };
10426
+ 401: components["responses"]["Unauthorized"];
10427
+ 404: components["responses"]["NotFound"];
10428
+ };
10429
+ };
10430
+ "pos-list-crosssell-products": {
10431
+ parameters: {
10432
+ query?: {
10433
+ /** @description no of rows per page */
10434
+ limit?: number;
10435
+ /** @description page number in pagination */
10436
+ page?: number;
10437
+ /** @description Product ids of cart items */
10438
+ product_id?: string[];
10439
+ /** @description json to sort records */
10440
+ sort_by?: string;
10441
+ };
10442
+ header?: {
10443
+ /** @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. */
10444
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10445
+ };
10446
+ path?: never;
10447
+ cookie?: never;
10448
+ };
10449
+ requestBody?: never;
10450
+ responses: {
10451
+ /** @description Success response */
10452
+ 200: {
10453
+ headers: {
10454
+ [name: string]: unknown;
10455
+ };
10456
+ content: {
10457
+ "application/json": {
10458
+ message: string;
10459
+ success: boolean;
10460
+ content: {
10461
+ products: components["schemas"]["Item"][];
10462
+ pagination: components["schemas"]["Pagination"];
10463
+ };
10464
+ };
10465
+ };
10466
+ };
10467
+ 401: components["responses"]["Unauthorized"];
10468
+ 404: components["responses"]["NotFound"];
10469
+ };
10470
+ };
10471
+ "pos-search-products": {
10472
+ parameters: {
10473
+ query?: never;
10474
+ header?: {
10475
+ /** @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. */
10476
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10477
+ };
10478
+ path?: never;
10479
+ cookie?: never;
10480
+ };
10481
+ requestBody: {
10482
+ content: {
10483
+ "application/json": components["schemas"]["SearchProduct"];
10484
+ };
10485
+ };
10486
+ responses: {
10487
+ /** @description Success response */
10488
+ 200: {
10489
+ headers: {
10490
+ [name: string]: unknown;
10491
+ };
10492
+ content: {
10493
+ "application/json": {
10494
+ message: string;
10495
+ success: boolean;
10496
+ content: {
10497
+ skus: components["schemas"]["Item"][];
10498
+ facet_distribution: {
10499
+ [key: string]: {
10500
+ [key: string]: number;
10501
+ };
10502
+ };
10503
+ facet_stats: {
10504
+ [key: string]: {
10505
+ min: number;
10506
+ max: number;
10507
+ };
10508
+ };
10509
+ pagination: components["schemas"]["Pagination"];
10510
+ };
10511
+ };
10512
+ };
10513
+ };
10514
+ 401: components["responses"]["Unauthorized"];
10515
+ };
10516
+ };
10517
+ "pos-list-similar-products": {
10518
+ parameters: {
10519
+ query?: {
10520
+ /** @description no of rows per page */
10521
+ limit?: number;
10522
+ /** @description page number in pagination */
10523
+ page?: number;
10524
+ /** @description to retrieve similar products of specified products */
10525
+ product_id?: string[];
10526
+ /** @description json to sort records */
10527
+ sort_by?: string;
10528
+ };
10529
+ header?: {
10530
+ /** @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. */
10531
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10532
+ };
10533
+ path?: never;
10534
+ cookie?: never;
10535
+ };
10536
+ requestBody?: never;
10537
+ responses: {
10538
+ /** @description Success response */
10539
+ 200: {
10540
+ headers: {
10541
+ [name: string]: unknown;
10542
+ };
10543
+ content: {
10544
+ "application/json": {
10545
+ message: string;
10546
+ success: boolean;
10547
+ content: {
10548
+ products: components["schemas"]["Item"][];
10549
+ pagination: components["schemas"]["Pagination"];
10550
+ };
10551
+ };
10552
+ };
10553
+ };
10554
+ 401: components["responses"]["Unauthorized"];
10555
+ 404: components["responses"]["NotFound"];
10556
+ };
10557
+ };
10558
+ "pos-list-upsell-products": {
10559
+ parameters: {
10560
+ query?: {
10561
+ /** @description no of rows per page */
10562
+ limit?: number;
10563
+ /** @description page number in pagination */
10564
+ page?: number;
10565
+ /** @description Product ids of cart items */
10566
+ product_id?: string[];
10567
+ /** @description json to sort records */
10568
+ sort_by?: string;
10569
+ };
10570
+ header?: {
10571
+ /** @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. */
10572
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10573
+ };
10574
+ path?: never;
10575
+ cookie?: never;
10576
+ };
10577
+ requestBody?: never;
10578
+ responses: {
10579
+ /** @description Success response */
10580
+ 200: {
10581
+ headers: {
10582
+ [name: string]: unknown;
10583
+ };
10584
+ content: {
10585
+ "application/json": {
10586
+ /** @description Masssage */
10587
+ message: string;
10588
+ success: boolean;
10589
+ content: {
10590
+ products: components["schemas"]["Item"][];
10591
+ pagination: components["schemas"]["Pagination"];
10592
+ };
10593
+ };
10594
+ };
10595
+ };
10596
+ 401: components["responses"]["Unauthorized"];
10597
+ 404: components["responses"]["NotFound"];
10598
+ };
10599
+ };
10600
+ "pos-get-product-detail": {
10601
+ parameters: {
10602
+ query?: never;
10603
+ header?: {
10604
+ /** @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. */
10605
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10606
+ };
10607
+ path: {
10608
+ /** @description The unique identifier of the product. Can be either the product ID or the slug. */
10609
+ product_id_or_slug: string;
10610
+ };
10611
+ cookie?: never;
10612
+ };
10613
+ requestBody?: never;
10614
+ responses: {
10615
+ /** @description Success response */
10616
+ 200: {
10617
+ headers: {
10618
+ [name: string]: unknown;
10619
+ };
10620
+ content: {
10621
+ "application/json": {
10622
+ /** @example Products retrieved successfully. */
10623
+ message: string;
10624
+ success: boolean;
10625
+ content: {
10626
+ product: components["schemas"]["ProductDetail"];
10627
+ };
10628
+ };
10629
+ };
10630
+ };
10631
+ 401: components["responses"]["Unauthorized"];
10632
+ 404: components["responses"]["NotFound"];
10633
+ };
10634
+ };
10635
+ "pos-list-product-reviews": {
10636
+ parameters: {
10637
+ query?: {
10638
+ /** @description page number of pagination list */
10639
+ page?: components["parameters"]["pageParam"];
10640
+ /** @description no of rows per page */
10641
+ limit?: components["parameters"]["pageLimitParam"];
10642
+ /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
10643
+ sort_by?: components["parameters"]["sortingParam"];
10644
+ /** @description search keyword */
10645
+ search?: components["parameters"]["searchKeyword"];
10646
+ /** @description filter review with review tag */
10647
+ review_tag?: string;
10648
+ };
9965
10649
  header?: never;
9966
10650
  path: {
9967
- /** @description cart id */
9968
- id: string;
10651
+ /** @description id of a particular product */
10652
+ product_id: string;
9969
10653
  };
9970
10654
  cookie?: never;
9971
10655
  };
9972
- requestBody: {
9973
- content: {
9974
- "application/json": components["schemas"]["UpdateCartItem"];
9975
- };
9976
- };
10656
+ requestBody?: never;
9977
10657
  responses: {
9978
- /** @description OK */
10658
+ /** @description Success response */
9979
10659
  200: {
9980
10660
  headers: {
9981
10661
  [name: string]: unknown;
@@ -9985,124 +10665,129 @@ interface operations {
9985
10665
  message: string;
9986
10666
  success: boolean;
9987
10667
  content: {
9988
- cart: components["schemas"]["Cart"];
10668
+ reviews: components["schemas"]["ProductReview"][];
10669
+ review_tags?: string[] | null;
10670
+ pagination?: components["schemas"]["Pagination"];
9989
10671
  };
9990
10672
  };
9991
10673
  };
9992
10674
  };
9993
- 400: components["responses"]["BadRequest"];
9994
10675
  401: components["responses"]["Unauthorized"];
9995
10676
  404: components["responses"]["NotFound"];
9996
10677
  };
9997
10678
  };
9998
- "pos-redeem-loyalty-points": {
10679
+ "pos-list-product-variants": {
9999
10680
  parameters: {
10000
10681
  query?: never;
10001
- header?: never;
10682
+ header?: {
10683
+ /** @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. */
10684
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10685
+ };
10002
10686
  path: {
10003
- /** @description Cart ID */
10004
- id: string;
10687
+ /** @description ID of a particular product */
10688
+ product_id: string;
10005
10689
  };
10006
10690
  cookie?: never;
10007
10691
  };
10008
- requestBody: {
10009
- content: {
10010
- "application/json": {
10011
- /** @example 1000 */
10012
- loyalty_point_redeemed: number;
10013
- };
10014
- };
10015
- };
10692
+ requestBody?: never;
10016
10693
  responses: {
10017
- /** @description OK */
10694
+ /** @description Success response */
10018
10695
  200: {
10019
10696
  headers: {
10020
10697
  [name: string]: unknown;
10021
10698
  };
10022
10699
  content: {
10023
10700
  "application/json": {
10701
+ /** @example Products retrieved successfully. */
10024
10702
  message: string;
10025
10703
  success: boolean;
10026
10704
  content: {
10027
- cart: components["schemas"]["Cart"];
10705
+ variants: components["schemas"]["Variant"][];
10028
10706
  };
10029
10707
  };
10030
10708
  };
10031
10709
  };
10032
- 400: components["responses"]["BadRequest"];
10033
10710
  401: components["responses"]["Unauthorized"];
10711
+ 404: components["responses"]["NotFound"];
10034
10712
  };
10035
10713
  };
10036
- "pos-remove-loyalty-points": {
10714
+ "pos-get-variant-detail": {
10037
10715
  parameters: {
10038
10716
  query?: never;
10039
- header?: never;
10717
+ header?: {
10718
+ /** @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. */
10719
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10720
+ };
10040
10721
  path: {
10041
- /** @description Cart ID */
10042
- id: string;
10722
+ /** @description product id */
10723
+ product_id: string;
10724
+ /** @description variant id */
10725
+ variant_id: string;
10043
10726
  };
10044
10727
  cookie?: never;
10045
10728
  };
10046
10729
  requestBody?: never;
10047
10730
  responses: {
10048
- /** @description OK */
10731
+ /** @description Success response */
10049
10732
  200: {
10050
10733
  headers: {
10051
10734
  [name: string]: unknown;
10052
10735
  };
10053
10736
  content: {
10054
10737
  "application/json": {
10738
+ /** @example Products retrieved successfully. */
10055
10739
  message: string;
10056
10740
  success: boolean;
10057
10741
  content: {
10058
- cart: components["schemas"]["Cart"];
10742
+ variant: components["schemas"]["VariantDetail"];
10059
10743
  };
10060
10744
  };
10061
10745
  };
10062
10746
  };
10063
- 400: components["responses"]["BadRequest"];
10064
10747
  401: components["responses"]["Unauthorized"];
10065
- /** @description Not Found */
10066
- 404: {
10067
- headers: {
10068
- [name: string]: unknown;
10069
- };
10070
- content?: never;
10071
- };
10748
+ 404: components["responses"]["NotFound"];
10072
10749
  };
10073
10750
  };
10074
- "update-pos-cart-customer": {
10751
+ "pos-list-skus": {
10075
10752
  parameters: {
10076
- query?: never;
10077
- header?: never;
10078
- path: {
10079
- /** @description cart id */
10080
- id: string;
10753
+ query?: {
10754
+ /** @description page number of pagination list */
10755
+ page?: components["parameters"]["pageParam"];
10756
+ /** @description no of rows per page */
10757
+ limit?: components["parameters"]["pageLimitParam"];
10758
+ /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
10759
+ sort_by?: components["parameters"]["sortingParam"];
10760
+ /** @description filter sku by categories */
10761
+ category_id?: string[];
10762
+ /** @description array of sku */
10763
+ sku?: string[];
10081
10764
  };
10082
- cookie?: never;
10083
- };
10084
- requestBody?: {
10085
- content: {
10086
- "application/json": components["schemas"]["PosUpdateCustomerWithId"] | components["schemas"]["PosUpdateCustomerWithPhone"] | components["schemas"]["PosUpdateCustomerWithEmail"];
10765
+ header?: {
10766
+ /** @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. */
10767
+ "x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
10087
10768
  };
10769
+ path?: never;
10770
+ cookie?: never;
10088
10771
  };
10772
+ requestBody?: never;
10089
10773
  responses: {
10090
- /** @description OK */
10774
+ /** @description Success response */
10091
10775
  200: {
10092
10776
  headers: {
10093
10777
  [name: string]: unknown;
10094
10778
  };
10095
10779
  content: {
10096
10780
  "application/json": {
10097
- message?: string;
10098
- success?: string;
10099
- content?: {
10100
- cart?: components["schemas"]["Cart"];
10781
+ /** @example SKUs retrieved successfully. */
10782
+ message: string;
10783
+ success: boolean;
10784
+ content: {
10785
+ readonly skus: components["schemas"]["Item"][];
10786
+ pagination: components["schemas"]["Pagination"];
10101
10787
  };
10102
10788
  };
10103
10789
  };
10104
10790
  };
10105
- 400: components["responses"]["BadRequest"];
10106
10791
  401: components["responses"]["Unauthorized"];
10107
10792
  404: components["responses"]["NotFound"];
10108
10793
  };
@@ -10245,8 +10930,8 @@ interface operations {
10245
10930
  "application/json": {
10246
10931
  message: string;
10247
10932
  success: boolean;
10248
- content?: {
10249
- is_serviceable?: boolean;
10933
+ content: {
10934
+ is_serviceable: boolean;
10250
10935
  };
10251
10936
  };
10252
10937
  };
@@ -10870,6 +11555,341 @@ interface operations {
10870
11555
  };
10871
11556
  }
10872
11557
  //#endregion
11558
+ //#region ../sdk-core/dist/index.d.ts
11559
+ //#region src/types/api.d.ts
11560
+
11561
+ /**
11562
+ * Core API response types shared across Commerce Engine SDKs
11563
+ */
11564
+ /**
11565
+ * Standard API error response structure
11566
+ */
11567
+ interface ApiErrorResponse {
11568
+ success?: boolean;
11569
+ error?: any;
11570
+ code?: string;
11571
+ message?: string;
11572
+ }
11573
+ /**
11574
+ * Generic API result type that wraps all SDK responses
11575
+ * Provides consistent error handling and response structure
11576
+ */
11577
+ type ApiResult<T> = {
11578
+ data: T;
11579
+ error: null;
11580
+ response: Response;
11581
+ } | {
11582
+ data: null;
11583
+ error: ApiErrorResponse;
11584
+ response: Response;
11585
+ };
11586
+ //#endregion
11587
+ //#region src/types/logger.d.ts
11588
+ /**
11589
+ * Logger-related types for Commerce Engine SDKs
11590
+ */
11591
+ /**
11592
+ * Debug logger function interface
11593
+ */
11594
+ interface DebugLoggerFn {
11595
+ (level: "info" | "warn" | "error", message: string, data?: any): void;
11596
+ }
11597
+ //#endregion
11598
+ //#region src/types/config.d.ts
11599
+ /**
11600
+ * Base SDK configuration options for any OpenAPI-based SDK
11601
+ * Completely generic - no assumptions about the underlying API
11602
+ */
11603
+ interface BaseSDKOptions<TDefaultHeaders extends Record<string, any> = Record<string, any>> {
11604
+ /**
11605
+ * Base URL for the API
11606
+ */
11607
+ baseUrl?: string;
11608
+ /**
11609
+ * Optional timeout in milliseconds
11610
+ */
11611
+ timeout?: number;
11612
+ /**
11613
+ * Default headers to include with API requests
11614
+ * These can be overridden at the method level
11615
+ * Generic type allows each SDK to define its supported headers
11616
+ */
11617
+ defaultHeaders?: TDefaultHeaders;
11618
+ /**
11619
+ * Enable debug mode for detailed request/response logging
11620
+ */
11621
+ debug?: boolean;
11622
+ /**
11623
+ * Custom logger function for debug information
11624
+ */
11625
+ logger?: DebugLoggerFn;
11626
+ }
11627
+ /**
11628
+ * Header configuration for SDK clients
11629
+ * Defines supported headers and optional transformations
11630
+ */
11631
+ interface HeaderConfig<T extends Record<string, any>> {
11632
+ /**
11633
+ * Default headers from SDK configuration
11634
+ */
11635
+ defaultHeaders?: T;
11636
+ /**
11637
+ * Optional transformations to apply to header names
11638
+ * Maps SDK parameter names to HTTP header names
11639
+ */
11640
+ transformations?: Record<keyof T, string>;
11641
+ }
11642
+ //#endregion
11643
+ //#region src/base-client.d.ts
11644
+ /**
11645
+ * Generic base API client that all Commerce Engine SDKs can extend
11646
+ * Handles common functionality like middleware setup, request execution, and header management
11647
+ * Does NOT include token management - that's SDK-specific
11648
+ *
11649
+ * @template TPaths - OpenAPI paths type
11650
+ * @template THeaders - Supported default headers type
11651
+ */
11652
+ declare class BaseAPIClient<TPaths extends Record<string, any>, THeaders extends Record<string, any> = Record<string, any>> {
11653
+ protected client: ReturnType<typeof createClient<TPaths>>;
11654
+ protected config: BaseSDKOptions<THeaders>;
11655
+ protected readonly baseUrl: string;
11656
+ private readonly headerTransformations;
11657
+ /**
11658
+ * Create a new BaseAPIClient
11659
+ *
11660
+ * @param config - Configuration for the API client
11661
+ * @param baseUrl - The base URL for the API (must be provided by subclass)
11662
+ * @param headerTransformations - Header name transformations for this SDK
11663
+ */
11664
+ constructor(config: BaseSDKOptions<THeaders>, baseUrl: string, headerTransformations?: Record<keyof THeaders, string>);
11665
+ /**
11666
+ * Set up all middleware for the client
11667
+ */
11668
+ private setupMiddleware;
11669
+ /**
11670
+ * Get the base URL of the API
11671
+ *
11672
+ * @returns The base URL of the API
11673
+ */
11674
+ getBaseUrl(): string;
11675
+ /**
11676
+ * Execute a request and handle the response consistently
11677
+ * This provides unified error handling and response processing
11678
+ *
11679
+ * @param apiCall - Function that executes the API request
11680
+ * @returns Promise with the API response in standardized format
11681
+ */
11682
+ protected executeRequest<T>(apiCall: () => Promise<{
11683
+ data?: {
11684
+ message?: string;
11685
+ success?: boolean;
11686
+ content?: T;
11687
+ };
11688
+ error?: any;
11689
+ response: Response;
11690
+ }>): Promise<ApiResult<T>>;
11691
+ /**
11692
+ * Merge default headers with method-level headers
11693
+ * Method-level headers take precedence over default headers
11694
+ * Automatically applies SDK-specific header transformations
11695
+ *
11696
+ * @param methodHeaders - Headers passed to the specific method call
11697
+ * @returns Merged headers object with proper HTTP header names
11698
+ */
11699
+ protected mergeHeaders<T extends Record<string, any> = Record<string, any>>(methodHeaders?: T): T;
11700
+ /**
11701
+ * Set default headers for the client
11702
+ *
11703
+ * @param headers - Default headers to set
11704
+ */
11705
+ setDefaultHeaders(headers: THeaders): void;
11706
+ /**
11707
+ * Get current default headers
11708
+ *
11709
+ * @returns Current default headers
11710
+ */
11711
+ getDefaultHeaders(): THeaders | undefined;
11712
+ /**
11713
+ * Add middleware to the client
11714
+ * This allows SDK extensions to add custom middleware like authentication
11715
+ *
11716
+ * @param middleware - Middleware to add to the client
11717
+ */
11718
+ use(middleware: any): void;
11719
+ }
11720
+ //#endregion
11721
+ //#region src/utils/url.d.ts
11722
+ /**
11723
+ * Generic URL utility functions for any SDK
11724
+ */
11725
+ /**
11726
+ * Extract pathname from URL
11727
+ * Useful for middleware that needs to inspect request paths
11728
+ */
11729
+ declare function getPathnameFromUrl(url: string): string;
11730
+ //#endregion
11731
+ //#region src/utils/response.d.ts
11732
+ /**
11733
+ * Execute a request and handle the response consistently
11734
+ * This provides unified error handling and response processing across all SDKs
11735
+ *
11736
+ * @param apiCall - Function that executes the API request
11737
+ * @returns Promise with the API response in standardized format
11738
+ */
11739
+ declare function executeRequest<T>(apiCall: () => Promise<{
11740
+ data?: {
11741
+ message?: string;
11742
+ success?: boolean;
11743
+ content?: T;
11744
+ };
11745
+ error?: ApiErrorResponse;
11746
+ response: Response;
11747
+ }>): Promise<ApiResult<T>>;
11748
+ //#endregion
11749
+ //#region src/middleware/debug.d.ts
11750
+ /**
11751
+ * Response utilities for debugging and working with Response objects
11752
+ */
11753
+ declare class ResponseUtils {
11754
+ /**
11755
+ * Get response headers as a plain object
11756
+ */
11757
+ static getHeaders(response: Response): Record<string, string>;
11758
+ /**
11759
+ * Get specific header value
11760
+ */
11761
+ static getHeader(response: Response, name: string): string | null;
11762
+ /**
11763
+ * Check if response was successful
11764
+ */
11765
+ static isSuccess(response: Response): boolean;
11766
+ /**
11767
+ * Get response metadata
11768
+ */
11769
+ static getMetadata(response: Response): {
11770
+ status: number;
11771
+ statusText: string;
11772
+ ok: boolean;
11773
+ url: string;
11774
+ redirected: boolean;
11775
+ type: ResponseType;
11776
+ headers: {
11777
+ [k: string]: string;
11778
+ };
11779
+ };
11780
+ /**
11781
+ * Clone and read response as text (useful for debugging)
11782
+ * Note: This can only be called once per response
11783
+ */
11784
+ static getText(response: Response): Promise<string>;
11785
+ /**
11786
+ * Clone and read response as JSON (useful for debugging)
11787
+ * Note: This can only be called once per response
11788
+ */
11789
+ static getJSON(response: Response): Promise<any>;
11790
+ /**
11791
+ * Format response information for debugging
11792
+ */
11793
+ static format(response: Response): string;
11794
+ /**
11795
+ * Format response for logging purposes (enhanced version)
11796
+ */
11797
+ static formatResponse(response: Response): Record<string, any>;
11798
+ }
11799
+ /**
11800
+ * Debug logging utilities
11801
+ */
11802
+ declare class DebugLogger {
11803
+ private logger;
11804
+ private responseTextCache;
11805
+ constructor(logger?: DebugLoggerFn);
11806
+ /**
11807
+ * Log debug information about API request
11808
+ */
11809
+ logRequest(request: Request, requestBody?: any): void;
11810
+ /**
11811
+ * Log debug information about API response
11812
+ */
11813
+ logResponse(response: Response, responseBody?: any): Promise<void>;
11814
+ /**
11815
+ * Log error information
11816
+ */
11817
+ logError(message: string, error: any): void;
11818
+ /**
11819
+ * Get cached response text for a URL (if available)
11820
+ */
11821
+ getCachedResponseText(url: string): string | null;
11822
+ /**
11823
+ * Clear cached response texts
11824
+ */
11825
+ clearCache(): void;
11826
+ info(message: string, data?: any): void;
11827
+ warn(message: string, data?: any): void;
11828
+ error(message: string, data?: any): void;
11829
+ }
11830
+ /**
11831
+ * Extract request body for logging
11832
+ */
11833
+ declare function extractRequestBody(request: Request): Promise<any>;
11834
+ /**
11835
+ * Create debug middleware for openapi-fetch (internal use)
11836
+ * Enhanced version that combines original functionality with duration tracking
11837
+ */
11838
+ declare function createDebugMiddleware(logger?: DebugLoggerFn): Middleware;
11839
+ //#endregion
11840
+ //#region src/middleware/timeout.d.ts
11841
+ /**
11842
+ * Timeout middleware for Commerce Engine SDKs
11843
+ */
11844
+ /**
11845
+ * Create timeout middleware for openapi-fetch
11846
+ * Adds configurable request timeout functionality
11847
+ *
11848
+ * @param timeoutMs - Timeout duration in milliseconds
11849
+ * @returns Middleware object with onRequest handler
11850
+ */
11851
+ declare function createTimeoutMiddleware(timeoutMs: number): {
11852
+ onRequest: ({
11853
+ request
11854
+ }: {
11855
+ request: Request;
11856
+ }) => Promise<Request>;
11857
+ };
11858
+ //#endregion
11859
+ //#region src/middleware/headers.d.ts
11860
+ /**
11861
+ * Header transformation and merging utilities for Commerce Engine SDKs
11862
+ */
11863
+ /**
11864
+ * Merge two header objects
11865
+ * Method-level headers take precedence over default headers
11866
+ *
11867
+ * @param defaultHeaders - Default headers from SDK configuration
11868
+ * @param methodHeaders - Headers passed to the specific method call
11869
+ * @returns Merged headers object
11870
+ */
11871
+ declare function mergeHeaders<T extends Record<string, any> = Record<string, any>>(defaultHeaders?: Record<string, any>, methodHeaders?: T): T;
11872
+ /**
11873
+ * Transform headers using a transformation mapping
11874
+ * Headers not in the transformation map are passed through unchanged
11875
+ *
11876
+ * @param headers - Headers object with original names
11877
+ * @param transformations - Mapping of original names to transformed names
11878
+ * @returns Headers object with transformed names
11879
+ */
11880
+ declare function transformHeaders(headers: Record<string, any>, transformations: Record<string, string>): Record<string, string>;
11881
+ /**
11882
+ * Merge headers with transformation support
11883
+ * Transforms default headers, then merges with method headers
11884
+ *
11885
+ * @param defaultHeaders - Default headers from SDK configuration
11886
+ * @param methodHeaders - Headers passed to the specific method call
11887
+ * @param transformations - Mapping for header name transformations
11888
+ * @returns Merged headers object with transformations applied
11889
+ */
11890
+ declare function mergeAndTransformHeaders<T extends Record<string, any> = Record<string, any>>(defaultHeaders?: Record<string, any>, methodHeaders?: T, transformations?: Record<string, string>): T;
11891
+ //#endregion
11892
+ //#endregion
10873
11893
  //#region src/lib/client.d.ts
10874
11894
  /**
10875
11895
  * Storefront API client that extends the generic BaseAPIClient
@@ -11453,6 +12473,7 @@ type LoginPosDeviceWithPhoneBody = NonNullable<paths['/pos/auth/login/phone']['p
11453
12473
  type LoginPosDeviceWithWhatsappResponse = paths['/pos/auth/login/whatsapp']['post']['responses'][200]['content']['application/json'];
11454
12474
  type LoginPosDeviceWithWhatsappContent = LoginPosDeviceWithWhatsappResponse['content'];
11455
12475
  type LoginPosDeviceWithWhatsappBody = NonNullable<paths['/pos/auth/login/whatsapp']['post']['requestBody']>['content']['application/json'];
12476
+ type LogoutFromPosDeviceResponse = paths['/pos/auth/logout']['post']['responses'][200]['content']['application/json'];
11456
12477
  type PairPosDeviceResponse = paths['/pos/auth/pair-device']['post']['responses'][200]['content']['application/json'];
11457
12478
  type PairPosDeviceContent = PairPosDeviceResponse['content'];
11458
12479
  type PairPosDeviceBody = NonNullable<paths['/pos/auth/pair-device']['post']['requestBody']>['content']['application/json'];
@@ -11525,6 +12546,49 @@ type UpdatePosCartCustomerResponse = paths['/pos/carts/{id}/update-customer']['p
11525
12546
  type UpdatePosCartCustomerContent = UpdatePosCartCustomerResponse['content'];
11526
12547
  type UpdatePosCartCustomerPathParams = paths['/pos/carts/{id}/update-customer']['post']['parameters']['path'];
11527
12548
  type UpdatePosCartCustomerBody = NonNullable<paths['/pos/carts/{id}/update-customer']['post']['requestBody']>['content']['application/json'];
12549
+ type PosListCategoriesResponse = paths['/pos/catalog/categories']['get']['responses'][200]['content']['application/json'];
12550
+ type PosListCategoriesContent = PosListCategoriesResponse['content'];
12551
+ type PosListCategoriesQuery = paths['/pos/catalog/categories']['get']['parameters']['query'];
12552
+ type PosListProductsResponse = paths['/pos/catalog/products']['get']['responses'][200]['content']['application/json'];
12553
+ type PosListProductsContent = PosListProductsResponse['content'];
12554
+ type PosListProductsQuery = paths['/pos/catalog/products']['get']['parameters']['query'];
12555
+ type PosListProductsHeaderParams = paths['/pos/catalog/products']['get']['parameters']['header'];
12556
+ type PosListCrosssellProductsResponse = paths['/pos/catalog/products/cross-sell']['get']['responses'][200]['content']['application/json'];
12557
+ type PosListCrosssellProductsContent = PosListCrosssellProductsResponse['content'];
12558
+ type PosListCrosssellProductsQuery = paths['/pos/catalog/products/cross-sell']['get']['parameters']['query'];
12559
+ type PosListCrosssellProductsHeaderParams = paths['/pos/catalog/products/cross-sell']['get']['parameters']['header'];
12560
+ type PosSearchProductsResponse = paths['/pos/catalog/products/search']['post']['responses'][200]['content']['application/json'];
12561
+ type PosSearchProductsContent = PosSearchProductsResponse['content'];
12562
+ type PosSearchProductsHeaderParams = paths['/pos/catalog/products/search']['post']['parameters']['header'];
12563
+ type PosSearchProductsBody = NonNullable<paths['/pos/catalog/products/search']['post']['requestBody']>['content']['application/json'];
12564
+ type PosListSimilarProductsResponse = paths['/pos/catalog/products/similar']['get']['responses'][200]['content']['application/json'];
12565
+ type PosListSimilarProductsContent = PosListSimilarProductsResponse['content'];
12566
+ type PosListSimilarProductsQuery = paths['/pos/catalog/products/similar']['get']['parameters']['query'];
12567
+ type PosListSimilarProductsHeaderParams = paths['/pos/catalog/products/similar']['get']['parameters']['header'];
12568
+ type PosListUpsellProductsResponse = paths['/pos/catalog/products/up-sell']['get']['responses'][200]['content']['application/json'];
12569
+ type PosListUpsellProductsContent = PosListUpsellProductsResponse['content'];
12570
+ type PosListUpsellProductsQuery = paths['/pos/catalog/products/up-sell']['get']['parameters']['query'];
12571
+ type PosListUpsellProductsHeaderParams = paths['/pos/catalog/products/up-sell']['get']['parameters']['header'];
12572
+ type PosGetProductDetailResponse = paths['/pos/catalog/products/{product_id_or_slug}']['get']['responses'][200]['content']['application/json'];
12573
+ type PosGetProductDetailContent = PosGetProductDetailResponse['content'];
12574
+ type PosGetProductDetailPathParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['path'];
12575
+ type PosGetProductDetailHeaderParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['header'];
12576
+ type PosListProductReviewsResponse = paths['/pos/catalog/products/{product_id}/reviews']['get']['responses'][200]['content']['application/json'];
12577
+ type PosListProductReviewsContent = PosListProductReviewsResponse['content'];
12578
+ type PosListProductReviewsQuery = paths['/pos/catalog/products/{product_id}/reviews']['get']['parameters']['query'];
12579
+ type PosListProductReviewsPathParams = paths['/pos/catalog/products/{product_id}/reviews']['get']['parameters']['path'];
12580
+ type PosListProductVariantsResponse = paths['/pos/catalog/products/{product_id}/variants']['get']['responses'][200]['content']['application/json'];
12581
+ type PosListProductVariantsContent = PosListProductVariantsResponse['content'];
12582
+ type PosListProductVariantsPathParams = paths['/pos/catalog/products/{product_id}/variants']['get']['parameters']['path'];
12583
+ type PosListProductVariantsHeaderParams = paths['/pos/catalog/products/{product_id}/variants']['get']['parameters']['header'];
12584
+ type PosGetVariantDetailResponse = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['responses'][200]['content']['application/json'];
12585
+ type PosGetVariantDetailContent = PosGetVariantDetailResponse['content'];
12586
+ type PosGetVariantDetailPathParams = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['path'];
12587
+ type PosGetVariantDetailHeaderParams = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['header'];
12588
+ type PosListSkusResponse = paths['/pos/catalog/skus']['get']['responses'][200]['content']['application/json'];
12589
+ type PosListSkusContent = PosListSkusResponse['content'];
12590
+ type PosListSkusQuery = paths['/pos/catalog/skus']['get']['parameters']['query'];
12591
+ type PosListSkusHeaderParams = paths['/pos/catalog/skus']['get']['parameters']['header'];
11528
12592
  type GetPosFulfillmentOptionsResponse = paths['/pos/fulfillment-options']['post']['responses'][200]['content']['application/json'];
11529
12593
  type GetPosFulfillmentOptionsContent = GetPosFulfillmentOptionsResponse['content'];
11530
12594
  type GetPosFulfillmentOptionsBody = NonNullable<paths['/pos/fulfillment-options']['post']['requestBody']>['content']['application/json'];
@@ -11958,10 +13022,10 @@ declare class CatalogClient extends StorefrontAPIClient {
11958
13022
  * if (error) {
11959
13023
  * console.error("Failed to get cross-sell products:", error.message);
11960
13024
  * } else {
11961
- * console.log("Cross-sell products found:", data.content.products.length);
11962
- * console.log("Pagination:", data.content.pagination);
13025
+ * console.log("Cross-sell products found:", data.products.length);
13026
+ * console.log("Pagination:", data.pagination);
11963
13027
  *
11964
- * data.content.products.forEach(product => {
13028
+ * data.products.forEach(product => {
11965
13029
  * console.log(`Product: ${product.name} - ${product.price}`);
11966
13030
  * });
11967
13031
  * }
@@ -12004,10 +13068,10 @@ declare class CatalogClient extends StorefrontAPIClient {
12004
13068
  * if (error) {
12005
13069
  * console.error("Failed to get up-sell products:", error.message);
12006
13070
  * } else {
12007
- * console.log("Up-sell products found:", data.content.products.length);
12008
- * console.log("Pagination:", data.content.pagination);
13071
+ * console.log("Up-sell products found:", data.products.length);
13072
+ * console.log("Pagination:", data.pagination);
12009
13073
  *
12010
- * data.content.products.forEach(product => {
13074
+ * data.products.forEach(product => {
12011
13075
  * console.log(`Up-sell: ${product.name} - ${product.price}`);
12012
13076
  * });
12013
13077
  * }
@@ -12050,10 +13114,10 @@ declare class CatalogClient extends StorefrontAPIClient {
12050
13114
  * if (error) {
12051
13115
  * console.error("Failed to get similar products:", error.message);
12052
13116
  * } else {
12053
- * console.log("Similar products found:", data.content.products.length);
12054
- * console.log("Pagination:", data.content.pagination);
13117
+ * console.log("Similar products found:", data.products.length);
13118
+ * console.log("Pagination:", data.pagination);
12055
13119
  *
12056
- * data.content.products.forEach(product => {
13120
+ * data.products.forEach(product => {
12057
13121
  * console.log(`Similar: ${product.name} - ${product.price}`);
12058
13122
  * });
12059
13123
  * }
@@ -12116,8 +13180,8 @@ declare class CartClient extends StorefrontAPIClient {
12116
13180
  * console.error("Failed to get cart:", error.message);
12117
13181
  * } else {
12118
13182
  * const cart = data.cart;
12119
- * console.log("Cart total:", cart.total_amount);
12120
- * console.log("Items count:", cart.items.length);
13183
+ * console.log("Cart total:", cart.grand_total);
13184
+ * console.log("Items count:", cart.cart_items.length);
12121
13185
  * }
12122
13186
  * ```
12123
13187
  */
@@ -12162,7 +13226,7 @@ declare class CartClient extends StorefrontAPIClient {
12162
13226
  * if (error) {
12163
13227
  * console.error("Failed to update cart:", error.message);
12164
13228
  * } else {
12165
- * console.log("Cart updated:", data.cart.items.length);
13229
+ * console.log("Cart updated:", data.cart.cart_items.length);
12166
13230
  * }
12167
13231
  *
12168
13232
  * // Remove item from cart (set quantity to 0)
@@ -12296,7 +13360,7 @@ declare class CartClient extends StorefrontAPIClient {
12296
13360
  * if (error) {
12297
13361
  * console.error("Failed to apply coupon:", error.message);
12298
13362
  * } else {
12299
- * console.log("Coupon applied, new total:", data.cart.total_amount);
13363
+ * console.log("Coupon applied, new total:", data.cart.grand_total);
12300
13364
  * console.log("Discount amount:", data.cart.coupon_discount_amount);
12301
13365
  * }
12302
13366
  * ```
@@ -12316,7 +13380,7 @@ declare class CartClient extends StorefrontAPIClient {
12316
13380
  * if (error) {
12317
13381
  * console.error("Failed to remove coupon:", error.message);
12318
13382
  * } else {
12319
- * console.log("Coupon removed, new total:", data.cart.total_amount);
13383
+ * console.log("Coupon removed, new total:", data.cart.grand_total);
12320
13384
  * }
12321
13385
  * ```
12322
13386
  */
@@ -12331,14 +13395,14 @@ declare class CartClient extends StorefrontAPIClient {
12331
13395
  * ```typescript
12332
13396
  * const { data, error } = await sdk.cart.redeemLoyaltyPoints(
12333
13397
  * { id: "01H9CART12345ABCDE" },
12334
- * { points: 500 }
13398
+ * { loyalty_point_redeemed: 500 }
12335
13399
  * );
12336
13400
  *
12337
13401
  * if (error) {
12338
13402
  * console.error("Failed to redeem loyalty points:", error.message);
12339
13403
  * } else {
12340
- * console.log("Points redeemed, new total:", data.cart.total_amount);
12341
- * console.log("Points discount:", data.cart.loyalty_points_discount_amount);
13404
+ * console.log("Points redeemed, new total:", data.cart.grand_total);
13405
+ * console.log("Points redeemed:", data.cart.loyalty_points_redeemed);
12342
13406
  * }
12343
13407
  * ```
12344
13408
  */
@@ -12357,7 +13421,7 @@ declare class CartClient extends StorefrontAPIClient {
12357
13421
  * if (error) {
12358
13422
  * console.error("Failed to remove loyalty points:", error.message);
12359
13423
  * } else {
12360
- * console.log("Loyalty points removed, new total:", data.cart.total_amount);
13424
+ * console.log("Loyalty points removed, new total:", data.cart.grand_total);
12361
13425
  * }
12362
13426
  * ```
12363
13427
  */
@@ -12397,14 +13461,14 @@ declare class CartClient extends StorefrontAPIClient {
12397
13461
  * ```typescript
12398
13462
  * const { data, error } = await sdk.cart.redeemCreditBalance(
12399
13463
  * { id: "01H9CART12345ABCDE" },
12400
- * { amount: 250.00 }
13464
+ * { credit_balance_used: 250.00 }
12401
13465
  * );
12402
13466
  *
12403
13467
  * if (error) {
12404
13468
  * console.error("Failed to redeem credit balance:", error.message);
12405
13469
  * } else {
12406
- * console.log("Credit applied, new total:", data.cart.total_amount);
12407
- * console.log("Credit discount:", data.cart.credit_balance_discount_amount);
13470
+ * console.log("Credit applied, new total:", data.cart.grand_total);
13471
+ * console.log("Credit used:", data.cart.credit_balance_used);
12408
13472
  * }
12409
13473
  * ```
12410
13474
  */
@@ -12423,7 +13487,7 @@ declare class CartClient extends StorefrontAPIClient {
12423
13487
  * if (error) {
12424
13488
  * console.error("Failed to remove credit balance:", error.message);
12425
13489
  * } else {
12426
- * console.log("Credit balance removed, new total:", data.cart.total_amount);
13490
+ * console.log("Credit balance removed, new total:", data.cart.grand_total);
12427
13491
  * }
12428
13492
  * ```
12429
13493
  */
@@ -13256,9 +14320,9 @@ declare class OrderClient extends StorefrontAPIClient {
13256
14320
  * if (error) {
13257
14321
  * console.error("Failed to get order details:", error.message);
13258
14322
  * } else {
13259
- * console.log("Order details:", data.content.order);
13260
- * console.log("Order status:", data.content.order.status);
13261
- * console.log("Total amount:", data.content.order.total_amount);
14323
+ * console.log("Order details:", data.order);
14324
+ * console.log("Order status:", data.order.status);
14325
+ * console.log("Total amount:", data.order.grand_total);
13262
14326
  * }
13263
14327
  * ```
13264
14328
  */
@@ -13297,9 +14361,9 @@ declare class OrderClient extends StorefrontAPIClient {
13297
14361
  * if (error) {
13298
14362
  * console.error("Failed to create order:", error.message);
13299
14363
  * } else {
13300
- * console.log("Order created:", data.content.order.id);
13301
- * console.log("Payment required:", data.content.payment_required);
13302
- * console.log("Payment info:", data.content.payment_info);
14364
+ * console.log("Order created:", data.order.id);
14365
+ * console.log("Payment required:", data.payment_required);
14366
+ * console.log("Payment info:", data.payment_info);
13303
14367
  * }
13304
14368
  * ```
13305
14369
  */
@@ -13328,10 +14392,10 @@ declare class OrderClient extends StorefrontAPIClient {
13328
14392
  * if (error) {
13329
14393
  * console.error("Failed to list orders:", error.message);
13330
14394
  * } else {
13331
- * console.log("Orders found:", data.content.orders?.length || 0);
13332
- * console.log("Pagination:", data.content.pagination);
14395
+ * console.log("Orders found:", data.orders?.length || 0);
14396
+ * console.log("Pagination:", data.pagination);
13333
14397
  *
13334
- * data.content.orders?.forEach(order => {
14398
+ * data.orders?.forEach(order => {
13335
14399
  * console.log(`Order ${order.order_number}: ${order.status}`);
13336
14400
  * });
13337
14401
  * }
@@ -13350,10 +14414,10 @@ declare class OrderClient extends StorefrontAPIClient {
13350
14414
  * if (error) {
13351
14415
  * console.error("Failed to get payment status:", error.message);
13352
14416
  * } else {
13353
- * console.log("Payment status:", data.content.status);
13354
- * console.log("Amount paid:", data.content.amount_paid);
13355
- * console.log("Amount unpaid:", data.content.amount_unpaid);
13356
- * console.log("Retry available:", data.content.is_retry_available);
14417
+ * console.log("Payment status:", data.status);
14418
+ * console.log("Amount paid:", data.amount_paid);
14419
+ * console.log("Amount unpaid:", data.amount_unpaid);
14420
+ * console.log("Retry available:", data.is_retry_available);
13357
14421
  * }
13358
14422
  * ```
13359
14423
  */
@@ -13372,9 +14436,9 @@ declare class OrderClient extends StorefrontAPIClient {
13372
14436
  * if (error) {
13373
14437
  * console.error("Failed to get order shipments:", error.message);
13374
14438
  * } else {
13375
- * console.log("Shipments found:", data.content.shipments?.length || 0);
14439
+ * console.log("Shipments found:", data.shipments?.length || 0);
13376
14440
  *
13377
- * data.content.shipments?.forEach(shipment => {
14441
+ * data.shipments?.forEach(shipment => {
13378
14442
  * console.log(`Shipment ${shipment.id}: ${shipment.status}`);
13379
14443
  * console.log("Tracking number:", shipment.tracking_number);
13380
14444
  * console.log("Carrier:", shipment.carrier);
@@ -13397,9 +14461,9 @@ declare class OrderClient extends StorefrontAPIClient {
13397
14461
  * if (error) {
13398
14462
  * console.error("Failed to get order payments:", error.message);
13399
14463
  * } else {
13400
- * console.log("Payments found:", data.content.payments?.length || 0);
14464
+ * console.log("Payments found:", data.payments?.length || 0);
13401
14465
  *
13402
- * data.content.payments?.forEach(payment => {
14466
+ * data.payments?.forEach(payment => {
13403
14467
  * console.log(`Payment ${payment.id}: ${payment.status}`);
13404
14468
  * console.log("Amount:", payment.amount);
13405
14469
  * console.log("Gateway:", payment.payment_gateway);
@@ -13423,13 +14487,13 @@ declare class OrderClient extends StorefrontAPIClient {
13423
14487
  * if (error) {
13424
14488
  * console.error("Failed to get order refunds:", error.message);
13425
14489
  * } else {
13426
- * console.log("Refunds found:", data.content.refunds?.length || 0);
14490
+ * console.log("Refunds found:", data.refunds?.length || 0);
13427
14491
  *
13428
- * data.content.refunds?.forEach(refund => {
14492
+ * data.refunds?.forEach(refund => {
13429
14493
  * console.log(`Refund ${refund.id}: ${refund.status}`);
13430
- * console.log("Amount:", refund.amount);
13431
- * console.log("Reason:", refund.reason);
13432
- * console.log("Processed at:", refund.processed_at);
14494
+ * console.log("Amount:", refund.refund_amount);
14495
+ * console.log("Reason:", refund.refund_remarks);
14496
+ * console.log("Processed at:", refund.refund_date);
13433
14497
  * });
13434
14498
  * }
13435
14499
  * ```
@@ -13456,8 +14520,8 @@ declare class OrderClient extends StorefrontAPIClient {
13456
14520
  * console.error("Failed to cancel order:", error.message);
13457
14521
  * } else {
13458
14522
  * console.log("Order cancelled successfully");
13459
- * console.log("Updated order status:", data.content.order?.status);
13460
- * console.log("Cancellation reason:", data.content.order?.cancellation_reason);
14523
+ * console.log("Updated order status:", data.order?.status);
14524
+ * console.log("Cancellation reason:", data.order?.cancellation_reason);
13461
14525
  * }
13462
14526
  * ```
13463
14527
  */
@@ -13500,8 +14564,8 @@ declare class OrderClient extends StorefrontAPIClient {
13500
14564
  * console.error("Failed to retry payment:", error.message);
13501
14565
  * } else {
13502
14566
  * console.log("Payment retry initiated");
13503
- * console.log("Payment info:", data.content.payment_info);
13504
- * console.log("Transaction ID:", data.content.payment_info.transaction_id);
14567
+ * console.log("Payment info:", data.payment_info);
14568
+ * console.log("Transaction ID:", data.payment_info.transaction_id);
13505
14569
  * }
13506
14570
  * ```
13507
14571
  */
@@ -13528,10 +14592,10 @@ declare class ShippingClient extends StorefrontAPIClient {
13528
14592
  * if (error) {
13529
14593
  * console.error("Failed to get shipping methods:", error.message);
13530
14594
  * } else {
13531
- * console.log("Is serviceable:", data.content.is_serviceable);
13532
- * console.log("Available shipping methods:", data.content.shipping_methods?.length || 0);
14595
+ * console.log("Is serviceable:", data.is_serviceable);
14596
+ * console.log("Available shipping methods:", data.shipping_methods?.length || 0);
13533
14597
  *
13534
- * data.content.shipping_methods?.forEach(method => {
14598
+ * data.shipping_methods?.forEach(method => {
13535
14599
  * console.log(`Method: ${method.name} (${method.shipping_type})`);
13536
14600
  * console.log(`Shipping cost: ${method.shipping_amount}`);
13537
14601
  * console.log(`Estimated delivery: ${method.estimated_delivery_days} days`);
@@ -13559,9 +14623,9 @@ declare class ShippingClient extends StorefrontAPIClient {
13559
14623
  * if (error) {
13560
14624
  * console.error("Failed to check pincode serviceability:", error.message);
13561
14625
  * } else {
13562
- * console.log("Pincode serviceable:", data.content.is_serviceable);
14626
+ * console.log("Pincode serviceable:", data.is_serviceable);
13563
14627
  *
13564
- * if (data.content.is_serviceable) {
14628
+ * if (data.is_serviceable) {
13565
14629
  * console.log("Delivery is available to this pincode");
13566
14630
  * } else {
13567
14631
  * console.log("Delivery is not available to this pincode");
@@ -14303,5 +15367,5 @@ declare class StorefrontSDK {
14303
15367
  getDefaultHeaders(): SupportedDefaultHeaders | undefined;
14304
15368
  }
14305
15369
  //#endregion
14306
- export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddCardBody, AddCardContent, AddCardResponse, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, CollectInStore, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, type DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetShippingMethodsBody, GetShippingMethodsContent, GetShippingMethodsResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JuspayCardPayload, JuspayCreateCardResponse, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayOrder, JuspayPaymentGatewayParams, JuspayPaymentInfo, JuspayPaymentMethod, JuspaySavedCard, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedCardsContent, ListSavedCardsQuery, ListSavedCardsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappResponse, LogoutContent, LogoutResponse, LoyaltyPointActivity, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PauseSubscription, PaymentGateway, PaymentGatewayParams, PaymentInfo, PayuCardPayload, PayuCreateCardResponse, PayuPaymentGatewayParams, PayuPaymentInfo, PayuPaymentMethod, PayuSavedCard, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemGiftCardBody, PosRedeemGiftCardContent, PosRedeemGiftCardPathParams, PosRedeemGiftCardResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveGiftCardContent, PosRemoveGiftCardPathParams, PosRemoveGiftCardResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemGiftCardBody, RedeemGiftCardContent, RedeemGiftCardPathParams, RedeemGiftCardResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveGiftCardContent, RemoveGiftCardPathParams, RemoveGiftCardResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateShippingMethodBody, UpdateShippingMethodContent, UpdateShippingMethodPathParams, UpdateShippingMethodResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, type operations, type paths };
15370
+ export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddCardBody, AddCardContent, AddCardResponse, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, CollectInStore, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetShippingMethodsBody, GetShippingMethodsContent, GetShippingMethodsResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JuspayCardPayload, JuspayCreateCardResponse, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayOrder, JuspayPaymentGatewayParams, JuspayPaymentInfo, JuspayPaymentMethod, JuspaySavedCard, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedCardsContent, ListSavedCardsQuery, ListSavedCardsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LoyaltyPointActivity, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PauseSubscription, PaymentGateway, PaymentGatewayParams, PaymentInfo, PayuCardPayload, PayuCreateCardResponse, PayuPaymentGatewayParams, PayuPaymentInfo, PayuPaymentMethod, PayuSavedCard, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemGiftCardBody, PosRedeemGiftCardContent, PosRedeemGiftCardPathParams, PosRedeemGiftCardResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveGiftCardContent, PosRemoveGiftCardPathParams, PosRemoveGiftCardResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemGiftCardBody, RedeemGiftCardContent, RedeemGiftCardPathParams, RedeemGiftCardResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveGiftCardContent, RemoveGiftCardPathParams, RemoveGiftCardResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateShippingMethodBody, UpdateShippingMethodContent, UpdateShippingMethodPathParams, UpdateShippingMethodResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
14307
15371
  //# sourceMappingURL=index.d.ts.map