@commercengine/storefront-sdk 0.10.2 → 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} +1243 -367
- package/dist/index.iife.js +241 -40
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +228 -26
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
|
@@ -825,6 +825,230 @@ interface paths {
|
|
|
825
825
|
patch?: never;
|
|
826
826
|
trace?: never;
|
|
827
827
|
};
|
|
828
|
+
"/catalog/marketplace/categories": {
|
|
829
|
+
parameters: {
|
|
830
|
+
query?: never;
|
|
831
|
+
header?: never;
|
|
832
|
+
path?: never;
|
|
833
|
+
cookie?: never;
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* List all categories
|
|
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.
|
|
838
|
+
*/
|
|
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"];
|
|
1044
|
+
put?: never;
|
|
1045
|
+
post?: never;
|
|
1046
|
+
delete?: never;
|
|
1047
|
+
options?: never;
|
|
1048
|
+
head?: never;
|
|
1049
|
+
patch?: never;
|
|
1050
|
+
trace?: never;
|
|
1051
|
+
};
|
|
828
1052
|
"/catalog/products": {
|
|
829
1053
|
parameters: {
|
|
830
1054
|
query?: never;
|
|
@@ -1581,24 +1805,20 @@ interface paths {
|
|
|
1581
1805
|
patch?: never;
|
|
1582
1806
|
trace?: never;
|
|
1583
1807
|
};
|
|
1584
|
-
"/payments/
|
|
1808
|
+
"/payments/authenticate-direct-otp": {
|
|
1585
1809
|
parameters: {
|
|
1586
1810
|
query?: never;
|
|
1587
1811
|
header?: never;
|
|
1588
1812
|
path?: never;
|
|
1589
1813
|
cookie?: never;
|
|
1590
1814
|
};
|
|
1591
|
-
|
|
1592
|
-
* List all saved cards
|
|
1593
|
-
* @description List all saved cards.
|
|
1594
|
-
*/
|
|
1595
|
-
get: operations["list-saved-cards"];
|
|
1815
|
+
get?: never;
|
|
1596
1816
|
put?: never;
|
|
1597
1817
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @description
|
|
1818
|
+
* Authenticate direct OTP
|
|
1819
|
+
* @description Authenticate direct OTP
|
|
1600
1820
|
*/
|
|
1601
|
-
post: operations["
|
|
1821
|
+
post: operations["authenticate-direct-otp"];
|
|
1602
1822
|
delete?: never;
|
|
1603
1823
|
options?: never;
|
|
1604
1824
|
head?: never;
|
|
@@ -1706,20 +1926,20 @@ interface paths {
|
|
|
1706
1926
|
patch?: never;
|
|
1707
1927
|
trace?: never;
|
|
1708
1928
|
};
|
|
1709
|
-
"/payments/
|
|
1929
|
+
"/payments/resend-direct-otp": {
|
|
1710
1930
|
parameters: {
|
|
1711
1931
|
query?: never;
|
|
1712
1932
|
header?: never;
|
|
1713
1933
|
path?: never;
|
|
1714
1934
|
cookie?: never;
|
|
1715
1935
|
};
|
|
1936
|
+
get?: never;
|
|
1937
|
+
put?: never;
|
|
1716
1938
|
/**
|
|
1717
|
-
*
|
|
1718
|
-
* @description
|
|
1939
|
+
* Resend direct OTP
|
|
1940
|
+
* @description Resend direct OTP
|
|
1719
1941
|
*/
|
|
1720
|
-
|
|
1721
|
-
put?: never;
|
|
1722
|
-
post?: never;
|
|
1942
|
+
post: operations["resend-direct-otp"];
|
|
1723
1943
|
delete?: never;
|
|
1724
1944
|
options?: never;
|
|
1725
1945
|
head?: never;
|
|
@@ -2543,26 +2763,6 @@ interface paths {
|
|
|
2543
2763
|
patch?: never;
|
|
2544
2764
|
trace?: never;
|
|
2545
2765
|
};
|
|
2546
|
-
"/pos/payments/payment-options": {
|
|
2547
|
-
parameters: {
|
|
2548
|
-
query?: never;
|
|
2549
|
-
header?: never;
|
|
2550
|
-
path?: never;
|
|
2551
|
-
cookie?: never;
|
|
2552
|
-
};
|
|
2553
|
-
/**
|
|
2554
|
-
* List all payment options
|
|
2555
|
-
* @description List all payment options
|
|
2556
|
-
*/
|
|
2557
|
-
get: operations["pos-list-payment-options"];
|
|
2558
|
-
put?: never;
|
|
2559
|
-
post?: never;
|
|
2560
|
-
delete?: never;
|
|
2561
|
-
options?: never;
|
|
2562
|
-
head?: never;
|
|
2563
|
-
patch?: never;
|
|
2564
|
-
trace?: never;
|
|
2565
|
-
};
|
|
2566
2766
|
"/pos/users/{id}": {
|
|
2567
2767
|
parameters: {
|
|
2568
2768
|
query?: never;
|
|
@@ -3323,6 +3523,20 @@ interface components {
|
|
|
3323
3523
|
distance_km?: number;
|
|
3324
3524
|
collect_eta_minutes?: number;
|
|
3325
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;
|
|
3326
3540
|
};
|
|
3327
3541
|
/** CollectInStoreFulfillment */
|
|
3328
3542
|
CollectInStoreFulfillment: {
|
|
@@ -3917,26 +4131,21 @@ interface components {
|
|
|
3917
4131
|
shipping?: components["schemas"]["ProductShipping"];
|
|
3918
4132
|
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
3919
4133
|
};
|
|
3920
|
-
/**
|
|
3921
|
-
|
|
4134
|
+
/** JuspayCardPaymentMethod */
|
|
4135
|
+
JuspayCardPaymentMethod: {
|
|
4136
|
+
description: string;
|
|
4137
|
+
/** @enum {string} */
|
|
4138
|
+
payment_method: "VISA" | "MASTER" | "RUPAY";
|
|
3922
4139
|
/**
|
|
3923
4140
|
* @description discriminator enum property added by openapi-typescript
|
|
3924
4141
|
* @enum {string}
|
|
3925
4142
|
*/
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
};
|
|
3933
|
-
/** JuspayCreateCardResponse */
|
|
3934
|
-
JuspayCreateCardResponse: {
|
|
3935
|
-
/** @constant */
|
|
3936
|
-
payment_gateway: "JUSPAY";
|
|
3937
|
-
card_token?: string;
|
|
3938
|
-
card_reference?: string;
|
|
3939
|
-
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
|
+
};
|
|
3940
4149
|
};
|
|
3941
4150
|
/** JuspayCreateCustomerPayload */
|
|
3942
4151
|
JuspayCreateCustomerPayload: {
|
|
@@ -3970,39 +4179,46 @@ interface components {
|
|
|
3970
4179
|
/** @constant */
|
|
3971
4180
|
integration_type: "express-checkout";
|
|
3972
4181
|
gateway_reference_id: string;
|
|
3973
|
-
return_url
|
|
4182
|
+
return_url: string;
|
|
3974
4183
|
redirect_after_payment?: boolean;
|
|
3975
4184
|
get_client_auth_token?: boolean;
|
|
3976
4185
|
};
|
|
3977
4186
|
/** JusPayExpressCheckoutResponse */
|
|
3978
4187
|
JusPayExpressCheckoutResponse: {
|
|
3979
|
-
txn_id
|
|
3980
|
-
txn_uuid
|
|
3981
|
-
status
|
|
3982
|
-
order_id
|
|
3983
|
-
juspay
|
|
4188
|
+
txn_id: string;
|
|
4189
|
+
txn_uuid: string;
|
|
4190
|
+
status: string;
|
|
4191
|
+
order_id: string;
|
|
4192
|
+
juspay: {
|
|
3984
4193
|
client_auth_token?: string;
|
|
3985
4194
|
client_auth_token_expiry?: string;
|
|
3986
4195
|
};
|
|
3987
|
-
offer_details
|
|
3988
|
-
offers
|
|
3989
|
-
};
|
|
3990
|
-
payment
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
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
|
+
};
|
|
4002
4220
|
};
|
|
4003
|
-
}
|
|
4004
|
-
/** Format: date-time */
|
|
4005
|
-
order_expiry?: string;
|
|
4221
|
+
};
|
|
4006
4222
|
};
|
|
4007
4223
|
/** JusPayHyperCheckout */
|
|
4008
4224
|
JusPayHyperCheckout: {
|
|
@@ -4081,11 +4297,24 @@ interface components {
|
|
|
4081
4297
|
payment_method_type: "NB";
|
|
4082
4298
|
payment_method: string;
|
|
4083
4299
|
};
|
|
4084
|
-
/**
|
|
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 */
|
|
4085
4315
|
JusPayNewCard: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4086
4316
|
/** @constant */
|
|
4087
4317
|
auth_type: "OTP";
|
|
4088
|
-
tokenize: boolean;
|
|
4089
4318
|
save_to_locker: boolean;
|
|
4090
4319
|
/** @constant */
|
|
4091
4320
|
payment_method_type: "CARD";
|
|
@@ -4137,43 +4366,22 @@ interface components {
|
|
|
4137
4366
|
/** Format: double */
|
|
4138
4367
|
amount?: number;
|
|
4139
4368
|
};
|
|
4140
|
-
/** JuspayPaymentGatewayParams */
|
|
4141
|
-
JuspayPaymentGatewayParams: {
|
|
4142
|
-
/**
|
|
4143
|
-
* @description discriminator enum property added by openapi-typescript
|
|
4144
|
-
* @enum {string}
|
|
4145
|
-
*/
|
|
4146
|
-
payment_gateway: "JUSPAY";
|
|
4147
|
-
/**
|
|
4148
|
-
* @description `paymentPage` is the default option that you should select when using hyper-checkout
|
|
4149
|
-
* @enum {string}
|
|
4150
|
-
*/
|
|
4151
|
-
action: "paymentPage" | "paymentManagement";
|
|
4152
|
-
/**
|
|
4153
|
-
* @description Use `hyper-checkout` for Juspay hosted checkout
|
|
4154
|
-
* @enum {string}
|
|
4155
|
-
*/
|
|
4156
|
-
integration_type: "hyper-checkout" | "express-checkout";
|
|
4157
|
-
/** @description This is the URL that the gateway will redirect to once payment processing is complete. This will be a GET request by default */
|
|
4158
|
-
return_url: string;
|
|
4159
|
-
/** @description The exact gateway reference ID that was set up in the integration */
|
|
4160
|
-
gateway_reference_id: string;
|
|
4161
|
-
};
|
|
4162
4369
|
/** JuspayPaymentMethod */
|
|
4163
4370
|
JuspayPaymentMethod: {
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
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>;
|
|
4171
4378
|
};
|
|
4379
|
+
/** JuspayPaymentMethodDetail */
|
|
4380
|
+
JuspayPaymentMethodDetail: components["schemas"]["JuspayUpiPaymentMethod"] | components["schemas"]["JuspayCardPaymentMethod"] | components["schemas"]["JuspayNetbankingPaymentMethod"] | components["schemas"]["JuspayWalletPaymentMethod"];
|
|
4172
4381
|
/** JusPaySavedCardToken */
|
|
4173
4382
|
JusPaySavedCardToken: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4174
4383
|
/** @constant */
|
|
4175
4384
|
auth_type: "OTP";
|
|
4176
|
-
tokenize: boolean;
|
|
4177
4385
|
save_to_locker: boolean;
|
|
4178
4386
|
/** @constant */
|
|
4179
4387
|
payment_method_type: "CARD";
|
|
@@ -4199,6 +4407,39 @@ interface components {
|
|
|
4199
4407
|
sdk_params: boolean;
|
|
4200
4408
|
upi_app: string;
|
|
4201
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;
|
|
4442
|
+
};
|
|
4202
4443
|
/** KycDocument */
|
|
4203
4444
|
KycDocument: {
|
|
4204
4445
|
readonly id?: string;
|
|
@@ -4255,6 +4496,16 @@ interface components {
|
|
|
4255
4496
|
/** Format: date-time */
|
|
4256
4497
|
modified_at?: string;
|
|
4257
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
|
+
};
|
|
4258
4509
|
/** MeasurementUnit */
|
|
4259
4510
|
MeasurementUnit: {
|
|
4260
4511
|
/** @enum {unknown} */
|
|
@@ -4626,8 +4877,7 @@ interface components {
|
|
|
4626
4877
|
*/
|
|
4627
4878
|
OrderShipment: {
|
|
4628
4879
|
reference_number?: string;
|
|
4629
|
-
|
|
4630
|
-
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"];
|
|
4631
4881
|
total_weight?: number;
|
|
4632
4882
|
total_boxes?: number;
|
|
4633
4883
|
shipment_items_count?: number;
|
|
@@ -4714,9 +4964,6 @@ interface components {
|
|
|
4714
4964
|
*/
|
|
4715
4965
|
pause_end_date?: string;
|
|
4716
4966
|
};
|
|
4717
|
-
/** @enum {string} */
|
|
4718
|
-
PaymentGateway: "PAYU" | "JUSPAY";
|
|
4719
|
-
PaymentGatewayParams: components["schemas"]["PayuPaymentGatewayParams"] | components["schemas"]["JuspayPaymentGatewayParams"];
|
|
4720
4967
|
/**
|
|
4721
4968
|
* PaymentInfo
|
|
4722
4969
|
* @description Common fields in all types of payments.
|
|
@@ -4737,45 +4984,6 @@ interface components {
|
|
|
4737
4984
|
};
|
|
4738
4985
|
/** PaymentMethodPayload */
|
|
4739
4986
|
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"];
|
|
4740
|
-
/** PayuCardPayload */
|
|
4741
|
-
PayuCardPayload: {
|
|
4742
|
-
/**
|
|
4743
|
-
* @description discriminator enum property added by openapi-typescript
|
|
4744
|
-
* @enum {string}
|
|
4745
|
-
*/
|
|
4746
|
-
payment_gateway: "payu";
|
|
4747
|
-
card_number?: string;
|
|
4748
|
-
card_exp_year?: string;
|
|
4749
|
-
card_exp_month?: string;
|
|
4750
|
-
name_on_card?: string;
|
|
4751
|
-
nickname?: string;
|
|
4752
|
-
/** @enum {string} */
|
|
4753
|
-
card_mode?: "CC" | "DC";
|
|
4754
|
-
/** @enum {string} */
|
|
4755
|
-
card_type?: "VISA" | "MAST" | "RUPAY";
|
|
4756
|
-
};
|
|
4757
|
-
/** PayuCreateCardResponse */
|
|
4758
|
-
PayuCreateCardResponse: {
|
|
4759
|
-
/** @constant */
|
|
4760
|
-
payment_gateway: "PAYU";
|
|
4761
|
-
status?: string;
|
|
4762
|
-
msg?: string;
|
|
4763
|
-
cardToken?: string;
|
|
4764
|
-
card_number?: string;
|
|
4765
|
-
card_label?: string;
|
|
4766
|
-
network_token?: string;
|
|
4767
|
-
issuer_token?: string;
|
|
4768
|
-
};
|
|
4769
|
-
/** PayuPaymentGatewayParams */
|
|
4770
|
-
PayuPaymentGatewayParams: {
|
|
4771
|
-
/**
|
|
4772
|
-
* @description discriminator enum property added by openapi-typescript
|
|
4773
|
-
* @enum {string}
|
|
4774
|
-
*/
|
|
4775
|
-
payment_gateway: "PAYU";
|
|
4776
|
-
furl: string;
|
|
4777
|
-
surl: string;
|
|
4778
|
-
};
|
|
4779
4987
|
/** PayuPaymentInfo */
|
|
4780
4988
|
PayuPaymentInfo: {
|
|
4781
4989
|
key?: string;
|
|
@@ -4835,20 +5043,24 @@ interface components {
|
|
|
4835
5043
|
};
|
|
4836
5044
|
/** PayuPaymentMethod */
|
|
4837
5045
|
PayuPaymentMethod: {
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
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;
|
|
4847
5062
|
}[];
|
|
4848
|
-
|
|
4849
|
-
/** JuspaySavedCard */
|
|
4850
|
-
PayuSavedCard: {
|
|
4851
|
-
id?: string;
|
|
5063
|
+
order_params?: Record<string, never>;
|
|
4852
5064
|
};
|
|
4853
5065
|
/** PayWithCard */
|
|
4854
5066
|
PayWithCard: {
|
|
@@ -4860,13 +5072,6 @@ interface components {
|
|
|
4860
5072
|
/** @constant */
|
|
4861
5073
|
payment_mode: "CASH";
|
|
4862
5074
|
};
|
|
4863
|
-
/** PayWithPaymentGateway */
|
|
4864
|
-
PayWithPaymentGateway: {
|
|
4865
|
-
/** @constant */
|
|
4866
|
-
payment_mode: "PG";
|
|
4867
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
4868
|
-
payment_gateway_params: components["schemas"]["PaymentGatewayParams"];
|
|
4869
|
-
};
|
|
4870
5075
|
/** PayWithUPI */
|
|
4871
5076
|
PayWithUpi: {
|
|
4872
5077
|
/** @constant */
|
|
@@ -5296,17 +5501,17 @@ interface components {
|
|
|
5296
5501
|
};
|
|
5297
5502
|
/** SavedPaymentMethod */
|
|
5298
5503
|
SavedPaymentMethod: {
|
|
5299
|
-
UPI_COLLECT
|
|
5300
|
-
count
|
|
5301
|
-
last_used
|
|
5302
|
-
vpa
|
|
5504
|
+
UPI_COLLECT: {
|
|
5505
|
+
count: number;
|
|
5506
|
+
last_used: string;
|
|
5507
|
+
vpa: string;
|
|
5303
5508
|
}[];
|
|
5304
|
-
WALLET
|
|
5509
|
+
WALLET: {
|
|
5305
5510
|
"linked "?: string;
|
|
5306
5511
|
"id "?: string;
|
|
5307
5512
|
"metadata "?: {
|
|
5308
5513
|
"mobile_Number "?: string;
|
|
5309
|
-
"device_Id "
|
|
5514
|
+
"device_Id ": string;
|
|
5310
5515
|
};
|
|
5311
5516
|
"wallet "?: string;
|
|
5312
5517
|
"gateway_reference_id "?: string;
|
|
@@ -5319,31 +5524,31 @@ interface components {
|
|
|
5319
5524
|
"payment_Method_Type "?: string;
|
|
5320
5525
|
};
|
|
5321
5526
|
}[];
|
|
5322
|
-
CARD
|
|
5323
|
-
card_sub_type
|
|
5324
|
-
extended_card_type
|
|
5527
|
+
CARD: {
|
|
5528
|
+
card_sub_type: string;
|
|
5529
|
+
extended_card_type: string;
|
|
5325
5530
|
card_global_fingerprint?: string;
|
|
5326
5531
|
nickname?: string;
|
|
5327
|
-
provider_category
|
|
5328
|
-
vault_provider
|
|
5532
|
+
provider_category: string;
|
|
5533
|
+
vault_provider: string;
|
|
5329
5534
|
card_reference?: string;
|
|
5330
|
-
card_type
|
|
5535
|
+
card_type: string;
|
|
5331
5536
|
metadata?: {
|
|
5332
|
-
origin_merchant_id
|
|
5537
|
+
origin_merchant_id: string;
|
|
5333
5538
|
};
|
|
5334
5539
|
card_issuer?: string;
|
|
5335
|
-
card_token
|
|
5336
|
-
card_exp_month
|
|
5540
|
+
card_token: string;
|
|
5541
|
+
card_exp_month: string;
|
|
5337
5542
|
provider?: string;
|
|
5338
5543
|
card_sub_type_category?: string;
|
|
5339
|
-
expired
|
|
5544
|
+
expired: boolean;
|
|
5340
5545
|
card_fingerprint?: string;
|
|
5341
|
-
tokenize_support
|
|
5546
|
+
tokenize_support: boolean;
|
|
5342
5547
|
juspay_bank_code?: string;
|
|
5343
|
-
card_exp_year
|
|
5344
|
-
name_on_card
|
|
5345
|
-
country_code
|
|
5346
|
-
card_number
|
|
5548
|
+
card_exp_year: string;
|
|
5549
|
+
name_on_card: string;
|
|
5550
|
+
country_code: string;
|
|
5551
|
+
card_number: string;
|
|
5347
5552
|
card_isin?: string;
|
|
5348
5553
|
card_brand?: string;
|
|
5349
5554
|
card_issuer_country?: string;
|
|
@@ -5397,6 +5602,8 @@ interface components {
|
|
|
5397
5602
|
free_quantity?: number;
|
|
5398
5603
|
is_free_item?: boolean;
|
|
5399
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";
|
|
5400
5607
|
/**
|
|
5401
5608
|
* SingleSelectAttribute
|
|
5402
5609
|
* @description Attribute for single-select values
|
|
@@ -7756,115 +7963,613 @@ interface operations {
|
|
|
7756
7963
|
query?: never;
|
|
7757
7964
|
header?: never;
|
|
7758
7965
|
path: {
|
|
7759
|
-
/** @description Cart ID */
|
|
7760
|
-
id: string;
|
|
7966
|
+
/** @description Cart ID */
|
|
7967
|
+
id: string;
|
|
7968
|
+
};
|
|
7969
|
+
cookie?: never;
|
|
7970
|
+
};
|
|
7971
|
+
requestBody: {
|
|
7972
|
+
content: {
|
|
7973
|
+
"application/json": {
|
|
7974
|
+
/** @example 1000 */
|
|
7975
|
+
loyalty_point_redeemed: number;
|
|
7976
|
+
};
|
|
7977
|
+
};
|
|
7978
|
+
};
|
|
7979
|
+
responses: {
|
|
7980
|
+
/** @description OK */
|
|
7981
|
+
200: {
|
|
7982
|
+
headers: {
|
|
7983
|
+
[name: string]: unknown;
|
|
7984
|
+
};
|
|
7985
|
+
content: {
|
|
7986
|
+
"application/json": {
|
|
7987
|
+
message: string;
|
|
7988
|
+
success: boolean;
|
|
7989
|
+
content: {
|
|
7990
|
+
cart: components["schemas"]["Cart"];
|
|
7991
|
+
};
|
|
7992
|
+
};
|
|
7993
|
+
};
|
|
7994
|
+
};
|
|
7995
|
+
400: components["responses"]["BadRequest"];
|
|
7996
|
+
401: components["responses"]["Unauthorized"];
|
|
7997
|
+
};
|
|
7998
|
+
};
|
|
7999
|
+
"remove-loyalty-points": {
|
|
8000
|
+
parameters: {
|
|
8001
|
+
query?: never;
|
|
8002
|
+
header?: never;
|
|
8003
|
+
path: {
|
|
8004
|
+
/** @description Cart ID */
|
|
8005
|
+
id: string;
|
|
8006
|
+
};
|
|
8007
|
+
cookie?: never;
|
|
8008
|
+
};
|
|
8009
|
+
requestBody?: never;
|
|
8010
|
+
responses: {
|
|
8011
|
+
/** @description OK */
|
|
8012
|
+
200: {
|
|
8013
|
+
headers: {
|
|
8014
|
+
[name: string]: unknown;
|
|
8015
|
+
};
|
|
8016
|
+
content: {
|
|
8017
|
+
"application/json": {
|
|
8018
|
+
message: string;
|
|
8019
|
+
success: boolean;
|
|
8020
|
+
content: {
|
|
8021
|
+
cart: components["schemas"]["Cart"];
|
|
8022
|
+
};
|
|
8023
|
+
};
|
|
8024
|
+
};
|
|
8025
|
+
};
|
|
8026
|
+
400: components["responses"]["BadRequest"];
|
|
8027
|
+
401: components["responses"]["Unauthorized"];
|
|
8028
|
+
/** @description Not Found */
|
|
8029
|
+
404: {
|
|
8030
|
+
headers: {
|
|
8031
|
+
[name: string]: unknown;
|
|
8032
|
+
};
|
|
8033
|
+
content?: never;
|
|
8034
|
+
};
|
|
8035
|
+
};
|
|
8036
|
+
};
|
|
8037
|
+
"list-categories": {
|
|
8038
|
+
parameters: {
|
|
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;
|
|
8050
|
+
};
|
|
8051
|
+
header?: never;
|
|
8052
|
+
path?: never;
|
|
8053
|
+
cookie?: never;
|
|
8054
|
+
};
|
|
8055
|
+
requestBody?: never;
|
|
8056
|
+
responses: {
|
|
8057
|
+
/** @description OK */
|
|
8058
|
+
200: {
|
|
8059
|
+
headers: {
|
|
8060
|
+
[name: string]: unknown;
|
|
8061
|
+
};
|
|
8062
|
+
content: {
|
|
8063
|
+
"application/json": {
|
|
8064
|
+
/** @example all categories */
|
|
8065
|
+
message: string;
|
|
8066
|
+
success: boolean;
|
|
8067
|
+
content: {
|
|
8068
|
+
categories: components["schemas"]["ProductCategory"][];
|
|
8069
|
+
pagination: components["schemas"]["Pagination"];
|
|
8070
|
+
};
|
|
8071
|
+
};
|
|
8072
|
+
};
|
|
8073
|
+
};
|
|
8074
|
+
400: components["responses"]["BadRequest"];
|
|
8075
|
+
401: components["responses"]["Unauthorized"];
|
|
8076
|
+
404: components["responses"]["NotFound"];
|
|
8077
|
+
};
|
|
8078
|
+
};
|
|
8079
|
+
"list-marketplace-categories": {
|
|
8080
|
+
parameters: {
|
|
8081
|
+
query?: {
|
|
8082
|
+
/** @description search keyword */
|
|
8083
|
+
search?: components["parameters"]["searchKeyword"];
|
|
8084
|
+
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
8085
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
8086
|
+
/** @description return child categories up to nesting level */
|
|
8087
|
+
nested_level?: number;
|
|
8088
|
+
/** @description To return child categories using category id. */
|
|
8089
|
+
parent_category_id?: string;
|
|
8090
|
+
/** @description To return child categories using category slug */
|
|
8091
|
+
parent_category_slug?: string;
|
|
8092
|
+
};
|
|
8093
|
+
header?: never;
|
|
8094
|
+
path?: never;
|
|
8095
|
+
cookie?: never;
|
|
8096
|
+
};
|
|
8097
|
+
requestBody?: never;
|
|
8098
|
+
responses: {
|
|
8099
|
+
/** @description OK */
|
|
8100
|
+
200: {
|
|
8101
|
+
headers: {
|
|
8102
|
+
[name: string]: unknown;
|
|
8103
|
+
};
|
|
8104
|
+
content: {
|
|
8105
|
+
"application/json": {
|
|
8106
|
+
/** @example all categories */
|
|
8107
|
+
message: string;
|
|
8108
|
+
success: boolean;
|
|
8109
|
+
content: {
|
|
8110
|
+
categories: components["schemas"]["ProductCategory"][];
|
|
8111
|
+
pagination: components["schemas"]["Pagination"];
|
|
8112
|
+
};
|
|
8113
|
+
};
|
|
8114
|
+
};
|
|
8115
|
+
};
|
|
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;
|
|
7761
8466
|
};
|
|
7762
8467
|
cookie?: never;
|
|
7763
8468
|
};
|
|
7764
|
-
requestBody
|
|
7765
|
-
content: {
|
|
7766
|
-
"application/json": {
|
|
7767
|
-
/** @example 1000 */
|
|
7768
|
-
loyalty_point_redeemed: number;
|
|
7769
|
-
};
|
|
7770
|
-
};
|
|
7771
|
-
};
|
|
8469
|
+
requestBody?: never;
|
|
7772
8470
|
responses: {
|
|
7773
|
-
/** @description
|
|
8471
|
+
/** @description Success response */
|
|
7774
8472
|
200: {
|
|
7775
8473
|
headers: {
|
|
7776
8474
|
[name: string]: unknown;
|
|
7777
8475
|
};
|
|
7778
8476
|
content: {
|
|
7779
8477
|
"application/json": {
|
|
8478
|
+
/** @example Products retrieved successfully. */
|
|
7780
8479
|
message: string;
|
|
7781
8480
|
success: boolean;
|
|
7782
8481
|
content: {
|
|
7783
|
-
|
|
8482
|
+
variants: components["schemas"]["Variant"][];
|
|
7784
8483
|
};
|
|
7785
8484
|
};
|
|
7786
8485
|
};
|
|
7787
8486
|
};
|
|
7788
|
-
400: components["responses"]["BadRequest"];
|
|
7789
8487
|
401: components["responses"]["Unauthorized"];
|
|
8488
|
+
404: components["responses"]["NotFound"];
|
|
7790
8489
|
};
|
|
7791
8490
|
};
|
|
7792
|
-
"
|
|
8491
|
+
"get-marketplace-variant-detail": {
|
|
7793
8492
|
parameters: {
|
|
7794
|
-
query?:
|
|
7795
|
-
|
|
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
|
+
};
|
|
7796
8501
|
path: {
|
|
7797
|
-
/** @description
|
|
7798
|
-
|
|
8502
|
+
/** @description product id */
|
|
8503
|
+
product_id: string;
|
|
8504
|
+
/** @description variant id */
|
|
8505
|
+
variant_id: string;
|
|
7799
8506
|
};
|
|
7800
8507
|
cookie?: never;
|
|
7801
8508
|
};
|
|
7802
8509
|
requestBody?: never;
|
|
7803
8510
|
responses: {
|
|
7804
|
-
/** @description
|
|
8511
|
+
/** @description Success response */
|
|
7805
8512
|
200: {
|
|
7806
8513
|
headers: {
|
|
7807
8514
|
[name: string]: unknown;
|
|
7808
8515
|
};
|
|
7809
8516
|
content: {
|
|
7810
8517
|
"application/json": {
|
|
8518
|
+
/** @example Products retrieved successfully. */
|
|
7811
8519
|
message: string;
|
|
7812
8520
|
success: boolean;
|
|
7813
8521
|
content: {
|
|
7814
|
-
|
|
8522
|
+
variant: components["schemas"]["VariantDetail"];
|
|
7815
8523
|
};
|
|
7816
8524
|
};
|
|
7817
8525
|
};
|
|
7818
8526
|
};
|
|
7819
|
-
400: components["responses"]["BadRequest"];
|
|
7820
8527
|
401: components["responses"]["Unauthorized"];
|
|
7821
|
-
|
|
7822
|
-
404: {
|
|
7823
|
-
headers: {
|
|
7824
|
-
[name: string]: unknown;
|
|
7825
|
-
};
|
|
7826
|
-
content?: never;
|
|
7827
|
-
};
|
|
8528
|
+
404: components["responses"]["NotFound"];
|
|
7828
8529
|
};
|
|
7829
8530
|
};
|
|
7830
|
-
"list-
|
|
8531
|
+
"list-marketplace-skus": {
|
|
7831
8532
|
parameters: {
|
|
7832
8533
|
query?: {
|
|
7833
|
-
/** @description
|
|
7834
|
-
|
|
8534
|
+
/** @description page number of pagination list */
|
|
8535
|
+
page?: components["parameters"]["pageParam"];
|
|
8536
|
+
/** @description no of rows per page */
|
|
8537
|
+
limit?: components["parameters"]["pageLimitParam"];
|
|
7835
8538
|
/** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
7836
8539
|
sort_by?: components["parameters"]["sortingParam"];
|
|
7837
|
-
/** @description
|
|
7838
|
-
|
|
7839
|
-
/** @description
|
|
7840
|
-
|
|
7841
|
-
/** @description
|
|
7842
|
-
|
|
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"];
|
|
7843
8550
|
};
|
|
7844
|
-
header?: never;
|
|
7845
8551
|
path?: never;
|
|
7846
8552
|
cookie?: never;
|
|
7847
8553
|
};
|
|
7848
8554
|
requestBody?: never;
|
|
7849
8555
|
responses: {
|
|
7850
|
-
/** @description
|
|
8556
|
+
/** @description Success response */
|
|
7851
8557
|
200: {
|
|
7852
8558
|
headers: {
|
|
7853
8559
|
[name: string]: unknown;
|
|
7854
8560
|
};
|
|
7855
8561
|
content: {
|
|
7856
8562
|
"application/json": {
|
|
7857
|
-
/** @example
|
|
8563
|
+
/** @example SKUs retrieved successfully. */
|
|
7858
8564
|
message: string;
|
|
7859
8565
|
success: boolean;
|
|
7860
8566
|
content: {
|
|
7861
|
-
|
|
8567
|
+
readonly skus: components["schemas"]["Item"][];
|
|
7862
8568
|
pagination: components["schemas"]["Pagination"];
|
|
7863
8569
|
};
|
|
7864
8570
|
};
|
|
7865
8571
|
};
|
|
7866
8572
|
};
|
|
7867
|
-
400: components["responses"]["BadRequest"];
|
|
7868
8573
|
401: components["responses"]["Unauthorized"];
|
|
7869
8574
|
404: components["responses"]["NotFound"];
|
|
7870
8575
|
};
|
|
@@ -9499,39 +10204,7 @@ interface operations {
|
|
|
9499
10204
|
404: components["responses"]["NotFound"];
|
|
9500
10205
|
};
|
|
9501
10206
|
};
|
|
9502
|
-
"
|
|
9503
|
-
parameters: {
|
|
9504
|
-
query: {
|
|
9505
|
-
/** @description payment gateway code */
|
|
9506
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
9507
|
-
};
|
|
9508
|
-
header?: never;
|
|
9509
|
-
path?: never;
|
|
9510
|
-
cookie?: never;
|
|
9511
|
-
};
|
|
9512
|
-
requestBody?: never;
|
|
9513
|
-
responses: {
|
|
9514
|
-
/** @description OK */
|
|
9515
|
-
200: {
|
|
9516
|
-
headers: {
|
|
9517
|
-
[name: string]: unknown;
|
|
9518
|
-
};
|
|
9519
|
-
content: {
|
|
9520
|
-
"application/json": {
|
|
9521
|
-
message?: string;
|
|
9522
|
-
success?: boolean;
|
|
9523
|
-
content?: {
|
|
9524
|
-
data?: (components["schemas"]["PayuSavedCard"] | components["schemas"]["JuspaySavedCard"])[];
|
|
9525
|
-
};
|
|
9526
|
-
};
|
|
9527
|
-
};
|
|
9528
|
-
};
|
|
9529
|
-
400: components["responses"]["BadRequest"];
|
|
9530
|
-
401: components["responses"]["Unauthorized"];
|
|
9531
|
-
404: components["responses"]["NotFound"];
|
|
9532
|
-
};
|
|
9533
|
-
};
|
|
9534
|
-
"add-card": {
|
|
10207
|
+
"authenticate-direct-otp": {
|
|
9535
10208
|
parameters: {
|
|
9536
10209
|
query?: never;
|
|
9537
10210
|
header?: never;
|
|
@@ -9541,7 +10214,11 @@ interface operations {
|
|
|
9541
10214
|
requestBody: {
|
|
9542
10215
|
content: {
|
|
9543
10216
|
"application/json": {
|
|
9544
|
-
|
|
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;
|
|
9545
10222
|
};
|
|
9546
10223
|
};
|
|
9547
10224
|
};
|
|
@@ -9553,19 +10230,13 @@ interface operations {
|
|
|
9553
10230
|
};
|
|
9554
10231
|
content: {
|
|
9555
10232
|
"application/json": {
|
|
9556
|
-
message
|
|
9557
|
-
success
|
|
9558
|
-
content: {
|
|
9559
|
-
/** @enum {string} */
|
|
9560
|
-
readonly payment_gateway: "juspay" | "payu";
|
|
9561
|
-
"card-details": components["schemas"]["PayuCreateCardResponse"] | components["schemas"]["JuspayCreateCardResponse"];
|
|
9562
|
-
};
|
|
10233
|
+
message?: string;
|
|
10234
|
+
success?: boolean;
|
|
9563
10235
|
};
|
|
9564
10236
|
};
|
|
9565
10237
|
};
|
|
9566
10238
|
400: components["responses"]["BadRequest"];
|
|
9567
10239
|
401: components["responses"]["Unauthorized"];
|
|
9568
|
-
404: components["responses"]["NotFound"];
|
|
9569
10240
|
};
|
|
9570
10241
|
};
|
|
9571
10242
|
"generate-hash": {
|
|
@@ -9713,10 +10384,7 @@ interface operations {
|
|
|
9713
10384
|
};
|
|
9714
10385
|
"list-payment-methods": {
|
|
9715
10386
|
parameters: {
|
|
9716
|
-
query
|
|
9717
|
-
/** @description payment gateway code */
|
|
9718
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
9719
|
-
};
|
|
10387
|
+
query?: never;
|
|
9720
10388
|
header?: never;
|
|
9721
10389
|
path?: never;
|
|
9722
10390
|
cookie?: never;
|
|
@@ -9733,7 +10401,7 @@ interface operations {
|
|
|
9733
10401
|
message?: string;
|
|
9734
10402
|
success?: boolean;
|
|
9735
10403
|
content?: {
|
|
9736
|
-
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"])[];
|
|
10404
|
+
payment_methods?: (components["schemas"]["PayuPaymentMethod"] | components["schemas"]["JuspayPaymentMethod"] | components["schemas"]["ManualPaymentMethod"])[];
|
|
9737
10405
|
};
|
|
9738
10406
|
};
|
|
9739
10407
|
};
|
|
@@ -9743,14 +10411,23 @@ interface operations {
|
|
|
9743
10411
|
404: components["responses"]["NotFound"];
|
|
9744
10412
|
};
|
|
9745
10413
|
};
|
|
9746
|
-
"
|
|
10414
|
+
"resend-direct-otp": {
|
|
9747
10415
|
parameters: {
|
|
9748
10416
|
query?: never;
|
|
9749
10417
|
header?: never;
|
|
9750
10418
|
path?: never;
|
|
9751
10419
|
cookie?: never;
|
|
9752
10420
|
};
|
|
9753
|
-
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
|
+
};
|
|
9754
10431
|
responses: {
|
|
9755
10432
|
/** @description OK */
|
|
9756
10433
|
200: {
|
|
@@ -9759,22 +10436,21 @@ interface operations {
|
|
|
9759
10436
|
};
|
|
9760
10437
|
content: {
|
|
9761
10438
|
"application/json": {
|
|
9762
|
-
message
|
|
9763
|
-
success
|
|
9764
|
-
content
|
|
9765
|
-
|
|
10439
|
+
message: string;
|
|
10440
|
+
success: boolean;
|
|
10441
|
+
content: {
|
|
10442
|
+
payment_info: components["schemas"]["JusPayExpressCheckoutResponse"];
|
|
9766
10443
|
};
|
|
9767
10444
|
};
|
|
9768
10445
|
};
|
|
9769
10446
|
};
|
|
10447
|
+
400: components["responses"]["BadRequest"];
|
|
9770
10448
|
401: components["responses"]["Unauthorized"];
|
|
9771
10449
|
};
|
|
9772
10450
|
};
|
|
9773
10451
|
"verify-vpa": {
|
|
9774
10452
|
parameters: {
|
|
9775
|
-
query
|
|
9776
|
-
/** @description payment gateway code */
|
|
9777
|
-
payment_gateway: components["schemas"]["PaymentGateway"];
|
|
10453
|
+
query?: {
|
|
9778
10454
|
/** @description The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service. */
|
|
9779
10455
|
vpa?: string;
|
|
9780
10456
|
};
|
|
@@ -11346,7 +12022,7 @@ interface operations {
|
|
|
11346
12022
|
cart_id: string;
|
|
11347
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. */
|
|
11348
12024
|
device_id?: string;
|
|
11349
|
-
} & (components["schemas"]["PayWithCash"] | components["schemas"]["PayWithUpi"] | components["schemas"]["PayWithCard"]
|
|
12025
|
+
} & (components["schemas"]["PayWithCash"] | components["schemas"]["PayWithUpi"] | components["schemas"]["PayWithCard"]);
|
|
11350
12026
|
};
|
|
11351
12027
|
};
|
|
11352
12028
|
responses: {
|
|
@@ -11409,33 +12085,6 @@ interface operations {
|
|
|
11409
12085
|
404: components["responses"]["NotFound"];
|
|
11410
12086
|
};
|
|
11411
12087
|
};
|
|
11412
|
-
"pos-list-payment-options": {
|
|
11413
|
-
parameters: {
|
|
11414
|
-
query?: never;
|
|
11415
|
-
header?: never;
|
|
11416
|
-
path?: never;
|
|
11417
|
-
cookie?: never;
|
|
11418
|
-
};
|
|
11419
|
-
requestBody?: never;
|
|
11420
|
-
responses: {
|
|
11421
|
-
/** @description OK */
|
|
11422
|
-
200: {
|
|
11423
|
-
headers: {
|
|
11424
|
-
[name: string]: unknown;
|
|
11425
|
-
};
|
|
11426
|
-
content: {
|
|
11427
|
-
"application/json": {
|
|
11428
|
-
message?: string;
|
|
11429
|
-
success?: boolean;
|
|
11430
|
-
content?: {
|
|
11431
|
-
payment_options?: ("CASH" | "UPI" | "CARD" | "PG")[];
|
|
11432
|
-
};
|
|
11433
|
-
};
|
|
11434
|
-
};
|
|
11435
|
-
};
|
|
11436
|
-
401: components["responses"]["Unauthorized"];
|
|
11437
|
-
};
|
|
11438
|
-
};
|
|
11439
12088
|
"get-pos-user": {
|
|
11440
12089
|
parameters: {
|
|
11441
12090
|
query?: never;
|
|
@@ -12559,6 +13208,7 @@ type CartBasedServiceabilityCheck = components['schemas']['CartBasedServiceabili
|
|
|
12559
13208
|
type CartItem = components['schemas']['CartItem'];
|
|
12560
13209
|
type Category = components['schemas']['Category'];
|
|
12561
13210
|
type CollectInStore = components['schemas']['CollectInStore'];
|
|
13211
|
+
type CollectInStoreAddress = components['schemas']['CollectInStoreAddress'];
|
|
12562
13212
|
type CollectInStoreFulfillment = components['schemas']['CollectInStoreFulfillment'];
|
|
12563
13213
|
type ColorAttribute = components['schemas']['ColorAttribute'];
|
|
12564
13214
|
type ColorOption = components['schemas']['ColorOption'];
|
|
@@ -12613,22 +13263,24 @@ type JusPayHyperCheckout = components['schemas']['JusPayHyperCheckout'];
|
|
|
12613
13263
|
type JusPayHyperCheckoutResponse = components['schemas']['JusPayHyperCheckoutResponse'];
|
|
12614
13264
|
type JusPayNewCard = components['schemas']['JusPayNewCard'];
|
|
12615
13265
|
type JusPaySavedCardToken = components['schemas']['JusPaySavedCardToken'];
|
|
12616
|
-
type
|
|
12617
|
-
type JuspayCreateCardResponse = components['schemas']['JuspayCreateCardResponse'];
|
|
13266
|
+
type JuspayCardPaymentMethod = components['schemas']['JuspayCardPaymentMethod'];
|
|
12618
13267
|
type JuspayCreateCustomerPayload = components['schemas']['JuspayCreateCustomerPayload'];
|
|
12619
13268
|
type JuspayCreateOrderPayload = components['schemas']['JuspayCreateOrderPayload'];
|
|
12620
13269
|
type JuspayCustomer = components['schemas']['JuspayCustomer'];
|
|
12621
13270
|
type JuspayNetBanking = components['schemas']['JuspayNetBanking'];
|
|
13271
|
+
type JuspayNetbankingPaymentMethod = components['schemas']['JuspayNetbankingPaymentMethod'];
|
|
12622
13272
|
type JuspayOrder = components['schemas']['JuspayOrder'];
|
|
12623
|
-
type JuspayPaymentGatewayParams = components['schemas']['JuspayPaymentGatewayParams'];
|
|
12624
13273
|
type JuspayPaymentMethod = components['schemas']['JuspayPaymentMethod'];
|
|
12625
|
-
type
|
|
13274
|
+
type JuspayPaymentMethodDetail = components['schemas']['JuspayPaymentMethodDetail'];
|
|
12626
13275
|
type JuspayUpiCollect = components['schemas']['JuspayUpiCollect'];
|
|
12627
13276
|
type JuspayUpiIntent = components['schemas']['JuspayUpiIntent'];
|
|
13277
|
+
type JuspayUpiPaymentMethod = components['schemas']['JuspayUpiPaymentMethod'];
|
|
13278
|
+
type JuspayWalletPaymentMethod = components['schemas']['JuspayWalletPaymentMethod'];
|
|
12628
13279
|
type KycDocument = components['schemas']['KycDocument'];
|
|
12629
13280
|
type KycDocumentConfig = components['schemas']['KycDocumentConfig'];
|
|
12630
13281
|
type LotBatchDetail = components['schemas']['LotBatchDetail'];
|
|
12631
13282
|
type LoyaltyPointActivity = components['schemas']['LoyaltyPointActivity'];
|
|
13283
|
+
type ManualPaymentMethod = components['schemas']['ManualPaymentMethod'];
|
|
12632
13284
|
type MeasurementUnit = components['schemas']['MeasurementUnit'];
|
|
12633
13285
|
type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
|
|
12634
13286
|
type NetbankingPayment = components['schemas']['NetbankingPayment'];
|
|
@@ -12650,18 +13302,11 @@ type PartialCollectAndDelivery = components['schemas']['PartialCollectAndDeliver
|
|
|
12650
13302
|
type PauseSubscription = components['schemas']['PauseSubscription'];
|
|
12651
13303
|
type PayWithCard = components['schemas']['PayWithCard'];
|
|
12652
13304
|
type PayWithCash = components['schemas']['PayWithCash'];
|
|
12653
|
-
type PayWithPaymentGateway = components['schemas']['PayWithPaymentGateway'];
|
|
12654
13305
|
type PayWithUpi = components['schemas']['PayWithUpi'];
|
|
12655
|
-
type PaymentGateway = components['schemas']['PaymentGateway'];
|
|
12656
|
-
type PaymentGatewayParams = components['schemas']['PaymentGatewayParams'];
|
|
12657
13306
|
type PaymentInfo = components['schemas']['PaymentInfo'];
|
|
12658
13307
|
type PaymentMethodPayload = components['schemas']['PaymentMethodPayload'];
|
|
12659
|
-
type PayuCardPayload = components['schemas']['PayuCardPayload'];
|
|
12660
|
-
type PayuCreateCardResponse = components['schemas']['PayuCreateCardResponse'];
|
|
12661
|
-
type PayuPaymentGatewayParams = components['schemas']['PayuPaymentGatewayParams'];
|
|
12662
13308
|
type PayuPaymentInfo = components['schemas']['PayuPaymentInfo'];
|
|
12663
13309
|
type PayuPaymentMethod = components['schemas']['PayuPaymentMethod'];
|
|
12664
|
-
type PayuSavedCard = components['schemas']['PayuSavedCard'];
|
|
12665
13310
|
type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
|
|
12666
13311
|
type Pincode = components['schemas']['Pincode'];
|
|
12667
13312
|
type PincodeServiceability = components['schemas']['PincodeServiceability'];
|
|
@@ -12693,6 +13338,7 @@ type SavedPaymentMethod = components['schemas']['SavedPaymentMethod'];
|
|
|
12693
13338
|
type SearchProduct = components['schemas']['SearchProduct'];
|
|
12694
13339
|
type Seo = components['schemas']['Seo'];
|
|
12695
13340
|
type ShipmentItem = components['schemas']['ShipmentItem'];
|
|
13341
|
+
type ShipmentStatus = components['schemas']['ShipmentStatus'];
|
|
12696
13342
|
type SingleSelectAttribute = components['schemas']['SingleSelectAttribute'];
|
|
12697
13343
|
type SingleSelectOption = components['schemas']['SingleSelectOption'];
|
|
12698
13344
|
type StoreConfig = components['schemas']['StoreConfig'];
|
|
@@ -12867,6 +13513,55 @@ type RemoveLoyaltyPointsPathParams = paths['/carts/{id}/loyalty-points']['delete
|
|
|
12867
13513
|
type ListCategoriesResponse = paths['/catalog/categories']['get']['responses'][200]['content']['application/json'];
|
|
12868
13514
|
type ListCategoriesContent = ListCategoriesResponse['content'];
|
|
12869
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'];
|
|
12870
13565
|
type ListProductsResponse = paths['/catalog/products']['get']['responses'][200]['content']['application/json'];
|
|
12871
13566
|
type ListProductsContent = ListProductsResponse['content'];
|
|
12872
13567
|
type ListProductsQuery = paths['/catalog/products']['get']['parameters']['query'];
|
|
@@ -13020,12 +13715,8 @@ type GetOrderReturnDetailPathParams = paths['/orders/{order_number}/return/{retu
|
|
|
13020
13715
|
type ListOrderShipmentsResponse = paths['/orders/{order_number}/shipments']['get']['responses'][200]['content']['application/json'];
|
|
13021
13716
|
type ListOrderShipmentsContent = ListOrderShipmentsResponse['content'];
|
|
13022
13717
|
type ListOrderShipmentsPathParams = paths['/orders/{order_number}/shipments']['get']['parameters']['path'];
|
|
13023
|
-
type
|
|
13024
|
-
type
|
|
13025
|
-
type ListSavedCardsQuery = paths['/payments/cards']['get']['parameters']['query'];
|
|
13026
|
-
type AddCardResponse = paths['/payments/cards']['post']['responses'][200]['content']['application/json'];
|
|
13027
|
-
type AddCardContent = AddCardResponse['content'];
|
|
13028
|
-
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'];
|
|
13029
13720
|
type GenerateHashResponse = paths['/payments/generate-hash']['post']['responses'][200]['content']['application/json'];
|
|
13030
13721
|
type GenerateHashContent = GenerateHashResponse['content'];
|
|
13031
13722
|
type GenerateHashBody = NonNullable<paths['/payments/generate-hash']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13040,9 +13731,9 @@ type GetJuspayCustomerContent = GetJuspayCustomerResponse['content'];
|
|
|
13040
13731
|
type GetJuspayCustomerPathParams = paths['/payments/juspay/customers/{user_id}']['get']['parameters']['path'];
|
|
13041
13732
|
type ListPaymentMethodsResponse = paths['/payments/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13042
13733
|
type ListPaymentMethodsContent = ListPaymentMethodsResponse['content'];
|
|
13043
|
-
type
|
|
13044
|
-
type
|
|
13045
|
-
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'];
|
|
13046
13737
|
type VerifyVpaResponse = paths['/payments/verify-vpa']['get']['responses'][200]['content']['application/json'];
|
|
13047
13738
|
type VerifyVpaContent = VerifyVpaResponse['content'];
|
|
13048
13739
|
type VerifyVpaQuery = paths['/payments/verify-vpa']['get']['parameters']['query'];
|
|
@@ -13193,8 +13884,6 @@ type CreatePosOrderBody = NonNullable<paths['/pos/orders']['post']['requestBody'
|
|
|
13193
13884
|
type PosGetPaymentStatusResponse = paths['/pos/orders/{order_number}/payment-status']['get']['responses'][200]['content']['application/json'];
|
|
13194
13885
|
type PosGetPaymentStatusContent = PosGetPaymentStatusResponse['content'];
|
|
13195
13886
|
type PosGetPaymentStatusPathParams = paths['/pos/orders/{order_number}/payment-status']['get']['parameters']['path'];
|
|
13196
|
-
type PosListPaymentOptionsResponse = paths['/pos/payments/payment-options']['get']['responses'][200]['content']['application/json'];
|
|
13197
|
-
type PosListPaymentOptionsContent = PosListPaymentOptionsResponse['content'];
|
|
13198
13887
|
type GetPosUserResponse = paths['/pos/users/{id}']['get']['responses'][200]['content']['application/json'];
|
|
13199
13888
|
type GetPosUserContent = GetPosUserResponse['content'];
|
|
13200
13889
|
type GetPosUserPathParams = paths['/pos/users/{id}']['get']['parameters']['path'];
|
|
@@ -14891,27 +15580,80 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14891
15580
|
* @returns Promise with order details
|
|
14892
15581
|
* @example
|
|
14893
15582
|
* ```typescript
|
|
14894
|
-
* //
|
|
15583
|
+
* // Juspay Hyper Checkout - Redirects to hosted payment page
|
|
14895
15584
|
* const { data, error } = await sdk.order.createOrder({
|
|
14896
15585
|
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
14897
|
-
*
|
|
14898
|
-
*
|
|
14899
|
-
*
|
|
14900
|
-
*
|
|
14901
|
-
*
|
|
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"
|
|
14902
15592
|
* }
|
|
14903
15593
|
* });
|
|
14904
15594
|
*
|
|
14905
|
-
* //
|
|
15595
|
+
* // Juspay Express Checkout - New Card
|
|
14906
15596
|
* const { data, error } = await sdk.order.createOrder({
|
|
14907
15597
|
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
14908
|
-
*
|
|
14909
|
-
*
|
|
14910
|
-
*
|
|
14911
|
-
*
|
|
14912
|
-
*
|
|
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"
|
|
15612
|
+
* }
|
|
15613
|
+
* });
|
|
15614
|
+
*
|
|
15615
|
+
* // Juspay Express Checkout - Saved Card Token
|
|
15616
|
+
* const { data, error } = await sdk.order.createOrder({
|
|
15617
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
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",
|
|
14913
15640
|
* return_url: "https://yourapp.com/payment/return",
|
|
14914
|
-
*
|
|
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",
|
|
15654
|
+
* return_url: "https://yourapp.com/payment/return",
|
|
15655
|
+
* payment_method_type: "NB",
|
|
15656
|
+
* payment_method: "NB_HDFC"
|
|
14915
15657
|
* }
|
|
14916
15658
|
* });
|
|
14917
15659
|
*
|
|
@@ -14921,6 +15663,17 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14921
15663
|
* console.log("Order created:", data.order.id);
|
|
14922
15664
|
* console.log("Payment required:", data.payment_required);
|
|
14923
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
|
+
* }
|
|
14924
15677
|
* }
|
|
14925
15678
|
* ```
|
|
14926
15679
|
*/
|
|
@@ -15091,28 +15844,32 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
15091
15844
|
* @returns Promise with payment information
|
|
15092
15845
|
* @example
|
|
15093
15846
|
* ```typescript
|
|
15094
|
-
* //
|
|
15847
|
+
* // Juspay Hyper Checkout - Redirects to hosted payment page
|
|
15095
15848
|
* const { data, error } = await sdk.order.retryOrderPayment(
|
|
15096
15849
|
* { order_number: "ORD-2024-001" },
|
|
15097
15850
|
* {
|
|
15098
|
-
*
|
|
15099
|
-
*
|
|
15100
|
-
*
|
|
15101
|
-
*
|
|
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"
|
|
15102
15857
|
* }
|
|
15103
15858
|
* }
|
|
15104
15859
|
* );
|
|
15105
15860
|
*
|
|
15106
|
-
* //
|
|
15861
|
+
* // Juspay Express Checkout - UPI Collect
|
|
15107
15862
|
* const { data, error } = await sdk.order.retryOrderPayment(
|
|
15108
15863
|
* { order_number: "ORD-2024-001" },
|
|
15109
15864
|
* {
|
|
15110
|
-
*
|
|
15111
|
-
*
|
|
15112
|
-
*
|
|
15113
|
-
*
|
|
15865
|
+
* payment_method: {
|
|
15866
|
+
* payment_provider_slug: "juspay",
|
|
15867
|
+
* integration_type: "express-checkout",
|
|
15868
|
+
* gateway_reference_id: "gateway_ref_123",
|
|
15114
15869
|
* return_url: "https://yourapp.com/payment/return",
|
|
15115
|
-
*
|
|
15870
|
+
* payment_method_type: "UPI",
|
|
15871
|
+
* payment_method: "UPI_COLLECT",
|
|
15872
|
+
* upi_vpa: "user@upi"
|
|
15116
15873
|
* }
|
|
15117
15874
|
* }
|
|
15118
15875
|
* );
|
|
@@ -15122,13 +15879,128 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
15122
15879
|
* } else {
|
|
15123
15880
|
* console.log("Payment retry initiated");
|
|
15124
15881
|
* console.log("Payment info:", data.payment_info);
|
|
15125
|
-
*
|
|
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
|
+
* }
|
|
15126
15887
|
* }
|
|
15127
15888
|
* ```
|
|
15128
15889
|
*/
|
|
15129
15890
|
retryOrderPayment(pathParams: RetryOrderPaymentPathParams, body: RetryOrderPaymentBody): Promise<ApiResult<RetryOrderPaymentContent>>;
|
|
15130
15891
|
}
|
|
15131
15892
|
//#endregion
|
|
15893
|
+
//#region src/lib/payments.d.ts
|
|
15894
|
+
/**
|
|
15895
|
+
* Client for interacting with payment endpoints
|
|
15896
|
+
*/
|
|
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>>;
|
|
15949
|
+
/**
|
|
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.
|
|
15955
|
+
*
|
|
15956
|
+
* @param body - OTP authentication request body
|
|
15957
|
+
* @returns Promise with authentication result
|
|
15958
|
+
* @example
|
|
15959
|
+
* ```typescript
|
|
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"
|
|
15965
|
+
* });
|
|
15966
|
+
*
|
|
15967
|
+
* if (error) {
|
|
15968
|
+
* console.error("OTP authentication failed:", error.message);
|
|
15969
|
+
* } else {
|
|
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
|
|
15978
|
+
*
|
|
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.
|
|
15982
|
+
*
|
|
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);
|
|
15998
|
+
* }
|
|
15999
|
+
* ```
|
|
16000
|
+
*/
|
|
16001
|
+
resendDirectOtp(body: ResendDirectOtpBody): Promise<ApiResult<ResendDirectOtpContent>>;
|
|
16002
|
+
}
|
|
16003
|
+
//#endregion
|
|
15132
16004
|
//#region src/lib/shipping.d.ts
|
|
15133
16005
|
/**
|
|
15134
16006
|
* Client for interacting with shipping endpoints
|
|
@@ -15872,6 +16744,10 @@ declare class StorefrontSDK {
|
|
|
15872
16744
|
* Client for order-related endpoints
|
|
15873
16745
|
*/
|
|
15874
16746
|
readonly order: OrderClient;
|
|
16747
|
+
/**
|
|
16748
|
+
* Client for payment-related endpoints
|
|
16749
|
+
*/
|
|
16750
|
+
readonly payments: PaymentsClient;
|
|
15875
16751
|
/**
|
|
15876
16752
|
* Client for store config-related endpoints
|
|
15877
16753
|
*/
|
|
@@ -15969,5 +16845,5 @@ declare class StorefrontSDK {
|
|
|
15969
16845
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
15970
16846
|
}
|
|
15971
16847
|
//#endregion
|
|
15972
|
-
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, 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, JuspayCardPayload, JuspayCreateCardResponse, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayNetBanking, JuspayOrder, JuspayPaymentGatewayParams, JuspayPaymentMethod, JuspaySavedCard, JuspayUpiCollect, JuspayUpiIntent, 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, 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, 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, PaymentMethodPayload, 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, SavedPaymentMethod, 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, 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 };
|
|
15973
|
-
//# 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
|