@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
|
@@ -3,20 +3,22 @@ const constructUrl = require("../constructUrl");
|
|
|
3
3
|
const Paginator = require("../../common/Paginator");
|
|
4
4
|
const { FDKClientValidationError } = require("../../common/FDKError");
|
|
5
5
|
const LeadValidator = require("./LeadApplicationValidator");
|
|
6
|
+
const LeadModel = require("./LeadApplicationModel");
|
|
7
|
+
const { Logger } = require("./../../common/Logger");
|
|
6
8
|
|
|
7
9
|
class Lead {
|
|
8
10
|
constructor(_conf) {
|
|
9
11
|
this._conf = _conf;
|
|
10
12
|
this._relativeUrls = {
|
|
11
|
-
getTicket: "/service/application/lead/v1.0/ticket/{id}",
|
|
12
13
|
createHistory: "/service/application/lead/v1.0/ticket/{id}/history",
|
|
13
14
|
createTicket: "/service/application/lead/v1.0/ticket/",
|
|
14
15
|
getCustomForm: "/service/application/lead/v1.0/form/{slug}",
|
|
15
|
-
submitCustomForm: "/service/application/lead/v1.0/form/{slug}/submit",
|
|
16
16
|
getParticipantsInsideVideoRoom:
|
|
17
17
|
"/service/application/lead/v1.0/video/room/{unique_name}/participants",
|
|
18
|
+
getTicket: "/service/application/lead/v1.0/ticket/{id}",
|
|
18
19
|
getTokenForVideoRoom:
|
|
19
20
|
"/service/application/lead/v1.0/video/room/{unique_name}/token",
|
|
21
|
+
submitCustomForm: "/service/application/lead/v1.0/form/{slug}/submit",
|
|
20
22
|
};
|
|
21
23
|
this._urls = Object.entries(this._relativeUrls).reduce(
|
|
22
24
|
(urls, [method, relativeUrl]) => {
|
|
@@ -34,49 +36,6 @@ class Lead {
|
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
/**
|
|
38
|
-
* @param {Object} arg - Arg object.
|
|
39
|
-
* @param {string} arg.id - ID of ticket to be retrieved
|
|
40
|
-
* @returns {Promise<Ticket>} - Success response
|
|
41
|
-
* @summary: Get Ticket with the specific id
|
|
42
|
-
* @description: Get Ticket with the specific id, this is used to view the ticket details
|
|
43
|
-
*/
|
|
44
|
-
getTicket({ id } = {}) {
|
|
45
|
-
const { error } = LeadValidator.getTicket().validate(
|
|
46
|
-
{ id },
|
|
47
|
-
{ abortEarly: false, allowUnknown: true }
|
|
48
|
-
);
|
|
49
|
-
if (error) {
|
|
50
|
-
return Promise.reject(new FDKClientValidationError(error));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Showing warrnings if extra unknown parameters are found
|
|
54
|
-
const { error: warrning } = LeadValidator.getTicket().validate(
|
|
55
|
-
{ id },
|
|
56
|
-
{ abortEarly: false, allowUnknown: false }
|
|
57
|
-
);
|
|
58
|
-
if (warrning) {
|
|
59
|
-
console.log("Parameter Validation warrnings for getTicket");
|
|
60
|
-
console.log(warrning);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
const query_params = {};
|
|
64
|
-
|
|
65
|
-
const xHeaders = {};
|
|
66
|
-
|
|
67
|
-
return APIClient.execute(
|
|
68
|
-
this._conf,
|
|
69
|
-
"get",
|
|
70
|
-
constructUrl({
|
|
71
|
-
url: this._urls["getTicket"],
|
|
72
|
-
params: { id },
|
|
73
|
-
}),
|
|
74
|
-
query_params,
|
|
75
|
-
undefined,
|
|
76
|
-
xHeaders
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
39
|
/**
|
|
81
40
|
* @param {Object} arg - Arg object.
|
|
82
41
|
* @param {string} arg.id - Ticket ID for which history is created
|
|
@@ -85,7 +44,7 @@ class Lead {
|
|
|
85
44
|
* @summary: Create history for specific Ticket
|
|
86
45
|
* @description: Create history for specific Ticket, this history is seen on ticket detail page, this can be comment, log or rating.
|
|
87
46
|
*/
|
|
88
|
-
createHistory({ id, body } = {}) {
|
|
47
|
+
async createHistory({ id, body } = {}) {
|
|
89
48
|
const { error } = LeadValidator.createHistory().validate(
|
|
90
49
|
{ id, body },
|
|
91
50
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -100,15 +59,18 @@ class Lead {
|
|
|
100
59
|
{ abortEarly: false, allowUnknown: false }
|
|
101
60
|
);
|
|
102
61
|
if (warrning) {
|
|
103
|
-
|
|
104
|
-
|
|
62
|
+
Logger({
|
|
63
|
+
level: "WARN",
|
|
64
|
+
message: "Parameter Validation warrnings for createHistory",
|
|
65
|
+
});
|
|
66
|
+
Logger({ level: "WARN", message: warrning });
|
|
105
67
|
}
|
|
106
68
|
|
|
107
69
|
const query_params = {};
|
|
108
70
|
|
|
109
71
|
const xHeaders = {};
|
|
110
72
|
|
|
111
|
-
|
|
73
|
+
const response = await APIClient.execute(
|
|
112
74
|
this._conf,
|
|
113
75
|
"post",
|
|
114
76
|
constructUrl({
|
|
@@ -119,6 +81,21 @@ class Lead {
|
|
|
119
81
|
body,
|
|
120
82
|
xHeaders
|
|
121
83
|
);
|
|
84
|
+
|
|
85
|
+
const { error: res_error } = LeadModel.TicketHistory().validate(response, {
|
|
86
|
+
abortEarly: false,
|
|
87
|
+
allowUnknown: false,
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
if (res_error) {
|
|
91
|
+
Logger({
|
|
92
|
+
level: "WARN",
|
|
93
|
+
message: "Response Validation Warnnings for createHistory",
|
|
94
|
+
});
|
|
95
|
+
Logger({ level: "WARN", message: res_error });
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return response;
|
|
122
99
|
}
|
|
123
100
|
|
|
124
101
|
/**
|
|
@@ -128,7 +105,7 @@ class Lead {
|
|
|
128
105
|
* @summary: Create Ticket
|
|
129
106
|
* @description: This is used to Create Ticket.
|
|
130
107
|
*/
|
|
131
|
-
createTicket({ body } = {}) {
|
|
108
|
+
async createTicket({ body } = {}) {
|
|
132
109
|
const { error } = LeadValidator.createTicket().validate(
|
|
133
110
|
{ body },
|
|
134
111
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -143,15 +120,18 @@ class Lead {
|
|
|
143
120
|
{ abortEarly: false, allowUnknown: false }
|
|
144
121
|
);
|
|
145
122
|
if (warrning) {
|
|
146
|
-
|
|
147
|
-
|
|
123
|
+
Logger({
|
|
124
|
+
level: "WARN",
|
|
125
|
+
message: "Parameter Validation warrnings for createTicket",
|
|
126
|
+
});
|
|
127
|
+
Logger({ level: "WARN", message: warrning });
|
|
148
128
|
}
|
|
149
129
|
|
|
150
130
|
const query_params = {};
|
|
151
131
|
|
|
152
132
|
const xHeaders = {};
|
|
153
133
|
|
|
154
|
-
|
|
134
|
+
const response = await APIClient.execute(
|
|
155
135
|
this._conf,
|
|
156
136
|
"post",
|
|
157
137
|
constructUrl({
|
|
@@ -162,6 +142,21 @@ class Lead {
|
|
|
162
142
|
body,
|
|
163
143
|
xHeaders
|
|
164
144
|
);
|
|
145
|
+
|
|
146
|
+
const { error: res_error } = LeadModel.Ticket().validate(response, {
|
|
147
|
+
abortEarly: false,
|
|
148
|
+
allowUnknown: false,
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
if (res_error) {
|
|
152
|
+
Logger({
|
|
153
|
+
level: "WARN",
|
|
154
|
+
message: "Response Validation Warnnings for createTicket",
|
|
155
|
+
});
|
|
156
|
+
Logger({ level: "WARN", message: res_error });
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
return response;
|
|
165
160
|
}
|
|
166
161
|
|
|
167
162
|
/**
|
|
@@ -171,7 +166,7 @@ class Lead {
|
|
|
171
166
|
* @summary: Get specific Custom Form using it's slug
|
|
172
167
|
* @description: Get specific Custom Form using it's slug, this is used to view the form.
|
|
173
168
|
*/
|
|
174
|
-
getCustomForm({ slug } = {}) {
|
|
169
|
+
async getCustomForm({ slug } = {}) {
|
|
175
170
|
const { error } = LeadValidator.getCustomForm().validate(
|
|
176
171
|
{ slug },
|
|
177
172
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -186,15 +181,18 @@ class Lead {
|
|
|
186
181
|
{ abortEarly: false, allowUnknown: false }
|
|
187
182
|
);
|
|
188
183
|
if (warrning) {
|
|
189
|
-
|
|
190
|
-
|
|
184
|
+
Logger({
|
|
185
|
+
level: "WARN",
|
|
186
|
+
message: "Parameter Validation warrnings for getCustomForm",
|
|
187
|
+
});
|
|
188
|
+
Logger({ level: "WARN", message: warrning });
|
|
191
189
|
}
|
|
192
190
|
|
|
193
191
|
const query_params = {};
|
|
194
192
|
|
|
195
193
|
const xHeaders = {};
|
|
196
194
|
|
|
197
|
-
|
|
195
|
+
const response = await APIClient.execute(
|
|
198
196
|
this._conf,
|
|
199
197
|
"get",
|
|
200
198
|
constructUrl({
|
|
@@ -205,19 +203,33 @@ class Lead {
|
|
|
205
203
|
undefined,
|
|
206
204
|
xHeaders
|
|
207
205
|
);
|
|
206
|
+
|
|
207
|
+
const { error: res_error } = LeadModel.CustomForm().validate(response, {
|
|
208
|
+
abortEarly: false,
|
|
209
|
+
allowUnknown: false,
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
if (res_error) {
|
|
213
|
+
Logger({
|
|
214
|
+
level: "WARN",
|
|
215
|
+
message: "Response Validation Warnnings for getCustomForm",
|
|
216
|
+
});
|
|
217
|
+
Logger({ level: "WARN", message: res_error });
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return response;
|
|
208
221
|
}
|
|
209
222
|
|
|
210
223
|
/**
|
|
211
224
|
* @param {Object} arg - Arg object.
|
|
212
|
-
* @param {string} arg.
|
|
213
|
-
* @
|
|
214
|
-
* @
|
|
215
|
-
* @
|
|
216
|
-
* @description: Submit Response for a specific Custom Form using it's slug, this response is then used to create a ticket on behalf of the user.
|
|
225
|
+
* @param {string} arg.uniqueName - Unique name of Video Room
|
|
226
|
+
* @returns {Promise<GetParticipantsInsideVideoRoomResponse>} - Success response
|
|
227
|
+
* @summary: Get participants of a specific Video Room using it's unique name
|
|
228
|
+
* @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names.
|
|
217
229
|
*/
|
|
218
|
-
|
|
219
|
-
const { error } = LeadValidator.
|
|
220
|
-
{
|
|
230
|
+
async getParticipantsInsideVideoRoom({ uniqueName } = {}) {
|
|
231
|
+
const { error } = LeadValidator.getParticipantsInsideVideoRoom().validate(
|
|
232
|
+
{ uniqueName },
|
|
221
233
|
{ abortEarly: false, allowUnknown: true }
|
|
222
234
|
);
|
|
223
235
|
if (error) {
|
|
@@ -225,42 +237,66 @@ class Lead {
|
|
|
225
237
|
}
|
|
226
238
|
|
|
227
239
|
// Showing warrnings if extra unknown parameters are found
|
|
228
|
-
const {
|
|
229
|
-
|
|
240
|
+
const {
|
|
241
|
+
error: warrning,
|
|
242
|
+
} = LeadValidator.getParticipantsInsideVideoRoom().validate(
|
|
243
|
+
{ uniqueName },
|
|
230
244
|
{ abortEarly: false, allowUnknown: false }
|
|
231
245
|
);
|
|
232
246
|
if (warrning) {
|
|
233
|
-
|
|
234
|
-
|
|
247
|
+
Logger({
|
|
248
|
+
level: "WARN",
|
|
249
|
+
message:
|
|
250
|
+
"Parameter Validation warrnings for getParticipantsInsideVideoRoom",
|
|
251
|
+
});
|
|
252
|
+
Logger({ level: "WARN", message: warrning });
|
|
235
253
|
}
|
|
236
254
|
|
|
237
255
|
const query_params = {};
|
|
238
256
|
|
|
239
257
|
const xHeaders = {};
|
|
240
258
|
|
|
241
|
-
|
|
259
|
+
const response = await APIClient.execute(
|
|
242
260
|
this._conf,
|
|
243
|
-
"
|
|
261
|
+
"get",
|
|
244
262
|
constructUrl({
|
|
245
|
-
url: this._urls["
|
|
246
|
-
params: {
|
|
263
|
+
url: this._urls["getParticipantsInsideVideoRoom"],
|
|
264
|
+
params: { uniqueName },
|
|
247
265
|
}),
|
|
248
266
|
query_params,
|
|
249
|
-
|
|
267
|
+
undefined,
|
|
250
268
|
xHeaders
|
|
251
269
|
);
|
|
270
|
+
|
|
271
|
+
const {
|
|
272
|
+
error: res_error,
|
|
273
|
+
} = LeadModel.GetParticipantsInsideVideoRoomResponse().validate(response, {
|
|
274
|
+
abortEarly: false,
|
|
275
|
+
allowUnknown: false,
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
if (res_error) {
|
|
279
|
+
Logger({
|
|
280
|
+
level: "WARN",
|
|
281
|
+
message:
|
|
282
|
+
"Response Validation Warnnings for getParticipantsInsideVideoRoom",
|
|
283
|
+
});
|
|
284
|
+
Logger({ level: "WARN", message: res_error });
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
return response;
|
|
252
288
|
}
|
|
253
289
|
|
|
254
290
|
/**
|
|
255
291
|
* @param {Object} arg - Arg object.
|
|
256
|
-
* @param {string} arg.
|
|
257
|
-
* @returns {Promise<
|
|
258
|
-
* @summary: Get
|
|
259
|
-
* @description: Get
|
|
292
|
+
* @param {string} arg.id - ID of ticket to be retrieved
|
|
293
|
+
* @returns {Promise<Ticket>} - Success response
|
|
294
|
+
* @summary: Get Ticket with the specific id
|
|
295
|
+
* @description: Get Ticket with the specific id, this is used to view the ticket details
|
|
260
296
|
*/
|
|
261
|
-
|
|
262
|
-
const { error } = LeadValidator.
|
|
263
|
-
{
|
|
297
|
+
async getTicket({ id } = {}) {
|
|
298
|
+
const { error } = LeadValidator.getTicket().validate(
|
|
299
|
+
{ id },
|
|
264
300
|
{ abortEarly: false, allowUnknown: true }
|
|
265
301
|
);
|
|
266
302
|
if (error) {
|
|
@@ -268,34 +304,48 @@ class Lead {
|
|
|
268
304
|
}
|
|
269
305
|
|
|
270
306
|
// Showing warrnings if extra unknown parameters are found
|
|
271
|
-
const {
|
|
272
|
-
|
|
273
|
-
} = LeadValidator.getParticipantsInsideVideoRoom().validate(
|
|
274
|
-
{ uniqueName },
|
|
307
|
+
const { error: warrning } = LeadValidator.getTicket().validate(
|
|
308
|
+
{ id },
|
|
275
309
|
{ abortEarly: false, allowUnknown: false }
|
|
276
310
|
);
|
|
277
311
|
if (warrning) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
312
|
+
Logger({
|
|
313
|
+
level: "WARN",
|
|
314
|
+
message: "Parameter Validation warrnings for getTicket",
|
|
315
|
+
});
|
|
316
|
+
Logger({ level: "WARN", message: warrning });
|
|
282
317
|
}
|
|
283
318
|
|
|
284
319
|
const query_params = {};
|
|
285
320
|
|
|
286
321
|
const xHeaders = {};
|
|
287
322
|
|
|
288
|
-
|
|
323
|
+
const response = await APIClient.execute(
|
|
289
324
|
this._conf,
|
|
290
325
|
"get",
|
|
291
326
|
constructUrl({
|
|
292
|
-
url: this._urls["
|
|
293
|
-
params: {
|
|
327
|
+
url: this._urls["getTicket"],
|
|
328
|
+
params: { id },
|
|
294
329
|
}),
|
|
295
330
|
query_params,
|
|
296
331
|
undefined,
|
|
297
332
|
xHeaders
|
|
298
333
|
);
|
|
334
|
+
|
|
335
|
+
const { error: res_error } = LeadModel.Ticket().validate(response, {
|
|
336
|
+
abortEarly: false,
|
|
337
|
+
allowUnknown: false,
|
|
338
|
+
});
|
|
339
|
+
|
|
340
|
+
if (res_error) {
|
|
341
|
+
Logger({
|
|
342
|
+
level: "WARN",
|
|
343
|
+
message: "Response Validation Warnnings for getTicket",
|
|
344
|
+
});
|
|
345
|
+
Logger({ level: "WARN", message: res_error });
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
return response;
|
|
299
349
|
}
|
|
300
350
|
|
|
301
351
|
/**
|
|
@@ -305,7 +355,7 @@ class Lead {
|
|
|
305
355
|
* @summary: Get Token to join a specific Video Room using it's unqiue name
|
|
306
356
|
* @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there.
|
|
307
357
|
*/
|
|
308
|
-
getTokenForVideoRoom({ uniqueName } = {}) {
|
|
358
|
+
async getTokenForVideoRoom({ uniqueName } = {}) {
|
|
309
359
|
const { error } = LeadValidator.getTokenForVideoRoom().validate(
|
|
310
360
|
{ uniqueName },
|
|
311
361
|
{ abortEarly: false, allowUnknown: true }
|
|
@@ -320,15 +370,18 @@ class Lead {
|
|
|
320
370
|
{ abortEarly: false, allowUnknown: false }
|
|
321
371
|
);
|
|
322
372
|
if (warrning) {
|
|
323
|
-
|
|
324
|
-
|
|
373
|
+
Logger({
|
|
374
|
+
level: "WARN",
|
|
375
|
+
message: "Parameter Validation warrnings for getTokenForVideoRoom",
|
|
376
|
+
});
|
|
377
|
+
Logger({ level: "WARN", message: warrning });
|
|
325
378
|
}
|
|
326
379
|
|
|
327
380
|
const query_params = {};
|
|
328
381
|
|
|
329
382
|
const xHeaders = {};
|
|
330
383
|
|
|
331
|
-
|
|
384
|
+
const response = await APIClient.execute(
|
|
332
385
|
this._conf,
|
|
333
386
|
"get",
|
|
334
387
|
constructUrl({
|
|
@@ -339,6 +392,87 @@ class Lead {
|
|
|
339
392
|
undefined,
|
|
340
393
|
xHeaders
|
|
341
394
|
);
|
|
395
|
+
|
|
396
|
+
const {
|
|
397
|
+
error: res_error,
|
|
398
|
+
} = LeadModel.GetTokenForVideoRoomResponse().validate(response, {
|
|
399
|
+
abortEarly: false,
|
|
400
|
+
allowUnknown: false,
|
|
401
|
+
});
|
|
402
|
+
|
|
403
|
+
if (res_error) {
|
|
404
|
+
Logger({
|
|
405
|
+
level: "WARN",
|
|
406
|
+
message: "Response Validation Warnnings for getTokenForVideoRoom",
|
|
407
|
+
});
|
|
408
|
+
Logger({ level: "WARN", message: res_error });
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
return response;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @param {Object} arg - Arg object.
|
|
416
|
+
* @param {string} arg.slug - Slug of form whose response is getting submitted
|
|
417
|
+
* @param {CustomFormSubmissionPayload} arg.body
|
|
418
|
+
* @returns {Promise<SubmitCustomFormResponse>} - Success response
|
|
419
|
+
* @summary: Submit Response for a specific Custom Form using it's slug
|
|
420
|
+
* @description: Submit Response for a specific Custom Form using it's slug, this response is then used to create a ticket on behalf of the user.
|
|
421
|
+
*/
|
|
422
|
+
async submitCustomForm({ slug, body } = {}) {
|
|
423
|
+
const { error } = LeadValidator.submitCustomForm().validate(
|
|
424
|
+
{ slug, body },
|
|
425
|
+
{ abortEarly: false, allowUnknown: true }
|
|
426
|
+
);
|
|
427
|
+
if (error) {
|
|
428
|
+
return Promise.reject(new FDKClientValidationError(error));
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// Showing warrnings if extra unknown parameters are found
|
|
432
|
+
const { error: warrning } = LeadValidator.submitCustomForm().validate(
|
|
433
|
+
{ slug, body },
|
|
434
|
+
{ abortEarly: false, allowUnknown: false }
|
|
435
|
+
);
|
|
436
|
+
if (warrning) {
|
|
437
|
+
Logger({
|
|
438
|
+
level: "WARN",
|
|
439
|
+
message: "Parameter Validation warrnings for submitCustomForm",
|
|
440
|
+
});
|
|
441
|
+
Logger({ level: "WARN", message: warrning });
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
const query_params = {};
|
|
445
|
+
|
|
446
|
+
const xHeaders = {};
|
|
447
|
+
|
|
448
|
+
const response = await APIClient.execute(
|
|
449
|
+
this._conf,
|
|
450
|
+
"post",
|
|
451
|
+
constructUrl({
|
|
452
|
+
url: this._urls["submitCustomForm"],
|
|
453
|
+
params: { slug },
|
|
454
|
+
}),
|
|
455
|
+
query_params,
|
|
456
|
+
body,
|
|
457
|
+
xHeaders
|
|
458
|
+
);
|
|
459
|
+
|
|
460
|
+
const {
|
|
461
|
+
error: res_error,
|
|
462
|
+
} = LeadModel.SubmitCustomFormResponse().validate(response, {
|
|
463
|
+
abortEarly: false,
|
|
464
|
+
allowUnknown: false,
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
if (res_error) {
|
|
468
|
+
Logger({
|
|
469
|
+
level: "WARN",
|
|
470
|
+
message: "Response Validation Warnnings for submitCustomForm",
|
|
471
|
+
});
|
|
472
|
+
Logger({ level: "WARN", message: res_error });
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
return response;
|
|
342
476
|
}
|
|
343
477
|
}
|
|
344
478
|
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
export = LeadModel;
|
|
2
2
|
declare class LeadModel {
|
|
3
|
-
static
|
|
4
|
-
static Page(): any;
|
|
5
|
-
static TicketHistoryList(): any;
|
|
6
|
-
static CustomFormList(): any;
|
|
7
|
-
static CreateCustomFormPayload(): any;
|
|
8
|
-
static EditCustomFormPayload(): any;
|
|
9
|
-
static EditTicketPayload(): any;
|
|
3
|
+
static AddTicketPayload(): any;
|
|
10
4
|
static AgentChangePayload(): any;
|
|
11
|
-
static
|
|
5
|
+
static CategoryData(): any;
|
|
12
6
|
static CloseVideoRoomResponse(): any;
|
|
7
|
+
static CommunicationDetails(): any;
|
|
8
|
+
static CreateCustomFormPayload(): any;
|
|
9
|
+
static CreatedOn(): any;
|
|
13
10
|
static CreateVideoRoomPayload(): any;
|
|
14
|
-
static
|
|
15
|
-
static
|
|
16
|
-
static
|
|
11
|
+
static CreateVideoRoomResponse(): any;
|
|
12
|
+
static CustomForm(): any;
|
|
13
|
+
static CustomFormList(): any;
|
|
17
14
|
static CustomFormSubmissionPayload(): any;
|
|
18
|
-
static
|
|
15
|
+
static Debug(): any;
|
|
16
|
+
static EditCustomFormPayload(): any;
|
|
17
|
+
static EditTicketPayload(): any;
|
|
18
|
+
static Email(): any;
|
|
19
|
+
static FeedbackForm(): any;
|
|
20
|
+
static FeedbackResponseItem(): any;
|
|
21
|
+
static Filter(): any;
|
|
19
22
|
static GetParticipantsInsideVideoRoomResponse(): any;
|
|
23
|
+
static GetTokenForVideoRoomResponse(): any;
|
|
24
|
+
static IntegrationConfig(): any;
|
|
25
|
+
static NotifyUser(): any;
|
|
26
|
+
static Page(): any;
|
|
20
27
|
static Participant(): any;
|
|
21
|
-
static UserSchema(): any;
|
|
22
28
|
static PhoneNumber(): any;
|
|
23
|
-
static
|
|
24
|
-
static Debug(): any;
|
|
25
|
-
static SubmitCustomFormResponse(): any;
|
|
26
|
-
static TicketContext(): any;
|
|
27
|
-
static CreatedOn(): any;
|
|
28
|
-
static TicketAsset(): any;
|
|
29
|
-
static TicketContent(): any;
|
|
30
|
-
static AddTicketPayload(): any;
|
|
29
|
+
static PollForAssignment(): any;
|
|
31
30
|
static Priority(): any;
|
|
32
31
|
static Status(): any;
|
|
33
|
-
static TicketFeedbackForm(): any;
|
|
34
|
-
static TicketFeedbackList(): any;
|
|
35
|
-
static TicketFeedbackPayload(): any;
|
|
36
32
|
static SubmitButton(): any;
|
|
37
|
-
static
|
|
38
|
-
static CustomForm(): any;
|
|
39
|
-
static CommunicationDetails(): any;
|
|
33
|
+
static SubmitCustomFormResponse(): any;
|
|
40
34
|
static SupportGeneralConfig(): any;
|
|
41
|
-
static
|
|
42
|
-
static
|
|
35
|
+
static Ticket(): any;
|
|
36
|
+
static TicketAsset(): any;
|
|
43
37
|
static TicketCategory(): any;
|
|
44
|
-
static
|
|
45
|
-
static
|
|
46
|
-
static FeedbackResponseItem(): any;
|
|
38
|
+
static TicketContent(): any;
|
|
39
|
+
static TicketContext(): any;
|
|
47
40
|
static TicketFeedback(): any;
|
|
41
|
+
static TicketFeedbackForm(): any;
|
|
42
|
+
static TicketFeedbackList(): any;
|
|
43
|
+
static TicketFeedbackPayload(): any;
|
|
48
44
|
static TicketHistory(): any;
|
|
49
|
-
static
|
|
50
|
-
static
|
|
45
|
+
static TicketHistoryList(): any;
|
|
46
|
+
static TicketHistoryPayload(): any;
|
|
47
|
+
static TicketList(): any;
|
|
48
|
+
static TicketSubCategory(): any;
|
|
49
|
+
static UserSchema(): any;
|
|
51
50
|
static HistoryTypeEnum(): any;
|
|
51
|
+
static PriorityEnum(): any;
|
|
52
52
|
static TicketAssetTypeEnum(): any;
|
|
53
|
-
static TicketSourceEnum(): any;
|
|
54
53
|
static TicketIntegrationDetails(): any;
|
|
54
|
+
static TicketSourceEnum(): any;
|
|
55
55
|
}
|