@gofynd/fdk-client-javascript 1.0.1 → 1.0.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/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +562 -1270
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +15266 -17619
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3509 -4121
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3750 -5636
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +1058 -547
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +76 -36
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +581 -213
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
- package/sdk/application/Content/ContentApplicationModel.js +468 -875
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +230 -96
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
- package/sdk/application/Order/OrderApplicationClient.js +448 -215
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +357 -661
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
- package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +221 -96
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +1201 -543
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
- package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
- package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
- package/sdk/platform/Common/CommonPlatformClient.js +80 -37
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
- package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
- package/sdk/platform/Content/ContentPlatformModel.js +486 -867
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
- package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
- package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
- package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
- package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
- package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
- package/sdk/platform/PlatformApplicationClient.js +1584 -13691
- package/sdk/platform/PlatformClient.d.ts +7918 -7666
- package/sdk/platform/PlatformClient.js +8701 -9926
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
- package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
- package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
- package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export = LeadValidator;
|
|
2
2
|
declare class LeadValidator {
|
|
3
|
-
static getTicket(): any;
|
|
4
3
|
static createHistory(): any;
|
|
5
4
|
static createTicket(): any;
|
|
6
5
|
static getCustomForm(): any;
|
|
7
|
-
static submitCustomForm(): any;
|
|
8
6
|
static getParticipantsInsideVideoRoom(): any;
|
|
7
|
+
static getTicket(): any;
|
|
9
8
|
static getTokenForVideoRoom(): any;
|
|
9
|
+
static submitCustomForm(): any;
|
|
10
10
|
}
|
|
@@ -2,12 +2,6 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
const LeadModel = require("./LeadApplicationModel");
|
|
4
4
|
class LeadValidator {
|
|
5
|
-
static getTicket() {
|
|
6
|
-
return Joi.object({
|
|
7
|
-
id: Joi.string().allow("").required(),
|
|
8
|
-
}).required();
|
|
9
|
-
}
|
|
10
|
-
|
|
11
5
|
static createHistory() {
|
|
12
6
|
return Joi.object({
|
|
13
7
|
id: Joi.string().allow("").required(),
|
|
@@ -27,16 +21,15 @@ class LeadValidator {
|
|
|
27
21
|
}).required();
|
|
28
22
|
}
|
|
29
23
|
|
|
30
|
-
static
|
|
24
|
+
static getParticipantsInsideVideoRoom() {
|
|
31
25
|
return Joi.object({
|
|
32
|
-
|
|
33
|
-
body: LeadModel.CustomFormSubmissionPayload().required(),
|
|
26
|
+
uniqueName: Joi.string().allow("").required(),
|
|
34
27
|
}).required();
|
|
35
28
|
}
|
|
36
29
|
|
|
37
|
-
static
|
|
30
|
+
static getTicket() {
|
|
38
31
|
return Joi.object({
|
|
39
|
-
|
|
32
|
+
id: Joi.string().allow("").required(),
|
|
40
33
|
}).required();
|
|
41
34
|
}
|
|
42
35
|
|
|
@@ -45,6 +38,13 @@ class LeadValidator {
|
|
|
45
38
|
uniqueName: Joi.string().allow("").required(),
|
|
46
39
|
}).required();
|
|
47
40
|
}
|
|
41
|
+
|
|
42
|
+
static submitCustomForm() {
|
|
43
|
+
return Joi.object({
|
|
44
|
+
slug: Joi.string().allow("").required(),
|
|
45
|
+
body: LeadModel.CustomFormSubmissionPayload().required(),
|
|
46
|
+
}).required();
|
|
47
|
+
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
module.exports = LeadValidator;
|
|
@@ -3,13 +3,31 @@ declare class Logistic {
|
|
|
3
3
|
constructor(_conf: any);
|
|
4
4
|
_conf: any;
|
|
5
5
|
_relativeUrls: {
|
|
6
|
-
getPincodeCity: string;
|
|
7
|
-
getTatProduct: string;
|
|
8
6
|
getAllCountries: string;
|
|
7
|
+
getOptimalLocations: string;
|
|
8
|
+
getPincodeCity: string;
|
|
9
9
|
getPincodeZones: string;
|
|
10
|
+
getTatProduct: string;
|
|
10
11
|
};
|
|
11
12
|
_urls: {};
|
|
12
13
|
updateUrls(urls: any): void;
|
|
14
|
+
/**
|
|
15
|
+
* @param {Object} arg - Arg object.
|
|
16
|
+
* @returns {Promise<CountryListResponse>} - Success response
|
|
17
|
+
* @summary: Get Country List
|
|
18
|
+
* @description: Get all countries
|
|
19
|
+
*/
|
|
20
|
+
getAllCountries({}?: any): Promise<CountryListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* @param {Object} arg - Arg object.
|
|
23
|
+
* @param {ReAssignStoreRequest} arg.body
|
|
24
|
+
* @returns {Promise<ReAssignStoreResponse>} - Success response
|
|
25
|
+
* @summary: GET zone from the Pincode.
|
|
26
|
+
* @description: This API returns zone from the Pincode View.
|
|
27
|
+
*/
|
|
28
|
+
getOptimalLocations({ body }?: {
|
|
29
|
+
body: ReAssignStoreRequest;
|
|
30
|
+
}): Promise<ReAssignStoreResponse>;
|
|
13
31
|
/**
|
|
14
32
|
* @param {Object} arg - Arg object.
|
|
15
33
|
* @param {string} arg.pincode - A `pincode` contains a specific address of
|
|
@@ -23,23 +41,6 @@ declare class Logistic {
|
|
|
23
41
|
pincode: string;
|
|
24
42
|
countryCode?: string;
|
|
25
43
|
}): Promise<PincodeApiResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* @param {Object} arg - Arg object.
|
|
28
|
-
* @param {TATViewRequest} arg.body
|
|
29
|
-
* @returns {Promise<TATViewResponse>} - Success response
|
|
30
|
-
* @summary: Get TAT API
|
|
31
|
-
* @description: Get TAT data
|
|
32
|
-
*/
|
|
33
|
-
getTatProduct({ body }?: {
|
|
34
|
-
body: TATViewRequest;
|
|
35
|
-
}): Promise<TATViewResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* @param {Object} arg - Arg object.
|
|
38
|
-
* @returns {Promise<CountryListResponse>} - Success response
|
|
39
|
-
* @summary: Get Country List
|
|
40
|
-
* @description: Get all countries
|
|
41
|
-
*/
|
|
42
|
-
getAllCountries({}?: any): Promise<CountryListResponse>;
|
|
43
44
|
/**
|
|
44
45
|
* @param {Object} arg - Arg object.
|
|
45
46
|
* @param {GetZoneFromPincodeViewRequest} arg.body
|
|
@@ -50,4 +51,14 @@ declare class Logistic {
|
|
|
50
51
|
getPincodeZones({ body }?: {
|
|
51
52
|
body: GetZoneFromPincodeViewRequest;
|
|
52
53
|
}): Promise<GetZoneFromPincodeViewResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* @param {Object} arg - Arg object.
|
|
56
|
+
* @param {TATViewRequest} arg.body
|
|
57
|
+
* @returns {Promise<TATViewResponse>} - Success response
|
|
58
|
+
* @summary: Get TAT API
|
|
59
|
+
* @description: Get TAT data
|
|
60
|
+
*/
|
|
61
|
+
getTatProduct({ body }?: {
|
|
62
|
+
body: TATViewRequest;
|
|
63
|
+
}): Promise<TATViewResponse>;
|
|
53
64
|
}
|
|
@@ -3,15 +3,19 @@ const constructUrl = require("../constructUrl");
|
|
|
3
3
|
const Paginator = require("../../common/Paginator");
|
|
4
4
|
const { FDKClientValidationError } = require("../../common/FDKError");
|
|
5
5
|
const LogisticValidator = require("./LogisticApplicationValidator");
|
|
6
|
+
const LogisticModel = require("./LogisticApplicationModel");
|
|
7
|
+
const { Logger } = require("./../../common/Logger");
|
|
6
8
|
|
|
7
9
|
class Logistic {
|
|
8
10
|
constructor(_conf) {
|
|
9
11
|
this._conf = _conf;
|
|
10
12
|
this._relativeUrls = {
|
|
11
|
-
getPincodeCity: "/service/application/logistics/v1.0/pincode/{pincode}",
|
|
12
|
-
getTatProduct: "/service/application/logistics/v1.0/",
|
|
13
13
|
getAllCountries: "/service/application/logistics/v1.0/country-list",
|
|
14
|
+
getOptimalLocations:
|
|
15
|
+
"/service/application/logistics/v1.0/reassign_stores",
|
|
16
|
+
getPincodeCity: "/service/application/logistics/v1.0/pincode/{pincode}",
|
|
14
17
|
getPincodeZones: "/service/application/logistics/v1.0/pincode/zones",
|
|
18
|
+
getTatProduct: "/service/application/logistics/v1.0/",
|
|
15
19
|
};
|
|
16
20
|
this._urls = Object.entries(this._relativeUrls).reduce(
|
|
17
21
|
(urls, [method, relativeUrl]) => {
|
|
@@ -31,16 +35,13 @@ class Logistic {
|
|
|
31
35
|
|
|
32
36
|
/**
|
|
33
37
|
* @param {Object} arg - Arg object.
|
|
34
|
-
* @
|
|
35
|
-
*
|
|
36
|
-
* @
|
|
37
|
-
* @returns {Promise<PincodeApiResponse>} - Success response
|
|
38
|
-
* @summary: Get Pincode API
|
|
39
|
-
* @description: Get pincode data
|
|
38
|
+
* @returns {Promise<CountryListResponse>} - Success response
|
|
39
|
+
* @summary: Get Country List
|
|
40
|
+
* @description: Get all countries
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
-
const { error } = LogisticValidator.
|
|
43
|
-
{
|
|
42
|
+
async getAllCountries({} = {}) {
|
|
43
|
+
const { error } = LogisticValidator.getAllCountries().validate(
|
|
44
|
+
{},
|
|
44
45
|
{ abortEarly: false, allowUnknown: true }
|
|
45
46
|
);
|
|
46
47
|
if (error) {
|
|
@@ -48,42 +49,61 @@ class Logistic {
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
// Showing warrnings if extra unknown parameters are found
|
|
51
|
-
const { error: warrning } = LogisticValidator.
|
|
52
|
-
{
|
|
52
|
+
const { error: warrning } = LogisticValidator.getAllCountries().validate(
|
|
53
|
+
{},
|
|
53
54
|
{ abortEarly: false, allowUnknown: false }
|
|
54
55
|
);
|
|
55
56
|
if (warrning) {
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
Logger({
|
|
58
|
+
level: "WARN",
|
|
59
|
+
message: "Parameter Validation warrnings for getAllCountries",
|
|
60
|
+
});
|
|
61
|
+
Logger({ level: "WARN", message: warrning });
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
const query_params = {};
|
|
61
|
-
query_params["country_code"] = countryCode;
|
|
62
65
|
|
|
63
66
|
const xHeaders = {};
|
|
64
67
|
|
|
65
|
-
|
|
68
|
+
const response = await APIClient.execute(
|
|
66
69
|
this._conf,
|
|
67
70
|
"get",
|
|
68
71
|
constructUrl({
|
|
69
|
-
url: this._urls["
|
|
70
|
-
params: {
|
|
72
|
+
url: this._urls["getAllCountries"],
|
|
73
|
+
params: {},
|
|
71
74
|
}),
|
|
72
75
|
query_params,
|
|
73
76
|
undefined,
|
|
74
77
|
xHeaders
|
|
75
78
|
);
|
|
79
|
+
|
|
80
|
+
const {
|
|
81
|
+
error: res_error,
|
|
82
|
+
} = LogisticModel.CountryListResponse().validate(response, {
|
|
83
|
+
abortEarly: false,
|
|
84
|
+
allowUnknown: false,
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
if (res_error) {
|
|
88
|
+
Logger({
|
|
89
|
+
level: "WARN",
|
|
90
|
+
message: "Response Validation Warnnings for getAllCountries",
|
|
91
|
+
});
|
|
92
|
+
Logger({ level: "WARN", message: res_error });
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return response;
|
|
76
96
|
}
|
|
77
97
|
|
|
78
98
|
/**
|
|
79
99
|
* @param {Object} arg - Arg object.
|
|
80
|
-
* @param {
|
|
81
|
-
* @returns {Promise<
|
|
82
|
-
* @summary:
|
|
83
|
-
* @description:
|
|
100
|
+
* @param {ReAssignStoreRequest} arg.body
|
|
101
|
+
* @returns {Promise<ReAssignStoreResponse>} - Success response
|
|
102
|
+
* @summary: GET zone from the Pincode.
|
|
103
|
+
* @description: This API returns zone from the Pincode View.
|
|
84
104
|
*/
|
|
85
|
-
|
|
86
|
-
const { error } = LogisticValidator.
|
|
105
|
+
async getOptimalLocations({ body } = {}) {
|
|
106
|
+
const { error } = LogisticValidator.getOptimalLocations().validate(
|
|
87
107
|
{ body },
|
|
88
108
|
{ abortEarly: false, allowUnknown: true }
|
|
89
109
|
);
|
|
@@ -92,41 +112,66 @@ class Logistic {
|
|
|
92
112
|
}
|
|
93
113
|
|
|
94
114
|
// Showing warrnings if extra unknown parameters are found
|
|
95
|
-
const {
|
|
115
|
+
const {
|
|
116
|
+
error: warrning,
|
|
117
|
+
} = LogisticValidator.getOptimalLocations().validate(
|
|
96
118
|
{ body },
|
|
97
119
|
{ abortEarly: false, allowUnknown: false }
|
|
98
120
|
);
|
|
99
121
|
if (warrning) {
|
|
100
|
-
|
|
101
|
-
|
|
122
|
+
Logger({
|
|
123
|
+
level: "WARN",
|
|
124
|
+
message: "Parameter Validation warrnings for getOptimalLocations",
|
|
125
|
+
});
|
|
126
|
+
Logger({ level: "WARN", message: warrning });
|
|
102
127
|
}
|
|
103
128
|
|
|
104
129
|
const query_params = {};
|
|
105
130
|
|
|
106
131
|
const xHeaders = {};
|
|
107
132
|
|
|
108
|
-
|
|
133
|
+
const response = await APIClient.execute(
|
|
109
134
|
this._conf,
|
|
110
135
|
"post",
|
|
111
136
|
constructUrl({
|
|
112
|
-
url: this._urls["
|
|
137
|
+
url: this._urls["getOptimalLocations"],
|
|
113
138
|
params: {},
|
|
114
139
|
}),
|
|
115
140
|
query_params,
|
|
116
141
|
body,
|
|
117
142
|
xHeaders
|
|
118
143
|
);
|
|
144
|
+
|
|
145
|
+
const {
|
|
146
|
+
error: res_error,
|
|
147
|
+
} = LogisticModel.ReAssignStoreResponse().validate(response, {
|
|
148
|
+
abortEarly: false,
|
|
149
|
+
allowUnknown: false,
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
if (res_error) {
|
|
153
|
+
Logger({
|
|
154
|
+
level: "WARN",
|
|
155
|
+
message: "Response Validation Warnnings for getOptimalLocations",
|
|
156
|
+
});
|
|
157
|
+
Logger({ level: "WARN", message: res_error });
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return response;
|
|
119
161
|
}
|
|
120
162
|
|
|
121
163
|
/**
|
|
122
164
|
* @param {Object} arg - Arg object.
|
|
123
|
-
* @
|
|
124
|
-
*
|
|
125
|
-
* @
|
|
165
|
+
* @param {string} arg.pincode - A `pincode` contains a specific address of
|
|
166
|
+
* a location.
|
|
167
|
+
* @param {string} [arg.countryCode] - A 3 alphabetic country code
|
|
168
|
+
* @returns {Promise<PincodeApiResponse>} - Success response
|
|
169
|
+
* @summary: Get Pincode API
|
|
170
|
+
* @description: Get pincode data
|
|
126
171
|
*/
|
|
127
|
-
|
|
128
|
-
const { error } = LogisticValidator.
|
|
129
|
-
{},
|
|
172
|
+
async getPincodeCity({ pincode, countryCode } = {}) {
|
|
173
|
+
const { error } = LogisticValidator.getPincodeCity().validate(
|
|
174
|
+
{ pincode, countryCode },
|
|
130
175
|
{ abortEarly: false, allowUnknown: true }
|
|
131
176
|
);
|
|
132
177
|
if (error) {
|
|
@@ -134,30 +179,51 @@ class Logistic {
|
|
|
134
179
|
}
|
|
135
180
|
|
|
136
181
|
// Showing warrnings if extra unknown parameters are found
|
|
137
|
-
const { error: warrning } = LogisticValidator.
|
|
138
|
-
{},
|
|
182
|
+
const { error: warrning } = LogisticValidator.getPincodeCity().validate(
|
|
183
|
+
{ pincode, countryCode },
|
|
139
184
|
{ abortEarly: false, allowUnknown: false }
|
|
140
185
|
);
|
|
141
186
|
if (warrning) {
|
|
142
|
-
|
|
143
|
-
|
|
187
|
+
Logger({
|
|
188
|
+
level: "WARN",
|
|
189
|
+
message: "Parameter Validation warrnings for getPincodeCity",
|
|
190
|
+
});
|
|
191
|
+
Logger({ level: "WARN", message: warrning });
|
|
144
192
|
}
|
|
145
193
|
|
|
146
194
|
const query_params = {};
|
|
195
|
+
query_params["country_code"] = countryCode;
|
|
147
196
|
|
|
148
197
|
const xHeaders = {};
|
|
149
198
|
|
|
150
|
-
|
|
199
|
+
const response = await APIClient.execute(
|
|
151
200
|
this._conf,
|
|
152
201
|
"get",
|
|
153
202
|
constructUrl({
|
|
154
|
-
url: this._urls["
|
|
155
|
-
params: {},
|
|
203
|
+
url: this._urls["getPincodeCity"],
|
|
204
|
+
params: { pincode },
|
|
156
205
|
}),
|
|
157
206
|
query_params,
|
|
158
207
|
undefined,
|
|
159
208
|
xHeaders
|
|
160
209
|
);
|
|
210
|
+
|
|
211
|
+
const {
|
|
212
|
+
error: res_error,
|
|
213
|
+
} = LogisticModel.PincodeApiResponse().validate(response, {
|
|
214
|
+
abortEarly: false,
|
|
215
|
+
allowUnknown: false,
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
if (res_error) {
|
|
219
|
+
Logger({
|
|
220
|
+
level: "WARN",
|
|
221
|
+
message: "Response Validation Warnnings for getPincodeCity",
|
|
222
|
+
});
|
|
223
|
+
Logger({ level: "WARN", message: res_error });
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
return response;
|
|
161
227
|
}
|
|
162
228
|
|
|
163
229
|
/**
|
|
@@ -167,7 +233,7 @@ class Logistic {
|
|
|
167
233
|
* @summary: GET zone from the Pincode.
|
|
168
234
|
* @description: This API returns zone from the Pincode View.
|
|
169
235
|
*/
|
|
170
|
-
getPincodeZones({ body } = {}) {
|
|
236
|
+
async getPincodeZones({ body } = {}) {
|
|
171
237
|
const { error } = LogisticValidator.getPincodeZones().validate(
|
|
172
238
|
{ body },
|
|
173
239
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -182,15 +248,18 @@ class Logistic {
|
|
|
182
248
|
{ abortEarly: false, allowUnknown: false }
|
|
183
249
|
);
|
|
184
250
|
if (warrning) {
|
|
185
|
-
|
|
186
|
-
|
|
251
|
+
Logger({
|
|
252
|
+
level: "WARN",
|
|
253
|
+
message: "Parameter Validation warrnings for getPincodeZones",
|
|
254
|
+
});
|
|
255
|
+
Logger({ level: "WARN", message: warrning });
|
|
187
256
|
}
|
|
188
257
|
|
|
189
258
|
const query_params = {};
|
|
190
259
|
|
|
191
260
|
const xHeaders = {};
|
|
192
261
|
|
|
193
|
-
|
|
262
|
+
const response = await APIClient.execute(
|
|
194
263
|
this._conf,
|
|
195
264
|
"post",
|
|
196
265
|
constructUrl({
|
|
@@ -201,6 +270,86 @@ class Logistic {
|
|
|
201
270
|
body,
|
|
202
271
|
xHeaders
|
|
203
272
|
);
|
|
273
|
+
|
|
274
|
+
const {
|
|
275
|
+
error: res_error,
|
|
276
|
+
} = LogisticModel.GetZoneFromPincodeViewResponse().validate(response, {
|
|
277
|
+
abortEarly: false,
|
|
278
|
+
allowUnknown: false,
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
if (res_error) {
|
|
282
|
+
Logger({
|
|
283
|
+
level: "WARN",
|
|
284
|
+
message: "Response Validation Warnnings for getPincodeZones",
|
|
285
|
+
});
|
|
286
|
+
Logger({ level: "WARN", message: res_error });
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
return response;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @param {Object} arg - Arg object.
|
|
294
|
+
* @param {TATViewRequest} arg.body
|
|
295
|
+
* @returns {Promise<TATViewResponse>} - Success response
|
|
296
|
+
* @summary: Get TAT API
|
|
297
|
+
* @description: Get TAT data
|
|
298
|
+
*/
|
|
299
|
+
async getTatProduct({ body } = {}) {
|
|
300
|
+
const { error } = LogisticValidator.getTatProduct().validate(
|
|
301
|
+
{ body },
|
|
302
|
+
{ abortEarly: false, allowUnknown: true }
|
|
303
|
+
);
|
|
304
|
+
if (error) {
|
|
305
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Showing warrnings if extra unknown parameters are found
|
|
309
|
+
const { error: warrning } = LogisticValidator.getTatProduct().validate(
|
|
310
|
+
{ body },
|
|
311
|
+
{ abortEarly: false, allowUnknown: false }
|
|
312
|
+
);
|
|
313
|
+
if (warrning) {
|
|
314
|
+
Logger({
|
|
315
|
+
level: "WARN",
|
|
316
|
+
message: "Parameter Validation warrnings for getTatProduct",
|
|
317
|
+
});
|
|
318
|
+
Logger({ level: "WARN", message: warrning });
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
const query_params = {};
|
|
322
|
+
|
|
323
|
+
const xHeaders = {};
|
|
324
|
+
|
|
325
|
+
const response = await APIClient.execute(
|
|
326
|
+
this._conf,
|
|
327
|
+
"post",
|
|
328
|
+
constructUrl({
|
|
329
|
+
url: this._urls["getTatProduct"],
|
|
330
|
+
params: {},
|
|
331
|
+
}),
|
|
332
|
+
query_params,
|
|
333
|
+
body,
|
|
334
|
+
xHeaders
|
|
335
|
+
);
|
|
336
|
+
|
|
337
|
+
const {
|
|
338
|
+
error: res_error,
|
|
339
|
+
} = LogisticModel.TATViewResponse().validate(response, {
|
|
340
|
+
abortEarly: false,
|
|
341
|
+
allowUnknown: false,
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
if (res_error) {
|
|
345
|
+
Logger({
|
|
346
|
+
level: "WARN",
|
|
347
|
+
message: "Response Validation Warnnings for getTatProduct",
|
|
348
|
+
});
|
|
349
|
+
Logger({ level: "WARN", message: res_error });
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
return response;
|
|
204
353
|
}
|
|
205
354
|
}
|
|
206
355
|
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
export = LogisticModel;
|
|
2
2
|
declare class LogisticModel {
|
|
3
|
+
static CountryEntityResponse(): any;
|
|
4
|
+
static CountryListResponse(): any;
|
|
3
5
|
static CountryMetaResponse(): any;
|
|
6
|
+
static DP(): any;
|
|
7
|
+
static GetZoneFromPincodeViewRequest(): any;
|
|
8
|
+
static GetZoneFromPincodeViewResponse(): any;
|
|
9
|
+
static LogisticsResponse(): any;
|
|
10
|
+
static PincodeApiResponse(): any;
|
|
11
|
+
static PincodeDataResponse(): any;
|
|
4
12
|
static PincodeErrorSchemaResponse(): any;
|
|
13
|
+
static PincodeLatLongData(): any;
|
|
5
14
|
static PincodeMetaResponse(): any;
|
|
6
15
|
static PincodeParentsResponse(): any;
|
|
7
|
-
static
|
|
8
|
-
static
|
|
9
|
-
static TATCategoryRequest(): any;
|
|
16
|
+
static ReAssignStoreRequest(): any;
|
|
17
|
+
static ReAssignStoreResponse(): any;
|
|
10
18
|
static TATArticlesRequest(): any;
|
|
11
|
-
static
|
|
12
|
-
static
|
|
19
|
+
static TATArticlesResponse(): any;
|
|
20
|
+
static TATCategoryRequest(): any;
|
|
13
21
|
static TATErrorSchemaResponse(): any;
|
|
14
22
|
static TATFormattedResponse(): any;
|
|
15
|
-
static
|
|
16
|
-
static TATPromiseResponse(): any;
|
|
17
|
-
static TATArticlesResponse(): any;
|
|
23
|
+
static TATLocationDetailsRequest(): any;
|
|
18
24
|
static TATLocationDetailsResponse(): any;
|
|
25
|
+
static TATPromiseResponse(): any;
|
|
26
|
+
static TATTimestampResponse(): any;
|
|
27
|
+
static TATViewRequest(): any;
|
|
19
28
|
static TATViewResponse(): any;
|
|
20
|
-
static DP(): any;
|
|
21
|
-
static LogisticsResponse(): any;
|
|
22
|
-
static CountryEntityResponse(): any;
|
|
23
|
-
static CountryListResponse(): any;
|
|
24
|
-
static GetZoneFromPincodeViewRequest(): any;
|
|
25
|
-
static GetZoneFromPincodeViewResponse(): any;
|
|
26
29
|
}
|