@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,17 +8,17 @@
|
|
|
8
8
|
## Discount Methods
|
|
9
9
|
Discount
|
|
10
10
|
|
|
11
|
-
* [
|
|
11
|
+
* [cancelDownloadJob](#canceldownloadjob)
|
|
12
|
+
* [cancelValidationJob](#cancelvalidationjob)
|
|
12
13
|
* [createDiscount](#creatediscount)
|
|
14
|
+
* [downloadDiscountFile](#downloaddiscountfile)
|
|
13
15
|
* [getDiscount](#getdiscount)
|
|
16
|
+
* [getDiscounts](#getdiscounts)
|
|
17
|
+
* [getDownloadJob](#getdownloadjob)
|
|
18
|
+
* [getValidationJob](#getvalidationjob)
|
|
14
19
|
* [updateDiscount](#updatediscount)
|
|
15
20
|
* [upsertDiscountItems](#upsertdiscountitems)
|
|
16
21
|
* [validateDiscountFile](#validatediscountfile)
|
|
17
|
-
* [downloadDiscountFile](#downloaddiscountfile)
|
|
18
|
-
* [getValidationJob](#getvalidationjob)
|
|
19
|
-
* [cancelValidationJob](#cancelvalidationjob)
|
|
20
|
-
* [getDownloadJob](#getdownloadjob)
|
|
21
|
-
* [cancelDownloadJob](#canceldownloadjob)
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -27,33 +27,17 @@ Discount
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
###
|
|
31
|
-
|
|
30
|
+
### cancelDownloadJob
|
|
31
|
+
Cancel Download Job.
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
```javascript
|
|
36
36
|
// Promise
|
|
37
|
-
const promise = client.discount.
|
|
38
|
-
q : value,
|
|
39
|
-
pageNo : value,
|
|
40
|
-
pageSize : value,
|
|
41
|
-
archived : value,
|
|
42
|
-
month : value,
|
|
43
|
-
year : value,
|
|
44
|
-
type : value,
|
|
45
|
-
appIds : value });
|
|
37
|
+
const promise = client.discount.cancelDownloadJob({ id : value });
|
|
46
38
|
|
|
47
39
|
// Async/Await
|
|
48
|
-
const data = await client.discount.
|
|
49
|
-
q : value,
|
|
50
|
-
pageNo : value,
|
|
51
|
-
pageSize : value,
|
|
52
|
-
archived : value,
|
|
53
|
-
month : value,
|
|
54
|
-
year : value,
|
|
55
|
-
type : value,
|
|
56
|
-
appIds : value });
|
|
40
|
+
const data = await client.discount.cancelDownloadJob({ id : value });
|
|
57
41
|
```
|
|
58
42
|
|
|
59
43
|
|
|
@@ -61,27 +45,19 @@ const data = await client.discount.getDiscounts({ view : value,
|
|
|
61
45
|
|
|
62
46
|
|
|
63
47
|
| Argument | Type | Required | Description |
|
|
64
|
-
| --------- | ----- | -------- | ----------- |
|
|
65
|
-
|
|
|
66
|
-
| q | string | no | The search query. This can be a partial or complete name of a discount. |
|
|
67
|
-
| pageNo | number | no | page number. Default is 1. |
|
|
68
|
-
| pageSize | number | no | page size. Default is 12. |
|
|
69
|
-
| archived | boolean | no | archived. Default is false. |
|
|
70
|
-
| month | number | no | month. Default is current month. |
|
|
71
|
-
| year | number | no | year. Default is current year. |
|
|
72
|
-
| type | string | no | basic or custom. |
|
|
73
|
-
| appIds | Array<string> | no | application ids. |
|
|
48
|
+
| --------- | ----- | -------- | ----------- |
|
|
49
|
+
| id | string | yes | id |
|
|
74
50
|
|
|
75
51
|
|
|
76
52
|
|
|
77
|
-
|
|
53
|
+
Cancel Download Job.
|
|
78
54
|
|
|
79
55
|
*Returned Response:*
|
|
80
56
|
|
|
81
57
|
|
|
82
58
|
|
|
83
59
|
|
|
84
|
-
[
|
|
60
|
+
[CancelJobResponse](#CancelJobResponse)
|
|
85
61
|
|
|
86
62
|
Success
|
|
87
63
|
|
|
@@ -107,17 +83,17 @@ Success
|
|
|
107
83
|
---
|
|
108
84
|
|
|
109
85
|
|
|
110
|
-
###
|
|
111
|
-
|
|
86
|
+
### cancelValidationJob
|
|
87
|
+
Cancel Validation Job.
|
|
112
88
|
|
|
113
89
|
|
|
114
90
|
|
|
115
91
|
```javascript
|
|
116
92
|
// Promise
|
|
117
|
-
const promise = client.discount.
|
|
93
|
+
const promise = client.discount.cancelValidationJob({ id : value });
|
|
118
94
|
|
|
119
95
|
// Async/Await
|
|
120
|
-
const data = await client.discount.
|
|
96
|
+
const data = await client.discount.cancelValidationJob({ id : value });
|
|
121
97
|
```
|
|
122
98
|
|
|
123
99
|
|
|
@@ -125,18 +101,19 @@ const data = await client.discount.createDiscount({ body : value });
|
|
|
125
101
|
|
|
126
102
|
|
|
127
103
|
| Argument | Type | Required | Description |
|
|
128
|
-
| --------- | ----- | -------- | ----------- |
|
|
129
|
-
|
|
|
104
|
+
| --------- | ----- | -------- | ----------- |
|
|
105
|
+
| id | string | yes | id |
|
|
130
106
|
|
|
131
107
|
|
|
132
|
-
|
|
108
|
+
|
|
109
|
+
Cancel Validation Job.
|
|
133
110
|
|
|
134
111
|
*Returned Response:*
|
|
135
112
|
|
|
136
113
|
|
|
137
114
|
|
|
138
115
|
|
|
139
|
-
[
|
|
116
|
+
[CancelJobResponse](#CancelJobResponse)
|
|
140
117
|
|
|
141
118
|
Success
|
|
142
119
|
|
|
@@ -162,17 +139,17 @@ Success
|
|
|
162
139
|
---
|
|
163
140
|
|
|
164
141
|
|
|
165
|
-
###
|
|
166
|
-
|
|
142
|
+
### createDiscount
|
|
143
|
+
Create Discount.
|
|
167
144
|
|
|
168
145
|
|
|
169
146
|
|
|
170
147
|
```javascript
|
|
171
148
|
// Promise
|
|
172
|
-
const promise = client.discount.
|
|
149
|
+
const promise = client.discount.createDiscount({ body : value });
|
|
173
150
|
|
|
174
151
|
// Async/Await
|
|
175
|
-
const data = await client.discount.
|
|
152
|
+
const data = await client.discount.createDiscount({ body : value });
|
|
176
153
|
```
|
|
177
154
|
|
|
178
155
|
|
|
@@ -180,12 +157,11 @@ const data = await client.discount.getDiscount({ id : value });
|
|
|
180
157
|
|
|
181
158
|
|
|
182
159
|
| Argument | Type | Required | Description |
|
|
183
|
-
| --------- | ----- | -------- | ----------- |
|
|
184
|
-
|
|
|
185
|
-
|
|
160
|
+
| --------- | ----- | -------- | ----------- |
|
|
161
|
+
| body | [CreateUpdateDiscount](#CreateUpdateDiscount) | yes | Request body |
|
|
186
162
|
|
|
187
163
|
|
|
188
|
-
|
|
164
|
+
Create Discount.
|
|
189
165
|
|
|
190
166
|
*Returned Response:*
|
|
191
167
|
|
|
@@ -218,18 +194,18 @@ Success
|
|
|
218
194
|
---
|
|
219
195
|
|
|
220
196
|
|
|
221
|
-
###
|
|
222
|
-
|
|
197
|
+
### downloadDiscountFile
|
|
198
|
+
Validate File.
|
|
223
199
|
|
|
224
200
|
|
|
225
201
|
|
|
226
202
|
```javascript
|
|
227
203
|
// Promise
|
|
228
|
-
const promise = client.discount.
|
|
204
|
+
const promise = client.discount.downloadDiscountFile({ type : value,
|
|
229
205
|
body : value });
|
|
230
206
|
|
|
231
207
|
// Async/Await
|
|
232
|
-
const data = await client.discount.
|
|
208
|
+
const data = await client.discount.downloadDiscountFile({ type : value,
|
|
233
209
|
body : value });
|
|
234
210
|
```
|
|
235
211
|
|
|
@@ -239,18 +215,18 @@ const data = await client.discount.updateDiscount({ id : value,
|
|
|
239
215
|
|
|
240
216
|
| Argument | Type | Required | Description |
|
|
241
217
|
| --------- | ----- | -------- | ----------- |
|
|
242
|
-
|
|
|
243
|
-
| body | [
|
|
218
|
+
| type | string | yes | type |
|
|
219
|
+
| body | [DownloadFileJob](#DownloadFileJob) | yes | Request body |
|
|
244
220
|
|
|
245
221
|
|
|
246
|
-
|
|
222
|
+
Validate File.
|
|
247
223
|
|
|
248
224
|
*Returned Response:*
|
|
249
225
|
|
|
250
226
|
|
|
251
227
|
|
|
252
228
|
|
|
253
|
-
[
|
|
229
|
+
[FileJobResponse](#FileJobResponse)
|
|
254
230
|
|
|
255
231
|
Success
|
|
256
232
|
|
|
@@ -276,19 +252,17 @@ Success
|
|
|
276
252
|
---
|
|
277
253
|
|
|
278
254
|
|
|
279
|
-
###
|
|
280
|
-
|
|
255
|
+
### getDiscount
|
|
256
|
+
Fetch discount.
|
|
281
257
|
|
|
282
258
|
|
|
283
259
|
|
|
284
260
|
```javascript
|
|
285
261
|
// Promise
|
|
286
|
-
const promise = client.discount.
|
|
287
|
-
body : value });
|
|
262
|
+
const promise = client.discount.getDiscount({ id : value });
|
|
288
263
|
|
|
289
264
|
// Async/Await
|
|
290
|
-
const data = await client.discount.
|
|
291
|
-
body : value });
|
|
265
|
+
const data = await client.discount.getDiscount({ id : value });
|
|
292
266
|
```
|
|
293
267
|
|
|
294
268
|
|
|
@@ -297,18 +271,18 @@ const data = await client.discount.upsertDiscountItems({ id : value,
|
|
|
297
271
|
|
|
298
272
|
| Argument | Type | Required | Description |
|
|
299
273
|
| --------- | ----- | -------- | ----------- |
|
|
300
|
-
| id | string | yes |
|
|
301
|
-
| body | [BulkDiscount](#BulkDiscount) | yes | Request body |
|
|
274
|
+
| id | string | yes | unique id. |
|
|
302
275
|
|
|
303
276
|
|
|
304
|
-
|
|
277
|
+
|
|
278
|
+
Fetch discount.
|
|
305
279
|
|
|
306
280
|
*Returned Response:*
|
|
307
281
|
|
|
308
282
|
|
|
309
283
|
|
|
310
284
|
|
|
311
|
-
[
|
|
285
|
+
[DiscountJob](#DiscountJob)
|
|
312
286
|
|
|
313
287
|
Success
|
|
314
288
|
|
|
@@ -334,19 +308,33 @@ Success
|
|
|
334
308
|
---
|
|
335
309
|
|
|
336
310
|
|
|
337
|
-
###
|
|
338
|
-
|
|
311
|
+
### getDiscounts
|
|
312
|
+
Fetch discount list.
|
|
339
313
|
|
|
340
314
|
|
|
341
315
|
|
|
342
316
|
```javascript
|
|
343
317
|
// Promise
|
|
344
|
-
const promise = client.discount.
|
|
345
|
-
|
|
318
|
+
const promise = client.discount.getDiscounts({ view : value,
|
|
319
|
+
q : value,
|
|
320
|
+
pageNo : value,
|
|
321
|
+
pageSize : value,
|
|
322
|
+
archived : value,
|
|
323
|
+
month : value,
|
|
324
|
+
year : value,
|
|
325
|
+
type : value,
|
|
326
|
+
appIds : value });
|
|
346
327
|
|
|
347
328
|
// Async/Await
|
|
348
|
-
const data = await client.discount.
|
|
349
|
-
|
|
329
|
+
const data = await client.discount.getDiscounts({ view : value,
|
|
330
|
+
q : value,
|
|
331
|
+
pageNo : value,
|
|
332
|
+
pageSize : value,
|
|
333
|
+
archived : value,
|
|
334
|
+
month : value,
|
|
335
|
+
year : value,
|
|
336
|
+
type : value,
|
|
337
|
+
appIds : value });
|
|
350
338
|
```
|
|
351
339
|
|
|
352
340
|
|
|
@@ -355,18 +343,26 @@ const data = await client.discount.validateDiscountFile({ body : value,
|
|
|
355
343
|
|
|
356
344
|
| Argument | Type | Required | Description |
|
|
357
345
|
| --------- | ----- | -------- | ----------- |
|
|
358
|
-
|
|
|
359
|
-
|
|
|
346
|
+
| view | string | no | listing or calender. Default is listing. |
|
|
347
|
+
| q | string | no | The search query. This can be a partial or complete name of a discount. |
|
|
348
|
+
| pageNo | number | no | page number. Default is 1. |
|
|
349
|
+
| pageSize | number | no | page size. Default is 12. |
|
|
350
|
+
| archived | boolean | no | archived. Default is false. |
|
|
351
|
+
| month | number | no | month. Default is current month. |
|
|
352
|
+
| year | number | no | year. Default is current year. |
|
|
353
|
+
| type | string | no | basic or custom. |
|
|
354
|
+
| appIds | Array<string> | no | application ids. |
|
|
360
355
|
|
|
361
356
|
|
|
362
|
-
|
|
357
|
+
|
|
358
|
+
Fetch discount list.
|
|
363
359
|
|
|
364
360
|
*Returned Response:*
|
|
365
361
|
|
|
366
362
|
|
|
367
363
|
|
|
368
364
|
|
|
369
|
-
[
|
|
365
|
+
[ListOrCalender](#ListOrCalender)
|
|
370
366
|
|
|
371
367
|
Success
|
|
372
368
|
|
|
@@ -392,19 +388,17 @@ Success
|
|
|
392
388
|
---
|
|
393
389
|
|
|
394
390
|
|
|
395
|
-
###
|
|
396
|
-
|
|
391
|
+
### getDownloadJob
|
|
392
|
+
Download File Job.
|
|
397
393
|
|
|
398
394
|
|
|
399
395
|
|
|
400
396
|
```javascript
|
|
401
397
|
// Promise
|
|
402
|
-
const promise = client.discount.
|
|
403
|
-
body : value });
|
|
398
|
+
const promise = client.discount.getDownloadJob({ id : value });
|
|
404
399
|
|
|
405
400
|
// Async/Await
|
|
406
|
-
const data = await client.discount.
|
|
407
|
-
body : value });
|
|
401
|
+
const data = await client.discount.getDownloadJob({ id : value });
|
|
408
402
|
```
|
|
409
403
|
|
|
410
404
|
|
|
@@ -413,11 +407,11 @@ const data = await client.discount.downloadDiscountFile({ type : value,
|
|
|
413
407
|
|
|
414
408
|
| Argument | Type | Required | Description |
|
|
415
409
|
| --------- | ----- | -------- | ----------- |
|
|
416
|
-
|
|
|
417
|
-
| body | [DownloadFileJob](#DownloadFileJob) | yes | Request body |
|
|
410
|
+
| id | string | yes | id |
|
|
418
411
|
|
|
419
412
|
|
|
420
|
-
|
|
413
|
+
|
|
414
|
+
Download File Job.
|
|
421
415
|
|
|
422
416
|
*Returned Response:*
|
|
423
417
|
|
|
@@ -506,17 +500,19 @@ Success
|
|
|
506
500
|
---
|
|
507
501
|
|
|
508
502
|
|
|
509
|
-
###
|
|
510
|
-
|
|
503
|
+
### updateDiscount
|
|
504
|
+
Create Discount.
|
|
511
505
|
|
|
512
506
|
|
|
513
507
|
|
|
514
508
|
```javascript
|
|
515
509
|
// Promise
|
|
516
|
-
const promise = client.discount.
|
|
510
|
+
const promise = client.discount.updateDiscount({ id : value,
|
|
511
|
+
body : value });
|
|
517
512
|
|
|
518
513
|
// Async/Await
|
|
519
|
-
const data = await client.discount.
|
|
514
|
+
const data = await client.discount.updateDiscount({ id : value,
|
|
515
|
+
body : value });
|
|
520
516
|
```
|
|
521
517
|
|
|
522
518
|
|
|
@@ -526,17 +522,17 @@ const data = await client.discount.cancelValidationJob({ id : value });
|
|
|
526
522
|
| Argument | Type | Required | Description |
|
|
527
523
|
| --------- | ----- | -------- | ----------- |
|
|
528
524
|
| id | string | yes | id |
|
|
525
|
+
| body | [CreateUpdateDiscount](#CreateUpdateDiscount) | yes | Request body |
|
|
529
526
|
|
|
530
527
|
|
|
531
|
-
|
|
532
|
-
Cancel Validation Job.
|
|
528
|
+
Create Discount.
|
|
533
529
|
|
|
534
530
|
*Returned Response:*
|
|
535
531
|
|
|
536
532
|
|
|
537
533
|
|
|
538
534
|
|
|
539
|
-
[
|
|
535
|
+
[DiscountJob](#DiscountJob)
|
|
540
536
|
|
|
541
537
|
Success
|
|
542
538
|
|
|
@@ -562,17 +558,19 @@ Success
|
|
|
562
558
|
---
|
|
563
559
|
|
|
564
560
|
|
|
565
|
-
###
|
|
566
|
-
|
|
561
|
+
### upsertDiscountItems
|
|
562
|
+
Create custom discount from bulk.
|
|
567
563
|
|
|
568
564
|
|
|
569
565
|
|
|
570
566
|
```javascript
|
|
571
567
|
// Promise
|
|
572
|
-
const promise = client.discount.
|
|
568
|
+
const promise = client.discount.upsertDiscountItems({ id : value,
|
|
569
|
+
body : value });
|
|
573
570
|
|
|
574
571
|
// Async/Await
|
|
575
|
-
const data = await client.discount.
|
|
572
|
+
const data = await client.discount.upsertDiscountItems({ id : value,
|
|
573
|
+
body : value });
|
|
576
574
|
```
|
|
577
575
|
|
|
578
576
|
|
|
@@ -581,18 +579,18 @@ const data = await client.discount.getDownloadJob({ id : value });
|
|
|
581
579
|
|
|
582
580
|
| Argument | Type | Required | Description |
|
|
583
581
|
| --------- | ----- | -------- | ----------- |
|
|
584
|
-
| id | string | yes |
|
|
585
|
-
|
|
582
|
+
| id | string | yes | Job ID of the discount. |
|
|
583
|
+
| body | [BulkDiscount](#BulkDiscount) | yes | Request body |
|
|
586
584
|
|
|
587
585
|
|
|
588
|
-
|
|
586
|
+
Create custom discounts through API.
|
|
589
587
|
|
|
590
588
|
*Returned Response:*
|
|
591
589
|
|
|
592
590
|
|
|
593
591
|
|
|
594
592
|
|
|
595
|
-
[
|
|
593
|
+
[Object](#Object)
|
|
596
594
|
|
|
597
595
|
Success
|
|
598
596
|
|
|
@@ -618,17 +616,19 @@ Success
|
|
|
618
616
|
---
|
|
619
617
|
|
|
620
618
|
|
|
621
|
-
###
|
|
622
|
-
|
|
619
|
+
### validateDiscountFile
|
|
620
|
+
Validate File.
|
|
623
621
|
|
|
624
622
|
|
|
625
623
|
|
|
626
624
|
```javascript
|
|
627
625
|
// Promise
|
|
628
|
-
const promise = client.discount.
|
|
626
|
+
const promise = client.discount.validateDiscountFile({ body : value,
|
|
627
|
+
discount : value });
|
|
629
628
|
|
|
630
629
|
// Async/Await
|
|
631
|
-
const data = await client.discount.
|
|
630
|
+
const data = await client.discount.validateDiscountFile({ body : value,
|
|
631
|
+
discount : value });
|
|
632
632
|
```
|
|
633
633
|
|
|
634
634
|
|
|
@@ -636,19 +636,19 @@ const data = await client.discount.cancelDownloadJob({ id : value });
|
|
|
636
636
|
|
|
637
637
|
|
|
638
638
|
| Argument | Type | Required | Description |
|
|
639
|
-
| --------- | ----- | -------- | ----------- |
|
|
640
|
-
|
|
|
641
|
-
|
|
639
|
+
| --------- | ----- | -------- | ----------- |
|
|
640
|
+
| discount | string | no | discount |
|
|
641
|
+
| body | [DiscountJob](#DiscountJob) | yes | Request body |
|
|
642
642
|
|
|
643
643
|
|
|
644
|
-
|
|
644
|
+
Validate File.
|
|
645
645
|
|
|
646
646
|
*Returned Response:*
|
|
647
647
|
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
|
|
651
|
-
[
|
|
651
|
+
[FileJobResponse](#FileJobResponse)
|
|
652
652
|
|
|
653
653
|
Success
|
|
654
654
|
|
|
@@ -677,184 +677,88 @@ Success
|
|
|
677
677
|
|
|
678
678
|
### Schemas
|
|
679
679
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
#### [ValidityObject](#ValidityObject)
|
|
680
|
+
|
|
681
|
+
#### [BadRequestObject](#BadRequestObject)
|
|
683
682
|
|
|
684
683
|
| Properties | Type | Nullable | Description |
|
|
685
|
-
| ---------- | ---- | -------- | ----------- |
|
|
686
|
-
| start | string | yes | |
|
|
687
|
-
| end | string | yes | |
|
|
684
|
+
| ---------- | ---- | -------- | ----------- || message | string | yes | |
|
|
688
685
|
|
|
689
686
|
---
|
|
690
687
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
#### [CreateUpdateDiscount](#CreateUpdateDiscount)
|
|
688
|
+
#### [BulkDiscount](#BulkDiscount)
|
|
695
689
|
|
|
696
690
|
| Properties | Type | Nullable | Description |
|
|
697
|
-
| ---------- | ---- | -------- | ----------- |
|
|
698
|
-
| name | string | yes | |
|
|
699
|
-
| company_id | number | yes | |
|
|
700
|
-
| is_active | boolean | yes | |
|
|
701
|
-
| app_ids | [string] | yes | |
|
|
702
|
-
| extension_ids | [string] | yes | |
|
|
703
|
-
| job_type | string | yes | |
|
|
704
|
-
| discount_type | string | yes | |
|
|
705
|
-
| discount_level | string | yes | |
|
|
706
|
-
| value | number | no | |
|
|
707
|
-
| file_path | string | no | |
|
|
708
|
-
| brand_ids | [number] | no | |
|
|
709
|
-
| store_ids | [number] | no | |
|
|
710
|
-
| validity | [ValidityObject](#ValidityObject) | yes | |
|
|
691
|
+
| ---------- | ---- | -------- | ----------- || company_id | number | yes | || items | [[DiscountItems](#DiscountItems)] | yes | |
|
|
711
692
|
|
|
712
693
|
---
|
|
713
694
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
#### [DiscountJob](#DiscountJob)
|
|
695
|
+
#### [CancelJobResponse](#CancelJobResponse)
|
|
718
696
|
|
|
719
697
|
| Properties | Type | Nullable | Description |
|
|
720
|
-
| ---------- | ---- | -------- | ----------- |
|
|
721
|
-
| _id | string | yes | |
|
|
722
|
-
| name | string | yes | |
|
|
723
|
-
| company_id | number | yes | |
|
|
724
|
-
| is_active | boolean | yes | |
|
|
725
|
-
| app_ids | [string] | no | |
|
|
726
|
-
| job_type | string | no | |
|
|
727
|
-
| discount_type | string | no | |
|
|
728
|
-
| discount_level | string | no | |
|
|
729
|
-
| value | number | no | |
|
|
730
|
-
| file_path | string | no | |
|
|
731
|
-
| brand_ids | [number] | no | |
|
|
732
|
-
| store_ids | [number] | no | |
|
|
733
|
-
| validity | [ValidityObject](#ValidityObject) | yes | |
|
|
734
|
-
| created_on | string | yes | |
|
|
735
|
-
| modified_on | string | yes | |
|
|
736
|
-
| created_by | [UserDetails](#UserDetails) | yes | |
|
|
737
|
-
| modified_by | [UserDetails](#UserDetails) | yes | |
|
|
738
|
-
| meta | string | no | |
|
|
698
|
+
| ---------- | ---- | -------- | ----------- || success | boolean | yes | |
|
|
739
699
|
|
|
740
700
|
---
|
|
741
701
|
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
#### [ListOrCalender](#ListOrCalender)
|
|
702
|
+
#### [CreateUpdateDiscount](#CreateUpdateDiscount)
|
|
746
703
|
|
|
747
704
|
| Properties | Type | Nullable | Description |
|
|
748
|
-
| ---------- | ---- | -------- | ----------- |
|
|
749
|
-
| items | [[DiscountJob](#DiscountJob)] | yes | |
|
|
750
|
-
| page | [Page](#Page) | yes | |
|
|
705
|
+
| ---------- | ---- | -------- | ----------- || app_ids | [string] | yes | || brand_ids | [number] | no | || company_id | number | yes | || discount_level | string | yes | || discount_type | string | yes | || extension_ids | [string] | yes | || file_path | string | no | || is_active | boolean | yes | || job_type | string | yes | || name | string | yes | || store_ids | [number] | no | || validity | [ValidityObject](#ValidityObject) | yes | || value | number | no | |
|
|
751
706
|
|
|
752
707
|
---
|
|
753
708
|
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
#### [DiscountItems](#DiscountItems)
|
|
709
|
+
#### [DiscountItems](#DiscountItems)
|
|
758
710
|
|
|
759
711
|
| Properties | Type | Nullable | Description |
|
|
760
|
-
| ---------- | ---- | -------- | ----------- |
|
|
761
|
-
| item_code | string | no | |
|
|
762
|
-
| brand_uid | number | no | |
|
|
763
|
-
| seller_identifier | string | no | |
|
|
764
|
-
| discount_type | string | yes | |
|
|
765
|
-
| value | number | yes | |
|
|
712
|
+
| ---------- | ---- | -------- | ----------- || brand_uid | number | no | || discount_type | string | yes | || item_code | string | no | || seller_identifier | string | no | || value | number | yes | |
|
|
766
713
|
|
|
767
714
|
---
|
|
768
715
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
#### [BulkDiscount](#BulkDiscount)
|
|
716
|
+
#### [DiscountJob](#DiscountJob)
|
|
773
717
|
|
|
774
718
|
| Properties | Type | Nullable | Description |
|
|
775
|
-
| ---------- | ---- | -------- | ----------- |
|
|
776
|
-
| company_id | number | yes | |
|
|
777
|
-
| items | [[DiscountItems](#DiscountItems)] | yes | |
|
|
719
|
+
| ---------- | ---- | -------- | ----------- || _id | string | yes | || app_ids | [string] | no | || brand_ids | [number] | no | || company_id | number | yes | || created_by | [UserDetails](#UserDetails) | yes | || created_on | string | yes | || discount_level | string | no | || discount_type | string | no | || file_path | string | no | || is_active | boolean | yes | || job_type | string | no | || meta | string | no | || modified_by | [UserDetails](#UserDetails) | yes | || modified_on | string | yes | || name | string | yes | || store_ids | [number] | no | || validity | [ValidityObject](#ValidityObject) | yes | || value | number | no | |
|
|
778
720
|
|
|
779
721
|
---
|
|
780
722
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
#### [FileJobResponse](#FileJobResponse)
|
|
723
|
+
#### [DownloadFileJob](#DownloadFileJob)
|
|
785
724
|
|
|
786
725
|
| Properties | Type | Nullable | Description |
|
|
787
|
-
| ---------- | ---- | -------- | ----------- |
|
|
788
|
-
| stage | string | yes | |
|
|
789
|
-
| total | number | yes | |
|
|
790
|
-
| failed | number | yes | |
|
|
791
|
-
| company_id | number | yes | |
|
|
792
|
-
| body | string | no | |
|
|
793
|
-
| type | string | yes | |
|
|
794
|
-
| file_type | string | yes | |
|
|
726
|
+
| ---------- | ---- | -------- | ----------- || brand_ids | [number] | no | || store_ids | [number] | no | |
|
|
795
727
|
|
|
796
728
|
---
|
|
797
729
|
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
#### [DownloadFileJob](#DownloadFileJob)
|
|
730
|
+
#### [FileJobResponse](#FileJobResponse)
|
|
802
731
|
|
|
803
732
|
| Properties | Type | Nullable | Description |
|
|
804
|
-
| ---------- | ---- | -------- | ----------- |
|
|
805
|
-
| brand_ids | [number] | no | |
|
|
806
|
-
| store_ids | [number] | no | |
|
|
733
|
+
| ---------- | ---- | -------- | ----------- || body | string | no | || company_id | number | yes | || failed | number | yes | || file_type | string | yes | || stage | string | yes | || total | number | yes | || type | string | yes | |
|
|
807
734
|
|
|
808
735
|
---
|
|
809
736
|
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
#### [CancelJobResponse](#CancelJobResponse)
|
|
737
|
+
#### [ListOrCalender](#ListOrCalender)
|
|
814
738
|
|
|
815
739
|
| Properties | Type | Nullable | Description |
|
|
816
|
-
| ---------- | ---- | -------- | ----------- |
|
|
817
|
-
| success | boolean | yes | |
|
|
740
|
+
| ---------- | ---- | -------- | ----------- || items | [[DiscountJob](#DiscountJob)] | yes | || page | [Page](#Page) | yes | |
|
|
818
741
|
|
|
819
742
|
---
|
|
820
743
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
#### [Page](#Page)
|
|
744
|
+
#### [Page](#Page)
|
|
825
745
|
|
|
826
746
|
| Properties | Type | Nullable | Description |
|
|
827
|
-
| ---------- | ---- | -------- | ----------- |
|
|
828
|
-
| item_total | number | no | |
|
|
829
|
-
| next_id | string | no | |
|
|
830
|
-
| has_previous | boolean | no | |
|
|
831
|
-
| has_next | boolean | no | |
|
|
832
|
-
| current | number | no | |
|
|
833
|
-
| type | number | yes | |
|
|
834
|
-
| size | number | no | |
|
|
747
|
+
| ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | number | yes | |
|
|
835
748
|
|
|
836
749
|
---
|
|
837
750
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
#### [UserDetails](#UserDetails)
|
|
751
|
+
#### [UserDetails](#UserDetails)
|
|
842
752
|
|
|
843
753
|
| Properties | Type | Nullable | Description |
|
|
844
|
-
| ---------- | ---- | -------- | ----------- |
|
|
845
|
-
| username | string | yes | |
|
|
846
|
-
| user_id | string | yes | |
|
|
754
|
+
| ---------- | ---- | -------- | ----------- || user_id | string | yes | || username | string | yes | |
|
|
847
755
|
|
|
848
756
|
---
|
|
849
757
|
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
#### [BadRequestObject](#BadRequestObject)
|
|
758
|
+
#### [ValidityObject](#ValidityObject)
|
|
854
759
|
|
|
855
760
|
| Properties | Type | Nullable | Description |
|
|
856
|
-
| ---------- | ---- | -------- | ----------- |
|
|
857
|
-
| message | string | yes | |
|
|
761
|
+
| ---------- | ---- | -------- | ----------- || end | string | yes | || start | string | yes | |
|
|
858
762
|
|
|
859
763
|
---
|
|
860
764
|
|