@commercengine/storefront-sdk 0.10.0 → 0.10.2
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 +678 -322
- package/dist/index.iife.js +4199 -4178
- package/dist/index.iife.js.map +1 -1
- package/dist/index.js +129 -107
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -303,7 +303,6 @@ interface paths {
|
|
|
303
303
|
* Register with whatsapp
|
|
304
304
|
* @description The API allows users to register with their WhatsApp. This endpoint enables the registration process by requesting the user's WhatsApp number, first name, last name, email.
|
|
305
305
|
* The response will include a message indicating the success or failure of the registration process, as well as additional information such as the user's information, access token and refresh token.
|
|
306
|
-
*
|
|
307
306
|
*/
|
|
308
307
|
post: operations["register-with-whatsapp"];
|
|
309
308
|
delete?: never;
|
|
@@ -806,29 +805,6 @@ interface paths {
|
|
|
806
805
|
patch?: never;
|
|
807
806
|
trace?: never;
|
|
808
807
|
};
|
|
809
|
-
"/carts/{id}/shipping-method": {
|
|
810
|
-
parameters: {
|
|
811
|
-
query?: never;
|
|
812
|
-
header?: never;
|
|
813
|
-
path: {
|
|
814
|
-
/** @description Cart ID */
|
|
815
|
-
id: string;
|
|
816
|
-
};
|
|
817
|
-
cookie?: never;
|
|
818
|
-
};
|
|
819
|
-
get?: never;
|
|
820
|
-
put?: never;
|
|
821
|
-
/**
|
|
822
|
-
* Update shipping method
|
|
823
|
-
* @description Update preferred shipping method and courier.
|
|
824
|
-
*/
|
|
825
|
-
post: operations["update-shipping-method"];
|
|
826
|
-
delete?: never;
|
|
827
|
-
options?: never;
|
|
828
|
-
head?: never;
|
|
829
|
-
patch?: never;
|
|
830
|
-
trace?: never;
|
|
831
|
-
};
|
|
832
808
|
"/catalog/categories": {
|
|
833
809
|
parameters: {
|
|
834
810
|
query?: never;
|
|
@@ -1133,6 +1109,35 @@ interface paths {
|
|
|
1133
1109
|
patch?: never;
|
|
1134
1110
|
trace?: never;
|
|
1135
1111
|
};
|
|
1112
|
+
"/customers/{customer_id}/payment-methods": {
|
|
1113
|
+
parameters: {
|
|
1114
|
+
query?: never;
|
|
1115
|
+
header?: never;
|
|
1116
|
+
path: {
|
|
1117
|
+
/** @description Customer Id */
|
|
1118
|
+
customer_id: string;
|
|
1119
|
+
};
|
|
1120
|
+
cookie?: never;
|
|
1121
|
+
};
|
|
1122
|
+
/**
|
|
1123
|
+
* List all saved payment methods
|
|
1124
|
+
* @description This endpoint acts as a proxy for JusPay’s “Fetch Saved Payment Methods” API. It enables to securely retrieve a list of payment methods (such as saved cards, UPI handles, wallets) that have been previously stored for a given customer.
|
|
1125
|
+
*
|
|
1126
|
+
* The operation helps streamline the checkout flow by allowing users to quickly select from existing payment methods, reducing input friction and improving conversion.
|
|
1127
|
+
*
|
|
1128
|
+
* API documentation of JusPay can be found at below link:
|
|
1129
|
+
*
|
|
1130
|
+
* https://juspay.io/in/docs/api-reference/docs/express-checkout/fetch-saved-payment-methods
|
|
1131
|
+
*/
|
|
1132
|
+
get: operations["list-saved-payment-methods"];
|
|
1133
|
+
put?: never;
|
|
1134
|
+
post?: never;
|
|
1135
|
+
delete?: never;
|
|
1136
|
+
options?: never;
|
|
1137
|
+
head?: never;
|
|
1138
|
+
patch?: never;
|
|
1139
|
+
trace?: never;
|
|
1140
|
+
};
|
|
1136
1141
|
"/customers/{id}": {
|
|
1137
1142
|
parameters: {
|
|
1138
1143
|
query?: never;
|
|
@@ -1942,6 +1947,26 @@ interface paths {
|
|
|
1942
1947
|
patch?: never;
|
|
1943
1948
|
trace?: never;
|
|
1944
1949
|
};
|
|
1950
|
+
"/pos/carts/users/{user_id}": {
|
|
1951
|
+
parameters: {
|
|
1952
|
+
query?: never;
|
|
1953
|
+
header?: never;
|
|
1954
|
+
path?: never;
|
|
1955
|
+
cookie?: never;
|
|
1956
|
+
};
|
|
1957
|
+
/**
|
|
1958
|
+
* Retrieve cart using user id
|
|
1959
|
+
* @description Retrieve cart detail using user id
|
|
1960
|
+
*/
|
|
1961
|
+
get: operations["pos-get-user-cart"];
|
|
1962
|
+
put?: never;
|
|
1963
|
+
post?: never;
|
|
1964
|
+
delete?: never;
|
|
1965
|
+
options?: never;
|
|
1966
|
+
head?: never;
|
|
1967
|
+
patch?: never;
|
|
1968
|
+
trace?: never;
|
|
1969
|
+
};
|
|
1945
1970
|
"/pos/carts/{id}": {
|
|
1946
1971
|
parameters: {
|
|
1947
1972
|
query?: never;
|
|
@@ -2601,26 +2626,6 @@ interface paths {
|
|
|
2601
2626
|
patch?: never;
|
|
2602
2627
|
trace?: never;
|
|
2603
2628
|
};
|
|
2604
|
-
"/shipping/shipping-methods": {
|
|
2605
|
-
parameters: {
|
|
2606
|
-
query?: never;
|
|
2607
|
-
header?: never;
|
|
2608
|
-
path?: never;
|
|
2609
|
-
cookie?: never;
|
|
2610
|
-
};
|
|
2611
|
-
get?: never;
|
|
2612
|
-
put?: never;
|
|
2613
|
-
/**
|
|
2614
|
-
* List available shipping methods
|
|
2615
|
-
* @description Checks whether a given pincode is serviceable and returns all available shipping methods based on delivery address
|
|
2616
|
-
*/
|
|
2617
|
-
post: operations["get-shipping-methods"];
|
|
2618
|
-
delete?: never;
|
|
2619
|
-
options?: never;
|
|
2620
|
-
head?: never;
|
|
2621
|
-
patch?: never;
|
|
2622
|
-
trace?: never;
|
|
2623
|
-
};
|
|
2624
2629
|
"/store/config": {
|
|
2625
2630
|
parameters: {
|
|
2626
2631
|
query?: never;
|
|
@@ -2953,8 +2958,10 @@ interface components {
|
|
|
2953
2958
|
* @description Bank transfer payment - IMPS, NEFT, RTGS
|
|
2954
2959
|
*/
|
|
2955
2960
|
BankTransfer: components["schemas"]["PaymentInfo"] & {
|
|
2956
|
-
/**
|
|
2957
|
-
*
|
|
2961
|
+
/**
|
|
2962
|
+
* @description masked account number
|
|
2963
|
+
* e.g. ************1234
|
|
2964
|
+
*/
|
|
2958
2965
|
bank_account_number?: string;
|
|
2959
2966
|
bank_name?: string;
|
|
2960
2967
|
};
|
|
@@ -2980,9 +2987,11 @@ interface components {
|
|
|
2980
2987
|
/** @description brand name. it will be used in emails and other communications. */
|
|
2981
2988
|
name: string;
|
|
2982
2989
|
logo_url: string | null;
|
|
2983
|
-
/**
|
|
2990
|
+
/**
|
|
2991
|
+
* @description json object having key - value pair.
|
|
2984
2992
|
*
|
|
2985
|
-
* example - {"facebook": "www.facebook.com/commecengine"}
|
|
2993
|
+
* example - {"facebook": "www.facebook.com/commecengine"}
|
|
2994
|
+
*/
|
|
2986
2995
|
social_media_links: {
|
|
2987
2996
|
[key: string]: string;
|
|
2988
2997
|
};
|
|
@@ -3061,8 +3070,10 @@ interface components {
|
|
|
3061
3070
|
* @description Payments using credit card, debit card
|
|
3062
3071
|
*/
|
|
3063
3072
|
CardPayment: components["schemas"]["PaymentInfo"] & {
|
|
3064
|
-
/**
|
|
3065
|
-
*
|
|
3073
|
+
/**
|
|
3074
|
+
* @description masked card number
|
|
3075
|
+
* e.g. ************1111
|
|
3076
|
+
*/
|
|
3066
3077
|
card_number?: string;
|
|
3067
3078
|
/** @enum {string} */
|
|
3068
3079
|
card_type?: "Visa" | "Master Card" | "Rupay" | "American Express";
|
|
@@ -3131,10 +3142,7 @@ interface components {
|
|
|
3131
3142
|
shipping_tax_amount: number | null;
|
|
3132
3143
|
/** @description Shipping amount including shipping tax. */
|
|
3133
3144
|
shipping_amount_including_tax: number | null;
|
|
3134
|
-
|
|
3135
|
-
shipping_provider_name: string | null;
|
|
3136
|
-
courier_company_id: string | null;
|
|
3137
|
-
courier_company_name: string | null;
|
|
3145
|
+
fulfillment_preference?: components["schemas"]["FulfillmentPreference"];
|
|
3138
3146
|
estimated_delivery_days: number | null;
|
|
3139
3147
|
/**
|
|
3140
3148
|
* Format: double
|
|
@@ -3171,7 +3179,7 @@ interface components {
|
|
|
3171
3179
|
loyalty_points_earned: number;
|
|
3172
3180
|
/** @description Number of items in the cart. */
|
|
3173
3181
|
cart_items_count: number;
|
|
3174
|
-
/** @description List containing detailed information about each item in the cart.
|
|
3182
|
+
/** @description List containing detailed information about each item in the cart. */
|
|
3175
3183
|
cart_items: components["schemas"]["CartItem"][];
|
|
3176
3184
|
/** @description Details of the billing address. */
|
|
3177
3185
|
billing_address: components["schemas"]["CustomerAddress"];
|
|
@@ -3186,7 +3194,6 @@ interface components {
|
|
|
3186
3194
|
/**
|
|
3187
3195
|
* Format: date-time
|
|
3188
3196
|
* @description the expiration timestamp of the shopping cart. .
|
|
3189
|
-
*
|
|
3190
3197
|
*/
|
|
3191
3198
|
expires_at: string | null;
|
|
3192
3199
|
/** @description Information about the promotional offers that have been applied to the cart. */
|
|
@@ -3231,8 +3238,6 @@ interface components {
|
|
|
3231
3238
|
stock_available: boolean;
|
|
3232
3239
|
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
3233
3240
|
backorder: boolean;
|
|
3234
|
-
/** @description Indicates whether the product is currently on offer. */
|
|
3235
|
-
on_offer: boolean;
|
|
3236
3241
|
/** @description Indicates whether the product is currently on a subscription. */
|
|
3237
3242
|
on_subscription: boolean;
|
|
3238
3243
|
/** @description Indicates whether the product is part of a promotion. */
|
|
@@ -3321,9 +3326,15 @@ interface components {
|
|
|
3321
3326
|
};
|
|
3322
3327
|
/** CollectInStoreFulfillment */
|
|
3323
3328
|
CollectInStoreFulfillment: {
|
|
3324
|
-
/**
|
|
3329
|
+
/**
|
|
3330
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3331
|
+
* @enum {string}
|
|
3332
|
+
*/
|
|
3325
3333
|
fulfillment_type: "collect-in-store";
|
|
3334
|
+
/** @enum {string} */
|
|
3335
|
+
readonly preference_type?: "user" | "auto";
|
|
3326
3336
|
pickup_location_id: string;
|
|
3337
|
+
readonly pickup_location_name?: string;
|
|
3327
3338
|
};
|
|
3328
3339
|
/**
|
|
3329
3340
|
* ColorAttribute
|
|
@@ -3510,8 +3521,7 @@ interface components {
|
|
|
3510
3521
|
id?: string | null;
|
|
3511
3522
|
first_name: string;
|
|
3512
3523
|
last_name: string | null;
|
|
3513
|
-
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
3514
|
-
* */
|
|
3524
|
+
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided. */
|
|
3515
3525
|
country_code: string;
|
|
3516
3526
|
/** @description 10 digit phone number without country code. */
|
|
3517
3527
|
phone: string;
|
|
@@ -3541,8 +3551,7 @@ interface components {
|
|
|
3541
3551
|
readonly id?: string;
|
|
3542
3552
|
first_name?: string;
|
|
3543
3553
|
last_name?: string;
|
|
3544
|
-
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
3545
|
-
* */
|
|
3554
|
+
/** @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided. */
|
|
3546
3555
|
country_code?: string;
|
|
3547
3556
|
/** @description 10 digit phone number without country code. */
|
|
3548
3557
|
phone?: string;
|
|
@@ -3680,8 +3689,17 @@ interface components {
|
|
|
3680
3689
|
};
|
|
3681
3690
|
/** DeliveryFulfillment */
|
|
3682
3691
|
DeliveryFulfillment: {
|
|
3683
|
-
/**
|
|
3692
|
+
/**
|
|
3693
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3694
|
+
* @enum {string}
|
|
3695
|
+
*/
|
|
3684
3696
|
fulfillment_type: "delivery";
|
|
3697
|
+
/** @enum {string} */
|
|
3698
|
+
readonly preference_type?: "user" | "auto";
|
|
3699
|
+
shipping_provider_id: string | null;
|
|
3700
|
+
readonly shipping_provider_name?: string | null;
|
|
3701
|
+
courier_company_id?: string | null;
|
|
3702
|
+
readonly courier_company_name?: string | null;
|
|
3685
3703
|
};
|
|
3686
3704
|
/** DiscountBasedPromotion */
|
|
3687
3705
|
DiscountBasedPromotion: {
|
|
@@ -3818,8 +3836,16 @@ interface components {
|
|
|
3818
3836
|
FreeGoodsRule: components["schemas"]["AutoScaleBasedOnQuantity"] | components["schemas"]["AutoScaleBasedOnAmount"] | components["schemas"]["CustomSlabsBasedOnQuantity"] | components["schemas"]["CustomSlabsBasedOnAmount"];
|
|
3819
3837
|
/** FreeShipingCouponPromotion */
|
|
3820
3838
|
FreeShipingCouponPromotion: components["schemas"]["CouponPromotionCommonDetail"];
|
|
3821
|
-
/**
|
|
3822
|
-
|
|
3839
|
+
/** FulfillmentItem */
|
|
3840
|
+
FulfillmentItem: {
|
|
3841
|
+
product_id: string;
|
|
3842
|
+
readonly product_name: string;
|
|
3843
|
+
variant_id: string | null;
|
|
3844
|
+
readonly variant_name: string | null;
|
|
3845
|
+
quantity: number;
|
|
3846
|
+
};
|
|
3847
|
+
/** FulfillmentPreference */
|
|
3848
|
+
FulfillmentPreference: components["schemas"]["CollectInStoreFulfillment"] | components["schemas"]["DeliveryFulfillment"] | components["schemas"]["PartialCollectAndDelivery"];
|
|
3823
3849
|
/** GenerateOtpWithEmail */
|
|
3824
3850
|
GenerateOtpWithEmail: {
|
|
3825
3851
|
/** @constant */
|
|
@@ -3876,8 +3902,6 @@ interface components {
|
|
|
3876
3902
|
stock_available: boolean;
|
|
3877
3903
|
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
3878
3904
|
backorder?: boolean;
|
|
3879
|
-
/** @description Indicates whether this item is associated with any active (product-specific) coupons */
|
|
3880
|
-
on_offer: boolean;
|
|
3881
3905
|
on_subscription: boolean;
|
|
3882
3906
|
on_promotion: boolean;
|
|
3883
3907
|
category_ids: string[];
|
|
@@ -3891,6 +3915,7 @@ interface components {
|
|
|
3891
3915
|
subscription: components["schemas"]["ProductSubscription"][];
|
|
3892
3916
|
associated_options: components["schemas"]["AssociatedOption"] | null;
|
|
3893
3917
|
shipping?: components["schemas"]["ProductShipping"];
|
|
3918
|
+
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
3894
3919
|
};
|
|
3895
3920
|
/** JuspayCardPayload */
|
|
3896
3921
|
JuspayCardPayload: {
|
|
@@ -3937,70 +3962,60 @@ interface components {
|
|
|
3937
3962
|
last_updated?: string;
|
|
3938
3963
|
mobile_country_code?: string;
|
|
3939
3964
|
};
|
|
3940
|
-
/**
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
udf5?: string;
|
|
3949
|
-
udf4?: string;
|
|
3950
|
-
udf3?: string;
|
|
3951
|
-
udf2?: string;
|
|
3952
|
-
udf1?: string;
|
|
3953
|
-
status_id?: string;
|
|
3954
|
-
status?: string;
|
|
3965
|
+
/** JusPayExpressCheckout */
|
|
3966
|
+
JusPayExpressCheckout: components["schemas"]["JusPayNewCard"] | components["schemas"]["JusPaySavedCardToken"] | components["schemas"]["JuspayNetBanking"] | components["schemas"]["JuspayUpiCollect"] | components["schemas"]["JuspayUpiIntent"];
|
|
3967
|
+
/** JusPayExpressCheckoutCommonField */
|
|
3968
|
+
JusPayExpressCheckoutCommonField: {
|
|
3969
|
+
payment_provider_slug: string;
|
|
3970
|
+
/** @constant */
|
|
3971
|
+
integration_type: "express-checkout";
|
|
3972
|
+
gateway_reference_id: string;
|
|
3955
3973
|
return_url?: string;
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3974
|
+
redirect_after_payment?: boolean;
|
|
3975
|
+
get_client_auth_token?: boolean;
|
|
3976
|
+
};
|
|
3977
|
+
/** JusPayExpressCheckoutResponse */
|
|
3978
|
+
JusPayExpressCheckoutResponse: {
|
|
3979
|
+
txn_id?: string;
|
|
3980
|
+
txn_uuid?: string;
|
|
3981
|
+
status?: string;
|
|
3964
3982
|
order_id?: string;
|
|
3965
|
-
merchant_id?: string;
|
|
3966
3983
|
juspay?: {
|
|
3967
3984
|
client_auth_token?: string;
|
|
3968
3985
|
client_auth_token_expiry?: string;
|
|
3969
3986
|
};
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3987
|
+
offer_details?: {
|
|
3988
|
+
offers?: Record<string, never>[];
|
|
3989
|
+
};
|
|
3990
|
+
payment?: {
|
|
3991
|
+
sdk_params?: {
|
|
3992
|
+
mam?: string;
|
|
3993
|
+
tr?: string;
|
|
3994
|
+
merchant_vpa?: string;
|
|
3995
|
+
customer_first_name?: string;
|
|
3996
|
+
customer_last_name?: string;
|
|
3997
|
+
tn?: string;
|
|
3998
|
+
mcc?: string;
|
|
3999
|
+
merchant_name?: string;
|
|
4000
|
+
currency?: string;
|
|
4001
|
+
amount?: string;
|
|
4002
|
+
};
|
|
4003
|
+
} | null;
|
|
4004
|
+
/** Format: date-time */
|
|
4005
|
+
order_expiry?: string;
|
|
3979
4006
|
};
|
|
3980
|
-
/**
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
*/
|
|
3986
|
-
payment_gateway: "JUSPAY";
|
|
3987
|
-
/**
|
|
3988
|
-
* @description `paymentPage` is the default option that you should select when using hyper-checkout
|
|
3989
|
-
* @enum {string}
|
|
3990
|
-
*/
|
|
3991
|
-
action: "paymentPage" | "paymentManagement";
|
|
3992
|
-
/**
|
|
3993
|
-
* @description Use `hyper-checkout` for Juspay hosted checkout
|
|
3994
|
-
* @enum {string}
|
|
3995
|
-
*/
|
|
3996
|
-
integration_type: "hyper-checkout" | "express-checkout";
|
|
3997
|
-
/** @description This is the URL that the gateway will redirect to once payment processing is complete. This will be a GET request by default */
|
|
3998
|
-
return_url: string;
|
|
3999
|
-
/** @description The exact gateway reference ID that was set up in the integration */
|
|
4007
|
+
/** JusPayHyperCheckout */
|
|
4008
|
+
JusPayHyperCheckout: {
|
|
4009
|
+
payment_provider_slug: string;
|
|
4010
|
+
/** @constant */
|
|
4011
|
+
integration_type: "hyper-checkout";
|
|
4000
4012
|
gateway_reference_id: string;
|
|
4013
|
+
return_url: string;
|
|
4014
|
+
/** @enum {unknown} */
|
|
4015
|
+
action: "paymentPage";
|
|
4001
4016
|
};
|
|
4002
|
-
/**
|
|
4003
|
-
|
|
4017
|
+
/** JusPayHyperCheckoutResponse */
|
|
4018
|
+
JusPayHyperCheckoutResponse: {
|
|
4004
4019
|
id?: string;
|
|
4005
4020
|
status?: string;
|
|
4006
4021
|
order_id?: string;
|
|
@@ -4030,7 +4045,6 @@ interface components {
|
|
|
4030
4045
|
description?: string;
|
|
4031
4046
|
/**
|
|
4032
4047
|
* @description Use for taking consent of subscription payments. If this key is used it will ask user to give consent for subscription payment.
|
|
4033
|
-
*
|
|
4034
4048
|
* @constant
|
|
4035
4049
|
*/
|
|
4036
4050
|
"options.createMandate"?: "REQUIRED";
|
|
@@ -4058,6 +4072,92 @@ interface components {
|
|
|
4058
4072
|
"mandate.rule_value "?: "1-7" | "1-16" | "1-31";
|
|
4059
4073
|
};
|
|
4060
4074
|
};
|
|
4075
|
+
/** Format: date-time */
|
|
4076
|
+
order_expiry?: string;
|
|
4077
|
+
};
|
|
4078
|
+
/** JuspayNetBanking */
|
|
4079
|
+
JuspayNetBanking: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4080
|
+
/** @constant */
|
|
4081
|
+
payment_method_type: "NB";
|
|
4082
|
+
payment_method: string;
|
|
4083
|
+
};
|
|
4084
|
+
/** JusPayNewCard */
|
|
4085
|
+
JusPayNewCard: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4086
|
+
/** @constant */
|
|
4087
|
+
auth_type: "OTP";
|
|
4088
|
+
tokenize: boolean;
|
|
4089
|
+
save_to_locker: boolean;
|
|
4090
|
+
/** @constant */
|
|
4091
|
+
payment_method_type: "CARD";
|
|
4092
|
+
/** @enum {unknown} */
|
|
4093
|
+
payment_method: "VISA" | "MASTER";
|
|
4094
|
+
card_number: string;
|
|
4095
|
+
card_exp_month: string;
|
|
4096
|
+
card_exp_year: string;
|
|
4097
|
+
name_on_card: string;
|
|
4098
|
+
card_security_code: string;
|
|
4099
|
+
};
|
|
4100
|
+
/** JuspayOrder */
|
|
4101
|
+
JuspayOrder: {
|
|
4102
|
+
id?: string;
|
|
4103
|
+
udf10?: string;
|
|
4104
|
+
udf9?: string;
|
|
4105
|
+
udf8?: string;
|
|
4106
|
+
udf7?: string;
|
|
4107
|
+
udf6?: string;
|
|
4108
|
+
udf5?: string;
|
|
4109
|
+
udf4?: string;
|
|
4110
|
+
udf3?: string;
|
|
4111
|
+
udf2?: string;
|
|
4112
|
+
udf1?: string;
|
|
4113
|
+
status_id?: string;
|
|
4114
|
+
status?: string;
|
|
4115
|
+
return_url?: string;
|
|
4116
|
+
/** @default false */
|
|
4117
|
+
refunded: boolean;
|
|
4118
|
+
product_id?: string;
|
|
4119
|
+
payment_links?: {
|
|
4120
|
+
web?: string;
|
|
4121
|
+
mobile?: string;
|
|
4122
|
+
iframe?: string;
|
|
4123
|
+
};
|
|
4124
|
+
order_id?: string;
|
|
4125
|
+
merchant_id?: string;
|
|
4126
|
+
juspay?: {
|
|
4127
|
+
client_auth_token?: string;
|
|
4128
|
+
client_auth_token_expiry?: string;
|
|
4129
|
+
};
|
|
4130
|
+
date_created?: string;
|
|
4131
|
+
customer_phone?: string;
|
|
4132
|
+
customer_id?: string;
|
|
4133
|
+
customer_email?: string;
|
|
4134
|
+
currency?: string;
|
|
4135
|
+
/** Format: double */
|
|
4136
|
+
amount_refunded?: number;
|
|
4137
|
+
/** Format: double */
|
|
4138
|
+
amount?: number;
|
|
4139
|
+
};
|
|
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;
|
|
4061
4161
|
};
|
|
4062
4162
|
/** JuspayPaymentMethod */
|
|
4063
4163
|
JuspayPaymentMethod: {
|
|
@@ -4069,6 +4169,36 @@ interface components {
|
|
|
4069
4169
|
JuspaySavedCard: {
|
|
4070
4170
|
id?: string;
|
|
4071
4171
|
};
|
|
4172
|
+
/** JusPaySavedCardToken */
|
|
4173
|
+
JusPaySavedCardToken: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4174
|
+
/** @constant */
|
|
4175
|
+
auth_type: "OTP";
|
|
4176
|
+
tokenize: boolean;
|
|
4177
|
+
save_to_locker: boolean;
|
|
4178
|
+
/** @constant */
|
|
4179
|
+
payment_method_type: "CARD";
|
|
4180
|
+
/** @enum {unknown} */
|
|
4181
|
+
payment_method: "VISA" | "MASTER";
|
|
4182
|
+
card_token: string;
|
|
4183
|
+
card_security_code: string;
|
|
4184
|
+
};
|
|
4185
|
+
/** JuspayUpiCollect */
|
|
4186
|
+
JuspayUpiCollect: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4187
|
+
/** @constant */
|
|
4188
|
+
payment_method_type: "UPI";
|
|
4189
|
+
/** @constant */
|
|
4190
|
+
payment_method: "UPI_COLLECT";
|
|
4191
|
+
upi_vpa: string;
|
|
4192
|
+
};
|
|
4193
|
+
/** JuspayUpiIntent */
|
|
4194
|
+
JuspayUpiIntent: components["schemas"]["JusPayExpressCheckoutCommonField"] & {
|
|
4195
|
+
/** @constant */
|
|
4196
|
+
payment_method_type: "UPI";
|
|
4197
|
+
/** @constant */
|
|
4198
|
+
payment_method: "UPI_PAY";
|
|
4199
|
+
sdk_params: boolean;
|
|
4200
|
+
upi_app: string;
|
|
4201
|
+
};
|
|
4072
4202
|
/** KycDocument */
|
|
4073
4203
|
KycDocument: {
|
|
4074
4204
|
readonly id?: string;
|
|
@@ -4097,6 +4227,16 @@ interface components {
|
|
|
4097
4227
|
/** @enum {unknown} */
|
|
4098
4228
|
verification_type: "auto" | "manual";
|
|
4099
4229
|
};
|
|
4230
|
+
/** LotBatchDetail */
|
|
4231
|
+
LotBatchDetail: {
|
|
4232
|
+
lot_batch: string;
|
|
4233
|
+
/** Format: date */
|
|
4234
|
+
mfg_date: string | null;
|
|
4235
|
+
/** Format: date */
|
|
4236
|
+
exp_date: string | null;
|
|
4237
|
+
manufacturer: string | null;
|
|
4238
|
+
stock_quantity: number;
|
|
4239
|
+
};
|
|
4100
4240
|
/**
|
|
4101
4241
|
* LoyaltyPointActivity
|
|
4102
4242
|
* @description Loyalty Point Activity
|
|
@@ -4167,8 +4307,7 @@ interface components {
|
|
|
4167
4307
|
transactional: components["schemas"]["NotificationChannelPreferences"];
|
|
4168
4308
|
/** @description These notifications aim to engage users with promotional content and enhance their overall experience with the platform. */
|
|
4169
4309
|
promotional: components["schemas"]["NotificationChannelPreferences"];
|
|
4170
|
-
/** @description These notifications are often sent periodically as part of a subscription service.
|
|
4171
|
-
* */
|
|
4310
|
+
/** @description These notifications are often sent periodically as part of a subscription service. */
|
|
4172
4311
|
newsletter: components["schemas"]["NotificationChannelPreferences"];
|
|
4173
4312
|
};
|
|
4174
4313
|
/**
|
|
@@ -4241,10 +4380,7 @@ interface components {
|
|
|
4241
4380
|
shipping_tax_amount?: number;
|
|
4242
4381
|
/** Format: double */
|
|
4243
4382
|
shipping_amount_including_tax?: number;
|
|
4244
|
-
|
|
4245
|
-
shipping_provider_name?: string | null;
|
|
4246
|
-
courier_company_id?: string | null;
|
|
4247
|
-
courier_company_name?: string | null;
|
|
4383
|
+
fulfillment_preference?: components["schemas"]["FulfillmentPreference"];
|
|
4248
4384
|
estimated_delivery_days?: number | null;
|
|
4249
4385
|
/** Format: double */
|
|
4250
4386
|
handling_charge_excluding_tax?: number;
|
|
@@ -4308,12 +4444,12 @@ interface components {
|
|
|
4308
4444
|
slug: string;
|
|
4309
4445
|
variant_id: string | null;
|
|
4310
4446
|
variant_name: string | null;
|
|
4311
|
-
/**
|
|
4312
|
-
*
|
|
4447
|
+
/**
|
|
4448
|
+
* @description backorder
|
|
4313
4449
|
*
|
|
4314
|
-
* Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion.
|
|
4450
|
+
* Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion.
|
|
4451
|
+
*/
|
|
4315
4452
|
backorder: boolean;
|
|
4316
|
-
on_offer: boolean;
|
|
4317
4453
|
on_promotion: boolean;
|
|
4318
4454
|
on_subscription: boolean;
|
|
4319
4455
|
subscription_plan: string | null;
|
|
@@ -4538,6 +4674,28 @@ interface components {
|
|
|
4538
4674
|
PanDetail: {
|
|
4539
4675
|
id?: string;
|
|
4540
4676
|
};
|
|
4677
|
+
/** PartialCollectAndDelivery */
|
|
4678
|
+
PartialCollectAndDelivery: {
|
|
4679
|
+
/**
|
|
4680
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4681
|
+
* @enum {string}
|
|
4682
|
+
*/
|
|
4683
|
+
fulfillment_type: "partial-collect-and-delivery";
|
|
4684
|
+
/** @enum {string} */
|
|
4685
|
+
readonly preference_type?: "user" | "auto";
|
|
4686
|
+
"collect-in-store": {
|
|
4687
|
+
pickup_location_id: string;
|
|
4688
|
+
readonly pickup_location_name?: string;
|
|
4689
|
+
items: components["schemas"]["FulfillmentItem"][];
|
|
4690
|
+
};
|
|
4691
|
+
delivery: {
|
|
4692
|
+
shipping_provider_id: string;
|
|
4693
|
+
readonly shipping_provider_name?: string | null;
|
|
4694
|
+
courier_company_id?: string | null;
|
|
4695
|
+
readonly courier_company_name?: string | null;
|
|
4696
|
+
items: components["schemas"]["FulfillmentItem"][];
|
|
4697
|
+
};
|
|
4698
|
+
};
|
|
4541
4699
|
/** PauseSubscription */
|
|
4542
4700
|
PauseSubscription: {
|
|
4543
4701
|
/**
|
|
@@ -4577,6 +4735,8 @@ interface components {
|
|
|
4577
4735
|
payment_method?: string | null;
|
|
4578
4736
|
icon_url?: string | null;
|
|
4579
4737
|
};
|
|
4738
|
+
/** PaymentMethodPayload */
|
|
4739
|
+
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"];
|
|
4580
4740
|
/** PayuCardPayload */
|
|
4581
4741
|
PayuCardPayload: {
|
|
4582
4742
|
/**
|
|
@@ -4647,12 +4807,14 @@ interface components {
|
|
|
4647
4807
|
* @constant
|
|
4648
4808
|
*/
|
|
4649
4809
|
billingCycle?: "MONTHLY";
|
|
4650
|
-
/**
|
|
4810
|
+
/**
|
|
4811
|
+
* @description Billing Interval is closely coupled with the billingCycle field and denotes at what frequency, the subscription plan needs to be executed. For monthly subscriptions, parameter values need to be sent in the request are:
|
|
4651
4812
|
* billingCycle = MONTHLY
|
|
4652
4813
|
* billingInterval = 1
|
|
4653
4814
|
* Similarly, by keeping the following values, customer will be charged once in every 3 days:
|
|
4654
4815
|
* billingCycle = DAILY
|
|
4655
|
-
* billingInterval = 3
|
|
4816
|
+
* billingInterval = 3
|
|
4817
|
+
*/
|
|
4656
4818
|
billingInterval?: number;
|
|
4657
4819
|
/**
|
|
4658
4820
|
* Format: date
|
|
@@ -4765,17 +4927,31 @@ interface components {
|
|
|
4765
4927
|
};
|
|
4766
4928
|
/** PosDevice */
|
|
4767
4929
|
PosDevice: {
|
|
4768
|
-
readonly id
|
|
4769
|
-
name
|
|
4770
|
-
/** @enum {
|
|
4771
|
-
device_type
|
|
4930
|
+
readonly id: string;
|
|
4931
|
+
name: string;
|
|
4932
|
+
/** @enum {string} */
|
|
4933
|
+
device_type: "pos-terminal";
|
|
4772
4934
|
/** @description A Device ID shared by POS device provider. */
|
|
4773
|
-
readonly external_device_id
|
|
4774
|
-
vendor
|
|
4775
|
-
model_number
|
|
4776
|
-
mac_address
|
|
4777
|
-
location_id
|
|
4778
|
-
readonly location_name
|
|
4935
|
+
readonly external_device_id: string;
|
|
4936
|
+
vendor: string;
|
|
4937
|
+
model_number: string;
|
|
4938
|
+
mac_address: string | null;
|
|
4939
|
+
location_id: string;
|
|
4940
|
+
readonly location_name: string;
|
|
4941
|
+
/** @description Returns a user object if the device is claimed, otherwise returns null. */
|
|
4942
|
+
claimed_by: components["schemas"]["PosDeviceClaimedUser"] | null;
|
|
4943
|
+
/** @enum {string} */
|
|
4944
|
+
readonly status: "available" | "claimed" | "offline";
|
|
4945
|
+
readonly is_busy: boolean;
|
|
4946
|
+
};
|
|
4947
|
+
/** PosDeviceClaimedUser */
|
|
4948
|
+
PosDeviceClaimedUser: {
|
|
4949
|
+
readonly id: string;
|
|
4950
|
+
first_name: string;
|
|
4951
|
+
last_name: string | null;
|
|
4952
|
+
phone: string;
|
|
4953
|
+
/** Format: email */
|
|
4954
|
+
email: string;
|
|
4779
4955
|
};
|
|
4780
4956
|
/** PosLocation */
|
|
4781
4957
|
PosLocation: {
|
|
@@ -4888,8 +5064,6 @@ interface components {
|
|
|
4888
5064
|
readonly stock_available: boolean;
|
|
4889
5065
|
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
4890
5066
|
backorder?: boolean;
|
|
4891
|
-
/** @description Indicates whether this item is associated with any active (product-specific) coupons */
|
|
4892
|
-
readonly on_offer: boolean;
|
|
4893
5067
|
/** @description Indicates whether the product has any subscription plans avaialble */
|
|
4894
5068
|
readonly on_subscription: boolean;
|
|
4895
5069
|
/** @description Indicates whether the product is currently on promotion. When true, the `ProductPromotion` object will contain details of the promotion */
|
|
@@ -4911,6 +5085,7 @@ interface components {
|
|
|
4911
5085
|
subscription: components["schemas"]["ProductSubscription"][];
|
|
4912
5086
|
variants: components["schemas"]["Variant"][];
|
|
4913
5087
|
bundle_items: components["schemas"]["ProductBundleItem"];
|
|
5088
|
+
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
4914
5089
|
};
|
|
4915
5090
|
ProductAttribute: components["schemas"]["ColorAttribute"] | components["schemas"]["SingleSelectAttribute"] | components["schemas"]["MultiSelectAttribute"] | components["schemas"]["TextAttribute"] | components["schemas"]["DateAttribute"] | components["schemas"]["NumberAttribute"] | components["schemas"]["BooleanAttribute"];
|
|
4916
5091
|
ProductBundleItem: ({
|
|
@@ -5119,6 +5294,61 @@ interface components {
|
|
|
5119
5294
|
/** @description Provide reason for revoking subscription. */
|
|
5120
5295
|
reason: string;
|
|
5121
5296
|
};
|
|
5297
|
+
/** SavedPaymentMethod */
|
|
5298
|
+
SavedPaymentMethod: {
|
|
5299
|
+
UPI_COLLECT?: {
|
|
5300
|
+
count?: number;
|
|
5301
|
+
last_used?: string;
|
|
5302
|
+
vpa?: string;
|
|
5303
|
+
}[];
|
|
5304
|
+
WALLET?: {
|
|
5305
|
+
"linked "?: string;
|
|
5306
|
+
"id "?: string;
|
|
5307
|
+
"metadata "?: {
|
|
5308
|
+
"mobile_Number "?: string;
|
|
5309
|
+
"device_Id "?: string;
|
|
5310
|
+
};
|
|
5311
|
+
"wallet "?: string;
|
|
5312
|
+
"gateway_reference_id "?: string;
|
|
5313
|
+
"last_refreshed "?: string;
|
|
5314
|
+
"sub_details "?: {
|
|
5315
|
+
"last_Used "?: string;
|
|
5316
|
+
"current_Balance "?: string;
|
|
5317
|
+
"last_Refreshed "?: string;
|
|
5318
|
+
"payment_Method "?: string;
|
|
5319
|
+
"payment_Method_Type "?: string;
|
|
5320
|
+
};
|
|
5321
|
+
}[];
|
|
5322
|
+
CARD?: {
|
|
5323
|
+
card_sub_type?: string;
|
|
5324
|
+
extended_card_type?: string;
|
|
5325
|
+
card_global_fingerprint?: string;
|
|
5326
|
+
nickname?: string;
|
|
5327
|
+
provider_category?: string;
|
|
5328
|
+
vault_provider?: string;
|
|
5329
|
+
card_reference?: string;
|
|
5330
|
+
card_type?: string;
|
|
5331
|
+
metadata?: {
|
|
5332
|
+
origin_merchant_id?: string;
|
|
5333
|
+
};
|
|
5334
|
+
card_issuer?: string;
|
|
5335
|
+
card_token?: string;
|
|
5336
|
+
card_exp_month?: string;
|
|
5337
|
+
provider?: string;
|
|
5338
|
+
card_sub_type_category?: string;
|
|
5339
|
+
expired?: boolean;
|
|
5340
|
+
card_fingerprint?: string;
|
|
5341
|
+
tokenize_support?: boolean;
|
|
5342
|
+
juspay_bank_code?: string;
|
|
5343
|
+
card_exp_year?: string;
|
|
5344
|
+
name_on_card?: string;
|
|
5345
|
+
country_code?: string;
|
|
5346
|
+
card_number?: string;
|
|
5347
|
+
card_isin?: string;
|
|
5348
|
+
card_brand?: string;
|
|
5349
|
+
card_issuer_country?: string;
|
|
5350
|
+
}[];
|
|
5351
|
+
};
|
|
5122
5352
|
/**
|
|
5123
5353
|
* SearchProduct
|
|
5124
5354
|
* @description Payload for searching products.
|
|
@@ -5136,13 +5366,15 @@ interface components {
|
|
|
5136
5366
|
* @default 25
|
|
5137
5367
|
*/
|
|
5138
5368
|
limit: number;
|
|
5139
|
-
/**
|
|
5369
|
+
/**
|
|
5370
|
+
* @description provide list of attributes for specific facets or * for all facets.
|
|
5140
5371
|
* ```json
|
|
5141
5372
|
* For specific facets: ["size", "color", "brand"]
|
|
5142
5373
|
* ```
|
|
5143
5374
|
* ```json
|
|
5144
5375
|
* For all facets: ["*"]
|
|
5145
|
-
* ```
|
|
5376
|
+
* ```
|
|
5377
|
+
*/
|
|
5146
5378
|
facets?: string[];
|
|
5147
5379
|
};
|
|
5148
5380
|
/** Seo */
|
|
@@ -5490,8 +5722,10 @@ interface components {
|
|
|
5490
5722
|
readonly is_email_verified: boolean;
|
|
5491
5723
|
/** @description 10 digit phone number without country code. */
|
|
5492
5724
|
phone: string | null;
|
|
5493
|
-
/**
|
|
5494
|
-
*
|
|
5725
|
+
/**
|
|
5726
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
5727
|
+
* Use this key along with phone. Not necessary for email.
|
|
5728
|
+
*/
|
|
5495
5729
|
country_code: string | null;
|
|
5496
5730
|
/** @description Boolean indicating whether the phone is verified. */
|
|
5497
5731
|
readonly is_phone_verified: boolean;
|
|
@@ -5533,8 +5767,6 @@ interface components {
|
|
|
5533
5767
|
readonly stock_available: boolean;
|
|
5534
5768
|
/** @description Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion. */
|
|
5535
5769
|
backorder?: boolean;
|
|
5536
|
-
/** @description Indicates whether this item is associated with any active (product-specific) coupons */
|
|
5537
|
-
readonly on_offer: boolean;
|
|
5538
5770
|
readonly on_promotion: boolean;
|
|
5539
5771
|
readonly on_subscription: boolean;
|
|
5540
5772
|
/** @description Indicates whether a variant is marked as the default variant for a product */
|
|
@@ -5545,6 +5777,7 @@ interface components {
|
|
|
5545
5777
|
pricing: components["schemas"]["ProductPricing"];
|
|
5546
5778
|
subscription: components["schemas"]["ProductSubscription"][];
|
|
5547
5779
|
promotion: components["schemas"]["ProductPromotion"];
|
|
5780
|
+
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
5548
5781
|
};
|
|
5549
5782
|
/** VariantDetail */
|
|
5550
5783
|
VariantDetail: components["schemas"]["Variant"] & {
|
|
@@ -5577,7 +5810,8 @@ interface components {
|
|
|
5577
5810
|
key: string;
|
|
5578
5811
|
/** @enum {string} */
|
|
5579
5812
|
type: "single-select" | "color";
|
|
5580
|
-
/**
|
|
5813
|
+
/**
|
|
5814
|
+
* @description When option_type is color, value will contain an array of objects like:
|
|
5581
5815
|
* ```json
|
|
5582
5816
|
* [
|
|
5583
5817
|
* {
|
|
@@ -5589,7 +5823,8 @@ interface components {
|
|
|
5589
5823
|
* "hexcode": "#FFFFFF"
|
|
5590
5824
|
* }
|
|
5591
5825
|
* ]
|
|
5592
|
-
* ```
|
|
5826
|
+
* ```
|
|
5827
|
+
*/
|
|
5593
5828
|
value: (string | Record<string, never>)[];
|
|
5594
5829
|
};
|
|
5595
5830
|
/** VolumeBasedCouponPromotion */
|
|
@@ -5700,6 +5935,8 @@ interface components {
|
|
|
5700
5935
|
parameters: {
|
|
5701
5936
|
/** @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. */
|
|
5702
5937
|
CustomerGroupId: string;
|
|
5938
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
5939
|
+
DebugMode: boolean;
|
|
5703
5940
|
/** @description no of rows per page */
|
|
5704
5941
|
pageLimitParam: number;
|
|
5705
5942
|
/** @description page number of pagination list */
|
|
@@ -5769,7 +6006,7 @@ interface operations {
|
|
|
5769
6006
|
user: components["schemas"]["AnonymousUser"];
|
|
5770
6007
|
/** @description It is a string-based token utilized for authentication and authorization. */
|
|
5771
6008
|
access_token: string;
|
|
5772
|
-
/** @description It is a string-based token designed for refreshing the user's access token.
|
|
6009
|
+
/** @description It is a string-based token designed for refreshing the user's access token. */
|
|
5773
6010
|
refresh_token: string;
|
|
5774
6011
|
};
|
|
5775
6012
|
};
|
|
@@ -5838,8 +6075,10 @@ interface operations {
|
|
|
5838
6075
|
email: string;
|
|
5839
6076
|
/** @description 10 digit phone number without country code. */
|
|
5840
6077
|
phone: string;
|
|
5841
|
-
/**
|
|
5842
|
-
*
|
|
6078
|
+
/**
|
|
6079
|
+
* @description Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
|
|
6080
|
+
* Use this key along with phone. Not necessary for email.
|
|
6081
|
+
*/
|
|
5843
6082
|
country_code: string;
|
|
5844
6083
|
};
|
|
5845
6084
|
};
|
|
@@ -5872,7 +6111,10 @@ interface operations {
|
|
|
5872
6111
|
"generate-otp": {
|
|
5873
6112
|
parameters: {
|
|
5874
6113
|
query?: never;
|
|
5875
|
-
header?:
|
|
6114
|
+
header?: {
|
|
6115
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
6116
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
6117
|
+
};
|
|
5876
6118
|
path?: never;
|
|
5877
6119
|
cookie?: never;
|
|
5878
6120
|
};
|
|
@@ -5910,7 +6152,10 @@ interface operations {
|
|
|
5910
6152
|
"login-with-email": {
|
|
5911
6153
|
parameters: {
|
|
5912
6154
|
query?: never;
|
|
5913
|
-
header?:
|
|
6155
|
+
header?: {
|
|
6156
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
6157
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
6158
|
+
};
|
|
5914
6159
|
path?: never;
|
|
5915
6160
|
cookie?: never;
|
|
5916
6161
|
};
|
|
@@ -5922,9 +6167,11 @@ interface operations {
|
|
|
5922
6167
|
* @description User's email address.
|
|
5923
6168
|
*/
|
|
5924
6169
|
email: string;
|
|
5925
|
-
/**
|
|
6170
|
+
/**
|
|
6171
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
5926
6172
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
5927
|
-
* "register_if_not_exists": true
|
|
6173
|
+
* "register_if_not_exists": true
|
|
6174
|
+
*/
|
|
5928
6175
|
register_if_not_exists?: boolean;
|
|
5929
6176
|
};
|
|
5930
6177
|
};
|
|
@@ -6014,7 +6261,10 @@ interface operations {
|
|
|
6014
6261
|
"login-with-phone": {
|
|
6015
6262
|
parameters: {
|
|
6016
6263
|
query?: never;
|
|
6017
|
-
header?:
|
|
6264
|
+
header?: {
|
|
6265
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
6266
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
6267
|
+
};
|
|
6018
6268
|
path?: never;
|
|
6019
6269
|
cookie?: never;
|
|
6020
6270
|
};
|
|
@@ -6029,9 +6279,11 @@ interface operations {
|
|
|
6029
6279
|
country_code?: "+91";
|
|
6030
6280
|
/** @description 10 digit phone number without country code. */
|
|
6031
6281
|
phone: string;
|
|
6032
|
-
/**
|
|
6282
|
+
/**
|
|
6283
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
6033
6284
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
6034
|
-
* "register_if_not_exists": true
|
|
6285
|
+
* "register_if_not_exists": true
|
|
6286
|
+
*/
|
|
6035
6287
|
register_if_not_exists?: boolean;
|
|
6036
6288
|
};
|
|
6037
6289
|
};
|
|
@@ -6066,7 +6318,10 @@ interface operations {
|
|
|
6066
6318
|
"login-with-whatsapp": {
|
|
6067
6319
|
parameters: {
|
|
6068
6320
|
query?: never;
|
|
6069
|
-
header?:
|
|
6321
|
+
header?: {
|
|
6322
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
6323
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
6324
|
+
};
|
|
6070
6325
|
path?: never;
|
|
6071
6326
|
cookie?: never;
|
|
6072
6327
|
};
|
|
@@ -6080,9 +6335,11 @@ interface operations {
|
|
|
6080
6335
|
country_code?: "+91";
|
|
6081
6336
|
/** @description 10 digit phone number without country code linked with WhatsApp. */
|
|
6082
6337
|
phone: string;
|
|
6083
|
-
/**
|
|
6338
|
+
/**
|
|
6339
|
+
* @description This is used to send OTP to unregistered phone. By default it sends OTP to registered phone only.
|
|
6084
6340
|
* To send OTP to unregistered phone it should be pass with true value like this,
|
|
6085
|
-
* "register_if_not_exists": true
|
|
6341
|
+
* "register_if_not_exists": true
|
|
6342
|
+
*/
|
|
6086
6343
|
register_if_not_exists?: boolean;
|
|
6087
6344
|
};
|
|
6088
6345
|
};
|
|
@@ -6888,7 +7145,7 @@ interface operations {
|
|
|
6888
7145
|
"application/json": {
|
|
6889
7146
|
/** @description A string providing additional information about the response. */
|
|
6890
7147
|
message: string;
|
|
6891
|
-
/** @description
|
|
7148
|
+
/** @description A boolean indicating whether the operation was successful or not. */
|
|
6892
7149
|
success: boolean;
|
|
6893
7150
|
/** @description An object containing the response content. */
|
|
6894
7151
|
content: {
|
|
@@ -7434,7 +7691,7 @@ interface operations {
|
|
|
7434
7691
|
};
|
|
7435
7692
|
requestBody: {
|
|
7436
7693
|
content: {
|
|
7437
|
-
"application/json": components["schemas"]["
|
|
7694
|
+
"application/json": components["schemas"]["FulfillmentPreference"];
|
|
7438
7695
|
};
|
|
7439
7696
|
};
|
|
7440
7697
|
responses: {
|
|
@@ -7447,6 +7704,9 @@ interface operations {
|
|
|
7447
7704
|
"application/json": {
|
|
7448
7705
|
message: string;
|
|
7449
7706
|
success: boolean;
|
|
7707
|
+
content: {
|
|
7708
|
+
cart?: components["schemas"]["Cart"];
|
|
7709
|
+
};
|
|
7450
7710
|
};
|
|
7451
7711
|
};
|
|
7452
7712
|
};
|
|
@@ -7567,45 +7827,6 @@ interface operations {
|
|
|
7567
7827
|
};
|
|
7568
7828
|
};
|
|
7569
7829
|
};
|
|
7570
|
-
"update-shipping-method": {
|
|
7571
|
-
parameters: {
|
|
7572
|
-
query?: never;
|
|
7573
|
-
header?: never;
|
|
7574
|
-
path: {
|
|
7575
|
-
/** @description Cart ID */
|
|
7576
|
-
id: string;
|
|
7577
|
-
};
|
|
7578
|
-
cookie?: never;
|
|
7579
|
-
};
|
|
7580
|
-
requestBody: {
|
|
7581
|
-
content: {
|
|
7582
|
-
"application/json": {
|
|
7583
|
-
shipping_provider_id: string;
|
|
7584
|
-
courier_company_id: string | null;
|
|
7585
|
-
};
|
|
7586
|
-
};
|
|
7587
|
-
};
|
|
7588
|
-
responses: {
|
|
7589
|
-
/** @description OK */
|
|
7590
|
-
200: {
|
|
7591
|
-
headers: {
|
|
7592
|
-
[name: string]: unknown;
|
|
7593
|
-
};
|
|
7594
|
-
content: {
|
|
7595
|
-
"application/json": {
|
|
7596
|
-
message: string;
|
|
7597
|
-
success: boolean;
|
|
7598
|
-
content: {
|
|
7599
|
-
cart: components["schemas"]["Cart"];
|
|
7600
|
-
};
|
|
7601
|
-
};
|
|
7602
|
-
};
|
|
7603
|
-
};
|
|
7604
|
-
400: components["responses"]["BadRequest"];
|
|
7605
|
-
401: components["responses"]["Unauthorized"];
|
|
7606
|
-
404: components["responses"]["NotFound"];
|
|
7607
|
-
};
|
|
7608
|
-
};
|
|
7609
7830
|
"list-categories": {
|
|
7610
7831
|
parameters: {
|
|
7611
7832
|
query?: {
|
|
@@ -7661,6 +7882,8 @@ interface operations {
|
|
|
7661
7882
|
category_id?: string[];
|
|
7662
7883
|
/** @description filter products by categories slugs */
|
|
7663
7884
|
category_slug?: string[];
|
|
7885
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
7886
|
+
inventory?: boolean;
|
|
7664
7887
|
};
|
|
7665
7888
|
header?: {
|
|
7666
7889
|
/** @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. */
|
|
@@ -7864,7 +8087,10 @@ interface operations {
|
|
|
7864
8087
|
};
|
|
7865
8088
|
"get-product-detail": {
|
|
7866
8089
|
parameters: {
|
|
7867
|
-
query?:
|
|
8090
|
+
query?: {
|
|
8091
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8092
|
+
inventory?: boolean;
|
|
8093
|
+
};
|
|
7868
8094
|
header?: {
|
|
7869
8095
|
/** @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. */
|
|
7870
8096
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -7977,7 +8203,10 @@ interface operations {
|
|
|
7977
8203
|
};
|
|
7978
8204
|
"list-product-variants": {
|
|
7979
8205
|
parameters: {
|
|
7980
|
-
query?:
|
|
8206
|
+
query?: {
|
|
8207
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8208
|
+
inventory?: boolean;
|
|
8209
|
+
};
|
|
7981
8210
|
header?: {
|
|
7982
8211
|
/** @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. */
|
|
7983
8212
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -8012,7 +8241,10 @@ interface operations {
|
|
|
8012
8241
|
};
|
|
8013
8242
|
"get-variant-detail": {
|
|
8014
8243
|
parameters: {
|
|
8015
|
-
query?:
|
|
8244
|
+
query?: {
|
|
8245
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8246
|
+
inventory?: boolean;
|
|
8247
|
+
};
|
|
8016
8248
|
header?: {
|
|
8017
8249
|
/** @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. */
|
|
8018
8250
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -8058,6 +8290,8 @@ interface operations {
|
|
|
8058
8290
|
sort_by?: components["parameters"]["sortingParam"];
|
|
8059
8291
|
/** @description filter sku by categories */
|
|
8060
8292
|
category_id?: string[];
|
|
8293
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8294
|
+
inventory?: boolean;
|
|
8061
8295
|
/** @description array of sku */
|
|
8062
8296
|
sku?: string[];
|
|
8063
8297
|
};
|
|
@@ -8223,6 +8457,37 @@ interface operations {
|
|
|
8223
8457
|
401: components["responses"]["Unauthorized"];
|
|
8224
8458
|
};
|
|
8225
8459
|
};
|
|
8460
|
+
"list-saved-payment-methods": {
|
|
8461
|
+
parameters: {
|
|
8462
|
+
query?: never;
|
|
8463
|
+
header?: never;
|
|
8464
|
+
path: {
|
|
8465
|
+
/** @description Customer Id */
|
|
8466
|
+
customer_id: string;
|
|
8467
|
+
};
|
|
8468
|
+
cookie?: never;
|
|
8469
|
+
};
|
|
8470
|
+
requestBody?: never;
|
|
8471
|
+
responses: {
|
|
8472
|
+
/** @description OK */
|
|
8473
|
+
200: {
|
|
8474
|
+
headers: {
|
|
8475
|
+
[name: string]: unknown;
|
|
8476
|
+
};
|
|
8477
|
+
content: {
|
|
8478
|
+
"application/json": {
|
|
8479
|
+
message?: string;
|
|
8480
|
+
success?: boolean;
|
|
8481
|
+
content?: {
|
|
8482
|
+
saved_payment_methods?: components["schemas"]["SavedPaymentMethod"];
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
8487
|
+
401: components["responses"]["Unauthorized"];
|
|
8488
|
+
404: components["responses"]["NotFound"];
|
|
8489
|
+
};
|
|
8490
|
+
};
|
|
8226
8491
|
"get-customer-detail": {
|
|
8227
8492
|
parameters: {
|
|
8228
8493
|
query?: never;
|
|
@@ -8861,8 +9126,7 @@ interface operations {
|
|
|
8861
9126
|
content: {
|
|
8862
9127
|
"application/json": {
|
|
8863
9128
|
cart_id: string;
|
|
8864
|
-
|
|
8865
|
-
payment_gateway_params: components["schemas"]["PaymentGatewayParams"];
|
|
9129
|
+
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
8866
9130
|
};
|
|
8867
9131
|
};
|
|
8868
9132
|
};
|
|
@@ -8879,7 +9143,7 @@ interface operations {
|
|
|
8879
9143
|
content: {
|
|
8880
9144
|
order: components["schemas"]["Order"];
|
|
8881
9145
|
payment_required: boolean;
|
|
8882
|
-
payment_info: components["schemas"]["
|
|
9146
|
+
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
8883
9147
|
};
|
|
8884
9148
|
};
|
|
8885
9149
|
};
|
|
@@ -9108,7 +9372,7 @@ interface operations {
|
|
|
9108
9372
|
requestBody: {
|
|
9109
9373
|
content: {
|
|
9110
9374
|
"application/json": {
|
|
9111
|
-
|
|
9375
|
+
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
9112
9376
|
};
|
|
9113
9377
|
};
|
|
9114
9378
|
};
|
|
@@ -9123,7 +9387,7 @@ interface operations {
|
|
|
9123
9387
|
message: string;
|
|
9124
9388
|
success: boolean;
|
|
9125
9389
|
content: {
|
|
9126
|
-
payment_info: components["schemas"]["
|
|
9390
|
+
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
9127
9391
|
};
|
|
9128
9392
|
};
|
|
9129
9393
|
};
|
|
@@ -9316,12 +9580,14 @@ interface operations {
|
|
|
9316
9580
|
"application/json": {
|
|
9317
9581
|
/** @constant */
|
|
9318
9582
|
payment_gateway: "payu";
|
|
9319
|
-
/**
|
|
9583
|
+
/**
|
|
9584
|
+
* @description Format:
|
|
9320
9585
|
* For UPI id validation,
|
|
9321
9586
|
* command|{upi id}
|
|
9322
9587
|
*
|
|
9323
9588
|
* For saving, retrieving cards,
|
|
9324
|
-
* command|{user id}
|
|
9589
|
+
* command|{user id}
|
|
9590
|
+
*/
|
|
9325
9591
|
plain_text: string;
|
|
9326
9592
|
};
|
|
9327
9593
|
};
|
|
@@ -9542,7 +9808,10 @@ interface operations {
|
|
|
9542
9808
|
"login-pos-device-with-email": {
|
|
9543
9809
|
parameters: {
|
|
9544
9810
|
query?: never;
|
|
9545
|
-
header?:
|
|
9811
|
+
header?: {
|
|
9812
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
9813
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
9814
|
+
};
|
|
9546
9815
|
path?: never;
|
|
9547
9816
|
cookie?: never;
|
|
9548
9817
|
};
|
|
@@ -9579,7 +9848,10 @@ interface operations {
|
|
|
9579
9848
|
"login-pos-device-with-phone": {
|
|
9580
9849
|
parameters: {
|
|
9581
9850
|
query?: never;
|
|
9582
|
-
header?:
|
|
9851
|
+
header?: {
|
|
9852
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
9853
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
9854
|
+
};
|
|
9583
9855
|
path?: never;
|
|
9584
9856
|
cookie?: never;
|
|
9585
9857
|
};
|
|
@@ -9622,7 +9894,10 @@ interface operations {
|
|
|
9622
9894
|
"login-pos-device-with-whatsapp": {
|
|
9623
9895
|
parameters: {
|
|
9624
9896
|
query?: never;
|
|
9625
|
-
header?:
|
|
9897
|
+
header?: {
|
|
9898
|
+
/** @description This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes. */
|
|
9899
|
+
"x-debug-mode"?: components["parameters"]["DebugMode"];
|
|
9900
|
+
};
|
|
9626
9901
|
path?: never;
|
|
9627
9902
|
cookie?: never;
|
|
9628
9903
|
};
|
|
@@ -9898,6 +10173,38 @@ interface operations {
|
|
|
9898
10173
|
401: components["responses"]["Unauthorized"];
|
|
9899
10174
|
};
|
|
9900
10175
|
};
|
|
10176
|
+
"pos-get-user-cart": {
|
|
10177
|
+
parameters: {
|
|
10178
|
+
query?: never;
|
|
10179
|
+
header?: never;
|
|
10180
|
+
path: {
|
|
10181
|
+
/** @description User ID */
|
|
10182
|
+
user_id: string;
|
|
10183
|
+
};
|
|
10184
|
+
cookie?: never;
|
|
10185
|
+
};
|
|
10186
|
+
requestBody?: never;
|
|
10187
|
+
responses: {
|
|
10188
|
+
/** @description OK */
|
|
10189
|
+
200: {
|
|
10190
|
+
headers: {
|
|
10191
|
+
[name: string]: unknown;
|
|
10192
|
+
};
|
|
10193
|
+
content: {
|
|
10194
|
+
"application/json": {
|
|
10195
|
+
/** @example cart details */
|
|
10196
|
+
readonly message: string;
|
|
10197
|
+
readonly success: boolean;
|
|
10198
|
+
content: {
|
|
10199
|
+
cart: components["schemas"]["Cart"];
|
|
10200
|
+
};
|
|
10201
|
+
};
|
|
10202
|
+
};
|
|
10203
|
+
};
|
|
10204
|
+
401: components["responses"]["Unauthorized"];
|
|
10205
|
+
404: components["responses"]["NotFound"];
|
|
10206
|
+
};
|
|
10207
|
+
};
|
|
9901
10208
|
"pos-get-cart": {
|
|
9902
10209
|
parameters: {
|
|
9903
10210
|
query?: never;
|
|
@@ -10233,7 +10540,7 @@ interface operations {
|
|
|
10233
10540
|
};
|
|
10234
10541
|
requestBody: {
|
|
10235
10542
|
content: {
|
|
10236
|
-
"application/json": components["schemas"]["
|
|
10543
|
+
"application/json": components["schemas"]["FulfillmentPreference"];
|
|
10237
10544
|
};
|
|
10238
10545
|
};
|
|
10239
10546
|
responses: {
|
|
@@ -10246,6 +10553,9 @@ interface operations {
|
|
|
10246
10553
|
"application/json": {
|
|
10247
10554
|
message: string;
|
|
10248
10555
|
success: boolean;
|
|
10556
|
+
content: {
|
|
10557
|
+
cart?: components["schemas"]["Cart"];
|
|
10558
|
+
};
|
|
10249
10559
|
};
|
|
10250
10560
|
};
|
|
10251
10561
|
};
|
|
@@ -10457,6 +10767,8 @@ interface operations {
|
|
|
10457
10767
|
category_id?: string[];
|
|
10458
10768
|
/** @description filter products by categories slugs */
|
|
10459
10769
|
category_slug?: string[];
|
|
10770
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
10771
|
+
inventory?: boolean;
|
|
10460
10772
|
};
|
|
10461
10773
|
header?: {
|
|
10462
10774
|
/** @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. */
|
|
@@ -10660,7 +10972,10 @@ interface operations {
|
|
|
10660
10972
|
};
|
|
10661
10973
|
"pos-get-product-detail": {
|
|
10662
10974
|
parameters: {
|
|
10663
|
-
query?:
|
|
10975
|
+
query?: {
|
|
10976
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
10977
|
+
inventory?: boolean;
|
|
10978
|
+
};
|
|
10664
10979
|
header?: {
|
|
10665
10980
|
/** @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. */
|
|
10666
10981
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -10739,7 +11054,10 @@ interface operations {
|
|
|
10739
11054
|
};
|
|
10740
11055
|
"pos-list-product-variants": {
|
|
10741
11056
|
parameters: {
|
|
10742
|
-
query?:
|
|
11057
|
+
query?: {
|
|
11058
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
11059
|
+
inventory?: boolean;
|
|
11060
|
+
};
|
|
10743
11061
|
header?: {
|
|
10744
11062
|
/** @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. */
|
|
10745
11063
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -10774,7 +11092,10 @@ interface operations {
|
|
|
10774
11092
|
};
|
|
10775
11093
|
"pos-get-variant-detail": {
|
|
10776
11094
|
parameters: {
|
|
10777
|
-
query?:
|
|
11095
|
+
query?: {
|
|
11096
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
11097
|
+
inventory?: boolean;
|
|
11098
|
+
};
|
|
10778
11099
|
header?: {
|
|
10779
11100
|
/** @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. */
|
|
10780
11101
|
"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -10820,6 +11141,8 @@ interface operations {
|
|
|
10820
11141
|
sort_by?: components["parameters"]["sortingParam"];
|
|
10821
11142
|
/** @description filter sku by categories */
|
|
10822
11143
|
category_id?: string[];
|
|
11144
|
+
/** @description Determines whether to include or exlude inventory details in response json */
|
|
11145
|
+
inventory?: boolean;
|
|
10823
11146
|
/** @description array of sku */
|
|
10824
11147
|
sku?: string[];
|
|
10825
11148
|
};
|
|
@@ -10901,6 +11224,9 @@ interface operations {
|
|
|
10901
11224
|
"application/json": {
|
|
10902
11225
|
message: string;
|
|
10903
11226
|
success: boolean;
|
|
11227
|
+
content: {
|
|
11228
|
+
user: components["schemas"]["PosUser"];
|
|
11229
|
+
};
|
|
10904
11230
|
};
|
|
10905
11231
|
};
|
|
10906
11232
|
};
|
|
@@ -10929,6 +11255,9 @@ interface operations {
|
|
|
10929
11255
|
"application/json": {
|
|
10930
11256
|
message: string;
|
|
10931
11257
|
success: boolean;
|
|
11258
|
+
content: {
|
|
11259
|
+
user: components["schemas"]["PosUser"];
|
|
11260
|
+
};
|
|
10932
11261
|
};
|
|
10933
11262
|
};
|
|
10934
11263
|
};
|
|
@@ -11163,7 +11492,8 @@ interface operations {
|
|
|
11163
11492
|
summary: {
|
|
11164
11493
|
collect_available: boolean;
|
|
11165
11494
|
deliver_available: boolean;
|
|
11166
|
-
|
|
11495
|
+
/** @enum {unknown} */
|
|
11496
|
+
recommended_fulfillment_type: "collect-in-store" | "delivery";
|
|
11167
11497
|
recommended_store?: components["schemas"]["CollectInStore"];
|
|
11168
11498
|
};
|
|
11169
11499
|
collect?: components["schemas"]["CollectInStore"][];
|
|
@@ -11209,37 +11539,6 @@ interface operations {
|
|
|
11209
11539
|
404: components["responses"]["NotFound"];
|
|
11210
11540
|
};
|
|
11211
11541
|
};
|
|
11212
|
-
"get-shipping-methods": {
|
|
11213
|
-
parameters: {
|
|
11214
|
-
query?: never;
|
|
11215
|
-
header?: never;
|
|
11216
|
-
path?: never;
|
|
11217
|
-
cookie?: never;
|
|
11218
|
-
};
|
|
11219
|
-
requestBody: {
|
|
11220
|
-
content: {
|
|
11221
|
-
"application/json": components["schemas"]["CartBasedServiceabilityCheck"];
|
|
11222
|
-
};
|
|
11223
|
-
};
|
|
11224
|
-
responses: {
|
|
11225
|
-
/** @description OK */
|
|
11226
|
-
200: {
|
|
11227
|
-
headers: {
|
|
11228
|
-
[name: string]: unknown;
|
|
11229
|
-
};
|
|
11230
|
-
content: {
|
|
11231
|
-
"application/json": {
|
|
11232
|
-
message: string;
|
|
11233
|
-
success: boolean;
|
|
11234
|
-
content: components["schemas"]["PincodeServiceability"];
|
|
11235
|
-
};
|
|
11236
|
-
};
|
|
11237
|
-
};
|
|
11238
|
-
400: components["responses"]["BadRequest"];
|
|
11239
|
-
401: components["responses"]["Unauthorized"];
|
|
11240
|
-
404: components["responses"]["NotFound"];
|
|
11241
|
-
};
|
|
11242
|
-
};
|
|
11243
11542
|
"get-config": {
|
|
11244
11543
|
parameters: {
|
|
11245
11544
|
query?: never;
|
|
@@ -11977,13 +12276,6 @@ declare class BaseAPIClient<TPaths extends Record<string, any>, THeaders extends
|
|
|
11977
12276
|
* @returns Current default headers
|
|
11978
12277
|
*/
|
|
11979
12278
|
getDefaultHeaders(): THeaders | undefined;
|
|
11980
|
-
/**
|
|
11981
|
-
* Add middleware to the client
|
|
11982
|
-
* This allows SDK extensions to add custom middleware like authentication
|
|
11983
|
-
*
|
|
11984
|
-
* @param middleware - Middleware to add to the client
|
|
11985
|
-
*/
|
|
11986
|
-
use(middleware: any): void;
|
|
11987
12279
|
}
|
|
11988
12280
|
//#endregion
|
|
11989
12281
|
//#region src/utils/url.d.ts
|
|
@@ -12306,6 +12598,7 @@ type FreeGoodCouponPromotion = components['schemas']['FreeGoodCouponPromotion'];
|
|
|
12306
12598
|
type FreeGoodsPromotion = components['schemas']['FreeGoodsPromotion'];
|
|
12307
12599
|
type FreeGoodsRule = components['schemas']['FreeGoodsRule'];
|
|
12308
12600
|
type FreeShipingCouponPromotion = components['schemas']['FreeShipingCouponPromotion'];
|
|
12601
|
+
type FulfillmentItem = components['schemas']['FulfillmentItem'];
|
|
12309
12602
|
type FulfillmentPreference = components['schemas']['FulfillmentPreference'];
|
|
12310
12603
|
type GenerateOtpWithEmail = components['schemas']['GenerateOtpWithEmail'];
|
|
12311
12604
|
type GenerateOtpWithPhone = components['schemas']['GenerateOtpWithPhone'];
|
|
@@ -12313,18 +12606,28 @@ type GstinDetail = components['schemas']['GstinDetail'];
|
|
|
12313
12606
|
type InapplicableCoupon = components['schemas']['InapplicableCoupon'];
|
|
12314
12607
|
type InapplicablePromotion = components['schemas']['InapplicablePromotion'];
|
|
12315
12608
|
type Item = components['schemas']['Item'];
|
|
12609
|
+
type JusPayExpressCheckout = components['schemas']['JusPayExpressCheckout'];
|
|
12610
|
+
type JusPayExpressCheckoutCommonField = components['schemas']['JusPayExpressCheckoutCommonField'];
|
|
12611
|
+
type JusPayExpressCheckoutResponse = components['schemas']['JusPayExpressCheckoutResponse'];
|
|
12612
|
+
type JusPayHyperCheckout = components['schemas']['JusPayHyperCheckout'];
|
|
12613
|
+
type JusPayHyperCheckoutResponse = components['schemas']['JusPayHyperCheckoutResponse'];
|
|
12614
|
+
type JusPayNewCard = components['schemas']['JusPayNewCard'];
|
|
12615
|
+
type JusPaySavedCardToken = components['schemas']['JusPaySavedCardToken'];
|
|
12316
12616
|
type JuspayCardPayload = components['schemas']['JuspayCardPayload'];
|
|
12317
12617
|
type JuspayCreateCardResponse = components['schemas']['JuspayCreateCardResponse'];
|
|
12318
12618
|
type JuspayCreateCustomerPayload = components['schemas']['JuspayCreateCustomerPayload'];
|
|
12319
12619
|
type JuspayCreateOrderPayload = components['schemas']['JuspayCreateOrderPayload'];
|
|
12320
12620
|
type JuspayCustomer = components['schemas']['JuspayCustomer'];
|
|
12621
|
+
type JuspayNetBanking = components['schemas']['JuspayNetBanking'];
|
|
12321
12622
|
type JuspayOrder = components['schemas']['JuspayOrder'];
|
|
12322
12623
|
type JuspayPaymentGatewayParams = components['schemas']['JuspayPaymentGatewayParams'];
|
|
12323
|
-
type JuspayPaymentInfo = components['schemas']['JuspayPaymentInfo'];
|
|
12324
12624
|
type JuspayPaymentMethod = components['schemas']['JuspayPaymentMethod'];
|
|
12325
12625
|
type JuspaySavedCard = components['schemas']['JuspaySavedCard'];
|
|
12626
|
+
type JuspayUpiCollect = components['schemas']['JuspayUpiCollect'];
|
|
12627
|
+
type JuspayUpiIntent = components['schemas']['JuspayUpiIntent'];
|
|
12326
12628
|
type KycDocument = components['schemas']['KycDocument'];
|
|
12327
12629
|
type KycDocumentConfig = components['schemas']['KycDocumentConfig'];
|
|
12630
|
+
type LotBatchDetail = components['schemas']['LotBatchDetail'];
|
|
12328
12631
|
type LoyaltyPointActivity = components['schemas']['LoyaltyPointActivity'];
|
|
12329
12632
|
type MeasurementUnit = components['schemas']['MeasurementUnit'];
|
|
12330
12633
|
type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
|
|
@@ -12343,6 +12646,7 @@ type OrderReturnItem = components['schemas']['OrderReturnItem'];
|
|
|
12343
12646
|
type OrderShipment = components['schemas']['OrderShipment'];
|
|
12344
12647
|
type Pagination = components['schemas']['Pagination'];
|
|
12345
12648
|
type PanDetail = components['schemas']['PanDetail'];
|
|
12649
|
+
type PartialCollectAndDelivery = components['schemas']['PartialCollectAndDelivery'];
|
|
12346
12650
|
type PauseSubscription = components['schemas']['PauseSubscription'];
|
|
12347
12651
|
type PayWithCard = components['schemas']['PayWithCard'];
|
|
12348
12652
|
type PayWithCash = components['schemas']['PayWithCash'];
|
|
@@ -12351,6 +12655,7 @@ type PayWithUpi = components['schemas']['PayWithUpi'];
|
|
|
12351
12655
|
type PaymentGateway = components['schemas']['PaymentGateway'];
|
|
12352
12656
|
type PaymentGatewayParams = components['schemas']['PaymentGatewayParams'];
|
|
12353
12657
|
type PaymentInfo = components['schemas']['PaymentInfo'];
|
|
12658
|
+
type PaymentMethodPayload = components['schemas']['PaymentMethodPayload'];
|
|
12354
12659
|
type PayuCardPayload = components['schemas']['PayuCardPayload'];
|
|
12355
12660
|
type PayuCreateCardResponse = components['schemas']['PayuCreateCardResponse'];
|
|
12356
12661
|
type PayuPaymentGatewayParams = components['schemas']['PayuPaymentGatewayParams'];
|
|
@@ -12361,6 +12666,7 @@ type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
|
|
|
12361
12666
|
type Pincode = components['schemas']['Pincode'];
|
|
12362
12667
|
type PincodeServiceability = components['schemas']['PincodeServiceability'];
|
|
12363
12668
|
type PosDevice = components['schemas']['PosDevice'];
|
|
12669
|
+
type PosDeviceClaimedUser = components['schemas']['PosDeviceClaimedUser'];
|
|
12364
12670
|
type PosLocation = components['schemas']['PosLocation'];
|
|
12365
12671
|
type PosUpdateCustomerWithEmail = components['schemas']['PosUpdateCustomerWithEmail'];
|
|
12366
12672
|
type PosUpdateCustomerWithId = components['schemas']['PosUpdateCustomerWithId'];
|
|
@@ -12383,6 +12689,7 @@ type PromotionType = components['schemas']['PromotionType'];
|
|
|
12383
12689
|
type RegisterWithEmailPassword = components['schemas']['RegisterWithEmailPassword'];
|
|
12384
12690
|
type RegisterWithPhonePassword = components['schemas']['RegisterWithPhonePassword'];
|
|
12385
12691
|
type RevokeSubscription = components['schemas']['RevokeSubscription'];
|
|
12692
|
+
type SavedPaymentMethod = components['schemas']['SavedPaymentMethod'];
|
|
12386
12693
|
type SearchProduct = components['schemas']['SearchProduct'];
|
|
12387
12694
|
type Seo = components['schemas']['Seo'];
|
|
12388
12695
|
type ShipmentItem = components['schemas']['ShipmentItem'];
|
|
@@ -12421,18 +12728,22 @@ type ForgotPasswordContent = ForgotPasswordResponse['content'];
|
|
|
12421
12728
|
type ForgotPasswordBody = NonNullable<paths['/auth/forgot-password']['post']['requestBody']>['content']['application/json'];
|
|
12422
12729
|
type GenerateOtpResponse = paths['/auth/generate-otp']['post']['responses'][200]['content']['application/json'];
|
|
12423
12730
|
type GenerateOtpContent = GenerateOtpResponse['content'];
|
|
12731
|
+
type GenerateOtpHeaderParams = paths['/auth/generate-otp']['post']['parameters']['header'];
|
|
12424
12732
|
type GenerateOtpBody = NonNullable<paths['/auth/generate-otp']['post']['requestBody']>['content']['application/json'];
|
|
12425
12733
|
type LoginWithEmailResponse = paths['/auth/login/email']['post']['responses'][200]['content']['application/json'];
|
|
12426
12734
|
type LoginWithEmailContent = LoginWithEmailResponse['content'];
|
|
12735
|
+
type LoginWithEmailHeaderParams = paths['/auth/login/email']['post']['parameters']['header'];
|
|
12427
12736
|
type LoginWithEmailBody = NonNullable<paths['/auth/login/email']['post']['requestBody']>['content']['application/json'];
|
|
12428
12737
|
type LoginWithPasswordResponse = paths['/auth/login/password']['post']['responses'][200]['content']['application/json'];
|
|
12429
12738
|
type LoginWithPasswordContent = LoginWithPasswordResponse['content'];
|
|
12430
12739
|
type LoginWithPasswordBody = NonNullable<paths['/auth/login/password']['post']['requestBody']>['content']['application/json'];
|
|
12431
12740
|
type LoginWithPhoneResponse = paths['/auth/login/phone']['post']['responses'][200]['content']['application/json'];
|
|
12432
12741
|
type LoginWithPhoneContent = LoginWithPhoneResponse['content'];
|
|
12742
|
+
type LoginWithPhoneHeaderParams = paths['/auth/login/phone']['post']['parameters']['header'];
|
|
12433
12743
|
type LoginWithPhoneBody = NonNullable<paths['/auth/login/phone']['post']['requestBody']>['content']['application/json'];
|
|
12434
12744
|
type LoginWithWhatsappResponse = paths['/auth/login/whatsapp']['post']['responses'][200]['content']['application/json'];
|
|
12435
12745
|
type LoginWithWhatsappContent = LoginWithWhatsappResponse['content'];
|
|
12746
|
+
type LoginWithWhatsappHeaderParams = paths['/auth/login/whatsapp']['post']['parameters']['header'];
|
|
12436
12747
|
type LoginWithWhatsappBody = NonNullable<paths['/auth/login/whatsapp']['post']['requestBody']>['content']['application/json'];
|
|
12437
12748
|
type LogoutResponse = paths['/auth/logout']['post']['responses'][200]['content']['application/json'];
|
|
12438
12749
|
type LogoutContent = LogoutResponse['content'];
|
|
@@ -12539,6 +12850,7 @@ type EvaluatePromotionsResponse = paths['/carts/{id}/evaluate-promotions']['get'
|
|
|
12539
12850
|
type EvaluatePromotionsContent = EvaluatePromotionsResponse['content'];
|
|
12540
12851
|
type EvaluatePromotionsPathParams = paths['/carts/{id}/evaluate-promotions']['get']['parameters']['path'];
|
|
12541
12852
|
type UpdateFulfillmentPreferenceResponse = paths['/carts/{id}/fulfillment-preference']['post']['responses'][200]['content']['application/json'];
|
|
12853
|
+
type UpdateFulfillmentPreferenceContent = UpdateFulfillmentPreferenceResponse['content'];
|
|
12542
12854
|
type UpdateFulfillmentPreferencePathParams = paths['/carts/{id}/fulfillment-preference']['post']['parameters']['path'];
|
|
12543
12855
|
type UpdateFulfillmentPreferenceBody = NonNullable<paths['/carts/{id}/fulfillment-preference']['post']['requestBody']>['content']['application/json'];
|
|
12544
12856
|
type UpdateCartResponse = paths['/carts/{id}/items']['post']['responses'][200]['content']['application/json'];
|
|
@@ -12552,10 +12864,6 @@ type RedeemLoyaltyPointsBody = NonNullable<paths['/carts/{id}/loyalty-points']['
|
|
|
12552
12864
|
type RemoveLoyaltyPointsResponse = paths['/carts/{id}/loyalty-points']['delete']['responses'][200]['content']['application/json'];
|
|
12553
12865
|
type RemoveLoyaltyPointsContent = RemoveLoyaltyPointsResponse['content'];
|
|
12554
12866
|
type RemoveLoyaltyPointsPathParams = paths['/carts/{id}/loyalty-points']['delete']['parameters']['path'];
|
|
12555
|
-
type UpdateShippingMethodResponse = paths['/carts/{id}/shipping-method']['post']['responses'][200]['content']['application/json'];
|
|
12556
|
-
type UpdateShippingMethodContent = UpdateShippingMethodResponse['content'];
|
|
12557
|
-
type UpdateShippingMethodPathParams = paths['/carts/{id}/shipping-method']['post']['parameters']['path'];
|
|
12558
|
-
type UpdateShippingMethodBody = NonNullable<paths['/carts/{id}/shipping-method']['post']['requestBody']>['content']['application/json'];
|
|
12559
12867
|
type ListCategoriesResponse = paths['/catalog/categories']['get']['responses'][200]['content']['application/json'];
|
|
12560
12868
|
type ListCategoriesContent = ListCategoriesResponse['content'];
|
|
12561
12869
|
type ListCategoriesQuery = paths['/catalog/categories']['get']['parameters']['query'];
|
|
@@ -12581,6 +12889,7 @@ type ListUpsellProductsQuery = paths['/catalog/products/up-sell']['get']['parame
|
|
|
12581
12889
|
type ListUpsellProductsHeaderParams = paths['/catalog/products/up-sell']['get']['parameters']['header'];
|
|
12582
12890
|
type GetProductDetailResponse = paths['/catalog/products/{product_id_or_slug}']['get']['responses'][200]['content']['application/json'];
|
|
12583
12891
|
type GetProductDetailContent = GetProductDetailResponse['content'];
|
|
12892
|
+
type GetProductDetailQuery = paths['/catalog/products/{product_id_or_slug}']['get']['parameters']['query'];
|
|
12584
12893
|
type GetProductDetailPathParams = paths['/catalog/products/{product_id_or_slug}']['get']['parameters']['path'];
|
|
12585
12894
|
type GetProductDetailHeaderParams = paths['/catalog/products/{product_id_or_slug}']['get']['parameters']['header'];
|
|
12586
12895
|
type ListProductReviewsResponse = paths['/catalog/products/{product_id}/reviews']['get']['responses'][200]['content']['application/json'];
|
|
@@ -12592,10 +12901,12 @@ type CreateProductReviewPathParams = paths['/catalog/products/{product_id}/revie
|
|
|
12592
12901
|
type CreateProductReviewFormData = NonNullable<paths['/catalog/products/{product_id}/reviews']['post']['requestBody']>['content']['multipart/form-data'];
|
|
12593
12902
|
type ListProductVariantsResponse = paths['/catalog/products/{product_id}/variants']['get']['responses'][200]['content']['application/json'];
|
|
12594
12903
|
type ListProductVariantsContent = ListProductVariantsResponse['content'];
|
|
12904
|
+
type ListProductVariantsQuery = paths['/catalog/products/{product_id}/variants']['get']['parameters']['query'];
|
|
12595
12905
|
type ListProductVariantsPathParams = paths['/catalog/products/{product_id}/variants']['get']['parameters']['path'];
|
|
12596
12906
|
type ListProductVariantsHeaderParams = paths['/catalog/products/{product_id}/variants']['get']['parameters']['header'];
|
|
12597
12907
|
type GetVariantDetailResponse = paths['/catalog/products/{product_id}/variants/{variant_id}']['get']['responses'][200]['content']['application/json'];
|
|
12598
12908
|
type GetVariantDetailContent = GetVariantDetailResponse['content'];
|
|
12909
|
+
type GetVariantDetailQuery = paths['/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['query'];
|
|
12599
12910
|
type GetVariantDetailPathParams = paths['/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['path'];
|
|
12600
12911
|
type GetVariantDetailHeaderParams = paths['/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['header'];
|
|
12601
12912
|
type ListSkusResponse = paths['/catalog/skus']['get']['responses'][200]['content']['application/json'];
|
|
@@ -12614,6 +12925,9 @@ type ListCountryStatesPathParams = paths['/common/countries/{country_iso_code}/s
|
|
|
12614
12925
|
type CreateCustomerResponse = paths['/customers']['post']['responses'][200]['content']['application/json'];
|
|
12615
12926
|
type CreateCustomerContent = CreateCustomerResponse['content'];
|
|
12616
12927
|
type CreateCustomerBody = NonNullable<paths['/customers']['post']['requestBody']>['content']['application/json'];
|
|
12928
|
+
type ListSavedPaymentMethodsResponse = paths['/customers/{customer_id}/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
12929
|
+
type ListSavedPaymentMethodsContent = ListSavedPaymentMethodsResponse['content'];
|
|
12930
|
+
type ListSavedPaymentMethodsPathParams = paths['/customers/{customer_id}/payment-methods']['get']['parameters']['path'];
|
|
12617
12931
|
type GetCustomerDetailResponse = paths['/customers/{id}']['get']['responses'][200]['content']['application/json'];
|
|
12618
12932
|
type GetCustomerDetailContent = GetCustomerDetailResponse['content'];
|
|
12619
12933
|
type GetCustomerDetailPathParams = paths['/customers/{id}']['get']['parameters']['path'];
|
|
@@ -12734,12 +13048,15 @@ type VerifyVpaContent = VerifyVpaResponse['content'];
|
|
|
12734
13048
|
type VerifyVpaQuery = paths['/payments/verify-vpa']['get']['parameters']['query'];
|
|
12735
13049
|
type LoginPosDeviceWithEmailResponse = paths['/pos/auth/login/email']['post']['responses'][200]['content']['application/json'];
|
|
12736
13050
|
type LoginPosDeviceWithEmailContent = LoginPosDeviceWithEmailResponse['content'];
|
|
13051
|
+
type LoginPosDeviceWithEmailHeaderParams = paths['/pos/auth/login/email']['post']['parameters']['header'];
|
|
12737
13052
|
type LoginPosDeviceWithEmailBody = NonNullable<paths['/pos/auth/login/email']['post']['requestBody']>['content']['application/json'];
|
|
12738
13053
|
type LoginPosDeviceWithPhoneResponse = paths['/pos/auth/login/phone']['post']['responses'][200]['content']['application/json'];
|
|
12739
13054
|
type LoginPosDeviceWithPhoneContent = LoginPosDeviceWithPhoneResponse['content'];
|
|
13055
|
+
type LoginPosDeviceWithPhoneHeaderParams = paths['/pos/auth/login/phone']['post']['parameters']['header'];
|
|
12740
13056
|
type LoginPosDeviceWithPhoneBody = NonNullable<paths['/pos/auth/login/phone']['post']['requestBody']>['content']['application/json'];
|
|
12741
13057
|
type LoginPosDeviceWithWhatsappResponse = paths['/pos/auth/login/whatsapp']['post']['responses'][200]['content']['application/json'];
|
|
12742
13058
|
type LoginPosDeviceWithWhatsappContent = LoginPosDeviceWithWhatsappResponse['content'];
|
|
13059
|
+
type LoginPosDeviceWithWhatsappHeaderParams = paths['/pos/auth/login/whatsapp']['post']['parameters']['header'];
|
|
12743
13060
|
type LoginPosDeviceWithWhatsappBody = NonNullable<paths['/pos/auth/login/whatsapp']['post']['requestBody']>['content']['application/json'];
|
|
12744
13061
|
type LogoutFromPosDeviceResponse = paths['/pos/auth/logout']['post']['responses'][200]['content']['application/json'];
|
|
12745
13062
|
type PairPosDeviceResponse = paths['/pos/auth/pair-device']['post']['responses'][200]['content']['application/json'];
|
|
@@ -12760,6 +13077,9 @@ type PosListCouponsHeaderParams = paths['/pos/carts/available-coupons']['get']['
|
|
|
12760
13077
|
type PosListPromotionsResponse = paths['/pos/carts/available-promotions']['get']['responses'][200]['content']['application/json'];
|
|
12761
13078
|
type PosListPromotionsContent = PosListPromotionsResponse['content'];
|
|
12762
13079
|
type PosListPromotionsHeaderParams = paths['/pos/carts/available-promotions']['get']['parameters']['header'];
|
|
13080
|
+
type PosGetUserCartResponse = paths['/pos/carts/users/{user_id}']['get']['responses'][200]['content']['application/json'];
|
|
13081
|
+
type PosGetUserCartContent = PosGetUserCartResponse['content'];
|
|
13082
|
+
type PosGetUserCartPathParams = paths['/pos/carts/users/{user_id}']['get']['parameters']['path'];
|
|
12763
13083
|
type PosGetCartResponse = paths['/pos/carts/{id}']['get']['responses'][200]['content']['application/json'];
|
|
12764
13084
|
type PosGetCartContent = PosGetCartResponse['content'];
|
|
12765
13085
|
type PosGetCartPathParams = paths['/pos/carts/{id}']['get']['parameters']['path'];
|
|
@@ -12790,6 +13110,7 @@ type PosEvaluatePromotionsResponse = paths['/pos/carts/{id}/evaluate-promotions'
|
|
|
12790
13110
|
type PosEvaluatePromotionsContent = PosEvaluatePromotionsResponse['content'];
|
|
12791
13111
|
type PosEvaluatePromotionsPathParams = paths['/pos/carts/{id}/evaluate-promotions']['get']['parameters']['path'];
|
|
12792
13112
|
type PosUpdateFulfillmentPreferenceResponse = paths['/pos/carts/{id}/fulfillment-preference']['post']['responses'][200]['content']['application/json'];
|
|
13113
|
+
type PosUpdateFulfillmentPreferenceContent = PosUpdateFulfillmentPreferenceResponse['content'];
|
|
12793
13114
|
type PosUpdateFulfillmentPreferencePathParams = paths['/pos/carts/{id}/fulfillment-preference']['post']['parameters']['path'];
|
|
12794
13115
|
type PosUpdateFulfillmentPreferenceBody = NonNullable<paths['/pos/carts/{id}/fulfillment-preference']['post']['requestBody']>['content']['application/json'];
|
|
12795
13116
|
type PosUpdateCartResponse = paths['/pos/carts/{id}/items']['post']['responses'][200]['content']['application/json'];
|
|
@@ -12832,6 +13153,7 @@ type PosListUpsellProductsQuery = paths['/pos/catalog/products/up-sell']['get'][
|
|
|
12832
13153
|
type PosListUpsellProductsHeaderParams = paths['/pos/catalog/products/up-sell']['get']['parameters']['header'];
|
|
12833
13154
|
type PosGetProductDetailResponse = paths['/pos/catalog/products/{product_id_or_slug}']['get']['responses'][200]['content']['application/json'];
|
|
12834
13155
|
type PosGetProductDetailContent = PosGetProductDetailResponse['content'];
|
|
13156
|
+
type PosGetProductDetailQuery = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['query'];
|
|
12835
13157
|
type PosGetProductDetailPathParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['path'];
|
|
12836
13158
|
type PosGetProductDetailHeaderParams = paths['/pos/catalog/products/{product_id_or_slug}']['get']['parameters']['header'];
|
|
12837
13159
|
type PosListProductReviewsResponse = paths['/pos/catalog/products/{product_id}/reviews']['get']['responses'][200]['content']['application/json'];
|
|
@@ -12840,10 +13162,12 @@ type PosListProductReviewsQuery = paths['/pos/catalog/products/{product_id}/revi
|
|
|
12840
13162
|
type PosListProductReviewsPathParams = paths['/pos/catalog/products/{product_id}/reviews']['get']['parameters']['path'];
|
|
12841
13163
|
type PosListProductVariantsResponse = paths['/pos/catalog/products/{product_id}/variants']['get']['responses'][200]['content']['application/json'];
|
|
12842
13164
|
type PosListProductVariantsContent = PosListProductVariantsResponse['content'];
|
|
13165
|
+
type PosListProductVariantsQuery = paths['/pos/catalog/products/{product_id}/variants']['get']['parameters']['query'];
|
|
12843
13166
|
type PosListProductVariantsPathParams = paths['/pos/catalog/products/{product_id}/variants']['get']['parameters']['path'];
|
|
12844
13167
|
type PosListProductVariantsHeaderParams = paths['/pos/catalog/products/{product_id}/variants']['get']['parameters']['header'];
|
|
12845
13168
|
type PosGetVariantDetailResponse = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['responses'][200]['content']['application/json'];
|
|
12846
13169
|
type PosGetVariantDetailContent = PosGetVariantDetailResponse['content'];
|
|
13170
|
+
type PosGetVariantDetailQuery = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['query'];
|
|
12847
13171
|
type PosGetVariantDetailPathParams = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['path'];
|
|
12848
13172
|
type PosGetVariantDetailHeaderParams = paths['/pos/catalog/products/{product_id}/variants/{variant_id}']['get']['parameters']['header'];
|
|
12849
13173
|
type PosListSkusResponse = paths['/pos/catalog/skus']['get']['responses'][200]['content']['application/json'];
|
|
@@ -12853,8 +13177,10 @@ type PosListSkusHeaderParams = paths['/pos/catalog/skus']['get']['parameters']['
|
|
|
12853
13177
|
type ListPosDevicesResponse = paths['/pos/devices']['get']['responses'][200]['content']['application/json'];
|
|
12854
13178
|
type ListPosDevicesContent = ListPosDevicesResponse['content'];
|
|
12855
13179
|
type ClaimPosDeviceResponse = paths['/pos/devices/{id}/claim']['post']['responses'][200]['content']['application/json'];
|
|
13180
|
+
type ClaimPosDeviceContent = ClaimPosDeviceResponse['content'];
|
|
12856
13181
|
type ClaimPosDevicePathParams = paths['/pos/devices/{id}/claim']['post']['parameters']['path'];
|
|
12857
13182
|
type UnclaimPosDeviceResponse = paths['/pos/devices/{id}/unclaim']['post']['responses'][200]['content']['application/json'];
|
|
13183
|
+
type UnclaimPosDeviceContent = UnclaimPosDeviceResponse['content'];
|
|
12858
13184
|
type UnclaimPosDevicePathParams = paths['/pos/devices/{id}/unclaim']['post']['parameters']['path'];
|
|
12859
13185
|
type GetPosFulfillmentOptionsResponse = paths['/pos/fulfillment-options']['post']['responses'][200]['content']['application/json'];
|
|
12860
13186
|
type GetPosFulfillmentOptionsContent = GetPosFulfillmentOptionsResponse['content'];
|
|
@@ -12878,9 +13204,6 @@ type GetFulfillmentOptionsBody = NonNullable<paths['/shipping/fulfillment-option
|
|
|
12878
13204
|
type CheckPincodeServiceabilityResponse = paths['/shipping/serviceability/{pincode}']['get']['responses'][200]['content']['application/json'];
|
|
12879
13205
|
type CheckPincodeServiceabilityContent = CheckPincodeServiceabilityResponse['content'];
|
|
12880
13206
|
type CheckPincodeServiceabilityPathParams = paths['/shipping/serviceability/{pincode}']['get']['parameters']['path'];
|
|
12881
|
-
type GetShippingMethodsResponse = paths['/shipping/shipping-methods']['post']['responses'][200]['content']['application/json'];
|
|
12882
|
-
type GetShippingMethodsContent = GetShippingMethodsResponse['content'];
|
|
12883
|
-
type GetShippingMethodsBody = NonNullable<paths['/shipping/shipping-methods']['post']['requestBody']>['content']['application/json'];
|
|
12884
13207
|
type GetConfigResponse = paths['/store/config']['get']['responses'][200]['content']['application/json'];
|
|
12885
13208
|
type GetConfigContent = GetConfigResponse['content'];
|
|
12886
13209
|
type ListKycDocumentResponse = paths['/store/kyc-document']['get']['responses'][200]['content']['application/json'];
|
|
@@ -13058,7 +13381,7 @@ declare class CatalogClient extends StorefrontAPIClient {
|
|
|
13058
13381
|
* console.log("Product with custom pricing:", slugData.product.price);
|
|
13059
13382
|
* ```
|
|
13060
13383
|
*/
|
|
13061
|
-
getProductDetail(pathParams: GetProductDetailPathParams, headers?: GetProductDetailHeaderParams): Promise<ApiResult<GetProductDetailContent>>;
|
|
13384
|
+
getProductDetail(pathParams: GetProductDetailPathParams, options?: GetProductDetailQuery, headers?: GetProductDetailHeaderParams): Promise<ApiResult<GetProductDetailContent>>;
|
|
13062
13385
|
/**
|
|
13063
13386
|
* List all variants for a specific product
|
|
13064
13387
|
*
|
|
@@ -13092,7 +13415,7 @@ declare class CatalogClient extends StorefrontAPIClient {
|
|
|
13092
13415
|
* );
|
|
13093
13416
|
* ```
|
|
13094
13417
|
*/
|
|
13095
|
-
listProductVariants(pathParams: ListProductVariantsPathParams, headers?: ListProductVariantsHeaderParams): Promise<ApiResult<ListProductVariantsContent>>;
|
|
13418
|
+
listProductVariants(pathParams: ListProductVariantsPathParams, options?: ListProductVariantsQuery, headers?: ListProductVariantsHeaderParams): Promise<ApiResult<ListProductVariantsContent>>;
|
|
13096
13419
|
/**
|
|
13097
13420
|
* Get details for a specific product variant
|
|
13098
13421
|
*
|
|
@@ -13120,7 +13443,7 @@ declare class CatalogClient extends StorefrontAPIClient {
|
|
|
13120
13443
|
* console.log("Stock:", data.variant.stock);
|
|
13121
13444
|
* ```
|
|
13122
13445
|
*/
|
|
13123
|
-
getVariantDetail(pathParams: GetVariantDetailPathParams, headers?: GetVariantDetailHeaderParams): Promise<ApiResult<GetVariantDetailContent>>;
|
|
13446
|
+
getVariantDetail(pathParams: GetVariantDetailPathParams, options?: GetVariantDetailQuery, headers?: GetVariantDetailHeaderParams): Promise<ApiResult<GetVariantDetailContent>>;
|
|
13124
13447
|
/**
|
|
13125
13448
|
* List all product categories
|
|
13126
13449
|
*
|
|
@@ -13704,30 +14027,31 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
13704
14027
|
*/
|
|
13705
14028
|
removeLoyaltyPoints(cartId: RemoveLoyaltyPointsPathParams): Promise<ApiResult<RemoveLoyaltyPointsContent>>;
|
|
13706
14029
|
/**
|
|
13707
|
-
* Update
|
|
14030
|
+
* Update fulfillment preference
|
|
13708
14031
|
*
|
|
13709
14032
|
* @param cartId - The ID of the cart
|
|
13710
14033
|
* @param body - The body of the request
|
|
13711
14034
|
* @returns Promise with updated cart
|
|
13712
14035
|
* @example
|
|
13713
14036
|
* ```typescript
|
|
13714
|
-
* const { data, error } = await sdk.cart.
|
|
14037
|
+
* const { data, error } = await sdk.cart.updateFulfillmentPreference(
|
|
13715
14038
|
* { id: "01H9CART12345ABCDE" },
|
|
13716
14039
|
* {
|
|
13717
|
-
*
|
|
13718
|
-
*
|
|
14040
|
+
* fulfillment_type: "delivery",
|
|
14041
|
+
* shipping_provider_id: "01H9SHIP12345FAST",
|
|
14042
|
+
* courier_company_id: "01H9COY12345FAST", // Optional
|
|
13719
14043
|
* }
|
|
13720
14044
|
* );
|
|
13721
14045
|
*
|
|
13722
14046
|
* if (error) {
|
|
13723
|
-
* console.error("Failed to update
|
|
14047
|
+
* console.error("Failed to update fulfillment preference:", error.message);
|
|
13724
14048
|
* } else {
|
|
13725
|
-
* console.log("
|
|
13726
|
-
* console.log("Shipping cost:", data.cart.
|
|
14049
|
+
* console.log("Fulfillment preference updated:", data.cart.fulfillment_preference?.fulfillment_type);
|
|
14050
|
+
* console.log("Shipping cost:", data.cart.shipping_amount);
|
|
13727
14051
|
* }
|
|
13728
14052
|
* ```
|
|
13729
14053
|
*/
|
|
13730
|
-
|
|
14054
|
+
updateFulfillmentPreference(cartId: UpdateFulfillmentPreferencePathParams, body: UpdateFulfillmentPreferenceBody): Promise<ApiResult<UpdateFulfillmentPreferenceContent>>;
|
|
13731
14055
|
/**
|
|
13732
14056
|
* Use credit balance
|
|
13733
14057
|
*
|
|
@@ -14003,7 +14327,7 @@ declare class AuthClient extends StorefrontAPIClient {
|
|
|
14003
14327
|
* }
|
|
14004
14328
|
* ```
|
|
14005
14329
|
*/
|
|
14006
|
-
loginWithPhone(body: LoginWithPhoneBody): Promise<ApiResult<LoginWithPhoneContent>>;
|
|
14330
|
+
loginWithPhone(body: LoginWithPhoneBody, headers?: LoginWithPhoneHeaderParams): Promise<ApiResult<LoginWithPhoneContent>>;
|
|
14007
14331
|
/**
|
|
14008
14332
|
* Login with WhatsApp
|
|
14009
14333
|
*
|
|
@@ -14026,7 +14350,7 @@ declare class AuthClient extends StorefrontAPIClient {
|
|
|
14026
14350
|
* }
|
|
14027
14351
|
* ```
|
|
14028
14352
|
*/
|
|
14029
|
-
loginWithWhatsApp(body: LoginWithWhatsappBody): Promise<ApiResult<LoginWithWhatsappContent>>;
|
|
14353
|
+
loginWithWhatsApp(body: LoginWithWhatsappBody, headers?: LoginWithWhatsappHeaderParams): Promise<ApiResult<LoginWithWhatsappContent>>;
|
|
14030
14354
|
/**
|
|
14031
14355
|
* Login with email
|
|
14032
14356
|
*
|
|
@@ -14049,7 +14373,7 @@ declare class AuthClient extends StorefrontAPIClient {
|
|
|
14049
14373
|
* }
|
|
14050
14374
|
* ```
|
|
14051
14375
|
*/
|
|
14052
|
-
loginWithEmail(body: LoginWithEmailBody): Promise<ApiResult<LoginWithEmailContent>>;
|
|
14376
|
+
loginWithEmail(body: LoginWithEmailBody, headers?: LoginWithEmailHeaderParams): Promise<ApiResult<LoginWithEmailContent>>;
|
|
14053
14377
|
/**
|
|
14054
14378
|
* Login with password
|
|
14055
14379
|
*
|
|
@@ -14509,7 +14833,7 @@ declare class AuthClient extends StorefrontAPIClient {
|
|
|
14509
14833
|
* }
|
|
14510
14834
|
* ```
|
|
14511
14835
|
*/
|
|
14512
|
-
generateOtp(body: GenerateOtpBody): Promise<ApiResult<GenerateOtpContent>>;
|
|
14836
|
+
generateOtp(body: GenerateOtpBody, headers?: GenerateOtpHeaderParams): Promise<ApiResult<GenerateOtpContent>>;
|
|
14513
14837
|
/**
|
|
14514
14838
|
* Check whether email or phone is already verified
|
|
14515
14839
|
*
|
|
@@ -14810,38 +15134,6 @@ declare class OrderClient extends StorefrontAPIClient {
|
|
|
14810
15134
|
* Client for interacting with shipping endpoints
|
|
14811
15135
|
*/
|
|
14812
15136
|
declare class ShippingClient extends StorefrontAPIClient {
|
|
14813
|
-
/**
|
|
14814
|
-
* Get shipping options for an order
|
|
14815
|
-
*
|
|
14816
|
-
* @param body - Shipping methods body
|
|
14817
|
-
* @returns Promise with shipping options
|
|
14818
|
-
* @example
|
|
14819
|
-
* ```typescript
|
|
14820
|
-
* const { data, error } = await sdk.shipping.getShippingMethods({
|
|
14821
|
-
* delivery_pincode: "400001",
|
|
14822
|
-
* cart_id: "cart_01H9XYZ12345ABCDE"
|
|
14823
|
-
* });
|
|
14824
|
-
*
|
|
14825
|
-
* if (error) {
|
|
14826
|
-
* console.error("Failed to get shipping methods:", error.message);
|
|
14827
|
-
* } else {
|
|
14828
|
-
* console.log("Is serviceable:", data.is_serviceable);
|
|
14829
|
-
* console.log("Available shipping methods:", data.shipping_methods?.length || 0);
|
|
14830
|
-
*
|
|
14831
|
-
* data.shipping_methods?.forEach(method => {
|
|
14832
|
-
* console.log(`Method: ${method.name} (${method.shipping_type})`);
|
|
14833
|
-
* console.log(`Shipping cost: ${method.shipping_amount}`);
|
|
14834
|
-
* console.log(`Estimated delivery: ${method.estimated_delivery_days} days`);
|
|
14835
|
-
*
|
|
14836
|
-
* method.courier_companies?.forEach(courier => {
|
|
14837
|
-
* console.log(` - ${courier.name}: ${courier.shipping_amount} (${courier.mode})`);
|
|
14838
|
-
* console.log(` Rating: ${courier.rating}/5, Recommended: ${courier.is_recommended}`);
|
|
14839
|
-
* });
|
|
14840
|
-
* });
|
|
14841
|
-
* }
|
|
14842
|
-
* ```
|
|
14843
|
-
*/
|
|
14844
|
-
getShippingMethods(body: GetShippingMethodsBody): Promise<ApiResult<GetShippingMethodsContent>>;
|
|
14845
15137
|
/**
|
|
14846
15138
|
* Check pincode deliverability
|
|
14847
15139
|
*
|
|
@@ -14867,6 +15159,45 @@ declare class ShippingClient extends StorefrontAPIClient {
|
|
|
14867
15159
|
* ```
|
|
14868
15160
|
*/
|
|
14869
15161
|
checkPincodeDeliverability(pathParams: CheckPincodeServiceabilityPathParams): Promise<ApiResult<CheckPincodeServiceabilityContent>>;
|
|
15162
|
+
/**
|
|
15163
|
+
* Get fulfillment options for an order
|
|
15164
|
+
*
|
|
15165
|
+
* @param body - Fulfillment options body containing cart_id and delivery_pincode
|
|
15166
|
+
* @returns Promise with fulfillment options including collect and delivery methods
|
|
15167
|
+
* @example
|
|
15168
|
+
* ```typescript
|
|
15169
|
+
* const { data, error } = await sdk.shipping.getFulfillmentOptions({
|
|
15170
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15171
|
+
* delivery_pincode: "400001"
|
|
15172
|
+
* });
|
|
15173
|
+
*
|
|
15174
|
+
* if (error) {
|
|
15175
|
+
* console.error("Failed to get fulfillment options:", error.message);
|
|
15176
|
+
* } else {
|
|
15177
|
+
* // Check summary information
|
|
15178
|
+
* console.log("Collect available:", data.summary.collect_available);
|
|
15179
|
+
* console.log("Deliver available:", data.summary.deliver_available);
|
|
15180
|
+
* console.log("Recommended fulfillment type:", data.summary.recommended_fulfillment_type);
|
|
15181
|
+
*
|
|
15182
|
+
* // Access collect options
|
|
15183
|
+
* if (data.collect && data.collect.length > 0) {
|
|
15184
|
+
* console.log("Available stores for collection:");
|
|
15185
|
+
* data.collect.forEach(store => {
|
|
15186
|
+
* console.log(`${store.name} - ${store.distance_km}km away, ETA: ${store.collect_eta_minutes} minutes`);
|
|
15187
|
+
* });
|
|
15188
|
+
* }
|
|
15189
|
+
*
|
|
15190
|
+
* // Access delivery options
|
|
15191
|
+
* if (data.deliver && data.deliver.is_serviceable) {
|
|
15192
|
+
* console.log("Available shipping methods:");
|
|
15193
|
+
* data.deliver.shipping_methods.forEach(method => {
|
|
15194
|
+
* console.log(`${method.name} - ${method.shipping_amount}, ${method.estimated_delivery_days} days`);
|
|
15195
|
+
* });
|
|
15196
|
+
* }
|
|
15197
|
+
* }
|
|
15198
|
+
* ```
|
|
15199
|
+
*/
|
|
15200
|
+
getFulfillmentOptions(body: GetFulfillmentOptionsBody): Promise<ApiResult<GetFulfillmentOptionsContent>>;
|
|
14870
15201
|
}
|
|
14871
15202
|
//#endregion
|
|
14872
15203
|
//#region src/lib/helper.d.ts
|
|
@@ -15264,6 +15595,27 @@ declare class CustomerClient extends StorefrontAPIClient {
|
|
|
15264
15595
|
* ```
|
|
15265
15596
|
*/
|
|
15266
15597
|
listCustomerReviews(pathParams: ListUserReviewsPathParams): Promise<ApiResult<ListUserReviewsContent>>;
|
|
15598
|
+
/**
|
|
15599
|
+
* List all saved payment methods for a customer
|
|
15600
|
+
*
|
|
15601
|
+
* @param pathParams - Path parameters
|
|
15602
|
+
* @returns Promise with payment methods
|
|
15603
|
+
*
|
|
15604
|
+
* @example
|
|
15605
|
+
* ```typescript
|
|
15606
|
+
* const { data, error } = await sdk.customer.listSavedPaymentMethods({
|
|
15607
|
+
* customer_id: "customer_123"
|
|
15608
|
+
* });
|
|
15609
|
+
*
|
|
15610
|
+
* if (error) {
|
|
15611
|
+
* console.error("Failed to list saved payment methods:", error);
|
|
15612
|
+
* return;
|
|
15613
|
+
* }
|
|
15614
|
+
*
|
|
15615
|
+
* console.log("Saved payment methods:", data.saved_payment_methods);
|
|
15616
|
+
* ```
|
|
15617
|
+
*/
|
|
15618
|
+
listSavedPaymentMethods(pathParams: ListSavedPaymentMethodsPathParams): Promise<ApiResult<ListSavedPaymentMethodsContent>>;
|
|
15267
15619
|
}
|
|
15268
15620
|
//#endregion
|
|
15269
15621
|
//#region src/lib/store-config.d.ts
|
|
@@ -15433,6 +15785,10 @@ interface SupportedDefaultHeaders {
|
|
|
15433
15785
|
* If not provided, the API will use default pricing
|
|
15434
15786
|
*/
|
|
15435
15787
|
customer_group_id?: string;
|
|
15788
|
+
/**
|
|
15789
|
+
* Debug mode header
|
|
15790
|
+
*/
|
|
15791
|
+
debug_mode?: boolean;
|
|
15436
15792
|
}
|
|
15437
15793
|
/**
|
|
15438
15794
|
* SDK initialization options for the Storefront API
|
|
@@ -15613,5 +15969,5 @@ declare class StorefrontSDK {
|
|
|
15613
15969
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
15614
15970
|
}
|
|
15615
15971
|
//#endregion
|
|
15616
|
-
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, 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, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetShippingMethodsBody, GetShippingMethodsContent, GetShippingMethodsResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JuspayCardPayload, JuspayCreateCardResponse, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayOrder, JuspayPaymentGatewayParams, JuspayPaymentInfo, JuspayPaymentMethod, JuspaySavedCard, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListPaymentOptionsContent, ListPaymentOptionsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedCardsContent, ListSavedCardsQuery, ListSavedCardsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LoyaltyPointActivity, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PauseSubscription, PayWithCard, PayWithCash, PayWithPaymentGateway, PayWithUpi, PaymentGateway, PaymentGatewayParams, PaymentInfo, PayuCardPayload, PayuCreateCardResponse, PayuPaymentGatewayParams, PayuPaymentInfo, PayuPaymentMethod, PayuSavedCard, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListPaymentOptionsContent, PosListPaymentOptionsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, 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, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateShippingMethodBody, UpdateShippingMethodContent, UpdateShippingMethodPathParams, UpdateShippingMethodResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
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 };
|
|
15617
15973
|
//# sourceMappingURL=index.d.ts.map
|