@commercengine/storefront-sdk 0.11.0 → 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-C8nXwxS6.d.ts → index.d.mts} +817 -437
- package/dist/index.iife.js +296 -220
- package/dist/index.iife.js.map +1 -1
- package/dist/{index.js → index.mjs} +295 -218
- package/dist/index.mjs.map +1 -0
- package/package.json +10 -10
- package/dist/index.js.map +0 -1
|
@@ -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;
|
|
@@ -12771,7 +13075,7 @@ interface operations {
|
|
|
12771
13075
|
};
|
|
12772
13076
|
}
|
|
12773
13077
|
//#endregion
|
|
12774
|
-
//#region ../sdk-core/dist/index.d.
|
|
13078
|
+
//#region ../sdk-core/dist/index.d.mts
|
|
12775
13079
|
//#region src/types/api.d.ts
|
|
12776
13080
|
|
|
12777
13081
|
/**
|
|
@@ -13177,9 +13481,6 @@ declare enum Environment {
|
|
|
13177
13481
|
*/
|
|
13178
13482
|
Production = "production",
|
|
13179
13483
|
}
|
|
13180
|
-
/**
|
|
13181
|
-
* Commerce Engine specific SDK configuration
|
|
13182
|
-
*/
|
|
13183
13484
|
//#endregion
|
|
13184
13485
|
//#region src/types/storefront-api-types.d.ts
|
|
13185
13486
|
type AcceleratedRewardCouponPromotion = components['schemas']['AcceleratedRewardCouponPromotion'];
|
|
@@ -13203,9 +13504,12 @@ type BuyXGetYRule = components['schemas']['BuyXGetYRule'];
|
|
|
13203
13504
|
type BuyXGetYRuleBasedOnAmount = components['schemas']['BuyXGetYRuleBasedOnAmount'];
|
|
13204
13505
|
type BuyXGetYRuleBasedOnQuantity = components['schemas']['BuyXGetYRuleBasedOnQuantity'];
|
|
13205
13506
|
type CardPayment = components['schemas']['CardPayment'];
|
|
13507
|
+
type CardbinInfo = components['schemas']['CardbinInfo'];
|
|
13206
13508
|
type Cart = components['schemas']['Cart'];
|
|
13207
|
-
type
|
|
13509
|
+
type CartBasedFulfillmentCheck = components['schemas']['CartBasedFulfillmentCheck'];
|
|
13510
|
+
type CartBasedFulfillmentOption = components['schemas']['CartBasedFulfillmentOption'];
|
|
13208
13511
|
type CartItem = components['schemas']['CartItem'];
|
|
13512
|
+
type CartShipment = components['schemas']['CartShipment'];
|
|
13209
13513
|
type Category = components['schemas']['Category'];
|
|
13210
13514
|
type CollectInStore = components['schemas']['CollectInStore'];
|
|
13211
13515
|
type CollectInStoreAddress = components['schemas']['CollectInStoreAddress'];
|
|
@@ -13234,6 +13538,7 @@ type CustomerReadyForReview = components['schemas']['CustomerReadyForReview'];
|
|
|
13234
13538
|
type CustomerReview = components['schemas']['CustomerReview'];
|
|
13235
13539
|
type DateAttribute = components['schemas']['DateAttribute'];
|
|
13236
13540
|
type DeliveryFulfillment = components['schemas']['DeliveryFulfillment'];
|
|
13541
|
+
type DeliveryOption = components['schemas']['DeliveryOption'];
|
|
13237
13542
|
type DiscountBasedPromotion = components['schemas']['DiscountBasedPromotion'];
|
|
13238
13543
|
type DiscountCouponPromotion = components['schemas']['DiscountCouponPromotion'];
|
|
13239
13544
|
type DiscountRule = components['schemas']['DiscountRule'];
|
|
@@ -13256,6 +13561,7 @@ type GstinDetail = components['schemas']['GstinDetail'];
|
|
|
13256
13561
|
type InapplicableCoupon = components['schemas']['InapplicableCoupon'];
|
|
13257
13562
|
type InapplicablePromotion = components['schemas']['InapplicablePromotion'];
|
|
13258
13563
|
type Item = components['schemas']['Item'];
|
|
13564
|
+
type ItemsBasedFulfillmentCheck = components['schemas']['ItemsBasedFulfillmentCheck'];
|
|
13259
13565
|
type JusPayExpressCheckout = components['schemas']['JusPayExpressCheckout'];
|
|
13260
13566
|
type JusPayExpressCheckoutCommonField = components['schemas']['JusPayExpressCheckoutCommonField'];
|
|
13261
13567
|
type JusPayExpressCheckoutResponse = components['schemas']['JusPayExpressCheckoutResponse'];
|
|
@@ -13263,6 +13569,7 @@ type JusPayHyperCheckout = components['schemas']['JusPayHyperCheckout'];
|
|
|
13263
13569
|
type JusPayHyperCheckoutResponse = components['schemas']['JusPayHyperCheckoutResponse'];
|
|
13264
13570
|
type JusPayNewCard = components['schemas']['JusPayNewCard'];
|
|
13265
13571
|
type JusPaySavedCardToken = components['schemas']['JusPaySavedCardToken'];
|
|
13572
|
+
type JuspayCardDetail = components['schemas']['JuspayCardDetail'];
|
|
13266
13573
|
type JuspayCardPaymentMethod = components['schemas']['JuspayCardPaymentMethod'];
|
|
13267
13574
|
type JuspayCreateCustomerPayload = components['schemas']['JuspayCreateCustomerPayload'];
|
|
13268
13575
|
type JuspayCreateOrderPayload = components['schemas']['JuspayCreateOrderPayload'];
|
|
@@ -13281,6 +13588,8 @@ type KycDocumentConfig = components['schemas']['KycDocumentConfig'];
|
|
|
13281
13588
|
type LotBatchDetail = components['schemas']['LotBatchDetail'];
|
|
13282
13589
|
type LoyaltyPointActivity = components['schemas']['LoyaltyPointActivity'];
|
|
13283
13590
|
type ManualPaymentMethod = components['schemas']['ManualPaymentMethod'];
|
|
13591
|
+
type MarketplaceProduct = components['schemas']['MarketplaceProduct'];
|
|
13592
|
+
type MarketplaceProductDetail = components['schemas']['MarketplaceProductDetail'];
|
|
13284
13593
|
type MeasurementUnit = components['schemas']['MeasurementUnit'];
|
|
13285
13594
|
type MultiSelectAttribute = components['schemas']['MultiSelectAttribute'];
|
|
13286
13595
|
type NetbankingPayment = components['schemas']['NetbankingPayment'];
|
|
@@ -13309,7 +13618,6 @@ type PayuPaymentInfo = components['schemas']['PayuPaymentInfo'];
|
|
|
13309
13618
|
type PayuPaymentMethod = components['schemas']['PayuPaymentMethod'];
|
|
13310
13619
|
type PercentageDiscountRule = components['schemas']['PercentageDiscountRule'];
|
|
13311
13620
|
type Pincode = components['schemas']['Pincode'];
|
|
13312
|
-
type PincodeServiceability = components['schemas']['PincodeServiceability'];
|
|
13313
13621
|
type PosDevice = components['schemas']['PosDevice'];
|
|
13314
13622
|
type PosDeviceClaimedUser = components['schemas']['PosDeviceClaimedUser'];
|
|
13315
13623
|
type PosLocation = components['schemas']['PosLocation'];
|
|
@@ -13336,6 +13644,7 @@ type RegisterWithPhonePassword = components['schemas']['RegisterWithPhonePasswor
|
|
|
13336
13644
|
type RevokeSubscription = components['schemas']['RevokeSubscription'];
|
|
13337
13645
|
type SavedPaymentMethod = components['schemas']['SavedPaymentMethod'];
|
|
13338
13646
|
type SearchProduct = components['schemas']['SearchProduct'];
|
|
13647
|
+
type SellerDetail = components['schemas']['SellerDetail'];
|
|
13339
13648
|
type Seo = components['schemas']['Seo'];
|
|
13340
13649
|
type ShipmentItem = components['schemas']['ShipmentItem'];
|
|
13341
13650
|
type ShipmentStatus = components['schemas']['ShipmentStatus'];
|
|
@@ -13348,6 +13657,7 @@ type SubscriptionBehaviour = components['schemas']['SubscriptionBehaviour'];
|
|
|
13348
13657
|
type SubscriptionDetail = components['schemas']['SubscriptionDetail'];
|
|
13349
13658
|
type SubscriptionInvoiceItem = components['schemas']['SubscriptionInvoiceItem'];
|
|
13350
13659
|
type TextAttribute = components['schemas']['TextAttribute'];
|
|
13660
|
+
type UnserviceableItem = components['schemas']['UnserviceableItem'];
|
|
13351
13661
|
type UpdateCartItem = components['schemas']['UpdateCartItem'];
|
|
13352
13662
|
type UpdateCustomer = components['schemas']['UpdateCustomer'];
|
|
13353
13663
|
type UpdateDigitalProductSubscription = components['schemas']['UpdateDigitalProductSubscription'];
|
|
@@ -13461,6 +13771,9 @@ type ListCouponsHeaderParams = paths['/carts/available-coupons']['get']['paramet
|
|
|
13461
13771
|
type ListPromotionsResponse = paths['/carts/available-promotions']['get']['responses'][200]['content']['application/json'];
|
|
13462
13772
|
type ListPromotionsContent = ListPromotionsResponse['content'];
|
|
13463
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'];
|
|
13464
13777
|
type GetUserCartResponse = paths['/carts/users/{user_id}']['get']['responses'][200]['content']['application/json'];
|
|
13465
13778
|
type GetUserCartContent = GetUserCartResponse['content'];
|
|
13466
13779
|
type GetUserCartPathParams = paths['/carts/users/{user_id}']['get']['parameters']['path'];
|
|
@@ -13620,6 +13933,9 @@ type ListCountryStatesPathParams = paths['/common/countries/{country_iso_code}/s
|
|
|
13620
13933
|
type CreateCustomerResponse = paths['/customers']['post']['responses'][200]['content']['application/json'];
|
|
13621
13934
|
type CreateCustomerContent = CreateCustomerResponse['content'];
|
|
13622
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'];
|
|
13623
13939
|
type ListSavedPaymentMethodsResponse = paths['/customers/{customer_id}/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13624
13940
|
type ListSavedPaymentMethodsContent = ListSavedPaymentMethodsResponse['content'];
|
|
13625
13941
|
type ListSavedPaymentMethodsPathParams = paths['/customers/{customer_id}/payment-methods']['get']['parameters']['path'];
|
|
@@ -13677,6 +13993,9 @@ type ListLoyaltyActivitiesPathParams = paths['/customers/{user_id}/loyalty-point
|
|
|
13677
13993
|
type ListUserReviewsResponse = paths['/customers/{user_id}/reviews']['get']['responses'][200]['content']['application/json'];
|
|
13678
13994
|
type ListUserReviewsContent = ListUserReviewsResponse['content'];
|
|
13679
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'];
|
|
13680
13999
|
type CreateOrderResponse = paths['/orders']['post']['responses'][200]['content']['application/json'];
|
|
13681
14000
|
type CreateOrderContent = CreateOrderResponse['content'];
|
|
13682
14001
|
type CreateOrderBody = NonNullable<paths['/orders']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13717,6 +14036,9 @@ type ListOrderShipmentsContent = ListOrderShipmentsResponse['content'];
|
|
|
13717
14036
|
type ListOrderShipmentsPathParams = paths['/orders/{order_number}/shipments']['get']['parameters']['path'];
|
|
13718
14037
|
type AuthenticateDirectOtpResponse = paths['/payments/authenticate-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13719
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'];
|
|
13720
14042
|
type GenerateHashResponse = paths['/payments/generate-hash']['post']['responses'][200]['content']['application/json'];
|
|
13721
14043
|
type GenerateHashContent = GenerateHashResponse['content'];
|
|
13722
14044
|
type GenerateHashBody = NonNullable<paths['/payments/generate-hash']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13731,6 +14053,7 @@ type GetJuspayCustomerContent = GetJuspayCustomerResponse['content'];
|
|
|
13731
14053
|
type GetJuspayCustomerPathParams = paths['/payments/juspay/customers/{user_id}']['get']['parameters']['path'];
|
|
13732
14054
|
type ListPaymentMethodsResponse = paths['/payments/payment-methods']['get']['responses'][200]['content']['application/json'];
|
|
13733
14055
|
type ListPaymentMethodsContent = ListPaymentMethodsResponse['content'];
|
|
14056
|
+
type ListPaymentMethodsQuery = paths['/payments/payment-methods']['get']['parameters']['query'];
|
|
13734
14057
|
type ResendDirectOtpResponse = paths['/payments/resend-direct-otp']['post']['responses'][200]['content']['application/json'];
|
|
13735
14058
|
type ResendDirectOtpContent = ResendDirectOtpResponse['content'];
|
|
13736
14059
|
type ResendDirectOtpBody = NonNullable<paths['/payments/resend-direct-otp']['post']['requestBody']>['content']['application/json'];
|
|
@@ -13887,12 +14210,6 @@ type PosGetPaymentStatusPathParams = paths['/pos/orders/{order_number}/payment-s
|
|
|
13887
14210
|
type GetPosUserResponse = paths['/pos/users/{id}']['get']['responses'][200]['content']['application/json'];
|
|
13888
14211
|
type GetPosUserContent = GetPosUserResponse['content'];
|
|
13889
14212
|
type GetPosUserPathParams = paths['/pos/users/{id}']['get']['parameters']['path'];
|
|
13890
|
-
type GetFulfillmentOptionsResponse = paths['/shipping/fulfillment-options']['post']['responses'][200]['content']['application/json'];
|
|
13891
|
-
type GetFulfillmentOptionsContent = GetFulfillmentOptionsResponse['content'];
|
|
13892
|
-
type GetFulfillmentOptionsBody = NonNullable<paths['/shipping/fulfillment-options']['post']['requestBody']>['content']['application/json'];
|
|
13893
|
-
type CheckPincodeServiceabilityResponse = paths['/shipping/serviceability/{pincode}']['get']['responses'][200]['content']['application/json'];
|
|
13894
|
-
type CheckPincodeServiceabilityContent = CheckPincodeServiceabilityResponse['content'];
|
|
13895
|
-
type CheckPincodeServiceabilityPathParams = paths['/shipping/serviceability/{pincode}']['get']['parameters']['path'];
|
|
13896
14213
|
type GetConfigResponse = paths['/store/config']['get']['responses'][200]['content']['application/json'];
|
|
13897
14214
|
type GetConfigContent = GetConfigResponse['content'];
|
|
13898
14215
|
type ListKycDocumentResponse = paths['/store/kyc-document']['get']['responses'][200]['content']['application/json'];
|
|
@@ -14675,72 +14992,291 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14675
14992
|
*/
|
|
14676
14993
|
removeCoupon(cartId: RemoveCouponPathParams): Promise<ApiResult<RemoveCouponContent>>;
|
|
14677
14994
|
/**
|
|
14678
|
-
|
|
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
|
|
14679
15023
|
*
|
|
14680
|
-
* @param
|
|
14681
|
-
* @
|
|
14682
|
-
* @returns Promise with updated cart
|
|
15024
|
+
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
15025
|
+
* @returns Promise with all available promotions
|
|
14683
15026
|
* @example
|
|
14684
15027
|
* ```typescript
|
|
14685
|
-
*
|
|
14686
|
-
*
|
|
14687
|
-
* { loyalty_point_redeemed: 500 }
|
|
14688
|
-
* );
|
|
15028
|
+
* // Get all available promotions
|
|
15029
|
+
* const { data, error } = await sdk.cart.getAvailablePromotions();
|
|
14689
15030
|
*
|
|
14690
15031
|
* if (error) {
|
|
14691
|
-
* console.error("Failed to
|
|
15032
|
+
* console.error("Failed to get available promotions:", error.message);
|
|
14692
15033
|
* } else {
|
|
14693
|
-
*
|
|
14694
|
-
* console.log("
|
|
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
|
+
* });
|
|
14695
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
|
+
* });
|
|
14696
15045
|
* ```
|
|
14697
15046
|
*/
|
|
14698
|
-
|
|
15047
|
+
getAvailablePromotions(headers?: ListPromotionsHeaderParams): Promise<ApiResult<ListPromotionsContent>>;
|
|
14699
15048
|
/**
|
|
14700
|
-
*
|
|
15049
|
+
* Evaluate promotions
|
|
14701
15050
|
*
|
|
14702
15051
|
* @param cartId - The ID of the cart
|
|
14703
|
-
* @returns Promise with
|
|
15052
|
+
* @returns Promise with evaluated promotions
|
|
14704
15053
|
* @example
|
|
14705
15054
|
* ```typescript
|
|
14706
|
-
* const { data, error } = await sdk.cart.
|
|
15055
|
+
* const { data, error } = await sdk.cart.evaluatePromotions({
|
|
14707
15056
|
* id: "01H9CART12345ABCDE"
|
|
14708
15057
|
* });
|
|
14709
15058
|
*
|
|
14710
15059
|
* if (error) {
|
|
14711
|
-
* console.error("Failed to
|
|
15060
|
+
* console.error("Failed to evaluate promotions:", error.message);
|
|
14712
15061
|
* } else {
|
|
14713
|
-
*
|
|
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
|
+
* });
|
|
14714
15074
|
* }
|
|
14715
15075
|
* ```
|
|
14716
15076
|
*/
|
|
14717
|
-
|
|
15077
|
+
evaluatePromotions(cartId: EvaluatePromotionsPathParams): Promise<ApiResult<EvaluatePromotionsContent>>;
|
|
14718
15078
|
/**
|
|
14719
|
-
*
|
|
15079
|
+
* Evaluate coupons
|
|
14720
15080
|
*
|
|
14721
15081
|
* @param cartId - The ID of the cart
|
|
14722
|
-
* @
|
|
14723
|
-
* @returns Promise with updated cart
|
|
15082
|
+
* @returns Promise with evaluated coupons
|
|
14724
15083
|
* @example
|
|
14725
15084
|
* ```typescript
|
|
14726
|
-
* const { data, error } = await sdk.cart.
|
|
14727
|
-
*
|
|
14728
|
-
*
|
|
14729
|
-
* fulfillment_type: "delivery",
|
|
14730
|
-
* shipping_provider_id: "01H9SHIP12345FAST",
|
|
14731
|
-
* courier_company_id: "01H9COY12345FAST", // Optional
|
|
14732
|
-
* }
|
|
14733
|
-
* );
|
|
15085
|
+
* const { data, error } = await sdk.cart.evaluateCoupons({
|
|
15086
|
+
* id: "01H9CART12345ABCDE"
|
|
15087
|
+
* });
|
|
14734
15088
|
*
|
|
14735
15089
|
* if (error) {
|
|
14736
|
-
* console.error("Failed to
|
|
15090
|
+
* console.error("Failed to evaluate coupons:", error.message);
|
|
14737
15091
|
* } else {
|
|
14738
|
-
*
|
|
14739
|
-
*
|
|
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
|
+
* });
|
|
14740
15104
|
* }
|
|
14741
15105
|
* ```
|
|
14742
15106
|
*/
|
|
15107
|
+
evaluateCoupons(cartId: EvaluateCouponsPathParams): Promise<ApiResult<EvaluateCouponsContent>>;
|
|
15108
|
+
/**
|
|
15109
|
+
* Redeem loyalty points
|
|
15110
|
+
*
|
|
15111
|
+
* @param cartId - The ID of the cart
|
|
15112
|
+
* @param points - The number of points to redeem
|
|
15113
|
+
* @returns Promise with updated cart
|
|
15114
|
+
* @example
|
|
15115
|
+
* ```typescript
|
|
15116
|
+
* const { data, error } = await sdk.cart.redeemLoyaltyPoints(
|
|
15117
|
+
* { id: "01H9CART12345ABCDE" },
|
|
15118
|
+
* { loyalty_point_redeemed: 500 }
|
|
15119
|
+
* );
|
|
15120
|
+
*
|
|
15121
|
+
* if (error) {
|
|
15122
|
+
* console.error("Failed to redeem loyalty points:", error.message);
|
|
15123
|
+
* } else {
|
|
15124
|
+
* console.log("Points redeemed, new total:", data.cart.grand_total);
|
|
15125
|
+
* console.log("Points redeemed:", data.cart.loyalty_points_redeemed);
|
|
15126
|
+
* }
|
|
15127
|
+
* ```
|
|
15128
|
+
*/
|
|
15129
|
+
redeemLoyaltyPoints(cartId: RedeemLoyaltyPointsPathParams, points: RedeemLoyaltyPointsBody): Promise<ApiResult<RedeemLoyaltyPointsContent>>;
|
|
15130
|
+
/**
|
|
15131
|
+
* Remove loyalty points
|
|
15132
|
+
*
|
|
15133
|
+
* @param cartId - The ID of the cart
|
|
15134
|
+
* @returns Promise with updated cart
|
|
15135
|
+
* @example
|
|
15136
|
+
* ```typescript
|
|
15137
|
+
* const { data, error } = await sdk.cart.removeLoyaltyPoints({
|
|
15138
|
+
* id: "01H9CART12345ABCDE"
|
|
15139
|
+
* });
|
|
15140
|
+
*
|
|
15141
|
+
* if (error) {
|
|
15142
|
+
* console.error("Failed to remove loyalty points:", error.message);
|
|
15143
|
+
* } else {
|
|
15144
|
+
* console.log("Loyalty points removed, new total:", data.cart.grand_total);
|
|
15145
|
+
* }
|
|
15146
|
+
* ```
|
|
15147
|
+
*/
|
|
15148
|
+
removeLoyaltyPoints(cartId: RemoveLoyaltyPointsPathParams): Promise<ApiResult<RemoveLoyaltyPointsContent>>;
|
|
15149
|
+
/**
|
|
15150
|
+
* Update fulfillment preference
|
|
15151
|
+
*
|
|
15152
|
+
* @param cartId - The ID of the cart
|
|
15153
|
+
* @param body - The body of the request
|
|
15154
|
+
* @returns Promise with updated cart
|
|
15155
|
+
* @example
|
|
15156
|
+
* ```typescript
|
|
15157
|
+
* // For delivery fulfillment with shipments
|
|
15158
|
+
* const { data, error } = await sdk.cart.updateFulfillmentPreference(
|
|
15159
|
+
* { id: "01H9CART12345ABCDE" },
|
|
15160
|
+
* {
|
|
15161
|
+
* fulfillment_type: "delivery",
|
|
15162
|
+
* shipments: [
|
|
15163
|
+
* {
|
|
15164
|
+
* id: "01H9SHIP12345ABCDE",
|
|
15165
|
+
* shipping_provider_id: "01H9PROV12345FAST",
|
|
15166
|
+
* courier_company_id: "01H9COY12345FAST" // Optional
|
|
15167
|
+
* }
|
|
15168
|
+
* ]
|
|
15169
|
+
* }
|
|
15170
|
+
* );
|
|
15171
|
+
*
|
|
15172
|
+
* if (error) {
|
|
15173
|
+
* console.error("Failed to update fulfillment preference:", error.message);
|
|
15174
|
+
* } else {
|
|
15175
|
+
* console.log("Fulfillment preference updated:", data.cart.fulfillment_preference?.fulfillment_type);
|
|
15176
|
+
* console.log("Shipping cost:", data.cart.shipping_amount);
|
|
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
|
+
* );
|
|
15187
|
+
* ```
|
|
15188
|
+
*/
|
|
14743
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>>;
|
|
14744
15280
|
/**
|
|
14745
15281
|
* Use credit balance
|
|
14746
15282
|
*
|
|
@@ -14855,120 +15391,6 @@ declare class CartClient extends StorefrontAPIClient {
|
|
|
14855
15391
|
* ```
|
|
14856
15392
|
*/
|
|
14857
15393
|
removeFromWishlist(userId: DeleteFromWishlistPathParams, body: DeleteFromWishlistBody): Promise<ApiResult<DeleteFromWishlistContent>>;
|
|
14858
|
-
/**
|
|
14859
|
-
* Get all available coupons
|
|
14860
|
-
*
|
|
14861
|
-
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
14862
|
-
* @returns Promise with all available coupons
|
|
14863
|
-
* @example
|
|
14864
|
-
* ```typescript
|
|
14865
|
-
* // Get all available coupons
|
|
14866
|
-
* const { data, error } = await sdk.cart.getAvailableCoupons();
|
|
14867
|
-
*
|
|
14868
|
-
* if (error) {
|
|
14869
|
-
* console.error("Failed to get available coupons:", error.message);
|
|
14870
|
-
* } else {
|
|
14871
|
-
* const coupons = data.coupons || [];
|
|
14872
|
-
* console.log("Available coupons:", coupons.length);
|
|
14873
|
-
* coupons.forEach(coupon => {
|
|
14874
|
-
* console.log("Coupon:", coupon.code, "Discount:", coupon.discount_amount);
|
|
14875
|
-
* });
|
|
14876
|
-
* }
|
|
14877
|
-
*
|
|
14878
|
-
* // Override customer group ID for this specific request
|
|
14879
|
-
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailableCoupons({
|
|
14880
|
-
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
14881
|
-
* });
|
|
14882
|
-
* ```
|
|
14883
|
-
*/
|
|
14884
|
-
getAvailableCoupons(headers?: ListCouponsHeaderParams): Promise<ApiResult<ListCouponsContent>>;
|
|
14885
|
-
/**
|
|
14886
|
-
* Get all available promotions
|
|
14887
|
-
*
|
|
14888
|
-
* @param headers - Optional header parameters (customer_group_id, etc.)
|
|
14889
|
-
* @returns Promise with all available promotions
|
|
14890
|
-
* @example
|
|
14891
|
-
* ```typescript
|
|
14892
|
-
* // Get all available promotions
|
|
14893
|
-
* const { data, error } = await sdk.cart.getAvailablePromotions();
|
|
14894
|
-
*
|
|
14895
|
-
* if (error) {
|
|
14896
|
-
* console.error("Failed to get available promotions:", error.message);
|
|
14897
|
-
* } else {
|
|
14898
|
-
* const promotions = data.promotions || [];
|
|
14899
|
-
* console.log("Available promotions:", promotions.length);
|
|
14900
|
-
* promotions.forEach(promotion => {
|
|
14901
|
-
* console.log("Promotion:", promotion.name, "Type:", promotion.promotion_type);
|
|
14902
|
-
* });
|
|
14903
|
-
* }
|
|
14904
|
-
*
|
|
14905
|
-
* // Override customer group ID for this specific request
|
|
14906
|
-
* const { data: overrideData, error: overrideError } = await sdk.cart.getAvailablePromotions({
|
|
14907
|
-
* "x-customer-group-id": "01H9GROUP12345ABC" // Override default SDK config
|
|
14908
|
-
* });
|
|
14909
|
-
* ```
|
|
14910
|
-
*/
|
|
14911
|
-
getAvailablePromotions(headers?: ListPromotionsHeaderParams): Promise<ApiResult<ListPromotionsContent>>;
|
|
14912
|
-
/**
|
|
14913
|
-
* Evaluate promotions
|
|
14914
|
-
*
|
|
14915
|
-
* @param cartId - The ID of the cart
|
|
14916
|
-
* @returns Promise with evaluated promotions
|
|
14917
|
-
* @example
|
|
14918
|
-
* ```typescript
|
|
14919
|
-
* const { data, error } = await sdk.cart.evaluatePromotions({
|
|
14920
|
-
* id: "01H9CART12345ABCDE"
|
|
14921
|
-
* });
|
|
14922
|
-
*
|
|
14923
|
-
* if (error) {
|
|
14924
|
-
* console.error("Failed to evaluate promotions:", error.message);
|
|
14925
|
-
* } else {
|
|
14926
|
-
* const applicable = data.applicable_promotions || [];
|
|
14927
|
-
* const inapplicable = data.inapplicable_promotions || [];
|
|
14928
|
-
*
|
|
14929
|
-
* console.log("Applicable promotions:", applicable.length);
|
|
14930
|
-
* applicable.forEach(promo => {
|
|
14931
|
-
* console.log(`- ${promo.name}: ${promo.savings_message}`);
|
|
14932
|
-
* });
|
|
14933
|
-
*
|
|
14934
|
-
* console.log("Inapplicable promotions:", inapplicable.length);
|
|
14935
|
-
* inapplicable.forEach(promo => {
|
|
14936
|
-
* console.log(`- ${promo.name}: ${promo.reason}`);
|
|
14937
|
-
* });
|
|
14938
|
-
* }
|
|
14939
|
-
* ```
|
|
14940
|
-
*/
|
|
14941
|
-
evaluatePromotions(cartId: EvaluatePromotionsPathParams): Promise<ApiResult<EvaluatePromotionsContent>>;
|
|
14942
|
-
/**
|
|
14943
|
-
* Evaluate coupons
|
|
14944
|
-
*
|
|
14945
|
-
* @param cartId - The ID of the cart
|
|
14946
|
-
* @returns Promise with evaluated coupons
|
|
14947
|
-
* @example
|
|
14948
|
-
* ```typescript
|
|
14949
|
-
* const { data, error } = await sdk.cart.evaluateCoupons({
|
|
14950
|
-
* id: "01H9CART12345ABCDE"
|
|
14951
|
-
* });
|
|
14952
|
-
*
|
|
14953
|
-
* if (error) {
|
|
14954
|
-
* console.error("Failed to evaluate coupons:", error.message);
|
|
14955
|
-
* } else {
|
|
14956
|
-
* const applicable = data.applicable_coupons || [];
|
|
14957
|
-
* const inapplicable = data.inapplicable_coupons || [];
|
|
14958
|
-
*
|
|
14959
|
-
* console.log("Applicable coupons:", applicable.length);
|
|
14960
|
-
* applicable.forEach(coupon => {
|
|
14961
|
-
* console.log(`- ${coupon.code}: Save $${coupon.estimated_discount}`);
|
|
14962
|
-
* });
|
|
14963
|
-
*
|
|
14964
|
-
* console.log("Inapplicable coupons:", inapplicable.length);
|
|
14965
|
-
* inapplicable.forEach(coupon => {
|
|
14966
|
-
* console.log(`- ${coupon.code}: ${coupon.reason}`);
|
|
14967
|
-
* });
|
|
14968
|
-
* }
|
|
14969
|
-
* ```
|
|
14970
|
-
*/
|
|
14971
|
-
evaluateCoupons(cartId: EvaluateCouponsPathParams): Promise<ApiResult<EvaluateCouponsContent>>;
|
|
14972
15394
|
}
|
|
14973
15395
|
//#endregion
|
|
14974
15396
|
//#region src/lib/auth.d.ts
|
|
@@ -15898,10 +16320,14 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15898
16320
|
/**
|
|
15899
16321
|
* List all available payment methods
|
|
15900
16322
|
*
|
|
16323
|
+
* @param queryParams - Query parameters containing the payment method type and payment provider slug
|
|
15901
16324
|
* @returns Promise with list of payment methods
|
|
15902
16325
|
* @example
|
|
15903
16326
|
* ```typescript
|
|
15904
|
-
* 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
|
+
* });
|
|
15905
16331
|
*
|
|
15906
16332
|
* if (error) {
|
|
15907
16333
|
* console.error("Failed to list payment methods:", error.message);
|
|
@@ -15915,7 +16341,7 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15915
16341
|
* }
|
|
15916
16342
|
* ```
|
|
15917
16343
|
*/
|
|
15918
|
-
listPaymentMethods(): Promise<ApiResult<ListPaymentMethodsContent>>;
|
|
16344
|
+
listPaymentMethods(queryParams: ListPaymentMethodsQuery): Promise<ApiResult<ListPaymentMethodsContent>>;
|
|
15919
16345
|
/**
|
|
15920
16346
|
* Verify a UPI Virtual Payment Address (VPA)
|
|
15921
16347
|
*
|
|
@@ -15946,6 +16372,27 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
15946
16372
|
* ```
|
|
15947
16373
|
*/
|
|
15948
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>>;
|
|
15949
16396
|
/**
|
|
15950
16397
|
* Authenticate a direct OTP for payment verification
|
|
15951
16398
|
*
|
|
@@ -16001,77 +16448,6 @@ declare class PaymentsClient extends StorefrontAPIClient {
|
|
|
16001
16448
|
resendDirectOtp(body: ResendDirectOtpBody): Promise<ApiResult<ResendDirectOtpContent>>;
|
|
16002
16449
|
}
|
|
16003
16450
|
//#endregion
|
|
16004
|
-
//#region src/lib/shipping.d.ts
|
|
16005
|
-
/**
|
|
16006
|
-
* Client for interacting with shipping endpoints
|
|
16007
|
-
*/
|
|
16008
|
-
declare class ShippingClient extends StorefrontAPIClient {
|
|
16009
|
-
/**
|
|
16010
|
-
* Check pincode deliverability
|
|
16011
|
-
*
|
|
16012
|
-
* @param pathParams - Path parameters
|
|
16013
|
-
* @returns Promise with pincode deliverability result
|
|
16014
|
-
* @example
|
|
16015
|
-
* ```typescript
|
|
16016
|
-
* const { data, error } = await sdk.shipping.checkPincodeDeliverability({
|
|
16017
|
-
* pincode: "400001"
|
|
16018
|
-
* });
|
|
16019
|
-
*
|
|
16020
|
-
* if (error) {
|
|
16021
|
-
* console.error("Failed to check pincode serviceability:", error.message);
|
|
16022
|
-
* } else {
|
|
16023
|
-
* console.log("Pincode serviceable:", data.is_serviceable);
|
|
16024
|
-
*
|
|
16025
|
-
* if (data.is_serviceable) {
|
|
16026
|
-
* console.log("Delivery is available to this pincode");
|
|
16027
|
-
* } else {
|
|
16028
|
-
* console.log("Delivery is not available to this pincode");
|
|
16029
|
-
* }
|
|
16030
|
-
* }
|
|
16031
|
-
* ```
|
|
16032
|
-
*/
|
|
16033
|
-
checkPincodeDeliverability(pathParams: CheckPincodeServiceabilityPathParams): Promise<ApiResult<CheckPincodeServiceabilityContent>>;
|
|
16034
|
-
/**
|
|
16035
|
-
* Get fulfillment options for an order
|
|
16036
|
-
*
|
|
16037
|
-
* @param body - Fulfillment options body containing cart_id and delivery_pincode
|
|
16038
|
-
* @returns Promise with fulfillment options including collect and delivery methods
|
|
16039
|
-
* @example
|
|
16040
|
-
* ```typescript
|
|
16041
|
-
* const { data, error } = await sdk.shipping.getFulfillmentOptions({
|
|
16042
|
-
* cart_id: "cart_01H9XYZ12345ABCDE",
|
|
16043
|
-
* delivery_pincode: "400001"
|
|
16044
|
-
* });
|
|
16045
|
-
*
|
|
16046
|
-
* if (error) {
|
|
16047
|
-
* console.error("Failed to get fulfillment options:", error.message);
|
|
16048
|
-
* } else {
|
|
16049
|
-
* // Check summary information
|
|
16050
|
-
* console.log("Collect available:", data.summary.collect_available);
|
|
16051
|
-
* console.log("Deliver available:", data.summary.deliver_available);
|
|
16052
|
-
* console.log("Recommended fulfillment type:", data.summary.recommended_fulfillment_type);
|
|
16053
|
-
*
|
|
16054
|
-
* // Access collect options
|
|
16055
|
-
* if (data.collect && data.collect.length > 0) {
|
|
16056
|
-
* console.log("Available stores for collection:");
|
|
16057
|
-
* data.collect.forEach(store => {
|
|
16058
|
-
* console.log(`${store.name} - ${store.distance_km}km away, ETA: ${store.collect_eta_minutes} minutes`);
|
|
16059
|
-
* });
|
|
16060
|
-
* }
|
|
16061
|
-
*
|
|
16062
|
-
* // Access delivery options
|
|
16063
|
-
* if (data.deliver && data.deliver.is_serviceable) {
|
|
16064
|
-
* console.log("Available shipping methods:");
|
|
16065
|
-
* data.deliver.shipping_methods.forEach(method => {
|
|
16066
|
-
* console.log(`${method.name} - ${method.shipping_amount}, ${method.estimated_delivery_days} days`);
|
|
16067
|
-
* });
|
|
16068
|
-
* }
|
|
16069
|
-
* }
|
|
16070
|
-
* ```
|
|
16071
|
-
*/
|
|
16072
|
-
getFulfillmentOptions(body: GetFulfillmentOptionsBody): Promise<ApiResult<GetFulfillmentOptionsContent>>;
|
|
16073
|
-
}
|
|
16074
|
-
//#endregion
|
|
16075
16451
|
//#region src/lib/helper.d.ts
|
|
16076
16452
|
/**
|
|
16077
16453
|
* Client for interacting with helper endpoints
|
|
@@ -16488,6 +16864,27 @@ declare class CustomerClient extends StorefrontAPIClient {
|
|
|
16488
16864
|
* ```
|
|
16489
16865
|
*/
|
|
16490
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>>;
|
|
16491
16888
|
}
|
|
16492
16889
|
//#endregion
|
|
16493
16890
|
//#region src/lib/store-config.d.ts
|
|
@@ -16602,9 +16999,6 @@ interface CookieTokenStorageOptions {
|
|
|
16602
16999
|
*/
|
|
16603
17000
|
sameSite?: "Strict" | "Lax" | "None";
|
|
16604
17001
|
}
|
|
16605
|
-
/**
|
|
16606
|
-
* Configuration for the auth middleware
|
|
16607
|
-
*/
|
|
16608
17002
|
//#endregion
|
|
16609
17003
|
//#region src/lib/jwt-utils.d.ts
|
|
16610
17004
|
/**
|
|
@@ -16615,10 +17009,6 @@ interface Channel {
|
|
|
16615
17009
|
name: string;
|
|
16616
17010
|
type: string;
|
|
16617
17011
|
}
|
|
16618
|
-
/**
|
|
16619
|
-
* JWT payload structure for storefront tokens
|
|
16620
|
-
*/
|
|
16621
|
-
|
|
16622
17012
|
/**
|
|
16623
17013
|
* User information extracted from JWT token
|
|
16624
17014
|
*/
|
|
@@ -16639,12 +17029,6 @@ interface UserInfo {
|
|
|
16639
17029
|
tokenExpiry: Date;
|
|
16640
17030
|
tokenIssuedAt: Date;
|
|
16641
17031
|
}
|
|
16642
|
-
/**
|
|
16643
|
-
* Decode and extract user information from a JWT token
|
|
16644
|
-
*
|
|
16645
|
-
* @param token - The JWT token to decode
|
|
16646
|
-
* @returns User information or null if token is invalid
|
|
16647
|
-
*/
|
|
16648
17032
|
//#endregion
|
|
16649
17033
|
//#region src/index.d.ts
|
|
16650
17034
|
/**
|
|
@@ -16736,10 +17120,6 @@ declare class StorefrontSDK {
|
|
|
16736
17120
|
* Client for helper-related endpoints
|
|
16737
17121
|
*/
|
|
16738
17122
|
readonly helpers: HelpersClient;
|
|
16739
|
-
/**
|
|
16740
|
-
* Client for shipping-related endpoints
|
|
16741
|
-
*/
|
|
16742
|
-
readonly shipping: ShippingClient;
|
|
16743
17123
|
/**
|
|
16744
17124
|
* Client for order-related endpoints
|
|
16745
17125
|
*/
|
|
@@ -16845,5 +17225,5 @@ declare class StorefrontSDK {
|
|
|
16845
17225
|
getDefaultHeaders(): SupportedDefaultHeaders | undefined;
|
|
16846
17226
|
}
|
|
16847
17227
|
//#endregion
|
|
16848
|
-
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEvent, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CardPayment, Cart, CartBasedServiceabilityCheck, CartClient, CartItem, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckPincodeServiceabilityContent, CheckPincodeServiceabilityPathParams, CheckPincodeServiceabilityResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscription, CreateCustomer, CreateCustomerBody, CreateCustomerContent, CreateCustomerResponse, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateNotificationPreferencesBody, CreateNotificationPreferencesContent, CreateNotificationPreferencesPathParams, CreateNotificationPreferencesResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturn, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReview, CreateStandardSubscription, CreateSubscription, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerClient, CustomerDetail, CustomerGroup, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeliveryFulfillment, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentPreference, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmail, GenerateOtpWithPhone, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetCustomerDetailContent, GetCustomerDetailPathParams, GetCustomerDetailResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetNotificationPreferencesContent, GetNotificationPreferencesPathParams, GetNotificationPreferencesResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, JusPayExpressCheckout, JusPayExpressCheckoutCommonField, JusPayExpressCheckoutResponse, JusPayHyperCheckout, JusPayHyperCheckoutResponse, JusPayNewCard, JusPaySavedCardToken, JuspayCardPaymentMethod, JuspayCreateCustomerPayload, JuspayCreateOrderPayload, JuspayCustomer, JuspayNetBanking, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollect, JuspayUpiIntent, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, KycDocument, KycDocumentConfig, ListAddressesContent, ListAddressesPathParams, ListAddressesQuery, ListAddressesResponse, ListCategoriesContent, ListCategoriesQuery, ListCategoriesResponse, ListCountriesContent, ListCountriesResponse, ListCountryPincodesContent, ListCountryPincodesPathParams, ListCountryPincodesQuery, ListCountryPincodesResponse, ListCountryStatesContent, ListCountryStatesPathParams, ListCountryStatesResponse, ListCouponsContent, ListCouponsHeaderParams, ListCouponsResponse, ListCrosssellProductsContent, ListCrosssellProductsHeaderParams, ListCrosssellProductsQuery, ListCrosssellProductsResponse, ListDocumentsContent, ListDocumentsPathParams, ListDocumentsResponse, ListKycDocumentContent, ListKycDocumentResponse, ListLoyaltyActivitiesContent, ListLoyaltyActivitiesPathParams, ListLoyaltyActivitiesQuery, ListLoyaltyActivitiesResponse, ListMarketplaceCategoriesContent, ListMarketplaceCategoriesQuery, ListMarketplaceCategoriesResponse, ListMarketplaceCrosssellProductsContent, ListMarketplaceCrosssellProductsHeaderParams, ListMarketplaceCrosssellProductsQuery, ListMarketplaceCrosssellProductsResponse, ListMarketplaceProductReviewsContent, ListMarketplaceProductReviewsPathParams, ListMarketplaceProductReviewsQuery, ListMarketplaceProductReviewsResponse, ListMarketplaceProductVariantsContent, ListMarketplaceProductVariantsHeaderParams, ListMarketplaceProductVariantsPathParams, ListMarketplaceProductVariantsQuery, ListMarketplaceProductVariantsResponse, ListMarketplaceProductsContent, ListMarketplaceProductsHeaderParams, ListMarketplaceProductsQuery, ListMarketplaceProductsResponse, ListMarketplaceSimilarProductsContent, ListMarketplaceSimilarProductsHeaderParams, ListMarketplaceSimilarProductsQuery, ListMarketplaceSimilarProductsResponse, ListMarketplaceSkusContent, ListMarketplaceSkusHeaderParams, ListMarketplaceSkusQuery, ListMarketplaceSkusResponse, ListMarketplaceUpsellProductsContent, ListMarketplaceUpsellProductsHeaderParams, ListMarketplaceUpsellProductsQuery, ListMarketplaceUpsellProductsResponse, ListOrderPaymentsContent, ListOrderPaymentsPathParams, ListOrderPaymentsResponse, ListOrderRefundsContent, ListOrderRefundsPathParams, ListOrderRefundsResponse, ListOrderShipmentsContent, ListOrderShipmentsPathParams, ListOrderShipmentsResponse, ListOrdersContent, ListOrdersQuery, ListOrdersResponse, ListPaymentMethodsContent, ListPaymentMethodsResponse, ListPosDevicesContent, ListPosDevicesResponse, ListPosLocationsContent, ListPosLocationsResponse, ListProductReviewsContent, ListProductReviewsPathParams, ListProductReviewsQuery, ListProductReviewsResponse, ListProductVariantsContent, ListProductVariantsHeaderParams, ListProductVariantsPathParams, ListProductVariantsQuery, ListProductVariantsResponse, ListProductsContent, ListProductsHeaderParams, ListProductsQuery, ListProductsResponse, ListPromotionsContent, ListPromotionsHeaderParams, ListPromotionsResponse, ListReturnsContent, ListReturnsResponse, ListSavedPaymentMethodsContent, ListSavedPaymentMethodsPathParams, ListSavedPaymentMethodsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, ListUserReviewsContent, ListUserReviewsPathParams, ListUserReviewsResponse, LoginPosDeviceWithEmailBody, LoginPosDeviceWithEmailContent, LoginPosDeviceWithEmailHeaderParams, LoginPosDeviceWithEmailResponse, LoginPosDeviceWithPhoneBody, LoginPosDeviceWithPhoneContent, LoginPosDeviceWithPhoneHeaderParams, LoginPosDeviceWithPhoneResponse, LoginPosDeviceWithWhatsappBody, LoginPosDeviceWithWhatsappContent, LoginPosDeviceWithWhatsappHeaderParams, LoginPosDeviceWithWhatsappResponse, LoginWithEmailBody, LoginWithEmailContent, LoginWithEmailHeaderParams, LoginWithEmailResponse, LoginWithPasswordBody, LoginWithPasswordContent, LoginWithPasswordResponse, LoginWithPhoneBody, LoginWithPhoneContent, LoginWithPhoneHeaderParams, LoginWithPhoneResponse, LoginWithWhatsappBody, LoginWithWhatsappContent, LoginWithWhatsappHeaderParams, LoginWithWhatsappResponse, LogoutContent, LogoutFromPosDeviceResponse, LogoutResponse, LotBatchDetail, LoyaltyPointActivity, ManualPaymentMethod, MeasurementUnit, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationPreferences, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderShipment, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PauseSubscription, PayWithCard, PayWithCash, PayWithUpi, PaymentInfo, PaymentMethodPayload, PaymentsClient, PayuPaymentInfo, PayuPaymentMethod, PercentageDiscountRule, Pincode, PincodeServiceability, PosApplyCouponBody, PosApplyCouponContent, PosApplyCouponPathParams, PosApplyCouponResponse, PosCreateCartAddressBody, PosCreateCartAddressContent, PosCreateCartAddressPathParams, PosCreateCartAddressResponse, PosCreateCartBody, PosCreateCartContent, PosCreateCartResponse, PosDeleteCartPathParams, PosDeleteCartResponse, PosDevice, PosDeviceClaimedUser, PosEvaluateCouponsContent, PosEvaluateCouponsPathParams, PosEvaluateCouponsResponse, PosEvaluatePromotionsContent, PosEvaluatePromotionsPathParams, PosEvaluatePromotionsResponse, PosGetCartContent, PosGetCartPathParams, PosGetCartResponse, PosGetPaymentStatusContent, PosGetPaymentStatusPathParams, PosGetPaymentStatusResponse, PosGetProductDetailContent, PosGetProductDetailHeaderParams, PosGetProductDetailPathParams, PosGetProductDetailQuery, PosGetProductDetailResponse, PosGetUserCartContent, PosGetUserCartPathParams, PosGetUserCartResponse, PosGetVariantDetailContent, PosGetVariantDetailHeaderParams, PosGetVariantDetailPathParams, PosGetVariantDetailQuery, PosGetVariantDetailResponse, PosListCategoriesContent, PosListCategoriesQuery, PosListCategoriesResponse, PosListCouponsContent, PosListCouponsHeaderParams, PosListCouponsResponse, PosListCrosssellProductsContent, PosListCrosssellProductsHeaderParams, PosListCrosssellProductsQuery, PosListCrosssellProductsResponse, PosListProductReviewsContent, PosListProductReviewsPathParams, PosListProductReviewsQuery, PosListProductReviewsResponse, PosListProductVariantsContent, PosListProductVariantsHeaderParams, PosListProductVariantsPathParams, PosListProductVariantsQuery, PosListProductVariantsResponse, PosListProductsContent, PosListProductsHeaderParams, PosListProductsQuery, PosListProductsResponse, PosListPromotionsContent, PosListPromotionsHeaderParams, PosListPromotionsResponse, PosListSimilarProductsContent, PosListSimilarProductsHeaderParams, PosListSimilarProductsQuery, PosListSimilarProductsResponse, PosListSkusContent, PosListSkusHeaderParams, PosListSkusQuery, PosListSkusResponse, PosListUpsellProductsContent, PosListUpsellProductsHeaderParams, PosListUpsellProductsQuery, PosListUpsellProductsResponse, PosLocation, PosRedeemCreditBalanceBody, PosRedeemCreditBalanceContent, PosRedeemCreditBalancePathParams, PosRedeemCreditBalanceResponse, PosRedeemLoyaltyPointsBody, PosRedeemLoyaltyPointsContent, PosRedeemLoyaltyPointsPathParams, PosRedeemLoyaltyPointsResponse, PosRemoveCouponContent, PosRemoveCouponPathParams, PosRemoveCouponResponse, PosRemoveCreditBalanceContent, PosRemoveCreditBalancePathParams, PosRemoveCreditBalanceResponse, PosRemoveLoyaltyPointsContent, PosRemoveLoyaltyPointsPathParams, PosRemoveLoyaltyPointsResponse, PosSearchProductsBody, PosSearchProductsContent, PosSearchProductsHeaderParams, PosSearchProductsResponse, PosUpdateCartBody, PosUpdateCartContent, PosUpdateCartPathParams, PosUpdateCartResponse, PosUpdateCustomerWithEmail, PosUpdateCustomerWithId, PosUpdateCustomerWithPhone, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailPassword, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhonePassword, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscription, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProduct, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, Seo, ShipmentItem, ShipmentStatus, ShippingClient, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontAPIClient, StorefrontSDK, StorefrontSDK as default, StorefrontSDKOptions, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviour, SubscriptionDetail, SubscriptionInvoiceItem, SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItem, UpdateCartPathParams, UpdateCartResponse, UpdateCustomer, UpdateCustomerBody, UpdateCustomerContent, UpdateCustomerPathParams, UpdateCustomerResponse, UpdateDigitalProductSubscription, UpdateDocument, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdateNotificationPreferencesBody, UpdateNotificationPreferencesContent, UpdateNotificationPreferencesPathParams, UpdateNotificationPreferencesResponse, UpdatePhysicalProductSubscription, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type components, createDebugMiddleware, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
16849
|
-
//# sourceMappingURL=index
|
|
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 };
|
|
17229
|
+
//# sourceMappingURL=index.d.mts.map
|