@commercengine/storefront-sdk 0.14.3 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1680 -175
- package/dist/index.iife.js +231 -128
- package/dist/index.iife.js.map +1 -1
- package/dist/index.mjs +124 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -7
package/dist/index.d.mts
CHANGED
|
@@ -2096,6 +2096,86 @@ interface paths {
|
|
|
2096
2096
|
patch?: never;
|
|
2097
2097
|
trace?: never;
|
|
2098
2098
|
};
|
|
2099
|
+
"/customers/{customer_id}/bank-accounts": {
|
|
2100
|
+
parameters: {
|
|
2101
|
+
query?: never;
|
|
2102
|
+
header?: never;
|
|
2103
|
+
path: {
|
|
2104
|
+
/** @description Customer id */customer_id: string;
|
|
2105
|
+
};
|
|
2106
|
+
cookie?: never;
|
|
2107
|
+
};
|
|
2108
|
+
/**
|
|
2109
|
+
* List all bank accounts
|
|
2110
|
+
* @description Retrieve all bank accounts for a customer. Returns an array of `CustomerBankAccount` objects. Optionally filter by `account_type`.
|
|
2111
|
+
*/
|
|
2112
|
+
get: operations["list-bank-accounts"];
|
|
2113
|
+
put?: never;
|
|
2114
|
+
/**
|
|
2115
|
+
* Create a bank account
|
|
2116
|
+
* @description Add a new bank account for a customer. Returns the created `CustomerBankAccount` object.
|
|
2117
|
+
*/
|
|
2118
|
+
post: operations["create-bank-account"];
|
|
2119
|
+
delete?: never;
|
|
2120
|
+
options?: never;
|
|
2121
|
+
head?: never;
|
|
2122
|
+
patch?: never;
|
|
2123
|
+
trace?: never;
|
|
2124
|
+
};
|
|
2125
|
+
"/customers/{customer_id}/bank-accounts/{account_id}": {
|
|
2126
|
+
parameters: {
|
|
2127
|
+
query?: never;
|
|
2128
|
+
header?: never;
|
|
2129
|
+
path: {
|
|
2130
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
2131
|
+
customer_id: string;
|
|
2132
|
+
};
|
|
2133
|
+
cookie?: never;
|
|
2134
|
+
};
|
|
2135
|
+
/**
|
|
2136
|
+
* Retrieve a bank account
|
|
2137
|
+
* @description Retrieve a specific bank account for a customer. Returns a `CustomerBankAccount` object.
|
|
2138
|
+
*/
|
|
2139
|
+
get: operations["get-bank-account-detail"];
|
|
2140
|
+
/**
|
|
2141
|
+
* Update a bank account
|
|
2142
|
+
* @description Update an existing bank account for a customer. Outbound accounts support full updates; inbound accounts can only update `is_default`. Returns the updated `CustomerBankAccount` object.
|
|
2143
|
+
*/
|
|
2144
|
+
put: operations["update-bank-account"];
|
|
2145
|
+
post?: never;
|
|
2146
|
+
/**
|
|
2147
|
+
* Delete a bank account
|
|
2148
|
+
* @description Remove a bank account from a customer.
|
|
2149
|
+
*/
|
|
2150
|
+
delete: operations["delete-bank-account"];
|
|
2151
|
+
options?: never;
|
|
2152
|
+
head?: never;
|
|
2153
|
+
patch?: never;
|
|
2154
|
+
trace?: never;
|
|
2155
|
+
};
|
|
2156
|
+
"/customers/{customer_id}/bank-accounts/{account_id}/verify": {
|
|
2157
|
+
parameters: {
|
|
2158
|
+
query?: never;
|
|
2159
|
+
header?: never;
|
|
2160
|
+
path: {
|
|
2161
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
2162
|
+
customer_id: string;
|
|
2163
|
+
};
|
|
2164
|
+
cookie?: never;
|
|
2165
|
+
};
|
|
2166
|
+
get?: never;
|
|
2167
|
+
put?: never;
|
|
2168
|
+
/**
|
|
2169
|
+
* Verify a bank account
|
|
2170
|
+
* @description Set the verification status of a bank account. Only the primary user of the customer account can perform this action. Returns the updated `CustomerBankAccount` object.
|
|
2171
|
+
*/
|
|
2172
|
+
post: operations["verify-bank-account"];
|
|
2173
|
+
delete?: never;
|
|
2174
|
+
options?: never;
|
|
2175
|
+
head?: never;
|
|
2176
|
+
patch?: never;
|
|
2177
|
+
trace?: never;
|
|
2178
|
+
};
|
|
2099
2179
|
"/customers/{customer_id}/cards": {
|
|
2100
2180
|
parameters: {
|
|
2101
2181
|
query?: never;
|
|
@@ -2118,6 +2198,28 @@ interface paths {
|
|
|
2118
2198
|
patch?: never;
|
|
2119
2199
|
trace?: never;
|
|
2120
2200
|
};
|
|
2201
|
+
"/customers/{customer_id}/credit-line-balance": {
|
|
2202
|
+
parameters: {
|
|
2203
|
+
query?: never;
|
|
2204
|
+
header?: never;
|
|
2205
|
+
path: {
|
|
2206
|
+
/** @description Customer Id */customer_id: string;
|
|
2207
|
+
};
|
|
2208
|
+
cookie?: never;
|
|
2209
|
+
};
|
|
2210
|
+
/**
|
|
2211
|
+
* Get credit line balance
|
|
2212
|
+
* @description Retrieves the customer's credit-line eligibility, their latest `CustomerCreditLineBalance`, and all currently `active` `CustomerMandate` records usable for credit-line debits.
|
|
2213
|
+
*/
|
|
2214
|
+
get: operations["get-customer-credit-line-balance"];
|
|
2215
|
+
put?: never;
|
|
2216
|
+
post?: never;
|
|
2217
|
+
delete?: never;
|
|
2218
|
+
options?: never;
|
|
2219
|
+
head?: never;
|
|
2220
|
+
patch?: never;
|
|
2221
|
+
trace?: never;
|
|
2222
|
+
};
|
|
2121
2223
|
"/customers/{customer_id}/documents": {
|
|
2122
2224
|
parameters: {
|
|
2123
2225
|
query?: never;
|
|
@@ -2237,6 +2339,150 @@ interface paths {
|
|
|
2237
2339
|
patch?: never;
|
|
2238
2340
|
trace?: never;
|
|
2239
2341
|
};
|
|
2342
|
+
"/customers/{customer_id}/mandate-debit-schedules": {
|
|
2343
|
+
parameters: {
|
|
2344
|
+
query?: never;
|
|
2345
|
+
header?: never;
|
|
2346
|
+
path: {
|
|
2347
|
+
/** @description Customer Id */customer_id: string;
|
|
2348
|
+
};
|
|
2349
|
+
cookie?: never;
|
|
2350
|
+
};
|
|
2351
|
+
/**
|
|
2352
|
+
* List mandate debit schedules
|
|
2353
|
+
* @description Retrieves the paginated list of `MandateDebitSchedule` entries for a customer across all mandates. Each entry represents a queued, executed, retried, or cancelled mandate-based debit attempt.
|
|
2354
|
+
*/
|
|
2355
|
+
get: operations["list-customer-mandate-debit-schedules"];
|
|
2356
|
+
put?: never;
|
|
2357
|
+
post?: never;
|
|
2358
|
+
delete?: never;
|
|
2359
|
+
options?: never;
|
|
2360
|
+
head?: never;
|
|
2361
|
+
patch?: never;
|
|
2362
|
+
trace?: never;
|
|
2363
|
+
};
|
|
2364
|
+
"/customers/{customer_id}/mandates": {
|
|
2365
|
+
parameters: {
|
|
2366
|
+
query?: never;
|
|
2367
|
+
header?: never;
|
|
2368
|
+
path: {
|
|
2369
|
+
/** @description Customer Id */customer_id: string;
|
|
2370
|
+
};
|
|
2371
|
+
cookie?: never;
|
|
2372
|
+
};
|
|
2373
|
+
/**
|
|
2374
|
+
* List all mandates
|
|
2375
|
+
* @description Retrieve a list of mandates for a given customer.
|
|
2376
|
+
*/
|
|
2377
|
+
get: operations["list-customer-mandates"];
|
|
2378
|
+
put?: never;
|
|
2379
|
+
/**
|
|
2380
|
+
* Create mandate
|
|
2381
|
+
* @description Create a new mandate for a given customer.
|
|
2382
|
+
*/
|
|
2383
|
+
post: operations["create-customer-mandate"];
|
|
2384
|
+
delete?: never;
|
|
2385
|
+
options?: never;
|
|
2386
|
+
head?: never;
|
|
2387
|
+
patch?: never;
|
|
2388
|
+
trace?: never;
|
|
2389
|
+
};
|
|
2390
|
+
"/customers/{customer_id}/mandates/{mandate_id}": {
|
|
2391
|
+
parameters: {
|
|
2392
|
+
query?: never;
|
|
2393
|
+
header?: never;
|
|
2394
|
+
path: {
|
|
2395
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
2396
|
+
mandate_id: string;
|
|
2397
|
+
};
|
|
2398
|
+
cookie?: never;
|
|
2399
|
+
};
|
|
2400
|
+
/**
|
|
2401
|
+
* Get mandate
|
|
2402
|
+
* @description Retrieve a mandate for a given customer.
|
|
2403
|
+
*/
|
|
2404
|
+
get: operations["get-customer-mandate"];
|
|
2405
|
+
/**
|
|
2406
|
+
* Update mandate
|
|
2407
|
+
* @description Updates the `max_amount` or `end_at` of an existing mandate. Only mandates with an `active` status can be updated. Returns the updated `CustomerMandate`.
|
|
2408
|
+
*/
|
|
2409
|
+
put: operations["update-customer-mandate"];
|
|
2410
|
+
post?: never;
|
|
2411
|
+
delete?: never;
|
|
2412
|
+
options?: never;
|
|
2413
|
+
head?: never;
|
|
2414
|
+
patch?: never;
|
|
2415
|
+
trace?: never;
|
|
2416
|
+
};
|
|
2417
|
+
"/customers/{customer_id}/mandates/{mandate_id}/pause": {
|
|
2418
|
+
parameters: {
|
|
2419
|
+
query?: never;
|
|
2420
|
+
header?: never;
|
|
2421
|
+
path: {
|
|
2422
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
2423
|
+
mandate_id: string;
|
|
2424
|
+
};
|
|
2425
|
+
cookie?: never;
|
|
2426
|
+
};
|
|
2427
|
+
get?: never;
|
|
2428
|
+
put?: never;
|
|
2429
|
+
/**
|
|
2430
|
+
* Pause mandate
|
|
2431
|
+
* @description Pause a mandate for a given customer.
|
|
2432
|
+
*/
|
|
2433
|
+
post: operations["pause-customer-mandate"];
|
|
2434
|
+
delete?: never;
|
|
2435
|
+
options?: never;
|
|
2436
|
+
head?: never;
|
|
2437
|
+
patch?: never;
|
|
2438
|
+
trace?: never;
|
|
2439
|
+
};
|
|
2440
|
+
"/customers/{customer_id}/mandates/{mandate_id}/resume": {
|
|
2441
|
+
parameters: {
|
|
2442
|
+
query?: never;
|
|
2443
|
+
header?: never;
|
|
2444
|
+
path: {
|
|
2445
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
2446
|
+
mandate_id: string;
|
|
2447
|
+
};
|
|
2448
|
+
cookie?: never;
|
|
2449
|
+
};
|
|
2450
|
+
get?: never;
|
|
2451
|
+
put?: never;
|
|
2452
|
+
/**
|
|
2453
|
+
* Resume mandate
|
|
2454
|
+
* @description Resume a paused mandate for a given customer.
|
|
2455
|
+
*/
|
|
2456
|
+
post: operations["resume-customer-mandate"];
|
|
2457
|
+
delete?: never;
|
|
2458
|
+
options?: never;
|
|
2459
|
+
head?: never;
|
|
2460
|
+
patch?: never;
|
|
2461
|
+
trace?: never;
|
|
2462
|
+
};
|
|
2463
|
+
"/customers/{customer_id}/mandates/{mandate_id}/revoke": {
|
|
2464
|
+
parameters: {
|
|
2465
|
+
query?: never;
|
|
2466
|
+
header?: never;
|
|
2467
|
+
path: {
|
|
2468
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
2469
|
+
mandate_id: string;
|
|
2470
|
+
};
|
|
2471
|
+
cookie?: never;
|
|
2472
|
+
};
|
|
2473
|
+
get?: never;
|
|
2474
|
+
put?: never;
|
|
2475
|
+
/**
|
|
2476
|
+
* Revoke mandate
|
|
2477
|
+
* @description Revoke a mandate for a given customer.
|
|
2478
|
+
*/
|
|
2479
|
+
post: operations["revoke-customer-mandate"];
|
|
2480
|
+
delete?: never;
|
|
2481
|
+
options?: never;
|
|
2482
|
+
head?: never;
|
|
2483
|
+
patch?: never;
|
|
2484
|
+
trace?: never;
|
|
2485
|
+
};
|
|
2240
2486
|
"/customers/{customer_id}/payment-methods": {
|
|
2241
2487
|
parameters: {
|
|
2242
2488
|
query?: never;
|
|
@@ -2611,6 +2857,26 @@ interface paths {
|
|
|
2611
2857
|
patch?: never;
|
|
2612
2858
|
trace?: never;
|
|
2613
2859
|
};
|
|
2860
|
+
"/payments/ifsc-lookup/{ifsc_code}": {
|
|
2861
|
+
parameters: {
|
|
2862
|
+
query?: never;
|
|
2863
|
+
header?: never;
|
|
2864
|
+
path?: never;
|
|
2865
|
+
cookie?: never;
|
|
2866
|
+
};
|
|
2867
|
+
/**
|
|
2868
|
+
* Lookup IFSC details
|
|
2869
|
+
* @description Returns bank branch details for an IFSC code. Proxies Razorpay IFSC lookup; `ifsc_code` must match `^[A-Z]{4}0[A-Z0-9]{6}$`.
|
|
2870
|
+
*/
|
|
2871
|
+
get: operations["get-ifsc-lookup"];
|
|
2872
|
+
put?: never;
|
|
2873
|
+
post?: never;
|
|
2874
|
+
delete?: never;
|
|
2875
|
+
options?: never;
|
|
2876
|
+
head?: never;
|
|
2877
|
+
patch?: never;
|
|
2878
|
+
trace?: never;
|
|
2879
|
+
};
|
|
2614
2880
|
"/payments/juspay/create-order": {
|
|
2615
2881
|
parameters: {
|
|
2616
2882
|
query?: never;
|
|
@@ -3922,6 +4188,14 @@ interface components {
|
|
|
3922
4188
|
*/
|
|
3923
4189
|
bank_account_number?: string;
|
|
3924
4190
|
bank_name?: string;
|
|
4191
|
+
}; /** BankTransferCheckout */
|
|
4192
|
+
BankTransferCheckout: {
|
|
4193
|
+
/**
|
|
4194
|
+
* @description The slug of the payment provider in Commerce Engine.
|
|
4195
|
+
* @constant
|
|
4196
|
+
*/
|
|
4197
|
+
payment_provider_slug: "icici-ecollection"; /** @constant */
|
|
4198
|
+
payment_method_type: "bank-transfer";
|
|
3925
4199
|
};
|
|
3926
4200
|
/**
|
|
3927
4201
|
* BooleanAttribute
|
|
@@ -4383,7 +4657,17 @@ interface components {
|
|
|
4383
4657
|
starts_at: string; /** Format: date-time */
|
|
4384
4658
|
expires_at: string | null;
|
|
4385
4659
|
}; /** @enum {unknown} */
|
|
4386
|
-
CouponType: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards"; /**
|
|
4660
|
+
CouponType: "discount" | "free-goods" | "fixed-price" | "free-shipping" | "buy-x-get-y" | "volume-based" | "accelerated-rewards"; /** CreateBankAccount */
|
|
4661
|
+
CreateBankAccount: components["schemas"]["CreateOutboundBankAccount"] | components["schemas"]["CreateInboundBankAccount"];
|
|
4662
|
+
CreateCustomerMandate: {
|
|
4663
|
+
/** @description Payment method type (e.g. NB). */payment_method_type: string; /** @description Payment method code (e.g. JP_HDFC). */
|
|
4664
|
+
payment_method: string;
|
|
4665
|
+
service_provider_slug: string;
|
|
4666
|
+
gateway_reference_id: string;
|
|
4667
|
+
bank_ifsc: string;
|
|
4668
|
+
bank_account_number: string;
|
|
4669
|
+
bank_beneficiary_name: string;
|
|
4670
|
+
}; /** CreateCustomSubscription */
|
|
4387
4671
|
CreateCustomSubscription: {
|
|
4388
4672
|
/** @constant */plan_type: $Read<"custom">; /** Format: date */
|
|
4389
4673
|
start_date?: string;
|
|
@@ -4407,10 +4691,31 @@ interface components {
|
|
|
4407
4691
|
shipping_interval: number | null;
|
|
4408
4692
|
shipping_limit?: number | null;
|
|
4409
4693
|
coupon_code?: string | null;
|
|
4694
|
+
}; /** CreateInboundBankAccount */
|
|
4695
|
+
CreateInboundBankAccount: {
|
|
4696
|
+
/**
|
|
4697
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4698
|
+
* @enum {string}
|
|
4699
|
+
*/
|
|
4700
|
+
account_type: "inbound";
|
|
4701
|
+
service_provider_slug: string; /** @description default bank account for the customer. */
|
|
4702
|
+
is_default?: boolean;
|
|
4410
4703
|
}; /** CreateOrderReturn */
|
|
4411
4704
|
CreateOrderReturn: {
|
|
4412
4705
|
return_items?: components["schemas"]["OrderReturnItem"][];
|
|
4413
4706
|
shipping_address?: components["schemas"]["CustomerAddress"];
|
|
4707
|
+
}; /** CreateOutboundBankAccount */
|
|
4708
|
+
CreateOutboundBankAccount: {
|
|
4709
|
+
/**
|
|
4710
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4711
|
+
* @enum {string}
|
|
4712
|
+
*/
|
|
4713
|
+
account_type: "outbound";
|
|
4714
|
+
account_name: string;
|
|
4715
|
+
account_number: string;
|
|
4716
|
+
ifsc_code: string;
|
|
4717
|
+
bank_name: string; /** @description default bank account for the customer. */
|
|
4718
|
+
is_default?: boolean;
|
|
4414
4719
|
};
|
|
4415
4720
|
/**
|
|
4416
4721
|
* CreateProductReview
|
|
@@ -4468,7 +4773,27 @@ interface components {
|
|
|
4468
4773
|
* @default null
|
|
4469
4774
|
*/
|
|
4470
4775
|
nickname: string | null;
|
|
4471
|
-
} | null; /**
|
|
4776
|
+
} | null; /** CustomerBankAccount */
|
|
4777
|
+
CustomerBankAccount: {
|
|
4778
|
+
/** @enum {unknown} */account_type: "inbound" | "outbound";
|
|
4779
|
+
account_name: string;
|
|
4780
|
+
account_number: string;
|
|
4781
|
+
ifsc_code: string;
|
|
4782
|
+
bank_name: string; /** @description default bank account for the customer. */
|
|
4783
|
+
is_default?: boolean;
|
|
4784
|
+
is_verified?: $Read<boolean>; /** Format: date-time */
|
|
4785
|
+
created_at?: $Read<string>; /** Format: date-time */
|
|
4786
|
+
modified_at?: $Read<string>;
|
|
4787
|
+
}; /** CustomerCreditLineBalance */
|
|
4788
|
+
CustomerCreditLineBalance: {
|
|
4789
|
+
/** @description Upper cap on the mandate amount. Sourced into `CustomerMandate.mandate_max_amount` when the mandate is created. */mandate_max_amount: number; /** @description Total spending limit approved for the customer. Cannot exceed `mandate_max_amount`. */
|
|
4790
|
+
approved_limit: number; /** @description Approved limit currently committed to in-flight or completed orders. */
|
|
4791
|
+
utilized_amount: number; /** @description Remaining spendable balance (`approved_limit` minus `utilized_amount`). */
|
|
4792
|
+
balance_amount: number;
|
|
4793
|
+
store_id: string; /** Format: date-time */
|
|
4794
|
+
created_at: string; /** Format: date-time */
|
|
4795
|
+
modified_at: string;
|
|
4796
|
+
}; /** CustomerGroup */
|
|
4472
4797
|
CustomerGroup: {
|
|
4473
4798
|
id: $Read<string>;
|
|
4474
4799
|
name: string;
|
|
@@ -4503,6 +4828,35 @@ interface components {
|
|
|
4503
4828
|
total_spent?: number;
|
|
4504
4829
|
lifetime_spent?: number;
|
|
4505
4830
|
lifetime_savings?: number;
|
|
4831
|
+
}; /** CustomerMandate */
|
|
4832
|
+
CustomerMandate: {
|
|
4833
|
+
id: string;
|
|
4834
|
+
mandate_type?: string;
|
|
4835
|
+
status: components["schemas"]["MandateStatus"];
|
|
4836
|
+
max_amount?: number;
|
|
4837
|
+
frequency?: string; /** Format: date-time */
|
|
4838
|
+
start_date?: string; /** Format: date-time */
|
|
4839
|
+
end_date?: string;
|
|
4840
|
+
gateway?: string;
|
|
4841
|
+
gateway_reference_id?: string;
|
|
4842
|
+
block_fund?: boolean;
|
|
4843
|
+
revokable_by_customer?: boolean;
|
|
4844
|
+
currency?: string;
|
|
4845
|
+
payment_info?: {
|
|
4846
|
+
payment_method_type?: string;
|
|
4847
|
+
payment_method?: string;
|
|
4848
|
+
bank_details?: {
|
|
4849
|
+
account_number?: string;
|
|
4850
|
+
ifsc?: string;
|
|
4851
|
+
bank_account_type?: string;
|
|
4852
|
+
beneficiary_name?: string;
|
|
4853
|
+
bank_name?: string;
|
|
4854
|
+
};
|
|
4855
|
+
}; /** Format: date-time */
|
|
4856
|
+
created_at?: string; /** Format: date-time */
|
|
4857
|
+
modified_at?: string; /** Format: date-time */
|
|
4858
|
+
activated_at?: string; /** Format: date-time */
|
|
4859
|
+
last_activated_at?: string;
|
|
4506
4860
|
};
|
|
4507
4861
|
/**
|
|
4508
4862
|
* CustomerReadyForReview
|
|
@@ -4759,6 +5113,25 @@ interface components {
|
|
|
4759
5113
|
}; /** GstinDetail */
|
|
4760
5114
|
GstinDetail: {
|
|
4761
5115
|
id?: string;
|
|
5116
|
+
}; /** IfscDetail */
|
|
5117
|
+
IfscDetail: {
|
|
5118
|
+
address: string;
|
|
5119
|
+
bank: string;
|
|
5120
|
+
bankcode: string;
|
|
5121
|
+
branch: string;
|
|
5122
|
+
centre: string;
|
|
5123
|
+
city: string;
|
|
5124
|
+
contact: string;
|
|
5125
|
+
district: string;
|
|
5126
|
+
ifsc: string;
|
|
5127
|
+
imps: boolean;
|
|
5128
|
+
iso3166: string;
|
|
5129
|
+
micr: string;
|
|
5130
|
+
neft: boolean;
|
|
5131
|
+
rtgs: boolean;
|
|
5132
|
+
state: string;
|
|
5133
|
+
swift: string | null;
|
|
5134
|
+
upi: boolean;
|
|
4762
5135
|
};
|
|
4763
5136
|
InapplicableCoupon: {
|
|
4764
5137
|
id?: string;
|
|
@@ -5175,6 +5548,15 @@ interface components {
|
|
|
5175
5548
|
exp_date: string | null;
|
|
5176
5549
|
manufacturer: string | null;
|
|
5177
5550
|
stock_quantity: number;
|
|
5551
|
+
}; /** LotusPayCheckout */
|
|
5552
|
+
LotusPayCheckout: {
|
|
5553
|
+
/**
|
|
5554
|
+
* @description The slug of the payment provider in Commerce Engine.
|
|
5555
|
+
* @constant
|
|
5556
|
+
*/
|
|
5557
|
+
payment_provider_slug: "juspay"; /** @constant */
|
|
5558
|
+
payment_method_type: "NACH"; /** @description The ID of the active mandate. */
|
|
5559
|
+
mandate_id: string;
|
|
5178
5560
|
};
|
|
5179
5561
|
/**
|
|
5180
5562
|
* LoyaltyPointActivity
|
|
@@ -5197,7 +5579,39 @@ interface components {
|
|
|
5197
5579
|
remarks?: string | null; /** Format: date-time */
|
|
5198
5580
|
created_at?: string; /** Format: date-time */
|
|
5199
5581
|
modified_at?: string;
|
|
5200
|
-
}; /**
|
|
5582
|
+
}; /** MandateDebitSchedule */
|
|
5583
|
+
MandateDebitSchedule: {
|
|
5584
|
+
id: string;
|
|
5585
|
+
mandate_id: string;
|
|
5586
|
+
order_id: string; /** @description Order number of the order that triggered this debit. */
|
|
5587
|
+
order_number?: string | null;
|
|
5588
|
+
amount: number; /** @enum {string} */
|
|
5589
|
+
status: "scheduled" | "debit-pending" | "debit-success" | "debit-failed" | "cancelled" | "awaiting-retry"; /** Format: date-time */
|
|
5590
|
+
scheduled_at: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* Format: date-time
|
|
5593
|
+
* @description Time at which the worker picked the schedule for execution.
|
|
5594
|
+
*/
|
|
5595
|
+
picked_at?: string | null;
|
|
5596
|
+
/**
|
|
5597
|
+
* Format: date-time
|
|
5598
|
+
* @description Time at which the debit was executed against the mandate provider.
|
|
5599
|
+
*/
|
|
5600
|
+
executed_at?: string | null; /** @description Mandate provider reference returned for this debit. */
|
|
5601
|
+
external_reference_id?: string | null; /** @description Order ID submitted to the mandate provider for this debit. */
|
|
5602
|
+
gateway_order_id?: string | null;
|
|
5603
|
+
retry_attempt: number;
|
|
5604
|
+
max_retries: number;
|
|
5605
|
+
/**
|
|
5606
|
+
* Format: date-time
|
|
5607
|
+
* @description Time at which the next retry will be attempted.
|
|
5608
|
+
*/
|
|
5609
|
+
next_retry_at?: string | null;
|
|
5610
|
+
store_id: string; /** Format: date-time */
|
|
5611
|
+
created_at: string; /** Format: date-time */
|
|
5612
|
+
modified_at: string;
|
|
5613
|
+
}; /** @enum {string} */
|
|
5614
|
+
MandateStatus: "created" | "active" | "paused" | "revoked" | "error"; /** ManualPaymentMethod */
|
|
5201
5615
|
ManualPaymentMethod: {
|
|
5202
5616
|
id: string;
|
|
5203
5617
|
name: string;
|
|
@@ -5231,6 +5645,11 @@ interface components {
|
|
|
5231
5645
|
type: "multi-select"; /** @description For multi-select attributes */
|
|
5232
5646
|
value: string[];
|
|
5233
5647
|
};
|
|
5648
|
+
/**
|
|
5649
|
+
* NachPayment
|
|
5650
|
+
* @description NACH mandate payment via LotusPay.
|
|
5651
|
+
*/
|
|
5652
|
+
NachPayment: components["schemas"]["PaymentInfo"];
|
|
5234
5653
|
/**
|
|
5235
5654
|
* NetbankingPayment
|
|
5236
5655
|
* @description Payments using payment gateway netbanking option.
|
|
@@ -5358,7 +5777,7 @@ interface components {
|
|
|
5358
5777
|
* @description payment mode for refund.
|
|
5359
5778
|
* @enum {string}
|
|
5360
5779
|
*/
|
|
5361
|
-
payment_mode?: "original-payment-mode" | "bank-transfer";
|
|
5780
|
+
payment_mode?: "original-payment-mode" | "bank-transfer" | "nach-mandate";
|
|
5362
5781
|
};
|
|
5363
5782
|
feedback?: string | null;
|
|
5364
5783
|
}; /** OrderDetail */
|
|
@@ -5467,7 +5886,7 @@ interface components {
|
|
|
5467
5886
|
* OrderPayment
|
|
5468
5887
|
* @description Order Payment
|
|
5469
5888
|
*/
|
|
5470
|
-
OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"];
|
|
5889
|
+
OrderPayment: components["schemas"]["CardPayment"] | components["schemas"]["NetbankingPayment"] | components["schemas"]["UpiPayment"] | components["schemas"]["WalletPayment"] | components["schemas"]["BankTransfer"] | components["schemas"]["NachPayment"];
|
|
5471
5890
|
/**
|
|
5472
5891
|
* OrderRefund
|
|
5473
5892
|
* @description Order refund model
|
|
@@ -5477,7 +5896,7 @@ interface components {
|
|
|
5477
5896
|
refund_amount?: number; /** Format: date-time */
|
|
5478
5897
|
refund_date?: string; /** @enum {string} */
|
|
5479
5898
|
status?: "pending" | "approved" | "success" | "failed"; /** @enum {string} */
|
|
5480
|
-
payment_mode?: "
|
|
5899
|
+
payment_mode?: "original-payment-mode" | "loyalty-point" | "bank-transfer" | "nach-mandate";
|
|
5481
5900
|
payment_method?: string;
|
|
5482
5901
|
payment_reference_number?: string;
|
|
5483
5902
|
bank_account_number?: string;
|
|
@@ -5617,7 +6036,7 @@ interface components {
|
|
|
5617
6036
|
payment_method?: string | null;
|
|
5618
6037
|
icon_url?: string | null;
|
|
5619
6038
|
}; /** PaymentMethodPayload */
|
|
5620
|
-
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"]; /** PaymentProvider */
|
|
6039
|
+
PaymentMethodPayload: components["schemas"]["JusPayHyperCheckout"] | components["schemas"]["JusPayExpressCheckout"] | components["schemas"]["BankTransferCheckout"] | components["schemas"]["LotusPayCheckout"]; /** PaymentProvider */
|
|
5621
6040
|
PaymentProvider: components["schemas"]["ServiceProviderBasicDetail"] & {
|
|
5622
6041
|
payment_provider_slug: string;
|
|
5623
6042
|
}; /** PayuPaymentInfo */
|
|
@@ -5939,22 +6358,9 @@ interface components {
|
|
|
5939
6358
|
* Format: date-time
|
|
5940
6359
|
* @description The ISO 8601 date-time for when review was first submitted or last modified by the original submitter.
|
|
5941
6360
|
*/
|
|
5942
|
-
review_date?: $Read<string>;
|
|
5943
|
-
images?:
|
|
5944
|
-
|
|
5945
|
-
thumbnail_url?: string;
|
|
5946
|
-
standard_url?: string;
|
|
5947
|
-
}[];
|
|
5948
|
-
videos?: {
|
|
5949
|
-
cover_image_url?: string;
|
|
5950
|
-
video_preview_url?: string;
|
|
5951
|
-
playback?: {
|
|
5952
|
-
hls?: string;
|
|
5953
|
-
dash?: string;
|
|
5954
|
-
}; /** @description seconds */
|
|
5955
|
-
duration?: string; /** @description bytes */
|
|
5956
|
-
size?: string;
|
|
5957
|
-
}[];
|
|
6361
|
+
review_date?: $Read<string>; /** @description Product review images ordered by display priority. */
|
|
6362
|
+
images?: components["schemas"]["ProductImage"][];
|
|
6363
|
+
videos?: components["schemas"]["ProductVideo"][];
|
|
5958
6364
|
/**
|
|
5959
6365
|
* Format: date-time
|
|
5960
6366
|
* @description The ISO 8601 date-time for when review is created.
|
|
@@ -6416,7 +6822,8 @@ interface components {
|
|
|
6416
6822
|
variant_name?: string;
|
|
6417
6823
|
unserviceable_quantity?: number;
|
|
6418
6824
|
max_available_quantity?: number;
|
|
6419
|
-
};
|
|
6825
|
+
}; /** UpdateBankAccount */
|
|
6826
|
+
UpdateBankAccount: components["schemas"]["UpdateOutboundBankAccount"] | components["schemas"]["UpdateInboundBankAccount"];
|
|
6420
6827
|
/**
|
|
6421
6828
|
* UpdateCartItem
|
|
6422
6829
|
* @description Schema for updating a cart item, including adding, removing, or adjusting the quantity of a product or variant.
|
|
@@ -6456,6 +6863,26 @@ interface components {
|
|
|
6456
6863
|
*/
|
|
6457
6864
|
file?: string;
|
|
6458
6865
|
modified_reason: string;
|
|
6866
|
+
}; /** UpdateInboundBankAccount */
|
|
6867
|
+
UpdateInboundBankAccount: {
|
|
6868
|
+
/**
|
|
6869
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6870
|
+
* @enum {string}
|
|
6871
|
+
*/
|
|
6872
|
+
account_type: "inbound"; /** @description default account for inbound bank accounts. */
|
|
6873
|
+
is_default?: boolean;
|
|
6874
|
+
}; /** UpdateOutboundBankAccount */
|
|
6875
|
+
UpdateOutboundBankAccount: {
|
|
6876
|
+
/**
|
|
6877
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6878
|
+
* @enum {string}
|
|
6879
|
+
*/
|
|
6880
|
+
account_type: "outbound";
|
|
6881
|
+
account_name?: string;
|
|
6882
|
+
account_number?: string;
|
|
6883
|
+
ifsc_code?: string;
|
|
6884
|
+
bank_name?: string; /** @description default account for outbound bank accounts. */
|
|
6885
|
+
is_default?: boolean;
|
|
6459
6886
|
}; /** UpdatePhysicalProductSubscription */
|
|
6460
6887
|
UpdatePhysicalProductSubscription: {
|
|
6461
6888
|
/** @constant */command: "update"; /** @enum {unknown} */
|
|
@@ -8705,7 +9132,8 @@ interface operations {
|
|
|
8705
9132
|
sort_by?: components["parameters"]["sortingParam"]; /** @description filter products by categories ids */
|
|
8706
9133
|
category_id?: string[]; /** @description filter products by categories slugs */
|
|
8707
9134
|
category_slug?: string[]; /** @description Determines whether to include or exclude inventory details in response json */
|
|
8708
|
-
inventory?: boolean;
|
|
9135
|
+
inventory?: boolean; /** @description Filter sku by product type. multiple product types can be passed separated by comma. eg: product_type=physical,digital */
|
|
9136
|
+
product_type?: string;
|
|
8709
9137
|
};
|
|
8710
9138
|
header?: {
|
|
8711
9139
|
/** @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. */"x-customer-group-id"?: components["parameters"]["CustomerGroupId"];
|
|
@@ -9057,8 +9485,10 @@ interface operations {
|
|
|
9057
9485
|
/** @description page number of pagination list */page?: components["parameters"]["pageParam"]; /** @description Number of results per page. */
|
|
9058
9486
|
limit?: components["parameters"]["pageLimitParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
9059
9487
|
sort_by?: components["parameters"]["sortingParam"]; /** @description filter sku by categories */
|
|
9060
|
-
category_id?: string[]; /** @description
|
|
9061
|
-
|
|
9488
|
+
category_id?: string[]; /** @description filter products by categories slugs */
|
|
9489
|
+
category_slug?: string[]; /** @description Determines whether to include or exclude inventory details in response json */
|
|
9490
|
+
inventory?: boolean; /** @description Filter sku by product type. multiple product types can be passed separated by comma. eg: product_type=physical,digital */
|
|
9491
|
+
product_type?: string; /** @description array of sku */
|
|
9062
9492
|
sku?: string[];
|
|
9063
9493
|
};
|
|
9064
9494
|
header?: {
|
|
@@ -9339,12 +9769,14 @@ interface operations {
|
|
|
9339
9769
|
404: components["responses"]["NotFound"];
|
|
9340
9770
|
};
|
|
9341
9771
|
};
|
|
9342
|
-
"list-
|
|
9772
|
+
"list-bank-accounts": {
|
|
9343
9773
|
parameters: {
|
|
9344
|
-
query?:
|
|
9774
|
+
query?: {
|
|
9775
|
+
/** @description Filter bank accounts by type. */account_type?: "inbound" | "outbound";
|
|
9776
|
+
};
|
|
9345
9777
|
header?: never;
|
|
9346
9778
|
path: {
|
|
9347
|
-
/** @description Customer
|
|
9779
|
+
/** @description Customer id */customer_id: string;
|
|
9348
9780
|
};
|
|
9349
9781
|
cookie?: never;
|
|
9350
9782
|
};
|
|
@@ -9356,10 +9788,10 @@ interface operations {
|
|
|
9356
9788
|
};
|
|
9357
9789
|
content: {
|
|
9358
9790
|
"application/json": {
|
|
9359
|
-
message
|
|
9360
|
-
success
|
|
9361
|
-
content
|
|
9362
|
-
|
|
9791
|
+
message?: string;
|
|
9792
|
+
success?: boolean;
|
|
9793
|
+
content?: {
|
|
9794
|
+
bank_accounts?: components["schemas"]["CustomerBankAccount"][];
|
|
9363
9795
|
};
|
|
9364
9796
|
};
|
|
9365
9797
|
};
|
|
@@ -9368,16 +9800,20 @@ interface operations {
|
|
|
9368
9800
|
404: components["responses"]["NotFound"];
|
|
9369
9801
|
};
|
|
9370
9802
|
};
|
|
9371
|
-
"
|
|
9803
|
+
"create-bank-account": {
|
|
9372
9804
|
parameters: {
|
|
9373
9805
|
query?: never;
|
|
9374
9806
|
header?: never;
|
|
9375
9807
|
path: {
|
|
9376
|
-
/** @description
|
|
9808
|
+
/** @description Customer id */customer_id: string;
|
|
9377
9809
|
};
|
|
9378
9810
|
cookie?: never;
|
|
9379
9811
|
};
|
|
9380
|
-
requestBody
|
|
9812
|
+
requestBody: {
|
|
9813
|
+
content: {
|
|
9814
|
+
"application/json": components["schemas"]["CreateBankAccount"];
|
|
9815
|
+
};
|
|
9816
|
+
};
|
|
9381
9817
|
responses: {
|
|
9382
9818
|
/** @description OK */200: {
|
|
9383
9819
|
headers: {
|
|
@@ -9388,30 +9824,26 @@ interface operations {
|
|
|
9388
9824
|
message?: string;
|
|
9389
9825
|
success?: boolean;
|
|
9390
9826
|
content?: {
|
|
9391
|
-
|
|
9827
|
+
bank_account?: components["schemas"]["CustomerBankAccount"];
|
|
9392
9828
|
};
|
|
9393
9829
|
};
|
|
9394
9830
|
};
|
|
9395
9831
|
};
|
|
9396
9832
|
400: components["responses"]["BadRequest"];
|
|
9397
9833
|
401: components["responses"]["Unauthorized"];
|
|
9398
|
-
404: components["responses"]["NotFound"];
|
|
9399
9834
|
};
|
|
9400
9835
|
};
|
|
9401
|
-
"
|
|
9836
|
+
"get-bank-account-detail": {
|
|
9402
9837
|
parameters: {
|
|
9403
9838
|
query?: never;
|
|
9404
9839
|
header?: never;
|
|
9405
9840
|
path: {
|
|
9406
|
-
/** @description
|
|
9841
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
9842
|
+
customer_id: string;
|
|
9407
9843
|
};
|
|
9408
9844
|
cookie?: never;
|
|
9409
9845
|
};
|
|
9410
|
-
requestBody
|
|
9411
|
-
content: {
|
|
9412
|
-
"multipart/form-data": components["schemas"]["Document"];
|
|
9413
|
-
};
|
|
9414
|
-
};
|
|
9846
|
+
requestBody?: never;
|
|
9415
9847
|
responses: {
|
|
9416
9848
|
/** @description OK */200: {
|
|
9417
9849
|
headers: {
|
|
@@ -9422,31 +9854,28 @@ interface operations {
|
|
|
9422
9854
|
message?: string;
|
|
9423
9855
|
success?: boolean;
|
|
9424
9856
|
content?: {
|
|
9425
|
-
|
|
9857
|
+
bank_account?: components["schemas"]["CustomerBankAccount"];
|
|
9426
9858
|
};
|
|
9427
9859
|
};
|
|
9428
9860
|
};
|
|
9429
9861
|
};
|
|
9430
|
-
400: components["responses"]["BadRequest"];
|
|
9431
9862
|
401: components["responses"]["Unauthorized"];
|
|
9432
9863
|
404: components["responses"]["NotFound"];
|
|
9433
9864
|
};
|
|
9434
9865
|
};
|
|
9435
|
-
"
|
|
9866
|
+
"update-bank-account": {
|
|
9436
9867
|
parameters: {
|
|
9437
9868
|
query?: never;
|
|
9438
9869
|
header?: never;
|
|
9439
9870
|
path: {
|
|
9440
|
-
/** @description
|
|
9871
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
9872
|
+
customer_id: string;
|
|
9441
9873
|
};
|
|
9442
9874
|
cookie?: never;
|
|
9443
9875
|
};
|
|
9444
9876
|
requestBody: {
|
|
9445
9877
|
content: {
|
|
9446
|
-
"application/json":
|
|
9447
|
-
document_number: string;
|
|
9448
|
-
document_type_id: string;
|
|
9449
|
-
};
|
|
9878
|
+
"application/json": components["schemas"]["UpdateBankAccount"];
|
|
9450
9879
|
};
|
|
9451
9880
|
};
|
|
9452
9881
|
responses: {
|
|
@@ -9459,7 +9888,7 @@ interface operations {
|
|
|
9459
9888
|
message?: string;
|
|
9460
9889
|
success?: boolean;
|
|
9461
9890
|
content?: {
|
|
9462
|
-
|
|
9891
|
+
bank_account?: components["schemas"]["CustomerBankAccount"];
|
|
9463
9892
|
};
|
|
9464
9893
|
};
|
|
9465
9894
|
};
|
|
@@ -9469,13 +9898,13 @@ interface operations {
|
|
|
9469
9898
|
404: components["responses"]["NotFound"];
|
|
9470
9899
|
};
|
|
9471
9900
|
};
|
|
9472
|
-
"
|
|
9901
|
+
"delete-bank-account": {
|
|
9473
9902
|
parameters: {
|
|
9474
9903
|
query?: never;
|
|
9475
9904
|
header?: never;
|
|
9476
9905
|
path: {
|
|
9477
|
-
/** @description
|
|
9478
|
-
|
|
9906
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
9907
|
+
customer_id: string;
|
|
9479
9908
|
};
|
|
9480
9909
|
cookie?: never;
|
|
9481
9910
|
};
|
|
@@ -9489,30 +9918,28 @@ interface operations {
|
|
|
9489
9918
|
"application/json": {
|
|
9490
9919
|
message?: string;
|
|
9491
9920
|
success?: boolean;
|
|
9492
|
-
content?: {
|
|
9493
|
-
document?: components["schemas"]["Document"];
|
|
9494
|
-
};
|
|
9495
9921
|
};
|
|
9496
9922
|
};
|
|
9497
9923
|
};
|
|
9498
|
-
400: components["responses"]["BadRequest"];
|
|
9499
9924
|
401: components["responses"]["Unauthorized"];
|
|
9500
9925
|
404: components["responses"]["NotFound"];
|
|
9501
9926
|
};
|
|
9502
9927
|
};
|
|
9503
|
-
"
|
|
9928
|
+
"verify-bank-account": {
|
|
9504
9929
|
parameters: {
|
|
9505
9930
|
query?: never;
|
|
9506
9931
|
header?: never;
|
|
9507
9932
|
path: {
|
|
9508
|
-
/** @description
|
|
9509
|
-
|
|
9933
|
+
/** @description Bank account id */account_id: string; /** @description Customer id */
|
|
9934
|
+
customer_id: string;
|
|
9510
9935
|
};
|
|
9511
9936
|
cookie?: never;
|
|
9512
9937
|
};
|
|
9513
9938
|
requestBody: {
|
|
9514
9939
|
content: {
|
|
9515
|
-
"
|
|
9940
|
+
"application/json": {
|
|
9941
|
+
is_verified: boolean;
|
|
9942
|
+
};
|
|
9516
9943
|
};
|
|
9517
9944
|
};
|
|
9518
9945
|
responses: {
|
|
@@ -9525,7 +9952,7 @@ interface operations {
|
|
|
9525
9952
|
message?: string;
|
|
9526
9953
|
success?: boolean;
|
|
9527
9954
|
content?: {
|
|
9528
|
-
|
|
9955
|
+
bank_account?: components["schemas"]["CustomerBankAccount"];
|
|
9529
9956
|
};
|
|
9530
9957
|
};
|
|
9531
9958
|
};
|
|
@@ -9535,13 +9962,12 @@ interface operations {
|
|
|
9535
9962
|
404: components["responses"]["NotFound"];
|
|
9536
9963
|
};
|
|
9537
9964
|
};
|
|
9538
|
-
"
|
|
9965
|
+
"list-customer-cards": {
|
|
9539
9966
|
parameters: {
|
|
9540
9967
|
query?: never;
|
|
9541
9968
|
header?: never;
|
|
9542
9969
|
path: {
|
|
9543
|
-
/** @description
|
|
9544
|
-
document_id: string;
|
|
9970
|
+
/** @description Customer Id */customer_id: string;
|
|
9545
9971
|
};
|
|
9546
9972
|
cookie?: never;
|
|
9547
9973
|
};
|
|
@@ -9553,22 +9979,24 @@ interface operations {
|
|
|
9553
9979
|
};
|
|
9554
9980
|
content: {
|
|
9555
9981
|
"application/json": {
|
|
9556
|
-
message
|
|
9557
|
-
success
|
|
9982
|
+
message: string;
|
|
9983
|
+
success: boolean;
|
|
9984
|
+
content: {
|
|
9985
|
+
cards: components["schemas"]["JuspayCardDetail"][];
|
|
9986
|
+
};
|
|
9558
9987
|
};
|
|
9559
9988
|
};
|
|
9560
9989
|
};
|
|
9561
|
-
400: components["responses"]["BadRequest"];
|
|
9562
9990
|
401: components["responses"]["Unauthorized"];
|
|
9563
9991
|
404: components["responses"]["NotFound"];
|
|
9564
9992
|
};
|
|
9565
9993
|
};
|
|
9566
|
-
"get-
|
|
9994
|
+
"get-customer-credit-line-balance": {
|
|
9567
9995
|
parameters: {
|
|
9568
9996
|
query?: never;
|
|
9569
9997
|
header?: never;
|
|
9570
9998
|
path: {
|
|
9571
|
-
/** @description
|
|
9999
|
+
/** @description Customer Id */customer_id: string;
|
|
9572
10000
|
};
|
|
9573
10001
|
cookie?: never;
|
|
9574
10002
|
};
|
|
@@ -9580,25 +10008,24 @@ interface operations {
|
|
|
9580
10008
|
};
|
|
9581
10009
|
content: {
|
|
9582
10010
|
"application/json": {
|
|
9583
|
-
message
|
|
9584
|
-
success
|
|
9585
|
-
content
|
|
9586
|
-
|
|
10011
|
+
message: string;
|
|
10012
|
+
success: boolean;
|
|
10013
|
+
content: {
|
|
10014
|
+
/** @description Whether the customer is currently approved to use the credit line. `false` blocks new mandate creation and credit-line checkouts. */is_eligible: boolean; /** @description The customer's latest credit-line balance. `null` when no balance has been provisioned yet. */
|
|
10015
|
+
credit_line_balance: components["schemas"]["CustomerCreditLineBalance"] | null; /** @description Customer mandates currently usable for credit-line debits. Only mandates whose `status` is `active` are returned. */
|
|
10016
|
+
active_mandates: components["schemas"]["CustomerMandate"][];
|
|
9587
10017
|
};
|
|
9588
10018
|
};
|
|
9589
10019
|
};
|
|
9590
10020
|
};
|
|
10021
|
+
400: components["responses"]["BadRequest"];
|
|
9591
10022
|
401: components["responses"]["Unauthorized"];
|
|
9592
10023
|
404: components["responses"]["NotFound"];
|
|
9593
10024
|
};
|
|
9594
10025
|
};
|
|
9595
|
-
"list-
|
|
10026
|
+
"list-documents": {
|
|
9596
10027
|
parameters: {
|
|
9597
|
-
query?:
|
|
9598
|
-
/** @description Number of results per page. */limit?: components["parameters"]["pageLimitParam"]; /** @description page number of pagination list */
|
|
9599
|
-
page?: components["parameters"]["pageParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
9600
|
-
sort_by?: components["parameters"]["sortingParam"];
|
|
9601
|
-
};
|
|
10028
|
+
query?: never;
|
|
9602
10029
|
header?: never;
|
|
9603
10030
|
path: {
|
|
9604
10031
|
/** @description customer id */customer_id: string;
|
|
@@ -9616,27 +10043,30 @@ interface operations {
|
|
|
9616
10043
|
message?: string;
|
|
9617
10044
|
success?: boolean;
|
|
9618
10045
|
content?: {
|
|
9619
|
-
|
|
10046
|
+
documents?: components["schemas"]["Document"][];
|
|
9620
10047
|
};
|
|
9621
10048
|
};
|
|
9622
10049
|
};
|
|
9623
10050
|
};
|
|
10051
|
+
400: components["responses"]["BadRequest"];
|
|
9624
10052
|
401: components["responses"]["Unauthorized"];
|
|
9625
10053
|
404: components["responses"]["NotFound"];
|
|
9626
10054
|
};
|
|
9627
10055
|
};
|
|
9628
|
-
"
|
|
10056
|
+
"create-document": {
|
|
9629
10057
|
parameters: {
|
|
9630
|
-
query?:
|
|
9631
|
-
/** @description Filter payment methods by type. Accepts multiple payment method types separated by commas. Example: payment_method=upi_collect,card,wallet. Available payment method types include: upi_collect, card, wallet. */payment_methods?: string;
|
|
9632
|
-
};
|
|
10058
|
+
query?: never;
|
|
9633
10059
|
header?: never;
|
|
9634
10060
|
path: {
|
|
9635
|
-
/** @description
|
|
10061
|
+
/** @description customer id */customer_id: string;
|
|
9636
10062
|
};
|
|
9637
10063
|
cookie?: never;
|
|
9638
10064
|
};
|
|
9639
|
-
requestBody
|
|
10065
|
+
requestBody: {
|
|
10066
|
+
content: {
|
|
10067
|
+
"multipart/form-data": components["schemas"]["Document"];
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
9640
10070
|
responses: {
|
|
9641
10071
|
/** @description OK */200: {
|
|
9642
10072
|
headers: {
|
|
@@ -9647,16 +10077,17 @@ interface operations {
|
|
|
9647
10077
|
message?: string;
|
|
9648
10078
|
success?: boolean;
|
|
9649
10079
|
content?: {
|
|
9650
|
-
|
|
10080
|
+
document?: components["schemas"]["Document"];
|
|
9651
10081
|
};
|
|
9652
10082
|
};
|
|
9653
10083
|
};
|
|
9654
10084
|
};
|
|
10085
|
+
400: components["responses"]["BadRequest"];
|
|
9655
10086
|
401: components["responses"]["Unauthorized"];
|
|
9656
10087
|
404: components["responses"]["NotFound"];
|
|
9657
10088
|
};
|
|
9658
10089
|
};
|
|
9659
|
-
"
|
|
10090
|
+
"verify-document": {
|
|
9660
10091
|
parameters: {
|
|
9661
10092
|
query?: never;
|
|
9662
10093
|
header?: never;
|
|
@@ -9665,7 +10096,14 @@ interface operations {
|
|
|
9665
10096
|
};
|
|
9666
10097
|
cookie?: never;
|
|
9667
10098
|
};
|
|
9668
|
-
requestBody
|
|
10099
|
+
requestBody: {
|
|
10100
|
+
content: {
|
|
10101
|
+
"application/json": {
|
|
10102
|
+
document_number: string;
|
|
10103
|
+
document_type_id: string;
|
|
10104
|
+
};
|
|
10105
|
+
};
|
|
10106
|
+
};
|
|
9669
10107
|
responses: {
|
|
9670
10108
|
/** @description OK */200: {
|
|
9671
10109
|
headers: {
|
|
@@ -9676,8 +10114,7 @@ interface operations {
|
|
|
9676
10114
|
message?: string;
|
|
9677
10115
|
success?: boolean;
|
|
9678
10116
|
content?: {
|
|
9679
|
-
|
|
9680
|
-
ready_for_review?: components["schemas"]["CustomerReadyForReview"][];
|
|
10117
|
+
document?: components["schemas"]["GstinDetail"] | components["schemas"]["PanDetail"];
|
|
9681
10118
|
};
|
|
9682
10119
|
};
|
|
9683
10120
|
};
|
|
@@ -9687,18 +10124,17 @@ interface operations {
|
|
|
9687
10124
|
404: components["responses"]["NotFound"];
|
|
9688
10125
|
};
|
|
9689
10126
|
};
|
|
9690
|
-
"
|
|
10127
|
+
"get-document": {
|
|
9691
10128
|
parameters: {
|
|
9692
10129
|
query?: never;
|
|
9693
10130
|
header?: never;
|
|
9694
|
-
path
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
requestBody: {
|
|
9698
|
-
content: {
|
|
9699
|
-
"application/json": components["schemas"]["CartBasedFulfillmentCheck"] | components["schemas"]["ItemsBasedFulfillmentCheck"];
|
|
10131
|
+
path: {
|
|
10132
|
+
/** @description customer id */customer_id: string; /** @description document id */
|
|
10133
|
+
document_id: string;
|
|
9700
10134
|
};
|
|
10135
|
+
cookie?: never;
|
|
9701
10136
|
};
|
|
10137
|
+
requestBody?: never;
|
|
9702
10138
|
responses: {
|
|
9703
10139
|
/** @description OK */200: {
|
|
9704
10140
|
headers: {
|
|
@@ -9706,11 +10142,10 @@ interface operations {
|
|
|
9706
10142
|
};
|
|
9707
10143
|
content: {
|
|
9708
10144
|
"application/json": {
|
|
9709
|
-
message
|
|
9710
|
-
success
|
|
9711
|
-
content
|
|
9712
|
-
|
|
9713
|
-
unserviceable_items?: components["schemas"]["UnserviceableItem"][];
|
|
10145
|
+
message?: string;
|
|
10146
|
+
success?: boolean;
|
|
10147
|
+
content?: {
|
|
10148
|
+
document?: components["schemas"]["Document"];
|
|
9714
10149
|
};
|
|
9715
10150
|
};
|
|
9716
10151
|
};
|
|
@@ -9720,20 +10155,21 @@ interface operations {
|
|
|
9720
10155
|
404: components["responses"]["NotFound"];
|
|
9721
10156
|
};
|
|
9722
10157
|
};
|
|
9723
|
-
"
|
|
10158
|
+
"update-document": {
|
|
9724
10159
|
parameters: {
|
|
9725
|
-
query
|
|
9726
|
-
/** @description page number of pagination list */page?: components["parameters"]["pageParam"]; /** @description Number of results per page. */
|
|
9727
|
-
limit?: components["parameters"]["pageLimitParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
9728
|
-
sort_by?: components["parameters"]["sortingParam"]; /** @description array of string */
|
|
9729
|
-
status?: string[]; /** @description user id */
|
|
9730
|
-
user_id: string;
|
|
9731
|
-
};
|
|
10160
|
+
query?: never;
|
|
9732
10161
|
header?: never;
|
|
9733
|
-
path
|
|
10162
|
+
path: {
|
|
10163
|
+
/** @description customer id */customer_id: string; /** @description document id */
|
|
10164
|
+
document_id: string;
|
|
10165
|
+
};
|
|
9734
10166
|
cookie?: never;
|
|
9735
10167
|
};
|
|
9736
|
-
requestBody
|
|
10168
|
+
requestBody: {
|
|
10169
|
+
content: {
|
|
10170
|
+
"multipart/form-data": components["schemas"]["UpdateDocument"];
|
|
10171
|
+
};
|
|
10172
|
+
};
|
|
9737
10173
|
responses: {
|
|
9738
10174
|
/** @description OK */200: {
|
|
9739
10175
|
headers: {
|
|
@@ -9744,30 +10180,27 @@ interface operations {
|
|
|
9744
10180
|
message?: string;
|
|
9745
10181
|
success?: boolean;
|
|
9746
10182
|
content?: {
|
|
9747
|
-
|
|
9748
|
-
pagination?: components["schemas"]["Pagination"];
|
|
10183
|
+
document?: components["schemas"]["Document"];
|
|
9749
10184
|
};
|
|
9750
10185
|
};
|
|
9751
10186
|
};
|
|
9752
10187
|
};
|
|
10188
|
+
400: components["responses"]["BadRequest"];
|
|
9753
10189
|
401: components["responses"]["Unauthorized"];
|
|
10190
|
+
404: components["responses"]["NotFound"];
|
|
9754
10191
|
};
|
|
9755
10192
|
};
|
|
9756
|
-
"
|
|
10193
|
+
"delete-document": {
|
|
9757
10194
|
parameters: {
|
|
9758
10195
|
query?: never;
|
|
9759
10196
|
header?: never;
|
|
9760
|
-
path
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
requestBody: {
|
|
9764
|
-
content: {
|
|
9765
|
-
"application/json": {
|
|
9766
|
-
cart_id: string;
|
|
9767
|
-
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
9768
|
-
};
|
|
10197
|
+
path: {
|
|
10198
|
+
/** @description customer id */customer_id: string; /** @description document id */
|
|
10199
|
+
document_id: string;
|
|
9769
10200
|
};
|
|
10201
|
+
cookie?: never;
|
|
9770
10202
|
};
|
|
10203
|
+
requestBody?: never;
|
|
9771
10204
|
responses: {
|
|
9772
10205
|
/** @description OK */200: {
|
|
9773
10206
|
headers: {
|
|
@@ -9775,25 +10208,23 @@ interface operations {
|
|
|
9775
10208
|
};
|
|
9776
10209
|
content: {
|
|
9777
10210
|
"application/json": {
|
|
9778
|
-
message
|
|
9779
|
-
success
|
|
9780
|
-
content: {
|
|
9781
|
-
order: components["schemas"]["Order"];
|
|
9782
|
-
payment_required: boolean;
|
|
9783
|
-
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
9784
|
-
};
|
|
10211
|
+
message?: string;
|
|
10212
|
+
success?: boolean;
|
|
9785
10213
|
};
|
|
9786
10214
|
};
|
|
9787
10215
|
};
|
|
9788
10216
|
400: components["responses"]["BadRequest"];
|
|
9789
10217
|
401: components["responses"]["Unauthorized"];
|
|
10218
|
+
404: components["responses"]["NotFound"];
|
|
9790
10219
|
};
|
|
9791
10220
|
};
|
|
9792
|
-
"
|
|
10221
|
+
"get-loyalty-details": {
|
|
9793
10222
|
parameters: {
|
|
9794
10223
|
query?: never;
|
|
9795
10224
|
header?: never;
|
|
9796
|
-
path
|
|
10225
|
+
path: {
|
|
10226
|
+
/** @description customer id */customer_id: string;
|
|
10227
|
+
};
|
|
9797
10228
|
cookie?: never;
|
|
9798
10229
|
};
|
|
9799
10230
|
requestBody?: never;
|
|
@@ -9807,22 +10238,25 @@ interface operations {
|
|
|
9807
10238
|
message?: string;
|
|
9808
10239
|
success?: boolean;
|
|
9809
10240
|
content?: {
|
|
9810
|
-
|
|
10241
|
+
loyalty?: components["schemas"]["CustomerLoyalty"];
|
|
9811
10242
|
};
|
|
9812
10243
|
};
|
|
9813
10244
|
};
|
|
9814
10245
|
};
|
|
9815
|
-
400: components["responses"]["BadRequest"];
|
|
9816
10246
|
401: components["responses"]["Unauthorized"];
|
|
9817
10247
|
404: components["responses"]["NotFound"];
|
|
9818
10248
|
};
|
|
9819
10249
|
};
|
|
9820
|
-
"
|
|
10250
|
+
"list-loyalty-activities": {
|
|
9821
10251
|
parameters: {
|
|
9822
|
-
query?:
|
|
10252
|
+
query?: {
|
|
10253
|
+
/** @description Number of results per page. */limit?: components["parameters"]["pageLimitParam"]; /** @description page number of pagination list */
|
|
10254
|
+
page?: components["parameters"]["pageParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
10255
|
+
sort_by?: components["parameters"]["sortingParam"];
|
|
10256
|
+
};
|
|
9823
10257
|
header?: never;
|
|
9824
10258
|
path: {
|
|
9825
|
-
/** @description
|
|
10259
|
+
/** @description customer id */customer_id: string;
|
|
9826
10260
|
};
|
|
9827
10261
|
cookie?: never;
|
|
9828
10262
|
};
|
|
@@ -9834,10 +10268,10 @@ interface operations {
|
|
|
9834
10268
|
};
|
|
9835
10269
|
content: {
|
|
9836
10270
|
"application/json": {
|
|
9837
|
-
|
|
9838
|
-
success
|
|
9839
|
-
content
|
|
9840
|
-
|
|
10271
|
+
message?: string;
|
|
10272
|
+
success?: boolean;
|
|
10273
|
+
content?: {
|
|
10274
|
+
loyalty_points_activity?: components["schemas"]["LoyaltyPointActivity"][];
|
|
9841
10275
|
};
|
|
9842
10276
|
};
|
|
9843
10277
|
};
|
|
@@ -9846,25 +10280,19 @@ interface operations {
|
|
|
9846
10280
|
404: components["responses"]["NotFound"];
|
|
9847
10281
|
};
|
|
9848
10282
|
};
|
|
9849
|
-
"
|
|
10283
|
+
"list-customer-mandate-debit-schedules": {
|
|
9850
10284
|
parameters: {
|
|
9851
|
-
query?:
|
|
10285
|
+
query?: {
|
|
10286
|
+
/** @description page number of pagination list */page?: components["parameters"]["pageParam"]; /** @description Number of results per page. */
|
|
10287
|
+
limit?: components["parameters"]["pageLimitParam"];
|
|
10288
|
+
};
|
|
9852
10289
|
header?: never;
|
|
9853
10290
|
path: {
|
|
9854
|
-
/** @description
|
|
10291
|
+
/** @description Customer Id */customer_id: string;
|
|
9855
10292
|
};
|
|
9856
10293
|
cookie?: never;
|
|
9857
10294
|
};
|
|
9858
|
-
requestBody
|
|
9859
|
-
content: {
|
|
9860
|
-
"application/json": {
|
|
9861
|
-
cancellation_reason: string; /** @enum {string} */
|
|
9862
|
-
refund_mode: "original_payment_mode" | "bank_transfer"; /** @description verified bank account id if refund_mode = bank_transfer */
|
|
9863
|
-
bank_account_id?: string; /** @description feedback text */
|
|
9864
|
-
feedback?: string;
|
|
9865
|
-
};
|
|
9866
|
-
};
|
|
9867
|
-
};
|
|
10295
|
+
requestBody?: never;
|
|
9868
10296
|
responses: {
|
|
9869
10297
|
/** @description OK */200: {
|
|
9870
10298
|
headers: {
|
|
@@ -9872,10 +10300,497 @@ interface operations {
|
|
|
9872
10300
|
};
|
|
9873
10301
|
content: {
|
|
9874
10302
|
"application/json": {
|
|
9875
|
-
|
|
9876
|
-
success
|
|
9877
|
-
content
|
|
9878
|
-
|
|
10303
|
+
message: string;
|
|
10304
|
+
success: boolean;
|
|
10305
|
+
content: {
|
|
10306
|
+
mandate_debit_schedules: components["schemas"]["MandateDebitSchedule"][];
|
|
10307
|
+
pagination: components["schemas"]["Pagination"];
|
|
10308
|
+
};
|
|
10309
|
+
};
|
|
10310
|
+
};
|
|
10311
|
+
};
|
|
10312
|
+
400: components["responses"]["BadRequest"];
|
|
10313
|
+
401: components["responses"]["Unauthorized"];
|
|
10314
|
+
404: components["responses"]["NotFound"];
|
|
10315
|
+
};
|
|
10316
|
+
};
|
|
10317
|
+
"list-customer-mandates": {
|
|
10318
|
+
parameters: {
|
|
10319
|
+
query?: never;
|
|
10320
|
+
header?: never;
|
|
10321
|
+
path: {
|
|
10322
|
+
/** @description Customer Id */customer_id: string;
|
|
10323
|
+
};
|
|
10324
|
+
cookie?: never;
|
|
10325
|
+
};
|
|
10326
|
+
requestBody?: never;
|
|
10327
|
+
responses: {
|
|
10328
|
+
/** @description OK */200: {
|
|
10329
|
+
headers: {
|
|
10330
|
+
[name: string]: unknown;
|
|
10331
|
+
};
|
|
10332
|
+
content: {
|
|
10333
|
+
"application/json": {
|
|
10334
|
+
message: string;
|
|
10335
|
+
success: boolean;
|
|
10336
|
+
content: {
|
|
10337
|
+
mandates: components["schemas"]["CustomerMandate"][];
|
|
10338
|
+
};
|
|
10339
|
+
};
|
|
10340
|
+
};
|
|
10341
|
+
};
|
|
10342
|
+
401: components["responses"]["Unauthorized"];
|
|
10343
|
+
404: components["responses"]["NotFound"];
|
|
10344
|
+
};
|
|
10345
|
+
};
|
|
10346
|
+
"create-customer-mandate": {
|
|
10347
|
+
parameters: {
|
|
10348
|
+
query?: never;
|
|
10349
|
+
header?: never;
|
|
10350
|
+
path: {
|
|
10351
|
+
/** @description Customer Id */customer_id: string;
|
|
10352
|
+
};
|
|
10353
|
+
cookie?: never;
|
|
10354
|
+
}; /** @description payload for new mandate */
|
|
10355
|
+
requestBody: {
|
|
10356
|
+
content: {
|
|
10357
|
+
"application/json": components["schemas"]["CreateCustomerMandate"];
|
|
10358
|
+
};
|
|
10359
|
+
};
|
|
10360
|
+
responses: {
|
|
10361
|
+
/** @description OK */200: {
|
|
10362
|
+
headers: {
|
|
10363
|
+
[name: string]: unknown;
|
|
10364
|
+
};
|
|
10365
|
+
content: {
|
|
10366
|
+
"application/json": {
|
|
10367
|
+
message: string;
|
|
10368
|
+
success: boolean;
|
|
10369
|
+
content: {
|
|
10370
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10371
|
+
};
|
|
10372
|
+
};
|
|
10373
|
+
};
|
|
10374
|
+
};
|
|
10375
|
+
400: components["responses"]["BadRequest"];
|
|
10376
|
+
401: components["responses"]["Unauthorized"];
|
|
10377
|
+
404: components["responses"]["NotFound"];
|
|
10378
|
+
};
|
|
10379
|
+
};
|
|
10380
|
+
"get-customer-mandate": {
|
|
10381
|
+
parameters: {
|
|
10382
|
+
query?: {
|
|
10383
|
+
/** @description If true, sync the mandate status from the external mandate provider before returning. */sync?: boolean;
|
|
10384
|
+
};
|
|
10385
|
+
header?: never;
|
|
10386
|
+
path: {
|
|
10387
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
10388
|
+
mandate_id: string;
|
|
10389
|
+
};
|
|
10390
|
+
cookie?: never;
|
|
10391
|
+
};
|
|
10392
|
+
requestBody?: never;
|
|
10393
|
+
responses: {
|
|
10394
|
+
/** @description OK */200: {
|
|
10395
|
+
headers: {
|
|
10396
|
+
[name: string]: unknown;
|
|
10397
|
+
};
|
|
10398
|
+
content: {
|
|
10399
|
+
"application/json": {
|
|
10400
|
+
message: string;
|
|
10401
|
+
success: boolean;
|
|
10402
|
+
content: {
|
|
10403
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10404
|
+
};
|
|
10405
|
+
};
|
|
10406
|
+
};
|
|
10407
|
+
};
|
|
10408
|
+
401: components["responses"]["Unauthorized"];
|
|
10409
|
+
404: components["responses"]["NotFound"];
|
|
10410
|
+
};
|
|
10411
|
+
};
|
|
10412
|
+
"update-customer-mandate": {
|
|
10413
|
+
parameters: {
|
|
10414
|
+
query?: never;
|
|
10415
|
+
header?: never;
|
|
10416
|
+
path: {
|
|
10417
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
10418
|
+
mandate_id: string;
|
|
10419
|
+
};
|
|
10420
|
+
cookie?: never;
|
|
10421
|
+
};
|
|
10422
|
+
requestBody: {
|
|
10423
|
+
content: {
|
|
10424
|
+
"application/json": {
|
|
10425
|
+
max_amount?: number; /** Format: date-time */
|
|
10426
|
+
end_at?: string;
|
|
10427
|
+
};
|
|
10428
|
+
};
|
|
10429
|
+
};
|
|
10430
|
+
responses: {
|
|
10431
|
+
/** @description OK */200: {
|
|
10432
|
+
headers: {
|
|
10433
|
+
[name: string]: unknown;
|
|
10434
|
+
};
|
|
10435
|
+
content: {
|
|
10436
|
+
"application/json": {
|
|
10437
|
+
message: string;
|
|
10438
|
+
success: boolean;
|
|
10439
|
+
content: {
|
|
10440
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10441
|
+
};
|
|
10442
|
+
};
|
|
10443
|
+
};
|
|
10444
|
+
};
|
|
10445
|
+
400: components["responses"]["BadRequest"];
|
|
10446
|
+
401: components["responses"]["Unauthorized"];
|
|
10447
|
+
404: components["responses"]["NotFound"];
|
|
10448
|
+
};
|
|
10449
|
+
};
|
|
10450
|
+
"pause-customer-mandate": {
|
|
10451
|
+
parameters: {
|
|
10452
|
+
query?: never;
|
|
10453
|
+
header?: never;
|
|
10454
|
+
path: {
|
|
10455
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
10456
|
+
mandate_id: string;
|
|
10457
|
+
};
|
|
10458
|
+
cookie?: never;
|
|
10459
|
+
};
|
|
10460
|
+
requestBody?: never;
|
|
10461
|
+
responses: {
|
|
10462
|
+
/** @description OK */200: {
|
|
10463
|
+
headers: {
|
|
10464
|
+
[name: string]: unknown;
|
|
10465
|
+
};
|
|
10466
|
+
content: {
|
|
10467
|
+
"application/json": {
|
|
10468
|
+
message: string;
|
|
10469
|
+
success: boolean;
|
|
10470
|
+
content: {
|
|
10471
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10472
|
+
};
|
|
10473
|
+
};
|
|
10474
|
+
};
|
|
10475
|
+
};
|
|
10476
|
+
400: components["responses"]["BadRequest"];
|
|
10477
|
+
401: components["responses"]["Unauthorized"];
|
|
10478
|
+
404: components["responses"]["NotFound"];
|
|
10479
|
+
};
|
|
10480
|
+
};
|
|
10481
|
+
"resume-customer-mandate": {
|
|
10482
|
+
parameters: {
|
|
10483
|
+
query?: never;
|
|
10484
|
+
header?: never;
|
|
10485
|
+
path: {
|
|
10486
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
10487
|
+
mandate_id: string;
|
|
10488
|
+
};
|
|
10489
|
+
cookie?: never;
|
|
10490
|
+
};
|
|
10491
|
+
requestBody?: never;
|
|
10492
|
+
responses: {
|
|
10493
|
+
/** @description OK */200: {
|
|
10494
|
+
headers: {
|
|
10495
|
+
[name: string]: unknown;
|
|
10496
|
+
};
|
|
10497
|
+
content: {
|
|
10498
|
+
"application/json": {
|
|
10499
|
+
message: string;
|
|
10500
|
+
success: boolean;
|
|
10501
|
+
content: {
|
|
10502
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10503
|
+
};
|
|
10504
|
+
};
|
|
10505
|
+
};
|
|
10506
|
+
};
|
|
10507
|
+
400: components["responses"]["BadRequest"];
|
|
10508
|
+
401: components["responses"]["Unauthorized"];
|
|
10509
|
+
404: components["responses"]["NotFound"];
|
|
10510
|
+
};
|
|
10511
|
+
};
|
|
10512
|
+
"revoke-customer-mandate": {
|
|
10513
|
+
parameters: {
|
|
10514
|
+
query?: never;
|
|
10515
|
+
header?: never;
|
|
10516
|
+
path: {
|
|
10517
|
+
/** @description Customer Id */customer_id: string; /** @description Mandate Id */
|
|
10518
|
+
mandate_id: string;
|
|
10519
|
+
};
|
|
10520
|
+
cookie?: never;
|
|
10521
|
+
};
|
|
10522
|
+
requestBody?: never;
|
|
10523
|
+
responses: {
|
|
10524
|
+
/** @description OK */200: {
|
|
10525
|
+
headers: {
|
|
10526
|
+
[name: string]: unknown;
|
|
10527
|
+
};
|
|
10528
|
+
content: {
|
|
10529
|
+
"application/json": {
|
|
10530
|
+
message: string;
|
|
10531
|
+
success: boolean;
|
|
10532
|
+
content: {
|
|
10533
|
+
mandate: components["schemas"]["CustomerMandate"];
|
|
10534
|
+
};
|
|
10535
|
+
};
|
|
10536
|
+
};
|
|
10537
|
+
};
|
|
10538
|
+
400: components["responses"]["BadRequest"];
|
|
10539
|
+
401: components["responses"]["Unauthorized"];
|
|
10540
|
+
404: components["responses"]["NotFound"];
|
|
10541
|
+
};
|
|
10542
|
+
};
|
|
10543
|
+
"list-saved-payment-methods": {
|
|
10544
|
+
parameters: {
|
|
10545
|
+
query?: {
|
|
10546
|
+
/** @description Filter payment methods by type. Accepts multiple payment method types separated by commas. Example: payment_method=upi_collect,card,wallet. Available payment method types include: upi_collect, card, wallet. */payment_methods?: string;
|
|
10547
|
+
};
|
|
10548
|
+
header?: never;
|
|
10549
|
+
path: {
|
|
10550
|
+
/** @description Customer Id */customer_id: string;
|
|
10551
|
+
};
|
|
10552
|
+
cookie?: never;
|
|
10553
|
+
};
|
|
10554
|
+
requestBody?: never;
|
|
10555
|
+
responses: {
|
|
10556
|
+
/** @description OK */200: {
|
|
10557
|
+
headers: {
|
|
10558
|
+
[name: string]: unknown;
|
|
10559
|
+
};
|
|
10560
|
+
content: {
|
|
10561
|
+
"application/json": {
|
|
10562
|
+
message?: string;
|
|
10563
|
+
success?: boolean;
|
|
10564
|
+
content?: {
|
|
10565
|
+
saved_payment_methods?: components["schemas"]["SavedPaymentMethod"];
|
|
10566
|
+
};
|
|
10567
|
+
};
|
|
10568
|
+
};
|
|
10569
|
+
};
|
|
10570
|
+
401: components["responses"]["Unauthorized"];
|
|
10571
|
+
404: components["responses"]["NotFound"];
|
|
10572
|
+
};
|
|
10573
|
+
};
|
|
10574
|
+
"list-customer-reviews": {
|
|
10575
|
+
parameters: {
|
|
10576
|
+
query?: never;
|
|
10577
|
+
header?: never;
|
|
10578
|
+
path: {
|
|
10579
|
+
/** @description customer id */customer_id: string;
|
|
10580
|
+
};
|
|
10581
|
+
cookie?: never;
|
|
10582
|
+
};
|
|
10583
|
+
requestBody?: never;
|
|
10584
|
+
responses: {
|
|
10585
|
+
/** @description OK */200: {
|
|
10586
|
+
headers: {
|
|
10587
|
+
[name: string]: unknown;
|
|
10588
|
+
};
|
|
10589
|
+
content: {
|
|
10590
|
+
"application/json": {
|
|
10591
|
+
message?: string;
|
|
10592
|
+
success?: boolean;
|
|
10593
|
+
content?: {
|
|
10594
|
+
reviews?: components["schemas"]["CustomerReview"][];
|
|
10595
|
+
ready_for_review?: components["schemas"]["CustomerReadyForReview"][];
|
|
10596
|
+
};
|
|
10597
|
+
};
|
|
10598
|
+
};
|
|
10599
|
+
};
|
|
10600
|
+
400: components["responses"]["BadRequest"];
|
|
10601
|
+
401: components["responses"]["Unauthorized"];
|
|
10602
|
+
404: components["responses"]["NotFound"];
|
|
10603
|
+
};
|
|
10604
|
+
};
|
|
10605
|
+
"check-fulfillment": {
|
|
10606
|
+
parameters: {
|
|
10607
|
+
query?: never;
|
|
10608
|
+
header?: never;
|
|
10609
|
+
path?: never;
|
|
10610
|
+
cookie?: never;
|
|
10611
|
+
}; /** @description Fulfillment check request */
|
|
10612
|
+
requestBody: {
|
|
10613
|
+
content: {
|
|
10614
|
+
"application/json": components["schemas"]["CartBasedFulfillmentCheck"] | components["schemas"]["ItemsBasedFulfillmentCheck"];
|
|
10615
|
+
};
|
|
10616
|
+
};
|
|
10617
|
+
responses: {
|
|
10618
|
+
/** @description OK */200: {
|
|
10619
|
+
headers: {
|
|
10620
|
+
[name: string]: unknown;
|
|
10621
|
+
};
|
|
10622
|
+
content: {
|
|
10623
|
+
"application/json": {
|
|
10624
|
+
message: string;
|
|
10625
|
+
success: boolean;
|
|
10626
|
+
content: {
|
|
10627
|
+
is_serviceable: boolean; /** @description List of unserviceable items if any. Empty array if all items are serviceable. */
|
|
10628
|
+
unserviceable_items?: components["schemas"]["UnserviceableItem"][];
|
|
10629
|
+
};
|
|
10630
|
+
};
|
|
10631
|
+
};
|
|
10632
|
+
};
|
|
10633
|
+
400: components["responses"]["BadRequest"];
|
|
10634
|
+
401: components["responses"]["Unauthorized"];
|
|
10635
|
+
404: components["responses"]["NotFound"];
|
|
10636
|
+
};
|
|
10637
|
+
};
|
|
10638
|
+
"list-orders": {
|
|
10639
|
+
parameters: {
|
|
10640
|
+
query: {
|
|
10641
|
+
/** @description page number of pagination list */page?: components["parameters"]["pageParam"]; /** @description Number of results per page. */
|
|
10642
|
+
limit?: components["parameters"]["pageLimitParam"]; /** @description JSON string format: {"field1":"asc", "field2":"desc"} */
|
|
10643
|
+
sort_by?: components["parameters"]["sortingParam"]; /** @description array of string */
|
|
10644
|
+
status?: string[]; /** @description user id */
|
|
10645
|
+
user_id: string;
|
|
10646
|
+
};
|
|
10647
|
+
header?: never;
|
|
10648
|
+
path?: never;
|
|
10649
|
+
cookie?: never;
|
|
10650
|
+
};
|
|
10651
|
+
requestBody?: never;
|
|
10652
|
+
responses: {
|
|
10653
|
+
/** @description OK */200: {
|
|
10654
|
+
headers: {
|
|
10655
|
+
[name: string]: unknown;
|
|
10656
|
+
};
|
|
10657
|
+
content: {
|
|
10658
|
+
"application/json": {
|
|
10659
|
+
message?: string;
|
|
10660
|
+
success?: boolean;
|
|
10661
|
+
content?: {
|
|
10662
|
+
orders?: components["schemas"]["OrderList"][];
|
|
10663
|
+
pagination?: components["schemas"]["Pagination"];
|
|
10664
|
+
};
|
|
10665
|
+
};
|
|
10666
|
+
};
|
|
10667
|
+
};
|
|
10668
|
+
401: components["responses"]["Unauthorized"];
|
|
10669
|
+
};
|
|
10670
|
+
};
|
|
10671
|
+
"create-order": {
|
|
10672
|
+
parameters: {
|
|
10673
|
+
query?: never;
|
|
10674
|
+
header?: never;
|
|
10675
|
+
path?: never;
|
|
10676
|
+
cookie?: never;
|
|
10677
|
+
}; /** @description Request body */
|
|
10678
|
+
requestBody: {
|
|
10679
|
+
content: {
|
|
10680
|
+
"application/json": {
|
|
10681
|
+
cart_id: string;
|
|
10682
|
+
payment_method?: components["schemas"]["PaymentMethodPayload"];
|
|
10683
|
+
};
|
|
10684
|
+
};
|
|
10685
|
+
};
|
|
10686
|
+
responses: {
|
|
10687
|
+
/** @description OK */200: {
|
|
10688
|
+
headers: {
|
|
10689
|
+
[name: string]: unknown;
|
|
10690
|
+
};
|
|
10691
|
+
content: {
|
|
10692
|
+
"application/json": {
|
|
10693
|
+
message: string;
|
|
10694
|
+
success: boolean;
|
|
10695
|
+
content: {
|
|
10696
|
+
order: components["schemas"]["Order"];
|
|
10697
|
+
payment_required: boolean;
|
|
10698
|
+
payment_info: components["schemas"]["JusPayHyperCheckoutResponse"] | components["schemas"]["JusPayExpressCheckoutResponse"] | components["schemas"]["PayuPaymentInfo"];
|
|
10699
|
+
};
|
|
10700
|
+
};
|
|
10701
|
+
};
|
|
10702
|
+
};
|
|
10703
|
+
400: components["responses"]["BadRequest"];
|
|
10704
|
+
401: components["responses"]["Unauthorized"];
|
|
10705
|
+
};
|
|
10706
|
+
};
|
|
10707
|
+
"list-returns": {
|
|
10708
|
+
parameters: {
|
|
10709
|
+
query?: never;
|
|
10710
|
+
header?: never;
|
|
10711
|
+
path?: never;
|
|
10712
|
+
cookie?: never;
|
|
10713
|
+
};
|
|
10714
|
+
requestBody?: never;
|
|
10715
|
+
responses: {
|
|
10716
|
+
/** @description OK */200: {
|
|
10717
|
+
headers: {
|
|
10718
|
+
[name: string]: unknown;
|
|
10719
|
+
};
|
|
10720
|
+
content: {
|
|
10721
|
+
"application/json": {
|
|
10722
|
+
message?: string;
|
|
10723
|
+
success?: boolean;
|
|
10724
|
+
content?: {
|
|
10725
|
+
returns?: components["schemas"]["OrderReturn"][];
|
|
10726
|
+
};
|
|
10727
|
+
};
|
|
10728
|
+
};
|
|
10729
|
+
};
|
|
10730
|
+
400: components["responses"]["BadRequest"];
|
|
10731
|
+
401: components["responses"]["Unauthorized"];
|
|
10732
|
+
404: components["responses"]["NotFound"];
|
|
10733
|
+
};
|
|
10734
|
+
};
|
|
10735
|
+
"get-order-detail": {
|
|
10736
|
+
parameters: {
|
|
10737
|
+
query?: never;
|
|
10738
|
+
header?: never;
|
|
10739
|
+
path: {
|
|
10740
|
+
/** @description order number */order_number: string;
|
|
10741
|
+
};
|
|
10742
|
+
cookie?: never;
|
|
10743
|
+
};
|
|
10744
|
+
requestBody?: never;
|
|
10745
|
+
responses: {
|
|
10746
|
+
/** @description OK */200: {
|
|
10747
|
+
headers: {
|
|
10748
|
+
[name: string]: unknown;
|
|
10749
|
+
};
|
|
10750
|
+
content: {
|
|
10751
|
+
"application/json": {
|
|
10752
|
+
/** @default order details */message: $Read<string>;
|
|
10753
|
+
success: $Read<boolean>;
|
|
10754
|
+
content: {
|
|
10755
|
+
order: components["schemas"]["OrderDetail"];
|
|
10756
|
+
};
|
|
10757
|
+
};
|
|
10758
|
+
};
|
|
10759
|
+
};
|
|
10760
|
+
401: components["responses"]["Unauthorized"];
|
|
10761
|
+
404: components["responses"]["NotFound"];
|
|
10762
|
+
};
|
|
10763
|
+
};
|
|
10764
|
+
"cancel-order": {
|
|
10765
|
+
parameters: {
|
|
10766
|
+
query?: never;
|
|
10767
|
+
header?: never;
|
|
10768
|
+
path: {
|
|
10769
|
+
/** @description order number */order_number: string;
|
|
10770
|
+
};
|
|
10771
|
+
cookie?: never;
|
|
10772
|
+
};
|
|
10773
|
+
requestBody: {
|
|
10774
|
+
content: {
|
|
10775
|
+
"application/json": {
|
|
10776
|
+
cancellation_reason: string; /** @enum {string} */
|
|
10777
|
+
refund_mode: "original-payment-mode" | "bank-transfer"; /** @description verified bank account id if refund_mode = bank-transfer */
|
|
10778
|
+
bank_account_id?: string; /** @description feedback text */
|
|
10779
|
+
feedback?: string;
|
|
10780
|
+
};
|
|
10781
|
+
};
|
|
10782
|
+
};
|
|
10783
|
+
responses: {
|
|
10784
|
+
/** @description OK */200: {
|
|
10785
|
+
headers: {
|
|
10786
|
+
[name: string]: unknown;
|
|
10787
|
+
};
|
|
10788
|
+
content: {
|
|
10789
|
+
"application/json": {
|
|
10790
|
+
/** @default order details */message: $Read<string>;
|
|
10791
|
+
success?: $Read<boolean>;
|
|
10792
|
+
content?: {
|
|
10793
|
+
order?: components["schemas"]["OrderDetail"];
|
|
9879
10794
|
};
|
|
9880
10795
|
};
|
|
9881
10796
|
};
|
|
@@ -10235,6 +11150,36 @@ interface operations {
|
|
|
10235
11150
|
404: components["responses"]["NotFound"];
|
|
10236
11151
|
};
|
|
10237
11152
|
};
|
|
11153
|
+
"get-ifsc-lookup": {
|
|
11154
|
+
parameters: {
|
|
11155
|
+
query?: never;
|
|
11156
|
+
header?: never;
|
|
11157
|
+
path: {
|
|
11158
|
+
/** @description 11-character Indian Financial System Code (IFSC). */ifsc_code: string;
|
|
11159
|
+
};
|
|
11160
|
+
cookie?: never;
|
|
11161
|
+
};
|
|
11162
|
+
requestBody?: never;
|
|
11163
|
+
responses: {
|
|
11164
|
+
/** @description OK */200: {
|
|
11165
|
+
headers: {
|
|
11166
|
+
[name: string]: unknown;
|
|
11167
|
+
};
|
|
11168
|
+
content: {
|
|
11169
|
+
"application/json": {
|
|
11170
|
+
message: string;
|
|
11171
|
+
success: boolean;
|
|
11172
|
+
content: {
|
|
11173
|
+
ifsc: components["schemas"]["IfscDetail"];
|
|
11174
|
+
};
|
|
11175
|
+
};
|
|
11176
|
+
};
|
|
11177
|
+
};
|
|
11178
|
+
400: components["responses"]["BadRequest"];
|
|
11179
|
+
401: components["responses"]["Unauthorized"];
|
|
11180
|
+
404: components["responses"]["NotFound"];
|
|
11181
|
+
};
|
|
11182
|
+
};
|
|
10238
11183
|
"create-juspay-order": {
|
|
10239
11184
|
parameters: {
|
|
10240
11185
|
query?: never;
|
|
@@ -12708,6 +13653,7 @@ type AssociatedOption = Readable<components['schemas']['AssociatedOption']>;
|
|
|
12708
13653
|
type AutoScaleBasedOnAmount = Readable<components['schemas']['AutoScaleBasedOnAmount']>;
|
|
12709
13654
|
type AutoScaleBasedOnQuantity = Readable<components['schemas']['AutoScaleBasedOnQuantity']>;
|
|
12710
13655
|
type BankTransfer = Readable<components['schemas']['BankTransfer']>;
|
|
13656
|
+
type BankTransferCheckoutInput = Writable<components['schemas']['BankTransferCheckout']>;
|
|
12711
13657
|
type BooleanAttribute = Readable<components['schemas']['BooleanAttribute']>;
|
|
12712
13658
|
type Brand = Readable<components['schemas']['Brand']>;
|
|
12713
13659
|
type Business = Readable<components['schemas']['Business']>;
|
|
@@ -12735,8 +13681,12 @@ type CountryState = Readable<components['schemas']['CountryState']>;
|
|
|
12735
13681
|
type Coupon = Readable<components['schemas']['Coupon']>;
|
|
12736
13682
|
type CouponPromotionCommonDetail = Readable<components['schemas']['CouponPromotionCommonDetail']>;
|
|
12737
13683
|
type CouponType = Readable<components['schemas']['CouponType']>;
|
|
13684
|
+
type CreateBankAccountInput = Writable<components['schemas']['CreateBankAccount']>;
|
|
12738
13685
|
type CreateCustomSubscriptionInput = Writable<components['schemas']['CreateCustomSubscription']>;
|
|
13686
|
+
type CreateCustomerMandateInput = Writable<components['schemas']['CreateCustomerMandate']>;
|
|
13687
|
+
type CreateInboundBankAccountInput = Writable<components['schemas']['CreateInboundBankAccount']>;
|
|
12739
13688
|
type CreateOrderReturnInput = Writable<components['schemas']['CreateOrderReturn']>;
|
|
13689
|
+
type CreateOutboundBankAccountInput = Writable<components['schemas']['CreateOutboundBankAccount']>;
|
|
12740
13690
|
type CreateReviewInput = Writable<components['schemas']['CreateReview']>;
|
|
12741
13691
|
type CreateStandardSubscriptionInput = Writable<components['schemas']['CreateStandardSubscription']>;
|
|
12742
13692
|
type CreateSubscriptionInput = Writable<components['schemas']['CreateSubscription']>;
|
|
@@ -12745,9 +13695,12 @@ type CustomSlabsBasedOnAmount = Readable<components['schemas']['CustomSlabsBased
|
|
|
12745
13695
|
type CustomSlabsBasedOnQuantity = Readable<components['schemas']['CustomSlabsBasedOnQuantity']>;
|
|
12746
13696
|
type CustomerAddress = Readable<components['schemas']['CustomerAddress']>;
|
|
12747
13697
|
type CustomerAddressInput = Writable<components['schemas']['CustomerAddress']>;
|
|
13698
|
+
type CustomerBankAccount = Readable<components['schemas']['CustomerBankAccount']>;
|
|
13699
|
+
type CustomerCreditLineBalance = Readable<components['schemas']['CustomerCreditLineBalance']>;
|
|
12748
13700
|
type CustomerGroup = Readable<components['schemas']['CustomerGroup']>;
|
|
12749
13701
|
type CustomerGroupInput = Writable<components['schemas']['CustomerGroup']>;
|
|
12750
13702
|
type CustomerLoyalty = Readable<components['schemas']['CustomerLoyalty']>;
|
|
13703
|
+
type CustomerMandate = Readable<components['schemas']['CustomerMandate']>;
|
|
12751
13704
|
type CustomerReadyForReview = Readable<components['schemas']['CustomerReadyForReview']>;
|
|
12752
13705
|
type CustomerReview = Readable<components['schemas']['CustomerReview']>;
|
|
12753
13706
|
type DateAttribute = Readable<components['schemas']['DateAttribute']>;
|
|
@@ -12776,6 +13729,7 @@ type FulfillmentPreferenceInput = Writable<components['schemas']['FulfillmentPre
|
|
|
12776
13729
|
type GenerateOtpWithEmailInput = Writable<components['schemas']['GenerateOtpWithEmail']>;
|
|
12777
13730
|
type GenerateOtpWithPhoneInput = Writable<components['schemas']['GenerateOtpWithPhone']>;
|
|
12778
13731
|
type GstinDetail = Readable<components['schemas']['GstinDetail']>;
|
|
13732
|
+
type IfscDetail = Readable<components['schemas']['IfscDetail']>;
|
|
12779
13733
|
type InapplicableCoupon = Readable<components['schemas']['InapplicableCoupon']>;
|
|
12780
13734
|
type InapplicablePromotion = Readable<components['schemas']['InapplicablePromotion']>;
|
|
12781
13735
|
type Item = Readable<components['schemas']['Item']>;
|
|
@@ -12803,12 +13757,16 @@ type JuspayUpiPaymentMethod = Readable<components['schemas']['JuspayUpiPaymentMe
|
|
|
12803
13757
|
type JuspayWalletPaymentMethod = Readable<components['schemas']['JuspayWalletPaymentMethod']>;
|
|
12804
13758
|
type KycDocumentConfig = Readable<components['schemas']['KycDocumentConfig']>;
|
|
12805
13759
|
type LotBatchDetail = Readable<components['schemas']['LotBatchDetail']>;
|
|
13760
|
+
type LotusPayCheckoutInput = Writable<components['schemas']['LotusPayCheckout']>;
|
|
12806
13761
|
type LoyaltyPointActivity = Readable<components['schemas']['LoyaltyPointActivity']>;
|
|
13762
|
+
type MandateDebitSchedule = Readable<components['schemas']['MandateDebitSchedule']>;
|
|
13763
|
+
type MandateStatus = Readable<components['schemas']['MandateStatus']>;
|
|
12807
13764
|
type ManualPaymentMethod = Readable<components['schemas']['ManualPaymentMethod']>;
|
|
12808
13765
|
type MarketplaceItem = Readable<components['schemas']['MarketplaceItem']>;
|
|
12809
13766
|
type MarketplaceProduct = Readable<components['schemas']['MarketplaceProduct']>;
|
|
12810
13767
|
type MarketplaceProductDetail = Readable<components['schemas']['MarketplaceProductDetail']>;
|
|
12811
13768
|
type MultiSelectAttribute = Readable<components['schemas']['MultiSelectAttribute']>;
|
|
13769
|
+
type NachPayment = Readable<components['schemas']['NachPayment']>;
|
|
12812
13770
|
type NetbankingPayment = Readable<components['schemas']['NetbankingPayment']>;
|
|
12813
13771
|
type NotificationChannelPreferences = Readable<components['schemas']['NotificationChannelPreferences']>;
|
|
12814
13772
|
type NotificationChannelPreferencesInput = Writable<components['schemas']['NotificationChannelPreferences']>;
|
|
@@ -12888,9 +13846,12 @@ type SubscriptionInvoiceItem = Readable<components['schemas']['SubscriptionInvoi
|
|
|
12888
13846
|
type SubscriptionInvoiceItemInput = Writable<components['schemas']['SubscriptionInvoiceItem']>;
|
|
12889
13847
|
type TextAttribute = Readable<components['schemas']['TextAttribute']>;
|
|
12890
13848
|
type UnserviceableItem = Readable<components['schemas']['UnserviceableItem']>;
|
|
13849
|
+
type UpdateBankAccountInput = Writable<components['schemas']['UpdateBankAccount']>;
|
|
12891
13850
|
type UpdateCartItemInput = Writable<components['schemas']['UpdateCartItem']>;
|
|
12892
13851
|
type UpdateDigitalProductSubscriptionInput = Writable<components['schemas']['UpdateDigitalProductSubscription']>;
|
|
12893
13852
|
type UpdateDocumentInput = Writable<components['schemas']['UpdateDocument']>;
|
|
13853
|
+
type UpdateInboundBankAccountInput = Writable<components['schemas']['UpdateInboundBankAccount']>;
|
|
13854
|
+
type UpdateOutboundBankAccountInput = Writable<components['schemas']['UpdateOutboundBankAccount']>;
|
|
12894
13855
|
type UpdatePhysicalProductSubscriptionInput = Writable<components['schemas']['UpdatePhysicalProductSubscription']>;
|
|
12895
13856
|
type UpiPayment = Readable<components['schemas']['UpiPayment']>;
|
|
12896
13857
|
type User = Readable<components['schemas']['User']>;
|
|
@@ -13173,9 +14134,33 @@ type UpdateAddressDetailPathParams = paths['/customers/{customer_id}/addresses/{
|
|
|
13173
14134
|
type UpdateAddressDetailBody = Writable<NonNullable<paths['/customers/{customer_id}/addresses/{address_id}']['put']['requestBody']>['content']['application/json']>;
|
|
13174
14135
|
type DeleteAddressResponse = Readable<paths['/customers/{customer_id}/addresses/{address_id}']['delete']['responses'][200]['content']['application/json']>;
|
|
13175
14136
|
type DeleteAddressPathParams = paths['/customers/{customer_id}/addresses/{address_id}']['delete']['parameters']['path'];
|
|
14137
|
+
type ListBankAccountsResponse = Readable<paths['/customers/{customer_id}/bank-accounts']['get']['responses'][200]['content']['application/json']>;
|
|
14138
|
+
type ListBankAccountsContent = ListBankAccountsResponse['content'];
|
|
14139
|
+
type ListBankAccountsQuery = paths['/customers/{customer_id}/bank-accounts']['get']['parameters']['query'];
|
|
14140
|
+
type ListBankAccountsPathParams = paths['/customers/{customer_id}/bank-accounts']['get']['parameters']['path'];
|
|
14141
|
+
type CreateBankAccountResponse = Readable<paths['/customers/{customer_id}/bank-accounts']['post']['responses'][200]['content']['application/json']>;
|
|
14142
|
+
type CreateBankAccountContent = CreateBankAccountResponse['content'];
|
|
14143
|
+
type CreateBankAccountPathParams = paths['/customers/{customer_id}/bank-accounts']['post']['parameters']['path'];
|
|
14144
|
+
type CreateBankAccountBody = Writable<NonNullable<paths['/customers/{customer_id}/bank-accounts']['post']['requestBody']>['content']['application/json']>;
|
|
14145
|
+
type GetBankAccountDetailResponse = Readable<paths['/customers/{customer_id}/bank-accounts/{account_id}']['get']['responses'][200]['content']['application/json']>;
|
|
14146
|
+
type GetBankAccountDetailContent = GetBankAccountDetailResponse['content'];
|
|
14147
|
+
type GetBankAccountDetailPathParams = paths['/customers/{customer_id}/bank-accounts/{account_id}']['get']['parameters']['path'];
|
|
14148
|
+
type UpdateBankAccountResponse = Readable<paths['/customers/{customer_id}/bank-accounts/{account_id}']['put']['responses'][200]['content']['application/json']>;
|
|
14149
|
+
type UpdateBankAccountContent = UpdateBankAccountResponse['content'];
|
|
14150
|
+
type UpdateBankAccountPathParams = paths['/customers/{customer_id}/bank-accounts/{account_id}']['put']['parameters']['path'];
|
|
14151
|
+
type UpdateBankAccountBody = Writable<NonNullable<paths['/customers/{customer_id}/bank-accounts/{account_id}']['put']['requestBody']>['content']['application/json']>;
|
|
14152
|
+
type DeleteBankAccountResponse = Readable<paths['/customers/{customer_id}/bank-accounts/{account_id}']['delete']['responses'][200]['content']['application/json']>;
|
|
14153
|
+
type DeleteBankAccountPathParams = paths['/customers/{customer_id}/bank-accounts/{account_id}']['delete']['parameters']['path'];
|
|
14154
|
+
type VerifyBankAccountResponse = Readable<paths['/customers/{customer_id}/bank-accounts/{account_id}/verify']['post']['responses'][200]['content']['application/json']>;
|
|
14155
|
+
type VerifyBankAccountContent = VerifyBankAccountResponse['content'];
|
|
14156
|
+
type VerifyBankAccountPathParams = paths['/customers/{customer_id}/bank-accounts/{account_id}/verify']['post']['parameters']['path'];
|
|
14157
|
+
type VerifyBankAccountBody = Writable<NonNullable<paths['/customers/{customer_id}/bank-accounts/{account_id}/verify']['post']['requestBody']>['content']['application/json']>;
|
|
13176
14158
|
type ListCustomerCardsResponse = Readable<paths['/customers/{customer_id}/cards']['get']['responses'][200]['content']['application/json']>;
|
|
13177
14159
|
type ListCustomerCardsContent = ListCustomerCardsResponse['content'];
|
|
13178
14160
|
type ListCustomerCardsPathParams = paths['/customers/{customer_id}/cards']['get']['parameters']['path'];
|
|
14161
|
+
type GetCustomerCreditLineBalanceResponse = Readable<paths['/customers/{customer_id}/credit-line-balance']['get']['responses'][200]['content']['application/json']>;
|
|
14162
|
+
type GetCustomerCreditLineBalanceContent = GetCustomerCreditLineBalanceResponse['content'];
|
|
14163
|
+
type GetCustomerCreditLineBalancePathParams = paths['/customers/{customer_id}/credit-line-balance']['get']['parameters']['path'];
|
|
13179
14164
|
type ListDocumentsResponse = Readable<paths['/customers/{customer_id}/documents']['get']['responses'][200]['content']['application/json']>;
|
|
13180
14165
|
type ListDocumentsContent = ListDocumentsResponse['content'];
|
|
13181
14166
|
type ListDocumentsPathParams = paths['/customers/{customer_id}/documents']['get']['parameters']['path'];
|
|
@@ -13203,6 +14188,34 @@ type ListLoyaltyActivitiesResponse = Readable<paths['/customers/{customer_id}/lo
|
|
|
13203
14188
|
type ListLoyaltyActivitiesContent = ListLoyaltyActivitiesResponse['content'];
|
|
13204
14189
|
type ListLoyaltyActivitiesQuery = paths['/customers/{customer_id}/loyalty-points-activity']['get']['parameters']['query'];
|
|
13205
14190
|
type ListLoyaltyActivitiesPathParams = paths['/customers/{customer_id}/loyalty-points-activity']['get']['parameters']['path'];
|
|
14191
|
+
type ListCustomerMandateDebitSchedulesResponse = Readable<paths['/customers/{customer_id}/mandate-debit-schedules']['get']['responses'][200]['content']['application/json']>;
|
|
14192
|
+
type ListCustomerMandateDebitSchedulesContent = ListCustomerMandateDebitSchedulesResponse['content'];
|
|
14193
|
+
type ListCustomerMandateDebitSchedulesQuery = paths['/customers/{customer_id}/mandate-debit-schedules']['get']['parameters']['query'];
|
|
14194
|
+
type ListCustomerMandateDebitSchedulesPathParams = paths['/customers/{customer_id}/mandate-debit-schedules']['get']['parameters']['path'];
|
|
14195
|
+
type ListCustomerMandatesResponse = Readable<paths['/customers/{customer_id}/mandates']['get']['responses'][200]['content']['application/json']>;
|
|
14196
|
+
type ListCustomerMandatesContent = ListCustomerMandatesResponse['content'];
|
|
14197
|
+
type ListCustomerMandatesPathParams = paths['/customers/{customer_id}/mandates']['get']['parameters']['path'];
|
|
14198
|
+
type CreateCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates']['post']['responses'][200]['content']['application/json']>;
|
|
14199
|
+
type CreateCustomerMandateContent = CreateCustomerMandateResponse['content'];
|
|
14200
|
+
type CreateCustomerMandatePathParams = paths['/customers/{customer_id}/mandates']['post']['parameters']['path'];
|
|
14201
|
+
type CreateCustomerMandateBody = Writable<NonNullable<paths['/customers/{customer_id}/mandates']['post']['requestBody']>['content']['application/json']>;
|
|
14202
|
+
type GetCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates/{mandate_id}']['get']['responses'][200]['content']['application/json']>;
|
|
14203
|
+
type GetCustomerMandateContent = GetCustomerMandateResponse['content'];
|
|
14204
|
+
type GetCustomerMandateQuery = paths['/customers/{customer_id}/mandates/{mandate_id}']['get']['parameters']['query'];
|
|
14205
|
+
type GetCustomerMandatePathParams = paths['/customers/{customer_id}/mandates/{mandate_id}']['get']['parameters']['path'];
|
|
14206
|
+
type UpdateCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates/{mandate_id}']['put']['responses'][200]['content']['application/json']>;
|
|
14207
|
+
type UpdateCustomerMandateContent = UpdateCustomerMandateResponse['content'];
|
|
14208
|
+
type UpdateCustomerMandatePathParams = paths['/customers/{customer_id}/mandates/{mandate_id}']['put']['parameters']['path'];
|
|
14209
|
+
type UpdateCustomerMandateBody = Writable<NonNullable<paths['/customers/{customer_id}/mandates/{mandate_id}']['put']['requestBody']>['content']['application/json']>;
|
|
14210
|
+
type PauseCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates/{mandate_id}/pause']['post']['responses'][200]['content']['application/json']>;
|
|
14211
|
+
type PauseCustomerMandateContent = PauseCustomerMandateResponse['content'];
|
|
14212
|
+
type PauseCustomerMandatePathParams = paths['/customers/{customer_id}/mandates/{mandate_id}/pause']['post']['parameters']['path'];
|
|
14213
|
+
type ResumeCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates/{mandate_id}/resume']['post']['responses'][200]['content']['application/json']>;
|
|
14214
|
+
type ResumeCustomerMandateContent = ResumeCustomerMandateResponse['content'];
|
|
14215
|
+
type ResumeCustomerMandatePathParams = paths['/customers/{customer_id}/mandates/{mandate_id}/resume']['post']['parameters']['path'];
|
|
14216
|
+
type RevokeCustomerMandateResponse = Readable<paths['/customers/{customer_id}/mandates/{mandate_id}/revoke']['post']['responses'][200]['content']['application/json']>;
|
|
14217
|
+
type RevokeCustomerMandateContent = RevokeCustomerMandateResponse['content'];
|
|
14218
|
+
type RevokeCustomerMandatePathParams = paths['/customers/{customer_id}/mandates/{mandate_id}/revoke']['post']['parameters']['path'];
|
|
13206
14219
|
type ListSavedPaymentMethodsResponse = Readable<paths['/customers/{customer_id}/payment-methods']['get']['responses'][200]['content']['application/json']>;
|
|
13207
14220
|
type ListSavedPaymentMethodsContent = ListSavedPaymentMethodsResponse['content'];
|
|
13208
14221
|
type ListSavedPaymentMethodsQuery = paths['/customers/{customer_id}/payment-methods']['get']['parameters']['query'];
|
|
@@ -13261,6 +14274,9 @@ type GetCardInfoQuery = paths['/payments/card-info']['get']['parameters']['query
|
|
|
13261
14274
|
type GenerateHashResponse = Readable<paths['/payments/generate-hash']['post']['responses'][200]['content']['application/json']>;
|
|
13262
14275
|
type GenerateHashContent = GenerateHashResponse['content'];
|
|
13263
14276
|
type GenerateHashBody = Writable<NonNullable<paths['/payments/generate-hash']['post']['requestBody']>['content']['application/json']>;
|
|
14277
|
+
type GetIfscLookupResponse = Readable<paths['/payments/ifsc-lookup/{ifsc_code}']['get']['responses'][200]['content']['application/json']>;
|
|
14278
|
+
type GetIfscLookupContent = GetIfscLookupResponse['content'];
|
|
14279
|
+
type GetIfscLookupPathParams = paths['/payments/ifsc-lookup/{ifsc_code}']['get']['parameters']['path'];
|
|
13264
14280
|
type CreateJuspayOrderResponse = Readable<paths['/payments/juspay/create-order']['post']['responses'][200]['content']['application/json']>;
|
|
13265
14281
|
type CreateJuspayOrderContent = CreateJuspayOrderResponse['content'];
|
|
13266
14282
|
type CreateJuspayOrderBody = Writable<NonNullable<paths['/payments/juspay/create-order']['post']['requestBody']>['content']['application/json']>;
|
|
@@ -15809,21 +16825,46 @@ declare class PaymentsClient extends SessionStorefrontAPIClient {
|
|
|
15809
16825
|
* @returns Promise with new payment info containing updated OTP challenge
|
|
15810
16826
|
* @example
|
|
15811
16827
|
* ```typescript
|
|
15812
|
-
* // If user didn't receive OTP or it expired:
|
|
15813
|
-
* const { data, error } = await sdk.payments.resendDirectOtp({
|
|
15814
|
-
* txn_id: "txn_01H9XYZ12345ABCDE",
|
|
15815
|
-
* challenge_id: "challenge_01H9XYZ12345ABCDE"
|
|
16828
|
+
* // If user didn't receive OTP or it expired:
|
|
16829
|
+
* const { data, error } = await sdk.payments.resendDirectOtp({
|
|
16830
|
+
* txn_id: "txn_01H9XYZ12345ABCDE",
|
|
16831
|
+
* challenge_id: "challenge_01H9XYZ12345ABCDE"
|
|
16832
|
+
* });
|
|
16833
|
+
*
|
|
16834
|
+
* if (error) {
|
|
16835
|
+
* console.error("Failed to resend OTP:", error.message);
|
|
16836
|
+
* } else {
|
|
16837
|
+
* console.log("OTP resent successfully");
|
|
16838
|
+
* console.log("New payment info:", data.payment_info);
|
|
16839
|
+
* }
|
|
16840
|
+
* ```
|
|
16841
|
+
*/
|
|
16842
|
+
resendDirectOtp(body: ResendDirectOtpBody): Promise<ApiResult<ResendDirectOtpContent>>;
|
|
16843
|
+
/**
|
|
16844
|
+
* Verify an IFSC code and resolve its bank branch details
|
|
16845
|
+
*
|
|
16846
|
+
* @description Resolves an 11-character Indian Financial System Code (IFSC) to bank,
|
|
16847
|
+
* branch, and supported payment rail details. Useful for validating user-entered IFSC
|
|
16848
|
+
* codes before creating bank accounts or mandates.
|
|
16849
|
+
*
|
|
16850
|
+
* @param pathParams - Path parameters containing the IFSC code
|
|
16851
|
+
* @returns Promise with IFSC details
|
|
16852
|
+
* @example
|
|
16853
|
+
* ```typescript
|
|
16854
|
+
* const { data, error } = await sdk.payments.verifyIfscCode({
|
|
16855
|
+
* ifsc_code: "HDFC0001234"
|
|
15816
16856
|
* });
|
|
15817
16857
|
*
|
|
15818
16858
|
* if (error) {
|
|
15819
|
-
* console.error("Failed to
|
|
16859
|
+
* console.error("Failed to verify IFSC:", error.message);
|
|
15820
16860
|
* } else {
|
|
15821
|
-
* console.log("
|
|
15822
|
-
* console.log("
|
|
16861
|
+
* console.log("Bank:", data.ifsc.bank);
|
|
16862
|
+
* console.log("Branch:", data.ifsc.branch);
|
|
16863
|
+
* console.log("Supports UPI:", data.ifsc.upi);
|
|
15823
16864
|
* }
|
|
15824
16865
|
* ```
|
|
15825
16866
|
*/
|
|
15826
|
-
|
|
16867
|
+
verifyIfscCode(pathParams: GetIfscLookupPathParams): Promise<ApiResult<GetIfscLookupContent>>;
|
|
15827
16868
|
}
|
|
15828
16869
|
//#endregion
|
|
15829
16870
|
//#region src/lib/shared/helper.d.ts
|
|
@@ -16241,6 +17282,470 @@ declare class CustomerClient extends SessionStorefrontAPIClient {
|
|
|
16241
17282
|
listCustomerCards(pathParams: {
|
|
16242
17283
|
customer_id: string;
|
|
16243
17284
|
}): Promise<ApiResult<ListCustomerCardsContent>>;
|
|
17285
|
+
/**
|
|
17286
|
+
* List all bank accounts for a customer
|
|
17287
|
+
*
|
|
17288
|
+
* @param pathParamsOrQuery - Optional path parameters or query parameters.
|
|
17289
|
+
* @param queryParams - Optional query parameters when path params are provided.
|
|
17290
|
+
* @returns Promise with bank accounts
|
|
17291
|
+
*
|
|
17292
|
+
* @example
|
|
17293
|
+
* ```typescript
|
|
17294
|
+
* // Uses customer_id from active session
|
|
17295
|
+
* const { data, error } = await sdk.customer.listBankAccounts();
|
|
17296
|
+
*
|
|
17297
|
+
* // Filter by account type
|
|
17298
|
+
* const { data: inbound } = await sdk.customer.listBankAccounts({
|
|
17299
|
+
* account_type: "inbound"
|
|
17300
|
+
* });
|
|
17301
|
+
*
|
|
17302
|
+
* // With explicit customer_id and filter
|
|
17303
|
+
* const { data: outbound } = await sdk.customer.listBankAccounts(
|
|
17304
|
+
* { customer_id: "customer_123" },
|
|
17305
|
+
* { account_type: "outbound" }
|
|
17306
|
+
* );
|
|
17307
|
+
*
|
|
17308
|
+
* if (error) {
|
|
17309
|
+
* console.error("Failed to list bank accounts:", error);
|
|
17310
|
+
* return;
|
|
17311
|
+
* }
|
|
17312
|
+
*
|
|
17313
|
+
* console.log("Bank accounts:", data.bank_accounts);
|
|
17314
|
+
* ```
|
|
17315
|
+
*/
|
|
17316
|
+
listBankAccounts(): Promise<ApiResult<ListBankAccountsContent>>;
|
|
17317
|
+
listBankAccounts(queryParams: ListBankAccountsQuery): Promise<ApiResult<ListBankAccountsContent>>;
|
|
17318
|
+
listBankAccounts(pathParams: {
|
|
17319
|
+
customer_id: string;
|
|
17320
|
+
}, queryParams?: ListBankAccountsQuery): Promise<ApiResult<ListBankAccountsContent>>;
|
|
17321
|
+
/**
|
|
17322
|
+
* Create a new bank account for a customer
|
|
17323
|
+
*
|
|
17324
|
+
* @param pathParamsOrBody - Optional path parameters or the bank account body.
|
|
17325
|
+
* @param maybeBody - Bank account body when path params are provided.
|
|
17326
|
+
* @returns Promise with bank account details
|
|
17327
|
+
*
|
|
17328
|
+
* @example
|
|
17329
|
+
* ```typescript
|
|
17330
|
+
* // Outbound account (for receiving refunds/payouts)
|
|
17331
|
+
* const { data, error } = await sdk.customer.createBankAccount({
|
|
17332
|
+
* account_type: "outbound",
|
|
17333
|
+
* account_name: "Jane Doe",
|
|
17334
|
+
* account_number: "123456789012",
|
|
17335
|
+
* ifsc_code: "HDFC0001234",
|
|
17336
|
+
* bank_name: "HDFC Bank",
|
|
17337
|
+
* is_default: true
|
|
17338
|
+
* });
|
|
17339
|
+
*
|
|
17340
|
+
* // Inbound account (for collecting payments via a provider)
|
|
17341
|
+
* const { data: inbound } = await sdk.customer.createBankAccount({
|
|
17342
|
+
* account_type: "inbound",
|
|
17343
|
+
* service_provider_slug: "razorpay",
|
|
17344
|
+
* is_default: false
|
|
17345
|
+
* });
|
|
17346
|
+
*
|
|
17347
|
+
* if (error) {
|
|
17348
|
+
* console.error("Failed to create bank account:", error);
|
|
17349
|
+
* return;
|
|
17350
|
+
* }
|
|
17351
|
+
*
|
|
17352
|
+
* console.log("Bank account created:", data.bank_account);
|
|
17353
|
+
* ```
|
|
17354
|
+
*/
|
|
17355
|
+
createBankAccount(body: CreateBankAccountBody): Promise<ApiResult<CreateBankAccountContent>>;
|
|
17356
|
+
createBankAccount(pathParams: {
|
|
17357
|
+
customer_id: string;
|
|
17358
|
+
}, body: CreateBankAccountBody): Promise<ApiResult<CreateBankAccountContent>>;
|
|
17359
|
+
/**
|
|
17360
|
+
* Get a bank account for a customer
|
|
17361
|
+
*
|
|
17362
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17363
|
+
* @returns Promise with bank account details
|
|
17364
|
+
*
|
|
17365
|
+
* @example
|
|
17366
|
+
* ```typescript
|
|
17367
|
+
* const { data, error } = await sdk.customer.getBankAccount({
|
|
17368
|
+
* account_id: "acct_789"
|
|
17369
|
+
* });
|
|
17370
|
+
*
|
|
17371
|
+
* if (error) {
|
|
17372
|
+
* console.error("Failed to get bank account:", error);
|
|
17373
|
+
* return;
|
|
17374
|
+
* }
|
|
17375
|
+
*
|
|
17376
|
+
* console.log("Bank account:", data.bank_account);
|
|
17377
|
+
* ```
|
|
17378
|
+
*/
|
|
17379
|
+
getBankAccount(pathParams: {
|
|
17380
|
+
account_id: string;
|
|
17381
|
+
}): Promise<ApiResult<GetBankAccountDetailContent>>;
|
|
17382
|
+
getBankAccount(pathParams: {
|
|
17383
|
+
account_id: string;
|
|
17384
|
+
customer_id: string;
|
|
17385
|
+
}): Promise<ApiResult<GetBankAccountDetailContent>>;
|
|
17386
|
+
/**
|
|
17387
|
+
* Update a bank account for a customer
|
|
17388
|
+
*
|
|
17389
|
+
* @description Outbound accounts support full updates; inbound accounts can only update `is_default`.
|
|
17390
|
+
*
|
|
17391
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17392
|
+
* @param body - Bank account update body
|
|
17393
|
+
* @returns Promise with updated bank account details
|
|
17394
|
+
*
|
|
17395
|
+
* @example
|
|
17396
|
+
* ```typescript
|
|
17397
|
+
* // Update an outbound account
|
|
17398
|
+
* const { data, error } = await sdk.customer.updateBankAccount(
|
|
17399
|
+
* { account_id: "acct_789" },
|
|
17400
|
+
* {
|
|
17401
|
+
* account_type: "outbound",
|
|
17402
|
+
* account_name: "Jane A. Doe",
|
|
17403
|
+
* is_default: true
|
|
17404
|
+
* }
|
|
17405
|
+
* );
|
|
17406
|
+
*
|
|
17407
|
+
* // Update an inbound account (only is_default can be changed)
|
|
17408
|
+
* const { data: inbound } = await sdk.customer.updateBankAccount(
|
|
17409
|
+
* { account_id: "acct_inbound_001" },
|
|
17410
|
+
* { account_type: "inbound", is_default: true }
|
|
17411
|
+
* );
|
|
17412
|
+
*
|
|
17413
|
+
* if (error) {
|
|
17414
|
+
* console.error("Failed to update bank account:", error);
|
|
17415
|
+
* return;
|
|
17416
|
+
* }
|
|
17417
|
+
*
|
|
17418
|
+
* console.log("Bank account updated:", data.bank_account);
|
|
17419
|
+
* ```
|
|
17420
|
+
*/
|
|
17421
|
+
updateBankAccount(pathParams: {
|
|
17422
|
+
account_id: string;
|
|
17423
|
+
}, body: UpdateBankAccountBody): Promise<ApiResult<UpdateBankAccountContent>>;
|
|
17424
|
+
updateBankAccount(pathParams: {
|
|
17425
|
+
account_id: string;
|
|
17426
|
+
customer_id: string;
|
|
17427
|
+
}, body: UpdateBankAccountBody): Promise<ApiResult<UpdateBankAccountContent>>;
|
|
17428
|
+
/**
|
|
17429
|
+
* Delete a bank account for a customer
|
|
17430
|
+
*
|
|
17431
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17432
|
+
* @returns Promise with deletion response
|
|
17433
|
+
*
|
|
17434
|
+
* @example
|
|
17435
|
+
* ```typescript
|
|
17436
|
+
* const { data, error } = await sdk.customer.deleteBankAccount({
|
|
17437
|
+
* account_id: "acct_789"
|
|
17438
|
+
* });
|
|
17439
|
+
*
|
|
17440
|
+
* if (error) {
|
|
17441
|
+
* console.error("Failed to delete bank account:", error);
|
|
17442
|
+
* return;
|
|
17443
|
+
* }
|
|
17444
|
+
*
|
|
17445
|
+
* console.log("Bank account deleted:", data.message);
|
|
17446
|
+
* ```
|
|
17447
|
+
*/
|
|
17448
|
+
deleteBankAccount(pathParams: {
|
|
17449
|
+
account_id: string;
|
|
17450
|
+
}): Promise<ApiResult<DeleteBankAccountResponse>>;
|
|
17451
|
+
deleteBankAccount(pathParams: {
|
|
17452
|
+
account_id: string;
|
|
17453
|
+
customer_id: string;
|
|
17454
|
+
}): Promise<ApiResult<DeleteBankAccountResponse>>;
|
|
17455
|
+
/**
|
|
17456
|
+
* Set the verification status of a bank account
|
|
17457
|
+
*
|
|
17458
|
+
* @description Only the primary user of the customer account can perform this action.
|
|
17459
|
+
*
|
|
17460
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17461
|
+
* @param body - Verification body with `is_verified` flag
|
|
17462
|
+
* @returns Promise with updated bank account details
|
|
17463
|
+
*
|
|
17464
|
+
* @example
|
|
17465
|
+
* ```typescript
|
|
17466
|
+
* const { data, error } = await sdk.customer.verifyBankAccount(
|
|
17467
|
+
* { account_id: "acct_789" },
|
|
17468
|
+
* { is_verified: true }
|
|
17469
|
+
* );
|
|
17470
|
+
*
|
|
17471
|
+
* if (error) {
|
|
17472
|
+
* console.error("Failed to verify bank account:", error);
|
|
17473
|
+
* return;
|
|
17474
|
+
* }
|
|
17475
|
+
*
|
|
17476
|
+
* console.log("Verification status:", data.bank_account?.is_verified);
|
|
17477
|
+
* ```
|
|
17478
|
+
*/
|
|
17479
|
+
verifyBankAccount(pathParams: {
|
|
17480
|
+
account_id: string;
|
|
17481
|
+
}, body: VerifyBankAccountBody): Promise<ApiResult<VerifyBankAccountContent>>;
|
|
17482
|
+
verifyBankAccount(pathParams: {
|
|
17483
|
+
account_id: string;
|
|
17484
|
+
customer_id: string;
|
|
17485
|
+
}, body: VerifyBankAccountBody): Promise<ApiResult<VerifyBankAccountContent>>;
|
|
17486
|
+
/**
|
|
17487
|
+
* Get the customer's credit-line eligibility, balance, and active mandates
|
|
17488
|
+
*
|
|
17489
|
+
* @description Returns the customer's credit-line eligibility, their latest balance,
|
|
17490
|
+
* and all currently `active` mandates usable for credit-line debits.
|
|
17491
|
+
*
|
|
17492
|
+
* @param pathParams - Optional path parameters. When `customer_id` is omitted, the SDK resolves it from the active session.
|
|
17493
|
+
* @returns Promise with credit-line balance details
|
|
17494
|
+
*
|
|
17495
|
+
* @example
|
|
17496
|
+
* ```typescript
|
|
17497
|
+
* const { data, error } = await sdk.customer.getCreditLineBalance();
|
|
17498
|
+
*
|
|
17499
|
+
* if (error) {
|
|
17500
|
+
* console.error("Failed to get credit line balance:", error);
|
|
17501
|
+
* return;
|
|
17502
|
+
* }
|
|
17503
|
+
*
|
|
17504
|
+
* console.log("Eligible:", data.is_eligible);
|
|
17505
|
+
* console.log("Balance:", data.credit_line_balance?.balance_amount);
|
|
17506
|
+
* console.log("Active mandates:", data.active_mandates);
|
|
17507
|
+
* ```
|
|
17508
|
+
*/
|
|
17509
|
+
getCreditLineBalance(): Promise<ApiResult<GetCustomerCreditLineBalanceContent>>;
|
|
17510
|
+
getCreditLineBalance(pathParams: {
|
|
17511
|
+
customer_id: string;
|
|
17512
|
+
}): Promise<ApiResult<GetCustomerCreditLineBalanceContent>>;
|
|
17513
|
+
/**
|
|
17514
|
+
* List all mandates for a customer
|
|
17515
|
+
*
|
|
17516
|
+
* @param pathParams - Optional path parameters. When `customer_id` is omitted, the SDK resolves it from the active session.
|
|
17517
|
+
* @returns Promise with mandates
|
|
17518
|
+
*
|
|
17519
|
+
* @example
|
|
17520
|
+
* ```typescript
|
|
17521
|
+
* const { data, error } = await sdk.customer.listMandates();
|
|
17522
|
+
*
|
|
17523
|
+
* if (error) {
|
|
17524
|
+
* console.error("Failed to list mandates:", error);
|
|
17525
|
+
* return;
|
|
17526
|
+
* }
|
|
17527
|
+
*
|
|
17528
|
+
* console.log("Mandates:", data.mandates);
|
|
17529
|
+
* ```
|
|
17530
|
+
*/
|
|
17531
|
+
listMandates(): Promise<ApiResult<ListCustomerMandatesContent>>;
|
|
17532
|
+
listMandates(pathParams: {
|
|
17533
|
+
customer_id: string;
|
|
17534
|
+
}): Promise<ApiResult<ListCustomerMandatesContent>>;
|
|
17535
|
+
/**
|
|
17536
|
+
* Create a new mandate for a customer
|
|
17537
|
+
*
|
|
17538
|
+
* @param pathParamsOrBody - Optional path parameters or the mandate body.
|
|
17539
|
+
* @param maybeBody - Mandate body when path params are provided.
|
|
17540
|
+
* @returns Promise with the created mandate
|
|
17541
|
+
*
|
|
17542
|
+
* @example
|
|
17543
|
+
* ```typescript
|
|
17544
|
+
* const { data, error } = await sdk.customer.createMandate({
|
|
17545
|
+
* payment_method_type: "NB",
|
|
17546
|
+
* payment_method: "JP_HDFC",
|
|
17547
|
+
* service_provider_slug: "juspay",
|
|
17548
|
+
* gateway_reference_id: "gtw_ref_01H9XYZ",
|
|
17549
|
+
* bank_ifsc: "HDFC0001234",
|
|
17550
|
+
* bank_account_number: "123456789012",
|
|
17551
|
+
* bank_beneficiary_name: "Jane Doe"
|
|
17552
|
+
* });
|
|
17553
|
+
*
|
|
17554
|
+
* if (error) {
|
|
17555
|
+
* console.error("Failed to create mandate:", error);
|
|
17556
|
+
* return;
|
|
17557
|
+
* }
|
|
17558
|
+
*
|
|
17559
|
+
* console.log("Mandate created:", data.mandate);
|
|
17560
|
+
* ```
|
|
17561
|
+
*/
|
|
17562
|
+
createMandate(body: CreateCustomerMandateBody): Promise<ApiResult<CreateCustomerMandateContent>>;
|
|
17563
|
+
createMandate(pathParams: {
|
|
17564
|
+
customer_id: string;
|
|
17565
|
+
}, body: CreateCustomerMandateBody): Promise<ApiResult<CreateCustomerMandateContent>>;
|
|
17566
|
+
/**
|
|
17567
|
+
* Get a mandate for a customer
|
|
17568
|
+
*
|
|
17569
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17570
|
+
* @param queryParams - Optional query parameters. Set `sync: true` to refresh the status from the mandate provider before returning.
|
|
17571
|
+
* @returns Promise with the mandate
|
|
17572
|
+
*
|
|
17573
|
+
* @example
|
|
17574
|
+
* ```typescript
|
|
17575
|
+
* const { data, error } = await sdk.customer.getMandate({
|
|
17576
|
+
* mandate_id: "mandate_456"
|
|
17577
|
+
* });
|
|
17578
|
+
*
|
|
17579
|
+
* // Force a sync with the upstream provider
|
|
17580
|
+
* const { data: synced } = await sdk.customer.getMandate(
|
|
17581
|
+
* { mandate_id: "mandate_456" },
|
|
17582
|
+
* { sync: true }
|
|
17583
|
+
* );
|
|
17584
|
+
*
|
|
17585
|
+
* if (error) {
|
|
17586
|
+
* console.error("Failed to get mandate:", error);
|
|
17587
|
+
* return;
|
|
17588
|
+
* }
|
|
17589
|
+
*
|
|
17590
|
+
* console.log("Mandate:", data.mandate);
|
|
17591
|
+
* ```
|
|
17592
|
+
*/
|
|
17593
|
+
getMandate(pathParams: {
|
|
17594
|
+
mandate_id: string;
|
|
17595
|
+
}, queryParams?: GetCustomerMandateQuery): Promise<ApiResult<GetCustomerMandateContent>>;
|
|
17596
|
+
getMandate(pathParams: {
|
|
17597
|
+
mandate_id: string;
|
|
17598
|
+
customer_id: string;
|
|
17599
|
+
}, queryParams?: GetCustomerMandateQuery): Promise<ApiResult<GetCustomerMandateContent>>;
|
|
17600
|
+
/**
|
|
17601
|
+
* Update a mandate's `max_amount` or `end_at`
|
|
17602
|
+
*
|
|
17603
|
+
* @description Only mandates with an `active` status can be updated.
|
|
17604
|
+
*
|
|
17605
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17606
|
+
* @param body - Mandate update body
|
|
17607
|
+
* @returns Promise with the updated mandate
|
|
17608
|
+
*
|
|
17609
|
+
* @example
|
|
17610
|
+
* ```typescript
|
|
17611
|
+
* const { data, error } = await sdk.customer.updateMandate(
|
|
17612
|
+
* { mandate_id: "mandate_456" },
|
|
17613
|
+
* {
|
|
17614
|
+
* max_amount: 50000,
|
|
17615
|
+
* end_at: "2027-12-31T23:59:59Z"
|
|
17616
|
+
* }
|
|
17617
|
+
* );
|
|
17618
|
+
*
|
|
17619
|
+
* if (error) {
|
|
17620
|
+
* console.error("Failed to update mandate:", error);
|
|
17621
|
+
* return;
|
|
17622
|
+
* }
|
|
17623
|
+
*
|
|
17624
|
+
* console.log("Mandate updated:", data.mandate);
|
|
17625
|
+
* ```
|
|
17626
|
+
*/
|
|
17627
|
+
updateMandate(pathParams: {
|
|
17628
|
+
mandate_id: string;
|
|
17629
|
+
}, body: UpdateCustomerMandateBody): Promise<ApiResult<UpdateCustomerMandateContent>>;
|
|
17630
|
+
updateMandate(pathParams: {
|
|
17631
|
+
mandate_id: string;
|
|
17632
|
+
customer_id: string;
|
|
17633
|
+
}, body: UpdateCustomerMandateBody): Promise<ApiResult<UpdateCustomerMandateContent>>;
|
|
17634
|
+
/**
|
|
17635
|
+
* Pause a mandate
|
|
17636
|
+
*
|
|
17637
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17638
|
+
* @returns Promise with the paused mandate
|
|
17639
|
+
*
|
|
17640
|
+
* @example
|
|
17641
|
+
* ```typescript
|
|
17642
|
+
* const { data, error } = await sdk.customer.pauseMandate({
|
|
17643
|
+
* mandate_id: "mandate_456"
|
|
17644
|
+
* });
|
|
17645
|
+
*
|
|
17646
|
+
* if (error) {
|
|
17647
|
+
* console.error("Failed to pause mandate:", error);
|
|
17648
|
+
* return;
|
|
17649
|
+
* }
|
|
17650
|
+
*
|
|
17651
|
+
* console.log("Mandate status:", data.mandate.status);
|
|
17652
|
+
* ```
|
|
17653
|
+
*/
|
|
17654
|
+
pauseMandate(pathParams: {
|
|
17655
|
+
mandate_id: string;
|
|
17656
|
+
}): Promise<ApiResult<PauseCustomerMandateContent>>;
|
|
17657
|
+
pauseMandate(pathParams: {
|
|
17658
|
+
mandate_id: string;
|
|
17659
|
+
customer_id: string;
|
|
17660
|
+
}): Promise<ApiResult<PauseCustomerMandateContent>>;
|
|
17661
|
+
/**
|
|
17662
|
+
* Resume a paused mandate
|
|
17663
|
+
*
|
|
17664
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17665
|
+
* @returns Promise with the resumed mandate
|
|
17666
|
+
*
|
|
17667
|
+
* @example
|
|
17668
|
+
* ```typescript
|
|
17669
|
+
* const { data, error } = await sdk.customer.resumeMandate({
|
|
17670
|
+
* mandate_id: "mandate_456"
|
|
17671
|
+
* });
|
|
17672
|
+
*
|
|
17673
|
+
* if (error) {
|
|
17674
|
+
* console.error("Failed to resume mandate:", error);
|
|
17675
|
+
* return;
|
|
17676
|
+
* }
|
|
17677
|
+
*
|
|
17678
|
+
* console.log("Mandate status:", data.mandate.status);
|
|
17679
|
+
* ```
|
|
17680
|
+
*/
|
|
17681
|
+
resumeMandate(pathParams: {
|
|
17682
|
+
mandate_id: string;
|
|
17683
|
+
}): Promise<ApiResult<ResumeCustomerMandateContent>>;
|
|
17684
|
+
resumeMandate(pathParams: {
|
|
17685
|
+
mandate_id: string;
|
|
17686
|
+
customer_id: string;
|
|
17687
|
+
}): Promise<ApiResult<ResumeCustomerMandateContent>>;
|
|
17688
|
+
/**
|
|
17689
|
+
* Revoke a mandate
|
|
17690
|
+
*
|
|
17691
|
+
* @param pathParams - Path parameters. `customer_id` is optional and resolved from the active session when omitted.
|
|
17692
|
+
* @returns Promise with the revoked mandate
|
|
17693
|
+
*
|
|
17694
|
+
* @example
|
|
17695
|
+
* ```typescript
|
|
17696
|
+
* const { data, error } = await sdk.customer.revokeMandate({
|
|
17697
|
+
* mandate_id: "mandate_456"
|
|
17698
|
+
* });
|
|
17699
|
+
*
|
|
17700
|
+
* if (error) {
|
|
17701
|
+
* console.error("Failed to revoke mandate:", error);
|
|
17702
|
+
* return;
|
|
17703
|
+
* }
|
|
17704
|
+
*
|
|
17705
|
+
* console.log("Mandate status:", data.mandate.status);
|
|
17706
|
+
* ```
|
|
17707
|
+
*/
|
|
17708
|
+
revokeMandate(pathParams: {
|
|
17709
|
+
mandate_id: string;
|
|
17710
|
+
}): Promise<ApiResult<RevokeCustomerMandateContent>>;
|
|
17711
|
+
revokeMandate(pathParams: {
|
|
17712
|
+
mandate_id: string;
|
|
17713
|
+
customer_id: string;
|
|
17714
|
+
}): Promise<ApiResult<RevokeCustomerMandateContent>>;
|
|
17715
|
+
/**
|
|
17716
|
+
* List mandate debit schedule entries for a customer across all mandates
|
|
17717
|
+
*
|
|
17718
|
+
* @description Each entry represents a queued, executed, retried, or cancelled
|
|
17719
|
+
* mandate-based debit attempt.
|
|
17720
|
+
*
|
|
17721
|
+
* @param pathParamsOrQuery - Optional path parameters or query parameters.
|
|
17722
|
+
* @param queryParams - Optional query parameters when path params are provided.
|
|
17723
|
+
* @returns Promise with paginated mandate debit schedules
|
|
17724
|
+
*
|
|
17725
|
+
* @example
|
|
17726
|
+
* ```typescript
|
|
17727
|
+
* const { data, error } = await sdk.customer.listMandateDebitSchedules();
|
|
17728
|
+
*
|
|
17729
|
+
* if (error) {
|
|
17730
|
+
* console.error("Failed to list mandate debit schedules:", error);
|
|
17731
|
+
* return;
|
|
17732
|
+
* }
|
|
17733
|
+
*
|
|
17734
|
+
* console.log("Debit schedules:", data.mandate_debit_schedules);
|
|
17735
|
+
* console.log("Pagination:", data.pagination);
|
|
17736
|
+
*
|
|
17737
|
+
* // With pagination
|
|
17738
|
+
* const { data: page2 } = await sdk.customer.listMandateDebitSchedules({
|
|
17739
|
+
* page: 2,
|
|
17740
|
+
* limit: 20
|
|
17741
|
+
* });
|
|
17742
|
+
* ```
|
|
17743
|
+
*/
|
|
17744
|
+
listMandateDebitSchedules(): Promise<ApiResult<ListCustomerMandateDebitSchedulesContent>>;
|
|
17745
|
+
listMandateDebitSchedules(queryParams: ListCustomerMandateDebitSchedulesQuery): Promise<ApiResult<ListCustomerMandateDebitSchedulesContent>>;
|
|
17746
|
+
listMandateDebitSchedules(pathParams: {
|
|
17747
|
+
customer_id: string;
|
|
17748
|
+
}, queryParams?: ListCustomerMandateDebitSchedulesQuery): Promise<ApiResult<ListCustomerMandateDebitSchedulesContent>>;
|
|
16244
17749
|
}
|
|
16245
17750
|
//#endregion
|
|
16246
17751
|
//#region src/lib/shared/store-config.d.ts
|
|
@@ -16575,5 +18080,5 @@ interface StorefrontFactory {
|
|
|
16575
18080
|
*/
|
|
16576
18081
|
declare function createStorefront(options: CreateStorefrontOptions): StorefrontFactory;
|
|
16577
18082
|
//#endregion
|
|
16578
|
-
export { AcceleratedRewardCouponPromotion, AcceleratedRewardRule, AddProfileImageContent, AddProfileImageFormData, AddProfileImagePathParams, AddProfileImageResponse, AddToWishlistBody, AddToWishlistContent, AddToWishlistPathParams, AddToWishlistResponse, AdditionalProductDetails, AnalyticsEventInput, AnalyticsProvider, AnonymousUser, ApiErrorResponse, ApiResult, ApplicableCoupon, ApplicablePromotion, AppliedCoupon, AppliedPromotion, ApplyCouponBody, ApplyCouponContent, ApplyCouponPathParams, ApplyCouponResponse, AssociatedOption, AuthClient, AuthenticateDirectOtpBody, AuthenticateDirectOtpResponse, AutoScaleBasedOnAmount, AutoScaleBasedOnQuantity, BankTransfer, BaseAPIClient, BaseSDKOptions, BooleanAttribute, Brand, BrowserTokenStorage, Business, BusinessInput, BuyXGetYCouponPromotion, BuyXGetYRule, BuyXGetYRuleBasedOnAmount, BuyXGetYRuleBasedOnQuantity, CancelOrderBody, CancelOrderContent, CancelOrderPathParams, CancelOrderResponse, CancelPaymentRequestPathParams, CancelPaymentRequestResponse, CardPayment, CardbinInfo, Cart, CartBasedFulfillmentCheckInput, CartBasedFulfillmentOptionInput, CartClient, CartItem, CartShipment, CatalogClient, Category, ChangePasswordBody, ChangePasswordContent, ChangePasswordResponse, type Channel, CheckFulfillmentBody, CheckFulfillmentContent, CheckFulfillmentResponse, CheckStoreResponse, CheckVerificationStatusBody, CheckVerificationStatusContent, CheckVerificationStatusResponse, ClaimPosDeviceContent, ClaimPosDevicePathParams, ClaimPosDeviceResponse, CollectInStore, CollectInStoreAddress, CollectInStoreFulfillment, CollectInStoreFulfillmentInput, ColorAttribute, ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, Country, CountryState, Coupon, CouponPromotionCommonDetail, CouponType, CreateAddressBody, CreateAddressContent, CreateAddressPathParams, CreateAddressResponse, CreateCartAddressBody, CreateCartAddressContent, CreateCartAddressPathParams, CreateCartAddressResponse, CreateCartBody, CreateCartContent, CreateCartResponse, CreateCustomSubscriptionInput, CreateDocumentContent, CreateDocumentFormData, CreateDocumentPathParams, CreateDocumentResponse, CreateJuspayCustomerBody, CreateJuspayCustomerContent, CreateJuspayCustomerResponse, CreateJuspayOrderBody, CreateJuspayOrderContent, CreateJuspayOrderResponse, CreateMarketplaceProductReviewFormData, CreateMarketplaceProductReviewPathParams, CreateMarketplaceProductReviewResponse, CreateOrderBody, CreateOrderContent, CreateOrderResponse, CreateOrderReturnBody, CreateOrderReturnContent, CreateOrderReturnInput, CreateOrderReturnPathParams, CreateOrderReturnResponse, CreatePosOrderBody, CreatePosOrderContent, CreatePosOrderResponse, CreateProductReviewFormData, CreateProductReviewPathParams, CreateProductReviewResponse, CreateReviewInput, CreateStandardSubscriptionInput, CreateStorefrontOptions, CreateSubscriptionBody, CreateSubscriptionContent, CreateSubscriptionInput, CreateSubscriptionResponse, Currency, CustomSlabsBasedOnAmount, CustomSlabsBasedOnQuantity, CustomerAddress, CustomerAddressInput, CustomerClient, CustomerGroup, CustomerGroupInput, CustomerLoyalty, CustomerReadyForReview, CustomerReview, DateAttribute, DeactivateUserPathParams, DeactivateUserResponse, DebugLogger, DebugLoggerFn, DeleteAddressPathParams, DeleteAddressResponse, DeleteCartPathParams, DeleteCartResponse, DeleteDocumentPathParams, DeleteDocumentResponse, DeleteFromWishlistBody, DeleteFromWishlistContent, DeleteFromWishlistPathParams, DeleteFromWishlistResponse, DeleteUserCartPathParams, DeleteUserCartResponse, DeleteUserPathParams, DeleteUserResponse, DeliveryFulfillment, DeliveryFulfillmentInput, DeliveryOption, DiscountBasedPromotion, DiscountCouponPromotion, DiscountRule, Document, DocumentInput, Environment, EvaluateCouponsContent, EvaluateCouponsPathParams, EvaluateCouponsResponse, EvaluatePromotionsContent, EvaluatePromotionsPathParams, EvaluatePromotionsResponse, FixedAmountDiscountRule, FixedPriceCouponPromotion, FixedPricePromotion, FixedPriceRule, FixedPriceRuleBasedAmount, FixedPriceRuleBasedQuantity, ForgotPasswordBody, ForgotPasswordContent, ForgotPasswordHeaderParams, ForgotPasswordResponse, FreeGoodCouponPromotion, FreeGoodsPromotion, FreeGoodsRule, FreeShipingCouponPromotion, FulfillmentItem, FulfillmentItemInput, FulfillmentPreference, FulfillmentPreferenceInput, GenerateHashBody, GenerateHashContent, GenerateHashResponse, GenerateOtpBody, GenerateOtpContent, GenerateOtpHeaderParams, GenerateOtpResponse, GenerateOtpWithEmailInput, GenerateOtpWithPhoneInput, GetAddressDetailContent, GetAddressDetailPathParams, GetAddressDetailResponse, GetAnonymousTokenContent, GetAnonymousTokenResponse, GetCardInfoContent, GetCardInfoQuery, GetCardInfoResponse, GetCartContent, GetCartPathParams, GetCartResponse, GetConfigContent, GetConfigResponse, GetDocumentContent, GetDocumentPathParams, GetDocumentResponse, GetFulfillmentOptionsBody, GetFulfillmentOptionsContent, GetFulfillmentOptionsResponse, GetJuspayCustomerContent, GetJuspayCustomerPathParams, GetJuspayCustomerResponse, GetLoyaltyDetailsContent, GetLoyaltyDetailsPathParams, GetLoyaltyDetailsResponse, GetMarketplaceProductDetailContent, GetMarketplaceProductDetailHeaderParams, GetMarketplaceProductDetailPathParams, GetMarketplaceProductDetailQuery, GetMarketplaceProductDetailResponse, GetMarketplaceVariantDetailContent, GetMarketplaceVariantDetailHeaderParams, GetMarketplaceVariantDetailPathParams, GetMarketplaceVariantDetailQuery, GetMarketplaceVariantDetailResponse, GetOrderDetailContent, GetOrderDetailPathParams, GetOrderDetailResponse, GetOrderReturnDetailContent, GetOrderReturnDetailPathParams, GetOrderReturnDetailResponse, GetPaymentStatusContent, GetPaymentStatusPathParams, GetPaymentStatusResponse, GetPosFulfillmentOptionsBody, GetPosFulfillmentOptionsContent, GetPosFulfillmentOptionsResponse, GetPosUserContent, GetPosUserPathParams, GetPosUserResponse, GetProductDetailContent, GetProductDetailHeaderParams, GetProductDetailPathParams, GetProductDetailQuery, GetProductDetailResponse, GetProfileImageContent, GetProfileImagePathParams, GetProfileImageResponse, GetSellerDetailContent, GetSellerDetailPathParams, GetSellerDetailResponse, GetSubscriptionContent, GetSubscriptionPathParams, GetSubscriptionResponse, GetUserCartContent, GetUserCartPathParams, GetUserCartResponse, GetUserDetailContent, GetUserDetailPathParams, GetUserDetailResponse, GetVariantDetailContent, GetVariantDetailHeaderParams, GetVariantDetailPathParams, GetVariantDetailQuery, GetVariantDetailResponse, GetWishlistContent, GetWishlistPathParams, GetWishlistQuery, GetWishlistResponse, GstinDetail, HeaderConfig, HelpersClient, InapplicableCoupon, InapplicablePromotion, Item, ItemsBasedFulfillmentCheckInput, JusPayExpressCheckoutCommonFieldInput, JusPayExpressCheckoutInput, JusPayExpressCheckoutResponse, JusPayHyperCheckoutInput, JusPayHyperCheckoutResponse, JusPayNewCardInput, JusPaySavedCardTokenInput, JuspayCardDetail, JuspayCardPaymentMethod, JuspayCreateCustomerPayloadInput, JuspayCreateOrderPayloadInput, JuspayCustomer, JuspayNetBankingInput, JuspayNetbankingPaymentMethod, JuspayOrder, JuspayPaymentMethod, JuspayPaymentMethodDetail, JuspayUpiCollectInput, JuspayUpiIntentInput, JuspayUpiPaymentMethod, JuspayWalletPaymentMethod, 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, ListCustomerReviewsContent, ListCustomerReviewsPathParams, ListCustomerReviewsResponse, 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, ListSavedPaymentMethodsQuery, ListSavedPaymentMethodsResponse, ListSellerReviewsContent, ListSellerReviewsPathParams, ListSellerReviewsResponse, ListSimilarProductsContent, ListSimilarProductsHeaderParams, ListSimilarProductsQuery, ListSimilarProductsResponse, ListSkusContent, ListSkusHeaderParams, ListSkusQuery, ListSkusResponse, ListSubscriptionsContent, ListSubscriptionsResponse, ListUpsellProductsContent, ListUpsellProductsHeaderParams, ListUpsellProductsQuery, ListUpsellProductsResponse, 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, MarketplaceItem, MarketplaceProduct, MarketplaceProductDetail, MemoryTokenStorage, MultiSelectAttribute, NetbankingPayment, NotificationChannelPreferences, NotificationChannelPreferencesInput, NotificationPreferences, NotificationPreferencesInput, NumberAttribute, Order, OrderClient, OrderDetail, OrderItem, OrderList, OrderPayment, OrderRefund, OrderReturn, OrderReturnItem, OrderReturnItemInput, OrderShipment, OtpContent, Pagination, PairPosDeviceBody, PairPosDeviceContent, PairPosDeviceResponse, PanDetail, PartialCollectAndDelivery, PartialCollectAndDeliveryInput, PauseSubscriptionInput, PayWithCardInput, PayWithCashInput, PayWithUpiInput, PaymentInfo, PaymentMethodPayloadInput, PaymentProvider, 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, PosUpdateCustomerWithEmailInput, PosUpdateCustomerWithIdInput, PosUpdateCustomerWithPhoneInput, PosUpdateFulfillmentPreferenceBody, PosUpdateFulfillmentPreferenceContent, PosUpdateFulfillmentPreferencePathParams, PosUpdateFulfillmentPreferenceResponse, PosUser, Product, ProductAttribute, ProductBundleItem, ProductCategory, ProductDetail, ProductImage, ProductPricing, ProductPromotion, ProductReview, ProductShipping, ProductSubscription, ProductVideo, Promotion, PromotionType, PublicCatalogClient, PublicHelpersClient, PublicStoreConfigClient, PublicStorefrontAPIClient, PublicStorefrontSDK, type PublicStorefrontSDKOptions, type Readable, RedeemCreditBalanceBody, RedeemCreditBalanceContent, RedeemCreditBalancePathParams, RedeemCreditBalanceResponse, RedeemLoyaltyPointsBody, RedeemLoyaltyPointsContent, RedeemLoyaltyPointsPathParams, RedeemLoyaltyPointsResponse, RefreshPosAccessTokenBody, RefreshPosAccessTokenContent, RefreshPosAccessTokenResponse, RefreshTokenBody, RefreshTokenContent, RefreshTokenResponse, RegisterWithEmailBody, RegisterWithEmailContent, RegisterWithEmailHeaderParams, RegisterWithEmailPasswordInput, RegisterWithEmailResponse, RegisterWithPasswordBody, RegisterWithPasswordContent, RegisterWithPasswordHeaderParams, RegisterWithPasswordResponse, RegisterWithPhoneBody, RegisterWithPhoneContent, RegisterWithPhoneHeaderParams, RegisterWithPhonePasswordInput, RegisterWithPhoneResponse, RegisterWithWhatsappBody, RegisterWithWhatsappContent, RegisterWithWhatsappHeaderParams, RegisterWithWhatsappResponse, RemoveCouponContent, RemoveCouponPathParams, RemoveCouponResponse, RemoveCreditBalanceContent, RemoveCreditBalancePathParams, RemoveCreditBalanceResponse, RemoveLoyaltyPointsContent, RemoveLoyaltyPointsPathParams, RemoveLoyaltyPointsResponse, RemoveProfileImagePathParams, RemoveProfileImageResponse, ResendDirectOtpBody, ResendDirectOtpContent, ResendDirectOtpResponse, ResetPasswordBody, ResetPasswordContent, ResetPasswordResponse, ResponseUtils, RetryOrderPaymentBody, RetryOrderPaymentContent, RetryOrderPaymentPathParams, RetryOrderPaymentResponse, RevokeSubscriptionInput, SavedPaymentMethod, SearchMarketplaceProductsBody, SearchMarketplaceProductsContent, SearchMarketplaceProductsHeaderParams, SearchMarketplaceProductsResponse, SearchProductInput, SearchProductsBody, SearchProductsContent, SearchProductsHeaderParams, SearchProductsResponse, SellerDetail, SellerInfo, SellerReview, SellerReviewStats, SendOtpWithEmailInput, SendOtpWithPhoneInput, Seo, ServiceProviderBasicDetail, SessionStorefrontAPIClient, SessionStorefrontConfig, SessionStorefrontSDK, type SessionStorefrontSDKOptions, ShipmentItem, ShipmentStatus, SingleSelectAttribute, SingleSelectOption, StoreConfig, StoreConfigClient, StoreTemplate, StorefrontFactory, type StorefrontSession, SubscribeNewsletterBody, SubscribeNewsletterResponse, Subscription, SubscriptionBehaviourInput, SubscriptionDetail, SubscriptionInvoiceItem, SubscriptionInvoiceItemInput, type SupportedDefaultHeaders, TextAttribute, type TokenStorage, TrackAnalyticsEventBody, TrackAnalyticsEventResponse, UnclaimPosDeviceContent, UnclaimPosDevicePathParams, UnclaimPosDeviceResponse, UnserviceableItem, UpdateAddressDetailBody, UpdateAddressDetailContent, UpdateAddressDetailPathParams, UpdateAddressDetailResponse, UpdateCartBody, UpdateCartContent, UpdateCartItemInput, UpdateCartPathParams, UpdateCartResponse, UpdateDigitalProductSubscriptionInput, UpdateDocumentContent, UpdateDocumentFormData, UpdateDocumentInput, UpdateDocumentPathParams, UpdateDocumentResponse, UpdateFulfillmentPreferenceBody, UpdateFulfillmentPreferenceContent, UpdateFulfillmentPreferencePathParams, UpdateFulfillmentPreferenceResponse, UpdatePhysicalProductSubscriptionInput, UpdatePosCartCustomerBody, UpdatePosCartCustomerContent, UpdatePosCartCustomerPathParams, UpdatePosCartCustomerResponse, UpdateProfileImageContent, UpdateProfileImageFormData, UpdateProfileImagePathParams, UpdateProfileImageResponse, UpdateSubscriptionBody, UpdateSubscriptionContent, UpdateSubscriptionPathParams, UpdateSubscriptionResponse, UpdateUserBody, UpdateUserContent, UpdateUserPathParams, UpdateUserResponse, UpiPayment, User, type UserInfo, UserInput, Variant, VariantDetail, VariantOption, VerifyDocumentBody, VerifyDocumentContent, VerifyDocumentPathParams, VerifyDocumentResponse, VerifyOtpBody, VerifyOtpContent, VerifyOtpResponse, VerifyPosLoginOtpBody, VerifyPosLoginOtpContent, VerifyPosLoginOtpResponse, VerifyVpaContent, VerifyVpaQuery, VerifyVpaResponse, VolumeBasedCouponPromotion, VolumeBasedPromotion, VolumeBasedRule, WalletPayment, type Writable, type components, createDebugMiddleware, createStorefront, createTimeoutMiddleware, executeRequest, extractRequestBody, getPathnameFromUrl, mergeAndTransformHeaders, mergeHeaders, type operations, type paths, transformHeaders };
|
|
18083
|
+
export { type AcceleratedRewardCouponPromotion, type AcceleratedRewardRule, type AddProfileImageContent, type AddProfileImageFormData, type AddProfileImagePathParams, type AddProfileImageResponse, type AddToWishlistBody, type AddToWishlistContent, type AddToWishlistPathParams, type AddToWishlistResponse, type AdditionalProductDetails, type AnalyticsEventInput, type AnalyticsProvider, type AnonymousUser, type ApiErrorResponse, type ApiResult, type ApplicableCoupon, type ApplicablePromotion, type AppliedCoupon, type AppliedPromotion, type ApplyCouponBody, type ApplyCouponContent, type ApplyCouponPathParams, type ApplyCouponResponse, type AssociatedOption, AuthClient, type AuthenticateDirectOtpBody, type AuthenticateDirectOtpResponse, type AutoScaleBasedOnAmount, type AutoScaleBasedOnQuantity, type BankTransfer, type BankTransferCheckoutInput, type BaseAPIClient, type BaseSDKOptions, type BooleanAttribute, type Brand, BrowserTokenStorage, type Business, type BusinessInput, type BuyXGetYCouponPromotion, type BuyXGetYRule, type BuyXGetYRuleBasedOnAmount, type BuyXGetYRuleBasedOnQuantity, type CancelOrderBody, type CancelOrderContent, type CancelOrderPathParams, type CancelOrderResponse, type CancelPaymentRequestPathParams, type CancelPaymentRequestResponse, type CardPayment, type CardbinInfo, type Cart, type CartBasedFulfillmentCheckInput, type CartBasedFulfillmentOptionInput, CartClient, type CartItem, type CartShipment, CatalogClient, type Category, type ChangePasswordBody, type ChangePasswordContent, type ChangePasswordResponse, type Channel, type CheckFulfillmentBody, type CheckFulfillmentContent, type CheckFulfillmentResponse, type CheckStoreResponse, type CheckVerificationStatusBody, type CheckVerificationStatusContent, type CheckVerificationStatusResponse, type ClaimPosDeviceContent, type ClaimPosDevicePathParams, type ClaimPosDeviceResponse, type CollectInStore, type CollectInStoreAddress, type CollectInStoreFulfillment, type CollectInStoreFulfillmentInput, type ColorAttribute, type ColorOption, CookieTokenStorage, type CookieTokenStorageOptions, type Country, type CountryState, type Coupon, type CouponPromotionCommonDetail, type CouponType, type CreateAddressBody, type CreateAddressContent, type CreateAddressPathParams, type CreateAddressResponse, type CreateBankAccountBody, type CreateBankAccountContent, type CreateBankAccountInput, type CreateBankAccountPathParams, type CreateBankAccountResponse, type CreateCartAddressBody, type CreateCartAddressContent, type CreateCartAddressPathParams, type CreateCartAddressResponse, type CreateCartBody, type CreateCartContent, type CreateCartResponse, type CreateCustomSubscriptionInput, type CreateCustomerMandateBody, type CreateCustomerMandateContent, type CreateCustomerMandateInput, type CreateCustomerMandatePathParams, type CreateCustomerMandateResponse, type CreateDocumentContent, type CreateDocumentFormData, type CreateDocumentPathParams, type CreateDocumentResponse, type CreateInboundBankAccountInput, type CreateJuspayCustomerBody, type CreateJuspayCustomerContent, type CreateJuspayCustomerResponse, type CreateJuspayOrderBody, type CreateJuspayOrderContent, type CreateJuspayOrderResponse, type CreateMarketplaceProductReviewFormData, type CreateMarketplaceProductReviewPathParams, type CreateMarketplaceProductReviewResponse, type CreateOrderBody, type CreateOrderContent, type CreateOrderResponse, type CreateOrderReturnBody, type CreateOrderReturnContent, type CreateOrderReturnInput, type CreateOrderReturnPathParams, type CreateOrderReturnResponse, type CreateOutboundBankAccountInput, type CreatePosOrderBody, type CreatePosOrderContent, type CreatePosOrderResponse, type CreateProductReviewFormData, type CreateProductReviewPathParams, type CreateProductReviewResponse, type CreateReviewInput, type CreateStandardSubscriptionInput, CreateStorefrontOptions, type CreateSubscriptionBody, type CreateSubscriptionContent, type CreateSubscriptionInput, type CreateSubscriptionResponse, type Currency, type CustomSlabsBasedOnAmount, type CustomSlabsBasedOnQuantity, type CustomerAddress, type CustomerAddressInput, type CustomerBankAccount, CustomerClient, type CustomerCreditLineBalance, type CustomerGroup, type CustomerGroupInput, type CustomerLoyalty, type CustomerMandate, type CustomerReadyForReview, type CustomerReview, type DateAttribute, type DeactivateUserPathParams, type DeactivateUserResponse, type DebugLogger, type DebugLoggerFn, type DeleteAddressPathParams, type DeleteAddressResponse, type DeleteBankAccountPathParams, type DeleteBankAccountResponse, type DeleteCartPathParams, type DeleteCartResponse, type DeleteDocumentPathParams, type DeleteDocumentResponse, type DeleteFromWishlistBody, type DeleteFromWishlistContent, type DeleteFromWishlistPathParams, type DeleteFromWishlistResponse, type DeleteUserCartPathParams, type DeleteUserCartResponse, type DeleteUserPathParams, type DeleteUserResponse, type DeliveryFulfillment, type DeliveryFulfillmentInput, type DeliveryOption, type DiscountBasedPromotion, type DiscountCouponPromotion, type DiscountRule, type Document, type DocumentInput, Environment, type EvaluateCouponsContent, type EvaluateCouponsPathParams, type EvaluateCouponsResponse, type EvaluatePromotionsContent, type EvaluatePromotionsPathParams, type EvaluatePromotionsResponse, type FixedAmountDiscountRule, type FixedPriceCouponPromotion, type FixedPricePromotion, type FixedPriceRule, type FixedPriceRuleBasedAmount, type FixedPriceRuleBasedQuantity, type ForgotPasswordBody, type ForgotPasswordContent, type ForgotPasswordHeaderParams, type ForgotPasswordResponse, type FreeGoodCouponPromotion, type FreeGoodsPromotion, type FreeGoodsRule, type FreeShipingCouponPromotion, type FulfillmentItem, type FulfillmentItemInput, type FulfillmentPreference, type FulfillmentPreferenceInput, type GenerateHashBody, type GenerateHashContent, type GenerateHashResponse, type GenerateOtpBody, type GenerateOtpContent, type GenerateOtpHeaderParams, type GenerateOtpResponse, type GenerateOtpWithEmailInput, type GenerateOtpWithPhoneInput, type GetAddressDetailContent, type GetAddressDetailPathParams, type GetAddressDetailResponse, type GetAnonymousTokenContent, type GetAnonymousTokenResponse, type GetBankAccountDetailContent, type GetBankAccountDetailPathParams, type GetBankAccountDetailResponse, type GetCardInfoContent, type GetCardInfoQuery, type GetCardInfoResponse, type GetCartContent, type GetCartPathParams, type GetCartResponse, type GetConfigContent, type GetConfigResponse, type GetCustomerCreditLineBalanceContent, type GetCustomerCreditLineBalancePathParams, type GetCustomerCreditLineBalanceResponse, type GetCustomerMandateContent, type GetCustomerMandatePathParams, type GetCustomerMandateQuery, type GetCustomerMandateResponse, type GetDocumentContent, type GetDocumentPathParams, type GetDocumentResponse, type GetFulfillmentOptionsBody, type GetFulfillmentOptionsContent, type GetFulfillmentOptionsResponse, type GetIfscLookupContent, type GetIfscLookupPathParams, type GetIfscLookupResponse, type GetJuspayCustomerContent, type GetJuspayCustomerPathParams, type GetJuspayCustomerResponse, type GetLoyaltyDetailsContent, type GetLoyaltyDetailsPathParams, type GetLoyaltyDetailsResponse, type GetMarketplaceProductDetailContent, type GetMarketplaceProductDetailHeaderParams, type GetMarketplaceProductDetailPathParams, type GetMarketplaceProductDetailQuery, type GetMarketplaceProductDetailResponse, type GetMarketplaceVariantDetailContent, type GetMarketplaceVariantDetailHeaderParams, type GetMarketplaceVariantDetailPathParams, type GetMarketplaceVariantDetailQuery, type GetMarketplaceVariantDetailResponse, type GetOrderDetailContent, type GetOrderDetailPathParams, type GetOrderDetailResponse, type GetOrderReturnDetailContent, type GetOrderReturnDetailPathParams, type GetOrderReturnDetailResponse, type GetPaymentStatusContent, type GetPaymentStatusPathParams, type GetPaymentStatusResponse, type GetPosFulfillmentOptionsBody, type GetPosFulfillmentOptionsContent, type GetPosFulfillmentOptionsResponse, type GetPosUserContent, type GetPosUserPathParams, type GetPosUserResponse, type GetProductDetailContent, type GetProductDetailHeaderParams, type GetProductDetailPathParams, type GetProductDetailQuery, type GetProductDetailResponse, type GetProfileImageContent, type GetProfileImagePathParams, type GetProfileImageResponse, type GetSellerDetailContent, type GetSellerDetailPathParams, type GetSellerDetailResponse, type GetSubscriptionContent, type GetSubscriptionPathParams, type GetSubscriptionResponse, type GetUserCartContent, type GetUserCartPathParams, type GetUserCartResponse, type GetUserDetailContent, type GetUserDetailPathParams, type GetUserDetailResponse, type GetVariantDetailContent, type GetVariantDetailHeaderParams, type GetVariantDetailPathParams, type GetVariantDetailQuery, type GetVariantDetailResponse, type GetWishlistContent, type GetWishlistPathParams, type GetWishlistQuery, type GetWishlistResponse, type GstinDetail, type HeaderConfig, HelpersClient, type IfscDetail, type InapplicableCoupon, type InapplicablePromotion, type Item, type ItemsBasedFulfillmentCheckInput, type JusPayExpressCheckoutCommonFieldInput, type JusPayExpressCheckoutInput, type JusPayExpressCheckoutResponse, type JusPayHyperCheckoutInput, type JusPayHyperCheckoutResponse, type JusPayNewCardInput, type JusPaySavedCardTokenInput, type JuspayCardDetail, type JuspayCardPaymentMethod, type JuspayCreateCustomerPayloadInput, type JuspayCreateOrderPayloadInput, type JuspayCustomer, type JuspayNetBankingInput, type JuspayNetbankingPaymentMethod, type JuspayOrder, type JuspayPaymentMethod, type JuspayPaymentMethodDetail, type JuspayUpiCollectInput, type JuspayUpiIntentInput, type JuspayUpiPaymentMethod, type JuspayWalletPaymentMethod, type KycDocumentConfig, type ListAddressesContent, type ListAddressesPathParams, type ListAddressesQuery, type ListAddressesResponse, type ListBankAccountsContent, type ListBankAccountsPathParams, type ListBankAccountsQuery, type ListBankAccountsResponse, type ListCategoriesContent, type ListCategoriesQuery, type ListCategoriesResponse, type ListCountriesContent, type ListCountriesResponse, type ListCountryPincodesContent, type ListCountryPincodesPathParams, type ListCountryPincodesQuery, type ListCountryPincodesResponse, type ListCountryStatesContent, type ListCountryStatesPathParams, type ListCountryStatesResponse, type ListCouponsContent, type ListCouponsHeaderParams, type ListCouponsResponse, type ListCrosssellProductsContent, type ListCrosssellProductsHeaderParams, type ListCrosssellProductsQuery, type ListCrosssellProductsResponse, type ListCustomerCardsContent, type ListCustomerCardsPathParams, type ListCustomerCardsResponse, type ListCustomerMandateDebitSchedulesContent, type ListCustomerMandateDebitSchedulesPathParams, type ListCustomerMandateDebitSchedulesQuery, type ListCustomerMandateDebitSchedulesResponse, type ListCustomerMandatesContent, type ListCustomerMandatesPathParams, type ListCustomerMandatesResponse, type ListCustomerReviewsContent, type ListCustomerReviewsPathParams, type ListCustomerReviewsResponse, type ListDocumentsContent, type ListDocumentsPathParams, type ListDocumentsResponse, type ListKycDocumentContent, type ListKycDocumentResponse, type ListLoyaltyActivitiesContent, type ListLoyaltyActivitiesPathParams, type ListLoyaltyActivitiesQuery, type ListLoyaltyActivitiesResponse, type ListMarketplaceCategoriesContent, type ListMarketplaceCategoriesQuery, type ListMarketplaceCategoriesResponse, type ListMarketplaceCrosssellProductsContent, type ListMarketplaceCrosssellProductsHeaderParams, type ListMarketplaceCrosssellProductsQuery, type ListMarketplaceCrosssellProductsResponse, type ListMarketplaceProductReviewsContent, type ListMarketplaceProductReviewsPathParams, type ListMarketplaceProductReviewsQuery, type ListMarketplaceProductReviewsResponse, type ListMarketplaceProductVariantsContent, type ListMarketplaceProductVariantsHeaderParams, type ListMarketplaceProductVariantsPathParams, type ListMarketplaceProductVariantsQuery, type ListMarketplaceProductVariantsResponse, type ListMarketplaceProductsContent, type ListMarketplaceProductsHeaderParams, type ListMarketplaceProductsQuery, type ListMarketplaceProductsResponse, type ListMarketplaceSimilarProductsContent, type ListMarketplaceSimilarProductsHeaderParams, type ListMarketplaceSimilarProductsQuery, type ListMarketplaceSimilarProductsResponse, type ListMarketplaceSkusContent, type ListMarketplaceSkusHeaderParams, type ListMarketplaceSkusQuery, type ListMarketplaceSkusResponse, type ListMarketplaceUpsellProductsContent, type ListMarketplaceUpsellProductsHeaderParams, type ListMarketplaceUpsellProductsQuery, type ListMarketplaceUpsellProductsResponse, type ListOrderPaymentsContent, type ListOrderPaymentsPathParams, type ListOrderPaymentsResponse, type ListOrderRefundsContent, type ListOrderRefundsPathParams, type ListOrderRefundsResponse, type ListOrderShipmentsContent, type ListOrderShipmentsPathParams, type ListOrderShipmentsResponse, type ListOrdersContent, type ListOrdersQuery, type ListOrdersResponse, type ListPaymentMethodsContent, type ListPaymentMethodsQuery, type ListPaymentMethodsResponse, type ListPosDevicesContent, type ListPosDevicesResponse, type ListPosLocationsContent, type ListPosLocationsResponse, type ListProductReviewsContent, type ListProductReviewsPathParams, type ListProductReviewsQuery, type ListProductReviewsResponse, type ListProductVariantsContent, type ListProductVariantsHeaderParams, type ListProductVariantsPathParams, type ListProductVariantsQuery, type ListProductVariantsResponse, type ListProductsContent, type ListProductsHeaderParams, type ListProductsQuery, type ListProductsResponse, type ListPromotionsContent, type ListPromotionsHeaderParams, type ListPromotionsResponse, type ListReturnsContent, type ListReturnsResponse, type ListSavedPaymentMethodsContent, type ListSavedPaymentMethodsPathParams, type ListSavedPaymentMethodsQuery, type ListSavedPaymentMethodsResponse, type ListSellerReviewsContent, type ListSellerReviewsPathParams, type ListSellerReviewsResponse, type ListSimilarProductsContent, type ListSimilarProductsHeaderParams, type ListSimilarProductsQuery, type ListSimilarProductsResponse, type ListSkusContent, type ListSkusHeaderParams, type ListSkusQuery, type ListSkusResponse, type ListSubscriptionsContent, type ListSubscriptionsResponse, type ListUpsellProductsContent, type ListUpsellProductsHeaderParams, type ListUpsellProductsQuery, type ListUpsellProductsResponse, type LoginPosDeviceWithEmailBody, type LoginPosDeviceWithEmailContent, type LoginPosDeviceWithEmailHeaderParams, type LoginPosDeviceWithEmailResponse, type LoginPosDeviceWithPhoneBody, type LoginPosDeviceWithPhoneContent, type LoginPosDeviceWithPhoneHeaderParams, type LoginPosDeviceWithPhoneResponse, type LoginPosDeviceWithWhatsappBody, type LoginPosDeviceWithWhatsappContent, type LoginPosDeviceWithWhatsappHeaderParams, type LoginPosDeviceWithWhatsappResponse, type LoginWithEmailBody, type LoginWithEmailContent, type LoginWithEmailHeaderParams, type LoginWithEmailResponse, type LoginWithPasswordBody, type LoginWithPasswordContent, type LoginWithPasswordResponse, type LoginWithPhoneBody, type LoginWithPhoneContent, type LoginWithPhoneHeaderParams, type LoginWithPhoneResponse, type LoginWithWhatsappBody, type LoginWithWhatsappContent, type LoginWithWhatsappHeaderParams, type LoginWithWhatsappResponse, type LogoutContent, type LogoutFromPosDeviceResponse, type LogoutResponse, type LotBatchDetail, type LotusPayCheckoutInput, type LoyaltyPointActivity, type MandateDebitSchedule, type MandateStatus, type ManualPaymentMethod, type MarketplaceItem, type MarketplaceProduct, type MarketplaceProductDetail, MemoryTokenStorage, type MultiSelectAttribute, type NachPayment, type NetbankingPayment, type NotificationChannelPreferences, type NotificationChannelPreferencesInput, type NotificationPreferences, type NotificationPreferencesInput, type NumberAttribute, type Order, OrderClient, type OrderDetail, type OrderItem, type OrderList, type OrderPayment, type OrderRefund, type OrderReturn, type OrderReturnItem, type OrderReturnItemInput, type OrderShipment, type OtpContent, type Pagination, type PairPosDeviceBody, type PairPosDeviceContent, type PairPosDeviceResponse, type PanDetail, type PartialCollectAndDelivery, type PartialCollectAndDeliveryInput, type PauseCustomerMandateContent, type PauseCustomerMandatePathParams, type PauseCustomerMandateResponse, type PauseSubscriptionInput, type PayWithCardInput, type PayWithCashInput, type PayWithUpiInput, type PaymentInfo, type PaymentMethodPayloadInput, type PaymentProvider, PaymentsClient, type PayuPaymentInfo, type PayuPaymentMethod, type PercentageDiscountRule, type Pincode, type PosApplyCouponBody, type PosApplyCouponContent, type PosApplyCouponPathParams, type PosApplyCouponResponse, type PosCreateCartAddressBody, type PosCreateCartAddressContent, type PosCreateCartAddressPathParams, type PosCreateCartAddressResponse, type PosCreateCartBody, type PosCreateCartContent, type PosCreateCartResponse, type PosDeleteCartPathParams, type PosDeleteCartResponse, type PosDevice, type PosDeviceClaimedUser, type PosEvaluateCouponsContent, type PosEvaluateCouponsPathParams, type PosEvaluateCouponsResponse, type PosEvaluatePromotionsContent, type PosEvaluatePromotionsPathParams, type PosEvaluatePromotionsResponse, type PosGetCartContent, type PosGetCartPathParams, type PosGetCartResponse, type PosGetPaymentStatusContent, type PosGetPaymentStatusPathParams, type PosGetPaymentStatusResponse, type PosGetProductDetailContent, type PosGetProductDetailHeaderParams, type PosGetProductDetailPathParams, type PosGetProductDetailQuery, type PosGetProductDetailResponse, type PosGetUserCartContent, type PosGetUserCartPathParams, type PosGetUserCartResponse, type PosGetVariantDetailContent, type PosGetVariantDetailHeaderParams, type PosGetVariantDetailPathParams, type PosGetVariantDetailQuery, type PosGetVariantDetailResponse, type PosListCategoriesContent, type PosListCategoriesQuery, type PosListCategoriesResponse, type PosListCouponsContent, type PosListCouponsHeaderParams, type PosListCouponsResponse, type PosListCrosssellProductsContent, type PosListCrosssellProductsHeaderParams, type PosListCrosssellProductsQuery, type PosListCrosssellProductsResponse, type PosListProductReviewsContent, type PosListProductReviewsPathParams, type PosListProductReviewsQuery, type PosListProductReviewsResponse, type PosListProductVariantsContent, type PosListProductVariantsHeaderParams, type PosListProductVariantsPathParams, type PosListProductVariantsQuery, type PosListProductVariantsResponse, type PosListProductsContent, type PosListProductsHeaderParams, type PosListProductsQuery, type PosListProductsResponse, type PosListPromotionsContent, type PosListPromotionsHeaderParams, type PosListPromotionsResponse, type PosListSimilarProductsContent, type PosListSimilarProductsHeaderParams, type PosListSimilarProductsQuery, type PosListSimilarProductsResponse, type PosListSkusContent, type PosListSkusHeaderParams, type PosListSkusQuery, type PosListSkusResponse, type PosListUpsellProductsContent, type PosListUpsellProductsHeaderParams, type PosListUpsellProductsQuery, type PosListUpsellProductsResponse, type PosLocation, type PosRedeemCreditBalanceBody, type PosRedeemCreditBalanceContent, type PosRedeemCreditBalancePathParams, type PosRedeemCreditBalanceResponse, type PosRedeemLoyaltyPointsBody, type PosRedeemLoyaltyPointsContent, type PosRedeemLoyaltyPointsPathParams, type PosRedeemLoyaltyPointsResponse, type PosRemoveCouponContent, type PosRemoveCouponPathParams, type PosRemoveCouponResponse, type PosRemoveCreditBalanceContent, type PosRemoveCreditBalancePathParams, type PosRemoveCreditBalanceResponse, type PosRemoveLoyaltyPointsContent, type PosRemoveLoyaltyPointsPathParams, type PosRemoveLoyaltyPointsResponse, type PosSearchProductsBody, type PosSearchProductsContent, type PosSearchProductsHeaderParams, type PosSearchProductsResponse, type PosUpdateCartBody, type PosUpdateCartContent, type PosUpdateCartPathParams, type PosUpdateCartResponse, type PosUpdateCustomerWithEmailInput, type PosUpdateCustomerWithIdInput, type PosUpdateCustomerWithPhoneInput, type PosUpdateFulfillmentPreferenceBody, type PosUpdateFulfillmentPreferenceContent, type PosUpdateFulfillmentPreferencePathParams, type PosUpdateFulfillmentPreferenceResponse, type PosUser, type Product, type ProductAttribute, type ProductBundleItem, type ProductCategory, type ProductDetail, type ProductImage, type ProductPricing, type ProductPromotion, type ProductReview, type ProductShipping, type ProductSubscription, type ProductVideo, type Promotion, type PromotionType, PublicCatalogClient, PublicHelpersClient, PublicStoreConfigClient, PublicStorefrontAPIClient, PublicStorefrontSDK, type PublicStorefrontSDKOptions, type Readable, type RedeemCreditBalanceBody, type RedeemCreditBalanceContent, type RedeemCreditBalancePathParams, type RedeemCreditBalanceResponse, type RedeemLoyaltyPointsBody, type RedeemLoyaltyPointsContent, type RedeemLoyaltyPointsPathParams, type RedeemLoyaltyPointsResponse, type RefreshPosAccessTokenBody, type RefreshPosAccessTokenContent, type RefreshPosAccessTokenResponse, type RefreshTokenBody, type RefreshTokenContent, type RefreshTokenResponse, type RegisterWithEmailBody, type RegisterWithEmailContent, type RegisterWithEmailHeaderParams, type RegisterWithEmailPasswordInput, type RegisterWithEmailResponse, type RegisterWithPasswordBody, type RegisterWithPasswordContent, type RegisterWithPasswordHeaderParams, type RegisterWithPasswordResponse, type RegisterWithPhoneBody, type RegisterWithPhoneContent, type RegisterWithPhoneHeaderParams, type RegisterWithPhonePasswordInput, type RegisterWithPhoneResponse, type RegisterWithWhatsappBody, type RegisterWithWhatsappContent, type RegisterWithWhatsappHeaderParams, type RegisterWithWhatsappResponse, type RemoveCouponContent, type RemoveCouponPathParams, type RemoveCouponResponse, type RemoveCreditBalanceContent, type RemoveCreditBalancePathParams, type RemoveCreditBalanceResponse, type RemoveLoyaltyPointsContent, type RemoveLoyaltyPointsPathParams, type RemoveLoyaltyPointsResponse, type RemoveProfileImagePathParams, type RemoveProfileImageResponse, type ResendDirectOtpBody, type ResendDirectOtpContent, type ResendDirectOtpResponse, type ResetPasswordBody, type ResetPasswordContent, type ResetPasswordResponse, ResponseUtils, type ResumeCustomerMandateContent, type ResumeCustomerMandatePathParams, type ResumeCustomerMandateResponse, type RetryOrderPaymentBody, type RetryOrderPaymentContent, type RetryOrderPaymentPathParams, type RetryOrderPaymentResponse, type RevokeCustomerMandateContent, type RevokeCustomerMandatePathParams, type RevokeCustomerMandateResponse, type RevokeSubscriptionInput, type SavedPaymentMethod, type SearchMarketplaceProductsBody, type SearchMarketplaceProductsContent, type SearchMarketplaceProductsHeaderParams, type SearchMarketplaceProductsResponse, type SearchProductInput, type SearchProductsBody, type SearchProductsContent, type SearchProductsHeaderParams, type SearchProductsResponse, type SellerDetail, type SellerInfo, type SellerReview, type SellerReviewStats, type SendOtpWithEmailInput, type SendOtpWithPhoneInput, type Seo, type ServiceProviderBasicDetail, SessionStorefrontAPIClient, SessionStorefrontConfig, SessionStorefrontSDK, type SessionStorefrontSDKOptions, type ShipmentItem, type ShipmentStatus, type SingleSelectAttribute, type SingleSelectOption, type StoreConfig, StoreConfigClient, type StoreTemplate, StorefrontFactory, type StorefrontSession, type SubscribeNewsletterBody, type SubscribeNewsletterResponse, type Subscription, type SubscriptionBehaviourInput, type SubscriptionDetail, type SubscriptionInvoiceItem, type SubscriptionInvoiceItemInput, type SupportedDefaultHeaders, type TextAttribute, type TokenStorage, type TrackAnalyticsEventBody, type TrackAnalyticsEventResponse, type UnclaimPosDeviceContent, type UnclaimPosDevicePathParams, type UnclaimPosDeviceResponse, type UnserviceableItem, type UpdateAddressDetailBody, type UpdateAddressDetailContent, type UpdateAddressDetailPathParams, type UpdateAddressDetailResponse, type UpdateBankAccountBody, type UpdateBankAccountContent, type UpdateBankAccountInput, type UpdateBankAccountPathParams, type UpdateBankAccountResponse, type UpdateCartBody, type UpdateCartContent, type UpdateCartItemInput, type UpdateCartPathParams, type UpdateCartResponse, type UpdateCustomerMandateBody, type UpdateCustomerMandateContent, type UpdateCustomerMandatePathParams, type UpdateCustomerMandateResponse, type UpdateDigitalProductSubscriptionInput, type UpdateDocumentContent, type UpdateDocumentFormData, type UpdateDocumentInput, type UpdateDocumentPathParams, type UpdateDocumentResponse, type UpdateFulfillmentPreferenceBody, type UpdateFulfillmentPreferenceContent, type UpdateFulfillmentPreferencePathParams, type UpdateFulfillmentPreferenceResponse, type UpdateInboundBankAccountInput, type UpdateOutboundBankAccountInput, type UpdatePhysicalProductSubscriptionInput, type UpdatePosCartCustomerBody, type UpdatePosCartCustomerContent, type UpdatePosCartCustomerPathParams, type UpdatePosCartCustomerResponse, type UpdateProfileImageContent, type UpdateProfileImageFormData, type UpdateProfileImagePathParams, type UpdateProfileImageResponse, type UpdateSubscriptionBody, type UpdateSubscriptionContent, type UpdateSubscriptionPathParams, type UpdateSubscriptionResponse, type UpdateUserBody, type UpdateUserContent, type UpdateUserPathParams, type UpdateUserResponse, type UpiPayment, type User, type UserInfo, type UserInput, type Variant, type VariantDetail, type VariantOption, type VerifyBankAccountBody, type VerifyBankAccountContent, type VerifyBankAccountPathParams, type VerifyBankAccountResponse, type VerifyDocumentBody, type VerifyDocumentContent, type VerifyDocumentPathParams, type VerifyDocumentResponse, type VerifyOtpBody, type VerifyOtpContent, type VerifyOtpResponse, type VerifyPosLoginOtpBody, type VerifyPosLoginOtpContent, type VerifyPosLoginOtpResponse, type VerifyVpaContent, type VerifyVpaQuery, type VerifyVpaResponse, type VolumeBasedCouponPromotion, type VolumeBasedPromotion, type VolumeBasedRule, type WalletPayment, type Writable, type components, type createDebugMiddleware, createStorefront, type createTimeoutMiddleware, type executeRequest, type extractRequestBody, type getPathnameFromUrl, type mergeAndTransformHeaders, type mergeHeaders, type operations, type paths, type transformHeaders };
|
|
16579
18084
|
//# sourceMappingURL=index.d.mts.map
|