@commercengine/storefront-sdk 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +785 -389
- package/dist/index.iife.js +288 -216
- package/dist/index.iife.js.map +1 -1
- package/dist/index.mjs +289 -216
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -555,6 +555,26 @@ interface paths {
|
|
|
555
555
|
patch?: never;
|
|
556
556
|
trace?: never;
|
|
557
557
|
};
|
|
558
|
+
"/carts/fulfillment-options": {
|
|
559
|
+
parameters: {
|
|
560
|
+
query?: never;
|
|
561
|
+
header?: never;
|
|
562
|
+
path?: never;
|
|
563
|
+
cookie?: never;
|
|
564
|
+
};
|
|
565
|
+
get?: never;
|
|
566
|
+
put?: never;
|
|
567
|
+
/**
|
|
568
|
+
* Retrieve fulfillment options
|
|
569
|
+
* @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
|
|
570
|
+
*/
|
|
571
|
+
post: operations["get-fulfillment-options"];
|
|
572
|
+
delete?: never;
|
|
573
|
+
options?: never;
|
|
574
|
+
head?: never;
|
|
575
|
+
patch?: never;
|
|
576
|
+
trace?: never;
|
|
577
|
+
};
|
|
558
578
|
"/carts/users/{user_id}": {
|
|
559
579
|
parameters: {
|
|
560
580
|
query?: never;
|
|
@@ -1333,6 +1353,29 @@ interface paths {
|
|
|
1333
1353
|
patch?: never;
|
|
1334
1354
|
trace?: never;
|
|
1335
1355
|
};
|
|
1356
|
+
"/customers/{customer_id}/cards": {
|
|
1357
|
+
parameters: {
|
|
1358
|
+
query?: never;
|
|
1359
|
+
header?: never;
|
|
1360
|
+
path: {
|
|
1361
|
+
/** @description Customer Id */
|
|
1362
|
+
customer_id: string;
|
|
1363
|
+
};
|
|
1364
|
+
cookie?: never;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* List all saved cards
|
|
1368
|
+
* @description Retrieve a list of saved payment cards for a given customer.
|
|
1369
|
+
*/
|
|
1370
|
+
get: operations["list-customer-cards"];
|
|
1371
|
+
put?: never;
|
|
1372
|
+
post?: never;
|
|
1373
|
+
delete?: never;
|
|
1374
|
+
options?: never;
|
|
1375
|
+
head?: never;
|
|
1376
|
+
patch?: never;
|
|
1377
|
+
trace?: never;
|
|
1378
|
+
};
|
|
1336
1379
|
"/customers/{customer_id}/payment-methods": {
|
|
1337
1380
|
parameters: {
|
|
1338
1381
|
query?: never;
|
|
@@ -1581,6 +1624,26 @@ interface paths {
|
|
|
1581
1624
|
patch?: never;
|
|
1582
1625
|
trace?: never;
|
|
1583
1626
|
};
|
|
1627
|
+
"/fulfillment/serviceability": {
|
|
1628
|
+
parameters: {
|
|
1629
|
+
query?: never;
|
|
1630
|
+
header?: never;
|
|
1631
|
+
path?: never;
|
|
1632
|
+
cookie?: never;
|
|
1633
|
+
};
|
|
1634
|
+
get?: never;
|
|
1635
|
+
put?: never;
|
|
1636
|
+
/**
|
|
1637
|
+
* Check fulfillment
|
|
1638
|
+
* @description Checking if fulfillment is available to the entered pincode based on shipping zones and inventories.
|
|
1639
|
+
*/
|
|
1640
|
+
post: operations["check-fulfillment"];
|
|
1641
|
+
delete?: never;
|
|
1642
|
+
options?: never;
|
|
1643
|
+
head?: never;
|
|
1644
|
+
patch?: never;
|
|
1645
|
+
trace?: never;
|
|
1646
|
+
};
|
|
1584
1647
|
"/orders": {
|
|
1585
1648
|
parameters: {
|
|
1586
1649
|
query?: never;
|
|
@@ -1825,6 +1888,26 @@ interface paths {
|
|
|
1825
1888
|
patch?: never;
|
|
1826
1889
|
trace?: never;
|
|
1827
1890
|
};
|
|
1891
|
+
"/payments/card-info": {
|
|
1892
|
+
parameters: {
|
|
1893
|
+
query?: never;
|
|
1894
|
+
header?: never;
|
|
1895
|
+
path?: never;
|
|
1896
|
+
cookie?: never;
|
|
1897
|
+
};
|
|
1898
|
+
/**
|
|
1899
|
+
* Get card information
|
|
1900
|
+
* @description Retrieve card information based on the initial 9 digits (card BIN) of the card number.
|
|
1901
|
+
*/
|
|
1902
|
+
get: operations["get-card-info"];
|
|
1903
|
+
put?: never;
|
|
1904
|
+
post?: never;
|
|
1905
|
+
delete?: never;
|
|
1906
|
+
options?: never;
|
|
1907
|
+
head?: never;
|
|
1908
|
+
patch?: never;
|
|
1909
|
+
trace?: never;
|
|
1910
|
+
};
|
|
1828
1911
|
"/payments/generate-hash": {
|
|
1829
1912
|
parameters: {
|
|
1830
1913
|
query?: never;
|
|
@@ -2783,49 +2866,6 @@ interface paths {
|
|
|
2783
2866
|
patch?: never;
|
|
2784
2867
|
trace?: never;
|
|
2785
2868
|
};
|
|
2786
|
-
"/shipping/fulfillment-options": {
|
|
2787
|
-
parameters: {
|
|
2788
|
-
query?: never;
|
|
2789
|
-
header?: never;
|
|
2790
|
-
path?: never;
|
|
2791
|
-
cookie?: never;
|
|
2792
|
-
};
|
|
2793
|
-
get?: never;
|
|
2794
|
-
put?: never;
|
|
2795
|
-
/**
|
|
2796
|
-
* Retrieve fulfillment options
|
|
2797
|
-
* @description This endpoint returns the available fulfillment options for a given cart and delivery pincode. It provides both delivery options and collect-in-store (Click & Collect) options, including details of store locations where the item can be collected.
|
|
2798
|
-
*/
|
|
2799
|
-
post: operations["get-fulfillment-options"];
|
|
2800
|
-
delete?: never;
|
|
2801
|
-
options?: never;
|
|
2802
|
-
head?: never;
|
|
2803
|
-
patch?: never;
|
|
2804
|
-
trace?: never;
|
|
2805
|
-
};
|
|
2806
|
-
"/shipping/serviceability/{pincode}": {
|
|
2807
|
-
parameters: {
|
|
2808
|
-
query?: never;
|
|
2809
|
-
header?: never;
|
|
2810
|
-
path: {
|
|
2811
|
-
/** @description delivery pincode */
|
|
2812
|
-
pincode: string;
|
|
2813
|
-
};
|
|
2814
|
-
cookie?: never;
|
|
2815
|
-
};
|
|
2816
|
-
/**
|
|
2817
|
-
* Check serviceability
|
|
2818
|
-
* @description Checking if delivery is available to the entered pincode based on shipping zones.
|
|
2819
|
-
*/
|
|
2820
|
-
get: operations["check-pincode-serviceability"];
|
|
2821
|
-
put?: never;
|
|
2822
|
-
post?: never;
|
|
2823
|
-
delete?: never;
|
|
2824
|
-
options?: never;
|
|
2825
|
-
head?: never;
|
|
2826
|
-
patch?: never;
|
|
2827
|
-
trace?: never;
|
|
2828
|
-
};
|
|
2829
2869
|
"/store/config": {
|
|
2830
2870
|
parameters: {
|
|
2831
2871
|
query?: never;
|
|
@@ -3265,6 +3305,23 @@ interface components {
|
|
|
3265
3305
|
/** @description It can be null for get_offer_type = free */
|
|
3266
3306
|
maximum_discount_amount: number | null;
|
|
3267
3307
|
};
|
|
3308
|
+
/** CardbinInfo */
|
|
3309
|
+
CardbinInfo: {
|
|
3310
|
+
card_sub_type: string;
|
|
3311
|
+
extended_card_type: string;
|
|
3312
|
+
country: string;
|
|
3313
|
+
cvv_less_support: boolean;
|
|
3314
|
+
bank: string;
|
|
3315
|
+
id: string;
|
|
3316
|
+
mandate_support: boolean;
|
|
3317
|
+
brand: string;
|
|
3318
|
+
card_sub_type_category: string;
|
|
3319
|
+
juspay_bank_code: string;
|
|
3320
|
+
type: string;
|
|
3321
|
+
country_code: string;
|
|
3322
|
+
object: string;
|
|
3323
|
+
direct_otp_support: boolean;
|
|
3324
|
+
};
|
|
3268
3325
|
/**
|
|
3269
3326
|
* CardPayment
|
|
3270
3327
|
* @description Payments using credit card, debit card
|
|
@@ -3400,17 +3457,31 @@ interface components {
|
|
|
3400
3457
|
applied_promotions: components["schemas"]["AppliedPromotion"][];
|
|
3401
3458
|
/** @description This key provides details about the savings in cart after coupon have been applied to the cart. */
|
|
3402
3459
|
applied_coupons: components["schemas"]["AppliedCoupon"][];
|
|
3460
|
+
/** @description List containing detailed information about each shipment in the cart. */
|
|
3461
|
+
shipments: components["schemas"]["CartShipment"][];
|
|
3403
3462
|
promotion_savings: number;
|
|
3404
3463
|
coupon_savings: number;
|
|
3405
3464
|
other_savings: number;
|
|
3406
3465
|
total_savings: number;
|
|
3407
3466
|
};
|
|
3408
|
-
/**
|
|
3409
|
-
|
|
3410
|
-
|
|
3467
|
+
/** CartBasedFulfillmentCheck */
|
|
3468
|
+
CartBasedFulfillmentCheck: {
|
|
3469
|
+
/** @description delivery pincode, if null, the fulfillment type will be collect-in-store */
|
|
3470
|
+
delivery_pincode: string | null;
|
|
3411
3471
|
cart_id: string;
|
|
3472
|
+
/** @enum {string} */
|
|
3473
|
+
fulfillment_type?: "delivery" | "collect-in-store";
|
|
3474
|
+
};
|
|
3475
|
+
/** CartBasedFulfillmentOption */
|
|
3476
|
+
CartBasedFulfillmentOption: {
|
|
3477
|
+
cart_id: string;
|
|
3478
|
+
/** @enum {string} */
|
|
3479
|
+
fulfillment_type?: "delivery" | "collect-in-store";
|
|
3412
3480
|
};
|
|
3413
|
-
/**
|
|
3481
|
+
/**
|
|
3482
|
+
* CartItem
|
|
3483
|
+
* @description This Cart Item model captures the attributes of a cart item, including product details, pricing information, subscription details, and other relevant information related to Cart Item.
|
|
3484
|
+
*/
|
|
3414
3485
|
CartItem: {
|
|
3415
3486
|
/** @description Unique identifier for the product. */
|
|
3416
3487
|
product_id: string;
|
|
@@ -3505,6 +3576,29 @@ interface components {
|
|
|
3505
3576
|
associated_options: components["schemas"]["AssociatedOption"] | null;
|
|
3506
3577
|
attributes: components["schemas"]["ProductAttribute"][];
|
|
3507
3578
|
subscriptions: components["schemas"]["ProductSubscription"][] | null;
|
|
3579
|
+
/** @description Seller ID. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
3580
|
+
seller_id?: string | null;
|
|
3581
|
+
/** @description Seller detail information. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
3582
|
+
seller_detail?: components["schemas"]["SellerDetail"] | null;
|
|
3583
|
+
};
|
|
3584
|
+
/**
|
|
3585
|
+
* CartShipment
|
|
3586
|
+
* @description Cart shipment model
|
|
3587
|
+
*/
|
|
3588
|
+
CartShipment: {
|
|
3589
|
+
id?: string;
|
|
3590
|
+
shipping_provider_id?: string;
|
|
3591
|
+
shipping_provider_name?: string;
|
|
3592
|
+
courier_company_id?: string | null;
|
|
3593
|
+
courier_company_name?: string | null;
|
|
3594
|
+
/** Format: double */
|
|
3595
|
+
shipping_amount?: number;
|
|
3596
|
+
/** Format: double */
|
|
3597
|
+
shipping_tax_amount?: number;
|
|
3598
|
+
/** Format: double */
|
|
3599
|
+
shipping_amount_including_tax?: number;
|
|
3600
|
+
shipment_items_count?: number;
|
|
3601
|
+
shipment_items?: components["schemas"]["ShipmentItem"][];
|
|
3508
3602
|
};
|
|
3509
3603
|
/** Category */
|
|
3510
3604
|
Category: {
|
|
@@ -3910,10 +4004,42 @@ interface components {
|
|
|
3910
4004
|
fulfillment_type: "delivery";
|
|
3911
4005
|
/** @enum {string} */
|
|
3912
4006
|
readonly preference_type?: "user" | "auto";
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
4007
|
+
shipments: {
|
|
4008
|
+
id: string;
|
|
4009
|
+
shipping_provider_id: string;
|
|
4010
|
+
readonly shipping_provider_name?: string | null;
|
|
4011
|
+
courier_company_id?: string | null;
|
|
4012
|
+
readonly courier_company_name?: string | null;
|
|
4013
|
+
}[];
|
|
4014
|
+
};
|
|
4015
|
+
/** DeliveryOption */
|
|
4016
|
+
DeliveryOption: {
|
|
4017
|
+
is_serviceable: boolean;
|
|
4018
|
+
shipments: {
|
|
4019
|
+
id: string;
|
|
4020
|
+
items: components["schemas"]["ShipmentItem"][];
|
|
4021
|
+
shipping_methods: {
|
|
4022
|
+
id?: string;
|
|
4023
|
+
name?: string;
|
|
4024
|
+
/** @enum {unknown} */
|
|
4025
|
+
shipping_type?: "auto" | "manual";
|
|
4026
|
+
/** @description shipping amount of manual method or as per recommened courier or range of min-max shipping amount. */
|
|
4027
|
+
shipping_amount?: string;
|
|
4028
|
+
/** @description estimated delivery days of manual method or as per recommened courier or range of min-max estimated delivery days. */
|
|
4029
|
+
estimated_delivery_days?: string;
|
|
4030
|
+
courier_companies?: {
|
|
4031
|
+
id?: string | number;
|
|
4032
|
+
name?: string;
|
|
4033
|
+
shipping_amount?: number;
|
|
4034
|
+
estimated_delivery_days?: string;
|
|
4035
|
+
is_recommended?: boolean;
|
|
4036
|
+
is_hyperlocal?: boolean;
|
|
4037
|
+
/** @enum {unknown} */
|
|
4038
|
+
mode?: "air" | "surface";
|
|
4039
|
+
rating?: number;
|
|
4040
|
+
}[];
|
|
4041
|
+
}[];
|
|
4042
|
+
}[];
|
|
3917
4043
|
};
|
|
3918
4044
|
/** DiscountBasedPromotion */
|
|
3919
4045
|
DiscountBasedPromotion: {
|
|
@@ -4130,6 +4256,88 @@ interface components {
|
|
|
4130
4256
|
associated_options: components["schemas"]["AssociatedOption"] | null;
|
|
4131
4257
|
shipping?: components["schemas"]["ProductShipping"];
|
|
4132
4258
|
inventory?: components["schemas"]["LotBatchDetail"][];
|
|
4259
|
+
seller_id: string;
|
|
4260
|
+
seller_detail: components["schemas"]["SellerDetail"];
|
|
4261
|
+
};
|
|
4262
|
+
/** ItemsBasedFulfillmentCheck */
|
|
4263
|
+
ItemsBasedFulfillmentCheck: {
|
|
4264
|
+
/** @description delivery pincode, if null, the fulfillment type will be collect-in-store */
|
|
4265
|
+
delivery_pincode: string | null;
|
|
4266
|
+
items: {
|
|
4267
|
+
product_id: string;
|
|
4268
|
+
variant_id: string | null;
|
|
4269
|
+
}[];
|
|
4270
|
+
/** @enum {string} */
|
|
4271
|
+
fulfillment_type?: "delivery" | "collect-in-store";
|
|
4272
|
+
};
|
|
4273
|
+
/** JuspayCardDetail */
|
|
4274
|
+
JuspayCardDetail: {
|
|
4275
|
+
card_sub_type: string;
|
|
4276
|
+
token?: {
|
|
4277
|
+
tokenization_status?: string;
|
|
4278
|
+
support_token_transaction?: boolean;
|
|
4279
|
+
last_four_digits?: string;
|
|
4280
|
+
cvv_less_support?: boolean;
|
|
4281
|
+
vault_provider?: string;
|
|
4282
|
+
par?: string;
|
|
4283
|
+
card_reference?: string;
|
|
4284
|
+
expiry_month?: string;
|
|
4285
|
+
token_supported_gateways?: string[];
|
|
4286
|
+
card_fingerprint?: string;
|
|
4287
|
+
cvv_less_details?: {
|
|
4288
|
+
gateway?: string;
|
|
4289
|
+
gateway_reference_ids?: string[];
|
|
4290
|
+
}[];
|
|
4291
|
+
cvv_less_supported_gateways?: string[];
|
|
4292
|
+
provision_token_id?: string;
|
|
4293
|
+
card_isin?: string;
|
|
4294
|
+
expiry_year?: string;
|
|
4295
|
+
};
|
|
4296
|
+
extended_card_type: string;
|
|
4297
|
+
tokens?: {
|
|
4298
|
+
tokenization_status?: string;
|
|
4299
|
+
last_four_digits?: string;
|
|
4300
|
+
provider_category?: string;
|
|
4301
|
+
vault_provider?: string;
|
|
4302
|
+
par?: string;
|
|
4303
|
+
card_reference?: string;
|
|
4304
|
+
card_token?: string;
|
|
4305
|
+
expiry_month?: string;
|
|
4306
|
+
card_fingerprint?: string;
|
|
4307
|
+
provision_token_id?: string;
|
|
4308
|
+
card_isin?: string;
|
|
4309
|
+
expiry_year?: string;
|
|
4310
|
+
}[];
|
|
4311
|
+
nickname: string;
|
|
4312
|
+
provider_category: string;
|
|
4313
|
+
vault_provider: string;
|
|
4314
|
+
card_reference: string;
|
|
4315
|
+
card_type: string;
|
|
4316
|
+
metadata: {
|
|
4317
|
+
origin_customer_id?: string;
|
|
4318
|
+
origin_merchant_id?: string;
|
|
4319
|
+
} & {
|
|
4320
|
+
[key: string]: unknown;
|
|
4321
|
+
};
|
|
4322
|
+
card_issuer: string;
|
|
4323
|
+
card_token: string;
|
|
4324
|
+
health: string;
|
|
4325
|
+
card_exp_month: string;
|
|
4326
|
+
mandate_support: boolean;
|
|
4327
|
+
provider: string;
|
|
4328
|
+
card_sub_type_category: string;
|
|
4329
|
+
expired: boolean;
|
|
4330
|
+
card_fingerprint: string;
|
|
4331
|
+
tokenize_support: boolean;
|
|
4332
|
+
juspay_bank_code: string;
|
|
4333
|
+
card_exp_year: string;
|
|
4334
|
+
name_on_card: string;
|
|
4335
|
+
country_code: string;
|
|
4336
|
+
atm_pin_auth_support?: boolean;
|
|
4337
|
+
card_number: string;
|
|
4338
|
+
card_isin: string;
|
|
4339
|
+
card_brand: string;
|
|
4340
|
+
card_issuer_country: string;
|
|
4133
4341
|
};
|
|
4134
4342
|
/** JuspayCardPaymentMethod */
|
|
4135
4343
|
JuspayCardPaymentMethod: {
|
|
@@ -4506,6 +4714,13 @@ interface components {
|
|
|
4506
4714
|
details: Record<string, never>[];
|
|
4507
4715
|
order_params?: Record<string, never>;
|
|
4508
4716
|
};
|
|
4717
|
+
/** MarketplaceProduct */
|
|
4718
|
+
MarketplaceProduct: components["schemas"]["Product"] & {
|
|
4719
|
+
seller_id: string;
|
|
4720
|
+
seller_detail: components["schemas"]["SellerDetail"];
|
|
4721
|
+
};
|
|
4722
|
+
/** MarketplaceProductDetail */
|
|
4723
|
+
MarketplaceProductDetail: components["schemas"]["Product"] & components["schemas"]["AdditionalProductDetails"];
|
|
4509
4724
|
/** MeasurementUnit */
|
|
4510
4725
|
MeasurementUnit: {
|
|
4511
4726
|
/** @enum {unknown} */
|
|
@@ -4738,6 +4953,10 @@ interface components {
|
|
|
4738
4953
|
handling_charge_including_tax: number;
|
|
4739
4954
|
associated_options?: components["schemas"]["AssociatedOption"] | null;
|
|
4740
4955
|
attributes?: components["schemas"]["ProductAttribute"][];
|
|
4956
|
+
/** @description Seller ID. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
4957
|
+
seller_id?: string | null;
|
|
4958
|
+
/** @description Seller detail information. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
4959
|
+
seller_detail?: components["schemas"]["SellerDetail"] | null;
|
|
4741
4960
|
};
|
|
4742
4961
|
/**
|
|
4743
4962
|
* OrderList
|
|
@@ -4902,6 +5121,10 @@ interface components {
|
|
|
4902
5121
|
created_at?: string;
|
|
4903
5122
|
/** Format: date-time */
|
|
4904
5123
|
modified_at?: string;
|
|
5124
|
+
/** @description Seller ID. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
5125
|
+
seller_id?: string | null;
|
|
5126
|
+
/** @description Seller detail information. This field is relevant for marketplace type stores only. Will return null for b2b and b2c type stores. */
|
|
5127
|
+
seller_detail?: components["schemas"]["SellerDetail"] | null;
|
|
4905
5128
|
};
|
|
4906
5129
|
/**
|
|
4907
5130
|
* @description pagination metadata structure
|
|
@@ -5105,31 +5328,6 @@ interface components {
|
|
|
5105
5328
|
country_name?: string;
|
|
5106
5329
|
country_iso_code?: string;
|
|
5107
5330
|
};
|
|
5108
|
-
/** PincodeServiceability */
|
|
5109
|
-
PincodeServiceability: {
|
|
5110
|
-
is_serviceable: boolean;
|
|
5111
|
-
shipping_methods: {
|
|
5112
|
-
id?: string;
|
|
5113
|
-
name?: string;
|
|
5114
|
-
/** @enum {unknown} */
|
|
5115
|
-
shipping_type?: "auto" | "manual";
|
|
5116
|
-
/** @description shipping amount of manual method or as per recommened courier or range of min-max shipping amount. */
|
|
5117
|
-
shipping_amount?: string;
|
|
5118
|
-
/** @description estimated delivery days of manual method or as per recommened courier or range of min-max estimated delivery days. */
|
|
5119
|
-
estimated_delivery_days?: string;
|
|
5120
|
-
courier_companies?: {
|
|
5121
|
-
id?: string | number;
|
|
5122
|
-
name?: string;
|
|
5123
|
-
shipping_amount?: number;
|
|
5124
|
-
estimated_delivery_days?: string;
|
|
5125
|
-
is_recommended?: boolean;
|
|
5126
|
-
is_hyperlocal?: boolean;
|
|
5127
|
-
/** @enum {unknown} */
|
|
5128
|
-
mode?: "air" | "surface";
|
|
5129
|
-
rating?: number;
|
|
5130
|
-
}[];
|
|
5131
|
-
}[];
|
|
5132
|
-
};
|
|
5133
5331
|
/** PosDevice */
|
|
5134
5332
|
PosDevice: {
|
|
5135
5333
|
readonly id: string;
|
|
@@ -5507,21 +5705,21 @@ interface components {
|
|
|
5507
5705
|
vpa: string;
|
|
5508
5706
|
}[];
|
|
5509
5707
|
WALLET: {
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
};
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5708
|
+
linked?: string;
|
|
5709
|
+
id: string;
|
|
5710
|
+
metadata?: {
|
|
5711
|
+
mobile_number: string;
|
|
5712
|
+
device_id?: string;
|
|
5713
|
+
};
|
|
5714
|
+
wallet: string;
|
|
5715
|
+
gateway_reference_id: string;
|
|
5716
|
+
last_refreshed: string;
|
|
5717
|
+
sub_details?: {
|
|
5718
|
+
last_used: string;
|
|
5719
|
+
current_balance: string;
|
|
5720
|
+
last_refreshed: string;
|
|
5721
|
+
payment_method: string;
|
|
5722
|
+
payment_method_type: string;
|
|
5525
5723
|
};
|
|
5526
5724
|
}[];
|
|
5527
5725
|
CARD: {
|
|
@@ -5582,6 +5780,14 @@ interface components {
|
|
|
5582
5780
|
*/
|
|
5583
5781
|
facets?: string[];
|
|
5584
5782
|
};
|
|
5783
|
+
/** SellerDetail */
|
|
5784
|
+
SellerDetail: {
|
|
5785
|
+
id: string;
|
|
5786
|
+
trade_name: string;
|
|
5787
|
+
legal_name: string;
|
|
5788
|
+
business_type: string;
|
|
5789
|
+
tax_identification_number: string;
|
|
5790
|
+
};
|
|
5585
5791
|
/** Seo */
|
|
5586
5792
|
Seo: {
|
|
5587
5793
|
slug: string;
|
|
@@ -5597,6 +5803,8 @@ interface components {
|
|
|
5597
5803
|
product_id?: string;
|
|
5598
5804
|
product_name?: string;
|
|
5599
5805
|
product_image_url?: string | null;
|
|
5806
|
+
variant_id?: string;
|
|
5807
|
+
variant_name?: string;
|
|
5600
5808
|
sku?: string;
|
|
5601
5809
|
quantity?: number;
|
|
5602
5810
|
free_quantity?: number;
|
|
@@ -5836,6 +6044,19 @@ interface components {
|
|
|
5836
6044
|
/** @description For text attributes */
|
|
5837
6045
|
value: string;
|
|
5838
6046
|
};
|
|
6047
|
+
/**
|
|
6048
|
+
* UnserviceableItem
|
|
6049
|
+
* @description Unserviceable item model
|
|
6050
|
+
*/
|
|
6051
|
+
UnserviceableItem: {
|
|
6052
|
+
product_id?: string;
|
|
6053
|
+
product_name?: string;
|
|
6054
|
+
product_image_url?: string | null;
|
|
6055
|
+
variant_id?: string;
|
|
6056
|
+
variant_name?: string;
|
|
6057
|
+
unserviceable_quantity?: number;
|
|
6058
|
+
max_available_quantity?: number;
|
|
6059
|
+
};
|
|
5839
6060
|
/**
|
|
5840
6061
|
* UpdateCartItem
|
|
5841
6062
|
* @description Schema for updating a cart item, including adding, removing, or adjusting the quantity of a product or variant.
|
|
@@ -7502,6 +7723,47 @@ interface operations {
|
|
|
7502
7723
|
401: components["responses"]["Unauthorized"];
|
|
7503
7724
|
};
|
|
7504
7725
|
};
|
|
7726
|
+
"get-fulfillment-options": {
|
|
7727
|
+
parameters: {
|
|
7728
|
+
query?: never;
|
|
7729
|
+
header?: never;
|
|
7730
|
+
path?: never;
|
|
7731
|
+
cookie?: never;
|
|
7732
|
+
};
|
|
7733
|
+
requestBody: {
|
|
7734
|
+
content: {
|
|
7735
|
+
"application/json": components["schemas"]["CartBasedFulfillmentOption"];
|
|
7736
|
+
};
|
|
7737
|
+
};
|
|
7738
|
+
responses: {
|
|
7739
|
+
/** @description OK */
|
|
7740
|
+
200: {
|
|
7741
|
+
headers: {
|
|
7742
|
+
[name: string]: unknown;
|
|
7743
|
+
};
|
|
7744
|
+
content: {
|
|
7745
|
+
"application/json": {
|
|
7746
|
+
message: string;
|
|
7747
|
+
success: boolean;
|
|
7748
|
+
content: {
|
|
7749
|
+
summary: {
|
|
7750
|
+
collect_available: boolean;
|
|
7751
|
+
deliver_available: boolean;
|
|
7752
|
+
/** @enum {unknown} */
|
|
7753
|
+
recommended_fulfillment_type: "collect-in-store" | "delivery";
|
|
7754
|
+
recommended_store?: components["schemas"]["CollectInStore"];
|
|
7755
|
+
};
|
|
7756
|
+
collect?: components["schemas"]["CollectInStore"][];
|
|
7757
|
+
deliver?: components["schemas"]["DeliveryOption"];
|
|
7758
|
+
};
|
|
7759
|
+
};
|
|
7760
|
+
};
|
|
7761
|
+
};
|
|
7762
|
+
400: components["responses"]["BadRequest"];
|
|
7763
|
+
401: components["responses"]["Unauthorized"];
|
|
7764
|
+
404: components["responses"]["NotFound"];
|
|
7765
|
+
};
|
|
7766
|
+
};
|
|
7505
7767
|
"get-user-cart": {
|
|
7506
7768
|
parameters: {
|
|
7507
7769
|
query?: never;
|
|
@@ -8133,6 +8395,8 @@ interface operations {
|
|
|
8133
8395
|
category_slug?: string[];
|
|
8134
8396
|
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8135
8397
|
inventory?: boolean;
|
|
8398
|
+
/** @description filter products by seller id */
|
|
8399
|
+
seller_id?: string;
|
|
8136
8400
|
};
|
|
8137
8401
|
header?: {
|
|
8138
8402
|
/** @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. */
|
|
@@ -8154,7 +8418,7 @@ interface operations {
|
|
|
8154
8418
|
message: string;
|
|
8155
8419
|
success: boolean;
|
|
8156
8420
|
content: {
|
|
8157
|
-
products: components["schemas"]["
|
|
8421
|
+
products: components["schemas"]["MarketplaceProduct"][];
|
|
8158
8422
|
pagination: components["schemas"]["Pagination"];
|
|
8159
8423
|
};
|
|
8160
8424
|
};
|
|
@@ -8363,7 +8627,7 @@ interface operations {
|
|
|
8363
8627
|
message: string;
|
|
8364
8628
|
success: boolean;
|
|
8365
8629
|
content: {
|
|
8366
|
-
product: components["schemas"]["
|
|
8630
|
+
product: components["schemas"]["MarketplaceProductDetail"];
|
|
8367
8631
|
};
|
|
8368
8632
|
};
|
|
8369
8633
|
};
|
|
@@ -8541,6 +8805,8 @@ interface operations {
|
|
|
8541
8805
|
category_id?: string[];
|
|
8542
8806
|
/** @description Determines whether to include or exlude inventory details in response json */
|
|
8543
8807
|
inventory?: boolean;
|
|
8808
|
+
/** @description filter sku by seller id */
|
|
8809
|
+
seller_id?: string;
|
|
8544
8810
|
/** @description array of sku */
|
|
8545
8811
|
sku?: string[];
|
|
8546
8812
|
};
|
|
@@ -9162,7 +9428,7 @@ interface operations {
|
|
|
9162
9428
|
401: components["responses"]["Unauthorized"];
|
|
9163
9429
|
};
|
|
9164
9430
|
};
|
|
9165
|
-
"list-
|
|
9431
|
+
"list-customer-cards": {
|
|
9166
9432
|
parameters: {
|
|
9167
9433
|
query?: never;
|
|
9168
9434
|
header?: never;
|
|
@@ -9181,10 +9447,10 @@ interface operations {
|
|
|
9181
9447
|
};
|
|
9182
9448
|
content: {
|
|
9183
9449
|
"application/json": {
|
|
9184
|
-
message
|
|
9185
|
-
success
|
|
9186
|
-
content
|
|
9187
|
-
|
|
9450
|
+
message: string;
|
|
9451
|
+
success: boolean;
|
|
9452
|
+
content: {
|
|
9453
|
+
cards: components["schemas"]["JuspayCardDetail"][];
|
|
9188
9454
|
};
|
|
9189
9455
|
};
|
|
9190
9456
|
};
|
|
@@ -9193,13 +9459,13 @@ interface operations {
|
|
|
9193
9459
|
404: components["responses"]["NotFound"];
|
|
9194
9460
|
};
|
|
9195
9461
|
};
|
|
9196
|
-
"
|
|
9462
|
+
"list-saved-payment-methods": {
|
|
9197
9463
|
parameters: {
|
|
9198
9464
|
query?: never;
|
|
9199
9465
|
header?: never;
|
|
9200
9466
|
path: {
|
|
9201
|
-
/** @description Customer
|
|
9202
|
-
|
|
9467
|
+
/** @description Customer Id */
|
|
9468
|
+
customer_id: string;
|
|
9203
9469
|
};
|
|
9204
9470
|
cookie?: never;
|
|
9205
9471
|
};
|
|
@@ -9215,17 +9481,16 @@ interface operations {
|
|
|
9215
9481
|
message?: string;
|
|
9216
9482
|
success?: boolean;
|
|
9217
9483
|
content?: {
|
|
9218
|
-
|
|
9484
|
+
saved_payment_methods?: components["schemas"]["SavedPaymentMethod"];
|
|
9219
9485
|
};
|
|
9220
9486
|
};
|
|
9221
9487
|
};
|
|
9222
9488
|
};
|
|
9223
|
-
400: components["responses"]["BadRequest"];
|
|
9224
9489
|
401: components["responses"]["Unauthorized"];
|
|
9225
9490
|
404: components["responses"]["NotFound"];
|
|
9226
9491
|
};
|
|
9227
9492
|
};
|
|
9228
|
-
"
|
|
9493
|
+
"get-customer-detail": {
|
|
9229
9494
|
parameters: {
|
|
9230
9495
|
query?: never;
|
|
9231
9496
|
header?: never;
|
|
@@ -9235,11 +9500,43 @@ interface operations {
|
|
|
9235
9500
|
};
|
|
9236
9501
|
cookie?: never;
|
|
9237
9502
|
};
|
|
9238
|
-
requestBody
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9503
|
+
requestBody?: never;
|
|
9504
|
+
responses: {
|
|
9505
|
+
/** @description OK */
|
|
9506
|
+
200: {
|
|
9507
|
+
headers: {
|
|
9508
|
+
[name: string]: unknown;
|
|
9509
|
+
};
|
|
9510
|
+
content: {
|
|
9511
|
+
"application/json": {
|
|
9512
|
+
message?: string;
|
|
9513
|
+
success?: boolean;
|
|
9514
|
+
content?: {
|
|
9515
|
+
customer_detail?: components["schemas"]["CustomerDetail"];
|
|
9516
|
+
};
|
|
9517
|
+
};
|
|
9518
|
+
};
|
|
9519
|
+
};
|
|
9520
|
+
400: components["responses"]["BadRequest"];
|
|
9521
|
+
401: components["responses"]["Unauthorized"];
|
|
9522
|
+
404: components["responses"]["NotFound"];
|
|
9523
|
+
};
|
|
9524
|
+
};
|
|
9525
|
+
"update-customer": {
|
|
9526
|
+
parameters: {
|
|
9527
|
+
query?: never;
|
|
9528
|
+
header?: never;
|
|
9529
|
+
path: {
|
|
9530
|
+
/** @description Customer id */
|
|
9531
|
+
id: string;
|
|
9532
|
+
};
|
|
9533
|
+
cookie?: never;
|
|
9534
|
+
};
|
|
9535
|
+
requestBody: {
|
|
9536
|
+
content: {
|
|
9537
|
+
"application/json": components["schemas"]["UpdateCustomer"];
|
|
9538
|
+
};
|
|
9539
|
+
};
|
|
9243
9540
|
responses: {
|
|
9244
9541
|
/** @description OK */
|
|
9245
9542
|
200: {
|
|
@@ -9774,6 +10071,42 @@ interface operations {
|
|
|
9774
10071
|
404: components["responses"]["NotFound"];
|
|
9775
10072
|
};
|
|
9776
10073
|
};
|
|
10074
|
+
"check-fulfillment": {
|
|
10075
|
+
parameters: {
|
|
10076
|
+
query?: never;
|
|
10077
|
+
header?: never;
|
|
10078
|
+
path?: never;
|
|
10079
|
+
cookie?: never;
|
|
10080
|
+
};
|
|
10081
|
+
/** @description Fulfillment check request */
|
|
10082
|
+
requestBody: {
|
|
10083
|
+
content: {
|
|
10084
|
+
"application/json": components["schemas"]["CartBasedFulfillmentCheck"] | components["schemas"]["ItemsBasedFulfillmentCheck"];
|
|
10085
|
+
};
|
|
10086
|
+
};
|
|
10087
|
+
responses: {
|
|
10088
|
+
/** @description OK */
|
|
10089
|
+
200: {
|
|
10090
|
+
headers: {
|
|
10091
|
+
[name: string]: unknown;
|
|
10092
|
+
};
|
|
10093
|
+
content: {
|
|
10094
|
+
"application/json": {
|
|
10095
|
+
message: string;
|
|
10096
|
+
success: boolean;
|
|
10097
|
+
content: {
|
|
10098
|
+
is_serviceable: boolean;
|
|
10099
|
+
/** @description List of unserviceable items if any. Empty array if all items are serviceable. */
|
|
10100
|
+
unserviceable_items?: components["schemas"]["UnserviceableItem"][];
|
|
10101
|
+
};
|
|
10102
|
+
};
|
|
10103
|
+
};
|
|
10104
|
+
};
|
|
10105
|
+
400: components["responses"]["BadRequest"];
|
|
10106
|
+
401: components["responses"]["Unauthorized"];
|
|
10107
|
+
404: components["responses"]["NotFound"];
|
|
10108
|
+
};
|
|
10109
|
+
};
|
|
9777
10110
|
"list-orders": {
|
|
9778
10111
|
parameters: {
|
|
9779
10112
|
query: {
|
|
@@ -10239,6 +10572,38 @@ interface operations {
|
|
|
10239
10572
|
401: components["responses"]["Unauthorized"];
|
|
10240
10573
|
};
|
|
10241
10574
|
};
|
|
10575
|
+
"get-card-info": {
|
|
10576
|
+
parameters: {
|
|
10577
|
+
query: {
|
|
10578
|
+
/** @description Initial 9 digits of card number (card BIN) */
|
|
10579
|
+
cardbin: string;
|
|
10580
|
+
};
|
|
10581
|
+
header?: never;
|
|
10582
|
+
path?: never;
|
|
10583
|
+
cookie?: never;
|
|
10584
|
+
};
|
|
10585
|
+
requestBody?: never;
|
|
10586
|
+
responses: {
|
|
10587
|
+
/** @description OK */
|
|
10588
|
+
200: {
|
|
10589
|
+
headers: {
|
|
10590
|
+
[name: string]: unknown;
|
|
10591
|
+
};
|
|
10592
|
+
content: {
|
|
10593
|
+
"application/json": {
|
|
10594
|
+
message: string;
|
|
10595
|
+
success: boolean;
|
|
10596
|
+
content: {
|
|
10597
|
+
card_info: components["schemas"]["CardbinInfo"];
|
|
10598
|
+
};
|
|
10599
|
+
};
|
|
10600
|
+
};
|
|
10601
|
+
};
|
|
10602
|
+
400: components["responses"]["BadRequest"];
|
|
10603
|
+
401: components["responses"]["Unauthorized"];
|
|
10604
|
+
404: components["responses"]["NotFound"];
|
|
10605
|
+
};
|
|
10606
|
+
};
|
|
10242
10607
|
"generate-hash": {
|
|
10243
10608
|
parameters: {
|
|
10244
10609
|
query?: never;
|
|
@@ -10384,7 +10749,12 @@ interface operations {
|
|
|
10384
10749
|
};
|
|
10385
10750
|
"list-payment-methods": {
|
|
10386
10751
|
parameters: {
|
|
10387
|
-
query?:
|
|
10752
|
+
query?: {
|
|
10753
|
+
/** @description Payment method type */
|
|
10754
|
+
payment_method_type?: "card" | "upi" | "netbanking" | "wallet" | "manual";
|
|
10755
|
+
/** @description Payment provider slug */
|
|
10756
|
+
payment_provider_slug?: string;
|
|
10757
|
+
};
|
|
10388
10758
|
header?: never;
|
|
10389
10759
|
path?: never;
|
|
10390
10760
|
cookie?: never;
|
|
@@ -10470,8 +10840,15 @@ interface operations {
|
|
|
10470
10840
|
message?: string;
|
|
10471
10841
|
success?: boolean;
|
|
10472
10842
|
content?: {
|
|
10473
|
-
vpa
|
|
10474
|
-
|
|
10843
|
+
vpa: string;
|
|
10844
|
+
/** @enum {string} */
|
|
10845
|
+
status: "valid" | "invalid" | "unknown";
|
|
10846
|
+
customer_name: string;
|
|
10847
|
+
/** @description Mandate details if available. */
|
|
10848
|
+
mandate_details: {
|
|
10849
|
+
/** @description Indicates whether the specific VPA handle is supported by the merchant's account. */
|
|
10850
|
+
is_handle_supported?: boolean;
|
|
10851
|
+
};
|
|
10475
10852
|
};
|
|
10476
10853
|
};
|
|
10477
10854
|
};
|
|
@@ -11950,7 +12327,7 @@ interface operations {
|
|
|
11950
12327
|
};
|
|
11951
12328
|
requestBody: {
|
|
11952
12329
|
content: {
|
|
11953
|
-
"application/json": components["schemas"]["
|
|
12330
|
+
"application/json": components["schemas"]["CartBasedFulfillmentOption"];
|
|
11954
12331
|
};
|
|
11955
12332
|
};
|
|
11956
12333
|
responses: {
|
|
@@ -11972,7 +12349,7 @@ interface operations {
|
|
|
11972
12349
|
recommended_store?: components["schemas"]["CollectInStore"];
|
|
11973
12350
|
};
|
|
11974
12351
|
collect?: components["schemas"]["CollectInStore"][];
|
|
11975
|
-
deliver?: components["schemas"]["
|
|
12352
|
+
deliver?: components["schemas"]["DeliveryOption"];
|
|
11976
12353
|
};
|
|
11977
12354
|
};
|
|
11978
12355
|
};
|
|
@@ -12115,79 +12492,6 @@ interface operations {
|
|
|
12115
12492
|
401: components["responses"]["Unauthorized"];
|
|
12116
12493
|
};
|
|
12117
12494
|
};
|
|
12118
|
-
"get-fulfillment-options": {
|
|
12119
|
-
parameters: {
|
|
12120
|
-
query?: never;
|
|
12121
|
-
header?: never;
|
|
12122
|
-
path?: never;
|
|
12123
|
-
cookie?: never;
|
|
12124
|
-
};
|
|
12125
|
-
requestBody: {
|
|
12126
|
-
content: {
|
|
12127
|
-
"application/json": components["schemas"]["CartBasedServiceabilityCheck"];
|
|
12128
|
-
};
|
|
12129
|
-
};
|
|
12130
|
-
responses: {
|
|
12131
|
-
/** @description OK */
|
|
12132
|
-
200: {
|
|
12133
|
-
headers: {
|
|
12134
|
-
[name: string]: unknown;
|
|
12135
|
-
};
|
|
12136
|
-
content: {
|
|
12137
|
-
"application/json": {
|
|
12138
|
-
message: string;
|
|
12139
|
-
success: boolean;
|
|
12140
|
-
content: {
|
|
12141
|
-
summary: {
|
|
12142
|
-
collect_available: boolean;
|
|
12143
|
-
deliver_available: boolean;
|
|
12144
|
-
/** @enum {unknown} */
|
|
12145
|
-
recommended_fulfillment_type: "collect-in-store" | "delivery";
|
|
12146
|
-
recommended_store?: components["schemas"]["CollectInStore"];
|
|
12147
|
-
};
|
|
12148
|
-
collect?: components["schemas"]["CollectInStore"][];
|
|
12149
|
-
deliver?: components["schemas"]["PincodeServiceability"];
|
|
12150
|
-
};
|
|
12151
|
-
};
|
|
12152
|
-
};
|
|
12153
|
-
};
|
|
12154
|
-
400: components["responses"]["BadRequest"];
|
|
12155
|
-
401: components["responses"]["Unauthorized"];
|
|
12156
|
-
404: components["responses"]["NotFound"];
|
|
12157
|
-
};
|
|
12158
|
-
};
|
|
12159
|
-
"check-pincode-serviceability": {
|
|
12160
|
-
parameters: {
|
|
12161
|
-
query?: never;
|
|
12162
|
-
header?: never;
|
|
12163
|
-
path: {
|
|
12164
|
-
/** @description delivery pincode */
|
|
12165
|
-
pincode: string;
|
|
12166
|
-
};
|
|
12167
|
-
cookie?: never;
|
|
12168
|
-
};
|
|
12169
|
-
requestBody?: never;
|
|
12170
|
-
responses: {
|
|
12171
|
-
/** @description OK */
|
|
12172
|
-
200: {
|
|
12173
|
-
headers: {
|
|
12174
|
-
[name: string]: unknown;
|
|
12175
|
-
};
|
|
12176
|
-
content: {
|
|
12177
|
-
"application/json": {
|
|
12178
|
-
message: string;
|
|
12179
|
-
success: boolean;
|
|
12180
|
-
content: {
|
|
12181
|
-
is_serviceable: boolean;
|
|
12182
|
-
};
|
|
12183
|
-
};
|
|
12184
|
-
};
|
|
12185
|
-
};
|
|
12186
|
-
400: components["responses"]["BadRequest"];
|
|
12187
|
-
401: components["responses"]["Unauthorized"];
|
|
12188
|
-
404: components["responses"]["NotFound"];
|
|
12189
|
-
};
|
|
12190
|
-
};
|
|
12191
12495
|
"get-config": {
|
|
12192
12496
|
parameters: {
|
|
12193
12497
|
query?: never;
|
|
@@ -13200,9 +13504,12 @@ type BuyXGetYRule = components['schemas']['BuyXGetYRule'];
|
|
|
13200
13504
|
type BuyXGetYRuleBasedOnAmount = components['schemas']['BuyXGetYRuleBasedOnAmount'];
|
|
13201
13505
|
type BuyXGetYRuleBasedOnQuantity = components['schemas']['BuyXGetYRuleBasedOnQuantity'];
|
|
13202
13506
|
type CardPayment = components['schemas']['CardPayment'];
|
|
13507
|
+
type CardbinInfo = components['schemas']['CardbinInfo'];
|
|
13203
13508
|
type Cart = components['schemas']['Cart'];
|
|
13204
|
-
type
|
|
13509
|
+
type CartBasedFulfillmentCheck = components['schemas']['CartBasedFulfillmentCheck'];
|
|
13510
|
+
type CartBasedFulfillmentOption = components['schemas']['CartBasedFulfillmentOption'];
|
|
13205
13511
|
type CartItem = components['schemas']['CartItem'];
|
|
13512
|
+
type CartShipment = components['schemas']['CartShipment'];
|
|
13206
13513
|
type Category = components['schemas']['Category'];
|
|
13207
13514
|
type CollectInStore = components['schemas']['CollectInStore'];
|
|
13208
13515
|
type CollectInStoreAddress = components['schemas']['CollectInStoreAddress'];
|
|
@@ -13231,6 +13538,7 @@ type CustomerReadyForReview = components['schemas']['CustomerReadyForReview'];
|
|
|
13231
13538
|
type CustomerReview = components['schemas']['CustomerReview'];
|
|
13232
13539
|
type DateAttribute = components['schemas']['DateAttribute'];
|
|
13233
13540
|
type DeliveryFulfillment = components['schemas']['DeliveryFulfillment'];
|
|
13541
|
+
type DeliveryOption = components['schemas']['DeliveryOption'];
|
|
13234
13542
|
type DiscountBasedPromotion = components['schemas']['DiscountBasedPromotion'];
|
|
13235
13543
|
type DiscountCouponPromotion = components['schemas']['DiscountCouponPromotion'];
|
|
13236
13544
|
type DiscountRule = components['schemas']['DiscountRule'];
|
|
@@ -13253,6 +13561,7 @@ type GstinDetail = components['schemas']['GstinDetail'];
|
|
|
13253
13561
|
type InapplicableCoupon = components['schemas']['InapplicableCoupon'];
|
|
13254
13562
|
type InapplicablePromotion = components['schemas']['InapplicablePromotion'];
|
|
13255
13563
|
type Item = components['schemas']['Item'];
|
|
13564
|
+
type ItemsBasedFulfillmentCheck = components['schemas']['ItemsBasedFulfillmentCheck'];
|
|
13256
13565
|
type JusPayExpressCheckout = components['schemas']['JusPayExpressCheckout'];
|
|
13257
13566
|
type JusPayExpressCheckoutCommonField = components['schemas']['JusPayExpressCheckoutCommonField'];
|
|
13258
13567
|
type JusPayExpressCheckoutResponse = components['schemas']['JusPayExpressCheckoutResponse'];
|
|
@@ -13260,6 +13569,7 @@ type JusPayHyperCheckout = components['schemas']['JusPayHyperCheckout'];
|
|
|
13260
13569
|
type JusPayHyperCheckoutResponse = components['schemas']['JusPayHyperCheckoutResponse'];
|
|
13261
13570
|
type JusPayNewCard = components['schemas']['JusPayNewCard'];
|
|
13262
13571
|
type JusPaySavedCardToken = components['schemas']['JusPaySavedCardToken'];
|
|
13572
|
+
type JuspayCardDetail = components['schemas']['JuspayCardDetail'];
|
|
13263
13573
|
type JuspayCardPaymentMethod = components['schemas']['JuspayCardPaymentMethod'];
|
|
13264
13574
|
type JuspayCreateCustomerPayload = components['schemas']['JuspayCreateCustomerPayload'];
|
|
13265
13575
|
type JuspayCreateOrderPayload = components['schemas']['JuspayCreateOrderPayload'];
|
|
@@ -13278,6 +13588,8 @@ type KycDocumentConfig = components['schemas']['KycDocumentConfig'];
|
|
|
13278
13588
|
type LotBatchDetail = components['schemas']['LotBatchDetail'];
|
|
13279
13589
|
type LoyaltyPointActivity = components['schemas']['LoyaltyPointActivity'];
|
|
13280
13590
|
type ManualPaymentMethod = components['schemas']['ManualPaymentMethod'];
|
|
13591
|
+
type MarketplaceProduct = components['schemas']['MarketplaceProduct'];
|
|
13592
|
+
type MarketplaceProductDetail = components['schemas']['MarketplaceProductDetail'];
|
|
13281
13593
|
type MeasurementUnit = components['schemas']['MeasurementUnit'];
|
|
13282
13594
|
type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
|
|
13283
13595
|
type NetbankingPayment = components['schemas']['NetbankingPayment'];
|
|
@@ -13306,7 +13618,6 @@ type PayuPaymentInfo = components['schemas']['PayuPaymentInfo'];
|
|
|
13306
13618
|
type PayuPaymentMethod = components['schemas']['PayuPaymentMethod'];
|
|
13307
13619
|
type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
|
|
13308
13620
|
type Pincode = components['schemas']['Pincode'];
|
|
13309
|
-
type PincodeServiceability = components['schemas']['PincodeServiceability'];
|
|
13310
13621
|
type PosDevice = components['schemas']['PosDevice'];
|
|
13311
13622
|
type PosDeviceClaimedUser = components['schemas']['PosDeviceClaimedUser'];
|
|
13312
13623
|
type PosLocation = components['schemas']['PosLocation'];
|
|
@@ -13333,6 +13644,7 @@ type RegisterWithPhonePassword = components['schemas']['RegisterWithPhonePasswor
|
|
|
13333
13644
|
type RevokeSubscription = components['schemas']['RevokeSubscription'];
|
|
13334
13645
|
type SavedPaymentMethod = components['schemas']['SavedPaymentMethod'];
|
|
13335
13646
|
type SearchProduct = components['schemas']['SearchProduct'];
|
|
13647
|
+
type SellerDetail = components['schemas']['SellerDetail'];
|
|
13336
13648
|
type Seo = components['schemas']['Seo'];
|
|
13337
13649
|
type ShipmentItem = components['schemas']['ShipmentItem'];
|
|
13338
13650
|
type ShipmentStatus = components['schemas']['ShipmentStatus'];
|
|
@@ -13345,6 +13657,7 @@ type SubscriptionBehaviour = components['schemas']['SubscriptionBehaviour'];
|
|
|
13345
13657
|
type SubscriptionDetail = components['schemas']['SubscriptionDetail'];
|
|
13346
13658
|
type SubscriptionInvoiceItem = components['schemas']['SubscriptionInvoiceItem'];
|
|
13347
13659
|
type TextAttribute = components['schemas']['TextAttribute'];
|
|
13660
|
+
type UnserviceableItem = components['schemas']['UnserviceableItem'];
|
|
13348
13661
|
type UpdateCartItem = components['schemas']['UpdateCartItem'];
|
|
13349
13662
|
type UpdateCustomer = components['schemas']['UpdateCustomer'];
|
|
13350
13663
|
type UpdateDigitalProductSubscription = components['schemas']['UpdateDigitalProductSubscription'];
|
|
@@ -13458,6 +13771,9 @@ type ListCouponsHeaderParams = paths['/carts/available-coupons']['get']['paramet
|
|
|
13458
13771
|
type ListPromotionsResponse = paths['/carts/available-promotions']['get']['responses'][200]['content']['application/json'];
|
|
13459
13772
|
type ListPromotionsContent = ListPromotionsResponse['content'];
|
|
13460
13773
|
type ListPromotionsHeaderParams = paths['/carts/available-promotions']['get']['parameters']['header'];
|
|
13774
|
+
type GetFulfillmentOptionsResponse = paths['/carts/fulfillment-options']['post']['responses'][200]['content']['application/json'];
|
|
13775
|
+
type GetFulfillmentOptionsContent = GetFulfillmentOptionsResponse['content'];
|
|
13776
|
+
type GetFulfillmentOptionsBody = NonNullable<paths['/carts/fulfillment-options']['post']['requestBody']>['content']['application/json'];
|
|
13461
13777
|
type GetUserCartResponse = paths['/carts/users/{user_id}']['get']['responses'][200]['content']['application/json'];
|
|
13462
13778
|
type GetUserCartContent = GetUserCartResponse['content'];
|
|
13463
13779
|
type GetUserCartPathParams = paths['/carts/users/{user_id}']['get']['parameters']['path'];
|
|
@@ -13617,6 +13933,9 @@ type ListCountryStatesPathParams = paths['/common/countries/{country_iso_code}/s
|
|
|
13617
13933
|
type CreateCustomerResponse = paths['/customers']['post']['responses'][200]['content']['application/json'];
|
|
13618
13934
|
type CreateCustomerContent = CreateCustomerResponse['content'];
|
|
13619
13935
|
type CreateCustomerBody = NonNullable<paths['/customers']['post']['requestBody']>['content']['application/json'];
|
|
13936
|
+
type ListCustomerCardsResponse = paths['/customers/{customer_id}/cards']['get']['responses'][200]['content']['application/json'];
|
|
13937
|
+
type ListCustomerCardsContent = ListCustomerCardsResponse['content'];
|
|
13938
|
+
type ListCustomerCardsPathParams = paths['/customers/{customer_id}/cards']['get']['parameters']['path'];
|
|
13620
13939
|
type ListSavedPaymentMethodsResponse = paths['/customers/{customer_id}/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13621
13940
|
type ListSavedPaymentMethodsContent = ListSavedPaymentMethodsResponse['content'];
|
|
13622
13941
|
type ListSavedPaymentMethodsPathParams = paths['/customers/{customer_id}/payment-methods']['get']['parameters']['path'];
|
|
@@ -13674,6 +13993,9 @@ type ListLoyaltyActivitiesPathParams = paths['/customers/{user_id}/loyalty-point
|
|
|
13674
13993
|
type ListUserReviewsResponse = paths['/customers/{user_id}/reviews']['get']['responses'][200]['content']['application/json'];
|
|
13675
13994
|
type ListUserReviewsContent = ListUserReviewsResponse['content'];
|
|
13676
13995
|
type ListUserReviewsPathParams = paths['/customers/{user_id}/reviews']['get']['parameters']['path'];
|
|
13996
|
+
type CheckFulfillmentResponse = paths['/fulfillment/serviceability']['post']['responses'][200]['content']['application/json'];
|
|
13997
|
+
type CheckFulfillmentContent = CheckFulfillmentResponse['content'];
|
|
13998
|
+
type CheckFulfillmentBody = NonNullable<paths['/fulfillment/serviceability']['post']['requestBody']>['content']['application/json'];
|
|
13677
13999
|
type CreateOrderResponse = paths['/orders']['post']['responses'][200]['content']['application/json'];
|
|
13678
14000
|
type CreateOrderContent = CreateOrderResponse['content'];
|
|
13679
14001
|
type CreateOrderBody = NonNullable<paths['/orders']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13714,6 +14036,9 @@ type ListOrderShipmentsContent = ListOrderShipmentsResponse['content'];
|
|
|
13714
14036
|
type ListOrderShipmentsPathParams = paths['/orders/{order_number}/shipments']['get']['parameters']['path'];
|
|
13715
14037
|
type AuthenticateDirectOtpResponse = paths['/payments/authenticate-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13716
14038
|
type AuthenticateDirectOtpBody = NonNullable<paths['/payments/authenticate-direct-otp']['post']['requestBody']>['content']['application/json'];
|
|
14039
|
+
type GetCardInfoResponse = paths['/payments/card-info']['get']['responses'][200]['content']['application/json'];
|
|
14040
|
+
type GetCardInfoContent = GetCardInfoResponse['content'];
|
|
14041
|
+
type GetCardInfoQuery = paths['/payments/card-info']['get']['parameters']['query'];
|
|
13717
14042
|
type GenerateHashResponse = paths['/payments/generate-hash']['post']['responses'][200]['content']['application/json'];
|
|
13718
14043
|
type GenerateHashContent = GenerateHashResponse['content'];
|
|
13719
14044
|
type GenerateHashBody = NonNullable<paths['/payments/generate-hash']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13728,6 +14053,7 @@ type GetJuspayCustomerContent = GetJuspayCustomerResponse['content'];
|
|
|
13728
14053
|
type GetJuspayCustomerPathParams = paths['/payments/juspay/customers/{user_id}']['get']['parameters']['path'];
|
|
13729
14054
|
type ListPaymentMethodsResponse = paths['/payments/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13730
14055
|
type ListPaymentMethodsContent = ListPaymentMethodsResponse['content'];
|
|
14056
|
+
type ListPaymentMethodsQuery = paths['/payments/payment-methods']['get']['parameters']['query'];
|
|
13731
14057
|
type ResendDirectOtpResponse = paths['/payments/resend-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13732
14058
|
type ResendDirectOtpContent = ResendDirectOtpResponse['content'];
|
|
13733
14059
|
type ResendDirectOtpBody = NonNullable<paths['/payments/resend-direct-otp']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13884,12 +14210,6 @@ type PosGetPaymentStatusPathParams = paths['/pos/orders/{order_number}/payment-s
|
|
|
13884
14210
|
type GetPosUserResponse = paths['/pos/users/{id}']['get']['responses'][200]['content']['application/json'];
|
|
13885
14211
|
type GetPosUserContent = GetPosUserResponse['content'];
|
|
13886
14212
|
type GetPosUserPathParams = paths['/pos/users/{id}']['get']['parameters']['path'];
|
|
13887
|
-
type GetFulfillmentOptionsResponse = paths['/shipping/fulfillment-options']['post']['responses'][200]['content']['application/json'];
|
|
13888
|
-
type GetFulfillmentOptionsContent = GetFulfillmentOptionsResponse['content'];
|
|
13889
|
-
type GetFulfillmentOptionsBody = NonNullable<paths['/shipping/fulfillment-options']['post']['requestBody']>['content']['application/json'];
|
|
13890
|
-
type CheckPincodeServiceabilityResponse = paths['/shipping/serviceability/{pincode}']['get']['responses'][200]['content']['application/json'];
|
|
13891
|
-
type CheckPincodeServiceabilityContent = CheckPincodeServiceabilityResponse['content'];
|
|
13892
|
-
type CheckPincodeServiceabilityPathParams = paths['/shipping/serviceability/{pincode}']['get']['parameters']['path'];
|
|
13893
14213
|
type GetConfigResponse = paths['/store/config']['get']['responses'][200]['content']['application/json'];
|
|
13894
14214
|
type GetConfigContent = GetConfigResponse['content'];
|
|
13895
14215
|
type ListKycDocumentResponse = paths['/store/kyc-document']['get']['responses'][200]['content']['application/json'];
|
|
@@ -14671,6 +14991,120 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14671
14991
|
* ```
|
|
14672
14992
|
*/
|
|
14673
14993
|
removeCoupon(cartId: RemoveCouponPathParams): Promise<ApiResult<RemoveCouponContent>>;
|
|
14994
|
+
/**
|
|
14995
|
+
* Get all available coupons
|
|
14996
|
+
*
|
|
14997
|
+
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
14998
|
+
* @returns Promise with all available coupons
|
|
14999
|
+
* @example
|
|
15000
|
+
* ```typescript
|
|
15001
|
+
* // Get all available coupons
|
|
15002
|
+
* const { data, error } = await sdk.cart.getAvailableCoupons();
|
|
15003
|
+
*
|
|
15004
|
+
* if (error) {
|
|
15005
|
+
* console.error("Failed to get available coupons:", error.message);
|
|
15006
|
+
* } else {
|
|
15007
|
+
* const coupons = data.coupons || [];
|
|
15008
|
+
* console.log("Available coupons:", coupons.length);
|
|
15009
|
+
* coupons.forEach(coupon => {
|
|
15010
|
+
* console.log("Coupon:", coupon.code, "Discount:", coupon.discount_amount);
|
|
15011
|
+
* });
|
|
15012
|
+
* }
|
|
15013
|
+
*
|
|
15014
|
+
* // Override customer group ID for this specific request
|
|
15015
|
+
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailableCoupons({
|
|
15016
|
+
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
15017
|
+
* });
|
|
15018
|
+
* ```
|
|
15019
|
+
*/
|
|
15020
|
+
getAvailableCoupons(headers?: ListCouponsHeaderParams): Promise<ApiResult<ListCouponsContent>>;
|
|
15021
|
+
/**
|
|
15022
|
+
* Get all available promotions
|
|
15023
|
+
*
|
|
15024
|
+
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
15025
|
+
* @returns Promise with all available promotions
|
|
15026
|
+
* @example
|
|
15027
|
+
* ```typescript
|
|
15028
|
+
* // Get all available promotions
|
|
15029
|
+
* const { data, error } = await sdk.cart.getAvailablePromotions();
|
|
15030
|
+
*
|
|
15031
|
+
* if (error) {
|
|
15032
|
+
* console.error("Failed to get available promotions:", error.message);
|
|
15033
|
+
* } else {
|
|
15034
|
+
* const promotions = data.promotions || [];
|
|
15035
|
+
* console.log("Available promotions:", promotions.length);
|
|
15036
|
+
* promotions.forEach(promotion => {
|
|
15037
|
+
* console.log("Promotion:", promotion.name, "Type:", promotion.promotion_type);
|
|
15038
|
+
* });
|
|
15039
|
+
* }
|
|
15040
|
+
*
|
|
15041
|
+
* // Override customer group ID for this specific request
|
|
15042
|
+
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailablePromotions({
|
|
15043
|
+
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
15044
|
+
* });
|
|
15045
|
+
* ```
|
|
15046
|
+
*/
|
|
15047
|
+
getAvailablePromotions(headers?: ListPromotionsHeaderParams): Promise<ApiResult<ListPromotionsContent>>;
|
|
15048
|
+
/**
|
|
15049
|
+
* Evaluate promotions
|
|
15050
|
+
*
|
|
15051
|
+
* @param cartId - The ID of the cart
|
|
15052
|
+
* @returns Promise with evaluated promotions
|
|
15053
|
+
* @example
|
|
15054
|
+
* ```typescript
|
|
15055
|
+
* const { data, error } = await sdk.cart.evaluatePromotions({
|
|
15056
|
+
* id: "01H9CART12345ABCDE"
|
|
15057
|
+
* });
|
|
15058
|
+
*
|
|
15059
|
+
* if (error) {
|
|
15060
|
+
* console.error("Failed to evaluate promotions:", error.message);
|
|
15061
|
+
* } else {
|
|
15062
|
+
* const applicable = data.applicable_promotions || [];
|
|
15063
|
+
* const inapplicable = data.inapplicable_promotions || [];
|
|
15064
|
+
*
|
|
15065
|
+
* console.log("Applicable promotions:", applicable.length);
|
|
15066
|
+
* applicable.forEach(promo => {
|
|
15067
|
+
* console.log(`- ${promo.name}: ${promo.savings_message}`);
|
|
15068
|
+
* });
|
|
15069
|
+
*
|
|
15070
|
+
* console.log("Inapplicable promotions:", inapplicable.length);
|
|
15071
|
+
* inapplicable.forEach(promo => {
|
|
15072
|
+
* console.log(`- ${promo.name}: ${promo.reason}`);
|
|
15073
|
+
* });
|
|
15074
|
+
* }
|
|
15075
|
+
* ```
|
|
15076
|
+
*/
|
|
15077
|
+
evaluatePromotions(cartId: EvaluatePromotionsPathParams): Promise<ApiResult<EvaluatePromotionsContent>>;
|
|
15078
|
+
/**
|
|
15079
|
+
* Evaluate coupons
|
|
15080
|
+
*
|
|
15081
|
+
* @param cartId - The ID of the cart
|
|
15082
|
+
* @returns Promise with evaluated coupons
|
|
15083
|
+
* @example
|
|
15084
|
+
* ```typescript
|
|
15085
|
+
* const { data, error } = await sdk.cart.evaluateCoupons({
|
|
15086
|
+
* id: "01H9CART12345ABCDE"
|
|
15087
|
+
* });
|
|
15088
|
+
*
|
|
15089
|
+
* if (error) {
|
|
15090
|
+
* console.error("Failed to evaluate coupons:", error.message);
|
|
15091
|
+
* } else {
|
|
15092
|
+
* const applicable = data.applicable_coupons || [];
|
|
15093
|
+
* const inapplicable = data.inapplicable_coupons || [];
|
|
15094
|
+
*
|
|
15095
|
+
* console.log("Applicable coupons:", applicable.length);
|
|
15096
|
+
* applicable.forEach(coupon => {
|
|
15097
|
+
* console.log(`- ${coupon.code}: Save $${coupon.estimated_discount}`);
|
|
15098
|
+
* });
|
|
15099
|
+
*
|
|
15100
|
+
* console.log("Inapplicable coupons:", inapplicable.length);
|
|
15101
|
+
* inapplicable.forEach(coupon => {
|
|
15102
|
+
* console.log(`- ${coupon.code}: ${coupon.reason}`);
|
|
15103
|
+
* });
|
|
15104
|
+
* }
|
|
15105
|
+
* ```
|
|
15106
|
+
*/
|
|
15107
|
+
evaluateCoupons(cartId: EvaluateCouponsPathParams): Promise<ApiResult<EvaluateCouponsContent>>;
|
|
14674
15108
|
/**
|
|
14675
15109
|
* Redeem loyalty points
|
|
14676
15110
|
*
|
|
@@ -14720,12 +15154,18 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14720
15154
|
* @returns Promise with updated cart
|
|
14721
15155
|
* @example
|
|
14722
15156
|
* ```typescript
|
|
15157
|
+
* // For delivery fulfillment with shipments
|
|
14723
15158
|
* const { data, error } = await sdk.cart.updateFulfillmentPreference(
|
|
14724
15159
|
* { id: "01H9CART12345ABCDE" },
|
|
14725
15160
|
* {
|
|
14726
15161
|
* fulfillment_type: "delivery",
|
|
14727
|
-
*
|
|
14728
|
-
*
|
|
15162
|
+
* shipments: [
|
|
15163
|
+
* {
|
|
15164
|
+
* id: "01H9SHIP12345ABCDE",
|
|
15165
|
+
* shipping_provider_id: "01H9PROV12345FAST",
|
|
15166
|
+
* courier_company_id: "01H9COY12345FAST" // Optional
|
|
15167
|
+
* }
|
|
15168
|
+
* ]
|
|
14729
15169
|
* }
|
|
14730
15170
|
* );
|
|
14731
15171
|
*
|
|
@@ -14735,9 +15175,108 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14735
15175
|
* console.log("Fulfillment preference updated:", data.cart.fulfillment_preference?.fulfillment_type);
|
|
14736
15176
|
* console.log("Shipping cost:", data.cart.shipping_amount);
|
|
14737
15177
|
* }
|
|
15178
|
+
*
|
|
15179
|
+
* // For collect-in-store fulfillment
|
|
15180
|
+
* const { data: collectData, error: collectError } = await sdk.cart.updateFulfillmentPreference(
|
|
15181
|
+
* { id: "01H9CART12345ABCDE" },
|
|
15182
|
+
* {
|
|
15183
|
+
* fulfillment_type: "collect-in-store",
|
|
15184
|
+
* pickup_location_id: "01H9STORE12345ABC"
|
|
15185
|
+
* }
|
|
15186
|
+
* );
|
|
14738
15187
|
* ```
|
|
14739
15188
|
*/
|
|
14740
15189
|
updateFulfillmentPreference(cartId: UpdateFulfillmentPreferencePathParams, body: UpdateFulfillmentPreferenceBody): Promise<ApiResult<UpdateFulfillmentPreferenceContent>>;
|
|
15190
|
+
/**
|
|
15191
|
+
* Check fulfillment serviceability
|
|
15192
|
+
*
|
|
15193
|
+
* Checks if fulfillment (delivery or collect-in-store) is available to the specified pincode
|
|
15194
|
+
* based on shipping zones and inventories.
|
|
15195
|
+
*
|
|
15196
|
+
* @param body - Fulfillment check body (cart-based or items-based)
|
|
15197
|
+
* @returns Promise with fulfillment serviceability result
|
|
15198
|
+
* @example
|
|
15199
|
+
* ```typescript
|
|
15200
|
+
* // Cart-based fulfillment check
|
|
15201
|
+
* const { data, error } = await sdk.cart.checkPincodeDeliverability({
|
|
15202
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15203
|
+
* delivery_pincode: "400001",
|
|
15204
|
+
* fulfillment_type: "delivery" // optional: "delivery" | "collect-in-store"
|
|
15205
|
+
* });
|
|
15206
|
+
*
|
|
15207
|
+
* // Items-based fulfillment check
|
|
15208
|
+
* const { data, error } = await sdk.cart.checkPincodeDeliverability({
|
|
15209
|
+
* delivery_pincode: "400001",
|
|
15210
|
+
* items: [
|
|
15211
|
+
* { product_id: "prod_123", variant_id: "var_456" },
|
|
15212
|
+
* { product_id: "prod_789", variant_id: null }
|
|
15213
|
+
* ]
|
|
15214
|
+
* // fulfillment_type is optional
|
|
15215
|
+
* });
|
|
15216
|
+
*
|
|
15217
|
+
* if (error) {
|
|
15218
|
+
* console.error("Failed to check fulfillment serviceability:", error.message);
|
|
15219
|
+
* } else {
|
|
15220
|
+
* console.log("Serviceable:", data.is_serviceable);
|
|
15221
|
+
*
|
|
15222
|
+
* if (!data.is_serviceable && data.unserviceable_items) {
|
|
15223
|
+
* data.unserviceable_items.forEach(item => {
|
|
15224
|
+
* console.log(`Unserviceable: ${item.product_name}, max available: ${item.max_available_quantity}`);
|
|
15225
|
+
* });
|
|
15226
|
+
* }
|
|
15227
|
+
* }
|
|
15228
|
+
* ```
|
|
15229
|
+
*/
|
|
15230
|
+
checkPincodeDeliverability(body: CheckFulfillmentBody): Promise<ApiResult<CheckFulfillmentContent>>;
|
|
15231
|
+
/**
|
|
15232
|
+
* Get fulfillment options for an order
|
|
15233
|
+
*
|
|
15234
|
+
* @param body - Fulfillment options body containing cart_id and delivery_pincode
|
|
15235
|
+
* @returns Promise with fulfillment options including collect and delivery methods
|
|
15236
|
+
* @example
|
|
15237
|
+
* ```typescript
|
|
15238
|
+
* const { data, error } = await sdk.cart.getFulfillmentOptions({
|
|
15239
|
+
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
15240
|
+
* delivery_pincode: "400001"
|
|
15241
|
+
* });
|
|
15242
|
+
*
|
|
15243
|
+
* if (error) {
|
|
15244
|
+
* console.error("Failed to get fulfillment options:", error.message);
|
|
15245
|
+
* } else {
|
|
15246
|
+
* // Check summary information
|
|
15247
|
+
* console.log("Collect available:", data.summary.collect_available);
|
|
15248
|
+
* console.log("Deliver available:", data.summary.deliver_available);
|
|
15249
|
+
* console.log("Recommended fulfillment type:", data.summary.recommended_fulfillment_type);
|
|
15250
|
+
*
|
|
15251
|
+
* // Access collect options
|
|
15252
|
+
* if (data.collect && data.collect.length > 0) {
|
|
15253
|
+
* console.log("Available stores for collection:");
|
|
15254
|
+
* data.collect.forEach(store => {
|
|
15255
|
+
* console.log(`${store.name} - ${store.distance_km}km away, ETA: ${store.collect_eta_minutes} minutes`);
|
|
15256
|
+
* });
|
|
15257
|
+
* }
|
|
15258
|
+
*
|
|
15259
|
+
* // Access delivery options (with shipments)
|
|
15260
|
+
* if (data.deliver && data.deliver.is_serviceable) {
|
|
15261
|
+
* console.log("Available shipments and shipping methods:");
|
|
15262
|
+
* data.deliver.shipments.forEach(shipment => {
|
|
15263
|
+
* console.log(`Shipment ${shipment.id}:`);
|
|
15264
|
+
* console.log(` Items: ${shipment.items.length}`);
|
|
15265
|
+
* shipment.shipping_methods.forEach(method => {
|
|
15266
|
+
* console.log(` - ${method.name}: ${method.shipping_amount}, ${method.estimated_delivery_days} days`);
|
|
15267
|
+
* // Access courier companies for auto shipping methods
|
|
15268
|
+
* if (method.courier_companies) {
|
|
15269
|
+
* method.courier_companies.forEach(courier => {
|
|
15270
|
+
* console.log(` Courier: ${courier.name} - ${courier.shipping_amount}, ${courier.estimated_delivery_days} days`);
|
|
15271
|
+
* });
|
|
15272
|
+
* }
|
|
15273
|
+
* });
|
|
15274
|
+
* });
|
|
15275
|
+
* }
|
|
15276
|
+
* }
|
|
15277
|
+
* ```
|
|
15278
|
+
*/
|
|
15279
|
+
getFulfillmentOptions(body: GetFulfillmentOptionsBody): Promise<ApiResult<GetFulfillmentOptionsContent>>;
|
|
14741
15280
|
/**
|
|
14742
15281
|
* Use credit balance
|
|
14743
15282
|
*
|
|
@@ -14852,120 +15391,6 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14852
15391
|
* ```
|
|
14853
15392
|
*/
|
|
14854
15393
|
removeFromWishlist(userId: DeleteFromWishlistPathParams, body: DeleteFromWishlistBody): Promise<ApiResult<DeleteFromWishlistContent>>;
|
|
14855
|
-
/**
|
|
14856
|
-
* Get all available coupons
|
|
14857
|
-
*
|
|
14858
|
-
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
14859
|
-
* @returns Promise with all available coupons
|
|
14860
|
-
* @example
|
|
14861
|
-
* ```typescript
|
|
14862
|
-
* // Get all available coupons
|
|
14863
|
-
* const { data, error } = await sdk.cart.getAvailableCoupons();
|
|
14864
|
-
*
|
|
14865
|
-
* if (error) {
|
|
14866
|
-
* console.error("Failed to get available coupons:", error.message);
|
|
14867
|
-
* } else {
|
|
14868
|
-
* const coupons = data.coupons || [];
|
|
14869
|
-
* console.log("Available coupons:", coupons.length);
|
|
14870
|
-
* coupons.forEach(coupon => {
|
|
14871
|
-
* console.log("Coupon:", coupon.code, "Discount:", coupon.discount_amount);
|
|
14872
|
-
* });
|
|
14873
|
-
* }
|
|
14874
|
-
*
|
|
14875
|
-
* // Override customer group ID for this specific request
|
|
14876
|
-
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailableCoupons({
|
|
14877
|
-
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
14878
|
-
* });
|
|
14879
|
-
* ```
|
|
14880
|
-
*/
|
|
14881
|
-
getAvailableCoupons(headers?: ListCouponsHeaderParams): Promise<ApiResult<ListCouponsContent>>;
|
|
14882
|
-
/**
|
|
14883
|
-
* Get all available promotions
|
|
14884
|
-
*
|
|
14885
|
-
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
14886
|
-
* @returns Promise with all available promotions
|
|
14887
|
-
* @example
|
|
14888
|
-
* ```typescript
|
|
14889
|
-
* // Get all available promotions
|
|
14890
|
-
* const { data, error } = await sdk.cart.getAvailablePromotions();
|
|
14891
|
-
*
|
|
14892
|
-
* if (error) {
|
|
14893
|
-
* console.error("Failed to get available promotions:", error.message);
|
|
14894
|
-
* } else {
|
|
14895
|
-
* const promotions = data.promotions || [];
|
|
14896
|
-
* console.log("Available promotions:", promotions.length);
|
|
14897
|
-
* promotions.forEach(promotion => {
|
|
14898
|
-
* console.log("Promotion:", promotion.name, "Type:", promotion.promotion_type);
|
|
14899
|
-
* });
|
|
14900
|
-
* }
|
|
14901
|
-
*
|
|
14902
|
-
* // Override customer group ID for this specific request
|
|
14903
|
-
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailablePromotions({
|
|
14904
|
-
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
14905
|
-
* });
|
|
14906
|
-
* ```
|
|
14907
|
-
*/
|
|
14908
|
-
getAvailablePromotions(headers?: ListPromotionsHeaderParams): Promise<ApiResult<ListPromotionsContent>>;
|
|
14909
|
-
/**
|
|
14910
|
-
* Evaluate promotions
|
|
14911
|
-
*
|
|
14912
|
-
* @param cartId - The ID of the cart
|
|
14913
|
-
* @returns Promise with evaluated promotions
|
|
14914
|
-
* @example
|
|
14915
|
-
* ```typescript
|
|
14916
|
-
* const { data, error } = await sdk.cart.evaluatePromotions({
|
|
14917
|
-
* id: "01H9CART12345ABCDE"
|
|
14918
|
-
* });
|
|
14919
|
-
*
|
|
14920
|
-
* if (error) {
|
|
14921
|
-
* console.error("Failed to evaluate promotions:", error.message);
|
|
14922
|
-
* } else {
|
|
14923
|
-
* const applicable = data.applicable_promotions || [];
|
|
14924
|
-
* const inapplicable = data.inapplicable_promotions || [];
|
|
14925
|
-
*
|
|
14926
|
-
* console.log("Applicable promotions:", applicable.length);
|
|
14927
|
-
* applicable.forEach(promo => {
|
|
14928
|
-
* console.log(`- ${promo.name}: ${promo.savings_message}`);
|
|
14929
|
-
* });
|
|
14930
|
-
*
|
|
14931
|
-
* console.log("Inapplicable promotions:", inapplicable.length);
|
|
14932
|
-
* inapplicable.forEach(promo => {
|
|
14933
|
-
* console.log(`- ${promo.name}: ${promo.reason}`);
|
|
14934
|
-
* });
|
|
14935
|
-
* }
|
|
14936
|
-
* ```
|
|
14937
|
-
*/
|
|
14938
|
-
evaluatePromotions(cartId: EvaluatePromotionsPathParams): Promise<ApiResult<EvaluatePromotionsContent>>;
|
|
14939
|
-
/**
|
|
14940
|
-
* Evaluate coupons
|
|
14941
|
-
*
|
|
14942
|
-
* @param cartId - The ID of the cart
|
|
14943
|
-
* @returns Promise with evaluated coupons
|
|
14944
|
-
* @example
|
|
14945
|
-
* ```typescript
|
|
14946
|
-
* const { data, error } = await sdk.cart.evaluateCoupons({
|
|
14947
|
-
* id: "01H9CART12345ABCDE"
|
|
14948
|
-
* });
|
|
14949
|
-
*
|
|
14950
|
-
* if (error) {
|
|
14951
|
-
* console.error("Failed to evaluate coupons:", error.message);
|
|
14952
|
-
* } else {
|
|
14953
|
-
* const applicable = data.applicable_coupons || [];
|
|
14954
|
-
* const inapplicable = data.inapplicable_coupons || [];
|
|
14955
|
-
*
|
|
14956
|
-
* console.log("Applicable coupons:", applicable.length);
|
|
14957
|
-
* applicable.forEach(coupon => {
|
|
14958
|
-
* console.log(`- ${coupon.code}: Save $${coupon.estimated_discount}`);
|
|
14959
|
-
* });
|
|
14960
|
-
*
|
|
14961
|
-
* console.log("Inapplicable coupons:", inapplicable.length);
|
|
14962
|
-
* inapplicable.forEach(coupon => {
|
|
14963
|
-
* console.log(`- ${coupon.code}: ${coupon.reason}`);
|
|
14964
|
-
* });
|
|
14965
|
-
* }
|
|
14966
|
-
* ```
|
|
14967
|
-
*/
|
|
14968
|
-
evaluateCoupons(cartId: EvaluateCouponsPathParams): Promise<ApiResult<EvaluateCouponsContent>>;
|
|
14969
15394
|
}
|
|
14970
15395
|
//#endregion
|
|
14971
15396
|
//#region src/lib/auth.d.ts
|
|
@@ -15895,10 +16320,14 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15895
16320
|
/**
|
|
15896
16321
|
* List all available payment methods
|
|
15897
16322
|
*
|
|
16323
|
+
* @param queryParams - Query parameters containing the payment method type and payment provider slug
|
|
15898
16324
|
* @returns Promise with list of payment methods
|
|
15899
16325
|
* @example
|
|
15900
16326
|
* ```typescript
|
|
15901
|
-
* const { data, error } = await sdk.payments.listPaymentMethods(
|
|
16327
|
+
* const { data, error } = await sdk.payments.listPaymentMethods({
|
|
16328
|
+
* payment_method_type: "card",
|
|
16329
|
+
* payment_provider_slug: "payu"
|
|
16330
|
+
* });
|
|
15902
16331
|
*
|
|
15903
16332
|
* if (error) {
|
|
15904
16333
|
* console.error("Failed to list payment methods:", error.message);
|
|
@@ -15912,7 +16341,7 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15912
16341
|
* }
|
|
15913
16342
|
* ```
|
|
15914
16343
|
*/
|
|
15915
|
-
listPaymentMethods(): Promise<ApiResult<ListPaymentMethodsContent>>;
|
|
16344
|
+
listPaymentMethods(queryParams: ListPaymentMethodsQuery): Promise<ApiResult<ListPaymentMethodsContent>>;
|
|
15916
16345
|
/**
|
|
15917
16346
|
* Verify a UPI Virtual Payment Address (VPA)
|
|
15918
16347
|
*
|
|
@@ -15943,6 +16372,27 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15943
16372
|
* ```
|
|
15944
16373
|
*/
|
|
15945
16374
|
verifyVpa(queryParams: VerifyVpaQuery): Promise<ApiResult<VerifyVpaContent>>;
|
|
16375
|
+
/**
|
|
16376
|
+
* Get card information
|
|
16377
|
+
*
|
|
16378
|
+
* Retrieves card information based on the initial 9 digits (card BIN) of the card number.
|
|
16379
|
+
*
|
|
16380
|
+
* @param queryParams - Query parameters containing the card BIN
|
|
16381
|
+
* @returns Promise with card information
|
|
16382
|
+
* @example
|
|
16383
|
+
* ```typescript
|
|
16384
|
+
* const { data, error } = await sdk.payments.getCardInfo({
|
|
16385
|
+
* cardbin: "411111111"
|
|
16386
|
+
* });
|
|
16387
|
+
*
|
|
16388
|
+
* if (error) {
|
|
16389
|
+
* console.error("Failed to get card information:", error.message);
|
|
16390
|
+
* } else {
|
|
16391
|
+
* console.log("Card information:", data.card_info);
|
|
16392
|
+
* }
|
|
16393
|
+
* ```
|
|
16394
|
+
*/
|
|
16395
|
+
getCardInfo(queryParams: GetCardInfoQuery): Promise<ApiResult<GetCardInfoContent>>;
|
|
15946
16396
|
/**
|
|
15947
16397
|
* Authenticate a direct OTP for payment verification
|
|
15948
16398
|
*
|
|
@@ -15998,77 +16448,6 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15998
16448
|
resendDirectOtp(body: ResendDirectOtpBody): Promise<ApiResult<ResendDirectOtpContent>>;
|
|
15999
16449
|
}
|
|
16000
16450
|
//#endregion
|
|
16001
|
-
//#region src/lib/shipping.d.ts
|
|
16002
|
-
/**
|
|
16003
|
-
* Client for interacting with shipping endpoints
|
|
16004
|
-
*/
|
|
16005
|
-
declare class ShippingClient extends StorefrontAPIClient {
|
|
16006
|
-
/**
|
|
16007
|
-
* Check pincode deliverability
|
|
16008
|
-
*
|
|
16009
|
-
* @param pathParams - Path parameters
|
|
16010
|
-
* @returns Promise with pincode deliverability result
|
|
16011
|
-
* @example
|
|
16012
|
-
* ```typescript
|
|
16013
|
-
* const { data, error } = await sdk.shipping.checkPincodeDeliverability({
|
|
16014
|
-
* pincode: "400001"
|
|
16015
|
-
* });
|
|
16016
|
-
*
|
|
16017
|
-
* if (error) {
|
|
16018
|
-
* console.error("Failed to check pincode serviceability:", error.message);
|
|
16019
|
-
* } else {
|
|
16020
|
-
* console.log("Pincode serviceable:", data.is_serviceable);
|
|
16021
|
-
*
|
|
16022
|
-
* if (data.is_serviceable) {
|
|
16023
|
-
* console.log("Delivery is available to this pincode");
|
|
16024
|
-
* } else {
|
|
16025
|
-
* console.log("Delivery is not available to this pincode");
|
|
16026
|
-
* }
|
|
16027
|
-
* }
|
|
16028
|
-
* ```
|
|
16029
|
-
*/
|
|
16030
|
-
checkPincodeDeliverability(pathParams: CheckPincodeServiceabilityPathParams): Promise<ApiResult<CheckPincodeServiceabilityContent>>;
|
|
16031
|
-
/**
|
|
16032
|
-
* Get fulfillment options for an order
|
|
16033
|
-
*
|
|
16034
|
-
* @param body - Fulfillment options body containing cart_id and delivery_pincode
|
|
16035
|
-
* @returns Promise with fulfillment options including collect and delivery methods
|
|
16036
|
-
* @example
|
|
16037
|
-
* ```typescript
|
|
16038
|
-
* const { data, error } = await sdk.shipping.getFulfillmentOptions({
|
|
16039
|
-
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
16040
|
-
* delivery_pincode: "400001"
|
|
16041
|
-
* });
|
|
16042
|
-
*
|
|
16043
|
-
* if (error) {
|
|
16044
|
-
* console.error("Failed to get fulfillment options:", error.message);
|
|
16045
|
-
* } else {
|
|
16046
|
-
* // Check summary information
|
|
16047
|
-
* console.log("Collect available:", data.summary.collect_available);
|
|
16048
|
-
* console.log("Deliver available:", data.summary.deliver_available);
|
|
16049
|
-
* console.log("Recommended fulfillment type:", data.summary.recommended_fulfillment_type);
|
|
16050
|
-
*
|
|
16051
|
-
* // Access collect options
|
|
16052
|
-
* if (data.collect && data.collect.length > 0) {
|
|
16053
|
-
* console.log("Available stores for collection:");
|
|
16054
|
-
* data.collect.forEach(store => {
|
|
16055
|
-
* console.log(`${store.name} - ${store.distance_km}km away, ETA: ${store.collect_eta_minutes} minutes`);
|
|
16056
|
-
* });
|
|
16057
|
-
* }
|
|
16058
|
-
*
|
|
16059
|
-
* // Access delivery options
|
|
16060
|
-
* if (data.deliver && data.deliver.is_serviceable) {
|
|
16061
|
-
* console.log("Available shipping methods:");
|
|
16062
|
-
* data.deliver.shipping_methods.forEach(method => {
|
|
16063
|
-
* console.log(`${method.name} - ${method.shipping_amount}, ${method.estimated_delivery_days} days`);
|
|
16064
|
-
* });
|
|
16065
|
-
* }
|
|
16066
|
-
* }
|
|
16067
|
-
* ```
|
|
16068
|
-
*/
|
|
16069
|
-
getFulfillmentOptions(body: GetFulfillmentOptionsBody): Promise<ApiResult<GetFulfillmentOptionsContent>>;
|
|
16070
|
-
}
|
|
16071
|
-
//#endregion
|
|
16072
16451
|
//#region src/lib/helper.d.ts
|
|
16073
16452
|
/**
|
|
16074
16453
|
* Client for interacting with helper endpoints
|
|
@@ -16485,6 +16864,27 @@ declare class CustomerClient extends StorefrontAPIClient {
|
|
|
16485
16864
|
* ```
|
|
16486
16865
|
*/
|
|
16487
16866
|
listSavedPaymentMethods(pathParams: ListSavedPaymentMethodsPathParams): Promise<ApiResult<ListSavedPaymentMethodsContent>>;
|
|
16867
|
+
/**
|
|
16868
|
+
* List all saved cards for a customer
|
|
16869
|
+
*
|
|
16870
|
+
* @param pathParams - Path parameters
|
|
16871
|
+
* @returns Promise with cards
|
|
16872
|
+
*
|
|
16873
|
+
* @example
|
|
16874
|
+
* ```typescript
|
|
16875
|
+
* const { data, error } = await sdk.customer.listCustomerCards({
|
|
16876
|
+
* customer_id: "customer_123"
|
|
16877
|
+
* });
|
|
16878
|
+
*
|
|
16879
|
+
* if (error) {
|
|
16880
|
+
* console.error("Failed to list customer cards:", error);
|
|
16881
|
+
* return;
|
|
16882
|
+
* }
|
|
16883
|
+
*
|
|
16884
|
+
* console.log("Customer cards:", data.cards);
|
|
16885
|
+
* ```
|
|
16886
|
+
*/
|
|
16887
|
+
listCustomerCards(pathParams: ListCustomerCardsPathParams): Promise<ApiResult<ListCustomerCardsContent>>;
|
|
16488
16888
|
}
|
|
16489
16889
|
//#endregion
|
|
16490
16890
|
//#region src/lib/store-config.d.ts
|
|
@@ -16720,10 +17120,6 @@ declare class StorefrontSDK {
|
|
|
16720
17120
|
* Client for helper-related endpoints
|
|
16721
17121
|
*/
|
|
16722
17122
|
readonly helpers: HelpersClient;
|
|
16723
|
-
/**
|
|
16724
|
-
* Client for shipping-related endpoints
|
|
16725
|
-
*/
|
|
16726
|
-
readonly shipping: ShippingClient;
|
|
16727
17123
|
/**
|
|
16728
17124
|
* Client for order-related endpoints
|
|
16729
17125
|
*/
|
|
@@ -16829,5 +17225,5 @@ declare class StorefrontSDK {
|
|
|
16829
17225
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
16830
17226
|
}
|
|
16831
17227
|
//#endregion
|
|
16832
|
-
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JusPayExpressCheckout, JusPayExpressCheckoutCommonField, JusPayExpressCheckoutResponse, JusPayHyperCheckout, JusPayHyperCheckoutResponse, JusPayNewCard, JusPaySavedCardToken, JuspayCardPaymentMethod, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayNetBanking, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollect, JuspayUpiIntent, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, ManualPaymentMethod, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PauseSubscription, PayWithCard, PayWithCash, PayWithUpi, PaymentInfo, PaymentMethodPayload, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShipmentStatus, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
17228
|
+
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, CardbinInfo, Cart, CartBasedFulfillmentCheck, CartBasedFulfillmentOption, CartClient, CartItem, CartShipment, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckFulfillmentBody, CheckFulfillmentContent, CheckFulfillmentResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DeliveryOption, 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, GetCardInfoContent, GetCardInfoQuery, GetCardInfoResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, ItemsBasedFulfillmentCheck, JusPayExpressCheckout, JusPayExpressCheckoutCommonField, JusPayExpressCheckoutResponse, JusPayHyperCheckout, JusPayHyperCheckoutResponse, JusPayNewCard, JusPaySavedCardToken, JuspayCardDetail, JuspayCardPaymentMethod, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayNetBanking, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollect, JuspayUpiIntent, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListCustomerCardsContent, ListCustomerCardsPathParams, ListCustomerCardsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsQuery, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, ManualPaymentMethod, MarketplaceProduct, MarketplaceProductDetail, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PauseSubscription, PayWithCard, PayWithCash, PayWithUpi, PaymentInfo, PaymentMethodPayload, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, SellerDetail, Seo, ShipmentItem, ShipmentStatus, 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, UnserviceableItem, 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 };
|
|
16833
17229
|
//# sourceMappingURL=index.d.mts.map
|