@commercengine/storefront-sdk 0.10.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index.d.ts → index-C8nXwxS6.d.ts} +1527 -486
- package/dist/index.iife.js +298 -80
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +285 -66
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -303,7 +303,6 @@ interface paths {
|
|
|
303
303
|
* Register with whatsapp
|
|
304
304
|
* @description The API allows users to register with their WhatsApp. This endpoint enables the registration process by requesting the user's WhatsApp number, first name, last name, email.
|
|
305
305
|
* The response will include a message indicating the success or failure of the registration process, as well as additional information such as the user's information, access token and refresh token.
|
|
306
|
-
*
|
|
307
306
|
*/
|
|
308
307
|
post: operations["register-with-whatsapp"];
|
|
309
308
|
delete?: never;
|
|
@@ -806,30 +805,27 @@ interface paths {
|
|
|
806
805
|
patch?: never;
|
|
807
806
|
trace?: never;
|
|
808
807
|
};
|
|
809
|
-
"/
|
|
808
|
+
"/catalog/categories": {
|
|
810
809
|
parameters: {
|
|
811
810
|
query?: never;
|
|
812
811
|
header?: never;
|
|
813
|
-
path
|
|
814
|
-
/** @description Cart ID */
|
|
815
|
-
id: string;
|
|
816
|
-
};
|
|
812
|
+
path?: never;
|
|
817
813
|
cookie?: never;
|
|
818
814
|
};
|
|
819
|
-
get?: never;
|
|
820
|
-
put?: never;
|
|
821
815
|
/**
|
|
822
|
-
*
|
|
823
|
-
* @description
|
|
816
|
+
* List all categories
|
|
817
|
+
* @description Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
824
818
|
*/
|
|
825
|
-
|
|
819
|
+
get: operations["list-categories"];
|
|
820
|
+
put?: never;
|
|
821
|
+
post?: never;
|
|
826
822
|
delete?: never;
|
|
827
823
|
options?: never;
|
|
828
824
|
head?: never;
|
|
829
825
|
patch?: never;
|
|
830
826
|
trace?: never;
|
|
831
827
|
};
|
|
832
|
-
"/catalog/categories": {
|
|
828
|
+
"/catalog/marketplace/categories": {
|
|
833
829
|
parameters: {
|
|
834
830
|
query?: never;
|
|
835
831
|
header?: never;
|
|
@@ -840,7 +836,211 @@ interface paths {
|
|
|
840
836
|
* List all categories
|
|
841
837
|
* @description Returns a list of your product categories. The categories are returned sorted by creation date, with the most recently created categories appearing first.
|
|
842
838
|
*/
|
|
843
|
-
get: operations["list-categories"];
|
|
839
|
+
get: operations["list-marketplace-categories"];
|
|
840
|
+
put?: never;
|
|
841
|
+
post?: never;
|
|
842
|
+
delete?: never;
|
|
843
|
+
options?: never;
|
|
844
|
+
head?: never;
|
|
845
|
+
patch?: never;
|
|
846
|
+
trace?: never;
|
|
847
|
+
};
|
|
848
|
+
"/catalog/marketplace/products": {
|
|
849
|
+
parameters: {
|
|
850
|
+
query?: never;
|
|
851
|
+
header?: never;
|
|
852
|
+
path?: never;
|
|
853
|
+
cookie?: never;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* List all products
|
|
857
|
+
* @description Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.
|
|
858
|
+
*/
|
|
859
|
+
get: operations["list-marketplace-products"];
|
|
860
|
+
put?: never;
|
|
861
|
+
post?: never;
|
|
862
|
+
delete?: never;
|
|
863
|
+
options?: never;
|
|
864
|
+
head?: never;
|
|
865
|
+
patch?: never;
|
|
866
|
+
trace?: never;
|
|
867
|
+
};
|
|
868
|
+
"/catalog/marketplace/products/cross-sell": {
|
|
869
|
+
parameters: {
|
|
870
|
+
query?: never;
|
|
871
|
+
header?: never;
|
|
872
|
+
path?: never;
|
|
873
|
+
cookie?: never;
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Retrieve cross-sell products
|
|
877
|
+
* @description Retrieves a list of products specified for cross selling. The cross-sell products are returned based on product ids specified in request param.
|
|
878
|
+
*/
|
|
879
|
+
get: operations["list-marketplace-crosssell-products"];
|
|
880
|
+
put?: never;
|
|
881
|
+
post?: never;
|
|
882
|
+
delete?: never;
|
|
883
|
+
options?: never;
|
|
884
|
+
head?: never;
|
|
885
|
+
patch?: never;
|
|
886
|
+
trace?: never;
|
|
887
|
+
};
|
|
888
|
+
"/catalog/marketplace/products/search": {
|
|
889
|
+
parameters: {
|
|
890
|
+
query?: never;
|
|
891
|
+
header?: never;
|
|
892
|
+
path?: never;
|
|
893
|
+
cookie?: never;
|
|
894
|
+
};
|
|
895
|
+
get?: never;
|
|
896
|
+
put?: never;
|
|
897
|
+
/**
|
|
898
|
+
* Search products
|
|
899
|
+
* @description Search for products matching a specific words or characters given.
|
|
900
|
+
*/
|
|
901
|
+
post: operations["search-marketplace-products"];
|
|
902
|
+
delete?: never;
|
|
903
|
+
options?: never;
|
|
904
|
+
head?: never;
|
|
905
|
+
patch?: never;
|
|
906
|
+
trace?: never;
|
|
907
|
+
};
|
|
908
|
+
"/catalog/marketplace/products/similar": {
|
|
909
|
+
parameters: {
|
|
910
|
+
query?: never;
|
|
911
|
+
header?: never;
|
|
912
|
+
path?: never;
|
|
913
|
+
cookie?: never;
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Retrieve similar products
|
|
917
|
+
* @description Retrieves a list of products similar to a specified product based on their attributes and category. The similar products are returned sorted by relevance, with the most closely matching products appearing first. Useful for providing product recommendations to your customers.
|
|
918
|
+
*/
|
|
919
|
+
get: operations["list-marketplace-similar-products"];
|
|
920
|
+
put?: never;
|
|
921
|
+
post?: never;
|
|
922
|
+
delete?: never;
|
|
923
|
+
options?: never;
|
|
924
|
+
head?: never;
|
|
925
|
+
patch?: never;
|
|
926
|
+
trace?: never;
|
|
927
|
+
};
|
|
928
|
+
"/catalog/marketplace/products/up-sell": {
|
|
929
|
+
parameters: {
|
|
930
|
+
query?: never;
|
|
931
|
+
header?: never;
|
|
932
|
+
path?: never;
|
|
933
|
+
cookie?: never;
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* Retrieve up-sell products
|
|
937
|
+
* @description Retrieves a list of products specified for upsell. The upsell products are returned based on product ids specified in request param.
|
|
938
|
+
*/
|
|
939
|
+
get: operations["list-marketplace-upsell-products"];
|
|
940
|
+
put?: never;
|
|
941
|
+
post?: never;
|
|
942
|
+
delete?: never;
|
|
943
|
+
options?: never;
|
|
944
|
+
head?: never;
|
|
945
|
+
patch?: never;
|
|
946
|
+
trace?: never;
|
|
947
|
+
};
|
|
948
|
+
"/catalog/marketplace/products/{product_id_or_slug}": {
|
|
949
|
+
parameters: {
|
|
950
|
+
query?: never;
|
|
951
|
+
header?: never;
|
|
952
|
+
path?: never;
|
|
953
|
+
cookie?: never;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Retrieve a product detail
|
|
957
|
+
* @description Retrieves the details of an existing product. Supply either the unique product ID or the unique slug, and Commerce Engine will return the corresponding product information.
|
|
958
|
+
*/
|
|
959
|
+
get: operations["get-marketplace-product-detail"];
|
|
960
|
+
put?: never;
|
|
961
|
+
post?: never;
|
|
962
|
+
delete?: never;
|
|
963
|
+
options?: never;
|
|
964
|
+
head?: never;
|
|
965
|
+
patch?: never;
|
|
966
|
+
trace?: never;
|
|
967
|
+
};
|
|
968
|
+
"/catalog/marketplace/products/{product_id}/reviews": {
|
|
969
|
+
parameters: {
|
|
970
|
+
query?: never;
|
|
971
|
+
header?: never;
|
|
972
|
+
path?: never;
|
|
973
|
+
cookie?: never;
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* List all product reviews
|
|
977
|
+
* @description List of reviews for a specified product. The reviews are returned sorted by submission date, with the most recent reviews appearing first. You can filter the reviews by rating, reviewer, or date for more detailed analysis.
|
|
978
|
+
*/
|
|
979
|
+
get: operations["list-marketplace-product-reviews"];
|
|
980
|
+
put?: never;
|
|
981
|
+
/**
|
|
982
|
+
* Create product review
|
|
983
|
+
* @description Create a product review
|
|
984
|
+
*/
|
|
985
|
+
post: operations["create-marketplace-product-review"];
|
|
986
|
+
delete?: never;
|
|
987
|
+
options?: never;
|
|
988
|
+
head?: never;
|
|
989
|
+
patch?: never;
|
|
990
|
+
trace?: never;
|
|
991
|
+
};
|
|
992
|
+
"/catalog/marketplace/products/{product_id}/variants": {
|
|
993
|
+
parameters: {
|
|
994
|
+
query?: never;
|
|
995
|
+
header?: never;
|
|
996
|
+
path?: never;
|
|
997
|
+
cookie?: never;
|
|
998
|
+
};
|
|
999
|
+
/**
|
|
1000
|
+
* Retrieve product variants
|
|
1001
|
+
* @description Retrieves the variants of an existing product. Supply the unique product ID, and Commerce Engine will return the corresponding product variants information.
|
|
1002
|
+
*/
|
|
1003
|
+
get: operations["list-marketplace-product-variants"];
|
|
1004
|
+
put?: never;
|
|
1005
|
+
post?: never;
|
|
1006
|
+
delete?: never;
|
|
1007
|
+
options?: never;
|
|
1008
|
+
head?: never;
|
|
1009
|
+
patch?: never;
|
|
1010
|
+
trace?: never;
|
|
1011
|
+
};
|
|
1012
|
+
"/catalog/marketplace/products/{product_id}/variants/{variant_id}": {
|
|
1013
|
+
parameters: {
|
|
1014
|
+
query?: never;
|
|
1015
|
+
header?: never;
|
|
1016
|
+
path?: never;
|
|
1017
|
+
cookie?: never;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* Retrieve variant detail
|
|
1021
|
+
* @description Retrieves the details of a particular variant. Supply the unique product ID, and variant ID.
|
|
1022
|
+
*/
|
|
1023
|
+
get: operations["get-marketplace-variant-detail"];
|
|
1024
|
+
put?: never;
|
|
1025
|
+
post?: never;
|
|
1026
|
+
delete?: never;
|
|
1027
|
+
options?: never;
|
|
1028
|
+
head?: never;
|
|
1029
|
+
patch?: never;
|
|
1030
|
+
trace?: never;
|
|
1031
|
+
};
|
|
1032
|
+
"/catalog/marketplace/skus": {
|
|
1033
|
+
parameters: {
|
|
1034
|
+
query?: never;
|
|
1035
|
+
header?: never;
|
|
1036
|
+
path?: never;
|
|
1037
|
+
cookie?: never;
|
|
1038
|
+
};
|
|
1039
|
+
/**
|
|
1040
|
+
* List all SKUs
|
|
1041
|
+
* @description Returns a list of SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first.
|
|
1042
|
+
*/
|
|
1043
|
+
get: operations["list-marketplace-skus"];
|
|
844
1044
|
put?: never;
|
|
845
1045
|
post?: never;
|
|
846
1046
|
delete?: never;
|
|
@@ -1133,6 +1333,35 @@ interface paths {
|
|
|
1133
1333
|
patch?: never;
|
|
1134
1334
|
trace?: never;
|
|
1135
1335
|
};
|
|
1336
|
+
"/customers/{customer_id}/payment-methods": {
|
|
1337
|
+
parameters: {
|
|
1338
|
+
query?: never;
|
|
1339
|
+
header?: never;
|
|
1340
|
+
path: {
|
|
1341
|
+
/** @description Customer Id */
|
|
1342
|
+
customer_id: string;
|
|
1343
|
+
};
|
|
1344
|
+
cookie?: never;
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* List all saved payment methods
|
|
1348
|
+
* @description This endpoint acts as a proxy for JusPay’s “Fetch Saved Payment Methods” API. It enables to securely retrieve a list of payment methods (such as saved cards, UPI handles, wallets) that have been previously stored for a given customer.
|
|
1349
|
+
*
|
|
1350
|
+
* The operation helps streamline the checkout flow by allowing users to quickly select from existing payment methods, reducing input friction and improving conversion.
|
|
1351
|
+
*
|
|
1352
|
+
* API documentation of JusPay can be found at below link:
|
|
1353
|
+
*
|
|
1354
|
+
* https://juspay.io/in/docs/api-reference/docs/express-checkout/fetch-saved-payment-methods
|
|
1355
|
+
*/
|
|
1356
|
+
get: operations["list-saved-payment-methods"];
|
|
1357
|
+
put?: never;
|
|
1358
|
+
post?: never;
|
|
1359
|
+
delete?: never;
|
|
1360
|
+
options?: never;
|
|
1361
|
+
head?: never;
|
|
1362
|
+
patch?: never;
|
|
1363
|
+
trace?: never;
|
|
1364
|
+
};
|
|
1136
1365
|
"/customers/{id}": {
|
|
1137
1366
|
parameters: {
|
|
1138
1367
|
query?: never;
|
|
@@ -1576,24 +1805,20 @@ interface paths {
|
|
|
1576
1805
|
patch?: never;
|
|
1577
1806
|
trace?: never;
|
|
1578
1807
|
};
|
|
1579
|
-
"/payments/
|
|
1808
|
+
"/payments/authenticate-direct-otp": {
|
|
1580
1809
|
parameters: {
|
|
1581
1810
|
query?: never;
|
|
1582
1811
|
header?: never;
|
|
1583
1812
|
path?: never;
|
|
1584
1813
|
cookie?: never;
|
|
1585
1814
|
};
|
|
1586
|
-
|
|
1587
|
-
* List all saved cards
|
|
1588
|
-
* @description List all saved cards.
|
|
1589
|
-
*/
|
|
1590
|
-
get: operations["list-saved-cards"];
|
|
1815
|
+
get?: never;
|
|
1591
1816
|
put?: never;
|
|
1592
1817
|
/**
|
|
1593
|
-
*
|
|
1594
|
-
* @description
|
|
1818
|
+
* Authenticate direct OTP
|
|
1819
|
+
* @description Authenticate direct OTP
|
|
1595
1820
|
*/
|
|
1596
|
-
post: operations["
|
|
1821
|
+
post: operations["authenticate-direct-otp"];
|
|
1597
1822
|
delete?: never;
|
|
1598
1823
|
options?: never;
|
|
1599
1824
|
head?: never;
|
|
@@ -1701,20 +1926,20 @@ interface paths {
|
|
|
1701
1926
|
patch?: never;
|
|
1702
1927
|
trace?: never;
|
|
1703
1928
|
};
|
|
1704
|
-
"/payments/
|
|
1929
|
+
"/payments/resend-direct-otp": {
|
|
1705
1930
|
parameters: {
|
|
1706
1931
|
query?: never;
|
|
1707
1932
|
header?: never;
|
|
1708
1933
|
path?: never;
|
|
1709
1934
|
cookie?: never;
|
|
1710
1935
|
};
|
|
1936
|
+
get?: never;
|
|
1937
|
+
put?: never;
|
|
1711
1938
|
/**
|
|
1712
|
-
*
|
|
1713
|
-
* @description
|
|
1939
|
+
* Resend direct OTP
|
|
1940
|
+
* @description Resend direct OTP
|
|
1714
1941
|
*/
|
|
1715
|
-
|
|
1716
|
-
put?: never;
|
|
1717
|
-
post?: never;
|
|
1942
|
+
post: operations["resend-direct-otp"];
|
|
1718
1943
|
delete?: never;
|
|
1719
1944
|
options?: never;
|
|
1720
1945
|
head?: never;
|
|
@@ -2538,26 +2763,6 @@ interface paths {
|
|
|
2538
2763
|
patch?: never;
|
|
2539
2764
|
trace?: never;
|
|
2540
2765
|
};
|
|
2541
|
-
"/pos/payments/payment-options": {
|
|
2542
|
-
parameters: {
|
|
2543
|
-
query?: never;
|
|
2544
|
-
header?: never;
|
|
2545
|
-
path?: never;
|
|
2546
|
-
cookie?: never;
|
|
2547
|
-
};
|
|
2548
|
-
/**
|
|
2549
|
-
* List all payment options
|
|
2550
|
-
* @description List all payment options
|
|
2551
|
-
*/
|
|
2552
|
-
get: operations["pos-list-payment-options"];
|
|
2553
|
-
put?: never;
|
|
2554
|
-
post?: never;
|
|
2555
|
-
delete?: never;
|
|
2556
|
-
options?: never;
|
|
2557
|
-
head?: never;
|
|
2558
|
-
patch?: never;
|
|
2559
|
-
trace?: never;
|
|
2560
|
-
};
|
|
2561
2766
|
"/pos/users/{id}": {
|
|
2562
2767
|
parameters: {
|
|
2563
2768
|
query?: never;
|
|
@@ -2621,27 +2826,27 @@ interface paths {
|
|
|
2621
2826
|
patch?: never;
|
|
2622
2827
|
trace?: never;
|
|
2623
2828
|
};
|
|
2624
|
-
"/
|
|
2829
|
+
"/store/config": {
|
|
2625
2830
|
parameters: {
|
|
2626
2831
|
query?: never;
|
|
2627
2832
|
header?: never;
|
|
2628
2833
|
path?: never;
|
|
2629
2834
|
cookie?: never;
|
|
2630
2835
|
};
|
|
2631
|
-
get?: never;
|
|
2632
|
-
put?: never;
|
|
2633
2836
|
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @description
|
|
2837
|
+
* Retrieve store config
|
|
2838
|
+
* @description Retrieve store config detail
|
|
2636
2839
|
*/
|
|
2637
|
-
|
|
2840
|
+
get: operations["get-config"];
|
|
2841
|
+
put?: never;
|
|
2842
|
+
post?: never;
|
|
2638
2843
|
delete?: never;
|
|
2639
2844
|
options?: never;
|
|
2640
2845
|
head?: never;
|
|
2641
2846
|
patch?: never;
|
|
2642
2847
|
trace?: never;
|
|
2643
2848
|
};
|
|
2644
|
-
"/store/
|
|
2849
|
+
"/store/kyc-document": {
|
|
2645
2850
|
parameters: {
|
|
2646
2851
|
query?: never;
|
|
2647
2852
|
header?: never;
|
|
@@ -2649,28 +2854,8 @@ interface paths {
|
|
|
2649
2854
|
cookie?: never;
|
|
2650
2855
|
};
|
|
2651
2856
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
* @description
|
|
2654
|
-
*/
|
|
2655
|
-
get: operations["get-config"];
|
|
2656
|
-
put?: never;
|
|
2657
|
-
post?: never;
|
|
2658
|
-
delete?: never;
|
|
2659
|
-
options?: never;
|
|
2660
|
-
head?: never;
|
|
2661
|
-
patch?: never;
|
|
2662
|
-
trace?: never;
|
|
2663
|
-
};
|
|
2664
|
-
"/store/kyc-document": {
|
|
2665
|
-
parameters: {
|
|
2666
|
-
query?: never;
|
|
2667
|
-
header?: never;
|
|
2668
|
-
path?: never;
|
|
2669
|
-
cookie?: never;
|
|
2670
|
-
};
|
|
2671
|
-
/**
|
|
2672
|
-
* List all kyc documents
|
|
2673
|
-
* @description List all kyc documents added for a particular store.
|
|
2857
|
+
* List all kyc documents
|
|
2858
|
+
* @description List all kyc documents added for a particular store.
|
|
2674
2859
|
*/
|
|
2675
2860
|
get: operations["list-kyc-document"];
|
|
2676
2861
|
put?: never;
|
|
@@ -2973,8 +3158,10 @@ interface components {
|
|
|
2973
3158
|
* @description Bank transfer payment - IMPS, NEFT, RTGS
|
|
2974
3159
|
*/
|
|
2975
3160
|
BankTransfer: components["schemas"]["PaymentInfo"] & {
|
|
2976
|
-
/**
|
|
2977
|
-
*
|
|
3161
|
+
/**
|
|
3162
|
+
* @description masked account number
|
|
3163
|
+
* e.g. ************1234
|
|
3164
|
+
*/
|
|
2978
3165
|
bank_account_number?: string;
|
|
2979
3166
|
bank_name?: string;
|
|
2980
3167
|
};
|
|
@@ -3000,9 +3187,11 @@ interface components {
|
|
|
3000
3187
|
/** @description brand name. it will be used in emails and other communications. */
|
|
3001
3188
|
name: string;
|
|
3002
3189
|
logo_url: string | null;
|
|
3003
|
-
/**
|
|
3190
|
+
/**
|
|
3191
|
+
* @description json object having key - value pair.
|
|
3004
3192
|
*
|
|
3005
|
-
* example - {"facebook": "www.facebook.com/commecengine"}
|
|
3193
|
+
* example - {"facebook": "www.facebook.com/commecengine"}
|
|
3194
|
+
*/
|
|
3006
3195
|
social_media_links: {
|
|
3007
3196
|
[key: string]: string;
|
|
3008
3197
|
};
|
|
@@ -3081,8 +3270,10 @@ interface components {
|
|
|
3081
3270
|
* @description Payments using credit card, debit card
|
|
3082
3271
|
*/
|
|
3083
3272
|
CardPayment: components["schemas"]["PaymentInfo"] & {
|
|
3084
|
-
/**
|
|
3085
|
-
*
|
|
3273
|
+
/**
|
|
3274
|
+
* @description masked card number
|
|
3275
|
+
* e.g. ************1111
|
|
3276
|
+
*/
|
|
3086
3277
|
card_number?: string;
|
|
3087
3278
|
/** @enum {string} */
|
|
3088
3279
|
card_type?: "Visa" | "Master Card" | "Rupay" | "American Express";
|
|
@@ -3188,7 +3379,7 @@ interface components {
|
|
|
3188
3379
|
loyalty_points_earned: number;
|
|
3189
3380
|
/** @description Number of items in the cart. */
|
|
3190
3381
|
cart_items_count: number;
|
|
3191
|
-
/** @description List containing detailed information about each item in the cart.
|
|
3382
|
+
/** @description List containing detailed information about each item in the cart. */
|
|
3192
3383
|
cart_items: components["schemas"]["CartItem"][];
|
|
3193
3384
|
/** @description Details of the billing address. */
|
|
3194
3385
|
billing_address: components["schemas"]["CustomerAddress"];
|
|
@@ -3203,7 +3394,6 @@ interface components {
|
|
|
3203
3394
|
/**
|
|
3204
3395
|
* Format: date-time
|
|
3205
3396
|
* @description the expiration timestamp of the shopping cart. .
|
|
3206
|
-
*
|
|
3207
3397
|
*/
|
|
3208
3398
|
expires_at: string | null;
|
|
3209
3399
|
/** @description Information about the promotional offers that have been applied to the cart. */
|
|
@@ -3333,6 +3523,20 @@ interface components {
|
|
|
3333
3523
|
distance_km?: number;
|
|
3334
3524
|
collect_eta_minutes?: number;
|
|
3335
3525
|
is_recommended?: boolean;
|
|
3526
|
+
address?: components["schemas"]["CollectInStoreAddress"];
|
|
3527
|
+
};
|
|
3528
|
+
/** CollectInStoreAddress */
|
|
3529
|
+
CollectInStoreAddress: {
|
|
3530
|
+
name: string;
|
|
3531
|
+
address_line1: string;
|
|
3532
|
+
address_line2?: string | null;
|
|
3533
|
+
landmark?: string | null;
|
|
3534
|
+
pincode: string;
|
|
3535
|
+
city: string;
|
|
3536
|
+
state: string;
|
|
3537
|
+
country: string;
|
|
3538
|
+
/** @default +91 */
|
|
3539
|
+
country_code: string;
|
|
3336
3540
|
};
|
|
3337
3541
|
/** CollectInStoreFulfillment */
|
|
3338
3542
|
CollectInStoreFulfillment: {
|
|
@@ -3341,7 +3545,10 @@ interface components {
|
|
|
3341
3545
|
* @enum {string}
|
|
3342
3546
|
*/
|
|
3343
3547
|
fulfillment_type: "collect-in-store";
|
|
3548
|
+
/** @enum {string} */
|
|
3549
|
+
readonly preference_type?: "user" | "auto";
|
|
3344
3550
|
pickup_location_id: string;
|
|
3551
|
+
readonly pickup_location_name?: string;
|
|
3345
3552
|
};
|
|
3346
3553
|
/**
|
|
3347
3554
|
* ColorAttribute
|
|
@@ -3528,8 +3735,7 @@ interface components {
|
|
|
3528
3735
|
id?: string | null;
|
|
3529
3736
|
first_name: string;
|
|
3530
3737
|
last_name: string | null;
|
|
3531
|
-
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
3532
|
-
* */
|
|
3738
|
+
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided. */
|
|
3533
3739
|
country_code: string;
|
|
3534
3740
|
/** @description 10 digit phone number without country code. */
|
|
3535
3741
|
phone: string;
|
|
@@ -3559,8 +3765,7 @@ interface components {
|
|
|
3559
3765
|
readonly id?: string;
|
|
3560
3766
|
first_name?: string;
|
|
3561
3767
|
last_name?: string;
|
|
3562
|
-
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
3563
|
-
* */
|
|
3768
|
+
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided. */
|
|
3564
3769
|
country_code?: string;
|
|
3565
3770
|
/** @description 10 digit phone number without country code. */
|
|
3566
3771
|
phone?: string;
|
|
@@ -3703,6 +3908,8 @@ interface components {
|
|
|
3703
3908
|
* @enum {string}
|
|
3704
3909
|
*/
|
|
3705
3910
|
fulfillment_type: "delivery";
|
|
3911
|
+
/** @enum {string} */
|
|
3912
|
+
readonly preference_type?: "user" | "auto";
|
|
3706
3913
|
shipping_provider_id: string | null;
|
|
3707
3914
|
readonly shipping_provider_name?: string | null;
|
|
3708
3915
|
courier_company_id?: string | null;
|
|
@@ -3924,26 +4131,21 @@ interface components {
|
|
|
3924
4131
|
shipping?: components["schemas"]["ProductShipping"];
|
|
3925
4132
|
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
3926
4133
|
};
|
|
3927
|
-
/**
|
|
3928
|
-
|
|
4134
|
+
/** JuspayCardPaymentMethod */
|
|
4135
|
+
JuspayCardPaymentMethod: {
|
|
4136
|
+
description: string;
|
|
4137
|
+
/** @enum {string} */
|
|
4138
|
+
payment_method: "VISA" | "MASTER" | "RUPAY";
|
|
3929
4139
|
/**
|
|
3930
4140
|
* @description discriminator enum property added by openapi-typescript
|
|
3931
4141
|
* @enum {string}
|
|
3932
4142
|
*/
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
};
|
|
3940
|
-
/** JuspayCreateCardResponse */
|
|
3941
|
-
JuspayCreateCardResponse: {
|
|
3942
|
-
/** @constant */
|
|
3943
|
-
payment_gateway: "JUSPAY";
|
|
3944
|
-
card_token?: string;
|
|
3945
|
-
card_reference?: string;
|
|
3946
|
-
card_fingerprint?: string;
|
|
4143
|
+
payment_method_type: "CARD";
|
|
4144
|
+
pm_response_description: string;
|
|
4145
|
+
supported_reference_ids: string[];
|
|
4146
|
+
validations: {
|
|
4147
|
+
refund_support: boolean;
|
|
4148
|
+
};
|
|
3947
4149
|
};
|
|
3948
4150
|
/** JuspayCreateCustomerPayload */
|
|
3949
4151
|
JuspayCreateCustomerPayload: {
|
|
@@ -3969,70 +4171,67 @@ interface components {
|
|
|
3969
4171
|
last_updated?: string;
|
|
3970
4172
|
mobile_country_code?: string;
|
|
3971
4173
|
};
|
|
3972
|
-
/**
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
payment_links?: {
|
|
3992
|
-
web?: string;
|
|
3993
|
-
mobile?: string;
|
|
3994
|
-
iframe?: string;
|
|
3995
|
-
};
|
|
3996
|
-
order_id?: string;
|
|
3997
|
-
merchant_id?: string;
|
|
3998
|
-
juspay?: {
|
|
4174
|
+
/** JusPayExpressCheckout */
|
|
4175
|
+
JusPayExpressCheckout: components["schemas"]["JusPayNewCard"] | components["schemas"]["JusPaySavedCardToken"] | components["schemas"]["JuspayNetBanking"] | components["schemas"]["JuspayUpiCollect"] | components["schemas"]["JuspayUpiIntent"];
|
|
4176
|
+
/** JusPayExpressCheckoutCommonField */
|
|
4177
|
+
JusPayExpressCheckoutCommonField: {
|
|
4178
|
+
payment_provider_slug: string;
|
|
4179
|
+
/** @constant */
|
|
4180
|
+
integration_type: "express-checkout";
|
|
4181
|
+
gateway_reference_id: string;
|
|
4182
|
+
return_url: string;
|
|
4183
|
+
redirect_after_payment?: boolean;
|
|
4184
|
+
get_client_auth_token?: boolean;
|
|
4185
|
+
};
|
|
4186
|
+
/** JusPayExpressCheckoutResponse */
|
|
4187
|
+
JusPayExpressCheckoutResponse: {
|
|
4188
|
+
txn_id: string;
|
|
4189
|
+
txn_uuid: string;
|
|
4190
|
+
status: string;
|
|
4191
|
+
order_id: string;
|
|
4192
|
+
juspay: {
|
|
3999
4193
|
client_auth_token?: string;
|
|
4000
4194
|
client_auth_token_expiry?: string;
|
|
4001
4195
|
};
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4196
|
+
offer_details: {
|
|
4197
|
+
offers: Record<string, never>[];
|
|
4198
|
+
};
|
|
4199
|
+
payment: {
|
|
4200
|
+
authentication?: {
|
|
4201
|
+
/** @constant */
|
|
4202
|
+
method: "GET";
|
|
4203
|
+
/** Format: uri */
|
|
4204
|
+
url: string;
|
|
4205
|
+
/** @description Available only when Direct OTP is enabled for the card; otherwise this object is absent. */
|
|
4206
|
+
params?: {
|
|
4207
|
+
card_issuer_bank_name?: string;
|
|
4208
|
+
/** @description This field is used as txn_id in Verify Direct OTP and Resend Direct OTP endpoints payload. */
|
|
4209
|
+
id?: string;
|
|
4210
|
+
fallback_url?: string;
|
|
4211
|
+
/** @description This field is required in Verify Direct OTP and Resend Direct OTP endpoints. */
|
|
4212
|
+
challenge_id?: string;
|
|
4213
|
+
/** @description This field is used to decide whether API request can be sent to Resend OTP API or not. */
|
|
4214
|
+
resend_otp_allowed?: boolean;
|
|
4215
|
+
auth_type?: string;
|
|
4216
|
+
/** @description This field is used to decide whether OTP can be verified using Authenticate Direct OTP API or not. */
|
|
4217
|
+
submit_otp_allowed?: boolean;
|
|
4218
|
+
card_isin?: string;
|
|
4219
|
+
};
|
|
4220
|
+
};
|
|
4221
|
+
};
|
|
4011
4222
|
};
|
|
4012
|
-
/**
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
*/
|
|
4018
|
-
payment_gateway: "JUSPAY";
|
|
4019
|
-
/**
|
|
4020
|
-
* @description `paymentPage` is the default option that you should select when using hyper-checkout
|
|
4021
|
-
* @enum {string}
|
|
4022
|
-
*/
|
|
4023
|
-
action: "paymentPage" | "paymentManagement";
|
|
4024
|
-
/**
|
|
4025
|
-
* @description Use `hyper-checkout` for Juspay hosted checkout
|
|
4026
|
-
* @enum {string}
|
|
4027
|
-
*/
|
|
4028
|
-
integration_type: "hyper-checkout" | "express-checkout";
|
|
4029
|
-
/** @description This is the URL that the gateway will redirect to once payment processing is complete. This will be a GET request by default */
|
|
4030
|
-
return_url: string;
|
|
4031
|
-
/** @description The exact gateway reference ID that was set up in the integration */
|
|
4223
|
+
/** JusPayHyperCheckout */
|
|
4224
|
+
JusPayHyperCheckout: {
|
|
4225
|
+
payment_provider_slug: string;
|
|
4226
|
+
/** @constant */
|
|
4227
|
+
integration_type: "hyper-checkout";
|
|
4032
4228
|
gateway_reference_id: string;
|
|
4229
|
+
return_url: string;
|
|
4230
|
+
/** @enum {unknown} */
|
|
4231
|
+
action: "paymentPage";
|
|
4033
4232
|
};
|
|
4034
|
-
/**
|
|
4035
|
-
|
|
4233
|
+
/** JusPayHyperCheckoutResponse */
|
|
4234
|
+
JusPayHyperCheckoutResponse: {
|
|
4036
4235
|
id?: string;
|
|
4037
4236
|
status?: string;
|
|
4038
4237
|
order_id?: string;
|
|
@@ -4062,7 +4261,6 @@ interface components {
|
|
|
4062
4261
|
description?: string;
|
|
4063
4262
|
/**
|
|
4064
4263
|
* @description Use for taking consent of subscription payments. If this key is used it will ask user to give consent for subscription payment.
|
|
4065
|
-
*
|
|
4066
4264
|
* @constant
|
|
4067
4265
|
*/
|
|
4068
4266
|
"options.createMandate"?: "REQUIRED";
|
|
@@ -4090,16 +4288,157 @@ interface components {
|
|
|
4090
4288
|
"mandate.rule_value "?: "1-7" | "1-16" | "1-31";
|
|
4091
4289
|
};
|
|
4092
4290
|
};
|
|
4291
|
+
/** Format: date-time */
|
|
4292
|
+
order_expiry?: string;
|
|
4293
|
+
};
|
|
4294
|
+
/** JuspayNetBanking */
|
|
4295
|
+
JuspayNetBanking: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4296
|
+
/** @constant */
|
|
4297
|
+
payment_method_type: "NB";
|
|
4298
|
+
payment_method: string;
|
|
4299
|
+
};
|
|
4300
|
+
/** JuspayNetbankingPaymentMethod */
|
|
4301
|
+
JuspayNetbankingPaymentMethod: {
|
|
4302
|
+
description: string;
|
|
4303
|
+
juspay_bank_code: string;
|
|
4304
|
+
juspay_bank_code_id: number;
|
|
4305
|
+
payment_method: string;
|
|
4306
|
+
/**
|
|
4307
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4308
|
+
* @enum {string}
|
|
4309
|
+
*/
|
|
4310
|
+
payment_method_type: "NB";
|
|
4311
|
+
pm_response_description: string;
|
|
4312
|
+
supported_reference_ids: string[];
|
|
4313
|
+
};
|
|
4314
|
+
/** JusPayNewCard */
|
|
4315
|
+
JusPayNewCard: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4316
|
+
/** @constant */
|
|
4317
|
+
auth_type: "OTP";
|
|
4318
|
+
save_to_locker: boolean;
|
|
4319
|
+
/** @constant */
|
|
4320
|
+
payment_method_type: "CARD";
|
|
4321
|
+
/** @enum {unknown} */
|
|
4322
|
+
payment_method: "VISA" | "MASTER";
|
|
4323
|
+
card_number: string;
|
|
4324
|
+
card_exp_month: string;
|
|
4325
|
+
card_exp_year: string;
|
|
4326
|
+
name_on_card: string;
|
|
4327
|
+
card_security_code: string;
|
|
4328
|
+
};
|
|
4329
|
+
/** JuspayOrder */
|
|
4330
|
+
JuspayOrder: {
|
|
4331
|
+
id?: string;
|
|
4332
|
+
udf10?: string;
|
|
4333
|
+
udf9?: string;
|
|
4334
|
+
udf8?: string;
|
|
4335
|
+
udf7?: string;
|
|
4336
|
+
udf6?: string;
|
|
4337
|
+
udf5?: string;
|
|
4338
|
+
udf4?: string;
|
|
4339
|
+
udf3?: string;
|
|
4340
|
+
udf2?: string;
|
|
4341
|
+
udf1?: string;
|
|
4342
|
+
status_id?: string;
|
|
4343
|
+
status?: string;
|
|
4344
|
+
return_url?: string;
|
|
4345
|
+
/** @default false */
|
|
4346
|
+
refunded: boolean;
|
|
4347
|
+
product_id?: string;
|
|
4348
|
+
payment_links?: {
|
|
4349
|
+
web?: string;
|
|
4350
|
+
mobile?: string;
|
|
4351
|
+
iframe?: string;
|
|
4352
|
+
};
|
|
4353
|
+
order_id?: string;
|
|
4354
|
+
merchant_id?: string;
|
|
4355
|
+
juspay?: {
|
|
4356
|
+
client_auth_token?: string;
|
|
4357
|
+
client_auth_token_expiry?: string;
|
|
4358
|
+
};
|
|
4359
|
+
date_created?: string;
|
|
4360
|
+
customer_phone?: string;
|
|
4361
|
+
customer_id?: string;
|
|
4362
|
+
customer_email?: string;
|
|
4363
|
+
currency?: string;
|
|
4364
|
+
/** Format: double */
|
|
4365
|
+
amount_refunded?: number;
|
|
4366
|
+
/** Format: double */
|
|
4367
|
+
amount?: number;
|
|
4093
4368
|
};
|
|
4094
4369
|
/** JuspayPaymentMethod */
|
|
4095
4370
|
JuspayPaymentMethod: {
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4371
|
+
id: string;
|
|
4372
|
+
name: string;
|
|
4373
|
+
payment_instructions?: string | null;
|
|
4374
|
+
type: string;
|
|
4375
|
+
payment_provider_slug: string;
|
|
4376
|
+
details: components["schemas"]["JuspayPaymentMethodDetail"][];
|
|
4377
|
+
order_params?: Record<string, never>;
|
|
4378
|
+
};
|
|
4379
|
+
/** JuspayPaymentMethodDetail */
|
|
4380
|
+
JuspayPaymentMethodDetail: components["schemas"]["JuspayUpiPaymentMethod"] | components["schemas"]["JuspayCardPaymentMethod"] | components["schemas"]["JuspayNetbankingPaymentMethod"] | components["schemas"]["JuspayWalletPaymentMethod"];
|
|
4381
|
+
/** JusPaySavedCardToken */
|
|
4382
|
+
JusPaySavedCardToken: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4383
|
+
/** @constant */
|
|
4384
|
+
auth_type: "OTP";
|
|
4385
|
+
save_to_locker: boolean;
|
|
4386
|
+
/** @constant */
|
|
4387
|
+
payment_method_type: "CARD";
|
|
4388
|
+
/** @enum {unknown} */
|
|
4389
|
+
payment_method: "VISA" | "MASTER";
|
|
4390
|
+
card_token: string;
|
|
4391
|
+
card_security_code: string;
|
|
4099
4392
|
};
|
|
4100
|
-
/**
|
|
4101
|
-
|
|
4102
|
-
|
|
4393
|
+
/** JuspayUpiCollect */
|
|
4394
|
+
JuspayUpiCollect: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4395
|
+
/** @constant */
|
|
4396
|
+
payment_method_type: "UPI";
|
|
4397
|
+
/** @constant */
|
|
4398
|
+
payment_method: "UPI_COLLECT";
|
|
4399
|
+
upi_vpa: string;
|
|
4400
|
+
};
|
|
4401
|
+
/** JuspayUpiIntent */
|
|
4402
|
+
JuspayUpiIntent: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4403
|
+
/** @constant */
|
|
4404
|
+
payment_method_type: "UPI";
|
|
4405
|
+
/** @constant */
|
|
4406
|
+
payment_method: "UPI_PAY";
|
|
4407
|
+
sdk_params: boolean;
|
|
4408
|
+
upi_app: string;
|
|
4409
|
+
};
|
|
4410
|
+
/** JuspayUpiPaymentMethod */
|
|
4411
|
+
JuspayUpiPaymentMethod: {
|
|
4412
|
+
description: string;
|
|
4413
|
+
/** @enum {string} */
|
|
4414
|
+
juspay_bank_code: "UPI_COLLECT" | "UPI_PAY" | "UPI_QR";
|
|
4415
|
+
juspay_bank_code_id: number;
|
|
4416
|
+
/** @enum {string} */
|
|
4417
|
+
payment_method: "UPI_COLLECT" | "UPI_PAY" | "UPI_QR";
|
|
4418
|
+
/**
|
|
4419
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4420
|
+
* @enum {string}
|
|
4421
|
+
*/
|
|
4422
|
+
payment_method_type: "UPI";
|
|
4423
|
+
pm_response_description: string;
|
|
4424
|
+
supported_reference_ids: string[];
|
|
4425
|
+
};
|
|
4426
|
+
/** JuspayWalletPaymentMethod */
|
|
4427
|
+
JuspayWalletPaymentMethod: {
|
|
4428
|
+
description: string;
|
|
4429
|
+
juspay_bank_code: string;
|
|
4430
|
+
juspay_bank_code_id: number;
|
|
4431
|
+
payment_method: string;
|
|
4432
|
+
/** @constant */
|
|
4433
|
+
payment_method_sub_type: "WALLET";
|
|
4434
|
+
/**
|
|
4435
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4436
|
+
* @enum {string}
|
|
4437
|
+
*/
|
|
4438
|
+
payment_method_type: "WALLET";
|
|
4439
|
+
pm_response_description: string;
|
|
4440
|
+
supported_reference_ids: string[];
|
|
4441
|
+
wallet_direct_debit_support?: boolean;
|
|
4103
4442
|
};
|
|
4104
4443
|
/** KycDocument */
|
|
4105
4444
|
KycDocument: {
|
|
@@ -4157,6 +4496,16 @@ interface components {
|
|
|
4157
4496
|
/** Format: date-time */
|
|
4158
4497
|
modified_at?: string;
|
|
4159
4498
|
};
|
|
4499
|
+
/** ManualPaymentMethod */
|
|
4500
|
+
ManualPaymentMethod: {
|
|
4501
|
+
id: string;
|
|
4502
|
+
name: string;
|
|
4503
|
+
payment_instructions?: string | null;
|
|
4504
|
+
type: string;
|
|
4505
|
+
payment_provider_slug: string;
|
|
4506
|
+
details: Record<string, never>[];
|
|
4507
|
+
order_params?: Record<string, never>;
|
|
4508
|
+
};
|
|
4160
4509
|
/** MeasurementUnit */
|
|
4161
4510
|
MeasurementUnit: {
|
|
4162
4511
|
/** @enum {unknown} */
|
|
@@ -4209,8 +4558,7 @@ interface components {
|
|
|
4209
4558
|
transactional: components["schemas"]["NotificationChannelPreferences"];
|
|
4210
4559
|
/** @description These notifications aim to engage users with promotional content and enhance their overall experience with the platform. */
|
|
4211
4560
|
promotional: components["schemas"]["NotificationChannelPreferences"];
|
|
4212
|
-
/** @description These notifications are often sent periodically as part of a subscription service.
|
|
4213
|
-
* */
|
|
4561
|
+
/** @description These notifications are often sent periodically as part of a subscription service. */
|
|
4214
4562
|
newsletter: components["schemas"]["NotificationChannelPreferences"];
|
|
4215
4563
|
};
|
|
4216
4564
|
/**
|
|
@@ -4347,9 +4695,11 @@ interface components {
|
|
|
4347
4695
|
slug: string;
|
|
4348
4696
|
variant_id: string | null;
|
|
4349
4697
|
variant_name: string | null;
|
|
4350
|
-
/**
|
|
4698
|
+
/**
|
|
4699
|
+
* @description backorder
|
|
4351
4700
|
*
|
|
4352
|
-
* 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.
|
|
4701
|
+
* 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.
|
|
4702
|
+
*/
|
|
4353
4703
|
backorder: boolean;
|
|
4354
4704
|
on_promotion: boolean;
|
|
4355
4705
|
on_subscription: boolean;
|
|
@@ -4527,8 +4877,7 @@ interface components {
|
|
|
4527
4877
|
*/
|
|
4528
4878
|
OrderShipment: {
|
|
4529
4879
|
reference_number?: string;
|
|
4530
|
-
|
|
4531
|
-
status?: "unscheduled" | "schedule_requested" | "scheduled" | "packed" | "shipped" | "in_transit" | "out_for_delivery" | "delivery_attempted" | "undelivered" | "return_to_origin" | "delivered" | "cancelled";
|
|
4880
|
+
status?: components["schemas"]["ShipmentStatus"];
|
|
4532
4881
|
total_weight?: number;
|
|
4533
4882
|
total_boxes?: number;
|
|
4534
4883
|
shipment_items_count?: number;
|
|
@@ -4582,12 +4931,15 @@ interface components {
|
|
|
4582
4931
|
* @enum {string}
|
|
4583
4932
|
*/
|
|
4584
4933
|
fulfillment_type: "partial-collect-and-delivery";
|
|
4934
|
+
/** @enum {string} */
|
|
4935
|
+
readonly preference_type?: "user" | "auto";
|
|
4585
4936
|
"collect-in-store": {
|
|
4586
|
-
pickup_location_id
|
|
4587
|
-
|
|
4937
|
+
pickup_location_id: string;
|
|
4938
|
+
readonly pickup_location_name?: string;
|
|
4939
|
+
items: components["schemas"]["FulfillmentItem"][];
|
|
4588
4940
|
};
|
|
4589
4941
|
delivery: {
|
|
4590
|
-
shipping_provider_id: string
|
|
4942
|
+
shipping_provider_id: string;
|
|
4591
4943
|
readonly shipping_provider_name?: string | null;
|
|
4592
4944
|
courier_company_id?: string | null;
|
|
4593
4945
|
readonly courier_company_name?: string | null;
|
|
@@ -4612,9 +4964,6 @@ interface components {
|
|
|
4612
4964
|
*/
|
|
4613
4965
|
pause_end_date?: string;
|
|
4614
4966
|
};
|
|
4615
|
-
/** @enum {string} */
|
|
4616
|
-
PaymentGateway: "PAYU" | "JUSPAY";
|
|
4617
|
-
PaymentGatewayParams: components["schemas"]["PayuPaymentGatewayParams"] | components["schemas"]["JuspayPaymentGatewayParams"];
|
|
4618
4967
|
/**
|
|
4619
4968
|
* PaymentInfo
|
|
4620
4969
|
* @description Common fields in all types of payments.
|
|
@@ -4633,45 +4982,8 @@ interface components {
|
|
|
4633
4982
|
payment_method?: string | null;
|
|
4634
4983
|
icon_url?: string | null;
|
|
4635
4984
|
};
|
|
4636
|
-
/**
|
|
4637
|
-
|
|
4638
|
-
/**
|
|
4639
|
-
* @description discriminator enum property added by openapi-typescript
|
|
4640
|
-
* @enum {string}
|
|
4641
|
-
*/
|
|
4642
|
-
payment_gateway: "payu";
|
|
4643
|
-
card_number?: string;
|
|
4644
|
-
card_exp_year?: string;
|
|
4645
|
-
card_exp_month?: string;
|
|
4646
|
-
name_on_card?: string;
|
|
4647
|
-
nickname?: string;
|
|
4648
|
-
/** @enum {string} */
|
|
4649
|
-
card_mode?: "CC" | "DC";
|
|
4650
|
-
/** @enum {string} */
|
|
4651
|
-
card_type?: "VISA" | "MAST" | "RUPAY";
|
|
4652
|
-
};
|
|
4653
|
-
/** PayuCreateCardResponse */
|
|
4654
|
-
PayuCreateCardResponse: {
|
|
4655
|
-
/** @constant */
|
|
4656
|
-
payment_gateway: "PAYU";
|
|
4657
|
-
status?: string;
|
|
4658
|
-
msg?: string;
|
|
4659
|
-
cardToken?: string;
|
|
4660
|
-
card_number?: string;
|
|
4661
|
-
card_label?: string;
|
|
4662
|
-
network_token?: string;
|
|
4663
|
-
issuer_token?: string;
|
|
4664
|
-
};
|
|
4665
|
-
/** PayuPaymentGatewayParams */
|
|
4666
|
-
PayuPaymentGatewayParams: {
|
|
4667
|
-
/**
|
|
4668
|
-
* @description discriminator enum property added by openapi-typescript
|
|
4669
|
-
* @enum {string}
|
|
4670
|
-
*/
|
|
4671
|
-
payment_gateway: "PAYU";
|
|
4672
|
-
furl: string;
|
|
4673
|
-
surl: string;
|
|
4674
|
-
};
|
|
4985
|
+
/** PaymentMethodPayload */
|
|
4986
|
+
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"];
|
|
4675
4987
|
/** PayuPaymentInfo */
|
|
4676
4988
|
PayuPaymentInfo: {
|
|
4677
4989
|
key?: string;
|
|
@@ -4703,12 +5015,14 @@ interface components {
|
|
|
4703
5015
|
* @constant
|
|
4704
5016
|
*/
|
|
4705
5017
|
billingCycle?: "MONTHLY";
|
|
4706
|
-
/**
|
|
5018
|
+
/**
|
|
5019
|
+
* @description Billing Interval is closely coupled with the billingCycle field and denotes at what frequency, the subscription plan needs to be executed. For monthly subscriptions, parameter values need to be sent in the request are:
|
|
4707
5020
|
* billingCycle = MONTHLY
|
|
4708
5021
|
* billingInterval = 1
|
|
4709
5022
|
* Similarly, by keeping the following values, customer will be charged once in every 3 days:
|
|
4710
5023
|
* billingCycle = DAILY
|
|
4711
|
-
* billingInterval = 3
|
|
5024
|
+
* billingInterval = 3
|
|
5025
|
+
*/
|
|
4712
5026
|
billingInterval?: number;
|
|
4713
5027
|
/**
|
|
4714
5028
|
* Format: date
|
|
@@ -4729,20 +5043,24 @@ interface components {
|
|
|
4729
5043
|
};
|
|
4730
5044
|
/** PayuPaymentMethod */
|
|
4731
5045
|
PayuPaymentMethod: {
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
5046
|
+
id: string;
|
|
5047
|
+
name: string;
|
|
5048
|
+
payment_instructions?: string | null;
|
|
5049
|
+
type: string;
|
|
5050
|
+
payment_provider_slug: string;
|
|
5051
|
+
details: {
|
|
5052
|
+
code: string;
|
|
5053
|
+
is_subscription_enabled: boolean;
|
|
5054
|
+
options: {
|
|
5055
|
+
bankcode: string;
|
|
5056
|
+
icon_url: string;
|
|
5057
|
+
is_subscription_enabled: boolean;
|
|
5058
|
+
name: string;
|
|
5059
|
+
pg: string;
|
|
5060
|
+
}[];
|
|
5061
|
+
payment_method: string;
|
|
4741
5062
|
}[];
|
|
4742
|
-
|
|
4743
|
-
/** JuspaySavedCard */
|
|
4744
|
-
PayuSavedCard: {
|
|
4745
|
-
id?: string;
|
|
5063
|
+
order_params?: Record<string, never>;
|
|
4746
5064
|
};
|
|
4747
5065
|
/** PayWithCard */
|
|
4748
5066
|
PayWithCard: {
|
|
@@ -4754,13 +5072,6 @@ interface components {
|
|
|
4754
5072
|
/** @constant */
|
|
4755
5073
|
payment_mode: "CASH";
|
|
4756
5074
|
};
|
|
4757
|
-
/** PayWithPaymentGateway */
|
|
4758
|
-
PayWithPaymentGateway: {
|
|
4759
|
-
/** @constant */
|
|
4760
|
-
payment_mode: "PG";
|
|
4761
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
4762
|
-
payment_gateway_params: components["schemas"]["PaymentGatewayParams"];
|
|
4763
|
-
};
|
|
4764
5075
|
/** PayWithUPI */
|
|
4765
5076
|
PayWithUpi: {
|
|
4766
5077
|
/** @constant */
|
|
@@ -5188,6 +5499,61 @@ interface components {
|
|
|
5188
5499
|
/** @description Provide reason for revoking subscription. */
|
|
5189
5500
|
reason: string;
|
|
5190
5501
|
};
|
|
5502
|
+
/** SavedPaymentMethod */
|
|
5503
|
+
SavedPaymentMethod: {
|
|
5504
|
+
UPI_COLLECT: {
|
|
5505
|
+
count: number;
|
|
5506
|
+
last_used: string;
|
|
5507
|
+
vpa: string;
|
|
5508
|
+
}[];
|
|
5509
|
+
WALLET: {
|
|
5510
|
+
"linked "?: string;
|
|
5511
|
+
"id "?: string;
|
|
5512
|
+
"metadata "?: {
|
|
5513
|
+
"mobile_Number "?: string;
|
|
5514
|
+
"device_Id ": string;
|
|
5515
|
+
};
|
|
5516
|
+
"wallet "?: string;
|
|
5517
|
+
"gateway_reference_id "?: string;
|
|
5518
|
+
"last_refreshed "?: string;
|
|
5519
|
+
"sub_details "?: {
|
|
5520
|
+
"last_Used "?: string;
|
|
5521
|
+
"current_Balance "?: string;
|
|
5522
|
+
"last_Refreshed "?: string;
|
|
5523
|
+
"payment_Method "?: string;
|
|
5524
|
+
"payment_Method_Type "?: string;
|
|
5525
|
+
};
|
|
5526
|
+
}[];
|
|
5527
|
+
CARD: {
|
|
5528
|
+
card_sub_type: string;
|
|
5529
|
+
extended_card_type: string;
|
|
5530
|
+
card_global_fingerprint?: string;
|
|
5531
|
+
nickname?: string;
|
|
5532
|
+
provider_category: string;
|
|
5533
|
+
vault_provider: string;
|
|
5534
|
+
card_reference?: string;
|
|
5535
|
+
card_type: string;
|
|
5536
|
+
metadata?: {
|
|
5537
|
+
origin_merchant_id: string;
|
|
5538
|
+
};
|
|
5539
|
+
card_issuer?: string;
|
|
5540
|
+
card_token: string;
|
|
5541
|
+
card_exp_month: string;
|
|
5542
|
+
provider?: string;
|
|
5543
|
+
card_sub_type_category?: string;
|
|
5544
|
+
expired: boolean;
|
|
5545
|
+
card_fingerprint?: string;
|
|
5546
|
+
tokenize_support: boolean;
|
|
5547
|
+
juspay_bank_code?: string;
|
|
5548
|
+
card_exp_year: string;
|
|
5549
|
+
name_on_card: string;
|
|
5550
|
+
country_code: string;
|
|
5551
|
+
card_number: string;
|
|
5552
|
+
card_isin?: string;
|
|
5553
|
+
card_brand?: string;
|
|
5554
|
+
card_issuer_country?: string;
|
|
5555
|
+
}[];
|
|
5556
|
+
};
|
|
5191
5557
|
/**
|
|
5192
5558
|
* SearchProduct
|
|
5193
5559
|
* @description Payload for searching products.
|
|
@@ -5205,13 +5571,15 @@ interface components {
|
|
|
5205
5571
|
* @default 25
|
|
5206
5572
|
*/
|
|
5207
5573
|
limit: number;
|
|
5208
|
-
/**
|
|
5574
|
+
/**
|
|
5575
|
+
* @description provide list of attributes for specific facets or * for all facets.
|
|
5209
5576
|
* ```json
|
|
5210
5577
|
* For specific facets: ["size", "color", "brand"]
|
|
5211
5578
|
* ```
|
|
5212
5579
|
* ```json
|
|
5213
5580
|
* For all facets: ["*"]
|
|
5214
|
-
* ```
|
|
5581
|
+
* ```
|
|
5582
|
+
*/
|
|
5215
5583
|
facets?: string[];
|
|
5216
5584
|
};
|
|
5217
5585
|
/** Seo */
|
|
@@ -5234,6 +5602,8 @@ interface components {
|
|
|
5234
5602
|
free_quantity?: number;
|
|
5235
5603
|
is_free_item?: boolean;
|
|
5236
5604
|
};
|
|
5605
|
+
/** @enum {unknown} */
|
|
5606
|
+
ShipmentStatus: "unscheduled" | "schedule_requested" | "scheduled" | "packed" | "shipped" | "in_transit" | "out_for_delivery" | "delivery_attempted" | "undelivered" | "return_to_origin" | "delivered" | "cancelled" | "lost";
|
|
5237
5607
|
/**
|
|
5238
5608
|
* SingleSelectAttribute
|
|
5239
5609
|
* @description Attribute for single-select values
|
|
@@ -5559,8 +5929,10 @@ interface components {
|
|
|
5559
5929
|
readonly is_email_verified: boolean;
|
|
5560
5930
|
/** @description 10 digit phone number without country code. */
|
|
5561
5931
|
phone: string | null;
|
|
5562
|
-
/**
|
|
5563
|
-
*
|
|
5932
|
+
/**
|
|
5933
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
5934
|
+
* Use this key along with phone. Not necessary for email.
|
|
5935
|
+
*/
|
|
5564
5936
|
country_code: string | null;
|
|
5565
5937
|
/** @description Boolean indicating whether the phone is verified. */
|
|
5566
5938
|
readonly is_phone_verified: boolean;
|
|
@@ -5645,7 +6017,8 @@ interface components {
|
|
|
5645
6017
|
key: string;
|
|
5646
6018
|
/** @enum {string} */
|
|
5647
6019
|
type: "single-select" | "color";
|
|
5648
|
-
/**
|
|
6020
|
+
/**
|
|
6021
|
+
* @description When option_type is color, value will contain an array of objects like:
|
|
5649
6022
|
* ```json
|
|
5650
6023
|
* [
|
|
5651
6024
|
* {
|
|
@@ -5657,7 +6030,8 @@ interface components {
|
|
|
5657
6030
|
* "hexcode": "#FFFFFF"
|
|
5658
6031
|
* }
|
|
5659
6032
|
* ]
|
|
5660
|
-
* ```
|
|
6033
|
+
* ```
|
|
6034
|
+
*/
|
|
5661
6035
|
value: (string | Record<string, never>)[];
|
|
5662
6036
|
};
|
|
5663
6037
|
/** VolumeBasedCouponPromotion */
|
|
@@ -5839,7 +6213,7 @@ interface operations {
|
|
|
5839
6213
|
user: components["schemas"]["AnonymousUser"];
|
|
5840
6214
|
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
5841
6215
|
access_token: string;
|
|
5842
|
-
/** @description It is a string-based token designed for refreshing the user's access token.
|
|
6216
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
5843
6217
|
refresh_token: string;
|
|
5844
6218
|
};
|
|
5845
6219
|
};
|
|
@@ -5908,8 +6282,10 @@ interface operations {
|
|
|
5908
6282
|
email: string;
|
|
5909
6283
|
/** @description 10 digit phone number without country code. */
|
|
5910
6284
|
phone: string;
|
|
5911
|
-
/**
|
|
5912
|
-
*
|
|
6285
|
+
/**
|
|
6286
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
6287
|
+
* Use this key along with phone. Not necessary for email.
|
|
6288
|
+
*/
|
|
5913
6289
|
country_code: string;
|
|
5914
6290
|
};
|
|
5915
6291
|
};
|
|
@@ -5998,9 +6374,11 @@ interface operations {
|
|
|
5998
6374
|
* @description User's email address.
|
|
5999
6375
|
*/
|
|
6000
6376
|
email: string;
|
|
6001
|
-
/**
|
|
6377
|
+
/**
|
|
6378
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
6002
6379
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
6003
|
-
* "register_if_not_exists": true
|
|
6380
|
+
* "register_if_not_exists": true
|
|
6381
|
+
*/
|
|
6004
6382
|
register_if_not_exists?: boolean;
|
|
6005
6383
|
};
|
|
6006
6384
|
};
|
|
@@ -6108,9 +6486,11 @@ interface operations {
|
|
|
6108
6486
|
country_code?: "+91";
|
|
6109
6487
|
/** @description 10 digit phone number without country code. */
|
|
6110
6488
|
phone: string;
|
|
6111
|
-
/**
|
|
6489
|
+
/**
|
|
6490
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
6112
6491
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
6113
|
-
* "register_if_not_exists": true
|
|
6492
|
+
* "register_if_not_exists": true
|
|
6493
|
+
*/
|
|
6114
6494
|
register_if_not_exists?: boolean;
|
|
6115
6495
|
};
|
|
6116
6496
|
};
|
|
@@ -6162,9 +6542,11 @@ interface operations {
|
|
|
6162
6542
|
country_code?: "+91";
|
|
6163
6543
|
/** @description 10 digit phone number without country code linked with WhatsApp. */
|
|
6164
6544
|
phone: string;
|
|
6165
|
-
/**
|
|
6545
|
+
/**
|
|
6546
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
6166
6547
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
6167
|
-
* "register_if_not_exists": true
|
|
6548
|
+
* "register_if_not_exists": true
|
|
6549
|
+
*/
|
|
6168
6550
|
register_if_not_exists?: boolean;
|
|
6169
6551
|
};
|
|
6170
6552
|
};
|
|
@@ -6970,7 +7352,7 @@ interface operations {
|
|
|
6970
7352
|
"application/json": {
|
|
6971
7353
|
/** @description A string providing additional information about the response. */
|
|
6972
7354
|
message: string;
|
|
6973
|
-
/** @description
|
|
7355
|
+
/** @description A boolean indicating whether the operation was successful or not. */
|
|
6974
7356
|
success: boolean;
|
|
6975
7357
|
/** @description An object containing the response content. */
|
|
6976
7358
|
content: {
|
|
@@ -7652,24 +8034,25 @@ interface operations {
|
|
|
7652
8034
|
};
|
|
7653
8035
|
};
|
|
7654
8036
|
};
|
|
7655
|
-
"
|
|
8037
|
+
"list-categories": {
|
|
7656
8038
|
parameters: {
|
|
7657
|
-
query?:
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
/** @description
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
shipping_provider_id: string;
|
|
7669
|
-
courier_company_id: string | null;
|
|
7670
|
-
};
|
|
8039
|
+
query?: {
|
|
8040
|
+
/** @description search keyword */
|
|
8041
|
+
search?: components["parameters"]["searchKeyword"];
|
|
8042
|
+
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
8043
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
8044
|
+
/** @description return child categories up to nesting level */
|
|
8045
|
+
nested_level?: number;
|
|
8046
|
+
/** @description To return child categories using category id. */
|
|
8047
|
+
parent_category_id?: string;
|
|
8048
|
+
/** @description To return child categories using category slug */
|
|
8049
|
+
parent_category_slug?: string;
|
|
7671
8050
|
};
|
|
8051
|
+
header?: never;
|
|
8052
|
+
path?: never;
|
|
8053
|
+
cookie?: never;
|
|
7672
8054
|
};
|
|
8055
|
+
requestBody?: never;
|
|
7673
8056
|
responses: {
|
|
7674
8057
|
/** @description OK */
|
|
7675
8058
|
200: {
|
|
@@ -7678,10 +8061,12 @@ interface operations {
|
|
|
7678
8061
|
};
|
|
7679
8062
|
content: {
|
|
7680
8063
|
"application/json": {
|
|
8064
|
+
/** @example all categories */
|
|
7681
8065
|
message: string;
|
|
7682
8066
|
success: boolean;
|
|
7683
8067
|
content: {
|
|
7684
|
-
|
|
8068
|
+
categories: components["schemas"]["ProductCategory"][];
|
|
8069
|
+
pagination: components["schemas"]["Pagination"];
|
|
7685
8070
|
};
|
|
7686
8071
|
};
|
|
7687
8072
|
};
|
|
@@ -7691,7 +8076,7 @@ interface operations {
|
|
|
7691
8076
|
404: components["responses"]["NotFound"];
|
|
7692
8077
|
};
|
|
7693
8078
|
};
|
|
7694
|
-
"list-categories": {
|
|
8079
|
+
"list-marketplace-categories": {
|
|
7695
8080
|
parameters: {
|
|
7696
8081
|
query?: {
|
|
7697
8082
|
/** @description search keyword */
|
|
@@ -7728,7 +8113,463 @@ interface operations {
|
|
|
7728
8113
|
};
|
|
7729
8114
|
};
|
|
7730
8115
|
};
|
|
7731
|
-
400: components["responses"]["BadRequest"];
|
|
8116
|
+
400: components["responses"]["BadRequest"];
|
|
8117
|
+
401: components["responses"]["Unauthorized"];
|
|
8118
|
+
404: components["responses"]["NotFound"];
|
|
8119
|
+
};
|
|
8120
|
+
};
|
|
8121
|
+
"list-marketplace-products": {
|
|
8122
|
+
parameters: {
|
|
8123
|
+
query?: {
|
|
8124
|
+
/** @description page number of pagination list */
|
|
8125
|
+
page?: components["parameters"]["pageParam"];
|
|
8126
|
+
/** @description no of rows per page */
|
|
8127
|
+
limit?: components["parameters"]["pageLimitParam"];
|
|
8128
|
+
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
8129
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
8130
|
+
/** @description filter products by categories ids */
|
|
8131
|
+
category_id?: string[];
|
|
8132
|
+
/** @description filter products by categories slugs */
|
|
8133
|
+
category_slug?: string[];
|
|
8134
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8135
|
+
inventory?: boolean;
|
|
8136
|
+
};
|
|
8137
|
+
header?: {
|
|
8138
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8139
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8140
|
+
};
|
|
8141
|
+
path?: never;
|
|
8142
|
+
cookie?: never;
|
|
8143
|
+
};
|
|
8144
|
+
requestBody?: never;
|
|
8145
|
+
responses: {
|
|
8146
|
+
/** @description Success response */
|
|
8147
|
+
200: {
|
|
8148
|
+
headers: {
|
|
8149
|
+
[name: string]: unknown;
|
|
8150
|
+
};
|
|
8151
|
+
content: {
|
|
8152
|
+
"application/json": {
|
|
8153
|
+
/** @example Products retrieved successfully. */
|
|
8154
|
+
message: string;
|
|
8155
|
+
success: boolean;
|
|
8156
|
+
content: {
|
|
8157
|
+
products: components["schemas"]["Product"][];
|
|
8158
|
+
pagination: components["schemas"]["Pagination"];
|
|
8159
|
+
};
|
|
8160
|
+
};
|
|
8161
|
+
};
|
|
8162
|
+
};
|
|
8163
|
+
401: components["responses"]["Unauthorized"];
|
|
8164
|
+
404: components["responses"]["NotFound"];
|
|
8165
|
+
};
|
|
8166
|
+
};
|
|
8167
|
+
"list-marketplace-crosssell-products": {
|
|
8168
|
+
parameters: {
|
|
8169
|
+
query?: {
|
|
8170
|
+
/** @description no of rows per page */
|
|
8171
|
+
limit?: number;
|
|
8172
|
+
/** @description page number in pagination */
|
|
8173
|
+
page?: number;
|
|
8174
|
+
/** @description Product ids of cart items */
|
|
8175
|
+
product_id?: string[];
|
|
8176
|
+
/** @description json to sort records */
|
|
8177
|
+
sort_by?: string;
|
|
8178
|
+
};
|
|
8179
|
+
header?: {
|
|
8180
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8181
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8182
|
+
};
|
|
8183
|
+
path?: never;
|
|
8184
|
+
cookie?: never;
|
|
8185
|
+
};
|
|
8186
|
+
requestBody?: never;
|
|
8187
|
+
responses: {
|
|
8188
|
+
/** @description Success response */
|
|
8189
|
+
200: {
|
|
8190
|
+
headers: {
|
|
8191
|
+
[name: string]: unknown;
|
|
8192
|
+
};
|
|
8193
|
+
content: {
|
|
8194
|
+
"application/json": {
|
|
8195
|
+
message: string;
|
|
8196
|
+
success: boolean;
|
|
8197
|
+
content: {
|
|
8198
|
+
products: components["schemas"]["Item"][];
|
|
8199
|
+
pagination: components["schemas"]["Pagination"];
|
|
8200
|
+
};
|
|
8201
|
+
};
|
|
8202
|
+
};
|
|
8203
|
+
};
|
|
8204
|
+
401: components["responses"]["Unauthorized"];
|
|
8205
|
+
404: components["responses"]["NotFound"];
|
|
8206
|
+
};
|
|
8207
|
+
};
|
|
8208
|
+
"search-marketplace-products": {
|
|
8209
|
+
parameters: {
|
|
8210
|
+
query?: never;
|
|
8211
|
+
header?: {
|
|
8212
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8213
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8214
|
+
};
|
|
8215
|
+
path?: never;
|
|
8216
|
+
cookie?: never;
|
|
8217
|
+
};
|
|
8218
|
+
requestBody: {
|
|
8219
|
+
content: {
|
|
8220
|
+
"application/json": components["schemas"]["SearchProduct"];
|
|
8221
|
+
};
|
|
8222
|
+
};
|
|
8223
|
+
responses: {
|
|
8224
|
+
/** @description Success response */
|
|
8225
|
+
200: {
|
|
8226
|
+
headers: {
|
|
8227
|
+
[name: string]: unknown;
|
|
8228
|
+
};
|
|
8229
|
+
content: {
|
|
8230
|
+
"application/json": {
|
|
8231
|
+
message: string;
|
|
8232
|
+
success: boolean;
|
|
8233
|
+
content: {
|
|
8234
|
+
skus: components["schemas"]["Item"][];
|
|
8235
|
+
facet_distribution: {
|
|
8236
|
+
[key: string]: {
|
|
8237
|
+
[key: string]: number;
|
|
8238
|
+
};
|
|
8239
|
+
};
|
|
8240
|
+
facet_stats: {
|
|
8241
|
+
[key: string]: {
|
|
8242
|
+
min: number;
|
|
8243
|
+
max: number;
|
|
8244
|
+
};
|
|
8245
|
+
};
|
|
8246
|
+
pagination: components["schemas"]["Pagination"];
|
|
8247
|
+
};
|
|
8248
|
+
};
|
|
8249
|
+
};
|
|
8250
|
+
};
|
|
8251
|
+
401: components["responses"]["Unauthorized"];
|
|
8252
|
+
};
|
|
8253
|
+
};
|
|
8254
|
+
"list-marketplace-similar-products": {
|
|
8255
|
+
parameters: {
|
|
8256
|
+
query?: {
|
|
8257
|
+
/** @description no of rows per page */
|
|
8258
|
+
limit?: number;
|
|
8259
|
+
/** @description page number in pagination */
|
|
8260
|
+
page?: number;
|
|
8261
|
+
/** @description to retrieve similar products of specified products */
|
|
8262
|
+
product_id?: string[];
|
|
8263
|
+
/** @description json to sort records */
|
|
8264
|
+
sort_by?: string;
|
|
8265
|
+
};
|
|
8266
|
+
header?: {
|
|
8267
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8268
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8269
|
+
};
|
|
8270
|
+
path?: never;
|
|
8271
|
+
cookie?: never;
|
|
8272
|
+
};
|
|
8273
|
+
requestBody?: never;
|
|
8274
|
+
responses: {
|
|
8275
|
+
/** @description Success response */
|
|
8276
|
+
200: {
|
|
8277
|
+
headers: {
|
|
8278
|
+
[name: string]: unknown;
|
|
8279
|
+
};
|
|
8280
|
+
content: {
|
|
8281
|
+
"application/json": {
|
|
8282
|
+
message: string;
|
|
8283
|
+
success: boolean;
|
|
8284
|
+
content: {
|
|
8285
|
+
products: components["schemas"]["Item"][];
|
|
8286
|
+
pagination: components["schemas"]["Pagination"];
|
|
8287
|
+
};
|
|
8288
|
+
};
|
|
8289
|
+
};
|
|
8290
|
+
};
|
|
8291
|
+
401: components["responses"]["Unauthorized"];
|
|
8292
|
+
404: components["responses"]["NotFound"];
|
|
8293
|
+
};
|
|
8294
|
+
};
|
|
8295
|
+
"list-marketplace-upsell-products": {
|
|
8296
|
+
parameters: {
|
|
8297
|
+
query?: {
|
|
8298
|
+
/** @description no of rows per page */
|
|
8299
|
+
limit?: number;
|
|
8300
|
+
/** @description page number in pagination */
|
|
8301
|
+
page?: number;
|
|
8302
|
+
/** @description Product ids of cart items */
|
|
8303
|
+
product_id?: string[];
|
|
8304
|
+
/** @description json to sort records */
|
|
8305
|
+
sort_by?: string;
|
|
8306
|
+
};
|
|
8307
|
+
header?: {
|
|
8308
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8309
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8310
|
+
};
|
|
8311
|
+
path?: never;
|
|
8312
|
+
cookie?: never;
|
|
8313
|
+
};
|
|
8314
|
+
requestBody?: never;
|
|
8315
|
+
responses: {
|
|
8316
|
+
/** @description Success response */
|
|
8317
|
+
200: {
|
|
8318
|
+
headers: {
|
|
8319
|
+
[name: string]: unknown;
|
|
8320
|
+
};
|
|
8321
|
+
content: {
|
|
8322
|
+
"application/json": {
|
|
8323
|
+
/** @description Masssage */
|
|
8324
|
+
message: string;
|
|
8325
|
+
success: boolean;
|
|
8326
|
+
content: {
|
|
8327
|
+
products: components["schemas"]["Item"][];
|
|
8328
|
+
pagination: components["schemas"]["Pagination"];
|
|
8329
|
+
};
|
|
8330
|
+
};
|
|
8331
|
+
};
|
|
8332
|
+
};
|
|
8333
|
+
401: components["responses"]["Unauthorized"];
|
|
8334
|
+
404: components["responses"]["NotFound"];
|
|
8335
|
+
};
|
|
8336
|
+
};
|
|
8337
|
+
"get-marketplace-product-detail": {
|
|
8338
|
+
parameters: {
|
|
8339
|
+
query?: {
|
|
8340
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8341
|
+
inventory?: boolean;
|
|
8342
|
+
};
|
|
8343
|
+
header?: {
|
|
8344
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8345
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8346
|
+
};
|
|
8347
|
+
path: {
|
|
8348
|
+
/** @description The unique identifier of the product. Can be either the product ID or the slug. */
|
|
8349
|
+
product_id_or_slug: string;
|
|
8350
|
+
};
|
|
8351
|
+
cookie?: never;
|
|
8352
|
+
};
|
|
8353
|
+
requestBody?: never;
|
|
8354
|
+
responses: {
|
|
8355
|
+
/** @description Success response */
|
|
8356
|
+
200: {
|
|
8357
|
+
headers: {
|
|
8358
|
+
[name: string]: unknown;
|
|
8359
|
+
};
|
|
8360
|
+
content: {
|
|
8361
|
+
"application/json": {
|
|
8362
|
+
/** @example Products retrieved successfully. */
|
|
8363
|
+
message: string;
|
|
8364
|
+
success: boolean;
|
|
8365
|
+
content: {
|
|
8366
|
+
product: components["schemas"]["ProductDetail"];
|
|
8367
|
+
};
|
|
8368
|
+
};
|
|
8369
|
+
};
|
|
8370
|
+
};
|
|
8371
|
+
401: components["responses"]["Unauthorized"];
|
|
8372
|
+
404: components["responses"]["NotFound"];
|
|
8373
|
+
};
|
|
8374
|
+
};
|
|
8375
|
+
"list-marketplace-product-reviews": {
|
|
8376
|
+
parameters: {
|
|
8377
|
+
query?: {
|
|
8378
|
+
/** @description page number of pagination list */
|
|
8379
|
+
page?: components["parameters"]["pageParam"];
|
|
8380
|
+
/** @description no of rows per page */
|
|
8381
|
+
limit?: components["parameters"]["pageLimitParam"];
|
|
8382
|
+
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
8383
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
8384
|
+
/** @description search keyword */
|
|
8385
|
+
search?: components["parameters"]["searchKeyword"];
|
|
8386
|
+
/** @description filter review with review tag */
|
|
8387
|
+
review_tag?: string;
|
|
8388
|
+
};
|
|
8389
|
+
header?: never;
|
|
8390
|
+
path: {
|
|
8391
|
+
/** @description id of a particular product */
|
|
8392
|
+
product_id: string;
|
|
8393
|
+
};
|
|
8394
|
+
cookie?: never;
|
|
8395
|
+
};
|
|
8396
|
+
requestBody?: never;
|
|
8397
|
+
responses: {
|
|
8398
|
+
/** @description Success response */
|
|
8399
|
+
200: {
|
|
8400
|
+
headers: {
|
|
8401
|
+
[name: string]: unknown;
|
|
8402
|
+
};
|
|
8403
|
+
content: {
|
|
8404
|
+
"application/json": {
|
|
8405
|
+
message: string;
|
|
8406
|
+
success: boolean;
|
|
8407
|
+
content: {
|
|
8408
|
+
reviews: components["schemas"]["ProductReview"][];
|
|
8409
|
+
review_tags?: string[] | null;
|
|
8410
|
+
pagination?: components["schemas"]["Pagination"];
|
|
8411
|
+
};
|
|
8412
|
+
};
|
|
8413
|
+
};
|
|
8414
|
+
};
|
|
8415
|
+
401: components["responses"]["Unauthorized"];
|
|
8416
|
+
404: components["responses"]["NotFound"];
|
|
8417
|
+
};
|
|
8418
|
+
};
|
|
8419
|
+
"create-marketplace-product-review": {
|
|
8420
|
+
parameters: {
|
|
8421
|
+
query?: never;
|
|
8422
|
+
header?: never;
|
|
8423
|
+
path: {
|
|
8424
|
+
/** @description id of a particular product */
|
|
8425
|
+
product_id: string;
|
|
8426
|
+
};
|
|
8427
|
+
cookie?: never;
|
|
8428
|
+
};
|
|
8429
|
+
requestBody: {
|
|
8430
|
+
content: {
|
|
8431
|
+
"multipart/form-data": components["schemas"]["CreateReview"];
|
|
8432
|
+
};
|
|
8433
|
+
};
|
|
8434
|
+
responses: {
|
|
8435
|
+
/** @description Success response */
|
|
8436
|
+
200: {
|
|
8437
|
+
headers: {
|
|
8438
|
+
[name: string]: unknown;
|
|
8439
|
+
};
|
|
8440
|
+
content: {
|
|
8441
|
+
"application/json": {
|
|
8442
|
+
/** @example Review submitted successfully. */
|
|
8443
|
+
message: string;
|
|
8444
|
+
success: boolean;
|
|
8445
|
+
};
|
|
8446
|
+
};
|
|
8447
|
+
};
|
|
8448
|
+
400: components["responses"]["BadRequest"];
|
|
8449
|
+
401: components["responses"]["Unauthorized"];
|
|
8450
|
+
404: components["responses"]["NotFound"];
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
"list-marketplace-product-variants": {
|
|
8454
|
+
parameters: {
|
|
8455
|
+
query?: {
|
|
8456
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8457
|
+
inventory?: boolean;
|
|
8458
|
+
};
|
|
8459
|
+
header?: {
|
|
8460
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8461
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8462
|
+
};
|
|
8463
|
+
path: {
|
|
8464
|
+
/** @description ID of a particular product */
|
|
8465
|
+
product_id: string;
|
|
8466
|
+
};
|
|
8467
|
+
cookie?: never;
|
|
8468
|
+
};
|
|
8469
|
+
requestBody?: never;
|
|
8470
|
+
responses: {
|
|
8471
|
+
/** @description Success response */
|
|
8472
|
+
200: {
|
|
8473
|
+
headers: {
|
|
8474
|
+
[name: string]: unknown;
|
|
8475
|
+
};
|
|
8476
|
+
content: {
|
|
8477
|
+
"application/json": {
|
|
8478
|
+
/** @example Products retrieved successfully. */
|
|
8479
|
+
message: string;
|
|
8480
|
+
success: boolean;
|
|
8481
|
+
content: {
|
|
8482
|
+
variants: components["schemas"]["Variant"][];
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
8487
|
+
401: components["responses"]["Unauthorized"];
|
|
8488
|
+
404: components["responses"]["NotFound"];
|
|
8489
|
+
};
|
|
8490
|
+
};
|
|
8491
|
+
"get-marketplace-variant-detail": {
|
|
8492
|
+
parameters: {
|
|
8493
|
+
query?: {
|
|
8494
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8495
|
+
inventory?: boolean;
|
|
8496
|
+
};
|
|
8497
|
+
header?: {
|
|
8498
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8499
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8500
|
+
};
|
|
8501
|
+
path: {
|
|
8502
|
+
/** @description product id */
|
|
8503
|
+
product_id: string;
|
|
8504
|
+
/** @description variant id */
|
|
8505
|
+
variant_id: string;
|
|
8506
|
+
};
|
|
8507
|
+
cookie?: never;
|
|
8508
|
+
};
|
|
8509
|
+
requestBody?: never;
|
|
8510
|
+
responses: {
|
|
8511
|
+
/** @description Success response */
|
|
8512
|
+
200: {
|
|
8513
|
+
headers: {
|
|
8514
|
+
[name: string]: unknown;
|
|
8515
|
+
};
|
|
8516
|
+
content: {
|
|
8517
|
+
"application/json": {
|
|
8518
|
+
/** @example Products retrieved successfully. */
|
|
8519
|
+
message: string;
|
|
8520
|
+
success: boolean;
|
|
8521
|
+
content: {
|
|
8522
|
+
variant: components["schemas"]["VariantDetail"];
|
|
8523
|
+
};
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
};
|
|
8527
|
+
401: components["responses"]["Unauthorized"];
|
|
8528
|
+
404: components["responses"]["NotFound"];
|
|
8529
|
+
};
|
|
8530
|
+
};
|
|
8531
|
+
"list-marketplace-skus": {
|
|
8532
|
+
parameters: {
|
|
8533
|
+
query?: {
|
|
8534
|
+
/** @description page number of pagination list */
|
|
8535
|
+
page?: components["parameters"]["pageParam"];
|
|
8536
|
+
/** @description no of rows per page */
|
|
8537
|
+
limit?: components["parameters"]["pageLimitParam"];
|
|
8538
|
+
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
8539
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
8540
|
+
/** @description filter sku by categories */
|
|
8541
|
+
category_id?: string[];
|
|
8542
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8543
|
+
inventory?: boolean;
|
|
8544
|
+
/** @description array of sku */
|
|
8545
|
+
sku?: string[];
|
|
8546
|
+
};
|
|
8547
|
+
header?: {
|
|
8548
|
+
/** @description This param is used to determine product pricing, promotions, and subscription rates. If a valid customer group id is provided, pricing details will be retrieved accordingly. If no matching data is found for the specified customer group id, the system will fall back to the default customer group id. If no data is found for the default group either, the highest applicable price will be returned. */
|
|
8549
|
+
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
8550
|
+
};
|
|
8551
|
+
path?: never;
|
|
8552
|
+
cookie?: never;
|
|
8553
|
+
};
|
|
8554
|
+
requestBody?: never;
|
|
8555
|
+
responses: {
|
|
8556
|
+
/** @description Success response */
|
|
8557
|
+
200: {
|
|
8558
|
+
headers: {
|
|
8559
|
+
[name: string]: unknown;
|
|
8560
|
+
};
|
|
8561
|
+
content: {
|
|
8562
|
+
"application/json": {
|
|
8563
|
+
/** @example SKUs retrieved successfully. */
|
|
8564
|
+
message: string;
|
|
8565
|
+
success: boolean;
|
|
8566
|
+
content: {
|
|
8567
|
+
readonly skus: components["schemas"]["Item"][];
|
|
8568
|
+
pagination: components["schemas"]["Pagination"];
|
|
8569
|
+
};
|
|
8570
|
+
};
|
|
8571
|
+
};
|
|
8572
|
+
};
|
|
7732
8573
|
401: components["responses"]["Unauthorized"];
|
|
7733
8574
|
404: components["responses"]["NotFound"];
|
|
7734
8575
|
};
|
|
@@ -8321,6 +9162,37 @@ interface operations {
|
|
|
8321
9162
|
401: components["responses"]["Unauthorized"];
|
|
8322
9163
|
};
|
|
8323
9164
|
};
|
|
9165
|
+
"list-saved-payment-methods": {
|
|
9166
|
+
parameters: {
|
|
9167
|
+
query?: never;
|
|
9168
|
+
header?: never;
|
|
9169
|
+
path: {
|
|
9170
|
+
/** @description Customer Id */
|
|
9171
|
+
customer_id: string;
|
|
9172
|
+
};
|
|
9173
|
+
cookie?: never;
|
|
9174
|
+
};
|
|
9175
|
+
requestBody?: never;
|
|
9176
|
+
responses: {
|
|
9177
|
+
/** @description OK */
|
|
9178
|
+
200: {
|
|
9179
|
+
headers: {
|
|
9180
|
+
[name: string]: unknown;
|
|
9181
|
+
};
|
|
9182
|
+
content: {
|
|
9183
|
+
"application/json": {
|
|
9184
|
+
message?: string;
|
|
9185
|
+
success?: boolean;
|
|
9186
|
+
content?: {
|
|
9187
|
+
saved_payment_methods?: components["schemas"]["SavedPaymentMethod"];
|
|
9188
|
+
};
|
|
9189
|
+
};
|
|
9190
|
+
};
|
|
9191
|
+
};
|
|
9192
|
+
401: components["responses"]["Unauthorized"];
|
|
9193
|
+
404: components["responses"]["NotFound"];
|
|
9194
|
+
};
|
|
9195
|
+
};
|
|
8324
9196
|
"get-customer-detail": {
|
|
8325
9197
|
parameters: {
|
|
8326
9198
|
query?: never;
|
|
@@ -8959,8 +9831,7 @@ interface operations {
|
|
|
8959
9831
|
content: {
|
|
8960
9832
|
"application/json": {
|
|
8961
9833
|
cart_id: string;
|
|
8962
|
-
|
|
8963
|
-
payment_gateway_params: components["schemas"]["PaymentGatewayParams"];
|
|
9834
|
+
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
8964
9835
|
};
|
|
8965
9836
|
};
|
|
8966
9837
|
};
|
|
@@ -8977,7 +9848,7 @@ interface operations {
|
|
|
8977
9848
|
content: {
|
|
8978
9849
|
order: components["schemas"]["Order"];
|
|
8979
9850
|
payment_required: boolean;
|
|
8980
|
-
payment_info: components["schemas"]["
|
|
9851
|
+
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
8981
9852
|
};
|
|
8982
9853
|
};
|
|
8983
9854
|
};
|
|
@@ -9206,7 +10077,7 @@ interface operations {
|
|
|
9206
10077
|
requestBody: {
|
|
9207
10078
|
content: {
|
|
9208
10079
|
"application/json": {
|
|
9209
|
-
|
|
10080
|
+
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
9210
10081
|
};
|
|
9211
10082
|
};
|
|
9212
10083
|
};
|
|
@@ -9221,7 +10092,7 @@ interface operations {
|
|
|
9221
10092
|
message: string;
|
|
9222
10093
|
success: boolean;
|
|
9223
10094
|
content: {
|
|
9224
|
-
payment_info: components["schemas"]["
|
|
10095
|
+
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
9225
10096
|
};
|
|
9226
10097
|
};
|
|
9227
10098
|
};
|
|
@@ -9333,39 +10204,7 @@ interface operations {
|
|
|
9333
10204
|
404: components["responses"]["NotFound"];
|
|
9334
10205
|
};
|
|
9335
10206
|
};
|
|
9336
|
-
"
|
|
9337
|
-
parameters: {
|
|
9338
|
-
query: {
|
|
9339
|
-
/** @description payment gateway code */
|
|
9340
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
9341
|
-
};
|
|
9342
|
-
header?: never;
|
|
9343
|
-
path?: never;
|
|
9344
|
-
cookie?: never;
|
|
9345
|
-
};
|
|
9346
|
-
requestBody?: never;
|
|
9347
|
-
responses: {
|
|
9348
|
-
/** @description OK */
|
|
9349
|
-
200: {
|
|
9350
|
-
headers: {
|
|
9351
|
-
[name: string]: unknown;
|
|
9352
|
-
};
|
|
9353
|
-
content: {
|
|
9354
|
-
"application/json": {
|
|
9355
|
-
message?: string;
|
|
9356
|
-
success?: boolean;
|
|
9357
|
-
content?: {
|
|
9358
|
-
data?: (components["schemas"]["PayuSavedCard"] | components["schemas"]["JuspaySavedCard"])[];
|
|
9359
|
-
};
|
|
9360
|
-
};
|
|
9361
|
-
};
|
|
9362
|
-
};
|
|
9363
|
-
400: components["responses"]["BadRequest"];
|
|
9364
|
-
401: components["responses"]["Unauthorized"];
|
|
9365
|
-
404: components["responses"]["NotFound"];
|
|
9366
|
-
};
|
|
9367
|
-
};
|
|
9368
|
-
"add-card": {
|
|
10207
|
+
"authenticate-direct-otp": {
|
|
9369
10208
|
parameters: {
|
|
9370
10209
|
query?: never;
|
|
9371
10210
|
header?: never;
|
|
@@ -9375,7 +10214,11 @@ interface operations {
|
|
|
9375
10214
|
requestBody: {
|
|
9376
10215
|
content: {
|
|
9377
10216
|
"application/json": {
|
|
9378
|
-
|
|
10217
|
+
/** @description You can get the txn_id from the response of create order API under the payment object inside the payment_info object. The key is 'id' under the params object inside the authentication object. */
|
|
10218
|
+
txn_id: string;
|
|
10219
|
+
/** @description You can get the challenge_id from the response of create order API under the payment object inside the payment_info object. The key is 'challenge_id' under the params object inside the authentication object. */
|
|
10220
|
+
challenge_id: string;
|
|
10221
|
+
otp: string;
|
|
9379
10222
|
};
|
|
9380
10223
|
};
|
|
9381
10224
|
};
|
|
@@ -9387,19 +10230,13 @@ interface operations {
|
|
|
9387
10230
|
};
|
|
9388
10231
|
content: {
|
|
9389
10232
|
"application/json": {
|
|
9390
|
-
message
|
|
9391
|
-
success
|
|
9392
|
-
content: {
|
|
9393
|
-
/** @enum {string} */
|
|
9394
|
-
readonly payment_gateway: "juspay" | "payu";
|
|
9395
|
-
"card-details": components["schemas"]["PayuCreateCardResponse"] | components["schemas"]["JuspayCreateCardResponse"];
|
|
9396
|
-
};
|
|
10233
|
+
message?: string;
|
|
10234
|
+
success?: boolean;
|
|
9397
10235
|
};
|
|
9398
10236
|
};
|
|
9399
10237
|
};
|
|
9400
10238
|
400: components["responses"]["BadRequest"];
|
|
9401
10239
|
401: components["responses"]["Unauthorized"];
|
|
9402
|
-
404: components["responses"]["NotFound"];
|
|
9403
10240
|
};
|
|
9404
10241
|
};
|
|
9405
10242
|
"generate-hash": {
|
|
@@ -9414,12 +10251,14 @@ interface operations {
|
|
|
9414
10251
|
"application/json": {
|
|
9415
10252
|
/** @constant */
|
|
9416
10253
|
payment_gateway: "payu";
|
|
9417
|
-
/**
|
|
10254
|
+
/**
|
|
10255
|
+
* @description Format:
|
|
9418
10256
|
* For UPI id validation,
|
|
9419
10257
|
* command|{upi id}
|
|
9420
10258
|
*
|
|
9421
10259
|
* For saving, retrieving cards,
|
|
9422
|
-
* command|{user id}
|
|
10260
|
+
* command|{user id}
|
|
10261
|
+
*/
|
|
9423
10262
|
plain_text: string;
|
|
9424
10263
|
};
|
|
9425
10264
|
};
|
|
@@ -9545,10 +10384,7 @@ interface operations {
|
|
|
9545
10384
|
};
|
|
9546
10385
|
"list-payment-methods": {
|
|
9547
10386
|
parameters: {
|
|
9548
|
-
query
|
|
9549
|
-
/** @description payment gateway code */
|
|
9550
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
9551
|
-
};
|
|
10387
|
+
query?: never;
|
|
9552
10388
|
header?: never;
|
|
9553
10389
|
path?: never;
|
|
9554
10390
|
cookie?: never;
|
|
@@ -9565,7 +10401,7 @@ interface operations {
|
|
|
9565
10401
|
message?: string;
|
|
9566
10402
|
success?: boolean;
|
|
9567
10403
|
content?: {
|
|
9568
|
-
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"])[];
|
|
10404
|
+
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"] | components["schemas"]["ManualPaymentMethod"])[];
|
|
9569
10405
|
};
|
|
9570
10406
|
};
|
|
9571
10407
|
};
|
|
@@ -9575,14 +10411,23 @@ interface operations {
|
|
|
9575
10411
|
404: components["responses"]["NotFound"];
|
|
9576
10412
|
};
|
|
9577
10413
|
};
|
|
9578
|
-
"
|
|
10414
|
+
"resend-direct-otp": {
|
|
9579
10415
|
parameters: {
|
|
9580
10416
|
query?: never;
|
|
9581
10417
|
header?: never;
|
|
9582
10418
|
path?: never;
|
|
9583
10419
|
cookie?: never;
|
|
9584
10420
|
};
|
|
9585
|
-
requestBody
|
|
10421
|
+
requestBody: {
|
|
10422
|
+
content: {
|
|
10423
|
+
"application/json": {
|
|
10424
|
+
/** @description You can get the txn_id from the response of create order API under the payment object inside the payment_info object. The key is 'id' under the params object inside the authentication object. */
|
|
10425
|
+
txn_id: string;
|
|
10426
|
+
/** @description You can get the challenge_id from the response of create order API under the payment object inside the payment_info object. The key is 'challenge_id' under the params object inside the authentication object. */
|
|
10427
|
+
challenge_id: string;
|
|
10428
|
+
};
|
|
10429
|
+
};
|
|
10430
|
+
};
|
|
9586
10431
|
responses: {
|
|
9587
10432
|
/** @description OK */
|
|
9588
10433
|
200: {
|
|
@@ -9591,22 +10436,21 @@ interface operations {
|
|
|
9591
10436
|
};
|
|
9592
10437
|
content: {
|
|
9593
10438
|
"application/json": {
|
|
9594
|
-
message
|
|
9595
|
-
success
|
|
9596
|
-
content
|
|
9597
|
-
|
|
10439
|
+
message: string;
|
|
10440
|
+
success: boolean;
|
|
10441
|
+
content: {
|
|
10442
|
+
payment_info: components["schemas"]["JusPayExpressCheckoutResponse"];
|
|
9598
10443
|
};
|
|
9599
10444
|
};
|
|
9600
10445
|
};
|
|
9601
10446
|
};
|
|
10447
|
+
400: components["responses"]["BadRequest"];
|
|
9602
10448
|
401: components["responses"]["Unauthorized"];
|
|
9603
10449
|
};
|
|
9604
10450
|
};
|
|
9605
10451
|
"verify-vpa": {
|
|
9606
10452
|
parameters: {
|
|
9607
|
-
query
|
|
9608
|
-
/** @description payment gateway code */
|
|
9609
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
10453
|
+
query?: {
|
|
9610
10454
|
/** @description The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service. */
|
|
9611
10455
|
vpa?: string;
|
|
9612
10456
|
};
|
|
@@ -11178,7 +12022,7 @@ interface operations {
|
|
|
11178
12022
|
cart_id: string;
|
|
11179
12023
|
/** @description Optional. if provided, this device will be used for the payment of this order. Otherwise, already claimed device will be used for the payment purpose. */
|
|
11180
12024
|
device_id?: string;
|
|
11181
|
-
} & (components["schemas"]["PayWithCash"] | components["schemas"]["PayWithUpi"] | components["schemas"]["PayWithCard"]
|
|
12025
|
+
} & (components["schemas"]["PayWithCash"] | components["schemas"]["PayWithUpi"] | components["schemas"]["PayWithCard"]);
|
|
11182
12026
|
};
|
|
11183
12027
|
};
|
|
11184
12028
|
responses: {
|
|
@@ -11241,33 +12085,6 @@ interface operations {
|
|
|
11241
12085
|
404: components["responses"]["NotFound"];
|
|
11242
12086
|
};
|
|
11243
12087
|
};
|
|
11244
|
-
"pos-list-payment-options": {
|
|
11245
|
-
parameters: {
|
|
11246
|
-
query?: never;
|
|
11247
|
-
header?: never;
|
|
11248
|
-
path?: never;
|
|
11249
|
-
cookie?: never;
|
|
11250
|
-
};
|
|
11251
|
-
requestBody?: never;
|
|
11252
|
-
responses: {
|
|
11253
|
-
/** @description OK */
|
|
11254
|
-
200: {
|
|
11255
|
-
headers: {
|
|
11256
|
-
[name: string]: unknown;
|
|
11257
|
-
};
|
|
11258
|
-
content: {
|
|
11259
|
-
"application/json": {
|
|
11260
|
-
message?: string;
|
|
11261
|
-
success?: boolean;
|
|
11262
|
-
content?: {
|
|
11263
|
-
payment_options?: ("CASH" | "UPI" | "CARD" | "PG")[];
|
|
11264
|
-
};
|
|
11265
|
-
};
|
|
11266
|
-
};
|
|
11267
|
-
};
|
|
11268
|
-
401: components["responses"]["Unauthorized"];
|
|
11269
|
-
};
|
|
11270
|
-
};
|
|
11271
12088
|
"get-pos-user": {
|
|
11272
12089
|
parameters: {
|
|
11273
12090
|
query?: never;
|
|
@@ -11371,37 +12188,6 @@ interface operations {
|
|
|
11371
12188
|
404: components["responses"]["NotFound"];
|
|
11372
12189
|
};
|
|
11373
12190
|
};
|
|
11374
|
-
"get-shipping-methods": {
|
|
11375
|
-
parameters: {
|
|
11376
|
-
query?: never;
|
|
11377
|
-
header?: never;
|
|
11378
|
-
path?: never;
|
|
11379
|
-
cookie?: never;
|
|
11380
|
-
};
|
|
11381
|
-
requestBody: {
|
|
11382
|
-
content: {
|
|
11383
|
-
"application/json": components["schemas"]["CartBasedServiceabilityCheck"];
|
|
11384
|
-
};
|
|
11385
|
-
};
|
|
11386
|
-
responses: {
|
|
11387
|
-
/** @description OK */
|
|
11388
|
-
200: {
|
|
11389
|
-
headers: {
|
|
11390
|
-
[name: string]: unknown;
|
|
11391
|
-
};
|
|
11392
|
-
content: {
|
|
11393
|
-
"application/json": {
|
|
11394
|
-
message: string;
|
|
11395
|
-
success: boolean;
|
|
11396
|
-
content: components["schemas"]["PincodeServiceability"];
|
|
11397
|
-
};
|
|
11398
|
-
};
|
|
11399
|
-
};
|
|
11400
|
-
400: components["responses"]["BadRequest"];
|
|
11401
|
-
401: components["responses"]["Unauthorized"];
|
|
11402
|
-
404: components["responses"]["NotFound"];
|
|
11403
|
-
};
|
|
11404
|
-
};
|
|
11405
12191
|
"get-config": {
|
|
11406
12192
|
parameters: {
|
|
11407
12193
|
query?: never;
|
|
@@ -12139,13 +12925,6 @@ declare class BaseAPIClient<TPaths extends Record<string, any>, THeaders extends
|
|
|
12139
12925
|
* @returns Current default headers
|
|
12140
12926
|
*/
|
|
12141
12927
|
getDefaultHeaders(): THeaders | undefined;
|
|
12142
|
-
/**
|
|
12143
|
-
* Add middleware to the client
|
|
12144
|
-
* This allows SDK extensions to add custom middleware like authentication
|
|
12145
|
-
*
|
|
12146
|
-
* @param middleware - Middleware to add to the client
|
|
12147
|
-
*/
|
|
12148
|
-
use(middleware: any): void;
|
|
12149
12928
|
}
|
|
12150
12929
|
//#endregion
|
|
12151
12930
|
//#region src/utils/url.d.ts
|
|
@@ -12429,6 +13208,7 @@ type CartBasedServiceabilityCheck = components['schemas']['CartBasedServiceabili
|
|
|
12429
13208
|
type CartItem = components['schemas']['CartItem'];
|
|
12430
13209
|
type Category = components['schemas']['Category'];
|
|
12431
13210
|
type CollectInStore = components['schemas']['CollectInStore'];
|
|
13211
|
+
type CollectInStoreAddress = components['schemas']['CollectInStoreAddress'];
|
|
12432
13212
|
type CollectInStoreFulfillment = components['schemas']['CollectInStoreFulfillment'];
|
|
12433
13213
|
type ColorAttribute = components['schemas']['ColorAttribute'];
|
|
12434
13214
|
type ColorOption = components['schemas']['ColorOption'];
|
|
@@ -12476,20 +13256,31 @@ type GstinDetail = components['schemas']['GstinDetail'];
|
|
|
12476
13256
|
type InapplicableCoupon = components['schemas']['InapplicableCoupon'];
|
|
12477
13257
|
type InapplicablePromotion = components['schemas']['InapplicablePromotion'];
|
|
12478
13258
|
type Item = components['schemas']['Item'];
|
|
12479
|
-
type
|
|
12480
|
-
type
|
|
13259
|
+
type JusPayExpressCheckout = components['schemas']['JusPayExpressCheckout'];
|
|
13260
|
+
type JusPayExpressCheckoutCommonField = components['schemas']['JusPayExpressCheckoutCommonField'];
|
|
13261
|
+
type JusPayExpressCheckoutResponse = components['schemas']['JusPayExpressCheckoutResponse'];
|
|
13262
|
+
type JusPayHyperCheckout = components['schemas']['JusPayHyperCheckout'];
|
|
13263
|
+
type JusPayHyperCheckoutResponse = components['schemas']['JusPayHyperCheckoutResponse'];
|
|
13264
|
+
type JusPayNewCard = components['schemas']['JusPayNewCard'];
|
|
13265
|
+
type JusPaySavedCardToken = components['schemas']['JusPaySavedCardToken'];
|
|
13266
|
+
type JuspayCardPaymentMethod = components['schemas']['JuspayCardPaymentMethod'];
|
|
12481
13267
|
type JuspayCreateCustomerPayload = components['schemas']['JuspayCreateCustomerPayload'];
|
|
12482
13268
|
type JuspayCreateOrderPayload = components['schemas']['JuspayCreateOrderPayload'];
|
|
12483
13269
|
type JuspayCustomer = components['schemas']['JuspayCustomer'];
|
|
13270
|
+
type JuspayNetBanking = components['schemas']['JuspayNetBanking'];
|
|
13271
|
+
type JuspayNetbankingPaymentMethod = components['schemas']['JuspayNetbankingPaymentMethod'];
|
|
12484
13272
|
type JuspayOrder = components['schemas']['JuspayOrder'];
|
|
12485
|
-
type JuspayPaymentGatewayParams = components['schemas']['JuspayPaymentGatewayParams'];
|
|
12486
|
-
type JuspayPaymentInfo = components['schemas']['JuspayPaymentInfo'];
|
|
12487
13273
|
type JuspayPaymentMethod = components['schemas']['JuspayPaymentMethod'];
|
|
12488
|
-
type
|
|
13274
|
+
type JuspayPaymentMethodDetail = components['schemas']['JuspayPaymentMethodDetail'];
|
|
13275
|
+
type JuspayUpiCollect = components['schemas']['JuspayUpiCollect'];
|
|
13276
|
+
type JuspayUpiIntent = components['schemas']['JuspayUpiIntent'];
|
|
13277
|
+
type JuspayUpiPaymentMethod = components['schemas']['JuspayUpiPaymentMethod'];
|
|
13278
|
+
type JuspayWalletPaymentMethod = components['schemas']['JuspayWalletPaymentMethod'];
|
|
12489
13279
|
type KycDocument = components['schemas']['KycDocument'];
|
|
12490
13280
|
type KycDocumentConfig = components['schemas']['KycDocumentConfig'];
|
|
12491
13281
|
type LotBatchDetail = components['schemas']['LotBatchDetail'];
|
|
12492
13282
|
type LoyaltyPointActivity = components['schemas']['LoyaltyPointActivity'];
|
|
13283
|
+
type ManualPaymentMethod = components['schemas']['ManualPaymentMethod'];
|
|
12493
13284
|
type MeasurementUnit = components['schemas']['MeasurementUnit'];
|
|
12494
13285
|
type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
|
|
12495
13286
|
type NetbankingPayment = components['schemas']['NetbankingPayment'];
|
|
@@ -12511,17 +13302,11 @@ type PartialCollectAndDelivery = components['schemas']['PartialCollectAndDeliver
|
|
|
12511
13302
|
type PauseSubscription = components['schemas']['PauseSubscription'];
|
|
12512
13303
|
type PayWithCard = components['schemas']['PayWithCard'];
|
|
12513
13304
|
type PayWithCash = components['schemas']['PayWithCash'];
|
|
12514
|
-
type PayWithPaymentGateway = components['schemas']['PayWithPaymentGateway'];
|
|
12515
13305
|
type PayWithUpi = components['schemas']['PayWithUpi'];
|
|
12516
|
-
type PaymentGateway = components['schemas']['PaymentGateway'];
|
|
12517
|
-
type PaymentGatewayParams = components['schemas']['PaymentGatewayParams'];
|
|
12518
13306
|
type PaymentInfo = components['schemas']['PaymentInfo'];
|
|
12519
|
-
type
|
|
12520
|
-
type PayuCreateCardResponse = components['schemas']['PayuCreateCardResponse'];
|
|
12521
|
-
type PayuPaymentGatewayParams = components['schemas']['PayuPaymentGatewayParams'];
|
|
13307
|
+
type PaymentMethodPayload = components['schemas']['PaymentMethodPayload'];
|
|
12522
13308
|
type PayuPaymentInfo = components['schemas']['PayuPaymentInfo'];
|
|
12523
13309
|
type PayuPaymentMethod = components['schemas']['PayuPaymentMethod'];
|
|
12524
|
-
type PayuSavedCard = components['schemas']['PayuSavedCard'];
|
|
12525
13310
|
type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
|
|
12526
13311
|
type Pincode = components['schemas']['Pincode'];
|
|
12527
13312
|
type PincodeServiceability = components['schemas']['PincodeServiceability'];
|
|
@@ -12549,9 +13334,11 @@ type PromotionType = components['schemas']['PromotionType'];
|
|
|
12549
13334
|
type RegisterWithEmailPassword = components['schemas']['RegisterWithEmailPassword'];
|
|
12550
13335
|
type RegisterWithPhonePassword = components['schemas']['RegisterWithPhonePassword'];
|
|
12551
13336
|
type RevokeSubscription = components['schemas']['RevokeSubscription'];
|
|
13337
|
+
type SavedPaymentMethod = components['schemas']['SavedPaymentMethod'];
|
|
12552
13338
|
type SearchProduct = components['schemas']['SearchProduct'];
|
|
12553
13339
|
type Seo = components['schemas']['Seo'];
|
|
12554
13340
|
type ShipmentItem = components['schemas']['ShipmentItem'];
|
|
13341
|
+
type ShipmentStatus = components['schemas']['ShipmentStatus'];
|
|
12555
13342
|
type SingleSelectAttribute = components['schemas']['SingleSelectAttribute'];
|
|
12556
13343
|
type SingleSelectOption = components['schemas']['SingleSelectOption'];
|
|
12557
13344
|
type StoreConfig = components['schemas']['StoreConfig'];
|
|
@@ -12723,13 +13510,58 @@ type RedeemLoyaltyPointsBody = NonNullable<paths['/carts/{id}/loyalty-points']['
|
|
|
12723
13510
|
type RemoveLoyaltyPointsResponse = paths['/carts/{id}/loyalty-points']['delete']['responses'][200]['content']['application/json'];
|
|
12724
13511
|
type RemoveLoyaltyPointsContent = RemoveLoyaltyPointsResponse['content'];
|
|
12725
13512
|
type RemoveLoyaltyPointsPathParams = paths['/carts/{id}/loyalty-points']['delete']['parameters']['path'];
|
|
12726
|
-
type UpdateShippingMethodResponse = paths['/carts/{id}/shipping-method']['post']['responses'][200]['content']['application/json'];
|
|
12727
|
-
type UpdateShippingMethodContent = UpdateShippingMethodResponse['content'];
|
|
12728
|
-
type UpdateShippingMethodPathParams = paths['/carts/{id}/shipping-method']['post']['parameters']['path'];
|
|
12729
|
-
type UpdateShippingMethodBody = NonNullable<paths['/carts/{id}/shipping-method']['post']['requestBody']>['content']['application/json'];
|
|
12730
13513
|
type ListCategoriesResponse = paths['/catalog/categories']['get']['responses'][200]['content']['application/json'];
|
|
12731
13514
|
type ListCategoriesContent = ListCategoriesResponse['content'];
|
|
12732
13515
|
type ListCategoriesQuery = paths['/catalog/categories']['get']['parameters']['query'];
|
|
13516
|
+
type ListMarketplaceCategoriesResponse = paths['/catalog/marketplace/categories']['get']['responses'][200]['content']['application/json'];
|
|
13517
|
+
type ListMarketplaceCategoriesContent = ListMarketplaceCategoriesResponse['content'];
|
|
13518
|
+
type ListMarketplaceCategoriesQuery = paths['/catalog/marketplace/categories']['get']['parameters']['query'];
|
|
13519
|
+
type ListMarketplaceProductsResponse = paths['/catalog/marketplace/products']['get']['responses'][200]['content']['application/json'];
|
|
13520
|
+
type ListMarketplaceProductsContent = ListMarketplaceProductsResponse['content'];
|
|
13521
|
+
type ListMarketplaceProductsQuery = paths['/catalog/marketplace/products']['get']['parameters']['query'];
|
|
13522
|
+
type ListMarketplaceProductsHeaderParams = paths['/catalog/marketplace/products']['get']['parameters']['header'];
|
|
13523
|
+
type ListMarketplaceCrosssellProductsResponse = paths['/catalog/marketplace/products/cross-sell']['get']['responses'][200]['content']['application/json'];
|
|
13524
|
+
type ListMarketplaceCrosssellProductsContent = ListMarketplaceCrosssellProductsResponse['content'];
|
|
13525
|
+
type ListMarketplaceCrosssellProductsQuery = paths['/catalog/marketplace/products/cross-sell']['get']['parameters']['query'];
|
|
13526
|
+
type ListMarketplaceCrosssellProductsHeaderParams = paths['/catalog/marketplace/products/cross-sell']['get']['parameters']['header'];
|
|
13527
|
+
type SearchMarketplaceProductsResponse = paths['/catalog/marketplace/products/search']['post']['responses'][200]['content']['application/json'];
|
|
13528
|
+
type SearchMarketplaceProductsContent = SearchMarketplaceProductsResponse['content'];
|
|
13529
|
+
type SearchMarketplaceProductsHeaderParams = paths['/catalog/marketplace/products/search']['post']['parameters']['header'];
|
|
13530
|
+
type SearchMarketplaceProductsBody = NonNullable<paths['/catalog/marketplace/products/search']['post']['requestBody']>['content']['application/json'];
|
|
13531
|
+
type ListMarketplaceSimilarProductsResponse = paths['/catalog/marketplace/products/similar']['get']['responses'][200]['content']['application/json'];
|
|
13532
|
+
type ListMarketplaceSimilarProductsContent = ListMarketplaceSimilarProductsResponse['content'];
|
|
13533
|
+
type ListMarketplaceSimilarProductsQuery = paths['/catalog/marketplace/products/similar']['get']['parameters']['query'];
|
|
13534
|
+
type ListMarketplaceSimilarProductsHeaderParams = paths['/catalog/marketplace/products/similar']['get']['parameters']['header'];
|
|
13535
|
+
type ListMarketplaceUpsellProductsResponse = paths['/catalog/marketplace/products/up-sell']['get']['responses'][200]['content']['application/json'];
|
|
13536
|
+
type ListMarketplaceUpsellProductsContent = ListMarketplaceUpsellProductsResponse['content'];
|
|
13537
|
+
type ListMarketplaceUpsellProductsQuery = paths['/catalog/marketplace/products/up-sell']['get']['parameters']['query'];
|
|
13538
|
+
type ListMarketplaceUpsellProductsHeaderParams = paths['/catalog/marketplace/products/up-sell']['get']['parameters']['header'];
|
|
13539
|
+
type GetMarketplaceProductDetailResponse = paths['/catalog/marketplace/products/{product_id_or_slug}']['get']['responses'][200]['content']['application/json'];
|
|
13540
|
+
type GetMarketplaceProductDetailContent = GetMarketplaceProductDetailResponse['content'];
|
|
13541
|
+
type GetMarketplaceProductDetailQuery = paths['/catalog/marketplace/products/{product_id_or_slug}']['get']['parameters']['query'];
|
|
13542
|
+
type GetMarketplaceProductDetailPathParams = paths['/catalog/marketplace/products/{product_id_or_slug}']['get']['parameters']['path'];
|
|
13543
|
+
type GetMarketplaceProductDetailHeaderParams = paths['/catalog/marketplace/products/{product_id_or_slug}']['get']['parameters']['header'];
|
|
13544
|
+
type ListMarketplaceProductReviewsResponse = paths['/catalog/marketplace/products/{product_id}/reviews']['get']['responses'][200]['content']['application/json'];
|
|
13545
|
+
type ListMarketplaceProductReviewsContent = ListMarketplaceProductReviewsResponse['content'];
|
|
13546
|
+
type ListMarketplaceProductReviewsQuery = paths['/catalog/marketplace/products/{product_id}/reviews']['get']['parameters']['query'];
|
|
13547
|
+
type ListMarketplaceProductReviewsPathParams = paths['/catalog/marketplace/products/{product_id}/reviews']['get']['parameters']['path'];
|
|
13548
|
+
type CreateMarketplaceProductReviewResponse = paths['/catalog/marketplace/products/{product_id}/reviews']['post']['responses'][200]['content']['application/json'];
|
|
13549
|
+
type CreateMarketplaceProductReviewPathParams = paths['/catalog/marketplace/products/{product_id}/reviews']['post']['parameters']['path'];
|
|
13550
|
+
type CreateMarketplaceProductReviewFormData = NonNullable<paths['/catalog/marketplace/products/{product_id}/reviews']['post']['requestBody']>['content']['multipart/form-data'];
|
|
13551
|
+
type ListMarketplaceProductVariantsResponse = paths['/catalog/marketplace/products/{product_id}/variants']['get']['responses'][200]['content']['application/json'];
|
|
13552
|
+
type ListMarketplaceProductVariantsContent = ListMarketplaceProductVariantsResponse['content'];
|
|
13553
|
+
type ListMarketplaceProductVariantsQuery = paths['/catalog/marketplace/products/{product_id}/variants']['get']['parameters']['query'];
|
|
13554
|
+
type ListMarketplaceProductVariantsPathParams = paths['/catalog/marketplace/products/{product_id}/variants']['get']['parameters']['path'];
|
|
13555
|
+
type ListMarketplaceProductVariantsHeaderParams = paths['/catalog/marketplace/products/{product_id}/variants']['get']['parameters']['header'];
|
|
13556
|
+
type GetMarketplaceVariantDetailResponse = paths['/catalog/marketplace/products/{product_id}/variants/{variant_id}']['get']['responses'][200]['content']['application/json'];
|
|
13557
|
+
type GetMarketplaceVariantDetailContent = GetMarketplaceVariantDetailResponse['content'];
|
|
13558
|
+
type GetMarketplaceVariantDetailQuery = paths['/catalog/marketplace/products/{product_id}/variants/{variant_id}']['get']['parameters']['query'];
|
|
13559
|
+
type GetMarketplaceVariantDetailPathParams = paths['/catalog/marketplace/products/{product_id}/variants/{variant_id}']['get']['parameters']['path'];
|
|
13560
|
+
type GetMarketplaceVariantDetailHeaderParams = paths['/catalog/marketplace/products/{product_id}/variants/{variant_id}']['get']['parameters']['header'];
|
|
13561
|
+
type ListMarketplaceSkusResponse = paths['/catalog/marketplace/skus']['get']['responses'][200]['content']['application/json'];
|
|
13562
|
+
type ListMarketplaceSkusContent = ListMarketplaceSkusResponse['content'];
|
|
13563
|
+
type ListMarketplaceSkusQuery = paths['/catalog/marketplace/skus']['get']['parameters']['query'];
|
|
13564
|
+
type ListMarketplaceSkusHeaderParams = paths['/catalog/marketplace/skus']['get']['parameters']['header'];
|
|
12733
13565
|
type ListProductsResponse = paths['/catalog/products']['get']['responses'][200]['content']['application/json'];
|
|
12734
13566
|
type ListProductsContent = ListProductsResponse['content'];
|
|
12735
13567
|
type ListProductsQuery = paths['/catalog/products']['get']['parameters']['query'];
|
|
@@ -12788,6 +13620,9 @@ type ListCountryStatesPathParams = paths['/common/countries/{country_iso_code}/s
|
|
|
12788
13620
|
type CreateCustomerResponse = paths['/customers']['post']['responses'][200]['content']['application/json'];
|
|
12789
13621
|
type CreateCustomerContent = CreateCustomerResponse['content'];
|
|
12790
13622
|
type CreateCustomerBody = NonNullable<paths['/customers']['post']['requestBody']>['content']['application/json'];
|
|
13623
|
+
type ListSavedPaymentMethodsResponse = paths['/customers/{customer_id}/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13624
|
+
type ListSavedPaymentMethodsContent = ListSavedPaymentMethodsResponse['content'];
|
|
13625
|
+
type ListSavedPaymentMethodsPathParams = paths['/customers/{customer_id}/payment-methods']['get']['parameters']['path'];
|
|
12791
13626
|
type GetCustomerDetailResponse = paths['/customers/{id}']['get']['responses'][200]['content']['application/json'];
|
|
12792
13627
|
type GetCustomerDetailContent = GetCustomerDetailResponse['content'];
|
|
12793
13628
|
type GetCustomerDetailPathParams = paths['/customers/{id}']['get']['parameters']['path'];
|
|
@@ -12880,12 +13715,8 @@ type GetOrderReturnDetailPathParams = paths['/orders/{order_number}/return/{retu
|
|
|
12880
13715
|
type ListOrderShipmentsResponse = paths['/orders/{order_number}/shipments']['get']['responses'][200]['content']['application/json'];
|
|
12881
13716
|
type ListOrderShipmentsContent = ListOrderShipmentsResponse['content'];
|
|
12882
13717
|
type ListOrderShipmentsPathParams = paths['/orders/{order_number}/shipments']['get']['parameters']['path'];
|
|
12883
|
-
type
|
|
12884
|
-
type
|
|
12885
|
-
type ListSavedCardsQuery = paths['/payments/cards']['get']['parameters']['query'];
|
|
12886
|
-
type AddCardResponse = paths['/payments/cards']['post']['responses'][200]['content']['application/json'];
|
|
12887
|
-
type AddCardContent = AddCardResponse['content'];
|
|
12888
|
-
type AddCardBody = NonNullable<paths['/payments/cards']['post']['requestBody']>['content']['application/json'];
|
|
13718
|
+
type AuthenticateDirectOtpResponse = paths['/payments/authenticate-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13719
|
+
type AuthenticateDirectOtpBody = NonNullable<paths['/payments/authenticate-direct-otp']['post']['requestBody']>['content']['application/json'];
|
|
12889
13720
|
type GenerateHashResponse = paths['/payments/generate-hash']['post']['responses'][200]['content']['application/json'];
|
|
12890
13721
|
type GenerateHashContent = GenerateHashResponse['content'];
|
|
12891
13722
|
type GenerateHashBody = NonNullable<paths['/payments/generate-hash']['post']['requestBody']>['content']['application/json'];
|
|
@@ -12900,9 +13731,9 @@ type GetJuspayCustomerContent = GetJuspayCustomerResponse['content'];
|
|
|
12900
13731
|
type GetJuspayCustomerPathParams = paths['/payments/juspay/customers/{user_id}']['get']['parameters']['path'];
|
|
12901
13732
|
type ListPaymentMethodsResponse = paths['/payments/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
12902
13733
|
type ListPaymentMethodsContent = ListPaymentMethodsResponse['content'];
|
|
12903
|
-
type
|
|
12904
|
-
type
|
|
12905
|
-
type
|
|
13734
|
+
type ResendDirectOtpResponse = paths['/payments/resend-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13735
|
+
type ResendDirectOtpContent = ResendDirectOtpResponse['content'];
|
|
13736
|
+
type ResendDirectOtpBody = NonNullable<paths['/payments/resend-direct-otp']['post']['requestBody']>['content']['application/json'];
|
|
12906
13737
|
type VerifyVpaResponse = paths['/payments/verify-vpa']['get']['responses'][200]['content']['application/json'];
|
|
12907
13738
|
type VerifyVpaContent = VerifyVpaResponse['content'];
|
|
12908
13739
|
type VerifyVpaQuery = paths['/payments/verify-vpa']['get']['parameters']['query'];
|
|
@@ -13053,8 +13884,6 @@ type CreatePosOrderBody = NonNullable<paths['/pos/orders']['post']['requestBody'
|
|
|
13053
13884
|
type PosGetPaymentStatusResponse = paths['/pos/orders/{order_number}/payment-status']['get']['responses'][200]['content']['application/json'];
|
|
13054
13885
|
type PosGetPaymentStatusContent = PosGetPaymentStatusResponse['content'];
|
|
13055
13886
|
type PosGetPaymentStatusPathParams = paths['/pos/orders/{order_number}/payment-status']['get']['parameters']['path'];
|
|
13056
|
-
type PosListPaymentOptionsResponse = paths['/pos/payments/payment-options']['get']['responses'][200]['content']['application/json'];
|
|
13057
|
-
type PosListPaymentOptionsContent = PosListPaymentOptionsResponse['content'];
|
|
13058
13887
|
type GetPosUserResponse = paths['/pos/users/{id}']['get']['responses'][200]['content']['application/json'];
|
|
13059
13888
|
type GetPosUserContent = GetPosUserResponse['content'];
|
|
13060
13889
|
type GetPosUserPathParams = paths['/pos/users/{id}']['get']['parameters']['path'];
|
|
@@ -13064,9 +13893,6 @@ type GetFulfillmentOptionsBody = NonNullable<paths['/shipping/fulfillment-option
|
|
|
13064
13893
|
type CheckPincodeServiceabilityResponse = paths['/shipping/serviceability/{pincode}']['get']['responses'][200]['content']['application/json'];
|
|
13065
13894
|
type CheckPincodeServiceabilityContent = CheckPincodeServiceabilityResponse['content'];
|
|
13066
13895
|
type CheckPincodeServiceabilityPathParams = paths['/shipping/serviceability/{pincode}']['get']['parameters']['path'];
|
|
13067
|
-
type GetShippingMethodsResponse = paths['/shipping/shipping-methods']['post']['responses'][200]['content']['application/json'];
|
|
13068
|
-
type GetShippingMethodsContent = GetShippingMethodsResponse['content'];
|
|
13069
|
-
type GetShippingMethodsBody = NonNullable<paths['/shipping/shipping-methods']['post']['requestBody']>['content']['application/json'];
|
|
13070
13896
|
type GetConfigResponse = paths['/store/config']['get']['responses'][200]['content']['application/json'];
|
|
13071
13897
|
type GetConfigContent = GetConfigResponse['content'];
|
|
13072
13898
|
type ListKycDocumentResponse = paths['/store/kyc-document']['get']['responses'][200]['content']['application/json'];
|
|
@@ -13890,7 +14716,7 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
13890
14716
|
*/
|
|
13891
14717
|
removeLoyaltyPoints(cartId: RemoveLoyaltyPointsPathParams): Promise<ApiResult<RemoveLoyaltyPointsContent>>;
|
|
13892
14718
|
/**
|
|
13893
|
-
* Update
|
|
14719
|
+
* Update fulfillment preference
|
|
13894
14720
|
*
|
|
13895
14721
|
* @param cartId - The ID of the cart
|
|
13896
14722
|
* @param body - The body of the request
|
|
@@ -14754,27 +15580,80 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14754
15580
|
* @returns Promise with order details
|
|
14755
15581
|
* @example
|
|
14756
15582
|
* ```typescript
|
|
14757
|
-
* //
|
|
15583
|
+
* // Juspay Hyper Checkout - Redirects to hosted payment page
|
|
15584
|
+
* const { data, error } = await sdk.order.createOrder({
|
|
15585
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15586
|
+
* payment_method: {
|
|
15587
|
+
* payment_provider_slug: "juspay",
|
|
15588
|
+
* integration_type: "hyper-checkout",
|
|
15589
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15590
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15591
|
+
* action: "paymentPage"
|
|
15592
|
+
* }
|
|
15593
|
+
* });
|
|
15594
|
+
*
|
|
15595
|
+
* // Juspay Express Checkout - New Card
|
|
14758
15596
|
* const { data, error } = await sdk.order.createOrder({
|
|
14759
15597
|
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
14760
|
-
*
|
|
14761
|
-
*
|
|
14762
|
-
*
|
|
14763
|
-
*
|
|
14764
|
-
*
|
|
15598
|
+
* payment_method: {
|
|
15599
|
+
* payment_provider_slug: "juspay",
|
|
15600
|
+
* integration_type: "express-checkout",
|
|
15601
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15602
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15603
|
+
* payment_method_type: "CARD",
|
|
15604
|
+
* payment_method: "VISA",
|
|
15605
|
+
* auth_type: "OTP",
|
|
15606
|
+
* save_to_locker: true,
|
|
15607
|
+
* card_number: "4111111111111111",
|
|
15608
|
+
* card_exp_month: "12",
|
|
15609
|
+
* card_exp_year: "2025",
|
|
15610
|
+
* name_on_card: "John Doe",
|
|
15611
|
+
* card_security_code: "123"
|
|
14765
15612
|
* }
|
|
14766
15613
|
* });
|
|
14767
15614
|
*
|
|
14768
|
-
* //
|
|
15615
|
+
* // Juspay Express Checkout - Saved Card Token
|
|
14769
15616
|
* const { data, error } = await sdk.order.createOrder({
|
|
14770
15617
|
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
14771
|
-
*
|
|
14772
|
-
*
|
|
14773
|
-
*
|
|
14774
|
-
*
|
|
14775
|
-
*
|
|
15618
|
+
* payment_method: {
|
|
15619
|
+
* payment_provider_slug: "juspay",
|
|
15620
|
+
* integration_type: "express-checkout",
|
|
15621
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15622
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15623
|
+
* get_client_auth_token: true,
|
|
15624
|
+
* payment_method_type: "CARD",
|
|
15625
|
+
* payment_method: "VISA",
|
|
15626
|
+
* auth_type: "OTP",
|
|
15627
|
+
* save_to_locker: false,
|
|
15628
|
+
* card_token: "token_abc123",
|
|
15629
|
+
* card_security_code: "123"
|
|
15630
|
+
* }
|
|
15631
|
+
* });
|
|
15632
|
+
*
|
|
15633
|
+
* // Juspay Express Checkout - UPI Collect
|
|
15634
|
+
* const { data, error } = await sdk.order.createOrder({
|
|
15635
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15636
|
+
* payment_method: {
|
|
15637
|
+
* payment_provider_slug: "juspay",
|
|
15638
|
+
* integration_type: "express-checkout",
|
|
15639
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15640
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15641
|
+
* payment_method_type: "UPI",
|
|
15642
|
+
* payment_method: "UPI_COLLECT",
|
|
15643
|
+
* upi_vpa: "user@upi"
|
|
15644
|
+
* }
|
|
15645
|
+
* });
|
|
15646
|
+
*
|
|
15647
|
+
* // Juspay Express Checkout - Net Banking
|
|
15648
|
+
* const { data, error } = await sdk.order.createOrder({
|
|
15649
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15650
|
+
* payment_method: {
|
|
15651
|
+
* payment_provider_slug: "juspay",
|
|
15652
|
+
* integration_type: "express-checkout",
|
|
15653
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
14776
15654
|
* return_url: "https://yourapp.com/payment/return",
|
|
14777
|
-
*
|
|
15655
|
+
* payment_method_type: "NB",
|
|
15656
|
+
* payment_method: "NB_HDFC"
|
|
14778
15657
|
* }
|
|
14779
15658
|
* });
|
|
14780
15659
|
*
|
|
@@ -14784,6 +15663,17 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14784
15663
|
* console.log("Order created:", data.order.id);
|
|
14785
15664
|
* console.log("Payment required:", data.payment_required);
|
|
14786
15665
|
* console.log("Payment info:", data.payment_info);
|
|
15666
|
+
*
|
|
15667
|
+
* // For hyper-checkout, redirect to payment page
|
|
15668
|
+
* if ("payment_links" in data.payment_info) {
|
|
15669
|
+
* window.location.href = data.payment_info.payment_links?.web;
|
|
15670
|
+
* }
|
|
15671
|
+
*
|
|
15672
|
+
* // For express-checkout with OTP authentication
|
|
15673
|
+
* if ("payment" in data.payment_info && data.payment_info.payment?.authentication?.params) {
|
|
15674
|
+
* const { id: txn_id, challenge_id } = data.payment_info.payment.authentication.params;
|
|
15675
|
+
* // Use txn_id and challenge_id with sdk.payments.authenticateDirectOtp()
|
|
15676
|
+
* }
|
|
14787
15677
|
* }
|
|
14788
15678
|
* ```
|
|
14789
15679
|
*/
|
|
@@ -14954,28 +15844,32 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14954
15844
|
* @returns Promise with payment information
|
|
14955
15845
|
* @example
|
|
14956
15846
|
* ```typescript
|
|
14957
|
-
* //
|
|
15847
|
+
* // Juspay Hyper Checkout - Redirects to hosted payment page
|
|
14958
15848
|
* const { data, error } = await sdk.order.retryOrderPayment(
|
|
14959
15849
|
* { order_number: "ORD-2024-001" },
|
|
14960
15850
|
* {
|
|
14961
|
-
*
|
|
14962
|
-
*
|
|
14963
|
-
*
|
|
14964
|
-
*
|
|
15851
|
+
* payment_method: {
|
|
15852
|
+
* payment_provider_slug: "juspay",
|
|
15853
|
+
* integration_type: "hyper-checkout",
|
|
15854
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15855
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15856
|
+
* action: "paymentPage"
|
|
14965
15857
|
* }
|
|
14966
15858
|
* }
|
|
14967
15859
|
* );
|
|
14968
15860
|
*
|
|
14969
|
-
* //
|
|
15861
|
+
* // Juspay Express Checkout - UPI Collect
|
|
14970
15862
|
* const { data, error } = await sdk.order.retryOrderPayment(
|
|
14971
15863
|
* { order_number: "ORD-2024-001" },
|
|
14972
15864
|
* {
|
|
14973
|
-
*
|
|
14974
|
-
*
|
|
14975
|
-
*
|
|
14976
|
-
*
|
|
15865
|
+
* payment_method: {
|
|
15866
|
+
* payment_provider_slug: "juspay",
|
|
15867
|
+
* integration_type: "express-checkout",
|
|
15868
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
14977
15869
|
* return_url: "https://yourapp.com/payment/return",
|
|
14978
|
-
*
|
|
15870
|
+
* payment_method_type: "UPI",
|
|
15871
|
+
* payment_method: "UPI_COLLECT",
|
|
15872
|
+
* upi_vpa: "user@upi"
|
|
14979
15873
|
* }
|
|
14980
15874
|
* }
|
|
14981
15875
|
* );
|
|
@@ -14985,50 +15879,133 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14985
15879
|
* } else {
|
|
14986
15880
|
* console.log("Payment retry initiated");
|
|
14987
15881
|
* console.log("Payment info:", data.payment_info);
|
|
14988
|
-
*
|
|
15882
|
+
*
|
|
15883
|
+
* // For hyper-checkout, redirect to payment page
|
|
15884
|
+
* if ("payment_links" in data.payment_info) {
|
|
15885
|
+
* window.location.href = data.payment_info.payment_links?.web;
|
|
15886
|
+
* }
|
|
14989
15887
|
* }
|
|
14990
15888
|
* ```
|
|
14991
15889
|
*/
|
|
14992
15890
|
retryOrderPayment(pathParams: RetryOrderPaymentPathParams, body: RetryOrderPaymentBody): Promise<ApiResult<RetryOrderPaymentContent>>;
|
|
14993
15891
|
}
|
|
14994
15892
|
//#endregion
|
|
14995
|
-
//#region src/lib/
|
|
15893
|
+
//#region src/lib/payments.d.ts
|
|
14996
15894
|
/**
|
|
14997
|
-
* Client for interacting with
|
|
15895
|
+
* Client for interacting with payment endpoints
|
|
14998
15896
|
*/
|
|
14999
|
-
declare class
|
|
15897
|
+
declare class PaymentsClient extends StorefrontAPIClient {
|
|
15898
|
+
/**
|
|
15899
|
+
* List all available payment methods
|
|
15900
|
+
*
|
|
15901
|
+
* @returns Promise with list of payment methods
|
|
15902
|
+
* @example
|
|
15903
|
+
* ```typescript
|
|
15904
|
+
* const { data, error } = await sdk.payments.listPaymentMethods();
|
|
15905
|
+
*
|
|
15906
|
+
* if (error) {
|
|
15907
|
+
* console.error("Failed to list payment methods:", error.message);
|
|
15908
|
+
* } else {
|
|
15909
|
+
* console.log("Payment methods:", data.payment_methods);
|
|
15910
|
+
*
|
|
15911
|
+
* data.payment_methods?.forEach(method => {
|
|
15912
|
+
* console.log("Payment method:", method.name);
|
|
15913
|
+
* console.log("Gateway:", method.payment_gateway);
|
|
15914
|
+
* });
|
|
15915
|
+
* }
|
|
15916
|
+
* ```
|
|
15917
|
+
*/
|
|
15918
|
+
listPaymentMethods(): Promise<ApiResult<ListPaymentMethodsContent>>;
|
|
15919
|
+
/**
|
|
15920
|
+
* Verify a UPI Virtual Payment Address (VPA)
|
|
15921
|
+
*
|
|
15922
|
+
* @description The Virtual Payment Address or VPA is a unique ID given to an individual
|
|
15923
|
+
* using the Unified Payment Interface (UPI) service to send or receive money.
|
|
15924
|
+
* Validating the VPA helps reduce payment failure rates due to incorrect VPA.
|
|
15925
|
+
*
|
|
15926
|
+
* @param queryParams - Query parameters containing the VPA to verify
|
|
15927
|
+
* @returns Promise with VPA verification result
|
|
15928
|
+
* @example
|
|
15929
|
+
* ```typescript
|
|
15930
|
+
* const { data, error } = await sdk.payments.verifyVpa({
|
|
15931
|
+
* vpa: "user@upi"
|
|
15932
|
+
* });
|
|
15933
|
+
*
|
|
15934
|
+
* if (error) {
|
|
15935
|
+
* console.error("Failed to verify VPA:", error.message);
|
|
15936
|
+
* } else {
|
|
15937
|
+
* console.log("VPA:", data.vpa);
|
|
15938
|
+
* console.log("Status:", data.status);
|
|
15939
|
+
*
|
|
15940
|
+
* if (data.status === "VALID") {
|
|
15941
|
+
* console.log("VPA is valid and can be used for UPI payments");
|
|
15942
|
+
* } else {
|
|
15943
|
+
* console.log("VPA is invalid, please check and try again");
|
|
15944
|
+
* }
|
|
15945
|
+
* }
|
|
15946
|
+
* ```
|
|
15947
|
+
*/
|
|
15948
|
+
verifyVpa(queryParams: VerifyVpaQuery): Promise<ApiResult<VerifyVpaContent>>;
|
|
15000
15949
|
/**
|
|
15001
|
-
*
|
|
15950
|
+
* Authenticate a direct OTP for payment verification
|
|
15951
|
+
*
|
|
15952
|
+
* @description Used to authenticate OTP during payment flows that require 2FA verification.
|
|
15953
|
+
* The txn_id and challenge_id can be obtained from the create order API response
|
|
15954
|
+
* under the payment_info.authentication.params object.
|
|
15002
15955
|
*
|
|
15003
|
-
* @param body -
|
|
15004
|
-
* @returns Promise with
|
|
15956
|
+
* @param body - OTP authentication request body
|
|
15957
|
+
* @returns Promise with authentication result
|
|
15005
15958
|
* @example
|
|
15006
15959
|
* ```typescript
|
|
15007
|
-
*
|
|
15008
|
-
*
|
|
15009
|
-
*
|
|
15960
|
+
* // After creating an order, if OTP authentication is required:
|
|
15961
|
+
* const { data, error } = await sdk.payments.authenticateDirectOtp({
|
|
15962
|
+
* txn_id: "txn_01H9XYZ12345ABCDE",
|
|
15963
|
+
* challenge_id: "challenge_01H9XYZ12345ABCDE",
|
|
15964
|
+
* otp: "123456"
|
|
15010
15965
|
* });
|
|
15011
15966
|
*
|
|
15012
15967
|
* if (error) {
|
|
15013
|
-
* console.error("
|
|
15968
|
+
* console.error("OTP authentication failed:", error.message);
|
|
15014
15969
|
* } else {
|
|
15015
|
-
* console.log("
|
|
15016
|
-
* console.log("
|
|
15970
|
+
* console.log("Authentication success:", data.success);
|
|
15971
|
+
* console.log("Message:", data.message);
|
|
15972
|
+
* }
|
|
15973
|
+
* ```
|
|
15974
|
+
*/
|
|
15975
|
+
authenticateDirectOtp(body: AuthenticateDirectOtpBody): Promise<ApiResult<AuthenticateDirectOtpResponse>>;
|
|
15976
|
+
/**
|
|
15977
|
+
* Resend a direct OTP for payment verification
|
|
15017
15978
|
*
|
|
15018
|
-
*
|
|
15019
|
-
*
|
|
15020
|
-
*
|
|
15021
|
-
* console.log(`Estimated delivery: ${method.estimated_delivery_days} days`);
|
|
15979
|
+
* @description Used to resend OTP during payment flows that require 2FA verification.
|
|
15980
|
+
* The txn_id and challenge_id can be obtained from the create order API response
|
|
15981
|
+
* under the payment_info.authentication.params object.
|
|
15022
15982
|
*
|
|
15023
|
-
*
|
|
15024
|
-
*
|
|
15025
|
-
*
|
|
15026
|
-
*
|
|
15027
|
-
*
|
|
15983
|
+
* @param body - OTP resend request body
|
|
15984
|
+
* @returns Promise with new payment info containing updated OTP challenge
|
|
15985
|
+
* @example
|
|
15986
|
+
* ```typescript
|
|
15987
|
+
* // If user didn't receive OTP or it expired:
|
|
15988
|
+
* const { data, error } = await sdk.payments.resendDirectOtp({
|
|
15989
|
+
* txn_id: "txn_01H9XYZ12345ABCDE",
|
|
15990
|
+
* challenge_id: "challenge_01H9XYZ12345ABCDE"
|
|
15991
|
+
* });
|
|
15992
|
+
*
|
|
15993
|
+
* if (error) {
|
|
15994
|
+
* console.error("Failed to resend OTP:", error.message);
|
|
15995
|
+
* } else {
|
|
15996
|
+
* console.log("OTP resent successfully");
|
|
15997
|
+
* console.log("New payment info:", data.payment_info);
|
|
15028
15998
|
* }
|
|
15029
15999
|
* ```
|
|
15030
16000
|
*/
|
|
15031
|
-
|
|
16001
|
+
resendDirectOtp(body: ResendDirectOtpBody): Promise<ApiResult<ResendDirectOtpContent>>;
|
|
16002
|
+
}
|
|
16003
|
+
//#endregion
|
|
16004
|
+
//#region src/lib/shipping.d.ts
|
|
16005
|
+
/**
|
|
16006
|
+
* Client for interacting with shipping endpoints
|
|
16007
|
+
*/
|
|
16008
|
+
declare class ShippingClient extends StorefrontAPIClient {
|
|
15032
16009
|
/**
|
|
15033
16010
|
* Check pincode deliverability
|
|
15034
16011
|
*
|
|
@@ -15054,6 +16031,45 @@ declare class ShippingClient extends StorefrontAPIClient {
|
|
|
15054
16031
|
* ```
|
|
15055
16032
|
*/
|
|
15056
16033
|
checkPincodeDeliverability(pathParams: CheckPincodeServiceabilityPathParams): Promise<ApiResult<CheckPincodeServiceabilityContent>>;
|
|
16034
|
+
/**
|
|
16035
|
+
* Get fulfillment options for an order
|
|
16036
|
+
*
|
|
16037
|
+
* @param body - Fulfillment options body containing cart_id and delivery_pincode
|
|
16038
|
+
* @returns Promise with fulfillment options including collect and delivery methods
|
|
16039
|
+
* @example
|
|
16040
|
+
* ```typescript
|
|
16041
|
+
* const { data, error } = await sdk.shipping.getFulfillmentOptions({
|
|
16042
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
16043
|
+
* delivery_pincode: "400001"
|
|
16044
|
+
* });
|
|
16045
|
+
*
|
|
16046
|
+
* if (error) {
|
|
16047
|
+
* console.error("Failed to get fulfillment options:", error.message);
|
|
16048
|
+
* } else {
|
|
16049
|
+
* // Check summary information
|
|
16050
|
+
* console.log("Collect available:", data.summary.collect_available);
|
|
16051
|
+
* console.log("Deliver available:", data.summary.deliver_available);
|
|
16052
|
+
* console.log("Recommended fulfillment type:", data.summary.recommended_fulfillment_type);
|
|
16053
|
+
*
|
|
16054
|
+
* // Access collect options
|
|
16055
|
+
* if (data.collect && data.collect.length > 0) {
|
|
16056
|
+
* console.log("Available stores for collection:");
|
|
16057
|
+
* data.collect.forEach(store => {
|
|
16058
|
+
* console.log(`${store.name} - ${store.distance_km}km away, ETA: ${store.collect_eta_minutes} minutes`);
|
|
16059
|
+
* });
|
|
16060
|
+
* }
|
|
16061
|
+
*
|
|
16062
|
+
* // Access delivery options
|
|
16063
|
+
* if (data.deliver && data.deliver.is_serviceable) {
|
|
16064
|
+
* console.log("Available shipping methods:");
|
|
16065
|
+
* data.deliver.shipping_methods.forEach(method => {
|
|
16066
|
+
* console.log(`${method.name} - ${method.shipping_amount}, ${method.estimated_delivery_days} days`);
|
|
16067
|
+
* });
|
|
16068
|
+
* }
|
|
16069
|
+
* }
|
|
16070
|
+
* ```
|
|
16071
|
+
*/
|
|
16072
|
+
getFulfillmentOptions(body: GetFulfillmentOptionsBody): Promise<ApiResult<GetFulfillmentOptionsContent>>;
|
|
15057
16073
|
}
|
|
15058
16074
|
//#endregion
|
|
15059
16075
|
//#region src/lib/helper.d.ts
|
|
@@ -15451,6 +16467,27 @@ declare class CustomerClient extends StorefrontAPIClient {
|
|
|
15451
16467
|
* ```
|
|
15452
16468
|
*/
|
|
15453
16469
|
listCustomerReviews(pathParams: ListUserReviewsPathParams): Promise<ApiResult<ListUserReviewsContent>>;
|
|
16470
|
+
/**
|
|
16471
|
+
* List all saved payment methods for a customer
|
|
16472
|
+
*
|
|
16473
|
+
* @param pathParams - Path parameters
|
|
16474
|
+
* @returns Promise with payment methods
|
|
16475
|
+
*
|
|
16476
|
+
* @example
|
|
16477
|
+
* ```typescript
|
|
16478
|
+
* const { data, error } = await sdk.customer.listSavedPaymentMethods({
|
|
16479
|
+
* customer_id: "customer_123"
|
|
16480
|
+
* });
|
|
16481
|
+
*
|
|
16482
|
+
* if (error) {
|
|
16483
|
+
* console.error("Failed to list saved payment methods:", error);
|
|
16484
|
+
* return;
|
|
16485
|
+
* }
|
|
16486
|
+
*
|
|
16487
|
+
* console.log("Saved payment methods:", data.saved_payment_methods);
|
|
16488
|
+
* ```
|
|
16489
|
+
*/
|
|
16490
|
+
listSavedPaymentMethods(pathParams: ListSavedPaymentMethodsPathParams): Promise<ApiResult<ListSavedPaymentMethodsContent>>;
|
|
15454
16491
|
}
|
|
15455
16492
|
//#endregion
|
|
15456
16493
|
//#region src/lib/store-config.d.ts
|
|
@@ -15707,6 +16744,10 @@ declare class StorefrontSDK {
|
|
|
15707
16744
|
* Client for order-related endpoints
|
|
15708
16745
|
*/
|
|
15709
16746
|
readonly order: OrderClient;
|
|
16747
|
+
/**
|
|
16748
|
+
* Client for payment-related endpoints
|
|
16749
|
+
*/
|
|
16750
|
+
readonly payments: PaymentsClient;
|
|
15710
16751
|
/**
|
|
15711
16752
|
* Client for store config-related endpoints
|
|
15712
16753
|
*/
|
|
@@ -15804,5 +16845,5 @@ declare class StorefrontSDK {
|
|
|
15804
16845
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
15805
16846
|
}
|
|
15806
16847
|
//#endregion
|
|
15807
|
-
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddCardBody, AddCardContent, AddCardResponse, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetShippingMethodsBody, GetShippingMethodsContent, GetShippingMethodsResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JuspayCardPayload, JuspayCreateCardResponse, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayOrder, JuspayPaymentGatewayParams, JuspayPaymentInfo, JuspayPaymentMethod, JuspaySavedCard, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListPaymentOptionsContent, ListPaymentOptionsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedCardsContent, ListSavedCardsQuery, ListSavedCardsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PauseSubscription, PayWithCard, PayWithCash, PayWithPaymentGateway, PayWithUpi, PaymentGateway, PaymentGatewayParams, PaymentInfo, PayuCardPayload, PayuCreateCardResponse, PayuPaymentGatewayParams, PayuPaymentInfo, PayuPaymentMethod, PayuSavedCard, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListPaymentOptionsContent, PosListPaymentOptionsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateShippingMethodBody, UpdateShippingMethodContent, UpdateShippingMethodPathParams, UpdateShippingMethodResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
15808
|
-
//# sourceMappingURL=index.d.ts.map
|
|
16848
|
+
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JusPayExpressCheckout, JusPayExpressCheckoutCommonField, JusPayExpressCheckoutResponse, JusPayHyperCheckout, JusPayHyperCheckoutResponse, JusPayNewCard, JusPaySavedCardToken, JuspayCardPaymentMethod, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayNetBanking, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollect, JuspayUpiIntent, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, ManualPaymentMethod, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PauseSubscription, PayWithCard, PayWithCash, PayWithUpi, PaymentInfo, PaymentMethodPayload, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShipmentStatus, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
16849
|
+
//# sourceMappingURL=index-C8nXwxS6.d.ts.map
|