@commercengine/storefront-sdk 0.4.6 → 0.4.8
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.cjs +47 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2228 -888
- package/dist/index.d.ts +2228 -888
- package/dist/index.iife.js +47 -0
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -350,6 +350,29 @@ interface paths {
|
|
|
350
350
|
patch?: never;
|
|
351
351
|
trace?: never;
|
|
352
352
|
};
|
|
353
|
+
"/carts/{id}/update-customer": {
|
|
354
|
+
parameters: {
|
|
355
|
+
query?: never;
|
|
356
|
+
header?: never;
|
|
357
|
+
path: {
|
|
358
|
+
/** @description Cart ID */
|
|
359
|
+
id: string;
|
|
360
|
+
};
|
|
361
|
+
cookie?: never;
|
|
362
|
+
};
|
|
363
|
+
get?: never;
|
|
364
|
+
put?: never;
|
|
365
|
+
/**
|
|
366
|
+
* Update cart customer (S2S)
|
|
367
|
+
* @description Link customer to the specified cart.
|
|
368
|
+
*/
|
|
369
|
+
post: operations["update-cart-customer"];
|
|
370
|
+
delete?: never;
|
|
371
|
+
options?: never;
|
|
372
|
+
head?: never;
|
|
373
|
+
patch?: never;
|
|
374
|
+
trace?: never;
|
|
375
|
+
};
|
|
353
376
|
"/carts/{id}/shipping-method": {
|
|
354
377
|
parameters: {
|
|
355
378
|
query?: never;
|
|
@@ -569,6 +592,98 @@ interface paths {
|
|
|
569
592
|
patch?: never;
|
|
570
593
|
trace?: never;
|
|
571
594
|
};
|
|
595
|
+
"/carts/{id}/evaluate-promotions": {
|
|
596
|
+
parameters: {
|
|
597
|
+
query?: never;
|
|
598
|
+
header?: never;
|
|
599
|
+
path: {
|
|
600
|
+
/** @description Cart Id */
|
|
601
|
+
id: string;
|
|
602
|
+
};
|
|
603
|
+
cookie?: never;
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* Evaluate promotions
|
|
607
|
+
* @description Evaluate applicable & inapplicable promotions based on the specified cart.
|
|
608
|
+
*/
|
|
609
|
+
get: operations["evaluate-promotions"];
|
|
610
|
+
put?: never;
|
|
611
|
+
post?: never;
|
|
612
|
+
delete?: never;
|
|
613
|
+
options?: never;
|
|
614
|
+
head?: never;
|
|
615
|
+
patch?: never;
|
|
616
|
+
trace?: never;
|
|
617
|
+
};
|
|
618
|
+
"/carts/{id}/evaluate-coupons": {
|
|
619
|
+
parameters: {
|
|
620
|
+
query?: never;
|
|
621
|
+
header?: never;
|
|
622
|
+
path: {
|
|
623
|
+
/** @description Cart Id */
|
|
624
|
+
id: string;
|
|
625
|
+
};
|
|
626
|
+
cookie?: never;
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Evaluate coupons
|
|
630
|
+
* @description Evaluate applicable & inapplicable coupons based on the specified cart.
|
|
631
|
+
*/
|
|
632
|
+
get: operations["evaluate-coupons"];
|
|
633
|
+
put?: never;
|
|
634
|
+
post?: never;
|
|
635
|
+
delete?: never;
|
|
636
|
+
options?: never;
|
|
637
|
+
head?: never;
|
|
638
|
+
patch?: never;
|
|
639
|
+
trace?: never;
|
|
640
|
+
};
|
|
641
|
+
"/pos/carts/{id}/evaluate-promotions": {
|
|
642
|
+
parameters: {
|
|
643
|
+
query?: never;
|
|
644
|
+
header?: never;
|
|
645
|
+
path: {
|
|
646
|
+
/** @description Cart Id */
|
|
647
|
+
id: string;
|
|
648
|
+
};
|
|
649
|
+
cookie?: never;
|
|
650
|
+
};
|
|
651
|
+
/**
|
|
652
|
+
* Evaluate promotions
|
|
653
|
+
* @description Evaluate applicable & inapplicable promotions based on the specified cart.
|
|
654
|
+
*/
|
|
655
|
+
get: operations["evaluate-pos-promotions"];
|
|
656
|
+
put?: never;
|
|
657
|
+
post?: never;
|
|
658
|
+
delete?: never;
|
|
659
|
+
options?: never;
|
|
660
|
+
head?: never;
|
|
661
|
+
patch?: never;
|
|
662
|
+
trace?: never;
|
|
663
|
+
};
|
|
664
|
+
"/pos/carts/{id}/evaluate-coupons": {
|
|
665
|
+
parameters: {
|
|
666
|
+
query?: never;
|
|
667
|
+
header?: never;
|
|
668
|
+
path: {
|
|
669
|
+
/** @description Cart Id */
|
|
670
|
+
id: string;
|
|
671
|
+
};
|
|
672
|
+
cookie?: never;
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* Evaluate coupons
|
|
676
|
+
* @description Evaluate applicable & inapplicable coupons based on the specified cart.
|
|
677
|
+
*/
|
|
678
|
+
get: operations["evaluate-pos-coupons"];
|
|
679
|
+
put?: never;
|
|
680
|
+
post?: never;
|
|
681
|
+
delete?: never;
|
|
682
|
+
options?: never;
|
|
683
|
+
head?: never;
|
|
684
|
+
patch?: never;
|
|
685
|
+
trace?: never;
|
|
686
|
+
};
|
|
572
687
|
"/customers/{id}": {
|
|
573
688
|
parameters: {
|
|
574
689
|
query?: never;
|
|
@@ -1841,124 +1956,359 @@ interface paths {
|
|
|
1841
1956
|
patch?: never;
|
|
1842
1957
|
trace?: never;
|
|
1843
1958
|
};
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
id: string;
|
|
1851
|
-
sku: string | null;
|
|
1852
|
-
name: string;
|
|
1853
|
-
slug: string;
|
|
1854
|
-
short_description: string | null;
|
|
1855
|
-
/** @enum {string} */
|
|
1856
|
-
product_type: "physical" | "digital" | "bundle";
|
|
1857
|
-
readonly active: boolean;
|
|
1858
|
-
/** @description Indicates whether the product has stock available */
|
|
1859
|
-
readonly stock_available: boolean;
|
|
1860
|
-
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
1861
|
-
backorder?: boolean;
|
|
1862
|
-
/** @description Indicates whether this item is associated with any active (product-specific) coupons */
|
|
1863
|
-
readonly on_offer: boolean;
|
|
1864
|
-
/** @description Indicates whether the product has any subscription plans avaialble */
|
|
1865
|
-
readonly on_subscription: boolean;
|
|
1866
|
-
/** @description Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion */
|
|
1867
|
-
readonly on_promotion: boolean;
|
|
1868
|
-
/** @description Indicates whether the product has variants */
|
|
1869
|
-
readonly has_variant: boolean;
|
|
1870
|
-
tags: string[] | null;
|
|
1871
|
-
category_ids: string[];
|
|
1872
|
-
categories: components["schemas"]["Category"][];
|
|
1873
|
-
/** Format: double */
|
|
1874
|
-
reviews_rating_sum: number;
|
|
1875
|
-
reviews_count: number;
|
|
1876
|
-
attributes: components["schemas"]["ProductAttribute"][];
|
|
1877
|
-
pricing: components["schemas"]["ProductPricing"];
|
|
1878
|
-
/** @description this will be used if has_variant is true, to auto set default values. */
|
|
1879
|
-
variant_options: components["schemas"]["VariantOption"][] | null;
|
|
1880
|
-
promotion: components["schemas"]["ProductPromotion"];
|
|
1881
|
-
images: components["schemas"]["ProductImage"][];
|
|
1882
|
-
subscription: components["schemas"]["ProductSubscription"][];
|
|
1883
|
-
variants: components["schemas"]["Variant"][];
|
|
1884
|
-
bundle_items: components["schemas"]["ProductBundleItem"];
|
|
1959
|
+
"/pos/auth/pair-device": {
|
|
1960
|
+
parameters: {
|
|
1961
|
+
query?: never;
|
|
1962
|
+
header?: never;
|
|
1963
|
+
path?: never;
|
|
1964
|
+
cookie?: never;
|
|
1885
1965
|
};
|
|
1886
|
-
|
|
1966
|
+
get?: never;
|
|
1967
|
+
put?: never;
|
|
1887
1968
|
/**
|
|
1888
|
-
*
|
|
1889
|
-
* @description
|
|
1969
|
+
* Pair POS device
|
|
1970
|
+
* @description Pair POS device
|
|
1890
1971
|
*/
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
* Format: color-hex
|
|
1905
|
-
* @description The hex code of the color (e.g., #000000).
|
|
1906
|
-
*/
|
|
1907
|
-
hexcode: string;
|
|
1908
|
-
}[];
|
|
1972
|
+
post: operations["pair-pos-device"];
|
|
1973
|
+
delete?: never;
|
|
1974
|
+
options?: never;
|
|
1975
|
+
head?: never;
|
|
1976
|
+
patch?: never;
|
|
1977
|
+
trace?: never;
|
|
1978
|
+
};
|
|
1979
|
+
"/pos/auth/login/phone": {
|
|
1980
|
+
parameters: {
|
|
1981
|
+
query?: never;
|
|
1982
|
+
header?: never;
|
|
1983
|
+
path?: never;
|
|
1984
|
+
cookie?: never;
|
|
1909
1985
|
};
|
|
1986
|
+
get?: never;
|
|
1987
|
+
put?: never;
|
|
1910
1988
|
/**
|
|
1911
|
-
*
|
|
1912
|
-
* @description
|
|
1989
|
+
* Login with phone
|
|
1990
|
+
* @description Login to POS device using phone.
|
|
1913
1991
|
*/
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1992
|
+
post: operations["login-pos-device-with-phone"];
|
|
1993
|
+
delete?: never;
|
|
1994
|
+
options?: never;
|
|
1995
|
+
head?: never;
|
|
1996
|
+
patch?: never;
|
|
1997
|
+
trace?: never;
|
|
1998
|
+
};
|
|
1999
|
+
"/pos/auth/login/whatsapp": {
|
|
2000
|
+
parameters: {
|
|
2001
|
+
query?: never;
|
|
2002
|
+
header?: never;
|
|
2003
|
+
path?: never;
|
|
2004
|
+
cookie?: never;
|
|
1926
2005
|
};
|
|
2006
|
+
get?: never;
|
|
2007
|
+
put?: never;
|
|
1927
2008
|
/**
|
|
1928
|
-
*
|
|
1929
|
-
* @description
|
|
2009
|
+
* Login with whatsapp
|
|
2010
|
+
* @description Login to POS device using whatsapp.
|
|
1930
2011
|
*/
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
2012
|
+
post: operations["login-pos-device-with-whatsapp"];
|
|
2013
|
+
delete?: never;
|
|
2014
|
+
options?: never;
|
|
2015
|
+
head?: never;
|
|
2016
|
+
patch?: never;
|
|
2017
|
+
trace?: never;
|
|
2018
|
+
};
|
|
2019
|
+
"/pos/auth/login/email": {
|
|
2020
|
+
parameters: {
|
|
2021
|
+
query?: never;
|
|
2022
|
+
header?: never;
|
|
2023
|
+
path?: never;
|
|
2024
|
+
cookie?: never;
|
|
1943
2025
|
};
|
|
2026
|
+
get?: never;
|
|
2027
|
+
put?: never;
|
|
1944
2028
|
/**
|
|
1945
|
-
*
|
|
1946
|
-
* @description
|
|
2029
|
+
* Login with email
|
|
2030
|
+
* @description Login to POS device using email.
|
|
1947
2031
|
*/
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2032
|
+
post: operations["login-pos-device-with-email"];
|
|
2033
|
+
delete?: never;
|
|
2034
|
+
options?: never;
|
|
2035
|
+
head?: never;
|
|
2036
|
+
patch?: never;
|
|
2037
|
+
trace?: never;
|
|
2038
|
+
};
|
|
2039
|
+
"/pos/auth/verify-otp": {
|
|
2040
|
+
parameters: {
|
|
2041
|
+
query?: never;
|
|
2042
|
+
header?: never;
|
|
2043
|
+
path?: never;
|
|
2044
|
+
cookie?: never;
|
|
1960
2045
|
};
|
|
1961
|
-
|
|
2046
|
+
get?: never;
|
|
2047
|
+
put?: never;
|
|
2048
|
+
/**
|
|
2049
|
+
* Verify OTP
|
|
2050
|
+
* @description Verify POS login otp.
|
|
2051
|
+
*/
|
|
2052
|
+
post: operations["verify-pos-login-otp"];
|
|
2053
|
+
delete?: never;
|
|
2054
|
+
options?: never;
|
|
2055
|
+
head?: never;
|
|
2056
|
+
patch?: never;
|
|
2057
|
+
trace?: never;
|
|
2058
|
+
};
|
|
2059
|
+
"/pos/auth/refresh-token": {
|
|
2060
|
+
parameters: {
|
|
2061
|
+
query?: never;
|
|
2062
|
+
header?: never;
|
|
2063
|
+
path?: never;
|
|
2064
|
+
cookie?: never;
|
|
2065
|
+
};
|
|
2066
|
+
get?: never;
|
|
2067
|
+
put?: never;
|
|
2068
|
+
/**
|
|
2069
|
+
* Refresh POS access token
|
|
2070
|
+
* @description Refresh POS access token
|
|
2071
|
+
*/
|
|
2072
|
+
post: operations["refresh-pos-access-token"];
|
|
2073
|
+
delete?: never;
|
|
2074
|
+
options?: never;
|
|
2075
|
+
head?: never;
|
|
2076
|
+
patch?: never;
|
|
2077
|
+
trace?: never;
|
|
2078
|
+
};
|
|
2079
|
+
"/pos/carts": {
|
|
2080
|
+
parameters: {
|
|
2081
|
+
query?: never;
|
|
2082
|
+
header?: never;
|
|
2083
|
+
path?: never;
|
|
2084
|
+
cookie?: never;
|
|
2085
|
+
};
|
|
2086
|
+
get?: never;
|
|
2087
|
+
put?: never;
|
|
2088
|
+
/**
|
|
2089
|
+
* Create cart
|
|
2090
|
+
* @description Create cart from POS device
|
|
2091
|
+
*/
|
|
2092
|
+
post: operations["create-pos-cart"];
|
|
2093
|
+
delete?: never;
|
|
2094
|
+
options?: never;
|
|
2095
|
+
head?: never;
|
|
2096
|
+
patch?: never;
|
|
2097
|
+
trace?: never;
|
|
2098
|
+
};
|
|
2099
|
+
"/pos/carts/{id}": {
|
|
2100
|
+
parameters: {
|
|
2101
|
+
query?: never;
|
|
2102
|
+
header?: never;
|
|
2103
|
+
path: {
|
|
2104
|
+
/** @description cart id */
|
|
2105
|
+
id: string;
|
|
2106
|
+
};
|
|
2107
|
+
cookie?: never;
|
|
2108
|
+
};
|
|
2109
|
+
/**
|
|
2110
|
+
* Retrieve cart detail
|
|
2111
|
+
* @description Retrieve cart detail
|
|
2112
|
+
*/
|
|
2113
|
+
get: operations["get-pos-cart"];
|
|
2114
|
+
put?: never;
|
|
2115
|
+
post?: never;
|
|
2116
|
+
delete?: never;
|
|
2117
|
+
options?: never;
|
|
2118
|
+
head?: never;
|
|
2119
|
+
patch?: never;
|
|
2120
|
+
trace?: never;
|
|
2121
|
+
};
|
|
2122
|
+
"/pos/carts/{id}/items": {
|
|
2123
|
+
parameters: {
|
|
2124
|
+
query?: never;
|
|
2125
|
+
header?: never;
|
|
2126
|
+
path: {
|
|
2127
|
+
/** @description cart id */
|
|
2128
|
+
id: string;
|
|
2129
|
+
};
|
|
2130
|
+
cookie?: never;
|
|
2131
|
+
};
|
|
2132
|
+
get?: never;
|
|
2133
|
+
put?: never;
|
|
2134
|
+
/**
|
|
2135
|
+
* Add/update/delete cart item
|
|
2136
|
+
* @description Add/update item to cart. To delete item from cart, pass quantity = 0
|
|
2137
|
+
*/
|
|
2138
|
+
post: operations["update-pos-cart"];
|
|
2139
|
+
delete?: never;
|
|
2140
|
+
options?: never;
|
|
2141
|
+
head?: never;
|
|
2142
|
+
patch?: never;
|
|
2143
|
+
trace?: never;
|
|
2144
|
+
};
|
|
2145
|
+
"/pos/carts/{id}/update-customer": {
|
|
2146
|
+
parameters: {
|
|
2147
|
+
query?: never;
|
|
2148
|
+
header?: never;
|
|
2149
|
+
path: {
|
|
2150
|
+
/** @description cart id */
|
|
2151
|
+
id: string;
|
|
2152
|
+
};
|
|
2153
|
+
cookie?: never;
|
|
2154
|
+
};
|
|
2155
|
+
get?: never;
|
|
2156
|
+
put?: never;
|
|
2157
|
+
/**
|
|
2158
|
+
* Update cart customer
|
|
2159
|
+
* @description Link customer to the specified cart.
|
|
2160
|
+
*/
|
|
2161
|
+
post: operations["update-pos-cart-customer"];
|
|
2162
|
+
delete?: never;
|
|
2163
|
+
options?: never;
|
|
2164
|
+
head?: never;
|
|
2165
|
+
patch?: never;
|
|
2166
|
+
trace?: never;
|
|
2167
|
+
};
|
|
2168
|
+
"/pos/carts/{id}/address": {
|
|
2169
|
+
parameters: {
|
|
2170
|
+
query?: never;
|
|
2171
|
+
header?: never;
|
|
2172
|
+
path: {
|
|
2173
|
+
/** @description cart id */
|
|
2174
|
+
id: string;
|
|
2175
|
+
};
|
|
2176
|
+
cookie?: never;
|
|
2177
|
+
};
|
|
2178
|
+
get?: never;
|
|
2179
|
+
put?: never;
|
|
2180
|
+
/**
|
|
2181
|
+
* Update cart address
|
|
2182
|
+
* @description Updat customer address in cart if he/she choose home delivery option instead of store pickup.
|
|
2183
|
+
*/
|
|
2184
|
+
post: operations["update-pos-cart-address"];
|
|
2185
|
+
delete?: never;
|
|
2186
|
+
options?: never;
|
|
2187
|
+
head?: never;
|
|
2188
|
+
patch?: never;
|
|
2189
|
+
trace?: never;
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
interface components {
|
|
2193
|
+
schemas: {
|
|
2194
|
+
/** Product */
|
|
2195
|
+
Product: {
|
|
2196
|
+
/** @description The ID of the product */
|
|
2197
|
+
id: string;
|
|
2198
|
+
sku: string | null;
|
|
2199
|
+
name: string;
|
|
2200
|
+
slug: string;
|
|
2201
|
+
short_description: string | null;
|
|
2202
|
+
/**
|
|
2203
|
+
* @example physical
|
|
2204
|
+
* @enum {string}
|
|
2205
|
+
*/
|
|
2206
|
+
product_type: "physical" | "digital" | "bundle";
|
|
2207
|
+
readonly active: boolean;
|
|
2208
|
+
/** @description Indicates whether the product has stock available */
|
|
2209
|
+
readonly stock_available: boolean;
|
|
2210
|
+
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
2211
|
+
backorder?: boolean;
|
|
2212
|
+
/** @description Indicates whether this item is associated with any active (product-specific) coupons */
|
|
2213
|
+
readonly on_offer: boolean;
|
|
2214
|
+
/** @description Indicates whether the product has any subscription plans avaialble */
|
|
2215
|
+
readonly on_subscription: boolean;
|
|
2216
|
+
/** @description Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion */
|
|
2217
|
+
readonly on_promotion: boolean;
|
|
2218
|
+
/** @description Indicates whether the product has variants */
|
|
2219
|
+
readonly has_variant: boolean;
|
|
2220
|
+
tags: string[] | null;
|
|
2221
|
+
category_ids: string[];
|
|
2222
|
+
categories: components["schemas"]["Category"][];
|
|
2223
|
+
/** Format: double */
|
|
2224
|
+
reviews_rating_sum: number;
|
|
2225
|
+
reviews_count: number;
|
|
2226
|
+
attributes: components["schemas"]["ProductAttribute"][];
|
|
2227
|
+
pricing: components["schemas"]["ProductPricing"];
|
|
2228
|
+
/** @description this will be used if has_variant is true, to auto set default values. */
|
|
2229
|
+
variant_options: components["schemas"]["VariantOption"][] | null;
|
|
2230
|
+
promotion: components["schemas"]["ProductPromotion"];
|
|
2231
|
+
images: components["schemas"]["ProductImage"][];
|
|
2232
|
+
subscription: components["schemas"]["ProductSubscription"][];
|
|
2233
|
+
variants: components["schemas"]["Variant"][];
|
|
2234
|
+
bundle_items: components["schemas"]["ProductBundleItem"];
|
|
2235
|
+
};
|
|
2236
|
+
ProductAttribute: components["schemas"]["ColorAttribute"] | components["schemas"]["SingleSelectAttribute"] | components["schemas"]["MultiSelectAttribute"] | components["schemas"]["TextAttribute"] | components["schemas"]["DateAttribute"] | components["schemas"]["NumberAttribute"] | components["schemas"]["BooleanAttribute"];
|
|
2237
|
+
/**
|
|
2238
|
+
* ColorAttribute
|
|
2239
|
+
* @description Attribute for colors
|
|
2240
|
+
*/
|
|
2241
|
+
ColorAttribute: {
|
|
2242
|
+
id: string;
|
|
2243
|
+
name: string;
|
|
2244
|
+
/** @description A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type` */
|
|
2245
|
+
key: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2248
|
+
* @enum {string}
|
|
2249
|
+
*/
|
|
2250
|
+
type: "color";
|
|
2251
|
+
value: {
|
|
2252
|
+
name: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* Format: color-hex
|
|
2255
|
+
* @description The hex code of the color (e.g., #000000).
|
|
2256
|
+
*/
|
|
2257
|
+
hexcode: string;
|
|
2258
|
+
}[];
|
|
2259
|
+
};
|
|
2260
|
+
/**
|
|
2261
|
+
* SingleSelectAttribute
|
|
2262
|
+
* @description Attribute for single-select values
|
|
2263
|
+
*/
|
|
2264
|
+
SingleSelectAttribute: {
|
|
2265
|
+
id: string;
|
|
2266
|
+
name: string;
|
|
2267
|
+
/** @description A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type` */
|
|
2268
|
+
key: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2271
|
+
* @enum {string}
|
|
2272
|
+
*/
|
|
2273
|
+
type: "single-select";
|
|
2274
|
+
/** @description For single-select attributes */
|
|
2275
|
+
value: string;
|
|
2276
|
+
};
|
|
2277
|
+
/**
|
|
2278
|
+
* MultiSelectAttribute
|
|
2279
|
+
* @description Attribute for multi-select values
|
|
2280
|
+
*/
|
|
2281
|
+
MultiSelectAttribute: {
|
|
2282
|
+
id: string;
|
|
2283
|
+
name: string;
|
|
2284
|
+
/** @description A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type` */
|
|
2285
|
+
key: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2288
|
+
* @enum {string}
|
|
2289
|
+
*/
|
|
2290
|
+
type: "multi-select";
|
|
2291
|
+
/** @description For multi-select attributes */
|
|
2292
|
+
value: string[];
|
|
2293
|
+
};
|
|
2294
|
+
/**
|
|
2295
|
+
* TextAttribute
|
|
2296
|
+
* @description Attribute for text values
|
|
2297
|
+
*/
|
|
2298
|
+
TextAttribute: {
|
|
2299
|
+
id: string;
|
|
2300
|
+
name: string;
|
|
2301
|
+
/** @description A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is `Product Type`, key will be `product_type` */
|
|
2302
|
+
key: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2305
|
+
* @enum {string}
|
|
2306
|
+
*/
|
|
2307
|
+
type: "text";
|
|
2308
|
+
/** @description For text attributes */
|
|
2309
|
+
value: string;
|
|
2310
|
+
};
|
|
2311
|
+
/**
|
|
1962
2312
|
* DateAttribute
|
|
1963
2313
|
* @description Attribute for date values
|
|
1964
2314
|
*/
|
|
@@ -2017,12 +2367,16 @@ interface components {
|
|
|
2017
2367
|
currency: string;
|
|
2018
2368
|
/**
|
|
2019
2369
|
* @default GST
|
|
2370
|
+
* @example GST
|
|
2020
2371
|
* @constant
|
|
2021
2372
|
*/
|
|
2022
2373
|
tax_type: "GST";
|
|
2023
2374
|
/** Format: double */
|
|
2024
2375
|
tax_rate: number;
|
|
2025
|
-
/**
|
|
2376
|
+
/**
|
|
2377
|
+
* Format: double
|
|
2378
|
+
* @example false
|
|
2379
|
+
*/
|
|
2026
2380
|
price_including_tax: boolean;
|
|
2027
2381
|
/** Format: double */
|
|
2028
2382
|
listing_price: number;
|
|
@@ -2136,7 +2490,10 @@ interface components {
|
|
|
2136
2490
|
subscription_price: number;
|
|
2137
2491
|
/** @description Billing interval determines the frequency for which the customer is charged for the subscription itself. */
|
|
2138
2492
|
billing_interval: number;
|
|
2139
|
-
/**
|
|
2493
|
+
/**
|
|
2494
|
+
* @example monthly
|
|
2495
|
+
* @enum {string}
|
|
2496
|
+
*/
|
|
2140
2497
|
billing_frequency: "weekly" | "monthly" | "annually";
|
|
2141
2498
|
/** @description Optionally limit the number of times this subscription will invoice the customer. */
|
|
2142
2499
|
billing_limit: number;
|
|
@@ -2144,7 +2501,10 @@ interface components {
|
|
|
2144
2501
|
fulfill_separately: boolean;
|
|
2145
2502
|
/** @description order interval defines the frequency of when the subscription sends customers the product */
|
|
2146
2503
|
order_interval: number;
|
|
2147
|
-
/**
|
|
2504
|
+
/**
|
|
2505
|
+
* @example monthly
|
|
2506
|
+
* @enum {string}
|
|
2507
|
+
*/
|
|
2148
2508
|
order_frequency: "weekly" | "monthly" | "annully";
|
|
2149
2509
|
/** @description By default this is set to unlimited, meaning the subscription will fulfill indefinitely. Changing the Limit to 10 would force the subscription to end after the tenth interval had been fulfilled. */
|
|
2150
2510
|
order_limit: number;
|
|
@@ -2187,6 +2547,21 @@ interface components {
|
|
|
2187
2547
|
/**
|
|
2188
2548
|
* AssociatedOption
|
|
2189
2549
|
* @description An object where each key is an option name, and the value describes the option details.
|
|
2550
|
+
* @example {
|
|
2551
|
+
* "background_color": {
|
|
2552
|
+
* "name": "Background Color",
|
|
2553
|
+
* "value": {
|
|
2554
|
+
* "name": "Blue",
|
|
2555
|
+
* "hexcode": "#0000FF"
|
|
2556
|
+
* },
|
|
2557
|
+
* "type": "color"
|
|
2558
|
+
* },
|
|
2559
|
+
* "size": {
|
|
2560
|
+
* "name": "Size",
|
|
2561
|
+
* "value": "Large",
|
|
2562
|
+
* "type": "single-select"
|
|
2563
|
+
* }
|
|
2564
|
+
* }
|
|
2190
2565
|
*/
|
|
2191
2566
|
AssociatedOption: {
|
|
2192
2567
|
[key: string]: components["schemas"]["ColorOption"] | components["schemas"]["SingleSelectOption"];
|
|
@@ -2234,7 +2609,10 @@ interface components {
|
|
|
2234
2609
|
slug: string;
|
|
2235
2610
|
product_name: string;
|
|
2236
2611
|
variant_name: string | null;
|
|
2237
|
-
/**
|
|
2612
|
+
/**
|
|
2613
|
+
* @example physical
|
|
2614
|
+
* @enum {string}
|
|
2615
|
+
*/
|
|
2238
2616
|
product_type: "physical" | "digital" | "bundle";
|
|
2239
2617
|
short_description: string | null;
|
|
2240
2618
|
active: boolean;
|
|
@@ -2257,7 +2635,16 @@ interface components {
|
|
|
2257
2635
|
associated_options: components["schemas"]["AssociatedOption"] | null;
|
|
2258
2636
|
shipping?: components["schemas"]["ProductShipping"];
|
|
2259
2637
|
};
|
|
2260
|
-
/**
|
|
2638
|
+
/**
|
|
2639
|
+
* @description pagination metadata structure
|
|
2640
|
+
* @example {
|
|
2641
|
+
* "total_records": 252,
|
|
2642
|
+
* "total_pages": 26,
|
|
2643
|
+
* "previous_page": null,
|
|
2644
|
+
* "next_page": 2,
|
|
2645
|
+
* "limit": 10
|
|
2646
|
+
* }
|
|
2647
|
+
*/
|
|
2261
2648
|
Pagination: {
|
|
2262
2649
|
total_records: number;
|
|
2263
2650
|
total_pages: number;
|
|
@@ -2309,7 +2696,10 @@ interface components {
|
|
|
2309
2696
|
};
|
|
2310
2697
|
/** VariantDetail */
|
|
2311
2698
|
VariantDetail: components["schemas"]["Variant"] & {
|
|
2312
|
-
/**
|
|
2699
|
+
/**
|
|
2700
|
+
* @example physical
|
|
2701
|
+
* @enum {string}
|
|
2702
|
+
*/
|
|
2313
2703
|
product_type: "physical" | "digital" | "bundle";
|
|
2314
2704
|
description: string | null;
|
|
2315
2705
|
readonly category_ids: string[];
|
|
@@ -2355,6 +2745,7 @@ interface components {
|
|
|
2355
2745
|
/**
|
|
2356
2746
|
* Format: email
|
|
2357
2747
|
* @description The email of the reviewer. Must be a valid email, or an empty string.
|
|
2748
|
+
* @example mr@bees.com
|
|
2358
2749
|
*/
|
|
2359
2750
|
readonly email?: string;
|
|
2360
2751
|
/**
|
|
@@ -2390,11 +2781,13 @@ interface components {
|
|
|
2390
2781
|
/**
|
|
2391
2782
|
* Format: date-time
|
|
2392
2783
|
* @description The ISO 8601 date-time for when review is created.
|
|
2784
|
+
* @example 2023-05-25T14:15:22Z
|
|
2393
2785
|
*/
|
|
2394
2786
|
readonly created_at?: string;
|
|
2395
2787
|
/**
|
|
2396
2788
|
* Format: date-time
|
|
2397
2789
|
* @description The ISO 8601 date-time for when review was last modified.
|
|
2790
|
+
* @example 2023-05-25T14:15:22Z
|
|
2398
2791
|
*/
|
|
2399
2792
|
readonly modified_at?: string;
|
|
2400
2793
|
};
|
|
@@ -2441,11 +2834,20 @@ interface components {
|
|
|
2441
2834
|
* @description Schema for updating a cart item, including adding, removing, or adjusting the quantity of a product or variant.
|
|
2442
2835
|
*/
|
|
2443
2836
|
UpdateCartItem: {
|
|
2444
|
-
/**
|
|
2837
|
+
/**
|
|
2838
|
+
* @description The ID of the product to update in the cart.
|
|
2839
|
+
* @example 01H9XYZ12345ABCDE
|
|
2840
|
+
*/
|
|
2445
2841
|
product_id: string;
|
|
2446
|
-
/**
|
|
2842
|
+
/**
|
|
2843
|
+
* @description The ID of the product variant, or null if the product has no variants.
|
|
2844
|
+
* @example null
|
|
2845
|
+
*/
|
|
2447
2846
|
variant_id: string | null;
|
|
2448
|
-
/**
|
|
2847
|
+
/**
|
|
2848
|
+
* @description The quantity of the product to add to or update in the cart. Use `0` to remove the item from the cart.
|
|
2849
|
+
* @example 1
|
|
2850
|
+
*/
|
|
2449
2851
|
quantity: number;
|
|
2450
2852
|
};
|
|
2451
2853
|
/**
|
|
@@ -2457,16 +2859,6 @@ interface components {
|
|
|
2457
2859
|
id: string;
|
|
2458
2860
|
/** @description Indicates whether the cart is currently active or inactive. */
|
|
2459
2861
|
active: boolean;
|
|
2460
|
-
/**
|
|
2461
|
-
* Format: email
|
|
2462
|
-
* @description Email of the customer associated with the cart.
|
|
2463
|
-
*/
|
|
2464
|
-
customer_email: string | null;
|
|
2465
|
-
/**
|
|
2466
|
-
* @description Phone number of the customer.
|
|
2467
|
-
* @example +919988776655
|
|
2468
|
-
*/
|
|
2469
|
-
customer_phone: string | null;
|
|
2470
2862
|
/** @description customer note for shipping or product customization. */
|
|
2471
2863
|
customer_note: string | null;
|
|
2472
2864
|
/** @description Indicates if a promotion is applied or not. */
|
|
@@ -2595,7 +2987,10 @@ interface components {
|
|
|
2595
2987
|
product_id: string;
|
|
2596
2988
|
/** @description Unique identifier for the product. */
|
|
2597
2989
|
variant_id: string | null;
|
|
2598
|
-
/**
|
|
2990
|
+
/**
|
|
2991
|
+
* @description Stock Keeping Unit, a unique identifier for the product within inventory.
|
|
2992
|
+
* @example SKU1254
|
|
2993
|
+
*/
|
|
2599
2994
|
sku: string | null;
|
|
2600
2995
|
/** @description Unique slug for the product */
|
|
2601
2996
|
slug: string;
|
|
@@ -2603,7 +2998,10 @@ interface components {
|
|
|
2603
2998
|
product_name: string;
|
|
2604
2999
|
/** @description Name of the variant. */
|
|
2605
3000
|
variant_name: string | null;
|
|
2606
|
-
/**
|
|
3001
|
+
/**
|
|
3002
|
+
* @example physical
|
|
3003
|
+
* @enum {string}
|
|
3004
|
+
*/
|
|
2607
3005
|
product_type: "physical" | "digital" | "bundle";
|
|
2608
3006
|
/** @description URL pointing to the product image. */
|
|
2609
3007
|
product_image_url: string;
|
|
@@ -2633,7 +3031,10 @@ interface components {
|
|
|
2633
3031
|
* @description Discount amount due to applied coupons.
|
|
2634
3032
|
*/
|
|
2635
3033
|
coupon_discount_amount: number;
|
|
2636
|
-
/**
|
|
3034
|
+
/**
|
|
3035
|
+
* Format: double
|
|
3036
|
+
* @example false
|
|
3037
|
+
*/
|
|
2637
3038
|
price_including_tax: boolean;
|
|
2638
3039
|
/**
|
|
2639
3040
|
* Format: double
|
|
@@ -2697,7 +3098,12 @@ interface components {
|
|
|
2697
3098
|
state: string;
|
|
2698
3099
|
/** @constant */
|
|
2699
3100
|
country: "India";
|
|
2700
|
-
/**
|
|
3101
|
+
/**
|
|
3102
|
+
* @description Tax Identification Number (TIN/VAT/GSTIN) specific to the country of operation.
|
|
3103
|
+
* @example 123456789
|
|
3104
|
+
* @example GB123456789
|
|
3105
|
+
* @example IN27AAEPM0111C1ZQ
|
|
3106
|
+
*/
|
|
2701
3107
|
tax_identification_number: string | null;
|
|
2702
3108
|
/** @description Use in billing & shipping details only. */
|
|
2703
3109
|
business_name: string | null;
|
|
@@ -2705,8 +3111,11 @@ interface components {
|
|
|
2705
3111
|
readonly is_email_verified: boolean;
|
|
2706
3112
|
} | null;
|
|
2707
3113
|
Currency: {
|
|
3114
|
+
/** @example Indian Rupee */
|
|
2708
3115
|
name: string;
|
|
3116
|
+
/** @example INR */
|
|
2709
3117
|
code: string;
|
|
3118
|
+
/** @example ₹ */
|
|
2710
3119
|
symbol: string;
|
|
2711
3120
|
};
|
|
2712
3121
|
/** DiscountRule */
|
|
@@ -3084,8 +3493,6 @@ interface components {
|
|
|
3084
3493
|
/** @enum {string} */
|
|
3085
3494
|
payment_status?: "pending" | "success" | "failed" | "partially_paid";
|
|
3086
3495
|
payment_success_date?: string | null;
|
|
3087
|
-
customer_email?: string | null;
|
|
3088
|
-
customer_phone?: string | null;
|
|
3089
3496
|
customer_note?: string | null;
|
|
3090
3497
|
is_promotion_applied?: boolean;
|
|
3091
3498
|
/** Format: double */
|
|
@@ -3219,6 +3626,7 @@ interface components {
|
|
|
3219
3626
|
coupon_discount_amount: number;
|
|
3220
3627
|
/**
|
|
3221
3628
|
* @default GST
|
|
3629
|
+
* @example GST
|
|
3222
3630
|
* @constant
|
|
3223
3631
|
*/
|
|
3224
3632
|
tax_type: "GST";
|
|
@@ -4342,7 +4750,7 @@ interface components {
|
|
|
4342
4750
|
Brand: {
|
|
4343
4751
|
/** @description brand name. it will be used in emails and other communications. */
|
|
4344
4752
|
name: string;
|
|
4345
|
-
|
|
4753
|
+
logo_url: string | null;
|
|
4346
4754
|
/** @description json object having key - value pair.
|
|
4347
4755
|
*
|
|
4348
4756
|
* example - {"facebook": "www.facebook.com/commecengine"} */
|
|
@@ -4483,6 +4891,73 @@ interface components {
|
|
|
4483
4891
|
/** @enum {string} */
|
|
4484
4892
|
otp_action: "register" | "reset-password" | "verify-email" | "update-email";
|
|
4485
4893
|
};
|
|
4894
|
+
/** PosDevice */
|
|
4895
|
+
PosDevice: {
|
|
4896
|
+
readonly id?: string;
|
|
4897
|
+
name?: string;
|
|
4898
|
+
/** @enum {unknown} */
|
|
4899
|
+
device_type?: "POS Terminal";
|
|
4900
|
+
/** @description A Device ID for an app. */
|
|
4901
|
+
readonly external_device_id?: string;
|
|
4902
|
+
manufacturer?: string;
|
|
4903
|
+
model_number?: string;
|
|
4904
|
+
mac_address?: string | null;
|
|
4905
|
+
location_id?: string;
|
|
4906
|
+
readonly location_name?: string;
|
|
4907
|
+
};
|
|
4908
|
+
/** PosUser */
|
|
4909
|
+
PosUser: {
|
|
4910
|
+
id?: string;
|
|
4911
|
+
first_name?: string;
|
|
4912
|
+
last_name?: string | null;
|
|
4913
|
+
phone?: string;
|
|
4914
|
+
/** Format: email */
|
|
4915
|
+
email?: string;
|
|
4916
|
+
device?: {
|
|
4917
|
+
id?: string;
|
|
4918
|
+
name?: string;
|
|
4919
|
+
};
|
|
4920
|
+
location?: {
|
|
4921
|
+
id?: string;
|
|
4922
|
+
name?: string;
|
|
4923
|
+
};
|
|
4924
|
+
role?: {
|
|
4925
|
+
id?: string;
|
|
4926
|
+
name?: string;
|
|
4927
|
+
};
|
|
4928
|
+
};
|
|
4929
|
+
/** UpdateCustomerWithId */
|
|
4930
|
+
PosUpdateCustomerWithId: {
|
|
4931
|
+
customer_id: string;
|
|
4932
|
+
};
|
|
4933
|
+
/** UpdateCustomerWithPhone */
|
|
4934
|
+
PosUpdateCustomerWithPhone: {
|
|
4935
|
+
/**
|
|
4936
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
4937
|
+
* @default +91
|
|
4938
|
+
*/
|
|
4939
|
+
country_code: string | null;
|
|
4940
|
+
/** @description 10 digit phone number without country code. */
|
|
4941
|
+
phone: string;
|
|
4942
|
+
/** Format: email */
|
|
4943
|
+
email?: string | null;
|
|
4944
|
+
first_name?: string | null;
|
|
4945
|
+
last_name?: string | null;
|
|
4946
|
+
};
|
|
4947
|
+
/** UpdateCustomerWithEmail */
|
|
4948
|
+
PosUpdateCustomerWithEmail: {
|
|
4949
|
+
/** Format: email */
|
|
4950
|
+
email: string;
|
|
4951
|
+
/** @description 10 digit phone number without country code. */
|
|
4952
|
+
phone?: string | null;
|
|
4953
|
+
/**
|
|
4954
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries.
|
|
4955
|
+
* @example +91
|
|
4956
|
+
*/
|
|
4957
|
+
country_code?: string | null;
|
|
4958
|
+
first_name?: string | null;
|
|
4959
|
+
last_name?: string | null;
|
|
4960
|
+
};
|
|
4486
4961
|
};
|
|
4487
4962
|
responses: {
|
|
4488
4963
|
/** @description Requested resource not found */
|
|
@@ -4505,9 +4980,11 @@ interface components {
|
|
|
4505
4980
|
};
|
|
4506
4981
|
content: {
|
|
4507
4982
|
"application/json": {
|
|
4983
|
+
/** @example Not authorized for given operation on the Resource. */
|
|
4508
4984
|
message: string;
|
|
4509
4985
|
/** @default false */
|
|
4510
4986
|
success: boolean;
|
|
4987
|
+
/** @example unauthorized */
|
|
4511
4988
|
code: string;
|
|
4512
4989
|
};
|
|
4513
4990
|
};
|
|
@@ -4597,6 +5074,7 @@ interface operations {
|
|
|
4597
5074
|
};
|
|
4598
5075
|
content: {
|
|
4599
5076
|
"application/json": {
|
|
5077
|
+
/** @example Products retrieved successfully. */
|
|
4600
5078
|
message: string;
|
|
4601
5079
|
success: boolean;
|
|
4602
5080
|
content: {
|
|
@@ -4640,6 +5118,7 @@ interface operations {
|
|
|
4640
5118
|
};
|
|
4641
5119
|
content: {
|
|
4642
5120
|
"application/json": {
|
|
5121
|
+
/** @example SKUs retrieved successfully. */
|
|
4643
5122
|
message: string;
|
|
4644
5123
|
success: boolean;
|
|
4645
5124
|
content: {
|
|
@@ -4675,6 +5154,7 @@ interface operations {
|
|
|
4675
5154
|
};
|
|
4676
5155
|
content: {
|
|
4677
5156
|
"application/json": {
|
|
5157
|
+
/** @example Products retrieved successfully. */
|
|
4678
5158
|
message: string;
|
|
4679
5159
|
success: boolean;
|
|
4680
5160
|
content: {
|
|
@@ -4709,6 +5189,7 @@ interface operations {
|
|
|
4709
5189
|
};
|
|
4710
5190
|
content: {
|
|
4711
5191
|
"application/json": {
|
|
5192
|
+
/** @example Products retrieved successfully. */
|
|
4712
5193
|
message: string;
|
|
4713
5194
|
success: boolean;
|
|
4714
5195
|
content: {
|
|
@@ -4745,6 +5226,7 @@ interface operations {
|
|
|
4745
5226
|
};
|
|
4746
5227
|
content: {
|
|
4747
5228
|
"application/json": {
|
|
5229
|
+
/** @example Products retrieved successfully. */
|
|
4748
5230
|
message: string;
|
|
4749
5231
|
success: boolean;
|
|
4750
5232
|
content: {
|
|
@@ -4784,6 +5266,7 @@ interface operations {
|
|
|
4784
5266
|
};
|
|
4785
5267
|
content: {
|
|
4786
5268
|
"application/json": {
|
|
5269
|
+
/** @example all categories */
|
|
4787
5270
|
message: string;
|
|
4788
5271
|
success: boolean;
|
|
4789
5272
|
content: {
|
|
@@ -4865,6 +5348,7 @@ interface operations {
|
|
|
4865
5348
|
};
|
|
4866
5349
|
content: {
|
|
4867
5350
|
"application/json": {
|
|
5351
|
+
/** @example Review submitted successfully. */
|
|
4868
5352
|
message: string;
|
|
4869
5353
|
success: boolean;
|
|
4870
5354
|
};
|
|
@@ -5056,6 +5540,9 @@ interface operations {
|
|
|
5056
5540
|
content: {
|
|
5057
5541
|
"application/json": {
|
|
5058
5542
|
items: components["schemas"]["UpdateCartItem"][];
|
|
5543
|
+
metadata?: {
|
|
5544
|
+
[key: string]: string;
|
|
5545
|
+
};
|
|
5059
5546
|
};
|
|
5060
5547
|
};
|
|
5061
5548
|
};
|
|
@@ -5099,6 +5586,7 @@ interface operations {
|
|
|
5099
5586
|
};
|
|
5100
5587
|
content: {
|
|
5101
5588
|
"application/json": {
|
|
5589
|
+
/** @example cart details */
|
|
5102
5590
|
readonly message: string;
|
|
5103
5591
|
readonly success: boolean;
|
|
5104
5592
|
content: {
|
|
@@ -5130,6 +5618,7 @@ interface operations {
|
|
|
5130
5618
|
};
|
|
5131
5619
|
content: {
|
|
5132
5620
|
"application/json": {
|
|
5621
|
+
/** @example All cart items are removed. */
|
|
5133
5622
|
readonly message: string;
|
|
5134
5623
|
readonly success: boolean;
|
|
5135
5624
|
};
|
|
@@ -5158,6 +5647,7 @@ interface operations {
|
|
|
5158
5647
|
};
|
|
5159
5648
|
content: {
|
|
5160
5649
|
"application/json": {
|
|
5650
|
+
/** @example cart details */
|
|
5161
5651
|
readonly message: string;
|
|
5162
5652
|
readonly success: boolean;
|
|
5163
5653
|
content: {
|
|
@@ -5189,6 +5679,7 @@ interface operations {
|
|
|
5189
5679
|
};
|
|
5190
5680
|
content: {
|
|
5191
5681
|
"application/json": {
|
|
5682
|
+
/** @example All cart items are removed. */
|
|
5192
5683
|
readonly message: string;
|
|
5193
5684
|
readonly success: boolean;
|
|
5194
5685
|
};
|
|
@@ -5264,6 +5755,45 @@ interface operations {
|
|
|
5264
5755
|
};
|
|
5265
5756
|
content: {
|
|
5266
5757
|
"application/json": {
|
|
5758
|
+
/** @example Address updated successfully */
|
|
5759
|
+
message: string;
|
|
5760
|
+
success: boolean;
|
|
5761
|
+
content: {
|
|
5762
|
+
cart: components["schemas"]["Cart"];
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5766
|
+
};
|
|
5767
|
+
400: components["responses"]["BadRequest"];
|
|
5768
|
+
401: components["responses"]["Unauthorized"];
|
|
5769
|
+
404: components["responses"]["NotFound"];
|
|
5770
|
+
};
|
|
5771
|
+
};
|
|
5772
|
+
"update-cart-customer": {
|
|
5773
|
+
parameters: {
|
|
5774
|
+
query?: never;
|
|
5775
|
+
header?: never;
|
|
5776
|
+
path: {
|
|
5777
|
+
/** @description Cart ID */
|
|
5778
|
+
id: string;
|
|
5779
|
+
};
|
|
5780
|
+
cookie?: never;
|
|
5781
|
+
};
|
|
5782
|
+
/** @description Update billing and shipping address during checkout */
|
|
5783
|
+
requestBody: {
|
|
5784
|
+
content: {
|
|
5785
|
+
"application/json": components["schemas"]["PosUpdateCustomerWithId"] | components["schemas"]["PosUpdateCustomerWithPhone"] | components["schemas"]["PosUpdateCustomerWithEmail"];
|
|
5786
|
+
};
|
|
5787
|
+
};
|
|
5788
|
+
responses: {
|
|
5789
|
+
/** @description OK */
|
|
5790
|
+
200: {
|
|
5791
|
+
headers: {
|
|
5792
|
+
[name: string]: unknown;
|
|
5793
|
+
};
|
|
5794
|
+
content: {
|
|
5795
|
+
"application/json": {
|
|
5796
|
+
/** @example Address updated successfully */
|
|
5267
5797
|
message: string;
|
|
5268
5798
|
success: boolean;
|
|
5269
5799
|
content: {
|
|
@@ -5329,6 +5859,7 @@ interface operations {
|
|
|
5329
5859
|
requestBody: {
|
|
5330
5860
|
content: {
|
|
5331
5861
|
"application/json": {
|
|
5862
|
+
/** @example FLAT100OFF */
|
|
5332
5863
|
coupon_code: string;
|
|
5333
5864
|
};
|
|
5334
5865
|
};
|
|
@@ -5409,6 +5940,7 @@ interface operations {
|
|
|
5409
5940
|
requestBody: {
|
|
5410
5941
|
content: {
|
|
5411
5942
|
"application/json": {
|
|
5943
|
+
/** @example 1000 */
|
|
5412
5944
|
loyalty_point_redeemed: number;
|
|
5413
5945
|
};
|
|
5414
5946
|
};
|
|
@@ -5488,7 +6020,10 @@ interface operations {
|
|
|
5488
6020
|
requestBody: {
|
|
5489
6021
|
content: {
|
|
5490
6022
|
"application/json": {
|
|
5491
|
-
/**
|
|
6023
|
+
/**
|
|
6024
|
+
* Format: double
|
|
6025
|
+
* @example 200
|
|
6026
|
+
*/
|
|
5492
6027
|
credit_balance_used: number;
|
|
5493
6028
|
};
|
|
5494
6029
|
};
|
|
@@ -5732,6 +6267,7 @@ interface operations {
|
|
|
5732
6267
|
requestBody: {
|
|
5733
6268
|
content: {
|
|
5734
6269
|
"application/json": {
|
|
6270
|
+
/** @example 01F3Z7KG06J4ACWH1C4926KJEC */
|
|
5735
6271
|
product_id: string;
|
|
5736
6272
|
variant_id: string | null;
|
|
5737
6273
|
};
|
|
@@ -5771,6 +6307,7 @@ interface operations {
|
|
|
5771
6307
|
requestBody: {
|
|
5772
6308
|
content: {
|
|
5773
6309
|
"application/json": {
|
|
6310
|
+
/** @example 01F3Z7KG06J4ACWH1C4926KJEC */
|
|
5774
6311
|
product_id: string;
|
|
5775
6312
|
variant_id: string | null;
|
|
5776
6313
|
};
|
|
@@ -5828,6 +6365,190 @@ interface operations {
|
|
|
5828
6365
|
401: components["responses"]["Unauthorized"];
|
|
5829
6366
|
};
|
|
5830
6367
|
};
|
|
6368
|
+
"evaluate-promotions": {
|
|
6369
|
+
parameters: {
|
|
6370
|
+
query?: never;
|
|
6371
|
+
header?: never;
|
|
6372
|
+
path: {
|
|
6373
|
+
/** @description Cart Id */
|
|
6374
|
+
id: string;
|
|
6375
|
+
};
|
|
6376
|
+
cookie?: never;
|
|
6377
|
+
};
|
|
6378
|
+
requestBody?: never;
|
|
6379
|
+
responses: {
|
|
6380
|
+
/** @description OK */
|
|
6381
|
+
200: {
|
|
6382
|
+
headers: {
|
|
6383
|
+
[name: string]: unknown;
|
|
6384
|
+
};
|
|
6385
|
+
content: {
|
|
6386
|
+
"application/json": {
|
|
6387
|
+
message?: string;
|
|
6388
|
+
success?: boolean;
|
|
6389
|
+
content?: {
|
|
6390
|
+
applicable_promotions?: {
|
|
6391
|
+
id?: string;
|
|
6392
|
+
name?: string;
|
|
6393
|
+
/** @enum {unknown} */
|
|
6394
|
+
promotion_type?: "discount" | "free-goods" | "free-shipping" | "buy-x-get-y" | "volume-based";
|
|
6395
|
+
estimated_discount?: number;
|
|
6396
|
+
savings_message?: string;
|
|
6397
|
+
}[];
|
|
6398
|
+
inapplicable_promotions?: {
|
|
6399
|
+
id?: string;
|
|
6400
|
+
name?: string;
|
|
6401
|
+
/** @enum {unknown} */
|
|
6402
|
+
promotion_type?: "discount" | "free-goods" | "free-shipping" | "buy-x-get-y" | "volume-based";
|
|
6403
|
+
reason?: string;
|
|
6404
|
+
suggestion?: string;
|
|
6405
|
+
}[];
|
|
6406
|
+
};
|
|
6407
|
+
};
|
|
6408
|
+
};
|
|
6409
|
+
};
|
|
6410
|
+
401: components["responses"]["Unauthorized"];
|
|
6411
|
+
};
|
|
6412
|
+
};
|
|
6413
|
+
"evaluate-coupons": {
|
|
6414
|
+
parameters: {
|
|
6415
|
+
query?: never;
|
|
6416
|
+
header?: never;
|
|
6417
|
+
path: {
|
|
6418
|
+
/** @description Cart Id */
|
|
6419
|
+
id: string;
|
|
6420
|
+
};
|
|
6421
|
+
cookie?: never;
|
|
6422
|
+
};
|
|
6423
|
+
requestBody?: never;
|
|
6424
|
+
responses: {
|
|
6425
|
+
/** @description OK */
|
|
6426
|
+
200: {
|
|
6427
|
+
headers: {
|
|
6428
|
+
[name: string]: unknown;
|
|
6429
|
+
};
|
|
6430
|
+
content: {
|
|
6431
|
+
"application/json": {
|
|
6432
|
+
message?: string;
|
|
6433
|
+
success?: boolean;
|
|
6434
|
+
content?: {
|
|
6435
|
+
applicable_coupons?: {
|
|
6436
|
+
id?: string;
|
|
6437
|
+
name?: string;
|
|
6438
|
+
/** @enum {unknown} */
|
|
6439
|
+
coupon_type?: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards";
|
|
6440
|
+
coupon_code?: string[];
|
|
6441
|
+
estimated_discount?: number;
|
|
6442
|
+
savings_message?: string;
|
|
6443
|
+
}[];
|
|
6444
|
+
inapplicable_coupons?: {
|
|
6445
|
+
id?: string;
|
|
6446
|
+
name?: string;
|
|
6447
|
+
/** @enum {unknown} */
|
|
6448
|
+
coupon_type?: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards";
|
|
6449
|
+
coupon_code?: string[];
|
|
6450
|
+
reason?: string;
|
|
6451
|
+
suggestion?: string;
|
|
6452
|
+
}[];
|
|
6453
|
+
};
|
|
6454
|
+
};
|
|
6455
|
+
};
|
|
6456
|
+
};
|
|
6457
|
+
401: components["responses"]["Unauthorized"];
|
|
6458
|
+
};
|
|
6459
|
+
};
|
|
6460
|
+
"evaluate-pos-promotions": {
|
|
6461
|
+
parameters: {
|
|
6462
|
+
query?: never;
|
|
6463
|
+
header?: never;
|
|
6464
|
+
path: {
|
|
6465
|
+
/** @description Cart Id */
|
|
6466
|
+
id: string;
|
|
6467
|
+
};
|
|
6468
|
+
cookie?: never;
|
|
6469
|
+
};
|
|
6470
|
+
requestBody?: never;
|
|
6471
|
+
responses: {
|
|
6472
|
+
/** @description OK */
|
|
6473
|
+
200: {
|
|
6474
|
+
headers: {
|
|
6475
|
+
[name: string]: unknown;
|
|
6476
|
+
};
|
|
6477
|
+
content: {
|
|
6478
|
+
"application/json": {
|
|
6479
|
+
message?: string;
|
|
6480
|
+
success?: boolean;
|
|
6481
|
+
content?: {
|
|
6482
|
+
applicable_promotions?: {
|
|
6483
|
+
id?: string;
|
|
6484
|
+
name?: string;
|
|
6485
|
+
/** @enum {unknown} */
|
|
6486
|
+
promotion_type?: "discount" | "free-goods" | "free-shipping" | "buy-x-get-y" | "volume-based";
|
|
6487
|
+
estimated_discount?: number;
|
|
6488
|
+
savings_message?: string;
|
|
6489
|
+
}[];
|
|
6490
|
+
inapplicable_promotions?: {
|
|
6491
|
+
id?: string;
|
|
6492
|
+
name?: string;
|
|
6493
|
+
/** @enum {unknown} */
|
|
6494
|
+
promotion_type?: "discount" | "free-goods" | "free-shipping" | "buy-x-get-y" | "volume-based";
|
|
6495
|
+
reason?: string;
|
|
6496
|
+
suggestion?: string;
|
|
6497
|
+
}[];
|
|
6498
|
+
};
|
|
6499
|
+
};
|
|
6500
|
+
};
|
|
6501
|
+
};
|
|
6502
|
+
401: components["responses"]["Unauthorized"];
|
|
6503
|
+
};
|
|
6504
|
+
};
|
|
6505
|
+
"evaluate-pos-coupons": {
|
|
6506
|
+
parameters: {
|
|
6507
|
+
query?: never;
|
|
6508
|
+
header?: never;
|
|
6509
|
+
path: {
|
|
6510
|
+
/** @description Cart Id */
|
|
6511
|
+
id: string;
|
|
6512
|
+
};
|
|
6513
|
+
cookie?: never;
|
|
6514
|
+
};
|
|
6515
|
+
requestBody?: never;
|
|
6516
|
+
responses: {
|
|
6517
|
+
/** @description OK */
|
|
6518
|
+
200: {
|
|
6519
|
+
headers: {
|
|
6520
|
+
[name: string]: unknown;
|
|
6521
|
+
};
|
|
6522
|
+
content: {
|
|
6523
|
+
"application/json": {
|
|
6524
|
+
message?: string;
|
|
6525
|
+
success?: boolean;
|
|
6526
|
+
content?: {
|
|
6527
|
+
applicable_coupons?: {
|
|
6528
|
+
id?: string;
|
|
6529
|
+
name?: string;
|
|
6530
|
+
/** @enum {unknown} */
|
|
6531
|
+
coupon_type?: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards";
|
|
6532
|
+
coupon_code?: string[];
|
|
6533
|
+
estimated_discount?: number;
|
|
6534
|
+
savings_message?: string;
|
|
6535
|
+
}[];
|
|
6536
|
+
inapplicable_coupons?: {
|
|
6537
|
+
id?: string;
|
|
6538
|
+
name?: string;
|
|
6539
|
+
/** @enum {unknown} */
|
|
6540
|
+
coupon_type?: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards";
|
|
6541
|
+
coupon_code?: string[];
|
|
6542
|
+
reason?: string;
|
|
6543
|
+
suggestion?: string;
|
|
6544
|
+
}[];
|
|
6545
|
+
};
|
|
6546
|
+
};
|
|
6547
|
+
};
|
|
6548
|
+
};
|
|
6549
|
+
401: components["responses"]["Unauthorized"];
|
|
6550
|
+
};
|
|
6551
|
+
};
|
|
5831
6552
|
"get-customer-detail": {
|
|
5832
6553
|
parameters: {
|
|
5833
6554
|
query?: never;
|
|
@@ -6074,6 +6795,7 @@ interface operations {
|
|
|
6074
6795
|
};
|
|
6075
6796
|
content: {
|
|
6076
6797
|
"application/json": {
|
|
6798
|
+
/** @example address removed successfully */
|
|
6077
6799
|
message?: string;
|
|
6078
6800
|
success?: boolean;
|
|
6079
6801
|
};
|
|
@@ -7407,7 +8129,404 @@ interface operations {
|
|
|
7407
8129
|
};
|
|
7408
8130
|
cookie?: never;
|
|
7409
8131
|
};
|
|
7410
|
-
requestBody?: never;
|
|
8132
|
+
requestBody?: never;
|
|
8133
|
+
responses: {
|
|
8134
|
+
/** @description OK */
|
|
8135
|
+
200: {
|
|
8136
|
+
headers: {
|
|
8137
|
+
[name: string]: unknown;
|
|
8138
|
+
};
|
|
8139
|
+
content: {
|
|
8140
|
+
"application/json": {
|
|
8141
|
+
/** @description A descriptive message confirming the success or failure of the Registration process. */
|
|
8142
|
+
message: string;
|
|
8143
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8144
|
+
success: boolean;
|
|
8145
|
+
/** @description An object containing the response content. */
|
|
8146
|
+
content: {
|
|
8147
|
+
/** @description An object containing the response content. */
|
|
8148
|
+
user: components["schemas"]["User"];
|
|
8149
|
+
};
|
|
8150
|
+
};
|
|
8151
|
+
};
|
|
8152
|
+
};
|
|
8153
|
+
400: components["responses"]["BadRequest"];
|
|
8154
|
+
401: components["responses"]["Unauthorized"];
|
|
8155
|
+
404: components["responses"]["NotFound"];
|
|
8156
|
+
};
|
|
8157
|
+
};
|
|
8158
|
+
"update-user": {
|
|
8159
|
+
parameters: {
|
|
8160
|
+
query?: never;
|
|
8161
|
+
header?: never;
|
|
8162
|
+
path: {
|
|
8163
|
+
/** @description user ID */
|
|
8164
|
+
id: string;
|
|
8165
|
+
};
|
|
8166
|
+
cookie?: never;
|
|
8167
|
+
};
|
|
8168
|
+
requestBody: {
|
|
8169
|
+
content: {
|
|
8170
|
+
"application/json": components["schemas"]["User"];
|
|
8171
|
+
};
|
|
8172
|
+
};
|
|
8173
|
+
responses: {
|
|
8174
|
+
/** @description OK */
|
|
8175
|
+
200: {
|
|
8176
|
+
headers: {
|
|
8177
|
+
[name: string]: unknown;
|
|
8178
|
+
};
|
|
8179
|
+
content: {
|
|
8180
|
+
"application/json": {
|
|
8181
|
+
/** @description A descriptive message confirming the success or failure of the Registration process. */
|
|
8182
|
+
message: string;
|
|
8183
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8184
|
+
success: boolean;
|
|
8185
|
+
/** @description An object containing the response content. */
|
|
8186
|
+
content: {
|
|
8187
|
+
/** @description An object containing the response content. */
|
|
8188
|
+
user: components["schemas"]["User"];
|
|
8189
|
+
};
|
|
8190
|
+
};
|
|
8191
|
+
};
|
|
8192
|
+
};
|
|
8193
|
+
400: components["responses"]["BadRequest"];
|
|
8194
|
+
401: components["responses"]["Unauthorized"];
|
|
8195
|
+
};
|
|
8196
|
+
};
|
|
8197
|
+
"get-profile-image": {
|
|
8198
|
+
parameters: {
|
|
8199
|
+
query?: never;
|
|
8200
|
+
header?: never;
|
|
8201
|
+
path: {
|
|
8202
|
+
/** @description user ID */
|
|
8203
|
+
id: string;
|
|
8204
|
+
};
|
|
8205
|
+
cookie?: never;
|
|
8206
|
+
};
|
|
8207
|
+
requestBody?: never;
|
|
8208
|
+
responses: {
|
|
8209
|
+
/** @description OK */
|
|
8210
|
+
200: {
|
|
8211
|
+
headers: {
|
|
8212
|
+
[name: string]: unknown;
|
|
8213
|
+
};
|
|
8214
|
+
content: {
|
|
8215
|
+
"application/json": {
|
|
8216
|
+
/** @description A descriptive message confirming the success or failure of the retrieve operation. */
|
|
8217
|
+
message: string;
|
|
8218
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8219
|
+
success: boolean;
|
|
8220
|
+
/** @description An object containing the response content. */
|
|
8221
|
+
content: {
|
|
8222
|
+
/** @description A string representing the URL to a profile image. */
|
|
8223
|
+
profile_image_url: string;
|
|
8224
|
+
};
|
|
8225
|
+
};
|
|
8226
|
+
};
|
|
8227
|
+
};
|
|
8228
|
+
400: components["responses"]["BadRequest"];
|
|
8229
|
+
401: components["responses"]["Unauthorized"];
|
|
8230
|
+
404: components["responses"]["NotFound"];
|
|
8231
|
+
};
|
|
8232
|
+
};
|
|
8233
|
+
"update-profile-image": {
|
|
8234
|
+
parameters: {
|
|
8235
|
+
query?: never;
|
|
8236
|
+
header?: never;
|
|
8237
|
+
path: {
|
|
8238
|
+
/** @description user ID */
|
|
8239
|
+
id: string;
|
|
8240
|
+
};
|
|
8241
|
+
cookie?: never;
|
|
8242
|
+
};
|
|
8243
|
+
requestBody: {
|
|
8244
|
+
content: {
|
|
8245
|
+
"multipart/form-data": {
|
|
8246
|
+
/** Format: binary */
|
|
8247
|
+
image?: string;
|
|
8248
|
+
};
|
|
8249
|
+
};
|
|
8250
|
+
};
|
|
8251
|
+
responses: {
|
|
8252
|
+
/** @description OK */
|
|
8253
|
+
200: {
|
|
8254
|
+
headers: {
|
|
8255
|
+
[name: string]: unknown;
|
|
8256
|
+
};
|
|
8257
|
+
content: {
|
|
8258
|
+
"application/json": {
|
|
8259
|
+
/** @description A descriptive message confirming the success or failure of the update operation. */
|
|
8260
|
+
message: string;
|
|
8261
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8262
|
+
success: boolean;
|
|
8263
|
+
/** @description An object containing the response content. */
|
|
8264
|
+
content: {
|
|
8265
|
+
/** @description A string representing the URL to a profile image. */
|
|
8266
|
+
profile_image_url: string;
|
|
8267
|
+
};
|
|
8268
|
+
};
|
|
8269
|
+
};
|
|
8270
|
+
};
|
|
8271
|
+
400: components["responses"]["BadRequest"];
|
|
8272
|
+
401: components["responses"]["Unauthorized"];
|
|
8273
|
+
404: components["responses"]["NotFound"];
|
|
8274
|
+
};
|
|
8275
|
+
};
|
|
8276
|
+
"add-profile-image": {
|
|
8277
|
+
parameters: {
|
|
8278
|
+
query?: never;
|
|
8279
|
+
header?: never;
|
|
8280
|
+
path: {
|
|
8281
|
+
/** @description user ID */
|
|
8282
|
+
id: string;
|
|
8283
|
+
};
|
|
8284
|
+
cookie?: never;
|
|
8285
|
+
};
|
|
8286
|
+
requestBody: {
|
|
8287
|
+
content: {
|
|
8288
|
+
"multipart/form-data": {
|
|
8289
|
+
/** Format: binary */
|
|
8290
|
+
image: string;
|
|
8291
|
+
};
|
|
8292
|
+
};
|
|
8293
|
+
};
|
|
8294
|
+
responses: {
|
|
8295
|
+
/** @description OK */
|
|
8296
|
+
200: {
|
|
8297
|
+
headers: {
|
|
8298
|
+
[name: string]: unknown;
|
|
8299
|
+
};
|
|
8300
|
+
content: {
|
|
8301
|
+
"application/json": {
|
|
8302
|
+
/** @description A descriptive message confirming the success or failure of the add operation. */
|
|
8303
|
+
message: string;
|
|
8304
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8305
|
+
success: boolean;
|
|
8306
|
+
/** @description An object containing the response content. */
|
|
8307
|
+
content: {
|
|
8308
|
+
/** @description A string representing the URL to a profile image. */
|
|
8309
|
+
profile_image_url: string;
|
|
8310
|
+
};
|
|
8311
|
+
};
|
|
8312
|
+
};
|
|
8313
|
+
};
|
|
8314
|
+
400: components["responses"]["BadRequest"];
|
|
8315
|
+
401: components["responses"]["Unauthorized"];
|
|
8316
|
+
};
|
|
8317
|
+
};
|
|
8318
|
+
"remove-profile-image": {
|
|
8319
|
+
parameters: {
|
|
8320
|
+
query?: never;
|
|
8321
|
+
header?: never;
|
|
8322
|
+
path: {
|
|
8323
|
+
/** @description user ID */
|
|
8324
|
+
id: string;
|
|
8325
|
+
};
|
|
8326
|
+
cookie?: never;
|
|
8327
|
+
};
|
|
8328
|
+
requestBody?: never;
|
|
8329
|
+
responses: {
|
|
8330
|
+
/** @description OK */
|
|
8331
|
+
200: {
|
|
8332
|
+
headers: {
|
|
8333
|
+
[name: string]: unknown;
|
|
8334
|
+
};
|
|
8335
|
+
content: {
|
|
8336
|
+
"application/json": {
|
|
8337
|
+
/** @description A descriptive message confirming the success or failure of the delete operation. */
|
|
8338
|
+
message: string;
|
|
8339
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8340
|
+
success: boolean;
|
|
8341
|
+
};
|
|
8342
|
+
};
|
|
8343
|
+
};
|
|
8344
|
+
400: components["responses"]["BadRequest"];
|
|
8345
|
+
401: components["responses"]["Unauthorized"];
|
|
8346
|
+
404: components["responses"]["NotFound"];
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
"deactivate-user": {
|
|
8350
|
+
parameters: {
|
|
8351
|
+
query?: never;
|
|
8352
|
+
header?: never;
|
|
8353
|
+
path: {
|
|
8354
|
+
/** @description user ID */
|
|
8355
|
+
id: string;
|
|
8356
|
+
};
|
|
8357
|
+
cookie?: never;
|
|
8358
|
+
};
|
|
8359
|
+
requestBody?: never;
|
|
8360
|
+
responses: {
|
|
8361
|
+
/** @description OK */
|
|
8362
|
+
200: {
|
|
8363
|
+
headers: {
|
|
8364
|
+
[name: string]: unknown;
|
|
8365
|
+
};
|
|
8366
|
+
content: {
|
|
8367
|
+
"application/json": {
|
|
8368
|
+
/** @description A descriptive message confirming the success or failure of the deactivate account operation. */
|
|
8369
|
+
message: string;
|
|
8370
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8371
|
+
success: boolean;
|
|
8372
|
+
};
|
|
8373
|
+
};
|
|
8374
|
+
};
|
|
8375
|
+
400: components["responses"]["BadRequest"];
|
|
8376
|
+
401: components["responses"]["Unauthorized"];
|
|
8377
|
+
404: components["responses"]["NotFound"];
|
|
8378
|
+
};
|
|
8379
|
+
};
|
|
8380
|
+
"refresh-token": {
|
|
8381
|
+
parameters: {
|
|
8382
|
+
query?: never;
|
|
8383
|
+
header?: never;
|
|
8384
|
+
path?: never;
|
|
8385
|
+
cookie?: never;
|
|
8386
|
+
};
|
|
8387
|
+
requestBody: {
|
|
8388
|
+
content: {
|
|
8389
|
+
"application/json": {
|
|
8390
|
+
/** @description A string representing the refresh token. */
|
|
8391
|
+
refresh_token: string;
|
|
8392
|
+
};
|
|
8393
|
+
};
|
|
8394
|
+
};
|
|
8395
|
+
responses: {
|
|
8396
|
+
/** @description OK */
|
|
8397
|
+
200: {
|
|
8398
|
+
headers: {
|
|
8399
|
+
[name: string]: unknown;
|
|
8400
|
+
};
|
|
8401
|
+
content: {
|
|
8402
|
+
"application/json": {
|
|
8403
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
8404
|
+
message: string;
|
|
8405
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8406
|
+
success: boolean;
|
|
8407
|
+
/** @description An object containing the response content. */
|
|
8408
|
+
content: {
|
|
8409
|
+
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
8410
|
+
access_token: string;
|
|
8411
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
8412
|
+
refresh_token: string;
|
|
8413
|
+
};
|
|
8414
|
+
};
|
|
8415
|
+
};
|
|
8416
|
+
};
|
|
8417
|
+
400: components["responses"]["BadRequest"];
|
|
8418
|
+
404: components["responses"]["NotFound"];
|
|
8419
|
+
};
|
|
8420
|
+
};
|
|
8421
|
+
"change-password": {
|
|
8422
|
+
parameters: {
|
|
8423
|
+
query?: never;
|
|
8424
|
+
header?: never;
|
|
8425
|
+
path?: never;
|
|
8426
|
+
cookie?: never;
|
|
8427
|
+
};
|
|
8428
|
+
requestBody: {
|
|
8429
|
+
content: {
|
|
8430
|
+
"application/json": {
|
|
8431
|
+
/** @description The old password associated with the user's account. This parameter is crucial for verifying the user's identity before allowing a password change. */
|
|
8432
|
+
old_password: string;
|
|
8433
|
+
/** @description The new password that the user intends to set for their account. This parameter is necessary for updating the password to enhance account security. */
|
|
8434
|
+
new_password: string;
|
|
8435
|
+
/** @description A confirmation of the new password. */
|
|
8436
|
+
confirm_password: string;
|
|
8437
|
+
};
|
|
8438
|
+
};
|
|
8439
|
+
};
|
|
8440
|
+
responses: {
|
|
8441
|
+
/** @description OK */
|
|
8442
|
+
200: {
|
|
8443
|
+
headers: {
|
|
8444
|
+
[name: string]: unknown;
|
|
8445
|
+
};
|
|
8446
|
+
content: {
|
|
8447
|
+
"application/json": {
|
|
8448
|
+
/** @description A descriptive message confirming the success or failure of the change password operation. */
|
|
8449
|
+
message: string;
|
|
8450
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8451
|
+
success: boolean;
|
|
8452
|
+
/** @description An object containing the response content. */
|
|
8453
|
+
content: {
|
|
8454
|
+
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
8455
|
+
access_token: string;
|
|
8456
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
8457
|
+
refresh_token: string;
|
|
8458
|
+
};
|
|
8459
|
+
};
|
|
8460
|
+
};
|
|
8461
|
+
};
|
|
8462
|
+
400: components["responses"]["BadRequest"];
|
|
8463
|
+
401: components["responses"]["Unauthorized"];
|
|
8464
|
+
};
|
|
8465
|
+
};
|
|
8466
|
+
"forgot-password": {
|
|
8467
|
+
parameters: {
|
|
8468
|
+
query?: never;
|
|
8469
|
+
header?: never;
|
|
8470
|
+
path?: never;
|
|
8471
|
+
cookie?: never;
|
|
8472
|
+
};
|
|
8473
|
+
requestBody: {
|
|
8474
|
+
content: {
|
|
8475
|
+
"application/json": {
|
|
8476
|
+
/** @description A string representing the email address. */
|
|
8477
|
+
email: string;
|
|
8478
|
+
/** @description 10 digit phone number without country code. */
|
|
8479
|
+
phone: string;
|
|
8480
|
+
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
8481
|
+
* Use this key along with phone. Not necessary for email. */
|
|
8482
|
+
country_code: string;
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
responses: {
|
|
8487
|
+
/** @description OK */
|
|
8488
|
+
200: {
|
|
8489
|
+
headers: {
|
|
8490
|
+
[name: string]: unknown;
|
|
8491
|
+
};
|
|
8492
|
+
content: {
|
|
8493
|
+
"application/json": {
|
|
8494
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
8495
|
+
message: string;
|
|
8496
|
+
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
8497
|
+
success: boolean;
|
|
8498
|
+
/** @description An object containing the response content. */
|
|
8499
|
+
content: {
|
|
8500
|
+
/** @description A string representing the OTP token which facilitas the resetting of user’s account password. */
|
|
8501
|
+
otp_token: string;
|
|
8502
|
+
};
|
|
8503
|
+
};
|
|
8504
|
+
};
|
|
8505
|
+
};
|
|
8506
|
+
400: components["responses"]["BadRequest"];
|
|
8507
|
+
401: components["responses"]["Unauthorized"];
|
|
8508
|
+
404: components["responses"]["NotFound"];
|
|
8509
|
+
};
|
|
8510
|
+
};
|
|
8511
|
+
"reset-password": {
|
|
8512
|
+
parameters: {
|
|
8513
|
+
query?: never;
|
|
8514
|
+
header?: never;
|
|
8515
|
+
path?: never;
|
|
8516
|
+
cookie?: never;
|
|
8517
|
+
};
|
|
8518
|
+
requestBody: {
|
|
8519
|
+
content: {
|
|
8520
|
+
"application/json": {
|
|
8521
|
+
/** @description The new password that the user wants to set for their account. */
|
|
8522
|
+
new_password: string;
|
|
8523
|
+
/** @description A confirmation of the new password. */
|
|
8524
|
+
confirm_password: string;
|
|
8525
|
+
/** @description A string representing the OTP token which facilitas the resetting of user’s account password. */
|
|
8526
|
+
otp_token: string;
|
|
8527
|
+
};
|
|
8528
|
+
};
|
|
8529
|
+
};
|
|
7411
8530
|
responses: {
|
|
7412
8531
|
/** @description OK */
|
|
7413
8532
|
200: {
|
|
@@ -7416,38 +8535,34 @@ interface operations {
|
|
|
7416
8535
|
};
|
|
7417
8536
|
content: {
|
|
7418
8537
|
"application/json": {
|
|
7419
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8538
|
+
/** @description A descriptive message confirming the success or failure of the reset password operation. */
|
|
7420
8539
|
message: string;
|
|
7421
8540
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7422
8541
|
success: boolean;
|
|
7423
8542
|
/** @description An object containing the response content. */
|
|
7424
8543
|
content: {
|
|
7425
|
-
/** @description
|
|
7426
|
-
|
|
8544
|
+
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
8545
|
+
access_token: string;
|
|
8546
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
8547
|
+
refresh_token: string;
|
|
7427
8548
|
};
|
|
7428
8549
|
};
|
|
7429
8550
|
};
|
|
7430
8551
|
};
|
|
7431
8552
|
400: components["responses"]["BadRequest"];
|
|
7432
|
-
401: components["responses"]["Unauthorized"];
|
|
7433
|
-
404: components["responses"]["NotFound"];
|
|
7434
8553
|
};
|
|
7435
8554
|
};
|
|
7436
|
-
"
|
|
8555
|
+
"get-notification-preferences": {
|
|
7437
8556
|
parameters: {
|
|
7438
8557
|
query?: never;
|
|
7439
8558
|
header?: never;
|
|
7440
8559
|
path: {
|
|
7441
|
-
/** @description user
|
|
8560
|
+
/** @description user id */
|
|
7442
8561
|
id: string;
|
|
7443
8562
|
};
|
|
7444
8563
|
cookie?: never;
|
|
7445
8564
|
};
|
|
7446
|
-
requestBody
|
|
7447
|
-
content: {
|
|
7448
|
-
"application/json": components["schemas"]["User"];
|
|
7449
|
-
};
|
|
7450
|
-
};
|
|
8565
|
+
requestBody?: never;
|
|
7451
8566
|
responses: {
|
|
7452
8567
|
/** @description OK */
|
|
7453
8568
|
200: {
|
|
@@ -7456,33 +8571,41 @@ interface operations {
|
|
|
7456
8571
|
};
|
|
7457
8572
|
content: {
|
|
7458
8573
|
"application/json": {
|
|
7459
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8574
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7460
8575
|
message: string;
|
|
7461
8576
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7462
8577
|
success: boolean;
|
|
7463
8578
|
/** @description An object containing the response content. */
|
|
7464
8579
|
content: {
|
|
7465
|
-
/** @description An object containing the
|
|
7466
|
-
|
|
8580
|
+
/** @description An object containing the user's notification preferences. */
|
|
8581
|
+
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
7467
8582
|
};
|
|
7468
8583
|
};
|
|
7469
8584
|
};
|
|
7470
8585
|
};
|
|
7471
8586
|
400: components["responses"]["BadRequest"];
|
|
7472
8587
|
401: components["responses"]["Unauthorized"];
|
|
8588
|
+
404: components["responses"]["NotFound"];
|
|
7473
8589
|
};
|
|
7474
8590
|
};
|
|
7475
|
-
"
|
|
8591
|
+
"update-notification-preferences": {
|
|
7476
8592
|
parameters: {
|
|
7477
8593
|
query?: never;
|
|
7478
8594
|
header?: never;
|
|
7479
8595
|
path: {
|
|
7480
|
-
/** @description user
|
|
8596
|
+
/** @description user id */
|
|
7481
8597
|
id: string;
|
|
7482
8598
|
};
|
|
7483
8599
|
cookie?: never;
|
|
7484
8600
|
};
|
|
7485
|
-
requestBody
|
|
8601
|
+
requestBody: {
|
|
8602
|
+
content: {
|
|
8603
|
+
"application/json": {
|
|
8604
|
+
/** @description An object containing the user's notification preferences. */
|
|
8605
|
+
notification_preferences?: components["schemas"]["NotificationPreferences"];
|
|
8606
|
+
};
|
|
8607
|
+
};
|
|
8608
|
+
};
|
|
7486
8609
|
responses: {
|
|
7487
8610
|
/** @description OK */
|
|
7488
8611
|
200: {
|
|
@@ -7491,14 +8614,14 @@ interface operations {
|
|
|
7491
8614
|
};
|
|
7492
8615
|
content: {
|
|
7493
8616
|
"application/json": {
|
|
7494
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8617
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7495
8618
|
message: string;
|
|
7496
8619
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7497
8620
|
success: boolean;
|
|
7498
8621
|
/** @description An object containing the response content. */
|
|
7499
8622
|
content: {
|
|
7500
|
-
/** @description
|
|
7501
|
-
|
|
8623
|
+
/** @description An object containing the user's notification preferences. */
|
|
8624
|
+
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
7502
8625
|
};
|
|
7503
8626
|
};
|
|
7504
8627
|
};
|
|
@@ -7508,21 +8631,21 @@ interface operations {
|
|
|
7508
8631
|
404: components["responses"]["NotFound"];
|
|
7509
8632
|
};
|
|
7510
8633
|
};
|
|
7511
|
-
"
|
|
8634
|
+
"create-notification-preferences": {
|
|
7512
8635
|
parameters: {
|
|
7513
8636
|
query?: never;
|
|
7514
8637
|
header?: never;
|
|
7515
8638
|
path: {
|
|
7516
|
-
/** @description user
|
|
8639
|
+
/** @description user id */
|
|
7517
8640
|
id: string;
|
|
7518
8641
|
};
|
|
7519
8642
|
cookie?: never;
|
|
7520
8643
|
};
|
|
7521
8644
|
requestBody: {
|
|
7522
8645
|
content: {
|
|
7523
|
-
"
|
|
7524
|
-
/**
|
|
7525
|
-
|
|
8646
|
+
"application/json": {
|
|
8647
|
+
/** @description An object containing the user's notification preferences. */
|
|
8648
|
+
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
7526
8649
|
};
|
|
7527
8650
|
};
|
|
7528
8651
|
};
|
|
@@ -7534,14 +8657,14 @@ interface operations {
|
|
|
7534
8657
|
};
|
|
7535
8658
|
content: {
|
|
7536
8659
|
"application/json": {
|
|
7537
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8660
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7538
8661
|
message: string;
|
|
7539
8662
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7540
8663
|
success: boolean;
|
|
7541
8664
|
/** @description An object containing the response content. */
|
|
7542
8665
|
content: {
|
|
7543
|
-
/** @description
|
|
7544
|
-
|
|
8666
|
+
/** @description An object containing the user's notification preferences. */
|
|
8667
|
+
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
7545
8668
|
};
|
|
7546
8669
|
};
|
|
7547
8670
|
};
|
|
@@ -7551,22 +8674,16 @@ interface operations {
|
|
|
7551
8674
|
404: components["responses"]["NotFound"];
|
|
7552
8675
|
};
|
|
7553
8676
|
};
|
|
7554
|
-
"
|
|
8677
|
+
"generate-otp": {
|
|
7555
8678
|
parameters: {
|
|
7556
8679
|
query?: never;
|
|
7557
8680
|
header?: never;
|
|
7558
|
-
path
|
|
7559
|
-
/** @description user ID */
|
|
7560
|
-
id: string;
|
|
7561
|
-
};
|
|
8681
|
+
path?: never;
|
|
7562
8682
|
cookie?: never;
|
|
7563
8683
|
};
|
|
7564
8684
|
requestBody: {
|
|
7565
8685
|
content: {
|
|
7566
|
-
"
|
|
7567
|
-
/** Format: binary */
|
|
7568
|
-
image: string;
|
|
7569
|
-
};
|
|
8686
|
+
"application/json": components["schemas"]["GenerateOtpWithPhone"] | components["schemas"]["GenerateOtpWithEmail"];
|
|
7570
8687
|
};
|
|
7571
8688
|
};
|
|
7572
8689
|
responses: {
|
|
@@ -7577,14 +8694,16 @@ interface operations {
|
|
|
7577
8694
|
};
|
|
7578
8695
|
content: {
|
|
7579
8696
|
"application/json": {
|
|
7580
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8697
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7581
8698
|
message: string;
|
|
7582
8699
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7583
8700
|
success: boolean;
|
|
7584
8701
|
/** @description An object containing the response content. */
|
|
7585
8702
|
content: {
|
|
7586
|
-
/** @description A string representing the
|
|
7587
|
-
|
|
8703
|
+
/** @description A string representing the OTP token. */
|
|
8704
|
+
otp_token: string;
|
|
8705
|
+
/** @description This is used for verifying OTP or using subsequent APIs call. */
|
|
8706
|
+
otp_action: string;
|
|
7588
8707
|
};
|
|
7589
8708
|
};
|
|
7590
8709
|
};
|
|
@@ -7593,14 +8712,11 @@ interface operations {
|
|
|
7593
8712
|
401: components["responses"]["Unauthorized"];
|
|
7594
8713
|
};
|
|
7595
8714
|
};
|
|
7596
|
-
|
|
8715
|
+
logout: {
|
|
7597
8716
|
parameters: {
|
|
7598
8717
|
query?: never;
|
|
7599
8718
|
header?: never;
|
|
7600
|
-
path
|
|
7601
|
-
/** @description user ID */
|
|
7602
|
-
id: string;
|
|
7603
|
-
};
|
|
8719
|
+
path?: never;
|
|
7604
8720
|
cookie?: never;
|
|
7605
8721
|
};
|
|
7606
8722
|
requestBody?: never;
|
|
@@ -7612,10 +8728,19 @@ interface operations {
|
|
|
7612
8728
|
};
|
|
7613
8729
|
content: {
|
|
7614
8730
|
"application/json": {
|
|
7615
|
-
/** @description A descriptive message confirming the success or failure of the
|
|
8731
|
+
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7616
8732
|
message: string;
|
|
7617
8733
|
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7618
8734
|
success: boolean;
|
|
8735
|
+
/** @description An object containing the response content. */
|
|
8736
|
+
content: {
|
|
8737
|
+
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
8738
|
+
access_token: string;
|
|
8739
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
8740
|
+
refresh_token: string;
|
|
8741
|
+
/** @description An object representing user details. */
|
|
8742
|
+
user: components["schemas"]["User"];
|
|
8743
|
+
};
|
|
7619
8744
|
};
|
|
7620
8745
|
};
|
|
7621
8746
|
};
|
|
@@ -7624,13 +8749,13 @@ interface operations {
|
|
|
7624
8749
|
404: components["responses"]["NotFound"];
|
|
7625
8750
|
};
|
|
7626
8751
|
};
|
|
7627
|
-
"
|
|
8752
|
+
"list-user-reviews": {
|
|
7628
8753
|
parameters: {
|
|
7629
8754
|
query?: never;
|
|
7630
8755
|
header?: never;
|
|
7631
8756
|
path: {
|
|
7632
|
-
/** @description user
|
|
7633
|
-
|
|
8757
|
+
/** @description user id */
|
|
8758
|
+
user_id: string;
|
|
7634
8759
|
};
|
|
7635
8760
|
cookie?: never;
|
|
7636
8761
|
};
|
|
@@ -7643,10 +8768,12 @@ interface operations {
|
|
|
7643
8768
|
};
|
|
7644
8769
|
content: {
|
|
7645
8770
|
"application/json": {
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
8771
|
+
message?: string;
|
|
8772
|
+
success?: boolean;
|
|
8773
|
+
content?: {
|
|
8774
|
+
reviews?: components["schemas"]["CustomerReview"][];
|
|
8775
|
+
ready_for_review?: components["schemas"]["CustomerReadyForReview"][];
|
|
8776
|
+
};
|
|
7650
8777
|
};
|
|
7651
8778
|
};
|
|
7652
8779
|
};
|
|
@@ -7655,7 +8782,7 @@ interface operations {
|
|
|
7655
8782
|
404: components["responses"]["NotFound"];
|
|
7656
8783
|
};
|
|
7657
8784
|
};
|
|
7658
|
-
"
|
|
8785
|
+
"check-verification-status": {
|
|
7659
8786
|
parameters: {
|
|
7660
8787
|
query?: never;
|
|
7661
8788
|
header?: never;
|
|
@@ -7665,8 +8792,10 @@ interface operations {
|
|
|
7665
8792
|
requestBody: {
|
|
7666
8793
|
content: {
|
|
7667
8794
|
"application/json": {
|
|
7668
|
-
/** @description A string representing the
|
|
7669
|
-
|
|
8795
|
+
/** @description A string representing the phone number. */
|
|
8796
|
+
phone?: string[];
|
|
8797
|
+
/** @description A string representing the email address. */
|
|
8798
|
+
email?: string[];
|
|
7670
8799
|
};
|
|
7671
8800
|
};
|
|
7672
8801
|
};
|
|
@@ -7684,19 +8813,20 @@ interface operations {
|
|
|
7684
8813
|
success: boolean;
|
|
7685
8814
|
/** @description An object containing the response content. */
|
|
7686
8815
|
content: {
|
|
7687
|
-
/** @description
|
|
7688
|
-
|
|
7689
|
-
/** @description
|
|
7690
|
-
|
|
8816
|
+
/** @description An array containing verified phone numbers for the user */
|
|
8817
|
+
verified_phone: string[];
|
|
8818
|
+
/** @description An array containing verified email address for the user. */
|
|
8819
|
+
verified_email: string[];
|
|
7691
8820
|
};
|
|
7692
8821
|
};
|
|
7693
8822
|
};
|
|
7694
8823
|
};
|
|
7695
8824
|
400: components["responses"]["BadRequest"];
|
|
8825
|
+
401: components["responses"]["Unauthorized"];
|
|
7696
8826
|
404: components["responses"]["NotFound"];
|
|
7697
8827
|
};
|
|
7698
8828
|
};
|
|
7699
|
-
"
|
|
8829
|
+
"generate-hash": {
|
|
7700
8830
|
parameters: {
|
|
7701
8831
|
query?: never;
|
|
7702
8832
|
header?: never;
|
|
@@ -7706,12 +8836,15 @@ interface operations {
|
|
|
7706
8836
|
requestBody: {
|
|
7707
8837
|
content: {
|
|
7708
8838
|
"application/json": {
|
|
7709
|
-
/** @
|
|
7710
|
-
|
|
7711
|
-
/** @description
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
8839
|
+
/** @constant */
|
|
8840
|
+
payment_gateway: "payu";
|
|
8841
|
+
/** @description Format:
|
|
8842
|
+
* For UPI id validation,
|
|
8843
|
+
* command|{upi id}
|
|
8844
|
+
*
|
|
8845
|
+
* For saving, retrieving cards,
|
|
8846
|
+
* command|{user id} */
|
|
8847
|
+
plain_text: string;
|
|
7715
8848
|
};
|
|
7716
8849
|
};
|
|
7717
8850
|
};
|
|
@@ -7723,44 +8856,62 @@ interface operations {
|
|
|
7723
8856
|
};
|
|
7724
8857
|
content: {
|
|
7725
8858
|
"application/json": {
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
/** @description An object containing the response content. */
|
|
7731
|
-
content: {
|
|
7732
|
-
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
7733
|
-
access_token: string;
|
|
7734
|
-
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
7735
|
-
refresh_token: string;
|
|
8859
|
+
message?: string;
|
|
8860
|
+
success?: boolean;
|
|
8861
|
+
content?: {
|
|
8862
|
+
hash?: string;
|
|
7736
8863
|
};
|
|
7737
8864
|
};
|
|
7738
8865
|
};
|
|
7739
8866
|
};
|
|
7740
8867
|
400: components["responses"]["BadRequest"];
|
|
7741
8868
|
401: components["responses"]["Unauthorized"];
|
|
8869
|
+
404: components["responses"]["NotFound"];
|
|
7742
8870
|
};
|
|
7743
8871
|
};
|
|
7744
|
-
"
|
|
8872
|
+
"list-payment-methods": {
|
|
7745
8873
|
parameters: {
|
|
7746
|
-
query
|
|
8874
|
+
query: {
|
|
8875
|
+
/** @description payment gateway code */
|
|
8876
|
+
payment_gateway: "PAYU" | "JUSPAY";
|
|
8877
|
+
};
|
|
7747
8878
|
header?: never;
|
|
7748
8879
|
path?: never;
|
|
7749
8880
|
cookie?: never;
|
|
7750
8881
|
};
|
|
7751
|
-
requestBody
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
8882
|
+
requestBody?: never;
|
|
8883
|
+
responses: {
|
|
8884
|
+
/** @description OK */
|
|
8885
|
+
200: {
|
|
8886
|
+
headers: {
|
|
8887
|
+
[name: string]: unknown;
|
|
8888
|
+
};
|
|
8889
|
+
content: {
|
|
8890
|
+
"application/json": {
|
|
8891
|
+
message?: string;
|
|
8892
|
+
success?: boolean;
|
|
8893
|
+
content?: {
|
|
8894
|
+
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"])[];
|
|
8895
|
+
};
|
|
8896
|
+
};
|
|
7761
8897
|
};
|
|
7762
8898
|
};
|
|
8899
|
+
400: components["responses"]["BadRequest"];
|
|
8900
|
+
401: components["responses"]["Unauthorized"];
|
|
8901
|
+
404: components["responses"]["NotFound"];
|
|
8902
|
+
};
|
|
8903
|
+
};
|
|
8904
|
+
"list-saved-cards": {
|
|
8905
|
+
parameters: {
|
|
8906
|
+
query: {
|
|
8907
|
+
/** @description payment gateway code */
|
|
8908
|
+
payment_gateway: "PAYU" | "JUSPAY";
|
|
8909
|
+
};
|
|
8910
|
+
header?: never;
|
|
8911
|
+
path?: never;
|
|
8912
|
+
cookie?: never;
|
|
7763
8913
|
};
|
|
8914
|
+
requestBody?: never;
|
|
7764
8915
|
responses: {
|
|
7765
8916
|
/** @description OK */
|
|
7766
8917
|
200: {
|
|
@@ -7769,14 +8920,10 @@ interface operations {
|
|
|
7769
8920
|
};
|
|
7770
8921
|
content: {
|
|
7771
8922
|
"application/json": {
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
/** @description An object containing the response content. */
|
|
7777
|
-
content: {
|
|
7778
|
-
/** @description A string representing the OTP token which facilitas the resetting of user’s account password. */
|
|
7779
|
-
otp_token: string;
|
|
8923
|
+
message?: string;
|
|
8924
|
+
success?: boolean;
|
|
8925
|
+
content?: {
|
|
8926
|
+
data?: (components["schemas"]["PayuSavedCard"] | components["schemas"]["JuspaySavedCard"])[];
|
|
7780
8927
|
};
|
|
7781
8928
|
};
|
|
7782
8929
|
};
|
|
@@ -7786,7 +8933,7 @@ interface operations {
|
|
|
7786
8933
|
404: components["responses"]["NotFound"];
|
|
7787
8934
|
};
|
|
7788
8935
|
};
|
|
7789
|
-
"
|
|
8936
|
+
"add-card": {
|
|
7790
8937
|
parameters: {
|
|
7791
8938
|
query?: never;
|
|
7792
8939
|
header?: never;
|
|
@@ -7796,12 +8943,7 @@ interface operations {
|
|
|
7796
8943
|
requestBody: {
|
|
7797
8944
|
content: {
|
|
7798
8945
|
"application/json": {
|
|
7799
|
-
|
|
7800
|
-
new_password: string;
|
|
7801
|
-
/** @description A confirmation of the new password. */
|
|
7802
|
-
confirm_password: string;
|
|
7803
|
-
/** @description A string representing the OTP token which facilitas the resetting of user’s account password. */
|
|
7804
|
-
otp_token: string;
|
|
8946
|
+
"card-details": components["schemas"]["PayuCardPayload"] | components["schemas"]["JuspayCardPayload"];
|
|
7805
8947
|
};
|
|
7806
8948
|
};
|
|
7807
8949
|
};
|
|
@@ -7813,31 +8955,31 @@ interface operations {
|
|
|
7813
8955
|
};
|
|
7814
8956
|
content: {
|
|
7815
8957
|
"application/json": {
|
|
7816
|
-
/** @description A descriptive message confirming the success or failure of the reset password operation. */
|
|
7817
8958
|
message: string;
|
|
7818
|
-
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7819
8959
|
success: boolean;
|
|
7820
|
-
/** @description An object containing the response content. */
|
|
7821
8960
|
content: {
|
|
7822
|
-
/** @
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
refresh_token: string;
|
|
8961
|
+
/** @enum {string} */
|
|
8962
|
+
readonly payment_gateway: "juspay" | "payu";
|
|
8963
|
+
"card-details": components["schemas"]["PayuCreateCardResponse"] | components["schemas"]["JuspayCreateCardResponse"];
|
|
7826
8964
|
};
|
|
7827
8965
|
};
|
|
7828
8966
|
};
|
|
7829
8967
|
};
|
|
7830
8968
|
400: components["responses"]["BadRequest"];
|
|
8969
|
+
401: components["responses"]["Unauthorized"];
|
|
8970
|
+
404: components["responses"]["NotFound"];
|
|
7831
8971
|
};
|
|
7832
8972
|
};
|
|
7833
|
-
"
|
|
8973
|
+
"verify-vpa": {
|
|
7834
8974
|
parameters: {
|
|
7835
|
-
query
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
/** @description
|
|
7839
|
-
|
|
8975
|
+
query: {
|
|
8976
|
+
/** @description payment gateway code */
|
|
8977
|
+
payment_gateway: "PAYU" | "JUSPAY";
|
|
8978
|
+
/** @description The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service. */
|
|
8979
|
+
vpa?: string;
|
|
7840
8980
|
};
|
|
8981
|
+
header?: never;
|
|
8982
|
+
path?: never;
|
|
7841
8983
|
cookie?: never;
|
|
7842
8984
|
};
|
|
7843
8985
|
requestBody?: never;
|
|
@@ -7849,14 +8991,11 @@ interface operations {
|
|
|
7849
8991
|
};
|
|
7850
8992
|
content: {
|
|
7851
8993
|
"application/json": {
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
content: {
|
|
7858
|
-
/** @description An object containing the user's notification preferences. */
|
|
7859
|
-
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
8994
|
+
message?: string;
|
|
8995
|
+
success?: boolean;
|
|
8996
|
+
content?: {
|
|
8997
|
+
vpa?: string;
|
|
8998
|
+
status?: string;
|
|
7860
8999
|
};
|
|
7861
9000
|
};
|
|
7862
9001
|
};
|
|
@@ -7866,22 +9005,16 @@ interface operations {
|
|
|
7866
9005
|
404: components["responses"]["NotFound"];
|
|
7867
9006
|
};
|
|
7868
9007
|
};
|
|
7869
|
-
"
|
|
9008
|
+
"create-juspay-order": {
|
|
7870
9009
|
parameters: {
|
|
7871
9010
|
query?: never;
|
|
7872
9011
|
header?: never;
|
|
7873
|
-
path
|
|
7874
|
-
/** @description user id */
|
|
7875
|
-
id: string;
|
|
7876
|
-
};
|
|
9012
|
+
path?: never;
|
|
7877
9013
|
cookie?: never;
|
|
7878
9014
|
};
|
|
7879
9015
|
requestBody: {
|
|
7880
9016
|
content: {
|
|
7881
|
-
"application/json":
|
|
7882
|
-
/** @description An object containing the user's notification preferences. */
|
|
7883
|
-
notification_preferences?: components["schemas"]["NotificationPreferences"];
|
|
7884
|
-
};
|
|
9017
|
+
"application/json": components["schemas"]["JuspayCreateOrderPayload"];
|
|
7885
9018
|
};
|
|
7886
9019
|
};
|
|
7887
9020
|
responses: {
|
|
@@ -7892,14 +9025,10 @@ interface operations {
|
|
|
7892
9025
|
};
|
|
7893
9026
|
content: {
|
|
7894
9027
|
"application/json": {
|
|
7895
|
-
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7896
9028
|
message: string;
|
|
7897
|
-
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7898
9029
|
success: boolean;
|
|
7899
|
-
/** @description An object containing the response content. */
|
|
7900
9030
|
content: {
|
|
7901
|
-
|
|
7902
|
-
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
9031
|
+
data?: components["schemas"]["JuspayOrder"];
|
|
7903
9032
|
};
|
|
7904
9033
|
};
|
|
7905
9034
|
};
|
|
@@ -7909,22 +9038,16 @@ interface operations {
|
|
|
7909
9038
|
404: components["responses"]["NotFound"];
|
|
7910
9039
|
};
|
|
7911
9040
|
};
|
|
7912
|
-
"create-
|
|
9041
|
+
"create-juspay-customer": {
|
|
7913
9042
|
parameters: {
|
|
7914
9043
|
query?: never;
|
|
7915
9044
|
header?: never;
|
|
7916
|
-
path
|
|
7917
|
-
/** @description user id */
|
|
7918
|
-
id: string;
|
|
7919
|
-
};
|
|
9045
|
+
path?: never;
|
|
7920
9046
|
cookie?: never;
|
|
7921
9047
|
};
|
|
7922
9048
|
requestBody: {
|
|
7923
9049
|
content: {
|
|
7924
|
-
"application/json":
|
|
7925
|
-
/** @description An object containing the user's notification preferences. */
|
|
7926
|
-
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
7927
|
-
};
|
|
9050
|
+
"application/json": components["schemas"]["JuspayCreateCustomerPayload"];
|
|
7928
9051
|
};
|
|
7929
9052
|
};
|
|
7930
9053
|
responses: {
|
|
@@ -7935,14 +9058,10 @@ interface operations {
|
|
|
7935
9058
|
};
|
|
7936
9059
|
content: {
|
|
7937
9060
|
"application/json": {
|
|
7938
|
-
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7939
9061
|
message: string;
|
|
7940
|
-
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7941
9062
|
success: boolean;
|
|
7942
|
-
/** @description An object containing the response content. */
|
|
7943
9063
|
content: {
|
|
7944
|
-
|
|
7945
|
-
notification_preferences: components["schemas"]["NotificationPreferences"];
|
|
9064
|
+
data?: components["schemas"]["JuspayCustomer"];
|
|
7946
9065
|
};
|
|
7947
9066
|
};
|
|
7948
9067
|
};
|
|
@@ -7952,18 +9071,17 @@ interface operations {
|
|
|
7952
9071
|
404: components["responses"]["NotFound"];
|
|
7953
9072
|
};
|
|
7954
9073
|
};
|
|
7955
|
-
"
|
|
9074
|
+
"get-juspay-customer": {
|
|
7956
9075
|
parameters: {
|
|
7957
9076
|
query?: never;
|
|
7958
9077
|
header?: never;
|
|
7959
|
-
path
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
requestBody: {
|
|
7963
|
-
content: {
|
|
7964
|
-
"application/json": components["schemas"]["GenerateOtpWithPhone"] | components["schemas"]["GenerateOtpWithEmail"];
|
|
9078
|
+
path: {
|
|
9079
|
+
/** @description Commercengine User Id */
|
|
9080
|
+
"user-id": string;
|
|
7965
9081
|
};
|
|
9082
|
+
cookie?: never;
|
|
7966
9083
|
};
|
|
9084
|
+
requestBody?: never;
|
|
7967
9085
|
responses: {
|
|
7968
9086
|
/** @description OK */
|
|
7969
9087
|
200: {
|
|
@@ -7972,25 +9090,20 @@ interface operations {
|
|
|
7972
9090
|
};
|
|
7973
9091
|
content: {
|
|
7974
9092
|
"application/json": {
|
|
7975
|
-
/** @description A descriptive message confirming the success or failure of the operation. */
|
|
7976
9093
|
message: string;
|
|
7977
|
-
/** @description Indicates whether the request was successful or failure (true for success, false for failure). */
|
|
7978
9094
|
success: boolean;
|
|
7979
|
-
/** @description An object containing the response content. */
|
|
7980
9095
|
content: {
|
|
7981
|
-
|
|
7982
|
-
otp_token: string;
|
|
7983
|
-
/** @description This is used for verifying OTP or using subsequent APIs call. */
|
|
7984
|
-
otp_action: string;
|
|
9096
|
+
data?: components["schemas"]["JuspayCustomer"];
|
|
7985
9097
|
};
|
|
7986
9098
|
};
|
|
7987
9099
|
};
|
|
7988
9100
|
};
|
|
7989
9101
|
400: components["responses"]["BadRequest"];
|
|
7990
9102
|
401: components["responses"]["Unauthorized"];
|
|
9103
|
+
404: components["responses"]["NotFound"];
|
|
7991
9104
|
};
|
|
7992
9105
|
};
|
|
7993
|
-
|
|
9106
|
+
"list-countries": {
|
|
7994
9107
|
parameters: {
|
|
7995
9108
|
query?: never;
|
|
7996
9109
|
header?: never;
|
|
@@ -8006,18 +9119,10 @@ interface operations {
|
|
|
8006
9119
|
};
|
|
8007
9120
|
content: {
|
|
8008
9121
|
"application/json": {
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
/** @description An object containing the response content. */
|
|
8014
|
-
content: {
|
|
8015
|
-
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
8016
|
-
access_token: string;
|
|
8017
|
-
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
8018
|
-
refresh_token: string;
|
|
8019
|
-
/** @description An object representing user details. */
|
|
8020
|
-
user: components["schemas"]["User"];
|
|
9122
|
+
message?: string;
|
|
9123
|
+
success?: boolean;
|
|
9124
|
+
content?: {
|
|
9125
|
+
countries?: components["schemas"]["Country"][];
|
|
8021
9126
|
};
|
|
8022
9127
|
};
|
|
8023
9128
|
};
|
|
@@ -8027,13 +9132,13 @@ interface operations {
|
|
|
8027
9132
|
404: components["responses"]["NotFound"];
|
|
8028
9133
|
};
|
|
8029
9134
|
};
|
|
8030
|
-
"list-
|
|
9135
|
+
"list-country-states": {
|
|
8031
9136
|
parameters: {
|
|
8032
9137
|
query?: never;
|
|
8033
9138
|
header?: never;
|
|
8034
9139
|
path: {
|
|
8035
|
-
/** @description
|
|
8036
|
-
|
|
9140
|
+
/** @description country iso code in 2 chars. ex. IN for India */
|
|
9141
|
+
country_iso_code: string;
|
|
8037
9142
|
};
|
|
8038
9143
|
cookie?: never;
|
|
8039
9144
|
};
|
|
@@ -8049,8 +9154,7 @@ interface operations {
|
|
|
8049
9154
|
message?: string;
|
|
8050
9155
|
success?: boolean;
|
|
8051
9156
|
content?: {
|
|
8052
|
-
|
|
8053
|
-
ready_for_review?: components["schemas"]["CustomerReadyForReview"][];
|
|
9157
|
+
states?: components["schemas"]["CountryState"][];
|
|
8054
9158
|
};
|
|
8055
9159
|
};
|
|
8056
9160
|
};
|
|
@@ -8060,23 +9164,24 @@ interface operations {
|
|
|
8060
9164
|
404: components["responses"]["NotFound"];
|
|
8061
9165
|
};
|
|
8062
9166
|
};
|
|
8063
|
-
"
|
|
9167
|
+
"list-country-pincodes": {
|
|
8064
9168
|
parameters: {
|
|
8065
|
-
query?:
|
|
9169
|
+
query?: {
|
|
9170
|
+
/** @description pincode. atleast 3 initial chars require to use this param */
|
|
9171
|
+
pincode?: string;
|
|
9172
|
+
/** @description no of rows per page */
|
|
9173
|
+
limit?: number;
|
|
9174
|
+
/** @description page number of pagination list */
|
|
9175
|
+
page?: number;
|
|
9176
|
+
};
|
|
8066
9177
|
header?: never;
|
|
8067
|
-
path
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
requestBody: {
|
|
8071
|
-
content: {
|
|
8072
|
-
"application/json": {
|
|
8073
|
-
/** @description A string representing the phone number. */
|
|
8074
|
-
phone?: string[];
|
|
8075
|
-
/** @description A string representing the email address. */
|
|
8076
|
-
email?: string[];
|
|
8077
|
-
};
|
|
9178
|
+
path: {
|
|
9179
|
+
/** @description Country iso code with 2 chars. ex. IN for india */
|
|
9180
|
+
country_iso_code: string;
|
|
8078
9181
|
};
|
|
9182
|
+
cookie?: never;
|
|
8079
9183
|
};
|
|
9184
|
+
requestBody?: never;
|
|
8080
9185
|
responses: {
|
|
8081
9186
|
/** @description OK */
|
|
8082
9187
|
200: {
|
|
@@ -8085,16 +9190,10 @@ interface operations {
|
|
|
8085
9190
|
};
|
|
8086
9191
|
content: {
|
|
8087
9192
|
"application/json": {
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
/** @description An object containing the response content. */
|
|
8093
|
-
content: {
|
|
8094
|
-
/** @description An array containing verified phone numbers for the user */
|
|
8095
|
-
verified_phone: string[];
|
|
8096
|
-
/** @description An array containing verified email address for the user. */
|
|
8097
|
-
verified_email: string[];
|
|
9193
|
+
message?: string;
|
|
9194
|
+
success?: boolean;
|
|
9195
|
+
content?: {
|
|
9196
|
+
pincodes?: components["schemas"]["Pincode"][];
|
|
8098
9197
|
};
|
|
8099
9198
|
};
|
|
8100
9199
|
};
|
|
@@ -8104,28 +9203,14 @@ interface operations {
|
|
|
8104
9203
|
404: components["responses"]["NotFound"];
|
|
8105
9204
|
};
|
|
8106
9205
|
};
|
|
8107
|
-
"
|
|
9206
|
+
"list-returns": {
|
|
8108
9207
|
parameters: {
|
|
8109
9208
|
query?: never;
|
|
8110
9209
|
header?: never;
|
|
8111
9210
|
path?: never;
|
|
8112
9211
|
cookie?: never;
|
|
8113
9212
|
};
|
|
8114
|
-
requestBody
|
|
8115
|
-
content: {
|
|
8116
|
-
"application/json": {
|
|
8117
|
-
/** @constant */
|
|
8118
|
-
payment_gateway: "payu";
|
|
8119
|
-
/** @description Format:
|
|
8120
|
-
* For UPI id validation,
|
|
8121
|
-
* command|{upi id}
|
|
8122
|
-
*
|
|
8123
|
-
* For saving, retrieving cards,
|
|
8124
|
-
* command|{user id} */
|
|
8125
|
-
plain_text: string;
|
|
8126
|
-
};
|
|
8127
|
-
};
|
|
8128
|
-
};
|
|
9213
|
+
requestBody?: never;
|
|
8129
9214
|
responses: {
|
|
8130
9215
|
/** @description OK */
|
|
8131
9216
|
200: {
|
|
@@ -8137,7 +9222,7 @@ interface operations {
|
|
|
8137
9222
|
message?: string;
|
|
8138
9223
|
success?: boolean;
|
|
8139
9224
|
content?: {
|
|
8140
|
-
|
|
9225
|
+
returns?: components["schemas"]["OrderReturn"][];
|
|
8141
9226
|
};
|
|
8142
9227
|
};
|
|
8143
9228
|
};
|
|
@@ -8147,17 +9232,18 @@ interface operations {
|
|
|
8147
9232
|
404: components["responses"]["NotFound"];
|
|
8148
9233
|
};
|
|
8149
9234
|
};
|
|
8150
|
-
"
|
|
9235
|
+
"track-analytics-event": {
|
|
8151
9236
|
parameters: {
|
|
8152
|
-
query
|
|
8153
|
-
/** @description payment gateway code */
|
|
8154
|
-
payment_gateway: "PAYU" | "JUSPAY";
|
|
8155
|
-
};
|
|
9237
|
+
query?: never;
|
|
8156
9238
|
header?: never;
|
|
8157
9239
|
path?: never;
|
|
8158
9240
|
cookie?: never;
|
|
8159
9241
|
};
|
|
8160
|
-
requestBody
|
|
9242
|
+
requestBody: {
|
|
9243
|
+
content: {
|
|
9244
|
+
"application/json": components["schemas"]["AnalyticsEvent"];
|
|
9245
|
+
};
|
|
9246
|
+
};
|
|
8161
9247
|
responses: {
|
|
8162
9248
|
/** @description OK */
|
|
8163
9249
|
200: {
|
|
@@ -8168,28 +9254,27 @@ interface operations {
|
|
|
8168
9254
|
"application/json": {
|
|
8169
9255
|
message?: string;
|
|
8170
9256
|
success?: boolean;
|
|
8171
|
-
content?: {
|
|
8172
|
-
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"])[];
|
|
8173
|
-
};
|
|
8174
9257
|
};
|
|
8175
9258
|
};
|
|
8176
9259
|
};
|
|
8177
9260
|
400: components["responses"]["BadRequest"];
|
|
8178
9261
|
401: components["responses"]["Unauthorized"];
|
|
8179
|
-
404: components["responses"]["NotFound"];
|
|
8180
9262
|
};
|
|
8181
9263
|
};
|
|
8182
|
-
"
|
|
9264
|
+
"subscribe-newsletter": {
|
|
8183
9265
|
parameters: {
|
|
8184
|
-
query
|
|
8185
|
-
/** @description payment gateway code */
|
|
8186
|
-
payment_gateway: "PAYU" | "JUSPAY";
|
|
8187
|
-
};
|
|
9266
|
+
query?: never;
|
|
8188
9267
|
header?: never;
|
|
8189
9268
|
path?: never;
|
|
8190
9269
|
cookie?: never;
|
|
8191
9270
|
};
|
|
8192
|
-
requestBody
|
|
9271
|
+
requestBody: {
|
|
9272
|
+
content: {
|
|
9273
|
+
"application/json": {
|
|
9274
|
+
email: string;
|
|
9275
|
+
};
|
|
9276
|
+
};
|
|
9277
|
+
};
|
|
8193
9278
|
responses: {
|
|
8194
9279
|
/** @description OK */
|
|
8195
9280
|
200: {
|
|
@@ -8200,31 +9285,21 @@ interface operations {
|
|
|
8200
9285
|
"application/json": {
|
|
8201
9286
|
message?: string;
|
|
8202
9287
|
success?: boolean;
|
|
8203
|
-
content?: {
|
|
8204
|
-
data?: (components["schemas"]["PayuSavedCard"] | components["schemas"]["JuspaySavedCard"])[];
|
|
8205
|
-
};
|
|
8206
9288
|
};
|
|
8207
9289
|
};
|
|
8208
9290
|
};
|
|
8209
9291
|
400: components["responses"]["BadRequest"];
|
|
8210
9292
|
401: components["responses"]["Unauthorized"];
|
|
8211
|
-
404: components["responses"]["NotFound"];
|
|
8212
9293
|
};
|
|
8213
9294
|
};
|
|
8214
|
-
"
|
|
9295
|
+
"list-subscriptions": {
|
|
8215
9296
|
parameters: {
|
|
8216
9297
|
query?: never;
|
|
8217
9298
|
header?: never;
|
|
8218
9299
|
path?: never;
|
|
8219
9300
|
cookie?: never;
|
|
8220
9301
|
};
|
|
8221
|
-
requestBody
|
|
8222
|
-
content: {
|
|
8223
|
-
"application/json": {
|
|
8224
|
-
"card-details": components["schemas"]["PayuCardPayload"] | components["schemas"]["JuspayCardPayload"];
|
|
8225
|
-
};
|
|
8226
|
-
};
|
|
8227
|
-
};
|
|
9302
|
+
requestBody?: never;
|
|
8228
9303
|
responses: {
|
|
8229
9304
|
/** @description OK */
|
|
8230
9305
|
200: {
|
|
@@ -8236,9 +9311,8 @@ interface operations {
|
|
|
8236
9311
|
message: string;
|
|
8237
9312
|
success: boolean;
|
|
8238
9313
|
content: {
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
"card-details": components["schemas"]["PayuCreateCardResponse"] | components["schemas"]["JuspayCreateCardResponse"];
|
|
9314
|
+
subscriptions: components["schemas"]["Subscription"][];
|
|
9315
|
+
pagination: components["schemas"]["Pagination"];
|
|
8242
9316
|
};
|
|
8243
9317
|
};
|
|
8244
9318
|
};
|
|
@@ -8248,19 +9322,18 @@ interface operations {
|
|
|
8248
9322
|
404: components["responses"]["NotFound"];
|
|
8249
9323
|
};
|
|
8250
9324
|
};
|
|
8251
|
-
"
|
|
9325
|
+
"create-subscription": {
|
|
8252
9326
|
parameters: {
|
|
8253
|
-
query
|
|
8254
|
-
/** @description payment gateway code */
|
|
8255
|
-
payment_gateway: "PAYU" | "JUSPAY";
|
|
8256
|
-
/** @description The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service. */
|
|
8257
|
-
vpa?: string;
|
|
8258
|
-
};
|
|
9327
|
+
query?: never;
|
|
8259
9328
|
header?: never;
|
|
8260
9329
|
path?: never;
|
|
8261
9330
|
cookie?: never;
|
|
8262
9331
|
};
|
|
8263
|
-
requestBody
|
|
9332
|
+
requestBody: {
|
|
9333
|
+
content: {
|
|
9334
|
+
"application/json": components["schemas"]["CreateSubscription"];
|
|
9335
|
+
};
|
|
9336
|
+
};
|
|
8264
9337
|
responses: {
|
|
8265
9338
|
/** @description OK */
|
|
8266
9339
|
200: {
|
|
@@ -8269,32 +9342,29 @@ interface operations {
|
|
|
8269
9342
|
};
|
|
8270
9343
|
content: {
|
|
8271
9344
|
"application/json": {
|
|
8272
|
-
message
|
|
8273
|
-
success
|
|
8274
|
-
content
|
|
8275
|
-
|
|
8276
|
-
status?: string;
|
|
9345
|
+
message: string;
|
|
9346
|
+
success: boolean;
|
|
9347
|
+
content: {
|
|
9348
|
+
subscription: components["schemas"]["SubscriptionDetail"];
|
|
8277
9349
|
};
|
|
8278
9350
|
};
|
|
8279
9351
|
};
|
|
8280
9352
|
};
|
|
8281
9353
|
400: components["responses"]["BadRequest"];
|
|
8282
9354
|
401: components["responses"]["Unauthorized"];
|
|
8283
|
-
404: components["responses"]["NotFound"];
|
|
8284
9355
|
};
|
|
8285
9356
|
};
|
|
8286
|
-
"
|
|
9357
|
+
"get-subscription": {
|
|
8287
9358
|
parameters: {
|
|
8288
9359
|
query?: never;
|
|
8289
9360
|
header?: never;
|
|
8290
|
-
path
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
requestBody: {
|
|
8294
|
-
content: {
|
|
8295
|
-
"application/json": components["schemas"]["JuspayCreateOrderPayload"];
|
|
9361
|
+
path: {
|
|
9362
|
+
/** @description subscription id */
|
|
9363
|
+
id: string;
|
|
8296
9364
|
};
|
|
9365
|
+
cookie?: never;
|
|
8297
9366
|
};
|
|
9367
|
+
requestBody?: never;
|
|
8298
9368
|
responses: {
|
|
8299
9369
|
/** @description OK */
|
|
8300
9370
|
200: {
|
|
@@ -8306,7 +9376,7 @@ interface operations {
|
|
|
8306
9376
|
message: string;
|
|
8307
9377
|
success: boolean;
|
|
8308
9378
|
content: {
|
|
8309
|
-
|
|
9379
|
+
subscription: components["schemas"]["SubscriptionDetail"];
|
|
8310
9380
|
};
|
|
8311
9381
|
};
|
|
8312
9382
|
};
|
|
@@ -8316,16 +9386,19 @@ interface operations {
|
|
|
8316
9386
|
404: components["responses"]["NotFound"];
|
|
8317
9387
|
};
|
|
8318
9388
|
};
|
|
8319
|
-
"
|
|
9389
|
+
"update-subscription": {
|
|
8320
9390
|
parameters: {
|
|
8321
9391
|
query?: never;
|
|
8322
9392
|
header?: never;
|
|
8323
|
-
path
|
|
9393
|
+
path: {
|
|
9394
|
+
/** @description subscription id */
|
|
9395
|
+
id: string;
|
|
9396
|
+
};
|
|
8324
9397
|
cookie?: never;
|
|
8325
9398
|
};
|
|
8326
9399
|
requestBody: {
|
|
8327
9400
|
content: {
|
|
8328
|
-
"application/json": components["schemas"]["
|
|
9401
|
+
"application/json": components["schemas"]["UpdatePhysicalProductSubscription"] | components["schemas"]["UpdateDigitalProductSubscription"] | components["schemas"]["PauseSubscription"] | components["schemas"]["RevokeSubscription"];
|
|
8329
9402
|
};
|
|
8330
9403
|
};
|
|
8331
9404
|
responses: {
|
|
@@ -8339,7 +9412,7 @@ interface operations {
|
|
|
8339
9412
|
message: string;
|
|
8340
9413
|
success: boolean;
|
|
8341
9414
|
content: {
|
|
8342
|
-
|
|
9415
|
+
subscription: components["schemas"]["SubscriptionDetail"];
|
|
8343
9416
|
};
|
|
8344
9417
|
};
|
|
8345
9418
|
};
|
|
@@ -8349,17 +9422,20 @@ interface operations {
|
|
|
8349
9422
|
404: components["responses"]["NotFound"];
|
|
8350
9423
|
};
|
|
8351
9424
|
};
|
|
8352
|
-
"
|
|
9425
|
+
"pair-pos-device": {
|
|
8353
9426
|
parameters: {
|
|
8354
9427
|
query?: never;
|
|
8355
9428
|
header?: never;
|
|
8356
|
-
path
|
|
8357
|
-
/** @description Commercengine User Id */
|
|
8358
|
-
"user-id": string;
|
|
8359
|
-
};
|
|
9429
|
+
path?: never;
|
|
8360
9430
|
cookie?: never;
|
|
8361
9431
|
};
|
|
8362
|
-
requestBody?:
|
|
9432
|
+
requestBody?: {
|
|
9433
|
+
content: {
|
|
9434
|
+
"application/json": {
|
|
9435
|
+
pairing_code: string;
|
|
9436
|
+
};
|
|
9437
|
+
};
|
|
9438
|
+
};
|
|
8363
9439
|
responses: {
|
|
8364
9440
|
/** @description OK */
|
|
8365
9441
|
200: {
|
|
@@ -8368,27 +9444,37 @@ interface operations {
|
|
|
8368
9444
|
};
|
|
8369
9445
|
content: {
|
|
8370
9446
|
"application/json": {
|
|
8371
|
-
message
|
|
8372
|
-
success
|
|
8373
|
-
content
|
|
8374
|
-
|
|
9447
|
+
message?: string;
|
|
9448
|
+
success?: string;
|
|
9449
|
+
content?: {
|
|
9450
|
+
device?: components["schemas"]["PosDevice"];
|
|
8375
9451
|
};
|
|
8376
9452
|
};
|
|
8377
9453
|
};
|
|
8378
9454
|
};
|
|
8379
|
-
400: components["responses"]["BadRequest"];
|
|
8380
|
-
401: components["responses"]["Unauthorized"];
|
|
8381
|
-
404: components["responses"]["NotFound"];
|
|
8382
9455
|
};
|
|
8383
9456
|
};
|
|
8384
|
-
"
|
|
9457
|
+
"login-pos-device-with-phone": {
|
|
8385
9458
|
parameters: {
|
|
8386
9459
|
query?: never;
|
|
8387
9460
|
header?: never;
|
|
8388
9461
|
path?: never;
|
|
8389
9462
|
cookie?: never;
|
|
8390
9463
|
};
|
|
8391
|
-
requestBody?:
|
|
9464
|
+
requestBody?: {
|
|
9465
|
+
content: {
|
|
9466
|
+
"application/json": {
|
|
9467
|
+
device_id: string;
|
|
9468
|
+
/** @description 10 digit phone number without country code. */
|
|
9469
|
+
phone: string;
|
|
9470
|
+
/**
|
|
9471
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
9472
|
+
* @default +91
|
|
9473
|
+
*/
|
|
9474
|
+
country_code?: string;
|
|
9475
|
+
};
|
|
9476
|
+
};
|
|
9477
|
+
};
|
|
8392
9478
|
responses: {
|
|
8393
9479
|
/** @description OK */
|
|
8394
9480
|
200: {
|
|
@@ -8397,30 +9483,39 @@ interface operations {
|
|
|
8397
9483
|
};
|
|
8398
9484
|
content: {
|
|
8399
9485
|
"application/json": {
|
|
8400
|
-
message
|
|
8401
|
-
success
|
|
8402
|
-
content
|
|
8403
|
-
|
|
9486
|
+
message: string;
|
|
9487
|
+
success: string;
|
|
9488
|
+
content: {
|
|
9489
|
+
otp_token: string;
|
|
9490
|
+
/** @enum {unknown} */
|
|
9491
|
+
otp_action: "login";
|
|
8404
9492
|
};
|
|
8405
9493
|
};
|
|
8406
9494
|
};
|
|
8407
9495
|
};
|
|
8408
|
-
400: components["responses"]["BadRequest"];
|
|
8409
|
-
401: components["responses"]["Unauthorized"];
|
|
8410
|
-
404: components["responses"]["NotFound"];
|
|
8411
9496
|
};
|
|
8412
9497
|
};
|
|
8413
|
-
"
|
|
9498
|
+
"login-pos-device-with-whatsapp": {
|
|
8414
9499
|
parameters: {
|
|
8415
9500
|
query?: never;
|
|
8416
9501
|
header?: never;
|
|
8417
|
-
path
|
|
8418
|
-
/** @description country iso code in 2 chars. ex. IN for India */
|
|
8419
|
-
country_iso_code: string;
|
|
8420
|
-
};
|
|
9502
|
+
path?: never;
|
|
8421
9503
|
cookie?: never;
|
|
8422
9504
|
};
|
|
8423
|
-
requestBody?:
|
|
9505
|
+
requestBody?: {
|
|
9506
|
+
content: {
|
|
9507
|
+
"application/json": {
|
|
9508
|
+
device_id: string;
|
|
9509
|
+
/** @description 10 digit phone number without country code linked with WhatsApp. */
|
|
9510
|
+
phone: string;
|
|
9511
|
+
/**
|
|
9512
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
9513
|
+
* @default +91
|
|
9514
|
+
*/
|
|
9515
|
+
country_code?: string;
|
|
9516
|
+
};
|
|
9517
|
+
};
|
|
9518
|
+
};
|
|
8424
9519
|
responses: {
|
|
8425
9520
|
/** @description OK */
|
|
8426
9521
|
200: {
|
|
@@ -8429,37 +9524,33 @@ interface operations {
|
|
|
8429
9524
|
};
|
|
8430
9525
|
content: {
|
|
8431
9526
|
"application/json": {
|
|
8432
|
-
message
|
|
8433
|
-
success
|
|
8434
|
-
content
|
|
8435
|
-
|
|
9527
|
+
message: string;
|
|
9528
|
+
success: string;
|
|
9529
|
+
content: {
|
|
9530
|
+
otp_token: string;
|
|
9531
|
+
/** @enum {unknown} */
|
|
9532
|
+
otp_action: "login";
|
|
8436
9533
|
};
|
|
8437
9534
|
};
|
|
8438
9535
|
};
|
|
8439
9536
|
};
|
|
8440
|
-
400: components["responses"]["BadRequest"];
|
|
8441
|
-
401: components["responses"]["Unauthorized"];
|
|
8442
|
-
404: components["responses"]["NotFound"];
|
|
8443
9537
|
};
|
|
8444
9538
|
};
|
|
8445
|
-
"
|
|
9539
|
+
"login-pos-device-with-email": {
|
|
8446
9540
|
parameters: {
|
|
8447
|
-
query?:
|
|
8448
|
-
/** @description pincode. atleast 3 initial chars require to use this param */
|
|
8449
|
-
pincode?: string;
|
|
8450
|
-
/** @description no of rows per page */
|
|
8451
|
-
limit?: number;
|
|
8452
|
-
/** @description page number of pagination list */
|
|
8453
|
-
page?: number;
|
|
8454
|
-
};
|
|
9541
|
+
query?: never;
|
|
8455
9542
|
header?: never;
|
|
8456
|
-
path
|
|
8457
|
-
/** @description Country iso code with 2 chars. ex. IN for india */
|
|
8458
|
-
country_iso_code: string;
|
|
8459
|
-
};
|
|
9543
|
+
path?: never;
|
|
8460
9544
|
cookie?: never;
|
|
8461
9545
|
};
|
|
8462
|
-
requestBody?:
|
|
9546
|
+
requestBody?: {
|
|
9547
|
+
content: {
|
|
9548
|
+
"application/json": {
|
|
9549
|
+
device_id: string;
|
|
9550
|
+
email: string;
|
|
9551
|
+
};
|
|
9552
|
+
};
|
|
9553
|
+
};
|
|
8463
9554
|
responses: {
|
|
8464
9555
|
/** @description OK */
|
|
8465
9556
|
200: {
|
|
@@ -8468,27 +9559,40 @@ interface operations {
|
|
|
8468
9559
|
};
|
|
8469
9560
|
content: {
|
|
8470
9561
|
"application/json": {
|
|
8471
|
-
message
|
|
8472
|
-
success
|
|
8473
|
-
content
|
|
8474
|
-
|
|
9562
|
+
message: string;
|
|
9563
|
+
success: string;
|
|
9564
|
+
content: {
|
|
9565
|
+
otp_token: string;
|
|
9566
|
+
/** @enum {unknown} */
|
|
9567
|
+
otp_action: "login";
|
|
8475
9568
|
};
|
|
8476
9569
|
};
|
|
8477
9570
|
};
|
|
8478
9571
|
};
|
|
8479
|
-
400: components["responses"]["BadRequest"];
|
|
8480
|
-
401: components["responses"]["Unauthorized"];
|
|
8481
|
-
404: components["responses"]["NotFound"];
|
|
8482
9572
|
};
|
|
8483
9573
|
};
|
|
8484
|
-
"
|
|
9574
|
+
"verify-pos-login-otp": {
|
|
8485
9575
|
parameters: {
|
|
8486
9576
|
query?: never;
|
|
8487
9577
|
header?: never;
|
|
8488
9578
|
path?: never;
|
|
8489
9579
|
cookie?: never;
|
|
8490
9580
|
};
|
|
8491
|
-
requestBody?:
|
|
9581
|
+
requestBody?: {
|
|
9582
|
+
content: {
|
|
9583
|
+
"application/json": {
|
|
9584
|
+
/** @description A string representing the one-time password. */
|
|
9585
|
+
otp: string;
|
|
9586
|
+
/** @description A string representing the OTP token. */
|
|
9587
|
+
otp_token: string;
|
|
9588
|
+
/**
|
|
9589
|
+
* @description A string indicating the action to be performed.
|
|
9590
|
+
* @enum {unknown}
|
|
9591
|
+
*/
|
|
9592
|
+
otp_action: "login";
|
|
9593
|
+
};
|
|
9594
|
+
};
|
|
9595
|
+
};
|
|
8492
9596
|
responses: {
|
|
8493
9597
|
/** @description OK */
|
|
8494
9598
|
200: {
|
|
@@ -8497,29 +9601,30 @@ interface operations {
|
|
|
8497
9601
|
};
|
|
8498
9602
|
content: {
|
|
8499
9603
|
"application/json": {
|
|
8500
|
-
message
|
|
8501
|
-
success
|
|
8502
|
-
content
|
|
8503
|
-
|
|
9604
|
+
message: string;
|
|
9605
|
+
success: string;
|
|
9606
|
+
content: {
|
|
9607
|
+
user: components["schemas"]["PosUser"];
|
|
9608
|
+
access_token: string;
|
|
9609
|
+
refresh_token: string;
|
|
8504
9610
|
};
|
|
8505
9611
|
};
|
|
8506
9612
|
};
|
|
8507
9613
|
};
|
|
8508
|
-
400: components["responses"]["BadRequest"];
|
|
8509
|
-
401: components["responses"]["Unauthorized"];
|
|
8510
|
-
404: components["responses"]["NotFound"];
|
|
8511
9614
|
};
|
|
8512
9615
|
};
|
|
8513
|
-
"
|
|
9616
|
+
"refresh-pos-access-token": {
|
|
8514
9617
|
parameters: {
|
|
8515
9618
|
query?: never;
|
|
8516
9619
|
header?: never;
|
|
8517
9620
|
path?: never;
|
|
8518
9621
|
cookie?: never;
|
|
8519
9622
|
};
|
|
8520
|
-
requestBody
|
|
9623
|
+
requestBody?: {
|
|
8521
9624
|
content: {
|
|
8522
|
-
"application/json":
|
|
9625
|
+
"application/json": {
|
|
9626
|
+
refresh_token: string;
|
|
9627
|
+
};
|
|
8523
9628
|
};
|
|
8524
9629
|
};
|
|
8525
9630
|
responses: {
|
|
@@ -8531,25 +9636,27 @@ interface operations {
|
|
|
8531
9636
|
content: {
|
|
8532
9637
|
"application/json": {
|
|
8533
9638
|
message?: string;
|
|
8534
|
-
success?:
|
|
9639
|
+
success?: string;
|
|
9640
|
+
content?: {
|
|
9641
|
+
access_token?: string;
|
|
9642
|
+
refresh_token?: string;
|
|
9643
|
+
};
|
|
8535
9644
|
};
|
|
8536
9645
|
};
|
|
8537
9646
|
};
|
|
8538
|
-
400: components["responses"]["BadRequest"];
|
|
8539
|
-
401: components["responses"]["Unauthorized"];
|
|
8540
9647
|
};
|
|
8541
9648
|
};
|
|
8542
|
-
"
|
|
9649
|
+
"create-pos-cart": {
|
|
8543
9650
|
parameters: {
|
|
8544
9651
|
query?: never;
|
|
8545
9652
|
header?: never;
|
|
8546
9653
|
path?: never;
|
|
8547
9654
|
cookie?: never;
|
|
8548
9655
|
};
|
|
8549
|
-
requestBody
|
|
9656
|
+
requestBody?: {
|
|
8550
9657
|
content: {
|
|
8551
9658
|
"application/json": {
|
|
8552
|
-
|
|
9659
|
+
items?: components["schemas"]["UpdateCartItem"][];
|
|
8553
9660
|
};
|
|
8554
9661
|
};
|
|
8555
9662
|
};
|
|
@@ -8562,22 +9669,30 @@ interface operations {
|
|
|
8562
9669
|
content: {
|
|
8563
9670
|
"application/json": {
|
|
8564
9671
|
message?: string;
|
|
8565
|
-
success?:
|
|
9672
|
+
success?: string;
|
|
9673
|
+
content?: {
|
|
9674
|
+
cart?: components["schemas"]["Cart"];
|
|
9675
|
+
};
|
|
8566
9676
|
};
|
|
8567
9677
|
};
|
|
8568
9678
|
};
|
|
8569
|
-
400: components["responses"]["BadRequest"];
|
|
8570
|
-
401: components["responses"]["Unauthorized"];
|
|
8571
9679
|
};
|
|
8572
9680
|
};
|
|
8573
|
-
"
|
|
9681
|
+
"get-pos-cart": {
|
|
8574
9682
|
parameters: {
|
|
8575
9683
|
query?: never;
|
|
8576
9684
|
header?: never;
|
|
8577
|
-
path
|
|
9685
|
+
path: {
|
|
9686
|
+
/** @description cart id */
|
|
9687
|
+
id: string;
|
|
9688
|
+
};
|
|
8578
9689
|
cookie?: never;
|
|
8579
9690
|
};
|
|
8580
|
-
requestBody?:
|
|
9691
|
+
requestBody?: {
|
|
9692
|
+
content: {
|
|
9693
|
+
"*/*"?: never;
|
|
9694
|
+
};
|
|
9695
|
+
};
|
|
8581
9696
|
responses: {
|
|
8582
9697
|
/** @description OK */
|
|
8583
9698
|
200: {
|
|
@@ -8586,30 +9701,31 @@ interface operations {
|
|
|
8586
9701
|
};
|
|
8587
9702
|
content: {
|
|
8588
9703
|
"application/json": {
|
|
8589
|
-
message
|
|
8590
|
-
success
|
|
8591
|
-
content
|
|
8592
|
-
|
|
8593
|
-
pagination: components["schemas"]["Pagination"];
|
|
9704
|
+
message?: string;
|
|
9705
|
+
success?: string;
|
|
9706
|
+
content?: {
|
|
9707
|
+
cart?: components["schemas"]["Cart"];
|
|
8594
9708
|
};
|
|
8595
9709
|
};
|
|
8596
9710
|
};
|
|
8597
9711
|
};
|
|
8598
|
-
400: components["responses"]["BadRequest"];
|
|
8599
|
-
401: components["responses"]["Unauthorized"];
|
|
8600
|
-
404: components["responses"]["NotFound"];
|
|
8601
9712
|
};
|
|
8602
9713
|
};
|
|
8603
|
-
"
|
|
9714
|
+
"update-pos-cart": {
|
|
8604
9715
|
parameters: {
|
|
8605
9716
|
query?: never;
|
|
8606
9717
|
header?: never;
|
|
8607
|
-
path
|
|
9718
|
+
path: {
|
|
9719
|
+
/** @description cart id */
|
|
9720
|
+
id: string;
|
|
9721
|
+
};
|
|
8608
9722
|
cookie?: never;
|
|
8609
9723
|
};
|
|
8610
|
-
requestBody
|
|
9724
|
+
requestBody?: {
|
|
8611
9725
|
content: {
|
|
8612
|
-
"application/json":
|
|
9726
|
+
"application/json": {
|
|
9727
|
+
items?: components["schemas"]["UpdateCartItem"][];
|
|
9728
|
+
};
|
|
8613
9729
|
};
|
|
8614
9730
|
};
|
|
8615
9731
|
responses: {
|
|
@@ -8620,29 +9736,31 @@ interface operations {
|
|
|
8620
9736
|
};
|
|
8621
9737
|
content: {
|
|
8622
9738
|
"application/json": {
|
|
8623
|
-
message
|
|
8624
|
-
success
|
|
8625
|
-
content
|
|
8626
|
-
|
|
9739
|
+
message?: string;
|
|
9740
|
+
success?: string;
|
|
9741
|
+
content?: {
|
|
9742
|
+
cart?: components["schemas"]["Cart"];
|
|
8627
9743
|
};
|
|
8628
9744
|
};
|
|
8629
9745
|
};
|
|
8630
9746
|
};
|
|
8631
|
-
400: components["responses"]["BadRequest"];
|
|
8632
|
-
401: components["responses"]["Unauthorized"];
|
|
8633
9747
|
};
|
|
8634
9748
|
};
|
|
8635
|
-
"
|
|
9749
|
+
"update-pos-cart-customer": {
|
|
8636
9750
|
parameters: {
|
|
8637
9751
|
query?: never;
|
|
8638
9752
|
header?: never;
|
|
8639
9753
|
path: {
|
|
8640
|
-
/** @description
|
|
9754
|
+
/** @description cart id */
|
|
8641
9755
|
id: string;
|
|
8642
9756
|
};
|
|
8643
9757
|
cookie?: never;
|
|
8644
9758
|
};
|
|
8645
|
-
requestBody?:
|
|
9759
|
+
requestBody?: {
|
|
9760
|
+
content: {
|
|
9761
|
+
"application/json": components["schemas"]["PosUpdateCustomerWithId"] | components["schemas"]["PosUpdateCustomerWithPhone"] | components["schemas"]["PosUpdateCustomerWithEmail"];
|
|
9762
|
+
};
|
|
9763
|
+
};
|
|
8646
9764
|
responses: {
|
|
8647
9765
|
/** @description OK */
|
|
8648
9766
|
200: {
|
|
@@ -8651,32 +9769,32 @@ interface operations {
|
|
|
8651
9769
|
};
|
|
8652
9770
|
content: {
|
|
8653
9771
|
"application/json": {
|
|
8654
|
-
message
|
|
8655
|
-
success
|
|
8656
|
-
content
|
|
8657
|
-
|
|
9772
|
+
message?: string;
|
|
9773
|
+
success?: string;
|
|
9774
|
+
content?: {
|
|
9775
|
+
cart?: components["schemas"]["Cart"];
|
|
8658
9776
|
};
|
|
8659
9777
|
};
|
|
8660
9778
|
};
|
|
8661
9779
|
};
|
|
8662
|
-
400: components["responses"]["BadRequest"];
|
|
8663
|
-
401: components["responses"]["Unauthorized"];
|
|
8664
|
-
404: components["responses"]["NotFound"];
|
|
8665
9780
|
};
|
|
8666
9781
|
};
|
|
8667
|
-
"update-
|
|
9782
|
+
"update-pos-cart-address": {
|
|
8668
9783
|
parameters: {
|
|
8669
9784
|
query?: never;
|
|
8670
9785
|
header?: never;
|
|
8671
9786
|
path: {
|
|
8672
|
-
/** @description
|
|
9787
|
+
/** @description cart id */
|
|
8673
9788
|
id: string;
|
|
8674
9789
|
};
|
|
8675
9790
|
cookie?: never;
|
|
8676
9791
|
};
|
|
8677
|
-
requestBody
|
|
9792
|
+
requestBody?: {
|
|
8678
9793
|
content: {
|
|
8679
|
-
"application/json":
|
|
9794
|
+
"application/json": {
|
|
9795
|
+
shipping_address: components["schemas"]["CustomerAddress"];
|
|
9796
|
+
billing_address?: components["schemas"]["CustomerAddress"];
|
|
9797
|
+
};
|
|
8680
9798
|
};
|
|
8681
9799
|
};
|
|
8682
9800
|
responses: {
|
|
@@ -8687,17 +9805,14 @@ interface operations {
|
|
|
8687
9805
|
};
|
|
8688
9806
|
content: {
|
|
8689
9807
|
"application/json": {
|
|
8690
|
-
message
|
|
8691
|
-
success
|
|
8692
|
-
content
|
|
8693
|
-
|
|
9808
|
+
message?: string;
|
|
9809
|
+
success?: string;
|
|
9810
|
+
content?: {
|
|
9811
|
+
cart?: components["schemas"]["Cart"];
|
|
8694
9812
|
};
|
|
8695
9813
|
};
|
|
8696
9814
|
};
|
|
8697
9815
|
};
|
|
8698
|
-
400: components["responses"]["BadRequest"];
|
|
8699
|
-
401: components["responses"]["Unauthorized"];
|
|
8700
|
-
404: components["responses"]["NotFound"];
|
|
8701
9816
|
};
|
|
8702
9817
|
};
|
|
8703
9818
|
"order-created": {
|
|
@@ -8982,6 +10097,157 @@ interface operations {
|
|
|
8982
10097
|
};
|
|
8983
10098
|
}
|
|
8984
10099
|
|
|
10100
|
+
type AcceleratedRewardCouponPromotion = components["schemas"]["AcceleratedRewardCouponPromotion"];
|
|
10101
|
+
type AcceleratedRewardRule = components["schemas"]["AcceleratedRewardRule"];
|
|
10102
|
+
type AdditionalProductDetails = components["schemas"]["AdditionalProductDetails"];
|
|
10103
|
+
type AnalyticsEvent = components["schemas"]["AnalyticsEvent"];
|
|
10104
|
+
type AnonymousUser = components["schemas"]["AnonymousUser"];
|
|
10105
|
+
type AppliedCoupon = components["schemas"]["AppliedCoupon"];
|
|
10106
|
+
type AppliedPromotion = components["schemas"]["AppliedPromotion"];
|
|
10107
|
+
type AssociatedOption = components["schemas"]["AssociatedOption"];
|
|
10108
|
+
type AutoScaleBasedOnAmount = components["schemas"]["AutoScaleBasedOnAmount"];
|
|
10109
|
+
type AutoScaleBasedOnQuantity = components["schemas"]["AutoScaleBasedOnQuantity"];
|
|
10110
|
+
type BankTransfer = components["schemas"]["BankTransfer"];
|
|
10111
|
+
type BooleanAttribute = components["schemas"]["BooleanAttribute"];
|
|
10112
|
+
type Brand = components["schemas"]["Brand"];
|
|
10113
|
+
type Business = components["schemas"]["Business"];
|
|
10114
|
+
type BuyXGetYCouponPromotion = components["schemas"]["BuyXGetYCouponPromotion"];
|
|
10115
|
+
type BuyXGetYRule = components["schemas"]["BuyXGetYRule"];
|
|
10116
|
+
type BuyXGetYRuleBasedOnAmount = components["schemas"]["BuyXGetYRuleBasedOnAmount"];
|
|
10117
|
+
type BuyXGetYRuleBasedOnQuantity = components["schemas"]["BuyXGetYRuleBasedOnQuantity"];
|
|
10118
|
+
type CardPayment = components["schemas"]["CardPayment"];
|
|
10119
|
+
type Cart = components["schemas"]["Cart"];
|
|
10120
|
+
type CartBasedServiceabilityCheck = components["schemas"]["CartBasedServiceabilityCheck"];
|
|
10121
|
+
type CartItem = components["schemas"]["CartItem"];
|
|
10122
|
+
type Category = components["schemas"]["Category"];
|
|
10123
|
+
type ColorAttribute = components["schemas"]["ColorAttribute"];
|
|
10124
|
+
type ColorOption = components["schemas"]["ColorOption"];
|
|
10125
|
+
type Country = components["schemas"]["Country"];
|
|
10126
|
+
type CountryState = components["schemas"]["CountryState"];
|
|
10127
|
+
type Coupon = components["schemas"]["Coupon"];
|
|
10128
|
+
type CouponPromotionCommonDetail = components["schemas"]["CouponPromotionCommonDetail"];
|
|
10129
|
+
type CreateCustomSubscription = components["schemas"]["CreateCustomSubscription"];
|
|
10130
|
+
type CreateCustomer = components["schemas"]["CreateCustomer"];
|
|
10131
|
+
type CreateOrderReturn = components["schemas"]["CreateOrderReturn"];
|
|
10132
|
+
type CreateReview = components["schemas"]["CreateReview"];
|
|
10133
|
+
type CreateStandardSubscription = components["schemas"]["CreateStandardSubscription"];
|
|
10134
|
+
type CreateSubscription = components["schemas"]["CreateSubscription"];
|
|
10135
|
+
type Currency = components["schemas"]["Currency"];
|
|
10136
|
+
type CustomSlabsBasedOnAmount = components["schemas"]["CustomSlabsBasedOnAmount"];
|
|
10137
|
+
type CustomSlabsBasedOnQuantity = components["schemas"]["CustomSlabsBasedOnQuantity"];
|
|
10138
|
+
type CustomerAddress = components["schemas"]["CustomerAddress"];
|
|
10139
|
+
type CustomerDetail = components["schemas"]["CustomerDetail"];
|
|
10140
|
+
type CustomerGroup = components["schemas"]["CustomerGroup"];
|
|
10141
|
+
type CustomerLoyalty = components["schemas"]["CustomerLoyalty"];
|
|
10142
|
+
type CustomerReadyForReview = components["schemas"]["CustomerReadyForReview"];
|
|
10143
|
+
type CustomerReview = components["schemas"]["CustomerReview"];
|
|
10144
|
+
type DateAttribute = components["schemas"]["DateAttribute"];
|
|
10145
|
+
type DiscountBasedPromotion = components["schemas"]["DiscountBasedPromotion"];
|
|
10146
|
+
type DiscountCouponPromotion = components["schemas"]["DiscountCouponPromotion"];
|
|
10147
|
+
type DiscountRule = components["schemas"]["DiscountRule"];
|
|
10148
|
+
type Document = components["schemas"]["Document"];
|
|
10149
|
+
type FixedAmountDiscountRule = components["schemas"]["FixedAmountDiscountRule"];
|
|
10150
|
+
type FixedPriceCouponPromotion = components["schemas"]["FixedPriceCouponPromotion"];
|
|
10151
|
+
type FixedPricePromotion = components["schemas"]["FixedPricePromotion"];
|
|
10152
|
+
type FixedPriceRule = components["schemas"]["FixedPriceRule"];
|
|
10153
|
+
type FixedPriceRuleBasedAmount = components["schemas"]["FixedPriceRuleBasedAmount"];
|
|
10154
|
+
type FixedPriceRuleBasedQuantity = components["schemas"]["FixedPriceRuleBasedQuantity"];
|
|
10155
|
+
type FreeGoodCouponPromotion = components["schemas"]["FreeGoodCouponPromotion"];
|
|
10156
|
+
type FreeGoodsPromotion = components["schemas"]["FreeGoodsPromotion"];
|
|
10157
|
+
type FreeGoodsRule = components["schemas"]["FreeGoodsRule"];
|
|
10158
|
+
type FreeShipingCouponPromotion = components["schemas"]["FreeShipingCouponPromotion"];
|
|
10159
|
+
type GenerateOtpWithEmail = components["schemas"]["GenerateOtpWithEmail"];
|
|
10160
|
+
type GenerateOtpWithPhone = components["schemas"]["GenerateOtpWithPhone"];
|
|
10161
|
+
type GstinDetail = components["schemas"]["GstinDetail"];
|
|
10162
|
+
type Item = components["schemas"]["Item"];
|
|
10163
|
+
type JuspayCardPayload = components["schemas"]["JuspayCardPayload"];
|
|
10164
|
+
type JuspayCreateCardResponse = components["schemas"]["JuspayCreateCardResponse"];
|
|
10165
|
+
type JuspayCreateCustomerPayload = components["schemas"]["JuspayCreateCustomerPayload"];
|
|
10166
|
+
type JuspayCreateOrderPayload = components["schemas"]["JuspayCreateOrderPayload"];
|
|
10167
|
+
type JuspayCustomer = components["schemas"]["JuspayCustomer"];
|
|
10168
|
+
type JuspayOrder = components["schemas"]["JuspayOrder"];
|
|
10169
|
+
type JuspayPaymentGatewayParams = components["schemas"]["JuspayPaymentGatewayParams"];
|
|
10170
|
+
type JuspayPaymentInfo = components["schemas"]["JuspayPaymentInfo"];
|
|
10171
|
+
type JuspayPaymentMethod = components["schemas"]["JuspayPaymentMethod"];
|
|
10172
|
+
type JuspaySavedCard = components["schemas"]["JuspaySavedCard"];
|
|
10173
|
+
type KycDocument = components["schemas"]["KycDocument"];
|
|
10174
|
+
type KycDocumentConfig = components["schemas"]["KycDocumentConfig"];
|
|
10175
|
+
type LoyaltyPointActivity = components["schemas"]["LoyaltyPointActivity"];
|
|
10176
|
+
type MeasurementUnit = components["schemas"]["MeasurementUnit"];
|
|
10177
|
+
type MultiSelectAttribute = components["schemas"]["MultiSelectAttribute"];
|
|
10178
|
+
type NetbankingPayment = components["schemas"]["NetbankingPayment"];
|
|
10179
|
+
type NotificationChannelPreferences = components["schemas"]["NotificationChannelPreferences"];
|
|
10180
|
+
type NotificationPreferences = components["schemas"]["NotificationPreferences"];
|
|
10181
|
+
type NumberAttribute = components["schemas"]["NumberAttribute"];
|
|
10182
|
+
type Order = components["schemas"]["Order"];
|
|
10183
|
+
type OrderDetail = components["schemas"]["OrderDetail"];
|
|
10184
|
+
type OrderItem = components["schemas"]["OrderItem"];
|
|
10185
|
+
type OrderList = components["schemas"]["OrderList"];
|
|
10186
|
+
type OrderPayment = components["schemas"]["OrderPayment"];
|
|
10187
|
+
type OrderRefund = components["schemas"]["OrderRefund"];
|
|
10188
|
+
type OrderReturn = components["schemas"]["OrderReturn"];
|
|
10189
|
+
type OrderReturnItem = components["schemas"]["OrderReturnItem"];
|
|
10190
|
+
type OrderShipment = components["schemas"]["OrderShipment"];
|
|
10191
|
+
type Pagination = components["schemas"]["Pagination"];
|
|
10192
|
+
type PanDetail = components["schemas"]["PanDetail"];
|
|
10193
|
+
type PauseSubscription = components["schemas"]["PauseSubscription"];
|
|
10194
|
+
type PaymentInfo = components["schemas"]["PaymentInfo"];
|
|
10195
|
+
type PayuCardPayload = components["schemas"]["PayuCardPayload"];
|
|
10196
|
+
type PayuCreateCardResponse = components["schemas"]["PayuCreateCardResponse"];
|
|
10197
|
+
type PayuPaymentGatewayParams = components["schemas"]["PayuPaymentGatewayParams"];
|
|
10198
|
+
type PayuPaymentInfo = components["schemas"]["PayuPaymentInfo"];
|
|
10199
|
+
type PayuPaymentMethod = components["schemas"]["PayuPaymentMethod"];
|
|
10200
|
+
type PayuSavedCard = components["schemas"]["PayuSavedCard"];
|
|
10201
|
+
type PercentageDiscountRule = components["schemas"]["PercentageDiscountRule"];
|
|
10202
|
+
type Pincode = components["schemas"]["Pincode"];
|
|
10203
|
+
type PincodeServiceability = components["schemas"]["PincodeServiceability"];
|
|
10204
|
+
type PosDevice = components["schemas"]["PosDevice"];
|
|
10205
|
+
type PosUpdateCustomerWithEmail = components["schemas"]["PosUpdateCustomerWithEmail"];
|
|
10206
|
+
type PosUpdateCustomerWithId = components["schemas"]["PosUpdateCustomerWithId"];
|
|
10207
|
+
type PosUpdateCustomerWithPhone = components["schemas"]["PosUpdateCustomerWithPhone"];
|
|
10208
|
+
type PosUser = components["schemas"]["PosUser"];
|
|
10209
|
+
type Product = components["schemas"]["Product"];
|
|
10210
|
+
type ProductAttribute = components["schemas"]["ProductAttribute"];
|
|
10211
|
+
type ProductBundleItem = components["schemas"]["ProductBundleItem"];
|
|
10212
|
+
type ProductCategory = components["schemas"]["ProductCategory"];
|
|
10213
|
+
type ProductDetail = components["schemas"]["ProductDetail"];
|
|
10214
|
+
type ProductImage = components["schemas"]["ProductImage"];
|
|
10215
|
+
type ProductPricing = components["schemas"]["ProductPricing"];
|
|
10216
|
+
type ProductPromotion = components["schemas"]["ProductPromotion"];
|
|
10217
|
+
type ProductReview = components["schemas"]["ProductReview"];
|
|
10218
|
+
type ProductShipping = components["schemas"]["ProductShipping"];
|
|
10219
|
+
type ProductSubscription = components["schemas"]["ProductSubscription"];
|
|
10220
|
+
type ProductVideo = components["schemas"]["ProductVideo"];
|
|
10221
|
+
type Promotion = components["schemas"]["Promotion"];
|
|
10222
|
+
type RegisterWithEmailPassword = components["schemas"]["RegisterWithEmailPassword"];
|
|
10223
|
+
type RegisterWithPhonePassword = components["schemas"]["RegisterWithPhonePassword"];
|
|
10224
|
+
type RevokeSubscription = components["schemas"]["RevokeSubscription"];
|
|
10225
|
+
type SearchProduct = components["schemas"]["SearchProduct"];
|
|
10226
|
+
type Seo = components["schemas"]["Seo"];
|
|
10227
|
+
type ShipmentItem = components["schemas"]["ShipmentItem"];
|
|
10228
|
+
type SingleSelectAttribute = components["schemas"]["SingleSelectAttribute"];
|
|
10229
|
+
type SingleSelectOption = components["schemas"]["SingleSelectOption"];
|
|
10230
|
+
type StoreConfig = components["schemas"]["StoreConfig"];
|
|
10231
|
+
type StoreTemplate = components["schemas"]["StoreTemplate"];
|
|
10232
|
+
type Subscription = components["schemas"]["Subscription"];
|
|
10233
|
+
type SubscriptionBehaviour = components["schemas"]["SubscriptionBehaviour"];
|
|
10234
|
+
type SubscriptionDetail = components["schemas"]["SubscriptionDetail"];
|
|
10235
|
+
type SubscriptionInvoiceItem = components["schemas"]["SubscriptionInvoiceItem"];
|
|
10236
|
+
type TextAttribute = components["schemas"]["TextAttribute"];
|
|
10237
|
+
type UpdateCartItem = components["schemas"]["UpdateCartItem"];
|
|
10238
|
+
type UpdateCustomer = components["schemas"]["UpdateCustomer"];
|
|
10239
|
+
type UpdateDigitalProductSubscription = components["schemas"]["UpdateDigitalProductSubscription"];
|
|
10240
|
+
type UpdateDocument = components["schemas"]["UpdateDocument"];
|
|
10241
|
+
type UpdatePhysicalProductSubscription = components["schemas"]["UpdatePhysicalProductSubscription"];
|
|
10242
|
+
type UpiPayment = components["schemas"]["UpiPayment"];
|
|
10243
|
+
type User = components["schemas"]["User"];
|
|
10244
|
+
type Variant = components["schemas"]["Variant"];
|
|
10245
|
+
type VariantDetail = components["schemas"]["VariantDetail"];
|
|
10246
|
+
type VariantOption = components["schemas"]["VariantOption"];
|
|
10247
|
+
type VolumeBasedCouponPromotion = components["schemas"]["VolumeBasedCouponPromotion"];
|
|
10248
|
+
type VolumeBasedPromotion = components["schemas"]["VolumeBasedPromotion"];
|
|
10249
|
+
type VolumeBasedRule = components["schemas"]["VolumeBasedRule"];
|
|
10250
|
+
type WalletPayment = components["schemas"]["WalletPayment"];
|
|
8985
10251
|
type ApiResult<T> = {
|
|
8986
10252
|
data: T;
|
|
8987
10253
|
error: null;
|
|
@@ -8997,358 +10263,410 @@ type ApiErrorResponse = {
|
|
|
8997
10263
|
code?: string;
|
|
8998
10264
|
message?: string;
|
|
8999
10265
|
};
|
|
9000
|
-
type ListProductsResponse = paths[
|
|
9001
|
-
type ListProductsContent = ListProductsResponse[
|
|
9002
|
-
type ListProductsQuery = paths[
|
|
9003
|
-
type ListProductsHeaderParams = paths[
|
|
9004
|
-
type ListSkusResponse = paths[
|
|
9005
|
-
type ListSkusContent = ListSkusResponse[
|
|
9006
|
-
type ListSkusQuery = paths[
|
|
9007
|
-
type ListSkusHeaderParams = paths[
|
|
9008
|
-
type GetProductDetailResponse = paths[
|
|
9009
|
-
type GetProductDetailContent = GetProductDetailResponse[
|
|
9010
|
-
type GetProductDetailPathParams = paths[
|
|
9011
|
-
type GetProductDetailHeaderParams = paths[
|
|
9012
|
-
type ListProductVariantsResponse = paths[
|
|
9013
|
-
type ListProductVariantsContent = ListProductVariantsResponse[
|
|
9014
|
-
type ListProductVariantsPathParams = paths[
|
|
9015
|
-
type ListProductVariantsHeaderParams = paths[
|
|
9016
|
-
type GetVariantDetailResponse = paths[
|
|
9017
|
-
type GetVariantDetailContent = GetVariantDetailResponse[
|
|
9018
|
-
type GetVariantDetailPathParams = paths[
|
|
9019
|
-
type GetVariantDetailHeaderParams = paths[
|
|
9020
|
-
type ListCategoriesResponse = paths[
|
|
9021
|
-
type ListCategoriesContent = ListCategoriesResponse[
|
|
9022
|
-
type ListCategoriesQuery = paths[
|
|
9023
|
-
type ListProductReviewsResponse = paths[
|
|
9024
|
-
type ListProductReviewsContent = ListProductReviewsResponse[
|
|
9025
|
-
type ListProductReviewsQuery = paths[
|
|
9026
|
-
type ListProductReviewsPathParams = paths[
|
|
9027
|
-
type CreateProductReviewResponse = paths[
|
|
9028
|
-
type CreateProductReviewPathParams = paths[
|
|
9029
|
-
type CreateProductReviewFormData = NonNullable<paths[
|
|
9030
|
-
type ListSimilarProductsResponse = paths[
|
|
9031
|
-
type ListSimilarProductsContent = ListSimilarProductsResponse[
|
|
9032
|
-
type ListSimilarProductsQuery = paths[
|
|
9033
|
-
type ListSimilarProductsHeaderParams = paths[
|
|
9034
|
-
type ListUpsellProductsResponse = paths[
|
|
9035
|
-
type ListUpsellProductsContent = ListUpsellProductsResponse[
|
|
9036
|
-
type ListUpsellProductsQuery = paths[
|
|
9037
|
-
type ListUpsellProductsHeaderParams = paths[
|
|
9038
|
-
type ListCrosssellProductsResponse = paths[
|
|
9039
|
-
type ListCrosssellProductsContent = ListCrosssellProductsResponse[
|
|
9040
|
-
type ListCrosssellProductsQuery = paths[
|
|
9041
|
-
type ListCrosssellProductsHeaderParams = paths[
|
|
9042
|
-
type SearchProductsResponse = paths[
|
|
9043
|
-
type SearchProductsContent = SearchProductsResponse[
|
|
9044
|
-
type SearchProductsHeaderParams = paths[
|
|
9045
|
-
type SearchProductsBody = NonNullable<paths[
|
|
9046
|
-
type CreateCartResponse = paths[
|
|
9047
|
-
type CreateCartContent = CreateCartResponse[
|
|
9048
|
-
type CreateCartBody = NonNullable<paths[
|
|
9049
|
-
type GetCartResponse = paths[
|
|
9050
|
-
type GetCartContent = GetCartResponse[
|
|
9051
|
-
type GetCartPathParams = paths[
|
|
9052
|
-
type DeleteCartResponse = paths[
|
|
9053
|
-
type DeleteCartPathParams = paths[
|
|
9054
|
-
type GetUserCartResponse = paths[
|
|
9055
|
-
type GetUserCartContent = GetUserCartResponse[
|
|
9056
|
-
type GetUserCartPathParams = paths[
|
|
9057
|
-
type DeleteUserCartResponse = paths[
|
|
9058
|
-
type DeleteUserCartPathParams = paths[
|
|
9059
|
-
type UpdateCartResponse = paths[
|
|
9060
|
-
type UpdateCartContent = UpdateCartResponse[
|
|
9061
|
-
type UpdateCartPathParams = paths[
|
|
9062
|
-
type UpdateCartBody = NonNullable<paths[
|
|
9063
|
-
type CreateCartAddressResponse = paths[
|
|
9064
|
-
type CreateCartAddressContent = CreateCartAddressResponse[
|
|
9065
|
-
type CreateCartAddressPathParams = paths[
|
|
9066
|
-
type CreateCartAddressBody = NonNullable<paths[
|
|
9067
|
-
type
|
|
9068
|
-
type
|
|
9069
|
-
type
|
|
9070
|
-
type
|
|
9071
|
-
type
|
|
9072
|
-
type
|
|
9073
|
-
type
|
|
9074
|
-
type
|
|
9075
|
-
type
|
|
9076
|
-
type
|
|
9077
|
-
type
|
|
9078
|
-
type
|
|
9079
|
-
type
|
|
9080
|
-
type
|
|
9081
|
-
type
|
|
9082
|
-
type
|
|
9083
|
-
type
|
|
9084
|
-
type
|
|
9085
|
-
type
|
|
9086
|
-
type
|
|
9087
|
-
type
|
|
9088
|
-
type
|
|
9089
|
-
type
|
|
9090
|
-
type
|
|
9091
|
-
type
|
|
9092
|
-
type
|
|
9093
|
-
type
|
|
9094
|
-
type
|
|
9095
|
-
type
|
|
9096
|
-
type
|
|
9097
|
-
type
|
|
9098
|
-
type
|
|
9099
|
-
type
|
|
9100
|
-
type
|
|
9101
|
-
type
|
|
9102
|
-
type
|
|
9103
|
-
type
|
|
9104
|
-
type
|
|
9105
|
-
type
|
|
9106
|
-
type
|
|
9107
|
-
type
|
|
9108
|
-
type
|
|
9109
|
-
type
|
|
9110
|
-
type
|
|
9111
|
-
type
|
|
9112
|
-
type
|
|
9113
|
-
type
|
|
9114
|
-
type
|
|
9115
|
-
type
|
|
9116
|
-
type
|
|
9117
|
-
type
|
|
9118
|
-
type
|
|
9119
|
-
type
|
|
9120
|
-
type
|
|
9121
|
-
type
|
|
9122
|
-
type
|
|
9123
|
-
type
|
|
9124
|
-
type
|
|
9125
|
-
type
|
|
9126
|
-
type
|
|
9127
|
-
type
|
|
9128
|
-
type
|
|
9129
|
-
type
|
|
9130
|
-
type
|
|
9131
|
-
type
|
|
9132
|
-
type
|
|
9133
|
-
type
|
|
9134
|
-
type
|
|
9135
|
-
type
|
|
9136
|
-
type
|
|
9137
|
-
type
|
|
9138
|
-
type
|
|
9139
|
-
type
|
|
9140
|
-
type
|
|
9141
|
-
type
|
|
9142
|
-
type
|
|
9143
|
-
type
|
|
9144
|
-
type
|
|
9145
|
-
type
|
|
9146
|
-
type
|
|
9147
|
-
type
|
|
9148
|
-
type
|
|
9149
|
-
type
|
|
9150
|
-
type
|
|
9151
|
-
type
|
|
9152
|
-
type
|
|
9153
|
-
type
|
|
9154
|
-
type
|
|
9155
|
-
type
|
|
9156
|
-
type
|
|
9157
|
-
type
|
|
9158
|
-
type
|
|
9159
|
-
type
|
|
9160
|
-
type
|
|
9161
|
-
type
|
|
9162
|
-
type
|
|
9163
|
-
type
|
|
9164
|
-
type
|
|
9165
|
-
type
|
|
9166
|
-
type
|
|
9167
|
-
type
|
|
9168
|
-
type
|
|
9169
|
-
type
|
|
9170
|
-
type
|
|
9171
|
-
type
|
|
9172
|
-
type
|
|
9173
|
-
type
|
|
9174
|
-
type
|
|
9175
|
-
type
|
|
9176
|
-
type
|
|
9177
|
-
type
|
|
9178
|
-
type
|
|
9179
|
-
type
|
|
9180
|
-
type
|
|
9181
|
-
type
|
|
9182
|
-
type
|
|
9183
|
-
type
|
|
9184
|
-
type
|
|
9185
|
-
type
|
|
9186
|
-
type
|
|
9187
|
-
type
|
|
9188
|
-
type
|
|
9189
|
-
type
|
|
9190
|
-
type
|
|
9191
|
-
type
|
|
9192
|
-
type
|
|
9193
|
-
type
|
|
9194
|
-
type
|
|
9195
|
-
type
|
|
9196
|
-
type
|
|
9197
|
-
type
|
|
9198
|
-
type
|
|
9199
|
-
type
|
|
9200
|
-
type
|
|
9201
|
-
type
|
|
9202
|
-
type
|
|
9203
|
-
type
|
|
9204
|
-
type
|
|
9205
|
-
type
|
|
9206
|
-
type
|
|
9207
|
-
type
|
|
9208
|
-
type
|
|
9209
|
-
type
|
|
9210
|
-
type
|
|
9211
|
-
type
|
|
9212
|
-
type
|
|
9213
|
-
type
|
|
9214
|
-
type
|
|
9215
|
-
type
|
|
9216
|
-
type
|
|
9217
|
-
type
|
|
9218
|
-
type
|
|
9219
|
-
type
|
|
9220
|
-
type
|
|
9221
|
-
type
|
|
9222
|
-
type
|
|
9223
|
-
type
|
|
9224
|
-
type
|
|
9225
|
-
type
|
|
9226
|
-
type
|
|
9227
|
-
type
|
|
9228
|
-
type
|
|
9229
|
-
type
|
|
9230
|
-
type
|
|
9231
|
-
type
|
|
9232
|
-
type
|
|
9233
|
-
type
|
|
9234
|
-
type
|
|
9235
|
-
type
|
|
9236
|
-
type
|
|
9237
|
-
type
|
|
9238
|
-
type
|
|
9239
|
-
type
|
|
9240
|
-
type
|
|
9241
|
-
type
|
|
9242
|
-
type
|
|
9243
|
-
type
|
|
9244
|
-
type
|
|
9245
|
-
type
|
|
9246
|
-
type
|
|
9247
|
-
type
|
|
9248
|
-
type
|
|
9249
|
-
type
|
|
9250
|
-
type
|
|
9251
|
-
type
|
|
9252
|
-
type
|
|
9253
|
-
type
|
|
9254
|
-
type
|
|
9255
|
-
type
|
|
9256
|
-
type
|
|
9257
|
-
type
|
|
9258
|
-
type
|
|
9259
|
-
type
|
|
9260
|
-
type
|
|
9261
|
-
type
|
|
9262
|
-
type
|
|
9263
|
-
type
|
|
9264
|
-
type
|
|
9265
|
-
type
|
|
9266
|
-
type
|
|
9267
|
-
type
|
|
9268
|
-
type
|
|
9269
|
-
type
|
|
9270
|
-
type
|
|
9271
|
-
type
|
|
9272
|
-
type
|
|
9273
|
-
type
|
|
9274
|
-
type
|
|
9275
|
-
type
|
|
9276
|
-
type
|
|
9277
|
-
type
|
|
9278
|
-
type
|
|
9279
|
-
type
|
|
9280
|
-
type
|
|
9281
|
-
type
|
|
9282
|
-
type
|
|
9283
|
-
type
|
|
9284
|
-
type
|
|
9285
|
-
type
|
|
9286
|
-
type
|
|
9287
|
-
type
|
|
9288
|
-
type
|
|
9289
|
-
type
|
|
9290
|
-
type
|
|
9291
|
-
type
|
|
9292
|
-
type
|
|
9293
|
-
type
|
|
9294
|
-
type
|
|
9295
|
-
type
|
|
9296
|
-
type
|
|
9297
|
-
type
|
|
9298
|
-
type
|
|
9299
|
-
type
|
|
9300
|
-
type
|
|
9301
|
-
type
|
|
9302
|
-
type
|
|
9303
|
-
type
|
|
9304
|
-
type
|
|
9305
|
-
type
|
|
9306
|
-
type
|
|
9307
|
-
type
|
|
9308
|
-
type
|
|
9309
|
-
type
|
|
9310
|
-
type
|
|
9311
|
-
type
|
|
9312
|
-
type
|
|
9313
|
-
type
|
|
9314
|
-
type
|
|
9315
|
-
type
|
|
9316
|
-
type
|
|
9317
|
-
type
|
|
9318
|
-
type
|
|
9319
|
-
type
|
|
9320
|
-
type
|
|
9321
|
-
type
|
|
9322
|
-
type
|
|
9323
|
-
type
|
|
9324
|
-
type
|
|
9325
|
-
type
|
|
9326
|
-
type
|
|
9327
|
-
type
|
|
9328
|
-
type
|
|
9329
|
-
type
|
|
9330
|
-
type
|
|
9331
|
-
type
|
|
9332
|
-
type
|
|
9333
|
-
type
|
|
9334
|
-
type
|
|
9335
|
-
type
|
|
9336
|
-
type
|
|
9337
|
-
type
|
|
9338
|
-
type
|
|
9339
|
-
type
|
|
9340
|
-
type
|
|
9341
|
-
type
|
|
9342
|
-
type
|
|
9343
|
-
type
|
|
9344
|
-
type
|
|
9345
|
-
type
|
|
9346
|
-
type
|
|
9347
|
-
type
|
|
9348
|
-
type
|
|
9349
|
-
type
|
|
9350
|
-
type
|
|
9351
|
-
type
|
|
10266
|
+
type ListProductsResponse = paths["/catalog/products"]["get"]["responses"][200]["content"]["application/json"];
|
|
10267
|
+
type ListProductsContent = ListProductsResponse["content"];
|
|
10268
|
+
type ListProductsQuery = paths["/catalog/products"]["get"]["parameters"]["query"];
|
|
10269
|
+
type ListProductsHeaderParams = paths["/catalog/products"]["get"]["parameters"]["header"];
|
|
10270
|
+
type ListSkusResponse = paths["/catalog/skus"]["get"]["responses"][200]["content"]["application/json"];
|
|
10271
|
+
type ListSkusContent = ListSkusResponse["content"];
|
|
10272
|
+
type ListSkusQuery = paths["/catalog/skus"]["get"]["parameters"]["query"];
|
|
10273
|
+
type ListSkusHeaderParams = paths["/catalog/skus"]["get"]["parameters"]["header"];
|
|
10274
|
+
type GetProductDetailResponse = paths["/catalog/products/{product_id_or_slug}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10275
|
+
type GetProductDetailContent = GetProductDetailResponse["content"];
|
|
10276
|
+
type GetProductDetailPathParams = paths["/catalog/products/{product_id_or_slug}"]["get"]["parameters"]["path"];
|
|
10277
|
+
type GetProductDetailHeaderParams = paths["/catalog/products/{product_id_or_slug}"]["get"]["parameters"]["header"];
|
|
10278
|
+
type ListProductVariantsResponse = paths["/catalog/products/{product_id}/variants"]["get"]["responses"][200]["content"]["application/json"];
|
|
10279
|
+
type ListProductVariantsContent = ListProductVariantsResponse["content"];
|
|
10280
|
+
type ListProductVariantsPathParams = paths["/catalog/products/{product_id}/variants"]["get"]["parameters"]["path"];
|
|
10281
|
+
type ListProductVariantsHeaderParams = paths["/catalog/products/{product_id}/variants"]["get"]["parameters"]["header"];
|
|
10282
|
+
type GetVariantDetailResponse = paths["/catalog/products/{product_id}/variants/{variant_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10283
|
+
type GetVariantDetailContent = GetVariantDetailResponse["content"];
|
|
10284
|
+
type GetVariantDetailPathParams = paths["/catalog/products/{product_id}/variants/{variant_id}"]["get"]["parameters"]["path"];
|
|
10285
|
+
type GetVariantDetailHeaderParams = paths["/catalog/products/{product_id}/variants/{variant_id}"]["get"]["parameters"]["header"];
|
|
10286
|
+
type ListCategoriesResponse = paths["/catalog/categories"]["get"]["responses"][200]["content"]["application/json"];
|
|
10287
|
+
type ListCategoriesContent = ListCategoriesResponse["content"];
|
|
10288
|
+
type ListCategoriesQuery = paths["/catalog/categories"]["get"]["parameters"]["query"];
|
|
10289
|
+
type ListProductReviewsResponse = paths["/catalog/products/{product_id}/reviews"]["get"]["responses"][200]["content"]["application/json"];
|
|
10290
|
+
type ListProductReviewsContent = ListProductReviewsResponse["content"];
|
|
10291
|
+
type ListProductReviewsQuery = paths["/catalog/products/{product_id}/reviews"]["get"]["parameters"]["query"];
|
|
10292
|
+
type ListProductReviewsPathParams = paths["/catalog/products/{product_id}/reviews"]["get"]["parameters"]["path"];
|
|
10293
|
+
type CreateProductReviewResponse = paths["/catalog/products/{product_id}/reviews"]["post"]["responses"][200]["content"]["application/json"];
|
|
10294
|
+
type CreateProductReviewPathParams = paths["/catalog/products/{product_id}/reviews"]["post"]["parameters"]["path"];
|
|
10295
|
+
type CreateProductReviewFormData = NonNullable<paths["/catalog/products/{product_id}/reviews"]["post"]["requestBody"]>["content"]["multipart/form-data"];
|
|
10296
|
+
type ListSimilarProductsResponse = paths["/catalog/products/similar"]["get"]["responses"][200]["content"]["application/json"];
|
|
10297
|
+
type ListSimilarProductsContent = ListSimilarProductsResponse["content"];
|
|
10298
|
+
type ListSimilarProductsQuery = paths["/catalog/products/similar"]["get"]["parameters"]["query"];
|
|
10299
|
+
type ListSimilarProductsHeaderParams = paths["/catalog/products/similar"]["get"]["parameters"]["header"];
|
|
10300
|
+
type ListUpsellProductsResponse = paths["/catalog/products/up-sell"]["get"]["responses"][200]["content"]["application/json"];
|
|
10301
|
+
type ListUpsellProductsContent = ListUpsellProductsResponse["content"];
|
|
10302
|
+
type ListUpsellProductsQuery = paths["/catalog/products/up-sell"]["get"]["parameters"]["query"];
|
|
10303
|
+
type ListUpsellProductsHeaderParams = paths["/catalog/products/up-sell"]["get"]["parameters"]["header"];
|
|
10304
|
+
type ListCrosssellProductsResponse = paths["/catalog/products/cross-sell"]["get"]["responses"][200]["content"]["application/json"];
|
|
10305
|
+
type ListCrosssellProductsContent = ListCrosssellProductsResponse["content"];
|
|
10306
|
+
type ListCrosssellProductsQuery = paths["/catalog/products/cross-sell"]["get"]["parameters"]["query"];
|
|
10307
|
+
type ListCrosssellProductsHeaderParams = paths["/catalog/products/cross-sell"]["get"]["parameters"]["header"];
|
|
10308
|
+
type SearchProductsResponse = paths["/catalog/products/search"]["post"]["responses"][200]["content"]["application/json"];
|
|
10309
|
+
type SearchProductsContent = SearchProductsResponse["content"];
|
|
10310
|
+
type SearchProductsHeaderParams = paths["/catalog/products/search"]["post"]["parameters"]["header"];
|
|
10311
|
+
type SearchProductsBody = NonNullable<paths["/catalog/products/search"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10312
|
+
type CreateCartResponse = paths["/carts"]["post"]["responses"][200]["content"]["application/json"];
|
|
10313
|
+
type CreateCartContent = CreateCartResponse["content"];
|
|
10314
|
+
type CreateCartBody = NonNullable<paths["/carts"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10315
|
+
type GetCartResponse = paths["/carts/{id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10316
|
+
type GetCartContent = GetCartResponse["content"];
|
|
10317
|
+
type GetCartPathParams = paths["/carts/{id}"]["get"]["parameters"]["path"];
|
|
10318
|
+
type DeleteCartResponse = paths["/carts/{id}"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10319
|
+
type DeleteCartPathParams = paths["/carts/{id}"]["delete"]["parameters"]["path"];
|
|
10320
|
+
type GetUserCartResponse = paths["/carts/users/{user_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10321
|
+
type GetUserCartContent = GetUserCartResponse["content"];
|
|
10322
|
+
type GetUserCartPathParams = paths["/carts/users/{user_id}"]["get"]["parameters"]["path"];
|
|
10323
|
+
type DeleteUserCartResponse = paths["/carts/users/{user_id}"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10324
|
+
type DeleteUserCartPathParams = paths["/carts/users/{user_id}"]["delete"]["parameters"]["path"];
|
|
10325
|
+
type UpdateCartResponse = paths["/carts/{id}/items"]["post"]["responses"][200]["content"]["application/json"];
|
|
10326
|
+
type UpdateCartContent = UpdateCartResponse["content"];
|
|
10327
|
+
type UpdateCartPathParams = paths["/carts/{id}/items"]["post"]["parameters"]["path"];
|
|
10328
|
+
type UpdateCartBody = NonNullable<paths["/carts/{id}/items"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10329
|
+
type CreateCartAddressResponse = paths["/carts/{id}/address"]["post"]["responses"][200]["content"]["application/json"];
|
|
10330
|
+
type CreateCartAddressContent = CreateCartAddressResponse["content"];
|
|
10331
|
+
type CreateCartAddressPathParams = paths["/carts/{id}/address"]["post"]["parameters"]["path"];
|
|
10332
|
+
type CreateCartAddressBody = NonNullable<paths["/carts/{id}/address"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10333
|
+
type UpdateCartCustomerResponse = paths["/carts/{id}/update-customer"]["post"]["responses"][200]["content"]["application/json"];
|
|
10334
|
+
type UpdateCartCustomerContent = UpdateCartCustomerResponse["content"];
|
|
10335
|
+
type UpdateCartCustomerPathParams = paths["/carts/{id}/update-customer"]["post"]["parameters"]["path"];
|
|
10336
|
+
type UpdateCartCustomerBody = NonNullable<paths["/carts/{id}/update-customer"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10337
|
+
type UpdateShippingMethodResponse = paths["/carts/{id}/shipping-method"]["post"]["responses"][200]["content"]["application/json"];
|
|
10338
|
+
type UpdateShippingMethodContent = UpdateShippingMethodResponse["content"];
|
|
10339
|
+
type UpdateShippingMethodPathParams = paths["/carts/{id}/shipping-method"]["post"]["parameters"]["path"];
|
|
10340
|
+
type UpdateShippingMethodBody = NonNullable<paths["/carts/{id}/shipping-method"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10341
|
+
type ApplyCouponResponse = paths["/carts/{id}/coupon"]["post"]["responses"][200]["content"]["application/json"];
|
|
10342
|
+
type ApplyCouponContent = ApplyCouponResponse["content"];
|
|
10343
|
+
type ApplyCouponPathParams = paths["/carts/{id}/coupon"]["post"]["parameters"]["path"];
|
|
10344
|
+
type ApplyCouponBody = NonNullable<paths["/carts/{id}/coupon"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10345
|
+
type RemoveCouponResponse = paths["/carts/{id}/coupon"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10346
|
+
type RemoveCouponContent = RemoveCouponResponse["content"];
|
|
10347
|
+
type RemoveCouponPathParams = paths["/carts/{id}/coupon"]["delete"]["parameters"]["path"];
|
|
10348
|
+
type RedeemLoyaltyPointsResponse = paths["/carts/{id}/loyalty-points"]["post"]["responses"][200]["content"]["application/json"];
|
|
10349
|
+
type RedeemLoyaltyPointsContent = RedeemLoyaltyPointsResponse["content"];
|
|
10350
|
+
type RedeemLoyaltyPointsPathParams = paths["/carts/{id}/loyalty-points"]["post"]["parameters"]["path"];
|
|
10351
|
+
type RedeemLoyaltyPointsBody = NonNullable<paths["/carts/{id}/loyalty-points"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10352
|
+
type RemoveLoyaltyPointsResponse = paths["/carts/{id}/loyalty-points"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10353
|
+
type RemoveLoyaltyPointsContent = RemoveLoyaltyPointsResponse["content"];
|
|
10354
|
+
type RemoveLoyaltyPointsPathParams = paths["/carts/{id}/loyalty-points"]["delete"]["parameters"]["path"];
|
|
10355
|
+
type RedeemCreditBalanceResponse = paths["/carts/{id}/credit-balance"]["post"]["responses"][200]["content"]["application/json"];
|
|
10356
|
+
type RedeemCreditBalanceContent = RedeemCreditBalanceResponse["content"];
|
|
10357
|
+
type RedeemCreditBalancePathParams = paths["/carts/{id}/credit-balance"]["post"]["parameters"]["path"];
|
|
10358
|
+
type RedeemCreditBalanceBody = NonNullable<paths["/carts/{id}/credit-balance"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10359
|
+
type RemoveCreditBalanceResponse = paths["/carts/{id}/credit-balance"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10360
|
+
type RemoveCreditBalanceContent = RemoveCreditBalanceResponse["content"];
|
|
10361
|
+
type RemoveCreditBalancePathParams = paths["/carts/{id}/credit-balance"]["delete"]["parameters"]["path"];
|
|
10362
|
+
type RedeemGiftCardResponse = paths["/carts/{id}/gift-card"]["post"]["responses"][200]["content"]["application/json"];
|
|
10363
|
+
type RedeemGiftCardContent = RedeemGiftCardResponse["content"];
|
|
10364
|
+
type RedeemGiftCardPathParams = paths["/carts/{id}/gift-card"]["post"]["parameters"]["path"];
|
|
10365
|
+
type RedeemGiftCardBody = NonNullable<paths["/carts/{id}/gift-card"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10366
|
+
type RemoveGiftCardResponse = paths["/carts/{id}/gift-card"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10367
|
+
type RemoveGiftCardContent = RemoveGiftCardResponse["content"];
|
|
10368
|
+
type RemoveGiftCardPathParams = paths["/carts/{id}/gift-card"]["delete"]["parameters"]["path"];
|
|
10369
|
+
type ListCouponsResponse = paths["/carts/available-coupons"]["get"]["responses"][200]["content"]["application/json"];
|
|
10370
|
+
type ListCouponsContent = ListCouponsResponse["content"];
|
|
10371
|
+
type ListCouponsHeaderParams = paths["/carts/available-coupons"]["get"]["parameters"]["header"];
|
|
10372
|
+
type ListPromotionsResponse = paths["/carts/available-promotions"]["get"]["responses"][200]["content"]["application/json"];
|
|
10373
|
+
type ListPromotionsContent = ListPromotionsResponse["content"];
|
|
10374
|
+
type ListPromotionsHeaderParams = paths["/carts/available-promotions"]["get"]["parameters"]["header"];
|
|
10375
|
+
type GetWishlistResponse = paths["/wishlist/{user_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10376
|
+
type GetWishlistContent = GetWishlistResponse["content"];
|
|
10377
|
+
type GetWishlistPathParams = paths["/wishlist/{user_id}"]["get"]["parameters"]["path"];
|
|
10378
|
+
type AddToWishlistResponse = paths["/wishlist/{user_id}"]["post"]["responses"][200]["content"]["application/json"];
|
|
10379
|
+
type AddToWishlistContent = AddToWishlistResponse["content"];
|
|
10380
|
+
type AddToWishlistPathParams = paths["/wishlist/{user_id}"]["post"]["parameters"]["path"];
|
|
10381
|
+
type AddToWishlistBody = NonNullable<paths["/wishlist/{user_id}"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10382
|
+
type DeleteFromWishlistResponse = paths["/wishlist/{user_id}"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10383
|
+
type DeleteFromWishlistContent = DeleteFromWishlistResponse["content"];
|
|
10384
|
+
type DeleteFromWishlistPathParams = paths["/wishlist/{user_id}"]["delete"]["parameters"]["path"];
|
|
10385
|
+
type DeleteFromWishlistBody = NonNullable<paths["/wishlist/{user_id}"]["delete"]["requestBody"]>["content"]["application/json"];
|
|
10386
|
+
type CreateCustomerResponse = paths["/customers"]["post"]["responses"][200]["content"]["application/json"];
|
|
10387
|
+
type CreateCustomerContent = CreateCustomerResponse["content"];
|
|
10388
|
+
type CreateCustomerBody = NonNullable<paths["/customers"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10389
|
+
type EvaluatePromotionsResponse = paths["/carts/{id}/evaluate-promotions"]["get"]["responses"][200]["content"]["application/json"];
|
|
10390
|
+
type EvaluatePromotionsContent = EvaluatePromotionsResponse["content"];
|
|
10391
|
+
type EvaluatePromotionsPathParams = paths["/carts/{id}/evaluate-promotions"]["get"]["parameters"]["path"];
|
|
10392
|
+
type EvaluateCouponsResponse = paths["/carts/{id}/evaluate-coupons"]["get"]["responses"][200]["content"]["application/json"];
|
|
10393
|
+
type EvaluateCouponsContent = EvaluateCouponsResponse["content"];
|
|
10394
|
+
type EvaluateCouponsPathParams = paths["/carts/{id}/evaluate-coupons"]["get"]["parameters"]["path"];
|
|
10395
|
+
type EvaluatePosPromotionsResponse = paths["/pos/carts/{id}/evaluate-promotions"]["get"]["responses"][200]["content"]["application/json"];
|
|
10396
|
+
type EvaluatePosPromotionsContent = EvaluatePosPromotionsResponse["content"];
|
|
10397
|
+
type EvaluatePosPromotionsPathParams = paths["/pos/carts/{id}/evaluate-promotions"]["get"]["parameters"]["path"];
|
|
10398
|
+
type EvaluatePosCouponsResponse = paths["/pos/carts/{id}/evaluate-coupons"]["get"]["responses"][200]["content"]["application/json"];
|
|
10399
|
+
type EvaluatePosCouponsContent = EvaluatePosCouponsResponse["content"];
|
|
10400
|
+
type EvaluatePosCouponsPathParams = paths["/pos/carts/{id}/evaluate-coupons"]["get"]["parameters"]["path"];
|
|
10401
|
+
type GetCustomerDetailResponse = paths["/customers/{id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10402
|
+
type GetCustomerDetailContent = GetCustomerDetailResponse["content"];
|
|
10403
|
+
type GetCustomerDetailPathParams = paths["/customers/{id}"]["get"]["parameters"]["path"];
|
|
10404
|
+
type UpdateCustomerResponse = paths["/customers/{id}"]["put"]["responses"][200]["content"]["application/json"];
|
|
10405
|
+
type UpdateCustomerContent = UpdateCustomerResponse["content"];
|
|
10406
|
+
type UpdateCustomerPathParams = paths["/customers/{id}"]["put"]["parameters"]["path"];
|
|
10407
|
+
type UpdateCustomerBody = NonNullable<paths["/customers/{id}"]["put"]["requestBody"]>["content"]["application/json"];
|
|
10408
|
+
type ListAddressesResponse = paths["/customers/{user_id}/addresses"]["get"]["responses"][200]["content"]["application/json"];
|
|
10409
|
+
type ListAddressesContent = ListAddressesResponse["content"];
|
|
10410
|
+
type ListAddressesQuery = paths["/customers/{user_id}/addresses"]["get"]["parameters"]["query"];
|
|
10411
|
+
type ListAddressesPathParams = paths["/customers/{user_id}/addresses"]["get"]["parameters"]["path"];
|
|
10412
|
+
type CreateAddressResponse = paths["/customers/{user_id}/addresses"]["post"]["responses"][200]["content"]["application/json"];
|
|
10413
|
+
type CreateAddressContent = CreateAddressResponse["content"];
|
|
10414
|
+
type CreateAddressPathParams = paths["/customers/{user_id}/addresses"]["post"]["parameters"]["path"];
|
|
10415
|
+
type CreateAddressBody = NonNullable<paths["/customers/{user_id}/addresses"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10416
|
+
type GetAddressDetailResponse = paths["/customers/{user_id}/addresses/{address_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10417
|
+
type GetAddressDetailContent = GetAddressDetailResponse["content"];
|
|
10418
|
+
type GetAddressDetailPathParams = paths["/customers/{user_id}/addresses/{address_id}"]["get"]["parameters"]["path"];
|
|
10419
|
+
type UpdateAddressDetailResponse = paths["/customers/{user_id}/addresses/{address_id}"]["put"]["responses"][200]["content"]["application/json"];
|
|
10420
|
+
type UpdateAddressDetailContent = UpdateAddressDetailResponse["content"];
|
|
10421
|
+
type UpdateAddressDetailPathParams = paths["/customers/{user_id}/addresses/{address_id}"]["put"]["parameters"]["path"];
|
|
10422
|
+
type UpdateAddressDetailBody = NonNullable<paths["/customers/{user_id}/addresses/{address_id}"]["put"]["requestBody"]>["content"]["application/json"];
|
|
10423
|
+
type DeleteAddressResponse = paths["/customers/{user_id}/addresses/{address_id}"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10424
|
+
type DeleteAddressPathParams = paths["/customers/{user_id}/addresses/{address_id}"]["delete"]["parameters"]["path"];
|
|
10425
|
+
type ListKycDocumentResponse = paths["/store/kyc-document"]["get"]["responses"][200]["content"]["application/json"];
|
|
10426
|
+
type ListKycDocumentContent = ListKycDocumentResponse["content"];
|
|
10427
|
+
type GetConfigResponse = paths["/store/config"]["get"]["responses"][200]["content"]["application/json"];
|
|
10428
|
+
type GetConfigContent = GetConfigResponse["content"];
|
|
10429
|
+
type ListDocumentsResponse = paths["/customers/{id}/documents"]["get"]["responses"][200]["content"]["application/json"];
|
|
10430
|
+
type ListDocumentsContent = ListDocumentsResponse["content"];
|
|
10431
|
+
type ListDocumentsPathParams = paths["/customers/{id}/documents"]["get"]["parameters"]["path"];
|
|
10432
|
+
type CreateDocumentResponse = paths["/customers/{id}/documents"]["post"]["responses"][200]["content"]["application/json"];
|
|
10433
|
+
type CreateDocumentContent = CreateDocumentResponse["content"];
|
|
10434
|
+
type CreateDocumentPathParams = paths["/customers/{id}/documents"]["post"]["parameters"]["path"];
|
|
10435
|
+
type CreateDocumentFormData = NonNullable<paths["/customers/{id}/documents"]["post"]["requestBody"]>["content"]["multipart/form-data"];
|
|
10436
|
+
type GetDocumentResponse = paths["/customers/{id}/documents/{document_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10437
|
+
type GetDocumentContent = GetDocumentResponse["content"];
|
|
10438
|
+
type GetDocumentPathParams = paths["/customers/{id}/documents/{document_id}"]["get"]["parameters"]["path"];
|
|
10439
|
+
type UpdateDocumentResponse = paths["/customers/{id}/documents/{document_id}"]["put"]["responses"][200]["content"]["application/json"];
|
|
10440
|
+
type UpdateDocumentContent = UpdateDocumentResponse["content"];
|
|
10441
|
+
type UpdateDocumentPathParams = paths["/customers/{id}/documents/{document_id}"]["put"]["parameters"]["path"];
|
|
10442
|
+
type UpdateDocumentFormData = NonNullable<paths["/customers/{id}/documents/{document_id}"]["put"]["requestBody"]>["content"]["multipart/form-data"];
|
|
10443
|
+
type DeleteDocumentResponse = paths["/customers/{id}/documents/{document_id}"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10444
|
+
type DeleteDocumentPathParams = paths["/customers/{id}/documents/{document_id}"]["delete"]["parameters"]["path"];
|
|
10445
|
+
type VerifyDocumentResponse = paths["/customers/{id}/documents/verify"]["post"]["responses"][200]["content"]["application/json"];
|
|
10446
|
+
type VerifyDocumentContent = VerifyDocumentResponse["content"];
|
|
10447
|
+
type VerifyDocumentPathParams = paths["/customers/{id}/documents/verify"]["post"]["parameters"]["path"];
|
|
10448
|
+
type VerifyDocumentBody = NonNullable<paths["/customers/{id}/documents/verify"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10449
|
+
type GetLoyaltyDetailsResponse = paths["/customers/{user_id}/loyalty"]["get"]["responses"][200]["content"]["application/json"];
|
|
10450
|
+
type GetLoyaltyDetailsContent = GetLoyaltyDetailsResponse["content"];
|
|
10451
|
+
type GetLoyaltyDetailsPathParams = paths["/customers/{user_id}/loyalty"]["get"]["parameters"]["path"];
|
|
10452
|
+
type ListLoyaltyActivitiesResponse = paths["/customers/{user_id}/loyalty-points-activity"]["get"]["responses"][200]["content"]["application/json"];
|
|
10453
|
+
type ListLoyaltyActivitiesContent = ListLoyaltyActivitiesResponse["content"];
|
|
10454
|
+
type ListLoyaltyActivitiesQuery = paths["/customers/{user_id}/loyalty-points-activity"]["get"]["parameters"]["query"];
|
|
10455
|
+
type ListLoyaltyActivitiesPathParams = paths["/customers/{user_id}/loyalty-points-activity"]["get"]["parameters"]["path"];
|
|
10456
|
+
type CreateOrderResponse = paths["/orders"]["post"]["responses"][200]["content"]["application/json"];
|
|
10457
|
+
type CreateOrderContent = CreateOrderResponse["content"];
|
|
10458
|
+
type CreateOrderBody = NonNullable<paths["/orders"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10459
|
+
type ListOrdersResponse = paths["/orders"]["get"]["responses"][200]["content"]["application/json"];
|
|
10460
|
+
type ListOrdersContent = ListOrdersResponse["content"];
|
|
10461
|
+
type ListOrdersQuery = paths["/orders"]["get"]["parameters"]["query"];
|
|
10462
|
+
type GetOrderDetailResponse = paths["/orders/{order_number}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10463
|
+
type GetOrderDetailContent = GetOrderDetailResponse["content"];
|
|
10464
|
+
type GetOrderDetailPathParams = paths["/orders/{order_number}"]["get"]["parameters"]["path"];
|
|
10465
|
+
type GetPaymentStatusResponse = paths["/orders/{order_number}/payment-status"]["get"]["responses"][200]["content"]["application/json"];
|
|
10466
|
+
type GetPaymentStatusContent = GetPaymentStatusResponse["content"];
|
|
10467
|
+
type GetPaymentStatusPathParams = paths["/orders/{order_number}/payment-status"]["get"]["parameters"]["path"];
|
|
10468
|
+
type ListOrderShipmentsResponse = paths["/orders/{order_number}/shipments"]["get"]["responses"][200]["content"]["application/json"];
|
|
10469
|
+
type ListOrderShipmentsContent = ListOrderShipmentsResponse["content"];
|
|
10470
|
+
type ListOrderShipmentsPathParams = paths["/orders/{order_number}/shipments"]["get"]["parameters"]["path"];
|
|
10471
|
+
type ListOrderRefundsResponse = paths["/orders/{order_number}/refunds"]["get"]["responses"][200]["content"]["application/json"];
|
|
10472
|
+
type ListOrderRefundsContent = ListOrderRefundsResponse["content"];
|
|
10473
|
+
type ListOrderRefundsPathParams = paths["/orders/{order_number}/refunds"]["get"]["parameters"]["path"];
|
|
10474
|
+
type ListOrderPaymentsResponse = paths["/orders/{order_number}/payments"]["get"]["responses"][200]["content"]["application/json"];
|
|
10475
|
+
type ListOrderPaymentsContent = ListOrderPaymentsResponse["content"];
|
|
10476
|
+
type ListOrderPaymentsPathParams = paths["/orders/{order_number}/payments"]["get"]["parameters"]["path"];
|
|
10477
|
+
type CreateOrderReturnResponse = paths["/orders/{order_number}/return"]["post"]["responses"][200]["content"]["application/json"];
|
|
10478
|
+
type CreateOrderReturnContent = CreateOrderReturnResponse["content"];
|
|
10479
|
+
type CreateOrderReturnPathParams = paths["/orders/{order_number}/return"]["post"]["parameters"]["path"];
|
|
10480
|
+
type CreateOrderReturnBody = NonNullable<paths["/orders/{order_number}/return"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10481
|
+
type GetOrderReturnDetailResponse = paths["/orders/{order_number}/return/{return_id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10482
|
+
type GetOrderReturnDetailContent = GetOrderReturnDetailResponse["content"];
|
|
10483
|
+
type GetOrderReturnDetailPathParams = paths["/orders/{order_number}/return/{return_id}"]["get"]["parameters"]["path"];
|
|
10484
|
+
type CancelOrderResponse = paths["/orders/{order_number}/cancel"]["post"]["responses"][200]["content"]["application/json"];
|
|
10485
|
+
type CancelOrderContent = CancelOrderResponse["content"];
|
|
10486
|
+
type CancelOrderPathParams = paths["/orders/{order_number}/cancel"]["post"]["parameters"]["path"];
|
|
10487
|
+
type CancelOrderBody = NonNullable<paths["/orders/{order_number}/cancel"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10488
|
+
type RetryOrderPaymentResponse = paths["/orders/{order_number}/retry-payment"]["post"]["responses"][200]["content"]["application/json"];
|
|
10489
|
+
type RetryOrderPaymentContent = RetryOrderPaymentResponse["content"];
|
|
10490
|
+
type RetryOrderPaymentPathParams = paths["/orders/{order_number}/retry-payment"]["post"]["parameters"]["path"];
|
|
10491
|
+
type RetryOrderPaymentBody = NonNullable<paths["/orders/{order_number}/retry-payment"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10492
|
+
type GetShippingMethodsResponse = paths["/shipping/shipping-methods"]["post"]["responses"][200]["content"]["application/json"];
|
|
10493
|
+
type GetShippingMethodsContent = GetShippingMethodsResponse["content"];
|
|
10494
|
+
type GetShippingMethodsBody = NonNullable<paths["/shipping/shipping-methods"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10495
|
+
type CheckPincodeServiceabilityResponse = paths["/shipping/serviceability/{pincode}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10496
|
+
type CheckPincodeServiceabilityContent = CheckPincodeServiceabilityResponse["content"];
|
|
10497
|
+
type CheckPincodeServiceabilityPathParams = paths["/shipping/serviceability/{pincode}"]["get"]["parameters"]["path"];
|
|
10498
|
+
type GetAnonymousTokenResponse = paths["/auth/anonymous"]["post"]["responses"][200]["content"]["application/json"];
|
|
10499
|
+
type GetAnonymousTokenContent = GetAnonymousTokenResponse["content"];
|
|
10500
|
+
type LoginWithPhoneResponse = paths["/auth/login/phone"]["post"]["responses"][200]["content"]["application/json"];
|
|
10501
|
+
type LoginWithPhoneContent = LoginWithPhoneResponse["content"];
|
|
10502
|
+
type LoginWithPhoneBody = NonNullable<paths["/auth/login/phone"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10503
|
+
type LoginWithEmailResponse = paths["/auth/login/email"]["post"]["responses"][200]["content"]["application/json"];
|
|
10504
|
+
type LoginWithEmailContent = LoginWithEmailResponse["content"];
|
|
10505
|
+
type LoginWithEmailBody = NonNullable<paths["/auth/login/email"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10506
|
+
type LoginWithWhatsappResponse = paths["/auth/login/whatsapp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10507
|
+
type LoginWithWhatsappContent = LoginWithWhatsappResponse["content"];
|
|
10508
|
+
type LoginWithWhatsappBody = NonNullable<paths["/auth/login/whatsapp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10509
|
+
type LoginWithPasswordResponse = paths["/auth/login/password"]["post"]["responses"][200]["content"]["application/json"];
|
|
10510
|
+
type LoginWithPasswordContent = LoginWithPasswordResponse["content"];
|
|
10511
|
+
type LoginWithPasswordBody = NonNullable<paths["/auth/login/password"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10512
|
+
type VerifyOtpResponse = paths["/auth/verify-otp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10513
|
+
type VerifyOtpContent = VerifyOtpResponse["content"];
|
|
10514
|
+
type VerifyOtpBody = NonNullable<paths["/auth/verify-otp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10515
|
+
type RegisterWithPhoneResponse = paths["/auth/register/phone"]["post"]["responses"][200]["content"]["application/json"];
|
|
10516
|
+
type RegisterWithPhoneContent = RegisterWithPhoneResponse["content"];
|
|
10517
|
+
type RegisterWithPhoneBody = NonNullable<paths["/auth/register/phone"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10518
|
+
type RegisterWithEmailResponse = paths["/auth/register/email"]["post"]["responses"][200]["content"]["application/json"];
|
|
10519
|
+
type RegisterWithEmailContent = RegisterWithEmailResponse["content"];
|
|
10520
|
+
type RegisterWithEmailBody = NonNullable<paths["/auth/register/email"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10521
|
+
type RegisterWithWhatsappResponse = paths["/auth/register/whatsapp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10522
|
+
type RegisterWithWhatsappContent = RegisterWithWhatsappResponse["content"];
|
|
10523
|
+
type RegisterWithWhatsappBody = NonNullable<paths["/auth/register/whatsapp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10524
|
+
type RegisterWithPasswordResponse = paths["/auth/register/password"]["post"]["responses"][200]["content"]["application/json"];
|
|
10525
|
+
type RegisterWithPasswordContent = RegisterWithPasswordResponse["content"];
|
|
10526
|
+
type RegisterWithPasswordBody = NonNullable<paths["/auth/register/password"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10527
|
+
type GetUserDetailResponse = paths["/auth/user/{id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10528
|
+
type GetUserDetailContent = GetUserDetailResponse["content"];
|
|
10529
|
+
type GetUserDetailPathParams = paths["/auth/user/{id}"]["get"]["parameters"]["path"];
|
|
10530
|
+
type UpdateUserResponse = paths["/auth/user/{id}"]["put"]["responses"][200]["content"]["application/json"];
|
|
10531
|
+
type UpdateUserContent = UpdateUserResponse["content"];
|
|
10532
|
+
type UpdateUserPathParams = paths["/auth/user/{id}"]["put"]["parameters"]["path"];
|
|
10533
|
+
type UpdateUserBody = NonNullable<paths["/auth/user/{id}"]["put"]["requestBody"]>["content"]["application/json"];
|
|
10534
|
+
type AddProfileImageResponse = paths["/auth/user/{id}/profile-image"]["post"]["responses"][200]["content"]["application/json"];
|
|
10535
|
+
type AddProfileImageContent = AddProfileImageResponse["content"];
|
|
10536
|
+
type AddProfileImagePathParams = paths["/auth/user/{id}/profile-image"]["post"]["parameters"]["path"];
|
|
10537
|
+
type AddProfileImageFormData = NonNullable<paths["/auth/user/{id}/profile-image"]["post"]["requestBody"]>["content"]["multipart/form-data"];
|
|
10538
|
+
type UpdateProfileImageResponse = paths["/auth/user/{id}/profile-image"]["put"]["responses"][200]["content"]["application/json"];
|
|
10539
|
+
type UpdateProfileImageContent = UpdateProfileImageResponse["content"];
|
|
10540
|
+
type UpdateProfileImagePathParams = paths["/auth/user/{id}/profile-image"]["put"]["parameters"]["path"];
|
|
10541
|
+
type UpdateProfileImageFormData = NonNullable<paths["/auth/user/{id}/profile-image"]["put"]["requestBody"]>["content"]["multipart/form-data"];
|
|
10542
|
+
type RemoveProfileImageResponse = paths["/auth/user/{id}/profile-image"]["delete"]["responses"][200]["content"]["application/json"];
|
|
10543
|
+
type RemoveProfileImagePathParams = paths["/auth/user/{id}/profile-image"]["delete"]["parameters"]["path"];
|
|
10544
|
+
type GetProfileImageResponse = paths["/auth/user/{id}/profile-image"]["get"]["responses"][200]["content"]["application/json"];
|
|
10545
|
+
type GetProfileImageContent = GetProfileImageResponse["content"];
|
|
10546
|
+
type GetProfileImagePathParams = paths["/auth/user/{id}/profile-image"]["get"]["parameters"]["path"];
|
|
10547
|
+
type DeactivateUserResponse = paths["/auth/user/{id}/deactivate"]["put"]["responses"][200]["content"]["application/json"];
|
|
10548
|
+
type DeactivateUserPathParams = paths["/auth/user/{id}/deactivate"]["put"]["parameters"]["path"];
|
|
10549
|
+
type RefreshTokenResponse = paths["/auth/refresh-token"]["post"]["responses"][200]["content"]["application/json"];
|
|
10550
|
+
type RefreshTokenContent = RefreshTokenResponse["content"];
|
|
10551
|
+
type RefreshTokenBody = NonNullable<paths["/auth/refresh-token"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10552
|
+
type ChangePasswordResponse = paths["/auth/change-password"]["post"]["responses"][200]["content"]["application/json"];
|
|
10553
|
+
type ChangePasswordContent = ChangePasswordResponse["content"];
|
|
10554
|
+
type ChangePasswordBody = NonNullable<paths["/auth/change-password"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10555
|
+
type ForgotPasswordResponse = paths["/auth/forgot-password"]["post"]["responses"][200]["content"]["application/json"];
|
|
10556
|
+
type ForgotPasswordContent = ForgotPasswordResponse["content"];
|
|
10557
|
+
type ForgotPasswordBody = NonNullable<paths["/auth/forgot-password"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10558
|
+
type ResetPasswordResponse = paths["/auth/reset-password"]["post"]["responses"][200]["content"]["application/json"];
|
|
10559
|
+
type ResetPasswordContent = ResetPasswordResponse["content"];
|
|
10560
|
+
type ResetPasswordBody = NonNullable<paths["/auth/reset-password"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10561
|
+
type GetNotificationPreferencesResponse = paths["/auth/user/{id}/notification-preferences"]["get"]["responses"][200]["content"]["application/json"];
|
|
10562
|
+
type GetNotificationPreferencesContent = GetNotificationPreferencesResponse["content"];
|
|
10563
|
+
type GetNotificationPreferencesPathParams = paths["/auth/user/{id}/notification-preferences"]["get"]["parameters"]["path"];
|
|
10564
|
+
type CreateNotificationPreferencesResponse = paths["/auth/user/{id}/notification-preferences"]["post"]["responses"][200]["content"]["application/json"];
|
|
10565
|
+
type CreateNotificationPreferencesContent = CreateNotificationPreferencesResponse["content"];
|
|
10566
|
+
type CreateNotificationPreferencesPathParams = paths["/auth/user/{id}/notification-preferences"]["post"]["parameters"]["path"];
|
|
10567
|
+
type CreateNotificationPreferencesBody = NonNullable<paths["/auth/user/{id}/notification-preferences"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10568
|
+
type UpdateNotificationPreferencesResponse = paths["/auth/user/{id}/notification-preferences"]["put"]["responses"][200]["content"]["application/json"];
|
|
10569
|
+
type UpdateNotificationPreferencesContent = UpdateNotificationPreferencesResponse["content"];
|
|
10570
|
+
type UpdateNotificationPreferencesPathParams = paths["/auth/user/{id}/notification-preferences"]["put"]["parameters"]["path"];
|
|
10571
|
+
type UpdateNotificationPreferencesBody = NonNullable<paths["/auth/user/{id}/notification-preferences"]["put"]["requestBody"]>["content"]["application/json"];
|
|
10572
|
+
type GenerateOtpResponse = paths["/auth/generate-otp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10573
|
+
type GenerateOtpContent = GenerateOtpResponse["content"];
|
|
10574
|
+
type GenerateOtpBody = NonNullable<paths["/auth/generate-otp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10575
|
+
type LogoutResponse = paths["/auth/logout"]["post"]["responses"][200]["content"]["application/json"];
|
|
10576
|
+
type LogoutContent = LogoutResponse["content"];
|
|
10577
|
+
type ListUserReviewsResponse = paths["/customers/{user_id}/reviews"]["get"]["responses"][200]["content"]["application/json"];
|
|
10578
|
+
type ListUserReviewsContent = ListUserReviewsResponse["content"];
|
|
10579
|
+
type ListUserReviewsPathParams = paths["/customers/{user_id}/reviews"]["get"]["parameters"]["path"];
|
|
10580
|
+
type CheckVerificationStatusResponse = paths["/auth/verified-email-phone"]["post"]["responses"][200]["content"]["application/json"];
|
|
10581
|
+
type CheckVerificationStatusContent = CheckVerificationStatusResponse["content"];
|
|
10582
|
+
type CheckVerificationStatusBody = NonNullable<paths["/auth/verified-email-phone"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10583
|
+
type GenerateHashResponse = paths["/payments/generate-hash"]["post"]["responses"][200]["content"]["application/json"];
|
|
10584
|
+
type GenerateHashContent = GenerateHashResponse["content"];
|
|
10585
|
+
type GenerateHashBody = NonNullable<paths["/payments/generate-hash"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10586
|
+
type ListPaymentMethodsResponse = paths["/payments/payment-methods"]["get"]["responses"][200]["content"]["application/json"];
|
|
10587
|
+
type ListPaymentMethodsContent = ListPaymentMethodsResponse["content"];
|
|
10588
|
+
type ListPaymentMethodsQuery = paths["/payments/payment-methods"]["get"]["parameters"]["query"];
|
|
10589
|
+
type ListSavedCardsResponse = paths["/payments/cards"]["get"]["responses"][200]["content"]["application/json"];
|
|
10590
|
+
type ListSavedCardsContent = ListSavedCardsResponse["content"];
|
|
10591
|
+
type ListSavedCardsQuery = paths["/payments/cards"]["get"]["parameters"]["query"];
|
|
10592
|
+
type AddCardResponse = paths["/payments/cards"]["post"]["responses"][200]["content"]["application/json"];
|
|
10593
|
+
type AddCardContent = AddCardResponse["content"];
|
|
10594
|
+
type AddCardBody = NonNullable<paths["/payments/cards"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10595
|
+
type VerifyVpaResponse = paths["/payments/verify-vpa"]["get"]["responses"][200]["content"]["application/json"];
|
|
10596
|
+
type VerifyVpaContent = VerifyVpaResponse["content"];
|
|
10597
|
+
type VerifyVpaQuery = paths["/payments/verify-vpa"]["get"]["parameters"]["query"];
|
|
10598
|
+
type CreateJuspayOrderResponse = paths["/payments/juspay/create-order"]["post"]["responses"][200]["content"]["application/json"];
|
|
10599
|
+
type CreateJuspayOrderContent = CreateJuspayOrderResponse["content"];
|
|
10600
|
+
type CreateJuspayOrderBody = NonNullable<paths["/payments/juspay/create-order"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10601
|
+
type CreateJuspayCustomerResponse = paths["/payments/juspay/customers"]["post"]["responses"][200]["content"]["application/json"];
|
|
10602
|
+
type CreateJuspayCustomerContent = CreateJuspayCustomerResponse["content"];
|
|
10603
|
+
type CreateJuspayCustomerBody = NonNullable<paths["/payments/juspay/customers"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10604
|
+
type GetJuspayCustomerResponse = paths["/payments/juspay/customers/{user-id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10605
|
+
type GetJuspayCustomerContent = GetJuspayCustomerResponse["content"];
|
|
10606
|
+
type GetJuspayCustomerPathParams = paths["/payments/juspay/customers/{user-id}"]["get"]["parameters"]["path"];
|
|
10607
|
+
type ListCountriesResponse = paths["/common/countries"]["get"]["responses"][200]["content"]["application/json"];
|
|
10608
|
+
type ListCountriesContent = ListCountriesResponse["content"];
|
|
10609
|
+
type ListCountryStatesResponse = paths["/common/countries/{country_iso_code}/states"]["get"]["responses"][200]["content"]["application/json"];
|
|
10610
|
+
type ListCountryStatesContent = ListCountryStatesResponse["content"];
|
|
10611
|
+
type ListCountryStatesPathParams = paths["/common/countries/{country_iso_code}/states"]["get"]["parameters"]["path"];
|
|
10612
|
+
type ListCountryPincodesResponse = paths["/common/countries/{country_iso_code}/pincodes"]["get"]["responses"][200]["content"]["application/json"];
|
|
10613
|
+
type ListCountryPincodesContent = ListCountryPincodesResponse["content"];
|
|
10614
|
+
type ListCountryPincodesQuery = paths["/common/countries/{country_iso_code}/pincodes"]["get"]["parameters"]["query"];
|
|
10615
|
+
type ListCountryPincodesPathParams = paths["/common/countries/{country_iso_code}/pincodes"]["get"]["parameters"]["path"];
|
|
10616
|
+
type ListReturnsResponse = paths["/orders/returns"]["get"]["responses"][200]["content"]["application/json"];
|
|
10617
|
+
type ListReturnsContent = ListReturnsResponse["content"];
|
|
10618
|
+
type TrackAnalyticsEventResponse = paths["/analytics/track"]["post"]["responses"][200]["content"]["application/json"];
|
|
10619
|
+
type TrackAnalyticsEventBody = NonNullable<paths["/analytics/track"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10620
|
+
type SubscribeNewsletterResponse = paths["/campaigns/newsletter-subscribe"]["post"]["responses"][200]["content"]["application/json"];
|
|
10621
|
+
type SubscribeNewsletterBody = NonNullable<paths["/campaigns/newsletter-subscribe"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10622
|
+
type CreateSubscriptionResponse = paths["/subscriptions"]["post"]["responses"][200]["content"]["application/json"];
|
|
10623
|
+
type CreateSubscriptionContent = CreateSubscriptionResponse["content"];
|
|
10624
|
+
type CreateSubscriptionBody = NonNullable<paths["/subscriptions"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10625
|
+
type ListSubscriptionsResponse = paths["/subscriptions"]["get"]["responses"][200]["content"]["application/json"];
|
|
10626
|
+
type ListSubscriptionsContent = ListSubscriptionsResponse["content"];
|
|
10627
|
+
type GetSubscriptionResponse = paths["/subscriptions/{id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10628
|
+
type GetSubscriptionContent = GetSubscriptionResponse["content"];
|
|
10629
|
+
type GetSubscriptionPathParams = paths["/subscriptions/{id}"]["get"]["parameters"]["path"];
|
|
10630
|
+
type UpdateSubscriptionResponse = paths["/subscriptions/{id}"]["put"]["responses"][200]["content"]["application/json"];
|
|
10631
|
+
type UpdateSubscriptionContent = UpdateSubscriptionResponse["content"];
|
|
10632
|
+
type UpdateSubscriptionPathParams = paths["/subscriptions/{id}"]["put"]["parameters"]["path"];
|
|
10633
|
+
type UpdateSubscriptionBody = NonNullable<paths["/subscriptions/{id}"]["put"]["requestBody"]>["content"]["application/json"];
|
|
10634
|
+
type PairPosDeviceResponse = paths["/pos/auth/pair-device"]["post"]["responses"][200]["content"]["application/json"];
|
|
10635
|
+
type PairPosDeviceContent = PairPosDeviceResponse["content"];
|
|
10636
|
+
type PairPosDeviceBody = NonNullable<paths["/pos/auth/pair-device"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10637
|
+
type LoginPosDeviceWithPhoneResponse = paths["/pos/auth/login/phone"]["post"]["responses"][200]["content"]["application/json"];
|
|
10638
|
+
type LoginPosDeviceWithPhoneContent = LoginPosDeviceWithPhoneResponse["content"];
|
|
10639
|
+
type LoginPosDeviceWithPhoneBody = NonNullable<paths["/pos/auth/login/phone"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10640
|
+
type LoginPosDeviceWithWhatsappResponse = paths["/pos/auth/login/whatsapp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10641
|
+
type LoginPosDeviceWithWhatsappContent = LoginPosDeviceWithWhatsappResponse["content"];
|
|
10642
|
+
type LoginPosDeviceWithWhatsappBody = NonNullable<paths["/pos/auth/login/whatsapp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10643
|
+
type LoginPosDeviceWithEmailResponse = paths["/pos/auth/login/email"]["post"]["responses"][200]["content"]["application/json"];
|
|
10644
|
+
type LoginPosDeviceWithEmailContent = LoginPosDeviceWithEmailResponse["content"];
|
|
10645
|
+
type LoginPosDeviceWithEmailBody = NonNullable<paths["/pos/auth/login/email"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10646
|
+
type VerifyPosLoginOtpResponse = paths["/pos/auth/verify-otp"]["post"]["responses"][200]["content"]["application/json"];
|
|
10647
|
+
type VerifyPosLoginOtpContent = VerifyPosLoginOtpResponse["content"];
|
|
10648
|
+
type VerifyPosLoginOtpBody = NonNullable<paths["/pos/auth/verify-otp"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10649
|
+
type RefreshPosAccessTokenResponse = paths["/pos/auth/refresh-token"]["post"]["responses"][200]["content"]["application/json"];
|
|
10650
|
+
type RefreshPosAccessTokenContent = RefreshPosAccessTokenResponse["content"];
|
|
10651
|
+
type RefreshPosAccessTokenBody = NonNullable<paths["/pos/auth/refresh-token"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10652
|
+
type CreatePosCartResponse = paths["/pos/carts"]["post"]["responses"][200]["content"]["application/json"];
|
|
10653
|
+
type CreatePosCartContent = CreatePosCartResponse["content"];
|
|
10654
|
+
type CreatePosCartBody = NonNullable<paths["/pos/carts"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10655
|
+
type GetPosCartResponse = paths["/pos/carts/{id}"]["get"]["responses"][200]["content"]["application/json"];
|
|
10656
|
+
type GetPosCartContent = GetPosCartResponse["content"];
|
|
10657
|
+
type GetPosCartPathParams = paths["/pos/carts/{id}"]["get"]["parameters"]["path"];
|
|
10658
|
+
type UpdatePosCartResponse = paths["/pos/carts/{id}/items"]["post"]["responses"][200]["content"]["application/json"];
|
|
10659
|
+
type UpdatePosCartContent = UpdatePosCartResponse["content"];
|
|
10660
|
+
type UpdatePosCartPathParams = paths["/pos/carts/{id}/items"]["post"]["parameters"]["path"];
|
|
10661
|
+
type UpdatePosCartBody = NonNullable<paths["/pos/carts/{id}/items"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10662
|
+
type UpdatePosCartCustomerResponse = paths["/pos/carts/{id}/update-customer"]["post"]["responses"][200]["content"]["application/json"];
|
|
10663
|
+
type UpdatePosCartCustomerContent = UpdatePosCartCustomerResponse["content"];
|
|
10664
|
+
type UpdatePosCartCustomerPathParams = paths["/pos/carts/{id}/update-customer"]["post"]["parameters"]["path"];
|
|
10665
|
+
type UpdatePosCartCustomerBody = NonNullable<paths["/pos/carts/{id}/update-customer"]["post"]["requestBody"]>["content"]["application/json"];
|
|
10666
|
+
type UpdatePosCartAddressResponse = paths["/pos/carts/{id}/address"]["post"]["responses"][200]["content"]["application/json"];
|
|
10667
|
+
type UpdatePosCartAddressContent = UpdatePosCartAddressResponse["content"];
|
|
10668
|
+
type UpdatePosCartAddressPathParams = paths["/pos/carts/{id}/address"]["post"]["parameters"]["path"];
|
|
10669
|
+
type UpdatePosCartAddressBody = NonNullable<paths["/pos/carts/{id}/address"]["post"]["requestBody"]>["content"]["application/json"];
|
|
9352
10670
|
|
|
9353
10671
|
/**
|
|
9354
10672
|
* Available API environments
|
|
@@ -9720,6 +11038,28 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
9720
11038
|
* @returns Promise with all available promotions
|
|
9721
11039
|
*/
|
|
9722
11040
|
getAvailablePromotions(headers?: ListPromotionsHeaderParams): Promise<ApiResult<ListPromotionsContent>>;
|
|
11041
|
+
/**
|
|
11042
|
+
* Evaluate promotions
|
|
11043
|
+
*
|
|
11044
|
+
* @param cartId - The ID of the cart
|
|
11045
|
+
* @returns Promise with evaluated promotions
|
|
11046
|
+
*/
|
|
11047
|
+
evaluatePromotions(cartId: EvaluatePromotionsPathParams): Promise<ApiResult<EvaluatePromotionsContent>>;
|
|
11048
|
+
/**
|
|
11049
|
+
* Evaluate coupons
|
|
11050
|
+
*
|
|
11051
|
+
* @param cartId - The ID of the cart
|
|
11052
|
+
* @returns Promise with evaluated coupons
|
|
11053
|
+
*/
|
|
11054
|
+
evaluateCoupons(cartId: EvaluateCouponsPathParams): Promise<ApiResult<EvaluateCouponsContent>>;
|
|
11055
|
+
/**
|
|
11056
|
+
* Update cart customer
|
|
11057
|
+
*
|
|
11058
|
+
* @param cartId - The ID of the cart
|
|
11059
|
+
* @param body - The body of the request
|
|
11060
|
+
* @returns Promise with updated cart
|
|
11061
|
+
*/
|
|
11062
|
+
updateCartCustomer(cartId: UpdateCartCustomerPathParams, body: UpdateCartCustomerBody): Promise<ApiResult<UpdateCartCustomerContent>>;
|
|
9723
11063
|
}
|
|
9724
11064
|
|
|
9725
11065
|
/**
|
|
@@ -10478,4 +11818,4 @@ declare class StorefrontSDK {
|
|
|
10478
11818
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
10479
11819
|
}
|
|
10480
11820
|
|
|
10481
|
-
export { type AddCardBody, type AddCardContent, type AddCardResponse, type AddProfileImageContent, type AddProfileImageFormData, type AddProfileImagePathParams, type AddProfileImageResponse, type AddToWishlistBody, type AddToWishlistContent, type AddToWishlistPathParams, type AddToWishlistResponse, type ApiErrorResponse, type ApiResult, type ApplyCouponBody, type ApplyCouponContent, type ApplyCouponPathParams, type ApplyCouponResponse, AuthClient, BrowserTokenStorage, type CancelOrderBody, type CancelOrderContent, type CancelOrderPathParams, type CancelOrderResponse, CartClient, CatalogClient, type ChangePasswordBody, type ChangePasswordContent, type ChangePasswordResponse, type CheckPincodeServiceabilityContent, type CheckPincodeServiceabilityPathParams, type CheckPincodeServiceabilityResponse, type CheckVerificationStatusBody, type CheckVerificationStatusContent, type CheckVerificationStatusResponse, CookieTokenStorage, type CookieTokenStorageOptions, type CreateAddressBody, type CreateAddressContent, type CreateAddressPathParams, type CreateAddressResponse, type CreateCartAddressBody, type CreateCartAddressContent, type CreateCartAddressPathParams, type CreateCartAddressResponse, type CreateCartBody, type CreateCartContent, type CreateCartResponse, type CreateCustomerBody, type CreateCustomerContent, type CreateCustomerResponse, type CreateDocumentContent, type CreateDocumentFormData, type CreateDocumentPathParams, type CreateDocumentResponse, type CreateJuspayCustomerBody, type CreateJuspayCustomerContent, type CreateJuspayCustomerResponse, type CreateJuspayOrderBody, type CreateJuspayOrderContent, type CreateJuspayOrderResponse, type CreateNotificationPreferencesBody, type CreateNotificationPreferencesContent, type CreateNotificationPreferencesPathParams, type CreateNotificationPreferencesResponse, type CreateOrderBody, type CreateOrderContent, type CreateOrderResponse, type CreateOrderReturnBody, type CreateOrderReturnContent, type CreateOrderReturnPathParams, type CreateOrderReturnResponse, type CreateProductReviewFormData, type CreateProductReviewPathParams, type CreateProductReviewResponse, type CreateSubscriptionBody, type CreateSubscriptionContent, type CreateSubscriptionResponse, CustomerClient, type DeactivateUserPathParams, type DeactivateUserResponse, type DebugLoggerFn, type DeleteAddressPathParams, type DeleteAddressResponse, type DeleteCartPathParams, type DeleteCartResponse, type DeleteDocumentPathParams, type DeleteDocumentResponse, type DeleteFromWishlistBody, type DeleteFromWishlistContent, type DeleteFromWishlistPathParams, type DeleteFromWishlistResponse, type DeleteUserCartPathParams, type DeleteUserCartResponse, Environment, type ForgotPasswordBody, type ForgotPasswordContent, type ForgotPasswordResponse, type GenerateHashBody, type GenerateHashContent, type GenerateHashResponse, type GenerateOtpBody, type GenerateOtpContent, type GenerateOtpResponse, type GetAddressDetailContent, type GetAddressDetailPathParams, type GetAddressDetailResponse, type GetAnonymousTokenContent, type GetAnonymousTokenResponse, type GetCartContent, type GetCartPathParams, type GetCartResponse, type GetConfigContent, type GetConfigResponse, type GetCustomerDetailContent, type GetCustomerDetailPathParams, type GetCustomerDetailResponse, type GetDocumentContent, type GetDocumentPathParams, type GetDocumentResponse, type GetJuspayCustomerContent, type GetJuspayCustomerPathParams, type GetJuspayCustomerResponse, type GetLoyaltyDetailsContent, type GetLoyaltyDetailsPathParams, type GetLoyaltyDetailsResponse, type GetNotificationPreferencesContent, type GetNotificationPreferencesPathParams, type GetNotificationPreferencesResponse, type GetOrderDetailContent, type GetOrderDetailPathParams, type GetOrderDetailResponse, type GetOrderReturnDetailContent, type GetOrderReturnDetailPathParams, type GetOrderReturnDetailResponse, type GetPaymentStatusContent, type GetPaymentStatusPathParams, type GetPaymentStatusResponse, type GetProductDetailContent, type GetProductDetailHeaderParams, type GetProductDetailPathParams, type GetProductDetailResponse, type GetProfileImageContent, type GetProfileImagePathParams, type GetProfileImageResponse, type GetShippingMethodsBody, type GetShippingMethodsContent, type GetShippingMethodsResponse, type GetSubscriptionContent, type GetSubscriptionPathParams, type GetSubscriptionResponse, type GetUserCartContent, type GetUserCartPathParams, type GetUserCartResponse, type GetUserDetailContent, type GetUserDetailPathParams, type GetUserDetailResponse, type GetVariantDetailContent, type GetVariantDetailHeaderParams, type GetVariantDetailPathParams, type GetVariantDetailResponse, type GetWishlistContent, type GetWishlistPathParams, type GetWishlistResponse, HelpersClient, type ListAddressesContent, type ListAddressesPathParams, type ListAddressesQuery, type ListAddressesResponse, type ListCategoriesContent, type ListCategoriesQuery, type ListCategoriesResponse, type ListCountriesContent, type ListCountriesResponse, type ListCountryPincodesContent, type ListCountryPincodesPathParams, type ListCountryPincodesQuery, type ListCountryPincodesResponse, type ListCountryStatesContent, type ListCountryStatesPathParams, type ListCountryStatesResponse, type ListCouponsContent, type ListCouponsHeaderParams, type ListCouponsResponse, type ListCrosssellProductsContent, type ListCrosssellProductsHeaderParams, type ListCrosssellProductsQuery, type ListCrosssellProductsResponse, type ListDocumentsContent, type ListDocumentsPathParams, type ListDocumentsResponse, type ListKycDocumentContent, type ListKycDocumentResponse, type ListLoyaltyActivitiesContent, type ListLoyaltyActivitiesPathParams, type ListLoyaltyActivitiesQuery, type ListLoyaltyActivitiesResponse, type ListOrderPaymentsContent, type ListOrderPaymentsPathParams, type ListOrderPaymentsResponse, type ListOrderRefundsContent, type ListOrderRefundsPathParams, type ListOrderRefundsResponse, type ListOrderShipmentsContent, type ListOrderShipmentsPathParams, type ListOrderShipmentsResponse, type ListOrdersContent, type ListOrdersQuery, type ListOrdersResponse, type ListPaymentMethodsContent, type ListPaymentMethodsQuery, type ListPaymentMethodsResponse, type ListProductReviewsContent, type ListProductReviewsPathParams, type ListProductReviewsQuery, type ListProductReviewsResponse, type ListProductVariantsContent, type ListProductVariantsHeaderParams, type ListProductVariantsPathParams, type ListProductVariantsResponse, type ListProductsContent, type ListProductsHeaderParams, type ListProductsQuery, type ListProductsResponse, type ListPromotionsContent, type ListPromotionsHeaderParams, type ListPromotionsResponse, type ListReturnsContent, type ListReturnsResponse, type ListSavedCardsContent, type ListSavedCardsQuery, type ListSavedCardsResponse, type ListSimilarProductsContent, type ListSimilarProductsHeaderParams, type ListSimilarProductsQuery, type ListSimilarProductsResponse, type ListSkusContent, type ListSkusHeaderParams, type ListSkusQuery, type ListSkusResponse, type ListSubscriptionsContent, type ListSubscriptionsResponse, type ListUpsellProductsContent, type ListUpsellProductsHeaderParams, type ListUpsellProductsQuery, type ListUpsellProductsResponse, type ListUserReviewsContent, type ListUserReviewsPathParams, type ListUserReviewsResponse, type LoginWithEmailBody, type LoginWithEmailContent, type LoginWithEmailResponse, type LoginWithPasswordBody, type LoginWithPasswordContent, type LoginWithPasswordResponse, type LoginWithPhoneBody, type LoginWithPhoneContent, type LoginWithPhoneResponse, type LoginWithWhatsappBody, type LoginWithWhatsappContent, type LoginWithWhatsappResponse, type LogoutContent, type LogoutResponse, MemoryTokenStorage, OrderClient, type RedeemCreditBalanceBody, type RedeemCreditBalanceContent, type RedeemCreditBalancePathParams, type RedeemCreditBalanceResponse, type RedeemGiftCardBody, type RedeemGiftCardContent, type RedeemGiftCardPathParams, type RedeemGiftCardResponse, type RedeemLoyaltyPointsBody, type RedeemLoyaltyPointsContent, type RedeemLoyaltyPointsPathParams, type RedeemLoyaltyPointsResponse, type RefreshTokenBody, type RefreshTokenContent, type RefreshTokenResponse, type RegisterWithEmailBody, type RegisterWithEmailContent, type RegisterWithEmailResponse, type RegisterWithPasswordBody, type RegisterWithPasswordContent, type RegisterWithPasswordResponse, type RegisterWithPhoneBody, type RegisterWithPhoneContent, type RegisterWithPhoneResponse, type RegisterWithWhatsappBody, type RegisterWithWhatsappContent, type RegisterWithWhatsappResponse, type RemoveCouponContent, type RemoveCouponPathParams, type RemoveCouponResponse, type RemoveCreditBalanceContent, type RemoveCreditBalancePathParams, type RemoveCreditBalanceResponse, type RemoveGiftCardContent, type RemoveGiftCardPathParams, type RemoveGiftCardResponse, type RemoveLoyaltyPointsContent, type RemoveLoyaltyPointsPathParams, type RemoveLoyaltyPointsResponse, type RemoveProfileImagePathParams, type RemoveProfileImageResponse, type ResetPasswordBody, type ResetPasswordContent, type ResetPasswordResponse, ResponseUtils, type RetryOrderPaymentBody, type RetryOrderPaymentContent, type RetryOrderPaymentPathParams, type RetryOrderPaymentResponse, type SearchProductsBody, type SearchProductsContent, type SearchProductsHeaderParams, type SearchProductsResponse, ShippingClient, StoreConfigClient, StorefrontAPIClient, StorefrontSDK, type StorefrontSDKOptions, type SubscribeNewsletterBody, type SubscribeNewsletterResponse, type SupportedDefaultHeaders, type TokenStorage, type TrackAnalyticsEventBody, type TrackAnalyticsEventResponse, type UpdateAddressDetailBody, type UpdateAddressDetailContent, type UpdateAddressDetailPathParams, type UpdateAddressDetailResponse, type UpdateCartBody, type UpdateCartContent, type UpdateCartPathParams, type UpdateCartResponse, type UpdateCustomerBody, type UpdateCustomerContent, type UpdateCustomerPathParams, type UpdateCustomerResponse, type UpdateDocumentContent, type UpdateDocumentFormData, type UpdateDocumentPathParams, type UpdateDocumentResponse, type UpdateNotificationPreferencesBody, type UpdateNotificationPreferencesContent, type UpdateNotificationPreferencesPathParams, type UpdateNotificationPreferencesResponse, type UpdateProfileImageContent, type UpdateProfileImageFormData, type UpdateProfileImagePathParams, type UpdateProfileImageResponse, type UpdateShippingMethodBody, type UpdateShippingMethodContent, type UpdateShippingMethodPathParams, type UpdateShippingMethodResponse, type UpdateSubscriptionBody, type UpdateSubscriptionContent, type UpdateSubscriptionPathParams, type UpdateSubscriptionResponse, type UpdateUserBody, type UpdateUserContent, type UpdateUserPathParams, type UpdateUserResponse, type UserInfo, type VerifyDocumentBody, type VerifyDocumentContent, type VerifyDocumentPathParams, type VerifyDocumentResponse, type VerifyOtpBody, type VerifyOtpContent, type VerifyOtpResponse, type VerifyVpaContent, type VerifyVpaQuery, type VerifyVpaResponse, type components, StorefrontSDK as default, type operations, type paths };
|
|
11821
|
+
export { type AcceleratedRewardCouponPromotion, type AcceleratedRewardRule, type AddCardBody, type AddCardContent, type AddCardResponse, type AddProfileImageContent, type AddProfileImageFormData, type AddProfileImagePathParams, type AddProfileImageResponse, type AddToWishlistBody, type AddToWishlistContent, type AddToWishlistPathParams, type AddToWishlistResponse, type AdditionalProductDetails, type AnalyticsEvent, type AnonymousUser, type ApiErrorResponse, type ApiResult, type AppliedCoupon, type AppliedPromotion, type ApplyCouponBody, type ApplyCouponContent, type ApplyCouponPathParams, type ApplyCouponResponse, type AssociatedOption, AuthClient, type AutoScaleBasedOnAmount, type AutoScaleBasedOnQuantity, type BankTransfer, type BooleanAttribute, type Brand, BrowserTokenStorage, type Business, type BuyXGetYCouponPromotion, type BuyXGetYRule, type BuyXGetYRuleBasedOnAmount, type BuyXGetYRuleBasedOnQuantity, type CancelOrderBody, type CancelOrderContent, type CancelOrderPathParams, type CancelOrderResponse, type CardPayment, type Cart, type CartBasedServiceabilityCheck, CartClient, type CartItem, CatalogClient, type Category, type ChangePasswordBody, type ChangePasswordContent, type ChangePasswordResponse, type CheckPincodeServiceabilityContent, type CheckPincodeServiceabilityPathParams, type CheckPincodeServiceabilityResponse, type CheckVerificationStatusBody, type CheckVerificationStatusContent, type CheckVerificationStatusResponse, type ColorAttribute, type ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, type Country, type CountryState, type Coupon, type CouponPromotionCommonDetail, type CreateAddressBody, type CreateAddressContent, type CreateAddressPathParams, type CreateAddressResponse, type CreateCartAddressBody, type CreateCartAddressContent, type CreateCartAddressPathParams, type CreateCartAddressResponse, type CreateCartBody, type CreateCartContent, type CreateCartResponse, type CreateCustomSubscription, type CreateCustomer, type CreateCustomerBody, type CreateCustomerContent, type CreateCustomerResponse, type CreateDocumentContent, type CreateDocumentFormData, type CreateDocumentPathParams, type CreateDocumentResponse, type CreateJuspayCustomerBody, type CreateJuspayCustomerContent, type CreateJuspayCustomerResponse, type CreateJuspayOrderBody, type CreateJuspayOrderContent, type CreateJuspayOrderResponse, type CreateNotificationPreferencesBody, type CreateNotificationPreferencesContent, type CreateNotificationPreferencesPathParams, type CreateNotificationPreferencesResponse, type CreateOrderBody, type CreateOrderContent, type CreateOrderResponse, type CreateOrderReturn, type CreateOrderReturnBody, type CreateOrderReturnContent, type CreateOrderReturnPathParams, type CreateOrderReturnResponse, type CreatePosCartBody, type CreatePosCartContent, type CreatePosCartResponse, type CreateProductReviewFormData, type CreateProductReviewPathParams, type CreateProductReviewResponse, type CreateReview, type CreateStandardSubscription, type CreateSubscription, type CreateSubscriptionBody, type CreateSubscriptionContent, type CreateSubscriptionResponse, type Currency, type CustomSlabsBasedOnAmount, type CustomSlabsBasedOnQuantity, type CustomerAddress, CustomerClient, type CustomerDetail, type CustomerGroup, type CustomerLoyalty, type CustomerReadyForReview, type CustomerReview, type DateAttribute, type DeactivateUserPathParams, type DeactivateUserResponse, type DebugLoggerFn, type DeleteAddressPathParams, type DeleteAddressResponse, type DeleteCartPathParams, type DeleteCartResponse, type DeleteDocumentPathParams, type DeleteDocumentResponse, type DeleteFromWishlistBody, type DeleteFromWishlistContent, type DeleteFromWishlistPathParams, type DeleteFromWishlistResponse, type DeleteUserCartPathParams, type DeleteUserCartResponse, type DiscountBasedPromotion, type DiscountCouponPromotion, type DiscountRule, type Document, Environment, type EvaluateCouponsContent, type EvaluateCouponsPathParams, type EvaluateCouponsResponse, type EvaluatePosCouponsContent, type EvaluatePosCouponsPathParams, type EvaluatePosCouponsResponse, type EvaluatePosPromotionsContent, type EvaluatePosPromotionsPathParams, type EvaluatePosPromotionsResponse, type EvaluatePromotionsContent, type EvaluatePromotionsPathParams, type EvaluatePromotionsResponse, type FixedAmountDiscountRule, type FixedPriceCouponPromotion, type FixedPricePromotion, type FixedPriceRule, type FixedPriceRuleBasedAmount, type FixedPriceRuleBasedQuantity, type ForgotPasswordBody, type ForgotPasswordContent, type ForgotPasswordResponse, type FreeGoodCouponPromotion, type FreeGoodsPromotion, type FreeGoodsRule, type FreeShipingCouponPromotion, type GenerateHashBody, type GenerateHashContent, type GenerateHashResponse, type GenerateOtpBody, type GenerateOtpContent, type GenerateOtpResponse, type GenerateOtpWithEmail, type GenerateOtpWithPhone, type GetAddressDetailContent, type GetAddressDetailPathParams, type GetAddressDetailResponse, type GetAnonymousTokenContent, type GetAnonymousTokenResponse, type GetCartContent, type GetCartPathParams, type GetCartResponse, type GetConfigContent, type GetConfigResponse, type GetCustomerDetailContent, type GetCustomerDetailPathParams, type GetCustomerDetailResponse, type GetDocumentContent, type GetDocumentPathParams, type GetDocumentResponse, type GetJuspayCustomerContent, type GetJuspayCustomerPathParams, type GetJuspayCustomerResponse, type GetLoyaltyDetailsContent, type GetLoyaltyDetailsPathParams, type GetLoyaltyDetailsResponse, type GetNotificationPreferencesContent, type GetNotificationPreferencesPathParams, type GetNotificationPreferencesResponse, type GetOrderDetailContent, type GetOrderDetailPathParams, type GetOrderDetailResponse, type GetOrderReturnDetailContent, type GetOrderReturnDetailPathParams, type GetOrderReturnDetailResponse, type GetPaymentStatusContent, type GetPaymentStatusPathParams, type GetPaymentStatusResponse, type GetPosCartContent, type GetPosCartPathParams, type GetPosCartResponse, type GetProductDetailContent, type GetProductDetailHeaderParams, type GetProductDetailPathParams, type GetProductDetailResponse, type GetProfileImageContent, type GetProfileImagePathParams, type GetProfileImageResponse, type GetShippingMethodsBody, type GetShippingMethodsContent, type GetShippingMethodsResponse, type GetSubscriptionContent, type GetSubscriptionPathParams, type GetSubscriptionResponse, type GetUserCartContent, type GetUserCartPathParams, type GetUserCartResponse, type GetUserDetailContent, type GetUserDetailPathParams, type GetUserDetailResponse, type GetVariantDetailContent, type GetVariantDetailHeaderParams, type GetVariantDetailPathParams, type GetVariantDetailResponse, type GetWishlistContent, type GetWishlistPathParams, type GetWishlistResponse, type GstinDetail, HelpersClient, type Item, type JuspayCardPayload, type JuspayCreateCardResponse, type JuspayCreateCustomerPayload, type JuspayCreateOrderPayload, type JuspayCustomer, type JuspayOrder, type JuspayPaymentGatewayParams, type JuspayPaymentInfo, type JuspayPaymentMethod, type JuspaySavedCard, type KycDocument, type KycDocumentConfig, type ListAddressesContent, type ListAddressesPathParams, type ListAddressesQuery, type ListAddressesResponse, type ListCategoriesContent, type ListCategoriesQuery, type ListCategoriesResponse, type ListCountriesContent, type ListCountriesResponse, type ListCountryPincodesContent, type ListCountryPincodesPathParams, type ListCountryPincodesQuery, type ListCountryPincodesResponse, type ListCountryStatesContent, type ListCountryStatesPathParams, type ListCountryStatesResponse, type ListCouponsContent, type ListCouponsHeaderParams, type ListCouponsResponse, type ListCrosssellProductsContent, type ListCrosssellProductsHeaderParams, type ListCrosssellProductsQuery, type ListCrosssellProductsResponse, type ListDocumentsContent, type ListDocumentsPathParams, type ListDocumentsResponse, type ListKycDocumentContent, type ListKycDocumentResponse, type ListLoyaltyActivitiesContent, type ListLoyaltyActivitiesPathParams, type ListLoyaltyActivitiesQuery, type ListLoyaltyActivitiesResponse, type ListOrderPaymentsContent, type ListOrderPaymentsPathParams, type ListOrderPaymentsResponse, type ListOrderRefundsContent, type ListOrderRefundsPathParams, type ListOrderRefundsResponse, type ListOrderShipmentsContent, type ListOrderShipmentsPathParams, type ListOrderShipmentsResponse, type ListOrdersContent, type ListOrdersQuery, type ListOrdersResponse, type ListPaymentMethodsContent, type ListPaymentMethodsQuery, type ListPaymentMethodsResponse, type ListProductReviewsContent, type ListProductReviewsPathParams, type ListProductReviewsQuery, type ListProductReviewsResponse, type ListProductVariantsContent, type ListProductVariantsHeaderParams, type ListProductVariantsPathParams, type ListProductVariantsResponse, type ListProductsContent, type ListProductsHeaderParams, type ListProductsQuery, type ListProductsResponse, type ListPromotionsContent, type ListPromotionsHeaderParams, type ListPromotionsResponse, type ListReturnsContent, type ListReturnsResponse, type ListSavedCardsContent, type ListSavedCardsQuery, type ListSavedCardsResponse, type ListSimilarProductsContent, type ListSimilarProductsHeaderParams, type ListSimilarProductsQuery, type ListSimilarProductsResponse, type ListSkusContent, type ListSkusHeaderParams, type ListSkusQuery, type ListSkusResponse, type ListSubscriptionsContent, type ListSubscriptionsResponse, type ListUpsellProductsContent, type ListUpsellProductsHeaderParams, type ListUpsellProductsQuery, type ListUpsellProductsResponse, type ListUserReviewsContent, type ListUserReviewsPathParams, type ListUserReviewsResponse, type LoginPosDeviceWithEmailBody, type LoginPosDeviceWithEmailContent, type LoginPosDeviceWithEmailResponse, type LoginPosDeviceWithPhoneBody, type LoginPosDeviceWithPhoneContent, type LoginPosDeviceWithPhoneResponse, type LoginPosDeviceWithWhatsappBody, type LoginPosDeviceWithWhatsappContent, type LoginPosDeviceWithWhatsappResponse, type LoginWithEmailBody, type LoginWithEmailContent, type LoginWithEmailResponse, type LoginWithPasswordBody, type LoginWithPasswordContent, type LoginWithPasswordResponse, type LoginWithPhoneBody, type LoginWithPhoneContent, type LoginWithPhoneResponse, type LoginWithWhatsappBody, type LoginWithWhatsappContent, type LoginWithWhatsappResponse, type LogoutContent, type LogoutResponse, type LoyaltyPointActivity, type MeasurementUnit, MemoryTokenStorage, type MultiSelectAttribute, type NetbankingPayment, type NotificationChannelPreferences, type NotificationPreferences, type NumberAttribute, type Order, OrderClient, type OrderDetail, type OrderItem, type OrderList, type OrderPayment, type OrderRefund, type OrderReturn, type OrderReturnItem, type OrderShipment, type Pagination, type PairPosDeviceBody, type PairPosDeviceContent, type PairPosDeviceResponse, type PanDetail, type PauseSubscription, type PaymentInfo, type PayuCardPayload, type PayuCreateCardResponse, type PayuPaymentGatewayParams, type PayuPaymentInfo, type PayuPaymentMethod, type PayuSavedCard, type PercentageDiscountRule, type Pincode, type PincodeServiceability, type PosDevice, type PosUpdateCustomerWithEmail, type PosUpdateCustomerWithId, type PosUpdateCustomerWithPhone, type PosUser, type Product, type ProductAttribute, type ProductBundleItem, type ProductCategory, type ProductDetail, type ProductImage, type ProductPricing, type ProductPromotion, type ProductReview, type ProductShipping, type ProductSubscription, type ProductVideo, type Promotion, type RedeemCreditBalanceBody, type RedeemCreditBalanceContent, type RedeemCreditBalancePathParams, type RedeemCreditBalanceResponse, type RedeemGiftCardBody, type RedeemGiftCardContent, type RedeemGiftCardPathParams, type RedeemGiftCardResponse, type RedeemLoyaltyPointsBody, type RedeemLoyaltyPointsContent, type RedeemLoyaltyPointsPathParams, type RedeemLoyaltyPointsResponse, type RefreshPosAccessTokenBody, type RefreshPosAccessTokenContent, type RefreshPosAccessTokenResponse, type RefreshTokenBody, type RefreshTokenContent, type RefreshTokenResponse, type RegisterWithEmailBody, type RegisterWithEmailContent, type RegisterWithEmailPassword, type RegisterWithEmailResponse, type RegisterWithPasswordBody, type RegisterWithPasswordContent, type RegisterWithPasswordResponse, type RegisterWithPhoneBody, type RegisterWithPhoneContent, type RegisterWithPhonePassword, type RegisterWithPhoneResponse, type RegisterWithWhatsappBody, type RegisterWithWhatsappContent, type RegisterWithWhatsappResponse, type RemoveCouponContent, type RemoveCouponPathParams, type RemoveCouponResponse, type RemoveCreditBalanceContent, type RemoveCreditBalancePathParams, type RemoveCreditBalanceResponse, type RemoveGiftCardContent, type RemoveGiftCardPathParams, type RemoveGiftCardResponse, type RemoveLoyaltyPointsContent, type RemoveLoyaltyPointsPathParams, type RemoveLoyaltyPointsResponse, type RemoveProfileImagePathParams, type RemoveProfileImageResponse, type ResetPasswordBody, type ResetPasswordContent, type ResetPasswordResponse, ResponseUtils, type RetryOrderPaymentBody, type RetryOrderPaymentContent, type RetryOrderPaymentPathParams, type RetryOrderPaymentResponse, type RevokeSubscription, type SearchProduct, type SearchProductsBody, type SearchProductsContent, type SearchProductsHeaderParams, type SearchProductsResponse, type Seo, type ShipmentItem, ShippingClient, type SingleSelectAttribute, type SingleSelectOption, type StoreConfig, StoreConfigClient, type StoreTemplate, StorefrontAPIClient, StorefrontSDK, type StorefrontSDKOptions, type SubscribeNewsletterBody, type SubscribeNewsletterResponse, type Subscription, type SubscriptionBehaviour, type SubscriptionDetail, type SubscriptionInvoiceItem, type SupportedDefaultHeaders, type TextAttribute, type TokenStorage, type TrackAnalyticsEventBody, type TrackAnalyticsEventResponse, type UpdateAddressDetailBody, type UpdateAddressDetailContent, type UpdateAddressDetailPathParams, type UpdateAddressDetailResponse, type UpdateCartBody, type UpdateCartContent, type UpdateCartCustomerBody, type UpdateCartCustomerContent, type UpdateCartCustomerPathParams, type UpdateCartCustomerResponse, type UpdateCartItem, type UpdateCartPathParams, type UpdateCartResponse, type UpdateCustomer, type UpdateCustomerBody, type UpdateCustomerContent, type UpdateCustomerPathParams, type UpdateCustomerResponse, type UpdateDigitalProductSubscription, type UpdateDocument, type UpdateDocumentContent, type UpdateDocumentFormData, type UpdateDocumentPathParams, type UpdateDocumentResponse, type UpdateNotificationPreferencesBody, type UpdateNotificationPreferencesContent, type UpdateNotificationPreferencesPathParams, type UpdateNotificationPreferencesResponse, type UpdatePhysicalProductSubscription, type UpdatePosCartAddressBody, type UpdatePosCartAddressContent, type UpdatePosCartAddressPathParams, type UpdatePosCartAddressResponse, type UpdatePosCartBody, type UpdatePosCartContent, type UpdatePosCartCustomerBody, type UpdatePosCartCustomerContent, type UpdatePosCartCustomerPathParams, type UpdatePosCartCustomerResponse, type UpdatePosCartPathParams, type UpdatePosCartResponse, type UpdateProfileImageContent, type UpdateProfileImageFormData, type UpdateProfileImagePathParams, type UpdateProfileImageResponse, type UpdateShippingMethodBody, type UpdateShippingMethodContent, type UpdateShippingMethodPathParams, type UpdateShippingMethodResponse, type UpdateSubscriptionBody, type UpdateSubscriptionContent, type UpdateSubscriptionPathParams, type UpdateSubscriptionResponse, type UpdateUserBody, type UpdateUserContent, type UpdateUserPathParams, type UpdateUserResponse, type UpiPayment, type User, type UserInfo, type Variant, type VariantDetail, type VariantOption, type VerifyDocumentBody, type VerifyDocumentContent, type VerifyDocumentPathParams, type VerifyDocumentResponse, type VerifyOtpBody, type VerifyOtpContent, type VerifyOtpResponse, type VerifyPosLoginOtpBody, type VerifyPosLoginOtpContent, type VerifyPosLoginOtpResponse, type VerifyVpaContent, type VerifyVpaQuery, type VerifyVpaResponse, type VolumeBasedCouponPromotion, type VolumeBasedPromotion, type VolumeBasedRule, type WalletPayment, type components, StorefrontSDK as default, type operations, type paths };
|