@gofynd/fdk-client-javascript 1.4.2-beta.4 → 1.4.2-beta.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/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +62 -62
- package/sdk/application/Cart/CartApplicationClient.js +82 -71
- package/sdk/application/Cart/CartApplicationValidator.d.ts +189 -34
- package/sdk/application/Cart/CartApplicationValidator.js +59 -34
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +78 -78
- package/sdk/application/Catalog/CatalogApplicationClient.js +78 -78
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -67
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -106
- package/sdk/application/Content/ContentApplicationClient.d.ts +34 -64
- package/sdk/application/Content/ContentApplicationClient.js +34 -115
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -42
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -42
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -14
- package/sdk/application/Lead/LeadApplicationClient.js +14 -14
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +12 -12
- package/sdk/application/Logistic/LogisticApplicationClient.js +12 -12
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -24
- package/sdk/application/Order/OrderApplicationClient.js +24 -24
- package/sdk/application/Order/OrderApplicationModel.d.ts +23 -1
- package/sdk/application/Order/OrderApplicationModel.js +28 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +89 -89
- package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +498 -3
- package/sdk/application/Payment/PaymentApplicationModel.js +316 -2
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
- package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +54 -54
- package/sdk/application/PosCart/PosCartApplicationClient.js +54 -54
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -25
- package/sdk/application/Rewards/RewardsApplicationClient.js +14 -41
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -14
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +64 -64
- package/sdk/application/User/UserApplicationClient.js +64 -64
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +38 -38
- package/sdk/partner/Theme/ThemePartnerClient.js +38 -38
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +8 -8
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +34 -36
- package/sdk/platform/Billing/BillingPlatformClient.js +34 -36
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +98 -175
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +98 -254
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +92 -18
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +28 -18
- package/sdk/platform/Cart/CartPlatformModel.d.ts +12 -0
- package/sdk/platform/Cart/CartPlatformModel.js +12 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +195 -108
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +278 -113
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +335 -136
- package/sdk/platform/Catalog/CatalogPlatformClient.js +551 -136
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3 -3
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -3
- package/sdk/platform/Common/CommonPlatformClient.js +3 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +115 -290
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +115 -510
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -13
- package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -29
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +32 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -127
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +52 -204
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +35 -111
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +35 -212
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +142 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +96 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +130 -218
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +136 -314
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +7 -7
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +22 -48
- package/sdk/platform/Discount/DiscountPlatformClient.js +22 -73
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -55
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +14 -50
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +16 -55
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -12
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +12 -14
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +44 -44
- package/sdk/platform/Finance/FinancePlatformClient.js +44 -44
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +22 -48
- package/sdk/platform/Lead/LeadPlatformClient.js +22 -72
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +4 -4
- package/sdk/platform/Order/OrderPlatformClient.d.ts +79 -208
- package/sdk/platform/Order/OrderPlatformClient.js +79 -294
- package/sdk/platform/Order/OrderPlatformModel.d.ts +32 -3
- package/sdk/platform/Order/OrderPlatformModel.js +34 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +81 -81
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +81 -81
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +23 -40
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +23 -61
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +5 -5
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +56 -56
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +56 -56
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +33 -33
- package/sdk/platform/User/UserPlatformApplicationClient.js +33 -33
- package/sdk/platform/User/UserPlatformModel.d.ts +2 -2
- package/sdk/platform/User/UserPlatformModel.js +2 -2
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +32 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +32 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +58 -1
- package/sdk/platform/Webhook/WebhookPlatformModel.js +66 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicClient.js +4 -4
|
@@ -39,8 +39,8 @@ declare class PosCart {
|
|
|
39
39
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
40
40
|
* @returns {Promise<PosCartApplicationModel.SaveAddressResponse>} - Success response
|
|
41
41
|
* @name addAddress
|
|
42
|
-
* @summary: Add address
|
|
43
|
-
* @description:
|
|
42
|
+
* @summary: Add new address.
|
|
43
|
+
* @description: Saves a new address for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/addAddress/).
|
|
44
44
|
*/
|
|
45
45
|
addAddress({ body, requestHeaders }?: PosCartApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.SaveAddressResponse>;
|
|
46
46
|
/**
|
|
@@ -50,8 +50,8 @@ declare class PosCart {
|
|
|
50
50
|
* @returns {Promise<PosCartApplicationModel.AddCartDetailResponse>} -
|
|
51
51
|
* Success response
|
|
52
52
|
* @name addItems
|
|
53
|
-
* @summary: Add
|
|
54
|
-
* @description:
|
|
53
|
+
* @summary: Add to cart.
|
|
54
|
+
* @description: Adds selected items to the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/addItems/).
|
|
55
55
|
*/
|
|
56
56
|
addItems({ body, i, b, areaCode, buyNow, id, requestHeaders }?: PosCartApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.AddCartDetailResponse>;
|
|
57
57
|
/**
|
|
@@ -60,8 +60,8 @@ declare class PosCart {
|
|
|
60
60
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
61
61
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
62
62
|
* @name applyCoupon
|
|
63
|
-
* @summary: Apply
|
|
64
|
-
* @description:
|
|
63
|
+
* @summary: Apply coupon.
|
|
64
|
+
* @description: Applies a coupon code to get discounts on cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/applyCoupon/).
|
|
65
65
|
*/
|
|
66
66
|
applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: PosCartApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
67
67
|
/**
|
|
@@ -70,8 +70,8 @@ declare class PosCart {
|
|
|
70
70
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
71
71
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
72
72
|
* @name applyRewardPoints
|
|
73
|
-
* @summary:
|
|
74
|
-
* @description:
|
|
73
|
+
* @summary: Use reward points.
|
|
74
|
+
* @description: Applies user’s reward points to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/applyRewardPoints/).
|
|
75
75
|
*/
|
|
76
76
|
applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: PosCartApplicationValidator.ApplyRewardPointsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
77
77
|
/**
|
|
@@ -80,8 +80,8 @@ declare class PosCart {
|
|
|
80
80
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
81
81
|
* @returns {Promise<PosCartApplicationModel.CartCheckoutResponse>} - Success response
|
|
82
82
|
* @name checkoutCart
|
|
83
|
-
* @summary: Checkout
|
|
84
|
-
* @description:
|
|
83
|
+
* @summary: Checkout cart.
|
|
84
|
+
* @description: Initiates the checkout process for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/checkoutCart/).
|
|
85
85
|
*/
|
|
86
86
|
checkoutCart({ body, id, requestHeaders }?: PosCartApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartCheckoutResponse>;
|
|
87
87
|
/**
|
|
@@ -90,8 +90,8 @@ declare class PosCart {
|
|
|
90
90
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
91
|
* @returns {Promise<PosCartApplicationModel.Address>} - Success response
|
|
92
92
|
* @name getAddressById
|
|
93
|
-
* @summary: Fetch
|
|
94
|
-
* @description:
|
|
93
|
+
* @summary: Fetch address.
|
|
94
|
+
* @description: Retrieves a saved address using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAddressById/).
|
|
95
95
|
*/
|
|
96
96
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: PosCartApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.Address>;
|
|
97
97
|
/**
|
|
@@ -100,8 +100,8 @@ declare class PosCart {
|
|
|
100
100
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
101
101
|
* @returns {Promise<PosCartApplicationModel.GetAddressesResponse>} - Success response
|
|
102
102
|
* @name getAddresses
|
|
103
|
-
* @summary:
|
|
104
|
-
* @description:
|
|
103
|
+
* @summary: Get saved addresses.
|
|
104
|
+
* @description: Retrieve all saved addresses for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAddresses/).
|
|
105
105
|
*/
|
|
106
106
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: PosCartApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.GetAddressesResponse>;
|
|
107
107
|
/**
|
|
@@ -113,8 +113,8 @@ declare class PosCart {
|
|
|
113
113
|
* @returns {Promise<PosCartApplicationModel.CartDeliveryModesResponse>} -
|
|
114
114
|
* Success response
|
|
115
115
|
* @name getAvailableDeliveryModes
|
|
116
|
-
* @summary:
|
|
117
|
-
* @description:
|
|
116
|
+
* @summary: Delivery options.
|
|
117
|
+
* @description: Lists available delivery modes for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAvailableDeliveryModes/).
|
|
118
118
|
*/
|
|
119
119
|
getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: PosCartApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDeliveryModesResponse>;
|
|
120
120
|
/**
|
|
@@ -123,8 +123,8 @@ declare class PosCart {
|
|
|
123
123
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
124
124
|
* @returns {Promise<PosCartApplicationModel.BulkPriceResponse>} - Success response
|
|
125
125
|
* @name getBulkDiscountOffers
|
|
126
|
-
* @summary:
|
|
127
|
-
* @description:
|
|
126
|
+
* @summary: Bulk discounts.
|
|
127
|
+
* @description: Lists available bulk discount offers for cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getBulkDiscountOffers/).
|
|
128
128
|
*/
|
|
129
129
|
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: PosCartApplicationValidator.GetBulkDiscountOffersParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.BulkPriceResponse>;
|
|
130
130
|
/**
|
|
@@ -133,8 +133,8 @@ declare class PosCart {
|
|
|
133
133
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
134
134
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
135
135
|
* @name getCart
|
|
136
|
-
* @summary:
|
|
137
|
-
* @description:
|
|
136
|
+
* @summary: Retrieve cart details.
|
|
137
|
+
* @description: Retrieve the current state and items in the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCart/).
|
|
138
138
|
*/
|
|
139
139
|
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, requestHeaders }?: PosCartApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
140
140
|
/**
|
|
@@ -143,8 +143,8 @@ declare class PosCart {
|
|
|
143
143
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
144
144
|
* @returns {Promise<any>} - Success response
|
|
145
145
|
* @name getCartLastModified
|
|
146
|
-
* @summary:
|
|
147
|
-
* @description:
|
|
146
|
+
* @summary: Cart modification time.
|
|
147
|
+
* @description: Gets the last modified timestamp for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartLastModified/).
|
|
148
148
|
*/
|
|
149
149
|
getCartLastModified({ id, requestHeaders }?: PosCartApplicationValidator.GetCartLastModifiedParam, { responseHeaders }?: object): Promise<any>;
|
|
150
150
|
/**
|
|
@@ -154,8 +154,8 @@ declare class PosCart {
|
|
|
154
154
|
* @returns {Promise<PosCartApplicationModel.GetShareCartLinkResponse>} -
|
|
155
155
|
* Success response
|
|
156
156
|
* @name getCartShareLink
|
|
157
|
-
* @summary:
|
|
158
|
-
* @description:
|
|
157
|
+
* @summary: Share cart link.
|
|
158
|
+
* @description: Generates a shareable link for the current cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartShareLink/).
|
|
159
159
|
*/
|
|
160
160
|
getCartShareLink({ body, requestHeaders }?: PosCartApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.GetShareCartLinkResponse>;
|
|
161
161
|
/**
|
|
@@ -164,8 +164,8 @@ declare class PosCart {
|
|
|
164
164
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
165
165
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
166
166
|
* @name getCartSharedItems
|
|
167
|
-
* @summary:
|
|
168
|
-
* @description:
|
|
167
|
+
* @summary: Shared cart items.
|
|
168
|
+
* @description: Retrieves items from a shared cart link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartSharedItems/).
|
|
169
169
|
*/
|
|
170
170
|
getCartSharedItems({ token, requestHeaders }?: PosCartApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.SharedCartResponse>;
|
|
171
171
|
/**
|
|
@@ -174,8 +174,8 @@ declare class PosCart {
|
|
|
174
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
175
175
|
* @returns {Promise<PosCartApplicationModel.GetCouponResponse>} - Success response
|
|
176
176
|
* @name getCoupons
|
|
177
|
-
* @summary:
|
|
178
|
-
* @description:
|
|
177
|
+
* @summary: List available coupons.
|
|
178
|
+
* @description: Retrieve coupons that can be applied to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCoupons/).
|
|
179
179
|
*/
|
|
180
180
|
getCoupons({ id, buyNow, requestHeaders }?: PosCartApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.GetCouponResponse>;
|
|
181
181
|
/**
|
|
@@ -185,8 +185,8 @@ declare class PosCart {
|
|
|
185
185
|
* @returns {Promise<PosCartApplicationModel.CartItemCountResponse>} -
|
|
186
186
|
* Success response
|
|
187
187
|
* @name getItemCount
|
|
188
|
-
* @summary: Count items
|
|
189
|
-
* @description:
|
|
188
|
+
* @summary: Count cart items.
|
|
189
|
+
* @description: Gets the total number of items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getItemCount/).
|
|
190
190
|
*/
|
|
191
191
|
getItemCount({ id, buyNow, requestHeaders }?: PosCartApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartItemCountResponse>;
|
|
192
192
|
/**
|
|
@@ -196,8 +196,8 @@ declare class PosCart {
|
|
|
196
196
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
197
197
|
* Success response
|
|
198
198
|
* @name getShipments
|
|
199
|
-
* @summary:
|
|
200
|
-
* @description:
|
|
199
|
+
* @summary: List shipments.
|
|
200
|
+
* @description: Retrieve shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getShipments/).
|
|
201
201
|
*/
|
|
202
202
|
getShipments({ pickAtStoreUid, orderingStoreId, p, id, addressId, areaCode, orderType, requestHeaders, }?: PosCartApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartShipmentsResponse>;
|
|
203
203
|
/**
|
|
@@ -206,8 +206,8 @@ declare class PosCart {
|
|
|
206
206
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
207
207
|
* @returns {Promise<PosCartApplicationModel.StoreDetailsResponse>} - Success response
|
|
208
208
|
* @name getStoreAddressByUid
|
|
209
|
-
* @summary:
|
|
210
|
-
* @description:
|
|
209
|
+
* @summary: Store address.
|
|
210
|
+
* @description: Gets the address of the store by its UID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getStoreAddressByUid/).
|
|
211
211
|
*/
|
|
212
212
|
getStoreAddressByUid({ storeUid, requestHeaders }?: PosCartApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.StoreDetailsResponse>;
|
|
213
213
|
/**
|
|
@@ -217,8 +217,8 @@ declare class PosCart {
|
|
|
217
217
|
* @returns {Promise<PosCartApplicationModel.DeleteAddressResponse>} -
|
|
218
218
|
* Success response
|
|
219
219
|
* @name removeAddress
|
|
220
|
-
* @summary:
|
|
221
|
-
* @description:
|
|
220
|
+
* @summary: Delete address.
|
|
221
|
+
* @description: Removes a saved address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/removeAddress/).
|
|
222
222
|
*/
|
|
223
223
|
removeAddress({ id, requestHeaders }?: PosCartApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.DeleteAddressResponse>;
|
|
224
224
|
/**
|
|
@@ -227,8 +227,8 @@ declare class PosCart {
|
|
|
227
227
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
228
228
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
229
229
|
* @name removeCoupon
|
|
230
|
-
* @summary: Remove
|
|
231
|
-
* @description:
|
|
230
|
+
* @summary: Remove coupon.
|
|
231
|
+
* @description: Removes an applied coupon from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/removeCoupon/).
|
|
232
232
|
*/
|
|
233
233
|
removeCoupon({ id, buyNow, requestHeaders }?: PosCartApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
234
234
|
/**
|
|
@@ -237,8 +237,8 @@ declare class PosCart {
|
|
|
237
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
238
238
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
239
239
|
* @name selectAddress
|
|
240
|
-
* @summary:
|
|
241
|
-
* @description:
|
|
240
|
+
* @summary: Choose delivery address.
|
|
241
|
+
* @description: Selects an address for the cart's delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/selectAddress/).
|
|
242
242
|
*/
|
|
243
243
|
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: PosCartApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
244
244
|
/**
|
|
@@ -247,8 +247,8 @@ declare class PosCart {
|
|
|
247
247
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
248
248
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
249
249
|
* @name selectPaymentMode
|
|
250
|
-
* @summary:
|
|
251
|
-
* @description:
|
|
250
|
+
* @summary: Pick payment method.
|
|
251
|
+
* @description: Chooses a payment mode for the checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/selectPaymentMode/).
|
|
252
252
|
*/
|
|
253
253
|
selectPaymentMode({ body, id, buyNow, requestHeaders }?: PosCartApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartDetailResponse>;
|
|
254
254
|
/**
|
|
@@ -258,8 +258,8 @@ declare class PosCart {
|
|
|
258
258
|
* @returns {Promise<PosCartApplicationModel.UpdateAddressResponse>} -
|
|
259
259
|
* Success response
|
|
260
260
|
* @name updateAddress
|
|
261
|
-
* @summary: Update address
|
|
262
|
-
* @description:
|
|
261
|
+
* @summary: Update address.
|
|
262
|
+
* @description: Modifies a saved address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateAddress/).
|
|
263
263
|
*/
|
|
264
264
|
updateAddress({ id, body, requestHeaders }?: PosCartApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.UpdateAddressResponse>;
|
|
265
265
|
/**
|
|
@@ -269,8 +269,8 @@ declare class PosCart {
|
|
|
269
269
|
* @returns {Promise<PosCartApplicationModel.UpdateCartDetailResponse>} -
|
|
270
270
|
* Success response
|
|
271
271
|
* @name updateCart
|
|
272
|
-
* @summary: Update
|
|
273
|
-
* @description:
|
|
272
|
+
* @summary: Update cart.
|
|
273
|
+
* @description: Modifies items and quantities in the existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCart/).
|
|
274
274
|
*/
|
|
275
275
|
updateCart({ body, id, i, b, areaCode, buyNow, requestHeaders }?: PosCartApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.UpdateCartDetailResponse>;
|
|
276
276
|
/**
|
|
@@ -279,8 +279,8 @@ declare class PosCart {
|
|
|
279
279
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
280
280
|
* @returns {Promise<PosCartApplicationModel.CartMetaResponse>} - Success response
|
|
281
281
|
* @name updateCartMeta
|
|
282
|
-
* @summary: Update
|
|
283
|
-
* @description:
|
|
282
|
+
* @summary: Update cart metadata.
|
|
283
|
+
* @description: Adds or modifies metadata for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCartMeta/).
|
|
284
284
|
*/
|
|
285
285
|
updateCartMeta({ body, id, buyNow, requestHeaders }?: PosCartApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartMetaResponse>;
|
|
286
286
|
/**
|
|
@@ -291,8 +291,8 @@ declare class PosCart {
|
|
|
291
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
292
292
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
293
293
|
* @name updateCartWithSharedItems
|
|
294
|
-
* @summary:
|
|
295
|
-
* @description:
|
|
294
|
+
* @summary: Update with shared items.
|
|
295
|
+
* @description: Updates the cart with items from a shared link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCartWithSharedItems/).
|
|
296
296
|
*/
|
|
297
297
|
updateCartWithSharedItems({ token, action, requestHeaders }?: PosCartApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.SharedCartResponse>;
|
|
298
298
|
/**
|
|
@@ -302,8 +302,8 @@ declare class PosCart {
|
|
|
302
302
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
303
303
|
* Success response
|
|
304
304
|
* @name updateShipments
|
|
305
|
-
* @summary: Update
|
|
306
|
-
* @description:
|
|
305
|
+
* @summary: Update shipments.
|
|
306
|
+
* @description: Modifies shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateShipments/).
|
|
307
307
|
*/
|
|
308
308
|
updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: PosCartApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.CartShipmentsResponse>;
|
|
309
309
|
/**
|
|
@@ -314,8 +314,8 @@ declare class PosCart {
|
|
|
314
314
|
* @returns {Promise<PosCartApplicationModel.PaymentCouponValidate>} -
|
|
315
315
|
* Success response
|
|
316
316
|
* @name validateCouponForPayment
|
|
317
|
-
* @summary:
|
|
318
|
-
* @description:
|
|
317
|
+
* @summary: Validate coupon.
|
|
318
|
+
* @description: Checks if a coupon is valid for the selected payment mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/validateCouponForPayment/).
|
|
319
319
|
*/
|
|
320
320
|
validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, requestHeaders, }?: PosCartApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<PosCartApplicationModel.PaymentCouponValidate>;
|
|
321
321
|
}
|
|
@@ -68,8 +68,8 @@ class PosCart {
|
|
|
68
68
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
69
69
|
* @returns {Promise<PosCartApplicationModel.SaveAddressResponse>} - Success response
|
|
70
70
|
* @name addAddress
|
|
71
|
-
* @summary: Add address
|
|
72
|
-
* @description:
|
|
71
|
+
* @summary: Add new address.
|
|
72
|
+
* @description: Saves a new address for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/addAddress/).
|
|
73
73
|
*/
|
|
74
74
|
async addAddress(
|
|
75
75
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -147,8 +147,8 @@ class PosCart {
|
|
|
147
147
|
* @returns {Promise<PosCartApplicationModel.AddCartDetailResponse>} -
|
|
148
148
|
* Success response
|
|
149
149
|
* @name addItems
|
|
150
|
-
* @summary: Add
|
|
151
|
-
* @description:
|
|
150
|
+
* @summary: Add to cart.
|
|
151
|
+
* @description: Adds selected items to the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/addItems/).
|
|
152
152
|
*/
|
|
153
153
|
async addItems(
|
|
154
154
|
{ body, i, b, areaCode, buyNow, id, requestHeaders } = {
|
|
@@ -230,8 +230,8 @@ class PosCart {
|
|
|
230
230
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
231
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
232
232
|
* @name applyCoupon
|
|
233
|
-
* @summary: Apply
|
|
234
|
-
* @description:
|
|
233
|
+
* @summary: Apply coupon.
|
|
234
|
+
* @description: Applies a coupon code to get discounts on cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/applyCoupon/).
|
|
235
235
|
*/
|
|
236
236
|
async applyCoupon(
|
|
237
237
|
{ body, i, b, p, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -313,8 +313,8 @@ class PosCart {
|
|
|
313
313
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
314
314
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
315
315
|
* @name applyRewardPoints
|
|
316
|
-
* @summary:
|
|
317
|
-
* @description:
|
|
316
|
+
* @summary: Use reward points.
|
|
317
|
+
* @description: Applies user’s reward points to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/applyRewardPoints/).
|
|
318
318
|
*/
|
|
319
319
|
async applyRewardPoints(
|
|
320
320
|
{ body, id, i, b, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -395,8 +395,8 @@ class PosCart {
|
|
|
395
395
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
396
396
|
* @returns {Promise<PosCartApplicationModel.CartCheckoutResponse>} - Success response
|
|
397
397
|
* @name checkoutCart
|
|
398
|
-
* @summary: Checkout
|
|
399
|
-
* @description:
|
|
398
|
+
* @summary: Checkout cart.
|
|
399
|
+
* @description: Initiates the checkout process for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/checkoutCart/).
|
|
400
400
|
*/
|
|
401
401
|
async checkoutCart(
|
|
402
402
|
{ body, id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -474,8 +474,8 @@ class PosCart {
|
|
|
474
474
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
475
475
|
* @returns {Promise<PosCartApplicationModel.Address>} - Success response
|
|
476
476
|
* @name getAddressById
|
|
477
|
-
* @summary: Fetch
|
|
478
|
-
* @description:
|
|
477
|
+
* @summary: Fetch address.
|
|
478
|
+
* @description: Retrieves a saved address using its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAddressById/).
|
|
479
479
|
*/
|
|
480
480
|
async getAddressById(
|
|
481
481
|
{
|
|
@@ -567,8 +567,8 @@ class PosCart {
|
|
|
567
567
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
568
568
|
* @returns {Promise<PosCartApplicationModel.GetAddressesResponse>} - Success response
|
|
569
569
|
* @name getAddresses
|
|
570
|
-
* @summary:
|
|
571
|
-
* @description:
|
|
570
|
+
* @summary: Get saved addresses.
|
|
571
|
+
* @description: Retrieve all saved addresses for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAddresses/).
|
|
572
572
|
*/
|
|
573
573
|
async getAddresses(
|
|
574
574
|
{
|
|
@@ -662,8 +662,8 @@ class PosCart {
|
|
|
662
662
|
* @returns {Promise<PosCartApplicationModel.CartDeliveryModesResponse>} -
|
|
663
663
|
* Success response
|
|
664
664
|
* @name getAvailableDeliveryModes
|
|
665
|
-
* @summary:
|
|
666
|
-
* @description:
|
|
665
|
+
* @summary: Delivery options.
|
|
666
|
+
* @description: Lists available delivery modes for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getAvailableDeliveryModes/).
|
|
667
667
|
*/
|
|
668
668
|
async getAvailableDeliveryModes(
|
|
669
669
|
{ areaCode, id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -744,8 +744,8 @@ class PosCart {
|
|
|
744
744
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
745
745
|
* @returns {Promise<PosCartApplicationModel.BulkPriceResponse>} - Success response
|
|
746
746
|
* @name getBulkDiscountOffers
|
|
747
|
-
* @summary:
|
|
748
|
-
* @description:
|
|
747
|
+
* @summary: Bulk discounts.
|
|
748
|
+
* @description: Lists available bulk discount offers for cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getBulkDiscountOffers/).
|
|
749
749
|
*/
|
|
750
750
|
async getBulkDiscountOffers(
|
|
751
751
|
{ itemId, articleId, uid, slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -828,8 +828,8 @@ class PosCart {
|
|
|
828
828
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
829
829
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
830
830
|
* @name getCart
|
|
831
|
-
* @summary:
|
|
832
|
-
* @description:
|
|
831
|
+
* @summary: Retrieve cart details.
|
|
832
|
+
* @description: Retrieve the current state and items in the shopping cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCart/).
|
|
833
833
|
*/
|
|
834
834
|
async getCart(
|
|
835
835
|
{ id, i, b, c, assignCardId, areaCode, buyNow, requestHeaders } = {
|
|
@@ -913,8 +913,8 @@ class PosCart {
|
|
|
913
913
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
914
914
|
* @returns {Promise<any>} - Success response
|
|
915
915
|
* @name getCartLastModified
|
|
916
|
-
* @summary:
|
|
917
|
-
* @description:
|
|
916
|
+
* @summary: Cart modification time.
|
|
917
|
+
* @description: Gets the last modified timestamp for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartLastModified/).
|
|
918
918
|
*/
|
|
919
919
|
async getCartLastModified(
|
|
920
920
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -992,8 +992,8 @@ class PosCart {
|
|
|
992
992
|
* @returns {Promise<PosCartApplicationModel.GetShareCartLinkResponse>} -
|
|
993
993
|
* Success response
|
|
994
994
|
* @name getCartShareLink
|
|
995
|
-
* @summary:
|
|
996
|
-
* @description:
|
|
995
|
+
* @summary: Share cart link.
|
|
996
|
+
* @description: Generates a shareable link for the current cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartShareLink/).
|
|
997
997
|
*/
|
|
998
998
|
async getCartShareLink(
|
|
999
999
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1070,8 +1070,8 @@ class PosCart {
|
|
|
1070
1070
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1071
1071
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
1072
1072
|
* @name getCartSharedItems
|
|
1073
|
-
* @summary:
|
|
1074
|
-
* @description:
|
|
1073
|
+
* @summary: Shared cart items.
|
|
1074
|
+
* @description: Retrieves items from a shared cart link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCartSharedItems/).
|
|
1075
1075
|
*/
|
|
1076
1076
|
async getCartSharedItems(
|
|
1077
1077
|
{ token, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1148,8 +1148,8 @@ class PosCart {
|
|
|
1148
1148
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1149
1149
|
* @returns {Promise<PosCartApplicationModel.GetCouponResponse>} - Success response
|
|
1150
1150
|
* @name getCoupons
|
|
1151
|
-
* @summary:
|
|
1152
|
-
* @description:
|
|
1151
|
+
* @summary: List available coupons.
|
|
1152
|
+
* @description: Retrieve coupons that can be applied to the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getCoupons/).
|
|
1153
1153
|
*/
|
|
1154
1154
|
async getCoupons(
|
|
1155
1155
|
{ id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1229,8 +1229,8 @@ class PosCart {
|
|
|
1229
1229
|
* @returns {Promise<PosCartApplicationModel.CartItemCountResponse>} -
|
|
1230
1230
|
* Success response
|
|
1231
1231
|
* @name getItemCount
|
|
1232
|
-
* @summary: Count items
|
|
1233
|
-
* @description:
|
|
1232
|
+
* @summary: Count cart items.
|
|
1233
|
+
* @description: Gets the total number of items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getItemCount/).
|
|
1234
1234
|
*/
|
|
1235
1235
|
async getItemCount(
|
|
1236
1236
|
{ id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1310,8 +1310,8 @@ class PosCart {
|
|
|
1310
1310
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
1311
1311
|
* Success response
|
|
1312
1312
|
* @name getShipments
|
|
1313
|
-
* @summary:
|
|
1314
|
-
* @description:
|
|
1313
|
+
* @summary: List shipments.
|
|
1314
|
+
* @description: Retrieve shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getShipments/).
|
|
1315
1315
|
*/
|
|
1316
1316
|
async getShipments(
|
|
1317
1317
|
{
|
|
@@ -1420,8 +1420,8 @@ class PosCart {
|
|
|
1420
1420
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1421
1421
|
* @returns {Promise<PosCartApplicationModel.StoreDetailsResponse>} - Success response
|
|
1422
1422
|
* @name getStoreAddressByUid
|
|
1423
|
-
* @summary:
|
|
1424
|
-
* @description:
|
|
1423
|
+
* @summary: Store address.
|
|
1424
|
+
* @description: Gets the address of the store by its UID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/getStoreAddressByUid/).
|
|
1425
1425
|
*/
|
|
1426
1426
|
async getStoreAddressByUid(
|
|
1427
1427
|
{ storeUid, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1502,8 +1502,8 @@ class PosCart {
|
|
|
1502
1502
|
* @returns {Promise<PosCartApplicationModel.DeleteAddressResponse>} -
|
|
1503
1503
|
* Success response
|
|
1504
1504
|
* @name removeAddress
|
|
1505
|
-
* @summary:
|
|
1506
|
-
* @description:
|
|
1505
|
+
* @summary: Delete address.
|
|
1506
|
+
* @description: Removes a saved address from the user's profile. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/removeAddress/).
|
|
1507
1507
|
*/
|
|
1508
1508
|
async removeAddress(
|
|
1509
1509
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1580,8 +1580,8 @@ class PosCart {
|
|
|
1580
1580
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1581
1581
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1582
1582
|
* @name removeCoupon
|
|
1583
|
-
* @summary: Remove
|
|
1584
|
-
* @description:
|
|
1583
|
+
* @summary: Remove coupon.
|
|
1584
|
+
* @description: Removes an applied coupon from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/removeCoupon/).
|
|
1585
1585
|
*/
|
|
1586
1586
|
async removeCoupon(
|
|
1587
1587
|
{ id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1660,8 +1660,8 @@ class PosCart {
|
|
|
1660
1660
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1661
1661
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1662
1662
|
* @name selectAddress
|
|
1663
|
-
* @summary:
|
|
1664
|
-
* @description:
|
|
1663
|
+
* @summary: Choose delivery address.
|
|
1664
|
+
* @description: Selects an address for the cart's delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/selectAddress/).
|
|
1665
1665
|
*/
|
|
1666
1666
|
async selectAddress(
|
|
1667
1667
|
{ body, cartId, buyNow, i, b, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1742,8 +1742,8 @@ class PosCart {
|
|
|
1742
1742
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1743
1743
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1744
1744
|
* @name selectPaymentMode
|
|
1745
|
-
* @summary:
|
|
1746
|
-
* @description:
|
|
1745
|
+
* @summary: Pick payment method.
|
|
1746
|
+
* @description: Chooses a payment mode for the checkout process. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/selectPaymentMode/).
|
|
1747
1747
|
*/
|
|
1748
1748
|
async selectPaymentMode(
|
|
1749
1749
|
{ body, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1823,8 +1823,8 @@ class PosCart {
|
|
|
1823
1823
|
* @returns {Promise<PosCartApplicationModel.UpdateAddressResponse>} -
|
|
1824
1824
|
* Success response
|
|
1825
1825
|
* @name updateAddress
|
|
1826
|
-
* @summary: Update address
|
|
1827
|
-
* @description:
|
|
1826
|
+
* @summary: Update address.
|
|
1827
|
+
* @description: Modifies a saved address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateAddress/).
|
|
1828
1828
|
*/
|
|
1829
1829
|
async updateAddress(
|
|
1830
1830
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1902,8 +1902,8 @@ class PosCart {
|
|
|
1902
1902
|
* @returns {Promise<PosCartApplicationModel.UpdateCartDetailResponse>} -
|
|
1903
1903
|
* Success response
|
|
1904
1904
|
* @name updateCart
|
|
1905
|
-
* @summary: Update
|
|
1906
|
-
* @description:
|
|
1905
|
+
* @summary: Update cart.
|
|
1906
|
+
* @description: Modifies items and quantities in the existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCart/).
|
|
1907
1907
|
*/
|
|
1908
1908
|
async updateCart(
|
|
1909
1909
|
{ body, id, i, b, areaCode, buyNow, requestHeaders } = {
|
|
@@ -1987,8 +1987,8 @@ class PosCart {
|
|
|
1987
1987
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1988
1988
|
* @returns {Promise<PosCartApplicationModel.CartMetaResponse>} - Success response
|
|
1989
1989
|
* @name updateCartMeta
|
|
1990
|
-
* @summary: Update
|
|
1991
|
-
* @description:
|
|
1990
|
+
* @summary: Update cart metadata.
|
|
1991
|
+
* @description: Adds or modifies metadata for the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCartMeta/).
|
|
1992
1992
|
*/
|
|
1993
1993
|
async updateCartMeta(
|
|
1994
1994
|
{ body, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2069,8 +2069,8 @@ class PosCart {
|
|
|
2069
2069
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2070
2070
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
2071
2071
|
* @name updateCartWithSharedItems
|
|
2072
|
-
* @summary:
|
|
2073
|
-
* @description:
|
|
2072
|
+
* @summary: Update with shared items.
|
|
2073
|
+
* @description: Updates the cart with items from a shared link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateCartWithSharedItems/).
|
|
2074
2074
|
*/
|
|
2075
2075
|
async updateCartWithSharedItems(
|
|
2076
2076
|
{ token, action, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2150,8 +2150,8 @@ class PosCart {
|
|
|
2150
2150
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
2151
2151
|
* Success response
|
|
2152
2152
|
* @name updateShipments
|
|
2153
|
-
* @summary: Update
|
|
2154
|
-
* @description:
|
|
2153
|
+
* @summary: Update shipments.
|
|
2154
|
+
* @description: Modifies shipment details for items in the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/updateShipments/).
|
|
2155
2155
|
*/
|
|
2156
2156
|
async updateShipments(
|
|
2157
2157
|
{ body, i, p, id, addressId, areaCode, orderType, requestHeaders } = {
|
|
@@ -2238,8 +2238,8 @@ class PosCart {
|
|
|
2238
2238
|
* @returns {Promise<PosCartApplicationModel.PaymentCouponValidate>} -
|
|
2239
2239
|
* Success response
|
|
2240
2240
|
* @name validateCouponForPayment
|
|
2241
|
-
* @summary:
|
|
2242
|
-
* @description:
|
|
2241
|
+
* @summary: Validate coupon.
|
|
2242
|
+
* @description: Checks if a coupon is valid for the selected payment mode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/poscart/validateCouponForPayment/).
|
|
2243
2243
|
*/
|
|
2244
2244
|
async validateCouponForPayment(
|
|
2245
2245
|
{
|