@gofynd/fdk-client-javascript 1.4.3 → 1.4.4
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 -10
- package/application.d.ts +3 -3
- package/common.d.ts +3 -3
- package/index.d.ts +15 -15
- package/package.json +1 -1
- package/partner.d.ts +3 -3
- package/platform.d.ts +3 -3
- package/public.d.ts +2 -2
- package/sdk/application/ApplicationAPIClient.d.ts +1 -1
- package/sdk/application/ApplicationClient.d.ts +17 -17
- package/sdk/application/ApplicationConfig.d.ts +3 -3
- package/sdk/application/Cart/CartApplicationClient.d.ts +50 -50
- package/sdk/application/Cart/CartApplicationClient.js +48 -48
- package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
- package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
- package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
- package/sdk/application/Common/CommonApplicationClient.js +4 -4
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
- package/sdk/application/Content/ContentApplicationClient.js +45 -45
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/Lead/LeadApplicationClient.d.ts +11 -11
- package/sdk/application/Lead/LeadApplicationClient.js +9 -9
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
- package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
- package/sdk/application/Order/OrderApplicationClient.d.ts +16 -27
- package/sdk/application/Order/OrderApplicationClient.js +14 -94
- package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
- package/sdk/application/Order/OrderApplicationValidator.js +0 -13
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +73 -73
- package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +1 -1
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
- package/sdk/application/Share/ShareApplicationClient.d.ts +3 -3
- package/sdk/application/Share/ShareApplicationClient.js +1 -1
- package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
- package/sdk/application/User/UserApplicationClient.d.ts +76 -76
- package/sdk/application/User/UserApplicationClient.js +74 -74
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
- package/sdk/application/index.d.ts +18 -18
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +1 -1
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +1 -1
- package/sdk/partner/OAuthClient.d.ts +4 -4
- package/sdk/partner/PartnerAPIClient.d.ts +1 -1
- package/sdk/partner/PartnerClient.d.ts +6 -6
- package/sdk/partner/PartnerConfig.d.ts +4 -4
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +1 -1
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +1 -1
- package/sdk/partner/index.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +7 -7
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +15 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +104 -104
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +135 -134
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +133 -133
- package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformClient.d.ts +4 -4
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +120 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +25 -25
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +43 -43
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +28 -28
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +96 -96
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.d.ts +31 -31
- package/sdk/platform/Content/ContentPlatformClient.js +29 -29
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +20 -20
- package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +20 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +14 -14
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
- package/sdk/platform/OAuthClient.d.ts +3 -3
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -108
- package/sdk/platform/Order/OrderPlatformClient.js +95 -190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
- package/sdk/platform/Order/OrderPlatformModel.js +4 -0
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
- package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +79 -79
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
- package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
- package/sdk/platform/PlatformAPIClient.d.ts +1 -1
- package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
- package/sdk/platform/PlatformClient.d.ts +19 -21
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/PlatformConfig.d.ts +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +53 -52
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -106
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
- package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -8
- package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
- package/sdk/platform/index.d.ts +24 -25
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.d.ts +2 -2
- package/sdk/public/PublicAPIClient.d.ts +1 -1
- package/sdk/public/PublicClient.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +2 -2
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
- package/sdk/public/index.d.ts +8 -8
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
- package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
- package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
214
214
|
The above code will log the curl command in the console
|
|
215
215
|
|
|
216
216
|
```bash
|
|
217
|
-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.
|
|
217
|
+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.4' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
218
218
|
Active Theme: Emerge
|
|
219
219
|
```
|
|
220
220
|
|
|
@@ -228,12 +228,3 @@ fdk-client-javascript includes Typescript definitions.
|
|
|
228
228
|
import { ApplicationConfig, ApplicationClient } from "fdk-client-javascript";
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
### Documentation
|
|
234
|
-
|
|
235
|
-
- [Application Front](documentation/application/README.md)
|
|
236
|
-
- [Partner Front](documentation/partner/README.md)
|
|
237
|
-
- [Platform Front](documentation/platform/README.md)
|
|
238
|
-
- [Public Front](documentation/public/README.md)
|
|
239
|
-
|
package/application.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationConfig } from "
|
|
2
|
-
import { ApplicationClient } from "
|
|
3
|
-
import { ApplicationModel } from "
|
|
1
|
+
import { ApplicationConfig } from "sdk/output/javascript/code/sdk/application";
|
|
2
|
+
import { ApplicationClient } from "sdk/output/javascript/code/sdk/application";
|
|
3
|
+
import { ApplicationModel } from "sdk/output/javascript/code/sdk/application";
|
|
4
4
|
export { ApplicationConfig, ApplicationClient, ApplicationModel };
|
package/common.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fdkAxios } from "
|
|
2
|
-
import Utility = require("
|
|
3
|
-
import Constant = require("
|
|
1
|
+
import { fdkAxios } from "sdk/output/javascript/code/sdk/common/AxiosHelper";
|
|
2
|
+
import Utility = require("sdk/output/javascript/code/sdk/common/Utility");
|
|
3
|
+
import Constant = require("sdk/output/javascript/code/sdk/common/Constant");
|
|
4
4
|
export { fdkAxios as FdkAxios, Utility, Constant };
|
package/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ApplicationConfig } from "
|
|
2
|
-
import { ApplicationClient } from "
|
|
3
|
-
import { ApplicationModel } from "
|
|
4
|
-
import { PartnerConfig } from "
|
|
5
|
-
import { PartnerClient } from "
|
|
6
|
-
import { PartnerModel } from "
|
|
7
|
-
import { PlatformConfig } from "
|
|
8
|
-
import { PlatformClient } from "
|
|
9
|
-
import { PlatformModel } from "
|
|
10
|
-
import { PublicConfig } from "
|
|
11
|
-
import { PublicClient } from "
|
|
12
|
-
import { PublicModel } from "
|
|
13
|
-
import { fdkAxios } from "
|
|
14
|
-
import Utility = require("
|
|
15
|
-
import Constant = require("
|
|
1
|
+
import { ApplicationConfig } from "sdk/output/javascript/code/sdk/application";
|
|
2
|
+
import { ApplicationClient } from "sdk/output/javascript/code/sdk/application";
|
|
3
|
+
import { ApplicationModel } from "sdk/output/javascript/code/sdk/application";
|
|
4
|
+
import { PartnerConfig } from "sdk/output/javascript/code/sdk/partner";
|
|
5
|
+
import { PartnerClient } from "sdk/output/javascript/code/sdk/partner";
|
|
6
|
+
import { PartnerModel } from "sdk/output/javascript/code/sdk/partner";
|
|
7
|
+
import { PlatformConfig } from "sdk/output/javascript/code/sdk/platform";
|
|
8
|
+
import { PlatformClient } from "sdk/output/javascript/code/sdk/platform";
|
|
9
|
+
import { PlatformModel } from "sdk/output/javascript/code/sdk/platform";
|
|
10
|
+
import { PublicConfig } from "sdk/output/javascript/code/sdk/public";
|
|
11
|
+
import { PublicClient } from "sdk/output/javascript/code/sdk/public";
|
|
12
|
+
import { PublicModel } from "sdk/output/javascript/code/sdk/public";
|
|
13
|
+
import { fdkAxios } from "sdk/output/javascript/code/sdk/common/AxiosHelper";
|
|
14
|
+
import Utility = require("sdk/output/javascript/code/sdk/common/Utility");
|
|
15
|
+
import Constant = require("sdk/output/javascript/code/sdk/common/Constant");
|
|
16
16
|
export { ApplicationConfig, ApplicationClient, ApplicationModel, PartnerConfig, PartnerClient, PartnerModel, PlatformConfig, PlatformClient, PlatformModel, PublicConfig, PublicClient, PublicModel, fdkAxios as FdkAxios, Utility, Constant };
|
package/package.json
CHANGED
package/partner.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PartnerConfig } from "
|
|
2
|
-
import { PartnerClient } from "
|
|
3
|
-
import { PartnerModel } from "
|
|
1
|
+
import { PartnerConfig } from "sdk/output/javascript/code/sdk/partner";
|
|
2
|
+
import { PartnerClient } from "sdk/output/javascript/code/sdk/partner";
|
|
3
|
+
import { PartnerModel } from "sdk/output/javascript/code/sdk/partner";
|
|
4
4
|
export { PartnerConfig, PartnerClient, PartnerModel };
|
package/platform.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlatformConfig } from "
|
|
2
|
-
import { PlatformClient } from "
|
|
3
|
-
import { PlatformModel } from "
|
|
1
|
+
import { PlatformConfig } from "sdk/output/javascript/code/sdk/platform";
|
|
2
|
+
import { PlatformClient } from "sdk/output/javascript/code/sdk/platform";
|
|
3
|
+
import { PlatformModel } from "sdk/output/javascript/code/sdk/platform";
|
|
4
4
|
export { PlatformConfig, PlatformClient, PlatformModel };
|
package/public.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PublicConfig } from "
|
|
2
|
-
import { PublicClient } from "
|
|
1
|
+
import { PublicConfig } from "sdk/output/javascript/code/sdk/public";
|
|
2
|
+
import { PublicClient } from "sdk/output/javascript/code/sdk/public";
|
|
3
3
|
export declare const PublicModel: any;
|
|
4
4
|
export { PublicConfig, PublicClient };
|
|
@@ -12,7 +12,7 @@ declare class APIClient {
|
|
|
12
12
|
* @param {object} body
|
|
13
13
|
* @param {object} xHeaders
|
|
14
14
|
*/
|
|
15
|
-
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
15
|
+
static execute(conf: object, method: string, url: string, query: object, body: object, xHeaders: object, options: any): Promise<import("sdk/node_modules/axios").AxiosResponse<any, any>>;
|
|
16
16
|
}
|
|
17
17
|
declare namespace APIClient {
|
|
18
18
|
export { Options };
|
|
@@ -7,7 +7,7 @@ export = ApplicationClient;
|
|
|
7
7
|
declare class ApplicationClient {
|
|
8
8
|
/** @param {import("./ApplicationConfig")} config - The application configuration. */
|
|
9
9
|
constructor(config: import("./ApplicationConfig"));
|
|
10
|
-
config: import("
|
|
10
|
+
config: import("sdk/output/javascript/code/sdk/application/ApplicationConfig");
|
|
11
11
|
cart: Cart;
|
|
12
12
|
catalog: Catalog;
|
|
13
13
|
common: Common;
|
|
@@ -56,19 +56,19 @@ declare class ApplicationClient {
|
|
|
56
56
|
*/
|
|
57
57
|
setExtraHeaders(header: object): void;
|
|
58
58
|
}
|
|
59
|
-
import Cart = require("
|
|
60
|
-
import Catalog = require("
|
|
61
|
-
import Common = require("
|
|
62
|
-
import Communication = require("
|
|
63
|
-
import Configuration = require("
|
|
64
|
-
import Content = require("
|
|
65
|
-
import FileStorage = require("
|
|
66
|
-
import Lead = require("
|
|
67
|
-
import Logistic = require("
|
|
68
|
-
import Order = require("
|
|
69
|
-
import Payment = require("
|
|
70
|
-
import PosCart = require("
|
|
71
|
-
import Rewards = require("
|
|
72
|
-
import Share = require("
|
|
73
|
-
import Theme = require("
|
|
74
|
-
import User = require("
|
|
59
|
+
import Cart = require("sdk/output/javascript/code/sdk/application/Cart/CartApplicationClient");
|
|
60
|
+
import Catalog = require("sdk/output/javascript/code/sdk/application/Catalog/CatalogApplicationClient");
|
|
61
|
+
import Common = require("sdk/output/javascript/code/sdk/application/Common/CommonApplicationClient");
|
|
62
|
+
import Communication = require("sdk/output/javascript/code/sdk/application/Communication/CommunicationApplicationClient");
|
|
63
|
+
import Configuration = require("sdk/output/javascript/code/sdk/application/Configuration/ConfigurationApplicationClient");
|
|
64
|
+
import Content = require("sdk/output/javascript/code/sdk/application/Content/ContentApplicationClient");
|
|
65
|
+
import FileStorage = require("sdk/output/javascript/code/sdk/application/FileStorage/FileStorageApplicationClient");
|
|
66
|
+
import Lead = require("sdk/output/javascript/code/sdk/application/Lead/LeadApplicationClient");
|
|
67
|
+
import Logistic = require("sdk/output/javascript/code/sdk/application/Logistic/LogisticApplicationClient");
|
|
68
|
+
import Order = require("sdk/output/javascript/code/sdk/application/Order/OrderApplicationClient");
|
|
69
|
+
import Payment = require("sdk/output/javascript/code/sdk/application/Payment/PaymentApplicationClient");
|
|
70
|
+
import PosCart = require("sdk/output/javascript/code/sdk/application/PosCart/PosCartApplicationClient");
|
|
71
|
+
import Rewards = require("sdk/output/javascript/code/sdk/application/Rewards/RewardsApplicationClient");
|
|
72
|
+
import Share = require("sdk/output/javascript/code/sdk/application/Share/ShareApplicationClient");
|
|
73
|
+
import Theme = require("sdk/output/javascript/code/sdk/application/Theme/ThemeApplicationClient");
|
|
74
|
+
import User = require("sdk/output/javascript/code/sdk/application/User/UserApplicationClient");
|
|
@@ -38,7 +38,7 @@ declare class ApplicationConfig {
|
|
|
38
38
|
applicationID: string;
|
|
39
39
|
applicationToken?: string;
|
|
40
40
|
domain?: string;
|
|
41
|
-
logLevel?: "
|
|
41
|
+
logLevel?: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR";
|
|
42
42
|
locationDetails?: LocationObject;
|
|
43
43
|
currencyCode?: string;
|
|
44
44
|
}, options?: {
|
|
@@ -50,7 +50,7 @@ declare class ApplicationConfig {
|
|
|
50
50
|
strictResponseCheck: boolean;
|
|
51
51
|
};
|
|
52
52
|
domain: string;
|
|
53
|
-
logLevel: "
|
|
53
|
+
logLevel: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR";
|
|
54
54
|
extraHeaders: any[];
|
|
55
55
|
locationDetails: LocationObject;
|
|
56
56
|
currencyCode: string;
|
|
@@ -59,7 +59,7 @@ declare class ApplicationConfig {
|
|
|
59
59
|
*
|
|
60
60
|
* @param {logLevelEnum} level - The log level to set.
|
|
61
61
|
*/
|
|
62
|
-
setLogLevel(level: "
|
|
62
|
+
setLogLevel(level: "DEBUG" | "TRACE" | "INFO" | "WARN" | "ERROR"): void;
|
|
63
63
|
/**
|
|
64
64
|
* Sets the cookie for the application.
|
|
65
65
|
*
|
|
@@ -40,8 +40,8 @@ declare class Cart {
|
|
|
40
40
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
41
41
|
* @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
|
|
42
42
|
* @name addAddress
|
|
43
|
-
* @summary:
|
|
44
|
-
* @description:
|
|
43
|
+
* @summary: Create a new address
|
|
44
|
+
* @description: Customers can add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
45
45
|
*/
|
|
46
46
|
addAddress({ body, requestHeaders }?: CartApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.SaveAddressResponse>;
|
|
47
47
|
/**
|
|
@@ -50,8 +50,8 @@ declare class Cart {
|
|
|
50
50
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
51
51
|
* @returns {Promise<CartApplicationModel.AddCartDetailResponse>} - Success response
|
|
52
52
|
* @name addItems
|
|
53
|
-
* @summary: Add to cart
|
|
54
|
-
* @description:
|
|
53
|
+
* @summary: Add items to a cart
|
|
54
|
+
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addItems/).
|
|
55
55
|
*/
|
|
56
56
|
addItems({ body, i, b, areaCode, buyNow, id, requestHeaders }?: CartApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.AddCartDetailResponse>;
|
|
57
57
|
/**
|
|
@@ -61,7 +61,7 @@ declare class Cart {
|
|
|
61
61
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
62
62
|
* @name applyCoupon
|
|
63
63
|
* @summary: Apply coupon
|
|
64
|
-
* @description:
|
|
64
|
+
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
65
65
|
*/
|
|
66
66
|
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: CartApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
67
67
|
/**
|
|
@@ -71,7 +71,7 @@ declare class Cart {
|
|
|
71
71
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
72
72
|
* @name applyRewardPoints
|
|
73
73
|
* @summary: Use reward points
|
|
74
|
-
* @description:
|
|
74
|
+
* @description: Users can redeem their accumulated reward points and apply them to the items in their cart, thereby availing discounts on their current purchases. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyRewardPoints/).
|
|
75
75
|
*/
|
|
76
76
|
applyRewardPoints({ body, id, i, b, buyNow, requestHeaders }?: CartApplicationValidator.ApplyRewardPointsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
77
77
|
/**
|
|
@@ -81,7 +81,7 @@ declare class Cart {
|
|
|
81
81
|
* @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
|
|
82
82
|
* @name checkoutCart
|
|
83
83
|
* @summary: Checkout cart
|
|
84
|
-
* @description:
|
|
84
|
+
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCart/).
|
|
85
85
|
*/
|
|
86
86
|
checkoutCart({ body, buyNow, cartType, requestHeaders }?: CartApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartCheckoutResponse>;
|
|
87
87
|
/**
|
|
@@ -90,8 +90,8 @@ declare class Cart {
|
|
|
90
90
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
91
91
|
* @returns {Promise<CartApplicationModel.CartCheckoutResponse>} - Success response
|
|
92
92
|
* @name checkoutCartV2
|
|
93
|
-
* @summary:
|
|
94
|
-
* @description:
|
|
93
|
+
* @summary: Start cart checkout (latest)
|
|
94
|
+
* @description: Enhanced version of checkout process that supports multiple mode of payment(MOP). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/checkoutCartV2/).
|
|
95
95
|
*/
|
|
96
96
|
checkoutCartV2({ body, buyNow, cartType, requestHeaders }?: CartApplicationValidator.CheckoutCartV2Param, { responseHeaders }?: object): Promise<CartApplicationModel.CartCheckoutResponse>;
|
|
97
97
|
/**
|
|
@@ -101,8 +101,8 @@ declare class Cart {
|
|
|
101
101
|
* @returns {Promise<CartApplicationModel.DeleteCartDetailResponse>} -
|
|
102
102
|
* Success response
|
|
103
103
|
* @name deleteCart
|
|
104
|
-
* @summary:
|
|
105
|
-
* @description:
|
|
104
|
+
* @summary: Delete a cart
|
|
105
|
+
* @description: Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/deleteCart/).
|
|
106
106
|
*/
|
|
107
107
|
deleteCart({ id, requestHeaders }?: CartApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteCartDetailResponse>;
|
|
108
108
|
/**
|
|
@@ -111,8 +111,8 @@ declare class Cart {
|
|
|
111
111
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
112
112
|
* @returns {Promise<CartApplicationModel.Address>} - Success response
|
|
113
113
|
* @name getAddressById
|
|
114
|
-
* @summary:
|
|
115
|
-
* @description:
|
|
114
|
+
* @summary: Get a address
|
|
115
|
+
* @description: Retrieve a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddressById/).
|
|
116
116
|
*/
|
|
117
117
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartApplicationModel.Address>;
|
|
118
118
|
/**
|
|
@@ -121,8 +121,8 @@ declare class Cart {
|
|
|
121
121
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
122
122
|
* @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
|
|
123
123
|
* @name getAddresses
|
|
124
|
-
* @summary:
|
|
125
|
-
* @description: Retrieve all saved
|
|
124
|
+
* @summary: List customer addresses
|
|
125
|
+
* @description: Retrieve a list of all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getAddresses/).
|
|
126
126
|
*/
|
|
127
127
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetAddressesResponse>;
|
|
128
128
|
/**
|
|
@@ -131,8 +131,8 @@ declare class Cart {
|
|
|
131
131
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
132
132
|
* @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
|
|
133
133
|
* @name getBulkDiscountOffers
|
|
134
|
-
* @summary:
|
|
135
|
-
* @description:
|
|
134
|
+
* @summary: List bulk discounts
|
|
135
|
+
* @description: Retrieve a list of offer discounts with information about quantity and seller. One offer is marked with a "best" flag, indicating it as the best offer among the list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
136
136
|
*/
|
|
137
137
|
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: CartApplicationValidator.GetBulkDiscountOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.BulkPriceResponse>;
|
|
138
138
|
/**
|
|
@@ -141,8 +141,8 @@ declare class Cart {
|
|
|
141
141
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
142
142
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
143
143
|
* @name getCart
|
|
144
|
-
* @summary:
|
|
145
|
-
* @description: Retrieve the
|
|
144
|
+
* @summary: Get a cart
|
|
145
|
+
* @description: Retrieve details of a cart linked to a specific customer using either the customer's ID or a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
146
146
|
*/
|
|
147
147
|
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, requestHeaders }?: CartApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
148
148
|
/**
|
|
@@ -151,8 +151,8 @@ declare class Cart {
|
|
|
151
151
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
152
152
|
* @returns {Promise<any>} - Success response
|
|
153
153
|
* @name getCartLastModified
|
|
154
|
-
* @summary:
|
|
155
|
-
* @description:
|
|
154
|
+
* @summary: Get last modified timestamp of a cart
|
|
155
|
+
* @description: Retrieve the last modified timestamp of the cart using unique cart ID. It indicates the most recent update made to the cart's content or properties. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartLastModified/).
|
|
156
156
|
*/
|
|
157
157
|
getCartLastModified({ id, requestHeaders }?: CartApplicationValidator.GetCartLastModifiedParam, { responseHeaders }?: object): Promise<any>;
|
|
158
158
|
/**
|
|
@@ -162,8 +162,8 @@ declare class Cart {
|
|
|
162
162
|
* @returns {Promise<CartApplicationModel.GetShareCartLinkResponse>} -
|
|
163
163
|
* Success response
|
|
164
164
|
* @name getCartShareLink
|
|
165
|
-
* @summary:
|
|
166
|
-
* @description:
|
|
165
|
+
* @summary: Create share cart link
|
|
166
|
+
* @description: Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartShareLink/).
|
|
167
167
|
*/
|
|
168
168
|
getCartShareLink({ body, requestHeaders }?: CartApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetShareCartLinkResponse>;
|
|
169
169
|
/**
|
|
@@ -172,8 +172,8 @@ declare class Cart {
|
|
|
172
172
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
173
173
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
174
174
|
* @name getCartSharedItems
|
|
175
|
-
* @summary:
|
|
176
|
-
* @description:
|
|
175
|
+
* @summary: List shared cart items
|
|
176
|
+
* @description: Retrieve the cart items from the shared cart link based on unique token. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
177
177
|
*/
|
|
178
178
|
getCartSharedItems({ token, requestHeaders }?: CartApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
179
179
|
/**
|
|
@@ -183,7 +183,7 @@ declare class Cart {
|
|
|
183
183
|
* @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
|
|
184
184
|
* @name getCoupons
|
|
185
185
|
* @summary: List available coupons
|
|
186
|
-
* @description: Retrieve coupons that can
|
|
186
|
+
* @description: Retrieve a list of all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
187
187
|
*/
|
|
188
188
|
getCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetCouponResponse>;
|
|
189
189
|
/**
|
|
@@ -192,8 +192,8 @@ declare class Cart {
|
|
|
192
192
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
193
193
|
* @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
|
|
194
194
|
* @name getItemCount
|
|
195
|
-
* @summary:
|
|
196
|
-
* @description:
|
|
195
|
+
* @summary: Get a cart items count
|
|
196
|
+
* @description: Retrieve the total count of items currently present in the customer's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
197
197
|
*/
|
|
198
198
|
getItemCount({ id, buyNow, requestHeaders }?: CartApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartItemCountResponse>;
|
|
199
199
|
/**
|
|
@@ -202,8 +202,8 @@ declare class Cart {
|
|
|
202
202
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
203
203
|
* @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
|
|
204
204
|
* @name getLadderOffers
|
|
205
|
-
* @summary:
|
|
206
|
-
* @description:
|
|
205
|
+
* @summary: List ladder offers
|
|
206
|
+
* @description: Retrieve ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
|
|
207
207
|
*/
|
|
208
208
|
getLadderOffers({ slug, storeId, promotionId, pageSize, requestHeaders }?: CartApplicationValidator.GetLadderOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.LadderPriceOffers>;
|
|
209
209
|
/**
|
|
@@ -212,8 +212,8 @@ declare class Cart {
|
|
|
212
212
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
213
213
|
* @returns {Promise<CartApplicationModel.PromotionOffersResponse>} - Success response
|
|
214
214
|
* @name getPromotionOffers
|
|
215
|
-
* @summary:
|
|
216
|
-
* @description:
|
|
215
|
+
* @summary: List available promotion offers
|
|
216
|
+
* @description: Retrieve a list of all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
|
|
217
217
|
*/
|
|
218
218
|
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: CartApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.PromotionOffersResponse>;
|
|
219
219
|
/**
|
|
@@ -223,7 +223,7 @@ declare class Cart {
|
|
|
223
223
|
* @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
|
|
224
224
|
* @name getShipments
|
|
225
225
|
* @summary: List shipments
|
|
226
|
-
* @description: Retrieve shipment details for items in the
|
|
226
|
+
* @description: Retrieve shipment details for the items in a cart, specific to the selected address. Shipment details include delivery promises, seller information, item details, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
227
227
|
*/
|
|
228
228
|
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: CartApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartShipmentsResponse>;
|
|
229
229
|
/**
|
|
@@ -232,8 +232,8 @@ declare class Cart {
|
|
|
232
232
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
233
233
|
* @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
|
|
234
234
|
* @name removeAddress
|
|
235
|
-
* @summary: Delete address
|
|
236
|
-
* @description: Removes
|
|
235
|
+
* @summary: Delete a address
|
|
236
|
+
* @description: Removes an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
237
237
|
*/
|
|
238
238
|
removeAddress({ id, requestHeaders }?: CartApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteAddressResponse>;
|
|
239
239
|
/**
|
|
@@ -243,7 +243,7 @@ declare class Cart {
|
|
|
243
243
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
244
244
|
* @name removeCoupon
|
|
245
245
|
* @summary: Remove coupon
|
|
246
|
-
* @description:
|
|
246
|
+
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeCoupon/).
|
|
247
247
|
*/
|
|
248
248
|
removeCoupon({ id, buyNow, requestHeaders }?: CartApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
249
249
|
/**
|
|
@@ -252,8 +252,8 @@ declare class Cart {
|
|
|
252
252
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
253
253
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
254
254
|
* @name selectAddress
|
|
255
|
-
* @summary:
|
|
256
|
-
* @description: Selects an address
|
|
255
|
+
* @summary: Select a delivery address
|
|
256
|
+
* @description: Selects an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectAddress/).
|
|
257
257
|
*/
|
|
258
258
|
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
259
259
|
/**
|
|
@@ -262,8 +262,8 @@ declare class Cart {
|
|
|
262
262
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
263
263
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
264
264
|
* @name selectPaymentMode
|
|
265
|
-
* @summary:
|
|
266
|
-
* @description:
|
|
265
|
+
* @summary: Select payment mode
|
|
266
|
+
* @description: Customers can select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
267
267
|
*/
|
|
268
268
|
selectPaymentMode({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
269
269
|
/**
|
|
@@ -272,8 +272,8 @@ declare class Cart {
|
|
|
272
272
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
273
273
|
* @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
|
|
274
274
|
* @name updateAddress
|
|
275
|
-
* @summary: Update address
|
|
276
|
-
* @description:
|
|
275
|
+
* @summary: Update a address
|
|
276
|
+
* @description: Customer can modify the details of a previously saved addresses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
277
277
|
*/
|
|
278
278
|
updateAddress({ id, body, requestHeaders }?: CartApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateAddressResponse>;
|
|
279
279
|
/**
|
|
@@ -283,8 +283,8 @@ declare class Cart {
|
|
|
283
283
|
* @returns {Promise<CartApplicationModel.UpdateCartDetailResponse>} -
|
|
284
284
|
* Success response
|
|
285
285
|
* @name updateCart
|
|
286
|
-
* @summary: Update cart
|
|
287
|
-
* @description:
|
|
286
|
+
* @summary: Update cart items
|
|
287
|
+
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
288
288
|
*/
|
|
289
289
|
updateCart({ body, id, i, b, areaCode, buyNow, cartType, requestHeaders }?: CartApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateCartDetailResponse>;
|
|
290
290
|
/**
|
|
@@ -294,7 +294,7 @@ declare class Cart {
|
|
|
294
294
|
* @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
|
|
295
295
|
* @name updateCartMeta
|
|
296
296
|
* @summary: Update cart metadata
|
|
297
|
-
* @description:
|
|
297
|
+
* @description: Add or modify metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
298
298
|
*/
|
|
299
299
|
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartMetaResponse>;
|
|
300
300
|
/**
|
|
@@ -304,7 +304,7 @@ declare class Cart {
|
|
|
304
304
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
305
305
|
* @name updateCartWithSharedItems
|
|
306
306
|
* @summary: Update with shared items
|
|
307
|
-
* @description:
|
|
307
|
+
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
308
308
|
*/
|
|
309
309
|
updateCartWithSharedItems({ token, action, requestHeaders }?: CartApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
310
310
|
/**
|
|
@@ -313,10 +313,10 @@ declare class Cart {
|
|
|
313
313
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
314
314
|
* @returns {Promise<CartApplicationModel.PaymentCouponValidate>} - Success response
|
|
315
315
|
* @name validateCouponForPayment
|
|
316
|
-
* @summary: Validate coupon
|
|
317
|
-
* @description:
|
|
316
|
+
* @summary: Validate applied coupon
|
|
317
|
+
* @description: Validate the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/validateCouponForPayment/).
|
|
318
318
|
*/
|
|
319
319
|
validateCouponForPayment({ id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, iin, network, type, cardId, cartType, requestHeaders, }?: CartApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartApplicationModel.PaymentCouponValidate>;
|
|
320
320
|
}
|
|
321
|
-
import CartApplicationValidator = require("
|
|
322
|
-
import CartApplicationModel = require("
|
|
321
|
+
import CartApplicationValidator = require("sdk/output/javascript/code/sdk/application/Cart/CartApplicationValidator");
|
|
322
|
+
import CartApplicationModel = require("sdk/output/javascript/code/sdk/application/Cart/CartApplicationModel");
|