@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
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
## Webhook Methods
|
|
9
9
|
Webhook dispatcher with retry and one event to many subscriber vice versa
|
|
10
10
|
|
|
11
|
+
* [fetchAllEventConfigurations](#fetchalleventconfigurations)
|
|
12
|
+
* [getSubscriberById](#getsubscriberbyid)
|
|
11
13
|
* [getSubscribersByCompany](#getsubscribersbycompany)
|
|
14
|
+
* [getSubscribersByExtensionId](#getsubscribersbyextensionid)
|
|
12
15
|
* [registerSubscriberToEvent](#registersubscribertoevent)
|
|
13
16
|
* [updateSubscriberConfig](#updatesubscriberconfig)
|
|
14
|
-
* [getSubscribersByExtensionId](#getsubscribersbyextensionid)
|
|
15
|
-
* [getSubscriberById](#getsubscriberbyid)
|
|
16
|
-
* [fetchAllEventConfigurations](#fetchalleventconfigurations)
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -22,43 +22,32 @@ Webhook dispatcher with retry and one event to many subscriber vice versa
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
###
|
|
26
|
-
|
|
25
|
+
### fetchAllEventConfigurations
|
|
26
|
+
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
```javascript
|
|
31
31
|
// Promise
|
|
32
|
-
const promise = client.webhook.
|
|
33
|
-
pageSize : value,
|
|
34
|
-
extensionId : value });
|
|
32
|
+
const promise = client.webhook.fetchAllEventConfigurations();
|
|
35
33
|
|
|
36
34
|
// Async/Await
|
|
37
|
-
const data = await client.webhook.
|
|
38
|
-
pageSize : value,
|
|
39
|
-
extensionId : value });
|
|
35
|
+
const data = await client.webhook.fetchAllEventConfigurations();
|
|
40
36
|
```
|
|
41
37
|
|
|
42
38
|
|
|
43
39
|
|
|
44
40
|
|
|
45
41
|
|
|
46
|
-
| Argument | Type | Required | Description |
|
|
47
|
-
| --------- | ----- | -------- | ----------- |
|
|
48
|
-
| pageNo | number | no | Page Number |
|
|
49
|
-
| pageSize | number | no | Page Size |
|
|
50
|
-
| extensionId | string | no | Extension ID |
|
|
51
|
-
|
|
52
|
-
|
|
53
42
|
|
|
54
|
-
Get
|
|
43
|
+
Get All Webhook Events
|
|
55
44
|
|
|
56
45
|
*Returned Response:*
|
|
57
46
|
|
|
58
47
|
|
|
59
48
|
|
|
60
49
|
|
|
61
|
-
[
|
|
50
|
+
[EventConfigResponse](#EventConfigResponse)
|
|
62
51
|
|
|
63
52
|
Success
|
|
64
53
|
|
|
@@ -84,17 +73,17 @@ Success
|
|
|
84
73
|
---
|
|
85
74
|
|
|
86
75
|
|
|
87
|
-
###
|
|
88
|
-
|
|
76
|
+
### getSubscriberById
|
|
77
|
+
Get Subscriber By Subscriber ID
|
|
89
78
|
|
|
90
79
|
|
|
91
80
|
|
|
92
81
|
```javascript
|
|
93
82
|
// Promise
|
|
94
|
-
const promise = client.webhook.
|
|
83
|
+
const promise = client.webhook.getSubscriberById({ subscriberId : value });
|
|
95
84
|
|
|
96
85
|
// Async/Await
|
|
97
|
-
const data = await client.webhook.
|
|
86
|
+
const data = await client.webhook.getSubscriberById({ subscriberId : value });
|
|
98
87
|
```
|
|
99
88
|
|
|
100
89
|
|
|
@@ -102,18 +91,19 @@ const data = await client.webhook.registerSubscriberToEvent({ body : value });
|
|
|
102
91
|
|
|
103
92
|
|
|
104
93
|
| Argument | Type | Required | Description |
|
|
105
|
-
| --------- | ----- | -------- | ----------- |
|
|
106
|
-
|
|
|
94
|
+
| --------- | ----- | -------- | ----------- |
|
|
95
|
+
| subscriberId | number | yes | Subscriber ID |
|
|
107
96
|
|
|
108
97
|
|
|
109
|
-
|
|
98
|
+
|
|
99
|
+
Get Subscriber By Subscriber ID
|
|
110
100
|
|
|
111
101
|
*Returned Response:*
|
|
112
102
|
|
|
113
103
|
|
|
114
104
|
|
|
115
105
|
|
|
116
|
-
[
|
|
106
|
+
[SubscriberResponse](#SubscriberResponse)
|
|
117
107
|
|
|
118
108
|
Success
|
|
119
109
|
|
|
@@ -139,17 +129,21 @@ Success
|
|
|
139
129
|
---
|
|
140
130
|
|
|
141
131
|
|
|
142
|
-
###
|
|
143
|
-
|
|
132
|
+
### getSubscribersByCompany
|
|
133
|
+
Get Subscribers By Company ID
|
|
144
134
|
|
|
145
135
|
|
|
146
136
|
|
|
147
137
|
```javascript
|
|
148
138
|
// Promise
|
|
149
|
-
const promise = client.webhook.
|
|
139
|
+
const promise = client.webhook.getSubscribersByCompany({ pageNo : value,
|
|
140
|
+
pageSize : value,
|
|
141
|
+
extensionId : value });
|
|
150
142
|
|
|
151
143
|
// Async/Await
|
|
152
|
-
const data = await client.webhook.
|
|
144
|
+
const data = await client.webhook.getSubscribersByCompany({ pageNo : value,
|
|
145
|
+
pageSize : value,
|
|
146
|
+
extensionId : value });
|
|
153
147
|
```
|
|
154
148
|
|
|
155
149
|
|
|
@@ -157,18 +151,21 @@ const data = await client.webhook.updateSubscriberConfig({ body : value });
|
|
|
157
151
|
|
|
158
152
|
|
|
159
153
|
| Argument | Type | Required | Description |
|
|
160
|
-
| --------- | ----- | -------- | ----------- |
|
|
161
|
-
|
|
|
154
|
+
| --------- | ----- | -------- | ----------- |
|
|
155
|
+
| pageNo | number | no | Page Number |
|
|
156
|
+
| pageSize | number | no | Page Size |
|
|
157
|
+
| extensionId | string | no | Extension ID |
|
|
162
158
|
|
|
163
159
|
|
|
164
|
-
|
|
160
|
+
|
|
161
|
+
Get Subscribers By CompanyId
|
|
165
162
|
|
|
166
163
|
*Returned Response:*
|
|
167
164
|
|
|
168
165
|
|
|
169
166
|
|
|
170
167
|
|
|
171
|
-
[
|
|
168
|
+
[SubscriberResponse](#SubscriberResponse)
|
|
172
169
|
|
|
173
170
|
Success
|
|
174
171
|
|
|
@@ -256,17 +253,17 @@ Success
|
|
|
256
253
|
---
|
|
257
254
|
|
|
258
255
|
|
|
259
|
-
###
|
|
260
|
-
|
|
256
|
+
### registerSubscriberToEvent
|
|
257
|
+
Register Subscriber
|
|
261
258
|
|
|
262
259
|
|
|
263
260
|
|
|
264
261
|
```javascript
|
|
265
262
|
// Promise
|
|
266
|
-
const promise = client.webhook.
|
|
263
|
+
const promise = client.webhook.registerSubscriberToEvent({ body : value });
|
|
267
264
|
|
|
268
265
|
// Async/Await
|
|
269
|
-
const data = await client.webhook.
|
|
266
|
+
const data = await client.webhook.registerSubscriberToEvent({ body : value });
|
|
270
267
|
```
|
|
271
268
|
|
|
272
269
|
|
|
@@ -274,19 +271,18 @@ const data = await client.webhook.getSubscriberById({ subscriberId : value });
|
|
|
274
271
|
|
|
275
272
|
|
|
276
273
|
| Argument | Type | Required | Description |
|
|
277
|
-
| --------- | ----- | -------- | ----------- |
|
|
278
|
-
|
|
|
279
|
-
|
|
274
|
+
| --------- | ----- | -------- | ----------- |
|
|
275
|
+
| body | [SubscriberConfig](#SubscriberConfig) | yes | Request body |
|
|
280
276
|
|
|
281
277
|
|
|
282
|
-
|
|
278
|
+
Register Subscriber
|
|
283
279
|
|
|
284
280
|
*Returned Response:*
|
|
285
281
|
|
|
286
282
|
|
|
287
283
|
|
|
288
284
|
|
|
289
|
-
[
|
|
285
|
+
[SubscriberConfig](#SubscriberConfig)
|
|
290
286
|
|
|
291
287
|
Success
|
|
292
288
|
|
|
@@ -312,32 +308,36 @@ Success
|
|
|
312
308
|
---
|
|
313
309
|
|
|
314
310
|
|
|
315
|
-
###
|
|
316
|
-
|
|
311
|
+
### updateSubscriberConfig
|
|
312
|
+
Update Subscriber
|
|
317
313
|
|
|
318
314
|
|
|
319
315
|
|
|
320
316
|
```javascript
|
|
321
317
|
// Promise
|
|
322
|
-
const promise = client.webhook.
|
|
318
|
+
const promise = client.webhook.updateSubscriberConfig({ body : value });
|
|
323
319
|
|
|
324
320
|
// Async/Await
|
|
325
|
-
const data = await client.webhook.
|
|
321
|
+
const data = await client.webhook.updateSubscriberConfig({ body : value });
|
|
326
322
|
```
|
|
327
323
|
|
|
328
324
|
|
|
329
325
|
|
|
330
326
|
|
|
331
327
|
|
|
328
|
+
| Argument | Type | Required | Description |
|
|
329
|
+
| --------- | ----- | -------- | ----------- |
|
|
330
|
+
| body | [SubscriberConfig](#SubscriberConfig) | yes | Request body |
|
|
332
331
|
|
|
333
|
-
|
|
332
|
+
|
|
333
|
+
Update Subscriber
|
|
334
334
|
|
|
335
335
|
*Returned Response:*
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
[
|
|
340
|
+
[SubscriberConfig](#SubscriberConfig)
|
|
341
341
|
|
|
342
342
|
Success
|
|
343
343
|
|
|
@@ -366,201 +366,95 @@ Success
|
|
|
366
366
|
|
|
367
367
|
### Schemas
|
|
368
368
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
#### [EventConfig](#EventConfig)
|
|
369
|
+
|
|
370
|
+
#### [Association](#Association)
|
|
372
371
|
|
|
373
372
|
| Properties | Type | Nullable | Description |
|
|
374
|
-
| ---------- | ---- | -------- | ----------- |
|
|
375
|
-
| id | number | no | |
|
|
376
|
-
| event_name | string | no | |
|
|
377
|
-
| event_type | string | no | |
|
|
378
|
-
| event_category | string | no | |
|
|
379
|
-
| version | string | no | |
|
|
380
|
-
| display_name | string | no | |
|
|
381
|
-
| description | string | no | |
|
|
382
|
-
| created_on | string | no | |
|
|
373
|
+
| ---------- | ---- | -------- | ----------- || application_id | [string] | no | || company_id | number | no | || criteria | string | no | || extension_id | string | no | |
|
|
383
374
|
|
|
384
375
|
---
|
|
385
376
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
#### [EventConfigList](#EventConfigList)
|
|
377
|
+
#### [AuthMeta](#AuthMeta)
|
|
390
378
|
|
|
391
379
|
| Properties | Type | Nullable | Description |
|
|
392
|
-
| ---------- | ---- | -------- | ----------- |
|
|
393
|
-
| items | [[EventConfig](#EventConfig)] | no | |
|
|
394
|
-
| page | [Page](#Page) | no | |
|
|
380
|
+
| ---------- | ---- | -------- | ----------- || secret | string | no | || type | string | no | |
|
|
395
381
|
|
|
396
382
|
---
|
|
397
383
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
#### [EventConfigResponse](#EventConfigResponse)
|
|
384
|
+
#### [EventConfig](#EventConfig)
|
|
402
385
|
|
|
403
386
|
| Properties | Type | Nullable | Description |
|
|
404
|
-
| ---------- | ---- | -------- | ----------- |
|
|
405
|
-
| event_configs | [[EventConfig](#EventConfig)] | no | |
|
|
387
|
+
| ---------- | ---- | -------- | ----------- || created_on | string | no | || description | string | no | || display_name | string | no | || event_category | string | no | || event_name | string | no | || event_type | string | no | || id | number | no | || version | string | no | |
|
|
406
388
|
|
|
407
389
|
---
|
|
408
390
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
#### [SubscriberConfigList](#SubscriberConfigList)
|
|
391
|
+
#### [EventConfigBase](#EventConfigBase)
|
|
413
392
|
|
|
414
393
|
| Properties | Type | Nullable | Description |
|
|
415
|
-
| ---------- | ---- | -------- | ----------- |
|
|
416
|
-
| items | [[SubscriberResponse](#SubscriberResponse)] | no | |
|
|
417
|
-
| page | [Page](#Page) | no | |
|
|
394
|
+
| ---------- | ---- | -------- | ----------- || event_category | string | no | || event_name | string | no | || event_type | string | no | || version | string | no | |
|
|
418
395
|
|
|
419
396
|
---
|
|
420
397
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
#### [Page](#Page)
|
|
398
|
+
#### [EventConfigList](#EventConfigList)
|
|
425
399
|
|
|
426
400
|
| Properties | Type | Nullable | Description |
|
|
427
|
-
| ---------- | ---- | -------- | ----------- |
|
|
428
|
-
| item_total | number | no | |
|
|
429
|
-
| next_id | string | no | |
|
|
430
|
-
| has_previous | boolean | no | |
|
|
431
|
-
| has_next | boolean | no | |
|
|
432
|
-
| current | number | no | |
|
|
433
|
-
| type | string | yes | |
|
|
434
|
-
| size | number | no | |
|
|
401
|
+
| ---------- | ---- | -------- | ----------- || items | [[EventConfig](#EventConfig)] | no | || page | [Page](#Page) | no | |
|
|
435
402
|
|
|
436
403
|
---
|
|
437
404
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
#### [EventProcessedStatus](#EventProcessedStatus)
|
|
405
|
+
#### [EventConfigResponse](#EventConfigResponse)
|
|
442
406
|
|
|
443
407
|
| Properties | Type | Nullable | Description |
|
|
444
|
-
| ---------- | ---- | -------- | ----------- |
|
|
445
|
-
| id | number | no | |
|
|
446
|
-
| subscriber_id | string | no | |
|
|
447
|
-
| attempt | number | no | |
|
|
448
|
-
| response_code | string | no | |
|
|
449
|
-
| response_message | string | no | |
|
|
450
|
-
| created_on | string | no | |
|
|
451
|
-
| processed_on | string | no | |
|
|
452
|
-
| status | boolean | no | |
|
|
408
|
+
| ---------- | ---- | -------- | ----------- || event_configs | [[EventConfig](#EventConfig)] | no | |
|
|
453
409
|
|
|
454
410
|
---
|
|
455
411
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
#### [EventPayload](#EventPayload)
|
|
412
|
+
#### [EventPayload](#EventPayload)
|
|
460
413
|
|
|
461
414
|
| Properties | Type | Nullable | Description |
|
|
462
|
-
| ---------- | ---- | -------- | ----------- |
|
|
463
|
-
| id | number | no | |
|
|
464
|
-
| event_trace_id | string | no | |
|
|
465
|
-
| message_id | string | no | |
|
|
466
|
-
| event_name | string | no | |
|
|
467
|
-
| event_type | string | no | |
|
|
468
|
-
| version | string | no | |
|
|
469
|
-
| status | boolean | no | |
|
|
415
|
+
| ---------- | ---- | -------- | ----------- || event_name | string | no | || event_trace_id | string | no | || event_type | string | no | || id | number | no | || message_id | string | no | || status | boolean | no | || version | string | no | |
|
|
470
416
|
|
|
471
417
|
---
|
|
472
418
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
#### [SubscriberConfig](#SubscriberConfig)
|
|
419
|
+
#### [EventProcessedStatus](#EventProcessedStatus)
|
|
477
420
|
|
|
478
421
|
| Properties | Type | Nullable | Description |
|
|
479
|
-
| ---------- | ---- | -------- | ----------- |
|
|
480
|
-
| id | number | no | |
|
|
481
|
-
| name | string | no | |
|
|
482
|
-
| webhook_url | string | no | |
|
|
483
|
-
| association | [Association](#Association) | no | |
|
|
484
|
-
| custom_headers | string | no | |
|
|
485
|
-
| status | [SubscriberStatus](#SubscriberStatus) | no | |
|
|
486
|
-
| email_id | string | no | |
|
|
487
|
-
| auth_meta | [AuthMeta](#AuthMeta) | no | |
|
|
488
|
-
| event_id | [number] | no | |
|
|
422
|
+
| ---------- | ---- | -------- | ----------- || attempt | number | no | || created_on | string | no | || id | number | no | || processed_on | string | no | || response_code | string | no | || response_message | string | no | || status | boolean | no | || subscriber_id | string | no | |
|
|
489
423
|
|
|
490
424
|
---
|
|
491
425
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
#### [SubscriberResponse](#SubscriberResponse)
|
|
426
|
+
#### [Page](#Page)
|
|
496
427
|
|
|
497
428
|
| Properties | Type | Nullable | Description |
|
|
498
|
-
| ---------- | ---- | -------- | ----------- |
|
|
499
|
-
| id | number | no | |
|
|
500
|
-
| name | string | no | |
|
|
501
|
-
| webhook_url | string | no | |
|
|
502
|
-
| association | [Association](#Association) | no | |
|
|
503
|
-
| custom_headers | string | no | |
|
|
504
|
-
| email_id | string | no | |
|
|
505
|
-
| status | [SubscriberStatus](#SubscriberStatus) | no | |
|
|
506
|
-
| auth_meta | [AuthMeta](#AuthMeta) | no | |
|
|
507
|
-
| created_on | string | no | |
|
|
508
|
-
| updated_on | string | no | |
|
|
509
|
-
| event_configs | [[EventConfig](#EventConfig)] | no | |
|
|
429
|
+
| ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | string | yes | |
|
|
510
430
|
|
|
511
431
|
---
|
|
512
432
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
#### [SubscriberEvent](#SubscriberEvent)
|
|
433
|
+
#### [SubscriberConfig](#SubscriberConfig)
|
|
517
434
|
|
|
518
435
|
| Properties | Type | Nullable | Description |
|
|
519
|
-
| ---------- | ---- | -------- | ----------- |
|
|
520
|
-
| id | number | no | |
|
|
521
|
-
| subscriber_id | number | no | |
|
|
522
|
-
| event_id | number | no | |
|
|
523
|
-
| created_date | string | no | |
|
|
436
|
+
| ---------- | ---- | -------- | ----------- || association | [Association](#Association) | no | || auth_meta | [AuthMeta](#AuthMeta) | no | || custom_headers | string | no | || email_id | string | no | || event_id | [number] | no | || id | number | no | || name | string | no | || status | [SubscriberStatus](#SubscriberStatus) | no | || webhook_url | string | no | |
|
|
524
437
|
|
|
525
438
|
---
|
|
526
439
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
#### [AuthMeta](#AuthMeta)
|
|
440
|
+
#### [SubscriberConfigList](#SubscriberConfigList)
|
|
531
441
|
|
|
532
442
|
| Properties | Type | Nullable | Description |
|
|
533
|
-
| ---------- | ---- | -------- | ----------- |
|
|
534
|
-
| type | string | no | |
|
|
535
|
-
| secret | string | no | |
|
|
443
|
+
| ---------- | ---- | -------- | ----------- || items | [[SubscriberResponse](#SubscriberResponse)] | no | || page | [Page](#Page) | no | |
|
|
536
444
|
|
|
537
445
|
---
|
|
538
446
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
#### [Association](#Association)
|
|
447
|
+
#### [SubscriberEvent](#SubscriberEvent)
|
|
543
448
|
|
|
544
449
|
| Properties | Type | Nullable | Description |
|
|
545
|
-
| ---------- | ---- | -------- | ----------- |
|
|
546
|
-
| company_id | number | no | |
|
|
547
|
-
| application_id | [string] | no | |
|
|
548
|
-
| extension_id | string | no | |
|
|
549
|
-
| criteria | string | no | |
|
|
450
|
+
| ---------- | ---- | -------- | ----------- || created_date | string | no | || event_id | number | no | || id | number | no | || subscriber_id | number | no | |
|
|
550
451
|
|
|
551
452
|
---
|
|
552
453
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
#### [EventConfigBase](#EventConfigBase)
|
|
454
|
+
#### [SubscriberResponse](#SubscriberResponse)
|
|
557
455
|
|
|
558
456
|
| Properties | Type | Nullable | Description |
|
|
559
|
-
| ---------- | ---- | -------- | ----------- |
|
|
560
|
-
| event_name | string | no | |
|
|
561
|
-
| event_type | string | no | |
|
|
562
|
-
| event_category | string | no | |
|
|
563
|
-
| version | string | no | |
|
|
457
|
+
| ---------- | ---- | -------- | ----------- || association | [Association](#Association) | no | || auth_meta | [AuthMeta](#AuthMeta) | no | || created_on | string | no | || custom_headers | string | no | || email_id | string | no | || event_configs | [[EventConfig](#EventConfig)] | no | || id | number | no | || name | string | no | || status | [SubscriberStatus](#SubscriberStatus) | no | || updated_on | string | no | || webhook_url | string | no | |
|
|
564
458
|
|
|
565
459
|
---
|
|
566
460
|
|