@gofynd/fdk-client-javascript 1.4.2-beta.6 → 1.4.3
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 +5 -3
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationAPIClient.js +0 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +25 -25
- package/sdk/application/Cart/CartApplicationClient.js +25 -25
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +40 -40
- package/sdk/application/Catalog/CatalogApplicationClient.js +40 -40
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -10
- package/sdk/application/Content/ContentApplicationClient.js +10 -10
- package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
- package/sdk/application/Content/ContentApplicationModel.js +26 -26
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +12 -6
- package/sdk/application/Lead/LeadApplicationClient.d.ts +7 -7
- package/sdk/application/Lead/LeadApplicationClient.js +7 -7
- package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
- package/sdk/application/Lead/LeadApplicationModel.js +42 -52
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +13 -13
- package/sdk/application/Order/OrderApplicationClient.js +16 -12
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -0
- package/sdk/application/Order/OrderApplicationValidator.js +3 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +47 -47
- package/sdk/application/Payment/PaymentApplicationClient.js +52 -52
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
- package/sdk/application/Payment/PaymentApplicationModel.js +4 -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 +27 -27
- package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +6 -6
- package/sdk/application/Rewards/RewardsApplicationClient.js +6 -6
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
- package/sdk/application/Share/ShareApplicationModel.js +2 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
- package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
- package/sdk/application/User/UserApplicationClient.d.ts +28 -28
- package/sdk/application/User/UserApplicationClient.js +28 -28
- package/sdk/application/User/UserApplicationModel.d.ts +44 -13
- package/sdk/application/User/UserApplicationModel.js +17 -13
- package/sdk/common/AxiosHelper.d.ts +1 -1
- package/sdk/common/AxiosHelper.js +38 -17
- package/sdk/common/Clickstream.js +33 -19
- package/sdk/common/curlHelper.js +1 -3
- package/sdk/common/utils.d.ts +15 -0
- package/sdk/common/utils.js +30 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +2 -2
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +4 -4
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
- package/sdk/partner/OAuthClient.d.ts +3 -3
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerAPIClient.js +0 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +19 -19
- package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
- package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +4 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +17 -17
- package/sdk/platform/Billing/BillingPlatformClient.js +17 -17
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +49 -49
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +49 -49
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +60 -60
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +62 -62
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +87 -87
- package/sdk/platform/Catalog/CatalogPlatformClient.js +87 -87
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
- package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +58 -58
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +16 -16
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +18 -18
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +63 -63
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +3 -3
- package/sdk/platform/Content/ContentPlatformClient.js +9 -9
- package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
- package/sdk/platform/Content/ContentPlatformModel.js +26 -26
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +19 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +23 -14
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +14 -0
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +27 -27
- package/sdk/platform/Finance/FinancePlatformClient.js +27 -27
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +11 -11
- package/sdk/platform/Lead/LeadPlatformClient.js +11 -11
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
- package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +2 -2
- package/sdk/platform/Order/OrderPlatformClient.d.ts +43 -43
- package/sdk/platform/Order/OrderPlatformClient.js +55 -44
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8 -2
- package/sdk/platform/Order/OrderPlatformModel.js +8 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +14 -0
- package/sdk/platform/Order/OrderPlatformValidator.js +6 -0
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +38 -38
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.js +0 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +9 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +15 -15
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +28 -28
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +28 -28
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
- package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/User/UserPlatformApplicationClient.js +16 -16
- package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
- package/sdk/platform/User/UserPlatformModel.js +21 -13
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +16 -16
- package/sdk/platform/Webhook/WebhookPlatformClient.js +16 -16
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +5 -45
- package/sdk/platform/Webhook/WebhookPlatformModel.js +4 -50
- package/sdk/public/Billing/BillingPublicClient.d.ts +1 -1
- package/sdk/public/Billing/BillingPublicClient.js +4 -4
- package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
- package/sdk/public/Billing/BillingPublicValidator.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
- package/sdk/public/Content/ContentPublicValidator.js +3 -3
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
- package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
|
@@ -39,7 +39,7 @@ 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 new address
|
|
42
|
+
* @summary: Add new address
|
|
43
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>;
|
|
@@ -50,7 +50,7 @@ declare class PosCart {
|
|
|
50
50
|
* @returns {Promise<PosCartApplicationModel.AddCartDetailResponse>} -
|
|
51
51
|
* Success response
|
|
52
52
|
* @name addItems
|
|
53
|
-
* @summary: Add to cart
|
|
53
|
+
* @summary: Add to cart
|
|
54
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>;
|
|
@@ -60,7 +60,7 @@ 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 coupon
|
|
63
|
+
* @summary: Apply coupon
|
|
64
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>;
|
|
@@ -70,7 +70,7 @@ declare class PosCart {
|
|
|
70
70
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
71
71
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
72
72
|
* @name applyRewardPoints
|
|
73
|
-
* @summary: Use reward points
|
|
73
|
+
* @summary: Use reward points
|
|
74
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>;
|
|
@@ -80,7 +80,7 @@ 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 cart
|
|
83
|
+
* @summary: Checkout cart
|
|
84
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>;
|
|
@@ -90,7 +90,7 @@ 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 address
|
|
93
|
+
* @summary: Fetch address
|
|
94
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>;
|
|
@@ -100,7 +100,7 @@ declare class PosCart {
|
|
|
100
100
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
101
101
|
* @returns {Promise<PosCartApplicationModel.GetAddressesResponse>} - Success response
|
|
102
102
|
* @name getAddresses
|
|
103
|
-
* @summary: Get saved addresses
|
|
103
|
+
* @summary: Get saved addresses
|
|
104
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>;
|
|
@@ -113,7 +113,7 @@ declare class PosCart {
|
|
|
113
113
|
* @returns {Promise<PosCartApplicationModel.CartDeliveryModesResponse>} -
|
|
114
114
|
* Success response
|
|
115
115
|
* @name getAvailableDeliveryModes
|
|
116
|
-
* @summary: Delivery options
|
|
116
|
+
* @summary: Delivery options
|
|
117
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>;
|
|
@@ -123,7 +123,7 @@ declare class PosCart {
|
|
|
123
123
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
124
124
|
* @returns {Promise<PosCartApplicationModel.BulkPriceResponse>} - Success response
|
|
125
125
|
* @name getBulkDiscountOffers
|
|
126
|
-
* @summary: Bulk discounts
|
|
126
|
+
* @summary: Bulk discounts
|
|
127
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>;
|
|
@@ -133,7 +133,7 @@ declare class PosCart {
|
|
|
133
133
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
134
134
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
135
135
|
* @name getCart
|
|
136
|
-
* @summary: Retrieve cart details
|
|
136
|
+
* @summary: Retrieve cart details
|
|
137
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>;
|
|
@@ -143,7 +143,7 @@ declare class PosCart {
|
|
|
143
143
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
144
144
|
* @returns {Promise<any>} - Success response
|
|
145
145
|
* @name getCartLastModified
|
|
146
|
-
* @summary: Cart modification time
|
|
146
|
+
* @summary: Cart modification time
|
|
147
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>;
|
|
@@ -154,7 +154,7 @@ declare class PosCart {
|
|
|
154
154
|
* @returns {Promise<PosCartApplicationModel.GetShareCartLinkResponse>} -
|
|
155
155
|
* Success response
|
|
156
156
|
* @name getCartShareLink
|
|
157
|
-
* @summary: Share cart link
|
|
157
|
+
* @summary: Share cart link
|
|
158
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>;
|
|
@@ -164,7 +164,7 @@ declare class PosCart {
|
|
|
164
164
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
165
165
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
166
166
|
* @name getCartSharedItems
|
|
167
|
-
* @summary: Shared cart items
|
|
167
|
+
* @summary: Shared cart items
|
|
168
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>;
|
|
@@ -174,7 +174,7 @@ declare class PosCart {
|
|
|
174
174
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
175
175
|
* @returns {Promise<PosCartApplicationModel.GetCouponResponse>} - Success response
|
|
176
176
|
* @name getCoupons
|
|
177
|
-
* @summary: List available coupons
|
|
177
|
+
* @summary: List available coupons
|
|
178
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>;
|
|
@@ -185,7 +185,7 @@ declare class PosCart {
|
|
|
185
185
|
* @returns {Promise<PosCartApplicationModel.CartItemCountResponse>} -
|
|
186
186
|
* Success response
|
|
187
187
|
* @name getItemCount
|
|
188
|
-
* @summary: Count cart items
|
|
188
|
+
* @summary: Count cart items
|
|
189
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>;
|
|
@@ -196,7 +196,7 @@ declare class PosCart {
|
|
|
196
196
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
197
197
|
* Success response
|
|
198
198
|
* @name getShipments
|
|
199
|
-
* @summary: List shipments
|
|
199
|
+
* @summary: List shipments
|
|
200
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>;
|
|
@@ -206,7 +206,7 @@ declare class PosCart {
|
|
|
206
206
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
207
207
|
* @returns {Promise<PosCartApplicationModel.StoreDetailsResponse>} - Success response
|
|
208
208
|
* @name getStoreAddressByUid
|
|
209
|
-
* @summary: Store address
|
|
209
|
+
* @summary: Store address
|
|
210
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>;
|
|
@@ -217,7 +217,7 @@ declare class PosCart {
|
|
|
217
217
|
* @returns {Promise<PosCartApplicationModel.DeleteAddressResponse>} -
|
|
218
218
|
* Success response
|
|
219
219
|
* @name removeAddress
|
|
220
|
-
* @summary: Delete address
|
|
220
|
+
* @summary: Delete address
|
|
221
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>;
|
|
@@ -227,7 +227,7 @@ 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 coupon
|
|
230
|
+
* @summary: Remove coupon
|
|
231
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>;
|
|
@@ -237,7 +237,7 @@ declare class PosCart {
|
|
|
237
237
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
238
238
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
239
239
|
* @name selectAddress
|
|
240
|
-
* @summary: Choose delivery address
|
|
240
|
+
* @summary: Choose delivery address
|
|
241
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>;
|
|
@@ -247,7 +247,7 @@ declare class PosCart {
|
|
|
247
247
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
248
248
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
249
249
|
* @name selectPaymentMode
|
|
250
|
-
* @summary: Pick payment method
|
|
250
|
+
* @summary: Pick payment method
|
|
251
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>;
|
|
@@ -258,7 +258,7 @@ declare class PosCart {
|
|
|
258
258
|
* @returns {Promise<PosCartApplicationModel.UpdateAddressResponse>} -
|
|
259
259
|
* Success response
|
|
260
260
|
* @name updateAddress
|
|
261
|
-
* @summary: Update address
|
|
261
|
+
* @summary: Update address
|
|
262
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>;
|
|
@@ -269,7 +269,7 @@ declare class PosCart {
|
|
|
269
269
|
* @returns {Promise<PosCartApplicationModel.UpdateCartDetailResponse>} -
|
|
270
270
|
* Success response
|
|
271
271
|
* @name updateCart
|
|
272
|
-
* @summary: Update cart
|
|
272
|
+
* @summary: Update cart
|
|
273
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>;
|
|
@@ -279,7 +279,7 @@ 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 cart metadata
|
|
282
|
+
* @summary: Update cart metadata
|
|
283
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>;
|
|
@@ -291,7 +291,7 @@ declare class PosCart {
|
|
|
291
291
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
292
292
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
293
293
|
* @name updateCartWithSharedItems
|
|
294
|
-
* @summary: Update with shared items
|
|
294
|
+
* @summary: Update with shared items
|
|
295
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>;
|
|
@@ -302,7 +302,7 @@ declare class PosCart {
|
|
|
302
302
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
303
303
|
* Success response
|
|
304
304
|
* @name updateShipments
|
|
305
|
-
* @summary: Update shipments
|
|
305
|
+
* @summary: Update shipments
|
|
306
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>;
|
|
@@ -314,7 +314,7 @@ declare class PosCart {
|
|
|
314
314
|
* @returns {Promise<PosCartApplicationModel.PaymentCouponValidate>} -
|
|
315
315
|
* Success response
|
|
316
316
|
* @name validateCouponForPayment
|
|
317
|
-
* @summary: Validate coupon
|
|
317
|
+
* @summary: Validate coupon
|
|
318
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>;
|
|
@@ -68,7 +68,7 @@ class PosCart {
|
|
|
68
68
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
69
69
|
* @returns {Promise<PosCartApplicationModel.SaveAddressResponse>} - Success response
|
|
70
70
|
* @name addAddress
|
|
71
|
-
* @summary: Add new address
|
|
71
|
+
* @summary: Add new address
|
|
72
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(
|
|
@@ -147,7 +147,7 @@ class PosCart {
|
|
|
147
147
|
* @returns {Promise<PosCartApplicationModel.AddCartDetailResponse>} -
|
|
148
148
|
* Success response
|
|
149
149
|
* @name addItems
|
|
150
|
-
* @summary: Add to cart
|
|
150
|
+
* @summary: Add to cart
|
|
151
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(
|
|
@@ -230,7 +230,7 @@ class PosCart {
|
|
|
230
230
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
231
231
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
232
232
|
* @name applyCoupon
|
|
233
|
-
* @summary: Apply coupon
|
|
233
|
+
* @summary: Apply coupon
|
|
234
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(
|
|
@@ -313,7 +313,7 @@ class PosCart {
|
|
|
313
313
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
314
314
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
315
315
|
* @name applyRewardPoints
|
|
316
|
-
* @summary: Use reward points
|
|
316
|
+
* @summary: Use reward points
|
|
317
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(
|
|
@@ -395,7 +395,7 @@ class PosCart {
|
|
|
395
395
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
396
396
|
* @returns {Promise<PosCartApplicationModel.CartCheckoutResponse>} - Success response
|
|
397
397
|
* @name checkoutCart
|
|
398
|
-
* @summary: Checkout cart
|
|
398
|
+
* @summary: Checkout cart
|
|
399
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(
|
|
@@ -474,7 +474,7 @@ class PosCart {
|
|
|
474
474
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
475
475
|
* @returns {Promise<PosCartApplicationModel.Address>} - Success response
|
|
476
476
|
* @name getAddressById
|
|
477
|
-
* @summary: Fetch address
|
|
477
|
+
* @summary: Fetch address
|
|
478
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(
|
|
@@ -567,7 +567,7 @@ class PosCart {
|
|
|
567
567
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
568
568
|
* @returns {Promise<PosCartApplicationModel.GetAddressesResponse>} - Success response
|
|
569
569
|
* @name getAddresses
|
|
570
|
-
* @summary: Get saved addresses
|
|
570
|
+
* @summary: Get saved addresses
|
|
571
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(
|
|
@@ -662,7 +662,7 @@ class PosCart {
|
|
|
662
662
|
* @returns {Promise<PosCartApplicationModel.CartDeliveryModesResponse>} -
|
|
663
663
|
* Success response
|
|
664
664
|
* @name getAvailableDeliveryModes
|
|
665
|
-
* @summary: Delivery options
|
|
665
|
+
* @summary: Delivery options
|
|
666
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(
|
|
@@ -744,7 +744,7 @@ class PosCart {
|
|
|
744
744
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
745
745
|
* @returns {Promise<PosCartApplicationModel.BulkPriceResponse>} - Success response
|
|
746
746
|
* @name getBulkDiscountOffers
|
|
747
|
-
* @summary: Bulk discounts
|
|
747
|
+
* @summary: Bulk discounts
|
|
748
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(
|
|
@@ -828,7 +828,7 @@ class PosCart {
|
|
|
828
828
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
829
829
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
830
830
|
* @name getCart
|
|
831
|
-
* @summary: Retrieve cart details
|
|
831
|
+
* @summary: Retrieve cart details
|
|
832
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(
|
|
@@ -913,7 +913,7 @@ class PosCart {
|
|
|
913
913
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
914
914
|
* @returns {Promise<any>} - Success response
|
|
915
915
|
* @name getCartLastModified
|
|
916
|
-
* @summary: Cart modification time
|
|
916
|
+
* @summary: Cart modification time
|
|
917
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(
|
|
@@ -992,7 +992,7 @@ class PosCart {
|
|
|
992
992
|
* @returns {Promise<PosCartApplicationModel.GetShareCartLinkResponse>} -
|
|
993
993
|
* Success response
|
|
994
994
|
* @name getCartShareLink
|
|
995
|
-
* @summary: Share cart link
|
|
995
|
+
* @summary: Share cart link
|
|
996
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(
|
|
@@ -1070,7 +1070,7 @@ class PosCart {
|
|
|
1070
1070
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1071
1071
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
1072
1072
|
* @name getCartSharedItems
|
|
1073
|
-
* @summary: Shared cart items
|
|
1073
|
+
* @summary: Shared cart items
|
|
1074
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(
|
|
@@ -1148,7 +1148,7 @@ class PosCart {
|
|
|
1148
1148
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1149
1149
|
* @returns {Promise<PosCartApplicationModel.GetCouponResponse>} - Success response
|
|
1150
1150
|
* @name getCoupons
|
|
1151
|
-
* @summary: List available coupons
|
|
1151
|
+
* @summary: List available coupons
|
|
1152
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(
|
|
@@ -1229,7 +1229,7 @@ class PosCart {
|
|
|
1229
1229
|
* @returns {Promise<PosCartApplicationModel.CartItemCountResponse>} -
|
|
1230
1230
|
* Success response
|
|
1231
1231
|
* @name getItemCount
|
|
1232
|
-
* @summary: Count cart items
|
|
1232
|
+
* @summary: Count cart items
|
|
1233
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(
|
|
@@ -1310,7 +1310,7 @@ class PosCart {
|
|
|
1310
1310
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
1311
1311
|
* Success response
|
|
1312
1312
|
* @name getShipments
|
|
1313
|
-
* @summary: List shipments
|
|
1313
|
+
* @summary: List shipments
|
|
1314
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(
|
|
@@ -1420,7 +1420,7 @@ class PosCart {
|
|
|
1420
1420
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1421
1421
|
* @returns {Promise<PosCartApplicationModel.StoreDetailsResponse>} - Success response
|
|
1422
1422
|
* @name getStoreAddressByUid
|
|
1423
|
-
* @summary: Store address
|
|
1423
|
+
* @summary: Store address
|
|
1424
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(
|
|
@@ -1502,7 +1502,7 @@ class PosCart {
|
|
|
1502
1502
|
* @returns {Promise<PosCartApplicationModel.DeleteAddressResponse>} -
|
|
1503
1503
|
* Success response
|
|
1504
1504
|
* @name removeAddress
|
|
1505
|
-
* @summary: Delete address
|
|
1505
|
+
* @summary: Delete address
|
|
1506
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(
|
|
@@ -1580,7 +1580,7 @@ class PosCart {
|
|
|
1580
1580
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1581
1581
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1582
1582
|
* @name removeCoupon
|
|
1583
|
-
* @summary: Remove coupon
|
|
1583
|
+
* @summary: Remove coupon
|
|
1584
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(
|
|
@@ -1660,7 +1660,7 @@ class PosCart {
|
|
|
1660
1660
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1661
1661
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1662
1662
|
* @name selectAddress
|
|
1663
|
-
* @summary: Choose delivery address
|
|
1663
|
+
* @summary: Choose delivery address
|
|
1664
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(
|
|
@@ -1742,7 +1742,7 @@ class PosCart {
|
|
|
1742
1742
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1743
1743
|
* @returns {Promise<PosCartApplicationModel.CartDetailResponse>} - Success response
|
|
1744
1744
|
* @name selectPaymentMode
|
|
1745
|
-
* @summary: Pick payment method
|
|
1745
|
+
* @summary: Pick payment method
|
|
1746
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(
|
|
@@ -1823,7 +1823,7 @@ class PosCart {
|
|
|
1823
1823
|
* @returns {Promise<PosCartApplicationModel.UpdateAddressResponse>} -
|
|
1824
1824
|
* Success response
|
|
1825
1825
|
* @name updateAddress
|
|
1826
|
-
* @summary: Update address
|
|
1826
|
+
* @summary: Update address
|
|
1827
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(
|
|
@@ -1902,7 +1902,7 @@ class PosCart {
|
|
|
1902
1902
|
* @returns {Promise<PosCartApplicationModel.UpdateCartDetailResponse>} -
|
|
1903
1903
|
* Success response
|
|
1904
1904
|
* @name updateCart
|
|
1905
|
-
* @summary: Update cart
|
|
1905
|
+
* @summary: Update cart
|
|
1906
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(
|
|
@@ -1987,7 +1987,7 @@ class PosCart {
|
|
|
1987
1987
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
1988
1988
|
* @returns {Promise<PosCartApplicationModel.CartMetaResponse>} - Success response
|
|
1989
1989
|
* @name updateCartMeta
|
|
1990
|
-
* @summary: Update cart metadata
|
|
1990
|
+
* @summary: Update cart metadata
|
|
1991
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(
|
|
@@ -2069,7 +2069,7 @@ class PosCart {
|
|
|
2069
2069
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
2070
2070
|
* @returns {Promise<PosCartApplicationModel.SharedCartResponse>} - Success response
|
|
2071
2071
|
* @name updateCartWithSharedItems
|
|
2072
|
-
* @summary: Update with shared items
|
|
2072
|
+
* @summary: Update with shared items
|
|
2073
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(
|
|
@@ -2150,7 +2150,7 @@ class PosCart {
|
|
|
2150
2150
|
* @returns {Promise<PosCartApplicationModel.CartShipmentsResponse>} -
|
|
2151
2151
|
* Success response
|
|
2152
2152
|
* @name updateShipments
|
|
2153
|
-
* @summary: Update shipments
|
|
2153
|
+
* @summary: Update shipments
|
|
2154
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(
|
|
@@ -2238,7 +2238,7 @@ class PosCart {
|
|
|
2238
2238
|
* @returns {Promise<PosCartApplicationModel.PaymentCouponValidate>} -
|
|
2239
2239
|
* Success response
|
|
2240
2240
|
* @name validateCouponForPayment
|
|
2241
|
-
* @summary: Validate coupon
|
|
2241
|
+
* @summary: Validate coupon
|
|
2242
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(
|
|
@@ -20,7 +20,7 @@ declare class Rewards {
|
|
|
20
20
|
* @returns {Promise<RewardsApplicationModel.CatalogueOrderResponse>} -
|
|
21
21
|
* Success response
|
|
22
22
|
* @name catalogueOrder
|
|
23
|
-
* @summary: Order from catalogue
|
|
23
|
+
* @summary: Order from catalogue
|
|
24
24
|
* @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
|
|
25
25
|
*/
|
|
26
26
|
catalogueOrder({ body, requestHeaders }?: RewardsApplicationValidator.CatalogueOrderParam, { responseHeaders }?: object): Promise<RewardsApplicationModel.CatalogueOrderResponse>;
|
|
@@ -41,7 +41,7 @@ declare class Rewards {
|
|
|
41
41
|
* @returns {Promise<RewardsApplicationModel.OrderDiscountResponse>} -
|
|
42
42
|
* Success response
|
|
43
43
|
* @name getOrderDiscount
|
|
44
|
-
* @summary: Order discount
|
|
44
|
+
* @summary: Order discount
|
|
45
45
|
* @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
|
|
46
46
|
*/
|
|
47
47
|
getOrderDiscount({ body, requestHeaders }?: RewardsApplicationValidator.GetOrderDiscountParam, { responseHeaders }?: object): Promise<RewardsApplicationModel.OrderDiscountResponse>;
|
|
@@ -51,7 +51,7 @@ declare class Rewards {
|
|
|
51
51
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
52
52
|
* @returns {Promise<RewardsApplicationModel.PointsResponse>} - Success response
|
|
53
53
|
* @name getUserPoints
|
|
54
|
-
* @summary: Current points
|
|
54
|
+
* @summary: Current points
|
|
55
55
|
* @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
|
|
56
56
|
*/
|
|
57
57
|
getUserPoints({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsApplicationModel.PointsResponse>;
|
|
@@ -62,7 +62,7 @@ declare class Rewards {
|
|
|
62
62
|
* @returns {Promise<RewardsApplicationModel.PointsHistoryResponse>} -
|
|
63
63
|
* Success response
|
|
64
64
|
* @name getUserPointsHistory
|
|
65
|
-
* @summary: Points history
|
|
65
|
+
* @summary: Points history
|
|
66
66
|
* @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
|
|
67
67
|
*/
|
|
68
68
|
getUserPointsHistory({ pageId, pageSize, requestHeaders }?: RewardsApplicationValidator.GetUserPointsHistoryParam, { responseHeaders }?: object): Promise<RewardsApplicationModel.PointsHistoryResponse>;
|
|
@@ -73,7 +73,7 @@ declare class Rewards {
|
|
|
73
73
|
* @returns {Promise<RewardsApplicationModel.ReferralDetailsResponse>} -
|
|
74
74
|
* Success response
|
|
75
75
|
* @name getUserReferralDetails
|
|
76
|
-
* @summary: Referral details
|
|
76
|
+
* @summary: Referral details
|
|
77
77
|
* @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
|
|
78
78
|
*/
|
|
79
79
|
getUserReferralDetails({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsApplicationModel.ReferralDetailsResponse>;
|
|
@@ -84,7 +84,7 @@ declare class Rewards {
|
|
|
84
84
|
* @returns {Promise<RewardsApplicationModel.RedeemReferralCodeResponse>} -
|
|
85
85
|
* Success response
|
|
86
86
|
* @name redeemReferralCode
|
|
87
|
-
* @summary: Redeem code
|
|
87
|
+
* @summary: Redeem code
|
|
88
88
|
* @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
|
|
89
89
|
*/
|
|
90
90
|
redeemReferralCode({ body, requestHeaders }?: RewardsApplicationValidator.RedeemReferralCodeParam, { responseHeaders }?: object): Promise<RewardsApplicationModel.RedeemReferralCodeResponse>;
|
|
@@ -50,7 +50,7 @@ class Rewards {
|
|
|
50
50
|
* @returns {Promise<RewardsApplicationModel.CatalogueOrderResponse>} -
|
|
51
51
|
* Success response
|
|
52
52
|
* @name catalogueOrder
|
|
53
|
-
* @summary: Order from catalogue
|
|
53
|
+
* @summary: Order from catalogue
|
|
54
54
|
* @description: Place an reward on order items available in the catalogue. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/catalogueOrder/).
|
|
55
55
|
*/
|
|
56
56
|
async catalogueOrder(
|
|
@@ -207,7 +207,7 @@ class Rewards {
|
|
|
207
207
|
* @returns {Promise<RewardsApplicationModel.OrderDiscountResponse>} -
|
|
208
208
|
* Success response
|
|
209
209
|
* @name getOrderDiscount
|
|
210
|
-
* @summary: Order discount
|
|
210
|
+
* @summary: Order discount
|
|
211
211
|
* @description: Retrieve the discount applied to a specific order. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getOrderDiscount/).
|
|
212
212
|
*/
|
|
213
213
|
async getOrderDiscount(
|
|
@@ -285,7 +285,7 @@ class Rewards {
|
|
|
285
285
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
286
286
|
* @returns {Promise<RewardsApplicationModel.PointsResponse>} - Success response
|
|
287
287
|
* @name getUserPoints
|
|
288
|
-
* @summary: Current points
|
|
288
|
+
* @summary: Current points
|
|
289
289
|
* @description: Retrieves the current reward points balance for the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPoints/).
|
|
290
290
|
*/
|
|
291
291
|
async getUserPoints(
|
|
@@ -364,7 +364,7 @@ class Rewards {
|
|
|
364
364
|
* @returns {Promise<RewardsApplicationModel.PointsHistoryResponse>} -
|
|
365
365
|
* Success response
|
|
366
366
|
* @name getUserPointsHistory
|
|
367
|
-
* @summary: Points history
|
|
367
|
+
* @summary: Points history
|
|
368
368
|
* @description: Gets the historical data of points earned or spent by the user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserPointsHistory/).
|
|
369
369
|
*/
|
|
370
370
|
async getUserPointsHistory(
|
|
@@ -447,7 +447,7 @@ class Rewards {
|
|
|
447
447
|
* @returns {Promise<RewardsApplicationModel.ReferralDetailsResponse>} -
|
|
448
448
|
* Success response
|
|
449
449
|
* @name getUserReferralDetails
|
|
450
|
-
* @summary: Referral details
|
|
450
|
+
* @summary: Referral details
|
|
451
451
|
* @description: Gets the details of the user’s referral status and codes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/getUserReferralDetails/).
|
|
452
452
|
*/
|
|
453
453
|
async getUserReferralDetails(
|
|
@@ -528,7 +528,7 @@ class Rewards {
|
|
|
528
528
|
* @returns {Promise<RewardsApplicationModel.RedeemReferralCodeResponse>} -
|
|
529
529
|
* Success response
|
|
530
530
|
* @name redeemReferralCode
|
|
531
|
-
* @summary: Redeem code
|
|
531
|
+
* @summary: Redeem code
|
|
532
532
|
* @description: Applies a referral code to earn or redeem rewards. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/rewards/redeemReferralCode/).
|
|
533
533
|
*/
|
|
534
534
|
async redeemReferralCode(
|
|
@@ -19,7 +19,7 @@ declare class Share {
|
|
|
19
19
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
20
20
|
* @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
|
|
21
21
|
* @name createShortLink
|
|
22
|
-
* @summary: Shorten URL
|
|
22
|
+
* @summary: Shorten URL
|
|
23
23
|
* @description: Creates a shortened version of a given URL for easier sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/createShortLink/).
|
|
24
24
|
*/
|
|
25
25
|
createShortLink({ body, requestHeaders }?: ShareApplicationValidator.CreateShortLinkParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
|
|
@@ -29,7 +29,7 @@ declare class Share {
|
|
|
29
29
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
30
30
|
* @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
|
|
31
31
|
* @name getApplicationQRCode
|
|
32
|
-
* @summary: App QR code
|
|
32
|
+
* @summary: App QR code
|
|
33
33
|
* @description: Generates a QR code for the application for easy sharing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getApplicationQRCode/).
|
|
34
34
|
*/
|
|
35
35
|
getApplicationQRCode({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
|
|
@@ -39,7 +39,7 @@ declare class Share {
|
|
|
39
39
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
40
40
|
* @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
|
|
41
41
|
* @name getCollectionQRCodeBySlug
|
|
42
|
-
* @summary: Collection QR code
|
|
42
|
+
* @summary: Collection QR code
|
|
43
43
|
* @description: Generates a QR code for a specific product collection using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getCollectionQRCodeBySlug/).
|
|
44
44
|
*/
|
|
45
45
|
getCollectionQRCodeBySlug({ slug, requestHeaders }?: ShareApplicationValidator.GetCollectionQRCodeBySlugParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
|
|
@@ -50,7 +50,7 @@ declare class Share {
|
|
|
50
50
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
51
51
|
* @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
|
|
52
52
|
* @name getOriginalShortLinkByHash
|
|
53
|
-
* @summary: Original URL
|
|
53
|
+
* @summary: Original URL
|
|
54
54
|
* @description: Retrieve the original link from a short-link by using a hash value. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getOriginalShortLinkByHash/).
|
|
55
55
|
*/
|
|
56
56
|
getOriginalShortLinkByHash({ hash, requestHeaders }?: ShareApplicationValidator.GetOriginalShortLinkByHashParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
|
|
@@ -60,7 +60,7 @@ declare class Share {
|
|
|
60
60
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
61
61
|
* @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
|
|
62
62
|
* @name getProductQRCodeBySlug
|
|
63
|
-
* @summary: Product QR code
|
|
63
|
+
* @summary: Product QR code
|
|
64
64
|
* @description: Creates a QR code for a specific product identified by its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getProductQRCodeBySlug/).
|
|
65
65
|
*/
|
|
66
66
|
getProductQRCodeBySlug({ slug, requestHeaders }?: ShareApplicationValidator.GetProductQRCodeBySlugParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
|
|
@@ -70,7 +70,7 @@ declare class Share {
|
|
|
70
70
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
71
71
|
* @returns {Promise<ShareApplicationModel.ShortLinkRes>} - Success response
|
|
72
72
|
* @name getShortLinkByHash
|
|
73
|
-
* @summary: Fetch short link
|
|
73
|
+
* @summary: Fetch short link
|
|
74
74
|
* @description: Retrieves a previously created short link using its hash identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getShortLinkByHash/).
|
|
75
75
|
*/
|
|
76
76
|
getShortLinkByHash({ hash, requestHeaders }?: ShareApplicationValidator.GetShortLinkByHashParam, { responseHeaders }?: object): Promise<ShareApplicationModel.ShortLinkRes>;
|
|
@@ -80,7 +80,7 @@ declare class Share {
|
|
|
80
80
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
81
81
|
* @returns {Promise<ShareApplicationModel.QRCodeResp>} - Success response
|
|
82
82
|
* @name getUrlQRCode
|
|
83
|
-
* @summary: URL to QR code
|
|
83
|
+
* @summary: URL to QR code
|
|
84
84
|
* @description: Converts a given URL into a scannable QR code. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/share/getUrlQRCode/).
|
|
85
85
|
*/
|
|
86
86
|
getUrlQRCode({ url, requestHeaders }?: ShareApplicationValidator.GetUrlQRCodeParam, { responseHeaders }?: object): Promise<ShareApplicationModel.QRCodeResp>;
|