@gofynd/fdk-client-javascript 1.4.15-beta.1 → 1.4.15-beta.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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
- package/sdk/application/Cart/CartApplicationClient.js +111 -1200
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
- package/sdk/application/Content/ContentApplicationClient.js +46 -990
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
- package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
- package/sdk/application/Order/OrderApplicationClient.js +52 -507
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
- package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +44 -1820
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5067 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1988 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
- package/sdk/platform/Content/ContentPlatformModel.js +521 -390
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +416 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
- package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1893 -623
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +924 -568
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +795 -7
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
const ApplicationAPIClient = require("../ApplicationAPIClient");
|
|
2
|
-
const {
|
|
3
|
-
FDKClientValidationError,
|
|
4
|
-
FDKResponseValidationError,
|
|
5
|
-
} = require("../../common/FDKError");
|
|
6
2
|
const constructUrl = require("../constructUrl");
|
|
7
3
|
const Paginator = require("../../common/Paginator");
|
|
8
|
-
const LeadApplicationValidator = require("./LeadApplicationValidator");
|
|
9
|
-
const LeadApplicationModel = require("./LeadApplicationModel");
|
|
10
|
-
const { Logger } = require("./../../common/Logger");
|
|
11
|
-
const Joi = require("joi");
|
|
12
4
|
|
|
13
5
|
class Lead {
|
|
14
6
|
constructor(_conf) {
|
|
@@ -37,10 +29,9 @@ class Lead {
|
|
|
37
29
|
}
|
|
38
30
|
|
|
39
31
|
/**
|
|
40
|
-
* @param {LeadApplicationValidator.CreateHistoryParam} arg - Arg object.
|
|
41
32
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
42
33
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
43
|
-
* @returns {Promise<
|
|
34
|
+
* @returns {Promise<TicketHistory>} - Success response
|
|
44
35
|
* @name createHistory
|
|
45
36
|
* @summary: Log ticket history
|
|
46
37
|
* @description: Create a history entry for a specific support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createHistory/).
|
|
@@ -49,28 +40,6 @@ class Lead {
|
|
|
49
40
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
50
41
|
{ responseHeaders } = { responseHeaders: false }
|
|
51
42
|
) {
|
|
52
|
-
const { error } = LeadApplicationValidator.createHistory().validate(
|
|
53
|
-
{ id, body },
|
|
54
|
-
{ abortEarly: false, allowUnknown: true }
|
|
55
|
-
);
|
|
56
|
-
if (error) {
|
|
57
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Showing warrnings if extra unknown parameters are found
|
|
61
|
-
const {
|
|
62
|
-
error: warrning,
|
|
63
|
-
} = LeadApplicationValidator.createHistory().validate(
|
|
64
|
-
{ id, body },
|
|
65
|
-
{ abortEarly: false, allowUnknown: false }
|
|
66
|
-
);
|
|
67
|
-
if (warrning) {
|
|
68
|
-
Logger({
|
|
69
|
-
level: "WARN",
|
|
70
|
-
message: `Parameter Validation warrnings for application > Lead > createHistory \n ${warrning}`,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
43
|
const query_params = {};
|
|
75
44
|
|
|
76
45
|
const xHeaders = {};
|
|
@@ -93,32 +62,13 @@ class Lead {
|
|
|
93
62
|
responseData = response[0];
|
|
94
63
|
}
|
|
95
64
|
|
|
96
|
-
const {
|
|
97
|
-
error: res_error,
|
|
98
|
-
} = LeadApplicationModel.TicketHistory().validate(responseData, {
|
|
99
|
-
abortEarly: false,
|
|
100
|
-
allowUnknown: true,
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
if (res_error) {
|
|
104
|
-
if (this._conf.options.strictResponseCheck === true) {
|
|
105
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
106
|
-
} else {
|
|
107
|
-
Logger({
|
|
108
|
-
level: "WARN",
|
|
109
|
-
message: `Response Validation Warnings for application > Lead > createHistory \n ${res_error}`,
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
65
|
return response;
|
|
115
66
|
}
|
|
116
67
|
|
|
117
68
|
/**
|
|
118
|
-
* @param {LeadApplicationValidator.CreateTicketParam} arg - Arg object.
|
|
119
69
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
120
70
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
121
|
-
* @returns {Promise<
|
|
71
|
+
* @returns {Promise<Ticket>} - Success response
|
|
122
72
|
* @name createTicket
|
|
123
73
|
* @summary: Creates a ticket
|
|
124
74
|
* @description: Create a new customer support ticket for a user query. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/createTicket/).
|
|
@@ -127,28 +77,6 @@ class Lead {
|
|
|
127
77
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
128
78
|
{ responseHeaders } = { responseHeaders: false }
|
|
129
79
|
) {
|
|
130
|
-
const { error } = LeadApplicationValidator.createTicket().validate(
|
|
131
|
-
{ body },
|
|
132
|
-
{ abortEarly: false, allowUnknown: true }
|
|
133
|
-
);
|
|
134
|
-
if (error) {
|
|
135
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
// Showing warrnings if extra unknown parameters are found
|
|
139
|
-
const {
|
|
140
|
-
error: warrning,
|
|
141
|
-
} = LeadApplicationValidator.createTicket().validate(
|
|
142
|
-
{ body },
|
|
143
|
-
{ abortEarly: false, allowUnknown: false }
|
|
144
|
-
);
|
|
145
|
-
if (warrning) {
|
|
146
|
-
Logger({
|
|
147
|
-
level: "WARN",
|
|
148
|
-
message: `Parameter Validation warrnings for application > Lead > createTicket \n ${warrning}`,
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
|
|
152
80
|
const query_params = {};
|
|
153
81
|
|
|
154
82
|
const xHeaders = {};
|
|
@@ -171,32 +99,13 @@ class Lead {
|
|
|
171
99
|
responseData = response[0];
|
|
172
100
|
}
|
|
173
101
|
|
|
174
|
-
const {
|
|
175
|
-
error: res_error,
|
|
176
|
-
} = LeadApplicationModel.Ticket().validate(responseData, {
|
|
177
|
-
abortEarly: false,
|
|
178
|
-
allowUnknown: true,
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
if (res_error) {
|
|
182
|
-
if (this._conf.options.strictResponseCheck === true) {
|
|
183
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
184
|
-
} else {
|
|
185
|
-
Logger({
|
|
186
|
-
level: "WARN",
|
|
187
|
-
message: `Response Validation Warnings for application > Lead > createTicket \n ${res_error}`,
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
102
|
return response;
|
|
193
103
|
}
|
|
194
104
|
|
|
195
105
|
/**
|
|
196
|
-
* @param {LeadApplicationValidator.GetCustomFormParam} arg - Arg object.
|
|
197
106
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
198
107
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
199
|
-
* @returns {Promise<
|
|
108
|
+
* @returns {Promise<CustomForm>} - Success response
|
|
200
109
|
* @name getCustomForm
|
|
201
110
|
* @summary: Get custom form
|
|
202
111
|
* @description: Get a customizable form template for data collection. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getCustomForm/).
|
|
@@ -205,28 +114,6 @@ class Lead {
|
|
|
205
114
|
{ slug, requestHeaders } = { requestHeaders: {} },
|
|
206
115
|
{ responseHeaders } = { responseHeaders: false }
|
|
207
116
|
) {
|
|
208
|
-
const { error } = LeadApplicationValidator.getCustomForm().validate(
|
|
209
|
-
{ slug },
|
|
210
|
-
{ abortEarly: false, allowUnknown: true }
|
|
211
|
-
);
|
|
212
|
-
if (error) {
|
|
213
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
// Showing warrnings if extra unknown parameters are found
|
|
217
|
-
const {
|
|
218
|
-
error: warrning,
|
|
219
|
-
} = LeadApplicationValidator.getCustomForm().validate(
|
|
220
|
-
{ slug },
|
|
221
|
-
{ abortEarly: false, allowUnknown: false }
|
|
222
|
-
);
|
|
223
|
-
if (warrning) {
|
|
224
|
-
Logger({
|
|
225
|
-
level: "WARN",
|
|
226
|
-
message: `Parameter Validation warrnings for application > Lead > getCustomForm \n ${warrning}`,
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
|
|
230
117
|
const query_params = {};
|
|
231
118
|
|
|
232
119
|
const xHeaders = {};
|
|
@@ -249,32 +136,13 @@ class Lead {
|
|
|
249
136
|
responseData = response[0];
|
|
250
137
|
}
|
|
251
138
|
|
|
252
|
-
const {
|
|
253
|
-
error: res_error,
|
|
254
|
-
} = LeadApplicationModel.CustomForm().validate(responseData, {
|
|
255
|
-
abortEarly: false,
|
|
256
|
-
allowUnknown: true,
|
|
257
|
-
});
|
|
258
|
-
|
|
259
|
-
if (res_error) {
|
|
260
|
-
if (this._conf.options.strictResponseCheck === true) {
|
|
261
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
262
|
-
} else {
|
|
263
|
-
Logger({
|
|
264
|
-
level: "WARN",
|
|
265
|
-
message: `Response Validation Warnings for application > Lead > getCustomForm \n ${res_error}`,
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
139
|
return response;
|
|
271
140
|
}
|
|
272
141
|
|
|
273
142
|
/**
|
|
274
|
-
* @param {LeadApplicationValidator.GetTicketParam} arg - Arg object.
|
|
275
143
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
276
144
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
277
|
-
* @returns {Promise<
|
|
145
|
+
* @returns {Promise<Ticket>} - Success response
|
|
278
146
|
* @name getTicket
|
|
279
147
|
* @summary: Get a support ticket
|
|
280
148
|
* @description: Get details of a specific customer support ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/getTicket/).
|
|
@@ -283,26 +151,6 @@ class Lead {
|
|
|
283
151
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
284
152
|
{ responseHeaders } = { responseHeaders: false }
|
|
285
153
|
) {
|
|
286
|
-
const { error } = LeadApplicationValidator.getTicket().validate(
|
|
287
|
-
{ id },
|
|
288
|
-
{ abortEarly: false, allowUnknown: true }
|
|
289
|
-
);
|
|
290
|
-
if (error) {
|
|
291
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
// Showing warrnings if extra unknown parameters are found
|
|
295
|
-
const { error: warrning } = LeadApplicationValidator.getTicket().validate(
|
|
296
|
-
{ id },
|
|
297
|
-
{ abortEarly: false, allowUnknown: false }
|
|
298
|
-
);
|
|
299
|
-
if (warrning) {
|
|
300
|
-
Logger({
|
|
301
|
-
level: "WARN",
|
|
302
|
-
message: `Parameter Validation warrnings for application > Lead > getTicket \n ${warrning}`,
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
|
|
306
154
|
const query_params = {};
|
|
307
155
|
|
|
308
156
|
const xHeaders = {};
|
|
@@ -325,33 +173,13 @@ class Lead {
|
|
|
325
173
|
responseData = response[0];
|
|
326
174
|
}
|
|
327
175
|
|
|
328
|
-
const {
|
|
329
|
-
error: res_error,
|
|
330
|
-
} = LeadApplicationModel.Ticket().validate(responseData, {
|
|
331
|
-
abortEarly: false,
|
|
332
|
-
allowUnknown: true,
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
if (res_error) {
|
|
336
|
-
if (this._conf.options.strictResponseCheck === true) {
|
|
337
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
338
|
-
} else {
|
|
339
|
-
Logger({
|
|
340
|
-
level: "WARN",
|
|
341
|
-
message: `Response Validation Warnings for application > Lead > getTicket \n ${res_error}`,
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
176
|
return response;
|
|
347
177
|
}
|
|
348
178
|
|
|
349
179
|
/**
|
|
350
|
-
* @param {LeadApplicationValidator.SubmitCustomFormParam} arg - Arg object.
|
|
351
180
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
352
181
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
353
|
-
* @returns {Promise<
|
|
354
|
-
* Success response
|
|
182
|
+
* @returns {Promise<SubmitCustomFormDetails>} - Success response
|
|
355
183
|
* @name submitCustomForm
|
|
356
184
|
* @summary: Submits form data
|
|
357
185
|
* @description: Create user-entered data from a custom form for processing. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/lead/submitCustomForm/).
|
|
@@ -360,28 +188,6 @@ class Lead {
|
|
|
360
188
|
{ slug, body, requestHeaders } = { requestHeaders: {} },
|
|
361
189
|
{ responseHeaders } = { responseHeaders: false }
|
|
362
190
|
) {
|
|
363
|
-
const { error } = LeadApplicationValidator.submitCustomForm().validate(
|
|
364
|
-
{ slug, body },
|
|
365
|
-
{ abortEarly: false, allowUnknown: true }
|
|
366
|
-
);
|
|
367
|
-
if (error) {
|
|
368
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
// Showing warrnings if extra unknown parameters are found
|
|
372
|
-
const {
|
|
373
|
-
error: warrning,
|
|
374
|
-
} = LeadApplicationValidator.submitCustomForm().validate(
|
|
375
|
-
{ slug, body },
|
|
376
|
-
{ abortEarly: false, allowUnknown: false }
|
|
377
|
-
);
|
|
378
|
-
if (warrning) {
|
|
379
|
-
Logger({
|
|
380
|
-
level: "WARN",
|
|
381
|
-
message: `Parameter Validation warrnings for application > Lead > submitCustomForm \n ${warrning}`,
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
|
|
385
191
|
const query_params = {};
|
|
386
192
|
|
|
387
193
|
const xHeaders = {};
|
|
@@ -404,24 +210,6 @@ class Lead {
|
|
|
404
210
|
responseData = response[0];
|
|
405
211
|
}
|
|
406
212
|
|
|
407
|
-
const {
|
|
408
|
-
error: res_error,
|
|
409
|
-
} = LeadApplicationModel.SubmitCustomFormResponse().validate(responseData, {
|
|
410
|
-
abortEarly: false,
|
|
411
|
-
allowUnknown: true,
|
|
412
|
-
});
|
|
413
|
-
|
|
414
|
-
if (res_error) {
|
|
415
|
-
if (this._conf.options.strictResponseCheck === true) {
|
|
416
|
-
return Promise.reject(new FDKResponseValidationError(res_error));
|
|
417
|
-
} else {
|
|
418
|
-
Logger({
|
|
419
|
-
level: "WARN",
|
|
420
|
-
message: `Response Validation Warnings for application > Lead > submitCustomForm \n ${res_error}`,
|
|
421
|
-
});
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
213
|
return response;
|
|
426
214
|
}
|
|
427
215
|
}
|
|
@@ -6,6 +6,8 @@ declare class Logistic {
|
|
|
6
6
|
getAllCountries: string;
|
|
7
7
|
getCountries: string;
|
|
8
8
|
getCountry: string;
|
|
9
|
+
getCourierPartners: string;
|
|
10
|
+
getDeliveryPromise: string;
|
|
9
11
|
getLocalities: string;
|
|
10
12
|
getLocality: string;
|
|
11
13
|
getLocations: string;
|
|
@@ -18,119 +20,120 @@ declare class Logistic {
|
|
|
18
20
|
_urls: {};
|
|
19
21
|
updateUrls(urls: any): void;
|
|
20
22
|
/**
|
|
21
|
-
* @param {LogisticApplicationValidator.GetAllCountriesParam} arg - Arg object.
|
|
22
23
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
23
24
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
24
|
-
* @returns {Promise<
|
|
25
|
+
* @returns {Promise<CountryListResult>} - Success response
|
|
25
26
|
* @name getAllCountries
|
|
26
27
|
* @summary: Get deliverable countries
|
|
27
28
|
* @description: Get a list of countries within the specified delivery zones for that application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getAllCountries/).
|
|
28
29
|
*/
|
|
29
|
-
getAllCountries({ requestHeaders }?:
|
|
30
|
+
getAllCountries({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CountryListResult>;
|
|
30
31
|
/**
|
|
31
|
-
* @param {LogisticApplicationValidator.GetCountriesParam} arg - Arg object.
|
|
32
32
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
33
33
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
34
|
-
* @returns {Promise<
|
|
34
|
+
* @returns {Promise<GetCountries>} - Success response
|
|
35
35
|
* @name getCountries
|
|
36
36
|
* @summary: Get countries
|
|
37
37
|
* @description: List of supported countries. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountries/).
|
|
38
38
|
*/
|
|
39
|
-
getCountries({ onboarding, pageNo, pageSize, q, requestHeaders }?:
|
|
39
|
+
getCountries({ onboarding, pageNo, pageSize, q, hierarchy, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCountries>;
|
|
40
40
|
/**
|
|
41
|
-
* @param {LogisticApplicationValidator.GetCountryParam} arg - Arg object.
|
|
42
41
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
43
42
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
44
|
-
* @returns {Promise<
|
|
43
|
+
* @returns {Promise<GetCountry>} - Success response
|
|
45
44
|
* @name getCountry
|
|
46
45
|
* @summary: Get country details
|
|
47
46
|
* @description: Get details about a particular country and its address format customized for different business scenarios. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCountry/).
|
|
48
47
|
*/
|
|
49
|
-
getCountry({ countryIsoCode, requestHeaders }?:
|
|
48
|
+
getCountry({ countryIsoCode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetCountry>;
|
|
50
49
|
/**
|
|
51
|
-
* @param {LogisticApplicationValidator.GetLocalitiesParam} arg - Arg object.
|
|
52
50
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
53
51
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
54
|
-
* @returns {Promise<
|
|
52
|
+
* @returns {Promise<ShipmentCourierPartnerResult>} - Success response
|
|
53
|
+
* @name getCourierPartners
|
|
54
|
+
* @summary: Serviceable Courier Partners.
|
|
55
|
+
* @description: Get all the serviceable courier partners of a destination and the shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getCourierPartners/).
|
|
56
|
+
*/
|
|
57
|
+
getCourierPartners({ companyId, applicationId, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ShipmentCourierPartnerResult>;
|
|
58
|
+
/**
|
|
59
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
60
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
61
|
+
* @returns {Promise<GetPromiseDetails>} - Success response
|
|
62
|
+
* @name getDeliveryPromise
|
|
63
|
+
* @summary: Get delivery promise
|
|
64
|
+
* @description: Get delivery promises for both global and store levels based on a specific locality type. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getDeliveryPromise/).
|
|
65
|
+
*/
|
|
66
|
+
getDeliveryPromise({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetPromiseDetails>;
|
|
67
|
+
/**
|
|
68
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
69
|
+
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
70
|
+
* @returns {Promise<GetLocalities>} - Success response
|
|
55
71
|
* @name getLocalities
|
|
56
72
|
* @summary: Get localities
|
|
57
73
|
* @description: Get geographical data for a specific type of locality based on the provided filters. For instance, obtain a list of cities for a given country and state. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocalities/).
|
|
58
74
|
*/
|
|
59
|
-
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?:
|
|
75
|
+
getLocalities({ localityType, country, state, city, pageNo, pageSize, q, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetLocalities>;
|
|
60
76
|
/**
|
|
61
|
-
* @param {LogisticApplicationValidator.GetLocalityParam} arg - Arg object.
|
|
62
77
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
63
78
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
64
|
-
* @returns {Promise<
|
|
79
|
+
* @returns {Promise<GetLocality>} - Success response
|
|
65
80
|
* @name getLocality
|
|
66
81
|
* @summary: Get locality detail
|
|
67
82
|
* @description: Get detailed geographical data for a specific locality, such as a pincode. For example, for a pincode value of 400603, the service returns its parent locations, including city, state, and country details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocality/).
|
|
68
83
|
*/
|
|
69
|
-
getLocality({ localityType, localityValue, country, state, city, requestHeaders }?:
|
|
84
|
+
getLocality({ localityType, localityValue, country, state, city, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetLocality>;
|
|
70
85
|
/**
|
|
71
|
-
* @param {LogisticApplicationValidator.GetLocationsParam} arg - Arg object.
|
|
72
86
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
73
87
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
74
|
-
* @returns {Promise<
|
|
88
|
+
* @returns {Promise<GetStoreResult>} - Success response
|
|
75
89
|
* @name getLocations
|
|
76
90
|
* @summary: Get available selling locations
|
|
77
91
|
* @description: Get stores available for the application based on Delivery Zones and Order Orchestration rules. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getLocations/).
|
|
78
92
|
*/
|
|
79
|
-
getLocations({ xApplicationId, xApplicationData, country, state, city, pincode, sector, pageNo, pageSize, requestHeaders, }?:
|
|
93
|
+
getLocations({ xApplicationId, xApplicationData, country, state, city, pincode, sector, pageNo, pageSize, requestHeaders, }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetStoreResult>;
|
|
80
94
|
/**
|
|
81
|
-
* @param {LogisticApplicationValidator.GetOptimalLocationsParam} arg - Arg object.
|
|
82
95
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
83
96
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
84
|
-
* @returns {Promise<
|
|
85
|
-
* Success response
|
|
97
|
+
* @returns {Promise<ReAssignStoreResult>} - Success response
|
|
86
98
|
* @name getOptimalLocations
|
|
87
99
|
* @summary: Get selling locations
|
|
88
100
|
* @description: Get optimal fulfillment centre for customers by analyzing their location, product availability, and inventory levels. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getOptimalLocations/).
|
|
89
101
|
*/
|
|
90
|
-
getOptimalLocations({ body, requestHeaders }?:
|
|
102
|
+
getOptimalLocations({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ReAssignStoreResult>;
|
|
91
103
|
/**
|
|
92
|
-
* @param {LogisticApplicationValidator.GetPincodeCityParam} arg - Arg object.
|
|
93
104
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
94
105
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
95
|
-
* @returns {Promise<
|
|
106
|
+
* @returns {Promise<PincodeDetails>} - Success response
|
|
96
107
|
* @name getPincodeCity
|
|
97
108
|
* @summary: Get pincode details
|
|
98
109
|
* @description: Get details of a specific pincode, such as obtaining its city and state information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeCity/).
|
|
99
110
|
*/
|
|
100
|
-
getPincodeCity({ pincode, requestHeaders }?:
|
|
111
|
+
getPincodeCity({ pincode, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PincodeDetails>;
|
|
101
112
|
/**
|
|
102
|
-
* @param {LogisticApplicationValidator.GetPincodeZonesParam} arg - Arg object.
|
|
103
113
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
104
114
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
105
|
-
* @returns {Promise<
|
|
106
|
-
* - Success response
|
|
107
|
-
*
|
|
115
|
+
* @returns {Promise<GetZoneFromPincodeViewResult>} - Success response
|
|
108
116
|
* @name getPincodeZones
|
|
109
117
|
* @summary: Get zones
|
|
110
118
|
* @description: Get the delivery zone associated with a given pincode. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getPincodeZones/).
|
|
111
119
|
*/
|
|
112
|
-
getPincodeZones({ body, requestHeaders }?:
|
|
120
|
+
getPincodeZones({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<GetZoneFromPincodeViewResult>;
|
|
113
121
|
/**
|
|
114
|
-
* @param {LogisticApplicationValidator.GetTatProductParam} arg - Arg object.
|
|
115
122
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
116
123
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
117
|
-
* @returns {Promise<
|
|
124
|
+
* @returns {Promise<TATViewResult>} - Success response
|
|
118
125
|
* @name getTatProduct
|
|
119
126
|
* @summary: Get product's turnaround time
|
|
120
127
|
* @description: Get the estimated delivery time frame for a specific product from a designated store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/getTatProduct/).
|
|
121
128
|
*/
|
|
122
|
-
getTatProduct({ body, requestHeaders }?:
|
|
129
|
+
getTatProduct({ body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<TATViewResult>;
|
|
123
130
|
/**
|
|
124
|
-
* @param {LogisticApplicationValidator.ValidateAddressParam} arg - Arg object.
|
|
125
131
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
126
132
|
* @param {import("../ApplicationAPIClient").Options} - Options
|
|
127
|
-
* @returns {Promise<
|
|
128
|
-
* Success response
|
|
133
|
+
* @returns {Promise<ValidateAddressDetails>} - Success response
|
|
129
134
|
* @name validateAddress
|
|
130
135
|
* @summary: Validate address
|
|
131
136
|
* @description: Validate addresses using specific templates customized for each country and tailored to various business scenarios. This validation ensures that the data conforms to the information currently stored in the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/logistic/validateAddress/).
|
|
132
137
|
*/
|
|
133
|
-
validateAddress({ countryIsoCode, templateName, body, requestHeaders }?:
|
|
138
|
+
validateAddress({ countryIsoCode, templateName, body, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<ValidateAddressDetails>;
|
|
134
139
|
}
|
|
135
|
-
import LogisticApplicationModel = require("./LogisticApplicationModel");
|
|
136
|
-
import LogisticApplicationValidator = require("./LogisticApplicationValidator");
|